@uzum-tech/ui 2.4.2 → 2.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (196) hide show
  1. package/dist/index.js +321 -75
  2. package/dist/index.mjs +321 -75
  3. package/dist/index.prod.js +3 -3
  4. package/dist/index.prod.mjs +3 -3
  5. package/es/_internal/selection/src/Selection.d.ts +27 -0
  6. package/es/_internal/selection/src/Selection.mjs +54 -26
  7. package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.d.ts +35 -0
  8. package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.mjs +15 -0
  9. package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.d.ts +17 -0
  10. package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.mjs +16 -0
  11. package/es/_internal/selection/src/styles/index.cssr.mjs +45 -4
  12. package/es/_internal/selection/styles/light.d.ts +6 -0
  13. package/es/_internal/selection/styles/light.mjs +3 -0
  14. package/es/cascader/src/Cascader.d.ts +30 -0
  15. package/es/cascader/src/CascaderMenu.d.ts +6 -0
  16. package/es/cascader/src/CascaderOption.d.ts +6 -0
  17. package/es/cascader/src/CascaderSelectMenu.d.ts +6 -0
  18. package/es/cascader/src/CascaderSubmenu.d.ts +6 -0
  19. package/es/cascader/styles/light.d.ts +3 -0
  20. package/es/chat/src/Chat.d.ts +132 -0
  21. package/es/chat/src/ChatListItems.d.ts +45 -0
  22. package/es/chat/src/ChatMainArea.d.ts +45 -0
  23. package/es/chat/src/ChatMessages.d.ts +45 -0
  24. package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +36 -0
  25. package/es/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +9 -0
  26. package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +36 -0
  27. package/es/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +9 -0
  28. package/es/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +36 -0
  29. package/es/chat/src/ChatParts/ChatHeader/interface.d.ts +9 -0
  30. package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +36 -0
  31. package/es/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +9 -0
  32. package/es/chat/src/ChatParts/Sidebar.d.ts +12 -0
  33. package/es/chat/src/interface.d.ts +9 -0
  34. package/es/chat/styles/dark.d.ts +3 -0
  35. package/es/chat/styles/light.d.ts +3 -0
  36. package/es/components.d.ts +474 -0
  37. package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +2 -2
  38. package/es/data-table/src/ColumnSettings/ColumnSettingsDrawer.mjs +1 -1
  39. package/es/data-table/src/DataTable.d.ts +24 -0
  40. package/es/data-table/src/DataTable.mjs +16 -13
  41. package/es/data-table/src/HeaderButton/FilterButton.d.ts +12 -0
  42. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +12 -0
  43. package/es/data-table/src/TableParts/Body.d.ts +12 -0
  44. package/es/data-table/src/TableParts/Header.d.ts +12 -0
  45. package/es/data-table/src/interface.d.ts +162 -151
  46. package/es/data-table/src/interface.mjs +7 -7
  47. package/es/data-table/src/use-column-settings.mjs +4 -1
  48. package/es/data-table/src/use-resizable.d.ts +2 -0
  49. package/es/data-table/src/use-resizable.mjs +9 -1
  50. package/es/data-table/styles/light.d.ts +3 -0
  51. package/es/date-picker/src/DatePicker.d.ts +30 -0
  52. package/es/date-picker/src/panel/date.d.ts +6 -0
  53. package/es/date-picker/src/panel/daterange.d.ts +6 -0
  54. package/es/date-picker/src/panel/datetime.d.ts +6 -0
  55. package/es/date-picker/src/panel/datetimerange.d.ts +6 -0
  56. package/es/date-picker/src/panel/panelMonth.d.ts +24 -0
  57. package/es/date-picker/src/panel/panelMonthContent.d.ts +6 -0
  58. package/es/date-picker/src/panel/panelYear.d.ts +24 -0
  59. package/es/date-picker/src/panel/panelYearContent.d.ts +6 -0
  60. package/es/date-picker/src/panel/use-calendar.d.ts +6 -0
  61. package/es/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
  62. package/es/date-picker/src/panel/use-panel-common.d.ts +6 -0
  63. package/es/date-picker/styles/light.d.ts +3 -0
  64. package/es/date-picker-v2/src/DatePickerV2.d.ts +30 -0
  65. package/es/date-picker-v2/styles/dark.d.ts +3 -0
  66. package/es/date-picker-v2/styles/light.d.ts +3 -0
  67. package/es/editor/src/Editor.d.ts +18 -0
  68. package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +18 -0
  69. package/es/editor/src/EditorParts/EditorContent/interface.d.ts +9 -0
  70. package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +21 -0
  71. package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +9 -0
  72. package/es/editor/src/interface.d.ts +9 -0
  73. package/es/editor/styles/dark.d.ts +3 -0
  74. package/es/editor/styles/light.d.ts +3 -0
  75. package/es/locales/common/ruRU.mjs +1 -1
  76. package/es/pagination/src/Pagination.d.ts +24 -0
  77. package/es/pagination/src/interface.d.ts +9 -0
  78. package/es/pagination/styles/light.d.ts +3 -0
  79. package/es/select/src/Select.d.ts +24 -0
  80. package/es/select/src/Select.mjs +2 -1
  81. package/es/select/src/interface.d.ts +10 -0
  82. package/es/select/src/interface.mjs +1 -0
  83. package/es/select/src/styles/index.cssr.mjs +4 -1
  84. package/es/select/styles/light.d.ts +3 -0
  85. package/es/tree-select/src/TreeSelect.d.ts +30 -0
  86. package/es/tree-select/styles/light.d.ts +3 -0
  87. package/es/upload/src/Upload.d.ts +21 -0
  88. package/es/upload/src/Upload.mjs +7 -1
  89. package/es/upload/src/UploadFile.d.ts +6 -0
  90. package/es/upload/src/UploadFile.mjs +12 -8
  91. package/es/upload/src/UploadFileList.mjs +3 -2
  92. package/es/upload/src/UploadProgress.d.ts +6 -0
  93. package/es/upload/src/interface.d.ts +10 -1
  94. package/es/upload/src/styles/index.cssr.mjs +84 -1
  95. package/es/upload/src/useUploadActionsRender.mjs +10 -5
  96. package/es/upload/styles/light.d.ts +6 -0
  97. package/es/upload/styles/light.mjs +4 -0
  98. package/es/version.d.ts +1 -1
  99. package/es/version.mjs +1 -1
  100. package/lib/_internal/selection/src/Selection.d.ts +27 -0
  101. package/lib/_internal/selection/src/Selection.js +43 -35
  102. package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.d.ts +35 -0
  103. package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.js +13 -0
  104. package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.d.ts +17 -0
  105. package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.js +19 -0
  106. package/lib/_internal/selection/src/styles/index.cssr.js +45 -4
  107. package/lib/_internal/selection/styles/light.d.ts +6 -0
  108. package/lib/_internal/selection/styles/light.js +3 -0
  109. package/lib/cascader/src/Cascader.d.ts +30 -0
  110. package/lib/cascader/src/CascaderMenu.d.ts +6 -0
  111. package/lib/cascader/src/CascaderOption.d.ts +6 -0
  112. package/lib/cascader/src/CascaderSelectMenu.d.ts +6 -0
  113. package/lib/cascader/src/CascaderSubmenu.d.ts +6 -0
  114. package/lib/cascader/styles/light.d.ts +3 -0
  115. package/lib/chat/src/Chat.d.ts +132 -0
  116. package/lib/chat/src/ChatListItems.d.ts +45 -0
  117. package/lib/chat/src/ChatMainArea.d.ts +45 -0
  118. package/lib/chat/src/ChatMessages.d.ts +45 -0
  119. package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +36 -0
  120. package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +9 -0
  121. package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +36 -0
  122. package/lib/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +9 -0
  123. package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +36 -0
  124. package/lib/chat/src/ChatParts/ChatHeader/interface.d.ts +9 -0
  125. package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +36 -0
  126. package/lib/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +9 -0
  127. package/lib/chat/src/ChatParts/Sidebar.d.ts +12 -0
  128. package/lib/chat/src/interface.d.ts +9 -0
  129. package/lib/chat/styles/dark.d.ts +3 -0
  130. package/lib/chat/styles/light.d.ts +3 -0
  131. package/lib/components.d.ts +474 -0
  132. package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.d.ts +2 -2
  133. package/lib/data-table/src/ColumnSettings/ColumnSettingsDrawer.js +1 -1
  134. package/lib/data-table/src/DataTable.d.ts +24 -0
  135. package/lib/data-table/src/DataTable.js +14 -13
  136. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +12 -0
  137. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +12 -0
  138. package/lib/data-table/src/TableParts/Body.d.ts +12 -0
  139. package/lib/data-table/src/TableParts/Header.d.ts +12 -0
  140. package/lib/data-table/src/interface.d.ts +162 -151
  141. package/lib/data-table/src/interface.js +7 -7
  142. package/lib/data-table/src/use-column-settings.js +6 -1
  143. package/lib/data-table/src/use-resizable.d.ts +2 -0
  144. package/lib/data-table/src/use-resizable.js +9 -1
  145. package/lib/data-table/styles/light.d.ts +3 -0
  146. package/lib/date-picker/src/DatePicker.d.ts +30 -0
  147. package/lib/date-picker/src/panel/date.d.ts +6 -0
  148. package/lib/date-picker/src/panel/daterange.d.ts +6 -0
  149. package/lib/date-picker/src/panel/datetime.d.ts +6 -0
  150. package/lib/date-picker/src/panel/datetimerange.d.ts +6 -0
  151. package/lib/date-picker/src/panel/panelMonth.d.ts +24 -0
  152. package/lib/date-picker/src/panel/panelMonthContent.d.ts +6 -0
  153. package/lib/date-picker/src/panel/panelYear.d.ts +24 -0
  154. package/lib/date-picker/src/panel/panelYearContent.d.ts +6 -0
  155. package/lib/date-picker/src/panel/use-calendar.d.ts +6 -0
  156. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
  157. package/lib/date-picker/src/panel/use-panel-common.d.ts +6 -0
  158. package/lib/date-picker/styles/light.d.ts +3 -0
  159. package/lib/date-picker-v2/src/DatePickerV2.d.ts +30 -0
  160. package/lib/date-picker-v2/styles/dark.d.ts +3 -0
  161. package/lib/date-picker-v2/styles/light.d.ts +3 -0
  162. package/lib/editor/src/Editor.d.ts +18 -0
  163. package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +18 -0
  164. package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +9 -0
  165. package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +21 -0
  166. package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +9 -0
  167. package/lib/editor/src/interface.d.ts +9 -0
  168. package/lib/editor/styles/dark.d.ts +3 -0
  169. package/lib/editor/styles/light.d.ts +3 -0
  170. package/lib/locales/common/ruRU.js +1 -1
  171. package/lib/pagination/src/Pagination.d.ts +24 -0
  172. package/lib/pagination/src/interface.d.ts +9 -0
  173. package/lib/pagination/styles/light.d.ts +3 -0
  174. package/lib/select/src/Select.d.ts +24 -0
  175. package/lib/select/src/Select.js +5 -2
  176. package/lib/select/src/interface.d.ts +10 -0
  177. package/lib/select/src/interface.js +1 -1
  178. package/lib/select/src/styles/index.cssr.js +3 -0
  179. package/lib/select/styles/light.d.ts +3 -0
  180. package/lib/tree-select/src/TreeSelect.d.ts +30 -0
  181. package/lib/tree-select/styles/light.d.ts +3 -0
  182. package/lib/upload/src/Upload.d.ts +21 -0
  183. package/lib/upload/src/Upload.js +5 -2
  184. package/lib/upload/src/UploadFile.d.ts +6 -0
  185. package/lib/upload/src/UploadFile.js +19 -11
  186. package/lib/upload/src/UploadFileList.js +5 -1
  187. package/lib/upload/src/UploadProgress.d.ts +6 -0
  188. package/lib/upload/src/interface.d.ts +10 -1
  189. package/lib/upload/src/styles/index.cssr.js +84 -1
  190. package/lib/upload/src/useUploadActionsRender.js +17 -7
  191. package/lib/upload/styles/light.d.ts +6 -0
  192. package/lib/upload/styles/light.js +4 -1
  193. package/lib/version.d.ts +1 -1
  194. package/lib/version.js +1 -1
  195. package/package.json +1 -1
  196. package/web-types.json +23 -10
@@ -88,6 +88,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
88
88
  round: BooleanConstructor;
89
89
  counter: BooleanConstructor;
90
90
  secondary: BooleanConstructor;
91
+ autoWidth: BooleanConstructor;
91
92
  account: BooleanConstructor;
92
93
  theme: PropType<import("../../../_mixins").Theme<"InternalSelection", {
93
94
  paddingTiny: string;
@@ -171,8 +172,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
171
172
  caretColorSecondary: string;
172
173
  filterCounterTextColor: string;
173
174
  filterCounterTextColorDisabled: string;
175
+ filterCounterGap: string;
176
+ filterSuffixWrapperGap: string;
174
177
  arrowColorSecondary: string;
175
178
  clearColorSecondary: string;
179
+ loadingColorSecondary: string;
176
180
  colorSecondary: string;
177
181
  textColorSecondary: string;
178
182
  borderSecondary: string;
@@ -294,8 +298,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
294
298
  caretColorSecondary: string;
295
299
  filterCounterTextColor: string;
296
300
  filterCounterTextColorDisabled: string;
301
+ filterCounterGap: string;
302
+ filterSuffixWrapperGap: string;
297
303
  arrowColorSecondary: string;
298
304
  clearColorSecondary: string;
305
+ loadingColorSecondary: string;
299
306
  colorSecondary: string;
300
307
  textColorSecondary: string;
301
308
  borderSecondary: string;
@@ -417,8 +424,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
417
424
  caretColorSecondary: string;
418
425
  filterCounterTextColor: string;
419
426
  filterCounterTextColorDisabled: string;
427
+ filterCounterGap: string;
428
+ filterSuffixWrapperGap: string;
420
429
  arrowColorSecondary: string;
421
430
  clearColorSecondary: string;
431
+ loadingColorSecondary: string;
422
432
  colorSecondary: string;
423
433
  textColorSecondary: string;
424
434
  borderSecondary: string;
@@ -543,8 +553,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
543
553
  caretColorSecondary: string;
544
554
  filterCounterTextColor: string;
545
555
  filterCounterTextColorDisabled: string;
556
+ filterCounterGap: string;
557
+ filterSuffixWrapperGap: string;
546
558
  arrowColorSecondary: string;
547
559
  clearColorSecondary: string;
560
+ loadingColorSecondary: string;
548
561
  colorSecondary: string;
549
562
  textColorSecondary: string;
550
563
  borderSecondary: string;
@@ -707,8 +720,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
707
720
  '--u-caret-color-secondary': string;
708
721
  '--u-filter-counter-text-color': string;
709
722
  '--u-filter-counter-text-color-disabled': string;
723
+ '--u-filter-counter-gap': string;
724
+ '--u-suffix-wrapper-gap': string;
710
725
  '--u-arrow-color-secondary': string;
711
726
  '--u-clear-color-secondary': string;
727
+ '--u-loading-color-secondary': string;
712
728
  '--u-color-secondary': string;
713
729
  '--u-text-color-secondary': string;
714
730
  '--u-border-secondary': string;
@@ -814,6 +830,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
814
830
  round: BooleanConstructor;
815
831
  counter: BooleanConstructor;
816
832
  secondary: BooleanConstructor;
833
+ autoWidth: BooleanConstructor;
817
834
  account: BooleanConstructor;
818
835
  theme: PropType<import("../../../_mixins").Theme<"InternalSelection", {
819
836
  paddingTiny: string;
@@ -897,8 +914,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
897
914
  caretColorSecondary: string;
898
915
  filterCounterTextColor: string;
899
916
  filterCounterTextColorDisabled: string;
917
+ filterCounterGap: string;
918
+ filterSuffixWrapperGap: string;
900
919
  arrowColorSecondary: string;
901
920
  clearColorSecondary: string;
921
+ loadingColorSecondary: string;
902
922
  colorSecondary: string;
903
923
  textColorSecondary: string;
904
924
  borderSecondary: string;
@@ -1020,8 +1040,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1020
1040
  caretColorSecondary: string;
1021
1041
  filterCounterTextColor: string;
1022
1042
  filterCounterTextColorDisabled: string;
1043
+ filterCounterGap: string;
1044
+ filterSuffixWrapperGap: string;
1023
1045
  arrowColorSecondary: string;
1024
1046
  clearColorSecondary: string;
1047
+ loadingColorSecondary: string;
1025
1048
  colorSecondary: string;
1026
1049
  textColorSecondary: string;
1027
1050
  borderSecondary: string;
@@ -1143,8 +1166,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1143
1166
  caretColorSecondary: string;
1144
1167
  filterCounterTextColor: string;
1145
1168
  filterCounterTextColorDisabled: string;
1169
+ filterCounterGap: string;
1170
+ filterSuffixWrapperGap: string;
1146
1171
  arrowColorSecondary: string;
1147
1172
  clearColorSecondary: string;
1173
+ loadingColorSecondary: string;
1148
1174
  colorSecondary: string;
1149
1175
  textColorSecondary: string;
1150
1176
  borderSecondary: string;
@@ -1202,6 +1228,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1202
1228
  filled: boolean;
1203
1229
  ignoreComposition: boolean;
1204
1230
  counter: boolean;
1231
+ autoWidth: boolean;
1205
1232
  account: boolean;
1206
1233
  autofocus: boolean;
1207
1234
  pattern: string;
@@ -13,9 +13,11 @@ const tag_1 = require("../../../tag");
13
13
  const account_option_1 = __importDefault(require("../../account-option"));
14
14
  const clear_1 = __importDefault(require("../../clear"));
15
15
  const icon_1 = require("../../icon");
16
+ const loading_1 = __importDefault(require("../../loading"));
16
17
  const skeleton_1 = __importDefault(require("../../skeleton"));
17
18
  const suffix_1 = __importDefault(require("../../suffix"));
18
19
  const styles_1 = require("../styles");
20
+ const CounterPlaceholder_1 = __importDefault(require("./SelectionParts/CounterPlaceholder/CounterPlaceholder"));
19
21
  const index_cssr_1 = __importDefault(require("./styles/index.cssr"));
20
22
  exports.default = (0, vue_1.defineComponent)({
21
23
  name: 'InternalSelection',
@@ -43,7 +45,7 @@ exports.default = (0, vue_1.defineComponent)({
43
45
  }, loading: Boolean, loadingSkeleton: Boolean, autofocus: Boolean, showArrow: {
44
46
  type: Boolean,
45
47
  default: true
46
- }, inputProps: Object, focused: Boolean, filled: Boolean, renderTag: Function, onKeydown: Function, onClick: Function, onBlur: Function, onFocus: Function, onDeleteOption: Function, maxTagCount: [String, Number], ellipsisTagPopoverProps: Object, onClear: Function, onPatternInput: Function, onPatternFocus: Function, onPatternBlur: Function, renderLabel: Function, renderTagLabel: Function, status: String, inlineThemeDisabled: Boolean, ignoreComposition: { type: Boolean, default: true }, onResize: Function, round: Boolean, counter: Boolean, secondary: Boolean, account: Boolean }),
48
+ }, inputProps: Object, focused: Boolean, filled: Boolean, renderTag: Function, onKeydown: Function, onClick: Function, onBlur: Function, onFocus: Function, onDeleteOption: Function, maxTagCount: [String, Number], ellipsisTagPopoverProps: Object, onClear: Function, onPatternInput: Function, onPatternFocus: Function, onPatternBlur: Function, renderLabel: Function, renderTagLabel: Function, status: String, inlineThemeDisabled: Boolean, ignoreComposition: { type: Boolean, default: true }, onResize: Function, round: Boolean, counter: Boolean, secondary: Boolean, autoWidth: Boolean, account: Boolean }),
47
49
  setup(props) {
48
50
  const patternInputMirrorRef = (0, vue_1.ref)(null);
49
51
  const patternInputRef = (0, vue_1.ref)(null);
@@ -364,7 +366,7 @@ exports.default = (0, vue_1.defineComponent)({
364
366
  // clear
365
367
  clearColor, clearColorHover, clearColorPressed,
366
368
  // secondary
367
- arrowColorSecondary, clearColorSecondary, colorSecondary, textColorSecondary, borderSecondary, arrowColorDisabledSecondary, clearColorDisabledSecondary, colorDisabledSecondary, textColorDisabledSecondary, borderDisabledSecondary, arrowColorHoverSecondary, clearColorHoverSecondary, colorHoverSecondary, textColorHoverSecondary, borderHoverSecondary, filterCounterTextColor, filterCounterTextColorDisabled, caretColorSecondary, arrowColorActiveSecondary, clearColorActiveSecondary, colorActiveSecondary, textColorActiveSecondary, borderActiveSecondary, arrowColorFocusSecondary, clearColorFocusSecondary, colorFocusSecondary, textColorFocusSecondary, borderFocusSecondary, borderFilled, colorFilled, [(0, _utils_1.createKey)('clearSize', size)]: clearSize, [(0, _utils_1.createKey)('arrowSize', size)]: arrowSize, [(0, _utils_1.createKey)('padding', size)]: padding, [(0, _utils_1.createKey)('borderRadius', size)]: borderRadius, [(0, _utils_1.createKey)('height', size)]: height, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('lineHeight', size)]: lineHeight } } = themeRef.value;
369
+ arrowColorSecondary, clearColorSecondary, loadingColorSecondary, colorSecondary, textColorSecondary, borderSecondary, arrowColorDisabledSecondary, clearColorDisabledSecondary, colorDisabledSecondary, textColorDisabledSecondary, borderDisabledSecondary, arrowColorHoverSecondary, clearColorHoverSecondary, colorHoverSecondary, textColorHoverSecondary, borderHoverSecondary, filterCounterTextColor, filterCounterTextColorDisabled, filterCounterGap, filterSuffixWrapperGap, caretColorSecondary, arrowColorActiveSecondary, clearColorActiveSecondary, colorActiveSecondary, textColorActiveSecondary, borderActiveSecondary, arrowColorFocusSecondary, clearColorFocusSecondary, colorFocusSecondary, textColorFocusSecondary, borderFocusSecondary, borderFilled, colorFilled, [(0, _utils_1.createKey)('clearSize', size)]: clearSize, [(0, _utils_1.createKey)('arrowSize', size)]: arrowSize, [(0, _utils_1.createKey)('padding', size)]: padding, [(0, _utils_1.createKey)('borderRadius', size)]: borderRadius, [(0, _utils_1.createKey)('height', size)]: height, [(0, _utils_1.createKey)('fontSize', size)]: fontSize, [(0, _utils_1.createKey)('lineHeight', size)]: lineHeight } } = themeRef.value;
368
370
  const { top: paddingTop, right: paddingRight, bottom: paddingBottom, left: paddingLeft } = (0, seemly_1.getPadding)(padding);
369
371
  return {
370
372
  '--u-bezier': cubicBezierEaseInOut,
@@ -432,8 +434,11 @@ exports.default = (0, vue_1.defineComponent)({
432
434
  '--u-caret-color-secondary': caretColorSecondary,
433
435
  '--u-filter-counter-text-color': filterCounterTextColor,
434
436
  '--u-filter-counter-text-color-disabled': filterCounterTextColorDisabled,
437
+ '--u-filter-counter-gap': filterCounterGap,
438
+ '--u-suffix-wrapper-gap': filterSuffixWrapperGap,
435
439
  '--u-arrow-color-secondary': arrowColorSecondary,
436
440
  '--u-clear-color-secondary': clearColorSecondary,
441
+ '--u-loading-color-secondary': loadingColorSecondary,
437
442
  '--u-color-secondary': colorSecondary,
438
443
  '--u-text-color-secondary': textColorSecondary,
439
444
  '--u-border-secondary': borderSecondary,
@@ -526,17 +531,30 @@ exports.default = (0, vue_1.defineComponent)({
526
531
  const maxTagCountNumeric = typeof maxTagCount === 'number';
527
532
  const useMaxTagCount = maxTagCountResponsive || maxTagCountNumeric;
528
533
  const filterCounterEl = this.filterCounterVisible && !this.disabled ? ((0, vue_1.h)("div", { class: [`${clsPrefix}-base-selection__filter-counter`] }, this.filterCounterLength)) : null;
529
- const clear = this.filterCounterClearable ? ((0, vue_1.h)(clear_1.default, { clsPrefix: clsPrefix, show: true, onClear: this.handleClear })) : null;
534
+ const clear = this.filterCounterVisible && this.loading ? ((0, vue_1.h)(loading_1.default, { clsPrefix: clsPrefix, class: `${clsPrefix}-base-suffix`, strokeWidth: 24, scale: 0.85, show: true })) : this.filterCounterClearable ? ((0, vue_1.h)(clear_1.default, { clsPrefix: clsPrefix, show: true, onClear: this.handleClear })) : null;
535
+ const suffixShowArrow = this.showArrow || (this.counter && this.filterCounterLength === 0);
536
+ const suffixLoading = this.loading && !this.filterCounterVisible;
530
537
  const suffix = ((0, vue_1.h)(_utils_1.Wrapper, null, {
531
538
  default: () => ((0, vue_1.h)("div", { class: [`${clsPrefix}-base-selection__suffix-wrapper`] },
532
- (0, vue_1.h)(suffix_1.default, { clsPrefix: clsPrefix, loading: this.loading, showArrow: this.showArrow
533
- || (this.counter && this.filterCounterLength === 0), showClear: this.showSuffixClear, onClear: this.handleClear }, {
539
+ suffixShowArrow ? ((0, vue_1.h)(suffix_1.default, { clsPrefix: clsPrefix, loading: suffixLoading, showArrow: suffixShowArrow, showClear: this.showSuffixClear, onClear: this.handleClear }, {
534
540
  default: () => { var _a, _b; return [(_b = (_a = this.$slots).arrow) === null || _b === void 0 ? void 0 : _b.call(_a)]; }
535
- }),
541
+ })) : null,
536
542
  filterCounterEl,
537
543
  clear))
538
544
  }));
539
545
  let body;
546
+ const renderVisibleLabel = () => {
547
+ if (renderTag) {
548
+ return renderTag({
549
+ option: this.selectedOption,
550
+ handleClose: () => { }
551
+ });
552
+ }
553
+ const label = renderLabel
554
+ ? renderLabel(this.selectedOption, true)
555
+ : (0, _utils_1.render)(this.label, this.selectedOption, true);
556
+ return account ? ((0, vue_1.h)(account_option_1.default, Object.assign({}, this.selectedOption, { label: label }))) : (label);
557
+ };
540
558
  if (multiple) {
541
559
  const { labelField } = this;
542
560
  const createTag = (option) => {
@@ -581,7 +599,7 @@ exports.default = (0, vue_1.defineComponent)({
581
599
  })));
582
600
  }
583
601
  }
584
- const tags = this.filterCounterVisible ? (this.pattern ? null : (this.placeholder)) : maxTagCountResponsive ? (filterable ? ((0, vue_1.h)(vueuc_1.VOverflow, { ref: "overflowRef", updateCounter: this.updateCounter, getCounter: this.getCounter, getTail: this.getTail, style: {
602
+ const tags = this.filterCounterVisible ? null : maxTagCountResponsive ? (filterable ? ((0, vue_1.h)(vueuc_1.VOverflow, { ref: "overflowRef", updateCounter: this.updateCounter, getCounter: this.getCounter, getTail: this.getTail, style: {
585
603
  width: '100%',
586
604
  display: 'flex',
587
605
  overflow: 'hidden'
@@ -605,36 +623,27 @@ exports.default = (0, vue_1.defineComponent)({
605
623
  const popoverProps = useMaxTagCount
606
624
  ? Object.assign({ show: this.showTagsPanel, trigger: 'hover', overlap: true, placement: 'top', width: 'trigger', onUpdateShow: this.onPopoverUpdateShow, theme: this.mergedTheme.peers.Popover, themeOverrides: this.mergedTheme.peerOverrides.Popover }, ellipsisTagPopoverProps)
607
625
  : null;
608
- const showPlaceholder = this.selected
626
+ const showPlaceholder = this.selected && !this.filterCounterVisible
609
627
  ? false
610
628
  : this.active
611
629
  ? !this.pattern && !this.isComposing
612
630
  : true;
613
631
  const placeholder = showPlaceholder ? ((0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-placeholder ${clsPrefix}-base-selection-overlay` },
614
632
  (0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-placeholder__inner` }, this.placeholder))) : null;
615
- const popoverTrigger = filterable ? ((0, vue_1.h)("div", { ref: "patternInputWrapperRef", class: `${clsPrefix}-base-selection-tags` },
616
- tags,
617
- maxTagCountResponsive ? null : input,
618
- suffix)) : ((0, vue_1.h)("div", { ref: "multipleElRef", class: `${clsPrefix}-base-selection-tags`, tabindex: disabled ? undefined : 0 },
619
- tags,
633
+ const counterPlaceholderHidden = !!(this.pattern || this.isComposing);
634
+ const counterPlaceholder = this.filterCounterVisible ? ((0, vue_1.h)(CounterPlaceholder_1.default, { clsPrefix: clsPrefix, placeholder: this.placeholder, "placeholder-hidden": counterPlaceholderHidden, input: input })) : null;
635
+ const popoverTrigger = filterable ? ((0, vue_1.h)("div", { ref: "patternInputWrapperRef", class: `${clsPrefix}-base-selection-tags` }, counterPlaceholder !== null && counterPlaceholder !== void 0 ? counterPlaceholder : tags,
636
+ counterPlaceholder || maxTagCountResponsive ? null : input,
637
+ suffix)) : ((0, vue_1.h)("div", { ref: "multipleElRef", class: `${clsPrefix}-base-selection-tags`, tabindex: disabled ? undefined : 0 }, counterPlaceholder !== null && counterPlaceholder !== void 0 ? counterPlaceholder : tags,
620
638
  suffix));
621
639
  body = ((0, vue_1.h)(vue_1.Fragment, null,
622
640
  useMaxTagCount ? ((0, vue_1.h)(popover_1.UPopover, Object.assign({}, popoverProps, { scrollable: true, style: "max-height: calc(var(--v-target-height) * 6.6);" }), {
623
641
  trigger: () => popoverTrigger,
624
642
  default: renderPopover
625
643
  })) : (popoverTrigger),
626
- placeholder));
644
+ counterPlaceholder ? null : placeholder));
627
645
  }
628
646
  else {
629
- let children;
630
- if (this.label !== undefined) {
631
- const label = renderLabel
632
- ? renderLabel(this.selectedOption, true)
633
- : (0, _utils_1.render)(this.label, this.selectedOption, true);
634
- children
635
- = (account && ((0, vue_1.h)(account_option_1.default, Object.assign({}, this.selectedOption, { label: label }))))
636
- || label;
637
- }
638
647
  if (filterable) {
639
648
  const hasInput = this.pattern || this.isComposing;
640
649
  const isAccountFocused = this.patternInputFocused && this.account;
@@ -643,12 +652,7 @@ exports.default = (0, vue_1.defineComponent)({
643
652
  body = ((0, vue_1.h)("div", { ref: "patternInputWrapperRef", class: `${clsPrefix}-base-selection-label` },
644
653
  (0, vue_1.h)("input", Object.assign({}, this.inputProps, { ref: "patternInputRef", class: `${clsPrefix}-base-selection-input`, value: this.active ? this.pattern : '', placeholder: "", readonly: disabled, disabled: disabled, tabindex: -1, autofocus: this.autofocus, onFocus: this.handlePatternInputFocus, onBlur: this.handlePatternInputBlur, onInput: this.handlePatternInputInput, onCompositionstart: this.handleCompositionStart, onCompositionend: this.handleCompositionEnd })),
645
654
  showSelectedLabel ? ((0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-label__render-label ${clsPrefix}-base-selection-overlay`, key: "input" },
646
- (0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-overlay__wrapper` }, renderTag
647
- ? renderTag({
648
- option: this.selectedOption,
649
- handleClose: () => { }
650
- })
651
- : children))) : null,
655
+ (0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-overlay__wrapper` }, renderVisibleLabel()))) : null,
652
656
  showPlaceholder ? ((0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-placeholder ${clsPrefix}-base-selection-overlay`, key: "placeholder" },
653
657
  (0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-overlay__wrapper` }, this.filterablePlaceholder))) : null,
654
658
  suffix));
@@ -656,12 +660,7 @@ exports.default = (0, vue_1.defineComponent)({
656
660
  else {
657
661
  body = ((0, vue_1.h)("div", { ref: "singleElRef", class: `${clsPrefix}-base-selection-label`, tabindex: this.disabled ? undefined : 0 },
658
662
  this.label !== undefined ? ((0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-input`, title: (0, _utils_1.getTitleAttribute)(this.label), key: "input" },
659
- (0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-input__content` }, renderTag
660
- ? renderTag({
661
- option: this.selectedOption,
662
- handleClose: () => { }
663
- })
664
- : children))) : ((0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-placeholder ${clsPrefix}-base-selection-overlay`, key: "placeholder" },
663
+ (0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-input__content` }, renderVisibleLabel()))) : ((0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-placeholder ${clsPrefix}-base-selection-overlay`, key: "placeholder" },
665
664
  (0, vue_1.h)("div", { class: `${clsPrefix}-base-selection-placeholder__inner` }, this.placeholder))),
666
665
  suffix));
667
666
  }
@@ -674,10 +673,12 @@ exports.default = (0, vue_1.defineComponent)({
674
673
  [`${clsPrefix}-base-selection--active`]: this.active,
675
674
  [`${clsPrefix}-base-selection--secondary`]: this.secondary,
676
675
  [`${clsPrefix}-base-selection--secondary-selected`]: this.secondary && this.selected,
676
+ [`${clsPrefix}-base-selection--counter-selected`]: this.filterCounterVisible,
677
677
  [`${clsPrefix}-base-selection--selected`]: this.selected || (this.active && this.pattern),
678
678
  [`${clsPrefix}-base-selection--disabled`]: this.disabled,
679
679
  [`${clsPrefix}-base-selection--multiple`]: this.multiple,
680
680
  [`${clsPrefix}-base-selection--filled`]: this.filled,
681
+ [`${clsPrefix}-base-selection--auto-width`]: this.autoWidth,
681
682
  [`${clsPrefix}-base-selection--skeleton`]: this.loadingSkeleton,
682
683
  // focus is not controlled by selection itself since it always need
683
684
  // to be managed together with menu. provide :focus style will cause
@@ -689,6 +690,13 @@ exports.default = (0, vue_1.defineComponent)({
689
690
  `${clsPrefix}-base-selection__loading--skeleton`
690
691
  ] })) : ([
691
692
  body,
693
+ this.autoWidth ? ((0, vue_1.h)("div", { "aria-hidden": "true", class: [
694
+ `${clsPrefix}-base-selection-overlay`,
695
+ `${clsPrefix}-base-selection-placeholder`,
696
+ `${clsPrefix}-base-selection__sizer`
697
+ ] },
698
+ (0, vue_1.h)("div", null, this.placeholder),
699
+ !this.multiple && this.selectedOption ? ((0, vue_1.h)("div", null, renderVisibleLabel())) : null)) : null,
692
700
  bordered ? ((0, vue_1.h)("div", { class: `${clsPrefix}-base-selection__border` })) : null,
693
701
  bordered ? ((0, vue_1.h)("div", { class: `${clsPrefix}-base-selection__state-border` })) : null
694
702
  ])));
@@ -0,0 +1,35 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ readonly clsPrefix: {
3
+ readonly type: StringConstructor;
4
+ readonly required: true;
5
+ };
6
+ readonly placeholder: {
7
+ readonly type: StringConstructor;
8
+ readonly default: "";
9
+ };
10
+ readonly placeholderHidden: {
11
+ readonly type: BooleanConstructor;
12
+ };
13
+ readonly input: {
14
+ readonly type: import("vue").PropType<import("vue").VNode | null>;
15
+ };
16
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
+ readonly clsPrefix: {
18
+ readonly type: StringConstructor;
19
+ readonly required: true;
20
+ };
21
+ readonly placeholder: {
22
+ readonly type: StringConstructor;
23
+ readonly default: "";
24
+ };
25
+ readonly placeholderHidden: {
26
+ readonly type: BooleanConstructor;
27
+ };
28
+ readonly input: {
29
+ readonly type: import("vue").PropType<import("vue").VNode | null>;
30
+ };
31
+ }>> & Readonly<{}>, {
32
+ readonly placeholder: string;
33
+ readonly placeholderHidden: boolean;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
35
+ export default _default;
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const vue_1 = require("vue");
4
+ const counter_placeholder_types_1 = require("./counter-placeholder.types");
5
+ exports.default = (0, vue_1.defineComponent)({
6
+ name: 'CounterPlaceholder',
7
+ props: counter_placeholder_types_1.counterPlaceholderProps,
8
+ render() {
9
+ return ((0, vue_1.h)("div", { class: `${this.clsPrefix}-base-selection-placeholder ${this.clsPrefix}-base-selection__counter-placeholder` },
10
+ (0, vue_1.h)("span", { style: this.placeholderHidden ? { visibility: 'hidden' } : undefined }, this.placeholder),
11
+ this.input));
12
+ }
13
+ });
@@ -0,0 +1,17 @@
1
+ import type { PropType, VNode } from 'vue';
2
+ export declare const counterPlaceholderProps: {
3
+ readonly clsPrefix: {
4
+ readonly type: StringConstructor;
5
+ readonly required: true;
6
+ };
7
+ readonly placeholder: {
8
+ readonly type: StringConstructor;
9
+ readonly default: "";
10
+ };
11
+ readonly placeholderHidden: {
12
+ readonly type: BooleanConstructor;
13
+ };
14
+ readonly input: {
15
+ readonly type: PropType<VNode | null>;
16
+ };
17
+ };
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.counterPlaceholderProps = void 0;
4
+ exports.counterPlaceholderProps = {
5
+ clsPrefix: {
6
+ type: String,
7
+ required: true
8
+ },
9
+ placeholder: {
10
+ type: String,
11
+ default: ''
12
+ },
13
+ placeholderHidden: {
14
+ type: Boolean
15
+ },
16
+ input: {
17
+ type: Object
18
+ }
19
+ };
@@ -62,6 +62,7 @@ const cssr_1 = require("../../../../_utils/cssr");
62
62
  // --u-filter-counter-text-color-disabled
63
63
  // --u-arrow-color-secondary
64
64
  // --u-clear-color-secondary
65
+ // --u-loading-color-secondary
65
66
  // --u-color-secondary
66
67
  // --u-text-color-secondary
67
68
  // --u-border-secondary
@@ -98,6 +99,8 @@ function generateSecondaryStates(state) {
98
99
  `)]), (0, cssr_1.cB)('base-selection-tags', `
99
100
  background-color: var(--u-color${state}-secondary);
100
101
  color: var(--u-text-color${state}-secondary);
102
+ `), (0, cssr_1.cB)('base-selection-placeholder', `
103
+ color: var(--u-text-color${state}-secondary);
101
104
  `), (0, cssr_1.cE)('border,state-border', `
102
105
  border: var(--u-border${state}-secondary);
103
106
  `), (0, cssr_1.cB)('base-clear', [(0, cssr_1.cE)('clear', `
@@ -145,12 +148,11 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('base-selection', `
145
148
  top: 50%;
146
149
  transform: translateY(-50%);
147
150
  right: var(--u-padding-right);
151
+ gap: var(--u-suffix-wrapper-gap);
148
152
  `, [(0, cssr_1.cB)('base-clear', `
149
153
  font-size: var(--u-clear-size);
150
154
  `)]), (0, cssr_1.cE)('filter-counter', `
151
- width: 28px;
152
- margin-left: 6px;
153
- padding-left: 2px;
155
+ width: 13px;
154
156
  text-align: center;
155
157
  color: var(--u-filter-counter-text-color);
156
158
  `), (0, cssr_1.cB)('base-suffix', `
@@ -240,6 +242,8 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('base-selection', `
240
242
  color: var(--u-text-color);
241
243
  `)]), (0, cssr_1.cNotM)('disabled', [(0, cssr_1.cM)('secondary', [(0, cssr_1.cB)('base-selection-placeholder', `
242
244
  color: var(--u-text-color);
245
+ `)]), (0, cssr_1.cM)('secondary-selected', [(0, cssr_1.cB)('base-selection-placeholder', `
246
+ color: var(--u-text-color-secondary);
243
247
  `)]), (0, cssr_1.c)('&:hover', [(0, cssr_1.cE)('state-border', `
244
248
  box-shadow: var(--u-box-shadow-hover);
245
249
  border: var(--u-border-hover);
@@ -329,6 +333,8 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('base-selection', `
329
333
  caret-color: var(--u-caret-color-secondary);
330
334
  `), (0, cssr_1.cB)('base-selection-tags', `
331
335
  padding-right: calc(var(--u-padding-right) + var(--u-arrow-size) + 37px + var(--u-clear-size));
336
+ `), (0, cssr_1.cB)('base-loading', `
337
+ color: var(--u-loading-color-secondary);
332
338
  `), (0, cssr_1.cNotM)('disabled', [(0, cssr_1.c)('&:hover', [generateSecondaryStates('-hover'), (0, cssr_1.cB)('base-clear', '--u-clear-color-hover: var(--u-clear-color-hover-secondary)')]), (0, cssr_1.cM)('focus', [generateSecondaryStates('-focus')]), (0, cssr_1.cM)('active', [generateSecondaryStates('-active')])])]), ['warning', 'error'].map(status => (0, cssr_1.cM)(`${status}-status`, [(0, cssr_1.cE)('state-border', `border: var(--u-border-${status});`), (0, cssr_1.cNotM)('secondary-selected', [(0, cssr_1.cNotM)('disabled', [(0, cssr_1.cNotM)('filled', [(0, cssr_1.cM)('active', [(0, cssr_1.cB)('base-selection-label', `background-color: var(--u-color-active-${status});`), (0, cssr_1.cB)('base-selection-tags', `background-color: var(--u-color-active-${status});`)])])])]), (0, cssr_1.cNotM)('disabled', [(0, cssr_1.cM)('active', [(0, cssr_1.cE)('state-border', `
333
339
  box-shadow: var(--u-box-shadow-active-${status});
334
340
  border: var(--u-border-active-${status});
@@ -347,7 +353,42 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('base-selection', `
347
353
  zIndex: 2,
348
354
  borderRadius: 'var(--u-border-radius)',
349
355
  cursor: 'wait'
350
- })])]), (0, cssr_1.cB)('base-selection-popover', `
356
+ })]), (0, cssr_1.cM)('auto-width', [(0, cssr_1.cB)('base-selection-label, base-selection-tags', `
357
+ width: 0;
358
+ min-width: 100%;
359
+ `), (0, cssr_1.cE)('sizer', `
360
+ position: static;
361
+ display: block;
362
+ height: 0;
363
+ padding-top: 0;
364
+ padding-bottom: 0;
365
+ overflow: hidden;
366
+ visibility: hidden;
367
+ `, [(0, cssr_1.cB)('base-account-option', [(0, cssr_1.cE)('wrap', `
368
+ width: auto;
369
+ flex-grow: 0;
370
+ `)])]), (0, cssr_1.cNotM)('secondary-selected', [(0, cssr_1.cB)('base-selection-placeholder', `
371
+ padding-right: calc(var(--u-padding-right) + var(--u-arrow-size) + 8px);
372
+ `)]), (0, cssr_1.cM)('counter-selected', [(0, cssr_1.cB)('base-selection-tags', 'width: auto;')])]), (0, cssr_1.cM)('counter-selected', [(0, cssr_1.cB)('base-selection-tags', `
373
+ flex-wrap: nowrap;
374
+ gap: var(--u-filter-counter-gap);
375
+ padding-right: var(--u-padding-right);
376
+ `), (0, cssr_1.cE)('counter-placeholder', `
377
+ position: relative;
378
+ flex: 1 1 auto;
379
+ min-width: 0;
380
+ white-space: nowrap;
381
+ overflow: hidden;
382
+ text-overflow: ellipsis;
383
+ `, [(0, cssr_1.cB)('base-selection-input-tag', `
384
+ position: absolute;
385
+ top: 0;
386
+ left: 0;
387
+ `)]), (0, cssr_1.cE)('suffix-wrapper', `
388
+ position: static;
389
+ transform: none;
390
+ flex-shrink: 0;
391
+ `)])]), (0, cssr_1.cB)('base-selection-popover', `
351
392
  margin-bottom: -3px;
352
393
  display: flex;
353
394
  flex-wrap: wrap;
@@ -81,8 +81,11 @@ export declare function self(vars: ThemeCommonVars): {
81
81
  caretColorSecondary: string;
82
82
  filterCounterTextColor: string;
83
83
  filterCounterTextColorDisabled: string;
84
+ filterCounterGap: string;
85
+ filterSuffixWrapperGap: string;
84
86
  arrowColorSecondary: string;
85
87
  clearColorSecondary: string;
88
+ loadingColorSecondary: string;
86
89
  colorSecondary: string;
87
90
  textColorSecondary: string;
88
91
  borderSecondary: string;
@@ -190,8 +193,11 @@ declare const internalSelectionLight: import("../../../_mixins").Theme<"Internal
190
193
  caretColorSecondary: string;
191
194
  filterCounterTextColor: string;
192
195
  filterCounterTextColorDisabled: string;
196
+ filterCounterGap: string;
197
+ filterSuffixWrapperGap: string;
193
198
  arrowColorSecondary: string;
194
199
  clearColorSecondary: string;
200
+ loadingColorSecondary: string;
195
201
  colorSecondary: string;
196
202
  textColorSecondary: string;
197
203
  borderSecondary: string;
@@ -102,8 +102,11 @@ function self(vars) {
102
102
  caretColorSecondary: elementsPrimary,
103
103
  filterCounterTextColor: textSecondary,
104
104
  filterCounterTextColorDisabled: textSecondary,
105
+ filterCounterGap: '8px',
106
+ filterSuffixWrapperGap: '4px',
105
107
  arrowColorSecondary: elementsSecondary,
106
108
  clearColorSecondary: elementsSecondary,
109
+ loadingColorSecondary: elementsSecondary,
107
110
  colorSecondary: elementsPrimary,
108
111
  textColorSecondary: textQuaternary,
109
112
  borderSecondary: 'none',
@@ -390,8 +390,11 @@ export declare const cascaderProps: {
390
390
  caretColorSecondary: string;
391
391
  filterCounterTextColor: string;
392
392
  filterCounterTextColorDisabled: string;
393
+ filterCounterGap: string;
394
+ filterSuffixWrapperGap: string;
393
395
  arrowColorSecondary: string;
394
396
  clearColorSecondary: string;
397
+ loadingColorSecondary: string;
395
398
  colorSecondary: string;
396
399
  textColorSecondary: string;
397
400
  borderSecondary: string;
@@ -802,8 +805,11 @@ export declare const cascaderProps: {
802
805
  caretColorSecondary: string;
803
806
  filterCounterTextColor: string;
804
807
  filterCounterTextColorDisabled: string;
808
+ filterCounterGap: string;
809
+ filterSuffixWrapperGap: string;
805
810
  arrowColorSecondary: string;
806
811
  clearColorSecondary: string;
812
+ loadingColorSecondary: string;
807
813
  colorSecondary: string;
808
814
  textColorSecondary: string;
809
815
  borderSecondary: string;
@@ -1214,8 +1220,11 @@ export declare const cascaderProps: {
1214
1220
  caretColorSecondary: string;
1215
1221
  filterCounterTextColor: string;
1216
1222
  filterCounterTextColorDisabled: string;
1223
+ filterCounterGap: string;
1224
+ filterSuffixWrapperGap: string;
1217
1225
  arrowColorSecondary: string;
1218
1226
  clearColorSecondary: string;
1227
+ loadingColorSecondary: string;
1219
1228
  colorSecondary: string;
1220
1229
  textColorSecondary: string;
1221
1230
  borderSecondary: string;
@@ -1730,8 +1739,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1730
1739
  caretColorSecondary: string;
1731
1740
  filterCounterTextColor: string;
1732
1741
  filterCounterTextColorDisabled: string;
1742
+ filterCounterGap: string;
1743
+ filterSuffixWrapperGap: string;
1733
1744
  arrowColorSecondary: string;
1734
1745
  clearColorSecondary: string;
1746
+ loadingColorSecondary: string;
1735
1747
  colorSecondary: string;
1736
1748
  textColorSecondary: string;
1737
1749
  borderSecondary: string;
@@ -2142,8 +2154,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2142
2154
  caretColorSecondary: string;
2143
2155
  filterCounterTextColor: string;
2144
2156
  filterCounterTextColorDisabled: string;
2157
+ filterCounterGap: string;
2158
+ filterSuffixWrapperGap: string;
2145
2159
  arrowColorSecondary: string;
2146
2160
  clearColorSecondary: string;
2161
+ loadingColorSecondary: string;
2147
2162
  colorSecondary: string;
2148
2163
  textColorSecondary: string;
2149
2164
  borderSecondary: string;
@@ -2554,8 +2569,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
2554
2569
  caretColorSecondary: string;
2555
2570
  filterCounterTextColor: string;
2556
2571
  filterCounterTextColorDisabled: string;
2572
+ filterCounterGap: string;
2573
+ filterSuffixWrapperGap: string;
2557
2574
  arrowColorSecondary: string;
2558
2575
  clearColorSecondary: string;
2576
+ loadingColorSecondary: string;
2559
2577
  colorSecondary: string;
2560
2578
  textColorSecondary: string;
2561
2579
  borderSecondary: string;
@@ -3050,8 +3068,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3050
3068
  caretColorSecondary: string;
3051
3069
  filterCounterTextColor: string;
3052
3070
  filterCounterTextColorDisabled: string;
3071
+ filterCounterGap: string;
3072
+ filterSuffixWrapperGap: string;
3053
3073
  arrowColorSecondary: string;
3054
3074
  clearColorSecondary: string;
3075
+ loadingColorSecondary: string;
3055
3076
  colorSecondary: string;
3056
3077
  textColorSecondary: string;
3057
3078
  borderSecondary: string;
@@ -3783,8 +3804,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3783
3804
  caretColorSecondary: string;
3784
3805
  filterCounterTextColor: string;
3785
3806
  filterCounterTextColorDisabled: string;
3807
+ filterCounterGap: string;
3808
+ filterSuffixWrapperGap: string;
3786
3809
  arrowColorSecondary: string;
3787
3810
  clearColorSecondary: string;
3811
+ loadingColorSecondary: string;
3788
3812
  colorSecondary: string;
3789
3813
  textColorSecondary: string;
3790
3814
  borderSecondary: string;
@@ -4195,8 +4219,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4195
4219
  caretColorSecondary: string;
4196
4220
  filterCounterTextColor: string;
4197
4221
  filterCounterTextColorDisabled: string;
4222
+ filterCounterGap: string;
4223
+ filterSuffixWrapperGap: string;
4198
4224
  arrowColorSecondary: string;
4199
4225
  clearColorSecondary: string;
4226
+ loadingColorSecondary: string;
4200
4227
  colorSecondary: string;
4201
4228
  textColorSecondary: string;
4202
4229
  borderSecondary: string;
@@ -4607,8 +4634,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
4607
4634
  caretColorSecondary: string;
4608
4635
  filterCounterTextColor: string;
4609
4636
  filterCounterTextColorDisabled: string;
4637
+ filterCounterGap: string;
4638
+ filterSuffixWrapperGap: string;
4610
4639
  arrowColorSecondary: string;
4611
4640
  clearColorSecondary: string;
4641
+ loadingColorSecondary: string;
4612
4642
  colorSecondary: string;
4613
4643
  textColorSecondary: string;
4614
4644
  borderSecondary: string;