@antdv-next/x 1.1.3-beta.4 → 1.1.3-beta.5
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.umd.js +6 -14
- package/dist/package.js +1 -1
- package/dist/thought-chain/Node.d.ts +2 -11
- package/dist/thought-chain/Node.js +3 -11
- package/dist/thought-chain/ThoughtChain.d.ts +2 -2
- package/dist/thought-chain/ThoughtChain.js +1 -2
- package/dist/thought-chain/style/thought-chain.js +1 -0
- package/dist/x-provider/hooks/use-x-provider-context.d.ts +2 -2
- package/es/{Serializer-y_SfSPKv.js → Serializer-D1JYN1kI.js} +4 -4
- package/es/{_basePickBy-Cy7KVmkk.js → _basePickBy-DFHEGO2M.js} +23 -23
- package/es/{_baseUniq-Ch3HuHeT.js → _baseUniq-BlS7rXTs.js} +83 -83
- package/es/antdv-next-x.esm.js +392 -395
- package/es/{arc-caEkbRYF.js → arc-BuXEd18J.js} +3 -3
- package/es/architecture-PBZL5I3N-D7tS55xM.js +3 -0
- package/es/{architectureDiagram-2XIMDMQ5-B4BHdsAL.js → architectureDiagram-2XIMDMQ5-CmfsCwJk.js} +9 -9
- package/es/{blockDiagram-WCTKOSBZ-nXanZ0sc.js → blockDiagram-WCTKOSBZ-lJAan65A.js} +12 -12
- package/es/{c4Diagram-IC4MRINW-C-gVp6th.js → c4Diagram-IC4MRINW-B1c2x_1Q.js} +6 -6
- package/es/channel-DFgF_2F7.js +5 -0
- package/es/{chunk-4BX2VUAB-fLFD6XW0.js → chunk-4BX2VUAB-J2N81Fpp.js} +2 -2
- package/es/{chunk-55IACEB6-OtyKJzCH.js → chunk-55IACEB6-DGtfGRgi.js} +2 -2
- package/es/{chunk-7E7YKBS2-C1dd36rm.js → chunk-7E7YKBS2-CL2d4WAf.js} +2 -2
- package/es/{chunk-7R4GIKGN-DuTRhdsf.js → chunk-7R4GIKGN-QT6IorJ_.js} +3 -3
- package/es/{chunk-C72U2L5F-ClmZGhFC.js → chunk-C72U2L5F-OHTVpS-m.js} +2 -2
- package/es/{chunk-EGIJ26TM-Bar_u1MN.js → chunk-EGIJ26TM-DyMPGYrB.js} +2 -2
- package/es/{chunk-FMBD7UC4-C_uJ_JJA.js → chunk-FMBD7UC4-DCcRjunY.js} +2 -2
- package/es/{chunk-GEFDOKGD-P7WhyrTU.js → chunk-GEFDOKGD-BWpC-zoH.js} +30 -30
- package/es/{chunk-GLR3WWYH-BvazRgdo.js → chunk-GLR3WWYH-DiXcKb5Y.js} +8 -8
- package/es/{chunk-HHEYEP7N-rv5s5WD4.js → chunk-HHEYEP7N-Cxc7E4dX.js} +3 -3
- package/es/{chunk-JSJVCQXG-89HUGe9V.js → chunk-JSJVCQXG-D8_heHOp.js} +4 -4
- package/es/{chunk-KX2RTZJC-pMHnNRQg.js → chunk-KX2RTZJC-D5cc4rj6.js} +3 -3
- package/es/{chunk-KYZI473N-DJmSs1gK.js → chunk-KYZI473N-BHJ3T5Zv.js} +8 -8
- package/es/{chunk-L3YUKLVL-Ck54qytQ.js → chunk-L3YUKLVL-7oGaUOdc.js} +2 -2
- package/es/{chunk-MX3YWQON-MkpK3uBD.js → chunk-MX3YWQON-BxE-Aq9c.js} +2 -2
- package/es/{chunk-NQ4KR5QH-DGshodQv.js → chunk-NQ4KR5QH-EYQBXkqP.js} +7 -7
- package/es/{chunk-O4XLMI2P-e-ZzDQwg.js → chunk-O4XLMI2P-qjOoGpnx.js} +11 -11
- package/es/{chunk-OZEHJAEY-DULNd43V.js → chunk-OZEHJAEY-D82nx27s.js} +2 -2
- package/es/{chunk-PQ6SQG4A-CQ9Csv7s.js → chunk-PQ6SQG4A-D3jtNCWN.js} +3 -3
- package/es/{chunk-PU5JKC2W-DkEFvrjH.js → chunk-PU5JKC2W-DdP8BS-S.js} +16 -16
- package/es/{chunk-QZHKN3VN-qww1plfw.js → chunk-QZHKN3VN-CW3cFN-h.js} +2 -2
- package/es/{chunk-R5LLSJPH-BERXSDGJ.js → chunk-R5LLSJPH-CreI2kO9.js} +2 -2
- package/es/{chunk-WL4C6EOR-C-d8WPS7.js → chunk-WL4C6EOR-BDbxJyGk.js} +9 -9
- package/es/{chunk-XIRO2GV7-CFHofxVB.js → chunk-XIRO2GV7-S5KkbVnN.js} +2 -2
- package/es/{chunk-XPW4576I-DgvoNZkW.js → chunk-XPW4576I-B0KVSHwE.js} +2 -2
- package/es/{chunk-XZSTWKYB-k8_EXrSa.js → chunk-XZSTWKYB-CucN1XvM.js} +93 -93
- package/es/{chunk-YBOYWFTD-BUW4AzEX.js → chunk-YBOYWFTD-CvaddD9G.js} +4 -4
- package/es/classDiagram-VBA2DB6C-Co3LMmg8.js +29 -0
- package/es/classDiagram-v2-RAHNMMFH-BZscgdF2.js +29 -0
- package/es/clone-r3YukIBB.js +8 -0
- package/es/{cose-bilkent-S5V4N54A-CnrS2OC1.js → cose-bilkent-S5V4N54A-B5OQuIhl.js} +3 -3
- package/es/{cytoscape.esm-BY3wHcbp.js → cytoscape.esm-i2CZcWd-.js} +1 -1
- package/es/{dagre-BJOzGlhW.js → dagre-5aGJFKmT.js} +57 -57
- package/es/{dagre-KLK3FWXG-CFC0naVr.js → dagre-KLK3FWXG-BI5QQMXo.js} +16 -16
- package/es/{defaultLocale-BaPFSbai.js → defaultLocale-bckJcYh1.js} +12 -12
- package/es/{diagram-E7M64L7V-DxuJj8ZG.js → diagram-E7M64L7V-Dz62Vz_a.js} +32 -32
- package/es/{diagram-IFDJBPK2-BOpPZ6pu.js → diagram-IFDJBPK2-9fjvFkSc.js} +7 -7
- package/es/{diagram-P4PSJMXO--ChDmcya.js → diagram-P4PSJMXO-BlX6jFjZ.js} +7 -7
- package/es/{dist-DltyvPj3.js → dist-BX_roQzC.js} +1 -1
- package/es/{erDiagram-INFDFZHY-BA3m-v87.js → erDiagram-INFDFZHY-BcRXu8Cp.js} +14 -14
- package/es/{flowDiagram-PKNHOUZH-BCq6k3kr.js → flowDiagram-PKNHOUZH-UeyfgU8z.js} +17 -17
- package/es/{ganttDiagram-A5KZAMGK-DdMePS21.js → ganttDiagram-A5KZAMGK-txCzqgQ5.js} +28 -28
- package/es/gitGraph-HDMCJU4V-CxsS0Qr1.js +3 -0
- package/es/{gitGraphDiagram-K3NZZRJ6-CLbRwChG.js → gitGraphDiagram-K3NZZRJ6-DghWYaFU.js} +7 -7
- package/es/{graphlib-C7ysKz4u.js → graphlib-dRkI1OCL.js} +4 -4
- package/es/{html-BNNJXCkq.js → html-CWvNBSxv.js} +1 -1
- package/es/info-3K5VOQVL-COqdvM99.js +3 -0
- package/es/{infoDiagram-LFFYTUFH-DQAZ-vFk.js → infoDiagram-LFFYTUFH-CA-vlAvP.js} +5 -5
- package/es/{init-PAs0hR-b.js → init-B75p2clj.js} +1 -1
- package/es/{isArrayLikeObject-y3HlYDaX.js → isArrayLikeObject-jl2bjkAJ.js} +80 -80
- package/es/{isEmpty-2JxdWtc-.js → isEmpty-CmA-HYrg.js} +3 -3
- package/es/{ishikawaDiagram-PHBUUO56-B0r2IgGz.js → ishikawaDiagram-PHBUUO56-DjdpS9Lb.js} +6 -6
- package/es/{journeyDiagram-4ABVD52K-DnMUhOvg.js → journeyDiagram-4ABVD52K-CIJfC1fp.js} +6 -6
- package/es/{kanban-definition-K7BYSVSG-Da5Y-nJy.js → kanban-definition-K7BYSVSG-CC2vwGck.js} +11 -11
- package/es/{katex-b-xdokOf.js → katex-DCMiIo1z.js} +1 -1
- package/es/{line-h2iCTGsE.js → line-Cu9NTacD.js} +4 -4
- package/es/{linear-Bv7XrZCH.js → linear-C0rAYYmp.js} +23 -23
- package/es/{math-DPzKeDKn.js → math-CoDOuve-.js} +1 -1
- package/es/{mermaid-parser.core-kTgpNO7M.js → mermaid-parser.core-7Wn2L29P.js} +16 -16
- package/es/{mermaid.core-Db1VE3-f.js → mermaid.core-Bvy_Q6Hu.js} +44 -44
- package/es/{mindmap-definition-YRQLILUH-CYeqnCde.js → mindmap-definition-YRQLILUH-BzTYDYmK.js} +16 -16
- package/es/{ordinal-D8PKtxfM.js → ordinal-F3U6aXtP.js} +3 -3
- package/es/packet-RMMSAZCW-2PTjWKLd.js +3 -0
- package/es/{path-DZ-6AyWK.js → path-Dm3C8WEs.js} +3 -3
- package/es/pie-UPGHQEXC-Du8-k-EA.js +3 -0
- package/es/{pieDiagram-SKSYHLDU-DAsfTGvY.js → pieDiagram-SKSYHLDU-COvqE_C6.js} +14 -14
- package/es/{quadrantDiagram-337W2JSQ-CZLbmQS4.js → quadrantDiagram-337W2JSQ-Dgv8ccjt.js} +4 -4
- package/es/radar-KQ55EAFF-jJOhyjxC.js +3 -0
- package/es/{requirementDiagram-Z7DCOOCP-Cb_Ygnfe.js → requirementDiagram-Z7DCOOCP-B2NyhxO-.js} +13 -13
- package/es/{rough.esm-C_hJ3ICT.js → rough.esm-BhGP2Udb.js} +1 -1
- package/es/{sankeyDiagram-WA2Y5GQK-DBe5YfW4.js → sankeyDiagram-WA2Y5GQK-BfnH_gpl.js} +18 -18
- package/es/{sequenceDiagram-2WXFIKYE-C_KUoojT.js → sequenceDiagram-2WXFIKYE-DXssVQOF.js} +8 -8
- package/es/{shiki-runtime-B7sqK6Yk.js → shiki-runtime-D0MO6er5.js} +49 -49
- package/es/{src-BukXhifV.js → src-CUQ6oOYk.js} +86 -86
- package/es/{stateDiagram-RAJIS63D-boG6DyfW.js → stateDiagram-RAJIS63D-DvDLfupV.js} +17 -17
- package/es/stateDiagram-v2-FVOUBMTO-DIXyaX9W.js +27 -0
- package/es/{timeline-definition-YZTLITO2-pFt6rZ6S.js → timeline-definition-YZTLITO2-ErcRjbZf.js} +4 -4
- package/es/treemap-KZPCXAKY-CvZAIYVa.js +3 -0
- package/es/{vennDiagram-LZ73GAT5-VaCO6k4H.js → vennDiagram-LZ73GAT5-CDTZUtc8.js} +7 -7
- package/es/{xychartDiagram-JWTSCODW-xS5ybemA.js → xychartDiagram-JWTSCODW-Y21jBOTg.js} +12 -12
- package/package.json +1 -1
- package/es/architecture-PBZL5I3N-DHfBr78A.js +0 -3
- package/es/channel-DoEe9DF9.js +0 -5
- package/es/classDiagram-VBA2DB6C-DWTAs0Zm.js +0 -29
- package/es/classDiagram-v2-RAHNMMFH-CoxCdmrt.js +0 -29
- package/es/clone-BXDbKCDu.js +0 -8
- package/es/gitGraph-HDMCJU4V-DbzpICZW.js +0 -3
- package/es/info-3K5VOQVL-CpUiQuel.js +0 -3
- package/es/packet-RMMSAZCW-UTFQ0FQx.js +0 -3
- package/es/pie-UPGHQEXC-CarAcBSi.js +0 -3
- package/es/radar-KQ55EAFF-NXK5PC9R.js +0 -3
- package/es/stateDiagram-v2-FVOUBMTO-DHCajhrN.js +0 -27
- package/es/treemap-KZPCXAKY-Cj9QakFB.js +0 -3
package/dist/index.umd.js
CHANGED
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
shiki_dist_themes_vitesse_dark_mjs = __toESM(shiki_dist_themes_vitesse_dark_mjs);
|
|
60
60
|
shiki_dist_themes_vitesse_light_mjs = __toESM(shiki_dist_themes_vitesse_light_mjs);
|
|
61
61
|
//#region package.json
|
|
62
|
-
var version = "1.1.3-beta.
|
|
62
|
+
var version = "1.1.3-beta.5";
|
|
63
63
|
//#endregion
|
|
64
64
|
//#region components/x-provider/context.ts
|
|
65
65
|
var XProviderContextKey = Symbol("antdv-next-x-provider-context");
|
|
@@ -11371,6 +11371,7 @@
|
|
|
11371
11371
|
top: (0, _antdv_next_cssinjs.unit)(calc(iconSize).mul(token.lineHeight).equal())
|
|
11372
11372
|
}
|
|
11373
11373
|
},
|
|
11374
|
+
[`${componentCls}-node-icon-none`]: { "&:after": { display: "none" } },
|
|
11374
11375
|
[`${componentCls}-node-icon-dashed`]: { "&:after": { borderInlineStart: `${(0, _antdv_next_cssinjs.unit)(token.lineWidth)} dashed ${token.colorFillContent}` } },
|
|
11375
11376
|
[`${componentCls}-node-icon-dotted`]: { "&:after": { borderInlineStart: `${(0, _antdv_next_cssinjs.unit)(token.lineWidth)} dotted ${token.colorFillContent}` } },
|
|
11376
11377
|
[`${componentCls}-node-index-icon`]: {
|
|
@@ -11590,17 +11591,13 @@
|
|
|
11590
11591
|
type: Number,
|
|
11591
11592
|
required: true
|
|
11592
11593
|
},
|
|
11593
|
-
isLast: {
|
|
11594
|
-
type: Boolean,
|
|
11595
|
-
default: false
|
|
11596
|
-
},
|
|
11597
11594
|
prefixCls: {
|
|
11598
11595
|
type: String,
|
|
11599
11596
|
required: true
|
|
11600
11597
|
},
|
|
11601
11598
|
lineStyle: {
|
|
11602
11599
|
type: [Boolean, String],
|
|
11603
|
-
default:
|
|
11600
|
+
default: true
|
|
11604
11601
|
},
|
|
11605
11602
|
expanded: {
|
|
11606
11603
|
type: Boolean,
|
|
@@ -11640,11 +11637,6 @@
|
|
|
11640
11637
|
const configCtx = (0, antdv_next_config_provider_context.useConfig)();
|
|
11641
11638
|
const isRtl = (0, vue.computed)(() => configCtx.value.direction === "rtl");
|
|
11642
11639
|
const nodePrefixCls = (0, vue.computed)(() => `${props.prefixCls}-node`);
|
|
11643
|
-
const resolvedLineStyle = (0, vue.computed)(() => {
|
|
11644
|
-
if (props.lineStyle === false || props.isLast) return "none";
|
|
11645
|
-
if (props.lineStyle === true) return "solid";
|
|
11646
|
-
return props.lineStyle;
|
|
11647
|
-
});
|
|
11648
11640
|
const statusCls = (0, vue.computed)(() => `${props.prefixCls}-status`);
|
|
11649
11641
|
const createSharedSlotInfo = (collapsible) => ({
|
|
11650
11642
|
item: props.item,
|
|
@@ -11670,7 +11662,8 @@
|
|
|
11670
11662
|
props.classes?.itemIcon,
|
|
11671
11663
|
{
|
|
11672
11664
|
[`${statusCls.value}-${item.status}`]: item.status,
|
|
11673
|
-
[`${nodePrefixCls.value}-icon-${
|
|
11665
|
+
[`${nodePrefixCls.value}-icon-${props.lineStyle}`]: typeof props.lineStyle === "string",
|
|
11666
|
+
[`${nodePrefixCls.value}-icon-none`]: props.lineStyle === false
|
|
11674
11667
|
}
|
|
11675
11668
|
],
|
|
11676
11669
|
"style": props.styles?.itemIcon
|
|
@@ -11824,7 +11817,7 @@
|
|
|
11824
11817
|
},
|
|
11825
11818
|
line: {
|
|
11826
11819
|
type: [Boolean, String],
|
|
11827
|
-
default:
|
|
11820
|
+
default: true
|
|
11828
11821
|
}
|
|
11829
11822
|
},
|
|
11830
11823
|
emits: ["update:expandedKeys", "expand"],
|
|
@@ -11906,7 +11899,6 @@
|
|
|
11906
11899
|
"key": key,
|
|
11907
11900
|
"item": item,
|
|
11908
11901
|
"index": index,
|
|
11909
|
-
"isLast": index === items.length - 1,
|
|
11910
11902
|
"prefixCls": prefixCls.value,
|
|
11911
11903
|
"lineStyle": props.line,
|
|
11912
11904
|
"expanded": mergedExpandedKeys.value.includes(key),
|
package/dist/package.js
CHANGED
|
@@ -9,17 +9,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
9
9
|
type: NumberConstructor;
|
|
10
10
|
required: true;
|
|
11
11
|
};
|
|
12
|
-
isLast: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
12
|
prefixCls: {
|
|
17
13
|
type: StringConstructor;
|
|
18
14
|
required: true;
|
|
19
15
|
};
|
|
20
16
|
lineStyle: {
|
|
21
17
|
type: PropType<boolean | "solid" | "dashed" | "dotted">;
|
|
22
|
-
default:
|
|
18
|
+
default: boolean;
|
|
23
19
|
};
|
|
24
20
|
expanded: {
|
|
25
21
|
type: BooleanConstructor;
|
|
@@ -62,17 +58,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
62
58
|
type: NumberConstructor;
|
|
63
59
|
required: true;
|
|
64
60
|
};
|
|
65
|
-
isLast: {
|
|
66
|
-
type: BooleanConstructor;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
61
|
prefixCls: {
|
|
70
62
|
type: StringConstructor;
|
|
71
63
|
required: true;
|
|
72
64
|
};
|
|
73
65
|
lineStyle: {
|
|
74
66
|
type: PropType<boolean | "solid" | "dashed" | "dotted">;
|
|
75
|
-
default:
|
|
67
|
+
default: boolean;
|
|
76
68
|
};
|
|
77
69
|
expanded: {
|
|
78
70
|
type: BooleanConstructor;
|
|
@@ -115,7 +107,6 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
115
107
|
descriptionRenderSlot: ((info: ThoughtChainDescriptionSlotInfo) => VNodeChild) | undefined;
|
|
116
108
|
iconRenderSlot: ((info: ThoughtChainIconSlotInfo) => VNodeChild) | undefined;
|
|
117
109
|
titleRenderSlot: ((info: ThoughtChainTitleSlotInfo) => VNodeChild) | undefined;
|
|
118
|
-
isLast: boolean;
|
|
119
110
|
lineStyle: boolean | "dashed" | "dotted" | "solid";
|
|
120
111
|
contentRenderSlot: ((info: ThoughtChainContentSlotInfo) => VNodeChild) | undefined;
|
|
121
112
|
footerRenderSlot: ((info: ThoughtChainFooterSlotInfo) => VNodeChild) | undefined;
|
|
@@ -15,17 +15,13 @@ var Node_default = /* @__PURE__ */ defineComponent({
|
|
|
15
15
|
type: Number,
|
|
16
16
|
required: true
|
|
17
17
|
},
|
|
18
|
-
isLast: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: false
|
|
21
|
-
},
|
|
22
18
|
prefixCls: {
|
|
23
19
|
type: String,
|
|
24
20
|
required: true
|
|
25
21
|
},
|
|
26
22
|
lineStyle: {
|
|
27
23
|
type: [Boolean, String],
|
|
28
|
-
default:
|
|
24
|
+
default: true
|
|
29
25
|
},
|
|
30
26
|
expanded: {
|
|
31
27
|
type: Boolean,
|
|
@@ -65,11 +61,6 @@ var Node_default = /* @__PURE__ */ defineComponent({
|
|
|
65
61
|
const configCtx = useConfig();
|
|
66
62
|
const isRtl = computed(() => configCtx.value.direction === "rtl");
|
|
67
63
|
const nodePrefixCls = computed(() => `${props.prefixCls}-node`);
|
|
68
|
-
const resolvedLineStyle = computed(() => {
|
|
69
|
-
if (props.lineStyle === false || props.isLast) return "none";
|
|
70
|
-
if (props.lineStyle === true) return "solid";
|
|
71
|
-
return props.lineStyle;
|
|
72
|
-
});
|
|
73
64
|
const statusCls = computed(() => `${props.prefixCls}-status`);
|
|
74
65
|
const createSharedSlotInfo = (collapsible) => ({
|
|
75
66
|
item: props.item,
|
|
@@ -95,7 +86,8 @@ var Node_default = /* @__PURE__ */ defineComponent({
|
|
|
95
86
|
props.classes?.itemIcon,
|
|
96
87
|
{
|
|
97
88
|
[`${statusCls.value}-${item.status}`]: item.status,
|
|
98
|
-
[`${nodePrefixCls.value}-icon-${
|
|
89
|
+
[`${nodePrefixCls.value}-icon-${props.lineStyle}`]: typeof props.lineStyle === "string",
|
|
90
|
+
[`${nodePrefixCls.value}-icon-none`]: props.lineStyle === false
|
|
99
91
|
}
|
|
100
92
|
],
|
|
101
93
|
"style": props.styles?.itemIcon
|
|
@@ -39,7 +39,7 @@ export declare const XThoughtChain: import('vue').DefineComponent<import('vue').
|
|
|
39
39
|
};
|
|
40
40
|
line: {
|
|
41
41
|
type: PropType<boolean | "solid" | "dashed" | "dotted">;
|
|
42
|
-
default:
|
|
42
|
+
default: boolean;
|
|
43
43
|
};
|
|
44
44
|
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("expand" | "update:expandedKeys")[], "expand" | "update:expandedKeys", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
45
45
|
prefixCls: {
|
|
@@ -80,7 +80,7 @@ export declare const XThoughtChain: import('vue').DefineComponent<import('vue').
|
|
|
80
80
|
};
|
|
81
81
|
line: {
|
|
82
82
|
type: PropType<boolean | "solid" | "dashed" | "dotted">;
|
|
83
|
-
default:
|
|
83
|
+
default: boolean;
|
|
84
84
|
};
|
|
85
85
|
}>> & Readonly<{
|
|
86
86
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
@@ -54,7 +54,7 @@ var XThoughtChain = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
},
|
|
55
55
|
line: {
|
|
56
56
|
type: [Boolean, String],
|
|
57
|
-
default:
|
|
57
|
+
default: true
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
emits: ["update:expandedKeys", "expand"],
|
|
@@ -136,7 +136,6 @@ var XThoughtChain = /* @__PURE__ */ defineComponent({
|
|
|
136
136
|
"key": key,
|
|
137
137
|
"item": item,
|
|
138
138
|
"index": index,
|
|
139
|
-
"isLast": index === items.length - 1,
|
|
140
139
|
"prefixCls": prefixCls.value,
|
|
141
140
|
"lineStyle": props.line,
|
|
142
141
|
"expanded": mergedExpandedKeys.value.includes(key),
|
|
@@ -52,6 +52,7 @@ var genThoughtChainStyle = (token) => {
|
|
|
52
52
|
top: unit(calc(iconSize).mul(token.lineHeight).equal())
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
|
+
[`${componentCls}-node-icon-none`]: { "&:after": { display: "none" } },
|
|
55
56
|
[`${componentCls}-node-icon-dashed`]: { "&:after": { borderInlineStart: `${unit(token.lineWidth)} dashed ${token.colorFillContent}` } },
|
|
56
57
|
[`${componentCls}-node-icon-dotted`]: { "&:after": { borderInlineStart: `${unit(token.lineWidth)} dotted ${token.colorFillContent}` } },
|
|
57
58
|
[`${componentCls}-node-index-icon`]: {
|
|
@@ -2,7 +2,7 @@ export declare const defaultPrefixCls = "ant";
|
|
|
2
2
|
export default function useXProviderContext(): {
|
|
3
3
|
theme: import('antdv-next').ThemeConfig | undefined;
|
|
4
4
|
getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string;
|
|
5
|
-
direction: import('antdv-next/config-provider/context').DirectionType;
|
|
6
|
-
csp: import('antdv-next/config-provider/context').CSPConfig | undefined;
|
|
5
|
+
direction: import('antdv-next/dist/config-provider/context').DirectionType;
|
|
6
|
+
csp: import('antdv-next/dist/config-provider/context').CSPConfig | undefined;
|
|
7
7
|
iconPrefixCls: string;
|
|
8
8
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/stylis/src/Enum.js
|
|
1
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js
|
|
2
2
|
var e = "-ms-", t = "-moz-", n = "-webkit-", r = "comm", i = "rule", a = "decl", o = "@import", s = "@namespace", c = "@keyframes", l = "@layer", u = Math.abs, d = String.fromCharCode, f = Object.assign;
|
|
3
3
|
function p(e, t) {
|
|
4
4
|
return v(e, 0) ^ 45 ? (((t << 2 ^ v(e, 0)) << 2 ^ v(e, 1)) << 2 ^ v(e, 2)) << 2 ^ v(e, 3) : 0;
|
|
@@ -39,7 +39,7 @@ function w(e, t) {
|
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
41
|
//#endregion
|
|
42
|
-
//#region ../../node_modules/stylis/src/Tokenizer.js
|
|
42
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js
|
|
43
43
|
var T = 1, E = 1, D = 0, O = 0, k = 0, A = "";
|
|
44
44
|
function j(e, t, n, r, i, a, o, s) {
|
|
45
45
|
return {
|
|
@@ -150,7 +150,7 @@ function J(e) {
|
|
|
150
150
|
return z(e, O);
|
|
151
151
|
}
|
|
152
152
|
//#endregion
|
|
153
|
-
//#region ../../node_modules/stylis/src/Parser.js
|
|
153
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js
|
|
154
154
|
function Y(e) {
|
|
155
155
|
return H(X("", null, null, null, [""], e = V(e), 0, [0], e));
|
|
156
156
|
}
|
|
@@ -241,7 +241,7 @@ function Q(e, t, n, r, i) {
|
|
|
241
241
|
return j(e, t, n, a, y(e, 0, r), y(e, r + 1, -1), r, i);
|
|
242
242
|
}
|
|
243
243
|
//#endregion
|
|
244
|
-
//#region ../../node_modules/stylis/src/Serializer.js
|
|
244
|
+
//#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js
|
|
245
245
|
function $(e, t) {
|
|
246
246
|
for (var n = "", r = 0; r < e.length; r++) n += t(e[r], r, e, t) || "";
|
|
247
247
|
return n;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, E as r, H as i, M as a, U as o, V as s, k as c, p as l, w as u, z as d } from "./isArrayLikeObject-
|
|
2
|
-
import { A as f, C as p, D as m, M as h, N as g, S as _, T as v, f as y, h as b, u as x, w as S } from "./_baseUniq-
|
|
3
|
-
//#region ../../node_modules/lodash-es/_trimmedEndIndex.js
|
|
1
|
+
import { A as e, B as t, C as n, E as r, H as i, M as a, U as o, V as s, k as c, p as l, w as u, z as d } from "./isArrayLikeObject-jl2bjkAJ.js";
|
|
2
|
+
import { A as f, C as p, D as m, M as h, N as g, S as _, T as v, f as y, h as b, u as x, w as S } from "./_baseUniq-BlS7rXTs.js";
|
|
3
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_trimmedEndIndex.js
|
|
4
4
|
var C = /\s/;
|
|
5
5
|
function w(e) {
|
|
6
6
|
for (var t = e.length; t-- && C.test(e.charAt(t)););
|
|
7
7
|
return t;
|
|
8
8
|
}
|
|
9
9
|
//#endregion
|
|
10
|
-
//#region ../../node_modules/lodash-es/_baseTrim.js
|
|
10
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTrim.js
|
|
11
11
|
var ee = /^\s+/;
|
|
12
12
|
function T(e) {
|
|
13
13
|
return e && e.slice(0, w(e) + 1).replace(ee, "");
|
|
14
14
|
}
|
|
15
15
|
//#endregion
|
|
16
|
-
//#region ../../node_modules/lodash-es/toNumber.js
|
|
16
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toNumber.js
|
|
17
17
|
var E = NaN, D = /^[-+]0x[0-9a-f]+$/i, O = /^0b[01]+$/i, k = /^0o[0-7]+$/i, A = parseInt;
|
|
18
18
|
function j(e) {
|
|
19
19
|
if (typeof e == "number") return e;
|
|
@@ -28,24 +28,24 @@ function j(e) {
|
|
|
28
28
|
return r || k.test(e) ? A(e.slice(2), r ? 2 : 8) : D.test(e) ? E : +e;
|
|
29
29
|
}
|
|
30
30
|
//#endregion
|
|
31
|
-
//#region ../../node_modules/lodash-es/toFinite.js
|
|
31
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toFinite.js
|
|
32
32
|
var M = Infinity, N = 17976931348623157e292;
|
|
33
33
|
function P(e) {
|
|
34
34
|
return e ? (e = j(e), e === M || e === -M ? (e < 0 ? -1 : 1) * N : e === e ? e : 0) : e === 0 ? e : 0;
|
|
35
35
|
}
|
|
36
36
|
//#endregion
|
|
37
|
-
//#region ../../node_modules/lodash-es/toInteger.js
|
|
37
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toInteger.js
|
|
38
38
|
function F(e) {
|
|
39
39
|
var t = P(e), n = t % 1;
|
|
40
40
|
return t === t ? n ? t - n : t : 0;
|
|
41
41
|
}
|
|
42
42
|
//#endregion
|
|
43
|
-
//#region ../../node_modules/lodash-es/flatten.js
|
|
43
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatten.js
|
|
44
44
|
function I(e) {
|
|
45
45
|
return e != null && e.length ? _(e, 1) : [];
|
|
46
46
|
}
|
|
47
47
|
//#endregion
|
|
48
|
-
//#region ../../node_modules/lodash-es/defaults.js
|
|
48
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/defaults.js
|
|
49
49
|
var L = Object.prototype, R = L.hasOwnProperty, z = r(function(t, r) {
|
|
50
50
|
t = Object(t);
|
|
51
51
|
var i = -1, a = r.length, o = a > 2 ? r[2] : void 0;
|
|
@@ -56,13 +56,13 @@ var L = Object.prototype, R = L.hasOwnProperty, z = r(function(t, r) {
|
|
|
56
56
|
return t;
|
|
57
57
|
});
|
|
58
58
|
//#endregion
|
|
59
|
-
//#region ../../node_modules/lodash-es/last.js
|
|
59
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/last.js
|
|
60
60
|
function B(e) {
|
|
61
61
|
var t = e == null ? 0 : e.length;
|
|
62
62
|
return t ? e[t - 1] : void 0;
|
|
63
63
|
}
|
|
64
64
|
//#endregion
|
|
65
|
-
//#region ../../node_modules/lodash-es/_createFind.js
|
|
65
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createFind.js
|
|
66
66
|
function V(e) {
|
|
67
67
|
return function(t, n, r) {
|
|
68
68
|
var i = Object(t);
|
|
@@ -77,7 +77,7 @@ function V(e) {
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
//#endregion
|
|
80
|
-
//#region ../../node_modules/lodash-es/findIndex.js
|
|
80
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/findIndex.js
|
|
81
81
|
var H = Math.max;
|
|
82
82
|
function U(e, t, n) {
|
|
83
83
|
var r = e == null ? 0 : e.length;
|
|
@@ -86,10 +86,10 @@ function U(e, t, n) {
|
|
|
86
86
|
return i < 0 && (i = H(r + i, 0)), f(e, y(t, 3), i);
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
|
-
//#region ../../node_modules/lodash-es/find.js
|
|
89
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/find.js
|
|
90
90
|
var W = V(U);
|
|
91
91
|
//#endregion
|
|
92
|
-
//#region ../../node_modules/lodash-es/_baseMap.js
|
|
92
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMap.js
|
|
93
93
|
function G(e, t) {
|
|
94
94
|
var n = -1, r = u(e) ? Array(e.length) : [];
|
|
95
95
|
return x(e, function(e, i, a) {
|
|
@@ -97,34 +97,34 @@ function G(e, t) {
|
|
|
97
97
|
}), r;
|
|
98
98
|
}
|
|
99
99
|
//#endregion
|
|
100
|
-
//#region ../../node_modules/lodash-es/map.js
|
|
100
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/map.js
|
|
101
101
|
function K(e, t) {
|
|
102
102
|
return (s(e) ? h : G)(e, y(t, 3));
|
|
103
103
|
}
|
|
104
104
|
//#endregion
|
|
105
|
-
//#region ../../node_modules/lodash-es/_baseHas.js
|
|
105
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseHas.js
|
|
106
106
|
var q = Object.prototype.hasOwnProperty;
|
|
107
107
|
function J(e, t) {
|
|
108
108
|
return e != null && q.call(e, t);
|
|
109
109
|
}
|
|
110
110
|
//#endregion
|
|
111
|
-
//#region ../../node_modules/lodash-es/has.js
|
|
111
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/has.js
|
|
112
112
|
function Y(e, t) {
|
|
113
113
|
return e != null && b(e, t, J);
|
|
114
114
|
}
|
|
115
115
|
//#endregion
|
|
116
|
-
//#region ../../node_modules/lodash-es/isString.js
|
|
116
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isString.js
|
|
117
117
|
var X = "[object String]";
|
|
118
118
|
function Z(e) {
|
|
119
119
|
return typeof e == "string" || !s(e) && i(e) && o(e) == X;
|
|
120
120
|
}
|
|
121
121
|
//#endregion
|
|
122
|
-
//#region ../../node_modules/lodash-es/_baseLt.js
|
|
122
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseLt.js
|
|
123
123
|
function Q(e, t) {
|
|
124
124
|
return e < t;
|
|
125
125
|
}
|
|
126
126
|
//#endregion
|
|
127
|
-
//#region ../../node_modules/lodash-es/_baseExtremum.js
|
|
127
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseExtremum.js
|
|
128
128
|
function $(e, t, n) {
|
|
129
129
|
for (var r = -1, i = e.length; ++r < i;) {
|
|
130
130
|
var a = e[r], o = t(a);
|
|
@@ -133,12 +133,12 @@ function $(e, t, n) {
|
|
|
133
133
|
return c;
|
|
134
134
|
}
|
|
135
135
|
//#endregion
|
|
136
|
-
//#region ../../node_modules/lodash-es/min.js
|
|
136
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/min.js
|
|
137
137
|
function te(e) {
|
|
138
138
|
return e && e.length ? $(e, d, Q) : void 0;
|
|
139
139
|
}
|
|
140
140
|
//#endregion
|
|
141
|
-
//#region ../../node_modules/lodash-es/_baseSet.js
|
|
141
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSet.js
|
|
142
142
|
function ne(e, n, r, i) {
|
|
143
143
|
if (!t(e)) return e;
|
|
144
144
|
n = v(n, e);
|
|
@@ -154,7 +154,7 @@ function ne(e, n, r, i) {
|
|
|
154
154
|
return e;
|
|
155
155
|
}
|
|
156
156
|
//#endregion
|
|
157
|
-
//#region ../../node_modules/lodash-es/_basePickBy.js
|
|
157
|
+
//#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePickBy.js
|
|
158
158
|
function re(e, t, n) {
|
|
159
159
|
for (var r = -1, i = t.length, a = {}; ++r < i;) {
|
|
160
160
|
var o = t[r], s = p(e, o);
|