@esri/calcite-components 5.1.1 → 5.1.2-next.1
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/cdn/{ROJYTRK6.js → 2CU7DKE2.js} +1 -1
- package/dist/cdn/{QEJBAQOY.js → 2L2UNCTJ.js} +1 -1
- package/dist/cdn/{JDVSVNSE.js → 2NTH4LWU.js} +1 -1
- package/dist/cdn/{IHYNJVS4.js → 35VGR3XO.js} +1 -1
- package/dist/cdn/3AQRM2KH.js +2 -0
- package/dist/cdn/{PB3LTBSS.js → 3FCQ4V5Q.js} +1 -1
- package/dist/cdn/{5O6YGOJE.js → 3HEBAEY5.js} +1 -1
- package/dist/cdn/{6V3FX2W2.js → 3SZQJ5VM.js} +1 -1
- package/dist/cdn/{JPPCKAMD.js → 46UF5N55.js} +1 -1
- package/dist/cdn/47TWTWBY.js +2 -0
- package/dist/cdn/{V7PYDILT.js → 47Z3743F.js} +1 -1
- package/dist/cdn/{KCN4PBFZ.js → 4DBX7CV4.js} +1 -1
- package/dist/cdn/{VDJMOKVP.js → 4GWDVUXR.js} +1 -1
- package/dist/cdn/{GDFQSWZ7.js → 4K6O44GL.js} +1 -1
- package/dist/cdn/{PM5MZR4Z.js → 53JE6CCO.js} +1 -1
- package/dist/cdn/55B3DHRL.js +2 -0
- package/dist/cdn/{ZRMTOZ3B.js → 56Z7V2KB.js} +1 -1
- package/dist/cdn/{ELXBBUY5.js → 5FGJKE6I.js} +1 -1
- package/dist/cdn/{47Q2AE5B.js → 5HHFIGVW.js} +1 -1
- package/dist/cdn/{OWIJSXYV.js → 5LD3NWQK.js} +1 -1
- package/dist/cdn/{3TYJSBP3.js → 6BEQZOCM.js} +1 -1
- package/dist/cdn/{G2G6FHMB.js → 6G45I3QG.js} +1 -1
- package/dist/cdn/{TYQB2FN4.js → 6G7XHQRI.js} +1 -1
- package/dist/cdn/{BSMPD6VA.js → 6IQITD2D.js} +1 -1
- package/dist/cdn/6JEYN7OP.js +2 -0
- package/dist/cdn/{JCVLN6XL.js → 6KRTBFQA.js} +1 -1
- package/dist/cdn/{2P3LOGHK.js → 6L35BYWP.js} +1 -1
- package/dist/cdn/{HA65OOQD.js → 6QWHLAKJ.js} +1 -1
- package/dist/cdn/{IMUM436K.js → 7QAG4N44.js} +1 -1
- package/dist/cdn/7Z3FNQKK.js +2 -0
- package/dist/cdn/{RUUD543Z.js → A4PS7QHZ.js} +1 -1
- package/dist/cdn/A5BQ2FR3.js +2 -0
- package/dist/cdn/{IRANNKJ2.js → AB5SZONG.js} +1 -1
- package/dist/cdn/{ND7KY7GE.js → AE6WIDBA.js} +1 -1
- package/dist/cdn/{QC5NB4VL.js → AFYLPOO3.js} +1 -1
- package/dist/cdn/{ODGJXDZK.js → AH3GOPDP.js} +1 -1
- package/dist/cdn/{CDNETLLO.js → AXFCT6T6.js} +1 -1
- package/dist/cdn/{4UHTWXNV.js → B2QW54L5.js} +1 -1
- package/dist/cdn/{V3X47NBI.js → BFDEONWS.js} +1 -1
- package/dist/cdn/BFERIIZD.js +2 -0
- package/dist/cdn/{U4GRIQVY.js → BFNSTPU4.js} +1 -1
- package/dist/cdn/{5D7IEY6J.js → BGDVBJXB.js} +1 -1
- package/dist/cdn/BHFCZH65.js +2 -0
- package/dist/cdn/{MHE72N53.js → BINIHZVX.js} +1 -1
- package/dist/cdn/BNZVUF7A.js +2 -0
- package/dist/cdn/{YYAYEKGB.js → C6GAKO4D.js} +1 -1
- package/dist/cdn/{E7GXKIIO.js → CIOGICAT.js} +1 -1
- package/dist/cdn/{ETEMG44R.js → CMB4P6YF.js} +1 -1
- package/dist/cdn/{Z3IP3JBL.js → CNZSHYJN.js} +1 -1
- package/dist/cdn/{5X2CR2NN.js → CQMH7FNX.js} +1 -1
- package/dist/cdn/{NBAYHB3K.js → CR6V2BRH.js} +1 -1
- package/dist/cdn/{6HRHKHF5.js → D2QZJE6E.js} +1 -1
- package/dist/cdn/{7SDGC2RW.js → DF52STT7.js} +1 -1
- package/dist/cdn/{NTD2BJWG.js → DHBXZGPJ.js} +1 -1
- package/dist/cdn/{WER7FADP.js → DJWXY3E4.js} +1 -1
- package/dist/cdn/{YKL7MIG5.js → DS7N2ZRJ.js} +1 -1
- package/dist/cdn/{6XMUSNRS.js → DWQYJRFK.js} +1 -1
- package/dist/cdn/{2JJ5YBBT.js → E7Y2KS7L.js} +1 -1
- package/dist/cdn/{QGF4JJQO.js → ECBDXQWQ.js} +1 -1
- package/dist/cdn/{XRUJ4D7O.js → EF64PC2O.js} +1 -1
- package/dist/cdn/{Q56UST3A.js → EHJWHGSU.js} +1 -1
- package/dist/cdn/{SJCWFQNF.js → F5JHKEU6.js} +1 -1
- package/dist/cdn/{SNY2QKQJ.js → FLL5S6IX.js} +1 -1
- package/dist/cdn/{DP2TY4KH.js → FQMDLHY6.js} +1 -1
- package/dist/cdn/{PHEMAFCT.js → GAAAQTI2.js} +1 -1
- package/dist/cdn/{TVU7KEKM.js → GNCY5J35.js} +1 -1
- package/dist/cdn/{7B4FOF3S.js → GUYOZ5IV.js} +1 -1
- package/dist/cdn/{TTCZVBEF.js → HLQG3GYF.js} +1 -1
- package/dist/cdn/{LOJBKHVF.js → HP4MJQEO.js} +1 -1
- package/dist/cdn/{ID2LCYSN.js → HWUQQAC7.js} +1 -1
- package/dist/cdn/{PIR7PWBO.js → I2SPPXEM.js} +1 -1
- package/dist/cdn/{GDYGEN45.js → IFDDWATG.js} +1 -1
- package/dist/cdn/{NG7BG3QY.js → IHG36OXA.js} +1 -1
- package/dist/cdn/IPBRUCJX.js +2 -0
- package/dist/cdn/{ALLL4LZ4.js → IPHJHRQ6.js} +1 -1
- package/dist/cdn/J2KX3JW3.js +2 -0
- package/dist/cdn/{E6X6BQLH.js → J2ZQ3UJT.js} +1 -1
- package/dist/cdn/{CEWOZ7LP.js → J7F2URNC.js} +1 -1
- package/dist/cdn/{3KWJQXAT.js → JE22TLFT.js} +1 -1
- package/dist/cdn/{S2BIRHQ7.js → JGVRYRKU.js} +1 -1
- package/dist/cdn/JIDJQEZ3.js +2 -0
- package/dist/cdn/{XT4GLBAQ.js → JODPCONC.js} +1 -1
- package/dist/cdn/{6VP3K6WL.js → JVPMJ2MI.js} +1 -1
- package/dist/cdn/{524MMG22.js → K4KCUAGT.js} +1 -1
- package/dist/cdn/{6X3QWKZL.js → K7UT7UDE.js} +1 -1
- package/dist/cdn/{SNJLHXVG.js → K7UX5HSY.js} +1 -1
- package/dist/cdn/{2J4U5E4U.js → KMPEGQSK.js} +1 -1
- package/dist/cdn/KXVN4L2R.js +2 -0
- package/dist/cdn/KZAI3CI3.js +2 -0
- package/dist/cdn/{NCSMOKFP.js → LNDFYKAA.js} +1 -1
- package/dist/cdn/{TWVXE232.js → M6GDSLP7.js} +1 -1
- package/dist/cdn/MK5D6DUQ.js +2 -0
- package/dist/cdn/{VEZBAZZG.js → MR7Q3LT3.js} +1 -1
- package/dist/cdn/{Q4V5DVKS.js → NPHRYNDM.js} +1 -1
- package/dist/cdn/NX5LYVTC.js +2 -0
- package/dist/cdn/OI5Z75UV.js +2 -0
- package/dist/cdn/{GTH6QFMV.js → OJRKE24N.js} +1 -1
- package/dist/cdn/{EQKCU4NC.js → OXCX2JYQ.js} +1 -1
- package/dist/cdn/{GCAYSD7G.js → P3FETVF2.js} +1 -1
- package/dist/cdn/{WCUO6JQN.js → PDIVD53H.js} +1 -1
- package/dist/cdn/{YHAJICJ2.js → PIZB2UU4.js} +1 -1
- package/dist/cdn/PNQURWQR.js +2 -0
- package/dist/cdn/{TVYIJRI2.js → QMZ2G6WF.js} +1 -1
- package/dist/cdn/{U7OJQ4EC.js → QRJIJZC3.js} +1 -1
- package/dist/cdn/{KJCVGOXF.js → QVY5E66G.js} +1 -1
- package/dist/cdn/{ICGT7C6U.js → QWHPERZB.js} +1 -1
- package/dist/cdn/{KLNQGCK2.js → R4PS3KVA.js} +1 -1
- package/dist/cdn/{LI2CATYC.js → R5A44F3R.js} +1 -1
- package/dist/cdn/{COXLBEPM.js → RIHHQ4P5.js} +1 -1
- package/dist/cdn/{TKK3AWQJ.js → S4EMFPQN.js} +1 -1
- package/dist/cdn/S5JURZJV.js +2 -0
- package/dist/cdn/{SW5TNX5V.js → SBRNKQZR.js} +1 -1
- package/dist/cdn/SDTW62DH.js +2 -0
- package/dist/cdn/{JGCJVDJA.js → SE3EQB55.js} +1 -1
- package/dist/cdn/{W57IL7KF.js → SEHPIQCS.js} +1 -1
- package/dist/cdn/{IEWVQCQW.js → TFXHHWCL.js} +1 -1
- package/dist/cdn/{7QS3Z4ZJ.js → TPPIRT4M.js} +1 -1
- package/dist/cdn/UNLFQ2X5.js +2 -0
- package/dist/cdn/{44VCOKJX.js → USISHLZA.js} +1 -1
- package/dist/cdn/UTJ6CSF2.js +2 -0
- package/dist/cdn/UWYYS2CJ.js +2 -0
- package/dist/cdn/{WQCT4VLB.js → V3P34C4L.js} +1 -1
- package/dist/cdn/{KXD6O3ZI.js → VDVHXKFM.js} +1 -1
- package/dist/cdn/{OXCL3M4W.js → VHTR3YLE.js} +1 -1
- package/dist/cdn/{CM45J66U.js → VJEFLAMF.js} +1 -1
- package/dist/cdn/{CENYPZ3Y.js → VNG5JX4F.js} +1 -1
- package/dist/cdn/{MW5MGBT4.js → VSMJ6GNS.js} +1 -1
- package/dist/cdn/{UTVGUMUM.js → VZ34CEPE.js} +1 -1
- package/dist/cdn/{VZ2YR2UG.js → WDRZWXPS.js} +1 -1
- package/dist/cdn/{L3D2OBOR.js → WFCDKH3A.js} +1 -1
- package/dist/cdn/WGSMIQUI.js +2 -0
- package/dist/cdn/{DDUIHGBF.js → WHZ2Y73O.js} +1 -1
- package/dist/cdn/{DK3SDSZL.js → WJ7C6DWY.js} +1 -1
- package/dist/cdn/{LJSR66HF.js → WKX35O7E.js} +1 -1
- package/dist/cdn/WQKOEKWG.js +2 -0
- package/dist/cdn/{6VDGKXTH.js → WWMYIHOG.js} +1 -1
- package/dist/cdn/{3RRY5HHA.js → WXS7HUGX.js} +1 -1
- package/dist/cdn/X7GZQYSF.js +2 -0
- package/dist/cdn/{LKYA2H2B.js → XF7YQY5Y.js} +1 -1
- package/dist/cdn/XLDNKUOK.js +2 -0
- package/dist/cdn/XM4U2QML.js +2 -0
- package/dist/cdn/XPV23QFC.js +2 -0
- package/dist/cdn/{4NUFBGFK.js → Y2MMRFEI.js} +1 -1
- package/dist/cdn/{ST6WRTR2.js → YUMTBVTL.js} +1 -1
- package/dist/cdn/{I4IDQ735.js → Z52JB5CD.js} +1 -1
- package/dist/cdn/{NL77UDLL.js → ZALKWH4R.js} +1 -1
- package/dist/cdn/{ECVX7SVS.js → ZIO5GS2X.js} +1 -1
- package/dist/cdn/{V7YPIVAX.js → ZQVZ5W4Z.js} +1 -1
- package/dist/cdn/{34ENIUR5.js → ZXBVCAEX.js} +1 -1
- package/dist/cdn/assets/icon/buildingIndex16.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex24.json +1 -0
- package/dist/cdn/assets/icon/buildingIndex32.json +1 -0
- package/dist/cdn/assets/icon/fireIndex16.json +1 -0
- package/dist/cdn/assets/icon/fireIndex24.json +1 -0
- package/dist/cdn/assets/icon/fireIndex32.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex16.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex24.json +1 -0
- package/dist/cdn/assets/icon/geologyIndex32.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose16.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose24.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose32.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose16.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose24.json +1 -0
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose32.json +1 -0
- package/dist/cdn/assets/icon/orientedImagerySceneOnly16.json +1 -0
- package/dist/cdn/assets/icon/orientedImagerySceneOnly24.json +1 -0
- package/dist/cdn/assets/icon/orientedImagerySceneOnly32.json +1 -0
- package/dist/cdn/assets/icon/parquetFeatureLayer16.json +1 -0
- package/dist/cdn/assets/icon/parquetFeatureLayer24.json +1 -0
- package/dist/cdn/assets/icon/parquetFeatureLayer32.json +1 -0
- package/dist/cdn/assets/icon/returnToDefault16.json +1 -1
- package/dist/cdn/assets/icon/returnToDefault32.json +1 -1
- package/dist/cdn/assets/icon/snowIndex16.json +1 -0
- package/dist/cdn/assets/icon/snowIndex24.json +1 -0
- package/dist/cdn/assets/icon/snowIndex32.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex32.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex16.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex24.json +1 -0
- package/dist/cdn/assets/icon/vegetationIndex32.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ExpandToggle.js +1 -1
- package/dist/chunks/date.js +3 -3
- package/dist/chunks/dom.js +15 -3
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/label.js +6 -6
- package/dist/chunks/locale.js +3 -6
- package/dist/chunks/manager.js +5 -5
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources10.js +4 -48
- package/dist/chunks/resources11.js +63 -0
- package/dist/chunks/resources5.js +37 -23
- package/dist/chunks/resources6.js +27 -52
- package/dist/chunks/resources7.js +48 -45
- package/dist/chunks/resources8.js +49 -7
- package/dist/chunks/resources9.js +9 -11
- package/dist/chunks/runtime.js +3 -3
- package/dist/chunks/useTime.js +40 -45
- package/dist/chunks/utils.js +9 -15
- package/dist/chunks/utils2.js +1 -1
- package/dist/components/calcite-accordion-item/customElement.d.ts +6 -6
- package/dist/components/calcite-accordion-item/customElement.js +1 -1
- package/dist/components/calcite-alert/customElement.d.ts +2 -2
- package/dist/components/calcite-alert/customElement.js +6 -4
- package/dist/components/calcite-autocomplete/customElement.d.ts +16 -16
- package/dist/components/calcite-autocomplete/customElement.js +4 -4
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +5 -5
- package/dist/components/calcite-avatar/customElement.d.ts +5 -5
- package/dist/components/calcite-block/customElement.d.ts +9 -9
- package/dist/components/calcite-block/customElement.js +8 -49
- package/dist/components/calcite-block-group/customElement.js +3 -5
- package/dist/components/calcite-block-section/customElement.d.ts +5 -5
- package/dist/components/calcite-block-section/customElement.js +1 -1
- package/dist/components/calcite-button/customElement.d.ts +8 -8
- package/dist/components/calcite-button/customElement.js +3 -3
- package/dist/components/calcite-card/customElement.d.ts +1 -1
- package/dist/components/calcite-carousel/customElement.js +5 -6
- package/dist/components/calcite-checkbox/customElement.d.ts +4 -4
- package/dist/components/calcite-chip/customElement.js +1 -1
- package/dist/components/calcite-chip-group/customElement.js +1 -1
- package/dist/components/calcite-color-picker/customElement.d.ts +3 -3
- package/dist/components/calcite-color-picker/customElement.js +24 -21
- package/dist/components/calcite-color-picker-hex-input/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-hex-input/customElement.js +5 -5
- package/dist/components/calcite-color-picker-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
- package/dist/components/calcite-combobox/customElement.js +13 -8
- package/dist/components/calcite-date-picker/customElement.js +1 -1
- package/dist/components/calcite-date-picker-day/customElement.js +1 -1
- package/dist/components/calcite-date-picker-month/customElement.js +2 -11
- package/dist/components/calcite-dialog/customElement.js +8 -8
- package/dist/components/calcite-dropdown-group/customElement.js +1 -1
- package/dist/components/calcite-dropdown-item/customElement.js +1 -1
- package/dist/components/calcite-flow/customElement.d.ts +2 -2
- package/dist/components/calcite-flow/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +7 -1
- package/dist/components/calcite-flow-item/customElement.js +2 -2
- package/dist/components/calcite-input/customElement.js +2 -5
- package/dist/components/calcite-input-number/customElement.js +1 -1
- package/dist/components/calcite-input-text/customElement.js +1 -1
- package/dist/components/calcite-input-time-zone/customElement.js +1 -1
- package/dist/components/calcite-list/customElement.d.ts +4 -4
- package/dist/components/calcite-list/customElement.js +5 -6
- package/dist/components/calcite-list-item/customElement.d.ts +6 -6
- package/dist/components/calcite-list-item/customElement.js +13 -16
- package/dist/components/calcite-list-item-group/customElement.d.ts +1 -1
- package/dist/components/calcite-list-item-group/customElement.js +1 -1
- package/dist/components/calcite-loader/customElement.js +3 -3
- package/dist/components/calcite-menu-item/customElement.d.ts +7 -7
- package/dist/components/calcite-menu-item/customElement.js +3 -0
- package/dist/components/calcite-meter/customElement.d.ts +6 -6
- package/dist/components/calcite-meter/customElement.js +14 -7
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-pagination/customElement.js +3 -0
- package/dist/components/calcite-panel/customElement.d.ts +6 -6
- package/dist/components/calcite-panel/customElement.js +1 -1
- package/dist/components/calcite-popover/customElement.d.ts +4 -4
- package/dist/components/calcite-popover/customElement.js +1 -1
- package/dist/components/calcite-progress/customElement.d.ts +2 -2
- package/dist/components/calcite-radio-button/customElement.d.ts +5 -5
- package/dist/components/calcite-radio-button/customElement.js +1 -1
- package/dist/components/calcite-radio-button-group/customElement.d.ts +4 -4
- package/dist/components/calcite-radio-button-group/customElement.js +3 -3
- package/dist/components/calcite-rating/customElement.d.ts +7 -7
- package/dist/components/calcite-rating/customElement.js +13 -9
- package/dist/components/calcite-sheet/customElement.js +32 -27
- package/dist/components/calcite-stack/customElement.js +1 -1
- package/dist/components/calcite-tab/customElement.d.ts +1 -1
- package/dist/components/calcite-tab/customElement.js +2 -1
- package/dist/components/calcite-tab-nav/customElement.d.ts +3 -3
- package/dist/components/calcite-tab-nav/customElement.js +12 -7
- package/dist/components/calcite-tab-title/customElement.d.ts +3 -3
- package/dist/components/calcite-tab-title/customElement.js +2 -0
- package/dist/components/calcite-table/customElement.js +22 -14
- package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
- package/dist/components/calcite-table-cell/customElement.js +6 -0
- package/dist/components/calcite-table-header/customElement.d.ts +4 -4
- package/dist/components/calcite-table-header/customElement.js +2 -0
- package/dist/components/calcite-table-row/customElement.js +5 -3
- package/dist/components/calcite-tabs/customElement.js +3 -2
- package/dist/components/calcite-text-area/customElement.d.ts +12 -12
- package/dist/components/calcite-text-area/customElement.js +5 -3
- package/dist/components/calcite-tile/customElement.d.ts +6 -6
- package/dist/components/calcite-time-picker/customElement.d.ts +1 -1
- package/dist/components/calcite-time-picker/customElement.js +35 -15
- package/dist/components/calcite-tooltip/customElement.d.ts +2 -2
- package/dist/components/calcite-tooltip/customElement.js +1 -1
- package/dist/components/calcite-tree/customElement.js +7 -6
- package/dist/components/calcite-tree-item/customElement.d.ts +3 -3
- package/dist/components/calcite-tree-item/customElement.js +12 -6
- package/dist/controllers/useSortable.d.ts +2 -2
- package/dist/controllers/useTime.d.ts +20 -20
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/supported-browsers.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/dist/utils/dom.d.ts +1 -1
- package/package.json +8 -9
- package/dist/cdn/25SUELBY.js +0 -2
- package/dist/cdn/44HFP2I6.js +0 -2
- package/dist/cdn/5VAPN2S2.js +0 -2
- package/dist/cdn/6S3G75WP.js +0 -2
- package/dist/cdn/6SZY5PY7.js +0 -2
- package/dist/cdn/A6V4I2J3.js +0 -2
- package/dist/cdn/BCRYMNH7.js +0 -2
- package/dist/cdn/C462ZIJD.js +0 -2
- package/dist/cdn/C4DW27AP.js +0 -2
- package/dist/cdn/C4OX3FC4.js +0 -2
- package/dist/cdn/CVJBK7K3.js +0 -2
- package/dist/cdn/DSQ47C3C.js +0 -2
- package/dist/cdn/HYIVUAZU.js +0 -2
- package/dist/cdn/JSXQ6NFN.js +0 -2
- package/dist/cdn/KOWFGIAY.js +0 -2
- package/dist/cdn/L5IKT3WY.js +0 -2
- package/dist/cdn/LGB6OAXT.js +0 -2
- package/dist/cdn/ORIGVFX7.js +0 -2
- package/dist/cdn/QZJ7GLQ3.js +0 -2
- package/dist/cdn/RK2LH73E.js +0 -2
- package/dist/cdn/RRKFBHMW.js +0 -2
- package/dist/cdn/SXXFODM6.js +0 -2
- package/dist/cdn/TV47CRME.js +0 -2
- package/dist/cdn/UCWB5EGV.js +0 -2
- package/dist/cdn/X3HV2NYH.js +0 -2
- package/dist/cdn/Y7O6UR4T.js +0 -2
- package/dist/cdn/ZK2W2KJX.js +0 -2
- package/dist/cdn/ZOEJDQXA.js +0 -2
- /package/dist/cdn/{72YUATHS.js → 2G2ZTAXT.js} +0 -0
- /package/dist/cdn/{MO64UYDH.js → 5ZULUIQ5.js} +0 -0
- /package/dist/cdn/{IIA2H2SU.js → EWIZKNXQ.js} +0 -0
- /package/dist/cdn/{LKL63VXR.js → EZQV6OUW.js} +0 -0
- /package/dist/cdn/{Q55YTOMB.js → SXELOWJI.js} +0 -0
- /package/dist/cdn/{VXBJOP6X.js → U5CB5AOH.js} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{p as m,w as x}from"./KZAI3CI3.js";import"./CUJ2U3RS.js";import"./CQMH7FNX.js";import{d as k}from"./AXFCT6T6.js";import"./OAOQ5BXS.js";import{G as g,H as c,I as p,J as h,S as v,g as b,h as o}from"./IHG36OXA.js";var u={thumbnail:"thumbnail",background:"background",initials:"initials",icon:"icon"};function z(a){a=$(a);let e=0;for(let i=0;i<a.length;i++)e=a.charCodeAt(i)+((e<<5)-e);let t="#";for(let i=0;i<3;i++){let r=e>>i*8&255;t+=("00"+r.toString(16)).substr(-2)}return t}function $(a){let e=Math.floor(a.length/2),t=a.split("").reverse().join("");return t.substring(e)+t.slice(0,e)}function y(a){let{r:e,g:t,b:i}=a;e/=255,t/=255,i/=255;let r=Math.max(e,t,i),l=Math.min(e,t,i),s=r-l;if(r===l)return 0;let n=(r+l)/2;switch(r){case e:n=(t-i)/s+(t<i?6:0);break;case t:n=(i-e)/s+2;break;case i:n=(e-t)/s+4;break}return Math.round(n*60)}function C(a){return y(x(a))}var T=b`:host{display:inline-block;overflow:hidden;border-radius:var(--calcite-avatar-corner-radius, 50%);color:var(--calcite-avatar-color, var(--calcite-color-text-2))}:host([scale=s]){block-size:1.5rem;inline-size:1.5rem;font-size:var(--calcite-font-size-relative-xs)}:host([scale=m]){block-size:2rem;inline-size:2rem;font-size:var(--calcite-font-size-relative-sm)}:host([scale=l]){block-size:2.75rem;inline-size:2.75rem;font-size:var(--calcite-font-size-relative-md)}.icon{display:flex}.background{display:flex;block-size:100%;inline-size:100%;align-items:center;justify-content:center;border-radius:var(--calcite-avatar-corner-radius, 50%)}.initials{font-weight:var(--calcite-font-weight-bold);text-transform:uppercase}.thumbnail{block-size:100%;inline-size:100%;border-radius:var(--calcite-avatar-corner-radius, 50%)}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends g{constructor(){super(...arguments),this.thumbnailFailedToLoad=!1,this.scale="m"}static{this.properties={thumbnailFailedToLoad:[16,{},{state:!0}],fullName:[3,{},{reflect:!0}],label:1,scale:[3,{},{reflect:!0}],thumbnail:[3,{},{reflect:!0}],userId:[3,{},{reflect:!0}],username:[3,{},{reflect:!0}]}}static{this.styles=T}determineContent(){if(this.thumbnail&&!this.thumbnailFailedToLoad)return o`<img alt=${(this.label||"")??h} class=${c(u.thumbnail)} @error=${()=>this.thumbnailFailedToLoad=!0} src=${this.thumbnail??h}>`;let e=this.generateInitials(),t=this.generateFillColor();return o`<span .ariaLabel=${this.label||this.fullName} class=${c(u.background)} role=figure style=${p({backgroundColor:t})}>${e?o`<span aria-hidden=true class=${c(u.initials)}>${e}</span>`:o`<calcite-icon class=${c(u.icon)} icon=user .scale=${this.scale}></calcite-icon>`}</span>`}generateFillColor(){let{userId:e,username:t,fullName:i,el:r}=this,l=k(r),s=e&&`#${e.substr(e.length-6)}`,n=t||i||"",f=s&&m(s)?s:z(n);return!e&&!n||!m(f)?"var(--calcite-avatar-background-color, var(--calcite-color-foreground-2))":`var(--calcite-avatar-background-color, hsl(${C(f)}, 60%, ${l==="dark"?20:90}%))`}generateInitials(){let{fullName:e,username:t}=this;return e?e.trim().split(" ").map(i=>i.substring(0,1)).join(""):t?t.substring(0,2):!1}render(){return this.determineContent()}};v("calcite-avatar",d);export{d as Avatar};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{H as e,h as t,l as i}from"./
|
|
2
|
+
import{H as e,h as t,l as i}from"./IHG36OXA.js";var n={alignmentCenter:"internal-label-alignment--center",alignmentEnd:"internal-label-alignment--end",container:"internal-label--container",requiredIndicator:"internal-label-required--indicator",spacingBottom:"internal-label-spacing--bottom",spacingInlineEnd:"internal-label-spacing-inline--end",spacingInlineStart:"internal-label-spacing-inline--start",text:"internal-label--text"},b=({alignmentCenter:a,bottomSpacingDisabled:l,labelText:r,onClick:s,required:c,spacingInlineEnd:o,spacingInlineStart:d,tooltipText:g})=>t`<div class=${e({[n.alignmentCenter]:a,[n.alignmentEnd]:!a,[n.container]:!0,[n.spacingBottom]:!l,[n.spacingInlineEnd]:o,[n.spacingInlineStart]:d})} @click=${s}><div class=${e(n.text)}>${r}${c&&t`<span aria-hidden=true class=${e(n.requiredIndicator)} title=${g??i}>*</span>`||""}</div><slot name=label-content></slot></div>`;export{b as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{a as b,b as v,j as o,m as C,n as I,q as w}from"./3AQRM2KH.js";import"./BFERIIZD.js";import{a as F}from"./BFNSTPU4.js";import"./YGX7CUXN.js";import"./S4EMFPQN.js";import{F as $,G as A,H as u,S as R,g as x,h as g,p as y}from"./IHG36OXA.js";var D={calendar:"calendar",calendarContainer:"calendar-container",calendarStart:"calendar--start",currentDay:"current-day",dayContainer:"day-container",month:"month",noncurrent:"noncurrent",weekDays:"week-days",weekHeader:"week-header",weekHeaderContainer:"week-header-container"},Y=x`:host([hidden]){display:none}[hidden]{display:none}.calendar-container{display:flex;inline-size:100%}:host([range][layout=vertical]) .calendar-container{flex-direction:column}.calendar{inline-size:100%}.week-header-container{display:flex;block-size:16px;padding-inline:var(--calcite-spacing-sm);padding-block:var(--calcite-spacing-md)}.week-header{display:flex;align-items:center;justify-content:center;text-align:center;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);font-weight:var(--calcite-font-weight-bold);inline-size:14.2857142857%;color:var(--calcite-date-picker-week-header-text-color, var(--calcite-color-text-2))}.day-container{display:flex;inline-size:100%;min-inline-size:0px;justify-content:center}.day-container calcite-date-picker-day{inline-size:100%}.week-days{display:grid;grid-template-columns:repeat(7,1fr);grid-auto-rows:1fr;padding-inline:var(--calcite-spacing-sm);padding-block-end:var(--calcite-spacing-sm)}.month-header{display:flex;inline-size:100%;justify-content:space-between}.month{display:flex;inline-size:100%;flex-direction:column;justify-content:space-between}.day{font-size:var(--calcite-font-size)}:host([scale=s]) .week-days{padding-inline:var(--calcite-spacing-xs);padding-block-end:var(--calcite-spacing-xs)}:host([scale=s]) .week-header-container{padding-inline:var(--calcite-spacing-xs);padding-block:var(--calcite-spacing-sm)}:host([scale=s]) .day{font-size:var(--calcite-font-size-sm)}:host([scale=l]) .week-header{font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=l]) .week-days{padding-inline:var(--calcite-spacing-md);padding-block-end:var(--calcite-spacing-md)}:host([scale=l]) .week-header-container{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-md-plus)}:host([scale=l]) .day{font-size:var(--calcite-font-size-md)}.calendar--start{border-width:0px;border-style:solid;border-color:var(--calcite-date-picker-range-calendar-divider-color, var(--calcite-color-border-1))}:host([range][layout=horizontal][calendars="2"]) .calendar--start{border-inline-end-width:var(--calcite-border-width-sm)}:host([range][layout=vertical][calendars="2"]) .calendar--start{border-block-end-width:var(--calcite-border-width-sm)}.noncurrent{pointer-events:none;opacity:0}`,m=7,M=6,P=42,S=class extends A{constructor(){super(),this.storeDayRef=e=>{e?.active&&this.activeFocus&&e.setFocus()},this.activeDate=new Date,this.calendars=2,this.range=!1,this.calciteInternalDatePickerDayHover=y({cancelable:!1}),this.calciteInternalDatePickerDaySelect=y({cancelable:!1}),this.calciteInternalDatePickerMonthActiveDateChange=y({cancelable:!1}),this.calciteInternalDatePickerMonthChange=y({cancelable:!1}),this.calciteInternalDatePickerMonthMouseOut=y({cancelable:!1}),this.listen("pointerout",this.pointerOutHandler),this.listen("focusout",this.disableActiveFocus)}static{this.properties={focusedDate:[16,{},{state:!0}],activeDate:[0,{},{attribute:!1}],calendars:[11,{},{type:Number,reflect:!0}],dateTimeFormat:[0,{},{attribute:!1}],endDate:[0,{},{attribute:!1}],headingLevel:[11,{},{type:Number,reflect:!0}],hoverRange:[0,{},{attribute:!1}],layout:[3,{},{reflect:!0}],localeData:[0,{},{attribute:!1}],max:[0,{},{attribute:!1}],messages:[0,{},{attribute:!1}],min:[0,{},{attribute:!1}],monthStyle:1,range:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectedDate:[0,{},{attribute:!1}],startDate:[0,{},{attribute:!1}]}}static{this.styles=Y}load(){this.focusedDate=this.selectedDate||this.activeDate}willUpdate(e){e.has("activeDate")&&this.updateFocusedDateWithActive(this.activeDate),e.has("selectedDate")&&(this.focusedDate=this.selectedDate)}updateFocusedDateWithActive(e){this.selectedDate||(this.focusedDate=b(e,this.min,this.max)?e:v(e,this.min,this.max))}keyDownHandler(e){if(e.defaultPrevented)return;let a=this.el.dir==="rtl",t=e.target.value;switch(e.key){case"ArrowUp":e.preventDefault(),this.addDays(-7,t);break;case"ArrowRight":e.preventDefault(),this.addDays(a?-1:1,t);break;case"ArrowDown":e.preventDefault(),this.addDays(7,t);break;case"ArrowLeft":e.preventDefault(),this.addDays(a?1:-1,t);break;case"PageUp":e.preventDefault(),this.addMonths(-1,t);break;case"PageDown":e.preventDefault(),this.addMonths(1,t);break;case"Home":e.preventDefault(),this.activeDate.setDate(1),this.addDays(0,t);break;case"End":e.preventDefault(),this.activeDate.setDate(new Date(this.activeDate.getFullYear(),this.activeDate.getMonth()+1,0).getDate()),this.addDays(0,t);break;case"Enter":case" ":e.preventDefault();break;case"Tab":this.activeFocus=!1}}disableActiveFocus(){this.activeFocus=!1}pointerOutHandler(){this.calciteInternalDatePickerMonthMouseOut.emit()}addMonths(e,a){let t=new Date(a);t.setMonth(a.getMonth()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(v(t,this.min,this.max)),this.focusedDate=v(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}addDays(e=0,a){let t=new Date(a);t.setDate(a.getDate()+e),this.calciteInternalDatePickerMonthActiveDateChange.emit(v(t,this.min,this.max)),this.focusedDate=v(t,this.min,this.max),this.activeFocus=!0,this.calciteInternalDatePickerDayHover.emit(t)}getPreviousMonthDays(e,a,t){let s=new Date(a,e,0),i=s.getDate(),n=s.getDay(),r=[];if(n===(t+M)%m)return r;if(n===t)return[i];for(let l=(m+n-t)%m;l>=0;l--)r.push(i-l);return r}getCurrentMonthDays(e,a){let t=new Date(a,e+1,0).getDate(),s=[];for(let i=0;i<t;i++)s.push(i+1);return s}getNextMonthDays(e,a,t){let s=new Date(a,e+1,0).getDay(),i=[];if(s===(t+M)%m)return i;for(let n=0;n<(M-(s-t))%m;n++)i.push(n+1);return i}betweenSelectedRange(e){return!!(this.startDate&&this.endDate&&e>this.startDate&&e<this.endDate&&!this.isRangeHover(e))}isSelected(e){return!!(o(e,this.selectedDate)||this.startDate&&o(e,this.startDate)||this.endDate&&o(e,this.endDate))}isStartOfRange(e){return!!(this.startDate&&!o(this.startDate,this.endDate)&&o(this.startDate,e)&&!this.isEndOfRange(e))}isEndOfRange(e){return!!(this.endDate&&!o(this.startDate,this.endDate)&&o(this.endDate,e)||!this.endDate&&this.hoverRange&&o(this.startDate,this.hoverRange.end)&&o(e,this.hoverRange.end))}dayHover(e){let a=e.target;a.disabled?this.calciteInternalDatePickerMonthMouseOut.emit():this.calciteInternalDatePickerDayHover.emit(a.value),e.stopPropagation()}daySelect(e){let a=e.target;this.activeFocus=!1,this.calciteInternalDatePickerDaySelect.emit(a.value),e.stopPropagation()}isFocusedOnStart(){return this.hoverRange?.focused==="start"}isHoverInRange(){if(!this.hoverRange||!this.startDate)return!1;let{start:e,end:a}=this.hoverRange,t=this.isFocusedOnStart(),s=this.startDate&&a>this.startDate,i=this.endDate&&a<this.endDate,n=this.startDate&&e>this.startDate,r=this.endDate&&e<this.endDate,l=!t&&this.startDate&&s&&(!this.endDate||i),c=t&&this.startDate&&n&&r;return l||c}isRangeHover(e){if(!this.hoverRange)return!1;let{start:a,end:t}=this.hoverRange,s=this.isFocusedOnStart(),i=this.isHoverInRange(),n=e>a&&e<this.startDate,r=e<t&&e>this.endDate,l=e>t&&e<this.endDate,c=e<a&&e>this.startDate,h=e<t&&e>this.startDate,d=e>a&&e<this.endDate,f=this.startDate&&this.endDate;if(i){if(f)return s?e<this.endDate&&(c||n):l||r;if(this.startDate&&!this.endDate)return s?n:h;if(!this.startDate&&this.endDate)return s?d:r}else if(f)return s?n:r}getDays(e,a,t,s="start"){let i=this.activeDate.getMonth(),n=i+1;i=s==="end"?n:i;let r=this.activeDate.getFullYear();return[...e.map(c=>({active:!1,day:c,date:new Date(r,i-1,c)})),...a.map(c=>{let h=new Date(r,i,c),d=o(h,new Date);return{active:this.focusedDate&&this.focusedDate!==this.startDate&&this.focusedDate!==this.endDate?o(h,this.focusedDate):o(h,this.startDate)||o(h,this.endDate),currentMonth:!0,currentDay:d,day:c,date:h}}),...t.map(c=>({active:!1,day:c,date:new Date(r,n,c)}))]}monthHeaderSelectChange(e){let a=new Date(e.detail),t=e.target;this.updateFocusableDate(a),e.stopPropagation(),this.calciteInternalDatePickerMonthChange.emit({date:a,position:t.position})}updateFocusableDate(e){!this.selectedDate||!this.range?this.focusedDate=this.getFirstValidDateOfMonth(e):this.selectedDate&&this.range&&(!w(this.startDate,e)||!w(this.endDate,e))&&(this.focusedDate=this.getFirstValidDateOfMonth(e))}getFirstValidDateOfMonth(e){return e.getDate()===1?e:C(e,this.min,this.max)}render(){let e=this.activeDate.getMonth(),a=this.activeDate.getFullYear(),t=this.localeData.weekStart%7,{abbreviated:s,short:i,narrow:n}=this.localeData.days,r=this.scale==="s"?n||i||s:i||s||n,l=[...r.slice(t,7),...r.slice(0,t)],c=this.getCurrentMonthDays(e,a),h=this.getPreviousMonthDays(e,a,t),d=this.getNextMonthDays(e,a,t),f=c.length+h.length+d.length;if(f<P){let N=d.length?d[d.length-1]:0;for(let k=1;k<=P-f;k++)d.push(N+k)}let p=e+1,H=this.getPreviousMonthDays(p,a,t),E=this.getCurrentMonthDays(p,a),z=this.getNextMonthDays(p,a,t),O=this.getDays(h,c,d),B=this.getDays(H,E,z,"end");return g`<div class=${u({[D.calendarContainer]:!0})} role=grid>${this.renderCalendar(l,O)}${this.range&&this.calendars===2&&this.renderCalendar(l,B,!0)||""}</div>`}renderDateDay({active:e,currentMonth:a,currentDay:t,date:s,day:i},n){let r=b(s,this.min,this.max);return F(n,g`<div class=${u({[D.dayContainer]:!0})} role=gridcell><calcite-date-picker-day .active=${e} class=${u({[D.currentDay]:t,[D.noncurrent]:this.range&&this.calendars===2&&!a})} .currentMonth=${a} .dateTimeFormat=${this.dateTimeFormat} .day=${i} .disabled=${!r} .endOfRange=${this.isEndOfRange(s)} .highlighted=${this.betweenSelectedRange(s)} @calciteInternalDayHover=${this.dayHover} @calciteInternalDaySelect=${this.daySelect} .range=${!!this.startDate&&!!this.endDate&&!o(this.startDate,this.endDate)} .rangeHover=${r&&this.isRangeHover(s)} .scale=${this.scale} .selected=${this.isSelected(s)} .startOfRange=${this.isStartOfRange(s)} .value=${s} ${$(this.storeDayRef)}></calcite-date-picker-day></div>`)}renderCalendar(e,a,t=!1){return g`<div class=${u({[D.calendar]:!0,[D.calendarStart]:!t})}><calcite-date-picker-month-header .activeDate=${t?I(this.activeDate):this.activeDate} .headingLevel=${this.headingLevel} .localeData=${this.localeData} .max=${this.max} .messages=${this.messages} .min=${this.min} .monthStyle=${this.monthStyle} @calciteInternalDatePickerMonthHeaderSelectChange=${this.monthHeaderSelectChange} .position=${t?"end":this.range&&this.calendars===2?"start":null} .scale=${this.scale} .selectedDate=${this.selectedDate}></calcite-date-picker-month-header>${this.renderMonthCalendar(e,a,t)}</div>`}renderMonthCalendar(e,a,t=!1){return g`<div class=${u({[D.month]:!0})} @keydown=${this.keyDownHandler}><div class=${u({[D.weekHeaderContainer]:!0})} role=row>${e.map(i=>g`<span class=${u({[D.weekHeader]:!0})} role=columnheader>${i}</span>`)}</div><div class=${u({[D.weekDays]:!0})} role=row>${a.map((i,n)=>this.renderDateDay(i,t?50+n:n))}</div></div>`}};R("calcite-date-picker-month",S);export{S as DatePickerMonth};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{a as f,d}from"./DNYAPW4C.js";import{c as g}from"./RRXOB3GM.js";import{F as b,h as v,l as A}from"./IHG36OXA.js";var $=o=>Array.from(o.querySelectorAll("calcite-action")).filter(t=>t.closest("calcite-action-menu")?t.slot===g.trigger:!0),D=({actionGroups:o,expanded:t,overflowCount:c})=>{let e=c;o.reverse().forEach(i=>{let r=0,s=$(i).filter(n=>d(n.parentElement)).reverse();s.forEach(n=>{n.slot===f.menuActions&&(n.removeAttribute("slot"),n.textEnabled=t)}),e>0&&!i.overflowActionsDisabled&&s.some(n=>(s.filter(a=>!a.slot).length>1&&s.length>2&&!n.closest("calcite-action-menu")&&!n.overflowDisabled&&(n.textEnabled=!0,n.setAttribute("slot",f.menuActions),r++,r>1&&e--),e<1)),i.manager.component.requestUpdate()})},S={chevronsLeft:"chevrons-left",chevronsRight:"chevrons-right"};function L(o,t){return t||o.closest("calcite-shell-panel")?.position||"start"}function k({el:o,expanded:t}){$(o).filter(c=>c.slot!==f.menuActions).forEach(c=>c.textEnabled=t),o.querySelectorAll("calcite-action-group, calcite-action-menu").forEach(c=>c.expanded=t)}var w=({tooltip:o,referenceElement:t,expanded:c,ref:e})=>(o&&(o.referenceElement=!c&&t?t:null),e&&e(t),t),P=({collapseText:o,collapseLabel:t,direction:c,expanded:e,expandText:i,expandLabel:r,toggle:s,el:n,position:u,tooltip:a,ref:E,scale:T})=>{let q=c==="rtl",h=e?o:i,x=e?t:r,l=[S.chevronsLeft,S.chevronsRight];q&&l.reverse();let m=L(n,u)==="end",C=m?l[1]:l[0],p=m?l[0]:l[1];return v`<calcite-action .aria=${{expanded:e}} .icon=${e?C:p} id=expand-toggle .label=${x} @click=${s} .scale=${T} .text=${h} .textEnabled=${e} title=${(!e&&!a?h:void 0)??A} ${b(y=>w({tooltip:a,referenceElement:y,expanded:e,ref:E}))}></calcite-action>`};export{$ as a,D as b,k as c,P as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
import{b as p,f}from"./CQMH7FNX.js";function e(r){if(r==null)return"";if(typeof r=="string")return r;if(Array.isArray(r))return r.map(e).join(",");let o=String(r);return o==="0"&&Object.is(Number(r),-0)?"-0":o}function m(r){return f(e(r))}function x(r,o=p){if(r==null)return r;for(let t in r)if(o(r[t],t,r)===!1)break;return r}export{x as a,m as b};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{c as p}from"./
|
|
2
|
+
import{c as p}from"./3AQRM2KH.js";import{c as f,d as n,f as c}from"./S4EMFPQN.js";import{T as u}from"./IHG36OXA.js";var a={},s={},m=["de-AT","de-CH","en-AU","en-CA","en-GB","es-MX","fr-CA","fr-CH","hi","it-CH","mk","pt"];[...f,...m];function g(t){if(!t)return n;let r=t.split("-");return t=`${r[0].toLowerCase()}${r.length>=2?`-${r[1].toUpperCase()}`:""}`,m.includes(t)?t:c(t)}async function h(t){return t=g(t),a[t]?a[t]:(s[t]||(s[t]=fetch(u(`./assets/date-picker/nls/${t}.json`)).then(r=>r.json()).catch(()=>(console.error(`Native Language Support data for "${t}" not found or invalid, falling back to english`),h(n)))),a[t]=await s[t])}function v(t){return{"ar-SA":"ar"}[t]||t}function x(t){return t.map((r,e)=>p(r,e===1))}function d(t,r,e){let i=t.has(r),o=t.has(e);return i&&!o?r:o&&!i?e:null}function M(t,r){return r==="min"?d(t,"min","minAsDate"):d(t,"max","maxAsDate")}export{h as a,v as b,x as c,M as d};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{c as r}from"./
|
|
2
|
+
import{c as r}from"./SXELOWJI.js";import{a as o}from"./4K6O44GL.js";import"./JE22TLFT.js";import"./S4EMFPQN.js";import{G as n,H as i,S as s,g as l,h as c,p as t}from"./IHG36OXA.js";var d={container:"container",heading:"heading"},g=l`: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:flex;flex-direction:column}:host([filter-hidden]){display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{margin:0;display:flex;flex:1 1 0%;position:sticky;inset-block-start:var(--calcite-internal-filter-enabled-offset, 0);z-index:var(--calcite-z-index-sticky);background-color:var(--calcite-list-background-color, var(--calcite-color-foreground-1));color:var(--calcite-list-color, var(--calcite-color-text-1))}.heading{font-weight:var(--calcite-font-weight-bold)}:host([scale=s]) .container{padding-inline:var(--calcite-spacing-sm)}:host([scale=s]) .heading{font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-sm) var(--calcite-spacing-xxs)}:host([scale=s]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-inline:var(--calcite-spacing-md)}:host([scale=m]) .heading{font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-fixed-base);padding-block:var(--calcite-spacing-lg) var(--calcite-spacing-sm)}:host([scale=m]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .heading{font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-fixed-lg);padding-block:var(--calcite-spacing-xl) var(--calcite-spacing-sm-plus, .625rem)}:host([scale=l]:not(:first-child)) .container{padding-block-start:var(--calcite-spacing-md-plus, .875rem)}.heading{padding:0}:host([hidden]){display:none}[hidden]{display:none}`,a=class extends n{constructor(){super(...arguments),this.interactiveContainer=o(this),this.disabled=!1,this.filterHidden=!1,this.scale="m",this.calciteInternalListItemGroupDefaultSlotChange=t({cancelable:!1}),this.calciteInternalListItemGroupChange=t({cancelable:!1})}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],filterHidden:[7,{},{reflect:!0,type:Boolean}],heading:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=g}willUpdate(e){e.has("heading")&&this.calciteInternalListItemGroupChange.emit()}handleDefaultSlotChange(){this.calciteInternalListItemGroupDefaultSlotChange.emit()}render(){let{disabled:e,heading:h}=this;return this.interactiveContainer({disabled:e,children:c`<div class=${i(d.container)} role=row><div .ariaColSpan=${r} class=${i(d.heading)} role=cell>${h}</div></div><slot @slotchange=${this.handleDefaultSlotChange}></slot>`})}};s("calcite-list-item-group",a);export{a as ListItemGroup};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{g as K}from"./IIA2H2SU.js";import{k as G}from"./X3HV2NYH.js";import{a as $}from"./JCVLN6XL.js";import{c as j}from"./VEZBAZZG.js";import{c as A,d as W}from"./C4OX3FC4.js";import{a as q}from"./GDFQSWZ7.js";import{a as V}from"./U4GRIQVY.js";import"./YGX7CUXN.js";import{a as N}from"./YHAJICJ2.js";import{a as E}from"./6XMUSNRS.js";import"./WGGFNK4Z.js";import"./3KWJQXAT.js";import"./TKK3AWQJ.js";import"./CDNETLLO.js";import"./OAOQ5BXS.js";import{E as R,F as z,G as U,H as M,L as _,S as k,g as P,h as T,l as v,p as b}from"./NG7BG3QY.js";var Y={offset:"offset"},ee={labelContent:"label-content"},te=60;function O(t){return t.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace("\u2212","-")}function oe(t,e){let o=L(t,"en-US",e).replace("GMT","");return o===""?0:Number(O(o))*te}function se(){return new Date().getTimezoneOffset()*-1}function ae(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}async function ie(t){if(t==="offset")return o=>o;let{normalize:e}=await import("./23WLJ7R6.js");return e}async function ne(t,e,o,s,a){if(o==="name"){let{groupByName:n}=await import("./T2BI2MTE.js");return(await n()).map(({label:l})=>({label:l,value:l,metadata:{filterValue:l}})).filter(l=>!!l).sort()}let i=a==="user"?t:a==="utc"?"fr":"en-GB",c=s.getTime();if(o==="region"){let[{groupByRegion:n},{getCountry:m,global:l}]=await Promise.all([import("./OYOVXEMY.js"),import("./SFAEGOT3.js")]);return(await n()).map(({label:u,tzs:f})=>(f.sort((h,d)=>{let y=I(h,e),x=I(d,e),p="Etc/GMT";if(h.startsWith(p)&&d.startsWith(p)){let g=h.substring(p.length),F=d.substring(p.length),X=g===""?0:parseInt(g);return(F===""?0:parseInt(F))-X}return y.localeCompare(x)}),{label:S(e,u),items:f.map(h=>{let d=O(L(h,i,c)),y=I(h,e),x=u===l?`${I(l,e)} Etc`:H(h),p=m(h),g=S(e,p);return{label:y,value:h,metadata:{country:g===y?void 0:g,filterValue:x,offset:d}}})})).sort((u,f)=>u.label===l?-1:f.label===l?1:u.label.localeCompare(f.label))}let[{groupByOffset:C},{DateEngine:Z}]=await Promise.all([import("./I3YJL43S.js"),import("./GW3OENJK.js")]),w=await C({dateEngine:new Z,groupDateRange:1,startDate:new Date(c).toISOString()}),Q=new Intl.ListFormat(t,{style:"long",type:"conjunction"}),D=["Factory","Etc/UTC"];return w.forEach(n=>{let m=[],l=0;n.tzs.forEach((r,u)=>{D.includes(r)&&l++,m[u]=l}),n.tzs=n.tzs.filter(r=>!D.includes(r)),n.labelTzIdx=n.labelTzIdx.map(r=>r-m[r]).filter(r=>r>=0&&r<n.tzs.length)}),w.map(({labelTzIdx:n,tzs:m})=>{let l=m[0],r=O(L(l,i,c)),u=oe(l,c),f=n.map(d=>I(m[d],e));return{label:ce(e,r,Q.format(f)),value:u,metadata:{filterValue:m.map(d=>H(d))}}}).filter(n=>!!n).sort((n,m)=>n.value-m.value)}function I(t,e){return e[t]||re(t)}function le(t,e,o){return o.timeZoneRegionLabel.replace("{city}",t).replace("{country}",S(o,e))}function S(t,e){return t[e]||e}function re(t){return t.split("/").pop()}function H(t){return t.replace(/_/g," ")}function ce(t,e,o){return t.timeZoneLabel.replace("{offset}",e).replace("{cities}",o)}function L(t,e,o=Date.now()){return t==="Factory"&&(t="Etc/GMT"),G(e,{timeZone:t,timeZoneName:"shortOffset"}).formatToParts(o).find(({type:i})=>i==="timeZoneName").value}function me(t){return t[0].items!==void 0}function ue(t){return me(t)?t.flatMap(e=>e.items):t}function J(t,e,o){return o==null?null:ue(t).find(s=>s[e]==o)}var he=P`: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}`,B=class extends U{constructor(){super(...arguments),this.comboboxRef=R(),this.formSupport=j({inputType:"text"})(this),this.messages=N({blocking:!0}),this.focusSetter=E()(this),this.interactiveContainer=q(this),this.#e=null,this.clearable=!1,this.disabled=!1,this.maxItems=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.topLayerDisabled=!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={selectedTimeZoneItem:[16,{},{state:!0}],timeZoneItems:[16,{},{state:!0}],clearable:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],labelText:1,maxItems:[11,{},{reflect:!0,type:Number}],messageOverrides:[0,{},{attribute:!1}],mode:[3,{},{reflect:!0}],name:[3,{},{reflect:!0}],offsetStyle:[3,{},{reflect:!0}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],readOnly:[7,{},{reflect:!0,type:Boolean}],referenceDate:1,required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],validationIcon:[3,{converter:_,type:String},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:1}}static{this.formAssociated=!0}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=he}#e;get value(){return this._value}set value(e){this.#e="internal",this._value=e}async setFocus(e){return this.focusSetter(()=>this.comboboxRef.value,e)}connectedCallback(){super.connectedCallback(),A(this)}async load(){this.normalizer=await ie(this.mode),await this.updateTimeZoneItems();let e=this.value,o=this.normalizeValue(e);this.value=o||(e===""?o:void 0),this.updateTimeZoneSelection();let s=this.selectedTimeZoneItem?`${this.selectedTimeZoneItem.value}`:"";this.value=s}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()}loaded(){this.openChanged()}disconnectedCallback(){super.disconnectedCallback(),W(this)}async handleTimeZoneItemPropsChange(){!this.timeZoneItems||!this.hasUpdated||(await this.updateTimeZoneItems(),this.updateTimeZoneSelection())}openChanged(){this.comboboxRef.value&&(this.comboboxRef.value.open=this.open)}async handleValueChange(e,o){let s=this.#e==="user";if(this.#e=null,s)return;let a=this.normalizeValue(e);if(!a){if(this.clearable){this._value=a,this.selectedTimeZoneItem=null;return}this._value=o,this.selectedTimeZoneItem=this.findTimeZoneItem(o);return}let i=this.findTimeZoneItem(a);if(!i){this._value=o;return}this._value=a,this.selectedTimeZoneItem=i}onLabelClick(){this.setFocus()}overrideSelectedLabelForRegion(e){this.mode!=="region"||!this.selectedTimeZoneItem||(this.comboboxRef.value.selectedItems[0].heading=this.getItemLabel(this.selectedTimeZoneItem,e))}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 s=e.target.selectedItems[0],a=this._value;if(!s){this._value="",this.requestUpdate("value",a),this.selectedTimeZoneItem=null,this.calciteInputTimeZoneChange.emit();return}let i=this.findTimeZoneItemByLabel(s.getAttribute("data-label")),c=`${i.value}`;this.value===c&&i.label===this.selectedTimeZoneItem.label||(this._value=c,this.requestUpdate("value",a),this.selectedTimeZoneItem=i,this.#e="user",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 J(this.timeZoneItems,"value",e)}findTimeZoneItemByLabel(e){return J(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"?se():ae(),o=this.value===""||!this.value?e:this.value;this.selectedTimeZoneItem=this.findTimeZoneItem(o)||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)}getItemLabel(e,o=this.open){let s=this.selectedTimeZoneItem===e,{label:a,metadata:i}=e;return!i.country||o||!s?a:le(a,i.country,this.messages)}render(){return this.interactiveContainer({disabled:this.disabled,children:T`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} .labelText=${this.labelText} lang=${this.messages._lang??v} .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} .required=${this.required} .scale=${this.scale} .selectionMode=${this.clearable?"single":"single-persist"} .status=${this.status} .topLayerDisabled=${this.topLayerDisabled} .validationIcon=${this.validationIcon} .validationMessage=${this.validationMessage} ${z(this.comboboxRef)}>${this.renderItems()}<slot name=${ee.labelContent} slot=${K.labelContent}></slot></calcite-combobox>`})}renderItems(){return this.mode==="region"?this.renderRegionItems():$(this.timeZoneItems,({label:e})=>e,e=>{let o=this.selectedTimeZoneItem===e,{label:s,metadata:a,value:i}=e;return T`<calcite-combobox-item data-label=${s??v} .heading=${s} .metadata=${a} .selected=${o} .value=${i}></calcite-combobox-item>`})}renderRegionItems(){return this.timeZoneItems.flatMap(({label:e,items:o})=>V(e,T`<calcite-combobox-item-group .label=${e}>${$(o,({label:s})=>s,s=>{let a=this.selectedTimeZoneItem===s,{label:i,metadata:c,value:C}=s,Z=this.getItemLabel(s);return T`<calcite-combobox-item data-label=${i??v} .description=${c.country} .heading=${Z} .metadata=${c} .selected=${a} .value=${C}><span class=${M(Y.offset)} slot=content-end>${c.offset}</span></calcite-combobox-item>`})}</calcite-combobox-item-group>`))}};k("calcite-input-time-zone",B);export{B as InputTimeZone};
|
|
2
|
+
import{g as K}from"./EWIZKNXQ.js";import{k as G}from"./BFERIIZD.js";import{a as $}from"./6KRTBFQA.js";import{c as j}from"./MR7Q3LT3.js";import{c as A,d as W}from"./A5BQ2FR3.js";import{a as q}from"./4K6O44GL.js";import{a as V}from"./BFNSTPU4.js";import"./YGX7CUXN.js";import{a as N}from"./PIZB2UU4.js";import{a as E}from"./DWQYJRFK.js";import"./WGGFNK4Z.js";import"./JE22TLFT.js";import"./S4EMFPQN.js";import"./AXFCT6T6.js";import"./OAOQ5BXS.js";import{E as R,F as z,G as U,H as M,L as _,S as k,g as P,h as T,l as v,p as b}from"./IHG36OXA.js";var Y={offset:"offset"},ee={labelContent:"label-content"},te=60;function O(t){return t.replace(":15",".25").replace(":30",".5").replace(":45",".75").replace("\u2212","-")}function oe(t,e){let o=L(t,"en-US",e).replace("GMT","");return o===""?0:Number(O(o))*te}function se(){return new Date().getTimezoneOffset()*-1}function ae(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}async function ie(t){if(t==="offset")return o=>o;let{normalize:e}=await import("./23WLJ7R6.js");return e}async function ne(t,e,o,s,a){if(o==="name"){let{groupByName:n}=await import("./T2BI2MTE.js");return(await n()).map(({label:l})=>({label:l,value:l,metadata:{filterValue:l}})).filter(l=>!!l).sort()}let i=a==="user"?t:a==="utc"?"fr":"en-GB",c=s.getTime();if(o==="region"){let[{groupByRegion:n},{getCountry:m,global:l}]=await Promise.all([import("./OYOVXEMY.js"),import("./SFAEGOT3.js")]);return(await n()).map(({label:u,tzs:f})=>(f.sort((h,d)=>{let y=I(h,e),x=I(d,e),p="Etc/GMT";if(h.startsWith(p)&&d.startsWith(p)){let g=h.substring(p.length),F=d.substring(p.length),X=g===""?0:parseInt(g);return(F===""?0:parseInt(F))-X}return y.localeCompare(x)}),{label:S(e,u),items:f.map(h=>{let d=O(L(h,i,c)),y=I(h,e),x=u===l?`${I(l,e)} Etc`:H(h),p=m(h),g=S(e,p);return{label:y,value:h,metadata:{country:g===y?void 0:g,filterValue:x,offset:d}}})})).sort((u,f)=>u.label===l?-1:f.label===l?1:u.label.localeCompare(f.label))}let[{groupByOffset:C},{DateEngine:Z}]=await Promise.all([import("./I3YJL43S.js"),import("./GW3OENJK.js")]),w=await C({dateEngine:new Z,groupDateRange:1,startDate:new Date(c).toISOString()}),Q=new Intl.ListFormat(t,{style:"long",type:"conjunction"}),D=["Factory","Etc/UTC"];return w.forEach(n=>{let m=[],l=0;n.tzs.forEach((r,u)=>{D.includes(r)&&l++,m[u]=l}),n.tzs=n.tzs.filter(r=>!D.includes(r)),n.labelTzIdx=n.labelTzIdx.map(r=>r-m[r]).filter(r=>r>=0&&r<n.tzs.length)}),w.map(({labelTzIdx:n,tzs:m})=>{let l=m[0],r=O(L(l,i,c)),u=oe(l,c),f=n.map(d=>I(m[d],e));return{label:ce(e,r,Q.format(f)),value:u,metadata:{filterValue:m.map(d=>H(d))}}}).filter(n=>!!n).sort((n,m)=>n.value-m.value)}function I(t,e){return e[t]||re(t)}function le(t,e,o){return o.timeZoneRegionLabel.replace("{city}",t).replace("{country}",S(o,e))}function S(t,e){return t[e]||e}function re(t){return t.split("/").pop()}function H(t){return t.replace(/_/g," ")}function ce(t,e,o){return t.timeZoneLabel.replace("{offset}",e).replace("{cities}",o)}function L(t,e,o=Date.now()){return t==="Factory"&&(t="Etc/GMT"),G(e,{timeZone:t,timeZoneName:"shortOffset"}).formatToParts(o).find(({type:i})=>i==="timeZoneName").value}function me(t){return t[0].items!==void 0}function ue(t){return me(t)?t.flatMap(e=>e.items):t}function J(t,e,o){return o==null?null:ue(t).find(s=>s[e]==o)}var he=P`: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}`,B=class extends U{constructor(){super(...arguments),this.comboboxRef=R(),this.formSupport=j({inputType:"text"})(this),this.messages=N({blocking:!0}),this.focusSetter=E()(this),this.interactiveContainer=q(this),this.#e=null,this.clearable=!1,this.disabled=!1,this.maxItems=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.topLayerDisabled=!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={selectedTimeZoneItem:[16,{},{state:!0}],timeZoneItems:[16,{},{state:!0}],clearable:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],labelText:1,maxItems:[11,{},{reflect:!0,type:Number}],messageOverrides:[0,{},{attribute:!1}],mode:[3,{},{reflect:!0}],name:[3,{},{reflect:!0}],offsetStyle:[3,{},{reflect:!0}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],readOnly:[7,{},{reflect:!0,type:Boolean}],referenceDate:1,required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],topLayerDisabled:[7,{},{reflect:!0,type:Boolean}],validationIcon:[3,{converter:_,type:String},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:1}}static{this.formAssociated=!0}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=he}#e;get value(){return this._value}set value(e){this.#e="internal",this._value=e}async setFocus(e){return this.focusSetter(()=>this.comboboxRef.value,e)}connectedCallback(){super.connectedCallback(),A(this)}async load(){this.normalizer=await ie(this.mode),await this.updateTimeZoneItems();let e=this.value,o=this.normalizeValue(e);this.value=o||(e===""?o:void 0),this.updateTimeZoneSelection();let s=this.selectedTimeZoneItem?`${this.selectedTimeZoneItem.value}`:"";this.value=s}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()}loaded(){this.openChanged()}disconnectedCallback(){super.disconnectedCallback(),W(this)}async handleTimeZoneItemPropsChange(){!this.timeZoneItems||!this.hasUpdated||(await this.updateTimeZoneItems(),this.updateTimeZoneSelection())}openChanged(){this.comboboxRef.value&&(this.comboboxRef.value.open=this.open)}async handleValueChange(e,o){let s=this.#e==="user";if(this.#e=null,s)return;let a=this.normalizeValue(e);if(!a){if(this.clearable){this._value=a,this.selectedTimeZoneItem=null;return}this._value=o,this.selectedTimeZoneItem=this.findTimeZoneItem(o);return}let i=this.findTimeZoneItem(a);if(!i){this._value=o;return}this._value=a,this.selectedTimeZoneItem=i}onLabelClick(){this.setFocus()}overrideSelectedLabelForRegion(e){this.mode!=="region"||!this.selectedTimeZoneItem||(this.comboboxRef.value.selectedItems[0].heading=this.getItemLabel(this.selectedTimeZoneItem,e))}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 s=e.target.selectedItems[0],a=this._value;if(!s){this._value="",this.requestUpdate("value",a),this.selectedTimeZoneItem=null,this.calciteInputTimeZoneChange.emit();return}let i=this.findTimeZoneItemByLabel(s.getAttribute("data-label")),c=`${i.value}`;this.value===c&&i.label===this.selectedTimeZoneItem.label||(this._value=c,this.requestUpdate("value",a),this.selectedTimeZoneItem=i,this.#e="user",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 J(this.timeZoneItems,"value",e)}findTimeZoneItemByLabel(e){return J(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"?se():ae(),o=this.value===""||!this.value?e:this.value;this.selectedTimeZoneItem=this.findTimeZoneItem(o)||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)}getItemLabel(e,o=this.open){let s=this.selectedTimeZoneItem===e,{label:a,metadata:i}=e;return!i.country||o||!s?a:le(a,i.country,this.messages)}render(){return this.interactiveContainer({disabled:this.disabled,children:T`<calcite-combobox .clearDisabled=${!this.clearable} .disabled=${this.disabled} .label=${this.messages.chooseTimeZone} .labelText=${this.labelText} lang=${this.messages._lang??v} .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} .required=${this.required} .scale=${this.scale} .selectionMode=${this.clearable?"single":"single-persist"} .status=${this.status} .topLayerDisabled=${this.topLayerDisabled} .validationIcon=${this.validationIcon} .validationMessage=${this.validationMessage} ${z(this.comboboxRef)}>${this.renderItems()}<slot name=${ee.labelContent} slot=${K.labelContent}></slot></calcite-combobox>`})}renderItems(){return this.mode==="region"?this.renderRegionItems():$(this.timeZoneItems,({label:e})=>e,e=>{let o=this.selectedTimeZoneItem===e,{label:s,metadata:a,value:i}=e;return T`<calcite-combobox-item data-label=${s??v} .heading=${s} .metadata=${a} .selected=${o} .value=${i}></calcite-combobox-item>`})}renderRegionItems(){return this.timeZoneItems.flatMap(({label:e,items:o})=>V(e,T`<calcite-combobox-item-group .label=${e}>${$(o,({label:s})=>s,s=>{let a=this.selectedTimeZoneItem===s,{label:i,metadata:c,value:C}=s,Z=this.getItemLabel(s);return T`<calcite-combobox-item data-label=${i??v} .description=${c.country} .heading=${Z} .metadata=${c} .selected=${a} .value=${C}><span class=${M(Y.offset)} slot=content-end>${c.offset}</span></calcite-combobox-item>`})}</calcite-combobox-item-group>`))}};k("calcite-input-time-zone",B);export{B as InputTimeZone};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as l,b as a,c as u}from"./
|
|
2
|
+
import{a as l,b as a,c as u}from"./EWIZKNXQ.js";import{c}from"./AXFCT6T6.js";function p(e){let r=e.parentElement?.closest(u),t=r?.parentElement?.closest(u);return[r,t].filter(n=>!!n)}function b(e){return e.ancestors?.filter(r=>r.nodeName==="CALCITE-COMBOBOX-ITEM")||[]}function A(e){return c(e.querySelectorAll("calcite-combobox-item"))}function C(e){return c(e.querySelectorAll("calcite-combobox-item")).filter(t=>t.selected).length>0}function E(e){if(!1)return 0;let r=document.evaluate("ancestor::calcite-combobox-item | ancestor::calcite-combobox-item-group",e,null,XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE,null),t=r.snapshotLength;if(t>0&&e.nodeName===l){for(let n=0;n<t;n++)if(r.snapshotItem(n).nodeName===a)return t}else if(e.nodeName===a)return t;return t+1}function S(e){return e.includes("single")}function O(e){return e.shortHeading||e.heading}function x(e,r){if(e.length<2||r.length===0)return e;let t=new Map(r.map((n,o)=>[n,o]));return[...e].sort((n,o)=>{let i=t.get(n),s=t.get(o);return i!==void 0&&s!==void 0?i-s:i!==void 0?-1:s!==void 0?1:0})}function f(e,r){let t=e.get(r)??0;return t===0?!1:(t===1?e.delete(r):e.set(r,t-1),!0)}function I(e,r){if(e.length<2||r.length===0)return e;let t=new Map;e.forEach(o=>{t.set(o,(t.get(o)??0)+1)});let n=r.filter(o=>f(t,o));return n.length===0?e:(e.forEach(o=>{f(t,o)&&n.push(o)}),n)}export{p as a,b,A as c,C as d,E as e,S as f,O as g,x as h,I as i};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as v,b as h,e as O,f as W,k as x,l as b,n as y,o as F,q as p}from"./6SZY5PY7.js";import{j as d}from"./X3HV2NYH.js";import{h as I,i as P,j as A}from"./CUJ2U3RS.js";import{a as u}from"./YGX7CUXN.js";import"./TKK3AWQJ.js";import{h as S,j as R}from"./CDNETLLO.js";import"./OAOQ5BXS.js";import{D as z,E as m,F as g,G as Y,H as r,S as w,g as D,h as l,l as $,p as C}from"./NG7BG3QY.js";var E=D`:host{display:block}.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;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;--calcite-action-background-color: var(--calcite-date-picker-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-date-picker-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-date-picker-header-action-background-color-press);--calcite-action-text-color: var(--calcite-date-picker-header-action-text-color);--calcite-action-text-color-press: var(--calcite-date-picker-header-action-text-color-press)}.chevron:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.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{margin-inline:var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-date-picker-year-text-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-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:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.month-select{--calcite-select-internal-border-width: 0;--calcite-select-internal-icon-border-inline-end-width: 0;--calcite-internal-select-spacing-inline: var(--calcite-spacing-xxs);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-md));--calcite-select-text-color: var(--calcite-date-picker-month-select-text-color, var(--calcite-color-text-1));--calcite-select-icon-color: var(--calcite-date-picker-month-select-icon-color);--calcite-select-icon-color-hover: var(--calcite-date-picker-month-select-icon-color-hover);--calcite-internal-select-spacing-block: var(--calcite-spacing-xxs);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-xxs);--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-lg);--calcite-internal-select-font-weight: var(--calcite-font-weight-medium)}:host([scale=s]) .month-year-container .month-select{--calcite-internal-select-spacing-inline: var(--calcite-spacing-base);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size));--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-internal-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-internal-select-spacing-inline: var(--calcite-spacing-sm);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-lg));--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-internal-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}`,s={header:"header",chevron:"chevron",chevronContainer:"chevron-container",monthYearContainer:"month-year-container",monthPicker:"month-select",rangeCalendar:"range-calendar",suffix:"suffix",yearContainer:"year-container",year:"year"},N={chevronLeft:"chevron-left",chevronRight:"chevron-right"},K=16,k=class extends Y{constructor(){super(...arguments),this.monthPickerRef=m(),this.nextMonthActionRef=m(),this.prevMonthActionRef=m(),this.yearInputRef=m(),this.calciteInternalDatePickerMonthHeaderSelectChange=C({cancelable:!1})}static{this.properties={nextMonthDate:[16,{},{state:!0}],prevMonthDate:[16,{},{state:!0}],activeDate:[0,{},{attribute:!1}],headingLevel:[9,{},{type:Number}],localeData:[0,{},{attribute:!1}],max:[0,{},{attribute:!1}],messages:[0,{},{attribute:!1}],min:[0,{},{attribute:!1}],monthStyle:1,position:1,scale:[3,{},{reflect:!0}],selectedDate:[0,{},{attribute:!1}]}}static{this.styles=E}connectedCallback(){super.connectedCallback(),this.setNextPrevMonthDates()}load(){this.parentDatePickerEl=R(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=h(y(this.activeDate),this.min,this.max),this.prevMonthDate=h(x(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 d.localize(`${W(e,this.localeData)}`)}parseCalendarYear(e){return d.localize(`${O(Number(d.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){u(e.key)&&this.prevMonthClick(e)}nextMonthClick(e){this.handleArrowClick(e,this.nextMonthDate)}nextMonthKeydown(e){u(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:a,wide:n}=this.localeData.months,i=(this.monthStyle==="wide"?n:a).indexOf(t.value),o=b(this.activeDate,i);v(o,this.min,this.max)||(o=h(o,this.min,this.max)),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(o),this.setYearSelectMenuWidth()}getInRangeDate({localizedYear:e,offset:t=0}){let{min:a,max:n,activeDate:c}=this,i=Number(d.delocalize(e)),o=i.toString().length,f=isNaN(i)?!1:i+t,L=f&&(!a||a.getFullYear()<=f)&&(!n||n.getFullYear()>=f);if(f&&L&&o===e.length){let M=new Date(c);return M.setFullYear(f),h(M,a,n)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){let{yearInputRef:n,activeDate:c}=this,i=this.getInRangeDate({localizedYear:e,offset:a});i&&this.calciteInternalDatePickerMonthHeaderSelectChange.emit(i),t&&(n.value.value=this.formatCalendarYear((i||c).getFullYear()))}setYearSelectWidthOffset(){this.yearSelectWidthOffset=K+3*parseInt(this.getYearSelectPadding()),this.setYearSelectMenuWidth()}setYearSelectMenuWidth(){let e=this.monthPickerRef.value;e&&requestAnimationFrame(()=>{let t=getComputedStyle(e),a=`${t.fontStyle} ${t.fontVariant} ${t.fontWeight} ${t.fontSize}/${t.lineHeight} ${t.fontFamily}`,c=this.localeData.months[this.monthStyle][this.activeDate.getMonth()],i=Math.ceil(S(c,a));e.style.width=`${i+this.yearSelectWidthOffset}px`})}isMonthInRange(e){let t=b(this.activeDate,e);return!this.min&&!this.max||v(t,this.min,this.max)?!0:p(t,this.max)||p(t,this.min)}async handlePenultimateValidMonth(e){let n=e.target.getAttribute("data-direction")==="left",c;if(n&&this.min){let i=h(x(this.activeDate),this.min,this.max);c=p(i,this.min)}else if(this.max){let i=h(y(this.activeDate),this.min,this.max);c=p(i,this.max)}if(c)if(this.position)this.yearInputRef.value?.focus();else{let o=(n?this.nextMonthActionRef:this.prevMonthActionRef).value;if(!o)return;o.disabled=!1,await o.setFocus()}}getPx(e){let t=Number(e.replace(/[rem|px]/g,"")),a=16;return e.includes("rem")?`${t*a}px`:`${t}px`}getYearSelectPadding(){let e;switch(this.scale){case"l":e=A;break;case"s":e=I;break;default:e=P;break}return this.getPx(e)}render(){return l`<div class=${r(s.header)}>${this.renderContent()}</div>`}renderContent(){let{localeData:e,activeDate:t}=this;if(!t||!e)return null;if(this.parentDatePickerEl){let{numberingSystem:c,lang:i}=this.parentDatePickerEl;d.numberFormatOptions={useGrouping:!1,...c&&{numberingSystem:c},...i&&{locale:i}}}let a=F(e.unitOrder),n=a.indexOf("y")<a.indexOf("m");return l`${this.position&&l`<div class=${r({[s.chevronContainer]:!0})}>${this.position==="start"&&this.renderChevron("left")||""}</div>`||""}<div class=${r({[s.monthYearContainer]:!0,[s.rangeCalendar]:!!this.position})}>${this.renderMonthYearContainer(n)}</div>${!this.position&&l`<div class=${r({[s.chevronContainer]:!0})}>${this.renderChevron("left")}</div>`||""}<div class=${r({[s.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 l`<calcite-select class=${r(s.monthPicker)} .label=${this.messages.monthMenu} @calciteSelectChange=${this.handleMonthChange} width=auto ${g(this.monthPickerRef)}>${t.map((a,n)=>l`<calcite-option .disabled=${!this.isMonthInRange(n)} .selected=${n===e} .value=${a}>${a}</calcite-option>`)}</calcite-select>`}renderYearInput(){let e=this.localeData.year?.suffix,t=this.formatCalendarYear(this.activeDate.getFullYear());return l`<span class=${r(s.yearContainer)}><input .ariaLabel=${this.messages.year} class=${r({[s.year]:!0})} inputmode=numeric maxlength=4 minlength=1 @change=${this.onYearChange} @input=${this.onYearInput} @keydown=${this.onYearKey} pattern=\\d* type=text .value=${z(t??"")} ${g(this.yearInputRef)}>${e&&l`<span class=${r(s.suffix)}>${e}</span>`||""}</span>`}renderChevron(e){let t=e==="right",a=p(t?this.nextMonthDate:this.prevMonthDate,this.activeDate)||!v(this.activeDate,this.min,this.max);return l`<calcite-action alignment=center .ariaDisabled=${a} .ariaLabel=${t?this.messages.nextMonth:this.messages.prevMonth} class=${r(s.chevron)} compact data-direction=${e??$} .disabled=${a} .icon=${t?N.chevronRight:N.chevronLeft} icon-flip-rtl @click=${t?this.nextMonthClick:this.prevMonthClick} @keydown=${t?this.nextMonthKeydown:this.prevMonthKeydown} role=button .scale=${this.scale} .text=${t?this.messages.nextMonth:this.messages.prevMonth} ${g(t?this.nextMonthActionRef:this.prevMonthActionRef)}></calcite-action>`}};w("calcite-date-picker-month-header",k);export{k as DatePickerMonthHeader};
|
|
2
|
+
import{a as v,b as h,e as O,f as W,k as x,l as b,n as y,o as F,q as p}from"./3AQRM2KH.js";import{j as d}from"./BFERIIZD.js";import{h as I,i as P,j as A}from"./CUJ2U3RS.js";import{a as u}from"./YGX7CUXN.js";import"./S4EMFPQN.js";import{h as S,j as R}from"./AXFCT6T6.js";import"./OAOQ5BXS.js";import{D as z,E as m,F as g,G as Y,H as r,S as w,g as D,h as l,l as $,p as C}from"./IHG36OXA.js";var E=D`:host{display:block}.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;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;--calcite-action-background-color: var(--calcite-date-picker-header-action-background-color);--calcite-action-background-color-hover: var(--calcite-date-picker-header-action-background-color-hover);--calcite-action-background-color-press: var(--calcite-date-picker-header-action-background-color-press);--calcite-action-text-color: var(--calcite-date-picker-header-action-text-color);--calcite-action-text-color-press: var(--calcite-date-picker-header-action-text-color-press)}.chevron:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.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{margin-inline:var(--calcite-spacing-xxs);font-weight:var(--calcite-font-weight-medium);color:var(--calcite-date-picker-year-text-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-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:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.month-select{--calcite-select-internal-border-width: 0;--calcite-select-internal-icon-border-inline-end-width: 0;--calcite-internal-select-spacing-inline: var(--calcite-spacing-xxs);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-md));--calcite-select-text-color: var(--calcite-date-picker-month-select-text-color, var(--calcite-color-text-1));--calcite-select-icon-color: var(--calcite-date-picker-month-select-icon-color);--calcite-select-icon-color-hover: var(--calcite-date-picker-month-select-icon-color-hover);--calcite-internal-select-spacing-block: var(--calcite-spacing-xxs);--calcite-internal-select-icon-container-padding-inline: var(--calcite-spacing-xxs);--calcite-internal-select-line-height: var(--calcite-font-line-height-fixed-lg);--calcite-internal-select-font-weight: var(--calcite-font-weight-medium)}:host([scale=s]) .month-year-container .month-select{--calcite-internal-select-spacing-inline: var(--calcite-spacing-base);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size));--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-internal-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-internal-select-spacing-inline: var(--calcite-spacing-sm);--calcite-select-font-size: var(--calcite-date-picker-month-select-font-size, var(--calcite-font-size-lg));--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-internal-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}`,s={header:"header",chevron:"chevron",chevronContainer:"chevron-container",monthYearContainer:"month-year-container",monthPicker:"month-select",rangeCalendar:"range-calendar",suffix:"suffix",yearContainer:"year-container",year:"year"},N={chevronLeft:"chevron-left",chevronRight:"chevron-right"},K=16,k=class extends Y{constructor(){super(...arguments),this.monthPickerRef=m(),this.nextMonthActionRef=m(),this.prevMonthActionRef=m(),this.yearInputRef=m(),this.calciteInternalDatePickerMonthHeaderSelectChange=C({cancelable:!1})}static{this.properties={nextMonthDate:[16,{},{state:!0}],prevMonthDate:[16,{},{state:!0}],activeDate:[0,{},{attribute:!1}],headingLevel:[9,{},{type:Number}],localeData:[0,{},{attribute:!1}],max:[0,{},{attribute:!1}],messages:[0,{},{attribute:!1}],min:[0,{},{attribute:!1}],monthStyle:1,position:1,scale:[3,{},{reflect:!0}],selectedDate:[0,{},{attribute:!1}]}}static{this.styles=E}connectedCallback(){super.connectedCallback(),this.setNextPrevMonthDates()}load(){this.parentDatePickerEl=R(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=h(y(this.activeDate),this.min,this.max),this.prevMonthDate=h(x(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 d.localize(`${W(e,this.localeData)}`)}parseCalendarYear(e){return d.localize(`${O(Number(d.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){u(e.key)&&this.prevMonthClick(e)}nextMonthClick(e){this.handleArrowClick(e,this.nextMonthDate)}nextMonthKeydown(e){u(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:a,wide:n}=this.localeData.months,i=(this.monthStyle==="wide"?n:a).indexOf(t.value),o=b(this.activeDate,i);v(o,this.min,this.max)||(o=h(o,this.min,this.max)),this.calciteInternalDatePickerMonthHeaderSelectChange.emit(o),this.setYearSelectMenuWidth()}getInRangeDate({localizedYear:e,offset:t=0}){let{min:a,max:n,activeDate:c}=this,i=Number(d.delocalize(e)),o=i.toString().length,f=isNaN(i)?!1:i+t,L=f&&(!a||a.getFullYear()<=f)&&(!n||n.getFullYear()>=f);if(f&&L&&o===e.length){let M=new Date(c);return M.setFullYear(f),h(M,a,n)}}setYear({localizedYear:e,commit:t=!0,offset:a=0}){let{yearInputRef:n,activeDate:c}=this,i=this.getInRangeDate({localizedYear:e,offset:a});i&&this.calciteInternalDatePickerMonthHeaderSelectChange.emit(i),t&&(n.value.value=this.formatCalendarYear((i||c).getFullYear()))}setYearSelectWidthOffset(){this.yearSelectWidthOffset=K+3*parseInt(this.getYearSelectPadding()),this.setYearSelectMenuWidth()}setYearSelectMenuWidth(){let e=this.monthPickerRef.value;e&&requestAnimationFrame(()=>{let t=getComputedStyle(e),a=`${t.fontStyle} ${t.fontVariant} ${t.fontWeight} ${t.fontSize}/${t.lineHeight} ${t.fontFamily}`,c=this.localeData.months[this.monthStyle][this.activeDate.getMonth()],i=Math.ceil(S(c,a));e.style.width=`${i+this.yearSelectWidthOffset}px`})}isMonthInRange(e){let t=b(this.activeDate,e);return!this.min&&!this.max||v(t,this.min,this.max)?!0:p(t,this.max)||p(t,this.min)}async handlePenultimateValidMonth(e){let n=e.target.getAttribute("data-direction")==="left",c;if(n&&this.min){let i=h(x(this.activeDate),this.min,this.max);c=p(i,this.min)}else if(this.max){let i=h(y(this.activeDate),this.min,this.max);c=p(i,this.max)}if(c)if(this.position)this.yearInputRef.value?.focus();else{let o=(n?this.nextMonthActionRef:this.prevMonthActionRef).value;if(!o)return;o.disabled=!1,await o.setFocus()}}getPx(e){let t=Number(e.replace(/[rem|px]/g,"")),a=16;return e.includes("rem")?`${t*a}px`:`${t}px`}getYearSelectPadding(){let e;switch(this.scale){case"l":e=A;break;case"s":e=I;break;default:e=P;break}return this.getPx(e)}render(){return l`<div class=${r(s.header)}>${this.renderContent()}</div>`}renderContent(){let{localeData:e,activeDate:t}=this;if(!t||!e)return null;if(this.parentDatePickerEl){let{numberingSystem:c,lang:i}=this.parentDatePickerEl;d.numberFormatOptions={useGrouping:!1,...c&&{numberingSystem:c},...i&&{locale:i}}}let a=F(e.unitOrder),n=a.indexOf("y")<a.indexOf("m");return l`${this.position&&l`<div class=${r({[s.chevronContainer]:!0})}>${this.position==="start"&&this.renderChevron("left")||""}</div>`||""}<div class=${r({[s.monthYearContainer]:!0,[s.rangeCalendar]:!!this.position})}>${this.renderMonthYearContainer(n)}</div>${!this.position&&l`<div class=${r({[s.chevronContainer]:!0})}>${this.renderChevron("left")}</div>`||""}<div class=${r({[s.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 l`<calcite-select class=${r(s.monthPicker)} .label=${this.messages.monthMenu} @calciteSelectChange=${this.handleMonthChange} width=auto ${g(this.monthPickerRef)}>${t.map((a,n)=>l`<calcite-option .disabled=${!this.isMonthInRange(n)} .selected=${n===e} .value=${a}>${a}</calcite-option>`)}</calcite-select>`}renderYearInput(){let e=this.localeData.year?.suffix,t=this.formatCalendarYear(this.activeDate.getFullYear());return l`<span class=${r(s.yearContainer)}><input .ariaLabel=${this.messages.year} class=${r({[s.year]:!0})} inputmode=numeric maxlength=4 minlength=1 @change=${this.onYearChange} @input=${this.onYearInput} @keydown=${this.onYearKey} pattern=\\d* type=text .value=${z(t??"")} ${g(this.yearInputRef)}>${e&&l`<span class=${r(s.suffix)}>${e}</span>`||""}</span>`}renderChevron(e){let t=e==="right",a=p(t?this.nextMonthDate:this.prevMonthDate,this.activeDate)||!v(this.activeDate,this.min,this.max);return l`<calcite-action alignment=center .ariaDisabled=${a} .ariaLabel=${t?this.messages.nextMonth:this.messages.prevMonth} class=${r(s.chevron)} compact data-direction=${e??$} .disabled=${a} .icon=${t?N.chevronRight:N.chevronLeft} icon-flip-rtl @click=${t?this.nextMonthClick:this.prevMonthClick} @keydown=${t?this.nextMonthKeydown:this.prevMonthKeydown} role=button .scale=${this.scale} .text=${t?this.messages.nextMonth:this.messages.prevMonth} ${g(t?this.nextMonthActionRef:this.prevMonthActionRef)}></calcite-action>`}};w("calcite-date-picker-month-header",k);export{k as DatePickerMonthHeader};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as i}from"./
|
|
2
|
+
import{a as i}from"./AE6WIDBA.js";import"./XPV23QFC.js";import{a as v}from"./4K6O44GL.js";import{a as g}from"./6BEQZOCM.js";import{a as m}from"./CQMH7FNX.js";import{a as b}from"./PIZB2UU4.js";import{a as f}from"./DWQYJRFK.js";import"./WGGFNK4Z.js";import"./JE22TLFT.js";import"./S4EMFPQN.js";import"./AXFCT6T6.js";import"./OAOQ5BXS.js";import{E as o,F as n,G as d,H as u,N as h,S as p,g as s,h as c,p as r}from"./IHG36OXA.js";var y={container:"container"},x={search:"search"},k=s`: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([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:flex;inline-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{display:flex;inline-size:100%}:host([scale=s]) .container{padding:var(--calcite-filter-content-space, var(--calcite-spacing-sm))}:host([scale=m]) .container{padding:var(--calcite-filter-content-space, var(--calcite-spacing-md))}:host([scale=l]) .container{padding:var(--calcite-filter-content-space, var(--calcite-spacing-lg))}label{position:relative;margin-block:0px;display:flex;inline-size:100%;align-items:center;overflow:hidden}calcite-input{inline-size:100%;--calcite-input-background-color: var(--calcite-filter-input-background-color);--calcite-input-border-color: var(--calcite-filter-input-border-color);--calcite-input-corner-radius: var(--calcite-filter-input-corner-radius);--calcite-input-shadow: var(--calcite-filter-input-shadow);--calcite-input-icon-color: var(--calcite-filter-input-icon-color);--calcite-input-text-color: var(--calcite-filter-input-text-color);--calcite-input-placeholder-text-color: var(--calcite-filter-input-placeholder-text-color);--calcite-input-actions-background-color: var(--calcite-filter-input-actions-background-color);--calcite-input-actions-background-color-hover: var(--calcite-filter-input-actions-background-color-hover);--calcite-input-actions-background-color-press: var(--calcite-filter-input-actions-background-color-press);--calcite-input-actions-icon-color: var(--calcite-filter-input-actions-icon-color);--calcite-input-actions-icon-color-hover: var(--calcite-filter-input-actions-icon-color-hover);--calcite-input-actions-icon-color-press: var(--calcite-filter-input-actions-icon-color-press)}:host([hidden]){display:none}[hidden]{display:none}`,l=class extends d{constructor(){super(...arguments),this.cancelable=g()(this),this.filterDebounced=m((e,t=!1,a)=>this.updateFiltered(i(this.items??[],e,this.filterProps),t,a),h.filter),this.textInputRef=o(),this._value="",this.messages=b(),this.focusSetter=f()(this),this.interactiveContainer=v(this),this.disabled=!1,this.filteredItems=[],this.items=[],this.scale="m",this.calciteFilterChange=r({cancelable:!1})}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],filterProps:[0,{},{attribute:!1}],filteredItems:[0,{},{attribute:!1}],items:[0,{},{attribute:!1}],label:1,messageOverrides:[0,{},{attribute:!1}],placeholder:1,scale:[3,{},{reflect:!0}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=k}get value(){return this._value}set value(e){let t=this._value;e!==t&&(this._value=e,this.valueHandler(e))}async filter(e=this.value){return new Promise(t=>{this.value=e,this.updateFiltered(i(this.items??[],e,this.filterProps),!1,t)})}async setFocus(e){return this.focusSetter(()=>this.textInputRef.value,e)}connectedCallback(){super.connectedCallback(),this.cancelable.add(this.filterDebounced)}async load(){this.updateFiltered(i(this.items??[],this.value,this.filterProps))}willUpdate(e){(e.has("items")&&(this.hasUpdated||this.items?.length>0)||e.has("filterProps"))&&this.filterDebounced(this.value)}valueHandler(e){this.filterDebounced(e)}inputHandler(e){let t=e.target;this.value=t.value,this.filterDebounced(t.value,!0)}keyDownHandler(e){e.defaultPrevented||(e.key==="Escape"&&this.value.length>0&&(this.clear(),e.preventDefault()),e.key==="Enter"&&e.preventDefault())}clear(){this.value="",this.filterDebounced("",!0),this.setFocus()}updateFiltered(e,t=!1,a){this.filteredItems=e,t&&this.calciteFilterChange.emit(),a?.()}render(){let{disabled:e,scale:t}=this;return this.interactiveContainer({disabled:e,children:c`<div class=${u(y.container)}><label><calcite-input clearable .disabled=${e} .icon=${x.search} .label=${this.label??this.messages.label} .messageOverrides=${{clear:this.messages.clear}} @keydown=${this.keyDownHandler} @calciteInputInput=${this.inputHandler} .placeholder=${this.placeholder} .scale=${t} type=text .value=${this.value} ${n(this.textInputRef)}></calcite-input></label></div>`})}};p("calcite-filter",l);export{l as Filter};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
import{a as F}from"./3TYJSBP3.js";import{a as q}from"./5X2CR2NN.js";import{a as M,b as R,c as W,d as N}from"./ZK2W2KJX.js";import{a as E}from"./ENDXE7YY.js";import"./DNYAPW4C.js";import{a as L}from"./YHAJICJ2.js";import"./RRXOB3GM.js";import{c as U}from"./G52BPUIA.js";import{a as I}from"./6XMUSNRS.js";import"./WGGFNK4Z.js";import{e as B}from"./3KWJQXAT.js";import"./TKK3AWQJ.js";import{D as l,t as S,u as P,y as f}from"./CDNETLLO.js";import"./OAOQ5BXS.js";import{E as k,F as G,G as O,H as y,N as $,S as H,g as D,h as v,l as T,p as m}from"./NG7BG3QY.js";var J=({bufferSize:b=0,containerSize:t,itemSizes:e})=>{let a=t-b,i=e.length,o=0;for(let[r,n]of e.entries())if(o=o+n,o>a){i=r;break}else continue;return i},X=({bufferSize:b=0,containerSize:t,itemSizes:e})=>Math.max(e.length-J({bufferSize:b,itemSizes:e,containerSize:t}),0),w={container:"container",actionGroupEnd:"action-group--end",actionGroupStart:"action-group--start"},z={actionsEnd:"actions-end",actionsStart:"actions-start",expandTooltip:"expand-tooltip"},Y=D`: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([scale=s]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-bar-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-sm));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm-plus)}:host{display:inline-flex;align-self:stretch;background:transparent;--calcite-internal-action-group-dividing-border-margin: calc(var(--calcite-spacing-base) + 1px)}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1));gap:var(--calcite-internal-action-bar-gap);padding:var(--calcite-internal-action-bar-padding)}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));box-shadow:var(--calcite-action-bar-shadow, var(--calcite-shadow-md))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;padding-block-end:var(--calcite-internal-action-bar-padding)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;border-inline-end-width:var(--calcite-border-width-sm);padding-inline-end:var(--calcite-internal-action-bar-padding)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`,C=class extends O{constructor(){super(),this.actions=[],this.containerRef=k(),this.direction=B(),this.actionGroups=[],this.mutationObserver=E("mutation",()=>this.mutationObserverHandler()),this.cancelable=F()(this),this.resize=q(({width:t,height:e})=>{let{expanded:a,expandDisabled:i,layout:o,overflowActionsDisabled:r,expandPosition:n}=this;if(r||o==="vertical"&&!e||o==="horizontal"&&!t||!this.containerRef.value)return;this.updateGroups();let d=this.getItemSizes(),{actionGroups:c}=this,x=this.hasActionsEnd||!i&&n==="end"?1:0,A=this.hasActionsStart||!i&&n==="start"?1:0,h=c.length+x+A,s=h,p=getComputedStyle(this.containerRef.value);if(s+=l(o==="horizontal"?p.paddingInlineStart:p.paddingBlockStart)+l(o==="horizontal"?p.paddingInlineEnd:p.paddingBlockEnd),c.length>0&&c.forEach((u,j)=>{let g=getComputedStyle(u),Q=l(g.gap),V=u.childElementCount-1;s+=Q*V,j<c.length-1&&(s+=l(o==="horizontal"?g.paddingInlineEnd:g.paddingBlockEnd),s+=l(o==="horizontal"?g.borderInlineEndWidth:g.borderBlockEndWidth))}),h>0)for(let u=1;u<h;u++)s+=l(p.gap);let K=X({bufferSize:s,containerSize:o==="horizontal"?t:e,itemSizes:d});R({actionGroups:c,expanded:a,overflowCount:K})},$.resize),this.resizeHandler=t=>{let{width:e,height:a}=t.contentRect;this.resize({width:e,height:a})},this.resizeObserver=E("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=L({blocking:!0}),this.focusSetter=I()(this),this.setExpandToggleEl=t=>{this.expandToggleEl=t},this.hasActionsEnd=!1,this.hasActionsStart=!1,this.floating=!1,this.expandDisabled=!1,this.expanded=!1,this.expandPosition="end",this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.scale="m",this.selectionAppearance="neutral",this.calciteActionBarCollapse=m({cancelable:!1}),this.calciteActionBarExpand=m({cancelable:!1}),this.calciteActionBarToggle=m({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],hasActionsStart:[16,{},{state:!0}],actionsEndGroupLabel:1,actionsStartGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],expandPosition:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.styles=Y}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){super.connectedCallback(),this.updateGroups(),this.overflowActions(),this.updateActions(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.overflowActionsDisabledHandler(this.overflowActionsDisabled),this.cancelable.add(this.resize)}willUpdate(t){(t.has("expandDisabled")&&(this.hasUpdated||this.expandDisabled!==!1)||t.has("expandPosition")&&(this.hasUpdated||this.expandPosition!=="end"))&&this.overflowActions(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled),t.has("expanded")&&this.hasUpdated&&(this.expandedHandler(),this.expanded?this.calciteActionBarExpand.emit():this.calciteActionBarCollapse.emit()),t.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="neutral")&&this.updateActions()}loaded(){this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}getItemSizes(){let{el:t,layout:e,expandToggleEl:a}=this,i=M(t);a&&i.push(a);let o=e==="horizontal"?"clientWidth":"clientHeight",r=Math.max(...i.map(n=>n[o]||0));return i.map(n=>n[o]||r)}expandedHandler(){let{el:t,expanded:e}=this;W({el:t,expanded:e}),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.overflowActions()}actionMenuOpenHandler(t){if(t.target.menuOpen){let e=t.composedPath();this.actionGroups?.forEach(a=>{e.includes(a)||(a.menuOpen=!1)})}}mutationObserverHandler(){this.updateGroups(),this.overflowActions(),this.queryAndStoreActions(),this.updateActions()}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,t.forEach(e=>{e.layout=this.layout,e.scale=this.scale})}handleDefaultSlotChange(){this.updateGroups(),this.queryAndStoreActions(),this.updateActions()}handleActionsEndSlotChange(t){this.hasActionsEnd=S(t),this.overflowActions()}handleActionsStartSlotChange(t){this.hasActionsStart=S(t),this.overflowActions()}handleTooltipSlotChange(t){let e=P(t).filter(a=>a?.matches("calcite-tooltip"));this.expandTooltip=e[0]}updateActions(){this.actions.forEach(t=>{t.selectionAppearance=this.selectionAppearance})}queryAndStoreActions(){this.actions=Array.from(this.el.querySelectorAll("calcite-action"))}handleKeyDown(t){this.queryAndStoreActions();let e=this.actions.filter(i=>!i.disabled),a=document.activeElement;if(!(!U(a)||!e.includes(a)))switch(t.key){case"ArrowRight":case"ArrowDown":f(e,a,"next",!0),t.preventDefault();break;case"ArrowLeft":case"ArrowUp":f(e,a,"previous",!0),t.preventDefault();break;case"Home":f(e,a,"first",!0),t.preventDefault();break;case"End":f(e,a,"last",!0),t.preventDefault();break;case"Tab":this.setActionTabIndexes(a);break}}setActionTabIndexes(t){this.actions.forEach(e=>{let a=!e.disabled&&e===t?0:-1;a===0?e.removeAttribute("tabindex"):e.tabIndex=a})}renderExpandTooltipSlot(){return v`<slot name=${z.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>`}renderExpandToggle(){let{el:t,expanded:e,toggleExpand:a,messages:i,position:o,scale:r}=this;return N({collapseLabel:i.collapseLabel,collapseText:i.collapse,direction:this.direction,el:t,expanded:e,expandLabel:i.expandLabel,expandText:i.expand,position:o,ref:this.setExpandToggleEl,scale:r,toggle:a,tooltip:this.expandTooltip})}renderActionsGroup(t){let{expandDisabled:e,scale:a,layout:i,overlayPositioning:o,expandPosition:r}=this,n=t==="start",d=!e&&r===t,c=n?z.actionsStart:z.actionsEnd,x=n?this.handleActionsStartSlotChange:this.handleActionsEndSlotChange,A=n?this.actionsStartGroupLabel:this.actionsEndGroupLabel,h=!d&&!(n?this.hasActionsStart:this.hasActionsEnd),s=n?w.actionGroupStart:w.actionGroupEnd;return v`<calcite-action-group class=${y(s)} .hidden=${h} .label=${A} .layout=${i} .overlayPositioning=${o} .scale=${a}>${n&&d?this.renderExpandToggle():null}<slot name=${c??T} @slotchange=${x}></slot>${d?this.renderExpandTooltipSlot():null}${!n&&d?this.renderExpandToggle():null}</calcite-action-group>`}render(){return v`<div .ariaOrientation=${this.layout==="horizontal"?"horizontal":"vertical"} class=${y(w.container)} role=toolbar ${G(this.containerRef)}>${this.renderActionsGroup("start")}<slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderActionsGroup("end")}</div>`}};H("calcite-action-bar",C);export{C as ActionBar};
|
|
2
|
+
import{a as F}from"./6BEQZOCM.js";import{a as q}from"./CQMH7FNX.js";import{a as M,b as R,c as W,d as N}from"./XM4U2QML.js";import{a as E}from"./ENDXE7YY.js";import"./DNYAPW4C.js";import{a as L}from"./PIZB2UU4.js";import"./RRXOB3GM.js";import{c as U}from"./G52BPUIA.js";import{a as I}from"./DWQYJRFK.js";import"./WGGFNK4Z.js";import{e as B}from"./JE22TLFT.js";import"./S4EMFPQN.js";import{D as l,t as S,u as P,y as f}from"./AXFCT6T6.js";import"./OAOQ5BXS.js";import{E as k,F as G,G as O,H as y,N as $,S as H,g as D,h as v,l as T,p as m}from"./IHG36OXA.js";var J=({bufferSize:b=0,containerSize:t,itemSizes:e})=>{let a=t-b,i=e.length,o=0;for(let[r,n]of e.entries())if(o=o+n,o>a){i=r;break}else continue;return i},X=({bufferSize:b=0,containerSize:t,itemSizes:e})=>Math.max(e.length-J({bufferSize:b,itemSizes:e,containerSize:t}),0),w={container:"container",actionGroupEnd:"action-group--end",actionGroupStart:"action-group--start"},z={actionsEnd:"actions-end",actionsStart:"actions-start",expandTooltip:"expand-tooltip"},Y=D`: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([scale=s]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-xxs));--calcite-internal-action-bar-padding: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-spacing-sm));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-bar-gap: var(--calcite-action-bar-items-space, var(--calcite-space-sm-plus));--calcite-internal-action-bar-padding: var(--calcite-spacing-sm-plus)}:host{display:inline-flex;align-self:stretch;background:transparent;--calcite-internal-action-group-dividing-border-margin: calc(var(--calcite-spacing-base) + 1px)}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1));gap:var(--calcite-internal-action-bar-gap);padding:var(--calcite-internal-action-bar-padding)}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));box-shadow:var(--calcite-action-bar-shadow, var(--calcite-shadow-md))}:host([layout=vertical]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm);border-image:linear-gradient(to right,transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;padding-block-end:var(--calcite-internal-action-bar-padding)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-image:linear-gradient(transparent var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) var(--calcite-internal-action-group-dividing-border-margin),var(--calcite-action-group-border-color, var(--calcite-color-border-3)) calc(100% - var(--calcite-internal-action-group-dividing-border-margin)),transparent var(--calcite-internal-action-group-dividing-border-margin));border-image-slice:1;border-inline-end-width:var(--calcite-border-width-sm);padding-inline-end:var(--calcite-internal-action-bar-padding)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`,C=class extends O{constructor(){super(),this.actions=[],this.containerRef=k(),this.direction=B(),this.actionGroups=[],this.mutationObserver=E("mutation",()=>this.mutationObserverHandler()),this.cancelable=F()(this),this.resize=q(({width:t,height:e})=>{let{expanded:a,expandDisabled:i,layout:o,overflowActionsDisabled:r,expandPosition:n}=this;if(r||o==="vertical"&&!e||o==="horizontal"&&!t||!this.containerRef.value)return;this.updateGroups();let d=this.getItemSizes(),{actionGroups:c}=this,x=this.hasActionsEnd||!i&&n==="end"?1:0,A=this.hasActionsStart||!i&&n==="start"?1:0,h=c.length+x+A,s=h,p=getComputedStyle(this.containerRef.value);if(s+=l(o==="horizontal"?p.paddingInlineStart:p.paddingBlockStart)+l(o==="horizontal"?p.paddingInlineEnd:p.paddingBlockEnd),c.length>0&&c.forEach((u,j)=>{let g=getComputedStyle(u),Q=l(g.gap),V=u.childElementCount-1;s+=Q*V,j<c.length-1&&(s+=l(o==="horizontal"?g.paddingInlineEnd:g.paddingBlockEnd),s+=l(o==="horizontal"?g.borderInlineEndWidth:g.borderBlockEndWidth))}),h>0)for(let u=1;u<h;u++)s+=l(p.gap);let K=X({bufferSize:s,containerSize:o==="horizontal"?t:e,itemSizes:d});R({actionGroups:c,expanded:a,overflowCount:K})},$.resize),this.resizeHandler=t=>{let{width:e,height:a}=t.contentRect;this.resize({width:e,height:a})},this.resizeObserver=E("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=L({blocking:!0}),this.focusSetter=I()(this),this.setExpandToggleEl=t=>{this.expandToggleEl=t},this.hasActionsEnd=!1,this.hasActionsStart=!1,this.floating=!1,this.expandDisabled=!1,this.expanded=!1,this.expandPosition="end",this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.scale="m",this.selectionAppearance="neutral",this.calciteActionBarCollapse=m({cancelable:!1}),this.calciteActionBarExpand=m({cancelable:!1}),this.calciteActionBarToggle=m({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler),this.listen("keydown",this.handleKeyDown)}static{this.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],hasActionsStart:[16,{},{state:!0}],actionsEndGroupLabel:1,actionsStartGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],expandPosition:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.styles=Y}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(t){return this.focusSetter(()=>this.el,t)}connectedCallback(){super.connectedCallback(),this.updateGroups(),this.overflowActions(),this.updateActions(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.overflowActionsDisabledHandler(this.overflowActionsDisabled),this.cancelable.add(this.resize)}willUpdate(t){(t.has("expandDisabled")&&(this.hasUpdated||this.expandDisabled!==!1)||t.has("expandPosition")&&(this.hasUpdated||this.expandPosition!=="end"))&&this.overflowActions(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled),t.has("expanded")&&this.hasUpdated&&(this.expandedHandler(),this.expanded?this.calciteActionBarExpand.emit():this.calciteActionBarCollapse.emit()),t.has("selectionAppearance")&&(this.hasUpdated||this.selectionAppearance!=="neutral")&&this.updateActions()}loaded(){this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}getItemSizes(){let{el:t,layout:e,expandToggleEl:a}=this,i=M(t);a&&i.push(a);let o=e==="horizontal"?"clientWidth":"clientHeight",r=Math.max(...i.map(n=>n[o]||0));return i.map(n=>n[o]||r)}expandedHandler(){let{el:t,expanded:e}=this;W({el:t,expanded:e}),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.overflowActions()}actionMenuOpenHandler(t){if(t.target.menuOpen){let e=t.composedPath();this.actionGroups?.forEach(a=>{e.includes(a)||(a.menuOpen=!1)})}}mutationObserverHandler(){this.updateGroups(),this.overflowActions(),this.queryAndStoreActions(),this.updateActions()}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,t.forEach(e=>{e.layout=this.layout,e.scale=this.scale})}handleDefaultSlotChange(){this.updateGroups(),this.queryAndStoreActions(),this.updateActions()}handleActionsEndSlotChange(t){this.hasActionsEnd=S(t),this.overflowActions()}handleActionsStartSlotChange(t){this.hasActionsStart=S(t),this.overflowActions()}handleTooltipSlotChange(t){let e=P(t).filter(a=>a?.matches("calcite-tooltip"));this.expandTooltip=e[0]}updateActions(){this.actions.forEach(t=>{t.selectionAppearance=this.selectionAppearance})}queryAndStoreActions(){this.actions=Array.from(this.el.querySelectorAll("calcite-action"))}handleKeyDown(t){this.queryAndStoreActions();let e=this.actions.filter(i=>!i.disabled),a=document.activeElement;if(!(!U(a)||!e.includes(a)))switch(t.key){case"ArrowRight":case"ArrowDown":f(e,a,"next",!0),t.preventDefault();break;case"ArrowLeft":case"ArrowUp":f(e,a,"previous",!0),t.preventDefault();break;case"Home":f(e,a,"first",!0),t.preventDefault();break;case"End":f(e,a,"last",!0),t.preventDefault();break;case"Tab":this.setActionTabIndexes(a);break}}setActionTabIndexes(t){this.actions.forEach(e=>{let a=!e.disabled&&e===t?0:-1;a===0?e.removeAttribute("tabindex"):e.tabIndex=a})}renderExpandTooltipSlot(){return v`<slot name=${z.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>`}renderExpandToggle(){let{el:t,expanded:e,toggleExpand:a,messages:i,position:o,scale:r}=this;return N({collapseLabel:i.collapseLabel,collapseText:i.collapse,direction:this.direction,el:t,expanded:e,expandLabel:i.expandLabel,expandText:i.expand,position:o,ref:this.setExpandToggleEl,scale:r,toggle:a,tooltip:this.expandTooltip})}renderActionsGroup(t){let{expandDisabled:e,scale:a,layout:i,overlayPositioning:o,expandPosition:r}=this,n=t==="start",d=!e&&r===t,c=n?z.actionsStart:z.actionsEnd,x=n?this.handleActionsStartSlotChange:this.handleActionsEndSlotChange,A=n?this.actionsStartGroupLabel:this.actionsEndGroupLabel,h=!d&&!(n?this.hasActionsStart:this.hasActionsEnd),s=n?w.actionGroupStart:w.actionGroupEnd;return v`<calcite-action-group class=${y(s)} .hidden=${h} .label=${A} .layout=${i} .overlayPositioning=${o} .scale=${a}>${n&&d?this.renderExpandToggle():null}<slot name=${c??T} @slotchange=${x}></slot>${d?this.renderExpandTooltipSlot():null}${!n&&d?this.renderExpandToggle():null}</calcite-action-group>`}render(){return v`<div .ariaOrientation=${this.layout==="horizontal"?"horizontal":"vertical"} class=${y(w.container)} role=toolbar ${G(this.containerRef)}>${this.renderActionsGroup("start")}<slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderActionsGroup("end")}</div>`}};H("calcite-action-bar",C);export{C as ActionBar};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M14 4V2h-2V0h-1v2H9V0H4v2H3v6H1v8h14V4zM3 15H2V9h1zM5 1h3v1H5zm4 14H4V3h5zm1-12h3v1h-3zm4 12h-4v-2h1v-1h-1v-1h1v-1h-1V9h1V8h-1V7h1V6h-1V5h4zm-1-8h-1V6h1zm0 2h-1V8h1zm0 2h-1v-1h1zm0 2h-1v-1h1zM6 5H5V4h1zm2 0H7V4h1zM6 7H5V6h1zm2 0H7V6h1zM6 9H5V8h1zm2 0H7V8h1zm-2 2H5v-1h1zm2 0H7v-1h1zm-2 2H5v-1h1zm2 0H7v-1h1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21 8V6h-2V3h-1v3h-2v2h-1v15h7V8zm-4-1h3v1h-3zm4 15h-5V9h5zm-3-11h-1v-1h1zm0 2h-1v-1h1zm2-2h-1v-1h1zm0 2h-1v-1h1zm-2 2h-1v-1h1zm2 0h-1v-1h1zm-2 2h-1v-1h1zm2 0h-1v-1h1zm-2 2h-1v-1h1zm2 0h-1v-1h1zM13 1H6v2H5v9H2v11h12V3h-1zM5 14H4v1h1v1H4v1h1v1H4v1h1v3H3v-9h2zM7 2h5v1H7zm6 20H6V4h7zM9 6H7V5h2zm0 2H7V7h2zm0 2H7V9h2zm3-4h-2V5h2zm0 2h-2V7h2zm0 2h-2V9h2zm-3 8H7v-1h2zm3 0h-2v-1h2zm-3 2H7v-1h2zm3 0h-2v-1h2zm-3-8H7v-1h2zm0 2H7v-1h2zm0 2H7v-1h2zm3-4h-2v-1h2zm0 2h-2v-1h2zm0 2h-2v-1h2z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M28 13v-3h-1V8h-2V4h-1v4h-2v2h-1v3h-1v18h9V13zm-5-4h3v1h-3zm-1 2h5v2h-5zm6 19h-7V14h7zm-5-13h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zM7 22H6v-1h1zm0 2H6v-1h1zm0 2H6v-1h1zm0 2H6v-1h1zM17 8h-3V7h3zm-4 0h-3V7h3zm4 2h-3V9h3zm-4 0h-3V9h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-7 0v-1h3v1zm7 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4-27h-7v2H8v16H4v12h15V3h-2zM8 30H5V20h3zm3-28h5v1h-5zm7 2v26H9V4z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m4.904 15.198-.003-.002c-1.361-1.024-1.843-2.768-1.843-3.95 0-1.687 1.047-3.014 2.155-4.417C6.428 5.291 7.683 3.7 7.98 1.34c0 0 .045-.416.421-.491.287-.052.46.003.613.182.82.94 1.615 2.193 1.833 4.929.073.65.34 1.03.735 1.03.007 0 .7-.027.759-1a.59.59 0 0 1 1.14-.174c.91 2.443.737 7.859-2.256 9.033-1.456.404-2.217-.114-2.606-.62-.757-.984-.683-2.672-.182-4.016-1.454.565-2.326 2.1-2.595 4.577 0 0-.08.363-.358.48s-.474.008-.58-.07m4.764-5.924c.122.269.13.438.016.63-.637 1.087-.89 2.91-.27 3.714.107.142.44.573 1.495.282 1.796-.707 2.362-4.072 1.948-6.532-.372.44-.884.621-1.274.621-.732 0-1.571-.509-1.73-1.934-.15-1.877-.574-2.932-1.048-3.66-.507 2.141-1.721 3.677-2.807 5.053-1.041 1.32-1.94 2.458-1.94 3.797 0 .628.204 1.766.905 2.629.629-3.599 2.562-4.636 4.132-4.856 0 0 .416-.055.573.256"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m7.173 22.746-.003-.002c-2.134-1.582-2.134-4.375-2.134-5.876 0-2.44 1.458-4.422 3.003-6.52 1.67-2.269 3.564-4.841 3.992-8.502 0 0 .05-.432.41-.493.292-.05.46-.005.618.17 1.26 1.418 2.632 3.279 2.963 7.436.174 1.548 1.07 2.074 1.453 2.074.24 0 1.554-.39 1.591-2.117a.59.59 0 0 1 .468-.564.6.6 0 0 1 .66.33c1.109 2.518 1.057 6.56-.118 9.409-.753 1.827-1.904 3.088-3.33 3.647-2.235.63-3.369-.086-3.934-.792-1.11-1.385-.954-3.9-.158-5.853-2.619.669-4.11 3.047-4.547 7.238 0 0 .018.36-.35.48a.66.66 0 0 1-.584-.065m5.715-19.875c-.636 3.44-2.439 5.889-4.044 8.07-1.507 2.047-2.808 3.815-2.808 5.927 0 1.246 0 3.232 1.176 4.565.656-4.541 2.698-7.053 6.079-7.475 0 0 .376-.061.564.26.14.248.135.405.03.603-.911 1.696-1.246 4.309-.292 5.5.549.684 1.503.843 2.836.47 1.425-.562 2.272-1.987 2.722-3.081.89-2.156 1.086-5.041.57-7.27-.545 1.11-1.604 1.593-2.246 1.593-.818 0-2.204-.808-2.448-2.978-.258-3.244-1.147-4.925-2.14-6.184"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11.583 30.39a.6.6 0 0 1-.247-.055c-3.531-1.633-5.321-4.238-5.321-7.744 0-3.5 2.09-6.23 4.304-9.121 2.465-3.22 5.013-6.548 4.694-11.176 0 0-.033-.373.26-.53.25-.127.463-.081.743.038 2.75 1.427 4.165 4.415 4.582 9.656.18 1.62.81 2.52 1.768 2.52.322 0 .854-.157 1.286-.595.504-.51.752-1.265.74-2.243a.59.59 0 0 1 .453-.582.585.585 0 0 1 .667.316c.895 1.86 1.415 4.296 1.463 6.857.08 4.25-1.245 9.343-5.207 10.898-2.703.759-4.072-.121-4.75-.99-1.608-2.056-1.016-5.944.114-8.482-2.59.85-3.923 2.511-4.598 3.82-1.055 2.051-1.215 4.64-.405 6.596a.592.592 0 0 1-.546.817M16.04 2.97c.049 4.608-2.478 7.91-4.927 11.107-2.107 2.753-4.098 5.353-4.098 8.514 0 2.824 1.267 4.923 3.866 6.39-.526-2.05-.254-4.483.765-6.461.843-1.638 2.592-3.762 6.133-4.58 0 0 .436-.078.61.225.138.242.148.441.036.64-1.238 2.181-2.072 6.361-.62 8.22.714.913 1.94 1.134 3.645.657 3.438-1.351 4.6-6.019 4.525-9.931-.035-1.813-.314-3.55-.802-5.036a3.4 3.4 0 0 1-.809 1.37c-.65.658-1.458.893-1.998.893-.717 0-2.42-.334-2.763-3.424-.367-4.6-1.445-7.224-3.563-8.584"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m13.47 5.485-2.123-3.856L9.369 1H8l-.797 2H5l-.91 4H1l-1 8h16V7.39zM15 8v6H1l.883-6H4l-1 3v1h1v-1l1-3 .911-4h1.97l.797-2h.536l.786.25v3.731L11 8v1l1 1v1l-1 1h1l1-1v-1l-1-1V8l-1-2.019V3.073l1.694 3.083L15 7.89z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m19.347 9.845-2.958-5.946L13.76 3h-2.144l-1.039 3H7.862L6.27 12H2.704L1.08 23H23V12.621zM22 22H2.238l1.33-9h2.436l-.987 3.716L5 19h1v-2.09L8.632 7h2.659l1.04-3h1.19L15 4.492v6.29l2 3.288v1.226l1 1.633v.936l-1.375 1.42.719.695L19 18.27v-1.623l-1-1.632V13.79l-2-3.288V5.365l2.556 5.134L22 13.117z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m26.284 13.33-3.945-7.162L18.667 5h-3.023l-1 4h-3.782l-1 7H3.729L.712 31H31V16.867zM30 30H1.933l2.615-13h5.12L8 22v5h1l-.012-4.84L10.73 17l1-7h3.697l1-4h2.085l.489.155v3.29l1.16 3.892 2.66 2.397 1 4.67 2.747 3.594-3.136 3.89.735.556 3.467-4.442-2.86-3.717-1.043-4.877-2.692-2.426L20 9.497V6.473L21.656 7l3.855 7L30 17.367z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"m8.5 11.5-2.021-3h1.379L5.5 5 3.142 8.5h1.379l-2.021 3z"},{"opacity":".25","d":"M10.5 6.5h2v7h-2z"},{"opacity":".5","d":"M12.5 4.5h3v8a1 1 0 0 1-1 1h-2z"},{"d":"M14.5 2h-13C.673 2 0 2.673 0 3.5v9c0 .827.673 1.5 1.5 1.5h13c.827 0 1.5-.673 1.5-1.5v-9c0-.827-.673-1.5-1.5-1.5M1 12.5v-9c0-.275.225-.5.5-.5h13c.275 0 .5.225.5.5V4h-3v2h-2v7H6v-1h3.44L7.417 9h1.379L5.5 4.104 2.203 9h1.378l-2.02 3H5v1H1.5a.5.5 0 0 1-.5-.5M12 7v6h-1V7zM4.082 8 5.5 5.895 6.918 8H5.539l2.022 3H3.439L5.46 8zM14.5 13H13V5h2v7.5c0 .275-.225.5-.5.5"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M6.502 6.548S5.82 9.08 3.5 10.5h2c-.578 1.39-1.844 3.203-3 4h3c-.673 1.383-3 4-3 4h8s-2.327-2.617-3-4h3c-1.156-.797-2.422-2.61-3-4h2C7.13 9.05 6.502 6.548 6.502 6.548"},{"opacity":".5","d":"M17.5 6.5H23v14h-5.5z"},{"opacity":".25","d":"M17 9.5h-3.5v1h-1v10H17z"},{"d":"M14 12h1v1h-1zm0 3h1v-1h-1zm0 2h1v-1h-1zm6 0h1v-1h-2v2h1zm4-12.019V19.02A1.983 1.983 0 0 1 22.019 21H1.98A1.983 1.983 0 0 1 0 19.019V4.98C0 3.89.889 3 1.981 3H22.02C23.11 3 24 3.889 24 4.981M17 10h-3v1h-1v9h4zm6-3h-5v13h4.019c.54 0 .981-.44.981-.981zm0-2.019A.983.983 0 0 0 22.019 4H1.98a.983.983 0 0 0-.98.981V19.02c0 .54.44.981.981.981H6v-1H2.5a.5.5 0 0 1-.374-.832c.02-.021 1.612-1.818 2.502-3.168H2.5a.5.5 0 0 1-.284-.911c.908-.628 1.886-1.94 2.494-3.09H3.5a.5.5 0 0 1-.26-.927C5.352 8.78 6.012 6.44 6.02 6.417a.5.5 0 0 1 .482-.368h.004a.5.5 0 0 1 .48.376c.006.023.618 2.329 2.775 3.648A.5.5 0 0 1 9.5 11H8.29c.608 1.15 1.586 2.462 2.494 3.089A.5.5 0 0 1 10.5 15H8.372c.89 1.35 2.482 3.147 2.502 3.168A.499.499 0 0 1 10.5 19H7v1h5V10h1V9h4V6h6zM5.95 14.72c-.458.94-1.603 2.377-2.361 3.281H9.41c-.758-.904-1.903-2.34-2.36-3.281A.498.498 0 0 1 7.5 14h1.688c-.916-.982-1.73-2.298-2.15-3.308A.502.502 0 0 1 7.5 10h.54a7.7 7.7 0 0 1-1.544-2.111A8 8 0 0 1 4.954 10H5.5a.5.5 0 0 1 .462.692c-.42 1.01-1.234 2.326-2.15 3.308H5.5a.502.502 0 0 1 .45.719M20 13h1v-1h-2v2h1zm0-4h1V8h-2v2h1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M24.5 27.5h-6v-13h2v-2h4z"},{"opacity":".5","d":"M24.5 8.5h7V26a1.5 1.5 0 0 1-1.5 1.5h-5.5z"},{"opacity":".25","d":"M9.5 8.654c-1 1.846-2 2.846-3.227 3.846H8.5c-.408 1.77-2 3-3.634 4H7.5c-.77 1.854-1.917 2.938-3.458 4H6.96c-.898 1.844-1.773 2.906-3.741 4H15.78c-1.969-1.094-2.844-2.156-3.74-4h2.917c-1.541-1.062-2.687-2.146-3.458-4h2.634c-1.634-1-3.226-2.23-3.634-4h2.227c-1.227-1-2.227-2-3.227-3.846"},{"d":"M29.5 4h-27A2.5 2.5 0 0 0 0 6.5v19C0 26.879 1.121 28 2.5 28h27a2.494 2.494 0 0 0 2.49-2.5l.01-19C32 5.121 30.879 4 29.5 4M1 25.5v-19C1 5.673 1.673 5 2.5 5h27c.827 0 1.5.673 1.5 1.5V8h-7v4h-4v2h-2v13h-8v-2.013l5.781.013a.5.5 0 0 0 .243-.937c-1.662-.923-2.466-1.81-3.163-3.063h2.097a.5.5 0 0 0 .284-.912c-1.24-.854-2.233-1.732-2.955-3.088h1.847a.5.5 0 0 0 .26-.927c-1.282-.784-2.627-1.752-3.204-3.073h1.537a.501.501 0 0 0 .316-.888c-1.217-.992-2.161-1.956-3.104-3.697-.173-.322-.705-.322-.878 0-.943 1.741-1.887 2.705-3.104 3.697a.501.501 0 0 0 .316.888H7.81c-.577 1.321-1.922 2.29-3.205 3.073a.5.5 0 0 0 .261.927h1.847c-.722 1.356-1.716 2.234-2.955 3.088a.5.5 0 0 0 .284.912h2.097c-.697 1.254-1.501 2.14-3.163 3.063a.5.5 0 0 0 .243.937L9 24.987V27H2.5c-.827 0-1.5-.673-1.5-1.5M24 27h-5V15h2v-2h3zM7.384 20.235A.5.5 0 0 0 6.96 20H5.531c1.012-.857 1.826-1.854 2.43-3.309A.5.5 0 0 0 7.5 16h-.999c1.126-.856 2.155-1.953 2.486-3.388A.5.5 0 0 0 8.5 12h-.896A11.5 11.5 0 0 0 9.5 9.652c.599.97 1.21 1.695 1.896 2.348H10.5a.5.5 0 0 0-.487.612c.33 1.435 1.36 2.532 2.486 3.388H11.5a.5.5 0 0 0-.462.691c.605 1.455 1.419 2.452 2.43 3.309H12.04a.5.5 0 0 0-.45.719c.652 1.339 1.31 2.352 2.504 3.281H4.906c1.194-.929 1.852-1.942 2.503-3.281a.5.5 0 0 0-.025-.484M29.5 27H25V9h6v16.5c0 .827-.673 1.5-1.5 1.5M26 10h3v1h-2v2h-1zm0 5h3v1h-2v2h-1zm0 5h3v1h-2v2h-1zm-6-3h2v1h-2zm0 3h2v1h-2zm0 3h2v1h-2z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M14.532 2.003 8.133 14H14.5c.827 0 1.5-.673 1.5-1.5v-9a1.5 1.5 0 0 0-1.468-1.497"},{"opacity":".25","d":"M12 13V7h-.133L11 8.625V13z"},{"opacity":".5","d":"M15 12.5V5h-2v8h1.5c.275 0 .5-.225.5-.5"},{"d":"M5 8V7h1v.375L5.667 8zm1-4H5v2h1zM4 6v1h1V6zm2.2 1 .533-1H6v1zM3 11H2v1h1.533L4.6 10H3zm-.533 3L3 13H1.5a.5.5 0 0 1-.5-.5v-9c0-.275.225-.5.5-.5h6.833l.534-1H1.5C.673 2 0 2.673 0 3.5v9c0 .827.673 1.5 1.5 1.5zM3 8v1h2V8zM12.941.735l-.882-.47-8 15 .882.47zm1.59 1.268-.53.997h.499c.275 0 .5.225.5.5V4h-1.533l-1.6 3H12v6h-1V8.625L10 10.5V13H8.667l-.534 1H14.5c.827 0 1.5-.673 1.5-1.5v-9a1.5 1.5 0 0 0-1.468-1.497M13 5h2v7.5c0 .275-.225.5-.5.5H13z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M22.019 3h-2.386l-9.6 18H22.02A1.983 1.983 0 0 0 24 19.019V4.98A1.983 1.983 0 0 0 22.019 3"},{"opacity":".5","d":"M18 7v13h4.019c.54 0 .981-.44.981-.981V7zm3 10h-1v1h-1v-2h2zm0-4h-1v1h-1v-2h2zm0-4h-1v1h-1V8h2z"},{"opacity":".25","d":"M17 20V10h-1.1l-1.067 2H15v1h-.7L13 15.438V20zm-3-6h1v1h-1zm1 2v1h-1v-1z"},{"d":"M6 14h1v.99H6zm1.033 2 .534-1H7v1zm1.6-3L9 12.312V12H8v1zM3 17v1h1v-1zm-1 2h1v-1H2zM7 6H6v1.99h1zm-2 7v.99h1V13zm-1 6h1v-1H4zM4 9v1H3v1h2V9zm-1 4v.99h1V13zm-1 2h1v-1H2zm7.7-4 .3-.563V10H9V9H8v2zM5 12H4v.99h1zm1 3H5v1h1zm-2-1v1h1v-1zm1 2H4v1h1zm1 1H5v1h.967L6 17.937zm-1.1 3H1.981A.983.983 0 0 1 1 19.019V4.98c0-.54.44-.981.981-.981h11.452l.534-1H1.98A1.983 1.983 0 0 0 0 4.981V19.02C0 20.11.889 21 1.981 21h2.386zM6 8H5v1h1zm2 .99V8H7v.99zm-1 3h1V11H7zM7 14h1v-1H7zm-1-4h1V9H6zm1 2H6v1h1zm-1-1H5v.99h1zM18.441.985l-.882-.47-12 22.5.882.47zM22.02 3h-2.386L19.1 4h2.919c.54 0 .981.44.981.981V6h-4.967L17 7.938V9h-.567l-.533 1H17v10h-4v-4.562l-1 1.875V20h-1.433l-.534 1H22.02A1.983 1.983 0 0 0 24 19.019V4.98A1.983 1.983 0 0 0 22.019 3M18 20V7h5v12.019c0 .54-.44.981-.981.981zm1-8h2v1h-1v1h-1zm0-4h2v1h-1v1h-1zm0 8h2v1h-1v1h-1zm-5 1v-1h1v1zm1-4h-.7l.533-1H15zm0 2h-1v-1h1z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[{"opacity":".25","d":"M29.5 4h-4.267l-12.8 24H29.5a2.494 2.494 0 0 0 2.49-2.5l.01-19C32 5.121 30.879 4 29.5 4"},{"opacity":".25","d":"M24 27V13h-3v2h-1.633l-.367.688V27zm-4-10h2v1h-2zm0 3h2v1h-2zm2 3v1h-2v-1z"},{"opacity":".5","d":"M25 27h4.5c.827 0 1.5-.673 1.5-1.5V9h-6zm1-17h3v1h-2v2h-1zm0 5h3v1h-2v2h-1zm0 5h3v1h-2v2h-1z"},{"d":"M12 16v-1h1v1zm-2-8H9v1.99h1zm3 5v-1h-1v-1h-1v2zm-2 4v1h1v-2h-1zm1-2v-1h-1v1zm-2 0v1h1v-1zm-4 0v1h1v-1zM3 25h1v-1H3zm2 0h1v-1H5zm2 0h1v-1H7zm-3-2v1h1v-1zm1-6h1v-1H5zm-1 4h1v-1H4zm6-7h1v-1h-1zm-3-3v1H6v1h2v-2zm-2 8v1h1v-1zm4-9H8v1h1zm1.5 11 .5-.938V20h-1v1zM8 19.99V19H7v.99zM9 21v-1H8v1zm2.567-2H11v1h.033zM6 22H5v.99h1zm3.967 0H9v.99h.433zM10 19H9v1h1zm-3 2v-1H6v2h1zm2 2H8v1h.9l.1-.188zm0-11h1v-1H9zM7.3 27H2.5c-.827 0-1.5-.673-1.5-1.5v-19C1 5.673 1.673 5 2.5 5h16.533l.534-1H2.5A2.5 2.5 0 0 0 0 6.5v19C0 26.879 1.121 28 2.5 28h4.267zM9 13H8v1h1zM6 23v1h1v-1zm5-12.01V10h-1v.99zM8 17v-1H7v1.99h1zm1 1h1v-1H9zm-2 0H6v1h1zm1-4H7v1h1zm1 2v-1H8v1zM24.441 1.235l-.882-.47-16 30 .882.47zM29.5 4h-4.267L24.7 5h4.8c.827 0 1.5.673 1.5 1.5V8h-7v4h-3.033L20 13.813V14h-.1l-.533 1H21v-2h3v14h-5V15.688l-1 1.875V27h-5.033l-.534 1H29.5a2.494 2.494 0 0 0 2.49-2.5l.01-19C32 5.121 30.879 4 29.5 4M31 25.5c0 .827-.673 1.5-1.5 1.5H25V9h6zM15.781 25l-1.746-.004.874-1.639c.325.237.692.47 1.115.706a.5.5 0 0 1-.243.937M22 18h-2v-1h2zm-2 6v-1h2v1zm2-3h-2v-1h2zm5 2h-1v-3h3v1h-2zm0-10h-1v-3h3v1h-2zm0 5h-1v-3h3v1h-2z"}]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M5 6v1H4V6zM4 8H3v1h2V8zm0 2H3v1H2v1h2v-1h1v-1zm10-1V8h-1v1zM6 9H5v1h1zm10-5.5v9c0 .827-.673 1.5-1.5 1.5h-13C.673 14 0 13.327 0 12.5v-9C0 2.673.673 2 1.5 2h13c.827 0 1.5.673 1.5 1.5m-1 0c0-.275-.225-.5-.5-.5h-13c-.275 0-.5.225-.5.5v9c0 .275.225.5.5.5H5v-2h1v2h4v-2h1v2h1V9h1v2h1v1h-1v1h1.5c.275 0 .5-.225.5-.5V11h-1v-1h1V7h-1V6h1V5h-2v3h-1V7h-1v3h-1V6h2V4h3zM7 12h2v-1H8v-1H6v1h1zM6 4H5v1.99h1zm2 4.99V8H6v.99zm-1-2V6H6v.99zM6 7H5v1h1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M2 14h1v1H2zm1 3v1h1v-1zm0-4v.99h1V13zm4-1.01h1V11H7zm2 1V12H8v.99zM2 19h1v-1H2zM8 8.99V8H7v.99zM7 6H6v1.99h1zm1 5h2v-1H9V9H8zm-4 8h1v-1H4zm7 0v-1h-1v1zm-6-6v.99h1V13zm2 3h1v-1H7zm0-4H6v1h1zm1 1.99V13H7v.99zm1 3V16H8v.99zM6 10h1V9H6zm4 3.99V13H9v.99zM11 15v-1h-1v1zm-1 2.99V17H9v.99zM8 15h1v-1H8zm0 4h1v-1H8zm-2-5v.99h1V14zm0-3H5v.99h1zm11 4h1v-3h-1zm4 1h-2v1h2zm0-8h-1v1h1zm-6 6h1v-1h-1zM6 8H5v.99h1zm15 3v-1h-1v1zm-4 7h1v-2h-1zm3-8.01V9h-1v.99zm4-5.009V19.02A1.983 1.983 0 0 1 22.019 21H1.98A1.983 1.983 0 0 1 0 19.019V4.98C0 3.89.889 3 1.981 3H22.02C23.11 3 24 3.889 24 4.981m-1 0A.983.983 0 0 0 22.019 4H1.98a.983.983 0 0 0-.98.981V19.02c0 .54.44.981.981.981H6v-2h1v2h5v-4h1v4h4v-1h1v1h4.019c.54 0 .981-.44.981-.981V7h-2V6h2zM21 15h1v-1h-1zm-4-6h-1v1h1v1h1V7h2V6h-3zm2 5h1v-2h-1zm2 5h1v-1h-1zm-7-7v1h1v-1zm-8 3H5v.99h1zm-1 2v1h1v-1zm0-1H4v.99h1zm9-1h1v-1h-1zM5 9H4v1H3v1h2zm0 3H4v.99h1zm-1 2v1h1v-1zm11 4h1v-1h-1zm-1 1h1v-1h-1zm0-3v1h1v-1zm-6 1H7v1h1zm6-7h1V9h-2v1h-1v2h1v-1h1zm-2 5h1v-2h-1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M4 20h1v1H4zm-1 5h1v-1H3zm5-14H7v1H6v1h2zm2 4v1h1v-1zm3 3.99V18h-1v.99zM11 17v1h1v-2h-1zm-6 2v1h1v-1zm7-4.01V14h-1v.99zM4 23v1h1v-1zm3 2h1v-1H7zm3-11h1v-1h-1zm-1-4H8v1h1zm0 2h1v-1H9zM5 25h1v-1H5zm6-14v-1h-1v.99zm0 2h2v-1h-1v-1h-1zm-2 9v1h1v-1zm6 1.99V23h-1v.99zM16 25v-1h-1v1zm-3 0h1v-1h-1zm-2-6v1h1v-1zM10 8H9v1.99h1zm3 7.99V15h-1v.99zM14 17v-1h-1v1zm0 2.99V19h-1v.99zM15 21v-1h-1v1zm-4 4h1v-1h-1zm-6-8h1v-1H5zm2 2v1h1v-1zm1 2h1v-1H8zm1-2v1h1v-1zm-3-4v1h1v-1zm6 6v1h1v-2h-1zm0 2v1h1v-1zm2-.01V22h-1v.99zM10 21h1v-1h-1zm17-3v-1h-1v1zm2-1h-1v1h1zm-2 8h1v-1h-1zm-1-9h1v-1h-1zm0 5h1v-1h-1zm0-10h1v-1h-1zm1 1.99V12h-1v.99zM27 22h-1v1h1zm2 4h1v-1h-1zm-1-12v-1h-1v1zM9 13H8v1h1zm20 0h1v-1h-1zm-1-2h1v-1h-1zm-4 13h1v-5h-1zm7.99-17.51V25.5c0 1.38-1.11 2.5-2.49 2.5h-27A2.5 2.5 0 0 1 0 25.5v-19A2.5 2.5 0 0 1 2.5 4h27.01a2.48 2.48 0 0 1 2.48 2.49M31 6.5c0-.827-.673-1.5-1.5-1.5h-27C1.673 5 1 5.673 1 6.5v19c0 .827.673 1.5 1.5 1.5H9v-3h1v3h8v-4h1v4h1v-1h1v1h3v-2h1v2h1v-1h1v1h2.5c.827 0 1.5-.673 1.5-1.5V9h-3V8h3zM28 21h1v-1h-1zm1 2h1v-1h-1zm0-3h1v-1h-1zm-1-4h1v-1h-1zm1-1h1v-1h-1zm-5-3h-1v1h1v5h1V9h2V8h-3zM7 21v-1H6v1.99h1zm0-3H6v.99h1zm15-2h1v-1h-1zM6 23v1h1v-1zm4-6H9v1h1zm-2-3H7v1h1zm0 9v1h1v-1zm1-7v-1H8v1zm-1 1v-1H7v1.99h1zm-2 5H5v.99h1zm5 1h-1v1h1zm11 0h1v-1h-1zm0 3h1v-1h-1zm0-6h1v-1h-1zm-2 3v1h1v-1zm2-6h-1v1h1zm-1-4h1v-1h-2v2h-2v6h1v-5h2zm-3 9h1v-1h-1zm2-1h1v-1h-1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M6.908 14.349a10.6 10.6 0 0 1-3.115.451C1.423 14.8 0 14.089 0 14.089l2.133-12.6S3.556 2 5.294 2c2.688 0 2.721-.986 5.412-.986 1.738 0 3.161.674 3.161.674l1.127 6.655-1.115-.594-.903-5.336c-.496-.17-1.337-.399-2.27-.399-1.17 0-1.725.201-2.367.434C7.623 2.707 6.813 3 5.294 3c-.908 0-1.736-.126-2.359-.26l-1.81 10.697c.573.169 1.49.363 2.668.363.905 0 1.63-.111 2.293-.27zm7.09-.926c1.27.318 2.002.866 2.002.866l-.414-2.444zm-1.603-5.331-.766-.408-3.739 2.388.846.689zm-6.856 3.482.88.878 1.483-1.082-.899-.731zm5.078-4.43-.677-.36L4 10.042l.814.81zm4.563 2.431-6.287 5.34L9.983 16 16 10.024zm-2.857 1.115-.963-.605-4.222 3.082 1.045 1.04zm1.908-1.62-.855-.456-1.145.836.892.56z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m17.241 12.998-7.433 4.235-.539-.536 7.35-4.033zm1.555 1.706.802.438.72-.49-.787-.422zm-.047-.895-.694-.373-2.935 1.709.8.441zm-2.01 6.08 5.42-4.246-.902-.485-5.642 3.977zm5.803-.636.073.434c-.135-.036-.296-.07-.446-.105l-.94.83c1.684.3 2.652.771 2.652.771l-.456-2.709zM6.424 20.8c-1.999 0-3.493-.38-4.3-.65L4.848 4.343c.89.215 2.227.457 3.723.457 2.121 0 3.252-.465 4.25-.875.946-.39 1.763-.725 3.49-.725 1.55 0 2.927.38 3.63.615l1.76 10.446 1.115.6L20.83 3.078S18.797 2.2 16.31 2.2c-3.847 0-3.891 1.6-7.74 1.6-2.485 0-4.52-.722-4.52-.722L1 20.783S3.034 21.8 6.424 21.8c2.506 0 4.168-.374 5.793-.764l-.836-.83c-1.408.325-2.864.594-4.957.594m16.569-4.708-7.925 6.367 1.094 1.087L24 16.633zm-8.198 3.622-1.457 1.026 1.02 1.014 1.613-1.264zm.382-3.66-.86-.442-3.87 2.255.714.71zm2.913-.895-6.288 4.055.734.73 6.356-4.322z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M17.857 27.934c-2.784.769-4.848 1.866-9.32 1.866C4.094 29.8 1 28 1 28L5 3.9c.7.233 2.519.968 5.34.968 4.807 0 5.59-1.657 10.734-1.657 3.26 0 5.926.689 5.926.689l2.743 16.528-1.112-.593-2.507-15.106a26 26 0 0 0-5.05-.518c-2.474 0-3.842.393-5.29.81-1.445.417-2.94.847-5.445.847a15.6 15.6 0 0 1-4.544-.65L2.107 27.433a16 16 0 0 0 6.43 1.366c3.281 0 5.163-.608 7.156-1.252.442-.142.89-.285 1.353-.423zm11.778-2.052.14.846c-.253-.044-.545-.09-.856-.136l-.895.89C29.878 27.711 31 28 31 28l-.495-2.982zm-6.931 5.472 8.874-8.812-1.17-.626-9.06 8.087zM20.5 29.157l5.006-4.374-1.094-.667-4.967 3.989zm-1.728-1.723 2.206-1.75-1.112-.746-2.085 1.509zm-1.637-1.632 6.91-4.872-.78-.453-6.947 4.51zm4.632-.706 5.911-4.638-.797-.426-6.205 4.335zm-6.059-.717 4.718-2.966-.788-.4-4.622 2.675zm10.438-.168 3.205-2.86-.903-.482-3.349 2.674zm-11.734-1.124 8.801-5.014-.383-.205-.196-.09-8.732 4.8zm6.752-2.143 3.418-2.14-.616-.329-3.508 2.078zm3.561-.504 1.291-.87-.713-.38-1.33.835z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"M15 16H1v-1h14zM9 1C5.
|
|
1
|
+
"M15 16H1v-1h14zM9 1C5.937 1 3.2 2.984 2.345 5.825c-.422 1.4-.393 2.532-.362 3.45L.753 8.048l-.706.707L2.5 11.207l2.453-2.453-.707-.707-1.262 1.262c-.03-.9-.066-1.92.318-3.196C4.032 3.691 6.375 2 9 2c3.309 0 6 2.691 6 6a6 6 0 0 1-2.69 5h1.58a6.97 6.97 0 0 0 2.106-5c0-3.86-3.137-7-6.996-7"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"M5.5 18.207.646 13.354l.708-.708L5 16.293V16c-.086-3.577 1.204-6.889 3.633-9.31 4.9-4.903 12.83-4.904 17.706-.029 4.874 4.874 4.874 12.804 0 17.678A12.5 12.5 0 0 1 24.275 26h-2.16c1.273-.556 2.475-1.327 3.517-2.368 4.483-4.485 4.483-11.78 0-16.264-4.485-4.484-11.78-4.484-16.264 0C7.106 9.624 5.921 12.675 6 15.988v.305l3.646-3.647.708.708zM2 28v1h28v-1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m13.041 10.581 2.702 1.575-.504.864-2.686-1.566.759 3.008-.97.244-.999-3.957-1.888-1.1q-.203.168-.455.26v2.383l2.92 2.911-.707.71L9 13.704V16H8v-2.295L5.788 15.91l-.707-.707L8 12.293V9.908a1.5 1.5 0 0 1-.455-.26l-1.888 1.1-1 3.958-.97-.244.76-3.009L1.76 13.02l-.504-.864 2.702-1.575-2.956-.799.262-.965 3.909 1.056 1.856-1.082A1.5 1.5 0 0 1 7 8.5q.002-.136.027-.267l-1.854-1.08L1.292 8.2l-.262-.965 2.929-.791L1.257 4.87l.504-.863 2.686 1.565-.76-3.008.97-.244 1 3.958 1.87 1.09q.208-.182.473-.276V4.708L5.08 1.797l.707-.71L8 3.296V1h1v2.295l2.212-2.206.707.707L9 4.707v2.385q.265.095.473.275l1.87-1.09 1-3.957.969.244-.76 3.009 2.687-1.566.504.863-2.702 1.575 2.951.798-.262.965-3.904-1.055-1.853 1.08q.025.13.027.267 0 .15-.03.292l1.857 1.082 3.905-1.056.262.965z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m23.114 13.604-5.179 1.423-1.23-2.544 1.165-2.507.025-.014 5.22 1.434.265-.964-4.268-1.172 3.597-2.077-.5-.866-3.576 2.065 1.098-4.272-.968-.248-1.342 5.22-.002.001-2.867-.183L13 6.734v-.206l3.85-3.77-.7-.715L13 5.128V1h-1v4.154l-3.148-3.11-.704.712L12 6.559v.155L10.434 8.9l-2.854.182h-.001l-1.342-5.22-.968.248 1.098 4.272L2.79 6.317l-.5.866L5.888 9.26 1.62 10.432l.266.964 5.19-1.426 1.219 2.521-1.18 2.542-.01.005-5.22-1.434-.265.964 4.268 1.172-3.597 2.077.5.866 3.576-2.065-1.098 4.272.968.248 1.342-5.22.123-.07 2.72.173L12 18.222v.25l-3.85 3.77.7.715L12 19.872V24h1v-4.154l3.148 3.11.704-.712L13 18.441v-.24l1.563-2.18 2.733-.175.125.072 1.342 5.22.968-.248-1.098-4.272 3.576 2.065.5-.866-3.597-2.077 4.268-1.172zm-6.698.58-2.444-1.41Q14 12.64 14 12.5c.001-.14-.011-.184-.028-.273l2.39-1.38-.764 1.644zm-2.401-4.317 1.841.118-2.387 1.379a1.5 1.5 0 0 0-.469-.272V8.45zm-3.044 0L12 8.43v2.662a1.5 1.5 0 0 0-.469.272l-2.389-1.38zm-2.37.958 2.427 1.402Q11 12.36 11 12.5c-.001.14.011.184.028.273l-2.406 1.39.78-1.68zm2.359 4.229-1.696-.109 2.267-1.309q.207.178.469.272v2.598zm3.065 0L13 16.484v-2.576q.261-.094.469-.272l2.265 1.308z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m30.165 19.01-5.659 1.519-.23-.133L22.633 17H26v-1h-3.379l1.57-3.381.275-.159 5.699 1.53.26-.965-4.734-1.27 3.99-2.3-.5-.868-3.984 2.297 1.282-4.701-.965-.264-1.546 5.673-.282.163-3.752-.239 1.655-2.931-.871-.492-1.662 2.942L17 8.165v-.45l4.144-4.173-.71-.705L17 6.297V2h-1v4.302l-3.465-3.466-.707.707L16 7.717v.417l-2.078 2.902-1.662-2.943-.871.492 1.656 2.931-3.76.24-.282-.164L7.457 5.92l-.965.264 1.282 4.7-3.985-2.296-.5.867 3.99 2.3-4.733 1.271.26.965 5.698-1.53.21.12L10.365 16H7v1h3.379L8.84 20.312l-.376.217-5.658-1.52-.26.966 4.694 1.26-3.927 2.263.5.867 3.971-2.289-1.292 4.741.965.264 1.557-5.713.341-.197 3.674.234-1.655 2.93.871.493 1.662-2.942L16 24.808v.465l-4.173 4.2.71.705L16 26.693V31h1v-4.302l3.434 3.479.71-.703-4.144-4.2v-.497l2.071-2.892 1.662 2.943.871-.492-1.655-2.931 3.667-.234.34.197 1.558 5.713.965-.264-1.293-4.74 3.971 2.288.5-.867-3.926-2.263 4.694-1.26zm-8.882-2.506 1.452 3.004-3.87-2.231A2.5 2.5 0 0 0 19 16.5c0-.283-.057-.551-.144-.805l3.83-2.208zm-2.445-4.057 3.283.21-3.772 2.174a2.5 2.5 0 0 0-1.349-.78V9.88zm-4.697 0L16 9.851v4.2a2.5 2.5 0 0 0-1.359.791l-3.79-2.184zm-2.424 4.05-1.464-3.029 3.887 2.24c-.084.25-.14.514-.14.792 0 .268.053.52.131.762l-3.785 2.182zm2.905 1.638c.354.406.83.703 1.378.815v4.142l-1.875-2.618-3.205-.205zm4.23 2.339L17 23.06v-4.11a2.5 2.5 0 0 0 1.368-.804l3.683 2.123z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M15.856 16H1.144L7 13.438v1.054L5.856 15h5.288L10 14.492v-1.095zm-2.748-6.946.471.085-.064.473c-.01.066-.23 1.592-1.644 2.614A4.18 4.18 0 0 1 9 12.983V14H8v-1.02a4.17 4.17 0 0 1-2.871-.753c-1.414-1.023-1.635-2.55-1.644-2.615l-.064-.473.47-.085c.064-.013 1.593-.273 2.995.74.514.37.868.81 1.114 1.223V8.998a4.18 4.18 0 0 1-2.871-.757C3.715 7.22 3.494 5.693 3.485 5.63l-.064-.475.47-.085c.064-.012 1.593-.272 2.995.74.514.371.868.812 1.114 1.225V6.19c-.312-.364-1-1.32-1-2.691C7 1.771 8.105.686 8.153.64l.344-.332.347.33C8.892.683 9.97 1.755 9.97 3.5c0 1.38-.656 2.329-.97 2.692v.842c.246-.413.6-.854 1.114-1.224 1.4-1.013 2.929-.752 2.994-.74l.471.084-.064.475c-.01.064-.23 1.59-1.644 2.612A4.18 4.18 0 0 1 9 8.998v2.02c.246-.413.6-.853 1.114-1.224 1.4-1.013 2.929-.752 2.994-.74m-3.482-1.04c.437-.028 1.064-.154 1.66-.583s.911-.986 1.075-1.392a3.2 3.2 0 0 0-1.66.581c-.592.427-.91.985-1.075 1.395m-2.252 0A3.2 3.2 0 0 0 6.3 6.62a3.2 3.2 0 0 0-1.661-.58c.164.405.481.961 1.076 1.39s1.222.556 1.659.585m0 3.982A3.2 3.2 0 0 0 6.3 10.604a3.2 3.2 0 0 0-1.661-.58c.164.406.481.961 1.076 1.391s1.223.555 1.659.581M9 3.5c0-.733-.265-1.316-.499-1.687C8.268 2.187 8 2.771 8 3.5s.267 1.313.502 1.687A3.2 3.2 0 0 0 9 3.5m3.361 6.523a3.2 3.2 0 0 0-1.66.581 3.2 3.2 0 0 0-1.075 1.395 3.2 3.2 0 0 0 1.66-.584 3.17 3.17 0 0 0 1.075-1.392"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M22.975 24H2.103L11 20.213v1.046L6.956 23h11.128L14 21.257V20.17zM12 17.232v-4.529h-.757c-1.016 0-2.48-.179-3.674-1.031-1.215-.868-1.861-2.216-2.188-3.193l-.36-1.153H6.21c1.514 0 2.768.347 3.726 1.03 1.093.783 1.71 1.939 2.064 2.876v-1.53l-.176-.236c-.682-.914-1.814-2.444-1.814-4.232 0-1.8 1.13-3.322 1.812-4.232l.702-.937.7.938c.879 1.175 1.766 2.597 1.766 4.231 0 1.645-.886 3.063-1.763 4.234L13 9.77v1.6c.345-.96.973-2.197 2.114-3.013 1.195-.852 2.658-1.03 3.676-1.03h1.158l-.27 1.112c-.342 1.021-.989 2.369-2.197 3.232-1.195.853-2.658 1.032-3.674 1.032H13v4.668c.345-.961.973-2.198 2.114-3.014 1.195-.852 2.658-1.03 3.676-1.03h1.158l-.27 1.112c-.342 1.021-.989 2.369-2.197 3.232-1.195.853-2.658 1.032-3.674 1.032H13V21h-1v-2.297h-.757c-1.016 0-2.48-.179-3.674-1.031-1.215-.868-1.861-2.216-2.188-3.192l-.372-1.154H6.21c1.514 0 2.768.347 3.726 1.03 1.093.783 1.71 1.939 2.064 2.876m-.882.47c-.295-.817-.83-1.864-1.764-2.531-.749-.535-1.747-.818-2.967-.843.293.814.829 1.862 1.763 2.53.933.665 2.107.83 2.968.844m2.818 0c.86-.015 2.032-.18 2.964-.845.926-.662 1.463-1.71 1.76-2.53-.862.015-2.033.18-2.965.844-.927.663-1.464 1.712-1.76 2.531m0-6c.86-.015 2.032-.18 2.964-.845.926-.662 1.463-1.71 1.76-2.53-.862.015-2.033.18-2.965.844-.927.663-1.464 1.712-1.76 2.531m-2.818 0c-.295-.817-.83-1.864-1.764-2.531-.749-.535-1.747-.818-2.968-.843.292.81.829 1.861 1.764 2.53.933.665 2.107.83 2.968.844m1.408-2.968C13.063 8.011 14 6.673 14 5.234c0-1.43-.938-2.773-1.478-3.499-.61.82-1.522 2.11-1.522 3.5 0 1.38.913 2.674 1.526 3.5"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M29.877 32H3.123L15 27.168v1.042L8.197 31h16.606L18 28.21v-1.081zM24.69 18h1.39l-.496 1.52c-.41 1.232-.971 2.917-2.52 4.022-1.841 1.316-4 1.458-4.844 1.458H17v3h-1v-3h-1.22c-.844 0-3.003-.142-4.846-1.458-1.547-1.105-2.108-2.79-2.518-4.021L6.92 18h1.39c1.164 0 2.91.14 4.612 1.356 1.563 1.118 2.432 2.963 2.884 4.315l.194.58V17h-1.209c-.836 0-2.976-.142-4.802-1.458-1.533-1.105-2.089-2.79-2.495-4.021L7.002 10H8.38c1.153 0 2.883.14 4.57 1.356 1.549 1.118 2.41 2.963 2.858 4.315l.192.58v-3.503l-.3-.406c-1.057-1.43-1.69-3.52-1.69-5.593 0-2.08.632-4.172 1.687-5.595l.801-1.08.8 1.082c1.06 1.43 1.691 3.52 1.691 5.593 0 2.112-.615 4.152-1.686 5.595L17 12.75v3.5l.191-.578c.45-1.353 1.31-3.198 2.859-4.316C21.737 10.141 23.467 10 24.62 10h1.378l-.492 1.52c-.406 1.232-.962 2.917-2.496 4.022C21.185 16.858 19.045 17 18.209 17H17v7.25l.193-.578c.453-1.353 1.322-3.198 2.885-4.316C21.78 18.141 23.526 18 24.69 18m-6.55-2h.069c.577 0 2.585-.09 4.22-1.259 1.27-.905 1.745-2.337 2.128-3.486l.064-.192c-1.017 0-2.536.12-3.99 1.159-1.331.95-2.089 2.579-2.49 3.778m-3.28 0c-.402-1.198-1.16-2.827-2.492-3.778-1.453-1.038-2.972-1.159-3.988-1.159H8.38l.064.192c.383 1.15.859 2.58 2.127 3.486C12.206 15.91 14.214 16 14.791 16zm0 8c-.402-1.198-1.16-2.827-2.492-3.778-1.453-1.038-2.972-1.159-3.988-1.159H8.38l.064.192c.383 1.15.859 2.58 2.127 3.486C12.206 23.91 14.214 24 14.791 24zm1.642-12.277c.932-1.242 1.487-3.09 1.487-4.944 0-1.845-.557-3.693-1.491-4.944-.932 1.243-1.487 3.092-1.487 4.944 0 1.847.557 3.695 1.491 4.944m8.12 7.34h-.002c-1.016 0-2.535.12-3.988 1.159-1.332.95-2.09 2.579-2.491 3.778h.068c.577 0 2.585-.09 4.22-1.259 1.27-.905 1.745-2.337 2.128-3.486z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m14.645 13.954-2.807-2.786c.15-1.012.544-4.61-1.156-6.268C8.226 2.507 4.457 1.331 1 1.058c.472 2.737 1.606 7.432 3.585 9.391 2.156 2.133 4.011 1.466 6.519 1.4l2.835 2.815zM5.289 9.738c-1.694-1.677-2.718-5.906-3.061-7.55 1.514.23 5.286 1.022 7.756 3.43 1.021.995 1.078 3.204.954 4.656L5.465 4.84l-.704.71 5.386 5.348c-2.128.15-3.327.355-4.858-1.16"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M22.262 21.594a29.8 29.8 0 0 0-4.558-4.673c.244-1.27.961-6.225-1.947-9.183-3.475-3.532-8.85-5.43-13.748-5.733.692 3.95 2.409 10.753 5.244 13.589 3.22 3.22 5.789 2.342 9.648 2.04l3.598 5.422zM7.96 14.887c-2.71-2.71-4.291-9.62-4.73-11.777 1.95.246 7.853 1.302 11.814 5.33 2.185 2.221 2.005 5.927 1.78 7.638L8.397 7.713l-.704.71 8.345 8.286c-3.566.35-5.473.784-8.079-1.822"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M29.306 28.812c-2.5-4.031-5.691-6.335-6.654-6.973.094-.619.283-2.052.328-3.795.103-3.972-.727-6.827-2.468-8.487C14.919 4.225 3.282 2.204 2.789 2.12l-.697-.118.122.697c.09.517 2.26 12.695 6.808 17.241C11.167 22.085 13.254 23 16 23c.896 0 1.817-.093 2.793-.19a40 40 0 0 1 3.047-.216l5.364 8.379.425-.286c.043-.029 1.065-.718 1.605-1.258l.28-.28zm-7.554-7.785-11.32-11.24-.704.71 11.215 11.135c-.782.046-1.532.11-2.25.182-.95.096-1.847.186-2.693.186-1.82 0-3.839-.335-6.27-2.767-3.717-3.715-5.854-13.295-6.394-15.99 2.634.53 11.887 2.652 16.486 7.038 1.528 1.456 2.254 4.06 2.158 7.738a31 31 0 0 1-.228 3.008m5.737 8.536-3.446-5.382a23 23 0 0 1 4.19 4.807 13 13 0 0 1-.744.575"
|