@arcgis/map-components 4.33.0-next.110 → 4.33.0-next.112
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/{RCKD5B5N.js → 2A5TCTEP.js} +2 -2
- package/dist/arcgis-map-components/2ITIMF6F.js +4 -0
- package/dist/arcgis-map-components/{V4VIEN7G.js → 2ZRDMI77.js} +2 -2
- package/dist/arcgis-map-components/{QRIEWDSA.js → 32ZOFY3C.js} +2 -2
- package/dist/arcgis-map-components/{YEVBD6LT.js → 3CPTT7OF.js} +2 -2
- package/dist/arcgis-map-components/{TMI2LTJR.js → 3IWON4SC.js} +2 -2
- package/dist/arcgis-map-components/{JKWKEMS5.js → 3S3XPQMV.js} +2 -2
- package/dist/arcgis-map-components/{ETP6MIDY.js → 4KIAEEHF.js} +2 -2
- package/dist/arcgis-map-components/{B2IOOG27.js → 4YLCV7VI.js} +2 -2
- package/dist/arcgis-map-components/{KMFOBHZU.js → 53B6KWJR.js} +2 -2
- package/dist/arcgis-map-components/{PUFJ3WGT.js → 567WBIBJ.js} +2 -2
- package/dist/arcgis-map-components/{JWQOEZR7.js → 5LSUFGJ3.js} +2 -2
- package/dist/arcgis-map-components/{2FGTE3EI.js → 5NWU2CMD.js} +2 -2
- package/dist/arcgis-map-components/{D2N76M4P.js → 5OAZNOJ5.js} +1 -1
- package/dist/arcgis-map-components/5PTKV3UD.js +4 -0
- package/dist/arcgis-map-components/5ZEBF76L.js +4 -0
- package/dist/arcgis-map-components/{LRS6CBXO.js → 6AB5SVBU.js} +1 -1
- package/dist/arcgis-map-components/{CFS5QGKZ.js → 6B3KGB5C.js} +2 -2
- package/dist/arcgis-map-components/{F6SF33EC.js → 6P7BCHWU.js} +2 -2
- package/dist/arcgis-map-components/{5CDPJSSU.js → 6UAIP5CN.js} +1 -1
- package/dist/arcgis-map-components/6UITFLRT.js +4 -0
- package/dist/arcgis-map-components/{MBCNEPCF.js → 7AFU6HV4.js} +2 -2
- package/dist/arcgis-map-components/{D5WZGD67.js → 7D54COAB.js} +1 -1
- package/dist/arcgis-map-components/{AVBEIGLZ.js → 7HGZYTUE.js} +2 -2
- package/dist/arcgis-map-components/{ZX2255C2.js → AD3MG3QV.js} +2 -2
- package/dist/arcgis-map-components/{ZTPIR2S5.js → AHNRHEL2.js} +2 -2
- package/dist/arcgis-map-components/AKKIXP6X.js +4 -0
- package/dist/arcgis-map-components/ATI72MXR.js +4 -0
- package/dist/arcgis-map-components/{36X3FHOU.js → BBOJWXAU.js} +2 -2
- package/dist/arcgis-map-components/{ICDWERXU.js → BYAIR2OE.js} +2 -2
- package/dist/arcgis-map-components/{QWSVPF5C.js → CAIILLIG.js} +2 -2
- package/dist/arcgis-map-components/{AHXNR3GL.js → CS6OTJLD.js} +2 -2
- package/dist/arcgis-map-components/D7ZH5D3N.js +4 -0
- package/dist/arcgis-map-components/{N5ATTFDI.js → DEVCH2PT.js} +2 -2
- package/dist/arcgis-map-components/DRI4AGCN.js +4 -0
- package/dist/arcgis-map-components/E7JFNKNZ.js +4 -0
- package/dist/arcgis-map-components/{YQFHTMUS.js → EEZ74S5I.js} +2 -2
- package/dist/arcgis-map-components/F3H37ENG.js +4 -0
- package/dist/arcgis-map-components/FG4X7DNH.js +4 -0
- package/dist/arcgis-map-components/{P2VXSAQN.js → FL33DAYC.js} +2 -2
- package/dist/arcgis-map-components/{JPE5KWQF.js → FLJOZCWO.js} +2 -2
- package/dist/arcgis-map-components/{K2B6PEYA.js → FWJUDAKS.js} +2 -2
- package/dist/arcgis-map-components/{KKGD4GVK.js → GVH5ZTRC.js} +2 -2
- package/dist/arcgis-map-components/{J5WW3PWF.js → H6QDCONW.js} +2 -2
- package/dist/arcgis-map-components/{6I6BVBZJ.js → H6YFRMVJ.js} +2 -2
- package/dist/arcgis-map-components/{X3O23HFE.js → HRYEMOAQ.js} +2 -2
- package/dist/arcgis-map-components/{GKSJABSG.js → I2MOMDDY.js} +2 -2
- package/dist/arcgis-map-components/I6344LIX.js +4 -0
- package/dist/arcgis-map-components/{TYXBBNGG.js → IVB3VRBN.js} +2 -2
- package/dist/arcgis-map-components/{QZ2MGZQF.js → J7R3AQPD.js} +2 -2
- package/dist/arcgis-map-components/{CJKHPEJA.js → JTHB2MZC.js} +2 -2
- package/dist/arcgis-map-components/JTU73RBV.js +4 -0
- package/dist/arcgis-map-components/{AMA7PACC.js → K2EF5D5S.js} +2 -2
- package/dist/arcgis-map-components/{WJLUVO7B.js → K73CMPIT.js} +1 -1
- package/dist/arcgis-map-components/{OAICGLZA.js → KAN7AQ3W.js} +2 -2
- package/dist/arcgis-map-components/{7XYZ552G.js → KESQCJT6.js} +2 -2
- package/dist/arcgis-map-components/{42ULEB7K.js → KLFNL4DS.js} +2 -2
- package/dist/arcgis-map-components/{6L2VCCRI.js → KSM76BR4.js} +2 -2
- package/dist/arcgis-map-components/{ZXL7FUAL.js → LC7RJ7ZW.js} +2 -2
- package/dist/arcgis-map-components/{F6MXJRN5.js → LFGA26ZR.js} +1 -1
- package/dist/arcgis-map-components/LIAS5FGP.js +4 -0
- package/dist/arcgis-map-components/{GBGNSCTD.js → M522EXIU.js} +2 -2
- package/dist/arcgis-map-components/MKJRGEHQ.js +4 -0
- package/dist/arcgis-map-components/{JBHNDWOY.js → ML4GS2EX.js} +2 -2
- package/dist/arcgis-map-components/{IGOFTZDP.js → MLDSF36Z.js} +2 -2
- package/dist/arcgis-map-components/{GRANY366.js → MOUVG6YL.js} +2 -2
- package/dist/arcgis-map-components/{IXADWFZZ.js → MP2T5UAD.js} +2 -2
- package/dist/arcgis-map-components/{MPV533RM.js → MYHTQ35C.js} +2 -2
- package/dist/arcgis-map-components/{XX5ZW5BR.js → NC56CTYZ.js} +2 -2
- package/dist/arcgis-map-components/{PCFZBI7L.js → NGKWS7CM.js} +2 -2
- package/dist/arcgis-map-components/{SZJB53ZU.js → NHX3UYZI.js} +2 -2
- package/dist/arcgis-map-components/{JZXVBBWN.js → NR5O647R.js} +2 -2
- package/dist/arcgis-map-components/{K4JH3F2E.js → NYG3JBO6.js} +2 -2
- package/dist/arcgis-map-components/{XFLP74F3.js → OAFG4TNU.js} +1 -1
- package/dist/arcgis-map-components/{7EGB7FTU.js → OIO3PH5C.js} +2 -2
- package/dist/arcgis-map-components/{ONPFXIQX.js → OR63CPUN.js} +2 -2
- package/dist/arcgis-map-components/{FMUD4TTV.js → ORIROEP5.js} +2 -2
- package/dist/arcgis-map-components/{COJMQHI3.js → OZ5MBCGT.js} +2 -2
- package/dist/arcgis-map-components/{BVTZYTWZ.js → PFWJQTDQ.js} +2 -2
- package/dist/arcgis-map-components/{BHMX4YNN.js → PHHXPZ3K.js} +2 -2
- package/dist/arcgis-map-components/{4SFRF42D.js → PI7UVNAK.js} +2 -2
- package/dist/arcgis-map-components/{VV4KGPH7.js → Q53IGXXT.js} +2 -2
- package/dist/arcgis-map-components/{VDVRFECB.js → QEEZ4Q6H.js} +2 -2
- package/dist/arcgis-map-components/{BCFPLJ7K.js → QMXRLWFF.js} +2 -2
- package/dist/arcgis-map-components/R3LVNUZX.js +4 -0
- package/dist/arcgis-map-components/{AWYOOT3Y.js → RO2DJZ4L.js} +2 -2
- package/dist/arcgis-map-components/{75O5WJDN.js → RTQL4EQB.js} +2 -2
- package/dist/arcgis-map-components/{NUJBBVVA.js → RXB2ZQ3W.js} +2 -2
- package/dist/arcgis-map-components/{LMY462WI.js → SDL4MTSK.js} +2 -2
- package/dist/arcgis-map-components/{F5MANJYH.js → SEFXBTOQ.js} +2 -2
- package/dist/arcgis-map-components/{H7SKGQ7W.js → SRXBUFCK.js} +2 -2
- package/dist/arcgis-map-components/SUSL675L.js +4 -0
- package/dist/arcgis-map-components/{AMKUE4C5.js → SY46TRCY.js} +2 -2
- package/dist/arcgis-map-components/{UPBEWLLZ.js → TGNEBXQN.js} +2 -2
- package/dist/arcgis-map-components/{HML2J3GT.js → TIY4KMV6.js} +2 -2
- package/dist/arcgis-map-components/{OJE4RYY4.js → TMB3FTNQ.js} +2 -2
- package/dist/arcgis-map-components/{O2LEBTU4.js → U2LVAH2P.js} +2 -2
- package/dist/arcgis-map-components/{VPRCT5JH.js → V4EWL7AV.js} +2 -2
- package/dist/arcgis-map-components/{QPOLGPZI.js → VD52KFUX.js} +2 -2
- package/dist/arcgis-map-components/{ZFUODX3A.js → VVG2C57S.js} +2 -2
- package/dist/arcgis-map-components/{6HBTXJ4D.js → VWDL7CSZ.js} +2 -2
- package/dist/arcgis-map-components/{G45TPKCS.js → W2AMHGHS.js} +2 -2
- package/dist/arcgis-map-components/WSAP2OR6.js +4 -0
- package/dist/arcgis-map-components/WUDKWJ4X.js +4 -0
- package/dist/arcgis-map-components/XDVTLXYO.js +4 -0
- package/dist/arcgis-map-components/XE3VIDR7.js +4 -0
- package/dist/arcgis-map-components/{KLTDL6JC.js → XFH23L4R.js} +2 -2
- package/dist/arcgis-map-components/{DDODXUCF.js → XTW5HDRV.js} +2 -2
- package/dist/arcgis-map-components/{LW4IBOKV.js → XUDVZAXR.js} +2 -2
- package/dist/arcgis-map-components/{327BZNDH.js → YCSDGMQC.js} +2 -2
- package/dist/arcgis-map-components/{6DTEPHQF.js → YTPE7VMZ.js} +2 -2
- package/dist/arcgis-map-components/ZB3HZ4R4.js +4 -0
- package/dist/arcgis-map-components/{KMBFDSOF.js → ZEQMUHND.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- 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/maybe.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +4 -4
- package/dist/chunks/useView.js +13 -11
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +47 -18
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -6
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +45 -8
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -4
- package/dist/components/arcgis-attachments/customElement.d.ts +60 -7
- package/dist/components/arcgis-attachments/customElement.js +1 -4
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +28 -14
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -11
- package/dist/components/arcgis-basemap-gallery-item/customElement.d.ts +2 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -5
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +154 -8
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -7
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +33 -12
- package/dist/components/arcgis-basemap-toggle/customElement.js +3 -11
- package/dist/components/arcgis-bookmarks/customElement.d.ts +85 -8
- package/dist/components/arcgis-bookmarks/customElement.js +1 -4
- package/dist/components/arcgis-building-explorer/customElement.d.ts +63 -17
- package/dist/components/arcgis-building-explorer/customElement.js +1 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +115 -8
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -5
- package/dist/components/arcgis-compass/customElement.d.ts +38 -5
- package/dist/components/arcgis-compass/customElement.js +2 -8
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +95 -9
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -4
- package/dist/components/arcgis-daylight/customElement.d.ts +76 -8
- package/dist/components/arcgis-daylight/customElement.js +1 -4
- package/dist/components/arcgis-directional-pad/customElement.d.ts +54 -8
- package/dist/components/arcgis-directional-pad/customElement.js +3 -27
- package/dist/components/arcgis-directions/customElement.d.ts +84 -8
- package/dist/components/arcgis-directions/customElement.js +2 -10
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +45 -8
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +40 -8
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -6
- package/dist/components/arcgis-editor/customElement.d.ts +74 -8
- package/dist/components/arcgis-editor/customElement.js +1 -4
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +94 -8
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -4
- package/dist/components/arcgis-expand/customElement.d.ts +96 -10
- package/dist/components/arcgis-expand/customElement.js +1 -6
- package/dist/components/arcgis-feature/customElement.d.ts +119 -17
- package/dist/components/arcgis-feature/customElement.js +1 -9
- package/dist/components/arcgis-feature-form/customElement.d.ts +61 -7
- package/dist/components/arcgis-feature-form/customElement.js +1 -6
- package/dist/components/arcgis-feature-table/customElement.d.ts +316 -38
- package/dist/components/arcgis-feature-table/customElement.js +1 -6
- package/dist/components/arcgis-feature-templates/customElement.d.ts +72 -7
- package/dist/components/arcgis-feature-templates/customElement.js +1 -4
- package/dist/components/arcgis-features/customElement.d.ts +191 -19
- package/dist/components/arcgis-features/customElement.js +1 -10
- package/dist/components/arcgis-floor-filter/customElement.d.ts +51 -8
- package/dist/components/arcgis-floor-filter/customElement.js +1 -4
- package/dist/components/arcgis-fullscreen/customElement.d.ts +17 -13
- package/dist/components/arcgis-fullscreen/customElement.js +2 -12
- package/dist/components/arcgis-grid-controls/customElement.d.ts +120 -22
- package/dist/components/arcgis-grid-controls/customElement.js +5 -24
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +113 -7
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -8
- package/dist/components/arcgis-home/customElement.d.ts +36 -7
- package/dist/components/arcgis-home/customElement.js +3 -20
- package/dist/components/arcgis-labeled-switch/customElement.d.ts +11 -13
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -8
- package/dist/components/arcgis-layer-list/customElement.d.ts +145 -8
- package/dist/components/arcgis-layer-list/customElement.js +1 -7
- package/dist/components/arcgis-layer-list-item/customElement.d.ts +60 -50
- package/dist/components/arcgis-layer-list-item/customElement.js +41 -58
- package/dist/components/arcgis-legend/customElement.d.ts +87 -9
- package/dist/components/arcgis-legend/customElement.js +1 -4
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +35 -8
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -4
- package/dist/components/arcgis-link-chart/customElement.d.ts +83 -29
- package/dist/components/arcgis-link-chart/customElement.js +1 -71
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +38 -10
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +3 -11
- package/dist/components/arcgis-locate/customElement.d.ts +61 -11
- package/dist/components/arcgis-locate/customElement.js +3 -16
- package/dist/components/arcgis-map/customElement.d.ts +100 -39
- package/dist/components/arcgis-map/customElement.js +1 -83
- package/dist/components/arcgis-measurement/customElement.d.ts +52 -7
- package/dist/components/arcgis-measurement/customElement.js +1 -4
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +17 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +7 -16
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +104 -15
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -8
- package/dist/components/arcgis-placement/customElement.d.ts +6 -1
- package/dist/components/arcgis-placement/customElement.js +1 -12
- package/dist/components/arcgis-print/customElement.d.ts +196 -25
- package/dist/components/arcgis-print/customElement.js +3 -12
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -5
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -7
- package/dist/components/arcgis-print-export-button/customElement.js +1 -7
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -5
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -5
- package/dist/components/arcgis-print-format-select/customElement.js +1 -5
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -5
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -5
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -7
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -5
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -5
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -5
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -5
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -7
- package/dist/components/arcgis-print-template-select/customElement.js +1 -5
- package/dist/components/arcgis-print-template-selector/customElement.d.ts +1 -0
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -7
- package/dist/components/arcgis-scale-bar/customElement.d.ts +22 -8
- package/dist/components/arcgis-scale-bar/customElement.js +3 -18
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +79 -8
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -4
- package/dist/components/arcgis-scene/customElement.d.ts +199 -107
- package/dist/components/arcgis-scene/customElement.js +1 -195
- package/dist/components/arcgis-search/customElement.d.ts +108 -64
- package/dist/components/arcgis-search/customElement.js +3 -40
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +13 -7
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -10
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +86 -8
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -4
- package/dist/components/arcgis-sketch/customElement.d.ts +147 -8
- package/dist/components/arcgis-sketch/customElement.js +1 -8
- package/dist/components/arcgis-slice/customElement.d.ts +67 -8
- package/dist/components/arcgis-slice/customElement.js +1 -4
- package/dist/components/arcgis-slider/customElement.d.ts +171 -7
- package/dist/components/arcgis-slider/customElement.js +1 -4
- package/dist/components/arcgis-swipe/customElement.d.ts +41 -15
- package/dist/components/arcgis-swipe/customElement.js +3 -12
- package/dist/components/arcgis-table-list/customElement.d.ts +106 -8
- package/dist/components/arcgis-table-list/customElement.js +1 -5
- package/dist/components/arcgis-time-slider/customElement.d.ts +117 -8
- package/dist/components/arcgis-time-slider/customElement.js +1 -4
- package/dist/components/arcgis-time-zone-label/customElement.d.ts +25 -4
- package/dist/components/arcgis-time-zone-label/customElement.js +5 -23
- package/dist/components/arcgis-track/customElement.d.ts +84 -9
- package/dist/components/arcgis-track/customElement.js +3 -10
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +157 -21
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -8
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +79 -11
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -4
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +27 -8
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -8
- package/dist/components/arcgis-value-picker/customElement.d.ts +87 -7
- package/dist/components/arcgis-value-picker/customElement.js +1 -4
- package/dist/components/arcgis-version-management/customElement.d.ts +27 -11
- package/dist/components/arcgis-version-management/customElement.js +3 -16
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -5
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -3
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +3 -0
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -8
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -8
- package/dist/components/arcgis-video/customElement.d.ts +17 -1
- package/dist/components/arcgis-video/customElement.js +1 -8
- package/dist/components/arcgis-video-player/customElement.d.ts +84 -16
- package/dist/components/arcgis-video-player/customElement.js +3 -10
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -3
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -5
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -5
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -5
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -5
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -5
- package/dist/components/arcgis-weather/customElement.d.ts +24 -6
- package/dist/components/arcgis-weather/customElement.js +2 -19
- package/dist/components/arcgis-zoom/customElement.d.ts +27 -12
- package/dist/components/arcgis-zoom/customElement.js +6 -19
- package/dist/controllers/Handles.d.ts +2 -2
- package/dist/controllers/useHandles.d.ts +4 -4
- package/dist/docs/api.json +1405 -756
- package/dist/docs/docs.json +555 -358
- package/dist/docs/vscode.html-custom-data.json +297 -223
- package/dist/docs/web-types.json +569 -550
- package/dist/geolocation/GeolocationPositioning.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +5 -5
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +4 -4
- package/dist/arcgis-map-components/2JBP4ZVS.js +0 -4
- package/dist/arcgis-map-components/3GDHHMCP.js +0 -4
- package/dist/arcgis-map-components/4LPK3K4J.js +0 -4
- package/dist/arcgis-map-components/6MSG5QGN.js +0 -4
- package/dist/arcgis-map-components/BPXSIXTK.js +0 -4
- package/dist/arcgis-map-components/CCNWF5WU.js +0 -4
- package/dist/arcgis-map-components/HM3D2JGC.js +0 -4
- package/dist/arcgis-map-components/JCV4PQ5D.js +0 -4
- package/dist/arcgis-map-components/JY6QXCIS.js +0 -4
- package/dist/arcgis-map-components/M6C7PYAT.js +0 -4
- package/dist/arcgis-map-components/MURFSRQC.js +0 -4
- package/dist/arcgis-map-components/P57UHK6M.js +0 -4
- package/dist/arcgis-map-components/QCW7N6MX.js +0 -4
- package/dist/arcgis-map-components/QX25LAO2.js +0 -4
- package/dist/arcgis-map-components/RETQWO7T.js +0 -4
- package/dist/arcgis-map-components/SFVKLYSR.js +0 -4
- package/dist/arcgis-map-components/T33Z4PH2.js +0 -4
- package/dist/arcgis-map-components/TDTOBDKS.js +0 -4
- package/dist/arcgis-map-components/ULRTIRJV.js +0 -4
- package/dist/arcgis-map-components/WBVJ6VJO.js +0 -4
- package/dist/arcgis-map-components/XL55REDW.js +0 -4
- package/dist/arcgis-map-components/YIENDWPB.js +0 -4
- package/dist/arcgis-map-components/ZK3KZEPV.js +0 -4
- package/dist/chunks/useT9n.js +0 -9
|
@@ -1,6 +1,6 @@
|
|
|
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.
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
4
|
function ms(...o){let t=[];for(let s=0;s<o.length;s++){let n=o[s];if(typeof n=="string")t.push(n);else if(Array.isArray(n))t.push.apply(t,n);else if(typeof n=="object")for(let r in n)n[r]&&t.push(r)}let e=t.join(" ");return t.length=0,e}var _=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function ye(o,t){let e=o;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1}function ge(o,t,e){let{subscribe:s}=ve(t);return s(n=>{n.some(i=>ye(o,i.target))&&e()})}var mt={};function ve(o){let t=o.join(","),e=mt[t];if(e!==void 0)return e;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:o,subtree:!0});let r={subscribe(i){return s.add(i),()=>{s.delete(i),s.size===0&&(n.disconnect(),mt[t]=void 0)}}};return mt[t]=r,r}function _e(o,t){let e=o;for(;e;){let s=e.closest?.(t);if(s)return s;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null}function be(o,t,e){return _e(o,`[${t}]`)?.getAttribute(t)??e}function Ee(o){return typeof o.setFocus=="function"}async function ys(o){o!=null&&(Ee(o)?await o.setFocus():o.focus())}function u(o,t,...e){try{return o?.call(t,...e)}catch(s){console.error(s,o)}}async function j(o,t,...e){try{return await o?.call(t,...e)}catch(s){console.error(s,o)}}function M(o){let t="";for(let e=0;e<o;e++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}function gs(){return[M(2),M(1),M(1),M(1),M(3)].join("-")}var Ce=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],$e=new Set(Ce),J="en",Ae={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"};async function we(o,t,e=""){let s=`${t}/${e}`,n=`${s}${o}.json`;return yt[n]??(yt[n]=Dt(o,s)),await yt[n]}var yt={};async function Dt(o,t){let e=`${t}${o}.json`;try{let s=await fetch(e);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return o===J?{}:await Dt(J,t)}function xe(o){let t=be(o,"lang",globalThis.navigator?.language||J);return{lang:t,t9nLocale:Ut(t)}}function Ut(o){let[t,e]=o.split("-"),s=t.toLowerCase(),n=s;return e&&(n=`${s}-${e.toUpperCase()}`),n=Ae[n]??n,$e.has(n)?n:e?Ut(s):J}function vs(o,t,e,s){let n,r=()=>void Se(o,t(),s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),ge(o,["lang"],r)}async function Se(o,t,e=o.localName.split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=xe(o),r=`${t}/${e}/t9n`,c=e===null?{}:await we(n,r,"messages.");return{lang:s,t9nLocale:n,t9nStrings:c}}var Y=o=>o.replace(Te,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Te=/[A-Z]+(?![a-z])|[A-Z]/gu;function It(o,t){let e=t>Oe?Le:t/Pe,s=0,n=setInterval(()=>{s+=e,s>=t&&(clearInterval(n),o())},e);return n}var Oe=4e3,Le=2e3,Pe=4;function _s(o,t,e=!1){if(!o||!t)return!1;let s=new URL(o),n=new URL(t);return!e&&s.protocol!==n.protocol||s.host==null||n.host==null?!1:s.host.toLowerCase()===n.host.toLowerCase()&&s.port===n.port}var Z=globalThis,Q=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,gt=Symbol(),Mt=new WeakMap,z=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==gt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Q&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=Mt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&Mt.set(e,t))}return t}toString(){return this.cssText}},jt=o=>new z(typeof o=="string"?o:o+"",void 0,gt),Ne=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,n,r)=>s+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+o[r+1],o[0]);return new z(e,o,gt)},vt=(o,t)=>{if(Q)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),n=Z.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=e.cssText,o.appendChild(s)}},X=Q?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return jt(e)})(o):o;var bt=globalThis,tt=bt.trustedTypes,zt=tt?tt.createPolicy("lit-html",{createHTML:o=>o}):void 0,Et="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,Ct="?"+E,Re=`<${Ct}>`,S=document,H=()=>S.createComment(""),B=o=>o===null||typeof o!="object"&&typeof o!="function",$t=Array.isArray,Gt=o=>$t(o)||typeof o?.[Symbol.iterator]=="function",_t=`[
|
|
5
5
|
\f\r]`,V=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Ht=/>/g,w=RegExp(`>|${_t}(?:([^\\s"'>=/]+)(${_t}*=${_t}*(?:[^
|
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),Bt=/'/g,qt=/"/g,Ft=/^(?:script|style|textarea|title)$/i,At=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),Cs=At(1),$s=At(2),As=At(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Wt=new WeakMap,x=S.createTreeWalker(S,129);function Kt(o,t){if(!$t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return zt!==void 0?zt.createHTML(t):t}var Jt=(o,t)=>{let e=o.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=V;for(let c=0;c<e;c++){let a=o[c],l,p,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,p=i.exec(a),p!==null);)m=i.lastIndex,i===V?p[1]==="!--"?i=Vt:p[1]!==void 0?i=Ht:p[2]!==void 0?(Ft.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=w):p[3]!==void 0&&(i=w):i===w?p[0]===">"?(i=n??V,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?w:p[3]==='"'?qt:Bt):i===qt||i===Bt?i=w:i===Vt||i===Ht?i=V:(i=w,n=void 0);let y=i===w&&o[c+1].startsWith("/>")?" ":"";r+=i===V?a+Re:h>=0?(s.push(l),a.slice(0,h)+Et+a.slice(h)+E+y):a+E+(h===-2?c:y)}return[Kt(o,r+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},q=class o{constructor({strings:t,_$litType$:e},s){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,p]=Jt(t,e);if(this.el=o.createElement(l,s),x.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=x.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(Et)){let m=p[i++],y=n.getAttribute(h).split(E),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:g[2],strings:y,ctor:g[1]==="."?st:g[1]==="?"?ot:g[1]==="@"?nt:O}),n.removeAttribute(h)}else h.startsWith(E)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(Ft.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=tt?tt.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],H()),x.nextNode(),a.push({type:2,index:++r});n.append(h[m],H())}}}else if(n.nodeType===8)if(n.data===Ct)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)a.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let s=S.createElement("template");return s.innerHTML=t,s}};function T(o,t,e=o,s){if(t===f)return t;let n=s!==void 0?e._$Co?.[s]:e._$Cl,r=B(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(o),n._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=n:e._$Cl=n),n!==void 0&&(t=T(o,n._$AS(o,t.values),n,s)),t}var et=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:s}=this._$AD,n=(t?.creationScope??S).importNode(e,!0);x.currentNode=n;let r=x.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new N(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new rt(r,this,t)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=x.nextNode(),i++)}return x.currentNode=S,n}p(t){let e=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}},N=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=T(this,t,e),B(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Gt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&B(this._$AH)?this._$AA.nextSibling.data=t:this.T(S.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=q.createElement(Kt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new et(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Wt.get(t.strings);return e===void 0&&Wt.set(t.strings,e=new q(t)),e}k(t){$t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,n=0;for(let r of t)n===e.length?e.push(s=new o(this.O(H()),this.O(H()),this,this.options)):s=e[n],s._$AI(r),n++;n<e.length&&(this._$AR(s&&s._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},O=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=d}_$AI(t,e=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=T(this,t,e,0),i=!B(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=T(this,c[s+a],e,a),l===f&&(l=this._$AH[a]),i||=!B(l)||l!==this._$AH[a],l===d?t=d:t!==d&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},st=class extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},ot=class extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends O{constructor(t,e,s,n,r){super(t,e,s,n,r),this.type=5}_$AI(t,e=this){if((t=T(this,t,e,0)??d)===f)return;let s=this._$AH,n=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==d&&(s===d||n);n&&this.element.removeEventListener(this.name,this,s),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},rt=class{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){T(this,t)}},Yt={M:Et,P:E,A:Ct,C:1,L:Jt,R:et,D:Gt,V:T,I:N,H:O,N:ot,U:nt,B:st,F:rt},ke=bt.litHtmlPolyfillSupport;ke?.(q,N),(bt.litHtmlVersions??=[]).push("3.2.1");var wt=(o,t,e)=>{let s=e?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=e?.renderBefore??null;s._$litPart$=n=new N(t.insertBefore(H(),r),r,void 0,e??{})}return n._$AI(o),n};var{is:De,defineProperty:Ue,getOwnPropertyDescriptor:Ie,getOwnPropertyNames:Me,getOwnPropertySymbols:je,getPrototypeOf:ze}=Object,at=globalThis,Zt=at.trustedTypes,Ve=Zt?Zt.emptyScript:"",He=at.reactiveElementPolyfillSupport,W=(o,t)=>o,it={toAttribute(o,t){switch(t){case Boolean:o=o?Ve:null;break;case Object:case Array:o=o==null?o:JSON.stringify(o)}return o},fromAttribute(o,t){let e=o;switch(t){case Boolean:e=o!==null;break;case Number:e=o===null?null:Number(o);break;case Object:case Array:try{e=JSON.parse(o)}catch{e=null}}return e}},xt=(o,t)=>!De(o,t),Qt={attribute:!0,type:String,converter:it,reflect:!1,hasChanged:xt};Symbol.metadata??=Symbol("metadata"),at.litPropertyMetadata??=new WeakMap;var C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Qt){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,e);n!==void 0&&Ue(this.prototype,t,n)}}static getPropertyDescriptor(t,e,s){let{get:n,set:r}=Ie(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Qt}static _$Ei(){if(this.hasOwnProperty(W("elementProperties")))return;let t=ze(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(W("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(W("properties"))){let e=this.properties,s=[...Me(e),...je(e)];for(let n of s)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,n]of e)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let n=this._$Eu(e,s);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)e.unshift(X(n))}else t!==void 0&&e.push(X(t));return e}static _$Eu(t,e){let s=e.attribute;return s===!1?void 0:typeof s=="string"?s:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return vt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$EC(t,e){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:it).toAttribute(e,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:it;this._$Em=n,this[n]=i.fromAttribute(e,r.type),this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??xt)(this[t],e))return;this.P(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,e,s){this._$AL.has(t)||this._$AL.set(t,e),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(e)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(e=>this._$EC(e,this[e])),this._$EU()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[W("elementProperties")]=new Map,C[W("finalized")]=new Map,He?.({ReactiveElement:C}),(at.reactiveElementVersions??=[]).push("2.0.4");var b=class extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=wt(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};b._$litElement$=!0,b.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:b});var Be=globalThis.litElementPolyfillSupport;Be?.({LitElement:b});(globalThis.litElementVersions??=[]).push("4.1.1");var ht=Symbol.for("controller");var qe=o=>typeof o=="object"&&o!==null&&(ht in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o);function Bs(o){return typeof o?.then=="function"}var G;function R(o){G!==o&&(G=o,queueMicrotask(()=>{G===o&&(G=void 0)}))}function F(o){return G}var L=[];function We(o){if(o===void 0){L=[];return}let t=L.indexOf(o);L=t===-1?[...L,o]:L.slice(0,t+1),queueMicrotask(()=>{L=[]})}function Ge(){return L}var k;function qs(o){k!==o&&(k=o,queueMicrotask(()=>{k===o&&(k=void 0)}))}function Fe(){let o=k;return k=void 0,o}var Ke=async(o,t)=>{let e=Tt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(n=>t(n,s))}return e.exports},Je=async o=>{let t=Tt(o);return await t.ready,t},Tt=o=>{let e=F().manager._resolveExports(o);if(e!==void 0)return e;if(qe(o))return o;let s=Fe();if(s!==void 0)return s},ct=!1,lt=!1;function Ws(o){lt=!0;try{return o()}finally{lt=!1}}function Gs(o){ct=!0;try{return o()}finally{ct=!1}}function Ye(o,t,e){let s=Object.keys(o),n=s.length;D===void 0&&queueMicrotask(dt),D??=new Map;let r=D.get(o);return r===void 0&&(r={callbacks:[],keyCount:n},D.set(o,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>u(t,null,l),a=i[n];a===void 0?c(void 0):o[a]===e?c(a):c(void 0)}),e}var D;function dt(){D?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),D=void 0}function Ze(o,t,e){let s=o.manager;return s._trackedValue!==d&&s._trackedValue!==e&&s._firePropTrackers(void 0,void 0),s._keyTrackers.length===0&&queueMicrotask(()=>s._firePropTrackers(void 0,void 0)),s._trackedValue=e,s._keyTrackers.push((n,r)=>u(t,void 0,e===r?n:void 0)),e}function Qe(o=[F(),...Ge()],t,e){let s=Array.isArray(o)?o:[o],n=s.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};s.forEach(i=>Ye(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!1}),e));for(let i of s)if("manager"in i&&typeof i.manager=="object"&&i.manager.component===i){Ze(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),e);break}return e}var Xe=(o="",t={},e=F())=>{let s={emit:n=>{o===""&&dt();let r=new CustomEvent(o,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return o===""&&Qe(void 0,n=>{o=n.key},s),s},ts=Xe.bind(null,""),ee;ee=ht;var St=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new _,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[ee]=!0,this.ready=this._ready.promise,this._exports=te(this),this._exportWatchers=new Set;let e=t??F(new.target.name);this.component=e,this.component.addController(this),this.component.manager===void 0||(We(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?te(t):t,this._exportWatchers.forEach(u)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return R(this.component),Ke}get useRef(){return R(this.component),Je}get useRefSync(){return R(this.component),Tt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await j(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(j)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&u(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(Xt,t)}triggerUpdated(t){let e=this;e.hostUpdated&&u(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(Xt,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){R(this.component);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this._lifecycleCleanups.push(n):typeof n=="object"&&typeof n.remove=="function"&&this._lifecycleCleanups.push(n.remove)})}};function Xt(o){u(o,void 0,this)}var se=St;function te(o){if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t=new Proxy(o,{get(e,s,n){if(!((s==="exports"||s==="_exports")&&s in e&&e[s]===t)&&(s in e||s in Promise.prototype||typeof s=="symbol"))return typeof e=="function"?e[s]:Reflect.get(e,s,n)},set:(e,s,n,r)=>Reflect.set(e,s,n,r)});return t}var oe=";",ut=",",ne=":",$=(o=>(o[o.ATTRIBUTE=1]="ATTRIBUTE",o[o.REFLECT=2]="REFLECT",o[o.BOOLEAN=4]="BOOLEAN",o[o.NUMBER=8]="NUMBER",o[o.STATE=16]="STATE",o[o.READ_ONLY=32]="READ_ONLY",o[o.NO_ACCESSOR=64]="NO_ACCESSOR",o))($||{});function Lt(o){let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||e._offspring.push(o),e._postLoad.promise}return!1}var es=(o,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&o.setAssetPath(i),Object.entries(t).forEach(ss)};function ss([o,[t,e=""]]){if(customElements.get(o))return;let[s,n,r]=e.split(oe),i=s?s?.split(ut).map(re):void 0,c=i?.map(([l])=>l),a=class extends Ot{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(ut):void 0}static{this._syncMethods=r?.split(ut)}static{this._name=o}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(o,a)}var pt=Object.defineProperty;function re(o){let t=o.split(ne);return t.length===1?[t[0],Y(t[0])]:t}var os=globalThis.HTMLElement??re,Ot=class extends os{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new _,this._postLoaded=new _,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(is).then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){pt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){pt(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){pt(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(s=>{Object.hasOwn(this,s)&&(this._store[s]=e[s],delete e[s])})}attributeChangedCallback(t,e,s){this._litElement?.attributeChangedCallback(t,e,s),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Lt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,s=e._name,n=this._store,r=Object.values(t).find(h=>h.tagName===s),i=`${s}--lazy`,c=r;for(;c&&!Object.hasOwn(c,"lumina");)c=Object.getPrototypeOf(c);rs(c),!e._LitConstructor&&(e._LitConstructor=r,customElements.define(i,r)),r.lazy=this;let l=document.createElement(i);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(h=>{let m=this.getAttribute(h);l.attributeChangedCallback(h,null,m)}),Object.entries(n).forEach(ns,l);let p=this.isConnected;(p||this._ancestorLoad)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function ns([o,t]){this[o]=t}function rs(o){let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},pt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))}var is=async o=>await(o.default?.then(t=>typeof t=="function"?{a:t}:t)??o),Pt={};var v={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},P=o=>(...t)=>({_$litDirective$:o,values:t}),A=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var ce=P(class extends A{constructor(o){if(super(o),o.type!==v.ATTRIBUTE||o.name!=="class"||o.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(o){return" "+Object.keys(o).filter(t=>o[t]).join(" ")+" "}update(o,[t]){if(this.st===void 0){this.st=new Set,o.strings!==void 0&&(this.nt=new Set(o.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let e=o.element.classList;for(let s of this.st)s in t||(e.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var le="important",cs=" !"+le,he=P(class extends A{constructor(o){if(super(o),o.type!==v.ATTRIBUTE||o.name!=="style"||o.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(o){return Object.keys(o).reduce((t,e)=>{let s=o[e];return s==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(o,[t]){let{style:e}=o.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?e.removeProperty(s):e[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(cs);s.includes("-")||r?e.setProperty(s,r?n.slice(0,-11):n,r?le:""):e[s]=n}}return f}});var{I:qo}=Yt;var de=o=>o.strings===void 0;var ls={},ue=(o,t=ls)=>o._$AH=t;var hs=P(class extends A{constructor(o){if(super(o),o.type!==v.PROPERTY&&o.type!==v.ATTRIBUTE&&o.type!==v.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!de(o))throw Error("`live` bindings can only contain a single expression")}render(o){return o}update(o,[t]){if(t===f||t===d)return t;let e=o.element,s=o.name;if(o.type===v.PROPERTY){if(t===e[s])return f}else if(o.type===v.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===v.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return ue(o),t}});var Rt=class extends se{constructor(t){super(t),this.destroyed=!1,this._enforceReadonly=!1,this._trackedValue=d,this._keyTrackers=[],this._accessorGetter={},this._accessorSetter={},this._exportsStore=new WeakMap,this.exports=void 0,this.hasDestroy=kt in t&&typeof t.destroy=="function",b.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${kt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),dt();for(let e of t._controllers)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t._controllers)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this._setAutoDestroyTimeout()},hostUpdate:()=>{for(let e of t._controllers)"triggerUpdate"in e?e.triggerUpdate(this._changes):u(e.hostUpdate,e,this._changes)},hostUpdated:()=>{for(let e of t._controllers)"triggerUpdated"in e?e.triggerUpdated(this._changes):u(e.hostUpdated,e,this._changes);this._changes=void 0}}),t.constructor.elementProperties.forEach((e,s)=>{e.noAccessor||(this._accessorGetter[s]=pe,this._accessorSetter[s]=pe,this._getSetProxy(s,e.readOnly))}),queueMicrotask(()=>{this._enforceReadonly=!0}),R(t)}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0;for(let t of this.component._controllers)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.component._controllers.clear()}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.component.destroy();this._autoDestroyTimeout=It(t,us)}}_firePropTrackers(t,e){let s=this._keyTrackers;this._trackedValue=d,this._keyTrackers=[],s.forEach(n=>n(t,e))}_getSetProxy(t,e){let s=this.component.constructor.prototype,n;do n=Object.getOwnPropertyDescriptor(s,t);while(!n&&(s=Object.getPrototypeOf(s)));if(!n)return;let r=n.get,i=n.set,c=ft in r,a=ft in i;if(c&&a)return;let l=!c,p=!a,h=l?function(){let g=r.call(this);return ct?g:this.manager._accessorGetter[t](g,t)}:r,m=p?function(g){let K=r.call(this),U=g??void 0,I=this.manager;if(U!==K){if(e&&!lt&&(I._enforceReadonly||I.connectedCalled))throw new Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${String(U)}"`);U=I._accessorSetter[t](U,K,t)}i.call(this,U),I._keyTrackers.length>0&&I?._firePropTrackers(t,g)}:i;l&&(h[ft]=!0),p&&(m[ft]=!0),Object.defineProperty(s,t,{...n,get:h,set:m})}_markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exportsStore.set(e,t)}_resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exportsStore.get(t)}},us=1e3,kt="autoDestroyDisabled",pe=o=>o,ft=Symbol(),ps=()=>{},fe=class o extends b{constructor(){super(),this.el=this.constructor.lazy??this,this._controllers=new Set,this.manager=new Rt(this),this._postLoad=this.constructor.lazy?._postLoad??new _,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new _,this._enableUpdating=this.enableUpdating,this.enableUpdating=ps;let t=o.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Pt;return this.runtime?.commonStyles===void 0||s?e:[this.runtime.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0;super.createProperty(t,{attribute:s&$.ATTRIBUTE&&typeof t=="string"?Y(t):!1,reflect:!!(s&$.REFLECT),type:s&$.BOOLEAN?Boolean:s&$.NUMBER?Number:void 0,state:!!(s&$.STATE),readOnly:!!(s&$.READ_ONLY),noAccessor:!!(s&$.NO_ACCESSOR),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})}))}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,r=t??(s===Pt?this.el:this.el.attachShadow(s));if(t)return b.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??Lt(this.el);t&&await t;let e=[];for(let n of this._controllers)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(j(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(kt)&&this.manager._setAutoDestroyTimeout()),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let s=this._offspring.filter(n=>!n.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async n=>await n.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,"");for(let n of this._controllers)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this._postLoaded.resolve()}shouldUpdate(t){return this.manager._changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,e,s){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,e,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}addController(t){this._controllers.add(t),!(ht in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this._controllers.delete(t),t.controllerRemoved?.()}};function me(o){let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...o,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return e(o.defaultAssetPath),s}var mn=o=>typeof o=="object"&&o!=null?ce(o):o,yn=o=>typeof o=="object"&&o!=null?he(o):o;var gn=d;var fs=me({defaultAssetPath:"https://jsdev.arcgis.com/map-components/next/",hydratedAttribute:"hydrated"}),{customElement:bn,getAssetPath:En,setAssetPath:Cn}=fs;export{ms as a,ge as b,be as c,ys as d,gs as e,xe as f,vs as g,_s as h,Ne as i,Cs as j,$s as k,As as l,d as m,wt as n,Bs as o,R as p,F as q,We as r,Ge as s,qs as t,Ws as u,Gs as v,Ze as w,Qe as x,Xe as y,ts as z,St as A,se as B,es as C,Pt as D,v as E,P as F,A as G,de as H,ue as I,fe as J,mn as K,yn as L,gn as M,fs as N,bn as O,En as P};
|
|
@@ -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.112 */
|
|
4
|
+
import{b}from"./DEVCH2PT.js";import d from"./AHNRHEL2.js";import c from"./E7JFNKNZ.js";import{a as _}from"./7D54COAB.js";import a from"./Q53IGXXT.js";import{e as T}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as C,J as I,K as o,M as m,O as M,a as h,e as S,i as w,j as n,z as y}from"./LFGA26ZR.js";export default $arcgis.t(([O,p,{substitute:D},{watch:L},B,,{a:E},x])=>{function N(l){if(l==null||Number.isNaN(l))return 0;let e=l+180;return Math.trunc(R(e,360))}function W(l){let e=l;return e==null||(typeof e=="string"&&(e=Number.parseInt(e,10)),Number.isNaN(e))?0:R(Math.trunc(e),360)-180}function R(l,e){return(l%e+e)%e}var P={fromAttribute:l=>p.fromHex(l),toAttribute:l=>typeof l=="string"?l:l?.toHex()??""},G=w`@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=x(B),$=class extends I{constructor(){super(...arguments),this._labelUid=S(),this._messages=E({}),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=T()("customColor","theme","spacing","rotation","majorLineInterval","rotateWithMap","dynamicScaling","snappingEnabled","interactivePlacementState","displayEnabled","gridOutOfScale","effectiveSpacingAfterDynamicScaling","gridControlsEnabled","gridColor"),this.arcgisReady=y()}static{this.properties={_placementModeButtonRefs:16,_warningIconTooltipRef:16,_themePopoverRef:16,numericSpacingInputShouldBeVisible:16,referenceElement:1,position:3,icon:1,customColor:[3,{converter:P}],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:P}],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 t=this._viewModel.view;switch(e){case"dark":this.gridColor=v;break;case"custom":this.customColor==null&&(this.customColor=t?.theme?.accentColor??new O().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(()=>[L(()=>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}>${D(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=${k=>{this.theme=a,k.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>`}};M("arcgis-grid-controls",$);return $},"views/Theme","Color","intl","core/reactiveUtils","widgets/support/GridControls/GridControlsViewModel",a,c,d)
|
|
@@ -1,4 +1,4 @@
|
|
|
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"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import b from"./SY46TRCY.js";import a from"./Q53IGXXT.js";import{e as n}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as s,J as o,O as h,i,z as e}from"./LFGA26ZR.js";export default $arcgis.t(([l,,r])=>{var a=i`@layer{arcgis-elevation-profile{display:block}}`,d=r(l),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.effectiveUnits=this.viewModel.effectiveUnits,this.hideChart=this.widget.visibleElements.chart,this.hideClearButton=this.widget.visibleElements.clearButton,this.hideLegend=this.widget.visibleElements.legend,this.hideSelectButton=this.widget.visibleElements.selectButton,this.hideSettingsButton=this.widget.visibleElements.settingsButton,this.hideSketchButton=this.widget.visibleElements.sketchButton,this.hideUniformChartScalingToggle=this.widget.visibleElements.uniformChartScalingToggle,this.hideUnitSelector=this.widget.visibleElements.unitSelector,this.highlightEnabled=this.viewModel.highlightEnabled,this.hoveredChartPosition=this.viewModel.hoveredChartPosition,this.icon=this.widget.icon,this.input=this.widget.input,this.label=this.widget.label,this.position="bottom-left",this.profiles=this.widget.profiles,this.progress=this.viewModel.progress,this.state=this.viewModel.state,this.uniformChartScaling=this.viewModel.uniformChartScaling,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=n()("input","effectiveUnits","progress","state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,effectiveUnits:0,hideChart:5,hideClearButton:5,hideLegend:5,hideSelectButton:5,hideSettingsButton:5,hideSketchButton:5,hideUniformChartScalingToggle:5,hideUnitSelector:5,highlightEnabled:5,hoveredChartPosition:9,icon:1,input:0,label:1,position:1,profiles:0,progress:8,referenceElement:1,state:3,uniformChartScaling:5,unit:1,unitOptions:0}}static{this.shadowRootOptions=s}static{this.styles=a}async destroy(){await this.manager.destroy()}async start(){this.widget.viewModel.start()}async stop(){this.widget.viewModel.stop()}};h("arcgis-elevation-profile",t);return t},"widgets/ElevationProfile",a,b)
|
|
@@ -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.112 */
|
|
4
|
+
import c from"./AHNRHEL2.js";import b from"./E7JFNKNZ.js";import{a as r}from"./7D54COAB.js";import a from"./Q53IGXXT.js";import{e as w}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as p,J as m,K as e,M as v,O as u,a as d,i as h,j as o,z as g}from"./LFGA26ZR.js";export default $arcgis.t(([T,{d:s},{a:f},M])=>{var $=h`@layer{arcgis-track{display:block}}`,D={base:"esri-track"},O=M(T),a=class extends m{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=w()("state"),this.arcgisReady=g()}static{this.properties={autoDestroyDisabled:5,error:1,geolocationOptions:1,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:1,label:1,messageOverrides:0,position:3,positionFilterFunction:0,referenceElement:1,rotationDisabled:5,scale:9,state:3,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??v}></calcite-button>`||""}${l?o`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${l}</calcite-tooltip>`:null}</div>`}};u("arcgis-track",a);return a},"widgets/Track/TrackViewModel",a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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.112 */
|
|
4
|
+
import{a as r}from"./QMXRLWFF.js";import{a as i}from"./3S3XPQMV.js";import"./H6YFRMVJ.js";import"./H6QDCONW.js";import{J as n,K as l,O as o,i as a,j as t}from"./LFGA26ZR.js";export default $arcgis.t(([{watch:c}])=>{var h=a`.arcgis-print__advanced-options-container{padding:var(--calcite-spacing-xxs);display:flex;flex-direction:column;gap:var(--calcite-spacing-xs)}`,p="arcgis-print",d={advancedOptionsContainer:`${p}__advanced-options-container`},s=class extends n{constructor(){super(...arguments),this._handles=r("disconnect"),this._selectedTemplate=null,this._showAuthorInput=null,this._showCopyrightInput=null,this._showLegendInput=null,this._showNorthArrowInput=null,this._showScaleBarInput=null}static{this.properties={_selectedTemplate:16,_showAuthorInput:16,_showCopyrightInput:16,_showLegendInput:16,_showNorthArrowInput:16,_showScaleBarInput:16,viewModel:0,messages:0}}static{this.styles=h}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.templateOptions.id,e=>{this._handles.removeHandles("template-handle"),this._selectedTemplate=e?this.viewModel.getLayoutTemplateById(e):null,this._handles.addHandles(c(()=>[this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText,this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend,this._selectedTemplate?.mapSurroundInfoOptions?.northArrow?.length,this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar?.length],()=>{this._showAuthorInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasAuthorText??!0,this._showCopyrightInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasCopyrightText??!0,this._showLegendInput=this._selectedTemplate?.layoutTemplateInfo?.layoutOptions?.hasLegend??!0,this._showNorthArrowInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.northArrow.length,this._showScaleBarInput=!!this._selectedTemplate?.mapSurroundInfoOptions?.scaleBar.length},{initial:!0}),"template-handle")},{initial:!0})])}render(){return t`<div aria-labelledby=${`${this.el.id}__advancedOptionsForLayout`} class=${l(d.advancedOptionsContainer)}>${this._renderScaleSection()}${this._renderAuthorSection()}${this._renderCopyrightSection()}${this._renderDpiSection()}${this._renderOutSpatialReferenceSection()}${this._renderCustomTextElementSection()}${this._renderLegendSection()}${this._renderNorthArrowSection()}${this._renderScaleBarSection()}</div>`}_renderScaleSection(){return t`<arcgis-print-scale-section .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-scale-section>`}_renderAuthorSection(){return this._showAuthorInput?i("author-info",t`<div><calcite-label>${this.messages.author}<calcite-input .value=${this.viewModel.templateOptions.author??""} @calciteInputInput=${e=>this.viewModel.templateOptions.author=e.target.value}></calcite-input></calcite-label></div>`):null}_renderCopyrightSection(){return this._showCopyrightInput?i("copyright-text",t`<div><calcite-label>${this.messages.copyright}<calcite-input .value=${this.viewModel.templateOptions.copyright??""} @calciteInputInput=${e=>this.viewModel.templateOptions.copyright=e.target.value}></calcite-input></calcite-label></div>`):null}_renderDpiSection(){return t`<arcgis-print-dpi-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-dpi-input>`}_renderOutSpatialReferenceSection(){return t`<arcgis-print-out-spatial-reference-input .messages=${this.messages} .viewModel=${this.viewModel}></arcgis-print-out-spatial-reference-input>`}_renderCustomTextElementSection(){return t`<arcgis-print-custom-text-elements .viewModel=${this.viewModel}></arcgis-print-custom-text-elements>`}_renderLegendSection(){return this._showLegendInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.legendEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.legendEnabled=e.target.checked}></calcite-checkbox>${this.messages.legend}</calcite-label></div>`:null}_renderNorthArrowSection(){return this._showNorthArrowInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.northArrowEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.northArrowEnabled=e.target.checked}></calcite-checkbox>${this.messages.northArrow}</calcite-label></div>`:null}_renderScaleBarSection(){return this._showScaleBarInput?t`<div><calcite-label layout=inline><calcite-checkbox .checked=${!!this.viewModel.templateOptions.scaleBarEnabled} @calciteCheckboxChange=${e=>this.viewModel.templateOptions.scaleBarEnabled=e.target.checked}></calcite-checkbox>${this.messages.scaleBar}</calcite-label></div>`:null}};o("arcgis-print-layout-advanced-options",s);return s},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
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{D as n,J as o,O as l,j as i}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{D as n,J as o,O as l,j as i}from"./LFGA26ZR.js";export default $arcgis.t(([{watch:d}])=>{var s=class extends o{static{this.properties={viewModel:0}}static{this.shadowRootOptions=n}loaded(){this.manager.onLifecycle(()=>[d(()=>this.viewModel.templateOptions.customTextElements,()=>this.requestUpdate(),{initial:!0})])}render(){let e=this.viewModel.templateOptions.customTextElements;return e?i`<div>${e.map(c=>{let[t,r]=Object.entries(c)[0];return t==="date"?null:i`<calcite-label>${t}<calcite-input .value=${r??""} @calciteInputInput=${m=>{let a=e.find(p=>{let[u]=Object.entries(p)[0];return u===t});a&&(a[t]=m.target.value)}}></calcite-input></calcite-label>`})}</div>`:null}};l("arcgis-print-custom-text-elements",s);return s},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as o}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as s,J as a,O as r,i,z as t}from"./LFGA26ZR.js";export default $arcgis.t(([h,,n])=>{var d=i`@layer{arcgis-legend{display:block}}`,l=n(h),e=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.activeLayerInfos=this.widget.activeLayerInfos,this.autoDestroyDisabled=!1,this.basemapLegendVisible=this.widget.basemapLegendVisible,this.headingLevel=this.widget.headingLevel,this.hideLayersNotInCurrentView=this.widget.hideLayersNotInCurrentView,this.icon=this.widget.icon,this.label=this.widget.label,this.layerInfos=this.widget.layerInfos,this.legendStyle=this.widget.style,this.position="bottom-left",this.respectLayerDefinitionExpression=this.widget.respectLayerDefinitionExpression,this.respectLayerVisibilityDisabled=this.widget.respectLayerVisibility,this.state=this.viewModel.state,this.arcgisPropertyChange=o()("state"),this.arcgisReady=t()}static{this.properties={activeLayerInfos:0,autoDestroyDisabled:5,basemapLegendVisible:5,headingLevel:9,hideLayersNotInCurrentView:5,icon:1,label:1,layerInfos:0,legendStyle:1,position:1,referenceElement:1,respectLayerDefinitionExpression:5,respectLayerVisibilityDisabled:5,state:3}}static{this.shadowRootOptions=s}static{this.styles=d}async destroy(){await this.manager.destroy()}};r("arcgis-legend",e);return e},"widgets/Legend",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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{D as o,J as d,O as p,j as r}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{D as o,J as d,O as p,j as r}from"./LFGA26ZR.js";export default $arcgis.t(([{watch:c}])=>{function u(n,i,t,e){if(t==null||e==null)return{height:0,width:0};let a=t/i,s=e/i;return{width:Math.round(n*a),height:Math.round(n*s)}}var h=class extends d{constructor(){super(...arguments),this._dpi=1}static{this.properties={_dpi:16,viewModel:0,messages:0}}static{this.shadowRootOptions=o}loaded(){this.manager.onLifecycle(()=>[c(()=>this.viewModel.templateOptions.dpi,i=>this._dpi=i<=0?1:i,{initial:!0})])}_handleDPIChange(i){let t=this.viewModel.templateOptions,e=t.dpi,a=Number(i.target.value),{height:s,width:l}=u(a,e,t.width,t.height);t.dpi=a,t.height=s,t.width=l}render(){return r`<div><calcite-label>${this.messages.dpi}<calcite-input-number data-input-name=dpi min=1 .value=${`${this._dpi}`} @calciteInputNumberInput=${this._handleDPIChange}></calcite-input-number></calcite-label></div>`}};p("arcgis-print-dpi-input",h);return h},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
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 u}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{a as u}from"./3S3XPQMV.js";import{J as c,K as l,O as o,i as s,j as r}from"./LFGA26ZR.js";export default $arcgis.t(([{watch:m}])=>{var v=s`.arcgis-print__sr-label{display:flex;gap:var(--calcite-spacing-xs)}.arcgis-print__invalid-wkid-text{color:var(--calcite-color-status-danger);font-size:var(--calcite-font-size--0)}`,p="arcgis-print",d={srLabel:`${p}__sr-label`,invalidWkidText:`${p}__invalid-wkid-text`};function _(e){if(e==null)return!1;let t=e.wkid;return t!=null&&t>=2e3?!0:e.wkt2!=null||e.wkt!=null}function h(e){return e==null?e:Math.round(Number.parseFloat(e))}var n=class extends c{constructor(){super(...arguments),this._isValidSpatialReference=!0,this._outSpatialReference=null}static{this.properties={_isValidSpatialReference:16,_outSpatialReference:16,templateOptions:0,viewModel:0,messages:0}}static{this.styles=v}loaded(){this.manager.onLifecycle(()=>[m(()=>this.viewModel.outSpatialReference,t=>{this._outSpatialReference=t},{initial:!0})])}render(){let{messages:t,_outSpatialReference:i}=this;return r`<div><calcite-label><div class=${l(d.srLabel)}>${t.outSpatialReference}<calcite-link href=https://developers.arcgis.com/rest/services-reference/enterprise/using-spatial-references/ target=_blank>(WKID)</calcite-link></div><calcite-input-number data-input-name=outSpatialReference integer number-button-type=none .value=${this._outSpatialReference?.wkid?.toString()??""} @calciteInputNumberInput=${({currentTarget:f})=>{let a=h(f.value);this.viewModel.outSpatialReference=Number.isNaN(a)||a==null?null:new __esri.SpatialReference({wkid:a}),this._isValidSpatialReference=!i||_(i)}}></calcite-input-number>${this._isValidSpatialReference?null:u(`out-sr-${i?.wkid}`,r`<div class=${l(d.invalidWkidText)}>${t.invalidWkid}</div>`)}</calcite-label></div>`}};o("arcgis-print-out-spatial-reference-input",n);return n},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as o}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as s,J as a,O as r,z as i}from"./LFGA26ZR.js";export default $arcgis.t(([l,{d:t},d])=>{var h=d(l),e=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.view=this.widget.view,this.autoDestroyDisabled=!1,this.defaultGraphicColor=this.widget.defaultGraphicColor,this.disabled=this.widget.disabled,this.enableResultArea=this.widget.enableResultArea,this.flags=this.widget.flags,this.gdbVersion=this.widget.gdbVersion,this.icon=this.widget.icon,this.inputSettings=[],this.label=this.widget.label,this.position="top-right",this.selectOnCompleteDisabled=!1,this.selectedTraces=[],this.showGraphicsOnCompleteDisabled=!1,this.showSelectionAttributesDisabled=!1,this.state=this.viewModel.state,this.arcgisAddFlag=t(()=>this.widget,"add-flag"),this.arcgisAddFlagComplete=t(()=>this.widget,"add-flag-complete"),this.arcgisAddFlagError=t(()=>this.widget,"add-flag-error"),this.arcgisAddResultArea=t(()=>this.widget,"add-result-area"),this.arcgisPropertyChange=o()("state"),this.arcgisReady=i(),this.arcgisRemoveResultArea=t(()=>this.widget,"remove-result-area")}static{this.properties={view:16,autoDestroyDisabled:5,defaultGraphicColor:0,disabled:7,enableResultArea:5,flags:0,gdbVersion:1,icon:1,inputSettings:0,label:1,position:1,referenceElement:1,resultAreaProperties:0,selectOnCompleteDisabled:5,selectedTraces:0,showGraphicsOnCompleteDisabled:5,showSelectionAttributesDisabled:5,state:3}}static{this.shadowRootOptions=s}async checkCanTrace(){await this.widget?.checkCanTrace()}async confirmReset(){this.widget?.confirmReset()}async destroy(){await this.manager.destroy()}};r("arcgis-utility-network-trace",e);return e},"widgets/UtilityNetworkTrace",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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 c,b as h,h as d,i as s}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{a as c,b as h,h as d,i as s}from"./6UAIP5CN.js";import{D as r,J as a,O as l,i as o,z as n}from"./LFGA26ZR.js";var m=o`@layer{arcgis-placement{display:flex;pointer-events:auto;box-shadow:none}.arcgis-placement__container{display:block}}`,i=class extends a{constructor(){super(),this._observer=void 0,this._moveChildren=()=>{if(s(this).parentElement!==this.el)for(let t=this.el.firstElementChild;t!==null;t=this.el.firstElementChild)s(this).append(t)},this.position="bottom-left",this.arcgisReady=n();let e=this;e.el.childElem=document.createElement("div"),e.el.childElem.classList.add("arcgis-placement__container"),this.listen("arcgisReady",this._startObserving,{once:!0})}static{this.properties={position:1,referenceElement:1}}static{this.shadowRootOptions=r}static{this.styles=m}connectedCallback(){super.connectedCallback(),this.el.view&&this._startObserving()}willUpdate(e){e.has("referenceElement")&&d(this,this.referenceElement);let t=s(this);e.has("position")&&t&&this.position!==void 0&&this.el.view?.ui?.move(t,this.position)}loaded(){h(this),c(this)}disconnectedCallback(){super.disconnectedCallback();let e=s(this);e&&this.el.view?.ui?.remove(e),this._observer?.disconnect()}_startObserving(){this._moveChildren(),this._observer=new MutationObserver(this._moveChildren),this._observer.observe(this.el,{childList:!0})}};l("arcgis-placement",i);export{i as ArcgisPlacement};
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as r}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as e,J as a,O as o,i as s,z as i}from"./LFGA26ZR.js";export default $arcgis.t(([h,,n])=>{var l=s`@layer{arcgis-directline-measurement-3d{display:block}}`,c=n(h),t=class extends a{constructor(){super(...arguments),this.widget=c(this),this.viewModel=this.widget.viewModel,this.analysis=this.widget.analysis,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=r()("analysis","state"),this.arcgisReady=i()}static{this.properties={analysis:0,autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=l}async clear(){this.widget?.viewModel.clear()}async destroy(){await this.manager.destroy()}async start(){this.widget?.viewModel.start()}};o("arcgis-directline-measurement-3d",t);return t},"widgets/DirectLineMeasurement3D",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as h}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as a,J as r,O as o,i,z as s}from"./LFGA26ZR.js";export default $arcgis.t(([g,{d:t},m])=>{var l=i`@layer{arcgis-feature-form{display:block}}`,n=m(g),e=class extends r{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.feature=this.widget.feature,this.formTemplate=this.widget.formTemplate,this.groupDisplay=this.widget.groupDisplay,this.headingLevel=this.widget.headingLevel,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.position="bottom-left",this.state=this.viewModel.state,this.timeZone=this.widget.timeZone,this.arcgisPropertyChange=h()("state"),this.arcgisReady=s(),this.arcgisSubmit=t(()=>this.widget,"submit"),this.arcgisValueChange=t(()=>this.widget,"value-change")}static{this.properties={autoDestroyDisabled:5,feature:0,formTemplate:0,groupDisplay:1,headingLevel:9,icon:1,label:1,layer:0,position:1,referenceElement:1,state:3,timeZone:1}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async getValues(){return this.widget?.getValues()}async submit(){this.widget?.submit()}};o("arcgis-feature-form",e);return e},"widgets/FeatureForm",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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 l}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{a as l}from"./OZ5MBCGT.js";import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as r}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as o,J as a,O as h,i as e,z as s}from"./LFGA26ZR.js";export default $arcgis.t(([n,{d:t},d])=>{var m=e`@layer{arcgis-bookmarks{display:block}}`,w=d(n),i=class extends a{constructor(){super(...arguments),this.widget=w(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.autoDestroyDisabled=!1,this.bookmarks=this.widget.bookmarks,this.defaultCreateOptions=this.widget.defaultCreateOptions,this.defaultEditOptions=this.widget.defaultEditOptions,this.disabled=this.widget.disabled,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.goToOverride=this.widget.goToOverride,this.hideFlow=this.widget.visibleElements.flow,this.hideThumbnail=this.widget.visibleElements.thumbnail,this.hideTime=this.widget.visibleElements.time,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.showAddBookmarkButton=this.widget.visibleElements.addBookmarkButton,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditBookmarkButton=this.widget.visibleElements.editBookmarkButton,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.state=this.viewModel.state,this.arcgisEdit=t(()=>this.widget,"bookmark-edit"),this.arcgisPropertyChange=r()("state"),this.arcgisReady=s(),this.arcgisSelect=t(()=>this.widget,"bookmark-select")}static{this.properties={autoDestroyDisabled:5,bookmarks:0,defaultCreateOptions:0,defaultEditOptions:0,disabled:7,dragEnabled:5,filterPlaceholder:1,filterText:1,goToOverride:0,hideFlow:5,hideThumbnail:5,hideTime:5,icon:1,label:1,position:1,referenceElement:1,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,showHeading:5,state:3}}static{this.shadowRootOptions=o}static{this.styles=m}async destroy(){await this.manager.destroy()}};h("arcgis-bookmarks",i);return i},"widgets/Bookmarks",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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.
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
4
|
var r={dragHorizontal:"esri-icon-drag-horizontal",dragVertical:"esri-icon-drag-vertical"};export{r as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as r}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as e,J as a,O as o,i as s,z as i}from"./LFGA26ZR.js";export default $arcgis.t(([c,,n])=>{var h=s`@layer{arcgis-distance-measurement-2d{display:block}}`,d=n(c),t=class extends a{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=r()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=h}async clear(){this.viewModel?.clear()}async destroy(){await this.manager.destroy()}async start(){this.viewModel?.start()}};o("arcgis-distance-measurement-2d",t);return t},"widgets/DistanceMeasurement2D",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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{D as V,J as I,K as m,O as $,j as s,n as p,z as t}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{D as V,J as I,K as m,O as $,j as s,n as p,z as t}from"./LFGA26ZR.js";var g=class extends I{constructor(){super(...arguments),this._showInvalidVersionNotice=!0,this.arcgisCreateVersionList=t(),this.arcgisFlowItemBack=t(),this.arcgisFlowItemClose=t(),this.arcgisGetVersions=t(),this.arcgisManageVersion=t(),this.arcgisNewVersion=t()}static{this.properties={_showInvalidVersionNotice:16,serviceItemElementProps:0}}static{this.shadowRootOptions=V}disconnectedCallback(){super.disconnectedCallback(),this.versionListContainer?.remove()}render(){let{serviceItemElementProps:{allowEditing:b,closable:f,currentUser:u,executionError:w,currentVersionIdentifier:a,flowElement:E,hasAdvEditingUte:N,heading:C,isInitialVersionInvalid:x,isVersionAdministrator:A,isVersioningApiAvailable:U,mode:L,pageSize:M,serviceName:o,serviceUrl:c,state:k,strings:n,versionInfos:r}}=this,{_versionList:l}=this,S=x.get(c)&&this._showInvalidVersionNotice?s`<calcite-notice class=${m(this._showInvalidVersionNotice?"invalid-initial-version-notice":"")} closable kind=warning open scale=s width=full icon @calciteNoticeClose=${()=>this._showInvalidVersionNotice=!1}><div slot=title>${n.headers.invalidInitialVersion}</div><div slot=message>${n.loadErrors.invalidInitialVersion}</div></calcite-notice>`:void 0,_=s`<calcite-combobox clear-disabled .label=${o} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${i=>{let d=i.target,e=r.find(y=>y.versionIdentifier.guid===d.value);this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:c,versionInfo:e})}}>${r?r.map(i=>s`<calcite-combobox-item class=${m(L==="dialog"?"":"calcite-combobox-item")} .selected=${a.guid===i.versionIdentifier.guid&&a.name===i.versionIdentifier.name} .textLabel=${i.versionIdentifier.name} .value=${i.versionIdentifier.guid}></calcite-combobox-item>`):void 0}</calcite-combobox>`,v,h;return b&&(v=s`<calcite-action .id=${`actionManageVersions_${o}`} icon=list scale=s slot=control text @click=${async()=>{let i={closable:f,currentUser:u,currentVersionIdentifier:a,executionError:w,hasAdvEditingUte:N,heading:C,isVersionAdministrator:A,isVersioningApiAvailable:U,pageSize:M,serviceName:o,serviceUrl:c,state:k,strings:n,versionInfos:r};this.versionListContainer=document.createElement("div");let d=p(s`<arcgis-version-management-version-list .versionListElementProps=${i} selected show-back-button @arcgisFlowItemBack=${e=>{e.preventDefault(),this.arcgisFlowItemBack.emit()}} @arcgisFlowItemClose=${()=>this.arcgisFlowItemClose.emit()} @arcgisGetVersions=${e=>this.arcgisGetVersions.emit({serviceUrl:e.detail.serviceUrl})} @arcgisManageVersion=${e=>this.arcgisManageVersion.emit(e.detail)} @arcgisNewVersion=${e=>this.arcgisNewVersion.emit({serviceUrl:e.detail.serviceUrl})}></arcgis-version-management-version-list>`,this.versionListContainer);l=Array.from(d.parentNode.childNodes).find(e=>e.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"),E?.append(l),this.arcgisCreateVersionList.emit(l)}}></calcite-action>`,h=s`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`actionManageVersions_${o}`}><span>${n.headers.manageVersions}</span></calcite-tooltip>`),s`<calcite-block open .heading=${o}>${S}${_}${v}${h}</calcite-block>`}};$("arcgis-version-management-service-item",g);export{g as ArcgisVersionManagementServiceItem};
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as n}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as a,J as o,O as h,i as s,z as e}from"./LFGA26ZR.js";export default $arcgis.t(([c,{d:t},r])=>{var l=s`@layer{arcgis-value-picker{display:block}}`,p=r(c),i=class extends o{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=n()("values"),this.arcgisReady=e()}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()}};h("arcgis-value-picker",i);return i},"widgets/ValuePicker",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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 t}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{a as t}from"./H6YFRMVJ.js";import{z as e}from"./LFGA26ZR.js";var c=t((o,s)=>(s.onLoaded(()=>{let l=o.el;o.listenOn(l.childElem,"calciteFlowItemClose",()=>{o.arcgisClose.emit(),o.autoDestroyDisabled||o.destroy()})}),e()));export{c as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as n}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as r,J as o,O as d,i as a,z as s}from"./LFGA26ZR.js";export default $arcgis.t(([h,g,,l])=>{var m=a`@layer{arcgis-oriented-imagery-viewer{display:block}}`,y=l(g),i=class extends o{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=n()("imageGalleryEnabled","layer"),this.arcgisReady=s()}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)}};d("arcgis-oriented-imagery-viewer",i);return i},"layers/OrientedImageryLayer","widgets/OrientedImageryViewer",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as o}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as s,J as a,O as r,i,z as e}from"./LFGA26ZR.js";export default $arcgis.t(([h,,n])=>{var l=i`@layer{arcgis-histogram-range-slider{display:block}}`,g=n(h),t=class extends a{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.average=this.widget.average,this.barCreatedFunction=this.widget.barCreatedFunction,this.bins=this.widget.bins,this.dataLineCreatedFunction=this.widget.dataLineCreatedFunction,this.dataLines=this.widget.dataLines,this.excludedBarColor=this.widget.excludedBarColor,this.icon=this.widget.icon,this.includedBarColor=this.widget.includedBarColor,this.label=this.widget.label,this.labelFormatFunction=this.widget.labelFormatFunction,this.max=this.widget.max,this.min=this.widget.min,this.position="bottom-left",this.precision=this.widget.precision,this.rangeType=this.widget.rangeType,this.standardDeviation=this.widget.standardDeviation,this.standardDeviationCount=this.widget.standardDeviationCount,this.state=this.viewModel.state,this.values=this.widget.values,this.arcgisPropertyChange=o()("state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,average:9,barCreatedFunction:0,bins:0,dataLineCreatedFunction:0,dataLines:0,excludedBarColor:1,icon:1,includedBarColor:1,label:1,labelFormatFunction:0,max:9,min:9,position:1,precision:9,rangeType:1,referenceElement:1,standardDeviation:9,standardDeviationCount:9,state:3,values:0}}static{this.shadowRootOptions=s}static{this.styles=l}async destroy(){await this.manager.destroy()}async generateWhereClause(d){return this.widget.generateWhereClause(d)}};r("arcgis-histogram-range-slider",t);return t},"widgets/HistogramRangeSlider",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as o}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as s,J as a,O as d,i,z as e}from"./LFGA26ZR.js";export default $arcgis.t(([n,,h])=>{var r=i`@layer{arcgis-attachments{display:block}}`,l=h(n),t=class extends a{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=o()("submitting","state"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=s}static{this.styles=r}async destroy(){await this.manager.destroy()}};d("arcgis-attachments",t);return t},"widgets/Attachments",b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
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 C}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{a as C}from"./H6QDCONW.js";import{B as g,q as m,u as v,v as E,w as _,x as P,y as w}from"./LFGA26ZR.js";export default $arcgis.t(([{watch:b,on:O}])=>{var L=(l,e)=>(t,o)=>N(t,l,o),f=class extends g{constructor(e,t,o){super(e),this._loadAccessor=t,this._options=o,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(u.makeGetterProxy(e,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches)),_(e,s=>{s&&(this._instancePropName=s)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){let e=this.component,t=this._gatherParameters(),o=this._options?.editConstructorProperties?.call(e,t)??t,s=o instanceof Promise?await o:o,r=e,a=typeof this._instancePropName=="string"?r[this._instancePropName]:void 0;a!=null&&a!==this.exports?(this._instance=a,a.set(s)):this._instance=await this._createInstance(s),!e.manager.destroyed&&(u.watchComponentUpdates(this,this._instance,this._watchedProperties),u.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([o,s])=>[s,this.component[o]]).filter(([,o])=>o!==void 0))}async _createInstance(e){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(e):await this._loadAccessor(e)}_isAccessorConstructor(e){return"prototype"in e&&"declaredClass"in e.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},N=C(f),u={makeGetterProxy:(l,e,t,o)=>new Proxy({},{has:(s,r)=>typeof r=="string"||r in s,get:(s,r)=>{let a=Reflect.get(s,r);if(typeof r=="symbol"||r in Promise.prototype)return a;let n=r in s,c=t?.value??!0;if(n||!c)return a;if(!e.has(r))return P(l,i=>{i!==void 0&&e.set(i.key,r)},a)}}),watchComponentUpdates(l,e,t){function o(a,n){let c=t.get(n),i=e[c];return typeof i=="boolean"&&c!==n&&n.toLowerCase().includes("disable")?!i:i}let s=(a,n,c)=>{let i=t.get(c),p=e[i],d=typeof p=="boolean"&&i!==c&&c.toLowerCase().includes("disable");if((d?!p:p??void 0)===a)return a;e[i]=d?!a:a;let y=e[i];return d?!y:y},r=l.component.manager;t.forEach((a,n)=>{r._accessorGetter[n]=o,r._accessorSetter[n]=s})},watchAccessorUpdates(l,e,t){let{component:o}=l,s=o,r=e,a=x(e);E(()=>t.forEach((n,c)=>{if(a.has(n))return;let i=s[c],p=r[n]??void 0,h=typeof i=="boolean"&&n!==c&&c.toLowerCase().includes("disable")?!i:i;h!=null&&p!==h&&(r[n]=h)})),l.onLifecycle(()=>{if(!e.destroyed)return Array.from(t,([n,c])=>b(()=>r[c],()=>{let i=r[c],d=typeof i=="boolean"&&c!==n&&n.toLowerCase().includes("disable")?!i:i;v(()=>{s[n]=d})},{initial:!0}))})},async reCreate(l,e){let t=e.manager.useRefSync(l);t!==void 0&&await t.reCreate()}};function x(l){let t=Object.entries(l.__accessor__?.metadata??{});return new Set(t.filter(([o,s])=>s?.readOnly===!0).map(([o])=>o))}function k(l,e){let o=m().manager;o.onLoaded(()=>o.onLifecycle(()=>O(l,e,s.emit)));let s=w();return s}return{a:L,b:f,c:u,d:k}},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
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{D as x,J as f,K as c,M as d,O as g,h as u,i as h,j as n}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{D as x,J as f,K as c,M as d,O as g,h as u,i as h,j as n}from"./LFGA26ZR.js";export default $arcgis.t(([{watch:$,whenOnce:b}])=>{var L=h`@layer{.arcgis-print__exported-file{display:flex;align-items:center;justify-content:space-between}.arcgis-print__exported-file-link-title,.arcgis-print__exported-file-link-description{word-wrap:break-word;word-break:break-all;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical}}`,p="arcgis-print",m={exportedFile:`${p}__exported-file`,exportedFileLinkTitle:`${p}__exported-file-link-title`,exportedFileLinkDescription:`${p}__exported-file-link-description`};function w(l){let{state:e,extension:t}=l;switch(e){case"pending":return"spinner";case"error":return"exclamation-mark-circle";default:return t?.toLowerCase()?.includes("pdf")?"file-pdf":"file"}}function v(l,e){return!l||l==="all"||!!(e&&l.includes(e))}var k=class extends f{constructor(){super(...arguments),this._handleLinkClick=e=>{if(!e||e.state!=="ready"||!e.url)return;let t=e.url,i=document.createElement("a");i.target="_blank",i.href=t,i.rel="noreferrer",i.download=e.formattedName??"";{i.click();return}}}static{this.properties={saveAsButtonCallback:0,allowedFormatsForSaving:1,exportedLink:0,viewModel:0,messages:0}}static{this.styles=L}static{this.shadowRootOptions=x}loaded(){this.manager.onLifecycle(()=>[$(()=>this.exportedLink.state,()=>this.requestUpdate())])}render(){let{messages:e,exportedLink:t}=this,{error:i,state:o}=t,r;switch(o){case"pending":r=e.pending;break;case"ready":r=e.ready;break;case"error":r=e.errorMessage;break}let a=o==="error"?i?.name==="print-task:cim-symbol-unsupported"?e.exportWebMapCIMError:e.exportWebMapError:"";return n`<calcite-list-item .ariaLabel=${r} title=${a??d}>${this._renderExportedLinkItemContent(t,a)}${this._renderExportedLinkItemIcon(t)}${this._renderExportedLinkItemAction(t,a)}</calcite-list-item>${this._renderExportedLinkItemPopover(t)}`}_renderExportedLinkItemPopover(e){let t=this.messages,i=e.formattedName??"",{state:o}=e,r=this.saveAsButtonCallback&&o!=="error"&&v(this.allowedFormatsForSaving,e.extension);return o!=="pending"&&r?n`<calcite-popover auto-close label=Popover offset-distance=1 overlay-positioning=fixed pointer-disabled .referenceElement=${`${i}-popover-button`} scale=s><calcite-list label>${e.portalItem?n`<calcite-list-item .label=${t.openItem} @calciteListItemSelect=${()=>{let a=e.portalItem;if(!a?.itemPageUrl)return;let s=document.createElement("a");s.target="_blank",s.href=a.itemPageUrl,s.rel="noreferrer",s.click()}}><calcite-icon icon=launch2 scale=s slot=content-start></calcite-icon></calcite-list-item>`:n`<calcite-list-item .label=${t.saveAs} @calciteListItemSelect=${async()=>{this.saveAsButtonCallback&&(b(()=>e.portalItem).then(a=>{a.itemPageUrl&&this.requestUpdate()}),await this.saveAsButtonCallback(e))}}><calcite-icon icon=save scale=s slot=content-start></calcite-icon></calcite-list-item>`}<calcite-list-item label=Delete @calciteListItemSelect=${()=>this.viewModel.exportedLinks.remove(e)}><calcite-icon icon=trash scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-popover>`:null}_renderExportedLinkItemContent(e,t){let i=this.messages,{url:o,state:r}=e,a=e.formattedName??"",s=u(o||null,document.location.href);return n`<div class=${c(m.exportedFile)} slot=content @click=${()=>this._handleLinkClick(e)}><div><div class=${c(m.exportedFileLinkTitle)}>${a}</div><div class=${c(m.exportedFileLinkDescription)}>${r==="pending"?i.generatingExport:t||(s?i.ready:i.linkReady)}</div></div>${r==="ready"?n`<calcite-icon .ariaLabel=${`${a}. ${i.linkReady}`} .icon=${s?"download-to":"launch"} scale=s slot=content-end></calcite-icon>`:null}</div>`}_renderExportedLinkItemIcon(e){return e.state==="pending"?n`<calcite-loader inline .label=${this.messages.generatingExport} scale=m slot=content-start></calcite-loader>`:n`<calcite-icon .icon=${w(e)} scale=s slot=content-start></calcite-icon>`}_renderExportedLinkItemAction(e,t){let{state:i}=e,o=e.formattedName??"",r=this.saveAsButtonCallback&&i!=="error"&&v(this.allowedFormatsForSaving,e.extension);return i!=="pending"?n`<calcite-action .ariaLabel=${t} .icon=${r?"ellipsis":"x"} id=${(r?`${o}-popover-button`:void 0)??d} @click=${r?void 0:()=>{this.viewModel.exportedLinks.remove(e)}} slot=actions-end .text=${t}></calcite-action>`:null}};g("arcgis-print-exported-link",k);return k},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
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 u}from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import{b as u}from"./H6YFRMVJ.js";import{A as h}from"./LFGA26ZR.js";var i=class o{constructor(){this._groups=new Map}destroy(){this.removeAll()}add(r,s){if(Array.isArray(r)){let e=this._getOrCreateGroup(s);for(let t of r)this._isHandle(t)&&e.push(t)}else this._isHandle(r)&&this._getOrCreateGroup(s).push(r);return this}forEach(r,s){if(typeof r=="function")this._groups.forEach(e=>e.forEach(r));else{let e=this._getGroup(r);e&&s&&e.forEach(s)}}has(r){return this._groups.has(this._ensureGroupKey(r))}remove(r){if(typeof r!="string"&&Array.isArray(r)){for(let s of r)this.remove(s);return this}return this.has(r)?(this._removeAllFromGroup(this._getGroup(r)),this._groups.delete(this._ensureGroupKey(r)),this):this}removeAll(){return this._groups.forEach(r=>this._removeAllFromGroup(r)),this._groups.clear(),this}_isHandle(r){return r&&(!!r.remove||r instanceof o)}_getOrCreateGroup(r){if(this.has(r))return this._getGroup(r);let s=[];return this._groups.set(this._ensureGroupKey(r),s),s}_getGroup(r){return this._groups.get(this._ensureGroupKey(r))}_ensureGroupKey(r){return r||"_default_"}_removeAllFromGroup(r){for(let s of r)s instanceof o?s.removeAll():s.remove()}},n=class extends h{constructor(r){super(),this.destroyed=!1,r==="disconnect"?this.onDisconnected(()=>this.removeAllHandles()):this.onDestroy(()=>this.destroy())}addHandles(r,s){if(this.destroyed){let e=Array.isArray(r)?r:[r];for(let t of e)t.remove();return}this._handles??=new i,this._handles.add(r,s)}removeHandles(r){this._handles?.remove(r)}removeAllHandles(){this._handles?.removeAll()}destroy(){this.destroyed=!0,this.removeAllHandles()}hasHandles(r){return this._handles?.has(r)??!1}},l=u(n);export{l as a};
|
|
@@ -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.112 */
|
|
4
|
+
import a from"./E7JFNKNZ.js";import{e as g}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as d,J as p,K as e,M as r,O as z,a as i,i as l,j as u,z as h}from"./LFGA26ZR.js";export default $arcgis.t(([{ignoreAbortErrors:b},{when:O},{a:y,b:f}])=>{var a={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",button:"esri-widget--button",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"};function x(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=w(t),s=t.constraints?.effectiveMaxScale;return s===0||o>s}function I(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=w(t),s=t.constraints?.effectiveMinScale;return s===0||o<s}function w(t){let o=t?.animation?.target;return(o&&"then"in o?void 0:o?.scale)??t?.scale??0}var Z=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)}}`,n=class extends p{constructor(){super(...arguments),this.messages=y({}),this.view=f(this),this.canZoomIn=!1,this.canZoomOut=!1,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.arcgisPropertyChange=g()("state"),this.arcgisReady=h()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:1,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:35}}static{this.shadowRootOptions=d}static{this.styles=Z}get state(){return this.view?.ready?"ready":"disabled"}async destroy(){await this.manager.destroy()}async zoomIn(){let{view:o}=this;!this.canZoomIn||!o||(o.type==="2d"?o.mapViewNavigation.zoomIn():b(o.goTo({zoomFactor:2})))}async zoomOut(){let{view:o}=this;!this.canZoomOut||!o||(o.type==="2d"?o.mapViewNavigation.zoomOut():b(o.goTo({zoomFactor:.5})))}loaded(){this.manager.onLifecycle(()=>O(()=>this.view?.stationary,()=>{this.canZoomIn=x(this.view),this.canZoomOut=I(this.view)},{initial:!0}))}render(){let o={[a.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:s,canZoomOut:v}=this,{zoomIn:c,zoomOut:m}=this.messages;return u`<div class=${e(i(a.base,o))}><calcite-button class=${e(i(a.button,a.zoomIn))} .disabled=${!s} icon-start=plus kind=neutral .label=${c} @click=${this.zoomIn} title=${c??r}></calcite-button><calcite-button class=${e(i(a.button,a.zoomOut))} .disabled=${!v} icon-start=minus kind=neutral .label=${m} @click=${this.zoomOut} title=${m??r}></calcite-button></div>`}};z("arcgis-zoom",n);return n},"core/promiseUtils","core/reactiveUtils",a)
|
|
@@ -1,4 +1,4 @@
|
|
|
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 from"./
|
|
3
|
+
v4.33.0-next.112 */
|
|
4
|
+
import c from"./SY46TRCY.js";import b from"./Q53IGXXT.js";import{e as n}from"./H6YFRMVJ.js";import"./H6QDCONW.js";import"./6UAIP5CN.js";import{D as o,J as a,O as l,i,z as s}from"./LFGA26ZR.js";export default $arcgis.t(([g,,r])=>{var d=i`@layer{arcgis-editor{display:block}}`,p=r(g),t=class extends a{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.activeWorkflow=this.widget.activeWorkflow,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideCreateFeaturesSection=this.widget.visibleElements.createFeaturesSection,this.hideEditFeaturesSection=this.widget.visibleElements.editFeaturesSection,this.hideLabelsToggle=this.widget.visibleElements.labelsToggle,this.hideSnappingControlsElementsEnabledToggle=this.widget.visibleElements.snappingControlsElements.enabledToggle,this.hideSnappingControlsElementsFeatureEnabledToggle=this.widget.visibleElements.snappingControlsElements.featureEnabledToggle,this.hideSnappingControlsElementsLayerList=this.widget.visibleElements.snappingControlsElements.layerList,this.hideSnappingControlsElementsSelfEnabledToggle=this.widget.visibleElements.snappingControlsElements.selfEnabledToggle,this.hideTooltipsToggle=this.widget.visibleElements.tooltipsToggle,this.icon=this.widget.icon,this.label=this.widget.label,this.labelOptions=this.widget.labelOptions,this.layerInfos=this.widget.layerInfos,this.position="bottom-left",this.showSnappingControlsElementsHeader=this.widget.visibleElements.snappingControlsElements.header,this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.supportingWidgetDefaults=this.widget.supportingWidgetDefaults,this.tooltipOptions=this.widget.tooltipOptions,this.arcgisPropertyChange=n()("activeWorkflow","state"),this.arcgisReady=s()}static{this.properties={activeWorkflow:0,autoDestroyDisabled:5,headingLevel:9,hideCreateFeaturesSection:5,hideEditFeaturesSection:5,hideLabelsToggle:5,hideSnappingControlsElementsEnabledToggle:5,hideSnappingControlsElementsFeatureEnabledToggle:5,hideSnappingControlsElementsLayerList:5,hideSnappingControlsElementsSelfEnabledToggle:5,hideTooltipsToggle:5,icon:1,label:1,labelOptions:0,layerInfos:0,position:1,referenceElement:1,showSnappingControlsElementsHeader:5,snappingOptions:0,state:3,supportingWidgetDefaults:0,tooltipOptions:0}}static{this.shadowRootOptions=o}static{this.styles=d}async cancelWorkflow(){await this.widget?.cancelWorkflow()}async deleteFeatureFromWorkflow(){await this.widget?.deleteFeatureFromWorkflow()}async destroy(){await this.manager.destroy()}async startCreateFeaturesWorkflowAtFeatureCreation(e){await this.widget?.startCreateFeaturesWorkflowAtFeatureCreation(e)}async startCreateFeaturesWorkflowAtFeatureTypeSelection(){await this.widget?.startCreateFeaturesWorkflowAtFeatureTypeSelection()}async startUpdateWorkflowAtFeatureEdit(e){await this.widget?.startUpdateWorkflowAtFeatureEdit(e)}async startUpdateWorkflowAtFeatureSelection(){await this.widget?.startUpdateWorkflowAtFeatureSelection()}async startUpdateWorkflowAtMultipleFeatureSelection(e){await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e)}};l("arcgis-editor",t);return t},"widgets/Editor",b,c)
|