@smartos-lib/components 1.7.0-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (128) hide show
  1. package/.eslintrc +12 -0
  2. package/.eslintrc-auto-import.json +332 -0
  3. package/Components.code-workspace +143 -0
  4. package/LICENSE +21 -0
  5. package/dist/smart-docx-editor/index.d.ts +2 -0
  6. package/dist/smart-docx-editor/index.js +68 -0
  7. package/dist/smart-file-preview/index.d.ts +18 -0
  8. package/dist/smart-file-preview/index.js +37 -0
  9. package/dist/smart-upload/index.d.ts +2 -0
  10. package/dist/smart-upload/index.js +800 -0
  11. package/index.html +16 -0
  12. package/package.json +23 -0
  13. package/public/favicon.svg +6 -0
  14. package/scripts/components.vite.config.ts +96 -0
  15. package/scripts/shared.ts +9 -0
  16. package/src/App.vue +28 -0
  17. package/src/components/Logo/index.vue +15 -0
  18. package/src/components-private/.gitkeep +0 -0
  19. package/src/composables/useElementStyle.ts +23 -0
  20. package/src/composables/useNaiveStyle.ts +43 -0
  21. package/src/composables/useNaiveTheme.ts +71 -0
  22. package/src/composables/useSmart.ts +36 -0
  23. package/src/layouts/default.vue +3 -0
  24. package/src/main.ts +33 -0
  25. package/src/modules/pinia/index.ts +8 -0
  26. package/src/modules/progress/index.ts +12 -0
  27. package/src/modules/router/install.ts +9 -0
  28. package/src/modules/router/routes.ts +40 -0
  29. package/src/pages/[...all].vue +21 -0
  30. package/src/pages/frame/component/[name].vue +14 -0
  31. package/src/pages/frame/index.vue +81 -0
  32. package/src/pages/index/composables/useTabsManage.ts +46 -0
  33. package/src/pages/index/index.vue +111 -0
  34. package/src/pages/index/type.ts +13 -0
  35. package/src/pages/index/utils/index.ts +41 -0
  36. package/src/settings.ts +9 -0
  37. package/src/shared/components.ts +52 -0
  38. package/src/shared/env.ts +11 -0
  39. package/src/shared/unocss.theme.ts +1600 -0
  40. package/src/stores/theme.ts +29 -0
  41. package/src/styles/element.scss +3 -0
  42. package/src/styles/styles.scss +21 -0
  43. package/src/types.ts +20 -0
  44. package/src/utils/callCustomElementExposed.ts +6 -0
  45. package/src/utils/deepCloneESModule.ts +10 -0
  46. package/src/utils/defineCustomElements.ts +18 -0
  47. package/src/utils/formatComponentsGlob.ts +16 -0
  48. package/src/utils/getFileMD5.ts +31 -0
  49. package/src/utils/getFileNameAndExt.ts +11 -0
  50. package/src/utils/isFileEqual.ts +13 -0
  51. package/src/utils/jsonToFormData.ts +8 -0
  52. package/src/web-components/smart-docx-drive-page/App.vue +37 -0
  53. package/src/web-components/smart-docx-drive-page/apis/doc.ts +85 -0
  54. package/src/web-components/smart-docx-drive-page/apis/file.ts +278 -0
  55. package/src/web-components/smart-docx-drive-page/apis/folder.ts +72 -0
  56. package/src/web-components/smart-docx-drive-page/children/Home.vue +8 -0
  57. package/src/web-components/smart-docx-drive-page/children/Me.vue +47 -0
  58. package/src/web-components/smart-docx-drive-page/components/CustomImage.vue +26 -0
  59. package/src/web-components/smart-docx-drive-page/components/CustomPopover.vue +62 -0
  60. package/src/web-components/smart-docx-drive-page/components/DocxDir.vue +99 -0
  61. package/src/web-components/smart-docx-drive-page/components/DocxDoc.vue +132 -0
  62. package/src/web-components/smart-docx-drive-page/components/DocxDownloadPopoverItem.vue +41 -0
  63. package/src/web-components/smart-docx-drive-page/components/DocxFileList.vue +156 -0
  64. package/src/web-components/smart-docx-drive-page/components/DocxPreview.vue +33 -0
  65. package/src/web-components/smart-docx-drive-page/components/DocxUpload.vue +164 -0
  66. package/src/web-components/smart-docx-drive-page/components/FileIcon.vue +62 -0
  67. package/src/web-components/smart-docx-drive-page/components-private/Header.vue +65 -0
  68. package/src/web-components/smart-docx-drive-page/components-private/Logo.vue +15 -0
  69. package/src/web-components/smart-docx-drive-page/components-private/Menu.vue +34 -0
  70. package/src/web-components/smart-docx-drive-page/components-private/Navbar.vue +36 -0
  71. package/src/web-components/smart-docx-drive-page/composables/useFullscreenElDialog.ts +41 -0
  72. package/src/web-components/smart-docx-drive-page/composables/usePrompt.ts +73 -0
  73. package/src/web-components/smart-docx-drive-page/data.ts +10 -0
  74. package/src/web-components/smart-docx-drive-page/external-style/custom-popover.sass +8 -0
  75. package/src/web-components/smart-docx-drive-page/external-style/index.sass +1 -0
  76. package/src/web-components/smart-docx-drive-page/index.ts +20 -0
  77. package/src/web-components/smart-docx-drive-page/index.vue +39 -0
  78. package/src/web-components/smart-docx-drive-page/info.ts +2 -0
  79. package/src/web-components/smart-docx-drive-page/stores/menu.ts +60 -0
  80. package/src/web-components/smart-docx-drive-page/types.ts +51 -0
  81. package/src/web-components/smart-docx-drive-page/utils/file-actions.ts +63 -0
  82. package/src/web-components/smart-docx-drive-page/utils/file.ts +31 -0
  83. package/src/web-components/smart-docx-editor/App.vue +32 -0
  84. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components/Markdown.vue +202 -0
  85. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components/Menu.vue +100 -0
  86. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components/types.ts +6 -0
  87. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/Markdown.tsx +71 -0
  88. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/MarkdownElement.tsx +81 -0
  89. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/elements/Blockquote/index.sass +6 -0
  90. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/elements/Blockquote/index.tsx +12 -0
  91. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/elements/Heading/index.sass +14 -0
  92. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/elements/Heading/index.tsx +17 -0
  93. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/elements/List/index.scss +16 -0
  94. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/elements/List/index.tsx +39 -0
  95. package/src/web-components/smart-docx-editor/MarkdownShortcuts/components-react/types/custom-types.d.ts +69 -0
  96. package/src/web-components/smart-docx-editor/MarkdownShortcuts/composables/useTextSelection.ts +50 -0
  97. package/src/web-components/smart-docx-editor/MarkdownShortcuts/index.sass +19 -0
  98. package/src/web-components/smart-docx-editor/MarkdownShortcuts/index.vue +21 -0
  99. package/src/web-components/smart-docx-editor/MarkdownShortcuts/shared/const.ts +23 -0
  100. package/src/web-components/smart-docx-editor/MarkdownShortcuts/utils/slateHelpers.ts +23 -0
  101. package/src/web-components/smart-docx-editor/data.ts +38 -0
  102. package/src/web-components/smart-docx-editor/demo.vue +11 -0
  103. package/src/web-components/smart-docx-editor/index.md +3 -0
  104. package/src/web-components/smart-docx-editor/index.ts +5 -0
  105. package/src/web-components/smart-docx-editor/index.vue +12 -0
  106. package/src/web-components/smart-docx-editor/info.ts +2 -0
  107. package/src/web-components/smart-file-preview/category/Code.vue +171 -0
  108. package/src/web-components/smart-file-preview/category/Image.vue +49 -0
  109. package/src/web-components/smart-file-preview/category/Pdf.vue +14 -0
  110. package/src/web-components/smart-file-preview/category/Video.vue +27 -0
  111. package/src/web-components/smart-file-preview/demo.vue +34 -0
  112. package/src/web-components/smart-file-preview/index.md +5 -0
  113. package/src/web-components/smart-file-preview/index.ts +29 -0
  114. package/src/web-components/smart-file-preview/index.vue +56 -0
  115. package/src/web-components/smart-file-preview/info.ts +2 -0
  116. package/src/web-components/smart-file-preview/shared/const.ts +4 -0
  117. package/src/web-components/smart-file-preview/types.ts +38 -0
  118. package/src/web-components/smart-upload/index.ts +5 -0
  119. package/src/web-components/smart-upload/index.vue +101 -0
  120. package/src/web-components/smart-upload/info.ts +2 -0
  121. package/src/web-components/smart-upload/types.ts +28 -0
  122. package/tsconfig.json +15 -0
  123. package/types/auto-imports.d.ts +975 -0
  124. package/types/components.d.ts +14 -0
  125. package/types/env.d.ts +8 -0
  126. package/types/shims.d.ts +6 -0
  127. package/unocss.config.ts +23 -0
  128. package/vite.config.ts +60 -0
package/.eslintrc ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "extends": "../../.eslintrc",
3
+ "overrides": [
4
+ {
5
+ "files": ["src/web-components/**/*.vue"],
6
+ "rules": {
7
+ "quotes": "off",
8
+ "@typescript-eslint/quotes": "off"
9
+ }
10
+ }
11
+ ]
12
+ }
@@ -0,0 +1,332 @@
1
+ {
2
+ "globals": {
3
+ "Component": true,
4
+ "ComponentPublicInstance": true,
5
+ "ComputedRef": true,
6
+ "EffectScope": true,
7
+ "ExtractDefaultPropTypes": true,
8
+ "ExtractPropTypes": true,
9
+ "ExtractPublicPropTypes": true,
10
+ "InjectionKey": true,
11
+ "PropType": true,
12
+ "Ref": true,
13
+ "VNode": true,
14
+ "WritableComputedRef": true,
15
+ "asyncComputed": true,
16
+ "autoResetRef": true,
17
+ "commonOverrides": true,
18
+ "computed": true,
19
+ "computedAsync": true,
20
+ "computedEager": true,
21
+ "computedInject": true,
22
+ "computedWithControl": true,
23
+ "controlledComputed": true,
24
+ "controlledRef": true,
25
+ "createApp": true,
26
+ "createEventHook": true,
27
+ "createGenericProjection": true,
28
+ "createGlobalState": true,
29
+ "createInjectionState": true,
30
+ "createNamedSharedComposable": true,
31
+ "createProjection": true,
32
+ "createReactiveFn": true,
33
+ "createReusableTemplate": true,
34
+ "createSharedComposable": true,
35
+ "createTemplatePromise": true,
36
+ "createUnrefFn": true,
37
+ "customRef": true,
38
+ "darkThemeOverrides": true,
39
+ "debouncedRef": true,
40
+ "debouncedWatch": true,
41
+ "deepUnref": true,
42
+ "defineAsyncComponent": true,
43
+ "defineComponent": true,
44
+ "eagerComputed": true,
45
+ "effectScope": true,
46
+ "extendRef": true,
47
+ "getCurrentInstance": true,
48
+ "getCurrentScope": true,
49
+ "h": true,
50
+ "ignorableWatch": true,
51
+ "inject": true,
52
+ "injectLocal": true,
53
+ "isDefined": true,
54
+ "isProxy": true,
55
+ "isReactive": true,
56
+ "isReadonly": true,
57
+ "isRef": true,
58
+ "lightThemeOverrides": true,
59
+ "logicAnd": true,
60
+ "logicNot": true,
61
+ "logicOr": true,
62
+ "makeDestructurable": true,
63
+ "markRaw": true,
64
+ "nextTick": true,
65
+ "onActivated": true,
66
+ "onBeforeMount": true,
67
+ "onBeforeRouteLeave": true,
68
+ "onBeforeRouteUpdate": true,
69
+ "onBeforeUnmount": true,
70
+ "onBeforeUpdate": true,
71
+ "onClickOutside": true,
72
+ "onDeactivated": true,
73
+ "onErrorCaptured": true,
74
+ "onKeyStroke": true,
75
+ "onLongPress": true,
76
+ "onMounted": true,
77
+ "onRenderTracked": true,
78
+ "onRenderTriggered": true,
79
+ "onScopeDispose": true,
80
+ "onServerPrefetch": true,
81
+ "onStartTyping": true,
82
+ "onUnmounted": true,
83
+ "onUpdated": true,
84
+ "pausableWatch": true,
85
+ "provide": true,
86
+ "provideLocal": true,
87
+ "reactify": true,
88
+ "reactifyObject": true,
89
+ "reactive": true,
90
+ "reactiveComputed": true,
91
+ "reactiveOmit": true,
92
+ "reactivePick": true,
93
+ "readonly": true,
94
+ "ref": true,
95
+ "refAutoReset": true,
96
+ "refDebounced": true,
97
+ "refDefault": true,
98
+ "refThrottled": true,
99
+ "refWithControl": true,
100
+ "resolveComponent": true,
101
+ "resolveRef": true,
102
+ "resolveUnref": true,
103
+ "shallowReactive": true,
104
+ "shallowReadonly": true,
105
+ "shallowRef": true,
106
+ "syncRef": true,
107
+ "syncRefs": true,
108
+ "templateRef": true,
109
+ "throttledRef": true,
110
+ "throttledWatch": true,
111
+ "toRaw": true,
112
+ "toReactive": true,
113
+ "toRef": true,
114
+ "toRefs": true,
115
+ "toValue": true,
116
+ "triggerRef": true,
117
+ "tryOnBeforeMount": true,
118
+ "tryOnBeforeUnmount": true,
119
+ "tryOnMounted": true,
120
+ "tryOnScopeDispose": true,
121
+ "tryOnUnmounted": true,
122
+ "unref": true,
123
+ "unrefElement": true,
124
+ "until": true,
125
+ "useAbs": true,
126
+ "useActiveElement": true,
127
+ "useAnimate": true,
128
+ "useArrayDifference": true,
129
+ "useArrayEvery": true,
130
+ "useArrayFilter": true,
131
+ "useArrayFind": true,
132
+ "useArrayFindIndex": true,
133
+ "useArrayFindLast": true,
134
+ "useArrayIncludes": true,
135
+ "useArrayJoin": true,
136
+ "useArrayMap": true,
137
+ "useArrayReduce": true,
138
+ "useArraySome": true,
139
+ "useArrayUnique": true,
140
+ "useAsyncQueue": true,
141
+ "useAsyncState": true,
142
+ "useAttrs": true,
143
+ "useAverage": true,
144
+ "useBase64": true,
145
+ "useBattery": true,
146
+ "useBluetooth": true,
147
+ "useBreakpoints": true,
148
+ "useBroadcastChannel": true,
149
+ "useBrowserLocation": true,
150
+ "useCached": true,
151
+ "useCeil": true,
152
+ "useClamp": true,
153
+ "useClipboard": true,
154
+ "useClipboardItems": true,
155
+ "useCloned": true,
156
+ "useColorMode": true,
157
+ "useConfirmDialog": true,
158
+ "useCountdown": true,
159
+ "useCounter": true,
160
+ "useCssModule": true,
161
+ "useCssVar": true,
162
+ "useCssVars": true,
163
+ "useCurrentElement": true,
164
+ "useCycleList": true,
165
+ "useDark": true,
166
+ "useDateFormat": true,
167
+ "useDebounce": true,
168
+ "useDebounceFn": true,
169
+ "useDebouncedRefHistory": true,
170
+ "useDeviceMotion": true,
171
+ "useDeviceOrientation": true,
172
+ "useDevicePixelRatio": true,
173
+ "useDevicesList": true,
174
+ "useDisplayMedia": true,
175
+ "useDocumentVisibility": true,
176
+ "useDraggable": true,
177
+ "useDropZone": true,
178
+ "useElementBounding": true,
179
+ "useElementByPoint": true,
180
+ "useElementHover": true,
181
+ "useElementSize": true,
182
+ "useElementStyle": true,
183
+ "useElementVisibility": true,
184
+ "useEventBus": true,
185
+ "useEventListener": true,
186
+ "useEventSource": true,
187
+ "useEyeDropper": true,
188
+ "useFavicon": true,
189
+ "useFetch": true,
190
+ "useFileDialog": true,
191
+ "useFileSystemAccess": true,
192
+ "useFloor": true,
193
+ "useFocus": true,
194
+ "useFocusWithin": true,
195
+ "useFps": true,
196
+ "useFullscreen": true,
197
+ "useGamepad": true,
198
+ "useGeolocation": true,
199
+ "useIdle": true,
200
+ "useImage": true,
201
+ "useInfiniteScroll": true,
202
+ "useIntersectionObserver": true,
203
+ "useInterval": true,
204
+ "useIntervalFn": true,
205
+ "useKeyModifier": true,
206
+ "useLastChanged": true,
207
+ "useLink": true,
208
+ "useLocalStorage": true,
209
+ "useMagicKeys": true,
210
+ "useManualRefHistory": true,
211
+ "useMath": true,
212
+ "useMax": true,
213
+ "useMediaControls": true,
214
+ "useMediaQuery": true,
215
+ "useMemoize": true,
216
+ "useMemory": true,
217
+ "useMin": true,
218
+ "useMounted": true,
219
+ "useMouse": true,
220
+ "useMouseInElement": true,
221
+ "useMousePressed": true,
222
+ "useMutationObserver": true,
223
+ "useNaiveStyle": true,
224
+ "useNaiveTheme": true,
225
+ "useNavigatorLanguage": true,
226
+ "useNetwork": true,
227
+ "useNow": true,
228
+ "useObjectUrl": true,
229
+ "useOffsetPagination": true,
230
+ "useOnline": true,
231
+ "usePageLeave": true,
232
+ "useParallax": true,
233
+ "useParentElement": true,
234
+ "usePerformanceObserver": true,
235
+ "usePermission": true,
236
+ "usePointer": true,
237
+ "usePointerLock": true,
238
+ "usePointerSwipe": true,
239
+ "usePrecision": true,
240
+ "usePreferredColorScheme": true,
241
+ "usePreferredContrast": true,
242
+ "usePreferredDark": true,
243
+ "usePreferredLanguages": true,
244
+ "usePreferredReducedMotion": true,
245
+ "usePrevious": true,
246
+ "useProjection": true,
247
+ "useRafFn": true,
248
+ "useRefHistory": true,
249
+ "useRequest": true,
250
+ "useRequestReactive": true,
251
+ "useResizeObserver": true,
252
+ "useRound": true,
253
+ "useRoute": true,
254
+ "useRouter": true,
255
+ "useScreenOrientation": true,
256
+ "useScreenSafeArea": true,
257
+ "useScriptTag": true,
258
+ "useScroll": true,
259
+ "useScrollLock": true,
260
+ "useSessionStorage": true,
261
+ "useShare": true,
262
+ "useSlots": true,
263
+ "useSmart": true,
264
+ "useSorted": true,
265
+ "useSpeechRecognition": true,
266
+ "useSpeechSynthesis": true,
267
+ "useStepper": true,
268
+ "useStorage": true,
269
+ "useStorageAsync": true,
270
+ "useStyleTag": true,
271
+ "useSum": true,
272
+ "useSupported": true,
273
+ "useSwipe": true,
274
+ "useTemplateRefsList": true,
275
+ "useTextDirection": true,
276
+ "useTextSelection": true,
277
+ "useTextareaAutosize": true,
278
+ "useThemeStore": true,
279
+ "useThrottle": true,
280
+ "useThrottleFn": true,
281
+ "useThrottledRefHistory": true,
282
+ "useTimeAgo": true,
283
+ "useTimeout": true,
284
+ "useTimeoutFn": true,
285
+ "useTimeoutPoll": true,
286
+ "useTimestamp": true,
287
+ "useTitle": true,
288
+ "useToNumber": true,
289
+ "useToString": true,
290
+ "useToggle": true,
291
+ "useTransition": true,
292
+ "useTrunc": true,
293
+ "useUrlSearchParams": true,
294
+ "useUserMedia": true,
295
+ "useVModel": true,
296
+ "useVModels": true,
297
+ "useVibrate": true,
298
+ "useVirtualList": true,
299
+ "useWakeLock": true,
300
+ "useWebNotification": true,
301
+ "useWebSocket": true,
302
+ "useWebWorker": true,
303
+ "useWebWorkerFn": true,
304
+ "useWindowFocus": true,
305
+ "useWindowScroll": true,
306
+ "useWindowSize": true,
307
+ "watch": true,
308
+ "watchArray": true,
309
+ "watchAtMost": true,
310
+ "watchDebounced": true,
311
+ "watchDeep": true,
312
+ "watchEffect": true,
313
+ "watchIgnorable": true,
314
+ "watchImmediate": true,
315
+ "watchImmediateDeep": true,
316
+ "watchOnce": true,
317
+ "watchPausable": true,
318
+ "watchPostEffect": true,
319
+ "watchSyncEffect": true,
320
+ "watchThrottled": true,
321
+ "watchTriggerable": true,
322
+ "watchWithFilter": true,
323
+ "whenever": true,
324
+ "wheneverDeep": true,
325
+ "wheneverEffectScope": true,
326
+ "wheneverEffectScopeDeep": true,
327
+ "wheneverEffectScopeImmediate": true,
328
+ "wheneverEffectScopeImmediateDeep": true,
329
+ "wheneverImmediate": true,
330
+ "wheneverImmediateDeep": true
331
+ }
332
+ }
@@ -0,0 +1,143 @@
1
+ {
2
+ "folders": [
3
+ {
4
+ "path": "."
5
+ },
6
+ {
7
+ "path": "src\\assets",
8
+ "name": "Assets"
9
+ },
10
+ {
11
+ "path": "src\\styles",
12
+ "name": "Styles"
13
+ },
14
+ {
15
+ "path": "src\\shared",
16
+ "name": "Shared"
17
+ },
18
+ {
19
+ "path": "src\\libs",
20
+ "name": "Libs"
21
+ },
22
+ {
23
+ "path": "src\\utils",
24
+ "name": "Utils"
25
+ },
26
+ {
27
+ "path": "src\\modules",
28
+ "name": "Modules"
29
+ },
30
+ {
31
+ "path": "src\\workers",
32
+ "name": "Workers"
33
+ },
34
+ {
35
+ "path": "src\\stores",
36
+ "name": "Stores"
37
+ },
38
+ {
39
+ "path": "src\\composables",
40
+ "name": "Composables"
41
+ },
42
+ {
43
+ "path": "src\\components",
44
+ "name": "Components"
45
+ },
46
+ {
47
+ "path": "src\\components-private",
48
+ "name": "Components Private"
49
+ },
50
+ {
51
+ "path": "src\\web-components",
52
+ "name": "Web Components"
53
+ },
54
+ {
55
+ "path": "src\\layouts",
56
+ "name": "Layouts"
57
+ },
58
+ {
59
+ "path": "src\\pages",
60
+ "name": "Pages"
61
+ },
62
+ {
63
+ "path": "src/web-components/smart-docx",
64
+ "name": "Web Components / SmartDocx"
65
+ },
66
+ {
67
+ "path": "src/web-components/smart-docx-element",
68
+ "name": "Web Components / SmartDocxElement"
69
+ }
70
+ ],
71
+ "settings": {
72
+ "editor.tabSize": 2,
73
+ "editor.detectIndentation": false,
74
+ "editor.codeActionsOnSave": {
75
+ "source.fixAll": false,
76
+ "source.fixAll.eslint": true,
77
+ "source.organizeImports": false
78
+ },
79
+ "editor.guides.bracketPairs": "active",
80
+ "editor.renderWhitespace": "boundary",
81
+ "editor.accessibilitySupport": "off",
82
+ "editor.cursorSmoothCaretAnimation": "on",
83
+ "breadcrumbs.enabled": false,
84
+ "files.exclude": {
85
+ "*.code-workspace": true,
86
+ "node_modules": true,
87
+ "smart-docx": true,
88
+ "smart-docx-element": true,
89
+ "src/assets": true,
90
+ "src/components": true,
91
+ "src/components-private": true,
92
+ "src/composables": true,
93
+ "src/layouts": true,
94
+ "src/libs": true,
95
+ "src/modules": true,
96
+ "src/pages": true,
97
+ "src/router": true,
98
+ "src/shared": true,
99
+ "src/stores": true,
100
+ "src/styles": true,
101
+ "src/utils": true,
102
+ "src/web-components": true,
103
+ "src/workers": true
104
+ },
105
+ "typescript.tsdk": "node_modules/typescript/lib",
106
+ "prettier.enable": false,
107
+ "i18n-ally.enabledFrameworks": ["vue"],
108
+ "i18n-ally.displayLanguage": "zh-CN",
109
+ "i18n-ally.localesPaths": [
110
+ "locales",
111
+ "../../locales"
112
+ ],
113
+ "eslint.quiet": true,
114
+ "eslint.validate": [
115
+ "javascript",
116
+ "typescript",
117
+ "javascriptreact",
118
+ "typescriptreact",
119
+ "vue",
120
+ "html",
121
+ "markdown",
122
+ "json",
123
+ "jsonc",
124
+ "json5"
125
+ ],
126
+ "unocss.autocomplete.matchType": "fuzzy",
127
+ "unocss.remToPxPreview": true
128
+ },
129
+ "extensions": {
130
+ "recommendations": [
131
+ "vue.volar",
132
+ "vue.vscode-typescript-vue-plugin",
133
+ "dbaeumer.vscode-eslint",
134
+ "antfu.iconify",
135
+ "antfu.unocss",
136
+ "csstools.postcss",
137
+ "syler.sass-indented"
138
+ ],
139
+ "unwantedRecommendations": [
140
+ "octref.vetur"
141
+ ]
142
+ }
143
+ }
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023-present, Wei Zhang
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,2 @@
1
+
2
+ export { }