@esri/solutions-components 0.11.21 → 0.11.23
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/cjs/card-manager_3.cjs.entry.js +17 -15
- package/dist/cjs/create-feature_4.cjs.entry.js +22 -11
- package/dist/cjs/create-related-feature_3.cjs.entry.js +79 -25
- package/dist/cjs/crowdsource-manager.cjs.entry.js +6 -3
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +126 -52
- package/dist/cjs/feature-list.cjs.entry.js +49 -11
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
- package/dist/cjs/public-notification.cjs.entry.js +3 -3
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/card-manager/card-manager.js +24 -3
- package/dist/collection/components/create-feature/create-feature.css +1 -1
- package/dist/collection/components/create-feature/create-feature.js +29 -4
- package/dist/collection/components/create-related-feature/create-related-feature.css +1 -1
- package/dist/collection/components/create-related-feature/create-related-feature.js +74 -49
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +26 -3
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +190 -53
- package/dist/collection/components/edit-card/edit-card.css +1 -1
- package/dist/collection/components/edit-card/edit-card.js +48 -23
- package/dist/collection/components/feature-details/feature-details.js +27 -6
- package/dist/collection/components/feature-list/feature-list.js +70 -10
- package/dist/collection/components/info-card/info-card.js +23 -2
- package/dist/collection/components/layer-list/layer-list.js +74 -3
- package/dist/collection/components/layer-table/layer-table.js +13 -12
- package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
- package/dist/collection/components/map-select-tools/map-select-tools.css +1 -0
- package/dist/collection/components/map-select-tools/map-select-tools.js +2 -2
- package/dist/collection/components/public-notification/public-notification.css +7 -0
- package/dist/collection/components/public-notification/public-notification.js +2 -2
- package/dist/collection/components/refine-selection/refine-selection.css +7 -0
- package/dist/collection/components/refine-selection/refine-selection.js +1 -1
- package/dist/collection/demos/crowdsource-manager.html +6 -2
- package/dist/collection/demos/crowdsource-reporter.html +2 -0
- package/dist/collection/vendor/calcite-components/24XPU7PW.js +4 -0
- package/dist/collection/vendor/calcite-components/26HZKUXD.js +4 -0
- package/dist/collection/vendor/calcite-components/2DZDH5PW.js +4 -0
- package/dist/collection/vendor/calcite-components/2E4H4XCR.js +5 -0
- package/dist/collection/vendor/calcite-components/2FEK4CRN.js +4 -0
- package/dist/collection/vendor/calcite-components/2JG564MO.js +4 -0
- package/dist/collection/vendor/calcite-components/2Q4UEB7G.js +4 -0
- package/dist/collection/vendor/calcite-components/2RPVHRRK.js +4 -0
- package/dist/collection/vendor/calcite-components/2UCHSNWA.js +4 -0
- package/dist/collection/vendor/calcite-components/36XNABTH.js +5 -0
- package/dist/collection/vendor/calcite-components/3AQ2GZOJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3BLAL4BM.js +4 -0
- package/dist/collection/vendor/calcite-components/3FMVZYYJ.js +4 -0
- package/dist/collection/vendor/calcite-components/3H4RHBLC.js +4 -0
- package/dist/collection/vendor/calcite-components/3HPRXYKG.js +4 -0
- package/dist/collection/vendor/calcite-components/3NQ3MF4Y.js +4 -0
- package/dist/collection/vendor/calcite-components/3QYPPYKC.js +4 -0
- package/dist/collection/vendor/calcite-components/3SN4BPNU.js +4 -0
- package/dist/collection/vendor/calcite-components/3TSDVYMK.js +4 -0
- package/dist/collection/vendor/calcite-components/44IELQRN.js +4 -0
- package/dist/collection/vendor/calcite-components/4EXGV2JM.js +4 -0
- package/dist/collection/vendor/calcite-components/4FFNZW2T.js +4 -0
- package/dist/collection/vendor/calcite-components/4IAN6EPQ.js +4 -0
- package/dist/collection/vendor/calcite-components/4LP6XZGU.js +4 -0
- package/dist/collection/vendor/calcite-components/5F57XCO4.js +4 -0
- package/dist/collection/vendor/calcite-components/5GKGAQME.js +4 -0
- package/dist/collection/vendor/calcite-components/5IDYJYNO.js +4 -0
- package/dist/collection/vendor/calcite-components/5NCQFUYM.js +4 -0
- package/dist/collection/vendor/calcite-components/5URVZAO7.js +4 -0
- package/dist/collection/vendor/calcite-components/5VK4UUOT.js +4 -0
- package/dist/collection/vendor/calcite-components/675BA2OJ.js +4 -0
- package/dist/collection/vendor/calcite-components/6BYBFB5X.js +4 -0
- package/dist/collection/vendor/calcite-components/6GYLT3HR.js +4 -0
- package/dist/collection/vendor/calcite-components/6HR6FZG5.js +4 -0
- package/dist/collection/vendor/calcite-components/6MXVP647.js +4 -0
- package/dist/collection/vendor/calcite-components/6ZVC3UDX.js +4 -0
- package/dist/collection/vendor/calcite-components/7DCX244D.js +4 -0
- package/dist/collection/vendor/calcite-components/7IVGC34Z.js +4 -0
- package/dist/collection/vendor/calcite-components/7MWKFHAB.js +4 -0
- package/dist/collection/vendor/calcite-components/7XHO3OGL.js +4 -0
- package/dist/collection/vendor/calcite-components/7ZKEYSIK.js +4 -0
- package/dist/collection/vendor/calcite-components/A55GXE4D.js +4 -0
- package/dist/collection/vendor/calcite-components/ANPPDEZT.js +4 -0
- package/dist/collection/vendor/calcite-components/AQU64FML.js +4 -0
- package/dist/collection/vendor/calcite-components/BWIN7F7V.js +4 -0
- package/dist/collection/vendor/calcite-components/CMPWL5OR.js +4 -0
- package/dist/collection/vendor/calcite-components/D2RJ2NDD.js +4 -0
- package/dist/collection/vendor/calcite-components/D7XRLD6B.js +4 -0
- package/dist/collection/vendor/calcite-components/DARUTTL6.js +4 -0
- package/dist/collection/vendor/calcite-components/DQUWVHQ4.js +4 -0
- package/dist/collection/vendor/calcite-components/DS66T4UB.js +4 -0
- package/dist/collection/vendor/calcite-components/DTEXOHOC.js +4 -0
- package/dist/collection/vendor/calcite-components/DWP35FP5.js +4 -0
- package/dist/collection/vendor/calcite-components/E4V4WLG3.js +4 -0
- package/dist/collection/vendor/calcite-components/E7BZN4HI.js +4 -0
- package/dist/collection/vendor/calcite-components/E7L45EZX.js +4 -0
- package/dist/collection/vendor/calcite-components/EAA5CDC7.js +4 -0
- package/dist/collection/vendor/calcite-components/EBQYZOJE.js +4 -0
- package/dist/collection/vendor/calcite-components/EEY7KS7V.js +4 -0
- package/dist/collection/vendor/calcite-components/EF4LF7JA.js +4 -0
- package/dist/collection/vendor/calcite-components/EG3KFCKT.js +4 -0
- package/dist/collection/vendor/calcite-components/EIKWAET5.js +4 -0
- package/dist/collection/vendor/calcite-components/ELQHGUUQ.js +4 -0
- package/dist/collection/vendor/calcite-components/ERSOIATK.js +4 -0
- package/dist/collection/vendor/calcite-components/EV222TOH.js +4 -0
- package/dist/collection/vendor/calcite-components/FBYOJ4XP.js +4 -0
- package/dist/collection/vendor/calcite-components/FD23ZJ5M.js +4 -0
- package/dist/collection/vendor/calcite-components/FKRFYIK4.js +4 -0
- package/dist/collection/vendor/calcite-components/FMQW5CPG.js +4 -0
- package/dist/collection/vendor/calcite-components/FO5IP7GC.js +4 -0
- package/dist/collection/vendor/calcite-components/FT75A5FT.js +4 -0
- package/dist/collection/vendor/calcite-components/FXQZQREX.js +4 -0
- package/dist/collection/vendor/calcite-components/FYRRB4YU.js +4 -0
- package/dist/collection/vendor/calcite-components/G4WSCO7F.js +4 -0
- package/dist/collection/vendor/calcite-components/G5LIFWLC.js +4 -0
- package/dist/collection/vendor/calcite-components/GCYW34DH.js +4 -0
- package/dist/collection/vendor/calcite-components/GD4KAPIS.js +4 -0
- package/dist/collection/vendor/calcite-components/GM2DDQTV.js +4 -0
- package/dist/collection/vendor/calcite-components/GO2WSYWK.js +4 -0
- package/dist/collection/vendor/calcite-components/GPCQIKHB.js +4 -0
- package/dist/collection/vendor/calcite-components/GWFN65PG.js +4 -0
- package/dist/collection/vendor/calcite-components/GYIYX666.js +4 -0
- package/dist/collection/vendor/calcite-components/H373LLT7.js +4 -0
- package/dist/collection/vendor/calcite-components/HANIGQEU.js +4 -0
- package/dist/collection/vendor/calcite-components/HBWBBKTZ.js +4 -0
- package/dist/collection/vendor/calcite-components/HPQH2IQI.js +4 -0
- package/dist/collection/vendor/calcite-components/HVFHWDZS.js +4 -0
- package/dist/collection/vendor/calcite-components/HZ2CJF4H.js +4 -0
- package/dist/collection/vendor/calcite-components/ICQDC5MP.js +4 -0
- package/dist/collection/vendor/calcite-components/IUPHPQ5W.js +4 -0
- package/dist/collection/vendor/calcite-components/JDC4CCNQ.js +4 -0
- package/dist/collection/vendor/calcite-components/JG5U4L3H.js +4 -0
- package/dist/collection/vendor/calcite-components/JIZ3ZUNT.js +4 -0
- package/dist/collection/vendor/calcite-components/JLOMSYFQ.js +4 -0
- package/dist/collection/vendor/calcite-components/JLTNOBGF.js +4 -0
- package/dist/collection/vendor/calcite-components/JN54BWVD.js +4 -0
- package/dist/collection/vendor/calcite-components/JN6GQD32.js +4 -0
- package/dist/collection/vendor/calcite-components/JPISN7UU.js +4 -0
- package/dist/collection/vendor/calcite-components/JUAKRLPE.js +4 -0
- package/dist/collection/vendor/calcite-components/JWG3XWKS.js +4 -0
- package/dist/collection/vendor/calcite-components/JXO6Q6PC.js +4 -0
- package/dist/collection/vendor/calcite-components/JZGJVQKB.js +4 -0
- package/dist/collection/vendor/calcite-components/K6ALYIOD.js +4 -0
- package/dist/collection/vendor/calcite-components/KDJM5H4R.js +4 -0
- package/dist/collection/vendor/calcite-components/KHJ3WR7G.js +4 -0
- package/dist/collection/vendor/calcite-components/KKIWAHJ5.js +4 -0
- package/dist/collection/vendor/calcite-components/KTBWW64D.js +4 -0
- package/dist/collection/vendor/calcite-components/KU2O6B36.js +4 -0
- package/dist/collection/vendor/calcite-components/KVUPM4TA.js +4 -0
- package/dist/collection/vendor/calcite-components/KX7ZCSRX.js +4 -0
- package/dist/collection/vendor/calcite-components/L23DZQI6.js +4 -0
- package/dist/collection/vendor/calcite-components/L2A3CRIP.js +4 -0
- package/dist/collection/vendor/calcite-components/L37A2ISQ.js +4 -0
- package/dist/collection/vendor/calcite-components/LAVRP2RO.js +4 -0
- package/dist/collection/vendor/calcite-components/LKSA6W5F.js +4 -0
- package/dist/collection/vendor/calcite-components/LL7Q6H5L.js +4 -0
- package/dist/collection/vendor/calcite-components/LM2XVEJC.js +4 -0
- package/dist/collection/vendor/calcite-components/LRGSGD6G.js +4 -0
- package/dist/collection/vendor/calcite-components/LSIQC7QO.js +4 -0
- package/dist/collection/vendor/calcite-components/LX3BNN2R.js +4 -0
- package/dist/collection/vendor/calcite-components/M25GARCS.js +4 -0
- package/dist/collection/vendor/calcite-components/M4GN65AZ.js +4 -0
- package/dist/collection/vendor/calcite-components/MDFZXOFP.js +5 -0
- package/dist/collection/vendor/calcite-components/MIBXI2CI.js +4 -0
- package/dist/collection/vendor/calcite-components/MRFLH6RW.js +4 -0
- package/dist/collection/vendor/calcite-components/MUSZ6RWB.js +4 -0
- package/dist/collection/vendor/calcite-components/MX5EJ4DJ.js +4 -0
- package/dist/collection/vendor/calcite-components/MX7YVZ2Z.js +4 -0
- package/dist/collection/vendor/calcite-components/MYZF2YXM.js +4 -0
- package/dist/collection/vendor/calcite-components/N65J4BH6.js +4 -0
- package/dist/collection/vendor/calcite-components/N7POKTYM.js +4 -0
- package/dist/collection/vendor/calcite-components/NGWZQ4DF.js +4 -0
- package/dist/collection/vendor/calcite-components/NH5KER32.js +4 -0
- package/dist/collection/vendor/calcite-components/NIUCAKLC.js +4 -0
- package/dist/collection/vendor/calcite-components/NJILTUYU.js +4 -0
- package/dist/collection/vendor/calcite-components/NNB7RMSP.js +4 -0
- package/dist/collection/vendor/calcite-components/NP5LTTOS.js +4 -0
- package/dist/collection/vendor/calcite-components/NU3PWREF.js +4 -0
- package/dist/collection/vendor/calcite-components/NZDSRTUF.js +4 -0
- package/dist/collection/vendor/calcite-components/O4LXC5MV.js +4 -0
- package/dist/collection/vendor/calcite-components/OJGLTFDQ.js +4 -0
- package/dist/collection/vendor/calcite-components/OM2SDJA4.js +4 -0
- package/dist/collection/vendor/calcite-components/OY3RU7OI.js +4 -0
- package/dist/collection/vendor/calcite-components/P7LZIGH7.js +4 -0
- package/dist/collection/vendor/calcite-components/PF4XEEY5.js +4 -0
- package/dist/collection/vendor/calcite-components/PODUJS2H.js +4 -0
- package/dist/collection/vendor/calcite-components/PTGDUPKQ.js +4 -0
- package/dist/collection/vendor/calcite-components/PULE4IG4.js +4 -0
- package/dist/collection/vendor/calcite-components/PYAEZBTT.js +4 -0
- package/dist/collection/vendor/calcite-components/Q4DBJLCB.js +4 -0
- package/dist/collection/vendor/calcite-components/Q5CP47UX.js +4 -0
- package/dist/collection/vendor/calcite-components/QBKTBLGQ.js +4 -0
- package/dist/collection/vendor/calcite-components/QBQA4E7G.js +4 -0
- package/dist/collection/vendor/calcite-components/QETLRCQW.js +4 -0
- package/dist/collection/vendor/calcite-components/QQDFER4A.js +4 -0
- package/dist/collection/vendor/calcite-components/QUUN5YJ3.js +4 -0
- package/dist/collection/vendor/calcite-components/RAGSXTXM.js +4 -0
- package/dist/collection/vendor/calcite-components/RCSWE64T.js +4 -0
- package/dist/collection/vendor/calcite-components/REFBGNGF.js +4 -0
- package/dist/collection/vendor/calcite-components/RJMOC4XG.js +4 -0
- package/dist/collection/vendor/calcite-components/RLL47KJQ.js +4 -0
- package/dist/collection/vendor/calcite-components/RNT7J5MG.js +4 -0
- package/dist/collection/vendor/calcite-components/RPYN5IF2.js +4 -0
- package/dist/collection/vendor/calcite-components/RRML3L24.js +4 -0
- package/dist/collection/vendor/calcite-components/RRVJ5QUL.js +4 -0
- package/dist/collection/vendor/calcite-components/RZO7PXBY.js +4 -0
- package/dist/collection/vendor/calcite-components/SHIRLQTM.js +4 -0
- package/dist/collection/vendor/calcite-components/SKNFNI3G.js +4 -0
- package/dist/collection/vendor/calcite-components/SYRJFWC5.js +4 -0
- package/dist/collection/vendor/calcite-components/T3GBBB3W.js +4 -0
- package/dist/collection/vendor/calcite-components/TQ427GJX.js +6 -0
- package/dist/collection/vendor/calcite-components/TRWHGTOM.js +4 -0
- package/dist/collection/vendor/calcite-components/TTYJV2AA.js +4 -0
- package/dist/collection/vendor/calcite-components/TWJJYAQX.js +4 -0
- package/dist/collection/vendor/calcite-components/U34FMDPO.js +4 -0
- package/dist/collection/vendor/calcite-components/UEMF24J4.js +4 -0
- package/dist/collection/vendor/calcite-components/UIX5KJAH.js +4 -0
- package/dist/collection/vendor/calcite-components/UK4MHTX3.js +4 -0
- package/dist/collection/vendor/calcite-components/UMC66FPD.js +4 -0
- package/dist/collection/vendor/calcite-components/UOWQEKZ5.js +4 -0
- package/dist/collection/vendor/calcite-components/UTQXVQSW.js +4 -0
- package/dist/collection/vendor/calcite-components/UZXKQDX5.js +4 -0
- package/dist/collection/vendor/calcite-components/VB5TESRK.js +4 -0
- package/dist/collection/vendor/calcite-components/VHJ3N6C3.js +4 -0
- package/dist/collection/vendor/calcite-components/VY7WVWHH.js +4 -0
- package/dist/collection/vendor/calcite-components/W34LH35I.js +4 -0
- package/dist/collection/vendor/calcite-components/W5SJYIG6.js +4 -0
- package/dist/collection/vendor/calcite-components/W7LKQZLC.js +4 -0
- package/dist/collection/vendor/calcite-components/WA5XUN7A.js +4 -0
- package/dist/collection/vendor/calcite-components/WEMPP7QH.js +4 -0
- package/dist/collection/vendor/calcite-components/WK57IMVA.js +4 -0
- package/dist/collection/vendor/calcite-components/WUO5GRAC.js +5 -0
- package/dist/collection/vendor/calcite-components/WVYNOISK.js +4 -0
- package/dist/collection/vendor/calcite-components/X3DSV2RP.js +4 -0
- package/dist/collection/vendor/calcite-components/X533PSPQ.js +4 -0
- package/dist/collection/vendor/calcite-components/XCP7OFYG.js +4 -0
- package/dist/collection/vendor/calcite-components/XHSJC65M.js +22 -0
- package/dist/collection/vendor/calcite-components/XNYI7YNV.js +4 -0
- package/dist/collection/vendor/calcite-components/XOXXCOFR.js +4 -0
- package/dist/collection/vendor/calcite-components/XWL453TD.js +4 -0
- package/dist/collection/vendor/calcite-components/XZCNA3MO.js +4 -0
- package/dist/collection/vendor/calcite-components/XZIEBVH3.js +4 -0
- package/dist/collection/vendor/calcite-components/Y2RMF5RD.js +4 -0
- package/dist/collection/vendor/calcite-components/Y5K6MWVI.js +4 -0
- package/dist/collection/vendor/calcite-components/Y73JSF6U.js +4 -0
- package/dist/collection/vendor/calcite-components/YDHV53C4.js +4 -0
- package/dist/collection/vendor/calcite-components/YFD73VVO.js +4 -0
- package/dist/collection/vendor/calcite-components/YGSOHLPD.js +4 -0
- package/dist/collection/vendor/calcite-components/YLRKAY6P.js +4 -0
- package/dist/collection/vendor/calcite-components/YMGAVFBF.js +4 -0
- package/dist/collection/vendor/calcite-components/YORUNTUJ.js +4 -0
- package/dist/collection/vendor/calcite-components/YQW2HZIZ.js +4 -0
- package/dist/collection/vendor/calcite-components/YU4QMLUK.js +4 -0
- package/dist/collection/vendor/calcite-components/Z5W27AI4.js +4 -0
- package/dist/collection/vendor/calcite-components/ZB7BTUGE.js +4 -0
- package/dist/collection/vendor/calcite-components/ZBMTRW4F.js +4 -0
- package/dist/collection/vendor/calcite-components/ZGKKQBVA.js +4 -0
- package/dist/collection/vendor/calcite-components/ZH3CXIUL.js +4 -0
- package/dist/collection/vendor/calcite-components/ZIFGJROL.js +4 -0
- package/dist/collection/vendor/calcite-components/ZL7RFBBU.js +28 -0
- package/dist/collection/vendor/calcite-components/ZLP5NNFX.js +4 -0
- package/dist/collection/vendor/calcite-components/ZQRVWYDH.js +4 -0
- package/dist/collection/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/components/card-manager2.js +5 -3
- package/dist/components/create-feature2.js +11 -5
- package/dist/components/create-related-feature2.js +21 -15
- package/dist/components/crowdsource-manager.js +7 -3
- package/dist/components/crowdsource-reporter.js +131 -52
- package/dist/components/edit-card2.js +11 -5
- package/dist/components/feature-details2.js +8 -6
- package/dist/components/feature-list2.js +52 -12
- package/dist/components/info-card2.js +4 -2
- package/dist/components/layer-list2.js +56 -5
- package/dist/components/layer-table2.js +13 -12
- package/dist/components/map-layer-picker2.js +1 -1
- package/dist/components/map-select-tools2.js +3 -3
- package/dist/components/public-notification.js +3 -3
- package/dist/components/refine-selection2.js +2 -2
- package/dist/esm/card-manager_3.entry.js +17 -15
- package/dist/esm/create-feature_4.entry.js +22 -11
- package/dist/esm/create-related-feature_3.entry.js +79 -25
- package/dist/esm/crowdsource-manager.entry.js +6 -3
- package/dist/esm/crowdsource-reporter.entry.js +126 -52
- package/dist/esm/feature-list.entry.js +49 -11
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-layer-picker.entry.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +5 -5
- package/dist/esm/public-notification.entry.js +3 -3
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/demos/crowdsource-manager.html +6 -2
- package/dist/solutions-components/demos/crowdsource-reporter.html +2 -0
- package/dist/solutions-components/p-09041307.entry.js +6 -0
- package/dist/solutions-components/p-2507c685.entry.js +6 -0
- package/dist/solutions-components/p-386b0163.entry.js +6 -0
- package/dist/solutions-components/p-541eb93a.entry.js +6 -0
- package/dist/solutions-components/p-6d20da19.entry.js +6 -0
- package/dist/solutions-components/p-7e233b70.entry.js +6 -0
- package/dist/solutions-components/p-99e00361.entry.js +6 -0
- package/dist/solutions-components/p-a415a60d.entry.js +6 -0
- package/dist/solutions-components/p-b5a102db.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/vendor/calcite-components/24XPU7PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/26HZKUXD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2DZDH5PW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2E4H4XCR.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/2FEK4CRN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2JG564MO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2Q4UEB7G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2RPVHRRK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/2UCHSNWA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/36XNABTH.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/3AQ2GZOJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3BLAL4BM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3FMVZYYJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3H4RHBLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3HPRXYKG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3NQ3MF4Y.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3QYPPYKC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3SN4BPNU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/3TSDVYMK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/44IELQRN.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4EXGV2JM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4FFNZW2T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4IAN6EPQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/4LP6XZGU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5F57XCO4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5GKGAQME.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5IDYJYNO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5NCQFUYM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5URVZAO7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/5VK4UUOT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/675BA2OJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6BYBFB5X.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6GYLT3HR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6HR6FZG5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6MXVP647.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/6ZVC3UDX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7DCX244D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7IVGC34Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7MWKFHAB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7XHO3OGL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/7ZKEYSIK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/A55GXE4D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ANPPDEZT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/AQU64FML.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/BWIN7F7V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/CMPWL5OR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D2RJ2NDD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/D7XRLD6B.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DARUTTL6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DQUWVHQ4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DS66T4UB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DTEXOHOC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/DWP35FP5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E4V4WLG3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E7BZN4HI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/E7L45EZX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EAA5CDC7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EBQYZOJE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EEY7KS7V.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EF4LF7JA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EG3KFCKT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EIKWAET5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ELQHGUUQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ERSOIATK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/EV222TOH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FBYOJ4XP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FD23ZJ5M.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FKRFYIK4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FMQW5CPG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FO5IP7GC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FT75A5FT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FXQZQREX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/FYRRB4YU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G4WSCO7F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/G5LIFWLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GCYW34DH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GD4KAPIS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GM2DDQTV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GO2WSYWK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GPCQIKHB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GWFN65PG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/GYIYX666.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/H373LLT7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HANIGQEU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HBWBBKTZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HPQH2IQI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HVFHWDZS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/HZ2CJF4H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ICQDC5MP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/IUPHPQ5W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JDC4CCNQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JG5U4L3H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JIZ3ZUNT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JLOMSYFQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JLTNOBGF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JN54BWVD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JN6GQD32.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JPISN7UU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JUAKRLPE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JWG3XWKS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JXO6Q6PC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/JZGJVQKB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/K6ALYIOD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KDJM5H4R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KHJ3WR7G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KKIWAHJ5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KTBWW64D.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KU2O6B36.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KVUPM4TA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/KX7ZCSRX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L23DZQI6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L2A3CRIP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/L37A2ISQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LAVRP2RO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LKSA6W5F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LL7Q6H5L.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LM2XVEJC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LRGSGD6G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LSIQC7QO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/LX3BNN2R.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M25GARCS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/M4GN65AZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MDFZXOFP.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/MIBXI2CI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MRFLH6RW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MUSZ6RWB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MX5EJ4DJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MX7YVZ2Z.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/MYZF2YXM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N65J4BH6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/N7POKTYM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NGWZQ4DF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NH5KER32.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NIUCAKLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NJILTUYU.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NNB7RMSP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NP5LTTOS.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NU3PWREF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/NZDSRTUF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/O4LXC5MV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OJGLTFDQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OM2SDJA4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/OY3RU7OI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/P7LZIGH7.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PF4XEEY5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PODUJS2H.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PTGDUPKQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PULE4IG4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/PYAEZBTT.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q4DBJLCB.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Q5CP47UX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBKTBLGQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QBQA4E7G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QETLRCQW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QQDFER4A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/QUUN5YJ3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RAGSXTXM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RCSWE64T.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/REFBGNGF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RJMOC4XG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RLL47KJQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RNT7J5MG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RPYN5IF2.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRML3L24.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RRVJ5QUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/RZO7PXBY.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SHIRLQTM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SKNFNI3G.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/SYRJFWC5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/T3GBBB3W.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TQ427GJX.js +6 -0
- package/dist/solutions-components/vendor/calcite-components/TRWHGTOM.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TTYJV2AA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/TWJJYAQX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/U34FMDPO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UEMF24J4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UIX5KJAH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UK4MHTX3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UMC66FPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UOWQEKZ5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UTQXVQSW.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/UZXKQDX5.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VB5TESRK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VHJ3N6C3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/VY7WVWHH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W34LH35I.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W5SJYIG6.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/W7LKQZLC.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WA5XUN7A.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WEMPP7QH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WK57IMVA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/WUO5GRAC.js +5 -0
- package/dist/solutions-components/vendor/calcite-components/WVYNOISK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X3DSV2RP.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/X533PSPQ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XCP7OFYG.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XHSJC65M.js +22 -0
- package/dist/solutions-components/vendor/calcite-components/XNYI7YNV.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XOXXCOFR.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XWL453TD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XZCNA3MO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/XZIEBVH3.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y2RMF5RD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y5K6MWVI.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Y73JSF6U.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YDHV53C4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YFD73VVO.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YGSOHLPD.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YLRKAY6P.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YMGAVFBF.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YORUNTUJ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YQW2HZIZ.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/YU4QMLUK.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/Z5W27AI4.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZB7BTUGE.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZBMTRW4F.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZGKKQBVA.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZH3CXIUL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZIFGJROL.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZL7RFBBU.js +28 -0
- package/dist/solutions-components/vendor/calcite-components/ZLP5NNFX.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/ZQRVWYDH.js +4 -0
- package/dist/solutions-components/vendor/calcite-components/calcite.esm.js +2 -2
- package/dist/solutions-components_commit.txt +7 -7
- package/dist/types/components/card-manager/card-manager.d.ts +4 -0
- package/dist/types/components/create-feature/create-feature.d.ts +4 -0
- package/dist/types/components/create-related-feature/create-related-feature.d.ts +23 -19
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +46 -1
- package/dist/types/components/edit-card/edit-card.d.ts +8 -4
- package/dist/types/components/feature-details/feature-details.d.ts +4 -0
- package/dist/types/components/feature-list/feature-list.d.ts +20 -0
- package/dist/types/components/info-card/info-card.d.ts +4 -0
- package/dist/types/components/layer-list/layer-list.d.ts +27 -0
- package/dist/types/components.d.ts +96 -0
- package/package.json +2 -2
- package/dist/collection/vendor/calcite-components/22LZVO5E.js +0 -4
- package/dist/collection/vendor/calcite-components/2A6QEASM.js +0 -4
- package/dist/collection/vendor/calcite-components/2BGT5TEK.js +0 -4
- package/dist/collection/vendor/calcite-components/2CPYXWOG.js +0 -4
- package/dist/collection/vendor/calcite-components/2GEBE6K3.js +0 -4
- package/dist/collection/vendor/calcite-components/2QA56E26.js +0 -4
- package/dist/collection/vendor/calcite-components/2YRZB4NM.js +0 -4
- package/dist/collection/vendor/calcite-components/36XHP2FJ.js +0 -4
- package/dist/collection/vendor/calcite-components/3COQK7PF.js +0 -4
- package/dist/collection/vendor/calcite-components/3DM4HAHW.js +0 -4
- package/dist/collection/vendor/calcite-components/3PTTJYHL.js +0 -4
- package/dist/collection/vendor/calcite-components/3QHDLMLZ.js +0 -4
- package/dist/collection/vendor/calcite-components/3QTJJQOU.js +0 -4
- package/dist/collection/vendor/calcite-components/42IFRZST.js +0 -4
- package/dist/collection/vendor/calcite-components/43WAE6RK.js +0 -4
- package/dist/collection/vendor/calcite-components/4657LRIL.js +0 -4
- package/dist/collection/vendor/calcite-components/4D34RBQ3.js +0 -4
- package/dist/collection/vendor/calcite-components/4EMDDOBJ.js +0 -4
- package/dist/collection/vendor/calcite-components/4IX3YHER.js +0 -4
- package/dist/collection/vendor/calcite-components/4JFCCMPV.js +0 -4
- package/dist/collection/vendor/calcite-components/4RVJ5ZT4.js +0 -4
- package/dist/collection/vendor/calcite-components/53I6TTJJ.js +0 -4
- package/dist/collection/vendor/calcite-components/54KMPSZ3.js +0 -4
- package/dist/collection/vendor/calcite-components/555IAPRW.js +0 -4
- package/dist/collection/vendor/calcite-components/5BBZL5AE.js +0 -4
- package/dist/collection/vendor/calcite-components/5G52FOTN.js +0 -4
- package/dist/collection/vendor/calcite-components/5GU33MPG.js +0 -4
- package/dist/collection/vendor/calcite-components/5SFTADR5.js +0 -4
- package/dist/collection/vendor/calcite-components/5WCCH3GL.js +0 -4
- package/dist/collection/vendor/calcite-components/662YEAMX.js +0 -4
- package/dist/collection/vendor/calcite-components/6FZUWDUT.js +0 -4
- package/dist/collection/vendor/calcite-components/6PFLQ26Z.js +0 -4
- package/dist/collection/vendor/calcite-components/6PJ43C67.js +0 -4
- package/dist/collection/vendor/calcite-components/6TRPZGJP.js +0 -4
- package/dist/collection/vendor/calcite-components/6TWWOPNX.js +0 -4
- package/dist/collection/vendor/calcite-components/727HQUFD.js +0 -4
- package/dist/collection/vendor/calcite-components/74RWJ4QY.js +0 -4
- package/dist/collection/vendor/calcite-components/7AMBDXFL.js +0 -4
- package/dist/collection/vendor/calcite-components/7BGF2YXV.js +0 -5
- package/dist/collection/vendor/calcite-components/7KCRDGKA.js +0 -4
- package/dist/collection/vendor/calcite-components/7LREBCFI.js +0 -4
- package/dist/collection/vendor/calcite-components/7MTWQHV5.js +0 -4
- package/dist/collection/vendor/calcite-components/7NELI6UD.js +0 -4
- package/dist/collection/vendor/calcite-components/7PXHM6EH.js +0 -4
- package/dist/collection/vendor/calcite-components/7R52MWAP.js +0 -4
- package/dist/collection/vendor/calcite-components/A4XKVBOI.js +0 -4
- package/dist/collection/vendor/calcite-components/A57QY65K.js +0 -4
- package/dist/collection/vendor/calcite-components/A6VQQWXZ.js +0 -4
- package/dist/collection/vendor/calcite-components/AIDMQYMU.js +0 -4
- package/dist/collection/vendor/calcite-components/ASXEEA2B.js +0 -4
- package/dist/collection/vendor/calcite-components/AWSMJMWQ.js +0 -4
- package/dist/collection/vendor/calcite-components/AZ54J6HD.js +0 -4
- package/dist/collection/vendor/calcite-components/B2ETPGYX.js +0 -4
- package/dist/collection/vendor/calcite-components/B2JBOZ4Z.js +0 -4
- package/dist/collection/vendor/calcite-components/B4FD6KD7.js +0 -4
- package/dist/collection/vendor/calcite-components/B7E6VYNK.js +0 -4
- package/dist/collection/vendor/calcite-components/BD6SDCR6.js +0 -4
- package/dist/collection/vendor/calcite-components/BFQ3IRQW.js +0 -4
- package/dist/collection/vendor/calcite-components/BW2NQ5TQ.js +0 -4
- package/dist/collection/vendor/calcite-components/BZOMVSAG.js +0 -4
- package/dist/collection/vendor/calcite-components/C3AZYUGU.js +0 -4
- package/dist/collection/vendor/calcite-components/CBX7R3DS.js +0 -4
- package/dist/collection/vendor/calcite-components/CCXXBM5B.js +0 -4
- package/dist/collection/vendor/calcite-components/CG5B4XKZ.js +0 -4
- package/dist/collection/vendor/calcite-components/CHGJHDWI.js +0 -4
- package/dist/collection/vendor/calcite-components/CNADH63F.js +0 -4
- package/dist/collection/vendor/calcite-components/CV3G4HMQ.js +0 -4
- package/dist/collection/vendor/calcite-components/CWSVXKFX.js +0 -4
- package/dist/collection/vendor/calcite-components/CY5O5AGQ.js +0 -4
- package/dist/collection/vendor/calcite-components/D23ZXMLS.js +0 -4
- package/dist/collection/vendor/calcite-components/D276FT6Z.js +0 -4
- package/dist/collection/vendor/calcite-components/DG2T33QN.js +0 -4
- package/dist/collection/vendor/calcite-components/DJQ34CXE.js +0 -4
- package/dist/collection/vendor/calcite-components/DJREGHLR.js +0 -6
- package/dist/collection/vendor/calcite-components/DMXUBDZW.js +0 -4
- package/dist/collection/vendor/calcite-components/DNQY4EKR.js +0 -4
- package/dist/collection/vendor/calcite-components/DPFVN4EN.js +0 -4
- package/dist/collection/vendor/calcite-components/DRXWIPMI.js +0 -4
- package/dist/collection/vendor/calcite-components/DRYFM2IO.js +0 -4
- package/dist/collection/vendor/calcite-components/DUL66KKH.js +0 -4
- package/dist/collection/vendor/calcite-components/DVC5KGLT.js +0 -4
- package/dist/collection/vendor/calcite-components/E6X3KIZL.js +0 -4
- package/dist/collection/vendor/calcite-components/EG6UCGFB.js +0 -4
- package/dist/collection/vendor/calcite-components/EHAHKKFL.js +0 -4
- package/dist/collection/vendor/calcite-components/EIMDRXSI.js +0 -4
- package/dist/collection/vendor/calcite-components/EM7TVLTF.js +0 -4
- package/dist/collection/vendor/calcite-components/EP7IEI22.js +0 -4
- package/dist/collection/vendor/calcite-components/EWJY2L2V.js +0 -4
- package/dist/collection/vendor/calcite-components/EYQQPU2W.js +0 -4
- package/dist/collection/vendor/calcite-components/FB7CD3CH.js +0 -4
- package/dist/collection/vendor/calcite-components/FDBZMO4P.js +0 -4
- package/dist/collection/vendor/calcite-components/FFPGVFSC.js +0 -4
- package/dist/collection/vendor/calcite-components/FGYULWTE.js +0 -4
- package/dist/collection/vendor/calcite-components/FMKUEBDG.js +0 -4
- package/dist/collection/vendor/calcite-components/FRM3YXTH.js +0 -4
- package/dist/collection/vendor/calcite-components/FW6R63UX.js +0 -4
- package/dist/collection/vendor/calcite-components/FXTXVVOM.js +0 -4
- package/dist/collection/vendor/calcite-components/FXXGJ3RT.js +0 -4
- package/dist/collection/vendor/calcite-components/FYHE5C5Q.js +0 -4
- package/dist/collection/vendor/calcite-components/G33CDSRC.js +0 -4
- package/dist/collection/vendor/calcite-components/G6XUWYVF.js +0 -4
- package/dist/collection/vendor/calcite-components/GCIH5FK5.js +0 -4
- package/dist/collection/vendor/calcite-components/GE5Y3RWM.js +0 -4
- package/dist/collection/vendor/calcite-components/GEZNDNDH.js +0 -4
- package/dist/collection/vendor/calcite-components/GNJWHQYO.js +0 -4
- package/dist/collection/vendor/calcite-components/GZ5TMSIR.js +0 -4
- package/dist/collection/vendor/calcite-components/GZJIMDTR.js +0 -4
- package/dist/collection/vendor/calcite-components/H23GHBD2.js +0 -5
- package/dist/collection/vendor/calcite-components/H2SIT2TB.js +0 -4
- package/dist/collection/vendor/calcite-components/HC7MYCXC.js +0 -4
- package/dist/collection/vendor/calcite-components/HD5QD64Q.js +0 -4
- package/dist/collection/vendor/calcite-components/HDELZP2B.js +0 -4
- package/dist/collection/vendor/calcite-components/HGDJL4SA.js +0 -4
- package/dist/collection/vendor/calcite-components/HHVWJ7MU.js +0 -4
- package/dist/collection/vendor/calcite-components/HJYTX5BK.js +0 -4
- package/dist/collection/vendor/calcite-components/HMFDWMJH.js +0 -4
- package/dist/collection/vendor/calcite-components/HXESYKZM.js +0 -4
- package/dist/collection/vendor/calcite-components/I4BAPULM.js +0 -4
- package/dist/collection/vendor/calcite-components/I6RIFD3V.js +0 -5
- package/dist/collection/vendor/calcite-components/IDZWSTZZ.js +0 -4
- package/dist/collection/vendor/calcite-components/IFAY5ZXB.js +0 -4
- package/dist/collection/vendor/calcite-components/IO5HOHW4.js +0 -4
- package/dist/collection/vendor/calcite-components/ISXEUIFH.js +0 -4
- package/dist/collection/vendor/calcite-components/IXUF77L2.js +0 -4
- package/dist/collection/vendor/calcite-components/J27B5CWI.js +0 -4
- package/dist/collection/vendor/calcite-components/JAKKKROM.js +0 -4
- package/dist/collection/vendor/calcite-components/JNDUGIK6.js +0 -4
- package/dist/collection/vendor/calcite-components/JNNP4QF3.js +0 -4
- package/dist/collection/vendor/calcite-components/JVSUOTAZ.js +0 -4
- package/dist/collection/vendor/calcite-components/JWEMBAET.js +0 -4
- package/dist/collection/vendor/calcite-components/JWKRGDRV.js +0 -4
- package/dist/collection/vendor/calcite-components/JZQ73NRM.js +0 -4
- package/dist/collection/vendor/calcite-components/K7OAUX24.js +0 -4
- package/dist/collection/vendor/calcite-components/KKM7CKQA.js +0 -4
- package/dist/collection/vendor/calcite-components/KMEUFDPK.js +0 -4
- package/dist/collection/vendor/calcite-components/KNH6FSL4.js +0 -4
- package/dist/collection/vendor/calcite-components/KPMQXN4M.js +0 -4
- package/dist/collection/vendor/calcite-components/KWU2E4JE.js +0 -4
- package/dist/collection/vendor/calcite-components/L4WAR5X4.js +0 -4
- package/dist/collection/vendor/calcite-components/LKJAWTVJ.js +0 -4
- package/dist/collection/vendor/calcite-components/LLS4XVIW.js +0 -4
- package/dist/collection/vendor/calcite-components/LNECFRUM.js +0 -4
- package/dist/collection/vendor/calcite-components/LYQ7FJT2.js +0 -4
- package/dist/collection/vendor/calcite-components/M2KTEEUG.js +0 -4
- package/dist/collection/vendor/calcite-components/M5OIZS7N.js +0 -28
- package/dist/collection/vendor/calcite-components/M64PHLHQ.js +0 -4
- package/dist/collection/vendor/calcite-components/MQ3MSMTP.js +0 -4
- package/dist/collection/vendor/calcite-components/MTNJMPLV.js +0 -4
- package/dist/collection/vendor/calcite-components/MXGPGCYC.js +0 -4
- package/dist/collection/vendor/calcite-components/MYNPH67G.js +0 -4
- package/dist/collection/vendor/calcite-components/N5OBZLJZ.js +0 -4
- package/dist/collection/vendor/calcite-components/NJYFPOKV.js +0 -4
- package/dist/collection/vendor/calcite-components/NJZE4A4X.js +0 -4
- package/dist/collection/vendor/calcite-components/NSHK3NTJ.js +0 -4
- package/dist/collection/vendor/calcite-components/NYER6YT7.js +0 -4
- package/dist/collection/vendor/calcite-components/NYZ4ODDA.js +0 -4
- package/dist/collection/vendor/calcite-components/O4AAP54K.js +0 -4
- package/dist/collection/vendor/calcite-components/OETUMACB.js +0 -4
- package/dist/collection/vendor/calcite-components/OFPYZZUF.js +0 -4
- package/dist/collection/vendor/calcite-components/OFXV3CF7.js +0 -4
- package/dist/collection/vendor/calcite-components/PAJGY3XV.js +0 -4
- package/dist/collection/vendor/calcite-components/PENB3O7H.js +0 -4
- package/dist/collection/vendor/calcite-components/PNCVHWAE.js +0 -4
- package/dist/collection/vendor/calcite-components/PYGWJ6OV.js +0 -4
- package/dist/collection/vendor/calcite-components/Q32GNFQO.js +0 -22
- package/dist/collection/vendor/calcite-components/Q6HTE6MQ.js +0 -4
- package/dist/collection/vendor/calcite-components/QAO6BQAD.js +0 -4
- package/dist/collection/vendor/calcite-components/QBMZKO4M.js +0 -4
- package/dist/collection/vendor/calcite-components/QCKKEDB2.js +0 -4
- package/dist/collection/vendor/calcite-components/QQEBBK2A.js +0 -4
- package/dist/collection/vendor/calcite-components/R4J2EZFU.js +0 -4
- package/dist/collection/vendor/calcite-components/R5EHQKMO.js +0 -4
- package/dist/collection/vendor/calcite-components/R7GOP347.js +0 -4
- package/dist/collection/vendor/calcite-components/RBMLFM2L.js +0 -4
- package/dist/collection/vendor/calcite-components/RBQ6BI6C.js +0 -4
- package/dist/collection/vendor/calcite-components/REF7SAQQ.js +0 -4
- package/dist/collection/vendor/calcite-components/REWMVFVL.js +0 -4
- package/dist/collection/vendor/calcite-components/RI3WTZXE.js +0 -4
- package/dist/collection/vendor/calcite-components/RL7IIXTZ.js +0 -4
- package/dist/collection/vendor/calcite-components/RM7LSSHL.js +0 -4
- package/dist/collection/vendor/calcite-components/RREZDRNN.js +0 -4
- package/dist/collection/vendor/calcite-components/SHERIRO4.js +0 -4
- package/dist/collection/vendor/calcite-components/SK7NKNHK.js +0 -4
- package/dist/collection/vendor/calcite-components/SODGHLU2.js +0 -4
- package/dist/collection/vendor/calcite-components/SP6U5EWI.js +0 -4
- package/dist/collection/vendor/calcite-components/SQKZ5EZF.js +0 -4
- package/dist/collection/vendor/calcite-components/SX4MCPF2.js +0 -5
- package/dist/collection/vendor/calcite-components/TIGHTLQD.js +0 -4
- package/dist/collection/vendor/calcite-components/TMKEB7G7.js +0 -4
- package/dist/collection/vendor/calcite-components/TURDT3VB.js +0 -4
- package/dist/collection/vendor/calcite-components/TX7QHHK5.js +0 -4
- package/dist/collection/vendor/calcite-components/TYMOPXYL.js +0 -4
- package/dist/collection/vendor/calcite-components/TZECTLA6.js +0 -4
- package/dist/collection/vendor/calcite-components/U3RO6UCM.js +0 -4
- package/dist/collection/vendor/calcite-components/U5FUMAFV.js +0 -4
- package/dist/collection/vendor/calcite-components/UM5EV3V4.js +0 -4
- package/dist/collection/vendor/calcite-components/UOX45Z7K.js +0 -4
- package/dist/collection/vendor/calcite-components/UXTWTW75.js +0 -4
- package/dist/collection/vendor/calcite-components/V5ZZKGAM.js +0 -4
- package/dist/collection/vendor/calcite-components/VTA2PRG5.js +0 -4
- package/dist/collection/vendor/calcite-components/VY37PIFG.js +0 -4
- package/dist/collection/vendor/calcite-components/W25AOEEB.js +0 -4
- package/dist/collection/vendor/calcite-components/W3TNJWVO.js +0 -4
- package/dist/collection/vendor/calcite-components/WQHOMJR2.js +0 -4
- package/dist/collection/vendor/calcite-components/WW65BUEL.js +0 -4
- package/dist/collection/vendor/calcite-components/WWZTCRUR.js +0 -4
- package/dist/collection/vendor/calcite-components/X6UMFXM3.js +0 -4
- package/dist/collection/vendor/calcite-components/XCTRH7IZ.js +0 -4
- package/dist/collection/vendor/calcite-components/XJTPF3VE.js +0 -4
- package/dist/collection/vendor/calcite-components/XNWWFGXG.js +0 -4
- package/dist/collection/vendor/calcite-components/YG6EDHOT.js +0 -4
- package/dist/collection/vendor/calcite-components/YHRT6LHF.js +0 -4
- package/dist/collection/vendor/calcite-components/YMNIMOT5.js +0 -4
- package/dist/collection/vendor/calcite-components/YQDDGBKI.js +0 -4
- package/dist/collection/vendor/calcite-components/YYWX5ACS.js +0 -4
- package/dist/collection/vendor/calcite-components/Z5J5AV2N.js +0 -4
- package/dist/collection/vendor/calcite-components/Z5POWLIV.js +0 -4
- package/dist/collection/vendor/calcite-components/ZCF5FXJ6.js +0 -4
- package/dist/collection/vendor/calcite-components/ZCPJODER.js +0 -4
- package/dist/collection/vendor/calcite-components/ZIIE4X52.js +0 -4
- package/dist/collection/vendor/calcite-components/ZQ4RAM3U.js +0 -4
- package/dist/collection/vendor/calcite-components/ZXDWFKG4.js +0 -4
- package/dist/solutions-components/p-00ec642f.entry.js +0 -6
- package/dist/solutions-components/p-02c4e6fc.entry.js +0 -6
- package/dist/solutions-components/p-5a202f3f.entry.js +0 -6
- package/dist/solutions-components/p-8859b622.entry.js +0 -6
- package/dist/solutions-components/p-a6e763aa.entry.js +0 -6
- package/dist/solutions-components/p-de42e8b2.entry.js +0 -6
- package/dist/solutions-components/p-ea566af0.entry.js +0 -6
- package/dist/solutions-components/p-eb3c867f.entry.js +0 -6
- package/dist/solutions-components/p-ec867c21.entry.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/22LZVO5E.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2A6QEASM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2BGT5TEK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2CPYXWOG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2GEBE6K3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2QA56E26.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/2YRZB4NM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/36XHP2FJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3COQK7PF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3DM4HAHW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3PTTJYHL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3QHDLMLZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/3QTJJQOU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/42IFRZST.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/43WAE6RK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4657LRIL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4D34RBQ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4EMDDOBJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4IX3YHER.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4JFCCMPV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/4RVJ5ZT4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/53I6TTJJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/54KMPSZ3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/555IAPRW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5BBZL5AE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5G52FOTN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5GU33MPG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5SFTADR5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/5WCCH3GL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/662YEAMX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6FZUWDUT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6PFLQ26Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6PJ43C67.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6TRPZGJP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/6TWWOPNX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/727HQUFD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/74RWJ4QY.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7AMBDXFL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7BGF2YXV.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/7KCRDGKA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7LREBCFI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7MTWQHV5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7NELI6UD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7PXHM6EH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/7R52MWAP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A4XKVBOI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A57QY65K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/A6VQQWXZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AIDMQYMU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ASXEEA2B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AWSMJMWQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/AZ54J6HD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B2ETPGYX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B2JBOZ4Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B4FD6KD7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/B7E6VYNK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BD6SDCR6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BFQ3IRQW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BW2NQ5TQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/BZOMVSAG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/C3AZYUGU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CBX7R3DS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CCXXBM5B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CG5B4XKZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CHGJHDWI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CNADH63F.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CV3G4HMQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CWSVXKFX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/CY5O5AGQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D23ZXMLS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/D276FT6Z.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DG2T33QN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DJQ34CXE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DJREGHLR.js +0 -6
- package/dist/solutions-components/vendor/calcite-components/DMXUBDZW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DNQY4EKR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DPFVN4EN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DRXWIPMI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DRYFM2IO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DUL66KKH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/DVC5KGLT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/E6X3KIZL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EG6UCGFB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EHAHKKFL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EIMDRXSI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EM7TVLTF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EP7IEI22.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EWJY2L2V.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/EYQQPU2W.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FB7CD3CH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FDBZMO4P.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FFPGVFSC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FGYULWTE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FMKUEBDG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FRM3YXTH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FW6R63UX.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FXTXVVOM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FXXGJ3RT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/FYHE5C5Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G33CDSRC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/G6XUWYVF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GCIH5FK5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GE5Y3RWM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GEZNDNDH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GNJWHQYO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GZ5TMSIR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/GZJIMDTR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/H23GHBD2.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/H2SIT2TB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HC7MYCXC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HD5QD64Q.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HDELZP2B.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HGDJL4SA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HHVWJ7MU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HJYTX5BK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HMFDWMJH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/HXESYKZM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I4BAPULM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/I6RIFD3V.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/IDZWSTZZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IFAY5ZXB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IO5HOHW4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ISXEUIFH.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/IXUF77L2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/J27B5CWI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JAKKKROM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JNDUGIK6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JNNP4QF3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JVSUOTAZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JWEMBAET.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JWKRGDRV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/JZQ73NRM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/K7OAUX24.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KKM7CKQA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KMEUFDPK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KNH6FSL4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KPMQXN4M.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/KWU2E4JE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/L4WAR5X4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LKJAWTVJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LLS4XVIW.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LNECFRUM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/LYQ7FJT2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/M2KTEEUG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/M5OIZS7N.js +0 -28
- package/dist/solutions-components/vendor/calcite-components/M64PHLHQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MQ3MSMTP.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MTNJMPLV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MXGPGCYC.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/MYNPH67G.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/N5OBZLJZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NJYFPOKV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NJZE4A4X.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NSHK3NTJ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NYER6YT7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/NYZ4ODDA.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/O4AAP54K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OETUMACB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OFPYZZUF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/OFXV3CF7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PAJGY3XV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PENB3O7H.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PNCVHWAE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/PYGWJ6OV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Q32GNFQO.js +0 -22
- package/dist/solutions-components/vendor/calcite-components/Q6HTE6MQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QAO6BQAD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QBMZKO4M.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QCKKEDB2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/QQEBBK2A.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R4J2EZFU.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R5EHQKMO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/R7GOP347.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RBMLFM2L.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RBQ6BI6C.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/REF7SAQQ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/REWMVFVL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RI3WTZXE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RL7IIXTZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RM7LSSHL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/RREZDRNN.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SHERIRO4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SK7NKNHK.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SODGHLU2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SP6U5EWI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SQKZ5EZF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/SX4MCPF2.js +0 -5
- package/dist/solutions-components/vendor/calcite-components/TIGHTLQD.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TMKEB7G7.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TURDT3VB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TX7QHHK5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TYMOPXYL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/TZECTLA6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U3RO6UCM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/U5FUMAFV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UM5EV3V4.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UOX45Z7K.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/UXTWTW75.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/V5ZZKGAM.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VTA2PRG5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/VY37PIFG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W25AOEEB.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/W3TNJWVO.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WQHOMJR2.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WW65BUEL.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/WWZTCRUR.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/X6UMFXM3.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XCTRH7IZ.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XJTPF3VE.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/XNWWFGXG.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YG6EDHOT.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YHRT6LHF.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YMNIMOT5.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YQDDGBKI.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/YYWX5ACS.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z5J5AV2N.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/Z5POWLIV.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZCF5FXJ6.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZCPJODER.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZIIE4X52.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZQ4RAM3U.js +0 -4
- package/dist/solutions-components/vendor/calcite-components/ZXDWFKG4.js +0 -4
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,o)}return n}function L(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ce(Object(n),!0).forEach(function(o){Xe(e,o,n[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(n,o))})}return e}function Mt(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Mt=function(t){return typeof t}:Mt=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Mt(e)}function Xe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $(){return $=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},$.apply(this,arguments)}function Ye(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,r;for(r=0;r<o.length;r++)i=o[r],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function Be(e,t){if(e==null)return{};var n=Ye(e,t),o,i;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}var Ge="1.15.6";function U(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var q=U(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),It=U(/Edge/i),fe=U(/firefox/i),yt=U(/safari/i)&&!U(/chrome/i)&&!U(/android/i),ie=U(/iP(ad|od|hone)/i),Ee=U(/chrome/i)&&U(/android/i),we={capture:!1,passive:!1};function v(e,t,n){e.addEventListener(t,n,!q&&we)}function m(e,t,n){e.removeEventListener(t,n,!q&&we)}function Yt(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function ye(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function H(e,t,n,o){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Yt(e,t):Yt(e,t))||o&&e===n)return e;if(e===n)break}while(e=ye(e))}return null}var de=/\s+/g;function R(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var o=(" "+e.className+" ").replace(de," ").replace(" "+t+" "," ");e.className=(o+(n?" "+t:"")).replace(de," ")}}function h(e,t,n){var o=e&&e.style;if(o){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in o)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),o[t]=n+(typeof n=="string"?"":"px")}}function ft(e,t){var n="";if(typeof e=="string")n=e;else do{var o=h(e,"transform");o&&o!=="none"&&(n=o+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function De(e,t,n){if(e){var o=e.getElementsByTagName(t),i=0,r=o.length;if(n)for(;i<r;i++)n(o[i],i);return o}return[]}function K(){var e=document.scrollingElement;return e||document.documentElement}function I(e,t,n,o,i){if(!(!e.getBoundingClientRect&&e!==window)){var r,a,l,s,u,d,f;if(e!==window&&e.parentNode&&e!==K()?(r=e.getBoundingClientRect(),a=r.top,l=r.left,s=r.bottom,u=r.right,d=r.height,f=r.width):(a=0,l=0,s=window.innerHeight,u=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!q))do if(i&&i.getBoundingClientRect&&(h(i,"transform")!=="none"||n&&h(i,"position")!=="static")){var b=i.getBoundingClientRect();a-=b.top+parseInt(h(i,"border-top-width")),l-=b.left+parseInt(h(i,"border-left-width")),s=a+r.height,u=l+r.width;break}while(i=i.parentNode);if(o&&e!==window){var y=ft(i||e),E=y&&y.a,w=y&&y.d;y&&(a/=w,l/=E,f/=E,d/=w,s=a+d,u=l+f)}return{top:a,left:l,bottom:s,right:u,width:f,height:d}}}function he(e,t,n){for(var o=tt(e,!0),i=I(e)[t];o;){var r=I(o)[n],a=void 0;if(n==="top"||n==="left"?a=i>=r:a=i<=r,!a)return o;if(o===K())break;o=tt(o,!1)}return!1}function dt(e,t,n,o){for(var i=0,r=0,a=e.children;r<a.length;){if(a[r].style.display!=="none"&&a[r]!==p.ghost&&(o||a[r]!==p.dragged)&&H(a[r],n.draggable,e,!1)){if(i===t)return a[r];i++}r++}return null}function re(e,t){for(var n=e.lastElementChild;n&&(n===p.ghost||h(n,"display")==="none"||t&&!Yt(n,t));)n=n.previousElementSibling;return n||null}function X(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==p.clone&&(!t||Yt(e,t))&&n++;return n}function pe(e){var t=0,n=0,o=K();if(e)do{var i=ft(e),r=i.a,a=i.d;t+=e.scrollLeft*r,n+=e.scrollTop*a}while(e!==o&&(e=e.parentNode));return[t,n]}function He(e,t){for(var n in e)if(e.hasOwnProperty(n)){for(var o in t)if(t.hasOwnProperty(o)&&t[o]===e[n][o])return Number(n)}return-1}function tt(e,t){if(!e||!e.getBoundingClientRect)return K();var n=e,o=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=h(n);if(n.clientWidth<n.scrollWidth&&(i.overflowX=="auto"||i.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(i.overflowY=="auto"||i.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return K();if(o||t)return n;o=!0}}while(n=n.parentNode);return K()}function We(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function jt(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var Dt;function Se(e,t){return function(){if(!Dt){var n=arguments,o=this;n.length===1?e.call(o,n[0]):e.apply(o,n),Dt=setTimeout(function(){Dt=void 0},t)}}}function Ke(){clearTimeout(Dt),Dt=void 0}function _e(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Ce(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Ie(e,t,n){var o={};return Array.from(e.children).forEach(function(i){var r,a,l,s;if(!(!H(i,t.draggable,e,!1)||i.animated||i===n)){var u=I(i);o.left=Math.min((r=o.left)!==null&&r!==void 0?r:1/0,u.left),o.top=Math.min((a=o.top)!==null&&a!==void 0?a:1/0,u.top),o.right=Math.max((l=o.right)!==null&&l!==void 0?l:-1/0,u.right),o.bottom=Math.max((s=o.bottom)!==null&&s!==void 0?s:-1/0,u.bottom)}}),o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}var P="Sortable"+new Date().getTime();function Le(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var o=[].slice.call(this.el.children);o.forEach(function(i){if(!(h(i,"display")==="none"||i===p.ghost)){e.push({target:i,rect:I(i)});var r=L({},e[e.length-1].rect);if(i.thisAnimationDuration){var a=ft(i,!0);a&&(r.top-=a.f,r.left-=a.e)}i.fromRect=r}})}},addAnimationState:function(o){e.push(o)},removeAnimationState:function(o){e.splice(He(e,{target:o}),1)},animateAll:function(o){var i=this;if(!this.options.animation){clearTimeout(t),typeof o=="function"&&o();return}var r=!1,a=0;e.forEach(function(l){var s=0,u=l.target,d=u.fromRect,f=I(u),b=u.prevFromRect,y=u.prevToRect,E=l.rect,w=ft(u,!0);w&&(f.top-=w.f,f.left-=w.e),u.toRect=f,u.thisAnimationDuration&&jt(b,f)&&!jt(d,f)&&(E.top-f.top)/(E.left-f.left)===(d.top-f.top)/(d.left-f.left)&&(s=ze(E,b,y,i.options)),jt(f,d)||(u.prevFromRect=d,u.prevToRect=f,s||(s=i.options.animation),i.animate(u,E,f,s)),s&&(r=!0,a=Math.max(a,s),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},s),u.thisAnimationDuration=s)}),clearTimeout(t),r?t=setTimeout(function(){typeof o=="function"&&o()},a):typeof o=="function"&&o(),e=[]},animate:function(o,i,r,a){if(a){h(o,"transition",""),h(o,"transform","");var l=ft(this.el),s=l&&l.a,u=l&&l.d,d=(i.left-r.left)/(s||1),f=(i.top-r.top)/(u||1);o.animatingX=!!d,o.animatingY=!!f,h(o,"transform","translate3d("+d+"px,"+f+"px,0)"),this.forRepaintDummy=je(o),h(o,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),h(o,"transform","translate3d(0,0,0)"),typeof o.animated=="number"&&clearTimeout(o.animated),o.animated=setTimeout(function(){h(o,"transition",""),h(o,"transform",""),o.animated=!1,o.animatingX=!1,o.animatingY=!1},a)}}}}function je(e){return e.offsetWidth}function ze(e,t,n,o){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*o.animation}var lt=[],zt={initializeByDefault:!0},Ot={mount:function(t){for(var n in zt)zt.hasOwnProperty(n)&&!(n in t)&&(t[n]=zt[n]);lt.forEach(function(o){if(o.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),lt.push(t)},pluginEvent:function(t,n,o){var i=this;this.eventCanceled=!1,o.cancel=function(){i.eventCanceled=!0};var r=t+"Global";lt.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][r]&&n[a.pluginName][r](L({sortable:n},o)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](L({sortable:n},o)))})},initializePlugins:function(t,n,o,i){lt.forEach(function(l){var s=l.pluginName;if(!(!t.options[s]&&!l.initializeByDefault)){var u=new l(t,n,t.options);u.sortable=t,u.options=t.options,t[s]=u,$(o,u.defaults)}});for(var r in t.options)if(t.options.hasOwnProperty(r)){var a=this.modifyOption(t,r,t.options[r]);typeof a<"u"&&(t.options[r]=a)}},getEventProperties:function(t,n){var o={};return lt.forEach(function(i){typeof i.eventProperties=="function"&&$(o,i.eventProperties.call(n[i.pluginName],t))}),o},modifyOption:function(t,n,o){var i;return lt.forEach(function(r){t[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[n]=="function"&&(i=r.optionListeners[n].call(t[r.pluginName],o))}),i}};function Ue(e){var t=e.sortable,n=e.rootEl,o=e.name,i=e.targetEl,r=e.cloneEl,a=e.toEl,l=e.fromEl,s=e.oldIndex,u=e.newIndex,d=e.oldDraggableIndex,f=e.newDraggableIndex,b=e.originalEvent,y=e.putSortable,E=e.extraEventProperties;if(t=t||n&&n[P],!!t){var w,Y=t.options,j="on"+o.charAt(0).toUpperCase()+o.substr(1);window.CustomEvent&&!q&&!It?w=new CustomEvent(o,{bubbles:!0,cancelable:!0}):(w=document.createEvent("Event"),w.initEvent(o,!0,!0)),w.to=a||n,w.from=l||n,w.item=i||n,w.clone=r,w.oldIndex=s,w.newIndex=u,w.oldDraggableIndex=d,w.newDraggableIndex=f,w.originalEvent=b,w.pullMode=y?y.lastPutMode:void 0;var A=L(L({},E),Ot.getEventProperties(o,t));for(var B in A)w[B]=A[B];n&&n.dispatchEvent(w),Y[j]&&Y[j].call(t,w)}}var $e=["evt"],N=function(t,n){var o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=o.evt,r=Be(o,$e);Ot.pluginEvent.bind(p)(t,n,L({dragEl:c,parentEl:_,ghostEl:g,rootEl:D,nextEl:at,lastDownEl:Ft,cloneEl:S,cloneHidden:J,dragStarted:bt,putSortable:O,activeSortable:p.active,originalEvent:i,oldIndex:ct,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q,hideGhostForTarget:xe,unhideGhostForTarget:Ne,cloneNowHidden:function(){J=!0},cloneNowShown:function(){J=!1},dispatchSortableEvent:function(l){x({sortable:n,name:l,originalEvent:i})}},r))};function x(e){Ue(L({putSortable:O,cloneEl:S,targetEl:c,rootEl:D,oldIndex:ct,oldDraggableIndex:St,newIndex:k,newDraggableIndex:Q},e))}var c,_,g,D,at,Ft,S,J,ct,k,St,Q,At,O,ut=!1,Bt=!1,Gt=[],it,G,Ut,$t,ge,me,bt,st,_t,Ct=!1,xt=!1,Rt,T,qt=[],te=!1,Ht=[],Kt=typeof document<"u",Nt=ie,ve=It||q?"cssFloat":"float",qe=Kt&&!Ee&&!ie&&"draggable"in document.createElement("div"),Oe=function(){if(Kt){if(q)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Te=function(t,n){var o=h(t),i=parseInt(o.width)-parseInt(o.paddingLeft)-parseInt(o.paddingRight)-parseInt(o.borderLeftWidth)-parseInt(o.borderRightWidth),r=dt(t,0,n),a=dt(t,1,n),l=r&&h(r),s=a&&h(a),u=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+I(r).width,d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+I(a).width;if(o.display==="flex")return o.flexDirection==="column"||o.flexDirection==="column-reverse"?"vertical":"horizontal";if(o.display==="grid")return o.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&l.float&&l.float!=="none"){var f=l.float==="left"?"left":"right";return a&&(s.clear==="both"||s.clear===f)?"vertical":"horizontal"}return r&&(l.display==="block"||l.display==="flex"||l.display==="table"||l.display==="grid"||u>=i&&o[ve]==="none"||a&&o[ve]==="none"&&u+d>i)?"vertical":"horizontal"},Ve=function(t,n,o){var i=o?t.left:t.top,r=o?t.right:t.bottom,a=o?t.width:t.height,l=o?n.left:n.top,s=o?n.right:n.bottom,u=o?n.width:n.height;return i===l||r===s||i+a/2===l+u/2},Ze=function(t,n){var o;return Gt.some(function(i){var r=i[P].options.emptyInsertThreshold;if(!(!r||re(i))){var a=I(i),l=t>=a.left-r&&t<=a.right+r,s=n>=a.top-r&&n<=a.bottom+r;if(l&&s)return o=i}}),o},Ae=function(t){function n(r,a){return function(l,s,u,d){var f=l.options.group.name&&s.options.group.name&&l.options.group.name===s.options.group.name;if(r==null&&(a||f))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return n(r(l,s,u,d),a)(l,s,u,d);var b=(a?l:s).options.group.name;return r===!0||typeof r=="string"&&r===b||r.join&&r.indexOf(b)>-1}}var o={},i=t.group;(!i||Mt(i)!="object")&&(i={name:i}),o.name=i.name,o.checkPull=n(i.pull,!0),o.checkPut=n(i.put),o.revertClone=i.revertClone,t.group=o},xe=function(){!Oe&&g&&h(g,"display","none")},Ne=function(){!Oe&&g&&h(g,"display","")};Kt&&!Ee&&document.addEventListener("click",function(e){if(Bt)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Bt=!1,!1},!0);var rt=function(t){if(c){t=t.touches?t.touches[0]:t;var n=Ze(t.clientX,t.clientY);if(n){var o={};for(var i in t)t.hasOwnProperty(i)&&(o[i]=t[i]);o.target=o.rootEl=n,o.preventDefault=void 0,o.stopPropagation=void 0,n[P]._onDragOver(o)}}},Qe=function(t){c&&c.parentNode[P]._isOutsideThisEl(t.target)};function p(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=$({},t),e[P]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Te(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,l){a.setData("Text",l.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:p.supportPointer!==!1&&"PointerEvent"in window&&(!yt||ie),emptyInsertThreshold:5};Ot.initializePlugins(this,e,n);for(var o in n)!(o in t)&&(t[o]=n[o]);Ae(t);for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this));this.nativeDraggable=t.forceFallback?!1:qe,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Gt.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),$(this,Le())}p.prototype={constructor:p,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(st=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,c):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,o=this.el,i=this.options,r=i.preventOnFilter,a=t.type,l=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,s=(l||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||s,d=i.filter;if(ln(o),!c&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||i.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&yt&&s&&s.tagName.toUpperCase()==="SELECT")&&(s=H(s,i.draggable,o,!1),!(s&&s.animated)&&Ft!==s)){if(ct=X(s),St=X(s,i.draggable),typeof d=="function"){if(d.call(this,t,s,this)){x({sortable:n,rootEl:u,name:"filter",targetEl:s,toEl:o,fromEl:o}),N("filter",n,{evt:t}),r&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(f){if(f=H(u,f.trim(),o,!1),f)return x({sortable:n,rootEl:f,name:"filter",targetEl:s,fromEl:o,toEl:o}),N("filter",n,{evt:t}),!0}),d)){r&&t.preventDefault();return}i.handle&&!H(u,i.handle,o,!1)||this._prepareDragStart(t,l,s)}}},_prepareDragStart:function(t,n,o){var i=this,r=i.el,a=i.options,l=r.ownerDocument,s;if(o&&!c&&o.parentNode===r){var u=I(o);if(D=r,c=o,_=c.parentNode,at=c.nextSibling,Ft=o,At=a.group,p.dragged=c,it={target:c,clientX:(n||t).clientX,clientY:(n||t).clientY},ge=it.clientX-u.left,me=it.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,c.style["will-change"]="all",s=function(){if(N("delayEnded",i,{evt:t}),p.eventCanceled){i._onDrop();return}i._disableDelayedDragEvents(),!fe&&i.nativeDraggable&&(c.draggable=!0),i._triggerDragStart(t,n),x({sortable:i,name:"choose",originalEvent:t}),R(c,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){De(c,d.trim(),Vt)}),v(l,"dragover",rt),v(l,"mousemove",rt),v(l,"touchmove",rt),a.supportPointer?(v(l,"pointerup",i._onDrop),!this.nativeDraggable&&v(l,"pointercancel",i._onDrop)):(v(l,"mouseup",i._onDrop),v(l,"touchend",i._onDrop),v(l,"touchcancel",i._onDrop)),fe&&this.nativeDraggable&&(this.options.touchStartThreshold=4,c.draggable=!0),N("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(It||q))){if(p.eventCanceled){this._onDrop();return}a.supportPointer?(v(l,"pointerup",i._disableDelayedDrag),v(l,"pointercancel",i._disableDelayedDrag)):(v(l,"mouseup",i._disableDelayedDrag),v(l,"touchend",i._disableDelayedDrag),v(l,"touchcancel",i._disableDelayedDrag)),v(l,"mousemove",i._delayedDragTouchMoveHandler),v(l,"touchmove",i._delayedDragTouchMoveHandler),a.supportPointer&&v(l,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(s,a.delay)}else s()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){c&&Vt(c),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._disableDelayedDrag),m(t,"touchend",this._disableDelayedDrag),m(t,"touchcancel",this._disableDelayedDrag),m(t,"pointerup",this._disableDelayedDrag),m(t,"pointercancel",this._disableDelayedDrag),m(t,"mousemove",this._delayedDragTouchMoveHandler),m(t,"touchmove",this._delayedDragTouchMoveHandler),m(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):n?v(document,"touchmove",this._onTouchMove):v(document,"mousemove",this._onTouchMove):(v(c,"dragend",this),v(D,"dragstart",this._onDragStart));try{document.selection?kt(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ut=!1,D&&c){N("dragStarted",this,{evt:n}),this.nativeDraggable&&v(document,"dragover",Qe);var o=this.options;!t&&R(c,o.dragClass,!1),R(c,o.ghostClass,!0),p.active=this,t&&this._appendGhost(),x({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(G){this._lastX=G.clientX,this._lastY=G.clientY,xe();for(var t=document.elementFromPoint(G.clientX,G.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(G.clientX,G.clientY),t!==n);)n=t;if(c.parentNode[P]._isOutsideThisEl(t),n)do{if(n[P]){var o=void 0;if(o=n[P]._onDragOver({clientX:G.clientX,clientY:G.clientY,target:t,rootEl:n}),o&&!this.options.dragoverBubble)break}t=n}while(n=ye(n));Ne()}},_onTouchMove:function(t){if(it){var n=this.options,o=n.fallbackTolerance,i=n.fallbackOffset,r=t.touches?t.touches[0]:t,a=g&&ft(g,!0),l=g&&a&&a.a,s=g&&a&&a.d,u=Nt&&T&&pe(T),d=(r.clientX-it.clientX+i.x)/(l||1)+(u?u[0]-qt[0]:0)/(l||1),f=(r.clientY-it.clientY+i.y)/(s||1)+(u?u[1]-qt[1]:0)/(s||1);if(!p.active&&!ut){if(o&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<o)return;this._onDragStart(t,!0)}if(g){a?(a.e+=d-(Ut||0),a.f+=f-($t||0)):a={a:1,b:0,c:0,d:1,e:d,f};var b="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");h(g,"webkitTransform",b),h(g,"mozTransform",b),h(g,"msTransform",b),h(g,"transform",b),Ut=d,$t=f,G=r}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!g){var t=this.options.fallbackOnBody?document.body:D,n=I(c,!0,Nt,!0,t),o=this.options;if(Nt){for(T=t;h(T,"position")==="static"&&h(T,"transform")==="none"&&T!==document;)T=T.parentNode;T!==document.body&&T!==document.documentElement?(T===document&&(T=K()),n.top+=T.scrollTop,n.left+=T.scrollLeft):T=K(),qt=pe(T)}g=c.cloneNode(!0),R(g,o.ghostClass,!1),R(g,o.fallbackClass,!0),R(g,o.dragClass,!0),h(g,"transition",""),h(g,"transform",""),h(g,"box-sizing","border-box"),h(g,"margin",0),h(g,"top",n.top),h(g,"left",n.left),h(g,"width",n.width),h(g,"height",n.height),h(g,"opacity","0.8"),h(g,"position",Nt?"absolute":"fixed"),h(g,"zIndex","100000"),h(g,"pointerEvents","none"),p.ghost=g,t.appendChild(g),h(g,"transform-origin",ge/parseInt(g.style.width)*100+"% "+me/parseInt(g.style.height)*100+"%")}},_onDragStart:function(t,n){var o=this,i=t.dataTransfer,r=o.options;if(N("dragStart",this,{evt:t}),p.eventCanceled){this._onDrop();return}N("setupClone",this),p.eventCanceled||(S=Ce(c),S.removeAttribute("id"),S.draggable=!1,S.style["will-change"]="",this._hideClone(),R(S,this.options.chosenClass,!1),p.clone=S),o.cloneId=kt(function(){N("clone",o),!p.eventCanceled&&(o.options.removeCloneOnHide||D.insertBefore(S,c),o._hideClone(),x({sortable:o,name:"clone"}))}),!n&&R(c,r.dragClass,!0),n?(Bt=!0,o._loopId=setInterval(o._emulateDragOver,50)):(m(document,"mouseup",o._onDrop),m(document,"touchend",o._onDrop),m(document,"touchcancel",o._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(o,i,c)),v(document,"drop",o),h(c,"transform","translateZ(0)")),ut=!0,o._dragStartId=kt(o._dragStarted.bind(o,n,t)),v(document,"selectstart",o),bt=!0,window.getSelection().removeAllRanges(),yt&&h(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,o=t.target,i,r,a,l=this.options,s=l.group,u=p.active,d=At===s,f=l.sort,b=O||u,y,E=this,w=!1;if(te)return;function Y(vt,Re){N(vt,E,L({evt:t,isOwner:d,axis:y?"vertical":"horizontal",revert:a,dragRect:i,targetRect:r,canSort:f,fromSortable:b,target:o,completed:A,onMove:function(ue,ke){return Pt(D,n,c,i,ue,I(ue),t,ke)},changed:B},Re))}function j(){Y("dragOverAnimationCapture"),E.captureAnimationState(),E!==b&&b.captureAnimationState()}function A(vt){return Y("dragOverCompleted",{insertion:vt}),vt&&(d?u._hideClone():u._showClone(E),E!==b&&(R(c,O?O.options.ghostClass:u.options.ghostClass,!1),R(c,l.ghostClass,!0)),O!==E&&E!==p.active?O=E:E===p.active&&O&&(O=null),b===E&&(E._ignoreWhileAnimating=o),E.animateAll(function(){Y("dragOverAnimationComplete"),E._ignoreWhileAnimating=null}),E!==b&&(b.animateAll(),b._ignoreWhileAnimating=null)),(o===c&&!c.animated||o===n&&!o.animated)&&(st=null),!l.dragoverBubble&&!t.rootEl&&o!==document&&(c.parentNode[P]._isOutsideThisEl(t.target),!vt&&rt(t)),!l.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),w=!0}function B(){k=X(c),Q=X(c,l.draggable),x({sortable:E,name:"change",toEl:n,newIndex:k,newDraggableIndex:Q,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),o=H(o,l.draggable,n,!0),Y("dragOver"),p.eventCanceled)return w;if(c.contains(t.target)||o.animated&&o.animatingX&&o.animatingY||E._ignoreWhileAnimating===o)return A(!1);if(Bt=!1,u&&!l.disabled&&(d?f||(a=_!==D):O===this||(this.lastPutMode=At.checkPull(this,u,c,t))&&s.checkPut(this,u,c,t))){if(y=this._getDirection(t,o)==="vertical",i=I(c),Y("dragOverValid"),p.eventCanceled)return w;if(a)return _=D,j(),this._hideClone(),Y("revert"),p.eventCanceled||(at?D.insertBefore(c,at):D.appendChild(c)),A(!0);var M=re(n,l.draggable);if(!M||nn(t,y,this)&&!M.animated){if(M===c)return A(!1);if(M&&n===t.target&&(o=M),o&&(r=I(o)),Pt(D,n,c,i,o,r,t,!!o)!==!1)return j(),M&&M.nextSibling?n.insertBefore(c,M.nextSibling):n.appendChild(c),_=n,B(),A(!0)}else if(M&&en(t,y,this)){var et=dt(n,0,l,!0);if(et===c)return A(!1);if(o=et,r=I(o),Pt(D,n,c,i,o,r,t,!1)!==!1)return j(),n.insertBefore(c,et),_=n,B(),A(!0)}else if(o.parentNode===n){r=I(o);var W=0,nt,ht=c.parentNode!==n,F=!Ve(c.animated&&c.toRect||i,o.animated&&o.toRect||r,y),pt=y?"top":"left",V=he(o,"top","top")||he(c,"top","top"),gt=V?V.scrollTop:void 0;st!==o&&(nt=r[pt],Ct=!1,xt=!F&&l.invertSwap||ht),W=on(t,o,r,y,F?1:l.swapThreshold,l.invertedSwapThreshold==null?l.swapThreshold:l.invertedSwapThreshold,xt,st===o);var z;if(W!==0){var ot=X(c);do ot-=W,z=_.children[ot];while(z&&(h(z,"display")==="none"||z===g))}if(W===0||z===o)return A(!1);st=o,_t=W;var mt=o.nextElementSibling,Z=!1;Z=W===1;var Tt=Pt(D,n,c,i,o,r,t,Z);if(Tt!==!1)return(Tt===1||Tt===-1)&&(Z=Tt===1),te=!0,setTimeout(tn,30),j(),Z&&!mt?n.appendChild(c):o.parentNode.insertBefore(c,Z?mt:o),V&&_e(V,0,gt-V.scrollTop),_=c.parentNode,nt!==void 0&&!xt&&(Rt=Math.abs(nt-I(o)[pt])),B(),A(!0)}if(n.contains(c))return A(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){m(document,"mousemove",this._onTouchMove),m(document,"touchmove",this._onTouchMove),m(document,"pointermove",this._onTouchMove),m(document,"dragover",rt),m(document,"mousemove",rt),m(document,"touchmove",rt)},_offUpEvents:function(){var t=this.el.ownerDocument;m(t,"mouseup",this._onDrop),m(t,"touchend",this._onDrop),m(t,"pointerup",this._onDrop),m(t,"pointercancel",this._onDrop),m(t,"touchcancel",this._onDrop),m(document,"selectstart",this)},_onDrop:function(t){var n=this.el,o=this.options;if(k=X(c),Q=X(c,o.draggable),N("drop",this,{evt:t}),_=c&&c.parentNode,k=X(c),Q=X(c,o.draggable),p.eventCanceled){this._nulling();return}ut=!1,xt=!1,Ct=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ee(this.cloneId),ee(this._dragStartId),this.nativeDraggable&&(m(document,"drop",this),m(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),yt&&h(document.body,"user-select",""),h(c,"transform",""),t&&(bt&&(t.cancelable&&t.preventDefault(),!o.dropBubble&&t.stopPropagation()),g&&g.parentNode&&g.parentNode.removeChild(g),(D===_||O&&O.lastPutMode!=="clone")&&S&&S.parentNode&&S.parentNode.removeChild(S),c&&(this.nativeDraggable&&m(c,"dragend",this),Vt(c),c.style["will-change"]="",bt&&!ut&&R(c,O?O.options.ghostClass:this.options.ghostClass,!1),R(c,this.options.chosenClass,!1),x({sortable:this,name:"unchoose",toEl:_,newIndex:null,newDraggableIndex:null,originalEvent:t}),D!==_?(k>=0&&(x({rootEl:_,name:"add",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"remove",toEl:_,originalEvent:t}),x({rootEl:_,name:"sort",toEl:_,fromEl:D,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),O&&O.save()):k!==ct&&k>=0&&(x({sortable:this,name:"update",toEl:_,originalEvent:t}),x({sortable:this,name:"sort",toEl:_,originalEvent:t})),p.active&&((k==null||k===-1)&&(k=ct,Q=St),x({sortable:this,name:"end",toEl:_,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){N("nulling",this),D=c=_=g=at=S=Ft=J=it=G=bt=k=Q=ct=St=st=_t=O=At=p.dragged=p.ghost=p.clone=p.active=null,Ht.forEach(function(t){t.checked=!0}),Ht.length=Ut=$t=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":c&&(this._onDragOver(t),Je(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,o=this.el.children,i=0,r=o.length,a=this.options;i<r;i++)n=o[i],H(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||an(n));return t},sort:function(t,n){var o={},i=this.el;this.toArray().forEach(function(r,a){var l=i.children[a];H(l,this.options.draggable,i,!1)&&(o[r]=l)},this),n&&this.captureAnimationState(),t.forEach(function(r){o[r]&&(i.removeChild(o[r]),i.appendChild(o[r]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return H(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var o=this.options;if(n===void 0)return o[t];var i=Ot.modifyOption(this,t,n);typeof i<"u"?o[t]=i:o[t]=n,t==="group"&&Ae(o)},destroy:function(){N("destroy",this);var t=this.el;t[P]=null,m(t,"mousedown",this._onTapStart),m(t,"touchstart",this._onTapStart),m(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(m(t,"dragover",this),m(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Gt.splice(Gt.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!J){if(N("hideClone",this),p.eventCanceled)return;h(S,"display","none"),this.options.removeCloneOnHide&&S.parentNode&&S.parentNode.removeChild(S),J=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(J){if(N("showClone",this),p.eventCanceled)return;c.parentNode==D&&!this.options.group.revertClone?D.insertBefore(S,c):at?D.insertBefore(S,at):D.appendChild(S),this.options.group.revertClone&&this.animate(c,S),h(S,"display",""),J=!1}}};function Je(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Pt(e,t,n,o,i,r,a,l){var s,u=e[P],d=u.options.onMove,f;return window.CustomEvent&&!q&&!It?s=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(s=document.createEvent("Event"),s.initEvent("move",!0,!0)),s.to=t,s.from=e,s.dragged=n,s.draggedRect=o,s.related=i||t,s.relatedRect=r||I(t),s.willInsertAfter=l,s.originalEvent=a,e.dispatchEvent(s),d&&(f=d.call(u,s,a)),f}function Vt(e){e.draggable=!1}function tn(){te=!1}function en(e,t,n){var o=I(dt(n.el,0,n.options,!0)),i=Ie(n.el,n.options,g),r=10;return t?e.clientX<i.left-r||e.clientY<o.top&&e.clientX<o.right:e.clientY<i.top-r||e.clientY<o.bottom&&e.clientX<o.left}function nn(e,t,n){var o=I(re(n.el,n.options.draggable)),i=Ie(n.el,n.options,g),r=10;return t?e.clientX>i.right+r||e.clientY>o.bottom&&e.clientX>o.left:e.clientY>i.bottom+r||e.clientX>o.right&&e.clientY>o.top}function on(e,t,n,o,i,r,a,l){var s=o?e.clientY:e.clientX,u=o?n.height:n.width,d=o?n.top:n.left,f=o?n.bottom:n.right,b=!1;if(!a){if(l&&Rt<u*i){if(!Ct&&(_t===1?s>d+u*r/2:s<f-u*r/2)&&(Ct=!0),Ct)b=!0;else if(_t===1?s<d+Rt:s>f-Rt)return-_t}else if(s>d+u*(1-i)/2&&s<f-u*(1-i)/2)return rn(t)}return b=b||a,b&&(s<d+u*r/2||s>f-u*r/2)?s>d+u/2?1:-1:0}function rn(e){return X(c)<X(e)?1:-1}function an(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,o=0;n--;)o+=t.charCodeAt(n);return o.toString(36)}function ln(e){Ht.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var o=t[n];o.checked&&Ht.push(o)}}function kt(e){return setTimeout(e,0)}function ee(e){return clearTimeout(e)}Kt&&v(document,"touchmove",function(e){(p.active||ut)&&e.cancelable&&e.preventDefault()});p.utils={on:v,off:m,css:h,find:De,is:function(t,n){return!!H(t,n,t,!1)},extend:We,throttle:Se,closest:H,toggleClass:R,clone:Ce,index:X,nextTick:kt,cancelNextTick:ee,detectDirection:Te,getChild:dt,expando:P};p.get=function(e){return e[P]};p.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(o){if(!o.prototype||!o.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(o));o.utils&&(p.utils=L(L({},p.utils),o.utils)),Ot.mount(o)})};p.create=function(e,t){return new p(e,t)};p.version=Ge;var C=[],Et,ne,oe=!1,Zt,Qt,Wt,wt;function sn(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var o=n.originalEvent;this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):o.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var o=n.originalEvent;!this.options.dragOverBubble&&!o.rootEl&&this._handleAutoScroll(o)},drop:function(){this.sortable.nativeDraggable?m(document,"dragover",this._handleAutoScroll):(m(document,"pointermove",this._handleFallbackAutoScroll),m(document,"touchmove",this._handleFallbackAutoScroll),m(document,"mousemove",this._handleFallbackAutoScroll)),be(),Xt(),Ke()},nulling:function(){Wt=ne=Et=oe=wt=Zt=Qt=null,C.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,o){var i=this,r=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,l=document.elementFromPoint(r,a);if(Wt=n,o||this.options.forceAutoScrollFallback||It||q||yt){Jt(n,this.options,l,o);var s=tt(l,!0);oe&&(!wt||r!==Zt||a!==Qt)&&(wt&&be(),wt=setInterval(function(){var u=tt(document.elementFromPoint(r,a),!0);u!==s&&(s=u,Xt()),Jt(n,i.options,u,o)},10),Zt=r,Qt=a)}else{if(!this.options.bubbleScroll||tt(l,!0)===K()){Xt();return}Jt(n,this.options,tt(l,!1),!1)}}},$(e,{pluginName:"scroll",initializeByDefault:!0})}function Xt(){C.forEach(function(e){clearInterval(e.pid)}),C=[]}function be(){clearInterval(wt)}var Jt=Se(function(e,t,n,o){if(t.scroll){var i=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,l=t.scrollSpeed,s=K(),u=!1,d;ne!==n&&(ne=n,Xt(),Et=t.scroll,d=t.scrollFn,Et===!0&&(Et=tt(n,!0)));var f=0,b=Et;do{var y=b,E=I(y),w=E.top,Y=E.bottom,j=E.left,A=E.right,B=E.width,M=E.height,et=void 0,W=void 0,nt=y.scrollWidth,ht=y.scrollHeight,F=h(y),pt=y.scrollLeft,V=y.scrollTop;y===s?(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"||F.overflowX==="visible"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"||F.overflowY==="visible")):(et=B<nt&&(F.overflowX==="auto"||F.overflowX==="scroll"),W=M<ht&&(F.overflowY==="auto"||F.overflowY==="scroll"));var gt=et&&(Math.abs(A-i)<=a&&pt+B<nt)-(Math.abs(j-i)<=a&&!!pt),z=W&&(Math.abs(Y-r)<=a&&V+M<ht)-(Math.abs(w-r)<=a&&!!V);if(!C[f])for(var ot=0;ot<=f;ot++)C[ot]||(C[ot]={});(C[f].vx!=gt||C[f].vy!=z||C[f].el!==y)&&(C[f].el=y,C[f].vx=gt,C[f].vy=z,clearInterval(C[f].pid),(gt!=0||z!=0)&&(u=!0,C[f].pid=setInterval(function(){o&&this.layer===0&&p.active._onTouchMove(Wt);var mt=C[this.layer].vy?C[this.layer].vy*l:0,Z=C[this.layer].vx?C[this.layer].vx*l:0;typeof d=="function"&&d.call(p.dragged.parentNode[P],Z,mt,e,Wt,C[this.layer].el)!=="continue"||_e(C[this.layer].el,Z,mt)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&b!==s&&(b=tt(b,!1)));oe=u}},30),Pe=function(t){var n=t.originalEvent,o=t.putSortable,i=t.dragEl,r=t.activeSortable,a=t.dispatchSortableEvent,l=t.hideGhostForTarget,s=t.unhideGhostForTarget;if(n){var u=o||r;l();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(d.clientX,d.clientY);s(),u&&!u.el.contains(f)&&(a("spill"),this.onSpill({dragEl:i,putSortable:o}))}};function ae(){}ae.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,o=t.putSortable;this.sortable.captureAnimationState(),o&&o.captureAnimationState();var i=dt(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(n,i):this.sortable.el.appendChild(n),this.sortable.animateAll(),o&&o.animateAll()},drop:Pe};$(ae,{pluginName:"revertOnSpill"});function le(){}le.prototype={onSpill:function(t){var n=t.dragEl,o=t.putSortable,i=o||this.sortable;i.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),i.animateAll()},drop:Pe};$(le,{pluginName:"removeOnSpill"});p.mount(new sn);p.mount(le,ae);var Me=p;var Lt=new Set,un={ghostClass:"calcite-sortable--ghost",chosenClass:"calcite-sortable--chosen",dragClass:"calcite-sortable--drag",fallbackClass:"calcite-sortable--fallback"};function mn(e){if(Fe(e))return;cn(e),Lt.add(e);let t="id",{group:n,handleSelector:o,dragSelector:i}=e;e.sortable=Me.create(e.el,{dataIdAttr:t,...un,...!!i&&{draggable:i},...!!n&&{group:{name:n,...!!e.canPull&&{pull:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPull({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})},...!!e.canPut&&{put:(r,a,l,{newDraggableIndex:s,oldDraggableIndex:u})=>e.canPut({toEl:r.el,fromEl:a.el,dragEl:l,newIndex:s,oldIndex:u})}}},onMove:({from:r,dragged:a,to:l,related:s})=>{e.onDragMove&&e.onDragMove({fromEl:r,dragEl:a,toEl:l,relatedEl:s})},handle:o,filter:`${o}[disabled]`,onStart:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!0,fn(),e.onDragStart({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onEnd:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{se.active=!1,dn(),e.onDragEnd({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})},onSort:({from:r,item:a,to:l,newDraggableIndex:s,oldDraggableIndex:u})=>{e.onDragSort({fromEl:r,dragEl:a,toEl:l,newIndex:s,oldIndex:u})}})}function cn(e){Fe(e)||(Lt.delete(e),e.sortable?.destroy(),e.sortable=null)}var se={active:!1};function Fe(e){return e.dragEnabled&&se.active}function fn(){Array.from(Lt).forEach(e=>e.onGlobalDragStart())}function dn(){Array.from(Lt).forEach(e=>e.onGlobalDragEnd())}export{mn as a,cn as b};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{r as g,s as b}from"./5VK4UUOT.js";import"./YQW2HZIZ.js";import{I as m,d as s,e as t,u as d,v as h,w as c}from"./TQ427GJX.js";var p={input:"input"},o={label:"label",labelScale:i=>`label--scale-${i}`,labelHorizontal:"label--horizontal",labelOutline:"label--outline",labelOutlineFill:"label--outline-fill",icon:"icon",iconSolo:"icon--solo"},v=s`:host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);outline-color:transparent;transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-animation-timing) ease-in-out}.label{pointer-events:none;margin:.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-segmented-control-color, var(--calcite-color-text-3));background-color:var(--calcite-segmented-control-background-color);box-shadow:var(--calcite-segmented-control-shadow);border-color:var(--calcite-segmented-control-border-color);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-internal-animation-timing-fast) ease-in-out,color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host(:focus){outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))));outline-offset:-1px}.label--scale-s{padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:.125rem}.label--scale-m{padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:.375rem}.label--scale-l{padding-inline:1rem;padding-block:.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-foreground-2));color:var(--calcite-segmented-control-color, var(--calcite-color-text-1))}:host(:active) .label{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-foreground-3))}:host([checked]) .label{cursor:default;background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-brand));border-color:var(--calcite-segmented-control-border-color, var(--calcite-color-brand));color:var(--calcite-segmented-control-color, var(--calcite-color-text-inverse))}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{background-color:var(--calcite-segmented-control-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-segmented-control-border-color, var(--calcite-color-brand));box-shadow:var(--calcite-segmented-control-shadow, inset 0 0 0 1px var(--calcite-color-brand));color:var(--calcite-segmented-control-color, var(--calcite-color-brand))}:host([checked]) .label--outline{background-color:var(--calcite-segmented-control-background-color, transparent)}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) .label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) .label:not([class~=label--outline]) .icon{color:highlightText}}.icon{position:relative;margin:0;display:inline-flex;line-height:inherit;margin-inline-start:var(--calcite-internal-segmented-control-icon-margin-start);margin-inline-end:var(--calcite-internal-segmented-control-icon-margin-end);--calcite-icon-color: var(--calcite-segmented-control-icon-color)}:host([icon-start]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-end: .5rem}:host([icon-end]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-start: .5rem}:host([icon-start]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-end: .75rem}:host([icon-end]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-start: .75rem}:host([icon-start]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-end: 1rem}:host([icon-end]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-start: 1rem}.label .icon--solo{--calcite-internal-segmented-control-icon-margin-start: 0;--calcite-internal-segmented-control-icon-margin-end: 0}:host([hidden]){display:none}[hidden]{display:none}`,r=class extends h{constructor(){super(...arguments),this.hasSlottedContent=!1,this.appearance="solid",this.checked=!1,this.iconFlipRtl=!1,this.layout="horizontal",this.scale="m",this.calciteInternalSegmentedControlItemChange=d({cancelable:!1})}static{this.properties={hasSlottedContent:16,appearance:1,checked:7,iconEnd:3,iconFlipRtl:7,iconStart:3,layout:1,scale:1,value:1}}static{this.styles=v}willUpdate(e){e.has("checked")&&(this.hasUpdated||this.checked!==!1)&&this.calciteInternalSegmentedControlItemChange.emit()}handleSlotChange(e){this.hasSlottedContent=b(e)}renderIcon(e,l=!1){return e?t`<calcite-icon class=${c({[o.icon]:!0,[o.iconSolo]:l})} .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`:null}render(){let{appearance:e,checked:l,layout:n,scale:a,value:u}=this;return this.el.ariaChecked=g(l),this.el.ariaLabel=u,this.el.role="radio",t`<label class=${c({[o.label]:!0,[o.labelScale(a)]:!0,[o.labelHorizontal]:n==="horizontal",[o.labelOutline]:e==="outline",[o.labelOutlineFill]:e==="outline-fill"})}>${this.renderContent()}</label>`}renderContent(){let{hasSlottedContent:e,iconEnd:l,iconStart:n}=this,a=n||l;return!e&&a?[this.renderIcon(a,!0),t`<slot @slotchange=${this.handleSlotChange}></slot>`]:[this.renderIcon(n),t`<slot @slotchange=${this.handleSlotChange}></slot>`,t`<slot name=${p.input}></slot>`,this.renderIcon(l)]}};m("calcite-segmented-control-item",r);export{r as SegmentedControlItem};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{a as z}from"./4IAN6EPQ.js";import{a as m,c as w,d as P,e as S,f as $,g as r,h as H}from"./SHIRLQTM.js";import"./OJGLTFDQ.js";import{a as C}from"./VY7WVWHH.js";import{a as O,b as x}from"./6HR6FZG5.js";import"./Y2RMF5RD.js";import{a as k}from"./DS66T4UB.js";import{a as h}from"./7IVGC34Z.js";import{b as l}from"./W7LKQZLC.js";import{l as p,n as y,z as n}from"./5VK4UUOT.js";import{b as I}from"./3QYPPYKC.js";import{a as E}from"./YQW2HZIZ.js";import{I as D,d as g,e as b,u as o,v,w as d}from"./TQ427GJX.js";var A={dropdownTrigger:"trigger"},F={wrapper:"calcite-dropdown-wrapper"},L=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}.calcite-dropdown-wrapper{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown);inline-size:max-content;display:none;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}.calcite-dropdown-wrapper .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);transition-property:inset,left,opacity;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.calcite-dropdown-wrapper[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.calcite-dropdown-wrapper[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.calcite-dropdown-wrapper[data-placement^=left] .calcite-floating-ui-anim{left:5px}.calcite-dropdown-wrapper[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.calcite-dropdown-wrapper[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}.calcite-dropdown-content{max-height:45vh;width:auto;overflow-y:auto;overflow-x:hidden;background-color:var(--calcite-color-foreground-1);inline-size:var(--calcite-dropdown-width)}.calcite-trigger-container{position:relative;display:flex;height:100%;flex:1 1 auto;word-wrap:break-word;word-break:break-word}.width-s{--calcite-dropdown-width: 12rem}.width-m{--calcite-dropdown-width: 14rem}.width-l{--calcite-dropdown-width: 16rem}@media (forced-colors: active){:host([open]) .calcite-dropdown-wrapper{border:1px solid canvasText}}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,u=class extends v{constructor(){super(),this.focusLastDropdownItem=!1,this.groups=[],this.guid=`calcite-dropdown-${E()}`,this.items=[],this.mutationObserver=h("mutation",()=>this.updateItems()),this.onOpenEnd=()=>{this.focusOnFirstActiveOrDefaultItem(),this.el.removeEventListener("calciteDropdownOpen",this.onOpenEnd)},this.transitionProp="opacity",this.resizeObserver=h("resize",e=>this.resizeObserverCallback(e)),this.closeOnSelectDisabled=!1,this.disabled=!1,this.maxItems=0,this.open=!1,this.overlayPositioning="absolute",this.placement=m,this.scale="m",this.selectedItems=[],this.type="click",this.calciteDropdownBeforeClose=o({cancelable:!1}),this.calciteDropdownBeforeOpen=o({cancelable:!1}),this.calciteDropdownClose=o({cancelable:!1}),this.calciteDropdownOpen=o({cancelable:!1}),this.calciteDropdownSelect=o({cancelable:!1}),this.listenOn(window,"click",this.closeCalciteDropdownOnClick),this.listen("calciteInternalDropdownCloseRequest",this.closeCalciteDropdownOnEvent),this.listenOn(window,"calciteDropdownOpen",this.closeCalciteDropdownOnOpenEvent),this.listen("pointerenter",this.pointerEnterHandler),this.listen("pointerleave",this.pointerLeaveHandler),this.listen("calciteInternalDropdownItemKeyEvent",this.calciteInternalDropdownItemKeyEvent),this.listen("calciteInternalDropdownItemSelect",this.handleItemSelect)}static{this.properties={closeOnSelectDisabled:7,disabled:7,flipPlacements:0,maxItems:11,open:7,overlayPositioning:3,placement:3,scale:3,selectedItems:0,type:3,widthScale:3,width:3}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=L}async reposition(e=!1){let{floatingEl:t,referenceEl:i,placement:s,overlayPositioning:a,filteredFlipPlacements:c}=this;return S(this,{floatingEl:t,referenceEl:i,overlayPositioning:a,placement:s,flipPlacements:c,type:"menu"},e)}async setFocus(){await I(this),y(this.referenceEl)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.setFilteredPlacements(),this.updateItems(),r(this)}load(){}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handleDisabledChange(this.disabled),e.has("flipPlacements")&&this.flipPlacementsHandler(),e.has("maxItems")&&(this.hasUpdated||this.maxItems!==0)&&this.setMaxScrollerHeight(),(e.has("overlayPositioning")&&(this.hasUpdated||this.overlayPositioning!=="absolute")||e.has("placement")&&(this.hasUpdated||this.placement!==m))&&this.reposition(!0),e.has("scale")&&(this.hasUpdated||this.scale!=="m")&&this.handlePropsChange()}updated(){O(this)}loaded(){this.updateSelectedItems(),r(this)}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect(),H(this)}openHandler(){C(this),!this.disabled&&this.reposition(!0)}handleDisabledChange(e){e||(this.open=!1)}flipPlacementsHandler(){this.setFilteredPlacements(),this.reposition(!0)}handlePropsChange(){this.updateItems(),this.updateGroupScale()}closeCalciteDropdownOnClick(e){this.disabled||!this.open||e.composedPath().includes(this.el)||this.closeCalciteDropdown(!1)}closeCalciteDropdownOnEvent(e){this.closeCalciteDropdown(),e.stopPropagation()}closeCalciteDropdownOnOpenEvent(e){e.composedPath().includes(this.el)||(this.open=!1)}pointerEnterHandler(){this.disabled||this.type!=="hover"||this.toggleDropdown()}pointerLeaveHandler(){this.disabled||this.type!=="hover"||this.closeCalciteDropdown()}getTraversableItems(){return this.items.filter(e=>!e.disabled&&!e.hidden)}calciteInternalDropdownItemKeyEvent(e){let{keyboardEvent:t}=e.detail,i=t.target,s=this.getTraversableItems();switch(t.key){case"Tab":this.open=!1,this.updateTabIndexOfItems(i);break;case"ArrowDown":n(s,i,"next");break;case"ArrowUp":n(s,i,"previous");break;case"Home":n(s,i,"first");break;case"End":n(s,i,"last");break}e.stopPropagation()}handleItemSelect(e){this.updateSelectedItems(),e.stopPropagation(),this.calciteDropdownSelect.emit(),(!this.closeOnSelectDisabled||e.detail.requestedDropdownGroup.selectionMode==="none")&&this.closeCalciteDropdown(),e.stopPropagation()}setFilteredPlacements(){let{el:e,flipPlacements:t}=this;this.filteredFlipPlacements=t?P(t,e):null}updateTriggers(e){this.triggers=e.target.assignedElements({flatten:!0}),this.reposition(!0)}updateItems(){this.items=this.groups.map(e=>Array.from(e?.querySelectorAll("calcite-dropdown-item"))).reduce((e,t)=>[...e,...t],[]),this.updateSelectedItems(),this.reposition(!0),this.items.forEach(e=>e.scale=this.scale)}updateGroups(e){let t=e.target.assignedElements({flatten:!0}).filter(i=>i?.matches("calcite-dropdown-group"));this.groups=t,this.updateItems(),this.updateGroupScale()}updateGroupScale(){this.groups?.forEach(e=>e.scale=this.scale)}resizeObserverCallback(e){e.forEach(t=>{let{target:i}=t;i===this.referenceEl?this.setDropdownWidth():i===this.scrollerEl&&this.setMaxScrollerHeight()})}setDropdownWidth(){let{referenceEl:e,scrollerEl:t}=this,i=e?.clientWidth;!i||!t||(t.style.minWidth=`${i}px`)}setMaxScrollerHeight(){let{scrollerEl:e}=this;if(!e)return;this.reposition(!0);let t=this.getMaxScrollerHeight();e.style.maxBlockSize=t>0?`${t}px`:"",this.reposition(!0)}setScrollerAndTransitionEl(e){e&&this.resizeObserver?.observe(e),this.scrollerEl=e,this.transitionEl=e}onBeforeOpen(){this.calciteDropdownBeforeOpen.emit()}onOpen(){this.calciteDropdownOpen.emit()}onBeforeClose(){this.calciteDropdownBeforeClose.emit()}onClose(){this.calciteDropdownClose.emit(),$(this)}setReferenceEl(e){this.referenceEl=e,r(this),e&&this.resizeObserver?.observe(e)}setFloatingEl(e){this.floatingEl=e,r(this)}keyDownHandler(e){if(!e.composedPath().includes(this.referenceEl))return;let{defaultPrevented:t,key:i}=e;if(!t){if(i==="Escape"){this.closeCalciteDropdown(),e.preventDefault();return}if(this.open&&e.shiftKey&&i==="Tab"){this.closeCalciteDropdown(),e.preventDefault();return}k(i)?(this.toggleDropdown(),e.preventDefault()):(i==="ArrowDown"||i==="ArrowUp")&&(e.preventDefault(),this.focusLastDropdownItem=i==="ArrowUp",this.open=!0,this.el.addEventListener("calciteDropdownOpen",this.onOpenEnd))}}updateSelectedItems(){this.selectedItems=this.items.filter(e=>e.selected)}getMaxScrollerHeight(){let{maxItems:e,items:t}=this,i=0,s=0,a;return this.groups.forEach(c=>{e>0&&i<e&&Array.from(c.children).forEach((f,T)=>{T===0&&(isNaN(a)&&(a=f.offsetTop),s+=a),i<e&&(s+=f.offsetHeight,i+=1)})}),t.length>=e?s:0}closeCalciteDropdown(e=!0){this.open=!1,e&&p(this.triggers[0])}focusOnFirstActiveOrDefaultItem(){let e=this.getTraversableItems().find(t=>t.selected)||(this.focusLastDropdownItem?this.items[this.items.length-1]:this.items[0]);this.focusLastDropdownItem=!1,e&&p(e)}toggleDropdown(){this.open=!this.open,this.open&&this.el.addEventListener("calciteDropdownOpen",this.onOpenEnd)}updateTabIndexOfItems(e){this.items.forEach(t=>{t.tabIndex=e!==t?-1:0})}render(){let{open:e,guid:t}=this;return x({disabled:this.disabled,children:b`<div class="calcite-trigger-container" .id=${`${t}-menubutton`} @click=${this.toggleDropdown} @keydown=${this.keyDownHandler} ${l(this.setReferenceEl)}><slot aria-controls=${`${t}-menu`} .ariaExpanded=${e} aria-haspopup=menu name=${A.dropdownTrigger} @slotchange=${this.updateTriggers}></slot></div><div .ariaHidden=${!e} class=${d({[F.wrapper]:!0,[z("width",this.width,this.widthScale)]:!!(this.width||this.widthScale)})} ${l(this.setFloatingEl)}><div aria-labelledby=${`${t}-menubutton`} class=${d({"calcite-dropdown-content":!0,[w.animation]:!0,[w.animationActive]:e})} .id=${`${t}-menu`} role=menu ${l(this.setScrollerAndTransitionEl)}><slot @slotchange=${this.updateGroups}></slot></div></div>`})}};D("calcite-dropdown",u);export{u as Dropdown};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{j as b,k as v}from"./5VK4UUOT.js";import{e as g}from"./TQ427GJX.js";var A=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"];function w(t){return`${t.split("-").map((e,i)=>i===0?e:`${e[0].toUpperCase()}${e.slice(1)}`).join("")}${A.includes(t)?"Input":"Change"}`}var m="hidden-form-input";function h(t){return"checked"in t}var p=new WeakMap,E=new WeakSet;function q(t,e){if(v(e.parentElement,"[form]"))return!0;let i="calciteInternalFormComponentRegister",n=!1;return t.addEventListener(i,a=>{n=a.composedPath().some(s=>E.has(s)),a.stopPropagation()},{once:!0}),e.dispatchEvent(new CustomEvent(i,{bubbles:!0,composed:!0})),n}function F(t,{status:e,message:i,icon:n}){"status"in t&&(t.status=e),"validationIcon"in t&&typeof t.validationIcon!="string"&&(t.validationIcon=n),"validationMessage"in t&&!t.validationMessage&&(t.validationMessage=i)}function C(t){return t.nodeName==="CALCITE-RADIO-BUTTON"?v(t,"calcite-radio-button-group"):t}var $=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function I(t){let e=t?.target,i=e?.validationMessage,n=C(e?.parentElement);if(!n)return;let a=n?.nodeName?.toLowerCase(),s=a?.split("-");if(s.length<2||s[0]!=="calcite")return;t?.preventDefault(),"validity"in n&&(n.validity=e?.validity),n.dispatchEvent($),F(n,{message:i,icon:!0,status:"invalid"});let c=w(a);n.addEventListener(c,()=>{"status"in n&&(n.status="idle"),"validationIcon"in n&&(n.validationIcon===""||n.validationIcon===!0)&&(n.validationIcon=!1),"validationMessage"in n&&n.validationMessage===i&&(n.validationMessage=""),"validity"in n&&(n.validity=e?.validity)},{once:!0})}function N(t){let{formEl:e}=t;return e?(e.addEventListener("invalid",I,!0),e.requestSubmit(),e.removeEventListener("invalid",I,!0),requestAnimationFrame(()=>{let i=e.querySelectorAll("[status=invalid]");for(let n of i)if(n?.validationMessage){n?.setFocus();break}}),!0):!1}function O(t){t.formEl?.reset()}function P(t){let{el:e,value:i}=t,n=S(t);if(!n||q(n,e))return;t.formEl=n,t.defaultValue=i,h(t)&&(t.defaultChecked=t.checked);let a=V.bind(t);n.addEventListener("reset",a),p.set(t.el,a),E.add(e)}function S(t){let{el:e,form:i}=t;return i?b(e,{id:i}):v(e,"form")}function V(){if("status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),h(this)){this.checked=this.defaultChecked;return}this.value=this.defaultValue,this.onFormReset?.()}function T(t){let{el:e,formEl:i}=t;if(!i)return;let n=p.get(e);i.removeEventListener("reset",n),p.delete(e),t.formEl=null,E.delete(e)}function W(t,e){t.defaultValue=e}var x="calciteInternalHiddenInputInput",M=t=>{t.target.dispatchEvent(new CustomEvent(x,{bubbles:!0}))},y=t=>t.removeEventListener("input",M);function D(t){let{el:e,formEl:i,name:n,value:a}=t,{ownerDocument:s}=e,c=e.querySelectorAll(`input[slot="${m}"]`);if(!i||!n){c.forEach(o=>{y(o),o.remove()});return}let f=Array.isArray(a)?a:[a],r=[],d=new Set;c.forEach(o=>{let l=f.find(L=>L==o.value);l!=null?(d.add(l),k(t,o,l)):r.push(o)});let u;f.forEach(o=>{if(d.has(o))return;let l=r.pop();l||(l=s.createElement("input"),l.slot=m),u||(u=s.createDocumentFragment()),u.append(l),l.addEventListener("input",M),k(t,l,o)}),u&&e.append(u),r.forEach(o=>{y(o),o.remove()})}function k(t,e,i){let{defaultValue:n,disabled:a,form:s,name:c,required:f}=t;e.defaultValue=n,e.disabled=a,e.name=c,e.required=f,e.tabIndex=-1,s?e.setAttribute("form",s):e.removeAttribute("form"),h(t)?(e.checked=t.checked,e.defaultChecked=t.defaultChecked,e.value=t.checked?i||"on":""):e.value=i||"",t.syncHiddenFormInput?.(e);let r=C(t.el);if(r&&"validity"in r)for(let d in{...e?.validity})r.validity[d]=e.validity[d]}var B=({component:t})=>(D(t),g`<slot name=${m}></slot>`);export{N as a,O as b,P as c,S as d,T as e,W as f,x as g,B as h};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
var d={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(a){var e=["th","st","nd","rd"],r=a%100;return"["+a+(e[(r-20)%10]||e[r]||e[0])+"]"}};export{d as a};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
var e={actionBarContainer:"action-bar-container",backButton:"back-button",container:"container",contentBottom:"content-bottom",contentTop:"content-top",header:"header",headerContainer:"header-container",headerContainerBorderEnd:"header-container--border-end",heading:"heading",summary:"summary",description:"description",headerContent:"header-content",headerActions:"header-actions",headerActionsEnd:"header-actions--end",headerActionsStart:"header-actions--start",contentWrapper:"content-wrapper",fabContainer:"fab-container",footer:"footer",footerContent:"footer-content",footerActions:"footer-actions",footerStart:"footer-start",footerEnd:"footer-end",headerSlottedContent:"header-slotted-content"},t={close:"close",collapse:"collapse"},o={close:"x",menu:"ellipsis",backLeft:"chevron-left",backRight:"chevron-right",expand:"chevron-down",collapse:"chevron-up"},n={actionBar:"action-bar",alerts:"alerts",contentBottom:"content-bottom",contentTop:"content-top",headerActionsStart:"header-actions-start",headerActionsEnd:"header-actions-end",headerMenuActions:"header-menu-actions",headerContent:"header-content",fab:"fab",footer:"footer",footerEnd:"footer-end",footerStart:"footer-start",footerActions:"footer-actions"};export{e as a,t as b,o as c,n as d};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{a as r}from"./7IVGC34Z.js";import{a as m}from"./JZGJVQKB.js";import{b as c}from"./W7LKQZLC.js";import{s as d}from"./5VK4UUOT.js";import"./YQW2HZIZ.js";import{I as o,d as n,e as s,v as l,w as i}from"./TQ427GJX.js";var h={scrim:"scrim",content:"content"},p={s:72,l:480},g=n`:host{position:absolute;inset:0;z-index:var(--calcite-z-index-overlay);display:flex;block-size:100%;inline-size:100%;flex-direction:column;align-items:stretch}@keyframes calcite-scrim-fade-in{0%{--tw-bg-opacity: 0 }to{--tw-text-opacity: 1 }}.scrim{position:absolute;inset:0;display:flex;flex-direction:column;align-content:center;align-items:center;justify-content:center;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-scrim-background, var(--calcite-color-transparent-scrim))}.content{padding:1rem}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends l{constructor(){super(...arguments),this.resizeObserver=r("resize",()=>this.handleResize()),this.hasContent=!1,this.loading=!1,this.messages=m()}static{this.properties={hasContent:16,loaderScale:16,loading:7,messageOverrides:0}}static{this.styles=g}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}handleDefaultSlotChange(e){this.hasContent=d(e)}storeLoaderEl(e){this.loaderEl=e,this.handleResize()}getScale(e){return e<p.s?"s":e>=p.l?"l":"m"}handleResize(){let{loaderEl:e,el:t}=this;e&&(this.loaderScale=this.getScale(Math.min(t.clientHeight,t.clientWidth)??0))}render(){let{hasContent:e,loading:t,messages:f}=this;return s`<div class=${i(h.scrim)}>${t?s`<calcite-loader .label=${f.loading} .scale=${this.loaderScale} ${c(this.storeLoaderEl)}></calcite-loader>`:null}<div class=${i(h.content)} .hidden=${!e}><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div>`}};o("calcite-scrim",a);export{a as Scrim};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{a as i}from"./PYAEZBTT.js";import{b as c}from"./3QYPPYKC.js";import{I as l,d as n,e as a,v as r,w as e}from"./TQ427GJX.js";var t={textContainer:"text-container",fullName:"full-name",username:"username",button:"button"},s=n`:host{display:inline-flex;outline:2px solid transparent;outline-offset:2px}:host .button{margin:0;display:flex;cursor:pointer;align-items:center;justify-content:center;font-family:var(--calcite-font-family);font-size:var(--calcite-font-size-0);line-height:1.25rem;outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;border:none;background-color:var(--calcite-navigation-background-color, var(--calcite-internal-navigation-user-background-color, var(--calcite-color-transparent)));border-block-end:2px solid var(--calcite-color-transparent)}.text-container{margin-block-start:.125rem;display:flex;flex-direction:column;padding-inline:1rem;text-align:start}calcite-avatar{padding-inline:1rem;--calcite-avatar-corner-radius: var(--calcite-navigation-user-avatar-corner-radius);--calcite-avatar-color: var(--calcite-navigation-user-avatar-color)}calcite-avatar~.text-container{padding-inline-start:0px}.full-name{margin-inline-start:0px;font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-navigation-user-full-name-text-color, var(--calcite-color-text-1))}.username{font-size:var(--calcite-font-size--1);color:var(--calcite-navigation-user-name-text-color, var(--calcite-color-text-2))}:host(:hover) .button,:host(:focus) .button{--calcite-internal-navigation-user-background-color: var(--calcite-color-foreground-2)}:host(:focus) .button{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host(:active) .button{--calcite-internal-navigation-user-background-color: var(--calcite-color-foreground-3)}:host([active]) .button{border-block-end-color:var(--calcite-navigation-accent-color, var(--calcite-color-brand))}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends r{constructor(){super(...arguments),this.textDisabled=!1}static{this.properties={active:7,fullName:1,label:1,textDisabled:7,thumbnail:1,userId:1,username:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=s}async setFocus(){await c(this),this.el.focus()}load(){}loaded(){}render(){return a`<button .ariaLabel=${this.label} class=${e(t.button)}><calcite-avatar .fullName=${this.fullName} .label=${this.label} .thumbnail=${this.thumbnail} .userId=${this.userId} .username=${this.username}></calcite-avatar>${(this.fullName||this.username)&&!this.textDisabled&&a`<div class=${e(t.textContainer)}>${this.fullName&&i(t.fullName,a`<span class=${e(t.fullName)}>${this.fullName}</span>`)||""}${this.username&&i(t.username,a`<span class=${e(t.username)}>${this.username}</span>`)||""}</div>`||""}</button>`}};l("calcite-navigation-user",o);export{o as NavigationUser};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{a as y,r as w}from"./DTEXOHOC.js";import"./PODUJS2H.js";import"./2UCHSNWA.js";import{a as z}from"./PYAEZBTT.js";import{d as S}from"./5VK4UUOT.js";import"./YQW2HZIZ.js";import{I as f,d as k,e as m,f as c,i as t,v as u,w as l}from"./TQ427GJX.js";var n={swatch:"swatch",noColorSwatch:"swatch--no-color",checker:"checker"},x={borderLight:"rgba(0, 0, 0, 0.3)",borderDark:"rgba(255, 255, 255, 0.15)"},C=4,i={squareSize:C,size:C*2},v=k`:host{position:relative;display:inline-flex}:host([scale=s]){block-size:1.25rem;inline-size:1.25rem}:host([scale=m]){block-size:1.5rem;inline-size:1.5rem}:host([scale=l]){block-size:2rem;inline-size:2rem}.swatch{overflow:hidden;block-size:inherit;inline-size:inherit}.swatch rect{transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.swatch--no-color rect{fill:var(--calcite-color-foreground-1)}.swatch--no-color line{stroke:var(--calcite-color-status-danger)}.checker{fill:#cacaca}:host([hidden]){display:none}[hidden]{display:none}`,g=class extends u{constructor(){super(...arguments),this.active=!1,this.scale="m"}static{this.properties={active:7,color:1,scale:3}}static{this.styles=v}load(){this.handleColorChange(this.color)}willUpdate(e){e.has("color")&&this.handleColorChange(this.color)}handleColorChange(e){this.internalColor=e?y(e):null}render(){let e=!this.internalColor,h={[n.swatch]:!0,[n.noColorSwatch]:e};return m`<svg class=${l(h)} xmlns=http://www.w3.org/2000/svg>${this.renderSwatch()}</svg>`}renderSwatch(){let{active:e,el:h,internalColor:s}=this,o=e?"100%":"0",d=S(h)==="light"?x.borderLight:x.borderDark,p=!s,r={height:"100%",rx:o,stroke:d,strokeWidth:"2",width:"100%"};if(p)return c`<clipPath id=shape><rect height=100% rx=${o??t} width=100% /></clipPath>${this.renderSwatchRect({clipPath:`inset(0 round ${o})`,...r})}<line clip-path=url(#shape) stroke-width=3 x1=100% x2=0 y1=0 y2=100% />`;let a=s.alpha(),b=w(s),$=w(s,a<1);return c`<title>${$}</title><defs><pattern height=${i.size} id=checker patternUnits=userSpaceOnUse width=${i.size} x=0 y=0><rect class=${l(n.checker)} height=${i.squareSize} width=${i.squareSize} x=0 y=0 /><rect class=${l(n.checker)} height=${i.squareSize} width=${i.squareSize} x=${i.squareSize} y=${i.squareSize} /></pattern></defs>${this.renderSwatchRect({fill:"url(#checker)",rx:r.rx,height:r.height,width:r.width})}${this.renderSwatchRect({clipPath:a<1?"polygon(100% 0, 0 0, 0 100%)":`inset(0 round ${o})`,fill:b,...r})}${a<1?this.renderSwatchRect({clipPath:"polygon(100% 0, 100% 100%, 0 100%)",fill:$,key:"opacity-fill",...r}):null}`}renderSwatchRect({clipPath:e,fill:h,height:s,key:o,rx:d,stroke:p,strokeWidth:r,width:a}){return z(o,c`<rect clip-path=${e??t} fill=${h??t} height=${s??t} rx=${d??t} stroke=${p??t} stroke-width=${r??t} width=${a??t} />`)}};f("calcite-color-picker-swatch",g);export{g as ColorPickerSwatch};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{b as l}from"./ZBMTRW4F.js";import"./JDC4CCNQ.js";var r={name:"zh-hk",months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u9031\u65E5_\u9031\u4E00_\u9031\u4E8C_\u9031\u4E09_\u9031\u56DB_\u9031\u4E94_\u9031\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),ordinal:function(e,Y){switch(Y){case"W":return e+"\u9031";default:return e+"\u65E5"}},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5 HH:mm",LLLL:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5167",past:"%s\u524D",s:"\u5E7E\u79D2",m:"\u4E00\u5206\u9418",mm:"%d \u5206\u9418",h:"\u4E00\u5C0F\u6642",hh:"%d \u5C0F\u6642",d:"\u4E00\u5929",dd:"%d \u5929",M:"\u4E00\u500B\u6708",MM:"%d \u500B\u6708",y:"\u4E00\u5E74",yy:"%d \u5E74"},meridiem:function(e,Y){var _=e*100+Y;return _<600?"\u51CC\u6668":_<900?"\u65E9\u4E0A":_<1100?"\u4E0A\u5348":_<1300?"\u4E2D\u5348":_<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};l.locale(r,null,!0);var m=r;export{m as default};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{l as G}from"./LRGSGD6G.js";import{a as C}from"./Y73JSF6U.js";import{c as W,e as j,f as A,h as H}from"./IUPHPQ5W.js";import{c as N,d as q}from"./RCSWE64T.js";import{a as k,b as U}from"./6HR6FZG5.js";import{a as F}from"./PYAEZBTT.js";import"./DS66T4UB.js";import{a as V}from"./JZGJVQKB.js";import{b as R}from"./W7LKQZLC.js";import"./5VK4UUOT.js";import{b as _}from"./3QYPPYKC.js";import"./YQW2HZIZ.js";import{A as S,I as M,d as D,e as g,i as T,u as b,v as E,w as L}from"./TQ427GJX.js";var ee={offset:"offset"},te=60;function x(o){return o.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace("\u2212","-")}function oe(o,e){let t=w(o,"en-US",e).replace("GMT","");return t===""?0:Number(x(t))*te}function ie(){return new Date().getTimezoneOffset()*-1}function se(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}async function ae(o){if(o==="offset")return t=>t;let{normalize:e}=await import("./2JG564MO.js");return e}async function ne(o,e,t,i,l){if(t==="name"){let{groupByName:a}=await import("./WA5XUN7A.js");return(await a()).map(({label:n})=>({label:n,value:n,metadata:{filterValue:n}})).filter(n=>!!n).sort()}let u=l==="user"?o:l==="utc"?"fr":"en-GB",d=i.getTime();if(t==="region"){let[{groupByRegion:a},{getCountry:n,global:m}]=await Promise.all([import("./DQUWVHQ4.js"),import("./D7XRLD6B.js")]);return(await a()).map(({label:s,tzs:c})=>(c.sort((r,h)=>{let v=I(r,e),y=I(h,e),p="Etc/GMT";if(r.startsWith(p)&&h.startsWith(p)){let f=r.substring(p.length),P=h.substring(p.length),Y=f===""?0:parseInt(f);return(P===""?0:parseInt(P))-Y}return v.localeCompare(y)}),{label:$(e,s),items:c.map(r=>{let h=x(w(r,u,d)),v=I(r,e),y=s===m?`${I(m,e)} Etc`:J(r),p=n(r),f=$(e,p);return{label:v,value:r,metadata:{country:f===v?void 0:f,filterValue:y,offset:h}}})})).sort((s,c)=>s.label===m?-1:c.label===m?1:s.label.localeCompare(c.label))}let[{groupByOffset:Z},{DateEngine:Q}]=await Promise.all([import("./675BA2OJ.js"),import("./LX3BNN2R.js")]),z=await Z({dateEngine:new Q,groupDateRange:1,startDate:new Date(d).toISOString()}),X=new Intl.ListFormat(o,{style:"long",type:"conjunction"}),B=["Factory","Etc/UTC"];return z.forEach(a=>{let n=[],m=0;a.tzs.forEach((s,c)=>{B.includes(s)&&m++,n[c]=m}),a.tzs=a.tzs.filter(s=>!B.includes(s)),a.labelTzIdx=a.labelTzIdx.map(s=>s-n[s]).filter(s=>s>=0&&s<a.tzs.length)}),z.map(({labelTzIdx:a,tzs:n})=>{let m=n[0],s=x(w(m,u,d)),c=oe(m,d),r=a.map(h=>I(n[h],e));return{label:me(e,s,X.format(r)),value:c,metadata:{filterValue:n.map(h=>J(h))}}}).filter(a=>!!a).sort((a,n)=>a.value-n.value)}function I(o,e){return e[o]||re(o)}function le(o,e,t){return t.timeZoneRegionLabel.replace("{city}",o).replace("{country}",$(t,e))}function $(o,e){return o[e]||e}function re(o){return o.split("/").pop()}function J(o){return o.replace(/_/g," ")}function me(o,e,t){return o.timeZoneLabel.replace("{offset}",e).replace("{cities}",t)}function w(o,e,t=Date.now()){return o==="Factory"&&(o="Etc/GMT"),G(e,{timeZone:o,timeZoneName:"shortOffset"}).formatToParts(t).find(({type:i})=>i==="timeZoneName").value}function ce(o){return o.items!==void 0}function he(o){return ce(o[0])?o.flatMap(e=>e.items):o}function K(o,e,t){return t==null?null:he(o).find(i=>i[e]==t)}var de=D`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.offset{white-space:nowrap}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}`,O=class extends E{constructor(){super(...arguments),this.clearable=!1,this.disabled=!1,this.maxItems=0,this.messages=V({blocking:!0}),this.mode="offset",this.offsetStyle="user",this.open=!1,this.overlayPositioning="absolute",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputTimeZoneBeforeClose=b({cancelable:!1}),this.calciteInputTimeZoneBeforeOpen=b({cancelable:!1}),this.calciteInputTimeZoneChange=b({cancelable:!1}),this.calciteInputTimeZoneClose=b({cancelable:!1}),this.calciteInputTimeZoneOpen=b({cancelable:!1})}static{this.properties={clearable:7,disabled:7,form:3,maxItems:11,messageOverrides:0,mode:3,name:3,offsetStyle:3,open:7,overlayPositioning:3,readOnly:7,referenceDate:1,required:7,scale:3,status:3,validationIcon:[3,{converter:S}],validationMessage:1,validity:0,value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=de}get value(){return this._value}set value(e){this._value=e}async setFocus(){await _(this),await this.comboboxEl.setFocus()}connectedCallback(){super.connectedCallback(),W(this),N(this)}async load(){this.normalizer=await ae(this.mode),await this.updateTimeZoneItems();let e=this.value,t=this.normalizeValue(e);this.value=t||(e===""?t:void 0),this.updateTimeZoneSelection();let i=this.selectedTimeZoneItem?`${this.selectedTimeZoneItem.value}`:"";A(this,i),this.value=i}willUpdate(e){e.has("value")&&this.hasUpdated&&this.handleValueChange(this.value,e.get("value")),(e.has("messages")||e.has("mode")&&(this.hasUpdated||this.mode!=="offset")||e.has("referenceDate"))&&this.handleTimeZoneItemPropsChange(),e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openChanged()}updated(){k(this)}loaded(){this.overrideSelectedLabelForRegion(this.open),this.openChanged()}disconnectedCallback(){super.disconnectedCallback(),j(this),q(this)}async handleTimeZoneItemPropsChange(){!this.timeZoneItems||!this.hasUpdated||(await this.updateTimeZoneItems(),this.updateTimeZoneSelection())}openChanged(){this.comboboxEl&&(this.comboboxEl.open=this.open)}async handleValueChange(e,t){let i=this.normalizeValue(e);if(!i){if(this.clearable){this._value=i,this.selectedTimeZoneItem=null;return}this._value=t,this.selectedTimeZoneItem=this.findTimeZoneItem(t);return}let l=this.findTimeZoneItem(i);if(!l){this._value=t;return}this._value=i,this.selectedTimeZoneItem=l,i!==e&&(await this.updateComplete,this.overrideSelectedLabelForRegion(this.open))}onLabelClick(){this.setFocus()}setComboboxRef(e){this.comboboxEl=e}overrideSelectedLabelForRegion(e){if(this.mode!=="region"||!this.selectedTimeZoneItem)return;let{label:t,metadata:i}=this.selectedTimeZoneItem;this.comboboxEl.selectedItems[0].textLabel=!i.country||e?t:le(t,i.country,this.messages)}onComboboxBeforeClose(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!1),this.calciteInputTimeZoneBeforeClose.emit()}onComboboxBeforeOpen(e){e.stopPropagation(),this.overrideSelectedLabelForRegion(!0),this.calciteInputTimeZoneBeforeOpen.emit()}onComboboxChange(e){e.stopPropagation();let t=e.target.selectedItems[0];if(!t){this._value="",this.selectedTimeZoneItem=null,this.calciteInputTimeZoneChange.emit();return}let i=this.findTimeZoneItemByLabel(t.getAttribute("data-label")),l=`${i.value}`;this.value===l&&i.label===this.selectedTimeZoneItem.label||(this._value=l,this.selectedTimeZoneItem=i,this.calciteInputTimeZoneChange.emit())}onComboboxClose(e){e.stopPropagation(),this.open=!1,this.calciteInputTimeZoneClose.emit()}onComboboxOpen(e){this.open=!0,e.stopPropagation(),this.calciteInputTimeZoneOpen.emit()}findTimeZoneItem(e){return K(this.timeZoneItems,"value",e)}findTimeZoneItemByLabel(e){return K(this.timeZoneItems,"label",e)}async updateTimeZoneItems(){this.timeZoneItems=await this.createTimeZoneItems()}updateTimeZoneSelection(){if(this.value===""&&this.clearable){this.selectedTimeZoneItem=null;return}let e=this.mode==="offset"?ie():se(),t=this.value===""||!this.value?e:this.value;this.selectedTimeZoneItem=this.findTimeZoneItem(t)||this.findTimeZoneItem(e)}async createTimeZoneItems(){return!this.messages._lang||!this.messages?[]:ne(this.messages._lang,this.messages,this.mode,this.referenceDate instanceof Date?this.referenceDate:new Date(this.referenceDate??Date.now()),this.offsetStyle)}normalizeValue(e){return e=e===void 0?"":e,e&&this.normalizer(e)}render(){return U({disabled:this.disabled,children:g`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} lang=${this.messages._lang??T} .maxItems=${this.maxItems} @calciteComboboxBeforeClose=${this.onComboboxBeforeClose} @calciteComboboxBeforeOpen=${this.onComboboxBeforeOpen} @calciteComboboxChange=${this.onComboboxChange} @calciteComboboxClose=${this.onComboboxClose} @calciteComboboxOpen=${this.onComboboxOpen} .overlayPositioning=${this.overlayPositioning} .placeholder=${this.mode==="name"?this.messages.namePlaceholder:this.mode==="offset"?this.messages.offsetPlaceholder:this.messages.regionPlaceholder} placeholder-icon=search .readOnly=${this.readOnly} .scale=${this.scale} .selectionMode=${this.clearable?"single":"single-persist"} .status=${this.status} .validationIcon=${this.validationIcon} .validationMessage=${this.validationMessage} ${R(this.setComboboxRef)}>${this.renderItems()}</calcite-combobox>${H({component:this})}`})}renderItems(){return this.mode==="region"?this.renderRegionItems():C(this.timeZoneItems,({label:e})=>e,e=>{let t=this.selectedTimeZoneItem===e,{label:i,metadata:l,value:u}=e;return g`<calcite-combobox-item data-label=${i??T} .metadata=${l} .selected=${t} .textLabel=${i} .value=${u}></calcite-combobox-item>`})}renderRegionItems(){return this.timeZoneItems.flatMap(({label:e,items:t})=>F(e,g`<calcite-combobox-item-group .label=${e}>${C(t,({label:i})=>i,i=>{let l=this.selectedTimeZoneItem===i,{label:u,metadata:d,value:Z}=i;return g`<calcite-combobox-item data-label=${u??T} .description=${d.country} .metadata=${d} .selected=${l} .textLabel=${u} .value=${Z}><span class=${L(ee.offset)} slot=content-end>${d.offset}</span></calcite-combobox-item>`})}</calcite-combobox-item-group>`))}};M("calcite-input-time-zone",O);export{O as InputTimeZone};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{a as te,b as T}from"./LM2XVEJC.js";import{a as N,k as L}from"./LRGSGD6G.js";import{a as ee}from"./L23DZQI6.js";import{c as J,e as Q,f as Y,h as Z}from"./IUPHPQ5W.js";import{c as G,d as W,e as K}from"./RCSWE64T.js";import{a as I,b as U}from"./6HR6FZG5.js";import{a as B}from"./PYAEZBTT.js";import{a as j}from"./DS66T4UB.js";import{a as q}from"./JZGJVQKB.js";import{b as R}from"./W7LKQZLC.js";import{q as H,x as _}from"./5VK4UUOT.js";import{b as A}from"./3QYPPYKC.js";import{a as X}from"./YQW2HZIZ.js";import{A as O,I as E,d as z,e as x,i as P,u as w,v as C,w as g,x as $,z as F}from"./TQ427GJX.js";var l={container:"container",containerRange:"container--range",graph:"graph",handle:"handle",handleExtension:"handle-extension",handleLabel:"handle__label",handleLabelMinValue:"handle__label--minValue",handleLabelValue:"handle__label--value",hyphen:"hyphen",hyphenWrap:"hyphen--wrap",static:"static",thumb:"thumb",thumbActive:"thumb--active",thumbContainer:"thumb-container",thumbMinValue:"thumb--minValue",thumbPrecise:"thumb--precise",thumbValue:"thumb--value",tick:"tick",tickActive:"tick--active",tickLabel:"tick__label",tickMax:"tick__label--max",tickMin:"tick__label--min",ticks:"ticks",track:"track",trackRange:"track__range",transformed:"transformed"},ae={validationMessage:"validationMessage"},ie=250,se=z`@charset "UTF-8";:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}.scale--s{--calcite-slider-handle-size: .625rem;--calcite-slider-handle-extension-height: .4rem;--calcite-slider-container-font-size: var(--calcite-font-size--3)}.scale--s .handle__label,.scale--s .tick__label{line-height:.75rem}.scale--m{--calcite-slider-handle-size: .875rem;--calcite-slider-handle-extension-height: .5rem;--calcite-slider-container-font-size: var(--calcite-font-size--2)}.scale--m .handle__label,.scale--m .tick__label{line-height:1rem}.scale--l{--calcite-slider-handle-size: 1rem;--calcite-slider-handle-extension-height: .65rem;--calcite-slider-container-font-size: var(--calcite-font-size--1)}.scale--l .handle__label,.scale--l .tick__label{line-height:1rem}.handle__label,.tick__label{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-slider-text-color, var(--calcite-color-text-2));font-size:var(--calcite-slider-container-font-size)}:host{display:block}:host .validation-container{padding-block-start:0!important}.container{position:relative;display:block;overflow-wrap:normal;word-break:normal;padding-inline:calc(var(--calcite-slider-handle-size) * .5);padding-block:calc(var(--calcite-slider-handle-size) * .5);margin-block:calc(var(--calcite-slider-handle-size) * .5);margin-inline:0;--calcite-slider-full-handle-height: calc( var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height) );touch-action:none;-webkit-user-select:none;user-select:none}:host([disabled]) .track__range,:host([disabled]) .tick--active{background-color:var(--calcite-color-text-3)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.375rem}.scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.5rem}.scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -.55rem}:host([precise]:not([has-histogram])) .container .thumb--value{--calcite-slider-thumb-y-offset: calc(var(--calcite-slider-full-handle-height) * -1)}.thumb-container{position:relative;max-inline-size:100%}.thumb{--calcite-slider-thumb-x-offset: calc(var(--calcite-slider-handle-size) * .5);position:absolute;margin:0;display:flex;cursor:pointer;flex-direction:column;align-items:center;border-style:none;background-color:transparent;padding:0;font-family:inherit;outline:2px solid transparent;outline-offset:2px;transform:translate(var(--calcite-slider-thumb-x-offset),var(--calcite-slider-thumb-y-offset))}.thumb .handle__label{white-space:nowrap}.thumb .handle__label.static,.thumb .handle__label.transformed{position:absolute;inset-block:0px;opacity:0}.thumb .handle__label.hyphen:after{content:"\u2014";display:inline-block;inline-size:1em}.thumb .handle__label.hyphen--wrap{display:flex}.thumb .handle{box-sizing:border-box;border-radius:9999px;outline-color:transparent;background-color:var(--calcite-slider-handle-fill-color, var(--calcite-color-foreground-1));block-size:var(--calcite-slider-handle-size);inline-size:var(--calcite-slider-handle-size);box-shadow:0 0 0 2px var(--calcite-color-text-3) inset;transition:border var(--calcite-internal-animation-timing-medium) ease,background-color var(--calcite-internal-animation-timing-medium) ease,box-shadow var(--calcite-animation-timing) ease}.thumb .handle-extension{inline-size:.125rem;block-size:var(--calcite-slider-handle-extension-height);background-color:var(--calcite-slider-handle-extension-color, var(--calcite-color-text-3))}.thumb:hover .handle{box-shadow:0 0 0 3px var(--calcite-color-brand) inset}.thumb:hover .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb:focus .handle{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.thumb:focus .handle-extension{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.thumb.thumb--minValue{transform:translate(calc(var(--calcite-slider-thumb-x-offset) * -1),var(--calcite-slider-thumb-y-offset))}.thumb.thumb--precise{--calcite-slider-thumb-y-offset: -.125rem}:host([label-handles]) .thumb{--calcite-slider-thumb-x-offset: 50%}:host([label-handles]):host(:not([has-histogram])) .scale--s .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.4375rem}:host([label-handles]):host(:not([has-histogram])) .scale--m .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -1.875rem}:host([label-handles]):host(:not([has-histogram])) .scale--l .thumb:not(.thumb--precise){--calcite-slider-thumb-y-offset: -2rem}:host([has-histogram][label-handles]) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--minValue.thumb--precise .handle__label{margin-block-start:.5em}:host(:not([has-histogram]):not([precise])) .handle__label,:host([label-handles]:not([has-histogram])) .thumb--value .handle__label{margin-block-end:.5em}:host([label-handles][precise]):host(:not([has-histogram])) .scale--s .thumb--value{--calcite-slider-thumb-y-offset: -2.075rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--m .thumb--value{--calcite-slider-thumb-y-offset: -2.75rem}:host([label-handles][precise]):host(:not([has-histogram])) .scale--l .thumb--value{--calcite-slider-thumb-y-offset: -3.0625rem}.thumb:focus .handle,.thumb--active .handle{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand));box-shadow:0 0 8px #00000029}.thumb:hover.thumb--precise:after,.thumb:focus.thumb--precise:after,.thumb--active.thumb--precise:after{background-color:var(--calcite-slider-accent-color, var(--calcite-color-brand))}.track{position:relative;block-size:.125rem;border-radius:0;background-color:var(--calcite-slider-track-color, var(--calcite-color-border-2));transition:all var(--calcite-internal-animation-timing-medium) ease-in}.track__range{position:absolute;inset-block-start:0px;block-size:.125rem;background-color:var(--calcite-slider-track-fill-color, var(--calcite-color-brand))}.container--range .track__range:hover{cursor:ew-resize}.container--range .track__range:after{position:absolute;inline-size:100%;content:"";inset-block-start:calc(var(--calcite-slider-full-handle-height) * .5 * -1);block-size:calc(var(--calcite-slider-handle-size) + var(--calcite-slider-handle-extension-height))}@media (forced-colors: active){.thumb{outline-width:0;outline-offset:0}.handle{outline:2px solid transparent;outline-offset:2px}.thumb:focus .handle,.thumb .handle-extension,.thumb:hover .handle-extension,.thumb:focus .handle-extension,.thumb:active .handle-extension{background-color:canvasText}.track{background-color:canvasText}.track__range{background-color:highlight}}.tick{position:absolute;block-size:.25rem;inline-size:.125rem;border-width:1px;border-style:solid;background-color:var(--calcite-slider-tick-color, var(--calcite-color-border-input));border-color:var(--calcite-slider-tick-border-color, var(--calcite-color-foreground-1));inset-block-start:-2px;pointer-events:none;margin-inline-start:-.125rem}.tick--active{background-color:var(--calcite-slider-tick-selected-color, var(--calcite-color-brand))}.tick__label{pointer-events:none;margin-block-start:.875rem;display:flex;justify-content:center}.tick__label--min{transition:opacity var(--calcite-animation-timing)}.tick__label--max{transition:opacity var(--calcite-internal-animation-timing-fast)}:host([has-histogram][label-handles]) .tick__label--min,:host([has-histogram][label-handles]) .tick__label--max,:host([has-histogram][precise]) .tick__label--min,:host([has-histogram][precise]) .tick__label--max{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}.graph{color:var(--calcite-slider-graph-color, var(--calcite-color-foreground-3));block-size:48px}:host([label-ticks][ticks]) .container{padding-block-end:calc(.875rem + var(--calcite-slider-container-font-size))}:host([has-histogram]):host([precise][label-handles]) .container{padding-block-end:calc(var(--calcite-slider-full-handle-height) + 1em)}:host([has-histogram]):host([label-handles]:not([precise])) .container{padding-block-end:calc(var(--calcite-slider-handle-size) * .5 + 1em)}:host([has-histogram]):host([precise]:not([label-handles])) .container{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container{padding-block-start:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([precise]:not([label-handles])) .container--range{padding-block-end:var(--calcite-slider-full-handle-height)}:host(:not([has-histogram])):host([label-handles]:not([precise])) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container{padding-block-start:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}:host(:not([has-histogram])):host([label-handles][precise]) .container--range{padding-block-end:calc(var(--calcite-slider-full-handle-height) + var(--calcite-slider-container-font-size) + 4px)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;function p(S){return Array.isArray(S)}var D=class extends C{constructor(){super(),this.activeProp="value",this.dragEnd=e=>{this.disabled||(this.removeDragListeners(),this.focusActiveHandle(e.clientX),this.lastDragPropValue!=this[this.dragProp]&&this.emitChange(),this.dragProp=null,this.lastDragPropValue=null,this.minValueDragRange=null,this.maxValueDragRange=null,this.minMaxValueRange=null)},this.dragUpdate=e=>{if(!this.disabled&&(e.preventDefault(),this.dragProp)){let t=this.mapToRange(e.clientX||e.pageX);if(p(this.value)&&this.dragProp==="minMaxValue")if(this.minValueDragRange&&this.maxValueDragRange&&this.minMaxValueRange){let a=t-this.minValueDragRange,i=t+this.maxValueDragRange;i<=this.max&&a>=this.min&&i-a===this.minMaxValueRange&&this.setValue({minValue:this.clamp(a,"minValue"),maxValue:this.clamp(i,"maxValue")})}else this.minValueDragRange=t-this.minValue,this.maxValueDragRange=this.maxValue-t,this.minMaxValueRange=this.maxValue-this.minValue;else this.setValue({[this.dragProp]:this.clamp(t,this.dragProp)})}},this.formatValue=e=>(L.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},L.localize(e.toString())),this.guid=`calcite-slider-${X()}`,this.messages=q({name:null}),this.pointerUpDragEnd=e=>{this.disabled||!_(e)||this.dragEnd(e)},this.maxValueDragRange=null,this.minMaxValueRange=null,this.minValueDragRange=null,this.tickValues=[],this.disabled=!1,this.fillPlacement="start",this.groupSeparator=!1,this.hasHistogram=!1,this.labelHandles=!1,this.labelTicks=!1,this.max=100,this.min=0,this.mirrored=!1,this.precise=!1,this.required=!1,this.scale="m",this.snap=!1,this.status="idle",this.step=1,this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=0,this.calciteSliderChange=w({cancelable:!1}),this.calciteSliderInput=w({cancelable:!1}),this.listen("pointerdown",this.pointerDownHandler),this.listen("keydown",this.handleKeyDown),this.listen("touchstart",this.handleTouchStart)}static{this.properties={maxValueDragRange:16,minMaxValueRange:16,minValueDragRange:16,tickValues:16,disabled:7,fillPlacement:3,form:3,groupSeparator:7,hasHistogram:7,histogram:0,histogramStops:0,labelFormatter:0,labelHandles:7,labelTicks:7,max:11,maxLabel:1,maxValue:9,min:11,minLabel:1,minValue:9,mirrored:7,name:3,numberingSystem:1,pageStep:11,precise:7,required:7,scale:3,snap:7,status:3,step:11,ticks:11,validationIcon:[3,{converter:O}],validationMessage:1,validity:0,value:11}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=se}async setFocus(){await A(this),(this.minHandle?this.minHandle:this.maxHandle)?.focus()}connectedCallback(){super.connectedCallback(),this.setMinMaxFromValue(),this.setValueFromMinMax(),G(this),J(this)}load(){p(this.value)||(this.value=this.snap?this.getClosestStep(this.value):this.clamp(this.value)),Y(this,this.value)}willUpdate(e){e.has("histogram")&&(this.hasHistogram=!!this.histogram),e.has("ticks")&&(this.tickValues=this.generateTickValues()),e.has("value")&&(this.hasUpdated||this.value!==0)&&this.setMinMaxFromValue(),(e.has("minValue")||e.has("maxValue"))&&this.setValueFromMinMax()}updated(){this.labelHandles&&(this.adjustHostObscuredHandleLabel("value"),p(this.value)&&(this.adjustHostObscuredHandleLabel("minValue"),this.precise&&!this.hasHistogram||this.hyphenateCollidingRangeHandleLabels())),this.hideObscuredBoundingTickLabels(),I(this)}loaded(){}disconnectedCallback(){super.disconnectedCallback(),W(this),Q(this),this.removeDragListeners()}handleKeyDown(e){let t=this.shouldMirror(),{activeProp:a,max:i,min:s,pageStep:r,step:o}=this,n=this[a],{key:h}=e;if(j(h)){e.preventDefault();return}let m;if(h==="ArrowUp"||h==="ArrowRight"?m=n+o*(t&&h==="ArrowRight"?-1:1):h==="ArrowDown"||h==="ArrowLeft"?m=n-o*(t&&h==="ArrowLeft"?-1:1):h==="PageUp"?r&&(m=n+r):h==="PageDown"?r&&(m=n-r):h==="Home"?m=s:h==="End"&&(m=i),isNaN(m))return;e.preventDefault();let d=Number(m.toFixed(T(o)));this.setValue({[a]:this.clamp(d,a)})}pointerDownHandler(e){if(this.disabled||!_(e))return;let t=e.clientX||e.pageX,a=this.mapToRange(t),i="value";p(this.value)&&(a>=this.minValue&&a<=this.maxValue&&this.lastDragProp==="minMaxValue"?i="minMaxValue":i=Math.abs(this.maxValue-a)<Math.abs(this.minValue-a)||a>=this.maxValue?"maxValue":"minValue"),this.lastDragPropValue=this[i],this.dragStart(i),this.el.shadowRoot.querySelector(`.${l.thumb}:active`)||this.setValue({[i]:this.clamp(a,i)}),this.focusActiveHandle(t)}handleTouchStart(e){e.preventDefault()}buildThumbType(e){let t=[e];return this.labelHandles&&t.push("labeled"),this.precise&&t.push("precise"),this.hasHistogram&&t.push("histogram"),t.join("-")}setValueFromMinMax(){let{minValue:e,maxValue:t}=this;typeof e=="number"&&typeof t=="number"&&(this.value=[e,t])}setMinMaxFromValue(){let{value:e}=this;p(e)&&(this.minValue=e[0],this.maxValue=e[1])}onLabelClick(){this.setFocus()}shouldMirror(){return this.mirrored&&!this.hasHistogram}shouldUseMinValue(){return p(this.value)?this.hasHistogram&&this.maxValue===0||!this.hasHistogram&&this.minValue===0:!1}getTickDensity(){let e=(this.max-this.min)/this.ticks/ie;return e<1?1:e}generateTickValues(){let e=this.ticks??0;if(e<=0)return[];let t=[this.min],a=this.getTickDensity(),i=e*a,s=this.min;for(;s<this.max;)s+=i,t.push(Math.min(s,this.max));return t.includes(this.max)||t.push(this.max),t}onThumbBlur(){this.activeProp=null}onThumbFocus(e){let t=e.currentTarget;this.activeProp=t.getAttribute("data-value-prop")}onThumbPointerDown(e){let t=e.currentTarget;this.pointerDownDragStart(e,t.getAttribute("data-value-prop"))}onTrackPointerDown(e){this.pointerDownDragStart(e,"minMaxValue")}pointerDownDragStart(e,t){_(e)&&this.dragStart(t)}dragStart(e){this.dragProp=e,this.lastDragProp=this.dragProp,this.activeProp=e,window.addEventListener("pointermove",this.dragUpdate),window.addEventListener("pointerup",this.pointerUpDragEnd),window.addEventListener("pointercancel",this.dragEnd)}focusActiveHandle(e){this.dragProp==="minValue"?this.minHandle.focus():this.dragProp==="maxValue"||this.dragProp==="value"?this.maxHandle.focus():this.dragProp==="minMaxValue"&&this.getClosestHandle(e).focus()}emitInput(){this.calciteSliderInput.emit()}emitChange(){this.calciteSliderChange.emit()}removeDragListeners(){window.removeEventListener("pointermove",this.dragUpdate),window.removeEventListener("pointerup",this.pointerUpDragEnd),window.removeEventListener("pointercancel",this.dragEnd)}setValue(e){let t;Object.keys(e).forEach(a=>{let i=e[a];t||(t=this[a]!==i),this[a]=i}),t&&(this.dragProp||this.emitChange(),this.emitInput())}storeTrackRef(e){this.trackEl=e}storeThumbRef(e){e&&(e.getAttribute("data-value-prop")==="minValue"?this.minHandle=e:this.maxHandle=e)}clamp(e,t){return e=te(e,this.min,this.max),t==="maxValue"&&(e=Math.max(e,this.minValue)),t==="minValue"&&(e=Math.min(e,this.maxValue)),e}mapToRange(e){let t=this.max-this.min,{left:a,width:i}=this.trackEl.getBoundingClientRect(),s=(e-a)/i,r=this.shouldMirror(),o=this.clamp(this.min+t*(r?1-s:s)),n=Number(o.toFixed(T(this.step)));return this.snap&&this.step?this.getClosestStep(n):n}getClosestStep(e){let{max:t,min:a,step:i}=this,s=new N(`${Math.floor((e-a)/i)}`).multiply(`${i}`).add(`${a}`).toString(),r=this.clamp(Number(s));return r>t&&(r-=i),r}getClosestHandle(e){return this.getDistanceX(this.maxHandle,e)>this.getDistanceX(this.minHandle,e)?this.minHandle:this.maxHandle}getDistanceX(e,t){return Math.abs(e.getBoundingClientRect().left-t)}getFontSizeForElement(e){return Number(window.getComputedStyle(e).getPropertyValue("font-size").match(/\d+/)[0])}getUnitInterval(e){e=this.clamp(e);let t=this.max-this.min;return(e-this.min)/t}adjustHostObscuredHandleLabel(e){let t=this.el.shadowRoot.querySelector(`.handle__label--${e}`),a=this.el.shadowRoot.querySelector(`.handle__label--${e}.static`),i=this.el.shadowRoot.querySelector(`.handle__label--${e}.transformed`),s=a.getBoundingClientRect(),r=this.getHostOffset(s.left,s.right);t.style.transform=`translateX(${r}px)`,i.style.transform=`translateX(${r}px)`}hyphenateCollidingRangeHandleLabels(){let{shadowRoot:e}=this.el,t=this.shouldMirror(),a=t?"value":"minValue",i=t?"minValue":"value",s=e.querySelector(`.handle__label--${a}`),r=e.querySelector(`.handle__label--${a}.static`),o=e.querySelector(`.handle__label--${a}.transformed`),n=this.getHostOffset(r.getBoundingClientRect().left,r.getBoundingClientRect().right),h=e.querySelector(`.handle__label--${i}`),m=e.querySelector(`.handle__label--${i}.static`),d=e.querySelector(`.handle__label--${i}.transformed`),u=this.getHostOffset(m.getBoundingClientRect().left,m.getBoundingClientRect().right),k=this.getFontSizeForElement(s),v=this.getRangeLabelOverlap(o,d),f=s,b=k/2;if(v>0){if(f.classList.add(l.hyphen,l.hyphenWrap),u===0&&n===0){let c=v/2-b;c=Math.sign(c)===-1?Math.abs(c):-c;let y=this.getHostOffset(o.getBoundingClientRect().left+c-b,o.getBoundingClientRect().right+c-b),V=v/2,M=this.getHostOffset(d.getBoundingClientRect().left+V,d.getBoundingClientRect().right+V);y!==0&&(c+=y,V+=y),M!==0&&(c+=M,V+=M),s.style.transform=`translateX(${c}px)`,o.style.transform=`translateX(${c-b}px)`,h.style.transform=`translateX(${V}px)`,d.style.transform=`translateX(${V}px)`}else if(n>0||u>0)s.style.transform=`translateX(${n+b}px)`,h.style.transform=`translateX(${v+u}px)`,d.style.transform=`translateX(${v+u}px)`;else if(n<0||u<0){let c=Math.abs(n)+v-b;c=Math.sign(c)===-1?Math.abs(c):-c,s.style.transform=`translateX(${c}px)`,o.style.transform=`translateX(${c-b}px)`}}else f.classList.remove(l.hyphen,l.hyphenWrap),s.style.transform=`translateX(${n}px)`,o.style.transform=`translateX(${n}px)`,h.style.transform=`translateX(${u}px)`,d.style.transform=`translateX(${u}px)`}hideObscuredBoundingTickLabels(){let e=p(this.value);if(!this.hasHistogram&&!e&&!this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&this.labelHandles&&!this.precise||!this.hasHistogram&&!e&&!this.labelHandles&&this.precise||!this.hasHistogram&&!e&&this.labelHandles&&this.precise||!this.hasHistogram&&e&&!this.precise||this.hasHistogram&&!this.precise&&!this.labelHandles)return;let t=this.el.shadowRoot.querySelector(`.${l.thumbMinValue}`),a=this.el.shadowRoot.querySelector(`.${l.thumbValue}`),i=this.el.shadowRoot.querySelector(`.${l.tickMin}`),s=this.el.shadowRoot.querySelector(`.${l.tickMax}`);!t&&a&&i&&s&&(i.style.opacity=this.isMinTickLabelObscured(i,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,a)?"0":"1"),t&&a&&i&&s&&(i.style.opacity=this.isMinTickLabelObscured(i,t)||this.isMinTickLabelObscured(i,a)?"0":"1",s.style.opacity=this.isMaxTickLabelObscured(s,t)||this.isMaxTickLabelObscured(s,a)&&this.hasHistogram?"0":"1")}getHostOffset(e,t){let{left:a,right:i}=this.el.getBoundingClientRect();return e<a?a-e:t>i?-(t-i):0}getRangeLabelOverlap(e,t){let a=e.getBoundingClientRect(),i=t.getBoundingClientRect(),s=this.getFontSizeForElement(e),r=a.right+s-i.left;return Math.max(r,0)}isMinTickLabelObscured(e,t){let a=e.getBoundingClientRect(),i=t.getBoundingClientRect();return H(a,i)}isMaxTickLabelObscured(e,t){let a=e.getBoundingClientRect(),i=t.getBoundingClientRect();return H(a,i)}internalLabelFormatter(e,t){let a=this.labelFormatter;return a?a(e,t,this.formatValue)??this.formatValue(e):this.formatValue(e)}render(){let e=this.el.id||this.guid,t=p(this.value)?this.maxValue:this.value,a=this.minValue||this.min,i=this.shouldUseMinValue(),s=this.getUnitInterval(i?this.minValue:a)*100,r=this.getUnitInterval(t)*100,o=this.shouldMirror(),n=p(this.value),h=this.buildThumbType("max"),m=this.renderThumb({type:h,thumbPlacement:h.includes("histogram")?"below":"above",maxInterval:r,minInterval:s,mirror:o}),d=this.buildThumbType("min"),u=n?this.renderThumb({type:d,thumbPlacement:d.includes("histogram")||d.includes("precise")?"below":"above",maxInterval:r,minInterval:s,mirror:o}):null,k=n?"start":this.fillPlacement,v=k==="none"?{left:"unset",right:"unset"}:k==="end"?{left:`${o?s:r}%`,right:`${o?r:s}%`}:{left:`${o?100-r:s}%`,right:`${o?s:100-r}%`};return F(this.el,"id",e),U({disabled:this.disabled,children:x`<div aria-errormessage=${ae.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${K(this)} class=${g({[l.container]:!0,[l.containerRange]:n,[`scale--${this.scale}`]:!0})}>${this.renderGraph()}<div class=${g(l.track)} ${R(this.storeTrackRef)}><div class=${g(l.trackRange)} @pointerdown=${this.onTrackPointerDown} style=${$(v)}></div><div class=${g(l.ticks)}>${this.tickValues.map(f=>{let b=`${this.getUnitInterval(f)*100}%`,c=!1;if(k==="start"||k==="end")if(i)c=f>=this.minValue&&f<=this.maxValue;else{let y=k==="start"?a:t,V=k==="start"?t:this.max;c=f>=y&&f<=V}return x`<span class=${g({[l.tick]:!0,[l.tickActive]:c})} style=${$({left:o?"":b,right:o?b:""})}>${this.renderTickLabel(f)}</span>`})}</div></div><div class=${g(l.thumbContainer)}>${u}${m}${Z({component:this})}</div></div>${this.validationMessage&&this.status==="invalid"?ee({icon:this.validationIcon,id:ae.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderThumb({type:e,mirror:t,thumbPlacement:a,minInterval:i,maxInterval:s}){let r=e.includes("labeled"),o=e.includes("precise"),n=e.includes("min"),h=p(this.value),m=n?this.minValue:h?this.maxValue:this.value,d=n?"minValue":h?"maxValue":"value",u=n?this.minLabel:h?this.maxLabel:this.minLabel,k=n?this.minValue:m,v=d==="minValue"?this.internalLabelFormatter(this.minValue,"min"):d==="maxValue"?this.internalLabelFormatter(this.maxValue,"max"):this.internalLabelFormatter(m,"value"),f=n?{left:`${t?100-i:i}%`}:{right:`${t?s:100-s}%`},b=`${l.handleLabel} ${n?l.handleLabelMinValue:l.handleLabelValue}`,c=[...r?[x`<span aria-hidden=true class=${g(b)}>${v}</span>`,x`<span aria-hidden=true class=${`${b} ${l.static}`}>${v}</span>`,x`<span aria-hidden=true class=${`${b} ${l.transformed}`}>${v}</span>`]:[],x`<div class=${g(l.handle)}></div>`,o&&x`<div class=${g(l.handleExtension)}></div>`||""];return a==="below"&&c.reverse(),B(e,x`<div .ariaLabel=${u} aria-orientation=horizontal .ariaValueMax=${this.max} .ariaValueMin=${this.min} .ariaValueNow=${k} class=${g({[l.thumb]:!0,[l.thumbValue]:!n,[l.thumbActive]:this.lastDragProp!=="minMaxValue"&&this.dragProp===d,[l.thumbPrecise]:o,[l.thumbMinValue]:n})} data-value-prop=${d??P} @blur=${this.onThumbBlur} @focus=${this.onThumbFocus} @pointerdown=${this.onThumbPointerDown} role=slider style=${$(f)} tabindex=0 ${R(this.storeThumbRef)}>${c}</div>`)}renderGraph(){return this.histogram?x`<calcite-graph class=${g(l.graph)} .colorStops=${this.histogramStops} .data=${this.histogram} .highlightMax=${p(this.value)?this.maxValue:this.value} .highlightMin=${p(this.value)?this.minValue:this.min} .max=${this.max} .min=${this.min}></calcite-graph>`:null}renderTickLabel(e){let{hasHistogram:t,labelHandles:a,labelTicks:i,max:s,min:r,precise:o,value:n}=this,h=p(n),m=e===r,d=e===s,u=m||d;return i&&(!t&&(u||!o||!h)||t&&(u||!o&&!a))?x`<span class=${g({[l.tickLabel]:!0,[l.tickMin]:m,[l.tickMax]:d})}>${this.internalLabelFormatter(e,"tick")}</span>`:null}};E("calcite-slider",D);export{D as Slider};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{a as P}from"./KVUPM4TA.js";import{a as L}from"./L23DZQI6.js";import{a as M,c as F,e as W,g as b,h as O}from"./IUPHPQ5W.js";import{c as T,d as C,e as H}from"./RCSWE64T.js";import{a as z,b as I}from"./6HR6FZG5.js";import{a as m}from"./EV222TOH.js";import"./FYRRB4YU.js";import{a as V}from"./JZGJVQKB.js";import{a as p,b as c}from"./W7LKQZLC.js";import{e as $,p as h}from"./5VK4UUOT.js";import{b as E}from"./3QYPPYKC.js";import"./YQW2HZIZ.js";import{A as u,B as y,I as w,b as f,d as g,e as l,i as e,t as x,u as r,v as k,w as n}from"./TQ427GJX.js";var a={loader:"loader",clearButton:"clear-button",editingEnabled:"editing-enabled",inlineChild:"inline-child",inputIcon:"icon",prefix:"prefix",suffix:"suffix",wrapper:"element-wrapper",inputWrapper:"wrapper",actionWrapper:"action-wrapper",resizeIconWrapper:"resize-icon-wrapper"},q={validationMessage:"inputTextValidationMessage"},U={action:"action"},R=g`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) input{padding-inline-start:.5rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, .5rem)}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) .prefix,:host([scale=s]) .suffix{padding-inline:.5rem}:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=m]) input{padding-inline-start:.75rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, .75rem)}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) .prefix,:host([scale=m]) .suffix{padding-inline:.75rem}:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=l]) input{padding-inline-start:1rem;padding-inline-end:var(--calcite-internal-input-text-input-padding-inline-end, 1rem)}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) .prefix,:host([scale=l]) .suffix{padding-inline:1rem}:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}input{transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none;position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-radius:0;background-color:var(--calcite-color-foreground-1);font-family:inherit;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-1)}input:placeholder-shown{text-overflow:ellipsis}input{border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);color:var(--calcite-color-text-1)}input::placeholder,input:-ms-input-placeholder,input::-ms-input-placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-3)}input:focus{border-color:var(--calcite-color-brand);color:var(--calcite-color-text-1)}input[readonly]{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}input[readonly]:focus{color:var(--calcite-color-text-1)}calcite-icon{color:var(--calcite-color-text-3)}input{outline-color:transparent}input:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([status=invalid]) input{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;z-index:var(--calcite-z-index);display:block;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-foreground-1);outline-color:transparent;border-inline-start-width:0px}.clear-button:hover{background-color:var(--calcite-color-foreground-2);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button:hover calcite-icon{color:var(--calcite-color-text-1);transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}.clear-button:active{background-color:var(--calcite-color-foreground-3)}.clear-button:active calcite-icon{color:var(--calcite-color-text-1)}.clear-button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-input);background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium);line-height:1;color:var(--calcite-color-text-2)}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto)}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto)}:host([alignment=start]) input{text-align:start}:host([alignment=end]) input{text-align:end}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center}:host(.input--no-bottom-border) input{border-block-end-width:0px}:host(.input--no-top-border) input{border-block-start-width:0px}:host(.input--no-right-border) input{border-inline-end:0}:host(.input--no-left-border) input{border-inline-start:0}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,v=class extends k{constructor(){super(),this.actionWrapperEl=p(),this.attributeWatch=f(["autofocus","enterkeyhint","inputmode","spellcheck"],this.handleGlobalAttributesChanged),this.inputWrapperEl=p(),this.onHiddenFormInputInput=t=>{t.target.name===this.name&&this.setValue({value:t.target.value,origin:"direct"}),this.setFocus(),t.stopPropagation()},this.previousValueOrigin="initial",this.userChangedValue=!1,this._value="",this.slottedActionElDisabledInternally=!1,this.alignment="start",this.clearable=!1,this.disabled=!1,this.editingEnabled=!1,this.iconFlipRtl=!1,this.loading=!1,this.messages=V(),this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputTextChange=r(),this.calciteInputTextInput=r(),this.calciteInternalInputTextBlur=r(),this.calciteInternalInputTextFocus=r(),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={slottedActionElDisabledInternally:16,alignment:3,autocomplete:0,clearable:7,disabled:7,editingEnabled:7,form:3,icon:[3,{converter:u}],iconFlipRtl:7,label:1,loading:7,maxLength:11,messageOverrides:0,minLength:11,name:3,pattern:1,placeholder:1,prefixText:1,readOnly:7,required:7,scale:3,status:3,suffixText:1,validationIcon:[3,{converter:u}],validationMessage:1,validity:0,value:1}}static{this.styles=R}get isClearable(){return this.clearable&&this.value.length>0}get value(){return this._value}set value(t){let i=this._value;t!==i&&(this._value=t,this.valueWatcher(t,i))}async selectText(){this.childEl?.select()}async setFocus(){await E(this),this.childEl?.focus()}connectedCallback(){super.connectedCallback(),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),T(this),F(this),this.el.addEventListener(b,this.onHiddenFormInputInput)}async load(){this.requestedIcon=h({},this.icon,"text"),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value)}willUpdate(t){t.has("icon")&&(this.requestedIcon=h({},this.icon,"text"))}updated(){z(this)}loaded(){}disconnectedCallback(){super.disconnectedCallback(),C(this),W(this),this.el.removeEventListener(b,this.onHiddenFormInputInput)}handleGlobalAttributesChanged(){this.requestUpdate()}valueWatcher(t,i){this.userChangedValue||this.setValue({origin:"direct",previousValue:i,value:t||""}),this.userChangedValue=!1}keyDownHandler(t){this.readOnly||this.disabled||t.defaultPrevented||(this.isClearable&&t.key==="Escape"&&(this.clearInputTextValue(t),t.preventDefault()),t.key==="Enter"&&M(this)&&t.preventDefault())}onLabelClick(){this.setFocus()}clearInputTextValue(t){this.setValue({committing:!0,nativeEvent:t,origin:"user",value:""})}emitChangeIfUserModified(){this.previousValueOrigin==="user"&&this.value!==this.previousEmittedValue&&(this.calciteInputTextChange.emit(),this.setPreviousEmittedValue(this.value))}inputTextBlurHandler(){this.calciteInternalInputTextBlur.emit({element:this.childEl,value:this.value}),this.emitChangeIfUserModified()}clickHandler(t){if(this.disabled)return;let i=t.composedPath();!i.includes(this.inputWrapperEl.value)||i.includes(this.actionWrapperEl.value)||this.setFocus()}inputTextFocusHandler(){this.calciteInternalInputTextFocus.emit({element:this.childEl,value:this.value})}inputTextInputHandler(t){this.disabled||this.readOnly||this.setValue({nativeEvent:t,origin:"user",value:t.target.value})}inputTextKeyDownHandler(t){this.disabled||this.readOnly||t.key==="Enter"&&this.emitChangeIfUserModified()}syncHiddenFormInput(t){P("text",this,t)}setChildElRef(t){this.childEl=t}setInputValue(t){this.childEl&&(this.childEl.value=t)}setPreviousEmittedValue(t){this.previousEmittedValue=t}setPreviousValue(t){this.previousValue=t}setValue({committing:t=!1,nativeEvent:i,origin:o,previousValue:d,value:s}){this.setPreviousValue(d??this.value),this.previousValueOrigin=o,this.userChangedValue=o==="user"&&s!==this.value,this.value=s,o==="direct"&&(this.setInputValue(s),this.setPreviousEmittedValue(s)),i&&(this.calciteInputTextInput.emit().defaultPrevented?this.value=this.previousValue:t&&this.emitChangeIfUserModified())}render(){let t=$(this.el),i=l`<div class=${n(a.loader)}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`,o=l`<button .ariaLabel=${this.messages.clear} class=${n(a.clearButton)} .disabled=${this.disabled||this.readOnly} @click=${this.clearInputTextValue} tabindex=-1 type=button><calcite-icon icon=x .scale=${m(this.scale)}></calcite-icon></button>`,d=l`<calcite-icon class=${n(a.inputIcon)} .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${m(this.scale)}></calcite-icon>`,s=l`<div class=${n(a.prefix)}>${this.prefixText}</div>`,D=l`<div class=${n(a.suffix)}>${this.suffixText}</div>`,B=l`<input aria-errormessage=${q.validationMessage} .ariaInvalid=${this.status==="invalid"} .ariaLabel=${H(this)} autocomplete=${this.autocomplete??e} .autofocus=${this.el.autofocus} class=${n({[a.editingEnabled]:this.editingEnabled,[a.inlineChild]:!!this.inlineEditableEl})} value=${this.defaultValue??e} .disabled=${this.disabled?!0:null} enterkeyhint=${this.el.enterKeyHint??e} inputmode=${this.el.inputMode??e} maxlength=${this.maxLength??e} minlength=${this.minLength??e} name=${this.name??e} @blur=${this.inputTextBlurHandler} @focus=${this.inputTextFocusHandler} @input=${this.inputTextInputHandler} @keydown=${this.inputTextKeyDownHandler} pattern=${this.pattern??e} placeholder=${(this.placeholder||"")??e} .readOnly=${this.readOnly} .required=${this.required?!0:null} spellcheck=${this.el.spellcheck??e} tabindex=${(this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null)??e} type=text .value=${x(this.value??"")} ${c(this.setChildElRef)}>`;return I({disabled:this.disabled,children:l`<div class=${n({[a.inputWrapper]:!0,[y.rtl]:t==="rtl"})} ${c(this.inputWrapperEl)}>${this.prefixText?s:null}<div class=${n(a.wrapper)}>${B}${this.isClearable?o:null}${this.requestedIcon?d:null}${this.loading?i:null}</div><div class=${n(a.actionWrapper)} ${c(this.actionWrapperEl)}><slot name=${U.action}></slot></div>${this.suffixText?D:null}${O({component:this})}</div>${this.validationMessage&&this.status==="invalid"?L({icon:this.validationIcon,id:q.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}};w("calcite-input-text",v);export{v as InputText};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{k as f}from"./LRGSGD6G.js";function D(e,t,n){if(!e)return;let r=e.getTime(),a=!(t instanceof Date)||r>=t.getTime(),o=!(n instanceof Date)||r<=n.getTime();return a&&o}function p(e,t,n){if(!(e instanceof Date))return null;let r=e.getTime(),a=t instanceof Date&&r<t.getTime(),o=n instanceof Date&&r>n.getTime();return a?t:o?n:e}function Y(e,t=!1){if(e instanceof Date)return e;if(!e||typeof e!="string")return null;let n=e.split(/[: T-]/).map(parseFloat),r=new Date(n[0],(n[1]||1)-1,n[2]||1);if(r.setFullYear(n[0]),isNaN(r.getTime()))throw new Error(`Invalid ISO 8601 date: "${e}"`);return t?F(r):r}function O(e,t){if(!t)return null;let{separator:n}=t,r=M(e,t),{day:a,month:o}=r,i=y(r.year,t),s=new Date(i,o,a);s.setFullYear(i);let u=a>0,c=o>-1,g=!isNaN(s.getTime()),d=e.split(n).filter(h=>h).length>2,m=i.toString().length>0;return u&&c&&g&&d&&m?s:null}function y(e,t){return l(e,t,"read")}function x(e,t){return l(e,t,"write")}function l(e,t,n){if(t["default-calendar"]!=="buddhist")return e;let r=543*(n==="read"?-1:1);return e+r}function w(e,t){let{separator:n,unitOrder:r}=t,a=T(r),o=e.split(n).map(c=>f.delocalize(c)),i=o[a.indexOf("d")],s=o[a.indexOf("m")],u=o[a.indexOf("y")];return{day:i,month:s,year:u}}function I(e){if(e instanceof Date){let t=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return`${String(e.getFullYear()).padStart(4,"0")}-${t}-${n}`}return""}function N(e){let t=e.split("-");return{day:t[2],month:t[1],year:t[0]}}function $(e,t){return e instanceof Date&&t instanceof Date&&e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function b(e){let t=e.getMonth(),n=new Date(e);return n.setMonth(t-1),t===n.getMonth()?new Date(e.getFullYear(),t,0):n}function v(e,t){let n=new Date(e);return n.setMonth(t),n}function C(e,t,n){let r=new Date(e);return r.setDate(1),D(r,t,n)?r:p(r,t,n)}function E(e){let t=e.getMonth(),n=new Date(e);return n.setMonth(t+1),(t+2)%7===n.getMonth()%7?new Date(e.getFullYear(),t+2,0):n}function M(e,t){let{day:n,month:r,year:a}=w(e,t);return{day:parseInt(n),month:parseInt(r)-1,year:parseInt(a)}}function T(e){let t=["d","m","y"],n=e.toLowerCase();return t.sort((r,a)=>n.indexOf(r)-n.indexOf(a))}function L(e,t){let n=e.getTime(),r=t.getTime();return(n-r)/(1e3*3600*24)}function F(e){return e.setHours(23,59,59,999),e}function j(e,t){return e&&t&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}export{D as a,p as b,Y as c,O as d,y as e,x as f,w as g,I as h,N as i,$ as j,b as k,v as l,C as m,E as n,T as o,L as p,j as q};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{b as t}from"./ZBMTRW4F.js";import"./JDC4CCNQ.js";var Y={name:"zh-cn",weekdays:"\u661F\u671F\u65E5_\u661F\u671F\u4E00_\u661F\u671F\u4E8C_\u661F\u671F\u4E09_\u661F\u671F\u56DB_\u661F\u671F\u4E94_\u661F\u671F\u516D".split("_"),weekdaysShort:"\u5468\u65E5_\u5468\u4E00_\u5468\u4E8C_\u5468\u4E09_\u5468\u56DB_\u5468\u4E94_\u5468\u516D".split("_"),weekdaysMin:"\u65E5_\u4E00_\u4E8C_\u4E09_\u56DB_\u4E94_\u516D".split("_"),months:"\u4E00\u6708_\u4E8C\u6708_\u4E09\u6708_\u56DB\u6708_\u4E94\u6708_\u516D\u6708_\u4E03\u6708_\u516B\u6708_\u4E5D\u6708_\u5341\u6708_\u5341\u4E00\u6708_\u5341\u4E8C\u6708".split("_"),monthsShort:"1\u6708_2\u6708_3\u6708_4\u6708_5\u6708_6\u6708_7\u6708_8\u6708_9\u6708_10\u6708_11\u6708_12\u6708".split("_"),ordinal:function(e,r){switch(r){case"W":return e+"\u5468";default:return e+"\u65E5"}},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY\u5E74M\u6708D\u65E5",LLL:"YYYY\u5E74M\u6708D\u65E5Ah\u70B9mm\u5206",LLLL:"YYYY\u5E74M\u6708D\u65E5ddddAh\u70B9mm\u5206",l:"YYYY/M/D",ll:"YYYY\u5E74M\u6708D\u65E5",lll:"YYYY\u5E74M\u6708D\u65E5 HH:mm",llll:"YYYY\u5E74M\u6708D\u65E5dddd HH:mm"},relativeTime:{future:"%s\u5185",past:"%s\u524D",s:"\u51E0\u79D2",m:"1 \u5206\u949F",mm:"%d \u5206\u949F",h:"1 \u5C0F\u65F6",hh:"%d \u5C0F\u65F6",d:"1 \u5929",dd:"%d \u5929",M:"1 \u4E2A\u6708",MM:"%d \u4E2A\u6708",y:"1 \u5E74",yy:"%d \u5E74"},meridiem:function(e,r){var _=e*100+r;return _<600?"\u51CC\u6668":_<900?"\u65E9\u4E0A":_<1100?"\u4E0A\u5348":_<1300?"\u4E2D\u5348":_<1800?"\u4E0B\u5348":"\u665A\u4E0A"}};t.locale(Y,null,!0);var m=Y;export{m as default};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{a as r}from"./5URVZAO7.js";import{a as k}from"./VY7WVWHH.js";import{a as l}from"./EV222TOH.js";import"./FYRRB4YU.js";import{a as b}from"./JZGJVQKB.js";import{a as f,b as a}from"./W7LKQZLC.js";import{p as s,u}from"./5VK4UUOT.js";import{b as v}from"./3QYPPYKC.js";import"./YQW2HZIZ.js";import{A as g,I as p,d as h,e as n,u as o,v as m,w as e}from"./TQ427GJX.js";var c={title:"title",message:"message",link:"link",actionsEnd:"actions-end"},i={actionsEnd:"actions-end",close:"notice-close",container:"container",content:"notice-content",icon:"notice-icon"},x=h`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--2);line-height:1.375}:host([scale=s]) .notice-close{padding:.5rem}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=m]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size--1);line-height:1.375}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){margin-block:.125rem;font-size:var(--calcite-font-size-1);line-height:1.375}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([scale=l]) ::slotted(calcite-link){margin-block:.125rem;font-size:var(--calcite-font-size-0);line-height:1.375}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-inline-start:var(--calcite-border-width-md) solid;box-shadow:0 0 0 0 transparent;background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}.notice-close{outline-color:transparent}.notice-close:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);overflow:visible}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-close-text-color-hover, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);margin-inline-end:var(--calcite-notice-spacing-token-small);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-small)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto}.notice-close{display:flex;cursor:pointer;align-items:center;align-self:stretch;border-style:none;background-color:transparent;outline:2px solid transparent;outline-offset:2px;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;-webkit-appearance:none;color:var(--calcite-notice-close-text-color, var(--calcite-color-text-3))}.notice-close:hover,.notice-close:focus{background-color:var(--calcite-notice-close-background-color-focus, var(--calcite-color-foreground-2));color:var(--calcite-notice-close-text-color-hover, var(--calcite-color-text-1))}.notice-close:active{background-color:var(--calcite-notice-close-background-color-press, var(--calcite-color-foreground-3))}.actions-end{display:flex;align-self:stretch}:host([kind=brand]) .container{border-color:var(--calcite-color-brand)}:host([kind=brand]) .container .notice-icon{color:var(--calcite-color-brand)}:host([kind=info]) .container{border-color:var(--calcite-color-status-info)}:host([kind=info]) .container .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger]) .container{border-color:var(--calcite-color-status-danger)}:host([kind=danger]) .container .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success]) .container{border-color:var(--calcite-color-status-success)}:host([kind=success]) .container .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning]) .container{border-color:var(--calcite-color-status-warning)}:host([kind=warning]) .container .notice-icon{color:var(--calcite-color-status-warning)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends m{constructor(){super(...arguments),this.closeButton=f(),this.transitionProp="opacity",this.hasActionEnd=!1,this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.messages=b(),this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=o({cancelable:!1}),this.calciteNoticeBeforeOpen=o({cancelable:!1}),this.calciteNoticeClose=o({cancelable:!1}),this.calciteNoticeOpen=o({cancelable:!1})}static{this.properties={hasActionEnd:16,closable:7,icon:[3,{converter:g}],iconFlipRtl:7,kind:3,messageOverrides:0,open:7,scale:3,width:3}}static{this.styles=x}async setFocus(){await v(this);let t=this.el.querySelector("calcite-link");if(!(!this.closeButton.value&&!t)){if(t)return t.setFocus();this.closeButton.value&&this.closeButton.value.focus()}}async load(){this.requestedIcon=s(r,this.icon,this.kind)}willUpdate(t){t.has("open")&&(this.hasUpdated||this.open!==!1)&&k(this),(t.has("icon")||t.has("kind")&&(this.hasUpdated||this.kind!=="brand"))&&(this.requestedIcon=s(r,this.icon,this.kind))}loaded(){}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}setTransitionEl(t){this.transitionEl=t}close(){this.open=!1}handleActionsEndSlotChange(t){this.hasActionEnd=u(t)}render(){let t=n`<button .ariaLabel=${this.messages.close} class=${e(i.close)} @click=${this.close} ${a(this.closeButton)}><calcite-icon icon=x .scale=${l(this.scale)}></calcite-icon></button>`;return n`<div class=${e(i.container)} ${a(this.setTransitionEl)}>${this.requestedIcon?n`<div class=${e(i.icon)}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${l(this.scale)}></calcite-icon></div>`:null}<div class=${e(i.content)}><slot name=${c.title}></slot><slot name=${c.message}></slot><slot name=${c.link}></slot></div><div class=${e(i.actionsEnd)} .hidden=${!this.hasActionEnd}><slot name=${c.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?t:null}</div>`}};p("calcite-notice",d);export{d as Notice};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{a as v,b as l,e as E,f as F,k as u,l as x,n as y,o as O,q as d}from"./JWG3XWKS.js";import{k as h}from"./LRGSGD6G.js";import{i as P,j as I,k as A}from"./2UCHSNWA.js";import{a as f}from"./DS66T4UB.js";import{a as g,b as p}from"./W7LKQZLC.js";import{i as w,k as S}from"./5VK4UUOT.js";import"./YQW2HZIZ.js";import{I as Y,d as D,e as r,i as M,t as $,u as C,v as z,w as c}from"./TQ427GJX.js";var L=D`:host{display:block;--calcite-select-internal-border-width: 0;--calcite-select-internal-icon-border-inline-end-width: 0;--calcite-internal-select-font-weight: var(--calcite-font-weight-medium);--calcite-select-text-color: var(--calcite-color-text-1)}.header{display:flex;block-size:100%;align-items:center;justify-content:space-between}.chevron-container{display:flex;align-items:center}:host([scale=s]){block-size:24px;margin:var(--calcite-spacing-xs);margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .chevron-container,:host([scale=s]) .chevron{min-inline-size:24px;block-size:24px}:host([scale=m]){block-size:32px;margin:var(--calcite-spacing-sm);margin-inline-start:var(--calcite-spacing-sm-plus)}:host([scale=m]) .chevron-container,:host([scale=m]) .chevron{min-inline-size:32px;block-size:32px;--calcite-internal-action-padding-block: var(--calcite-spacing-xxs)}:host([scale=l]){block-size:44px;margin:var(--calcite-spacing-xs);margin-inline-start:var(--calcite-spacing-sm)}:host([scale=l]) .chevron-container,:host([scale=l]) .chevron{min-inline-size:44px;block-size:44px;--calcite-internal-action-padding-block: var(--calcite-spacing-sm-plus)}.chevron{box-sizing:content-box;display:flex;block-size:100%;inline-size:100%;flex-grow:0;cursor:pointer;align-items:center;justify-content:center;border-style:none;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);outline-color:transparent;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;--calcite-internal-action-padding-block: 0}.chevron:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.chevron:hover,.chevron:focus{background-color:var(--calcite-color-foreground-2);fill:var(--calcite-color-text-1);color:var(--calcite-color-text-1)}.chevron:active{background-color:var(--calcite-color-foreground-3)}.chevron[aria-disabled=true]{pointer-events:none}.month-year-container{display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:center;justify-content:flex-start;text-align:center;line-height:1;gap:var(--calcite-spacing-xxs)}.month-year-container.range-calendar{justify-content:center}.year-container{position:relative;display:flex;block-size:100%}.suffix{display:flex;align-items:center}.year,.suffix{background-color:var(--calcite-color-foreground-1);margin-inline:var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg)}.year{position:relative;display:inline-block;border-style:none;background-color:transparent;text-align:center;font-family:inherit;outline-color:transparent;inline-size:44px}.year:hover{transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:outline-color;outline:2px solid var(--calcite-color-border-2);outline-offset:-2px}.year:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.month-select{--calcite-select-spacing-inline: var(--calcite-spacing-xxs);--calcite-internal-select-spacing-block: var(--calcite-spacing-xxs);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-xxs);--calcite-select-font-size: var(--calcite-font-size-md);--calcite-select-line-height: var(--calcite-font-line-height-fixed-lg)}:host([scale=s]) .month-year-container .month-select{--calcite-select-spacing-inline: var(--calcite-spacing-base);--calcite-internal-select-spacing-block: var(--calcite-spacing-base);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-base);--calcite-internal-select-block-size: 24px;--calcite-select-font-size: var(--calcite-font-size);--calcite-select-line-height: var(--calcite-font-line-height-fixed-base)}:host([scale=s]) .month-year-container .year{inline-size:40px}:host([scale=s]) .month-year-container .year,:host([scale=s]) .month-year-container .suffix{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base)}:host([scale=l]) .month-year-container .month-select{--calcite-select-spacing-inline: var(--calcite-spacing-sm);--calcite-internal-select-spacing-block: var(--calcite-spacing-sm);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-sm);--calcite-internal-select-block-size: 44px;--calcite-select-font-size: var(--calcite-font-size-lg);--calcite-select-line-height: var(--calcite-font-line-height-fixed-xl)}:host([scale=l]) .month-year-container .year{inline-size:48px}:host([scale=l]) .month-year-container .year,:host([scale=l]) .month-year-container .suffix{font-size:var(--calcite-font-size-lg);line-height:var(--calcite-font-line-height-fixed-xl)}:host([hidden]){display:none}[hidden]{display:none}`,o={header:"header",chevron:"chevron",chevronContainer:"chevron-container",chevronContainerLeft:"chevron-container--left",chevronContainerRight:"chevron-container--right",monthYearContainer:"month-year-container",monthPicker:"month-select",rangeCalendar:"range-calendar",suffix:"suffix",yearContainer:"year-container"},W={chevronLeft:"chevron-left",chevronRight:"chevron-right"},K=16,b=class extends z{constructor(){super(...arguments),this.monthPickerEl=g(),this.yearInputEl=g(),this.calciteInternalDatePickerMonthHeaderSelectChange=C({cancelable:!1})}static{this.properties={nextMonthDate:16,prevMonthDate:16,activeDate:0,headingLevel:9,localeData:0,max:0,messages:0,min:0,monthStyle:1,position:1,scale:3,selectedDate:0}}static{this.styles=L}connectedCallback(){super.connectedCallback(),this.setNextPrevMonthDates()}load(){this.parentDatePickerEl=S(this.el,"calcite-date-picker")}willUpdate(e){this.hasUpdated&&(e.has("activeDate")||e.has("localeData"))&&this.setYearSelectMenuWidth(),this.hasUpdated&&e.has("scale")&&this.setYearSelectWidthOffset(),(e.has("min")||e.has("max")||e.has("activeDate"))&&this.setNextPrevMonthDates()}loaded(){this.setYearSelectWidthOffset()}setNextPrevMonthDates(){this.activeDate&&(this.nextMonthDate=l(y(this.activeDate),this.min,this.max),this.prevMonthDate=l(u(this.activeDate),this.min,this.max))}onYearKey(e){let t=this.parseCalendarYear(e.target.value);switch(e.key){case"ArrowDown":e.preventDefault(),this.setYear({localizedYear:t,offset:-1});break;case"ArrowUp":e.preventDefault(),this.setYear({localizedYear:t,offset:1});break}}formatCalendarYear(e){return h.localize(`${F(e,this.localeData)}`)}parseCalendarYear(e){return h.localize(`${E(Number(h.delocalize(e)),this.localeData)}`)}onYearChange(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value)})}onYearInput(e){this.setYear({localizedYear:this.parseCalendarYear(e.target.value),commit:!1})}prevMonthClick(e){this.handleArrowClick(e,this.prevMonthDate)}prevMonthKeydown(e){f(e.key)&&this.prevMonthClick(e)}nextMonthClick(e){this.handleArrowClick(e,this.nextMonthDate)}nextMonthKeydown(e){f(e.key)&&this.nextMonthClick(e)}async handleArrowClick(e,t){e.preventDefault(),await this.handlePenultimateValidMonth(e),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(t)}handleMonthChange(e){let t=e.target,{abbreviated:i,wide:a}=this.localeData.months,s=(this.monthStyle==="wide"?a:i).indexOf(t.value),n=x(this.activeDate,s);v(n,this.min,this.max)||(n=l(n,this.min,this.max)),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(n),this.setYearSelectMenuWidth()}getInRangeDate({localizedYear:e,offset:t=0}){let{min:i,max:a,activeDate:s}=this,n=Number(h.delocalize(e)),N=n.toString().length,m=isNaN(n)?!1:n+t,R=m&&(!i||i.getFullYear()<=m)&&(!a||a.getFullYear()>=m);if(m&&R&&N===e.length){let k=new Date(s);return k.setFullYear(m),l(k,i,a)}}setYear({localizedYear:e,commit:t=!0,offset:i=0}){let{yearInputEl:{value:a},activeDate:s}=this,n=this.getInRangeDate({localizedYear:e,offset:i});n&&this.calciteInternalDatePickerMonthHeaderSelectChange.emit(n),t&&(a.value=this.formatCalendarYear((n||s).getFullYear()))}setYearSelectWidthOffset(){this.yearSelectWidthOffset=K+3*parseInt(this.getYearSelectPadding()),this.setYearSelectMenuWidth()}setYearSelectMenuWidth(){let e=this.monthPickerEl.value;e&&requestAnimationFrame(()=>{let t=getComputedStyle(e),i=`${t.fontStyle} ${t.fontVariant} ${t.fontWeight} ${t.fontSize}/${t.lineHeight} ${t.fontFamily}`,a=this.localeData.months[this.monthStyle][this.activeDate.getMonth()],s=Math.ceil(w(a,i));e.style.width=`${s+this.yearSelectWidthOffset}px`})}isMonthInRange(e){let t=x(this.activeDate,e);return!this.min&&!this.max||v(t,this.min,this.max)?!0:d(t,this.max)||d(t,this.min)}async handlePenultimateValidMonth(e){let t=e.target.getAttribute("data-direction")==="left",i;if(t&&this.min){let a=l(u(this.activeDate),this.min,this.max);i=d(a,this.min)}else if(this.max){let a=l(y(this.activeDate),this.min,this.max);i=d(a,this.max)}i&&(this.position?this.yearInputEl.value.focus():await(t?this.nextMonthAction.setFocus():this.prevMonthAction.setFocus()))}getPx(e){let t=Number(e.replace(/[rem|px]/g,""));return e.includes("rem")?`${t*16}px`:`${t}px`}getYearSelectPadding(){let e;switch(this.scale){case"l":e=A;break;case"s":e=P;break;default:e=I;break}return this.getPx(e)}render(){return r`<div class=${c(o.header)}>${this.renderContent()}</div>`}renderContent(){let{localeData:e,activeDate:t}=this;if(!t||!e)return null;if(this.parentDatePickerEl){let{numberingSystem:s,lang:n}=this.parentDatePickerEl;h.numberFormatOptions={useGrouping:!1,...s&&{numberingSystem:s},...n&&{locale:n}}}let i=O(e.unitOrder),a=i.indexOf("y")<i.indexOf("m");return r`${this.position&&r`<div class=${c({[o.chevronContainer]:!0})}>${this.position==="start"&&this.renderChevron("left")||""}</div>`||""}<div class=${c({[o.monthYearContainer]:!0,[o.rangeCalendar]:!!this.position})}>${this.renderMonthYearContainer(a)}</div>${!this.position&&r`<div class=${c({[o.chevronContainer]:!0})}>${this.renderChevron("left")}</div>`||""}<div class=${c({[o.chevronContainer]:!0})}>${this.position!=="start"&&this.renderChevron("right")||""}</div>`}renderMonthYearContainer(e){return e?[this.renderYearInput(),this.renderMonthPicker()]:[this.renderMonthPicker(),this.renderYearInput()]}renderMonthPicker(){let e=this.activeDate.getMonth(),t=this.localeData.months[this.monthStyle];return r`<calcite-select class=${c(o.monthPicker)} .label=${this.messages.monthMenu} @calciteSelectChange=${this.handleMonthChange} width=auto ${p(this.monthPickerEl)}>${t.map((i,a)=>r`<calcite-option .disabled=${!this.isMonthInRange(a)} .selected=${a===e} .value=${i}>${i}</calcite-option>`)}</calcite-select>`}renderYearInput(){let e=this.localeData.year?.suffix,t=this.formatCalendarYear(this.activeDate.getFullYear());return r`<span class=${c(o.yearContainer)}><input .ariaLabel=${this.messages.year} class=${c({year:!0})} inputmode=numeric maxlength=4 minlength=1 @change=${this.onYearChange} @input=${this.onYearInput} @keydown=${this.onYearKey} pattern=\\d* type=text .value=${$(t??"")} ${p(this.yearInputEl)}>${e&&r`<span class=${c(o.suffix)}>${e}</span>`||""}</span>`}renderChevron(e){let t=e==="right",i=d(t?this.nextMonthDate:this.prevMonthDate,this.activeDate)||!v(this.activeDate,this.min,this.max);return r`<calcite-action alignment=center .ariaDisabled=${i} .ariaLabel=${t?this.messages.nextMonth:this.messages.prevMonth} class=${c(o.chevron)} compact data-direction=${e??M} .disabled=${i} .icon=${t?W.chevronRight:W.chevronLeft} icon-flip-rtl @click=${t?this.nextMonthClick:this.prevMonthClick} @keydown=${t?this.nextMonthKeydown:this.prevMonthKeydown} role=button .scale=${this.scale==="l"?"l":"m"} .text=${t?this.messages.nextMonth:this.messages.prevMonth} ${p(a=>t?this.nextMonthAction=a:this.prevMonthAction=a)}></calcite-action>`}};Y("calcite-date-picker-month-header",b);export{b as DatePickerMonthHeader};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{b as r}from"./ZBMTRW4F.js";import"./JDC4CCNQ.js";var t={name:"en-gb",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekStart:1,yearStart:4,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},ordinal:function(e){var a=["th","st","nd","rd"],_=e%100;return"["+e+(a[(_-20)%10]||a[_]||a[0])+"]"}};r.locale(t,null,!0);var u=t;export{u as default};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{e as b,f as y}from"./3H4RHBLC.js";import{a as h}from"./7IVGC34Z.js";import"./CMPWL5OR.js";import{a as m}from"./JZGJVQKB.js";import"./W7LKQZLC.js";import"./Q4DBJLCB.js";import{n as u,v as x}from"./5VK4UUOT.js";import{b as g}from"./3QYPPYKC.js";import"./YQW2HZIZ.js";import{I as p,d as r,e,u as c,v as d,w as i}from"./TQ427GJX.js";var f={actionGroupEnd:"action-group--end",container:"container"},$={expandTooltip:"expand-tooltip"},C=r`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:block}@keyframes in{0%{opacity:0}to{opacity:1}}:host{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;border-radius:var(--calcite-action-pad-corner-radius, .125rem);background:transparent}:host([expanded][layout=vertical]) .container{max-inline-size:var(--calcite-action-pad-expanded-max-width, auto)}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:1px}.container{display:inline-flex;flex-direction:column;overflow:hidden;--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);gap:var(--calcite-action-pad-items-space, 0);border-radius:calc(var(--calcite-action-pad-corner-radius, .125rem) * 2);background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}.action-group--bottom{flex-grow:1;justify-content:flex-end;padding-block-end:0px}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]) .container .action-group--bottom{padding:0}:host([layout=horizontal]) .container ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:1px}:host([hidden]){display:none}[hidden]{display:none}`,n=class extends d{constructor(){super(),this.mutationObserver=h("mutation",()=>this.updateGroups()),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionPadToggle.emit()},this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.messages=m(),this.overlayPositioning="absolute",this.scale="m",this.calciteActionPadToggle=c({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}static{this.properties={expandTooltip:16,actionsEndGroupLabel:1,expandDisabled:7,expanded:7,layout:3,messageOverrides:0,overlayPositioning:3,position:3,scale:3}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=C}async setFocus(){await g(this),u(this.el)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}async load(){}willUpdate(t){t.has("expanded")&&this.hasUpdated&&b({el:this.el,expanded:this.expanded}),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups()}loaded(){}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}actionMenuOpenHandler(t){if(t.target.menuOpen){let a=t.composedPath();this.actionGroups?.forEach(o=>{a.includes(o)||(o.menuOpen=!1)})}}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,this.setGroupLayout(t)}setGroupLayout(t){t.forEach(a=>a.layout=this.layout)}handleDefaultSlotChange(){this.updateGroups()}handleTooltipSlotChange(t){let a=x(t).filter(o=>o?.matches("calcite-tooltip"));this.expandTooltip=a[0]}renderBottomActionGroup(){let{expanded:t,expandDisabled:a,messages:o,el:v,position:w,toggleExpand:G,scale:s,layout:k,actionsEndGroupLabel:E,overlayPositioning:T}=this,l=a?null:y({collapseLabel:o.collapseLabel,collapseText:o.collapse,el:v,expandLabel:o.expandLabel,expandText:o.expand,expanded:t,position:w,scale:s,toggle:G,tooltip:this.expandTooltip});return l?e`<calcite-action-group class=${i(f.actionGroupEnd)} .label=${E} .layout=${k} .overlayPositioning=${T} .scale=${s}><slot name=${$.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${l}</calcite-action-group>`:null}render(){return e`<div class=${i(f.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`}};p("calcite-action-pad",n);export{n as ActionPad};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{p as e}from"./5VK4UUOT.js";import"./YQW2HZIZ.js";import{A as c,I as r,d as n,e as i,v as o,z as a}from"./TQ427GJX.js";var l={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},d=n`:host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity:1;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;--calcite-input-message-spacing-value: .25rem;margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;margin-inline-end:.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-color-status-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-color-status-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-color-status-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-color-brand)}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}`,s=class extends o{constructor(){super(...arguments),this.iconFlipRtl=!1,this.scale="m",this.status="idle"}static{this.properties={icon:[3,{converter:c}],iconFlipRtl:7,scale:3,status:3}}static{this.styles=d}connectedCallback(){super.connectedCallback(),this.requestedIcon=e(l,this.icon,this.status)}willUpdate(t){(t.has("status")&&(this.hasUpdated||this.status!=="idle")||t.has("icon"))&&(this.requestedIcon=e(l,this.icon,this.status))}render(){let t=this.el.hidden;return a(this.el,"calcite-hydrated-hidden",t),i`${this.renderIcon(this.requestedIcon)}<slot></slot>`}renderIcon(t){if(t)return i`<calcite-icon class="calcite-input-message-icon" .flipRtl=${this.iconFlipRtl} .icon=${t} scale=s></calcite-icon>`}};r("calcite-input-message",s);export{s as InputMessage};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
import{a as c}from"./7IVGC34Z.js";import{I as d,d as i,e as r,u as h,v as o}from"./TQ427GJX.js";var p=i`:host{display:block}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends o{constructor(){super(...arguments),this.mutationObserver=c("mutation",()=>{this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}),this.disabled=!1,this.calciteInternalOptionChange=h({cancelable:!1})}static{this.properties={disabled:7,label:1,selected:7,value:1}}static{this.styles=p}connectedCallback(){super.connectedCallback(),this.ensureTextContentDependentProps(),this.mutationObserver?.observe(this.el,{attributeFilter:["label","value"],characterData:!0,childList:!0,subtree:!0})}willUpdate(e){e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&this.handlePropChange(this.disabled,e.get("disabled"),"disabled"),e.has("label")&&this.handlePropChange(this.label,e.get("label"),"label"),e.has("selected")&&this.handlePropChange(this.selected,e.get("selected"),"selected"),e.has("value")&&this.handlePropChange(this.value,e.get("value"),"value")}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}handlePropChange(e,l,t){(t==="label"||t==="value")&&this.ensureTextContentDependentProps(),this.calciteInternalOptionChange.emit()}ensureTextContentDependentProps(){let{el:{textContent:e},internallySetLabel:l,internallySetValue:t,label:s,value:n}=this;(!s||s===l)&&(this.label=e,this.internallySetLabel=e),(n==null||n===t)&&(this.value=e,this.internallySetValue=e)}render(){return r`<slot>${this.label}</slot>`}};d("calcite-option",a);export{a as Option};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
/*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
2
|
+
See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
|
3
|
+
v3.0.0-next.123 */
|
4
|
+
var l=["date","datetime-local","month","number","range","time","week"],m=["email","password","search","tel","text","url"],u=["email","password","search","tel","text","textarea","url"];function a(t,n,e,r){let s=e.toLowerCase(),o=t[e];r&&o!=null?n.setAttribute(s,`${o}`):n.removeAttribute(s)}function x(t,n,e){e.type=t==="textarea"?"text":t;let r=l.includes(t),s=n;a(s,e,"min",r),a(s,e,"max",r),a(s,e,"step",r);let o=u.includes(t),i=n;a(i,e,"minLength",o),a(i,e,"maxLength",o);let c=m.includes(t);a(i,e,"pattern",c)}export{x as a};
|