@neatui/vue 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/README.md +139 -0
  2. package/package.json +26 -0
  3. package/src/components/basic/IDraggable.vue +84 -0
  4. package/src/components/basic/IDraggable@b.vue +80 -0
  5. package/src/components/basic/IFollowView.vue +172 -0
  6. package/src/components/basic/IFollowView@v2.vue +188 -0
  7. package/src/components/basic/IPickerView.vue +351 -0
  8. package/src/components/basic/IRouterView@v2.vue.backup +119 -0
  9. package/src/components/basic/IRouterView@v3.vue.backup +252 -0
  10. package/src/components/basic/IRouterView@v4.vue +362 -0
  11. package/src/components/basic/IScrollView.vue +127 -0
  12. package/src/components/basic/Icon.vue +54 -0
  13. package/src/components/basic/LayerView/Layer.vue +333 -0
  14. package/src/components/basic/LayerView/index.ts +5 -0
  15. package/src/components/basic/follow.ts +119 -0
  16. package/src/components/basic/index.ts +7 -0
  17. package/src/components/display/Avatar.vue +1 -0
  18. package/src/components/display/Badge.vue +1 -0
  19. package/src/components/display/Calendar.vue +245 -0
  20. package/src/components/display/CalendarReg.vue +245 -0
  21. package/src/components/display/Card.vue +1 -0
  22. package/src/components/display/Carousel.vue +1 -0
  23. package/src/components/display/Collapse.vue +1 -0
  24. package/src/components/display/Desriptions.vue +1 -0
  25. package/src/components/display/Empty.vue +1 -0
  26. package/src/components/display/Image.vue +112 -0
  27. package/src/components/display/List.vue +1 -0
  28. package/src/components/display/PhotoEditor.vue +181 -0
  29. package/src/components/display/PhotoViewer.vue +50 -0
  30. package/src/components/display/Popover.vue +1 -0
  31. package/src/components/display/QRCode.vue +1 -0
  32. package/src/components/display/Segmented.vue +1 -0
  33. package/src/components/display/Statistic.vue +1 -0
  34. package/src/components/display/Table.vue +1 -0
  35. package/src/components/display/Tabs.vue +1 -0
  36. package/src/components/display/Tag.vue +1 -0
  37. package/src/components/display/Timeline.vue +1 -0
  38. package/src/components/display/Tooltip.vue +1 -0
  39. package/src/components/display/Tour.vue +1 -0
  40. package/src/components/display/Tree.vue +431 -0
  41. package/src/components/display/TreeView.vue +222 -0
  42. package/src/components/display/index.ts +7 -0
  43. package/src/components/form/Cascader.vue +435 -0
  44. package/src/components/form/DatePicker.vue +124 -0
  45. package/src/components/form/DateRangePicker@v2.vue.backup +224 -0
  46. package/src/components/form/DateRangePicker@v3.vue +116 -0
  47. package/src/components/form/DateRangeView@v3.vue +386 -0
  48. package/src/components/form/DateView.vue +231 -0
  49. package/src/components/form/DateView@v2.vue +386 -0
  50. package/src/components/form/DateView@v3.vue +471 -0
  51. package/src/components/form/EditUpload.vue +4 -0
  52. package/src/components/form/ImgUpload.vue +174 -0
  53. package/src/components/form/Input.vue.backup +230 -0
  54. package/src/components/form/Input@v3.vue +267 -0
  55. package/src/components/form/InputNumber.vue +200 -0
  56. package/src/components/form/InputRange.vue +235 -0
  57. package/src/components/form/MoreSelect.vue.backup +144 -0
  58. package/src/components/form/MoreSelect@v3.vue +190 -0
  59. package/src/components/form/MoreSelectList.vue +120 -0
  60. package/src/components/form/MoreSelectPanel@v3.vue +190 -0
  61. package/src/components/form/MoreSelectPicker.vue +119 -0
  62. package/src/components/form/MoreSelectTags.vue +119 -0
  63. package/src/components/form/PageMoreSelect.vue +187 -0
  64. package/src/components/form/PageSelect.vue +189 -0
  65. package/src/components/form/SearchMoreSelect.vue +168 -0
  66. package/src/components/form/SearchSelect.vue.backup +194 -0
  67. package/src/components/form/SearchSelect@v3.vue +202 -0
  68. package/src/components/form/Select@v3.vue +201 -0
  69. package/src/components/form/SelectList.vue +58 -0
  70. package/src/components/form/SelectPicker.vue +97 -0
  71. package/src/components/form/SelectTags.vue +52 -0
  72. package/src/components/form/SelectTree/SelectTree@v1.vue +227 -0
  73. package/src/components/form/Switch.vue +135 -0
  74. package/src/components/form/TextArea.vue +171 -0
  75. package/src/components/form/TimePicker.vue +11 -0
  76. package/src/components/form/TimeView.vue +244 -0
  77. package/src/components/form/Upload.vue +349 -0
  78. package/src/components/form/index.ts +82 -0
  79. package/src/components/loader/FormLoader/FormLoader@v2.vue +422 -0
  80. package/src/components/loader/FormLoader/FormLoader@v3.vue.backup +318 -0
  81. package/src/components/loader/FormLoader/index.ts +2 -0
  82. package/src/components/loader/LimitLoader/LimitLoader.vue.backup +131 -0
  83. package/src/components/loader/LimitLoader/LimitLoader@v2.vue.backup +174 -0
  84. package/src/components/loader/LimitLoader/LimitLoader@v3.vue +183 -0
  85. package/src/components/loader/LimitLoader/index.ts +2 -0
  86. package/src/components/loader/TableLoader/TableColView.vue +115 -0
  87. package/src/components/loader/TableLoader/TableLoader.vue +356 -0
  88. package/src/components/loader/TableLoader/index.ts +2 -0
  89. package/src/components/loader/ViewLoader/ViewLoader@v1.vue +256 -0
  90. package/src/components/loader/ViewLoader/index.ts +2 -0
  91. package/src/components/loader/index.ts +5 -0
  92. package/src/components/tools/FormDraftsView.vue +308 -0
  93. package/src/components/tools/FormVerifyView.vue +206 -0
  94. package/src/components/tools/MoreTools.vue +74 -0
  95. package/src/components/tools/MoreTools@v2.vue +74 -0
  96. package/src/components/tools/Pagination@a.vue +222 -0
  97. package/src/components/tools/Pagination@b.vue +221 -0
  98. package/src/components/tools/index.ts +5 -0
  99. package/src/index.ts +5 -0
  100. package/tsconfig.json +24 -0
@@ -0,0 +1,362 @@
1
+ <template>
2
+ <div :am-view="view" :am-mode="mode" class="route-view pr full bg-back" :view-full="full ? 1 : 0" @animationend="anim">
3
+ <div :class="listClass" :style="listStyle" am-view-item="list">
4
+ <slot name="list" :mode="mode"></slot>
5
+ </div>
6
+ <div :class="itemClass" :style="itemStyle" am-view-item="item" ref="itemRef" v-if="view === 'iteming' || view === 'listing' || view === 'item'">
7
+ <slot name="item" :mode="mode"></slot>
8
+ </div>
9
+ </div>
10
+ </template>
11
+ <script setup lang="ts">
12
+ import { deepcopy } from '@fekit/utils';
13
+ import { onMounted, onUnmounted, ref, watch, provide, reactive } from 'vue';
14
+ import { useRoute, useRouter } from 'vue-router';
15
+ const route = useRoute();
16
+ const router = useRouter();
17
+
18
+ interface Props {
19
+ full?: boolean | 0 | 1;
20
+ once?: number;
21
+ mode?: 'default' | 'preview' | 'pop-up' | 'window';
22
+ queryName?: string;
23
+ listClass?: string;
24
+ listStyle?: string;
25
+ itemClass?: string;
26
+ itemStyle?: string;
27
+ }
28
+ const props: any = withDefaults(defineProps<Props>(), {
29
+ full: 0,
30
+ once: 0,
31
+ mode: 'default',
32
+ queryName: 'id',
33
+ listClass: 'full',
34
+ listStyle: '',
35
+ itemClass: 'full',
36
+ itemStyle: ''
37
+ });
38
+ const state: any = reactive({
39
+ first: 1,
40
+ list: null,
41
+ item: null
42
+ });
43
+
44
+ const evs = (v: any = 'list', p: any = 'item') => {
45
+ return (then: any = () => {}, param: any) => {
46
+ watch(
47
+ () => view.value,
48
+ () => {
49
+ if (view.value === v) {
50
+ if (param) {
51
+ state[p] = param;
52
+ }
53
+ if (!state.first) {
54
+ then({ view: view.value, mode: props.mode, param: deepcopy(state[v] || {}) });
55
+ } else {
56
+ state.first = 0;
57
+ }
58
+ }
59
+ },
60
+ { deep: true, immediate: true }
61
+ );
62
+ };
63
+ };
64
+ provide('onlist', evs('list', 'item'));
65
+ provide('onitem', evs('item', 'list'));
66
+
67
+ const init = ref(0);
68
+ const view = ref('');
69
+ const anim = (e: any) => {
70
+ if (
71
+ e.animationName === 'am-show-default' ||
72
+ e.animationName === 'am-show-preview' ||
73
+ e.animationName === 'am-show-pop-up' ||
74
+ e.animationName === 'am-hide-default' ||
75
+ e.animationName === 'am-hide-preview' ||
76
+ e.animationName === 'am-hide-pop-up'
77
+ ) {
78
+ view.value = route.query[props.queryName] ? 'item' : 'list';
79
+ }
80
+ };
81
+
82
+ const a = () => {
83
+ if (init.value) {
84
+ if (!props.once) {
85
+ view.value = route.query[props.queryName] ? 'iteming' : 'listing';
86
+ }
87
+ } else {
88
+ view.value = route.query[props.queryName] ? 'item' : 'list';
89
+ init.value = 1;
90
+ }
91
+ };
92
+
93
+ watch(() => route.query[props.queryName], a);
94
+ a();
95
+
96
+ const itemRef: any = ref(null);
97
+ // 取消
98
+ const cancel = ({ target }: any = {}) => {
99
+ const ifollow: any = document.querySelector('#ifollow');
100
+ const fekit: any = document.querySelector('#fekit');
101
+ const toasts: any = document.querySelectorAll('.mc-toast');
102
+ const layers: any = document.querySelectorAll('.fekit-layer');
103
+ if (
104
+ itemRef.value &&
105
+ !itemRef.value.contains(target) &&
106
+ !ifollow?.contains(target) &&
107
+ !fekit?.contains(target) &&
108
+ Array.from(layers).every((t: any) => !t.contains(target)) &&
109
+ Array.from(toasts).every((t: any) => !t.contains(target))
110
+ ) {
111
+ const _query = { ...route.query };
112
+ delete _query[props.queryName];
113
+ router.push({ path: route.path, query: _query });
114
+ }
115
+ };
116
+ onMounted(() => {
117
+ if (props.mode === 'preview' || props.mode === 'pop-up') {
118
+ document.addEventListener('click', cancel, true);
119
+ }
120
+ });
121
+ onUnmounted(() => {
122
+ if (props.mode === 'preview' || props.mode === 'pop-up') {
123
+ document.removeEventListener('click', cancel, true);
124
+ }
125
+ });
126
+ </script>
127
+
128
+ <style lang="scss">
129
+ // 默认模式
130
+ [am-view][am-mode~='default'] {
131
+ overflow: hidden;
132
+
133
+ @keyframes am-show-default {
134
+ 0% {
135
+ opacity: 0;
136
+ transform: translate3d(2em, 0, 0);
137
+ }
138
+ 100% {
139
+ opacity: 1;
140
+ transform: translate3d(0, 0, 0);
141
+ }
142
+ }
143
+ @keyframes am-hide-default {
144
+ 0% {
145
+ opacity: 1;
146
+ transform: translate3d(0, 0, 0);
147
+ }
148
+ 100% {
149
+ opacity: 0;
150
+ transform: translate3d(2em, 0, 0);
151
+ }
152
+ }
153
+
154
+ &[view-full~='1'] {
155
+ position: fixed;
156
+ width: 100%;
157
+ height: 100%;
158
+ left: 0;
159
+ top: 0;
160
+ z-index: 15;
161
+ }
162
+
163
+ [am-view-item] {
164
+ display: none;
165
+
166
+ &[am-view-item~='row'] {
167
+ flex-direction: row !important;
168
+ }
169
+ }
170
+ &[am-view='list'] {
171
+ [am-view-item~='list'] {
172
+ flex-direction: column;
173
+ display: flex;
174
+ animation: am-show-default 0.35s ease both;
175
+ }
176
+ }
177
+ &[am-view='listing'] {
178
+ [am-view-item~='item'] {
179
+ flex-direction: column;
180
+ display: flex;
181
+ animation: am-hide-default 0.3s ease-in-out both;
182
+ }
183
+ }
184
+ &[am-view='item'] {
185
+ [am-view-item~='item'] {
186
+ display: flex;
187
+ animation: am-show-default 0.35s ease both;
188
+ }
189
+ }
190
+ &[am-view='iteming'] {
191
+ [am-view-item~='list'] {
192
+ display: flex;
193
+ animation: am-hide-default 0.3s ease-in-out both;
194
+ }
195
+ }
196
+ }
197
+
198
+ // 默认模式
199
+ [am-view][am-mode~='preview'] {
200
+ overflow: hidden;
201
+
202
+ @keyframes am-show-preview {
203
+ 0% {
204
+ opacity: 0;
205
+ transform: translate3d(110%, 0, 0);
206
+ }
207
+ 100% {
208
+ opacity: 1;
209
+ transform: translate3d(0, 0, 0);
210
+ }
211
+ }
212
+ @keyframes am-hide-preview {
213
+ 0% {
214
+ opacity: 1;
215
+ transform: translate3d(0, 0, 0);
216
+ }
217
+ 100% {
218
+ opacity: 0;
219
+ transform: translate3d(110%, 0, 0);
220
+ }
221
+ }
222
+
223
+ &[view-full~='1'] {
224
+ position: fixed;
225
+ width: 100%;
226
+ height: 100%;
227
+ left: 0;
228
+ top: 0;
229
+ z-index: 15;
230
+ }
231
+
232
+ [am-view-item] {
233
+ &[am-view-item~='row'] {
234
+ flex-direction: row !important;
235
+ }
236
+
237
+ &[am-view-item~='list'] {
238
+ display: flex;
239
+ }
240
+ &[am-view-item~='item'] {
241
+ position: absolute;
242
+ top: 0;
243
+ right: 0;
244
+ z-index: 10;
245
+ display: flex;
246
+ justify-content: flex-end;
247
+ align-items: stretch;
248
+ align-content: space-between;
249
+ pointer-events: none;
250
+ & > * {
251
+ pointer-events: auto;
252
+ }
253
+ }
254
+ }
255
+ &[am-view='list'],
256
+ &[am-view='listing'] {
257
+ [am-view-item~='item'] {
258
+ display: flex;
259
+ animation: am-hide-preview 0.5s ease-in-out both;
260
+ }
261
+ }
262
+ &[am-view='item'],
263
+ &[am-view='iteming'] {
264
+ [am-view-item~='item'] {
265
+ display: flex;
266
+ animation: am-show-preview 0.5s ease both;
267
+ }
268
+ }
269
+
270
+ .side-preview {
271
+ width: 40rem;
272
+ height: 100%;
273
+ box-shadow: -0.5em 0 1em rgba(0, 0, 0, 0.07);
274
+ pointer-events: auto;
275
+
276
+ &[ui-card~='@a'][ui-card~=':max'] {
277
+ width: 100%;
278
+ }
279
+ }
280
+ }
281
+
282
+ // 弹出窗口
283
+ [am-view][am-mode~='pop-up'] {
284
+ overflow: hidden;
285
+
286
+ @keyframes am-show-pop-up {
287
+ 0% {
288
+ opacity: 0;
289
+ transform: translate3d(0, 0, 0) scale(0.95);
290
+ }
291
+ 100% {
292
+ opacity: 1;
293
+ transform: translate3d(0, 0, 0);
294
+ }
295
+ }
296
+ @keyframes am-hide-pop-up {
297
+ 0% {
298
+ opacity: 1;
299
+ transform: translate3d(0, 0, 0);
300
+ }
301
+ 100% {
302
+ opacity: 0;
303
+ transform: translate3d(0, 0, 0) scale(0.95);
304
+ }
305
+ }
306
+
307
+ &[view-full~='1'] {
308
+ position: fixed;
309
+ width: 100%;
310
+ height: 100%;
311
+ left: 0;
312
+ top: 0;
313
+ z-index: 15;
314
+ }
315
+
316
+ [am-view-item] {
317
+ &[am-view-item~='row'] {
318
+ flex-direction: row !important;
319
+ }
320
+
321
+ &[am-view-item~='list'] {
322
+ display: flex;
323
+ }
324
+ &[am-view-item~='item'] {
325
+ position: fixed;
326
+ top: 0;
327
+ right: 0;
328
+ z-index: 100;
329
+ display: flex;
330
+ justify-content: center;
331
+ align-items: center;
332
+ align-content: center;
333
+ pointer-events: none;
334
+ background-color: rgba(0, 0, 0, 0.5);
335
+ transition: all 0.35s;
336
+ & > * {
337
+ pointer-events: auto;
338
+ }
339
+ }
340
+ }
341
+ &[am-view='list'],
342
+ &[am-view='listing'] {
343
+ [am-view-item~='item'] {
344
+ display: flex;
345
+ opacity: 0;
346
+ & > * {
347
+ animation: am-hide-pop-up 0.35s ease both;
348
+ }
349
+ }
350
+ }
351
+ &[am-view='item'],
352
+ &[am-view='iteming'] {
353
+ [am-view-item~='item'] {
354
+ display: flex;
355
+ opacity: 1;
356
+ & > * {
357
+ animation: am-show-pop-up 0.35s ease both;
358
+ }
359
+ }
360
+ }
361
+ }
362
+ </style>
@@ -0,0 +1,127 @@
1
+ <template>
2
+ <div class="full fekit-ipull-scroll" ui-scroll=":y" ref="root">
3
+ <div>
4
+ <div class="fs-xs co-text o-mm" fekit-pullload-head="" v-if="pull">
5
+ <div v-show="demo.store.pull < 2" ui-flex="row cm">
6
+ <i class="pulldown icon icon-pulldown" :class="`${demo.store.pull === 1 ? 'toup' : ''}`"></i>
7
+ <span v-show="demo.store.pull === 0">下拉刷新</span>
8
+ <span v-show="demo.store.pull === 1">松开加载</span>
9
+ </div>
10
+ <div v-show="demo.store.pull === 2" ui-flex="row cm">
11
+ <span ui-load="@d"></span>
12
+ <!-- <span>正在刷新</span> -->
13
+ </div>
14
+ <div v-show="demo.store.pull === 3" ui-flex="row cm">
15
+ <span>刷新完成</span>
16
+ </div>
17
+ </div>
18
+ <slot></slot>
19
+ <div class="fs-xs co-text o-mm mb-sm" fekit-pullload-foot="" v-if="load">
20
+ <transition name="fekit-pullload-fade" mode="out-in">
21
+ <div v-if="demo.store.load === 2" ui-flex="row cm">
22
+ <span ui-load="@d"></span>
23
+ <!-- <span>正在加载</span> -->
24
+ </div>
25
+ <div v-else-if="demo.store.load === 3">没有更多了</div>
26
+ <div v-else>&nbsp;</div>
27
+ </transition>
28
+ </div>
29
+ </div>
30
+ </div>
31
+ </template>
32
+ <script setup lang="ts">
33
+ import { onMounted, onBeforeUnmount, ref } from 'vue';
34
+ import PullLoad, { Easing } from '@fekit/pullload';
35
+ const emits = defineEmits(['onpull', 'onload']);
36
+ const props: any = defineProps({
37
+ pull: {
38
+ type: Boolean,
39
+ default: true
40
+ },
41
+ load: {
42
+ type: Boolean,
43
+ default: true
44
+ }
45
+ });
46
+ const root: any = ref(null);
47
+ const demo: any = ref(null);
48
+ demo.value = new PullLoad({
49
+ easing: Easing.easeOut,
50
+ friction: 0.3,
51
+ triggerDistance: 60,
52
+ loadingDistance: 50,
53
+ ...(props.pull
54
+ ? {
55
+ onpull: async () => {
56
+ emits('onpull', demo.value);
57
+ }
58
+ }
59
+ : {}),
60
+ ...(props.pull
61
+ ? {
62
+ onload: async () => {
63
+ emits('onload', demo.value);
64
+ }
65
+ }
66
+ : {})
67
+ });
68
+
69
+ onMounted(() => {
70
+ if (root.value) {
71
+ demo.value?.listen(root.value);
72
+ if (props.pull) {
73
+ demo.value?.ispull();
74
+ }
75
+ }
76
+ });
77
+ onBeforeUnmount(() => {
78
+ demo.value?.remove();
79
+ });
80
+
81
+ const pullload = () => {
82
+ demo.value?.ispull();
83
+ };
84
+
85
+ defineExpose({ pullload, ex: () => demo.value });
86
+ </script>
87
+
88
+ <style lang="scss">
89
+ .fekit-ipull-scroll {
90
+ [fekit-pullload-head],
91
+ [fekit-pullload-foot] {
92
+ position: absolute;
93
+ width: 100%;
94
+ height: 2em;
95
+ left: 0;
96
+ display: flex;
97
+ justify-content: center;
98
+ align-items: center;
99
+ align-content: center;
100
+ }
101
+ [fekit-pullload-head] {
102
+ bottom: 100%;
103
+ margin-bottom: 1em;
104
+ }
105
+ [fekit-pullload-foot] {
106
+ position: relative;
107
+ top: 100%;
108
+ }
109
+
110
+ .fekit-pullload-fade-enter-active,
111
+ .fekit-pullload-fade-leave-active {
112
+ transition: opacity 0.2s;
113
+ }
114
+ .fekit-pullload-fade-enter,
115
+ .fekit-pullload-fade-leave-to {
116
+ opacity: 0;
117
+ }
118
+
119
+ .pulldown {
120
+ transition: all 0.3s;
121
+ display: inline-block;
122
+ &.toup {
123
+ transform: rotate(180deg);
124
+ }
125
+ }
126
+ }
127
+ </style>
@@ -0,0 +1,54 @@
1
+ <template>
2
+ <svg v-if="icons[name]" style="width: 1em; height: 1em" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
3
+ <path v-for="(d, i) in icons[name]?.path" :key="i" :d="d" />
4
+ </svg>
5
+ </template>
6
+ <script setup lang="ts">
7
+ const icons: any = {
8
+ 'arrow-left': {
9
+ path: [
10
+ 'M655.2 844c-12 0-24-4.8-32-13.6L336.8 544c-8.8-8.8-13.6-20-13.6-32s4.8-24 13.6-32l286.4-287.2c8.8-8 20-12.8 32-12.8s24 4.8 32 13.6c8.8 8.8 13.6 20 13.6 32s-4.8 23.2-12.8 32L432.8 512l254.4 254.4c8.8 8.8 13.6 20 13.6 32s-4.8 23.2-13.6 32c-8 8.8-20 13.6-32 13.6z'
11
+ ]
12
+ },
13
+ 'arrow-right': {
14
+ path: [
15
+ 'M368.8 844c-12 0-24-4.8-32-13.6-8.8-8.8-13.6-20-13.6-32s4.8-24 13.6-32L591.2 512 336.8 256.8c-8-8.8-12.8-20-12.8-32s4.8-23.2 13.6-32c8-8 20-13.6 32-13.6s23.2 4.8 32 12.8L688 479.2c8.8 8.8 13.6 20 13.6 32s-4.8 24-13.6 32l-286.4 286.4c-9.6 9.6-20.8 14.4-32.8 14.4z'
16
+ ]
17
+ },
18
+ 'double-arrow-left': {
19
+ path: [
20
+ 'M518.4 836.8c-11.2 0-22.4-4.8-31.2-12.8L205.6 541.6c-8.8-8.8-12.8-20-12.8-32s4.8-23.2 12.8-32l281.6-282.4c8.8-8.8 20-12.8 32-12.8s23.2 4.8 32 12.8c8.8 8.8 12.8 20 12.8 32s-4.8 23.2-12.8 32L300.8 509.6 551.2 760c8 8.8 12.8 20 12.8 32s-4.8 23.2-12.8 31.2-20 13.6-32.8 13.6z',
21
+ 'M786.4 840.8c-11.2 0-22.4-4.8-31.2-12.8L473.6 546.4c-8-8-12.8-20-12.8-32s4.8-23.2 12.8-32L755.2 200c8.8-8.8 20-12.8 32-12.8s23.2 4.8 32 12.8c8.8 8.8 12.8 20 12.8 32s-4.8 23.2-12.8 32L568 514.4l250.4 250.4c8 8.8 12.8 20 12.8 32s-4.8 23.2-12.8 31.2c-8.8 8-20 12.8-32 12.8z'
22
+ ]
23
+ },
24
+ 'double-arrow-right': {
25
+ path: [
26
+ 'M504.8 836.8c-12 0-23.2-4.8-31.2-12.8s-12.8-19.2-12.8-31.2 4-23.2 12.8-31.2l250.4-250.4-250.4-252c-8.8-8.8-12.8-20-12.8-32s4.8-23.2 12.8-32c8.8-8.8 20-12.8 32-12.8s23.2 4.8 32 12.8l281.6 282.4c8 8 12.8 20 12.8 32s-4.8 23.2-12.8 32L536.8 824c-8.8 8-20 12.8-32 12.8 0.8 0 0 0 0 0z',
27
+ 'M237.6 840.8c-12 0-23.2-4.8-31.2-12.8s-12.8-19.2-12.8-31.2 4-23.2 12.8-31.2L456 514.4 205.6 264c-8.8-8.8-12.8-20-12.8-32s4.8-23.2 12.8-32c8.8-8.8 20-12.8 32-12.8s23.2 4.8 32 12.8l281.6 282.4c8.8 8.8 12.8 20 12.8 32s-4.8 23.2-12.8 32l-281.6 282.4c-9.6 8-20 12-32 12z'
28
+ ]
29
+ },
30
+ more: {
31
+ path: [
32
+ 'M512 512m-116.363636 0a116.363636 116.363636 0 1 0 232.727272 0 116.363636 116.363636 0 1 0-232.727272 0Z',
33
+ 'M116.363636 512m-93.090909 0a93.090909 93.090909 0 1 0 186.181818 0 93.090909 93.090909 0 1 0-186.181818 0Z',
34
+ 'M907.636364 512m-93.090909 0a93.090909 93.090909 0 1 0 186.181818 0 93.090909 93.090909 0 1 0-186.181818 0Z'
35
+ ]
36
+ },
37
+ setting: {
38
+ path: [
39
+ 'M512 998.4c-22.4 0-44.8-3.2-67.2-6.4-35.2-6.4-67.2-32-76.8-64-16-54.4-64-89.6-121.6-89.6-9.6 0-19.2 0-28.8 3.2-6.4 0-12.8 3.2-19.2 3.2-28.8 0-54.4-12.8-73.6-35.2-25.6-35.2-51.2-73.6-67.2-115.2-12.8-35.2-6.4-73.6 19.2-99.2 44.8-48 44.8-121.6 0-172.8-25.6-25.6-32-64-19.2-99.2 19.2-38.4 41.6-76.8 70.4-112 19.2-22.4 44.8-35.2 73.6-35.2 6.4 0 12.8 0 19.2 3.2 9.6 3.2 19.2 3.2 28.8 3.2 54.4 0 102.4-35.2 118.4-89.6 9.6-35.2 41.6-60.8 76.8-64 22.4-3.2 44.8-3.2 67.2-3.2 22.4 0 44.8 0 67.2 3.2 35.2 6.4 67.2 32 76.8 64 9.6 32 28.8 57.6 57.6 70.4 19.2 9.6 41.6 16 64 16 9.6 0 19.2 0 28.8-3.2 6.4 0 12.8-3.2 19.2-3.2 28.8 0 54.4 12.8 73.6 35.2 25.6 35.2 48 76.8 67.2 118.4 12.8 32 6.4 73.6-19.2 99.2-44.8 48-44.8 121.6 0 172.8 25.6 25.6 32 64 19.2 99.2-16 41.6-38.4 80-67.2 115.2-19.2 22.4-44.8 35.2-73.6 35.2-6.4 0-12.8 0-19.2-3.2-9.6-3.2-19.2-3.2-28.8-3.2-54.4 0-102.4 35.2-118.4 89.6-9.6 35.2-41.6 60.8-76.8 64-25.6 3.2-48 3.2-70.4 3.2z m-265.6-236.8c89.6 0 169.6 57.6 198.4 144 3.2 6.4 6.4 9.6 12.8 9.6 19.2 3.2 35.2 3.2 54.4 3.2 12.8 0 25.6 0 38.4-3.2h22.4c6.4-3.2 9.6-6.4 9.6-9.6 16-51.2 48-92.8 92.8-115.2 32-19.2 67.2-25.6 102.4-25.6 16 0 32 3.2 44.8 6.4h3.2c3.2 0 9.6-3.2 12.8-3.2 22.4-28.8 41.6-60.8 57.6-96 3.2-6.4 0-12.8-3.2-16-70.4-80-70.4-198.4 0-275.2 3.2-6.4 3.2-12.8 3.2-19.2-12.8-35.2-32-67.2-57.6-96-6.4-6.4-9.6-9.6-12.8-9.6h-3.2c-16 3.2-28.8 6.4-44.8 6.4-35.2 0-70.4-9.6-102.4-25.6-44.8-25.6-76.8-67.2-92.8-115.2 0-6.4-6.4-9.6-9.6-9.6-19.2-3.2-38.4-3.2-57.6-3.2s-38.4 0-57.6 3.2c-6.4 3.2-9.6 6.4-9.6 9.6-16 51.2-48 92.8-92.8 115.2-32 19.2-67.2 25.6-102.4 25.6-16 0-32-3.2-44.8-6.4h-3.2c-9.6 3.2-12.8 3.2-16 6.4-22.4 28.8-41.6 60.8-57.6 96-3.2 6.4 0 12.8 3.2 16 70.4 80 70.4 198.4 0 275.2-3.2 3.2-3.2 9.6-3.2 16 12.8 35.2 32 67.2 54.4 96 3.2 3.2 9.6 6.4 16 6.4 12.8-3.2 28.8-6.4 44.8-6.4z m256-67.2c-48 0-92.8-19.2-128-54.4S320 560 320 512c0-99.2 83.2-182.4 182.4-182.4 102.4 0 182.4 83.2 182.4 182.4 0 102.4-80 182.4-182.4 182.4z m0-284.8c-57.6 0-102.4 48-102.4 105.6 0 57.6 48 105.6 105.6 105.6 57.6 0 105.6-48 102.4-105.6 0-60.8-48-105.6-105.6-105.6v-3.2 3.2z'
40
+ ]
41
+ },
42
+ 'tableloader-setting': {
43
+ path: [
44
+ 'M372 981.6c-80 0-154.4-43.2-195.2-112L35.2 624.8c-40-68.8-40-155.2 0-224.8l141.6-244.8c40-69.6 115.2-112 195.2-112h282.4c80 0 154.4 43.2 195.2 112L991.2 400c40 68.8 40 155.2 0 224.8l-141.6 244.8c-40 69.6-115.2 112-195.2 112H372z m0-825.6c-39.2 0-76.8 21.6-96.8 56L134.4 456c-20 34.4-20 76.8 0 112l140.8 244.8c20 34.4 56.8 55.2 96.8 55.2h282.4c39.2 0 76.8-21.6 96.8-56l140.8-244.8c20-34.4 20-76.8 0-112L751.2 211.2c-20-34.4-56.8-55.2-96.8-55.2H372z m140.8 552.8c-108.8 0-196.8-88-196.8-196.8 0-108.8 88-196.8 196.8-196.8 108.8 0 196.8 88 196.8 196.8 0.8 108.8-88 196.8-196.8 196.8z m0-280c-45.6 0-83.2 37.6-83.2 83.2s37.6 83.2 83.2 83.2c22.4 0 43.2-8.8 59.2-24 16-16 24-36.8 24-59.2 0-45.6-37.6-83.2-83.2-83.2z'
45
+ ]
46
+ }
47
+ };
48
+ const props: any = defineProps({
49
+ name: {
50
+ type: String,
51
+ default: ''
52
+ }
53
+ });
54
+ </script>