@loadsmart/miranda-wc 3.33.0 → 3.35.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-DiOPlUYs-NYlusleR.js → add-circle-CCiavRUX-Dlm1BIDn.js} +1 -1
- package/dist/{alarm-DRjdI4zk-DSRZ-iTY.js → alarm-CTX0pcTr-Br6jSwpX.js} +1 -1
- package/dist/{alert-blocked-z0tDfBX4-Bm8t43xv.js → alert-blocked-Df1braUR-C5DW87_1.js} +1 -1
- package/dist/{alert-circle-hMlYNcUg-D2SHmhEe.js → alert-circle-B84wCovs-C1knxnOq.js} +1 -1
- package/dist/{anchor-CmnTx7yF-CHT8n-FE.js → anchor-BprsVu4x-DadT1pPp.js} +1 -1
- package/dist/{archive-DolOiZ0Z-CBBOtZ7c.js → archive-DPdta2zf-BrUIcGct.js} +1 -1
- package/dist/{arrow-left-Cp4QIBXW-C4YqAIuC.js → arrow-left-BgtUOb_0-BDYnhviL.js} +1 -1
- package/dist/{arrow-right-B8-8eHfD-DbM_2D1I.js → arrow-right-DMTCjT69-Bg1Puhkj.js} +1 -1
- package/dist/{arrow-sort-down-xCZ-WLX_-CR5nLrTY.js → arrow-sort-down-BpowlLr5-BzslQDC_.js} +1 -1
- package/dist/{arrow-sort-up-DSSQKGbS-Bd2lLM3-.js → arrow-sort-up-C3RB8HfC-D7wddU6g.js} +1 -1
- package/dist/{arrow-sort-up-down-BbjgkgrJ-xXyfEBIw.js → arrow-sort-up-down-DYizAe6N-BxjWdQKP.js} +1 -1
- package/dist/{asterisk-CEIwxmsz-DF9u6RlW.js → asterisk-IuPdtf0A-b6i-jPmo.js} +1 -1
- package/dist/{attention-CxE3Sk2m-DYS5E5cC.js → attention-dOVizd4D-o4rd-bDe.js} +1 -1
- package/dist/{automatic-q0FNtPu7-cp_JRYrx.js → automatic-KZ0yuU6w-DI5m0pZW.js} +1 -1
- package/dist/{bank-BA1dRT5z-BG69EJXP.js → bank-BbTYJleE-DnVhUTFZ.js} +1 -1
- package/dist/{bell-CZSCVtE0-m4JrYk9v.js → bell-Cvp9nybs-CXcpMmLz.js} +1 -1
- package/dist/{bell-cancel-CaTHtIlN-BqdCFFFX.js → bell-cancel-DjPLVIgW-rxI12914.js} +1 -1
- package/dist/{blind-bol-C1hvveo8-rl0GEpRX.js → blind-bol-BYeO87M3-DEiJjuI0.js} +1 -1
- package/dist/{board-CM-Ux6s9-B8chcv2y.js → board-aKsK9rtc-DbputzbZ.js} +1 -1
- package/dist/{bol-CMkYiM_5-qJMo7tzA.js → bol-x_Ol-MTi-ClJI3U-I.js} +1 -1
- package/dist/{bolt-Qns6QtuF-CbMh1vML.js → bolt-0UU7Rm7N-SnVOxerj.js} +1 -1
- package/dist/{bolt-off-7Q2_kNne-nCqwCO1P.js → bolt-off-DEBG-ZvM-Cqt8gx1e.js} +1 -1
- package/dist/{box-nbR52IFe-CO7ExDrQ.js → box-BuOaK1pU-JvIBmxBD.js} +1 -1
- package/dist/{broadcast-DgARMbws-BsyyTmzb.js → broadcast-CZI1jilz-BINneQ31.js} +1 -1
- package/dist/{burguer-menu-C1lkLuO6-DgVoHTR_.js → burguer-menu-B6aTH4bv-DVSQ5aAP.js} +1 -1
- package/dist/{calendar-BwYQ-hw2-g_Wf2ZOG.js → calendar-DSazdtSE-DPeJu-6k.js} +1 -1
- package/dist/{camera-DiAAtIbs-7W98E7gt.js → camera-BRiku8B_-jl_BHU81.js} +1 -1
- package/dist/{canada-flag-bdmLUijM-B6KXYteQ.js → canada-flag-HNmrB822-HFWoShKF.js} +1 -1
- package/dist/{caret-down-Cd0XBrkq-mD4rh53p.js → caret-down-rmmymj9h-DqvCIwpw.js} +1 -1
- package/dist/{caret-left-Hhunt3I0-CuxlYAKj.js → caret-left-CdwGa7OM-DXnXuZRk.js} +1 -1
- package/dist/{caret-right-B5v0pRej-iGYyb98J.js → caret-right-C-iwJBqf-CHdXyQPr.js} +1 -1
- package/dist/{caret-up-D2knMuz2-ChrFEKS-.js → caret-up-Dd4FpNSi-BwXQARFm.js} +1 -1
- package/dist/{carrier-contract-OlBqJxeX-CrC1e1L6.js → carrier-contract-CZdjNH8p-C1jjnPXR.js} +1 -1
- package/dist/{chat-BAMGcqPF-CKtM11Am.js → chat-CzWG0AoO-CJ1d0JC3.js} +1 -1
- package/dist/{check-DKDX2V4D-Bb6lyzcP.js → check-Ch9fDKfW-DxK4I2o2.js} +1 -1
- package/dist/{clip-BYs8EVqQ-DQ8-mQW1.js → clip-B84qJCbB-Cu4CTz1H.js} +1 -1
- package/dist/{clock-DdG-dIhk-N0tIC6Ww.js → clock-DRK6wEc8-CNgfU18k.js} +1 -1
- package/dist/{clown-BNH4AF3Z-BO_RVxJM.js → clown-8fuQXd4l-uTAEDSwT.js} +1 -1
- package/dist/{code-BlX0S8X2-DfH7zRW2.js → code-B0bZma8O-CvYGIQYD.js} +1 -1
- package/dist/{comment-BZgSppfT-Bve8w06L.js → comment-lSMrWzMv-Ce9Wo1a1.js} +1 -1
- package/dist/{company-B3Bg2GSF-CG2PZ0cV.js → company-s8Ko_BOC-CAW-dyKX.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-Ci-pZ8qn-Dml8RPg4.js → confetti-DCkub1RI-sAoOwC-Q.js} +1 -1
- package/dist/{contract-CLdDEJ05-oH8ueCxJ.js → contract-B_oYGgCq-CGLjmwAO.js} +1 -1
- package/dist/{copy-wijCFJZl-C70SJgmf.js → copy-iDDWnwtn-BxO4oNAq.js} +1 -1
- package/dist/{corner-down-CXtHAvnQ-DSb2FB-1.js → corner-down-D_nw1mRb-BQ9Sx2nm.js} +1 -1
- package/dist/{corner-down-r-C_ZkX8Di-YK6dCZKu.js → corner-down-r-CT36qB52-D4EKUKV3.js} +1 -1
- package/dist/{corner-up-DYcpBxMK-N-3g-yEU.js → corner-up-DyKr1qw4-BNRxu8a2.js} +1 -1
- package/dist/{credit-card-B4vyO4Xg-BrGlX-Vt.js → credit-card-CEksI3z3-D_7Y2We1.js} +1 -1
- package/dist/{crown-DbBzr2Is-B-Ye4J5w.js → crown-BvIqSEBb-BrBwNmjU.js} +1 -1
- package/dist/{delivery-ByAVovUz-B_ZD9B4p.js → delivery-CuCVzOmH-BlD09xKp.js} +1 -1
- package/dist/{dislike-Z6zaMr0_-e9QsAQRZ.js → dislike-C0OXL8wV-WhXiQ2Io.js} +1 -1
- package/dist/{document-csv-BTbJsC9d-plVYohto.js → document-csv-D2suZLg1-0zgrQ59y.js} +1 -1
- package/dist/{document-file-BRSy-6VA-C7aPME7e.js → document-file-Df1pBr5H-Du8QWqdw.js} +1 -1
- package/dist/{document-file-plus-zVmlH7FT-BtILG4Cm.js → document-file-plus-B5osRghS-B-nfe7-O.js} +1 -1
- package/dist/{document-image-Wi_jDB7X-BLFUVbof.js → document-image-m_mrV0sw-BpzsQ2kb.js} +1 -1
- package/dist/{dollar-CWYdIAJW-DVHuvAGM.js → dollar-CKDzWRKS-D69nniX5.js} +1 -1
- package/dist/{dollar-circle-vry17HiM-DseozH1N.js → dollar-circle-DLs8UHAw-BYyUWcD9.js} +1 -1
- package/dist/{dots-horizontal-Cel3pEVb-D5db028C.js → dots-horizontal-BPz8XG_Z-D9r9vI6D.js} +1 -1
- package/dist/{dots-six-BevDniZr-CNAg0tIR.js → dots-six-NoFYfGIE-BexJGM5Q.js} +1 -1
- package/dist/{dots-vertical-BGk3o3-g-gZoweEjt.js → dots-vertical-Bjz8cdyP-DCUsDl4F.js} +1 -1
- package/dist/{double-caret-down-t_0OcPgb-DyLSyaEf.js → double-caret-down-beChjVQJ-DMNvDCg8.js} +1 -1
- package/dist/{double-caret-left-BnHy_epC-B9umBcJM.js → double-caret-left-Bq8ojSne-D2dABfIw.js} +1 -1
- package/dist/{double-caret-right-DJk0Q4qe-DGIWOS_9.js → double-caret-right-Bdpt0SMz-BVCaBual.js} +1 -1
- package/dist/{down-ifeVm2V1-Co8mFOch.js → down-CizSMWTN-B2oylFTz.js} +1 -1
- package/dist/{download-D06C1Hoy-D-_y0g7v.js → download-E3sR5Mww-BGwmBED1.js} +1 -1
- package/dist/{drop-trailer-DIj0B-w3-BjEDKr3z.js → drop-trailer-Bj0GWGwP-DyZUFIld.js} +1 -1
- package/dist/{dropdown-BPhMxor2-Chtuufwg.js → dropdown-DS9Eol9H-C9ZHZSvs.js} +1 -1
- package/dist/{email-BXd6u6G2-BuwaxCnI.js → email-D41RycK6-C8Gtl6AD.js} +1 -1
- package/dist/{email-filled-DumhdZyx-EMOH8BS6.js → email-filled-B7dC9VON-B5v0YQVX.js} +1 -1
- package/dist/{export-sdEYubhy-QJkJlBRK.js → export-AxznQaY7-f_ecxdlO.js} +1 -1
- package/dist/{eye-u7QDeITK-ryYOQGdE.js → eye-Du5v5FWl-DTW2ynME.js} +1 -1
- package/dist/{fast-C0uQbRST-BDZrzWCz.js → fast-v4JTkYTx-ojoAWs_o.js} +1 -1
- package/dist/{favorite-DVXrYPwA-Ct8bUUhZ.js → favorite-Bq7yw_kC-FZhdD5Y0.js} +1 -1
- package/dist/{file-ClURLwx6-DCPHwFqK.js → file-andhEVTZ-CGxNrWUw.js} +1 -1
- package/dist/{filter-B3DKaY_M-DijBZVv9.js → filter-Fi16bT14-FrQsxj18.js} +1 -1
- package/dist/{flag-BYUmgBXJ-BLvbETEM.js → flag-CFiF2B-J-Drk57581.js} +1 -1
- package/dist/{folder-D5-UrcPf-D3jxRfFh.js → folder-BY1CGlkw-S7WjXI9S.js} +1 -1
- package/dist/{funnel-BVso0-sz-DJ58HC_T.js → funnel-HKIpskv1-Fhld2J7w.js} +1 -1
- package/dist/{gear-CYCbnVjR-Dek6OnSX.js → gear-p9AOrdfV-ClPtvJFx.js} +1 -1
- package/dist/{graph-xGSoP44r-DQyz8lve.js → graph-W4As17IT-BPfmQH1y.js} +1 -1
- package/dist/{hand-CZiWD5pv-IaCAfrkW.js → hand-B27-xQyr-Cyffv-2y.js} +1 -1
- package/dist/{hand-tap-DW_-3khk-BGa0-kB0.js → hand-tap-Cs1_nUof-C4nSkB68.js} +1 -1
- package/dist/{hazmat-BCU87rhG-CFvJQdN1.js → hazmat-O9Rs8KDW-CLQa99pu.js} +1 -1
- package/dist/{high-signal-Cyxun3PU-fx_NrdQs.js → high-signal-DZzZcVf2-BQODe-oW.js} +1 -1
- package/dist/{history-Bc9kf6bP-C3QkeXzM.js → history-NDAtFhnw-B72PsUss.js} +1 -1
- package/dist/{home-DlV3CyUt-DZYX0Zq-.js → home-r-pAmPV4-Bmgjd9v7.js} +1 -1
- package/dist/{hourglass-BY4zVV0V-ly0qJA37.js → hourglass-Y1th9ma2-D3MzbIcd.js} +1 -1
- package/dist/{import-2-DDX-fLKh-vzBDAxle.js → import-2-CW7vwO-a-CZvRziko.js} +1 -1
- package/dist/{import-BUOxXqGF-VMArkOeU.js → import-xsCginrw-nZ7U2fPT.js} +1 -1
- package/dist/{indeterminate-BN6pzFVd-Dg9qg41j.js → indeterminate-DcQTzXPO-CW1hyIhe.js} +1 -1
- package/dist/{index-DtebM7fj.js → index-Ctr-Gb9o.js} +570 -463
- package/dist/index.js +1 -1
- package/dist/{info-D-4sNqOa-54UwbIB6.js → info-D-uIPxeP-D82g2ATg.js} +1 -1
- package/dist/{invoice-B9hgDfq3-BLFk4OSI.js → invoice-9IVdAGaS-Db6eTk_m.js} +1 -1
- package/dist/{invoice-items-D2fYC9di-D6vuVPrJ.js → invoice-items-BVjcnUy9-B5J7zVW_.js} +1 -1
- package/dist/{kanban-oCx0M6sb-CPuOlH52.js → kanban-wLumuKE6-CuIR5Lr4.js} +1 -1
- package/dist/{light-bulb-Bzl-m0Lm-CExNsjcJ.js → light-bulb-Benzfpko-DFZhSdkD.js} +1 -1
- package/dist/{like-DFjlyTSh-Y5d0mwgV.js → like-DfKV9BZf-CBIGRlTL.js} +1 -1
- package/dist/{link-D7HzFX2n-BUVy6Y_y.js → link-DTSRXMuy-D0iKmONH.js} +1 -1
- package/dist/{list-DML2kkOb-kXa-oTfK.js → list-Cs_Tx9wb-CNtM8-nm.js} +1 -1
- package/dist/{loadsmart-logo-DakcMF2Z-DIjOScup.js → loadsmart-logo-I8MORLBu-bjC9Uya3.js} +1 -1
- package/dist/{log-out-e39_fL4V-BhVpYRGL.js → log-out-gmU6LTta-CTLTKqth.js} +1 -1
- package/dist/{low-signal-CRO7_Jx7-CXbByG6L.js → low-signal-DZnFUjQ2-CdtTNuFd.js} +1 -1
- package/dist/{map-Bd4b1Kj4-DVQJT0ox.js → map-BXGHPJos-D2ARKPGc.js} +1 -1
- package/dist/{medal-au574qLU-BDy7Ga6H.js → medal-DYWS6LnK-C11SDhIR.js} +1 -1
- package/dist/{megaphone-CZrNChGQ-UWck4roy.js → megaphone-zr3TkPwf--U_bewXN.js} +1 -1
- package/dist/{menu-arrow-BnL7YRdv-Cvcz7cap.js → menu-arrow-CZKCoYuS-DUYYes59.js} +1 -1
- package/dist/{mexico-flag-B9pHp2qM-BerOr4wj.js → mexico-flag-D2b6ujty-CAMamYOx.js} +1 -1
- package/dist/{minus-CKO--F7L-DjmOvhZZ.js → minus-0j3gmofO-N8bF6_Ix.js} +1 -1
- package/dist/{network-signal-B4Yuoz59-D8ir9NbK.js → network-signal-DdQxJUwl-C-3r0M2D.js} +1 -1
- package/dist/{no-awarded-DUB4UdD7-C96oenE8.js → no-awarded-DqCcBDaA-BMevvC6v.js} +1 -1
- package/dist/{notes-lock-DlY8jOnI-DdAS1gSQ.js → notes-lock-yGhHhs6p-CRlv0Oip.js} +1 -1
- package/dist/{notes-C5QH0EJP-7V-r38nx.js → notes-mmHptcYJ-DvbzlTBo.js} +1 -1
- package/dist/{order-CmvesANq-DfCaS1bf.js → order-DfN6VfVP-MdY0pn0K.js} +1 -1
- package/dist/{package-tracking-CyJVN0cV-B78TyGNT.js → package-tracking-DKNbRGx4-B4WTGLRE.js} +1 -1
- package/dist/{padlock-BikESUTH-B4N5jSQ3.js → padlock-RzN4JVVn-DNQy6ULG.js} +1 -1
- package/dist/{padlock-open-B1gcrATK-DlhmE9fA.js → padlock-open-Cp_4tneI-GIIBFuVF.js} +1 -1
- package/dist/{pencil-BUV7GkSm-CdHI80az.js → pencil-837fxGhz-_jGUkUAe.js} +1 -1
- package/dist/{phone-CVOaez6s-rSE-xUUy.js → phone-vxSIxmB0-DR1zQqy9.js} +1 -1
- package/dist/{pin-CcLGoPsB-C0SRNT7P.js → pin-DW7DgJtQ-C7mXI82P.js} +1 -1
- package/dist/{pin-filled-BWSRLIPL-_sMWbmk8.js → pin-filled-GMP65wQH-HgjhxCQ5.js} +1 -1
- package/dist/{pin-map-C1jsm7uJ-C91yzOus.js → pin-map-MDCMAjdo-CnKf3yMw.js} +1 -1
- package/dist/{play-Btizc9_K-B5wE7MQO.js → play-BP1B_8iE-CvgnAHof.js} +1 -1
- package/dist/{plugs-BTSUxEVw-DTD733Md.js → plugs-BtiB14z5-CieDonzw.js} +1 -1
- package/dist/{plus-BnUipFlL-74ktGlhM.js → plus-DFSf8fYn-BNoh2vgQ.js} +1 -1
- package/dist/{pod-r6caYAwP-DXL_5RvU.js → pod-CA-1astj-_qsavLqw.js} +1 -1
- package/dist/{pre-confirmed-load-7c0gAJBD-gOY1vXgR.js → pre-confirmed-load-BPrJZniX-dfWWU6QJ.js} +1 -1
- package/dist/{print-Bsqdtdxr-DcRIx3PC.js → print-DQPi33sm-GoqBK--2.js} +1 -1
- package/dist/{profile-CqnjPrHu-BVCTUeM-.js → profile-Pim5s7F--DaRX7mPL.js} +1 -1
- package/dist/{question-dot-Co-3auCH-CaJ5wmpu.js → question-dot-BkpZGESo-DcwGvNAQ.js} +1 -1
- package/dist/{receipt-D3pq4dWX-CW4ky3SU.js → receipt-sf8Hte0h-CxuqRYx3.js} +1 -1
- package/dist/{redo-BdMUxHtw-DwKgieKK.js → redo-3HFtQ0FA-CPiKWAZF.js} +1 -1
- package/dist/{refresh-DEhuruCM-C-Vjg80d.js → refresh-B9nzPjUf-CrnBiqXe.js} +1 -1
- package/dist/{reloading-CSX5XMo8-D3hlVm1q.js → reloading-BA8D7wTv-BAoukNUL.js} +1 -1
- package/dist/{road-DxqMmFyz-DSa7cEAV.js → road-BAcIO4zy-DGvmkQaS.js} +1 -1
- package/dist/robot-lU57W1kp-Df4mQEIb.js +6 -0
- package/dist/{round-trip-ldWKd96N-DxRG1sIz.js → round-trip-Dw9AdyJ0-z0ThypjH.js} +1 -1
- package/dist/{satellite-DEZ5PWGZ-CYCDxBu-.js → satellite-NNTCyHy--Co-kUz8I.js} +1 -1
- package/dist/{search-_uhB2zNa-BNxfjGht.js → search-DvOCCqCm-CpXXvemZ.js} +1 -1
- package/dist/{send-oFQQfTM1-C2-C0MlA.js → send-D9igtZ0H-4n_Kp6bF.js} +1 -1
- package/dist/{share-BaqCG3T9-LJPpuYA-.js → share-Ddc0V7ZJ-Bu1hQV3h.js} +1 -1
- package/dist/{ship-DbFBDJPM-uYrcg0X1.js → ship-CzXngChz-CYGxm5dN.js} +1 -1
- package/dist/{signal-D-lT2QV_-B7vNDemu.js → signal-BJn3aH6k-Dzt08ReD.js} +1 -1
- package/dist/{sparkle-jG_CYpz--If0TJbSp.js → sparkle-C3LV52QD-CSq5ISxB.js} +1 -1
- package/dist/{star-CoLYqJEf-rY8l4Icc.js → star-BVLMQ-_X-CU5fQcOA.js} +1 -1
- package/dist/{swap-YlvcjgYi-_yzThwZX.js → swap-DD7fyHMS-dkFQ6Ukb.js} +1 -1
- package/dist/{tag-5mZ4hIY3-DvM3U0_a.js → tag-B4lJZyi4-Chj8utP7.js} +1 -1
- package/dist/{tag-chevron-SFmqdByk-CIqwEAX3.js → tag-chevron-CjrEtmhd-Dp_zAKWk.js} +1 -1
- package/dist/{telephone-DseUYAUT-yNSB3FtH.js → telephone-BYauzs31-DvcfnJYu.js} +1 -1
- package/dist/{telephone-slash-CD7Qsw-b-VHtMMH6L.js → telephone-slash-CP63Q-bV-hI3okzWM.js} +1 -1
- package/dist/{terminal-DGkkJBdz-DNMoB3iK.js → terminal-hF7ftc79-D5w8bH7w.js} +1 -1
- package/dist/{timer-C2N7PIto-CgZg9F4J.js → timer-BTYu4t-t-BBNnzP3w.js} +1 -1
- package/dist/{tms-ready-DMneBxyH-B1utP_uz.js → tms-ready-CU9kBKQY-Coz6mqsE.js} +1 -1
- package/dist/{train-Bo2adISs-DmwtP6eO.js → train-BUFafHt_-CfHmCSUQ.js} +1 -1
- package/dist/{trash-C1I23UWb-B42GexRq.js → trash-BEQcZA33-Ot5GE9UD.js} +1 -1
- package/dist/{trend-down-Dqd-vkg1-5Zn4NdPv.js → trend-down-DWNviyAx-CwbA7PhY.js} +1 -1
- package/dist/{trend-up-BlL1BGGa-DSpyJOwl.js → trend-up-0ss4xHwV-BFO88X58.js} +1 -1
- package/dist/{trophee-COXs7wS_-Bn4O68qv.js → trophee-Clwe47ad-BMp6eMrB.js} +1 -1
- package/dist/{truck-B6ZWBotd-BGWXGCKo.js → truck-CzvINFZW-RiC4tWUX.js} +1 -1
- package/dist/{truckload-jHFQxKhs-D_bAFy61.js → truckload-D-J5f1bd-D0-skMoH.js} +1 -1
- package/dist/{unarchive-7MKRu1u0-D424udOj.js → unarchive-DDMxh528-DK2ql17F.js} +1 -1
- package/dist/{undo-DoVoBUqz-Dt689kpb.js → undo-WAgJpia6-DcV-uqlg.js} +1 -1
- package/dist/{united-states-flag-C_KWzdVV-C4o6ZN0x.js → united-states-flag-CQffd0BI-DGUuPzrz.js} +1 -1
- package/dist/{up-DvTOb_9T-CQXo4bZr.js → up-CWwbB_tL-DRc0z-sE.js} +1 -1
- package/dist/{upgrade-BjIVhHB5-CXV3COop.js → upgrade-C9xWszpj-DD3M18y9.js} +1 -1
- package/dist/{upload-hm4U-LQA-DSkqbxKd.js → upload-BPmTvxna-F-8vYxtG.js} +1 -1
- package/dist/{user-BQreTuV_-BWU-dAlF.js → user-VDJrCRYa-CLy59dSn.js} +1 -1
- package/dist/{wallet-DGoMDu6a-BUCZmCSZ.js → wallet-QaM0B5nw-ZrlNCSDl.js} +1 -1
- package/dist/{warehouse-I2-YerzF-D6NuU2I-.js → warehouse-CUM8sCqj-Cerh9F4E.js} +1 -1
- package/dist/{website-visibility-C2zzVSFs-lp383CtX.js → website-visibility-BZEXlTAr-g5ybJFde.js} +1 -1
- package/dist/{wifi-DV_m5XjK-DwfoYXsd.js → wifi-C7NJqD6c-Ds0vp8x-.js} +1 -1
- package/dist/{wifi-off-0v3fc7Gk-DM_AXZR9.js → wifi-off-4IEYkMVR-B1X07Ffy.js} +1 -1
- package/dist/{x-BzaEilbx-BO7Rq3KF.js → x-DQDypbhm-D2SAC7NB.js} +1 -1
- package/dist/{x-small-DQkpUXxG-CuvbSHJu.js → x-small-ydvVAII5-9rVXhqSu.js} +1 -1
- package/dist/{zoom-in-CLrk-D-h-DxKhfI2T.js → zoom-in-BTGlYfap-BiSnbU14.js} +1 -1
- package/dist/{zoom-out-CbtBn0rc-D-v34IlO.js → zoom-out-CnGZbBqT-D92eWOK0.js} +1 -1
- package/package.json +3 -3
|
@@ -1429,179 +1429,180 @@ 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/credit-card.ts': return import('./credit-card-
|
|
1480
|
-
case './icons/crown.ts': return import('./crown-
|
|
1481
|
-
case './icons/delivery.ts': return import('./delivery-
|
|
1482
|
-
case './icons/dislike.ts': return import('./dislike-
|
|
1483
|
-
case './icons/document-csv.ts': return import('./document-csv-
|
|
1484
|
-
case './icons/document-file-plus.ts': return import('./document-file-plus-
|
|
1485
|
-
case './icons/document-file.ts': return import('./document-file-
|
|
1486
|
-
case './icons/document-image.ts': return import('./document-image-
|
|
1487
|
-
case './icons/dollar-circle.ts': return import('./dollar-circle-
|
|
1488
|
-
case './icons/dollar.ts': return import('./dollar-
|
|
1489
|
-
case './icons/dots-horizontal.ts': return import('./dots-horizontal-
|
|
1490
|
-
case './icons/dots-six.ts': return import('./dots-six-
|
|
1491
|
-
case './icons/dots-vertical.ts': return import('./dots-vertical-
|
|
1492
|
-
case './icons/double-caret-down.ts': return import('./double-caret-down-
|
|
1493
|
-
case './icons/double-caret-left.ts': return import('./double-caret-left-
|
|
1494
|
-
case './icons/double-caret-right.ts': return import('./double-caret-right-
|
|
1495
|
-
case './icons/down.ts': return import('./down-
|
|
1496
|
-
case './icons/download.ts': return import('./download-
|
|
1497
|
-
case './icons/drop-trailer.ts': return import('./drop-trailer-
|
|
1498
|
-
case './icons/dropdown.ts': return import('./dropdown-
|
|
1499
|
-
case './icons/email-filled.ts': return import('./email-filled-
|
|
1500
|
-
case './icons/email.ts': return import('./email-
|
|
1501
|
-
case './icons/export.ts': return import('./export-
|
|
1502
|
-
case './icons/eye.ts': return import('./eye-
|
|
1503
|
-
case './icons/fast.ts': return import('./fast-
|
|
1504
|
-
case './icons/favorite.ts': return import('./favorite-
|
|
1505
|
-
case './icons/file.ts': return import('./file-
|
|
1506
|
-
case './icons/filter.ts': return import('./filter-
|
|
1507
|
-
case './icons/flag.ts': return import('./flag-
|
|
1508
|
-
case './icons/folder.ts': return import('./folder-
|
|
1509
|
-
case './icons/funnel.ts': return import('./funnel-
|
|
1510
|
-
case './icons/gear.ts': return import('./gear-
|
|
1511
|
-
case './icons/graph.ts': return import('./graph-
|
|
1512
|
-
case './icons/hand-tap.ts': return import('./hand-tap-
|
|
1513
|
-
case './icons/hand.ts': return import('./hand-
|
|
1514
|
-
case './icons/hazmat.ts': return import('./hazmat-
|
|
1515
|
-
case './icons/high-signal.ts': return import('./high-signal-
|
|
1516
|
-
case './icons/history.ts': return import('./history-
|
|
1517
|
-
case './icons/home.ts': return import('./home-
|
|
1518
|
-
case './icons/hourglass.ts': return import('./hourglass-
|
|
1519
|
-
case './icons/import-2.ts': return import('./import-2-
|
|
1520
|
-
case './icons/import.ts': return import('./import-
|
|
1521
|
-
case './icons/indeterminate.ts': return import('./indeterminate-
|
|
1522
|
-
case './icons/info.ts': return import('./info-D-
|
|
1523
|
-
case './icons/invoice-items.ts': return import('./invoice-items-
|
|
1524
|
-
case './icons/invoice.ts': return import('./invoice-
|
|
1525
|
-
case './icons/kanban.ts': return import('./kanban-
|
|
1526
|
-
case './icons/light-bulb.ts': return import('./light-bulb-
|
|
1527
|
-
case './icons/like.ts': return import('./like-
|
|
1528
|
-
case './icons/link.ts': return import('./link-
|
|
1529
|
-
case './icons/list.ts': return import('./list-
|
|
1530
|
-
case './icons/loadsmart-logo.ts': return import('./loadsmart-logo-
|
|
1531
|
-
case './icons/log-out.ts': return import('./log-out-
|
|
1532
|
-
case './icons/low-signal.ts': return import('./low-signal-
|
|
1533
|
-
case './icons/map.ts': return import('./map-
|
|
1534
|
-
case './icons/medal.ts': return import('./medal-
|
|
1535
|
-
case './icons/megaphone.ts': return import('./megaphone-
|
|
1536
|
-
case './icons/menu-arrow.ts': return import('./menu-arrow-
|
|
1537
|
-
case './icons/mexico-flag.ts': return import('./mexico-flag-
|
|
1538
|
-
case './icons/minus.ts': return import('./minus-
|
|
1539
|
-
case './icons/network-signal.ts': return import('./network-signal-
|
|
1540
|
-
case './icons/no-awarded.ts': return import('./no-awarded-
|
|
1541
|
-
case './icons/notes-lock.ts': return import('./notes-lock-
|
|
1542
|
-
case './icons/notes.ts': return import('./notes-
|
|
1543
|
-
case './icons/order.ts': return import('./order-
|
|
1544
|
-
case './icons/package-tracking.ts': return import('./package-tracking-
|
|
1545
|
-
case './icons/padlock-open.ts': return import('./padlock-open-
|
|
1546
|
-
case './icons/padlock.ts': return import('./padlock-
|
|
1547
|
-
case './icons/pencil.ts': return import('./pencil-
|
|
1548
|
-
case './icons/phone.ts': return import('./phone-
|
|
1549
|
-
case './icons/pin-filled.ts': return import('./pin-filled-
|
|
1550
|
-
case './icons/pin-map.ts': return import('./pin-map-
|
|
1551
|
-
case './icons/pin.ts': return import('./pin-
|
|
1552
|
-
case './icons/play.ts': return import('./play-
|
|
1553
|
-
case './icons/plugs.ts': return import('./plugs-
|
|
1554
|
-
case './icons/plus.ts': return import('./plus-
|
|
1555
|
-
case './icons/pod.ts': return import('./pod-
|
|
1556
|
-
case './icons/pre-confirmed-load.ts': return import('./pre-confirmed-load-
|
|
1557
|
-
case './icons/print.ts': return import('./print-
|
|
1558
|
-
case './icons/profile.ts': return import('./profile-
|
|
1559
|
-
case './icons/question-dot.ts': return import('./question-dot-
|
|
1560
|
-
case './icons/receipt.ts': return import('./receipt-
|
|
1561
|
-
case './icons/redo.ts': return import('./redo-
|
|
1562
|
-
case './icons/refresh.ts': return import('./refresh-
|
|
1563
|
-
case './icons/reloading.ts': return import('./reloading-
|
|
1564
|
-
case './icons/road.ts': return import('./road-
|
|
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/tag.ts': return import('./tag-
|
|
1577
|
-
case './icons/
|
|
1578
|
-
case './icons/telephone.ts': return import('./telephone-
|
|
1579
|
-
case './icons/
|
|
1580
|
-
case './icons/
|
|
1581
|
-
case './icons/
|
|
1582
|
-
case './icons/
|
|
1583
|
-
case './icons/
|
|
1584
|
-
case './icons/
|
|
1585
|
-
case './icons/trend-
|
|
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/wifi.ts': return import('./wifi-
|
|
1601
|
-
case './icons/
|
|
1602
|
-
case './icons/x.ts': return import('./x-
|
|
1603
|
-
case './icons/
|
|
1604
|
-
case './icons/zoom-
|
|
1432
|
+
case './icons/add-circle.ts': return import('./add-circle-CCiavRUX-Dlm1BIDn.js');
|
|
1433
|
+
case './icons/alarm.ts': return import('./alarm-CTX0pcTr-Br6jSwpX.js');
|
|
1434
|
+
case './icons/alert-blocked.ts': return import('./alert-blocked-Df1braUR-C5DW87_1.js');
|
|
1435
|
+
case './icons/alert-circle.ts': return import('./alert-circle-B84wCovs-C1knxnOq.js');
|
|
1436
|
+
case './icons/anchor.ts': return import('./anchor-BprsVu4x-DadT1pPp.js');
|
|
1437
|
+
case './icons/archive.ts': return import('./archive-DPdta2zf-BrUIcGct.js');
|
|
1438
|
+
case './icons/arrow-left.ts': return import('./arrow-left-BgtUOb_0-BDYnhviL.js');
|
|
1439
|
+
case './icons/arrow-right.ts': return import('./arrow-right-DMTCjT69-Bg1Puhkj.js');
|
|
1440
|
+
case './icons/arrow-sort-down.ts': return import('./arrow-sort-down-BpowlLr5-BzslQDC_.js');
|
|
1441
|
+
case './icons/arrow-sort-up-down.ts': return import('./arrow-sort-up-down-DYizAe6N-BxjWdQKP.js');
|
|
1442
|
+
case './icons/arrow-sort-up.ts': return import('./arrow-sort-up-C3RB8HfC-D7wddU6g.js');
|
|
1443
|
+
case './icons/asterisk.ts': return import('./asterisk-IuPdtf0A-b6i-jPmo.js');
|
|
1444
|
+
case './icons/attention.ts': return import('./attention-dOVizd4D-o4rd-bDe.js');
|
|
1445
|
+
case './icons/automatic.ts': return import('./automatic-KZ0yuU6w-DI5m0pZW.js');
|
|
1446
|
+
case './icons/bank.ts': return import('./bank-BbTYJleE-DnVhUTFZ.js');
|
|
1447
|
+
case './icons/bell-cancel.ts': return import('./bell-cancel-DjPLVIgW-rxI12914.js');
|
|
1448
|
+
case './icons/bell.ts': return import('./bell-Cvp9nybs-CXcpMmLz.js');
|
|
1449
|
+
case './icons/blind-bol.ts': return import('./blind-bol-BYeO87M3-DEiJjuI0.js');
|
|
1450
|
+
case './icons/board.ts': return import('./board-aKsK9rtc-DbputzbZ.js');
|
|
1451
|
+
case './icons/bol.ts': return import('./bol-x_Ol-MTi-ClJI3U-I.js');
|
|
1452
|
+
case './icons/bolt-off.ts': return import('./bolt-off-DEBG-ZvM-Cqt8gx1e.js');
|
|
1453
|
+
case './icons/bolt.ts': return import('./bolt-0UU7Rm7N-SnVOxerj.js');
|
|
1454
|
+
case './icons/box.ts': return import('./box-BuOaK1pU-JvIBmxBD.js');
|
|
1455
|
+
case './icons/broadcast.ts': return import('./broadcast-CZI1jilz-BINneQ31.js');
|
|
1456
|
+
case './icons/burguer-menu.ts': return import('./burguer-menu-B6aTH4bv-DVSQ5aAP.js');
|
|
1457
|
+
case './icons/calendar.ts': return import('./calendar-DSazdtSE-DPeJu-6k.js');
|
|
1458
|
+
case './icons/camera.ts': return import('./camera-BRiku8B_-jl_BHU81.js');
|
|
1459
|
+
case './icons/canada-flag.ts': return import('./canada-flag-HNmrB822-HFWoShKF.js');
|
|
1460
|
+
case './icons/caret-down.ts': return import('./caret-down-rmmymj9h-DqvCIwpw.js');
|
|
1461
|
+
case './icons/caret-left.ts': return import('./caret-left-CdwGa7OM-DXnXuZRk.js');
|
|
1462
|
+
case './icons/caret-right.ts': return import('./caret-right-C-iwJBqf-CHdXyQPr.js');
|
|
1463
|
+
case './icons/caret-up.ts': return import('./caret-up-Dd4FpNSi-BwXQARFm.js');
|
|
1464
|
+
case './icons/carrier-contract.ts': return import('./carrier-contract-CZdjNH8p-C1jjnPXR.js');
|
|
1465
|
+
case './icons/chat.ts': return import('./chat-CzWG0AoO-CJ1d0JC3.js');
|
|
1466
|
+
case './icons/check.ts': return import('./check-Ch9fDKfW-DxK4I2o2.js');
|
|
1467
|
+
case './icons/clip.ts': return import('./clip-B84qJCbB-Cu4CTz1H.js');
|
|
1468
|
+
case './icons/clock.ts': return import('./clock-DRK6wEc8-CNgfU18k.js');
|
|
1469
|
+
case './icons/clown.ts': return import('./clown-8fuQXd4l-uTAEDSwT.js');
|
|
1470
|
+
case './icons/code.ts': return import('./code-B0bZma8O-CvYGIQYD.js');
|
|
1471
|
+
case './icons/comment.ts': return import('./comment-lSMrWzMv-Ce9Wo1a1.js');
|
|
1472
|
+
case './icons/company.ts': return import('./company-s8Ko_BOC-CAW-dyKX.js');
|
|
1473
|
+
case './icons/confetti.ts': return import('./confetti-DCkub1RI-sAoOwC-Q.js');
|
|
1474
|
+
case './icons/contract.ts': return import('./contract-B_oYGgCq-CGLjmwAO.js');
|
|
1475
|
+
case './icons/copy.ts': return import('./copy-iDDWnwtn-BxO4oNAq.js');
|
|
1476
|
+
case './icons/corner-down-r.ts': return import('./corner-down-r-CT36qB52-D4EKUKV3.js');
|
|
1477
|
+
case './icons/corner-down.ts': return import('./corner-down-D_nw1mRb-BQ9Sx2nm.js');
|
|
1478
|
+
case './icons/corner-up.ts': return import('./corner-up-DyKr1qw4-BNRxu8a2.js');
|
|
1479
|
+
case './icons/credit-card.ts': return import('./credit-card-CEksI3z3-D_7Y2We1.js');
|
|
1480
|
+
case './icons/crown.ts': return import('./crown-BvIqSEBb-BrBwNmjU.js');
|
|
1481
|
+
case './icons/delivery.ts': return import('./delivery-CuCVzOmH-BlD09xKp.js');
|
|
1482
|
+
case './icons/dislike.ts': return import('./dislike-C0OXL8wV-WhXiQ2Io.js');
|
|
1483
|
+
case './icons/document-csv.ts': return import('./document-csv-D2suZLg1-0zgrQ59y.js');
|
|
1484
|
+
case './icons/document-file-plus.ts': return import('./document-file-plus-B5osRghS-B-nfe7-O.js');
|
|
1485
|
+
case './icons/document-file.ts': return import('./document-file-Df1pBr5H-Du8QWqdw.js');
|
|
1486
|
+
case './icons/document-image.ts': return import('./document-image-m_mrV0sw-BpzsQ2kb.js');
|
|
1487
|
+
case './icons/dollar-circle.ts': return import('./dollar-circle-DLs8UHAw-BYyUWcD9.js');
|
|
1488
|
+
case './icons/dollar.ts': return import('./dollar-CKDzWRKS-D69nniX5.js');
|
|
1489
|
+
case './icons/dots-horizontal.ts': return import('./dots-horizontal-BPz8XG_Z-D9r9vI6D.js');
|
|
1490
|
+
case './icons/dots-six.ts': return import('./dots-six-NoFYfGIE-BexJGM5Q.js');
|
|
1491
|
+
case './icons/dots-vertical.ts': return import('./dots-vertical-Bjz8cdyP-DCUsDl4F.js');
|
|
1492
|
+
case './icons/double-caret-down.ts': return import('./double-caret-down-beChjVQJ-DMNvDCg8.js');
|
|
1493
|
+
case './icons/double-caret-left.ts': return import('./double-caret-left-Bq8ojSne-D2dABfIw.js');
|
|
1494
|
+
case './icons/double-caret-right.ts': return import('./double-caret-right-Bdpt0SMz-BVCaBual.js');
|
|
1495
|
+
case './icons/down.ts': return import('./down-CizSMWTN-B2oylFTz.js');
|
|
1496
|
+
case './icons/download.ts': return import('./download-E3sR5Mww-BGwmBED1.js');
|
|
1497
|
+
case './icons/drop-trailer.ts': return import('./drop-trailer-Bj0GWGwP-DyZUFIld.js');
|
|
1498
|
+
case './icons/dropdown.ts': return import('./dropdown-DS9Eol9H-C9ZHZSvs.js');
|
|
1499
|
+
case './icons/email-filled.ts': return import('./email-filled-B7dC9VON-B5v0YQVX.js');
|
|
1500
|
+
case './icons/email.ts': return import('./email-D41RycK6-C8Gtl6AD.js');
|
|
1501
|
+
case './icons/export.ts': return import('./export-AxznQaY7-f_ecxdlO.js');
|
|
1502
|
+
case './icons/eye.ts': return import('./eye-Du5v5FWl-DTW2ynME.js');
|
|
1503
|
+
case './icons/fast.ts': return import('./fast-v4JTkYTx-ojoAWs_o.js');
|
|
1504
|
+
case './icons/favorite.ts': return import('./favorite-Bq7yw_kC-FZhdD5Y0.js');
|
|
1505
|
+
case './icons/file.ts': return import('./file-andhEVTZ-CGxNrWUw.js');
|
|
1506
|
+
case './icons/filter.ts': return import('./filter-Fi16bT14-FrQsxj18.js');
|
|
1507
|
+
case './icons/flag.ts': return import('./flag-CFiF2B-J-Drk57581.js');
|
|
1508
|
+
case './icons/folder.ts': return import('./folder-BY1CGlkw-S7WjXI9S.js');
|
|
1509
|
+
case './icons/funnel.ts': return import('./funnel-HKIpskv1-Fhld2J7w.js');
|
|
1510
|
+
case './icons/gear.ts': return import('./gear-p9AOrdfV-ClPtvJFx.js');
|
|
1511
|
+
case './icons/graph.ts': return import('./graph-W4As17IT-BPfmQH1y.js');
|
|
1512
|
+
case './icons/hand-tap.ts': return import('./hand-tap-Cs1_nUof-C4nSkB68.js');
|
|
1513
|
+
case './icons/hand.ts': return import('./hand-B27-xQyr-Cyffv-2y.js');
|
|
1514
|
+
case './icons/hazmat.ts': return import('./hazmat-O9Rs8KDW-CLQa99pu.js');
|
|
1515
|
+
case './icons/high-signal.ts': return import('./high-signal-DZzZcVf2-BQODe-oW.js');
|
|
1516
|
+
case './icons/history.ts': return import('./history-NDAtFhnw-B72PsUss.js');
|
|
1517
|
+
case './icons/home.ts': return import('./home-r-pAmPV4-Bmgjd9v7.js');
|
|
1518
|
+
case './icons/hourglass.ts': return import('./hourglass-Y1th9ma2-D3MzbIcd.js');
|
|
1519
|
+
case './icons/import-2.ts': return import('./import-2-CW7vwO-a-CZvRziko.js');
|
|
1520
|
+
case './icons/import.ts': return import('./import-xsCginrw-nZ7U2fPT.js');
|
|
1521
|
+
case './icons/indeterminate.ts': return import('./indeterminate-DcQTzXPO-CW1hyIhe.js');
|
|
1522
|
+
case './icons/info.ts': return import('./info-D-uIPxeP-D82g2ATg.js');
|
|
1523
|
+
case './icons/invoice-items.ts': return import('./invoice-items-BVjcnUy9-B5J7zVW_.js');
|
|
1524
|
+
case './icons/invoice.ts': return import('./invoice-9IVdAGaS-Db6eTk_m.js');
|
|
1525
|
+
case './icons/kanban.ts': return import('./kanban-wLumuKE6-CuIR5Lr4.js');
|
|
1526
|
+
case './icons/light-bulb.ts': return import('./light-bulb-Benzfpko-DFZhSdkD.js');
|
|
1527
|
+
case './icons/like.ts': return import('./like-DfKV9BZf-CBIGRlTL.js');
|
|
1528
|
+
case './icons/link.ts': return import('./link-DTSRXMuy-D0iKmONH.js');
|
|
1529
|
+
case './icons/list.ts': return import('./list-Cs_Tx9wb-CNtM8-nm.js');
|
|
1530
|
+
case './icons/loadsmart-logo.ts': return import('./loadsmart-logo-I8MORLBu-bjC9Uya3.js');
|
|
1531
|
+
case './icons/log-out.ts': return import('./log-out-gmU6LTta-CTLTKqth.js');
|
|
1532
|
+
case './icons/low-signal.ts': return import('./low-signal-DZnFUjQ2-CdtTNuFd.js');
|
|
1533
|
+
case './icons/map.ts': return import('./map-BXGHPJos-D2ARKPGc.js');
|
|
1534
|
+
case './icons/medal.ts': return import('./medal-DYWS6LnK-C11SDhIR.js');
|
|
1535
|
+
case './icons/megaphone.ts': return import('./megaphone-zr3TkPwf--U_bewXN.js');
|
|
1536
|
+
case './icons/menu-arrow.ts': return import('./menu-arrow-CZKCoYuS-DUYYes59.js');
|
|
1537
|
+
case './icons/mexico-flag.ts': return import('./mexico-flag-D2b6ujty-CAMamYOx.js');
|
|
1538
|
+
case './icons/minus.ts': return import('./minus-0j3gmofO-N8bF6_Ix.js');
|
|
1539
|
+
case './icons/network-signal.ts': return import('./network-signal-DdQxJUwl-C-3r0M2D.js');
|
|
1540
|
+
case './icons/no-awarded.ts': return import('./no-awarded-DqCcBDaA-BMevvC6v.js');
|
|
1541
|
+
case './icons/notes-lock.ts': return import('./notes-lock-yGhHhs6p-CRlv0Oip.js');
|
|
1542
|
+
case './icons/notes.ts': return import('./notes-mmHptcYJ-DvbzlTBo.js');
|
|
1543
|
+
case './icons/order.ts': return import('./order-DfN6VfVP-MdY0pn0K.js');
|
|
1544
|
+
case './icons/package-tracking.ts': return import('./package-tracking-DKNbRGx4-B4WTGLRE.js');
|
|
1545
|
+
case './icons/padlock-open.ts': return import('./padlock-open-Cp_4tneI-GIIBFuVF.js');
|
|
1546
|
+
case './icons/padlock.ts': return import('./padlock-RzN4JVVn-DNQy6ULG.js');
|
|
1547
|
+
case './icons/pencil.ts': return import('./pencil-837fxGhz-_jGUkUAe.js');
|
|
1548
|
+
case './icons/phone.ts': return import('./phone-vxSIxmB0-DR1zQqy9.js');
|
|
1549
|
+
case './icons/pin-filled.ts': return import('./pin-filled-GMP65wQH-HgjhxCQ5.js');
|
|
1550
|
+
case './icons/pin-map.ts': return import('./pin-map-MDCMAjdo-CnKf3yMw.js');
|
|
1551
|
+
case './icons/pin.ts': return import('./pin-DW7DgJtQ-C7mXI82P.js');
|
|
1552
|
+
case './icons/play.ts': return import('./play-BP1B_8iE-CvgnAHof.js');
|
|
1553
|
+
case './icons/plugs.ts': return import('./plugs-BtiB14z5-CieDonzw.js');
|
|
1554
|
+
case './icons/plus.ts': return import('./plus-DFSf8fYn-BNoh2vgQ.js');
|
|
1555
|
+
case './icons/pod.ts': return import('./pod-CA-1astj-_qsavLqw.js');
|
|
1556
|
+
case './icons/pre-confirmed-load.ts': return import('./pre-confirmed-load-BPrJZniX-dfWWU6QJ.js');
|
|
1557
|
+
case './icons/print.ts': return import('./print-DQPi33sm-GoqBK--2.js');
|
|
1558
|
+
case './icons/profile.ts': return import('./profile-Pim5s7F--DaRX7mPL.js');
|
|
1559
|
+
case './icons/question-dot.ts': return import('./question-dot-BkpZGESo-DcwGvNAQ.js');
|
|
1560
|
+
case './icons/receipt.ts': return import('./receipt-sf8Hte0h-CxuqRYx3.js');
|
|
1561
|
+
case './icons/redo.ts': return import('./redo-3HFtQ0FA-CPiKWAZF.js');
|
|
1562
|
+
case './icons/refresh.ts': return import('./refresh-B9nzPjUf-CrnBiqXe.js');
|
|
1563
|
+
case './icons/reloading.ts': return import('./reloading-BA8D7wTv-BAoukNUL.js');
|
|
1564
|
+
case './icons/road.ts': return import('./road-BAcIO4zy-DGvmkQaS.js');
|
|
1565
|
+
case './icons/robot.ts': return import('./robot-lU57W1kp-Df4mQEIb.js');
|
|
1566
|
+
case './icons/round-trip.ts': return import('./round-trip-Dw9AdyJ0-z0ThypjH.js');
|
|
1567
|
+
case './icons/satellite.ts': return import('./satellite-NNTCyHy--Co-kUz8I.js');
|
|
1568
|
+
case './icons/search.ts': return import('./search-DvOCCqCm-CpXXvemZ.js');
|
|
1569
|
+
case './icons/send.ts': return import('./send-D9igtZ0H-4n_Kp6bF.js');
|
|
1570
|
+
case './icons/share.ts': return import('./share-Ddc0V7ZJ-Bu1hQV3h.js');
|
|
1571
|
+
case './icons/ship.ts': return import('./ship-CzXngChz-CYGxm5dN.js');
|
|
1572
|
+
case './icons/signal.ts': return import('./signal-BJn3aH6k-Dzt08ReD.js');
|
|
1573
|
+
case './icons/sparkle.ts': return import('./sparkle-C3LV52QD-CSq5ISxB.js');
|
|
1574
|
+
case './icons/star.ts': return import('./star-BVLMQ-_X-CU5fQcOA.js');
|
|
1575
|
+
case './icons/swap.ts': return import('./swap-DD7fyHMS-dkFQ6Ukb.js');
|
|
1576
|
+
case './icons/tag-chevron.ts': return import('./tag-chevron-CjrEtmhd-Dp_zAKWk.js');
|
|
1577
|
+
case './icons/tag.ts': return import('./tag-B4lJZyi4-Chj8utP7.js');
|
|
1578
|
+
case './icons/telephone-slash.ts': return import('./telephone-slash-CP63Q-bV-hI3okzWM.js');
|
|
1579
|
+
case './icons/telephone.ts': return import('./telephone-BYauzs31-DvcfnJYu.js');
|
|
1580
|
+
case './icons/terminal.ts': return import('./terminal-hF7ftc79-D5w8bH7w.js');
|
|
1581
|
+
case './icons/timer.ts': return import('./timer-BTYu4t-t-BBNnzP3w.js');
|
|
1582
|
+
case './icons/tms-ready.ts': return import('./tms-ready-CU9kBKQY-Coz6mqsE.js');
|
|
1583
|
+
case './icons/train.ts': return import('./train-BUFafHt_-CfHmCSUQ.js');
|
|
1584
|
+
case './icons/trash.ts': return import('./trash-BEQcZA33-Ot5GE9UD.js');
|
|
1585
|
+
case './icons/trend-down.ts': return import('./trend-down-DWNviyAx-CwbA7PhY.js');
|
|
1586
|
+
case './icons/trend-up.ts': return import('./trend-up-0ss4xHwV-BFO88X58.js');
|
|
1587
|
+
case './icons/trophee.ts': return import('./trophee-Clwe47ad-BMp6eMrB.js');
|
|
1588
|
+
case './icons/truck.ts': return import('./truck-CzvINFZW-RiC4tWUX.js');
|
|
1589
|
+
case './icons/truckload.ts': return import('./truckload-D-J5f1bd-D0-skMoH.js');
|
|
1590
|
+
case './icons/unarchive.ts': return import('./unarchive-DDMxh528-DK2ql17F.js');
|
|
1591
|
+
case './icons/undo.ts': return import('./undo-WAgJpia6-DcV-uqlg.js');
|
|
1592
|
+
case './icons/united-states-flag.ts': return import('./united-states-flag-CQffd0BI-DGUuPzrz.js');
|
|
1593
|
+
case './icons/up.ts': return import('./up-CWwbB_tL-DRc0z-sE.js');
|
|
1594
|
+
case './icons/upgrade.ts': return import('./upgrade-C9xWszpj-DD3M18y9.js');
|
|
1595
|
+
case './icons/upload.ts': return import('./upload-BPmTvxna-F-8vYxtG.js');
|
|
1596
|
+
case './icons/user.ts': return import('./user-VDJrCRYa-CLy59dSn.js');
|
|
1597
|
+
case './icons/wallet.ts': return import('./wallet-QaM0B5nw-ZrlNCSDl.js');
|
|
1598
|
+
case './icons/warehouse.ts': return import('./warehouse-CUM8sCqj-Cerh9F4E.js');
|
|
1599
|
+
case './icons/website-visibility.ts': return import('./website-visibility-BZEXlTAr-g5ybJFde.js');
|
|
1600
|
+
case './icons/wifi-off.ts': return import('./wifi-off-4IEYkMVR-B1X07Ffy.js');
|
|
1601
|
+
case './icons/wifi.ts': return import('./wifi-C7NJqD6c-Ds0vp8x-.js');
|
|
1602
|
+
case './icons/x-small.ts': return import('./x-small-ydvVAII5-9rVXhqSu.js');
|
|
1603
|
+
case './icons/x.ts': return import('./x-DQDypbhm-D2SAC7NB.js');
|
|
1604
|
+
case './icons/zoom-in.ts': return import('./zoom-in-BTGlYfap-BiSnbU14.js');
|
|
1605
|
+
case './icons/zoom-out.ts': return import('./zoom-out-CnGZbBqT-D92eWOK0.js');
|
|
1605
1606
|
default: return new Promise(function(resolve, reject) {
|
|
1606
1607
|
(typeof queueMicrotask === 'function' ? queueMicrotask : setTimeout)(
|
|
1607
1608
|
reject.bind(null, new Error("Unknown variable dynamic import: " + path))
|
|
@@ -1746,6 +1747,7 @@ const AVAILABLE_ICONS = [
|
|
|
1746
1747
|
'refresh',
|
|
1747
1748
|
'reloading',
|
|
1748
1749
|
'road',
|
|
1750
|
+
'robot',
|
|
1749
1751
|
'round-trip',
|
|
1750
1752
|
'satellite',
|
|
1751
1753
|
'search',
|
|
@@ -8726,235 +8728,8 @@ _BoundaryController_handleEvent = new WeakMap(), _BoundaryController_handleBlurE
|
|
|
8726
8728
|
window.removeEventListener('blur', __classPrivateFieldGet$1(this, _BoundaryController_handleBlurEvent, "f"), true);
|
|
8727
8729
|
};
|
|
8728
8730
|
|
|
8729
|
-
var _FocusManagerController_instances, _FocusManagerController_focusElement, _FocusManagerController_focusIndex, _FocusManagerController_focusPosition, _FocusManagerController_getIndexOfQueried, _FocusManagerController_findQueriedById, _FocusManagerController_handleKeyPress, _FocusManagerController_clearBufferAfterDelay, _FocusManagerController_findMatchInRange;
|
|
8730
|
-
const logger$b = createLogger('focus-manager-controller');
|
|
8731
|
-
function isDisabled(element) {
|
|
8732
|
-
return (element != null &&
|
|
8733
|
-
typeof element === 'object' &&
|
|
8734
|
-
'disabled' in element &&
|
|
8735
|
-
element.disabled === true);
|
|
8736
|
-
}
|
|
8737
|
-
/**
|
|
8738
|
-
* Check if `keyboardEventKey` is a character, and more specifically, anything
|
|
8739
|
-
* other than a space, tab, or newline.
|
|
8740
|
-
*/
|
|
8741
|
-
function isPrintableCharacter(keyboardEventKey) {
|
|
8742
|
-
const printableCharacterRegex = /\S/;
|
|
8743
|
-
return (keyboardEventKey.length === 1 &&
|
|
8744
|
-
printableCharacterRegex.test(keyboardEventKey));
|
|
8745
|
-
}
|
|
8746
|
-
/**
|
|
8747
|
-
* Manages **virtual/visual** focus, for a11y purposes.
|
|
8748
|
-
*/
|
|
8749
|
-
class FocusManagerController {
|
|
8750
|
-
constructor(host, options) {
|
|
8751
|
-
_FocusManagerController_instances.add(this);
|
|
8752
|
-
this.activeDescendant = null;
|
|
8753
|
-
_FocusManagerController_focusElement.set(this, (element) => {
|
|
8754
|
-
if (!element || isDisabled(element) || !element.id) {
|
|
8755
|
-
logger$b.debug('could not focus element', element, !element?.id ? ' element has no id' : '');
|
|
8756
|
-
return;
|
|
8757
|
-
}
|
|
8758
|
-
this.clear();
|
|
8759
|
-
this.activeDescendant = element.id;
|
|
8760
|
-
this.getInteractiveElement(this.host).setAttribute('aria-activedescendant', element.id);
|
|
8761
|
-
element.classList.add('is-focused');
|
|
8762
|
-
element.scrollIntoView({
|
|
8763
|
-
block: 'nearest',
|
|
8764
|
-
inline: 'nearest',
|
|
8765
|
-
behavior: 'smooth',
|
|
8766
|
-
});
|
|
8767
|
-
});
|
|
8768
|
-
_FocusManagerController_focusIndex.set(this, (index) => {
|
|
8769
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, this.queried.at(index));
|
|
8770
|
-
});
|
|
8771
|
-
_FocusManagerController_focusPosition.set(this, (position) => {
|
|
8772
|
-
const currentFocusedIndex = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
8773
|
-
switch (position) {
|
|
8774
|
-
case 'first':
|
|
8775
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, 0);
|
|
8776
|
-
break;
|
|
8777
|
-
case 'last':
|
|
8778
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, this.queried.length - 1);
|
|
8779
|
-
break;
|
|
8780
|
-
case 'previous': {
|
|
8781
|
-
if (currentFocusedIndex === -1) {
|
|
8782
|
-
logger$b.debug('focus previous, could not get current focused; focusing on last queried instead');
|
|
8783
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, currentFocusedIndex);
|
|
8784
|
-
return;
|
|
8785
|
-
}
|
|
8786
|
-
// it's ok to have a negative index here. `Array.prototype.at()` will handle that correctly.
|
|
8787
|
-
const previousItemIndex = (currentFocusedIndex - 1) % this.queried.length;
|
|
8788
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, previousItemIndex);
|
|
8789
|
-
break;
|
|
8790
|
-
}
|
|
8791
|
-
case 'next': {
|
|
8792
|
-
if (currentFocusedIndex === -1) {
|
|
8793
|
-
logger$b.debug('focus next, could not get current focused. focusing on first queried instead');
|
|
8794
|
-
}
|
|
8795
|
-
const nextItemIndex = (currentFocusedIndex + 1) % this.queried.length;
|
|
8796
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, nextItemIndex);
|
|
8797
|
-
break;
|
|
8798
|
-
}
|
|
8799
|
-
}
|
|
8800
|
-
});
|
|
8801
|
-
/**
|
|
8802
|
-
* Moves focus to the next item with a label that starts with the typed character
|
|
8803
|
-
* if such item exists. Otherwise, focus does not move.
|
|
8804
|
-
*/
|
|
8805
|
-
_FocusManagerController_handleKeyPress.set(this, (event) => {
|
|
8806
|
-
const { key } = event;
|
|
8807
|
-
if (!isPrintableCharacter(key)) {
|
|
8808
|
-
return;
|
|
8809
|
-
}
|
|
8810
|
-
const searchIndex = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
8811
|
-
this.quickSearchBuffer += key;
|
|
8812
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_clearBufferAfterDelay, "f").call(this);
|
|
8813
|
-
// run search in elements after the currently virtually focused element (if any)
|
|
8814
|
-
let nextMatch = __classPrivateFieldGet$1(this, _FocusManagerController_findMatchInRange, "f").call(this, searchIndex + 1, this.queried.length);
|
|
8815
|
-
if (!nextMatch) {
|
|
8816
|
-
// run search in elements before the currently virtually focused element (if any)
|
|
8817
|
-
nextMatch = __classPrivateFieldGet$1(this, _FocusManagerController_findMatchInRange, "f").call(this, 0, searchIndex);
|
|
8818
|
-
}
|
|
8819
|
-
if (nextMatch != null) {
|
|
8820
|
-
this.focus(nextMatch);
|
|
8821
|
-
}
|
|
8822
|
-
});
|
|
8823
|
-
_FocusManagerController_clearBufferAfterDelay.set(this, () => {
|
|
8824
|
-
if (this.quickSearchBufferTimeout) {
|
|
8825
|
-
window.clearTimeout(this.quickSearchBufferTimeout);
|
|
8826
|
-
this.quickSearchBufferTimeout = null;
|
|
8827
|
-
}
|
|
8828
|
-
this.quickSearchBufferTimeout = window.setTimeout(() => {
|
|
8829
|
-
this.quickSearchBuffer = '';
|
|
8830
|
-
this.quickSearchBufferTimeout = null;
|
|
8831
|
-
}, 500);
|
|
8832
|
-
});
|
|
8833
|
-
_FocusManagerController_findMatchInRange.set(this, (startAt, endAt) => {
|
|
8834
|
-
for (let i = startAt; i < endAt; i++) {
|
|
8835
|
-
/**
|
|
8836
|
-
* [!] Be aware that `innerText` can be expensive as it takes CSS styles into account (it triggers a reflow to
|
|
8837
|
-
* ensure up-to-date computed styles).
|
|
8838
|
-
* Source: https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent#differences_from_innertext
|
|
8839
|
-
* // TODO: evaluate replacing `innerText` with `textContent`.
|
|
8840
|
-
*/
|
|
8841
|
-
const label = this.queried[i].innerText.toLowerCase();
|
|
8842
|
-
if (label && label.indexOf(this.quickSearchBuffer) === 0) {
|
|
8843
|
-
return this.queried[i];
|
|
8844
|
-
}
|
|
8845
|
-
}
|
|
8846
|
-
return null;
|
|
8847
|
-
});
|
|
8848
|
-
this.query =
|
|
8849
|
-
typeof options.query === 'function'
|
|
8850
|
-
? options.query
|
|
8851
|
-
: toArray(options.query).join(',');
|
|
8852
|
-
this.focusOnType = Boolean(options.focusOnType ?? true);
|
|
8853
|
-
this.getInteractiveElement =
|
|
8854
|
-
options.getInteractiveElement ??
|
|
8855
|
-
(() => {
|
|
8856
|
-
return host;
|
|
8857
|
-
});
|
|
8858
|
-
this.quickSearchBuffer = '';
|
|
8859
|
-
(this.host = host).addController(this);
|
|
8860
|
-
}
|
|
8861
|
-
hostConnected() {
|
|
8862
|
-
if (!this.focusOnType) {
|
|
8863
|
-
logger$b.debug('focus on type is disabled. Controller will not listen to keyup events');
|
|
8864
|
-
return;
|
|
8865
|
-
}
|
|
8866
|
-
this.host.addEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
8867
|
-
}
|
|
8868
|
-
hostDisconnected() {
|
|
8869
|
-
this.host.removeEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
8870
|
-
}
|
|
8871
|
-
/**
|
|
8872
|
-
* Get the list of elements matching the given `options.query`.
|
|
8873
|
-
*/
|
|
8874
|
-
get queried() {
|
|
8875
|
-
if (typeof this.query === 'function') {
|
|
8876
|
-
return this.query(this.host);
|
|
8877
|
-
}
|
|
8878
|
-
return Array.from(this.host.querySelectorAll(this.query));
|
|
8879
|
-
}
|
|
8880
|
-
/**
|
|
8881
|
-
* Get the currently focused element, based on `activeDescendant`.
|
|
8882
|
-
*/
|
|
8883
|
-
get focused() {
|
|
8884
|
-
if (!this.activeDescendant) {
|
|
8885
|
-
return null;
|
|
8886
|
-
}
|
|
8887
|
-
return __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_findQueriedById).call(this, this.activeDescendant);
|
|
8888
|
-
}
|
|
8889
|
-
/**
|
|
8890
|
-
* If none of the options are selected, the first option receives focus; otherwise, the
|
|
8891
|
-
* focus moves to the next option.
|
|
8892
|
-
* If we are at the end of the `queried` array, the focus moves to the first option.
|
|
8893
|
-
*/
|
|
8894
|
-
focusNext() {
|
|
8895
|
-
this.focus('next');
|
|
8896
|
-
}
|
|
8897
|
-
/**
|
|
8898
|
-
* If none of the options are selected, the last option receives focus; otherwise, the
|
|
8899
|
-
* focus moves to the next option.
|
|
8900
|
-
* If we are at the start of the `queried` array, the focus moves to the last option.
|
|
8901
|
-
*/
|
|
8902
|
-
focusPrevious() {
|
|
8903
|
-
this.focus('previous');
|
|
8904
|
-
}
|
|
8905
|
-
/**
|
|
8906
|
-
* Focus the first element in `queried`.
|
|
8907
|
-
*/
|
|
8908
|
-
focusFirst() {
|
|
8909
|
-
this.focus(0);
|
|
8910
|
-
}
|
|
8911
|
-
/**
|
|
8912
|
-
* Focus the last element in `queried`.
|
|
8913
|
-
*/
|
|
8914
|
-
focusLast() {
|
|
8915
|
-
this.focus(this.queried.length - 1);
|
|
8916
|
-
}
|
|
8917
|
-
/**
|
|
8918
|
-
* Focus the given element or the element at the given index or position, based on `queried`.
|
|
8919
|
-
*/
|
|
8920
|
-
focus(where) {
|
|
8921
|
-
if (typeof where === 'number') {
|
|
8922
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, where);
|
|
8923
|
-
}
|
|
8924
|
-
else if (typeof where === 'string') {
|
|
8925
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusPosition, "f").call(this, where);
|
|
8926
|
-
}
|
|
8927
|
-
else {
|
|
8928
|
-
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, where);
|
|
8929
|
-
}
|
|
8930
|
-
}
|
|
8931
|
-
/**
|
|
8932
|
-
* Remove the visual focus (`.is-focused` class) from the currently focused element and
|
|
8933
|
-
* clear the `activeDescendant` attribute.
|
|
8934
|
-
*/
|
|
8935
|
-
clear() {
|
|
8936
|
-
this.getInteractiveElement(this.host).removeAttribute('aria-activedescendant');
|
|
8937
|
-
const element = this.focused;
|
|
8938
|
-
this.activeDescendant = null;
|
|
8939
|
-
if (!element) {
|
|
8940
|
-
return;
|
|
8941
|
-
}
|
|
8942
|
-
element.classList.remove('is-focused');
|
|
8943
|
-
}
|
|
8944
|
-
}
|
|
8945
|
-
_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) {
|
|
8946
|
-
if (!element) {
|
|
8947
|
-
return -1;
|
|
8948
|
-
}
|
|
8949
|
-
return this.queried.indexOf(element);
|
|
8950
|
-
}, _FocusManagerController_findQueriedById = function _FocusManagerController_findQueriedById(id) {
|
|
8951
|
-
return (this.queried.find((element) => {
|
|
8952
|
-
return element.id === id;
|
|
8953
|
-
}) ?? null);
|
|
8954
|
-
};
|
|
8955
|
-
|
|
8956
8731
|
var _KeyboardSupportController_instances, _KeyboardSupportController_handleKey, _KeyboardSupportController_subscribe, _KeyboardSupportController_unsubscribe;
|
|
8957
|
-
const logger$
|
|
8732
|
+
const logger$b = createLogger('keyboard-support-controller');
|
|
8958
8733
|
function getShortcutKey(shortcut) {
|
|
8959
8734
|
const keys = [
|
|
8960
8735
|
shortcut.alt ? 'alt' : '',
|
|
@@ -8997,7 +8772,7 @@ class KeyboardSupportController extends ToggleableController {
|
|
|
8997
8772
|
handler(event);
|
|
8998
8773
|
return;
|
|
8999
8774
|
}
|
|
9000
|
-
logger$
|
|
8775
|
+
logger$b.debug('no handler for shortcut', shortcut);
|
|
9001
8776
|
});
|
|
9002
8777
|
this.keymap = new Map(toArray(keymap).reduce((map, { shortcut, handler }) => {
|
|
9003
8778
|
return map.concat(toArray(shortcut).map((s) => {
|
|
@@ -9025,15 +8800,17 @@ _KeyboardSupportController_handleKey = new WeakMap(), _KeyboardSupportController
|
|
|
9025
8800
|
target?.removeEventListener(this.event, __classPrivateFieldGet$1(this, _KeyboardSupportController_handleKey, "f"));
|
|
9026
8801
|
};
|
|
9027
8802
|
|
|
9028
|
-
const TRIGGER_SELECTOR$1 = '[aria-haspopup
|
|
8803
|
+
const TRIGGER_SELECTOR$1 = '[aria-haspopup]';
|
|
9029
8804
|
const MENU_SELECTOR$1 = '[role="menu"]';
|
|
8805
|
+
const POPOVER_SELECTOR = '[role="dialog"]';
|
|
9030
8806
|
const ITEM_SELECTOR = '[role="menuitem"]';
|
|
8807
|
+
const DROPDOWN_COLLAPSE_EVENT = 'm-dropdown-collapse';
|
|
9031
8808
|
|
|
9032
8809
|
function dropdownStyles() {
|
|
9033
8810
|
return [
|
|
9034
8811
|
styles$k({
|
|
9035
8812
|
referenceSelector: `::slotted(${TRIGGER_SELECTOR$1})`,
|
|
9036
|
-
floatingSelector: `::slotted(${MENU_SELECTOR$1})`,
|
|
8813
|
+
floatingSelector: `::slotted(${MENU_SELECTOR$1}), ::slotted(${POPOVER_SELECTOR})`,
|
|
9037
8814
|
}),
|
|
9038
8815
|
i$9 `
|
|
9039
8816
|
:host {
|
|
@@ -9088,6 +8865,28 @@ function dropdownStyles() {
|
|
|
9088
8865
|
`,
|
|
9089
8866
|
];
|
|
9090
8867
|
}
|
|
8868
|
+
function dropdownPopoverStyles() {
|
|
8869
|
+
return i$9 `
|
|
8870
|
+
:host {
|
|
8871
|
+
--m-popover-width: var(--m-dropdown-popover-width, 22rem);
|
|
8872
|
+
--m-popover-min-width: var(--m-dropdown-popover-width, 22rem);
|
|
8873
|
+
--m-popover-max-width: var(--m-dropdown-popover-width, 22rem);
|
|
8874
|
+
--m-popover-floating-spacing-x: 0;
|
|
8875
|
+
--m-popover-floating-spacing-y: 0;
|
|
8876
|
+
--m-popover-background-color: ${getColor('color-background-primary')};
|
|
8877
|
+
outline: none;
|
|
8878
|
+
|
|
8879
|
+
box-sizing: border-box;
|
|
8880
|
+
overflow: hidden;
|
|
8881
|
+
}
|
|
8882
|
+
|
|
8883
|
+
:host([open]) ::slotted(${r$6(MENU_SELECTOR$1)}) {
|
|
8884
|
+
display: inline-flex;
|
|
8885
|
+
|
|
8886
|
+
flex-direction: column;
|
|
8887
|
+
}
|
|
8888
|
+
`;
|
|
8889
|
+
}
|
|
9091
8890
|
function triggerStyles() {
|
|
9092
8891
|
return [
|
|
9093
8892
|
i$9 `
|
|
@@ -9250,7 +9049,7 @@ function dropdownDividerStyles() {
|
|
|
9250
9049
|
`;
|
|
9251
9050
|
}
|
|
9252
9051
|
|
|
9253
|
-
var _Dropdown_controllers, _Dropdown_handleClick, _Dropdown_handleClickOutside, _Dropdown_handleFocusIn, _Dropdown_handleFocusOut;
|
|
9052
|
+
var _Dropdown_instances, _Dropdown_controllers, _Dropdown_floatingSurface_get, _Dropdown_handleClick, _Dropdown_handleRequestCollapse, _Dropdown_handleClickOutside, _Dropdown_handleFocusIn, _Dropdown_handleFocusOut;
|
|
9254
9053
|
class Dropdown extends Popover {
|
|
9255
9054
|
static get properties() {
|
|
9256
9055
|
return {
|
|
@@ -9267,24 +9066,41 @@ class Dropdown extends Popover {
|
|
|
9267
9066
|
}
|
|
9268
9067
|
constructor() {
|
|
9269
9068
|
super();
|
|
9069
|
+
_Dropdown_instances.add(this);
|
|
9270
9070
|
_Dropdown_controllers.set(this, void 0);
|
|
9271
9071
|
// eslint-disable-next-line class-methods-use-this
|
|
9272
9072
|
this.getFloatingOffset = () => {
|
|
9273
9073
|
return 4;
|
|
9274
9074
|
};
|
|
9075
|
+
this.expand = async (args) => {
|
|
9076
|
+
const { position = 'first' } = args || {};
|
|
9077
|
+
this.show();
|
|
9078
|
+
await this.updateComplete;
|
|
9079
|
+
await __classPrivateFieldGet$1(this, _Dropdown_instances, "a", _Dropdown_floatingSurface_get)?.activate?.({ position });
|
|
9080
|
+
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").boundary.activate();
|
|
9081
|
+
this.emit('expand');
|
|
9082
|
+
};
|
|
9083
|
+
this.collapse = async () => {
|
|
9084
|
+
this.hide();
|
|
9085
|
+
await this.updateComplete;
|
|
9086
|
+
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").boundary.deactivate();
|
|
9087
|
+
__classPrivateFieldGet$1(this, _Dropdown_instances, "a", _Dropdown_floatingSurface_get)?.deactivate?.();
|
|
9088
|
+
this.reference?.focus();
|
|
9089
|
+
this.emit('collapse');
|
|
9090
|
+
};
|
|
9091
|
+
this.toggle = (args) => {
|
|
9092
|
+
if (this.open) {
|
|
9093
|
+
this.collapse();
|
|
9094
|
+
}
|
|
9095
|
+
else {
|
|
9096
|
+
this.expand(args);
|
|
9097
|
+
}
|
|
9098
|
+
};
|
|
9275
9099
|
_Dropdown_handleClick.set(this, (event) => {
|
|
9276
9100
|
const { target } = event;
|
|
9277
9101
|
if (!target) {
|
|
9278
9102
|
return;
|
|
9279
9103
|
}
|
|
9280
|
-
if (target.matches(ITEM_SELECTOR)) {
|
|
9281
|
-
/**
|
|
9282
|
-
* we set focus so we can trigger the item click event when the user
|
|
9283
|
-
* presses <Enter> or <Space>, through the KeyboardSupportController.
|
|
9284
|
-
*/
|
|
9285
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focus(target);
|
|
9286
|
-
this.collapse();
|
|
9287
|
-
}
|
|
9288
9104
|
/**
|
|
9289
9105
|
* <Enter> or <Space> keys also trigger the click event.
|
|
9290
9106
|
* In that case, we do not want to respond to the key event, since
|
|
@@ -9298,9 +9114,14 @@ class Dropdown extends Popover {
|
|
|
9298
9114
|
*/
|
|
9299
9115
|
if (target.matches(TRIGGER_SELECTOR$1) &&
|
|
9300
9116
|
event.detail > 0) {
|
|
9117
|
+
event.stopPropagation();
|
|
9301
9118
|
this.toggle();
|
|
9302
9119
|
}
|
|
9303
9120
|
});
|
|
9121
|
+
_Dropdown_handleRequestCollapse.set(this, (event) => {
|
|
9122
|
+
event.stopPropagation();
|
|
9123
|
+
this.collapse();
|
|
9124
|
+
});
|
|
9304
9125
|
_Dropdown_handleClickOutside.set(this, () => {
|
|
9305
9126
|
this.collapse();
|
|
9306
9127
|
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").keyboard.deactivate();
|
|
@@ -9316,12 +9137,6 @@ class Dropdown extends Popover {
|
|
|
9316
9137
|
this.disabled = false;
|
|
9317
9138
|
__classPrivateFieldSet(this, _Dropdown_controllers, {
|
|
9318
9139
|
boundary: new BoundaryController(this),
|
|
9319
|
-
focus: new FocusManagerController(this, {
|
|
9320
|
-
query: ITEM_SELECTOR,
|
|
9321
|
-
getInteractiveElement: () => {
|
|
9322
|
-
return this.getFloatingElement();
|
|
9323
|
-
},
|
|
9324
|
-
}),
|
|
9325
9140
|
keyboard: new KeyboardSupportController(this, [
|
|
9326
9141
|
{
|
|
9327
9142
|
shortcut: {
|
|
@@ -9334,10 +9149,6 @@ class Dropdown extends Popover {
|
|
|
9334
9149
|
}
|
|
9335
9150
|
if (target.matches(TRIGGER_SELECTOR$1)) {
|
|
9336
9151
|
this.expand({ position: 'last' });
|
|
9337
|
-
return;
|
|
9338
|
-
}
|
|
9339
|
-
if (target.matches(MENU_SELECTOR$1)) {
|
|
9340
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focusPrevious();
|
|
9341
9152
|
}
|
|
9342
9153
|
},
|
|
9343
9154
|
},
|
|
@@ -9352,10 +9163,6 @@ class Dropdown extends Popover {
|
|
|
9352
9163
|
}
|
|
9353
9164
|
if (target.matches(TRIGGER_SELECTOR$1)) {
|
|
9354
9165
|
this.expand({ position: 'first' });
|
|
9355
|
-
return;
|
|
9356
|
-
}
|
|
9357
|
-
if (target.matches(MENU_SELECTOR$1)) {
|
|
9358
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focusNext();
|
|
9359
9166
|
}
|
|
9360
9167
|
},
|
|
9361
9168
|
},
|
|
@@ -9375,14 +9182,6 @@ class Dropdown extends Popover {
|
|
|
9375
9182
|
}
|
|
9376
9183
|
if (target.matches(TRIGGER_SELECTOR$1)) {
|
|
9377
9184
|
this.toggle({ position: 'first' });
|
|
9378
|
-
return;
|
|
9379
|
-
}
|
|
9380
|
-
if (target.matches(MENU_SELECTOR$1)) {
|
|
9381
|
-
const item = __classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focused;
|
|
9382
|
-
if (item?.disabled) {
|
|
9383
|
-
return;
|
|
9384
|
-
}
|
|
9385
|
-
item.click();
|
|
9386
9185
|
}
|
|
9387
9186
|
},
|
|
9388
9187
|
},
|
|
@@ -9413,6 +9212,7 @@ class Dropdown extends Popover {
|
|
|
9413
9212
|
this.addEventListener('focusin', __classPrivateFieldGet$1(this, _Dropdown_handleFocusIn, "f"));
|
|
9414
9213
|
this.addEventListener('focusout', __classPrivateFieldGet$1(this, _Dropdown_handleFocusOut, "f"));
|
|
9415
9214
|
this.addEventListener('interactout', __classPrivateFieldGet$1(this, _Dropdown_handleClickOutside, "f"));
|
|
9215
|
+
this.addEventListener(DROPDOWN_COLLAPSE_EVENT, __classPrivateFieldGet$1(this, _Dropdown_handleRequestCollapse, "f"));
|
|
9416
9216
|
}
|
|
9417
9217
|
firstUpdated() {
|
|
9418
9218
|
if (this.floating?.id) {
|
|
@@ -9441,7 +9241,8 @@ class Dropdown extends Popover {
|
|
|
9441
9241
|
return this.querySelector(TRIGGER_SELECTOR$1);
|
|
9442
9242
|
}
|
|
9443
9243
|
getFloatingElement() {
|
|
9444
|
-
|
|
9244
|
+
const selector = `${MENU_SELECTOR$1}, ${POPOVER_SELECTOR}`;
|
|
9245
|
+
return this.querySelector(selector);
|
|
9445
9246
|
}
|
|
9446
9247
|
// eslint-disable-next-line class-methods-use-this
|
|
9447
9248
|
getArrowElement() {
|
|
@@ -9450,33 +9251,10 @@ class Dropdown extends Popover {
|
|
|
9450
9251
|
render() {
|
|
9451
9252
|
return b$1 `<slot></slot>`;
|
|
9452
9253
|
}
|
|
9453
|
-
async expand(args) {
|
|
9454
|
-
const { position = 'first' } = args || {};
|
|
9455
|
-
this.show();
|
|
9456
|
-
await this.updateComplete;
|
|
9457
|
-
this.floating?.focus();
|
|
9458
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.focus(position);
|
|
9459
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").boundary.activate();
|
|
9460
|
-
this.emit('expand');
|
|
9461
|
-
}
|
|
9462
|
-
async collapse() {
|
|
9463
|
-
this.hide();
|
|
9464
|
-
await this.updateComplete;
|
|
9465
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").boundary.deactivate();
|
|
9466
|
-
__classPrivateFieldGet$1(this, _Dropdown_controllers, "f").focus.clear();
|
|
9467
|
-
this.reference?.focus();
|
|
9468
|
-
this.emit('collapse');
|
|
9469
|
-
}
|
|
9470
|
-
toggle(args) {
|
|
9471
|
-
if (this.open) {
|
|
9472
|
-
this.collapse();
|
|
9473
|
-
}
|
|
9474
|
-
else {
|
|
9475
|
-
this.expand(args);
|
|
9476
|
-
}
|
|
9477
|
-
}
|
|
9478
9254
|
}
|
|
9479
|
-
_Dropdown_controllers = new WeakMap(), _Dropdown_handleClick = new WeakMap(), _Dropdown_handleClickOutside = new WeakMap(), _Dropdown_handleFocusIn = new WeakMap(), _Dropdown_handleFocusOut = new WeakMap()
|
|
9255
|
+
_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() {
|
|
9256
|
+
return this.floating;
|
|
9257
|
+
};
|
|
9480
9258
|
Dropdown.styles = [dropdownStyles()];
|
|
9481
9259
|
Dropdown.define();
|
|
9482
9260
|
|
|
@@ -9550,6 +9328,234 @@ class DropdownTrigger extends WithIdElementMixin(Component) {
|
|
|
9550
9328
|
DropdownTrigger.styles = [triggerStyles()];
|
|
9551
9329
|
DropdownTrigger.define();
|
|
9552
9330
|
|
|
9331
|
+
var _FocusManagerController_instances, _FocusManagerController_focusElement, _FocusManagerController_focusIndex, _FocusManagerController_focusPosition, _FocusManagerController_getIndexOfQueried, _FocusManagerController_findQueriedById, _FocusManagerController_handleKeyPress, _FocusManagerController_clearBufferAfterDelay, _FocusManagerController_findMatchInRange;
|
|
9332
|
+
const logger$a = createLogger('focus-manager-controller');
|
|
9333
|
+
function isDisabled(element) {
|
|
9334
|
+
return (element != null &&
|
|
9335
|
+
typeof element === 'object' &&
|
|
9336
|
+
'disabled' in element &&
|
|
9337
|
+
element.disabled === true);
|
|
9338
|
+
}
|
|
9339
|
+
/**
|
|
9340
|
+
* Check if `keyboardEventKey` is a character, and more specifically, anything
|
|
9341
|
+
* other than a space, tab, or newline.
|
|
9342
|
+
*/
|
|
9343
|
+
function isPrintableCharacter(keyboardEventKey) {
|
|
9344
|
+
const printableCharacterRegex = /\S/;
|
|
9345
|
+
return (keyboardEventKey.length === 1 &&
|
|
9346
|
+
printableCharacterRegex.test(keyboardEventKey));
|
|
9347
|
+
}
|
|
9348
|
+
/**
|
|
9349
|
+
* Manages **virtual/visual** focus, for a11y purposes.
|
|
9350
|
+
*/
|
|
9351
|
+
class FocusManagerController {
|
|
9352
|
+
constructor(host, options) {
|
|
9353
|
+
_FocusManagerController_instances.add(this);
|
|
9354
|
+
this.activeDescendant = null;
|
|
9355
|
+
_FocusManagerController_focusElement.set(this, (element) => {
|
|
9356
|
+
if (!element || isDisabled(element) || !element.id) {
|
|
9357
|
+
logger$a.debug('could not focus element', element, !element?.id ? ' element has no id' : '');
|
|
9358
|
+
return;
|
|
9359
|
+
}
|
|
9360
|
+
this.clear();
|
|
9361
|
+
this.activeDescendant = element.id;
|
|
9362
|
+
this.getInteractiveElement(this.host).setAttribute('aria-activedescendant', element.id);
|
|
9363
|
+
element.classList.add('is-focused');
|
|
9364
|
+
element.scrollIntoView({
|
|
9365
|
+
block: 'nearest',
|
|
9366
|
+
inline: 'nearest',
|
|
9367
|
+
behavior: 'smooth',
|
|
9368
|
+
});
|
|
9369
|
+
});
|
|
9370
|
+
_FocusManagerController_focusIndex.set(this, (index) => {
|
|
9371
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, this.queried.at(index));
|
|
9372
|
+
});
|
|
9373
|
+
_FocusManagerController_focusPosition.set(this, (position) => {
|
|
9374
|
+
const currentFocusedIndex = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
9375
|
+
switch (position) {
|
|
9376
|
+
case 'first':
|
|
9377
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, 0);
|
|
9378
|
+
break;
|
|
9379
|
+
case 'last':
|
|
9380
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, this.queried.length - 1);
|
|
9381
|
+
break;
|
|
9382
|
+
case 'previous': {
|
|
9383
|
+
if (currentFocusedIndex === -1) {
|
|
9384
|
+
logger$a.debug('focus previous, could not get current focused; focusing on last queried instead');
|
|
9385
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, currentFocusedIndex);
|
|
9386
|
+
return;
|
|
9387
|
+
}
|
|
9388
|
+
// it's ok to have a negative index here. `Array.prototype.at()` will handle that correctly.
|
|
9389
|
+
const previousItemIndex = (currentFocusedIndex - 1) % this.queried.length;
|
|
9390
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, previousItemIndex);
|
|
9391
|
+
break;
|
|
9392
|
+
}
|
|
9393
|
+
case 'next': {
|
|
9394
|
+
if (currentFocusedIndex === -1) {
|
|
9395
|
+
logger$a.debug('focus next, could not get current focused. focusing on first queried instead');
|
|
9396
|
+
}
|
|
9397
|
+
const nextItemIndex = (currentFocusedIndex + 1) % this.queried.length;
|
|
9398
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, nextItemIndex);
|
|
9399
|
+
break;
|
|
9400
|
+
}
|
|
9401
|
+
}
|
|
9402
|
+
});
|
|
9403
|
+
/**
|
|
9404
|
+
* Moves focus to the next item with a label that starts with the typed character
|
|
9405
|
+
* if such item exists. Otherwise, focus does not move.
|
|
9406
|
+
*/
|
|
9407
|
+
_FocusManagerController_handleKeyPress.set(this, (event) => {
|
|
9408
|
+
const { key } = event;
|
|
9409
|
+
if (!isPrintableCharacter(key)) {
|
|
9410
|
+
return;
|
|
9411
|
+
}
|
|
9412
|
+
const searchIndex = __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_getIndexOfQueried).call(this, this.focused);
|
|
9413
|
+
this.quickSearchBuffer += key;
|
|
9414
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_clearBufferAfterDelay, "f").call(this);
|
|
9415
|
+
// run search in elements after the currently virtually focused element (if any)
|
|
9416
|
+
let nextMatch = __classPrivateFieldGet$1(this, _FocusManagerController_findMatchInRange, "f").call(this, searchIndex + 1, this.queried.length);
|
|
9417
|
+
if (!nextMatch) {
|
|
9418
|
+
// run search in elements before the currently virtually focused element (if any)
|
|
9419
|
+
nextMatch = __classPrivateFieldGet$1(this, _FocusManagerController_findMatchInRange, "f").call(this, 0, searchIndex);
|
|
9420
|
+
}
|
|
9421
|
+
if (nextMatch != null) {
|
|
9422
|
+
this.focus(nextMatch);
|
|
9423
|
+
}
|
|
9424
|
+
});
|
|
9425
|
+
_FocusManagerController_clearBufferAfterDelay.set(this, () => {
|
|
9426
|
+
if (this.quickSearchBufferTimeout) {
|
|
9427
|
+
window.clearTimeout(this.quickSearchBufferTimeout);
|
|
9428
|
+
this.quickSearchBufferTimeout = null;
|
|
9429
|
+
}
|
|
9430
|
+
this.quickSearchBufferTimeout = window.setTimeout(() => {
|
|
9431
|
+
this.quickSearchBuffer = '';
|
|
9432
|
+
this.quickSearchBufferTimeout = null;
|
|
9433
|
+
}, 500);
|
|
9434
|
+
});
|
|
9435
|
+
_FocusManagerController_findMatchInRange.set(this, (startAt, endAt) => {
|
|
9436
|
+
for (let i = startAt; i < endAt; i++) {
|
|
9437
|
+
/**
|
|
9438
|
+
* [!] Be aware that `innerText` can be expensive as it takes CSS styles into account (it triggers a reflow to
|
|
9439
|
+
* ensure up-to-date computed styles).
|
|
9440
|
+
* Source: https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent#differences_from_innertext
|
|
9441
|
+
* // TODO: evaluate replacing `innerText` with `textContent`.
|
|
9442
|
+
*/
|
|
9443
|
+
const label = this.queried[i].innerText.toLowerCase();
|
|
9444
|
+
if (label && label.indexOf(this.quickSearchBuffer) === 0) {
|
|
9445
|
+
return this.queried[i];
|
|
9446
|
+
}
|
|
9447
|
+
}
|
|
9448
|
+
return null;
|
|
9449
|
+
});
|
|
9450
|
+
this.query =
|
|
9451
|
+
typeof options.query === 'function'
|
|
9452
|
+
? options.query
|
|
9453
|
+
: toArray(options.query).join(',');
|
|
9454
|
+
this.focusOnType = Boolean(options.focusOnType ?? true);
|
|
9455
|
+
this.getInteractiveElement =
|
|
9456
|
+
options.getInteractiveElement ??
|
|
9457
|
+
(() => {
|
|
9458
|
+
return host;
|
|
9459
|
+
});
|
|
9460
|
+
this.quickSearchBuffer = '';
|
|
9461
|
+
(this.host = host).addController(this);
|
|
9462
|
+
}
|
|
9463
|
+
hostConnected() {
|
|
9464
|
+
if (!this.focusOnType) {
|
|
9465
|
+
logger$a.debug('focus on type is disabled. Controller will not listen to keyup events');
|
|
9466
|
+
return;
|
|
9467
|
+
}
|
|
9468
|
+
this.host.addEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
9469
|
+
}
|
|
9470
|
+
hostDisconnected() {
|
|
9471
|
+
this.host.removeEventListener('keyup', __classPrivateFieldGet$1(this, _FocusManagerController_handleKeyPress, "f"));
|
|
9472
|
+
}
|
|
9473
|
+
/**
|
|
9474
|
+
* Get the list of elements matching the given `options.query`.
|
|
9475
|
+
*/
|
|
9476
|
+
get queried() {
|
|
9477
|
+
if (typeof this.query === 'function') {
|
|
9478
|
+
return this.query(this.host);
|
|
9479
|
+
}
|
|
9480
|
+
return Array.from(this.host.querySelectorAll(this.query));
|
|
9481
|
+
}
|
|
9482
|
+
/**
|
|
9483
|
+
* Get the currently focused element, based on `activeDescendant`.
|
|
9484
|
+
*/
|
|
9485
|
+
get focused() {
|
|
9486
|
+
if (!this.activeDescendant) {
|
|
9487
|
+
return null;
|
|
9488
|
+
}
|
|
9489
|
+
return __classPrivateFieldGet$1(this, _FocusManagerController_instances, "m", _FocusManagerController_findQueriedById).call(this, this.activeDescendant);
|
|
9490
|
+
}
|
|
9491
|
+
/**
|
|
9492
|
+
* If none of the options are selected, the first option receives focus; otherwise, the
|
|
9493
|
+
* focus moves to the next option.
|
|
9494
|
+
* If we are at the end of the `queried` array, the focus moves to the first option.
|
|
9495
|
+
*/
|
|
9496
|
+
focusNext() {
|
|
9497
|
+
this.focus('next');
|
|
9498
|
+
}
|
|
9499
|
+
/**
|
|
9500
|
+
* If none of the options are selected, the last option receives focus; otherwise, the
|
|
9501
|
+
* focus moves to the next option.
|
|
9502
|
+
* If we are at the start of the `queried` array, the focus moves to the last option.
|
|
9503
|
+
*/
|
|
9504
|
+
focusPrevious() {
|
|
9505
|
+
this.focus('previous');
|
|
9506
|
+
}
|
|
9507
|
+
/**
|
|
9508
|
+
* Focus the first element in `queried`.
|
|
9509
|
+
*/
|
|
9510
|
+
focusFirst() {
|
|
9511
|
+
this.focus(0);
|
|
9512
|
+
}
|
|
9513
|
+
/**
|
|
9514
|
+
* Focus the last element in `queried`.
|
|
9515
|
+
*/
|
|
9516
|
+
focusLast() {
|
|
9517
|
+
this.focus(this.queried.length - 1);
|
|
9518
|
+
}
|
|
9519
|
+
/**
|
|
9520
|
+
* Focus the given element or the element at the given index or position, based on `queried`.
|
|
9521
|
+
*/
|
|
9522
|
+
focus(where) {
|
|
9523
|
+
if (typeof where === 'number') {
|
|
9524
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusIndex, "f").call(this, where);
|
|
9525
|
+
}
|
|
9526
|
+
else if (typeof where === 'string') {
|
|
9527
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusPosition, "f").call(this, where);
|
|
9528
|
+
}
|
|
9529
|
+
else {
|
|
9530
|
+
__classPrivateFieldGet$1(this, _FocusManagerController_focusElement, "f").call(this, where);
|
|
9531
|
+
}
|
|
9532
|
+
}
|
|
9533
|
+
/**
|
|
9534
|
+
* Remove the visual focus (`.is-focused` class) from the currently focused element and
|
|
9535
|
+
* clear the `activeDescendant` attribute.
|
|
9536
|
+
*/
|
|
9537
|
+
clear() {
|
|
9538
|
+
this.getInteractiveElement(this.host).removeAttribute('aria-activedescendant');
|
|
9539
|
+
const element = this.focused;
|
|
9540
|
+
this.activeDescendant = null;
|
|
9541
|
+
if (!element) {
|
|
9542
|
+
return;
|
|
9543
|
+
}
|
|
9544
|
+
element.classList.remove('is-focused');
|
|
9545
|
+
}
|
|
9546
|
+
}
|
|
9547
|
+
_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) {
|
|
9548
|
+
if (!element) {
|
|
9549
|
+
return -1;
|
|
9550
|
+
}
|
|
9551
|
+
return this.queried.indexOf(element);
|
|
9552
|
+
}, _FocusManagerController_findQueriedById = function _FocusManagerController_findQueriedById(id) {
|
|
9553
|
+
return (this.queried.find((element) => {
|
|
9554
|
+
return element.id === id;
|
|
9555
|
+
}) ?? null);
|
|
9556
|
+
};
|
|
9557
|
+
|
|
9558
|
+
var _DropdownMenu_instances, _DropdownMenu_controllers, _DropdownMenu_requestCollapse, _DropdownMenu_handleClick, _DropdownMenu_handleFocusIn, _DropdownMenu_handleFocusOut;
|
|
9553
9559
|
class DropdownMenu extends WithIdElementMixin(Component) {
|
|
9554
9560
|
static define() {
|
|
9555
9561
|
Component.define({
|
|
@@ -9557,6 +9563,74 @@ class DropdownMenu extends WithIdElementMixin(Component) {
|
|
|
9557
9563
|
constructor: DropdownMenu,
|
|
9558
9564
|
});
|
|
9559
9565
|
}
|
|
9566
|
+
constructor() {
|
|
9567
|
+
super();
|
|
9568
|
+
_DropdownMenu_instances.add(this);
|
|
9569
|
+
_DropdownMenu_controllers.set(this, void 0);
|
|
9570
|
+
_DropdownMenu_handleClick.set(this, (event) => {
|
|
9571
|
+
const { target } = event;
|
|
9572
|
+
if (!target) {
|
|
9573
|
+
return;
|
|
9574
|
+
}
|
|
9575
|
+
if (target.matches(ITEM_SELECTOR)) {
|
|
9576
|
+
/**
|
|
9577
|
+
* we set focus so we can trigger the item click event when the user
|
|
9578
|
+
* presses <Enter> or <Space>, through the KeyboardSupportController.
|
|
9579
|
+
*/
|
|
9580
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focus(target);
|
|
9581
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_instances, "m", _DropdownMenu_requestCollapse).call(this);
|
|
9582
|
+
}
|
|
9583
|
+
});
|
|
9584
|
+
_DropdownMenu_handleFocusIn.set(this, () => {
|
|
9585
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").keyboard.activate();
|
|
9586
|
+
});
|
|
9587
|
+
_DropdownMenu_handleFocusOut.set(this, () => {
|
|
9588
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").keyboard.deactivate();
|
|
9589
|
+
});
|
|
9590
|
+
__classPrivateFieldSet(this, _DropdownMenu_controllers, {
|
|
9591
|
+
focus: new FocusManagerController(this, {
|
|
9592
|
+
query: ITEM_SELECTOR,
|
|
9593
|
+
}),
|
|
9594
|
+
keyboard: new KeyboardSupportController(this, [
|
|
9595
|
+
{
|
|
9596
|
+
shortcut: {
|
|
9597
|
+
key: 'ArrowUp',
|
|
9598
|
+
},
|
|
9599
|
+
handler: () => {
|
|
9600
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focusPrevious();
|
|
9601
|
+
},
|
|
9602
|
+
},
|
|
9603
|
+
{
|
|
9604
|
+
shortcut: {
|
|
9605
|
+
key: 'ArrowDown',
|
|
9606
|
+
},
|
|
9607
|
+
handler: () => {
|
|
9608
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focusNext();
|
|
9609
|
+
},
|
|
9610
|
+
},
|
|
9611
|
+
{
|
|
9612
|
+
shortcut: [
|
|
9613
|
+
{
|
|
9614
|
+
key: 'Enter',
|
|
9615
|
+
},
|
|
9616
|
+
{
|
|
9617
|
+
key: ' ',
|
|
9618
|
+
},
|
|
9619
|
+
],
|
|
9620
|
+
handler: () => {
|
|
9621
|
+
const item = __classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focused;
|
|
9622
|
+
if (item?.disabled) {
|
|
9623
|
+
return;
|
|
9624
|
+
}
|
|
9625
|
+
item?.click();
|
|
9626
|
+
},
|
|
9627
|
+
},
|
|
9628
|
+
]),
|
|
9629
|
+
}, "f");
|
|
9630
|
+
this.addEventListener('click', __classPrivateFieldGet$1(this, _DropdownMenu_handleClick, "f"));
|
|
9631
|
+
this.addEventListener('focusin', __classPrivateFieldGet$1(this, _DropdownMenu_handleFocusIn, "f"));
|
|
9632
|
+
this.addEventListener('focusout', __classPrivateFieldGet$1(this, _DropdownMenu_handleFocusOut, "f"));
|
|
9633
|
+
}
|
|
9560
9634
|
connectedCallback() {
|
|
9561
9635
|
super.connectedCallback();
|
|
9562
9636
|
this.setAttribute('role', 'menu');
|
|
@@ -9565,9 +9639,42 @@ class DropdownMenu extends WithIdElementMixin(Component) {
|
|
|
9565
9639
|
render() {
|
|
9566
9640
|
return b$1 `<slot name="menu-item"></slot>`;
|
|
9567
9641
|
}
|
|
9642
|
+
async activate(args) {
|
|
9643
|
+
const { position = 'first' } = args || {};
|
|
9644
|
+
this.focus();
|
|
9645
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.focus(position);
|
|
9646
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").keyboard.activate();
|
|
9647
|
+
}
|
|
9648
|
+
deactivate() {
|
|
9649
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").focus.clear();
|
|
9650
|
+
__classPrivateFieldGet$1(this, _DropdownMenu_controllers, "f").keyboard.deactivate();
|
|
9651
|
+
}
|
|
9568
9652
|
}
|
|
9653
|
+
_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() {
|
|
9654
|
+
this.emit(DROPDOWN_COLLAPSE_EVENT);
|
|
9655
|
+
};
|
|
9569
9656
|
DropdownMenu.define();
|
|
9570
9657
|
|
|
9658
|
+
class DropdownPopover extends WithIdElementMixin(Component) {
|
|
9659
|
+
static define() {
|
|
9660
|
+
Component.define({
|
|
9661
|
+
name: 'm-dropdown-popover',
|
|
9662
|
+
constructor: DropdownPopover,
|
|
9663
|
+
});
|
|
9664
|
+
}
|
|
9665
|
+
connectedCallback() {
|
|
9666
|
+
super.connectedCallback();
|
|
9667
|
+
this.setAttribute('role', 'dialog');
|
|
9668
|
+
this.setAttribute('aria-modal', 'false');
|
|
9669
|
+
this.setAttribute('tabindex', '-1');
|
|
9670
|
+
}
|
|
9671
|
+
render() {
|
|
9672
|
+
return b$1 `<slot></slot>`;
|
|
9673
|
+
}
|
|
9674
|
+
}
|
|
9675
|
+
DropdownPopover.styles = [dropdownPopoverStyles()];
|
|
9676
|
+
DropdownPopover.define();
|
|
9677
|
+
|
|
9571
9678
|
class DropdownItem extends WithIdElementMixin(Component) {
|
|
9572
9679
|
static get properties() {
|
|
9573
9680
|
return {
|
|
@@ -21606,4 +21713,4 @@ _FilePicker_instances = new WeakSet(), _FilePicker_input_get = function _FilePic
|
|
|
21606
21713
|
FilePicker.styles = [styles$1()];
|
|
21607
21714
|
FilePicker.define();
|
|
21608
21715
|
|
|
21609
|
-
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,
|
|
21716
|
+
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 };
|