@koi-design/uxd-ui 14.0.39 → 14.0.41

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 (95) hide show
  1. package/es/components/Calendar/Calendar.vue.d.ts +3 -3
  2. package/es/components/Calendar/Header.vue.d.ts +3 -3
  3. package/es/components/Calendar/index.d.ts +6 -6
  4. package/es/components/Cascader/Cascader.d.ts +1 -1
  5. package/es/components/DatePicker/DatePicker.vue.d.ts +3 -3
  6. package/es/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +3 -3
  7. package/es/components/DatePicker/index.d.ts +6 -6
  8. package/es/components/Select/RefSelect.vue.d.ts +59 -1017
  9. package/es/components/Select/Select.d.ts +4 -4
  10. package/es/components/Select/Select.type.d.ts +1 -1
  11. package/es/components/Select/Select.type.mjs +1 -1
  12. package/es/components/Select/Select.type.mjs.map +1 -1
  13. package/es/components/Select/Selection/Multiple.vue.d.ts +2 -2
  14. package/es/components/Select/Selection/Multiple.vue_vue_type_script_lang.mjs +1 -1
  15. package/es/components/Select/Selection/Multiple.vue_vue_type_script_lang.mjs.map +1 -1
  16. package/es/components/Select/Selection/MultipleBase.d.ts +253 -0
  17. package/es/components/Select/Selection/MultipleBase.mjs +317 -0
  18. package/es/components/Select/Selection/MultipleBase.mjs.map +1 -0
  19. package/es/components/Select/Selection/MultipleOverFlow.mjs +202 -0
  20. package/es/components/Select/Selection/MultipleOverFlow.mjs.map +1 -0
  21. package/es/components/Select/Selection/MultipleOverFlow.vue.d.ts +1191 -0
  22. package/es/components/Select/Selection/MultipleOverFlow.vue_vue_type_script_lang.mjs +265 -0
  23. package/es/components/Select/Selection/MultipleOverFlow.vue_vue_type_script_lang.mjs.map +1 -0
  24. package/es/components/Select/Selection/Selection.mjs +90 -67
  25. package/es/components/Select/Selection/Selection.mjs.map +1 -1
  26. package/es/components/Select/Selection/Selection.vue.d.ts +57 -1015
  27. package/es/components/Select/hooks/useMultipleBase.d.ts +32 -0
  28. package/es/components/Select/hooks/useMultipleBase.mjs +211 -0
  29. package/es/components/Select/hooks/useMultipleBase.mjs.map +1 -0
  30. package/es/components/Select/index.d.ts +3 -3
  31. package/es/components/TreeSelect/TreeSelect.vue.d.ts +57 -1015
  32. package/es/components/TreeSelect/index.d.ts +1065 -2981
  33. package/lib/components/Calendar/Calendar.vue.d.ts +3 -3
  34. package/lib/components/Calendar/Header.vue.d.ts +3 -3
  35. package/lib/components/Calendar/index.d.ts +6 -6
  36. package/lib/components/Cascader/Cascader.d.ts +1 -1
  37. package/lib/components/DatePicker/DatePicker.vue.d.ts +3 -3
  38. package/lib/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +3 -3
  39. package/lib/components/DatePicker/index.d.ts +6 -6
  40. package/lib/components/Select/RefSelect.vue.d.ts +59 -1017
  41. package/lib/components/Select/Select.d.ts +4 -4
  42. package/lib/components/Select/Select.type.d.ts +1 -1
  43. package/lib/components/Select/Select.type.js +1 -1
  44. package/lib/components/Select/Select.type.js.map +1 -1
  45. package/lib/components/Select/Selection/Multiple.vue.d.ts +2 -2
  46. package/lib/components/Select/Selection/Multiple.vue_vue_type_script_lang.js +1 -1
  47. package/lib/components/Select/Selection/Multiple.vue_vue_type_script_lang.js.map +1 -1
  48. package/lib/components/Select/Selection/MultipleBase.d.ts +253 -0
  49. package/lib/components/Select/Selection/MultipleBase.js +326 -0
  50. package/lib/components/Select/Selection/MultipleBase.js.map +1 -0
  51. package/lib/components/Select/Selection/MultipleOverFlow.js +206 -0
  52. package/lib/components/Select/Selection/MultipleOverFlow.js.map +1 -0
  53. package/lib/components/Select/Selection/MultipleOverFlow.vue.d.ts +1191 -0
  54. package/lib/components/Select/Selection/MultipleOverFlow.vue_vue_type_script_lang.js +269 -0
  55. package/lib/components/Select/Selection/MultipleOverFlow.vue_vue_type_script_lang.js.map +1 -0
  56. package/lib/components/Select/Selection/Selection.js +89 -66
  57. package/lib/components/Select/Selection/Selection.js.map +1 -1
  58. package/lib/components/Select/Selection/Selection.vue.d.ts +57 -1015
  59. package/lib/components/Select/hooks/useMultipleBase.d.ts +32 -0
  60. package/lib/components/Select/hooks/useMultipleBase.js +216 -0
  61. package/lib/components/Select/hooks/useMultipleBase.js.map +1 -0
  62. package/lib/components/Select/index.d.ts +3 -3
  63. package/lib/components/TreeSelect/TreeSelect.vue.d.ts +57 -1015
  64. package/lib/components/TreeSelect/index.d.ts +1065 -2981
  65. package/package.json +1 -1
  66. package/styles/components/cascader/index.css +1 -1
  67. package/styles/components/form/index.css +1 -1
  68. package/styles/components/form/index.less +12 -1
  69. package/styles/components/form/var.less +1 -1
  70. package/styles/components/select/index.css +1 -1
  71. package/styles/components/select/index.less +10 -0
  72. package/styles/index.css +1 -1
  73. package/types/components/Calendar/Calendar.vue.d.ts +3 -3
  74. package/types/components/Calendar/Header.vue.d.ts +3 -3
  75. package/types/components/Calendar/index.d.ts +6 -6
  76. package/types/components/Cascader/Cascader.d.ts +1 -1
  77. package/types/components/DatePicker/DatePicker.vue.d.ts +3 -3
  78. package/types/components/DatePicker/Panel/DatePickerPanel.vue.d.ts +3 -3
  79. package/types/components/DatePicker/index.d.ts +6 -6
  80. package/types/components/Select/RefSelect.vue.d.ts +59 -1017
  81. package/types/components/Select/Select.d.ts +4 -4
  82. package/types/components/Select/Select.type.d.ts +1 -1
  83. package/types/components/Select/Selection/Multiple.vue.d.ts +2 -2
  84. package/types/components/Select/Selection/MultipleBase.d.ts +253 -0
  85. package/types/components/Select/Selection/MultipleOverFlow.vue.d.ts +1191 -0
  86. package/types/components/Select/Selection/Selection.vue.d.ts +57 -1015
  87. package/types/components/Select/hooks/useMultipleBase.d.ts +32 -0
  88. package/types/components/Select/index.d.ts +3 -3
  89. package/types/components/TreeSelect/TreeSelect.vue.d.ts +57 -1015
  90. package/types/components/TreeSelect/index.d.ts +1065 -2981
  91. package/uxd-ui.css +1 -1
  92. package/uxd-ui.esm.min.mjs +7 -7
  93. package/uxd-ui.esm.mjs +722 -535
  94. package/uxd-ui.umd.js +722 -535
  95. package/uxd-ui.umd.min.js +7 -7
@@ -0,0 +1,32 @@
1
+ import type { DisplayOption, SingleValueType } from '../Select.type';
2
+ export declare const REST_TAG_KEY = "__UUI_SELECT_MAX_REST_COUNT__";
3
+ export default function useMultipleBase(props: any, emit: any): {
4
+ motionAppear: import("vue").Ref<boolean, boolean>;
5
+ measureRef: import("vue").Ref<any, any>;
6
+ inputWidth: import("vue").Ref<number, number>;
7
+ inputValue: import("vue").ComputedRef<any>;
8
+ inputEditable: import("vue").ComputedRef<any>;
9
+ showPlaceholder: import("vue").ComputedRef<boolean>;
10
+ isNotRender: import("vue").ComputedRef<boolean>;
11
+ displayValues: import("vue").ComputedRef<any>;
12
+ displayRest: import("vue").ComputedRef<boolean>;
13
+ mergedDisplayCount: import("vue").ComputedRef<number>;
14
+ closable: (item: DisplayOption) => boolean;
15
+ onClose: (value: SingleValueType, e: any) => void;
16
+ onOverflowItemResize: ({ width }: {
17
+ width: number;
18
+ }, item: DisplayOption) => void;
19
+ onSuffixResize: ({ width }: {
20
+ width: number;
21
+ }) => void;
22
+ onInputMouseDown: () => void;
23
+ onInputChange: (val: any) => void;
24
+ onInputKeydown: (e: KeyboardEvent) => void;
25
+ onInputCompositionStart: (e: CompositionEvent) => void;
26
+ onInputCompositionEnd: (e: CompositionEvent) => void;
27
+ onInputPaste: (e: ClipboardEvent) => void;
28
+ REST_TAG_KEY: string;
29
+ getRender: (children: import("vue").VNode | import("vue").VNodeChild | string | number) => () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
30
+ [key: string]: any;
31
+ }>;
32
+ };
@@ -0,0 +1,211 @@
1
+ import { ref, computed, shallowRef, onMounted, watch } from 'vue';
2
+ import { getRender } from '../../../utils/slots.mjs';
3
+
4
+ const REST_TAG_KEY = "__UUI_SELECT_MAX_REST_COUNT__";
5
+ function useMultipleBase(props, emit) {
6
+ const motionAppear = ref(false);
7
+ const measureRef = ref();
8
+ const inputWidth = ref(0);
9
+ const mergedContainerWidth = computed(() => props.containerWrapperWidth || 0);
10
+ const itemWidths = shallowRef(/* @__PURE__ */ new Map());
11
+ const suffixWidth = shallowRef(0);
12
+ const prevRestWidth = shallowRef(0);
13
+ const restWidth = shallowRef(0);
14
+ const displayCount = shallowRef(null);
15
+ const restReady = shallowRef(false);
16
+ const inputValue = computed(() => {
17
+ return props.searchValue;
18
+ });
19
+ const inputEditable = computed(() => {
20
+ return props.filterable && props.open;
21
+ });
22
+ const showPlaceholder = computed(() => {
23
+ return !props.values.length && !inputValue.value;
24
+ });
25
+ const isNotRender = computed(() => {
26
+ return !props.tagRender;
27
+ });
28
+ const mergedDisplayCount = computed(() => {
29
+ if (displayCount.value === null) {
30
+ return Number.MAX_SAFE_INTEGER;
31
+ }
32
+ return displayCount.value || 0;
33
+ });
34
+ const mergedRestWidth = computed(() => Math.max(prevRestWidth.value, restWidth.value));
35
+ const omittedItems = computed(() => {
36
+ return props.values.slice(mergedDisplayCount.value + 1);
37
+ });
38
+ const displayRest = computed(() => restReady.value && !!omittedItems.value.length);
39
+ const baseDisplayValues = computed(() => {
40
+ const { values, maxTagCount, maxTagTextLength, maxTagPlaceholder } = props;
41
+ let restCount = 0;
42
+ let _display = values;
43
+ if (typeof maxTagCount === "number") {
44
+ restCount = values.length - maxTagCount;
45
+ _display = values.slice(0, maxTagCount);
46
+ }
47
+ if (typeof maxTagTextLength === "number") {
48
+ _display = _display.map(({ displayLabel, ...rest }) => {
49
+ let _label = displayLabel;
50
+ if (typeof displayLabel === "string" || typeof displayLabel === "number") {
51
+ const strLabel = String(_label);
52
+ if (strLabel.length > maxTagTextLength) {
53
+ _label = `${strLabel.slice(0, maxTagTextLength)}...`;
54
+ }
55
+ }
56
+ return {
57
+ ...rest,
58
+ displayLabel: _label
59
+ };
60
+ });
61
+ }
62
+ if (restCount > 0) {
63
+ const rest = values.slice(maxTagCount);
64
+ _display.push({
65
+ key: REST_TAG_KEY,
66
+ value: REST_TAG_KEY,
67
+ displayLabel: maxTagPlaceholder(rest)
68
+ });
69
+ }
70
+ return _display;
71
+ });
72
+ const overflowDisplayValues = computed(() => {
73
+ const { maxTagPlaceholder } = props;
74
+ let items = [];
75
+ if (props.containerWrapperWidth === null) {
76
+ items = props.values;
77
+ } else {
78
+ items = props.values.slice(0, Math.min(props.values.length, props.containerWrapperWidth / props.itemWidth));
79
+ }
80
+ items = [
81
+ ...items,
82
+ {
83
+ key: REST_TAG_KEY,
84
+ value: REST_TAG_KEY,
85
+ displayLabel: maxTagPlaceholder(omittedItems.value)
86
+ }
87
+ ];
88
+ return items;
89
+ });
90
+ const displayValues = computed(() => {
91
+ return props.enableOverflow ? overflowDisplayValues.value : baseDisplayValues.value;
92
+ });
93
+ const closable = (item) => {
94
+ return item.key !== REST_TAG_KEY && !item.disabled;
95
+ };
96
+ const onClose = (value, e) => {
97
+ if (e && e.stopPropagation) {
98
+ e.stopPropagation();
99
+ }
100
+ emit("select", value, { selected: false });
101
+ };
102
+ const getItemWidth = (index) => {
103
+ return itemWidths.value.get(displayValues.value[index].value || displayValues.value[index].key);
104
+ };
105
+ const updateDisplayCount = (count, notReady) => {
106
+ displayCount.value = count;
107
+ if (!notReady) {
108
+ restReady.value = count < props.values.length - 1;
109
+ }
110
+ };
111
+ const onOverflowItemResize = ({ width }, item) => {
112
+ const clone = new Map(itemWidths.value);
113
+ const key = item.value || item.key;
114
+ if (key === REST_TAG_KEY) {
115
+ prevRestWidth.value = restWidth.value;
116
+ restWidth.value = width;
117
+ }
118
+ if (width === null) {
119
+ clone.delete(key);
120
+ } else {
121
+ clone.set(key, width);
122
+ }
123
+ itemWidths.value = clone;
124
+ };
125
+ const onSuffixResize = ({ width }) => {
126
+ suffixWidth.value = width;
127
+ };
128
+ const onInputMouseDown = () => {
129
+ emit("input-mousedown");
130
+ };
131
+ const onInputChange = (val) => {
132
+ emit("input-change", val);
133
+ };
134
+ const onInputKeydown = (e) => {
135
+ emit("input-keydown", e);
136
+ };
137
+ const onInputCompositionStart = (e) => {
138
+ emit("input-compositionstart", e);
139
+ };
140
+ const onInputCompositionEnd = (e) => {
141
+ emit("input-compositionend", e);
142
+ };
143
+ const onInputPaste = (e) => {
144
+ emit("input-paste", e);
145
+ };
146
+ onMounted(() => {
147
+ motionAppear.value = true;
148
+ watch(
149
+ inputValue,
150
+ () => {
151
+ inputWidth.value = measureRef.value.scrollWidth;
152
+ },
153
+ { flush: "post" }
154
+ );
155
+ });
156
+ watch([mergedContainerWidth, itemWidths, restWidth, suffixWidth, displayValues], () => {
157
+ if (!props.enableOverflow)
158
+ return;
159
+ if (mergedContainerWidth.value && mergedRestWidth.value && displayValues.value) {
160
+ let totalWidth = suffixWidth.value;
161
+ const len = displayValues.value.filter((item) => item.key !== REST_TAG_KEY).length;
162
+ const lastIndex = len - 1;
163
+ if (!len) {
164
+ updateDisplayCount(0);
165
+ return;
166
+ }
167
+ for (let i = 0; i < len; i += 1) {
168
+ const currentItemWidth = getItemWidth(i);
169
+ if (currentItemWidth === void 0) {
170
+ updateDisplayCount(i - 1, true);
171
+ break;
172
+ }
173
+ totalWidth += currentItemWidth;
174
+ if (lastIndex === 0 && totalWidth <= mergedContainerWidth.value || i === lastIndex - 1 && totalWidth + getItemWidth(lastIndex) <= mergedContainerWidth.value) {
175
+ updateDisplayCount(lastIndex);
176
+ break;
177
+ } else if (totalWidth + mergedRestWidth.value > mergedContainerWidth.value) {
178
+ updateDisplayCount(i - 1);
179
+ break;
180
+ }
181
+ }
182
+ }
183
+ });
184
+ return {
185
+ motionAppear,
186
+ measureRef,
187
+ inputWidth,
188
+ inputValue,
189
+ inputEditable,
190
+ showPlaceholder,
191
+ isNotRender,
192
+ displayValues,
193
+ displayRest,
194
+ mergedDisplayCount,
195
+ closable,
196
+ onClose,
197
+ onOverflowItemResize,
198
+ onSuffixResize,
199
+ onInputMouseDown,
200
+ onInputChange,
201
+ onInputKeydown,
202
+ onInputCompositionStart,
203
+ onInputCompositionEnd,
204
+ onInputPaste,
205
+ REST_TAG_KEY,
206
+ getRender
207
+ };
208
+ }
209
+
210
+ export { REST_TAG_KEY, useMultipleBase as default };
211
+ //# sourceMappingURL=useMultipleBase.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMultipleBase.mjs","sources":["../../../../../src/components/Select/hooks/useMultipleBase.ts"],"sourcesContent":["import { ref, computed, shallowRef, onMounted, watch } from 'vue';\nimport type { DisplayOption, SingleValueType } from '../Select.type';\nimport { getRender } from '../../../utils/slots';\n\nexport const REST_TAG_KEY = '__UUI_SELECT_MAX_REST_COUNT__';\n\nexport default function useMultipleBase(props: any, emit: any) {\n type Key = string | number;\n\n const motionAppear = ref(false);\n const measureRef = ref();\n const inputWidth = ref(0);\n\n const mergedContainerWidth = computed(() => props.containerWrapperWidth || 0);\n const itemWidths = shallowRef<Map<Key, number>>(new Map<Key, number>());\n const suffixWidth = shallowRef(0);\n const prevRestWidth = shallowRef(0);\n const restWidth = shallowRef(0);\n const displayCount = shallowRef<number>(null);\n const restReady = shallowRef(false);\n\n const inputValue = computed(() => {\n return props.searchValue;\n });\n\n const inputEditable = computed(() => {\n return props.filterable && props.open;\n });\n\n const showPlaceholder = computed(() => {\n return !props.values.length && !inputValue.value;\n });\n\n const isNotRender = computed(() => {\n return !props.tagRender;\n });\n\n const mergedDisplayCount = computed(() => {\n if (displayCount.value === null) {\n return Number.MAX_SAFE_INTEGER;\n }\n return displayCount.value || 0;\n });\n\n const mergedRestWidth = computed(() => Math.max(prevRestWidth.value, restWidth.value));\n\n const omittedItems = computed(() => {\n return props.values.slice(mergedDisplayCount.value + 1);\n });\n\n const displayRest = computed(() => restReady.value && !!omittedItems.value.length);\n\n const baseDisplayValues = computed(() => {\n const { values, maxTagCount, maxTagTextLength, maxTagPlaceholder } = props;\n let restCount = 0;\n let _display = values;\n\n if (typeof maxTagCount === 'number') {\n restCount = values.length - maxTagCount;\n _display = values.slice(0, maxTagCount);\n }\n\n if (typeof maxTagTextLength === 'number') {\n _display = _display.map(({ displayLabel, ...rest }: { displayLabel: string; [key: string]: any }) => {\n let _label = displayLabel;\n if (typeof displayLabel === 'string' || typeof displayLabel === 'number') {\n const strLabel = String(_label);\n if (strLabel.length > maxTagTextLength) {\n _label = `${strLabel.slice(0, maxTagTextLength)}...`;\n }\n }\n return {\n ...rest,\n displayLabel: _label\n };\n });\n }\n\n if (restCount > 0) {\n const rest = values.slice(maxTagCount);\n _display.push({\n key: REST_TAG_KEY,\n value: REST_TAG_KEY,\n displayLabel: maxTagPlaceholder(rest)\n });\n }\n return _display;\n });\n\n const overflowDisplayValues = computed(() => {\n const { maxTagPlaceholder } = props;\n let items = [];\n\n if (props.containerWrapperWidth === null) {\n items = props.values;\n } else {\n items = props.values.slice(0, Math.min(props.values.length, props.containerWrapperWidth / props.itemWidth));\n }\n\n items = [\n ...items,\n {\n key: REST_TAG_KEY,\n value: REST_TAG_KEY,\n displayLabel: maxTagPlaceholder(omittedItems.value)\n }\n ];\n\n return items as DisplayOption[];\n });\n\n const displayValues = computed(() => {\n return props.enableOverflow ? overflowDisplayValues.value : baseDisplayValues.value;\n });\n\n const closable = (item: DisplayOption) => {\n return item.key !== REST_TAG_KEY && !item.disabled;\n };\n\n const onClose = (value: SingleValueType, e: any) => {\n if (e && e.stopPropagation) {\n e.stopPropagation();\n }\n emit('select', value, { selected: false });\n };\n\n const getItemWidth = (index: number) => {\n return itemWidths.value.get(displayValues.value[index].value || displayValues.value[index].key);\n };\n\n const updateDisplayCount = (count: number, notReady?: boolean) => {\n displayCount.value = count;\n if (!notReady) {\n restReady.value = count < props.values.length - 1;\n }\n };\n\n const onOverflowItemResize = ({ width }: { width: number }, item: DisplayOption) => {\n const clone = new Map(itemWidths.value);\n const key = item.value || item.key;\n\n if (key === REST_TAG_KEY) {\n prevRestWidth.value = restWidth.value;\n restWidth.value = width!;\n }\n\n if (width === null) {\n clone.delete(key);\n } else {\n clone.set(key, width);\n }\n itemWidths.value = clone;\n };\n\n const onSuffixResize = ({ width }: { width: number }) => {\n suffixWidth.value = width;\n };\n\n const onInputMouseDown = () => {\n emit('input-mousedown');\n };\n\n const onInputChange = (val: any) => {\n emit('input-change', val);\n };\n\n const onInputKeydown = (e: KeyboardEvent) => {\n emit('input-keydown', e);\n };\n\n const onInputCompositionStart = (e: CompositionEvent) => {\n emit('input-compositionstart', e);\n };\n\n const onInputCompositionEnd = (e: CompositionEvent) => {\n emit('input-compositionend', e);\n };\n\n const onInputPaste = (e: ClipboardEvent) => {\n emit('input-paste', e);\n };\n\n onMounted(() => {\n motionAppear.value = true;\n watch(\n inputValue,\n () => {\n inputWidth.value = measureRef.value.scrollWidth;\n },\n { flush: 'post' }\n );\n });\n\n watch([mergedContainerWidth, itemWidths, restWidth, suffixWidth, displayValues], () => {\n if (!props.enableOverflow) return;\n\n if (mergedContainerWidth.value && mergedRestWidth.value && displayValues.value) {\n let totalWidth = suffixWidth.value;\n const len = displayValues.value.filter((item: DisplayOption) => item.key !== REST_TAG_KEY).length;\n const lastIndex = len - 1;\n\n if (!len) {\n updateDisplayCount(0);\n return;\n }\n\n for (let i = 0; i < len; i += 1) {\n const currentItemWidth = getItemWidth(i);\n\n if (currentItemWidth === undefined) {\n updateDisplayCount(i - 1, true);\n break;\n }\n\n totalWidth += currentItemWidth;\n\n if (\n (lastIndex === 0 && totalWidth <= mergedContainerWidth.value) ||\n (i === lastIndex - 1 && totalWidth + getItemWidth(lastIndex)! <= mergedContainerWidth.value)\n ) {\n updateDisplayCount(lastIndex);\n break;\n } else if (totalWidth + mergedRestWidth.value > mergedContainerWidth.value) {\n updateDisplayCount(i - 1);\n break;\n }\n }\n }\n });\n\n return {\n motionAppear,\n measureRef,\n inputWidth,\n inputValue,\n inputEditable,\n showPlaceholder,\n isNotRender,\n displayValues,\n displayRest,\n mergedDisplayCount,\n\n closable,\n onClose,\n onOverflowItemResize,\n onSuffixResize,\n onInputMouseDown,\n onInputChange,\n onInputKeydown,\n onInputCompositionStart,\n onInputCompositionEnd,\n onInputPaste,\n\n REST_TAG_KEY,\n getRender\n };\n}\n"],"names":[],"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CAAC,sBAAsB,YAAY,WAAW,aAAa,aAAa,GAAG,MAAM;AACrF,QAAI,CAAC,MAAM;AAAgB;AAE3B,QAAI,qBAAqB,SAAS,gBAAgB,SAAS,cAAc,OAAO;AAC9E,UAAI,aAAa,YAAY;AAC7B,YAAM,MAAM,cAAc,MAAM,OAAO,CAAC,SAAwB,KAAK,QAAQ,YAAY,EAAE;AAC3F,YAAM,YAAY,MAAM;AAExB,UAAI,CAAC,KAAK;AACR,2BAAmB,CAAC;AACpB;AAAA;AAGF,eAAS,IAAI,GAAG,IAAI,KAAK,KAAK,GAAG;AAC/B,cAAM,mBAAmB,aAAa,CAAC;AAEvC,YAAI,qBAAqB,QAAW;AAClC,6BAAmB,IAAI,GAAG,IAAI;AAC9B;AAAA;AAGF,sBAAc;AAEd,YACG,cAAc,KAAK,cAAc,qBAAqB,SACtD,MAAM,YAAY,KAAK,aAAa,aAAa,SAAS,KAAM,qBAAqB,OACtF;AACA,6BAAmB,SAAS;AAC5B;AAAA,mBACS,aAAa,gBAAgB,QAAQ,qBAAqB,OAAO;AAC1E,6BAAmB,IAAI,CAAC;AACxB;AAAA;AACF;AACF;AACF,GACD;AAED,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IAEA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IAEA;AAAA,IACA;AAAA;AAEJ;;;;"}
@@ -68,7 +68,7 @@ export declare const USelect: {
68
68
  type: import("vue").PropType<(rest: import("./Select.type").DisplayOption[]) => string | import("vue").VNodeChild | import("vue/jsx-runtime").JSX.Element>;
69
69
  };
70
70
  maxTagTextLength: {
71
- type: NumberConstructor;
71
+ type: import("vue").PropType<number | "responsive">;
72
72
  };
73
73
  tagRender: {
74
74
  type: import("vue").PropType<import("./Select.type").TagRenderFunction>;
@@ -345,7 +345,7 @@ export declare const USelect: {
345
345
  type: import("vue").PropType<(rest: import("./Select.type").DisplayOption[]) => string | import("vue").VNodeChild | import("vue/jsx-runtime").JSX.Element>;
346
346
  };
347
347
  maxTagTextLength: {
348
- type: NumberConstructor;
348
+ type: import("vue").PropType<number | "responsive">;
349
349
  };
350
350
  tagRender: {
351
351
  type: import("vue").PropType<import("./Select.type").TagRenderFunction>;
@@ -605,7 +605,7 @@ export declare const USelect: {
605
605
  type: import("vue").PropType<(rest: import("./Select.type").DisplayOption[]) => string | import("vue").VNodeChild | import("vue/jsx-runtime").JSX.Element>;
606
606
  };
607
607
  maxTagTextLength: {
608
- type: NumberConstructor;
608
+ type: import("vue").PropType<number | "responsive">;
609
609
  };
610
610
  tagRender: {
611
611
  type: import("vue").PropType<import("./Select.type").TagRenderFunction>;