@fangzhongya/fang-ui 0.0.42 → 0.0.44
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.
- package/dist/components/alert/index.d.ts +1 -154
- package/dist/components/array/index.d.ts +1 -172
- package/dist/components/box/index.d.ts +1 -76
- package/dist/components/box-adjust/index.d.ts +1 -101
- package/dist/components/box-local/index.d.ts +1 -89
- package/dist/components/box-mask/index.d.ts +1 -11
- package/dist/components/box-teleport/index.d.ts +1 -63
- package/dist/components/box-title/index.d.ts +1 -40
- package/dist/components/button/index.d.ts +1 -215
- package/dist/components/buttons/index.d.ts +1 -56
- package/dist/components/card/index.d.ts +1 -110
- package/dist/components/cascader/index.d.ts +1 -393
- package/dist/components/cascader-panel/index.d.ts +1 -402
- package/dist/components/cascaders/index.d.ts +1 -101
- package/dist/components/checkbox/index.d.ts +1 -250
- package/dist/components/checkbox-group/index.d.ts +1 -140
- package/dist/components/checks/index.d.ts +1 -101
- package/dist/components/choice-select/index.d.ts +1 -15
- package/dist/components/collapse/index.d.ts +1 -124
- package/dist/components/collapse-item/index.d.ts +1 -117
- package/dist/components/color-picker/index.d.ts +1 -148
- package/dist/components/company-select/index.d.ts +1 -103
- package/dist/components/config-provider/index.d.ts +1 -149
- package/dist/components/date-picker/index.d.ts +1 -284
- package/dist/components/dates/index.d.ts +1 -98
- package/dist/components/dates/src/data.d.ts +1 -1
- package/dist/components/dates-divide/index.d.ts +1 -168
- package/dist/components/dates-picker/index.d.ts +1 -78
- package/dist/components/dates-picker/src/data.d.ts +2 -2
- package/dist/components/department-select/index.d.ts +1 -212
- package/dist/components/department-select/src/data.d.ts +1 -1
- package/dist/components/dialog/index.d.ts +1 -333
- package/dist/components/dialogs/index.d.ts +1 -58
- package/dist/components/dialogs/src/data.d.ts +1 -1
- package/dist/components/divider/index.d.ts +1 -93
- package/dist/components/drawer/index.d.ts +1 -355
- package/dist/components/dropdown/index.d.ts +1 -237
- package/dist/components/dropdown-item/index.d.ts +1 -101
- package/dist/components/dropdown-menu/index.d.ts +1 -71
- package/dist/components/edit/index.d.ts +1 -108
- package/dist/components/edit-float/index.d.ts +1 -115
- package/dist/components/form/index.d.ts +1 -114
- package/dist/components/form-item/index.d.ts +1 -187
- package/dist/components/forms/index.d.ts +1 -273
- package/dist/components/forms/src/data.d.ts +1 -1
- package/dist/components/forms/src/setup.d.ts +1 -1
- package/dist/components/forms-div/index.d.ts +1 -49
- package/dist/components/forms-drag/index.d.ts +1 -337
- package/dist/components/forms-item/index.d.ts +1 -389
- package/dist/components/forms-item/src/data.d.ts +2 -2
- package/dist/components/forms-item/src/indexts.d.ts +5 -5
- package/dist/components/forms-item/src/label.d.ts +1 -1
- package/dist/components/forms-items/index.d.ts +1 -71
- package/dist/components/history/index.d.ts +1 -47
- package/dist/components/history/src/data.d.ts +1 -1
- package/dist/components/icon/index.css +10 -0
- package/dist/components/icon/index.d.ts +1 -112
- package/dist/components/icon/index.scss +11 -0
- package/dist/components/icon/src/data.cjs +1 -1
- package/dist/components/icon/src/data.d.ts +4 -3
- package/dist/components/icon/src/data.js +1 -1
- package/dist/components/icon/src/index2.cjs +67 -56
- package/dist/components/icon/src/index2.js +68 -57
- package/dist/components/icon-picker/index.d.ts +1 -120
- package/dist/components/icon-picker/src/data.d.ts +4 -3
- package/dist/components/iframe/index.d.ts +1 -59
- package/dist/components/iframe/src/data.d.ts +2 -2
- package/dist/components/image/index.d.ts +1 -247
- package/dist/components/images/index.d.ts +1 -108
- package/dist/components/images/src/data.d.ts +2 -2
- package/dist/components/input/index.d.ts +1 -404
- package/dist/components/input-array/index.d.ts +1 -151
- package/dist/components/input-history/index.d.ts +1 -156
- package/dist/components/input-num/index.d.ts +1 -46
- package/dist/components/input-number/index.d.ts +1 -239
- package/dist/components/input-select/index.d.ts +1 -551
- package/dist/components/inputs/index.d.ts +1 -61
- package/dist/components/inputs/src/data.d.ts +1 -1
- package/dist/components/labels/index.d.ts +1 -119
- package/dist/components/lists/index.d.ts +1 -129
- package/dist/components/lists/src/data.d.ts +1 -1
- package/dist/components/menus/index.d.ts +1 -147
- package/dist/components/option/index.d.ts +1 -128
- package/dist/components/option-group/index.d.ts +1 -84
- package/dist/components/page/index.d.ts +1 -381
- package/dist/components/pagination/index.d.ts +1 -143
- package/dist/components/paging/index.d.ts +1 -27
- package/dist/components/popconfirm/index.d.ts +1 -153
- package/dist/components/popover/index.d.ts +1 -584
- package/dist/components/popup/index.d.ts +1 -170
- package/dist/components/radio/index.d.ts +1 -135
- package/dist/components/radio-group/index.d.ts +1 -144
- package/dist/components/retract/index.d.ts +1 -48
- package/dist/components/right-key/index.d.ts +1 -162
- package/dist/components/role-select/index.d.ts +1 -375
- package/dist/components/role-select/src/data.d.ts +1 -1
- package/dist/components/seamless-scroll/index.d.ts +1 -117
- package/dist/components/select/index.d.ts +1 -627
- package/dist/components/select-dialog/index.d.ts +1 -239
- package/dist/components/select-dialog/src/data.d.ts +1 -1
- package/dist/components/select-popover/index.d.ts +1 -149
- package/dist/components/select-scroll/index.d.ts +1 -65
- package/dist/components/selector/index.d.ts +1 -93
- package/dist/components/selector/src/data.d.ts +1 -1
- package/dist/components/selects/index.d.ts +1 -104
- package/dist/components/slider/index.d.ts +1 -238
- package/dist/components/stick-div/index.d.ts +1 -114
- package/dist/components/stick-edge/index.d.ts +1 -112
- package/dist/components/stick-window/index.d.ts +1 -157
- package/dist/components/switch/index.d.ts +1 -260
- package/dist/components/switchs/index.d.ts +1 -94
- package/dist/components/tab-pane/index.d.ts +1 -112
- package/dist/components/tables/index.d.ts +1 -1734
- package/dist/components/tables/src/data.d.ts +2 -2
- package/dist/components/tablesp/index.d.ts +1 -1946
- package/dist/components/tabless/index.d.ts +1 -1943
- package/dist/components/tablesv/index.d.ts +1 -274
- package/dist/components/tablesv/src/data.d.ts +2 -2
- package/dist/components/tablesvp/index.d.ts +1 -480
- package/dist/components/tabs/index.d.ts +1 -147
- package/dist/components/text/index.d.ts +1 -15
- package/dist/components/time-picker/index.d.ts +1 -283
- package/dist/components/time-select/index.d.ts +1 -164
- package/dist/components/tooltip/index.d.ts +1 -1067
- package/dist/components/tree/index.d.ts +1 -946
- package/dist/components/tree-select/index.d.ts +1 -124
- package/dist/components/tree-select-box/index.d.ts +1 -1415
- package/dist/components/tree-select-box/src/data.d.ts +1 -1
- package/dist/components/upload/index.d.ts +1 -419
- package/dist/components/user-select/index.d.ts +1 -1421
- package/dist/components/user-select/src/data.d.ts +1 -1
- package/dist/components/window/index.d.ts +1 -227
- package/dist/css/icon.css +10 -0
- package/dist/css/index.css +10 -0
- package/dist/icons/config.cjs +4 -0
- package/dist/icons/config.d.ts +4 -0
- package/dist/icons/config.js +4 -0
- package/dist/icons/iconify.cjs +67 -0
- package/dist/icons/iconify.d.ts +5 -0
- package/dist/icons/iconify.js +67 -0
- package/dist/icons/index.cjs +4 -2
- package/dist/icons/index.css +40 -40
- package/dist/icons/index.d.ts +3 -4
- package/dist/icons/index.js +3 -1
- package/dist/icons/index.json +8 -8
- package/dist/icons/vue/bar.cjs +2 -2
- package/dist/icons/vue/bar.js +2 -2
- package/dist/icons/vue/below.cjs +1 -0
- package/dist/icons/vue/below.js +1 -0
- package/dist/icons/vue/bicycle.cjs +1 -0
- package/dist/icons/vue/bicycle.js +1 -0
- package/dist/icons/vue/bottom-left.cjs +1 -0
- package/dist/icons/vue/bottom-left.js +1 -0
- package/dist/icons/vue/bottom-right.cjs +1 -0
- package/dist/icons/vue/bottom-right.js +1 -0
- package/dist/icons/vue/bottom.cjs +1 -0
- package/dist/icons/vue/bottom.js +1 -0
- package/dist/icons/vue/clear.cjs +1 -0
- package/dist/icons/vue/clear.js +1 -0
- package/dist/icons/vue/close.cjs +1 -0
- package/dist/icons/vue/close.js +1 -0
- package/dist/icons/vue/edit.cjs +1 -0
- package/dist/icons/vue/edit.js +1 -0
- package/dist/icons/vue/frame.cjs +1 -0
- package/dist/icons/vue/frame.js +1 -0
- package/dist/icons/vue/left.cjs +1 -0
- package/dist/icons/vue/left.js +1 -0
- package/dist/icons/vue/right.cjs +1 -0
- package/dist/icons/vue/right.js +1 -0
- package/dist/icons/vue/star.cjs +1 -0
- package/dist/icons/vue/star.js +1 -0
- package/dist/index.css +10 -0
- package/package.json +7 -7
- package/dist/components/alert/src/index.d.ts +0 -278
- package/dist/components/array/src/index.d.ts +0 -112
- package/dist/components/box/src/index.d.ts +0 -53
- package/dist/components/box-adjust/src/index.d.ts +0 -67
- package/dist/components/box-local/src/index.d.ts +0 -61
- package/dist/components/box-mask/src/index.d.ts +0 -11
- package/dist/components/box-teleport/src/index.d.ts +0 -42
- package/dist/components/box-title/src/index.d.ts +0 -32
- package/dist/components/button/src/index.d.ts +0 -400
- package/dist/components/buttons/src/index.d.ts +0 -56
- package/dist/components/card/src/index.d.ts +0 -190
- package/dist/components/cascader/src/index.d.ts +0 -753
- package/dist/components/cascader-panel/src/index.d.ts +0 -772
- package/dist/components/cascaders/src/index.d.ts +0 -101
- package/dist/components/checkbox/src/index.d.ts +0 -469
- package/dist/components/checkbox-group/src/index.d.ts +0 -248
- package/dist/components/checks/src/index.d.ts +0 -101
- package/dist/components/choice-select/src/index.d.ts +0 -15
- package/dist/components/collapse/src/index.d.ts +0 -217
- package/dist/components/collapse-item/src/index.d.ts +0 -203
- package/dist/components/color-picker/src/index.d.ts +0 -266
- package/dist/components/company-select/src/index.d.ts +0 -103
- package/dist/components/config-provider/src/index.d.ts +0 -265
- package/dist/components/date-picker/src/index.d.ts +0 -536
- package/dist/components/dates/src/index.d.ts +0 -98
- package/dist/components/dates-divide/src/index.d.ts +0 -111
- package/dist/components/dates-picker/src/index.d.ts +0 -54
- package/dist/components/department-select/src/index.d.ts +0 -142
- package/dist/components/dialog/src/index.d.ts +0 -635
- package/dist/components/dialogs/src/index.d.ts +0 -40
- package/dist/components/divider/src/index.d.ts +0 -156
- package/dist/components/drawer/src/index.d.ts +0 -679
- package/dist/components/dropdown/src/index.d.ts +0 -441
- package/dist/components/dropdown-item/src/index.d.ts +0 -173
- package/dist/components/dropdown-menu/src/index.d.ts +0 -113
- package/dist/components/edit/src/index.d.ts +0 -108
- package/dist/components/edit-float/src/index.d.ts +0 -115
- package/dist/components/form-item/src/index.d.ts +0 -343
- package/dist/components/forms-div/src/index.d.ts +0 -49
- package/dist/components/forms-item/src/index.d.ts +0 -162
- package/dist/components/forms-items/src/index.d.ts +0 -49
- package/dist/components/history/src/index.d.ts +0 -34
- package/dist/components/icon/src/index.d.ts +0 -75
- package/dist/components/icon-picker/src/index.d.ts +0 -78
- package/dist/components/iframe/src/index.d.ts +0 -59
- package/dist/components/image/src/index.d.ts +0 -463
- package/dist/components/images/src/index.d.ts +0 -72
- package/dist/components/input/src/index.d.ts +0 -777
- package/dist/components/input-array/src/index.d.ts +0 -97
- package/dist/components/input-history/src/index.d.ts +0 -210
- package/dist/components/input-num/src/index.d.ts +0 -36
- package/dist/components/input-number/src/index.d.ts +0 -448
- package/dist/components/input-select/src/index.d.ts +0 -869
- package/dist/components/inputs/src/index.d.ts +0 -44
- package/dist/components/labels/src/index.d.ts +0 -119
- package/dist/components/lists/common/img.d.ts +0 -9
- package/dist/components/lists/src/index.d.ts +0 -129
- package/dist/components/menus/src/index.d.ts +0 -134
- package/dist/components/menus/src/menu-ll.d.ts +0 -80
- package/dist/components/option/src/index.d.ts +0 -128
- package/dist/components/option-group/src/index.d.ts +0 -140
- package/dist/components/page/src/set-column.d.ts +0 -85
- package/dist/components/pagination/src/index.d.ts +0 -257
- package/dist/components/paging/src/index.d.ts +0 -27
- package/dist/components/popconfirm/src/index.d.ts +0 -276
- package/dist/components/popover/src/index.d.ts +0 -1136
- package/dist/components/popup/src/index.d.ts +0 -108
- package/dist/components/radio/src/index.d.ts +0 -240
- package/dist/components/radio-group/src/index.d.ts +0 -258
- package/dist/components/retract/src/index.d.ts +0 -32
- package/dist/components/right-key/src/index.d.ts +0 -111
- package/dist/components/role-select/src/index.d.ts +0 -526
- package/dist/components/seamless-scroll/src/index.d.ts +0 -80
- package/dist/components/select/src/index.d.ts +0 -1219
- package/dist/components/select-dialog/src/index.d.ts +0 -159
- package/dist/components/select-popover/src/index.d.ts +0 -205
- package/dist/components/select-scroll/src/index.d.ts +0 -65
- package/dist/components/selector/src/index.d.ts +0 -93
- package/dist/components/selects/src/index.d.ts +0 -104
- package/dist/components/slider/src/index.d.ts +0 -446
- package/dist/components/stick-div/src/index.d.ts +0 -81
- package/dist/components/stick-edge/src/index.d.ts +0 -78
- package/dist/components/stick-window/src/index.d.ts +0 -106
- package/dist/components/switch/src/index.d.ts +0 -490
- package/dist/components/switchs/src/index.d.ts +0 -94
- package/dist/components/tab-pane/src/index.d.ts +0 -194
- package/dist/components/tables/common/table-but.d.ts +0 -56
- package/dist/components/tables/common/table-color.d.ts +0 -56
- package/dist/components/tables/common/table-list.d.ts +0 -56
- package/dist/components/tables/src/index.d.ts +0 -3111
- package/dist/components/tablesp/src/index.d.ts +0 -3549
- package/dist/components/tabless/src/index.d.ts +0 -3548
- package/dist/components/tablesv/src/index.d.ts +0 -178
- package/dist/components/tablesvp/src/index.d.ts +0 -630
- package/dist/components/tabs/src/index.d.ts +0 -264
- package/dist/components/text/src/index.d.ts +0 -15
- package/dist/components/time-picker/src/index.d.ts +0 -535
- package/dist/components/time-select/src/index.d.ts +0 -298
- package/dist/components/tooltip/src/index.d.ts +0 -2101
- package/dist/components/tree/src/index.d.ts +0 -1860
- package/dist/components/tree-select/src/index.d.ts +0 -219
- package/dist/components/tree-select-box/src/index.d.ts +0 -2504
- package/dist/components/upload/src/index.d.ts +0 -807
- package/dist/components/user-select/src/index.d.ts +0 -2509
- package/dist/components/window/src/index.d.ts +0 -164
- package/dist/icons/vue/bar.d.ts +0 -3
- package/dist/icons/vue/below.d.ts +0 -3
- package/dist/icons/vue/bicycle.d.ts +0 -3
- package/dist/icons/vue/bottom-left.d.ts +0 -3
- package/dist/icons/vue/bottom-right.d.ts +0 -3
- package/dist/icons/vue/bottom.d.ts +0 -3
- package/dist/icons/vue/clear.d.ts +0 -3
- package/dist/icons/vue/close.d.ts +0 -3
- package/dist/icons/vue/edit.d.ts +0 -3
- package/dist/icons/vue/frame.d.ts +0 -3
- package/dist/icons/vue/left.d.ts +0 -3
- package/dist/icons/vue/right.d.ts +0 -3
- package/dist/icons/vue/star.d.ts +0 -3
- /package/dist/components/{collapse-item → tooltip}/index.css +0 -0
- /package/dist/css/{collapse-item.css → tooltip.css} +0 -0
|
@@ -1,113 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
-
declare const Icon: SFCWithInstall<{
|
|
4
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
5
|
-
name: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
iconClass: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
};
|
|
12
|
-
type: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
};
|
|
15
|
-
size: {
|
|
16
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
17
|
-
};
|
|
18
|
-
runtime: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
flip: {
|
|
23
|
-
type: PropType<"" | "horizontal" | "vertical" | "both">;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
rotate: {
|
|
27
|
-
type: NumberConstructor;
|
|
28
|
-
default: number;
|
|
29
|
-
};
|
|
30
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
31
|
-
name: string;
|
|
32
|
-
runtime: boolean;
|
|
33
|
-
flip: "" | "horizontal" | "vertical" | "both";
|
|
34
|
-
rotate: number;
|
|
35
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLElement, ComponentProvideOptions, {
|
|
36
|
-
P: {};
|
|
37
|
-
B: {};
|
|
38
|
-
D: {};
|
|
39
|
-
C: {};
|
|
40
|
-
M: {};
|
|
41
|
-
Defaults: {};
|
|
42
|
-
}, Readonly< ExtractPropTypes<{
|
|
43
|
-
name: {
|
|
44
|
-
type: StringConstructor;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
iconClass: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
};
|
|
50
|
-
type: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
};
|
|
53
|
-
size: {
|
|
54
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
55
|
-
};
|
|
56
|
-
runtime: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
flip: {
|
|
61
|
-
type: PropType<"" | "horizontal" | "vertical" | "both">;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
rotate: {
|
|
65
|
-
type: NumberConstructor;
|
|
66
|
-
default: number;
|
|
67
|
-
};
|
|
68
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
69
|
-
name: string;
|
|
70
|
-
runtime: boolean;
|
|
71
|
-
flip: "" | "horizontal" | "vertical" | "both";
|
|
72
|
-
rotate: number;
|
|
73
|
-
}>;
|
|
74
|
-
__isFragment?: never;
|
|
75
|
-
__isTeleport?: never;
|
|
76
|
-
__isSuspense?: never;
|
|
77
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
78
|
-
name: {
|
|
79
|
-
type: StringConstructor;
|
|
80
|
-
default: string;
|
|
81
|
-
};
|
|
82
|
-
iconClass: {
|
|
83
|
-
type: StringConstructor;
|
|
84
|
-
};
|
|
85
|
-
type: {
|
|
86
|
-
type: StringConstructor;
|
|
87
|
-
};
|
|
88
|
-
size: {
|
|
89
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
90
|
-
};
|
|
91
|
-
runtime: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
flip: {
|
|
96
|
-
type: PropType<"" | "horizontal" | "vertical" | "both">;
|
|
97
|
-
default: string;
|
|
98
|
-
};
|
|
99
|
-
rotate: {
|
|
100
|
-
type: NumberConstructor;
|
|
101
|
-
default: number;
|
|
102
|
-
};
|
|
103
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
104
|
-
name: string;
|
|
105
|
-
runtime: boolean;
|
|
106
|
-
flip: "" | "horizontal" | "vertical" | "both";
|
|
107
|
-
rotate: number;
|
|
108
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
109
|
-
$slots: {
|
|
110
|
-
default?(_: {}): any;
|
|
111
|
-
};
|
|
112
|
-
})>;
|
|
1
|
+
declare const Icon: any;
|
|
113
2
|
export { Icon, Icon as default };
|
|
@@ -13,4 +13,15 @@ $icon: 'icon';
|
|
|
13
13
|
fill: currentColor;
|
|
14
14
|
color: var(--color);
|
|
15
15
|
font-size: inherit;
|
|
16
|
+
|
|
17
|
+
&-cont {
|
|
18
|
+
border: 0;
|
|
19
|
+
display: inline-flex;
|
|
20
|
+
align-items: center;
|
|
21
|
+
object-fit: contain;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
font-size: inherit !important;
|
|
24
|
+
width: inherit !important;
|
|
25
|
+
height: inherit !important;
|
|
26
|
+
}
|
|
16
27
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
type Flip = 'horizontal' | 'vertical' | 'both' | '';
|
|
3
|
+
export type IconType = 'css' | 'id' | 'img' | 'font' | 'str' | 'com';
|
|
3
4
|
export declare const dataProps: {
|
|
4
5
|
/**
|
|
5
6
|
* @props { String} name= ( )
|
|
6
7
|
* 图标名称
|
|
7
8
|
*/
|
|
8
9
|
name: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
+
type: (ObjectConstructor | StringConstructor)[];
|
|
10
11
|
default: string;
|
|
11
12
|
};
|
|
12
13
|
iconClass: {
|
|
@@ -17,14 +18,14 @@ export declare const dataProps: {
|
|
|
17
18
|
* 图标类型
|
|
18
19
|
*/
|
|
19
20
|
type: {
|
|
20
|
-
type:
|
|
21
|
+
type: () => IconType;
|
|
21
22
|
};
|
|
22
23
|
/**
|
|
23
24
|
* @props { String, Number } size= ( )
|
|
24
25
|
* 图标大小
|
|
25
26
|
*/
|
|
26
27
|
size: {
|
|
27
|
-
type: (
|
|
28
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
28
29
|
};
|
|
29
30
|
runtime: {
|
|
30
31
|
type: BooleanConstructor;
|
|
@@ -5,11 +5,9 @@ const data = require("./data.cjs");
|
|
|
5
5
|
require("../../../hooks/index.cjs");
|
|
6
6
|
const index = require("../../../hooks/locale/index.cjs");
|
|
7
7
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
8
|
-
const _hoisted_1 = ["
|
|
9
|
-
const _hoisted_2 = ["
|
|
10
|
-
const _hoisted_3 = ["
|
|
11
|
-
const _hoisted_4 = ["ctype"];
|
|
12
|
-
const _hoisted_5 = ["xlink:href"];
|
|
8
|
+
const _hoisted_1 = ["src"];
|
|
9
|
+
const _hoisted_2 = ["innerHTML"];
|
|
10
|
+
const _hoisted_3 = ["xlink:href"];
|
|
13
11
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
14
12
|
__name: "index",
|
|
15
13
|
props: data.dataProps,
|
|
@@ -20,23 +18,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20
18
|
const props = __props;
|
|
21
19
|
const emit = __emit;
|
|
22
20
|
const reg = /<svg([^>]*)>((.|\n|\r|\t)*)<\/svg>/g;
|
|
21
|
+
const reg1 = /<path([^>]*)>((.|\n|\r|\t)*)<\/path>/g;
|
|
22
|
+
const reg2 = /<g([^>]*)>((.|\n|\r|\t)*)<\/g>/g;
|
|
23
23
|
const outputType = vue.computed(() => {
|
|
24
24
|
if (props.type) {
|
|
25
25
|
return props.type;
|
|
26
26
|
} else {
|
|
27
27
|
const name = props.name || "";
|
|
28
|
-
if (
|
|
29
|
-
return "str";
|
|
30
|
-
} else if (name.startsWith("i-")) {
|
|
31
|
-
return "css";
|
|
32
|
-
} else if (name.startsWith("f-")) {
|
|
33
|
-
return "font";
|
|
34
|
-
} else if (name.startsWith("c-")) {
|
|
28
|
+
if (typeof name == "object") {
|
|
35
29
|
return "com";
|
|
30
|
+
} else if (reg.test(name) || reg1.test(name) || reg2.test(name)) {
|
|
31
|
+
return "str";
|
|
36
32
|
} else if (isImg(name)) {
|
|
37
33
|
return "img";
|
|
38
|
-
} else {
|
|
39
|
-
return "custom";
|
|
40
34
|
}
|
|
41
35
|
}
|
|
42
36
|
});
|
|
@@ -70,21 +64,39 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
70
64
|
});
|
|
71
65
|
const outputName = vue.computed(() => {
|
|
72
66
|
const name = props.name || "";
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
67
|
+
switch (outputType.value) {
|
|
68
|
+
case "str":
|
|
69
|
+
const m = name;
|
|
70
|
+
const rs = reg.exec(m);
|
|
71
|
+
const rs1 = reg1.exec(m) || reg2.exec(m);
|
|
72
|
+
if (rs && rs.length > 0) {
|
|
73
|
+
return rs[1];
|
|
74
|
+
} else if (rs1 && rs1.length > 0) {
|
|
75
|
+
return rs1[0];
|
|
76
|
+
} else {
|
|
77
|
+
return m;
|
|
78
|
+
}
|
|
79
|
+
case "css":
|
|
80
|
+
if (name.startsWith("icon-")) {
|
|
81
|
+
return name;
|
|
82
|
+
} else {
|
|
83
|
+
return "icon-" + name;
|
|
84
|
+
}
|
|
85
|
+
case "id":
|
|
86
|
+
if (name.startsWith("icon-")) {
|
|
87
|
+
return name;
|
|
88
|
+
} else {
|
|
89
|
+
return "icon-" + name;
|
|
90
|
+
}
|
|
91
|
+
case "font":
|
|
92
|
+
if (name.startsWith("icon-")) {
|
|
93
|
+
return name;
|
|
94
|
+
} else {
|
|
95
|
+
return "icon-" + name;
|
|
96
|
+
}
|
|
97
|
+
default:
|
|
98
|
+
return name;
|
|
86
99
|
}
|
|
87
|
-
return name;
|
|
88
100
|
});
|
|
89
101
|
function isImg(name) {
|
|
90
102
|
if (name) {
|
|
@@ -107,43 +119,42 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
107
119
|
});
|
|
108
120
|
return (_ctx, _cache) => {
|
|
109
121
|
return vue.openBlock(), vue.createElementBlock("i", {
|
|
110
|
-
class: vue.normalizeClass(vue.unref(cs).z())
|
|
122
|
+
class: vue.normalizeClass(vue.unref(cs).z()),
|
|
123
|
+
style: vue.normalizeStyle(transformStyle.value)
|
|
111
124
|
}, [
|
|
112
125
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
113
|
-
outputType.value === "css" ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
126
|
+
outputType.value === "css" || outputType.value === "font" ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
114
127
|
key: 0,
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
128
|
+
class: vue.normalizeClass([
|
|
129
|
+
vue.unref(cs).z(outputType.value),
|
|
130
|
+
props.iconClass,
|
|
131
|
+
outputName.value,
|
|
132
|
+
vue.unref(cs).z("cont")
|
|
133
|
+
])
|
|
134
|
+
}, null, 2)) : outputType.value === "img" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
119
135
|
key: 1,
|
|
120
|
-
|
|
121
|
-
class: vue.normalizeClass([props.iconClass, outputName.value]),
|
|
122
|
-
style: vue.normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
123
|
-
}, null, 14, _hoisted_2)) : outputType.value === "img" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
124
|
-
key: 2,
|
|
125
|
-
ctype: outputType.value,
|
|
126
|
-
class: vue.normalizeClass([props.iconClass]),
|
|
127
|
-
style: vue.normalizeStyle([{ "border": "0", "display": "inline-flex", "align-items": "center", "object-fit": "contain", "justify-content": "center" }, transformStyle.value]),
|
|
136
|
+
class: vue.normalizeClass([vue.unref(cs).z(outputType.value), props.iconClass, vue.unref(cs).z("cont")]),
|
|
128
137
|
src: outputName.value
|
|
129
|
-
}, null,
|
|
130
|
-
key:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
class: vue.normalizeClass([props.iconClass]),
|
|
138
|
-
style: vue.normalizeStyle(transformStyle.value),
|
|
138
|
+
}, null, 10, _hoisted_1)) : outputType.value === "str" ? (vue.openBlock(), vue.createElementBlock("svg", {
|
|
139
|
+
key: 2,
|
|
140
|
+
class: vue.normalizeClass([vue.unref(cs).z(outputType.value), props.iconClass, vue.unref(cs).z("cont")]),
|
|
141
|
+
viewBox: "0 0 1024 1024",
|
|
142
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
143
|
+
innerHTML: outputName.value
|
|
144
|
+
}, null, 10, _hoisted_2)) : outputType.value === "id" ? (vue.openBlock(), vue.createElementBlock("svg", {
|
|
145
|
+
key: 3,
|
|
146
|
+
class: vue.normalizeClass([vue.unref(cs).z(outputType.value), props.iconClass, vue.unref(cs).z("cont")]),
|
|
139
147
|
"aria-hidden": "true"
|
|
140
148
|
}, [
|
|
141
149
|
vue.createElementVNode("use", {
|
|
142
|
-
"xlink:href":
|
|
143
|
-
}, null, 8,
|
|
144
|
-
],
|
|
150
|
+
"xlink:href": `#${outputName.value}`
|
|
151
|
+
}, null, 8, _hoisted_3)
|
|
152
|
+
], 2)) : (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(outputName.value), {
|
|
153
|
+
key: 4,
|
|
154
|
+
class: vue.normalizeClass([vue.unref(cs).z(outputType.value), props.iconClass, vue.unref(cs).z("cont")])
|
|
155
|
+
}, null, 8, ["class"]))
|
|
145
156
|
])
|
|
146
|
-
],
|
|
157
|
+
], 6);
|
|
147
158
|
};
|
|
148
159
|
}
|
|
149
160
|
});
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, renderSlot, createBlock,
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, renderSlot, createBlock, createElementVNode, resolveDynamicComponent } from "vue";
|
|
2
2
|
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
3
3
|
import "../../../hooks/index.js";
|
|
4
4
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
5
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
|
-
const _hoisted_1 = ["
|
|
7
|
-
const _hoisted_2 = ["
|
|
8
|
-
const _hoisted_3 = ["
|
|
9
|
-
const _hoisted_4 = ["ctype"];
|
|
10
|
-
const _hoisted_5 = ["xlink:href"];
|
|
6
|
+
const _hoisted_1 = ["src"];
|
|
7
|
+
const _hoisted_2 = ["innerHTML"];
|
|
8
|
+
const _hoisted_3 = ["xlink:href"];
|
|
11
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
12
10
|
__name: "index",
|
|
13
11
|
props: dataProps,
|
|
@@ -18,23 +16,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
16
|
const props = __props;
|
|
19
17
|
const emit = __emit;
|
|
20
18
|
const reg = /<svg([^>]*)>((.|\n|\r|\t)*)<\/svg>/g;
|
|
19
|
+
const reg1 = /<path([^>]*)>((.|\n|\r|\t)*)<\/path>/g;
|
|
20
|
+
const reg2 = /<g([^>]*)>((.|\n|\r|\t)*)<\/g>/g;
|
|
21
21
|
const outputType = computed(() => {
|
|
22
22
|
if (props.type) {
|
|
23
23
|
return props.type;
|
|
24
24
|
} else {
|
|
25
25
|
const name = props.name || "";
|
|
26
|
-
if (
|
|
27
|
-
return "str";
|
|
28
|
-
} else if (name.startsWith("i-")) {
|
|
29
|
-
return "css";
|
|
30
|
-
} else if (name.startsWith("f-")) {
|
|
31
|
-
return "font";
|
|
32
|
-
} else if (name.startsWith("c-")) {
|
|
26
|
+
if (typeof name == "object") {
|
|
33
27
|
return "com";
|
|
28
|
+
} else if (reg.test(name) || reg1.test(name) || reg2.test(name)) {
|
|
29
|
+
return "str";
|
|
34
30
|
} else if (isImg(name)) {
|
|
35
31
|
return "img";
|
|
36
|
-
} else {
|
|
37
|
-
return "custom";
|
|
38
32
|
}
|
|
39
33
|
}
|
|
40
34
|
});
|
|
@@ -68,21 +62,39 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
68
62
|
});
|
|
69
63
|
const outputName = computed(() => {
|
|
70
64
|
const name = props.name || "";
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
65
|
+
switch (outputType.value) {
|
|
66
|
+
case "str":
|
|
67
|
+
const m = name;
|
|
68
|
+
const rs = reg.exec(m);
|
|
69
|
+
const rs1 = reg1.exec(m) || reg2.exec(m);
|
|
70
|
+
if (rs && rs.length > 0) {
|
|
71
|
+
return rs[1];
|
|
72
|
+
} else if (rs1 && rs1.length > 0) {
|
|
73
|
+
return rs1[0];
|
|
74
|
+
} else {
|
|
75
|
+
return m;
|
|
76
|
+
}
|
|
77
|
+
case "css":
|
|
78
|
+
if (name.startsWith("icon-")) {
|
|
79
|
+
return name;
|
|
80
|
+
} else {
|
|
81
|
+
return "icon-" + name;
|
|
82
|
+
}
|
|
83
|
+
case "id":
|
|
84
|
+
if (name.startsWith("icon-")) {
|
|
85
|
+
return name;
|
|
86
|
+
} else {
|
|
87
|
+
return "icon-" + name;
|
|
88
|
+
}
|
|
89
|
+
case "font":
|
|
90
|
+
if (name.startsWith("icon-")) {
|
|
91
|
+
return name;
|
|
92
|
+
} else {
|
|
93
|
+
return "icon-" + name;
|
|
94
|
+
}
|
|
95
|
+
default:
|
|
96
|
+
return name;
|
|
84
97
|
}
|
|
85
|
-
return name;
|
|
86
98
|
});
|
|
87
99
|
function isImg(name) {
|
|
88
100
|
if (name) {
|
|
@@ -105,43 +117,42 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
117
|
});
|
|
106
118
|
return (_ctx, _cache) => {
|
|
107
119
|
return openBlock(), createElementBlock("i", {
|
|
108
|
-
class: normalizeClass(unref(cs).z())
|
|
120
|
+
class: normalizeClass(unref(cs).z()),
|
|
121
|
+
style: normalizeStyle(transformStyle.value)
|
|
109
122
|
}, [
|
|
110
123
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
111
|
-
outputType.value === "css" ? (openBlock(), createElementBlock("i", {
|
|
124
|
+
outputType.value === "css" || outputType.value === "font" ? (openBlock(), createElementBlock("i", {
|
|
112
125
|
key: 0,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
126
|
+
class: normalizeClass([
|
|
127
|
+
unref(cs).z(outputType.value),
|
|
128
|
+
props.iconClass,
|
|
129
|
+
outputName.value,
|
|
130
|
+
unref(cs).z("cont")
|
|
131
|
+
])
|
|
132
|
+
}, null, 2)) : outputType.value === "img" ? (openBlock(), createElementBlock("img", {
|
|
117
133
|
key: 1,
|
|
118
|
-
|
|
119
|
-
class: normalizeClass([props.iconClass, outputName.value]),
|
|
120
|
-
style: normalizeStyle([{ "display": "inline-flex", "align-items": "center", "justify-content": "center" }, transformStyle.value])
|
|
121
|
-
}, null, 14, _hoisted_2)) : outputType.value === "img" ? (openBlock(), createElementBlock("img", {
|
|
122
|
-
key: 2,
|
|
123
|
-
ctype: outputType.value,
|
|
124
|
-
class: normalizeClass([props.iconClass]),
|
|
125
|
-
style: normalizeStyle([{ "border": "0", "display": "inline-flex", "align-items": "center", "object-fit": "contain", "justify-content": "center" }, transformStyle.value]),
|
|
134
|
+
class: normalizeClass([unref(cs).z(outputType.value), props.iconClass, unref(cs).z("cont")]),
|
|
126
135
|
src: outputName.value
|
|
127
|
-
}, null,
|
|
128
|
-
key:
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
class: normalizeClass([props.iconClass]),
|
|
136
|
-
style: normalizeStyle(transformStyle.value),
|
|
136
|
+
}, null, 10, _hoisted_1)) : outputType.value === "str" ? (openBlock(), createElementBlock("svg", {
|
|
137
|
+
key: 2,
|
|
138
|
+
class: normalizeClass([unref(cs).z(outputType.value), props.iconClass, unref(cs).z("cont")]),
|
|
139
|
+
viewBox: "0 0 1024 1024",
|
|
140
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
141
|
+
innerHTML: outputName.value
|
|
142
|
+
}, null, 10, _hoisted_2)) : outputType.value === "id" ? (openBlock(), createElementBlock("svg", {
|
|
143
|
+
key: 3,
|
|
144
|
+
class: normalizeClass([unref(cs).z(outputType.value), props.iconClass, unref(cs).z("cont")]),
|
|
137
145
|
"aria-hidden": "true"
|
|
138
146
|
}, [
|
|
139
147
|
createElementVNode("use", {
|
|
140
|
-
"xlink:href":
|
|
141
|
-
}, null, 8,
|
|
142
|
-
],
|
|
148
|
+
"xlink:href": `#${outputName.value}`
|
|
149
|
+
}, null, 8, _hoisted_3)
|
|
150
|
+
], 2)) : (openBlock(), createBlock(resolveDynamicComponent(outputName.value), {
|
|
151
|
+
key: 4,
|
|
152
|
+
class: normalizeClass([unref(cs).z(outputType.value), props.iconClass, unref(cs).z("cont")])
|
|
153
|
+
}, null, 8, ["class"]))
|
|
143
154
|
])
|
|
144
|
-
],
|
|
155
|
+
], 6);
|
|
145
156
|
};
|
|
146
157
|
}
|
|
147
158
|
});
|
|
@@ -1,121 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
-
import { Icons } from './src/data';
|
|
4
|
-
declare const IconPicker: SFCWithInstall<{
|
|
5
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
6
|
-
dialogClass: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
};
|
|
9
|
-
dialogWidth: {
|
|
10
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
11
|
-
};
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: StringConstructor[];
|
|
14
|
-
};
|
|
15
|
-
size: {
|
|
16
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
17
|
-
default(): "30px";
|
|
18
|
-
};
|
|
19
|
-
icons: {
|
|
20
|
-
type: () => {
|
|
21
|
-
[key: string | number]: Icons;
|
|
22
|
-
};
|
|
23
|
-
default(): {};
|
|
24
|
-
};
|
|
25
|
-
type: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
};
|
|
28
|
-
separator: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
33
|
-
size: string | number;
|
|
34
|
-
separator: string;
|
|
35
|
-
icons: {
|
|
36
|
-
[key: string]: Icons;
|
|
37
|
-
[key: number]: Icons;
|
|
38
|
-
};
|
|
39
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, HTMLDivElement, ComponentProvideOptions, {
|
|
40
|
-
P: {};
|
|
41
|
-
B: {};
|
|
42
|
-
D: {};
|
|
43
|
-
C: {};
|
|
44
|
-
M: {};
|
|
45
|
-
Defaults: {};
|
|
46
|
-
}, Readonly< ExtractPropTypes<{
|
|
47
|
-
dialogClass: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
};
|
|
50
|
-
dialogWidth: {
|
|
51
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
52
|
-
};
|
|
53
|
-
modelValue: {
|
|
54
|
-
type: StringConstructor[];
|
|
55
|
-
};
|
|
56
|
-
size: {
|
|
57
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
58
|
-
default(): "30px";
|
|
59
|
-
};
|
|
60
|
-
icons: {
|
|
61
|
-
type: () => {
|
|
62
|
-
[key: string | number]: Icons;
|
|
63
|
-
};
|
|
64
|
-
default(): {};
|
|
65
|
-
};
|
|
66
|
-
type: {
|
|
67
|
-
type: StringConstructor;
|
|
68
|
-
};
|
|
69
|
-
separator: {
|
|
70
|
-
type: StringConstructor;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
74
|
-
size: string | number;
|
|
75
|
-
separator: string;
|
|
76
|
-
icons: {
|
|
77
|
-
[key: string]: Icons;
|
|
78
|
-
[key: number]: Icons;
|
|
79
|
-
};
|
|
80
|
-
}>;
|
|
81
|
-
__isFragment?: never;
|
|
82
|
-
__isTeleport?: never;
|
|
83
|
-
__isSuspense?: never;
|
|
84
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
85
|
-
dialogClass: {
|
|
86
|
-
type: StringConstructor;
|
|
87
|
-
};
|
|
88
|
-
dialogWidth: {
|
|
89
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
90
|
-
};
|
|
91
|
-
modelValue: {
|
|
92
|
-
type: StringConstructor[];
|
|
93
|
-
};
|
|
94
|
-
size: {
|
|
95
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
96
|
-
default(): "30px";
|
|
97
|
-
};
|
|
98
|
-
icons: {
|
|
99
|
-
type: () => {
|
|
100
|
-
[key: string | number]: Icons;
|
|
101
|
-
};
|
|
102
|
-
default(): {};
|
|
103
|
-
};
|
|
104
|
-
type: {
|
|
105
|
-
type: StringConstructor;
|
|
106
|
-
};
|
|
107
|
-
separator: {
|
|
108
|
-
type: StringConstructor;
|
|
109
|
-
default: string;
|
|
110
|
-
};
|
|
111
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
112
|
-
size: string | number;
|
|
113
|
-
separator: string;
|
|
114
|
-
icons: {
|
|
115
|
-
[key: string]: Icons;
|
|
116
|
-
[key: number]: Icons;
|
|
117
|
-
};
|
|
118
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
119
|
-
$slots: Partial<Record<string, (_: {}) => any>>;
|
|
120
|
-
})>;
|
|
1
|
+
declare const IconPicker: any;
|
|
121
2
|
export { IconPicker, IconPicker as default };
|