ranui 0.2.0-alpha.7 → 0.2.1-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/abnfDiagram-VRR7QNED-CH_pIv_l.cjs +1 -0
- package/dist/abnfDiagram-VRR7QNED-CTsqwzwi.js +95 -0
- package/dist/arc-D25LhgTs.cjs +1 -0
- package/dist/arc-DRPGof21.js +82 -0
- package/dist/architecture-TIHT7OUA-BbBd15_y.cjs +1 -0
- package/dist/architecture-TIHT7OUA-pbFO1xSx.js +5 -0
- package/dist/architectureDiagram-ZJ3FMSHR-8mjyXr-w.js +4279 -0
- package/dist/architectureDiagram-ZJ3FMSHR-D_jWFFZx.cjs +36 -0
- package/dist/array-By5736M5.js +7 -0
- package/dist/array-C3cbN3GY.cjs +1 -0
- package/dist/arrow-down-Bi5kqUrX.js +12 -0
- package/dist/blockDiagram-677ZJIJ3-3F79MOSt.js +3321 -0
- package/dist/blockDiagram-677ZJIJ3-Cx35khWe.cjs +132 -0
- package/dist/builder.d.ts +4 -4
- package/dist/builder.js +39 -30
- package/dist/builtin-BkM0LLof.js +416 -0
- package/dist/button-D0zcnKnG.js +117 -0
- package/dist/button.js +1 -1
- package/dist/c4Diagram-LMCZKHZV-Cxn_gqu_.js +3064 -0
- package/dist/c4Diagram-LMCZKHZV-TRNb3Gvl.cjs +10 -0
- package/dist/{card-BVvXX6KM.js → card-CygMndQS.js} +2 -2
- package/dist/card.js +1 -1
- package/dist/channel-C9WSNwcS.cjs +1 -0
- package/dist/channel-k5-UxdcV.js +5 -0
- package/dist/{checkbox-BtoX9X2Z.js → checkbox-D5om9aJO.js} +10 -10
- package/dist/checkbox.js +1 -1
- package/dist/chunk-2Q5K7J3B-CTMy5FII.cjs +1 -0
- package/dist/chunk-2Q5K7J3B-DlFVJRAn.js +15 -0
- package/dist/chunk-32BRIVSS-BXVdG_nV.cjs +1 -0
- package/dist/chunk-32BRIVSS-jAuAwMVV.js +68 -0
- package/dist/chunk-52WLFC77-BChUrU24.cjs +10 -0
- package/dist/chunk-52WLFC77-wpL7en7e.js +630 -0
- package/dist/chunk-5VM5RSS4-Cni2Ogq2.js +19 -0
- package/dist/chunk-5VM5RSS4-DudUFQ_Z.cjs +15 -0
- package/dist/chunk-7BUUIJ7U-9hiBbc7O.js +87 -0
- package/dist/chunk-7BUUIJ7U-DMv_UkjI.cjs +1 -0
- package/dist/chunk-C7G6YPKG-CA-DNpvI.js +71 -0
- package/dist/chunk-C7G6YPKG-CKEeW9TM.cjs +1 -0
- package/dist/chunk-EX3LRPZG-BCmf0iDq.js +2137 -0
- package/dist/chunk-EX3LRPZG-DbfbNdXo.cjs +231 -0
- package/dist/chunk-FWX5IMBZ-D11-gbhc.cjs +1 -0
- package/dist/chunk-FWX5IMBZ-DZ5VYvm5.js +60 -0
- package/dist/chunk-HOUHSVGY-BGB3dOvI.cjs +1 -0
- package/dist/chunk-HOUHSVGY-DRQcQeMT.js +268 -0
- package/dist/chunk-ICXQ74PX-BbT9JaEW.cjs +2 -0
- package/dist/chunk-ICXQ74PX-DR8rL-xF.js +1377 -0
- package/dist/chunk-JWPE2WC7-CGEmUMMZ.js +8 -0
- package/dist/chunk-JWPE2WC7-D8EnWK1B.cjs +1 -0
- package/dist/chunk-KEIR6QF5-B2Op7cFH.js +22155 -0
- package/dist/chunk-KEIR6QF5-C4fcHpY0.cjs +161 -0
- package/dist/chunk-MOJQB5TN-BC46HDyu.js +516 -0
- package/dist/chunk-MOJQB5TN-oOeq982_.cjs +88 -0
- package/dist/chunk-OGEWGWER-BV51ll2w.js +33 -0
- package/dist/chunk-OGEWGWER-DX8sW1dT.cjs +1 -0
- package/dist/chunk-PUDLZKDR-48YaqVoF.cjs +156 -0
- package/dist/chunk-PUDLZKDR-NdMR0Ft5.js +4282 -0
- package/dist/chunk-Q4XR5HBZ-3BHjjc9u.js +1709 -0
- package/dist/chunk-Q4XR5HBZ-aBnPq509.cjs +70 -0
- package/dist/chunk-RYQCIY6F-BER2T9t0.js +246 -0
- package/dist/chunk-RYQCIY6F-DVRzSnsI.cjs +1 -0
- package/dist/chunk-V7JOEXUC-Cr_hr02u.js +3467 -0
- package/dist/chunk-V7JOEXUC-DHizzTla.cjs +206 -0
- package/dist/chunk-VAUOI2AC-DfQf5L2_.cjs +1 -0
- package/dist/chunk-VAUOI2AC-izt0o4id.js +11 -0
- package/dist/chunk-VR4S4FIN-CJi5okl4.js +26 -0
- package/dist/chunk-VR4S4FIN-KiwnPF31.cjs +1 -0
- package/dist/chunk-WYO6CB5R-DDHkKowO.js +4535 -0
- package/dist/chunk-WYO6CB5R-u4mJNOcO.cjs +127 -0
- package/dist/chunk-XXDRQBXY-BB1i_53q.js +9 -0
- package/dist/chunk-XXDRQBXY-C8VGLZmt.cjs +1 -0
- package/dist/chunk-Y2CYZVJY-0JxdZxki.js +13 -0
- package/dist/chunk-Y2CYZVJY-DPaYLFFP.cjs +1 -0
- package/dist/chunk-ZGVPDNZ5-6uMbTJXy.js +3841 -0
- package/dist/chunk-ZGVPDNZ5-Cw5_HJba.cjs +62 -0
- package/dist/chunk-ZIRB5QZD-C7OH2FI2.js +1280 -0
- package/dist/chunk-ZIRB5QZD-aLu-4ITN.cjs +32 -0
- package/dist/classDiagram-OUVF2IWQ-D6rqYIh0.cjs +1 -0
- package/dist/classDiagram-OUVF2IWQ-Df0ghim9.js +30 -0
- package/dist/classDiagram-v2-EOCWNBFH-D6rqYIh0.cjs +1 -0
- package/dist/classDiagram-v2-EOCWNBFH-Df0ghim9.js +30 -0
- package/dist/{colorpicker-Dukms7ET.js → colorpicker-qWnaTlYX.js} +9 -10
- package/dist/colorpicker.js +1 -1
- package/dist/components/colorpicker/index.d.ts +3 -3
- package/dist/components/glass/index.d.ts +52 -0
- package/dist/components/icon/builtin.d.ts +9 -0
- package/dist/components/icon/core-icons.d.ts +13 -0
- package/dist/components/icon/index.d.ts +8 -0
- package/dist/components/mermaid/index.d.ts +52 -0
- package/dist/components/modal/index.d.ts +9 -0
- package/dist/components/route/index.d.ts +10 -4
- package/dist/components/router/index.d.ts +3 -0
- package/dist/content-Rry-U6ir.js +39 -0
- package/dist/content.js +5 -0
- package/dist/cose-bilkent-JH36ORCC-BUxFTdey.cjs +1 -0
- package/dist/cose-bilkent-JH36ORCC-DTwvJlGw.js +2353 -0
- package/dist/cynefin-VYW2F7L2-6c1GOGXW.cjs +1 -0
- package/dist/cynefin-VYW2F7L2-ALQKF7N6.js +5 -0
- package/dist/cynefinDiagram-TSTJHNR4-Bjt4QTVh.js +355 -0
- package/dist/cynefinDiagram-TSTJHNR4-ISDORSxO.cjs +62 -0
- package/dist/cytoscape.esm-CFq1_DTa.js +18906 -0
- package/dist/cytoscape.esm-pygMw4dR.cjs +321 -0
- package/dist/dagre-D1-W1tt6.cjs +1 -0
- package/dist/dagre-D8GLTwuf.js +1578 -0
- package/dist/dagre-VKFMJZFB-DXI69qAN.cjs +4 -0
- package/dist/dagre-VKFMJZFB-Dfku86Az.js +341 -0
- package/dist/defaultLocale-0M_kMcEH.js +184 -0
- package/dist/defaultLocale-DSqtvhxg.cjs +1 -0
- package/dist/diagram-FQU43EPY-BAiRt5eL.cjs +3 -0
- package/dist/diagram-FQU43EPY-BvQ5jmVn.js +452 -0
- package/dist/diagram-G47NLZAW-DGnmEa8u.cjs +24 -0
- package/dist/diagram-G47NLZAW-DT2BBA0T.js +498 -0
- package/dist/diagram-NH7WQ7WH-DxgkStA3.cjs +24 -0
- package/dist/diagram-NH7WQ7WH-W7jg4Vh8.js +135 -0
- package/dist/diagram-OA4YK3LP-DkvFII73.cjs +30 -0
- package/dist/diagram-OA4YK3LP-jU--aqQl.js +317 -0
- package/dist/diagram-WEI45ONY-C_Qhf4ny.js +215 -0
- package/dist/diagram-WEI45ONY-XvzRFmmY.cjs +41 -0
- package/dist/dist-C0Fwsvsq.js +70 -0
- package/dist/dist-C20XxSsP.cjs +1 -0
- package/dist/{dropdown-BYS1Trdu.js → dropdown-DzdAR1nI.js} +4 -4
- package/dist/dropdown.js +1 -1
- package/dist/ebnfDiagram-CCIWWBDH-Cu8bAlhC.cjs +1 -0
- package/dist/ebnfDiagram-CCIWWBDH-Gnr20Oc1.js +112 -0
- package/dist/erDiagram-Q63AITRT-CxLSa9Yv.cjs +85 -0
- package/dist/erDiagram-Q63AITRT-D0Hh9b-W.js +1822 -0
- package/dist/eventmodeling-45OFAUF4-C6VXxUn1.cjs +1 -0
- package/dist/eventmodeling-45OFAUF4-DMpGs2yI.js +5 -0
- package/dist/factory-BkvRcCOx.js +482 -0
- package/dist/flowDiagram-23GEKE2U-B6gASEYG.cjs +1 -0
- package/dist/flowDiagram-23GEKE2U-BY4wE2vw.js +19 -0
- package/dist/{form-BsB5JhS4.js → form-CUJpeQ7Q.js} +5 -5
- package/dist/form.js +1 -1
- package/dist/ganttDiagram-NO4QXBWP-B40Eabk0.js +3125 -0
- package/dist/ganttDiagram-NO4QXBWP-DZT79qJr.cjs +292 -0
- package/dist/gitGraph-TEB2WS4Q-BbtF3MDr.cjs +1 -0
- package/dist/gitGraph-TEB2WS4Q-D6Ru11Cs.js +5 -0
- package/dist/gitGraphDiagram-IHSO6WYX-BUJNSssA.js +754 -0
- package/dist/gitGraphDiagram-IHSO6WYX-DW06165m.cjs +106 -0
- package/dist/glass-Bj1Zf8Hy.js +115 -0
- package/dist/glass.js +5 -0
- package/dist/graphlib-CCKThIKP.js +1104 -0
- package/dist/graphlib-Du-578Js.cjs +1 -0
- package/dist/{icon-pfolda2m.js → icon-CtlZJISZ.js} +110 -21
- package/dist/icon.js +4 -3
- package/dist/icons.js +5 -0
- package/dist/iife/button.iife.js +1 -1
- package/dist/iife/card.iife.js +1 -1
- package/dist/iife/checkbox.iife.js +1 -1
- package/dist/iife/colorpicker.iife.js +2 -2
- package/dist/iife/content.iife.js +1 -0
- package/dist/iife/dropdown.iife.js +1 -1
- package/dist/iife/form.iife.js +1 -1
- package/dist/iife/glass.iife.js +1 -0
- package/dist/iife/icon.iife.js +1 -1
- package/dist/iife/image.iife.js +1 -1
- package/dist/iife/input.iife.js +1 -1
- package/dist/iife/loading.iife.js +1 -1
- package/dist/iife/math.iife.js +14 -14
- package/dist/iife/mermaid.iife.js +3535 -0
- package/dist/iife/message.iife.js +1 -1
- package/dist/iife/modal.iife.js +1 -1
- package/dist/iife/player.iife.js +8 -8
- package/dist/iife/popover.iife.js +1 -1
- package/dist/iife/progress.iife.js +1 -1
- package/dist/iife/radar.iife.js +1 -1
- package/dist/iife/route.iife.js +1 -1
- package/dist/iife/router.iife.js +1 -1
- package/dist/iife/scratch.iife.js +1 -1
- package/dist/iife/section.iife.js +1 -1
- package/dist/iife/select.iife.js +2 -2
- package/dist/iife/skeleton.iife.js +1 -1
- package/dist/iife/tab.iife.js +1 -1
- package/dist/iife/tabpane.iife.js +1 -1
- package/dist/{image-BXpKQ9sU.js → image-ILZNlaGc.js} +4 -4
- package/dist/image.js +1 -1
- package/dist/index.cjs +257 -23
- package/dist/index.d.ts +11 -1
- package/dist/index.iife.js +3842 -74
- package/dist/index.js +86 -78
- package/dist/info-DKCQHKI2-DNOtUIin.cjs +1 -0
- package/dist/info-DKCQHKI2-Df7h9MSE.js +5 -0
- package/dist/infoDiagram-FWYZ7A6U-C8dZc-Ki.cjs +2 -0
- package/dist/infoDiagram-FWYZ7A6U-Dc0m9qAx.js +21 -0
- package/dist/init-1VpIn1S3.js +16 -0
- package/dist/init-CbDwVtpO.cjs +1 -0
- package/dist/{input-BMMM60e6.js → input-CDH6zY9I.js} +6 -6
- package/dist/input.js +1 -1
- package/dist/ishikawaDiagram-FXEZZL3T-BugNyysB.cjs +70 -0
- package/dist/ishikawaDiagram-FXEZZL3T-DuFtHOmf.js +742 -0
- package/dist/journeyDiagram-5HDEW3XC-Bshelnhq.js +928 -0
- package/dist/journeyDiagram-5HDEW3XC-ItmURvA2.cjs +139 -0
- package/dist/kanban-definition-HUTT4EX6-BL512R2A.cjs +89 -0
- package/dist/kanban-definition-HUTT4EX6-Dogv2paU.js +1050 -0
- package/dist/katex-Cq3Y8cmK.cjs +257 -0
- package/dist/katex-Pg2EqTH0.js +23485 -0
- package/dist/line-BIPmUVxO.js +33 -0
- package/dist/line-CAB5QHC6.cjs +1 -0
- package/dist/linear-B2AM4ZBe.js +259 -0
- package/dist/linear-CSAfNEpl.cjs +1 -0
- package/dist/{link-DURZzd7u.js → link-BCrmHvXP.js} +3 -3
- package/dist/link.js +1 -1
- package/dist/{loading-BScjyeVm.js → loading-DJWGih1g.js} +4 -4
- package/dist/loading.js +1 -1
- package/dist/map-BC2bk_rV.cjs +1 -0
- package/dist/map-DMSWkcq6.js +208 -0
- package/dist/{math-IjzOAwnA.js → math-DRmkEDSQ.js} +4 -4
- package/dist/math.js +1 -1
- package/dist/mermaid-CMhm7npE.js +261 -0
- package/dist/mermaid-parser.core-DYumW1vq.cjs +6 -0
- package/dist/mermaid-parser.core-uIDZYuBu.js +654 -0
- package/dist/mermaid.core-B2d5lQW2.js +1085 -0
- package/dist/mermaid.core-a1hgpWfs.cjs +10 -0
- package/dist/mermaid.js +5 -0
- package/dist/{message-CLpuP8HY.js → message-BpYJBvYn.js} +36 -51
- package/dist/message.js +1 -1
- package/dist/mindmap-definition-LN4V7U3C-DYZgIZym.cjs +96 -0
- package/dist/mindmap-definition-LN4V7U3C-f7s5ZePP.js +1070 -0
- package/dist/{modal-DOTpABRe.js → modal-BeQlDYDP.js} +40 -24
- package/dist/modal.js +1 -1
- package/dist/ordinal-BMN81JG2.js +64 -0
- package/dist/ordinal-BplLHIij.cjs +1 -0
- package/dist/packet-7NZHBO7P-4PLslLZJ.js +5 -0
- package/dist/packet-7NZHBO7P-DeyLCrSn.cjs +1 -0
- package/dist/path-Bja5PoYn.js +82 -0
- package/dist/path-DmfWsuKi.cjs +1 -0
- package/dist/pegDiagram-2B236MQR-B-Xeh55J.js +107 -0
- package/dist/pegDiagram-2B236MQR-Bo5Nj40u.cjs +1 -0
- package/dist/pie-RZYD4A2V-DBE9a8Kz.js +5 -0
- package/dist/pie-RZYD4A2V-pDNZ2ZyB.cjs +1 -0
- package/dist/pieDiagram-ENE6RG2P-BkSiP4iu.cjs +39 -0
- package/dist/pieDiagram-ENE6RG2P-CVSE95zc.js +207 -0
- package/dist/{player-5olrw-qB.js → player-CQ4e3Yeo.js} +196 -195
- package/dist/player.js +1 -1
- package/dist/{popover-DRUQjdPs.js → popover-eZMnL1F3.js} +22 -54
- package/dist/popover.js +1 -1
- package/dist/{progress-BIEXYYd2.js → progress-DyHgW4Ep.js} +5 -5
- package/dist/progress.js +1 -1
- package/dist/quadrantDiagram-ABIIQ3AL-BDmdDGsh.cjs +7 -0
- package/dist/quadrantDiagram-ABIIQ3AL-TJ8FmqES.js +2058 -0
- package/dist/{radar-DAF95_Mj.js → radar-D21Rccap.js} +5 -5
- package/dist/radar-I7S5WNFK-CY5ycn2a.cjs +1 -0
- package/dist/radar-I7S5WNFK-DFTxtd_t.js +5 -0
- package/dist/radar.js +1 -1
- package/dist/railroad-3IZDKUUU-DALJwv16.js +5 -0
- package/dist/railroad-3IZDKUUU-DGzXHqt7.cjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-BCIHdSw6.cjs +1 -0
- package/dist/railroad-abnf-AHOZXSZD-CntW2udQ.js +5 -0
- package/dist/railroad-ebnf-EBAXGLYW-4vFZrfHF.cjs +1 -0
- package/dist/railroad-ebnf-EBAXGLYW-s_1ZOb_9.js +5 -0
- package/dist/railroad-peg-LSFZ7HO6-CaM5A0Ml.js +5 -0
- package/dist/railroad-peg-LSFZ7HO6-D_oFW1Bo.cjs +1 -0
- package/dist/railroadDiagram-RFXS5EU6-0lS5wYI7.js +83 -0
- package/dist/railroadDiagram-RFXS5EU6-DJKAtnQk.cjs +1 -0
- package/dist/ranui.css +1 -1
- package/dist/requirementDiagram-TGXJPOKE-Bg701bNl.cjs +84 -0
- package/dist/requirementDiagram-TGXJPOKE-viCQLyJd.js +2301 -0
- package/dist/rolldown-runtime-9ZSF5uba.js +16 -0
- package/dist/rolldown-runtime-CAnuVJ4g.cjs +1 -0
- package/dist/rough.esm-BWe9E0Nz.js +1387 -0
- package/dist/rough.esm-BfSi6CZE.cjs +1 -0
- package/dist/route-pR5P4ann.js +116 -0
- package/dist/route.js +1 -1
- package/dist/{router-B9rCrWXm.js → router-CewzSH7O.js} +23 -18
- package/dist/router.js +1 -1
- package/dist/sankeyDiagram-HTMAVEWB-CV6_AuMF.js +974 -0
- package/dist/sankeyDiagram-HTMAVEWB-K-nGMsuS.cjs +40 -0
- package/dist/{scratch-QlPyy1f4.js → scratch-BFVsgl-7.js} +2 -2
- package/dist/scratch.js +1 -1
- package/dist/{section-D0qMm9KM.js → section-DSPCsIxv.js} +2 -2
- package/dist/section.js +1 -1
- package/dist/{select-aAaWoveE.js → select-B58nMfB1.js} +16 -23
- package/dist/select.js +1 -1
- package/dist/sequenceDiagram-DBY2YBRQ-4GdkLnUr.cjs +162 -0
- package/dist/sequenceDiagram-DBY2YBRQ-B9WNesh2.js +4326 -0
- package/dist/sizeCapture-X5ZJPWSS-BUY3-n09.cjs +1 -0
- package/dist/sizeCapture-X5ZJPWSS-D7rGsqTl.js +48 -0
- package/dist/{skeleton-CFqQmKyt.js → skeleton-DoHYMsTn.js} +5 -5
- package/dist/skeleton.js +1 -1
- package/dist/src-C9EhKhbk.cjs +1 -0
- package/dist/src-DtRLxcYO.js +2104 -0
- package/dist/stateDiagram-2N3HPSRC-B7VpgjJu.cjs +1 -0
- package/dist/stateDiagram-2N3HPSRC-DxH4BMSh.js +237 -0
- package/dist/stateDiagram-v2-6OUMAXLB-CQv7GIaO.cjs +1 -0
- package/dist/stateDiagram-v2-6OUMAXLB-CWfn6e7n.js +30 -0
- package/dist/swimlanes-5IMT3BWC-DcADNGpg.js +5258 -0
- package/dist/swimlanes-5IMT3BWC-o-MjdPlw.cjs +1 -0
- package/dist/swimlanesDiagram-G3AALYLV-D-rmAGky.cjs +8 -0
- package/dist/swimlanesDiagram-G3AALYLV-DDtDtl1L.js +31 -0
- package/dist/{tab-CiF2YPck.js → tab-BRPdZ9Ws.js} +5 -5
- package/dist/tab.js +1 -1
- package/dist/{tabpane-B-m3xwqu.js → tabpane-Owf72hw_.js} +5 -5
- package/dist/tabpane.js +1 -1
- package/dist/test/unit/icon.builtin.test.d.ts +1 -0
- package/dist/test/unit/utils.colorpicker.reconnect.test.d.ts +1 -0
- package/dist/test/unit/utils.route.lazy.test.d.ts +1 -0
- package/dist/test/unit/utils.router.match.test.d.ts +1 -0
- package/dist/test/unit/utils.signal.owner.test.d.ts +1 -0
- package/dist/{theme-switch-B09egc6h.js → theme-switch-CZDIIonc.js} +4 -4
- package/dist/theme-switch.js +1 -1
- package/dist/timeline-definition-FHXFAJF6-C80VjPLh.js +1119 -0
- package/dist/timeline-definition-FHXFAJF6-DOwvOb3S.cjs +120 -0
- package/dist/treeView-QDETBFTQ-B1Ejxfpg.cjs +1 -0
- package/dist/treeView-QDETBFTQ-vTKOZls1.js +5 -0
- package/dist/treemap-6X3UGDF4-D0FeO_NX.cjs +1 -0
- package/dist/treemap-6X3UGDF4-Ddzv6Gqd.js +5 -0
- package/dist/utils/builder/core.d.ts +153 -16
- package/dist/utils/builder/factory.d.ts +1 -1
- package/dist/utils/builder/index.d.ts +3 -3
- package/dist/utils/builder/signal.d.ts +93 -64
- package/dist/utils/router/index.d.ts +13 -3
- package/dist/utils/router.js +95 -54
- package/dist/utils/theme.d.ts +1 -1
- package/dist/{utils-DBfrRFoE.js → utils-D1iZnChu.js} +38 -31
- package/dist/vennDiagram-L72KCM5P-BYHB7OW8.js +1955 -0
- package/dist/vennDiagram-L72KCM5P-CidVJK6y.cjs +34 -0
- package/dist/wardley-OPB4EBWU-C1hXbbD4.cjs +1 -0
- package/dist/wardley-OPB4EBWU-DBgFLc64.js +5 -0
- package/dist/wardleyDiagram-EHGQE667--ubmCaWM.js +652 -0
- package/dist/wardleyDiagram-EHGQE667-K6ckkRZS.cjs +78 -0
- package/dist/warning-circle-fill-Cz0qu7AH.js +23 -0
- package/dist/xychartDiagram-FW5EYKEG-CzdokxrM.cjs +7 -0
- package/dist/xychartDiagram-FW5EYKEG-DLqWcTPt.js +2154 -0
- package/docs/BUILDER.md +383 -0
- package/docs/COMPONENTS.md +21 -3
- package/package.json +31 -3
- package/dist/button-Be_uHDZG.js +0 -117
- package/dist/factory-BdsO0dEW.js +0 -165
- package/dist/route-MQZpn2BP.js +0 -88
- package/dist/signal-CSSZxlK5.js +0 -57
package/dist/factory-BdsO0dEW.js
DELETED
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
import { c as l, n as d } from "./mocks-CMGoftIc.js";
|
|
2
|
-
var p = () => ({ current: null }), o = class h {
|
|
3
|
-
el;
|
|
4
|
-
constructor(t) {
|
|
5
|
-
this.el = l ? new d(t) : document.createElement(t);
|
|
6
|
-
}
|
|
7
|
-
id(t) {
|
|
8
|
-
return this.el.setAttribute("id", t), this;
|
|
9
|
-
}
|
|
10
|
-
class(t) {
|
|
11
|
-
return l ? this.el.attributes.set("class", t) : this.el.className = t, this;
|
|
12
|
-
}
|
|
13
|
-
addClass(...t) {
|
|
14
|
-
return t.forEach((e) => this.el.classList.add(e)), this;
|
|
15
|
-
}
|
|
16
|
-
removeClass(...t) {
|
|
17
|
-
return t.forEach((e) => this.el.classList.remove(e)), this;
|
|
18
|
-
}
|
|
19
|
-
attr(t, e) {
|
|
20
|
-
return this.el.setAttribute(t, e), this;
|
|
21
|
-
}
|
|
22
|
-
attrs(t) {
|
|
23
|
-
return Object.entries(t).forEach(([e, r]) => {
|
|
24
|
-
r != null && this.el.setAttribute(e, String(r));
|
|
25
|
-
}), this;
|
|
26
|
-
}
|
|
27
|
-
boolAttr(t, e, r = "") {
|
|
28
|
-
return e ? this.el.setAttribute(t, r) : this.el.removeAttribute(t), this;
|
|
29
|
-
}
|
|
30
|
-
part(t) {
|
|
31
|
-
return this.el.setAttribute("part", t), this;
|
|
32
|
-
}
|
|
33
|
-
data(t, e) {
|
|
34
|
-
return this.attr(`data-${t}`, e);
|
|
35
|
-
}
|
|
36
|
-
style(t, e) {
|
|
37
|
-
return typeof t == "string" ? this.el.style.setProperty(t, e ?? "") : Object.entries(t).forEach(([r, a]) => this.el.style.setProperty(r, a)), this;
|
|
38
|
-
}
|
|
39
|
-
cssVar(t, e) {
|
|
40
|
-
const r = t.startsWith("--") ? t : `--${t}`;
|
|
41
|
-
return this.style(r, e);
|
|
42
|
-
}
|
|
43
|
-
aria(t, e) {
|
|
44
|
-
return this.attr(`aria-${t}`, e);
|
|
45
|
-
}
|
|
46
|
-
role(t) {
|
|
47
|
-
return this.attr("role", t);
|
|
48
|
-
}
|
|
49
|
-
tabIndex(t) {
|
|
50
|
-
return this.attr("tabindex", String(t));
|
|
51
|
-
}
|
|
52
|
-
label(t) {
|
|
53
|
-
return this.aria("label", t);
|
|
54
|
-
}
|
|
55
|
-
labelledBy(t) {
|
|
56
|
-
return this.aria("labelledby", t);
|
|
57
|
-
}
|
|
58
|
-
describedBy(t) {
|
|
59
|
-
return this.aria("describedby", t);
|
|
60
|
-
}
|
|
61
|
-
ariaHidden(t = !0) {
|
|
62
|
-
return this.aria("hidden", String(t));
|
|
63
|
-
}
|
|
64
|
-
on(t, e, r) {
|
|
65
|
-
return this.el.addEventListener(t, e, r), this;
|
|
66
|
-
}
|
|
67
|
-
listen(t, e, r, a) {
|
|
68
|
-
return t.on(this.el, e, r, a), this;
|
|
69
|
-
}
|
|
70
|
-
delegate(t, e, r, a, n) {
|
|
71
|
-
return t.delegate(this.el, e, r, a, n), this;
|
|
72
|
-
}
|
|
73
|
-
children(...t) {
|
|
74
|
-
const e = (r) => r.reduce((a, n) => Array.isArray(n) ? a.concat(e(n)) : a.concat(n), []);
|
|
75
|
-
return e(t).forEach((r) => {
|
|
76
|
-
r != null && (r instanceof h ? this.el.appendChild(r.build()) : typeof r == "string" ? l ? this.el.appendChild(r) : this.el.appendChild(document.createTextNode(r)) : this.el.appendChild(r));
|
|
77
|
-
}), this;
|
|
78
|
-
}
|
|
79
|
-
replaceChildren(...t) {
|
|
80
|
-
if (l) {
|
|
81
|
-
const e = this.el;
|
|
82
|
-
e.childrenList = [];
|
|
83
|
-
} else this.el.replaceChildren();
|
|
84
|
-
return this.children(...t);
|
|
85
|
-
}
|
|
86
|
-
text(t) {
|
|
87
|
-
return this.el.textContent = t, this;
|
|
88
|
-
}
|
|
89
|
-
ref(t) {
|
|
90
|
-
return t.current = this.el, this;
|
|
91
|
-
}
|
|
92
|
-
shadow(t = { mode: "closed" }) {
|
|
93
|
-
const e = this.el.attachShadow(t);
|
|
94
|
-
return new u(this.el, e, t);
|
|
95
|
-
}
|
|
96
|
-
build() {
|
|
97
|
-
return this.el;
|
|
98
|
-
}
|
|
99
|
-
serialize() {
|
|
100
|
-
if (l) return this.el.serialize();
|
|
101
|
-
const t = document.createElement("div");
|
|
102
|
-
return t.appendChild(this.el.cloneNode(!0)), t.innerHTML;
|
|
103
|
-
}
|
|
104
|
-
}, u = class {
|
|
105
|
-
root;
|
|
106
|
-
hostEl;
|
|
107
|
-
options;
|
|
108
|
-
constructor(i, t, e) {
|
|
109
|
-
this.hostEl = i, this.root = t, this.options = e;
|
|
110
|
-
}
|
|
111
|
-
children(...i) {
|
|
112
|
-
const t = (e) => e.reduce((r, a) => Array.isArray(a) ? r.concat(t(a)) : r.concat(a), []);
|
|
113
|
-
return t(i).forEach((e) => {
|
|
114
|
-
e != null && (e instanceof o ? this.root.appendChild(e.build()) : typeof e == "string" ? l ? this.root.appendChild(e) : this.root.appendChild(document.createTextNode(e)) : this.root.appendChild(e));
|
|
115
|
-
}), this;
|
|
116
|
-
}
|
|
117
|
-
adoptSheet(...i) {
|
|
118
|
-
return this.root.adoptedStyleSheets = [...this.root.adoptedStyleSheets, ...i], this;
|
|
119
|
-
}
|
|
120
|
-
css(i) {
|
|
121
|
-
if (l)
|
|
122
|
-
return this.root.adoptedStyleSheets.push(i), this;
|
|
123
|
-
if (typeof CSSStyleSheet < "u") try {
|
|
124
|
-
const e = new CSSStyleSheet();
|
|
125
|
-
return e.replaceSync(i), this.root.adoptedStyleSheets = [...this.root.adoptedStyleSheets, e], this;
|
|
126
|
-
} catch {
|
|
127
|
-
}
|
|
128
|
-
const t = document.createElement("style");
|
|
129
|
-
return t.textContent = i, this.root.appendChild(t), this;
|
|
130
|
-
}
|
|
131
|
-
done() {
|
|
132
|
-
return {
|
|
133
|
-
host: this.hostEl,
|
|
134
|
-
shadow: this.root
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
serialize() {
|
|
138
|
-
return l ? this.root.serialize() : this.root.innerHTML;
|
|
139
|
-
}
|
|
140
|
-
}, s = (i) => new o(i), f = () => s("div"), S = () => s("span"), y = () => s("slot"), b = () => s("button"), v = () => s("input"), C = () => s("style"), E = () => s("label"), w = () => s("ul"), A = () => s("li"), g = () => s("section"), L = () => s("article"), B = () => s("nav"), m = () => s("header"), x = () => s("footer"), H = () => s("main"), N = (i = "open", t = !1) => {
|
|
141
|
-
const e = s("template");
|
|
142
|
-
return e.attr("shadowrootmode", i), t && e.attr("shadowrootdelegatesfocus", ""), e;
|
|
143
|
-
};
|
|
144
|
-
export {
|
|
145
|
-
s as _,
|
|
146
|
-
x as a,
|
|
147
|
-
p as b,
|
|
148
|
-
E as c,
|
|
149
|
-
B as d,
|
|
150
|
-
g as f,
|
|
151
|
-
w as g,
|
|
152
|
-
C as h,
|
|
153
|
-
f as i,
|
|
154
|
-
A as l,
|
|
155
|
-
S as m,
|
|
156
|
-
b as n,
|
|
157
|
-
m as o,
|
|
158
|
-
y as p,
|
|
159
|
-
N as r,
|
|
160
|
-
v as s,
|
|
161
|
-
L as t,
|
|
162
|
-
H as u,
|
|
163
|
-
o as v,
|
|
164
|
-
u as y
|
|
165
|
-
};
|
package/dist/route-MQZpn2BP.js
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { a as p, i as o, n as l, r as n, t as d } from "./utils-DBfrRFoE.js";
|
|
2
|
-
import { t as m } from "./events-C59wGdni.js";
|
|
3
|
-
import { p as f } from "./factory-BdsO0dEW.js";
|
|
4
|
-
import { a as _, n as b } from "./ssr-DSGwPtEd.js";
|
|
5
|
-
import { getSSGPath as g } from "./utils/router.js";
|
|
6
|
-
var v = ".remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transparent}.remove-wap-active-focus:active,.remove-wap-active-focus:focus{outline:0;-webkit-tap-highlight-color:transparent}:host{display:block}:host([hidden]){display:none!important}", w = class extends b {
|
|
7
|
-
static get observedAttributes() {
|
|
8
|
-
return [
|
|
9
|
-
"path",
|
|
10
|
-
"exact",
|
|
11
|
-
"sheet"
|
|
12
|
-
];
|
|
13
|
-
}
|
|
14
|
-
_events = new m();
|
|
15
|
-
_shadowDom;
|
|
16
|
-
_params = {};
|
|
17
|
-
constructor() {
|
|
18
|
-
super(), this._shadowDom = l(this, v), d(this._shadowDom, "slot", () => f().build());
|
|
19
|
-
}
|
|
20
|
-
get path() {
|
|
21
|
-
return n(this, "path", "/");
|
|
22
|
-
}
|
|
23
|
-
set path(t) {
|
|
24
|
-
o(this, "path", t);
|
|
25
|
-
}
|
|
26
|
-
get exact() {
|
|
27
|
-
return this.hasAttribute("exact");
|
|
28
|
-
}
|
|
29
|
-
get params() {
|
|
30
|
-
return { ...this._params };
|
|
31
|
-
}
|
|
32
|
-
get sheet() {
|
|
33
|
-
return n(this, "sheet");
|
|
34
|
-
}
|
|
35
|
-
set sheet(t) {
|
|
36
|
-
o(this, "sheet", t);
|
|
37
|
-
}
|
|
38
|
-
handlerExternalCss = () => {
|
|
39
|
-
p(this, this._shadowDom, "sheet", null, this.sheet);
|
|
40
|
-
};
|
|
41
|
-
_matchPath(t) {
|
|
42
|
-
const a = this.path, e = {}, r = [], h = a.split("/").map((s) => s.startsWith(":") ? (r.push(s.slice(1)), "([^/]+)") : s === "*" ? "(.*)" : s.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")).join("/"), c = this.exact ? new RegExp(`^${h}$`) : new RegExp(`^${h}(?:/.*)?$`), i = t.match(c);
|
|
43
|
-
return i ? (r.forEach((s, u) => {
|
|
44
|
-
e[s] = decodeURIComponent(i[u + 1] ?? "");
|
|
45
|
-
}), {
|
|
46
|
-
matched: !0,
|
|
47
|
-
params: e
|
|
48
|
-
}) : {
|
|
49
|
-
matched: !1,
|
|
50
|
-
params: e
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
_update(t) {
|
|
54
|
-
const { matched: a, params: e } = this._matchPath(t);
|
|
55
|
-
this._params = e, this.hidden = !a, a && this.dispatchEvent(new CustomEvent("routematch", {
|
|
56
|
-
detail: {
|
|
57
|
-
path: t,
|
|
58
|
-
params: e
|
|
59
|
-
},
|
|
60
|
-
bubbles: !0
|
|
61
|
-
}));
|
|
62
|
-
}
|
|
63
|
-
_preSerialize() {
|
|
64
|
-
const t = g();
|
|
65
|
-
t !== null && this._update(t);
|
|
66
|
-
}
|
|
67
|
-
connectedCallback() {
|
|
68
|
-
this.handlerExternalCss();
|
|
69
|
-
const t = this.closest("r-router");
|
|
70
|
-
t && t._currentPath && this._update(t._currentPath);
|
|
71
|
-
}
|
|
72
|
-
disconnectedCallback() {
|
|
73
|
-
this._events.abort();
|
|
74
|
-
}
|
|
75
|
-
attributeChangedCallback(t, a, e) {
|
|
76
|
-
if (a !== e) {
|
|
77
|
-
if (t === "path" || t === "exact") {
|
|
78
|
-
const r = this.closest("r-router");
|
|
79
|
-
r && this._update(r._currentPath);
|
|
80
|
-
}
|
|
81
|
-
t === "sheet" && this.handlerExternalCss();
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
_("r-route", w);
|
|
86
|
-
export {
|
|
87
|
-
w as t
|
|
88
|
-
};
|
package/dist/signal-CSSZxlK5.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
var c = null, u = null, f = null;
|
|
2
|
-
function b(r, e) {
|
|
3
|
-
const s = e?.equals ?? Object.is;
|
|
4
|
-
let t = r;
|
|
5
|
-
const n = /* @__PURE__ */ new Set();
|
|
6
|
-
return [() => (c && u && (n.add(c), u.add(n)), t), (o) => {
|
|
7
|
-
const d = typeof o == "function" ? o(t) : o;
|
|
8
|
-
if (!s(t, d))
|
|
9
|
-
if (t = d, f) for (const a of n) f.add(a);
|
|
10
|
-
else for (const a of [...n]) a();
|
|
11
|
-
}];
|
|
12
|
-
}
|
|
13
|
-
function p(r) {
|
|
14
|
-
let e, s = !1;
|
|
15
|
-
const t = /* @__PURE__ */ new Set(), n = () => {
|
|
16
|
-
if (s) return;
|
|
17
|
-
e?.();
|
|
18
|
-
for (const o of t) o.delete(n);
|
|
19
|
-
t.clear();
|
|
20
|
-
const l = c, i = u;
|
|
21
|
-
c = n, u = t;
|
|
22
|
-
try {
|
|
23
|
-
e = r() ?? void 0;
|
|
24
|
-
} finally {
|
|
25
|
-
c = l, u = i;
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
return n(), () => {
|
|
29
|
-
s = !0, e?.();
|
|
30
|
-
for (const l of t) l.delete(n);
|
|
31
|
-
t.clear();
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
function v(r) {
|
|
35
|
-
const [e, s] = b(void 0);
|
|
36
|
-
return p(() => s(r())), e;
|
|
37
|
-
}
|
|
38
|
-
function S(r) {
|
|
39
|
-
if (f) {
|
|
40
|
-
r();
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
const e = /* @__PURE__ */ new Set();
|
|
44
|
-
f = e;
|
|
45
|
-
try {
|
|
46
|
-
r();
|
|
47
|
-
} finally {
|
|
48
|
-
f = null;
|
|
49
|
-
for (const s of e) s();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
b as i,
|
|
54
|
-
v as n,
|
|
55
|
-
p as r,
|
|
56
|
-
S as t
|
|
57
|
-
};
|