@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,228 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
|
-
declare const Window: SFCWithInstall<{
|
|
4
|
-
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
|
|
5
|
-
drag: {
|
|
6
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
adjust: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
mask: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
maskClose: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
pallet: {
|
|
22
|
-
type: PropType<{
|
|
23
|
-
[key: string]: any;
|
|
24
|
-
add: (s: symbol, a: () => void, r: () => void, t?: string) => void;
|
|
25
|
-
remove: (s: symbol, t?: string) => void;
|
|
26
|
-
}>;
|
|
27
|
-
};
|
|
28
|
-
minChange: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
closeHave: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
noMin: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
often: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
};
|
|
43
|
-
max: {
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
};
|
|
46
|
-
title: {
|
|
47
|
-
type: StringConstructor;
|
|
48
|
-
};
|
|
49
|
-
modelValue: {
|
|
50
|
-
type: BooleanConstructor;
|
|
51
|
-
};
|
|
52
|
-
to: {
|
|
53
|
-
type: StringConstructor;
|
|
54
|
-
};
|
|
55
|
-
disabled: {
|
|
56
|
-
type: BooleanConstructor;
|
|
57
|
-
};
|
|
58
|
-
boxClass: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
};
|
|
61
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
|
|
62
|
-
disabled: boolean;
|
|
63
|
-
mask: boolean;
|
|
64
|
-
modelValue: boolean;
|
|
65
|
-
max: boolean;
|
|
66
|
-
drag: string | boolean;
|
|
67
|
-
adjust: boolean;
|
|
68
|
-
often: boolean;
|
|
69
|
-
maskClose: boolean;
|
|
70
|
-
minChange: boolean;
|
|
71
|
-
closeHave: boolean;
|
|
72
|
-
noMin: boolean;
|
|
73
|
-
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {
|
|
74
|
-
refBox: HTMLDivElement;
|
|
75
|
-
refBody: HTMLDivElement;
|
|
76
|
-
}, any, ComponentProvideOptions, {
|
|
77
|
-
P: {};
|
|
78
|
-
B: {};
|
|
79
|
-
D: {};
|
|
80
|
-
C: {};
|
|
81
|
-
M: {};
|
|
82
|
-
Defaults: {};
|
|
83
|
-
}, Readonly< ExtractPropTypes<{
|
|
84
|
-
drag: {
|
|
85
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
86
|
-
default: string;
|
|
87
|
-
};
|
|
88
|
-
adjust: {
|
|
89
|
-
type: BooleanConstructor;
|
|
90
|
-
default: boolean;
|
|
91
|
-
};
|
|
92
|
-
mask: {
|
|
93
|
-
type: BooleanConstructor;
|
|
94
|
-
default: boolean;
|
|
95
|
-
};
|
|
96
|
-
maskClose: {
|
|
97
|
-
type: BooleanConstructor;
|
|
98
|
-
default: boolean;
|
|
99
|
-
};
|
|
100
|
-
pallet: {
|
|
101
|
-
type: PropType<{
|
|
102
|
-
[key: string]: any;
|
|
103
|
-
add: (s: symbol, a: () => void, r: () => void, t?: string) => void;
|
|
104
|
-
remove: (s: symbol, t?: string) => void;
|
|
105
|
-
}>;
|
|
106
|
-
};
|
|
107
|
-
minChange: {
|
|
108
|
-
type: BooleanConstructor;
|
|
109
|
-
default: boolean;
|
|
110
|
-
};
|
|
111
|
-
closeHave: {
|
|
112
|
-
type: BooleanConstructor;
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
noMin: {
|
|
116
|
-
type: BooleanConstructor;
|
|
117
|
-
default: boolean;
|
|
118
|
-
};
|
|
119
|
-
often: {
|
|
120
|
-
type: BooleanConstructor;
|
|
121
|
-
};
|
|
122
|
-
max: {
|
|
123
|
-
type: BooleanConstructor;
|
|
124
|
-
};
|
|
125
|
-
title: {
|
|
126
|
-
type: StringConstructor;
|
|
127
|
-
};
|
|
128
|
-
modelValue: {
|
|
129
|
-
type: BooleanConstructor;
|
|
130
|
-
};
|
|
131
|
-
to: {
|
|
132
|
-
type: StringConstructor;
|
|
133
|
-
};
|
|
134
|
-
disabled: {
|
|
135
|
-
type: BooleanConstructor;
|
|
136
|
-
};
|
|
137
|
-
boxClass: {
|
|
138
|
-
type: StringConstructor;
|
|
139
|
-
};
|
|
140
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
141
|
-
disabled: boolean;
|
|
142
|
-
mask: boolean;
|
|
143
|
-
modelValue: boolean;
|
|
144
|
-
max: boolean;
|
|
145
|
-
drag: string | boolean;
|
|
146
|
-
adjust: boolean;
|
|
147
|
-
often: boolean;
|
|
148
|
-
maskClose: boolean;
|
|
149
|
-
minChange: boolean;
|
|
150
|
-
closeHave: boolean;
|
|
151
|
-
noMin: boolean;
|
|
152
|
-
}>;
|
|
153
|
-
__isFragment?: never;
|
|
154
|
-
__isTeleport?: never;
|
|
155
|
-
__isSuspense?: never;
|
|
156
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
157
|
-
drag: {
|
|
158
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
159
|
-
default: string;
|
|
160
|
-
};
|
|
161
|
-
adjust: {
|
|
162
|
-
type: BooleanConstructor;
|
|
163
|
-
default: boolean;
|
|
164
|
-
};
|
|
165
|
-
mask: {
|
|
166
|
-
type: BooleanConstructor;
|
|
167
|
-
default: boolean;
|
|
168
|
-
};
|
|
169
|
-
maskClose: {
|
|
170
|
-
type: BooleanConstructor;
|
|
171
|
-
default: boolean;
|
|
172
|
-
};
|
|
173
|
-
pallet: {
|
|
174
|
-
type: PropType<{
|
|
175
|
-
[key: string]: any;
|
|
176
|
-
add: (s: symbol, a: () => void, r: () => void, t?: string) => void;
|
|
177
|
-
remove: (s: symbol, t?: string) => void;
|
|
178
|
-
}>;
|
|
179
|
-
};
|
|
180
|
-
minChange: {
|
|
181
|
-
type: BooleanConstructor;
|
|
182
|
-
default: boolean;
|
|
183
|
-
};
|
|
184
|
-
closeHave: {
|
|
185
|
-
type: BooleanConstructor;
|
|
186
|
-
default: boolean;
|
|
187
|
-
};
|
|
188
|
-
noMin: {
|
|
189
|
-
type: BooleanConstructor;
|
|
190
|
-
default: boolean;
|
|
191
|
-
};
|
|
192
|
-
often: {
|
|
193
|
-
type: BooleanConstructor;
|
|
194
|
-
};
|
|
195
|
-
max: {
|
|
196
|
-
type: BooleanConstructor;
|
|
197
|
-
};
|
|
198
|
-
title: {
|
|
199
|
-
type: StringConstructor;
|
|
200
|
-
};
|
|
201
|
-
modelValue: {
|
|
202
|
-
type: BooleanConstructor;
|
|
203
|
-
};
|
|
204
|
-
to: {
|
|
205
|
-
type: StringConstructor;
|
|
206
|
-
};
|
|
207
|
-
disabled: {
|
|
208
|
-
type: BooleanConstructor;
|
|
209
|
-
};
|
|
210
|
-
boxClass: {
|
|
211
|
-
type: StringConstructor;
|
|
212
|
-
};
|
|
213
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
214
|
-
disabled: boolean;
|
|
215
|
-
mask: boolean;
|
|
216
|
-
modelValue: boolean;
|
|
217
|
-
max: boolean;
|
|
218
|
-
drag: string | boolean;
|
|
219
|
-
adjust: boolean;
|
|
220
|
-
often: boolean;
|
|
221
|
-
maskClose: boolean;
|
|
222
|
-
minChange: boolean;
|
|
223
|
-
closeHave: boolean;
|
|
224
|
-
noMin: boolean;
|
|
225
|
-
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
226
|
-
$slots: Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>;
|
|
227
|
-
})>;
|
|
1
|
+
declare const Window: any;
|
|
228
2
|
export { Window, Window as default };
|
package/dist/css/icon.css
CHANGED
|
@@ -24,4 +24,14 @@
|
|
|
24
24
|
fill: currentColor;
|
|
25
25
|
color: var(--color);
|
|
26
26
|
font-size: inherit;
|
|
27
|
+
}
|
|
28
|
+
.icon-cont {
|
|
29
|
+
border: 0;
|
|
30
|
+
display: inline-flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
object-fit: contain;
|
|
33
|
+
justify-content: center;
|
|
34
|
+
font-size: inherit !important;
|
|
35
|
+
width: inherit !important;
|
|
36
|
+
height: inherit !important;
|
|
27
37
|
}
|
package/dist/css/index.css
CHANGED
|
@@ -378,6 +378,16 @@
|
|
|
378
378
|
color: var(--color);
|
|
379
379
|
font-size: inherit;
|
|
380
380
|
}
|
|
381
|
+
.icon-cont {
|
|
382
|
+
border: 0;
|
|
383
|
+
display: inline-flex;
|
|
384
|
+
align-items: center;
|
|
385
|
+
object-fit: contain;
|
|
386
|
+
justify-content: center;
|
|
387
|
+
font-size: inherit !important;
|
|
388
|
+
width: inherit !important;
|
|
389
|
+
height: inherit !important;
|
|
390
|
+
}
|
|
381
391
|
|
|
382
392
|
.lists-div .lists-table {
|
|
383
393
|
width: 100%;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const lineToLargeHump = require("@fangzhongya/utils/name/lineToLargeHump");
|
|
5
|
+
const config = require("./config.cjs");
|
|
6
|
+
function createSVG(obj) {
|
|
7
|
+
const viewBox = [
|
|
8
|
+
obj.left || 0,
|
|
9
|
+
obj.top || 0,
|
|
10
|
+
obj.width || 24,
|
|
11
|
+
obj.height || 24
|
|
12
|
+
].join(" ");
|
|
13
|
+
const name = "icon-" + obj.name;
|
|
14
|
+
return vue.defineComponent({
|
|
15
|
+
name: lineToLargeHump.lineToLargeHump(name),
|
|
16
|
+
props: {},
|
|
17
|
+
render() {
|
|
18
|
+
return vue.h(
|
|
19
|
+
"svg",
|
|
20
|
+
{
|
|
21
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
22
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
23
|
+
"aria-hidden": true,
|
|
24
|
+
id: name,
|
|
25
|
+
ctype: "hcom",
|
|
26
|
+
role: "img",
|
|
27
|
+
class: "iconify iconify-" + obj.prefix,
|
|
28
|
+
width: "1em",
|
|
29
|
+
height: "1em",
|
|
30
|
+
viewBox
|
|
31
|
+
},
|
|
32
|
+
obj.body
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
const iconify = (app, ify, { prefix = config.defaultPrefix } = {}) => {
|
|
38
|
+
const obj = {
|
|
39
|
+
prefix: ify.prefix,
|
|
40
|
+
width: ify.width,
|
|
41
|
+
height: ify.height
|
|
42
|
+
};
|
|
43
|
+
const icons = ify.icons;
|
|
44
|
+
Object.keys(icons).forEach((key) => {
|
|
45
|
+
app.component(
|
|
46
|
+
prefix + lineToLargeHump.lineToLargeHump(key),
|
|
47
|
+
createSVG({
|
|
48
|
+
...obj,
|
|
49
|
+
name: key,
|
|
50
|
+
...icons[key]
|
|
51
|
+
})
|
|
52
|
+
);
|
|
53
|
+
});
|
|
54
|
+
const aliases = ify.aliases;
|
|
55
|
+
Object.keys(aliases).forEach((key) => {
|
|
56
|
+
const a = aliases[key];
|
|
57
|
+
app.component(
|
|
58
|
+
prefix + lineToLargeHump.lineToLargeHump(key),
|
|
59
|
+
createSVG({
|
|
60
|
+
...obj,
|
|
61
|
+
name: key,
|
|
62
|
+
...icons[a.parent]
|
|
63
|
+
})
|
|
64
|
+
);
|
|
65
|
+
});
|
|
66
|
+
};
|
|
67
|
+
exports.iconify = iconify;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { defineComponent, h } from "vue";
|
|
2
|
+
import { lineToLargeHump } from "@fangzhongya/utils/name/lineToLargeHump";
|
|
3
|
+
import { defaultPrefix } from "./config.js";
|
|
4
|
+
function createSVG(obj) {
|
|
5
|
+
const viewBox = [
|
|
6
|
+
obj.left || 0,
|
|
7
|
+
obj.top || 0,
|
|
8
|
+
obj.width || 24,
|
|
9
|
+
obj.height || 24
|
|
10
|
+
].join(" ");
|
|
11
|
+
const name = "icon-" + obj.name;
|
|
12
|
+
return defineComponent({
|
|
13
|
+
name: lineToLargeHump(name),
|
|
14
|
+
props: {},
|
|
15
|
+
render() {
|
|
16
|
+
return h(
|
|
17
|
+
"svg",
|
|
18
|
+
{
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
21
|
+
"aria-hidden": true,
|
|
22
|
+
id: name,
|
|
23
|
+
ctype: "hcom",
|
|
24
|
+
role: "img",
|
|
25
|
+
class: "iconify iconify-" + obj.prefix,
|
|
26
|
+
width: "1em",
|
|
27
|
+
height: "1em",
|
|
28
|
+
viewBox
|
|
29
|
+
},
|
|
30
|
+
obj.body
|
|
31
|
+
);
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
const iconify = (app, ify, { prefix = defaultPrefix } = {}) => {
|
|
36
|
+
const obj = {
|
|
37
|
+
prefix: ify.prefix,
|
|
38
|
+
width: ify.width,
|
|
39
|
+
height: ify.height
|
|
40
|
+
};
|
|
41
|
+
const icons = ify.icons;
|
|
42
|
+
Object.keys(icons).forEach((key) => {
|
|
43
|
+
app.component(
|
|
44
|
+
prefix + lineToLargeHump(key),
|
|
45
|
+
createSVG({
|
|
46
|
+
...obj,
|
|
47
|
+
name: key,
|
|
48
|
+
...icons[key]
|
|
49
|
+
})
|
|
50
|
+
);
|
|
51
|
+
});
|
|
52
|
+
const aliases = ify.aliases;
|
|
53
|
+
Object.keys(aliases).forEach((key) => {
|
|
54
|
+
const a = aliases[key];
|
|
55
|
+
app.component(
|
|
56
|
+
prefix + lineToLargeHump(key),
|
|
57
|
+
createSVG({
|
|
58
|
+
...obj,
|
|
59
|
+
name: key,
|
|
60
|
+
...icons[a.parent]
|
|
61
|
+
})
|
|
62
|
+
);
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
export {
|
|
66
|
+
iconify
|
|
67
|
+
};
|
package/dist/icons/index.cjs
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const index = require("./vue/index.cjs");
|
|
4
|
-
const
|
|
5
|
-
const
|
|
4
|
+
const config = require("./config.cjs");
|
|
5
|
+
const iconify = require("./iconify.cjs");
|
|
6
|
+
const icons = (app, { prefix = config.defaultPrefix } = {}) => {
|
|
6
7
|
for (const [key, component] of Object.entries(index)) {
|
|
7
8
|
app.component(prefix + key, component);
|
|
8
9
|
}
|
|
9
10
|
};
|
|
10
11
|
exports.icons = index;
|
|
12
|
+
exports.iconify = iconify.iconify;
|
|
11
13
|
exports.default = icons;
|
package/dist/icons/index.css
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--icon-svg-bar: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'
|
|
3
|
-
--icon-svg-
|
|
4
|
-
--icon-svg-
|
|
5
|
-
--icon-svg-bottom
|
|
6
|
-
--icon-svg-
|
|
7
|
-
--icon-svg-bottom: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='
|
|
8
|
-
--icon-svg-
|
|
9
|
-
--icon-svg-
|
|
10
|
-
--icon-svg-edit: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill='currentColor' d='M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z' %3E%3C/path%3E %3Cpath fill='currentColor' d='m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z' %3E%3C/path%3E %3C/svg%3E");
|
|
11
|
-
--icon-svg-frame: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64v-.064z' %3E%3C/path%3E %3C/svg%3E");
|
|
12
|
-
--icon-svg-
|
|
13
|
-
--icon-svg-
|
|
14
|
-
--icon-svg-right: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' %3E %3Cpath fill='currentColor' d='M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z' %3E%3C/path%3E %3C/svg%3E");
|
|
2
|
+
--icon-svg-bar: url("data:image/svg+xml;utf8,%3Csvg id='icon-bar' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' %3E %3Cpath fill='currentColor' d='M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z' %3E%3C/path%3E %3C/svg%3E");
|
|
3
|
+
--icon-svg-below: url("data:image/svg+xml;utf8,%3Csvg id='icon-below' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z' %3E%3C/path%3E %3C/svg%3E");
|
|
4
|
+
--icon-svg-bicycle: url("data:image/svg+xml;utf8,%3Csvg id='icon-bicycle' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z'/%3E%3Cpath fill='currentColor' d='M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32z'/%3E%3Cpath fill='currentColor' d='M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256zm0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384z'/%3E%3Cpath fill='currentColor' d='M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192H480zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384H96z'/%3E%3Cpath fill='currentColor' d='m373.376 599.808-42.752-47.616 320-288 42.752 47.616z'/%3E%3C/svg%3E");
|
|
5
|
+
--icon-svg-bottom: url("data:image/svg+xml;utf8,%3Csvg id='icon-bottom' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z'/%3E%3C/svg%3E");
|
|
6
|
+
--icon-svg-clear: url("data:image/svg+xml;utf8,%3Csvg id='icon-clear' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248L466.752 512z' %3E%3C/path%3E %3Cpath fill='currentColor' d='M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768zm0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896z' %3E%3C/path%3E %3C/svg%3E");
|
|
7
|
+
--icon-svg-bottom-right: url("data:image/svg+xml;utf8,%3Csvg id='icon-bottom-right' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416H352z'/%3E%3Cpath fill='currentColor' d='M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312l544 544z'/%3E%3C/svg%3E");
|
|
8
|
+
--icon-svg-bottom-left: url("data:image/svg+xml;utf8,%3Csvg id='icon-bottom-left' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0v416z'/%3E%3Cpath fill='currentColor' d='M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312l-544 544z'/%3E%3C/svg%3E");
|
|
9
|
+
--icon-svg-close: url("data:image/svg+xml;utf8,%3Csvg id='icon-close' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill='currentColor' d='M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z' %3E%3C/path%3E %3C/svg%3E");
|
|
10
|
+
--icon-svg-edit: url("data:image/svg+xml;utf8,%3Csvg id='icon-edit' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath fill='currentColor' d='M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640V512z' %3E%3C/path%3E %3Cpath fill='currentColor' d='m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z' %3E%3C/path%3E %3C/svg%3E");
|
|
11
|
+
--icon-svg-frame: url("data:image/svg+xml;utf8,%3Csvg id='icon-frame' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64l-192 .192zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64l192-.192zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64v-.064z' %3E%3C/path%3E %3C/svg%3E");
|
|
12
|
+
--icon-svg-left: url("data:image/svg+xml;utf8,%3Csvg id='icon-left' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.592 30.592 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0z' %3E%3C/path%3E %3C/svg%3E");
|
|
13
|
+
--icon-svg-star: url("data:image/svg+xml;utf8,%3Csvg id='icon-star' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' data-v-ea893728='' %3E %3Cpath fill='currentColor' d='m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72L512 747.84zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z' %3E%3C/path%3E %3C/svg%3E");
|
|
14
|
+
--icon-svg-right: url("data:image/svg+xml;utf8,%3Csvg id='icon-right' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg' %3E %3Cpath fill='currentColor' d='M340.864 149.312a30.592 30.592 0 0 0 0 42.752L652.736 512 340.864 831.872a30.592 30.592 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z' %3E%3C/path%3E %3C/svg%3E");
|
|
15
15
|
}
|
|
16
16
|
.icon-bar {
|
|
17
17
|
height: 1em;
|
|
@@ -23,72 +23,72 @@
|
|
|
23
23
|
mask-size: 100% 100%;
|
|
24
24
|
color: inherit;
|
|
25
25
|
}
|
|
26
|
-
.icon-
|
|
26
|
+
.icon-below {
|
|
27
27
|
height: 1em;
|
|
28
28
|
width: 1em;
|
|
29
29
|
background-color: currentColor;
|
|
30
|
-
-webkit-mask: var(--icon-svg-
|
|
31
|
-
mask: var(--icon-svg-
|
|
30
|
+
-webkit-mask: var(--icon-svg-below) no-repeat;
|
|
31
|
+
mask: var(--icon-svg-below) no-repeat;
|
|
32
32
|
-webkit-mask-size: 100% 100%;
|
|
33
33
|
mask-size: 100% 100%;
|
|
34
34
|
color: inherit;
|
|
35
35
|
}
|
|
36
|
-
.icon-
|
|
36
|
+
.icon-bicycle {
|
|
37
37
|
height: 1em;
|
|
38
38
|
width: 1em;
|
|
39
39
|
background-color: currentColor;
|
|
40
|
-
-webkit-mask: var(--icon-svg-
|
|
41
|
-
mask: var(--icon-svg-
|
|
40
|
+
-webkit-mask: var(--icon-svg-bicycle) no-repeat;
|
|
41
|
+
mask: var(--icon-svg-bicycle) no-repeat;
|
|
42
42
|
-webkit-mask-size: 100% 100%;
|
|
43
43
|
mask-size: 100% 100%;
|
|
44
44
|
color: inherit;
|
|
45
45
|
}
|
|
46
|
-
.icon-bottom
|
|
46
|
+
.icon-bottom {
|
|
47
47
|
height: 1em;
|
|
48
48
|
width: 1em;
|
|
49
49
|
background-color: currentColor;
|
|
50
|
-
-webkit-mask: var(--icon-svg-bottom
|
|
51
|
-
mask: var(--icon-svg-bottom
|
|
50
|
+
-webkit-mask: var(--icon-svg-bottom) no-repeat;
|
|
51
|
+
mask: var(--icon-svg-bottom) no-repeat;
|
|
52
52
|
-webkit-mask-size: 100% 100%;
|
|
53
53
|
mask-size: 100% 100%;
|
|
54
54
|
color: inherit;
|
|
55
55
|
}
|
|
56
|
-
.icon-
|
|
56
|
+
.icon-clear {
|
|
57
57
|
height: 1em;
|
|
58
58
|
width: 1em;
|
|
59
59
|
background-color: currentColor;
|
|
60
|
-
-webkit-mask: var(--icon-svg-
|
|
61
|
-
mask: var(--icon-svg-
|
|
60
|
+
-webkit-mask: var(--icon-svg-clear) no-repeat;
|
|
61
|
+
mask: var(--icon-svg-clear) no-repeat;
|
|
62
62
|
-webkit-mask-size: 100% 100%;
|
|
63
63
|
mask-size: 100% 100%;
|
|
64
64
|
color: inherit;
|
|
65
65
|
}
|
|
66
|
-
.icon-bottom {
|
|
66
|
+
.icon-bottom-right {
|
|
67
67
|
height: 1em;
|
|
68
68
|
width: 1em;
|
|
69
69
|
background-color: currentColor;
|
|
70
|
-
-webkit-mask: var(--icon-svg-bottom) no-repeat;
|
|
71
|
-
mask: var(--icon-svg-bottom) no-repeat;
|
|
70
|
+
-webkit-mask: var(--icon-svg-bottom-right) no-repeat;
|
|
71
|
+
mask: var(--icon-svg-bottom-right) no-repeat;
|
|
72
72
|
-webkit-mask-size: 100% 100%;
|
|
73
73
|
mask-size: 100% 100%;
|
|
74
74
|
color: inherit;
|
|
75
75
|
}
|
|
76
|
-
.icon-
|
|
76
|
+
.icon-bottom-left {
|
|
77
77
|
height: 1em;
|
|
78
78
|
width: 1em;
|
|
79
79
|
background-color: currentColor;
|
|
80
|
-
-webkit-mask: var(--icon-svg-
|
|
81
|
-
mask: var(--icon-svg-
|
|
80
|
+
-webkit-mask: var(--icon-svg-bottom-left) no-repeat;
|
|
81
|
+
mask: var(--icon-svg-bottom-left) no-repeat;
|
|
82
82
|
-webkit-mask-size: 100% 100%;
|
|
83
83
|
mask-size: 100% 100%;
|
|
84
84
|
color: inherit;
|
|
85
85
|
}
|
|
86
|
-
.icon-
|
|
86
|
+
.icon-close {
|
|
87
87
|
height: 1em;
|
|
88
88
|
width: 1em;
|
|
89
89
|
background-color: currentColor;
|
|
90
|
-
-webkit-mask: var(--icon-svg-
|
|
91
|
-
mask: var(--icon-svg-
|
|
90
|
+
-webkit-mask: var(--icon-svg-close) no-repeat;
|
|
91
|
+
mask: var(--icon-svg-close) no-repeat;
|
|
92
92
|
-webkit-mask-size: 100% 100%;
|
|
93
93
|
mask-size: 100% 100%;
|
|
94
94
|
color: inherit;
|
|
@@ -113,22 +113,22 @@
|
|
|
113
113
|
mask-size: 100% 100%;
|
|
114
114
|
color: inherit;
|
|
115
115
|
}
|
|
116
|
-
.icon-
|
|
116
|
+
.icon-left {
|
|
117
117
|
height: 1em;
|
|
118
118
|
width: 1em;
|
|
119
119
|
background-color: currentColor;
|
|
120
|
-
-webkit-mask: var(--icon-svg-
|
|
121
|
-
mask: var(--icon-svg-
|
|
120
|
+
-webkit-mask: var(--icon-svg-left) no-repeat;
|
|
121
|
+
mask: var(--icon-svg-left) no-repeat;
|
|
122
122
|
-webkit-mask-size: 100% 100%;
|
|
123
123
|
mask-size: 100% 100%;
|
|
124
124
|
color: inherit;
|
|
125
125
|
}
|
|
126
|
-
.icon-
|
|
126
|
+
.icon-star {
|
|
127
127
|
height: 1em;
|
|
128
128
|
width: 1em;
|
|
129
129
|
background-color: currentColor;
|
|
130
|
-
-webkit-mask: var(--icon-svg-
|
|
131
|
-
mask: var(--icon-svg-
|
|
130
|
+
-webkit-mask: var(--icon-svg-star) no-repeat;
|
|
131
|
+
mask: var(--icon-svg-star) no-repeat;
|
|
132
132
|
-webkit-mask-size: 100% 100%;
|
|
133
133
|
mask-size: 100% 100%;
|
|
134
134
|
color: inherit;
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
+
import { InstallOptions } from './config';
|
|
3
|
+
import { iconify } from './iconify';
|
|
2
4
|
import * as icons from './vue/index';
|
|
3
|
-
export interface InstallOptions {
|
|
4
|
-
prefix?: string;
|
|
5
|
-
}
|
|
6
5
|
declare const _default: (app: App, { prefix }?: InstallOptions) => void;
|
|
7
6
|
export default _default;
|
|
8
|
-
export { icons };
|
|
7
|
+
export { icons, iconify };
|
|
9
8
|
export * from './vue/index';
|
package/dist/icons/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as index from "./vue/index.js";
|
|
2
|
-
|
|
2
|
+
import { defaultPrefix } from "./config.js";
|
|
3
|
+
import { iconify } from "./iconify.js";
|
|
3
4
|
const icons = (app, { prefix = defaultPrefix } = {}) => {
|
|
4
5
|
for (const [key, component] of Object.entries(index)) {
|
|
5
6
|
app.component(prefix + key, component);
|
|
@@ -7,5 +8,6 @@ const icons = (app, { prefix = defaultPrefix } = {}) => {
|
|
|
7
8
|
};
|
|
8
9
|
export {
|
|
9
10
|
icons as default,
|
|
11
|
+
iconify,
|
|
10
12
|
index as icons
|
|
11
13
|
};
|