@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
package/dist/index.mjs
CHANGED
|
@@ -5788,7 +5788,7 @@ function wrap(component) {
|
|
|
5788
5788
|
});
|
|
5789
5789
|
wrapped.__wrapped__ = true;
|
|
5790
5790
|
for (const key of Object.keys(component)) {
|
|
5791
|
-
if (/^__.*__$/.test(key) || key.endsWith("_FLAG")) {
|
|
5791
|
+
if (/^__.*__$/.test(key) || key.endsWith("_FLAG") || key === "alias") {
|
|
5792
5792
|
wrapped[key] = component[key];
|
|
5793
5793
|
}
|
|
5794
5794
|
}
|
|
@@ -18423,27 +18423,31 @@ var USelectOption = defineComponent({
|
|
|
18423
18423
|
} = inject(internalSelectionMenuInjectionKey);
|
|
18424
18424
|
const isPendingRef = useMemo(() => {
|
|
18425
18425
|
const { value: pendingTmNode } = pendingTmNodeRef;
|
|
18426
|
-
if (!pendingTmNode)
|
|
18426
|
+
if (!pendingTmNode) {
|
|
18427
18427
|
return false;
|
|
18428
|
+
}
|
|
18428
18429
|
return props.tmNode.key === pendingTmNode.key;
|
|
18429
18430
|
});
|
|
18430
18431
|
function handleClick(e) {
|
|
18431
18432
|
const { tmNode } = props;
|
|
18432
|
-
if (tmNode.disabled)
|
|
18433
|
+
if (tmNode.disabled) {
|
|
18433
18434
|
return;
|
|
18435
|
+
}
|
|
18434
18436
|
handleOptionClick(e, tmNode);
|
|
18435
18437
|
}
|
|
18436
18438
|
function handleMouseEnter(e) {
|
|
18437
18439
|
const { tmNode } = props;
|
|
18438
|
-
if (tmNode.disabled)
|
|
18440
|
+
if (tmNode.disabled) {
|
|
18439
18441
|
return;
|
|
18442
|
+
}
|
|
18440
18443
|
handleOptionMouseEnter(e, tmNode);
|
|
18441
18444
|
}
|
|
18442
18445
|
function handleMouseMove(e) {
|
|
18443
18446
|
const { tmNode } = props;
|
|
18444
18447
|
const { value: isPending } = isPendingRef;
|
|
18445
|
-
if (tmNode.disabled || isPending)
|
|
18448
|
+
if (tmNode.disabled || isPending) {
|
|
18446
18449
|
return;
|
|
18450
|
+
}
|
|
18447
18451
|
handleOptionMouseEnter(e, tmNode);
|
|
18448
18452
|
}
|
|
18449
18453
|
return {
|
|
@@ -25749,6 +25753,7 @@ function self$1m(vars) {
|
|
|
25749
25753
|
containerPrimary,
|
|
25750
25754
|
elementsQuaternary,
|
|
25751
25755
|
elementsPrimary,
|
|
25756
|
+
staticGreen,
|
|
25752
25757
|
staticOrange,
|
|
25753
25758
|
staticRed,
|
|
25754
25759
|
elementsQuinary,
|
|
@@ -25802,6 +25807,16 @@ function self$1m(vars) {
|
|
|
25802
25807
|
alpha: 0.1
|
|
25803
25808
|
})}`,
|
|
25804
25809
|
loadingColor: elementsPrimary,
|
|
25810
|
+
// success
|
|
25811
|
+
loadingColorSuccess: staticGreen,
|
|
25812
|
+
borderSuccess: `2px solid ${staticGreen}`,
|
|
25813
|
+
borderHoverSuccess: `2px solid ${staticGreen}`,
|
|
25814
|
+
colorFocusSuccess: containerPrimary,
|
|
25815
|
+
borderFocusSuccess: `2px solid ${staticGreen}`,
|
|
25816
|
+
boxShadowFocusSuccess: `0 0 0 4px ${changeColor(staticGreen, {
|
|
25817
|
+
alpha: 0.1
|
|
25818
|
+
})}`,
|
|
25819
|
+
caretColorSuccess: elementsPrimary,
|
|
25805
25820
|
// warning
|
|
25806
25821
|
loadingColorWarning: staticOrange,
|
|
25807
25822
|
borderWarning: `2px solid ${staticOrange}`,
|
|
@@ -26104,7 +26119,7 @@ cM("pair", [cE("input-el, placeholder", "text-align: center;"), cE("separator",
|
|
|
26104
26119
|
transition: color .3s var(--u-bezier);
|
|
26105
26120
|
margin-left: 4px;
|
|
26106
26121
|
font-variant: tabular-nums;
|
|
26107
|
-
`), ["warning", "error"].map(status => cM(`${status}-status`, [cNotM("disabled", [cB("base-loading", `
|
|
26122
|
+
`), ["warning", "error", "success"].map(status => cM(`${status}-status`, [cNotM("disabled", [cB("base-loading", `
|
|
26108
26123
|
color: var(--u-loading-color-${status})
|
|
26109
26124
|
`), cE("input-el, textarea-el", `
|
|
26110
26125
|
caret-color: var(--u-caret-color-${status});
|
|
@@ -28993,6 +29008,7 @@ var UInput$1 = defineComponent({
|
|
|
28993
29008
|
borderRadius,
|
|
28994
29009
|
textColor,
|
|
28995
29010
|
caretColor,
|
|
29011
|
+
caretColorSuccess,
|
|
28996
29012
|
caretColorError,
|
|
28997
29013
|
caretColorWarning,
|
|
28998
29014
|
textDecorationColor,
|
|
@@ -29008,6 +29024,11 @@ var UInput$1 = defineComponent({
|
|
|
29008
29024
|
textColorDisabled,
|
|
29009
29025
|
boxShadowFocus,
|
|
29010
29026
|
iconSize,
|
|
29027
|
+
colorFocusSuccess,
|
|
29028
|
+
boxShadowFocusSuccess,
|
|
29029
|
+
borderSuccess,
|
|
29030
|
+
borderFocusSuccess,
|
|
29031
|
+
borderHoverSuccess,
|
|
29011
29032
|
colorFocusWarning,
|
|
29012
29033
|
boxShadowFocusWarning,
|
|
29013
29034
|
borderWarning,
|
|
@@ -29030,6 +29051,7 @@ var UInput$1 = defineComponent({
|
|
|
29030
29051
|
iconColorHover,
|
|
29031
29052
|
iconColorPressed,
|
|
29032
29053
|
loadingColor,
|
|
29054
|
+
loadingColorSuccess,
|
|
29033
29055
|
loadingColorError,
|
|
29034
29056
|
loadingColorWarning,
|
|
29035
29057
|
selectionColor,
|
|
@@ -29068,6 +29090,14 @@ var UInput$1 = defineComponent({
|
|
|
29068
29090
|
"--u-text-color-disabled": textColorDisabled,
|
|
29069
29091
|
"--u-box-shadow-focus": boxShadowFocus,
|
|
29070
29092
|
"--u-loading-color": loadingColor,
|
|
29093
|
+
// form success
|
|
29094
|
+
"--u-caret-color-success": caretColorSuccess,
|
|
29095
|
+
"--u-color-focus-success": colorFocusSuccess,
|
|
29096
|
+
"--u-box-shadow-focus-success": boxShadowFocusSuccess,
|
|
29097
|
+
"--u-border-success": borderSuccess,
|
|
29098
|
+
"--u-border-focus-success": borderFocusSuccess,
|
|
29099
|
+
"--u-border-hover-success": borderHoverSuccess,
|
|
29100
|
+
"--u-loading-color-success": loadingColorSuccess,
|
|
29071
29101
|
// form warning
|
|
29072
29102
|
"--u-caret-color-warning": caretColorWarning,
|
|
29073
29103
|
"--u-color-focus-warning": colorFocusWarning,
|
|
@@ -40284,8 +40314,9 @@ var _UCarousel = defineComponent({
|
|
|
40284
40314
|
const slideSizesTrigger = ref(0);
|
|
40285
40315
|
const slideSizesRef = computed(() => {
|
|
40286
40316
|
const { value: slidesEls } = slideElsRef;
|
|
40287
|
-
if (!slidesEls.length)
|
|
40317
|
+
if (!slidesEls.length) {
|
|
40288
40318
|
return [];
|
|
40319
|
+
}
|
|
40289
40320
|
slideSizesTrigger.value;
|
|
40290
40321
|
const { value: autoSlideSize } = autoSlideSizeRef;
|
|
40291
40322
|
if (autoSlideSize) {
|
|
@@ -40306,8 +40337,9 @@ var _UCarousel = defineComponent({
|
|
|
40306
40337
|
});
|
|
40307
40338
|
const slideTranlatesRef = computed(() => {
|
|
40308
40339
|
const { value: slideSizes } = slideSizesRef;
|
|
40309
|
-
if (!slideSizes.length)
|
|
40340
|
+
if (!slideSizes.length) {
|
|
40310
40341
|
return [];
|
|
40342
|
+
}
|
|
40311
40343
|
const { centeredSlides, spaceBetween } = props;
|
|
40312
40344
|
const { value: axis } = sizeAxisRef;
|
|
40313
40345
|
const { [axis]: perViewSize } = perViewSizeRef.value;
|
|
@@ -40331,8 +40363,9 @@ var _UCarousel = defineComponent({
|
|
|
40331
40363
|
);
|
|
40332
40364
|
const slideStylesRef = computed(() => {
|
|
40333
40365
|
const { value: slidesEls } = slideElsRef;
|
|
40334
|
-
if (!slidesEls.length)
|
|
40366
|
+
if (!slidesEls.length) {
|
|
40335
40367
|
return [];
|
|
40368
|
+
}
|
|
40336
40369
|
const useComputedSize = !(autoSlideSizeRef.value || realSlidesPerViewRef.value === 1);
|
|
40337
40370
|
const getSlideSize = (index) => {
|
|
40338
40371
|
if (useComputedSize) {
|
|
@@ -40367,8 +40400,9 @@ var _UCarousel = defineComponent({
|
|
|
40367
40400
|
} else {
|
|
40368
40401
|
const { value: slideSizes } = slideSizesRef;
|
|
40369
40402
|
const { length } = slideSizes;
|
|
40370
|
-
if (!length)
|
|
40403
|
+
if (!length) {
|
|
40371
40404
|
return totalSlides;
|
|
40405
|
+
}
|
|
40372
40406
|
const { value: translates } = slideTranlatesRef;
|
|
40373
40407
|
const { value: axis } = sizeAxisRef;
|
|
40374
40408
|
const perViewSize = perViewSizeRef.value[axis];
|
|
@@ -40457,21 +40491,25 @@ var _UCarousel = defineComponent({
|
|
|
40457
40491
|
}
|
|
40458
40492
|
function prev() {
|
|
40459
40493
|
const prevIndex = getRealPrevIndex();
|
|
40460
|
-
if (prevIndex !== null)
|
|
40494
|
+
if (prevIndex !== null) {
|
|
40461
40495
|
toRealIndex(prevIndex);
|
|
40496
|
+
}
|
|
40462
40497
|
}
|
|
40463
40498
|
function next() {
|
|
40464
40499
|
const nextIndex = getRealNextIndex();
|
|
40465
|
-
if (nextIndex !== null)
|
|
40500
|
+
if (nextIndex !== null) {
|
|
40466
40501
|
toRealIndex(nextIndex);
|
|
40502
|
+
}
|
|
40467
40503
|
}
|
|
40468
40504
|
function prevIfSlideTransitionEnd() {
|
|
40469
|
-
if (!inTransition || !duplicatedableRef.value)
|
|
40505
|
+
if (!inTransition || !duplicatedableRef.value) {
|
|
40470
40506
|
prev();
|
|
40507
|
+
}
|
|
40471
40508
|
}
|
|
40472
40509
|
function nextIfSlideTransitionEnd() {
|
|
40473
|
-
if (!inTransition || !duplicatedableRef.value)
|
|
40510
|
+
if (!inTransition || !duplicatedableRef.value) {
|
|
40474
40511
|
next();
|
|
40512
|
+
}
|
|
40475
40513
|
}
|
|
40476
40514
|
let previousTranslate = 0;
|
|
40477
40515
|
const translateStyleRef = ref({});
|
|
@@ -40547,13 +40585,15 @@ var _UCarousel = defineComponent({
|
|
|
40547
40585
|
};
|
|
40548
40586
|
provideCarouselContext(carouselContext);
|
|
40549
40587
|
function addSlide(slide) {
|
|
40550
|
-
if (!slide)
|
|
40588
|
+
if (!slide) {
|
|
40551
40589
|
return;
|
|
40590
|
+
}
|
|
40552
40591
|
slideElsRef.value.push(slide);
|
|
40553
40592
|
}
|
|
40554
40593
|
function removeSlide(slide) {
|
|
40555
|
-
if (!slide)
|
|
40594
|
+
if (!slide) {
|
|
40556
40595
|
return;
|
|
40596
|
+
}
|
|
40557
40597
|
const index = getSlideIndex(slide);
|
|
40558
40598
|
if (index !== -1) {
|
|
40559
40599
|
slideElsRef.value.splice(index, 1);
|
|
@@ -40607,8 +40647,9 @@ var _UCarousel = defineComponent({
|
|
|
40607
40647
|
let dragOffset = 0;
|
|
40608
40648
|
let dragStartTime = 0;
|
|
40609
40649
|
function handleTouchstart(event) {
|
|
40610
|
-
if (globalDragging)
|
|
40650
|
+
if (globalDragging) {
|
|
40611
40651
|
return;
|
|
40652
|
+
}
|
|
40612
40653
|
if (!slidesElRef.value?.contains(
|
|
40613
40654
|
getPreciseEventTarget(event)
|
|
40614
40655
|
)) {
|
|
@@ -40724,8 +40765,9 @@ var _UCarousel = defineComponent({
|
|
|
40724
40765
|
}
|
|
40725
40766
|
function handleMousewheel(event) {
|
|
40726
40767
|
event.preventDefault();
|
|
40727
|
-
if (inTransition)
|
|
40768
|
+
if (inTransition) {
|
|
40728
40769
|
return;
|
|
40770
|
+
}
|
|
40729
40771
|
let { deltaX, deltaY } = event;
|
|
40730
40772
|
if (event.shiftKey && !deltaX) {
|
|
40731
40773
|
deltaX = deltaY;
|
|
@@ -40796,8 +40838,9 @@ var _UCarousel = defineComponent({
|
|
|
40796
40838
|
watch(
|
|
40797
40839
|
realIndexRef,
|
|
40798
40840
|
(realIndex, lastRealIndex) => {
|
|
40799
|
-
if (realIndex === lastRealIndex)
|
|
40841
|
+
if (realIndex === lastRealIndex) {
|
|
40800
40842
|
return;
|
|
40843
|
+
}
|
|
40801
40844
|
resetAutoplay();
|
|
40802
40845
|
if (sequenceLayoutRef.value) {
|
|
40803
40846
|
if (duplicatedableRef.value && displayTotalViewRef.value > 2) {
|
|
@@ -43987,6 +44030,7 @@ const chatInputLight = {
|
|
|
43987
44030
|
...originalInputSelf,
|
|
43988
44031
|
color: elementsTertiary,
|
|
43989
44032
|
colorFocus: elementsTertiary,
|
|
44033
|
+
heightMedium: "45px",
|
|
43990
44034
|
border: "none",
|
|
43991
44035
|
borderFocus: "none",
|
|
43992
44036
|
borderHover: "none",
|
|
@@ -53486,23 +53530,28 @@ var style$13 = cB("chat", `
|
|
|
53486
53530
|
width: 100%;
|
|
53487
53531
|
padding: 24px 20px 10px 24px;
|
|
53488
53532
|
flex-shrink: 0;
|
|
53533
|
+
`), cE("header-inner", `
|
|
53534
|
+
display: grid;
|
|
53535
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
53536
|
+
align-items: flex-start;
|
|
53537
|
+
gap: 8px;
|
|
53538
|
+
`), cE("header-title-wrap", `
|
|
53539
|
+
min-width: 0;
|
|
53540
|
+
overflow: hidden;
|
|
53489
53541
|
`), cE("header-title", `
|
|
53490
53542
|
color: var(--u-header-title-color);
|
|
53491
|
-
|
|
53492
|
-
min-width: 0;
|
|
53543
|
+
display: block;
|
|
53493
53544
|
overflow: hidden;
|
|
53494
|
-
text-overflow: ellipsis;
|
|
53495
53545
|
white-space: nowrap;
|
|
53496
|
-
|
|
53497
|
-
|
|
53546
|
+
text-overflow: ellipsis;
|
|
53547
|
+
width: 100%;
|
|
53498
53548
|
`), cE("header-subtitle", `
|
|
53499
53549
|
display: block;
|
|
53500
53550
|
color: var(--u-sidebar-item-subtitle-color);
|
|
53501
53551
|
overflow: hidden;
|
|
53502
53552
|
text-overflow: ellipsis;
|
|
53503
53553
|
white-space: nowrap;
|
|
53504
|
-
|
|
53505
|
-
maxWidth: 100%;
|
|
53554
|
+
width: 100%;
|
|
53506
53555
|
`), cE("header-actions", `
|
|
53507
53556
|
padding: 4px;
|
|
53508
53557
|
flex-shrink: 0;
|
|
@@ -53605,6 +53654,7 @@ var style$13 = cB("chat", `
|
|
|
53605
53654
|
height: 44px;
|
|
53606
53655
|
`)]), cE("message-text", `
|
|
53607
53656
|
padding: 12px 16px;
|
|
53657
|
+
white-space: pre-wrap;
|
|
53608
53658
|
`), cE("message-attachment", `
|
|
53609
53659
|
display: flex;
|
|
53610
53660
|
align-items: center;
|
|
@@ -53681,6 +53731,7 @@ var style$13 = cB("chat", `
|
|
|
53681
53731
|
`, [c$1(".u-input-wrapper", `
|
|
53682
53732
|
flex-wrap: wrap;
|
|
53683
53733
|
padding: 0 4px;
|
|
53734
|
+
height: 100%;
|
|
53684
53735
|
`, [c$1(".u-input__prefix", `
|
|
53685
53736
|
width: 100%;
|
|
53686
53737
|
margin: 0;
|
|
@@ -53691,13 +53742,20 @@ var style$13 = cB("chat", `
|
|
|
53691
53742
|
border-top-right-radius: 12px;
|
|
53692
53743
|
`), c$1("li", `
|
|
53693
53744
|
padding: 12px;
|
|
53694
|
-
`)]), c$1(".u-
|
|
53695
|
-
padding:
|
|
53745
|
+
`)]), c$1(".u-input__textarea-el", `
|
|
53746
|
+
padding-top: 12px;
|
|
53747
|
+
padding-left: 12px;
|
|
53748
|
+
padding-right: 48px;
|
|
53696
53749
|
`), c$1(".u-input__placeholder", `
|
|
53697
|
-
|
|
53750
|
+
padding-top: 12px;
|
|
53751
|
+
padding-left: 12px;
|
|
53752
|
+
padding-right: 48px;
|
|
53698
53753
|
`)])]), cE("editing-block", `
|
|
53699
53754
|
width: 100%;
|
|
53700
53755
|
`), cE("input-suffix", `
|
|
53756
|
+
position: absolute;
|
|
53757
|
+
right: 12px;
|
|
53758
|
+
bottom: 12px;
|
|
53701
53759
|
color: var(--u-input-suffix-color) !important;
|
|
53702
53760
|
cursor: pointer;
|
|
53703
53761
|
margin-right: 4px;
|
|
@@ -54518,152 +54576,153 @@ var ChatMainArea = defineComponent({
|
|
|
54518
54576
|
return value != null ? String(value) : "";
|
|
54519
54577
|
};
|
|
54520
54578
|
const renderHeader = () => {
|
|
54521
|
-
|
|
54522
|
-
|
|
54523
|
-
|
|
54524
|
-
|
|
54525
|
-
|
|
54526
|
-
|
|
54527
|
-
|
|
54528
|
-
|
|
54529
|
-
|
|
54530
|
-
|
|
54531
|
-
|
|
54532
|
-
|
|
54533
|
-
|
|
54534
|
-
|
|
54535
|
-
|
|
54536
|
-
|
|
54537
|
-
|
|
54538
|
-
|
|
54539
|
-
)
|
|
54540
|
-
|
|
54541
|
-
|
|
54542
|
-
|
|
54543
|
-
|
|
54544
|
-
|
|
54545
|
-
|
|
54546
|
-
|
|
54547
|
-
|
|
54548
|
-
|
|
54549
|
-
|
|
54550
|
-
|
|
54551
|
-
|
|
54552
|
-
|
|
54553
|
-
|
|
54554
|
-
|
|
54555
|
-
|
|
54556
|
-
|
|
54557
|
-
|
|
54558
|
-
|
|
54559
|
-
|
|
54560
|
-
|
|
54561
|
-
|
|
54562
|
-
|
|
54563
|
-
|
|
54564
|
-
|
|
54565
|
-
|
|
54566
|
-
|
|
54567
|
-
|
|
54568
|
-
|
|
54569
|
-
|
|
54570
|
-
|
|
54571
|
-
|
|
54572
|
-
|
|
54573
|
-
|
|
54574
|
-
|
|
54575
|
-
|
|
54576
|
-
|
|
54577
|
-
|
|
54578
|
-
|
|
54579
|
-
|
|
54580
|
-
|
|
54581
|
-
|
|
54582
|
-
|
|
54583
|
-
|
|
54584
|
-
|
|
54585
|
-
|
|
54579
|
+
const chat = selectedChatRef.value;
|
|
54580
|
+
const keyId = toKeyString(chat?.id);
|
|
54581
|
+
const keyTitle = toKeyString(chat?.title);
|
|
54582
|
+
return /* @__PURE__ */ h("div", { class: `${mergedClsPrefixRef.value}-chat-main__header-inner` }, /* @__PURE__ */ h(
|
|
54583
|
+
"div",
|
|
54584
|
+
{
|
|
54585
|
+
class: `${mergedClsPrefixRef.value}-chat-main__header-title-wrap`
|
|
54586
|
+
},
|
|
54587
|
+
/* @__PURE__ */ h(
|
|
54588
|
+
_UText,
|
|
54589
|
+
{
|
|
54590
|
+
key: `${keyId}-${keyTitle}`,
|
|
54591
|
+
variant: "heading-s-bold",
|
|
54592
|
+
class: `${mergedClsPrefixRef.value}-chat-main__header-title`,
|
|
54593
|
+
theme: mergedThemeRef.value.peers.Typography,
|
|
54594
|
+
themeOverrides: mergedThemeRef.value.peerOverrides.Typography
|
|
54595
|
+
},
|
|
54596
|
+
{
|
|
54597
|
+
default: () => selectedChatRef.value?.title ?? ""
|
|
54598
|
+
}
|
|
54599
|
+
),
|
|
54600
|
+
isTyping.value && /* @__PURE__ */ h(
|
|
54601
|
+
_UText,
|
|
54602
|
+
{
|
|
54603
|
+
class: [
|
|
54604
|
+
`${mergedClsPrefixRef.value}-chat-main__header-subtitle`,
|
|
54605
|
+
"typing"
|
|
54606
|
+
],
|
|
54607
|
+
variant: "body-m-medium"
|
|
54608
|
+
},
|
|
54609
|
+
{
|
|
54610
|
+
default: () => typingTextRef.value ?? ""
|
|
54611
|
+
}
|
|
54612
|
+
)
|
|
54613
|
+
), /* @__PURE__ */ h(
|
|
54614
|
+
_UFlex,
|
|
54615
|
+
{
|
|
54616
|
+
align: "center",
|
|
54617
|
+
size: "small",
|
|
54618
|
+
class: `${mergedClsPrefixRef.value}-chat-main__header-actions`
|
|
54619
|
+
},
|
|
54620
|
+
{
|
|
54621
|
+
default: () => resolveSlot(slots.headerActions, () => {
|
|
54622
|
+
const shareButtonProps = {
|
|
54623
|
+
...headerButtonPropsRef.value,
|
|
54624
|
+
...headerShareButtonPropsRef.value
|
|
54625
|
+
};
|
|
54626
|
+
const profileButtonProps = {
|
|
54627
|
+
...headerButtonPropsRef.value,
|
|
54628
|
+
...headerProfileButtonPropsRef.value
|
|
54629
|
+
};
|
|
54630
|
+
const closeButtonProps = {
|
|
54631
|
+
...headerButtonPropsRef.value,
|
|
54632
|
+
...headerCloseButtonPropsRef.value
|
|
54633
|
+
};
|
|
54634
|
+
const shareIconProps = {
|
|
54635
|
+
...headerIconPropsRef.value,
|
|
54636
|
+
...headerShareIconPropsRef.value
|
|
54637
|
+
};
|
|
54638
|
+
const profileIconProps = {
|
|
54639
|
+
...headerIconPropsRef.value,
|
|
54640
|
+
...headerProfileIconPropsRef.value
|
|
54641
|
+
};
|
|
54642
|
+
const buttons = [];
|
|
54643
|
+
buttons.push(
|
|
54644
|
+
/* @__PURE__ */ h(_UTooltip, null, {
|
|
54645
|
+
trigger: () => /* @__PURE__ */ h(
|
|
54646
|
+
Button,
|
|
54647
|
+
{
|
|
54648
|
+
secondary: true,
|
|
54649
|
+
circle: true,
|
|
54650
|
+
size: "large",
|
|
54651
|
+
...shareButtonProps,
|
|
54652
|
+
theme: mergedThemeRef.value.peers.Button,
|
|
54653
|
+
themeOverrides: mergedThemeRef.value.peerOverrides.Button,
|
|
54654
|
+
onClick: () => onChatShare?.value?.()
|
|
54655
|
+
},
|
|
54656
|
+
{
|
|
54657
|
+
default: () => /* @__PURE__ */ h(
|
|
54658
|
+
UIcon$1,
|
|
54586
54659
|
{
|
|
54587
|
-
|
|
54588
|
-
|
|
54589
|
-
|
|
54590
|
-
|
|
54591
|
-
theme: mergedThemeRef.value.peers.Button,
|
|
54592
|
-
themeOverrides: mergedThemeRef.value.peerOverrides.Button,
|
|
54593
|
-
onClick: () => onChatShare?.value?.()
|
|
54660
|
+
size: 20,
|
|
54661
|
+
...shareIconProps,
|
|
54662
|
+
theme: mergedThemeRef.value.peers.HeaderShareIcon,
|
|
54663
|
+
themeOverrides: mergedThemeRef.value.peerOverrides.HeaderShareIcon
|
|
54594
54664
|
},
|
|
54595
54665
|
{
|
|
54596
|
-
default: () => /* @__PURE__ */ h(
|
|
54597
|
-
UIcon$1,
|
|
54598
|
-
{
|
|
54599
|
-
size: 20,
|
|
54600
|
-
...shareIconProps,
|
|
54601
|
-
theme: mergedThemeRef.value.peers.HeaderShareIcon,
|
|
54602
|
-
themeOverrides: mergedThemeRef.value.peerOverrides.HeaderShareIcon
|
|
54603
|
-
},
|
|
54604
|
-
{
|
|
54605
|
-
default: () => /* @__PURE__ */ h(ArrowHookUpRight, null)
|
|
54606
|
-
}
|
|
54607
|
-
)
|
|
54666
|
+
default: () => /* @__PURE__ */ h(ArrowHookUpRight, null)
|
|
54608
54667
|
}
|
|
54609
|
-
)
|
|
54610
|
-
|
|
54611
|
-
|
|
54612
|
-
)
|
|
54613
|
-
|
|
54614
|
-
|
|
54615
|
-
|
|
54616
|
-
|
|
54668
|
+
)
|
|
54669
|
+
}
|
|
54670
|
+
),
|
|
54671
|
+
default: () => shareButtonTooltipRef.value
|
|
54672
|
+
})
|
|
54673
|
+
);
|
|
54674
|
+
buttons.push(
|
|
54675
|
+
/* @__PURE__ */ h(_UTooltip, null, {
|
|
54676
|
+
trigger: () => /* @__PURE__ */ h(
|
|
54677
|
+
Button,
|
|
54678
|
+
{
|
|
54679
|
+
secondary: true,
|
|
54680
|
+
circle: true,
|
|
54681
|
+
size: "large",
|
|
54682
|
+
...profileButtonProps,
|
|
54683
|
+
theme: mergedThemeRef.value.peers.Button,
|
|
54684
|
+
themeOverrides: mergedThemeRef.value.peerOverrides.Button,
|
|
54685
|
+
onClick: () => onUserProfile?.value?.()
|
|
54686
|
+
},
|
|
54687
|
+
{
|
|
54688
|
+
default: () => /* @__PURE__ */ h(
|
|
54689
|
+
UIcon$1,
|
|
54617
54690
|
{
|
|
54618
|
-
|
|
54619
|
-
|
|
54620
|
-
|
|
54621
|
-
|
|
54622
|
-
theme: mergedThemeRef.value.peers.Button,
|
|
54623
|
-
themeOverrides: mergedThemeRef.value.peerOverrides.Button,
|
|
54624
|
-
onClick: () => onUserProfile?.value?.()
|
|
54691
|
+
size: 20,
|
|
54692
|
+
...profileIconProps,
|
|
54693
|
+
theme: mergedThemeRef.value.peers.HeaderProfileIcon,
|
|
54694
|
+
themeOverrides: mergedThemeRef.value.peerOverrides.HeaderProfileIcon
|
|
54625
54695
|
},
|
|
54626
54696
|
{
|
|
54627
|
-
default: () => /* @__PURE__ */ h(
|
|
54628
|
-
UIcon$1,
|
|
54629
|
-
{
|
|
54630
|
-
size: 20,
|
|
54631
|
-
...profileIconProps,
|
|
54632
|
-
theme: mergedThemeRef.value.peers.HeaderProfileIcon,
|
|
54633
|
-
themeOverrides: mergedThemeRef.value.peerOverrides.HeaderProfileIcon
|
|
54634
|
-
},
|
|
54635
|
-
{
|
|
54636
|
-
default: () => /* @__PURE__ */ h(PersonNote, null)
|
|
54637
|
-
}
|
|
54638
|
-
)
|
|
54697
|
+
default: () => /* @__PURE__ */ h(PersonNote, null)
|
|
54639
54698
|
}
|
|
54640
|
-
)
|
|
54641
|
-
|
|
54642
|
-
|
|
54643
|
-
)
|
|
54644
|
-
buttons.push(
|
|
54645
|
-
/* @__PURE__ */ h(
|
|
54646
|
-
Button,
|
|
54647
|
-
{
|
|
54648
|
-
type: "primary",
|
|
54649
|
-
size: "large",
|
|
54650
|
-
round: true,
|
|
54651
|
-
...closeButtonProps,
|
|
54652
|
-
theme: mergedThemeRef.value.peers.Button,
|
|
54653
|
-
themeOverrides: mergedThemeRef.value.peerOverrides.Button,
|
|
54654
|
-
onClick: () => onChatClose?.value?.()
|
|
54655
|
-
},
|
|
54656
|
-
{
|
|
54657
|
-
default: () => closeButtonTextRef.value
|
|
54658
|
-
}
|
|
54659
|
-
)
|
|
54660
|
-
);
|
|
54661
|
-
return buttons;
|
|
54699
|
+
)
|
|
54700
|
+
}
|
|
54701
|
+
),
|
|
54702
|
+
default: () => profileButtonTooltipRef.value
|
|
54662
54703
|
})
|
|
54663
|
-
|
|
54664
|
-
|
|
54704
|
+
);
|
|
54705
|
+
buttons.push(
|
|
54706
|
+
/* @__PURE__ */ h(
|
|
54707
|
+
Button,
|
|
54708
|
+
{
|
|
54709
|
+
type: "primary",
|
|
54710
|
+
size: "large",
|
|
54711
|
+
round: true,
|
|
54712
|
+
...closeButtonProps,
|
|
54713
|
+
theme: mergedThemeRef.value.peers.Button,
|
|
54714
|
+
themeOverrides: mergedThemeRef.value.peerOverrides.Button,
|
|
54715
|
+
onClick: () => onChatClose?.value?.()
|
|
54716
|
+
},
|
|
54717
|
+
{
|
|
54718
|
+
default: () => closeButtonTextRef.value
|
|
54719
|
+
}
|
|
54720
|
+
)
|
|
54721
|
+
);
|
|
54722
|
+
return buttons;
|
|
54723
|
+
})
|
|
54665
54724
|
}
|
|
54666
|
-
|
|
54725
|
+
));
|
|
54667
54726
|
};
|
|
54668
54727
|
const renderMessages = () => {
|
|
54669
54728
|
return /* @__PURE__ */ h(
|
|
@@ -54718,7 +54777,7 @@ var ChatMainArea = defineComponent({
|
|
|
54718
54777
|
if (isSending.value) {
|
|
54719
54778
|
return;
|
|
54720
54779
|
}
|
|
54721
|
-
const hasContent = inputValue.value
|
|
54780
|
+
const hasContent = inputValue.value;
|
|
54722
54781
|
const hasAttachments = attachmentFileList.value.length > 0;
|
|
54723
54782
|
if (editMessageIdRef?.value && hasContent) {
|
|
54724
54783
|
isSending.value = true;
|
|
@@ -54727,7 +54786,7 @@ var ChatMainArea = defineComponent({
|
|
|
54727
54786
|
if (messageToEdit) {
|
|
54728
54787
|
const updatedMessage = {
|
|
54729
54788
|
...messageToEdit,
|
|
54730
|
-
content: inputValue.value
|
|
54789
|
+
content: inputValue.value
|
|
54731
54790
|
};
|
|
54732
54791
|
const bubbleActions = bubbleActionsRef?.value;
|
|
54733
54792
|
if (bubbleActions) {
|
|
@@ -54780,7 +54839,7 @@ var ChatMainArea = defineComponent({
|
|
|
54780
54839
|
}
|
|
54781
54840
|
return result;
|
|
54782
54841
|
})() : void 0;
|
|
54783
|
-
handleMessageSend(inputValue.value
|
|
54842
|
+
handleMessageSend(inputValue.value, attachments);
|
|
54784
54843
|
inputValue.value = "";
|
|
54785
54844
|
attachmentFileList.value = [];
|
|
54786
54845
|
chatInputs.value[selectedChatRef.value.id] = "";
|
|
@@ -54921,9 +54980,13 @@ var ChatMainArea = defineComponent({
|
|
|
54921
54980
|
value: inputValue.value,
|
|
54922
54981
|
placeholder: inputPlaceholderRef.value,
|
|
54923
54982
|
class: `${mergedClsPrefixRef.value}-chat-main__input`,
|
|
54924
|
-
...footerInputPropsRef.value,
|
|
54925
54983
|
theme: mergedThemeRef.value.peers.Input,
|
|
54926
54984
|
themeOverrides: mergedThemeRef.value.peerOverrides.Input,
|
|
54985
|
+
type: "textarea",
|
|
54986
|
+
autosize: {
|
|
54987
|
+
minRows: 1,
|
|
54988
|
+
maxRows: 5
|
|
54989
|
+
},
|
|
54927
54990
|
onUpdateValue: (value) => {
|
|
54928
54991
|
inputValue.value = value;
|
|
54929
54992
|
if (selectedChatRef.value) {
|
|
@@ -54936,7 +54999,8 @@ var ChatMainArea = defineComponent({
|
|
|
54936
54999
|
e.stopPropagation();
|
|
54937
55000
|
void handleSendMessage();
|
|
54938
55001
|
}
|
|
54939
|
-
}
|
|
55002
|
+
},
|
|
55003
|
+
...footerInputPropsRef.value
|
|
54940
55004
|
},
|
|
54941
55005
|
{
|
|
54942
55006
|
prefix: () => renderEditingBlock(),
|
|
@@ -80819,7 +80883,6 @@ function useDragModal(draggablePropsRef, options) {
|
|
|
80819
80883
|
const presetProps = {
|
|
80820
80884
|
// put dialog props after since I want the card to unbordered by default
|
|
80821
80885
|
...dialogProps,
|
|
80822
|
-
presetDisabled: Boolean,
|
|
80823
80886
|
size: {
|
|
80824
80887
|
type: String,
|
|
80825
80888
|
default: "medium"
|
|
@@ -81190,7 +81253,10 @@ const modalProps = {
|
|
|
81190
81253
|
type: Boolean,
|
|
81191
81254
|
default: true
|
|
81192
81255
|
},
|
|
81193
|
-
preset:
|
|
81256
|
+
preset: {
|
|
81257
|
+
type: String,
|
|
81258
|
+
default: "dialog"
|
|
81259
|
+
},
|
|
81194
81260
|
to: [String, Object],
|
|
81195
81261
|
displayDirective: {
|
|
81196
81262
|
type: String,
|
|
@@ -81452,7 +81518,7 @@ var _UModal = defineComponent({
|
|
|
81452
81518
|
ref: "bodyWrapper",
|
|
81453
81519
|
displayDirective: this.displayDirective,
|
|
81454
81520
|
show: this.show,
|
|
81455
|
-
preset: this.preset,
|
|
81521
|
+
preset: this.internalDialog ? void 0 : this.preset,
|
|
81456
81522
|
autoFocus: this.autoFocus,
|
|
81457
81523
|
trapFocus: this.trapFocus,
|
|
81458
81524
|
draggable: this.draggable,
|
|
@@ -81650,8 +81716,7 @@ const UDialogEnvironment = defineComponent({
|
|
|
81650
81716
|
transformOrigin: this.transformOrigin,
|
|
81651
81717
|
draggable: this.draggable,
|
|
81652
81718
|
internalAppear: true,
|
|
81653
|
-
internalDialog: true
|
|
81654
|
-
presetDisabled: true
|
|
81719
|
+
internalDialog: true
|
|
81655
81720
|
},
|
|
81656
81721
|
{
|
|
81657
81722
|
default: () => /* @__PURE__ */ h(
|
|
@@ -95105,6 +95170,10 @@ const mappingCardProps = {
|
|
|
95105
95170
|
type: Boolean,
|
|
95106
95171
|
default: false
|
|
95107
95172
|
},
|
|
95173
|
+
hideHeaderActions: {
|
|
95174
|
+
type: Boolean,
|
|
95175
|
+
default: false
|
|
95176
|
+
},
|
|
95108
95177
|
copyButtonProps: Object,
|
|
95109
95178
|
copyIconProps: Object,
|
|
95110
95179
|
headerEditButtonProps: Object,
|
|
@@ -95738,7 +95807,7 @@ var MappingCardHeader = defineComponent({
|
|
|
95738
95807
|
default: () => locale.copyTooltip
|
|
95739
95808
|
}))
|
|
95740
95809
|
}
|
|
95741
|
-
), /* @__PURE__ */ h(_UFlex, { align: "center", size: "small" }, {
|
|
95810
|
+
), !props.hideHeaderActions && /* @__PURE__ */ h(_UFlex, { align: "center", size: "small" }, {
|
|
95742
95811
|
default: () => resolveSlot(slots.headerActions, () => {
|
|
95743
95812
|
const buttons = [];
|
|
95744
95813
|
buttons.push(
|
|
@@ -112282,7 +112351,7 @@ function useThemeVars() {
|
|
|
112282
112351
|
});
|
|
112283
112352
|
}
|
|
112284
112353
|
|
|
112285
|
-
var version = "2.0.0-beta.
|
|
112354
|
+
var version = "2.0.0-beta.9";
|
|
112286
112355
|
|
|
112287
112356
|
function create({
|
|
112288
112357
|
componentPrefix = "U",
|