ant-design-x-vue 1.1.1 → 1.1.2
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.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var cy = Object.defineProperty;
|
|
2
2
|
var uy = (e, t, n) => t in e ? cy(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var to = (e, t, n) => uy(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { computed as S, inject as ye, provide as be, shallowRef as K, defineComponent as k, watch as Q, unref as le, triggerRef as Lt, Fragment as Te, isVNode as Dt, Comment as dy, Text as Cm, reactive as Ge, getCurrentInstance as It, onMounted as xe, onUpdated as Lo, onUnmounted as qn, ref as G, watchEffect as $e, onBeforeUnmount as Be, createVNode as f, h as $o, Transition as Bt, withDirectives as Gt, resolveDirective as fy, cloneVNode as Is, nextTick as He, toRef as Ee, withModifiers as xu, vShow as bn, onBeforeMount as py, Teleport as Qi, createTextVNode as gr, isRef as my, toRefs as Ts, toRaw as xo, render as vr, onBeforeUpdate as Sm, TransitionGroup as Es, createApp as gy, useSlots as Tt, mergeProps as We, onWatcherCleanup as Bo, toValue as Ne, mergeDefaults as
|
|
4
|
+
import { computed as S, inject as ye, provide as be, shallowRef as K, defineComponent as k, watch as Q, unref as le, triggerRef as Lt, Fragment as Te, isVNode as Dt, Comment as dy, Text as Cm, reactive as Ge, getCurrentInstance as It, onMounted as xe, onUpdated as Lo, onUnmounted as qn, ref as G, watchEffect as $e, onBeforeUnmount as Be, createVNode as f, h as $o, Transition as Bt, withDirectives as Gt, resolveDirective as fy, cloneVNode as Is, nextTick as He, toRef as Ee, withModifiers as xu, vShow as bn, onBeforeMount as py, Teleport as Qi, createTextVNode as gr, isRef as my, toRefs as Ts, toRaw as xo, render as vr, onBeforeUpdate as Sm, TransitionGroup as Es, createApp as gy, useSlots as Tt, mergeProps as We, onWatcherCleanup as Bo, toValue as Ne, mergeDefaults as Qe, useAttrs as $m, useTemplateRef as wo, openBlock as xm, createElementBlock as wm, createElementVNode as go, useId as vy } from "vue";
|
|
5
5
|
const hr = function() {
|
|
6
6
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
7
7
|
t[n] = arguments[n];
|
|
@@ -19514,7 +19514,7 @@ Ui.newInstance = function(t, n) {
|
|
|
19514
19514
|
let {
|
|
19515
19515
|
attrs: $
|
|
19516
19516
|
} = b;
|
|
19517
|
-
const w = K(), O = S(() =>
|
|
19517
|
+
const w = K(), O = S(() => Je.getPrefixCls(r, l)), [, x] = d(O);
|
|
19518
19518
|
return xe(() => {
|
|
19519
19519
|
n({
|
|
19520
19520
|
notice(I) {
|
|
@@ -19531,7 +19531,7 @@ Ui.newInstance = function(t, n) {
|
|
|
19531
19531
|
component: w
|
|
19532
19532
|
});
|
|
19533
19533
|
}), () => {
|
|
19534
|
-
const I =
|
|
19534
|
+
const I = Je, C = I.getRootPrefixCls(s, O.value), E = c ? u : `${O.value}-${u}`;
|
|
19535
19535
|
return f(So, B(B({}, I), {}, {
|
|
19536
19536
|
prefixCls: C
|
|
19537
19537
|
}), {
|
|
@@ -20908,24 +20908,24 @@ var h3 = function(e, t) {
|
|
|
20908
20908
|
};
|
|
20909
20909
|
const y3 = "ant";
|
|
20910
20910
|
function Co() {
|
|
20911
|
-
return
|
|
20911
|
+
return Je.prefixCls || y3;
|
|
20912
20912
|
}
|
|
20913
20913
|
function jh() {
|
|
20914
|
-
return
|
|
20914
|
+
return Je.iconPrefixCls || As;
|
|
20915
20915
|
}
|
|
20916
|
-
const Lc = Ge({}),
|
|
20916
|
+
const Lc = Ge({}), Je = Ge({});
|
|
20917
20917
|
$e(() => {
|
|
20918
|
-
v(
|
|
20918
|
+
v(Je, Lc), Je.prefixCls = Co(), Je.iconPrefixCls = jh(), Je.getPrefixCls = (e, t) => t || (e ? `${Je.prefixCls}-${e}` : Je.prefixCls), Je.getRootPrefixCls = () => Je.prefixCls ? Je.prefixCls : Co();
|
|
20919
20919
|
});
|
|
20920
20920
|
let dl;
|
|
20921
20921
|
const b3 = (e) => {
|
|
20922
20922
|
dl && dl(), dl = $e(() => {
|
|
20923
|
-
v(Lc, Ge(e)), v(
|
|
20923
|
+
v(Lc, Ge(e)), v(Je, Ge(e));
|
|
20924
20924
|
}), e.theme && m3(Co(), e.theme);
|
|
20925
20925
|
}, C3 = () => ({
|
|
20926
20926
|
getPrefixCls: (e, t) => t || (e ? `${Co()}-${e}` : Co()),
|
|
20927
20927
|
getIconPrefixCls: jh,
|
|
20928
|
-
getRootPrefixCls: () =>
|
|
20928
|
+
getRootPrefixCls: () => Je.prefixCls ? Je.prefixCls : Co()
|
|
20929
20929
|
}), So = k({
|
|
20930
20930
|
compatConfig: {
|
|
20931
20931
|
MODE: 3
|
|
@@ -28345,51 +28345,45 @@ const Ea = {
|
|
|
28345
28345
|
inheritAttrs: !1,
|
|
28346
28346
|
__name: "index",
|
|
28347
28347
|
props: {
|
|
28348
|
-
bubble:
|
|
28349
|
-
conversations:
|
|
28350
|
-
prompts:
|
|
28351
|
-
sender:
|
|
28352
|
-
suggestion:
|
|
28353
|
-
thoughtChain:
|
|
28354
|
-
attachments:
|
|
28355
|
-
welcome:
|
|
28356
|
-
iconPrefixCls:
|
|
28357
|
-
getTargetContainer:
|
|
28358
|
-
getPopupContainer:
|
|
28359
|
-
prefixCls:
|
|
28360
|
-
getPrefixCls:
|
|
28361
|
-
renderEmpty:
|
|
28362
|
-
transformCellText:
|
|
28363
|
-
csp:
|
|
28364
|
-
input:
|
|
28365
|
-
autoInsertSpaceInButton:
|
|
28366
|
-
|
|
28367
|
-
|
|
28368
|
-
|
|
28369
|
-
|
|
28370
|
-
|
|
28371
|
-
|
|
28372
|
-
|
|
28373
|
-
|
|
28374
|
-
|
|
28375
|
-
|
|
28376
|
-
|
|
28377
|
-
|
|
28378
|
-
|
|
28379
|
-
dropdownMatchSelectWidth: {},
|
|
28380
|
-
form: {},
|
|
28381
|
-
pagination: {},
|
|
28382
|
-
theme: {},
|
|
28383
|
-
select: {},
|
|
28384
|
-
wave: {}
|
|
28348
|
+
bubble: null,
|
|
28349
|
+
conversations: null,
|
|
28350
|
+
prompts: null,
|
|
28351
|
+
sender: null,
|
|
28352
|
+
suggestion: null,
|
|
28353
|
+
thoughtChain: null,
|
|
28354
|
+
attachments: null,
|
|
28355
|
+
welcome: null,
|
|
28356
|
+
iconPrefixCls: null,
|
|
28357
|
+
getTargetContainer: null,
|
|
28358
|
+
getPopupContainer: null,
|
|
28359
|
+
prefixCls: null,
|
|
28360
|
+
getPrefixCls: null,
|
|
28361
|
+
renderEmpty: null,
|
|
28362
|
+
transformCellText: null,
|
|
28363
|
+
csp: null,
|
|
28364
|
+
input: null,
|
|
28365
|
+
autoInsertSpaceInButton: null,
|
|
28366
|
+
locale: null,
|
|
28367
|
+
pageHeader: null,
|
|
28368
|
+
componentSize: null,
|
|
28369
|
+
componentDisabled: null,
|
|
28370
|
+
direction: null,
|
|
28371
|
+
space: null,
|
|
28372
|
+
virtual: null,
|
|
28373
|
+
dropdownMatchSelectWidth: null,
|
|
28374
|
+
form: null,
|
|
28375
|
+
pagination: null,
|
|
28376
|
+
theme: null,
|
|
28377
|
+
select: null,
|
|
28378
|
+
wave: null
|
|
28385
28379
|
},
|
|
28386
28380
|
setup(e) {
|
|
28387
|
-
const t = it(e, ["attachments", "bubble", "conversations", "prompts", "suggestion", "thoughtChain", "welcome"]), n = Tt(), o = S(() => ({
|
|
28381
|
+
const t = it(e, ["attachments", "bubble", "conversations", "prompts", "sender", "suggestion", "thoughtChain", "welcome"]), n = Tt(), o = S(() => ({
|
|
28388
28382
|
attachments: e.attachments,
|
|
28389
28383
|
bubble: e.bubble,
|
|
28390
28384
|
conversations: e.conversations,
|
|
28391
28385
|
prompts: e.prompts,
|
|
28392
|
-
|
|
28386
|
+
sender: e.sender,
|
|
28393
28387
|
suggestion: e.suggestion,
|
|
28394
28388
|
thoughtChain: e.thoughtChain,
|
|
28395
28389
|
welcome: e.welcome
|
|
@@ -29850,7 +29844,7 @@ const { genStyleHooks: wn, genComponentStyleHook: v7, genSubStyleComponent: h7 }
|
|
|
29850
29844
|
}), T0 = /* @__PURE__ */ k({
|
|
29851
29845
|
name: "AXBubble",
|
|
29852
29846
|
__name: "Bubble",
|
|
29853
|
-
props:
|
|
29847
|
+
props: Qe({
|
|
29854
29848
|
prefixCls: null,
|
|
29855
29849
|
rootClassName: null,
|
|
29856
29850
|
styles: null,
|
|
@@ -30087,7 +30081,7 @@ const AA = 1, MA = /* @__PURE__ */ k({
|
|
|
30087
30081
|
name: "AXBubbleList",
|
|
30088
30082
|
inheritAttrs: !1,
|
|
30089
30083
|
__name: "BubbleList",
|
|
30090
|
-
props:
|
|
30084
|
+
props: Qe({
|
|
30091
30085
|
prefixCls: null,
|
|
30092
30086
|
rootClassName: null,
|
|
30093
30087
|
items: null,
|
|
@@ -30472,7 +30466,7 @@ const Ol = "__ungrouped", LA = (e, t = []) => {
|
|
|
30472
30466
|
), b7 = /* @__PURE__ */ k({
|
|
30473
30467
|
name: "AXConversations",
|
|
30474
30468
|
__name: "Conversations",
|
|
30475
|
-
props:
|
|
30469
|
+
props: Qe({
|
|
30476
30470
|
items: null,
|
|
30477
30471
|
activeKey: null,
|
|
30478
30472
|
defaultActiveKey: null,
|
|
@@ -30482,9 +30476,7 @@ const Ol = "__ungrouped", LA = (e, t = []) => {
|
|
|
30482
30476
|
menu: {
|
|
30483
30477
|
type: Function
|
|
30484
30478
|
},
|
|
30485
|
-
groupable:
|
|
30486
|
-
type: Boolean
|
|
30487
|
-
},
|
|
30479
|
+
groupable: null,
|
|
30488
30480
|
styles: null,
|
|
30489
30481
|
classNames: null,
|
|
30490
30482
|
prefixCls: null,
|
|
@@ -30623,7 +30615,7 @@ function kA(e) {
|
|
|
30623
30615
|
const C7 = /* @__PURE__ */ k({
|
|
30624
30616
|
name: "AXWelcome",
|
|
30625
30617
|
__name: "Welcome",
|
|
30626
|
-
props:
|
|
30618
|
+
props: Qe({
|
|
30627
30619
|
prefixCls: null,
|
|
30628
30620
|
rootClassName: null,
|
|
30629
30621
|
className: null,
|
|
@@ -30830,7 +30822,7 @@ const C7 = /* @__PURE__ */ k({
|
|
|
30830
30822
|
), qA = /* @__PURE__ */ k({
|
|
30831
30823
|
name: "AXPrompts",
|
|
30832
30824
|
__name: "Prompts",
|
|
30833
|
-
props:
|
|
30825
|
+
props: Qe({
|
|
30834
30826
|
items: null,
|
|
30835
30827
|
title: null,
|
|
30836
30828
|
onItemClick: {
|
|
@@ -31015,7 +31007,7 @@ function JA(e, t, n, o, r) {
|
|
|
31015
31007
|
const S7 = /* @__PURE__ */ k({
|
|
31016
31008
|
name: "AXSuggestion",
|
|
31017
31009
|
__name: "Suggestion",
|
|
31018
|
-
props:
|
|
31010
|
+
props: Qe({
|
|
31019
31011
|
prefixCls: null,
|
|
31020
31012
|
className: null,
|
|
31021
31013
|
rootClassName: null,
|
|
@@ -31137,7 +31129,7 @@ const S7 = /* @__PURE__ */ k({
|
|
|
31137
31129
|
}), Ra = /* @__PURE__ */ k({
|
|
31138
31130
|
name: "AXSenderActionButton",
|
|
31139
31131
|
__name: "index",
|
|
31140
|
-
props:
|
|
31132
|
+
props: Qe({
|
|
31141
31133
|
prefixCls: null,
|
|
31142
31134
|
type: null,
|
|
31143
31135
|
htmlType: null,
|
|
@@ -31184,7 +31176,7 @@ const S7 = /* @__PURE__ */ k({
|
|
|
31184
31176
|
}), iM = /* @__PURE__ */ k({
|
|
31185
31177
|
name: "AXSenderClearButton",
|
|
31186
31178
|
__name: "ClearButton",
|
|
31187
|
-
props:
|
|
31179
|
+
props: Qe({
|
|
31188
31180
|
prefixCls: null,
|
|
31189
31181
|
type: null,
|
|
31190
31182
|
htmlType: null,
|
|
@@ -31264,7 +31256,7 @@ const S7 = /* @__PURE__ */ k({
|
|
|
31264
31256
|
}), um = /* @__PURE__ */ k({
|
|
31265
31257
|
name: "AXSenderLoadingButton",
|
|
31266
31258
|
__name: "LoadingButton",
|
|
31267
|
-
props:
|
|
31259
|
+
props: Qe({
|
|
31268
31260
|
prefixCls: null,
|
|
31269
31261
|
type: null,
|
|
31270
31262
|
htmlType: null,
|
|
@@ -31311,7 +31303,7 @@ const S7 = /* @__PURE__ */ k({
|
|
|
31311
31303
|
}), dm = /* @__PURE__ */ k({
|
|
31312
31304
|
name: "AXSenderLoadingButton",
|
|
31313
31305
|
__name: "SendButton",
|
|
31314
|
-
props:
|
|
31306
|
+
props: Qe({
|
|
31315
31307
|
prefixCls: null,
|
|
31316
31308
|
type: null,
|
|
31317
31309
|
htmlType: null,
|
|
@@ -31392,7 +31384,7 @@ const S7 = /* @__PURE__ */ k({
|
|
|
31392
31384
|
}), pm = /* @__PURE__ */ k({
|
|
31393
31385
|
name: "AXSenderSpeechButton",
|
|
31394
31386
|
__name: "index",
|
|
31395
|
-
props:
|
|
31387
|
+
props: Qe({
|
|
31396
31388
|
prefixCls: null,
|
|
31397
31389
|
type: null,
|
|
31398
31390
|
htmlType: null,
|
|
@@ -31741,58 +31733,70 @@ function pM(e, t) {
|
|
|
31741
31733
|
const mM = /* @__PURE__ */ k({
|
|
31742
31734
|
name: "AXSender",
|
|
31743
31735
|
__name: "Sender",
|
|
31744
|
-
props: {
|
|
31745
|
-
onKeyPress: {
|
|
31746
|
-
|
|
31747
|
-
|
|
31748
|
-
|
|
31749
|
-
|
|
31750
|
-
|
|
31736
|
+
props: Qe({
|
|
31737
|
+
onKeyPress: {
|
|
31738
|
+
type: Function
|
|
31739
|
+
},
|
|
31740
|
+
onFocus: null,
|
|
31741
|
+
onBlur: null,
|
|
31742
|
+
prefixCls: null,
|
|
31743
|
+
defaultValue: null,
|
|
31744
|
+
value: null,
|
|
31751
31745
|
loading: {
|
|
31752
31746
|
type: Boolean
|
|
31753
31747
|
},
|
|
31754
|
-
placeholder:
|
|
31748
|
+
placeholder: null,
|
|
31755
31749
|
readOnly: {
|
|
31756
31750
|
type: Boolean
|
|
31757
31751
|
},
|
|
31758
31752
|
submitType: {
|
|
31759
|
-
type: [String, Boolean]
|
|
31760
|
-
default: "enter"
|
|
31753
|
+
type: [String, Boolean]
|
|
31761
31754
|
},
|
|
31762
31755
|
disabled: {
|
|
31763
|
-
type: Boolean
|
|
31764
|
-
|
|
31756
|
+
type: Boolean
|
|
31757
|
+
},
|
|
31758
|
+
onSubmit: {
|
|
31759
|
+
type: Function
|
|
31760
|
+
},
|
|
31761
|
+
onChange: {
|
|
31762
|
+
type: Function
|
|
31763
|
+
},
|
|
31764
|
+
onCancel: null,
|
|
31765
|
+
onKeyDown: {
|
|
31766
|
+
type: Function
|
|
31767
|
+
},
|
|
31768
|
+
onPaste: {
|
|
31769
|
+
type: Function
|
|
31770
|
+
},
|
|
31771
|
+
onPasteFile: {
|
|
31772
|
+
type: Function
|
|
31765
31773
|
},
|
|
31766
|
-
|
|
31767
|
-
|
|
31768
|
-
|
|
31769
|
-
|
|
31770
|
-
|
|
31771
|
-
|
|
31772
|
-
components: {},
|
|
31773
|
-
styles: {
|
|
31774
|
-
default: () => ({})
|
|
31775
|
-
},
|
|
31776
|
-
rootClassName: {},
|
|
31777
|
-
classNames: {
|
|
31778
|
-
default: () => ({})
|
|
31779
|
-
},
|
|
31780
|
-
style: {},
|
|
31781
|
-
className: {},
|
|
31774
|
+
components: null,
|
|
31775
|
+
styles: null,
|
|
31776
|
+
rootClassName: null,
|
|
31777
|
+
classNames: null,
|
|
31778
|
+
style: null,
|
|
31779
|
+
className: null,
|
|
31782
31780
|
actions: {
|
|
31783
|
-
type: [
|
|
31784
|
-
default: void 0
|
|
31781
|
+
type: [Function, Boolean]
|
|
31785
31782
|
},
|
|
31786
|
-
allowSpeech:
|
|
31787
|
-
prefix:
|
|
31788
|
-
footer: {
|
|
31789
|
-
|
|
31790
|
-
|
|
31791
|
-
|
|
31792
|
-
|
|
31793
|
-
|
|
31794
|
-
}
|
|
31795
|
-
|
|
31783
|
+
allowSpeech: null,
|
|
31784
|
+
prefix: null,
|
|
31785
|
+
footer: {
|
|
31786
|
+
type: Function
|
|
31787
|
+
},
|
|
31788
|
+
header: null,
|
|
31789
|
+
autoSize: null
|
|
31790
|
+
}, {
|
|
31791
|
+
styles: () => ({}),
|
|
31792
|
+
classNames: () => ({}),
|
|
31793
|
+
submitType: "enter",
|
|
31794
|
+
actions: void 0,
|
|
31795
|
+
disabled: void 0,
|
|
31796
|
+
autoSize: () => ({
|
|
31797
|
+
maxRows: 8
|
|
31798
|
+
})
|
|
31799
|
+
}),
|
|
31796
31800
|
emits: ["update:value"],
|
|
31797
31801
|
setup(e, {
|
|
31798
31802
|
expose: t,
|
|
@@ -31973,7 +31977,7 @@ const mM = /* @__PURE__ */ k({
|
|
|
31973
31977
|
name: "AXSenderHeader",
|
|
31974
31978
|
inheritAttrs: !1,
|
|
31975
31979
|
__name: "SenderHeader",
|
|
31976
|
-
props:
|
|
31980
|
+
props: Qe({
|
|
31977
31981
|
forceRender: {
|
|
31978
31982
|
type: Boolean
|
|
31979
31983
|
},
|
|
@@ -32067,7 +32071,7 @@ const mM = /* @__PURE__ */ k({
|
|
|
32067
32071
|
}), yM = /* @__PURE__ */ k({
|
|
32068
32072
|
name: "AXAttachmentsPlaceholderUploader",
|
|
32069
32073
|
__name: "PlaceholderUploader",
|
|
32070
|
-
props:
|
|
32074
|
+
props: Qe({
|
|
32071
32075
|
prefixCls: null,
|
|
32072
32076
|
placeholder: null,
|
|
32073
32077
|
upload: null,
|
|
@@ -32608,9 +32612,9 @@ class pu {
|
|
|
32608
32612
|
}
|
|
32609
32613
|
}
|
|
32610
32614
|
const EM = (e) => {
|
|
32611
|
-
const { componentCls: t,
|
|
32615
|
+
const { componentCls: t, antCls: n, calc: o } = e, r = `${t}-list-card`, i = o(e.fontSize).mul(e.lineHeight).mul(2).add(e.paddingSM).add(e.paddingSM).equal();
|
|
32612
32616
|
return {
|
|
32613
|
-
[
|
|
32617
|
+
[r]: {
|
|
32614
32618
|
borderRadius: e.borderRadius,
|
|
32615
32619
|
position: "relative",
|
|
32616
32620
|
background: e.colorFillContent,
|
|
@@ -32619,67 +32623,72 @@ const EM = (e) => {
|
|
|
32619
32623
|
borderColor: "transparent",
|
|
32620
32624
|
flex: "none",
|
|
32621
32625
|
// =============================== Desc ================================
|
|
32622
|
-
[`${
|
|
32626
|
+
[`${r}-name,${r}-desc`]: {
|
|
32623
32627
|
display: "flex",
|
|
32624
32628
|
flexWrap: "nowrap",
|
|
32625
32629
|
maxWidth: "100%"
|
|
32626
32630
|
},
|
|
32627
|
-
[`${
|
|
32631
|
+
[`${r}-ellipsis-prefix`]: {
|
|
32628
32632
|
flex: "0 1 auto",
|
|
32629
32633
|
minWidth: 0,
|
|
32630
32634
|
overflow: "hidden",
|
|
32631
32635
|
textOverflow: "ellipsis",
|
|
32632
32636
|
whiteSpace: "nowrap"
|
|
32633
32637
|
},
|
|
32634
|
-
[`${
|
|
32638
|
+
[`${r}-ellipsis-suffix`]: {
|
|
32635
32639
|
flex: "none"
|
|
32636
32640
|
},
|
|
32637
32641
|
// ============================= Overview ==============================
|
|
32638
32642
|
"&-type-overview": {
|
|
32639
|
-
padding:
|
|
32640
|
-
paddingInlineStart:
|
|
32643
|
+
padding: o(e.paddingSM).sub(e.lineWidth).equal(),
|
|
32644
|
+
paddingInlineStart: o(e.padding).add(e.lineWidth).equal(),
|
|
32641
32645
|
display: "flex",
|
|
32642
32646
|
flexWrap: "nowrap",
|
|
32643
32647
|
gap: e.paddingXS,
|
|
32644
32648
|
alignItems: "flex-start",
|
|
32645
32649
|
width: 236,
|
|
32646
32650
|
// Icon
|
|
32647
|
-
[`${
|
|
32648
|
-
fontSize:
|
|
32651
|
+
[`${r}-icon`]: {
|
|
32652
|
+
fontSize: o(e.fontSizeLG).mul(2).equal(),
|
|
32649
32653
|
lineHeight: 1,
|
|
32650
|
-
paddingTop:
|
|
32654
|
+
paddingTop: o(e.paddingXXS).mul(1.5).equal(),
|
|
32651
32655
|
flex: "none"
|
|
32652
32656
|
},
|
|
32653
32657
|
// Content
|
|
32654
|
-
[`${
|
|
32658
|
+
[`${r}-content`]: {
|
|
32655
32659
|
flex: "auto",
|
|
32656
32660
|
minWidth: 0,
|
|
32657
32661
|
display: "flex",
|
|
32658
32662
|
flexDirection: "column",
|
|
32659
32663
|
alignItems: "stretch"
|
|
32660
32664
|
},
|
|
32661
|
-
[`${
|
|
32665
|
+
[`${r}-desc`]: {
|
|
32662
32666
|
color: e.colorTextTertiary
|
|
32663
32667
|
}
|
|
32664
32668
|
},
|
|
32665
32669
|
// ============================== Preview ==============================
|
|
32666
32670
|
"&-type-preview": {
|
|
32667
|
-
width:
|
|
32668
|
-
height:
|
|
32671
|
+
width: i,
|
|
32672
|
+
height: i,
|
|
32669
32673
|
lineHeight: 1,
|
|
32670
|
-
|
|
32674
|
+
display: "flex",
|
|
32675
|
+
alignItems: "center",
|
|
32676
|
+
[`&:not(${r}-status-error)`]: {
|
|
32671
32677
|
border: 0
|
|
32672
32678
|
},
|
|
32673
32679
|
// Img
|
|
32674
|
-
|
|
32680
|
+
[`${n}-image`]: {
|
|
32675
32681
|
width: "100%",
|
|
32676
32682
|
height: "100%",
|
|
32677
|
-
|
|
32678
|
-
|
|
32679
|
-
|
|
32683
|
+
borderRadius: "inherit",
|
|
32684
|
+
img: {
|
|
32685
|
+
height: "100%",
|
|
32686
|
+
objectFit: "cover",
|
|
32687
|
+
borderRadius: "inherit"
|
|
32688
|
+
}
|
|
32680
32689
|
},
|
|
32681
32690
|
// Mask
|
|
32682
|
-
[`${
|
|
32691
|
+
[`${r}-img-mask`]: {
|
|
32683
32692
|
position: "absolute",
|
|
32684
32693
|
inset: 0,
|
|
32685
32694
|
display: "flex",
|
|
@@ -32689,19 +32698,19 @@ const EM = (e) => {
|
|
|
32689
32698
|
borderRadius: "inherit"
|
|
32690
32699
|
},
|
|
32691
32700
|
// Error
|
|
32692
|
-
[`&${
|
|
32693
|
-
[`img, ${
|
|
32694
|
-
borderRadius:
|
|
32701
|
+
[`&${r}-status-error`]: {
|
|
32702
|
+
[`img, ${r}-img-mask`]: {
|
|
32703
|
+
borderRadius: o(e.borderRadius).sub(e.lineWidth).equal()
|
|
32695
32704
|
},
|
|
32696
|
-
[`${
|
|
32705
|
+
[`${r}-desc`]: {
|
|
32697
32706
|
paddingInline: e.paddingXXS
|
|
32698
32707
|
}
|
|
32699
32708
|
},
|
|
32700
32709
|
// Progress
|
|
32701
|
-
[`${
|
|
32710
|
+
[`${r}-progress`]: {}
|
|
32702
32711
|
},
|
|
32703
32712
|
// ============================ Remove Icon ============================
|
|
32704
|
-
[`${
|
|
32713
|
+
[`${r}-remove`]: {
|
|
32705
32714
|
position: "absolute",
|
|
32706
32715
|
top: 0,
|
|
32707
32716
|
insetInlineEnd: 0,
|
|
@@ -32724,21 +32733,21 @@ const EM = (e) => {
|
|
|
32724
32733
|
opacity: e.opacityLoading
|
|
32725
32734
|
}
|
|
32726
32735
|
},
|
|
32727
|
-
[`&:hover ${
|
|
32736
|
+
[`&:hover ${r}-remove`]: {
|
|
32728
32737
|
display: "block"
|
|
32729
32738
|
},
|
|
32730
32739
|
// ============================== Status ===============================
|
|
32731
32740
|
"&-status-error": {
|
|
32732
32741
|
borderColor: e.colorError,
|
|
32733
|
-
[`${
|
|
32742
|
+
[`${r}-desc`]: {
|
|
32734
32743
|
color: e.colorError
|
|
32735
32744
|
}
|
|
32736
32745
|
},
|
|
32737
32746
|
// ============================== Motion ===============================
|
|
32738
32747
|
"&-motion": {
|
|
32739
32748
|
overflow: "hidden",
|
|
32740
|
-
transition: ["opacity", "width", "margin", "padding"].map((
|
|
32741
|
-
[`${
|
|
32749
|
+
transition: ["opacity", "width", "margin", "padding"].map((a) => `${a} ${e.motionDurationSlow}`).join(","),
|
|
32750
|
+
[`${r}-remove`]: {
|
|
32742
32751
|
display: "none !important"
|
|
32743
32752
|
},
|
|
32744
32753
|
"&-appear-start": {
|
|
@@ -32750,7 +32759,7 @@ const EM = (e) => {
|
|
|
32750
32759
|
width: 0,
|
|
32751
32760
|
paddingInline: 0,
|
|
32752
32761
|
borderInlineWidth: 0,
|
|
32753
|
-
marginInlineEnd:
|
|
32762
|
+
marginInlineEnd: o(e.paddingSM).mul(-1).equal()
|
|
32754
32763
|
}
|
|
32755
32764
|
}
|
|
32756
32765
|
}
|
|
@@ -33218,7 +33227,7 @@ const EM = (e) => {
|
|
|
33218
33227
|
}), NM = /* @__PURE__ */ k({
|
|
33219
33228
|
name: "AXAttachments",
|
|
33220
33229
|
__name: "Attachments",
|
|
33221
|
-
props:
|
|
33230
|
+
props: Qe({
|
|
33222
33231
|
capture: null,
|
|
33223
33232
|
type: null,
|
|
33224
33233
|
name: null,
|
|
@@ -33661,7 +33670,7 @@ const LM = (e) => {
|
|
|
33661
33670
|
}), kM = /* @__PURE__ */ k({
|
|
33662
33671
|
name: "AXThoughtChainNode",
|
|
33663
33672
|
__name: "item",
|
|
33664
|
-
props:
|
|
33673
|
+
props: Qe({
|
|
33665
33674
|
info: null,
|
|
33666
33675
|
nextStatus: null,
|
|
33667
33676
|
onClick: {
|
|
@@ -33745,7 +33754,7 @@ const LM = (e) => {
|
|
|
33745
33754
|
}), w7 = /* @__PURE__ */ k({
|
|
33746
33755
|
name: "AXThoughtChain",
|
|
33747
33756
|
__name: "ThoughtChain",
|
|
33748
|
-
props:
|
|
33757
|
+
props: Qe({
|
|
33749
33758
|
items: null,
|
|
33750
33759
|
collapsible: {
|
|
33751
33760
|
type: Boolean
|