zartui 3.1.12 → 3.1.14

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 (292) hide show
  1. package/es/action-sheet/index.css +1 -1
  2. package/es/avatar/index.css +1 -1
  3. package/es/badge/index.css +1 -1
  4. package/es/button/index.css +1 -1
  5. package/es/calendar/index.css +1 -1
  6. package/es/calendar/utils.d.ts +2 -2
  7. package/es/cascader/Cascader.d.ts +1 -1
  8. package/es/cascader/index.css +1 -1
  9. package/es/cascader/index.d.ts +1 -1
  10. package/es/cell/Cell.d.ts +34 -0
  11. package/es/cell/Cell.mjs +61 -8
  12. package/es/cell/index.css +1 -1
  13. package/es/cell/index.d.ts +17 -0
  14. package/es/cell/style/index.mjs +1 -0
  15. package/es/cell-group/index.css +1 -1
  16. package/es/checkbox/Checkbox.d.ts +1 -1
  17. package/es/checkbox/index.d.ts +1 -1
  18. package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
  19. package/es/checkbox-group/index.d.ts +1 -1
  20. package/es/collapse/Collapse.d.ts +1 -1
  21. package/es/collapse/index.d.ts +1 -1
  22. package/es/collapse-item/index.css +1 -1
  23. package/es/config-provider/types.d.ts +1 -1
  24. package/es/date-time-picker/DateTimePicker.d.ts +1 -1
  25. package/es/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
  26. package/es/date-time-picker/index.d.ts +1 -1
  27. package/es/dialog/index.css +1 -1
  28. package/es/divider/index.css +1 -1
  29. package/es/drawer-select/DrawerSelect.d.ts +68 -0
  30. package/es/drawer-select/DrawerSelect.mjs +360 -0
  31. package/es/drawer-select/index.css +1 -0
  32. package/es/drawer-select/index.d.ts +53 -0
  33. package/es/drawer-select/index.mjs +8 -0
  34. package/es/drawer-select/style/index.d.ts +1 -0
  35. package/es/drawer-select/style/index.mjs +15 -0
  36. package/es/drawer-select/types.d.ts +26 -0
  37. package/es/drawer-select/types.mjs +0 -0
  38. package/es/dropdown-item/DropdownItem.d.ts +8 -1
  39. package/es/dropdown-item/DropdownItem.mjs +39 -25
  40. package/es/dropdown-item/index.css +1 -1
  41. package/es/dropdown-item/index.d.ts +5 -1
  42. package/es/dropdown-item/style/index.mjs +3 -1
  43. package/es/dropdown-item/types.d.ts +2 -1
  44. package/es/dropdown-menu/DropdownMenu.mjs +3 -0
  45. package/es/dropdown-menu/index.css +1 -1
  46. package/es/field/Field.d.ts +27 -3
  47. package/es/field/Field.mjs +11 -3
  48. package/es/field/index.css +1 -1
  49. package/es/field/index.d.ts +19 -3
  50. package/es/floating-bubble/index.css +1 -1
  51. package/es/form/index.css +1 -0
  52. package/es/form/style/index.mjs +1 -0
  53. package/es/hierarchy-select/index.css +1 -1
  54. package/es/icon/config.mjs +3 -1
  55. package/es/icon/index.css +1 -1
  56. package/es/image/index.css +1 -1
  57. package/es/image-preview/ImagePreview.d.ts +1 -1
  58. package/es/image-preview/index.css +1 -1
  59. package/es/image-preview/index.d.ts +1 -1
  60. package/es/index.d.ts +3 -1
  61. package/es/index.mjs +7 -1
  62. package/es/lazyload/vue-lazyload/index.d.ts +55 -55
  63. package/es/media-picker/MediaPicker.mjs +12 -2
  64. package/es/media-picker/index.css +1 -1
  65. package/es/media-picker/type.d.ts +3 -0
  66. package/es/media-picker/watermark/image-processor.mjs +2 -2
  67. package/es/media-player/index.css +1 -1
  68. package/es/multiple-picker/MultiplePicker.d.ts +28 -2
  69. package/es/multiple-picker/MultiplePicker.mjs +26 -16
  70. package/es/multiple-picker/MultiplePickerOptions.mjs +2 -1
  71. package/es/multiple-picker/index.css +1 -1
  72. package/es/multiple-picker/index.d.ts +20 -2
  73. package/es/nav-bar/NavBar.d.ts +1 -1
  74. package/es/nav-bar/index.d.ts +1 -1
  75. package/es/notice-bar/index.css +1 -1
  76. package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
  77. package/es/number-keyboard/index.css +1 -1
  78. package/es/number-keyboard/index.d.ts +1 -1
  79. package/es/password-input/index.css +1 -1
  80. package/es/picker/Picker.d.ts +30 -4
  81. package/es/picker/Picker.mjs +69 -16
  82. package/es/picker/PickerOptions.d.ts +75 -0
  83. package/es/picker/PickerOptions.mjs +93 -0
  84. package/es/picker/index.css +1 -1
  85. package/es/picker/index.d.ts +21 -3
  86. package/es/picker/types.d.ts +5 -1
  87. package/es/popover/index.css +1 -1
  88. package/es/popup/Popup.mjs +3 -3
  89. package/es/popup/index.css +1 -1
  90. package/es/pull-refresh/PullRefresh.d.ts +1 -1
  91. package/es/pull-refresh/index.d.ts +1 -1
  92. package/es/radio-group/RadioGroup.d.ts +1 -1
  93. package/es/radio-group/index.d.ts +1 -1
  94. package/es/radio-picker/RadioPicker.d.ts +11 -11
  95. package/es/radio-picker/index.css +1 -1
  96. package/es/radio-picker/index.d.ts +9 -9
  97. package/es/radio-picker/style/index.mjs +4 -4
  98. package/es/rate/Rate.d.ts +1 -1
  99. package/es/rate/index.d.ts +1 -1
  100. package/es/search/Search.d.ts +2 -2
  101. package/es/search/index.css +1 -1
  102. package/es/search/index.d.ts +2 -2
  103. package/es/skeleton/index.css +1 -1
  104. package/es/slider/Slider.d.ts +139 -0
  105. package/es/slider/Slider.mjs +335 -0
  106. package/es/slider/index.css +1 -0
  107. package/es/slider/index.d.ts +103 -0
  108. package/es/slider/index.mjs +10 -0
  109. package/es/slider/style/index.d.ts +1 -0
  110. package/es/slider/style/index.mjs +2 -0
  111. package/es/slider/types.d.ts +11 -0
  112. package/es/slider/types.mjs +0 -0
  113. package/es/step/index.css +1 -1
  114. package/es/stepper/Stepper.d.ts +1 -1
  115. package/es/stepper/index.css +1 -1
  116. package/es/stepper/index.d.ts +1 -1
  117. package/es/steps/index.css +1 -1
  118. package/es/style/base.css +1 -1
  119. package/es/style/css-variables.css +1 -1
  120. package/es/switch/Switch.d.ts +1 -1
  121. package/es/switch/index.d.ts +1 -1
  122. package/es/tabbar/Tabbar.d.ts +2 -2
  123. package/es/tabbar/index.css +1 -1
  124. package/es/tabbar/index.d.ts +2 -2
  125. package/es/tabbar-item/index.css +1 -1
  126. package/es/tabs/Tabs.mjs +4 -2
  127. package/es/tabs/TabsTitle.mjs +16 -6
  128. package/es/tabs/index.css +1 -1
  129. package/es/tag/index.css +1 -1
  130. package/es/text-ellipsis/TextEllipsis.mjs +2 -0
  131. package/es/time-picker/TimePicker.d.ts +1 -1
  132. package/es/time-picker/index.css +1 -1
  133. package/es/time-picker/index.d.ts +1 -1
  134. package/es/timeline/index.css +1 -1
  135. package/es/uploader/index.css +1 -1
  136. package/es/utils/constant.d.ts +0 -1
  137. package/es/utils/constant.mjs +0 -2
  138. package/es/utils/mount-component.mjs +1 -1
  139. package/es/utils/validate.d.ts +2 -1
  140. package/es/utils/validate.mjs +9 -0
  141. package/es/vue-sfc-shim.d.ts +6 -6
  142. package/es/vue-tsx-shim.d.ts +23 -23
  143. package/lib/action-sheet/index.css +1 -1
  144. package/lib/avatar/index.css +1 -1
  145. package/lib/badge/index.css +1 -1
  146. package/lib/button/index.css +1 -1
  147. package/lib/calendar/index.css +1 -1
  148. package/lib/calendar/utils.d.ts +2 -2
  149. package/lib/cascader/Cascader.d.ts +1 -1
  150. package/lib/cascader/index.css +1 -1
  151. package/lib/cascader/index.d.ts +1 -1
  152. package/lib/cell/Cell.d.ts +34 -0
  153. package/lib/cell/Cell.js +61 -8
  154. package/lib/cell/index.css +1 -1
  155. package/lib/cell/index.d.ts +17 -0
  156. package/lib/cell/style/index.js +1 -0
  157. package/lib/cell-group/index.css +1 -1
  158. package/lib/checkbox/Checkbox.d.ts +1 -1
  159. package/lib/checkbox/index.d.ts +1 -1
  160. package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
  161. package/lib/checkbox-group/index.d.ts +1 -1
  162. package/lib/collapse/Collapse.d.ts +1 -1
  163. package/lib/collapse/index.d.ts +1 -1
  164. package/lib/collapse-item/index.css +1 -1
  165. package/lib/config-provider/types.d.ts +1 -1
  166. package/lib/date-time-picker/DateTimePicker.d.ts +1 -1
  167. package/lib/date-time-picker/DateTimePickerWrapper.d.ts +1 -1
  168. package/lib/date-time-picker/index.d.ts +1 -1
  169. package/lib/dialog/index.css +1 -1
  170. package/lib/divider/index.css +1 -1
  171. package/lib/drawer-select/DrawerSelect.d.ts +68 -0
  172. package/lib/drawer-select/DrawerSelect.js +389 -0
  173. package/lib/drawer-select/index.css +1 -0
  174. package/lib/drawer-select/index.d.ts +53 -0
  175. package/lib/drawer-select/index.js +37 -0
  176. package/lib/drawer-select/style/index.d.ts +1 -0
  177. package/lib/drawer-select/style/index.js +15 -0
  178. package/lib/drawer-select/types.d.ts +26 -0
  179. package/lib/drawer-select/types.js +15 -0
  180. package/lib/dropdown-item/DropdownItem.d.ts +8 -1
  181. package/lib/dropdown-item/DropdownItem.js +37 -23
  182. package/lib/dropdown-item/index.css +1 -1
  183. package/lib/dropdown-item/index.d.ts +5 -1
  184. package/lib/dropdown-item/style/index.js +3 -1
  185. package/lib/dropdown-item/types.d.ts +2 -1
  186. package/lib/dropdown-menu/DropdownMenu.js +3 -0
  187. package/lib/dropdown-menu/index.css +1 -1
  188. package/lib/field/Field.d.ts +27 -3
  189. package/lib/field/Field.js +11 -3
  190. package/lib/field/index.css +1 -1
  191. package/lib/field/index.d.ts +19 -3
  192. package/lib/floating-bubble/index.css +1 -1
  193. package/lib/form/index.css +1 -0
  194. package/lib/form/style/index.js +1 -0
  195. package/lib/hierarchy-select/index.css +1 -1
  196. package/lib/icon/config.js +3 -1
  197. package/lib/icon/index.css +1 -1
  198. package/lib/image/index.css +1 -1
  199. package/lib/image-preview/ImagePreview.d.ts +1 -1
  200. package/lib/image-preview/index.css +1 -1
  201. package/lib/image-preview/index.d.ts +1 -1
  202. package/lib/index.css +1 -1
  203. package/lib/index.d.ts +3 -1
  204. package/lib/index.js +7 -1
  205. package/lib/lazyload/vue-lazyload/index.d.ts +55 -55
  206. package/lib/media-picker/MediaPicker.js +12 -2
  207. package/lib/media-picker/index.css +1 -1
  208. package/lib/media-picker/type.d.ts +3 -0
  209. package/lib/media-picker/watermark/image-processor.js +1 -1
  210. package/lib/media-player/index.css +1 -1
  211. package/lib/multiple-picker/MultiplePicker.d.ts +28 -2
  212. package/lib/multiple-picker/MultiplePicker.js +26 -16
  213. package/lib/multiple-picker/MultiplePickerOptions.js +2 -1
  214. package/lib/multiple-picker/index.css +1 -1
  215. package/lib/multiple-picker/index.d.ts +20 -2
  216. package/lib/nav-bar/NavBar.d.ts +1 -1
  217. package/lib/nav-bar/index.d.ts +1 -1
  218. package/lib/notice-bar/index.css +1 -1
  219. package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
  220. package/lib/number-keyboard/index.css +1 -1
  221. package/lib/number-keyboard/index.d.ts +1 -1
  222. package/lib/password-input/index.css +1 -1
  223. package/lib/picker/Picker.d.ts +30 -4
  224. package/lib/picker/Picker.js +68 -15
  225. package/lib/picker/PickerOptions.d.ts +75 -0
  226. package/lib/picker/PickerOptions.js +112 -0
  227. package/lib/picker/index.css +1 -1
  228. package/lib/picker/index.d.ts +21 -3
  229. package/lib/picker/types.d.ts +5 -1
  230. package/lib/popover/index.css +1 -1
  231. package/lib/popup/Popup.js +3 -3
  232. package/lib/popup/index.css +1 -1
  233. package/lib/pull-refresh/PullRefresh.d.ts +1 -1
  234. package/lib/pull-refresh/index.d.ts +1 -1
  235. package/lib/radio-group/RadioGroup.d.ts +1 -1
  236. package/lib/radio-group/index.d.ts +1 -1
  237. package/lib/radio-picker/RadioPicker.d.ts +11 -11
  238. package/lib/radio-picker/index.css +1 -1
  239. package/lib/radio-picker/index.d.ts +9 -9
  240. package/lib/radio-picker/style/index.js +4 -4
  241. package/lib/rate/Rate.d.ts +1 -1
  242. package/lib/rate/index.d.ts +1 -1
  243. package/lib/search/Search.d.ts +2 -2
  244. package/lib/search/index.css +1 -1
  245. package/lib/search/index.d.ts +2 -2
  246. package/lib/skeleton/index.css +1 -1
  247. package/lib/slider/Slider.d.ts +139 -0
  248. package/lib/slider/Slider.js +354 -0
  249. package/lib/slider/index.css +1 -0
  250. package/lib/slider/index.d.ts +103 -0
  251. package/lib/slider/index.js +39 -0
  252. package/lib/slider/style/index.d.ts +1 -0
  253. package/lib/slider/style/index.js +2 -0
  254. package/lib/slider/types.d.ts +11 -0
  255. package/lib/slider/types.js +15 -0
  256. package/lib/step/index.css +1 -1
  257. package/lib/stepper/Stepper.d.ts +1 -1
  258. package/lib/stepper/index.css +1 -1
  259. package/lib/stepper/index.d.ts +1 -1
  260. package/lib/steps/index.css +1 -1
  261. package/lib/style/base.css +1 -1
  262. package/lib/style/css-variables.css +1 -1
  263. package/lib/switch/Switch.d.ts +1 -1
  264. package/lib/switch/index.d.ts +1 -1
  265. package/lib/tabbar/Tabbar.d.ts +2 -2
  266. package/lib/tabbar/index.css +1 -1
  267. package/lib/tabbar/index.d.ts +2 -2
  268. package/lib/tabbar-item/index.css +1 -1
  269. package/lib/tabs/Tabs.js +4 -2
  270. package/lib/tabs/TabsTitle.js +16 -6
  271. package/lib/tabs/index.css +1 -1
  272. package/lib/tag/index.css +1 -1
  273. package/lib/text-ellipsis/TextEllipsis.js +2 -0
  274. package/lib/time-picker/TimePicker.d.ts +1 -1
  275. package/lib/time-picker/index.css +1 -1
  276. package/lib/time-picker/index.d.ts +1 -1
  277. package/lib/timeline/index.css +1 -1
  278. package/lib/uploader/index.css +1 -1
  279. package/lib/utils/constant.d.ts +0 -1
  280. package/lib/utils/constant.js +0 -2
  281. package/lib/utils/mount-component.js +1 -1
  282. package/lib/utils/validate.d.ts +2 -1
  283. package/lib/utils/validate.js +9 -0
  284. package/lib/vue-sfc-shim.d.ts +6 -6
  285. package/lib/vue-tsx-shim.d.ts +23 -23
  286. package/lib/web-types.json +1 -1
  287. package/lib/zartui.cjs.js +4303 -3364
  288. package/lib/zartui.es.js +4304 -3365
  289. package/lib/zartui.js +4301 -3362
  290. package/lib/zartui.min.js +1 -1
  291. package/package.json +79 -78
  292. package/README.md +0 -23
@@ -0,0 +1,389 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name2 in all)
9
+ __defProp(target, name2, { get: all[name2], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var stdin_exports = {};
29
+ __export(stdin_exports, {
30
+ default: () => stdin_default
31
+ });
32
+ module.exports = __toCommonJS(stdin_exports);
33
+ var import_vue = require("vue");
34
+ var import_vue2 = require("vue");
35
+ var import_use = require("@zartui/use");
36
+ var import_utils = require("../utils");
37
+ var import_search = __toESM(require("../search"));
38
+ var import_icon = __toESM(require("../icon"));
39
+ var import_popup = __toESM(require("../popup"));
40
+ var import_tag = __toESM(require("../tag"));
41
+ var import_deep_clone = require("../utils/deep-clone");
42
+ var import_utils2 = require("../picker/utils");
43
+ var import_dialog = require("../dialog");
44
+ const [name, bem] = (0, import_utils.createNamespace)("drawer-select");
45
+ const drawerSelectProps = {
46
+ treeData: (0, import_utils.makeArrayProp)(),
47
+ treeFieldName: Object,
48
+ title: (0, import_utils.makeStringProp)("\u9009\u62E9\u7C7B\u578B"),
49
+ placeholder: (0, import_utils.makeStringProp)("\u8BF7\u641C\u7D22\u95EE\u9898\u7C7B\u578B"),
50
+ expandAll: {
51
+ type: Boolean,
52
+ default: false
53
+ }
54
+ };
55
+ var stdin_default = (0, import_vue2.defineComponent)({
56
+ name,
57
+ props: drawerSelectProps,
58
+ emits: ["change", "select"],
59
+ setup(props, {
60
+ emit
61
+ }) {
62
+ const keyword = (0, import_vue2.ref)("");
63
+ const expandNode = (0, import_vue2.ref)();
64
+ const selectNode = (0, import_vue2.ref)();
65
+ const flatArray = (0, import_vue2.ref)([]);
66
+ const show = (0, import_vue2.ref)(false);
67
+ const searchRef = (0, import_vue2.ref)();
68
+ const offset = (0, import_vue2.ref)(0);
69
+ const historyList = (0, import_vue2.ref)([]);
70
+ const defaultTreeNode = (0, import_vue2.ref)(props.treeData);
71
+ const fields = (0, import_vue2.computed)(() => (0, import_utils2.assignDefaultFields)(props.treeFieldName));
72
+ const {
73
+ value,
74
+ children,
75
+ text: key
76
+ } = fields.value;
77
+ const allData = {
78
+ [value]: -1,
79
+ [key]: "\u5168\u90E8",
80
+ [children]: props.treeData
81
+ };
82
+ const clearSearch = () => {
83
+ keyword.value = "";
84
+ show.value = false;
85
+ };
86
+ const onScroll = () => {
87
+ if (show.value) {
88
+ updateOffset();
89
+ }
90
+ };
91
+ (0, import_use.useEventListener)("scroll", onScroll, {
92
+ target: searchRef,
93
+ passive: true
94
+ });
95
+ const updateOffset = () => {
96
+ if (searchRef.value) {
97
+ const rect = (0, import_use.useRect)(searchRef);
98
+ offset.value = rect.bottom;
99
+ }
100
+ };
101
+ const flatData = (data) => {
102
+ const result = [];
103
+ const getNext = (list) => {
104
+ for (const v of list) {
105
+ const current = {
106
+ [key]: v[key],
107
+ [value]: v[value]
108
+ };
109
+ if (props.expandAll) {
110
+ v.checked = true;
111
+ v.expand = true;
112
+ }
113
+ if (v[children] && v[children].length > 0) {
114
+ if (v && v.parent) {
115
+ v[children].forEach((item) => {
116
+ var _a;
117
+ item.parent = (0, import_deep_clone.deepClone)(v.parent);
118
+ (_a = item.parent) == null ? void 0 : _a.push(current);
119
+ });
120
+ } else {
121
+ v[children].forEach((item) => {
122
+ item.parent = [current];
123
+ });
124
+ }
125
+ getNext(v[children]);
126
+ } else {
127
+ if (v && v.parent) {
128
+ v.parent.push(current);
129
+ } else {
130
+ v.parent = [current];
131
+ }
132
+ const fullName = v.parent.map((item) => item[key]).join(" \xB7 ");
133
+ result.push(Object.assign(v, {
134
+ fullName,
135
+ parent: v.parent
136
+ }));
137
+ }
138
+ }
139
+ };
140
+ getNext(data);
141
+ flatArray.value = result;
142
+ };
143
+ (0, import_vue2.onMounted)(() => {
144
+ var _a;
145
+ historyList.value = JSON.parse((_a = localStorage.getItem("problemSearchHistory")) != null ? _a : "[]") || [];
146
+ expandNode.value = {
147
+ text: allData[key],
148
+ value: allData[value],
149
+ children: allData[children]
150
+ };
151
+ flatData(props.treeData);
152
+ updateOffset();
153
+ });
154
+ const isEmpty = (item) => !item[children] || item[children].length === 0;
155
+ const onLabelClick = (item, assign = true) => {
156
+ const {
157
+ text,
158
+ value: value2,
159
+ children: children2
160
+ } = fields.value;
161
+ if (item) {
162
+ if (assign) {
163
+ expandNode.value = {
164
+ text: item[text],
165
+ value: item[value2],
166
+ children: item[children2]
167
+ };
168
+ }
169
+ if (isEmpty(item)) {
170
+ selectNode.value = item;
171
+ emit("select", item);
172
+ }
173
+ item.checked = !item.checked;
174
+ emit("change", item);
175
+ }
176
+ };
177
+ const isStrValid = (text) => {
178
+ return text !== null && text !== "" && Object.prototype.toString.call(text) === "[object String]";
179
+ };
180
+ const onSearch = (value2) => {
181
+ if (isStrValid(value2)) {
182
+ show.value = true;
183
+ }
184
+ };
185
+ const onClickInput = (e) => {
186
+ const {
187
+ value: value2
188
+ } = e.target;
189
+ onSearch(value2);
190
+ };
191
+ const formatSearchKeyword = (keywords, text = "") => {
192
+ if (!keywords)
193
+ return text;
194
+ const replaceReg = new RegExp(keywords, "ig");
195
+ const replaceString = `<span style="color: #0091FA; background: rgba(0, 145, 250, 0.1); font-weight: bold;">${keywords}</span>`;
196
+ return text.replace(replaceReg, replaceString);
197
+ };
198
+ const filterTree = (0, import_vue2.computed)(() => {
199
+ if (keyword.value) {
200
+ return flatArray.value.filter((item) => {
201
+ return (item.fullName || "").indexOf(keyword.value) > -1;
202
+ });
203
+ }
204
+ return [];
205
+ });
206
+ const onSearchClick = (item) => {
207
+ var _a;
208
+ if (item) {
209
+ const {
210
+ text
211
+ } = fields.value;
212
+ show.value = false;
213
+ keyword.value = item[text];
214
+ let history = JSON.parse((_a = localStorage.getItem("problemSearchHistory")) != null ? _a : "[]") || [];
215
+ if (history.includes(keyword.value)) {
216
+ history.map((v, i) => {
217
+ if (v === keyword.value) {
218
+ history.splice(i, 1);
219
+ }
220
+ });
221
+ }
222
+ history.unshift(keyword.value);
223
+ if (history.length > 10) {
224
+ history = history.slice(0, 10);
225
+ }
226
+ historyList.value = history;
227
+ localStorage.setItem("problemSearchHistory", JSON.stringify(history));
228
+ emit("select", Object.assign(item, {
229
+ parent: item.parent
230
+ }));
231
+ }
232
+ };
233
+ const renderSecondTree = (item) => {
234
+ var _a, _b;
235
+ const text = item[fields.value.text];
236
+ const children2 = (_a = item[fields.value.children]) != null ? _a : [];
237
+ return (0, import_vue.createVNode)("div", null, [(0, import_vue.createVNode)("div", {
238
+ "class": [bem("label")],
239
+ "onClick": () => item.expand = !item.expand
240
+ }, [(0, import_vue.createVNode)("span", {
241
+ "class": [bem("label--placeholder")]
242
+ }, [children2.length > 0 && (0, import_vue.createVNode)(import_icon.default, {
243
+ "name": "play-small",
244
+ "class": [bem("label--icon", {
245
+ active: item.expand
246
+ })],
247
+ "size": "20"
248
+ }, null)]), (0, import_vue.createVNode)("span", {
249
+ "class": [bem("label--text")]
250
+ }, [text])]), !isEmpty(item) && item.expand && ((_b = item.children) == null ? void 0 : _b.map((child) => {
251
+ var _a2;
252
+ return (0, import_vue.createVNode)("div", {
253
+ "class": [bem("label", "second"), bem("label", {
254
+ active: ((_a2 = expandNode.value) == null ? void 0 : _a2.value) === child[value]
255
+ })],
256
+ "onClick": () => onLabelClick(child)
257
+ }, [child[fields.value.text]]);
258
+ }))]);
259
+ };
260
+ const renderItem = (item) => {
261
+ var _a, _b;
262
+ const empty = isEmpty(item);
263
+ return (0, import_vue.createVNode)("div", {
264
+ "onClick": (e) => {
265
+ e.stopPropagation();
266
+ onLabelClick(item, false);
267
+ },
268
+ "class": [bem("item")]
269
+ }, [(0, import_vue.createVNode)("div", {
270
+ "class": [bem("item--header")]
271
+ }, [(0, import_vue.createVNode)("span", {
272
+ "class": [bem("item--placeholder")]
273
+ }, [!empty && (0, import_vue.createVNode)(import_icon.default, {
274
+ "name": "play-small",
275
+ "class": [bem("item--icon", {
276
+ active: item.checked
277
+ })],
278
+ "size": "20"
279
+ }, null)]), (0, import_vue.createVNode)("div", {
280
+ "class": [bem("item--label", {
281
+ active: empty && ((_a = selectNode.value) == null ? void 0 : _a.value) == item[fields.value.value]
282
+ }), "zt-hairline--top"]
283
+ }, [item[fields.value.text]])]), (0, import_vue.createVNode)("div", {
284
+ "class": [bem("item--child")]
285
+ }, [!empty && item.checked && ((_b = item[fields.value.children]) == null ? void 0 : _b.map(renderItem))])]);
286
+ };
287
+ const onClearHistory = () => {
288
+ (0, import_dialog.showConfirmDialog)({
289
+ title: "\u786E\u8BA4\u5220\u9664\u5168\u90E8\u641C\u7D22\u5386\u53F2",
290
+ message: "\u70B9\u51FB\u201C\u5220\u9664\u201D\u5C06\u6E05\u7A7A\u5168\u90E8\u7684\u641C\u7D22\u8BB0\u5F55",
291
+ confirmButtonText: "\u5220\u9664",
292
+ teleport: ".zt-drawer-select"
293
+ }).then(() => {
294
+ historyList.value = [];
295
+ show.value = false;
296
+ localStorage.removeItem("problemSearchHistory");
297
+ });
298
+ };
299
+ const onHistoryClick = (itme) => {
300
+ keyword.value = itme;
301
+ };
302
+ return () => {
303
+ var _a, _b, _c, _d, _e;
304
+ return (0, import_vue.createVNode)("div", {
305
+ "class": [bem()]
306
+ }, [(0, import_vue.createVNode)("div", {
307
+ "class": [bem("search")],
308
+ "ref": searchRef
309
+ }, [(0, import_vue.createVNode)(import_search.default, {
310
+ "modelValue": keyword.value,
311
+ "onUpdate:modelValue": [($event) => keyword.value = $event, onSearch],
312
+ "placeholder": props.placeholder,
313
+ "onClickInput": onClickInput,
314
+ "onSearch": onSearch,
315
+ "onClear": clearSearch,
316
+ "onFocus": () => show.value = true,
317
+ "autocomplete": "off"
318
+ }, null), (0, import_vue.withDirectives)((0, import_vue.createVNode)("div", {
319
+ "class": [bem("wrap")],
320
+ "style": {
321
+ top: `${offset.value}px`
322
+ }
323
+ }, [(0, import_vue.createVNode)(import_popup.default, {
324
+ "class": [bem("popup")],
325
+ "position": "top",
326
+ "show": show.value,
327
+ "onUpdate:show": ($event) => show.value = $event,
328
+ "overlayStyle": {
329
+ position: "absolute"
330
+ }
331
+ }, {
332
+ default: () => [keyword.value ? (0, import_vue.createVNode)(import_vue.Fragment, null, [filterTree.value.length > 0 ? filterTree.value.map((item) => (0, import_vue.createVNode)("div", {
333
+ "class": [bem("search--item"), "zt-hairline--bottom"],
334
+ "onClick": () => onSearchClick(item)
335
+ }, [(0, import_vue.createVNode)("div", {
336
+ "class": [bem("search--header")],
337
+ "innerHTML": formatSearchKeyword(keyword.value, item[key])
338
+ }, null), (0, import_vue.createVNode)("div", {
339
+ "class": [bem("search--name")],
340
+ "innerHTML": formatSearchKeyword(keyword.value, item == null ? void 0 : item.fullName)
341
+ }, null)])) : (0, import_vue.createVNode)("div", {
342
+ "class": [bem("empty")]
343
+ }, [(0, import_vue.createTextVNode)("\u6CA1\u6709\u76F8\u5173\u5185\u5BB9\uFF0C\u8BF7\u91CD\u65B0\u8F93\u5165\u5173\u952E\u5B57")]), " "]) : (0, import_vue.createVNode)("section", {
344
+ "class": [bem("history")]
345
+ }, [historyList.value.length > 0 && (0, import_vue.createVNode)("div", null, [(0, import_vue.createVNode)("p", {
346
+ "class": [bem("history--title"), "zt-hairline--bottom"]
347
+ }, [(0, import_vue.createTextVNode)("\u641C\u7D22\u5386\u53F2")]), (0, import_vue.createVNode)("div", {
348
+ "class": [bem("history--content")]
349
+ }, [historyList.value.map((item) => (0, import_vue.createVNode)(import_tag.default, {
350
+ "onClick": () => onHistoryClick(item),
351
+ "round": true,
352
+ "text-color": "var(--zt-gray-a8)",
353
+ "icon-color": "var(--zt-gray)"
354
+ }, {
355
+ default: () => [item]
356
+ }))]), (0, import_vue.createVNode)("div", {
357
+ "class": [bem("history--clear")],
358
+ "onClick": onClearHistory
359
+ }, [(0, import_vue.createVNode)(import_icon.default, {
360
+ "name": "delete",
361
+ "size": "20"
362
+ }, null), (0, import_vue.createTextVNode)("\u6E05\u7A7A\u641C\u7D22\u5386\u53F2")])]), historyList.value.length === 0 && (0, import_vue.createVNode)("div", {
363
+ "class": [bem("empty")]
364
+ }, [(0, import_vue.createTextVNode)("\u6682\u65E0\u641C\u7D22\u8BB0\u5F55")])])]
365
+ })]), [[import_vue.vShow, show.value]])]), (0, import_vue.createVNode)("div", {
366
+ "class": [bem("name"), "zt-hairline--bottom"]
367
+ }, [props.title]), (0, import_vue.createVNode)("main", {
368
+ "class": [bem("tree")]
369
+ }, [(0, import_vue.createVNode)("nav", {
370
+ "class": [bem("tree-left")]
371
+ }, [(0, import_vue.createVNode)("div", {
372
+ "class": [bem("label", {
373
+ active: ((_a = expandNode.value) == null ? void 0 : _a.value) === allData[value]
374
+ })],
375
+ "onClick": () => onLabelClick(allData)
376
+ }, [(0, import_vue.createVNode)("span", {
377
+ "class": [bem("label", "placeholder")]
378
+ }, null), (0, import_vue.createVNode)("span", {
379
+ "class": [bem("label--text")]
380
+ }, [(0, import_vue.createTextVNode)("\u5168\u90E8")])]), (_b = defaultTreeNode.value) == null ? void 0 : _b.map(renderSecondTree)]), (0, import_vue.createVNode)("section", {
381
+ "class": [bem("tree-right")]
382
+ }, [(0, import_vue.createVNode)("div", {
383
+ "class": [bem("title")]
384
+ }, [(_c = expandNode.value) == null ? void 0 : _c.text]), (0, import_vue.createVNode)("div", {
385
+ "class": [bem("content")]
386
+ }, [(_e = (_d = expandNode.value) == null ? void 0 : _d.children) == null ? void 0 : _e.map(renderItem)])])])]);
387
+ };
388
+ }
389
+ });
@@ -0,0 +1 @@
1
+ :root{--zt-drawer-select-background: #ebf2f5}.zt-drawer-select{height:100%;width:100%;display:flex;flex-direction:column;background:var(--zt-background)}.zt-drawer-select__search{padding:var(--zt-padding-xs) 0}.zt-drawer-select__search--item{padding:var(--zt-padding-sm) 0 var(--zt-padding-sm) var(--zt-padding-md)}.zt-drawer-select__search--item:after{left:calc(-50% + 22px)}.zt-drawer-select__search--header{font-size:var(--zt-font-size-lg);font-weight:700;color:var(--zt-text-color);margin-bottom:4px}.zt-drawer-select__search--name{font-size:var(--zt-font-size-md);color:var(--zt-text-color-2)}.zt-drawer-select__wrap{position:fixed;right:0;left:0;bottom:0;z-index:999;overflow:hidden}.zt-drawer-select__popup{position:absolute;max-height:350px;border-radius:0 0 16px 16px}.zt-drawer-select__empty{font-size:var(--zt-font-size-md);color:var(--zt-gray-a4);text-align:center;padding:var(--zt-padding-lg) 0}.zt-drawer-select__history--title{height:44px;line-height:44px;font-weight:700;padding-left:var(--zt-padding-sm);color:var(--zt-text-color)}.zt-drawer-select__history--content{padding:var(--zt-padding-sm) var(--zt-padding-md) var(--zt-padding-xs)}.zt-drawer-select__history--content .zt-tag{line-height:28px;border-radius:14px;font-size:var(--zt-font-size-md);margin-right:4px;margin-bottom:8px}.zt-drawer-select__history--clear{display:flex;align-items:center;justify-content:center;height:44px;color:var(--zt-gray-a6);text-align:center;font-size:var(--zt-font-size-md)}.zt-drawer-select__name{position:relative;height:44px;line-height:44px;font-size:var(--zt-font-size-lg);color:var(--zt-text-color);font-weight:700;padding-left:var(--zt-padding-md)}.zt-drawer-select__name:before{content:"";position:absolute;width:4px;height:16px;top:14px;left:0;background:var(--zt-primary-color)}.zt-drawer-select__tree{display:flex;flex:1;height:calc(100% - 104px)}.zt-drawer-select__tree-left{width:120px}.zt-drawer-select__tree-right{flex:1;display:flex;flex-direction:column;background:var(--zt-white)}.zt-drawer-select__label{display:flex;align-items:center;line-height:28px;color:var(--zt-text-color);padding:var(--zt-padding-xs) 0 var(--zt-padding-xs) var(--zt-padding-base);font-size:var(--zt-font-size-md)}.zt-drawer-select__label--second{background:var(--zt-drawer-select-background);padding-left:var(--zt-padding-sm)}.zt-drawer-select__label--placeholder{display:flex;align-items:center;width:24px}.zt-drawer-select__label--text{display:flex;align-items:center;min-height:28px}.zt-drawer-select__label--icon--active{transform:rotate(90deg);color:var(--zt-primary-color)}.zt-drawer-select__label--active{color:var(--zt-primary-color);background:var(--zt-white)}.zt-drawer-select__title{display:flex;align-items:center;line-height:28px;font-size:var(--zt-font-size-md);color:var(--zt-text-color);font-weight:700;padding:var(--zt-padding-xs) var(--zt-padding-md)}.zt-drawer-select__content{flex:1;overflow-y:scroll}.zt-drawer-select__item--placeholder{width:30px}.zt-drawer-select__item--header{display:flex;min-height:44px;font-size:var(--zt-font-size-md);color:var(--zt-text-color);padding-left:4px}.zt-drawer-select__item--icon{display:flex;align-items:center;width:24px;margin-right:6px;height:100%}.zt-drawer-select__item--icon--active{transform:rotate(90deg);color:var(--zt-primary-color)}.zt-drawer-select__item--label{flex:1;display:flex;align-items:center;line-height:28px;padding:var(--zt-padding-xs) var(--zt-padding-md) var(--zt-padding-xs) 0}.zt-drawer-select__item--label--active{color:var(--zt-primary-color)}.zt-drawer-select__item--child{padding-left:var(--zt-padding-md)}.zt-drawer-select .zt-dialog__confirm{background:var(--zt-dialog-cancel-button-background-color);border:var(--zt-button-border-width) solid #ff5023;color:#ff5023}
@@ -0,0 +1,53 @@
1
+ export declare const DrawerSelect: import("../utils").WithInstall<import("vue").DefineComponent<{
2
+ treeData: {
3
+ type: import("vue").PropType<import("./types").DrawerSelectTreeNode[]>;
4
+ default: () => import("./types").DrawerSelectTreeNode[];
5
+ };
6
+ treeFieldName: import("vue").PropType<import("./types").DrawerSelectFieldNames>;
7
+ title: {
8
+ type: import("vue").PropType<string>;
9
+ default: string;
10
+ };
11
+ placeholder: {
12
+ type: import("vue").PropType<string>;
13
+ default: string;
14
+ };
15
+ expandAll: {
16
+ type: BooleanConstructor;
17
+ default: boolean;
18
+ };
19
+ }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "change")[], "select" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
+ treeData: {
21
+ type: import("vue").PropType<import("./types").DrawerSelectTreeNode[]>;
22
+ default: () => import("./types").DrawerSelectTreeNode[];
23
+ };
24
+ treeFieldName: import("vue").PropType<import("./types").DrawerSelectFieldNames>;
25
+ title: {
26
+ type: import("vue").PropType<string>;
27
+ default: string;
28
+ };
29
+ placeholder: {
30
+ type: import("vue").PropType<string>;
31
+ default: string;
32
+ };
33
+ expandAll: {
34
+ type: BooleanConstructor;
35
+ default: boolean;
36
+ };
37
+ }>> & {
38
+ onChange?: ((...args: any[]) => any) | undefined;
39
+ onSelect?: ((...args: any[]) => any) | undefined;
40
+ }, {
41
+ title: string;
42
+ placeholder: string;
43
+ treeData: import("./types").DrawerSelectTreeNode[];
44
+ expandAll: boolean;
45
+ }, {}>>;
46
+ export default DrawerSelect;
47
+ export type { DrawerSelectProps } from './DrawerSelect';
48
+ export type { DrawerSelectThemeVars, DrawerSelectTreeNode, FlatTreeNode, } from './types';
49
+ declare module 'vue' {
50
+ interface GlobalComponents {
51
+ ZtDrawerSelect: typeof DrawerSelect;
52
+ }
53
+ }
@@ -0,0 +1,37 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+ var stdin_exports = {};
29
+ __export(stdin_exports, {
30
+ DrawerSelect: () => DrawerSelect,
31
+ default: () => stdin_default
32
+ });
33
+ module.exports = __toCommonJS(stdin_exports);
34
+ var import_utils = require("../utils");
35
+ var import_DrawerSelect = __toESM(require("./DrawerSelect"));
36
+ const DrawerSelect = (0, import_utils.withInstall)(import_DrawerSelect.default);
37
+ var stdin_default = DrawerSelect;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ require("../../style/base.css");
2
+ require("../../badge/index.css");
3
+ require("../../icon/index.css");
4
+ require("../../image/index.css");
5
+ require("../../tag/index.css");
6
+ require("../../overlay/index.css");
7
+ require("../../popup/index.css");
8
+ require("../../loading/index.css");
9
+ require("../../button/index.css");
10
+ require("../../dialog/index.css");
11
+ require("../../picker/index.css");
12
+ require("../../cell/index.css");
13
+ require("../../field/index.css");
14
+ require("../../search/index.css");
15
+ require("../index.css");
@@ -0,0 +1,26 @@
1
+ export type DrawerSelectTreeNode = {
2
+ text?: string;
3
+ value?: string | number;
4
+ children?: DrawerSelectTreeNode[];
5
+ [key: PropertyKey]: any;
6
+ };
7
+ export type FlatTreeNode = {
8
+ text?: string;
9
+ value?: string | number;
10
+ children?: FlatTreeNode[];
11
+ checked?: boolean;
12
+ expand?: boolean;
13
+ fullName?: string;
14
+ parent?: {
15
+ [key: PropertyKey]: any;
16
+ }[];
17
+ [key: PropertyKey]: any;
18
+ };
19
+ export type DrawerSelectFieldNames = {
20
+ text?: string;
21
+ value?: string;
22
+ children?: string;
23
+ };
24
+ export type DrawerSelectThemeVars = {
25
+ drawSelectBackground?: string;
26
+ };
@@ -0,0 +1,15 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
14
+ var stdin_exports = {};
15
+ module.exports = __toCommonJS(stdin_exports);
@@ -1,11 +1,13 @@
1
1
  import type { PropType, ExtractPropTypes } from 'vue';
2
2
  import type { DropdownItemOption } from './types';
3
+ import { PickerFieldNames } from '../radio-picker/types';
3
4
  export declare const dropdownItemProps: {
4
5
  title: StringConstructor;
5
6
  options: {
6
7
  type: PropType<DropdownItemOption[]>;
7
8
  default: () => DropdownItemOption[];
8
9
  };
10
+ columnsFieldNames: PropType<PickerFieldNames>;
9
11
  disabled: BooleanConstructor;
10
12
  teleport: PropType<string | import("vue").RendererElement | null | undefined>;
11
13
  lazyRender: {
@@ -19,6 +21,7 @@ export declare const dropdownItemProps: {
19
21
  };
20
22
  titleClass: PropType<unknown>;
21
23
  multiSelect: BooleanConstructor;
24
+ itemLabel: StringConstructor;
22
25
  };
23
26
  export type DropdownItemProps = ExtractPropTypes<typeof dropdownItemProps>;
24
27
  declare const _default: import("vue").DefineComponent<{
@@ -27,6 +30,7 @@ declare const _default: import("vue").DefineComponent<{
27
30
  type: PropType<DropdownItemOption[]>;
28
31
  default: () => DropdownItemOption[];
29
32
  };
33
+ columnsFieldNames: PropType<PickerFieldNames>;
30
34
  disabled: BooleanConstructor;
31
35
  teleport: PropType<string | import("vue").RendererElement | null | undefined>;
32
36
  lazyRender: {
@@ -40,12 +44,14 @@ declare const _default: import("vue").DefineComponent<{
40
44
  };
41
45
  titleClass: PropType<unknown>;
42
46
  multiSelect: BooleanConstructor;
43
- }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "open" | "change" | "close" | "update:modelValue" | "opened" | "closed" | "confirm")[], "reset" | "open" | "change" | "close" | "update:modelValue" | "opened" | "closed" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
47
+ itemLabel: StringConstructor;
48
+ }, (() => JSX.Element) | undefined, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reset" | "open" | "update:modelValue" | "change" | "close" | "opened" | "closed" | "confirm")[], "reset" | "open" | "update:modelValue" | "change" | "close" | "opened" | "closed" | "confirm", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
44
49
  title: StringConstructor;
45
50
  options: {
46
51
  type: PropType<DropdownItemOption[]>;
47
52
  default: () => DropdownItemOption[];
48
53
  };
54
+ columnsFieldNames: PropType<PickerFieldNames>;
49
55
  disabled: BooleanConstructor;
50
56
  teleport: PropType<string | import("vue").RendererElement | null | undefined>;
51
57
  lazyRender: {
@@ -59,6 +65,7 @@ declare const _default: import("vue").DefineComponent<{
59
65
  };
60
66
  titleClass: PropType<unknown>;
61
67
  multiSelect: BooleanConstructor;
68
+ itemLabel: StringConstructor;
62
69
  }>> & {
63
70
  onChange?: ((...args: any[]) => any) | undefined;
64
71
  onReset?: ((...args: any[]) => any) | undefined;