@orangelogic/design-system 2.162.0 → 2.164.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.
Files changed (285) hide show
  1. package/library/chunks/{AxisLabelRadial.lE2gKah-.js → AxisLabelRadial.fe7zjixN.js} +1 -1
  2. package/library/chunks/{BaseColumnSeries.B57B3iHh.js → BaseColumnSeries.8Mpxz385.js} +1 -1
  3. package/library/chunks/{CandlestickSeries.CmmI426l.js → CandlestickSeries.DuadaOTa.js} +19 -19
  4. package/library/chunks/{Circle.DAhHYhrc.js → Circle.6LomW0ej.js} +1 -1
  5. package/library/chunks/{ColumnSeries.DBgXk-b4.js → ColumnSeries.D1NLfRh5.js} +2 -2
  6. package/library/chunks/{EditableAxisLabel.C6H99qiS.js → EditableAxisLabel.Bi9vxLDV.js} +2 -2
  7. package/library/chunks/{EditableLabel.B7HB7Cu4.js → EditableLabel.CMR3O9E-.js} +1 -1
  8. package/library/chunks/{Gradient.DHhBnhFd.js → Gradient.CquE8_a4.js} +1 -1
  9. package/library/chunks/{LinearGradient.CGx00O8B.js → LinearGradient.CVN1VJp-.js} +9 -9
  10. package/library/chunks/{Picture.DYltTVSo.js → Picture.BYTZ_I8g.js} +1 -1
  11. package/library/chunks/{Polygon.BCrxKagx.js → Polygon.CU2sMltE.js} +1 -1
  12. package/library/chunks/{ProgressPie.CXksPJFv.js → ProgressPie.Dd74dbmm.js} +6 -6
  13. package/library/chunks/{RadialLabel.BYH69FGU.js → RadialLabel.7ka6ND-t.js} +1 -1
  14. package/library/chunks/{Scrollbar.DEv50o4R.js → Scrollbar.DqUnZReo.js} +1 -1
  15. package/library/chunks/Slice.BVI8rfHI.js +34 -0
  16. package/library/chunks/{Slider.BX8g2iGv.js → Slider.DtjYaJOw.js} +1 -1
  17. package/library/chunks/{SpriteResizer.CfIBMSp3.js → SpriteResizer.Ci2Wt2YJ.js} +11 -11
  18. package/library/chunks/{Triangle.CNY8-QfL.js → Triangle.C75emy3D.js} +1 -1
  19. package/library/chunks/{ZoomTools.6jZrzA7x.js → ZoomTools.CA9mtHI8.js} +2 -2
  20. package/library/chunks/_arrayEach.DU4X1H_a.js +8 -0
  21. package/library/chunks/_baseClone.BHNjfIdS.js +215 -0
  22. package/library/chunks/_baseEach.DQk0As2f.js +32 -0
  23. package/library/chunks/{_baseIteratee.BdKyHJ5i.js → _baseIteratee.sC2wLi2m.js} +3 -2
  24. package/library/chunks/{_baseUniq.je-HWbb3.js → _baseUniq.lwMgmtt2.js} +16 -15
  25. package/library/chunks/_baseXor.DixEm6JQ.js +35 -0
  26. package/library/chunks/_flatRest.D3ZVApI5.js +30 -0
  27. package/library/chunks/abnfDiagram-VRR7QNED.DKqYa5p7.js +89 -0
  28. package/library/chunks/{am-chart.CqdmTS0P.js → am-chart.Cr-vMjcY.js} +1577 -1727
  29. package/library/chunks/{animation.S74lUDDc.js → animation.BD-1xugN.js} +1 -1
  30. package/library/chunks/arc.xqNd6x9S.js +84 -0
  31. package/library/chunks/architectureDiagram-ZJ3FMSHR.CBIOk9Kp.js +4757 -0
  32. package/library/chunks/{asset-link-format.DLAzKfhk.js → asset-link-format.0q_MQOYh.js} +691 -635
  33. package/library/chunks/asset-link-format.ClaYu_v8.js +7 -0
  34. package/library/chunks/blockDiagram-677ZJIJ3.CeQxLPwj.js +2428 -0
  35. package/library/chunks/{button.8syoJXYs.js → button.DGyqdBou.js} +2 -2
  36. package/library/chunks/c4Diagram-LMCZKHZV.B73xdpNh.js +1580 -0
  37. package/library/chunks/{capitalize.BTYI3NfM.js → capitalize.CIBKBL10.js} +1 -1
  38. package/library/chunks/{cardinal.BCA_LB0u.js → cardinal.BXTAeOLk.js} +1 -0
  39. package/library/chunks/cardinalClosed.Mdce1x5M.js +59 -0
  40. package/library/chunks/channel.s_XjcUYI.js +5 -0
  41. package/library/chunks/chunk-2Q5K7J3B.Dy1Z-bMH.js +15 -0
  42. package/library/chunks/chunk-32BRIVSS.BbIrVi3j.js +71 -0
  43. package/library/chunks/chunk-5VM5RSS4.D0-lddDM.js +19 -0
  44. package/library/chunks/chunk-EX3LRPZG.L693y8d4.js +1412 -0
  45. package/library/chunks/chunk-JWPE2WC7.BV0i4LDu.js +8 -0
  46. package/library/chunks/chunk-MOJQB5TN.BZstBMYC.js +664 -0
  47. package/library/chunks/chunk-RYQCIY6F.BMsuG7ya.js +314 -0
  48. package/library/chunks/chunk-V7JOEXUC.DcJlyQO0.js +1537 -0
  49. package/library/chunks/chunk-VR4S4FIN.BpryBs7q.js +19 -0
  50. package/library/chunks/chunk-XXDRQBXY.CSOjab1V.js +11 -0
  51. package/library/chunks/classDiagram-OUVF2IWQ.Dvz7CNwe.js +18 -0
  52. package/library/chunks/classDiagram-v2-EOCWNBFH.Dvz7CNwe.js +18 -0
  53. package/library/chunks/cloneDeep.B-5z5SI3.js +51 -0
  54. package/library/chunks/{color-swatch-group.CLv1LSZy.js → color-swatch-group.ChP9amU9.js} +2576 -2723
  55. package/library/chunks/{color-swatch.DsWP2fd-.js → color-swatch.QsHoy_K1.js} +1 -1
  56. package/library/chunks/{colorPicker.GYgA76kc.js → colorPicker.Cg6Zxf8f.js} +5 -5
  57. package/library/chunks/{confirm-popover.C-eHPJaU.js → confirm-popover.D8mdy6KG.js} +2 -2
  58. package/library/chunks/constant.BQ4UJ-kW.js +12 -0
  59. package/library/chunks/cose-bilkent-JH36ORCC.cfzS2XsK.js +2612 -0
  60. package/library/chunks/cynefin-VYW2F7L2.c7H5z9nQ.js +23790 -0
  61. package/library/chunks/cynefinDiagram-TSTJHNR4.C8SgNXWI.js +299 -0
  62. package/library/chunks/cytoscape.esm.Cbrwqewp.js +18786 -0
  63. package/library/chunks/dagre-VKFMJZFB.D5B1cAri.js +343 -0
  64. package/library/chunks/debounce.Bv1rtE8D.js +55 -0
  65. package/library/chunks/defaultLocale.CPy_WVtp.js +171 -0
  66. package/library/chunks/descending.AD5n-tFs.js +10 -0
  67. package/library/chunks/diagram-FQU43EPY.DJukDcLl.js +466 -0
  68. package/library/chunks/diagram-G47NLZAW.BBOvcbcR.js +316 -0
  69. package/library/chunks/diagram-NH7WQ7WH.DOpRwmC2.js +142 -0
  70. package/library/chunks/diagram-OA4YK3LP.Dm5WJs91.js +350 -0
  71. package/library/chunks/diagram-WEI45ONY.COuzdmSR.js +217 -0
  72. package/library/chunks/{dialog.Bzf4-IgH.js → dialog.05FgdLBZ.js} +2 -2
  73. package/library/chunks/{document-viewer.CGyOG1yw.js → document-viewer.Cng07M-1.js} +7 -7
  74. package/library/chunks/{dot-pagination.BdZc-K0r.js → dot-pagination.Pg9O0nIh.js} +1 -1
  75. package/library/chunks/ebnfDiagram-CCIWWBDH.Dz-QBH6Y.js +111 -0
  76. package/library/chunks/erDiagram-Q63AITRT.sSw_w-2B.js +913 -0
  77. package/library/chunks/{exporting.DQhKH1BX.js → exporting.Djsoh75g.js} +11 -11
  78. package/library/chunks/flow.aZRVH3p1.js +1304 -0
  79. package/library/chunks/flowDiagram-23GEKE2U.CMMbuUHf.js +1642 -0
  80. package/library/chunks/{folder-select.BKAuh4GE.js → folder-select.Dw1ZKZAq.js} +160 -140
  81. package/library/chunks/{gantt.tu-w6fQ5.js → gantt.Bv6_3H9y.js} +22 -22
  82. package/library/chunks/ganttDiagram-NO4QXBWP.DZdwd0O4.js +2715 -0
  83. package/library/chunks/gitGraphDiagram-IHSO6WYX.F6mwS3uS.js +818 -0
  84. package/library/chunks/graph.XHMI5hta.js +653 -0
  85. package/library/chunks/{header.e1FLwywx.js → header.DDI0MfJA.js} +1 -1
  86. package/library/chunks/{hierarchy.CTnBzzmQ.js → hierarchy.C4LxmFxx.js} +836 -904
  87. package/library/chunks/{hub-connection.CA_wS_wh.js → hub-connection.BtevPWYb.js} +1 -1
  88. package/library/chunks/{icon-button.DbVIFgu7.js → icon-button.BwmMJ0bI.js} +1 -1
  89. package/library/chunks/{icon.mxNZ85k0.js → icon.D5iM9wXS.js} +1 -1
  90. package/library/chunks/{iframe.DcHjOcLG.js → iframe.Cc-xZIm_.js} +1 -1
  91. package/library/chunks/{image.5mhGPvMN.js → image.BgODrAzQ.js} +2 -2
  92. package/library/chunks/{image.QVlPFadX.js → image.Y5c_hFx8.js} +1 -1
  93. package/library/chunks/{index.BVDhdCk-.js → index.2SOQHTpX.js} +23 -23
  94. package/library/chunks/index.BDn1QW8J.js +167 -0
  95. package/library/chunks/{index.DcjJFMlq.js → index.CrhRU5m8.js} +284 -273
  96. package/library/chunks/index.thKLME8E.js +77 -0
  97. package/library/chunks/infoDiagram-FWYZ7A6U.BnktKL7i.js +24 -0
  98. package/library/chunks/init.DjUOC4st.js +16 -0
  99. package/library/chunks/{input.BcyLZUmv.js → input.DOorVTYZ.js} +2 -2
  100. package/library/chunks/isArrayLikeObject.D7afXo-f.js +86 -0
  101. package/library/chunks/isEmpty.DtTJTUcf.js +27 -0
  102. package/library/chunks/ishikawaDiagram-FXEZZL3T.CFp-9Kes.js +621 -0
  103. package/library/chunks/journeyDiagram-5HDEW3XC.BxO1aPu_.js +837 -0
  104. package/library/chunks/{json.D7WeFaJm.js → json.Dz5QFEi5.js} +3 -3
  105. package/library/chunks/kanban-definition-HUTT4EX6.Bk8vmLFK.js +724 -0
  106. package/library/chunks/katex.DoRnZ_sp.js +11682 -0
  107. package/library/chunks/layout.DZcMFKol.js +1446 -0
  108. package/library/chunks/line.DP-iSN_J.js +157 -0
  109. package/library/chunks/linear.TNHhsH1m.js +215 -0
  110. package/library/chunks/{map.BjtxEozr.js → map.CBcV0WVq.js} +100 -105
  111. package/library/chunks/map.DJnohTgl.js +18 -0
  112. package/library/chunks/markdown.I1AJG75v.js +4180 -0
  113. package/library/chunks/math.D2lKC7md.js +22 -0
  114. package/library/chunks/mermaid.core.Dspbw7Ig.js +13598 -0
  115. package/library/chunks/mindmap-definition-LN4V7U3C.DuCBBYwE.js +808 -0
  116. package/library/chunks/{number.CtCaI0T_.js → number.Cx2ncfJJ.js} +2 -2
  117. package/library/chunks/{option.qN3aaqVI.js → option.DyNR1vzy.js} +2 -2
  118. package/library/chunks/ordinal.bqVaUip-.js +61 -0
  119. package/library/chunks/{pagination.Cupa46TN.js → pagination.qFmncShC.js} +5 -5
  120. package/library/chunks/pegDiagram-2B236MQR.DQrkEdJr.js +97 -0
  121. package/library/chunks/{percent.D_CkaRGb.js → percent.D8mkiJ2G.js} +17 -17
  122. package/library/chunks/pieDiagram-ENE6RG2P.B6nPW8Pj.js +212 -0
  123. package/library/chunks/position-picker.DjnhxIKF.js +4 -0
  124. package/library/chunks/quadrantDiagram-ABIIQ3AL.BFy9moxz.js +1026 -0
  125. package/library/chunks/{radar.BMKaNvJH.js → radar.B3p5bRix.js} +78 -129
  126. package/library/chunks/railroadDiagram-RFXS5EU6.CSao8YZX.js +79 -0
  127. package/library/chunks/range.DdOGybNB.js +9 -0
  128. package/library/chunks/requirementDiagram-TGXJPOKE.CjpliZnF.js +882 -0
  129. package/library/chunks/sankey.BR94A-8L.js +294 -0
  130. package/library/chunks/sankeyDiagram-HTMAVEWB.D8aAxVGe.js +564 -0
  131. package/library/chunks/select.C6_sM3Pr.js +7 -0
  132. package/library/chunks/sequenceDiagram-DBY2YBRQ.Cu9MV3h-.js +2891 -0
  133. package/library/chunks/sizeCapture-X5ZJPWSS.BDByEFcW.js +46 -0
  134. package/library/chunks/{sliceGrouper.C-t5ZRrz.js → sliceGrouper.CcRqQhZX.js} +1 -1
  135. package/library/chunks/stateDiagram-2N3HPSRC.DvrAW9Ck.js +267 -0
  136. package/library/chunks/stateDiagram-v2-6OUMAXLB.CFfuaFM1.js +18 -0
  137. package/library/chunks/step.almIqwJ6.js +51 -0
  138. package/library/chunks/{stock.vF_pji1F.js → stock.CQbn6zW4.js} +9 -9
  139. package/library/chunks/swimlanes-5IMT3BWC.AtMD47q7.js +5332 -0
  140. package/library/chunks/swimlanesDiagram-G3AALYLV.26A1eX7s.js +15 -0
  141. package/library/chunks/{tab-group.kSg5_10g.js → tab-group.1Y71_aN8.js} +3 -3
  142. package/library/chunks/{time.DWfbnPnM.js → time.DYWuX2id.js} +1 -1
  143. package/library/chunks/timeline-definition-FHXFAJF6.CYSh6xl5.js +1058 -0
  144. package/library/chunks/{timeline.gWu0up6r.js → timeline.Czz_uBEd.js} +33 -32
  145. package/library/chunks/toNumber.MuDz8DgU.js +31 -0
  146. package/library/chunks/{toString.Dcbz5jVT.js → toString.B1zKIiZc.js} +1 -1
  147. package/library/chunks/{toast.TDU3wVhq.js → toast.CXEAfCvN.js} +1 -1
  148. package/library/chunks/transformation.8uLv6uwG.js +264 -0
  149. package/library/chunks/{tree.C2dPd6gt.js → tree.vn5sHbdt.js} +123 -117
  150. package/library/chunks/value.BXEGBVFV.js +44 -0
  151. package/library/chunks/{venn.BVBe-JXs.js → venn.B5Jl-c4i.js} +2 -2
  152. package/library/chunks/vennDiagram-L72KCM5P.CSk1WWlu.js +1581 -0
  153. package/library/chunks/wardleyDiagram-EHGQE667.C7UzXYG7.js +675 -0
  154. package/library/chunks/{watch.DOt4Mabe.js → watch.DJF5K-8U.js} +27 -27
  155. package/library/chunks/{wc.DTNpfIc1.js → wc.B2THb2Kk.js} +18 -18
  156. package/library/chunks/xy.BO6U5QrZ.js +294 -0
  157. package/library/chunks/xychartDiagram-FW5EYKEG.idiZWvYS.js +1383 -0
  158. package/library/components/alert.js +2 -2
  159. package/library/components/am-chart.js +3 -3
  160. package/library/components/animated-image.js +2 -2
  161. package/library/components/animation.js +2 -2
  162. package/library/components/array-line-clamp.js +1 -1
  163. package/library/components/asset-link-format.js +8 -7
  164. package/library/components/atoms.js +29 -29
  165. package/library/components/audio.js +3 -3
  166. package/library/components/avatar.js +2 -2
  167. package/library/components/border-input-group.js +1 -1
  168. package/library/components/breadcrumb-item.js +1 -1
  169. package/library/components/breadcrumb.js +1 -1
  170. package/library/components/button.js +3 -3
  171. package/library/components/checkbox.js +195 -18
  172. package/library/components/color-picker.js +4 -4
  173. package/library/components/color-swatch-group.js +5 -5
  174. package/library/components/color-swatch.js +2 -2
  175. package/library/components/confirm-popover.js +3 -3
  176. package/library/components/copy-button.js +2 -2
  177. package/library/components/corner-position-input-group.js +2 -2
  178. package/library/components/cropper.js +4 -4
  179. package/library/components/date-calendar.js +1 -1
  180. package/library/components/details.js +2 -2
  181. package/library/components/dialog.js +3 -3
  182. package/library/components/diff.js +1 -1
  183. package/library/components/divider.js +1 -1
  184. package/library/components/document-viewer.js +3 -3
  185. package/library/components/dot-pagination.js +2 -2
  186. package/library/components/drawer.js +3 -3
  187. package/library/components/dropdown.js +2 -2
  188. package/library/components/dynamic-select.js +6 -6
  189. package/library/components/e-chart.js +1 -1
  190. package/library/components/element-clamp.js +2 -2
  191. package/library/components/file-on-demand.js +350 -374
  192. package/library/components/folder-select.js +5 -5
  193. package/library/components/format-time.js +2 -2
  194. package/library/components/grid-item.js +1 -1
  195. package/library/components/header.js +2 -2
  196. package/library/components/hub-connection.js +2 -2
  197. package/library/components/icon-button.js +2 -2
  198. package/library/components/icon.js +2 -2
  199. package/library/components/iframe.js +2 -2
  200. package/library/components/image-comparer.js +2 -2
  201. package/library/components/image.js +3 -3
  202. package/library/components/include.js +1 -1
  203. package/library/components/input.js +3 -3
  204. package/library/components/line-clamp.js +1 -1
  205. package/library/components/markdown.js +11 -2704
  206. package/library/components/masonry.js +76 -73
  207. package/library/components/menu-item.js +2 -2
  208. package/library/components/molecules.js +3 -3
  209. package/library/components/mutation-observer.js +1 -1
  210. package/library/components/option.js +3 -3
  211. package/library/components/organisms.js +2 -2
  212. package/library/components/padding-input-group.js +1 -1
  213. package/library/components/pagination.js +6 -6
  214. package/library/components/position-picker.js +25 -25
  215. package/library/components/qr-code.js +1 -1
  216. package/library/components/radio-button.js +1 -1
  217. package/library/components/radio-card.js +1 -1
  218. package/library/components/radio-group.js +1 -1
  219. package/library/components/radio.js +2 -2
  220. package/library/components/range.js +1 -1
  221. package/library/components/rating.js +2 -2
  222. package/library/components/resize-observer.js +1 -1
  223. package/library/components/select.js +3 -3
  224. package/library/components/shadow-input-group.js +1 -1
  225. package/library/components/share-option-list.js +2 -2
  226. package/library/components/sidebar.js +3 -3
  227. package/library/components/size-input-group.js +3 -3
  228. package/library/components/split-panel.js +1 -1
  229. package/library/components/step.js +1 -1
  230. package/library/components/stepper-wizard.js +1 -1
  231. package/library/components/stepper.js +1 -1
  232. package/library/components/switch.js +1 -1
  233. package/library/components/tab-group.js +4 -4
  234. package/library/components/tab-panel.js +1 -1
  235. package/library/components/tab.js +2 -2
  236. package/library/components/tag.js +1 -1
  237. package/library/components/textarea.js +1 -1
  238. package/library/components/timecode.js +1 -1
  239. package/library/components/tooltip.js +1 -1
  240. package/library/components/tree-item.js +4 -4
  241. package/library/components/tree.js +2 -2
  242. package/library/components/typeface.js +2 -2
  243. package/library/components/types.js +122327 -120686
  244. package/library/components/video.js +2 -2
  245. package/library/package.json +2 -1
  246. package/library/packages/atoms/src/components/markdown/markdown.d.ts +41 -1
  247. package/library/packages/atoms/src/components/markdown/parser.d.ts +18 -3
  248. package/library/packages/atoms/src/components/markdown/styles.d.ts +17 -0
  249. package/library/packages/atoms/src/components/tree/tree.d.ts +7 -1
  250. package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +11 -1
  251. package/library/packages/events/src/cx-folder-select-loading-change.d.ts +8 -0
  252. package/library/packages/events/src/events.d.ts +1 -0
  253. package/library/packages/hybrid/table-core/src/table/styles/table-frozen.styles.d.ts +8 -0
  254. package/library/packages/hybrid/table-core/src/table/table.d.ts +9 -1
  255. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +14 -1
  256. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +18 -1
  257. package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +7 -0
  258. package/library/packages/molecules/src/folder-select/folder-select.d.ts +7 -0
  259. package/library/packages/molecules/src/index.d.ts +1 -0
  260. package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +124 -0
  261. package/library/packages/molecules/src/markdown-viewer/markdown-viewer.styles.d.ts +6 -0
  262. package/library/packages/molecules/src/masonry/masonry.d.ts +5 -0
  263. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -0
  264. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +30 -0
  265. package/library/packages/tools/src/tiptap/utils/md/editor-controller.d.ts +57 -0
  266. package/library/packages/tools/src/tiptap/utils/md/from-markdown.d.ts +11 -0
  267. package/library/packages/tools/src/tiptap/utils/md/input-rules.d.ts +15 -0
  268. package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +13 -0
  269. package/library/packages/tools/src/tiptap/utils/md/to-markdown.d.ts +14 -0
  270. package/library/packages/types/src/asset-link-format.d.ts +19 -0
  271. package/library/packages/types/src/markdown-viewer.d.ts +12 -0
  272. package/library/packages/types/src/tree-item.d.ts +12 -0
  273. package/library/react-web-component.d.ts +86 -8
  274. package/library/utils.js +64 -65
  275. package/package.json +2 -1
  276. package/library/chunks/Slice.C5lVu2g_.js +0 -120
  277. package/library/chunks/_baseXor.VohG8cOH.js +0 -116
  278. package/library/chunks/asset-link-format.QzzboHHE.js +0 -6
  279. package/library/chunks/checkbox.3i2j3PHc.js +0 -198
  280. package/library/chunks/content-builder.BU8X7I6V.js +0 -60
  281. package/library/chunks/debounce.C_J-9zJi.js +0 -82
  282. package/library/chunks/flow.hz0UDjCb.js +0 -1594
  283. package/library/chunks/index.DU0XUO4k.js +0 -176
  284. package/library/chunks/transformation.D1alV_s4.js +0 -189
  285. package/library/chunks/xy.BNgyrwGD.js +0 -333
@@ -3,7 +3,7 @@ import { c as O } from "./component.styles.CRO4Odto.js";
3
3
  import { c as U } from "./custom-element.L4WJXn1j.js";
4
4
  import { L as N } from "./i18n.Bchq8v1d.js";
5
5
  import { c as X } from "./math.DuKzLacZ.js";
6
- import { w as b } from "./watch.DOt4Mabe.js";
6
+ import { w as b } from "./watch.DJF5K-8U.js";
7
7
  import { i as R, x as m, E as T } from "./lit-element.jLBm65_O.js";
8
8
  import { r as g } from "./state.CSDxrqLd.js";
9
9
  import { e as f } from "./query.BBf1UFkC.js";
@@ -13,58 +13,58 @@ import { o as _ } from "./if-defined.BRoBj_Rp.js";
13
13
  import { l as j } from "./live.DCegntDo.js";
14
14
  import { n as y } from "./when.Dr1es41R.js";
15
15
  import { g as $, s as G } from "./animation-registry.HmpwNuGH.js";
16
- import { C as K } from "./checkbox.3i2j3PHc.js";
17
- import { C as V } from "./icon.mxNZ85k0.js";
16
+ import K from "../components/checkbox.js";
17
+ import { C as V } from "./icon.D5iM9wXS.js";
18
18
  import W from "../components/line-clamp.js";
19
19
  import Y from "../components/spinner.js";
20
20
  import { i as J } from "./browser.BHOCIF_A.js";
21
21
  import { S as Q } from "./sortable.esm.oSzf6C5Q.js";
22
22
  import { v as ee } from "./v4.CKZ6klMF.js";
23
23
  function te(e, t, i) {
24
- let n;
25
- return function(...s) {
26
- const a = this, d = function() {
27
- n = null, e.apply(a, s);
24
+ let a;
25
+ return function(...r) {
26
+ const n = this, d = function() {
27
+ a = null, e.apply(n, r);
28
28
  };
29
- n && clearTimeout(n), n = window.setTimeout(d, t);
29
+ a && clearTimeout(a), a = window.setTimeout(d, t);
30
30
  };
31
31
  }
32
- const ie = R`:host{--selected-color:var(--cx-color-primary-600);--selected-background-color:var(--cx-color-primary-50);--hover-background-color:var(--cx-menu-item-background-color-hover);--active-background-color:var(--cx-color-neutral-200);--item-padding:var(--cx-spacing-2x-small) var(--cx-spacing-x-small);outline:0;display:block}:host(:focus-visible) .tree-item{outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width))}[hidden]{display:none!important}slot:not([name])::slotted(cx-icon){margin-inline-end:var(--cx-spacing-x-small)}.tree-item{color:var(--cx-color-neutral);cursor:pointer;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:stretch;display:flex;position:relative}.tree-item__checkbox{margin-inline-end:var(--cx-spacing-x-small)}.tree-item__expand-button,.tree-item__checkbox,.tree-item__label{font-family:var(--cx-font-sans);font-size:var(--cx-tree-item-font-size,var(--cx-font-size-small));font-weight:var(--cx-tree-item-font-weight,var(--cx-font-weight-medium));line-height:var(--cx-tree-item-line-height,var(--cx-line-height-large));letter-spacing:var(--cx-tree-item-letter-spacing,var(--cx-letter-spacing-normal))}.tree-item__checkbox::part(base){align-items:center;display:flex}.tree-item__checkbox::part(label){margin-inline-start:0}.tree-item__indentation{flex-shrink:0;width:1em;display:block}.tree-item__expand-spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tree-item__expand-button{box-sizing:content-box;color:var(--cx-color-neutral-500);cursor:pointer;min-width:max(1em,1rem);min-height:max(1em,1rem);transition:var(--cx-transition-medium) rotate ease;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative}.tree-item--expanded .tree-item__expand-button{rotate:90deg}.tree-item--expanded.tree-item--rtl .tree-item__expand-button{rotate:-90deg}.tree-item--expanded slot[name=expand-icon],.tree-item:not(.tree-item--expanded) slot[name=collapse-icon]{display:none}:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__item .tree-item__expand-icon-slot{color:var(--selected-color)}.tree-item:not(.tree-item--has-expand-button) .tree-item__expand-icon-slot{visibility:hidden;opacity:0;pointer-events:none}.tree-item__expand-button--visible{cursor:pointer}.tree-item__item{border-radius:var(--cx-border-radius-large);padding:var(--item-padding,var(--cx-spacing-x-small) var(--cx-spacing-small));transition:var(--cx-transition-x-fast) background-color ease;align-items:center;display:flex}.tree-item__item:hover{background-color:var(--hover-background-color)}.tree-item__item:active{background-color:var(--active-background-color)}.tree-item--disabled .tree-item__item{opacity:.5;cursor:default;outline:none}:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__item{background-color:var(--selected-background-color);color:var(--selected-color)}:host(:not([aria-disabled=true])) .tree-item__expand-button{color:var(--cx-color-neutral)}:host(:not([aria-disabled=true])) .tree-item--selected,:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__expand-button,:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__actions::slotted(cx-icon-button){color:var(--cx-color-neutral-0)}:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__actions::slotted(cx-icon-button){--hover-background-color:var(--cx-color-neutral-0)}.tree-item__label{align-items:center;display:flex}.tree-item__actions{font-size:var(--cx-font-size-medium);align-items:center;width:fit-content;margin-inline-start:auto;display:flex}.tree-item__actions::slotted(*){visibility:hidden;opacity:0;transition:var(--cx-transition-x-fast) visibility, var(--cx-transition-x-fast) opacity ease}.tree-item__item:hover .tree-item__actions::slotted(*){visibility:visible;opacity:1}@supports not (overlay:auto){.tree-item__actions::slotted(cx-dropdown[open]){visibility:visible;opacity:1}}.tree-item__children{font-size:calc(1em + var(--indent-size,var(--cx-spacing-medium)));gap:var(--children-gap,0);flex-direction:column;display:flex}@media (forced-colors:active){:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__item{outline:1px dashed selecteditem}}::slotted(cx-tree-item){--hover-background-color:inherit;--active-background-color:inherit;--selected-background-color:inherit;--selected-color:inherit}:host([data-dragging]){position:relative}:host([data-dragging=inside]){background-color:var(--cx-color-primary-400)}:host([data-dragging=before]):before{content:"";border-top:var(--cx-spacing-2x-small) solid var(--cx-color-primary-400);width:100%;position:absolute;top:0;left:0}:host([data-dragging=after]):before{content:"";border-bottom:var(--cx-spacing-2x-small) solid var(--cx-color-primary-400);width:100%;position:absolute;bottom:0;left:0}`, w = "tree-sortable", C = 0.2, P = (e) => e == null;
33
- function ne() {
32
+ const ie = R`:host{--selected-color:var(--cx-color-primary-600);--selected-background-color:var(--cx-color-primary-50);--hover-background-color:var(--cx-menu-item-background-color-hover);--active-background-color:var(--cx-color-neutral-200);--item-padding:var(--cx-spacing-2x-small) var(--cx-spacing-x-small);outline:0;display:block}:host(:focus-visible) .tree-item{outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width))}[hidden]{display:none!important}slot:not([name])::slotted(cx-icon){margin-inline-end:var(--cx-spacing-x-small)}.tree-item{color:var(--cx-color-neutral-900);cursor:pointer;-webkit-user-select:none;user-select:none;flex-direction:column;align-items:stretch;display:flex;position:relative}.tree-item__checkbox{margin-inline-end:var(--cx-spacing-x-small)}.tree-item__expand-button,.tree-item__checkbox,.tree-item__label{font-family:var(--cx-font-sans);font-size:var(--cx-tree-item-font-size,var(--cx-font-size-small));font-weight:var(--cx-tree-item-font-weight,var(--cx-font-weight-medium));line-height:var(--cx-tree-item-line-height,var(--cx-line-height-large));letter-spacing:var(--cx-tree-item-letter-spacing,var(--cx-letter-spacing-normal))}.tree-item__checkbox::part(base){align-items:center;display:flex}.tree-item__checkbox::part(label){margin-inline-start:0}.tree-item__indentation{flex-shrink:0;width:1em;display:block}.tree-item__expand-spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.tree-item__expand-button{box-sizing:content-box;color:var(--cx-color-neutral-500);cursor:pointer;min-width:max(1em,1rem);min-height:max(1em,1rem);transition:var(--cx-transition-medium) rotate ease;flex-shrink:0;justify-content:center;align-items:center;display:flex;position:relative}.tree-item--expanded .tree-item__expand-button{rotate:90deg}.tree-item--expanded.tree-item--rtl .tree-item__expand-button{rotate:-90deg}.tree-item--expanded slot[name=expand-icon],.tree-item:not(.tree-item--expanded) slot[name=collapse-icon]{display:none}:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__item .tree-item__expand-icon-slot{color:var(--selected-color)}.tree-item:not(.tree-item--has-expand-button) .tree-item__expand-icon-slot{visibility:hidden;opacity:0;pointer-events:none}.tree-item__expand-button--visible{cursor:pointer}.tree-item__item{border-radius:var(--cx-border-radius-large);padding:var(--item-padding,var(--cx-spacing-x-small) var(--cx-spacing-small));transition:var(--cx-transition-x-fast) background-color ease;align-items:center;display:flex}.tree-item__item:hover{background-color:var(--hover-background-color)}.tree-item__item:active{background-color:var(--active-background-color)}.tree-item--disabled .tree-item__item{opacity:.5;cursor:default;outline:none}:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__item{background-color:var(--selected-background-color);color:var(--selected-color)}:host(:not([aria-disabled=true])) .tree-item__expand-button{color:var(--cx-color-neutral)}:host(:not([aria-disabled=true]):not([variant=text])) .tree-item--selected,:host(:not([aria-disabled=true]):not([variant=text])) .tree-item--selected .tree-item__expand-button,:host(:not([aria-disabled=true]):not([variant=text])) .tree-item--selected .tree-item__actions::slotted(cx-icon-button){color:var(--cx-color-neutral-0)}:host(:not([aria-disabled=true]):not([variant=text])) .tree-item--selected .tree-item__actions::slotted(cx-icon-button){--hover-background-color:var(--cx-color-neutral-0)}.tree-item__label{align-items:center;display:flex}.tree-item__actions{font-size:var(--cx-font-size-medium);align-items:center;width:fit-content;margin-inline-start:auto;display:flex}.tree-item__actions::slotted(*){visibility:hidden;opacity:0;transition:var(--cx-transition-x-fast) visibility, var(--cx-transition-x-fast) opacity ease}.tree-item__item:hover .tree-item__actions::slotted(*){visibility:visible;opacity:1}@supports not (overlay:auto){.tree-item__actions::slotted(cx-dropdown[open]){visibility:visible;opacity:1}}.tree-item__children{font-size:calc(1em + var(--indent-size,var(--cx-spacing-medium)));gap:var(--children-gap,0);flex-direction:column;display:flex}@media (forced-colors:active){:host(:not([aria-disabled=true])) .tree-item--selected .tree-item__item{outline:1px dashed selecteditem}}::slotted(cx-tree-item){--hover-background-color:inherit;--active-background-color:inherit;--selected-background-color:inherit;--selected-color:inherit}:host([variant=text]){--selected-background-color:transparent;--selected-color:inherit;--hover-background-color:transparent;--active-background-color:transparent;--hover-color:var(--cx-color-primary)}:host([variant=text]:not([aria-disabled=true])) .tree-item__item:hover{color:var(--hover-color)}:host([data-dragging]){position:relative}:host([data-dragging=inside]){background-color:var(--cx-color-primary-400)}:host([data-dragging=before]):before{content:"";border-top:var(--cx-spacing-2x-small) solid var(--cx-color-primary-400);width:100%;position:absolute;top:0;left:0}:host([data-dragging=after]):before{content:"";border-bottom:var(--cx-spacing-2x-small) solid var(--cx-color-primary-400);width:100%;position:absolute;bottom:0;left:0}`, w = "tree-sortable", C = 0.2, P = (e) => e == null;
33
+ function ae() {
34
34
  function e() {
35
35
  }
36
36
  let t = null;
37
37
  return e.prototype = {
38
38
  dragOver({
39
39
  cancel: i,
40
- target: n
40
+ target: a
41
41
  }) {
42
- if (t && (t.el.removeAttribute("data-dragging"), t = null), !["CX-TREE-ITEM", "CX-TREE"].includes(n.tagName) || n.hasAttribute("no-drag")) {
42
+ if (t && (t.el.removeAttribute("data-dragging"), t = null), !["CX-TREE-ITEM", "CX-TREE"].includes(a.tagName) || a.hasAttribute("no-drag")) {
43
43
  i();
44
44
  return;
45
45
  }
46
46
  },
47
47
  dragOverValid({
48
48
  activeSortable: i,
49
- cancel: n,
50
- changed: s,
51
- completed: a,
49
+ cancel: a,
50
+ changed: r,
51
+ completed: n,
52
52
  dragEl: d,
53
53
  originalEvent: u,
54
54
  putSortable: x,
55
55
  target: p
56
56
  }) {
57
57
  if (t = null, !i || !i.options[w] || !i.options.getDropZone || P(i.options.insertBeforeZonePercentage) || P(i.options.insertAfterZonePercentage) || !["CX-TREE-ITEM", "CX-TREE"].includes(p.tagName) || p.hasAttribute("no-drag")) {
58
- n();
58
+ a();
59
59
  return;
60
60
  }
61
61
  const k = i.options.getDropZone(p);
62
62
  if (!k) {
63
- n();
63
+ a();
64
64
  return;
65
65
  }
66
- const A = k.getBoundingClientRect(), B = (u.clientY - A.top) / A.height, v = x || this.sortable;
67
- v.captureAnimationState(), v !== i && i.captureAnimationState();
66
+ const A = k.getBoundingClientRect(), B = (u.clientY - A.top) / A.height, S = x || this.sortable;
67
+ S.captureAnimationState(), S !== i && i.captureAnimationState();
68
68
  const q = p.parentNode;
69
69
  if (d && q)
70
70
  if (B < i.options.insertBeforeZonePercentage)
@@ -81,7 +81,7 @@ function ne() {
81
81
  }, p.setAttribute("data-dragging", "after");
82
82
  else {
83
83
  if (p.hasAttribute("no-drag-inside")) {
84
- s(), a(!0), n();
84
+ r(), n(!0), a();
85
85
  return;
86
86
  }
87
87
  t = {
@@ -90,16 +90,16 @@ function ne() {
90
90
  position: 0
91
91
  }, p.setAttribute("data-dragging", "inside");
92
92
  }
93
- if (v.animateAll(), v !== i && i.animateAll(), t)
94
- s(), a(!0), n();
93
+ if (S.animateAll(), S !== i && i.animateAll(), t)
94
+ r(), n(!0), a();
95
95
  else
96
96
  return !0;
97
97
  },
98
98
  dragStart({
99
99
  cancel: i,
100
- dragEl: n
100
+ dragEl: a
101
101
  }) {
102
- if (n && !o.isTreeItem(n)) {
102
+ if (a && !o.isTreeItem(a)) {
103
103
  i();
104
104
  return;
105
105
  }
@@ -114,15 +114,15 @@ function ne() {
114
114
  pluginName: w
115
115
  });
116
116
  }
117
- class S extends Q {
117
+ class v extends Q {
118
118
  constructor(t, i) {
119
119
  super(t, i);
120
120
  }
121
121
  static create(t, i = {}) {
122
- return new S(t, i);
122
+ return new v(t, i);
123
123
  }
124
124
  }
125
- S.mount(new ne());
125
+ v.mount(new ae());
126
126
  const M = (e) => ({
127
127
  ...e,
128
128
  animation: 100,
@@ -143,10 +143,10 @@ const M = (e) => ({
143
143
  [w]: !0,
144
144
  swapThreshold: C
145
145
  });
146
- var ae = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, r = (e, t, i, n) => {
147
- for (var s = n > 1 ? void 0 : n ? oe(t, i) : t, a = e.length - 1, d; a >= 0; a--)
148
- (d = e[a]) && (s = (n ? d(t, i, s) : d(s)) || s);
149
- return n && s && ae(t, i, s), s;
146
+ var ne = Object.defineProperty, oe = Object.getOwnPropertyDescriptor, s = (e, t, i, a) => {
147
+ for (var r = a > 1 ? void 0 : a ? oe(t, i) : t, n = e.length - 1, d; n >= 0; n--)
148
+ (d = e[n]) && (r = (a ? d(t, i, r) : d(r)) || r);
149
+ return a && r && ne(t, i, r), r;
150
150
  };
151
151
  let o = class extends F {
152
152
  constructor() {
@@ -271,7 +271,7 @@ let o = class extends F {
271
271
  this.removeEventListener("dragstart", this.onDragStart), this.sortableInstance && (this.sortableInstance.destroy(), this.sortableInstance = null);
272
272
  }
273
273
  initSortable() {
274
- this.addEventListener("dragstart", this.onDragStart), this.focusable || this.setAttribute("tabindex", "-1"), this.sortableInstance = S.create(this, {
274
+ this.addEventListener("dragstart", this.onDragStart), this.focusable || this.setAttribute("tabindex", "-1"), this.sortableInstance = v.create(this, {
275
275
  ...M({
276
276
  group: this.sortableGroup,
277
277
  onAdd: this.handleSortableUpdate,
@@ -348,133 +348,136 @@ o.dependencies = {
348
348
  "cx-line-clamp": W,
349
349
  "cx-spinner": Y
350
350
  };
351
- r([
351
+ s([
352
352
  f("slot:not([name])")
353
353
  ], o.prototype, "defaultSlot", 2);
354
- r([
354
+ s([
355
355
  f("slot[name=children]")
356
356
  ], o.prototype, "childrenSlot", 2);
357
- r([
357
+ s([
358
358
  f(".tree-item__item")
359
359
  ], o.prototype, "itemElement", 2);
360
- r([
360
+ s([
361
361
  f(".tree-item__children")
362
362
  ], o.prototype, "childrenContainer", 2);
363
- r([
363
+ s([
364
364
  f(".tree-item__expand-button slot")
365
365
  ], o.prototype, "expandButtonSlot", 2);
366
- r([
366
+ s([
367
367
  l({ reflect: !0, type: Boolean })
368
368
  ], o.prototype, "expanded", 2);
369
- r([
369
+ s([
370
370
  l({ reflect: !0, type: Boolean })
371
371
  ], o.prototype, "selected", 2);
372
- r([
372
+ s([
373
373
  l({ reflect: !0, type: Boolean })
374
374
  ], o.prototype, "disabled", 2);
375
- r([
375
+ s([
376
376
  l({ reflect: !0, type: Boolean })
377
377
  ], o.prototype, "readonly", 2);
378
- r([
378
+ s([
379
379
  l({ reflect: !0, type: Boolean })
380
380
  ], o.prototype, "lazy", 2);
381
- r([
381
+ s([
382
382
  l()
383
383
  ], o.prototype, "href", 2);
384
- r([
384
+ s([
385
385
  l()
386
386
  ], o.prototype, "target", 2);
387
- r([
387
+ s([
388
388
  l()
389
389
  ], o.prototype, "rel", 2);
390
- r([
390
+ s([
391
391
  l()
392
392
  ], o.prototype, "download", 2);
393
- r([
393
+ s([
394
394
  l({ attribute: "itemid", reflect: !0, type: String })
395
395
  ], o.prototype, "itemId", 2);
396
- r([
396
+ s([
397
397
  l({ reflect: !0, type: Boolean })
398
398
  ], o.prototype, "sortable", 2);
399
- r([
399
+ s([
400
400
  l({ attribute: "no-drag", reflect: !0, type: Boolean })
401
401
  ], o.prototype, "noDrag", 2);
402
- r([
402
+ s([
403
403
  l({ attribute: "no-select", reflect: !0, type: Boolean })
404
404
  ], o.prototype, "noSelect", 2);
405
- r([
405
+ s([
406
406
  l({ attribute: "no-drag-inside", reflect: !0, type: Boolean })
407
407
  ], o.prototype, "noDragInside", 2);
408
- r([
408
+ s([
409
409
  l({ attribute: "sortable-group", type: String })
410
410
  ], o.prototype, "sortableGroup", 2);
411
- r([
411
+ s([
412
412
  l({
413
413
  attribute: "expand-button-placement",
414
414
  reflect: !0,
415
415
  type: String
416
416
  })
417
417
  ], o.prototype, "expandButtonPlacement", 2);
418
- r([
418
+ s([
419
419
  l({ attribute: "no-forward-expand-button-placement", type: Boolean })
420
420
  ], o.prototype, "noForwardExpandButtonPlacement", 2);
421
- r([
421
+ s([
422
+ l({ reflect: !0, type: String })
423
+ ], o.prototype, "variant", 2);
424
+ s([
422
425
  l({
423
426
  attribute: "disabled-sync-checkboxes",
424
427
  reflect: !0,
425
428
  type: Boolean
426
429
  })
427
430
  ], o.prototype, "disabledSyncCheckboxes", 2);
428
- r([
431
+ s([
429
432
  l({
430
433
  attribute: "partial-sync-checkboxes",
431
434
  reflect: !0,
432
435
  type: Boolean
433
436
  })
434
437
  ], o.prototype, "partialSyncCheckboxes", 2);
435
- r([
438
+ s([
436
439
  l({ attribute: "previously-selected", reflect: !0, type: Boolean })
437
440
  ], o.prototype, "previouslySelected", 2);
438
- r([
441
+ s([
439
442
  l({ reflect: !0, type: Boolean })
440
443
  ], o.prototype, "focusable", 2);
441
- r([
444
+ s([
442
445
  l({ attribute: "max-lines", type: Number })
443
446
  ], o.prototype, "maxLines", 2);
444
- r([
447
+ s([
445
448
  g()
446
449
  ], o.prototype, "indeterminate", 2);
447
- r([
450
+ s([
448
451
  g()
449
452
  ], o.prototype, "isLeaf", 2);
450
- r([
453
+ s([
451
454
  g()
452
455
  ], o.prototype, "loading", 2);
453
- r([
456
+ s([
454
457
  g()
455
458
  ], o.prototype, "selectable", 2);
456
- r([
459
+ s([
457
460
  g()
458
461
  ], o.prototype, "sortableInstance", 2);
459
- r([
462
+ s([
460
463
  b("loading", { waitUntilFirstUpdate: !0 })
461
464
  ], o.prototype, "handleLoadingChange", 1);
462
- r([
465
+ s([
463
466
  b("disabled")
464
467
  ], o.prototype, "handleDisabledChange", 1);
465
- r([
468
+ s([
466
469
  b("selected")
467
470
  ], o.prototype, "handleSelectedChange", 1);
468
- r([
471
+ s([
469
472
  b("expanded", { waitUntilFirstUpdate: !0 })
470
473
  ], o.prototype, "handleExpandedChange", 1);
471
- r([
474
+ s([
472
475
  b("expanded", { waitUntilFirstUpdate: !0 })
473
476
  ], o.prototype, "handleExpandAnimation", 1);
474
- r([
477
+ s([
475
478
  b("lazy", { waitUntilFirstUpdate: !0 })
476
479
  ], o.prototype, "handleLazyChange", 1);
477
- o = r([
480
+ o = s([
478
481
  U("cx-tree-item")
479
482
  ], o);
480
483
  G("tree-item.expand", {
@@ -491,20 +494,20 @@ G("tree-item.collapse", {
491
494
  ],
492
495
  options: { duration: 200, easing: "cubic-bezier(0.4, 0.0, 0.2, 1)" }
493
496
  });
494
- const se = R`:host{--indent-guide-color:var(--cx-color-neutral-200);--indent-guide-offset:0;--indent-guide-style:solid;--indent-guide-width:0;--indent-size:var(--cx-spacing-large);font-size:0;display:block}:host::part(children){gap:var(--children-gap,0);flex-direction:column;display:flex}:host([dragging]) ::slotted(cx-tree-item){--hover-background-color:transparent!important;--active-background-color:transparent!important;--selected-background-color:transparent!important}`;
495
- var re = Object.defineProperty, le = Object.getOwnPropertyDescriptor, h = (e, t, i, n) => {
496
- for (var s = n > 1 ? void 0 : n ? le(t, i) : t, a = e.length - 1, d; a >= 0; a--)
497
- (d = e[a]) && (s = (n ? d(t, i, s) : d(s)) || s);
498
- return n && s && re(t, i, s), s;
497
+ const re = R`:host{--indent-guide-color:var(--cx-color-neutral-200);--indent-guide-offset:0;--indent-guide-style:solid;--indent-guide-width:0;--indent-size:var(--cx-spacing-large);font-size:0;display:block}:host::part(children){gap:var(--children-gap,0);flex-direction:column;display:flex}:host([dragging]) ::slotted(cx-tree-item){--hover-background-color:transparent!important;--active-background-color:transparent!important;--selected-background-color:transparent!important}`;
498
+ var se = Object.defineProperty, le = Object.getOwnPropertyDescriptor, h = (e, t, i, a) => {
499
+ for (var r = a > 1 ? void 0 : a ? le(t, i) : t, n = e.length - 1, d; n >= 0; n--)
500
+ (d = e[n]) && (r = (a ? d(t, i, r) : d(r)) || r);
501
+ return a && r && se(t, i, r), r;
499
502
  };
500
503
  function H(e) {
501
504
  const t = e.getChildrenItems({ includeDisabled: !1 });
502
505
  if (t.length) {
503
- const i = t.every((d) => d.selected), n = t.every(
506
+ const i = t.every((d) => d.selected), a = t.every(
504
507
  (d) => !d.selected && !d.indeterminate
505
508
  );
506
- let s = !1, a = !1;
507
- (!i && !n || e.partialSyncCheckboxes && (i || n && e.previouslySelected)) && (s = !0), e.partialSyncCheckboxes ? a = i && !s : a = i, e.indeterminate = s, e.selected = a;
509
+ let r = !1, n = !1;
510
+ (!i && !a || e.partialSyncCheckboxes && (i || a && e.previouslySelected)) && (r = !0), e.partialSyncCheckboxes ? n = i && !r : n = i, e.indeterminate = r, e.selected = n;
508
511
  }
509
512
  }
510
513
  function Z(e, t = "single") {
@@ -512,14 +515,14 @@ function Z(e, t = "single") {
512
515
  o.isTreeItem(i) && !i.disabledSyncCheckboxes && t === "multiple" && (H(i), Z(i, t));
513
516
  }
514
517
  function I(e, t = !1, i = "single") {
515
- function n(s) {
516
- if (!(!(s instanceof o) && s.getAttribute("role") !== "treeitem")) {
517
- for (const a of s.getChildrenItems())
518
- a.selected = t ? s.selected || a.selected : !a.disabled && !a.readonly && s.selected, n(a);
519
- t && H(s);
518
+ function a(r) {
519
+ if (!(!(r instanceof o) && r.getAttribute("role") !== "treeitem")) {
520
+ for (const n of r.getChildrenItems())
521
+ n.selected = t ? r.selected || n.selected : !n.disabled && !n.readonly && r.selected, a(n);
522
+ t && H(r);
520
523
  }
521
524
  }
522
- !e.disabledSyncCheckboxes && i === "multiple" && (e.partialSyncCheckboxes && (e.selected ? e.previouslySelected = !0 : e.previouslySelected = !1), n(e)), Z(e, i);
525
+ !e.disabledSyncCheckboxes && i === "multiple" && (e.partialSyncCheckboxes && (e.selected ? e.previouslySelected = !0 : e.previouslySelected = !1), a(e)), Z(e, i);
523
526
  }
524
527
  let c = class extends F {
525
528
  constructor() {
@@ -555,10 +558,10 @@ let c = class extends F {
555
558
  getExpandButtonIcon(e) {
556
559
  const i = (e === "expand" ? this.expandedIconSlot : this.collapsedIconSlot)?.assignedElements({ flatten: !0 })[0];
557
560
  if (i) {
558
- const n = i.cloneNode(!0);
559
- return [n, ...n.querySelectorAll("[id]")].forEach(
560
- (s) => s.removeAttribute("id")
561
- ), n.setAttribute("data-default", ""), n.slot = `${e}-icon`, n;
561
+ const a = i.cloneNode(!0);
562
+ return [a, ...a.querySelectorAll("[id]")].forEach(
563
+ (r) => r.removeAttribute("id")
564
+ ), a.setAttribute("data-default", ""), a.slot = `${e}-icon`, a;
562
565
  }
563
566
  return null;
564
567
  }
@@ -566,9 +569,9 @@ let c = class extends F {
566
569
  * Initializes new items by setting the `selectable` property and the expanded/collapsed icons if any
567
570
  */
568
571
  initTreeItem(e) {
569
- this.noForwardExpandButtonPlacement || (e.expandButtonPlacement = this.expandButtonPlacement), e.selectable = this.selection === "multiple", e.focusable = this.focusable, ["expand", "collapse"].filter((t) => !!this.querySelector(`[slot="${t}-icon"]`)).forEach((t) => {
570
- const i = e.querySelector(`[slot="${t}-icon"]`), n = this.getExpandButtonIcon(t);
571
- n && (i === null ? e.append(n) : i.hasAttribute("data-default") && i.replaceWith(n));
572
+ this.noForwardExpandButtonPlacement || (e.expandButtonPlacement = this.expandButtonPlacement), e.variant = this.variant, e.selectable = this.selection === "multiple", e.focusable = this.focusable, ["expand", "collapse"].filter((t) => !!this.querySelector(`[slot="${t}-icon"]`)).forEach((t) => {
573
+ const i = e.querySelector(`[slot="${t}-icon"]`), a = this.getExpandButtonIcon(t);
574
+ a && (i === null ? e.append(a) : i.hasAttribute("data-default") && i.replaceWith(a));
572
575
  }), this.sortable ? (e.sortable = !0, e.sortableGroup = this.getSortableGroup(), this.noDragInside && (e.noDragInside = !0)) : e.sortable = !1;
573
576
  }
574
577
  initTreeItems() {
@@ -578,10 +581,10 @@ let c = class extends F {
578
581
  for (const t of e) {
579
582
  const i = [...t.addedNodes].filter(
580
583
  o.isTreeItem
581
- ), n = [...t.removedNodes].filter(
584
+ ), a = [...t.removedNodes].filter(
582
585
  o.isTreeItem
583
586
  );
584
- i.forEach(this.initTreeItem), this.lastFocusedItem && n.includes(this.lastFocusedItem) && (this.lastFocusedItem = null);
587
+ i.forEach(this.initTreeItem), this.lastFocusedItem && a.includes(this.lastFocusedItem) && (this.lastFocusedItem = null);
585
588
  }
586
589
  }
587
590
  /**
@@ -591,21 +594,21 @@ let c = class extends F {
591
594
  * @param isSingleSelect - Optional flag to force the item to be selected and unselect all other items.
592
595
  */
593
596
  async selectItem(e, t = !1) {
594
- const i = [...this.selectedItems], n = this.getAllTreeItems();
597
+ const i = [...this.selectedItems], a = this.getAllTreeItems();
595
598
  if (this.selection === "multiple")
596
599
  t && await Promise.all(
597
- n.map(async (a) => {
598
- a.selected = !1, a.indeterminate = !1, a.previouslySelected = !1, await a.updateComplete;
600
+ a.map(async (n) => {
601
+ n.selected = !1, n.indeterminate = !1, n.previouslySelected = !1, await n.updateComplete;
599
602
  })
600
603
  ), e.selected = t || !e.selected, e.lazy && !this.disabledAutoExpand && (e.expanded = !0), I(e, !1, this.selection);
601
604
  else if ((this.selection === "single" || e.isLeaf) && !e.noSelect)
602
- for (const a of n)
603
- a.selected = a === e;
605
+ for (const n of a)
606
+ n.selected = n === e;
604
607
  else (this.selection === "leaf" || e.noSelect) && (e.expanded = !e.expanded);
605
608
  if (e.noSelect)
606
609
  return;
607
- const s = this.selectedItems;
608
- (i.length !== s.length || s.some((a) => !i.includes(a)) || this.forceOnChange || t) && Promise.all(s.map((a) => a.updateComplete)).then(() => {
610
+ const r = this.selectedItems;
611
+ (i.length !== r.length || r.some((n) => !i.includes(n)) || this.forceOnChange || t) && Promise.all(r.map((n) => n.updateComplete)).then(() => {
609
612
  this.emit("cx-selection-change", {
610
613
  /**
611
614
  * Use this.selectedItems instead of nextSelection because
@@ -635,36 +638,36 @@ let c = class extends F {
635
638
  "Enter",
636
639
  " "
637
640
  ].includes(e.key) || e.composedPath().some(
638
- (s) => ["input", "textarea"].includes(
639
- s?.tagName?.toLowerCase()
641
+ (r) => ["input", "textarea"].includes(
642
+ r?.tagName?.toLowerCase()
640
643
  )
641
644
  ))
642
645
  return;
643
- const t = this.getFocusableItems(), i = this.localize.dir() === "ltr", n = this.localize.dir() === "rtl";
646
+ const t = this.getFocusableItems(), i = this.localize.dir() === "ltr", a = this.localize.dir() === "rtl";
644
647
  if (t.length > 0) {
645
648
  e.preventDefault();
646
- const s = t.findIndex((x) => x.matches(":focus")), a = t[s], d = (x) => {
649
+ const r = t.findIndex((x) => x.matches(":focus")), n = t[r], d = (x) => {
647
650
  const p = t[X(x, 0, t.length - 1)];
648
651
  this.focusItem(p);
649
652
  }, u = (x) => {
650
- a.expanded = x;
653
+ n.expanded = x;
651
654
  };
652
- e.key === "ArrowDown" ? d(s + 1) : e.key === "ArrowUp" ? d(s - 1) : i && e.key === "ArrowRight" || n && e.key === "ArrowLeft" ? !a || a.disabled || a.readonly || a.expanded || a.isLeaf && !a.lazy ? d(s + 1) : u(!0) : i && e.key === "ArrowLeft" || n && e.key === "ArrowRight" ? !a || a.disabled || a.readonly || a.isLeaf || !a.expanded ? d(s - 1) : u(!1) : e.key === "Home" ? d(0) : e.key === "End" ? d(t.length - 1) : (e.key === "Enter" || e.key === " ") && !a.disabled && !a.readonly && this.selectItem(a);
655
+ e.key === "ArrowDown" ? d(r + 1) : e.key === "ArrowUp" ? d(r - 1) : i && e.key === "ArrowRight" || a && e.key === "ArrowLeft" ? !n || n.disabled || n.readonly || n.expanded || n.isLeaf && !n.lazy ? d(r + 1) : u(!0) : i && e.key === "ArrowLeft" || a && e.key === "ArrowRight" ? !n || n.disabled || n.readonly || n.isLeaf || !n.expanded ? d(r - 1) : u(!1) : e.key === "Home" ? d(0) : e.key === "End" ? d(t.length - 1) : (e.key === "Enter" || e.key === " ") && !n.disabled && !n.readonly && this.selectItem(n);
653
656
  }
654
657
  }
655
658
  handleClick(e) {
656
- const t = e.composedPath(), i = e.target, n = i.closest("cx-tree-item"), s = e.composedPath().some(
659
+ const t = e.composedPath(), i = e.target, a = i.closest("cx-tree-item"), r = e.composedPath().some(
657
660
  (u) => u?.classList?.contains("tree-item__expand-button")
658
- ), a = e.composedPath().some(
661
+ ), n = e.composedPath().some(
659
662
  (u) => u?.classList?.contains("tree-item__actions")
660
663
  );
661
- if (!n || n.disabled || n.readonly || i !== this.clickTarget)
664
+ if (!a || a.disabled || a.readonly || i !== this.clickTarget)
662
665
  return;
663
666
  const d = !t.find(
664
667
  (u) => u.tagName?.toLowerCase() === "cx-checkbox"
665
668
  );
666
- s && n.showExpandButton ? n.expanded = !n.expanded : a || this.selectItem(
667
- n,
669
+ r && a.showExpandButton ? a.expanded = !a.expanded : n || this.selectItem(
670
+ a,
668
671
  d && this.labelSelectSingle && this.selection === "multiple"
669
672
  );
670
673
  }
@@ -731,7 +734,7 @@ let c = class extends F {
731
734
  this.removeAttribute("dragging");
732
735
  }
733
736
  initSortable() {
734
- this.addEventListener("cx-drag-start", this.handleSortableStart), this.addEventListener("cx-drag-end", this.handleSortableEnd), this.sortableInstance = S.create(this, {
737
+ this.addEventListener("cx-drag-start", this.handleSortableStart), this.addEventListener("cx-drag-end", this.handleSortableEnd), this.sortableInstance = v.create(this, {
735
738
  ...M({
736
739
  group: this.getSortableGroup(),
737
740
  onAdd: this.handleSortableUpdate,
@@ -778,15 +781,15 @@ let c = class extends F {
778
781
  return e.filter((i) => {
779
782
  if (i.disabled || i.readonly)
780
783
  return !1;
781
- const n = i.parentElement?.closest("[role=treeitem]");
782
- return n instanceof o ? (n && (!n.expanded || n.loading || t.has(n)) && t.add(i), !t.has(i)) : !0;
784
+ const a = i.parentElement?.closest("[role=treeitem]");
785
+ return a instanceof o ? (a && (!a.expanded || a.loading || t.has(a)) && t.add(i), !t.has(i)) : !0;
783
786
  });
784
787
  }
785
788
  render() {
786
789
  return m`<div part="base" class="tree" @click=${this.handleClick} @keydown=${this.handleKeyDown} @mousedown=${this.handleMouseDown}><slot part="children" @slotchange=${this.handleSlotChange}></slot><span hidden aria-hidden="true"><slot name="expand-icon"></slot></span><span hidden aria-hidden="true"><slot name="collapse-icon"></slot></span></div>`;
787
790
  }
788
791
  };
789
- c.styles = [O, se];
792
+ c.styles = [O, re];
790
793
  h([
791
794
  f("slot:not([name])")
792
795
  ], c.prototype, "defaultSlot", 2);
@@ -824,6 +827,9 @@ h([
824
827
  h([
825
828
  l({ attribute: "no-forward-expand-button-placement", type: Boolean })
826
829
  ], c.prototype, "noForwardExpandButtonPlacement", 2);
830
+ h([
831
+ l({ reflect: !0, type: String })
832
+ ], c.prototype, "variant", 2);
827
833
  h([
828
834
  l({ attribute: "force-on-change", type: Boolean })
829
835
  ], c.prototype, "forceOnChange", 2);
@@ -840,7 +846,7 @@ h([
840
846
  g()
841
847
  ], c.prototype, "sortableInstance", 2);
842
848
  h([
843
- b("sortable")
849
+ b(["sortable", "variant"])
844
850
  ], c.prototype, "initTreeItems", 1);
845
851
  h([
846
852
  b("selection")
@@ -0,0 +1,44 @@
1
+ import { c as y, i as u, a, b as p, d as c } from "./index.CrhRU5m8.js";
2
+ function g(r, n) {
3
+ n || (n = []);
4
+ var e = r ? Math.min(n.length, r.length) : 0, i = n.slice(), t;
5
+ return function(f) {
6
+ for (t = 0; t < e; ++t) i[t] = r[t] * (1 - f) + n[t] * f;
7
+ return i;
8
+ };
9
+ }
10
+ function m(r) {
11
+ return ArrayBuffer.isView(r) && !(r instanceof DataView);
12
+ }
13
+ function A(r, n) {
14
+ var e = n ? n.length : 0, i = r ? Math.min(e, r.length) : 0, t = new Array(i), f = new Array(e), o;
15
+ for (o = 0; o < i; ++o) t[o] = l(r[o], n[o]);
16
+ for (; o < e; ++o) f[o] = n[o];
17
+ return function(s) {
18
+ for (o = 0; o < i; ++o) f[o] = t[o](s);
19
+ return f;
20
+ };
21
+ }
22
+ function h(r, n) {
23
+ var e = /* @__PURE__ */ new Date();
24
+ return r = +r, n = +n, function(i) {
25
+ return e.setTime(r * (1 - i) + n * i), e;
26
+ };
27
+ }
28
+ function v(r, n) {
29
+ var e = {}, i = {}, t;
30
+ (r === null || typeof r != "object") && (r = {}), (n === null || typeof n != "object") && (n = {});
31
+ for (t in n)
32
+ t in r ? e[t] = l(r[t], n[t]) : i[t] = n[t];
33
+ return function(f) {
34
+ for (t in e) i[t] = e[t](f);
35
+ return i;
36
+ };
37
+ }
38
+ function l(r, n) {
39
+ var e = typeof n, i;
40
+ return n == null || e === "boolean" ? y(n) : (e === "number" ? u : e === "string" ? (i = c(n)) ? (n = i, a) : p : n instanceof c ? a : n instanceof Date ? h : m(n) ? g : Array.isArray(n) ? A : typeof n.valueOf != "function" && typeof n.toString != "function" || isNaN(n) ? v : u)(r, n);
41
+ }
42
+ export {
43
+ l as i
44
+ };
@@ -1,5 +1,5 @@
1
- import { D as ge, x as Y, al as ve, q as $, J as ie, C as K, G as Q, L as U, T as j, m as ee, b as xe, e as k, b4 as ye, _ as te, a as ne, v as de } from "./am-chart.CqdmTS0P.js";
2
- import "./index.DcjJFMlq.js";
1
+ import { D as ge, x as Y, aj as ve, q as $, J as ie, C as K, G as Q, L as U, T as j, m as ee, b as xe, e as k, b4 as ye, _ as te, a as ne, v as de } from "./am-chart.Cr-vMjcY.js";
2
+ import "./index.CrhRU5m8.js";
3
3
  class ce extends ge {
4
4
  setupDefaultRules() {
5
5
  super.setupDefaultRules();