@esri/calcite-components 5.2.0-next.2 → 5.2.0-next.4
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/{QXVZRQDN.js → 24XW36XW.js} +1 -1
- package/dist/cdn/{GNF44UQG.js → 2BIW77FS.js} +1 -1
- package/dist/cdn/{IOBH7Q3C.js → 2CPNDRJN.js} +1 -1
- package/dist/cdn/{V3ADMKIU.js → 2GFEIPYA.js} +1 -1
- package/dist/cdn/{DJIJFKYH.js → 2GIYJ5S4.js} +1 -1
- package/dist/cdn/{ENNOBBY4.js → 2NVBHC4D.js} +1 -1
- package/dist/cdn/2OKTIK5P.js +2 -0
- package/dist/cdn/{YL4XYPPL.js → 2WTFQ6VU.js} +1 -1
- package/dist/cdn/{TD2P54UR.js → 3AZFSAZW.js} +1 -1
- package/dist/cdn/{SVEPQ765.js → 3GYZZNF6.js} +1 -1
- package/dist/cdn/{R2DOA2MN.js → 3VTWLNYM.js} +1 -1
- package/dist/cdn/{W7DJIM2F.js → 3W6YYTUS.js} +1 -1
- package/dist/cdn/{J32XKCXC.js → 44WTMUOU.js} +1 -1
- package/dist/cdn/{RC3UVUK3.js → 4ENZX7JD.js} +1 -1
- package/dist/cdn/{FPVMYG6A.js → 4XXCMSYK.js} +1 -1
- package/dist/cdn/{4PN5ZOFS.js → 5BRHCY56.js} +1 -1
- package/dist/cdn/{FEMVD7MC.js → 5F5N45N2.js} +1 -1
- package/dist/cdn/{JW2SKWED.js → 5HQW2B4L.js} +1 -1
- package/dist/cdn/{XR4GGZRV.js → 5J5YPAQF.js} +1 -1
- package/dist/cdn/{XNAMWMN5.js → 5MJOA2EC.js} +1 -1
- package/dist/cdn/{KZUHKTIQ.js → 5Z6Y27PN.js} +1 -1
- package/dist/cdn/{7JMYJBWS.js → 6M54QVXX.js} +1 -1
- package/dist/cdn/{6A4WSEWS.js → 7CTKDBNP.js} +1 -1
- package/dist/cdn/{WYJ5MJ5T.js → 7KZDKRE5.js} +1 -1
- package/dist/cdn/{CC6MIBOX.js → AC3VJGBR.js} +1 -1
- package/dist/cdn/{5EY2EEDX.js → AH2ILKOU.js} +1 -1
- package/dist/cdn/{T5VR3PV2.js → ARJXIE5E.js} +1 -1
- package/dist/cdn/{AV53YUYO.js → AV2KGCM3.js} +1 -1
- package/dist/cdn/{BDJAXYZ6.js → B255QVJJ.js} +1 -1
- package/dist/cdn/{BUNBY5RM.js → BC2RGQAT.js} +1 -1
- package/dist/cdn/{TWT5XRCW.js → BKETK56P.js} +1 -1
- package/dist/cdn/{RQVOT4ZO.js → BQXZQXDH.js} +1 -1
- package/dist/cdn/{GLH6ZAVP.js → BUA4VQLY.js} +1 -1
- package/dist/cdn/{N7DI6G6M.js → BXPPKXA4.js} +1 -1
- package/dist/cdn/C5UFPB7M.js +2 -0
- package/dist/cdn/{U5IWCBXE.js → C7G4TGZX.js} +1 -1
- package/dist/cdn/{KQN3IXDE.js → CARY3C4R.js} +1 -1
- package/dist/cdn/{B34QFBVX.js → CCXEESJV.js} +1 -1
- package/dist/cdn/{BETERP4W.js → CF6R3CEF.js} +1 -1
- package/dist/cdn/CHVPHDET.js +2 -0
- package/dist/cdn/{YEFCURY4.js → CKNWJGRW.js} +1 -1
- package/dist/cdn/CMY74TQR.js +2 -0
- package/dist/cdn/{EGQ75QVP.js → CORQ5EDZ.js} +1 -1
- package/dist/cdn/{RXXRSLAB.js → CP4Z56ZR.js} +1 -1
- package/dist/cdn/{MSB35HIA.js → CTLPGOB7.js} +1 -1
- package/dist/cdn/{A2QVKNTN.js → CYYQXD64.js} +1 -1
- package/dist/cdn/{3FH6QU7Y.js → D7PUB2VW.js} +1 -1
- package/dist/cdn/{JQVKQIWK.js → DFHWYAUO.js} +1 -1
- package/dist/cdn/{TE3IGQZH.js → DGXWUFHV.js} +1 -1
- package/dist/cdn/{4CHUXMKI.js → DM5PCYTC.js} +1 -1
- package/dist/cdn/{43MK3FDM.js → DYLGNP2R.js} +1 -1
- package/dist/cdn/{DJL42XA3.js → EPBMP22J.js} +1 -1
- package/dist/cdn/{QNSEEZF5.js → EW27G33J.js} +1 -1
- package/dist/cdn/{6WR7WF5X.js → EWIM5HH4.js} +1 -1
- package/dist/cdn/{LZDIBXYZ.js → F2DLFMMQ.js} +1 -1
- package/dist/cdn/{PKAYPMQL.js → FSYJWUBV.js} +1 -1
- package/dist/cdn/{ATPHVTBE.js → FWMASCBJ.js} +1 -1
- package/dist/cdn/{FVB2OZEH.js → G2WKLE63.js} +1 -1
- package/dist/cdn/{XZJNPGQT.js → GBYDFEYR.js} +1 -1
- package/dist/cdn/{W7BKEQCB.js → GCQOLCYX.js} +1 -1
- package/dist/cdn/{GUSPFAZS.js → GLB7VDX7.js} +1 -1
- package/dist/cdn/{KVWHPPP5.js → GWO7M4CB.js} +1 -1
- package/dist/cdn/{D6PPMEQM.js → HHOCH2WQ.js} +1 -1
- package/dist/cdn/{GGCO6DJE.js → HPI37X3H.js} +1 -1
- package/dist/cdn/HUHXPX4S.js +2 -0
- package/dist/cdn/{UOQXEKIF.js → I2YZCTNB.js} +1 -1
- package/dist/cdn/I62TONNU.js +2 -0
- package/dist/cdn/{HBRGGPQS.js → IC76575N.js} +1 -1
- package/dist/cdn/{SU44IFYE.js → IKJKNZRO.js} +1 -1
- package/dist/cdn/{QLMCMCFN.js → IOQX4VTU.js} +1 -1
- package/dist/cdn/{QIW2VXWS.js → IWFPWFJR.js} +1 -1
- package/dist/cdn/{QXIJOBKX.js → JACGCENG.js} +1 -1
- package/dist/cdn/{F25HCCSH.js → JJRBBNII.js} +1 -1
- package/dist/cdn/{UMHABPZB.js → JL6EDIGB.js} +1 -1
- package/dist/cdn/{CYCLHZ3A.js → JMOU4F7W.js} +1 -1
- package/dist/cdn/{7Q57OJ6S.js → JNWSTJU6.js} +1 -1
- package/dist/cdn/{IJZH5BV3.js → JOSZJ4U5.js} +1 -1
- package/dist/cdn/JXHQEAMO.js +2 -0
- package/dist/cdn/{2RCOMSJ4.js → KAINKHTB.js} +1 -1
- package/dist/cdn/{GBNEJ7ZF.js → L4565LYV.js} +1 -1
- package/dist/cdn/{SVIANZ3V.js → L7ZU6UHP.js} +1 -1
- package/dist/cdn/{YAQRXHHQ.js → LQPCOJZC.js} +1 -1
- package/dist/cdn/{G4ZSDWUZ.js → MFPSZIXT.js} +1 -1
- package/dist/cdn/{AA7ZRB5K.js → MHDQTRTS.js} +1 -1
- package/dist/cdn/{2AZU4JLL.js → MU324X7S.js} +1 -1
- package/dist/cdn/{B5M44JJO.js → N5DDKO3N.js} +1 -1
- package/dist/cdn/{MIE7SGGW.js → NKZDXCA3.js} +1 -1
- package/dist/cdn/{GBGFI7SS.js → NNVS72ZQ.js} +1 -1
- package/dist/cdn/{KPR7F2IQ.js → NO2IBH5N.js} +1 -1
- package/dist/cdn/{2U7LTQ5E.js → NTTXPITY.js} +1 -1
- package/dist/cdn/NUPS67PK.js +2 -0
- package/dist/cdn/{AOWO3CEE.js → NY4L6FEN.js} +1 -1
- package/dist/cdn/{JL5V6LHI.js → O7X3EP3R.js} +1 -1
- package/dist/cdn/{KQ322MPA.js → OGL4GEZF.js} +1 -1
- package/dist/cdn/{GOBJFJO6.js → OH6YFLLX.js} +1 -1
- package/dist/cdn/{MNBJJORH.js → P6AYQBI6.js} +1 -1
- package/dist/cdn/{RE4YAX46.js → PFQXFR3J.js} +1 -1
- package/dist/cdn/{45HPDOT4.js → PQIVVLWM.js} +1 -1
- package/dist/cdn/{FFUBSUZQ.js → PT3URJPT.js} +1 -1
- package/dist/cdn/{C7C55I5S.js → Q6D2HYAM.js} +1 -1
- package/dist/cdn/{AFNW6NWU.js → Q74VIYYT.js} +1 -1
- package/dist/cdn/{JZCXLE2H.js → QNANJC5N.js} +1 -1
- package/dist/cdn/{DI3IXSN2.js → QURCJOLS.js} +1 -1
- package/dist/cdn/{ZLOMPF4H.js → QZXRRHZI.js} +1 -1
- package/dist/cdn/{C4VPLSW7.js → R2HCYTV3.js} +1 -1
- package/dist/cdn/{NF3TF2WJ.js → R4LR6JBT.js} +1 -1
- package/dist/cdn/{OLCC5YK5.js → RLQPAL3G.js} +1 -1
- package/dist/cdn/{EL7GGALP.js → S6A7QIY2.js} +1 -1
- package/dist/cdn/{4AM5CFW2.js → S6CBIU4I.js} +1 -1
- package/dist/cdn/{TJC3KPVJ.js → S7RFXIID.js} +1 -1
- package/dist/cdn/T2LA26T7.js +2 -0
- package/dist/cdn/{5GA4KYR2.js → TFI32YIW.js} +1 -1
- package/dist/cdn/{AO3S4HXU.js → TJKKXO65.js} +1 -1
- package/dist/cdn/{CQ6NGNY6.js → TTBDTS7V.js} +1 -1
- package/dist/cdn/{NFPHYIMY.js → TWVG44TI.js} +1 -1
- package/dist/cdn/{X33GQ3A3.js → TZEYHRND.js} +1 -1
- package/dist/cdn/{W6UFYWVG.js → U6OTDRDG.js} +1 -1
- package/dist/cdn/{CFFCEFZK.js → U7OV6L43.js} +1 -1
- package/dist/cdn/{LVF7G7IY.js → UF2N6ABQ.js} +1 -1
- package/dist/cdn/{EXXGZUR3.js → UFPS5THO.js} +1 -1
- package/dist/cdn/{57I2TDEP.js → UJQUDROZ.js} +1 -1
- package/dist/cdn/{LRPJV2DQ.js → UJRHNVSJ.js} +1 -1
- package/dist/cdn/{3GSXR65T.js → UMVL2A7E.js} +1 -1
- package/dist/cdn/{LJJZC4QK.js → USMDWOOR.js} +1 -1
- package/dist/cdn/{OTKKHBLB.js → UZLV6ZKB.js} +1 -1
- package/dist/cdn/{S5JJMYDX.js → VFE65IIH.js} +1 -1
- package/dist/cdn/{BBQFFEZH.js → VIAY4ZRC.js} +1 -1
- package/dist/cdn/{TEGKHQ5W.js → VMUOIKWP.js} +1 -1
- package/dist/cdn/{5ISZFTOQ.js → VXQU67VG.js} +1 -1
- package/dist/cdn/{PO4GQAOO.js → WV7Y7ZAG.js} +1 -1
- package/dist/cdn/{FLX6RAXY.js → X4J4PEMW.js} +1 -1
- package/dist/cdn/{OGWGMCYY.js → XCKTCFWS.js} +1 -1
- package/dist/cdn/{HIXRGJPQ.js → XFLOOJCN.js} +1 -1
- package/dist/cdn/{7IOEAAJN.js → XI3FBKU5.js} +1 -1
- package/dist/cdn/{I2ZCMXRB.js → XJQE4TBM.js} +1 -1
- package/dist/cdn/{IVJANKWM.js → XL7EXU56.js} +1 -1
- package/dist/cdn/XSDBVOII.js +2 -0
- package/dist/cdn/{E3RE3E2N.js → XUGBNEVM.js} +1 -1
- package/dist/cdn/{XD2JOD4K.js → XZ3BWCEM.js} +1 -1
- package/dist/cdn/Y6TCI7PY.js +2 -0
- package/dist/cdn/{4XBIPWD2.js → YM3XWOJY.js} +1 -1
- package/dist/cdn/{F7AKW6A4.js → YZTUQM6P.js} +1 -1
- package/dist/cdn/{CAWTUKNX.js → Z32RDX4L.js} +1 -1
- package/dist/cdn/Z3TMJ6KM.js +2 -0
- package/dist/cdn/{OQY72DXY.js → ZN2URSJV.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/returnToDefault16.json +1 -1
- package/dist/cdn/assets/icon/returnToDefault32.json +1 -1
- package/dist/cdn/assets/icon/smartSearch16.json +1 -0
- package/dist/cdn/assets/icon/smartSearch24.json +1 -0
- package/dist/cdn/assets/icon/smartSearch32.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/assets/input/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-number/t9n/messages.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/input-text/t9n/messages.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/chunks/ClearButton.js +1 -1
- package/dist/chunks/resources12.js +27 -0
- package/dist/chunks/runtime.js +4 -4
- package/dist/chunks/useSizeOverride.js +1 -1
- package/dist/chunks/useTime.js +3 -0
- package/dist/chunks/utils2.js +58 -5
- package/dist/components/calcite-action/customElement.d.ts +1 -5
- package/dist/components/calcite-action-group/customElement.d.ts +2 -4
- package/dist/components/calcite-action-menu/customElement.d.ts +2 -4
- package/dist/components/calcite-alert/customElement.d.ts +1 -3
- package/dist/components/calcite-autocomplete/customElement.d.ts +3 -9
- package/dist/components/calcite-autocomplete-item/customElement.d.ts +1 -1
- package/dist/components/calcite-block/customElement.d.ts +3 -5
- package/dist/components/calcite-button/customElement.d.ts +1 -5
- package/dist/components/calcite-checkbox/customElement.d.ts +1 -5
- package/dist/components/calcite-combobox/customElement.d.ts +3 -9
- package/dist/components/calcite-combobox/customElement.js +44 -42
- package/dist/components/calcite-combobox-item/customElement.d.ts +1 -1
- package/dist/components/calcite-combobox-item/customElement.js +1 -1
- package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
- package/dist/components/calcite-dialog/customElement.d.ts +1 -3
- package/dist/components/calcite-dropdown/customElement.d.ts +2 -4
- package/dist/components/calcite-filter/customElement.js +1 -1
- package/dist/components/calcite-flow-item/customElement.d.ts +2 -4
- package/dist/components/calcite-icon/customElement.d.ts +2 -2
- package/dist/components/calcite-icon/customElement.js +4 -4
- package/dist/components/calcite-inline-editable/customElement.d.ts +1 -1
- package/dist/components/calcite-inline-editable/customElement.js +4 -2
- package/dist/components/calcite-input/customElement.d.ts +23 -24
- package/dist/components/calcite-input/customElement.js +14 -12
- package/dist/components/calcite-input-date-picker/customElement.d.ts +17 -23
- package/dist/components/calcite-input-date-picker/customElement.js +23 -23
- package/dist/components/calcite-input-message/customElement.d.ts +1 -1
- package/dist/components/calcite-input-number/customElement.d.ts +22 -25
- package/dist/components/calcite-input-number/customElement.js +14 -12
- package/dist/components/calcite-input-text/customElement.d.ts +18 -19
- package/dist/components/calcite-input-text/customElement.js +3 -3
- package/dist/components/calcite-input-time-picker/customElement.d.ts +11 -13
- package/dist/components/calcite-input-time-picker/customElement.js +34 -10
- package/dist/components/calcite-input-time-zone/customElement.d.ts +9 -15
- package/dist/components/calcite-input-time-zone/customElement.js +11 -9
- package/dist/components/calcite-list-item/customElement.d.ts +1 -3
- package/dist/components/calcite-meter/customElement.d.ts +1 -3
- package/dist/components/calcite-panel/customElement.d.ts +4 -6
- package/dist/components/calcite-popover/customElement.d.ts +2 -4
- package/dist/components/calcite-radio-button/customElement.d.ts +1 -5
- package/dist/components/calcite-rating/customElement.d.ts +1 -5
- package/dist/components/calcite-segmented-control/customElement.d.ts +1 -5
- package/dist/components/calcite-select/customElement.d.ts +1 -5
- package/dist/components/calcite-sheet/customElement.d.ts +1 -3
- package/dist/components/calcite-slider/customElement.d.ts +13 -17
- package/dist/components/calcite-slider/customElement.js +19 -20
- package/dist/components/calcite-sort-handle/customElement.d.ts +2 -4
- package/dist/components/calcite-split-button/customElement.d.ts +12 -14
- package/dist/components/calcite-split-button/customElement.js +1 -1
- package/dist/components/calcite-stepper/customElement.d.ts +1 -1
- package/dist/components/calcite-stepper/customElement.js +10 -10
- package/dist/components/calcite-stepper-item/customElement.d.ts +3 -3
- package/dist/components/calcite-stepper-item/customElement.js +8 -24
- package/dist/components/calcite-swatch/customElement.d.ts +1 -1
- package/dist/components/calcite-swatch/customElement.js +2 -2
- package/dist/components/calcite-swatch-group/customElement.js +8 -6
- package/dist/components/calcite-switch/customElement.d.ts +6 -10
- package/dist/components/calcite-table-header/customElement.d.ts +1 -1
- package/dist/components/calcite-text-area/customElement.d.ts +1 -5
- package/dist/components/calcite-tile/customElement.d.ts +1 -1
- package/dist/components/calcite-tooltip/customElement.d.ts +1 -3
- package/dist/controllers/useTime.d.ts +3 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/translations.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 +1 -1
- 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/package.json +4 -3
- package/dist/cdn/2C57GVL7.js +0 -2
- package/dist/cdn/4C4FXK46.js +0 -2
- package/dist/cdn/6ZDUL7DM.js +0 -2
- package/dist/cdn/AI4EP5I7.js +0 -2
- package/dist/cdn/GMY4OPXB.js +0 -2
- package/dist/cdn/H2JTOLL2.js +0 -2
- package/dist/cdn/PYEU7ILW.js +0 -2
- package/dist/cdn/TDOPUO3L.js +0 -2
- package/dist/cdn/W5TTJ4T3.js +0 -2
- package/dist/cdn/Y3U2N2BQ.js +0 -2
- package/dist/cdn/YYGQFOZ7.js +0 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as I,b as P}from"./MIE7SGGW.js";import{a as B}from"./735UOYTJ.js";import{a as f}from"./57I2TDEP.js";import{a as y}from"./GZZYSINJ.js";import{a as L}from"./GBNEJ7ZF.js";import{e as U}from"./4PN5ZOFS.js";import"./G4ZSDWUZ.js";import{D as m,t as E,u as O}from"./5EY2EEDX.js";import"./T6CCMW7H.js";import{E as k,F as S,G as V,H as s,M as p,O as A,P as D,S as _,g,h as d,p as b}from"./ATPHVTBE.js";var K=g`.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@keyframes in{0%{opacity:0}to{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0,-5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(.95,.95,1)}to{opacity:1;transform:scaleZ(1)}}`,o={container:"container",actionBarContainer:"action-bar-container",contentContainer:"content-container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentOverlay:"content--overlay",floatAll:"float-all",floatContent:"float--content",resizeHandle:"resize-handle",resizeHandleBar:"resize-handle-bar"},M={actionBar:"action-bar",header:"header"},N={dragVertical:"drag-resize-vertical",dragHorizontal:"drag-resize-horizontal"},T=g`:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 20vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 40vh)}:host([display-mode=float-all][height=s]),:host([display-mode=float-all][height-scale=s]) .content{min-block-size:var(--calcite-shell-panel-height, 20vh)}:host([display-mode=float-all][height=m]),:host([display-mode=float-all][height-scale=m]) .content{min-block-size:var(--calcite-shell-panel-height, 30vh)}:host([display-mode=float-all][height=l]),:host([display-mode=float-all][height-scale=l]) .content{min-block-size:var(--calcite-shell-panel-height, 40vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm))}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([display-mode=dock]) .resize-handle-bar,:host([display-mode=float-all]) .resize-handle-bar,:host([display-mode=overlay]) .resize-handle-bar{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`,R=class extends V{constructor(){super(...arguments),this.direction=U(),this.resizeHandleRef=k(),this.actionBars=[],this.contentRef=k(),this.messages=L(),this.sizeOverride=P({targetElement:this.contentRef,getBounds:()=>({inline:{min:this.resizeValues.minInlineSize,max:this.resizeValues.maxInlineSize},block:{min:this.resizeValues.minBlockSize,max:this.resizeValues.maxBlockSize}}),onResize:e=>{this.resizeValues=e}}),this.resizeValues={inlineSize:null,blockSize:null,minInlineSize:null,minBlockSize:null,maxInlineSize:null,maxBlockSize:null},this.hasHeader=!1,this.collapsed=!1,this.displayMode="dock",this.layout="vertical",this.position="start",this.resizable=!1,this.widthScale="m",this.calciteInternalShellPanelResizeEnd=b({cancelable:!1}),this.calciteInternalShellPanelResizeStart=b({cancelable:!1}),this.calciteShellPanelCollapse=b({cancelable:!1}),this.calciteShellPanelExpand=b({cancelable:!1})}static{this.properties={resizeValues:[16,{},{state:!0}],hasHeader:[16,{},{state:!0}],collapsed:[7,{},{reflect:!0,type:Boolean}],displayMode:[3,{},{reflect:!0}],heightScale:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],position:[3,{},{reflect:!0}],resizable:[7,{},{reflect:!0,type:Boolean}],height:[3,{},{reflect:!0}],widthScale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=[T,K]}async updateSize(e){this.updateSizeInternal(e)}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.refreshResize()}willUpdate(e){let t=!1;e.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&(this.setActionBarsLayout(this.actionBars),this.updateSizeInternal({inline:null,block:null}),t=!0),(e.has("direction")&&this.hasUpdated||e.has("position")&&(this.hasUpdated||this.position!=="start"))&&(t=!0),(e.has("collapsed")&&(this.hasUpdated||this.collapsed!==!1)||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&(t=this.resizable&&!this.collapsed,t||this.cleanUpInteractions()),t&&this.refreshResize(),e.has("collapsed")&&this.hasUpdated&&(this.collapsed?this.calciteShellPanelCollapse.emit():this.calciteShellPanelExpand.emit())}disconnectedCallback(){super.disconnectedCallback(),this.cleanUpInteractions()}getContentElDOMRect(){return this.contentRef.value.getBoundingClientRect()}updateSizeInternal(e){this.contentRef.value&&this.sizeOverride.resize(e)}handleKeyDown(e){let{key:t,defaultPrevented:h,shiftKey:r}=e,{position:l,layout:a,resizable:n,contentRef:i,resizeValues:{maxBlockSize:u,maxInlineSize:z,minBlockSize:v,minInlineSize:C}}=this,$=[...a==="horizontal"?["ArrowUp","ArrowDown"]:["ArrowLeft","ArrowRight"],"Home","End"];if(!n||!i.value||h||!$.includes(t))return;let x=this.getContentElDOMRect(),H=this.direction==="rtl"?-1:1,c=r?D:A;switch(t){case"ArrowUp":this.updateSizeInternal({block:x.height+(a==="horizontal"&&l==="end"?c:-c)}),e.preventDefault();break;case"ArrowDown":this.updateSizeInternal({block:x.height+(a==="horizontal"&&l==="end"?-c:c)}),e.preventDefault();break;case"ArrowLeft":this.updateSizeInternal({inline:x.width+(a==="vertical"&&l==="end"?c:-c)*H}),e.preventDefault();break;case"ArrowRight":this.updateSizeInternal({inline:x.width+(a==="vertical"&&l==="end"?-c:c)*H}),e.preventDefault();break;case"Home":this.updateSizeInternal(a==="horizontal"?{block:v}:{inline:C}),e.preventDefault();break;case"End":this.updateSizeInternal(a==="horizontal"?{block:u}:{inline:z}),e.preventDefault();break}}cleanUpInteractions(){this.interaction?.unset()}updateResizeValues(){let{contentRef:e}=this;if(!e.value)return;let t=window.getComputedStyle(e.value);this.resizeValues={inlineSize:m(t.inlineSize),blockSize:m(t.blockSize),minInlineSize:m(t.minInlineSize),minBlockSize:m(t.minBlockSize),maxInlineSize:m(t.maxInlineSize)||window.innerWidth,maxBlockSize:m(t.maxBlockSize)||window.innerHeight}}async refreshResize(){await this.componentOnReady(),await this.updateComplete,this.updateResizeValues(),this.setUpResizeInteractions()}setUpResizeInteractions(){this.cleanUpInteractions();let{el:e,contentRef:t,resizable:h,position:r,collapsed:l,resizeHandleRef:a,layout:n}=this,i=a.value;if(!t.value||l||!h||!i)return;let u=this.direction==="rtl";this.interaction=I(t.value,{context:e.ownerDocument}).resizable({edges:{top:r==="end"&&n==="horizontal"?i:!1,right:r===(u?"end":"start")&&n==="vertical"?i:!1,bottom:r==="start"&&n==="horizontal"?i:!1,left:r===(u?"start":"end")&&n==="vertical"?i:!1},modifiers:[I.modifiers.restrictSize({min:{width:this.resizeValues.minInlineSize,height:this.resizeValues.minBlockSize},max:{width:this.resizeValues.maxInlineSize,height:this.resizeValues.maxBlockSize}})],listeners:{resizestart:()=>{this.calciteInternalShellPanelResizeStart.emit()},resizeend:()=>{this.calciteInternalShellPanelResizeEnd.emit()},move:({rect:z})=>{let v=n==="horizontal";this.updateSize(v?{block:z.height}:{inline:z.width})}}})}setActionBarsLayout(e){e.forEach(t=>t.layout=this.layout)}handleActionBarSlotChange(e){let t=O(e).filter(h=>h?.matches("calcite-action-bar"));this.actionBars=t,this.setActionBarsLayout(t)}handleHeaderSlotChange(e){this.hasHeader=E(e)}getResizeIcon(){let{layout:e}=this;return e==="horizontal"?N.dragVertical:N.dragHorizontal}renderHeader(){return f("header",d`<div class=${s(o.contentHeader)} .hidden=${!this.hasHeader}><slot name=${M.header} @slotchange=${this.handleHeaderSlotChange}></slot></div>`)}render(){let{collapsed:e,position:t,resizable:h,layout:r,displayMode:l,resizeValues:a}=this,n=this.direction,i=r==="horizontal",u=!e&&h?f("resize-handle",d`<div .ariaLabel=${this.messages.resize} .ariaOrientation=${i?"vertical":"horizontal"} .ariaValueMax=${y(i?"block":"inline",a.maxBlockSize,a.maxInlineSize)} .ariaValueMin=${y(i?"block":"inline",a.minBlockSize,a.minInlineSize)} .ariaValueNow=${y(i?"block":"inline",a.blockSize,a.inlineSize)} class=${s(o.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${S(this.resizeHandleRef)}><div class=${s(o.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`):null,z=()=>r==="horizontal"?t==="start"?p.calciteAnimateInDown:p.calciteAnimateInUp:n==="ltr"&&t==="end"||n==="rtl"&&t==="start"?p.calciteAnimateInLeft:p.calciteAnimateInRight,v=d`<div class=${s(o.contentContainer)}>${f("content",d`<div class=${s({[p.rtl]:n==="rtl",[o.content]:!0,[o.contentOverlay]:l==="overlay",[o.floatContent]:l==="float-content"||l==="float",[p.calciteAnimate]:l==="overlay",[z()]:l==="overlay",[B("width",this.width,this.widthScale)]:!!(this.width||this.widthScale),[B("height",this.height,this.heightScale)]:!!(this.height||this.heightScale)})} .hidden=${e} ${S(this.contentRef)}>${this.renderHeader()}<div class=${s(o.contentBody)}><slot></slot></div>${u}</div>`)}</div>`,w=[f("action-bar-container",d`<div class=${s(o.actionBarContainer)}><slot name=${M.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`),v];return t==="end"&&w.reverse(),d`<div class=${s({[o.container]:!0,[o.floatAll]:l==="float-all"})}>${w}</div>`}};_("calcite-shell-panel",R);export{R as ShellPanel};
|
|
2
|
+
import{a as I,b as P}from"./NKZDXCA3.js";import{a as B}from"./735UOYTJ.js";import{a as f}from"./UJQUDROZ.js";import{a as y}from"./GZZYSINJ.js";import{a as L}from"./L4565LYV.js";import{e as U}from"./5BRHCY56.js";import"./MFPSZIXT.js";import{D as m,t as E,u as O}from"./AH2ILKOU.js";import"./T6CCMW7H.js";import{E as k,F as S,G as V,H as s,M as p,O as A,P as D,S as _,g,h as d,p as b}from"./FWMASCBJ.js";var K=g`.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-right{animation-name:in-right}.calcite-animate__in-left{animation-name:in-left}.calcite-animate__in-scale{animation-name:in-scale}@keyframes in{0%{opacity:0}to{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0,-5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0,5px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-right{0%{opacity:0;transform:translate3D(-5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-left{0%{opacity:0;transform:translate3D(5px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(.95,.95,1)}to{opacity:1;transform:scaleZ(1)}}`,o={container:"container",actionBarContainer:"action-bar-container",contentContainer:"content-container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentOverlay:"content--overlay",floatAll:"float-all",floatContent:"float--content",resizeHandle:"resize-handle",resizeHandleBar:"resize-handle-bar"},M={actionBar:"action-bar",header:"header"},N={dragVertical:"drag-resize-vertical",dragHorizontal:"drag-resize-horizontal"},T=g`:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 20vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-height: var(--calcite-shell-panel-height);--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 40vh)}:host([display-mode=float-all][height=s]),:host([display-mode=float-all][height-scale=s]) .content{min-block-size:var(--calcite-shell-panel-height, 20vh)}:host([display-mode=float-all][height=m]),:host([display-mode=float-all][height-scale=m]) .content{min-block-size:var(--calcite-shell-panel-height, 30vh)}:host([display-mode=float-all][height=l]),:host([display-mode=float-all][height-scale=l]) .content{min-block-size:var(--calcite-shell-panel-height, 40vh)}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size-relative-base);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex:1 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm))}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([display-mode=dock]) .resize-handle-bar,:host([display-mode=float-all]) .resize-handle-bar,:host([display-mode=overlay]) .resize-handle-bar{border-block-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}:host([hidden]){display:none}[hidden]{display:none}`,R=class extends V{constructor(){super(...arguments),this.direction=U(),this.resizeHandleRef=k(),this.actionBars=[],this.contentRef=k(),this.messages=L(),this.sizeOverride=P({targetElement:this.contentRef,getBounds:()=>({inline:{min:this.resizeValues.minInlineSize,max:this.resizeValues.maxInlineSize},block:{min:this.resizeValues.minBlockSize,max:this.resizeValues.maxBlockSize}}),onResize:e=>{this.resizeValues=e}}),this.resizeValues={inlineSize:null,blockSize:null,minInlineSize:null,minBlockSize:null,maxInlineSize:null,maxBlockSize:null},this.hasHeader=!1,this.collapsed=!1,this.displayMode="dock",this.layout="vertical",this.position="start",this.resizable=!1,this.widthScale="m",this.calciteInternalShellPanelResizeEnd=b({cancelable:!1}),this.calciteInternalShellPanelResizeStart=b({cancelable:!1}),this.calciteShellPanelCollapse=b({cancelable:!1}),this.calciteShellPanelExpand=b({cancelable:!1})}static{this.properties={resizeValues:[16,{},{state:!0}],hasHeader:[16,{},{state:!0}],collapsed:[7,{},{reflect:!0,type:Boolean}],displayMode:[3,{},{reflect:!0}],heightScale:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],position:[3,{},{reflect:!0}],resizable:[7,{},{reflect:!0,type:Boolean}],height:[3,{},{reflect:!0}],widthScale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=[T,K]}async updateSize(e){this.updateSizeInternal(e)}connectedCallback(){super.connectedCallback(),this.hasUpdated&&this.refreshResize()}willUpdate(e){let t=!1;e.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&(this.setActionBarsLayout(this.actionBars),this.updateSizeInternal({inline:null,block:null}),t=!0),(e.has("direction")&&this.hasUpdated||e.has("position")&&(this.hasUpdated||this.position!=="start"))&&(t=!0),(e.has("collapsed")&&(this.hasUpdated||this.collapsed!==!1)||e.has("resizable")&&(this.hasUpdated||this.resizable!==!1))&&(t=this.resizable&&!this.collapsed,t||this.cleanUpInteractions()),t&&this.refreshResize(),e.has("collapsed")&&this.hasUpdated&&(this.collapsed?this.calciteShellPanelCollapse.emit():this.calciteShellPanelExpand.emit())}disconnectedCallback(){super.disconnectedCallback(),this.cleanUpInteractions()}getContentElDOMRect(){return this.contentRef.value.getBoundingClientRect()}updateSizeInternal(e){this.contentRef.value&&this.sizeOverride.resize(e)}handleKeyDown(e){let{key:t,defaultPrevented:h,shiftKey:r}=e,{position:l,layout:a,resizable:n,contentRef:i,resizeValues:{maxBlockSize:u,maxInlineSize:z,minBlockSize:v,minInlineSize:C}}=this,$=[...a==="horizontal"?["ArrowUp","ArrowDown"]:["ArrowLeft","ArrowRight"],"Home","End"];if(!n||!i.value||h||!$.includes(t))return;let x=this.getContentElDOMRect(),H=this.direction==="rtl"?-1:1,c=r?D:A;switch(t){case"ArrowUp":this.updateSizeInternal({block:x.height+(a==="horizontal"&&l==="end"?c:-c)}),e.preventDefault();break;case"ArrowDown":this.updateSizeInternal({block:x.height+(a==="horizontal"&&l==="end"?-c:c)}),e.preventDefault();break;case"ArrowLeft":this.updateSizeInternal({inline:x.width+(a==="vertical"&&l==="end"?c:-c)*H}),e.preventDefault();break;case"ArrowRight":this.updateSizeInternal({inline:x.width+(a==="vertical"&&l==="end"?-c:c)*H}),e.preventDefault();break;case"Home":this.updateSizeInternal(a==="horizontal"?{block:v}:{inline:C}),e.preventDefault();break;case"End":this.updateSizeInternal(a==="horizontal"?{block:u}:{inline:z}),e.preventDefault();break}}cleanUpInteractions(){this.interaction?.unset()}updateResizeValues(){let{contentRef:e}=this;if(!e.value)return;let t=window.getComputedStyle(e.value);this.resizeValues={inlineSize:m(t.inlineSize),blockSize:m(t.blockSize),minInlineSize:m(t.minInlineSize),minBlockSize:m(t.minBlockSize),maxInlineSize:m(t.maxInlineSize)||window.innerWidth,maxBlockSize:m(t.maxBlockSize)||window.innerHeight}}async refreshResize(){await this.componentOnReady(),await this.updateComplete,this.updateResizeValues(),this.setUpResizeInteractions()}setUpResizeInteractions(){this.cleanUpInteractions();let{el:e,contentRef:t,resizable:h,position:r,collapsed:l,resizeHandleRef:a,layout:n}=this,i=a.value;if(!t.value||l||!h||!i)return;let u=this.direction==="rtl";this.interaction=I(t.value,{context:e.ownerDocument}).resizable({edges:{top:r==="end"&&n==="horizontal"?i:!1,right:r===(u?"end":"start")&&n==="vertical"?i:!1,bottom:r==="start"&&n==="horizontal"?i:!1,left:r===(u?"start":"end")&&n==="vertical"?i:!1},modifiers:[I.modifiers.restrictSize({min:{width:this.resizeValues.minInlineSize,height:this.resizeValues.minBlockSize},max:{width:this.resizeValues.maxInlineSize,height:this.resizeValues.maxBlockSize}})],listeners:{resizestart:()=>{this.calciteInternalShellPanelResizeStart.emit()},resizeend:()=>{this.calciteInternalShellPanelResizeEnd.emit()},move:({rect:z})=>{let v=n==="horizontal";this.updateSize(v?{block:z.height}:{inline:z.width})}}})}setActionBarsLayout(e){e.forEach(t=>t.layout=this.layout)}handleActionBarSlotChange(e){let t=O(e).filter(h=>h?.matches("calcite-action-bar"));this.actionBars=t,this.setActionBarsLayout(t)}handleHeaderSlotChange(e){this.hasHeader=E(e)}getResizeIcon(){let{layout:e}=this;return e==="horizontal"?N.dragVertical:N.dragHorizontal}renderHeader(){return f("header",d`<div class=${s(o.contentHeader)} .hidden=${!this.hasHeader}><slot name=${M.header} @slotchange=${this.handleHeaderSlotChange}></slot></div>`)}render(){let{collapsed:e,position:t,resizable:h,layout:r,displayMode:l,resizeValues:a}=this,n=this.direction,i=r==="horizontal",u=!e&&h?f("resize-handle",d`<div .ariaLabel=${this.messages.resize} .ariaOrientation=${i?"vertical":"horizontal"} .ariaValueMax=${y(i?"block":"inline",a.maxBlockSize,a.maxInlineSize)} .ariaValueMin=${y(i?"block":"inline",a.minBlockSize,a.minInlineSize)} .ariaValueNow=${y(i?"block":"inline",a.blockSize,a.inlineSize)} class=${s(o.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${S(this.resizeHandleRef)}><div class=${s(o.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`):null,z=()=>r==="horizontal"?t==="start"?p.calciteAnimateInDown:p.calciteAnimateInUp:n==="ltr"&&t==="end"||n==="rtl"&&t==="start"?p.calciteAnimateInLeft:p.calciteAnimateInRight,v=d`<div class=${s(o.contentContainer)}>${f("content",d`<div class=${s({[p.rtl]:n==="rtl",[o.content]:!0,[o.contentOverlay]:l==="overlay",[o.floatContent]:l==="float-content"||l==="float",[p.calciteAnimate]:l==="overlay",[z()]:l==="overlay",[B("width",this.width,this.widthScale)]:!!(this.width||this.widthScale),[B("height",this.height,this.heightScale)]:!!(this.height||this.heightScale)})} .hidden=${e} ${S(this.contentRef)}>${this.renderHeader()}<div class=${s(o.contentBody)}><slot></slot></div>${u}</div>`)}</div>`,w=[f("action-bar-container",d`<div class=${s(o.actionBarContainer)}><slot name=${M.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`),v];return t==="end"&&w.reverse(),d`<div class=${s({[o.container]:!0,[o.floatAll]:l==="float-all"})}>${w}</div>`}};_("calcite-shell-panel",R);export{R as ShellPanel};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{H as e,h as t,l as i}from"./
|
|
2
|
+
import{H as e,h as t,l as i}from"./FWMASCBJ.js";var n={alignmentCenter:"internal-label-alignment--center",alignmentEnd:"internal-label-alignment--end",container:"internal-label--container",requiredIndicator:"internal-label-required--indicator",spacingBottom:"internal-label-spacing--bottom",spacingInlineEnd:"internal-label-spacing-inline--end",spacingInlineStart:"internal-label-spacing-inline--start",text:"internal-label--text"},b=({alignmentCenter:a,bottomSpacingDisabled:l,labelText:r,onClick:s,required:c,spacingInlineEnd:o,spacingInlineStart:d,tooltipText:g})=>t`<div class=${e({[n.alignmentCenter]:a,[n.alignmentEnd]:!a,[n.container]:!0,[n.spacingBottom]:!l,[n.spacingInlineEnd]:o,[n.spacingInlineStart]:d})} @click=${s}><div class=${e(n.text)}>${r}${c&&t`<span aria-hidden=true class=${e(n.requiredIndicator)} title=${g??i}>*</span>`||""}</div><slot name=label-content></slot></div>`;export{b as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{a as G}from"./CTLPGOB7.js";import{b as h}from"./LKEGNPWV.js";import{b as p}from"./4XXCMSYK.js";import{a as j}from"./R4LR6JBT.js";import{a as K}from"./XZ3BWCEM.js";import{c as _}from"./UMVL2A7E.js";import{c as A,d as U,e as N}from"./NO2IBH5N.js";import"./7CTKDBNP.js";import{a as L}from"./NTTXPITY.js";import"./YP3AYJH3.js";import{a as V}from"./L4565LYV.js";import{a as q}from"./YM3XWOJY.js";import{a as B}from"./ZWPNZ5XW.js";import{e as M}from"./5BRHCY56.js";import"./MFPSZIXT.js";import"./AH2ILKOU.js";import"./T6CCMW7H.js";import{E as l,F as c,G as z,H as a,L as E,S as D,g as T,h as n,l as t,p as u}from"./FWMASCBJ.js";var se=T`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}calcite-time-picker{--calcite-time-picker-color: var(--calcite-input-time-picker-digit-text-color);--calcite-time-picker-icon-color: var(--calcite-input-time-picker-digit-icon-color);--calcite-time-picker-border-color: var(--calcite-input-time-picker-border-color);--calcite-time-picker-button-background-color-hover: var(--calcite-input-time-picker-action-background-color-hover);--calcite-time-picker-button-background-color-press: var(--calcite-input-time-picker-action-background-color-press);--calcite-time-picker-input-border-color-hover: var(--calcite-input-time-picker-digit-border-color-hover);--calcite-time-picker-input-border-color-press: var(--calcite-input-time-picker-digit-border-color-press)}.container{--calcite-icon-color: var( --calcite-input-time-picker-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-3)) );align-items:center;background-color:var(--calcite-input-time-picker-input-background-color, var(--calcite-color-foreground-1));border:1px solid var(--calcite-input-time-picker-input-border-color, var(--calcite-color-border-input));border-radius:var(--calcite-input-time-picker-input-corner-radius, var(--calcite-corner-radius-none));box-shadow:var(--calcite-input-time-picker-input-shadow, var(--calcite-shadow-none));box-sizing:border-box;display:flex;color:var(--calcite-input-time-picker-input-text-color, var(--calcite-color-text-1));flex-wrap:nowrap;font-weight:var(--calcite-font-weight-normal);inline-size:100%;padding-block:var(--calcite-spacing-base);-webkit-user-select:none;user-select:none}.container:focus-within{border-color:var(--calcite-color-brand);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))))}.container.read-only{background-color:var(--calcite-color-background);font-weight:var(--calcite-font-weight-medium)}.content-container{display:grid;flex-grow:1}.content-container .input-container,.content-container .placeholder{grid-column:1;grid-row:1}.content-container .input-container--hidden{opacity:0}.clock-icon{--calcite-icon-color: var( --calcite-input-time-picker-icon-color, var(--calcite-ui-icon-color, var(--calcite-color-text-3)) )}.hour-suffix,.minute-suffix,.second-suffix{white-space:pre}.placeholder{color:var(--calcite-color-text-3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.input-container{display:flex;flex-grow:1}.input{align-items:center;display:flex;block-size:100%;justify-content:center;min-inline-size:max-content}.input.empty{inline-size:var(--calcite-spacing-xl)}.input:focus,.input:hover:focus{background-color:Highlight;color:HighlightText;outline:2px solid transparent;outline-offset:2px}.toggle-icon{--calcite-icon-color: var(--calcite-input-time-picker-icon-color, var(--calcite-color-text-3));align-items:center;block-size:24px;cursor:pointer;display:flex;inline-size:24px;justify-content:center}.toggle-icon:hover{--calcite-icon-color: var(--calcite-input-time-picker-icon-color-hover, var(--calcite-color-text-1))}:host([scale=s]) .container{block-size:1.5rem;font-size:var(--calcite-font-size-sm);gap:var(--calcite-spacing-sm);padding-inline-start:var(--calcite-spacing-sm);padding-inline-end:var(--calcite-spacing-xxs)}:host([scale=s]) .input-container,:host([scale=s]) .placeholder{line-height:1rem}:host([scale=m]) .container{block-size:2rem;font-size:var(--calcite-font-size);gap:var(--calcite-spacing-md);padding-inline-start:var(--calcite-spacing-md);padding-inline-end:var(--calcite-spacing-sm)}:host([scale=m]) .input-container,:host([scale=m]) .placeholder{line-height:1.5rem}:host([scale=l]) .container{block-size:2.75rem;font-size:var(--calcite-font-size-md);gap:var(--calcite-spacing-lg);padding-inline:var(--calcite-spacing-lg)}:host([scale=l]) .input-container,:host([scale=l]) .placeholder{line-height:2.25rem}:host([status=invalid]) .container{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) .container:focus-within{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))))}calcite-time-picker{--calcite-time-picker-background-color: var(--calcite-input-time-picker-background-color);--calcite-time-picker-border-color: var(--calcite-input-time-picker-border-color, transparent);--calcite-time-picker-corner-radius: var( --calcite-input-time-picker-corner-radius, var(--calcite-corner-radius-round) )}calcite-popover{--calcite-popover-corner-radius: var(--calcite-input-time-picker-corner-radius, var(--calcite-corner-radius-round))}.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)}.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}:host([hidden]){display:none}[hidden]{display:none}`,i={clockIcon:"clock-icon",container:"container",contentContainer:"content-container",decimalSeparator:"decimal-separator",empty:"empty",fractionalSecond:"fractional-second",hour:"hour",hourSuffix:"hour-suffix",input:"input",inputContainer:"input-container",inputContainerHidden:"input-container--hidden",meridiem:"meridiem",minute:"minute",minuteSuffix:"minute-suffix",placeholder:"placeholder",readOnly:"read-only",second:"second",secondSuffix:"second-suffix",toggleIcon:"toggle-icon"},f={inputContainer:"inputContainer",validationMessage:"inputTimePickerValidationMessage"},y={clock:"clock",chevronUp:"chevron-up",chevronDown:"chevron-down"},P=class extends z{constructor(){super(),this.messages=V(),this.containerRef=l(),this.direction=M(),this.focusSetter=q()(this),this.formSupport=_({inputType:"time"})(this),this.fractionalSecondRef=l(),this.hourRef=l(),this.meridiemRef=l(),this.minuteRef=l(),this.secondRef=l(),this.time=G(this),this.interactiveContainer=L(this),this.timePickerRef=l(),this.hasFocus=!1,this.disabled=!1,this.focusTrapDisabled=!1,this.hourFormat="user",this.open=!1,this.overlayPositioning="absolute",this.placement="auto",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.step=60,this.calciteInputTimePickerBeforeClose=u({cancelable:!1}),this.calciteInputTimePickerBeforeOpen=u({cancelable:!1}),this.calciteInputTimePickerChange=u(),this.calciteInputTimePickerClose=u({cancelable:!1}),this.calciteInputTimePickerOpen=u({cancelable:!1}),this.listen("blur",this.blurHandler),this.listen("focus",this.focusHandler),this.listen("focusout",this.focusOutHandler),this.listen("keydown",this.keyDownHandler),this.listen("calciteTimeChange",this.timeChangeHandler)}static{this.properties={hasFocus:[16,{},{state:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],focusTrapDisabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],hourFormat:[3,{},{reflect:!0}],label:1,labelText:1,max:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],min:[3,{},{reflect:!0}],name:1,numberingSystem:[3,{},{reflect:!0}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:1,placeholder:1,placement:[3,{},{reflect:!0}],readOnly:[7,{},{reflect:!0,type:Boolean}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],status:[3,{},{reflect:!0}],step:[11,{},{reflect:!0,type:Number}],validationIcon:[3,{converter:E,type:String},{reflect:!0}],validationMessage:1,validity:[32,{},{readOnly:!0,attribute:!1}],value:1}}static{this.formAssociated=!0}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=se}get showPlaceholder(){return(this.placeholder&&!this.hasFocus&&!this.time.hasValue)??!1}async reposition(e=!1){this.popoverEl?.reposition(e)}async setFocus(e){return this.focusSetter(()=>this.el,e)}connectedCallback(){super.connectedCallback(),A(this)}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler(),e.has("disabled")&&(this.hasUpdated||this.disabled!==!1)&&(this.disabled||(this.open=!1)),e.has("readOnly")&&(this.hasUpdated||this.readOnly!==!1)&&(this.readOnly||(this.open=!1)),e.has("value")&&(this.hasUpdated?(this.time.userChangedValue||(this.previousEmittedValue=this.value),this.time.setValue(this.value),this.requestTimePickerUpdate()):this.previousEmittedValue=this.value)}disconnectedCallback(){super.disconnectedCallback(),U(this)}blurHandler(){this.changeEventHandler()}focusHandler(){this.hasFocus=!0}focusOutHandler(){this.hasFocus=!1}changeEventHandler(){let{previousEmittedValue:e,value:s}=this;e!==s&&(this.calciteInputTimePickerChange.emit().defaultPrevented?this.time.setValue(this.previousEmittedValue??null):this.previousEmittedValue=s)}keyDownHandler(e){let{defaultPrevented:s,key:o}=e,{hourFormat:r,meridiemOrder:d}=this.time;if(!s)if(o==="Enter")this.formSupport.active&&(this.formSupport.requestSubmit(),e.preventDefault()),this.changeEventHandler();else if(this.open&&o==="Escape")this.open=!1,e.preventDefault();else{let v=h(this.step)>0,g=this.step<60;switch(this.activeEl){case this.hourRef.value:o==="ArrowRight"?this.setFocusPart("minute"):o==="ArrowLeft"&&r==="12"&&d===0&&this.setFocusPart("meridiem");break;case this.minuteRef.value:switch(o){case"ArrowLeft":this.setFocusPart("hour");break;case"ArrowRight":this.step!==60?this.setFocusPart("second"):r==="12"&&this.setFocusPart("meridiem");break}break;case this.secondRef.value:switch(o){case"ArrowLeft":this.setFocusPart("minute");break;case"ArrowRight":h(this.step)>0?this.setFocusPart("fractionalSecond"):r==="12"&&this.setFocusPart("meridiem");break}break;case this.fractionalSecondRef.value:switch(o){case"ArrowLeft":this.setFocusPart("second");break;case"ArrowRight":r==="12"&&d!==0&&this.setFocusPart("meridiem");break}break;case this.meridiemRef.value:o==="ArrowLeft"&&d!==0?v?this.setFocusPart("fractionalSecond"):g?this.setFocusPart("second"):this.setFocusPart("minute"):o==="ArrowRight"&&d===0&&this.setFocusPart("hour");break}}}mouseDownHandler(e){this.showPlaceholder&&(e.preventDefault(),this.setFocus())}onLabelClick(){this.setFocus()}openHandler(){this.disabled||this.readOnly||this.popoverEl&&(this.popoverEl.open=this.open)}popoverBeforeOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeOpen.emit()}popoverOpenHandler(e){e.stopPropagation(),this.calciteInputTimePickerOpen.emit()}popoverBeforeCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerBeforeClose.emit()}popoverCloseHandler(e){e.stopPropagation(),this.calciteInputTimePickerClose.emit(),this.open=!1}requestTimePickerUpdate(){this.timePickerRef.value?.manager?.component.requestUpdate()}setCalcitePopoverEl(e){this.popoverEl=e,this.openHandler()}async setFocusPart(e){(e==="hour"?this.hourRef:e==="minute"?this.minuteRef:e==="second"?this.secondRef:e==="fractionalSecond"?this.fractionalSecondRef:this.meridiemRef).value?.focus()}timeChangeHandler(e){if(e.stopPropagation(),this.disabled)return;let s=e.detail;s!==this.value?this.value=s:this.requestTimePickerUpdate()}timePartFocusHandler(e){this.activeEl=e.currentTarget}timePickerChangeHandler(e){e.stopPropagation()}toggleIconClickHandler(){this.open=!this.open}render(){let{messages:e,readOnly:s,scale:o}=this,{fractionalSecond:r,handleHourKeyDownEvent:d,handleMinuteKeyDownEvent:v,handleSecondKeyDownEvent:g,handleFractionalSecondKeyDownEvent:J,hour:b,hourFormat:Q,localizedDecimalSeparator:W,localizedFractionalSecond:k,localizedHour:S,localizedHourSuffix:X,localizedMinute:H,localizedMinuteSuffix:Y,localizedSecond:C,localizedSecondSuffix:F,meridiemOrder:Z,minute:$,second:w}=this.time,x="--",ee=p(r),ie=p(b),te=p($),ae=p(w),I=h(this.step)>0,O=Q==="12",oe=this.step<60,R=Z===0||this.direction==="rtl",m=!this.disabled&&!this.readOnly;return this.interactiveContainer({disabled:this.disabled,children:n`${this.labelText&&K({labelText:this.labelText,onClick:this.onLabelClick,required:this.required,tooltipText:this.messages.required})||""}<div aria-controls=${f.inputContainer} aria-labelledby=${f.inputContainer} class=${a({[i.container]:!0,[i.readOnly]:s})} role=combobox ${c(this.containerRef)}><calcite-icon class=${a(i.clockIcon)} .icon=${y.clock} .scale=${o==="l"?"m":"s"}></calcite-icon><div class=${a(i.contentContainer)}>${this.showPlaceholder&&n`<div class=${a(i.placeholder)}>${this.placeholder}</div>`||""}<div aria-label=${N(this)??t} .ariaRequired=${this.required} class=${a({[i.inputContainer]:!0,[i.inputContainerHidden]:this.showPlaceholder})} dir=ltr id=${f.inputContainer} role=group>${O&&R&&this.renderMeridiem()||""}<span aria-label=${this.messages.hour??t} aria-valuemax=23 aria-valuemin=1 aria-valuenow=${(ie&&parseInt(b)||"0")??t} aria-valuetext=${b??t} class=${a({[i.empty]:!S,[i.hour]:!0,[i.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${m?d:void 0} @mousedown=${this.mouseDownHandler} role=spinbutton tabindex=0 ${c(this.hourRef)}>${S||x}</span><span class=${a(i.hourSuffix)}>${X}</span><span aria-label=${this.messages.minute??t} aria-valuemax=12 aria-valuemin=1 aria-valuenow=${(te&&parseInt($)||"0")??t} aria-valuetext=${$??t} class=${a({[i.empty]:!H,[i.input]:!0,[i.minute]:!0})} @focus=${this.timePartFocusHandler} @keydown=${m?v:void 0} @mousedown=${this.mouseDownHandler} role=spinbutton tabindex=0 ${c(this.minuteRef)}>${H||x}</span><span class=${a(i.minuteSuffix)}>${Y}</span>${oe&&n`<span aria-label=${this.messages.second??t} aria-valuemax=59 aria-valuemin=0 aria-valuenow=${(ae&&parseInt(w)||"0")??t} aria-valuetext=${w??t} class=${a({[i.empty]:!C,[i.input]:!0,[i.second]:!0})} @focus=${this.timePartFocusHandler} @keydown=${m?g:void 0} @mousedown=${this.mouseDownHandler} role=spinbutton tabindex=0 ${c(this.secondRef)}>${C||x}</span>`||""}${I&&n`<span class=${a(i.decimalSeparator)}>${W}</span>`||""}${I&&n`<span aria-label=${this.messages.fractionalSecond??t} aria-valuemax=999 aria-valuemin=1 aria-valuenow=${(ee&&parseInt(r)||"0")??t} aria-valuetext=${k??t} class=${a({[i.empty]:!k,[i.fractionalSecond]:!0,[i.input]:!0})} @focus=${this.timePartFocusHandler} @keydown=${m?J:void 0} @mousedown=${this.mouseDownHandler} role=spinbutton tabindex=0 ${c(this.fractionalSecondRef)}>${k||"".padStart(h(this.step),"-")}</span>`||""}${F&&n`<span class=${a(i.secondSuffix)}>${F}</span>`||""}${O&&!R&&this.renderMeridiem()||""}</div></div>${!this.readOnly&&this.renderToggleIcon(this.open)||""}</div><calcite-popover auto-close .focusTrapDisabled=${this.focusTrapDisabled} .focusTrapOptions=${{initialFocus:!1}} .label=${e.chooseTime} lang=${this.messages._lang??t} offset-distance=0 @calcitePopoverBeforeClose=${this.popoverBeforeCloseHandler} @calcitePopoverBeforeOpen=${this.popoverBeforeOpenHandler} @calcitePopoverClose=${this.popoverCloseHandler} @calcitePopoverOpen=${this.popoverOpenHandler} .overlayPositioning=${this.overlayPositioning} .placement=${this.placement} pointer-disabled .referenceElement=${this.containerRef.value} trigger-disabled ${c(this.setCalcitePopoverEl)}><calcite-time-picker .hourFormat=${this.time.hourFormat??void 0} lang=${this.messages._lang??t} .messageOverrides=${this.messageOverrides} .numberingSystem=${this.numberingSystem} @calciteTimePickerChange=${this.timePickerChangeHandler} .scale=${this.scale} .step=${this.step} tabindex=${(this.open?void 0:-1)??t} .time=${this.time} .value=${this.value} ${c(this.timePickerRef)}></calcite-time-picker></calcite-popover>${this.validationMessage&&this.status==="invalid"?j({icon:this.validationIcon,id:f.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}renderMeridiem(){let{handleMeridiemKeyDownEvent:e,localizedMeridiem:s,meridiem:o}=this.time,r=!this.disabled&&!this.readOnly;return n`<span aria-label=${this.messages.meridiem??t} aria-valuemax=2 aria-valuemin=1 aria-valuenow=${o==="PM"&&"2"||"1"} aria-valuetext=${o??t} class=${a({[i.empty]:!s,[i.input]:!0,[i.meridiem]:!0})} @focus=${this.timePartFocusHandler} @keydown=${r?e:void 0} @mousedown=${this.mouseDownHandler} role=spinbutton tabindex=0 ${c(this.meridiemRef)}>${s||"--"}</span>`}renderToggleIcon(e){return n`<span class=${a(i.toggleIcon)} @click=${this.toggleIconClickHandler}><calcite-icon .icon=${e?y.chevronUp:y.chevronDown} .scale=${B(this.scale)}></calcite-icon></span>`}};D("calcite-input-time-picker",P);export{P as InputTimePicker};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{c as l}from"./ZWPNZ5XW.js";import{b as s}from"./
|
|
2
|
+
import{c as l}from"./ZWPNZ5XW.js";import{b as s}from"./5BRHCY56.js";import{f as u,l as a}from"./AH2ILKOU.js";var L=()=>s((e,n)=>{let t;function r(){t?.abort()}return n.onLoad(()=>{e.listen("focus",()=>{t=new AbortController,e.el.addEventListener("focusout",r,{signal:t.signal})})}),n.onDisconnected(()=>{e.el.removeEventListener("focusout",r)}),async(c,d)=>{if(e.disabled)return;let o=E(c());if(!o)return;let{target:f,includeContainer:v,strategy:C}=o,i=u(e.el),g=i.activeElement;if(await l(e),!(g!==i.activeElement||t&&!t?.signal.aborted))return e.el.removeEventListener("focus",r),a(f,v,C,e.el,d)}});function m(e){return"target"in e&&("includeContainer"in e||"strategy"in e)}function E(e){if(e)return m(e)?e:{target:e}}export{L as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{j as v}from"./FPVMYG6A.js";import"./YP3AYJH3.js";import{a as P}from"./GBNEJ7ZF.js";import{b as g}from"./ZWPNZ5XW.js";import"./4PN5ZOFS.js";import"./G4ZSDWUZ.js";import{E as u,F as h,G as A,H as s,S as k,g as x,h as n,l as z,m as T,p}from"./ATPHVTBE.js";function L(){return navigator.userAgentData}function N(){if(!1)return"";let f=L();return f?.brands?f.brands.map(({brand:e,version:i})=>`${e}/${i}`).join(" "):navigator.userAgent}var l={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions",dismissButton:"dismiss-button",selectionChipActive:"selection-chip--active",selectionCountChip:"selection-chip",selectionOutOfViewChip:"selection-chip--out-of-view"},w={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},I={hideEmpty:"hide-empty",clear:"x"},D=x`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host(:is([scale=s],[scale=m])){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xs);--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;flex-direction:column;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-container-size-content-fluid)}.table-container{overflow:auto;white-space:nowrap;line-height:var(--calcite-font-line-height-relative-tight);border:var(--calcite-border-width-sm) solid var(--calcite-table-border-color, var(--calcite-color-border-2));border-radius:var(--calcite-table-corner-radius, var(--calcite-corner-radius-sharp));box-shadow:var(--calcite-table-shadow, var(--calcite-shadow-none))}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{border-collapse:collapse;overflow-x:scroll;inline-size:var(--calcite-container-size-content-fluid)}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-table-border-color, var(--calcite-color-border-2))}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background-color: var( --calcite-table-row-background-color-striped, var(--calcite-color-foreground-2) )}.selection-actions{display:flex;flex-direction:row;gap:var(--calcite-internal-table-selection-action-spacing);margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.selection-chip{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color)}.selection-chip.selection-chip--active{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color-selected);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color-selected);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color-selected)}.selection-chip--out-of-view{--calcite-chip-background-color: var(--calcite-table-selection-out-of-view-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-out-of-view-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-out-of-view-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-out-of-view-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-out-of-view-chip-text-color);--calcite-chip-icon-color: var(--calcite-table-selection-out-of-view-chip-icon-color)}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center;--calcite-pagination-color: var(--calcite-table-pagination-color);--calcite-pagination-color-hover: var(--calcite-table-pagination-color-hover);--calcite-pagination-color-border-hover: var(--calcite-table-pagination-color-border-hover);--calcite-pagination-color-border-active: var(--calcite-table-pagination-color-border-active);--calcite-pagination-background-color: var(--calcite-table-pagination-background-color);--calcite-pagination-icon-color-background-hover: var(--calcite-table-pagination-icon-color-background-hover)}.dismiss-button{margin-inline-end:1rem;--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color);--calcite-button-corner-radius: var(--calcite-table-selection-dismiss-button-corner-radius);--calcite-button-shadow: var(--calcite-table-selection-dismiss-button-shadow);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color)}.dismiss-button:hover{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-hover);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-hover);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-hover)}.dismiss-button:active{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-active);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-active);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-active)}:host([hidden]){display:none}[hidden]{display:none}`,S=class extends A{constructor(){super(),this.allRows=[],this.bodyRows=[],this.footRows=[],this.headRows=[],this.paginationRef=u(),this.tableBodySlotRef=u(),this.tableFootSlotRef=u(),this.tableHeadSlotRef=u(),this.messages=P({blocking:!0}),this.colCount=0,this.pageStartRow=1,this.readCellContentsToAT=!1,this.selectedCount=0,this._selectedItems=[],this.bordered=!1,this.currentPage=0,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.numbered=!1,this.pageSize=0,this.scale="m",this.selectionDisplay="top",this.selectionMode="none",this.striped=!1,this.calciteInternalTableRowFocusChange=p({cancelable:!1}),this.calciteTablePageChange=p({cancelable:!1}),this.calciteTableSelect=p({cancelable:!1}),this.listen("calciteTableRowSelect",this.calciteTableRowSelectListener),this.listen("calciteInternalTableRowSelect",this.calciteInternalTableRowSelectListener),this.listen("calciteInternalTableRowFocusRequest",this.calciteInternalTableRowFocusEvent)}static{this.properties={colCount:[16,{},{state:!0}],pageStartRow:[16,{},{state:!0}],readCellContentsToAT:[16,{},{state:!0}],selectedCount:[16,{},{state:!0}],_selectedItems:[16,{},{state:!0}],bordered:[7,{},{reflect:!0,type:Boolean}],caption:1,currentPage:[11,{},{reflect:!0,type:Number}],groupSeparator:[7,{},{reflect:!0,type:Boolean}],interactionMode:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],numbered:[7,{},{reflect:!0,type:Boolean}],numberingSystem:[3,{},{reflect:!0}],pageSize:[11,{},{reflect:!0,type:Number}],scale:[3,{},{reflect:!0}],selectedItems:[32,{},{attribute:!1,readOnly:!0}],selectionDisplay:[3,{},{reflect:!0}],selectionMode:[3,{},{reflect:!0}],striped:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=D}get selectedItems(){return this._selectedItems}async load(){this.readCellContentsToAT=/safari/i.test(N()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||e.has("currentPage")&&(this.hasUpdated||this.currentPage>1)&&this.pageSize>0)&&this.updateRows()}handleSlotChange(){this.updateRows()}calciteTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowSelectListener(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(!1),e.stopPropagation())}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,o=e.detail.rowPosition,a=e.detail.destination,r=e.detail.lastCell,t=this.bodyRows?.filter(b=>!g(b)),c=this.allRows?.filter(b=>!g(b)),R=this.headRows[this.headRows.length-1]?.positionAll,y=t[0]?.positionAll,C=t[t.length-1]?.positionAll,$=this.footRows[0]?.positionAll,M=c[c.length-1]?.positionAll,F=a==="next"&&o===R,O=a==="previous"&&o===$,E=a==="previous"&&o===y,B=a==="next"&&o===C,d;switch(a){case"first":d=0;break;case"last":d=M;break;case"next":d=F?y:B?$:o+1;break;case"previous":d=O?C:E?R:o-1;break}let m=this.allRows.find(b=>b.positionAll===d)?.cellCount,H=m&&i>m?m:i;d!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:H,rowPosition:d,destination:a,lastCell:r})}getSlottedRows(e){return e?e.assignedElements({flatten:!0}).filter(i=>i.matches("calcite-table-row")):[]}updateRows(){let e=this.getSlottedRows(this.tableHeadSlotRef.value),i=this.getSlottedRows(this.tableBodySlotRef.value),o=this.getSlottedRows(this.tableFootSlotRef.value),a=[...e,...i,...o];e.forEach(t=>{let c=e.indexOf(t);t.rowType="head",t.positionSection=c,t.positionSectionLocalized=this.localizeNumber((c+1).toString())}),i.forEach(t=>{let c=i.indexOf(t);t.rowType="body",t.positionSection=c,t.positionSectionLocalized=this.localizeNumber((c+1).toString())}),o.forEach(t=>{let c=o.indexOf(t);t.rowType="foot",t.positionSection=c,t.positionSectionLocalized=this.localizeNumber((c+1).toString())}),a.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=a?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=a?.indexOf(t)===a.length-1});let r=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=r,this.headRows=e,this.bodyRows=i,this.footRows=o,this.allRows=a,this.handleCurrentPageRange(),this.updateSelectedItems()}handleCurrentPageRange(){let e=this.currentPage,i=this.bodyRows?.length||0,o=this.pageSize>0?Math.ceil(i/this.pageSize):1;if(o>0){let a=Math.min(Math.max(e,1),o);this.currentPage=a,this.pageStartRow=(a-1)*this.pageSize+1}this.paginateRows()}handlePaginationChange(){let e=this.paginationRef.value?.startItem;this.pageStartRow=e||1,this.currentPage=Math.ceil(this.pageStartRow/this.pageSize),this.calciteTablePageChange.emit(),this.updateRows()}paginateRows(){this.bodyRows?.forEach(e=>{let i=e.positionSection+1,o=i>=this.pageStartRow&&i<this.pageStartRow+this.pageSize;e.itemHidden=this.pageSize>0&&!o&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}async updateSelectedItems(e){let i=this.bodyRows?.filter(o=>o.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(o=>{o.selectedRowCount=this.selectedCount,o.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=this.selectionMode==="multiple"||e===i?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return v.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},v.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(t=>g(t))?.length,i=this.localizeNumber(e?.toString()),a=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,r=`${i} ${this.messages.hiddenSelected}`;return n`<div class=${s(l.selectionArea)}><calcite-chip class=${s({[l.selectionCountChip]:!0,[l.selectionChipActive]:this.selectedCount>0})} .kind=${this.selectedCount>0?"brand":"neutral"} .label=${a} .scale=${this.scale} .value=${a}>${a}</calcite-chip>${e>0&&n`<calcite-chip class=${s(l.selectionOutOfViewChip)} .icon=${I.hideEmpty} .label=${r} .scale=${this.scale} title=${r??z} .value=${r}>${i}</calcite-chip>`||""}${this.selectedCount>0&&n`<calcite-button class=${s(l.dismissButton)} .iconStart=${I.clear} kind=neutral @click=${this.handleDeselectAllRows} round .scale=${this.scale} .title=${`${this.messages.clear} ${a} ${this.messages.row}`}>${this.messages.clear}</calcite-button>`||""}<div class=${s(l.selectionActions)}><slot name=${w.selectionActions}></slot></div></div>`}renderPaginationArea(){return n`<div class=${s(l.paginationArea)}><calcite-pagination .groupSeparator=${this.groupSeparator} .numberingSystem=${this.numberingSystem} @calcitePaginationChange=${this.handlePaginationChange} .pageSize=${this.pageSize} .scale=${this.scale} .startItem=${this.pageStartRow} .totalItems=${this.bodyRows?.length} ${h(this.paginationRef)}></calcite-pagination></div>`}renderTHead(){return n`<thead><slot name=${w.tableHeader} ${h(this.tableHeadSlotRef)}></slot></thead>`}renderTBody(){return n`<tbody><slot ${h(this.tableBodySlotRef)}></slot></tbody>`}renderTFoot(){return n`<tfoot><slot name=${w.tableFooter} ${h(this.tableFootSlotRef)}></slot></tfoot>`}render(){return n`<div class=${s(l.container)}>${this.selectionMode!=="none"&&this.selectionDisplay!=="none"&&this.renderSelectionArea()||""}<div class=${s({[l.bordered]:this.bordered,[l.striped]:this.striped,[l.tableContainer]:!0})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${this.selectionMode==="multiple"?"true":void 0} .ariaRowCount=${this.allRows?.length} class=${s({[l.tableFixed]:this.layout==="fixed"})} .role=${this.interactionMode==="interactive"?"grid":"table"} ${h(e=>{e&&T(n`<caption class=${s(l.assistiveText)}>${this.caption}</caption>${this.renderTHead()}${this.renderTBody()}${this.renderTFoot()}`,e)})}></table></div>${this.pageSize>0&&this.renderPaginationArea()||""}</div>`}};k("calcite-table",S);export{S as Table};
|
|
2
|
+
import{j as v}from"./4XXCMSYK.js";import"./YP3AYJH3.js";import{a as P}from"./L4565LYV.js";import{b as g}from"./ZWPNZ5XW.js";import"./5BRHCY56.js";import"./MFPSZIXT.js";import{E as u,F as h,G as A,H as s,S as k,g as x,h as n,l as z,m as T,p}from"./FWMASCBJ.js";function L(){return navigator.userAgentData}function N(){if(!1)return"";let f=L();return f?.brands?f.brands.map(({brand:e,version:i})=>`${e}/${i}`).join(" "):navigator.userAgent}var l={bordered:"bordered",striped:"striped",selectionArea:"selection-area",paginationArea:"pagination-area",container:"container",tableContainer:"table-container",tableFixed:"table--fixed",assistiveText:"assistive-text",selectionActions:"selection-actions",dismissButton:"dismiss-button",selectionChipActive:"selection-chip--active",selectionCountChip:"selection-chip",selectionOutOfViewChip:"selection-chip--out-of-view"},w={selectionActions:"selection-actions",tableHeader:"table-header",tableFooter:"table-footer"},I={hideEmpty:"hide-empty",clear:"x"},D=x`@charset "UTF-8";:host([scale=s]){--calcite-internal-table-cell-padding: .25rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--2);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--3)}:host([scale=m]){--calcite-internal-table-cell-padding: .5rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size--1);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--2)}:host(:is([scale=s],[scale=m])){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xxs)}:host([scale=l]){--calcite-internal-table-selection-action-spacing: var(--calcite-spacing-xs);--calcite-internal-table-cell-padding: 1rem;--calcite-internal-table-cell-font-size: var(--calcite-font-size-0);--calcite-internal-table-cell-font-size-secondary: var(--calcite-font-size--1)}:host{display:flex}.container{display:flex;flex-direction:column;inline-size:var(--calcite-container-size-content-fluid);block-size:var(--calcite-container-size-content-fluid)}.table-container{overflow:auto;white-space:nowrap;line-height:var(--calcite-font-line-height-relative-tight);border:var(--calcite-border-width-sm) solid var(--calcite-table-border-color, var(--calcite-color-border-2));border-radius:var(--calcite-table-corner-radius, var(--calcite-corner-radius-sharp));box-shadow:var(--calcite-table-shadow, var(--calcite-shadow-none))}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}table{border-collapse:collapse;overflow-x:scroll;inline-size:var(--calcite-container-size-content-fluid)}@-moz-document url-prefix(){table{border-collapse:separate;border-spacing:0}}.table--fixed{table-layout:fixed}.bordered ::slotted(calcite-table-row){--calcite-table-row-border-color: var(--calcite-table-border-color, var(--calcite-color-border-2))}.striped ::slotted(calcite-table-row:nth-child(2n+1)){--calcite-table-row-background-color: var( --calcite-table-row-background-color-striped, var(--calcite-color-foreground-2) )}.selection-actions{display:flex;flex-direction:row;gap:var(--calcite-internal-table-selection-action-spacing);margin-inline-start:auto}.selection-area{display:flex;flex-direction:row;align-items:center;padding-block:var(--calcite-internal-table-cell-padding)}.selection-area calcite-chip:last-of-type{margin-inline-end:.5rem}.selection-area calcite-chip:last-of-type:not(:first-of-type){margin-inline-start:.5rem}.selection-area calcite-button{margin-inline-end:1rem}.selection-chip{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color)}.selection-chip.selection-chip--active{--calcite-chip-background-color: var(--calcite-table-selection-chip-background-color-selected);--calcite-chip-border-color: var(--calcite-table-selection-chip-border-color-selected);--calcite-chip-text-color: var(--calcite-table-selection-chip-text-color-selected)}.selection-chip--out-of-view{--calcite-chip-background-color: var(--calcite-table-selection-out-of-view-chip-background-color);--calcite-chip-border-color: var(--calcite-table-selection-out-of-view-chip-border-color);--calcite-chip-corner-radius: var(--calcite-table-selection-out-of-view-chip-corner-radius);--calcite-chip-shadow: var(--calcite-table-selection-out-of-view-chip-shadow);--calcite-chip-text-color: var(--calcite-table-selection-out-of-view-chip-text-color);--calcite-chip-icon-color: var(--calcite-table-selection-out-of-view-chip-icon-color)}.pagination-area{display:flex;inline-size:100%;flex-direction:row;justify-content:center;padding-block:var(--calcite-internal-table-cell-padding)}calcite-pagination{flex:1;justify-content:center;--calcite-pagination-color: var(--calcite-table-pagination-color);--calcite-pagination-color-hover: var(--calcite-table-pagination-color-hover);--calcite-pagination-color-border-hover: var(--calcite-table-pagination-color-border-hover);--calcite-pagination-color-border-active: var(--calcite-table-pagination-color-border-active);--calcite-pagination-background-color: var(--calcite-table-pagination-background-color);--calcite-pagination-icon-color-background-hover: var(--calcite-table-pagination-icon-color-background-hover)}.dismiss-button{margin-inline-end:1rem;--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color);--calcite-button-corner-radius: var(--calcite-table-selection-dismiss-button-corner-radius);--calcite-button-shadow: var(--calcite-table-selection-dismiss-button-shadow);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color)}.dismiss-button:hover{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-hover);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-hover);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-hover)}.dismiss-button:active{--calcite-button-background-color: var(--calcite-table-selection-dismiss-button-background-color-active);--calcite-button-border-color: var(--calcite-table-selection-dismiss-button-border-color-active);--calcite-button-text-color: var(--calcite-table-selection-dismiss-button-text-color-active)}:host([hidden]){display:none}[hidden]{display:none}`,S=class extends A{constructor(){super(),this.allRows=[],this.bodyRows=[],this.footRows=[],this.headRows=[],this.paginationRef=u(),this.tableBodySlotRef=u(),this.tableFootSlotRef=u(),this.tableHeadSlotRef=u(),this.messages=P({blocking:!0}),this.colCount=0,this.pageStartRow=1,this.readCellContentsToAT=!1,this.selectedCount=0,this._selectedItems=[],this.bordered=!1,this.currentPage=0,this.groupSeparator=!1,this.interactionMode="interactive",this.layout="auto",this.numbered=!1,this.pageSize=0,this.scale="m",this.selectionDisplay="top",this.selectionMode="none",this.striped=!1,this.calciteInternalTableRowFocusChange=p({cancelable:!1}),this.calciteTablePageChange=p({cancelable:!1}),this.calciteTableSelect=p({cancelable:!1}),this.listen("calciteTableRowSelect",this.calciteTableRowSelectListener),this.listen("calciteInternalTableRowSelect",this.calciteInternalTableRowSelectListener),this.listen("calciteInternalTableRowFocusRequest",this.calciteInternalTableRowFocusEvent)}static{this.properties={colCount:[16,{},{state:!0}],pageStartRow:[16,{},{state:!0}],readCellContentsToAT:[16,{},{state:!0}],selectedCount:[16,{},{state:!0}],_selectedItems:[16,{},{state:!0}],bordered:[7,{},{reflect:!0,type:Boolean}],caption:1,currentPage:[11,{},{reflect:!0,type:Number}],groupSeparator:[7,{},{reflect:!0,type:Boolean}],interactionMode:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],numbered:[7,{},{reflect:!0,type:Boolean}],numberingSystem:[3,{},{reflect:!0}],pageSize:[11,{},{reflect:!0,type:Number}],scale:[3,{},{reflect:!0}],selectedItems:[32,{},{attribute:!1,readOnly:!0}],selectionDisplay:[3,{},{reflect:!0}],selectionMode:[3,{},{reflect:!0}],striped:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=D}get selectedItems(){return this._selectedItems}async load(){this.readCellContentsToAT=/safari/i.test(N()),this.listenOn(this.el.shadowRoot,"slotchange",this.handleSlotChange)}willUpdate(e){(e.has("groupSeparator")&&(this.hasUpdated||this.groupSeparator!==!1)||e.has("interactionMode")&&(this.hasUpdated||this.interactionMode!=="interactive")||e.has("numbered")&&(this.hasUpdated||this.numbered!==!1)||e.has("numberingSystem")||e.has("pageSize")&&(this.hasUpdated||this.pageSize!==0)||e.has("scale")&&(this.hasUpdated||this.scale!=="m")||e.has("selectionMode")&&(this.hasUpdated||this.selectionMode!=="none")||e.has("currentPage")&&(this.hasUpdated||this.currentPage>1)&&this.pageSize>0)&&this.updateRows()}handleSlotChange(){this.updateRows()}calciteTableRowSelectListener(e){e.composedPath().includes(this.el)&&this.setSelectedItems(e.target)}calciteInternalTableRowSelectListener(e){e.composedPath().includes(this.el)&&(this.updateSelectedItems(!1),e.stopPropagation())}calciteInternalTableRowFocusEvent(e){let i=e.detail.cellPosition,o=e.detail.rowPosition,a=e.detail.destination,r=e.detail.lastCell,t=this.bodyRows?.filter(b=>!g(b)),c=this.allRows?.filter(b=>!g(b)),R=this.headRows[this.headRows.length-1]?.positionAll,y=t[0]?.positionAll,C=t[t.length-1]?.positionAll,$=this.footRows[0]?.positionAll,M=c[c.length-1]?.positionAll,F=a==="next"&&o===R,O=a==="previous"&&o===$,E=a==="previous"&&o===y,B=a==="next"&&o===C,d;switch(a){case"first":d=0;break;case"last":d=M;break;case"next":d=F?y:B?$:o+1;break;case"previous":d=O?C:E?R:o-1;break}let m=this.allRows.find(b=>b.positionAll===d)?.cellCount,H=m&&i>m?m:i;d!==void 0&&this.calciteInternalTableRowFocusChange.emit({cellPosition:H,rowPosition:d,destination:a,lastCell:r})}getSlottedRows(e){return e?e.assignedElements({flatten:!0}).filter(i=>i.matches("calcite-table-row")):[]}updateRows(){let e=this.getSlottedRows(this.tableHeadSlotRef.value),i=this.getSlottedRows(this.tableBodySlotRef.value),o=this.getSlottedRows(this.tableFootSlotRef.value),a=[...e,...i,...o];e.forEach(t=>{let c=e.indexOf(t);t.rowType="head",t.positionSection=c,t.positionSectionLocalized=this.localizeNumber((c+1).toString())}),i.forEach(t=>{let c=i.indexOf(t);t.rowType="body",t.positionSection=c,t.positionSectionLocalized=this.localizeNumber((c+1).toString())}),o.forEach(t=>{let c=o.indexOf(t);t.rowType="foot",t.positionSection=c,t.positionSectionLocalized=this.localizeNumber((c+1).toString())}),a.forEach(t=>{t.interactionMode=this.interactionMode,t.selectionMode=this.selectionMode,t.bodyRowCount=i?.length,t.positionAll=a?.indexOf(t),t.numbered=this.numbered,t.scale=this.scale,t.readCellContentsToAT=this.readCellContentsToAT,t.lastVisibleRow=a?.indexOf(t)===a.length-1});let r=e[0]?.cellCount||e[0]?.querySelectorAll("calcite-table-header")?.length;this.colCount=r,this.headRows=e,this.bodyRows=i,this.footRows=o,this.allRows=a,this.handleCurrentPageRange(),this.updateSelectedItems()}handleCurrentPageRange(){let e=this.currentPage,i=this.bodyRows?.length||0,o=this.pageSize>0?Math.ceil(i/this.pageSize):1;if(o>0){let a=Math.min(Math.max(e,1),o);this.currentPage=a,this.pageStartRow=(a-1)*this.pageSize+1}this.paginateRows()}handlePaginationChange(){let e=this.paginationRef.value?.startItem;this.pageStartRow=e||1,this.currentPage=Math.ceil(this.pageStartRow/this.pageSize),this.calciteTablePageChange.emit(),this.updateRows()}paginateRows(){this.bodyRows?.forEach(e=>{let i=e.positionSection+1,o=i>=this.pageStartRow&&i<this.pageStartRow+this.pageSize;e.itemHidden=this.pageSize>0&&!o&&!this.footRows.includes(e),e.lastVisibleRow=i===this.pageStartRow+this.pageSize-1||i===this.bodyRows.length})}async updateSelectedItems(e){let i=this.bodyRows?.filter(o=>o.selected);this._selectedItems=i,this.selectedCount=i?.length,this.allRows?.forEach(o=>{o.selectedRowCount=this.selectedCount,o.selectedRowCountLocalized=this.localizeNumber(this.selectedCount)}),e&&this.calciteTableSelect.emit()}handleDeselectAllRows(){this.bodyRows?.forEach(e=>{e.selected=!1}),this.updateSelectedItems(!0)}setSelectedItems(e){this.bodyRows?.forEach(i=>{e?.rowType==="head"?i.selected=this.selectedCount!==this.bodyRows?.length:i.selected=this.selectionMode==="multiple"||e===i?i.selected:!1}),this.updateSelectedItems(!0)}localizeNumber(e){return v.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},v.localize(e.toString())}renderSelectionArea(){let e=this._selectedItems?.filter(t=>g(t))?.length,i=this.localizeNumber(e?.toString()),a=`${this.localizeNumber(this.selectedCount?.toString())} ${this.messages.selected}`,r=`${i} ${this.messages.hiddenSelected}`;return n`<div class=${s(l.selectionArea)}><calcite-chip class=${s({[l.selectionCountChip]:!0,[l.selectionChipActive]:this.selectedCount>0})} .kind=${this.selectedCount>0?"brand":"neutral"} .label=${a} .scale=${this.scale} .value=${a}>${a}</calcite-chip>${e>0&&n`<calcite-chip class=${s(l.selectionOutOfViewChip)} .icon=${I.hideEmpty} .label=${r} .scale=${this.scale} title=${r??z} .value=${r}>${i}</calcite-chip>`||""}${this.selectedCount>0&&n`<calcite-button class=${s(l.dismissButton)} .iconStart=${I.clear} kind=neutral @click=${this.handleDeselectAllRows} round .scale=${this.scale} .title=${`${this.messages.clear} ${a} ${this.messages.row}`}>${this.messages.clear}</calcite-button>`||""}<div class=${s(l.selectionActions)}><slot name=${w.selectionActions}></slot></div></div>`}renderPaginationArea(){return n`<div class=${s(l.paginationArea)}><calcite-pagination .groupSeparator=${this.groupSeparator} .numberingSystem=${this.numberingSystem} @calcitePaginationChange=${this.handlePaginationChange} .pageSize=${this.pageSize} .scale=${this.scale} .startItem=${this.pageStartRow} .totalItems=${this.bodyRows?.length} ${h(this.paginationRef)}></calcite-pagination></div>`}renderTHead(){return n`<thead><slot name=${w.tableHeader} ${h(this.tableHeadSlotRef)}></slot></thead>`}renderTBody(){return n`<tbody><slot ${h(this.tableBodySlotRef)}></slot></tbody>`}renderTFoot(){return n`<tfoot><slot name=${w.tableFooter} ${h(this.tableFootSlotRef)}></slot></tfoot>`}render(){return n`<div class=${s(l.container)}>${this.selectionMode!=="none"&&this.selectionDisplay!=="none"&&this.renderSelectionArea()||""}<div class=${s({[l.bordered]:this.bordered,[l.striped]:this.striped,[l.tableContainer]:!0})}><table .ariaColCount=${this.colCount} .ariaMultiSelectable=${this.selectionMode==="multiple"?"true":void 0} .ariaRowCount=${this.allRows?.length} class=${s({[l.tableFixed]:this.layout==="fixed"})} .role=${this.interactionMode==="interactive"?"grid":"table"} ${h(e=>{e&&T(n`<caption class=${s(l.assistiveText)}>${this.caption}</caption>${this.renderTHead()}${this.renderTBody()}${this.renderTFoot()}`,e)})}></table></div>${this.pageSize>0&&this.renderPaginationArea()||""}</div>`}};k("calcite-table",S);export{S as Table};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as o,b as r,f as d}from"./
|
|
2
|
+
import{a as o,b as r,f as d}from"./NO2IBH5N.js";import"./AH2ILKOU.js";import"./T6CCMW7H.js";import{G as n,H as c,S as s,g as a,h as l,p as i}from"./FWMASCBJ.js";var h={container:"container"},b=a`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}:host([alignment=start]){text-align:start}:host([alignment=end]){text-align:end}:host([alignment=center]){text-align:center}:host([scale=s]) .container{gap:.25rem;font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-sm);margin-block-end:var(--calcite-label-margin-bottom, .5rem)}:host([scale=m]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-base);margin-block-end:var(--calcite-label-margin-bottom, .75rem)}:host([scale=l]) .container{gap:.5rem;font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-md);margin-block-end:var(--calcite-label-margin-bottom, 1rem)}:host .container{margin-inline:0px;margin-block-start:0px;inline-size:100%;line-height:1.375;color:var(--calcite-color-text-1);color:var(--calcite-label-text-color, var(--calcite-color-text-1))}:host([layout=block]) .container,:host([layout=default]) .container{display:flex;flex-direction:column}:host([layout=inline]) .container,:host([layout=inline-space-between]) .container{display:flex;flex-direction:row;align-items:center;gap:.5rem}:host([layout=inline][scale=l]) .container{gap:.75rem}:host([layout=inline-space-between]) .container{justify-content:space-between}:host([disabled])>.container{opacity:var(--calcite-opacity-disabled)}:host([disabled]) ::slotted(*[disabled]),:host([disabled]) ::slotted(*[disabled] *){--tw-bg-opacity: 1}:host([disabled]) ::slotted(calcite-input-message:not([active])){--tw-bg-opacity: 0}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,t=class extends n{constructor(){super(),this.alignment="start",this.layout="default",this.scale="m",this.calciteInternalLabelClick=i({bubbles:!1,cancelable:!1}),this.listen("click",this.labelClickHandler)}static{this.properties={alignment:[3,{},{reflect:!0}],for:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=b}connectedCallback(){super.connectedCallback(),document.dispatchEvent(new CustomEvent(o))}willUpdate(e){e.has("for")&&d(this.el)}disconnectedCallback(){super.disconnectedCallback(),document.dispatchEvent(new CustomEvent(r))}labelClickHandler(e){window.getSelection()?.type==="Range"||e.defaultPrevented||this.calciteInternalLabelClick.emit({sourceEvent:e})}render(){return l`<div class=${c(h.container)}><slot></slot></div>`}};s("calcite-label",t);export{t as Label};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import{c as m,d as k,e as v}from"./NO2IBH5N.js";import{a as E}from"./NTTXPITY.js";import{a as f}from"./L4565LYV.js";import{a as g}from"./YM3XWOJY.js";import"./ZWPNZ5XW.js";import"./5BRHCY56.js";import"./MFPSZIXT.js";import{u as p}from"./AH2ILKOU.js";import"./T6CCMW7H.js";import{E as c,F as o,G as h,H as i,J as s,S as b,g as u,h as a,p as l}from"./FWMASCBJ.js";var C=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}:host([scale=s]) .controls-wrapper{block-size:1.5rem}:host([scale=m]) .controls-wrapper{block-size:2rem}:host([scale=l]) .controls-wrapper{block-size:2.75rem}.wrapper{box-sizing:border-box;display:flex;justify-content:space-between;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;background-color:var(--calcite-inline-editable-background-color, var(--calcite-color-foreground-1))}.wrapper .input-wrapper{flex:1 1 0%}:host(:not([editing-enabled]):not([disabled])) .wrapper:hover{background-color:var(--calcite-inline-editable-background-color-hover, var(--calcite-color-foreground-2))}.controls-wrapper{display:flex}.cancel-editing-button[appearance=transparent][kind=neutral]{--calcite-internal-button-text-color: var(--calcite-color-text-3);--calcite-internal-button-border-block-start-color: var(--calcite-color-border-input);--calcite-internal-button-border-block-end-color: var(--calcite-color-border-input)}.cancel-editing-button[appearance=transparent][kind=neutral]:hover{--calcite-internal-button-text-color: var(--calcite-color-text-1)}.enable-editing-button--hidden{pointer-events:none;opacity:0;inline-size:0}.enable-editing-button[appearance=transparent][kind=neutral]{--calcite-internal-button-background-color: transparent}calcite-button{--calcite-button-background-color: var(--calcite-inline-editable-button-background-color);--calcite-button-corner-radius: var(--calcite-inline-editable-button-corner-radius);--calcite-button-loader-color: var(--calcite-inline-editable-button-loader-color);--calcite-button-text-color: var(--calcite-inline-editable-button-text-color)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,n={wrapper:"wrapper",confirmChangesButton:"confirm-changes-button",cancelEditingButton:"cancel-editing-button",inputWrapper:"input-wrapper",cancelEditingButtonWrapper:"cancel-editing-button-wrapper",enableEditingButton:"enable-editing-button",enableEditingButtonHidden:"enable-editing-button--hidden",controlsWrapper:"controls-wrapper"},r={check:"check",close:"x",pencil:"pencil"},d=class extends h{constructor(){super(),this.cancelEditingButtonRef=c(),this._editingEnabled=!1,this.enableEditingButtonRef=c(),this.shouldEmitCancel=!1,this.valuePriorToEditing="",this.messages=f(),this.focusSetter=g()(this),this.interactiveContainer=E(this),this.controls=!1,this.disabled=!1,this.loading=!1,this.scale="m",this.calciteInlineEditableEditCancel=l({cancelable:!1}),this.calciteInlineEditableEditConfirm=l({cancelable:!1}),this.calciteInternalInlineEditableEnableEditingChange=l({cancelable:!1}),this.listen("calciteInternalInputBlur",this.blurHandler)}static{this.properties={afterConfirm:[0,{},{attribute:!1}],controls:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],editingEnabled:[7,{},{reflect:!0,type:Boolean}],loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],scale:[3,{},{reflect:!0}]}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=C}get shouldShowControls(){return this.editingEnabled&&this.controls}get editingEnabled(){return this._editingEnabled}set editingEnabled(t){let e=this._editingEnabled;t!==e&&(this._editingEnabled=t,this.editingEnabledWatcher(t,e))}async setFocus(t){return this.focusSetter(()=>this.inputEl,t)}connectedCallback(){super.connectedCallback(),m(this)}disconnectedCallback(){super.disconnectedCallback(),k(this)}editingEnabledWatcher(t,e){this.inputEl&&(this.inputEl.editingEnabled=t),!t&&e&&(this.shouldEmitCancel=!0)}blurHandler(){this.controls||this.disableEditing()}async handleDefaultSlotChange(t){let e=p(t).filter(y=>y.matches("calcite-input"))[0];this.inputEl=e,e&&(await e.componentOnReady(),e.editingEnabled=this.editingEnabled,e.label=e.label||v(this))}onLabelClick(){this.setFocus()}enableEditing(){this.valuePriorToEditing=this.inputEl?.value??"",this.editingEnabled=!0,this.inputEl?.setFocus(),this.calciteInternalInlineEditableEnableEditingChange.emit()}disableEditing(){this.editingEnabled=!1}cancelEditing(){this.inputEl&&(this.inputEl.value=this.valuePriorToEditing),this.disableEditing(),this.enableEditingButtonRef.value?.setFocus(),!this.editingEnabled&&this.shouldEmitCancel&&this.calciteInlineEditableEditCancel.emit()}escapeKeyHandler(t){t.defaultPrevented||(t.key==="Escape"&&(t.preventDefault(),this.cancelEditing()),t.key==="Tab"&&this.shouldShowControls&&(!t.shiftKey&&t.target===this.inputEl&&(t.preventDefault(),this.cancelEditingButtonRef.value?.setFocus()),t.shiftKey&&t.target===this.cancelEditingButtonRef.value&&(t.preventDefault(),this.inputEl?.setFocus())))}async cancelEditingHandler(t){t.preventDefault(),this.cancelEditing()}enableEditingHandler(t){this.disabled||t.target!==this.enableEditingButtonRef.value&&t.target!==this.inputEl||(t.preventDefault(),this.editingEnabled||this.enableEditing())}async confirmChangesHandler(t){t.preventDefault(),this.calciteInlineEditableEditConfirm.emit();try{this.afterConfirm&&(this.loading=!0,await this.afterConfirm(),this.disableEditing(),this.enableEditingButtonRef.value?.setFocus())}catch{}finally{this.loading=!1}}render(){return this.interactiveContainer({disabled:this.disabled,children:a`<div class=${i(n.wrapper)} @click=${this.enableEditingHandler} @keydown=${this.escapeKeyHandler}><div class=${i(n.inputWrapper)}><slot @slotchange=${this.handleDefaultSlotChange}></slot></div><div class=${i(n.controlsWrapper)}><calcite-button appearance=transparent class=${i({[n.enableEditingButton]:!0,[n.enableEditingButtonHidden]:this.editingEnabled})} .iconStart=${r.pencil} kind=neutral .label=${this.messages.enableEditing} @click=${this.enableEditingHandler} .scale=${this.scale} title=${this.messages.enableEditing??s} type=button ${o(this.enableEditingButtonRef)}></calcite-button>${this.shouldShowControls&&[a`<div class=${i(n.cancelEditingButtonWrapper)}><calcite-button appearance=transparent class=${i(n.cancelEditingButton)} .iconStart=${r.close} kind=neutral .label=${this.messages.cancelEditing} @click=${this.cancelEditingHandler} .scale=${this.scale} title=${this.messages.cancelEditing??s} type=button ${o(this.cancelEditingButtonRef)}></calcite-button></div>`,a`<calcite-button appearance=solid class=${i(n.confirmChangesButton)} .iconStart=${r.check} kind=brand .label=${this.messages.confirmChanges} .loading=${this.loading} @click=${this.confirmChangesHandler} .scale=${this.scale} title=${this.messages.confirmChanges??s} type=button></calcite-button>`]||""}</div></div>`})}};b("calcite-inline-editable",d);export{d as InlineEditable};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as t,b as $}from"./Q24FQVQ4.js";import{a as I}from"./
|
|
2
|
+
import{a as t,b as $}from"./Q24FQVQ4.js";import{a as I}from"./NTTXPITY.js";import{b as y}from"./GZZYSINJ.js";import{a as k}from"./YM3XWOJY.js";import{a as s}from"./ZWPNZ5XW.js";import"./5BRHCY56.js";import"./MFPSZIXT.js";import"./AH2ILKOU.js";import"./T6CCMW7H.js";import{E as v,F as g,G as b,H as o,J as l,K as w,S as x,g as f,h as i,p as r}from"./FWMASCBJ.js";var q=f`: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}`,d=class extends b{constructor(){super(),this.childLinkRef=v(),this.focusSetter=k()(this),this.interactiveContainer=I(this),this.disabled=!1,this.activeDescendant=!1,this.scale="m",this.selected=!1,this.selectionMode="single",this.calciteDropdownItemSelect=r({cancelable:!1}),this.calciteInternalDropdownItemSelect=r({cancelable:!1}),this.listen("click",this.onClick),this.listenOn(document.body,"calciteInternalDropdownItemChange",this.updateActiveItemOnChange)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],activeDescendant:[7,{},{reflect:!0,type:Boolean}],href:[3,{},{reflect:!0}],iconEnd:[3,{type:String},{reflect:!0}],iconFlipRtl:[3,{},{reflect:!0}],iconStart:[3,{type:String},{reflect:!0}],label:1,rel:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],selected:[7,{},{reflect:!0,type:Boolean}],selectionMode:1,target:[3,{},{reflect:!0}]}}static{this.styles=q}async setFocus(e){return this.focusSetter(()=>this.el,e)}async activateItem(){if(!this.disabled){if(this.href){this.childLinkRef.value?.click();return}this.emitRequestedItem()}}connectedCallback(){super.connectedCallback(),this.initialize()}load(){this.initialize()}onClick(){this.emitRequestedItem()}updateActiveItemOnChange(e){e.composedPath().includes(this.parentDropdownGroupEl)&&(this.requestedDropdownGroup=e.detail.requestedDropdownGroup,this.requestedDropdownItem=e.detail.requestedDropdownItem,this.determineActiveItem()),e.stopPropagation()}initialize(){this.parentDropdownGroupEl=this.el.closest("calcite-dropdown-group"),this.selectionMode==="none"&&(this.selected=!1)}determineActiveItem(){switch(this.selectionMode){case"multiple":this.el===this.requestedDropdownItem&&(this.selected=!this.selected);break;case"single":this.el===this.requestedDropdownItem?this.selected=!0:this.requestedDropdownGroup===this.parentDropdownGroupEl&&(this.selected=!1);break;case"none":this.selected=!1;break}}emitRequestedItem(){this.calciteDropdownItemSelect.emit(),this.calciteInternalDropdownItemSelect.emit({requestedDropdownItem:this.el,requestedDropdownGroup:this.parentDropdownGroupEl})}render(){let{href:e,selectionMode:c,label:h,iconFlipRtl:n}=this,p=i`<calcite-icon class=${o(t.iconStart)} .flipRtl=${n==="start"||n==="both"} .icon=${this.iconStart} .scale=${s(this.scale)}></calcite-icon>`,a=i`<span class=${o(t.itemContent)}><slot></slot></span>`,m=i`<calcite-icon class=${o(t.iconEnd)} .flipRtl=${n==="end"||n==="both"} .icon=${this.iconEnd} .scale=${s(this.scale)}></calcite-icon>`,u=this.iconStart&&this.iconEnd?[p,a,m]:this.iconStart?[p,a]:this.iconEnd?[a,m]:a,D=e?i`<a .ariaLabel=${h} class=${o(t.link)} href=${e??l} rel=${this.rel??l} tabindex=-1 target=${this.target??l} ${g(this.childLinkRef)}>${u}</a>`:u,S=e?null:c==="single"?"menuitemradio":c==="multiple"?"menuitemcheckbox":"menuitem",C=c!=="none"?y(this.selected):null,{disabled:E}=this;return this.el.ariaChecked=C,this.el.ariaLabel=e?"":h,this.el.role=S,w(this.el,"tabIndex",-1),this.interactiveContainer({disabled:E,children:i`<div class=${o({[t.container]:!0,[t.containerNone]:c==="none"})}>${c!=="none"?i`<calcite-icon class=${o(t.icon)} .icon=${$.check} .scale=${s(this.scale)}></calcite-icon>`:null}${D}</div>`})}};x("calcite-dropdown-item",d);export{d as DropdownItem};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M14 4V2h-2V0h-1v2H9V0H4v2H3v6H1v8h14V4zM3 15H2V9h1zM5 1h3v1H5zm4 14H4V3h5zm1-12h3v1h-3zm4 12h-4v-2h1v-1h-1v-1h1v-1h-1V9h1V8h-1V7h1V6h-1V5h4zm-1-8h-1V6h1zm0 2h-1V8h1zm0 2h-1v-1h1zm0 2h-1v-1h1zM6 5H5V4h1zm2 0H7V4h1zM6 7H5V6h1zm2 0H7V6h1zM6 9H5V8h1zm2 0H7V8h1zm-2 2H5v-1h1zm2 0H7v-1h1zm-2 2H5v-1h1zm2 0H7v-1h1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21 8V6h-2V3h-1v3h-2v2h-1v15h7V8zm-4-1h3v1h-3zm4 15h-5V9h5zm-3-11h-1v-1h1zm0 2h-1v-1h1zm2-2h-1v-1h1zm0 2h-1v-1h1zm-2 2h-1v-1h1zm2 0h-1v-1h1zm-2 2h-1v-1h1zm2 0h-1v-1h1zm-2 2h-1v-1h1zm2 0h-1v-1h1zM13 1H6v2H5v9H2v11h12V3h-1zM5 14H4v1h1v1H4v1h1v1H4v1h1v3H3v-9h2zM7 2h5v1H7zm6 20H6V4h7zM9 6H7V5h2zm0 2H7V7h2zm0 2H7V9h2zm3-4h-2V5h2zm0 2h-2V7h2zm0 2h-2V9h2zm-3 8H7v-1h2zm3 0h-2v-1h2zm-3 2H7v-1h2zm3 0h-2v-1h2zm-3-8H7v-1h2zm0 2H7v-1h2zm0 2H7v-1h2zm3-4h-2v-1h2zm0 2h-2v-1h2zm0 2h-2v-1h2z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M28 13v-3h-1V8h-2V4h-1v4h-2v2h-1v3h-1v18h9V13zm-5-4h3v1h-3zm-1 2h5v2h-5zm6 19h-7V14h7zm-5-13h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zm-4 2h-1v-1h1zm2 0h-1v-1h1zm2 0h-1v-1h1zM7 22H6v-1h1zm0 2H6v-1h1zm0 2H6v-1h1zm0 2H6v-1h1zM17 8h-3V7h3zm-4 0h-3V7h3zm4 2h-3V9h3zm-4 0h-3V9h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-7 0v-1h3v1zm7 2h-3v-1h3zm-4 0h-3v-1h3zm4 2h-3v-1h3zm-4 0h-3v-1h3zm4-27h-7v2H8v16H4v12h15V3h-2zM8 30H5V20h3zm3-28h5v1h-5zm7 2v26H9V4z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m4.904 15.198-.003-.002c-1.361-1.024-1.843-2.768-1.843-3.95 0-1.687 1.047-3.014 2.155-4.417C6.428 5.291 7.683 3.7 7.98 1.34c0 0 .045-.416.421-.491.287-.052.46.003.613.182.82.94 1.615 2.193 1.833 4.929.073.65.34 1.03.735 1.03.007 0 .7-.027.759-1a.59.59 0 0 1 1.14-.174c.91 2.443.737 7.859-2.256 9.033-1.456.404-2.217-.114-2.606-.62-.757-.984-.683-2.672-.182-4.016-1.454.565-2.326 2.1-2.595 4.577 0 0-.08.363-.358.48s-.474.008-.58-.07m4.764-5.924c.122.269.13.438.016.63-.637 1.087-.89 2.91-.27 3.714.107.142.44.573 1.495.282 1.796-.707 2.362-4.072 1.948-6.532-.372.44-.884.621-1.274.621-.732 0-1.571-.509-1.73-1.934-.15-1.877-.574-2.932-1.048-3.66-.507 2.141-1.721 3.677-2.807 5.053-1.041 1.32-1.94 2.458-1.94 3.797 0 .628.204 1.766.905 2.629.629-3.599 2.562-4.636 4.132-4.856 0 0 .416-.055.573.256"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m7.173 22.746-.003-.002c-2.134-1.582-2.134-4.375-2.134-5.876 0-2.44 1.458-4.422 3.003-6.52 1.67-2.269 3.564-4.841 3.992-8.502 0 0 .05-.432.41-.493.292-.05.46-.005.618.17 1.26 1.418 2.632 3.279 2.963 7.436.174 1.548 1.07 2.074 1.453 2.074.24 0 1.554-.39 1.591-2.117a.59.59 0 0 1 .468-.564.6.6 0 0 1 .66.33c1.109 2.518 1.057 6.56-.118 9.409-.753 1.827-1.904 3.088-3.33 3.647-2.235.63-3.369-.086-3.934-.792-1.11-1.385-.954-3.9-.158-5.853-2.619.669-4.11 3.047-4.547 7.238 0 0 .018.36-.35.48a.66.66 0 0 1-.584-.065m5.715-19.875c-.636 3.44-2.439 5.889-4.044 8.07-1.507 2.047-2.808 3.815-2.808 5.927 0 1.246 0 3.232 1.176 4.565.656-4.541 2.698-7.053 6.079-7.475 0 0 .376-.061.564.26.14.248.135.405.03.603-.911 1.696-1.246 4.309-.292 5.5.549.684 1.503.843 2.836.47 1.425-.562 2.272-1.987 2.722-3.081.89-2.156 1.086-5.041.57-7.27-.545 1.11-1.604 1.593-2.246 1.593-.818 0-2.204-.808-2.448-2.978-.258-3.244-1.147-4.925-2.14-6.184"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M11.583 30.39a.6.6 0 0 1-.247-.055c-3.531-1.633-5.321-4.238-5.321-7.744 0-3.5 2.09-6.23 4.304-9.121 2.465-3.22 5.013-6.548 4.694-11.176 0 0-.033-.373.26-.53.25-.127.463-.081.743.038 2.75 1.427 4.165 4.415 4.582 9.656.18 1.62.81 2.52 1.768 2.52.322 0 .854-.157 1.286-.595.504-.51.752-1.265.74-2.243a.59.59 0 0 1 .453-.582.585.585 0 0 1 .667.316c.895 1.86 1.415 4.296 1.463 6.857.08 4.25-1.245 9.343-5.207 10.898-2.703.759-4.072-.121-4.75-.99-1.608-2.056-1.016-5.944.114-8.482-2.59.85-3.923 2.511-4.598 3.82-1.055 2.051-1.215 4.64-.405 6.596a.592.592 0 0 1-.546.817M16.04 2.97c.049 4.608-2.478 7.91-4.927 11.107-2.107 2.753-4.098 5.353-4.098 8.514 0 2.824 1.267 4.923 3.866 6.39-.526-2.05-.254-4.483.765-6.461.843-1.638 2.592-3.762 6.133-4.58 0 0 .436-.078.61.225.138.242.148.441.036.64-1.238 2.181-2.072 6.361-.62 8.22.714.913 1.94 1.134 3.645.657 3.438-1.351 4.6-6.019 4.525-9.931-.035-1.813-.314-3.55-.802-5.036a3.4 3.4 0 0 1-.809 1.37c-.65.658-1.458.893-1.998.893-.717 0-2.42-.334-2.763-3.424-.367-4.6-1.445-7.224-3.563-8.584"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m13.47 5.485-2.123-3.856L9.369 1H8l-.797 2H5l-.91 4H1l-1 8h16V7.39zM15 8v6H1l.883-6H4l-1 3v1h1v-1l1-3 .911-4h1.97l.797-2h.536l.786.25v3.731L11 8v1l1 1v1l-1 1h1l1-1v-1l-1-1V8l-1-2.019V3.073l1.694 3.083L15 7.89z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m19.347 9.845-2.958-5.946L13.76 3h-2.144l-1.039 3H7.862L6.27 12H2.704L1.08 23H23V12.621zM22 22H2.238l1.33-9h2.436l-.987 3.716L5 19h1v-2.09L8.632 7h2.659l1.04-3h1.19L15 4.492v6.29l2 3.288v1.226l1 1.633v.936l-1.375 1.42.719.695L19 18.27v-1.623l-1-1.632V13.79l-2-3.288V5.365l2.556 5.134L22 13.117z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m26.284 13.33-3.945-7.162L18.667 5h-3.023l-1 4h-3.782l-1 7H3.729L.712 31H31V16.867zM30 30H1.933l2.615-13h5.12L8 22v5h1l-.012-4.84L10.73 17l1-7h3.697l1-4h2.085l.489.155v3.29l1.16 3.892 2.66 2.397 1 4.67 2.747 3.594-3.136 3.89.735.556 3.467-4.442-2.86-3.717-1.043-4.877-2.692-2.426L20 9.497V6.473L21.656 7l3.855 7L30 17.367z"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"M15 16H1v-1h14zM9 1C5.
|
|
1
|
+
"M15 16H1v-1h14zM9 1C5.937 1 3.2 2.984 2.345 5.825c-.422 1.4-.393 2.532-.362 3.45L.753 8.048l-.706.707L2.5 11.207l2.453-2.453-.707-.707-1.262 1.262c-.03-.9-.066-1.92.318-3.196C4.032 3.691 6.375 2 9 2c3.309 0 6 2.691 6 6a6 6 0 0 1-2.69 5h1.58a6.97 6.97 0 0 0 2.106-5c0-3.86-3.137-7-6.996-7"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"
|
|
1
|
+
"M5.5 18.207.646 13.354l.708-.708L5 16.293V16c-.086-3.577 1.204-6.889 3.633-9.31 4.9-4.903 12.83-4.904 17.706-.029 4.874 4.874 4.874 12.804 0 17.678A12.5 12.5 0 0 1 24.275 26h-2.16c1.273-.556 2.475-1.327 3.517-2.368 4.483-4.485 4.483-11.78 0-16.264-4.485-4.484-11.78-4.484-16.264 0C7.106 9.624 5.921 12.675 6 15.988v.305l3.646-3.647.708.708zM2 28v1h28v-1z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M13.836 15.14a.488.488 0 0 1-.69.69L9.018 11.7c-1.885 1.539-4.655 1.45-6.412-.307a4.8 4.8 0 0 1 0-6.788q.34-.336.722-.59l.503.153s.169.61.162.615a3.8 3.8 0 0 0-.68.529 3.806 3.806 0 0 0 0 5.374A3.78 3.78 0 0 0 6 11.8a3.78 3.78 0 0 0 2.687-1.113A3.8 3.8 0 0 0 9.798 8h.974a4.8 4.8 0 0 1-1.064 3.01zM5.5 4.5l.467-1.533L7.5 2.5l-1.533-.467L5.5.5l-.467 1.533L3.5 2.5l1.533.467zm1.533 1.533L5.5 6.5l1.533.467L7.5 8.5l.467-1.533L9.5 6.5l-1.533-.467L7.5 4.5zm4.467.717.65-2.6 2.6-.65-2.6-.65-.65-2.6-.65 2.6-2.6.65 2.6.65z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M21.842 22.134a.5.5 0 0 1-.708.708l-6.843-6.843A7.26 7.26 0 0 1 9.5 17.8a7.3 7.3 0 0 1-7.3-7.3 7.3 7.3 0 0 1 3.908-6.461c.13.335.38.604.701.773C4.68 5.824 3.2 7.989 3.2 10.5c0 3.474 2.826 6.3 6.3 6.3 3.305 0 6.018-2.56 6.274-5.8h1.003a7.27 7.27 0 0 1-1.778 4.291zM10.5 6.5l.6-2.4 2.4-.6-2.4-.6-.6-2.4-.6 2.4-2.4.6 2.4.6zm1.4 2.4-2.4.6 2.4.6.6 2.4.6-2.4 2.4-.6-2.4-.6-.6-2.4zm4.9-2.7.7 3.8.7-3.8 3.8-.7-3.8-.7-.7-3.8-.7 3.8-3.8.7z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M28.954 30.954a.5.5 0 0 1-.708 0l-9.541-9.542c-3.651 3.281-9.27 3.177-12.781-.334-3.632-3.633-3.632-9.522 0-13.154a9.3 9.3 0 0 1 2.725-1.88l1.933.374.002.013a8.24 8.24 0 0 0-3.953 2.2c-3.236 3.236-3.236 8.503 0 11.74 3.235 3.234 8.502 3.234 11.738-.002A8.24 8.24 0 0 0 20.775 15h1.001a9.26 9.26 0 0 1-2.363 5.706l9.54 9.54a.5.5 0 0 1 0 .708M12.5 8.437l.638-3.3 3.3-.637-3.3-.638-.638-3.3-.638 3.3-3.3.638 3.3.637zm2.362 5.425-3.3.638 3.3.638.638 3.3.638-3.3 3.3-.638-3.3-.638-.638-3.3zM20.6 8.4l.9 4.6.9-4.6 4.6-.9-4.6-.9-.9-4.6-.9 4.6-4.6.9z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m13.041 10.581 2.702 1.575-.504.864-2.686-1.566.759 3.008-.97.244-.999-3.957-1.888-1.1q-.203.168-.455.26v2.383l2.92 2.911-.707.71L9 13.704V16H8v-2.295L5.788 15.91l-.707-.707L8 12.293V9.908a1.5 1.5 0 0 1-.455-.26l-1.888 1.1-1 3.958-.97-.244.76-3.009L1.76 13.02l-.504-.864 2.702-1.575-2.956-.799.262-.965 3.909 1.056 1.856-1.082A1.5 1.5 0 0 1 7 8.5q.002-.136.027-.267l-1.854-1.08L1.292 8.2l-.262-.965 2.929-.791L1.257 4.87l.504-.863 2.686 1.565-.76-3.008.97-.244 1 3.958 1.87 1.09q.208-.182.473-.276V4.708L5.08 1.797l.707-.71L8 3.296V1h1v2.295l2.212-2.206.707.707L9 4.707v2.385q.265.095.473.275l1.87-1.09 1-3.957.969.244-.76 3.009 2.687-1.566.504.863-2.702 1.575 2.951.798-.262.965-3.904-1.055-1.853 1.08q.025.13.027.267 0 .15-.03.292l1.857 1.082 3.905-1.056.262.965z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m23.114 13.604-5.179 1.423-1.23-2.544 1.165-2.507.025-.014 5.22 1.434.265-.964-4.268-1.172 3.597-2.077-.5-.866-3.576 2.065 1.098-4.272-.968-.248-1.342 5.22-.002.001-2.867-.183L13 6.734v-.206l3.85-3.77-.7-.715L13 5.128V1h-1v4.154l-3.148-3.11-.704.712L12 6.559v.155L10.434 8.9l-2.854.182h-.001l-1.342-5.22-.968.248 1.098 4.272L2.79 6.317l-.5.866L5.888 9.26 1.62 10.432l.266.964 5.19-1.426 1.219 2.521-1.18 2.542-.01.005-5.22-1.434-.265.964 4.268 1.172-3.597 2.077.5.866 3.576-2.065-1.098 4.272.968.248 1.342-5.22.123-.07 2.72.173L12 18.222v.25l-3.85 3.77.7.715L12 19.872V24h1v-4.154l3.148 3.11.704-.712L13 18.441v-.24l1.563-2.18 2.733-.175.125.072 1.342 5.22.968-.248-1.098-4.272 3.576 2.065.5-.866-3.597-2.077 4.268-1.172zm-6.698.58-2.444-1.41Q14 12.64 14 12.5c.001-.14-.011-.184-.028-.273l2.39-1.38-.764 1.644zm-2.401-4.317 1.841.118-2.387 1.379a1.5 1.5 0 0 0-.469-.272V8.45zm-3.044 0L12 8.43v2.662a1.5 1.5 0 0 0-.469.272l-2.389-1.38zm-2.37.958 2.427 1.402Q11 12.36 11 12.5c-.001.14.011.184.028.273l-2.406 1.39.78-1.68zm2.359 4.229-1.696-.109 2.267-1.309q.207.178.469.272v2.598zm3.065 0L13 16.484v-2.576q.261-.094.469-.272l2.265 1.308z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m30.165 19.01-5.659 1.519-.23-.133L22.633 17H26v-1h-3.379l1.57-3.381.275-.159 5.699 1.53.26-.965-4.734-1.27 3.99-2.3-.5-.868-3.984 2.297 1.282-4.701-.965-.264-1.546 5.673-.282.163-3.752-.239 1.655-2.931-.871-.492-1.662 2.942L17 8.165v-.45l4.144-4.173-.71-.705L17 6.297V2h-1v4.302l-3.465-3.466-.707.707L16 7.717v.417l-2.078 2.902-1.662-2.943-.871.492 1.656 2.931-3.76.24-.282-.164L7.457 5.92l-.965.264 1.282 4.7-3.985-2.296-.5.867 3.99 2.3-4.733 1.271.26.965 5.698-1.53.21.12L10.365 16H7v1h3.379L8.84 20.312l-.376.217-5.658-1.52-.26.966 4.694 1.26-3.927 2.263.5.867 3.971-2.289-1.292 4.741.965.264 1.557-5.713.341-.197 3.674.234-1.655 2.93.871.493 1.662-2.942L16 24.808v.465l-4.173 4.2.71.705L16 26.693V31h1v-4.302l3.434 3.479.71-.703-4.144-4.2v-.497l2.071-2.892 1.662 2.943.871-.492-1.655-2.931 3.667-.234.34.197 1.558 5.713.965-.264-1.293-4.74 3.971 2.288.5-.867-3.926-2.263 4.694-1.26zm-8.882-2.506 1.452 3.004-3.87-2.231A2.5 2.5 0 0 0 19 16.5c0-.283-.057-.551-.144-.805l3.83-2.208zm-2.445-4.057 3.283.21-3.772 2.174a2.5 2.5 0 0 0-1.349-.78V9.88zm-4.697 0L16 9.851v4.2a2.5 2.5 0 0 0-1.359.791l-3.79-2.184zm-2.424 4.05-1.464-3.029 3.887 2.24c-.084.25-.14.514-.14.792 0 .268.053.52.131.762l-3.785 2.182zm2.905 1.638c.354.406.83.703 1.378.815v4.142l-1.875-2.618-3.205-.205zm4.23 2.339L17 23.06v-4.11a2.5 2.5 0 0 0 1.368-.804l3.683 2.123z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M15.856 16H1.144L7 13.438v1.054L5.856 15h5.288L10 14.492v-1.095zm-2.748-6.946.471.085-.064.473c-.01.066-.23 1.592-1.644 2.614A4.18 4.18 0 0 1 9 12.983V14H8v-1.02a4.17 4.17 0 0 1-2.871-.753c-1.414-1.023-1.635-2.55-1.644-2.615l-.064-.473.47-.085c.064-.013 1.593-.273 2.995.74.514.37.868.81 1.114 1.223V8.998a4.18 4.18 0 0 1-2.871-.757C3.715 7.22 3.494 5.693 3.485 5.63l-.064-.475.47-.085c.064-.012 1.593-.272 2.995.74.514.371.868.812 1.114 1.225V6.19c-.312-.364-1-1.32-1-2.691C7 1.771 8.105.686 8.153.64l.344-.332.347.33C8.892.683 9.97 1.755 9.97 3.5c0 1.38-.656 2.329-.97 2.692v.842c.246-.413.6-.854 1.114-1.224 1.4-1.013 2.929-.752 2.994-.74l.471.084-.064.475c-.01.064-.23 1.59-1.644 2.612A4.18 4.18 0 0 1 9 8.998v2.02c.246-.413.6-.853 1.114-1.224 1.4-1.013 2.929-.752 2.994-.74m-3.482-1.04c.437-.028 1.064-.154 1.66-.583s.911-.986 1.075-1.392a3.2 3.2 0 0 0-1.66.581c-.592.427-.91.985-1.075 1.395m-2.252 0A3.2 3.2 0 0 0 6.3 6.62a3.2 3.2 0 0 0-1.661-.58c.164.405.481.961 1.076 1.39s1.222.556 1.659.585m0 3.982A3.2 3.2 0 0 0 6.3 10.604a3.2 3.2 0 0 0-1.661-.58c.164.406.481.961 1.076 1.391s1.223.555 1.659.581M9 3.5c0-.733-.265-1.316-.499-1.687C8.268 2.187 8 2.771 8 3.5s.267 1.313.502 1.687A3.2 3.2 0 0 0 9 3.5m3.361 6.523a3.2 3.2 0 0 0-1.66.581 3.2 3.2 0 0 0-1.075 1.395 3.2 3.2 0 0 0 1.66-.584 3.17 3.17 0 0 0 1.075-1.392"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M22.975 24H2.103L11 20.213v1.046L6.956 23h11.128L14 21.257V20.17zM12 17.232v-4.529h-.757c-1.016 0-2.48-.179-3.674-1.031-1.215-.868-1.861-2.216-2.188-3.193l-.36-1.153H6.21c1.514 0 2.768.347 3.726 1.03 1.093.783 1.71 1.939 2.064 2.876v-1.53l-.176-.236c-.682-.914-1.814-2.444-1.814-4.232 0-1.8 1.13-3.322 1.812-4.232l.702-.937.7.938c.879 1.175 1.766 2.597 1.766 4.231 0 1.645-.886 3.063-1.763 4.234L13 9.77v1.6c.345-.96.973-2.197 2.114-3.013 1.195-.852 2.658-1.03 3.676-1.03h1.158l-.27 1.112c-.342 1.021-.989 2.369-2.197 3.232-1.195.853-2.658 1.032-3.674 1.032H13v4.668c.345-.961.973-2.198 2.114-3.014 1.195-.852 2.658-1.03 3.676-1.03h1.158l-.27 1.112c-.342 1.021-.989 2.369-2.197 3.232-1.195.853-2.658 1.032-3.674 1.032H13V21h-1v-2.297h-.757c-1.016 0-2.48-.179-3.674-1.031-1.215-.868-1.861-2.216-2.188-3.192l-.372-1.154H6.21c1.514 0 2.768.347 3.726 1.03 1.093.783 1.71 1.939 2.064 2.876m-.882.47c-.295-.817-.83-1.864-1.764-2.531-.749-.535-1.747-.818-2.967-.843.293.814.829 1.862 1.763 2.53.933.665 2.107.83 2.968.844m2.818 0c.86-.015 2.032-.18 2.964-.845.926-.662 1.463-1.71 1.76-2.53-.862.015-2.033.18-2.965.844-.927.663-1.464 1.712-1.76 2.531m0-6c.86-.015 2.032-.18 2.964-.845.926-.662 1.463-1.71 1.76-2.53-.862.015-2.033.18-2.965.844-.927.663-1.464 1.712-1.76 2.531m-2.818 0c-.295-.817-.83-1.864-1.764-2.531-.749-.535-1.747-.818-2.968-.843.292.81.829 1.861 1.764 2.53.933.665 2.107.83 2.968.844m1.408-2.968C13.063 8.011 14 6.673 14 5.234c0-1.43-.938-2.773-1.478-3.499-.61.82-1.522 2.11-1.522 3.5 0 1.38.913 2.674 1.526 3.5"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M29.877 32H3.123L15 27.168v1.042L8.197 31h16.606L18 28.21v-1.081zM24.69 18h1.39l-.496 1.52c-.41 1.232-.971 2.917-2.52 4.022-1.841 1.316-4 1.458-4.844 1.458H17v3h-1v-3h-1.22c-.844 0-3.003-.142-4.846-1.458-1.547-1.105-2.108-2.79-2.518-4.021L6.92 18h1.39c1.164 0 2.91.14 4.612 1.356 1.563 1.118 2.432 2.963 2.884 4.315l.194.58V17h-1.209c-.836 0-2.976-.142-4.802-1.458-1.533-1.105-2.089-2.79-2.495-4.021L7.002 10H8.38c1.153 0 2.883.14 4.57 1.356 1.549 1.118 2.41 2.963 2.858 4.315l.192.58v-3.503l-.3-.406c-1.057-1.43-1.69-3.52-1.69-5.593 0-2.08.632-4.172 1.687-5.595l.801-1.08.8 1.082c1.06 1.43 1.691 3.52 1.691 5.593 0 2.112-.615 4.152-1.686 5.595L17 12.75v3.5l.191-.578c.45-1.353 1.31-3.198 2.859-4.316C21.737 10.141 23.467 10 24.62 10h1.378l-.492 1.52c-.406 1.232-.962 2.917-2.496 4.022C21.185 16.858 19.045 17 18.209 17H17v7.25l.193-.578c.453-1.353 1.322-3.198 2.885-4.316C21.78 18.141 23.526 18 24.69 18m-6.55-2h.069c.577 0 2.585-.09 4.22-1.259 1.27-.905 1.745-2.337 2.128-3.486l.064-.192c-1.017 0-2.536.12-3.99 1.159-1.331.95-2.089 2.579-2.49 3.778m-3.28 0c-.402-1.198-1.16-2.827-2.492-3.778-1.453-1.038-2.972-1.159-3.988-1.159H8.38l.064.192c.383 1.15.859 2.58 2.127 3.486C12.206 15.91 14.214 16 14.791 16zm0 8c-.402-1.198-1.16-2.827-2.492-3.778-1.453-1.038-2.972-1.159-3.988-1.159H8.38l.064.192c.383 1.15.859 2.58 2.127 3.486C12.206 23.91 14.214 24 14.791 24zm1.642-12.277c.932-1.242 1.487-3.09 1.487-4.944 0-1.845-.557-3.693-1.491-4.944-.932 1.243-1.487 3.092-1.487 4.944 0 1.847.557 3.695 1.491 4.944m8.12 7.34h-.002c-1.016 0-2.535.12-3.988 1.159-1.332.95-2.09 2.579-2.491 3.778h.068c.577 0 2.585-.09 4.22-1.259 1.27-.905 1.745-2.337 2.128-3.486z"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"m14.645 13.954-2.807-2.786c.15-1.012.544-4.61-1.156-6.268C8.226 2.507 4.457 1.331 1 1.058c.472 2.737 1.606 7.432 3.585 9.391 2.156 2.133 4.011 1.466 6.519 1.4l2.835 2.815zM5.289 9.738c-1.694-1.677-2.718-5.906-3.061-7.55 1.514.23 5.286 1.022 7.756 3.43 1.021.995 1.078 3.204.954 4.656L5.465 4.84l-.704.71 5.386 5.348c-2.128.15-3.327.355-4.858-1.16"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M22.262 21.594a29.8 29.8 0 0 0-4.558-4.673c.244-1.27.961-6.225-1.947-9.183-3.475-3.532-8.85-5.43-13.748-5.733.692 3.95 2.409 10.753 5.244 13.589 3.22 3.22 5.789 2.342 9.648 2.04l3.598 5.422zM7.96 14.887c-2.71-2.71-4.291-9.62-4.73-11.777 1.95.246 7.853 1.302 11.814 5.33 2.185 2.221 2.005 5.927 1.78 7.638L8.397 7.713l-.704.71 8.345 8.286c-3.566.35-5.473.784-8.079-1.822"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"M29.306 28.812c-2.5-4.031-5.691-6.335-6.654-6.973.094-.619.283-2.052.328-3.795.103-3.972-.727-6.827-2.468-8.487C14.919 4.225 3.282 2.204 2.789 2.12l-.697-.118.122.697c.09.517 2.26 12.695 6.808 17.241C11.167 22.085 13.254 23 16 23c.896 0 1.817-.093 2.793-.19a40 40 0 0 1 3.047-.216l5.364 8.379.425-.286c.043-.029 1.065-.718 1.605-1.258l.28-.28zm-7.554-7.785-11.32-11.24-.704.71 11.215 11.135c-.782.046-1.532.11-2.25.182-.95.096-1.847.186-2.693.186-1.82 0-3.839-.335-6.27-2.767-3.717-3.715-5.854-13.295-6.394-15.99 2.634.53 11.887 2.652 16.486 7.038 1.528 1.456 2.254 4.06 2.158 7.738a31 31 0 0 1-.228 3.008m5.737 8.536-3.446-5.382a23 23 0 0 1 4.19 4.807 13 13 0 0 1-.744.575"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"clear":"Clear value","loading":"Loading","required":"Required"}
|
|
1
|
+
{"cancelInlineEditing":"Cancel","clear":"Clear value","confirmInlineEditingChanges":"Save","enableInlineEditing":"Edit","loading":"Loading","required":"Required"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"clear":"Clear value","loading":"Loading","required":"Required"}
|
|
1
|
+
{"cancelInlineEditing":"Cancel","clear":"Clear value","confirmInlineEditingChanges":"Save","enableInlineEditing":"Edit","loading":"Loading","required":"Required"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"clear":"Clear value","loading":"Loading","required":"Required"}
|
|
1
|
+
{"cancelInlineEditing":"Cancel","clear":"Clear value","confirmInlineEditingChanges":"Save","enableInlineEditing":"Edit","loading":"Loading","required":"Required"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"clear":"Clear value","loading":"Loading","required":"Required"}
|
|
1
|
+
{"cancelInlineEditing":"Cancel","clear":"Clear value","confirmInlineEditingChanges":"Save","enableInlineEditing":"Edit","loading":"Loading","required":"Required"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"clear":"Clear value","loading":"Loading","required":"Required"}
|
|
1
|
+
{"cancelInlineEditing":"Cancel","clear":"Clear value","confirmInlineEditingChanges":"Save","enableInlineEditing":"Edit","loading":"Loading","required":"Required"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"clear":"Clear value","loading":"Loading","required":"Required"}
|
|
1
|
+
{"cancelInlineEditing":"Cancel","clear":"Clear value","confirmInlineEditingChanges":"Save","enableInlineEditing":"Edit","loading":"Loading","required":"Required"}
|