@esri/calcite-components 5.1.1 → 5.1.2-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{WQCT4VLB.js → 22ZEEBHY.js} +1 -1
- package/dist/cdn/{Q56UST3A.js → 2E5VWP5F.js} +1 -1
- package/dist/cdn/{W57IL7KF.js → 2IH3A7XP.js} +1 -1
- package/dist/cdn/{G2G6FHMB.js → 35O6UEOL.js} +1 -1
- package/dist/cdn/{CM45J66U.js → 3DHLIYTZ.js} +1 -1
- package/dist/cdn/{Q4V5DVKS.js → 3LBQM6E5.js} +1 -1
- package/dist/cdn/{PM5MZR4Z.js → 3OUO73FE.js} +1 -1
- package/dist/cdn/3UQ52WEC.js +2 -0
- package/dist/cdn/{EQKCU4NC.js → 46QVRBZQ.js} +1 -1
- package/dist/cdn/{LKYA2H2B.js → 4DEE5DJG.js} +1 -1
- package/dist/cdn/{ID2LCYSN.js → 4ESXF6CD.js} +1 -1
- package/dist/cdn/4GINWH77.js +2 -0
- package/dist/cdn/{KJCVGOXF.js → 4GLWWIFB.js} +1 -1
- package/dist/cdn/55B3DHRL.js +2 -0
- package/dist/cdn/{TYQB2FN4.js → 5AIYVBUE.js} +1 -1
- package/dist/cdn/{KXD6O3ZI.js → 5GSQDOTM.js} +1 -1
- package/dist/cdn/{ECVX7SVS.js → 5JMEGSKG.js} +1 -1
- package/dist/cdn/{V3X47NBI.js → 5P6PZGTL.js} +1 -1
- package/dist/cdn/{TWVXE232.js → 5RKV22NY.js} +1 -1
- package/dist/cdn/{SW5TNX5V.js → 5XBX6MS4.js} +1 -1
- package/dist/cdn/{LOJBKHVF.js → 65AE3WDH.js} +1 -1
- package/dist/cdn/{ALLL4LZ4.js → 6DMJVTU7.js} +1 -1
- package/dist/cdn/7CPR7ZY6.js +2 -0
- package/dist/cdn/{U7OJQ4EC.js → 7LJPLUHO.js} +1 -1
- package/dist/cdn/{COXLBEPM.js → 7Q7ZAE37.js} +1 -1
- package/dist/cdn/{VDJMOKVP.js → 7S7I3ZX6.js} +1 -1
- package/dist/cdn/{47Q2AE5B.js → 7TIC7MWH.js} +1 -1
- package/dist/cdn/{ND7KY7GE.js → AE6WIDBA.js} +1 -1
- package/dist/cdn/ANR6MBC5.js +2 -0
- package/dist/cdn/AQZ7H27V.js +2 -0
- package/dist/cdn/AUY3K2CK.js +2 -0
- package/dist/cdn/B2ZOCHY5.js +2 -0
- package/dist/cdn/{KCN4PBFZ.js → B74ZW4VM.js} +1 -1
- package/dist/cdn/BSFLNK3G.js +2 -0
- package/dist/cdn/BX7JMSW4.js +2 -0
- package/dist/cdn/{TTCZVBEF.js → BXUDOEEY.js} +1 -1
- package/dist/cdn/{KLNQGCK2.js → BZW75APA.js} +1 -1
- package/dist/cdn/CCMLFJRX.js +2 -0
- package/dist/cdn/{TVYIJRI2.js → CHVYZBJP.js} +1 -1
- package/dist/cdn/{5X2CR2NN.js → CQMH7FNX.js} +1 -1
- package/dist/cdn/{MW5MGBT4.js → D5RB7ITG.js} +1 -1
- package/dist/cdn/{YHAJICJ2.js → D7WOEWO3.js} +1 -1
- package/dist/cdn/DAUDD3TU.js +2 -0
- package/dist/cdn/{PB3LTBSS.js → DH7CVA3S.js} +1 -1
- package/dist/cdn/{IEWVQCQW.js → DIVK7SUE.js} +1 -1
- package/dist/cdn/{4NUFBGFK.js → DUFMSJ4N.js} +1 -1
- package/dist/cdn/{CDNETLLO.js → DVG3NA3H.js} +1 -1
- package/dist/cdn/{34ENIUR5.js → DZ2ML6RL.js} +1 -1
- package/dist/cdn/{S2BIRHQ7.js → E274U5KY.js} +1 -1
- package/dist/cdn/{NBAYHB3K.js → E5KOELX6.js} +1 -1
- package/dist/cdn/{E7GXKIIO.js → EBDWLL34.js} +1 -1
- package/dist/cdn/{3KWJQXAT.js → EH5Y2TRK.js} +1 -1
- package/dist/cdn/{HA65OOQD.js → FA5NVFJF.js} +1 -1
- package/dist/cdn/{IMUM436K.js → FPSAFKXP.js} +1 -1
- package/dist/cdn/{NTD2BJWG.js → FQTCAXYA.js} +1 -1
- package/dist/cdn/{3RRY5HHA.js → FQZZCTBU.js} +1 -1
- package/dist/cdn/FR5GKBKS.js +2 -0
- package/dist/cdn/{GTH6QFMV.js → FTH3OHTR.js} +1 -1
- package/dist/cdn/{QEJBAQOY.js → GA2SRL7F.js} +1 -1
- package/dist/cdn/{SNY2QKQJ.js → GCCKUDLZ.js} +1 -1
- package/dist/cdn/{2J4U5E4U.js → GFJSIQAL.js} +1 -1
- package/dist/cdn/{WER7FADP.js → GQV6EPVW.js} +1 -1
- package/dist/cdn/{5O6YGOJE.js → GUYWR6OU.js} +1 -1
- package/dist/cdn/{4UHTWXNV.js → GVPG6GL6.js} +1 -1
- package/dist/cdn/{ST6WRTR2.js → H5OQUUCS.js} +1 -1
- package/dist/cdn/{JDVSVNSE.js → HNFN5XI4.js} +1 -1
- package/dist/cdn/{MHE72N53.js → HOZFU3MX.js} +1 -1
- package/dist/cdn/{OXCL3M4W.js → HS67EN4X.js} +1 -1
- package/dist/cdn/{QC5NB4VL.js → I5FHLUKC.js} +1 -1
- package/dist/cdn/{OWIJSXYV.js → IDT2SXTU.js} +1 -1
- package/dist/cdn/{2P3LOGHK.js → IIK67UVJ.js} +1 -1
- package/dist/cdn/J4NTIVMX.js +2 -0
- package/dist/cdn/{GCAYSD7G.js → JBJREVM7.js} +1 -1
- package/dist/cdn/{7B4FOF3S.js → JGIGYWX4.js} +1 -1
- package/dist/cdn/JKB2GJ3L.js +2 -0
- package/dist/cdn/{UTVGUMUM.js → KJ3CYYKH.js} +1 -1
- package/dist/cdn/{YYAYEKGB.js → KRJOJQ44.js} +1 -1
- package/dist/cdn/KZAI3CI3.js +2 -0
- package/dist/cdn/{ELXBBUY5.js → LBE47OKH.js} +1 -1
- package/dist/cdn/{7QS3Z4ZJ.js → LELOCWEB.js} +1 -1
- package/dist/cdn/{44VCOKJX.js → LWJGPTE6.js} +1 -1
- package/dist/cdn/{WCUO6JQN.js → M3FXEHEJ.js} +1 -1
- package/dist/cdn/{VEZBAZZG.js → MOFJZGJJ.js} +1 -1
- package/dist/cdn/{5D7IEY6J.js → MSMAWAGB.js} +1 -1
- package/dist/cdn/{V7YPIVAX.js → NFJSGECW.js} +1 -1
- package/dist/cdn/{QGF4JJQO.js → NFSJVK6S.js} +1 -1
- package/dist/cdn/NV73Q6Y3.js +2 -0
- package/dist/cdn/{ODGJXDZK.js → NWCJZZUP.js} +1 -1
- package/dist/cdn/{XRUJ4D7O.js → NXXNNPTZ.js} +1 -1
- package/dist/cdn/OAHYAUPC.js +2 -0
- package/dist/cdn/{CEWOZ7LP.js → OJOSD3I3.js} +1 -1
- package/dist/cdn/{3TYJSBP3.js → OKEUM3YZ.js} +1 -1
- package/dist/cdn/ON5SZ43I.js +2 -0
- package/dist/cdn/{XT4GLBAQ.js → OO4DL46D.js} +1 -1
- package/dist/cdn/{6V3FX2W2.js → OXAULX56.js} +1 -1
- package/dist/cdn/{E6X6BQLH.js → OYI5HS2H.js} +1 -1
- package/dist/cdn/{NCSMOKFP.js → PF2E72GP.js} +1 -1
- package/dist/cdn/{NG7BG3QY.js → PGOMURMZ.js} +1 -1
- package/dist/cdn/PTENM6H3.js +2 -0
- package/dist/cdn/PZBMDHWQ.js +2 -0
- package/dist/cdn/{GDYGEN45.js → QEET4SDM.js} +1 -1
- package/dist/cdn/QEJPO65G.js +2 -0
- package/dist/cdn/{ZRMTOZ3B.js → QU4Q7ONO.js} +1 -1
- package/dist/cdn/{Z3IP3JBL.js → QUBOBRBE.js} +1 -1
- package/dist/cdn/{GDFQSWZ7.js → QUFMR3GW.js} +1 -1
- package/dist/cdn/{6X3QWKZL.js → R6QHGRLY.js} +1 -1
- package/dist/cdn/{6VP3K6WL.js → RAPPDCJC.js} +1 -1
- package/dist/cdn/RCKGNXG5.js +2 -0
- package/dist/cdn/{ICGT7C6U.js → ROD7LNFF.js} +1 -1
- package/dist/cdn/{YKL7MIG5.js → RRG7YZBV.js} +1 -1
- package/dist/cdn/{VZ2YR2UG.js → RUFVN26P.js} +1 -1
- package/dist/cdn/SNI7EAIB.js +2 -0
- package/dist/cdn/{JGCJVDJA.js → T3FWIMHQ.js} +1 -1
- package/dist/cdn/{IRANNKJ2.js → THKF3UIU.js} +1 -1
- package/dist/cdn/{6XMUSNRS.js → TLYY3J5P.js} +1 -1
- package/dist/cdn/{BSMPD6VA.js → TMJJBLP6.js} +1 -1
- package/dist/cdn/{RUUD543Z.js → TNK2ZMWI.js} +1 -1
- package/dist/cdn/{L3D2OBOR.js → TO7Y5WZH.js} +1 -1
- package/dist/cdn/{PHEMAFCT.js → TPA4W766.js} +1 -1
- package/dist/cdn/{CENYPZ3Y.js → TPACOVOQ.js} +1 -1
- package/dist/cdn/{ETEMG44R.js → TQ5ZBZVK.js} +1 -1
- package/dist/cdn/{TKK3AWQJ.js → UANLRLKZ.js} +1 -1
- package/dist/cdn/{LI2CATYC.js → UILRTNAY.js} +1 -1
- package/dist/cdn/{DP2TY4KH.js → UJSGNQNS.js} +1 -1
- package/dist/cdn/{7SDGC2RW.js → UMNCTZMZ.js} +1 -1
- package/dist/cdn/{I4IDQ735.js → UQADROG7.js} +1 -1
- package/dist/cdn/{6HRHKHF5.js → UU6TKA7Y.js} +1 -1
- package/dist/cdn/{LJSR66HF.js → V7X5QMP5.js} +1 -1
- package/dist/cdn/{6VDGKXTH.js → VKOMYCKU.js} +1 -1
- package/dist/cdn/{JCVLN6XL.js → VL5MBQLU.js} +1 -1
- package/dist/cdn/VLTH6OI4.js +2 -0
- package/dist/cdn/{2JJ5YBBT.js → VTIIXIO2.js} +1 -1
- package/dist/cdn/VVLIBG27.js +2 -0
- package/dist/cdn/{SJCWFQNF.js → W776TYSB.js} +1 -1
- package/dist/cdn/WBG5KGIT.js +2 -0
- package/dist/cdn/{TVU7KEKM.js → WE6LDLUR.js} +1 -1
- package/dist/cdn/{ROJYTRK6.js → WJLDQOSL.js} +1 -1
- package/dist/cdn/{DK3SDSZL.js → WMAINNWS.js} +1 -1
- package/dist/cdn/{DDUIHGBF.js → WMRHH4QJ.js} +1 -1
- package/dist/cdn/{SNJLHXVG.js → WYWBO53V.js} +1 -1
- package/dist/cdn/XPV23QFC.js +2 -0
- package/dist/cdn/{NL77UDLL.js → XXOHZXFG.js} +1 -1
- package/dist/cdn/{V7PYDILT.js → Y7HCDFPY.js} +1 -1
- package/dist/cdn/{U4GRIQVY.js → YCBJZOJS.js} +1 -1
- package/dist/cdn/{IHYNJVS4.js → YETMUH7M.js} +1 -1
- package/dist/cdn/YPGTWYGF.js +2 -0
- package/dist/cdn/{PIR7PWBO.js → YVT2GP5U.js} +1 -1
- package/dist/cdn/{JPPCKAMD.js → ZAWIMU5V.js} +1 -1
- package/dist/cdn/{524MMG22.js → ZU6VN5T5.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/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
|
@@ -1,62 +1,37 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
-
const ComboboxItemSelector = "CALCITE-COMBOBOX-ITEM";
|
|
3
|
-
const ComboboxItemGroupSelector = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
4
|
-
const AllComboboxChildrenSelector = `${ComboboxItemSelector}, ${ComboboxItemGroupSelector}`;
|
|
5
2
|
const CSS = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
floatingUIContainer: "floating-ui-container",
|
|
23
|
-
screenReadersOnly: "screen-readers-only",
|
|
24
|
-
wrapper: "wrapper",
|
|
25
|
-
wrapperSingle: "wrapper--single",
|
|
26
|
-
wrapperActive: "wrapper--active",
|
|
27
|
-
gridInput: "grid-input",
|
|
28
|
-
inputSingle: "input--single",
|
|
29
|
-
inputIcon: "input--icon",
|
|
30
|
-
inputWrap: "input-wrap",
|
|
31
|
-
inputWrapSingle: "input-wrap--single",
|
|
32
|
-
iconEnd: "icon-end",
|
|
33
|
-
iconStart: "icon-start",
|
|
34
|
-
list: "list",
|
|
35
|
-
listHide: "list--hide",
|
|
36
|
-
disabled: "disabled"
|
|
3
|
+
title: "title",
|
|
4
|
+
close: "close",
|
|
5
|
+
imageContainer: "image-container",
|
|
6
|
+
chipIcon: "chip-icon",
|
|
7
|
+
textSlotted: "text--slotted",
|
|
8
|
+
container: "container",
|
|
9
|
+
imageSlotted: "image--slotted",
|
|
10
|
+
closable: "closable",
|
|
11
|
+
multiple: "multiple",
|
|
12
|
+
single: "single",
|
|
13
|
+
selectable: "selectable",
|
|
14
|
+
selectIcon: "select-icon",
|
|
15
|
+
selectIconActive: "select-icon--active",
|
|
16
|
+
nonInteractive: "non-interactive",
|
|
17
|
+
isCircle: "is-circle",
|
|
18
|
+
selected: "selected"
|
|
37
19
|
};
|
|
38
|
-
const
|
|
39
|
-
|
|
40
|
-
validationMessage: "comboboxValidationMessage",
|
|
41
|
-
item: (id) => `${idPrefix}-item-${id}`,
|
|
42
|
-
chip: (id) => `${idPrefix}-chip-${id}`,
|
|
43
|
-
label: (id) => `${idPrefix}-label-${id}`,
|
|
44
|
-
listbox: (id) => `${idPrefix}-listbox-${id}`,
|
|
45
|
-
input: (id) => `${idPrefix}-input-${id}`
|
|
20
|
+
const SLOTS = {
|
|
21
|
+
image: "image"
|
|
46
22
|
};
|
|
47
23
|
const ICONS = {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
labelContent: "label-content"
|
|
24
|
+
close: "x",
|
|
25
|
+
checkedSingle: "circle-f",
|
|
26
|
+
uncheckedMultiple: "square",
|
|
27
|
+
checkedMultiple: "check-square-f"
|
|
53
28
|
};
|
|
29
|
+
function isChip(el) {
|
|
30
|
+
return el?.tagName === "CALCITE-CHIP";
|
|
31
|
+
}
|
|
54
32
|
export {
|
|
55
|
-
AllComboboxChildrenSelector as A,
|
|
56
33
|
CSS as C,
|
|
57
|
-
|
|
34
|
+
ICONS as I,
|
|
58
35
|
SLOTS as S,
|
|
59
|
-
|
|
60
|
-
ComboboxItemGroupSelector as b,
|
|
61
|
-
ICONS as c
|
|
36
|
+
isChip as i
|
|
62
37
|
};
|
|
@@ -1,59 +1,62 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
|
+
const ComboboxItemSelector = "CALCITE-COMBOBOX-ITEM";
|
|
3
|
+
const ComboboxItemGroupSelector = "CALCITE-COMBOBOX-ITEM-GROUP";
|
|
4
|
+
const AllComboboxChildrenSelector = `${ComboboxItemSelector}, ${ComboboxItemGroupSelector}`;
|
|
2
5
|
const CSS = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
contentTop: "content-top",
|
|
7
|
-
header: "header",
|
|
8
|
-
headerContainer: "header-container",
|
|
9
|
-
headerContainerBorderEnd: "header-container--border-end",
|
|
10
|
-
headingTextContent: "heading-text-content",
|
|
11
|
-
heading: "heading",
|
|
12
|
-
description: "description",
|
|
13
|
-
headerContent: "header-content",
|
|
14
|
-
headerActions: "header-actions",
|
|
15
|
-
headerActionsEnd: "header-actions--end",
|
|
16
|
-
headerActionsStart: "header-actions--start",
|
|
6
|
+
allSelected: "all-selected",
|
|
7
|
+
chip: "chip",
|
|
8
|
+
chipInvisible: "chip--invisible",
|
|
17
9
|
icon: "icon",
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
10
|
+
input: "input",
|
|
11
|
+
inputHidden: "input--hidden",
|
|
12
|
+
label: "label",
|
|
13
|
+
labelIcon: "label--icon",
|
|
14
|
+
listContainer: "list-container",
|
|
15
|
+
noMatches: "no-matches",
|
|
16
|
+
noMatchesPlaceholder: "no-matches-placeholder",
|
|
17
|
+
placeholderIcon: "placeholder-icon",
|
|
18
|
+
selectAll: "select-all",
|
|
19
|
+
selectionDisplayFit: "selection-display--fit",
|
|
20
|
+
selectionDisplaySingle: "selection-display--single",
|
|
21
|
+
selectedIcon: "selected-icon",
|
|
22
|
+
floatingUIContainer: "floating-ui-container",
|
|
23
|
+
screenReadersOnly: "screen-readers-only",
|
|
24
|
+
wrapper: "wrapper",
|
|
25
|
+
wrapperSingle: "wrapper--single",
|
|
26
|
+
wrapperActive: "wrapper--active",
|
|
27
|
+
gridInput: "grid-input",
|
|
28
|
+
inputSingle: "input--single",
|
|
29
|
+
inputIcon: "input--icon",
|
|
30
|
+
inputWrap: "input-wrap",
|
|
31
|
+
inputWrapSingle: "input-wrap--single",
|
|
32
|
+
iconEnd: "icon-end",
|
|
33
|
+
iconStart: "icon-start",
|
|
34
|
+
list: "list",
|
|
35
|
+
listHide: "list--hide",
|
|
36
|
+
disabled: "disabled"
|
|
27
37
|
};
|
|
38
|
+
const idPrefix = "combobox";
|
|
28
39
|
const IDS = {
|
|
29
|
-
|
|
30
|
-
|
|
40
|
+
validationMessage: "comboboxValidationMessage",
|
|
41
|
+
item: (id) => `${idPrefix}-item-${id}`,
|
|
42
|
+
chip: (id) => `${idPrefix}-chip-${id}`,
|
|
43
|
+
label: (id) => `${idPrefix}-label-${id}`,
|
|
44
|
+
listbox: (id) => `${idPrefix}-listbox-${id}`,
|
|
45
|
+
input: (id) => `${idPrefix}-input-${id}`
|
|
31
46
|
};
|
|
32
47
|
const ICONS = {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
expand: "chevron-down",
|
|
36
|
-
collapse: "chevron-up"
|
|
48
|
+
chevronUp: "chevron-up",
|
|
49
|
+
chevronDown: "chevron-down"
|
|
37
50
|
};
|
|
38
51
|
const SLOTS = {
|
|
39
|
-
|
|
40
|
-
alerts: "alerts",
|
|
41
|
-
contentBottom: "content-bottom",
|
|
42
|
-
contentTop: "content-top",
|
|
43
|
-
headerActionsStart: "header-actions-start",
|
|
44
|
-
headerActionsEnd: "header-actions-end",
|
|
45
|
-
description: "description",
|
|
46
|
-
heading: "heading",
|
|
47
|
-
headerMenuActions: "header-menu-actions",
|
|
48
|
-
headerContent: "header-content",
|
|
49
|
-
fab: "fab",
|
|
50
|
-
footer: "footer",
|
|
51
|
-
footerEnd: "footer-end",
|
|
52
|
-
footerStart: "footer-start"
|
|
52
|
+
labelContent: "label-content"
|
|
53
53
|
};
|
|
54
54
|
export {
|
|
55
|
+
AllComboboxChildrenSelector as A,
|
|
55
56
|
CSS as C,
|
|
56
|
-
|
|
57
|
+
IDS as I,
|
|
57
58
|
SLOTS as S,
|
|
58
|
-
|
|
59
|
+
ComboboxItemSelector as a,
|
|
60
|
+
ComboboxItemGroupSelector as b,
|
|
61
|
+
ICONS as c
|
|
59
62
|
};
|
|
@@ -1,17 +1,59 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
const CSS = {
|
|
3
|
+
actionBarContainer: "action-bar-container",
|
|
3
4
|
container: "container",
|
|
4
|
-
|
|
5
|
+
contentBottom: "content-bottom",
|
|
6
|
+
contentTop: "content-top",
|
|
7
|
+
header: "header",
|
|
8
|
+
headerContainer: "header-container",
|
|
9
|
+
headerContainerBorderEnd: "header-container--border-end",
|
|
10
|
+
headingTextContent: "heading-text-content",
|
|
11
|
+
heading: "heading",
|
|
12
|
+
description: "description",
|
|
13
|
+
headerContent: "header-content",
|
|
14
|
+
headerActions: "header-actions",
|
|
15
|
+
headerActionsEnd: "header-actions--end",
|
|
16
|
+
headerActionsStart: "header-actions--start",
|
|
5
17
|
icon: "icon",
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
18
|
+
contentWrapper: "content-wrapper",
|
|
19
|
+
fabContainer: "fab-container",
|
|
20
|
+
footer: "footer",
|
|
21
|
+
footerContent: "footer-content",
|
|
22
|
+
footerStart: "footer-start",
|
|
23
|
+
footerEnd: "footer-end",
|
|
24
|
+
headerSlottedContent: "header--slotted-content",
|
|
25
|
+
headerNonSlottedContent: "header--non-slotted-content",
|
|
26
|
+
menuAction: "menu-action"
|
|
27
|
+
};
|
|
28
|
+
const IDS = {
|
|
29
|
+
close: "close",
|
|
30
|
+
collapse: "collapse"
|
|
10
31
|
};
|
|
11
32
|
const ICONS = {
|
|
12
|
-
|
|
33
|
+
close: "x",
|
|
34
|
+
menu: "ellipsis",
|
|
35
|
+
expand: "chevron-down",
|
|
36
|
+
collapse: "chevron-up"
|
|
37
|
+
};
|
|
38
|
+
const SLOTS = {
|
|
39
|
+
actionBar: "action-bar",
|
|
40
|
+
alerts: "alerts",
|
|
41
|
+
contentBottom: "content-bottom",
|
|
42
|
+
contentTop: "content-top",
|
|
43
|
+
headerActionsStart: "header-actions-start",
|
|
44
|
+
headerActionsEnd: "header-actions-end",
|
|
45
|
+
description: "description",
|
|
46
|
+
heading: "heading",
|
|
47
|
+
headerMenuActions: "header-menu-actions",
|
|
48
|
+
headerContent: "header-content",
|
|
49
|
+
fab: "fab",
|
|
50
|
+
footer: "footer",
|
|
51
|
+
footerEnd: "footer-end",
|
|
52
|
+
footerStart: "footer-start"
|
|
13
53
|
};
|
|
14
54
|
export {
|
|
15
55
|
CSS as C,
|
|
16
|
-
ICONS as I
|
|
56
|
+
ICONS as I,
|
|
57
|
+
SLOTS as S,
|
|
58
|
+
IDS as a
|
|
17
59
|
};
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
const CSS = {
|
|
3
3
|
container: "container",
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
containerNone: "container--none-selection",
|
|
5
|
+
icon: "icon",
|
|
6
|
+
iconEnd: "icon--end",
|
|
7
|
+
iconStart: "icon--start",
|
|
8
|
+
itemContent: "content",
|
|
9
|
+
link: "link"
|
|
9
10
|
};
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
contentStart: "content-start",
|
|
13
|
-
contentEnd: "content-end",
|
|
14
|
-
actionsEnd: "actions-end"
|
|
11
|
+
const ICONS = {
|
|
12
|
+
check: "check"
|
|
15
13
|
};
|
|
16
14
|
export {
|
|
17
15
|
CSS as C,
|
|
18
|
-
|
|
16
|
+
ICONS as I
|
|
19
17
|
};
|
package/dist/chunks/runtime.js
CHANGED
|
@@ -60,9 +60,9 @@ function getConfig() {
|
|
|
60
60
|
}
|
|
61
61
|
return effectiveConfig;
|
|
62
62
|
}
|
|
63
|
-
const version = "5.1.
|
|
63
|
+
const version = "5.1.2-next.0";
|
|
64
64
|
const buildDate = "2026-06-10";
|
|
65
|
-
const revision = "
|
|
65
|
+
const revision = "f9640583f";
|
|
66
66
|
function stampVersion() {
|
|
67
67
|
const config = getConfig();
|
|
68
68
|
if (config && config.version) {
|
|
@@ -85,7 +85,7 @@ if (!isServer) {
|
|
|
85
85
|
if (process.env.NODE_ENV !== "test") {
|
|
86
86
|
queueMicrotask(stampVersion);
|
|
87
87
|
}
|
|
88
|
-
const runtime = makeRuntime({ defaultAssetPath: "https://
|
|
88
|
+
const runtime = makeRuntime({ defaultAssetPath: "https://cdn.jsdelivr.net/npm/@esri/calcite-components@5.1.2-next.0/dist/cdn/", hydratedAttribute: "calcite-hydrated" });
|
|
89
89
|
const { customElement, getAssetPath, setAssetPath } = runtime;
|
|
90
90
|
export {
|
|
91
91
|
CSS_UTILITY as C,
|
package/dist/chunks/useTime.js
CHANGED
|
@@ -128,23 +128,28 @@ function getLocalizedTimePart(part, parts, locale = "en") {
|
|
|
128
128
|
return null;
|
|
129
129
|
}
|
|
130
130
|
if (part === "hourSuffix") {
|
|
131
|
-
const
|
|
132
|
-
const
|
|
131
|
+
const hourPart = parts.find(({ type }) => type === "hour");
|
|
132
|
+
const minutePart = parts.find(({ type }) => type === "minute");
|
|
133
|
+
const hourIndex = hourPart ? parts.indexOf(hourPart) : -1;
|
|
134
|
+
const minuteIndex = minutePart ? parts.indexOf(minutePart) : -1;
|
|
133
135
|
const hourSuffix = parts[hourIndex + 1];
|
|
134
136
|
return hourSuffix?.type === "literal" && minuteIndex - hourIndex === 2 ? hourSuffix.value || null : null;
|
|
135
137
|
}
|
|
136
138
|
if (part === "minuteSuffix") {
|
|
137
|
-
const
|
|
139
|
+
const minutePart = parts.find(({ type }) => type === "minute");
|
|
140
|
+
const minuteIndex = minutePart ? parts.indexOf(minutePart) : -1;
|
|
138
141
|
const minuteSuffix = parts[minuteIndex + 1];
|
|
139
142
|
return minuteSuffix?.type === "literal" ? minuteSuffix.value || null : null;
|
|
140
143
|
}
|
|
141
144
|
if (part === "secondSuffix") {
|
|
142
145
|
let secondSuffixPart;
|
|
143
|
-
const
|
|
146
|
+
const fractionalSecondPart = parts.find(({ type }) => type === "fractionalSecond");
|
|
147
|
+
const fractionalSecondIndex = fractionalSecondPart ? parts.indexOf(fractionalSecondPart) : -1;
|
|
144
148
|
if (fractionalSecondIndex !== -1) {
|
|
145
149
|
secondSuffixPart = parts[fractionalSecondIndex + 1];
|
|
146
150
|
} else {
|
|
147
|
-
const
|
|
151
|
+
const secondPart = parts.find(({ type }) => type === "second");
|
|
152
|
+
const secondIndex = secondPart ? parts.indexOf(secondPart) : -1;
|
|
148
153
|
secondSuffixPart = parts[secondIndex + 1];
|
|
149
154
|
}
|
|
150
155
|
return secondSuffixPart?.type === "literal" && secondSuffixPart.value || null;
|
|
@@ -152,7 +157,7 @@ function getLocalizedTimePart(part, parts, locale = "en") {
|
|
|
152
157
|
if (part === "meridiem") {
|
|
153
158
|
const meridiemFromBrowser = parts.find(({ type }) => type === "dayPeriod")?.value || null;
|
|
154
159
|
if (meridiemFromBrowser) {
|
|
155
|
-
return getLocalizedMeridiem({ locale, parts });
|
|
160
|
+
return getLocalizedMeridiem({ locale, parts }) ?? null;
|
|
156
161
|
}
|
|
157
162
|
}
|
|
158
163
|
return parts.find(({ type }) => type === part)?.value || null;
|
|
@@ -192,14 +197,11 @@ function isValidTime(value) {
|
|
|
192
197
|
}
|
|
193
198
|
const hourAsNumber = parseInt(hour);
|
|
194
199
|
const minuteAsNumber = parseInt(minute);
|
|
195
|
-
const secondAsNumber = parseInt(second);
|
|
200
|
+
const secondAsNumber = parseInt(second ?? "");
|
|
196
201
|
const hourValid = isValidNumber(hour) && hourAsNumber >= 0 && hourAsNumber < 24;
|
|
197
202
|
const minuteValid = isValidNumber(minute) && minuteAsNumber >= 0 && minuteAsNumber < 60;
|
|
198
203
|
const secondValid = isValidNumber(second) && secondAsNumber >= 0 && secondAsNumber < 60;
|
|
199
|
-
|
|
200
|
-
return true;
|
|
201
|
-
}
|
|
202
|
-
return false;
|
|
204
|
+
return hourValid && minuteValid && (!second || secondValid);
|
|
203
205
|
}
|
|
204
206
|
function isValidTimePart(value, part) {
|
|
205
207
|
if (part === "meridiem") {
|
|
@@ -208,7 +210,8 @@ function isValidTimePart(value, part) {
|
|
|
208
210
|
if (!isValidNumber(value)) {
|
|
209
211
|
return false;
|
|
210
212
|
}
|
|
211
|
-
const
|
|
213
|
+
const valueAsString = value;
|
|
214
|
+
const valueAsNumber = Number(valueAsString);
|
|
212
215
|
const isZeroOrGreater = valueAsNumber >= 0;
|
|
213
216
|
const isLessThanMaxHour = valueAsNumber < 24;
|
|
214
217
|
const isLessThanMaxSecond = valueAsNumber < 60;
|
|
@@ -290,8 +293,8 @@ function localizeTimeString({
|
|
|
290
293
|
0,
|
|
291
294
|
parseInt(hour),
|
|
292
295
|
parseInt(minute),
|
|
293
|
-
includeSeconds && parseInt(second),
|
|
294
|
-
includeSeconds && fractionalSecond
|
|
296
|
+
includeSeconds && typeof second === "string" ? parseInt(second) : 0,
|
|
297
|
+
includeSeconds && fractionalSecond ? fractionalSecondPartToMilliseconds(fractionalSecond) : 0
|
|
295
298
|
)
|
|
296
299
|
);
|
|
297
300
|
const formatter = createLocaleDateTimeFormatter({
|
|
@@ -311,7 +314,7 @@ function localizeTimeString({
|
|
|
311
314
|
second: getLocalizedTimePart("second", parts),
|
|
312
315
|
decimalSeparator: getLocalizedDecimalSeparator(locale, numberingSystem),
|
|
313
316
|
fractionalSecond: getLocalizedTimePart("fractionalSecond", parts),
|
|
314
|
-
secondSuffix: locale !== "bg"
|
|
317
|
+
secondSuffix: locale !== "bg" ? getLocalizedTimePart("secondSuffix", parts) : null,
|
|
315
318
|
meridiem: getLocalizedTimePart("meridiem", parts, locale)
|
|
316
319
|
};
|
|
317
320
|
} else {
|
|
@@ -341,7 +344,7 @@ function parseTimeString(value, step) {
|
|
|
341
344
|
if (secondDecimal?.includes(".")) {
|
|
342
345
|
[second, fractionalSecond] = secondDecimal.split(".");
|
|
343
346
|
}
|
|
344
|
-
if (step) {
|
|
347
|
+
if (step && typeof fractionalSecond === "string") {
|
|
345
348
|
fractionalSecond = formatFractionalSecond(fractionalSecond, step);
|
|
346
349
|
}
|
|
347
350
|
return {
|
|
@@ -422,7 +425,7 @@ class TimeController extends GenericController {
|
|
|
422
425
|
case "Backspace":
|
|
423
426
|
case "Delete":
|
|
424
427
|
event.preventDefault();
|
|
425
|
-
this.setValuePart("hour",
|
|
428
|
+
this.setValuePart("hour", void 0);
|
|
426
429
|
break;
|
|
427
430
|
case "ArrowDown":
|
|
428
431
|
event.preventDefault();
|
|
@@ -444,7 +447,7 @@ class TimeController extends GenericController {
|
|
|
444
447
|
if (numberKeys.includes(key)) {
|
|
445
448
|
const keyAsNumber = parseInt(key);
|
|
446
449
|
let newMinute;
|
|
447
|
-
if (isValidNumber(this.minute) && this.minute.startsWith("0")) {
|
|
450
|
+
if (typeof this.minute === "string" && isValidNumber(this.minute) && this.minute.startsWith("0")) {
|
|
448
451
|
const minuteAsNumber = parseInt(this.minute);
|
|
449
452
|
newMinute = minuteAsNumber > maxTenthForMinuteAndSecond ? keyAsNumber : `${minuteAsNumber}${keyAsNumber}`;
|
|
450
453
|
} else {
|
|
@@ -456,7 +459,7 @@ class TimeController extends GenericController {
|
|
|
456
459
|
case "Backspace":
|
|
457
460
|
case "Delete":
|
|
458
461
|
event.preventDefault();
|
|
459
|
-
this.setValuePart("minute",
|
|
462
|
+
this.setValuePart("minute", void 0);
|
|
460
463
|
break;
|
|
461
464
|
case "ArrowDown":
|
|
462
465
|
event.preventDefault();
|
|
@@ -478,7 +481,7 @@ class TimeController extends GenericController {
|
|
|
478
481
|
if (numberKeys.includes(key)) {
|
|
479
482
|
const keyAsNumber = parseInt(key);
|
|
480
483
|
let newSecond;
|
|
481
|
-
if (isValidNumber(this.second) && this.second.startsWith("0")) {
|
|
484
|
+
if (typeof this.second === "string" && isValidNumber(this.second) && this.second.startsWith("0")) {
|
|
482
485
|
const secondAsNumber = parseInt(this.second);
|
|
483
486
|
newSecond = secondAsNumber > maxTenthForMinuteAndSecond ? keyAsNumber : `${secondAsNumber}${keyAsNumber}`;
|
|
484
487
|
} else {
|
|
@@ -490,7 +493,7 @@ class TimeController extends GenericController {
|
|
|
490
493
|
case "Backspace":
|
|
491
494
|
case "Delete":
|
|
492
495
|
event.preventDefault();
|
|
493
|
-
this.setValuePart("second",
|
|
496
|
+
this.setValuePart("second", void 0);
|
|
494
497
|
break;
|
|
495
498
|
case "ArrowDown":
|
|
496
499
|
event.preventDefault();
|
|
@@ -525,7 +528,7 @@ class TimeController extends GenericController {
|
|
|
525
528
|
case "Backspace":
|
|
526
529
|
case "Delete":
|
|
527
530
|
event.preventDefault();
|
|
528
|
-
this.setValuePart("fractionalSecond",
|
|
531
|
+
this.setValuePart("fractionalSecond", void 0);
|
|
529
532
|
break;
|
|
530
533
|
case "ArrowDown":
|
|
531
534
|
event.preventDefault();
|
|
@@ -583,7 +586,7 @@ class TimeController extends GenericController {
|
|
|
583
586
|
this.decrementMinuteOrSecond("second");
|
|
584
587
|
}
|
|
585
588
|
incrementHour() {
|
|
586
|
-
const newHour = isValidNumber(this.hour) ? this.hour === "23" ? 0 : parseInt(this.hour) + 1 : 1;
|
|
589
|
+
const newHour = typeof this.hour === "string" && isValidNumber(this.hour) ? this.hour === "23" ? 0 : parseInt(this.hour) + 1 : 1;
|
|
587
590
|
this.setValuePart("hour", newHour);
|
|
588
591
|
}
|
|
589
592
|
incrementMinute() {
|
|
@@ -694,17 +697,7 @@ class TimeController extends GenericController {
|
|
|
694
697
|
const newValue = toISOTimeString(value, step);
|
|
695
698
|
if (isValidTime(value)) {
|
|
696
699
|
const { hour, minute, second, fractionalSecond } = parseTimeString(newValue, step);
|
|
697
|
-
const {
|
|
698
|
-
hour: localizedHour,
|
|
699
|
-
hourSuffix: localizedHourSuffix,
|
|
700
|
-
minute: localizedMinute,
|
|
701
|
-
minuteSuffix: localizedMinuteSuffix,
|
|
702
|
-
second: localizedSecond,
|
|
703
|
-
secondSuffix: localizedSecondSuffix,
|
|
704
|
-
decimalSeparator: localizedDecimalSeparator,
|
|
705
|
-
fractionalSecond: localizedFractionalSecond,
|
|
706
|
-
meridiem: localizedMeridiem
|
|
707
|
-
} = localizeTimeString({
|
|
700
|
+
const localized = localizeTimeString({
|
|
708
701
|
hour12,
|
|
709
702
|
locale,
|
|
710
703
|
numberingSystem,
|
|
@@ -716,17 +709,19 @@ class TimeController extends GenericController {
|
|
|
716
709
|
this.minute = minute;
|
|
717
710
|
this.second = second;
|
|
718
711
|
this.fractionalSecond = fractionalSecond;
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
712
|
+
if (localized) {
|
|
713
|
+
this.localizedHour = localized.hour;
|
|
714
|
+
this.localizedHourSuffix = localized.hourSuffix;
|
|
715
|
+
this.localizedMinute = localized.minute;
|
|
716
|
+
this.localizedMinuteSuffix = localized.minuteSuffix;
|
|
717
|
+
this.localizedSecond = localized.second;
|
|
718
|
+
this.localizedDecimalSeparator = localized.decimalSeparator;
|
|
719
|
+
this.localizedFractionalSecond = localized.fractionalSecond;
|
|
720
|
+
this.localizedSecondSuffix = localized.secondSuffix;
|
|
721
|
+
if (localized.meridiem) {
|
|
722
|
+
this.meridiem = getMeridiem(this.hour);
|
|
723
|
+
this.localizedMeridiem = localized.meridiem;
|
|
724
|
+
}
|
|
730
725
|
}
|
|
731
726
|
} else {
|
|
732
727
|
this.hour = null;
|
package/dist/chunks/utils.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import Color from "color";
|
|
3
3
|
import { c as calciteSpacingFixedXl, a as calciteSpacingFixedMd, b as calciteSpacingFixedSm } from "./global.js";
|
|
4
|
+
import { omit } from "es-toolkit";
|
|
4
5
|
const CSS = {
|
|
5
6
|
channel: "channel",
|
|
6
7
|
channels: "channels",
|
|
@@ -103,7 +104,7 @@ const shorthandHexWithAlpha = /^#[0-9A-F]{4}$/i;
|
|
|
103
104
|
const longhandHexWithAlpha = /^#[0-9A-F]{8}$/i;
|
|
104
105
|
function colorFromValue(value, clearable = false, mode) {
|
|
105
106
|
if (clearable && !value) {
|
|
106
|
-
return
|
|
107
|
+
return void 0;
|
|
107
108
|
}
|
|
108
109
|
return Color(
|
|
109
110
|
value != null && typeof value === "object" && alphaCompatible(mode) ? normalizeColor(value) : value
|
|
@@ -136,7 +137,7 @@ function normalizeHex(hex, hasAlpha = false, convertFromHexToHexa = false) {
|
|
|
136
137
|
hex = `#${hex}`;
|
|
137
138
|
}
|
|
138
139
|
if (isShorthandHex(hex, hasAlpha)) {
|
|
139
|
-
return rgbToHex(hexToRGB(hex
|
|
140
|
+
return rgbToHex(hexToRGB(hex));
|
|
140
141
|
}
|
|
141
142
|
if (hasAlpha && convertFromHexToHexa && isValidHex(
|
|
142
143
|
hex,
|
|
@@ -144,7 +145,7 @@ function normalizeHex(hex, hasAlpha = false, convertFromHexToHexa = false) {
|
|
|
144
145
|
/* we only care about RGB hex for conversion */
|
|
145
146
|
)) {
|
|
146
147
|
const isShorthand = isShorthandHex(hex, false);
|
|
147
|
-
return rgbToHex(hexToRGB(`${hex}${isShorthand ? "f" : "ff"}
|
|
148
|
+
return rgbToHex(hexToRGB(`${hex}${isShorthand ? "f" : "ff"}`));
|
|
148
149
|
}
|
|
149
150
|
return hex;
|
|
150
151
|
}
|
|
@@ -163,23 +164,16 @@ function numToHex(num) {
|
|
|
163
164
|
return num.toString(16).padStart(2, "0");
|
|
164
165
|
}
|
|
165
166
|
function normalizeAlpha(colorObject) {
|
|
166
|
-
|
|
167
|
-
...colorObject,
|
|
167
|
+
return {
|
|
168
|
+
...omit(colorObject, ["alpha"]),
|
|
168
169
|
a: colorObject.alpha ?? 1
|
|
169
170
|
/* Color() will omit alpha if 1 */
|
|
170
171
|
};
|
|
171
|
-
delete normalized.alpha;
|
|
172
|
-
return normalized;
|
|
173
172
|
}
|
|
174
173
|
function normalizeColor(alphaColorObject) {
|
|
175
|
-
|
|
176
|
-
delete normalized.a;
|
|
177
|
-
return normalized;
|
|
174
|
+
return { ...omit(alphaColorObject, ["a"]), alpha: alphaColorObject.a ?? 1 };
|
|
178
175
|
}
|
|
179
|
-
function hexToRGB(hex
|
|
180
|
-
if (!isValidHex(hex, hasAlpha)) {
|
|
181
|
-
return null;
|
|
182
|
-
}
|
|
176
|
+
function hexToRGB(hex) {
|
|
183
177
|
hex = hex.replace("#", "");
|
|
184
178
|
let r;
|
|
185
179
|
let g;
|
|
@@ -252,7 +246,7 @@ function parseMode(colorValue) {
|
|
|
252
246
|
return hasChannels(colorValue, "a") ? ObjectColorMode.HSVA : ObjectColorMode.HSV;
|
|
253
247
|
}
|
|
254
248
|
}
|
|
255
|
-
return
|
|
249
|
+
return void 0;
|
|
256
250
|
}
|
|
257
251
|
function hasChannels(colorObject, ...channels) {
|
|
258
252
|
return channels.every((channel) => channel && colorObject && `${channel}` in colorObject);
|
package/dist/chunks/utils2.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
|
|
2
2
|
import { isServer } from "lit";
|
|
3
3
|
import { n as nodeListToArray } from "./dom.js";
|
|
4
|
-
import { A as AllComboboxChildrenSelector, a as ComboboxItemSelector, b as ComboboxItemGroupSelector } from "./
|
|
4
|
+
import { A as AllComboboxChildrenSelector, a as ComboboxItemSelector, b as ComboboxItemGroupSelector } from "./resources7.js";
|
|
5
5
|
function getAncestors(element) {
|
|
6
6
|
const parent = element.parentElement?.closest(AllComboboxChildrenSelector);
|
|
7
7
|
const grandparent = parent?.parentElement?.closest(AllComboboxChildrenSelector);
|
|
@@ -31,7 +31,7 @@ import type { HeadingLevel } from "../functional/Heading.js";
|
|
|
31
31
|
*/
|
|
32
32
|
export abstract class AccordionItem extends LitElement {
|
|
33
33
|
/** Specifies a description for the component. */
|
|
34
|
-
accessor description: string;
|
|
34
|
+
accessor description: string | undefined;
|
|
35
35
|
/**
|
|
36
36
|
* When `true`, expands the component and its contents.
|
|
37
37
|
*
|
|
@@ -39,15 +39,15 @@ export abstract class AccordionItem extends LitElement {
|
|
|
39
39
|
*/
|
|
40
40
|
accessor expanded: boolean;
|
|
41
41
|
/** Specifies the component's heading text. */
|
|
42
|
-
accessor heading: string;
|
|
42
|
+
accessor heading: string | undefined;
|
|
43
43
|
/** Specifies the heading level number of the component's `heading` for proper document structure, without affecting visual styling. */
|
|
44
|
-
accessor headingLevel: HeadingLevel;
|
|
44
|
+
accessor headingLevel: HeadingLevel | undefined;
|
|
45
45
|
/** Specifies an icon to display at the end of the component. */
|
|
46
|
-
accessor iconEnd: IconName;
|
|
46
|
+
accessor iconEnd: IconName | undefined;
|
|
47
47
|
/** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
|
|
48
|
-
accessor iconFlipRtl: FlipContext;
|
|
48
|
+
accessor iconFlipRtl: FlipContext | undefined;
|
|
49
49
|
/** Specifies an icon to display at the start of the component. */
|
|
50
|
-
accessor iconStart: IconName;
|
|
50
|
+
accessor iconStart: IconName | undefined;
|
|
51
51
|
/** Overrides individual strings used by the component. */
|
|
52
52
|
accessor messageOverrides: {
|
|
53
53
|
collapse?: string;
|
|
@@ -70,7 +70,7 @@ class AccordionItem extends LitElement {
|
|
|
70
70
|
this.listenOn(document, "calciteInternalAccordionItemsSync", this.accordionItemSyncHandler);
|
|
71
71
|
}
|
|
72
72
|
static {
|
|
73
|
-
this.properties = { hasActionsEnd: [16, {}, { state: true }], hasActionsStart: [16, {}, { state: true }], hasContentEnd: [16, {}, { state: true }], hasContentStart: [16, {}, { state: true }],
|
|
73
|
+
this.properties = { hasActionsEnd: [16, {}, { state: true }], hasActionsStart: [16, {}, { state: true }], hasContentEnd: [16, {}, { state: true }], hasContentStart: [16, {}, { state: true }], description: 1, expanded: [7, {}, { reflect: true, type: Boolean }], heading: 1, iconEnd: [3, { type: String }, { reflect: true }], iconFlipRtl: [3, {}, { reflect: true }], appearance: 1, headingLevel: [11, {}, { type: Number, reflect: true }], iconPosition: 1, iconStart: [3, { type: String }, { reflect: true }], iconType: 1, scale: [3, {}, { reflect: true }], messageOverrides: [0, {}, { attribute: false }] };
|
|
74
74
|
}
|
|
75
75
|
static {
|
|
76
76
|
this.styles = styles;
|