@arcgis/map-components 4.33.0-next.88 → 4.33.0-next.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/{5OEIQAWK.js → 3ED7Z6PD.js} +2 -2
- package/dist/arcgis-map-components/{2BU5MNXW.js.LEGAL.txt → 3ED7Z6PD.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/3LG7SIVP.js +5 -0
- package/dist/arcgis-map-components/{23KC53SG.js.LEGAL.txt → 3LG7SIVP.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{VRKZ5LFI.js → 4MG3W3IF.js} +2 -2
- package/dist/arcgis-map-components/{2ISCG3YL.js.LEGAL.txt → 4MG3W3IF.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{CN5IBQNQ.js → 4PUXHT34.js} +2 -2
- package/dist/arcgis-map-components/{26LFV752.js.LEGAL.txt → 4PUXHT34.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{FNYHGQ6K.js → 4W4SCA5K.js} +2 -2
- package/dist/arcgis-map-components/4W4SCA5K.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BQV4O45H.js → 5J47AX2E.js} +2 -2
- package/dist/arcgis-map-components/5J47AX2E.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GV7DFVSK.js → 5NDLUVU5.js} +2 -2
- package/dist/arcgis-map-components/5NDLUVU5.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2ISCG3YL.js → 65LEEBEN.js} +2 -2
- package/dist/arcgis-map-components/65LEEBEN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HD4FXQQT.js → 6GLYYYUR.js} +2 -2
- package/dist/arcgis-map-components/6GLYYYUR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{4HYIOPAM.js → 6S5TABGF.js} +2 -2
- package/dist/arcgis-map-components/6S5TABGF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/6TNESY74.js +5 -0
- package/dist/arcgis-map-components/6TNESY74.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/76YWLYLC.js +5 -0
- package/dist/arcgis-map-components/76YWLYLC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YYD5JLYV.js → A2TMTZMO.js} +2 -2
- package/dist/arcgis-map-components/A2TMTZMO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/AZLAJ3LI.js +4 -0
- package/dist/arcgis-map-components/AZLAJ3LI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{KDPGY5VP.js → BJJT4ZFM.js} +2 -2
- package/dist/arcgis-map-components/BJJT4ZFM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/BS4N46A7.js +5 -0
- package/dist/arcgis-map-components/BS4N46A7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6FWLS6VO.js → CMYNGXYJ.js} +2 -2
- package/dist/arcgis-map-components/CMYNGXYJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GPQ7EPNU.js → COS56GXI.js} +2 -2
- package/dist/arcgis-map-components/COS56GXI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{FO5SHJIY.js → COV7276X.js} +2 -2
- package/dist/arcgis-map-components/COV7276X.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{APBHQKY2.js → CU6DCKLD.js} +2 -2
- package/dist/arcgis-map-components/CU6DCKLD.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GFCBL2PH.js → CYBOBOP4.js} +2 -2
- package/dist/arcgis-map-components/CYBOBOP4.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/DE73EVBR.js +5 -0
- package/dist/arcgis-map-components/DE73EVBR.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{7UIUH3RD.js → E3JXPXSM.js} +2 -2
- package/dist/arcgis-map-components/E3JXPXSM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{5B37ILFB.js → ERBCHEZH.js} +2 -2
- package/dist/arcgis-map-components/ERBCHEZH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ES77MR3E.js +5 -0
- package/dist/arcgis-map-components/ES77MR3E.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{23KC53SG.js → F5J2IOHN.js} +2 -2
- package/dist/arcgis-map-components/F5J2IOHN.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QYZPW5HT.js → F7QQNWSG.js} +2 -2
- package/dist/arcgis-map-components/F7QQNWSG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QS4RWZOX.js → FHNAJ5PO.js} +2 -2
- package/dist/arcgis-map-components/FHNAJ5PO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6YY3CTAP.js → G3QBJGNA.js} +2 -2
- package/dist/arcgis-map-components/G3QBJGNA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{26LFV752.js → GPAIUL32.js} +2 -2
- package/dist/arcgis-map-components/GPAIUL32.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/HRFMDI2D.js +6 -0
- package/dist/arcgis-map-components/{J7FONBLF.js.LEGAL.txt → HRFMDI2D.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{VZ4A7Z72.js → HT7JZG46.js} +2 -2
- package/dist/arcgis-map-components/HT7JZG46.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QO5HQ4PK.js → HTVJIB5A.js} +2 -2
- package/dist/arcgis-map-components/HTVJIB5A.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/I56KAHPL.js +5 -0
- package/dist/arcgis-map-components/I56KAHPL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{AADU4QIT.js → IC2GOV3R.js} +1 -1
- package/dist/arcgis-map-components/IC2GOV3R.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/ICTIZ5TA.js +5 -0
- package/dist/arcgis-map-components/ICTIZ5TA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{3G42T4L6.js → ING6MZEW.js} +1 -1
- package/dist/arcgis-map-components/ING6MZEW.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/IP3IUU4W.js +5 -0
- package/dist/arcgis-map-components/IP3IUU4W.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TQTIMPN3.js → IPKD6MBJ.js} +2 -2
- package/dist/arcgis-map-components/IPKD6MBJ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YU6CLFLV.js → IVXTLLMR.js} +2 -2
- package/dist/arcgis-map-components/{OHTDR2EC.js → JAQWZ4KC.js} +2 -2
- package/dist/arcgis-map-components/JAQWZ4KC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GS6TARDK.js → JIRXDDGR.js} +2 -2
- package/dist/arcgis-map-components/{GS6TARDK.js.LEGAL.txt → JIRXDDGR.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{SMPB3QR7.js → JNNJ7Y62.js} +2 -2
- package/dist/arcgis-map-components/JNNJ7Y62.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HSFKDO7N.js → JXBBK57L.js} +2 -2
- package/dist/arcgis-map-components/JXBBK57L.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/KMCBFY43.js +5 -0
- package/dist/arcgis-map-components/KMCBFY43.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HJHZARLF.js → KMP73JRU.js} +2 -2
- package/dist/arcgis-map-components/KMP73JRU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QUKBVYWK.js → KMVXO3XE.js} +2 -2
- package/dist/arcgis-map-components/KMVXO3XE.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TQVA424L.js → KPXHHV73.js} +2 -2
- package/dist/arcgis-map-components/KPXHHV73.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{W5RX5ZBC.js → KREHMDLZ.js} +2 -2
- package/dist/arcgis-map-components/KREHMDLZ.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/KXESGL7H.js +5 -0
- package/dist/arcgis-map-components/KXESGL7H.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{62W6JD3G.js → LRJGLI6F.js} +2 -2
- package/dist/arcgis-map-components/LRJGLI6F.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/M2KHYOYL.js +5 -0
- package/dist/arcgis-map-components/M2KHYOYL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{MCVYKNA7.js → M5ALHCVH.js} +2 -2
- package/dist/arcgis-map-components/M5ALHCVH.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{CXI3SZFH.js → M7BSS6M7.js} +2 -2
- package/dist/arcgis-map-components/M7BSS6M7.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2PRI4HKJ.js → MDWXNVPS.js} +2 -2
- package/dist/arcgis-map-components/MDWXNVPS.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/N4LIR6QA.js +5 -0
- package/dist/arcgis-map-components/N4LIR6QA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{73UWHJZS.js → NQPEW5NI.js} +2 -2
- package/dist/arcgis-map-components/NQPEW5NI.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OFSOFSWY.js +5 -0
- package/dist/arcgis-map-components/OFSOFSWY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TVM7HV52.js → OHEVSL4O.js} +2 -2
- package/dist/arcgis-map-components/OHEVSL4O.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OELMXKTQ.js → ONS4WMSY.js} +2 -2
- package/dist/arcgis-map-components/ONS4WMSY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/OP536FTX.js +5 -0
- package/dist/arcgis-map-components/OP536FTX.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{CHY7M4OE.js → OSISFTYM.js} +2 -2
- package/dist/arcgis-map-components/OSISFTYM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{IJ2B3AVI.js → OTX3FWET.js} +2 -2
- package/dist/arcgis-map-components/OTX3FWET.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{GLQKRJ3X.js → P23P7GQM.js} +2 -2
- package/dist/arcgis-map-components/P23P7GQM.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{TEKJHFWC.js → P7YO6L2Z.js} +2 -2
- package/dist/arcgis-map-components/P7YO6L2Z.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{YQQPRS25.js → RGP66233.js} +2 -2
- package/dist/arcgis-map-components/RGP66233.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XUSYNS5L.js → RO4463MT.js} +2 -2
- package/dist/arcgis-map-components/RO4463MT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{3LE67RLN.js → RR56GK2P.js} +2 -2
- package/dist/arcgis-map-components/RR56GK2P.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/T5JG2LWY.js +5 -0
- package/dist/arcgis-map-components/T5JG2LWY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{PT4BDEK4.js → TD2SY5RT.js} +2 -2
- package/dist/arcgis-map-components/TD2SY5RT.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{6EWLWUHJ.js → TGGRUPA3.js} +2 -2
- package/dist/arcgis-map-components/TGGRUPA3.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{HZSWZKLC.js → TOC6Q5NB.js} +2 -2
- package/dist/arcgis-map-components/TOC6Q5NB.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BM5LF6RF.js → TTL2QZWG.js} +2 -2
- package/dist/arcgis-map-components/TTL2QZWG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/TWPGMQLF.js +5 -0
- package/dist/arcgis-map-components/TWPGMQLF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{BI5CNKTG.js → U3Q564TT.js} +2 -2
- package/dist/arcgis-map-components/{2WWSQWLN.js → UB3HD4CA.js} +2 -2
- package/dist/arcgis-map-components/UB3HD4CA.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/UCS55DHL.js +4 -0
- package/dist/arcgis-map-components/UCS55DHL.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{XGYKADPQ.js → UYODLIQV.js} +2 -2
- package/dist/arcgis-map-components/UYODLIQV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{2BU5MNXW.js → WBXW4FML.js} +1 -1
- package/dist/arcgis-map-components/WBXW4FML.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{WEX2QSCL.js → WJRIRHBG.js} +2 -2
- package/dist/arcgis-map-components/WJRIRHBG.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{E5CHXAIC.js → WRKL7NFO.js} +2 -2
- package/dist/arcgis-map-components/WRKL7NFO.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{OLESLZEU.js → WSITY47C.js} +2 -2
- package/dist/arcgis-map-components/WSITY47C.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{F2VQPSEP.js → XDPKV4XC.js} +2 -2
- package/dist/arcgis-map-components/XDPKV4XC.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{PT2G3ZVJ.js → XESCRFRV.js} +2 -2
- package/dist/arcgis-map-components/XESCRFRV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{4UFRXED6.js → XJA7KDYF.js} +2 -2
- package/dist/arcgis-map-components/XJA7KDYF.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{SR3FW6OY.js → XQAHHRA2.js} +2 -2
- package/dist/arcgis-map-components/XQAHHRA2.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{44HCKB4W.js → YKFUSECY.js} +2 -2
- package/dist/arcgis-map-components/YKFUSECY.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{JNTRI2A2.js → YYXIESAU.js} +2 -2
- package/dist/arcgis-map-components/YYXIESAU.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{H7NFZYEC.js → ZHYZMPUK.js} +2 -2
- package/dist/arcgis-map-components/{H7NFZYEC.js.LEGAL.txt → ZHYZMPUK.js.LEGAL.txt} +1 -1
- package/dist/arcgis-map-components/{O5Q4DPGR.js → ZIFKKCYV.js} +2 -2
- package/dist/arcgis-map-components/ZIFKKCYV.js.LEGAL.txt +3 -0
- package/dist/arcgis-map-components/{QXEYMD4U.js → ZLQ2KZ7N.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.css +1 -1
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js.LEGAL.txt +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +99 -95
- package/dist/chunks/createCloseEvent.js +14 -0
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/layer-list.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +10 -9
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -9
- package/dist/components/arcgis-bookmarks/customElement.js +8 -7
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +12 -11
- package/dist/components/arcgis-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +5 -5
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +2 -1
- package/dist/components/arcgis-features/customElement.js +10 -9
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +12 -3
- package/dist/components/arcgis-layer-list/customElement.js +12 -11
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +2 -2
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +2 -2
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +3 -2
- package/dist/components/arcgis-table-list/customElement.js +10 -9
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/createCloseEvent.d.ts +13 -0
- package/dist/docs/api.json +48 -596
- package/dist/docs/docs.json +336 -755
- package/dist/docs/vscode.html-custom-data.json +6 -112
- package/dist/docs/web-types.json +69 -217
- package/dist/index.d.ts +6 -20
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -2
- package/dist/types/lumina.d.ts +6 -7
- package/dist/types/preact.d.ts +6 -8
- package/dist/types/react.d.ts +6 -9
- package/dist/types/stencil.d.ts +6 -7
- package/dist/utils/component-utils.d.ts +4 -4
- package/package.json +5 -5
- package/dist/arcgis-map-components/2PRI4HKJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/2WWSQWLN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/3G42T4L6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/3LE67RLN.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/44HCKB4W.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4BTWJDSR.js +0 -5
- package/dist/arcgis-map-components/4BTWJDSR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4HYIOPAM.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/4UFRXED6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5B37ILFB.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5HJU47EE.js +0 -5
- package/dist/arcgis-map-components/5HJU47EE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/5OEIQAWK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/62W6JD3G.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6EWLWUHJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6FWLS6VO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/6YY3CTAP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/73UWHJZS.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7PTG724M.js +0 -5
- package/dist/arcgis-map-components/7PTG724M.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/7UIUH3RD.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AADU4QIT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/AHEL7I25.js +0 -5
- package/dist/arcgis-map-components/AHEL7I25.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/APBHQKY2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BM5LF6RF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BQV4O45H.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/BU3UMQYO.js +0 -5
- package/dist/arcgis-map-components/BU3UMQYO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/C2H243I6.js +0 -5
- package/dist/arcgis-map-components/C2H243I6.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CHY7M4OE.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CN5IBQNQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CTROO26M.js +0 -5
- package/dist/arcgis-map-components/CTROO26M.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/CXI3SZFH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/DH64LBJH.js +0 -5
- package/dist/arcgis-map-components/DH64LBJH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/E5CHXAIC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/F2VQPSEP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FNYHGQ6K.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/FO5SHJIY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GFCBL2PH.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GLQKRJ3X.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GPQ7EPNU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/GV7DFVSK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HD4FXQQT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HJHZARLF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HSFKDO7N.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/HZSWZKLC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IJ2B3AVI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/IMMJWY5K.js +0 -4
- package/dist/arcgis-map-components/IMMJWY5K.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/J7FONBLF.js +0 -6
- package/dist/arcgis-map-components/JNTRI2A2.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/KDPGY5VP.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/KSJUAQDQ.js +0 -5
- package/dist/arcgis-map-components/KSJUAQDQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/LHIG3SMU.js +0 -5
- package/dist/arcgis-map-components/LHIG3SMU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MCVYKNA7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/MNQIRJRO.js +0 -5
- package/dist/arcgis-map-components/MNQIRJRO.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/O5Q4DPGR.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OELMXKTQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OHTDR2EC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/OLESLZEU.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PT2G3ZVJ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/PT4BDEK4.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QHJD4HBY.js +0 -5
- package/dist/arcgis-map-components/QHJD4HBY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QO5HQ4PK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QS4RWZOX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QUKBVYWK.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/QYZPW5HT.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/R5RPGIDX.js +0 -5
- package/dist/arcgis-map-components/R5RPGIDX.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RM2NJ3N5.js +0 -5
- package/dist/arcgis-map-components/RM2NJ3N5.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/RPFLVR5Z.js +0 -5
- package/dist/arcgis-map-components/RPFLVR5Z.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SMPB3QR7.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/SR3FW6OY.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/STFHSKJI.js +0 -5
- package/dist/arcgis-map-components/STFHSKJI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TEKJHFWC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TQTIMPN3.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TQVA424L.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/TVM7HV52.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/VRKZ5LFI.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/VZ4A7Z72.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/W5RX5ZBC.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/WEX2QSCL.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XGYKADPQ.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/XUSYNS5L.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YLO6VPWF.js +0 -5
- package/dist/arcgis-map-components/YLO6VPWF.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YQQPRS25.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/YYD5JLYV.js.LEGAL.txt +0 -3
- package/dist/arcgis-map-components/ZM2XDH2T.js +0 -5
- package/dist/arcgis-map-components/ZM2XDH2T.js.LEGAL.txt +0 -3
- package/dist/components/arcgis-histogram/customElement.d.ts +0 -76
- package/dist/components/arcgis-histogram/customElement.js +0 -34
- package/dist/components/arcgis-histogram/index.d.ts +0 -1
- package/dist/components/arcgis-histogram/index.js +0 -1
- /package/dist/arcgis-map-components/{YU6CLFLV.js.LEGAL.txt → IVXTLLMR.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{BI5CNKTG.js.LEGAL.txt → U3Q564TT.js.LEGAL.txt} +0 -0
- /package/dist/arcgis-map-components/{QXEYMD4U.js.LEGAL.txt → ZLQ2KZ7N.js.LEGAL.txt} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{$$ as _0,a as f}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{$$ as _0,a as f}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as w}from"./XQAHHRA2.js";import{a}from"./IC2GOV3R.js";import{f as v}from"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as h,H as d,I as o,K as g,M as p,b as l,r as c,s as n,u as m,v as i}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([u])=>{var y=n`@layer{arcgis-home{display:block}}`,M={base:"esri-home"},$=f(u),r=class extends d{constructor(){super(...arguments),this.messages=w(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.goToOverride=this.viewModel.goToOverride,this.icon="home",this.position="top-left",this.state=this.viewModel.state,this.viewpoint=this.viewModel.viewpoint,this.arcgisGo=v(()=>this.viewModel,"go"),this.arcgisPropertyChange=c()("state"),this.arcgisReady=h()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=m}static{this.styles=y}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){this.viewModel.go()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:b}=this,t=this.viewModel?.state,s=t==="going-home";return i`<div class=${o(l(M.base,a.widget))}><calcite-button class=${o(a.widgetButton)} .disabled=${t==="disabled"} .iconStart=${s?void 0:b??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${s?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??g}>${s?i`<calcite-loader inline label></calcite-loader>`:null}</calcite-button></div>`}};p("arcgis-home",r);_2=r},"widgets/Home/HomeViewModel",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisHome}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{H as o,M as n,s,v as i}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([d,{watch:v}])=>{var $=s`.arcgis-video-player__settings-flow{min-width:var(--calcite-size-160)}`,g=["Auto"],_=[{label:"0.25x",value:.25},{label:"0.5x",value:.5},{label:"1x",value:1},{label:"1.5x",value:1.5},{label:"2x",value:2}],r=new d([255,127,0]),a=class extends o{constructor(){super(...arguments),this._color=null,this._speed="1x",this._quality="Auto",this._disabled=!1,this._active=null}static{this.properties={_disabled:16,_active:16,viewModel:0,messages:0}}static{this.styles=$}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel.state,l=>{this._disabled=l==="not-ready"||l==="waiting"},{initial:!0})])}render(){let{viewModel:l,messages:e}=this,h=i`<calcite-flow-item .heading=${e.playbackSpeed} .selected=${this._active==="speed"} @calciteFlowItemBack=${()=>this._active=null}><calcite-list .label=${e.playbackSpeed} selection-mode=single-persist>${_.map(({label:t,value:c})=>i`<calcite-list-item .label=${t} @click=${()=>{this._speed=t,l.changePlaybackSpeed(c)}} .selected=${t===this._speed}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,p=i`<calcite-flow-item .heading=${e.quality} .selected=${this._active==="quality"} @calciteFlowItemBack=${()=>this._active=null}><calcite-list .label=${e.quality} selection-mode=single-persist>${g.map(t=>i`<calcite-list-item .label=${t} @click=${()=>this._quality=t} .selected=${t===this._quality}></calcite-list-item>`)}</calcite-list></calcite-flow-item>`,m=i`<calcite-flow-item .heading=${e.graphics} .selected=${this._active==="color"} @calciteFlowItemBack=${()=>this._active=null}><calcite-block .heading=${e.color} open><calcite-color-picker channels-disabled format=hex saved-disabled scale=s .value=${this._color?.toHex()??r.toHex()} @calciteColorPickerChange=${({currentTarget:t})=>{let c=t.value?.toString()??null;this._color=c?new d(c):null,this._color&&l.changeGraphicsColor(this._color)}}></calcite-color-picker></calcite-block></calcite-flow-item>`;return i`<div><calcite-popover auto-close .label=${e.settings} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=settings-action scale=s @calcitePopoverClose=${()=>this._active=null}><calcite-flow class=arcgis-video-player__settings-flow><calcite-flow-item heading=Settings .selected=${!this._active}><calcite-list .label=${e.settings}><calcite-list-item .label=${e.speed} @click=${()=>this._active="speed"}><div slot=content-end><calcite-chip .label=${this._speed} scale=s>${this._speed}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.quality} @click=${()=>this._active="quality"}><div slot=content-end><calcite-chip .label=${this._quality} scale=s>${this._quality}</calcite-chip></div><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item><calcite-list-item .label=${e.graphics} @click=${()=>this._active="color"}><calcite-color-picker-swatch .color=${this._color?.toString()??r.toString()} scale=s slot=content-end></calcite-color-picker-swatch><calcite-icon icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item></calcite-list></calcite-flow-item>${this._active==="speed"?h:null}${this._active==="quality"?p:null}${this._active==="color"?m:null}</calcite-flow></calcite-popover><calcite-action alignment=center .disabled=${this._disabled} icon=sliders id=settings-action scale=s slot=trigger .text=${e.settings}></calcite-action></div>`}};n("arcgis-video-player-settings",a);_0=a},"Color","core/reactiveUtils")
|
|
5
|
+
export{$$,_0 as VideoPlayerSettings}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{H as l,M as o,u as n,v as a}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([{watch:$}])=>{var s=class extends l{constructor(){super(...arguments),this._disabled=!1,this._playing=!1}static{this.properties={_disabled:16,_playing:16,viewModel:0,messages:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[$(()=>[this.viewModel.state,this.viewModel.playing],()=>{let{state:e,playing:i}=this.viewModel;this._disabled=e==="not-ready"||e==="waiting",this._playing=i},{initial:!0})])}render(){let{viewModel:e,messages:i,_disabled:t,_playing:c}=this,r=a`<calcite-action .active=${c} alignment=center .disabled=${t} .icon=${c?"pause-f":"play-f"} @click=${c?()=>e.pause():()=>e.play()} scale=s .text=${c?i.pause:i.play}></calcite-action>`,d=a`<calcite-action alignment=center .disabled=${t} icon=reverse-f @click=${()=>e.seekBackward()} scale=s .text=${i.reverse}></calcite-action>`,g=a`<calcite-action alignment=center .disabled=${t} icon=forward-f @click=${()=>e.seekForward()} scale=s .text=${i.forward}></calcite-action>`,p=a`<calcite-action alignment=center .disabled=${t} icon=beginning-f @click=${()=>e.seekToBeginning()} scale=s .text=${i.beginning}></calcite-action>`,m=a`<calcite-action alignment=center .disabled=${t} icon=end-f @click=${()=>e.seekToEnding()} scale=s .text=${i.end}></calcite-action>`;return a`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[p,d,r,g,m]}</calcite-action-bar>`}};o("arcgis-video-player-actions-group",s);_0=s},"core/reactiveUtils")
|
|
5
5
|
export{$$,_0 as VideoPlayerActionsGroup}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b}from"./QXEYMD4U.js";import{$$ as _0,a as P}from"./2WWSQWLN.js";import{$$ as _1}from"./GLQKRJ3X.js";import{a as x}from"./SR3FW6OY.js";import{a as _}from"./AADU4QIT.js";import{a as E}from"./YU6CLFLV.js";import"./IMMJWY5K.js";import{F as I,G as M,H as o,J as m,L as T,b as h,d as w,q as S,r as y,t as C,u as n}from"./J7FONBLF.js";var _2,$$=$arcgis.t(([D,p,{substitute:L},{watch:B}])=>{function N(l){if(l==null||Number.isNaN(l))return 0;let e=l+180;return Math.trunc(k(e,360))}function W(l){let e=l;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:k(Math.trunc(e),360)-180}function k(l,e){return(l%e+e)%e}var R={fromAttribute:l=>p.fromHex(l),toAttribute:l=>typeof l=="string"?l:l?.toHex()??""},G=y`@layer{calcite-block>.arcgis-grid-controls{background:none;padding:0}.arcgis-ui-corner .arcgis-expand .arcgis-widget--panel .arcgis-widget--panel.arcgis-grid-controls{overflow-y:visible}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}}`,A="arcgis-grid-controls",c={base:A,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=p.fromArray([115,115,115]),f=p.fromArray([200,200,200]),j=["interactive","place","rotate"],q=P(E),$=class extends M{constructor(){super(...arguments),this._labelUid=w(),this._messages=x({}),this._viewModel=q(this),this._placementModeButtonRefs=new Map,this._warningIconTooltipRef=void 0,this._themePopoverRef=void 0,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.position="bottom-right",this.icon=u.componentIcon,this.customColor=null,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=S()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=I()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,referenceElement:1,position:3,icon:3,customColor:[3,{converter:R}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:R}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=G}static{this.shadowRootOptions=C}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":f.equals(e)?"light":"custom"}set theme(e){let{customColor:t}=this,i=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":t==null&&(this.customColor=i?.theme?.accentColor??new D().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=f;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[B(()=>this._viewModel.gridColor,e=>{let t=e instanceof p?e:typeof e=="string"?p.fromHex(e):null;t&&!v.equals(e)&&!f.equals(t)?this.customColor=t:v.equals(t)?this.theme="dark":f.equals(t)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let t=e.dataset.placementAction;this._placementModeButtonRefs.set(t,e)}else this._placementModeButtonRefs.clear()}render(){return n`<div class=${o(h(c.base,_.widget,_.panel))}><div class=${o(c.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:t,hideNumericInputs:i,hideLineIntervalInput:a,hideGridSnapEnabledToggle:r,hideDynamicScaleToggle:s,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),t?void 0:this._renderGridPlacementButtons(),i?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!r&&this.snappingOptions?this._renderSnappingToggle():void 0,s?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:t,gridControlsEnabled:i}=this,a=t||!i;return n`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(r=>this._renderPlacementModeButton(r,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,t,i){let a=this._messages?.placementState?.[e],r=this._placementModeButtonRefs.get(e);return n`<div><calcite-action .active=${i===e} alignment=center .disabled=${t} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${r?n`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${r}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:t,effectiveSpacingAfterDynamicScaling:i,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:r}=this,s=i!=null&&i!==t;return n`<div class=${o(h(c.numericInputsContainer))}>${[a?n`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${s?n`<calcite-icon class=${o(h(c.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!r} number-button-type=none .value=${t?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${s&&this._warningIconTooltipRef?n`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${L(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:i},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,n`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!r} integer number-button-type=none suffix-text=\u00B0 .value=${`${N(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=W(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:t}=this;return n`<div class=${o(h(c.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!t} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:i})=>{let a=Number.parseInt(i.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(i.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:t}=this,i=e?.gridEnabled??!1;return n`<arcgis-labeled-switch .checked=${!!i} .disabled=${!(t&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:t,dynamicScaling:i,gridControlsEnabled:a}=this,r=!this.hideOutOfScaleWarning&&t;return n`<arcgis-labeled-switch .checked=${i} .disabled=${!a} .hint=${r?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${s=>{s.stopPropagation(),this.dynamicScaling=s.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:t}=this;return n`<arcgis-labeled-switch .checked=${t} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${i=>{i.stopPropagation(),this.rotateWithMap=i.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return n`<div class=${o(c.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return n`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${o(c.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?n`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${t=>{let i=p.fromHex(t.currentTarget.value);i&&(this.customColor=i,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:t,gridControlsEnabled:i}=this,{value:a}=e,r=this._messages?.gridTheme?.[a],s=`${this._labelUid}--theme_tile_${a}`,d=`${s}__label`,g=u.gridTheme[a];return n`<div class=${o(h({[c.tile]:!0,[c.tileDisabled]:!i}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${t===a} .disabled=${!i} id=${s??m} .name=${`${this._labelUid}--theme`} @change=${O=>{this.theme=a,O.currentTarget.focus()}} tabindex=0 type=radio><div class=${o(c.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${s} id=${d??m}>${r}</calcite-label></div></div>`}};T("arcgis-grid-controls",$);_2=$},"views/Theme","Color","intl","core/reactiveUtils",_0,_1)
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{b}from"./ZLQ2KZ7N.js";import{$$ as _0,a as P}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as x}from"./XQAHHRA2.js";import{a as _}from"./IC2GOV3R.js";import{a as E}from"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as I,H as M,I as o,K as m,M as T,b as h,d as w,r as S,s as y,u as C,v as n}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([D,p,{substitute:L},{watch:B}])=>{function N(l){if(l==null||Number.isNaN(l))return 0;let e=l+180;return Math.trunc(k(e,360))}function W(l){let e=l;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:k(Math.trunc(e),360)-180}function k(l,e){return(l%e+e)%e}var R={fromAttribute:l=>p.fromHex(l),toAttribute:l=>typeof l=="string"?l:l?.toHex()??""},G=y`@layer{calcite-block>.arcgis-grid-controls{background:none;padding:0}.arcgis-ui-corner .arcgis-expand .arcgis-widget--panel .arcgis-widget--panel.arcgis-grid-controls{overflow-y:visible}.arcgis-grid-controls{user-select:none;display:flex;flex-flow:column wrap;padding:var(--calcite-spacing-sm);.container{display:flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-spacing-sm)}.numeric-inputs-container{display:grid;grid-auto-columns:1fr;grid-auto-flow:column;gap:var(--calcite-spacing-sm)}arcgis-labeled-switch{margin-block-end:var(--calcite-spacing-sm)}.switch--bordered{border-width:0 0 var(--calcite-spacing-px) 0;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-end:var(--calcite-spacing-sm)}.tile-group{display:flex;column-gap:var(--calcite-spacing-md);align-items:start;margin-bottom:calc(0px - var(--calcite-spacing-sm))}.tile{position:relative;.content{display:flex;flex-direction:column;row-gap:var(--calcite-spacing-md);align-items:center;padding:var(--calcite-spacing-md);color:var(--calcite-color-text-2)}&.disabled{opacity:var(--calcite-opacity-disabled)}&:focus-within{outline:var(--calcite-spacing-base) solid var(--calcite-color-brand);outline-offset:var(--calcite-spacing-base)}input[type=radio]{appearance:none;position:absolute;inset:0;opacity:.001;border:var(--calcite-spacing-px) solid transparent;cursor:pointer;&:checked+.content{border:var(--calcite-spacing-px) solid var(--calcite-color-brand)}+.content{border:var(--calcite-spacing-px) solid transparent;calcite-label{margin-bottom:calc(0px - var(--calcite-label-margin-bottom, .75rem));font-weight:var(--calcite-font-weight-medium)}}}}.inline-icon{margin-left:var(--calcite-spacing-xs);vertical-align:top;color:var(--calcite-color-status-warning)}}}`,A="arcgis-grid-controls",c={base:A,borderedSwitch:"switch--bordered",container:"container",numericInputsContainer:"numeric-inputs-container",tileGroup:"tile-group",tile:"tile",tileDisabled:"disabled",tileContent:"content",inlineIcon:"inline-icon"},u={componentIcon:"grid-unit",gridTheme:{light:"circle",dark:"circle-area",custom:"palette"},placementState:{interactive:"maximum-territory-distance",place:"move",rotate:"rotate"},warning:"exclamation-mark-triangle"},v=p.fromArray([115,115,115]),f=p.fromArray([200,200,200]),j=["interactive","place","rotate"],q=P(E),$=class extends M{constructor(){super(...arguments),this._labelUid=w(),this._messages=x({}),this._viewModel=q(this),this._placementModeButtonRefs=new Map,this._warningIconTooltipRef=void 0,this._themePopoverRef=void 0,this.numericSpacingInputShouldBeVisible=this._viewModel.numericSpacingInputShouldBeVisible,this.position="bottom-right",this.icon=u.componentIcon,this.customColor=null,this.snappingOptions=this._viewModel.snappingOptions,this.hideColorSelection=!1,this.hideDynamicScaleToggle=!1,this.hideGridEnabledToggle=!1,this.hideNumericInputs=!1,this.hideGridSnapEnabledToggle=!1,this.hideLineIntervalInput=!1,this.hideOutOfScaleWarning=!1,this.hidePlacementButtons=!1,this.hideRotateWithMapToggle=!1,this.rotation=this._viewModel.rotation,this.rotateWithMap=this._viewModel.rotateWithMap,this.spacing=this._viewModel.spacing,this.majorLineInterval=this._viewModel.majorLineInterval,this.gridColor=this._viewModel.gridColor,this.displayEnabled=this._viewModel.displayEnabled,this.gridOutOfScale=this._viewModel.gridOutOfScale,this.unit=this._viewModel.unit,this.dynamicScaling=this._viewModel.dynamicScaling,this.gridControlsEnabled=this._viewModel.gridControlsEnabled,this.interactivePlacementState=this._viewModel.interactivePlacementState,this.snappingEnabled=this._viewModel.snappingEnabled,this.effectiveSpacingAfterDynamicScaling=this._viewModel.effectiveSpacingAfterDynamicScaling,this.placementDisabled=this._viewModel.placementDisabled,this.autoDestroyDisabled=!1,this.arcgisPropertyChange=S()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=I()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,referenceElement:1,position:3,icon:3,customColor:[3,{converter:R}],snappingOptions:0,theme:1,hideColorSelection:5,hideDynamicScaleToggle:5,hideGridEnabledToggle:5,hideNumericInputs:5,hideGridSnapEnabledToggle:5,hideLineIntervalInput:5,hideOutOfScaleWarning:5,hidePlacementButtons:5,hideRotateWithMapToggle:5,rotation:11,rotateWithMap:5,spacing:11,majorLineInterval:11,gridColor:[3,{converter:R}],displayEnabled:4,gridOutOfScale:7,unit:1,dynamicScaling:5,gridControlsEnabled:4,interactivePlacementState:3,snappingEnabled:5,effectiveSpacingAfterDynamicScaling:43,placementDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1}}static{this.styles=G}static{this.shadowRootOptions=C}get theme(){let e=this.gridColor;return!e||v.equals(e)?"dark":f.equals(e)?"light":"custom"}set theme(e){let{customColor:t}=this,i=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":t==null&&(this.customColor=i?.theme?.accentColor??new D().accentColor),this.gridColor=this.customColor;break;case"light":default:this.gridColor=f;break}}async destroy(){await this.manager.destroy()}trySetDisplayEnabled(e){this._viewModel.trySetDisplayEnabled(e)}loaded(){this.manager.onLifecycle(()=>[B(()=>this._viewModel.gridColor,e=>{let t=e instanceof p?e:typeof e=="string"?p.fromHex(e):null;t&&!v.equals(e)&&!f.equals(t)?this.customColor=t:v.equals(t)?this.theme="dark":f.equals(t)&&(this.theme="light")})])}_togglePlacementState(e){this.interactivePlacementState=this.interactivePlacementState===e?null:e}_setWarningIconRef(e){this._warningIconTooltipRef=e}_setPopoverRef(e){this._themePopoverRef=e}_emptyFunction(e){}_setPlacementButtonRef(e){if(e){let t=e.dataset.placementAction;this._placementModeButtonRefs.set(t,e)}else this._placementModeButtonRefs.clear()}render(){return n`<div class=${o(h(c.base,_.widget,_.panel))}><div class=${o(c.container)}>${this._renderContent()}</div></div>`}_renderContent(){let{hideGridEnabledToggle:e,hidePlacementButtons:t,hideNumericInputs:i,hideLineIntervalInput:a,hideGridSnapEnabledToggle:r,hideDynamicScaleToggle:s,hideRotateWithMapToggle:d,hideColorSelection:g}=this;return[e?void 0:this._renderEnabledToggle(),t?void 0:this._renderGridPlacementButtons(),i?void 0:this._renderNumericInputs(),a?void 0:this._renderIntervalInput(),!r&&this.snappingOptions?this._renderSnappingToggle():void 0,s?void 0:this._renderDynamicScaleToggle(),d?void 0:this._renderRotateToggle(),g?void 0:this._renderColorSelection()]}_renderGridPlacementButtons(){let{interactivePlacementState:e,placementDisabled:t,gridControlsEnabled:i}=this,a=t||!i;return n`<calcite-label scale=s>${this._messages.placementOptions}<calcite-action-bar expand-disabled layout=horizontal>${j.map(r=>this._renderPlacementModeButton(r,a,e))}</calcite-action-bar></calcite-label>`}_renderPlacementModeButton(e,t,i){let a=this._messages?.placementState?.[e],r=this._placementModeButtonRefs.get(e);return n`<div><calcite-action .active=${i===e} alignment=center .disabled=${t} .icon=${u.placementState[e]} data-placement-action=${e??m} @click=${()=>this._togglePlacementState(e)} .text=${a??""} ${b(this._setPlacementButtonRef)}></calcite-action>${r?n`<calcite-tooltip overlay-positioning=fixed placement=top .referenceElement=${r}>${a}</calcite-tooltip>`:void 0}</div>`}_renderNumericInputs(){let{rotation:e,spacing:t,effectiveSpacingAfterDynamicScaling:i,numericSpacingInputShouldBeVisible:a,gridControlsEnabled:r}=this,s=i!=null&&i!==t;return n`<div class=${o(h(c.numericInputsContainer))}>${[a?n`<calcite-label scale=s><span>${this._messages?.inputLabel?.spacing}${s?n`<calcite-icon class=${o(h(c.inlineIcon))} .icon=${u.warning} scale=s tabindex=0 ${b(this._setWarningIconRef)}></calcite-icon>`:void 0}</span><calcite-input-number .disabled=${!r} number-button-type=none .value=${t?.toFixed(2)} @calciteInputNumberChange=${({currentTarget:d})=>{let g=Number.parseFloat(d.value);this.spacing=g,g!==this.spacing&&(d.value=`${this.spacing}`)}}></calcite-input-number>${s&&this._warningIconTooltipRef?n`<calcite-tooltip overlay-positioning=fixed placement=leading .referenceElement=${this._warningIconTooltipRef}>${L(this._messages?.warnings?.dynamicSpacing??"",{actualSpacingIncludingUnit:i},{format:{actualSpacingIncludingUnit:{type:"number",intlOptions:{minimumFractionDigits:2,maximumFractionDigits:2,unit:this.unit??"meters",style:"decimal"}}}})}</calcite-tooltip>`:void 0}</calcite-label>`:void 0,n`<calcite-label scale=s>${this._messages?.inputLabel?.angle}<calcite-input-number .disabled=${!r} integer number-button-type=none suffix-text=\u00B0 .value=${`${N(e)}`} @calciteInputNumberChange=${({currentTarget:d})=>this.rotation=W(d.value)}></calcite-input-number></calcite-label>`]}</div>`}_renderIntervalInput(){let{majorLineInterval:e,gridControlsEnabled:t}=this;return n`<div class=${o(h(c.numericInputsContainer))}><calcite-label scale=s>${this._messages?.inputLabel?.interval}<calcite-input-number .disabled=${!t} integer max=15 min=1 number-button-type=vertical .value=${`${e}`} @calciteInputNumberChange=${({currentTarget:i})=>{let a=Number.parseInt(i.value,10);this.majorLineInterval=a,a!==this.majorLineInterval&&(i.value=`${this.majorLineInterval}`)}}></calcite-input-number></calcite-label></div>`}_renderSnappingToggle(){let{snappingOptions:e,gridControlsEnabled:t}=this,i=e?.gridEnabled??!1;return n`<arcgis-labeled-switch .checked=${!!i} .disabled=${!(t&&e)} .label=${this._messages?.switchLabel?.snap} @arcgisCheckedChanged=${a=>{a.stopPropagation(),this.snappingOptions?.set("gridEnabled",a.detail)}}></arcgis-labeled-switch>`}_renderDynamicScaleToggle(){let{_messages:e,gridOutOfScale:t,dynamicScaling:i,gridControlsEnabled:a}=this,r=!this.hideOutOfScaleWarning&&t;return n`<arcgis-labeled-switch .checked=${i} .disabled=${!a} .hint=${r?e?.warnings?.outOfScale:void 0} .hintIcon=${u.warning} hint-kind=warning .label=${e?.switchLabel?.scaling} @arcgisCheckedChanged=${s=>{s.stopPropagation(),this.dynamicScaling=s.detail}}></arcgis-labeled-switch>`}_renderRotateToggle(){let{gridControlsEnabled:e,rotateWithMap:t}=this;return n`<arcgis-labeled-switch .checked=${t} .disabled=${!e} .label=${this._messages?.switchLabel?.rotateWithMap??""} @arcgisCheckedChanged=${i=>{i.stopPropagation(),this.rotateWithMap=i.detail}}></arcgis-labeled-switch>`}_renderEnabledToggle(){return n`<div class=${o(c.borderedSwitch)}><arcgis-labeled-switch .checked=${this.displayEnabled} .disabled=${!!this.interactivePlacementState} .label=${this._messages?.switchLabel?.display} @arcgisCheckedChanged=${e=>{e.stopPropagation(),this.trySetDisplayEnabled(e.detail)}}></arcgis-labeled-switch></div>`}_renderColorSelection(){let{customColor:e}=this;return n`<calcite-label scale=s>${this._messages?.inputLabel?.theme}<div class=${o(c.tileGroup)}>${[this._renderThemeTile({value:"dark"}),this._renderThemeTile({value:"light"}),this._renderThemeTile({value:"custom"}),this._themePopoverRef?n`<calcite-popover auto-close .label=${this._messages?.gridLineColorPopoverLabel??""} overlay-positioning=fixed .referenceElement=${this._themePopoverRef}><calcite-color-picker alpha-channel saved-disabled .value=${e?.toHex({digits:8})??"#000000ff"} @calciteColorPickerChange=${t=>{let i=p.fromHex(t.currentTarget.value);i&&(this.customColor=i,this.theme="custom")}}></calcite-color-picker></calcite-popover>`:void 0]}</div></calcite-label>`}_renderThemeTile(e){let{theme:t,gridControlsEnabled:i}=this,{value:a}=e,r=this._messages?.gridTheme?.[a],s=`${this._labelUid}--theme_tile_${a}`,d=`${s}__label`,g=u.gridTheme[a];return n`<div class=${o(h({[c.tile]:!0,[c.tileDisabled]:!i}))} role=button ${b(a==="custom"?this._setPopoverRef:this._emptyFunction)}><input aria-labelledby=${d??m} .checked=${t===a} .disabled=${!i} id=${s??m} .name=${`${this._labelUid}--theme`} @change=${O=>{this.theme=a,O.currentTarget.focus()}} tabindex=0 type=radio><div class=${o(c.tileContent)}><calcite-icon .icon=${g} scale=l></calcite-icon><calcite-label .for=${s} id=${d??m}>${r}</calcite-label></div></div>`}};T("arcgis-grid-controls",$);_2=$},"views/Theme","Color","intl","core/reactiveUtils",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisGridControls}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{$$ as _0,a as g}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{$$ as _0,a as g}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as p}from"./XQAHHRA2.js";import{a as o}from"./IC2GOV3R.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as m,H as d,I as i,K as h,M as u,b as r,r as l,s as n,u as c,v as s}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([v])=>{var w=n`@layer{arcgis-fullscreen{display:block}}`,M={base:"esri-fullscreen"},$=g(v),a=class extends d{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(this),this.autoDestroyDisabled=!1,this.element=this.viewModel.element,this.icon="zoom-out-fixed",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=l()("state"),this.arcgisReady=m()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=c}static{this.styles=w}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:f}=this,t=this.viewModel?.state,y=t==="feature-unsupported",b=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!y&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${f??b} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);_2=a},"widgets/Fullscreen/FullscreenViewModel",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisFullscreen}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as n}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as a,H as o,M as r,r as s,s as i,u as e}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([h])=>{var p=i`@layer{arcgis-area-measurement-2d{display:block}}`,c=n(h),t=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=s()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,snappingOptions:0,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=p}async clear(){this.viewModel?.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel?.start()}};r("arcgis-area-measurement-2d",t);_0=t},"widgets/AreaMeasurement2D")
|
|
5
5
|
export{$$,_0 as ArcgisAreaMeasurement2d}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as r}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as a,H as l,M as o,r as i,s as t,u as s}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([c])=>{var n=t`@layer{arcgis-scale-range-slider{display:block}}`,h=r(c),e=class extends l{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.position="bottom-left",this.region=this.widget.region,this.state=this.viewModel.state,this.arcgisPropertyChange=i()("state","minScale","maxScale"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,disabled:7,hidePreview:5,hideScaleMenusMaxScaleMenu:5,hideScaleMenusMinScaleMenu:5,icon:1,label:1,layer:0,maxScale:9,maxScaleLimit:9,minScale:9,minScaleLimit:9,mode:1,position:1,referenceElement:1,region:0,state:3}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}};o("arcgis-scale-range-slider",e);_0=e},"widgets/ScaleRangeSlider")
|
|
5
5
|
export{$$,_0 as ArcgisScaleRangeSlider}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as A}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as A}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as c,H as h,M as r,u as l}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([S])=>{var g=A(S),a=class extends h{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.autoRefreshAssociationsDisabled=this.widget.autoRefreshAssociations,this.connectivityAssociationsLineSymbol=this.widget.connectivityAssociationsLineSymbol,this.includeConnectivityAssociationsDisabled=this.widget.includeConnectivityAssociations,this.includeStructuralAttachmentAssociationsDisabled=this.widget.includeStructuralAttachmentAssociations,this.maxAllowableAssociations=this.widget.maxAllowableAssociations,this.maxAllowableAssociationsSliderMax=this.widget.maxAllowableAssociationsSliderMax,this.maxAllowableAssociationsSliderMin=this.widget.maxAllowableAssociationsSliderMin,this.maxAllowableAssociationsSliderStep=this.widget.maxAllowableAssociationsSliderStep,this.position="bottom-left",this.showArrowsConnectivity=this.widget.showArrowsConnectivity,this.showArrowsStructuralAttachment=this.widget.showArrowsStructuralAttachment,this.showAssociationsEnabled=this.widget.showAssociationsEnabled,this.structuralAttachmentAssociationsLineSymbol=this.widget.structuralAttachmentAssociationsLineSymbol,this.utilityNetwork=this.widget.utilityNetwork,this.showConnectivityAssociationsSettingsArrowsToggle=this.widget.visibleElements.connectivityAssociationsSettings.arrowsToggle,this.visibleElementsConnectivityAssociationsSettingsArrowsToggle=!1,this.showConnectivityAssociationsSettingsCapSelect=this.widget.visibleElements.connectivityAssociationsSettings.capSelect,this.visibleElementsConnectivityAssociationsSettingsCapSelect=!1,this.hideConnectivityAssociationsSettingsColorPicker=this.widget.visibleElements.connectivityAssociationsSettings.colorPicker,this.visibleElementsConnectivityAssociationsSettingsColorPicker=!0,this.hideConnectivityAssociationsSettingsStylePicker=this.widget.visibleElements.connectivityAssociationsSettings.stylePicker,this.visibleElementsConnectivityAssociationsSettingsStylePicker=!0,this.hideConnectivityAssociationsSettingsWidthInput=this.widget.visibleElements.connectivityAssociationsSettings.widthInput,this.visibleElementsConnectivityAssociationsSettingsWidthInput=!0,this.showMaxAllowableAssociationsSlider=this.widget.visibleElements.maxAllowableAssociationsSlider,this.visibleElementsMaxAllowableAssociationsSlider=!1,this.showStructuralAttachmentAssociationsSettingsArrowsToggle=this.widget.visibleElements.structuralAttachmentAssociationsSettings.arrowsToggle,this.visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle=!1,this.showStructuralAttachmentAssociationsSettingsCapSelect=this.widget.visibleElements.structuralAttachmentAssociationsSettings.capSelect,this.visibleElementsStructuralAttachmentAssociationsSettingsCapSelect=!1,this.hideStructuralAttachmentAssociationsSettingsColorPicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.colorPicker,this.visibleElementsStructuralAttachmentAssociationsSettingsColorPicker=!0,this.hideStructuralAttachmentAssociationsSettingsStylePicker=this.widget.visibleElements.structuralAttachmentAssociationsSettings.stylePicker,this.visibleElementsStructuralAttachmentAssociationsSettingsStylePicker=!0,this.hideStructuralAttachmentAssociationsSettingsWidthInput=this.widget.visibleElements.structuralAttachmentAssociationsSettings.widthInput,this.visibleElementsStructuralAttachmentAssociationsSettingsWidthInput=!0,this.icon=this.widget.icon,this.label=this.widget.label,this.arcgisReady=c()}static{this.properties={autoDestroyDisabled:5,autoRefreshAssociationsDisabled:5,connectivityAssociationsLineSymbol:0,includeConnectivityAssociationsDisabled:5,includeStructuralAttachmentAssociationsDisabled:5,maxAllowableAssociations:9,maxAllowableAssociationsSliderMax:9,maxAllowableAssociationsSliderMin:9,maxAllowableAssociationsSliderStep:9,position:1,referenceElement:1,showArrowsConnectivity:5,showArrowsStructuralAttachment:5,showAssociationsEnabled:5,structuralAttachmentAssociationsLineSymbol:0,utilityNetwork:0,showConnectivityAssociationsSettingsArrowsToggle:5,visibleElementsConnectivityAssociationsSettingsArrowsToggle:5,showConnectivityAssociationsSettingsCapSelect:5,visibleElementsConnectivityAssociationsSettingsCapSelect:5,hideConnectivityAssociationsSettingsColorPicker:5,visibleElementsConnectivityAssociationsSettingsColorPicker:5,hideConnectivityAssociationsSettingsStylePicker:5,visibleElementsConnectivityAssociationsSettingsStylePicker:5,hideConnectivityAssociationsSettingsWidthInput:5,visibleElementsConnectivityAssociationsSettingsWidthInput:5,showMaxAllowableAssociationsSlider:5,visibleElementsMaxAllowableAssociationsSlider:5,showStructuralAttachmentAssociationsSettingsArrowsToggle:5,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle:5,showStructuralAttachmentAssociationsSettingsCapSelect:5,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect:5,hideStructuralAttachmentAssociationsSettingsColorPicker:5,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker:5,hideStructuralAttachmentAssociationsSettingsStylePicker:5,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker:5,hideStructuralAttachmentAssociationsSettingsWidthInput:5,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput:5,icon:1,label:1}}static{this.shadowRootOptions=l}async destroy(){await this.manager.destroy()}async load(){if(this.el.view?.map&&this.el.view.map.portalItem){await this.el.view.map.load();let t=this.el.view.map.utilityNetworks?.getItemAt(0);await t?.load(),this.utilityNetwork=t}}willUpdate(t){this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsColorPicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"ConnectivityAssociationsSettingsWidthInput"),this._handleVisibilityChange(t,"MaxAllowableAssociationsSlider"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsArrowsToggle"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsCapSelect"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsStylePicker"),this._handleVisibilityChange(t,"StructuralAttachmentAssociationsSettingsWidthInput")}_handleVisibilityChange(t,n){let s=`show${n}`,o=`hide${n}`,e=`visibleElements${n}`,i=this;t.has(s)?i[e]=!!i[s]:t.has(o)?i[e]=!i[o]:t.has(e)&&(console.warn(`${this.el.tagName.toLowerCase()}: The property ${e} is deprecated. Use ${s in i?s:o} instead.`),s in i?i[s]=!!i[e]:o in i&&(i[o]=!i[e]))}};r("arcgis-utility-network-associations",a);_0=a},"widgets/UtilityNetworkAssociations")
|
|
5
5
|
export{$$,_0 as ArcgisUtilityNetworkAssociations}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{$$ as _0,a as M}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{$$ as _0,a as M}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as f}from"./XQAHHRA2.js";import{a as r}from"./IC2GOV3R.js";import{f as s}from"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as m,H as v,I as e,K as u,M as w,b as d,r as h,s as g,u as p,v as o}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([T])=>{var $=g`@layer{arcgis-track{display:block}}`,D={base:"esri-track"},O=M(T),a=class extends v{constructor(){super(...arguments),this.messages=f(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.position="top-left",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.rotationDisabled=this.viewModel.rotationEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.arcgisComplete=s(()=>this.viewModel,"track"),this.arcgisError=s(()=>this.viewModel,"track-error"),this.arcgisPropertyChange=h()("state"),this.arcgisReady=m()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:3,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,rotationDisabled:5,scale:9,state:0,tracking:4}}static{this.shadowRootOptions=p}static{this.styles=$}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}_localizeError(i){if(i instanceof GeolocationPositionError)return i.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:i.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(i instanceof Error)return i.message}_toggleTracking(){if(!this.viewModel)return;let{state:i}=this.viewModel;if(!(i==="feature-unsupported"||i==="disabled")){if(i==="tracking"||i==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:i,messages:n,icon:E}=this,t=i?.state,b=t==="tracking",l=this._localizeError(this.viewModel?.error),c=(b?n?.stopTracking:n?.startTracking)??"",k=t==="feature-unsupported",y=(t==="tracking"?"pause":void 0)??E??void 0;return o`<div class=${e(d(D.base,r.widget))}>${!k&&o`<calcite-button class=${e(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${y} kind=neutral .label=${c} .loading=${t==="waiting"} @click=${this._toggleTracking} title=${c??u}></calcite-button>`||""}${l?o`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};w("arcgis-track",a);_2=a},"widgets/Track/TrackViewModel",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisTrack}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as n}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as n}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as a,H as o,M as r,r as e,s as i,u as s}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([c])=>{var h=i`@layer{arcgis-measurement{display:block}}`,l=n(c),t=class extends o{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeTool=this.widget.activeTool,this.activeWidget=this.widget.activeWidget,this.areaUnit=this.widget.areaUnit,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.linearUnit=this.widget.linearUnit,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=e()("activeTool","state"),this.arcgisReady=a()}static{this.properties={activeTool:1,activeWidget:0,areaUnit:1,autoDestroyDisabled:5,icon:1,label:1,linearUnit:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=h}async clear(){this.widget?.clear()}async destroy(){await this.manager.destroy()}async startMeasurement(){this.widget?.startMeasurement()}};r("arcgis-measurement",t);_0=t},"widgets/Measurement")
|
|
5
5
|
export{$$,_0 as ArcgisMeasurement}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as d}from"./AZLAJ3LI.js";import{a as h}from"./G3QBJGNA.js";import{f as l}from"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as r,H as a,M as o,r as t,s as i,u as s}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([n])=>{var c=i`@layer{arcgis-basemap-layer-list{display:block}}`,g=h(n),e=class extends a{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.baseFilterPredicate=this.widget.baseFilterPredicate,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterPredicate=this.widget.referenceFilterPredicate,this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=t()("state"),this.arcgisReady=r(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterPredicate:0,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterPredicate:0,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}static{this.styles=c}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};o("arcgis-basemap-layer-list",e);_0=e},"widgets/BasemapLayerList")
|
|
5
|
+
export{$$,_0 as ArcgisBasemapLayerList}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as l}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as o,H as d,M as n,r as a,s,u as r}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([h,g])=>{var m=s`@layer{arcgis-oriented-imagery-viewer{display:block}}`,y=l(g),i=class extends d{constructor(){super(...arguments),this.widget=y(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.dataCaptureEnabled=this.widget.dataCaptureEnabled,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.position="bottom-left",this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=a()("imageGalleryEnabled","layer"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,currentCoverageVisible:5,dataCaptureEnabled:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.shadowRootOptions=r}static{this.styles=m}async destroy(){await this.manager.destroy()}willUpdate(e){if(e.has("orientedImageryLayerItemId")){let t=this.orientedImageryLayerItemId;t&&this.widget&&(this.layer=new h({portalItem:{id:t}}),this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?this._onReady():this.el.addEventListener("arcgisReady",()=>{this._onReady()},{once:!0}))}_onReady(){let{layer:e}=this;e&&(this.widget.view?.map.add(e),this._hasOrientedImageryLayerToAdd=!1)}};n("arcgis-oriented-imagery-viewer",i);_0=i},"layers/OrientedImageryLayer","widgets/OrientedImageryViewer")
|
|
5
|
+
export{$$,_0 as ArcgisOrientedImageryViewer}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as d}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as o,H as a,M as h,r as t,s as e,u as s}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([n])=>{var l=e`@layer{arcgis-shadow-cast{display:block}}`,c=d(n),i=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.discreteOptions=this.viewModel.discreteOptions,this.durationOptions=this.viewModel.durationOptions,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=this.widget.headingLevel,this.hideColorPicker=this.widget.visibleElements.colorPicker,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideTimeRangeSlider=this.widget.visibleElements.timeRangeSlider,this.hideTimezone=this.widget.visibleElements.timezone,this.hideTooltip=this.widget.visibleElements.tooltip,this.hideVisualizationOptions=this.widget.visibleElements.visualizationOptions,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.thresholdOptions=this.viewModel.thresholdOptions,this.utcOffset=this.viewModel.utcOffset,this.visualizationType=this.viewModel.visualizationType,this.arcgisPropertyChange=t()("state"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,discreteOptions:0,durationOptions:0,endTimeOfDay:9,headingLevel:9,hideColorPicker:5,hideDatePicker:5,hideTimeRangeSlider:5,hideTimezone:5,hideTooltip:5,hideVisualizationOptions:5,icon:1,label:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,thresholdOptions:0,utcOffset:9,visualizationType:1}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async getDuration(r){return await this.widget?.viewModel.getDuration(r)}async start(){this.widget?.viewModel.start()}async stop(){this.widget?.viewModel.stop()}};h("arcgis-shadow-cast",i);_0=i},"widgets/ShadowCast")
|
|
5
5
|
export{$$,_0 as ArcgisShadowCast}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{G as t,o as e}from"./HRFMDI2D.js";var c=e((o,s)=>(s.onLoaded(()=>{let l=o.el;o.listenOn(l.childElem,"calciteFlowItemClose",()=>{o.arcgisClose.emit(),o.autoDestroyDisabled||o.destroy()})}),t()));export{c as a};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as r}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as r}from"./G3QBJGNA.js";import{f as t}from"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as o,H as h,M as n,r as s,s as e,u as a}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([c])=>{var l=e`@layer{arcgis-value-picker{display:block}}`,p=r(c),i=class extends h{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=s()("values"),this.arcgisReady=o()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};n("arcgis-value-picker",i);_0=i},"widgets/ValuePicker")
|
|
5
5
|
export{$$,_0 as ArcgisValuePicker}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as l}from"./G3QBJGNA.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as a,H as o,M as r,r as t,s,u as i}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([d])=>{var h=s`@layer{arcgis-slice{display:block}}`,c=l(d),e=class extends o{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.excludeGroundSurface=this.viewModel.excludeGroundSurface,this.excludedLayers=this.viewModel.excludedLayers,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.shape=this.viewModel.shape,this.state=this.viewModel.state,this.tiltEnabled=this.viewModel.tiltEnabled,this.arcgisPropertyChange=t()("analysis","state"),this.arcgisReady=a()}static{this.properties={analysis:0,autoDestroyDisabled:5,excludeGroundSurface:5,excludedLayers:0,headingLevel:9,icon:1,label:1,position:1,referenceElement:1,shape:0,state:3,tiltEnabled:5}}static{this.shadowRootOptions=i}static{this.styles=h}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};r("arcgis-slice",e);_0=e},"widgets/Slice")
|
|
5
|
+
export{$$,_0 as ArcgisSlice}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{a as S}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{a as S}from"./WRKL7NFO.js";import"./U3Q564TT.js";import{$$ as _0,a as B}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as T}from"./XQAHHRA2.js";import{a as w}from"./IC2GOV3R.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as C,H as M,I as u,J as x,K as y,M as O,b as v,r as _,s as f,u as $,v as a}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([{watch:W},j,{property:h,subclass:A},E,k,L,H,D])=>{var c="arcgis-weather",d={base:c,content:`${c}__content`,hasError:`${c}__content--has-error`,selector:`${c}__selector`,options:`${c}__options`,optionsHidden:`${c}__options--hidden`,error:`${c}__error`,warning:`${c}__warning`},P=f`@layer{.arcgis-weather{position:relative;padding:var(--esri-widget-padding);width:fit-content}.arcgis-weather__content{display:flex;flex-direction:column;gap:var(--calcite-spacing-md);width:min-content}.arcgis-weather__content--has-error{visibility:hidden;height:0;overflow:hidden;pointer-events:none}.arcgis-weather__selector{display:flex;flex-direction:row;gap:var(--calcite-spacing-sm);align-items:center}.arcgis-weather__options{display:flex;flex-direction:column;gap:var(--calcite-spacing-sm);calcite-label:last-child{--calcite-label-margin-bottom: 0}}.arcgis-weather__options--hidden{display:none}.arcgis-weather__warning{display:flex;flex-direction:row;gap:var(--calcite-spacing-xs);align-items:center;font-size:var(--calcite-font-size-sm);calcite-icon{color:var(--calcite-color-status-warning)}}}`,z=Object.defineProperty,F=Object.getOwnPropertyDescriptor,o=(t,e,i,s)=>{for(var r=s>1?void 0:s?F(e,i):e,p=t.length-1,l;p>=0;p--)(l=t[p])&&(r=(s?l(e,i,r):l(r))||r);return s&&r&&z(e,i,r),r},I={sunny:D,cloudy:E,rainy:L,snowy:H,foggy:k},R=Object.keys(I),n=class extends j{constructor(t){super(t),this.view=null,this._settingWeather=!1,this._weatherByType={sunny:new D,cloudy:new E,rainy:new L,snowy:new H,foggy:new k}}initialize(){this.addHandles([W(()=>this.current,t=>{this._settingWeather||t==null||(this._weatherByType={...this._weatherByType,[t.type]:t})},{sync:!0,initial:!0})])}get state(){if(!this.view?.ready)return"disabled";if(this.error!=null)switch(this.error){case"not-visible":return"ready";default:return"error"}return"ready"}get disabled(){return this.state==="disabled"}get weatherByType(){return this._weatherByType}get error(){let t=this.view;return t?.ready?t.type!=="3d"?"unsupported-view":t.viewingMode==="local"?"local-scene":t.environment.atmosphereEnabled?t.environment.weatherAvailable?null:"not-visible":"no-atmosphere":null}get current(){return this._environment?.weather??this._weatherByType.sunny}set current(t){let e=this._environment;e&&(e.weather=t)}get _environment(){let t=this.view;return t!=null&&t.type==="3d"?t.environment:null}setWeatherByType(t){if(!R.includes(t)){console.warn(`"arcgis-weather - ${t}" is not a valid weather type`);return}let e=this._environment;e!=null&&(this._settingWeather=!0,e.weather=this._weatherByType[t],this._settingWeather=!1)}setSnowCoverEnabled(t){let e=this.current;"snowCover"in e&&(e.snowCover=t?"enabled":"disabled")}};o([h()],n.prototype,"view",2);o([h()],n.prototype,"state",1);o([h()],n.prototype,"disabled",1);o([h()],n.prototype,"weatherByType",1);o([h()],n.prototype,"error",1);o([h()],n.prototype,"current",1);o([h()],n.prototype,"_weatherByType",2);o([h()],n.prototype,"_environment",1);n=o([A("components.weather.WeatherViewModel")],n);function g({label:t,value:e,disabled:i,onChange:s}){let r=p=>{let l=p.currentTarget.value;s?.(l)};return a`<calcite-label scale=s>${t}<calcite-slider aria-label=${t??y} .disabled=${i} style=${x({marginInline:"-7px",marginBottom:"-7px"})} max=1 min=0 step=0.01 .value=${e??0} @calciteSliderChange=${r} @calciteSliderInput=${r}></calcite-slider></calcite-label>`}var V=B(n),U={sunny:"brightness",cloudy:"partly-cloudy",rainy:"rain",snowy:"snow",foggy:"fog"},m=class extends M{constructor(){super(...arguments),this.viewModel=V(this),this.messages=T(),this.autoDestroyDisabled=!1,this.headingLevel=4,this.hideHeader=!1,this.icon="partly-cloudy",this.label=this.messages.componentLabel,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=_()("state"),this.arcgisReady=C()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=$}static{this.styles=P}async destroy(){await this.manager.destroy()}load(){this.manager.onLifecycle(()=>[W(()=>this._renderContent(),()=>this.requestUpdate())])}_getWarningMessage(){switch(this.viewModel.error){case"not-visible":{let{view:e}=this.viewModel;return e?.type==="3d"&&e.environment.atmosphereEnabled?this.messages.error?.notVisible:void 0}default:return}}_getErrorMessage(){let e=this.messages.error;if(e)switch(this.viewModel.error){case"local-scene":return e.localScene;case"no-atmosphere":return e.noAtmosphere;case"unsupported-view":return e.unsupported;default:return}}render(){return a`<div aria-label=${this.messages.componentLabelAccessible??y} class=${u(v(d.base,w.widget,this.viewModel.disabled&&w.widgetDisabled))} role=region>${this._renderContent()}</div>`}_renderContent(){let{headingLevel:e,messages:i,viewModel:s}=this,r=this._getWarningMessage(),p=s.current,l=s.state==="error";return a`${this.hideHeader?void 0:S({level:e,children:i.componentLabel})}${l?a`<div class=${u(d.error)}>${this._getErrorMessage()}</div>`:void 0}<div class=${u(v({[d.content]:!0,[d.hasError]:l}))}><div aria-label=${i.weatherType??y} class=${u(d.selector)} role=radiogroup>${R.map(this._renderWeatherTypeButton,this)}</div>${Object.values(s.weatherByType).map(b=>a`<div class=${u(v({[d.options]:!0,[d.optionsHidden]:b.type!==p?.type}))}>${this._renderOptions(b)}</div>`)}${r?this._renderWarning(r):void 0}</div>`}_renderWeatherTypeButton(e){let i=this.messages[e]?.label??"",{disabled:s}=this.viewModel,r=!s&&this.viewModel.current.type===e;return a`<calcite-button .appearance=${r?"solid":"outline"} aria-checked=${r?"true":"false"} .disabled=${s} .iconStart=${U[e]} .kind=${r?"brand":"neutral"} .label=${i} @click=${()=>{r||this.viewModel.setWeatherByType(e)}} scale=l title=${i??y}></calcite-button>`}_renderOptions(e){switch(e.type){case"sunny":return this._renderSunnyOptions(e);case"cloudy":return this._renderCloudyOptions(e);case"rainy":return this._renderRainyOptions(e);case"snowy":return this._renderSnowyOptions(e);case"foggy":return this._renderFoggyOptions(e)}}_renderSunnyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.sunny?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderCloudyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.cloudy?.cloudCover,value:e.cloudCover,onChange:i=>{e.cloudCover=i}})}_renderRainyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.rainy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}`}_renderSnowyOptions(e){let{disabled:i}=this.viewModel,s=this.messages.snowy;return a`${g({disabled:i,label:s?.cloudCover,value:e.cloudCover,onChange:r=>{e.cloudCover=r}})}${g({disabled:i,label:s?.precipitation,value:e.precipitation,onChange:r=>{e.precipitation=r}})}<calcite-label layout=inline scale=s title=${s?.snowCoverTooltip??y}><calcite-checkbox .checked=${e.snowCover==="enabled"} .disabled=${i} @calciteCheckboxChange=${r=>{this.viewModel.setSnowCoverEnabled(r.currentTarget.checked)}}></calcite-checkbox>${s?.snowCover}</calcite-label>`}_renderFoggyOptions(e){return g({disabled:this.viewModel.disabled,label:this.messages.foggy?.fogStrength,value:e.fogStrength,onChange:i=>{e.fogStrength=i}})}_renderWarning(e){return a`<div class=${u(d.warning)}><calcite-icon icon=exclamation-mark-triangle scale=s></calcite-icon>${e}</div>`}};O("arcgis-weather",m);_2=m},"core/reactiveUtils","core/Accessor","core/accessorSupport/decorators","views/3d/environment/CloudyWeather","views/3d/environment/FoggyWeather","views/3d/environment/RainyWeather","views/3d/environment/SnowyWeather","views/3d/environment/SunnyWeather",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisWeather}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{$$ as _0,a as p}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{$$ as _0,a as p}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as z}from"./XQAHHRA2.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as u,H as h,I as s,K as a,M as d,b as t,r as n,s as l,u as c,v as m}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([f])=>{var o={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",button:"esri-widget--button",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"},w=l`@layer{arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap;box-shadow:0 1px 2px #0000004d}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}}`,v=p(f),i=class extends h{constructor(){super(...arguments),this.messages=z({}),this.viewModel=v(this),this.canZoomIn=this.viewModel.canZoomIn,this.canZoomOut=this.viewModel.canZoomOut,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state=this.viewModel.state,this.arcgisPropertyChange=n()("state"),this.arcgisReady=u()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:3,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=c}static{this.styles=w}async destroy(){await this.manager.destroy()}async zoomIn(){this.viewModel.zoomIn()}async zoomOut(){this.viewModel.zoomOut()}render(){let g={[o.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:b,canZoomOut:y}=this.viewModel,{zoomIn:e,zoomOut:r}=this.messages;return m`<div class=${s(t(o.base,g))}><calcite-button class=${s(t(o.button,o.zoomIn))} .disabled=${!b} icon-start=plus kind=neutral .label=${e} @click=${this.zoomIn} title=${e??a}></calcite-button><calcite-button class=${s(t(o.button,o.zoomOut))} .disabled=${!y} icon-start=minus kind=neutral .label=${r} @click=${this.zoomOut} title=${r??a}></calcite-button></div>`}};d("arcgis-zoom",i);_2=i},"widgets/Zoom/ZoomViewModel",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisZoom}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{c as r,e as l,f as t}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{c as r,e as l,f as t}from"./IVXTLLMR.js";import{d as h,e as d,f as n,g as o}from"./UCS55DHL.js";import{G as s,H as v,M as p,s as m,u as w}from"./HRFMDI2D.js";var _0,$$=$arcgis.t(([{watch:g},u,y])=>{var _=m`@layer{arcgis-scene{display:block;height:100%;.esri-view{height:100%;width:100%}}}`,V=r(y,{}),f=r(u,{}),c=class extends v{constructor(){super(...arguments),this._camera=void 0,this._center=void 0,this._extent=void 0,this._itemId=void 0,this._scale=void 0,this._viewpoint=void 0,this._zoom=void 0,this._cameraFov=void 0,this._cameraHeading=void 0,this._cameraPosition=void 0,this._cameraTilt=void 0,this._map=V(this,{editConstructorProperties:this._editMapProperties}),this.view=f(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.visibleArea=this.view.visibleArea,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=s()}static{this.properties={_map:16,view:32,allLayerViews:0,alphaCompositingEnabled:5,analyses:0,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,center:1,clippingArea:0,constraints:0,displayFilterDisabled:5,environment:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,groundView:0,highlights:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupDisabled:5,qualityProfile:1,ready:4,resolution:32,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,updating:7,viewingMode:1,viewpoint:0,visibleArea:0,zoom:9}}static{this.shadowRootOptions=w}static{this.styles=_}get camera(){return this.view.camera??this._camera}set camera(i){this._camera=i,this.ready&&!h(this.camera,i)&&(this.view.camera=i)}get cameraFov(){return this.view.camera?.fov??this._cameraFov}set cameraFov(i){this.ready&&i!=null&&this._mutateCamera(e=>{e.fov=i}),this._cameraFov=i}get cameraHeading(){return this.view.camera?.heading??this._cameraHeading}set cameraHeading(i){this.ready&&i!=null&&this._mutateCamera(e=>{e.heading=i}),this._cameraHeading=i}get cameraPosition(){return this.view.camera?.position??this._cameraPosition}set cameraPosition(i){if(this.ready){let e=o(this.view.camera?.position,i);e&&this._mutateCamera(a=>{a.position=e})}else this._cameraPosition=i}get cameraTilt(){return this.view.camera?.tilt??this._cameraTilt}set cameraTilt(i){this.ready&&i!=null&&this._mutateCamera(e=>{e.tilt=i}),this._cameraTilt=i}get center(){return this.view.center??this._center}set center(i){let e=n(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.ready&&i&&!this.extent?.equals(i)&&(this.view.extent=i),this._extent=i}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready?l.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error):this.view.ready!=null&&(this._map.destroy(),this._map=new y(this._editMapProperties({portalItem:{id:this._itemId}})),this.view.map=this._map)}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get resolution(){return this.view.resolution}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){this.ready&&d(this.viewpoint,i)&&(this.view.viewpoint=i),this._viewpoint=i}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async addTable(i){this.map?.tables.add(i)}async addTables(i,e){this.map?.tables.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async hitTest(i,e){return await this.view?.hitTest(i,e)}async openPopup(i){await this.view?.openPopup(i)}async takeScreenshot(i){return await this.view?.takeScreenshot(i)}toMap(i,e){return this.view.toMap(i,e)}toScreen(i){return this.view.toScreen(i)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async viewOnReady(i,e){return await this.componentOnReady(),await this.view.whenReady().then(()=>i?.()).catch(e)}async whenAnalysisView(i){return await this.view?.whenAnalysisView(i)}async whenLayerView(i){return await this.view?.whenLayerView(i)}load(){let i=this;i.el.childElem=document.createElement("div"),i.el.append(i.el.childElem),this.view.container??=i.el.childElem}loaded(){this.manager.onLifecycle(()=>[g(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),g(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId&&(i.portalItem={id:this.itemId});let{basemap:e,...a}=i;return e||(i=a),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=n(this.center,void 0);e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.camera&&(i.camera=this.camera);let a=o(void 0,this.cameraPosition);return a&&(i.camera??={},i.camera.position=a),this.cameraHeading!=null&&(i.camera??={},i.camera.heading=this.cameraHeading),this.cameraTilt!=null&&(i.camera??={},i.camera.tilt=this.cameraTilt),this.cameraFov!=null&&(i.camera??={},i.camera.fov=this.cameraFov),this.zoom!==void 0&&(i.zoom=this.zoom),i}_mutateCamera(i){let e=this.view.camera.clone();i(e),h(this.view.camera,e)||(this.view.camera=e)}};p("arcgis-scene",c);_0=c},"core/reactiveUtils","views/SceneView","WebScene")
|
|
5
5
|
export{$$,_0 as ArcgisScene}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.33/esri/copyright.txt for details.
|
|
3
|
-
v4.33.0-next.
|
|
4
|
-
import{b as R}from"./
|
|
3
|
+
v4.33.0-next.90 */
|
|
4
|
+
import{b as R}from"./ZLQ2KZ7N.js";import{$$ as _0,a as B}from"./UB3HD4CA.js";import{$$ as _1}from"./P23P7GQM.js";import{a as L}from"./XQAHHRA2.js";import{a as v}from"./IC2GOV3R.js";import"./IVXTLLMR.js";import"./UCS55DHL.js";import{G as y,H as g,I as r,J as _,M as w,b as d,u as C,v as c}from"./HRFMDI2D.js";var _2,$$=$arcgis.t(([{getDefaultUnitForView:U},{watch:D},{formatNumber:S},x])=>{function M($=0,e=0){return{x:$,y:e}}var a="esri-scale-bar",t={base:a,labelContainer:`${a}__label-container`,rulerLabelContainer:`${a}__label-container--ruler`,lineLabelContainer:`${a}__label-container--line`,topLabelContainer:`${a}__label-container--top`,bottomLabelContainer:`${a}__label-container--bottom`,label:`${a}__label`,line:`${a}__line`,topLine:`${a}__line--top`,bottomLine:`${a}__line--bottom`,ruler:`${a}__ruler`,rulerBlock:`${a}__ruler-block`,barContainer:`${a}__bar-container`,rulerBarContainer:`${a}__bar-container--ruler`,lineBarContainer:`${a}__bar-container--line`},O=B(x),f=class extends g{constructor(){super(...arguments),this._defaultUnit="metric",this.messages=L(),this._scaleComputedFrom=M(),this.viewModel=O(this),this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.position="top-left",this.arcgisReady=y()}static{this.properties={autoDestroyDisabled:5,barStyle:1,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,unit:1}}static{this.shadowRootOptions=C}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this.manager.onLifecycle(()=>D(()=>{let e=this.viewModel.view;return{defaultUnit:e?U(e):void 0,stationary:e?.stationary,center:e?.center,scale:e?.scale,zoom:e?.zoom}},({defaultUnit:e,stationary:i})=>{this._defaultUnit=e??"metric",i&&this.requestUpdate()}))}_handleContainerRef(e){e!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){if(!this.viewModel)return;let e=this._scaleComputedFrom,i=this.el.getBoundingClientRect(),s=i.left+window.pageXOffset,l=i.top+window.pageYOffset,o=M(s,l);(o.x!==e.x||o.y!==e.y)&&(this._scaleComputedFrom=o)}_formatDistance(e,i){return S(e,{style:"unit",unit:i,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",i={[v.disabled]:e},s,l;if(!e){let{unit:o,barStyle:u}=this,b=o==="imperial"||o==="dual",p=o==="metric"||o==="dual",m=100,h=o==="dual"?"line":u;if(b){let n=this.viewModel.getScaleBarProperties(m,"imperial");n&&(l=h==="ruler"?this._renderRuler(n):this._renderLine(n,"bottom"))}if(p){let n=this.viewModel.getScaleBarProperties(m,"metric");n&&(s=h==="ruler"?this._renderRuler(n):this._renderLine(n,"top"))}}return c`<div class=${r(d(t.base,v.widget,i))} ${R(this._handleContainerRef)}>${s}${l}</div>`}_renderRuler(e){let{length:i,unit:s,value:l}=e,o=Math.round(i),u=this._formatDistance(l,s);return c`<div class=${r(d(t.barContainer,t.rulerBarContainer))}><div class=${r(t.ruler)} style=${_({width:`${o}px`})}><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div><div class=${r(t.rulerBlock)}></div></div><div class=${r(d(t.labelContainer,t.rulerLabelContainer))}><div class=${r(t.label)}>0</div><div class=${r(t.label)}>${u}</div></div></div>`}_renderLine(e,i){let{length:s,unit:l,value:o}=e,u=Math.round(s),b=this._formatDistance(o,l),p={[t.topLabelContainer]:i==="top",[t.bottomLabelContainer]:i==="bottom"},m=c`<div class=${r(d(t.labelContainer,t.lineLabelContainer,p))}><div class=${r(t.label)}>${b}</div></div>`,h={[t.topLine]:i==="top",[t.bottomLine]:i==="bottom"},n=c`<div class=${r(d(t.line,h))} style=${_({width:`${u}px`})}></div>`;return c`<div class=${r(d(t.barContainer,t.lineBarContainer))}>${[n,m]}</div>`}};w("arcgis-scale-bar",f);_2=f},"applications/Components/getDefaultUnits","core/reactiveUtils","intl","widgets/ScaleBar/ScaleBarViewModel",_0,_1)
|
|
5
5
|
export{$$,_2 as ArcgisScaleBar}
|