@loadsmart/miranda-wc 3.34.0 → 3.36.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/dist/{add-circle-CCiavRUX-stqcUInn.js → add-circle-C6vvAlNJ-QVfzawBg.js} +1 -1
- package/dist/{alarm-CTX0pcTr-DCrrJFGr.js → alarm-BCjgqaqa-Ct9zmJAg.js} +1 -1
- package/dist/{alert-blocked-Df1braUR-trMpBde6.js → alert-blocked-C0oVy0f5-BhcGohOy.js} +1 -1
- package/dist/{alert-circle-B84wCovs-pPb8zl-i.js → alert-circle-Bx5bHhdP-Cv9jpzpb.js} +1 -1
- package/dist/{anchor-BprsVu4x-C1vN4yY8.js → anchor-B5W91J1I-6BJlTf1M.js} +1 -1
- package/dist/{archive-DPdta2zf-BsFkGFLO.js → archive-BqJIc-iX-Dv6x5URv.js} +1 -1
- package/dist/{arrow-left-BgtUOb_0-f8kOmcKn.js → arrow-left-5HtGXCPl-CK8Dgaf_.js} +1 -1
- package/dist/{arrow-right-DMTCjT69-CFYd2ChR.js → arrow-right-QxUT5uss-BqfHmZDl.js} +1 -1
- package/dist/{arrow-sort-down-BpowlLr5-DtPupjzX.js → arrow-sort-down-BTJjplCW-pg9PY1DU.js} +1 -1
- package/dist/{arrow-sort-up-C3RB8HfC-DXR8whZn.js → arrow-sort-up-DhshNbEO-h3XsjrTd.js} +1 -1
- package/dist/{arrow-sort-up-down-DYizAe6N-JvZVIPrW.js → arrow-sort-up-down-CoFvZA17-VHTr46uP.js} +1 -1
- package/dist/{asterisk-IuPdtf0A-Dndzv4Di.js → asterisk-C09LvYoE-BXiyFGaN.js} +1 -1
- package/dist/{attention-dOVizd4D-DbGxNfyo.js → attention-DgSvLDHr-BAdPepy2.js} +1 -1
- package/dist/{automatic-KZ0yuU6w-CsOpeaGF.js → automatic-DkTK93nk-DA72_Xgt.js} +1 -1
- package/dist/{bank-BbTYJleE-BsDcv0wk.js → bank-CGqcsfld-B8m_0sAx.js} +1 -1
- package/dist/{bell-cancel-DjPLVIgW-DUM_NqgU.js → bell-cancel-mohDF2bg-XRn7mgyu.js} +1 -1
- package/dist/{bell-Cvp9nybs-CZ5Gd8A-.js → bell-dOpgWOVY-Cgxpptgv.js} +1 -1
- package/dist/{blind-bol-BYeO87M3-BTy8jK88.js → blind-bol-Bv8-ycTt-g50A---d.js} +1 -1
- package/dist/{board-aKsK9rtc-DlSKC3qi.js → board-DESeWHvh-QGeBB-Pf.js} +1 -1
- package/dist/{bol-x_Ol-MTi-Cz_PuqX4.js → bol-noiw4t2b-cIMxcc0m.js} +1 -1
- package/dist/{bolt-0UU7Rm7N-DBvYhVk0.js → bolt-CUHkmpZz-BeqOMoC1.js} +1 -1
- package/dist/{bolt-off-DEBG-ZvM-BpTNcUpv.js → bolt-off-BZBCD9NF-BuBeJOCc.js} +1 -1
- package/dist/{box-BuOaK1pU-CFw-JbXR.js → box-xslb__An-Dg5kX7S2.js} +1 -1
- package/dist/{broadcast-CZI1jilz-CVzrj_WK.js → broadcast-DM1rtCbt-BCG1pPC0.js} +1 -1
- package/dist/{burguer-menu-B6aTH4bv-bEr-n5Rj.js → burguer-menu-CjNR6yvJ-Czf-jbRN.js} +1 -1
- package/dist/{calendar-DSazdtSE-BdBCAV2W.js → calendar-BCL77nsJ-BmrmRXMP.js} +1 -1
- package/dist/{camera-BRiku8B_-DkXoM9K1.js → camera-DDIgQqEi-DSqmzjDY.js} +1 -1
- package/dist/{canada-flag-HNmrB822-Bx9T7u8b.js → canada-flag-BtdyqvMS-D0t15XE5.js} +1 -1
- package/dist/{caret-down-rmmymj9h-DkNdC2eE.js → caret-down-E11XONES-DW7tEOVE.js} +1 -1
- package/dist/{caret-left-CdwGa7OM-ClxIxC6j.js → caret-left-BNpkV4rW-DgoL5PY9.js} +1 -1
- package/dist/{caret-right-C-iwJBqf-BQRhDVk9.js → caret-right-DeNGHSyn-7LcgPkjO.js} +1 -1
- package/dist/{caret-up-Dd4FpNSi-BHWU2Nlv.js → caret-up-xP5bpsK1-a8jr4mWn.js} +1 -1
- package/dist/{carrier-contract-CZdjNH8p-DqeI5AeS.js → carrier-contract-DxpuzMpv-ClQhtZOz.js} +1 -1
- package/dist/{chat-CzWG0AoO-BsXD7Nge.js → chat-DWo4tMNa-DSGV13JM.js} +1 -1
- package/dist/{check-Ch9fDKfW-BdQCbZGm.js → check-xoIrJVSa-pv09dibb.js} +1 -1
- package/dist/{clip-B84qJCbB-Dncqw6Et.js → clip-CctY6kxI-C9EWF49j.js} +1 -1
- package/dist/{clock-DRK6wEc8-4CnMzWpe.js → clock-CjbkZgvM-DLjZA7fC.js} +1 -1
- package/dist/{clown-8fuQXd4l-DgQLlEl3.js → clown-Lc-PK7Y3-CvZXudSE.js} +1 -1
- package/dist/{code-B0bZma8O-Ptqud_Os.js → code-CeOpBbTP-CAlbO0UI.js} +1 -1
- package/dist/{comment-lSMrWzMv-BzMrdyPR.js → comment-B96EbRD--xpdABPCA.js} +1 -1
- package/dist/{company-s8Ko_BOC-DhgLk3GM.js → company-BwzW8xIT-uih5aMCg.js} +1 -1
- package/dist/components/dropdown/dropdown-menu.d.ts +7 -0
- package/dist/components/dropdown/dropdown-popover.d.ts +14 -0
- package/dist/components/dropdown/dropdown.constants.d.ts +3 -1
- package/dist/components/dropdown/dropdown.d.ts +11 -5
- package/dist/components/dropdown/dropdown.styles.d.ts +1 -0
- package/dist/components/dropdown/index.d.ts +2 -1
- package/dist/{confetti-DCkub1RI-Bd6amz4K.js → confetti-zm6fweFu-CKanb7kH.js} +1 -1
- package/dist/{contract-B_oYGgCq-CLAKw9Ag.js → contract-0JxR3nxd-BAjV19tj.js} +1 -1
- package/dist/{copy-iDDWnwtn-R_XIbKmu.js → copy-gJS8Uxx0-BEKuQa6c.js} +1 -1
- package/dist/{corner-down-D_nw1mRb-D5luOhtd.js → corner-down-DfFcUGo4-BBUrym60.js} +1 -1
- package/dist/{corner-down-r-CT36qB52-BQ7Bw3hl.js → corner-down-r-Cch_fCpc-_Z8qzUx3.js} +1 -1
- package/dist/{corner-up-DyKr1qw4-DdfmgZnZ.js → corner-up-DLcS-Q2r-CGtsA-zE.js} +1 -1
- package/dist/corners-out-SRzWzPJM-B6UlIiSa.js +8 -0
- package/dist/{credit-card-CEksI3z3-BGDVMiVG.js → credit-card-BeFmM4MK-DUJYNR8v.js} +1 -1
- package/dist/{crown-BvIqSEBb-BqePDjtB.js → crown-Dx_tlmqj-DvtfNufv.js} +1 -1
- package/dist/{delivery-CuCVzOmH-D3t0-bsC.js → delivery-DefTiXBZ-D2orO6XU.js} +1 -1
- package/dist/{dislike-C0OXL8wV-CVS7JJdy.js → dislike-BljC58kx-CBTjCEOJ.js} +1 -1
- package/dist/{document-csv-D2suZLg1-C7xw73nm.js → document-csv-DyCqC8b6-D_E4-OHY.js} +1 -1
- package/dist/{document-file-Df1pBr5H-CH1-P4IY.js → document-file-BAsdkq0C-DXgQ6ujG.js} +1 -1
- package/dist/{document-file-plus-B5osRghS-CUlx4j_m.js → document-file-plus-o_MRMxN--DHrFyPgb.js} +1 -1
- package/dist/{document-image-m_mrV0sw-CKzanxnI.js → document-image-DOMqPoEe-BWYMKgm9.js} +1 -1
- package/dist/{dollar-CKDzWRKS-lNW1zgM5.js → dollar-Bfq3HkIZ-BqVG9ySF.js} +1 -1
- package/dist/{dollar-circle-DLs8UHAw-DnaafEe6.js → dollar-circle-C8ldBBGU-Ds9b4cS6.js} +1 -1
- package/dist/{dots-horizontal-BPz8XG_Z-BnceI1fr.js → dots-horizontal-B6W4xv3X-p-2yHmRN.js} +1 -1
- package/dist/{dots-six-NoFYfGIE-DDrUczae.js → dots-six-BC3Aaq0k-CRVc52Bn.js} +1 -1
- package/dist/{dots-vertical-Bjz8cdyP-CnOzbnv6.js → dots-vertical-CbZaOX70-D9cptfC-.js} +1 -1
- package/dist/{double-caret-down-beChjVQJ-B7iwFTxS.js → double-caret-down-BfA1nil8-CouXAWkS.js} +1 -1
- package/dist/{double-caret-left-Bq8ojSne-C1aPAG1T.js → double-caret-left-DApghni--C3Eqe57M.js} +1 -1
- package/dist/{double-caret-right-Bdpt0SMz-hJgR2Xty.js → double-caret-right-D2zq27Y1-6oVXxKae.js} +1 -1
- package/dist/{down-CizSMWTN-DtDRfAFy.js → down-4Tay7MN8-BRag8wds.js} +1 -1
- package/dist/{download-E3sR5Mww-BEUOcGyJ.js → download-DKlmbdRC-MKNw0o2X.js} +1 -1
- package/dist/{drop-trailer-Bj0GWGwP-BhL4Tz-H.js → drop-trailer-CMyUUnXv-ChtnxTR3.js} +1 -1
- package/dist/{dropdown-DS9Eol9H-CEeimjng.js → dropdown-w4KTBQ9m-CNNYIbU3.js} +1 -1
- package/dist/{email-D41RycK6-CySLPwSv.js → email-C_d1GK9A-CvKlz0Jc.js} +1 -1
- package/dist/{email-filled-B7dC9VON-C0xfseAz.js → email-filled-B5iBOAZU-BWQe1adJ.js} +1 -1
- package/dist/{export-AxznQaY7-D0oYVBs6.js → export-P_IWz4Ry-CL7nGIZB.js} +1 -1
- package/dist/{eye-Du5v5FWl-BUAOJFww.js → eye-BmdOlQfG-BKHTCDrY.js} +1 -1
- package/dist/{fast-v4JTkYTx-CBS4gJPj.js → fast-Cg0dCgWu-kuP-5mSL.js} +1 -1
- package/dist/{favorite-Bq7yw_kC-5IkEUcHH.js → favorite-B-2QDCpv-D6tI53Xn.js} +1 -1
- package/dist/{file-andhEVTZ-dRvR9JJs.js → file-SPvIMC8n-Bmmc6rEG.js} +1 -1
- package/dist/{filter-Fi16bT14-Cc2zVbJI.js → filter-BEB2Tb9e-KV4Hkye5.js} +1 -1
- package/dist/{flag-CFiF2B-J-DVG2o9RK.js → flag-DiLknLhy-CEePODtv.js} +1 -1
- package/dist/{folder-BY1CGlkw-CavPwdHL.js → folder-DcoFTrZ3-Db_0_MHJ.js} +1 -1
- package/dist/{funnel-HKIpskv1-Dl92EyZY.js → funnel-IxmyxXfo-BTTRZ4ar.js} +1 -1
- package/dist/{gear-p9AOrdfV-_201bOKW.js → gear-Ckps-pS1-Cz5rL-nC.js} +1 -1
- package/dist/{graph-W4As17IT-CyMD4BK_.js → graph-Bmzykjs3-B8rAnTNa.js} +1 -1
- package/dist/{hand-B27-xQyr-0tcl2q4a.js → hand-Bbbx3qdB-CFF4W75-.js} +1 -1
- package/dist/{hand-tap-Cs1_nUof-BsTDNBEv.js → hand-tap-DRGkJNq6-BagTLh13.js} +1 -1
- package/dist/{hazmat-O9Rs8KDW-DsVZS12Y.js → hazmat-Bu4ooonl-Bp7BmARZ.js} +1 -1
- package/dist/{high-signal-DZzZcVf2-CauYrfWG.js → high-signal-BaGU5522-BExgmy8j.js} +1 -1
- package/dist/{history-NDAtFhnw-C4wMyfp8.js → history-DrvKczJf-CVttuq5G.js} +1 -1
- package/dist/{home-r-pAmPV4-CsjJl09F.js → home-B-cl4_Gj-Bsfbz6m-.js} +1 -1
- package/dist/{hourglass-Y1th9ma2-C1VJItP9.js → hourglass-CzZkg8zr-C7VnK24s.js} +1 -1
- package/dist/{import-2-CW7vwO-a--Nl4rPdD.js → import-2-D8VHvkPX-BCwY5jAs.js} +1 -1
- package/dist/{import-xsCginrw-C8MugYPY.js → import-BMYsdZYS-Bc5tQ_29.js} +1 -1
- package/dist/{indeterminate-DcQTzXPO-D5G4AtZC.js → indeterminate-CDVOArkt-DEhdnbAd.js} +1 -1
- package/dist/{index-CUbQtX3h.js → index-QAPRPB0S.js} +573 -464
- package/dist/index.js +1 -1
- package/dist/{info-D-uIPxeP-DO3S_amQ.js → info-ByRZxHDk-CC74bx6n.js} +1 -1
- package/dist/{invoice-9IVdAGaS-DzCq1JIv.js → invoice-C2yrJOeN-CbGvCjP3.js} +1 -1
- package/dist/{invoice-items-BVjcnUy9-DlOeduh_.js → invoice-items-9oEo1v1C-Dt_yjUcx.js} +1 -1
- package/dist/{kanban-wLumuKE6-nYbAXHeS.js → kanban-CwkNtIly-DMUMoriV.js} +1 -1
- package/dist/{light-bulb-Benzfpko-B42G893X.js → light-bulb-_F4GyTbq-BdUfN_Yc.js} +1 -1
- package/dist/{like-DfKV9BZf-CvMChQT3.js → like-C__gjR5W-BpxaH5h8.js} +1 -1
- package/dist/{link-DTSRXMuy-DZ206jpZ.js → link-bc6z9ac4-FrRE2x4I.js} +1 -1
- package/dist/{list-Cs_Tx9wb-G_1-bGL-.js → list-KGJ9-5lp-CGNTVSYP.js} +1 -1
- package/dist/{loadsmart-logo-I8MORLBu-CtfpLEVa.js → loadsmart-logo-3KjY1tkC-jJi0e4TA.js} +1 -1
- package/dist/{log-out-gmU6LTta-eVW9SAd1.js → log-out-B7d954PK-CwP1fDhA.js} +1 -1
- package/dist/{low-signal-DZnFUjQ2-Bkq6Qbz_.js → low-signal-MlF9nor--DkY8vsk5.js} +1 -1
- package/dist/{map-BXGHPJos-2ISA_d8u.js → map-BNIcPjAm-DoA_trQR.js} +1 -1
- package/dist/{medal-DYWS6LnK-C3iN2SOv.js → medal-CQ5QIuWJ-Ej6Y955_.js} +1 -1
- package/dist/{megaphone-zr3TkPwf-DwDGU3qb.js → megaphone-BXsT7vQW-q0eF4PPU.js} +1 -1
- package/dist/{menu-arrow-CZKCoYuS-CZKvkile.js → menu-arrow-CQtLBb6w-Rc5a6ijd.js} +1 -1
- package/dist/{mexico-flag-D2b6ujty-Ct9HA3go.js → mexico-flag-DS98GwKG-BmP6W7nr.js} +1 -1
- package/dist/{minus-0j3gmofO-A2kv4WOo.js → minus-De3DXHyW-B_f7mWnU.js} +1 -1
- package/dist/{network-signal-DdQxJUwl-DGyr-3bO.js → network-signal-BMIdu4cO-ByzfA39M.js} +1 -1
- package/dist/{no-awarded-DqCcBDaA-Yu7EM1Qb.js → no-awarded-C3f579rl-CgRzdagt.js} +1 -1
- package/dist/{notes-mmHptcYJ-Byg5UbQS.js → notes-BRqws4qo-ca6H4QHx.js} +1 -1
- package/dist/{notes-lock-yGhHhs6p-BSZXE_09.js → notes-lock-CTFzbUKz-BjhuIuu5.js} +1 -1
- package/dist/{order-DfN6VfVP-BuRSoqNw.js → order-BenKUEx5-DntXwYrT.js} +1 -1
- package/dist/out-cardinal-1Dku4wnp-DF180pg2.js +9 -0
- package/dist/{package-tracking-DKNbRGx4-DlLoRtF3.js → package-tracking-DSVqvjj_-BRFosajU.js} +1 -1
- package/dist/{padlock-open-Cp_4tneI-DVQN5xOC.js → padlock-open-Btg3VP9t-C9L3YmBh.js} +1 -1
- package/dist/{padlock-RzN4JVVn-Bn7EHXy3.js → padlock-wiZUF-pW-0633vU6C.js} +1 -1
- package/dist/{pencil-837fxGhz-b4JGJPLo.js → pencil-BHpPSOyZ-BXInGxbt.js} +1 -1
- package/dist/{phone-vxSIxmB0-cZYtXQmp.js → phone-D3kGBAl8-DbIAi-K_.js} +1 -1
- package/dist/{pin-DW7DgJtQ-BXiMtWCu.js → pin-C2VswiAv-CK2tYt_9.js} +1 -1
- package/dist/{pin-filled-GMP65wQH-iBry0Fmo.js → pin-filled-DNyTKN0s-D57kXnXf.js} +1 -1
- package/dist/{pin-map-MDCMAjdo-BXyl4h3l.js → pin-map-CTKBDNTq-DyLOUOI-.js} +1 -1
- package/dist/{play-BP1B_8iE-D-RTm_0N.js → play-BHbmq__E-2q5cZwGK.js} +1 -1
- package/dist/{plugs-BtiB14z5-C2poRrF4.js → plugs-CWgltgt0-CVOAc9z5.js} +1 -1
- package/dist/{plus-DFSf8fYn-CfdcV3Pf.js → plus-BwDm0KxT-ClETNdpr.js} +1 -1
- package/dist/{pod-CA-1astj-DBr_kVWz.js → pod-DWNpPP7P-C385T8eD.js} +1 -1
- package/dist/{pre-confirmed-load-BPrJZniX-BKOMxU8n.js → pre-confirmed-load-D6lkB-Ss-lsmohuzJ.js} +1 -1
- package/dist/{print-DQPi33sm-BqcV7VxG.js → print-BIiVs5cp-1dYYClo0.js} +1 -1
- package/dist/{profile-Pim5s7F--DBtk9NyF.js → profile-BgKTtcdj-Cf0i2CH5.js} +1 -1
- package/dist/{question-dot-BkpZGESo-CM2UlUGw.js → question-dot-CocOarLx-ErE1vPDX.js} +1 -1
- package/dist/{receipt-sf8Hte0h-C9qm70nN.js → receipt-DZZlxIEa-_CNbc39H.js} +1 -1
- package/dist/{redo-3HFtQ0FA-Ri2LrjDm.js → redo-BjNUsYnU-DJqQHJKj.js} +1 -1
- package/dist/{refresh-B9nzPjUf-BM-IiAc6.js → refresh-Chu2jlP4-D6ltZMYv.js} +1 -1
- package/dist/{reloading-BA8D7wTv-Cq21y3oC.js → reloading-CEydeGsG-BTF9y267.js} +1 -1
- package/dist/{road-BAcIO4zy-Bgs1m554.js → road-C1eQMk9U-D0uOWe9I.js} +1 -1
- package/dist/{robot-lU57W1kp-CcL2ugmX.js → robot-DWmBEPNX-C6ATakKL.js} +1 -1
- package/dist/{round-trip-Dw9AdyJ0-APZh55FU.js → round-trip-O54i13bi-Db8g5C5e.js} +1 -1
- package/dist/{satellite-NNTCyHy--BMaczvy5.js → satellite-Bl_aMrZW-DGZj1ywM.js} +1 -1
- package/dist/{search-DvOCCqCm-BLqluqTT.js → search-BqTECGP0-VJiEhnRA.js} +1 -1
- package/dist/{send-D9igtZ0H-mYAVbjSC.js → send-zMILqwaE-DZvc3oPx.js} +1 -1
- package/dist/{share-Ddc0V7ZJ-ComMTdkX.js → share-DlYRMdJv-DiTFeI7J.js} +1 -1
- package/dist/{ship-CzXngChz-C6uq-qpJ.js → ship-C3sJjTah-DrpHWWBF.js} +1 -1
- package/dist/{signal-BJn3aH6k-CHYvj0ix.js → signal-Du9bvRBV-PvcmtP5O.js} +1 -1
- package/dist/{sparkle-C3LV52QD-CeVykY3a.js → sparkle-CCEfWLcn-DaK4Z4FB.js} +1 -1
- package/dist/{star-BVLMQ-_X-BbgGJAD5.js → star-Dl1keeZy-BVrS8NrR.js} +1 -1
- package/dist/{swap-DD7fyHMS-EzylC3Dg.js → swap-BoKbu_p6-CW6DLHEO.js} +1 -1
- package/dist/{tag-B4lJZyi4-GM7-VxaY.js → tag-BEjVMn0r-B81bbNQQ.js} +1 -1
- package/dist/{tag-chevron-CjrEtmhd-r3uIqlst.js → tag-chevron-CILvTM1u-D-f2jd9l.js} +1 -1
- package/dist/{telephone-BYauzs31-CofB6HCl.js → telephone-D91kHGE--x_aW95kL.js} +1 -1
- package/dist/{telephone-slash-CP63Q-bV-D0c3Ggd1.js → telephone-slash-CZkavMg7-CWzL3qSA.js} +1 -1
- package/dist/{terminal-hF7ftc79-odZxFJ8l.js → terminal-CevE3miE-BXSMhyHq.js} +1 -1
- package/dist/{timer-BTYu4t-t-Bbq9cVEA.js → timer-Ca2JVKXD-C_nvZ2RD.js} +1 -1
- package/dist/{tms-ready-CU9kBKQY-DWTkIpsf.js → tms-ready-Buqqmnja-DKeN7CXK.js} +1 -1
- package/dist/{train-BUFafHt_-BjwYpMeB.js → train-I9T57fVo-lBns63Gf.js} +1 -1
- package/dist/{trash-BEQcZA33-sP70wCDK.js → trash-D_b8Ortr-CrEWTWk-.js} +1 -1
- package/dist/{trend-down-DWNviyAx-C6hla51u.js → trend-down-Ca__zxpZ-BmAcbtb0.js} +1 -1
- package/dist/{trend-up-0ss4xHwV-BIY791qp.js → trend-up-bUyAEU3I-CbBvi1bg.js} +1 -1
- package/dist/{trophee-Clwe47ad-CnEdmqh6.js → trophee-cJ1KIqZH-BWAf75l7.js} +1 -1
- package/dist/{truck-CzvINFZW-CIyFufEp.js → truck-267a8KSv-Cbb1FvWQ.js} +1 -1
- package/dist/{truckload-D-J5f1bd-ChWvCqWY.js → truckload-DYX4_-Gh-BCZJldC6.js} +1 -1
- package/dist/{unarchive-DDMxh528-CjX7ZYwZ.js → unarchive-DJAfJDZc-C7JE4bQj.js} +1 -1
- package/dist/{undo-WAgJpia6-BlrXa9va.js → undo-DmIzszy2-DPY9ihen.js} +1 -1
- package/dist/{united-states-flag-CQffd0BI-BVpBRY4e.js → united-states-flag-B5isKTeS-C5U2P6-9.js} +1 -1
- package/dist/{up-CWwbB_tL-BFxgV_hh.js → up-3IhDqF0O-SGf4dbMO.js} +1 -1
- package/dist/{upgrade-C9xWszpj-B6I1ndz6.js → upgrade-BIKBried-DCdmYK7U.js} +1 -1
- package/dist/{upload-BPmTvxna-BKzfbM05.js → upload-WXGxqtJA-Dg6cLch1.js} +1 -1
- package/dist/{user-VDJrCRYa-D84qzthR.js → user-BokqRKyC-BIKcBRnS.js} +1 -1
- package/dist/{wallet-QaM0B5nw-B56bJ8WC.js → wallet-CemNjOIz-BFsB0XgT.js} +1 -1
- package/dist/{warehouse-CUM8sCqj-CqqwnCeX.js → warehouse-juCw14MN-DOysu0x5.js} +1 -1
- package/dist/{website-visibility-BZEXlTAr-CpGKgdaT.js → website-visibility-DwQG6Ml8-DWiq80t4.js} +1 -1
- package/dist/{wifi-C7NJqD6c-D_9um_fT.js → wifi-D3JuVf7l-Cyq6mH2c.js} +1 -1
- package/dist/{wifi-off-4IEYkMVR-PpeiQpxb.js → wifi-off-B23iFCun-hdQqV8f6.js} +1 -1
- package/dist/{x-DQDypbhm-CqUuiqqn.js → x-CBDhTV-T-B8ajzgXg.js} +1 -1
- package/dist/{x-small-ydvVAII5-CCgrYZC_.js → x-small-D8WPYgaQ-Dn87PHmx.js} +1 -1
- package/dist/{zoom-in-BTGlYfap-DhY5WbQ7.js → zoom-in-Dv1i8z65-CELhy740.js} +1 -1
- package/dist/{zoom-out-CnGZbBqT-BmQAdcfT.js → zoom-out-v-UX03nl-5_NCNFuP.js} +1 -1
- package/package.json +3 -3
|
@@ -1429,180 +1429,182 @@ function styles$G() {
|
|
|
1429
1429
|
|
|
1430
1430
|
function __variableDynamicImportRuntime0__(path) {
|
|
1431
1431
|
switch (path) {
|
|
1432
|
-
case './icons/add-circle.ts': return import('./add-circle-
|
|
1433
|
-
case './icons/alarm.ts': return import('./alarm-
|
|
1434
|
-
case './icons/alert-blocked.ts': return import('./alert-blocked-
|
|
1435
|
-
case './icons/alert-circle.ts': return import('./alert-circle-
|
|
1436
|
-
case './icons/anchor.ts': return import('./anchor-
|
|
1437
|
-
case './icons/archive.ts': return import('./archive-
|
|
1438
|
-
case './icons/arrow-left.ts': return import('./arrow-left-
|
|
1439
|
-
case './icons/arrow-right.ts': return import('./arrow-right-
|
|
1440
|
-
case './icons/arrow-sort-down.ts': return import('./arrow-sort-down-
|
|
1441
|
-
case './icons/arrow-sort-up-down.ts': return import('./arrow-sort-up-down-
|
|
1442
|
-
case './icons/arrow-sort-up.ts': return import('./arrow-sort-up-
|
|
1443
|
-
case './icons/asterisk.ts': return import('./asterisk-
|
|
1444
|
-
case './icons/attention.ts': return import('./attention-
|
|
1445
|
-
case './icons/automatic.ts': return import('./automatic-
|
|
1446
|
-
case './icons/bank.ts': return import('./bank-
|
|
1447
|
-
case './icons/bell-cancel.ts': return import('./bell-cancel-
|
|
1448
|
-
case './icons/bell.ts': return import('./bell-
|
|
1449
|
-
case './icons/blind-bol.ts': return import('./blind-bol-
|
|
1450
|
-
case './icons/board.ts': return import('./board-
|
|
1451
|
-
case './icons/bol.ts': return import('./bol-
|
|
1452
|
-
case './icons/bolt-off.ts': return import('./bolt-off-
|
|
1453
|
-
case './icons/bolt.ts': return import('./bolt-
|
|
1454
|
-
case './icons/box.ts': return import('./box-
|
|
1455
|
-
case './icons/broadcast.ts': return import('./broadcast-
|
|
1456
|
-
case './icons/burguer-menu.ts': return import('./burguer-menu-
|
|
1457
|
-
case './icons/calendar.ts': return import('./calendar-
|
|
1458
|
-
case './icons/camera.ts': return import('./camera-
|
|
1459
|
-
case './icons/canada-flag.ts': return import('./canada-flag-
|
|
1460
|
-
case './icons/caret-down.ts': return import('./caret-down-
|
|
1461
|
-
case './icons/caret-left.ts': return import('./caret-left-
|
|
1462
|
-
case './icons/caret-right.ts': return import('./caret-right-
|
|
1463
|
-
case './icons/caret-up.ts': return import('./caret-up-
|
|
1464
|
-
case './icons/carrier-contract.ts': return import('./carrier-contract-
|
|
1465
|
-
case './icons/chat.ts': return import('./chat-
|
|
1466
|
-
case './icons/check.ts': return import('./check-
|
|
1467
|
-
case './icons/clip.ts': return import('./clip-
|
|
1468
|
-
case './icons/clock.ts': return import('./clock-
|
|
1469
|
-
case './icons/clown.ts': return import('./clown-
|
|
1470
|
-
case './icons/code.ts': return import('./code-
|
|
1471
|
-
case './icons/comment.ts': return import('./comment-
|
|
1472
|
-
case './icons/company.ts': return import('./company-
|
|
1473
|
-
case './icons/confetti.ts': return import('./confetti-
|
|
1474
|
-
case './icons/contract.ts': return import('./contract-
|
|
1475
|
-
case './icons/copy.ts': return import('./copy-
|
|
1476
|
-
case './icons/corner-down-r.ts': return import('./corner-down-r-
|
|
1477
|
-
case './icons/corner-down.ts': return import('./corner-down-
|
|
1478
|
-
case './icons/corner-up.ts': return import('./corner-up-
|
|
1479
|
-
case './icons/
|
|
1480
|
-
case './icons/
|
|
1481
|
-
case './icons/
|
|
1482
|
-
case './icons/
|
|
1483
|
-
case './icons/
|
|
1484
|
-
case './icons/document-
|
|
1485
|
-
case './icons/document-file.ts': return import('./document-file-
|
|
1486
|
-
case './icons/document-
|
|
1487
|
-
case './icons/
|
|
1488
|
-
case './icons/dollar.ts': return import('./dollar-
|
|
1489
|
-
case './icons/
|
|
1490
|
-
case './icons/dots-
|
|
1491
|
-
case './icons/dots-
|
|
1492
|
-
case './icons/
|
|
1493
|
-
case './icons/double-caret-
|
|
1494
|
-
case './icons/double-caret-
|
|
1495
|
-
case './icons/
|
|
1496
|
-
case './icons/
|
|
1497
|
-
case './icons/
|
|
1498
|
-
case './icons/
|
|
1499
|
-
case './icons/
|
|
1500
|
-
case './icons/email.ts': return import('./email-
|
|
1501
|
-
case './icons/
|
|
1502
|
-
case './icons/
|
|
1503
|
-
case './icons/
|
|
1504
|
-
case './icons/
|
|
1505
|
-
case './icons/
|
|
1506
|
-
case './icons/
|
|
1507
|
-
case './icons/
|
|
1508
|
-
case './icons/
|
|
1509
|
-
case './icons/
|
|
1510
|
-
case './icons/
|
|
1511
|
-
case './icons/
|
|
1512
|
-
case './icons/
|
|
1513
|
-
case './icons/hand.ts': return import('./hand-
|
|
1514
|
-
case './icons/
|
|
1515
|
-
case './icons/
|
|
1516
|
-
case './icons/
|
|
1517
|
-
case './icons/
|
|
1518
|
-
case './icons/
|
|
1519
|
-
case './icons/
|
|
1520
|
-
case './icons/import.ts': return import('./import-
|
|
1521
|
-
case './icons/
|
|
1522
|
-
case './icons/
|
|
1523
|
-
case './icons/
|
|
1524
|
-
case './icons/invoice.ts': return import('./invoice-
|
|
1525
|
-
case './icons/
|
|
1526
|
-
case './icons/
|
|
1527
|
-
case './icons/
|
|
1528
|
-
case './icons/
|
|
1529
|
-
case './icons/
|
|
1530
|
-
case './icons/
|
|
1531
|
-
case './icons/
|
|
1532
|
-
case './icons/
|
|
1533
|
-
case './icons/
|
|
1534
|
-
case './icons/
|
|
1535
|
-
case './icons/
|
|
1536
|
-
case './icons/
|
|
1537
|
-
case './icons/
|
|
1538
|
-
case './icons/
|
|
1539
|
-
case './icons/
|
|
1540
|
-
case './icons/
|
|
1541
|
-
case './icons/
|
|
1542
|
-
case './icons/notes.ts': return import('./notes-
|
|
1543
|
-
case './icons/
|
|
1544
|
-
case './icons/
|
|
1545
|
-
case './icons/
|
|
1546
|
-
case './icons/
|
|
1547
|
-
case './icons/
|
|
1548
|
-
case './icons/
|
|
1549
|
-
case './icons/
|
|
1550
|
-
case './icons/
|
|
1551
|
-
case './icons/pin.ts': return import('./pin-
|
|
1552
|
-
case './icons/
|
|
1553
|
-
case './icons/
|
|
1554
|
-
case './icons/
|
|
1555
|
-
case './icons/
|
|
1556
|
-
case './icons/
|
|
1557
|
-
case './icons/
|
|
1558
|
-
case './icons/
|
|
1559
|
-
case './icons/
|
|
1560
|
-
case './icons/
|
|
1561
|
-
case './icons/
|
|
1562
|
-
case './icons/
|
|
1563
|
-
case './icons/
|
|
1564
|
-
case './icons/
|
|
1565
|
-
case './icons/
|
|
1566
|
-
case './icons/
|
|
1567
|
-
case './icons/
|
|
1568
|
-
case './icons/
|
|
1569
|
-
case './icons/
|
|
1570
|
-
case './icons/
|
|
1571
|
-
case './icons/
|
|
1572
|
-
case './icons/
|
|
1573
|
-
case './icons/
|
|
1574
|
-
case './icons/
|
|
1575
|
-
case './icons/
|
|
1576
|
-
case './icons/
|
|
1577
|
-
case './icons/
|
|
1578
|
-
case './icons/
|
|
1579
|
-
case './icons/
|
|
1580
|
-
case './icons/
|
|
1581
|
-
case './icons/
|
|
1582
|
-
case './icons/
|
|
1583
|
-
case './icons/
|
|
1584
|
-
case './icons/
|
|
1585
|
-
case './icons/
|
|
1586
|
-
case './icons/
|
|
1587
|
-
case './icons/
|
|
1588
|
-
case './icons/
|
|
1589
|
-
case './icons/
|
|
1590
|
-
case './icons/
|
|
1591
|
-
case './icons/
|
|
1592
|
-
case './icons/
|
|
1593
|
-
case './icons/
|
|
1594
|
-
case './icons/
|
|
1595
|
-
case './icons/
|
|
1596
|
-
case './icons/
|
|
1597
|
-
case './icons/
|
|
1598
|
-
case './icons/
|
|
1599
|
-
case './icons/
|
|
1600
|
-
case './icons/
|
|
1601
|
-
case './icons/
|
|
1602
|
-
case './icons/
|
|
1603
|
-
case './icons/
|
|
1604
|
-
case './icons/
|
|
1605
|
-
case './icons/
|
|
1432
|
+
case './icons/add-circle.ts': return import('./add-circle-C6vvAlNJ-QVfzawBg.js');
|
|
1433
|
+
case './icons/alarm.ts': return import('./alarm-BCjgqaqa-Ct9zmJAg.js');
|
|
1434
|
+
case './icons/alert-blocked.ts': return import('./alert-blocked-C0oVy0f5-BhcGohOy.js');
|
|
1435
|
+
case './icons/alert-circle.ts': return import('./alert-circle-Bx5bHhdP-Cv9jpzpb.js');
|
|
1436
|
+
case './icons/anchor.ts': return import('./anchor-B5W91J1I-6BJlTf1M.js');
|
|
1437
|
+
case './icons/archive.ts': return import('./archive-BqJIc-iX-Dv6x5URv.js');
|
|
1438
|
+
case './icons/arrow-left.ts': return import('./arrow-left-5HtGXCPl-CK8Dgaf_.js');
|
|
1439
|
+
case './icons/arrow-right.ts': return import('./arrow-right-QxUT5uss-BqfHmZDl.js');
|
|
1440
|
+
case './icons/arrow-sort-down.ts': return import('./arrow-sort-down-BTJjplCW-pg9PY1DU.js');
|
|
1441
|
+
case './icons/arrow-sort-up-down.ts': return import('./arrow-sort-up-down-CoFvZA17-VHTr46uP.js');
|
|
1442
|
+
case './icons/arrow-sort-up.ts': return import('./arrow-sort-up-DhshNbEO-h3XsjrTd.js');
|
|
1443
|
+
case './icons/asterisk.ts': return import('./asterisk-C09LvYoE-BXiyFGaN.js');
|
|
1444
|
+
case './icons/attention.ts': return import('./attention-DgSvLDHr-BAdPepy2.js');
|
|
1445
|
+
case './icons/automatic.ts': return import('./automatic-DkTK93nk-DA72_Xgt.js');
|
|
1446
|
+
case './icons/bank.ts': return import('./bank-CGqcsfld-B8m_0sAx.js');
|
|
1447
|
+
case './icons/bell-cancel.ts': return import('./bell-cancel-mohDF2bg-XRn7mgyu.js');
|
|
1448
|
+
case './icons/bell.ts': return import('./bell-dOpgWOVY-Cgxpptgv.js');
|
|
1449
|
+
case './icons/blind-bol.ts': return import('./blind-bol-Bv8-ycTt-g50A---d.js');
|
|
1450
|
+
case './icons/board.ts': return import('./board-DESeWHvh-QGeBB-Pf.js');
|
|
1451
|
+
case './icons/bol.ts': return import('./bol-noiw4t2b-cIMxcc0m.js');
|
|
1452
|
+
case './icons/bolt-off.ts': return import('./bolt-off-BZBCD9NF-BuBeJOCc.js');
|
|
1453
|
+
case './icons/bolt.ts': return import('./bolt-CUHkmpZz-BeqOMoC1.js');
|
|
1454
|
+
case './icons/box.ts': return import('./box-xslb__An-Dg5kX7S2.js');
|
|
1455
|
+
case './icons/broadcast.ts': return import('./broadcast-DM1rtCbt-BCG1pPC0.js');
|
|
1456
|
+
case './icons/burguer-menu.ts': return import('./burguer-menu-CjNR6yvJ-Czf-jbRN.js');
|
|
1457
|
+
case './icons/calendar.ts': return import('./calendar-BCL77nsJ-BmrmRXMP.js');
|
|
1458
|
+
case './icons/camera.ts': return import('./camera-DDIgQqEi-DSqmzjDY.js');
|
|
1459
|
+
case './icons/canada-flag.ts': return import('./canada-flag-BtdyqvMS-D0t15XE5.js');
|
|
1460
|
+
case './icons/caret-down.ts': return import('./caret-down-E11XONES-DW7tEOVE.js');
|
|
1461
|
+
case './icons/caret-left.ts': return import('./caret-left-BNpkV4rW-DgoL5PY9.js');
|
|
1462
|
+
case './icons/caret-right.ts': return import('./caret-right-DeNGHSyn-7LcgPkjO.js');
|
|
1463
|
+
case './icons/caret-up.ts': return import('./caret-up-xP5bpsK1-a8jr4mWn.js');
|
|
1464
|
+
case './icons/carrier-contract.ts': return import('./carrier-contract-DxpuzMpv-ClQhtZOz.js');
|
|
1465
|
+
case './icons/chat.ts': return import('./chat-DWo4tMNa-DSGV13JM.js');
|
|
1466
|
+
case './icons/check.ts': return import('./check-xoIrJVSa-pv09dibb.js');
|
|
1467
|
+
case './icons/clip.ts': return import('./clip-CctY6kxI-C9EWF49j.js');
|
|
1468
|
+
case './icons/clock.ts': return import('./clock-CjbkZgvM-DLjZA7fC.js');
|
|
1469
|
+
case './icons/clown.ts': return import('./clown-Lc-PK7Y3-CvZXudSE.js');
|
|
1470
|
+
case './icons/code.ts': return import('./code-CeOpBbTP-CAlbO0UI.js');
|
|
1471
|
+
case './icons/comment.ts': return import('./comment-B96EbRD--xpdABPCA.js');
|
|
1472
|
+
case './icons/company.ts': return import('./company-BwzW8xIT-uih5aMCg.js');
|
|
1473
|
+
case './icons/confetti.ts': return import('./confetti-zm6fweFu-CKanb7kH.js');
|
|
1474
|
+
case './icons/contract.ts': return import('./contract-0JxR3nxd-BAjV19tj.js');
|
|
1475
|
+
case './icons/copy.ts': return import('./copy-gJS8Uxx0-BEKuQa6c.js');
|
|
1476
|
+
case './icons/corner-down-r.ts': return import('./corner-down-r-Cch_fCpc-_Z8qzUx3.js');
|
|
1477
|
+
case './icons/corner-down.ts': return import('./corner-down-DfFcUGo4-BBUrym60.js');
|
|
1478
|
+
case './icons/corner-up.ts': return import('./corner-up-DLcS-Q2r-CGtsA-zE.js');
|
|
1479
|
+
case './icons/corners-out.ts': return import('./corners-out-SRzWzPJM-B6UlIiSa.js');
|
|
1480
|
+
case './icons/credit-card.ts': return import('./credit-card-BeFmM4MK-DUJYNR8v.js');
|
|
1481
|
+
case './icons/crown.ts': return import('./crown-Dx_tlmqj-DvtfNufv.js');
|
|
1482
|
+
case './icons/delivery.ts': return import('./delivery-DefTiXBZ-D2orO6XU.js');
|
|
1483
|
+
case './icons/dislike.ts': return import('./dislike-BljC58kx-CBTjCEOJ.js');
|
|
1484
|
+
case './icons/document-csv.ts': return import('./document-csv-DyCqC8b6-D_E4-OHY.js');
|
|
1485
|
+
case './icons/document-file-plus.ts': return import('./document-file-plus-o_MRMxN--DHrFyPgb.js');
|
|
1486
|
+
case './icons/document-file.ts': return import('./document-file-BAsdkq0C-DXgQ6ujG.js');
|
|
1487
|
+
case './icons/document-image.ts': return import('./document-image-DOMqPoEe-BWYMKgm9.js');
|
|
1488
|
+
case './icons/dollar-circle.ts': return import('./dollar-circle-C8ldBBGU-Ds9b4cS6.js');
|
|
1489
|
+
case './icons/dollar.ts': return import('./dollar-Bfq3HkIZ-BqVG9ySF.js');
|
|
1490
|
+
case './icons/dots-horizontal.ts': return import('./dots-horizontal-B6W4xv3X-p-2yHmRN.js');
|
|
1491
|
+
case './icons/dots-six.ts': return import('./dots-six-BC3Aaq0k-CRVc52Bn.js');
|
|
1492
|
+
case './icons/dots-vertical.ts': return import('./dots-vertical-CbZaOX70-D9cptfC-.js');
|
|
1493
|
+
case './icons/double-caret-down.ts': return import('./double-caret-down-BfA1nil8-CouXAWkS.js');
|
|
1494
|
+
case './icons/double-caret-left.ts': return import('./double-caret-left-DApghni--C3Eqe57M.js');
|
|
1495
|
+
case './icons/double-caret-right.ts': return import('./double-caret-right-D2zq27Y1-6oVXxKae.js');
|
|
1496
|
+
case './icons/down.ts': return import('./down-4Tay7MN8-BRag8wds.js');
|
|
1497
|
+
case './icons/download.ts': return import('./download-DKlmbdRC-MKNw0o2X.js');
|
|
1498
|
+
case './icons/drop-trailer.ts': return import('./drop-trailer-CMyUUnXv-ChtnxTR3.js');
|
|
1499
|
+
case './icons/dropdown.ts': return import('./dropdown-w4KTBQ9m-CNNYIbU3.js');
|
|
1500
|
+
case './icons/email-filled.ts': return import('./email-filled-B5iBOAZU-BWQe1adJ.js');
|
|
1501
|
+
case './icons/email.ts': return import('./email-C_d1GK9A-CvKlz0Jc.js');
|
|
1502
|
+
case './icons/export.ts': return import('./export-P_IWz4Ry-CL7nGIZB.js');
|
|
1503
|
+
case './icons/eye.ts': return import('./eye-BmdOlQfG-BKHTCDrY.js');
|
|
1504
|
+
case './icons/fast.ts': return import('./fast-Cg0dCgWu-kuP-5mSL.js');
|
|
1505
|
+
case './icons/favorite.ts': return import('./favorite-B-2QDCpv-D6tI53Xn.js');
|
|
1506
|
+
case './icons/file.ts': return import('./file-SPvIMC8n-Bmmc6rEG.js');
|
|
1507
|
+
case './icons/filter.ts': return import('./filter-BEB2Tb9e-KV4Hkye5.js');
|
|
1508
|
+
case './icons/flag.ts': return import('./flag-DiLknLhy-CEePODtv.js');
|
|
1509
|
+
case './icons/folder.ts': return import('./folder-DcoFTrZ3-Db_0_MHJ.js');
|
|
1510
|
+
case './icons/funnel.ts': return import('./funnel-IxmyxXfo-BTTRZ4ar.js');
|
|
1511
|
+
case './icons/gear.ts': return import('./gear-Ckps-pS1-Cz5rL-nC.js');
|
|
1512
|
+
case './icons/graph.ts': return import('./graph-Bmzykjs3-B8rAnTNa.js');
|
|
1513
|
+
case './icons/hand-tap.ts': return import('./hand-tap-DRGkJNq6-BagTLh13.js');
|
|
1514
|
+
case './icons/hand.ts': return import('./hand-Bbbx3qdB-CFF4W75-.js');
|
|
1515
|
+
case './icons/hazmat.ts': return import('./hazmat-Bu4ooonl-Bp7BmARZ.js');
|
|
1516
|
+
case './icons/high-signal.ts': return import('./high-signal-BaGU5522-BExgmy8j.js');
|
|
1517
|
+
case './icons/history.ts': return import('./history-DrvKczJf-CVttuq5G.js');
|
|
1518
|
+
case './icons/home.ts': return import('./home-B-cl4_Gj-Bsfbz6m-.js');
|
|
1519
|
+
case './icons/hourglass.ts': return import('./hourglass-CzZkg8zr-C7VnK24s.js');
|
|
1520
|
+
case './icons/import-2.ts': return import('./import-2-D8VHvkPX-BCwY5jAs.js');
|
|
1521
|
+
case './icons/import.ts': return import('./import-BMYsdZYS-Bc5tQ_29.js');
|
|
1522
|
+
case './icons/indeterminate.ts': return import('./indeterminate-CDVOArkt-DEhdnbAd.js');
|
|
1523
|
+
case './icons/info.ts': return import('./info-ByRZxHDk-CC74bx6n.js');
|
|
1524
|
+
case './icons/invoice-items.ts': return import('./invoice-items-9oEo1v1C-Dt_yjUcx.js');
|
|
1525
|
+
case './icons/invoice.ts': return import('./invoice-C2yrJOeN-CbGvCjP3.js');
|
|
1526
|
+
case './icons/kanban.ts': return import('./kanban-CwkNtIly-DMUMoriV.js');
|
|
1527
|
+
case './icons/light-bulb.ts': return import('./light-bulb-_F4GyTbq-BdUfN_Yc.js');
|
|
1528
|
+
case './icons/like.ts': return import('./like-C__gjR5W-BpxaH5h8.js');
|
|
1529
|
+
case './icons/link.ts': return import('./link-bc6z9ac4-FrRE2x4I.js');
|
|
1530
|
+
case './icons/list.ts': return import('./list-KGJ9-5lp-CGNTVSYP.js');
|
|
1531
|
+
case './icons/loadsmart-logo.ts': return import('./loadsmart-logo-3KjY1tkC-jJi0e4TA.js');
|
|
1532
|
+
case './icons/log-out.ts': return import('./log-out-B7d954PK-CwP1fDhA.js');
|
|
1533
|
+
case './icons/low-signal.ts': return import('./low-signal-MlF9nor--DkY8vsk5.js');
|
|
1534
|
+
case './icons/map.ts': return import('./map-BNIcPjAm-DoA_trQR.js');
|
|
1535
|
+
case './icons/medal.ts': return import('./medal-CQ5QIuWJ-Ej6Y955_.js');
|
|
1536
|
+
case './icons/megaphone.ts': return import('./megaphone-BXsT7vQW-q0eF4PPU.js');
|
|
1537
|
+
case './icons/menu-arrow.ts': return import('./menu-arrow-CQtLBb6w-Rc5a6ijd.js');
|
|
1538
|
+
case './icons/mexico-flag.ts': return import('./mexico-flag-DS98GwKG-BmP6W7nr.js');
|
|
1539
|
+
case './icons/minus.ts': return import('./minus-De3DXHyW-B_f7mWnU.js');
|
|
1540
|
+
case './icons/network-signal.ts': return import('./network-signal-BMIdu4cO-ByzfA39M.js');
|
|
1541
|
+
case './icons/no-awarded.ts': return import('./no-awarded-C3f579rl-CgRzdagt.js');
|
|
1542
|
+
case './icons/notes-lock.ts': return import('./notes-lock-CTFzbUKz-BjhuIuu5.js');
|
|
1543
|
+
case './icons/notes.ts': return import('./notes-BRqws4qo-ca6H4QHx.js');
|
|
1544
|
+
case './icons/order.ts': return import('./order-BenKUEx5-DntXwYrT.js');
|
|
1545
|
+
case './icons/out-cardinal.ts': return import('./out-cardinal-1Dku4wnp-DF180pg2.js');
|
|
1546
|
+
case './icons/package-tracking.ts': return import('./package-tracking-DSVqvjj_-BRFosajU.js');
|
|
1547
|
+
case './icons/padlock-open.ts': return import('./padlock-open-Btg3VP9t-C9L3YmBh.js');
|
|
1548
|
+
case './icons/padlock.ts': return import('./padlock-wiZUF-pW-0633vU6C.js');
|
|
1549
|
+
case './icons/pencil.ts': return import('./pencil-BHpPSOyZ-BXInGxbt.js');
|
|
1550
|
+
case './icons/phone.ts': return import('./phone-D3kGBAl8-DbIAi-K_.js');
|
|
1551
|
+
case './icons/pin-filled.ts': return import('./pin-filled-DNyTKN0s-D57kXnXf.js');
|
|
1552
|
+
case './icons/pin-map.ts': return import('./pin-map-CTKBDNTq-DyLOUOI-.js');
|
|
1553
|
+
case './icons/pin.ts': return import('./pin-C2VswiAv-CK2tYt_9.js');
|
|
1554
|
+
case './icons/play.ts': return import('./play-BHbmq__E-2q5cZwGK.js');
|
|
1555
|
+
case './icons/plugs.ts': return import('./plugs-CWgltgt0-CVOAc9z5.js');
|
|
1556
|
+
case './icons/plus.ts': return import('./plus-BwDm0KxT-ClETNdpr.js');
|
|
1557
|
+
case './icons/pod.ts': return import('./pod-DWNpPP7P-C385T8eD.js');
|
|
1558
|
+
case './icons/pre-confirmed-load.ts': return import('./pre-confirmed-load-D6lkB-Ss-lsmohuzJ.js');
|
|
1559
|
+
case './icons/print.ts': return import('./print-BIiVs5cp-1dYYClo0.js');
|
|
1560
|
+
case './icons/profile.ts': return import('./profile-BgKTtcdj-Cf0i2CH5.js');
|
|
1561
|
+
case './icons/question-dot.ts': return import('./question-dot-CocOarLx-ErE1vPDX.js');
|
|
1562
|
+
case './icons/receipt.ts': return import('./receipt-DZZlxIEa-_CNbc39H.js');
|
|
1563
|
+
case './icons/redo.ts': return import('./redo-BjNUsYnU-DJqQHJKj.js');
|
|
1564
|
+
case './icons/refresh.ts': return import('./refresh-Chu2jlP4-D6ltZMYv.js');
|
|
1565
|
+
case './icons/reloading.ts': return import('./reloading-CEydeGsG-BTF9y267.js');
|
|
1566
|
+
case './icons/road.ts': return import('./road-C1eQMk9U-D0uOWe9I.js');
|
|
1567
|
+
case './icons/robot.ts': return import('./robot-DWmBEPNX-C6ATakKL.js');
|
|
1568
|
+
case './icons/round-trip.ts': return import('./round-trip-O54i13bi-Db8g5C5e.js');
|
|
1569
|
+
case './icons/satellite.ts': return import('./satellite-Bl_aMrZW-DGZj1ywM.js');
|
|
1570
|
+
case './icons/search.ts': return import('./search-BqTECGP0-VJiEhnRA.js');
|
|
1571
|
+
case './icons/send.ts': return import('./send-zMILqwaE-DZvc3oPx.js');
|
|
1572
|
+
case './icons/share.ts': return import('./share-DlYRMdJv-DiTFeI7J.js');
|
|
1573
|
+
case './icons/ship.ts': return import('./ship-C3sJjTah-DrpHWWBF.js');
|
|
1574
|
+
case './icons/signal.ts': return import('./signal-Du9bvRBV-PvcmtP5O.js');
|
|
1575
|
+
case './icons/sparkle.ts': return import('./sparkle-CCEfWLcn-DaK4Z4FB.js');
|
|
1576
|
+
case './icons/star.ts': return import('./star-Dl1keeZy-BVrS8NrR.js');
|
|
1577
|
+
case './icons/swap.ts': return import('./swap-BoKbu_p6-CW6DLHEO.js');
|
|
1578
|
+
case './icons/tag-chevron.ts': return import('./tag-chevron-CILvTM1u-D-f2jd9l.js');
|
|
1579
|
+
case './icons/tag.ts': return import('./tag-BEjVMn0r-B81bbNQQ.js');
|
|
1580
|
+
case './icons/telephone-slash.ts': return import('./telephone-slash-CZkavMg7-CWzL3qSA.js');
|
|
1581
|
+
case './icons/telephone.ts': return import('./telephone-D91kHGE--x_aW95kL.js');
|
|
1582
|
+
case './icons/terminal.ts': return import('./terminal-CevE3miE-BXSMhyHq.js');
|
|
1583
|
+
case './icons/timer.ts': return import('./timer-Ca2JVKXD-C_nvZ2RD.js');
|
|
1584
|
+
case './icons/tms-ready.ts': return import('./tms-ready-Buqqmnja-DKeN7CXK.js');
|
|
1585
|
+
case './icons/train.ts': return import('./train-I9T57fVo-lBns63Gf.js');
|
|
1586
|
+
case './icons/trash.ts': return import('./trash-D_b8Ortr-CrEWTWk-.js');
|
|
1587
|
+
case './icons/trend-down.ts': return import('./trend-down-Ca__zxpZ-BmAcbtb0.js');
|
|
1588
|
+
case './icons/trend-up.ts': return import('./trend-up-bUyAEU3I-CbBvi1bg.js');
|
|
1589
|
+
case './icons/trophee.ts': return import('./trophee-cJ1KIqZH-BWAf75l7.js');
|
|
1590
|
+
case './icons/truck.ts': return import('./truck-267a8KSv-Cbb1FvWQ.js');
|
|
1591
|
+
case './icons/truckload.ts': return import('./truckload-DYX4_-Gh-BCZJldC6.js');
|
|
1592
|
+
case './icons/unarchive.ts': return import('./unarchive-DJAfJDZc-C7JE4bQj.js');
|
|
1593
|
+
case './icons/undo.ts': return import('./undo-DmIzszy2-DPY9ihen.js');
|
|
1594
|
+
case './icons/united-states-flag.ts': return import('./united-states-flag-B5isKTeS-C5U2P6-9.js');
|
|
1595
|
+
case './icons/up.ts': return import('./up-3IhDqF0O-SGf4dbMO.js');
|
|
1596
|
+
case './icons/upgrade.ts': return import('./upgrade-BIKBried-DCdmYK7U.js');
|
|
1597
|
+
case './icons/upload.ts': return import('./upload-WXGxqtJA-Dg6cLch1.js');
|
|
1598
|
+
case './icons/user.ts': return import('./user-BokqRKyC-BIKcBRnS.js');
|
|
1599
|
+
case './icons/wallet.ts': return import('./wallet-CemNjOIz-BFsB0XgT.js');
|
|
1600
|
+
case './icons/warehouse.ts': return import('./warehouse-juCw14MN-DOysu0x5.js');
|
|
1601
|
+
case './icons/website-visibility.ts': return import('./website-visibility-DwQG6Ml8-DWiq80t4.js');
|
|
1602
|
+
case './icons/wifi-off.ts': return import('./wifi-off-B23iFCun-hdQqV8f6.js');
|
|
1603
|
+
case './icons/wifi.ts': return import('./wifi-D3JuVf7l-Cyq6mH2c.js');
|
|
1604
|
+
case './icons/x-small.ts': return import('./x-small-D8WPYgaQ-Dn87PHmx.js');
|
|
1605
|
+
case './icons/x.ts': return import('./x-CBDhTV-T-B8ajzgXg.js');
|
|
1606
|
+
case './icons/zoom-in.ts': return import('./zoom-in-Dv1i8z65-CELhy740.js');
|
|
1607
|
+
case './icons/zoom-out.ts': return import('./zoom-out-v-UX03nl-5_NCNFuP.js');
|
|
1606
1608
|
default: return new Promise(function(resolve, reject) {
|
|
1607
1609
|
(typeof queueMicrotask === 'function' ? queueMicrotask : setTimeout)(
|
|
1608
1610
|
reject.bind(null, new Error("Unknown variable dynamic import: " + path))
|
|
@@ -1662,6 +1664,7 @@ const AVAILABLE_ICONS = [
|
|
|
1662
1664
|
'corner-down-r',
|
|
1663
1665
|
'corner-down',
|
|
1664
1666
|
'corner-up',
|
|
1667
|
+
'corners-out',
|
|
1665
1668
|
'credit-card',
|
|
1666
1669
|
'crown',
|
|
1667
1670
|
'delivery',
|
|
@@ -1726,6 +1729,7 @@ const AVAILABLE_ICONS = [
|
|
|
1726
1729
|
'notes',
|
|
1727
1730
|
'notes-lock',
|
|
1728
1731
|
'order',
|
|
1732
|
+
'out-cardinal',
|
|
1729
1733
|
'package-tracking',
|
|
1730
1734
|
'padlock-open',
|
|
1731
1735
|
'padlock',
|
|
@@ -8728,235 +8732,8 @@ _BoundaryController_handleEvent = new WeakMap(), _BoundaryController_handleBlurE
|
|
|
8728
8732
|
window.removeEventListener('blur', __classPrivateFieldGet$1(this, _BoundaryController_handleBlurEvent, "f"), true);
|
|
8729
8733
|
};
|
|
8730
8734
|
|
|
8731
|
-
var _FocusManagerController_instances, _FocusManagerController_focusElement, _FocusManagerController_focusIndex, _FocusManagerController_focusPosition, _FocusManagerController_getIndexOfQueried, _FocusManagerController_findQueriedById, _FocusManagerController_handleKeyPress, _FocusManagerController_clearBufferAfterDelay, _FocusManagerController_findMatchInRange;
|
|
8732
|
-
const logger$b = createLogger('focus-manager-controller');
|
|
8733
|
-
function isDisabled(element) {
|
|
8734
|
-
return (element != null &&
|
|
8735
|
-
typeof element === 'object' &&
|
|
8736
|
-
'disabled' in element &&
|
|
8737
|
-
element.disabled === true);
|
|
8738
|
-
}
|
|
8739
|
-
/**
|
|
8740
|
-
* Check if `keyboardEventKey` is a character, and more specifically, anything
|
|
8741
|
-
* other than a space, tab, or newline.
|
|
8742
|
-
*/
|
|
8743
|
-
function isPrintableCharacter(keyboardEventKey) {
|
|
8744
|
-
const printableCharacterRegex = /\S/;
|
|
8745
|
-
return (keyboardEventKey.length === 1 &&
|
|
8746
|
-
printableCharacterRegex.test(keyboardEventKey));
|
|
8747
|
-
}
|
|
8748
|
-
/**
|
|
8749
|
-
* Manages **virtual/visual** focus, for a11y purposes.
|
|
8750
|
-
*/
|
|
8751
|
-
class FocusManagerController {
|
|
8752
|
-
constructor(host, options) {
|
|
8753
|
-
_FocusManagerController_instances.add(this);
|
|
8754
|
-
this.activeDescendant = null;
|
|
8755
|
-
_FocusManagerController_focusElement.set(this, (element) => {
|
|
8756
|
-
if (!element || isDisabled(element) || !element.id) {
|
|
8757
|
-
logger$b.debug('could not focus element', element, !element?.id ? ' element has no id' : '');
|
|
8758
|
-
return;
|
|
8759
|
-
}
|
|
8760
|
-
this.clear();
|
|
8761
|
-
this.activeDescendant = element.id;
|
|
8762
|
-
this.getInteractiveElement(this.host).setAttribute('aria-activedescendant', element.id);
|
|
8763
|
-
element.classList.add('is-focused');
|
|
8764
|
-
element.scrollIntoView({
|
|
8765
|
-
block: 'nearest',
|
|
8766
|
-
inline: 'nearest',
|
|
8767
|
-
behavior: 'smooth',
|
|
8768
|
-
});
|
|
8769
|
-
});
|
|
8770
|
-
_FocusManagerController_focusIndex.set(this, (index) => {
|
|
8771
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, this.queried.at(index));
|
|
8772
|
-
});
|
|
8773
|
-
_FocusManagerController_focusPosition.set(this, (position) => {
|
|
8774
|
-
const currentFocusedIndex = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
8775
|
-
switch (position) {
|
|
8776
|
-
case 'first':
|
|
8777
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, 0);
|
|
8778
|
-
break;
|
|
8779
|
-
case 'last':
|
|
8780
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, this.queried.length - 1);
|
|
8781
|
-
break;
|
|
8782
|
-
case 'previous': {
|
|
8783
|
-
if (currentFocusedIndex === -1) {
|
|
8784
|
-
logger$b.debug('focus previous, could not get current focused; focusing on last queried instead');
|
|
8785
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, currentFocusedIndex);
|
|
8786
|
-
return;
|
|
8787
|
-
}
|
|
8788
|
-
// it's ok to have a negative index here. `Array.prototype.at()` will handle that correctly.
|
|
8789
|
-
const previousItemIndex = (currentFocusedIndex - 1) % this.queried.length;
|
|
8790
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, previousItemIndex);
|
|
8791
|
-
break;
|
|
8792
|
-
}
|
|
8793
|
-
case 'next': {
|
|
8794
|
-
if (currentFocusedIndex === -1) {
|
|
8795
|
-
logger$b.debug('focus next, could not get current focused. focusing on first queried instead');
|
|
8796
|
-
}
|
|
8797
|
-
const nextItemIndex = (currentFocusedIndex + 1) % this.queried.length;
|
|
8798
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, nextItemIndex);
|
|
8799
|
-
break;
|
|
8800
|
-
}
|
|
8801
|
-
}
|
|
8802
|
-
});
|
|
8803
|
-
/**
|
|
8804
|
-
* Moves focus to the next item with a label that starts with the typed character
|
|
8805
|
-
* if such item exists. Otherwise, focus does not move.
|
|
8806
|
-
*/
|
|
8807
|
-
_FocusManagerController_handleKeyPress.set(this, (event) => {
|
|
8808
|
-
const { key } = event;
|
|
8809
|
-
if (!isPrintableCharacter(key)) {
|
|
8810
|
-
return;
|
|
8811
|
-
}
|
|
8812
|
-
const searchIndex = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
8813
|
-
this.quickSearchBuffer += key;
|
|
8814
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_clearBufferAfterDelay, "f").call(this);
|
|
8815
|
-
// run search in elements after the currently virtually focused element (if any)
|
|
8816
|
-
let nextMatch = __classPrivateFieldGet$1(this, _FocusManagerController_findMatchInRange, "f").call(this, searchIndex + 1, this.queried.length);
|
|
8817
|
-
if (!nextMatch) {
|
|
8818
|
-
// run search in elements before the currently virtually focused element (if any)
|
|
8819
|
-
nextMatch = __classPrivateFieldGet$1(this, _FocusManagerController_findMatchInRange, "f").call(this, 0, searchIndex);
|
|
8820
|
-
}
|
|
8821
|
-
if (nextMatch != null) {
|
|
8822
|
-
this.focus(nextMatch);
|
|
8823
|
-
}
|
|
8824
|
-
});
|
|
8825
|
-
_FocusManagerController_clearBufferAfterDelay.set(this, () => {
|
|
8826
|
-
if (this.quickSearchBufferTimeout) {
|
|
8827
|
-
window.clearTimeout(this.quickSearchBufferTimeout);
|
|
8828
|
-
this.quickSearchBufferTimeout = null;
|
|
8829
|
-
}
|
|
8830
|
-
this.quickSearchBufferTimeout = window.setTimeout(() => {
|
|
8831
|
-
this.quickSearchBuffer = '';
|
|
8832
|
-
this.quickSearchBufferTimeout = null;
|
|
8833
|
-
}, 500);
|
|
8834
|
-
});
|
|
8835
|
-
_FocusManagerController_findMatchInRange.set(this, (startAt, endAt) => {
|
|
8836
|
-
for (let i = startAt; i < endAt; i++) {
|
|
8837
|
-
/**
|
|
8838
|
-
* [!] Be aware that `innerText` can be expensive as it takes CSS styles into account (it triggers a reflow to
|
|
8839
|
-
* ensure up-to-date computed styles).
|
|
8840
|
-
* Source: https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent#differences_from_innertext
|
|
8841
|
-
* // TODO: evaluate replacing `innerText` with `textContent`.
|
|
8842
|
-
*/
|
|
8843
|
-
const label = this.queried[i].innerText.toLowerCase();
|
|
8844
|
-
if (label && label.indexOf(this.quickSearchBuffer) === 0) {
|
|
8845
|
-
return this.queried[i];
|
|
8846
|
-
}
|
|
8847
|
-
}
|
|
8848
|
-
return null;
|
|
8849
|
-
});
|
|
8850
|
-
this.query =
|
|
8851
|
-
typeof options.query === 'function'
|
|
8852
|
-
? options.query
|
|
8853
|
-
: toArray(options.query).join(',');
|
|
8854
|
-
this.focusOnType = Boolean(options.focusOnType ?? true);
|
|
8855
|
-
this.getInteractiveElement =
|
|
8856
|
-
options.getInteractiveElement ??
|
|
8857
|
-
(() => {
|
|
8858
|
-
return host;
|
|
8859
|
-
});
|
|
8860
|
-
this.quickSearchBuffer = '';
|
|
8861
|
-
(this.host = host).addController(this);
|
|
8862
|
-
}
|
|
8863
|
-
hostConnected() {
|
|
8864
|
-
if (!this.focusOnType) {
|
|
8865
|
-
logger$b.debug('focus on type is disabled. Controller will not listen to keyup events');
|
|
8866
|
-
return;
|
|
8867
|
-
}
|
|
8868
|
-
this.host.addEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
8869
|
-
}
|
|
8870
|
-
hostDisconnected() {
|
|
8871
|
-
this.host.removeEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
8872
|
-
}
|
|
8873
|
-
/**
|
|
8874
|
-
* Get the list of elements matching the given `options.query`.
|
|
8875
|
-
*/
|
|
8876
|
-
get queried() {
|
|
8877
|
-
if (typeof this.query === 'function') {
|
|
8878
|
-
return this.query(this.host);
|
|
8879
|
-
}
|
|
8880
|
-
return Array.from(this.host.querySelectorAll(this.query));
|
|
8881
|
-
}
|
|
8882
|
-
/**
|
|
8883
|
-
* Get the currently focused element, based on `activeDescendant`.
|
|
8884
|
-
*/
|
|
8885
|
-
get focused() {
|
|
8886
|
-
if (!this.activeDescendant) {
|
|
8887
|
-
return null;
|
|
8888
|
-
}
|
|
8889
|
-
return __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_findQueriedById).call(this, this.activeDescendant);
|
|
8890
|
-
}
|
|
8891
|
-
/**
|
|
8892
|
-
* If none of the options are selected, the first option receives focus; otherwise, the
|
|
8893
|
-
* focus moves to the next option.
|
|
8894
|
-
* If we are at the end of the `queried` array, the focus moves to the first option.
|
|
8895
|
-
*/
|
|
8896
|
-
focusNext() {
|
|
8897
|
-
this.focus('next');
|
|
8898
|
-
}
|
|
8899
|
-
/**
|
|
8900
|
-
* If none of the options are selected, the last option receives focus; otherwise, the
|
|
8901
|
-
* focus moves to the next option.
|
|
8902
|
-
* If we are at the start of the `queried` array, the focus moves to the last option.
|
|
8903
|
-
*/
|
|
8904
|
-
focusPrevious() {
|
|
8905
|
-
this.focus('previous');
|
|
8906
|
-
}
|
|
8907
|
-
/**
|
|
8908
|
-
* Focus the first element in `queried`.
|
|
8909
|
-
*/
|
|
8910
|
-
focusFirst() {
|
|
8911
|
-
this.focus(0);
|
|
8912
|
-
}
|
|
8913
|
-
/**
|
|
8914
|
-
* Focus the last element in `queried`.
|
|
8915
|
-
*/
|
|
8916
|
-
focusLast() {
|
|
8917
|
-
this.focus(this.queried.length - 1);
|
|
8918
|
-
}
|
|
8919
|
-
/**
|
|
8920
|
-
* Focus the given element or the element at the given index or position, based on `queried`.
|
|
8921
|
-
*/
|
|
8922
|
-
focus(where) {
|
|
8923
|
-
if (typeof where === 'number') {
|
|
8924
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, where);
|
|
8925
|
-
}
|
|
8926
|
-
else if (typeof where === 'string') {
|
|
8927
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusPosition, "f").call(this, where);
|
|
8928
|
-
}
|
|
8929
|
-
else {
|
|
8930
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, where);
|
|
8931
|
-
}
|
|
8932
|
-
}
|
|
8933
|
-
/**
|
|
8934
|
-
* Remove the visual focus (`.is-focused` class) from the currently focused element and
|
|
8935
|
-
* clear the `activeDescendant` attribute.
|
|
8936
|
-
*/
|
|
8937
|
-
clear() {
|
|
8938
|
-
this.getInteractiveElement(this.host).removeAttribute('aria-activedescendant');
|
|
8939
|
-
const element = this.focused;
|
|
8940
|
-
this.activeDescendant = null;
|
|
8941
|
-
if (!element) {
|
|
8942
|
-
return;
|
|
8943
|
-
}
|
|
8944
|
-
element.classList.remove('is-focused');
|
|
8945
|
-
}
|
|
8946
|
-
}
|
|
8947
|
-
_FocusManagerController_focusElement = new WeakMap(), _FocusManagerController_focusIndex = new WeakMap(), _FocusManagerController_focusPosition = new WeakMap(), _FocusManagerController_handleKeyPress = new WeakMap(), _FocusManagerController_clearBufferAfterDelay = new WeakMap(), _FocusManagerController_findMatchInRange = new WeakMap(), _FocusManagerController_instances = new WeakSet(), _FocusManagerController_getIndexOfQueried = function _FocusManagerController_getIndexOfQueried(element) {
|
|
8948
|
-
if (!element) {
|
|
8949
|
-
return -1;
|
|
8950
|
-
}
|
|
8951
|
-
return this.queried.indexOf(element);
|
|
8952
|
-
}, _FocusManagerController_findQueriedById = function _FocusManagerController_findQueriedById(id) {
|
|
8953
|
-
return (this.queried.find((element) => {
|
|
8954
|
-
return element.id === id;
|
|
8955
|
-
}) ?? null);
|
|
8956
|
-
};
|
|
8957
|
-
|
|
8958
8735
|
var _KeyboardSupportController_instances, _KeyboardSupportController_handleKey, _KeyboardSupportController_subscribe, _KeyboardSupportController_unsubscribe;
|
|
8959
|
-
const logger$
|
|
8736
|
+
const logger$b = createLogger('keyboard-support-controller');
|
|
8960
8737
|
function getShortcutKey(shortcut) {
|
|
8961
8738
|
const keys = [
|
|
8962
8739
|
shortcut.alt ? 'alt' : '',
|
|
@@ -8999,7 +8776,7 @@ class KeyboardSupportController extends ToggleableController {
|
|
|
8999
8776
|
handler(event);
|
|
9000
8777
|
return;
|
|
9001
8778
|
}
|
|
9002
|
-
logger$
|
|
8779
|
+
logger$b.debug('no handler for shortcut', shortcut);
|
|
9003
8780
|
});
|
|
9004
8781
|
this.keymap = new Map(toArray(keymap).reduce((map, { shortcut, handler }) => {
|
|
9005
8782
|
return map.concat(toArray(shortcut).map((s) => {
|
|
@@ -9027,15 +8804,17 @@ _KeyboardSupportController_handleKey = new WeakMap(), _KeyboardSupportController
|
|
|
9027
8804
|
target?.removeEventListener(this.event, __classPrivateFieldGet$1(this, _KeyboardSupportController_handleKey, "f"));
|
|
9028
8805
|
};
|
|
9029
8806
|
|
|
9030
|
-
const TRIGGER_SELECTOR$1 = '[aria-haspopup
|
|
8807
|
+
const TRIGGER_SELECTOR$1 = '[aria-haspopup]';
|
|
9031
8808
|
const MENU_SELECTOR$1 = '[role="menu"]';
|
|
8809
|
+
const POPOVER_SELECTOR = '[role="dialog"]';
|
|
9032
8810
|
const ITEM_SELECTOR = '[role="menuitem"]';
|
|
8811
|
+
const DROPDOWN_COLLAPSE_EVENT = 'm-dropdown-collapse';
|
|
9033
8812
|
|
|
9034
8813
|
function dropdownStyles() {
|
|
9035
8814
|
return [
|
|
9036
8815
|
styles$k({
|
|
9037
8816
|
referenceSelector: `::slotted(${TRIGGER_SELECTOR$1})`,
|
|
9038
|
-
floatingSelector: `::slotted(${MENU_SELECTOR$1})`,
|
|
8817
|
+
floatingSelector: `::slotted(${MENU_SELECTOR$1}), ::slotted(${POPOVER_SELECTOR})`,
|
|
9039
8818
|
}),
|
|
9040
8819
|
i$9 `
|
|
9041
8820
|
:host {
|
|
@@ -9090,6 +8869,28 @@ function dropdownStyles() {
|
|
|
9090
8869
|
`,
|
|
9091
8870
|
];
|
|
9092
8871
|
}
|
|
8872
|
+
function dropdownPopoverStyles() {
|
|
8873
|
+
return i$9 `
|
|
8874
|
+
:host {
|
|
8875
|
+
--m-popover-width: var(--m-dropdown-popover-width, 22rem);
|
|
8876
|
+
--m-popover-min-width: var(--m-dropdown-popover-width, 22rem);
|
|
8877
|
+
--m-popover-max-width: var(--m-dropdown-popover-width, 22rem);
|
|
8878
|
+
--m-popover-floating-spacing-x: 0;
|
|
8879
|
+
--m-popover-floating-spacing-y: 0;
|
|
8880
|
+
--m-popover-background-color: ${getColor('color-background-primary')};
|
|
8881
|
+
outline: none;
|
|
8882
|
+
|
|
8883
|
+
box-sizing: border-box;
|
|
8884
|
+
overflow: hidden;
|
|
8885
|
+
}
|
|
8886
|
+
|
|
8887
|
+
:host([open]) ::slotted(${r$6(MENU_SELECTOR$1)}) {
|
|
8888
|
+
display: inline-flex;
|
|
8889
|
+
|
|
8890
|
+
flex-direction: column;
|
|
8891
|
+
}
|
|
8892
|
+
`;
|
|
8893
|
+
}
|
|
9093
8894
|
function triggerStyles() {
|
|
9094
8895
|
return [
|
|
9095
8896
|
i$9 `
|
|
@@ -9252,7 +9053,7 @@ function dropdownDividerStyles() {
|
|
|
9252
9053
|
`;
|
|
9253
9054
|
}
|
|
9254
9055
|
|
|
9255
|
-
var _Dropdown_controllers, _Dropdown_handleClick, _Dropdown_handleClickOutside, _Dropdown_handleFocusIn, _Dropdown_handleFocusOut;
|
|
9056
|
+
var _Dropdown_instances, _Dropdown_controllers, _Dropdown_floatingSurface_get, _Dropdown_handleClick, _Dropdown_handleRequestCollapse, _Dropdown_handleClickOutside, _Dropdown_handleFocusIn, _Dropdown_handleFocusOut;
|
|
9256
9057
|
class Dropdown extends Popover {
|
|
9257
9058
|
static get properties() {
|
|
9258
9059
|
return {
|
|
@@ -9269,24 +9070,41 @@ class Dropdown extends Popover {
|
|
|
9269
9070
|
}
|
|
9270
9071
|
constructor() {
|
|
9271
9072
|
super();
|
|
9073
|
+
_Dropdown_instances.add(this);
|
|
9272
9074
|
_Dropdown_controllers.set(this, void 0);
|
|
9273
9075
|
// eslint-disable-next-line class-methods-use-this
|
|
9274
9076
|
this.getFloatingOffset = () => {
|
|
9275
9077
|
return 4;
|
|
9276
9078
|
};
|
|
9079
|
+
this.expand = async (args) => {
|
|
9080
|
+
const { position = 'first' } = args || {};
|
|
9081
|
+
this.show();
|
|
9082
|
+
await this.updateComplete;
|
|
9083
|
+
await __classPrivateFieldGet$1(this, _Dropdown_instances, "a", _Dropdown_floatingSurface_get)?.activate?.({ position });
|
|
9084
|
+
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").boundary.activate();
|
|
9085
|
+
this.emit('expand');
|
|
9086
|
+
};
|
|
9087
|
+
this.collapse = async () => {
|
|
9088
|
+
this.hide();
|
|
9089
|
+
await this.updateComplete;
|
|
9090
|
+
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").boundary.deactivate();
|
|
9091
|
+
__classPrivateFieldGet$1(this, _Dropdown_instances, "a", _Dropdown_floatingSurface_get)?.deactivate?.();
|
|
9092
|
+
this.reference?.focus();
|
|
9093
|
+
this.emit('collapse');
|
|
9094
|
+
};
|
|
9095
|
+
this.toggle = (args) => {
|
|
9096
|
+
if (this.open) {
|
|
9097
|
+
this.collapse();
|
|
9098
|
+
}
|
|
9099
|
+
else {
|
|
9100
|
+
this.expand(args);
|
|
9101
|
+
}
|
|
9102
|
+
};
|
|
9277
9103
|
_Dropdown_handleClick.set(this, (event) => {
|
|
9278
9104
|
const { target } = event;
|
|
9279
9105
|
if (!target) {
|
|
9280
9106
|
return;
|
|
9281
9107
|
}
|
|
9282
|
-
if (target.matches(ITEM_SELECTOR)) {
|
|
9283
|
-
/**
|
|
9284
|
-
* we set focus so we can trigger the item click event when the user
|
|
9285
|
-
* presses <Enter> or <Space>, through the KeyboardSupportController.
|
|
9286
|
-
*/
|
|
9287
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focus(target);
|
|
9288
|
-
this.collapse();
|
|
9289
|
-
}
|
|
9290
9108
|
/**
|
|
9291
9109
|
* <Enter> or <Space> keys also trigger the click event.
|
|
9292
9110
|
* In that case, we do not want to respond to the key event, since
|
|
@@ -9300,9 +9118,14 @@ class Dropdown extends Popover {
|
|
|
9300
9118
|
*/
|
|
9301
9119
|
if (target.matches(TRIGGER_SELECTOR$1) &&
|
|
9302
9120
|
event.detail > 0) {
|
|
9121
|
+
event.stopPropagation();
|
|
9303
9122
|
this.toggle();
|
|
9304
9123
|
}
|
|
9305
9124
|
});
|
|
9125
|
+
_Dropdown_handleRequestCollapse.set(this, (event) => {
|
|
9126
|
+
event.stopPropagation();
|
|
9127
|
+
this.collapse();
|
|
9128
|
+
});
|
|
9306
9129
|
_Dropdown_handleClickOutside.set(this, () => {
|
|
9307
9130
|
this.collapse();
|
|
9308
9131
|
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").keyboard.deactivate();
|
|
@@ -9318,12 +9141,6 @@ class Dropdown extends Popover {
|
|
|
9318
9141
|
this.disabled = false;
|
|
9319
9142
|
__classPrivateFieldSet(this, _Dropdown_controllers, {
|
|
9320
9143
|
boundary: new BoundaryController(this),
|
|
9321
|
-
focus: new FocusManagerController(this, {
|
|
9322
|
-
query: ITEM_SELECTOR,
|
|
9323
|
-
getInteractiveElement: () => {
|
|
9324
|
-
return this.getFloatingElement();
|
|
9325
|
-
},
|
|
9326
|
-
}),
|
|
9327
9144
|
keyboard: new KeyboardSupportController(this, [
|
|
9328
9145
|
{
|
|
9329
9146
|
shortcut: {
|
|
@@ -9336,10 +9153,6 @@ class Dropdown extends Popover {
|
|
|
9336
9153
|
}
|
|
9337
9154
|
if (target.matches(TRIGGER_SELECTOR$1)) {
|
|
9338
9155
|
this.expand({ position: 'last' });
|
|
9339
|
-
return;
|
|
9340
|
-
}
|
|
9341
|
-
if (target.matches(MENU_SELECTOR$1)) {
|
|
9342
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focusPrevious();
|
|
9343
9156
|
}
|
|
9344
9157
|
},
|
|
9345
9158
|
},
|
|
@@ -9354,10 +9167,6 @@ class Dropdown extends Popover {
|
|
|
9354
9167
|
}
|
|
9355
9168
|
if (target.matches(TRIGGER_SELECTOR$1)) {
|
|
9356
9169
|
this.expand({ position: 'first' });
|
|
9357
|
-
return;
|
|
9358
|
-
}
|
|
9359
|
-
if (target.matches(MENU_SELECTOR$1)) {
|
|
9360
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focusNext();
|
|
9361
9170
|
}
|
|
9362
9171
|
},
|
|
9363
9172
|
},
|
|
@@ -9377,14 +9186,6 @@ class Dropdown extends Popover {
|
|
|
9377
9186
|
}
|
|
9378
9187
|
if (target.matches(TRIGGER_SELECTOR$1)) {
|
|
9379
9188
|
this.toggle({ position: 'first' });
|
|
9380
|
-
return;
|
|
9381
|
-
}
|
|
9382
|
-
if (target.matches(MENU_SELECTOR$1)) {
|
|
9383
|
-
const item = __classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focused;
|
|
9384
|
-
if (item?.disabled) {
|
|
9385
|
-
return;
|
|
9386
|
-
}
|
|
9387
|
-
item.click();
|
|
9388
9189
|
}
|
|
9389
9190
|
},
|
|
9390
9191
|
},
|
|
@@ -9415,6 +9216,7 @@ class Dropdown extends Popover {
|
|
|
9415
9216
|
this.addEventListener('focusin', __classPrivateFieldGet$1(this, _Dropdown_handleFocusIn, "f"));
|
|
9416
9217
|
this.addEventListener('focusout', __classPrivateFieldGet$1(this, _Dropdown_handleFocusOut, "f"));
|
|
9417
9218
|
this.addEventListener('interactout', __classPrivateFieldGet$1(this, _Dropdown_handleClickOutside, "f"));
|
|
9219
|
+
this.addEventListener(DROPDOWN_COLLAPSE_EVENT, __classPrivateFieldGet$1(this, _Dropdown_handleRequestCollapse, "f"));
|
|
9418
9220
|
}
|
|
9419
9221
|
firstUpdated() {
|
|
9420
9222
|
if (this.floating?.id) {
|
|
@@ -9443,7 +9245,8 @@ class Dropdown extends Popover {
|
|
|
9443
9245
|
return this.querySelector(TRIGGER_SELECTOR$1);
|
|
9444
9246
|
}
|
|
9445
9247
|
getFloatingElement() {
|
|
9446
|
-
|
|
9248
|
+
const selector = `${MENU_SELECTOR$1}, ${POPOVER_SELECTOR}`;
|
|
9249
|
+
return this.querySelector(selector);
|
|
9447
9250
|
}
|
|
9448
9251
|
// eslint-disable-next-line class-methods-use-this
|
|
9449
9252
|
getArrowElement() {
|
|
@@ -9452,33 +9255,10 @@ class Dropdown extends Popover {
|
|
|
9452
9255
|
render() {
|
|
9453
9256
|
return b$1 `<slot></slot>`;
|
|
9454
9257
|
}
|
|
9455
|
-
async expand(args) {
|
|
9456
|
-
const { position = 'first' } = args || {};
|
|
9457
|
-
this.show();
|
|
9458
|
-
await this.updateComplete;
|
|
9459
|
-
this.floating?.focus();
|
|
9460
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focus(position);
|
|
9461
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").boundary.activate();
|
|
9462
|
-
this.emit('expand');
|
|
9463
|
-
}
|
|
9464
|
-
async collapse() {
|
|
9465
|
-
this.hide();
|
|
9466
|
-
await this.updateComplete;
|
|
9467
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").boundary.deactivate();
|
|
9468
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.clear();
|
|
9469
|
-
this.reference?.focus();
|
|
9470
|
-
this.emit('collapse');
|
|
9471
|
-
}
|
|
9472
|
-
toggle(args) {
|
|
9473
|
-
if (this.open) {
|
|
9474
|
-
this.collapse();
|
|
9475
|
-
}
|
|
9476
|
-
else {
|
|
9477
|
-
this.expand(args);
|
|
9478
|
-
}
|
|
9479
|
-
}
|
|
9480
9258
|
}
|
|
9481
|
-
_Dropdown_controllers = new WeakMap(), _Dropdown_handleClick = new WeakMap(), _Dropdown_handleClickOutside = new WeakMap(), _Dropdown_handleFocusIn = new WeakMap(), _Dropdown_handleFocusOut = new WeakMap()
|
|
9259
|
+
_Dropdown_controllers = new WeakMap(), _Dropdown_handleClick = new WeakMap(), _Dropdown_handleRequestCollapse = new WeakMap(), _Dropdown_handleClickOutside = new WeakMap(), _Dropdown_handleFocusIn = new WeakMap(), _Dropdown_handleFocusOut = new WeakMap(), _Dropdown_instances = new WeakSet(), _Dropdown_floatingSurface_get = function _Dropdown_floatingSurface_get() {
|
|
9260
|
+
return this.floating;
|
|
9261
|
+
};
|
|
9482
9262
|
Dropdown.styles = [dropdownStyles()];
|
|
9483
9263
|
Dropdown.define();
|
|
9484
9264
|
|
|
@@ -9552,6 +9332,234 @@ class DropdownTrigger extends WithIdElementMixin(Component) {
|
|
|
9552
9332
|
DropdownTrigger.styles = [triggerStyles()];
|
|
9553
9333
|
DropdownTrigger.define();
|
|
9554
9334
|
|
|
9335
|
+
var _FocusManagerController_instances, _FocusManagerController_focusElement, _FocusManagerController_focusIndex, _FocusManagerController_focusPosition, _FocusManagerController_getIndexOfQueried, _FocusManagerController_findQueriedById, _FocusManagerController_handleKeyPress, _FocusManagerController_clearBufferAfterDelay, _FocusManagerController_findMatchInRange;
|
|
9336
|
+
const logger$a = createLogger('focus-manager-controller');
|
|
9337
|
+
function isDisabled(element) {
|
|
9338
|
+
return (element != null &&
|
|
9339
|
+
typeof element === 'object' &&
|
|
9340
|
+
'disabled' in element &&
|
|
9341
|
+
element.disabled === true);
|
|
9342
|
+
}
|
|
9343
|
+
/**
|
|
9344
|
+
* Check if `keyboardEventKey` is a character, and more specifically, anything
|
|
9345
|
+
* other than a space, tab, or newline.
|
|
9346
|
+
*/
|
|
9347
|
+
function isPrintableCharacter(keyboardEventKey) {
|
|
9348
|
+
const printableCharacterRegex = /\S/;
|
|
9349
|
+
return (keyboardEventKey.length === 1 &&
|
|
9350
|
+
printableCharacterRegex.test(keyboardEventKey));
|
|
9351
|
+
}
|
|
9352
|
+
/**
|
|
9353
|
+
* Manages **virtual/visual** focus, for a11y purposes.
|
|
9354
|
+
*/
|
|
9355
|
+
class FocusManagerController {
|
|
9356
|
+
constructor(host, options) {
|
|
9357
|
+
_FocusManagerController_instances.add(this);
|
|
9358
|
+
this.activeDescendant = null;
|
|
9359
|
+
_FocusManagerController_focusElement.set(this, (element) => {
|
|
9360
|
+
if (!element || isDisabled(element) || !element.id) {
|
|
9361
|
+
logger$a.debug('could not focus element', element, !element?.id ? ' element has no id' : '');
|
|
9362
|
+
return;
|
|
9363
|
+
}
|
|
9364
|
+
this.clear();
|
|
9365
|
+
this.activeDescendant = element.id;
|
|
9366
|
+
this.getInteractiveElement(this.host).setAttribute('aria-activedescendant', element.id);
|
|
9367
|
+
element.classList.add('is-focused');
|
|
9368
|
+
element.scrollIntoView({
|
|
9369
|
+
block: 'nearest',
|
|
9370
|
+
inline: 'nearest',
|
|
9371
|
+
behavior: 'smooth',
|
|
9372
|
+
});
|
|
9373
|
+
});
|
|
9374
|
+
_FocusManagerController_focusIndex.set(this, (index) => {
|
|
9375
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, this.queried.at(index));
|
|
9376
|
+
});
|
|
9377
|
+
_FocusManagerController_focusPosition.set(this, (position) => {
|
|
9378
|
+
const currentFocusedIndex = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
9379
|
+
switch (position) {
|
|
9380
|
+
case 'first':
|
|
9381
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, 0);
|
|
9382
|
+
break;
|
|
9383
|
+
case 'last':
|
|
9384
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, this.queried.length - 1);
|
|
9385
|
+
break;
|
|
9386
|
+
case 'previous': {
|
|
9387
|
+
if (currentFocusedIndex === -1) {
|
|
9388
|
+
logger$a.debug('focus previous, could not get current focused; focusing on last queried instead');
|
|
9389
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, currentFocusedIndex);
|
|
9390
|
+
return;
|
|
9391
|
+
}
|
|
9392
|
+
// it's ok to have a negative index here. `Array.prototype.at()` will handle that correctly.
|
|
9393
|
+
const previousItemIndex = (currentFocusedIndex - 1) % this.queried.length;
|
|
9394
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, previousItemIndex);
|
|
9395
|
+
break;
|
|
9396
|
+
}
|
|
9397
|
+
case 'next': {
|
|
9398
|
+
if (currentFocusedIndex === -1) {
|
|
9399
|
+
logger$a.debug('focus next, could not get current focused. focusing on first queried instead');
|
|
9400
|
+
}
|
|
9401
|
+
const nextItemIndex = (currentFocusedIndex + 1) % this.queried.length;
|
|
9402
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, nextItemIndex);
|
|
9403
|
+
break;
|
|
9404
|
+
}
|
|
9405
|
+
}
|
|
9406
|
+
});
|
|
9407
|
+
/**
|
|
9408
|
+
* Moves focus to the next item with a label that starts with the typed character
|
|
9409
|
+
* if such item exists. Otherwise, focus does not move.
|
|
9410
|
+
*/
|
|
9411
|
+
_FocusManagerController_handleKeyPress.set(this, (event) => {
|
|
9412
|
+
const { key } = event;
|
|
9413
|
+
if (!isPrintableCharacter(key)) {
|
|
9414
|
+
return;
|
|
9415
|
+
}
|
|
9416
|
+
const searchIndex = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
9417
|
+
this.quickSearchBuffer += key;
|
|
9418
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_clearBufferAfterDelay, "f").call(this);
|
|
9419
|
+
// run search in elements after the currently virtually focused element (if any)
|
|
9420
|
+
let nextMatch = __classPrivateFieldGet$1(this, _FocusManagerController_findMatchInRange, "f").call(this, searchIndex + 1, this.queried.length);
|
|
9421
|
+
if (!nextMatch) {
|
|
9422
|
+
// run search in elements before the currently virtually focused element (if any)
|
|
9423
|
+
nextMatch = __classPrivateFieldGet$1(this, _FocusManagerController_findMatchInRange, "f").call(this, 0, searchIndex);
|
|
9424
|
+
}
|
|
9425
|
+
if (nextMatch != null) {
|
|
9426
|
+
this.focus(nextMatch);
|
|
9427
|
+
}
|
|
9428
|
+
});
|
|
9429
|
+
_FocusManagerController_clearBufferAfterDelay.set(this, () => {
|
|
9430
|
+
if (this.quickSearchBufferTimeout) {
|
|
9431
|
+
window.clearTimeout(this.quickSearchBufferTimeout);
|
|
9432
|
+
this.quickSearchBufferTimeout = null;
|
|
9433
|
+
}
|
|
9434
|
+
this.quickSearchBufferTimeout = window.setTimeout(() => {
|
|
9435
|
+
this.quickSearchBuffer = '';
|
|
9436
|
+
this.quickSearchBufferTimeout = null;
|
|
9437
|
+
}, 500);
|
|
9438
|
+
});
|
|
9439
|
+
_FocusManagerController_findMatchInRange.set(this, (startAt, endAt) => {
|
|
9440
|
+
for (let i = startAt; i < endAt; i++) {
|
|
9441
|
+
/**
|
|
9442
|
+
* [!] Be aware that `innerText` can be expensive as it takes CSS styles into account (it triggers a reflow to
|
|
9443
|
+
* ensure up-to-date computed styles).
|
|
9444
|
+
* Source: https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent#differences_from_innertext
|
|
9445
|
+
* // TODO: evaluate replacing `innerText` with `textContent`.
|
|
9446
|
+
*/
|
|
9447
|
+
const label = this.queried[i].innerText.toLowerCase();
|
|
9448
|
+
if (label && label.indexOf(this.quickSearchBuffer) === 0) {
|
|
9449
|
+
return this.queried[i];
|
|
9450
|
+
}
|
|
9451
|
+
}
|
|
9452
|
+
return null;
|
|
9453
|
+
});
|
|
9454
|
+
this.query =
|
|
9455
|
+
typeof options.query === 'function'
|
|
9456
|
+
? options.query
|
|
9457
|
+
: toArray(options.query).join(',');
|
|
9458
|
+
this.focusOnType = Boolean(options.focusOnType ?? true);
|
|
9459
|
+
this.getInteractiveElement =
|
|
9460
|
+
options.getInteractiveElement ??
|
|
9461
|
+
(() => {
|
|
9462
|
+
return host;
|
|
9463
|
+
});
|
|
9464
|
+
this.quickSearchBuffer = '';
|
|
9465
|
+
(this.host = host).addController(this);
|
|
9466
|
+
}
|
|
9467
|
+
hostConnected() {
|
|
9468
|
+
if (!this.focusOnType) {
|
|
9469
|
+
logger$a.debug('focus on type is disabled. Controller will not listen to keyup events');
|
|
9470
|
+
return;
|
|
9471
|
+
}
|
|
9472
|
+
this.host.addEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
9473
|
+
}
|
|
9474
|
+
hostDisconnected() {
|
|
9475
|
+
this.host.removeEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
9476
|
+
}
|
|
9477
|
+
/**
|
|
9478
|
+
* Get the list of elements matching the given `options.query`.
|
|
9479
|
+
*/
|
|
9480
|
+
get queried() {
|
|
9481
|
+
if (typeof this.query === 'function') {
|
|
9482
|
+
return this.query(this.host);
|
|
9483
|
+
}
|
|
9484
|
+
return Array.from(this.host.querySelectorAll(this.query));
|
|
9485
|
+
}
|
|
9486
|
+
/**
|
|
9487
|
+
* Get the currently focused element, based on `activeDescendant`.
|
|
9488
|
+
*/
|
|
9489
|
+
get focused() {
|
|
9490
|
+
if (!this.activeDescendant) {
|
|
9491
|
+
return null;
|
|
9492
|
+
}
|
|
9493
|
+
return __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_findQueriedById).call(this, this.activeDescendant);
|
|
9494
|
+
}
|
|
9495
|
+
/**
|
|
9496
|
+
* If none of the options are selected, the first option receives focus; otherwise, the
|
|
9497
|
+
* focus moves to the next option.
|
|
9498
|
+
* If we are at the end of the `queried` array, the focus moves to the first option.
|
|
9499
|
+
*/
|
|
9500
|
+
focusNext() {
|
|
9501
|
+
this.focus('next');
|
|
9502
|
+
}
|
|
9503
|
+
/**
|
|
9504
|
+
* If none of the options are selected, the last option receives focus; otherwise, the
|
|
9505
|
+
* focus moves to the next option.
|
|
9506
|
+
* If we are at the start of the `queried` array, the focus moves to the last option.
|
|
9507
|
+
*/
|
|
9508
|
+
focusPrevious() {
|
|
9509
|
+
this.focus('previous');
|
|
9510
|
+
}
|
|
9511
|
+
/**
|
|
9512
|
+
* Focus the first element in `queried`.
|
|
9513
|
+
*/
|
|
9514
|
+
focusFirst() {
|
|
9515
|
+
this.focus(0);
|
|
9516
|
+
}
|
|
9517
|
+
/**
|
|
9518
|
+
* Focus the last element in `queried`.
|
|
9519
|
+
*/
|
|
9520
|
+
focusLast() {
|
|
9521
|
+
this.focus(this.queried.length - 1);
|
|
9522
|
+
}
|
|
9523
|
+
/**
|
|
9524
|
+
* Focus the given element or the element at the given index or position, based on `queried`.
|
|
9525
|
+
*/
|
|
9526
|
+
focus(where) {
|
|
9527
|
+
if (typeof where === 'number') {
|
|
9528
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, where);
|
|
9529
|
+
}
|
|
9530
|
+
else if (typeof where === 'string') {
|
|
9531
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusPosition, "f").call(this, where);
|
|
9532
|
+
}
|
|
9533
|
+
else {
|
|
9534
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, where);
|
|
9535
|
+
}
|
|
9536
|
+
}
|
|
9537
|
+
/**
|
|
9538
|
+
* Remove the visual focus (`.is-focused` class) from the currently focused element and
|
|
9539
|
+
* clear the `activeDescendant` attribute.
|
|
9540
|
+
*/
|
|
9541
|
+
clear() {
|
|
9542
|
+
this.getInteractiveElement(this.host).removeAttribute('aria-activedescendant');
|
|
9543
|
+
const element = this.focused;
|
|
9544
|
+
this.activeDescendant = null;
|
|
9545
|
+
if (!element) {
|
|
9546
|
+
return;
|
|
9547
|
+
}
|
|
9548
|
+
element.classList.remove('is-focused');
|
|
9549
|
+
}
|
|
9550
|
+
}
|
|
9551
|
+
_FocusManagerController_focusElement = new WeakMap(), _FocusManagerController_focusIndex = new WeakMap(), _FocusManagerController_focusPosition = new WeakMap(), _FocusManagerController_handleKeyPress = new WeakMap(), _FocusManagerController_clearBufferAfterDelay = new WeakMap(), _FocusManagerController_findMatchInRange = new WeakMap(), _FocusManagerController_instances = new WeakSet(), _FocusManagerController_getIndexOfQueried = function _FocusManagerController_getIndexOfQueried(element) {
|
|
9552
|
+
if (!element) {
|
|
9553
|
+
return -1;
|
|
9554
|
+
}
|
|
9555
|
+
return this.queried.indexOf(element);
|
|
9556
|
+
}, _FocusManagerController_findQueriedById = function _FocusManagerController_findQueriedById(id) {
|
|
9557
|
+
return (this.queried.find((element) => {
|
|
9558
|
+
return element.id === id;
|
|
9559
|
+
}) ?? null);
|
|
9560
|
+
};
|
|
9561
|
+
|
|
9562
|
+
var _DropdownMenu_instances, _DropdownMenu_controllers, _DropdownMenu_requestCollapse, _DropdownMenu_handleClick, _DropdownMenu_handleFocusIn, _DropdownMenu_handleFocusOut;
|
|
9555
9563
|
class DropdownMenu extends WithIdElementMixin(Component) {
|
|
9556
9564
|
static define() {
|
|
9557
9565
|
Component.define({
|
|
@@ -9559,6 +9567,74 @@ class DropdownMenu extends WithIdElementMixin(Component) {
|
|
|
9559
9567
|
constructor: DropdownMenu,
|
|
9560
9568
|
});
|
|
9561
9569
|
}
|
|
9570
|
+
constructor() {
|
|
9571
|
+
super();
|
|
9572
|
+
_DropdownMenu_instances.add(this);
|
|
9573
|
+
_DropdownMenu_controllers.set(this, void 0);
|
|
9574
|
+
_DropdownMenu_handleClick.set(this, (event) => {
|
|
9575
|
+
const { target } = event;
|
|
9576
|
+
if (!target) {
|
|
9577
|
+
return;
|
|
9578
|
+
}
|
|
9579
|
+
if (target.matches(ITEM_SELECTOR)) {
|
|
9580
|
+
/**
|
|
9581
|
+
* we set focus so we can trigger the item click event when the user
|
|
9582
|
+
* presses <Enter> or <Space>, through the KeyboardSupportController.
|
|
9583
|
+
*/
|
|
9584
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focus(target);
|
|
9585
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_instances, "m", _DropdownMenu_requestCollapse).call(this);
|
|
9586
|
+
}
|
|
9587
|
+
});
|
|
9588
|
+
_DropdownMenu_handleFocusIn.set(this, () => {
|
|
9589
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").keyboard.activate();
|
|
9590
|
+
});
|
|
9591
|
+
_DropdownMenu_handleFocusOut.set(this, () => {
|
|
9592
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").keyboard.deactivate();
|
|
9593
|
+
});
|
|
9594
|
+
__classPrivateFieldSet(this, _DropdownMenu_controllers, {
|
|
9595
|
+
focus: new FocusManagerController(this, {
|
|
9596
|
+
query: ITEM_SELECTOR,
|
|
9597
|
+
}),
|
|
9598
|
+
keyboard: new KeyboardSupportController(this, [
|
|
9599
|
+
{
|
|
9600
|
+
shortcut: {
|
|
9601
|
+
key: 'ArrowUp',
|
|
9602
|
+
},
|
|
9603
|
+
handler: () => {
|
|
9604
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focusPrevious();
|
|
9605
|
+
},
|
|
9606
|
+
},
|
|
9607
|
+
{
|
|
9608
|
+
shortcut: {
|
|
9609
|
+
key: 'ArrowDown',
|
|
9610
|
+
},
|
|
9611
|
+
handler: () => {
|
|
9612
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focusNext();
|
|
9613
|
+
},
|
|
9614
|
+
},
|
|
9615
|
+
{
|
|
9616
|
+
shortcut: [
|
|
9617
|
+
{
|
|
9618
|
+
key: 'Enter',
|
|
9619
|
+
},
|
|
9620
|
+
{
|
|
9621
|
+
key: ' ',
|
|
9622
|
+
},
|
|
9623
|
+
],
|
|
9624
|
+
handler: () => {
|
|
9625
|
+
const item = __classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focused;
|
|
9626
|
+
if (item?.disabled) {
|
|
9627
|
+
return;
|
|
9628
|
+
}
|
|
9629
|
+
item?.click();
|
|
9630
|
+
},
|
|
9631
|
+
},
|
|
9632
|
+
]),
|
|
9633
|
+
}, "f");
|
|
9634
|
+
this.addEventListener('click', __classPrivateFieldGet$1(this, _DropdownMenu_handleClick, "f"));
|
|
9635
|
+
this.addEventListener('focusin', __classPrivateFieldGet$1(this, _DropdownMenu_handleFocusIn, "f"));
|
|
9636
|
+
this.addEventListener('focusout', __classPrivateFieldGet$1(this, _DropdownMenu_handleFocusOut, "f"));
|
|
9637
|
+
}
|
|
9562
9638
|
connectedCallback() {
|
|
9563
9639
|
super.connectedCallback();
|
|
9564
9640
|
this.setAttribute('role', 'menu');
|
|
@@ -9567,9 +9643,42 @@ class DropdownMenu extends WithIdElementMixin(Component) {
|
|
|
9567
9643
|
render() {
|
|
9568
9644
|
return b$1 `<slot name="menu-item"></slot>`;
|
|
9569
9645
|
}
|
|
9646
|
+
async activate(args) {
|
|
9647
|
+
const { position = 'first' } = args || {};
|
|
9648
|
+
this.focus();
|
|
9649
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focus(position);
|
|
9650
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").keyboard.activate();
|
|
9651
|
+
}
|
|
9652
|
+
deactivate() {
|
|
9653
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.clear();
|
|
9654
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").keyboard.deactivate();
|
|
9655
|
+
}
|
|
9570
9656
|
}
|
|
9657
|
+
_DropdownMenu_controllers = new WeakMap(), _DropdownMenu_handleClick = new WeakMap(), _DropdownMenu_handleFocusIn = new WeakMap(), _DropdownMenu_handleFocusOut = new WeakMap(), _DropdownMenu_instances = new WeakSet(), _DropdownMenu_requestCollapse = function _DropdownMenu_requestCollapse() {
|
|
9658
|
+
this.emit(DROPDOWN_COLLAPSE_EVENT);
|
|
9659
|
+
};
|
|
9571
9660
|
DropdownMenu.define();
|
|
9572
9661
|
|
|
9662
|
+
class DropdownPopover extends WithIdElementMixin(Component) {
|
|
9663
|
+
static define() {
|
|
9664
|
+
Component.define({
|
|
9665
|
+
name: 'm-dropdown-popover',
|
|
9666
|
+
constructor: DropdownPopover,
|
|
9667
|
+
});
|
|
9668
|
+
}
|
|
9669
|
+
connectedCallback() {
|
|
9670
|
+
super.connectedCallback();
|
|
9671
|
+
this.setAttribute('role', 'dialog');
|
|
9672
|
+
this.setAttribute('aria-modal', 'false');
|
|
9673
|
+
this.setAttribute('tabindex', '-1');
|
|
9674
|
+
}
|
|
9675
|
+
render() {
|
|
9676
|
+
return b$1 `<slot></slot>`;
|
|
9677
|
+
}
|
|
9678
|
+
}
|
|
9679
|
+
DropdownPopover.styles = [dropdownPopoverStyles()];
|
|
9680
|
+
DropdownPopover.define();
|
|
9681
|
+
|
|
9573
9682
|
class DropdownItem extends WithIdElementMixin(Component) {
|
|
9574
9683
|
static get properties() {
|
|
9575
9684
|
return {
|
|
@@ -21608,4 +21717,4 @@ _FilePicker_instances = new WeakSet(), _FilePicker_input_get = function _FilePic
|
|
|
21608
21717
|
FilePicker.styles = [styles$1()];
|
|
21609
21718
|
FilePicker.define();
|
|
21610
21719
|
|
|
21611
|
-
export { DrawerActions as $, ALIGN_ITEMS_VALUES as A, BackButton as B, Card as C, CaretButton as D, Checkbox as E, CloseButton as F, Column as G, Container as H, DEPRECATED_OR_ALIAS_ICONS as I, DIALOG_SIZES as J, DIALOG_VARIANTS as K, DRAWER_SIZES as L, Dialog as M, DialogActionPrimary as N, DialogActionSecondary as O, DialogActionTertiary as P, DialogActions as Q, DialogBody as R, DialogClose as S, DialogFooter as T, DialogHeader as U, Divider as V, DotsLoader as W, Drawer as X, DrawerActionPrimary as Y, DrawerActionSecondary as Z, DrawerActionTertiary as _, AVAILABLE_ICONS as a,
|
|
21720
|
+
export { DrawerActions as $, ALIGN_ITEMS_VALUES as A, BackButton as B, Card as C, CaretButton as D, Checkbox as E, CloseButton as F, Column as G, Container as H, DEPRECATED_OR_ALIAS_ICONS as I, DIALOG_SIZES as J, DIALOG_VARIANTS as K, DRAWER_SIZES as L, Dialog as M, DialogActionPrimary as N, DialogActionSecondary as O, DialogActionTertiary as P, DialogActions as Q, DialogBody as R, DialogClose as S, DialogFooter as T, DialogHeader as U, Divider as V, DotsLoader as W, Drawer as X, DrawerActionPrimary as Y, DrawerActionSecondary as Z, DrawerActionTertiary as _, AVAILABLE_ICONS as a, SkeletonText as a$, DrawerBody as a0, DrawerClose as a1, DrawerHeader as a2, Dropdown as a3, DropdownDivider as a4, DropdownItem as a5, DropdownMenu as a6, DropdownPopover as a7, DropdownTrigger as a8, EMPTY_STATE_VARIANTS as a9, Page as aA, PageContent as aB, Pagination as aC, ProgressBar as aD, ProgressBarCountdown as aE, Radio as aF, RadioGroup as aG, Row as aH, Section as aI, SectionTitle as aJ, Select as aK, SelectOption as aL, SideNavigation as aM, SideNavigationBody as aN, SideNavigationDivider as aO, SideNavigationFooter as aP, SideNavigationHeader as aQ, SideNavigationItem as aR, SideNavigationSubNav as aS, SideNavigationSubNavContent as aT, SideNavigationSubNavItem as aU, SideNavigationSubNavTitle as aV, SideNavigationTrigger as aW, Sidebar as aX, Skeleton as aY, SkeletonAvatar as aZ, SkeletonTag as a_, EmptyState as aa, EmptyStateAction as ab, EmptyStateHeader as ac, EmptyStateIllustration as ad, EmptyStateMessage as ae, FIELD_STATUSES as af, Field as ag, FieldHint as ah, FieldLabel as ai, FileItem as aj, FilePicker as ak, Grid as al, Group as am, Header as an, HeaderActions as ao, HeaderContent as ap, HeaderTabs as aq, HeaderTitle as ar, Icon as as, JUSTIFY_CONTENT_VALUES as at, Label as au, LabeledValue as av, LabeledValueLabel as aw, LabeledValueValue as ax, Link as ay, LogoLoader as az, Accordion as b, defaultTableCellProps as b$, SpinnerWheel as b0, Stack as b1, Step as b2, Steps as b3, SubHeader as b4, Switch as b5, Switcher as b6, TOOLTIP_PLACEMENT_VALUES as b7, Tab as b8, TabPanel as b9, TagExpand as bA, TagRemove as bB, Text as bC, TextArea as bD, TextField as bE, Timeline as bF, TimelineExpandableItem as bG, TimelineItem as bH, TimelineItemBody as bI, TimelineItemFooter as bJ, TimelineItemHeader as bK, TimelineItemHeaderSubtitle as bL, TimelineItemHeaderTitle as bM, TimelineItemIcon as bN, Toggle as bO, ToggleGroup as bP, Tooltip as bQ, TopNavigation as bR, TopNavigationItem as bS, defaultBoxProps as bT, defaultGridProps as bU, defaultGroupProps as bV, defaultLabeledValueProps as bW, defaultSidebarProps as bX, defaultStackProps as bY, defaultSwitcherProps as bZ, defaultTableCellProps$1 as b_, Table$1 as ba, TableActions as bb, TableBody$1 as bc, TableBody as bd, TableCell$1 as be, TableCell as bf, TableFeedback as bg, TableFoot$1 as bh, TableFoot as bi, TableHead$1 as bj, TableHeadCell$1 as bk, TableHeadCell as bl, TableHead as bm, TableLayout as bn, TableLayoutActions as bo, TableLayoutFeedback as bp, TableLayoutToolbar as bq, TableRow$1 as br, TableRowExpand as bs, TableRowSelect as bt, TableRow as bu, TableSelectionCell as bv, TableToolbar as bw, Table as bx, Tabs as by, Tag as bz, AccordionContent as c, defaultTableHeadCellProps$1 as c0, defaultTableProps$1 as c1, defaultTableProps as c2, typographyVariants as c3, AccordionTitle as d, ActionableTag as e, Avatar as f, Badge as g, Banner as h, BannerActionPrimary as i, BannerActionSecondary as j, BannerActions as k, BannerDescription as l, BannerIcon as m, BannerTitle as n, Body as o, Box as p, Button as q, CardActionPrimary as r, CardActionSecondary as s, CardActionTertiary as t, CardBody as u, CardDivider as v, w, CardFooter as x, CardSubtitle as y, CardTitle as z };
|