@orangelogic/design-system 5.1.0 → 5.2.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/{abnfDiagram-N423BO3Z.H1zwr_k6.js → abnfDiagram-N423BO3Z.DF8zrlpl.js} +3 -3
- package/library/chunks/{alert.DcLDhp3k.js → alert.D4RTWtiS.js} +2 -2
- package/library/chunks/{architectureDiagram-T3A2C74G.AxjW1Pvo.js → architectureDiagram-T3A2C74G.ChMyS2RN.js} +5 -5
- package/library/chunks/{array-line-clamp.DXOk4Q3x.js → array-line-clamp.CFndztdp.js} +2 -2
- package/library/chunks/{asset-link-format.DqMFH-AV.js → asset-link-format.BbDrlRL5.js} +733 -658
- package/library/chunks/{audio.DhBjwOl_.js → audio.jEmfjIWU.js} +2 -2
- package/library/chunks/{bicolor-picker.COIlx1gv.js → bicolor-picker.DoLf8yCy.js} +1 -1
- package/library/chunks/{block-width.BOCYHUDs.js → block-width.nVsYTBw6.js} +40 -40
- package/library/chunks/{blockDiagram-VBNYF7ZC.BA5YJ5tg.js → blockDiagram-VBNYF7ZC.Dd9MRQVF.js} +6 -6
- package/library/chunks/{border-input-group.QyWhH0yj.js → border-input-group.CQ-BZvjI.js} +3 -3
- package/library/chunks/{breadcrumb.SMzaqsuX.js → breadcrumb.8_0yuiOI.js} +1 -1
- package/library/chunks/{button.DHmArHfu.js → button.VUFrOP0u.js} +3 -3
- package/library/chunks/{c4Diagram-5PPSVZJV.B1weqOqz.js → c4Diagram-5PPSVZJV.BYo1Zq25.js} +3 -3
- package/library/chunks/{channel.Bqlqmufs.js → channel.DQU07rrH.js} +1 -1
- package/library/chunks/{checkbox.CA7imbiT.js → checkbox.BzR50Is_.js} +1 -1
- package/library/chunks/{chunk-2GRJ4B5K.BOBf1_FX.js → chunk-2GRJ4B5K.DSIuCed9.js} +1 -1
- package/library/chunks/{chunk-4I5QYGJK.DfO_P7bO.js → chunk-4I5QYGJK.C74S0dID.js} +1 -1
- package/library/chunks/{chunk-5RXB4S5H.oisV3Q1b.js → chunk-5RXB4S5H.BSZ9vwQ_.js} +6 -6
- package/library/chunks/{chunk-6Q2QTUOP.ByglL7sM.js → chunk-6Q2QTUOP.C98k0Ypz.js} +2 -2
- package/library/chunks/{chunk-7Z6QIM7H.BXSFN_6B.js → chunk-7Z6QIM7H.CbyAI1qL.js} +6 -6
- package/library/chunks/{chunk-GF5L2VYU.BBRVN_Sz.js → chunk-GF5L2VYU.BwnEI-9p.js} +6 -6
- package/library/chunks/{chunk-I66GZJ75.lUTR0Zxp.js → chunk-I66GZJ75.hYJHAb8_.js} +1 -1
- package/library/chunks/{chunk-JQJVKLGR.dOAJ_eec.js → chunk-JQJVKLGR.Ca9c6WQC.js} +8 -8
- package/library/chunks/{chunk-KBJHAD2P.Bfz5cQAa.js → chunk-KBJHAD2P.Dpm7St5I.js} +1 -1
- package/library/chunks/{chunk-NSK5VX7P.BkWzMz1o.js → chunk-NSK5VX7P.JTL9VQLt.js} +1 -1
- package/library/chunks/{chunk-QR6OTTB3.DyBl4spZ.js → chunk-QR6OTTB3.1iZWec7S.js} +6 -6
- package/library/chunks/{chunk-UBXNYLIW.BjkOeuJd.js → chunk-UBXNYLIW.DiZRcRzh.js} +2 -2
- package/library/chunks/{chunk-W5SLKNZC.DzlXmWcA.js → chunk-W5SLKNZC.BpdNkiim.js} +1 -1
- package/library/chunks/{chunk-WRU74C26.BDl8PZFV.js → chunk-WRU74C26.BREX4nlj.js} +3 -3
- package/library/chunks/{classDiagram-JCYQIIEL.P36yteOv.js → classDiagram-JCYQIIEL.CHysnuuw.js} +12 -12
- package/library/chunks/{classDiagram-v2-OCEON4UE.C05djrx3.js → classDiagram-v2-OCEON4UE.CMVfaUrJ.js} +12 -12
- package/library/chunks/{color-picker.BERL3UOq.js → color-picker.C1CCN1nS.js} +11 -11
- package/library/chunks/{color-swatch-group.C0n7SaJl.js → color-swatch-group.BAIZMur5.js} +21 -21
- package/library/chunks/{color-swatch.CTbZYqbp.js → color-swatch.93BgkncM.js} +3 -3
- package/library/chunks/{config-manager.C2GBBqS5.js → config-manager.DijEOQly.js} +31 -31
- package/library/chunks/{configs-controller.BcOmixH6.js → configs-controller.B91MEy-4.js} +8 -8
- package/library/chunks/{confirm-popover.BiPCxJfb.js → confirm-popover.BRYw_62p.js} +4 -4
- package/library/chunks/{copy-button.muB45Tao.js → copy-button.BVuGJ0pX.js} +2 -2
- package/library/chunks/{corner-position-input-group.BKESUGfi.js → corner-position-input-group.zh-KziJB.js} +4 -4
- package/library/chunks/{cynefinDiagram-MW4NZA55.CN3dX-zy.js → cynefinDiagram-MW4NZA55.CNmGi2wN.js} +3 -3
- package/library/chunks/{dagre-VZM6K2ZE.DpSsP2YW.js → dagre-VZM6K2ZE.pAZyqROg.js} +8 -8
- package/library/chunks/{date-calendar.CSrG_jgw.js → date-calendar.D-LYjKFX.js} +2 -2
- package/library/chunks/{details.BQjEDJPA.js → details.BXMJk9oy.js} +1 -1
- package/library/chunks/{diagram-7IWD3JNH.C3K0gCHG.js → diagram-7IWD3JNH.BDOF6I2J.js} +4 -4
- package/library/chunks/{diagram-B4RE2ZJO.BULgC23C.js → diagram-B4RE2ZJO.DT1Xf2Kc.js} +2 -2
- package/library/chunks/{diagram-LBJQPF4R.BmYYTkym.js → diagram-LBJQPF4R.i67nojTE.js} +3 -3
- package/library/chunks/{diagram-Q27KOJAE.Bj5ayV3p.js → diagram-Q27KOJAE.C9Y5E3pX.js} +5 -5
- package/library/chunks/{diagram-UB23O5K3.Bu_lTx_A.js → diagram-UB23O5K3.Dxnn2pgu.js} +3 -3
- package/library/chunks/{dialog.BY2wT_Yq.js → dialog.C21jNK4r.js} +3 -3
- package/library/chunks/{diff.Bmdpmpvo.js → diff.BLPeoeMo.js} +1 -1
- package/library/chunks/{document-viewer.DviPbYQs.js → document-viewer.CZ2Fhfs7.js} +14 -14
- package/library/chunks/{dom.BLHsooDR.js → dom.8wD7rIGz.js} +1 -1
- package/library/chunks/{dot-pagination.Bc4kqtcF.js → dot-pagination.BdG_9NTv.js} +2 -2
- package/library/chunks/{drawer.UPV3DrmP.js → drawer.DM1zAUgP.js} +2 -2
- package/library/chunks/{dropdown.D6MQirjI.js → dropdown.DG5U64BM.js} +5 -5
- package/library/chunks/{dynamic-select.CsuWTgdl.js → dynamic-select.hfD2F6e4.js} +5 -5
- package/library/chunks/{e-chart.iJAWfcbZ.js → e-chart.BtYiI1g7.js} +2 -2
- package/library/chunks/{ebnfDiagram-BXEA7PRR.Cg96HHIs.js → ebnfDiagram-BXEA7PRR.C15CrBEH.js} +3 -3
- package/library/chunks/{element-clamp.fo2t5tv8.js → element-clamp.Bmn_oyV6.js} +2 -2
- package/library/chunks/{erDiagram-JOGREHBK.CrJ962th.js → erDiagram-JOGREHBK.BAFJcDwv.js} +11 -11
- package/library/chunks/{file-on-demand.CtYHSqZ8.js → file-on-demand.DoiRhsJ7.js} +17 -17
- package/library/chunks/flowDiagram-UKHOOZJN.BkgRtWrB.js +16 -0
- package/library/chunks/{folder-select.BHMjbJpa.js → folder-select.DrM6sqAw.js} +8 -8
- package/library/chunks/{form.D_eBa3AQ.js → form.ChOu6BIn.js} +1 -1
- package/library/chunks/{format-time.CJc4crvX.js → format-time.BZ7jIbu7.js} +1 -1
- package/library/chunks/{ganttDiagram-PKOTCBZU.D216_p5R.js → ganttDiagram-PKOTCBZU.BWKE9zb3.js} +2 -2
- package/library/chunks/{gitGraphDiagram-DS77QQ5N.BGTaYiUE.js → gitGraphDiagram-DS77QQ5N.Dh9BZvJA.js} +2 -2
- package/library/chunks/{header.BMzrFqrX.js → header.aHKslWaJ.js} +2 -2
- package/library/chunks/{i18n.tAD84KB3.js → i18n.qIMzqW-F.js} +4 -1
- package/library/chunks/{icon-button.hZj_g6Bt.js → icon-button.DTyZ7Nwc.js} +2 -2
- package/library/chunks/{iframe.DESEj5FX.js → iframe.DU9XEE6J.js} +1 -1
- package/library/chunks/{image-comparer.zps8IR5_.js → image-comparer.yDCQTe-Z.js} +1 -1
- package/library/chunks/{image.CSmzcQJh.js → image.C6ffajdy.js} +2 -2
- package/library/chunks/{infoDiagram-6WML65LV.BHVojFJh.js → infoDiagram-6WML65LV.BlZ2eFcf.js} +2 -2
- package/library/chunks/{input.is3tnNFr.js → input.1CW0nLBL.js} +2 -2
- package/library/chunks/{ishikawaDiagram-WSZJBQD7.nZsYnPcQ.js → ishikawaDiagram-WSZJBQD7.QMHGwtgV.js} +3 -3
- package/library/chunks/{journeyDiagram-NVQOT4AX.BXUxAk98.js → journeyDiagram-NVQOT4AX.C-ovuC8R.js} +2 -2
- package/library/chunks/{kanban-definition-27J2QSJJ.Bg8-oEtc.js → kanban-definition-27J2QSJJ.CwAo6fJw.js} +8 -8
- package/library/chunks/{line-clamp.iGRr7-Xj.js → line-clamp.BDFNqZZ8.js} +2 -2
- package/library/chunks/{markdown.BXDKzr2h.js → markdown.BBOqRlzE.js} +4 -4
- package/library/chunks/{masonry.DANqZg1j.js → masonry.BrOEearB.js} +3 -3
- package/library/chunks/{menu-item.DL81yBgV.js → menu-item.B6Lww_R9.js} +3 -3
- package/library/chunks/{menu.CVJpMzSd.js → menu.DgRAUDo_.js} +2 -2
- package/library/chunks/{mermaid.core.m1JI7kDY.js → mermaid.core.CGY0RVtv.js} +49 -49
- package/library/chunks/{mindmap-definition-FAOFIHXS.DwjOzYq5.js → mindmap-definition-FAOFIHXS.CQvqcBzU.js} +10 -10
- package/library/chunks/{option.y4dln0Vc.js → option.DXo-QZhI.js} +1 -1
- package/library/chunks/{padding-input-group.DxO3Jpy_.js → padding-input-group.tjIBMptQ.js} +1 -1
- package/library/chunks/{pagination.BNxyfajb.js → pagination.CVVtlgOf.js} +7 -7
- package/library/chunks/{pegDiagram-VL7TDLO6.BaVddVr3.js → pegDiagram-VL7TDLO6.CCjKBwxn.js} +3 -3
- package/library/chunks/{pieDiagram-7S7Q4E2Y.lZiCqBKs.js → pieDiagram-7S7Q4E2Y.BIlwtlJL.js} +3 -3
- package/library/chunks/{popup.CDY1A9dW.js → popup.jQD3De0E.js} +1 -1
- package/library/chunks/{position-picker.DTyM69dy.js → position-picker.DW9YTney.js} +2 -2
- package/library/chunks/{progress-bar.DCx1bJbA.js → progress-bar.2YrCjo_K.js} +1 -1
- package/library/chunks/{progress-ring.CLF04Ukk.js → progress-ring.D50j7Uhy.js} +1 -1
- package/library/chunks/purify.es.jxOE2kAK.js +867 -0
- package/library/chunks/{quadrantDiagram-CIZ2JOQS.DswnHa_z.js → quadrantDiagram-CIZ2JOQS.DorpRl0y.js} +1 -1
- package/library/chunks/{radio-card.Z4lQJH5n.js → radio-card.C_GVggMn.js} +1 -1
- package/library/chunks/{radio-group.CHlxPcrs.js → radio-group.DfR13lVB.js} +1 -1
- package/library/chunks/{railroadDiagram-AXF67PYL.RYtWvnP4.js → railroadDiagram-AXF67PYL.c5ghpRCW.js} +3 -3
- package/library/chunks/{range.9siIIf5L.js → range.C14Kx5Ln.js} +3 -3
- package/library/chunks/{rating.oryYIw6x.js → rating.B6WhmtiT.js} +1 -1
- package/library/chunks/{relative-time.U8veN742.js → relative-time.BF48GQmV.js} +1 -1
- package/library/chunks/{requirementDiagram-LRYGKXZP.BhxZAEJL.js → requirementDiagram-LRYGKXZP.MlkqKyhd.js} +10 -10
- package/library/chunks/{sankeyDiagram-W5VNT64P.Dk8npZSg.js → sankeyDiagram-W5VNT64P.Ch23b1-S.js} +1 -1
- package/library/chunks/{select.Bd8WvUMZ.js → select.D-QQK2rH.js} +61 -54
- package/library/chunks/{sequenceDiagram-SI44F4Z6.BNjBc769.js → sequenceDiagram-SI44F4Z6.CZxsjRpC.js} +4 -4
- package/library/chunks/{shadow-input-group.CoOi3L__.js → shadow-input-group.Ch6vHKZp.js} +2 -2
- package/library/chunks/{share-option-list.DM5dfW9M.js → share-option-list.DZHvOfV4.js} +3 -3
- package/library/chunks/{sidebar.DfNm5C-n.js → sidebar.BftNiyQt.js} +4 -4
- package/library/chunks/{size-input-group.BdYSDpsy.js → size-input-group.CbsKvFaO.js} +5 -5
- package/library/chunks/{spinner.DPl3rjQY.js → spinner.CCSVc6Z6.js} +1 -1
- package/library/chunks/{split-panel.D4Hn_Esh.js → split-panel.CRHvHDiv.js} +1 -1
- package/library/chunks/{src.DwbXw2Wv.js → src.D0_s2pWf.js} +4 -4
- package/library/chunks/src.DEO8lR91.js +103 -0
- package/library/chunks/{stateDiagram-OKZ733FA.DkiIgxjd.js → stateDiagram-OKZ733FA.JCaGHMmH.js} +12 -12
- package/library/chunks/{stateDiagram-v2-UEYNNEHI.oVj_Ex1_.js → stateDiagram-v2-UEYNNEHI.CKrKpvxj.js} +12 -12
- package/library/chunks/{step.CmqaPVg_.js → step.CiCIM79l.js} +3 -3
- package/library/chunks/{stepper-wizard.H45UqSLe.js → stepper-wizard.BKSPLzfU.js} +2 -2
- package/library/chunks/{stepper.CDWfFmPh.js → stepper.r0k2sIAi.js} +1 -1
- package/library/chunks/{string.9yahdkB8.js → string.TY0RTPc8.js} +1 -1
- package/library/chunks/{swimlanes-SLNWSIFB.DKU7qXJ7.js → swimlanes-SLNWSIFB.BnCITr-P.js} +8 -8
- package/library/chunks/{swimlanesDiagram-ULZ7WXOC.DYwYMO_K.js → swimlanesDiagram-ULZ7WXOC.DMYLowNi.js} +12 -12
- package/library/chunks/{switch.BM9msK5T.js → switch.BuleQplE.js} +1 -1
- package/library/chunks/{tab-group.6FT_XQDH.js → tab-group.B6O3pBw0.js} +8 -8
- package/library/chunks/{tab.q5aFhnHA.js → tab.DHblc3F_.js} +3 -3
- package/library/chunks/{tag.BSBIN-rz.js → tag.Bp7R2CeG.js} +3 -3
- package/library/chunks/{textarea.CHSZI8vt.js → textarea.BQV58bk8.js} +1 -1
- package/library/chunks/{timecode.DjI1OTXD.js → timecode.B6JsxLxl.js} +1 -1
- package/library/chunks/{timeline-definition-Z64GVDOM.agRZ87Zs.js → timeline-definition-Z64GVDOM.DpGlraiA.js} +3 -3
- package/library/chunks/{tooltip.DurE2LL4.js → tooltip.C11omEOs.js} +2 -2
- package/library/chunks/{tree.C0imvgIg.js → tree.CpN2Va5s.js} +4 -4
- package/library/chunks/{typeface.DPVH5wzi.js → typeface.oJr92CGd.js} +3 -3
- package/library/chunks/{vennDiagram-T6HMQDX7.Cd9lVObe.js → vennDiagram-T6HMQDX7.DYlGT1g9.js} +3 -3
- package/library/chunks/{video.CYO0jBx9.js → video.CtWiwJj6.js} +3 -3
- package/library/chunks/{wardleyDiagram-T6FBY63Y.yCklp5Oa.js → wardleyDiagram-T6FBY63Y.DFkqP4xG.js} +3 -3
- package/library/chunks/{xychartDiagram-ELKLHX3M.CLuRN0XK.js → xychartDiagram-ELKLHX3M.CmCPBha7.js} +5 -5
- package/library/components/alert.js +1 -1
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +54 -54
- package/library/components/audio.js +1 -1
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +1 -1
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/confirm-popover.js +1 -1
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +1 -1
- package/library/components/diff.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/dot-pagination.js +1 -1
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +1 -1
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +1 -1
- package/library/components/icon-button.js +1 -1
- package/library/components/iframe.js +1 -1
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +16 -16
- package/library/components/option.js +1 -1
- package/library/components/organisms.js +3 -3
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +1 -1
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/spinner.js +1 -1
- 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 +1 -1
- package/library/components/tab.js +1 -1
- 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 +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +111 -95
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/select/select.d.ts +7 -5
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +43 -2
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-dimensions/asset-link-format-dimensions.d.ts +12 -3
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.d.ts +1 -0
- package/library/packages/organisms/src/downloader/downloader.d.ts +6 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
- package/library/react-web-component.d.ts +12 -4
- package/library/utils.js +5 -5
- package/package.json +1 -1
- package/library/chunks/flowDiagram-UKHOOZJN.Bj_loY7-.js +0 -16
- package/library/chunks/purify.es.Bwsrv9kG.js +0 -866
- package/library/chunks/src.BGRU1qh5.js +0 -103
package/library/chunks/{quadrantDiagram-CIZ2JOQS.DswnHa_z.js → quadrantDiagram-CIZ2JOQS.DorpRl0y.js}
RENAMED
|
@@ -3,7 +3,7 @@ import { t } from "./linear.D9Qu8S4t.js";
|
|
|
3
3
|
import "./src.CmKw4853.js";
|
|
4
4
|
import { n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
5
5
|
import { t as r } from "./chunk-X3CZISLH.D200o-iZ.js";
|
|
6
|
-
import { D as i, H as a, K as o, U as s, a as c, c as l, f as u, v as d, w as f, x as p, y as m, z as h } from "./chunk-I66GZJ75.
|
|
6
|
+
import { D as i, H as a, K as o, U as s, a as c, c as l, f as u, v as d, w as f, x as p, y as m, z as h } from "./chunk-I66GZJ75.hYJHAb8_.js";
|
|
7
7
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-CIZ2JOQS.mjs
|
|
8
8
|
var g = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ n(function(e, t, n, r) {
|
|
@@ -6,7 +6,7 @@ import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
|
6
6
|
import { t as u } from "./slot.CZUlACxT.js";
|
|
7
7
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as f } from "./class-map.D8nsNOVJ.js";
|
|
9
|
-
import { t as p } from "./line-clamp.
|
|
9
|
+
import { t as p } from "./line-clamp.BDFNqZZ8.js";
|
|
10
10
|
import { t as m } from "./card.3c-X4hqR.js";
|
|
11
11
|
import { t as h } from "./radio.BmN7pFIX.js";
|
|
12
12
|
//#region ../../packages/atoms/src/components/radio-card/radio-card.styles.ts
|
|
@@ -7,7 +7,7 @@ import { t as u } from "./slot.CZUlACxT.js";
|
|
|
7
7
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
8
8
|
import { t as f } from "./class-map.D8nsNOVJ.js";
|
|
9
9
|
import { t as p } from "./style-map.DPGQIxip.js";
|
|
10
|
-
import { a as m, n as h, o as g, t as _ } from "./form.
|
|
10
|
+
import { a as m, n as h, o as g, t as _ } from "./form.ChOu6BIn.js";
|
|
11
11
|
import { t as v } from "./button-group.CPfXrqyq.js";
|
|
12
12
|
import { t as y } from "./form-control.styles.Cec6lJbi.js";
|
|
13
13
|
import { t as b } from "./default-value.opqQgoRT.js";
|
package/library/chunks/{railroadDiagram-AXF67PYL.RYtWvnP4.js → railroadDiagram-AXF67PYL.c5ghpRCW.js}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { g as e, t } from "./mermaid-parser.core.f6cjPNyo.js";
|
|
2
2
|
import { n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
3
3
|
import { t as r } from "./chunk-X3CZISLH.D200o-iZ.js";
|
|
4
|
-
import "./chunk-I66GZJ75.
|
|
5
|
-
import { n as i, r as a, t as o } from "./chunk-6Q2QTUOP.
|
|
4
|
+
import "./chunk-I66GZJ75.hYJHAb8_.js";
|
|
5
|
+
import { n as i, r as a, t as o } from "./chunk-6Q2QTUOP.C98k0Ypz.js";
|
|
6
6
|
import { t as s } from "./chunk-JWPE2WC7.BoG1jLCe.js";
|
|
7
|
-
import "./mermaid.core.
|
|
7
|
+
import "./mermaid.core.CGY0RVtv.js";
|
|
8
8
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/railroadDiagram-AXF67PYL.mjs
|
|
9
9
|
var c = e().Railroad.parser.LangiumParser, l = /* @__PURE__ */ n((e) => {
|
|
10
10
|
switch (e.$type) {
|
|
@@ -4,16 +4,16 @@ import { t as s } from "./event-options.DmLrpUIg.js";
|
|
|
4
4
|
import { t as c } from "./query.B1yi7t71.js";
|
|
5
5
|
import { t as l } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { t as u } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as d } from "./i18n.
|
|
7
|
+
import { t as d } from "./i18n.qIMzqW-F.js";
|
|
8
8
|
import { t as f } from "./slot.CZUlACxT.js";
|
|
9
9
|
import { t as p } from "./watch.Ub5r8btz.js";
|
|
10
10
|
import { t as m } from "./class-map.D8nsNOVJ.js";
|
|
11
11
|
import { t as h } from "./if-defined.B29V_rEp.js";
|
|
12
12
|
import { t as g } from "./style-map.DPGQIxip.js";
|
|
13
13
|
import { t as _ } from "./debounce.Ci-xdsHE.js";
|
|
14
|
-
import { t as v } from "./form.
|
|
14
|
+
import { t as v } from "./form.ChOu6BIn.js";
|
|
15
15
|
import { t as y } from "./resize-observer.D9EHlnZI.js";
|
|
16
|
-
import { t as b } from "./tooltip.
|
|
16
|
+
import { t as b } from "./tooltip.C11omEOs.js";
|
|
17
17
|
import { t as x } from "./form-control.styles.Cec6lJbi.js";
|
|
18
18
|
import { t as S } from "./default-value.opqQgoRT.js";
|
|
19
19
|
import { t as C } from "./live.DBO71pfx.js";
|
|
@@ -4,7 +4,7 @@ import { t as s } from "./event-options.DmLrpUIg.js";
|
|
|
4
4
|
import { t as c } from "./query.B1yi7t71.js";
|
|
5
5
|
import { t as l } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { t as u } from "./custom-element.BEMYNDK1.js";
|
|
7
|
-
import { t as d } from "./i18n.
|
|
7
|
+
import { t as d } from "./i18n.qIMzqW-F.js";
|
|
8
8
|
import { t as f } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as p } from "./class-map.D8nsNOVJ.js";
|
|
10
10
|
import { t as m } from "./icon.CeQpEaQz.js";
|
|
@@ -2,7 +2,7 @@ import { c as e, d as t } from "./lit.CyJqR2kf.js";
|
|
|
2
2
|
import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as s } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as c } from "./custom-element.BEMYNDK1.js";
|
|
5
|
-
import { t as l } from "./i18n.
|
|
5
|
+
import { t as l } from "./i18n.qIMzqW-F.js";
|
|
6
6
|
//#region ../../packages/atoms/src/components/relative-time/relative-time.styles.ts
|
|
7
7
|
var u = t`:host{display:contents}.relative-time{color:var(--cx-relative-time-color,inherit);font-size:var(--cx-relative-time-font-size,inherit);font-weight:var(--cx-relative-time-font-weight,inherit)}`, d = [
|
|
8
8
|
{
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { g as e } from "./chunk-NSK5VX7P.
|
|
1
|
+
import { g as e } from "./chunk-NSK5VX7P.JTL9VQLt.js";
|
|
2
2
|
import { n as t, t as n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
3
3
|
import { t as r } from "./chunk-X3CZISLH.D200o-iZ.js";
|
|
4
|
-
import { H as i, K as a, U as o, a as s, b as c, v as l, w as u, x as d, y as f } from "./chunk-I66GZJ75.
|
|
5
|
-
import "./chunk-4I5QYGJK.
|
|
6
|
-
import "./chunk-WRU74C26.
|
|
4
|
+
import { H as i, K as a, U as o, a as s, b as c, v as l, w as u, x as d, y as f } from "./chunk-I66GZJ75.hYJHAb8_.js";
|
|
5
|
+
import "./chunk-4I5QYGJK.C74S0dID.js";
|
|
6
|
+
import "./chunk-WRU74C26.BREX4nlj.js";
|
|
7
7
|
import "./chunk-7BUUIJ7U.2HaDAqLO.js";
|
|
8
|
-
import "./chunk-UBXNYLIW.
|
|
8
|
+
import "./chunk-UBXNYLIW.DiZRcRzh.js";
|
|
9
9
|
import { t as p } from "./chunk-XXDRQBXY.BwfXrXWR.js";
|
|
10
|
-
import { t as m } from "./chunk-KBJHAD2P.
|
|
11
|
-
import "./chunk-W5SLKNZC.
|
|
12
|
-
import "./chunk-QR6OTTB3.
|
|
13
|
-
import "./chunk-7Z6QIM7H.
|
|
14
|
-
import { i as h, r as g } from "./mermaid.core.
|
|
10
|
+
import { t as m } from "./chunk-KBJHAD2P.Dpm7St5I.js";
|
|
11
|
+
import "./chunk-W5SLKNZC.BpdNkiim.js";
|
|
12
|
+
import "./chunk-QR6OTTB3.1iZWec7S.js";
|
|
13
|
+
import "./chunk-7Z6QIM7H.CbyAI1qL.js";
|
|
14
|
+
import { i as h, r as g } from "./mermaid.core.CGY0RVtv.js";
|
|
15
15
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-LRYGKXZP.mjs
|
|
16
16
|
var _ = (function() {
|
|
17
17
|
var e = /* @__PURE__ */ t(function(e, t, n, r) {
|
package/library/chunks/{sankeyDiagram-W5VNT64P.Dk8npZSg.js → sankeyDiagram-W5VNT64P.Ch23b1-S.js}
RENAMED
|
@@ -4,7 +4,7 @@ import "./src.CmKw4853.js";
|
|
|
4
4
|
import { a as n, i as r, n as i, r as a, t as o } from "./sankey.DJ37e3ft.js";
|
|
5
5
|
import { n as s } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
6
6
|
import "./chunk-X3CZISLH.D200o-iZ.js";
|
|
7
|
-
import { H as c, J as l, K as u, U as d, a as f, d as p, s as m, v as h, w as g, x as _, y as v } from "./chunk-I66GZJ75.
|
|
7
|
+
import { H as c, J as l, K as u, U as d, a as f, d as p, s as m, v as h, w as g, x as _, y as v } from "./chunk-I66GZJ75.hYJHAb8_.js";
|
|
8
8
|
//#region ../../node_modules/d3-scale-chromatic/src/colors.js
|
|
9
9
|
function y(e) {
|
|
10
10
|
for (var t = e.length / 6 | 0, n = Array(t), r = 0; r < t;) n[r] = "#" + e.slice(r * 6, ++r * 6);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as e, d as t, r as n } from "./lit.CyJqR2kf.js";
|
|
2
2
|
import { a as r, i, n as a, r as o, t as s } from "./cortex-element.DTrNUtdr.js";
|
|
3
3
|
import { t as c } from "./query.B1yi7t71.js";
|
|
4
|
-
import { t as l } from "./popup.
|
|
4
|
+
import { t as l } from "./popup.jQD3De0E.js";
|
|
5
5
|
import { t as u } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { n as d, o as f, t as p } from "./event.C11S4obG.js";
|
|
7
7
|
import { t as m } from "./custom-element.BEMYNDK1.js";
|
|
8
|
-
import { t as h } from "./i18n.
|
|
8
|
+
import { t as h } from "./i18n.qIMzqW-F.js";
|
|
9
9
|
import { t as g } from "./slot.CZUlACxT.js";
|
|
10
10
|
import { t as _ } from "./watch.Ub5r8btz.js";
|
|
11
11
|
import { t as v } from "./class-map.D8nsNOVJ.js";
|
|
@@ -13,21 +13,21 @@ import { r as y, t as b } from "./animation-registry.DKd2AOcC.js";
|
|
|
13
13
|
import { t as x } from "./if-defined.B29V_rEp.js";
|
|
14
14
|
import { t as S } from "./when.BUskJLtZ.js";
|
|
15
15
|
import { t as C } from "./icon.CeQpEaQz.js";
|
|
16
|
-
import { t as w } from "./spinner.
|
|
17
|
-
import { a as T, o as E } from "./string.
|
|
18
|
-
import { t as D } from "./form.
|
|
19
|
-
import { t as O } from "./line-clamp.
|
|
20
|
-
import { t as k } from "./tag.
|
|
16
|
+
import { t as w } from "./spinner.CCSVc6Z6.js";
|
|
17
|
+
import { a as T, o as E } from "./string.TY0RTPc8.js";
|
|
18
|
+
import { t as D } from "./form.ChOu6BIn.js";
|
|
19
|
+
import { t as O } from "./line-clamp.BDFNqZZ8.js";
|
|
20
|
+
import { t as k } from "./tag.Bp7R2CeG.js";
|
|
21
21
|
import { t as A } from "./typography.B0mkhqTB.js";
|
|
22
22
|
import { t as j } from "./form-control.styles.Cec6lJbi.js";
|
|
23
23
|
import { t as M } from "./default-value.opqQgoRT.js";
|
|
24
24
|
import { n as N } from "./active-elements.Tk45XSNQ.js";
|
|
25
|
-
import { t as P } from "./option.
|
|
25
|
+
import { t as P } from "./option.DXo-QZhI.js";
|
|
26
26
|
import { n as F } from "./scroll.CEH_a4pm.js";
|
|
27
27
|
import { t as I } from "./user-agent.D2bRhUeS.js";
|
|
28
28
|
import { t as L } from "./unsafe-html.Cb838aX7.js";
|
|
29
29
|
//#region ../../packages/atoms/src/utilities/type-check.ts
|
|
30
|
-
var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement || customElements.get(e.tagName.toLowerCase())), z = t`:host{display:block}:host([data-user-invalid])::part(combobox){border-color:var(--cx-input-invalid-border-color)}:host([data-user-invalid]:focus-within)::part(combobox){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.select{vertical-align:middle;flex:auto;width:100%;display:inline-flex;position:relative}.select::part(popup){z-index:var(--cx-z-index-dropdown)}.select[data-current-placement^=top]::part(popup){transform-origin:bottom}.select[data-current-placement^=bottom]::part(popup){transform-origin:top}.select__combobox{font-family:var(--cx-input-font-family);font-weight:var(--cx-input-font-weight);letter-spacing:var(--cx-input-letter-spacing);vertical-align:middle;cursor:pointer;transition:var(--cx-transition-fast) color, var(--cx-transition-fast) border, var(--cx-transition-fast) box-shadow, var(--cx-transition-fast) background-color;flex:1;justify-content:start;align-items:center;width:20ch;min-width:0;display:flex;position:relative;overflow:hidden}.select__display-input{width:100%;font:inherit;color:var(--cx-input-color);cursor:inherit;-webkit-appearance:none;text-overflow:ellipsis;background:0 0;border:none;margin:0;padding:0;transition:padding-top .2s ease-in-out;position:relative;overflow:hidden}:host([allow-freetext]) .input-container,:host([allow-freetext]) .select__display-input{cursor:text}:host([allow-freetext]) .select--disabled .input-container,:host([allow-freetext]) .select--disabled .select__display-input{cursor:default}.select__tags+.select__display-input{padding-top:var(--cx-spacing-2x-small)}.select__display-input--small{line-height:var(--cx-line-height-small)}.select__display-input--medium{line-height:var(--cx-line-height-medium)}.select__display-input--large{line-height:var(--cx-line-height-large)}.select__display-input--hidden{visibility:hidden;height:0;padding-top:0!important}.form-control--has-label .select__display-input{padding-top:var(--cx-spacing-x-small);padding-bottom:var(--cx-spacing-2x-small)}.select__display-input::placeholder{color:var(--cx-input-placeholder-color)}.select:not(.select--disabled):hover .select__display-input{color:var(--cx-input-color-hover)}.select:not(.select--disabled):hover .select__combobox{border-color:var(--cx-input-border-color-hover)}.select__display-input:focus{outline:none}.select__value-input{opacity:0;z-index:-1;width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0}.select__tags{flex-wrap:wrap;align-items:center;max-width:100%;display:flex}.form-control--has-label .select__tags{margin-top:var(--cx-spacing-x-small)}.select--small:not(.select--placeholder-visible) .select__tags,.select--medium:not(.select--placeholder-visible) .select__tags,.select--large:not(.select--placeholder-visible) .select__tags{min-height:var(--cx-line-height-medium)}.select__tags::slotted(cx-tag){cursor:pointer!important}.select--disabled .select__tags,.select--disabled .select__tags::slotted(cx-tag){cursor:default!important}.select__tag-wrapper{line-height:1}.select--standard .select__combobox{background-color:var(--cx-input-background-color);border:solid var(--cx-input-border-width) var(--cx-input-border-color)}.select--standard.select--disabled .select__combobox{background-color:var(--cx-input-background-color-disabled);border-color:var(--cx-input-border-color-disabled);color:var(--cx-input-color-disabled);opacity:.5;cursor:default;outline:none}.select--standard:not(.select--disabled).select--open .select__combobox,.select--standard:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-background-color-focus);border-color:var(--cx-input-border-color-focus)}.select--filled .select__combobox{background-color:var(--cx-input-filled-background-color);color:var(--cx-input-color);border:none}.select--filled:hover:not(.select--disabled) .select__combobox{background-color:var(--cx-input-filled-background-color-hover)}.select--filled.select--disabled .select__combobox{background-color:var(--cx-input-filled-background-color-disabled);opacity:.5;cursor:default}.select--filled:not(.select--disabled).select--open .select__combobox,.select--filled:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-filled-background-color-focus);outline:var(--cx-focus-ring)}.select--small .select__combobox{border-radius:var(--cx-input-border-radius-small);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-small);padding-block:0;padding-inline:var(--cx-input-spacing-small)}.form-control:not(.form-control--has-label) .select--small.select--multiple .select__combobox{padding-block:2px}.form-control:not(.form-control--has-label) .select--multiple .select__display-input{margin-top:0}.form-control:not(.form-control--has-label) .input-container{justify-content:center}.form-control:not(.form-control--has-label) .input-container .select__display-input{margin-top:0}.select--small .select__clear{margin-inline-start:var(--cx-input-spacing-small)}.select--small .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-small)}.select--small .select__tags{gap:2px}.select--medium .select__combobox{border-radius:var(--cx-input-border-radius-medium);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-medium);padding-block:0;padding-inline:var(--cx-input-spacing-medium)}.form-control:not(.form-control--has-label) .select--medium.select--multiple .select__combobox{padding-block:3px}.select--medium .select__clear{margin-inline-start:var(--cx-input-spacing-medium)}.select--medium .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-medium)}.select--medium .select__tags{gap:3px}.select--large .select__combobox{border-radius:var(--cx-input-border-radius-large);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-large);padding-block:0;padding-inline:var(--cx-input-spacing-large)}.form-control:not(.form-control--has-label) .select--large.select--multiple .select__combobox{padding-block:4px}.select--large .select__clear{margin-inline-start:var(--cx-input-spacing-large)}.select--large .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-large)}.select--large .select__tags{gap:4px}.select--pill.select--small .select__combobox{border-radius:var(--cx-input-height-small)}.select--pill.select--medium .select__combobox{border-radius:var(--cx-input-height-medium)}.select--pill.select--large .select__combobox{border-radius:var(--cx-input-height-large)}.select__prefix,.select__suffix{color:var(--cx-input-placeholder-color);flex:0;align-items:center;display:inline-flex}.select__clear{font-size:inherit;color:var(--cx-input-icon-color);transition:var(--cx-transition-fast) color;cursor:pointer;z-index:1;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.select__clear:hover{color:var(--cx-input-icon-color-hover)}.select__clear:focus{outline:none}.select__expand-icon{transition:var(--cx-transition-medium) rotate ease;rotate:0;font-size:var(--cx-font-size-large);flex:none;align-items:center;margin-inline-start:var(--cx-spacing-small);display:flex}.select--open .select__expand-icon{rotate:var(--cx-select-expand-icon-rotate-open,-180deg)}.select__listbox{font-family:var(--cx-font-sans);font-size:var(--cx-font-size-medium);font-weight:var(--cx-font-weight-regular);box-shadow:var(--cx-shadow-large);background:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-radius:var(--cx-border-radius-large);padding-block:var(--cx-spacing-x-small);overscroll-behavior:none;max-width:var(--auto-size-available-width);max-height:var(--select-max-height,var(--auto-size-available-height));padding-inline:0;display:block;position:relative;overflow:auto}.select__listbox ::slotted(cx-divider){--spacing:var(--cx-spacing-x-small);width:calc(100% - (var(--cx-spacing-x-small) * 2));margin-inline:auto}.select__listbox ::slotted(small){font-size:var(--cx-font-size-x-small);font-weight:var(--cx-font-weight-medium);line-height:var(--cx-line-height-x-small);color:var(--cx-color-neutral-600);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);display:block}.select__no-options{font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-500);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);text-align:left;cursor:default;user-select:none;display:block}.select__options{display:contents}.select__footer{display:none}.select__listbox--has-footer{flex-direction:column;display:flex}.select__listbox--has-footer .select__options{overscroll-behavior:none;flex:0 auto;min-height:0;display:block;overflow:auto}.select__listbox--has-footer .select__footer{flex:none;display:block}.select__listbox--has-footer .select__footer:before{content:"";margin:0 var(--cx-spacing-x-small);border-top:solid var(--cx-panel-border-width) var(--cx-panel-border-color);display:block}.input-container{flex-direction:column;flex:1;align-self:stretch;width:0;display:inline-flex;position:relative}.input-container__display-value{column-gap:var(--cx-spacing-small);row-gap:var(--cx-spacing-3x-small);flex-flow:wrap;width:100%;height:100%;display:flex}.form-control__label{pointer-events:none;width:fit-content;line-height:1;-webkit-transition:transform .2s ease-in-out;-moz-transition:transform .2s ease-in-out;transition:transform .2s ease-in-out;position:relative}.select--small .form-control__label{transform:translateY(calc(( var(--cx-input-height-small) + 1.25rem - var(--cx-input-font-size-small) ) / 2));margin:0}.select--medium .form-control__label{transform:translateY(calc(( var(--cx-input-height-medium) / 2 + 1rem - var(--cx-input-font-size-medium) )));margin:0}.select--large .form-control__label{transform:translateY(calc(( var(--cx-input-height-large) + 1rem - var(--cx-input-font-size-large) ) / 2));margin:0}.form-control--has-label .select--small{min-height:calc(var(--cx-input-height-small) + 1rem)}.form-control--has-label .select--medium{min-height:calc(var(--cx-input-height-medium) + 1rem)}.form-control--has-label .select--large{min-height:calc(var(--cx-input-height-large) + 1rem)}.form-control--has-label .select--focused .form-control__label,.form-control--has-label .select--placeholder-visible .form-control__label,.form-control--has-label .select:not(.select--empty) .form-control__label{transform:translateY(calc(var(--cx-spacing-2x-small) + var(--cx-spacing-3x-small)))}.select__listbox slot{flex-direction:column;display:flex}:host([data-cx-input-group__input--first]:not([data-cx-input-group__input--last])) .select__combobox{border-start-end-radius:0;border-end-end-radius:0}:host([data-cx-input-group__input--inner]) .select__combobox{border-radius:0}:host([data-cx-input-group__input--last]:not([data-cx-input-group__input--first])) .select__combobox{border-start-start-radius:0;border-end-start-radius:0}:host([data-cx-input-group__input]:not([data-cx-input-group__input--first])){margin-inline-start:calc(-1 * var(--cx-input-border-width))}:host([data-cx-input-group__input--hover]){z-index:1}:host([data-cx-input-group__input--focus]),:host([data-cx-input-group__input][checked]){z-index:2}`, B = class extends s {
|
|
30
|
+
var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement || customElements.get(e.tagName.toLowerCase())), z = t`:host{display:block}:host([data-user-invalid])::part(combobox){border-color:var(--cx-input-invalid-border-color)}:host([data-user-invalid]:focus-within)::part(combobox){border-color:var(--cx-input-invalid-border-color);box-shadow:var(--cx-input-invalid-shadow)}.select{vertical-align:middle;flex:auto;width:100%;display:inline-flex;position:relative}.select::part(popup){z-index:var(--cx-z-index-dropdown)}.select[data-current-placement^=top]::part(popup){transform-origin:bottom}.select[data-current-placement^=bottom]::part(popup){transform-origin:top}.select__combobox{font-family:var(--cx-input-font-family);font-weight:var(--cx-input-font-weight);letter-spacing:var(--cx-input-letter-spacing);vertical-align:middle;cursor:pointer;transition:var(--cx-transition-fast) color, var(--cx-transition-fast) border, var(--cx-transition-fast) box-shadow, var(--cx-transition-fast) background-color;flex:1;justify-content:start;align-items:center;width:20ch;min-width:0;display:flex;position:relative;overflow:hidden}.select__display-input{width:100%;font:inherit;color:var(--cx-input-color);cursor:inherit;-webkit-appearance:none;text-overflow:ellipsis;background:0 0;border:none;margin:0;padding:0;transition:padding-top .2s ease-in-out;position:relative;overflow:hidden}:host([allow-freetext]) .input-container,:host([allow-freetext]) .select__display-input{cursor:text}:host([allow-freetext]) .select--disabled .input-container,:host([allow-freetext]) .select--disabled .select__display-input{cursor:default}.select__tags+.select__display-input{padding-top:var(--cx-spacing-2x-small)}.select__display-input--small{line-height:var(--cx-line-height-small)}.select__display-input--medium{line-height:var(--cx-line-height-medium)}.select__display-input--large{line-height:var(--cx-line-height-large)}.select__display-input--hidden{visibility:hidden;height:0;padding-top:0!important}.form-control--has-label .select__display-input{padding-top:var(--cx-spacing-x-small);padding-bottom:var(--cx-spacing-2x-small)}.select__display-input::placeholder{color:var(--cx-input-placeholder-color)}.select:not(.select--disabled):hover .select__display-input{color:var(--cx-input-color-hover)}.select:not(.select--disabled):hover .select__combobox{border-color:var(--cx-input-border-color-hover)}.select__display-input:focus{outline:none}.select__value-input{opacity:0;z-index:-1;width:100%;height:100%;margin:0;padding:0;position:absolute;top:0;left:0}.select__tags{flex-wrap:wrap;align-items:center;max-width:100%;display:flex}.form-control--has-label .select__tags{margin-top:var(--cx-spacing-x-small)}.select--small:not(.select--placeholder-visible) .select__tags,.select--medium:not(.select--placeholder-visible) .select__tags,.select--large:not(.select--placeholder-visible) .select__tags{min-height:var(--cx-line-height-medium)}.select__tags::slotted(cx-tag){cursor:pointer!important}.select--disabled .select__tags,.select--disabled .select__tags::slotted(cx-tag){cursor:default!important}.select__tag-wrapper{line-height:1}.select--standard .select__combobox{background-color:var(--cx-input-background-color);border:solid var(--cx-input-border-width) var(--cx-input-border-color)}.select--standard.select--disabled .select__combobox{background-color:var(--cx-input-background-color-disabled);border-color:var(--cx-input-border-color-disabled);color:var(--cx-input-color-disabled);opacity:.5;cursor:default;outline:none}.select--standard:not(.select--disabled).select--open .select__combobox,.select--standard:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-background-color-focus);border-color:var(--cx-input-border-color-focus)}.select--filled .select__combobox{background-color:var(--cx-input-filled-background-color);color:var(--cx-input-color);border:none}.select--filled:hover:not(.select--disabled) .select__combobox{background-color:var(--cx-input-filled-background-color-hover)}.select--filled.select--disabled .select__combobox{background-color:var(--cx-input-filled-background-color-disabled);opacity:.5;cursor:default}.select--filled:not(.select--disabled).select--open .select__combobox,.select--filled:not(.select--disabled).select--focused .select__combobox{background-color:var(--cx-input-filled-background-color-focus);outline:var(--cx-focus-ring)}.select--small .select__combobox{border-radius:var(--cx-input-border-radius-small);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-small);padding-block:0;padding-inline:var(--cx-input-spacing-small)}.form-control:not(.form-control--has-label) .select--small.select--multiple .select__combobox{padding-block:2px}.form-control:not(.form-control--has-label) .select--multiple .select__display-input{margin-top:0}.form-control:not(.form-control--has-label) .input-container{justify-content:center}.form-control:not(.form-control--has-label) .input-container .select__display-input{margin-top:0}.select--small .select__clear{margin-inline-start:var(--cx-input-spacing-small)}.select--small .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-small)}.select--small .select__tags{gap:2px}.select--medium .select__combobox{border-radius:var(--cx-input-border-radius-medium);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-medium);padding-block:0;padding-inline:var(--cx-input-spacing-medium)}.form-control:not(.form-control--has-label) .select--medium.select--multiple .select__combobox{padding-block:3px}.select--medium .select__clear{margin-inline-start:var(--cx-input-spacing-medium)}.select--medium .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-medium)}.select--medium .select__tags{gap:3px}.select--large .select__combobox{border-radius:var(--cx-input-border-radius-large);font-size:var(--cx-input-font-size-small);min-height:var(--cx-input-height-large);padding-block:0;padding-inline:var(--cx-input-spacing-large)}.form-control:not(.form-control--has-label) .select--large.select--multiple .select__combobox{padding-block:4px}.select--large .select__clear{margin-inline-start:var(--cx-input-spacing-large)}.select--large .select__prefix::slotted(*){margin-inline-end:var(--cx-input-spacing-large)}.select--large .select__tags{gap:4px}.select--pill.select--small .select__combobox{border-radius:var(--cx-input-height-small)}.select--pill.select--medium .select__combobox{border-radius:var(--cx-input-height-medium)}.select--pill.select--large .select__combobox{border-radius:var(--cx-input-height-large)}.select__prefix,.select__suffix{color:var(--cx-input-placeholder-color);flex:0;align-items:center;display:inline-flex}.select__clear{font-size:inherit;color:var(--cx-input-icon-color);transition:var(--cx-transition-fast) color;cursor:pointer;z-index:1;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.select__clear:hover{color:var(--cx-input-icon-color-hover)}.select__clear:focus{outline:none}.select__expand-icon{transition:var(--cx-transition-medium) rotate ease;rotate:0;font-size:var(--cx-font-size-large);flex:none;align-items:center;margin-inline-start:var(--cx-spacing-small);display:flex}.select--open .select__expand-icon{rotate:var(--cx-select-expand-icon-rotate-open,-180deg)}.select__listbox{font-family:var(--cx-font-sans);font-size:var(--cx-font-size-medium);font-weight:var(--cx-font-weight-regular);box-shadow:var(--cx-shadow-large);background:var(--cx-panel-background-color);border:solid var(--cx-panel-border-width) var(--cx-panel-border-color);border-radius:var(--cx-border-radius-large);padding-block:var(--cx-spacing-x-small);overscroll-behavior:none;max-width:var(--auto-size-available-width);max-height:var(--select-max-height,var(--auto-size-available-height));padding-inline:0;display:block;position:relative;overflow:auto}.select__listbox ::slotted(cx-divider){--spacing:var(--cx-spacing-x-small);width:calc(100% - (var(--cx-spacing-x-small) * 2));margin-inline:auto}.select__listbox ::slotted(small){font-size:var(--cx-font-size-x-small);font-weight:var(--cx-font-weight-medium);line-height:var(--cx-line-height-x-small);color:var(--cx-color-neutral-600);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);display:block}.select__no-options{font-size:var(--cx-font-size-small);color:var(--cx-color-neutral-500);padding-block:var(--cx-spacing-2x-small);padding-inline:var(--cx-spacing-small);text-align:left;cursor:default;user-select:none;display:block}.select__options{display:contents}.select__footer{display:none}.select__listbox--has-footer{flex-direction:column;display:flex}.select__listbox--has-footer .select__options{overscroll-behavior:none;flex:0 auto;min-height:0;display:block;overflow:auto}.select__listbox--has-footer .select__footer{flex:none;display:block}.select__listbox--has-footer .select__footer--separated:before{content:"";margin:0 var(--cx-spacing-x-small);border-top:solid var(--cx-panel-border-width) var(--cx-panel-border-color);display:block}.input-container{flex-direction:column;flex:1;align-self:stretch;width:0;display:inline-flex;position:relative}.input-container__display-value{column-gap:var(--cx-spacing-small);row-gap:var(--cx-spacing-3x-small);flex-flow:wrap;width:100%;height:100%;display:flex}.form-control__label{pointer-events:none;width:fit-content;line-height:1;-webkit-transition:transform .2s ease-in-out;-moz-transition:transform .2s ease-in-out;transition:transform .2s ease-in-out;position:relative}.select--small .form-control__label{transform:translateY(calc(( var(--cx-input-height-small) + 1.25rem - var(--cx-input-font-size-small) ) / 2));margin:0}.select--medium .form-control__label{transform:translateY(calc(( var(--cx-input-height-medium) / 2 + 1rem - var(--cx-input-font-size-medium) )));margin:0}.select--large .form-control__label{transform:translateY(calc(( var(--cx-input-height-large) + 1rem - var(--cx-input-font-size-large) ) / 2));margin:0}.form-control--has-label .select--small{min-height:calc(var(--cx-input-height-small) + 1rem)}.form-control--has-label .select--medium{min-height:calc(var(--cx-input-height-medium) + 1rem)}.form-control--has-label .select--large{min-height:calc(var(--cx-input-height-large) + 1rem)}.form-control--has-label .select--focused .form-control__label,.form-control--has-label .select--placeholder-visible .form-control__label,.form-control--has-label .select:not(.select--empty) .form-control__label{transform:translateY(calc(var(--cx-spacing-2x-small) + var(--cx-spacing-3x-small)))}.select__listbox slot{flex-direction:column;display:flex}:host([data-cx-input-group__input--first]:not([data-cx-input-group__input--last])) .select__combobox{border-start-end-radius:0;border-end-end-radius:0}:host([data-cx-input-group__input--inner]) .select__combobox{border-radius:0}:host([data-cx-input-group__input--last]:not([data-cx-input-group__input--first])) .select__combobox{border-start-start-radius:0;border-end-start-radius:0}:host([data-cx-input-group__input]:not([data-cx-input-group__input--first])){margin-inline-start:calc(-1 * var(--cx-input-border-width))}:host([data-cx-input-group__input--hover]){z-index:1}:host([data-cx-input-group__input--focus]),:host([data-cx-input-group__input][checked]){z-index:2}`, B = class extends s {
|
|
31
31
|
constructor(...t) {
|
|
32
32
|
super(...t), this.formControlController = new D(this, { assumeInteractionOn: ["cx-input"] }), this.hasSlotController = new g(this, "footer", "help-text", "label"), this.localize = new h(this), this.typeToSelectString = "", this.openListenersRoot = null, this.hasFocus = !1, this.displayLabel = "", this.selectedOptions = [], this.name = "", this.value = "", this.fallbackOptionValue = "", this.matchEmptyValue = !1, this.defaultValue = "", this.size = "medium", this.placeholder = "", this.allowFreetext = !1, this.multiple = !1, this.maxOptionsVisible = 3, this.disabled = !1, this.clearable = !1, this.open = !1, this.hoist = !1, this.noFlip = !1, this.freeWidth = !1, this.autosizePadding = 10, this.filled = !1, this.pill = !1, this.label = "", this.placement = "bottom", this.helpText = "", this.form = void 0, this.required = !1, this.useTag = !1, this.noSelectOnEnter = !1, this.noResetCurrent = !1, this.noDropdown = !1, this.noExpandIcon = !1, this.loading = !1, this.getTag = (t) => {
|
|
33
33
|
let n = this.hasSlotController.test("label"), r = this.label || n ? this.size === "large" ? "medium" : "small" : this.size;
|
|
@@ -60,7 +60,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
60
60
|
this.show();
|
|
61
61
|
return;
|
|
62
62
|
}
|
|
63
|
-
this.currentOption && !this.currentOption.hidden && this.currentOption.isConnected && !this.getOptionDisabled(this.currentOption) && (this.noSelectOnEnter || (this.multiple ? (this.toggleOptionSelection(this.currentOption), this.#
|
|
63
|
+
this.currentOption && !this.currentOption.hidden && this.currentOption.isConnected && !this.getOptionDisabled(this.currentOption) && (this.noSelectOnEnter || (this.multiple ? (this.toggleOptionSelection(this.currentOption), this.#p(), this.inputBehavior === "select" && this.selectOptionByInput()) : this.setSelectedOptions(this.currentOption), this.updateComplete.then(() => {
|
|
64
64
|
this.emit("cx-input"), this.emit("cx-change");
|
|
65
65
|
})), (!this.multiple || this.closeOnSelect) && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 })));
|
|
66
66
|
return;
|
|
@@ -72,14 +72,14 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
72
72
|
"End"
|
|
73
73
|
].includes(e.key)) {
|
|
74
74
|
let t = this.getAllOptions().filter((e) => this.inputBehavior !== "filter" || !e.hidden), n = this.currentOption ? t.indexOf(this.currentOption) : -1, r = Math.max(0, n);
|
|
75
|
-
if (e.preventDefault(), !this.open && (!this.#
|
|
75
|
+
if (e.preventDefault(), !this.open && (!this.#c() || (this.show(), this.currentOption))) return;
|
|
76
76
|
e.key === "ArrowDown" ? (r = n + 1, r > t.length - 1 && (r = 0)) : e.key === "ArrowUp" ? (r = n - 1, r < 0 && (r = t.length - 1)) : e.key === "Home" ? r = 0 : e.key === "End" && (r = t.length - 1), this.setCurrentOption(t[r]);
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
}, this.handleDocumentMouseDown = (e) => {
|
|
80
80
|
let t = e.composedPath();
|
|
81
81
|
this && !t.includes(this) && !this.stayOpenOnSelect && this.hide();
|
|
82
|
-
}, this.#
|
|
82
|
+
}, this.#l = {
|
|
83
83
|
folded: "",
|
|
84
84
|
raw: ""
|
|
85
85
|
};
|
|
@@ -100,6 +100,10 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
100
100
|
get shouldShowNoOptionsMessage() {
|
|
101
101
|
return !!this.noOptionText && this.getVisibleOptions().length === 0;
|
|
102
102
|
}
|
|
103
|
+
get #n() {
|
|
104
|
+
let e = this.getVisibleOptions();
|
|
105
|
+
return e.length > 0 && !this.#i(e[0]) && this.#i(e[e.length - 1]);
|
|
106
|
+
}
|
|
103
107
|
get validity() {
|
|
104
108
|
return this.valueInput ? this.valueInput.validity : { valid: !0 };
|
|
105
109
|
}
|
|
@@ -137,7 +141,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
137
141
|
}
|
|
138
142
|
}
|
|
139
143
|
filterCallback(e, t) {
|
|
140
|
-
return this.filterIgnoreAccents ? E(this.getOptionLabel(e), { ignoreAccents: !0 }).includes(this.#
|
|
144
|
+
return this.filterIgnoreAccents ? E(this.getOptionLabel(e), { ignoreAccents: !0 }).includes(this.#u(t)) : this.getOptionLabel(e).toLowerCase().includes(t);
|
|
141
145
|
}
|
|
142
146
|
connectedCallback() {
|
|
143
147
|
super.connectedCallback(), this.stayOpenOnSelect || (this.open = !1);
|
|
@@ -166,7 +170,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
166
170
|
}
|
|
167
171
|
handleBlur(e) {
|
|
168
172
|
let t = e.relatedTarget;
|
|
169
|
-
t && this.contains(t) || (this.hasFocus = !1, this.allowFreetext || (this.displayLabel = this.#
|
|
173
|
+
t && this.contains(t) || (this.hasFocus = !1, this.allowFreetext || (this.displayLabel = this.#s(), this.displayInput.value = this.displayLabel, this.typeToSelectString = ""), this.emit("cx-blur"));
|
|
170
174
|
}
|
|
171
175
|
handleInput(e) {
|
|
172
176
|
let t = e.target, n = [
|
|
@@ -192,7 +196,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
192
196
|
break;
|
|
193
197
|
case "select": this.selectOptionByInput();
|
|
194
198
|
}
|
|
195
|
-
this.#
|
|
199
|
+
this.#d();
|
|
196
200
|
}
|
|
197
201
|
handleComboboxMouseDown(e) {
|
|
198
202
|
let t = e.composedPath(), n = !1, r = !1;
|
|
@@ -204,13 +208,13 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
204
208
|
e instanceof HTMLElement && e.tagName.toLowerCase() === "cx-icon-button" && (n = !0);
|
|
205
209
|
}), !(this.disabled || n) && (r || this.inputBehavior !== "filter" || !this.open || !this.multiple && !this.useTag ? (this.allowDefaultMouseDown || this.allowFreetext ? requestAnimationFrame(() => {
|
|
206
210
|
this.displayInput.focus({ preventScroll: !0 });
|
|
207
|
-
}) : (e.preventDefault(), this.displayInput.focus({ preventScroll: !0 })), this.open = !this.open && (this.getAllOptions().length > 0 || !!this.noOptionText) && this.#
|
|
211
|
+
}) : (e.preventDefault(), this.displayInput.focus({ preventScroll: !0 })), this.open = !this.open && (this.getAllOptions().length > 0 || !!this.noOptionText) && this.#c()) : (this.allowFreetext || e.preventDefault(), this.displayInput.focus({ preventScroll: !0 })));
|
|
208
212
|
}
|
|
209
213
|
handleComboboxKeyDown(e) {
|
|
210
214
|
e.key !== "Tab" && ((e.key !== "Escape" || this.open && (this.shouldShowNoOptionsMessage || this.getVisibleOptions().length > 0)) && e.stopPropagation(), this.handleDocumentKeyDown(e));
|
|
211
215
|
}
|
|
212
216
|
handleClearClick(e) {
|
|
213
|
-
e.stopPropagation(), (this.value !== "" || this.displayLabel !== "") && (this.setSelectedOptions([]), this.displayInput.focus({ preventScroll: !0 }), this.#
|
|
217
|
+
e.stopPropagation(), (this.value !== "" || this.displayLabel !== "") && (this.setSelectedOptions([]), this.displayInput.focus({ preventScroll: !0 }), this.#p(), this.updateComplete.then(() => {
|
|
214
218
|
this.emit("cx-clear"), this.emit("cx-input"), this.emit("cx-change");
|
|
215
219
|
}));
|
|
216
220
|
}
|
|
@@ -219,7 +223,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
219
223
|
}
|
|
220
224
|
handleOptionClick(e) {
|
|
221
225
|
let t = e.target.closest("[role=\"option\"], cx-option"), n = this.value, r = e.composedPath().some((e) => e?.classList?.contains("tree-item__expand-button")), i = e.composedPath().some((e) => e?.classList?.contains("tree-item__actions"));
|
|
222
|
-
t && !this.getOptionDisabled(t) && !r && !i && (this.multiple ? (this.toggleOptionSelection(t), this.#
|
|
226
|
+
t && !this.getOptionDisabled(t) && !r && !i && (this.multiple ? (this.toggleOptionSelection(t), this.#p()) : this.setSelectedOptions(t), this.updateComplete.then(() => this.displayInput.focus({ preventScroll: !0 })), (this.value !== n || this.forceOnChange) && this.updateComplete.then(() => {
|
|
223
227
|
this.emit("cx-input"), this.emit("cx-change");
|
|
224
228
|
}), (!this.multiple || this.closeOnSelect) && !this.stayOpenOnSelect && (this.hide(), this.displayInput.focus({ preventScroll: !0 })));
|
|
225
229
|
}
|
|
@@ -240,26 +244,26 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
240
244
|
this.setSelectedOptions(r, i ? this.value : void 0), this.hasFocus && !this.open && !this.disabled && e.length > 0 && this.show();
|
|
241
245
|
}
|
|
242
246
|
handleTagRemove(e, t) {
|
|
243
|
-
e.stopPropagation(), this.disabled || (this.toggleOptionSelection(t, !1), this.#
|
|
247
|
+
e.stopPropagation(), this.disabled || (this.toggleOptionSelection(t, !1), this.#p(), this.updateComplete.then(() => {
|
|
244
248
|
this.emit("cx-input"), this.emit("cx-change");
|
|
245
249
|
}));
|
|
246
250
|
}
|
|
247
251
|
getAllOptions() {
|
|
248
|
-
return this.#
|
|
252
|
+
return this.#a([...this.querySelectorAll("[role=\"option\"], cx-option")]);
|
|
249
253
|
}
|
|
250
254
|
getFirstOption() {
|
|
251
255
|
return this.querySelector("cx-option");
|
|
252
256
|
}
|
|
253
|
-
#
|
|
254
|
-
return this.#
|
|
257
|
+
#r() {
|
|
258
|
+
return this.#a([...this.querySelectorAll("cx-option")]).find((e) => !e.hidden) ?? null;
|
|
255
259
|
}
|
|
256
|
-
#
|
|
260
|
+
#i(e) {
|
|
257
261
|
return e.slot === "footer" && e.parentElement === this;
|
|
258
262
|
}
|
|
259
|
-
#
|
|
260
|
-
return e.some((e) => this.#
|
|
263
|
+
#a(e) {
|
|
264
|
+
return e.some((e) => this.#i(e)) ? [...e.filter((e) => !this.#i(e)), ...e.filter((e) => this.#i(e))] : e;
|
|
261
265
|
}
|
|
262
|
-
#
|
|
266
|
+
#o() {
|
|
263
267
|
return this.hasSlotController.test("footer") ? this.optionsContainer : this.listbox;
|
|
264
268
|
}
|
|
265
269
|
getVisibleOptions() {
|
|
@@ -290,11 +294,11 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
290
294
|
let n = this.getOptionSelected(e), r = new Set(this.selectedOptions);
|
|
291
295
|
n ? r.add(e) : r.delete(e), this.selectionChanged(void 0, [...r]);
|
|
292
296
|
}
|
|
293
|
-
#
|
|
297
|
+
#s() {
|
|
294
298
|
return this.multiple ? "" : this.getOptionLabel(this.selectedOptions[0]) ?? "";
|
|
295
299
|
}
|
|
296
300
|
selectionChanged(e, t) {
|
|
297
|
-
this.selectedOptions = t ?? this.getAllOptions().filter((e) => this.getOptionSelected(e)), this.value = this.multiple ? e ?? this.selectedOptions.map((e) => this.getOptionValue(e)) : e ?? this.getOptionValue(this.selectedOptions[0]) ?? "", this.displayLabel = this.#
|
|
301
|
+
this.selectedOptions = t ?? this.getAllOptions().filter((e) => this.getOptionSelected(e)), this.value = this.multiple ? e ?? this.selectedOptions.map((e) => this.getOptionValue(e)) : e ?? this.getOptionValue(this.selectedOptions[0]) ?? "", this.displayLabel = this.#s(), this.updateComplete.then(() => {
|
|
298
302
|
this.formControlController.updateValidity();
|
|
299
303
|
});
|
|
300
304
|
}
|
|
@@ -327,13 +331,13 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
327
331
|
if (this.noDropdown) return;
|
|
328
332
|
if (this.inputBehavior === "filter" && this.filterOptionsByInput(), !this.noResetCurrent) {
|
|
329
333
|
let [e] = this.selectedOptions;
|
|
330
|
-
this.setCurrentOption(e && !e.hidden ? e : this.#
|
|
334
|
+
this.setCurrentOption(e && !e.hidden ? e : this.#r() ?? this.getFirstOption());
|
|
331
335
|
}
|
|
332
336
|
this.emit("cx-show"), this.addOpenListeners(), await f(this), this.listbox.hidden = !1, this.popup.active = !0, requestAnimationFrame(() => {
|
|
333
337
|
this.currentOption && this.setCurrentOption(this.currentOption);
|
|
334
338
|
});
|
|
335
339
|
let { keyframes: e, options: t } = b(this, "select.show", { dir: this.localize.dir() });
|
|
336
|
-
await d(this.popup.popup, e, t), this.currentOption && !this.#
|
|
340
|
+
await d(this.popup.popup, e, t), this.currentOption && !this.#i(this.currentOption) && F(this.currentOption, this.#o(), "vertical", "auto"), this.emit("cx-after-show");
|
|
337
341
|
} else {
|
|
338
342
|
this.emit("cx-hide"), this.removeOpenListeners(), await f(this);
|
|
339
343
|
let { keyframes: e, options: t } = b(this, "select.hide", { dir: this.localize.dir() });
|
|
@@ -347,31 +351,31 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
347
351
|
break;
|
|
348
352
|
}
|
|
349
353
|
}
|
|
350
|
-
#
|
|
354
|
+
#c() {
|
|
351
355
|
return this.typeToSelectString.length >= Math.max(0, this.minQueryLength || 0);
|
|
352
356
|
}
|
|
353
|
-
#
|
|
354
|
-
#
|
|
355
|
-
return this.#
|
|
357
|
+
#l;
|
|
358
|
+
#u(e) {
|
|
359
|
+
return this.#l.raw !== e && (this.#l = {
|
|
356
360
|
folded: E(e, { ignoreAccents: !0 }),
|
|
357
361
|
raw: e
|
|
358
|
-
}), this.#
|
|
362
|
+
}), this.#l.folded;
|
|
359
363
|
}
|
|
360
|
-
#
|
|
361
|
-
this.open && !this.#
|
|
364
|
+
#d() {
|
|
365
|
+
this.open && !this.#c() && this.hide();
|
|
362
366
|
}
|
|
363
|
-
#
|
|
367
|
+
#f(e) {
|
|
364
368
|
return !this.highlightMatches || e.hidden ? [] : T(e.getTextLabel(), this.typeToSelectString, { ignoreAccents: this.filterIgnoreAccents });
|
|
365
369
|
}
|
|
366
370
|
filterOptionsByInput() {
|
|
367
371
|
let e = this.getAllOptions();
|
|
368
|
-
for (let t of e) this.filterCallback(t, this.typeToSelectString) ? (t.hidden = !1, t.style.removeProperty("display")) : (t.hidden = !0, t.style.setProperty("display", "none")), t instanceof P && (t.matchRanges = this.#
|
|
369
|
-
this.#
|
|
370
|
-
}
|
|
371
|
-
#f() {
|
|
372
|
-
this.typeToSelectString = "", this.displayLabel = "", this.displayInput.value = "", this.inputBehavior === "filter" && this.filterOptionsByInput(), this.#u();
|
|
372
|
+
for (let t of e) this.filterCallback(t, this.typeToSelectString) ? (t.hidden = !1, t.style.removeProperty("display")) : (t.hidden = !0, t.style.setProperty("display", "none")), t instanceof P && (t.matchRanges = this.#f(t));
|
|
373
|
+
this.#m(), this.popup.style.removeProperty("--auto-size-available-width"), this.popup.style.removeProperty("--auto-size-available-height");
|
|
373
374
|
}
|
|
374
375
|
#p() {
|
|
376
|
+
this.typeToSelectString = "", this.displayLabel = "", this.displayInput.value = "", this.inputBehavior === "filter" && this.filterOptionsByInput(), this.#d();
|
|
377
|
+
}
|
|
378
|
+
#m() {
|
|
375
379
|
let { currentOption: e } = this;
|
|
376
380
|
if (!e || !e.hidden && e.isConnected) return;
|
|
377
381
|
let t = this.getVisibleOptions()[0];
|
|
@@ -382,7 +386,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
382
386
|
this.open = !1;
|
|
383
387
|
return;
|
|
384
388
|
}
|
|
385
|
-
if ((this.getAllOptions().length !== 0 || this.noOptionText) && this.#
|
|
389
|
+
if ((this.getAllOptions().length !== 0 || this.noOptionText) && this.#c()) return this.open = !0, p(this, "cx-after-show");
|
|
386
390
|
}
|
|
387
391
|
async hide() {
|
|
388
392
|
if (!this.open || this.disabled) {
|
|
@@ -398,11 +402,11 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
398
402
|
this.displayInput.blur();
|
|
399
403
|
}
|
|
400
404
|
render() {
|
|
401
|
-
let t = this.hasSlotController.test("label"), r = this.hasSlotController.test("help-text"), i = this.hasSlotController.test("footer"), a = this.label ? !0 : !!t,
|
|
405
|
+
let t = this.hasSlotController.test("label"), r = this.hasSlotController.test("help-text"), i = this.hasSlotController.test("footer"), a = i && this.#n, o = this.label ? !0 : !!t, s = this.helpText ? !0 : !!r, c = this.clearable && !this.disabled && (this.displayLabel.length > 0 || this.selectedOptions.length > 0), l = this.placeholder && this.value.length === 0 && this.displayLabel.length === 0, u = this.value.length === 0 && this.displayLabel.length === 0 || (this.multiple || this.useTag) && this.tags.length === 0, d = (this.multiple || this.useTag) && this.selectedOptions.length > 0;
|
|
402
406
|
return e`<div part="form-control" class=${v({
|
|
403
407
|
"form-control": !0,
|
|
404
|
-
"form-control--has-help-text":
|
|
405
|
-
"form-control--has-label":
|
|
408
|
+
"form-control--has-help-text": s,
|
|
409
|
+
"form-control--has-label": o,
|
|
406
410
|
"form-control--large": this.size === "large",
|
|
407
411
|
"form-control--medium": this.size === "medium",
|
|
408
412
|
"form-control--small": this.size === "small"
|
|
@@ -410,7 +414,7 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
410
414
|
select: !0,
|
|
411
415
|
"select--bottom": this.placement.startsWith("bottom"),
|
|
412
416
|
"select--disabled": this.disabled,
|
|
413
|
-
"select--empty":
|
|
417
|
+
"select--empty": u,
|
|
414
418
|
"select--filled": this.filled,
|
|
415
419
|
"select--focused": this.hasFocus || this.open,
|
|
416
420
|
"select--large": this.size === "large",
|
|
@@ -418,21 +422,24 @@ var R = (e) => !(document.createElement(e.tagName).constructor === HTMLElement |
|
|
|
418
422
|
"select--multiple": this.multiple || this.useTag,
|
|
419
423
|
"select--open": this.open,
|
|
420
424
|
"select--pill": this.pill,
|
|
421
|
-
"select--placeholder-visible":
|
|
425
|
+
"select--placeholder-visible": l,
|
|
422
426
|
"select--small": this.size === "small",
|
|
423
427
|
"select--standard": !0,
|
|
424
428
|
"select--top": this.placement.startsWith("top")
|
|
425
|
-
})} placement=${this.placement} strategy=${this.hoist ? "overlay" : "absolute"} ?flip=${!this.noFlip} shift sync=${this.freeWidth ? void 0 : "width"} auto-size="both" auto-size-padding=${this.autosizePadding} flip-padding="10"><div part="combobox" class="select__combobox" slot="anchor" @keydown=${this.handleComboboxKeyDown} @mousedown=${this.handleComboboxMouseDown}><slot part="prefix" name="prefix" class="select__prefix"></slot><span class="input-container" @click=${this.handleFocus}><label id="label" part="form-control-label" class="form-control__label" aria-hidden=${
|
|
429
|
+
})} placement=${this.placement} strategy=${this.hoist ? "overlay" : "absolute"} ?flip=${!this.noFlip} shift sync=${this.freeWidth ? void 0 : "width"} auto-size="both" auto-size-padding=${this.autosizePadding} flip-padding="10"><div part="combobox" class="select__combobox" slot="anchor" @keydown=${this.handleComboboxKeyDown} @mousedown=${this.handleComboboxMouseDown}><slot part="prefix" name="prefix" class="select__prefix"></slot><span class="input-container" @click=${this.handleFocus}><label id="label" part="form-control-label" class="form-control__label" aria-hidden=${o ? "false" : "true"}><slot name="label">${this.label}</slot></label>${S(d, () => e`<div part="tags" class="select__tags" @cx-remove=${this.handleTagRemove}>${this.tags}</div>`)}<input part="display-input" class=${v({
|
|
426
430
|
"select__display-input": !0,
|
|
427
|
-
"select__display-input--hidden": (this.multiple || this.useTag) && !this.hasFocus && !
|
|
431
|
+
"select__display-input--hidden": (this.multiple || this.useTag) && !this.hasFocus && !u && !(this.open && this.inputBehavior === "filter"),
|
|
428
432
|
"select__display-input--large": this.size === "large",
|
|
429
433
|
"select__display-input--medium": this.size === "medium",
|
|
430
434
|
"select__display-input--small": this.size === "small"
|
|
431
|
-
})} type="text" placeholder=${
|
|
432
|
-
${S(
|
|
435
|
+
})} type="text" placeholder=${d ? "" : this.placeholder} .disabled=${this.disabled} ?readonly=${this.inputBehavior === "none" && !this.allowFreetext} .value=${this.displayLabel} autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded=${this.open ? "true" : "false"} aria-haspopup="listbox" aria-label=${x(o ? void 0 : this.dataset.label)} aria-labelledby=${x(o ? "label" : void 0)} aria-disabled=${this.disabled ? "true" : "false"} aria-describedby="help-text" role="combobox" tabindex="0" @focus=${this.handleFocus} @input=${this.handleInput} @blur=${this.handleBlur}></span><input class="select__value-input" type="text" ?disabled=${this.disabled} ?required=${this.required} .value=${Array.isArray(this.value) ? this.value.join(", ") : this.value} tabindex="-1" aria-hidden="true" @focus=${this.focus} @invalid=${this.handleInvalid}>${S(this.loading, () => e`<cx-spinner part="spinner" role="status" aria-live="polite"></cx-spinner>`)}
|
|
436
|
+
${S(c, () => e`<button part="clear-button" class="select__clear" type="button" aria-label=${this.localize.term("clearEntry")} @mousedown=${this.handleClearMouseDown} @click=${this.handleClearClick} tabindex="-1"><slot name="clear-icon"><cx-icon name="cancel"></cx-icon></slot></button>`)}<slot name="suffix" part="suffix" class="select__suffix"></slot>${this.noExpandIcon ? n : e`<slot name="expand-icon" part="expand-icon" class="select__expand-icon"><cx-icon name="arrow_drop_down"></cx-icon></slot>`}</div><div id="listbox" role="listbox" aria-expanded=${this.open ? "true" : "false"} ?hidden=${!this.open || this.disabled} aria-multiselectable=${this.multiple ? "true" : "false"} aria-label=${x(o ? void 0 : this.dataset.label)} aria-labelledby=${x(o ? "label" : void 0)} part="listbox" class=${v({
|
|
433
437
|
select__listbox: !0,
|
|
434
438
|
"select__listbox--has-footer": i
|
|
435
|
-
})} tabindex="-1" @mouseup=${this.handleOptionClick} @slotchange=${this.handleDefaultSlotChange}><div class="select__options"><slot></slot>${S(this.shouldShowNoOptionsMessage, () => e`<cx-typography variant="body3" class="select__no-options" role="option">${this.noOptionText}</cx-typography>`)}</div><div part="listbox-footer" class
|
|
439
|
+
})} tabindex="-1" @mouseup=${this.handleOptionClick} @slotchange=${this.handleDefaultSlotChange}><div class="select__options"><slot></slot>${S(this.shouldShowNoOptionsMessage, () => e`<cx-typography variant="body3" class="select__no-options" role="option">${this.noOptionText}</cx-typography>`)}</div><div part="listbox-footer" class=${v({
|
|
440
|
+
select__footer: !0,
|
|
441
|
+
"select__footer--separated": a
|
|
442
|
+
})}><slot name="footer"></slot></div></div></cx-popup></div><div part="form-control-help-text" id="help-text" class="form-control__help-text" aria-hidden=${s ? "false" : "true"}><slot name="help-text">${this.helpText}</slot></div></div>`;
|
|
436
443
|
}
|
|
437
444
|
};
|
|
438
445
|
a([c(".select"), o("design:type", l === void 0 ? Object : l)], B.prototype, "popup", void 0), a([c(".select__combobox"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], B.prototype, "combobox", void 0), a([c(".select__display-input"), o("design:type", typeof HTMLInputElement > "u" ? Object : HTMLInputElement)], B.prototype, "displayInput", void 0), a([c(".select__value-input"), o("design:type", Object)], B.prototype, "valueInput", void 0), a([c(".select__listbox"), o("design:type", typeof HTMLSlotElement > "u" ? Object : HTMLSlotElement)], B.prototype, "listbox", void 0), a([c(".select__options"), o("design:type", typeof HTMLElement > "u" ? Object : HTMLElement)], B.prototype, "optionsContainer", void 0), a([i(), o("design:type", Object)], B.prototype, "hasFocus", void 0), a([i(), o("design:type", Object)], B.prototype, "displayLabel", void 0), a([i(), o("design:type", Object)], B.prototype, "currentOption", void 0), a([i(), o("design:type", Array)], B.prototype, "selectedOptions", void 0), a([r(), o("design:type", Object)], B.prototype, "name", void 0), a([r({ converter: {
|
package/library/chunks/{sequenceDiagram-SI44F4Z6.BNjBc769.js → sequenceDiagram-SI44F4Z6.CZxsjRpC.js}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { g as e, p as t } from "./chunk-NSK5VX7P.
|
|
1
|
+
import { g as e, p as t } from "./chunk-NSK5VX7P.JTL9VQLt.js";
|
|
2
2
|
import { f as n } from "./src.CLGAM3OO.js";
|
|
3
3
|
import "./src.CmKw4853.js";
|
|
4
4
|
import { n as r } from "./chunk-Y2CYZVJY.BAad7w_K.js";
|
|
5
5
|
import { t as i } from "./chunk-X3CZISLH.D200o-iZ.js";
|
|
6
|
-
import { A as a, F as o, G as s, H as c, K as l, O as u, U as d, a as f, b as p, c as m, i as h, r as g, s as _, v, w as y, x as b, y as x, z as S } from "./chunk-I66GZJ75.
|
|
6
|
+
import { A as a, F as o, G as s, H as c, K as l, O as u, U as d, a as f, b as p, c as m, i as h, r as g, s as _, v, w as y, x as b, y as x, z as S } from "./chunk-I66GZJ75.hYJHAb8_.js";
|
|
7
7
|
import { t as C } from "./dist.bN347KJd.js";
|
|
8
|
-
import { a as w, c as T, i as E, n as D, r as O, s as k } from "./chunk-2GRJ4B5K.
|
|
8
|
+
import { a as w, c as T, i as E, n as D, r as O, s as k } from "./chunk-2GRJ4B5K.DSIuCed9.js";
|
|
9
9
|
import { t as A } from "./chunk-2Q5K7J3B.D-5BMjWP.js";
|
|
10
|
-
import { n as j, t as M } from "./mermaid.core.
|
|
10
|
+
import { n as j, t as M } from "./mermaid.core.CGY0RVtv.js";
|
|
11
11
|
//#region ../../node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-SI44F4Z6.mjs
|
|
12
12
|
var N = C(), P = (function() {
|
|
13
13
|
var e = /* @__PURE__ */ r(function(e, t, n, r) {
|
|
@@ -3,10 +3,10 @@ import { a as n, n as r, r as i, t as a } from "./cortex-element.DTrNUtdr.js";
|
|
|
3
3
|
import { t as o } from "./component.styles.0xM1ZmBs.js";
|
|
4
4
|
import { t as s } from "./custom-element.BEMYNDK1.js";
|
|
5
5
|
import { t as c } from "./repeat.CKv9FPlC.js";
|
|
6
|
-
import { t as l } from "./input.
|
|
6
|
+
import { t as l } from "./input.1CW0nLBL.js";
|
|
7
7
|
import { t as u } from "./space.Dd8jezXK.js";
|
|
8
8
|
import { t as d } from "./input-group.Dmd8XcxL.js";
|
|
9
|
-
import { t as f } from "./bicolor-picker.
|
|
9
|
+
import { t as f } from "./bicolor-picker.DoLf8yCy.js";
|
|
10
10
|
//#region ../../packages/molecules/src/shadow-input-group/shadow-input-group.styles.ts
|
|
11
11
|
var p = t``, m = class extends a {
|
|
12
12
|
constructor(...e) {
|
|
@@ -5,16 +5,16 @@ import { t as c } from "./query.B1yi7t71.js";
|
|
|
5
5
|
import { t as l } from "./component.styles.0xM1ZmBs.js";
|
|
6
6
|
import { i as u } from "./event.C11S4obG.js";
|
|
7
7
|
import { t as d } from "./custom-element.BEMYNDK1.js";
|
|
8
|
-
import { t as f } from "./i18n.
|
|
8
|
+
import { t as f } from "./i18n.qIMzqW-F.js";
|
|
9
9
|
import { t as p } from "./slot.CZUlACxT.js";
|
|
10
10
|
import { t as m } from "./watch.Ub5r8btz.js";
|
|
11
11
|
import { t as h } from "./class-map.D8nsNOVJ.js";
|
|
12
12
|
import { t as g } from "./when.BUskJLtZ.js";
|
|
13
13
|
import { t as _ } from "./icon.CeQpEaQz.js";
|
|
14
14
|
import { t as v } from "./style-map.DPGQIxip.js";
|
|
15
|
-
import { t as y } from "./dom.
|
|
15
|
+
import { t as y } from "./dom.8wD7rIGz.js";
|
|
16
16
|
import { t as b } from "./resize-observer.D9EHlnZI.js";
|
|
17
|
-
import { t as x } from "./tooltip.
|
|
17
|
+
import { t as x } from "./tooltip.C11omEOs.js";
|
|
18
18
|
import { t as S } from "./typography.B0mkhqTB.js";
|
|
19
19
|
import { t as C } from "./math.od1DVmRk.js";
|
|
20
20
|
import { t as w } from "./repeat.CKv9FPlC.js";
|
|
@@ -3,11 +3,11 @@ import { a as r, i, n as a, r as o, t as s } from "./cortex-element.DTrNUtdr.js"
|
|
|
3
3
|
import { t as c } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as l } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as u } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as d } from "./i18n.
|
|
6
|
+
import { t as d } from "./i18n.qIMzqW-F.js";
|
|
7
7
|
import { t as f } from "./slot.CZUlACxT.js";
|
|
8
8
|
import { t as p } from "./watch.Ub5r8btz.js";
|
|
9
9
|
import { t as m } from "./class-map.D8nsNOVJ.js";
|
|
10
|
-
import { t as h } from "./icon-button.
|
|
10
|
+
import { t as h } from "./icon-button.DTyZ7Nwc.js";
|
|
11
11
|
import { t as g } from "./icon.CeQpEaQz.js";
|
|
12
12
|
import { t as _ } from "./resize-observer.D9EHlnZI.js";
|
|
13
13
|
import { t as v } from "./drag.s0AcVpKh.js";
|
|
@@ -54,7 +54,7 @@ var x = t`:host{--_background-color:var(--background-color,var(--cx-color-neutra
|
|
|
54
54
|
this.mainContent.tabIndex = -1, this.mainContent.addEventListener("blur", () => this.mainContent.removeAttribute("tabindex"), { once: !0 }), this.mainContent.focus();
|
|
55
55
|
}
|
|
56
56
|
handleDrag(e) {
|
|
57
|
-
this.resizable && (e.cancelable && e.preventDefault(), this.state = "dragging", v(this, {
|
|
57
|
+
this.resizable && this.open && (e.cancelable && e.preventDefault(), this.state = "dragging", v(this, {
|
|
58
58
|
initialEvent: e,
|
|
59
59
|
onMove: (e) => {
|
|
60
60
|
let t = e;
|
|
@@ -92,7 +92,7 @@ var x = t`:host{--_background-color:var(--background-color,var(--cx-color-neutra
|
|
|
92
92
|
"sidebar--close-trigger-end": this.closeTriggerPlacement === "end",
|
|
93
93
|
"sidebar--left": this.side === "left",
|
|
94
94
|
"sidebar--no-header": !t,
|
|
95
|
-
"sidebar--not-resizable": !this.resizable,
|
|
95
|
+
"sidebar--not-resizable": !this.resizable || !this.open,
|
|
96
96
|
"sidebar--opened": this.open,
|
|
97
97
|
"sidebar--right": this.side === "right"
|
|
98
98
|
})}><div class=${m({
|
|
@@ -3,15 +3,15 @@ import { a as n, i as r, n as i, r as a, t as o } from "./cortex-element.DTrNUtd
|
|
|
3
3
|
import { t as s } from "./query.B1yi7t71.js";
|
|
4
4
|
import { t as c } from "./component.styles.0xM1ZmBs.js";
|
|
5
5
|
import { t as l } from "./custom-element.BEMYNDK1.js";
|
|
6
|
-
import { t as u } from "./i18n.
|
|
6
|
+
import { t as u } from "./i18n.qIMzqW-F.js";
|
|
7
7
|
import { t as d } from "./watch.Ub5r8btz.js";
|
|
8
|
-
import { t as f } from "./icon-button.
|
|
8
|
+
import { t as f } from "./icon-button.DTyZ7Nwc.js";
|
|
9
9
|
import { t as p } from "./when.BUskJLtZ.js";
|
|
10
|
-
import { t as m } from "./tooltip.
|
|
10
|
+
import { t as m } from "./tooltip.C11omEOs.js";
|
|
11
11
|
import { t as h } from "./default-value.opqQgoRT.js";
|
|
12
|
-
import { t as g } from "./input.
|
|
12
|
+
import { t as g } from "./input.1CW0nLBL.js";
|
|
13
13
|
import { t as _ } from "./space.Dd8jezXK.js";
|
|
14
|
-
import { t as v } from "./select.
|
|
14
|
+
import { t as v } from "./select.D-QQK2rH.js";
|
|
15
15
|
//#region ../../packages/types/src/size-input-group.ts
|
|
16
16
|
var y = /* @__PURE__ */ function(e) {
|
|
17
17
|
return e.Percentage = "percentage", e.Pixel = "pixel", e;
|