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
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
const d=require("./chunk-Y2CYZVJY-DPaYLFFP.cjs"),Y=require("./src-C9EhKhbk.cjs"),A=require("./chunk-WYO6CB5R-u4mJNOcO.cjs"),_t=require("./ordinal-BplLHIij.cjs");function mt(t){for(var i=t.length/6|0,s=new Array(i),c=0;c<i;)s[c]="#"+t.slice(c*6,++c*6);return s}var kt=mt("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function at(t,i){let s;if(i===void 0)for(const c of t)c!=null&&(s<c||s===void 0&&c>=c)&&(s=c);else{let c=-1;for(let u of t)(u=i(u,++c,t))!=null&&(s<u||s===void 0&&u>=u)&&(s=u)}return s}function dt(t,i){let s;if(i===void 0)for(const c of t)c!=null&&(s>c||s===void 0&&c>=c)&&(s=c);else{let c=-1;for(let u of t)(u=i(u,++c,t))!=null&&(s>u||s===void 0&&u>=u)&&(s=u)}return s}function J(t,i){let s=0;if(i===void 0)for(let c of t)(c=+c)&&(s+=c);else{let c=-1;for(let u of t)(u=+i(u,++c,t))&&(s+=u)}return s}function xt(t){return t.target.depth}function vt(t){return t.depth}function bt(t,i){return i-1-t.height}function gt(t,i){return t.sourceLinks.length?t.depth:i-1}function St(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?dt(t.sourceLinks,xt)-1:0}function G(t){return function(){return t}}function lt(t,i){return Q(t.source,i.source)||t.index-i.index}function ct(t,i){return Q(t.target,i.target)||t.index-i.index}function Q(t,i){return t.y0-i.y0}function tt(t){return t.value}function wt(t){return t.index}function Lt(t){return t.nodes}function Et(t){return t.links}function ut(t,i){const s=t.get(i);if(!s)throw new Error("missing: "+i);return s}function ht({nodes:t}){for(const i of t){let s=i.y0,c=s;for(const u of i.sourceLinks)u.y0=s+u.width/2,s+=u.width;for(const u of i.targetLinks)u.y1=c+u.width/2,c+=u.width}}function At(){let t=0,i=0,s=1,c=1,u=24,_=8,r,l=wt,y=gt,h,p,x=Lt,m=Et,L=6;function k(){const e={nodes:x.apply(null,arguments),links:m.apply(null,arguments)};return T(e),E(e),C(e),$(e),v(e),ht(e),e}k.update=function(e){return ht(e),e},k.nodeId=function(e){return arguments.length?(l=typeof e=="function"?e:G(e),k):l},k.nodeAlign=function(e){return arguments.length?(y=typeof e=="function"?e:G(e),k):y},k.nodeSort=function(e){return arguments.length?(h=e,k):h},k.nodeWidth=function(e){return arguments.length?(u=+e,k):u},k.nodePadding=function(e){return arguments.length?(_=r=+e,k):_},k.nodes=function(e){return arguments.length?(x=typeof e=="function"?e:G(e),k):x},k.links=function(e){return arguments.length?(m=typeof e=="function"?e:G(e),k):m},k.linkSort=function(e){return arguments.length?(p=e,k):p},k.size=function(e){return arguments.length?(t=i=0,s=+e[0],c=+e[1],k):[s-t,c-i]},k.extent=function(e){return arguments.length?(t=+e[0][0],s=+e[1][0],i=+e[0][1],c=+e[1][1],k):[[t,i],[s,c]]},k.iterations=function(e){return arguments.length?(L=+e,k):L};function T({nodes:e,links:f}){for(const[o,a]of e.entries())a.index=o,a.sourceLinks=[],a.targetLinks=[];const n=new Map(e.map((o,a)=>[l(o,a,e),o]));for(const[o,a]of f.entries()){a.index=o;let{source:g,target:b}=a;typeof g!="object"&&(g=a.source=ut(n,g)),typeof b!="object"&&(b=a.target=ut(n,b)),g.sourceLinks.push(a),b.targetLinks.push(a)}if(p!=null)for(const{sourceLinks:o,targetLinks:a}of e)o.sort(p),a.sort(p)}function E({nodes:e}){for(const f of e)f.value=f.fixedValue===void 0?Math.max(J(f.sourceLinks,tt),J(f.targetLinks,tt)):f.fixedValue}function C({nodes:e}){const f=e.length;let n=new Set(e),o=new Set,a=0;for(;n.size;){for(const g of n){g.depth=a;for(const{target:b}of g.sourceLinks)o.add(b)}if(++a>f)throw new Error("circular link");n=o,o=new Set}}function $({nodes:e}){const f=e.length;let n=new Set(e),o=new Set,a=0;for(;n.size;){for(const g of n){g.height=a;for(const{source:b}of g.targetLinks)o.add(b)}if(++a>f)throw new Error("circular link");n=o,o=new Set}}function N({nodes:e}){const f=at(e,a=>a.depth)+1,n=(s-t-u)/(f-1),o=new Array(f);for(const a of e){const g=Math.max(0,Math.min(f-1,Math.floor(y.call(null,a,f))));a.layer=g,a.x0=t+g*n,a.x1=a.x0+u,o[g]?o[g].push(a):o[g]=[a]}if(h)for(const a of o)a.sort(h);return o}function z(e){const f=dt(e,n=>(c-i-(n.length-1)*r)/J(n,tt));for(const n of e){let o=i;for(const a of n){a.y0=o,a.y1=o+a.value*f,o=a.y1+r;for(const g of a.sourceLinks)g.width=g.value*f}o=(c-o+r)/(n.length+1);for(let a=0;a<n.length;++a){const g=n[a];g.y0+=o*(a+1),g.y1+=o*(a+1)}S(n)}}function v(e){const f=N(e);r=Math.min(_,(c-i)/(at(f,n=>n.length)-1)),z(f);for(let n=0;n<L;++n){const o=Math.pow(.99,n),a=Math.max(1-o,(n+1)/L);F(f,o,a),P(f,o,a)}}function P(e,f,n){for(let o=1,a=e.length;o<a;++o){const g=e[o];for(const b of g){let O=0,w=0;for(const{source:W,value:U}of b.targetLinks){let ot=U*(b.layer-W.layer);O+=D(W,b)*ot,w+=ot}if(!(w>0))continue;let q=(O/w-b.y0)*f;b.y0+=q,b.y1+=q,B(b)}h===void 0&&g.sort(Q),j(g,n)}}function F(e,f,n){for(let o=e.length-2;o>=0;--o){const a=e[o];for(const g of a){let b=0,O=0;for(const{target:q,value:W}of g.sourceLinks){let U=W*(q.layer-g.layer);b+=M(g,q)*U,O+=U}if(!(O>0))continue;let w=(b/O-g.y0)*f;g.y0+=w,g.y1+=w,B(g)}h===void 0&&a.sort(Q),j(a,n)}}function j(e,f){const n=e.length>>1,o=e[n];V(e,o.y0-r,n-1,f),I(e,o.y1+r,n+1,f),V(e,c,e.length-1,f),I(e,i,0,f)}function I(e,f,n,o){for(;n<e.length;++n){const a=e[n],g=(f-a.y0)*o;g>1e-6&&(a.y0+=g,a.y1+=g),f=a.y1+r}}function V(e,f,n,o){for(;n>=0;--n){const a=e[n],g=(a.y1-f)*o;g>1e-6&&(a.y0-=g,a.y1-=g),f=a.y0-r}}function B({sourceLinks:e,targetLinks:f}){if(p===void 0){for(const{source:{sourceLinks:n}}of f)n.sort(ct);for(const{target:{targetLinks:n}}of e)n.sort(lt)}}function S(e){if(p===void 0)for(const{sourceLinks:f,targetLinks:n}of e)f.sort(ct),n.sort(lt)}function D(e,f){let n=e.y0-(e.sourceLinks.length-1)*r/2;for(const{target:o,width:a}of e.sourceLinks){if(o===f)break;n+=a+r}for(const{source:o,width:a}of f.targetLinks){if(o===e)break;n-=a}return n}function M(e,f){let n=f.y0-(f.targetLinks.length-1)*r/2;for(const{source:o,width:a}of f.targetLinks){if(o===e)break;n+=a+r}for(const{target:o,width:a}of e.sourceLinks){if(o===f)break;n-=a}return n}return k}var et=Math.PI,nt=2*et,R=1e-6,Tt=nt-R;function it(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function pt(){return new it}it.prototype=pt.prototype={constructor:it,moveTo:function(t,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)},closePath:function(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,i){this._+="L"+(this._x1=+t)+","+(this._y1=+i)},quadraticCurveTo:function(t,i,s,c){this._+="Q"+ +t+","+ +i+","+(this._x1=+s)+","+(this._y1=+c)},bezierCurveTo:function(t,i,s,c,u,_){this._+="C"+ +t+","+ +i+","+ +s+","+ +c+","+(this._x1=+u)+","+(this._y1=+_)},arcTo:function(t,i,s,c,u){t=+t,i=+i,s=+s,c=+c,u=+u;var _=this._x1,r=this._y1,l=s-t,y=c-i,h=_-t,p=r-i,x=h*h+p*p;if(u<0)throw new Error("negative radius: "+u);if(this._x1===null)this._+="M"+(this._x1=t)+","+(this._y1=i);else if(x>R)if(!(Math.abs(p*l-y*h)>R)||!u)this._+="L"+(this._x1=t)+","+(this._y1=i);else{var m=s-_,L=c-r,k=l*l+y*y,T=m*m+L*L,E=Math.sqrt(k),C=Math.sqrt(x),$=u*Math.tan((et-Math.acos((k+x-T)/(2*E*C)))/2),N=$/C,z=$/E;Math.abs(N-1)>R&&(this._+="L"+(t+N*h)+","+(i+N*p)),this._+="A"+u+","+u+",0,0,"+ +(p*m>h*L)+","+(this._x1=t+z*l)+","+(this._y1=i+z*y)}},arc:function(t,i,s,c,u,_){t=+t,i=+i,s=+s,_=!!_;var r=s*Math.cos(c),l=s*Math.sin(c),y=t+r,h=i+l,p=1^_,x=_?c-u:u-c;if(s<0)throw new Error("negative radius: "+s);this._x1===null?this._+="M"+y+","+h:(Math.abs(this._x1-y)>R||Math.abs(this._y1-h)>R)&&(this._+="L"+y+","+h),s&&(x<0&&(x=x%nt+nt),x>Tt?this._+="A"+s+","+s+",0,1,"+p+","+(t-r)+","+(i-l)+"A"+s+","+s+",0,1,"+p+","+(this._x1=y)+","+(this._y1=h):x>R&&(this._+="A"+s+","+s+",0,"+ +(x>=et)+","+p+","+(this._x1=t+s*Math.cos(u))+","+(this._y1=i+s*Math.sin(u))))},rect:function(t,i,s,c){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+i)+"h"+ +s+"v"+ +c+"h"+-s+"Z"},toString:function(){return this._}};function ft(t){return function(){return t}}function Mt(t){return t[0]}function Ct(t){return t[1]}var Nt=Array.prototype.slice;function Pt(t){return t.source}function It(t){return t.target}function Ot(t){var i=Pt,s=It,c=Mt,u=Ct,_=null;function r(){var l,y=Nt.call(arguments),h=i.apply(this,y),p=s.apply(this,y);if(_||(_=l=pt()),t(_,+c.apply(this,(y[0]=h,y)),+u.apply(this,y),+c.apply(this,(y[0]=p,y)),+u.apply(this,y)),l)return _=null,l+""||null}return r.source=function(l){return arguments.length?(i=l,r):i},r.target=function(l){return arguments.length?(s=l,r):s},r.x=function(l){return arguments.length?(c=typeof l=="function"?l:ft(+l),r):c},r.y=function(l){return arguments.length?(u=typeof l=="function"?l:ft(+l),r):u},r.context=function(l){return arguments.length?(_=l??null,r):_},r}function Dt(t,i,s,c,u){t.moveTo(i,s),t.bezierCurveTo(i=(i+c)/2,s,i,u,c,u)}function $t(){return Ot(Dt)}function zt(t){return[t.source.x1,t.y0]}function jt(t){return[t.target.x0,t.y1]}function Bt(){return $t().source(zt).target(jt)}var rt=(function(){var t=d.__name(function(r,l,y,h){for(y=y||{},h=r.length;h--;y[r[h]]=l);return y},"o"),i=[1,9],s=[1,10],c=[1,5,10,12],u={trace:d.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:d.__name(function(l,y,h,p,x,m,L){var k=m.length-1;switch(x){case 7:const T=p.findOrCreateNode(m[k-4].trim().replaceAll('""','"')),E=p.findOrCreateNode(m[k-2].trim().replaceAll('""','"')),C=parseFloat(m[k].trim());p.addLink(T,E,C);break;case 8:case 9:case 11:this.$=m[k];break;case 10:this.$=m[k-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(c,[2,8]),t(c,[2,9]),{19:[1,16]},t(c,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(c,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:d.__name(function(l,y){if(y.recoverable)this.trace(l);else{var h=new Error(l);throw h.hash=y,h}},"parseError"),parse:d.__name(function(l){var y=this,h=[0],p=[],x=[null],m=[],L=this.table,k="",T=0,E=0,C=0,$=2,N=1,z=m.slice.call(arguments,1),v=Object.create(this.lexer),P={yy:{}};for(var F in this.yy)Object.prototype.hasOwnProperty.call(this.yy,F)&&(P.yy[F]=this.yy[F]);v.setInput(l,P.yy),P.yy.lexer=v,P.yy.parser=this,typeof v.yylloc>"u"&&(v.yylloc={});var j=v.yylloc;m.push(j);var I=v.options&&v.options.ranges;typeof P.yy.parseError=="function"?this.parseError=P.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function V(w){h.length=h.length-2*w,x.length=x.length-w,m.length=m.length-w}d.__name(V,"popStack");function B(){var w=p.pop()||v.lex()||N;return typeof w!="number"&&(w instanceof Array&&(p=w,w=p.pop()),w=y.symbols_[w]||w),w}d.__name(B,"lex");for(var S,D,M,e,f,n={},o,a,g,b;;){if(M=h[h.length-1],this.defaultActions[M]?e=this.defaultActions[M]:((S===null||typeof S>"u")&&(S=B()),e=L[M]&&L[M][S]),typeof e>"u"||!e.length||!e[0]){var O="";b=[];for(o in L[M])this.terminals_[o]&&o>$&&b.push("'"+this.terminals_[o]+"'");v.showPosition?O="Parse error on line "+(T+1)+`:
|
|
2
|
+
`+v.showPosition()+`
|
|
3
|
+
Expecting `+b.join(", ")+", got '"+(this.terminals_[S]||S)+"'":O="Parse error on line "+(T+1)+": Unexpected "+(S==N?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(O,{text:v.match,token:this.terminals_[S]||S,line:v.yylineno,loc:j,expected:b})}if(e[0]instanceof Array&&e.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+S);switch(e[0]){case 1:h.push(S),x.push(v.yytext),m.push(v.yylloc),h.push(e[1]),S=null,D?(S=D,D=null):(E=v.yyleng,k=v.yytext,T=v.yylineno,j=v.yylloc,C>0&&C--);break;case 2:if(a=this.productions_[e[1]][1],n.$=x[x.length-a],n._$={first_line:m[m.length-(a||1)].first_line,last_line:m[m.length-1].last_line,first_column:m[m.length-(a||1)].first_column,last_column:m[m.length-1].last_column},I&&(n._$.range=[m[m.length-(a||1)].range[0],m[m.length-1].range[1]]),f=this.performAction.apply(n,[k,E,T,P.yy,e[1],x,m].concat(z)),typeof f<"u")return f;a&&(h=h.slice(0,-1*a*2),x=x.slice(0,-1*a),m=m.slice(0,-1*a)),h.push(this.productions_[e[1]][0]),x.push(n.$),m.push(n._$),g=L[h[h.length-2]][h[h.length-1]],h.push(g);break;case 3:return!0}}return!0},"parse")};u.lexer=(function(){return{EOF:1,parseError:d.__name(function(l,y){if(this.yy.parser)this.yy.parser.parseError(l,y);else throw new Error(l)},"parseError"),setInput:d.__name(function(r,l){return this.yy=l||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d.__name(function(){var r=this._input[0];return this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r,r.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:d.__name(function(r){var l=r.length,y=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var h=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),y.length-1&&(this.yylineno-=y.length-1);var p=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:y?(y.length===h.length?this.yylloc.first_column:0)+h[h.length-y.length].length-y[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:d.__name(function(){return this._more=!0,this},"more"),reject:d.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d.__name(function(r){this.unput(this.match.slice(r))},"less"),pastInput:d.__name(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d.__name(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d.__name(function(){var r=this.pastInput(),l=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
5
|
+
`+l+"^"},"showPosition"),test_match:d.__name(function(r,l){var y,h,p;if(this.options.backtrack_lexer&&(p={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(p.yylloc.range=this.yylloc.range.slice(0))),h=r[0].match(/(?:\r\n?|\n).*/g),h&&(this.yylineno+=h.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:h?h[h.length-1].length-h[h.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+r[0].length},this.yytext+=r[0],this.match+=r[0],this.matches=r,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(r[0].length),this.matched+=r[0],y=this.performAction.call(this,this.yy,this,l,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),y)return y;if(this._backtrack){for(var x in p)this[x]=p[x];return!1}return!1},"test_match"),next:d.__name(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var r,l,y,h;this._more||(this.yytext="",this.match="");for(var p=this._currentRules(),x=0;x<p.length;x++)if(y=this._input.match(this.rules[p[x]]),y&&(!l||y[0].length>l[0].length)){if(l=y,h=x,this.options.backtrack_lexer){if(r=this.test_match(y,p[x]),r!==!1)return r;if(this._backtrack){l=!1;continue}else return!1}else if(!this.options.flex)break}return l?(r=this.test_match(l,p[h]),r!==!1?r:!1):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
|
|
6
|
+
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:d.__name(function(){var l=this.next();return l||this.lex()},"lex"),begin:d.__name(function(l){this.conditionStack.push(l)},"begin"),popState:d.__name(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:d.__name(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:d.__name(function(l){return l=this.conditionStack.length-1-Math.abs(l||0),l>=0?this.conditionStack[l]:"INITIAL"},"topState"),pushState:d.__name(function(l){this.begin(l)},"pushState"),stateStackSize:d.__name(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:d.__name(function(l,y,h,p){switch(h){case 0:return this.pushState("csv"),4;case 1:return this.pushState("csv"),4;case 2:return 10;case 3:return 5;case 4:return 12;case 5:return this.pushState("escaped_text"),18;case 6:return 20;case 7:return this.popState("escaped_text"),18;case 8:return 19}},"anonymous"),rules:[/^(?:sankey-beta\b)/i,/^(?:sankey\b)/i,/^(?:$)/i,/^(?:((\u000D\u000A)|(\u000A)))/i,/^(?:(\u002C))/i,/^(?:(\u0022))/i,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/i,/^(?:(\u0022)(?!(\u0022)))/i,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/i],conditions:{csv:{rules:[2,3,4,5,6,7,8],inclusive:!1},escaped_text:{rules:[7,8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8],inclusive:!0}}}})();function _(){this.yy={}}return d.__name(_,"Parser"),_.prototype=u,u.Parser=_,new _})();rt.parser=rt;var Z=rt,K=[],H=[],X=new Map,Ft=d.__name(()=>{K=[],H=[],X=new Map,A.clear()},"clear"),Rt=class{constructor(t,i,s=0){this.source=t,this.target=i,this.value=s}static{d.__name(this,"SankeyLink")}},Vt=d.__name((t,i,s)=>{K.push(new Rt(t,i,s))},"addLink"),qt=class{constructor(t){this.ID=t}static{d.__name(this,"SankeyNode")}},Wt={nodesMap:X,getConfig:d.__name(()=>A.getConfig2().sankey,"getConfig"),getNodes:d.__name(()=>H,"getNodes"),getLinks:d.__name(()=>K,"getLinks"),getGraph:d.__name(()=>({nodes:H.map(t=>({id:t.ID})),links:K.map(t=>({source:t.source.ID,target:t.target.ID,value:t.value}))}),"getGraph"),addLink:Vt,findOrCreateNode:d.__name(t=>{t=A.common_default.sanitizeText(t,A.getConfig2());let i=X.get(t);return i===void 0&&(i=new qt(t),X.set(t,i),H.push(i)),i},"findOrCreateNode"),getAccTitle:A.getAccTitle,setAccTitle:A.setAccTitle,getAccDescription:A.getAccDescription,setAccDescription:A.setAccDescription,getDiagramTitle:A.getDiagramTitle,setDiagramTitle:A.setDiagramTitle,clear:Ft},yt=class st{static{d.__name(this,"Uid")}static{this.count=0}static next(i){return new st(i+ ++st.count)}constructor(i){this.id=i,this.href=`#${i}`}toString(){return"url("+this.href+")"}},Ut={left:vt,right:bt,center:St,justify:gt},Yt=d.__name(t=>{let i=0,s=0;for(const c of t){const u=c.value??0;u>i&&(i=u,s=c.layer??0)}return s},"findCentralNodeLayer"),Gt={draw:d.__name(function(t,i,s,c){const{securityLevel:u,sankey:_}=A.getConfig2(),r=A.defaultConfig2.sankey;let l;u==="sandbox"&&(l=Y.select_default("#i"+i));const y=u==="sandbox"?Y.select_default(l.nodes()[0].contentDocument.body):Y.select_default("body"),h=u==="sandbox"?y.select(`[id="${i}"]`):Y.select_default(`[id="${i}"]`),p=_?.width??r.width,x=_?.height??r.width,m=_?.useMaxWidth??r.useMaxWidth,L=_?.nodeAlignment??r.nodeAlignment,k=_?.prefix??r.prefix,T=_?.suffix??r.suffix,E=_?.showValues??r.showValues,C=_?.nodeWidth??r.nodeWidth??10,$=_?.nodePadding??r.nodePadding??12,N=_?.labelStyle??r.labelStyle??"legacy",z=_?.nodeColors??{},v=c.db.getGraph(),P=Ut[L];At().nodeId(n=>n.id).nodeWidth(C).nodePadding($+(E?15:0)).nodeAlign(P).extent([[0,0],[p,x]])(v);const F=Yt(v.nodes),j=_t.ordinal(kt),I=d.__name(n=>z[n]??j(n),"getNodeColor");h.append("g").attr("class","nodes").selectAll(".node").data(v.nodes).join("g").attr("class","node").attr("id",n=>(n.uid=yt.next("node-")).id).attr("transform",function(n){return"translate("+n.x0+","+n.y0+")"}).attr("x",n=>n.x0).attr("y",n=>n.y0).append("rect").attr("height",n=>n.y1-n.y0).attr("width",n=>n.x1-n.x0).attr("fill",n=>I(n.id));const V=d.__name(({id:n,value:o})=>E?`${n}
|
|
7
|
+
${k}${Math.round(o*100)/100}${T}`:n,"getText"),B=d.__name(n=>N==="outlined"?(n.layer??0)<F?{x:n.x0-6,anchor:"end"}:{x:n.x1+6,anchor:"start"}:n.x0<p/2?{x:n.x1+6,anchor:"start"}:{x:n.x0-6,anchor:"end"},"getLabelPosition"),S=h.append("g").attr("class","node-labels").attr("font-size",14),D=d.__name(n=>S.selectAll(n?`.${n}`:"text").data(v.nodes).join("text").attr("class",n??null).attr("x",o=>B(o).x).attr("y",o=>(o.y1+o.y0)/2).attr("dy",`${E?"0":"0.35"}em`).attr("text-anchor",o=>B(o).anchor).text(V),"appendLabel");N==="outlined"?(D("sankey-label-bg"),D("sankey-label-fg")):D();const M=h.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(v.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),e=_?.linkColor??"gradient";if(e==="gradient"){const n=M.append("linearGradient").attr("id",o=>(o.uid=yt.next("linearGradient-")).id).attr("gradientUnits","userSpaceOnUse").attr("x1",o=>o.source.x1).attr("x2",o=>o.target.x0);n.append("stop").attr("offset","0%").attr("stop-color",o=>I(o.source.id)),n.append("stop").attr("offset","100%").attr("stop-color",o=>I(o.target.id))}let f;switch(e){case"gradient":f=d.__name(n=>n.uid,"coloring");break;case"source":f=d.__name(n=>I(n.source.id),"coloring");break;case"target":f=d.__name(n=>I(n.target.id),"coloring");break;default:f=e}M.append("path").attr("d",Bt()).attr("stroke",f).attr("stroke-width",n=>Math.max(1,n.width)),A.setupGraphViewbox(void 0,h,0,m)},"draw")},Ht=d.__name(t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,`
|
|
8
|
+
`).trim(),"prepareTextForParsing"),Xt=d.__name(t=>`.label {
|
|
9
|
+
font-family: ${t.fontFamily};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.node-labels {
|
|
13
|
+
font-family: ${t.fontFamily};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Outlined label style - background stroke for better readability */
|
|
17
|
+
.sankey-label-bg {
|
|
18
|
+
stroke: ${t.mainBkg||t.background||"#fff"};
|
|
19
|
+
stroke-width: 4px;
|
|
20
|
+
stroke-linejoin: round;
|
|
21
|
+
paint-order: stroke;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Foreground label text */
|
|
25
|
+
.sankey-label-fg {
|
|
26
|
+
fill: ${t.textColor};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Node styling */
|
|
30
|
+
.node rect {
|
|
31
|
+
shape-rendering: crispEdges;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/* Link styling */
|
|
35
|
+
.link {
|
|
36
|
+
fill: none;
|
|
37
|
+
stroke-opacity: 0.5;
|
|
38
|
+
mix-blend-mode: multiply;
|
|
39
|
+
}
|
|
40
|
+
`,"getStyles"),Qt=Z.parse.bind(Z);Z.parse=t=>Qt(Ht(t));var Zt={styles:Xt,parser:Z,db:Wt,renderer:Gt};exports.diagram=Zt;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as r, t as h } from "./utils-
|
|
2
|
-
import { _ as o, i as e } from "./factory-
|
|
1
|
+
import { n as r, t as h } from "./utils-D1iZnChu.js";
|
|
2
|
+
import { _ as o, i as e } from "./factory-BkvRcCOx.js";
|
|
3
3
|
import { a as n, n as d } from "./ssr-DSGwPtEd.js";
|
|
4
4
|
var l = ".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{position:relative;display:block}.ran-scratch-ticket{position:relative;display:block;width:100%;height:100%}.ran-scratch-ticket-award{position:absolute;top:0;left:0;display:block;width:100%;height:100%;background:#000;z-index:1}.ran-scratch-ticket-canvas{position:absolute;top:0;left:0;display:block;width:100%;height:100%;z-index:2}", u = class extends d {
|
|
5
5
|
scratchTicketContainer;
|
package/dist/scratch.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as s, n as o, o as r, r as n, t as h } from "./utils-D1iZnChu.js";
|
|
2
2
|
import { t as d } from "./events-C59wGdni.js";
|
|
3
|
-
import { i as a, p as l } from "./factory-
|
|
3
|
+
import { i as a, p as l } from "./factory-BkvRcCOx.js";
|
|
4
4
|
import { a as c, n as b } from "./ssr-DSGwPtEd.js";
|
|
5
5
|
var g = ".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;scroll-margin-top:96px;border-width:var(--ran-skin-border-width, 1px);border-style:var(--ran-skin-border-style, solid);border-color:var(--ran-section-border-color, var(--ran-color-border, #eaeaea));border-radius:var(--ran-section-radius, var(--ran-radius-md, 8px));background:var(--ran-section-background, var(--ran-color-bg-elevated, #ffffff));box-shadow:var(--ran-section-shadow, var(--ran-shadow-elevated, none));padding:var(--ran-section-padding, 28px);box-sizing:border-box}.ran-section-header{display:grid;gap:8px;max-width:760px;margin-bottom:22px}.ran-section-heading{margin:0;color:var(--ran-section-heading-color, var(--ran-color-text, #0f172a));font-size:var(--ran-section-heading-font-size, 24px);font-weight:var(--ran-section-heading-font-weight, 700);line-height:1.25;letter-spacing:0}.ran-section-heading:empty{display:none}.ran-section-subtitle{max-width:620px;margin:0;color:var(--ran-section-subtitle-color, var(--ran-color-text-secondary, #607086))}.ran-section-subtitle:empty{display:none}.ran-section-body{min-width:0}", u = class extends b {
|
|
6
6
|
_shadowDom;
|
package/dist/section.js
CHANGED
|
@@ -1,19 +1,12 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { _ as S, a as h, c as a, d as u, l as D, n as b, o as w, p as k, r as c, t as m } from "./utils-D1iZnChu.js";
|
|
2
2
|
import { t as x } from "./events-C59wGdni.js";
|
|
3
|
-
import { _ as v, i as l, m as C, p as g, s as O } from "./factory-
|
|
3
|
+
import { _ as v, i as l, m as C, p as g, s as O } from "./factory-BkvRcCOx.js";
|
|
4
4
|
import { a as f, n as _ } from "./ssr-DSGwPtEd.js";
|
|
5
|
-
import {
|
|
6
|
-
import "./input-
|
|
7
|
-
import "./
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
_identification: !0,
|
|
11
|
-
data: `<svg viewBox="0 0 1024 1024" width="200" height="200" version="1.1"
|
|
12
|
-
fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
13
|
-
<path
|
|
14
|
-
d="M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"></path>
|
|
15
|
-
</svg>`
|
|
16
|
-
}, P = class extends _ {
|
|
5
|
+
import { r as E } from "./icon-CtlZJISZ.js";
|
|
6
|
+
import "./input-CDH6zY9I.js";
|
|
7
|
+
import { t as T } from "./arrow-down-Bi5kqUrX.js";
|
|
8
|
+
import "./dropdown-DzdAR1nI.js";
|
|
9
|
+
var L = '.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{position:var(--ran-select-host-position, relative);display:var(--ran-select-host-display, inline-block);cursor:var(--ran-select-host-cursor, pointer);height:var(--ran-select-host-height, 32px);outline:var(--ran-select-host-outline, 0);-webkit-tap-highlight-color:var(--ran-select-host-tap-highlight-color, transparent)}:host,:host(:focus),:host(:active){outline:var(--ran-select-host-focus-outline, 0);-webkit-tap-highlight-color:transparent}:host ::slotted(r-option){display:var(--ran-select-option-display, none)}:host([disabled]){cursor:var(--ran-select-host-disabled-cursor, not-allowed);pointer-events:var(--ran-select-host-disabled-pointer-events, all);opacity:var(--ran-select-host-disabled-opacity, .6)}:host(:not([disabled]):hover) .ran-select{cursor:var(--ran-select-host-hover-cursor, pointer)}:host(:not([disabled],[type="text"]):hover) .selection{border:var(--ran-select-selection-hover-border, 1px solid var(--ran-color-primary, #006bff))}:host(:not([disabled],[type="text"]):hover) .selection-search{cursor:var(--ran-select-selection-hover-search-cursor, pointer)}:host(:not([disabled],[type="text"]):hover) .selection-item{cursor:var(--ran-select-selection-hover-item-cursor, pointer);color:var(--ran-select-selection-hover-item-color, var(--ran-color-text-disabled, #bfbfbf))}:host([type="text"]) .selection{border:var(--ran-select-selection-text-border, none);background:var(--ran-select-selection-text-background, transparent)}:host([type="text"]) .icon{display:var(--ran-select-icon-text-display, none)}:host(:not([disabled],[type="text"]):focus) .selection{border:var(--ran-select-selection-focus-border, 1px solid var(--ran-color-primary, #006bff))}:host(:not([disabled],[type="text"]):focus) .selection-search{cursor:var(--ran-select-selection-focus-search-cursor, pointer)}:host(:not([disabled],[type="text"]):focus) .selection-item{cursor:var(--ran-select-selection-focus-item-cursor, pointer);color:var(--ran-select-selection-focus-item-color, var(--ran-color-text-disabled, #bfbfbf))}:host .selection-search{display:var(--ran-select-selection-search-display, none)}:host([showSearch]:not([disabled])) .selection-search{cursor:var(--ran-select-selection-search-visible-cursor, text);display:var(--ran-select-selection-search-visible-display, block)}:host([showSearch]:not([disabled])) .selection-item{cursor:var(--ran-select-selection-search-visible-item-cursor, pointer)}:host([showSearch]:not([disabled]):focus) .selection-search{display:var(--ran-select-selection-search-visible-display, block);cursor:var(--ran-select-selection-search-visible-cursor, text);opacity:var(--ran-select-selection-search-visible-opacity, 1)}.ran-select{width:var(--ran-select-root-width, 100%);height:var(--ran-select-root-height, 100%);font-size:var(--ran-select-root-font-size, 14px);box-sizing:var(--ran-select-root-box-sizing, border-box);margin:var(--ran-select-root-margin, 0);padding:var(--ran-select-root-padding, 0);color:var(--ran-select-root-color, var(--ran-color-text, rgba(0, 0, 0, .88)));line-height:var(--ran-select-root-line-height, 1.57142857);list-style:var(--ran-select-root-list-style, none);font-family:var(--ran-select-root-font-family, var(--ran-skin-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"));position:var(--ran-select-root-position, relative);display:var(--ran-select-root-display, inline-block)}.ran-select .selection{position:var(--ran-select-selection-position, relative);background-color:var(--ran-select-selection-background-color, var(--ran-color-bg-elevated, #ffffff));background-image:var(--ran-select-selection-background-image, none);border:var(--ran-select-selection-border, 1px solid var(--ran-color-border, #eaeaea));transition:var(--ran-select-selection-transition, none);width:var(--ran-select-selection-width, 100%);height:var(--ran-select-selection-height, 100%);padding:var(--ran-select-selection-padding, 0 11px);box-sizing:var(--ran-select-selection-box-sizing, border-box);margin:var(--ran-select-selection-margin, 0);color:var(--ran-select-selection-color, var(--ran-color-text, rgba(0, 0, 0, .88)));font-size:var(--ran-select-selection-font-size, 14px);line-height:var(--ran-select-selection-line-height, 1.57142857);list-style:var(--ran-select-selection-list-style, none);font-family:var(--ran-select-selection-font-family, inherit);display:var(--ran-select-selection-display, flex);border-radius:var(--ran-select-selection-border-radius, var(--ran-radius-sm, 6px))}.ran-select .selection-search{position:var(--ran-select-selection-search-position, absolute);opacity:var(--ran-select-selection-search-opacity, 0);top:var(--ran-select-selection-search-top, 0);left:var(--ran-select-selection-search-left, 0);height:var(--ran-select-selection-search-height, 100%);inset-inline-start:var(--ran-select-selection-search-inset-inline-start, 11px);inset-inline-end:var(--ran-select-selection-search-inset-inline-end, 11px);margin:var(--ran-select-selection-search-margin, 0);padding:var(--ran-select-selection-search-padding, 0);background:var(--ran-select-selection-search-background, transparent);border:var(--ran-select-selection-search-border, none);outline:var(--ran-select-selection-search-outline, none);appearance:var(--ran-select-selection-search-appearance, none);font-family:var(--ran-select-selection-search-font-family, inherit);cursor:var(--ran-select-selection-search-cursor, not-allowed)}.ran-select .selection-search::-webkit-search-cancel-button{display:var(--ran-select-selection-search-cancel-display, none);-webkit-appearance:var(--ran-select-selection-search-cancel-appearance, none)}.ran-select .selection-search::part(input){border:var(--ran-select-selection-search-input-border, none);padding:var(--ran-select-selection-search-input-padding, 0);height:100%;min-height:100%;box-sizing:border-box;outline:var(--ran-select-selection-search-input-outline, none)}.ran-select .selection-search::part(input):active{border:var(--ran-select-selection-search-input-active-border, none);padding:var(--ran-select-selection-search-input-active-padding, 0);height:var(--ran-select-selection-search-input-active-height, 100%);outline:var(--ran-select-selection-search-input-active-outline, none);border-color:var(--ran-select-selection-search-input-active-border-color, transparent);box-shadow:var(--ran-select-selection-search-input-active-box-shadow, none);border-right-width:var(--ran-select-selection-search-input-active-border-right-width, 0px)}.ran-select .selection-search::part(content){min-height:var(--ran-select-selection-search-input-content-min-height, 0)}.ran-select .selection-item{position:var(--ran-select-selection-item-position, absolute);top:var(--ran-select-selection-item-top, 0);left:var(--ran-select-selection-item-left, 12px);right:var(--ran-select-selection-item-right, 28px);margin:var(--ran-select-selection-item-margin, 0);padding:var(--ran-select-selection-item-padding, 0);background:var(--ran-select-selection-item-background, transparent);border:var(--ran-select-selection-item-border, none);outline:var(--ran-select-selection-item-outline, none);appearance:var(--ran-select-selection-item-appearance, none);font-family:var(--ran-select-selection-item-font-family, inherit);height:var(--ran-select-selection-item-height, 100%);display:var(--ran-select-selection-item-display, flex);align-items:var(--ran-select-selection-item-align-items, center);-webkit-user-select:var(--ran-select-selection-item-user-select, none);user-select:var(--ran-select-selection-item-user-select, none);overflow:var(--ran-select-selection-item-overflow, hidden);white-space:var(--ran-select-selection-item-white-space, nowrap);text-overflow:var(--ran-select-selection-item-text-overflow, ellipsis);cursor:var(--ran-select-selection-item-cursor, pointer)}.ran-select .selection-select{color:var(--ran-select-selection-select-color, var(--ran-color-text-disabled, rgba(0, 0, 0, .25)))}.ran-select .selection .icon{display:var(--ran-select-selection-icon-display, flex);align-items:var(--ran-select-selection-icon-align-items, center);color:var(--ran-select-selection-icon-color, var(--ran-color-text-disabled, rgba(0, 0, 0, .25)));font-style:var(--ran-select-selection-icon-font-style, normal);text-align:var(--ran-select-selection-icon-text-align, center);text-transform:var(--ran-select-selection-icon-text-transform, none);text-rendering:var(--ran-select-selection-icon-text-rendering, optimizeLegibility);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:var(--ran-select-selection-icon-position, absolute);top:var(--ran-select-selection-icon-top, 50%);inset-inline-start:var(--ran-select-selection-icon-inset-inline-start, auto);inset-inline-end:var(--ran-select-selection-icon-inset-inline-end, 8px);height:var(--ran-select-selection-icon-height, 16px);transform:var(--ran-select-selection-icon-transform, translateY(-50%));margin-top:var(--ran-select-selection-icon-margin-top, 0);font-size:var(--ran-select-selection-icon-font-size, 12px);pointer-events:var(--ran-select-selection-icon-pointer-events, none)}', P = class extends _ {
|
|
17
10
|
_option;
|
|
18
11
|
_optionContent;
|
|
19
12
|
_shadowDom;
|
|
@@ -26,7 +19,7 @@ var T = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
|
|
|
26
19
|
];
|
|
27
20
|
}
|
|
28
21
|
constructor() {
|
|
29
|
-
super(), this._shadowDom =
|
|
22
|
+
super(), this._shadowDom = b(this);
|
|
30
23
|
const e = m(this._shadowDom, ".ran-select-dropdown-option", () => {
|
|
31
24
|
const i = g().build(), s = l().class("ran-select-dropdown-option-content").children(i).build();
|
|
32
25
|
return l().class("ran-select-dropdown-option").children(s).build();
|
|
@@ -52,7 +45,7 @@ var T = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
|
|
|
52
45
|
!e || e === "false" ? this.removeAttribute("disabled") : this.setAttribute("disabled", "");
|
|
53
46
|
}
|
|
54
47
|
handlerExternalCss() {
|
|
55
|
-
|
|
48
|
+
w(this, this._shadowDom, "sheet", null, this.sheet);
|
|
56
49
|
}
|
|
57
50
|
connectedCallback() {
|
|
58
51
|
this.classList.contains("ran-option") || this.classList.add("ran-option");
|
|
@@ -76,7 +69,7 @@ var M = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
|
|
|
76
69
|
];
|
|
77
70
|
}
|
|
78
71
|
constructor() {
|
|
79
|
-
super(), this._shadowDom =
|
|
72
|
+
super(), this._shadowDom = b(this, M);
|
|
80
73
|
const e = m(this._shadowDom, ".ranui-dropdown-option-item", () => {
|
|
81
74
|
const i = g().class("slot").build(), s = l().class("ranui-dropdown-option-item-content").part("content").children(i).build();
|
|
82
75
|
return l().class("ranui-dropdown-option-item").part("item").children(s).build();
|
|
@@ -108,7 +101,7 @@ var M = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
|
|
|
108
101
|
h(this, "sheet", e);
|
|
109
102
|
}
|
|
110
103
|
handlerExternalCss = () => {
|
|
111
|
-
|
|
104
|
+
w(this, this._shadowDom, "sheet", null, this.sheet);
|
|
112
105
|
};
|
|
113
106
|
connectedCallback() {
|
|
114
107
|
this.handlerExternalCss(), this.active && D(this.ionDropdownItem, "ranui-dropdown-option-active");
|
|
@@ -118,7 +111,7 @@ var M = '.remove-wap-active-focus{outline:0;-webkit-tap-highlight-color:transpar
|
|
|
118
111
|
this.handlerExternalCss();
|
|
119
112
|
return;
|
|
120
113
|
}
|
|
121
|
-
e === "active" && o ? D(this.ionDropdownItem, "ranui-dropdown-option-active") :
|
|
114
|
+
e === "active" && o ? D(this.ionDropdownItem, "ranui-dropdown-option-active") : k(this.ionDropdownItem, "ranui-dropdown-option-active");
|
|
122
115
|
}
|
|
123
116
|
};
|
|
124
117
|
f("r-dropdown-item", B);
|
|
@@ -132,8 +125,8 @@ var A = {
|
|
|
132
125
|
remove: "ran-dropdown-up-out"
|
|
133
126
|
}
|
|
134
127
|
};
|
|
135
|
-
E("arrow-down",
|
|
136
|
-
var V =
|
|
128
|
+
E("arrow-down", T);
|
|
129
|
+
var V = S(), I = 300, z = class extends _ {
|
|
137
130
|
static formAssociated = !0;
|
|
138
131
|
_internals;
|
|
139
132
|
_events = new x();
|
|
@@ -179,7 +172,7 @@ var V = k(), I = 300, z = class extends _ {
|
|
|
179
172
|
} catch {
|
|
180
173
|
this._internals = void 0;
|
|
181
174
|
}
|
|
182
|
-
this._listboxId = `ran-select-listbox-${Math.random().toString(36).slice(2, 9)}`, this._activeIndex = -1, this._optionList = [], this._optionLabelMapValue = /* @__PURE__ */ new Map(), this._optionValueMapLabel = /* @__PURE__ */ new Map(), this._shadowDom =
|
|
175
|
+
this._listboxId = `ran-select-listbox-${Math.random().toString(36).slice(2, 9)}`, this._activeIndex = -1, this._optionList = [], this._optionLabelMapValue = /* @__PURE__ */ new Map(), this._optionValueMapLabel = /* @__PURE__ */ new Map(), this._shadowDom = b(this, L);
|
|
183
176
|
const e = m(this._shadowDom, ".ran-select", () => l().class("ran-select").part("select").children(l().class("selection").part("selection").children(v("r-icon").class("icon").part("icon").attr("name", "arrow-down").attr("color", "var(--ran-color-text-secondary)").attr("size", "16"), l().children(C().class("selection-item").part("selection-item"), O().class("selection-search").part("search").attr("type", "search").attr("autocomplete", "off"))), g().class("slot")).build());
|
|
184
177
|
this._select = e, this._selection = e.querySelector(".selection"), this._selector = this._selection.querySelector("div"), this._icon = e.querySelector(".icon"), this._text = e.querySelector(".selection-item"), this._search = e.querySelector(".selection-search"), this._slot = e.querySelector("slot");
|
|
185
178
|
}
|
|
@@ -311,7 +304,7 @@ var V = k(), I = 300, z = class extends _ {
|
|
|
311
304
|
}
|
|
312
305
|
};
|
|
313
306
|
handlerExternalCss() {
|
|
314
|
-
|
|
307
|
+
w(this, this._shadowDom, "sheet", null, this.sheet);
|
|
315
308
|
}
|
|
316
309
|
setSelectDropdownDisplayNone = () => {
|
|
317
310
|
this._selectDropDownOutTimeId || (this.updateAriaExpanded(!1), this._selectionDropdown && this._selectionDropdown.style.display !== "none" && (this._detachReposition(), this._selectionDropdown.setAttribute("transit", A[this.placement].remove), this._selectDropDownOutTimeId = setTimeout(() => {
|
package/dist/select.js
CHANGED