@antdv-next/x 1.1.2-beta.1 → 1.1.2-beta.3

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.
Files changed (112) hide show
  1. package/dist/index.umd.js +30 -14
  2. package/dist/package.js +1 -1
  3. package/dist/sender/Sender.js +2 -2
  4. package/dist/sender/components/SlotTextArea.js +27 -11
  5. package/dist/sender/interface.d.ts +1 -1
  6. package/dist/x-provider/hooks/use-x-provider-context.d.ts +2 -2
  7. package/es/{Serializer-D1JYN1kI.js → Serializer-y_SfSPKv.js} +4 -4
  8. package/es/{_basePickBy-DFHEGO2M.js → _basePickBy-Cy7KVmkk.js} +23 -23
  9. package/es/{_baseUniq-BlS7rXTs.js → _baseUniq-Ch3HuHeT.js} +83 -83
  10. package/es/antdv-next-x.esm.js +426 -402
  11. package/es/{arc-BuXEd18J.js → arc-caEkbRYF.js} +3 -3
  12. package/es/architecture-PBZL5I3N-DHfBr78A.js +3 -0
  13. package/es/{architectureDiagram-2XIMDMQ5-CmfsCwJk.js → architectureDiagram-2XIMDMQ5-B4BHdsAL.js} +9 -9
  14. package/es/{blockDiagram-WCTKOSBZ-lJAan65A.js → blockDiagram-WCTKOSBZ-nXanZ0sc.js} +12 -12
  15. package/es/{c4Diagram-IC4MRINW-B1c2x_1Q.js → c4Diagram-IC4MRINW-C-gVp6th.js} +6 -6
  16. package/es/channel-DoEe9DF9.js +5 -0
  17. package/es/{chunk-4BX2VUAB-J2N81Fpp.js → chunk-4BX2VUAB-fLFD6XW0.js} +2 -2
  18. package/es/{chunk-55IACEB6-DGtfGRgi.js → chunk-55IACEB6-OtyKJzCH.js} +2 -2
  19. package/es/{chunk-7E7YKBS2-CL2d4WAf.js → chunk-7E7YKBS2-C1dd36rm.js} +2 -2
  20. package/es/{chunk-7R4GIKGN-QT6IorJ_.js → chunk-7R4GIKGN-DuTRhdsf.js} +3 -3
  21. package/es/{chunk-C72U2L5F-OHTVpS-m.js → chunk-C72U2L5F-ClmZGhFC.js} +2 -2
  22. package/es/{chunk-EGIJ26TM-DyMPGYrB.js → chunk-EGIJ26TM-Bar_u1MN.js} +2 -2
  23. package/es/{chunk-FMBD7UC4-DCcRjunY.js → chunk-FMBD7UC4-C_uJ_JJA.js} +2 -2
  24. package/es/{chunk-GEFDOKGD-BWpC-zoH.js → chunk-GEFDOKGD-P7WhyrTU.js} +30 -30
  25. package/es/{chunk-GLR3WWYH-DiXcKb5Y.js → chunk-GLR3WWYH-BvazRgdo.js} +8 -8
  26. package/es/{chunk-HHEYEP7N-Cxc7E4dX.js → chunk-HHEYEP7N-rv5s5WD4.js} +3 -3
  27. package/es/{chunk-JSJVCQXG-D8_heHOp.js → chunk-JSJVCQXG-89HUGe9V.js} +4 -4
  28. package/es/{chunk-KX2RTZJC-D5cc4rj6.js → chunk-KX2RTZJC-pMHnNRQg.js} +3 -3
  29. package/es/{chunk-KYZI473N-BHJ3T5Zv.js → chunk-KYZI473N-DJmSs1gK.js} +8 -8
  30. package/es/{chunk-L3YUKLVL-7oGaUOdc.js → chunk-L3YUKLVL-Ck54qytQ.js} +2 -2
  31. package/es/{chunk-MX3YWQON-BxE-Aq9c.js → chunk-MX3YWQON-MkpK3uBD.js} +2 -2
  32. package/es/{chunk-NQ4KR5QH-EYQBXkqP.js → chunk-NQ4KR5QH-DGshodQv.js} +7 -7
  33. package/es/{chunk-O4XLMI2P-qjOoGpnx.js → chunk-O4XLMI2P-e-ZzDQwg.js} +11 -11
  34. package/es/{chunk-OZEHJAEY-D82nx27s.js → chunk-OZEHJAEY-DULNd43V.js} +2 -2
  35. package/es/{chunk-PQ6SQG4A-D3jtNCWN.js → chunk-PQ6SQG4A-CQ9Csv7s.js} +3 -3
  36. package/es/{chunk-PU5JKC2W-DdP8BS-S.js → chunk-PU5JKC2W-DkEFvrjH.js} +16 -16
  37. package/es/{chunk-QZHKN3VN-CW3cFN-h.js → chunk-QZHKN3VN-qww1plfw.js} +2 -2
  38. package/es/{chunk-R5LLSJPH-CreI2kO9.js → chunk-R5LLSJPH-BERXSDGJ.js} +2 -2
  39. package/es/{chunk-WL4C6EOR-BDbxJyGk.js → chunk-WL4C6EOR-C-d8WPS7.js} +9 -9
  40. package/es/{chunk-XIRO2GV7-S5KkbVnN.js → chunk-XIRO2GV7-CFHofxVB.js} +2 -2
  41. package/es/{chunk-XPW4576I-B0KVSHwE.js → chunk-XPW4576I-DgvoNZkW.js} +2 -2
  42. package/es/{chunk-XZSTWKYB-CucN1XvM.js → chunk-XZSTWKYB-k8_EXrSa.js} +93 -93
  43. package/es/{chunk-YBOYWFTD-CvaddD9G.js → chunk-YBOYWFTD-BUW4AzEX.js} +4 -4
  44. package/es/classDiagram-VBA2DB6C-DWTAs0Zm.js +29 -0
  45. package/es/classDiagram-v2-RAHNMMFH-CoxCdmrt.js +29 -0
  46. package/es/clone-BXDbKCDu.js +8 -0
  47. package/es/{cose-bilkent-S5V4N54A-B5OQuIhl.js → cose-bilkent-S5V4N54A-CnrS2OC1.js} +3 -3
  48. package/es/{cytoscape.esm-i2CZcWd-.js → cytoscape.esm-BY3wHcbp.js} +1 -1
  49. package/es/{dagre-5aGJFKmT.js → dagre-BJOzGlhW.js} +57 -57
  50. package/es/{dagre-KLK3FWXG-BI5QQMXo.js → dagre-KLK3FWXG-CFC0naVr.js} +16 -16
  51. package/es/{defaultLocale-bckJcYh1.js → defaultLocale-BaPFSbai.js} +12 -12
  52. package/es/{diagram-E7M64L7V-Dz62Vz_a.js → diagram-E7M64L7V-DxuJj8ZG.js} +32 -32
  53. package/es/{diagram-IFDJBPK2-9fjvFkSc.js → diagram-IFDJBPK2-BOpPZ6pu.js} +7 -7
  54. package/es/{diagram-P4PSJMXO-BlX6jFjZ.js → diagram-P4PSJMXO--ChDmcya.js} +7 -7
  55. package/es/{dist-BX_roQzC.js → dist-DltyvPj3.js} +1 -1
  56. package/es/{erDiagram-INFDFZHY-BcRXu8Cp.js → erDiagram-INFDFZHY-BA3m-v87.js} +14 -14
  57. package/es/{flowDiagram-PKNHOUZH-UeyfgU8z.js → flowDiagram-PKNHOUZH-BCq6k3kr.js} +17 -17
  58. package/es/{ganttDiagram-A5KZAMGK-txCzqgQ5.js → ganttDiagram-A5KZAMGK-DdMePS21.js} +28 -28
  59. package/es/gitGraph-HDMCJU4V-DbzpICZW.js +3 -0
  60. package/es/{gitGraphDiagram-K3NZZRJ6-DghWYaFU.js → gitGraphDiagram-K3NZZRJ6-CLbRwChG.js} +7 -7
  61. package/es/{graphlib-dRkI1OCL.js → graphlib-C7ysKz4u.js} +4 -4
  62. package/es/{html-B6UxjOv0.js → html-C2-_98S6.js} +1 -1
  63. package/es/html-JbFqcNgP.js +2 -0
  64. package/es/info-3K5VOQVL-CpUiQuel.js +3 -0
  65. package/es/{infoDiagram-LFFYTUFH-CA-vlAvP.js → infoDiagram-LFFYTUFH-DQAZ-vFk.js} +5 -5
  66. package/es/{init-B75p2clj.js → init-PAs0hR-b.js} +1 -1
  67. package/es/{isArrayLikeObject-jl2bjkAJ.js → isArrayLikeObject-y3HlYDaX.js} +80 -80
  68. package/es/{isEmpty-CmA-HYrg.js → isEmpty-2JxdWtc-.js} +3 -3
  69. package/es/{ishikawaDiagram-PHBUUO56-DjdpS9Lb.js → ishikawaDiagram-PHBUUO56-B0r2IgGz.js} +6 -6
  70. package/es/{journeyDiagram-4ABVD52K-CIJfC1fp.js → journeyDiagram-4ABVD52K-DnMUhOvg.js} +6 -6
  71. package/es/{kanban-definition-K7BYSVSG-CC2vwGck.js → kanban-definition-K7BYSVSG-Da5Y-nJy.js} +11 -11
  72. package/es/{katex-DCMiIo1z.js → katex-b-xdokOf.js} +1 -1
  73. package/es/{line-Cu9NTacD.js → line-h2iCTGsE.js} +4 -4
  74. package/es/{linear-C0rAYYmp.js → linear-Bv7XrZCH.js} +23 -23
  75. package/es/{math-CoDOuve-.js → math-DPzKeDKn.js} +1 -1
  76. package/es/{mermaid-parser.core-7Wn2L29P.js → mermaid-parser.core-kTgpNO7M.js} +16 -16
  77. package/es/{mermaid.core-Bvy_Q6Hu.js → mermaid.core-Db1VE3-f.js} +44 -44
  78. package/es/{mindmap-definition-YRQLILUH-BzTYDYmK.js → mindmap-definition-YRQLILUH-CYeqnCde.js} +16 -16
  79. package/es/{ordinal-F3U6aXtP.js → ordinal-D8PKtxfM.js} +3 -3
  80. package/es/packet-RMMSAZCW-UTFQ0FQx.js +3 -0
  81. package/es/{path-Dm3C8WEs.js → path-DZ-6AyWK.js} +3 -3
  82. package/es/pie-UPGHQEXC-CarAcBSi.js +3 -0
  83. package/es/{pieDiagram-SKSYHLDU-COvqE_C6.js → pieDiagram-SKSYHLDU-DAsfTGvY.js} +14 -14
  84. package/es/{quadrantDiagram-337W2JSQ-Dgv8ccjt.js → quadrantDiagram-337W2JSQ-CZLbmQS4.js} +4 -4
  85. package/es/radar-KQ55EAFF-NXK5PC9R.js +3 -0
  86. package/es/{requirementDiagram-Z7DCOOCP-B2NyhxO-.js → requirementDiagram-Z7DCOOCP-Cb_Ygnfe.js} +13 -13
  87. package/es/{rough.esm-BhGP2Udb.js → rough.esm-C_hJ3ICT.js} +1 -1
  88. package/es/{sankeyDiagram-WA2Y5GQK-BfnH_gpl.js → sankeyDiagram-WA2Y5GQK-DBe5YfW4.js} +18 -18
  89. package/es/{sequenceDiagram-2WXFIKYE-DXssVQOF.js → sequenceDiagram-2WXFIKYE-C_KUoojT.js} +8 -8
  90. package/es/{src-CUQ6oOYk.js → src-BukXhifV.js} +86 -86
  91. package/es/{stateDiagram-RAJIS63D-DvDLfupV.js → stateDiagram-RAJIS63D-boG6DyfW.js} +17 -17
  92. package/es/stateDiagram-v2-FVOUBMTO-DHCajhrN.js +27 -0
  93. package/es/{timeline-definition-YZTLITO2-ErcRjbZf.js → timeline-definition-YZTLITO2-pFt6rZ6S.js} +4 -4
  94. package/es/treemap-KZPCXAKY-Cj9QakFB.js +3 -0
  95. package/es/{vennDiagram-LZ73GAT5-CDTZUtc8.js → vennDiagram-LZ73GAT5-VaCO6k4H.js} +7 -7
  96. package/es/{vue-2aJw7p5p.js → vue-DTiWrQBM.js} +2 -2
  97. package/es/{vue-html-DEjI8X9t.js → vue-html-BG3Xflut.js} +1 -1
  98. package/es/{xychartDiagram-JWTSCODW-Y21jBOTg.js → xychartDiagram-JWTSCODW-xS5ybemA.js} +12 -12
  99. package/package.json +1 -1
  100. package/es/architecture-PBZL5I3N-D7tS55xM.js +0 -3
  101. package/es/channel-DFgF_2F7.js +0 -5
  102. package/es/classDiagram-VBA2DB6C-Co3LMmg8.js +0 -29
  103. package/es/classDiagram-v2-RAHNMMFH-BZscgdF2.js +0 -29
  104. package/es/clone-r3YukIBB.js +0 -8
  105. package/es/gitGraph-HDMCJU4V-CxsS0Qr1.js +0 -3
  106. package/es/html-Hb1oe8XT.js +0 -2
  107. package/es/info-3K5VOQVL-COqdvM99.js +0 -3
  108. package/es/packet-RMMSAZCW-2PTjWKLd.js +0 -3
  109. package/es/pie-UPGHQEXC-Du8-k-EA.js +0 -3
  110. package/es/radar-KQ55EAFF-jJOhyjxC.js +0 -3
  111. package/es/stateDiagram-v2-FVOUBMTO-DIXyaX9W.js +0 -27
  112. package/es/treemap-KZPCXAKY-CvZAIYVa.js +0 -3
package/dist/index.umd.js CHANGED
@@ -48,7 +48,7 @@
48
48
  shiki_dist_themes_vitesse_dark_mjs = __toESM(shiki_dist_themes_vitesse_dark_mjs);
49
49
  shiki_dist_themes_vitesse_light_mjs = __toESM(shiki_dist_themes_vitesse_light_mjs);
50
50
  //#region package.json
51
- var version = "1.1.2-beta.1";
51
+ var version = "1.1.2-beta.3";
52
52
  //#endregion
53
53
  //#region components/x-provider/context.ts
54
54
  var XProviderContextKey = Symbol("antdv-next-x-provider-context");
@@ -8613,7 +8613,7 @@
8613
8613
  const updateSkillEmptyStatus = (value = getEditorValue()) => {
8614
8614
  const skillDom = skillDomRef.value;
8615
8615
  if (!skillDom) return;
8616
- if (!value.value && value.slotConfig.length === 0 && !!senderCtx.value.placeholder) {
8616
+ if (!value.value && value.slotConfig.length === 0 && !!senderCtx.value.placeholder && !skillDom.hasChildNodes()) {
8617
8617
  skillDom.setAttribute("contenteditable", "true");
8618
8618
  skillDom.classList.add(`${prefixCls.value}-skill-empty`);
8619
8619
  } else {
@@ -8668,17 +8668,32 @@
8668
8668
  if (!selection || !selection.isCollapsed) return false;
8669
8669
  const editable = editableRef.value;
8670
8670
  if (!editable) return false;
8671
- let anchorNode = selection.anchorNode;
8672
- let offset = selection.anchorOffset;
8671
+ const anchorNode = selection.anchorNode;
8672
+ const offset = selection.anchorOffset;
8673
8673
  if (!anchorNode || !editable.contains(anchorNode)) return false;
8674
- if (anchorNode === editable && offset > 0) {
8675
- anchorNode = editable.childNodes[offset - 1] ?? anchorNode;
8676
- offset = 0;
8674
+ const isSlotOrSkill = (node) => {
8675
+ if (!(node instanceof HTMLElement)) return false;
8676
+ const info = getNodeInfo(node);
8677
+ return !!(info?.slotKey || info?.skillKey);
8678
+ };
8679
+ let previous = null;
8680
+ if (anchorNode === editable) {
8681
+ for (let i = offset - 1; i >= 0; i--) if (isSlotOrSkill(editable.childNodes[i])) {
8682
+ previous = editable.childNodes[i];
8683
+ break;
8684
+ }
8685
+ } else {
8686
+ if (anchorNode.nodeType === Node.TEXT_NODE && offset > 0) return false;
8687
+ let current = anchorNode.nodeType === Node.TEXT_NODE ? anchorNode.previousSibling : anchorNode.previousSibling;
8688
+ while (current) {
8689
+ if (isSlotOrSkill(current)) {
8690
+ previous = current;
8691
+ break;
8692
+ }
8693
+ current = current.previousSibling;
8694
+ }
8677
8695
  }
8678
- if (anchorNode.nodeType === Node.TEXT_NODE && offset > 0) return false;
8679
- const target = anchorNode.nodeType === Node.TEXT_NODE ? anchorNode.parentNode : anchorNode;
8680
- const previous = target === editable ? editable.childNodes[Math.max(0, selection.anchorOffset - 1)] : target?.previousSibling;
8681
- if (!(previous instanceof HTMLElement)) return false;
8696
+ if (!previous) return false;
8682
8697
  const info = getNodeInfo(previous);
8683
8698
  if (info?.slotKey) {
8684
8699
  event.preventDefault();
@@ -8823,7 +8838,8 @@
8823
8838
  const { range, selection } = insertContext;
8824
8839
  editable.focus({ preventScroll });
8825
8840
  if (replaceCharacters) {
8826
- if ((getSelection()?.toString() ?? "").endsWith(replaceCharacters)) range.setStart(range.startContainer, Math.max(0, range.startOffset - replaceCharacters.length));
8841
+ const { startContainer, startOffset } = range;
8842
+ if ((startContainer.nodeType === Node.TEXT_NODE ? startContainer.textContent?.slice(0, startOffset) ?? "" : "").endsWith(replaceCharacters)) range.setStart(startContainer, Math.max(0, startOffset - replaceCharacters.length));
8827
8843
  }
8828
8844
  range.deleteContents();
8829
8845
  nodes.forEach((node) => {
@@ -9766,13 +9782,13 @@
9766
9782
  clear() {
9767
9783
  triggerClear();
9768
9784
  },
9769
- insert(text, position) {
9785
+ insert(text, position, replaceCharacters) {
9770
9786
  if (isSlotMode.value) {
9771
9787
  const slotList = Array.isArray(text) ? text : [{
9772
9788
  type: "text",
9773
9789
  value: text
9774
9790
  }];
9775
- inputRef.value?.insert?.(slotList, position);
9791
+ inputRef.value?.insert?.(slotList, position, replaceCharacters);
9776
9792
  return;
9777
9793
  }
9778
9794
  const textValue = Array.isArray(text) ? text.map((config) => {
package/dist/package.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region package.json
2
- var version = "1.1.2-beta.1";
2
+ var version = "1.1.2-beta.3";
3
3
  //#endregion
4
4
  export { version };
@@ -223,13 +223,13 @@ var Sender_default = /* @__PURE__ */ defineComponent({
223
223
  clear() {
224
224
  triggerClear();
225
225
  },
226
- insert(text, position) {
226
+ insert(text, position, replaceCharacters) {
227
227
  if (isSlotMode.value) {
228
228
  const slotList = Array.isArray(text) ? text : [{
229
229
  type: "text",
230
230
  value: text
231
231
  }];
232
- inputRef.value?.insert?.(slotList, position);
232
+ inputRef.value?.insert?.(slotList, position, replaceCharacters);
233
233
  return;
234
234
  }
235
235
  const textValue = Array.isArray(text) ? text.map((config) => {
@@ -445,7 +445,7 @@ var SlotTextArea_default = /* @__PURE__ */ defineComponent({
445
445
  const updateSkillEmptyStatus = (value = getEditorValue()) => {
446
446
  const skillDom = skillDomRef.value;
447
447
  if (!skillDom) return;
448
- if (!value.value && value.slotConfig.length === 0 && !!senderCtx.value.placeholder) {
448
+ if (!value.value && value.slotConfig.length === 0 && !!senderCtx.value.placeholder && !skillDom.hasChildNodes()) {
449
449
  skillDom.setAttribute("contenteditable", "true");
450
450
  skillDom.classList.add(`${prefixCls.value}-skill-empty`);
451
451
  } else {
@@ -500,17 +500,32 @@ var SlotTextArea_default = /* @__PURE__ */ defineComponent({
500
500
  if (!selection || !selection.isCollapsed) return false;
501
501
  const editable = editableRef.value;
502
502
  if (!editable) return false;
503
- let anchorNode = selection.anchorNode;
504
- let offset = selection.anchorOffset;
503
+ const anchorNode = selection.anchorNode;
504
+ const offset = selection.anchorOffset;
505
505
  if (!anchorNode || !editable.contains(anchorNode)) return false;
506
- if (anchorNode === editable && offset > 0) {
507
- anchorNode = editable.childNodes[offset - 1] ?? anchorNode;
508
- offset = 0;
506
+ const isSlotOrSkill = (node) => {
507
+ if (!(node instanceof HTMLElement)) return false;
508
+ const info = getNodeInfo(node);
509
+ return !!(info?.slotKey || info?.skillKey);
510
+ };
511
+ let previous = null;
512
+ if (anchorNode === editable) {
513
+ for (let i = offset - 1; i >= 0; i--) if (isSlotOrSkill(editable.childNodes[i])) {
514
+ previous = editable.childNodes[i];
515
+ break;
516
+ }
517
+ } else {
518
+ if (anchorNode.nodeType === Node.TEXT_NODE && offset > 0) return false;
519
+ let current = anchorNode.nodeType === Node.TEXT_NODE ? anchorNode.previousSibling : anchorNode.previousSibling;
520
+ while (current) {
521
+ if (isSlotOrSkill(current)) {
522
+ previous = current;
523
+ break;
524
+ }
525
+ current = current.previousSibling;
526
+ }
509
527
  }
510
- if (anchorNode.nodeType === Node.TEXT_NODE && offset > 0) return false;
511
- const target = anchorNode.nodeType === Node.TEXT_NODE ? anchorNode.parentNode : anchorNode;
512
- const previous = target === editable ? editable.childNodes[Math.max(0, selection.anchorOffset - 1)] : target?.previousSibling;
513
- if (!(previous instanceof HTMLElement)) return false;
528
+ if (!previous) return false;
514
529
  const info = getNodeInfo(previous);
515
530
  if (info?.slotKey) {
516
531
  event.preventDefault();
@@ -655,7 +670,8 @@ var SlotTextArea_default = /* @__PURE__ */ defineComponent({
655
670
  const { range, selection } = insertContext;
656
671
  editable.focus({ preventScroll });
657
672
  if (replaceCharacters) {
658
- if ((getSelection()?.toString() ?? "").endsWith(replaceCharacters)) range.setStart(range.startContainer, Math.max(0, range.startOffset - replaceCharacters.length));
673
+ const { startContainer, startOffset } = range;
674
+ if ((startContainer.nodeType === Node.TEXT_NODE ? startContainer.textContent?.slice(0, startOffset) ?? "" : "").endsWith(replaceCharacters)) range.setStart(startContainer, Math.max(0, startOffset - replaceCharacters.length));
659
675
  }
660
676
  range.deleteContents();
661
677
  nodes.forEach((node) => {
@@ -128,7 +128,7 @@ export interface SenderRef {
128
128
  focus: (options?: SenderFocusOptions) => void;
129
129
  blur: () => void;
130
130
  clear: () => void;
131
- insert: (value: string | SlotConfigType[], position?: InsertPosition) => void;
131
+ insert: (value: string | SlotConfigType[], position?: InsertPosition, replaceCharacters?: string) => void;
132
132
  getValue: () => {
133
133
  value: string;
134
134
  slotConfig?: SlotConfigType[];
@@ -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/dist/config-provider/context').DirectionType;
6
- csp: import('antdv-next/dist/config-provider/context').CSPConfig | undefined;
5
+ direction: import('antdv-next/config-provider/context').DirectionType;
6
+ csp: import('antdv-next/config-provider/context').CSPConfig | undefined;
7
7
  iconPrefixCls: string;
8
8
  };
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/stylis@4.3.6/node_modules/stylis/src/Enum.js
1
+ //#region ../../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/.pnpm/stylis@4.3.6/node_modules/stylis/src/Tokenizer.js
42
+ //#region ../../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/.pnpm/stylis@4.3.6/node_modules/stylis/src/Parser.js
153
+ //#region ../../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/.pnpm/stylis@4.3.6/node_modules/stylis/src/Serializer.js
244
+ //#region ../../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-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
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-y3HlYDaX.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-Ch3HuHeT.js";
3
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseTrim.js
10
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toNumber.js
16
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toFinite.js
31
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/toInteger.js
37
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/flatten.js
43
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/defaults.js
48
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/last.js
59
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_createFind.js
65
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/findIndex.js
80
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/find.js
89
+ //#region ../../node_modules/lodash-es/find.js
90
90
  var W = V(U);
91
91
  //#endregion
92
- //#region ../../node_modules/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseMap.js
92
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/map.js
100
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseHas.js
105
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/has.js
111
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/isString.js
116
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseLt.js
122
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseExtremum.js
127
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/min.js
136
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_baseSet.js
141
+ //#region ../../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/.pnpm/lodash-es@4.17.23/node_modules/lodash-es/_basePickBy.js
157
+ //#region ../../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);