@uzum-tech/ui 2.4.1 → 2.4.3
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/dist/index.js +243 -74
- package/dist/index.mjs +244 -75
- package/dist/index.prod.js +3 -3
- package/dist/index.prod.mjs +3 -3
- package/es/_internal/selection/src/Selection.d.ts +27 -0
- package/es/_internal/selection/src/Selection.mjs +54 -26
- package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.d.ts +35 -0
- package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.mjs +15 -0
- package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.d.ts +17 -0
- package/es/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.mjs +16 -0
- package/es/_internal/selection/src/styles/index.cssr.mjs +45 -4
- package/es/_internal/selection/styles/light.d.ts +6 -0
- package/es/_internal/selection/styles/light.mjs +3 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.mjs +1 -1
- package/es/_utils/markdown/constants.d.ts +1 -0
- package/es/_utils/markdown/constants.mjs +1 -0
- package/es/_utils/markdown/index.d.ts +1 -1
- package/es/_utils/markdown/index.mjs +1 -1
- package/es/_utils/markdown/render-markdown.d.ts +3 -0
- package/es/_utils/markdown/render-markdown.mjs +18 -3
- package/es/_utils/vue/index.d.ts +1 -0
- package/es/_utils/vue/index.mjs +1 -0
- package/es/_utils/vue/resolve-reactive.d.ts +3 -0
- package/es/_utils/vue/resolve-reactive.mjs +9 -0
- package/es/cascader/src/Cascader.d.ts +30 -0
- package/es/cascader/src/CascaderMenu.d.ts +6 -0
- package/es/cascader/src/CascaderOption.d.ts +6 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +6 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +6 -0
- package/es/cascader/styles/light.d.ts +3 -0
- package/es/chat/src/Chat.d.ts +132 -0
- package/es/chat/src/ChatListItems.d.ts +45 -0
- package/es/chat/src/ChatListItems.mjs +16 -11
- package/es/chat/src/ChatMainArea.d.ts +45 -0
- package/es/chat/src/ChatMainArea.mjs +2 -1
- package/es/chat/src/ChatMessages.d.ts +46 -1
- package/es/chat/src/ChatMessages.mjs +6 -5
- package/es/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +36 -0
- package/es/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +9 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +36 -0
- package/es/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.mjs +2 -1
- package/es/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +9 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +36 -0
- package/es/chat/src/ChatParts/ChatHeader/ChatHeader.mjs +3 -6
- package/es/chat/src/ChatParts/ChatHeader/interface.d.ts +9 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +36 -0
- package/es/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +9 -0
- package/es/chat/src/ChatParts/Sidebar.d.ts +12 -0
- package/es/chat/src/interface.d.ts +26 -34
- package/es/chat/styles/dark.d.ts +3 -0
- package/es/chat/styles/light.d.ts +3 -0
- package/es/chat/tests/utils/constants.d.ts +12 -0
- package/es/chat/tests/utils/constants.mjs +12 -0
- package/es/chat/tests/utils/create-chat-item-mock.d.ts +2 -0
- package/es/chat/tests/utils/create-chat-item-mock.mjs +9 -0
- package/es/chat/tests/utils/create-chat-message-mock.d.ts +2 -0
- package/es/chat/tests/utils/create-chat-message-mock.mjs +13 -0
- package/es/components.d.ts +457 -4
- package/es/data-table/src/DataTable.d.ts +24 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +12 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +12 -0
- package/es/data-table/src/TableParts/Body.d.ts +12 -0
- package/es/data-table/src/TableParts/Header.d.ts +12 -0
- package/es/data-table/src/interface.d.ts +9 -0
- package/es/data-table/styles/light.d.ts +3 -0
- package/es/date-picker/src/DatePicker.d.ts +30 -0
- package/es/date-picker/src/panel/date.d.ts +6 -0
- package/es/date-picker/src/panel/daterange.d.ts +6 -0
- package/es/date-picker/src/panel/datetime.d.ts +6 -0
- package/es/date-picker/src/panel/datetimerange.d.ts +6 -0
- package/es/date-picker/src/panel/panelMonth.d.ts +24 -0
- package/es/date-picker/src/panel/panelMonthContent.d.ts +6 -0
- package/es/date-picker/src/panel/panelYear.d.ts +24 -0
- package/es/date-picker/src/panel/panelYearContent.d.ts +6 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +6 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +6 -0
- package/es/date-picker/styles/light.d.ts +3 -0
- package/es/date-picker-v2/src/DatePickerV2.d.ts +30 -0
- package/es/date-picker-v2/styles/dark.d.ts +3 -0
- package/es/date-picker-v2/styles/light.d.ts +3 -0
- package/es/editor/src/Editor.d.ts +18 -0
- package/es/editor/src/Editor.mjs +14 -2
- package/es/editor/src/EditorParts/EditorContent/EditorContent.d.ts +18 -0
- package/es/editor/src/EditorParts/EditorContent/interface.d.ts +9 -0
- package/es/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +21 -0
- package/es/editor/src/EditorParts/EditorToolbar/interface.d.ts +9 -0
- package/es/editor/src/interface.d.ts +9 -0
- package/es/editor/styles/dark.d.ts +3 -0
- package/es/editor/styles/light.d.ts +3 -0
- package/es/message-bubble/src/MessageBubble.d.ts +10 -10
- package/es/message-bubble/src/MessageBubble.mjs +13 -17
- package/es/message-bubble/src/interface.d.ts +5 -5
- package/es/message-bubble/src/interface.mjs +3 -3
- package/es/pagination/src/Pagination.d.ts +24 -0
- package/es/pagination/src/interface.d.ts +9 -0
- package/es/pagination/styles/light.d.ts +3 -0
- package/es/select/src/Select.d.ts +24 -0
- package/es/select/src/Select.mjs +2 -1
- package/es/select/src/interface.d.ts +10 -0
- package/es/select/src/interface.mjs +1 -0
- package/es/select/src/styles/index.cssr.mjs +4 -1
- package/es/select/styles/light.d.ts +3 -0
- package/es/tree-select/src/TreeSelect.d.ts +30 -0
- package/es/tree-select/styles/light.d.ts +3 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_internal/selection/src/Selection.d.ts +27 -0
- package/lib/_internal/selection/src/Selection.js +43 -35
- package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.d.ts +35 -0
- package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/CounterPlaceholder.js +13 -0
- package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.d.ts +17 -0
- package/lib/_internal/selection/src/SelectionParts/CounterPlaceholder/counter-placeholder.types.js +19 -0
- package/lib/_internal/selection/src/styles/index.cssr.js +45 -4
- package/lib/_internal/selection/styles/light.d.ts +6 -0
- package/lib/_internal/selection/styles/light.js +3 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +3 -1
- package/lib/_utils/markdown/constants.d.ts +1 -0
- package/lib/_utils/markdown/constants.js +2 -1
- package/lib/_utils/markdown/index.d.ts +1 -1
- package/lib/_utils/markdown/index.js +4 -1
- package/lib/_utils/markdown/render-markdown.d.ts +3 -0
- package/lib/_utils/markdown/render-markdown.js +20 -2
- package/lib/_utils/vue/index.d.ts +1 -0
- package/lib/_utils/vue/index.js +4 -1
- package/lib/_utils/vue/resolve-reactive.d.ts +3 -0
- package/lib/_utils/vue/resolve-reactive.js +17 -0
- package/lib/cascader/src/Cascader.d.ts +30 -0
- package/lib/cascader/src/CascaderMenu.d.ts +6 -0
- package/lib/cascader/src/CascaderOption.d.ts +6 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +6 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +6 -0
- package/lib/cascader/styles/light.d.ts +3 -0
- package/lib/chat/src/Chat.d.ts +132 -0
- package/lib/chat/src/ChatListItems.d.ts +45 -0
- package/lib/chat/src/ChatListItems.js +20 -17
- package/lib/chat/src/ChatMainArea.d.ts +45 -0
- package/lib/chat/src/ChatMainArea.js +2 -2
- package/lib/chat/src/ChatMessages.d.ts +46 -1
- package/lib/chat/src/ChatMessages.js +6 -5
- package/lib/chat/src/ChatParts/ChatAttachmentButton/ChatAttachmentButton.d.ts +36 -0
- package/lib/chat/src/ChatParts/ChatAttachmentButton/interface.d.ts +9 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.d.ts +36 -0
- package/lib/chat/src/ChatParts/ChatEditingBlock/ChatEditingBlock.js +4 -1
- package/lib/chat/src/ChatParts/ChatEditingBlock/interface.d.ts +9 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.d.ts +36 -0
- package/lib/chat/src/ChatParts/ChatHeader/ChatHeader.js +2 -2
- package/lib/chat/src/ChatParts/ChatHeader/interface.d.ts +9 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/ChatLegacyInput.d.ts +36 -0
- package/lib/chat/src/ChatParts/ChatLegacyInput/interface.d.ts +9 -0
- package/lib/chat/src/ChatParts/Sidebar.d.ts +12 -0
- package/lib/chat/src/interface.d.ts +26 -34
- package/lib/chat/styles/dark.d.ts +3 -0
- package/lib/chat/styles/light.d.ts +3 -0
- package/lib/chat/tests/utils/constants.d.ts +12 -0
- package/lib/chat/tests/utils/constants.js +15 -0
- package/lib/chat/tests/utils/create-chat-item-mock.d.ts +2 -0
- package/lib/chat/tests/utils/create-chat-item-mock.js +10 -0
- package/lib/chat/tests/utils/create-chat-message-mock.d.ts +2 -0
- package/lib/chat/tests/utils/create-chat-message-mock.js +14 -0
- package/lib/components.d.ts +457 -4
- package/lib/data-table/src/DataTable.d.ts +24 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +12 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +12 -0
- package/lib/data-table/src/TableParts/Body.d.ts +12 -0
- package/lib/data-table/src/TableParts/Header.d.ts +12 -0
- package/lib/data-table/src/interface.d.ts +9 -0
- package/lib/data-table/styles/light.d.ts +3 -0
- package/lib/date-picker/src/DatePicker.d.ts +30 -0
- package/lib/date-picker/src/panel/date.d.ts +6 -0
- package/lib/date-picker/src/panel/daterange.d.ts +6 -0
- package/lib/date-picker/src/panel/datetime.d.ts +6 -0
- package/lib/date-picker/src/panel/datetimerange.d.ts +6 -0
- package/lib/date-picker/src/panel/panelMonth.d.ts +24 -0
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +6 -0
- package/lib/date-picker/src/panel/panelYear.d.ts +24 -0
- package/lib/date-picker/src/panel/panelYearContent.d.ts +6 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +6 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +6 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +6 -0
- package/lib/date-picker/styles/light.d.ts +3 -0
- package/lib/date-picker-v2/src/DatePickerV2.d.ts +30 -0
- package/lib/date-picker-v2/styles/dark.d.ts +3 -0
- package/lib/date-picker-v2/styles/light.d.ts +3 -0
- package/lib/editor/src/Editor.d.ts +20 -2
- package/lib/editor/src/Editor.js +13 -1
- package/lib/editor/src/EditorParts/EditorContent/EditorContent.d.ts +18 -0
- package/lib/editor/src/EditorParts/EditorContent/interface.d.ts +9 -0
- package/lib/editor/src/EditorParts/EditorToolbar/EditorToolbar.d.ts +21 -0
- package/lib/editor/src/EditorParts/EditorToolbar/interface.d.ts +9 -0
- package/lib/editor/src/interface.d.ts +9 -0
- package/lib/editor/styles/dark.d.ts +3 -0
- package/lib/editor/styles/light.d.ts +3 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +10 -10
- package/lib/message-bubble/src/MessageBubble.js +15 -19
- package/lib/message-bubble/src/interface.d.ts +5 -5
- package/lib/message-bubble/src/interface.js +3 -3
- package/lib/pagination/src/Pagination.d.ts +24 -0
- package/lib/pagination/src/interface.d.ts +9 -0
- package/lib/pagination/styles/light.d.ts +3 -0
- package/lib/select/src/Select.d.ts +24 -0
- package/lib/select/src/Select.js +5 -2
- package/lib/select/src/interface.d.ts +10 -0
- package/lib/select/src/interface.js +1 -1
- package/lib/select/src/styles/index.cssr.js +3 -0
- package/lib/select/styles/light.d.ts +3 -0
- package/lib/tree-select/src/TreeSelect.d.ts +30 -0
- package/lib/tree-select/styles/light.d.ts +3 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +17 -7
|
@@ -155,6 +155,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
155
155
|
readonly round: BooleanConstructor;
|
|
156
156
|
readonly counter: BooleanConstructor;
|
|
157
157
|
readonly secondary: BooleanConstructor;
|
|
158
|
+
readonly autoWidth: BooleanConstructor;
|
|
158
159
|
readonly onChange: import("vue").PropType<import("../../_utils").MaybeArray<import("./interface").OnUpdateValue>>;
|
|
159
160
|
readonly items: import("vue").PropType<SelectMixedOption[]>;
|
|
160
161
|
readonly account: BooleanConstructor;
|
|
@@ -243,8 +244,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
243
244
|
caretColorSecondary: string;
|
|
244
245
|
filterCounterTextColor: string;
|
|
245
246
|
filterCounterTextColorDisabled: string;
|
|
247
|
+
filterCounterGap: string;
|
|
248
|
+
filterSuffixWrapperGap: string;
|
|
246
249
|
arrowColorSecondary: string;
|
|
247
250
|
clearColorSecondary: string;
|
|
251
|
+
loadingColorSecondary: string;
|
|
248
252
|
colorSecondary: string;
|
|
249
253
|
textColorSecondary: string;
|
|
250
254
|
borderSecondary: string;
|
|
@@ -558,8 +562,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
558
562
|
caretColorSecondary: string;
|
|
559
563
|
filterCounterTextColor: string;
|
|
560
564
|
filterCounterTextColorDisabled: string;
|
|
565
|
+
filterCounterGap: string;
|
|
566
|
+
filterSuffixWrapperGap: string;
|
|
561
567
|
arrowColorSecondary: string;
|
|
562
568
|
clearColorSecondary: string;
|
|
569
|
+
loadingColorSecondary: string;
|
|
563
570
|
colorSecondary: string;
|
|
564
571
|
textColorSecondary: string;
|
|
565
572
|
borderSecondary: string;
|
|
@@ -873,8 +880,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
873
880
|
caretColorSecondary: string;
|
|
874
881
|
filterCounterTextColor: string;
|
|
875
882
|
filterCounterTextColorDisabled: string;
|
|
883
|
+
filterCounterGap: string;
|
|
884
|
+
filterSuffixWrapperGap: string;
|
|
876
885
|
arrowColorSecondary: string;
|
|
877
886
|
clearColorSecondary: string;
|
|
887
|
+
loadingColorSecondary: string;
|
|
878
888
|
colorSecondary: string;
|
|
879
889
|
textColorSecondary: string;
|
|
880
890
|
borderSecondary: string;
|
|
@@ -1281,8 +1291,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1281
1291
|
caretColorSecondary: string;
|
|
1282
1292
|
filterCounterTextColor: string;
|
|
1283
1293
|
filterCounterTextColorDisabled: string;
|
|
1294
|
+
filterCounterGap: string;
|
|
1295
|
+
filterSuffixWrapperGap: string;
|
|
1284
1296
|
arrowColorSecondary: string;
|
|
1285
1297
|
clearColorSecondary: string;
|
|
1298
|
+
loadingColorSecondary: string;
|
|
1286
1299
|
colorSecondary: string;
|
|
1287
1300
|
textColorSecondary: string;
|
|
1288
1301
|
borderSecondary: string;
|
|
@@ -1848,6 +1861,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1848
1861
|
readonly round: BooleanConstructor;
|
|
1849
1862
|
readonly counter: BooleanConstructor;
|
|
1850
1863
|
readonly secondary: BooleanConstructor;
|
|
1864
|
+
readonly autoWidth: BooleanConstructor;
|
|
1851
1865
|
readonly onChange: import("vue").PropType<import("../../_utils").MaybeArray<import("./interface").OnUpdateValue>>;
|
|
1852
1866
|
readonly items: import("vue").PropType<SelectMixedOption[]>;
|
|
1853
1867
|
readonly account: BooleanConstructor;
|
|
@@ -1936,8 +1950,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1936
1950
|
caretColorSecondary: string;
|
|
1937
1951
|
filterCounterTextColor: string;
|
|
1938
1952
|
filterCounterTextColorDisabled: string;
|
|
1953
|
+
filterCounterGap: string;
|
|
1954
|
+
filterSuffixWrapperGap: string;
|
|
1939
1955
|
arrowColorSecondary: string;
|
|
1940
1956
|
clearColorSecondary: string;
|
|
1957
|
+
loadingColorSecondary: string;
|
|
1941
1958
|
colorSecondary: string;
|
|
1942
1959
|
textColorSecondary: string;
|
|
1943
1960
|
borderSecondary: string;
|
|
@@ -2251,8 +2268,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2251
2268
|
caretColorSecondary: string;
|
|
2252
2269
|
filterCounterTextColor: string;
|
|
2253
2270
|
filterCounterTextColorDisabled: string;
|
|
2271
|
+
filterCounterGap: string;
|
|
2272
|
+
filterSuffixWrapperGap: string;
|
|
2254
2273
|
arrowColorSecondary: string;
|
|
2255
2274
|
clearColorSecondary: string;
|
|
2275
|
+
loadingColorSecondary: string;
|
|
2256
2276
|
colorSecondary: string;
|
|
2257
2277
|
textColorSecondary: string;
|
|
2258
2278
|
borderSecondary: string;
|
|
@@ -2566,8 +2586,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2566
2586
|
caretColorSecondary: string;
|
|
2567
2587
|
filterCounterTextColor: string;
|
|
2568
2588
|
filterCounterTextColorDisabled: string;
|
|
2589
|
+
filterCounterGap: string;
|
|
2590
|
+
filterSuffixWrapperGap: string;
|
|
2569
2591
|
arrowColorSecondary: string;
|
|
2570
2592
|
clearColorSecondary: string;
|
|
2593
|
+
loadingColorSecondary: string;
|
|
2571
2594
|
colorSecondary: string;
|
|
2572
2595
|
textColorSecondary: string;
|
|
2573
2596
|
borderSecondary: string;
|
|
@@ -2835,6 +2858,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2835
2858
|
readonly showCheckmark: boolean;
|
|
2836
2859
|
readonly closeOnSelect: boolean | undefined;
|
|
2837
2860
|
readonly counter: boolean;
|
|
2861
|
+
readonly autoWidth: boolean;
|
|
2838
2862
|
readonly account: boolean;
|
|
2839
2863
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2840
2864
|
export default _default;
|
package/lib/select/src/Select.js
CHANGED
|
@@ -748,7 +748,10 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
748
748
|
renderFooterButton(primaryButtonProps, 'primary'))
|
|
749
749
|
];
|
|
750
750
|
};
|
|
751
|
-
return ((0, vue_1.h)("div", { ref: "selfElRef", class:
|
|
751
|
+
return ((0, vue_1.h)("div", { ref: "selfElRef", class: [
|
|
752
|
+
`${this.mergedClsPrefix}-select`,
|
|
753
|
+
this.autoWidth && `${this.mergedClsPrefix}-select--auto-width`
|
|
754
|
+
], onKeydown: this.$slots.trigger ? this.handleSelfKeydown : undefined },
|
|
752
755
|
(0, vue_1.h)(vueuc_1.VBinder, null, {
|
|
753
756
|
default: () => [
|
|
754
757
|
(0, vue_1.h)(vueuc_1.VTarget, null, {
|
|
@@ -765,7 +768,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
765
768
|
selectedOptions: this.selectedOptions
|
|
766
769
|
})));
|
|
767
770
|
}
|
|
768
|
-
return ((0, vue_1.h)(_internal_1.UInternalSelection, { ref: "triggerRef", inlineThemeDisabled: this.inlineThemeDisabled, status: this.mergedStatus, inputProps: this.inputProps, clsPrefix: this.mergedClsPrefix, showArrow: this.showArrow, maxTagCount: this.maxTagCount, ellipsisTagPopoverProps: this.ellipsisTagPopoverProps, bordered: this.mergedBordered, active: this.activeWithoutMenuOpen || this.mergedShow, pattern: this.pattern, placeholder: this.localizedPlaceholder, selectedOption: this.selectedOption, selectedOptions: this.selectedOptions, multiple: this.multiple, renderTag: this.renderTag, renderLabel: this.renderLabel, filterable: this.mergedTriggerFilterable, clearable: this.clearable, disabled: this.mergedDisabled, size: this.mergedSize, theme: this.mergedTheme.peers.InternalSelection, labelField: this.labelField, valueField: this.valueField, themeOverrides: this.mergedTheme.peerOverrides.InternalSelection, loading: this.loading, loadingSkeleton: this.loadingSkeleton, focused: this.focused, onClick: this.handleTriggerClick, onDeleteOption: this.handleDeleteOption, onPatternInput: this.handlePatternInput, onClear: this.handleClear, onBlur: this.handleTriggerBlur, onFocus: this.handleTriggerFocus, onKeydown: this.handleKeydown, onPatternBlur: this.onTriggerInputBlur, onPatternFocus: this.onTriggerInputFocus, onResize: this.handleTriggerOrMenuResize, ignoreComposition: this.ignoreComposition, round: this.round, counter: this.counter, secondary: this.secondary, account: this.account, tagField: this.tagField, renderTagLabel: this.renderTagLabel, filled: this.filled }, {
|
|
771
|
+
return ((0, vue_1.h)(_internal_1.UInternalSelection, { ref: "triggerRef", inlineThemeDisabled: this.inlineThemeDisabled, status: this.mergedStatus, inputProps: this.inputProps, clsPrefix: this.mergedClsPrefix, showArrow: this.showArrow, maxTagCount: this.maxTagCount, ellipsisTagPopoverProps: this.ellipsisTagPopoverProps, bordered: this.mergedBordered, active: this.activeWithoutMenuOpen || this.mergedShow, pattern: this.pattern, placeholder: this.localizedPlaceholder, selectedOption: this.selectedOption, selectedOptions: this.selectedOptions, multiple: this.multiple, renderTag: this.renderTag, renderLabel: this.renderLabel, filterable: this.mergedTriggerFilterable, clearable: this.clearable, disabled: this.mergedDisabled, size: this.mergedSize, theme: this.mergedTheme.peers.InternalSelection, labelField: this.labelField, valueField: this.valueField, themeOverrides: this.mergedTheme.peerOverrides.InternalSelection, loading: this.loading, loadingSkeleton: this.loadingSkeleton, focused: this.focused, onClick: this.handleTriggerClick, onDeleteOption: this.handleDeleteOption, onPatternInput: this.handlePatternInput, onClear: this.handleClear, onBlur: this.handleTriggerBlur, onFocus: this.handleTriggerFocus, onKeydown: this.handleKeydown, onPatternBlur: this.onTriggerInputBlur, onPatternFocus: this.onTriggerInputFocus, onResize: this.handleTriggerOrMenuResize, ignoreComposition: this.ignoreComposition, round: this.round, counter: this.counter, secondary: this.secondary, autoWidth: this.autoWidth, account: this.account, tagField: this.tagField, renderTagLabel: this.renderTagLabel, filled: this.filled }, {
|
|
769
772
|
arrow: () => { var _a, _b; return [(_b = (_a = this.$slots).arrow) === null || _b === void 0 ? void 0 : _b.call(_a)]; }
|
|
770
773
|
}));
|
|
771
774
|
}
|
|
@@ -234,6 +234,7 @@ export declare const selectProps: {
|
|
|
234
234
|
readonly round: BooleanConstructor;
|
|
235
235
|
readonly counter: BooleanConstructor;
|
|
236
236
|
readonly secondary: BooleanConstructor;
|
|
237
|
+
readonly autoWidth: BooleanConstructor;
|
|
237
238
|
/** deprecated */
|
|
238
239
|
readonly onChange: PropType<MaybeArray<OnUpdateValue>>;
|
|
239
240
|
readonly items: PropType<SelectMixedOption[]>;
|
|
@@ -323,8 +324,11 @@ export declare const selectProps: {
|
|
|
323
324
|
caretColorSecondary: string;
|
|
324
325
|
filterCounterTextColor: string;
|
|
325
326
|
filterCounterTextColorDisabled: string;
|
|
327
|
+
filterCounterGap: string;
|
|
328
|
+
filterSuffixWrapperGap: string;
|
|
326
329
|
arrowColorSecondary: string;
|
|
327
330
|
clearColorSecondary: string;
|
|
331
|
+
loadingColorSecondary: string;
|
|
328
332
|
colorSecondary: string;
|
|
329
333
|
textColorSecondary: string;
|
|
330
334
|
borderSecondary: string;
|
|
@@ -638,8 +642,11 @@ export declare const selectProps: {
|
|
|
638
642
|
caretColorSecondary: string;
|
|
639
643
|
filterCounterTextColor: string;
|
|
640
644
|
filterCounterTextColorDisabled: string;
|
|
645
|
+
filterCounterGap: string;
|
|
646
|
+
filterSuffixWrapperGap: string;
|
|
641
647
|
arrowColorSecondary: string;
|
|
642
648
|
clearColorSecondary: string;
|
|
649
|
+
loadingColorSecondary: string;
|
|
643
650
|
colorSecondary: string;
|
|
644
651
|
textColorSecondary: string;
|
|
645
652
|
borderSecondary: string;
|
|
@@ -953,8 +960,11 @@ export declare const selectProps: {
|
|
|
953
960
|
caretColorSecondary: string;
|
|
954
961
|
filterCounterTextColor: string;
|
|
955
962
|
filterCounterTextColorDisabled: string;
|
|
963
|
+
filterCounterGap: string;
|
|
964
|
+
filterSuffixWrapperGap: string;
|
|
956
965
|
arrowColorSecondary: string;
|
|
957
966
|
clearColorSecondary: string;
|
|
967
|
+
loadingColorSecondary: string;
|
|
958
968
|
colorSecondary: string;
|
|
959
969
|
textColorSecondary: string;
|
|
960
970
|
borderSecondary: string;
|
|
@@ -82,6 +82,6 @@ exports.selectProps = Object.assign(Object.assign({}, use_theme_1.default.props)
|
|
|
82
82
|
}, closeOnSelect: {
|
|
83
83
|
type: Boolean,
|
|
84
84
|
default: undefined
|
|
85
|
-
}, primaryButtonProps: Object, secondaryButtonProps: Object, scrollbarProps: Object, round: Boolean, counter: Boolean, secondary: Boolean,
|
|
85
|
+
}, primaryButtonProps: Object, secondaryButtonProps: Object, scrollbarProps: Object, round: Boolean, counter: Boolean, secondary: Boolean, autoWidth: Boolean,
|
|
86
86
|
/** deprecated */
|
|
87
87
|
onChange: [Function, Array], items: Array, account: Boolean });
|
|
@@ -13,6 +13,9 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('select', `
|
|
|
13
13
|
position: relative;
|
|
14
14
|
`, [(0, cssr_1.cE)('trigger-wrapper', `
|
|
15
15
|
width: 100%;
|
|
16
|
+
`), (0, cssr_1.cM)('auto-width', `
|
|
17
|
+
width: fit-content;
|
|
18
|
+
max-width: 100%;
|
|
16
19
|
`)]), (0, cssr_1.cB)('select-menu', `
|
|
17
20
|
margin: 4px 0;
|
|
18
21
|
box-shadow: var(--u-menu-box-shadow);
|
|
@@ -87,8 +87,11 @@ declare const selectLight: import("../../_mixins").Theme<"Select", {
|
|
|
87
87
|
caretColorSecondary: string;
|
|
88
88
|
filterCounterTextColor: string;
|
|
89
89
|
filterCounterTextColorDisabled: string;
|
|
90
|
+
filterCounterGap: string;
|
|
91
|
+
filterSuffixWrapperGap: string;
|
|
90
92
|
arrowColorSecondary: string;
|
|
91
93
|
clearColorSecondary: string;
|
|
94
|
+
loadingColorSecondary: string;
|
|
92
95
|
colorSecondary: string;
|
|
93
96
|
textColorSecondary: string;
|
|
94
97
|
borderSecondary: string;
|
|
@@ -335,8 +335,11 @@ export declare const treeSelectProps: {
|
|
|
335
335
|
caretColorSecondary: string;
|
|
336
336
|
filterCounterTextColor: string;
|
|
337
337
|
filterCounterTextColorDisabled: string;
|
|
338
|
+
filterCounterGap: string;
|
|
339
|
+
filterSuffixWrapperGap: string;
|
|
338
340
|
arrowColorSecondary: string;
|
|
339
341
|
clearColorSecondary: string;
|
|
342
|
+
loadingColorSecondary: string;
|
|
340
343
|
colorSecondary: string;
|
|
341
344
|
textColorSecondary: string;
|
|
342
345
|
borderSecondary: string;
|
|
@@ -589,8 +592,11 @@ export declare const treeSelectProps: {
|
|
|
589
592
|
caretColorSecondary: string;
|
|
590
593
|
filterCounterTextColor: string;
|
|
591
594
|
filterCounterTextColorDisabled: string;
|
|
595
|
+
filterCounterGap: string;
|
|
596
|
+
filterSuffixWrapperGap: string;
|
|
592
597
|
arrowColorSecondary: string;
|
|
593
598
|
clearColorSecondary: string;
|
|
599
|
+
loadingColorSecondary: string;
|
|
594
600
|
colorSecondary: string;
|
|
595
601
|
textColorSecondary: string;
|
|
596
602
|
borderSecondary: string;
|
|
@@ -843,8 +849,11 @@ export declare const treeSelectProps: {
|
|
|
843
849
|
caretColorSecondary: string;
|
|
844
850
|
filterCounterTextColor: string;
|
|
845
851
|
filterCounterTextColorDisabled: string;
|
|
852
|
+
filterCounterGap: string;
|
|
853
|
+
filterSuffixWrapperGap: string;
|
|
846
854
|
arrowColorSecondary: string;
|
|
847
855
|
clearColorSecondary: string;
|
|
856
|
+
loadingColorSecondary: string;
|
|
848
857
|
colorSecondary: string;
|
|
849
858
|
textColorSecondary: string;
|
|
850
859
|
borderSecondary: string;
|
|
@@ -1219,8 +1228,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1219
1228
|
caretColorSecondary: string;
|
|
1220
1229
|
filterCounterTextColor: string;
|
|
1221
1230
|
filterCounterTextColorDisabled: string;
|
|
1231
|
+
filterCounterGap: string;
|
|
1232
|
+
filterSuffixWrapperGap: string;
|
|
1222
1233
|
arrowColorSecondary: string;
|
|
1223
1234
|
clearColorSecondary: string;
|
|
1235
|
+
loadingColorSecondary: string;
|
|
1224
1236
|
colorSecondary: string;
|
|
1225
1237
|
textColorSecondary: string;
|
|
1226
1238
|
borderSecondary: string;
|
|
@@ -1473,8 +1485,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1473
1485
|
caretColorSecondary: string;
|
|
1474
1486
|
filterCounterTextColor: string;
|
|
1475
1487
|
filterCounterTextColorDisabled: string;
|
|
1488
|
+
filterCounterGap: string;
|
|
1489
|
+
filterSuffixWrapperGap: string;
|
|
1476
1490
|
arrowColorSecondary: string;
|
|
1477
1491
|
clearColorSecondary: string;
|
|
1492
|
+
loadingColorSecondary: string;
|
|
1478
1493
|
colorSecondary: string;
|
|
1479
1494
|
textColorSecondary: string;
|
|
1480
1495
|
borderSecondary: string;
|
|
@@ -1727,8 +1742,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1727
1742
|
caretColorSecondary: string;
|
|
1728
1743
|
filterCounterTextColor: string;
|
|
1729
1744
|
filterCounterTextColorDisabled: string;
|
|
1745
|
+
filterCounterGap: string;
|
|
1746
|
+
filterSuffixWrapperGap: string;
|
|
1730
1747
|
arrowColorSecondary: string;
|
|
1731
1748
|
clearColorSecondary: string;
|
|
1749
|
+
loadingColorSecondary: string;
|
|
1732
1750
|
colorSecondary: string;
|
|
1733
1751
|
textColorSecondary: string;
|
|
1734
1752
|
borderSecondary: string;
|
|
@@ -2068,8 +2086,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2068
2086
|
caretColorSecondary: string;
|
|
2069
2087
|
filterCounterTextColor: string;
|
|
2070
2088
|
filterCounterTextColorDisabled: string;
|
|
2089
|
+
filterCounterGap: string;
|
|
2090
|
+
filterSuffixWrapperGap: string;
|
|
2071
2091
|
arrowColorSecondary: string;
|
|
2072
2092
|
clearColorSecondary: string;
|
|
2093
|
+
loadingColorSecondary: string;
|
|
2073
2094
|
colorSecondary: string;
|
|
2074
2095
|
textColorSecondary: string;
|
|
2075
2096
|
borderSecondary: string;
|
|
@@ -2573,8 +2594,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2573
2594
|
caretColorSecondary: string;
|
|
2574
2595
|
filterCounterTextColor: string;
|
|
2575
2596
|
filterCounterTextColorDisabled: string;
|
|
2597
|
+
filterCounterGap: string;
|
|
2598
|
+
filterSuffixWrapperGap: string;
|
|
2576
2599
|
arrowColorSecondary: string;
|
|
2577
2600
|
clearColorSecondary: string;
|
|
2601
|
+
loadingColorSecondary: string;
|
|
2578
2602
|
colorSecondary: string;
|
|
2579
2603
|
textColorSecondary: string;
|
|
2580
2604
|
borderSecondary: string;
|
|
@@ -2827,8 +2851,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2827
2851
|
caretColorSecondary: string;
|
|
2828
2852
|
filterCounterTextColor: string;
|
|
2829
2853
|
filterCounterTextColorDisabled: string;
|
|
2854
|
+
filterCounterGap: string;
|
|
2855
|
+
filterSuffixWrapperGap: string;
|
|
2830
2856
|
arrowColorSecondary: string;
|
|
2831
2857
|
clearColorSecondary: string;
|
|
2858
|
+
loadingColorSecondary: string;
|
|
2832
2859
|
colorSecondary: string;
|
|
2833
2860
|
textColorSecondary: string;
|
|
2834
2861
|
borderSecondary: string;
|
|
@@ -3081,8 +3108,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3081
3108
|
caretColorSecondary: string;
|
|
3082
3109
|
filterCounterTextColor: string;
|
|
3083
3110
|
filterCounterTextColorDisabled: string;
|
|
3111
|
+
filterCounterGap: string;
|
|
3112
|
+
filterSuffixWrapperGap: string;
|
|
3084
3113
|
arrowColorSecondary: string;
|
|
3085
3114
|
clearColorSecondary: string;
|
|
3115
|
+
loadingColorSecondary: string;
|
|
3086
3116
|
colorSecondary: string;
|
|
3087
3117
|
textColorSecondary: string;
|
|
3088
3118
|
borderSecondary: string;
|
|
@@ -222,8 +222,11 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
222
222
|
caretColorSecondary: string;
|
|
223
223
|
filterCounterTextColor: string;
|
|
224
224
|
filterCounterTextColorDisabled: string;
|
|
225
|
+
filterCounterGap: string;
|
|
226
|
+
filterSuffixWrapperGap: string;
|
|
225
227
|
arrowColorSecondary: string;
|
|
226
228
|
clearColorSecondary: string;
|
|
229
|
+
loadingColorSecondary: string;
|
|
227
230
|
colorSecondary: string;
|
|
228
231
|
textColorSecondary: string;
|
|
229
232
|
borderSecondary: string;
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.4.
|
|
1
|
+
declare const _default: "2.4.3";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@uzum-tech/ui",
|
|
5
|
-
"version": "2.4.
|
|
5
|
+
"version": "2.4.3",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -10877,22 +10877,22 @@
|
|
|
10877
10877
|
{
|
|
10878
10878
|
"name": "title",
|
|
10879
10879
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|
|
10880
|
-
"type": "string | (() => VNodeChild)",
|
|
10881
|
-
"description": "Optional title rendered above message content.",
|
|
10880
|
+
"type": "MaybeRefOrGetter<string> | (() => VNodeChild)",
|
|
10881
|
+
"description": "Optional title rendered above message content. Pass a `string` for static text, or a `ref`/`computed`/getter to re-render it when your app's locale changes. A getter may return arbitrary markup.",
|
|
10882
10882
|
"default": "undefined"
|
|
10883
10883
|
},
|
|
10884
10884
|
{
|
|
10885
10885
|
"name": "content",
|
|
10886
10886
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|
|
10887
|
-
"type": "string | (() => VNodeChild)",
|
|
10888
|
-
"description": "Message or service content.",
|
|
10887
|
+
"type": "MaybeRefOrGetter<string> | (() => VNodeChild)",
|
|
10888
|
+
"description": "Message or service content. Pass a `string` for static text, or a `ref`/`computed`/getter to re-render it when your app's locale changes. A getter may return arbitrary markup.",
|
|
10889
10889
|
"default": "undefined"
|
|
10890
10890
|
},
|
|
10891
10891
|
{
|
|
10892
10892
|
"name": "markdown",
|
|
10893
10893
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|
|
10894
10894
|
"type": "boolean",
|
|
10895
|
-
"description": "Render `content` (when
|
|
10895
|
+
"description": "Render `content` (when the resolved value is a string) as sanitized Markdown. Only a safe subset of syntax is supported — see the Markdown Support section below.",
|
|
10896
10896
|
"default": "false"
|
|
10897
10897
|
},
|
|
10898
10898
|
{
|
|
@@ -10912,7 +10912,7 @@
|
|
|
10912
10912
|
{
|
|
10913
10913
|
"name": "timestamp",
|
|
10914
10914
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/message-bubble",
|
|
10915
|
-
"type": "string | number | Date | (() => VNodeChild)",
|
|
10915
|
+
"type": "MaybeRefOrGetter<string | number | Date> | (() => VNodeChild)",
|
|
10916
10916
|
"description": "Message time.",
|
|
10917
10917
|
"default": "undefined"
|
|
10918
10918
|
},
|
|
@@ -13119,6 +13119,16 @@
|
|
|
13119
13119
|
"description": "Whether the value is clearable.",
|
|
13120
13120
|
"default": "false"
|
|
13121
13121
|
},
|
|
13122
|
+
{
|
|
13123
|
+
"name": "auto-width",
|
|
13124
|
+
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|
|
13125
|
+
"type": "boolean",
|
|
13126
|
+
"description": "Whether the select width fits its placeholder (and the selected label in single mode) instead of taking 100% of the container width.",
|
|
13127
|
+
"default": "false",
|
|
13128
|
+
"description-sections": {
|
|
13129
|
+
"since": "2.4.3"
|
|
13130
|
+
}
|
|
13131
|
+
},
|
|
13122
13132
|
{
|
|
13123
13133
|
"name": "clear-created-options-on-clear",
|
|
13124
13134
|
"doc-url": "https://uzum-ui.kapitalbank.uz/en-US/os-theme/components/select",
|