@uzum-tech/ui 2.0.0-beta.7 → 2.0.0-beta.9
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 +268 -180
- package/dist/index.mjs +268 -180
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/_internal/select-menu/src/SelectOption.mjs +12 -4
- package/es/_utils/wrap-component.mjs +3 -1
- package/es/auto-complete/src/AutoComplete.d.ts +70 -0
- package/es/auto-complete/styles/light.d.ts +7 -0
- package/es/carousel/src/Carousel.mjs +39 -13
- package/es/chat/src/Chat.d.ts +70 -0
- package/es/chat/src/ChatListItems.d.ts +84 -0
- package/es/chat/src/ChatMessages.d.ts +84 -0
- package/es/chat/src/ChatParts/MainArea.mjs +104 -112
- package/es/chat/src/ChatParts/Sidebar.d.ts +14 -0
- package/es/chat/src/styles/index.cssr.mjs +24 -10
- package/es/chat/styles/dark.d.ts +7 -0
- package/es/chat/styles/light.d.ts +7 -0
- package/es/chat/styles/light.mjs +1 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +7 -0
- package/es/color-picker/src/ColorPicker.d.ts +63 -0
- package/es/color-picker/styles/light.d.ts +7 -0
- package/es/components.d.ts +1042 -5
- package/es/data-table/src/DataTable.d.ts +56 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +28 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +28 -0
- package/es/data-table/src/TableParts/Body.d.ts +28 -0
- package/es/data-table/src/TableParts/Header.d.ts +28 -0
- package/es/data-table/src/interface.d.ts +21 -0
- package/es/data-table/styles/light.d.ts +7 -0
- package/es/date-picker/src/DatePicker.d.ts +147 -0
- package/es/date-picker/src/panel/date.d.ts +42 -0
- package/es/date-picker/src/panel/daterange.d.ts +42 -0
- package/es/date-picker/src/panel/datetime.d.ts +42 -0
- package/es/date-picker/src/panel/datetimerange.d.ts +42 -0
- package/es/date-picker/src/panel/panelMonth.d.ts +168 -0
- package/es/date-picker/src/panel/panelMonthContent.d.ts +42 -0
- package/es/date-picker/src/panel/panelYear.d.ts +168 -0
- package/es/date-picker/src/panel/panelYearContent.d.ts +42 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +42 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +42 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +42 -0
- package/es/date-picker/styles/light.d.ts +14 -0
- package/es/date-picker-v2/src/DatePickerV2.d.ts +70 -0
- package/es/date-picker-v2/styles/dark.d.ts +7 -0
- package/es/date-picker-v2/styles/light.d.ts +7 -0
- package/es/dialog/src/DialogEnvironment.mjs +1 -2
- package/es/dynamic-input/src/DynamicInput.d.ts +70 -0
- package/es/dynamic-input/src/InputPreset.d.ts +14 -0
- package/es/dynamic-input/src/PairPreset.d.ts +14 -0
- package/es/dynamic-input/styles/light.d.ts +7 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +70 -0
- package/es/dynamic-tags/styles/light.d.ts +7 -0
- package/es/input/src/Input.d.ts +77 -0
- package/es/input/src/Input.mjs +15 -0
- package/es/input/src/InputGroupLabel.d.ts +63 -0
- package/es/input/src/styles/input.cssr.mjs +1 -1
- package/es/input/styles/light.d.ts +7 -0
- package/es/input/styles/light.mjs +11 -0
- package/es/input-number/src/InputNumber.d.ts +70 -0
- package/es/input-number/styles/light.d.ts +7 -0
- package/es/input-otp/src/InputOtp.d.ts +70 -0
- package/es/input-otp/styles/light.d.ts +7 -0
- package/es/legacy-transfer/src/Transfer.d.ts +70 -0
- package/es/legacy-transfer/src/TransferFilter.d.ts +14 -0
- package/es/legacy-transfer/src/TransferList.d.ts +14 -0
- package/es/legacy-transfer/src/TransferListItem.d.ts +14 -0
- package/es/legacy-transfer/styles/light.d.ts +7 -0
- package/es/mapping-card/src/MappingCard.d.ts +9 -0
- package/es/mapping-card/src/MappingCardParts/Header.mjs +1 -1
- package/es/mapping-card/src/interface.d.ts +5 -0
- package/es/mapping-card/src/interface.mjs +4 -0
- package/es/mention/src/Mention.d.ts +70 -0
- package/es/mention/styles/light.d.ts +7 -0
- package/es/modal/src/BodyWrapper.d.ts +0 -3
- package/es/modal/src/Modal.d.ts +13 -7
- package/es/modal/src/Modal.mjs +5 -2
- package/es/modal/src/ModalEnvironment.d.ts +9 -5
- package/es/modal/src/presetProps.d.ts +1 -2
- package/es/modal/src/presetProps.mjs +0 -1
- package/es/pagination/src/Pagination.d.ts +70 -0
- package/es/pagination/styles/light.d.ts +7 -0
- package/es/time-picker/src/Panel.d.ts +14 -0
- package/es/time-picker/src/TimePicker.d.ts +70 -0
- package/es/time-picker/styles/light.d.ts +7 -0
- package/es/tooltip/index.d.ts +1 -1
- package/es/tooltip/src/Tooltip.d.ts +84 -70
- package/es/tooltip/src/Tooltip.mjs +18 -3
- package/es/transfer/src/Transfer.d.ts +70 -0
- package/es/transfer/src/TransferFilter.d.ts +14 -0
- package/es/transfer/src/TransferList.d.ts +14 -0
- package/es/transfer/src/TransferListItem.d.ts +14 -0
- package/es/transfer/styles/light.d.ts +7 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/_internal/select-menu/src/SelectOption.js +8 -4
- package/lib/_utils/wrap-component.js +3 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +70 -0
- package/lib/auto-complete/styles/light.d.ts +7 -0
- package/lib/carousel/src/Carousel.js +26 -13
- package/lib/chat/src/Chat.d.ts +70 -0
- package/lib/chat/src/ChatListItems.d.ts +84 -0
- package/lib/chat/src/ChatMessages.d.ts +84 -0
- package/lib/chat/src/ChatParts/MainArea.js +53 -61
- package/lib/chat/src/ChatParts/Sidebar.d.ts +14 -0
- package/lib/chat/src/styles/index.cssr.js +24 -10
- package/lib/chat/styles/dark.d.ts +7 -0
- package/lib/chat/styles/light.d.ts +7 -0
- package/lib/chat/styles/light.js +1 -1
- package/lib/color-picker/src/ColorInputUnit.d.ts +7 -0
- package/lib/color-picker/src/ColorPicker.d.ts +63 -0
- package/lib/color-picker/styles/light.d.ts +7 -0
- package/lib/components.d.ts +1042 -5
- package/lib/data-table/src/DataTable.d.ts +56 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +28 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +28 -0
- package/lib/data-table/src/TableParts/Body.d.ts +28 -0
- package/lib/data-table/src/TableParts/Header.d.ts +28 -0
- package/lib/data-table/src/interface.d.ts +21 -0
- package/lib/data-table/styles/light.d.ts +7 -0
- package/lib/date-picker/src/DatePicker.d.ts +147 -0
- package/lib/date-picker/src/panel/date.d.ts +42 -0
- package/lib/date-picker/src/panel/daterange.d.ts +42 -0
- package/lib/date-picker/src/panel/datetime.d.ts +42 -0
- package/lib/date-picker/src/panel/datetimerange.d.ts +42 -0
- package/lib/date-picker/src/panel/panelMonth.d.ts +168 -0
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +42 -0
- package/lib/date-picker/src/panel/panelYear.d.ts +168 -0
- package/lib/date-picker/src/panel/panelYearContent.d.ts +42 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +42 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +42 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +42 -0
- package/lib/date-picker/styles/light.d.ts +14 -0
- package/lib/date-picker-v2/src/DatePickerV2.d.ts +70 -0
- package/lib/date-picker-v2/styles/dark.d.ts +7 -0
- package/lib/date-picker-v2/styles/light.d.ts +7 -0
- package/lib/dialog/src/DialogEnvironment.js +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +70 -0
- package/lib/dynamic-input/src/InputPreset.d.ts +14 -0
- package/lib/dynamic-input/src/PairPreset.d.ts +14 -0
- package/lib/dynamic-input/styles/light.d.ts +7 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +70 -0
- package/lib/dynamic-tags/styles/light.d.ts +7 -0
- package/lib/input/src/Input.d.ts +77 -0
- package/lib/input/src/Input.js +9 -1
- package/lib/input/src/InputGroupLabel.d.ts +63 -0
- package/lib/input/src/styles/input.cssr.js +1 -1
- package/lib/input/styles/light.d.ts +7 -0
- package/lib/input/styles/light.js +11 -1
- package/lib/input-number/src/InputNumber.d.ts +70 -0
- package/lib/input-number/styles/light.d.ts +7 -0
- package/lib/input-otp/src/InputOtp.d.ts +70 -0
- package/lib/input-otp/styles/light.d.ts +7 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +70 -0
- package/lib/legacy-transfer/src/TransferFilter.d.ts +14 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +14 -0
- package/lib/legacy-transfer/src/TransferListItem.d.ts +14 -0
- package/lib/legacy-transfer/styles/light.d.ts +7 -0
- package/lib/mapping-card/src/MappingCard.d.ts +9 -0
- package/lib/mapping-card/src/MappingCardParts/Header.js +2 -2
- package/lib/mapping-card/src/interface.d.ts +5 -0
- package/lib/mapping-card/src/interface.js +4 -0
- package/lib/mention/src/Mention.d.ts +70 -0
- package/lib/mention/styles/light.d.ts +7 -0
- package/lib/modal/src/BodyWrapper.d.ts +0 -3
- package/lib/modal/src/Modal.d.ts +13 -7
- package/lib/modal/src/Modal.js +5 -2
- package/lib/modal/src/ModalEnvironment.d.ts +9 -5
- package/lib/modal/src/presetProps.d.ts +1 -2
- package/lib/modal/src/presetProps.js +1 -1
- package/lib/pagination/src/Pagination.d.ts +70 -0
- package/lib/pagination/styles/light.d.ts +7 -0
- package/lib/time-picker/src/Panel.d.ts +14 -0
- package/lib/time-picker/src/TimePicker.d.ts +70 -0
- package/lib/time-picker/styles/light.d.ts +7 -0
- package/lib/tooltip/index.d.ts +1 -1
- package/lib/tooltip/src/Tooltip.d.ts +84 -70
- package/lib/tooltip/src/Tooltip.js +9 -3
- package/lib/transfer/src/Transfer.d.ts +70 -0
- package/lib/transfer/src/TransferFilter.d.ts +14 -0
- package/lib/transfer/src/TransferList.d.ts +14 -0
- package/lib/transfer/src/TransferListItem.d.ts +14 -0
- package/lib/transfer/styles/light.d.ts +7 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +39 -3
|
@@ -157,6 +157,13 @@ export declare const transferProps: {
|
|
|
157
157
|
borderFocus: string;
|
|
158
158
|
boxShadowFocus: string;
|
|
159
159
|
loadingColor: string;
|
|
160
|
+
loadingColorSuccess: string;
|
|
161
|
+
borderSuccess: string;
|
|
162
|
+
borderHoverSuccess: string;
|
|
163
|
+
colorFocusSuccess: string;
|
|
164
|
+
borderFocusSuccess: string;
|
|
165
|
+
boxShadowFocusSuccess: string;
|
|
166
|
+
caretColorSuccess: string;
|
|
160
167
|
loadingColorWarning: string;
|
|
161
168
|
borderWarning: string;
|
|
162
169
|
borderHoverWarning: string;
|
|
@@ -548,6 +555,13 @@ export declare const transferProps: {
|
|
|
548
555
|
borderFocus: string;
|
|
549
556
|
boxShadowFocus: string;
|
|
550
557
|
loadingColor: string;
|
|
558
|
+
loadingColorSuccess: string;
|
|
559
|
+
borderSuccess: string;
|
|
560
|
+
borderHoverSuccess: string;
|
|
561
|
+
colorFocusSuccess: string;
|
|
562
|
+
borderFocusSuccess: string;
|
|
563
|
+
boxShadowFocusSuccess: string;
|
|
564
|
+
caretColorSuccess: string;
|
|
551
565
|
loadingColorWarning: string;
|
|
552
566
|
borderWarning: string;
|
|
553
567
|
borderHoverWarning: string;
|
|
@@ -939,6 +953,13 @@ export declare const transferProps: {
|
|
|
939
953
|
borderFocus: string;
|
|
940
954
|
boxShadowFocus: string;
|
|
941
955
|
loadingColor: string;
|
|
956
|
+
loadingColorSuccess: string;
|
|
957
|
+
borderSuccess: string;
|
|
958
|
+
borderHoverSuccess: string;
|
|
959
|
+
colorFocusSuccess: string;
|
|
960
|
+
borderFocusSuccess: string;
|
|
961
|
+
boxShadowFocusSuccess: string;
|
|
962
|
+
caretColorSuccess: string;
|
|
942
963
|
loadingColorWarning: string;
|
|
943
964
|
borderWarning: string;
|
|
944
965
|
borderHoverWarning: string;
|
|
@@ -1360,6 +1381,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1360
1381
|
borderFocus: string;
|
|
1361
1382
|
boxShadowFocus: string;
|
|
1362
1383
|
loadingColor: string;
|
|
1384
|
+
loadingColorSuccess: string;
|
|
1385
|
+
borderSuccess: string;
|
|
1386
|
+
borderHoverSuccess: string;
|
|
1387
|
+
colorFocusSuccess: string;
|
|
1388
|
+
borderFocusSuccess: string;
|
|
1389
|
+
boxShadowFocusSuccess: string;
|
|
1390
|
+
caretColorSuccess: string;
|
|
1363
1391
|
loadingColorWarning: string;
|
|
1364
1392
|
borderWarning: string;
|
|
1365
1393
|
borderHoverWarning: string;
|
|
@@ -1751,6 +1779,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1751
1779
|
borderFocus: string;
|
|
1752
1780
|
boxShadowFocus: string;
|
|
1753
1781
|
loadingColor: string;
|
|
1782
|
+
loadingColorSuccess: string;
|
|
1783
|
+
borderSuccess: string;
|
|
1784
|
+
borderHoverSuccess: string;
|
|
1785
|
+
colorFocusSuccess: string;
|
|
1786
|
+
borderFocusSuccess: string;
|
|
1787
|
+
boxShadowFocusSuccess: string;
|
|
1788
|
+
caretColorSuccess: string;
|
|
1754
1789
|
loadingColorWarning: string;
|
|
1755
1790
|
borderWarning: string;
|
|
1756
1791
|
borderHoverWarning: string;
|
|
@@ -2142,6 +2177,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2142
2177
|
borderFocus: string;
|
|
2143
2178
|
boxShadowFocus: string;
|
|
2144
2179
|
loadingColor: string;
|
|
2180
|
+
loadingColorSuccess: string;
|
|
2181
|
+
borderSuccess: string;
|
|
2182
|
+
borderHoverSuccess: string;
|
|
2183
|
+
colorFocusSuccess: string;
|
|
2184
|
+
borderFocusSuccess: string;
|
|
2185
|
+
boxShadowFocusSuccess: string;
|
|
2186
|
+
caretColorSuccess: string;
|
|
2145
2187
|
loadingColorWarning: string;
|
|
2146
2188
|
borderWarning: string;
|
|
2147
2189
|
borderHoverWarning: string;
|
|
@@ -2549,6 +2591,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2549
2591
|
borderFocus: string;
|
|
2550
2592
|
boxShadowFocus: string;
|
|
2551
2593
|
loadingColor: string;
|
|
2594
|
+
loadingColorSuccess: string;
|
|
2595
|
+
borderSuccess: string;
|
|
2596
|
+
borderHoverSuccess: string;
|
|
2597
|
+
colorFocusSuccess: string;
|
|
2598
|
+
borderFocusSuccess: string;
|
|
2599
|
+
boxShadowFocusSuccess: string;
|
|
2600
|
+
caretColorSuccess: string;
|
|
2552
2601
|
loadingColorWarning: string;
|
|
2553
2602
|
borderWarning: string;
|
|
2554
2603
|
borderHoverWarning: string;
|
|
@@ -3033,6 +3082,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3033
3082
|
borderFocus: string;
|
|
3034
3083
|
boxShadowFocus: string;
|
|
3035
3084
|
loadingColor: string;
|
|
3085
|
+
loadingColorSuccess: string;
|
|
3086
|
+
borderSuccess: string;
|
|
3087
|
+
borderHoverSuccess: string;
|
|
3088
|
+
colorFocusSuccess: string;
|
|
3089
|
+
borderFocusSuccess: string;
|
|
3090
|
+
boxShadowFocusSuccess: string;
|
|
3091
|
+
caretColorSuccess: string;
|
|
3036
3092
|
loadingColorWarning: string;
|
|
3037
3093
|
borderWarning: string;
|
|
3038
3094
|
borderHoverWarning: string;
|
|
@@ -3424,6 +3480,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3424
3480
|
borderFocus: string;
|
|
3425
3481
|
boxShadowFocus: string;
|
|
3426
3482
|
loadingColor: string;
|
|
3483
|
+
loadingColorSuccess: string;
|
|
3484
|
+
borderSuccess: string;
|
|
3485
|
+
borderHoverSuccess: string;
|
|
3486
|
+
colorFocusSuccess: string;
|
|
3487
|
+
borderFocusSuccess: string;
|
|
3488
|
+
boxShadowFocusSuccess: string;
|
|
3489
|
+
caretColorSuccess: string;
|
|
3427
3490
|
loadingColorWarning: string;
|
|
3428
3491
|
borderWarning: string;
|
|
3429
3492
|
borderHoverWarning: string;
|
|
@@ -3815,6 +3878,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3815
3878
|
borderFocus: string;
|
|
3816
3879
|
boxShadowFocus: string;
|
|
3817
3880
|
loadingColor: string;
|
|
3881
|
+
loadingColorSuccess: string;
|
|
3882
|
+
borderSuccess: string;
|
|
3883
|
+
borderHoverSuccess: string;
|
|
3884
|
+
colorFocusSuccess: string;
|
|
3885
|
+
borderFocusSuccess: string;
|
|
3886
|
+
boxShadowFocusSuccess: string;
|
|
3887
|
+
caretColorSuccess: string;
|
|
3818
3888
|
loadingColorWarning: string;
|
|
3819
3889
|
borderWarning: string;
|
|
3820
3890
|
borderHoverWarning: string;
|
|
@@ -148,6 +148,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
148
148
|
borderFocus: string;
|
|
149
149
|
boxShadowFocus: string;
|
|
150
150
|
loadingColor: string;
|
|
151
|
+
loadingColorSuccess: string;
|
|
152
|
+
borderSuccess: string;
|
|
153
|
+
borderHoverSuccess: string;
|
|
154
|
+
colorFocusSuccess: string;
|
|
155
|
+
borderFocusSuccess: string;
|
|
156
|
+
boxShadowFocusSuccess: string;
|
|
157
|
+
caretColorSuccess: string;
|
|
151
158
|
loadingColorWarning: string;
|
|
152
159
|
borderWarning: string;
|
|
153
160
|
borderHoverWarning: string;
|
|
@@ -569,6 +576,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
569
576
|
borderFocus: string;
|
|
570
577
|
boxShadowFocus: string;
|
|
571
578
|
loadingColor: string;
|
|
579
|
+
loadingColorSuccess: string;
|
|
580
|
+
borderSuccess: string;
|
|
581
|
+
borderHoverSuccess: string;
|
|
582
|
+
colorFocusSuccess: string;
|
|
583
|
+
borderFocusSuccess: string;
|
|
584
|
+
boxShadowFocusSuccess: string;
|
|
585
|
+
caretColorSuccess: string;
|
|
572
586
|
loadingColorWarning: string;
|
|
573
587
|
borderWarning: string;
|
|
574
588
|
borderHoverWarning: string;
|
|
@@ -163,6 +163,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
163
163
|
borderFocus: string;
|
|
164
164
|
boxShadowFocus: string;
|
|
165
165
|
loadingColor: string;
|
|
166
|
+
loadingColorSuccess: string;
|
|
167
|
+
borderSuccess: string;
|
|
168
|
+
borderHoverSuccess: string;
|
|
169
|
+
colorFocusSuccess: string;
|
|
170
|
+
borderFocusSuccess: string;
|
|
171
|
+
boxShadowFocusSuccess: string;
|
|
172
|
+
caretColorSuccess: string;
|
|
166
173
|
loadingColorWarning: string;
|
|
167
174
|
borderWarning: string;
|
|
168
175
|
borderHoverWarning: string;
|
|
@@ -584,6 +591,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
584
591
|
borderFocus: string;
|
|
585
592
|
boxShadowFocus: string;
|
|
586
593
|
loadingColor: string;
|
|
594
|
+
loadingColorSuccess: string;
|
|
595
|
+
borderSuccess: string;
|
|
596
|
+
borderHoverSuccess: string;
|
|
597
|
+
colorFocusSuccess: string;
|
|
598
|
+
borderFocusSuccess: string;
|
|
599
|
+
boxShadowFocusSuccess: string;
|
|
600
|
+
caretColorSuccess: string;
|
|
587
601
|
loadingColorWarning: string;
|
|
588
602
|
borderWarning: string;
|
|
589
603
|
borderHoverWarning: string;
|
|
@@ -148,6 +148,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
148
148
|
borderFocus: string;
|
|
149
149
|
boxShadowFocus: string;
|
|
150
150
|
loadingColor: string;
|
|
151
|
+
loadingColorSuccess: string;
|
|
152
|
+
borderSuccess: string;
|
|
153
|
+
borderHoverSuccess: string;
|
|
154
|
+
colorFocusSuccess: string;
|
|
155
|
+
borderFocusSuccess: string;
|
|
156
|
+
boxShadowFocusSuccess: string;
|
|
157
|
+
caretColorSuccess: string;
|
|
151
158
|
loadingColorWarning: string;
|
|
152
159
|
borderWarning: string;
|
|
153
160
|
borderHoverWarning: string;
|
|
@@ -569,6 +576,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
569
576
|
borderFocus: string;
|
|
570
577
|
boxShadowFocus: string;
|
|
571
578
|
loadingColor: string;
|
|
579
|
+
loadingColorSuccess: string;
|
|
580
|
+
borderSuccess: string;
|
|
581
|
+
borderHoverSuccess: string;
|
|
582
|
+
colorFocusSuccess: string;
|
|
583
|
+
borderFocusSuccess: string;
|
|
584
|
+
boxShadowFocusSuccess: string;
|
|
585
|
+
caretColorSuccess: string;
|
|
572
586
|
loadingColorWarning: string;
|
|
573
587
|
borderWarning: string;
|
|
574
588
|
borderHoverWarning: string;
|
|
@@ -152,6 +152,13 @@ declare const transferLight: import("../../_mixins").Theme<"Transfer", {
|
|
|
152
152
|
borderFocus: string;
|
|
153
153
|
boxShadowFocus: string;
|
|
154
154
|
loadingColor: string;
|
|
155
|
+
loadingColorSuccess: string;
|
|
156
|
+
borderSuccess: string;
|
|
157
|
+
borderHoverSuccess: string;
|
|
158
|
+
colorFocusSuccess: string;
|
|
159
|
+
borderFocusSuccess: string;
|
|
160
|
+
boxShadowFocusSuccess: string;
|
|
161
|
+
caretColorSuccess: string;
|
|
155
162
|
loadingColorWarning: string;
|
|
156
163
|
borderWarning: string;
|
|
157
164
|
borderHoverWarning: string;
|
|
@@ -15,6 +15,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
15
15
|
readonly type: import("vue").PropType<import("./interface").MappingCardInterface["hideCopy"]>;
|
|
16
16
|
readonly default: false;
|
|
17
17
|
};
|
|
18
|
+
hideHeaderActions: {
|
|
19
|
+
readonly type: import("vue").PropType<import("./interface").MappingCardInterface["hideHeaderActions"]>;
|
|
20
|
+
readonly default: false;
|
|
21
|
+
};
|
|
18
22
|
copyButtonProps: import("vue").PropType<import("./interface").MappingCardInterface["copyButtonProps"]>;
|
|
19
23
|
copyIconProps: import("vue").PropType<import("./interface").MappingCardInterface["copyIconProps"]>;
|
|
20
24
|
headerEditButtonProps: import("vue").PropType<import("./interface").MappingCardInterface["headerEditButtonProps"]>;
|
|
@@ -1065,6 +1069,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1065
1069
|
readonly type: import("vue").PropType<import("./interface").MappingCardInterface["hideCopy"]>;
|
|
1066
1070
|
readonly default: false;
|
|
1067
1071
|
};
|
|
1072
|
+
hideHeaderActions: {
|
|
1073
|
+
readonly type: import("vue").PropType<import("./interface").MappingCardInterface["hideHeaderActions"]>;
|
|
1074
|
+
readonly default: false;
|
|
1075
|
+
};
|
|
1068
1076
|
copyButtonProps: import("vue").PropType<import("./interface").MappingCardInterface["copyButtonProps"]>;
|
|
1069
1077
|
copyIconProps: import("vue").PropType<import("./interface").MappingCardInterface["copyIconProps"]>;
|
|
1070
1078
|
headerEditButtonProps: import("vue").PropType<import("./interface").MappingCardInterface["headerEditButtonProps"]>;
|
|
@@ -2087,5 +2095,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2087
2095
|
cols: number | undefined;
|
|
2088
2096
|
defaultSpan: number | undefined;
|
|
2089
2097
|
hideCopy: boolean | undefined;
|
|
2098
|
+
hideHeaderActions: boolean | undefined;
|
|
2090
2099
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2091
2100
|
export default _default;
|
|
@@ -41,7 +41,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
41
41
|
default: () => locale.copyTooltip
|
|
42
42
|
}))))
|
|
43
43
|
}),
|
|
44
|
-
(0, vue_1.h)(flex_1.UFlex, { align: "center", size: "small" }, {
|
|
44
|
+
!props.hideHeaderActions && ((0, vue_1.h)(flex_1.UFlex, { align: "center", size: "small" }, {
|
|
45
45
|
default: () => (0, _utils_1.resolveSlot)(slots.headerActions, () => {
|
|
46
46
|
var _a, _b;
|
|
47
47
|
const buttons = [];
|
|
@@ -72,6 +72,6 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
72
72
|
}));
|
|
73
73
|
return buttons;
|
|
74
74
|
})
|
|
75
|
-
})));
|
|
75
|
+
}))));
|
|
76
76
|
}
|
|
77
77
|
});
|
|
@@ -36,6 +36,7 @@ export interface MappingCardInterface {
|
|
|
36
36
|
defaultSpan?: number;
|
|
37
37
|
copy?: () => string;
|
|
38
38
|
hideCopy?: boolean;
|
|
39
|
+
hideHeaderActions?: boolean;
|
|
39
40
|
copyButtonProps?: Partial<ButtonProps>;
|
|
40
41
|
copyIconProps?: Partial<IconProps>;
|
|
41
42
|
headerEditButtonProps?: Partial<ButtonProps>;
|
|
@@ -72,6 +73,10 @@ export declare const mappingCardProps: {
|
|
|
72
73
|
readonly type: PropType<MappingCardInterface["hideCopy"]>;
|
|
73
74
|
readonly default: false;
|
|
74
75
|
};
|
|
76
|
+
readonly hideHeaderActions: {
|
|
77
|
+
readonly type: PropType<MappingCardInterface["hideHeaderActions"]>;
|
|
78
|
+
readonly default: false;
|
|
79
|
+
};
|
|
75
80
|
readonly copyButtonProps: PropType<MappingCardInterface["copyButtonProps"]>;
|
|
76
81
|
readonly copyIconProps: PropType<MappingCardInterface["copyIconProps"]>;
|
|
77
82
|
readonly headerEditButtonProps: PropType<MappingCardInterface["headerEditButtonProps"]>;
|
|
@@ -178,6 +178,13 @@ export declare const mentionProps: {
|
|
|
178
178
|
borderFocus: string;
|
|
179
179
|
boxShadowFocus: string;
|
|
180
180
|
loadingColor: string;
|
|
181
|
+
loadingColorSuccess: string;
|
|
182
|
+
borderSuccess: string;
|
|
183
|
+
borderHoverSuccess: string;
|
|
184
|
+
colorFocusSuccess: string;
|
|
185
|
+
borderFocusSuccess: string;
|
|
186
|
+
boxShadowFocusSuccess: string;
|
|
187
|
+
caretColorSuccess: string;
|
|
181
188
|
loadingColorWarning: string;
|
|
182
189
|
borderWarning: string;
|
|
183
190
|
borderHoverWarning: string;
|
|
@@ -311,6 +318,13 @@ export declare const mentionProps: {
|
|
|
311
318
|
borderFocus: string;
|
|
312
319
|
boxShadowFocus: string;
|
|
313
320
|
loadingColor: string;
|
|
321
|
+
loadingColorSuccess: string;
|
|
322
|
+
borderSuccess: string;
|
|
323
|
+
borderHoverSuccess: string;
|
|
324
|
+
colorFocusSuccess: string;
|
|
325
|
+
borderFocusSuccess: string;
|
|
326
|
+
boxShadowFocusSuccess: string;
|
|
327
|
+
caretColorSuccess: string;
|
|
314
328
|
loadingColorWarning: string;
|
|
315
329
|
borderWarning: string;
|
|
316
330
|
borderHoverWarning: string;
|
|
@@ -444,6 +458,13 @@ export declare const mentionProps: {
|
|
|
444
458
|
borderFocus: string;
|
|
445
459
|
boxShadowFocus: string;
|
|
446
460
|
loadingColor: string;
|
|
461
|
+
loadingColorSuccess: string;
|
|
462
|
+
borderSuccess: string;
|
|
463
|
+
borderHoverSuccess: string;
|
|
464
|
+
colorFocusSuccess: string;
|
|
465
|
+
borderFocusSuccess: string;
|
|
466
|
+
boxShadowFocusSuccess: string;
|
|
467
|
+
caretColorSuccess: string;
|
|
447
468
|
loadingColorWarning: string;
|
|
448
469
|
borderWarning: string;
|
|
449
470
|
borderHoverWarning: string;
|
|
@@ -645,6 +666,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
645
666
|
borderFocus: string;
|
|
646
667
|
boxShadowFocus: string;
|
|
647
668
|
loadingColor: string;
|
|
669
|
+
loadingColorSuccess: string;
|
|
670
|
+
borderSuccess: string;
|
|
671
|
+
borderHoverSuccess: string;
|
|
672
|
+
colorFocusSuccess: string;
|
|
673
|
+
borderFocusSuccess: string;
|
|
674
|
+
boxShadowFocusSuccess: string;
|
|
675
|
+
caretColorSuccess: string;
|
|
648
676
|
loadingColorWarning: string;
|
|
649
677
|
borderWarning: string;
|
|
650
678
|
borderHoverWarning: string;
|
|
@@ -778,6 +806,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
778
806
|
borderFocus: string;
|
|
779
807
|
boxShadowFocus: string;
|
|
780
808
|
loadingColor: string;
|
|
809
|
+
loadingColorSuccess: string;
|
|
810
|
+
borderSuccess: string;
|
|
811
|
+
borderHoverSuccess: string;
|
|
812
|
+
colorFocusSuccess: string;
|
|
813
|
+
borderFocusSuccess: string;
|
|
814
|
+
boxShadowFocusSuccess: string;
|
|
815
|
+
caretColorSuccess: string;
|
|
781
816
|
loadingColorWarning: string;
|
|
782
817
|
borderWarning: string;
|
|
783
818
|
borderHoverWarning: string;
|
|
@@ -911,6 +946,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
911
946
|
borderFocus: string;
|
|
912
947
|
boxShadowFocus: string;
|
|
913
948
|
loadingColor: string;
|
|
949
|
+
loadingColorSuccess: string;
|
|
950
|
+
borderSuccess: string;
|
|
951
|
+
borderHoverSuccess: string;
|
|
952
|
+
colorFocusSuccess: string;
|
|
953
|
+
borderFocusSuccess: string;
|
|
954
|
+
boxShadowFocusSuccess: string;
|
|
955
|
+
caretColorSuccess: string;
|
|
914
956
|
loadingColorWarning: string;
|
|
915
957
|
borderWarning: string;
|
|
916
958
|
borderHoverWarning: string;
|
|
@@ -1053,6 +1095,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1053
1095
|
borderFocus: string;
|
|
1054
1096
|
boxShadowFocus: string;
|
|
1055
1097
|
loadingColor: string;
|
|
1098
|
+
loadingColorSuccess: string;
|
|
1099
|
+
borderSuccess: string;
|
|
1100
|
+
borderHoverSuccess: string;
|
|
1101
|
+
colorFocusSuccess: string;
|
|
1102
|
+
borderFocusSuccess: string;
|
|
1103
|
+
boxShadowFocusSuccess: string;
|
|
1104
|
+
caretColorSuccess: string;
|
|
1056
1105
|
loadingColorWarning: string;
|
|
1057
1106
|
borderWarning: string;
|
|
1058
1107
|
borderHoverWarning: string;
|
|
@@ -1368,6 +1417,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1368
1417
|
borderFocus: string;
|
|
1369
1418
|
boxShadowFocus: string;
|
|
1370
1419
|
loadingColor: string;
|
|
1420
|
+
loadingColorSuccess: string;
|
|
1421
|
+
borderSuccess: string;
|
|
1422
|
+
borderHoverSuccess: string;
|
|
1423
|
+
colorFocusSuccess: string;
|
|
1424
|
+
borderFocusSuccess: string;
|
|
1425
|
+
boxShadowFocusSuccess: string;
|
|
1426
|
+
caretColorSuccess: string;
|
|
1371
1427
|
loadingColorWarning: string;
|
|
1372
1428
|
borderWarning: string;
|
|
1373
1429
|
borderHoverWarning: string;
|
|
@@ -1501,6 +1557,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1501
1557
|
borderFocus: string;
|
|
1502
1558
|
boxShadowFocus: string;
|
|
1503
1559
|
loadingColor: string;
|
|
1560
|
+
loadingColorSuccess: string;
|
|
1561
|
+
borderSuccess: string;
|
|
1562
|
+
borderHoverSuccess: string;
|
|
1563
|
+
colorFocusSuccess: string;
|
|
1564
|
+
borderFocusSuccess: string;
|
|
1565
|
+
boxShadowFocusSuccess: string;
|
|
1566
|
+
caretColorSuccess: string;
|
|
1504
1567
|
loadingColorWarning: string;
|
|
1505
1568
|
borderWarning: string;
|
|
1506
1569
|
borderHoverWarning: string;
|
|
@@ -1634,6 +1697,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1634
1697
|
borderFocus: string;
|
|
1635
1698
|
boxShadowFocus: string;
|
|
1636
1699
|
loadingColor: string;
|
|
1700
|
+
loadingColorSuccess: string;
|
|
1701
|
+
borderSuccess: string;
|
|
1702
|
+
borderHoverSuccess: string;
|
|
1703
|
+
colorFocusSuccess: string;
|
|
1704
|
+
borderFocusSuccess: string;
|
|
1705
|
+
boxShadowFocusSuccess: string;
|
|
1706
|
+
caretColorSuccess: string;
|
|
1637
1707
|
loadingColorWarning: string;
|
|
1638
1708
|
borderWarning: string;
|
|
1639
1709
|
borderHoverWarning: string;
|
|
@@ -110,6 +110,13 @@ declare const mentionLight: import("../../_mixins").Theme<"Mention", {
|
|
|
110
110
|
borderFocus: string;
|
|
111
111
|
boxShadowFocus: string;
|
|
112
112
|
loadingColor: string;
|
|
113
|
+
loadingColorSuccess: string;
|
|
114
|
+
borderSuccess: string;
|
|
115
|
+
borderHoverSuccess: string;
|
|
116
|
+
colorFocusSuccess: string;
|
|
117
|
+
borderFocusSuccess: string;
|
|
118
|
+
boxShadowFocusSuccess: string;
|
|
119
|
+
caretColorSuccess: string;
|
|
113
120
|
loadingColorWarning: string;
|
|
114
121
|
borderWarning: string;
|
|
115
122
|
borderHoverWarning: string;
|
|
@@ -27,7 +27,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
27
27
|
};
|
|
28
28
|
onAfterEnter: PropType<() => void>;
|
|
29
29
|
onEsc: PropType<(e: KeyboardEvent) => void>;
|
|
30
|
-
presetDisabled: BooleanConstructor;
|
|
31
30
|
size: {
|
|
32
31
|
type: PropType<"small" | "medium" | "large">;
|
|
33
32
|
default: string;
|
|
@@ -1256,7 +1255,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1256
1255
|
};
|
|
1257
1256
|
onAfterEnter: PropType<() => void>;
|
|
1258
1257
|
onEsc: PropType<(e: KeyboardEvent) => void>;
|
|
1259
|
-
presetDisabled: BooleanConstructor;
|
|
1260
1258
|
size: {
|
|
1261
1259
|
type: PropType<"small" | "medium" | "large">;
|
|
1262
1260
|
default: string;
|
|
@@ -1318,6 +1316,5 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1318
1316
|
trapFocus: boolean;
|
|
1319
1317
|
autoFocus: boolean;
|
|
1320
1318
|
blockScroll: boolean;
|
|
1321
|
-
presetDisabled: boolean;
|
|
1322
1319
|
}, SlotsType<ModalSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1323
1320
|
export default _default;
|
package/lib/modal/src/Modal.d.ts
CHANGED
|
@@ -23,7 +23,6 @@ export declare const modalProps: {
|
|
|
23
23
|
onBeforeHide: PropType<() => void>;
|
|
24
24
|
onAfterHide: PropType<() => void>;
|
|
25
25
|
onHide: PropType<(value: false) => void>;
|
|
26
|
-
presetDisabled: BooleanConstructor;
|
|
27
26
|
size: {
|
|
28
27
|
type: PropType<"small" | "medium" | "large">;
|
|
29
28
|
default: string;
|
|
@@ -61,7 +60,10 @@ export declare const modalProps: {
|
|
|
61
60
|
type: BooleanConstructor;
|
|
62
61
|
default: boolean;
|
|
63
62
|
};
|
|
64
|
-
preset:
|
|
63
|
+
preset: {
|
|
64
|
+
type: PropType<"confirm" | "dialog" | "card">;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
65
67
|
to: PropType<string | HTMLElement>;
|
|
66
68
|
displayDirective: {
|
|
67
69
|
type: PropType<"if" | "show">;
|
|
@@ -1067,7 +1069,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1067
1069
|
onBeforeHide: PropType<() => void>;
|
|
1068
1070
|
onAfterHide: PropType<() => void>;
|
|
1069
1071
|
onHide: PropType<(value: false) => void>;
|
|
1070
|
-
presetDisabled: BooleanConstructor;
|
|
1071
1072
|
size: {
|
|
1072
1073
|
type: PropType<"small" | "medium" | "large">;
|
|
1073
1074
|
default: string;
|
|
@@ -1105,7 +1106,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1105
1106
|
type: BooleanConstructor;
|
|
1106
1107
|
default: boolean;
|
|
1107
1108
|
};
|
|
1108
|
-
preset:
|
|
1109
|
+
preset: {
|
|
1110
|
+
type: PropType<"confirm" | "dialog" | "card">;
|
|
1111
|
+
default: string;
|
|
1112
|
+
};
|
|
1109
1113
|
to: PropType<string | HTMLElement>;
|
|
1110
1114
|
displayDirective: {
|
|
1111
1115
|
type: PropType<"if" | "show">;
|
|
@@ -2127,7 +2131,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2127
2131
|
onBeforeHide: PropType<() => void>;
|
|
2128
2132
|
onAfterHide: PropType<() => void>;
|
|
2129
2133
|
onHide: PropType<(value: false) => void>;
|
|
2130
|
-
presetDisabled: BooleanConstructor;
|
|
2131
2134
|
size: {
|
|
2132
2135
|
type: PropType<"small" | "medium" | "large">;
|
|
2133
2136
|
default: string;
|
|
@@ -2165,7 +2168,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2165
2168
|
type: BooleanConstructor;
|
|
2166
2169
|
default: boolean;
|
|
2167
2170
|
};
|
|
2168
|
-
preset:
|
|
2171
|
+
preset: {
|
|
2172
|
+
type: PropType<"confirm" | "dialog" | "card">;
|
|
2173
|
+
default: string;
|
|
2174
|
+
};
|
|
2169
2175
|
to: PropType<string | HTMLElement>;
|
|
2170
2176
|
displayDirective: {
|
|
2171
2177
|
type: PropType<"if" | "show">;
|
|
@@ -3158,9 +3164,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3158
3164
|
autoFocus: boolean;
|
|
3159
3165
|
closeOnEsc: boolean;
|
|
3160
3166
|
blockScroll: boolean;
|
|
3167
|
+
preset: "card" | "dialog" | "confirm";
|
|
3161
3168
|
internalDialog: boolean;
|
|
3162
3169
|
internalAppear: boolean | undefined;
|
|
3163
|
-
presetDisabled: boolean;
|
|
3164
3170
|
unstableShowMask: boolean;
|
|
3165
3171
|
transformOrigin: "mouse" | "center";
|
|
3166
3172
|
}, SlotsType<ModalSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/lib/modal/src/Modal.js
CHANGED
|
@@ -23,7 +23,10 @@ exports.modalProps = Object.assign(Object.assign(Object.assign(Object.assign({},
|
|
|
23
23
|
}, maskClosable: {
|
|
24
24
|
type: Boolean,
|
|
25
25
|
default: true
|
|
26
|
-
}, preset:
|
|
26
|
+
}, preset: {
|
|
27
|
+
type: String,
|
|
28
|
+
default: 'dialog'
|
|
29
|
+
}, to: [String, Object], displayDirective: {
|
|
27
30
|
type: String,
|
|
28
31
|
default: 'if'
|
|
29
32
|
}, transformOrigin: {
|
|
@@ -244,7 +247,7 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
244
247
|
this.themeClass,
|
|
245
248
|
this.namespace
|
|
246
249
|
], style: this.cssVars },
|
|
247
|
-
(0, vue_1.h)(BodyWrapper_1.default, Object.assign({ style: this.overlayStyle }, this.$attrs, { ref: "bodyWrapper", displayDirective: this.displayDirective, show: this.show, preset: this.preset, autoFocus: this.autoFocus, trapFocus: this.trapFocus, draggable: this.draggable, blockScroll: this.blockScroll }, this.presetProps, { onEsc: this.handleEsc, onClose: this.handleCloseClick, onNegativeClick: this.handleNegativeClick, onPositiveClick: this.handlePositiveClick, onBeforeLeave: this.handleBeforeLeave, onAfterEnter: this.onAfterEnter, onAfterLeave: this.handleAfterLeave, onClickoutside: unstableShowMask ? undefined : this.handleClickoutside, renderMask: unstableShowMask
|
|
250
|
+
(0, vue_1.h)(BodyWrapper_1.default, Object.assign({ style: this.overlayStyle }, this.$attrs, { ref: "bodyWrapper", displayDirective: this.displayDirective, show: this.show, preset: this.internalDialog ? undefined : this.preset, autoFocus: this.autoFocus, trapFocus: this.trapFocus, draggable: this.draggable, blockScroll: this.blockScroll }, this.presetProps, { onEsc: this.handleEsc, onClose: this.handleCloseClick, onNegativeClick: this.handleNegativeClick, onPositiveClick: this.handlePositiveClick, onBeforeLeave: this.handleBeforeLeave, onAfterEnter: this.onAfterEnter, onAfterLeave: this.handleAfterLeave, onClickoutside: unstableShowMask ? undefined : this.handleClickoutside, renderMask: unstableShowMask
|
|
248
251
|
? () => {
|
|
249
252
|
var _a;
|
|
250
253
|
return ((0, vue_1.h)(vue_1.Transition, { name: "fade-in-transition", key: "mask", appear: (_a = this.internalAppear) !== null && _a !== void 0 ? _a : this.isMounted }, {
|
|
@@ -27,7 +27,6 @@ export declare const UModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
27
27
|
onBeforeHide: PropType<() => void>;
|
|
28
28
|
onAfterHide: PropType<() => void>;
|
|
29
29
|
onHide: PropType<(value: false) => void>;
|
|
30
|
-
presetDisabled: BooleanConstructor;
|
|
31
30
|
size: {
|
|
32
31
|
type: PropType<"small" | "medium" | "large">;
|
|
33
32
|
default: string;
|
|
@@ -65,7 +64,10 @@ export declare const UModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
65
64
|
type: BooleanConstructor;
|
|
66
65
|
default: boolean;
|
|
67
66
|
};
|
|
68
|
-
preset:
|
|
67
|
+
preset: {
|
|
68
|
+
type: PropType<"confirm" | "dialog" | "card">;
|
|
69
|
+
default: string;
|
|
70
|
+
};
|
|
69
71
|
to: PropType<string | HTMLElement>;
|
|
70
72
|
displayDirective: {
|
|
71
73
|
type: PropType<"if" | "show">;
|
|
@@ -1082,7 +1084,6 @@ export declare const UModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
1082
1084
|
onBeforeHide: PropType<() => void>;
|
|
1083
1085
|
onAfterHide: PropType<() => void>;
|
|
1084
1086
|
onHide: PropType<(value: false) => void>;
|
|
1085
|
-
presetDisabled: BooleanConstructor;
|
|
1086
1087
|
size: {
|
|
1087
1088
|
type: PropType<"small" | "medium" | "large">;
|
|
1088
1089
|
default: string;
|
|
@@ -1120,7 +1121,10 @@ export declare const UModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
1120
1121
|
type: BooleanConstructor;
|
|
1121
1122
|
default: boolean;
|
|
1122
1123
|
};
|
|
1123
|
-
preset:
|
|
1124
|
+
preset: {
|
|
1125
|
+
type: PropType<"confirm" | "dialog" | "card">;
|
|
1126
|
+
default: string;
|
|
1127
|
+
};
|
|
1124
1128
|
to: PropType<string | HTMLElement>;
|
|
1125
1129
|
displayDirective: {
|
|
1126
1130
|
type: PropType<"if" | "show">;
|
|
@@ -2113,9 +2117,9 @@ export declare const UModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
2113
2117
|
autoFocus: boolean;
|
|
2114
2118
|
closeOnEsc: boolean;
|
|
2115
2119
|
blockScroll: boolean;
|
|
2120
|
+
preset: "card" | "dialog" | "confirm";
|
|
2116
2121
|
internalDialog: boolean;
|
|
2117
2122
|
internalAppear: boolean | undefined;
|
|
2118
|
-
presetDisabled: boolean;
|
|
2119
2123
|
unstableShowMask: boolean;
|
|
2120
2124
|
transformOrigin: "mouse" | "center";
|
|
2121
2125
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
2
|
declare const presetProps: {
|
|
3
|
-
presetDisabled: BooleanConstructor;
|
|
4
3
|
size: {
|
|
5
4
|
type: PropType<"small" | "medium" | "large">;
|
|
6
5
|
default: string;
|
|
@@ -33,5 +32,5 @@ declare const presetProps: {
|
|
|
33
32
|
onNegativeClick: PropType<(e: MouseEvent) => void>;
|
|
34
33
|
onClose: PropType<() => void>;
|
|
35
34
|
};
|
|
36
|
-
declare const presetPropsKeys: ("bordered" | "icon" | "type" | "content" | "body" | "title" | "size" | "positiveText" | "negativeText" | "loading" | "showIcon" | "closable" | "onClose" | "iconPlacement" | "positiveButtonProps" | "negativeButtonProps" | "action" | "onPositiveClick" | "onNegativeClick"
|
|
35
|
+
declare const presetPropsKeys: ("bordered" | "icon" | "type" | "content" | "body" | "title" | "size" | "positiveText" | "negativeText" | "loading" | "showIcon" | "closable" | "onClose" | "iconPlacement" | "positiveButtonProps" | "negativeButtonProps" | "action" | "onPositiveClick" | "onNegativeClick")[];
|
|
37
36
|
export { presetProps, presetPropsKeys };
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.presetPropsKeys = exports.presetProps = void 0;
|
|
4
4
|
const _utils_1 = require("../../_utils");
|
|
5
5
|
const dialogProps_1 = require("../../dialog/src/dialogProps");
|
|
6
|
-
const presetProps = Object.assign(Object.assign({}, dialogProps_1.dialogProps), {
|
|
6
|
+
const presetProps = Object.assign(Object.assign({}, dialogProps_1.dialogProps), { size: {
|
|
7
7
|
type: String,
|
|
8
8
|
default: 'medium'
|
|
9
9
|
} });
|