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.
Files changed (92) hide show
  1. package/es/component.mjs +2 -0
  2. package/es/component.mjs.map +1 -1
  3. package/es/components/icon-picker/index.d.ts +146 -0
  4. package/es/components/icon-picker/index.mjs +13 -0
  5. package/es/components/icon-picker/index.mjs.map +1 -0
  6. package/es/components/icon-picker/src/components/modal.vue.d.ts +70 -0
  7. package/es/components/icon-picker/src/components/modal.vue.mjs +8 -0
  8. package/es/components/icon-picker/src/components/modal.vue.mjs.map +1 -0
  9. package/es/components/icon-picker/src/components/modal.vue2.mjs +158 -0
  10. package/es/components/icon-picker/src/components/modal.vue2.mjs.map +1 -0
  11. package/es/components/icon-picker/src/components/search.vue.d.ts +30 -0
  12. package/es/components/icon-picker/src/components/search.vue.mjs +8 -0
  13. package/es/components/icon-picker/src/components/search.vue.mjs.map +1 -0
  14. package/es/components/icon-picker/src/components/search.vue2.mjs +58 -0
  15. package/es/components/icon-picker/src/components/search.vue2.mjs.map +1 -0
  16. package/es/components/icon-picker/src/config/icon-picker.d.ts +20 -0
  17. package/es/components/icon-picker/src/config/icon-picker.mjs +23 -0
  18. package/es/components/icon-picker/src/config/icon-picker.mjs.map +1 -0
  19. package/es/components/icon-picker/src/config/index.d.ts +3 -0
  20. package/es/components/icon-picker/src/config/index.mjs +6 -0
  21. package/es/components/icon-picker/src/config/index.mjs.map +1 -0
  22. package/es/components/icon-picker/src/config/modal.d.ts +24 -0
  23. package/es/components/icon-picker/src/config/modal.mjs +30 -0
  24. package/es/components/icon-picker/src/config/modal.mjs.map +1 -0
  25. package/es/components/icon-picker/src/config/search.d.ts +15 -0
  26. package/es/components/icon-picker/src/config/search.mjs +19 -0
  27. package/es/components/icon-picker/src/config/search.mjs.map +1 -0
  28. package/es/components/icon-picker/src/icon-picker.vue.d.ts +139 -0
  29. package/es/components/icon-picker/src/icon-picker.vue.mjs +8 -0
  30. package/es/components/icon-picker/src/icon-picker.vue.mjs.map +1 -0
  31. package/es/components/icon-picker/src/icon-picker.vue2.mjs +59 -0
  32. package/es/components/icon-picker/src/icon-picker.vue2.mjs.map +1 -0
  33. package/es/components/index.d.ts +1 -0
  34. package/es/components/index.mjs +4 -0
  35. package/es/components/index.mjs.map +1 -1
  36. package/es/index.mjs +4 -0
  37. package/es/index.mjs.map +1 -1
  38. package/index.full.js +358 -40
  39. package/index.full.min.js +17 -17
  40. package/index.full.min.js.map +1 -1
  41. package/index.full.min.mjs +20 -20
  42. package/index.full.min.mjs.map +1 -1
  43. package/index.full.mjs +353 -41
  44. package/lib/component.js +50 -48
  45. package/lib/component.js.map +1 -1
  46. package/lib/components/icon-picker/index.d.ts +146 -0
  47. package/lib/components/icon-picker/index.js +23 -0
  48. package/lib/components/icon-picker/index.js.map +1 -0
  49. package/lib/components/icon-picker/src/components/modal.vue.d.ts +70 -0
  50. package/lib/components/icon-picker/src/components/modal.vue.js +12 -0
  51. package/lib/components/icon-picker/src/components/modal.vue.js.map +1 -0
  52. package/lib/components/icon-picker/src/components/modal.vue2.js +162 -0
  53. package/lib/components/icon-picker/src/components/modal.vue2.js.map +1 -0
  54. package/lib/components/icon-picker/src/components/search.vue.d.ts +30 -0
  55. package/lib/components/icon-picker/src/components/search.vue.js +12 -0
  56. package/lib/components/icon-picker/src/components/search.vue.js.map +1 -0
  57. package/lib/components/icon-picker/src/components/search.vue2.js +62 -0
  58. package/lib/components/icon-picker/src/components/search.vue2.js.map +1 -0
  59. package/lib/components/icon-picker/src/config/icon-picker.d.ts +20 -0
  60. package/lib/components/icon-picker/src/config/icon-picker.js +25 -0
  61. package/lib/components/icon-picker/src/config/icon-picker.js.map +1 -0
  62. package/lib/components/icon-picker/src/config/index.d.ts +3 -0
  63. package/lib/components/icon-picker/src/config/index.js +14 -0
  64. package/lib/components/icon-picker/src/config/index.js.map +1 -0
  65. package/lib/components/icon-picker/src/config/modal.d.ts +24 -0
  66. package/lib/components/icon-picker/src/config/modal.js +33 -0
  67. package/lib/components/icon-picker/src/config/modal.js.map +1 -0
  68. package/lib/components/icon-picker/src/config/search.d.ts +15 -0
  69. package/lib/components/icon-picker/src/config/search.js +22 -0
  70. package/lib/components/icon-picker/src/config/search.js.map +1 -0
  71. package/lib/components/icon-picker/src/icon-picker.vue.d.ts +139 -0
  72. package/lib/components/icon-picker/src/icon-picker.vue.js +12 -0
  73. package/lib/components/icon-picker/src/icon-picker.vue.js.map +1 -0
  74. package/lib/components/icon-picker/src/icon-picker.vue2.js +63 -0
  75. package/lib/components/icon-picker/src/icon-picker.vue2.js.map +1 -0
  76. package/lib/components/index.d.ts +1 -0
  77. package/lib/components/index.js +60 -50
  78. package/lib/components/index.js.map +1 -1
  79. package/lib/index.js +60 -50
  80. package/lib/index.js.map +1 -1
  81. package/package.json +1 -1
  82. package/theme-chalk/css/icon-picker.css +1 -0
  83. package/theme-chalk/css/index.css +1 -1
  84. package/types/packages/components/icon-picker/index.d.ts +146 -0
  85. package/types/packages/components/icon-picker/src/components/modal.vue.d.ts +70 -0
  86. package/types/packages/components/icon-picker/src/components/search.vue.d.ts +30 -0
  87. package/types/packages/components/icon-picker/src/config/icon-picker.d.ts +20 -0
  88. package/types/packages/components/icon-picker/src/config/index.d.ts +3 -0
  89. package/types/packages/components/icon-picker/src/config/modal.d.ts +24 -0
  90. package/types/packages/components/icon-picker/src/config/search.d.ts +15 -0
  91. package/types/packages/components/icon-picker/src/icon-picker.vue.d.ts +139 -0
  92. 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;
@@ -16,6 +16,7 @@ export * from './form';
16
16
  export * from './form-item';
17
17
  export * from './icon';
18
18
  export * from './icon-base';
19
+ export * from './icon-picker';
19
20
  export * from './input';
20
21
  export * from './input-number';
21
22
  export * from './modal';