@uzum-tech/ui 1.8.1 → 1.9.0
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 +847 -249
- package/dist/index.prod.js +3 -3
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/es/_internal/scrollbar/src/Scrollbar.js +121 -68
- package/es/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/es/_internal/scrollbar/styles/common.d.ts +7 -0
- package/es/_internal/scrollbar/styles/common.js +7 -0
- package/es/_internal/scrollbar/styles/light.d.ts +8 -0
- package/es/_internal/scrollbar/styles/light.js +3 -5
- package/es/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/es/_internal/select-menu/styles/light.d.ts +8 -0
- package/es/_internal/selection/src/Selection.d.ts +3 -1
- package/es/_internal/selection/src/Selection.js +3 -1
- package/es/_utils/css/index.d.ts +1 -0
- package/es/_utils/css/index.js +1 -0
- package/es/_utils/css/rtl-inset.d.ts +1 -0
- package/es/_utils/css/rtl-inset.js +5 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +88 -0
- package/es/auto-complete/styles/light.d.ts +8 -0
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/button/src/Button.d.ts +72 -0
- package/es/button/src/Button.js +13 -7
- package/es/button/src/styles/index.cssr.js +1 -2
- package/es/button/styles/light.d.ts +8 -0
- package/es/button/styles/light.js +7 -7
- package/es/calendar/src/Calendar.d.ts +80 -0
- package/es/calendar/styles/light.d.ts +8 -0
- package/es/cascader/src/Cascader.d.ts +168 -0
- package/es/cascader/src/CascaderMenu.d.ts +24 -0
- package/es/cascader/src/CascaderOption.d.ts +24 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/es/cascader/styles/light.d.ts +16 -0
- package/es/chat/src/Chat.d.ts +175 -7
- package/es/chat/src/Chat.js +11 -12
- package/es/chat/src/ChatListItems.d.ts +192 -0
- package/es/chat/src/ChatListItems.js +4 -1
- package/es/chat/src/ChatMessages.d.ts +192 -0
- package/es/chat/src/styles/index.cssr.js +1 -3
- package/es/chat/styles/dark.d.ts +16 -0
- package/es/chat/styles/light.d.ts +16 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/es/color-picker/src/ColorPicker.d.ts +72 -0
- package/es/color-picker/styles/light.d.ts +8 -0
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/data-table/src/DataTable.d.ts +240 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +48 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +48 -0
- package/es/data-table/src/TableParts/Body.d.ts +49 -1
- package/es/data-table/src/TableParts/Header.d.ts +48 -0
- package/es/data-table/src/interface.d.ts +96 -0
- package/es/data-table/styles/light.d.ts +32 -0
- package/es/date-picker/src/DatePicker.d.ts +339 -3
- package/es/date-picker/src/panel/date.d.ts +49 -1
- package/es/date-picker/src/panel/daterange.d.ts +50 -2
- package/es/date-picker/src/panel/datetime.d.ts +49 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +50 -2
- package/es/date-picker/src/panel/panelMonth.d.ts +98 -2
- package/es/date-picker/src/panel/panelMonthContent.d.ts +49 -1
- package/es/date-picker/src/panel/panelYear.d.ts +98 -2
- package/es/date-picker/src/panel/panelYearContent.d.ts +49 -1
- package/es/date-picker/src/panel/use-calendar.d.ts +48 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +48 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +48 -0
- package/es/date-picker/styles/light.d.ts +32 -0
- package/es/dialog/src/Dialog.d.ts +56 -0
- package/es/dialog/src/DialogProvider.d.ts +18 -2
- package/es/dialog/styles/light.d.ts +8 -0
- package/es/drawer/src/Drawer.d.ts +81 -1
- package/es/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/es/drawer/src/DrawerContent.d.ts +8 -0
- package/es/drawer/styles/light.d.ts +8 -0
- package/es/dropdown/src/Dropdown.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/es/dynamic-input/src/InputPreset.d.ts +8 -0
- package/es/dynamic-input/src/PairPreset.d.ts +8 -0
- package/es/dynamic-input/styles/light.d.ts +8 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/es/dynamic-tags/styles/light.d.ts +8 -0
- package/es/infinite-scroll/index.d.ts +2 -0
- package/es/infinite-scroll/index.js +1 -0
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/es/infinite-scroll/src/InfiniteScroll.js +78 -0
- package/es/input-number/src/InputNumber.d.ts +80 -0
- package/es/input-number/styles/light.d.ts +8 -0
- package/es/layout/src/Layout.d.ts +112 -0
- package/es/layout/src/LayoutContent.d.ts +56 -0
- package/es/layout/src/LayoutFooter.d.ts +72 -0
- package/es/layout/src/LayoutHeader.d.ts +48 -0
- package/es/layout/src/LayoutSider.d.ts +56 -0
- package/es/layout/styles/light.d.ts +8 -0
- package/es/legacy-transfer/src/Transfer.d.ts +160 -0
- package/es/legacy-transfer/src/TransferFilter.d.ts +16 -0
- package/es/legacy-transfer/src/TransferList.d.ts +17 -1
- package/es/legacy-transfer/src/TransferListItem.d.ts +16 -0
- package/es/legacy-transfer/styles/light.d.ts +16 -0
- package/es/log/src/Log.d.ts +80 -0
- package/es/log/styles/light.d.ts +8 -0
- package/es/mention/src/Mention.d.ts +88 -0
- package/es/mention/styles/light.d.ts +8 -0
- package/es/menu/src/Menu.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +25 -1
- package/es/modal/src/Modal.d.ts +145 -1
- package/es/modal/styles/light.d.ts +16 -0
- package/es/notification/src/Notification.d.ts +5 -0
- package/es/notification/src/Notification.js +16 -6
- package/es/notification/src/NotificationContainer.d.ts +20 -0
- package/es/notification/src/NotificationProvider.d.ts +180 -0
- package/es/notification/src/styles/index.cssr.js +12 -8
- package/es/notification/styles/light.d.ts +32 -0
- package/es/notification/styles/light.js +9 -8
- package/es/pagination/src/Pagination.d.ts +176 -0
- package/es/pagination/styles/light.d.ts +16 -0
- package/es/popconfirm/src/Popconfirm.d.ts +80 -0
- package/es/popconfirm/styles/light.d.ts +8 -0
- package/es/popselect/src/Popselect.d.ts +88 -0
- package/es/popselect/src/PopselectPanel.d.ts +16 -0
- package/es/popselect/styles/light.d.ts +8 -0
- package/es/scrollbar/src/Scrollbar.d.ts +72 -0
- package/es/select/src/Select.d.ts +88 -0
- package/es/select/styles/light.d.ts +8 -0
- package/es/time-picker/src/Panel.d.ts +16 -0
- package/es/time-picker/src/TimePicker.d.ts +160 -0
- package/es/time-picker/styles/light.d.ts +16 -0
- package/es/transfer/src/Transfer.d.ts +160 -0
- package/es/transfer/src/TransferFilter.d.ts +16 -0
- package/es/transfer/src/TransferList.d.ts +17 -1
- package/es/transfer/src/TransferListItem.d.ts +16 -0
- package/es/transfer/styles/light.d.ts +16 -0
- package/es/tree/src/Tree.d.ts +82 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/es/tree/styles/light.d.ts +8 -0
- package/es/tree-select/src/TreeSelect.d.ts +89 -1
- package/es/tree-select/styles/light.d.ts +8 -0
- package/es/upload/src/Upload.d.ts +90 -0
- package/es/upload/src/Upload.js +2 -1
- package/es/upload/src/UploadFile.d.ts +9 -0
- package/es/upload/src/UploadProgress.d.ts +9 -0
- package/es/upload/src/styles/index.cssr.js +1 -0
- package/es/upload/src/useUploadActionsRender.js +5 -1
- package/es/upload/styles/light.d.ts +10 -0
- package/es/upload/styles/light.js +6 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/virtual-list/index.d.ts +2 -0
- package/es/virtual-list/index.js +1 -0
- package/es/virtual-list/src/VirtualList.d.ts +146 -0
- package/es/virtual-list/src/VirtualList.js +103 -0
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/lib/_internal/scrollbar/src/Scrollbar.js +118 -65
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/lib/_internal/scrollbar/styles/common.d.ts +7 -0
- package/lib/_internal/scrollbar/styles/common.js +10 -0
- package/lib/_internal/scrollbar/styles/light.d.ts +8 -0
- package/lib/_internal/scrollbar/styles/light.js +3 -5
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/lib/_internal/select-menu/styles/light.d.ts +8 -0
- package/lib/_internal/selection/src/Selection.d.ts +3 -1
- package/lib/_internal/selection/src/Selection.js +3 -1
- package/lib/_utils/css/index.d.ts +1 -0
- package/lib/_utils/css/index.js +3 -1
- package/lib/_utils/css/rtl-inset.d.ts +1 -0
- package/lib/_utils/css/rtl-inset.js +8 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +88 -0
- package/lib/auto-complete/styles/light.d.ts +8 -0
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/button/src/Button.d.ts +72 -0
- package/lib/button/src/Button.js +13 -7
- package/lib/button/src/styles/index.cssr.js +1 -2
- package/lib/button/styles/light.d.ts +8 -0
- package/lib/button/styles/light.js +7 -7
- package/lib/calendar/src/Calendar.d.ts +80 -0
- package/lib/calendar/styles/light.d.ts +8 -0
- package/lib/cascader/src/Cascader.d.ts +168 -0
- package/lib/cascader/src/CascaderMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderOption.d.ts +24 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/lib/cascader/styles/light.d.ts +16 -0
- package/lib/chat/src/Chat.d.ts +175 -7
- package/lib/chat/src/Chat.js +11 -12
- package/lib/chat/src/ChatListItems.d.ts +192 -0
- package/lib/chat/src/ChatListItems.js +4 -1
- package/lib/chat/src/ChatMessages.d.ts +192 -0
- package/lib/chat/src/styles/index.cssr.js +1 -3
- package/lib/chat/styles/dark.d.ts +16 -0
- package/lib/chat/styles/light.d.ts +16 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/lib/color-picker/src/ColorPicker.d.ts +72 -0
- package/lib/color-picker/styles/light.d.ts +8 -0
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/data-table/src/DataTable.d.ts +240 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +48 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +48 -0
- package/lib/data-table/src/TableParts/Body.d.ts +49 -1
- package/lib/data-table/src/TableParts/Header.d.ts +48 -0
- package/lib/data-table/src/interface.d.ts +96 -0
- package/lib/data-table/styles/light.d.ts +32 -0
- package/lib/date-picker/src/DatePicker.d.ts +339 -3
- package/lib/date-picker/src/panel/date.d.ts +49 -1
- package/lib/date-picker/src/panel/daterange.d.ts +50 -2
- package/lib/date-picker/src/panel/datetime.d.ts +49 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +50 -2
- package/lib/date-picker/src/panel/panelMonth.d.ts +98 -2
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +49 -1
- package/lib/date-picker/src/panel/panelYear.d.ts +98 -2
- package/lib/date-picker/src/panel/panelYearContent.d.ts +49 -1
- package/lib/date-picker/src/panel/use-calendar.d.ts +48 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +48 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +48 -0
- package/lib/date-picker/styles/light.d.ts +32 -0
- package/lib/dialog/src/Dialog.d.ts +56 -0
- package/lib/dialog/src/DialogProvider.d.ts +18 -2
- package/lib/dialog/styles/light.d.ts +8 -0
- package/lib/drawer/src/Drawer.d.ts +81 -1
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/lib/drawer/src/DrawerContent.d.ts +8 -0
- package/lib/drawer/styles/light.d.ts +8 -0
- package/lib/dropdown/src/Dropdown.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/lib/dynamic-input/src/InputPreset.d.ts +8 -0
- package/lib/dynamic-input/src/PairPreset.d.ts +8 -0
- package/lib/dynamic-input/styles/light.d.ts +8 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/lib/dynamic-tags/styles/light.d.ts +8 -0
- package/lib/infinite-scroll/index.d.ts +2 -0
- package/lib/infinite-scroll/index.js +9 -0
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/lib/infinite-scroll/src/InfiniteScroll.js +81 -0
- package/lib/input-number/src/InputNumber.d.ts +80 -0
- package/lib/input-number/styles/light.d.ts +8 -0
- package/lib/layout/src/Layout.d.ts +112 -0
- package/lib/layout/src/LayoutContent.d.ts +56 -0
- package/lib/layout/src/LayoutFooter.d.ts +72 -0
- package/lib/layout/src/LayoutHeader.d.ts +48 -0
- package/lib/layout/src/LayoutSider.d.ts +56 -0
- package/lib/layout/styles/light.d.ts +8 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +160 -0
- package/lib/legacy-transfer/src/TransferFilter.d.ts +16 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +17 -1
- package/lib/legacy-transfer/src/TransferListItem.d.ts +16 -0
- package/lib/legacy-transfer/styles/light.d.ts +16 -0
- package/lib/log/src/Log.d.ts +80 -0
- package/lib/log/styles/light.d.ts +8 -0
- package/lib/mention/src/Mention.d.ts +88 -0
- package/lib/mention/styles/light.d.ts +8 -0
- package/lib/menu/src/Menu.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +25 -1
- package/lib/modal/src/Modal.d.ts +145 -1
- package/lib/modal/styles/light.d.ts +16 -0
- package/lib/notification/src/Notification.d.ts +5 -0
- package/lib/notification/src/Notification.js +14 -4
- package/lib/notification/src/NotificationContainer.d.ts +20 -0
- package/lib/notification/src/NotificationProvider.d.ts +180 -0
- package/lib/notification/src/styles/index.cssr.js +12 -8
- package/lib/notification/styles/light.d.ts +32 -0
- package/lib/notification/styles/light.js +9 -8
- package/lib/pagination/src/Pagination.d.ts +176 -0
- package/lib/pagination/styles/light.d.ts +16 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +80 -0
- package/lib/popconfirm/styles/light.d.ts +8 -0
- package/lib/popselect/src/Popselect.d.ts +88 -0
- package/lib/popselect/src/PopselectPanel.d.ts +16 -0
- package/lib/popselect/styles/light.d.ts +8 -0
- package/lib/scrollbar/src/Scrollbar.d.ts +72 -0
- package/lib/select/src/Select.d.ts +88 -0
- package/lib/select/styles/light.d.ts +8 -0
- package/lib/time-picker/src/Panel.d.ts +16 -0
- package/lib/time-picker/src/TimePicker.d.ts +160 -0
- package/lib/time-picker/styles/light.d.ts +16 -0
- package/lib/transfer/src/Transfer.d.ts +160 -0
- package/lib/transfer/src/TransferFilter.d.ts +16 -0
- package/lib/transfer/src/TransferList.d.ts +17 -1
- package/lib/transfer/src/TransferListItem.d.ts +16 -0
- package/lib/transfer/styles/light.d.ts +16 -0
- package/lib/tree/src/Tree.d.ts +82 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/lib/tree/styles/light.d.ts +8 -0
- package/lib/tree-select/src/TreeSelect.d.ts +89 -1
- package/lib/tree-select/styles/light.d.ts +8 -0
- package/lib/upload/src/Upload.d.ts +90 -0
- package/lib/upload/src/Upload.js +2 -1
- package/lib/upload/src/UploadFile.d.ts +9 -0
- package/lib/upload/src/UploadProgress.d.ts +9 -0
- package/lib/upload/src/styles/index.cssr.js +1 -0
- package/lib/upload/src/useUploadActionsRender.js +5 -1
- package/lib/upload/styles/light.d.ts +10 -0
- package/lib/upload/styles/light.js +6 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/index.d.ts +2 -0
- package/lib/virtual-list/index.js +9 -0
- package/lib/virtual-list/src/VirtualList.d.ts +146 -0
- package/lib/virtual-list/src/VirtualList.js +106 -0
- package/package.json +2 -2
- package/volar.d.ts +1 -0
- package/web-types.json +33 -4
package/lib/modal/src/Modal.d.ts
CHANGED
|
@@ -94,8 +94,16 @@ export declare const modalProps: {
|
|
|
94
94
|
sizeExtra: string;
|
|
95
95
|
}, {
|
|
96
96
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
97
|
+
height: string;
|
|
98
|
+
width: string;
|
|
99
|
+
borderRadius: string;
|
|
97
100
|
color: string;
|
|
98
101
|
colorHover: string;
|
|
102
|
+
railInsetHorizontalBottom: string;
|
|
103
|
+
railInsetHorizontalTop: string;
|
|
104
|
+
railInsetVerticalRight: string;
|
|
105
|
+
railInsetVerticalLeft: string;
|
|
106
|
+
railColor: string;
|
|
99
107
|
}, any>;
|
|
100
108
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
101
109
|
border: string;
|
|
@@ -152,16 +160,24 @@ export declare const modalProps: {
|
|
|
152
160
|
colorSecondary: string;
|
|
153
161
|
colorSecondaryHover: string;
|
|
154
162
|
colorSecondaryPressed: string;
|
|
163
|
+
colorSecondaryFocus: string;
|
|
164
|
+
colorSecondaryDisabled: string;
|
|
165
|
+
textColorSecondaryDisabled: string;
|
|
155
166
|
waveColorSecondary: string;
|
|
156
167
|
colorTertiary: string;
|
|
157
168
|
colorTertiaryHover: string;
|
|
158
169
|
colorTertiaryPressed: string;
|
|
170
|
+
colorTertiaryFocus: string;
|
|
159
171
|
colorTertiaryDisalbed: string;
|
|
160
172
|
waveColorTertiary: string;
|
|
161
173
|
textColorTextTertiary: string;
|
|
174
|
+
rippleColorTertiary: string;
|
|
162
175
|
colorQuaternary: string;
|
|
163
176
|
colorQuaternaryHover: string;
|
|
164
177
|
colorQuaternaryPressed: string;
|
|
178
|
+
colorQuaternaryFocus: string;
|
|
179
|
+
rippleColorQuaternary: string;
|
|
180
|
+
waveColorQuaternary: string;
|
|
165
181
|
color: string;
|
|
166
182
|
colorHover: string;
|
|
167
183
|
colorPressed: string;
|
|
@@ -395,8 +411,16 @@ export declare const modalProps: {
|
|
|
395
411
|
sizeExtra: string;
|
|
396
412
|
}, {
|
|
397
413
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
414
|
+
height: string;
|
|
415
|
+
width: string;
|
|
416
|
+
borderRadius: string;
|
|
398
417
|
color: string;
|
|
399
418
|
colorHover: string;
|
|
419
|
+
railInsetHorizontalBottom: string;
|
|
420
|
+
railInsetHorizontalTop: string;
|
|
421
|
+
railInsetVerticalRight: string;
|
|
422
|
+
railInsetVerticalLeft: string;
|
|
423
|
+
railColor: string;
|
|
400
424
|
}, any>;
|
|
401
425
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
402
426
|
border: string;
|
|
@@ -453,16 +477,24 @@ export declare const modalProps: {
|
|
|
453
477
|
colorSecondary: string;
|
|
454
478
|
colorSecondaryHover: string;
|
|
455
479
|
colorSecondaryPressed: string;
|
|
480
|
+
colorSecondaryFocus: string;
|
|
481
|
+
colorSecondaryDisabled: string;
|
|
482
|
+
textColorSecondaryDisabled: string;
|
|
456
483
|
waveColorSecondary: string;
|
|
457
484
|
colorTertiary: string;
|
|
458
485
|
colorTertiaryHover: string;
|
|
459
486
|
colorTertiaryPressed: string;
|
|
487
|
+
colorTertiaryFocus: string;
|
|
460
488
|
colorTertiaryDisalbed: string;
|
|
461
489
|
waveColorTertiary: string;
|
|
462
490
|
textColorTextTertiary: string;
|
|
491
|
+
rippleColorTertiary: string;
|
|
463
492
|
colorQuaternary: string;
|
|
464
493
|
colorQuaternaryHover: string;
|
|
465
494
|
colorQuaternaryPressed: string;
|
|
495
|
+
colorQuaternaryFocus: string;
|
|
496
|
+
rippleColorQuaternary: string;
|
|
497
|
+
waveColorQuaternary: string;
|
|
466
498
|
color: string;
|
|
467
499
|
colorHover: string;
|
|
468
500
|
colorPressed: string;
|
|
@@ -696,8 +728,16 @@ export declare const modalProps: {
|
|
|
696
728
|
sizeExtra: string;
|
|
697
729
|
}, {
|
|
698
730
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
731
|
+
height: string;
|
|
732
|
+
width: string;
|
|
733
|
+
borderRadius: string;
|
|
699
734
|
color: string;
|
|
700
735
|
colorHover: string;
|
|
736
|
+
railInsetHorizontalBottom: string;
|
|
737
|
+
railInsetHorizontalTop: string;
|
|
738
|
+
railInsetVerticalRight: string;
|
|
739
|
+
railInsetVerticalLeft: string;
|
|
740
|
+
railColor: string;
|
|
701
741
|
}, any>;
|
|
702
742
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
703
743
|
border: string;
|
|
@@ -754,16 +794,24 @@ export declare const modalProps: {
|
|
|
754
794
|
colorSecondary: string;
|
|
755
795
|
colorSecondaryHover: string;
|
|
756
796
|
colorSecondaryPressed: string;
|
|
797
|
+
colorSecondaryFocus: string;
|
|
798
|
+
colorSecondaryDisabled: string;
|
|
799
|
+
textColorSecondaryDisabled: string;
|
|
757
800
|
waveColorSecondary: string;
|
|
758
801
|
colorTertiary: string;
|
|
759
802
|
colorTertiaryHover: string;
|
|
760
803
|
colorTertiaryPressed: string;
|
|
804
|
+
colorTertiaryFocus: string;
|
|
761
805
|
colorTertiaryDisalbed: string;
|
|
762
806
|
waveColorTertiary: string;
|
|
763
807
|
textColorTextTertiary: string;
|
|
808
|
+
rippleColorTertiary: string;
|
|
764
809
|
colorQuaternary: string;
|
|
765
810
|
colorQuaternaryHover: string;
|
|
766
811
|
colorQuaternaryPressed: string;
|
|
812
|
+
colorQuaternaryFocus: string;
|
|
813
|
+
rippleColorQuaternary: string;
|
|
814
|
+
waveColorQuaternary: string;
|
|
767
815
|
color: string;
|
|
768
816
|
colorHover: string;
|
|
769
817
|
colorPressed: string;
|
|
@@ -1083,8 +1131,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1083
1131
|
sizeExtra: string;
|
|
1084
1132
|
}, {
|
|
1085
1133
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1134
|
+
height: string;
|
|
1135
|
+
width: string;
|
|
1136
|
+
borderRadius: string;
|
|
1086
1137
|
color: string;
|
|
1087
1138
|
colorHover: string;
|
|
1139
|
+
railInsetHorizontalBottom: string;
|
|
1140
|
+
railInsetHorizontalTop: string;
|
|
1141
|
+
railInsetVerticalRight: string;
|
|
1142
|
+
railInsetVerticalLeft: string;
|
|
1143
|
+
railColor: string;
|
|
1088
1144
|
}, any>;
|
|
1089
1145
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
1090
1146
|
border: string;
|
|
@@ -1141,16 +1197,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1141
1197
|
colorSecondary: string;
|
|
1142
1198
|
colorSecondaryHover: string;
|
|
1143
1199
|
colorSecondaryPressed: string;
|
|
1200
|
+
colorSecondaryFocus: string;
|
|
1201
|
+
colorSecondaryDisabled: string;
|
|
1202
|
+
textColorSecondaryDisabled: string;
|
|
1144
1203
|
waveColorSecondary: string;
|
|
1145
1204
|
colorTertiary: string;
|
|
1146
1205
|
colorTertiaryHover: string;
|
|
1147
1206
|
colorTertiaryPressed: string;
|
|
1207
|
+
colorTertiaryFocus: string;
|
|
1148
1208
|
colorTertiaryDisalbed: string;
|
|
1149
1209
|
waveColorTertiary: string;
|
|
1150
1210
|
textColorTextTertiary: string;
|
|
1211
|
+
rippleColorTertiary: string;
|
|
1151
1212
|
colorQuaternary: string;
|
|
1152
1213
|
colorQuaternaryHover: string;
|
|
1153
1214
|
colorQuaternaryPressed: string;
|
|
1215
|
+
colorQuaternaryFocus: string;
|
|
1216
|
+
rippleColorQuaternary: string;
|
|
1217
|
+
waveColorQuaternary: string;
|
|
1154
1218
|
color: string;
|
|
1155
1219
|
colorHover: string;
|
|
1156
1220
|
colorPressed: string;
|
|
@@ -1384,8 +1448,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1384
1448
|
sizeExtra: string;
|
|
1385
1449
|
}, {
|
|
1386
1450
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1451
|
+
height: string;
|
|
1452
|
+
width: string;
|
|
1453
|
+
borderRadius: string;
|
|
1387
1454
|
color: string;
|
|
1388
1455
|
colorHover: string;
|
|
1456
|
+
railInsetHorizontalBottom: string;
|
|
1457
|
+
railInsetHorizontalTop: string;
|
|
1458
|
+
railInsetVerticalRight: string;
|
|
1459
|
+
railInsetVerticalLeft: string;
|
|
1460
|
+
railColor: string;
|
|
1389
1461
|
}, any>;
|
|
1390
1462
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
1391
1463
|
border: string;
|
|
@@ -1442,16 +1514,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1442
1514
|
colorSecondary: string;
|
|
1443
1515
|
colorSecondaryHover: string;
|
|
1444
1516
|
colorSecondaryPressed: string;
|
|
1517
|
+
colorSecondaryFocus: string;
|
|
1518
|
+
colorSecondaryDisabled: string;
|
|
1519
|
+
textColorSecondaryDisabled: string;
|
|
1445
1520
|
waveColorSecondary: string;
|
|
1446
1521
|
colorTertiary: string;
|
|
1447
1522
|
colorTertiaryHover: string;
|
|
1448
1523
|
colorTertiaryPressed: string;
|
|
1524
|
+
colorTertiaryFocus: string;
|
|
1449
1525
|
colorTertiaryDisalbed: string;
|
|
1450
1526
|
waveColorTertiary: string;
|
|
1451
1527
|
textColorTextTertiary: string;
|
|
1528
|
+
rippleColorTertiary: string;
|
|
1452
1529
|
colorQuaternary: string;
|
|
1453
1530
|
colorQuaternaryHover: string;
|
|
1454
1531
|
colorQuaternaryPressed: string;
|
|
1532
|
+
colorQuaternaryFocus: string;
|
|
1533
|
+
rippleColorQuaternary: string;
|
|
1534
|
+
waveColorQuaternary: string;
|
|
1455
1535
|
color: string;
|
|
1456
1536
|
colorHover: string;
|
|
1457
1537
|
colorPressed: string;
|
|
@@ -1685,8 +1765,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1685
1765
|
sizeExtra: string;
|
|
1686
1766
|
}, {
|
|
1687
1767
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1768
|
+
height: string;
|
|
1769
|
+
width: string;
|
|
1770
|
+
borderRadius: string;
|
|
1688
1771
|
color: string;
|
|
1689
1772
|
colorHover: string;
|
|
1773
|
+
railInsetHorizontalBottom: string;
|
|
1774
|
+
railInsetHorizontalTop: string;
|
|
1775
|
+
railInsetVerticalRight: string;
|
|
1776
|
+
railInsetVerticalLeft: string;
|
|
1777
|
+
railColor: string;
|
|
1690
1778
|
}, any>;
|
|
1691
1779
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
1692
1780
|
border: string;
|
|
@@ -1743,16 +1831,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1743
1831
|
colorSecondary: string;
|
|
1744
1832
|
colorSecondaryHover: string;
|
|
1745
1833
|
colorSecondaryPressed: string;
|
|
1834
|
+
colorSecondaryFocus: string;
|
|
1835
|
+
colorSecondaryDisabled: string;
|
|
1836
|
+
textColorSecondaryDisabled: string;
|
|
1746
1837
|
waveColorSecondary: string;
|
|
1747
1838
|
colorTertiary: string;
|
|
1748
1839
|
colorTertiaryHover: string;
|
|
1749
1840
|
colorTertiaryPressed: string;
|
|
1841
|
+
colorTertiaryFocus: string;
|
|
1750
1842
|
colorTertiaryDisalbed: string;
|
|
1751
1843
|
waveColorTertiary: string;
|
|
1752
1844
|
textColorTextTertiary: string;
|
|
1845
|
+
rippleColorTertiary: string;
|
|
1753
1846
|
colorQuaternary: string;
|
|
1754
1847
|
colorQuaternaryHover: string;
|
|
1755
1848
|
colorQuaternaryPressed: string;
|
|
1849
|
+
colorQuaternaryFocus: string;
|
|
1850
|
+
rippleColorQuaternary: string;
|
|
1851
|
+
waveColorQuaternary: string;
|
|
1756
1852
|
color: string;
|
|
1757
1853
|
colorHover: string;
|
|
1758
1854
|
colorPressed: string;
|
|
@@ -2093,8 +2189,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2093
2189
|
sizeExtra: string;
|
|
2094
2190
|
}, {
|
|
2095
2191
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2192
|
+
height: string;
|
|
2193
|
+
width: string;
|
|
2194
|
+
borderRadius: string;
|
|
2096
2195
|
color: string;
|
|
2097
2196
|
colorHover: string;
|
|
2197
|
+
railInsetHorizontalBottom: string;
|
|
2198
|
+
railInsetHorizontalTop: string;
|
|
2199
|
+
railInsetVerticalRight: string;
|
|
2200
|
+
railInsetVerticalLeft: string;
|
|
2201
|
+
railColor: string;
|
|
2098
2202
|
}, any>;
|
|
2099
2203
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
2100
2204
|
border: string;
|
|
@@ -2151,16 +2255,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2151
2255
|
colorSecondary: string;
|
|
2152
2256
|
colorSecondaryHover: string;
|
|
2153
2257
|
colorSecondaryPressed: string;
|
|
2258
|
+
colorSecondaryFocus: string;
|
|
2259
|
+
colorSecondaryDisabled: string;
|
|
2260
|
+
textColorSecondaryDisabled: string;
|
|
2154
2261
|
waveColorSecondary: string;
|
|
2155
2262
|
colorTertiary: string;
|
|
2156
2263
|
colorTertiaryHover: string;
|
|
2157
2264
|
colorTertiaryPressed: string;
|
|
2265
|
+
colorTertiaryFocus: string;
|
|
2158
2266
|
colorTertiaryDisalbed: string;
|
|
2159
2267
|
waveColorTertiary: string;
|
|
2160
2268
|
textColorTextTertiary: string;
|
|
2269
|
+
rippleColorTertiary: string;
|
|
2161
2270
|
colorQuaternary: string;
|
|
2162
2271
|
colorQuaternaryHover: string;
|
|
2163
2272
|
colorQuaternaryPressed: string;
|
|
2273
|
+
colorQuaternaryFocus: string;
|
|
2274
|
+
rippleColorQuaternary: string;
|
|
2275
|
+
waveColorQuaternary: string;
|
|
2164
2276
|
color: string;
|
|
2165
2277
|
colorHover: string;
|
|
2166
2278
|
colorPressed: string;
|
|
@@ -2394,8 +2506,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2394
2506
|
sizeExtra: string;
|
|
2395
2507
|
}, {
|
|
2396
2508
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2509
|
+
height: string;
|
|
2510
|
+
width: string;
|
|
2511
|
+
borderRadius: string;
|
|
2397
2512
|
color: string;
|
|
2398
2513
|
colorHover: string;
|
|
2514
|
+
railInsetHorizontalBottom: string;
|
|
2515
|
+
railInsetHorizontalTop: string;
|
|
2516
|
+
railInsetVerticalRight: string;
|
|
2517
|
+
railInsetVerticalLeft: string;
|
|
2518
|
+
railColor: string;
|
|
2399
2519
|
}, any>;
|
|
2400
2520
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
2401
2521
|
border: string;
|
|
@@ -2452,16 +2572,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2452
2572
|
colorSecondary: string;
|
|
2453
2573
|
colorSecondaryHover: string;
|
|
2454
2574
|
colorSecondaryPressed: string;
|
|
2575
|
+
colorSecondaryFocus: string;
|
|
2576
|
+
colorSecondaryDisabled: string;
|
|
2577
|
+
textColorSecondaryDisabled: string;
|
|
2455
2578
|
waveColorSecondary: string;
|
|
2456
2579
|
colorTertiary: string;
|
|
2457
2580
|
colorTertiaryHover: string;
|
|
2458
2581
|
colorTertiaryPressed: string;
|
|
2582
|
+
colorTertiaryFocus: string;
|
|
2459
2583
|
colorTertiaryDisalbed: string;
|
|
2460
2584
|
waveColorTertiary: string;
|
|
2461
2585
|
textColorTextTertiary: string;
|
|
2586
|
+
rippleColorTertiary: string;
|
|
2462
2587
|
colorQuaternary: string;
|
|
2463
2588
|
colorQuaternaryHover: string;
|
|
2464
2589
|
colorQuaternaryPressed: string;
|
|
2590
|
+
colorQuaternaryFocus: string;
|
|
2591
|
+
rippleColorQuaternary: string;
|
|
2592
|
+
waveColorQuaternary: string;
|
|
2465
2593
|
color: string;
|
|
2466
2594
|
colorHover: string;
|
|
2467
2595
|
colorPressed: string;
|
|
@@ -2695,8 +2823,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2695
2823
|
sizeExtra: string;
|
|
2696
2824
|
}, {
|
|
2697
2825
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2826
|
+
height: string;
|
|
2827
|
+
width: string;
|
|
2828
|
+
borderRadius: string;
|
|
2698
2829
|
color: string;
|
|
2699
2830
|
colorHover: string;
|
|
2831
|
+
railInsetHorizontalBottom: string;
|
|
2832
|
+
railInsetHorizontalTop: string;
|
|
2833
|
+
railInsetVerticalRight: string;
|
|
2834
|
+
railInsetVerticalLeft: string;
|
|
2835
|
+
railColor: string;
|
|
2700
2836
|
}, any>;
|
|
2701
2837
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
2702
2838
|
border: string;
|
|
@@ -2753,16 +2889,24 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2753
2889
|
colorSecondary: string;
|
|
2754
2890
|
colorSecondaryHover: string;
|
|
2755
2891
|
colorSecondaryPressed: string;
|
|
2892
|
+
colorSecondaryFocus: string;
|
|
2893
|
+
colorSecondaryDisabled: string;
|
|
2894
|
+
textColorSecondaryDisabled: string;
|
|
2756
2895
|
waveColorSecondary: string;
|
|
2757
2896
|
colorTertiary: string;
|
|
2758
2897
|
colorTertiaryHover: string;
|
|
2759
2898
|
colorTertiaryPressed: string;
|
|
2899
|
+
colorTertiaryFocus: string;
|
|
2760
2900
|
colorTertiaryDisalbed: string;
|
|
2761
2901
|
waveColorTertiary: string;
|
|
2762
2902
|
textColorTextTertiary: string;
|
|
2903
|
+
rippleColorTertiary: string;
|
|
2763
2904
|
colorQuaternary: string;
|
|
2764
2905
|
colorQuaternaryHover: string;
|
|
2765
2906
|
colorQuaternaryPressed: string;
|
|
2907
|
+
colorQuaternaryFocus: string;
|
|
2908
|
+
rippleColorQuaternary: string;
|
|
2909
|
+
waveColorQuaternary: string;
|
|
2766
2910
|
color: string;
|
|
2767
2911
|
colorHover: string;
|
|
2768
2912
|
colorPressed: string;
|
|
@@ -2996,9 +3140,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2996
3140
|
transformOrigin: "center" | "mouse";
|
|
2997
3141
|
show: boolean;
|
|
2998
3142
|
displayDirective: "show" | "if";
|
|
2999
|
-
autoFocus: boolean;
|
|
3000
3143
|
presetDisabled: boolean;
|
|
3001
3144
|
trapFocus: boolean;
|
|
3145
|
+
autoFocus: boolean;
|
|
3002
3146
|
blockScroll: boolean;
|
|
3003
3147
|
internalDialog: boolean;
|
|
3004
3148
|
internalAppear: boolean | undefined;
|
|
@@ -19,8 +19,16 @@ declare const modalLight: import("../../_mixins").Theme<"Modal", {
|
|
|
19
19
|
sizeExtra: string;
|
|
20
20
|
}, {
|
|
21
21
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
22
|
+
height: string;
|
|
23
|
+
width: string;
|
|
24
|
+
borderRadius: string;
|
|
22
25
|
color: string;
|
|
23
26
|
colorHover: string;
|
|
27
|
+
railInsetHorizontalBottom: string;
|
|
28
|
+
railInsetHorizontalTop: string;
|
|
29
|
+
railInsetVerticalRight: string;
|
|
30
|
+
railInsetVerticalLeft: string;
|
|
31
|
+
railColor: string;
|
|
24
32
|
}, any>;
|
|
25
33
|
Dialog: import("../../_mixins").Theme<"Dialog", {
|
|
26
34
|
border: string;
|
|
@@ -77,16 +85,24 @@ declare const modalLight: import("../../_mixins").Theme<"Modal", {
|
|
|
77
85
|
colorSecondary: string;
|
|
78
86
|
colorSecondaryHover: string;
|
|
79
87
|
colorSecondaryPressed: string;
|
|
88
|
+
colorSecondaryFocus: string;
|
|
89
|
+
colorSecondaryDisabled: string;
|
|
90
|
+
textColorSecondaryDisabled: string;
|
|
80
91
|
waveColorSecondary: string;
|
|
81
92
|
colorTertiary: string;
|
|
82
93
|
colorTertiaryHover: string;
|
|
83
94
|
colorTertiaryPressed: string;
|
|
95
|
+
colorTertiaryFocus: string;
|
|
84
96
|
colorTertiaryDisalbed: string;
|
|
85
97
|
waveColorTertiary: string;
|
|
86
98
|
textColorTextTertiary: string;
|
|
99
|
+
rippleColorTertiary: string;
|
|
87
100
|
colorQuaternary: string;
|
|
88
101
|
colorQuaternaryHover: string;
|
|
89
102
|
colorQuaternaryPressed: string;
|
|
103
|
+
colorQuaternaryFocus: string;
|
|
104
|
+
rippleColorQuaternary: string;
|
|
105
|
+
waveColorQuaternary: string;
|
|
90
106
|
color: string;
|
|
91
107
|
colorHover: string;
|
|
92
108
|
colorPressed: string;
|
|
@@ -88,6 +88,11 @@ export declare const Notification: import("vue").DefineComponent<{
|
|
|
88
88
|
'--u-meta-font-size': string;
|
|
89
89
|
'--u-description-font-size': string;
|
|
90
90
|
'--u-avatar-size': string;
|
|
91
|
+
'--u-icon-wrapper-color': string;
|
|
92
|
+
'--u-icon-wrapper-pulse-color': string;
|
|
93
|
+
iconColor: string;
|
|
94
|
+
iconWrapperColor: string;
|
|
95
|
+
iconWrapperPulseColor: string;
|
|
91
96
|
}> | undefined;
|
|
92
97
|
themeClass: import("vue").Ref<string> | undefined;
|
|
93
98
|
onRender: (() => void) | undefined;
|
|
@@ -8,6 +8,8 @@ const _utils_1 = require("../../_utils");
|
|
|
8
8
|
const _internal_1 = require("../../_internal");
|
|
9
9
|
const _mixins_1 = require("../../_mixins");
|
|
10
10
|
const context_1 = require("./context");
|
|
11
|
+
const icon_wrapper_1 = require("../../icon-wrapper");
|
|
12
|
+
const icon_1 = require("../../icon");
|
|
11
13
|
exports.notificationProps = {
|
|
12
14
|
closable: {
|
|
13
15
|
type: Boolean,
|
|
@@ -44,7 +46,7 @@ exports.Notification = (0, vue_1.defineComponent)({
|
|
|
44
46
|
const rtlEnabledRef = (0, _mixins_1.useRtl)('Notification', mergedRtlRef, mergedClsPrefixRef);
|
|
45
47
|
const cssVarsRef = (0, vue_1.computed)(() => {
|
|
46
48
|
const { type } = props;
|
|
47
|
-
const { self: { borderRadius, titleFontWeight, titleLineHeight, lineHeight, fontSize, fontWeight, closeMargin, closeSize, width, padding, closeIconSize, closeBorderRadius, titleFontSize, metaFontSize, descriptionFontSize, descriptionFontWeight, descriptionLineHeight, avatarSize, [(0, _utils_1.createKey)('closeColorHover', type)]: closeColorHover, [(0, _utils_1.createKey)('closeColorPressed', type)]: closeColorPressed, [(0, _utils_1.createKey)('iconColor', type)]: iconColor, [(0, _utils_1.createKey)('color', type)]: color, [(0, _utils_1.createKey)('textColor', type)]: textColor, [(0, _utils_1.createKey)('closeIconColor', type)]: closeIconColor, [(0, _utils_1.createKey)('closeIconColorHover', type)]: closeIconColorHover, [(0, _utils_1.createKey)('closeIconColorPressed', type)]: closeIconColorPressed, [(0, _utils_1.createKey)('titleTextColor', type)]: titleTextColor, [(0, _utils_1.createKey)('descriptionTextColor', type)]: descriptionTextColor, [(0, _utils_1.createKey)('actionTextColor', type)]: actionTextColor }, common: { cubicBezierEaseOut, cubicBezierEaseIn, cubicBezierEaseInOut } } = mergedThemeRef.value;
|
|
49
|
+
const { self: { borderRadius, titleFontWeight, titleLineHeight, lineHeight, fontSize, fontWeight, closeMargin, closeSize, width, padding, closeIconSize, closeBorderRadius, titleFontSize, metaFontSize, descriptionFontSize, descriptionFontWeight, descriptionLineHeight, avatarSize, [(0, _utils_1.createKey)('closeColorHover', type)]: closeColorHover, [(0, _utils_1.createKey)('closeColorPressed', type)]: closeColorPressed, [(0, _utils_1.createKey)('iconColor', type)]: iconColor, [(0, _utils_1.createKey)('color', type)]: color, [(0, _utils_1.createKey)('textColor', type)]: textColor, [(0, _utils_1.createKey)('closeIconColor', type)]: closeIconColor, [(0, _utils_1.createKey)('closeIconColorHover', type)]: closeIconColorHover, [(0, _utils_1.createKey)('closeIconColorPressed', type)]: closeIconColorPressed, [(0, _utils_1.createKey)('titleTextColor', type)]: titleTextColor, [(0, _utils_1.createKey)('descriptionTextColor', type)]: descriptionTextColor, [(0, _utils_1.createKey)('actionTextColor', type)]: actionTextColor, [(0, _utils_1.createKey)('iconWrapperColor', type)]: iconWrapperColor, [(0, _utils_1.createKey)('iconWrapperPulseColor', type)]: iconWrapperPulseColor }, common: { cubicBezierEaseOut, cubicBezierEaseIn, cubicBezierEaseInOut } } = mergedThemeRef.value;
|
|
48
50
|
const { left, right, top, bottom } = (0, seemly_1.getPadding)(padding);
|
|
49
51
|
return {
|
|
50
52
|
'--u-color': color,
|
|
@@ -81,7 +83,12 @@ exports.Notification = (0, vue_1.defineComponent)({
|
|
|
81
83
|
'--u-padding-bottom': bottom,
|
|
82
84
|
'--u-meta-font-size': metaFontSize,
|
|
83
85
|
'--u-description-font-size': descriptionFontSize,
|
|
84
|
-
'--u-avatar-size': avatarSize
|
|
86
|
+
'--u-avatar-size': avatarSize,
|
|
87
|
+
'--u-icon-wrapper-color': iconWrapperColor,
|
|
88
|
+
'--u-icon-wrapper-pulse-color': iconWrapperPulseColor,
|
|
89
|
+
iconColor,
|
|
90
|
+
iconWrapperColor,
|
|
91
|
+
iconWrapperPulseColor
|
|
85
92
|
};
|
|
86
93
|
});
|
|
87
94
|
const themeClassHandle = inlineThemeDisabled
|
|
@@ -103,7 +110,9 @@ exports.Notification = (0, vue_1.defineComponent)({
|
|
|
103
110
|
},
|
|
104
111
|
render() {
|
|
105
112
|
var _a;
|
|
106
|
-
const { mergedClsPrefix } = this;
|
|
113
|
+
const { mergedClsPrefix, cssVars } = this;
|
|
114
|
+
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
115
|
+
const { iconColor, iconWrapperColor, iconWrapperPulseColor } = cssVars;
|
|
107
116
|
(_a = this.onRender) === null || _a === void 0 ? void 0 : _a.call(this);
|
|
108
117
|
return ((0, vue_1.h)("div", { class: [`${mergedClsPrefix}-notification-wrapper`, this.themeClass], onMouseenter: this.onMouseenter, onMouseleave: this.onMouseleave, style: this.cssVars },
|
|
109
118
|
(0, vue_1.h)("div", { class: [
|
|
@@ -115,7 +124,8 @@ exports.Notification = (0, vue_1.defineComponent)({
|
|
|
115
124
|
[`${mergedClsPrefix}-notification--show-avatar`]: this.showAvatar
|
|
116
125
|
}
|
|
117
126
|
], style: this.cssVars },
|
|
118
|
-
this.showAvatar ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-notification__avatar` },
|
|
127
|
+
this.showAvatar ? (this.avatar ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-notification__avatar` }, (0, _utils_1.render)(this.avatar))) : ((0, vue_1.h)(icon_wrapper_1.UIconWrapper, { pulseSize: 52, size: 36, color: iconWrapperColor, pulseColor: iconWrapperPulseColor, variant: "pulse", borderRadius: 60 },
|
|
128
|
+
(0, vue_1.h)(icon_1.UIcon, { color: iconColor, size: 24 }, () => this.type === 'success' ? (0, vue_1.h)(icons_1.SuccessIcon, null) : (0, vue_1.h)(icons_1.InfoIcon, null))))) : null,
|
|
119
129
|
this.closable ? ((0, vue_1.h)(_internal_1.UBaseClose, { clsPrefix: mergedClsPrefix, class: `${mergedClsPrefix}-notification__close`, onClick: this.handleCloseClick })) : null,
|
|
120
130
|
(0, vue_1.h)("div", { ref: "bodyRef", class: `${mergedClsPrefix}-notification-main` },
|
|
121
131
|
this.title ? ((0, vue_1.h)("div", { class: `${mergedClsPrefix}-notification-main__header` }, (0, _utils_1.render)(this.title))) : null,
|
|
@@ -40,6 +40,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
|
|
|
40
40
|
titleTextColor: string;
|
|
41
41
|
descriptionTextColor: string;
|
|
42
42
|
actionTextColor: string;
|
|
43
|
+
iconWrapperColor: string;
|
|
44
|
+
iconWrapperPulseColor: string;
|
|
43
45
|
colorSuccess: string;
|
|
44
46
|
iconColorSuccess: string;
|
|
45
47
|
textColorSuccess: string;
|
|
@@ -51,6 +53,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
|
|
|
51
53
|
titleTextColorSuccess: string;
|
|
52
54
|
descriptionTextColorSuccess: string;
|
|
53
55
|
actionTextColorSuccess: string;
|
|
56
|
+
iconWrapperColorSuccess: string;
|
|
57
|
+
iconWrapperPulseColorSuccess: string;
|
|
54
58
|
colorInfo: string;
|
|
55
59
|
iconColorInfo: string;
|
|
56
60
|
textColorInfo: string;
|
|
@@ -62,6 +66,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
|
|
|
62
66
|
titleTextColorInfo: string;
|
|
63
67
|
descriptionTextColorInfo: string;
|
|
64
68
|
actionTextColorInfo: string;
|
|
69
|
+
iconWrapperColorInfo: string;
|
|
70
|
+
iconWrapperPulseColorInfo: string;
|
|
65
71
|
colorWarning: string;
|
|
66
72
|
iconColorWarning: string;
|
|
67
73
|
textColorWarning: string;
|
|
@@ -73,6 +79,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
|
|
|
73
79
|
titleTextColorWarning: string;
|
|
74
80
|
descriptionTextColorWarning: string;
|
|
75
81
|
actionTextColorWarning: string;
|
|
82
|
+
iconWrapperColorWarning: string;
|
|
83
|
+
iconWrapperPulseColorWarning: string;
|
|
76
84
|
colorError: string;
|
|
77
85
|
iconColorError: string;
|
|
78
86
|
textColorError: string;
|
|
@@ -84,6 +92,8 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
|
|
|
84
92
|
titleTextColorError: string;
|
|
85
93
|
descriptionTextColorError: string;
|
|
86
94
|
actionTextColorError: string;
|
|
95
|
+
iconWrapperColorError: string;
|
|
96
|
+
iconWrapperPulseColorError: string;
|
|
87
97
|
colorPrimary: string;
|
|
88
98
|
iconColorPrimary: string;
|
|
89
99
|
textColorPrimary: string;
|
|
@@ -95,14 +105,24 @@ export declare const NotificationContainer: import("vue").DefineComponent<{
|
|
|
95
105
|
titleTextColorPrimary: string;
|
|
96
106
|
descriptionTextColorPrimary: string;
|
|
97
107
|
actionTextColorPrimary: string;
|
|
108
|
+
iconWrapperColorPrimary: string;
|
|
109
|
+
iconWrapperPulseColorPrimary: string;
|
|
98
110
|
width: string;
|
|
99
111
|
padding: string;
|
|
100
112
|
closeBorderRadius: string;
|
|
101
113
|
};
|
|
102
114
|
peers: {
|
|
103
115
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
116
|
+
height: string;
|
|
117
|
+
width: string;
|
|
118
|
+
borderRadius: string;
|
|
104
119
|
color: string;
|
|
105
120
|
colorHover: string;
|
|
121
|
+
railInsetHorizontalBottom: string;
|
|
122
|
+
railInsetHorizontalTop: string;
|
|
123
|
+
railInsetVerticalRight: string;
|
|
124
|
+
railInsetVerticalLeft: string;
|
|
125
|
+
railColor: string;
|
|
106
126
|
}, any>;
|
|
107
127
|
};
|
|
108
128
|
peerOverrides: {
|