@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.
- package/library/chunks/{AxisLabelRadial.lE2gKah-.js → AxisLabelRadial.fe7zjixN.js} +1 -1
- package/library/chunks/{BaseColumnSeries.B57B3iHh.js → BaseColumnSeries.8Mpxz385.js} +1 -1
- package/library/chunks/{CandlestickSeries.CmmI426l.js → CandlestickSeries.DuadaOTa.js} +19 -19
- package/library/chunks/{Circle.DAhHYhrc.js → Circle.6LomW0ej.js} +1 -1
- package/library/chunks/{ColumnSeries.DBgXk-b4.js → ColumnSeries.D1NLfRh5.js} +2 -2
- package/library/chunks/{EditableAxisLabel.C6H99qiS.js → EditableAxisLabel.Bi9vxLDV.js} +2 -2
- package/library/chunks/{EditableLabel.B7HB7Cu4.js → EditableLabel.CMR3O9E-.js} +1 -1
- package/library/chunks/{Gradient.DHhBnhFd.js → Gradient.CquE8_a4.js} +1 -1
- package/library/chunks/{LinearGradient.CGx00O8B.js → LinearGradient.CVN1VJp-.js} +9 -9
- package/library/chunks/{Picture.DYltTVSo.js → Picture.BYTZ_I8g.js} +1 -1
- package/library/chunks/{Polygon.BCrxKagx.js → Polygon.CU2sMltE.js} +1 -1
- package/library/chunks/{ProgressPie.CXksPJFv.js → ProgressPie.Dd74dbmm.js} +6 -6
- package/library/chunks/{RadialLabel.BYH69FGU.js → RadialLabel.7ka6ND-t.js} +1 -1
- package/library/chunks/{Scrollbar.DEv50o4R.js → Scrollbar.DqUnZReo.js} +1 -1
- package/library/chunks/Slice.BVI8rfHI.js +34 -0
- package/library/chunks/{Slider.BX8g2iGv.js → Slider.DtjYaJOw.js} +1 -1
- package/library/chunks/{SpriteResizer.CfIBMSp3.js → SpriteResizer.Ci2Wt2YJ.js} +11 -11
- package/library/chunks/{Triangle.CNY8-QfL.js → Triangle.C75emy3D.js} +1 -1
- package/library/chunks/{ZoomTools.6jZrzA7x.js → ZoomTools.CA9mtHI8.js} +2 -2
- package/library/chunks/_arrayEach.DU4X1H_a.js +8 -0
- package/library/chunks/_baseClone.BHNjfIdS.js +215 -0
- package/library/chunks/_baseEach.DQk0As2f.js +32 -0
- package/library/chunks/{_baseIteratee.BdKyHJ5i.js → _baseIteratee.sC2wLi2m.js} +3 -2
- package/library/chunks/{_baseUniq.je-HWbb3.js → _baseUniq.lwMgmtt2.js} +16 -15
- package/library/chunks/_baseXor.DixEm6JQ.js +35 -0
- package/library/chunks/_flatRest.D3ZVApI5.js +30 -0
- package/library/chunks/abnfDiagram-VRR7QNED.DKqYa5p7.js +89 -0
- package/library/chunks/{am-chart.CqdmTS0P.js → am-chart.Cr-vMjcY.js} +1577 -1727
- package/library/chunks/{animation.S74lUDDc.js → animation.BD-1xugN.js} +1 -1
- package/library/chunks/arc.xqNd6x9S.js +84 -0
- package/library/chunks/architectureDiagram-ZJ3FMSHR.CBIOk9Kp.js +4757 -0
- package/library/chunks/{asset-link-format.DLAzKfhk.js → asset-link-format.0q_MQOYh.js} +691 -635
- package/library/chunks/asset-link-format.ClaYu_v8.js +7 -0
- package/library/chunks/blockDiagram-677ZJIJ3.CeQxLPwj.js +2428 -0
- package/library/chunks/{button.8syoJXYs.js → button.DGyqdBou.js} +2 -2
- package/library/chunks/c4Diagram-LMCZKHZV.B73xdpNh.js +1580 -0
- package/library/chunks/{capitalize.BTYI3NfM.js → capitalize.CIBKBL10.js} +1 -1
- package/library/chunks/{cardinal.BCA_LB0u.js → cardinal.BXTAeOLk.js} +1 -0
- package/library/chunks/cardinalClosed.Mdce1x5M.js +59 -0
- package/library/chunks/channel.s_XjcUYI.js +5 -0
- package/library/chunks/chunk-2Q5K7J3B.Dy1Z-bMH.js +15 -0
- package/library/chunks/chunk-32BRIVSS.BbIrVi3j.js +71 -0
- package/library/chunks/chunk-5VM5RSS4.D0-lddDM.js +19 -0
- package/library/chunks/chunk-EX3LRPZG.L693y8d4.js +1412 -0
- package/library/chunks/chunk-JWPE2WC7.BV0i4LDu.js +8 -0
- package/library/chunks/chunk-MOJQB5TN.BZstBMYC.js +664 -0
- package/library/chunks/chunk-RYQCIY6F.BMsuG7ya.js +314 -0
- package/library/chunks/chunk-V7JOEXUC.DcJlyQO0.js +1537 -0
- package/library/chunks/chunk-VR4S4FIN.BpryBs7q.js +19 -0
- package/library/chunks/chunk-XXDRQBXY.CSOjab1V.js +11 -0
- package/library/chunks/classDiagram-OUVF2IWQ.Dvz7CNwe.js +18 -0
- package/library/chunks/classDiagram-v2-EOCWNBFH.Dvz7CNwe.js +18 -0
- package/library/chunks/cloneDeep.B-5z5SI3.js +51 -0
- package/library/chunks/{color-swatch-group.CLv1LSZy.js → color-swatch-group.ChP9amU9.js} +2576 -2723
- package/library/chunks/{color-swatch.DsWP2fd-.js → color-swatch.QsHoy_K1.js} +1 -1
- package/library/chunks/{colorPicker.GYgA76kc.js → colorPicker.Cg6Zxf8f.js} +5 -5
- package/library/chunks/{confirm-popover.C-eHPJaU.js → confirm-popover.D8mdy6KG.js} +2 -2
- package/library/chunks/constant.BQ4UJ-kW.js +12 -0
- package/library/chunks/cose-bilkent-JH36ORCC.cfzS2XsK.js +2612 -0
- package/library/chunks/cynefin-VYW2F7L2.c7H5z9nQ.js +23790 -0
- package/library/chunks/cynefinDiagram-TSTJHNR4.C8SgNXWI.js +299 -0
- package/library/chunks/cytoscape.esm.Cbrwqewp.js +18786 -0
- package/library/chunks/dagre-VKFMJZFB.D5B1cAri.js +343 -0
- package/library/chunks/debounce.Bv1rtE8D.js +55 -0
- package/library/chunks/defaultLocale.CPy_WVtp.js +171 -0
- package/library/chunks/descending.AD5n-tFs.js +10 -0
- package/library/chunks/diagram-FQU43EPY.DJukDcLl.js +466 -0
- package/library/chunks/diagram-G47NLZAW.BBOvcbcR.js +316 -0
- package/library/chunks/diagram-NH7WQ7WH.DOpRwmC2.js +142 -0
- package/library/chunks/diagram-OA4YK3LP.Dm5WJs91.js +350 -0
- package/library/chunks/diagram-WEI45ONY.COuzdmSR.js +217 -0
- package/library/chunks/{dialog.Bzf4-IgH.js → dialog.05FgdLBZ.js} +2 -2
- package/library/chunks/{document-viewer.CGyOG1yw.js → document-viewer.Cng07M-1.js} +7 -7
- package/library/chunks/{dot-pagination.BdZc-K0r.js → dot-pagination.Pg9O0nIh.js} +1 -1
- package/library/chunks/ebnfDiagram-CCIWWBDH.Dz-QBH6Y.js +111 -0
- package/library/chunks/erDiagram-Q63AITRT.sSw_w-2B.js +913 -0
- package/library/chunks/{exporting.DQhKH1BX.js → exporting.Djsoh75g.js} +11 -11
- package/library/chunks/flow.aZRVH3p1.js +1304 -0
- package/library/chunks/flowDiagram-23GEKE2U.CMMbuUHf.js +1642 -0
- package/library/chunks/{folder-select.BKAuh4GE.js → folder-select.Dw1ZKZAq.js} +160 -140
- package/library/chunks/{gantt.tu-w6fQ5.js → gantt.Bv6_3H9y.js} +22 -22
- package/library/chunks/ganttDiagram-NO4QXBWP.DZdwd0O4.js +2715 -0
- package/library/chunks/gitGraphDiagram-IHSO6WYX.F6mwS3uS.js +818 -0
- package/library/chunks/graph.XHMI5hta.js +653 -0
- package/library/chunks/{header.e1FLwywx.js → header.DDI0MfJA.js} +1 -1
- package/library/chunks/{hierarchy.CTnBzzmQ.js → hierarchy.C4LxmFxx.js} +836 -904
- package/library/chunks/{hub-connection.CA_wS_wh.js → hub-connection.BtevPWYb.js} +1 -1
- package/library/chunks/{icon-button.DbVIFgu7.js → icon-button.BwmMJ0bI.js} +1 -1
- package/library/chunks/{icon.mxNZ85k0.js → icon.D5iM9wXS.js} +1 -1
- package/library/chunks/{iframe.DcHjOcLG.js → iframe.Cc-xZIm_.js} +1 -1
- package/library/chunks/{image.5mhGPvMN.js → image.BgODrAzQ.js} +2 -2
- package/library/chunks/{image.QVlPFadX.js → image.Y5c_hFx8.js} +1 -1
- package/library/chunks/{index.BVDhdCk-.js → index.2SOQHTpX.js} +23 -23
- package/library/chunks/index.BDn1QW8J.js +167 -0
- package/library/chunks/{index.DcjJFMlq.js → index.CrhRU5m8.js} +284 -273
- package/library/chunks/index.thKLME8E.js +77 -0
- package/library/chunks/infoDiagram-FWYZ7A6U.BnktKL7i.js +24 -0
- package/library/chunks/init.DjUOC4st.js +16 -0
- package/library/chunks/{input.BcyLZUmv.js → input.DOorVTYZ.js} +2 -2
- package/library/chunks/isArrayLikeObject.D7afXo-f.js +86 -0
- package/library/chunks/isEmpty.DtTJTUcf.js +27 -0
- package/library/chunks/ishikawaDiagram-FXEZZL3T.CFp-9Kes.js +621 -0
- package/library/chunks/journeyDiagram-5HDEW3XC.BxO1aPu_.js +837 -0
- package/library/chunks/{json.D7WeFaJm.js → json.Dz5QFEi5.js} +3 -3
- package/library/chunks/kanban-definition-HUTT4EX6.Bk8vmLFK.js +724 -0
- package/library/chunks/katex.DoRnZ_sp.js +11682 -0
- package/library/chunks/layout.DZcMFKol.js +1446 -0
- package/library/chunks/line.DP-iSN_J.js +157 -0
- package/library/chunks/linear.TNHhsH1m.js +215 -0
- package/library/chunks/{map.BjtxEozr.js → map.CBcV0WVq.js} +100 -105
- package/library/chunks/map.DJnohTgl.js +18 -0
- package/library/chunks/markdown.I1AJG75v.js +4180 -0
- package/library/chunks/math.D2lKC7md.js +22 -0
- package/library/chunks/mermaid.core.Dspbw7Ig.js +13598 -0
- package/library/chunks/mindmap-definition-LN4V7U3C.DuCBBYwE.js +808 -0
- package/library/chunks/{number.CtCaI0T_.js → number.Cx2ncfJJ.js} +2 -2
- package/library/chunks/{option.qN3aaqVI.js → option.DyNR1vzy.js} +2 -2
- package/library/chunks/ordinal.bqVaUip-.js +61 -0
- package/library/chunks/{pagination.Cupa46TN.js → pagination.qFmncShC.js} +5 -5
- package/library/chunks/pegDiagram-2B236MQR.DQrkEdJr.js +97 -0
- package/library/chunks/{percent.D_CkaRGb.js → percent.D8mkiJ2G.js} +17 -17
- package/library/chunks/pieDiagram-ENE6RG2P.B6nPW8Pj.js +212 -0
- package/library/chunks/position-picker.DjnhxIKF.js +4 -0
- package/library/chunks/quadrantDiagram-ABIIQ3AL.BFy9moxz.js +1026 -0
- package/library/chunks/{radar.BMKaNvJH.js → radar.B3p5bRix.js} +78 -129
- package/library/chunks/railroadDiagram-RFXS5EU6.CSao8YZX.js +79 -0
- package/library/chunks/range.DdOGybNB.js +9 -0
- package/library/chunks/requirementDiagram-TGXJPOKE.CjpliZnF.js +882 -0
- package/library/chunks/sankey.BR94A-8L.js +294 -0
- package/library/chunks/sankeyDiagram-HTMAVEWB.D8aAxVGe.js +564 -0
- package/library/chunks/select.C6_sM3Pr.js +7 -0
- package/library/chunks/sequenceDiagram-DBY2YBRQ.Cu9MV3h-.js +2891 -0
- package/library/chunks/sizeCapture-X5ZJPWSS.BDByEFcW.js +46 -0
- package/library/chunks/{sliceGrouper.C-t5ZRrz.js → sliceGrouper.CcRqQhZX.js} +1 -1
- package/library/chunks/stateDiagram-2N3HPSRC.DvrAW9Ck.js +267 -0
- package/library/chunks/stateDiagram-v2-6OUMAXLB.CFfuaFM1.js +18 -0
- package/library/chunks/step.almIqwJ6.js +51 -0
- package/library/chunks/{stock.vF_pji1F.js → stock.CQbn6zW4.js} +9 -9
- package/library/chunks/swimlanes-5IMT3BWC.AtMD47q7.js +5332 -0
- package/library/chunks/swimlanesDiagram-G3AALYLV.26A1eX7s.js +15 -0
- package/library/chunks/{tab-group.kSg5_10g.js → tab-group.1Y71_aN8.js} +3 -3
- package/library/chunks/{time.DWfbnPnM.js → time.DYWuX2id.js} +1 -1
- package/library/chunks/timeline-definition-FHXFAJF6.CYSh6xl5.js +1058 -0
- package/library/chunks/{timeline.gWu0up6r.js → timeline.Czz_uBEd.js} +33 -32
- package/library/chunks/toNumber.MuDz8DgU.js +31 -0
- package/library/chunks/{toString.Dcbz5jVT.js → toString.B1zKIiZc.js} +1 -1
- package/library/chunks/{toast.TDU3wVhq.js → toast.CXEAfCvN.js} +1 -1
- package/library/chunks/transformation.8uLv6uwG.js +264 -0
- package/library/chunks/{tree.C2dPd6gt.js → tree.vn5sHbdt.js} +123 -117
- package/library/chunks/value.BXEGBVFV.js +44 -0
- package/library/chunks/{venn.BVBe-JXs.js → venn.B5Jl-c4i.js} +2 -2
- package/library/chunks/vennDiagram-L72KCM5P.CSk1WWlu.js +1581 -0
- package/library/chunks/wardleyDiagram-EHGQE667.C7UzXYG7.js +675 -0
- package/library/chunks/{watch.DOt4Mabe.js → watch.DJF5K-8U.js} +27 -27
- package/library/chunks/{wc.DTNpfIc1.js → wc.B2THb2Kk.js} +18 -18
- package/library/chunks/xy.BO6U5QrZ.js +294 -0
- package/library/chunks/xychartDiagram-FW5EYKEG.idiZWvYS.js +1383 -0
- package/library/components/alert.js +2 -2
- package/library/components/am-chart.js +3 -3
- package/library/components/animated-image.js +2 -2
- package/library/components/animation.js +2 -2
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +8 -7
- package/library/components/atoms.js +29 -29
- package/library/components/audio.js +3 -3
- package/library/components/avatar.js +2 -2
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb-item.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +3 -3
- package/library/components/checkbox.js +195 -18
- package/library/components/color-picker.js +4 -4
- package/library/components/color-swatch-group.js +5 -5
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +3 -3
- package/library/components/copy-button.js +2 -2
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/cropper.js +4 -4
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +2 -2
- package/library/components/dialog.js +3 -3
- package/library/components/diff.js +1 -1
- package/library/components/divider.js +1 -1
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +3 -3
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +6 -6
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +350 -374
- package/library/components/folder-select.js +5 -5
- package/library/components/format-time.js +2 -2
- package/library/components/grid-item.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/hub-connection.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/icon.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +2 -2
- package/library/components/image.js +3 -3
- package/library/components/include.js +1 -1
- package/library/components/input.js +3 -3
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +11 -2704
- package/library/components/masonry.js +76 -73
- package/library/components/menu-item.js +2 -2
- package/library/components/molecules.js +3 -3
- package/library/components/mutation-observer.js +1 -1
- package/library/components/option.js +3 -3
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/position-picker.js +25 -25
- package/library/components/qr-code.js +1 -1
- package/library/components/radio-button.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/radio.js +2 -2
- package/library/components/range.js +1 -1
- package/library/components/rating.js +2 -2
- package/library/components/resize-observer.js +1 -1
- package/library/components/select.js +3 -3
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +2 -2
- package/library/components/sidebar.js +3 -3
- package/library/components/size-input-group.js +3 -3
- package/library/components/split-panel.js +1 -1
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +4 -4
- package/library/components/tab-panel.js +1 -1
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +1 -1
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +4 -4
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +122327 -120686
- package/library/components/video.js +2 -2
- package/library/package.json +2 -1
- package/library/packages/atoms/src/components/markdown/markdown.d.ts +41 -1
- package/library/packages/atoms/src/components/markdown/parser.d.ts +18 -3
- package/library/packages/atoms/src/components/markdown/styles.d.ts +17 -0
- package/library/packages/atoms/src/components/tree/tree.d.ts +7 -1
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +11 -1
- package/library/packages/events/src/cx-folder-select-loading-change.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/table/styles/table-frozen.styles.d.ts +8 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +9 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +14 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +18 -1
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +7 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +7 -0
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/markdown-viewer/markdown-viewer.d.ts +124 -0
- package/library/packages/molecules/src/markdown-viewer/markdown-viewer.styles.d.ts +6 -0
- package/library/packages/molecules/src/masonry/masonry.d.ts +5 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +30 -0
- package/library/packages/tools/src/tiptap/utils/md/editor-controller.d.ts +57 -0
- package/library/packages/tools/src/tiptap/utils/md/from-markdown.d.ts +11 -0
- package/library/packages/tools/src/tiptap/utils/md/input-rules.d.ts +15 -0
- package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +13 -0
- package/library/packages/tools/src/tiptap/utils/md/to-markdown.d.ts +14 -0
- package/library/packages/types/src/asset-link-format.d.ts +19 -0
- package/library/packages/types/src/markdown-viewer.d.ts +12 -0
- package/library/packages/types/src/tree-item.d.ts +12 -0
- package/library/react-web-component.d.ts +86 -8
- package/library/utils.js +64 -65
- package/package.json +2 -1
- package/library/chunks/Slice.C5lVu2g_.js +0 -120
- package/library/chunks/_baseXor.VohG8cOH.js +0 -116
- package/library/chunks/asset-link-format.QzzboHHE.js +0 -6
- package/library/chunks/checkbox.3i2j3PHc.js +0 -198
- package/library/chunks/content-builder.BU8X7I6V.js +0 -60
- package/library/chunks/debounce.C_J-9zJi.js +0 -82
- package/library/chunks/flow.hz0UDjCb.js +0 -1594
- package/library/chunks/index.DU0XUO4k.js +0 -176
- package/library/chunks/transformation.D1alV_s4.js +0 -189
- package/library/chunks/xy.BNgyrwGD.js +0 -333
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
import { I as X } from "./chunk-2Q5K7J3B.Dy1Z-bMH.js";
|
|
2
|
+
import { p as O } from "./chunk-JWPE2WC7.BV0i4LDu.js";
|
|
3
|
+
import { _ as f, n as G, b as Y, s as P, o as F, g as j, a as Z, A, l as E, E as q, d as U, y as N, p as J, h as K, a1 as Q, B as ee, a2 as te } from "./mermaid.core.Dspbw7Ig.js";
|
|
4
|
+
import { p as ne } from "./cynefin-VYW2F7L2.c7H5z9nQ.js";
|
|
5
|
+
var D = /[─━│┃└┗├┣]/, S = /[└┗├┣]/, re = /[─━]/, V = /^[\s│┃]+$/, $ = /^\s*(title[\t ]|accTitle[\t ]*:|accDescr[\t ]*[:{])/, k = /^\s*%%/, ie = " ";
|
|
6
|
+
function L(n) {
|
|
7
|
+
return n.some((e) => D.test(e));
|
|
8
|
+
}
|
|
9
|
+
f(L, "isBoxDrawingFormat");
|
|
10
|
+
function _(n) {
|
|
11
|
+
for (const e of n) {
|
|
12
|
+
const t = S.exec(e);
|
|
13
|
+
if (t?.index && t.index > 0)
|
|
14
|
+
return t.index;
|
|
15
|
+
}
|
|
16
|
+
return 4;
|
|
17
|
+
}
|
|
18
|
+
f(_, "inferSegmentWidth");
|
|
19
|
+
function M(n, e) {
|
|
20
|
+
return n.replace(/\bline\s+(\d+)\b/gi, (t, r) => {
|
|
21
|
+
const i = parseInt(r, 10), a = e.get(i);
|
|
22
|
+
return a ? `line ${a}` : t;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
f(M, "remapErrorLines");
|
|
26
|
+
function R(n) {
|
|
27
|
+
const e = n.split(`
|
|
28
|
+
`), t = /* @__PURE__ */ new Map();
|
|
29
|
+
let r = -1;
|
|
30
|
+
for (const [s, o] of e.entries())
|
|
31
|
+
if (o.trim() === "treeView-beta") {
|
|
32
|
+
r = s;
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
if (r === -1)
|
|
36
|
+
return { text: n, lineMap: t };
|
|
37
|
+
const i = [];
|
|
38
|
+
for (let s = r + 1; s < e.length; s++) {
|
|
39
|
+
const o = e[s];
|
|
40
|
+
o.trim() === "" || k.test(o) || $.test(o) || V.test(o) || i.push(o.replace(/\t/g, " "));
|
|
41
|
+
}
|
|
42
|
+
if (!L(i))
|
|
43
|
+
return { text: n, lineMap: t };
|
|
44
|
+
const a = _(i), c = [];
|
|
45
|
+
let l = 0;
|
|
46
|
+
for (let s = 0; s <= r; s++)
|
|
47
|
+
c.push(e[s]), l++, t.set(l, s + 1);
|
|
48
|
+
for (let s = r + 1; s < e.length; s++) {
|
|
49
|
+
const o = e[s], h = o.trim(), p = s + 1;
|
|
50
|
+
if (h === "") {
|
|
51
|
+
c.push(o), l++, t.set(l, p);
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
if (k.test(o)) {
|
|
55
|
+
c.push(o), l++, t.set(l, p);
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
if ($.test(o)) {
|
|
59
|
+
c.push(o), l++, t.set(l, p);
|
|
60
|
+
continue;
|
|
61
|
+
}
|
|
62
|
+
if (V.test(o))
|
|
63
|
+
continue;
|
|
64
|
+
const d = o.replace(/\t/g, " "), w = S.exec(d);
|
|
65
|
+
if (w?.index !== void 0) {
|
|
66
|
+
const g = w.index, m = Math.round(g / a) + 1;
|
|
67
|
+
let u = g + 1;
|
|
68
|
+
for (; u < d.length && re.test(d[u]); )
|
|
69
|
+
u++;
|
|
70
|
+
for (; u < d.length && d[u] === " "; )
|
|
71
|
+
u++;
|
|
72
|
+
const v = d.slice(u).trimEnd();
|
|
73
|
+
if (!v)
|
|
74
|
+
throw new Error(
|
|
75
|
+
`Line ${p}: Empty node — expected a filename or directory name after the box-drawing prefix`
|
|
76
|
+
);
|
|
77
|
+
const W = ie.repeat(m);
|
|
78
|
+
c.push(W + v), l++, t.set(l, p);
|
|
79
|
+
} else {
|
|
80
|
+
if (/^[\s─━│┃└┗├┣]+$/.test(d))
|
|
81
|
+
continue;
|
|
82
|
+
if (D.test(d))
|
|
83
|
+
c.push(o), l++, t.set(l, p);
|
|
84
|
+
else {
|
|
85
|
+
if (/^\s+/.test(d))
|
|
86
|
+
throw new Error(
|
|
87
|
+
`Line ${p}: Unexpected indentation without box-drawing characters. In box-drawing format, use ├── or └── prefixes for indented nodes.`
|
|
88
|
+
);
|
|
89
|
+
c.push(o), l++, t.set(l, p);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
return { text: c.join(`
|
|
94
|
+
`), lineMap: t };
|
|
95
|
+
}
|
|
96
|
+
f(R, "preprocessBoxDrawing");
|
|
97
|
+
var x = new X(() => ({
|
|
98
|
+
cnt: 1,
|
|
99
|
+
stack: [
|
|
100
|
+
{
|
|
101
|
+
id: 0,
|
|
102
|
+
level: -1,
|
|
103
|
+
name: "/",
|
|
104
|
+
nodeType: "directory",
|
|
105
|
+
children: []
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
})), oe = /* @__PURE__ */ f(() => {
|
|
109
|
+
x.reset(), J();
|
|
110
|
+
}, "clear"), se = /* @__PURE__ */ f(() => x.records.stack[0], "getRoot"), ae = /* @__PURE__ */ f(() => x.records.cnt, "getCount"), ce = ee.treeView, le = /* @__PURE__ */ f(() => A(ce, N().treeView), "getConfig"), de = /* @__PURE__ */ f((n, e, t, r, i, a) => {
|
|
111
|
+
for (; n <= x.records.stack[x.records.stack.length - 1].level; )
|
|
112
|
+
x.records.stack.pop();
|
|
113
|
+
const c = {
|
|
114
|
+
id: x.records.cnt++,
|
|
115
|
+
level: n,
|
|
116
|
+
name: e,
|
|
117
|
+
nodeType: t,
|
|
118
|
+
icon: i,
|
|
119
|
+
cssClass: r,
|
|
120
|
+
description: a,
|
|
121
|
+
children: []
|
|
122
|
+
};
|
|
123
|
+
x.records.stack[x.records.stack.length - 1].children.push(c), x.records.stack.push(c);
|
|
124
|
+
}, "addNode"), he = {
|
|
125
|
+
clear: oe,
|
|
126
|
+
addNode: de,
|
|
127
|
+
getRoot: se,
|
|
128
|
+
getCount: ae,
|
|
129
|
+
getConfig: le,
|
|
130
|
+
getAccTitle: Z,
|
|
131
|
+
getAccDescription: j,
|
|
132
|
+
getDiagramTitle: F,
|
|
133
|
+
setAccDescription: P,
|
|
134
|
+
setAccTitle: Y,
|
|
135
|
+
setDiagramTitle: G
|
|
136
|
+
}, I = he, pe = /* @__PURE__ */ f((n) => {
|
|
137
|
+
O(n, I);
|
|
138
|
+
for (const e of n.nodes) {
|
|
139
|
+
const t = typeof e.indent == "number" ? e.indent : 0;
|
|
140
|
+
let r = e.name;
|
|
141
|
+
const i = r.endsWith("/");
|
|
142
|
+
i && (r = r.slice(0, -1));
|
|
143
|
+
const a = i ? "directory" : "file", c = e.classAnnotation || void 0, l = e.iconAnnotation, s = l !== void 0 ? l || "none" : void 0, o = e.descAnnotation || void 0, h = o ? K(o, N()) : void 0;
|
|
144
|
+
I.addNode(t, r, a, c, s, h);
|
|
145
|
+
}
|
|
146
|
+
}, "populate"), fe = {
|
|
147
|
+
parse: /* @__PURE__ */ f(async (n) => {
|
|
148
|
+
const { text: e, lineMap: t } = R(n);
|
|
149
|
+
try {
|
|
150
|
+
const r = await ne("treeView", e);
|
|
151
|
+
E.debug(r), pe(r);
|
|
152
|
+
} catch (r) {
|
|
153
|
+
throw t.size > 0 && r instanceof Error && (r.message = M(r.message, t)), r;
|
|
154
|
+
}
|
|
155
|
+
}, "parse")
|
|
156
|
+
}, b = {
|
|
157
|
+
prefix: "mermaid-treeview",
|
|
158
|
+
height: 24,
|
|
159
|
+
width: 24,
|
|
160
|
+
icons: {
|
|
161
|
+
folder: {
|
|
162
|
+
body: '<path fill="currentColor" d="M10.59 4.59A2 2 0 0 0 9.17 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.17z"/>'
|
|
163
|
+
},
|
|
164
|
+
file: {
|
|
165
|
+
body: '<path fill="currentColor" fill-rule="evenodd" d="M6 2a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8.83a2 2 0 0 0-.59-1.42l-4.82-4.82A2 2 0 0 0 13.17 2H6Zm7.5 1.9l4.6 4.6h-3.6a1 1 0 0 1-1-1V3.9Z" clip-rule="evenodd"/>'
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
function H(n, e) {
|
|
170
|
+
const t = e?.filenameIcons?.[n];
|
|
171
|
+
if (t)
|
|
172
|
+
return t;
|
|
173
|
+
const r = n.lastIndexOf(".");
|
|
174
|
+
if (r > 0) {
|
|
175
|
+
const i = n.substring(r).toLowerCase(), a = e?.extensionIcons;
|
|
176
|
+
return a?.[i] ?? a?.[i.slice(1)];
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
f(H, "detectIcon");
|
|
180
|
+
function C(n, e) {
|
|
181
|
+
return n.includes(":") ? n : n in b.icons || !e ? `${b.prefix}:${n}` : `${e}:${n}`;
|
|
182
|
+
}
|
|
183
|
+
f(C, "qualifyIcon");
|
|
184
|
+
function B(n, e) {
|
|
185
|
+
if (n.icon !== "none") {
|
|
186
|
+
if (n.icon)
|
|
187
|
+
return C(n.icon, e.defaultIconPack);
|
|
188
|
+
if (e.showIcons) {
|
|
189
|
+
if (n.nodeType === "file") {
|
|
190
|
+
const t = H(n.name, e);
|
|
191
|
+
if (t === "none")
|
|
192
|
+
return;
|
|
193
|
+
if (t)
|
|
194
|
+
return C(t, e.defaultIconPack);
|
|
195
|
+
}
|
|
196
|
+
return `${b.prefix}:${n.nodeType === "directory" ? "folder" : "file"}`;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
f(B, "getNodeIcon");
|
|
201
|
+
te([
|
|
202
|
+
{
|
|
203
|
+
name: b.prefix,
|
|
204
|
+
icons: b
|
|
205
|
+
}
|
|
206
|
+
]);
|
|
207
|
+
var y = 14, ge = 4, ue = 16, z = /* @__PURE__ */ f((n, e) => `tv-icon-${n}-${e.replace(/[^\w-]/g, "-")}`, "iconSymbolId"), we = /* @__PURE__ */ f(async (n, e, t, r) => {
|
|
208
|
+
const i = /* @__PURE__ */ new Set(), a = /* @__PURE__ */ f((s) => {
|
|
209
|
+
const o = B(s, t);
|
|
210
|
+
o && i.add(o), s.children.forEach(a);
|
|
211
|
+
}, "collect");
|
|
212
|
+
if (a(e), i.size === 0)
|
|
213
|
+
return;
|
|
214
|
+
const c = await Promise.all(
|
|
215
|
+
[...i].map(async (s) => ({
|
|
216
|
+
icon: s,
|
|
217
|
+
svg: await Q(s, {
|
|
218
|
+
height: y,
|
|
219
|
+
width: y
|
|
220
|
+
})
|
|
221
|
+
}))
|
|
222
|
+
), l = n.append("defs");
|
|
223
|
+
for (const { icon: s, svg: o } of c)
|
|
224
|
+
l.append("g").attr("id", z(r, s)).html(o);
|
|
225
|
+
}, "injectIconDefs"), me = /* @__PURE__ */ f((n, e, t, r, i, a) => {
|
|
226
|
+
const c = r.append("g");
|
|
227
|
+
let l = "treeView-node-label";
|
|
228
|
+
t.nodeType === "directory" && (l += " treeView-node-dir"), t.cssClass && (l += ` ${t.cssClass}`);
|
|
229
|
+
const s = y + ge, o = B(t, i), h = o !== void 0;
|
|
230
|
+
o && c.append("use").attr("xlink:href", `#${z(a, o)}`).attr("x", n + i.paddingX).attr("y", e + i.paddingY).attr("class", "treeView-node-icon");
|
|
231
|
+
const p = c.append("text").text(t.name).attr("dominant-baseline", "middle").attr("class", l), { height: d, width: w } = p.node().getBBox(), g = d + i.paddingY * 2, m = n + i.paddingX + (h ? s : 0);
|
|
232
|
+
p.attr("x", m), p.attr("y", e + g / 2);
|
|
233
|
+
const u = m + w, v = w + i.paddingX * 2 + (h ? s : 0);
|
|
234
|
+
return t.BBox = { x: n, y: e, width: v, height: g }, t.cssClass?.split(/\s+/).includes("highlight") && c.insert("rect", ":first-child").attr("x", n).attr("y", e + 1).attr("width", 0).attr("height", g - 2).attr("rx", 3).attr("class", "treeView-highlight-bg"), { node: t, nodeGroup: c, labelRightEdge: u, centerY: e + g / 2 };
|
|
235
|
+
}, "positionLabel"), T = /* @__PURE__ */ f((n, e, t, r, i, a) => n.append("line").attr("x1", e).attr("y1", t).attr("x2", r).attr("y2", i).attr("stroke-width", a).attr("class", "treeView-node-line"), "positionLine"), xe = /* @__PURE__ */ f((n, e, t, r) => {
|
|
236
|
+
let i = 0, a = 0;
|
|
237
|
+
const c = [], l = /* @__PURE__ */ f((h, p, d, w) => {
|
|
238
|
+
const g = w * (d.rowIndent + d.paddingX), m = me(g, i, p, h, d, r);
|
|
239
|
+
c.push(m);
|
|
240
|
+
const { height: u, width: v } = p.BBox;
|
|
241
|
+
T(
|
|
242
|
+
h,
|
|
243
|
+
g - d.rowIndent,
|
|
244
|
+
i + u / 2,
|
|
245
|
+
g,
|
|
246
|
+
i + u / 2,
|
|
247
|
+
d.lineThickness
|
|
248
|
+
), a = Math.max(a, g + v), i += u;
|
|
249
|
+
}, "drawNode"), s = /* @__PURE__ */ f((h, p = 0) => {
|
|
250
|
+
l(n, h, t, p), h.children.forEach((m) => {
|
|
251
|
+
s(m, p + 1);
|
|
252
|
+
});
|
|
253
|
+
const { x: d, y: w, height: g } = h.BBox;
|
|
254
|
+
if (h.children.length) {
|
|
255
|
+
const { y: m, height: u } = h.children[h.children.length - 1].BBox;
|
|
256
|
+
T(
|
|
257
|
+
n,
|
|
258
|
+
d + t.paddingX,
|
|
259
|
+
w + g,
|
|
260
|
+
d + t.paddingX,
|
|
261
|
+
m + u / 2 + t.lineThickness / 2,
|
|
262
|
+
t.lineThickness
|
|
263
|
+
);
|
|
264
|
+
}
|
|
265
|
+
}, "processNode");
|
|
266
|
+
s(e);
|
|
267
|
+
const o = c.filter((h) => h.node.description);
|
|
268
|
+
if (o.length > 0) {
|
|
269
|
+
const p = Math.max(...c.map((d) => d.labelRightEdge)) + ue;
|
|
270
|
+
for (const d of o) {
|
|
271
|
+
const g = d.nodeGroup.append("text").text(d.node.description).attr("dominant-baseline", "middle").attr("class", "treeView-node-description").attr("x", p).attr("y", d.centerY).node().getBBox();
|
|
272
|
+
a = Math.max(a, p + g.width + t.paddingX);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
for (const h of c)
|
|
276
|
+
if (h.node.cssClass?.split(/\s+/).includes("highlight")) {
|
|
277
|
+
const p = h.nodeGroup.select(".treeView-highlight-bg");
|
|
278
|
+
if (!p.empty()) {
|
|
279
|
+
const d = a - h.node.BBox.x + 8;
|
|
280
|
+
p.attr("width", d), a = Math.max(a, h.node.BBox.x + d + 2);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
return { totalHeight: i, totalWidth: a };
|
|
284
|
+
}, "drawTree"), ve = /* @__PURE__ */ f(async (n, e, t, r) => {
|
|
285
|
+
E.debug(`Rendering treeView diagram
|
|
286
|
+
` + n);
|
|
287
|
+
const i = r.db, a = i.getRoot(), c = i.getConfig(), l = q(e);
|
|
288
|
+
await we(l, a, c, e);
|
|
289
|
+
const s = l.append("g");
|
|
290
|
+
s.attr("class", "tree-view");
|
|
291
|
+
const { totalHeight: o, totalWidth: h } = xe(s, a, c, e);
|
|
292
|
+
l.attr("viewBox", `-${c.lineThickness / 2} 0 ${h} ${o}`), U(l, o, h, c.useMaxWidth);
|
|
293
|
+
}, "draw"), be = {
|
|
294
|
+
draw: ve
|
|
295
|
+
}, Ie = be, Ce = {
|
|
296
|
+
labelFontSize: "16px",
|
|
297
|
+
labelColor: "black",
|
|
298
|
+
lineColor: "black",
|
|
299
|
+
iconColor: "#546e7a",
|
|
300
|
+
descriptionColor: "#6a9955",
|
|
301
|
+
highlightBg: "rgba(255, 193, 7, 0.15)",
|
|
302
|
+
highlightStroke: "#ffc107"
|
|
303
|
+
}, ye = /* @__PURE__ */ f(({
|
|
304
|
+
treeView: n
|
|
305
|
+
}) => {
|
|
306
|
+
const {
|
|
307
|
+
labelFontSize: e,
|
|
308
|
+
labelColor: t,
|
|
309
|
+
lineColor: r,
|
|
310
|
+
iconColor: i,
|
|
311
|
+
descriptionColor: a,
|
|
312
|
+
highlightBg: c,
|
|
313
|
+
highlightStroke: l
|
|
314
|
+
} = A(Ce, n);
|
|
315
|
+
return `
|
|
316
|
+
.treeView-node-label {
|
|
317
|
+
font-size: ${e};
|
|
318
|
+
fill: ${t};
|
|
319
|
+
white-space: pre;
|
|
320
|
+
}
|
|
321
|
+
.treeView-node-dir {
|
|
322
|
+
font-weight: bold;
|
|
323
|
+
}
|
|
324
|
+
.treeView-node-line {
|
|
325
|
+
stroke: ${r};
|
|
326
|
+
}
|
|
327
|
+
.treeView-node-icon {
|
|
328
|
+
color: ${i};
|
|
329
|
+
}
|
|
330
|
+
.treeView-node-description {
|
|
331
|
+
font-size: ${e};
|
|
332
|
+
fill: ${a};
|
|
333
|
+
font-style: italic;
|
|
334
|
+
white-space: pre;
|
|
335
|
+
}
|
|
336
|
+
.treeView-highlight-bg {
|
|
337
|
+
fill: ${c};
|
|
338
|
+
stroke: ${l};
|
|
339
|
+
stroke-width: 1;
|
|
340
|
+
}
|
|
341
|
+
`;
|
|
342
|
+
}, "styles"), Be = ye, Ae = {
|
|
343
|
+
db: I,
|
|
344
|
+
renderer: Ie,
|
|
345
|
+
parser: fe,
|
|
346
|
+
styles: Be
|
|
347
|
+
};
|
|
348
|
+
export {
|
|
349
|
+
Ae as diagram
|
|
350
|
+
};
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
import { p as k } from "./chunk-JWPE2WC7.BV0i4LDu.js";
|
|
2
|
+
import { _ as c, s as R, g as E, o as F, n as I, a as _, b as D, E as P, p as z, A as y, y as C, B as G, l as B, F as W, d as V } from "./mermaid.core.Dspbw7Ig.js";
|
|
3
|
+
import { p as H } from "./cynefin-VYW2F7L2.c7H5z9nQ.js";
|
|
4
|
+
var h = {
|
|
5
|
+
showLegend: !0,
|
|
6
|
+
ticks: 5,
|
|
7
|
+
max: null,
|
|
8
|
+
min: 0,
|
|
9
|
+
graticule: "circle"
|
|
10
|
+
}, w = {
|
|
11
|
+
axes: [],
|
|
12
|
+
curves: [],
|
|
13
|
+
options: h
|
|
14
|
+
}, x = structuredClone(w), j = G.radar, N = /* @__PURE__ */ c(() => y({
|
|
15
|
+
...j,
|
|
16
|
+
...C().radar
|
|
17
|
+
}), "getConfig"), b = /* @__PURE__ */ c(() => x.axes, "getAxes"), U = /* @__PURE__ */ c(() => x.curves, "getCurves"), X = /* @__PURE__ */ c(() => x.options, "getOptions"), Y = /* @__PURE__ */ c((a) => {
|
|
18
|
+
x.axes = a.map((t) => ({
|
|
19
|
+
name: t.name,
|
|
20
|
+
label: t.label ?? t.name
|
|
21
|
+
}));
|
|
22
|
+
}, "setAxes"), Z = /* @__PURE__ */ c((a) => {
|
|
23
|
+
x.curves = a.map((t) => ({
|
|
24
|
+
name: t.name,
|
|
25
|
+
label: t.label ?? t.name,
|
|
26
|
+
entries: q(t.entries)
|
|
27
|
+
}));
|
|
28
|
+
}, "setCurves"), q = /* @__PURE__ */ c((a) => {
|
|
29
|
+
if (a[0].axis == null)
|
|
30
|
+
return a.map((e) => e.value);
|
|
31
|
+
const t = b();
|
|
32
|
+
if (t.length === 0)
|
|
33
|
+
throw new Error("Axes must be populated before curves for reference entries");
|
|
34
|
+
return t.map((e) => {
|
|
35
|
+
const r = a.find((s) => s.axis?.$refText === e.name);
|
|
36
|
+
if (r === void 0)
|
|
37
|
+
throw new Error("Missing entry for axis " + e.label);
|
|
38
|
+
return r.value;
|
|
39
|
+
});
|
|
40
|
+
}, "computeCurveEntries"), J = /* @__PURE__ */ c((a) => {
|
|
41
|
+
const t = a.reduce(
|
|
42
|
+
(e, r) => (e[r.name] = r, e),
|
|
43
|
+
{}
|
|
44
|
+
);
|
|
45
|
+
x.options = {
|
|
46
|
+
showLegend: t.showLegend?.value ?? h.showLegend,
|
|
47
|
+
ticks: t.ticks?.value ?? h.ticks,
|
|
48
|
+
max: t.max?.value ?? h.max,
|
|
49
|
+
min: t.min?.value ?? h.min,
|
|
50
|
+
graticule: t.graticule?.value ?? h.graticule
|
|
51
|
+
};
|
|
52
|
+
}, "setOptions"), K = /* @__PURE__ */ c(() => {
|
|
53
|
+
z(), x = structuredClone(w);
|
|
54
|
+
}, "clear"), $ = {
|
|
55
|
+
getAxes: b,
|
|
56
|
+
getCurves: U,
|
|
57
|
+
getOptions: X,
|
|
58
|
+
setAxes: Y,
|
|
59
|
+
setCurves: Z,
|
|
60
|
+
setOptions: J,
|
|
61
|
+
getConfig: N,
|
|
62
|
+
clear: K,
|
|
63
|
+
setAccTitle: D,
|
|
64
|
+
getAccTitle: _,
|
|
65
|
+
setDiagramTitle: I,
|
|
66
|
+
getDiagramTitle: F,
|
|
67
|
+
getAccDescription: E,
|
|
68
|
+
setAccDescription: R
|
|
69
|
+
}, Q = /* @__PURE__ */ c((a) => {
|
|
70
|
+
k(a, $);
|
|
71
|
+
const { axes: t, curves: e, options: r } = a;
|
|
72
|
+
$.setAxes(t), $.setCurves(e), $.setOptions(r);
|
|
73
|
+
}, "populate"), tt = {
|
|
74
|
+
parse: /* @__PURE__ */ c(async (a) => {
|
|
75
|
+
const t = await H("radar", a);
|
|
76
|
+
B.debug(t), Q(t);
|
|
77
|
+
}, "parse")
|
|
78
|
+
}, et = /* @__PURE__ */ c((a, t, e, r) => {
|
|
79
|
+
const s = r.db, i = s.getAxes(), l = s.getCurves(), n = s.getOptions(), o = s.getConfig(), d = s.getDiagramTitle(), p = P(t), u = at(p, o), g = n.max ?? Math.max(...l.map((f) => Math.max(...f.entries))), m = n.min, v = Math.min(o.width, o.height) / 2;
|
|
80
|
+
rt(u, i, v, n.ticks, n.graticule), st(u, i, v, o), A(u, i, l, m, g, n.graticule, o), T(u, l, n.showLegend, o), u.append("text").attr("class", "radarTitle").text(d).attr("x", 0).attr("y", -o.height / 2 - o.marginTop);
|
|
81
|
+
}, "draw"), at = /* @__PURE__ */ c((a, t) => {
|
|
82
|
+
const e = t.width + t.marginLeft + t.marginRight, r = t.height + t.marginTop + t.marginBottom, s = {
|
|
83
|
+
x: t.marginLeft + t.width / 2,
|
|
84
|
+
y: t.marginTop + t.height / 2
|
|
85
|
+
};
|
|
86
|
+
return V(a, r, e, t.useMaxWidth ?? !0), a.attr("viewBox", `0 0 ${e} ${r}`).attr("overflow", "visible"), a.append("g").attr("transform", `translate(${s.x}, ${s.y})`);
|
|
87
|
+
}, "drawFrame"), rt = /* @__PURE__ */ c((a, t, e, r, s) => {
|
|
88
|
+
if (s === "circle")
|
|
89
|
+
for (let i = 0; i < r; i++) {
|
|
90
|
+
const l = e * (i + 1) / r;
|
|
91
|
+
a.append("circle").attr("r", l).attr("class", "radarGraticule");
|
|
92
|
+
}
|
|
93
|
+
else if (s === "polygon") {
|
|
94
|
+
const i = t.length;
|
|
95
|
+
for (let l = 0; l < r; l++) {
|
|
96
|
+
const n = e * (l + 1) / r, o = t.map((d, p) => {
|
|
97
|
+
const u = 2 * p * Math.PI / i - Math.PI / 2, g = n * Math.cos(u), m = n * Math.sin(u);
|
|
98
|
+
return `${g},${m}`;
|
|
99
|
+
}).join(" ");
|
|
100
|
+
a.append("polygon").attr("points", o).attr("class", "radarGraticule");
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}, "drawGraticule"), st = /* @__PURE__ */ c((a, t, e, r) => {
|
|
104
|
+
const s = t.length;
|
|
105
|
+
for (let i = 0; i < s; i++) {
|
|
106
|
+
const l = t[i].label, n = 2 * i * Math.PI / s - Math.PI / 2, o = Math.cos(n), d = Math.sin(n);
|
|
107
|
+
a.append("line").attr("x1", 0).attr("y1", 0).attr("x2", e * r.axisScaleFactor * o).attr("y2", e * r.axisScaleFactor * d).attr("class", "radarAxisLine");
|
|
108
|
+
const p = o > 0.01 ? "start" : o < -0.01 ? "end" : "middle", u = d > 0.01 ? "hanging" : d < -0.01 ? "auto" : "central", g = 4;
|
|
109
|
+
a.append("text").text(l).attr("x", e * r.axisLabelFactor * o + g * o).attr("y", e * r.axisLabelFactor * d + g * d).attr("text-anchor", p).attr("dominant-baseline", u).attr("class", "radarAxisLabel");
|
|
110
|
+
}
|
|
111
|
+
}, "drawAxes");
|
|
112
|
+
function A(a, t, e, r, s, i, l) {
|
|
113
|
+
const n = t.length, o = Math.min(l.width, l.height) / 2;
|
|
114
|
+
e.forEach((d, p) => {
|
|
115
|
+
if (d.entries.length !== n)
|
|
116
|
+
return;
|
|
117
|
+
const u = d.entries.map((g, m) => {
|
|
118
|
+
const v = 2 * Math.PI * m / n - Math.PI / 2, f = M(g, r, s, o), S = f * Math.cos(v), O = f * Math.sin(v);
|
|
119
|
+
return { x: S, y: O };
|
|
120
|
+
});
|
|
121
|
+
i === "circle" ? a.append("path").attr("d", L(u, l.curveTension)).attr("class", `radarCurve-${p}`) : i === "polygon" && a.append("polygon").attr("points", u.map((g) => `${g.x},${g.y}`).join(" ")).attr("class", `radarCurve-${p}`);
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
c(A, "drawCurves");
|
|
125
|
+
function M(a, t, e, r) {
|
|
126
|
+
const s = Math.min(Math.max(a, t), e);
|
|
127
|
+
return r * (s - t) / (e - t);
|
|
128
|
+
}
|
|
129
|
+
c(M, "relativeRadius");
|
|
130
|
+
function L(a, t) {
|
|
131
|
+
const e = a.length;
|
|
132
|
+
let r = `M${a[0].x},${a[0].y}`;
|
|
133
|
+
for (let s = 0; s < e; s++) {
|
|
134
|
+
const i = a[(s - 1 + e) % e], l = a[s], n = a[(s + 1) % e], o = a[(s + 2) % e], d = {
|
|
135
|
+
x: l.x + (n.x - i.x) * t,
|
|
136
|
+
y: l.y + (n.y - i.y) * t
|
|
137
|
+
}, p = {
|
|
138
|
+
x: n.x - (o.x - l.x) * t,
|
|
139
|
+
y: n.y - (o.y - l.y) * t
|
|
140
|
+
};
|
|
141
|
+
r += ` C${d.x},${d.y} ${p.x},${p.y} ${n.x},${n.y}`;
|
|
142
|
+
}
|
|
143
|
+
return `${r} Z`;
|
|
144
|
+
}
|
|
145
|
+
c(L, "closedRoundCurve");
|
|
146
|
+
function T(a, t, e, r) {
|
|
147
|
+
if (!e)
|
|
148
|
+
return;
|
|
149
|
+
const s = (r.width / 2 + r.marginRight) * 3 / 4, i = -(r.height / 2 + r.marginTop) * 3 / 4, l = 20;
|
|
150
|
+
t.forEach((n, o) => {
|
|
151
|
+
const d = a.append("g").attr("transform", `translate(${s}, ${i + o * l})`);
|
|
152
|
+
d.append("rect").attr("width", 12).attr("height", 12).attr("class", `radarLegendBox-${o}`), d.append("text").attr("x", 16).attr("y", 0).attr("class", "radarLegendText").text(n.label);
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
c(T, "drawLegend");
|
|
156
|
+
var nt = { draw: et }, ot = /* @__PURE__ */ c((a, t) => {
|
|
157
|
+
let e = "";
|
|
158
|
+
for (let r = 0; r < a.THEME_COLOR_LIMIT; r++) {
|
|
159
|
+
const s = a[`cScale${r}`];
|
|
160
|
+
e += `
|
|
161
|
+
.radarCurve-${r} {
|
|
162
|
+
color: ${s};
|
|
163
|
+
fill: ${s};
|
|
164
|
+
fill-opacity: ${t.curveOpacity};
|
|
165
|
+
stroke: ${s};
|
|
166
|
+
stroke-width: ${t.curveStrokeWidth};
|
|
167
|
+
}
|
|
168
|
+
.radarLegendBox-${r} {
|
|
169
|
+
fill: ${s};
|
|
170
|
+
fill-opacity: ${t.curveOpacity};
|
|
171
|
+
stroke: ${s};
|
|
172
|
+
}
|
|
173
|
+
`;
|
|
174
|
+
}
|
|
175
|
+
return e;
|
|
176
|
+
}, "genIndexStyles"), it = /* @__PURE__ */ c((a) => {
|
|
177
|
+
const t = W(), e = C(), r = y(t, e.themeVariables), s = y(r.radar, a);
|
|
178
|
+
return { themeVariables: r, radarOptions: s };
|
|
179
|
+
}, "buildRadarStyleOptions"), lt = /* @__PURE__ */ c(({ radar: a } = {}) => {
|
|
180
|
+
const { themeVariables: t, radarOptions: e } = it(a);
|
|
181
|
+
return `
|
|
182
|
+
.radarTitle {
|
|
183
|
+
font-size: ${t.fontSize};
|
|
184
|
+
color: ${t.titleColor};
|
|
185
|
+
dominant-baseline: hanging;
|
|
186
|
+
text-anchor: middle;
|
|
187
|
+
}
|
|
188
|
+
.radarAxisLine {
|
|
189
|
+
stroke: ${e.axisColor};
|
|
190
|
+
stroke-width: ${e.axisStrokeWidth};
|
|
191
|
+
}
|
|
192
|
+
.radarAxisLabel {
|
|
193
|
+
font-size: ${e.axisLabelFontSize}px;
|
|
194
|
+
color: ${e.axisColor};
|
|
195
|
+
}
|
|
196
|
+
.radarGraticule {
|
|
197
|
+
fill: ${e.graticuleColor};
|
|
198
|
+
fill-opacity: ${e.graticuleOpacity};
|
|
199
|
+
stroke: ${e.graticuleColor};
|
|
200
|
+
stroke-width: ${e.graticuleStrokeWidth};
|
|
201
|
+
}
|
|
202
|
+
.radarLegendText {
|
|
203
|
+
text-anchor: start;
|
|
204
|
+
font-size: ${e.legendFontSize}px;
|
|
205
|
+
dominant-baseline: hanging;
|
|
206
|
+
}
|
|
207
|
+
${ot(t, e)}
|
|
208
|
+
`;
|
|
209
|
+
}, "styles"), pt = {
|
|
210
|
+
parser: tt,
|
|
211
|
+
db: $,
|
|
212
|
+
renderer: nt,
|
|
213
|
+
styles: lt
|
|
214
|
+
};
|
|
215
|
+
export {
|
|
216
|
+
pt as diagram
|
|
217
|
+
};
|
|
@@ -7,7 +7,7 @@ import { L as yr } from "./i18n.Bchq8v1d.js";
|
|
|
7
7
|
import { M as gr } from "./modal.jdGhujoh.js";
|
|
8
8
|
import { l as ss, u as rs } from "./scroll.xtO5yojm.js";
|
|
9
9
|
import { H as mr } from "./slot.j5oheLJC.js";
|
|
10
|
-
import { w as $s } from "./watch.
|
|
10
|
+
import { w as $s } from "./watch.DJF5K-8U.js";
|
|
11
11
|
import { r as Do } from "./state.CSDxrqLd.js";
|
|
12
12
|
import { e as Eo } from "./query.BBf1UFkC.js";
|
|
13
13
|
import { e as co } from "./class-map.BiVq-cVR.js";
|
|
@@ -16,7 +16,7 @@ import { o as wr } from "./style-map.llVFPd__.js";
|
|
|
16
16
|
import { n as lo } from "./when.Dr1es41R.js";
|
|
17
17
|
import { s as be, g as ae } from "./animation-registry.HmpwNuGH.js";
|
|
18
18
|
import xr from "../components/divider.js";
|
|
19
|
-
import { C as Sr } from "./icon-button.
|
|
19
|
+
import { C as Sr } from "./icon-button.BwmMJ0bI.js";
|
|
20
20
|
import zr from "../components/popup.js";
|
|
21
21
|
const Cr = _s`.os-size-observer,.os-size-observer-listener{direction:inherit;pointer-events:none;visibility:hidden;box-sizing:border-box;overflow:hidden;scroll-behavior:auto!important}.os-size-observer,.os-size-observer-listener,.os-size-observer-listener-item,.os-size-observer-listener-item-final{writing-mode:horizontal-tb;position:absolute;top:0;left:0}.os-size-observer{z-index:-1;contain:strict;padding:inherit;border:inherit;box-sizing:inherit;flex-flow:row;margin:-133px;display:flex;inset:0;transform:scale(.1)}.os-size-observer:before{content:"";box-sizing:inherit;flex:none;width:10px;height:10px;padding:10px}.os-size-observer-appear{animation:1ms forwards os-size-observer-appear-animation}.os-size-observer-listener{box-sizing:border-box;padding:inherit;border:inherit;flex:auto;margin:-133px;position:relative;transform:scale(10)}.os-size-observer-listener.ltr{margin-left:0;margin-right:-266px}.os-size-observer-listener.rtl{margin-left:-266px;margin-right:0}.os-size-observer-listener:empty:before{content:"";width:100%;height:100%}.os-size-observer-listener:empty:before,.os-size-observer-listener>.os-size-observer-listener-item{padding:inherit;border:inherit;box-sizing:content-box;flex:auto;display:block;position:relative}.os-size-observer-listener-scroll{box-sizing:border-box;display:flex}.os-size-observer-listener-item{direction:ltr;flex:none;bottom:0;right:0;overflow:hidden}.os-size-observer-listener-item-final{transition:none}@keyframes os-size-observer-appear-animation{0%{cursor:auto}to{cursor:none}}.os-trinsic-observer{box-sizing:border-box;z-index:-1;contain:strict;border:none;flex:none;max-width:0;height:0;max-height:1px;margin:0;padding:0;position:relative;top:calc(100% + 1px);overflow:hidden}.os-trinsic-observer:not(:empty){height:calc(100% + 1px);top:-1px}.os-trinsic-observer:not(:empty)>.os-size-observer{width:1000%;min-width:1px;height:1000%;min-height:1px}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport]),[data-overlayscrollbars-viewport~=scrollbarHidden]{scrollbar-width:none!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar,[data-overlayscrollbars-initialize]:not([data-overlayscrollbars-viewport])::-webkit-scrollbar-corner,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner{-webkit-appearance:none!important;appearance:none!important;width:0!important;height:0!important;display:none!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body){overflow:auto}html[data-overlayscrollbars-body]{overflow:hidden}html[data-overlayscrollbars-body],html[data-overlayscrollbars-body]>body{width:100%;height:100%;margin:0}html[data-overlayscrollbars-body]>body{margin:0;overflow:visible}[data-overlayscrollbars]{position:relative}[data-overlayscrollbars~=host],[data-overlayscrollbars-padding]{display:flex;scroll-behavior:auto!important;flex-flow:row!important;align-items:stretch!important}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){box-sizing:inherit;z-index:0;border:none;flex:auto;width:100%;min-width:0;height:auto;margin:0;padding:0;position:relative}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]){--os-vaw:0;--os-vah:0;outline:none}[data-overlayscrollbars-viewport]:not([data-overlayscrollbars]):focus{outline:none}[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]:before{content:"";pointer-events:none;z-index:-1;min-width:1px;min-height:1px;width:var(--os-vaw);height:var(--os-vah);position:absolute}[data-overlayscrollbars~=host],[data-overlayscrollbars-padding]{overflow:hidden!important}[data-overlayscrollbars~=host][data-overlayscrollbars~=noClipping],[data-overlayscrollbars-padding~=noClipping]{overflow:visible!important}[data-overlayscrollbars-viewport]{--os-viewport-overflow-x:hidden;--os-viewport-overflow-y:hidden;overflow-x:var(--os-viewport-overflow-x);overflow-y:var(--os-viewport-overflow-y)}[data-overlayscrollbars-viewport~=overflowXVisible]{--os-viewport-overflow-x:visible}[data-overlayscrollbars-viewport~=overflowXHidden]{--os-viewport-overflow-x:hidden}[data-overlayscrollbars-viewport~=overflowXScroll]{--os-viewport-overflow-x:scroll}[data-overlayscrollbars-viewport~=overflowYVisible]{--os-viewport-overflow-y:visible}[data-overlayscrollbars-viewport~=overflowYHidden]{--os-viewport-overflow-y:hidden}[data-overlayscrollbars-viewport~=overflowYScroll]{--os-viewport-overflow-y:scroll}[data-overlayscrollbars-viewport~=overflowImportant]{overflow-x:var(--os-viewport-overflow-x)!important;overflow-y:var(--os-viewport-overflow-y)!important}[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId){font-size:0!important;line-height:0!important}[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId):before,[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId):after,[data-overlayscrollbars-viewport~=noContent]:not(#osFakeId)>*{clip:rect(0, 0, 0, 0)!important;white-space:nowrap!important;border-width:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;display:none!important;position:absolute!important;overflow:hidden!important}[data-overlayscrollbars-viewport~=measuring],[data-overlayscrollbars-viewport~=scrolling]{scroll-behavior:auto!important;scroll-snap-type:none!important}[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowXVisible]{overflow-x:hidden!important}[data-overlayscrollbars-viewport~=measuring][data-overlayscrollbars-viewport~=overflowYVisible]{overflow-y:hidden!important}[data-overlayscrollbars-content]{box-sizing:inherit}[data-overlayscrollbars-contents]:not(#osFakeId):not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]){display:contents}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]{grid-template:1fr/1fr;display:grid}[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding],[data-overlayscrollbars-grid]>[data-overlayscrollbars-viewport],[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding]>[data-overlayscrollbars-viewport]{width:auto!important;height:auto!important}@property --os-scroll-percent{syntax:"<number>";inherits:true;initial-value:0}@property --os-viewport-percent{syntax:"<number>";inherits:true;initial-value:0}.os-scrollbar{--os-viewport-percent:0;--os-scroll-percent:0;--os-scroll-direction:0;--os-scroll-percent-directional:calc(var(--os-scroll-percent) - (var(--os-scroll-percent) + (1 - var(--os-scroll-percent)) * -1) * var(--os-scroll-direction));contain:size layout;contain:size layout style;pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;position:absolute}body>.os-scrollbar{z-index:99999;position:fixed}.os-scrollbar-transitionless{transition:none!important}.os-scrollbar-track{position:relative;border:none!important;padding:0!important}.os-scrollbar-handle{position:absolute}.os-scrollbar-track,.os-scrollbar-handle{pointer-events:none;width:100%;height:100%}.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle{pointer-events:auto;touch-action:none}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal{right:0}.os-scrollbar-rtl.os-scrollbar-vertical{left:0;right:auto}.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden{opacity:0;visibility:hidden}.os-scrollbar-interaction.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-unusable,.os-scrollbar-unusable *,.os-scrollbar-wheel,.os-scrollbar-wheel *{pointer-events:none!important}.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important;transition:none!important}.os-scrollbar-horizontal .os-scrollbar-handle{bottom:0;left:calc(var(--os-scroll-percent-directional) * 100%);transform:translateX(calc(var(--os-scroll-percent-directional) * -100%));width:calc(var(--os-viewport-percent) * 100%)}.os-scrollbar-vertical .os-scrollbar-handle{right:0;top:calc(var(--os-scroll-percent-directional) * 100%);transform:translateY(calc(var(--os-scroll-percent-directional) * -100%));height:calc(var(--os-viewport-percent) * 100%)}@supports (container-type:size){.os-scrollbar-track{container-type:size}.os-scrollbar-horizontal .os-scrollbar-handle{transform:translateX(calc(var(--os-scroll-percent-directional) * 100cqw + var(--os-scroll-percent-directional) * -100%));left:auto}.os-scrollbar-vertical .os-scrollbar-handle{transform:translateY(calc(var(--os-scroll-percent-directional) * 100cqh + var(--os-scroll-percent-directional) * -100%));top:auto}.os-scrollbar-rtl.os-scrollbar-horizontal .os-scrollbar-handle{left:0;right:auto}}.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle{left:0;right:auto}.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl{left:0;right:0}.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl{top:0;bottom:0}@media print{.os-scrollbar{display:none}}.os-scrollbar{--os-size:10px;--os-padding-perpendicular:4px;--os-padding-axis:2px;--os-track-border-radius:10px;--os-track-bg:none;--os-track-bg-hover:none;--os-track-bg-active:none;--os-track-border:none;--os-track-border-hover:none;--os-track-border-active:none;--os-handle-border-radius:13px;--os-handle-bg:var(--cx-color-neutral-400);--os-handle-bg-hover:var(--cx-color-neutral-500);--os-handle-bg-active:var(--cx-color-neutral-500);--os-handle-border:4px solid #0000;--os-handle-border-hover:4px solid #0000;--os-handle-border-active:4px solid #0000;--os-handle-min-size:50px;--os-handle-max-size:none;--os-handle-perpendicular-size:100%;--os-handle-perpendicular-size-hover:100%;--os-handle-perpendicular-size-active:100%;--os-handle-interactive-area-offset:4px}.os-scrollbar-track{border:var(--os-track-border);border-radius:var(--os-track-border-radius);background:var(--os-track-bg);transition:opacity .15s,background-color .15s,border-color .15s}.os-scrollbar-track:hover{border:var(--os-track-border-hover);background:var(--os-track-bg-hover)}.os-scrollbar-track:active{border:var(--os-track-border-active);background:var(--os-track-bg-active)}.os-scrollbar-handle{border:var(--os-handle-border);border-radius:var(--os-handle-border-radius);background:var(--os-handle-bg)}.os-scrollbar-handle:hover{background:var(--os-handle-bg-hover);border:var(--os-handle-border-hover)}.os-scrollbar-handle:active{border:var(--os-handle-border-active);background:var(--os-handle-bg-active)}.os-scrollbar-track:before,.os-scrollbar-handle:before{content:"";display:block;position:absolute;inset:0}.os-scrollbar-horizontal{padding:var(--os-padding-perpendicular) var(--os-padding-axis);right:var(--os-size);height:var(--os-size)}.os-scrollbar-horizontal.os-scrollbar-rtl{left:var(--os-size);right:0}.os-scrollbar-horizontal .os-scrollbar-track:before{top:calc(var(--os-padding-perpendicular) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal .os-scrollbar-handle{min-width:var(--os-handle-min-size);max-width:var(--os-handle-max-size);height:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.os-scrollbar-horizontal .os-scrollbar-handle:before{top:calc(( var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset) ) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal:hover .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-horizontal:active .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-active)}.os-scrollbar-vertical{padding:var(--os-padding-axis) var(--os-padding-perpendicular);bottom:var(--os-size);width:var(--os-size)}.os-scrollbar-vertical .os-scrollbar-track:before{left:calc(var(--os-padding-perpendicular) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical .os-scrollbar-handle{min-height:var(--os-handle-min-size);max-height:var(--os-handle-max-size);width:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s}.os-scrollbar-vertical .os-scrollbar-handle:before{left:calc(( var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset) ) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:calc(( var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset) ) * -1);left:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical:hover .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-vertical:active .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-active)}[data-overlayscrollbars-viewport~=measuring]>.os-scrollbar,.os-theme-none.os-scrollbar{display:none!important}.os-theme-dark,.os-theme-light{box-sizing:border-box;--os-size:10px;--os-padding-perpendicular:4px;--os-padding-axis:2px;--os-track-border-radius:10px;--os-handle-interactive-area-offset:4px;--os-handle-border-radius:10px}`;
|
|
22
22
|
var jt = /* @__PURE__ */ ((t) => (t.Both = "both", t.Footer = "footer", t.Header = "header", t.None = "none", t))(jt || {});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { r as resizableComponentStyles, R as ResizableElement, a as ResizeDirection, b as HeightMode } from "./resizable-component.styles.CAfXABBc.js";
|
|
2
|
-
import { C as CxButton } from "./button.
|
|
2
|
+
import { C as CxButton } from "./button.DGyqdBou.js";
|
|
3
3
|
import CxDrawer from "../components/drawer.js";
|
|
4
4
|
import CxDropdown from "../components/dropdown.js";
|
|
5
|
-
import { C as CxIcon } from "./icon.
|
|
6
|
-
import { C as CxIconButton } from "./icon-button.
|
|
7
|
-
import { C as CxInput } from "./input.
|
|
5
|
+
import { C as CxIcon } from "./icon.D5iM9wXS.js";
|
|
6
|
+
import { C as CxIconButton } from "./icon-button.BwmMJ0bI.js";
|
|
7
|
+
import { C as CxInput } from "./input.DOorVTYZ.js";
|
|
8
8
|
import CxMenu from "../components/menu.js";
|
|
9
9
|
import CxMenuItem from "../components/menu-item.js";
|
|
10
10
|
import CxPopup from "../components/popup.js";
|
|
@@ -21,9 +21,9 @@ import { i, x, E } from "./lit-element.jLBm65_O.js";
|
|
|
21
21
|
import "./form.CP9KLGjF.js";
|
|
22
22
|
import { L as LocalizeController } from "./i18n.Bchq8v1d.js";
|
|
23
23
|
import "./purify.es.BIuh5IAZ.js";
|
|
24
|
-
import { w as watch } from "./watch.
|
|
24
|
+
import { w as watch } from "./watch.DJF5K-8U.js";
|
|
25
25
|
import "./date-picker.BGHn6qg8.js";
|
|
26
|
-
import { f as fetchCortexApi } from "./
|
|
26
|
+
import { f as fetchCortexApi } from "./transformation.8uLv6uwG.js";
|
|
27
27
|
import "./unsafe-html.Dff7-rCx.js";
|
|
28
28
|
import { r as reactExports, a as React, j as jsxRuntimeExports, w, R as ReactDOM } from "./jsx-runtime.CTpPVMxj.js";
|
|
29
29
|
import { a as getDefaultExportFromCjs, c as commonjsGlobal } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
@@ -34,7 +34,7 @@ import { a as ObjectFit } from "./index.Cpamj0jB.js";
|
|
|
34
34
|
import { r as r$1 } from "./state.CSDxrqLd.js";
|
|
35
35
|
import { e } from "./class-map.BiVq-cVR.js";
|
|
36
36
|
import { n as n$1 } from "./when.Dr1es41R.js";
|
|
37
|
-
import { C as CxImage } from "./image.
|
|
37
|
+
import { C as CxImage } from "./image.BgODrAzQ.js";
|
|
38
38
|
var BookReaderMode$1 = /* @__PURE__ */ ((l) => (l.Image = "Image", l.Pdf = "Pdf", l))(BookReaderMode$1 || {}), BookReaderViewMode = /* @__PURE__ */ ((l) => (l.FourPage = "FourPage", l.OnePage = "OnePage", l.TwoPage = "TwoPage", l))(BookReaderViewMode || {});
|
|
39
39
|
function commonjsRequire(l) {
|
|
40
40
|
throw new Error('Could not dynamically require "' + l + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
@@ -3,7 +3,7 @@ import { c as z } from "./component.styles.CRO4Odto.js";
|
|
|
3
3
|
import { O as C } from "./index.Cpamj0jB.js";
|
|
4
4
|
import { c as F } from "./custom-element.L4WJXn1j.js";
|
|
5
5
|
import { L as S } from "./i18n.Bchq8v1d.js";
|
|
6
|
-
import { w as f } from "./watch.
|
|
6
|
+
import { w as f } from "./watch.DJF5K-8U.js";
|
|
7
7
|
import { i as O, x as y } from "./lit-element.jLBm65_O.js";
|
|
8
8
|
import { r as j } from "./state.CSDxrqLd.js";
|
|
9
9
|
import { e as K } from "./query.BBf1UFkC.js";
|