ll-plus 2.1.3 → 2.1.4
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/es/component.mjs +2 -0
- package/es/component.mjs.map +1 -1
- package/es/components/icon-picker/index.d.ts +146 -0
- package/es/components/icon-picker/index.mjs +13 -0
- package/es/components/icon-picker/index.mjs.map +1 -0
- package/es/components/icon-picker/src/components/modal.vue.d.ts +70 -0
- package/es/components/icon-picker/src/components/modal.vue.mjs +8 -0
- package/es/components/icon-picker/src/components/modal.vue.mjs.map +1 -0
- package/es/components/icon-picker/src/components/modal.vue2.mjs +158 -0
- package/es/components/icon-picker/src/components/modal.vue2.mjs.map +1 -0
- package/es/components/icon-picker/src/components/search.vue.d.ts +30 -0
- package/es/components/icon-picker/src/components/search.vue.mjs +8 -0
- package/es/components/icon-picker/src/components/search.vue.mjs.map +1 -0
- package/es/components/icon-picker/src/components/search.vue2.mjs +58 -0
- package/es/components/icon-picker/src/components/search.vue2.mjs.map +1 -0
- package/es/components/icon-picker/src/config/icon-picker.d.ts +20 -0
- package/es/components/icon-picker/src/config/icon-picker.mjs +23 -0
- package/es/components/icon-picker/src/config/icon-picker.mjs.map +1 -0
- package/es/components/icon-picker/src/config/index.d.ts +3 -0
- package/es/components/icon-picker/src/config/index.mjs +6 -0
- package/es/components/icon-picker/src/config/index.mjs.map +1 -0
- package/es/components/icon-picker/src/config/modal.d.ts +24 -0
- package/es/components/icon-picker/src/config/modal.mjs +30 -0
- package/es/components/icon-picker/src/config/modal.mjs.map +1 -0
- package/es/components/icon-picker/src/config/search.d.ts +15 -0
- package/es/components/icon-picker/src/config/search.mjs +19 -0
- package/es/components/icon-picker/src/config/search.mjs.map +1 -0
- package/es/components/icon-picker/src/icon-picker.vue.d.ts +139 -0
- package/es/components/icon-picker/src/icon-picker.vue.mjs +8 -0
- package/es/components/icon-picker/src/icon-picker.vue.mjs.map +1 -0
- package/es/components/icon-picker/src/icon-picker.vue2.mjs +59 -0
- package/es/components/icon-picker/src/icon-picker.vue2.mjs.map +1 -0
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +4 -0
- package/es/components/index.mjs.map +1 -1
- package/es/index.mjs +4 -0
- package/es/index.mjs.map +1 -1
- package/index.full.js +358 -40
- package/index.full.min.js +17 -17
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +20 -20
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +353 -41
- package/lib/component.js +50 -48
- package/lib/component.js.map +1 -1
- package/lib/components/icon-picker/index.d.ts +146 -0
- package/lib/components/icon-picker/index.js +23 -0
- package/lib/components/icon-picker/index.js.map +1 -0
- package/lib/components/icon-picker/src/components/modal.vue.d.ts +70 -0
- package/lib/components/icon-picker/src/components/modal.vue.js +12 -0
- package/lib/components/icon-picker/src/components/modal.vue.js.map +1 -0
- package/lib/components/icon-picker/src/components/modal.vue2.js +162 -0
- package/lib/components/icon-picker/src/components/modal.vue2.js.map +1 -0
- package/lib/components/icon-picker/src/components/search.vue.d.ts +30 -0
- package/lib/components/icon-picker/src/components/search.vue.js +12 -0
- package/lib/components/icon-picker/src/components/search.vue.js.map +1 -0
- package/lib/components/icon-picker/src/components/search.vue2.js +62 -0
- package/lib/components/icon-picker/src/components/search.vue2.js.map +1 -0
- package/lib/components/icon-picker/src/config/icon-picker.d.ts +20 -0
- package/lib/components/icon-picker/src/config/icon-picker.js +25 -0
- package/lib/components/icon-picker/src/config/icon-picker.js.map +1 -0
- package/lib/components/icon-picker/src/config/index.d.ts +3 -0
- package/lib/components/icon-picker/src/config/index.js +14 -0
- package/lib/components/icon-picker/src/config/index.js.map +1 -0
- package/lib/components/icon-picker/src/config/modal.d.ts +24 -0
- package/lib/components/icon-picker/src/config/modal.js +33 -0
- package/lib/components/icon-picker/src/config/modal.js.map +1 -0
- package/lib/components/icon-picker/src/config/search.d.ts +15 -0
- package/lib/components/icon-picker/src/config/search.js +22 -0
- package/lib/components/icon-picker/src/config/search.js.map +1 -0
- package/lib/components/icon-picker/src/icon-picker.vue.d.ts +139 -0
- package/lib/components/icon-picker/src/icon-picker.vue.js +12 -0
- package/lib/components/icon-picker/src/icon-picker.vue.js.map +1 -0
- package/lib/components/icon-picker/src/icon-picker.vue2.js +63 -0
- package/lib/components/icon-picker/src/icon-picker.vue2.js.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +60 -50
- package/lib/components/index.js.map +1 -1
- package/lib/index.js +60 -50
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/css/icon-picker.css +1 -0
- package/theme-chalk/css/index.css +1 -1
- package/types/packages/components/icon-picker/index.d.ts +146 -0
- package/types/packages/components/icon-picker/src/components/modal.vue.d.ts +70 -0
- package/types/packages/components/icon-picker/src/components/search.vue.d.ts +30 -0
- package/types/packages/components/icon-picker/src/config/icon-picker.d.ts +20 -0
- package/types/packages/components/icon-picker/src/config/index.d.ts +3 -0
- package/types/packages/components/icon-picker/src/config/modal.d.ts +24 -0
- package/types/packages/components/icon-picker/src/config/search.d.ts +15 -0
- package/types/packages/components/icon-picker/src/icon-picker.vue.d.ts +139 -0
- package/types/packages/components/index.d.ts +1 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
readonly value: {
|
|
3
|
+
readonly type: import("vue").PropType<string>;
|
|
4
|
+
readonly required: false;
|
|
5
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6
|
+
__epPropKey: true;
|
|
7
|
+
};
|
|
8
|
+
readonly iconList: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./config/icon-picker").IconPickerItem[]) | (() => import("./config/icon-picker").IconPickerItem[]) | ((new (...args: any[]) => import("./config/icon-picker").IconPickerItem[]) | (() => import("./config/icon-picker").IconPickerItem[]))[], unknown, unknown, () => never[], boolean>;
|
|
9
|
+
}, {
|
|
10
|
+
props: import("@vue/shared").LooseRequired<{
|
|
11
|
+
readonly iconList: import("./config/icon-picker").IconPickerItem[];
|
|
12
|
+
readonly value?: string | undefined;
|
|
13
|
+
} & {}>;
|
|
14
|
+
attrs: {
|
|
15
|
+
[x: string]: unknown;
|
|
16
|
+
};
|
|
17
|
+
iconValue: import("vue").Ref<string>;
|
|
18
|
+
visible: import("vue").Ref<boolean>;
|
|
19
|
+
bem: {
|
|
20
|
+
b: (blockSuffix?: string) => string;
|
|
21
|
+
e: (element?: string) => string;
|
|
22
|
+
m: (modifier?: string) => string;
|
|
23
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
24
|
+
em: (element: string, modifier: string) => string;
|
|
25
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
26
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
27
|
+
is: (name?: string) => string;
|
|
28
|
+
};
|
|
29
|
+
handleModalVisible: (bool: boolean) => boolean;
|
|
30
|
+
handleChangeValue: (value: string) => string;
|
|
31
|
+
search: import("vue").DefineComponent<{
|
|
32
|
+
readonly value: {
|
|
33
|
+
readonly type: import("vue").PropType<string>;
|
|
34
|
+
readonly required: false;
|
|
35
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
|
+
__epPropKey: true;
|
|
37
|
+
};
|
|
38
|
+
}, {
|
|
39
|
+
props: import("@vue/shared").LooseRequired<{
|
|
40
|
+
readonly value?: string | undefined;
|
|
41
|
+
readonly onHandleModalVisible?: ((bool: boolean) => any) | undefined;
|
|
42
|
+
} & {}>;
|
|
43
|
+
emits: (event: "handleModalVisible", bool: boolean) => void;
|
|
44
|
+
attrs: {
|
|
45
|
+
[x: string]: unknown;
|
|
46
|
+
};
|
|
47
|
+
handleCloseModalVisible: () => void;
|
|
48
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
|
+
handleModalVisible: (bool: boolean) => boolean;
|
|
50
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
readonly value: {
|
|
52
|
+
readonly type: import("vue").PropType<string>;
|
|
53
|
+
readonly required: false;
|
|
54
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
+
__epPropKey: true;
|
|
56
|
+
};
|
|
57
|
+
}>> & {
|
|
58
|
+
onHandleModalVisible?: ((bool: boolean) => any) | undefined;
|
|
59
|
+
}, {}, {}>;
|
|
60
|
+
modal: import("vue").DefineComponent<{
|
|
61
|
+
readonly value: {
|
|
62
|
+
readonly type: import("vue").PropType<string>;
|
|
63
|
+
readonly required: false;
|
|
64
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
65
|
+
__epPropKey: true;
|
|
66
|
+
};
|
|
67
|
+
readonly visible: {
|
|
68
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
69
|
+
readonly required: false;
|
|
70
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
71
|
+
__epPropKey: true;
|
|
72
|
+
};
|
|
73
|
+
readonly data: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./config/icon-picker").IconPickerItem[]) | (() => import("./config/icon-picker").IconPickerItem[]) | ((new (...args: any[]) => import("./config/icon-picker").IconPickerItem[]) | (() => import("./config/icon-picker").IconPickerItem[]))[], unknown, unknown, () => never[], boolean>;
|
|
74
|
+
}, {
|
|
75
|
+
props: import("@vue/shared").LooseRequired<{
|
|
76
|
+
readonly data: import("./config/icon-picker").IconPickerItem[];
|
|
77
|
+
readonly value?: string | undefined;
|
|
78
|
+
readonly visible?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
79
|
+
readonly "onUpdate:visible"?: (() => any) | undefined;
|
|
80
|
+
readonly onChangeIconValue?: ((value: string) => any) | undefined;
|
|
81
|
+
} & {}>;
|
|
82
|
+
emits: ((event: "update:visible") => void) & ((event: "changeIconValue", value: string) => void);
|
|
83
|
+
searchIconValue: import("vue").Ref<string>;
|
|
84
|
+
selectIcon: import("vue").Ref<string>;
|
|
85
|
+
iconList: import("vue").Ref<{
|
|
86
|
+
icon_id?: string | undefined;
|
|
87
|
+
name?: string | undefined;
|
|
88
|
+
font_class?: string | undefined;
|
|
89
|
+
unicode?: string | undefined;
|
|
90
|
+
unicode_decimal?: string | undefined;
|
|
91
|
+
}[]>;
|
|
92
|
+
bem: {
|
|
93
|
+
b: (blockSuffix?: string) => string;
|
|
94
|
+
e: (element?: string) => string;
|
|
95
|
+
m: (modifier?: string) => string;
|
|
96
|
+
be: (blockSuffix?: string, element?: string) => string;
|
|
97
|
+
em: (element: string, modifier: string) => string;
|
|
98
|
+
bm: (blockSuffix: string, modifier: string) => string;
|
|
99
|
+
bem: (blockSuffix: string, element: string, modifier: string) => string;
|
|
100
|
+
is: (name?: string) => string;
|
|
101
|
+
};
|
|
102
|
+
handleOk: () => void;
|
|
103
|
+
handleCancel: () => void;
|
|
104
|
+
handleSelectIcon: (icon: import("./config/icon-picker").IconPickerItem) => string;
|
|
105
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
106
|
+
'update:visible': () => boolean;
|
|
107
|
+
changeIconValue: (value: string) => string;
|
|
108
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
+
readonly value: {
|
|
110
|
+
readonly type: import("vue").PropType<string>;
|
|
111
|
+
readonly required: false;
|
|
112
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
113
|
+
__epPropKey: true;
|
|
114
|
+
};
|
|
115
|
+
readonly visible: {
|
|
116
|
+
readonly type: import("vue").PropType<import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
117
|
+
readonly required: false;
|
|
118
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
119
|
+
__epPropKey: true;
|
|
120
|
+
};
|
|
121
|
+
readonly data: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./config/icon-picker").IconPickerItem[]) | (() => import("./config/icon-picker").IconPickerItem[]) | ((new (...args: any[]) => import("./config/icon-picker").IconPickerItem[]) | (() => import("./config/icon-picker").IconPickerItem[]))[], unknown, unknown, () => never[], boolean>;
|
|
122
|
+
}>> & {
|
|
123
|
+
"onUpdate:visible"?: (() => any) | undefined;
|
|
124
|
+
onChangeIconValue?: ((value: string) => any) | undefined;
|
|
125
|
+
}, {
|
|
126
|
+
readonly data: import("./config/icon-picker").IconPickerItem[];
|
|
127
|
+
}, {}>;
|
|
128
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
+
readonly value: {
|
|
130
|
+
readonly type: import("vue").PropType<string>;
|
|
131
|
+
readonly required: false;
|
|
132
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
133
|
+
__epPropKey: true;
|
|
134
|
+
};
|
|
135
|
+
readonly iconList: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./config/icon-picker").IconPickerItem[]) | (() => import("./config/icon-picker").IconPickerItem[]) | ((new (...args: any[]) => import("./config/icon-picker").IconPickerItem[]) | (() => import("./config/icon-picker").IconPickerItem[]))[], unknown, unknown, () => never[], boolean>;
|
|
136
|
+
}>>, {
|
|
137
|
+
readonly iconList: import("./config/icon-picker").IconPickerItem[];
|
|
138
|
+
}, {}>;
|
|
139
|
+
export default _default;
|