Skip to content

Commit c9dd5b9

Browse files
committed
feat(new tools): Dice Roller, Cin Flipper, Card Picker and Fortune Wheel
Fix #1493 and #28
1 parent 08d977b commit c9dd5b9

19 files changed

+7248
-8480
lines changed

.eslintrc-auto-import.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@
286286
"watchTriggerable": true,
287287
"watchWithFilter": true,
288288
"whenever": true,
289-
"toValue": true
289+
"toValue": true,
290+
"injectLocal": true,
291+
"provideLocal": true,
292+
"useClipboardItems": true
290293
}
291294
}

auto-imports.d.ts

+9
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ declare global {
3636
const h: typeof import('vue')['h']
3737
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
3838
const inject: typeof import('vue')['inject']
39+
const injectLocal: typeof import('@vueuse/core')['injectLocal']
3940
const isDefined: typeof import('@vueuse/core')['isDefined']
4041
const isProxy: typeof import('vue')['isProxy']
4142
const isReactive: typeof import('vue')['isReactive']
@@ -65,6 +66,7 @@ declare global {
6566
const onUpdated: typeof import('vue')['onUpdated']
6667
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
6768
const provide: typeof import('vue')['provide']
69+
const provideLocal: typeof import('@vueuse/core')['provideLocal']
6870
const reactify: typeof import('@vueuse/core')['reactify']
6971
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
7072
const reactive: typeof import('vue')['reactive']
@@ -128,6 +130,7 @@ declare global {
128130
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
129131
const useCached: typeof import('@vueuse/core')['useCached']
130132
const useClipboard: typeof import('@vueuse/core')['useClipboard']
133+
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
131134
const useCloned: typeof import('@vueuse/core')['useCloned']
132135
const useColorMode: typeof import('@vueuse/core')['useColorMode']
133136
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
@@ -326,6 +329,7 @@ declare module 'vue' {
326329
readonly h: UnwrapRef<typeof import('vue')['h']>
327330
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
328331
readonly inject: UnwrapRef<typeof import('vue')['inject']>
332+
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
329333
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
330334
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
331335
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
@@ -355,6 +359,7 @@ declare module 'vue' {
355359
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
356360
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
357361
readonly provide: UnwrapRef<typeof import('vue')['provide']>
362+
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
358363
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
359364
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
360365
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
@@ -418,6 +423,7 @@ declare module 'vue' {
418423
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
419424
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
420425
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
426+
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
421427
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
422428
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
423429
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>
@@ -610,6 +616,7 @@ declare module '@vue/runtime-core' {
610616
readonly h: UnwrapRef<typeof import('vue')['h']>
611617
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
612618
readonly inject: UnwrapRef<typeof import('vue')['inject']>
619+
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
613620
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
614621
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
615622
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
@@ -639,6 +646,7 @@ declare module '@vue/runtime-core' {
639646
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
640647
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
641648
readonly provide: UnwrapRef<typeof import('vue')['provide']>
649+
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
642650
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
643651
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
644652
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
@@ -702,6 +710,7 @@ declare module '@vue/runtime-core' {
702710
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
703711
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
704712
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
713+
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
705714
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
706715
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
707716
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>

components.d.ts

+10
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ declare module '@vue/runtime-core' {
2323
CAlert: typeof import('./src/ui/c-alert/c-alert.vue')['default']
2424
'CAlert.demo': typeof import('./src/ui/c-alert/c-alert.demo.vue')['default']
2525
CameraRecorder: typeof import('./src/tools/camera-recorder/camera-recorder.vue')['default']
26+
CardPicker: typeof import('./src/tools/card-picker/card-picker.vue')['default']
2627
CaseConverter: typeof import('./src/tools/case-converter/case-converter.vue')['default']
2728
CButton: typeof import('./src/ui/c-button/c-button.vue')['default']
2829
'CButton.demo': typeof import('./src/ui/c-button/c-button.demo.vue')['default']
@@ -50,6 +51,7 @@ declare module '@vue/runtime-core' {
5051
'CModal.demo': typeof import('./src/ui/c-modal/c-modal.demo.vue')['default']
5152
CModalValue: typeof import('./src/ui/c-modal-value/c-modal-value.vue')['default']
5253
'CModalValue.demo': typeof import('./src/ui/c-modal-value/c-modal-value.demo.vue')['default']
54+
CoinFlipper: typeof import('./src/tools/coin-flipper/coin-flipper.vue')['default']
5355
CollapsibleToolMenu: typeof import('./src/components/CollapsibleToolMenu.vue')['default']
5456
ColorConverter: typeof import('./src/tools/color-converter/color-converter.vue')['default']
5557
ColoredCard: typeof import('./src/components/ColoredCard.vue')['default']
@@ -68,6 +70,7 @@ declare module '@vue/runtime-core' {
6870
'DemoHome.page': typeof import('./src/ui/demo/demo-home.page.vue')['default']
6971
DemoWrapper: typeof import('./src/ui/demo/demo-wrapper.vue')['default']
7072
DeviceInformation: typeof import('./src/tools/device-information/device-information.vue')['default']
73+
DiceRoller: typeof import('./src/tools/dice-roller/dice-roller.vue')['default']
7174
DiffViewer: typeof import('./src/tools/json-diff/diff-viewer/diff-viewer.vue')['default']
7275
DockerRunToDockerComposeConverter: typeof import('./src/tools/docker-run-to-docker-compose-converter/docker-run-to-docker-compose-converter.vue')['default']
7376
DynamicValues: typeof import('./src/tools/benchmark-builder/dynamic-values.vue')['default']
@@ -80,6 +83,7 @@ declare module '@vue/runtime-core' {
8083
EtaCalculator: typeof import('./src/tools/eta-calculator/eta-calculator.vue')['default']
8184
FavoriteButton: typeof import('./src/components/FavoriteButton.vue')['default']
8285
FormatTransformer: typeof import('./src/components/FormatTransformer.vue')['default']
86+
FortuneWheel: typeof import('./src/tools/fortune-wheel/fortune-wheel.vue')['default']
8387
GitMemo: typeof import('./src/tools/git-memo/git-memo.vue')['default']
8488
'GitMemo.content': typeof import('./src/tools/git-memo/git-memo.content.md')['default']
8589
HashText: typeof import('./src/tools/hash-text/hash-text.vue')['default']
@@ -129,18 +133,24 @@ declare module '@vue/runtime-core' {
129133
MenuLayout: typeof import('./src/components/MenuLayout.vue')['default']
130134
MetaTagGenerator: typeof import('./src/tools/meta-tag-generator/meta-tag-generator.vue')['default']
131135
MimeTypes: typeof import('./src/tools/mime-types/mime-types.vue')['default']
136+
NA: typeof import('naive-ui')['NA']
132137
NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default']
133138
NCheckbox: typeof import('naive-ui')['NCheckbox']
139+
NCode: typeof import('naive-ui')['NCode']
134140
NCollapseTransition: typeof import('naive-ui')['NCollapseTransition']
135141
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
136142
NDivider: typeof import('naive-ui')['NDivider']
137143
NEllipsis: typeof import('naive-ui')['NEllipsis']
144+
NFormItem: typeof import('naive-ui')['NFormItem']
138145
NH1: typeof import('naive-ui')['NH1']
139146
NH3: typeof import('naive-ui')['NH3']
140147
NIcon: typeof import('naive-ui')['NIcon']
148+
NInputNumber: typeof import('naive-ui')['NInputNumber']
141149
NLayout: typeof import('naive-ui')['NLayout']
142150
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
143151
NMenu: typeof import('naive-ui')['NMenu']
152+
NP: typeof import('naive-ui')['NP']
153+
NScrollbar: typeof import('naive-ui')['NScrollbar']
144154
NSpace: typeof import('naive-ui')['NSpace']
145155
NTable: typeof import('naive-ui')['NTable']
146156
NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default']

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"release": "node ./scripts/release.mjs"
3838
},
3939
"dependencies": {
40+
"@dice-roller/rpg-dice-roller": "^5.5.1",
4041
"@it-tools/bip39": "^0.0.4",
4142
"@it-tools/oggen": "^1.3.0",
4243
"@regexper/render": "^1.0.0",
@@ -52,6 +53,7 @@
5253
"@vueuse/core": "^10.3.0",
5354
"@vueuse/head": "^1.0.0",
5455
"@vueuse/router": "^10.0.0",
56+
"@younestouati/playing-cards-standard-deck": "^6.0.1",
5557
"bcryptjs": "^2.4.3",
5658
"change-case": "^4.1.2",
5759
"colord": "^2.9.3",
@@ -100,6 +102,7 @@
100102
"vue-router": "^4.1.6",
101103
"vue-shadow-dom": "^4.2.0",
102104
"vue-tsc": "^1.8.1",
105+
"vue3-fortune-wheel": "^2.0.5",
103106
"vuedraggable": "^4.1.0",
104107
"xml-formatter": "^3.3.2",
105108
"xml-js": "^1.6.11",

0 commit comments

Comments
 (0)