@esri/calcite-components 5.1.2-next.1 → 5.1.2
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/README.md +1 -1
- package/dist/cdn/{BFDEONWS.js → 227I7D6V.js} +1 -1
- package/dist/cdn/{BINIHZVX.js → 22A4K5DV.js} +1 -1
- package/dist/cdn/25SUELBY.js +2 -0
- package/dist/cdn/{SBRNKQZR.js → 2DHSTYCM.js} +1 -1
- package/dist/cdn/{AH3GOPDP.js → 2GFANB24.js} +1 -1
- package/dist/cdn/{XF7YQY5Y.js → 2RKYI473.js} +1 -1
- package/dist/cdn/{TPPIRT4M.js → 343STFSA.js} +1 -1
- package/dist/cdn/346EBIHQ.js +2 -0
- package/dist/cdn/{QMZ2G6WF.js → 3BBTNPGP.js} +1 -1
- package/dist/cdn/{AB5SZONG.js → 3PYSSBHC.js} +1 -1
- package/dist/cdn/3Q5GJHQP.js +2 -0
- package/dist/cdn/{DHBXZGPJ.js → 47MS7TEC.js} +1 -1
- package/dist/cdn/5C77HJ53.js +2 -0
- package/dist/cdn/{SE3EQB55.js → 5TKENZHT.js} +1 -1
- package/dist/cdn/{HWUQQAC7.js → 5V5RSZWZ.js} +1 -1
- package/dist/cdn/{CQMH7FNX.js → 5X2CR2NN.js} +1 -1
- package/dist/cdn/{USISHLZA.js → 6BB7Q252.js} +1 -1
- package/dist/cdn/{CIOGICAT.js → 6BQLG6RR.js} +1 -1
- package/dist/cdn/{E7Y2KS7L.js → 6CA2YMJQ.js} +1 -1
- package/dist/cdn/6LGG7Y33.js +2 -0
- package/dist/cdn/{6BEQZOCM.js → 6Q4JD4XI.js} +1 -1
- package/dist/cdn/{VDVHXKFM.js → 6XETUUZB.js} +1 -1
- package/dist/cdn/{IFDDWATG.js → 77SBYYE4.js} +1 -1
- package/dist/cdn/{56Z7V2KB.js → 7HH4ZYJY.js} +1 -1
- package/dist/cdn/{46UF5N55.js → 7T6QRXLQ.js} +1 -1
- package/dist/cdn/{R5A44F3R.js → AILKYQPA.js} +1 -1
- package/dist/cdn/AJ2RTGUI.js +2 -0
- package/dist/cdn/{53JE6CCO.js → AKOMPE3M.js} +1 -1
- package/dist/cdn/{A4PS7QHZ.js → ANMKFI73.js} +1 -1
- package/dist/cdn/B43QZBPC.js +2 -0
- package/dist/cdn/B7STEBYJ.js +2 -0
- package/dist/cdn/{JODPCONC.js → BEDRQCW7.js} +1 -1
- package/dist/cdn/{J2ZQ3UJT.js → BFKJGHCR.js} +1 -1
- package/dist/cdn/BIQXGRIU.js +2 -0
- package/dist/cdn/BMHQ7TDU.js +2 -0
- package/dist/cdn/{DJWXY3E4.js → BRUZUNMJ.js} +1 -1
- package/dist/cdn/{CNZSHYJN.js → BWXS7DNQ.js} +1 -1
- package/dist/cdn/CA2ZRXHN.js +2 -0
- package/dist/cdn/{WWMYIHOG.js → CA5OARSX.js} +1 -1
- package/dist/cdn/{WFCDKH3A.js → CAUZX7OI.js} +1 -1
- package/dist/cdn/CBG5HWWU.js +2 -0
- package/dist/cdn/CO2YNXVN.js +2 -0
- package/dist/cdn/{6G7XHQRI.js → CQ6BZWIN.js} +1 -1
- package/dist/cdn/{VJEFLAMF.js → D27XLBSM.js} +1 -1
- package/dist/cdn/D43VJFKN.js +2 -0
- package/dist/cdn/{47Z3743F.js → D4BJ62KK.js} +1 -1
- package/dist/cdn/{QRJIJZC3.js → DJLM2M2C.js} +1 -1
- package/dist/cdn/{JE22TLFT.js → DMDXKF5P.js} +1 -1
- package/dist/cdn/{C6GAKO4D.js → DQJGO2NT.js} +1 -1
- package/dist/cdn/DSQ47C3C.js +2 -0
- package/dist/cdn/DUXJZ3WP.js +2 -0
- package/dist/cdn/{K7UT7UDE.js → DZ5AYBIN.js} +1 -1
- package/dist/cdn/{FLL5S6IX.js → E3GNRAO2.js} +1 -1
- package/dist/cdn/{CMB4P6YF.js → ECMVMT77.js} +1 -1
- package/dist/cdn/{WXS7HUGX.js → EMWCBI3M.js} +1 -1
- package/dist/cdn/{4K6O44GL.js → EP7VCSZC.js} +1 -1
- package/dist/cdn/{AFYLPOO3.js → EQPINQ3U.js} +1 -1
- package/dist/cdn/{35VGR3XO.js → ERBT4JUL.js} +1 -1
- package/dist/cdn/{I2SPPXEM.js → ESFX5OFG.js} +1 -1
- package/dist/cdn/{TFXHHWCL.js → EXMCKBVI.js} +1 -1
- package/dist/cdn/{PIZB2UU4.js → FHJOCQII.js} +1 -1
- package/dist/cdn/{6KRTBFQA.js → FIIP3WUT.js} +1 -1
- package/dist/cdn/{WDRZWXPS.js → G3JL7QWO.js} +1 -1
- package/dist/cdn/{4GWDVUXR.js → GAFHVE2T.js} +1 -1
- package/dist/cdn/{VSMJ6GNS.js → GAQGXTML.js} +1 -1
- package/dist/cdn/{5FGJKE6I.js → GD6U6HVI.js} +1 -1
- package/dist/cdn/GMARWJVX.js +2 -0
- package/dist/cdn/{Z52JB5CD.js → GN46A6G6.js} +1 -1
- package/dist/cdn/GP4NXRAJ.js +2 -0
- package/dist/cdn/{2NTH4LWU.js → GTJSGYTM.js} +1 -1
- package/dist/cdn/{4DBX7CV4.js → GXUMIEQT.js} +1 -1
- package/dist/cdn/{6L35BYWP.js → H453BKZG.js} +1 -1
- package/dist/cdn/HB4SD5G6.js +2 -0
- package/dist/cdn/{PDIVD53H.js → HCAOBIZD.js} +1 -1
- package/dist/cdn/{JVPMJ2MI.js → HH5WCY6V.js} +1 -1
- package/dist/cdn/{GUYOZ5IV.js → HS7MO4UY.js} +1 -1
- package/dist/cdn/{D2QZJE6E.js → ILAH2O6P.js} +1 -1
- package/dist/cdn/IVLQ6SZI.js +2 -0
- package/dist/cdn/{V3P34C4L.js → IVYPK4EY.js} +1 -1
- package/dist/cdn/{GAAAQTI2.js → JC6EZEYM.js} +1 -1
- package/dist/cdn/{IPHJHRQ6.js → JQDVFZPF.js} +1 -1
- package/dist/cdn/{HP4MJQEO.js → JSDJWGYU.js} +1 -1
- package/dist/cdn/JTMJFWQJ.js +2 -0
- package/dist/cdn/{K4KCUAGT.js → JVSLA6PI.js} +1 -1
- package/dist/cdn/{7QAG4N44.js → K7U3LDK2.js} +1 -1
- package/dist/cdn/{3SZQJ5VM.js → KQB6TPEK.js} +1 -1
- package/dist/cdn/{S4EMFPQN.js → KXVVBBPJ.js} +1 -1
- package/dist/cdn/{WHZ2Y73O.js → KYY6DJYA.js} +1 -1
- package/dist/cdn/{EF64PC2O.js → LJXCKDSV.js} +1 -1
- package/dist/cdn/{SEHPIQCS.js → LXTZTBDK.js} +1 -1
- package/dist/cdn/{NPHRYNDM.js → MVSUYS5F.js} +1 -1
- package/dist/cdn/{AE6WIDBA.js → ND7KY7GE.js} +1 -1
- package/dist/cdn/{IHG36OXA.js → NXK5ZI5S.js} +1 -1
- package/dist/cdn/{P3FETVF2.js → OIM7YO5M.js} +1 -1
- package/dist/cdn/{2L2UNCTJ.js → OJSDWFEI.js} +1 -1
- package/dist/cdn/{DWQYJRFK.js → OKU4SZ6S.js} +1 -1
- package/dist/cdn/{VNG5JX4F.js → P27Y5YS2.js} +1 -1
- package/dist/cdn/{OJRKE24N.js → P2UIFQT7.js} +1 -1
- package/dist/cdn/{B2QW54L5.js → PEUGTNMK.js} +1 -1
- package/dist/cdn/{K7UX5HSY.js → PWVBTSIE.js} +1 -1
- package/dist/cdn/Q4O7OHBI.js +2 -0
- package/dist/cdn/QB6KFGIX.js +2 -0
- package/dist/cdn/{Y2MMRFEI.js → QE6BXQLN.js} +1 -1
- package/dist/cdn/{6QWHLAKJ.js → QGM75633.js} +1 -1
- package/dist/cdn/{R4PS3KVA.js → QHV7VTM5.js} +1 -1
- package/dist/cdn/{BGDVBJXB.js → QLB756I4.js} +1 -1
- package/dist/cdn/QNRDUBHP.js +2 -0
- package/dist/cdn/{EHJWHGSU.js → QOOKHF3O.js} +1 -1
- package/dist/cdn/{OXCX2JYQ.js → QWKKLQLZ.js} +1 -1
- package/dist/cdn/{QVY5E66G.js → R4YV7EY6.js} +1 -1
- package/dist/cdn/{YUMTBVTL.js → R6N4PF7R.js} +1 -1
- package/dist/cdn/{CR6V2BRH.js → R7OFBBIT.js} +1 -1
- package/dist/cdn/R7SEE5BJ.js +2 -0
- package/dist/cdn/{WJ7C6DWY.js → RDHNSSMV.js} +1 -1
- package/dist/cdn/{AXFCT6T6.js → RPBJZCXT.js} +1 -1
- package/dist/cdn/{2CU7DKE2.js → SJIC6FKK.js} +1 -1
- package/dist/cdn/{F5JHKEU6.js → T2U6U2AG.js} +1 -1
- package/dist/cdn/{ZQVZ5W4Z.js → TDBUSTQ4.js} +1 -1
- package/dist/cdn/{BFNSTPU4.js → TIJ3E5YH.js} +1 -1
- package/dist/cdn/{VZ34CEPE.js → TJDVOFE4.js} +1 -1
- package/dist/cdn/TK2WKRIN.js +2 -0
- package/dist/cdn/{VHTR3YLE.js → TT72CGHS.js} +1 -1
- package/dist/cdn/{HLQG3GYF.js → U6XTP7PX.js} +1 -1
- package/dist/cdn/{M6GDSLP7.js → U7FAOVB3.js} +1 -1
- package/dist/cdn/{3HEBAEY5.js → UB77YZJ5.js} +1 -1
- package/dist/cdn/{FQMDLHY6.js → UQWQEADU.js} +1 -1
- package/dist/cdn/{ZIO5GS2X.js → UVLNCOGJ.js} +1 -1
- package/dist/cdn/{ECBDXQWQ.js → V4DGX2ZE.js} +1 -1
- package/dist/cdn/{5LD3NWQK.js → VD2R7ZB5.js} +1 -1
- package/dist/cdn/{QWHPERZB.js → VG3V4DTY.js} +1 -1
- package/dist/cdn/{DS7N2ZRJ.js → VGICGNRI.js} +1 -1
- package/dist/cdn/{MR7Q3LT3.js → VHLI5BGQ.js} +1 -1
- package/dist/cdn/{GNCY5J35.js → VTVQDHGZ.js} +1 -1
- package/dist/cdn/{6IQITD2D.js → W7AR6VOO.js} +1 -1
- package/dist/cdn/{6G45I3QG.js → WMJ6NUKQ.js} +1 -1
- package/dist/cdn/{WKX35O7E.js → WQVCJABR.js} +1 -1
- package/dist/cdn/{J7F2URNC.js → WZXNG66Q.js} +1 -1
- package/dist/cdn/XHSGOLTE.js +2 -0
- package/dist/cdn/XODVEML5.js +2 -0
- package/dist/cdn/{KMPEGQSK.js → XUU6P5MF.js} +1 -1
- package/dist/cdn/{DF52STT7.js → Y4XOCJSZ.js} +1 -1
- package/dist/cdn/{3FCQ4V5Q.js → Y5AZJCTZ.js} +1 -1
- package/dist/cdn/{ZALKWH4R.js → YE3HX3ER.js} +1 -1
- package/dist/cdn/{ZXBVCAEX.js → YMUISNQ7.js} +1 -1
- package/dist/cdn/{5HHFIGVW.js → ZNC5YLUJ.js} +1 -1
- package/dist/cdn/{JGVRYRKU.js → ZPQ3JZII.js} +1 -1
- package/dist/cdn/{LNDFYKAA.js → ZQMYQTQF.js} +1 -1
- package/dist/cdn/{RIHHQ4P5.js → ZSKXWRZY.js} +1 -1
- package/dist/cdn/assets/icon/returnToDefault16.json +1 -1
- package/dist/cdn/assets/icon/returnToDefault32.json +1 -1
- 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 +3 -15
- package/dist/chunks/floating-ui.js +1 -1
- package/dist/chunks/label.js +6 -6
- package/dist/chunks/locale.js +6 -3
- package/dist/chunks/manager.js +5 -5
- package/dist/chunks/openCloseComponent.js +1 -1
- package/dist/chunks/resources10.js +48 -4
- package/dist/chunks/resources5.js +23 -37
- package/dist/chunks/resources6.js +52 -27
- package/dist/chunks/resources7.js +45 -48
- package/dist/chunks/resources8.js +7 -49
- package/dist/chunks/resources9.js +11 -9
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useTime.js +45 -40
- package/dist/chunks/utils.js +15 -9
- 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 +4 -6
- 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 +49 -8
- package/dist/components/calcite-block-group/customElement.js +5 -3
- 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 +6 -5
- 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 +21 -24
- 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 +9 -14
- 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 +11 -2
- 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 +1 -7
- package/dist/components/calcite-flow-item/customElement.js +2 -2
- package/dist/components/calcite-input/customElement.js +5 -2
- 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 +6 -5
- package/dist/components/calcite-list-item/customElement.d.ts +6 -6
- package/dist/components/calcite-list-item/customElement.js +16 -13
- 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 +0 -3
- package/dist/components/calcite-meter/customElement.d.ts +6 -6
- package/dist/components/calcite-meter/customElement.js +7 -14
- package/dist/components/calcite-pagination/customElement.d.ts +1 -1
- package/dist/components/calcite-pagination/customElement.js +0 -3
- 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 +9 -13
- package/dist/components/calcite-sheet/customElement.js +27 -32
- 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 +1 -2
- package/dist/components/calcite-tab-nav/customElement.d.ts +3 -3
- package/dist/components/calcite-tab-nav/customElement.js +7 -12
- package/dist/components/calcite-tab-title/customElement.d.ts +3 -3
- package/dist/components/calcite-tab-title/customElement.js +0 -2
- package/dist/components/calcite-table/customElement.js +14 -22
- package/dist/components/calcite-table-cell/customElement.d.ts +2 -2
- package/dist/components/calcite-table-cell/customElement.js +0 -6
- package/dist/components/calcite-table-header/customElement.d.ts +4 -4
- package/dist/components/calcite-table-header/customElement.js +0 -2
- package/dist/components/calcite-table-row/customElement.js +3 -5
- package/dist/components/calcite-tabs/customElement.js +2 -3
- package/dist/components/calcite-text-area/customElement.d.ts +12 -12
- package/dist/components/calcite-text-area/customElement.js +3 -5
- 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 +15 -35
- 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 +6 -7
- package/dist/components/calcite-tree-item/customElement.d.ts +3 -3
- package/dist/components/calcite-tree-item/customElement.js +6 -12
- 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 +9 -8
- package/dist/cdn/3AQRM2KH.js +0 -2
- package/dist/cdn/47TWTWBY.js +0 -2
- package/dist/cdn/55B3DHRL.js +0 -2
- package/dist/cdn/6JEYN7OP.js +0 -2
- package/dist/cdn/7Z3FNQKK.js +0 -2
- package/dist/cdn/A5BQ2FR3.js +0 -2
- package/dist/cdn/BFERIIZD.js +0 -2
- package/dist/cdn/BHFCZH65.js +0 -2
- package/dist/cdn/BNZVUF7A.js +0 -2
- package/dist/cdn/IPBRUCJX.js +0 -2
- package/dist/cdn/J2KX3JW3.js +0 -2
- package/dist/cdn/JIDJQEZ3.js +0 -2
- package/dist/cdn/KXVN4L2R.js +0 -2
- package/dist/cdn/KZAI3CI3.js +0 -2
- package/dist/cdn/MK5D6DUQ.js +0 -2
- package/dist/cdn/NX5LYVTC.js +0 -2
- package/dist/cdn/OI5Z75UV.js +0 -2
- package/dist/cdn/PNQURWQR.js +0 -2
- package/dist/cdn/S5JURZJV.js +0 -2
- package/dist/cdn/SDTW62DH.js +0 -2
- package/dist/cdn/UNLFQ2X5.js +0 -2
- package/dist/cdn/UTJ6CSF2.js +0 -2
- package/dist/cdn/UWYYS2CJ.js +0 -2
- package/dist/cdn/WGSMIQUI.js +0 -2
- package/dist/cdn/WQKOEKWG.js +0 -2
- package/dist/cdn/X7GZQYSF.js +0 -2
- package/dist/cdn/XLDNKUOK.js +0 -2
- package/dist/cdn/XM4U2QML.js +0 -2
- package/dist/cdn/XPV23QFC.js +0 -2
- package/dist/cdn/assets/icon/buildingIndex16.json +0 -1
- package/dist/cdn/assets/icon/buildingIndex24.json +0 -1
- package/dist/cdn/assets/icon/buildingIndex32.json +0 -1
- package/dist/cdn/assets/icon/fireIndex16.json +0 -1
- package/dist/cdn/assets/icon/fireIndex24.json +0 -1
- package/dist/cdn/assets/icon/fireIndex32.json +0 -1
- package/dist/cdn/assets/icon/geologyIndex16.json +0 -1
- package/dist/cdn/assets/icon/geologyIndex24.json +0 -1
- package/dist/cdn/assets/icon/geologyIndex32.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose16.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose24.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryFullSuperimpose32.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose16.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose24.json +0 -1
- package/dist/cdn/assets/icon/orientedImageryHalfSuperimpose32.json +0 -1
- package/dist/cdn/assets/icon/orientedImagerySceneOnly16.json +0 -1
- package/dist/cdn/assets/icon/orientedImagerySceneOnly24.json +0 -1
- package/dist/cdn/assets/icon/orientedImagerySceneOnly32.json +0 -1
- package/dist/cdn/assets/icon/parquetFeatureLayer16.json +0 -1
- package/dist/cdn/assets/icon/parquetFeatureLayer24.json +0 -1
- package/dist/cdn/assets/icon/parquetFeatureLayer32.json +0 -1
- package/dist/cdn/assets/icon/snowIndex16.json +0 -1
- package/dist/cdn/assets/icon/snowIndex24.json +0 -1
- package/dist/cdn/assets/icon/snowIndex32.json +0 -1
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex16.json +0 -1
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex24.json +0 -1
- package/dist/cdn/assets/icon/soilAdjustedVegetationIndex32.json +0 -1
- package/dist/cdn/assets/icon/vegetationIndex16.json +0 -1
- package/dist/cdn/assets/icon/vegetationIndex24.json +0 -1
- package/dist/cdn/assets/icon/vegetationIndex32.json +0 -1
- package/dist/chunks/resources11.js +0 -63
- /package/dist/cdn/{2G2ZTAXT.js → 72YUATHS.js} +0 -0
- /package/dist/cdn/{EWIZKNXQ.js → IIA2H2SU.js} +0 -0
- /package/dist/cdn/{EZQV6OUW.js → LKL63VXR.js} +0 -0
- /package/dist/cdn/{5ZULUIQ5.js → MO64UYDH.js} +0 -0
- /package/dist/cdn/{SXELOWJI.js → Q55YTOMB.js} +0 -0
- /package/dist/cdn/{U5CB5AOH.js → VXBJOP6X.js} +0 -0
|
@@ -39,7 +39,7 @@ class ColorPickerHexInput extends LitElement {
|
|
|
39
39
|
}
|
|
40
40
|
connectedCallback() {
|
|
41
41
|
super.connectedCallback();
|
|
42
|
-
this.
|
|
42
|
+
this.previousNonNullValue = this.value;
|
|
43
43
|
const { allowEmpty, alphaChannel, value } = this;
|
|
44
44
|
if (value) {
|
|
45
45
|
const normalized = normalizeHex(value, alphaChannel);
|
|
@@ -144,7 +144,7 @@ class ColorPickerHexInput extends LitElement {
|
|
|
144
144
|
const oldValue = this.value;
|
|
145
145
|
if (isNudgeKey) {
|
|
146
146
|
if (!value) {
|
|
147
|
-
this.internalSetValue(this.
|
|
147
|
+
this.internalSetValue(this.previousNonNullValue, oldValue);
|
|
148
148
|
event.preventDefault();
|
|
149
149
|
return;
|
|
150
150
|
}
|
|
@@ -162,7 +162,7 @@ class ColorPickerHexInput extends LitElement {
|
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
164
|
onHexInputPaste(event) {
|
|
165
|
-
const hex = event.clipboardData
|
|
165
|
+
const hex = event.clipboardData.getData("text");
|
|
166
166
|
if (isValidHex(hex, this.alphaChannel) && isLonghandHex(hex, this.alphaChannel)) {
|
|
167
167
|
event.preventDefault();
|
|
168
168
|
this.hexInputRef.value.value = hex.slice(1);
|
|
@@ -179,7 +179,7 @@ class ColorPickerHexInput extends LitElement {
|
|
|
179
179
|
const normalizedLonghand = normalizeHex(hexify(nextColor, alphaChannel), alphaChannel);
|
|
180
180
|
const changed = !currentColor || normalizedLonghand !== normalizeHex(hexify(currentColor, alphaChannel), alphaChannel);
|
|
181
181
|
this.internalColor = nextColor;
|
|
182
|
-
this.
|
|
182
|
+
this.previousNonNullValue = normalizedLonghand;
|
|
183
183
|
this.value = normalizedLonghand;
|
|
184
184
|
if (changed && emit) {
|
|
185
185
|
this.calciteColorPickerHexInputChange.emit();
|
|
@@ -223,7 +223,7 @@ class ColorPickerHexInput extends LitElement {
|
|
|
223
223
|
const hexInputValue = this.formatHexForInternalInput(value);
|
|
224
224
|
const opacityInputValue = this.formatOpacityForInternalInput(internalColor);
|
|
225
225
|
const inputScale = scale === "l" ? "m" : "s";
|
|
226
|
-
return html`<div class=${safeClassMap(CSS.container)}><calcite-input-text class=${safeClassMap(CSS.hexInput)} .label=${messages?.hex || hexLabel} .maxLength=${this.alphaChannel ? 8 : 6} @
|
|
226
|
+
return html`<div class=${safeClassMap(CSS.container)}><calcite-input-text class=${safeClassMap(CSS.hexInput)} .label=${messages?.hex || hexLabel} .maxLength=${this.alphaChannel ? 8 : 6} @keydown=${this.onInputKeyDown} @paste=${this.onHexInputPaste} @calciteInputTextChange=${this.onHexInputChange} @calciteInputTextInput=${this.onHexInputInput} @calciteInternalInputTextBlur=${this.onHexInputBlur} @calciteInternalInputTextFocus=${this.onInputFocus} prefix-text=# .scale=${inputScale} .value=${hexInputValue} ${ref(this.hexInputRef)}></calcite-input-text>${alphaChannel ? keyed("opacity-input", html`<calcite-input-number class=${safeClassMap(CSS.opacityInput)} .label=${messages?.opacity} .max=${OPACITY_LIMITS.max} max-length=3 .min=${OPACITY_LIMITS.min} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.onInputKeyDown} @calciteInputNumberInput=${this.onOpacityInputInput} @calciteInternalInputNumberBlur=${this.onOpacityInputBlur} @calciteInternalInputNumberFocus=${this.onInputFocus} .scale=${inputScale} suffix-text=% .value=${opacityInputValue} ${ref(this.opacityInputRef)}></calcite-input-number>`) : null}</div>`;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
customElement("calcite-color-picker-hex-input", ColorPickerHexInput);
|
|
@@ -15,7 +15,7 @@ export abstract class ColorPickerSwatch extends LitElement {
|
|
|
15
15
|
*
|
|
16
16
|
* @see [MDN - Color CSS data type](https://developer.mozilla.org/en-US/docs/Web/CSS/color_value).
|
|
17
17
|
*/
|
|
18
|
-
accessor color: string |
|
|
18
|
+
accessor color: string | null;
|
|
19
19
|
/**
|
|
20
20
|
* Specifies the size of the component.
|
|
21
21
|
*
|
|
@@ -27,8 +27,8 @@ import { u as useCancelable } from "../../chunks/useCancelable.js";
|
|
|
27
27
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
28
28
|
import { u as useTopLayer } from "../../chunks/useTopLayer.js";
|
|
29
29
|
import { u as useForm } from "../../chunks/useForm.js";
|
|
30
|
-
import { i as isChip } from "../../chunks/
|
|
31
|
-
import { I as IDS, C as CSS, a as ComboboxItemSelector, b as ComboboxItemGroupSelector, c as ICONS } from "../../chunks/
|
|
30
|
+
import { i as isChip } from "../../chunks/resources5.js";
|
|
31
|
+
import { I as IDS, C as CSS, a as ComboboxItemSelector, b as ComboboxItemGroupSelector, c as ICONS } from "../../chunks/resources6.js";
|
|
32
32
|
import { h as hasActiveChildren, i as isSingleLike, o as orderValuesByPrevious, a as orderByPrevious, g as getLabel, b as getItemAncestors, c as getItemChildren } from "../../chunks/utils2.js";
|
|
33
33
|
const styles = css`: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{position:relative;display:block}:host([scale=s]){font-size:var(--calcite-font-size-relative-sm);--calcite-internal-combobox-spacing-unit-l: .5rem;--calcite-internal-combobox-spacing-unit-s: .25rem;--calcite-internal-combobox-padding-inline-end: var(--calcite-space-2xs);--calcite-internal-combobox-no-matches-spacing-unit-s: .25rem;--calcite-combobox-input-height: 1rem;--calcite-internal-combobox-input-margin-block: calc(.25rem - 1px) ;--calcite-internal-close-size: 1rem}:host([scale=m]){font-size:var(--calcite-font-size-relative-base);--calcite-internal-combobox-spacing-unit-l: .75rem;--calcite-internal-combobox-spacing-unit-s: .5rem;--calcite-internal-combobox-padding-inline-end: var(--calcite-space-sm);--calcite-internal-combobox-no-matches-spacing-unit-s: .375rem;--calcite-combobox-input-height: 1rem;--calcite-internal-combobox-input-margin-block: calc(.5rem - 1px) ;--calcite-internal-close-size: 1.5rem}:host([scale=l]){font-size:var(--calcite-font-size-relative-md);--calcite-internal-combobox-spacing-unit-l: 1rem;--calcite-internal-combobox-spacing-unit-s: .75rem;--calcite-internal-combobox-padding-inline-end: var(--calcite-space-sm-plus);--calcite-internal-combobox-no-matches-spacing-unit-s: var(--calcite-space-sm-plus);--calcite-combobox-input-height: 1.5rem;--calcite-internal-combobox-input-margin-block: calc(var(--calcite-space-sm-plus) - 1px);--calcite-internal-close-size: 2rem}.wrapper{display:flex;border-width:1px;border-style:solid;outline-color:transparent;padding-block:calc(var(--calcite-internal-combobox-spacing-unit-s) / 4);padding-inline:var(--calcite-internal-combobox-spacing-unit-l) var(--calcite-internal-combobox-padding-inline-end);background-color:var(--calcite-combobox-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-combobox-input-text-color, var(--calcite-color-text-1));border-color:var(--calcite-combobox-input-border-color, var(--calcite-color-border-input))}.wrapper:hover .icon{color:var(--calcite-combobox-icon-color-hover, var(--calcite-color-text-1))}:host(:focus-within) .wrapper,.wrapper--active{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))))}:host([read-only]) .wrapper{background-color:var(--calcite-color-background)}:host([read-only]) .label{font-weight:var(--calcite-font-weight-medium)}:host([status=invalid]) .wrapper{border-color:var(--calcite-color-status-danger)}:host([status=invalid]:focus-within) .wrapper{outline:var(--calcite-border-width-md) solid var(--calcite-color-status-danger);outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.wrapper--single{padding-block:0;padding-inline:var(--calcite-internal-combobox-spacing-unit-l) var(--calcite-internal-combobox-padding-inline-end);cursor:pointer;flex-wrap:nowrap}.grid-input{position:relative;display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;gap:var(--calcite-internal-combobox-spacing-unit-s);margin-inline-end:var(--calcite-internal-combobox-spacing-unit-s)}.grid-input.selection-display--fit,.grid-input.selection-display--single{flex-wrap:nowrap;overflow:hidden}.input{flex-grow:1;appearance:none;overflow:hidden;text-overflow:ellipsis;border-style:none;background-color:transparent;padding:0;font-family:inherit;color:var(--calcite-color-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);inline-size:100%;margin-block-end:var(--calcite-internal-combobox-spacing-unit-s);min-inline-size:4.8125rem}.input:focus{outline:2px solid transparent;outline-offset:2px}.input:placeholder-shown{text-overflow:ellipsis}.input--single{padding:0;margin-block:var(--calcite-internal-combobox-input-margin-block)}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;width:0px;min-width:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-internal-combobox-spacing-unit-l)}.placeholder-icon{color:var(--calcite-combobox-icon-color, var(--calcite-color-text-3))}.input-wrap{display:flex;flex-grow:1;align-items:center}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;max-width:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-internal-combobox-spacing-unit-l)}.icon-end,.icon-start{display:flex;cursor:pointer;align-items:center}.icon-end{flex:none}.icon-end .icon{color:var(--calcite-combobox-icon-color, var(--calcite-color-text-3))}.floating-ui-container{inline-size:max-content;display:none;max-inline-size:100vw;max-block-size:100vh;inset-block-start:0;left:0;z-index:var(--calcite-floating-ui-z-index)}@starting-style{.floating-ui-container{opacity:0;inset-block-start:0;left:0}}:host([top-layer-disabled]) .floating-ui-container{--calcite-floating-ui-z-index: var(--calcite-z-index-dropdown)}.floating-ui-container[popover]{padding:0;margin:0;border:none;background-color:transparent;overflow:visible;display:none}.floating-ui-container:popover-open{display:block}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition-duration:var(--calcite-floating-ui-transition);transition-property:inset-block-start,left,opacity,display;transition-behavior:allow-discrete;opacity:0;box-shadow:0 0 16px #00000029;z-index:var(--calcite-z-index);border-radius:.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{inset-block-start:-5px}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{inset-block-start:5px}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{left:5px}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{left:-5px}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;inset-block-start:0;left:0}@starting-style{.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:0}}.floating-ui-container .calcite-floating-ui-anim{box-shadow:var(--calcite-shadow-md)}@media(forced-colors:active){.wrapper,.floating-ui-container{border:1px solid canvasText}}.screen-readers-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.list-container{max-height:45vh;overflow-y:auto;inline-size:var(--calcite-dropdown-width, 100%);background-color:var(--calcite-combobox-background-color, var(--calcite-color-foreground-1))}.list{margin:0;display:block;padding:0;line-height:var(--calcite-font-line-height-relative-snug)}.list--hide{height:0px;overflow:hidden}calcite-chip{--calcite-animation-timing: 0}.chip{margin-block:calc(var(--calcite-internal-combobox-spacing-unit-s) / 4);max-inline-size:100%}.chip--invisible{visibility:hidden;position:absolute}.item{display:block}.select-all{background-color:var(--calcite-combobox-item-background-color-active, var(--calcite-color-foreground-1));border-block-end-color:var(--calcite-combobox-divider-color, var(--calcite-combobox-item-border-color, var(--calcite-color-border-3)));border-block-end-style:solid;border-block-end-width:var(--calcite-border-width-sm);inset-block-start:0;position:sticky;z-index:var(--calcite-z-index-sticky)}.no-matches{padding-block:var(--calcite-internal-combobox-no-matches-spacing-unit-s);padding-inline:var(--calcite-internal-combobox-spacing-unit-l);color:var(--calcite-combobox-input-text-color, var(--calcite-color-text-1));background:var(--calcite-combobox-background-color, var(--calcite-color-foreground-1));cursor:pointer}.no-matches-placeholder{color:var(--calcite-combobox-icon-color, var(--calcite-color-text-3));cursor:default}.disabled{opacity:.5}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.clear-button--container{display:flex;cursor:pointer;align-items:center}.clear-button--container:hover calcite-action{--calcite-action-background-color: var(--calcite-clear-button-background-color-hover, var(--calcite-color-foreground-3));--calcite-action-text-color: var(--calcite-clear-button-icon-color-hover, var(--calcite-color-text-1))}.clear-button--container:active calcite-action{--calcite-action-background-color: var(--calcite-clear-button-background-color-press, var(--calcite-color-border-2));--calcite-action-text-color: var(--calcite-clear-button-icon-color-press, var(--calcite-color-text-1))}.clear-button--container calcite-action{--calcite-internal-action-height: 100%;--calcite-internal-action-padding-inline: var(--calcite-spacing-none);--calcite-internal-action-padding-block: var(--calcite-spacing-none);--calcite-action-background-color: var(--calcite-clear-button-background-color, var(--calcite-color-foreground-2));--calcite-action-text-color: var(--calcite-clear-button-icon-color)}.clear-button--container calcite-action:hover{--calcite-action-background-color-hover: var(--calcite-clear-button-background-color-hover, var(--calcite-color-foreground-3));--calcite-action-text-color-press: var(--calcite-clear-button-icon-color-hover)}.clear-button--container calcite-action:active{--calcite-action-background-color-press: var(--calcite-clear-button-background-color-press, var(--calcite-color-border-2));--calcite-action-text-color-press: var(--calcite-clear-button-icon-color-press)}:host([scale=s]) .clear-button--container{padding:var(--calcite-spacing-xxs)}:host([scale=m]) .clear-button--container{padding:var(--calcite-spacing-xxs);padding-inline-end:var(--calcite-space-sm)}:host([scale=l]) .clear-button--container{padding-inline-end:var(--calcite-spacing-sm-plus)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}.text-match{background-color:transparent;color:inherit;font-weight:var(--calcite-font-weight-bold)}.internal-label-alignment--center{align-items:center}.internal-label-alignment--end{align-items:end}.internal-label--container{display:flex;justify-content:space-between;color:var(--calcite-color-text-1)}.internal-label-required--indicator{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-status-danger);padding-inline:var(--calcite-spacing-base)}.internal-label-required--indicator:hover{cursor:help}.internal-label--text{line-height:1}:host([scale=s]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-xxs)}:host([scale=s]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=s]) .internal-label--text{font-size:var(--calcite-font-size--2)}:host([scale=m]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .internal-label--text{font-size:var(--calcite-font-size--1)}:host([scale=l]) .internal-label-spacing--bottom{margin-block-end:var(--calcite-spacing-sm)}:host([scale=l]) .internal-label-spacing-inline--end{margin-inline-end:var(--calcite-spacing-md)}:host([scale=l]) .internal-label-spacing-inline--start{margin-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .internal-label--text{font-size:var(--calcite-font-size-0)}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}`;
|
|
34
34
|
class Combobox extends LitElement {
|
|
@@ -535,9 +535,9 @@ class Combobox extends LitElement {
|
|
|
535
535
|
break;
|
|
536
536
|
case " ":
|
|
537
537
|
if (!this.textInputRef.value.value && !event.defaultPrevented) {
|
|
538
|
-
if (!this.open
|
|
538
|
+
if (!this.open) {
|
|
539
539
|
this.open = true;
|
|
540
|
-
this.
|
|
540
|
+
this.shiftActiveItemIndex(1);
|
|
541
541
|
}
|
|
542
542
|
event.preventDefault();
|
|
543
543
|
}
|
|
@@ -620,7 +620,7 @@ class Combobox extends LitElement {
|
|
|
620
620
|
this.topLayer.show();
|
|
621
621
|
this.reposition();
|
|
622
622
|
this.calciteComboboxBeforeOpen.emit();
|
|
623
|
-
setTimeout(() => this.scrollToActiveOrSelectedItem(
|
|
623
|
+
setTimeout(() => this.scrollToActiveOrSelectedItem(true), 0);
|
|
624
624
|
}
|
|
625
625
|
onOpen() {
|
|
626
626
|
this.calciteComboboxOpen.emit();
|
|
@@ -669,14 +669,9 @@ class Combobox extends LitElement {
|
|
|
669
669
|
this.ensureRecentSelectedItemIsActive();
|
|
670
670
|
}
|
|
671
671
|
ensureRecentSelectedItemIsActive() {
|
|
672
|
-
const {
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
return;
|
|
676
|
-
}
|
|
677
|
-
const selectedItem = selectedItems[selectedItems.length - 1];
|
|
678
|
-
const targetIndex = selectedItem ? keyboardNavItems.indexOf(selectedItem) : keyboardNavItems.length ? 0 : -1;
|
|
679
|
-
this.updateActiveItemIndex(targetIndex > -1 ? targetIndex : keyboardNavItems.length ? 0 : -1);
|
|
672
|
+
const { selectedItems } = this;
|
|
673
|
+
const targetIndex = selectedItems.length === 0 ? 0 : this.items.indexOf(selectedItems[selectedItems.length - 1]);
|
|
674
|
+
this.updateActiveItemIndex(targetIndex);
|
|
680
675
|
}
|
|
681
676
|
hideChip(chipEl) {
|
|
682
677
|
chipEl.classList.add(CSS.chipInvisible);
|
|
@@ -942,7 +937,7 @@ class Combobox extends LitElement {
|
|
|
942
937
|
const ancestors = getItemAncestors(item);
|
|
943
938
|
const children = getItemChildren(item);
|
|
944
939
|
if (item.selected) {
|
|
945
|
-
|
|
940
|
+
ancestors.forEach((el) => {
|
|
946
941
|
if (el.disabled) {
|
|
947
942
|
return;
|
|
948
943
|
}
|
|
@@ -30,7 +30,7 @@ class DatePicker extends LitElement {
|
|
|
30
30
|
this.listen("keydown", this.keyDownHandler);
|
|
31
31
|
}
|
|
32
32
|
static {
|
|
33
|
-
this.properties = { activeEndDate: [16, {}, { state: true }], activeStartDate: [16, {}, { state: true }], dateTimeFormat: [16, {}, { state: true }], hoverRange: [16, {}, { state: true }], localeData: [16, {}, { state: true }], activeDate: [0, {}, { attribute: false }], activeRange: [3, {}, { reflect: true }], calendars: [11, {}, { type: Number, reflect: true }], headingLevel: [11, {}, { type: Number, reflect: true }], layout: [3, {}, { reflect: true }], max: [3, {}, { reflect: true }], maxAsDate: [0, {}, { attribute: false }], messageOverrides: [0, {}, { attribute: false }], min: [3, {}, { reflect: true }], minAsDate: [0, {}, { attribute: false }], monthStyle: 1, numberingSystem: [3, {}, { reflect: true }], proximitySelectionDisabled: [7, {}, { reflect: true, type: Boolean }], range: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], value: 1, valueAsDate: [0, {}, { attribute: false }] };
|
|
33
|
+
this.properties = { activeEndDate: [16, {}, { state: true }], activeStartDate: [16, {}, { state: true }], dateTimeFormat: [16, {}, { state: true }], endAsDate: [16, {}, { state: true }], hoverRange: [16, {}, { state: true }], localeData: [16, {}, { state: true }], startAsDate: [16, {}, { state: true }], activeDate: [0, {}, { attribute: false }], activeRange: [3, {}, { reflect: true }], calendars: [11, {}, { type: Number, reflect: true }], headingLevel: [11, {}, { type: Number, reflect: true }], layout: [3, {}, { reflect: true }], max: [3, {}, { reflect: true }], maxAsDate: [0, {}, { attribute: false }], messageOverrides: [0, {}, { attribute: false }], min: [3, {}, { reflect: true }], minAsDate: [0, {}, { attribute: false }], monthStyle: 1, numberingSystem: [3, {}, { reflect: true }], proximitySelectionDisabled: [7, {}, { reflect: true, type: Boolean }], range: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], value: 1, valueAsDate: [0, {}, { attribute: false }] };
|
|
34
34
|
}
|
|
35
35
|
static {
|
|
36
36
|
this.styles = styles;
|
|
@@ -36,7 +36,7 @@ class DatePickerDay extends LitElement {
|
|
|
36
36
|
this.listen("keydown", this.keyDownHandler);
|
|
37
37
|
}
|
|
38
38
|
static {
|
|
39
|
-
this.properties = { active: [7, {}, { reflect: true, type: Boolean }], currentMonth: [7, {}, { reflect: true, type: Boolean }], dateTimeFormat: [0, {}, { attribute: false }], day: [9, {}, { type: Number }], disabled: [7, {}, { reflect: true, type: Boolean }], endOfRange: [7, {}, { reflect: true, type: Boolean }], highlighted: [7, {}, { reflect: true, type: Boolean }], range: [7, {}, { reflect: true, type: Boolean }], rangeHover: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], startOfRange: [7, {}, { reflect: true, type: Boolean }], value: [0, {}, { attribute: false }] };
|
|
39
|
+
this.properties = { active: [7, {}, { reflect: true, type: Boolean }], currentMonth: [7, {}, { reflect: true, type: Boolean }], dateTimeFormat: [0, {}, { attribute: false }], day: [9, {}, { type: Number }], disabled: [7, {}, { reflect: true, type: Boolean }], endOfRange: [7, {}, { reflect: true, type: Boolean }], highlighted: [7, {}, { reflect: true, type: Boolean }], range: [7, {}, { reflect: true, type: Boolean }], rangeEdge: [3, {}, { reflect: true }], rangeHover: [7, {}, { reflect: true, type: Boolean }], scale: [3, {}, { reflect: true }], selected: [7, {}, { reflect: true, type: Boolean }], startOfRange: [7, {}, { reflect: true, type: Boolean }], value: [0, {}, { attribute: false }] };
|
|
40
40
|
}
|
|
41
41
|
static {
|
|
42
42
|
this.styles = styles;
|
|
@@ -11,8 +11,10 @@ const CSS = {
|
|
|
11
11
|
calendarStart: "calendar--start",
|
|
12
12
|
currentDay: "current-day",
|
|
13
13
|
dayContainer: "day-container",
|
|
14
|
+
insideRangeHover: "inside-range--hover",
|
|
14
15
|
month: "month",
|
|
15
16
|
noncurrent: "noncurrent",
|
|
17
|
+
outsideRangeHover: "outside-range--hover",
|
|
16
18
|
weekDays: "week-days",
|
|
17
19
|
weekHeader: "week-header",
|
|
18
20
|
weekHeaderContainer: "week-header-container"
|
|
@@ -244,12 +246,15 @@ class DatePickerMonth extends LitElement {
|
|
|
244
246
|
let month = this.activeDate.getMonth();
|
|
245
247
|
const nextMonth2 = month + 1;
|
|
246
248
|
month = position === "end" ? nextMonth2 : month;
|
|
249
|
+
let dayInWeek = 0;
|
|
250
|
+
const getDayInWeek = () => dayInWeek++ % 7;
|
|
247
251
|
const year = this.activeDate.getFullYear();
|
|
248
252
|
const days = [
|
|
249
253
|
...prevMonthDays.map((day) => {
|
|
250
254
|
return {
|
|
251
255
|
active: false,
|
|
252
256
|
day,
|
|
257
|
+
dayInWeek: getDayInWeek(),
|
|
253
258
|
date: new Date(year, month - 1, day)
|
|
254
259
|
};
|
|
255
260
|
}),
|
|
@@ -262,6 +267,7 @@ class DatePickerMonth extends LitElement {
|
|
|
262
267
|
currentMonth: true,
|
|
263
268
|
currentDay: isCurrentDay,
|
|
264
269
|
day,
|
|
270
|
+
dayInWeek: getDayInWeek(),
|
|
265
271
|
date
|
|
266
272
|
};
|
|
267
273
|
}),
|
|
@@ -269,6 +275,7 @@ class DatePickerMonth extends LitElement {
|
|
|
269
275
|
return {
|
|
270
276
|
active: false,
|
|
271
277
|
day,
|
|
278
|
+
dayInWeek: getDayInWeek(),
|
|
272
279
|
date: new Date(year, nextMonth2, day)
|
|
273
280
|
};
|
|
274
281
|
})
|
|
@@ -319,12 +326,14 @@ class DatePickerMonth extends LitElement {
|
|
|
319
326
|
const nextMonthDays = this.getDays(endCalendarPrevMonDays, endCalendarCurrMonDays, endCalendarNextMonDays, "end");
|
|
320
327
|
return html`<div class=${safeClassMap({ [CSS.calendarContainer]: true })} role=grid>${this.renderCalendar(adjustedWeekDays, days)}${this.range && this.calendars === 2 && this.renderCalendar(adjustedWeekDays, nextMonthDays, true) || ""}</div>`;
|
|
321
328
|
}
|
|
322
|
-
renderDateDay({ active, currentMonth, currentDay, date, day }, key) {
|
|
329
|
+
renderDateDay({ active, currentMonth, currentDay, date, day, dayInWeek }, key) {
|
|
323
330
|
const isDateInRange = inRange(date, this.min, this.max);
|
|
324
331
|
return keyed(key, html`<div class=${safeClassMap({ [CSS.dayContainer]: true })} role=gridcell><calcite-date-picker-day .active=${active} class=${safeClassMap({
|
|
325
332
|
[CSS.currentDay]: currentDay,
|
|
333
|
+
[CSS.insideRangeHover]: this.isHoverInRange(),
|
|
334
|
+
[CSS.outsideRangeHover]: !this.isHoverInRange(),
|
|
326
335
|
[CSS.noncurrent]: this.range && this.calendars === 2 && !currentMonth
|
|
327
|
-
})} .currentMonth=${currentMonth} .dateTimeFormat=${this.dateTimeFormat} .day=${day} .disabled=${!isDateInRange} .endOfRange=${this.isEndOfRange(date)} .highlighted=${this.betweenSelectedRange(date)} @calciteInternalDayHover=${this.dayHover} @calciteInternalDaySelect=${this.daySelect} .range=${!!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate)} .rangeHover=${isDateInRange && this.isRangeHover(date)} .scale=${this.scale} .selected=${this.isSelected(date)} .startOfRange=${this.isStartOfRange(date)} .value=${date} ${ref(this.storeDayRef)}></calcite-date-picker-day></div>`);
|
|
336
|
+
})} .currentMonth=${currentMonth} .dateTimeFormat=${this.dateTimeFormat} .day=${day} .disabled=${!isDateInRange} .endOfRange=${this.isEndOfRange(date)} .highlighted=${this.betweenSelectedRange(date)} @calciteInternalDayHover=${this.dayHover} @calciteInternalDaySelect=${this.daySelect} .range=${!!this.startDate && !!this.endDate && !sameDate(this.startDate, this.endDate)} .rangeEdge=${dayInWeek === 0 ? "start" : dayInWeek === 6 ? "end" : void 0} .rangeHover=${isDateInRange && this.isRangeHover(date)} .scale=${this.scale} .selected=${this.isSelected(date)} .startOfRange=${this.isStartOfRange(date)} .value=${date} ${ref(this.storeDayRef)}></calcite-date-picker-day></div>`);
|
|
328
337
|
}
|
|
329
338
|
renderCalendar(weekDays, days, isEndCalendar = false) {
|
|
330
339
|
return html`<div class=${safeClassMap({
|
|
@@ -9,7 +9,7 @@ import { g as getStylePixelValue } from "../../chunks/dom.js";
|
|
|
9
9
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
10
10
|
import { g as getDimensionClass } from "../../chunks/dynamicClasses.js";
|
|
11
11
|
import { t as toggleOpenClose } from "../../chunks/openCloseComponent.js";
|
|
12
|
-
import { S as SLOTS$1 } from "../../chunks/
|
|
12
|
+
import { S as SLOTS$1 } from "../../chunks/resources7.js";
|
|
13
13
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
14
14
|
import { u as useFocusTrap } from "../../chunks/useFocusTrap.js";
|
|
15
15
|
import { u as usePreventDocumentScroll } from "../../chunks/usePreventDocumentScroll.js";
|
|
@@ -158,11 +158,11 @@ class Dialog extends LitElement {
|
|
|
158
158
|
connectedCallback() {
|
|
159
159
|
super.connectedCallback();
|
|
160
160
|
this.mutationObserver?.observe(this.el, { childList: true, subtree: true });
|
|
161
|
-
this.
|
|
161
|
+
this.setupInteractions();
|
|
162
162
|
}
|
|
163
163
|
willUpdate(changes) {
|
|
164
164
|
if (changes.has("open") && (this.hasUpdated || this.open !== false) || changes.has("placement") && (this.hasUpdated || this.placement !== "center") || changes.has("resizable") && (this.hasUpdated || this.resizable !== false) || changes.has("dragEnabled") && (this.hasUpdated || this.dragEnabled !== false)) {
|
|
165
|
-
this.
|
|
165
|
+
this.setupInteractions();
|
|
166
166
|
}
|
|
167
167
|
if (changes.has("messages") || changes.has("dragEnabled") && (this.hasUpdated || this.dragEnabled !== false) || changes.has("resizable") && (this.hasUpdated || this.resizable !== false)) {
|
|
168
168
|
this.updateAssistiveText();
|
|
@@ -175,7 +175,7 @@ class Dialog extends LitElement {
|
|
|
175
175
|
super.disconnectedCallback();
|
|
176
176
|
this.mutationObserver?.disconnect();
|
|
177
177
|
this.embedded = false;
|
|
178
|
-
this.
|
|
178
|
+
this.cleanupInteractions();
|
|
179
179
|
}
|
|
180
180
|
focusTrapDisabledOverride() {
|
|
181
181
|
return !this.modal && this.focusTrapDisabled;
|
|
@@ -335,7 +335,7 @@ class Dialog extends LitElement {
|
|
|
335
335
|
const translateY = Math.round(y + top + bottom);
|
|
336
336
|
this.transitionEl.style.transform = translateX || translateY ? `translate(${translateX}px, ${translateY}px)` : null;
|
|
337
337
|
}
|
|
338
|
-
|
|
338
|
+
cleanupInteractions() {
|
|
339
339
|
this.interaction?.unset();
|
|
340
340
|
this.updateSizeInternal({
|
|
341
341
|
inline: null,
|
|
@@ -345,8 +345,8 @@ class Dialog extends LitElement {
|
|
|
345
345
|
this.resizePosition = { ...initialResizePosition };
|
|
346
346
|
this.updateTransform();
|
|
347
347
|
}
|
|
348
|
-
async
|
|
349
|
-
this.
|
|
348
|
+
async setupInteractions() {
|
|
349
|
+
this.cleanupInteractions();
|
|
350
350
|
const { el, transitionEl, resizable, dragEnabled, resizePosition, dragPosition } = this;
|
|
351
351
|
if (!transitionEl || !this.open) {
|
|
352
352
|
return;
|
|
@@ -447,7 +447,7 @@ class Dialog extends LitElement {
|
|
|
447
447
|
return;
|
|
448
448
|
}
|
|
449
449
|
this.transitionEl = el;
|
|
450
|
-
this.
|
|
450
|
+
this.setupInteractions();
|
|
451
451
|
}
|
|
452
452
|
handleInternalPanelScroll(event) {
|
|
453
453
|
if (event.target !== this.panelRef.value) {
|
|
@@ -3,7 +3,7 @@ import { c as customElement } from "../../chunks/runtime.js";
|
|
|
3
3
|
import { css, html } from "lit";
|
|
4
4
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
5
5
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
6
|
-
import { C as CSS$1 } from "../../chunks/
|
|
6
|
+
import { C as CSS$1 } from "../../chunks/resources8.js";
|
|
7
7
|
const CSS = {
|
|
8
8
|
title: "title",
|
|
9
9
|
firstTitle: "first-title",
|
|
@@ -7,7 +7,7 @@ import { t as toAriaBoolean } from "../../chunks/aria.js";
|
|
|
7
7
|
import { g as getIconScale } from "../../chunks/component.js";
|
|
8
8
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
9
9
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
10
|
-
import { C as CSS, I as ICONS } from "../../chunks/
|
|
10
|
+
import { C as CSS, I as ICONS } from "../../chunks/resources8.js";
|
|
11
11
|
const styles = css`: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{position:relative;display:flex;flex-grow:1;align-items:center;outline:2px solid transparent;outline-offset:2px}.container{position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1));text-align:start}.container a{outline:none;position:relative;display:flex;flex-grow:1;cursor:pointer;align-items:center;text-decoration-line:none;color:var(--calcite-dropdown-item-text-color, var(--calcite-color-text-1))}.content{flex:1 1 auto}.icon{position:relative;opacity:0;transition-timing-function:cubic-bezier(.4,0,.2,1);transform:scale(.9)}.icon--start,.icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color, var(--calcite-color-text-3))}:host([scale=s]) .container{padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm)}:host([scale=s]) .icon,:host([scale=s]) .icon--start{padding-inline-end:var(--calcite-spacing-sm)}:host([scale=s]) .icon--end{padding-inline-start:var(--calcite-spacing-sm)}:host([scale=m]) .container{padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base)}:host([scale=m]) .icon,:host([scale=m]) .icon--start{padding-inline-end:var(--calcite-spacing-md)}:host([scale=m]) .icon--end{padding-inline-start:var(--calcite-spacing-md)}:host([scale=l]) .container{padding-block:var(--calcite-space-sm-plus);padding-inline:1rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md)}:host([scale=l]) .icon,:host([scale=l]) .icon--start{padding-inline-end:var(--calcite-spacing-lg)}:host([scale=l]) .icon--end{padding-inline-start:var(--calcite-spacing-lg)}:host(:focus) .container,:host([active-descendant]) .container{text-decoration-line:none;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))))}:host(:hover:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-hover, var(--calcite-color-foreground-2))}:host(:active:not([disabled])) .container{background-color:var(--calcite-dropdown-item-background-color-press, var(--calcite-color-foreground-3))}:host(:hover:not([disabled])) .container,:host(:active:not([disabled])) .container{text-decoration-line:none;color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .icon--start,:host(:hover:not([disabled])) .icon--end,:host(:active:not([disabled])) .icon--start,:host(:active:not([disabled])) .icon--end{--calcite-icon-color: var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host(:hover:not([disabled])) .link,:host(:active:not([disabled])) .link{color:var(--calcite-dropdown-item-text-color-press, var(--calcite-color-text-1))}:host([selected]) .container:not(.container--none-selection),:host([selected]) .link{font-weight:var(--calcite-font-weight-medium);--calcite-internal-dropdown-item-text-color: var( --calcite-dropdown-item-text-color-press, var(--calcite-color-text-1) );color:var(--calcite-internal-dropdown-item-text-color)}:host([selected]) .container:not(.container--none-selection) .icon,:host([selected]) .link .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-press, var(--calcite-color-brand))}:host([selected]) .container:not(.container--none-selection) .icon--start,:host([selected]) .container:not(.container--none-selection) .icon--end,:host([selected]) .link .icon--start,:host([selected]) .link .icon--end{--calcite-icon-color: var(--calcite-internal-dropdown-item-text-color)}:host(:hover:not([disabled])) .icon{--calcite-icon-color: var(--calcite-dropdown-item-icon-color-hover)}:host([selected]) .icon{opacity:1}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;
|
|
12
12
|
class DropdownItem extends LitElement {
|
|
13
13
|
constructor() {
|
|
@@ -11,9 +11,9 @@ export abstract class Flow extends LitElement {
|
|
|
11
11
|
/**
|
|
12
12
|
* Removes selection of the currently active `calcite-flow-item`.
|
|
13
13
|
*
|
|
14
|
-
* @returns Promise<HTMLCalciteFlowItemElement | FlowItemLikeElement
|
|
14
|
+
* @returns Promise<HTMLCalciteFlowItemElement | FlowItemLikeElement>
|
|
15
15
|
*/
|
|
16
|
-
back(): Promise<FlowItem | FlowItemLikeElement
|
|
16
|
+
back(): Promise<FlowItem | FlowItemLikeElement>;
|
|
17
17
|
/**
|
|
18
18
|
* Sets focus on the component.
|
|
19
19
|
*
|
|
@@ -122,7 +122,7 @@ class Flow extends LitElement {
|
|
|
122
122
|
}
|
|
123
123
|
findSelectedFlowItemIndex(items) {
|
|
124
124
|
const selectedItem = items.slice(0).reverse().find((item) => !!item.selected);
|
|
125
|
-
return
|
|
125
|
+
return items.indexOf(selectedItem);
|
|
126
126
|
}
|
|
127
127
|
ensureSelectedFlowItemExists() {
|
|
128
128
|
const { items } = this;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { PublicLitElement as LitElement } from "@arcgis/lumina";
|
|
3
3
|
import type { HeadingLevel } from "../functional/Heading.js";
|
|
4
4
|
import type { OverlayPositioning } from "../../utils/floating-ui.js";
|
|
5
|
-
import type {
|
|
5
|
+
import type { Scale } from "../interfaces.js";
|
|
6
6
|
import type { Panel } from "../calcite-panel/customElement.js";
|
|
7
7
|
import type { IconName } from "../calcite-icon/interfaces.js";
|
|
8
8
|
|
|
@@ -73,12 +73,6 @@ export abstract class FlowItem extends LitElement {
|
|
|
73
73
|
* @default false
|
|
74
74
|
*/
|
|
75
75
|
accessor collapsed: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* When `collapsible` is `true`, specifies the direction of the collapse icon.
|
|
78
|
-
*
|
|
79
|
-
* @default "down"
|
|
80
|
-
*/
|
|
81
|
-
accessor collapseDirection: CollapseDirection;
|
|
82
76
|
/**
|
|
83
77
|
* When `true`, the component is collapsible.
|
|
84
78
|
*
|
|
@@ -5,7 +5,7 @@ import { css, nothing, html } from "lit";
|
|
|
5
5
|
import { LitElement, createEvent, safeClassMap } from "@arcgis/lumina";
|
|
6
6
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
7
7
|
import { useDirection } from "@arcgis/lumina/controllers";
|
|
8
|
-
import { S as SLOTS$1 } from "../../chunks/
|
|
8
|
+
import { S as SLOTS$1 } from "../../chunks/resources7.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
10
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
11
11
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
@@ -123,7 +123,7 @@ class FlowItem extends LitElement {
|
|
|
123
123
|
}
|
|
124
124
|
render() {
|
|
125
125
|
const { collapsed, collapseDirection, collapsible, closable, closed, description, disabled, heading, headingLevel, loading, menuOpen, messageOverrides, overlayPositioning, beforeClose, icon, iconFlipRtl } = this;
|
|
126
|
-
return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .
|
|
126
|
+
return this.interactiveContainer({ disabled, children: html`<calcite-panel .beforeClose=${beforeClose} .closable=${closable} .closed=${closed} .collapseDirection=${collapseDirection} .collapsed=${collapsed} .collapsible=${collapsible} .description=${description} .disabled=${disabled} .heading=${heading} .headingLevel=${headingLevel} .icon=${icon} .iconFlipRtl=${iconFlipRtl} .loading=${loading} .menuOpen=${menuOpen} .messageOverrides=${messageOverrides} @calcitePanelClose=${this.handleInternalPanelClose} @calcitePanelScroll=${this.handleInternalPanelScroll} @calcitePanelToggle=${this.handleInternalPanelToggle} .overlayPositioning=${overlayPositioning} .scale=${this.scale} .topLayerDisabled=${this.topLayerDisabled} ${ref(this.containerRef)}>${this.renderBackButton()}<slot name=${SLOTS.actionBar} slot=${SLOTS$1.actionBar}></slot><slot name=${SLOTS.alerts} slot=${SLOTS$1.alerts}></slot><slot name=${SLOTS.headerActionsStart} slot=${SLOTS$1.headerActionsStart}></slot><slot name=${SLOTS.headerActionsEnd} slot=${SLOTS$1.headerActionsEnd}></slot><slot name=${SLOTS.description} slot=${SLOTS$1.description}></slot><slot name=${SLOTS.heading} slot=${SLOTS$1.heading}></slot><slot name=${SLOTS.headerContent} slot=${SLOTS$1.headerContent}></slot><slot name=${SLOTS.headerMenuActions} slot=${SLOTS$1.headerMenuActions}></slot><slot name=${SLOTS.fab} slot=${SLOTS$1.fab}></slot><slot name=${SLOTS.contentTop} slot=${SLOTS$1.contentTop}></slot><slot name=${SLOTS.contentBottom} slot=${SLOTS$1.contentBottom}></slot><slot name=${SLOTS.footerStart} slot=${SLOTS$1.footerStart}></slot><slot name=${SLOTS.footer} slot=${SLOTS$1.footer}></slot><slot name=${SLOTS.footerEnd} slot=${SLOTS$1.footerEnd}></slot><slot></slot></calcite-panel>` });
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
customElement("calcite-flow-item", FlowItem);
|
|
@@ -512,11 +512,14 @@ class Input extends LitElement {
|
|
|
512
512
|
const autofocus = this.el.autofocus;
|
|
513
513
|
const enterKeyHint = this.el.enterKeyHint;
|
|
514
514
|
const inputMode = this.el.inputMode;
|
|
515
|
-
const localeNumberInput = this.type === "number" ? keyed("localized-input", html`<input accept=${this.accept ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${autofocus} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`) : null;
|
|
515
|
+
const localeNumberInput = this.type === "number" ? keyed("localized-input", html`<input accept=${this.accept ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${autofocus} value=${this.defaultValue ?? nothing} .disabled=${this.disabled ? true : null} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`) : null;
|
|
516
516
|
const childEl = this.type !== "number" ? html`<input accept=${this.accept ?? nothing} aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${autofocus} class=${safeClassMap({
|
|
517
517
|
[CSS.editingEnabled]: this.editingEnabled,
|
|
518
518
|
[CSS.inlineChild]: !!this.inlineEditableEl
|
|
519
|
-
})} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} max=${this.maxString ?? nothing} maxlength=${this.maxLength ?? nothing} min=${this.minString ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${this.name ?? nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputInputHandler} @keydown=${this.inputKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} spellcheck=${this.el.spellcheck ?? nothing} step=${this.step ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 : null) ?? nothing} type=${this.type ?? nothing} .value=${live(this.value ?? "")} ${ref(
|
|
519
|
+
})} value=${this.defaultValue ?? nothing} .disabled=${this.disabled ? true : null} enterkeyhint=${enterKeyHint ?? nothing} inputmode=${inputMode ?? nothing} max=${this.maxString ?? nothing} maxlength=${this.maxLength ?? nothing} min=${this.minString ?? nothing} minlength=${this.minLength ?? nothing} .multiple=${this.multiple} name=${this.name ?? nothing} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputInputHandler} @keydown=${this.inputKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required ? true : null} spellcheck=${this.el.spellcheck ?? nothing} step=${this.step ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 : null) ?? nothing} type=${this.type ?? nothing} .value=${live(this.value ?? "")} ${ref(
|
|
520
|
+
this.childRef
|
|
521
|
+
/* using unknown to workaround Lumina dynamic ref type issue */
|
|
522
|
+
)}>` : null;
|
|
520
523
|
return this.interactiveContainer({ disabled: this.disabled, children: html`${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div class=${safeClassMap({
|
|
521
524
|
[CSS.inputWrapper]: true,
|
|
522
525
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
@@ -504,7 +504,7 @@ class InputNumber extends LitElement {
|
|
|
504
504
|
const numberButtonsVertical = html`<div class=${safeClassMap(CSS.numberButtonWrapper)}>${numberButtonsHorizontalUp}${numberButtonsHorizontalDown}</div>`;
|
|
505
505
|
const prefixText = html`<div class=${safeClassMap(CSS.prefix)}>${this.prefixText}</div>`;
|
|
506
506
|
const suffixText = html`<div class=${safeClassMap(CSS.suffix)}>${this.suffixText}</div>`;
|
|
507
|
-
const childEl = keyed("localized-input", html`<input aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${this.el.autofocus} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint ?? nothing} inputmode=${(this.el.inputMode || "decimal") ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} @blur=${this.inputNumberBlurHandler} @focus=${this.inputNumberFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputNumberKeyUpHandler} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`);
|
|
507
|
+
const childEl = keyed("localized-input", html`<input aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${this.el.autofocus} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint ?? nothing} inputmode=${(this.el.inputMode || "decimal") ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} name=${nothing} @blur=${this.inputNumberBlurHandler} @focus=${this.inputNumberFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputNumberKeyUpHandler} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} type=text .value=${live(this.displayedValue ?? "")} ${ref(this.childNumberRef)}>`);
|
|
508
508
|
return this.interactiveContainer({ disabled: this.disabled, children: html`${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div class=${safeClassMap({
|
|
509
509
|
[CSS.inputWrapper]: true,
|
|
510
510
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
@@ -246,7 +246,7 @@ class InputText extends LitElement {
|
|
|
246
246
|
const childEl = html`<input aria-errormessage=${IDS.validationMessage} .ariaInvalid=${this.status === "invalid"} .ariaLabel=${getLabelText(this)} autocomplete=${this.autocomplete ?? nothing} .autofocus=${this.el.autofocus} class=${safeClassMap({
|
|
247
247
|
[CSS.editingEnabled]: this.editingEnabled,
|
|
248
248
|
[CSS.inlineChild]: !!this.inlineEditableEl
|
|
249
|
-
})} value=${this.defaultValue ?? nothing} .disabled=${this.disabled} enterkeyhint=${this.el.enterKeyHint ?? nothing} inputmode=${this.el.inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} name=${this.name ?? nothing} @blur=${this.inputTextBlurHandler} @focus=${this.inputTextFocusHandler} @input=${this.inputTextInputHandler} @keydown=${this.inputTextKeyDownHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required} spellcheck=${this.el.spellcheck ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 : null) ?? nothing} type=text .value=${live(this.value ?? "")} ${ref(this.childRef)}>`;
|
|
249
|
+
})} value=${this.defaultValue ?? nothing} .disabled=${this.disabled ? true : null} enterkeyhint=${this.el.enterKeyHint ?? nothing} inputmode=${this.el.inputMode ?? nothing} maxlength=${this.maxLength ?? nothing} minlength=${this.minLength ?? nothing} name=${this.name ?? nothing} @blur=${this.inputTextBlurHandler} @focus=${this.inputTextFocusHandler} @input=${this.inputTextInputHandler} @keydown=${this.inputTextKeyDownHandler} pattern=${this.pattern ?? nothing} placeholder=${(this.placeholder || "") ?? nothing} .readOnly=${this.readOnly} .required=${this.required ? true : null} spellcheck=${this.el.spellcheck ?? nothing} tabindex=${(this.disabled || this.inlineEditableEl && !this.editingEnabled ? -1 : null) ?? nothing} type=text .value=${live(this.value ?? "")} ${ref(this.childRef)}>`;
|
|
250
250
|
return this.interactiveContainer({ disabled: this.disabled, children: html`${this.labelText && InternalLabel({ labelText: this.labelText, onClick: this.onLabelClick, required: this.required, tooltipText: this.messages.required }) || ""}<div class=${safeClassMap({
|
|
251
251
|
[CSS.inputWrapper]: true,
|
|
252
252
|
[CSS_UTILITY.rtl]: dir === "rtl",
|
|
@@ -7,7 +7,7 @@ import { LitElement, createEvent, stringOrBoolean, safeClassMap } from "@arcgis/
|
|
|
7
7
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
8
8
|
import { c as connectLabel, d as disconnectLabel } from "../../chunks/label.js";
|
|
9
9
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
10
|
-
import { S as SLOTS$1 } from "../../chunks/
|
|
10
|
+
import { S as SLOTS$1 } from "../../chunks/resources6.js";
|
|
11
11
|
import { u as useSetFocus } from "../../chunks/useSetFocus.js";
|
|
12
12
|
import { u as useInteractive } from "../../chunks/useInteractive.js";
|
|
13
13
|
import { u as useForm } from "../../chunks/useForm.js";
|
|
@@ -57,9 +57,9 @@ export abstract class List extends LitElement {
|
|
|
57
57
|
*/
|
|
58
58
|
accessor filterEnabled: boolean;
|
|
59
59
|
/** Specifies an accessible name for the filter input field. */
|
|
60
|
-
accessor filterLabel: string
|
|
60
|
+
accessor filterLabel: string;
|
|
61
61
|
/** Specifies placeholder text for the component's filter input field. */
|
|
62
|
-
accessor filterPlaceholder: string
|
|
62
|
+
accessor filterPlaceholder: string;
|
|
63
63
|
/**
|
|
64
64
|
* Specifies a function to handle filtering.
|
|
65
65
|
*
|
|
@@ -71,7 +71,7 @@ export abstract class List extends LitElement {
|
|
|
71
71
|
*/
|
|
72
72
|
accessor filterPredicate: ((item: ListItem) => boolean) | undefined;
|
|
73
73
|
/** Specifies the properties to match against when filtering. If not set, all properties will be matched (`description`, `label`, `metadata`, and the `calcite-list-item-group`'s `heading`). */
|
|
74
|
-
accessor filterProps: string[]
|
|
74
|
+
accessor filterProps: string[];
|
|
75
75
|
/**
|
|
76
76
|
* Text for the component's filter input field.
|
|
77
77
|
*
|
|
@@ -116,7 +116,7 @@ export abstract class List extends LitElement {
|
|
|
116
116
|
total?: string;
|
|
117
117
|
};
|
|
118
118
|
/** Specifies the Unicode numeral system used by the component for localization. */
|
|
119
|
-
accessor numberingSystem: NumberingSystem
|
|
119
|
+
accessor numberingSystem: NumberingSystem;
|
|
120
120
|
/**
|
|
121
121
|
* Specifies the size of the component.
|
|
122
122
|
*
|
|
@@ -8,7 +8,7 @@ import { LitElement, createEvent, safeClassMap, safeStyleMap } from "@arcgis/lum
|
|
|
8
8
|
import { m as slotChangeHasContent, s as slotChangeHasAssignedElement, e as getRootNode } from "../../chunks/dom.js";
|
|
9
9
|
import { c as createObserver } from "../../chunks/observers.js";
|
|
10
10
|
import { l as listItemSelector, i as isListItem, a as listSelector, u as updateListItemChildren, b as listItemGroupSelector, e as expandedAncestors } from "../../chunks/utils4.js";
|
|
11
|
-
import { S as SLOTS$1 } from "../../chunks/
|
|
11
|
+
import { S as SLOTS$1 } from "../../chunks/resources9.js";
|
|
12
12
|
import { n as numberStringFormatter } from "../../chunks/locale.js";
|
|
13
13
|
import { g as guid } from "../../chunks/guid.js";
|
|
14
14
|
import { u as useT9n } from "../../chunks/useT9n.js";
|
|
@@ -111,13 +111,13 @@ class List extends LitElement {
|
|
|
111
111
|
this.styles = styles;
|
|
112
112
|
}
|
|
113
113
|
get hasActiveFilter() {
|
|
114
|
-
return
|
|
114
|
+
return this.filterEnabled && this.filterText && this.filteredItems.length !== this.visibleItems.length;
|
|
115
115
|
}
|
|
116
116
|
get showEmptyContentContainer() {
|
|
117
117
|
return !this.hasContent && this.hasEmptyContent;
|
|
118
118
|
}
|
|
119
119
|
get showNoResultsContainer() {
|
|
120
|
-
return
|
|
120
|
+
return this.filterEnabled && this.filterText && this.hasFilterNoResults && this.visibleItems.length && !this.filteredItems.length;
|
|
121
121
|
}
|
|
122
122
|
get effectiveFilterProps() {
|
|
123
123
|
if (!this.filterProps) {
|
|
@@ -366,7 +366,7 @@ class List extends LitElement {
|
|
|
366
366
|
this.calciteListOrderChange.emit(detail);
|
|
367
367
|
}
|
|
368
368
|
setParentList() {
|
|
369
|
-
this.parentListEl = this.el.parentElement?.closest(listSelector)
|
|
369
|
+
this.parentListEl = this.el.parentElement?.closest(listSelector);
|
|
370
370
|
}
|
|
371
371
|
handleDefaultSlotChange(event) {
|
|
372
372
|
if (this.parentListEl) {
|
|
@@ -493,7 +493,8 @@ class List extends LitElement {
|
|
|
493
493
|
}));
|
|
494
494
|
}
|
|
495
495
|
getGroupHeading(item) {
|
|
496
|
-
|
|
496
|
+
const heading = this.listItemGroups.filter((group) => group.contains(item)).map((group) => group.heading);
|
|
497
|
+
return heading;
|
|
497
498
|
}
|
|
498
499
|
updateGroupItems() {
|
|
499
500
|
const { el, group, scale } = this;
|
|
@@ -35,7 +35,7 @@ export abstract class ListItem extends LitElement {
|
|
|
35
35
|
*/
|
|
36
36
|
accessor closed: boolean;
|
|
37
37
|
/** Specifies a description for the component. Displays below the `label`. */
|
|
38
|
-
accessor description: string
|
|
38
|
+
accessor description: string;
|
|
39
39
|
/**
|
|
40
40
|
* When `true`, interaction is prevented and the component is displayed with lower opacity.
|
|
41
41
|
*
|
|
@@ -55,13 +55,13 @@ export abstract class ListItem extends LitElement {
|
|
|
55
55
|
*/
|
|
56
56
|
accessor expanded: boolean;
|
|
57
57
|
/** Specifies an icon to display at the end of the component. */
|
|
58
|
-
accessor iconEnd: IconName
|
|
58
|
+
accessor iconEnd: IconName;
|
|
59
59
|
/** Displays the `iconStart` and/or `iconEnd` as flipped when the element direction is right-to-left (`"rtl"`). */
|
|
60
|
-
accessor iconFlipRtl: FlipContext
|
|
60
|
+
accessor iconFlipRtl: FlipContext;
|
|
61
61
|
/** Specifies an icon to display at the start of the component. */
|
|
62
|
-
accessor iconStart: IconName
|
|
62
|
+
accessor iconStart: IconName;
|
|
63
63
|
/** Specifies an accessible label for the component, displays above the `description`. */
|
|
64
|
-
accessor label: string
|
|
64
|
+
accessor label: string;
|
|
65
65
|
/** Overrides individual strings used by the component. */
|
|
66
66
|
accessor messageOverrides: {
|
|
67
67
|
close?: string;
|
|
@@ -69,7 +69,7 @@ export abstract class ListItem extends LitElement {
|
|
|
69
69
|
collapse?: string;
|
|
70
70
|
};
|
|
71
71
|
/** Provides additional metadata to the component. Primary use is for a filter on the parent `calcite-list`. */
|
|
72
|
-
accessor metadata: Record<string, unknown
|
|
72
|
+
accessor metadata: Record<string, unknown>;
|
|
73
73
|
/**
|
|
74
74
|
* When `true`, the item is open to show child components.
|
|
75
75
|
*
|