@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,77 @@
|
|
|
1
|
+
import { r as I } from "./accessors.BHk36ecy.js";
|
|
2
|
+
import { c as w, a as R } from "./constant.BQ4UJ-kW.js";
|
|
3
|
+
function T(i) {
|
|
4
|
+
i.x0 = Math.round(i.x0), i.y0 = Math.round(i.y0), i.x1 = Math.round(i.x1), i.y1 = Math.round(i.y1);
|
|
5
|
+
}
|
|
6
|
+
function V(i, h, r, u, s) {
|
|
7
|
+
for (var g = i.children, e, f = -1, m = g.length, p = i.value && (u - h) / i.value; ++f < m; )
|
|
8
|
+
e = g[f], e.y0 = r, e.y1 = s, e.x0 = h, e.x1 = h += e.value * p;
|
|
9
|
+
}
|
|
10
|
+
function b(i, h, r, u, s) {
|
|
11
|
+
for (var g = i.children, e, f = -1, m = g.length, p = i.value && (s - r) / i.value; ++f < m; )
|
|
12
|
+
e = g[f], e.x0 = h, e.x1 = u, e.y0 = r, e.y1 = r += e.value * p;
|
|
13
|
+
}
|
|
14
|
+
var L = (1 + Math.sqrt(5)) / 2;
|
|
15
|
+
function N(i, h, r, u, s, g) {
|
|
16
|
+
for (var e = [], f = h.children, m, p, t = 0, y = 0, n = f.length, l, c, d = h.value, a, o, M, q, B, k, v; t < n; ) {
|
|
17
|
+
l = s - r, c = g - u;
|
|
18
|
+
do
|
|
19
|
+
a = f[y++].value;
|
|
20
|
+
while (!a && y < n);
|
|
21
|
+
for (o = M = a, k = Math.max(c / l, l / c) / (d * i), v = a * a * k, B = Math.max(M / v, v / o); y < n; ++y) {
|
|
22
|
+
if (a += p = f[y].value, p < o && (o = p), p > M && (M = p), v = a * a * k, q = Math.max(M / v, v / o), q > B) {
|
|
23
|
+
a -= p;
|
|
24
|
+
break;
|
|
25
|
+
}
|
|
26
|
+
B = q;
|
|
27
|
+
}
|
|
28
|
+
e.push(m = { value: a, dice: l < c, children: f.slice(t, y) }), m.dice ? V(m, r, u, s, d ? u += c * a / d : g) : b(m, r, u, d ? r += l * a / d : s, g), d -= a, t = y;
|
|
29
|
+
}
|
|
30
|
+
return e;
|
|
31
|
+
}
|
|
32
|
+
const O = function i(h) {
|
|
33
|
+
function r(u, s, g, e, f) {
|
|
34
|
+
N(h, u, s, g, e, f);
|
|
35
|
+
}
|
|
36
|
+
return r.ratio = function(u) {
|
|
37
|
+
return i((u = +u) > 1 ? u : 1);
|
|
38
|
+
}, r;
|
|
39
|
+
}(L);
|
|
40
|
+
function D() {
|
|
41
|
+
var i = O, h = !1, r = 1, u = 1, s = [0], g = w, e = w, f = w, m = w, p = w;
|
|
42
|
+
function t(n) {
|
|
43
|
+
return n.x0 = n.y0 = 0, n.x1 = r, n.y1 = u, n.eachBefore(y), s = [0], h && n.eachBefore(T), n;
|
|
44
|
+
}
|
|
45
|
+
function y(n) {
|
|
46
|
+
var l = s[n.depth], c = n.x0 + l, d = n.y0 + l, a = n.x1 - l, o = n.y1 - l;
|
|
47
|
+
a < c && (c = a = (c + a) / 2), o < d && (d = o = (d + o) / 2), n.x0 = c, n.y0 = d, n.x1 = a, n.y1 = o, n.children && (l = s[n.depth + 1] = g(n) / 2, c += p(n) - l, d += e(n) - l, a -= f(n) - l, o -= m(n) - l, a < c && (c = a = (c + a) / 2), o < d && (d = o = (d + o) / 2), i(n, c, d, a, o));
|
|
48
|
+
}
|
|
49
|
+
return t.round = function(n) {
|
|
50
|
+
return arguments.length ? (h = !!n, t) : h;
|
|
51
|
+
}, t.size = function(n) {
|
|
52
|
+
return arguments.length ? (r = +n[0], u = +n[1], t) : [r, u];
|
|
53
|
+
}, t.tile = function(n) {
|
|
54
|
+
return arguments.length ? (i = I(n), t) : i;
|
|
55
|
+
}, t.padding = function(n) {
|
|
56
|
+
return arguments.length ? t.paddingInner(n).paddingOuter(n) : t.paddingInner();
|
|
57
|
+
}, t.paddingInner = function(n) {
|
|
58
|
+
return arguments.length ? (g = typeof n == "function" ? n : R(+n), t) : g;
|
|
59
|
+
}, t.paddingOuter = function(n) {
|
|
60
|
+
return arguments.length ? t.paddingTop(n).paddingRight(n).paddingBottom(n).paddingLeft(n) : t.paddingTop();
|
|
61
|
+
}, t.paddingTop = function(n) {
|
|
62
|
+
return arguments.length ? (e = typeof n == "function" ? n : R(+n), t) : e;
|
|
63
|
+
}, t.paddingRight = function(n) {
|
|
64
|
+
return arguments.length ? (f = typeof n == "function" ? n : R(+n), t) : f;
|
|
65
|
+
}, t.paddingBottom = function(n) {
|
|
66
|
+
return arguments.length ? (m = typeof n == "function" ? n : R(+n), t) : m;
|
|
67
|
+
}, t.paddingLeft = function(n) {
|
|
68
|
+
return arguments.length ? (p = typeof n == "function" ? n : R(+n), t) : p;
|
|
69
|
+
}, t;
|
|
70
|
+
}
|
|
71
|
+
export {
|
|
72
|
+
V as a,
|
|
73
|
+
b,
|
|
74
|
+
T as r,
|
|
75
|
+
O as s,
|
|
76
|
+
D as t
|
|
77
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { _ as e, l as s, E as o, d as i } from "./mermaid.core.Dspbw7Ig.js";
|
|
2
|
+
import { p as g } from "./cynefin-VYW2F7L2.c7H5z9nQ.js";
|
|
3
|
+
var d = {
|
|
4
|
+
parse: /* @__PURE__ */ e(async (r) => {
|
|
5
|
+
const a = await g("info", r);
|
|
6
|
+
s.debug(a);
|
|
7
|
+
}, "parse")
|
|
8
|
+
}, p = {
|
|
9
|
+
version: "11.16.0"
|
|
10
|
+
}, v = /* @__PURE__ */ e(() => p.version, "getVersion"), m = {
|
|
11
|
+
getVersion: v
|
|
12
|
+
}, c = /* @__PURE__ */ e((r, a, n) => {
|
|
13
|
+
s.debug(`rendering info diagram
|
|
14
|
+
` + r);
|
|
15
|
+
const t = o(a);
|
|
16
|
+
i(t, 100, 400, !0), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${n}`);
|
|
17
|
+
}, "draw"), l = { draw: c }, _ = {
|
|
18
|
+
parser: d,
|
|
19
|
+
db: m,
|
|
20
|
+
renderer: l
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
_ as diagram
|
|
24
|
+
};
|
|
@@ -6,7 +6,7 @@ import { d as ht } from "./default-value.COZopaet.js";
|
|
|
6
6
|
import { F as pt } from "./form.CP9KLGjF.js";
|
|
7
7
|
import { L as ct } from "./i18n.Bchq8v1d.js";
|
|
8
8
|
import { H as dt } from "./slot.j5oheLJC.js";
|
|
9
|
-
import { w as V } from "./watch.
|
|
9
|
+
import { w as V } from "./watch.DJF5K-8U.js";
|
|
10
10
|
import { i as ft, x as E } from "./lit-element.jLBm65_O.js";
|
|
11
11
|
import { r as j } from "./state.CSDxrqLd.js";
|
|
12
12
|
import { e as O } from "./query.BBf1UFkC.js";
|
|
@@ -14,7 +14,7 @@ import { e as I } from "./class-map.BiVq-cVR.js";
|
|
|
14
14
|
import { o as _ } from "./if-defined.BRoBj_Rp.js";
|
|
15
15
|
import { l as mt } from "./live.DCegntDo.js";
|
|
16
16
|
import { n as Y } from "./when.Dr1es41R.js";
|
|
17
|
-
import { C as gt } from "./icon.
|
|
17
|
+
import { C as gt } from "./icon.D5iM9wXS.js";
|
|
18
18
|
function F(a) {
|
|
19
19
|
return typeof a == "string" || a instanceof String;
|
|
20
20
|
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { a as b, f as y, n as d, o as h, i as p } from "./watch.DJF5K-8U.js";
|
|
2
|
+
import { S as l, i as v } from "./isObjectLike.z36Fu426.js";
|
|
3
|
+
import { i as m } from "./_baseIteratee.sC2wLi2m.js";
|
|
4
|
+
var s = l ? l.isConcatSpreadable : void 0;
|
|
5
|
+
function S(e) {
|
|
6
|
+
return b(e) || y(e) || !!(s && e && e[s]);
|
|
7
|
+
}
|
|
8
|
+
function F(e, n, r, a, t) {
|
|
9
|
+
var o = -1, u = e.length;
|
|
10
|
+
for (r || (r = S), t || (t = []); ++o < u; ) {
|
|
11
|
+
var i = e[o];
|
|
12
|
+
r(i) ? d(t, i) : a || (t[t.length] = i);
|
|
13
|
+
}
|
|
14
|
+
return t;
|
|
15
|
+
}
|
|
16
|
+
function g(e, n, r) {
|
|
17
|
+
switch (r.length) {
|
|
18
|
+
case 0:
|
|
19
|
+
return e.call(n);
|
|
20
|
+
case 1:
|
|
21
|
+
return e.call(n, r[0]);
|
|
22
|
+
case 2:
|
|
23
|
+
return e.call(n, r[0], r[1]);
|
|
24
|
+
case 3:
|
|
25
|
+
return e.call(n, r[0], r[1], r[2]);
|
|
26
|
+
}
|
|
27
|
+
return e.apply(n, r);
|
|
28
|
+
}
|
|
29
|
+
var c = Math.max;
|
|
30
|
+
function w(e, n, r) {
|
|
31
|
+
return n = c(n === void 0 ? e.length - 1 : n, 0), function() {
|
|
32
|
+
for (var a = arguments, t = -1, o = c(a.length - n, 0), u = Array(o); ++t < o; )
|
|
33
|
+
u[t] = a[n + t];
|
|
34
|
+
t = -1;
|
|
35
|
+
for (var i = Array(n + 1); ++t < n; )
|
|
36
|
+
i[t] = a[t];
|
|
37
|
+
return i[n] = r(u), g(e, this, i);
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function O(e) {
|
|
41
|
+
return function() {
|
|
42
|
+
return e;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
var f = function() {
|
|
46
|
+
try {
|
|
47
|
+
var e = h(Object, "defineProperty");
|
|
48
|
+
return e({}, "", {}), e;
|
|
49
|
+
} catch {
|
|
50
|
+
}
|
|
51
|
+
}(), x = f ? function(e, n) {
|
|
52
|
+
return f(e, "toString", {
|
|
53
|
+
configurable: !0,
|
|
54
|
+
enumerable: !1,
|
|
55
|
+
value: O(n),
|
|
56
|
+
writable: !0
|
|
57
|
+
});
|
|
58
|
+
} : m, T = 800, A = 16, N = Date.now;
|
|
59
|
+
function P(e) {
|
|
60
|
+
var n = 0, r = 0;
|
|
61
|
+
return function() {
|
|
62
|
+
var a = N(), t = A - (a - r);
|
|
63
|
+
if (r = a, t > 0) {
|
|
64
|
+
if (++n >= T)
|
|
65
|
+
return arguments[0];
|
|
66
|
+
} else
|
|
67
|
+
n = 0;
|
|
68
|
+
return e.apply(void 0, arguments);
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
var j = P(x);
|
|
72
|
+
function H(e, n) {
|
|
73
|
+
return j(w(e, n, m), e + "");
|
|
74
|
+
}
|
|
75
|
+
function M(e) {
|
|
76
|
+
return v(e) && p(e);
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
H as a,
|
|
80
|
+
F as b,
|
|
81
|
+
O as c,
|
|
82
|
+
f as d,
|
|
83
|
+
M as i,
|
|
84
|
+
w as o,
|
|
85
|
+
j as s
|
|
86
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { i as f, a as o, d as p, e as g, f as y, g as h, h as a, j as b } from "./watch.DJF5K-8U.js";
|
|
2
|
+
function T(t, e, r, n) {
|
|
3
|
+
var s = -1, i = t == null ? 0 : t.length;
|
|
4
|
+
for (n && i && (r = t[++s]); ++s < i; )
|
|
5
|
+
r = e(r, t[s], s, t);
|
|
6
|
+
return r;
|
|
7
|
+
}
|
|
8
|
+
var j = "[object Map]", c = "[object Set]", d = Object.prototype, A = d.hasOwnProperty;
|
|
9
|
+
function w(t) {
|
|
10
|
+
if (t == null)
|
|
11
|
+
return !0;
|
|
12
|
+
if (f(t) && (o(t) || typeof t == "string" || typeof t.splice == "function" || p(t) || g(t) || y(t)))
|
|
13
|
+
return !t.length;
|
|
14
|
+
var e = h(t);
|
|
15
|
+
if (e == j || e == c)
|
|
16
|
+
return !t.size;
|
|
17
|
+
if (a(t))
|
|
18
|
+
return !b(t).length;
|
|
19
|
+
for (var r in t)
|
|
20
|
+
if (A.call(t, r))
|
|
21
|
+
return !1;
|
|
22
|
+
return !0;
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
T as a,
|
|
26
|
+
w as i
|
|
27
|
+
};
|