@uzum-tech/ui 2.0.0-beta.8 → 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 +246 -177
- package/dist/index.mjs +246 -177
- 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 +1033 -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/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 +1033 -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/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 +8 -1
|
@@ -175,6 +175,13 @@ export declare const autoCompleteProps: {
|
|
|
175
175
|
borderFocus: string;
|
|
176
176
|
boxShadowFocus: string;
|
|
177
177
|
loadingColor: string;
|
|
178
|
+
loadingColorSuccess: string;
|
|
179
|
+
borderSuccess: string;
|
|
180
|
+
borderHoverSuccess: string;
|
|
181
|
+
colorFocusSuccess: string;
|
|
182
|
+
borderFocusSuccess: string;
|
|
183
|
+
boxShadowFocusSuccess: string;
|
|
184
|
+
caretColorSuccess: string;
|
|
178
185
|
loadingColorWarning: string;
|
|
179
186
|
borderWarning: string;
|
|
180
187
|
borderHoverWarning: string;
|
|
@@ -308,6 +315,13 @@ export declare const autoCompleteProps: {
|
|
|
308
315
|
borderFocus: string;
|
|
309
316
|
boxShadowFocus: string;
|
|
310
317
|
loadingColor: string;
|
|
318
|
+
loadingColorSuccess: string;
|
|
319
|
+
borderSuccess: string;
|
|
320
|
+
borderHoverSuccess: string;
|
|
321
|
+
colorFocusSuccess: string;
|
|
322
|
+
borderFocusSuccess: string;
|
|
323
|
+
boxShadowFocusSuccess: string;
|
|
324
|
+
caretColorSuccess: string;
|
|
311
325
|
loadingColorWarning: string;
|
|
312
326
|
borderWarning: string;
|
|
313
327
|
borderHoverWarning: string;
|
|
@@ -441,6 +455,13 @@ export declare const autoCompleteProps: {
|
|
|
441
455
|
borderFocus: string;
|
|
442
456
|
boxShadowFocus: string;
|
|
443
457
|
loadingColor: string;
|
|
458
|
+
loadingColorSuccess: string;
|
|
459
|
+
borderSuccess: string;
|
|
460
|
+
borderHoverSuccess: string;
|
|
461
|
+
colorFocusSuccess: string;
|
|
462
|
+
borderFocusSuccess: string;
|
|
463
|
+
boxShadowFocusSuccess: string;
|
|
464
|
+
caretColorSuccess: string;
|
|
444
465
|
loadingColorWarning: string;
|
|
445
466
|
borderWarning: string;
|
|
446
467
|
borderHoverWarning: string;
|
|
@@ -641,6 +662,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
641
662
|
borderFocus: string;
|
|
642
663
|
boxShadowFocus: string;
|
|
643
664
|
loadingColor: string;
|
|
665
|
+
loadingColorSuccess: string;
|
|
666
|
+
borderSuccess: string;
|
|
667
|
+
borderHoverSuccess: string;
|
|
668
|
+
colorFocusSuccess: string;
|
|
669
|
+
borderFocusSuccess: string;
|
|
670
|
+
boxShadowFocusSuccess: string;
|
|
671
|
+
caretColorSuccess: string;
|
|
644
672
|
loadingColorWarning: string;
|
|
645
673
|
borderWarning: string;
|
|
646
674
|
borderHoverWarning: string;
|
|
@@ -774,6 +802,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
774
802
|
borderFocus: string;
|
|
775
803
|
boxShadowFocus: string;
|
|
776
804
|
loadingColor: string;
|
|
805
|
+
loadingColorSuccess: string;
|
|
806
|
+
borderSuccess: string;
|
|
807
|
+
borderHoverSuccess: string;
|
|
808
|
+
colorFocusSuccess: string;
|
|
809
|
+
borderFocusSuccess: string;
|
|
810
|
+
boxShadowFocusSuccess: string;
|
|
811
|
+
caretColorSuccess: string;
|
|
777
812
|
loadingColorWarning: string;
|
|
778
813
|
borderWarning: string;
|
|
779
814
|
borderHoverWarning: string;
|
|
@@ -907,6 +942,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
907
942
|
borderFocus: string;
|
|
908
943
|
boxShadowFocus: string;
|
|
909
944
|
loadingColor: string;
|
|
945
|
+
loadingColorSuccess: string;
|
|
946
|
+
borderSuccess: string;
|
|
947
|
+
borderHoverSuccess: string;
|
|
948
|
+
colorFocusSuccess: string;
|
|
949
|
+
borderFocusSuccess: string;
|
|
950
|
+
boxShadowFocusSuccess: string;
|
|
951
|
+
caretColorSuccess: string;
|
|
910
952
|
loadingColorWarning: string;
|
|
911
953
|
borderWarning: string;
|
|
912
954
|
borderHoverWarning: string;
|
|
@@ -1119,6 +1161,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1119
1161
|
borderFocus: string;
|
|
1120
1162
|
boxShadowFocus: string;
|
|
1121
1163
|
loadingColor: string;
|
|
1164
|
+
loadingColorSuccess: string;
|
|
1165
|
+
borderSuccess: string;
|
|
1166
|
+
borderHoverSuccess: string;
|
|
1167
|
+
colorFocusSuccess: string;
|
|
1168
|
+
borderFocusSuccess: string;
|
|
1169
|
+
boxShadowFocusSuccess: string;
|
|
1170
|
+
caretColorSuccess: string;
|
|
1122
1171
|
loadingColorWarning: string;
|
|
1123
1172
|
borderWarning: string;
|
|
1124
1173
|
borderHoverWarning: string;
|
|
@@ -1363,6 +1412,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1363
1412
|
borderFocus: string;
|
|
1364
1413
|
boxShadowFocus: string;
|
|
1365
1414
|
loadingColor: string;
|
|
1415
|
+
loadingColorSuccess: string;
|
|
1416
|
+
borderSuccess: string;
|
|
1417
|
+
borderHoverSuccess: string;
|
|
1418
|
+
colorFocusSuccess: string;
|
|
1419
|
+
borderFocusSuccess: string;
|
|
1420
|
+
boxShadowFocusSuccess: string;
|
|
1421
|
+
caretColorSuccess: string;
|
|
1366
1422
|
loadingColorWarning: string;
|
|
1367
1423
|
borderWarning: string;
|
|
1368
1424
|
borderHoverWarning: string;
|
|
@@ -1496,6 +1552,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1496
1552
|
borderFocus: string;
|
|
1497
1553
|
boxShadowFocus: string;
|
|
1498
1554
|
loadingColor: string;
|
|
1555
|
+
loadingColorSuccess: string;
|
|
1556
|
+
borderSuccess: string;
|
|
1557
|
+
borderHoverSuccess: string;
|
|
1558
|
+
colorFocusSuccess: string;
|
|
1559
|
+
borderFocusSuccess: string;
|
|
1560
|
+
boxShadowFocusSuccess: string;
|
|
1561
|
+
caretColorSuccess: string;
|
|
1499
1562
|
loadingColorWarning: string;
|
|
1500
1563
|
borderWarning: string;
|
|
1501
1564
|
borderHoverWarning: string;
|
|
@@ -1629,6 +1692,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1629
1692
|
borderFocus: string;
|
|
1630
1693
|
boxShadowFocus: string;
|
|
1631
1694
|
loadingColor: string;
|
|
1695
|
+
loadingColorSuccess: string;
|
|
1696
|
+
borderSuccess: string;
|
|
1697
|
+
borderHoverSuccess: string;
|
|
1698
|
+
colorFocusSuccess: string;
|
|
1699
|
+
borderFocusSuccess: string;
|
|
1700
|
+
boxShadowFocusSuccess: string;
|
|
1701
|
+
caretColorSuccess: string;
|
|
1632
1702
|
loadingColorWarning: string;
|
|
1633
1703
|
borderWarning: string;
|
|
1634
1704
|
borderHoverWarning: string;
|
|
@@ -110,6 +110,13 @@ declare const autoCompleteLight: import("../../_mixins").Theme<"AutoComplete", {
|
|
|
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;
|
|
@@ -133,8 +133,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
133
133
|
const slideSizesTrigger = (0, vue_1.ref)(0);
|
|
134
134
|
const slideSizesRef = (0, vue_1.computed)(() => {
|
|
135
135
|
const { value: slidesEls } = slideElsRef;
|
|
136
|
-
if (!slidesEls.length)
|
|
136
|
+
if (!slidesEls.length) {
|
|
137
137
|
return [];
|
|
138
|
+
}
|
|
138
139
|
// eslint-disable-next-line ts/no-unused-expressions
|
|
139
140
|
slideSizesTrigger.value;
|
|
140
141
|
const { value: autoSlideSize } = autoSlideSizeRef;
|
|
@@ -157,8 +158,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
157
158
|
// The translate required to reach each slide
|
|
158
159
|
const slideTranlatesRef = (0, vue_1.computed)(() => {
|
|
159
160
|
const { value: slideSizes } = slideSizesRef;
|
|
160
|
-
if (!slideSizes.length)
|
|
161
|
+
if (!slideSizes.length) {
|
|
161
162
|
return [];
|
|
163
|
+
}
|
|
162
164
|
const { centeredSlides, spaceBetween } = props;
|
|
163
165
|
const { value: axis } = sizeAxisRef;
|
|
164
166
|
const { [axis]: perViewSize } = perViewSizeRef.value;
|
|
@@ -185,8 +187,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
185
187
|
: (0, utils_1.resolveSpeed)(transitionStyleRef.value.transitionDuration));
|
|
186
188
|
const slideStylesRef = (0, vue_1.computed)(() => {
|
|
187
189
|
const { value: slidesEls } = slideElsRef;
|
|
188
|
-
if (!slidesEls.length)
|
|
190
|
+
if (!slidesEls.length) {
|
|
189
191
|
return [];
|
|
192
|
+
}
|
|
190
193
|
const useComputedSize = !(autoSlideSizeRef.value || realSlidesPerViewRef.value === 1);
|
|
191
194
|
const getSlideSize = (index) => {
|
|
192
195
|
if (useComputedSize) {
|
|
@@ -222,8 +225,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
222
225
|
else {
|
|
223
226
|
const { value: slideSizes } = slideSizesRef;
|
|
224
227
|
const { length } = slideSizes;
|
|
225
|
-
if (!length)
|
|
228
|
+
if (!length) {
|
|
226
229
|
return totalSlides;
|
|
230
|
+
}
|
|
227
231
|
const { value: translates } = slideTranlatesRef;
|
|
228
232
|
const { value: axis } = sizeAxisRef;
|
|
229
233
|
const perViewSize = perViewSizeRef.value[axis];
|
|
@@ -295,21 +299,25 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
295
299
|
}
|
|
296
300
|
function prev() {
|
|
297
301
|
const prevIndex = getRealPrevIndex();
|
|
298
|
-
if (prevIndex !== null)
|
|
302
|
+
if (prevIndex !== null) {
|
|
299
303
|
toRealIndex(prevIndex);
|
|
304
|
+
}
|
|
300
305
|
}
|
|
301
306
|
function next() {
|
|
302
307
|
const nextIndex = getRealNextIndex();
|
|
303
|
-
if (nextIndex !== null)
|
|
308
|
+
if (nextIndex !== null) {
|
|
304
309
|
toRealIndex(nextIndex);
|
|
310
|
+
}
|
|
305
311
|
}
|
|
306
312
|
function prevIfSlideTransitionEnd() {
|
|
307
|
-
if (!inTransition || !duplicatedableRef.value)
|
|
313
|
+
if (!inTransition || !duplicatedableRef.value) {
|
|
308
314
|
prev();
|
|
315
|
+
}
|
|
309
316
|
}
|
|
310
317
|
function nextIfSlideTransitionEnd() {
|
|
311
|
-
if (!inTransition || !duplicatedableRef.value)
|
|
318
|
+
if (!inTransition || !duplicatedableRef.value) {
|
|
312
319
|
next();
|
|
320
|
+
}
|
|
313
321
|
}
|
|
314
322
|
// Translate to
|
|
315
323
|
// record the translate of each slide, so that it can be restored at touch
|
|
@@ -396,13 +404,15 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
396
404
|
};
|
|
397
405
|
(0, CarouselContext_1.provideCarouselContext)(carouselContext);
|
|
398
406
|
function addSlide(slide) {
|
|
399
|
-
if (!slide)
|
|
407
|
+
if (!slide) {
|
|
400
408
|
return;
|
|
409
|
+
}
|
|
401
410
|
slideElsRef.value.push(slide);
|
|
402
411
|
}
|
|
403
412
|
function removeSlide(slide) {
|
|
404
|
-
if (!slide)
|
|
413
|
+
if (!slide) {
|
|
405
414
|
return;
|
|
415
|
+
}
|
|
406
416
|
const index = getSlideIndex(slide);
|
|
407
417
|
if (index !== -1) {
|
|
408
418
|
slideElsRef.value.splice(index, 1);
|
|
@@ -463,8 +473,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
463
473
|
let dragStartTime = 0;
|
|
464
474
|
function handleTouchstart(event) {
|
|
465
475
|
var _a;
|
|
466
|
-
if (globalDragging)
|
|
476
|
+
if (globalDragging) {
|
|
467
477
|
return;
|
|
478
|
+
}
|
|
468
479
|
if (!((_a = slidesElRef.value) === null || _a === void 0 ? void 0 : _a.contains((0, seemly_1.getPreciseEventTarget)(event)))) {
|
|
469
480
|
return;
|
|
470
481
|
}
|
|
@@ -588,8 +599,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
588
599
|
}
|
|
589
600
|
function handleMousewheel(event) {
|
|
590
601
|
event.preventDefault();
|
|
591
|
-
if (inTransition)
|
|
602
|
+
if (inTransition) {
|
|
592
603
|
return;
|
|
604
|
+
}
|
|
593
605
|
let { deltaX, deltaY } = event;
|
|
594
606
|
if (event.shiftKey && !deltaX) {
|
|
595
607
|
deltaX = deltaY;
|
|
@@ -661,8 +673,9 @@ exports.default = (0, vue_1.defineComponent)({
|
|
|
661
673
|
}
|
|
662
674
|
});
|
|
663
675
|
(0, vue_1.watch)(realIndexRef, (realIndex, lastRealIndex) => {
|
|
664
|
-
if (realIndex === lastRealIndex)
|
|
676
|
+
if (realIndex === lastRealIndex) {
|
|
665
677
|
return;
|
|
678
|
+
}
|
|
666
679
|
resetAutoplay();
|
|
667
680
|
if (sequenceLayoutRef.value) {
|
|
668
681
|
if (duplicatedableRef.value && displayTotalViewRef.value > 2) {
|
package/lib/chat/src/Chat.d.ts
CHANGED
|
@@ -316,6 +316,13 @@ export declare const chatProps: {
|
|
|
316
316
|
borderFocus: string;
|
|
317
317
|
boxShadowFocus: string;
|
|
318
318
|
loadingColor: string;
|
|
319
|
+
loadingColorSuccess: string;
|
|
320
|
+
borderSuccess: string;
|
|
321
|
+
borderHoverSuccess: string;
|
|
322
|
+
colorFocusSuccess: string;
|
|
323
|
+
borderFocusSuccess: string;
|
|
324
|
+
boxShadowFocusSuccess: string;
|
|
325
|
+
caretColorSuccess: string;
|
|
319
326
|
loadingColorWarning: string;
|
|
320
327
|
borderWarning: string;
|
|
321
328
|
borderHoverWarning: string;
|
|
@@ -1014,6 +1021,13 @@ export declare const chatProps: {
|
|
|
1014
1021
|
borderFocus: string;
|
|
1015
1022
|
boxShadowFocus: string;
|
|
1016
1023
|
loadingColor: string;
|
|
1024
|
+
loadingColorSuccess: string;
|
|
1025
|
+
borderSuccess: string;
|
|
1026
|
+
borderHoverSuccess: string;
|
|
1027
|
+
colorFocusSuccess: string;
|
|
1028
|
+
borderFocusSuccess: string;
|
|
1029
|
+
boxShadowFocusSuccess: string;
|
|
1030
|
+
caretColorSuccess: string;
|
|
1017
1031
|
loadingColorWarning: string;
|
|
1018
1032
|
borderWarning: string;
|
|
1019
1033
|
borderHoverWarning: string;
|
|
@@ -1712,6 +1726,13 @@ export declare const chatProps: {
|
|
|
1712
1726
|
borderFocus: string;
|
|
1713
1727
|
boxShadowFocus: string;
|
|
1714
1728
|
loadingColor: string;
|
|
1729
|
+
loadingColorSuccess: string;
|
|
1730
|
+
borderSuccess: string;
|
|
1731
|
+
borderHoverSuccess: string;
|
|
1732
|
+
colorFocusSuccess: string;
|
|
1733
|
+
borderFocusSuccess: string;
|
|
1734
|
+
boxShadowFocusSuccess: string;
|
|
1735
|
+
caretColorSuccess: string;
|
|
1715
1736
|
loadingColorWarning: string;
|
|
1716
1737
|
borderWarning: string;
|
|
1717
1738
|
borderHoverWarning: string;
|
|
@@ -2649,6 +2670,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2649
2670
|
borderFocus: string;
|
|
2650
2671
|
boxShadowFocus: string;
|
|
2651
2672
|
loadingColor: string;
|
|
2673
|
+
loadingColorSuccess: string;
|
|
2674
|
+
borderSuccess: string;
|
|
2675
|
+
borderHoverSuccess: string;
|
|
2676
|
+
colorFocusSuccess: string;
|
|
2677
|
+
borderFocusSuccess: string;
|
|
2678
|
+
boxShadowFocusSuccess: string;
|
|
2679
|
+
caretColorSuccess: string;
|
|
2652
2680
|
loadingColorWarning: string;
|
|
2653
2681
|
borderWarning: string;
|
|
2654
2682
|
borderHoverWarning: string;
|
|
@@ -3347,6 +3375,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3347
3375
|
borderFocus: string;
|
|
3348
3376
|
boxShadowFocus: string;
|
|
3349
3377
|
loadingColor: string;
|
|
3378
|
+
loadingColorSuccess: string;
|
|
3379
|
+
borderSuccess: string;
|
|
3380
|
+
borderHoverSuccess: string;
|
|
3381
|
+
colorFocusSuccess: string;
|
|
3382
|
+
borderFocusSuccess: string;
|
|
3383
|
+
boxShadowFocusSuccess: string;
|
|
3384
|
+
caretColorSuccess: string;
|
|
3350
3385
|
loadingColorWarning: string;
|
|
3351
3386
|
borderWarning: string;
|
|
3352
3387
|
borderHoverWarning: string;
|
|
@@ -4045,6 +4080,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4045
4080
|
borderFocus: string;
|
|
4046
4081
|
boxShadowFocus: string;
|
|
4047
4082
|
loadingColor: string;
|
|
4083
|
+
loadingColorSuccess: string;
|
|
4084
|
+
borderSuccess: string;
|
|
4085
|
+
borderHoverSuccess: string;
|
|
4086
|
+
colorFocusSuccess: string;
|
|
4087
|
+
borderFocusSuccess: string;
|
|
4088
|
+
boxShadowFocusSuccess: string;
|
|
4089
|
+
caretColorSuccess: string;
|
|
4048
4090
|
loadingColorWarning: string;
|
|
4049
4091
|
borderWarning: string;
|
|
4050
4092
|
borderHoverWarning: string;
|
|
@@ -4748,6 +4790,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4748
4790
|
borderFocus: string;
|
|
4749
4791
|
boxShadowFocus: string;
|
|
4750
4792
|
loadingColor: string;
|
|
4793
|
+
loadingColorSuccess: string;
|
|
4794
|
+
borderSuccess: string;
|
|
4795
|
+
borderHoverSuccess: string;
|
|
4796
|
+
colorFocusSuccess: string;
|
|
4797
|
+
borderFocusSuccess: string;
|
|
4798
|
+
boxShadowFocusSuccess: string;
|
|
4799
|
+
caretColorSuccess: string;
|
|
4751
4800
|
loadingColorWarning: string;
|
|
4752
4801
|
borderWarning: string;
|
|
4753
4802
|
borderHoverWarning: string;
|
|
@@ -6057,6 +6106,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6057
6106
|
borderFocus: string;
|
|
6058
6107
|
boxShadowFocus: string;
|
|
6059
6108
|
loadingColor: string;
|
|
6109
|
+
loadingColorSuccess: string;
|
|
6110
|
+
borderSuccess: string;
|
|
6111
|
+
borderHoverSuccess: string;
|
|
6112
|
+
colorFocusSuccess: string;
|
|
6113
|
+
borderFocusSuccess: string;
|
|
6114
|
+
boxShadowFocusSuccess: string;
|
|
6115
|
+
caretColorSuccess: string;
|
|
6060
6116
|
loadingColorWarning: string;
|
|
6061
6117
|
borderWarning: string;
|
|
6062
6118
|
borderHoverWarning: string;
|
|
@@ -6755,6 +6811,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6755
6811
|
borderFocus: string;
|
|
6756
6812
|
boxShadowFocus: string;
|
|
6757
6813
|
loadingColor: string;
|
|
6814
|
+
loadingColorSuccess: string;
|
|
6815
|
+
borderSuccess: string;
|
|
6816
|
+
borderHoverSuccess: string;
|
|
6817
|
+
colorFocusSuccess: string;
|
|
6818
|
+
borderFocusSuccess: string;
|
|
6819
|
+
boxShadowFocusSuccess: string;
|
|
6820
|
+
caretColorSuccess: string;
|
|
6758
6821
|
loadingColorWarning: string;
|
|
6759
6822
|
borderWarning: string;
|
|
6760
6823
|
borderHoverWarning: string;
|
|
@@ -7453,6 +7516,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7453
7516
|
borderFocus: string;
|
|
7454
7517
|
boxShadowFocus: string;
|
|
7455
7518
|
loadingColor: string;
|
|
7519
|
+
loadingColorSuccess: string;
|
|
7520
|
+
borderSuccess: string;
|
|
7521
|
+
borderHoverSuccess: string;
|
|
7522
|
+
colorFocusSuccess: string;
|
|
7523
|
+
borderFocusSuccess: string;
|
|
7524
|
+
boxShadowFocusSuccess: string;
|
|
7525
|
+
caretColorSuccess: string;
|
|
7456
7526
|
loadingColorWarning: string;
|
|
7457
7527
|
borderWarning: string;
|
|
7458
7528
|
borderHoverWarning: string;
|
|
@@ -126,6 +126,13 @@ export declare const chatListItemsProps: {
|
|
|
126
126
|
borderFocus: string;
|
|
127
127
|
boxShadowFocus: string;
|
|
128
128
|
loadingColor: string;
|
|
129
|
+
loadingColorSuccess: string;
|
|
130
|
+
borderSuccess: string;
|
|
131
|
+
borderHoverSuccess: string;
|
|
132
|
+
colorFocusSuccess: string;
|
|
133
|
+
borderFocusSuccess: string;
|
|
134
|
+
boxShadowFocusSuccess: string;
|
|
135
|
+
caretColorSuccess: string;
|
|
129
136
|
loadingColorWarning: string;
|
|
130
137
|
borderWarning: string;
|
|
131
138
|
borderHoverWarning: string;
|
|
@@ -824,6 +831,13 @@ export declare const chatListItemsProps: {
|
|
|
824
831
|
borderFocus: string;
|
|
825
832
|
boxShadowFocus: string;
|
|
826
833
|
loadingColor: string;
|
|
834
|
+
loadingColorSuccess: string;
|
|
835
|
+
borderSuccess: string;
|
|
836
|
+
borderHoverSuccess: string;
|
|
837
|
+
colorFocusSuccess: string;
|
|
838
|
+
borderFocusSuccess: string;
|
|
839
|
+
boxShadowFocusSuccess: string;
|
|
840
|
+
caretColorSuccess: string;
|
|
827
841
|
loadingColorWarning: string;
|
|
828
842
|
borderWarning: string;
|
|
829
843
|
borderHoverWarning: string;
|
|
@@ -1522,6 +1536,13 @@ export declare const chatListItemsProps: {
|
|
|
1522
1536
|
borderFocus: string;
|
|
1523
1537
|
boxShadowFocus: string;
|
|
1524
1538
|
loadingColor: string;
|
|
1539
|
+
loadingColorSuccess: string;
|
|
1540
|
+
borderSuccess: string;
|
|
1541
|
+
borderHoverSuccess: string;
|
|
1542
|
+
colorFocusSuccess: string;
|
|
1543
|
+
borderFocusSuccess: string;
|
|
1544
|
+
boxShadowFocusSuccess: string;
|
|
1545
|
+
caretColorSuccess: string;
|
|
1525
1546
|
loadingColorWarning: string;
|
|
1526
1547
|
borderWarning: string;
|
|
1527
1548
|
borderHoverWarning: string;
|
|
@@ -2267,6 +2288,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2267
2288
|
borderFocus: string;
|
|
2268
2289
|
boxShadowFocus: string;
|
|
2269
2290
|
loadingColor: string;
|
|
2291
|
+
loadingColorSuccess: string;
|
|
2292
|
+
borderSuccess: string;
|
|
2293
|
+
borderHoverSuccess: string;
|
|
2294
|
+
colorFocusSuccess: string;
|
|
2295
|
+
borderFocusSuccess: string;
|
|
2296
|
+
boxShadowFocusSuccess: string;
|
|
2297
|
+
caretColorSuccess: string;
|
|
2270
2298
|
loadingColorWarning: string;
|
|
2271
2299
|
borderWarning: string;
|
|
2272
2300
|
borderHoverWarning: string;
|
|
@@ -2965,6 +2993,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2965
2993
|
borderFocus: string;
|
|
2966
2994
|
boxShadowFocus: string;
|
|
2967
2995
|
loadingColor: string;
|
|
2996
|
+
loadingColorSuccess: string;
|
|
2997
|
+
borderSuccess: string;
|
|
2998
|
+
borderHoverSuccess: string;
|
|
2999
|
+
colorFocusSuccess: string;
|
|
3000
|
+
borderFocusSuccess: string;
|
|
3001
|
+
boxShadowFocusSuccess: string;
|
|
3002
|
+
caretColorSuccess: string;
|
|
2968
3003
|
loadingColorWarning: string;
|
|
2969
3004
|
borderWarning: string;
|
|
2970
3005
|
borderHoverWarning: string;
|
|
@@ -3663,6 +3698,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3663
3698
|
borderFocus: string;
|
|
3664
3699
|
boxShadowFocus: string;
|
|
3665
3700
|
loadingColor: string;
|
|
3701
|
+
loadingColorSuccess: string;
|
|
3702
|
+
borderSuccess: string;
|
|
3703
|
+
borderHoverSuccess: string;
|
|
3704
|
+
colorFocusSuccess: string;
|
|
3705
|
+
borderFocusSuccess: string;
|
|
3706
|
+
boxShadowFocusSuccess: string;
|
|
3707
|
+
caretColorSuccess: string;
|
|
3666
3708
|
loadingColorWarning: string;
|
|
3667
3709
|
borderWarning: string;
|
|
3668
3710
|
borderHoverWarning: string;
|
|
@@ -4366,6 +4408,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4366
4408
|
borderFocus: string;
|
|
4367
4409
|
boxShadowFocus: string;
|
|
4368
4410
|
loadingColor: string;
|
|
4411
|
+
loadingColorSuccess: string;
|
|
4412
|
+
borderSuccess: string;
|
|
4413
|
+
borderHoverSuccess: string;
|
|
4414
|
+
colorFocusSuccess: string;
|
|
4415
|
+
borderFocusSuccess: string;
|
|
4416
|
+
boxShadowFocusSuccess: string;
|
|
4417
|
+
caretColorSuccess: string;
|
|
4369
4418
|
loadingColorWarning: string;
|
|
4370
4419
|
borderWarning: string;
|
|
4371
4420
|
borderHoverWarning: string;
|
|
@@ -5321,6 +5370,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
5321
5370
|
borderFocus: string;
|
|
5322
5371
|
boxShadowFocus: string;
|
|
5323
5372
|
loadingColor: string;
|
|
5373
|
+
loadingColorSuccess: string;
|
|
5374
|
+
borderSuccess: string;
|
|
5375
|
+
borderHoverSuccess: string;
|
|
5376
|
+
colorFocusSuccess: string;
|
|
5377
|
+
borderFocusSuccess: string;
|
|
5378
|
+
boxShadowFocusSuccess: string;
|
|
5379
|
+
caretColorSuccess: string;
|
|
5324
5380
|
loadingColorWarning: string;
|
|
5325
5381
|
borderWarning: string;
|
|
5326
5382
|
borderHoverWarning: string;
|
|
@@ -6276,6 +6332,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
6276
6332
|
borderFocus: string;
|
|
6277
6333
|
boxShadowFocus: string;
|
|
6278
6334
|
loadingColor: string;
|
|
6335
|
+
loadingColorSuccess: string;
|
|
6336
|
+
borderSuccess: string;
|
|
6337
|
+
borderHoverSuccess: string;
|
|
6338
|
+
colorFocusSuccess: string;
|
|
6339
|
+
borderFocusSuccess: string;
|
|
6340
|
+
boxShadowFocusSuccess: string;
|
|
6341
|
+
caretColorSuccess: string;
|
|
6279
6342
|
loadingColorWarning: string;
|
|
6280
6343
|
borderWarning: string;
|
|
6281
6344
|
borderHoverWarning: string;
|
|
@@ -7299,6 +7362,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7299
7362
|
borderFocus: string;
|
|
7300
7363
|
boxShadowFocus: string;
|
|
7301
7364
|
loadingColor: string;
|
|
7365
|
+
loadingColorSuccess: string;
|
|
7366
|
+
borderSuccess: string;
|
|
7367
|
+
borderHoverSuccess: string;
|
|
7368
|
+
colorFocusSuccess: string;
|
|
7369
|
+
borderFocusSuccess: string;
|
|
7370
|
+
boxShadowFocusSuccess: string;
|
|
7371
|
+
caretColorSuccess: string;
|
|
7302
7372
|
loadingColorWarning: string;
|
|
7303
7373
|
borderWarning: string;
|
|
7304
7374
|
borderHoverWarning: string;
|
|
@@ -7997,6 +8067,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
7997
8067
|
borderFocus: string;
|
|
7998
8068
|
boxShadowFocus: string;
|
|
7999
8069
|
loadingColor: string;
|
|
8070
|
+
loadingColorSuccess: string;
|
|
8071
|
+
borderSuccess: string;
|
|
8072
|
+
borderHoverSuccess: string;
|
|
8073
|
+
colorFocusSuccess: string;
|
|
8074
|
+
borderFocusSuccess: string;
|
|
8075
|
+
boxShadowFocusSuccess: string;
|
|
8076
|
+
caretColorSuccess: string;
|
|
8000
8077
|
loadingColorWarning: string;
|
|
8001
8078
|
borderWarning: string;
|
|
8002
8079
|
borderHoverWarning: string;
|
|
@@ -8695,6 +8772,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
8695
8772
|
borderFocus: string;
|
|
8696
8773
|
boxShadowFocus: string;
|
|
8697
8774
|
loadingColor: string;
|
|
8775
|
+
loadingColorSuccess: string;
|
|
8776
|
+
borderSuccess: string;
|
|
8777
|
+
borderHoverSuccess: string;
|
|
8778
|
+
colorFocusSuccess: string;
|
|
8779
|
+
borderFocusSuccess: string;
|
|
8780
|
+
boxShadowFocusSuccess: string;
|
|
8781
|
+
caretColorSuccess: string;
|
|
8698
8782
|
loadingColorWarning: string;
|
|
8699
8783
|
borderWarning: string;
|
|
8700
8784
|
borderHoverWarning: string;
|