zartui 3.1.64 → 3.1.66

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/lib/index.d.ts CHANGED
@@ -84,4 +84,4 @@ declare namespace _default {
84
84
  }
85
85
  export default _default;
86
86
  export function install(app: any): void;
87
- export const version: "3.1.64";
87
+ export const version: "3.1.66";
package/lib/index.js CHANGED
@@ -182,7 +182,7 @@ __reExport(stdin_exports, require("./timeline"), module.exports);
182
182
  __reExport(stdin_exports, require("./toast"), module.exports);
183
183
  __reExport(stdin_exports, require("./uploader"), module.exports);
184
184
  __reExport(stdin_exports, require("./video"), module.exports);
185
- const version = "3.1.64";
185
+ const version = "3.1.66";
186
186
  function install(app) {
187
187
  const components = [
188
188
  import_action_sheet.ActionSheet,
@@ -37,6 +37,10 @@ declare const multiplePickerProps: {
37
37
  type: import("vue").PropType<PickerOption[]>;
38
38
  default: () => PickerOption[];
39
39
  };
40
+ filteredOptions: {
41
+ type: import("vue").PropType<PickerOption[]>;
42
+ default: () => PickerOption[];
43
+ };
40
44
  toolbarPosition: {
41
45
  type: import("vue").PropType<string>;
42
46
  default: string;
@@ -106,6 +110,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
106
110
  type: import("vue").PropType<PickerOption[]>;
107
111
  default: () => PickerOption[];
108
112
  };
113
+ filteredOptions: {
114
+ type: import("vue").PropType<PickerOption[]>;
115
+ default: () => PickerOption[];
116
+ };
109
117
  toolbarPosition: {
110
118
  type: import("vue").PropType<string>;
111
119
  default: string;
@@ -167,6 +175,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
167
175
  type: import("vue").PropType<PickerOption[]>;
168
176
  default: () => PickerOption[];
169
177
  };
178
+ filteredOptions: {
179
+ type: import("vue").PropType<PickerOption[]>;
180
+ default: () => PickerOption[];
181
+ };
170
182
  toolbarPosition: {
171
183
  type: import("vue").PropType<string>;
172
184
  default: string;
@@ -213,6 +225,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
213
225
  textKey: string;
214
226
  itemHeight: string | number;
215
227
  columnCounts: number;
228
+ filteredOptions: PickerOption[];
216
229
  toolbarPosition: string;
217
230
  selectedIndex: number[];
218
231
  selectedValue: Numeric[];
@@ -36,6 +36,7 @@ var import_format = require("../utils/format");
36
36
  var import_deep_clone = require("../utils/deep-clone");
37
37
  var import_loading = __toESM(require("../loading"));
38
38
  var import_checkbox = __toESM(require("../checkbox"));
39
+ var import_empty = __toESM(require("../empty"));
39
40
  var import_MultiplePickerOptions = __toESM(require("./MultiplePickerOptions"));
40
41
  var import_popup = __toESM(require("../popup"));
41
42
  var import_button = __toESM(require("../button"));
@@ -56,6 +57,7 @@ const multiplePickerProps = {
56
57
  showToolbar: import_utils.truthProp,
57
58
  showTitle: import_utils.truthProp,
58
59
  options: (0, import_utils.makeArrayProp)(),
60
+ filteredOptions: (0, import_utils.makeArrayProp)(),
59
61
  toolbarPosition: (0, import_utils.makeStringProp)("bottom"),
60
62
  textKey: (0, import_utils.makeStringProp)("text"),
61
63
  columnCounts: (0, import_utils.makeNumberProp)(3),
@@ -75,13 +77,33 @@ var stdin_default = (0, import_vue.defineComponent)({
75
77
  const currentOptions = (0, import_vue.ref)(props.options);
76
78
  const currentSelectedIndex = (0, import_vue.computed)(() => props.selectedIndex);
77
79
  const currentSelectedValue = (0, import_vue.computed)(() => props.selectedValue);
80
+ const allSelectedOptions = (0, import_vue.ref)([]);
78
81
  const confirmIndexes = (0, import_vue.ref)(props.selectedIndex);
79
82
  const confirmValues = (0, import_vue.ref)(props.selectedValue);
83
+ const displayOptions = (0, import_vue.computed)(() => {
84
+ return props.filteredOptions && props.filteredOptions.length > 0 ? props.filteredOptions : currentOptions.value;
85
+ });
86
+ const displaySelectedIndexes = (0, import_vue.computed)(() => {
87
+ if (!props.filteredOptions || props.filteredOptions.length === 0) {
88
+ return confirmIndexes.value;
89
+ }
90
+ const selectedValues = new Set(confirmIndexes.value.filter((idx) => idx >= 0 && idx < currentOptions.value.length).map((idx) => {
91
+ var _a;
92
+ return (_a = currentOptions.value[idx]) == null ? void 0 : _a.value;
93
+ }));
94
+ const result = [];
95
+ displayOptions.value.forEach((option, index) => {
96
+ if (selectedValues.has(option.value)) {
97
+ result.push(index);
98
+ }
99
+ });
100
+ return result;
101
+ });
80
102
  const isIndeterminate = (0, import_vue.computed)(() => {
81
- return confirmIndexes.value.length > 0 && confirmIndexes.value.length < currentOptions.value.length;
103
+ return displaySelectedIndexes.value.length > 0 && displaySelectedIndexes.value.length < displayOptions.value.length;
82
104
  });
83
105
  const isAllSelected = (0, import_vue.computed)(() => {
84
- return confirmIndexes.value.length > 0 && confirmIndexes.value.length === currentOptions.value.length;
106
+ return displayOptions.value.length > 0 && displaySelectedIndexes.value.length > 0 && displaySelectedIndexes.value.length === displayOptions.value.length;
85
107
  });
86
108
  const resetOptions = (props2) => {
87
109
  currentOptions.value = props2.options;
@@ -94,14 +116,39 @@ var stdin_default = (0, import_vue.defineComponent)({
94
116
  emit("update:selectedValue", confirmValues.value);
95
117
  };
96
118
  const onUpdateCurrentIndexes = (newVal) => {
97
- confirmIndexes.value = newVal;
98
- if (newVal.length > 0) {
119
+ if (props.filteredOptions && props.filteredOptions.length > 0) {
120
+ const selectedValues = newVal.filter((idx) => idx >= 0 && idx < displayOptions.value.length).map((idx) => {
121
+ var _a;
122
+ return (_a = displayOptions.value[idx]) == null ? void 0 : _a.value;
123
+ });
124
+ const newSelectedIndexes = /* @__PURE__ */ new Set();
125
+ confirmIndexes.value.forEach((idx) => {
126
+ var _a;
127
+ if (idx >= 0 && idx < currentOptions.value.length) {
128
+ const value = (_a = currentOptions.value[idx]) == null ? void 0 : _a.value;
129
+ const isInFilteredList = displayOptions.value.some((opt) => opt.value === value);
130
+ if (!isInFilteredList) {
131
+ newSelectedIndexes.add(idx);
132
+ }
133
+ }
134
+ });
135
+ selectedValues.forEach((value) => {
136
+ const originalIndex = currentOptions.value.findIndex((opt) => opt.value === value);
137
+ if (originalIndex >= 0) {
138
+ newSelectedIndexes.add(originalIndex);
139
+ }
140
+ });
141
+ confirmIndexes.value = Array.from(newSelectedIndexes);
142
+ } else {
143
+ confirmIndexes.value = newVal;
144
+ }
145
+ if (confirmIndexes.value.length > 0) {
99
146
  getValuesByIndexes();
100
147
  } else {
101
148
  confirmValues.value = [];
102
149
  }
103
- getValuesByIndexes();
104
150
  emit("update:selectedValue", confirmValues.value);
151
+ updateAllSelectedOptions();
105
152
  };
106
153
  const getIndexesByValues = () => {
107
154
  var _a;
@@ -136,6 +183,7 @@ var stdin_default = (0, import_vue.defineComponent)({
136
183
  confirmIndexes.value = (0, import_deep_clone.deepClone)(currentSelectedIndex.value);
137
184
  confirmValues.value = (0, import_deep_clone.deepClone)(currentSelectedValue.value);
138
185
  getIndexesByValues();
186
+ updateAllSelectedOptions();
139
187
  });
140
188
  (0, import_vue.watch)(() => props.showPicker, (newValue) => {
141
189
  var _a;
@@ -153,20 +201,27 @@ var stdin_default = (0, import_vue.defineComponent)({
153
201
  };
154
202
  const updateShow = (value) => emit("update:showPicker", value);
155
203
  const getOptions = () => {
156
- const indexes = confirmIndexes.value;
204
+ return allSelectedOptions.value;
205
+ };
206
+ const onChange = () => {
207
+ updateAllSelectedOptions();
208
+ emit("change", getOptions());
209
+ };
210
+ const updateAllSelectedOptions = () => {
157
211
  const result = [];
212
+ const indexes = confirmIndexes.value;
158
213
  indexes == null ? void 0 : indexes.forEach((index) => {
159
214
  if (index > -1 && index < currentOptions.value.length && currentOptions.value[index]) {
215
+ const option = currentOptions.value[index];
160
216
  result.push({
161
- [props.textKey]: currentOptions.value[index][props.textKey],
162
- value: currentOptions.value[index].value,
217
+ [props.textKey]: option[props.textKey],
218
+ value: option.value,
163
219
  initialIndex: index
164
220
  });
165
221
  }
166
222
  });
167
- return result;
223
+ allSelectedOptions.value = result;
168
224
  };
169
- const onChange = () => emit("change", getOptions());
170
225
  const confirm = () => {
171
226
  const options = getOptions();
172
227
  emit("confirm", options);
@@ -250,33 +305,84 @@ var stdin_default = (0, import_vue.defineComponent)({
250
305
  "class": bem("toolbar-divider")
251
306
  }, null), (0, import_vue.createVNode)("span", {
252
307
  "class": bem("toolbar-checkbox-text")
253
- }, [(0, import_vue.createTextVNode)("\u5DF2\u9009 "), confirmIndexes.value.length])]);
308
+ }, [(0, import_vue.createTextVNode)("\u5DF2\u9009 "), allSelectedOptions.value.length])]);
254
309
  const handleSelectAll = () => {
255
- confirmIndexes.value = !isAllSelected.value ? currentOptions.value.map((_, index) => index) : [];
310
+ if (props.filteredOptions && props.filteredOptions.length === 0) {
311
+ confirmIndexes.value = [];
312
+ updateAllSelectedOptions();
313
+ return;
314
+ }
315
+ if (!isAllSelected.value) {
316
+ if (props.filteredOptions && props.filteredOptions.length > 0) {
317
+ const selectedIndexes = [];
318
+ displayOptions.value.forEach((option) => {
319
+ const originalIndex = currentOptions.value.findIndex((opt) => opt.value === option.value);
320
+ if (originalIndex >= 0) {
321
+ selectedIndexes.push(originalIndex);
322
+ }
323
+ });
324
+ confirmIndexes.value = selectedIndexes;
325
+ } else {
326
+ confirmIndexes.value = currentOptions.value.map((_, index) => index);
327
+ }
328
+ } else {
329
+ confirmIndexes.value = [];
330
+ }
331
+ updateAllSelectedOptions();
256
332
  };
257
333
  const onSelectOther = () => {
258
- const temp = new Array();
259
- currentOptions.value.forEach((_, index) => {
260
- if (!confirmIndexes.value.includes(index)) {
261
- temp.push(index);
262
- }
263
- });
264
- confirmIndexes.value = temp;
334
+ if (props.filteredOptions && props.filteredOptions.length === 0) {
335
+ confirmIndexes.value = [];
336
+ updateAllSelectedOptions();
337
+ return;
338
+ }
339
+ if (props.filteredOptions && props.filteredOptions.length > 0) {
340
+ const filteredValues = new Set(displayOptions.value.map((opt) => opt.value));
341
+ const currentSelectedInFiltered = /* @__PURE__ */ new Set();
342
+ confirmIndexes.value.forEach((idx) => {
343
+ var _a;
344
+ if (idx >= 0 && idx < currentOptions.value.length) {
345
+ const value = (_a = currentOptions.value[idx]) == null ? void 0 : _a.value;
346
+ if (filteredValues.has(value)) {
347
+ currentSelectedInFiltered.add(idx);
348
+ }
349
+ }
350
+ });
351
+ const newSelectedIndexes = [];
352
+ displayOptions.value.forEach((option) => {
353
+ const originalIndex = currentOptions.value.findIndex((opt) => opt.value === option.value);
354
+ if (originalIndex >= 0) {
355
+ if (!currentSelectedInFiltered.has(originalIndex)) {
356
+ newSelectedIndexes.push(originalIndex);
357
+ }
358
+ }
359
+ });
360
+ confirmIndexes.value = newSelectedIndexes;
361
+ } else {
362
+ const temp = new Array();
363
+ currentOptions.value.forEach((_, index) => {
364
+ if (!confirmIndexes.value.includes(index)) {
365
+ temp.push(index);
366
+ }
367
+ });
368
+ confirmIndexes.value = temp;
369
+ }
370
+ updateAllSelectedOptions();
265
371
  };
266
372
  const genOptionItems = () => {
267
373
  let formatOptions = [];
268
- if (currentOptions.value && currentOptions.value[0] && typeof currentOptions.value[0] !== "object") {
269
- formatOptions = currentOptions.value.map((v) => ({
374
+ if (displayOptions.value && displayOptions.value[0] && typeof displayOptions.value[0] !== "object") {
375
+ formatOptions = displayOptions.value.map((v) => ({
270
376
  value: v,
271
377
  text: v
272
378
  }));
273
379
  } else {
274
- formatOptions = currentOptions.value;
380
+ formatOptions = displayOptions.value;
275
381
  }
276
382
  return (0, import_vue.createVNode)(import_MultiplePickerOptions.default, {
277
383
  "ref": pickerOptions,
278
- "currentIndexes": confirmIndexes.value,
279
- "onUpdate:currentIndexes": [($event) => confirmIndexes.value = $event, onUpdateCurrentIndexes],
384
+ "currentIndexes": displaySelectedIndexes.value,
385
+ "onUpdate:currentIndexes": [($event) => displaySelectedIndexes.value = $event, onUpdateCurrentIndexes],
280
386
  "columnCounts": props.columnCounts,
281
387
  "initialOptions": formatOptions,
282
388
  "allowHtml": props.allowHtml,
@@ -288,9 +394,16 @@ var stdin_default = (0, import_vue.defineComponent)({
288
394
  option: slots.option
289
395
  });
290
396
  };
291
- const genOptions = () => (0, import_vue.createVNode)("div", {
292
- "class": bem("options")
293
- }, [genOptionItems()]);
397
+ const genOptions = () => {
398
+ const showEmpty = props.filteredOptions && props.filteredOptions.length === 0;
399
+ return (0, import_vue.createVNode)("div", {
400
+ "class": bem("options")
401
+ }, [showEmpty ? (0, import_vue.createVNode)(import_empty.default, {
402
+ "class": bem("empty"),
403
+ "image": "no-search-result",
404
+ "description": "\u6682\u65E0\u7ED3\u679C"
405
+ }, null) : genOptionItems()]);
406
+ };
294
407
  const renderMultiplePicker = () => (0, import_vue.createVNode)("div", {
295
408
  "class": bem()
296
409
  }, [genTitle(), props.loading ? (0, import_vue.createVNode)(import_loading.default, {
@@ -1 +1 @@
1
- :root{--zt-multiple-picker-warpper-padding: 12px 16px 4px 16px;--zt-multiple-picker-option-text-color: var(--zt-gray-a6);--zt-multiple-picker-background-color: var(--zt-background-popup);--zt-multiple-picker-toolbar-height: 44px;--zt-multiple-picker-title-text-color: var(--zt-gray-a4);--zt-multiple-picker-title-padding: 12px 0;--zt-multiple-picker-item-padding: 0 4px 8px 0;--zt-multiple-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-multiple-picker-option-disabled-background: var(--zt-gray-a04);--zt-multiple-picker-max-height: 84vh;--zt-multiple-picker-loading-icon-color: var(--zt-primary-color);--zt-multiple-picker-loading-mask-color: var(--zt-picker-loading-mask-color);--zt-multiple-picker-toolbar-padding: 8px 16px;--zt-multiple-picker-ellipsis-border: 1px solid var(--zt-gray-a2);--zt-multiple-picker-ellipsis-border-selected: 1px solid var(--zt-blue-a6);--zt-multiple-picker-title-background: var(--zt-background-popup);--zt-multiple-picker-ellipsis-height: 38px}:root[zt-theme-size=large]{--zt-multiple-picker-ellipsis-height: 50px}.zt-multiple-picker{display:flex;flex-direction:column;justify-content:space-between;position:relative;background-color:var(--zt-multiple-picker-background-color);-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:var(--zt-multiple-picker-max-height)}.zt-multiple-picker__toolbar{display:flex;align-items:center;justify-content:space-between;box-sizing:content-box;flex-shrink:0;overflow:hidden;background:var(--zt-multiple-picker-title-background);height:var(--zt-multiple-picker-toolbar-height);padding:var(--zt-multiple-picker-toolbar-padding)}.zt-multiple-picker__toolbar-select-all{display:flex;align-items:center;flex:1;max-width:45%}.zt-multiple-picker__toolbar-divider{width:1px;height:14px;background-color:var(--zt-gray-a2);margin-left:7px;margin-right:7px}.zt-multiple-picker__toolbar-checkbox{flex-shrink:0}.zt-multiple-picker__toolbar-checkbox .zt-checkbox__icon{font-size:var(--zt-font-size-xl)}.zt-multiple-picker__toolbar-checkbox .zt-checkbox__label{font-size:var(--zt-font-size-lg);margin-left:var(--zt-padding-base)}.zt-multiple-picker__toolbar-checkbox-text{font-size:var(--zt-font-size-lg);color:var(--zt-text-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (max-width: 375px){.zt-multiple-picker__toolbar .zt-multiple-picker__in-select-all{padding:0 14px}}@media (min-width: 376px){.zt-multiple-picker__toolbar .zt-multiple-picker__in-select-all{padding:0 22px}}.zt-multiple-picker__toolbar .zt-multiple-picker__in-select-all .zt-button__text{font-size:var(--zt-font-size-lg)}@media (max-width: 375px){.zt-multiple-picker__toolbar .zt-multiple-picker__select-other{padding:0 10px}}@media (min-width: 376px){.zt-multiple-picker__toolbar .zt-multiple-picker__select-other{padding:0 14px}}.zt-multiple-picker__toolbar .zt-multiple-picker__select-other .zt-button__text{font-size:var(--zt-font-size-lg)}.zt-multiple-picker__title{flex-shrink:0;font-weight:var(--zt-multiple-picker-cancel-action-font-weight);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);text-align:center;background:var(--zt-multiple-picker-title-background);color:var(--zt-multiple-picker-title-text-color);padding:var(--zt-multiple-picker-title-padding)}.zt-multiple-picker__options{position:relative;display:flex;cursor:grab;overflow-y:scroll}.zt-multiple-picker__options:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-multiple-picker__options:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:0;border-top:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-multiple-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-multiple-picker-loading-icon-color);background-color:var(--zt-multiple-picker-loading-mask-color)}.zt-multiple-picker-options{flex:1;overflow-y:scroll;font-size:var(--zt-font-size-md);margin:0;outline:0 none;padding:0}.zt-multiple-picker-options__wrapper{display:flex;flex-wrap:wrap;background-color:var(--zt-multiple-picker-background-color);padding:var(--zt-multiple-picker-warpper-padding)}.zt-multiple-picker-options__item{color:var(--zt-multiple-picker-option-text-color);padding:var(--zt-multiple-picker-item-padding);box-sizing:border-box;text-align:center;font-size:var(--zt-font-size-md)}.zt-multiple-picker-options__item .zt-ellipsis{height:var(--zt-multiple-picker-ellipsis-height);line-height:var(--zt-multiple-picker-ellipsis-height);border-radius:calc(var(--zt-multiple-picker-ellipsis-height) / 2);border:var(--zt-multiple-picker-ellipsis-border);padding:0 var(--zt-padding-md)}.zt-multiple-picker-options__item:active{opacity:var(--zt-active-opacity)}.zt-multiple-picker-options__item--disabled{cursor:not-allowed;color:var(--zt-gray-a2)}.zt-multiple-picker-options__item--disabled .zt-ellipsis{background:var(--zt-multiple-picker-option-disabled-background);border:0}.zt-multiple-picker-options__item--last{padding-right:0}.zt-multiple-picker-options__item--selected{color:var(--zt-primary-color)}.zt-multiple-picker-options__item--selected .zt-ellipsis{background:var(--zt-primary-color-a1);border:var(--zt-multiple-picker-ellipsis-border-selected)}.zt-multiple-picker-options__item--disabled-selected{cursor:not-allowed;color:var(--zt-gray)!important}.zt-multiple-picker-options__item--disabled-selected .zt-ellipsis{background:var(--zt-picker-option-disabled-background)!important;border:0!important}
1
+ :root{--zt-multiple-picker-warpper-padding: 12px 16px 4px 16px;--zt-multiple-picker-option-text-color: var(--zt-gray-a6);--zt-multiple-picker-background-color: var(--zt-background-popup);--zt-multiple-picker-toolbar-height: 44px;--zt-multiple-picker-title-text-color: var(--zt-gray-a4);--zt-multiple-picker-title-padding: 12px 0;--zt-multiple-picker-item-padding: 0 4px 8px 0;--zt-multiple-picker-option-disabled-opacity: var(--zt-disabled-opacity);--zt-multiple-picker-option-disabled-background: var(--zt-gray-a04);--zt-multiple-picker-max-height: 84vh;--zt-multiple-picker-loading-icon-color: var(--zt-primary-color);--zt-multiple-picker-loading-mask-color: var(--zt-picker-loading-mask-color);--zt-multiple-picker-toolbar-padding: 8px 16px;--zt-multiple-picker-ellipsis-border: 1px solid var(--zt-gray-a2);--zt-multiple-picker-ellipsis-border-selected: 1px solid var(--zt-blue-a6);--zt-multiple-picker-title-background: var(--zt-background-popup);--zt-multiple-picker-ellipsis-height: 38px}:root[zt-theme-size=large]{--zt-multiple-picker-ellipsis-height: 50px}.zt-multiple-picker{display:flex;flex-direction:column;justify-content:space-between;position:relative;background-color:var(--zt-multiple-picker-background-color);-webkit-user-select:none;-moz-user-select:none;user-select:none;max-height:var(--zt-multiple-picker-max-height)}.zt-multiple-picker__toolbar{display:flex;align-items:center;justify-content:space-between;box-sizing:content-box;flex-shrink:0;overflow:hidden;background:var(--zt-multiple-picker-title-background);height:var(--zt-multiple-picker-toolbar-height);padding:var(--zt-multiple-picker-toolbar-padding)}.zt-multiple-picker__toolbar-select-all{display:flex;align-items:center;flex:1;max-width:45%}.zt-multiple-picker__toolbar-divider{width:1px;height:14px;background-color:var(--zt-gray-a2);margin-left:7px;margin-right:7px}.zt-multiple-picker__toolbar-checkbox{flex-shrink:0}.zt-multiple-picker__toolbar-checkbox .zt-checkbox__icon{font-size:var(--zt-font-size-xl)}.zt-multiple-picker__toolbar-checkbox .zt-checkbox__label{font-size:var(--zt-font-size-lg);margin-left:var(--zt-padding-base)}.zt-multiple-picker__toolbar-checkbox-text{font-size:var(--zt-font-size-lg);color:var(--zt-text-color);white-space:nowrap;text-overflow:ellipsis;overflow:hidden}@media (max-width: 375px){.zt-multiple-picker__toolbar .zt-multiple-picker__in-select-all{padding:0 14px}}@media (min-width: 376px){.zt-multiple-picker__toolbar .zt-multiple-picker__in-select-all{padding:0 22px}}.zt-multiple-picker__toolbar .zt-multiple-picker__in-select-all .zt-button__text{font-size:var(--zt-font-size-lg)}@media (max-width: 375px){.zt-multiple-picker__toolbar .zt-multiple-picker__select-other{padding:0 10px}}@media (min-width: 376px){.zt-multiple-picker__toolbar .zt-multiple-picker__select-other{padding:0 14px}}.zt-multiple-picker__toolbar .zt-multiple-picker__select-other .zt-button__text{font-size:var(--zt-font-size-lg)}.zt-multiple-picker__title{flex-shrink:0;font-weight:var(--zt-multiple-picker-cancel-action-font-weight);font-size:var(--zt-font-size-md);line-height:var(--zt-line-height-md);text-align:center;background:var(--zt-multiple-picker-title-background);color:var(--zt-multiple-picker-title-text-color);padding:var(--zt-multiple-picker-title-padding)}.zt-multiple-picker__options{position:relative;display:flex;cursor:grab;overflow-y:scroll}.zt-multiple-picker__options:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:0;bottom:0;left:0;border-bottom:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-multiple-picker__options:before{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:0;right:0;left:0;border-top:1px solid var(--zt-border-color);transform:scaleY(.5)}.zt-multiple-picker__empty{width:100%;padding:40px 0}.zt-multiple-picker__loading{position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;display:flex;align-items:center;justify-content:center;color:var(--zt-multiple-picker-loading-icon-color);background-color:var(--zt-multiple-picker-loading-mask-color)}.zt-multiple-picker-options{flex:1;overflow-y:scroll;font-size:var(--zt-font-size-md);margin:0;outline:0 none;padding:0}.zt-multiple-picker-options__wrapper{display:flex;flex-wrap:wrap;background-color:var(--zt-multiple-picker-background-color);padding:var(--zt-multiple-picker-warpper-padding)}.zt-multiple-picker-options__item{color:var(--zt-multiple-picker-option-text-color);padding:var(--zt-multiple-picker-item-padding);box-sizing:border-box;text-align:center;font-size:var(--zt-font-size-md)}.zt-multiple-picker-options__item .zt-ellipsis{height:var(--zt-multiple-picker-ellipsis-height);line-height:var(--zt-multiple-picker-ellipsis-height);border-radius:calc(var(--zt-multiple-picker-ellipsis-height) / 2);border:var(--zt-multiple-picker-ellipsis-border);padding:0 var(--zt-padding-md)}.zt-multiple-picker-options__item:active{opacity:var(--zt-active-opacity)}.zt-multiple-picker-options__item--disabled{cursor:not-allowed;color:var(--zt-gray-a2)}.zt-multiple-picker-options__item--disabled .zt-ellipsis{background:var(--zt-multiple-picker-option-disabled-background);border:0}.zt-multiple-picker-options__item--last{padding-right:0}.zt-multiple-picker-options__item--selected{color:var(--zt-primary-color)}.zt-multiple-picker-options__item--selected .zt-ellipsis{background:var(--zt-primary-color-a1);border:var(--zt-multiple-picker-ellipsis-border-selected)}.zt-multiple-picker-options__item--disabled-selected{cursor:not-allowed;color:var(--zt-gray)!important}.zt-multiple-picker-options__item--disabled-selected .zt-ellipsis{background:var(--zt-picker-option-disabled-background)!important;border:0!important}
@@ -36,6 +36,10 @@ export declare const MultiplePicker: import("../utils").WithInstall<import("vue"
36
36
  type: import("vue").PropType<import("./types").PickerOption[]>;
37
37
  default: () => import("./types").PickerOption[];
38
38
  };
39
+ filteredOptions: {
40
+ type: import("vue").PropType<import("./types").PickerOption[]>;
41
+ default: () => import("./types").PickerOption[];
42
+ };
39
43
  toolbarPosition: {
40
44
  type: import("vue").PropType<string>;
41
45
  default: string;
@@ -97,6 +101,10 @@ export declare const MultiplePicker: import("../utils").WithInstall<import("vue"
97
101
  type: import("vue").PropType<import("./types").PickerOption[]>;
98
102
  default: () => import("./types").PickerOption[];
99
103
  };
104
+ filteredOptions: {
105
+ type: import("vue").PropType<import("./types").PickerOption[]>;
106
+ default: () => import("./types").PickerOption[];
107
+ };
100
108
  toolbarPosition: {
101
109
  type: import("vue").PropType<string>;
102
110
  default: string;
@@ -143,6 +151,7 @@ export declare const MultiplePicker: import("../utils").WithInstall<import("vue"
143
151
  textKey: string;
144
152
  itemHeight: string | number;
145
153
  columnCounts: number;
154
+ filteredOptions: import("./types").PickerOption[];
146
155
  toolbarPosition: string;
147
156
  selectedIndex: number[];
148
157
  selectedValue: import("../utils").Numeric[];
@@ -7,4 +7,5 @@ require("../../loading/index.css");
7
7
  require("../../button/index.css");
8
8
  require("../../checkbox-group/index.css");
9
9
  require("../../checkbox/index.css");
10
+ require("../../empty/index.css");
10
11
  require("../index.css");