@uzum-tech/ui 2.2.0 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1431 -721
- package/dist/index.mjs +1424 -722
- package/dist/index.prod.js +2 -2
- package/dist/index.prod.mjs +2 -2
- package/es/chat/index.d.ts +2 -0
- package/es/chat/index.mjs +1 -0
- package/es/chat/src/Chat.d.ts +20800 -24
- package/es/chat/src/Chat.mjs +1 -1
- package/es/chat/src/ChatMainArea.d.ts +9749 -0
- package/es/chat/src/{ChatParts/MainArea.mjs → ChatMainArea.mjs} +409 -75
- package/es/chat/src/ChatMessages.d.ts +1 -33
- package/es/chat/src/ChatMessages.mjs +79 -167
- package/es/chat/src/interface.d.ts +16 -12
- package/es/chat/src/interface.mjs +7 -1
- package/es/chat/src/styles/index.cssr.mjs +4 -1
- package/es/components.d.ts +28782 -256
- package/es/components.mjs +6 -1
- package/es/config-provider/src/internal-interface.d.ts +4 -0
- package/es/message-bubble/index.d.ts +3 -0
- package/es/message-bubble/index.mjs +2 -0
- package/es/message-bubble/src/MessageBubble.d.ts +304 -0
- package/es/message-bubble/src/MessageBubble.mjs +336 -0
- package/es/message-bubble/src/interface.d.ts +204 -0
- package/es/message-bubble/src/interface.mjs +92 -0
- package/es/message-bubble/src/styles/index.cssr.d.ts +2 -0
- package/es/message-bubble/src/styles/index.cssr.mjs +133 -0
- package/es/message-bubble/styles/dark.d.ts +29 -0
- package/es/message-bubble/styles/dark.mjs +13 -0
- package/es/message-bubble/styles/index.d.ts +3 -0
- package/es/message-bubble/styles/index.mjs +2 -0
- package/es/message-bubble/styles/light.d.ts +49 -0
- package/es/message-bubble/styles/light.mjs +44 -0
- package/es/pagination/src/Pagination.d.ts +4 -0
- package/es/pagination/src/Pagination.mjs +8 -0
- package/es/pagination/src/interface.d.ts +2 -0
- package/es/pagination/src/interface.mjs +2 -0
- package/es/styles.d.ts +1 -0
- package/es/styles.mjs +1 -0
- package/es/themes/dark.mjs +2 -0
- package/es/themes/light.mjs +2 -0
- package/es/upload/src/Upload.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/chat/index.d.ts +2 -0
- package/lib/chat/index.js +3 -1
- package/lib/chat/src/Chat.d.ts +20800 -24
- package/lib/chat/src/Chat.js +2 -2
- package/lib/chat/src/ChatMainArea.d.ts +9749 -0
- package/lib/chat/src/{ChatParts/MainArea.js → ChatMainArea.js} +299 -30
- package/lib/chat/src/ChatMessages.d.ts +1 -33
- package/lib/chat/src/ChatMessages.js +61 -158
- package/lib/chat/src/interface.d.ts +16 -12
- package/lib/chat/src/interface.js +7 -1
- package/lib/chat/src/styles/index.cssr.js +4 -1
- package/lib/components.d.ts +28782 -256
- package/lib/components.js +18 -8
- package/lib/config-provider/src/internal-interface.d.ts +4 -0
- package/lib/message-bubble/index.d.ts +3 -0
- package/lib/message-bubble/index.js +14 -0
- package/lib/message-bubble/src/MessageBubble.d.ts +304 -0
- package/lib/message-bubble/src/MessageBubble.js +276 -0
- package/lib/message-bubble/src/interface.d.ts +204 -0
- package/lib/message-bubble/src/interface.js +80 -0
- package/lib/message-bubble/src/styles/index.cssr.d.ts +2 -0
- package/lib/message-bubble/src/styles/index.cssr.js +138 -0
- package/lib/message-bubble/styles/dark.d.ts +29 -0
- package/lib/message-bubble/styles/dark.js +15 -0
- package/lib/message-bubble/styles/index.d.ts +3 -0
- package/lib/message-bubble/styles/index.js +10 -0
- package/lib/message-bubble/styles/light.d.ts +49 -0
- package/lib/message-bubble/styles/light.js +36 -0
- package/lib/pagination/src/Pagination.d.ts +4 -0
- package/lib/pagination/src/Pagination.js +6 -0
- package/lib/pagination/src/interface.d.ts +2 -0
- package/lib/pagination/src/interface.js +1 -1
- package/lib/styles.d.ts +1 -0
- package/lib/styles.js +84 -82
- package/lib/themes/dark.js +78 -76
- package/lib/themes/light.js +76 -74
- package/lib/upload/src/Upload.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -4
- package/volar.d.ts +2 -0
- package/web-types.json +182 -1
- package/es/chat/src/ChatParts/MainArea.d.ts +0 -20
- package/lib/chat/src/ChatParts/MainArea.d.ts +0 -20
package/dist/index.mjs
CHANGED
|
@@ -3408,7 +3408,7 @@ function getOffset$2(placement, offsetRect, targetRect, offsetTopToStandardPlace
|
|
|
3408
3408
|
}
|
|
3409
3409
|
|
|
3410
3410
|
/* eslint-disable @typescript-eslint/no-non-null-assertion */
|
|
3411
|
-
const style$
|
|
3411
|
+
const style$1_ = c([c('.v-binder-follower-container', {
|
|
3412
3412
|
position: 'absolute',
|
|
3413
3413
|
left: '0',
|
|
3414
3414
|
right: '0',
|
|
@@ -3487,7 +3487,7 @@ var VFollower = defineComponent({
|
|
|
3487
3487
|
}
|
|
3488
3488
|
});
|
|
3489
3489
|
const ssrAdapter = useSsrAdapter();
|
|
3490
|
-
style$
|
|
3490
|
+
style$1_.mount({
|
|
3491
3491
|
id: 'vueuc/binder',
|
|
3492
3492
|
head: true,
|
|
3493
3493
|
anchorMetaName: cssrAnchorMetaName$1,
|
|
@@ -4947,7 +4947,7 @@ var VXScroll = defineComponent({
|
|
|
4947
4947
|
|
|
4948
4948
|
/* eslint-disable @typescript-eslint/strict-boolean-expressions */
|
|
4949
4949
|
const hiddenAttr = 'v-hidden';
|
|
4950
|
-
const style$
|
|
4950
|
+
const style$1Z = c('[v-hidden]', {
|
|
4951
4951
|
display: 'none!important'
|
|
4952
4952
|
});
|
|
4953
4953
|
var VOverflow = defineComponent({
|
|
@@ -5060,7 +5060,7 @@ var VOverflow = defineComponent({
|
|
|
5060
5060
|
}
|
|
5061
5061
|
}
|
|
5062
5062
|
const ssrAdapter = useSsrAdapter();
|
|
5063
|
-
style$
|
|
5063
|
+
style$1Z.mount({
|
|
5064
5064
|
id: 'vueuc/overflow',
|
|
5065
5065
|
head: true,
|
|
5066
5066
|
anchorMetaName: cssrAnchorMetaName$1,
|
|
@@ -14080,7 +14080,7 @@ useTheme.props = {
|
|
|
14080
14080
|
builtinThemeOverrides: Object
|
|
14081
14081
|
};
|
|
14082
14082
|
|
|
14083
|
-
var style$
|
|
14083
|
+
var style$1Y = cB("base-icon", `
|
|
14084
14084
|
height: 1em;
|
|
14085
14085
|
width: 1em;
|
|
14086
14086
|
line-height: 1em;
|
|
@@ -14116,7 +14116,7 @@ var UBaseIcon = defineComponent({
|
|
|
14116
14116
|
onMouseup: Function
|
|
14117
14117
|
},
|
|
14118
14118
|
setup(props) {
|
|
14119
|
-
useStyle("-base-icon", style$
|
|
14119
|
+
useStyle("-base-icon", style$1Y, toRef(props, "clsPrefix"));
|
|
14120
14120
|
},
|
|
14121
14121
|
render() {
|
|
14122
14122
|
return /* @__PURE__ */ h(
|
|
@@ -14151,7 +14151,7 @@ const iconProps = {
|
|
|
14151
14151
|
onClick: Function
|
|
14152
14152
|
};
|
|
14153
14153
|
|
|
14154
|
-
var style$
|
|
14154
|
+
var style$1X = cB("icon", `
|
|
14155
14155
|
height: 1em;
|
|
14156
14156
|
width: 1em;
|
|
14157
14157
|
line-height: 1em;
|
|
@@ -14337,7 +14337,7 @@ const derived = {
|
|
|
14337
14337
|
boxShadow2: "0px 20px 80px 0px rgba(0, 0, 0, 0.07)"
|
|
14338
14338
|
};
|
|
14339
14339
|
|
|
14340
|
-
function self$
|
|
14340
|
+
function self$1E(vars) {
|
|
14341
14341
|
const {
|
|
14342
14342
|
elementsPrimary
|
|
14343
14343
|
} = vars;
|
|
@@ -14353,13 +14353,13 @@ function self$1D(vars) {
|
|
|
14353
14353
|
const iconLight = {
|
|
14354
14354
|
name: "Icon",
|
|
14355
14355
|
common: derived,
|
|
14356
|
-
self: self$
|
|
14356
|
+
self: self$1E
|
|
14357
14357
|
};
|
|
14358
14358
|
|
|
14359
14359
|
const iconDark$1 = {
|
|
14360
14360
|
name: "Icon",
|
|
14361
14361
|
common: derived$1,
|
|
14362
|
-
self: self$
|
|
14362
|
+
self: self$1E
|
|
14363
14363
|
};
|
|
14364
14364
|
|
|
14365
14365
|
const FALLBACK_ICON = "�";
|
|
@@ -14373,7 +14373,7 @@ const UIconImpl = defineComponent({
|
|
|
14373
14373
|
mergedIconPacksRef,
|
|
14374
14374
|
inlineThemeDisabled
|
|
14375
14375
|
} = useConfig(props);
|
|
14376
|
-
const themeRef = useTheme("Icon", "-icon", style$
|
|
14376
|
+
const themeRef = useTheme("Icon", "-icon", style$1X, iconLight, props, mergedClsPrefixRef);
|
|
14377
14377
|
const cssVarsRef = computed(() => {
|
|
14378
14378
|
const {
|
|
14379
14379
|
depth
|
|
@@ -14514,7 +14514,7 @@ var commonVars$b = {
|
|
|
14514
14514
|
avatarSize: "16px"
|
|
14515
14515
|
};
|
|
14516
14516
|
|
|
14517
|
-
function self$
|
|
14517
|
+
function self$1D(vars) {
|
|
14518
14518
|
const {
|
|
14519
14519
|
heightHuge,
|
|
14520
14520
|
fontBodyLarge,
|
|
@@ -14544,16 +14544,16 @@ function self$1C(vars) {
|
|
|
14544
14544
|
const accountOptionLight = {
|
|
14545
14545
|
name: "AccountOption",
|
|
14546
14546
|
common: derived,
|
|
14547
|
-
self: self$
|
|
14547
|
+
self: self$1D
|
|
14548
14548
|
};
|
|
14549
14549
|
|
|
14550
14550
|
const accountOptionDark = {
|
|
14551
14551
|
name: "AccountOption",
|
|
14552
14552
|
common: derived$1,
|
|
14553
|
-
self: self$
|
|
14553
|
+
self: self$1D
|
|
14554
14554
|
};
|
|
14555
14555
|
|
|
14556
|
-
var style$
|
|
14556
|
+
var style$1W = cB("base-account-option", `
|
|
14557
14557
|
display: flex;
|
|
14558
14558
|
align-items: center;
|
|
14559
14559
|
position: relative;
|
|
@@ -14608,7 +14608,7 @@ var UBaseAccountOption = defineComponent({
|
|
|
14608
14608
|
const themeRef = useTheme(
|
|
14609
14609
|
"AccountOption",
|
|
14610
14610
|
"-base-account-option",
|
|
14611
|
-
style$
|
|
14611
|
+
style$1W,
|
|
14612
14612
|
accountOptionLight,
|
|
14613
14613
|
props,
|
|
14614
14614
|
mergedClsPrefixRef
|
|
@@ -16088,7 +16088,7 @@ function iconSwitchTransition({
|
|
|
16088
16088
|
})];
|
|
16089
16089
|
}
|
|
16090
16090
|
|
|
16091
|
-
var style$
|
|
16091
|
+
var style$1V = cB("base-clear", `
|
|
16092
16092
|
flex-shrink: 0;
|
|
16093
16093
|
height: 1em;
|
|
16094
16094
|
width: 1em;
|
|
@@ -16129,7 +16129,7 @@ var UBaseClear = defineComponent({
|
|
|
16129
16129
|
onClear: Function
|
|
16130
16130
|
},
|
|
16131
16131
|
setup(props) {
|
|
16132
|
-
useStyle("-base-clear", style$
|
|
16132
|
+
useStyle("-base-clear", style$1V, toRef(props, "clsPrefix"));
|
|
16133
16133
|
return {
|
|
16134
16134
|
handleMouseDown(e) {
|
|
16135
16135
|
e.preventDefault();
|
|
@@ -16160,7 +16160,7 @@ var UBaseClear = defineComponent({
|
|
|
16160
16160
|
}
|
|
16161
16161
|
});
|
|
16162
16162
|
|
|
16163
|
-
var style$
|
|
16163
|
+
var style$1U = cB("base-close", `
|
|
16164
16164
|
display: flex;
|
|
16165
16165
|
align-items: center;
|
|
16166
16166
|
justify-content: center;
|
|
@@ -16232,7 +16232,7 @@ var UBaseClose = defineComponent({
|
|
|
16232
16232
|
absolute: Boolean
|
|
16233
16233
|
},
|
|
16234
16234
|
setup(props) {
|
|
16235
|
-
useStyle("-base-close", style$
|
|
16235
|
+
useStyle("-base-close", style$1U, toRef(props, "clsPrefix"));
|
|
16236
16236
|
return () => {
|
|
16237
16237
|
const { clsPrefix, disabled, absolute, round, isButtonTag } = props;
|
|
16238
16238
|
const Tag = isButtonTag ? "button" : "div";
|
|
@@ -16391,7 +16391,7 @@ var FocusDetector = defineComponent({
|
|
|
16391
16391
|
}
|
|
16392
16392
|
});
|
|
16393
16393
|
|
|
16394
|
-
var style$
|
|
16394
|
+
var style$1T = c$1([c$1("@keyframes loading-container-rotate", `
|
|
16395
16395
|
to {
|
|
16396
16396
|
-webkit-transform: rotate(360deg);
|
|
16397
16397
|
transform: rotate(360deg);
|
|
@@ -16561,7 +16561,7 @@ var UBaseLoading = defineComponent({
|
|
|
16561
16561
|
...exposedLoadingProps
|
|
16562
16562
|
},
|
|
16563
16563
|
setup(props) {
|
|
16564
|
-
useStyle("-base-loading", style$
|
|
16564
|
+
useStyle("-base-loading", style$1T, toRef(props, "clsPrefix"));
|
|
16565
16565
|
},
|
|
16566
16566
|
render() {
|
|
16567
16567
|
const { clsPrefix, radius, strokeWidth, stroke, scale } = this;
|
|
@@ -16691,7 +16691,7 @@ function fadeInTransition({
|
|
|
16691
16691
|
})];
|
|
16692
16692
|
}
|
|
16693
16693
|
|
|
16694
|
-
var style$
|
|
16694
|
+
var style$1S = cB("base-menu-mask", `
|
|
16695
16695
|
position: absolute;
|
|
16696
16696
|
left: 0;
|
|
16697
16697
|
right: 0;
|
|
@@ -16714,7 +16714,7 @@ var UBaseMenuMask = defineComponent({
|
|
|
16714
16714
|
}
|
|
16715
16715
|
},
|
|
16716
16716
|
setup(props) {
|
|
16717
|
-
useStyle("-base-menu-mask", style$
|
|
16717
|
+
useStyle("-base-menu-mask", style$1S, toRef(props, "clsPrefix"));
|
|
16718
16718
|
const messageRef = ref(null);
|
|
16719
16719
|
let timerId = null;
|
|
16720
16720
|
const uncontrolledShowRef = ref(false);
|
|
@@ -16902,7 +16902,7 @@ const commonVars$a = {
|
|
|
16902
16902
|
railColor: "transparent"
|
|
16903
16903
|
};
|
|
16904
16904
|
|
|
16905
|
-
function self$
|
|
16905
|
+
function self$1C(vars) {
|
|
16906
16906
|
const {
|
|
16907
16907
|
scrollbarColor,
|
|
16908
16908
|
scrollbarColorHover,
|
|
@@ -16922,13 +16922,13 @@ function self$1B(vars) {
|
|
|
16922
16922
|
const safeTopScrollbarLight = {
|
|
16923
16923
|
name: "SafeTopScrollbar",
|
|
16924
16924
|
common: derived,
|
|
16925
|
-
self: self$
|
|
16925
|
+
self: self$1C
|
|
16926
16926
|
};
|
|
16927
16927
|
|
|
16928
16928
|
const safeTopScrollbarDark = {
|
|
16929
16929
|
name: "SafeTopScrollbar",
|
|
16930
16930
|
common: derived$1,
|
|
16931
|
-
self: self$
|
|
16931
|
+
self: self$1C
|
|
16932
16932
|
};
|
|
16933
16933
|
|
|
16934
16934
|
cB("scrollbar", [cM("rtl", `
|
|
@@ -16941,7 +16941,7 @@ cB("scrollbar", [cM("rtl", `
|
|
|
16941
16941
|
right: unset;
|
|
16942
16942
|
`)])])])]);
|
|
16943
16943
|
|
|
16944
|
-
var style$
|
|
16944
|
+
var style$1R = cB("safe-top-scrollbar", `
|
|
16945
16945
|
overflow: hidden;
|
|
16946
16946
|
position: relative;
|
|
16947
16947
|
z-index: auto;
|
|
@@ -17090,7 +17090,7 @@ const SafeTopScrollbar$1 = defineComponent({
|
|
|
17090
17090
|
const themeRef = useTheme(
|
|
17091
17091
|
"SafeTopScrollbar",
|
|
17092
17092
|
"-safe-top-scrollbar",
|
|
17093
|
-
style$
|
|
17093
|
+
style$1R,
|
|
17094
17094
|
safeTopScrollbarLight,
|
|
17095
17095
|
props,
|
|
17096
17096
|
mergedClsPrefixRef
|
|
@@ -17824,7 +17824,7 @@ const commonVars$9 = {
|
|
|
17824
17824
|
railColor: "transparent"
|
|
17825
17825
|
};
|
|
17826
17826
|
|
|
17827
|
-
function self$
|
|
17827
|
+
function self$1B(vars) {
|
|
17828
17828
|
const {
|
|
17829
17829
|
scrollbarColor,
|
|
17830
17830
|
scrollbarColorHover,
|
|
@@ -17844,13 +17844,13 @@ function self$1A(vars) {
|
|
|
17844
17844
|
const scrollbarLight = {
|
|
17845
17845
|
name: "Scrollbar",
|
|
17846
17846
|
common: derived,
|
|
17847
|
-
self: self$
|
|
17847
|
+
self: self$1B
|
|
17848
17848
|
};
|
|
17849
17849
|
|
|
17850
17850
|
const scrollbarDark = {
|
|
17851
17851
|
name: "Scrollbar",
|
|
17852
17852
|
common: derived$1,
|
|
17853
|
-
self: self$
|
|
17853
|
+
self: self$1B
|
|
17854
17854
|
};
|
|
17855
17855
|
|
|
17856
17856
|
var rtlStyle$t = cB("scrollbar", [cM("rtl", `
|
|
@@ -17868,7 +17868,7 @@ const scrollbarRtl = {
|
|
|
17868
17868
|
style: rtlStyle$t
|
|
17869
17869
|
};
|
|
17870
17870
|
|
|
17871
|
-
var style$
|
|
17871
|
+
var style$1Q = cB("scrollbar", `
|
|
17872
17872
|
overflow: hidden;
|
|
17873
17873
|
position: relative;
|
|
17874
17874
|
z-index: auto;
|
|
@@ -18011,7 +18011,7 @@ const Scrollbar$1 = defineComponent({
|
|
|
18011
18011
|
const themeRef = useTheme(
|
|
18012
18012
|
"Scrollbar",
|
|
18013
18013
|
"-scrollbar",
|
|
18014
|
-
style$
|
|
18014
|
+
style$1Q,
|
|
18015
18015
|
scrollbarLight,
|
|
18016
18016
|
props,
|
|
18017
18017
|
mergedClsPrefixRef
|
|
@@ -19383,7 +19383,7 @@ function createTreeMate(rawNodes, options = {}) {
|
|
|
19383
19383
|
return treemate;
|
|
19384
19384
|
}
|
|
19385
19385
|
|
|
19386
|
-
function self$
|
|
19386
|
+
function self$1A(vars) {
|
|
19387
19387
|
const {
|
|
19388
19388
|
fontBodyMedium,
|
|
19389
19389
|
fontTitleLarge,
|
|
@@ -19415,16 +19415,16 @@ function self$1z(vars) {
|
|
|
19415
19415
|
const emptyLight = {
|
|
19416
19416
|
name: "Empty",
|
|
19417
19417
|
common: derived,
|
|
19418
|
-
self: self$
|
|
19418
|
+
self: self$1A
|
|
19419
19419
|
};
|
|
19420
19420
|
|
|
19421
19421
|
const emptyDark$1 = {
|
|
19422
19422
|
name: "Empty",
|
|
19423
19423
|
common: derived$1,
|
|
19424
|
-
self: self$
|
|
19424
|
+
self: self$1A
|
|
19425
19425
|
};
|
|
19426
19426
|
|
|
19427
|
-
var style$
|
|
19427
|
+
var style$1P = cB("empty", `
|
|
19428
19428
|
display: flex;
|
|
19429
19429
|
flex-direction: column;
|
|
19430
19430
|
align-items: center;
|
|
@@ -19502,7 +19502,7 @@ var UEmpty$1 = defineComponent({
|
|
|
19502
19502
|
const themeRef = useTheme(
|
|
19503
19503
|
"Empty",
|
|
19504
19504
|
"-empty",
|
|
19505
|
-
style$
|
|
19505
|
+
style$1P,
|
|
19506
19506
|
emptyLight,
|
|
19507
19507
|
props,
|
|
19508
19508
|
mergedClsPrefixRef
|
|
@@ -19590,7 +19590,7 @@ var UEmpty$1 = defineComponent({
|
|
|
19590
19590
|
}
|
|
19591
19591
|
});
|
|
19592
19592
|
|
|
19593
|
-
function self$
|
|
19593
|
+
function self$1z(vars) {
|
|
19594
19594
|
const {
|
|
19595
19595
|
borderRadius,
|
|
19596
19596
|
iconMedium,
|
|
@@ -19647,7 +19647,7 @@ const internalSelectMenuLight = createTheme$1({
|
|
|
19647
19647
|
Scrollbar: scrollbarLight,
|
|
19648
19648
|
Empty: emptyLight
|
|
19649
19649
|
},
|
|
19650
|
-
self: self$
|
|
19650
|
+
self: self$1z
|
|
19651
19651
|
});
|
|
19652
19652
|
|
|
19653
19653
|
const internalSelectMenuDark = {
|
|
@@ -19657,7 +19657,7 @@ const internalSelectMenuDark = {
|
|
|
19657
19657
|
Scrollbar: scrollbarDark,
|
|
19658
19658
|
Empty: emptyDark$1
|
|
19659
19659
|
},
|
|
19660
|
-
self: self$
|
|
19660
|
+
self: self$1z
|
|
19661
19661
|
};
|
|
19662
19662
|
|
|
19663
19663
|
cB("base-select-menu", [cM("rtl", `
|
|
@@ -19898,7 +19898,7 @@ function fadeInScaleUpTransition({
|
|
|
19898
19898
|
})];
|
|
19899
19899
|
}
|
|
19900
19900
|
|
|
19901
|
-
var style$
|
|
19901
|
+
var style$1O = cB("base-select-menu", `
|
|
19902
19902
|
line-height: 1.5;
|
|
19903
19903
|
outline: none;
|
|
19904
19904
|
z-index: 0;
|
|
@@ -20086,7 +20086,7 @@ var UInternalSelectMenu = defineComponent({
|
|
|
20086
20086
|
const themeRef = useTheme(
|
|
20087
20087
|
"InternalSelectMenu",
|
|
20088
20088
|
"-internal-select-menu",
|
|
20089
|
-
style$
|
|
20089
|
+
style$1O,
|
|
20090
20090
|
internalSelectMenuLight,
|
|
20091
20091
|
props,
|
|
20092
20092
|
toRef(props, "clsPrefix")
|
|
@@ -20554,7 +20554,7 @@ var UInternalSelectMenu = defineComponent({
|
|
|
20554
20554
|
}
|
|
20555
20555
|
});
|
|
20556
20556
|
|
|
20557
|
-
function self$
|
|
20557
|
+
function self$1y(vars) {
|
|
20558
20558
|
const {
|
|
20559
20559
|
fontBodyMedium,
|
|
20560
20560
|
containerPrimary,
|
|
@@ -20581,13 +20581,13 @@ function self$1x(vars) {
|
|
|
20581
20581
|
const popoverLight = {
|
|
20582
20582
|
name: "Popover",
|
|
20583
20583
|
common: derived,
|
|
20584
|
-
self: self$
|
|
20584
|
+
self: self$1y
|
|
20585
20585
|
};
|
|
20586
20586
|
|
|
20587
20587
|
const popoverDark = {
|
|
20588
20588
|
name: "Popover",
|
|
20589
20589
|
common: derived$1,
|
|
20590
|
-
self: self$
|
|
20590
|
+
self: self$1y
|
|
20591
20591
|
};
|
|
20592
20592
|
|
|
20593
20593
|
cB("popover", [cM("rtl", `
|
|
@@ -20602,7 +20602,7 @@ const oppositePlacement = {
|
|
|
20602
20602
|
right: "left"
|
|
20603
20603
|
};
|
|
20604
20604
|
const arrowSize = "var(--u-arrow-height) * 1.414";
|
|
20605
|
-
var style$
|
|
20605
|
+
var style$1N = c$1([cB("popover", `
|
|
20606
20606
|
transition:
|
|
20607
20607
|
box-shadow .3s var(--u-bezier),
|
|
20608
20608
|
background-color .3s var(--u-bezier),
|
|
@@ -20821,7 +20821,7 @@ var UPopoverBody = defineComponent({
|
|
|
20821
20821
|
const themeRef = useTheme(
|
|
20822
20822
|
"Popover",
|
|
20823
20823
|
"-popover",
|
|
20824
|
-
style$
|
|
20824
|
+
style$1N,
|
|
20825
20825
|
popoverLight,
|
|
20826
20826
|
props,
|
|
20827
20827
|
mergedClsPrefixRef
|
|
@@ -21651,7 +21651,7 @@ var UPopover$1 = defineComponent({
|
|
|
21651
21651
|
}
|
|
21652
21652
|
});
|
|
21653
21653
|
|
|
21654
|
-
function self$
|
|
21654
|
+
function self$1x(vars) {
|
|
21655
21655
|
const {
|
|
21656
21656
|
opacityDisabled,
|
|
21657
21657
|
borderRadiusSmall: borderRadius,
|
|
@@ -21749,13 +21749,13 @@ function self$1w(vars) {
|
|
|
21749
21749
|
const tagLight = {
|
|
21750
21750
|
name: "Tag",
|
|
21751
21751
|
common: derived,
|
|
21752
|
-
self: self$
|
|
21752
|
+
self: self$1x
|
|
21753
21753
|
};
|
|
21754
21754
|
|
|
21755
21755
|
const tagDark = {
|
|
21756
21756
|
name: "Tag",
|
|
21757
21757
|
common: derived$1,
|
|
21758
|
-
self: self$
|
|
21758
|
+
self: self$1x
|
|
21759
21759
|
};
|
|
21760
21760
|
|
|
21761
21761
|
var rtlStyle$s = cB("tag", [cM("rtl", `
|
|
@@ -21802,7 +21802,7 @@ var commonProps = {
|
|
|
21802
21802
|
}
|
|
21803
21803
|
};
|
|
21804
21804
|
|
|
21805
|
-
var style$
|
|
21805
|
+
var style$1M = cB("tag", `
|
|
21806
21806
|
white-space: nowrap;
|
|
21807
21807
|
position: relative;
|
|
21808
21808
|
box-sizing: border-box;
|
|
@@ -21969,7 +21969,7 @@ var _UTag = defineComponent({
|
|
|
21969
21969
|
const themeRef = useTheme(
|
|
21970
21970
|
"Tag",
|
|
21971
21971
|
"-tag",
|
|
21972
|
-
style$
|
|
21972
|
+
style$1M,
|
|
21973
21973
|
tagLight,
|
|
21974
21974
|
props,
|
|
21975
21975
|
mergedClsPrefixRef
|
|
@@ -22333,7 +22333,7 @@ var _UTagGroup = defineComponent({
|
|
|
22333
22333
|
}
|
|
22334
22334
|
});
|
|
22335
22335
|
|
|
22336
|
-
function self$
|
|
22336
|
+
function self$1w(vars) {
|
|
22337
22337
|
const {
|
|
22338
22338
|
heightSmall,
|
|
22339
22339
|
heightMedium,
|
|
@@ -22353,10 +22353,10 @@ function self$1v(vars) {
|
|
|
22353
22353
|
}
|
|
22354
22354
|
const skeletonLight$1 = {
|
|
22355
22355
|
common: derived,
|
|
22356
|
-
self: self$
|
|
22356
|
+
self: self$1w
|
|
22357
22357
|
};
|
|
22358
22358
|
|
|
22359
|
-
var style$
|
|
22359
|
+
var style$1L = c$1([cB("skeleton", `
|
|
22360
22360
|
height: 1em;
|
|
22361
22361
|
width: 100%;
|
|
22362
22362
|
transition: background-color .3s var(--u-bezier);
|
|
@@ -22412,7 +22412,7 @@ var UBaseSkeleton = defineComponent({
|
|
|
22412
22412
|
const themeRef = useTheme(
|
|
22413
22413
|
"Skeleton",
|
|
22414
22414
|
"-skeleton",
|
|
22415
|
-
style$
|
|
22415
|
+
style$1L,
|
|
22416
22416
|
skeletonLight$1,
|
|
22417
22417
|
props,
|
|
22418
22418
|
mergedClsPrefixRef
|
|
@@ -22528,7 +22528,7 @@ var UBaseSuffix = defineComponent({
|
|
|
22528
22528
|
}
|
|
22529
22529
|
});
|
|
22530
22530
|
|
|
22531
|
-
function self$
|
|
22531
|
+
function self$1v(vars) {
|
|
22532
22532
|
const {
|
|
22533
22533
|
borderRadius,
|
|
22534
22534
|
iconMedium,
|
|
@@ -22686,7 +22686,7 @@ const internalSelectionLight = createTheme$1({
|
|
|
22686
22686
|
peers: {
|
|
22687
22687
|
Popover: popoverLight
|
|
22688
22688
|
},
|
|
22689
|
-
self: self$
|
|
22689
|
+
self: self$1v
|
|
22690
22690
|
});
|
|
22691
22691
|
|
|
22692
22692
|
const internalSelectionDark = {
|
|
@@ -22695,7 +22695,7 @@ const internalSelectionDark = {
|
|
|
22695
22695
|
peers: {
|
|
22696
22696
|
Popover: popoverDark
|
|
22697
22697
|
},
|
|
22698
|
-
self: self$
|
|
22698
|
+
self: self$1v
|
|
22699
22699
|
};
|
|
22700
22700
|
|
|
22701
22701
|
cB("base-selection", [cM("rtl", `
|
|
@@ -22728,7 +22728,7 @@ function generateSecondaryStates(state) {
|
|
|
22728
22728
|
color: var(--u-arrow-color${state}-secondary);
|
|
22729
22729
|
`)])];
|
|
22730
22730
|
}
|
|
22731
|
-
var style$
|
|
22731
|
+
var style$1K = c$1([cB("base-selection", `
|
|
22732
22732
|
position: relative;
|
|
22733
22733
|
z-index: auto;
|
|
22734
22734
|
box-shadow: none;
|
|
@@ -23079,7 +23079,7 @@ var UInternalSelection = defineComponent({
|
|
|
23079
23079
|
const themeRef = useTheme(
|
|
23080
23080
|
"InternalSelection",
|
|
23081
23081
|
"-internal-selection",
|
|
23082
|
-
style$
|
|
23082
|
+
style$1K,
|
|
23083
23083
|
internalSelectionLight,
|
|
23084
23084
|
props,
|
|
23085
23085
|
toRef(props, "clsPrefix")
|
|
@@ -24160,7 +24160,7 @@ function fadeUpWidthExpandTransition({
|
|
|
24160
24160
|
})];
|
|
24161
24161
|
}
|
|
24162
24162
|
|
|
24163
|
-
var style$
|
|
24163
|
+
var style$1J = c$1([c$1("@keyframes u-base-slot-machine-fade-up-in", `
|
|
24164
24164
|
from {
|
|
24165
24165
|
transform: translateY(60%);
|
|
24166
24166
|
opacity: 0;
|
|
@@ -24279,7 +24279,7 @@ var UBaseSlotMachine = defineComponent({
|
|
|
24279
24279
|
}
|
|
24280
24280
|
},
|
|
24281
24281
|
setup(props) {
|
|
24282
|
-
useStyle("-base-slot-machine", style$
|
|
24282
|
+
useStyle("-base-slot-machine", style$1J, toRef(props, "clsPrefix"));
|
|
24283
24283
|
const oldValueRef = ref();
|
|
24284
24284
|
const newValueRef = ref();
|
|
24285
24285
|
const numbersRef = computed(() => {
|
|
@@ -24334,7 +24334,7 @@ var UBaseSlotMachine = defineComponent({
|
|
|
24334
24334
|
}
|
|
24335
24335
|
});
|
|
24336
24336
|
|
|
24337
|
-
function self$
|
|
24337
|
+
function self$1u(vars) {
|
|
24338
24338
|
const {
|
|
24339
24339
|
borderRadiusSmall,
|
|
24340
24340
|
brandPrimary500,
|
|
@@ -24370,10 +24370,10 @@ function self$1t(vars) {
|
|
|
24370
24370
|
}
|
|
24371
24371
|
const typographyLight$1 = {
|
|
24372
24372
|
common: derived,
|
|
24373
|
-
self: self$
|
|
24373
|
+
self: self$1u
|
|
24374
24374
|
};
|
|
24375
24375
|
|
|
24376
|
-
var style$
|
|
24376
|
+
var style$1I = cB("text", `
|
|
24377
24377
|
transition: color .3s var(--u-bezier);
|
|
24378
24378
|
color: var(--u-text-color);
|
|
24379
24379
|
margin: 0;
|
|
@@ -24681,7 +24681,7 @@ var InternalUText = defineComponent({
|
|
|
24681
24681
|
const themeRef = useTheme(
|
|
24682
24682
|
"Typography",
|
|
24683
24683
|
"-text",
|
|
24684
|
-
style$
|
|
24684
|
+
style$1I,
|
|
24685
24685
|
typographyLight$1,
|
|
24686
24686
|
props,
|
|
24687
24687
|
mergedClsPrefixRef
|
|
@@ -24769,7 +24769,7 @@ var InternalUText = defineComponent({
|
|
|
24769
24769
|
}
|
|
24770
24770
|
});
|
|
24771
24771
|
|
|
24772
|
-
var style$
|
|
24772
|
+
var style$1H = cB("base-wave", `
|
|
24773
24773
|
position: absolute;
|
|
24774
24774
|
left: 0;
|
|
24775
24775
|
right: 0;
|
|
@@ -24787,7 +24787,7 @@ var UBaseWave = defineComponent({
|
|
|
24787
24787
|
}
|
|
24788
24788
|
},
|
|
24789
24789
|
setup(props) {
|
|
24790
|
-
useStyle("-base-wave", style$
|
|
24790
|
+
useStyle("-base-wave", style$1H, toRef(props, "clsPrefix"));
|
|
24791
24791
|
const selfRef = ref(null);
|
|
24792
24792
|
const activeRef = ref(false);
|
|
24793
24793
|
let animationTimerId = null;
|
|
@@ -24832,7 +24832,7 @@ var UBaseWave = defineComponent({
|
|
|
24832
24832
|
}
|
|
24833
24833
|
});
|
|
24834
24834
|
|
|
24835
|
-
function self$
|
|
24835
|
+
function self$1t(vars) {
|
|
24836
24836
|
const {
|
|
24837
24837
|
borderRadius,
|
|
24838
24838
|
fontBodyMedium,
|
|
@@ -24869,7 +24869,7 @@ const tooltipLight = createTheme$1({
|
|
|
24869
24869
|
peers: {
|
|
24870
24870
|
Popover: popoverLight
|
|
24871
24871
|
},
|
|
24872
|
-
self: self$
|
|
24872
|
+
self: self$1t
|
|
24873
24873
|
});
|
|
24874
24874
|
|
|
24875
24875
|
const tooltipDark = {
|
|
@@ -24878,10 +24878,10 @@ const tooltipDark = {
|
|
|
24878
24878
|
peers: {
|
|
24879
24879
|
Popover: popoverDark
|
|
24880
24880
|
},
|
|
24881
|
-
self: self$
|
|
24881
|
+
self: self$1t
|
|
24882
24882
|
};
|
|
24883
24883
|
|
|
24884
|
-
var style$
|
|
24884
|
+
var style$1G = cB("tooltip", "", [cE("content", `
|
|
24885
24885
|
display: flex;
|
|
24886
24886
|
align-items: flex-start;
|
|
24887
24887
|
`), cE("icon", `
|
|
@@ -25007,7 +25007,7 @@ var _UTooltip = defineComponent({
|
|
|
25007
25007
|
const themeRef = useTheme(
|
|
25008
25008
|
"Tooltip",
|
|
25009
25009
|
"-tooltip",
|
|
25010
|
-
props.variant === "plain" ? void 0 : style$
|
|
25010
|
+
props.variant === "plain" ? void 0 : style$1G,
|
|
25011
25011
|
tooltipLight,
|
|
25012
25012
|
props,
|
|
25013
25013
|
mergedClsPrefixRef
|
|
@@ -25137,7 +25137,7 @@ const ellipsisLight = createTheme$1({
|
|
|
25137
25137
|
}
|
|
25138
25138
|
});
|
|
25139
25139
|
|
|
25140
|
-
var style$
|
|
25140
|
+
var style$1F = cB("ellipsis", {
|
|
25141
25141
|
overflow: "hidden"
|
|
25142
25142
|
}, [cNotM("line-clamp", `
|
|
25143
25143
|
white-space: nowrap;
|
|
@@ -25175,7 +25175,7 @@ var _UEllipsis = defineComponent({
|
|
|
25175
25175
|
const mergedTheme = useTheme(
|
|
25176
25176
|
"Ellipsis",
|
|
25177
25177
|
"-ellipsis",
|
|
25178
|
-
style$
|
|
25178
|
+
style$1F,
|
|
25179
25179
|
ellipsisLight,
|
|
25180
25180
|
props,
|
|
25181
25181
|
mergedClsPrefixRef
|
|
@@ -25332,7 +25332,7 @@ const UPerformantEllipsis$1 = defineComponent({
|
|
|
25332
25332
|
setup(props, { attrs, slots }) {
|
|
25333
25333
|
const mouseEnteredRef = ref(false);
|
|
25334
25334
|
const mergedClsPrefixRef = useMergedClsPrefix();
|
|
25335
|
-
useStyle("-ellipsis", style$
|
|
25335
|
+
useStyle("-ellipsis", style$1F, mergedClsPrefixRef);
|
|
25336
25336
|
const renderTrigger = () => {
|
|
25337
25337
|
const { lineClamp } = props;
|
|
25338
25338
|
const mergedClsPrefix = mergedClsPrefixRef.value;
|
|
@@ -25372,7 +25372,7 @@ const UPerformantEllipsis$1 = defineComponent({
|
|
|
25372
25372
|
}
|
|
25373
25373
|
});
|
|
25374
25374
|
|
|
25375
|
-
function self$
|
|
25375
|
+
function self$1s(vars) {
|
|
25376
25376
|
const {
|
|
25377
25377
|
borderRadiusLarge,
|
|
25378
25378
|
elementsQuaternary,
|
|
@@ -25414,21 +25414,21 @@ function self$1r(vars) {
|
|
|
25414
25414
|
const actionCardLight = {
|
|
25415
25415
|
name: "ActionCard",
|
|
25416
25416
|
common: derived,
|
|
25417
|
-
self: self$
|
|
25417
|
+
self: self$1s
|
|
25418
25418
|
};
|
|
25419
25419
|
|
|
25420
25420
|
const actionCardDark = {
|
|
25421
25421
|
name: "ActionCard",
|
|
25422
25422
|
common: derived$1,
|
|
25423
25423
|
self: vars => {
|
|
25424
|
-
const lightVars = self$
|
|
25424
|
+
const lightVars = self$1s(vars);
|
|
25425
25425
|
return {
|
|
25426
25426
|
...lightVars
|
|
25427
25427
|
};
|
|
25428
25428
|
}
|
|
25429
25429
|
};
|
|
25430
25430
|
|
|
25431
|
-
var style$
|
|
25431
|
+
var style$1E = cB("action-card", `
|
|
25432
25432
|
position: relative;
|
|
25433
25433
|
width: var(--u-width);
|
|
25434
25434
|
min-height: var(--u-min-height);
|
|
@@ -25549,7 +25549,7 @@ var _UActionCard = defineComponent({
|
|
|
25549
25549
|
const themeRef = useTheme(
|
|
25550
25550
|
"ActionCard",
|
|
25551
25551
|
"-action-card",
|
|
25552
|
-
style$
|
|
25552
|
+
style$1E,
|
|
25553
25553
|
actionCardLight,
|
|
25554
25554
|
props,
|
|
25555
25555
|
mergedClsPrefixRef
|
|
@@ -25680,7 +25680,7 @@ var _UActionCard = defineComponent({
|
|
|
25680
25680
|
}
|
|
25681
25681
|
});
|
|
25682
25682
|
|
|
25683
|
-
var style$
|
|
25683
|
+
var style$1D = cB("affix", [cM("affixed", {
|
|
25684
25684
|
position: "fixed"
|
|
25685
25685
|
}, [cM("absolute-positioned", {
|
|
25686
25686
|
position: "absolute"
|
|
@@ -25750,7 +25750,7 @@ var _UAffix = defineComponent({
|
|
|
25750
25750
|
props: affixProps,
|
|
25751
25751
|
setup(props) {
|
|
25752
25752
|
const { mergedClsPrefixRef } = useConfig(props);
|
|
25753
|
-
useStyle("-affix", style$
|
|
25753
|
+
useStyle("-affix", style$1D, mergedClsPrefixRef);
|
|
25754
25754
|
let scrollTarget = null;
|
|
25755
25755
|
const stickToTopRef = ref(false);
|
|
25756
25756
|
const stickToBottomRef = ref(false);
|
|
@@ -25886,7 +25886,7 @@ var commonVars$8 = {
|
|
|
25886
25886
|
descriptionSpaceBanner: "24px"
|
|
25887
25887
|
};
|
|
25888
25888
|
|
|
25889
|
-
function self$
|
|
25889
|
+
function self$1r(vars) {
|
|
25890
25890
|
const {
|
|
25891
25891
|
iconMedium,
|
|
25892
25892
|
closeMedium,
|
|
@@ -25995,13 +25995,13 @@ function self$1q(vars) {
|
|
|
25995
25995
|
const alertLight = {
|
|
25996
25996
|
name: "Alert",
|
|
25997
25997
|
common: derived,
|
|
25998
|
-
self: self$
|
|
25998
|
+
self: self$1r
|
|
25999
25999
|
};
|
|
26000
26000
|
|
|
26001
26001
|
const alertDark = {
|
|
26002
26002
|
name: "Alert",
|
|
26003
26003
|
common: derived$1,
|
|
26004
|
-
self: self$
|
|
26004
|
+
self: self$1r
|
|
26005
26005
|
};
|
|
26006
26006
|
|
|
26007
26007
|
var rtlStyle$r = cB("alert", [cM("rtl", `
|
|
@@ -26077,7 +26077,7 @@ function fadeInHeightExpandTransition({
|
|
|
26077
26077
|
`)];
|
|
26078
26078
|
}
|
|
26079
26079
|
|
|
26080
|
-
var style$
|
|
26080
|
+
var style$1C = cB("alert", `
|
|
26081
26081
|
line-height: var(--u-line-height);
|
|
26082
26082
|
position: relative;
|
|
26083
26083
|
transition: background-color .3s var(--u-bezier);
|
|
@@ -26256,7 +26256,7 @@ var _UAlert = defineComponent({
|
|
|
26256
26256
|
const themeRef = useTheme(
|
|
26257
26257
|
"Alert",
|
|
26258
26258
|
"-alert",
|
|
26259
|
-
style$
|
|
26259
|
+
style$1C,
|
|
26260
26260
|
alertLight,
|
|
26261
26261
|
props,
|
|
26262
26262
|
mergedClsPrefixRef
|
|
@@ -26397,7 +26397,7 @@ var _UAlert = defineComponent({
|
|
|
26397
26397
|
}
|
|
26398
26398
|
});
|
|
26399
26399
|
|
|
26400
|
-
function self$
|
|
26400
|
+
function self$1q(vars) {
|
|
26401
26401
|
const {
|
|
26402
26402
|
borderRadius,
|
|
26403
26403
|
fontBodyMedium,
|
|
@@ -26427,13 +26427,13 @@ function self$1p(vars) {
|
|
|
26427
26427
|
const anchorLight = {
|
|
26428
26428
|
name: "Anchor",
|
|
26429
26429
|
common: derived,
|
|
26430
|
-
self: self$
|
|
26430
|
+
self: self$1q
|
|
26431
26431
|
};
|
|
26432
26432
|
|
|
26433
26433
|
const anchorDark = {
|
|
26434
26434
|
name: "Anchor",
|
|
26435
26435
|
common: derived$1,
|
|
26436
|
-
self: self$
|
|
26436
|
+
self: self$1q
|
|
26437
26437
|
};
|
|
26438
26438
|
|
|
26439
26439
|
const anchorInjectionKey = createInjectionKey("u-anchor");
|
|
@@ -26772,7 +26772,7 @@ var UBaseAnchor = defineComponent({
|
|
|
26772
26772
|
}
|
|
26773
26773
|
});
|
|
26774
26774
|
|
|
26775
|
-
var style$
|
|
26775
|
+
var style$1B = cB("anchor", `
|
|
26776
26776
|
position: relative;
|
|
26777
26777
|
`, [cNotM("block", `
|
|
26778
26778
|
padding-left: var(--u-rail-width);
|
|
@@ -26862,7 +26862,7 @@ var _UAnchor = defineComponent({
|
|
|
26862
26862
|
const themeRef = useTheme(
|
|
26863
26863
|
"Anchor",
|
|
26864
26864
|
"-anchor",
|
|
26865
|
-
style$
|
|
26865
|
+
style$1B,
|
|
26866
26866
|
anchorLight,
|
|
26867
26867
|
props,
|
|
26868
26868
|
mergedClsPrefixRef
|
|
@@ -26942,7 +26942,7 @@ const isChrome = isBrowser$1 && "chrome" in window;
|
|
|
26942
26942
|
isBrowser$1 && navigator.userAgent.includes("Firefox");
|
|
26943
26943
|
const isSafari = isBrowser$1 && navigator.userAgent.includes("Safari") && !isChrome;
|
|
26944
26944
|
|
|
26945
|
-
function self$
|
|
26945
|
+
function self$1p(vars) {
|
|
26946
26946
|
const {
|
|
26947
26947
|
iconMedium,
|
|
26948
26948
|
textSecondary,
|
|
@@ -27053,13 +27053,13 @@ function self$1o(vars) {
|
|
|
27053
27053
|
const inputLight = {
|
|
27054
27054
|
name: "Input",
|
|
27055
27055
|
common: derived,
|
|
27056
|
-
self: self$
|
|
27056
|
+
self: self$1p
|
|
27057
27057
|
};
|
|
27058
27058
|
|
|
27059
27059
|
const inputDark = {
|
|
27060
27060
|
name: "Input",
|
|
27061
27061
|
common: derived$1,
|
|
27062
|
-
self: self$
|
|
27062
|
+
self: self$1p
|
|
27063
27063
|
};
|
|
27064
27064
|
|
|
27065
27065
|
var rtlStyle$q = cB("input", [cM("rtl", `
|
|
@@ -27085,7 +27085,7 @@ const inputRtl = {
|
|
|
27085
27085
|
|
|
27086
27086
|
const inputInjectionKey = createInjectionKey("u-input");
|
|
27087
27087
|
|
|
27088
|
-
var style$
|
|
27088
|
+
var style$1A = cB("input", `
|
|
27089
27089
|
max-width: 100%;
|
|
27090
27090
|
cursor: text;
|
|
27091
27091
|
line-height: 1.5;
|
|
@@ -27633,7 +27633,7 @@ var commonVariables$5 = {
|
|
|
27633
27633
|
rippleDuration: ".6s"
|
|
27634
27634
|
};
|
|
27635
27635
|
|
|
27636
|
-
function self$
|
|
27636
|
+
function self$1o(vars) {
|
|
27637
27637
|
const {
|
|
27638
27638
|
heightMini,
|
|
27639
27639
|
heightTiny,
|
|
@@ -27889,13 +27889,13 @@ function self$1n(vars) {
|
|
|
27889
27889
|
const buttonLight = {
|
|
27890
27890
|
name: "Button",
|
|
27891
27891
|
common: derived,
|
|
27892
|
-
self: self$
|
|
27892
|
+
self: self$1o
|
|
27893
27893
|
};
|
|
27894
27894
|
|
|
27895
27895
|
const buttonDark = {
|
|
27896
27896
|
name: "Button",
|
|
27897
27897
|
common: derived$1,
|
|
27898
|
-
self: self$
|
|
27898
|
+
self: self$1o
|
|
27899
27899
|
};
|
|
27900
27900
|
|
|
27901
27901
|
var rtlStyle$p = cB("button", [cM("rtl", `
|
|
@@ -27913,7 +27913,7 @@ const buttonRtl = {
|
|
|
27913
27913
|
style: rtlStyle$p
|
|
27914
27914
|
};
|
|
27915
27915
|
|
|
27916
|
-
var style$
|
|
27916
|
+
var style$1z = c$1([cB("button", `
|
|
27917
27917
|
margin: 0;
|
|
27918
27918
|
font-weight: var(--u-font-weight);
|
|
27919
27919
|
line-height: 1;
|
|
@@ -28244,7 +28244,7 @@ const Button = defineComponent({
|
|
|
28244
28244
|
const themeRef = useTheme(
|
|
28245
28245
|
"Button",
|
|
28246
28246
|
"-button",
|
|
28247
|
-
style$
|
|
28247
|
+
style$1z,
|
|
28248
28248
|
buttonLight,
|
|
28249
28249
|
props,
|
|
28250
28250
|
mergedClsPrefixRef
|
|
@@ -28678,7 +28678,7 @@ var commonVariables$4 = {
|
|
|
28678
28678
|
iconMargin: "0 16px 0 0"
|
|
28679
28679
|
};
|
|
28680
28680
|
|
|
28681
|
-
function self$
|
|
28681
|
+
function self$1n(vars) {
|
|
28682
28682
|
const {
|
|
28683
28683
|
closeMedium,
|
|
28684
28684
|
iconMedium,
|
|
@@ -28763,13 +28763,13 @@ function self$1m(vars) {
|
|
|
28763
28763
|
const messageLight = {
|
|
28764
28764
|
name: "Message",
|
|
28765
28765
|
common: derived,
|
|
28766
|
-
self: self$
|
|
28766
|
+
self: self$1n
|
|
28767
28767
|
};
|
|
28768
28768
|
|
|
28769
28769
|
const messageDark = {
|
|
28770
28770
|
name: "Message",
|
|
28771
28771
|
common: derived$1,
|
|
28772
|
-
self: self$
|
|
28772
|
+
self: self$1n
|
|
28773
28773
|
};
|
|
28774
28774
|
|
|
28775
28775
|
var rtlStyle$o = cB("message", [cM("rtl", `
|
|
@@ -28804,7 +28804,7 @@ const messageProps = {
|
|
|
28804
28804
|
onMouseleave: Function
|
|
28805
28805
|
};
|
|
28806
28806
|
|
|
28807
|
-
var style$
|
|
28807
|
+
var style$1y = c$1([cB("message-wrapper", `
|
|
28808
28808
|
margin: var(--u-margin);
|
|
28809
28809
|
z-index: 0;
|
|
28810
28810
|
transform-origin: top center;
|
|
@@ -28925,7 +28925,7 @@ var UMessage = defineComponent({
|
|
|
28925
28925
|
const themeRef = useTheme(
|
|
28926
28926
|
"Message",
|
|
28927
28927
|
"-message",
|
|
28928
|
-
style$
|
|
28928
|
+
style$1y,
|
|
28929
28929
|
messageLight,
|
|
28930
28930
|
messageProviderProps,
|
|
28931
28931
|
mergedClsPrefixRef
|
|
@@ -29604,7 +29604,7 @@ var UInput$1 = defineComponent({
|
|
|
29604
29604
|
const themeRef = useTheme(
|
|
29605
29605
|
"Input",
|
|
29606
29606
|
"-input",
|
|
29607
|
-
style$
|
|
29607
|
+
style$1A,
|
|
29608
29608
|
inputLight,
|
|
29609
29609
|
props,
|
|
29610
29610
|
mergedClsPrefixRef
|
|
@@ -30693,7 +30693,7 @@ var UInput$1 = defineComponent({
|
|
|
30693
30693
|
}
|
|
30694
30694
|
});
|
|
30695
30695
|
|
|
30696
|
-
var style$
|
|
30696
|
+
var style$1x = cB("input-group", `
|
|
30697
30697
|
display: inline-flex;
|
|
30698
30698
|
width: 100%;
|
|
30699
30699
|
flex-wrap: nowrap;
|
|
@@ -30756,7 +30756,7 @@ var _UInputGroup = defineComponent({
|
|
|
30756
30756
|
props: inputGroupProps,
|
|
30757
30757
|
setup(props) {
|
|
30758
30758
|
const { mergedClsPrefixRef } = useConfig(props);
|
|
30759
|
-
useStyle("-input-group", style$
|
|
30759
|
+
useStyle("-input-group", style$1x, mergedClsPrefixRef);
|
|
30760
30760
|
return {
|
|
30761
30761
|
mergedClsPrefix: mergedClsPrefixRef
|
|
30762
30762
|
};
|
|
@@ -30767,7 +30767,7 @@ var _UInputGroup = defineComponent({
|
|
|
30767
30767
|
}
|
|
30768
30768
|
});
|
|
30769
30769
|
|
|
30770
|
-
var style$
|
|
30770
|
+
var style$1w = cB("input-group-label", `
|
|
30771
30771
|
position: relative;
|
|
30772
30772
|
user-select: none;
|
|
30773
30773
|
-webkit-user-select: none;
|
|
@@ -30815,7 +30815,7 @@ var _UInputGroupLabel = defineComponent({
|
|
|
30815
30815
|
const themeRef = useTheme(
|
|
30816
30816
|
"Input",
|
|
30817
30817
|
"-input-group-label",
|
|
30818
|
-
style$
|
|
30818
|
+
style$1w,
|
|
30819
30819
|
inputLight,
|
|
30820
30820
|
props,
|
|
30821
30821
|
mergedClsPrefixRef
|
|
@@ -30941,7 +30941,7 @@ function createValOptMap(options, valueField, childrenField) {
|
|
|
30941
30941
|
return valOptMap;
|
|
30942
30942
|
}
|
|
30943
30943
|
|
|
30944
|
-
function self$
|
|
30944
|
+
function self$1m(vars) {
|
|
30945
30945
|
const {
|
|
30946
30946
|
shadowDepth2
|
|
30947
30947
|
} = vars;
|
|
@@ -30956,7 +30956,7 @@ const autoCompleteLight = createTheme$1({
|
|
|
30956
30956
|
InternalSelectMenu: internalSelectMenuLight,
|
|
30957
30957
|
Input: inputLight
|
|
30958
30958
|
},
|
|
30959
|
-
self: self$
|
|
30959
|
+
self: self$1m
|
|
30960
30960
|
});
|
|
30961
30961
|
|
|
30962
30962
|
const autoCompleteDark = {
|
|
@@ -30966,10 +30966,10 @@ const autoCompleteDark = {
|
|
|
30966
30966
|
InternalSelectMenu: internalSelectMenuDark,
|
|
30967
30967
|
Input: inputDark
|
|
30968
30968
|
},
|
|
30969
|
-
self: self$
|
|
30969
|
+
self: self$1m
|
|
30970
30970
|
};
|
|
30971
30971
|
|
|
30972
|
-
var style$
|
|
30972
|
+
var style$1v = c$1([cB("auto-complete", `
|
|
30973
30973
|
z-index: auto;
|
|
30974
30974
|
position: relative;
|
|
30975
30975
|
display: inline-flex;
|
|
@@ -31099,7 +31099,7 @@ var _UAutoComplete = defineComponent({
|
|
|
31099
31099
|
const themeRef = useTheme(
|
|
31100
31100
|
"AutoComplete",
|
|
31101
31101
|
"-auto-complete",
|
|
31102
|
-
style$
|
|
31102
|
+
style$1v,
|
|
31103
31103
|
autoCompleteLight,
|
|
31104
31104
|
props,
|
|
31105
31105
|
mergedClsPrefixRef
|
|
@@ -31496,7 +31496,7 @@ const observeIntersection = (el, options, shouldStartLoadingRef) => {
|
|
|
31496
31496
|
return unobserve;
|
|
31497
31497
|
};
|
|
31498
31498
|
|
|
31499
|
-
function self$
|
|
31499
|
+
function self$1l(vars) {
|
|
31500
31500
|
const {
|
|
31501
31501
|
heightSmall,
|
|
31502
31502
|
heightMedium,
|
|
@@ -31517,16 +31517,16 @@ function self$1k(vars) {
|
|
|
31517
31517
|
const skeletonLight = {
|
|
31518
31518
|
name: "Skeleton",
|
|
31519
31519
|
common: derived,
|
|
31520
|
-
self: self$
|
|
31520
|
+
self: self$1l
|
|
31521
31521
|
};
|
|
31522
31522
|
|
|
31523
31523
|
const skeletonDark = {
|
|
31524
31524
|
name: "Skeleton",
|
|
31525
31525
|
common: derived$1,
|
|
31526
|
-
self: self$
|
|
31526
|
+
self: self$1l
|
|
31527
31527
|
};
|
|
31528
31528
|
|
|
31529
|
-
var style$
|
|
31529
|
+
var style$1u = c$1([cB("skeleton", `
|
|
31530
31530
|
height: 1em;
|
|
31531
31531
|
width: 100%;
|
|
31532
31532
|
transition: background-color .3s var(--u-bezier);
|
|
@@ -31585,7 +31585,7 @@ var _USkeleton = defineComponent({
|
|
|
31585
31585
|
const themeRef = useTheme(
|
|
31586
31586
|
"Skeleton",
|
|
31587
31587
|
"-skeleton",
|
|
31588
|
-
style$
|
|
31588
|
+
style$1u,
|
|
31589
31589
|
skeletonLight,
|
|
31590
31590
|
props,
|
|
31591
31591
|
mergedClsPrefixRef
|
|
@@ -31640,7 +31640,7 @@ var _USkeleton = defineComponent({
|
|
|
31640
31640
|
}
|
|
31641
31641
|
});
|
|
31642
31642
|
|
|
31643
|
-
function self$
|
|
31643
|
+
function self$1k(vars) {
|
|
31644
31644
|
const {
|
|
31645
31645
|
borderRadius,
|
|
31646
31646
|
heightSmall,
|
|
@@ -31672,18 +31672,18 @@ function self$1j(vars) {
|
|
|
31672
31672
|
const avatarLight = {
|
|
31673
31673
|
name: "Avatar",
|
|
31674
31674
|
common: derived,
|
|
31675
|
-
self: self$
|
|
31675
|
+
self: self$1k
|
|
31676
31676
|
};
|
|
31677
31677
|
|
|
31678
31678
|
const avatarDark = {
|
|
31679
31679
|
name: "Avatar",
|
|
31680
31680
|
common: derived$1,
|
|
31681
|
-
self: self$
|
|
31681
|
+
self: self$1k
|
|
31682
31682
|
};
|
|
31683
31683
|
|
|
31684
31684
|
const avatarGroupInjectionKey = createInjectionKey("u-avatar-group");
|
|
31685
31685
|
|
|
31686
|
-
var style$
|
|
31686
|
+
var style$1t = cB("avatar", `
|
|
31687
31687
|
width: var(--u-merged-size);
|
|
31688
31688
|
height: var(--u-merged-size);
|
|
31689
31689
|
color: var(--u-text-color);
|
|
@@ -31795,7 +31795,7 @@ var _UAvatar = defineComponent({
|
|
|
31795
31795
|
const themeRef = useTheme(
|
|
31796
31796
|
"Avatar",
|
|
31797
31797
|
"-avatar",
|
|
31798
|
-
style$
|
|
31798
|
+
style$1t,
|
|
31799
31799
|
avatarLight,
|
|
31800
31800
|
props,
|
|
31801
31801
|
mergedClsPrefixRef
|
|
@@ -32006,7 +32006,7 @@ var _UAvatar = defineComponent({
|
|
|
32006
32006
|
}
|
|
32007
32007
|
});
|
|
32008
32008
|
|
|
32009
|
-
function self$
|
|
32009
|
+
function self$1j() {
|
|
32010
32010
|
return {
|
|
32011
32011
|
gap: "-12px"
|
|
32012
32012
|
};
|
|
@@ -32017,7 +32017,7 @@ const avatarGroupLight = createTheme$1({
|
|
|
32017
32017
|
peers: {
|
|
32018
32018
|
Avatar: avatarLight
|
|
32019
32019
|
},
|
|
32020
|
-
self: self$
|
|
32020
|
+
self: self$1j
|
|
32021
32021
|
});
|
|
32022
32022
|
|
|
32023
32023
|
const avatarGroupDark = {
|
|
@@ -32026,7 +32026,7 @@ const avatarGroupDark = {
|
|
|
32026
32026
|
peers: {
|
|
32027
32027
|
Avatar: avatarDark
|
|
32028
32028
|
},
|
|
32029
|
-
self: self$
|
|
32029
|
+
self: self$1j
|
|
32030
32030
|
};
|
|
32031
32031
|
|
|
32032
32032
|
var rtlStyle$n = cB("avatar-group", [cM("rtl", `
|
|
@@ -32043,7 +32043,7 @@ const avatarGroupRtl = {
|
|
|
32043
32043
|
style: rtlStyle$n
|
|
32044
32044
|
};
|
|
32045
32045
|
|
|
32046
|
-
var style$
|
|
32046
|
+
var style$1s = cB("avatar-group", `
|
|
32047
32047
|
flex-wrap: nowrap;
|
|
32048
32048
|
display: inline-flex;
|
|
32049
32049
|
position: relative;
|
|
@@ -32078,7 +32078,7 @@ var _UAvatarGroup = defineComponent({
|
|
|
32078
32078
|
const mergedThemeRef = useTheme(
|
|
32079
32079
|
"AvatarGroup",
|
|
32080
32080
|
"-avatar-group",
|
|
32081
|
-
style$
|
|
32081
|
+
style$1s,
|
|
32082
32082
|
avatarGroupLight,
|
|
32083
32083
|
props,
|
|
32084
32084
|
mergedClsPrefixRef
|
|
@@ -32167,7 +32167,7 @@ var _UAvatarGroup = defineComponent({
|
|
|
32167
32167
|
}
|
|
32168
32168
|
});
|
|
32169
32169
|
|
|
32170
|
-
function self$
|
|
32170
|
+
function self$1i(vars) {
|
|
32171
32171
|
const {
|
|
32172
32172
|
heightLarge,
|
|
32173
32173
|
iconMedium,
|
|
@@ -32192,13 +32192,13 @@ function self$1h(vars) {
|
|
|
32192
32192
|
const backTopLight = {
|
|
32193
32193
|
name: "BackTop",
|
|
32194
32194
|
common: derived,
|
|
32195
|
-
self: self$
|
|
32195
|
+
self: self$1i
|
|
32196
32196
|
};
|
|
32197
32197
|
|
|
32198
32198
|
const backTopDark = {
|
|
32199
32199
|
name: "BackTop",
|
|
32200
32200
|
common: derived$1,
|
|
32201
|
-
self: self$
|
|
32201
|
+
self: self$1i
|
|
32202
32202
|
};
|
|
32203
32203
|
|
|
32204
32204
|
var BackTopIcon = /* @__PURE__ */ h(
|
|
@@ -32212,7 +32212,7 @@ var BackTopIcon = /* @__PURE__ */ h(
|
|
|
32212
32212
|
/* @__PURE__ */ h("g", { stroke: "none", "stroke-width": "1", "fill-rule": "evenodd" }, /* @__PURE__ */ h("g", { transform: "translate(-139.000000, -4423.000000)", "fill-rule": "nonzero" }, /* @__PURE__ */ h("g", { transform: "translate(120.000000, 4285.000000)" }, /* @__PURE__ */ h("g", { transform: "translate(7.000000, 126.000000)" }, /* @__PURE__ */ h("g", { transform: "translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)" }, /* @__PURE__ */ h("g", { transform: "translate(4.000000, 2.000000)" }, /* @__PURE__ */ h("path", { d: "M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z" }), /* @__PURE__ */ h("path", { d: "M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z" })))))))
|
|
32213
32213
|
);
|
|
32214
32214
|
|
|
32215
|
-
var style$
|
|
32215
|
+
var style$1r = cB("back-top", `
|
|
32216
32216
|
position: fixed;
|
|
32217
32217
|
right: 40px;
|
|
32218
32218
|
bottom: 40px;
|
|
@@ -32351,7 +32351,7 @@ var _UBackTop = defineComponent({
|
|
|
32351
32351
|
const themeRef = useTheme(
|
|
32352
32352
|
"BackTop",
|
|
32353
32353
|
"-back-top",
|
|
32354
|
-
style$
|
|
32354
|
+
style$1r,
|
|
32355
32355
|
backTopLight,
|
|
32356
32356
|
props,
|
|
32357
32357
|
mergedClsPrefixRef
|
|
@@ -32502,7 +32502,7 @@ var _UBackTop = defineComponent({
|
|
|
32502
32502
|
}
|
|
32503
32503
|
});
|
|
32504
32504
|
|
|
32505
|
-
function self$
|
|
32505
|
+
function self$1h(vars) {
|
|
32506
32506
|
const {
|
|
32507
32507
|
brandQuaternary500,
|
|
32508
32508
|
elementsPrimary,
|
|
@@ -32535,13 +32535,13 @@ function self$1g(vars) {
|
|
|
32535
32535
|
const badgeLight = {
|
|
32536
32536
|
name: "Badge",
|
|
32537
32537
|
common: derived,
|
|
32538
|
-
self: self$
|
|
32538
|
+
self: self$1h
|
|
32539
32539
|
};
|
|
32540
32540
|
|
|
32541
32541
|
const badgeDark = {
|
|
32542
32542
|
name: "Badge",
|
|
32543
32543
|
common: derived$1,
|
|
32544
|
-
self: self$
|
|
32544
|
+
self: self$1h
|
|
32545
32545
|
};
|
|
32546
32546
|
|
|
32547
32547
|
var rtlStyle$m = cB("badge", [cM("rtl", `
|
|
@@ -32558,7 +32558,7 @@ const badgeRtl = {
|
|
|
32558
32558
|
style: rtlStyle$m
|
|
32559
32559
|
};
|
|
32560
32560
|
|
|
32561
|
-
var style$
|
|
32561
|
+
var style$1q = c$1([c$1("@keyframes badge-wave-spread", {
|
|
32562
32562
|
from: {
|
|
32563
32563
|
boxShadow: "0 0 0.5px 0px var(--u-ripple-color)",
|
|
32564
32564
|
opacity: 0.6
|
|
@@ -32672,7 +32672,7 @@ var _UBadge = defineComponent({
|
|
|
32672
32672
|
const themeRef = useTheme(
|
|
32673
32673
|
"Badge",
|
|
32674
32674
|
"-badge",
|
|
32675
|
-
style$
|
|
32675
|
+
style$1q,
|
|
32676
32676
|
badgeLight,
|
|
32677
32677
|
props,
|
|
32678
32678
|
mergedClsPrefixRef
|
|
@@ -32808,7 +32808,7 @@ var _UBadge = defineComponent({
|
|
|
32808
32808
|
}
|
|
32809
32809
|
});
|
|
32810
32810
|
|
|
32811
|
-
function self$
|
|
32811
|
+
function self$1g(vars) {
|
|
32812
32812
|
const {
|
|
32813
32813
|
fontWeightStrong,
|
|
32814
32814
|
fontBodyMedium,
|
|
@@ -32831,16 +32831,16 @@ function self$1f(vars) {
|
|
|
32831
32831
|
const breadcrumbLight = {
|
|
32832
32832
|
name: "Breadcrumb",
|
|
32833
32833
|
common: derived,
|
|
32834
|
-
self: self$
|
|
32834
|
+
self: self$1g
|
|
32835
32835
|
};
|
|
32836
32836
|
|
|
32837
32837
|
const breadcrumbDark = {
|
|
32838
32838
|
name: "Breadcrumb",
|
|
32839
32839
|
common: derived$1,
|
|
32840
|
-
self: self$
|
|
32840
|
+
self: self$1g
|
|
32841
32841
|
};
|
|
32842
32842
|
|
|
32843
|
-
var style$
|
|
32843
|
+
var style$1p = cB("breadcrumb", `
|
|
32844
32844
|
white-space: nowrap;
|
|
32845
32845
|
cursor: default;
|
|
32846
32846
|
line-height: var(--u-item-line-height);
|
|
@@ -32910,7 +32910,7 @@ var _UBreadcrumb = defineComponent({
|
|
|
32910
32910
|
const themeRef = useTheme(
|
|
32911
32911
|
"Breadcrumb",
|
|
32912
32912
|
"-breadcrumb",
|
|
32913
|
-
style$
|
|
32913
|
+
style$1p,
|
|
32914
32914
|
breadcrumbLight,
|
|
32915
32915
|
props,
|
|
32916
32916
|
mergedClsPrefixRef
|
|
@@ -33095,7 +33095,7 @@ function createTopBorderStyle(type) {
|
|
|
33095
33095
|
top: n1
|
|
33096
33096
|
})])])])]);
|
|
33097
33097
|
}
|
|
33098
|
-
var style$
|
|
33098
|
+
var style$1o = cB("button-group", `
|
|
33099
33099
|
flex-wrap: nowrap;
|
|
33100
33100
|
display: inline-flex;
|
|
33101
33101
|
position: relative;
|
|
@@ -33144,7 +33144,7 @@ var _UButtonGroup = defineComponent({
|
|
|
33144
33144
|
props: buttonGroupProps,
|
|
33145
33145
|
setup(props) {
|
|
33146
33146
|
const { mergedClsPrefixRef, mergedRtlRef } = useConfig(props);
|
|
33147
|
-
useStyle("-button-group", style$
|
|
33147
|
+
useStyle("-button-group", style$1o, mergedClsPrefixRef);
|
|
33148
33148
|
provide(buttonGroupInjectionKey, props);
|
|
33149
33149
|
const rtlEnabledRef = useRtl(
|
|
33150
33150
|
"ButtonGroup",
|
|
@@ -39088,7 +39088,7 @@ function getMsByDateCommonItem(item) {
|
|
|
39088
39088
|
return resultDate.getTime();
|
|
39089
39089
|
}
|
|
39090
39090
|
|
|
39091
|
-
function self$
|
|
39091
|
+
function self$1f(vars) {
|
|
39092
39092
|
const {
|
|
39093
39093
|
borderRadius,
|
|
39094
39094
|
fontWeightStrong,
|
|
@@ -39132,7 +39132,7 @@ const calendarLight = createTheme$1({
|
|
|
39132
39132
|
peers: {
|
|
39133
39133
|
Button: buttonLight
|
|
39134
39134
|
},
|
|
39135
|
-
self: self$
|
|
39135
|
+
self: self$1f
|
|
39136
39136
|
});
|
|
39137
39137
|
|
|
39138
39138
|
const calendarDark = {
|
|
@@ -39141,10 +39141,10 @@ const calendarDark = {
|
|
|
39141
39141
|
peers: {
|
|
39142
39142
|
Button: buttonDark
|
|
39143
39143
|
},
|
|
39144
|
-
self: self$
|
|
39144
|
+
self: self$1f
|
|
39145
39145
|
};
|
|
39146
39146
|
|
|
39147
|
-
var style$
|
|
39147
|
+
var style$1n = c$1([cB("calendar", `
|
|
39148
39148
|
line-height: var(--u-line-height);
|
|
39149
39149
|
font-size: var(--u-font-size);
|
|
39150
39150
|
color: var(--u-text-color);
|
|
@@ -39283,7 +39283,7 @@ var _UCalendar = defineComponent({
|
|
|
39283
39283
|
const themeRef = useTheme(
|
|
39284
39284
|
"Calendar",
|
|
39285
39285
|
"-calendar",
|
|
39286
|
-
style$
|
|
39286
|
+
style$1n,
|
|
39287
39287
|
calendarLight,
|
|
39288
39288
|
props,
|
|
39289
39289
|
mergedClsPrefixRef
|
|
@@ -39571,7 +39571,7 @@ var commonVariables$3 = {
|
|
|
39571
39571
|
paddingHuge: "27px 40px 28px"
|
|
39572
39572
|
};
|
|
39573
39573
|
|
|
39574
|
-
function self$
|
|
39574
|
+
function self$1e(vars) {
|
|
39575
39575
|
const {
|
|
39576
39576
|
borderRadius,
|
|
39577
39577
|
fontWeight,
|
|
@@ -39637,13 +39637,13 @@ function self$1d(vars) {
|
|
|
39637
39637
|
const cardLight = {
|
|
39638
39638
|
name: "Card",
|
|
39639
39639
|
common: derived,
|
|
39640
|
-
self: self$
|
|
39640
|
+
self: self$1e
|
|
39641
39641
|
};
|
|
39642
39642
|
|
|
39643
39643
|
const cardDark$1 = {
|
|
39644
39644
|
name: "Card",
|
|
39645
39645
|
common: derived$1,
|
|
39646
|
-
self: self$
|
|
39646
|
+
self: self$1e
|
|
39647
39647
|
};
|
|
39648
39648
|
|
|
39649
39649
|
var rtlStyle$l = cB("card", [cM("rtl", `
|
|
@@ -39666,7 +39666,7 @@ const contentBaseStyle = cB("card-content", `
|
|
|
39666
39666
|
`, [c$1("&:first-child", {
|
|
39667
39667
|
paddingTop: "var(--u-padding-bottom)"
|
|
39668
39668
|
})]);
|
|
39669
|
-
var style$
|
|
39669
|
+
var style$1m = c$1([cB("card", `
|
|
39670
39670
|
font-size: var(--u-font-size);
|
|
39671
39671
|
line-height: var(--u-line-height);
|
|
39672
39672
|
font-weight: var(--u-font-weight);
|
|
@@ -39849,7 +39849,7 @@ var _UCard = defineComponent({
|
|
|
39849
39849
|
const themeRef = useTheme(
|
|
39850
39850
|
"Card",
|
|
39851
39851
|
"-card",
|
|
39852
|
-
style$
|
|
39852
|
+
style$1m,
|
|
39853
39853
|
cardLight,
|
|
39854
39854
|
props,
|
|
39855
39855
|
mergedClsPrefixRef
|
|
@@ -40432,7 +40432,7 @@ var UGi$1 = defineComponent({
|
|
|
40432
40432
|
}
|
|
40433
40433
|
});
|
|
40434
40434
|
|
|
40435
|
-
function self$
|
|
40435
|
+
function self$1d(vars) {
|
|
40436
40436
|
const {
|
|
40437
40437
|
textSecondary,
|
|
40438
40438
|
textPrimary,
|
|
@@ -40467,10 +40467,10 @@ function self$1c(vars) {
|
|
|
40467
40467
|
const cardListLight = {
|
|
40468
40468
|
name: "CardList",
|
|
40469
40469
|
common: derived,
|
|
40470
|
-
self: self$
|
|
40470
|
+
self: self$1d
|
|
40471
40471
|
};
|
|
40472
40472
|
|
|
40473
|
-
var style$
|
|
40473
|
+
var style$1l = cB("card-list-item", [c$1("&", {
|
|
40474
40474
|
padding: "16px",
|
|
40475
40475
|
borderRadius: "var(--u-border-radius)",
|
|
40476
40476
|
display: "flex",
|
|
@@ -40591,7 +40591,7 @@ var UCardListItem = defineComponent({
|
|
|
40591
40591
|
props: cardListItemProps,
|
|
40592
40592
|
setup(props, { slots }) {
|
|
40593
40593
|
const { mergedClsPrefixRef } = useConfig(props);
|
|
40594
|
-
useStyle("-card-list-item", style$
|
|
40594
|
+
useStyle("-card-list-item", style$1l, mergedClsPrefixRef);
|
|
40595
40595
|
const isOpen = ref(false);
|
|
40596
40596
|
const toggle = () => {
|
|
40597
40597
|
isOpen.value = !isOpen.value;
|
|
@@ -40722,7 +40722,7 @@ var _UCardList = defineComponent({
|
|
|
40722
40722
|
const themeRef = useTheme(
|
|
40723
40723
|
"CardList",
|
|
40724
40724
|
"-card-list",
|
|
40725
|
-
style$
|
|
40725
|
+
style$1l,
|
|
40726
40726
|
cardListLight,
|
|
40727
40727
|
props,
|
|
40728
40728
|
mergedClsPrefixRef
|
|
@@ -40819,7 +40819,7 @@ var _UCardList = defineComponent({
|
|
|
40819
40819
|
}
|
|
40820
40820
|
});
|
|
40821
40821
|
|
|
40822
|
-
function self$
|
|
40822
|
+
function self$1c() {
|
|
40823
40823
|
return {
|
|
40824
40824
|
dotSize: "8px",
|
|
40825
40825
|
dotColor: "rgba(255, 255, 255, .3)",
|
|
@@ -40833,13 +40833,13 @@ function self$1b() {
|
|
|
40833
40833
|
const carouselLight = {
|
|
40834
40834
|
name: "Carousel",
|
|
40835
40835
|
common: derived,
|
|
40836
|
-
self: self$
|
|
40836
|
+
self: self$1c
|
|
40837
40837
|
};
|
|
40838
40838
|
|
|
40839
40839
|
const carouselDark = {
|
|
40840
40840
|
name: "Carousel",
|
|
40841
40841
|
common: derived$1,
|
|
40842
|
-
self: self$
|
|
40842
|
+
self: self$1c
|
|
40843
40843
|
};
|
|
40844
40844
|
|
|
40845
40845
|
const carouselMethodsInjectionKey = createInjectionKey("u-carousel-methods");
|
|
@@ -41123,7 +41123,7 @@ var _UCarouselItem = defineComponent({
|
|
|
41123
41123
|
}
|
|
41124
41124
|
});
|
|
41125
41125
|
|
|
41126
|
-
var style$
|
|
41126
|
+
var style$1k = cB("carousel", `
|
|
41127
41127
|
position: relative;
|
|
41128
41128
|
width: 100%;
|
|
41129
41129
|
height: 100%;
|
|
@@ -42125,7 +42125,7 @@ var _UCarousel = defineComponent({
|
|
|
42125
42125
|
const themeRef = useTheme(
|
|
42126
42126
|
"Carousel",
|
|
42127
42127
|
"-carousel",
|
|
42128
|
-
style$
|
|
42128
|
+
style$1k,
|
|
42129
42129
|
carouselLight,
|
|
42130
42130
|
props,
|
|
42131
42131
|
mergedClsPrefixRef
|
|
@@ -42285,7 +42285,7 @@ var commonVariables$2 = {
|
|
|
42285
42285
|
labelPadding: "0 16px"
|
|
42286
42286
|
};
|
|
42287
42287
|
|
|
42288
|
-
function self$
|
|
42288
|
+
function self$1b(vars) {
|
|
42289
42289
|
const {
|
|
42290
42290
|
lineHeightBodyLarge,
|
|
42291
42291
|
fontBodyLarge,
|
|
@@ -42361,13 +42361,13 @@ function self$1a(vars) {
|
|
|
42361
42361
|
const checkboxLight = {
|
|
42362
42362
|
name: "Checkbox",
|
|
42363
42363
|
common: derived,
|
|
42364
|
-
self: self$
|
|
42364
|
+
self: self$1b
|
|
42365
42365
|
};
|
|
42366
42366
|
|
|
42367
42367
|
const checkboxDark = {
|
|
42368
42368
|
name: "Checkbox",
|
|
42369
42369
|
common: derived$1,
|
|
42370
|
-
self: self$
|
|
42370
|
+
self: self$1b
|
|
42371
42371
|
};
|
|
42372
42372
|
|
|
42373
42373
|
var rtlStyle$k = cB("checkbox", [cM("rtl", `
|
|
@@ -42379,7 +42379,7 @@ const checkboxRtl = {
|
|
|
42379
42379
|
style: rtlStyle$k
|
|
42380
42380
|
};
|
|
42381
42381
|
|
|
42382
|
-
function self$
|
|
42382
|
+
function self$1a(vars) {
|
|
42383
42383
|
const {
|
|
42384
42384
|
borderRadius,
|
|
42385
42385
|
heightMedium,
|
|
@@ -42420,7 +42420,7 @@ const cascaderLight = createTheme$1({
|
|
|
42420
42420
|
Checkbox: checkboxLight,
|
|
42421
42421
|
Empty: emptyLight
|
|
42422
42422
|
},
|
|
42423
|
-
self: self$
|
|
42423
|
+
self: self$1a
|
|
42424
42424
|
});
|
|
42425
42425
|
|
|
42426
42426
|
const cascaderDark = {
|
|
@@ -42433,14 +42433,14 @@ const cascaderDark = {
|
|
|
42433
42433
|
Checkbox: checkboxDark,
|
|
42434
42434
|
Empty: emptyLight
|
|
42435
42435
|
},
|
|
42436
|
-
self: self$
|
|
42436
|
+
self: self$1a
|
|
42437
42437
|
};
|
|
42438
42438
|
|
|
42439
42439
|
var CheckMark = /* @__PURE__ */ h("svg", { width: "20", height: "20", viewBox: "0 0 20 20", class: "check-icon" }, /* @__PURE__ */ h("path", { d: "M7.95833 14.6458C7.84722 14.6458 7.74306 14.6283 7.64583 14.5933C7.54861 14.5589 7.45833 14.5 7.375 14.4166L3.79167 10.8333C3.63889 10.6805 3.56583 10.4825 3.5725 10.2391C3.57972 9.99637 3.65972 9.79859 3.8125 9.64581C3.96528 9.49304 4.15972 9.41665 4.39583 9.41665C4.63195 9.41665 4.82639 9.49304 4.97917 9.64581L7.95833 12.625L15.0208 5.56248C15.1736 5.4097 15.3717 5.33331 15.615 5.33331C15.8578 5.33331 16.0556 5.4097 16.2083 5.56248C16.3611 5.71526 16.4375 5.91304 16.4375 6.15581C16.4375 6.39915 16.3611 6.5972 16.2083 6.74998L8.54167 14.4166C8.45833 14.5 8.36806 14.5589 8.27083 14.5933C8.17361 14.6283 8.06945 14.6458 7.95833 14.6458Z" }));
|
|
42440
42440
|
|
|
42441
42441
|
var LineMark = /* @__PURE__ */ h("svg", { width: "22", height: "24", viewBox: "0 0 22 24", class: "line-icon" }, /* @__PURE__ */ h("path", { d: "M5.49998 13C5.24026 13 5.0224 12.904 4.8464 12.712C4.67101 12.5207 4.58331 12.2833 4.58331 12C4.58331 11.7167 4.67101 11.479 4.8464 11.287C5.0224 11.0957 5.24026 11 5.49998 11H16.5C16.7597 11 16.9773 11.0957 17.1526 11.287C17.3286 11.479 17.4166 11.7167 17.4166 12C17.4166 12.2833 17.3286 12.5207 17.1526 12.712C16.9773 12.904 16.7597 13 16.5 13H5.49998Z" }));
|
|
42442
42442
|
|
|
42443
|
-
var style$
|
|
42443
|
+
var style$1j = c$1([iconSwitchTransition(), c$1("@keyframes ripple", {
|
|
42444
42444
|
from: {
|
|
42445
42445
|
transform: "scale(0)"
|
|
42446
42446
|
},
|
|
@@ -42654,7 +42654,7 @@ var _UCheckbox = defineComponent({
|
|
|
42654
42654
|
const themeRef = useTheme(
|
|
42655
42655
|
"Checkbox",
|
|
42656
42656
|
"-checkbox",
|
|
42657
|
-
style$
|
|
42657
|
+
style$1j,
|
|
42658
42658
|
checkboxLight,
|
|
42659
42659
|
props,
|
|
42660
42660
|
mergedClsPrefixRef
|
|
@@ -43728,7 +43728,7 @@ var CascaderSelectMenu = defineComponent({
|
|
|
43728
43728
|
}
|
|
43729
43729
|
});
|
|
43730
43730
|
|
|
43731
|
-
var style$
|
|
43731
|
+
var style$1i = c$1([cB("cascader-menu", `
|
|
43732
43732
|
outline: none;
|
|
43733
43733
|
position: relative;
|
|
43734
43734
|
margin: 4px 0;
|
|
@@ -43970,7 +43970,7 @@ var _UCascader = defineComponent({
|
|
|
43970
43970
|
const themeRef = useTheme(
|
|
43971
43971
|
"Cascader",
|
|
43972
43972
|
"-cascader",
|
|
43973
|
-
style$
|
|
43973
|
+
style$1i,
|
|
43974
43974
|
cascaderLight,
|
|
43975
43975
|
props,
|
|
43976
43976
|
mergedClsPrefixRef
|
|
@@ -44902,12 +44902,12 @@ const flexDark = {
|
|
|
44902
44902
|
}
|
|
44903
44903
|
};
|
|
44904
44904
|
|
|
44905
|
-
function self$
|
|
44905
|
+
function self$19() {
|
|
44906
44906
|
return commonVars$7;
|
|
44907
44907
|
}
|
|
44908
44908
|
const flexLight = {
|
|
44909
44909
|
name: "Flex",
|
|
44910
|
-
self: self$
|
|
44910
|
+
self: self$19
|
|
44911
44911
|
};
|
|
44912
44912
|
|
|
44913
44913
|
cB("space", [cM("rtl", `
|
|
@@ -45025,7 +45025,7 @@ var _UFlex = defineComponent({
|
|
|
45025
45025
|
}
|
|
45026
45026
|
});
|
|
45027
45027
|
|
|
45028
|
-
function self$
|
|
45028
|
+
function self$18(vars) {
|
|
45029
45029
|
const {
|
|
45030
45030
|
borderRadius,
|
|
45031
45031
|
borderRadiusMedium,
|
|
@@ -45069,13 +45069,13 @@ function self$17(vars) {
|
|
|
45069
45069
|
const listLight = {
|
|
45070
45070
|
name: "List",
|
|
45071
45071
|
common: derived,
|
|
45072
|
-
self: self$
|
|
45072
|
+
self: self$18
|
|
45073
45073
|
};
|
|
45074
45074
|
|
|
45075
45075
|
const listDark$1 = {
|
|
45076
45076
|
name: "List",
|
|
45077
45077
|
common: derived$1,
|
|
45078
|
-
self: self$
|
|
45078
|
+
self: self$18
|
|
45079
45079
|
};
|
|
45080
45080
|
|
|
45081
45081
|
var rtlStyle$j = cB("list", [cM("rtl", `
|
|
@@ -45094,7 +45094,7 @@ const listRtl = {
|
|
|
45094
45094
|
style: rtlStyle$j
|
|
45095
45095
|
};
|
|
45096
45096
|
|
|
45097
|
-
function self$
|
|
45097
|
+
function self$17(vars) {
|
|
45098
45098
|
const {
|
|
45099
45099
|
shadowDepth2
|
|
45100
45100
|
} = vars;
|
|
@@ -45109,7 +45109,7 @@ const selectLight = createTheme$1({
|
|
|
45109
45109
|
InternalSelection: internalSelectionLight,
|
|
45110
45110
|
InternalSelectMenu: internalSelectMenuLight
|
|
45111
45111
|
},
|
|
45112
|
-
self: self$
|
|
45112
|
+
self: self$17
|
|
45113
45113
|
});
|
|
45114
45114
|
|
|
45115
45115
|
const selectDark = {
|
|
@@ -45119,13 +45119,13 @@ const selectDark = {
|
|
|
45119
45119
|
InternalSelection: internalSelectionDark,
|
|
45120
45120
|
InternalSelectMenu: internalSelectMenuDark
|
|
45121
45121
|
},
|
|
45122
|
-
self: self$
|
|
45122
|
+
self: self$17
|
|
45123
45123
|
};
|
|
45124
45124
|
|
|
45125
45125
|
({
|
|
45126
45126
|
style: c$1([])});
|
|
45127
45127
|
|
|
45128
|
-
function self$
|
|
45128
|
+
function self$16(vars) {
|
|
45129
45129
|
const {
|
|
45130
45130
|
borderRadiusSmall,
|
|
45131
45131
|
fontWeightStrong,
|
|
@@ -45220,19 +45220,19 @@ function self$15(vars) {
|
|
|
45220
45220
|
const typographyLight = {
|
|
45221
45221
|
name: "Typography",
|
|
45222
45222
|
common: derived,
|
|
45223
|
-
self: self$
|
|
45223
|
+
self: self$16
|
|
45224
45224
|
};
|
|
45225
45225
|
|
|
45226
45226
|
const typographyDark = {
|
|
45227
45227
|
name: "Typography",
|
|
45228
45228
|
common: derived$1,
|
|
45229
|
-
self: self$
|
|
45229
|
+
self: self$16
|
|
45230
45230
|
};
|
|
45231
45231
|
|
|
45232
45232
|
const chatInputLight = {
|
|
45233
45233
|
...inputLight,
|
|
45234
45234
|
self(vars) {
|
|
45235
|
-
const originalInputSelf = self$
|
|
45235
|
+
const originalInputSelf = self$1p(vars);
|
|
45236
45236
|
const {
|
|
45237
45237
|
elementsTertiary
|
|
45238
45238
|
} = vars;
|
|
@@ -45252,7 +45252,7 @@ const chatInputLight = {
|
|
|
45252
45252
|
const chatBadgeLight = {
|
|
45253
45253
|
...badgeLight,
|
|
45254
45254
|
self(vars) {
|
|
45255
|
-
const originalBadgeSelf = self$
|
|
45255
|
+
const originalBadgeSelf = self$1h(vars);
|
|
45256
45256
|
const {
|
|
45257
45257
|
brandPrimary400,
|
|
45258
45258
|
elementsSecondary
|
|
@@ -45264,7 +45264,7 @@ const chatBadgeLight = {
|
|
|
45264
45264
|
};
|
|
45265
45265
|
}
|
|
45266
45266
|
};
|
|
45267
|
-
function self$
|
|
45267
|
+
function self$15(vars) {
|
|
45268
45268
|
const {
|
|
45269
45269
|
borderRadiusLarge,
|
|
45270
45270
|
elementsQuaternary,
|
|
@@ -45337,7 +45337,7 @@ const chatLight = createTheme$1({
|
|
|
45337
45337
|
HeaderShareIcon: iconLight,
|
|
45338
45338
|
HeaderProfileIcon: iconLight
|
|
45339
45339
|
},
|
|
45340
|
-
self: self$
|
|
45340
|
+
self: self$15
|
|
45341
45341
|
});
|
|
45342
45342
|
|
|
45343
45343
|
const chatDark = createTheme$1({
|
|
@@ -45359,7 +45359,7 @@ const chatDark = createTheme$1({
|
|
|
45359
45359
|
HeaderProfileIcon: iconDark$1
|
|
45360
45360
|
},
|
|
45361
45361
|
self: vars => {
|
|
45362
|
-
const lightVars = self$
|
|
45362
|
+
const lightVars = self$15(vars);
|
|
45363
45363
|
return {
|
|
45364
45364
|
...lightVars
|
|
45365
45365
|
};
|
|
@@ -45467,7 +45467,7 @@ const listProps = {
|
|
|
45467
45467
|
};
|
|
45468
45468
|
const listInjectionKey = createInjectionKey("u-list");
|
|
45469
45469
|
|
|
45470
|
-
var style$
|
|
45470
|
+
var style$1h = c$1([cB("align-start", `
|
|
45471
45471
|
align-self: self-start;
|
|
45472
45472
|
`), cB("align-center", `
|
|
45473
45473
|
align-self: center;
|
|
@@ -45600,7 +45600,7 @@ var _UList = defineComponent({
|
|
|
45600
45600
|
const themeRef = useTheme(
|
|
45601
45601
|
"List",
|
|
45602
45602
|
"-list",
|
|
45603
|
-
style$
|
|
45603
|
+
style$1h,
|
|
45604
45604
|
listLight,
|
|
45605
45605
|
props,
|
|
45606
45606
|
mergedClsPrefixRef
|
|
@@ -46082,7 +46082,7 @@ const SafeTopScrollbar = defineComponent({
|
|
|
46082
46082
|
}
|
|
46083
46083
|
});
|
|
46084
46084
|
|
|
46085
|
-
var style$
|
|
46085
|
+
var style$1g = cB("a", `
|
|
46086
46086
|
cursor: pointer;
|
|
46087
46087
|
transition:
|
|
46088
46088
|
color .3s var(--u-bezier),
|
|
@@ -46105,7 +46105,7 @@ var a = defineComponent({
|
|
|
46105
46105
|
const themeRef = useTheme(
|
|
46106
46106
|
"Typography",
|
|
46107
46107
|
"-a",
|
|
46108
|
-
style$
|
|
46108
|
+
style$1g,
|
|
46109
46109
|
typographyLight,
|
|
46110
46110
|
props,
|
|
46111
46111
|
mergedClsPrefixRef
|
|
@@ -46141,7 +46141,7 @@ var a = defineComponent({
|
|
|
46141
46141
|
}
|
|
46142
46142
|
});
|
|
46143
46143
|
|
|
46144
|
-
var style$
|
|
46144
|
+
var style$1f = cB("blockquote", `
|
|
46145
46145
|
font-size: var(--u-font-size);
|
|
46146
46146
|
line-height: var(--u-line-height);
|
|
46147
46147
|
margin: 0;
|
|
@@ -46180,7 +46180,7 @@ var _UBlockquote = defineComponent({
|
|
|
46180
46180
|
const themeRef = useTheme(
|
|
46181
46181
|
"Typography",
|
|
46182
46182
|
"-blockquote",
|
|
46183
|
-
style$
|
|
46183
|
+
style$1f,
|
|
46184
46184
|
typographyLight,
|
|
46185
46185
|
props,
|
|
46186
46186
|
mergedClsPrefixRef
|
|
@@ -46229,7 +46229,7 @@ var _UBlockquote = defineComponent({
|
|
|
46229
46229
|
}
|
|
46230
46230
|
});
|
|
46231
46231
|
|
|
46232
|
-
var style$
|
|
46232
|
+
var style$1e = cB("h", `
|
|
46233
46233
|
font-size: var(--u-font-size);
|
|
46234
46234
|
font-weight: var(--u-font-weight);
|
|
46235
46235
|
margin: var(--u-margin);
|
|
@@ -46274,7 +46274,7 @@ var createHeader = level => defineComponent({
|
|
|
46274
46274
|
mergedClsPrefixRef,
|
|
46275
46275
|
inlineThemeDisabled
|
|
46276
46276
|
} = useConfig(props);
|
|
46277
|
-
const themeRef = useTheme("Typography", "-h", style$
|
|
46277
|
+
const themeRef = useTheme("Typography", "-h", style$1e, typographyLight, props, mergedClsPrefixRef);
|
|
46278
46278
|
const cssVarsRef = computed(() => {
|
|
46279
46279
|
const {
|
|
46280
46280
|
type
|
|
@@ -46338,7 +46338,7 @@ const UH4$1 = createHeader("4");
|
|
|
46338
46338
|
const UH5$1 = createHeader("5");
|
|
46339
46339
|
const UH6$1 = createHeader("6");
|
|
46340
46340
|
|
|
46341
|
-
var style$
|
|
46341
|
+
var style$1d = cB("hr", `
|
|
46342
46342
|
margin: 12px 0;
|
|
46343
46343
|
transition: border-color .3s var(--u-bezier);
|
|
46344
46344
|
border-left: none;
|
|
@@ -46363,7 +46363,7 @@ var _UHr = defineComponent({
|
|
|
46363
46363
|
const themeRef = useTheme(
|
|
46364
46364
|
"Typography",
|
|
46365
46365
|
"-hr",
|
|
46366
|
-
style$
|
|
46366
|
+
style$1d,
|
|
46367
46367
|
typographyLight,
|
|
46368
46368
|
props,
|
|
46369
46369
|
mergedClsPrefixRef
|
|
@@ -46417,7 +46417,7 @@ const childStyle = [c$1("&:first-child", `
|
|
|
46417
46417
|
`), c$1("&:last-child", `
|
|
46418
46418
|
margin-bottom: 0;
|
|
46419
46419
|
`)];
|
|
46420
|
-
var style$
|
|
46420
|
+
var style$1c = c$1([cB("ol", {
|
|
46421
46421
|
fontSize: "var(--u-font-size)",
|
|
46422
46422
|
padding: "var(--u-ol-padding)"
|
|
46423
46423
|
}, [cM("align-text", {
|
|
@@ -46441,7 +46441,7 @@ var _UOl = defineComponent({
|
|
|
46441
46441
|
const themeRef = useTheme(
|
|
46442
46442
|
"Typography",
|
|
46443
46443
|
"-xl",
|
|
46444
|
-
style$
|
|
46444
|
+
style$1c,
|
|
46445
46445
|
typographyLight,
|
|
46446
46446
|
props,
|
|
46447
46447
|
mergedClsPrefixRef
|
|
@@ -46494,7 +46494,7 @@ var _UOl = defineComponent({
|
|
|
46494
46494
|
}
|
|
46495
46495
|
});
|
|
46496
46496
|
|
|
46497
|
-
var style$
|
|
46497
|
+
var style$1b = cB("p", `
|
|
46498
46498
|
box-sizing: border-box;
|
|
46499
46499
|
transition: color .3s var(--u-bezier);
|
|
46500
46500
|
margin: var(--u-margin);
|
|
@@ -46515,7 +46515,7 @@ var p = defineComponent({
|
|
|
46515
46515
|
const themeRef = useTheme(
|
|
46516
46516
|
"Typography",
|
|
46517
46517
|
"-p",
|
|
46518
|
-
style$
|
|
46518
|
+
style$1b,
|
|
46519
46519
|
typographyLight,
|
|
46520
46520
|
props,
|
|
46521
46521
|
mergedClsPrefixRef
|
|
@@ -46655,7 +46655,7 @@ var _UUl = defineComponent({
|
|
|
46655
46655
|
const themeRef = useTheme(
|
|
46656
46656
|
"Typography",
|
|
46657
46657
|
"-xl",
|
|
46658
|
-
style$
|
|
46658
|
+
style$1c,
|
|
46659
46659
|
typographyLight,
|
|
46660
46660
|
props,
|
|
46661
46661
|
mergedClsPrefixRef
|
|
@@ -46708,7 +46708,7 @@ var _UUl = defineComponent({
|
|
|
46708
46708
|
}
|
|
46709
46709
|
});
|
|
46710
46710
|
|
|
46711
|
-
function self$
|
|
46711
|
+
function self$14(vars) {
|
|
46712
46712
|
const {
|
|
46713
46713
|
fontWeight,
|
|
46714
46714
|
fontBodyMedium,
|
|
@@ -46749,16 +46749,16 @@ function self$13(vars) {
|
|
|
46749
46749
|
const progressLight = {
|
|
46750
46750
|
name: "Progress",
|
|
46751
46751
|
common: derived,
|
|
46752
|
-
self: self$
|
|
46752
|
+
self: self$14
|
|
46753
46753
|
};
|
|
46754
46754
|
|
|
46755
46755
|
const progressDark = {
|
|
46756
46756
|
name: "Progress",
|
|
46757
46757
|
common: derived$1,
|
|
46758
|
-
self: self$
|
|
46758
|
+
self: self$14
|
|
46759
46759
|
};
|
|
46760
46760
|
|
|
46761
|
-
function self$
|
|
46761
|
+
function self$13(vars) {
|
|
46762
46762
|
const {
|
|
46763
46763
|
staticGreen,
|
|
46764
46764
|
staticRed,
|
|
@@ -46815,7 +46815,7 @@ const uploadLight = createTheme$1({
|
|
|
46815
46815
|
Button: buttonLight,
|
|
46816
46816
|
Progress: progressLight
|
|
46817
46817
|
},
|
|
46818
|
-
self: self$
|
|
46818
|
+
self: self$13
|
|
46819
46819
|
});
|
|
46820
46820
|
|
|
46821
46821
|
const uploadDark = {
|
|
@@ -46825,7 +46825,7 @@ const uploadDark = {
|
|
|
46825
46825
|
Button: buttonDark,
|
|
46826
46826
|
Progress: progressDark
|
|
46827
46827
|
},
|
|
46828
|
-
self: self$
|
|
46828
|
+
self: self$13
|
|
46829
46829
|
};
|
|
46830
46830
|
|
|
46831
46831
|
var rtlStyle$i = cB("upload", [cM("rtl", `
|
|
@@ -46840,7 +46840,7 @@ const uploadRtl = {
|
|
|
46840
46840
|
|
|
46841
46841
|
const uploadInjectionKey = createInjectionKey("u-upload");
|
|
46842
46842
|
|
|
46843
|
-
var style$
|
|
46843
|
+
var style$1a = c$1([cB("upload", "width: var(--u-upload-width)", [cM("dragger-inside", [cB("upload-trigger", `
|
|
46844
46844
|
display: block;
|
|
46845
46845
|
`)]), cM("drag-over", [cB("upload-dragger", `
|
|
46846
46846
|
border: var(--u-dragger-border-hover);
|
|
@@ -47301,10 +47301,10 @@ const buttonGroupRtl = {
|
|
|
47301
47301
|
const cardDark = {
|
|
47302
47302
|
name: "CardList",
|
|
47303
47303
|
common: derived$1,
|
|
47304
|
-
self: self$
|
|
47304
|
+
self: self$1d
|
|
47305
47305
|
};
|
|
47306
47306
|
|
|
47307
|
-
function self$
|
|
47307
|
+
function self$12(vars) {
|
|
47308
47308
|
const {
|
|
47309
47309
|
textPrimary,
|
|
47310
47310
|
fontBodyMedium,
|
|
@@ -47332,12 +47332,12 @@ function self$11(vars) {
|
|
|
47332
47332
|
const codeLight = {
|
|
47333
47333
|
name: "Code",
|
|
47334
47334
|
common: derived,
|
|
47335
|
-
self: self$
|
|
47335
|
+
self: self$12
|
|
47336
47336
|
};
|
|
47337
47337
|
|
|
47338
|
-
function self$
|
|
47338
|
+
function self$11(vars) {
|
|
47339
47339
|
return {
|
|
47340
|
-
...self$
|
|
47340
|
+
...self$12(vars),
|
|
47341
47341
|
// extracted from hljs atom-one-dark.scss
|
|
47342
47342
|
"mono-3": "#5c6370",
|
|
47343
47343
|
"hue-1": "#56b6c2",
|
|
@@ -47353,10 +47353,10 @@ function self$10(vars) {
|
|
|
47353
47353
|
const codeDark = {
|
|
47354
47354
|
name: "Code",
|
|
47355
47355
|
common: derived$1,
|
|
47356
|
-
self: self$
|
|
47356
|
+
self: self$11
|
|
47357
47357
|
};
|
|
47358
47358
|
|
|
47359
|
-
function self
|
|
47359
|
+
function self$10(vars) {
|
|
47360
47360
|
const {
|
|
47361
47361
|
cubicBezierEaseInOut
|
|
47362
47362
|
} = vars;
|
|
@@ -47367,13 +47367,13 @@ function self$$(vars) {
|
|
|
47367
47367
|
const collapseTransitionLight = {
|
|
47368
47368
|
name: "CollapseTransition",
|
|
47369
47369
|
common: derived,
|
|
47370
|
-
self: self
|
|
47370
|
+
self: self$10
|
|
47371
47371
|
};
|
|
47372
47372
|
|
|
47373
47373
|
const collapseTransitionDark = {
|
|
47374
47374
|
name: "CollapseTransition",
|
|
47375
47375
|
common: derived$1,
|
|
47376
|
-
self: self
|
|
47376
|
+
self: self$10
|
|
47377
47377
|
};
|
|
47378
47378
|
|
|
47379
47379
|
var rtlStyle$g = cB("collapse-transition", [cM("rtl", `
|
|
@@ -47386,7 +47386,7 @@ const collapseTransitionRtl = {
|
|
|
47386
47386
|
style: rtlStyle$g
|
|
47387
47387
|
};
|
|
47388
47388
|
|
|
47389
|
-
function self
|
|
47389
|
+
function self$$(vars) {
|
|
47390
47390
|
const {
|
|
47391
47391
|
fontWeight,
|
|
47392
47392
|
fontBodyLarge,
|
|
@@ -47426,13 +47426,13 @@ function self$_(vars) {
|
|
|
47426
47426
|
const collapseLight = {
|
|
47427
47427
|
name: "Collapse",
|
|
47428
47428
|
common: derived,
|
|
47429
|
-
self: self
|
|
47429
|
+
self: self$$
|
|
47430
47430
|
};
|
|
47431
47431
|
|
|
47432
47432
|
const collapseDark = {
|
|
47433
47433
|
name: "Collapse",
|
|
47434
47434
|
common: derived$1,
|
|
47435
|
-
self: self
|
|
47435
|
+
self: self$$
|
|
47436
47436
|
};
|
|
47437
47437
|
|
|
47438
47438
|
var rtlStyle$f = cB("collapse", [cM("rtl", `
|
|
@@ -47455,7 +47455,7 @@ const collapseRtl = {
|
|
|
47455
47455
|
style: rtlStyle$f
|
|
47456
47456
|
};
|
|
47457
47457
|
|
|
47458
|
-
function self$
|
|
47458
|
+
function self$_(vars) {
|
|
47459
47459
|
const {
|
|
47460
47460
|
borderRadius,
|
|
47461
47461
|
fontBodySmall,
|
|
@@ -47542,7 +47542,7 @@ const dropdownLight = createTheme$1({
|
|
|
47542
47542
|
peers: {
|
|
47543
47543
|
Popover: popoverLight
|
|
47544
47544
|
},
|
|
47545
|
-
self: self$
|
|
47545
|
+
self: self$_
|
|
47546
47546
|
});
|
|
47547
47547
|
|
|
47548
47548
|
const dropdownDark = {
|
|
@@ -47551,7 +47551,7 @@ const dropdownDark = {
|
|
|
47551
47551
|
peers: {
|
|
47552
47552
|
Popover: popoverDark
|
|
47553
47553
|
},
|
|
47554
|
-
self: self$
|
|
47554
|
+
self: self$_
|
|
47555
47555
|
};
|
|
47556
47556
|
|
|
47557
47557
|
const popselect = {
|
|
@@ -47563,7 +47563,7 @@ const popselect = {
|
|
|
47563
47563
|
}
|
|
47564
47564
|
};
|
|
47565
47565
|
|
|
47566
|
-
function self$
|
|
47566
|
+
function self$Z(vars) {
|
|
47567
47567
|
const {
|
|
47568
47568
|
shadowDepth2
|
|
47569
47569
|
} = vars;
|
|
@@ -47578,10 +47578,10 @@ const popselectLight = createTheme$1({
|
|
|
47578
47578
|
Popover: popoverLight,
|
|
47579
47579
|
InternalSelectMenu: internalSelectMenuLight
|
|
47580
47580
|
},
|
|
47581
|
-
self: self$
|
|
47581
|
+
self: self$Z
|
|
47582
47582
|
});
|
|
47583
47583
|
|
|
47584
|
-
function self$
|
|
47584
|
+
function self$Y(vars) {
|
|
47585
47585
|
const {
|
|
47586
47586
|
brandPrimary100,
|
|
47587
47587
|
transparencySecondary,
|
|
@@ -47679,7 +47679,7 @@ const paginationLight = createTheme$1({
|
|
|
47679
47679
|
Input: inputLight,
|
|
47680
47680
|
Popselect: popselectLight
|
|
47681
47681
|
},
|
|
47682
|
-
self: self$
|
|
47682
|
+
self: self$Y
|
|
47683
47683
|
});
|
|
47684
47684
|
|
|
47685
47685
|
const paginationDark = {
|
|
@@ -47690,7 +47690,7 @@ const paginationDark = {
|
|
|
47690
47690
|
Input: inputDark,
|
|
47691
47691
|
Popselect: popselect
|
|
47692
47692
|
},
|
|
47693
|
-
self: self$
|
|
47693
|
+
self: self$Y
|
|
47694
47694
|
};
|
|
47695
47695
|
|
|
47696
47696
|
var rtlStyle$e = cB("pagination", [cM("rtl", `
|
|
@@ -47707,7 +47707,7 @@ const paginationRtl = {
|
|
|
47707
47707
|
peers: [inputRtl]
|
|
47708
47708
|
};
|
|
47709
47709
|
|
|
47710
|
-
function self$
|
|
47710
|
+
function self$X(vars) {
|
|
47711
47711
|
const {
|
|
47712
47712
|
heightTiny,
|
|
47713
47713
|
heightSmall,
|
|
@@ -47799,13 +47799,13 @@ function self$W(vars) {
|
|
|
47799
47799
|
const radioLight = {
|
|
47800
47800
|
name: "Radio",
|
|
47801
47801
|
common: derived,
|
|
47802
|
-
self: self$
|
|
47802
|
+
self: self$X
|
|
47803
47803
|
};
|
|
47804
47804
|
|
|
47805
47805
|
const radioDark = {
|
|
47806
47806
|
name: "Radio",
|
|
47807
47807
|
common: derived$1,
|
|
47808
|
-
self: self$
|
|
47808
|
+
self: self$X
|
|
47809
47809
|
};
|
|
47810
47810
|
|
|
47811
47811
|
var rtlStyle$d = c$1([cB("radio", [cM("rtl", `
|
|
@@ -47833,7 +47833,7 @@ const radioRtl = {
|
|
|
47833
47833
|
style: rtlStyle$d
|
|
47834
47834
|
};
|
|
47835
47835
|
|
|
47836
|
-
function self$
|
|
47836
|
+
function self$W(vars) {
|
|
47837
47837
|
const {
|
|
47838
47838
|
borderRadius,
|
|
47839
47839
|
opacityDisabled,
|
|
@@ -47934,7 +47934,7 @@ const dataTableLight = createTheme$1({
|
|
|
47934
47934
|
Ellipsis: ellipsisLight,
|
|
47935
47935
|
Dropdown: dropdownLight
|
|
47936
47936
|
},
|
|
47937
|
-
self: self$
|
|
47937
|
+
self: self$W
|
|
47938
47938
|
});
|
|
47939
47939
|
|
|
47940
47940
|
const dataTableDark = {
|
|
@@ -47951,10 +47951,10 @@ const dataTableDark = {
|
|
|
47951
47951
|
Ellipsis: ellipsisDark,
|
|
47952
47952
|
Dropdown: dropdownDark
|
|
47953
47953
|
},
|
|
47954
|
-
self: self$
|
|
47954
|
+
self: self$W
|
|
47955
47955
|
};
|
|
47956
47956
|
|
|
47957
|
-
function self$
|
|
47957
|
+
function self$V(vars) {
|
|
47958
47958
|
const {
|
|
47959
47959
|
opacityDisabled,
|
|
47960
47960
|
borderRadius,
|
|
@@ -47996,7 +47996,7 @@ const timePickerLight = createTheme$1({
|
|
|
47996
47996
|
Button: buttonLight,
|
|
47997
47997
|
Input: inputLight
|
|
47998
47998
|
},
|
|
47999
|
-
self: self$
|
|
47999
|
+
self: self$V
|
|
48000
48000
|
});
|
|
48001
48001
|
|
|
48002
48002
|
const timePickerDark = {
|
|
@@ -48007,7 +48007,7 @@ const timePickerDark = {
|
|
|
48007
48007
|
Button: buttonDark,
|
|
48008
48008
|
Input: inputDark
|
|
48009
48009
|
},
|
|
48010
|
-
self: self$
|
|
48010
|
+
self: self$V
|
|
48011
48011
|
};
|
|
48012
48012
|
|
|
48013
48013
|
const itemWidth = "38px";
|
|
@@ -48053,7 +48053,7 @@ var commonVars$6 = {
|
|
|
48053
48053
|
calendarRightPaddingYearrange: "0"
|
|
48054
48054
|
};
|
|
48055
48055
|
|
|
48056
|
-
function self$
|
|
48056
|
+
function self$U(vars) {
|
|
48057
48057
|
const {
|
|
48058
48058
|
iconMedium,
|
|
48059
48059
|
fontWeightStrong,
|
|
@@ -48154,7 +48154,7 @@ const datePickerLight = createTheme$1({
|
|
|
48154
48154
|
Scrollbar: scrollbarLight,
|
|
48155
48155
|
Select: internalSelectionLight
|
|
48156
48156
|
},
|
|
48157
|
-
self: self$
|
|
48157
|
+
self: self$U
|
|
48158
48158
|
});
|
|
48159
48159
|
|
|
48160
48160
|
const datePickerDark = {
|
|
@@ -48167,10 +48167,10 @@ const datePickerDark = {
|
|
|
48167
48167
|
Scrollbar: scrollbarDark,
|
|
48168
48168
|
Select: internalSelectionDark
|
|
48169
48169
|
},
|
|
48170
|
-
self: self$
|
|
48170
|
+
self: self$U
|
|
48171
48171
|
};
|
|
48172
48172
|
|
|
48173
|
-
function self$
|
|
48173
|
+
function self$T(vars) {
|
|
48174
48174
|
const {
|
|
48175
48175
|
borderRadius,
|
|
48176
48176
|
lineHeightBodyLarge,
|
|
@@ -48220,13 +48220,13 @@ function self$S(vars) {
|
|
|
48220
48220
|
const descriptionsLight = {
|
|
48221
48221
|
name: "Descriptions",
|
|
48222
48222
|
common: derived,
|
|
48223
|
-
self: self$
|
|
48223
|
+
self: self$T
|
|
48224
48224
|
};
|
|
48225
48225
|
|
|
48226
48226
|
const descriptionsDark = {
|
|
48227
48227
|
name: "Descriptions",
|
|
48228
48228
|
common: derived$1,
|
|
48229
|
-
self: self$
|
|
48229
|
+
self: self$T
|
|
48230
48230
|
};
|
|
48231
48231
|
|
|
48232
48232
|
var commonVars$5 = {
|
|
@@ -48240,7 +48240,7 @@ var commonVars$5 = {
|
|
|
48240
48240
|
closeBorderRadius: "100px"
|
|
48241
48241
|
};
|
|
48242
48242
|
|
|
48243
|
-
function self$
|
|
48243
|
+
function self$S(vars) {
|
|
48244
48244
|
const {
|
|
48245
48245
|
borderRadius,
|
|
48246
48246
|
containerPrimary,
|
|
@@ -48297,7 +48297,7 @@ const dialogLight = createTheme$1({
|
|
|
48297
48297
|
peers: {
|
|
48298
48298
|
Button: buttonLight
|
|
48299
48299
|
},
|
|
48300
|
-
self: self$
|
|
48300
|
+
self: self$S
|
|
48301
48301
|
});
|
|
48302
48302
|
|
|
48303
48303
|
const dialogDark = {
|
|
@@ -48306,10 +48306,10 @@ const dialogDark = {
|
|
|
48306
48306
|
peers: {
|
|
48307
48307
|
Button: buttonDark
|
|
48308
48308
|
},
|
|
48309
|
-
self: self$
|
|
48309
|
+
self: self$S
|
|
48310
48310
|
};
|
|
48311
48311
|
|
|
48312
|
-
function self$
|
|
48312
|
+
function self$R(vars) {
|
|
48313
48313
|
const {
|
|
48314
48314
|
elementsQuaternary,
|
|
48315
48315
|
textPrimary,
|
|
@@ -48329,13 +48329,13 @@ function self$Q(vars) {
|
|
|
48329
48329
|
const dividerLight = {
|
|
48330
48330
|
name: "Divider",
|
|
48331
48331
|
common: derived,
|
|
48332
|
-
self: self$
|
|
48332
|
+
self: self$R
|
|
48333
48333
|
};
|
|
48334
48334
|
|
|
48335
48335
|
const dividerDark = {
|
|
48336
48336
|
name: "Divider",
|
|
48337
48337
|
common: derived$1,
|
|
48338
|
-
self: self$
|
|
48338
|
+
self: self$R
|
|
48339
48339
|
};
|
|
48340
48340
|
|
|
48341
48341
|
var commonVars$4 = {
|
|
@@ -48351,7 +48351,7 @@ var commonVars$4 = {
|
|
|
48351
48351
|
contentBorderRadius: "24px"
|
|
48352
48352
|
};
|
|
48353
48353
|
|
|
48354
|
-
function self$
|
|
48354
|
+
function self$Q(vars) {
|
|
48355
48355
|
const {
|
|
48356
48356
|
containerPrimary,
|
|
48357
48357
|
textPrimary,
|
|
@@ -48400,7 +48400,7 @@ const drawerLight = createTheme$1({
|
|
|
48400
48400
|
peers: {
|
|
48401
48401
|
Scrollbar: scrollbarLight
|
|
48402
48402
|
},
|
|
48403
|
-
self: self$
|
|
48403
|
+
self: self$Q
|
|
48404
48404
|
});
|
|
48405
48405
|
|
|
48406
48406
|
const drawerDark = {
|
|
@@ -48409,7 +48409,7 @@ const drawerDark = {
|
|
|
48409
48409
|
peers: {
|
|
48410
48410
|
Scrollbar: scrollbarDark
|
|
48411
48411
|
},
|
|
48412
|
-
self: self$
|
|
48412
|
+
self: self$Q
|
|
48413
48413
|
};
|
|
48414
48414
|
|
|
48415
48415
|
var rtlStyle$c = cB("drawer", [cM("rtl", `
|
|
@@ -48443,7 +48443,7 @@ const dynamicInputDark = {
|
|
|
48443
48443
|
}
|
|
48444
48444
|
};
|
|
48445
48445
|
|
|
48446
|
-
function self$
|
|
48446
|
+
function self$P() {
|
|
48447
48447
|
return commonVariables$1;
|
|
48448
48448
|
}
|
|
48449
48449
|
const dynamicInputLight = createTheme$1({
|
|
@@ -48453,7 +48453,7 @@ const dynamicInputLight = createTheme$1({
|
|
|
48453
48453
|
Input: inputLight,
|
|
48454
48454
|
Button: buttonLight
|
|
48455
48455
|
},
|
|
48456
|
-
self: self$
|
|
48456
|
+
self: self$P
|
|
48457
48457
|
});
|
|
48458
48458
|
|
|
48459
48459
|
var rtlStyle$b = cB("input-number", [cM("rtl", `
|
|
@@ -48494,12 +48494,12 @@ const spaceDark = {
|
|
|
48494
48494
|
}
|
|
48495
48495
|
};
|
|
48496
48496
|
|
|
48497
|
-
function self$
|
|
48497
|
+
function self$O() {
|
|
48498
48498
|
return commonVars$3;
|
|
48499
48499
|
}
|
|
48500
48500
|
const spaceLight = {
|
|
48501
48501
|
name: "Space",
|
|
48502
|
-
self: self$
|
|
48502
|
+
self: self$O
|
|
48503
48503
|
};
|
|
48504
48504
|
|
|
48505
48505
|
var rtlStyle$9 = cB("space", [cM("rtl", `
|
|
@@ -48571,7 +48571,7 @@ const floatButtonGroupDark = {
|
|
|
48571
48571
|
}
|
|
48572
48572
|
};
|
|
48573
48573
|
|
|
48574
|
-
function self$
|
|
48574
|
+
function self$N(vars) {
|
|
48575
48575
|
const {
|
|
48576
48576
|
containerPrimary,
|
|
48577
48577
|
elementsQuaternary,
|
|
@@ -48587,7 +48587,7 @@ function self$M(vars) {
|
|
|
48587
48587
|
const themeLight$4 = {
|
|
48588
48588
|
name: "FloatButtonGroup",
|
|
48589
48589
|
common: derived,
|
|
48590
|
-
self: self$
|
|
48590
|
+
self: self$N
|
|
48591
48591
|
};
|
|
48592
48592
|
|
|
48593
48593
|
const floatButtonDark = {
|
|
@@ -48622,7 +48622,7 @@ const floatButtonDark = {
|
|
|
48622
48622
|
}
|
|
48623
48623
|
};
|
|
48624
48624
|
|
|
48625
|
-
function self$
|
|
48625
|
+
function self$M(vars) {
|
|
48626
48626
|
const {
|
|
48627
48627
|
containerPrimary,
|
|
48628
48628
|
textPrimary,
|
|
@@ -48651,10 +48651,10 @@ function self$L(vars) {
|
|
|
48651
48651
|
const themeLight$3 = {
|
|
48652
48652
|
name: "FloatButton",
|
|
48653
48653
|
common: derived,
|
|
48654
|
-
self: self$
|
|
48654
|
+
self: self$M
|
|
48655
48655
|
};
|
|
48656
48656
|
|
|
48657
|
-
function self$
|
|
48657
|
+
function self$L(vars) {
|
|
48658
48658
|
const {
|
|
48659
48659
|
heightSmall,
|
|
48660
48660
|
heightMedium,
|
|
@@ -48709,16 +48709,16 @@ function self$K(vars) {
|
|
|
48709
48709
|
const formLight = {
|
|
48710
48710
|
name: "Form",
|
|
48711
48711
|
common: derived,
|
|
48712
|
-
self: self$
|
|
48712
|
+
self: self$L
|
|
48713
48713
|
};
|
|
48714
48714
|
|
|
48715
48715
|
const formItemDark = {
|
|
48716
48716
|
name: "Form",
|
|
48717
48717
|
common: derived$1,
|
|
48718
|
-
self: self$
|
|
48718
|
+
self: self$L
|
|
48719
48719
|
};
|
|
48720
48720
|
|
|
48721
|
-
function self$
|
|
48721
|
+
function self$K(vars) {
|
|
48722
48722
|
const {
|
|
48723
48723
|
brandPrimary500,
|
|
48724
48724
|
staticGreen,
|
|
@@ -48755,16 +48755,16 @@ function self$J(vars) {
|
|
|
48755
48755
|
const gradientTextLight = {
|
|
48756
48756
|
name: "GradientText",
|
|
48757
48757
|
common: derived,
|
|
48758
|
-
self: self$
|
|
48758
|
+
self: self$K
|
|
48759
48759
|
};
|
|
48760
48760
|
|
|
48761
48761
|
const gradientTextDark = {
|
|
48762
48762
|
name: "GradientText",
|
|
48763
48763
|
common: derived$1,
|
|
48764
|
-
self: self$
|
|
48764
|
+
self: self$K
|
|
48765
48765
|
};
|
|
48766
48766
|
|
|
48767
|
-
function self$
|
|
48767
|
+
function self$J(vars) {
|
|
48768
48768
|
const {
|
|
48769
48769
|
textSecondary
|
|
48770
48770
|
} = vars;
|
|
@@ -48779,7 +48779,7 @@ const inputNumberLight = createTheme$1({
|
|
|
48779
48779
|
Button: buttonLight,
|
|
48780
48780
|
Input: inputLight
|
|
48781
48781
|
},
|
|
48782
|
-
self: self$
|
|
48782
|
+
self: self$J
|
|
48783
48783
|
});
|
|
48784
48784
|
|
|
48785
48785
|
const inputNumberDark = {
|
|
@@ -48789,10 +48789,10 @@ const inputNumberDark = {
|
|
|
48789
48789
|
Button: buttonDark,
|
|
48790
48790
|
Input: inputDark
|
|
48791
48791
|
},
|
|
48792
|
-
self: self$
|
|
48792
|
+
self: self$J
|
|
48793
48793
|
};
|
|
48794
48794
|
|
|
48795
|
-
function self$
|
|
48795
|
+
function self$I() {
|
|
48796
48796
|
return {
|
|
48797
48797
|
inputWidthSmall: "44px",
|
|
48798
48798
|
inputWidthMedium: "50px",
|
|
@@ -48808,7 +48808,7 @@ const inputOtpLight = createTheme$1({
|
|
|
48808
48808
|
peers: {
|
|
48809
48809
|
Input: inputLight
|
|
48810
48810
|
},
|
|
48811
|
-
self: self$
|
|
48811
|
+
self: self$I
|
|
48812
48812
|
});
|
|
48813
48813
|
|
|
48814
48814
|
const inputOtpDark = {
|
|
@@ -48817,7 +48817,7 @@ const inputOtpDark = {
|
|
|
48817
48817
|
peers: {
|
|
48818
48818
|
Input: inputDark
|
|
48819
48819
|
},
|
|
48820
|
-
self: self$
|
|
48820
|
+
self: self$I
|
|
48821
48821
|
};
|
|
48822
48822
|
|
|
48823
48823
|
var rtlStyle$8 = cB("input-otp", [cM("rtl", `
|
|
@@ -48829,7 +48829,7 @@ const inputOtpRtl = {
|
|
|
48829
48829
|
style: rtlStyle$8
|
|
48830
48830
|
};
|
|
48831
48831
|
|
|
48832
|
-
function self$
|
|
48832
|
+
function self$H(vars) {
|
|
48833
48833
|
const {
|
|
48834
48834
|
textPrimary,
|
|
48835
48835
|
textQuaternary,
|
|
@@ -48875,7 +48875,7 @@ const layoutLight = createTheme$1({
|
|
|
48875
48875
|
peers: {
|
|
48876
48876
|
Scrollbar: scrollbarLight
|
|
48877
48877
|
},
|
|
48878
|
-
self: self$
|
|
48878
|
+
self: self$H
|
|
48879
48879
|
});
|
|
48880
48880
|
|
|
48881
48881
|
const layoutDark = {
|
|
@@ -48884,7 +48884,7 @@ const layoutDark = {
|
|
|
48884
48884
|
peers: {
|
|
48885
48885
|
Scrollbar: scrollbarDark
|
|
48886
48886
|
},
|
|
48887
|
-
self: self$
|
|
48887
|
+
self: self$H
|
|
48888
48888
|
};
|
|
48889
48889
|
|
|
48890
48890
|
const rowDark = {
|
|
@@ -48921,7 +48921,7 @@ const rowRtl = {
|
|
|
48921
48921
|
style: rtlStyle$7
|
|
48922
48922
|
};
|
|
48923
48923
|
|
|
48924
|
-
function self$
|
|
48924
|
+
function self$G(vars) {
|
|
48925
48925
|
const {
|
|
48926
48926
|
brandPrimary500,
|
|
48927
48927
|
staticRed
|
|
@@ -48935,16 +48935,16 @@ function self$F(vars) {
|
|
|
48935
48935
|
const loadingBarLight = {
|
|
48936
48936
|
name: "LoadingBar",
|
|
48937
48937
|
common: derived,
|
|
48938
|
-
self: self$
|
|
48938
|
+
self: self$G
|
|
48939
48939
|
};
|
|
48940
48940
|
|
|
48941
48941
|
const loadingBarDark = {
|
|
48942
48942
|
name: "LoadingBar",
|
|
48943
48943
|
common: derived$1,
|
|
48944
|
-
self: self$
|
|
48944
|
+
self: self$G
|
|
48945
48945
|
};
|
|
48946
48946
|
|
|
48947
|
-
function self$
|
|
48947
|
+
function self$F(vars) {
|
|
48948
48948
|
const {
|
|
48949
48949
|
fontBodyMedium,
|
|
48950
48950
|
textPrimary,
|
|
@@ -48967,7 +48967,7 @@ const logLight = createTheme$1({
|
|
|
48967
48967
|
Scrollbar: scrollbarLight,
|
|
48968
48968
|
Code: codeLight
|
|
48969
48969
|
},
|
|
48970
|
-
self: self$
|
|
48970
|
+
self: self$F
|
|
48971
48971
|
});
|
|
48972
48972
|
|
|
48973
48973
|
const logDark = {
|
|
@@ -48977,25 +48977,25 @@ const logDark = {
|
|
|
48977
48977
|
Scrollbar: scrollbarDark,
|
|
48978
48978
|
Code: codeDark
|
|
48979
48979
|
},
|
|
48980
|
-
self: self$
|
|
48980
|
+
self: self$F
|
|
48981
48981
|
};
|
|
48982
48982
|
|
|
48983
|
-
function self$
|
|
48983
|
+
function self$E() {
|
|
48984
48984
|
return {};
|
|
48985
48985
|
}
|
|
48986
48986
|
const marqueeLight = {
|
|
48987
48987
|
name: "Marquee",
|
|
48988
48988
|
common: derived,
|
|
48989
|
-
self: self$
|
|
48989
|
+
self: self$E
|
|
48990
48990
|
};
|
|
48991
48991
|
|
|
48992
48992
|
const marqueeDark = {
|
|
48993
48993
|
name: "Marquee",
|
|
48994
48994
|
common: derived$1,
|
|
48995
|
-
self: self$
|
|
48995
|
+
self: self$E
|
|
48996
48996
|
};
|
|
48997
48997
|
|
|
48998
|
-
function self$
|
|
48998
|
+
function self$D(vars) {
|
|
48999
48999
|
const {
|
|
49000
49000
|
shadowDepth2
|
|
49001
49001
|
} = vars;
|
|
@@ -49010,7 +49010,7 @@ const mentionLight = createTheme$1({
|
|
|
49010
49010
|
InternalSelectMenu: internalSelectMenuLight,
|
|
49011
49011
|
Input: inputLight
|
|
49012
49012
|
},
|
|
49013
|
-
self: self$
|
|
49013
|
+
self: self$D
|
|
49014
49014
|
});
|
|
49015
49015
|
|
|
49016
49016
|
const listDark = {
|
|
@@ -49020,7 +49020,7 @@ const listDark = {
|
|
|
49020
49020
|
InternalSelectMenu: internalSelectMenuDark,
|
|
49021
49021
|
Input: inputDark
|
|
49022
49022
|
},
|
|
49023
|
-
self: self$
|
|
49023
|
+
self: self$D
|
|
49024
49024
|
};
|
|
49025
49025
|
|
|
49026
49026
|
function createPartialInvertedVars(color, activeItemColor, activeTextColor, groupTextColor) {
|
|
@@ -49063,7 +49063,7 @@ function createPartialInvertedVars(color, activeItemColor, activeTextColor, grou
|
|
|
49063
49063
|
groupTextColorInverted: groupTextColor
|
|
49064
49064
|
};
|
|
49065
49065
|
}
|
|
49066
|
-
function self$
|
|
49066
|
+
function self$C(vars) {
|
|
49067
49067
|
const {
|
|
49068
49068
|
textSecondary,
|
|
49069
49069
|
borderRadiusSmall,
|
|
@@ -49131,7 +49131,7 @@ const menuLight = createTheme$1({
|
|
|
49131
49131
|
Tooltip: tooltipLight,
|
|
49132
49132
|
Dropdown: dropdownLight
|
|
49133
49133
|
},
|
|
49134
|
-
self: self$
|
|
49134
|
+
self: self$C
|
|
49135
49135
|
});
|
|
49136
49136
|
|
|
49137
49137
|
const menuDark = {
|
|
@@ -49141,9 +49141,61 @@ const menuDark = {
|
|
|
49141
49141
|
Tooltip: tooltipDark,
|
|
49142
49142
|
Dropdown: dropdownDark
|
|
49143
49143
|
},
|
|
49144
|
-
self: self$
|
|
49144
|
+
self: self$C
|
|
49145
49145
|
};
|
|
49146
49146
|
|
|
49147
|
+
function self$B(vars) {
|
|
49148
|
+
const {
|
|
49149
|
+
borderRadiusLarge,
|
|
49150
|
+
elementsSecondary,
|
|
49151
|
+
elementsTertiary,
|
|
49152
|
+
textPrimary,
|
|
49153
|
+
textSecondary,
|
|
49154
|
+
textTertiary,
|
|
49155
|
+
brandPrimary400,
|
|
49156
|
+
staticGreen,
|
|
49157
|
+
staticRed,
|
|
49158
|
+
staticWhite
|
|
49159
|
+
} = vars;
|
|
49160
|
+
return {
|
|
49161
|
+
messageBubbleBackgroundColorOwn: elementsTertiary,
|
|
49162
|
+
messageBubbleBackgroundColorOther: elementsTertiary,
|
|
49163
|
+
messageBubbleTextColorOwn: textPrimary,
|
|
49164
|
+
messageBubbleTextColorOther: textPrimary,
|
|
49165
|
+
messageTimeColor: textTertiary,
|
|
49166
|
+
messageStatusReadColor: brandPrimary400,
|
|
49167
|
+
messageStatusSuccessColor: staticGreen,
|
|
49168
|
+
attachmentBackgroundColorOwn: staticWhite,
|
|
49169
|
+
attachmentBackgroundColorOther: staticWhite,
|
|
49170
|
+
messageErrorColor: staticRed,
|
|
49171
|
+
messageBorderRadius: borderRadiusLarge,
|
|
49172
|
+
unreadNotificationBackgroundColor: brandPrimary400,
|
|
49173
|
+
unreadNotificationTextColor: elementsSecondary,
|
|
49174
|
+
serviceMessageTextColor: textSecondary,
|
|
49175
|
+
serviceMessageBackgroundColor: "transparent",
|
|
49176
|
+
messageTitleColor: textPrimary
|
|
49177
|
+
};
|
|
49178
|
+
}
|
|
49179
|
+
const messageBubbleLight = createTheme$1({
|
|
49180
|
+
name: "MessageBubble",
|
|
49181
|
+
common: derived,
|
|
49182
|
+
peers: {
|
|
49183
|
+
StatusIcon: iconLight
|
|
49184
|
+
},
|
|
49185
|
+
self: self$B
|
|
49186
|
+
});
|
|
49187
|
+
|
|
49188
|
+
const messageBubbleDark = createTheme$1({
|
|
49189
|
+
name: "MessageBubble",
|
|
49190
|
+
common: derived$1,
|
|
49191
|
+
peers: {
|
|
49192
|
+
StatusIcon: iconDark$1
|
|
49193
|
+
},
|
|
49194
|
+
self: vars => ({
|
|
49195
|
+
...self$B(vars)
|
|
49196
|
+
})
|
|
49197
|
+
});
|
|
49198
|
+
|
|
49147
49199
|
function self$A(vars) {
|
|
49148
49200
|
const {
|
|
49149
49201
|
transparencyModal,
|
|
@@ -50569,7 +50621,7 @@ const imagePreviewSharedProps = {
|
|
|
50569
50621
|
};
|
|
50570
50622
|
const imageContextKey = createInjectionKey("u-image");
|
|
50571
50623
|
|
|
50572
|
-
var style$
|
|
50624
|
+
var style$19 = c$1([c$1("body >", [cB("image-container", "position: fixed;")]), cB("image-preview-container", `
|
|
50573
50625
|
position: fixed;
|
|
50574
50626
|
left: 0;
|
|
50575
50627
|
right: 0;
|
|
@@ -50653,7 +50705,7 @@ var _UImagePreview = defineComponent({
|
|
|
50653
50705
|
const themeRef = useTheme(
|
|
50654
50706
|
"Image",
|
|
50655
50707
|
"-image",
|
|
50656
|
-
style$
|
|
50708
|
+
style$19,
|
|
50657
50709
|
imageLight,
|
|
50658
50710
|
props,
|
|
50659
50711
|
mergedClsPrefixRef
|
|
@@ -51584,7 +51636,7 @@ var _UImage = defineComponent({
|
|
|
51584
51636
|
}
|
|
51585
51637
|
});
|
|
51586
51638
|
|
|
51587
|
-
var style$
|
|
51639
|
+
var style$18 = c$1([c$1("@keyframes spin-rotate", `
|
|
51588
51640
|
from {
|
|
51589
51641
|
transform: rotate(0);
|
|
51590
51642
|
}
|
|
@@ -51688,7 +51740,7 @@ var _USpin = defineComponent({
|
|
|
51688
51740
|
const themeRef = useTheme(
|
|
51689
51741
|
"Spin",
|
|
51690
51742
|
"-spin",
|
|
51691
|
-
style$
|
|
51743
|
+
style$18,
|
|
51692
51744
|
spinLight,
|
|
51693
51745
|
props,
|
|
51694
51746
|
mergedClsPrefixRef
|
|
@@ -52945,7 +52997,7 @@ var _UUpload = defineComponent({
|
|
|
52945
52997
|
const themeRef = useTheme(
|
|
52946
52998
|
"Upload",
|
|
52947
52999
|
"-upload",
|
|
52948
|
-
style$
|
|
53000
|
+
style$1a,
|
|
52949
53001
|
uploadLight,
|
|
52950
53002
|
props,
|
|
52951
53003
|
mergedClsPrefixRef
|
|
@@ -53360,6 +53412,98 @@ var _UUpload = defineComponent({
|
|
|
53360
53412
|
}
|
|
53361
53413
|
});
|
|
53362
53414
|
|
|
53415
|
+
var MessageBubbleType = /* @__PURE__ */(MessageBubbleType2 => {
|
|
53416
|
+
MessageBubbleType2["MESSAGE"] = "message";
|
|
53417
|
+
MessageBubbleType2["SERVICE"] = "service";
|
|
53418
|
+
return MessageBubbleType2;
|
|
53419
|
+
})(MessageBubbleType || {});
|
|
53420
|
+
var MessageBubbleServiceVariant = /* @__PURE__ */(MessageBubbleServiceVariant2 => {
|
|
53421
|
+
MessageBubbleServiceVariant2["UNREAD"] = "unread";
|
|
53422
|
+
MessageBubbleServiceVariant2["SYSTEM"] = "system";
|
|
53423
|
+
MessageBubbleServiceVariant2["EVENT"] = "event";
|
|
53424
|
+
MessageBubbleServiceVariant2["DIVIDER"] = "divider";
|
|
53425
|
+
return MessageBubbleServiceVariant2;
|
|
53426
|
+
})(MessageBubbleServiceVariant || {});
|
|
53427
|
+
var MessageBubbleStatus = /* @__PURE__ */(MessageBubbleStatus2 => {
|
|
53428
|
+
MessageBubbleStatus2["READ"] = "read";
|
|
53429
|
+
MessageBubbleStatus2["UNREAD"] = "unread";
|
|
53430
|
+
MessageBubbleStatus2["PENDING"] = "pending";
|
|
53431
|
+
MessageBubbleStatus2["RETRY"] = "retry";
|
|
53432
|
+
return MessageBubbleStatus2;
|
|
53433
|
+
})(MessageBubbleStatus || {});
|
|
53434
|
+
var MessageBubbleAttachmentStatus = /* @__PURE__ */(MessageBubbleAttachmentStatus2 => {
|
|
53435
|
+
MessageBubbleAttachmentStatus2["PENDING"] = "pending";
|
|
53436
|
+
MessageBubbleAttachmentStatus2["UPLOADING"] = "uploading";
|
|
53437
|
+
MessageBubbleAttachmentStatus2["FINISHED"] = "finished";
|
|
53438
|
+
MessageBubbleAttachmentStatus2["ERROR"] = "error";
|
|
53439
|
+
return MessageBubbleAttachmentStatus2;
|
|
53440
|
+
})(MessageBubbleAttachmentStatus || {});
|
|
53441
|
+
const statusIconMapper$1 = {
|
|
53442
|
+
["read" /* READ */]: CheckmarkDoneSharp,
|
|
53443
|
+
["pending" /* PENDING */]: MdTime,
|
|
53444
|
+
["retry" /* RETRY */]: Refresh,
|
|
53445
|
+
["unread" /* UNREAD */]: CheckmarkDoneSharp
|
|
53446
|
+
};
|
|
53447
|
+
const messageBubbleProps = {
|
|
53448
|
+
...useTheme.props,
|
|
53449
|
+
type: {
|
|
53450
|
+
type: String,
|
|
53451
|
+
default: "message" /* MESSAGE */
|
|
53452
|
+
},
|
|
53453
|
+
serviceVariant: {
|
|
53454
|
+
type: String,
|
|
53455
|
+
default: "system" /* SYSTEM */
|
|
53456
|
+
},
|
|
53457
|
+
id: {
|
|
53458
|
+
type: [String, Number, Symbol],
|
|
53459
|
+
default: void 0
|
|
53460
|
+
},
|
|
53461
|
+
isOwn: {
|
|
53462
|
+
type: Boolean,
|
|
53463
|
+
default: false
|
|
53464
|
+
},
|
|
53465
|
+
title: {
|
|
53466
|
+
type: [String, Function],
|
|
53467
|
+
default: void 0
|
|
53468
|
+
},
|
|
53469
|
+
content: {
|
|
53470
|
+
type: [String, Function],
|
|
53471
|
+
default: void 0
|
|
53472
|
+
},
|
|
53473
|
+
timestamp: {
|
|
53474
|
+
type: [String, Number, Date, Function],
|
|
53475
|
+
default: void 0
|
|
53476
|
+
},
|
|
53477
|
+
status: {
|
|
53478
|
+
type: String,
|
|
53479
|
+
default: void 0
|
|
53480
|
+
},
|
|
53481
|
+
attachments: {
|
|
53482
|
+
type: [Array, Object],
|
|
53483
|
+
default: void 0
|
|
53484
|
+
},
|
|
53485
|
+
uploadProps: {
|
|
53486
|
+
type: Object,
|
|
53487
|
+
default: void 0
|
|
53488
|
+
},
|
|
53489
|
+
actions: {
|
|
53490
|
+
type: Array,
|
|
53491
|
+
default: void 0
|
|
53492
|
+
},
|
|
53493
|
+
retryText: {
|
|
53494
|
+
type: String,
|
|
53495
|
+
default: void 0
|
|
53496
|
+
},
|
|
53497
|
+
onRetry: {
|
|
53498
|
+
type: Function,
|
|
53499
|
+
default: void 0
|
|
53500
|
+
},
|
|
53501
|
+
onAttachmentDownload: {
|
|
53502
|
+
type: Function,
|
|
53503
|
+
default: void 0
|
|
53504
|
+
}
|
|
53505
|
+
};
|
|
53506
|
+
|
|
53363
53507
|
const dropdownMenuInjectionKey = createInjectionKey("u-dropdown-menu");
|
|
53364
53508
|
const dropdownInjectionKey = createInjectionKey("u-dropdown");
|
|
53365
53509
|
const dropdownOptionInjectionKey = createInjectionKey("u-dropdown-option");
|
|
@@ -53969,7 +54113,7 @@ var UDropdownMenu = defineComponent({
|
|
|
53969
54113
|
}
|
|
53970
54114
|
});
|
|
53971
54115
|
|
|
53972
|
-
var style$
|
|
54116
|
+
var style$17 = cB("dropdown-menu", `
|
|
53973
54117
|
transform-origin: var(--v-transform-origin);
|
|
53974
54118
|
background-color: var(--u-color);
|
|
53975
54119
|
border-radius: var(--u-border-radius);
|
|
@@ -54216,7 +54360,7 @@ var _UDropdown = defineComponent({
|
|
|
54216
54360
|
const themeRef = useTheme(
|
|
54217
54361
|
"Dropdown",
|
|
54218
54362
|
"-dropdown",
|
|
54219
|
-
style$
|
|
54363
|
+
style$17,
|
|
54220
54364
|
dropdownLight,
|
|
54221
54365
|
props,
|
|
54222
54366
|
mergedClsPrefixRef
|
|
@@ -54468,93 +54612,266 @@ var _UDropdown = defineComponent({
|
|
|
54468
54612
|
}
|
|
54469
54613
|
});
|
|
54470
54614
|
|
|
54471
|
-
var
|
|
54472
|
-
|
|
54473
|
-
|
|
54474
|
-
|
|
54475
|
-
|
|
54476
|
-
|
|
54477
|
-
|
|
54478
|
-
|
|
54479
|
-
|
|
54480
|
-
|
|
54481
|
-
|
|
54482
|
-
|
|
54483
|
-
|
|
54484
|
-
|
|
54485
|
-
|
|
54486
|
-
|
|
54487
|
-
|
|
54488
|
-
|
|
54489
|
-
|
|
54490
|
-
|
|
54491
|
-
|
|
54492
|
-
|
|
54493
|
-
|
|
54494
|
-
|
|
54495
|
-
|
|
54496
|
-
|
|
54497
|
-
|
|
54498
|
-
var
|
|
54499
|
-
|
|
54500
|
-
|
|
54501
|
-
|
|
54502
|
-
|
|
54503
|
-
|
|
54504
|
-
|
|
54615
|
+
var style$16 = cB("message-bubble", `
|
|
54616
|
+
box-sizing: border-box;
|
|
54617
|
+
width: 100%;
|
|
54618
|
+
`, [cE("message", `
|
|
54619
|
+
display: flex;
|
|
54620
|
+
margin-bottom: 8px;
|
|
54621
|
+
flex-shrink: 0;
|
|
54622
|
+
width: 100%;
|
|
54623
|
+
`, [cM("own", `
|
|
54624
|
+
justify-content: flex-end;
|
|
54625
|
+
`), cM("other", `
|
|
54626
|
+
justify-content: flex-start;
|
|
54627
|
+
`)]), cE("message-wrapper", `
|
|
54628
|
+
max-width: 70%;
|
|
54629
|
+
display: flex;
|
|
54630
|
+
flex-direction: column;
|
|
54631
|
+
gap: 4px;
|
|
54632
|
+
flex-shrink: 0;
|
|
54633
|
+
`, [cM("own", `
|
|
54634
|
+
align-items: flex-end;
|
|
54635
|
+
`), cM("other", `
|
|
54636
|
+
align-items: flex-start;
|
|
54637
|
+
`)]), cE("bubble", `
|
|
54638
|
+
border-radius: var(--u-message-bubble-border-radius);
|
|
54639
|
+
font-size: 14px;
|
|
54640
|
+
line-height: 20px;
|
|
54641
|
+
word-wrap: break-word;
|
|
54642
|
+
background-color: var(--u-message-bubble-background-color-other);
|
|
54643
|
+
color: var(--u-message-bubble-text-color-other);
|
|
54644
|
+
border-bottom-left-radius: 6px;
|
|
54645
|
+
width: fit-content;
|
|
54646
|
+
display: flex;
|
|
54647
|
+
flex-direction: column;
|
|
54648
|
+
`, [cM("own", `
|
|
54649
|
+
background-color: var(--u-message-bubble-background-color-own);
|
|
54650
|
+
color: var(--u-message-bubble-text-color-own);
|
|
54651
|
+
border-bottom-left-radius: var(--u-message-bubble-border-radius);
|
|
54652
|
+
border-bottom-right-radius: 6px;
|
|
54653
|
+
`)]), cE("title", `
|
|
54654
|
+
color: var(--u-message-bubble-title-color);
|
|
54655
|
+
padding: 12px 16px 0;
|
|
54656
|
+
white-space: pre-wrap;
|
|
54657
|
+
`), cE("text", `
|
|
54658
|
+
padding: 12px 16px;
|
|
54659
|
+
white-space: pre-wrap;
|
|
54660
|
+
`), cE("text", `
|
|
54661
|
+
padding-top: 8px;
|
|
54662
|
+
`, [c$1("&&:first-child", `
|
|
54663
|
+
padding-top: 12px;
|
|
54664
|
+
`)]), cE("meta", `
|
|
54665
|
+
display: flex;
|
|
54666
|
+
align-items: center;
|
|
54667
|
+
gap: 4px;
|
|
54668
|
+
font-size: 11px;
|
|
54669
|
+
color: var(--u-message-bubble-time-color);
|
|
54670
|
+
margin-top: 2px;
|
|
54671
|
+
`, [cM("own", `
|
|
54672
|
+
justify-content: flex-end;
|
|
54673
|
+
`), cM("other", `
|
|
54674
|
+
justify-content: flex-start;
|
|
54675
|
+
`)]), cE("time", `
|
|
54676
|
+
font-size: 11px;
|
|
54677
|
+
color: var(--u-message-bubble-time-color);
|
|
54678
|
+
`), cE("status", `
|
|
54679
|
+
color: var(--u-message-bubble-status-success-color);
|
|
54680
|
+
display: flex;
|
|
54681
|
+
align-items: center;
|
|
54682
|
+
`), cE("status-icon", `
|
|
54683
|
+
color: var(--u-message-bubble-time-color);
|
|
54684
|
+
`, [cM("read", `
|
|
54685
|
+
color: var(--u-message-bubble-status-read-color);
|
|
54686
|
+
`), cM("retry", `
|
|
54687
|
+
color: var(--u-message-bubble-error-color);
|
|
54688
|
+
`)]), cE("retry", `
|
|
54689
|
+
display: flex;
|
|
54690
|
+
align-items: center;
|
|
54691
|
+
gap: 4px;
|
|
54692
|
+
cursor: pointer;
|
|
54693
|
+
`), cE("retry-icon", `
|
|
54694
|
+
color: var(--u-message-bubble-error-color);
|
|
54695
|
+
`), cE("retry-text", `
|
|
54696
|
+
color: var(--u-message-bubble-error-color);
|
|
54697
|
+
font-size: 11px;
|
|
54698
|
+
font-weight: 500;
|
|
54699
|
+
`), cE("service", `
|
|
54700
|
+
display: flex;
|
|
54701
|
+
justify-content: center;
|
|
54702
|
+
width: 100%;
|
|
54703
|
+
margin: 12px 0;
|
|
54704
|
+
`, [c$1("span", `
|
|
54705
|
+
padding: 6px 12px;
|
|
54706
|
+
border-radius: 8px;
|
|
54707
|
+
color: var(--u-message-bubble-service-text-color);
|
|
54708
|
+
background-color: var(--u-message-bubble-service-background-color);
|
|
54709
|
+
text-align: center;
|
|
54710
|
+
`), cM("unread", `
|
|
54711
|
+
background-color: var(--u-message-bubble-unread-background-color);
|
|
54712
|
+
color: var(--u-message-bubble-unread-text-color);
|
|
54713
|
+
padding: 6px 12px;
|
|
54714
|
+
margin: 8px 0;
|
|
54715
|
+
`, [c$1("span", `
|
|
54716
|
+
display: inline-block;
|
|
54717
|
+
white-space: nowrap;
|
|
54718
|
+
padding: 0;
|
|
54719
|
+
border-radius: 0;
|
|
54720
|
+
background-color: transparent;
|
|
54721
|
+
color: inherit;
|
|
54722
|
+
`)])]), c$1(".u-message-bubble__bubble--own .u-upload-file", `
|
|
54723
|
+
background-color: var(--u-message-bubble-attachment-background-color-own);
|
|
54724
|
+
`), c$1(".u-message-bubble__bubble--other .u-upload-file", `
|
|
54725
|
+
background-color: var(--u-message-bubble-attachment-background-color-other);
|
|
54726
|
+
`), c$1(".u-upload-file-list .u-upload-file.u-upload-file--text-type", `
|
|
54727
|
+
margin-bottom: 0px;
|
|
54728
|
+
`)]);
|
|
54505
54729
|
|
|
54506
|
-
var
|
|
54507
|
-
name: "
|
|
54508
|
-
props:
|
|
54509
|
-
|
|
54510
|
-
type: Object,
|
|
54511
|
-
required: true
|
|
54512
|
-
},
|
|
54513
|
-
attachments: {
|
|
54514
|
-
type: Array,
|
|
54515
|
-
required: true
|
|
54516
|
-
},
|
|
54517
|
-
uploadProps: {
|
|
54518
|
-
type: Object,
|
|
54519
|
-
default: void 0
|
|
54520
|
-
},
|
|
54521
|
-
withPadding: {
|
|
54522
|
-
type: Boolean,
|
|
54523
|
-
default: false
|
|
54524
|
-
}
|
|
54525
|
-
},
|
|
54730
|
+
var _UMessageBubble = defineComponent({
|
|
54731
|
+
name: "MessageBubble",
|
|
54732
|
+
props: messageBubbleProps,
|
|
54733
|
+
slots: Object,
|
|
54526
54734
|
setup(props, { slots }) {
|
|
54527
|
-
const
|
|
54528
|
-
const
|
|
54735
|
+
const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
|
|
54736
|
+
const themeRef = useTheme(
|
|
54737
|
+
"MessageBubble",
|
|
54738
|
+
"-message-bubble",
|
|
54739
|
+
style$16,
|
|
54740
|
+
messageBubbleLight,
|
|
54741
|
+
props,
|
|
54742
|
+
mergedClsPrefixRef
|
|
54743
|
+
);
|
|
54744
|
+
const contextMenuShow = ref(false);
|
|
54745
|
+
const mergedRetryTextRef = computed(
|
|
54746
|
+
() => props.retryText ?? "Retry"
|
|
54747
|
+
);
|
|
54748
|
+
const normalizedAttachmentsRef = computed(() => {
|
|
54749
|
+
if (!props.attachments)
|
|
54750
|
+
return [];
|
|
54751
|
+
return Array.isArray(props.attachments) ? props.attachments : [props.attachments];
|
|
54752
|
+
});
|
|
54753
|
+
const messagePayloadRef = computed(() => ({
|
|
54754
|
+
id: props.id,
|
|
54755
|
+
isOwn: props.isOwn,
|
|
54756
|
+
title: props.title,
|
|
54757
|
+
content: props.content,
|
|
54758
|
+
timestamp: props.timestamp,
|
|
54759
|
+
status: props.status,
|
|
54760
|
+
attachments: normalizedAttachmentsRef.value
|
|
54761
|
+
}));
|
|
54762
|
+
const cssVarsRef = computed(() => {
|
|
54763
|
+
const {
|
|
54764
|
+
common: { cubicBezierEaseInOut },
|
|
54765
|
+
self: {
|
|
54766
|
+
messageBubbleBackgroundColorOwn,
|
|
54767
|
+
messageBubbleBackgroundColorOther,
|
|
54768
|
+
messageBubbleTextColorOwn,
|
|
54769
|
+
messageBubbleTextColorOther,
|
|
54770
|
+
messageTimeColor,
|
|
54771
|
+
messageStatusReadColor,
|
|
54772
|
+
messageStatusSuccessColor,
|
|
54773
|
+
attachmentBackgroundColorOwn,
|
|
54774
|
+
attachmentBackgroundColorOther,
|
|
54775
|
+
messageErrorColor,
|
|
54776
|
+
messageBorderRadius,
|
|
54777
|
+
unreadNotificationBackgroundColor,
|
|
54778
|
+
unreadNotificationTextColor,
|
|
54779
|
+
serviceMessageTextColor,
|
|
54780
|
+
serviceMessageBackgroundColor,
|
|
54781
|
+
messageTitleColor
|
|
54782
|
+
}
|
|
54783
|
+
} = themeRef.value;
|
|
54784
|
+
return {
|
|
54785
|
+
"--u-bezier": cubicBezierEaseInOut,
|
|
54786
|
+
"--u-message-bubble-background-color-own": messageBubbleBackgroundColorOwn,
|
|
54787
|
+
"--u-message-bubble-background-color-other": messageBubbleBackgroundColorOther,
|
|
54788
|
+
"--u-message-bubble-text-color-own": messageBubbleTextColorOwn,
|
|
54789
|
+
"--u-message-bubble-text-color-other": messageBubbleTextColorOther,
|
|
54790
|
+
"--u-message-bubble-time-color": messageTimeColor,
|
|
54791
|
+
"--u-message-bubble-status-read-color": messageStatusReadColor,
|
|
54792
|
+
"--u-message-bubble-status-success-color": messageStatusSuccessColor,
|
|
54793
|
+
"--u-message-bubble-attachment-background-color-own": attachmentBackgroundColorOwn,
|
|
54794
|
+
"--u-message-bubble-attachment-background-color-other": attachmentBackgroundColorOther,
|
|
54795
|
+
"--u-message-bubble-error-color": messageErrorColor,
|
|
54796
|
+
"--u-message-bubble-border-radius": messageBorderRadius,
|
|
54797
|
+
"--u-message-bubble-unread-background-color": unreadNotificationBackgroundColor,
|
|
54798
|
+
"--u-message-bubble-unread-text-color": unreadNotificationTextColor,
|
|
54799
|
+
"--u-message-bubble-service-text-color": serviceMessageTextColor,
|
|
54800
|
+
"--u-message-bubble-service-background-color": serviceMessageBackgroundColor,
|
|
54801
|
+
"--u-message-bubble-title-color": messageTitleColor
|
|
54802
|
+
};
|
|
54803
|
+
});
|
|
54804
|
+
const themeClassHandle = inlineThemeDisabled ? useThemeClass("message-bubble", void 0, cssVarsRef, props) : void 0;
|
|
54805
|
+
const messageContextMenuOptions = computed(() => {
|
|
54806
|
+
if (!props.actions || props.actions.length === 0) {
|
|
54807
|
+
return [];
|
|
54808
|
+
}
|
|
54809
|
+
const result = [];
|
|
54810
|
+
for (const action of props.actions) {
|
|
54811
|
+
if (action.visible && !action.visible(messagePayloadRef.value)) {
|
|
54812
|
+
continue;
|
|
54813
|
+
}
|
|
54814
|
+
result.push({
|
|
54815
|
+
key: action.key,
|
|
54816
|
+
label: typeof action.label === "function" ? action.label() : action.label
|
|
54817
|
+
});
|
|
54818
|
+
}
|
|
54819
|
+
return result;
|
|
54820
|
+
});
|
|
54821
|
+
const resolveRenderContent = (content) => {
|
|
54822
|
+
if (typeof content === "function") {
|
|
54823
|
+
return content();
|
|
54824
|
+
}
|
|
54825
|
+
if (content instanceof Date) {
|
|
54826
|
+
return content.toString();
|
|
54827
|
+
}
|
|
54828
|
+
return content;
|
|
54829
|
+
};
|
|
54529
54830
|
const getThumbnailUrl = (attachment) => {
|
|
54530
54831
|
const url = [attachment.preview, attachment.thumbnail].find(
|
|
54531
54832
|
(value) => typeof value === "string"
|
|
54532
54833
|
);
|
|
54533
54834
|
return url ?? null;
|
|
54534
54835
|
};
|
|
54535
|
-
const
|
|
54536
|
-
if (onAttachmentDownload
|
|
54537
|
-
const attachment =
|
|
54538
|
-
(
|
|
54836
|
+
const handleAttachmentDownload = async (file) => {
|
|
54837
|
+
if (props.onAttachmentDownload) {
|
|
54838
|
+
const attachment = normalizedAttachmentsRef.value.find(
|
|
54839
|
+
(item) => item.name === file.name
|
|
54539
54840
|
);
|
|
54540
54841
|
if (attachment) {
|
|
54541
54842
|
try {
|
|
54542
|
-
await onAttachmentDownload
|
|
54843
|
+
await props.onAttachmentDownload(attachment);
|
|
54543
54844
|
return false;
|
|
54544
|
-
} catch
|
|
54545
|
-
console.error("Download failed:", error);
|
|
54845
|
+
} catch {
|
|
54546
54846
|
return false;
|
|
54547
54847
|
}
|
|
54548
54848
|
}
|
|
54549
54849
|
}
|
|
54550
54850
|
return true;
|
|
54551
54851
|
};
|
|
54552
|
-
const
|
|
54553
|
-
|
|
54852
|
+
const handleRetryClick = () => {
|
|
54853
|
+
props.onRetry?.(messagePayloadRef.value);
|
|
54854
|
+
};
|
|
54855
|
+
const handleContextMenuSelect = (key) => {
|
|
54856
|
+
if (!props.actions || props.actions.length === 0) {
|
|
54857
|
+
contextMenuShow.value = false;
|
|
54858
|
+
return;
|
|
54859
|
+
}
|
|
54860
|
+
const action = props.actions.find((action2) => action2.key === key);
|
|
54861
|
+
if (action) {
|
|
54862
|
+
action.handler(messagePayloadRef.value);
|
|
54863
|
+
}
|
|
54864
|
+
contextMenuShow.value = false;
|
|
54865
|
+
};
|
|
54866
|
+
const renderAttachment = (withPadding = false) => {
|
|
54867
|
+
if (slots.messageAttachment) {
|
|
54868
|
+
return slots.messageAttachment(messagePayloadRef.value);
|
|
54869
|
+
}
|
|
54870
|
+
const fileList = normalizedAttachmentsRef.value.map(
|
|
54554
54871
|
(attachment) => ({
|
|
54555
|
-
id:
|
|
54872
|
+
id: String(attachment.id),
|
|
54556
54873
|
name: attachment.name,
|
|
54557
|
-
status: attachment.status ||
|
|
54874
|
+
status: attachment.status || MessageBubbleAttachmentStatus.FINISHED,
|
|
54558
54875
|
percentage: attachment.percentage ?? null,
|
|
54559
54876
|
url: attachment.url ?? null,
|
|
54560
54877
|
thumbnailUrl: getThumbnailUrl(attachment),
|
|
@@ -54568,48 +54885,265 @@ var ChatAttachmentComponent = defineComponent({
|
|
|
54568
54885
|
{
|
|
54569
54886
|
abstract: true,
|
|
54570
54887
|
fileList,
|
|
54571
|
-
fileListStyle:
|
|
54888
|
+
fileListStyle: withPadding ? {
|
|
54572
54889
|
display: "flex",
|
|
54573
54890
|
flexDirection: "column",
|
|
54574
54891
|
gap: "2px",
|
|
54575
54892
|
marginTop: "0"
|
|
54576
54893
|
} : void 0,
|
|
54577
54894
|
showRemoveButton: false,
|
|
54578
|
-
showDownloadButton:
|
|
54579
|
-
(attachment) => attachment.status ===
|
|
54895
|
+
showDownloadButton: normalizedAttachmentsRef.value.some(
|
|
54896
|
+
(attachment) => attachment.status === MessageBubbleAttachmentStatus.FINISHED && attachment.url && attachment.url !== "#"
|
|
54580
54897
|
),
|
|
54581
|
-
showRetryButton:
|
|
54582
|
-
(attachment) => attachment.status ===
|
|
54898
|
+
showRetryButton: normalizedAttachmentsRef.value.some(
|
|
54899
|
+
(attachment) => attachment.status === MessageBubbleAttachmentStatus.ERROR
|
|
54583
54900
|
),
|
|
54584
|
-
onDownload:
|
|
54901
|
+
onDownload: handleAttachmentDownload,
|
|
54585
54902
|
...props.uploadProps
|
|
54586
54903
|
},
|
|
54587
54904
|
{
|
|
54588
54905
|
default: () => /* @__PURE__ */ h(_UUploadFileList, null, {
|
|
54589
54906
|
"upload-file-title": slots["upload-file-title"] ? ({ file }) => slots["upload-file-title"]?.(file) : void 0,
|
|
54590
54907
|
"upload-file-subtitle": slots["upload-file-subtitle"] ? ({ file }) => slots["upload-file-subtitle"]?.(file) : ({ file }) => {
|
|
54591
|
-
const attachment =
|
|
54592
|
-
(
|
|
54908
|
+
const attachment = normalizedAttachmentsRef.value.find(
|
|
54909
|
+
(item) => item.name === file.name
|
|
54593
54910
|
);
|
|
54594
54911
|
return /* @__PURE__ */ h("span", { style: { fontSize: "12px", color: "#999" } }, attachment?.size || file.file?.size);
|
|
54595
54912
|
}
|
|
54596
54913
|
})
|
|
54597
54914
|
}
|
|
54598
54915
|
);
|
|
54599
|
-
if (
|
|
54916
|
+
if (withPadding) {
|
|
54600
54917
|
return /* @__PURE__ */ h("div", { style: { padding: "2px" } }, uploadComponent);
|
|
54601
54918
|
}
|
|
54602
54919
|
return uploadComponent;
|
|
54603
54920
|
};
|
|
54604
|
-
|
|
54605
|
-
|
|
54606
|
-
|
|
54921
|
+
const renderMessage = () => {
|
|
54922
|
+
const hasBubbleActionsSlot = slots.bubbleActions !== void 0;
|
|
54923
|
+
const hasBubbleActionsConfig = Boolean(
|
|
54924
|
+
props.actions && props.actions.length > 0
|
|
54925
|
+
);
|
|
54926
|
+
const hasTitle = Boolean(props.title || slots.title);
|
|
54927
|
+
const hasContentInsideBubble = Boolean(
|
|
54928
|
+
props.content || slots.default || hasTitle || normalizedAttachmentsRef.value.length > 1
|
|
54929
|
+
);
|
|
54930
|
+
const messageBubbleContent = hasContentInsideBubble ? /* @__PURE__ */ h(
|
|
54931
|
+
"div",
|
|
54932
|
+
{
|
|
54933
|
+
class: [
|
|
54934
|
+
`${mergedClsPrefixRef.value}-message-bubble__bubble`,
|
|
54935
|
+
props.isOwn ? `${mergedClsPrefixRef.value}-message-bubble__bubble--own` : `${mergedClsPrefixRef.value}-message-bubble__bubble--other`
|
|
54936
|
+
]
|
|
54937
|
+
},
|
|
54938
|
+
hasTitle && /* @__PURE__ */ h(
|
|
54939
|
+
_UText,
|
|
54940
|
+
{
|
|
54941
|
+
class: `${mergedClsPrefixRef.value}-message-bubble__title`,
|
|
54942
|
+
variant: "body-l-semi-bold"
|
|
54943
|
+
},
|
|
54944
|
+
slots.title ? slots.title(messagePayloadRef.value) : resolveRenderContent(props.title)
|
|
54945
|
+
),
|
|
54946
|
+
normalizedAttachmentsRef.value.length > 0 && renderAttachment(true),
|
|
54947
|
+
(props.content || slots.default) && /* @__PURE__ */ h("div", { class: `${mergedClsPrefixRef.value}-message-bubble__text` }, slots.default ? slots.default(messagePayloadRef.value) : resolveRenderContent(props.content))
|
|
54948
|
+
) : normalizedAttachmentsRef.value.length === 1 ? renderAttachment() : null;
|
|
54949
|
+
return /* @__PURE__ */ h(
|
|
54950
|
+
"div",
|
|
54951
|
+
{
|
|
54952
|
+
class: [
|
|
54953
|
+
`${mergedClsPrefixRef.value}-message-bubble__message`,
|
|
54954
|
+
props.isOwn ? `${mergedClsPrefixRef.value}-message-bubble__message--own` : `${mergedClsPrefixRef.value}-message-bubble__message--other`
|
|
54955
|
+
]
|
|
54956
|
+
},
|
|
54957
|
+
/* @__PURE__ */ h(
|
|
54958
|
+
"div",
|
|
54959
|
+
{
|
|
54960
|
+
class: [
|
|
54961
|
+
`${mergedClsPrefixRef.value}-message-bubble__message-wrapper`,
|
|
54962
|
+
props.isOwn ? `${mergedClsPrefixRef.value}-message-bubble__message-wrapper--own` : `${mergedClsPrefixRef.value}-message-bubble__message-wrapper--other`
|
|
54963
|
+
]
|
|
54964
|
+
},
|
|
54965
|
+
hasBubbleActionsSlot ? /* @__PURE__ */ h(
|
|
54966
|
+
"div",
|
|
54967
|
+
{
|
|
54968
|
+
onContextmenu: (event) => {
|
|
54969
|
+
event.preventDefault();
|
|
54970
|
+
contextMenuShow.value = false;
|
|
54971
|
+
void nextTick().then(() => {
|
|
54972
|
+
contextMenuShow.value = true;
|
|
54973
|
+
});
|
|
54974
|
+
}
|
|
54975
|
+
},
|
|
54976
|
+
slots.bubbleActions?.(messagePayloadRef.value),
|
|
54977
|
+
messageBubbleContent
|
|
54978
|
+
) : hasBubbleActionsConfig ? /* @__PURE__ */ h(
|
|
54979
|
+
_UDropdown,
|
|
54980
|
+
{
|
|
54981
|
+
show: contextMenuShow.value,
|
|
54982
|
+
trigger: "manual",
|
|
54983
|
+
placement: "bottom-start",
|
|
54984
|
+
options: messageContextMenuOptions.value,
|
|
54985
|
+
onSelect: handleContextMenuSelect,
|
|
54986
|
+
onUpdateShow: (show) => {
|
|
54987
|
+
contextMenuShow.value = show;
|
|
54988
|
+
},
|
|
54989
|
+
onClickoutside: () => {
|
|
54990
|
+
contextMenuShow.value = false;
|
|
54991
|
+
}
|
|
54992
|
+
},
|
|
54993
|
+
{
|
|
54994
|
+
default: () => /* @__PURE__ */ h(
|
|
54995
|
+
"div",
|
|
54996
|
+
{
|
|
54997
|
+
onContextmenu: (event) => {
|
|
54998
|
+
event.preventDefault();
|
|
54999
|
+
contextMenuShow.value = false;
|
|
55000
|
+
void nextTick().then(() => {
|
|
55001
|
+
contextMenuShow.value = true;
|
|
55002
|
+
});
|
|
55003
|
+
}
|
|
55004
|
+
},
|
|
55005
|
+
messageBubbleContent
|
|
55006
|
+
)
|
|
55007
|
+
}
|
|
55008
|
+
) : messageBubbleContent,
|
|
55009
|
+
/* @__PURE__ */ h(
|
|
55010
|
+
"div",
|
|
55011
|
+
{
|
|
55012
|
+
class: [
|
|
55013
|
+
`${mergedClsPrefixRef.value}-message-bubble__meta`,
|
|
55014
|
+
props.isOwn ? `${mergedClsPrefixRef.value}-message-bubble__meta--own` : `${mergedClsPrefixRef.value}-message-bubble__meta--other`
|
|
55015
|
+
]
|
|
55016
|
+
},
|
|
55017
|
+
props.status === MessageBubbleStatus.RETRY ? /* @__PURE__ */ h(
|
|
55018
|
+
"div",
|
|
55019
|
+
{
|
|
55020
|
+
class: `${mergedClsPrefixRef.value}-message-bubble__retry`,
|
|
55021
|
+
onClick: handleRetryClick
|
|
55022
|
+
},
|
|
55023
|
+
/* @__PURE__ */ h(
|
|
55024
|
+
UIcon$1,
|
|
55025
|
+
{
|
|
55026
|
+
size: 16,
|
|
55027
|
+
component: statusIconMapper$1[MessageBubbleStatus.RETRY],
|
|
55028
|
+
class: `${mergedClsPrefixRef.value}-message-bubble__retry-icon`,
|
|
55029
|
+
theme: themeRef.value.peers.StatusIcon,
|
|
55030
|
+
themeOverrides: themeRef.value.peerOverrides.StatusIcon
|
|
55031
|
+
}
|
|
55032
|
+
),
|
|
55033
|
+
/* @__PURE__ */ h(
|
|
55034
|
+
"span",
|
|
55035
|
+
{
|
|
55036
|
+
class: `${mergedClsPrefixRef.value}-message-bubble__retry-text`
|
|
55037
|
+
},
|
|
55038
|
+
mergedRetryTextRef.value
|
|
55039
|
+
)
|
|
55040
|
+
) : /* @__PURE__ */ h(Fragment, null, /* @__PURE__ */ h(
|
|
55041
|
+
"span",
|
|
55042
|
+
{
|
|
55043
|
+
class: `${mergedClsPrefixRef.value}-message-bubble__time`
|
|
55044
|
+
},
|
|
55045
|
+
resolveRenderContent(props.timestamp)
|
|
55046
|
+
), props.isOwn && props.status && /* @__PURE__ */ h(
|
|
55047
|
+
"div",
|
|
55048
|
+
{
|
|
55049
|
+
class: `${mergedClsPrefixRef.value}-message-bubble__status`
|
|
55050
|
+
},
|
|
55051
|
+
slots.messageStatus ? slots.messageStatus(messagePayloadRef.value) : statusIconMapper$1[props.status] && /* @__PURE__ */ h(
|
|
55052
|
+
UIcon$1,
|
|
55053
|
+
{
|
|
55054
|
+
size: 16,
|
|
55055
|
+
component: statusIconMapper$1[props.status],
|
|
55056
|
+
class: [
|
|
55057
|
+
`${mergedClsPrefixRef.value}-message-bubble__status-icon`,
|
|
55058
|
+
`${mergedClsPrefixRef.value}-message-bubble__status-icon--${String(props.status)}`
|
|
55059
|
+
],
|
|
55060
|
+
theme: themeRef.value.peers.StatusIcon,
|
|
55061
|
+
themeOverrides: themeRef.value.peerOverrides.StatusIcon
|
|
55062
|
+
}
|
|
55063
|
+
)
|
|
55064
|
+
))
|
|
55065
|
+
)
|
|
55066
|
+
)
|
|
55067
|
+
);
|
|
55068
|
+
};
|
|
55069
|
+
const renderService = () => {
|
|
55070
|
+
if (slots.service) {
|
|
55071
|
+
return slots.service(props.serviceVariant);
|
|
54607
55072
|
}
|
|
54608
|
-
return
|
|
55073
|
+
return /* @__PURE__ */ h(
|
|
55074
|
+
"div",
|
|
55075
|
+
{
|
|
55076
|
+
class: [
|
|
55077
|
+
`${mergedClsPrefixRef.value}-message-bubble__service`,
|
|
55078
|
+
`${mergedClsPrefixRef.value}-message-bubble__service--${props.serviceVariant}`
|
|
55079
|
+
]
|
|
55080
|
+
},
|
|
55081
|
+
props.content && /* @__PURE__ */ h("span", null, resolveRenderContent(props.content))
|
|
55082
|
+
);
|
|
55083
|
+
};
|
|
55084
|
+
return {
|
|
55085
|
+
mergedClsPrefixRef,
|
|
55086
|
+
inlineThemeDisabled,
|
|
55087
|
+
cssVars: cssVarsRef,
|
|
55088
|
+
themeClass: themeClassHandle?.themeClass,
|
|
55089
|
+
onRender: themeClassHandle?.onRender,
|
|
55090
|
+
renderMessage,
|
|
55091
|
+
renderService
|
|
54609
55092
|
};
|
|
55093
|
+
},
|
|
55094
|
+
render() {
|
|
55095
|
+
this.onRender?.();
|
|
55096
|
+
return /* @__PURE__ */ h(
|
|
55097
|
+
"div",
|
|
55098
|
+
{
|
|
55099
|
+
class: [`${this.mergedClsPrefixRef}-message-bubble`, this.themeClass],
|
|
55100
|
+
style: this.inlineThemeDisabled ? void 0 : this.cssVars
|
|
55101
|
+
},
|
|
55102
|
+
this.type === MessageBubbleType.SERVICE ? this.renderService() : this.renderMessage()
|
|
55103
|
+
);
|
|
54610
55104
|
}
|
|
54611
55105
|
});
|
|
54612
55106
|
|
|
55107
|
+
var MessageStatus = /* @__PURE__ */(MessageStatus2 => {
|
|
55108
|
+
MessageStatus2["READ"] = "read";
|
|
55109
|
+
MessageStatus2["UNREAD"] = "unread";
|
|
55110
|
+
MessageStatus2["PENDING"] = "pending";
|
|
55111
|
+
MessageStatus2["RETRY"] = "retry";
|
|
55112
|
+
MessageStatus2["INCOME"] = "income";
|
|
55113
|
+
return MessageStatus2;
|
|
55114
|
+
})(MessageStatus || {});
|
|
55115
|
+
var ChatMessageType = /* @__PURE__ */(ChatMessageType2 => {
|
|
55116
|
+
ChatMessageType2["TEXT"] = "text";
|
|
55117
|
+
ChatMessageType2["FILE"] = "file";
|
|
55118
|
+
ChatMessageType2["MARK"] = "mark";
|
|
55119
|
+
return ChatMessageType2;
|
|
55120
|
+
})(ChatMessageType || {});
|
|
55121
|
+
var ChatAttachmentStatus = /* @__PURE__ */(ChatAttachmentStatus2 => {
|
|
55122
|
+
ChatAttachmentStatus2["PENDING"] = "pending";
|
|
55123
|
+
ChatAttachmentStatus2["UPLOADING"] = "uploading";
|
|
55124
|
+
ChatAttachmentStatus2["FINISHED"] = "finished";
|
|
55125
|
+
ChatAttachmentStatus2["ERROR"] = "error";
|
|
55126
|
+
return ChatAttachmentStatus2;
|
|
55127
|
+
})(ChatAttachmentStatus || {});
|
|
55128
|
+
var ChatMarkType = /* @__PURE__ */(ChatMarkType2 => {
|
|
55129
|
+
ChatMarkType2["SYSTEM"] = "system";
|
|
55130
|
+
ChatMarkType2["EVENT"] = "event";
|
|
55131
|
+
ChatMarkType2["DIVIDER"] = "divider";
|
|
55132
|
+
return ChatMarkType2;
|
|
55133
|
+
})(ChatMarkType || {});
|
|
55134
|
+
var ChatBubbleActionKey = /* @__PURE__ */(ChatBubbleActionKey2 => {
|
|
55135
|
+
ChatBubbleActionKey2["EDIT"] = "edit";
|
|
55136
|
+
ChatBubbleActionKey2["COPY"] = "copy";
|
|
55137
|
+
ChatBubbleActionKey2["DELETE"] = "delete";
|
|
55138
|
+
return ChatBubbleActionKey2;
|
|
55139
|
+
})(ChatBubbleActionKey || {});
|
|
55140
|
+
const chatInjectionKey = createInjectionKey("chat");
|
|
55141
|
+
const markTypeToServiceVariantMap = {
|
|
55142
|
+
["system" /* SYSTEM */]: MessageBubbleServiceVariant.SYSTEM,
|
|
55143
|
+
["event" /* EVENT */]: MessageBubbleServiceVariant.EVENT,
|
|
55144
|
+
["divider" /* DIVIDER */]: MessageBubbleServiceVariant.DIVIDER
|
|
55145
|
+
};
|
|
55146
|
+
|
|
54613
55147
|
var style$15 = cB("chat", `
|
|
54614
55148
|
height: 100%;
|
|
54615
55149
|
background-color: transparent;
|
|
@@ -54740,7 +55274,10 @@ var style$15 = cB("chat", `
|
|
|
54740
55274
|
height: 100%;
|
|
54741
55275
|
max-height: 100%;
|
|
54742
55276
|
min-height: 0;
|
|
54743
|
-
`, [
|
|
55277
|
+
`, [cM("standalone", `
|
|
55278
|
+
border: none;
|
|
55279
|
+
border-radius: 0;
|
|
55280
|
+
`), cE("header", `
|
|
54744
55281
|
border-bottom: 1px solid var(--u-border-color);
|
|
54745
55282
|
width: 100%;
|
|
54746
55283
|
padding: 24px 20px 10px 24px;
|
|
@@ -54990,12 +55527,6 @@ var style$15 = cB("chat", `
|
|
|
54990
55527
|
background-color: var(--u-attachment-background-color-other);
|
|
54991
55528
|
`)]);
|
|
54992
55529
|
|
|
54993
|
-
const statusIconMapper$1 = {
|
|
54994
|
-
[MessageStatus.READ]: CheckmarkDoneSharp,
|
|
54995
|
-
[MessageStatus.PENDING]: MdTime,
|
|
54996
|
-
[MessageStatus.RETRY]: Refresh,
|
|
54997
|
-
[MessageStatus.UNREAD]: CheckmarkDoneSharp
|
|
54998
|
-
};
|
|
54999
55530
|
const chatMessagesProps = {
|
|
55000
55531
|
...useTheme.props,
|
|
55001
55532
|
messages: {
|
|
@@ -55055,8 +55586,6 @@ var _UChatMessages = defineComponent({
|
|
|
55055
55586
|
const { mergedClsPrefixRef } = useConfig(props);
|
|
55056
55587
|
const themeRef = UChat?.mergedThemeRef ?? useTheme("Chat", "-chat", style$15, chatLight, props, mergedClsPrefixRef);
|
|
55057
55588
|
const { localeRef } = useLocale("Chat");
|
|
55058
|
-
const contextMenuShow = ref(false);
|
|
55059
|
-
const contextMenuMessage = ref();
|
|
55060
55589
|
const cssVarsRef = computed(() => {
|
|
55061
55590
|
const {
|
|
55062
55591
|
common: {
|
|
@@ -55144,49 +55673,23 @@ var _UChatMessages = defineComponent({
|
|
|
55144
55673
|
const handleMessageRetry = (message) => {
|
|
55145
55674
|
props.onMessageRetry?.(message);
|
|
55146
55675
|
};
|
|
55147
|
-
const
|
|
55148
|
-
const message = contextMenuMessage.value;
|
|
55149
|
-
if (!message)
|
|
55150
|
-
return;
|
|
55676
|
+
const getMessageBubbleActions = (message) => {
|
|
55151
55677
|
const bubbleActions = UChat?.bubbleActionsRef?.value;
|
|
55152
|
-
if (!bubbleActions
|
|
55153
|
-
return
|
|
55154
|
-
}
|
|
55155
|
-
const result = [];
|
|
55156
|
-
for (const action of bubbleActions) {
|
|
55157
|
-
if (action.visible && !action.visible(message)) {
|
|
55158
|
-
continue;
|
|
55159
|
-
}
|
|
55160
|
-
const label = typeof action.label === "function" ? action.label() : action.label;
|
|
55161
|
-
result.push({
|
|
55162
|
-
label,
|
|
55163
|
-
key: String(action.key)
|
|
55164
|
-
});
|
|
55678
|
+
if (!bubbleActions?.length) {
|
|
55679
|
+
return void 0;
|
|
55165
55680
|
}
|
|
55166
|
-
return
|
|
55167
|
-
|
|
55168
|
-
|
|
55169
|
-
|
|
55170
|
-
|
|
55171
|
-
|
|
55172
|
-
|
|
55173
|
-
|
|
55174
|
-
|
|
55175
|
-
|
|
55681
|
+
return bubbleActions.filter((action) => !action.visible || action.visible(message)).map((action) => ({
|
|
55682
|
+
key: String(action.key),
|
|
55683
|
+
label: action.label,
|
|
55684
|
+
handler: () => {
|
|
55685
|
+
if (action.key === ChatBubbleActionKey.EDIT) {
|
|
55686
|
+
const startEditing = UChat?.startEditingMessage?.value;
|
|
55687
|
+
startEditing?.(message);
|
|
55688
|
+
return;
|
|
55689
|
+
}
|
|
55690
|
+
action.handler(message);
|
|
55176
55691
|
}
|
|
55177
|
-
|
|
55178
|
-
return;
|
|
55179
|
-
}
|
|
55180
|
-
const bubbleActions = UChat?.bubbleActionsRef?.value;
|
|
55181
|
-
if (!bubbleActions)
|
|
55182
|
-
return;
|
|
55183
|
-
const action = bubbleActions.find(
|
|
55184
|
-
(action2) => action2.key === key
|
|
55185
|
-
);
|
|
55186
|
-
if (action) {
|
|
55187
|
-
action.handler(message);
|
|
55188
|
-
}
|
|
55189
|
-
contextMenuShow.value = false;
|
|
55692
|
+
}));
|
|
55190
55693
|
};
|
|
55191
55694
|
const renderDateSeparator = (date) => {
|
|
55192
55695
|
return /* @__PURE__ */ h("div", { class: `${mergedClsPrefixRef.value}-chat-main__date-separator` }, /* @__PURE__ */ h("span", null, date));
|
|
@@ -55194,208 +55697,75 @@ var _UChatMessages = defineComponent({
|
|
|
55194
55697
|
const renderUnreadNotification = () => {
|
|
55195
55698
|
const count = props.unreadNotificationCount ?? unreadMessagesCount.value;
|
|
55196
55699
|
return /* @__PURE__ */ h(
|
|
55197
|
-
|
|
55700
|
+
_UMessageBubble,
|
|
55198
55701
|
{
|
|
55199
|
-
|
|
55200
|
-
|
|
55201
|
-
|
|
55702
|
+
type: MessageBubbleType.SERVICE,
|
|
55703
|
+
serviceVariant: MessageBubbleServiceVariant.UNREAD,
|
|
55704
|
+
content: `${count} ${mergedUnreadNotificationTextRef.value}`
|
|
55705
|
+
}
|
|
55202
55706
|
);
|
|
55203
55707
|
};
|
|
55204
55708
|
const renderMarkMessage = (message) => {
|
|
55205
|
-
const
|
|
55709
|
+
const serviceVariant = markTypeToServiceVariantMap[message.markType ?? ChatMarkType.DIVIDER];
|
|
55206
55710
|
return /* @__PURE__ */ h(
|
|
55207
|
-
|
|
55711
|
+
_UMessageBubble,
|
|
55208
55712
|
{
|
|
55209
|
-
key: message.id,
|
|
55210
|
-
|
|
55211
|
-
|
|
55212
|
-
|
|
55213
|
-
|
|
55214
|
-
},
|
|
55215
|
-
message.content && /* @__PURE__ */ h("span", null, message.content)
|
|
55713
|
+
key: String(message.id),
|
|
55714
|
+
type: MessageBubbleType.SERVICE,
|
|
55715
|
+
serviceVariant,
|
|
55716
|
+
content: message.content
|
|
55717
|
+
}
|
|
55216
55718
|
);
|
|
55217
55719
|
};
|
|
55218
55720
|
const renderMessage = (message) => {
|
|
55219
|
-
const isOwn = message.isOwn;
|
|
55220
55721
|
const attachments = message.attachment ? Array.isArray(message.attachment) ? message.attachment : [message.attachment] : [];
|
|
55221
|
-
const
|
|
55222
|
-
|
|
55223
|
-
|
|
55224
|
-
|
|
55225
|
-
|
|
55226
|
-
|
|
55227
|
-
|
|
55228
|
-
|
|
55229
|
-
|
|
55230
|
-
|
|
55231
|
-
|
|
55232
|
-
|
|
55233
|
-
|
|
55234
|
-
|
|
55235
|
-
|
|
55236
|
-
|
|
55237
|
-
|
|
55238
|
-
|
|
55239
|
-
|
|
55240
|
-
|
|
55241
|
-
|
|
55242
|
-
|
|
55243
|
-
|
|
55244
|
-
|
|
55245
|
-
),
|
|
55246
|
-
message.content && /* @__PURE__ */ h(
|
|
55247
|
-
"div",
|
|
55248
|
-
{
|
|
55249
|
-
class: `${mergedClsPrefixRef.value}-chat-main__message-text`
|
|
55250
|
-
},
|
|
55251
|
-
message.content
|
|
55252
|
-
)
|
|
55253
|
-
) : attachments.length === 1 ? /* @__PURE__ */ h(
|
|
55254
|
-
ChatAttachmentComponent,
|
|
55722
|
+
const messageBubbleAttachments = attachments.map((attachment) => ({
|
|
55723
|
+
id: attachment.id,
|
|
55724
|
+
name: attachment.name,
|
|
55725
|
+
url: attachment.url,
|
|
55726
|
+
size: attachment.size,
|
|
55727
|
+
thumbnail: typeof attachment.thumbnail === "string" ? attachment.thumbnail : void 0,
|
|
55728
|
+
preview: typeof attachment.preview === "string" ? attachment.preview : void 0,
|
|
55729
|
+
status: attachment.status ? String(attachment.status) : void 0,
|
|
55730
|
+
percentage: attachment.percentage,
|
|
55731
|
+
type: attachment.type
|
|
55732
|
+
}));
|
|
55733
|
+
const handleMessageBubbleRetry = () => {
|
|
55734
|
+
handleMessageRetry(message);
|
|
55735
|
+
};
|
|
55736
|
+
const handleMessageBubbleAttachmentDownload = (attachment) => {
|
|
55737
|
+
const originalAttachment = attachments.find(
|
|
55738
|
+
(item) => String(item.id) === String(attachment.id)
|
|
55739
|
+
);
|
|
55740
|
+
if (originalAttachment && UChat?.onAttachmentDownload?.value) {
|
|
55741
|
+
return UChat.onAttachmentDownload.value(originalAttachment);
|
|
55742
|
+
}
|
|
55743
|
+
};
|
|
55744
|
+
return /* @__PURE__ */ h(
|
|
55745
|
+
_UMessageBubble,
|
|
55255
55746
|
{
|
|
55256
|
-
message,
|
|
55257
|
-
|
|
55258
|
-
|
|
55747
|
+
key: String(message.id),
|
|
55748
|
+
type: MessageBubbleType.MESSAGE,
|
|
55749
|
+
isOwn: Boolean(message.isOwn),
|
|
55750
|
+
content: message.content,
|
|
55751
|
+
timestamp: message.timestamp,
|
|
55752
|
+
title: message.title,
|
|
55753
|
+
status: message.status,
|
|
55754
|
+
attachments: messageBubbleAttachments,
|
|
55755
|
+
uploadProps: props.uploadProps,
|
|
55756
|
+
retryText: mergedRetryTextRef.value,
|
|
55757
|
+
actions: getMessageBubbleActions(message),
|
|
55758
|
+
onRetry: handleMessageBubbleRetry,
|
|
55759
|
+
onAttachmentDownload: handleMessageBubbleAttachmentDownload
|
|
55259
55760
|
},
|
|
55260
55761
|
{
|
|
55261
|
-
|
|
55762
|
+
bubbleActions: slots.bubbleActions ? () => slots.bubbleActions?.(message) : void 0,
|
|
55763
|
+
messageStatus: slots.messageStatus ? () => slots.messageStatus?.(message) : void 0,
|
|
55764
|
+
messageAttachment: slots.messageAttachment ? () => slots.messageAttachment?.(message) : void 0,
|
|
55262
55765
|
"upload-file-title": slots.messageAttachmentTitle,
|
|
55263
55766
|
"upload-file-subtitle": slots.messageAttachmentSubtitle
|
|
55264
55767
|
}
|
|
55265
|
-
) : null;
|
|
55266
|
-
const messageContent = /* @__PURE__ */ h(
|
|
55267
|
-
"div",
|
|
55268
|
-
{
|
|
55269
|
-
key: message.id,
|
|
55270
|
-
class: [
|
|
55271
|
-
`${mergedClsPrefixRef.value}-chat-main__message`,
|
|
55272
|
-
isOwn ? `${mergedClsPrefixRef.value}-chat-main__message--own` : `${mergedClsPrefixRef.value}-chat-main__message--other`
|
|
55273
|
-
]
|
|
55274
|
-
},
|
|
55275
|
-
/* @__PURE__ */ h(
|
|
55276
|
-
"div",
|
|
55277
|
-
{
|
|
55278
|
-
class: [
|
|
55279
|
-
`${mergedClsPrefixRef.value}-chat-main__message-wrapper`,
|
|
55280
|
-
isOwn ? `${mergedClsPrefixRef.value}-chat-main__message-wrapper--own` : `${mergedClsPrefixRef.value}-chat-main__message-wrapper--other`
|
|
55281
|
-
]
|
|
55282
|
-
},
|
|
55283
|
-
hasBubbleActionsSlot ? /* @__PURE__ */ h(
|
|
55284
|
-
"div",
|
|
55285
|
-
{
|
|
55286
|
-
onContextmenu: (e) => {
|
|
55287
|
-
e.preventDefault();
|
|
55288
|
-
contextMenuShow.value = false;
|
|
55289
|
-
void nextTick().then(() => {
|
|
55290
|
-
contextMenuShow.value = true;
|
|
55291
|
-
contextMenuMessage.value = message;
|
|
55292
|
-
});
|
|
55293
|
-
}
|
|
55294
|
-
},
|
|
55295
|
-
slots.bubbleActions?.(message),
|
|
55296
|
-
messageBubbleContent
|
|
55297
|
-
) : hasBubbleActionsConfig ? /* @__PURE__ */ h(
|
|
55298
|
-
_UDropdown,
|
|
55299
|
-
{
|
|
55300
|
-
show: isContextMenuForThisMessage,
|
|
55301
|
-
onUpdateShow: (show) => {
|
|
55302
|
-
if (!show && contextMenuMessage.value?.id === message.id) {
|
|
55303
|
-
contextMenuShow.value = false;
|
|
55304
|
-
}
|
|
55305
|
-
},
|
|
55306
|
-
onClickoutside: () => {
|
|
55307
|
-
if (contextMenuMessage.value?.id === message.id) {
|
|
55308
|
-
contextMenuShow.value = false;
|
|
55309
|
-
}
|
|
55310
|
-
},
|
|
55311
|
-
trigger: "manual",
|
|
55312
|
-
placement: "bottom-start",
|
|
55313
|
-
options: messageContextMenuOptions.value,
|
|
55314
|
-
onSelect: handleContextMenuSelect
|
|
55315
|
-
},
|
|
55316
|
-
{
|
|
55317
|
-
default: () => /* @__PURE__ */ h(
|
|
55318
|
-
"div",
|
|
55319
|
-
{
|
|
55320
|
-
onContextmenu: (event) => {
|
|
55321
|
-
event.preventDefault();
|
|
55322
|
-
contextMenuShow.value = false;
|
|
55323
|
-
void nextTick().then(() => {
|
|
55324
|
-
contextMenuShow.value = true;
|
|
55325
|
-
contextMenuMessage.value = message;
|
|
55326
|
-
});
|
|
55327
|
-
}
|
|
55328
|
-
},
|
|
55329
|
-
messageBubbleContent
|
|
55330
|
-
)
|
|
55331
|
-
}
|
|
55332
|
-
) : messageBubbleContent,
|
|
55333
|
-
/* @__PURE__ */ h(
|
|
55334
|
-
"div",
|
|
55335
|
-
{
|
|
55336
|
-
class: [
|
|
55337
|
-
`${mergedClsPrefixRef.value}-chat-main__message-meta`,
|
|
55338
|
-
isOwn ? `${mergedClsPrefixRef.value}-chat-main__message-meta--own` : `${mergedClsPrefixRef.value}-chat-main__message-meta--other`,
|
|
55339
|
-
message.status === MessageStatus.RETRY && `${mergedClsPrefixRef.value}-chat-main__message-meta--retry`
|
|
55340
|
-
]
|
|
55341
|
-
},
|
|
55342
|
-
message.status === MessageStatus.RETRY ? /* @__PURE__ */ h(
|
|
55343
|
-
"div",
|
|
55344
|
-
{
|
|
55345
|
-
class: `${mergedClsPrefixRef.value}-chat-main__message-retry`,
|
|
55346
|
-
onClick: () => {
|
|
55347
|
-
handleMessageRetry(message);
|
|
55348
|
-
},
|
|
55349
|
-
style: { cursor: "pointer" }
|
|
55350
|
-
},
|
|
55351
|
-
/* @__PURE__ */ h(
|
|
55352
|
-
UIcon$1,
|
|
55353
|
-
{
|
|
55354
|
-
size: 16,
|
|
55355
|
-
component: statusIconMapper$1[MessageStatus.RETRY],
|
|
55356
|
-
class: `${mergedClsPrefixRef.value}-chat-main__message-retry-icon`,
|
|
55357
|
-
theme: themeRef.value.peers.StatusIcon,
|
|
55358
|
-
themeOverrides: themeRef.value.peerOverrides.StatusIcon
|
|
55359
|
-
}
|
|
55360
|
-
),
|
|
55361
|
-
/* @__PURE__ */ h(
|
|
55362
|
-
"span",
|
|
55363
|
-
{
|
|
55364
|
-
class: `${mergedClsPrefixRef.value}-chat-main__message-retry-text`
|
|
55365
|
-
},
|
|
55366
|
-
mergedRetryTextRef.value
|
|
55367
|
-
)
|
|
55368
|
-
) : /* @__PURE__ */ h(Fragment, null, /* @__PURE__ */ h(
|
|
55369
|
-
"span",
|
|
55370
|
-
{
|
|
55371
|
-
class: `${mergedClsPrefixRef.value}-chat-main__message-time`
|
|
55372
|
-
},
|
|
55373
|
-
message.timestamp
|
|
55374
|
-
), isOwn && message.status && /* @__PURE__ */ h(
|
|
55375
|
-
"div",
|
|
55376
|
-
{
|
|
55377
|
-
class: `${mergedClsPrefixRef.value}-chat-main__message-status`
|
|
55378
|
-
},
|
|
55379
|
-
slots.messageStatus ? slots.messageStatus(message) : statusIconMapper$1[message.status] && /* @__PURE__ */ h(
|
|
55380
|
-
UIcon$1,
|
|
55381
|
-
{
|
|
55382
|
-
size: 16,
|
|
55383
|
-
component: statusIconMapper$1[message.status],
|
|
55384
|
-
class: [
|
|
55385
|
-
`${mergedClsPrefixRef.value}-chat-main__message-status-icon`,
|
|
55386
|
-
`${mergedClsPrefixRef.value}-chat-main__message-status-icon--${String(
|
|
55387
|
-
message.status
|
|
55388
|
-
)}`
|
|
55389
|
-
],
|
|
55390
|
-
theme: themeRef.value.peers.StatusIcon,
|
|
55391
|
-
themeOverrides: themeRef.value.peerOverrides.StatusIcon
|
|
55392
|
-
}
|
|
55393
|
-
)
|
|
55394
|
-
))
|
|
55395
|
-
)
|
|
55396
|
-
)
|
|
55397
55768
|
);
|
|
55398
|
-
return messageContent;
|
|
55399
55769
|
};
|
|
55400
55770
|
const renderSkeletonMessage = (isOwn, index) => {
|
|
55401
55771
|
return /* @__PURE__ */ h(
|
|
@@ -55447,10 +55817,6 @@ var _UChatMessages = defineComponent({
|
|
|
55447
55817
|
renderSkeletonMessage,
|
|
55448
55818
|
renderDateSeparator,
|
|
55449
55819
|
renderUnreadNotification,
|
|
55450
|
-
contextMenuShow,
|
|
55451
|
-
contextMenuMessage,
|
|
55452
|
-
messageContextMenuOptions,
|
|
55453
|
-
handleContextMenuSelect,
|
|
55454
55820
|
cssVars: cssVarsRef,
|
|
55455
55821
|
themeClass: themeClassHandle?.themeClass,
|
|
55456
55822
|
onRender: themeClassHandle?.onRender
|
|
@@ -55557,89 +55923,323 @@ var _UChatMessages = defineComponent({
|
|
|
55557
55923
|
background: "transparent"
|
|
55558
55924
|
}
|
|
55559
55925
|
},
|
|
55560
|
-
/* @__PURE__ */ h(
|
|
55561
|
-
|
|
55562
|
-
|
|
55563
|
-
|
|
55564
|
-
onContextmenu: (event) => {
|
|
55565
|
-
const target = event.target;
|
|
55566
|
-
const messagesContainer = event.currentTarget;
|
|
55567
|
-
if (target === messagesContainer) {
|
|
55568
|
-
event.preventDefault();
|
|
55569
|
-
this.contextMenuShow = false;
|
|
55570
|
-
}
|
|
55926
|
+
/* @__PURE__ */ h("div", { class: `${mergedClsPrefixRef}-chat-main__messages-container` }, messagesWithDates.map(
|
|
55927
|
+
(item) => {
|
|
55928
|
+
if (item.type === "date-separator") {
|
|
55929
|
+
return renderDateSeparator(item.date ?? "");
|
|
55571
55930
|
}
|
|
55572
|
-
|
|
55573
|
-
|
|
55574
|
-
(item) => {
|
|
55575
|
-
if (item.type === "date-separator") {
|
|
55576
|
-
return renderDateSeparator(item.date ?? "");
|
|
55577
|
-
}
|
|
55578
|
-
if (item.type === "unread-notification") {
|
|
55579
|
-
return renderUnreadNotification();
|
|
55580
|
-
}
|
|
55581
|
-
const message = item;
|
|
55582
|
-
if (message.type === ChatMessageType.MARK) {
|
|
55583
|
-
return renderMarkMessage(message);
|
|
55584
|
-
}
|
|
55585
|
-
return renderMessage(message);
|
|
55931
|
+
if (item.type === "unread-notification") {
|
|
55932
|
+
return renderUnreadNotification();
|
|
55586
55933
|
}
|
|
55587
|
-
|
|
55588
|
-
|
|
55934
|
+
const message = item;
|
|
55935
|
+
if (message.type === ChatMessageType.MARK) {
|
|
55936
|
+
return renderMarkMessage(message);
|
|
55937
|
+
}
|
|
55938
|
+
return renderMessage(message);
|
|
55939
|
+
}
|
|
55940
|
+
))
|
|
55589
55941
|
)
|
|
55590
55942
|
);
|
|
55591
55943
|
}
|
|
55592
55944
|
});
|
|
55593
55945
|
|
|
55594
55946
|
const SENDING_DELAY = 100;
|
|
55595
|
-
|
|
55947
|
+
const chatMainAreaProps = {
|
|
55948
|
+
...useTheme.props,
|
|
55949
|
+
selectedChat: {
|
|
55950
|
+
type: Object,
|
|
55951
|
+
default: void 0
|
|
55952
|
+
},
|
|
55953
|
+
messages: {
|
|
55954
|
+
type: Array,
|
|
55955
|
+
default: () => []
|
|
55956
|
+
},
|
|
55957
|
+
typingChatIds: {
|
|
55958
|
+
type: Array,
|
|
55959
|
+
default: () => []
|
|
55960
|
+
},
|
|
55961
|
+
loading: {
|
|
55962
|
+
type: Boolean,
|
|
55963
|
+
default: false
|
|
55964
|
+
},
|
|
55965
|
+
loadingCount: {
|
|
55966
|
+
type: Number,
|
|
55967
|
+
default: 10
|
|
55968
|
+
},
|
|
55969
|
+
headerButtonProps: {
|
|
55970
|
+
type: Object,
|
|
55971
|
+
default: void 0
|
|
55972
|
+
},
|
|
55973
|
+
headerIconProps: {
|
|
55974
|
+
type: Object,
|
|
55975
|
+
default: void 0
|
|
55976
|
+
},
|
|
55977
|
+
headerShareButtonProps: {
|
|
55978
|
+
type: Object,
|
|
55979
|
+
default: void 0
|
|
55980
|
+
},
|
|
55981
|
+
headerProfileButtonProps: {
|
|
55982
|
+
type: Object,
|
|
55983
|
+
default: void 0
|
|
55984
|
+
},
|
|
55985
|
+
headerCloseButtonProps: {
|
|
55986
|
+
type: Object,
|
|
55987
|
+
default: void 0
|
|
55988
|
+
},
|
|
55989
|
+
headerShareIconProps: {
|
|
55990
|
+
type: Object,
|
|
55991
|
+
default: void 0
|
|
55992
|
+
},
|
|
55993
|
+
headerProfileIconProps: {
|
|
55994
|
+
type: Object,
|
|
55995
|
+
default: void 0
|
|
55996
|
+
},
|
|
55997
|
+
messageUploadProps: {
|
|
55998
|
+
type: Object,
|
|
55999
|
+
default: void 0
|
|
56000
|
+
},
|
|
56001
|
+
footerInputProps: {
|
|
56002
|
+
type: Object,
|
|
56003
|
+
default: void 0
|
|
56004
|
+
},
|
|
56005
|
+
footerButtonProps: {
|
|
56006
|
+
type: Object,
|
|
56007
|
+
default: void 0
|
|
56008
|
+
},
|
|
56009
|
+
footerUploadProps: {
|
|
56010
|
+
type: Object,
|
|
56011
|
+
default: void 0
|
|
56012
|
+
},
|
|
56013
|
+
footerIconProps: {
|
|
56014
|
+
type: Object,
|
|
56015
|
+
default: void 0
|
|
56016
|
+
},
|
|
56017
|
+
footerSuffixIconProps: {
|
|
56018
|
+
type: Object,
|
|
56019
|
+
default: void 0
|
|
56020
|
+
},
|
|
56021
|
+
showAttachButton: {
|
|
56022
|
+
type: Boolean,
|
|
56023
|
+
default: true
|
|
56024
|
+
},
|
|
56025
|
+
inputPlaceholder: {
|
|
56026
|
+
type: String,
|
|
56027
|
+
default: void 0
|
|
56028
|
+
},
|
|
56029
|
+
retryText: {
|
|
56030
|
+
type: String,
|
|
56031
|
+
default: void 0
|
|
56032
|
+
},
|
|
56033
|
+
typingText: {
|
|
56034
|
+
type: String,
|
|
56035
|
+
default: void 0
|
|
56036
|
+
},
|
|
56037
|
+
closeButtonText: {
|
|
56038
|
+
type: String,
|
|
56039
|
+
default: void 0
|
|
56040
|
+
},
|
|
56041
|
+
shareButtonTooltip: {
|
|
56042
|
+
type: String,
|
|
56043
|
+
default: void 0
|
|
56044
|
+
},
|
|
56045
|
+
profileButtonTooltip: {
|
|
56046
|
+
type: String,
|
|
56047
|
+
default: void 0
|
|
56048
|
+
},
|
|
56049
|
+
unreadNotificationText: {
|
|
56050
|
+
type: String,
|
|
56051
|
+
default: void 0
|
|
56052
|
+
},
|
|
56053
|
+
bubbleActions: {
|
|
56054
|
+
type: Array,
|
|
56055
|
+
default: void 0
|
|
56056
|
+
},
|
|
56057
|
+
onMessageSend: {
|
|
56058
|
+
type: Function,
|
|
56059
|
+
default: void 0
|
|
56060
|
+
},
|
|
56061
|
+
onMessageRetry: {
|
|
56062
|
+
type: Function,
|
|
56063
|
+
default: void 0
|
|
56064
|
+
},
|
|
56065
|
+
onFooterInputChange: {
|
|
56066
|
+
type: Function,
|
|
56067
|
+
default: void 0
|
|
56068
|
+
},
|
|
56069
|
+
onChatClose: {
|
|
56070
|
+
type: Function,
|
|
56071
|
+
default: void 0
|
|
56072
|
+
},
|
|
56073
|
+
onChatShare: {
|
|
56074
|
+
type: Function,
|
|
56075
|
+
default: void 0
|
|
56076
|
+
},
|
|
56077
|
+
onUserProfile: {
|
|
56078
|
+
type: Function,
|
|
56079
|
+
default: void 0
|
|
56080
|
+
},
|
|
56081
|
+
onAttachmentUpload: {
|
|
56082
|
+
type: Function,
|
|
56083
|
+
default: void 0
|
|
56084
|
+
},
|
|
56085
|
+
onAttachmentDownload: {
|
|
56086
|
+
type: Function,
|
|
56087
|
+
default: void 0
|
|
56088
|
+
},
|
|
56089
|
+
onMessagesScrollToTop: {
|
|
56090
|
+
type: Function,
|
|
56091
|
+
default: void 0
|
|
56092
|
+
},
|
|
56093
|
+
onMessagesScrollToBottom: {
|
|
56094
|
+
type: Function,
|
|
56095
|
+
default: void 0
|
|
56096
|
+
}
|
|
56097
|
+
};
|
|
56098
|
+
var _UChatMainArea = defineComponent({
|
|
55596
56099
|
name: "ChatMainArea",
|
|
55597
|
-
|
|
56100
|
+
props: chatMainAreaProps,
|
|
56101
|
+
setup(props, { slots }) {
|
|
56102
|
+
const UChat = inject(chatInjectionKey, null);
|
|
56103
|
+
const isStandalone = !UChat;
|
|
56104
|
+
const { mergedClsPrefixRef } = useConfig(props);
|
|
56105
|
+
const mergedThemeRef = UChat?.mergedThemeRef ?? useTheme("Chat", "-chat", style$15, chatLight, props, mergedClsPrefixRef);
|
|
55598
56106
|
const { localeRef } = useLocale("Chat");
|
|
55599
|
-
const
|
|
55600
|
-
|
|
55601
|
-
|
|
55602
|
-
|
|
55603
|
-
|
|
55604
|
-
|
|
55605
|
-
|
|
55606
|
-
|
|
55607
|
-
|
|
55608
|
-
|
|
55609
|
-
|
|
55610
|
-
|
|
55611
|
-
|
|
55612
|
-
|
|
55613
|
-
|
|
55614
|
-
|
|
55615
|
-
|
|
55616
|
-
|
|
55617
|
-
|
|
55618
|
-
|
|
55619
|
-
|
|
55620
|
-
|
|
55621
|
-
|
|
55622
|
-
|
|
55623
|
-
|
|
55624
|
-
|
|
55625
|
-
|
|
55626
|
-
|
|
55627
|
-
|
|
55628
|
-
|
|
55629
|
-
|
|
55630
|
-
|
|
55631
|
-
|
|
55632
|
-
|
|
55633
|
-
|
|
55634
|
-
|
|
55635
|
-
|
|
55636
|
-
|
|
55637
|
-
|
|
55638
|
-
|
|
55639
|
-
|
|
55640
|
-
|
|
55641
|
-
|
|
55642
|
-
|
|
56107
|
+
const selectedChatRef = UChat?.selectedChatRef ?? toRef(props, "selectedChat");
|
|
56108
|
+
const messagesRef = UChat?.messagesRef ?? toRef(props, "messages");
|
|
56109
|
+
const typingChatIdsRef = UChat?.typingChatIdsRef ?? toRef(props, "typingChatIds");
|
|
56110
|
+
const messagesLoadingRef = UChat?.messagesLoadingRef ?? toRef(props, "loading");
|
|
56111
|
+
const messagesLoadingCountRef = UChat?.messagesLoadingCountRef ?? toRef(props, "loadingCount");
|
|
56112
|
+
const headerButtonPropsRef = UChat?.headerButtonPropsRef ?? toRef(props, "headerButtonProps");
|
|
56113
|
+
const headerIconPropsRef = UChat?.headerIconPropsRef ?? toRef(props, "headerIconProps");
|
|
56114
|
+
const headerShareButtonPropsRef = UChat?.headerShareButtonPropsRef ?? toRef(props, "headerShareButtonProps");
|
|
56115
|
+
const headerProfileButtonPropsRef = UChat?.headerProfileButtonPropsRef ?? toRef(props, "headerProfileButtonProps");
|
|
56116
|
+
const headerCloseButtonPropsRef = UChat?.headerCloseButtonPropsRef ?? toRef(props, "headerCloseButtonProps");
|
|
56117
|
+
const headerShareIconPropsRef = UChat?.headerShareIconPropsRef ?? toRef(props, "headerShareIconProps");
|
|
56118
|
+
const headerProfileIconPropsRef = UChat?.headerProfileIconPropsRef ?? toRef(props, "headerProfileIconProps");
|
|
56119
|
+
const messageUploadPropsRef = UChat?.messageUploadPropsRef ?? toRef(props, "messageUploadProps");
|
|
56120
|
+
const footerInputPropsRef = UChat?.footerInputPropsRef ?? toRef(props, "footerInputProps");
|
|
56121
|
+
const footerButtonPropsRef = UChat?.footerButtonPropsRef ?? toRef(props, "footerButtonProps");
|
|
56122
|
+
const footerUploadPropsRef = UChat?.footerUploadPropsRef ?? toRef(props, "footerUploadProps");
|
|
56123
|
+
const footerIconPropsRef = UChat?.footerIconPropsRef ?? toRef(props, "footerIconProps");
|
|
56124
|
+
const footerSuffixIconPropsRef = UChat?.footerSuffixIconPropsRef ?? toRef(props, "footerSuffixIconProps");
|
|
56125
|
+
const inputPlaceholderRef = UChat?.inputPlaceholderRef ?? computed(
|
|
56126
|
+
() => props.inputPlaceholder ?? localeRef.value.inputPlaceholder
|
|
56127
|
+
);
|
|
56128
|
+
const retryTextRef = UChat?.retryTextRef ?? computed(() => props.retryText ?? localeRef.value.retryText);
|
|
56129
|
+
const typingTextRef = UChat?.typingTextRef ?? computed(() => props.typingText ?? localeRef.value.typingText);
|
|
56130
|
+
const closeButtonTextRef = UChat?.closeButtonTextRef ?? computed(
|
|
56131
|
+
() => props.closeButtonText ?? localeRef.value.closeButtonText
|
|
56132
|
+
);
|
|
56133
|
+
const shareButtonTooltipRef = UChat?.shareButtonTooltipRef ?? computed(
|
|
56134
|
+
() => props.shareButtonTooltip ?? localeRef.value.shareButtonTooltip
|
|
56135
|
+
);
|
|
56136
|
+
const profileButtonTooltipRef = UChat?.profileButtonTooltipRef ?? computed(
|
|
56137
|
+
() => props.profileButtonTooltip ?? localeRef.value.profileButtonTooltip
|
|
56138
|
+
);
|
|
56139
|
+
const unreadNotificationTextRef = UChat?.unreadNotificationTextRef ?? computed(
|
|
56140
|
+
() => props.unreadNotificationText ?? localeRef.value.unreadNotificationText
|
|
56141
|
+
);
|
|
56142
|
+
const notificationsShownSetRef = UChat?.notificationsShownSetRef ?? ref(/* @__PURE__ */ new Set());
|
|
56143
|
+
const unreadCountsBeforeReadRef = UChat?.unreadCountsBeforeReadRef ?? ref({});
|
|
56144
|
+
const markNotificationShown = UChat?.markNotificationShown ?? ((chatId) => {
|
|
56145
|
+
notificationsShownSetRef.value.add(chatId);
|
|
56146
|
+
notificationsShownSetRef.value = new Set(notificationsShownSetRef.value);
|
|
56147
|
+
});
|
|
56148
|
+
const editMessageIdRef = UChat?.editMessageIdRef ?? ref(null);
|
|
56149
|
+
const startEditingMessageRef = UChat?.startEditingMessage ?? ref();
|
|
56150
|
+
const bubbleActionsRef = UChat?.bubbleActionsRef ?? toRef(props, "bubbleActions");
|
|
56151
|
+
const handleMessageSend = UChat?.handleMessageSend ?? ((content, attachments) => props.onMessageSend?.(content, attachments));
|
|
56152
|
+
const handleMessageRetry = UChat?.handleMessageRetry ?? ((message) => props.onMessageRetry?.(message));
|
|
56153
|
+
const handleFooterInputChange = UChat?.handleFooterInputChange ?? ((value, chatId) => props.onFooterInputChange?.(value, chatId));
|
|
56154
|
+
const onAttachmentUpload = UChat?.onAttachmentUpload ?? toRef(props, "onAttachmentUpload");
|
|
56155
|
+
const onChatClose = UChat?.onChatClose ?? toRef(props, "onChatClose");
|
|
56156
|
+
const onChatShare = UChat?.onChatShare ?? toRef(props, "onChatShare");
|
|
56157
|
+
const onUserProfile = UChat?.onUserProfile ?? toRef(props, "onUserProfile");
|
|
56158
|
+
const onMessagesScrollToTop = UChat?.onMessagesScrollToTop ?? toRef(props, "onMessagesScrollToTop");
|
|
56159
|
+
const onMessagesScrollToBottom = UChat?.onMessagesScrollToBottom ?? toRef(props, "onMessagesScrollToBottom");
|
|
56160
|
+
const cssVarsRef = computed(() => {
|
|
56161
|
+
const {
|
|
56162
|
+
common: {
|
|
56163
|
+
cubicBezierEaseInOut,
|
|
56164
|
+
brandPrimary500,
|
|
56165
|
+
staticGreen,
|
|
56166
|
+
staticRed,
|
|
56167
|
+
textPrimary,
|
|
56168
|
+
textSecondary,
|
|
56169
|
+
textTertiary
|
|
56170
|
+
},
|
|
56171
|
+
self: {
|
|
56172
|
+
backgroundColor,
|
|
56173
|
+
borderColor,
|
|
56174
|
+
sidebarItemSubtitleColor,
|
|
56175
|
+
mainBackgroundColor,
|
|
56176
|
+
headerBackgroundColor,
|
|
56177
|
+
headerBorderColor,
|
|
56178
|
+
headerTitleColor,
|
|
56179
|
+
messageBubbleBackgroundColorOwn,
|
|
56180
|
+
messageBubbleBackgroundColorOther,
|
|
56181
|
+
messageBubbleTextColorOwn,
|
|
56182
|
+
messageBubbleTextColorOther,
|
|
56183
|
+
messageTimeColor,
|
|
56184
|
+
messageStatusColor,
|
|
56185
|
+
attachmentBackgroundColorOwn,
|
|
56186
|
+
attachmentBackgroundColorOther,
|
|
56187
|
+
footerBackgroundColor,
|
|
56188
|
+
footerBorderColor,
|
|
56189
|
+
inputBackgroundColor,
|
|
56190
|
+
inputBorderColor,
|
|
56191
|
+
inputSuffixColor,
|
|
56192
|
+
unreadNotificationBackgroundColor,
|
|
56193
|
+
unreadNotificationTextColor,
|
|
56194
|
+
typingIndicatorColor,
|
|
56195
|
+
dateSeparatorColor,
|
|
56196
|
+
dateSeparatorBackgroundColor,
|
|
56197
|
+
borderRadius,
|
|
56198
|
+
errorColor
|
|
56199
|
+
}
|
|
56200
|
+
} = mergedThemeRef.value;
|
|
56201
|
+
return {
|
|
56202
|
+
"--u-bezier": cubicBezierEaseInOut,
|
|
56203
|
+
"--u-color-primary": brandPrimary500,
|
|
56204
|
+
"--u-color-success": staticGreen,
|
|
56205
|
+
"--u-color-error": errorColor || staticRed,
|
|
56206
|
+
"--u-text-color-base": textPrimary,
|
|
56207
|
+
"--u-text-color-secondary": textSecondary,
|
|
56208
|
+
"--u-text-color-disabled": textTertiary,
|
|
56209
|
+
"--u-background-color": backgroundColor,
|
|
56210
|
+
"--u-border-color": borderColor,
|
|
56211
|
+
"--u-sidebar-item-subtitle-color": sidebarItemSubtitleColor,
|
|
56212
|
+
"--u-main-background-color": mainBackgroundColor,
|
|
56213
|
+
"--u-header-background-color": headerBackgroundColor,
|
|
56214
|
+
"--u-header-border-color": headerBorderColor,
|
|
56215
|
+
"--u-header-title-color": headerTitleColor,
|
|
56216
|
+
"--u-message-bubble-background-color-own": messageBubbleBackgroundColorOwn,
|
|
56217
|
+
"--u-message-bubble-background-color-other": messageBubbleBackgroundColorOther,
|
|
56218
|
+
"--u-message-bubble-text-color-own": messageBubbleTextColorOwn,
|
|
56219
|
+
"--u-message-bubble-text-color-other": messageBubbleTextColorOther,
|
|
56220
|
+
"--u-message-time-color": messageTimeColor,
|
|
56221
|
+
"--u-message-status-color": messageStatusColor,
|
|
56222
|
+
"--u-attachment-background-color-own": attachmentBackgroundColorOwn,
|
|
56223
|
+
"--u-attachment-background-color-other": attachmentBackgroundColorOther,
|
|
56224
|
+
"--u-footer-background-color": footerBackgroundColor,
|
|
56225
|
+
"--u-footer-border-color": footerBorderColor,
|
|
56226
|
+
"--u-input-background-color": inputBackgroundColor,
|
|
56227
|
+
"--u-input-border-color": inputBorderColor,
|
|
56228
|
+
"--u-input-suffix-color": inputSuffixColor,
|
|
56229
|
+
"--u-unread-notification-background-color": unreadNotificationBackgroundColor,
|
|
56230
|
+
"--u-unread-notification-text-color": unreadNotificationTextColor,
|
|
56231
|
+
"--u-typing-indicator-color": typingIndicatorColor,
|
|
56232
|
+
"--u-date-separator-color": dateSeparatorColor,
|
|
56233
|
+
"--u-date-separator-background-color": dateSeparatorBackgroundColor,
|
|
56234
|
+
"--u-border-radius": borderRadius
|
|
56235
|
+
};
|
|
56236
|
+
});
|
|
56237
|
+
const themeClassHandle = useThemeClass(
|
|
56238
|
+
"chat-main-area",
|
|
56239
|
+
computed(() => ""),
|
|
56240
|
+
cssVarsRef,
|
|
56241
|
+
props
|
|
56242
|
+
);
|
|
55643
56243
|
const messagesBodyRef = ref();
|
|
55644
56244
|
const inputRef = ref();
|
|
55645
56245
|
const inputValue = ref("");
|
|
@@ -55720,6 +56320,11 @@ var ChatMainArea = defineComponent({
|
|
|
55720
56320
|
},
|
|
55721
56321
|
{ deep: true, flush: "post" }
|
|
55722
56322
|
);
|
|
56323
|
+
onMounted(() => {
|
|
56324
|
+
void nextTick(() => {
|
|
56325
|
+
scrollToBottom();
|
|
56326
|
+
});
|
|
56327
|
+
});
|
|
55723
56328
|
watch(unreadMessagesCount, (newCount, oldCount) => {
|
|
55724
56329
|
if (selectedChatRef.value && newCount === 0 && oldCount > 0) {
|
|
55725
56330
|
showNotificationManually.value = false;
|
|
@@ -55763,22 +56368,24 @@ var ChatMainArea = defineComponent({
|
|
|
55763
56368
|
lastScrollTop.value = scrollTop;
|
|
55764
56369
|
};
|
|
55765
56370
|
function scrollToBottom() {
|
|
55766
|
-
const
|
|
55767
|
-
if (!
|
|
56371
|
+
const element = messagesBodyRef.value;
|
|
56372
|
+
if (!element)
|
|
55768
56373
|
return;
|
|
55769
|
-
if ("$el" in
|
|
55770
|
-
const scrollContainer =
|
|
56374
|
+
if ("$el" in element && element.$el instanceof HTMLElement) {
|
|
56375
|
+
const scrollContainer = element.$el.querySelector(
|
|
56376
|
+
".u-scrollbar-content"
|
|
56377
|
+
);
|
|
55771
56378
|
if (scrollContainer) {
|
|
55772
56379
|
scrollContainer.scrollTop = scrollContainer.scrollHeight;
|
|
55773
56380
|
return;
|
|
55774
56381
|
}
|
|
55775
56382
|
}
|
|
55776
|
-
if ("scrollTo" in
|
|
55777
|
-
|
|
56383
|
+
if ("scrollTo" in element && typeof element.scrollTo === "function") {
|
|
56384
|
+
element.scrollTo({ top: 999999, behavior: "auto" });
|
|
55778
56385
|
return;
|
|
55779
56386
|
}
|
|
55780
|
-
if ("scrollTop" in
|
|
55781
|
-
|
|
56387
|
+
if ("scrollTop" in element && "scrollHeight" in element) {
|
|
56388
|
+
element.scrollTop = element.scrollHeight;
|
|
55782
56389
|
}
|
|
55783
56390
|
}
|
|
55784
56391
|
const toKeyString = (value) => {
|
|
@@ -56155,7 +56762,7 @@ var ChatMainArea = defineComponent({
|
|
|
56155
56762
|
class: `${mergedClsPrefixRef.value}-chat-main__input-container`
|
|
56156
56763
|
},
|
|
56157
56764
|
{
|
|
56158
|
-
default: () => /* @__PURE__ */ h(Fragment, null, /* @__PURE__ */ h(_UUploadTrigger, { abstract: true }, {
|
|
56765
|
+
default: () => /* @__PURE__ */ h(Fragment, null, props.showAttachButton && /* @__PURE__ */ h(_UUploadTrigger, { abstract: true }, {
|
|
56159
56766
|
default: ({
|
|
56160
56767
|
handleClick
|
|
56161
56768
|
}) => /* @__PURE__ */ h(
|
|
@@ -56244,7 +56851,60 @@ var ChatMainArea = defineComponent({
|
|
|
56244
56851
|
}
|
|
56245
56852
|
));
|
|
56246
56853
|
};
|
|
56854
|
+
if (isStandalone) {
|
|
56855
|
+
provide(chatInjectionKey, {
|
|
56856
|
+
mergedClsPrefixRef,
|
|
56857
|
+
mergedThemeRef,
|
|
56858
|
+
selectedChatRef,
|
|
56859
|
+
messagesRef,
|
|
56860
|
+
typingChatIdsRef,
|
|
56861
|
+
messagesLoadingRef,
|
|
56862
|
+
messagesLoadingCountRef,
|
|
56863
|
+
headerButtonPropsRef,
|
|
56864
|
+
headerIconPropsRef,
|
|
56865
|
+
headerShareButtonPropsRef,
|
|
56866
|
+
headerProfileButtonPropsRef,
|
|
56867
|
+
headerCloseButtonPropsRef,
|
|
56868
|
+
headerShareIconPropsRef,
|
|
56869
|
+
headerProfileIconPropsRef,
|
|
56870
|
+
messageUploadPropsRef,
|
|
56871
|
+
footerInputPropsRef,
|
|
56872
|
+
footerButtonPropsRef,
|
|
56873
|
+
footerUploadPropsRef,
|
|
56874
|
+
footerIconPropsRef,
|
|
56875
|
+
footerSuffixIconPropsRef,
|
|
56876
|
+
inputPlaceholderRef,
|
|
56877
|
+
retryTextRef,
|
|
56878
|
+
typingTextRef,
|
|
56879
|
+
closeButtonTextRef,
|
|
56880
|
+
shareButtonTooltipRef,
|
|
56881
|
+
profileButtonTooltipRef,
|
|
56882
|
+
unreadNotificationTextRef,
|
|
56883
|
+
notificationsShownSetRef,
|
|
56884
|
+
unreadCountsBeforeReadRef,
|
|
56885
|
+
markNotificationShown,
|
|
56886
|
+
handleMessageSend,
|
|
56887
|
+
handleMessageRetry,
|
|
56888
|
+
handleFooterInputChange,
|
|
56889
|
+
startEditingMessage: startEditingMessageRef,
|
|
56890
|
+
editMessageIdRef,
|
|
56891
|
+
bubbleActionsRef,
|
|
56892
|
+
onAttachmentUpload,
|
|
56893
|
+
onAttachmentDownload: toRef(props, "onAttachmentDownload"),
|
|
56894
|
+
onChatClose,
|
|
56895
|
+
onChatShare,
|
|
56896
|
+
onUserProfile,
|
|
56897
|
+
onMessagesScrollToTop,
|
|
56898
|
+
onMessagesScrollToBottom
|
|
56899
|
+
});
|
|
56900
|
+
}
|
|
56247
56901
|
return {
|
|
56902
|
+
mergedClsPrefix: mergedClsPrefixRef,
|
|
56903
|
+
mergedTheme: mergedThemeRef,
|
|
56904
|
+
cssVars: cssVarsRef,
|
|
56905
|
+
themeClass: themeClassHandle?.themeClass,
|
|
56906
|
+
onRender: themeClassHandle?.onRender,
|
|
56907
|
+
isStandalone,
|
|
56248
56908
|
renderHeader,
|
|
56249
56909
|
renderMessages,
|
|
56250
56910
|
renderEditingBlock,
|
|
@@ -56259,18 +56919,41 @@ var ChatMainArea = defineComponent({
|
|
|
56259
56919
|
};
|
|
56260
56920
|
},
|
|
56261
56921
|
render() {
|
|
56262
|
-
|
|
56263
|
-
|
|
56264
|
-
|
|
56922
|
+
this.onRender?.();
|
|
56923
|
+
const { mergedClsPrefix } = this;
|
|
56924
|
+
const mainArea = /* @__PURE__ */ h(
|
|
56925
|
+
"div",
|
|
56265
56926
|
{
|
|
56266
|
-
|
|
56267
|
-
|
|
56268
|
-
|
|
56927
|
+
class: [
|
|
56928
|
+
`${mergedClsPrefix}-chat-main`,
|
|
56929
|
+
this.isStandalone && `${mergedClsPrefix}-chat-main--standalone`
|
|
56930
|
+
]
|
|
56269
56931
|
},
|
|
56932
|
+
!this.isStandalone && this.renderHeader(),
|
|
56933
|
+
/* @__PURE__ */ h(
|
|
56934
|
+
SafeTopScrollbar,
|
|
56935
|
+
{
|
|
56936
|
+
ref: "messagesBodyRef",
|
|
56937
|
+
class: `${mergedClsPrefix}-chat-main__body`,
|
|
56938
|
+
onScroll: this.handleMessagesScroll
|
|
56939
|
+
},
|
|
56940
|
+
{
|
|
56941
|
+
default: () => this.renderMessages()
|
|
56942
|
+
}
|
|
56943
|
+
),
|
|
56944
|
+
this.renderFooter()
|
|
56945
|
+
);
|
|
56946
|
+
if (!this.isStandalone) {
|
|
56947
|
+
return mainArea;
|
|
56948
|
+
}
|
|
56949
|
+
return /* @__PURE__ */ h(
|
|
56950
|
+
"div",
|
|
56270
56951
|
{
|
|
56271
|
-
|
|
56272
|
-
|
|
56273
|
-
|
|
56952
|
+
class: [`${mergedClsPrefix}-chat`, this.themeClass],
|
|
56953
|
+
style: this.cssVars
|
|
56954
|
+
},
|
|
56955
|
+
mainArea
|
|
56956
|
+
);
|
|
56274
56957
|
}
|
|
56275
56958
|
});
|
|
56276
56959
|
|
|
@@ -58310,7 +58993,7 @@ var _UChat = defineComponent({
|
|
|
58310
58993
|
chatItemSuffix: $slots.chatItemSuffix
|
|
58311
58994
|
})
|
|
58312
58995
|
]), this.selectedChatId && resolveSlot($slots.default, () => [
|
|
58313
|
-
/* @__PURE__ */ h(
|
|
58996
|
+
/* @__PURE__ */ h(_UChatMainArea, { ref: "mainAreaRef" }, {
|
|
58314
58997
|
headerActions: $slots.headerActions,
|
|
58315
58998
|
footerAttachIcon: $slots.footerAttachIcon,
|
|
58316
58999
|
footerSuffixIcon: $slots.footerSuffixIcon
|
|
@@ -65386,6 +66069,8 @@ const paginationProps = {
|
|
|
65386
66069
|
onUpdatePage: [Function, Array],
|
|
65387
66070
|
"onUpdate:pageSize": [Function, Array],
|
|
65388
66071
|
onUpdatePageSize: [Function, Array],
|
|
66072
|
+
onPrev: [Function, Array],
|
|
66073
|
+
onNext: [Function, Array],
|
|
65389
66074
|
/** @deprecated */
|
|
65390
66075
|
onPageSizeChange: [Function, Array],
|
|
65391
66076
|
/** @deprecated */
|
|
@@ -66181,12 +66866,18 @@ var _UPagination = defineComponent({
|
|
|
66181
66866
|
if (props.disabled || !mergedHasNextRef.value)
|
|
66182
66867
|
return;
|
|
66183
66868
|
const page = props.hasNext === void 0 ? Math.min(mergedPageRef.value + 1, mergedPageCountRef.value) : mergedPageRef.value + 1;
|
|
66869
|
+
const { onNext } = props;
|
|
66870
|
+
if (onNext)
|
|
66871
|
+
call(onNext, page);
|
|
66184
66872
|
doUpdatePage(page);
|
|
66185
66873
|
}
|
|
66186
66874
|
function backward() {
|
|
66187
66875
|
if (props.disabled || !mergedHasPrevRef.value)
|
|
66188
66876
|
return;
|
|
66189
66877
|
const page = Math.max(mergedPageRef.value - 1, 1);
|
|
66878
|
+
const { onPrev } = props;
|
|
66879
|
+
if (onPrev)
|
|
66880
|
+
call(onPrev, page);
|
|
66190
66881
|
doUpdatePage(page);
|
|
66191
66882
|
}
|
|
66192
66883
|
function fastForward() {
|
|
@@ -92678,7 +93369,7 @@ var _UIconBar = defineComponent({
|
|
|
92678
93369
|
const iconPackInputLight = {
|
|
92679
93370
|
...inputLight,
|
|
92680
93371
|
self(vars) {
|
|
92681
|
-
const originalInputSelf = self$
|
|
93372
|
+
const originalInputSelf = self$1p(vars);
|
|
92682
93373
|
const {
|
|
92683
93374
|
elementsDarkQuinary,
|
|
92684
93375
|
elementsPrimary
|
|
@@ -115800,6 +116491,7 @@ const UCarouselItem = wrap(_UCarouselItem);
|
|
|
115800
116491
|
const UCascader = wrap(_UCascader);
|
|
115801
116492
|
const UChat = wrap(_UChat);
|
|
115802
116493
|
const UChatListItems = wrap(_UChatListItems);
|
|
116494
|
+
const UChatMainArea = wrap(_UChatMainArea);
|
|
115803
116495
|
const UChatMessages = wrap(_UChatMessages);
|
|
115804
116496
|
const UCheckbox = wrap(_UCheckbox);
|
|
115805
116497
|
const UCheckboxGroup = wrap(_UCheckboxGroup);
|
|
@@ -115887,6 +116579,7 @@ const UMappingCardList = wrap(_UMappingCardList);
|
|
|
115887
116579
|
const UMarquee = wrap(_UMarquee);
|
|
115888
116580
|
const UMention = wrap(_UMention);
|
|
115889
116581
|
const UMenu = wrap(_UMenu);
|
|
116582
|
+
const UMessageBubble = wrap(_UMessageBubble);
|
|
115890
116583
|
const UModal = wrap(_UModal);
|
|
115891
116584
|
const UModalProvider = wrap(UModalProvider$1);
|
|
115892
116585
|
const UModalFullscreen = wrap(ModalFullscreen);
|
|
@@ -115961,6 +116654,10 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
115961
116654
|
ChatAttachmentStatus: ChatAttachmentStatus,
|
|
115962
116655
|
ChatMarkType: ChatMarkType,
|
|
115963
116656
|
ChatMessageType: ChatMessageType,
|
|
116657
|
+
MessageBubbleAttachmentStatus: MessageBubbleAttachmentStatus,
|
|
116658
|
+
MessageBubbleServiceVariant: MessageBubbleServiceVariant,
|
|
116659
|
+
MessageBubbleStatus: MessageBubbleStatus,
|
|
116660
|
+
MessageBubbleType: MessageBubbleType,
|
|
115964
116661
|
MessageStatus: MessageStatus,
|
|
115965
116662
|
NA: a,
|
|
115966
116663
|
NP: p,
|
|
@@ -115987,6 +116684,7 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
115987
116684
|
UCascader: UCascader,
|
|
115988
116685
|
UChat: UChat,
|
|
115989
116686
|
UChatListItems: UChatListItems,
|
|
116687
|
+
UChatMainArea: UChatMainArea,
|
|
115990
116688
|
UChatMessages: UChatMessages,
|
|
115991
116689
|
UCheckbox: UCheckbox,
|
|
115992
116690
|
UCheckboxGroup: UCheckboxGroup,
|
|
@@ -116082,6 +116780,7 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
116082
116780
|
UMarquee: UMarquee,
|
|
116083
116781
|
UMention: UMention,
|
|
116084
116782
|
UMenu: UMenu,
|
|
116783
|
+
UMessageBubble: UMessageBubble,
|
|
116085
116784
|
UMessageProvider: UMessageProvider,
|
|
116086
116785
|
UModal: UModal,
|
|
116087
116786
|
UModalFullscreen: UModalFullscreen,
|
|
@@ -116268,6 +116967,7 @@ var components = /*#__PURE__*/Object.freeze({
|
|
|
116268
116967
|
mappingCardLight: mappingCardLight,
|
|
116269
116968
|
mentionProps: mentionProps,
|
|
116270
116969
|
menuProps: menuProps,
|
|
116970
|
+
messageBubbleProps: messageBubbleProps,
|
|
116271
116971
|
messageProviderProps: messageProviderProps,
|
|
116272
116972
|
modalFullscreenProps: modalFullscreenProps,
|
|
116273
116973
|
modalProps: modalProps,
|
|
@@ -116361,7 +117061,7 @@ function useThemeVars() {
|
|
|
116361
117061
|
});
|
|
116362
117062
|
}
|
|
116363
117063
|
|
|
116364
|
-
var version = "2.
|
|
117064
|
+
var version = "2.3.0";
|
|
116365
117065
|
|
|
116366
117066
|
function create({
|
|
116367
117067
|
componentPrefix = "U",
|
|
@@ -116473,6 +117173,7 @@ const lightTheme = {
|
|
|
116473
117173
|
Marquee: marqueeLight,
|
|
116474
117174
|
Menu: menuLight,
|
|
116475
117175
|
Mention: mentionLight,
|
|
117176
|
+
MessageBubble: messageBubbleLight,
|
|
116476
117177
|
Message: messageLight,
|
|
116477
117178
|
Modal: modalLight,
|
|
116478
117179
|
Notification: notificationLight,
|
|
@@ -117097,6 +117798,7 @@ const darkTheme = {
|
|
|
117097
117798
|
Marquee: marqueeDark,
|
|
117098
117799
|
Menu: menuDark,
|
|
117099
117800
|
Mention: listDark,
|
|
117801
|
+
MessageBubble: messageBubbleDark,
|
|
117100
117802
|
Message: messageDark,
|
|
117101
117803
|
Modal: modalDark,
|
|
117102
117804
|
Notification: notificationDark,
|
|
@@ -117164,4 +117866,4 @@ function createTheme(name, componentThemes) {
|
|
|
117164
117866
|
return theme;
|
|
117165
117867
|
}
|
|
117166
117868
|
|
|
117167
|
-
export { ChatAttachmentStatus, ChatMarkType, ChatMessageType, MessageStatus, a as NA, p as NP, UActionCard, UAffix, UAlert, UAnchor, UAnchorLink, UAutoComplete, UAvatar, UAvatarGroup, UBackTop, UBadge, UBlockquote, UBreadcrumb, UBreadcrumbItem, UButton, UButtonGroup, UCalendar, UCard, UCardList, UCarousel, UCarouselItem, UCascader, UChat, UChatListItems, UChatMessages, UCheckbox, UCheckboxGroup, UCode, UCol, UCollapse, UCollapseItem, UCollapseTransition, UColorPicker, UConfigProvider, UCountdown, UCrop, UDataTable, UDatePicker, UDatePickerV2, UDescriptions, UDescriptionsItem, UDialog, UDialogProvider, UDivider, UDrawer, UDrawerContent, UDropdown, UDynamicInput, UDynamicTags, UEl, UElement, UEllipsis, UEmpty, UEquation, UFlex, UFloatButton, UFloatButtonGroup, UForm, UFormItem, UFormItemCol, UFormItemGi, UFormItemGridItem, UFormItemRow, UGi, UGlobalStyle, UGradientText, UGrid, UGridItem, UH1, UH2, UH3, UH4, UH5, UH6, UHeader, UHeaderActions, UHeaderDesktopLayout, HeaderMobile as UHeaderMobile, UHeaderMobileLayout, UHeaderNavigation, UHeaderSearchDesktop, UHeaderSearchMobile, UHeaderSearchResults, UHeatmap, UHighlight, UHr, UIcon, UIconBar, UIconBarItem, UIconPack, UIconWrapper, UImage, UImageGroup, UImagePreview, UInfiniteScroll, UInput, UInputGroup, UInputGroupLabel, UInputNumber, UInputOtp, UKanban, UKanbanCard, UKanbanColumn, ULayout, ULayoutContent, ULayoutFooter, ULayoutHeader, ULayoutSider, ULegacyTransfer, ULi, UList, UListItem, ULoadingBarProvider, ULog, UMappingCard, UMappingCardList, UMarquee, UMention, UMenu, UMessageProvider, UModal, UModalFullscreen, UModalProvider, UNotificationProvider, UNumberAnimation, UOl, UPageHeader, UPagination, UPerformantEllipsis, UPopconfirm, UPopover, UPopselect, UProgress, UQrCode, URadio, URadioButton, URadioGroup, URate, UResult, URow, USafeTopScrollbar, UScrollbar, USelect, USkeleton, USlider, USpace, USpin, USplit, UStatistic, UStatus, UStep, USteps, USwitch, UTab, UTabPane, UTable, UTabs, UTag, UTagGroup, UTbody, UTd, UText, UTh, UThead, ThemeEditor as UThemeEditor, UThing, UTime, UTimePicker, UTimeline, UTimelineItem, UToggleButton, UTooltip, UTr, UTransfer, UTree, UTreeSelect, UUl, UUpload, UUploadDragger, UUploadFileList, UUploadTrigger, UVirtualList, UWatermark, UxButton, UzumUiResolver, aProps, actionCardDark, actionCardLight, affixProps, alertDark, alertProps, anchorDark, anchorLinkProps, anchorProps, autoCompleteDark, autoCompleteProps, avatarDark, avatarGroupProps, avatarProps, backTopDark, backTopProps, badgeDark, badgeProps, blockquoteProps, breadcrumbDark, breadcrumbItemProps, breadcrumbProps, buttonDark, buttonGroupDark, buttonGroupProps, buttonProps, c$1 as c, cB, cE, cM, cNotM, calendarProps, cardDark$1 as cardDark, cardDark as cardListDark, cardListProps, cardProps, carouselProps, cascaderDark, cascaderProps, checkboxDark, checkboxGroupProps, checkboxProps, codeDark, codeProps, colProps, collapseDark, collapseItemProps, collapseProps, collapseTransitionProps, colorPickerProps, derived$1 as commonDark, derived as commonLight, configProviderProps, countdownProps, create, createDiscreteApi, createLocale, createTheme, cropProps, darkTheme, dataTableDark, dataTableProps, dateEnUs as dateEnUS, datePickerDark, datePickerProps, datePickerV2Dark, datePickerV2Light, dateRuRU, dateUzUZ, dateZhCN, uzumUi as default, descriptionsDark, descriptionsItemProps, descriptionsProps, dialogDark, dialogProps, dialogProviderProps, dividerDark, dividerProps, drawerContentProps, drawerDark, drawerProps, dropdownDark, dropdownProps, dynamicInputDark, dynamicInputProps, dynamicTagsDark, dynamicTagsProps, elementDark, elementProps, ellipsisProps, emptyDark$1 as emptyDark, emptyProps, enUS$1 as enUS, equationProps, flexProps, floatButtonDark, floatButtonGroupDark, floatButtonGroupProps, floatButtonProps, formItemDark as formDark, formItemGiProps, formItemGiProps as formItemGridItemProps, formItemProps, formProps, getMenuItemKey, gridItemProps as giProps, gradientTextDark, gradientTextProps, gridItemProps, gridProps, headerProps$2 as h1Props, headerProps$2 as h2Props, headerProps$2 as h3Props, headerProps$2 as h4Props, headerProps$2 as h5Props, headerProps$2 as h6Props, hasChildren, headerActionsProps, headerDesktopLayoutProps, headerMobileLayoutProps, headerMobileProps, headerNavigationProps, headerProps$1 as headerProps, headerSearchDesktopProps, headerSearchMobileProps, headerSearchResultsProps, HeatmapDark as heatmapDark, heatmapLight, heatmapMockData, heatmapProps, highlightProps, iconBarItemProps, iconBarProps, iconDark$1 as iconDark, iconPackDark, iconPackLight, iconPackProps, iconProps, iconWrapperProps, imageGroupProps, imagePreviewProps, imageProps, infiniteScrollProps, inputDark, inputGroupLabelProps, inputGroupProps, inputNumberDark, inputNumberProps, inputOtpDark, inputOtpProps, inputProps, install, internalSelectMenuDark, internalSelectionDark, isColumnOption, isDividerOption, isGroupOption, isLeafMenuOption, isNotNull, kanbanDark, kanbanLight, kanbanProps, layoutProps as layoutContentProps, layoutDark, layoutFooterProps, headerProps as layoutHeaderProps, layoutProps, layoutSiderProps, transferProps$1 as legacyTransferProps, lightTheme, listDark$1 as listDark, listProps, loadingBarDark, loadingBarProviderProps, logDark, logProps, mappingCardDark, mappingCardLight, marqueeDark, listDark as mentionDark, mentionProps, menuDark, menuProps, messageDark, messageProviderProps, modalDark, modalFullscreenProps, modalProps, modalProviderProps, notificationDark, notificationProviderProps, numberAnimationProps, olProps, pProps, pageHeaderProps, paginationDark, paginationProps, popconfirmDark, popconfirmProps, popoverDark, popoverProps, popselect as popselectDark, popselectProps, progressDark, progressProps, qrCodeProps, radioButtonProps, radioDark, radioGroupProps, radioProps, rateDark, rateProps, renderAsyncIcon, renderBadge, renderConfig, renderIcon, renderOptionLabel, resolvePlacement, resolveTopLevelMenuKey, resultDark, resultProps, rowProps, ruRu as ruRU, safeTopScrollbarProps, scrollbarDark, scrollbarProps, selectDark, selectProps, skeletonProps, sliderDark, sliderProps, spaceDark, spaceProps, spinDark, spinProps, splitProps, statisticDark, statisticProps, emptyDark as statusDark, statusProps, stepProps, stepsDark, stepsProps, switchDark, switchProps, tabPaneProps, tabProps, tableDark, tableProps, tabsDark, tabsProps, tagDark, tagProps, textProps, thingDark, thingProps, timePickerDark, timePickerProps, timeProps, timelineDark, timelineItemProps, timelineProps, toggleButtonDark, toggleButtonProps, tooltipDark, tooltipProps, transferDark$1 as transferDark, transferProps, treeDark, treeGetClickTarget, treeProps, treeSelectDark, treeSelectProps, typographyDark, ulProps, alertRtl as unstableAlertRtl, avatarGroupRtl as unstableAvatarGroupRtl, badgeRtl as unstableBadgeRtl, buttonGroupRtl as unstableButtonGroupRtl, buttonRtl as unstableButtonRtl, cardRtl as unstableCardRtl, checkboxRtl as unstableCheckboxRtl, collapseRtl as unstableCollapseRtl, collapseTransitionRtl as unstableCollapseTransitionRtl, drawerRtl as unstableDrawerRtl, dynamicInputRtl as unstableDynamicInputRtl, inputNumberRtl as unstableInputNumberRtl, inputOtpRtl as unstableInputOtpRtl, inputRtl as unstableInputRtl, listRtl as unstableListRtl, messageRtl as unstableMessageRtl, notificationRtl as unstableNotificationRtl, rtl as unstablePageHeaderRtl, paginationRtl as unstablePaginationRtl, radioRtl as unstableRadioRtl, rowRtl as unstableRowRtl, scrollbarRtl as unstableScrollbarRtl, spaceRtl as unstableSpaceRtl, statisticRtl as unstableStatisticRtl, stepsRtl as unstableStepsRtl, tableRtl as unstableTableRtl, tagRtl as unstableTagRtl, thingRtl as unstableThingRtl, treeRtl as unstableTreeRtl, uploadRtl as unstableUploadRtl, uploadDark, publicDownload as uploadDownload, uploadProps, useDialog, useDialogReactiveList, useLoadingBar, useMessage, useModal, useModalReactiveList, useNotification, useOsTheme, useThemeVars, uzUZ, version, virtualListProps, watermarkDark, watermarkProps, zhCN$1 as zhCN, zindexable };
|
|
117869
|
+
export { ChatAttachmentStatus, ChatMarkType, ChatMessageType, MessageBubbleAttachmentStatus, MessageBubbleServiceVariant, MessageBubbleStatus, MessageBubbleType, MessageStatus, a as NA, p as NP, UActionCard, UAffix, UAlert, UAnchor, UAnchorLink, UAutoComplete, UAvatar, UAvatarGroup, UBackTop, UBadge, UBlockquote, UBreadcrumb, UBreadcrumbItem, UButton, UButtonGroup, UCalendar, UCard, UCardList, UCarousel, UCarouselItem, UCascader, UChat, UChatListItems, UChatMainArea, UChatMessages, UCheckbox, UCheckboxGroup, UCode, UCol, UCollapse, UCollapseItem, UCollapseTransition, UColorPicker, UConfigProvider, UCountdown, UCrop, UDataTable, UDatePicker, UDatePickerV2, UDescriptions, UDescriptionsItem, UDialog, UDialogProvider, UDivider, UDrawer, UDrawerContent, UDropdown, UDynamicInput, UDynamicTags, UEl, UElement, UEllipsis, UEmpty, UEquation, UFlex, UFloatButton, UFloatButtonGroup, UForm, UFormItem, UFormItemCol, UFormItemGi, UFormItemGridItem, UFormItemRow, UGi, UGlobalStyle, UGradientText, UGrid, UGridItem, UH1, UH2, UH3, UH4, UH5, UH6, UHeader, UHeaderActions, UHeaderDesktopLayout, HeaderMobile as UHeaderMobile, UHeaderMobileLayout, UHeaderNavigation, UHeaderSearchDesktop, UHeaderSearchMobile, UHeaderSearchResults, UHeatmap, UHighlight, UHr, UIcon, UIconBar, UIconBarItem, UIconPack, UIconWrapper, UImage, UImageGroup, UImagePreview, UInfiniteScroll, UInput, UInputGroup, UInputGroupLabel, UInputNumber, UInputOtp, UKanban, UKanbanCard, UKanbanColumn, ULayout, ULayoutContent, ULayoutFooter, ULayoutHeader, ULayoutSider, ULegacyTransfer, ULi, UList, UListItem, ULoadingBarProvider, ULog, UMappingCard, UMappingCardList, UMarquee, UMention, UMenu, UMessageBubble, UMessageProvider, UModal, UModalFullscreen, UModalProvider, UNotificationProvider, UNumberAnimation, UOl, UPageHeader, UPagination, UPerformantEllipsis, UPopconfirm, UPopover, UPopselect, UProgress, UQrCode, URadio, URadioButton, URadioGroup, URate, UResult, URow, USafeTopScrollbar, UScrollbar, USelect, USkeleton, USlider, USpace, USpin, USplit, UStatistic, UStatus, UStep, USteps, USwitch, UTab, UTabPane, UTable, UTabs, UTag, UTagGroup, UTbody, UTd, UText, UTh, UThead, ThemeEditor as UThemeEditor, UThing, UTime, UTimePicker, UTimeline, UTimelineItem, UToggleButton, UTooltip, UTr, UTransfer, UTree, UTreeSelect, UUl, UUpload, UUploadDragger, UUploadFileList, UUploadTrigger, UVirtualList, UWatermark, UxButton, UzumUiResolver, aProps, actionCardDark, actionCardLight, affixProps, alertDark, alertProps, anchorDark, anchorLinkProps, anchorProps, autoCompleteDark, autoCompleteProps, avatarDark, avatarGroupProps, avatarProps, backTopDark, backTopProps, badgeDark, badgeProps, blockquoteProps, breadcrumbDark, breadcrumbItemProps, breadcrumbProps, buttonDark, buttonGroupDark, buttonGroupProps, buttonProps, c$1 as c, cB, cE, cM, cNotM, calendarProps, cardDark$1 as cardDark, cardDark as cardListDark, cardListProps, cardProps, carouselProps, cascaderDark, cascaderProps, checkboxDark, checkboxGroupProps, checkboxProps, codeDark, codeProps, colProps, collapseDark, collapseItemProps, collapseProps, collapseTransitionProps, colorPickerProps, derived$1 as commonDark, derived as commonLight, configProviderProps, countdownProps, create, createDiscreteApi, createLocale, createTheme, cropProps, darkTheme, dataTableDark, dataTableProps, dateEnUs as dateEnUS, datePickerDark, datePickerProps, datePickerV2Dark, datePickerV2Light, dateRuRU, dateUzUZ, dateZhCN, uzumUi as default, descriptionsDark, descriptionsItemProps, descriptionsProps, dialogDark, dialogProps, dialogProviderProps, dividerDark, dividerProps, drawerContentProps, drawerDark, drawerProps, dropdownDark, dropdownProps, dynamicInputDark, dynamicInputProps, dynamicTagsDark, dynamicTagsProps, elementDark, elementProps, ellipsisProps, emptyDark$1 as emptyDark, emptyProps, enUS$1 as enUS, equationProps, flexProps, floatButtonDark, floatButtonGroupDark, floatButtonGroupProps, floatButtonProps, formItemDark as formDark, formItemGiProps, formItemGiProps as formItemGridItemProps, formItemProps, formProps, getMenuItemKey, gridItemProps as giProps, gradientTextDark, gradientTextProps, gridItemProps, gridProps, headerProps$2 as h1Props, headerProps$2 as h2Props, headerProps$2 as h3Props, headerProps$2 as h4Props, headerProps$2 as h5Props, headerProps$2 as h6Props, hasChildren, headerActionsProps, headerDesktopLayoutProps, headerMobileLayoutProps, headerMobileProps, headerNavigationProps, headerProps$1 as headerProps, headerSearchDesktopProps, headerSearchMobileProps, headerSearchResultsProps, HeatmapDark as heatmapDark, heatmapLight, heatmapMockData, heatmapProps, highlightProps, iconBarItemProps, iconBarProps, iconDark$1 as iconDark, iconPackDark, iconPackLight, iconPackProps, iconProps, iconWrapperProps, imageGroupProps, imagePreviewProps, imageProps, infiniteScrollProps, inputDark, inputGroupLabelProps, inputGroupProps, inputNumberDark, inputNumberProps, inputOtpDark, inputOtpProps, inputProps, install, internalSelectMenuDark, internalSelectionDark, isColumnOption, isDividerOption, isGroupOption, isLeafMenuOption, isNotNull, kanbanDark, kanbanLight, kanbanProps, layoutProps as layoutContentProps, layoutDark, layoutFooterProps, headerProps as layoutHeaderProps, layoutProps, layoutSiderProps, transferProps$1 as legacyTransferProps, lightTheme, listDark$1 as listDark, listProps, loadingBarDark, loadingBarProviderProps, logDark, logProps, mappingCardDark, mappingCardLight, marqueeDark, listDark as mentionDark, mentionProps, menuDark, menuProps, messageBubbleDark, messageBubbleProps, messageDark, messageProviderProps, modalDark, modalFullscreenProps, modalProps, modalProviderProps, notificationDark, notificationProviderProps, numberAnimationProps, olProps, pProps, pageHeaderProps, paginationDark, paginationProps, popconfirmDark, popconfirmProps, popoverDark, popoverProps, popselect as popselectDark, popselectProps, progressDark, progressProps, qrCodeProps, radioButtonProps, radioDark, radioGroupProps, radioProps, rateDark, rateProps, renderAsyncIcon, renderBadge, renderConfig, renderIcon, renderOptionLabel, resolvePlacement, resolveTopLevelMenuKey, resultDark, resultProps, rowProps, ruRu as ruRU, safeTopScrollbarProps, scrollbarDark, scrollbarProps, selectDark, selectProps, skeletonProps, sliderDark, sliderProps, spaceDark, spaceProps, spinDark, spinProps, splitProps, statisticDark, statisticProps, emptyDark as statusDark, statusProps, stepProps, stepsDark, stepsProps, switchDark, switchProps, tabPaneProps, tabProps, tableDark, tableProps, tabsDark, tabsProps, tagDark, tagProps, textProps, thingDark, thingProps, timePickerDark, timePickerProps, timeProps, timelineDark, timelineItemProps, timelineProps, toggleButtonDark, toggleButtonProps, tooltipDark, tooltipProps, transferDark$1 as transferDark, transferProps, treeDark, treeGetClickTarget, treeProps, treeSelectDark, treeSelectProps, typographyDark, ulProps, alertRtl as unstableAlertRtl, avatarGroupRtl as unstableAvatarGroupRtl, badgeRtl as unstableBadgeRtl, buttonGroupRtl as unstableButtonGroupRtl, buttonRtl as unstableButtonRtl, cardRtl as unstableCardRtl, checkboxRtl as unstableCheckboxRtl, collapseRtl as unstableCollapseRtl, collapseTransitionRtl as unstableCollapseTransitionRtl, drawerRtl as unstableDrawerRtl, dynamicInputRtl as unstableDynamicInputRtl, inputNumberRtl as unstableInputNumberRtl, inputOtpRtl as unstableInputOtpRtl, inputRtl as unstableInputRtl, listRtl as unstableListRtl, messageRtl as unstableMessageRtl, notificationRtl as unstableNotificationRtl, rtl as unstablePageHeaderRtl, paginationRtl as unstablePaginationRtl, radioRtl as unstableRadioRtl, rowRtl as unstableRowRtl, scrollbarRtl as unstableScrollbarRtl, spaceRtl as unstableSpaceRtl, statisticRtl as unstableStatisticRtl, stepsRtl as unstableStepsRtl, tableRtl as unstableTableRtl, tagRtl as unstableTagRtl, thingRtl as unstableThingRtl, treeRtl as unstableTreeRtl, uploadRtl as unstableUploadRtl, uploadDark, publicDownload as uploadDownload, uploadProps, useDialog, useDialogReactiveList, useLoadingBar, useMessage, useModal, useModalReactiveList, useNotification, useOsTheme, useThemeVars, uzUZ, version, virtualListProps, watermarkDark, watermarkProps, zhCN$1 as zhCN, zindexable };
|