@arcgis/map-components 4.34.0-next.76 → 4.34.0-next.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cdn/{V4LEM74B.js → 22ZZNFWZ.js} +2 -2
- package/dist/cdn/{AFQZB4PI.js → 2AUWUEA4.js} +2 -2
- package/dist/cdn/{H5AIL277.js → 2GTI3LHP.js} +2 -2
- package/dist/cdn/{NWVXRMA4.js → 2LG5AQOE.js} +2 -2
- package/dist/cdn/{4DCVK6PZ.js → 2MPCP6WU.js} +2 -2
- package/dist/cdn/{RQCQZJZD.js → 2Z7TCD2I.js} +2 -2
- package/dist/cdn/{XAR3XIGX.js → 37EH6CNB.js} +2 -2
- package/dist/cdn/{IHLD4P3G.js → 3A42C2H4.js} +2 -2
- package/dist/cdn/{7YWORNAX.js → 3GKNY7DW.js} +1 -1
- package/dist/cdn/{Z6FNFZUR.js → 3LPVOUI7.js} +1 -1
- package/dist/cdn/{ND7M6HT7.js → 3MN5CNEY.js} +2 -2
- package/dist/cdn/{HJLAXGOX.js → 3T7AQ5SO.js} +2 -2
- package/dist/cdn/{65EVPMZR.js → 3UQJW43R.js} +2 -2
- package/dist/cdn/{BXW2BAX4.js → 3V4OVWO5.js} +1 -1
- package/dist/cdn/{XBBEOSW2.js → 452MABUH.js} +2 -2
- package/dist/cdn/{Z5XGYXOX.js → 45QSEX5O.js} +2 -2
- package/dist/cdn/{2FZON6TF.js → 4DXQBHSZ.js} +2 -2
- package/dist/cdn/{MM5FU7RF.js → 4DZFPJA5.js} +1 -1
- package/dist/cdn/{MXXMRRNC.js → 4FKVP6ZR.js} +2 -2
- package/dist/cdn/{WYJNUPQQ.js → 4IUYXGVZ.js} +2 -2
- package/dist/cdn/{P7MTSQ6I.js → 4JJ7QACB.js} +2 -2
- package/dist/cdn/{QVHEGYYS.js → 4WKWMSX2.js} +2 -2
- package/dist/cdn/{KSPQ6CQO.js → 54MOPEWZ.js} +2 -2
- package/dist/cdn/{F4AWFTY2.js → 55XG2QKI.js} +2 -2
- package/dist/cdn/{OPPAXQSD.js → 5NZXGXMD.js} +2 -2
- package/dist/cdn/{IFVLOQCZ.js → 676SDWAS.js} +2 -2
- package/dist/cdn/{MUEDPDXE.js → 67PHACCR.js} +2 -2
- package/dist/cdn/{YHWJDKP7.js → 6AEBJ3E2.js} +2 -2
- package/dist/cdn/{6W4MLHA3.js → 6ARBR42C.js} +2 -2
- package/dist/cdn/{S4SALY73.js → 6FKY2ZS6.js} +2 -2
- package/dist/cdn/{W3M6QKCP.js → 6LT5RC6H.js} +2 -2
- package/dist/cdn/{ATDLSGAA.js → 6RXJZNPD.js} +2 -2
- package/dist/cdn/{S3XLQ4YN.js → 73A5FR3F.js} +2 -2
- package/dist/cdn/{I4KVFWB2.js → 7GJH44HH.js} +2 -2
- package/dist/cdn/{IBGEJGTH.js → 7JF7GEDX.js} +2 -2
- package/dist/cdn/{NJXCM7MP.js → 7UVFKMUJ.js} +2 -2
- package/dist/cdn/{EIM2NEMF.js → 7XGJHRHE.js} +2 -2
- package/dist/cdn/{KO5DB6LN.js → ADZCPNDT.js} +2 -2
- package/dist/cdn/{7VIBZ5YY.js → AOQALCID.js} +1 -1
- package/dist/cdn/{42T3EIGK.js → B4M2TQDS.js} +2 -2
- package/dist/cdn/{4UJRS5PF.js → BC7F7TFD.js} +2 -2
- package/dist/cdn/{H2DEYGZV.js → BDD7TC7D.js} +1 -1
- package/dist/cdn/{MWHQTVCJ.js → BI4RX6VY.js} +2 -2
- package/dist/cdn/{EIBGMJ2H.js → BQ3CLAI5.js} +2 -2
- package/dist/cdn/{QXQ2XTG5.js → BSGQRVRI.js} +2 -2
- package/dist/cdn/{BFGQ5FYN.js → CHPOYBB5.js} +2 -2
- package/dist/cdn/{YV5EPQ7X.js → CIRJWOTB.js} +2 -2
- package/dist/cdn/{7WYKL4HM.js → CJV7BB37.js} +1 -1
- package/dist/cdn/{6SUGJ3BT.js → DCWEYRSN.js} +2 -2
- package/dist/cdn/{5S4TL7EJ.js → DHAP4IHN.js} +2 -2
- package/dist/cdn/{YLNH5VNW.js → DMUIRLQL.js} +2 -2
- package/dist/cdn/{EDZ56XSR.js → DP3AX5OX.js} +2 -2
- package/dist/cdn/{B7FNSRKH.js → DRORBDK2.js} +2 -2
- package/dist/cdn/{AQIJR6CF.js → DVZKZ5N5.js} +2 -2
- package/dist/cdn/{S63W2KJF.js → DZRV4AUP.js} +2 -2
- package/dist/cdn/{JMIWPOEW.js → E6VYB2SI.js} +2 -2
- package/dist/cdn/{RN7CKAUW.js → EIC3EJNE.js} +2 -2
- package/dist/cdn/{SYQ3IFPL.js → EJJOTLC2.js} +2 -2
- package/dist/cdn/{S5SEBPPA.js → ELWUZS4B.js} +2 -2
- package/dist/cdn/{4JJ7UB27.js → EQD5S7JE.js} +2 -2
- package/dist/cdn/{AFH3IYJU.js → EQW2WXAA.js} +2 -2
- package/dist/cdn/{FNNSQDFR.js → EUFDBN6T.js} +2 -2
- package/dist/cdn/{WOZPMV4C.js → EVQU57ZX.js} +1 -1
- package/dist/cdn/{THJ7JF3T.js → EX42D5S7.js} +2 -2
- package/dist/cdn/{VOAZ7L3J.js → F3EBCDLX.js} +2 -2
- package/dist/cdn/{GI5VLHSW.js → FAXOW5DJ.js} +2 -2
- package/dist/cdn/{WUFD7NCY.js → FGRNMVRR.js} +2 -2
- package/dist/cdn/{BPAHROKE.js → FPZAPRS6.js} +2 -2
- package/dist/cdn/{2RV2ITYL.js → FROVZFZT.js} +2 -2
- package/dist/cdn/{SAHZN2ZT.js → FV3DR37T.js} +2 -2
- package/dist/cdn/{XDBL2QVE.js → FVCYXIM6.js} +2 -2
- package/dist/cdn/{NXAB7YQS.js → G2JAX37J.js} +2 -2
- package/dist/cdn/{NEP3G3UP.js → G3AHGW6S.js} +2 -2
- package/dist/cdn/{SVZIZUWL.js → G4WGEGAI.js} +2 -2
- package/dist/cdn/{A47X4SUT.js → GIP4ROWC.js} +2 -2
- package/dist/cdn/{MQEKXUXG.js → H2LP27FF.js} +2 -2
- package/dist/cdn/{27U46CTP.js → HBXG6GOW.js} +1 -1
- package/dist/cdn/{LQEX43HC.js → HBZB6LGP.js} +2 -2
- package/dist/cdn/{7XHQLYUK.js → HELPOUI6.js} +2 -2
- package/dist/cdn/{QWQBWX7Q.js → HF4G5PEN.js} +2 -2
- package/dist/cdn/{JJWA3SP6.js → HHDYJ6EG.js} +2 -2
- package/dist/cdn/{TZEQYB3B.js → HQ6KVOQ5.js} +2 -2
- package/dist/cdn/{YKWPDWXM.js → HSYJQQIF.js} +2 -2
- package/dist/cdn/{SOKRZZ32.js → HXQ7AGFF.js} +2 -2
- package/dist/cdn/{HSUWEOJE.js → IDDNOZR3.js} +2 -2
- package/dist/cdn/{2NTBVQK2.js → IQKFR3XB.js} +2 -2
- package/dist/cdn/{3KZKUXB5.js → IV2AJOGC.js} +2 -2
- package/dist/cdn/{F5L67JLA.js → IVF4N3WB.js} +2 -2
- package/dist/cdn/{S2L3MIV7.js → J562LVYV.js} +2 -2
- package/dist/cdn/{74UCLQC4.js → JFXLO25G.js} +2 -2
- package/dist/cdn/{5JXAV3PG.js → JGJMUTPU.js} +2 -2
- package/dist/cdn/{XEQMFNI3.js → JIAS3GXR.js} +2 -2
- package/dist/cdn/{W437RNI7.js → JKQV4GVF.js} +2 -2
- package/dist/cdn/{2BTTIOOI.js → JOLAOWXA.js} +2 -2
- package/dist/cdn/{6ZSBIUZI.js → JRVIOZVC.js} +2 -2
- package/dist/cdn/{5JWMVBAW.js → JU5OBQPV.js} +2 -2
- package/dist/cdn/{TGF5K65M.js → K2MZBZU4.js} +2 -2
- package/dist/cdn/{NMVKEK3X.js → KOIH2QRU.js} +1 -1
- package/dist/cdn/{QLAN2CWK.js → KR6Y3XSF.js} +2 -2
- package/dist/cdn/{FEKHGHN5.js → KSH3MG6Q.js} +2 -2
- package/dist/cdn/{ZOSPBPU5.js → L45QF6MV.js} +2 -2
- package/dist/cdn/{35OTDXZ4.js → LFUI3HZZ.js} +2 -2
- package/dist/cdn/{Y4Q7SVNC.js → LGD2NBC4.js} +2 -2
- package/dist/cdn/{WPACHP7U.js → LI7WJ4CB.js} +2 -2
- package/dist/cdn/{INFQUGP3.js → LIYBWUHL.js} +1 -1
- package/dist/cdn/LOLBAMRO.js +4 -0
- package/dist/cdn/{3G3VWPYK.js → LTWMCX2W.js} +2 -2
- package/dist/cdn/{PSZSBKVZ.js → M3ETRDHQ.js} +2 -2
- package/dist/cdn/{77GQHO46.js → M5MC6KCV.js} +2 -2
- package/dist/cdn/{S6R7JVBJ.js → MQEJF4CH.js} +2 -2
- package/dist/cdn/{AUTQVIDV.js → MSMI44JD.js} +2 -2
- package/dist/cdn/{HGQUQOYU.js → NBQWGOHQ.js} +2 -2
- package/dist/cdn/{5GGNQSJL.js → NMWW3LR2.js} +2 -2
- package/dist/cdn/{LIYQV5FZ.js → NTKDLRTE.js} +2 -2
- package/dist/cdn/{VEIIZSE7.js → O6KQ5CPR.js} +2 -2
- package/dist/cdn/{673WSVFW.js → OBDBYUAT.js} +2 -2
- package/dist/cdn/{F3XIDQNU.js → OBRZ2ZL2.js} +2 -2
- package/dist/cdn/{NXZ5DZET.js → OBXVTD2N.js} +3 -3
- package/dist/cdn/{A3WTQ7EM.js → ODSLRCPP.js} +2 -2
- package/dist/cdn/{QDOX5WHT.js → OEGACH2U.js} +2 -2
- package/dist/cdn/{FVLGQ3L7.js → OHW46ZGR.js} +2 -2
- package/dist/cdn/{DFX6HMIX.js → ONDEIE6A.js} +2 -2
- package/dist/cdn/{O4VWPL5L.js → OUSCDBB7.js} +2 -2
- package/dist/cdn/{TM3QJ72H.js → OXJXYMDR.js} +2 -2
- package/dist/cdn/{AXOFVLFK.js → P3ROV65G.js} +2 -2
- package/dist/cdn/{CKOHDKS6.js → P7N5M4IF.js} +2 -2
- package/dist/cdn/{JZX5AZS4.js → PAJCQHIP.js} +2 -2
- package/dist/cdn/{DAQYGXZX.js → PGJICPTT.js} +2 -2
- package/dist/cdn/{4LIZT6DL.js → PJVBAFIR.js} +2 -2
- package/dist/cdn/{FZYMLAOL.js → PNMQEM5V.js} +2 -2
- package/dist/cdn/{GKASVIZR.js → QCDFFDTT.js} +2 -2
- package/dist/cdn/{MDC5YBAK.js → QIAJAMEW.js} +2 -2
- package/dist/cdn/{ZAUOJ5EL.js → QPFLZHSR.js} +2 -2
- package/dist/cdn/{RLJ47CVZ.js → QRCFSKIP.js} +2 -2
- package/dist/cdn/{IQ3KPGL6.js → QTRSVLCO.js} +2 -2
- package/dist/cdn/{GFYYUS5Q.js → QWTKFG3E.js} +2 -2
- package/dist/cdn/{RBX7M5V2.js → R52HKQJL.js} +2 -2
- package/dist/cdn/{DLXNNKMM.js → R7GVDF5O.js} +2 -2
- package/dist/cdn/{7PYDLEBL.js → RRDUR62R.js} +2 -2
- package/dist/cdn/{TIUIAHRJ.js → S7CDSWQW.js} +2 -2
- package/dist/cdn/{TNWJMZ5W.js → SKYB5EKZ.js} +2 -2
- package/dist/cdn/SS3ZTYM4.js +4 -0
- package/dist/cdn/{RH2PGLUX.js → SY4VNWTS.js} +2 -2
- package/dist/cdn/{CJEZ3E6Y.js → T43ESLKL.js} +2 -2
- package/dist/cdn/{DP5D5YSR.js → TC23ZASW.js} +2 -2
- package/dist/cdn/{PJQBVM5I.js → TEAGVUC3.js} +2 -2
- package/dist/cdn/{MKGDZB4R.js → TGVN3VRM.js} +2 -2
- package/dist/cdn/{WMDOHPCA.js → TM37L72W.js} +2 -2
- package/dist/cdn/{7GXRM6PJ.js → TWWWFQR3.js} +2 -2
- package/dist/cdn/{EV73XD53.js → TZFUQ6HA.js} +2 -2
- package/dist/cdn/{53WIW3YD.js → U2NDZMK6.js} +2 -2
- package/dist/cdn/{JB77A775.js → U2P4UYIR.js} +2 -2
- package/dist/cdn/{AN46X62G.js → UAPBNREE.js} +2 -2
- package/dist/cdn/{BIWPN7NS.js → UCRUSFUI.js} +2 -2
- package/dist/cdn/{45L7SFQY.js → UEI5GPIV.js} +2 -2
- package/dist/cdn/{XXR3S5NH.js → UIFHUHLZ.js} +2 -2
- package/dist/cdn/{MPIQT5EI.js → USHQYWDR.js} +2 -2
- package/dist/cdn/{T66GUPNO.js → UXBF3ZSZ.js} +2 -2
- package/dist/cdn/{GYO7J4W2.js → V4RHDGGM.js} +2 -2
- package/dist/cdn/{KD3QPVW3.js → VMQZ7Z6R.js} +2 -2
- package/dist/cdn/{MBRSJ5P5.js → VO75RE63.js} +2 -2
- package/dist/cdn/{ZNGYQISS.js → VSEES755.js} +2 -2
- package/dist/cdn/{466WG7LG.js → VSFRGJHZ.js} +2 -2
- package/dist/cdn/{NKN4BRQ3.js → VV5FQLQC.js} +2 -2
- package/dist/cdn/{D2DBRAL3.js → VXPGKXPY.js} +2 -2
- package/dist/cdn/{T255YQ2H.js → VXPV6DEM.js} +2 -2
- package/dist/cdn/{NB6Q5CZL.js → W2XV55RV.js} +2 -2
- package/dist/cdn/{EODCGHHU.js → WAFRAUEP.js} +2 -2
- package/dist/cdn/{4QKP2QAK.js → WAVYABRH.js} +2 -2
- package/dist/cdn/{A4FZQKFJ.js → WF3INWJH.js} +2 -2
- package/dist/cdn/{XQB76KJY.js → WXRHOQ3V.js} +2 -2
- package/dist/cdn/{GMYGDC43.js → WZNFV4WB.js} +2 -2
- package/dist/cdn/{FYLR6T2Z.js → X3BOJLGG.js} +2 -2
- package/dist/cdn/{EANY6R3U.js → X3C4U7ZU.js} +2 -2
- package/dist/cdn/{PBQMVOA3.js → X6GGGKZE.js} +2 -2
- package/dist/cdn/{DGPRFQMA.js → XB75NTLD.js} +2 -2
- package/dist/cdn/XBVMZT4E.js +4 -0
- package/dist/cdn/{DW673NQH.js → XH33Z7ME.js} +1 -1
- package/dist/cdn/{6PZ7FNGX.js → XPC36S2N.js} +1 -1
- package/dist/cdn/{TEFRU7UJ.js → XSYMUWHT.js} +2 -2
- package/dist/cdn/{N5M7RFEE.js → YHKLV3AE.js} +2 -2
- package/dist/cdn/{K267GIYN.js → YY74X777.js} +2 -2
- package/dist/cdn/{RSLK3GM4.js → Z5XBJQHQ.js} +2 -2
- package/dist/cdn/{P2MZ4GXS.js → Z6AQWEHL.js} +2 -2
- package/dist/cdn/{JAD6UCY4.js → ZMYTJPVZ.js} +2 -2
- package/dist/cdn/{BV4TDATX.js → ZUIOBU6A.js} +2 -2
- package/dist/cdn/{NJTBEUJQ.js → ZXLG4FFQ.js} +2 -2
- package/dist/cdn/assets/weather/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +2 -2
- package/dist/chunks/AnalysisViewModel.js +1 -1
- package/dist/chunks/async-utils.js +1 -1
- package/dist/chunks/basemap-gallery-resources.js +1 -1
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/index.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/measurementUtils.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useHandles.js +1 -1
- package/dist/chunks/useT9n.js +1 -1
- package/dist/chunks/useView.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
- package/dist/components/arcgis-feature-content/customElement.js +1 -1
- package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
- package/dist/components/arcgis-feature-expression/customElement.js +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-media/customElement.js +1 -1
- package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-link-chart/customElement.js +1 -1
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
- package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
- package/dist/components/arcgis-print-export-button/customElement.js +1 -1
- package/dist/components/arcgis-print-exported-link/customElement.js +1 -1
- package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-format-select/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
- package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
- package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
- package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
- package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
- package/dist/components/arcgis-print-template-select/customElement.js +1 -1
- package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/css.d.ts +1 -0
- package/dist/components/arcgis-search/customElement.js +22 -21
- package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.js +1 -1
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-video/customElement.js +1 -1
- package/dist/components/arcgis-video-player/customElement.js +1 -1
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
- package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
- package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
- package/dist/components/arcgis-weather/css.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +2 -0
- package/dist/components/arcgis-weather/customElement.js +58 -62
- package/dist/components/arcgis-weather/index.d.ts +1 -1
- package/dist/components/arcgis-weather/index.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +13 -13
- package/dist/docs/docs.json +8 -8
- package/dist/docs/web-types.json +2 -2
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/63655WCF.js +0 -4
- package/dist/cdn/6ZZZ76TF.js +0 -4
- package/dist/cdn/QXLXGQHJ.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{J as g,M as v,O as h,j as a,s as m,x as p}from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{J as g,M as v,O as h,j as a,s as m,x as p}from"./LIYBWUHL.js";import"./3GKNY7DW.js";var c=class extends g{constructor(){super(...arguments),this.arcgisManageVersion=m()}static{this.properties={versionItemElementProps:0}}static{this.shadowRootOptions=p}render(){let{versionItemElementProps:{currentUser:$,currentVersionIdentifier:V,isVersionAdministrator:f,isVersioningApiAvailable:b,serviceUrl:t,strings:{actions:n},versionInfo:e}}=this,s=e.versionIdentifier.name,u=s.substring(s.lastIndexOf(".")+1),r=s.substring(0,s.lastIndexOf(".")),l=e.versionIdentifier.guid,d=`actionSwitchToVersion_${l}`,o=r.toUpperCase()===$.toUpperCase()&&b||f,i=V.guid===e.versionIdentifier.guid,x=a`<calcite-action appearance=transparent .disabled=${i} id=${d??v} icon=code-branch text @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} slot=actions-start></calcite-action>`,I=i?void 0:a`<calcite-tooltip overlay-positioning=fixed .referenceElement=${d}><span>${n.switchToVersion}</span></calcite-tooltip>`;return a`<calcite-list-item .description=${r} .label=${u} .value=${l}>${x}${I}<calcite-action-menu overlay-positioning=fixed slot=actions-end label><calcite-action .disabled=${i} icon=code-branch @click=${()=>{this.arcgisManageVersion.emit({actionType:"changeVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.switchToVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||i} icon=code-branch-edit @click=${()=>{this.arcgisManageVersion.emit({actionType:"editVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.editVersion} text-enabled></calcite-action><calcite-action .disabled=${!o||o&&i} icon=trash @click=${()=>{this.arcgisManageVersion.emit({actionType:"deleteVersion",serviceUrl:t,versionInfo:e})}} scale=s .text=${n.deleteVersion} text-enabled></calcite-action></calcite-action-menu></calcite-list-item>`}};h("arcgis-version-management-version-item",c);export{c as ArcgisVersionManagementVersionItem};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import f from"./DW673NQH.js";import{a as T}from"./HGQUQOYU.js";import"./W437RNI7.js";import e from"./KO5DB6LN.js";import{a as x}from"./TGF5K65M.js";import{a as L}from"./WOZPMV4C.js";import d from"./3G3VWPYK.js";import c from"./FNNSQDFR.js";import{f as I}from"./ND7M6HT7.js";import"./77GQHO46.js";import"./Z5XGYXOX.js";import"./H2DEYGZV.js";import{a as $}from"./6PZ7FNGX.js";import{J as _,K as l,O as C,i as M,j as a,s as w,x as b}from"./INFQUGP3.js";import"./7YWORNAX.js";export default $arcgis.t(([P,{substitute:U},{renderingSanitizer:Z},,,E,{a:A,b:V,c:R,d:k,e:F,i:z,n:c}])=>{var S=M`@layer{arcgis-feature{display:block}.arcgis-feature{--calcite-color-background: var(--calcite-color-background);width:100%}.arcgis-feature__title{display:block;word-break:break-word;word-wrap:break-word;font-size:var(--calcite-font-size)}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-xxl);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}}`,p="arcgis-feature",o={base:p,container:`${p}__size-container`,title:`${p}__title`,main:`${p}__main-container`,contentElement:`${p}__content-element`,lastEditedInfo:`${p}__last-edited-info`,loadingSpinnerContainer:`${p}__loading-container`},N=E(P),y=class extends _{constructor(){super(...arguments),this.messages=x({}),this.viewModel=N(this),this.flowType="feature",this.flowItems=null,this.position="top-left",this.icon="icon",this.graphic=this.viewModel.graphic,this.view=this.viewModel.view,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=I()("state"),this.arcgisReady=w()}static{this.properties={flowType:16,flowItems:16,isTable:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,referenceElement:1,position:3,icon:1,graphic:0,view:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:3}}static{this.styles=S}static{this.shadowRootOptions=b}get isTable(){return this.viewModel.isFeatureFromTable}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}render(){let{state:e}=this.viewModel,t=a`<div class=${l(o.container)}>${this._renderTitle()}${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return a`<div class=${l($(o.base,L.widget))}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return a`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:a`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return a`<div class=${l(o.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:s}=this,r=c({values:t,fieldInfoMap:i,globalValues:s,layer:n,text:e.title}),d=c({values:t,fieldInfoMap:i,globalValues:s,layer:n,text:e.description});return a`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${r} .displayType=${e.displayType} .graphic=${this.graphic??void 0} .description=${d} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return a`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(o.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:s,sourceLayer:r,popupTemplate:d,globalValues:u}=this,g=(e.fieldInfos??d?.fieldInfos??[])?.filter(({fieldName:h})=>!!h&&(z(h)||F(h)||h in n)),m=d?.expressionInfos,f=c({values:n,fieldInfoMap:s,globalValues:u,layer:r,text:e.title}),v=c({values:n,fieldInfoMap:s,globalValues:u,layer:r,text:e.description});return a`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${f} class=${l(o.contentElement)} .messages=${this.messages} .description=${v} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${g} .expressionInfos=${m??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:s,sourceLayer:r,popupTemplate:d,globalValues:u}=this,{formattedAttributes:g,relatedInfos:m}=this.viewModel,f={...g?.global,...g?.content?.[t]},v=c({values:i,fieldInfoMap:s,globalValues:u,layer:r,text:e.title}),h=c({values:i,fieldInfoMap:s,globalValues:u,layer:r,text:e.description});return a`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(o.contentElement)} .description=${h} .values=${i} .layer=${r} .isAggregate=${n?.isAggregate} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${d??void 0} .relatedInfos=${m} .formattedValues=${f}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:s}=this,r=c({values:t,fieldInfoMap:i,globalValues:s,layer:n,text:e.text});return a`<arcgis-feature-content .creator=${r} .graphic=${this.graphic??void 0} class=${l(o.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return a`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(o.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:s,sourceLayer:r,globalValues:d}=this,{displayCount:u,orderByFields:g,relationshipId:m}=e,{formattedAttributes:f,view:v}=this.viewModel,h={...f?.global,...f?.content?.[t]},D=c({values:i,fieldInfoMap:s,globalValues:d,layer:r,text:e.title}),H=c({values:i,fieldInfoMap:s,globalValues:d,layer:r,text:e.description});return a`<arcgis-feature-relationship class=${l(o.contentElement)} .description=${H} .displayCount=${u} .graphic=${n??void 0} .heading=${D} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${g??void 0} .relationshipId=${m??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${h} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(){return null}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation():null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?a`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(o.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e}=this;return e?null:a`<div class=${l(o.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`}_renderTitle(){let{hideHeading:e,heading:t}=this;return e?null:T({class:o.title,level:this.headingLevel,children:a`<div .innerHTML=${Z.sanitize(t)??""}></div>`})}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:s}=i,r=i.type==="edit"?s?t.lastEditedByUser:t.lastEdited:s?t.lastCreatedByUser:t.lastCreated,d=U(r??"",{date:n,user:s});return a`<div class=${l($(o.lastEditedInfo,o.contentElement))}>${d}</div>`}};C("arcgis-feature",y);return y},"widgets/Feature/FeatureViewModel","intl","applications/Components/sanitizerUtils",c,d,e,f)
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import f from"./XH33Z7ME.js";import{a as T}from"./NBQWGOHQ.js";import"./JKQV4GVF.js";import e from"./ADZCPNDT.js";import{a as x}from"./K2MZBZU4.js";import{a as L}from"./EVQU57ZX.js";import d from"./LTWMCX2W.js";import c from"./EUFDBN6T.js";import{f as I}from"./3MN5CNEY.js";import"./M5MC6KCV.js";import"./45QSEX5O.js";import"./BDD7TC7D.js";import{a as $}from"./XPC36S2N.js";import{J as _,K as l,O as C,i as M,j as a,s as w,x as b}from"./LIYBWUHL.js";import"./3GKNY7DW.js";export default $arcgis.t(([P,{substitute:U},{renderingSanitizer:Z},,,E,{a:A,b:V,c:R,d:k,e:F,i:z,n:c}])=>{var S=M`@layer{arcgis-feature{display:block}.arcgis-feature{--calcite-color-background: var(--calcite-color-background);width:100%}.arcgis-feature__title{display:block;word-break:break-word;word-wrap:break-word;font-size:var(--calcite-font-size)}.arcgis-feature calcite-icon{box-sizing:content-box}.arcgis-feature__loading-container{display:flex;justify-content:center;padding:var(--calcite-spacing-md) 0;width:100%}.arcgis-feature__content-element{margin-bottom:var(--calcite-spacing-xxl);padding:0 var(--calcite-spacing-sm);display:flex;flex-direction:column}.arcgis-feature__content-element:only-child{margin-bottom:var(--calcite-spacing-xxs)}.arcgis-feature__last-edited-info{padding-top:var(--calcite-spacing-xs);font-size:var(--calcite-font-size-sm)}}`,p="arcgis-feature",o={base:p,container:`${p}__size-container`,title:`${p}__title`,main:`${p}__main-container`,contentElement:`${p}__content-element`,lastEditedInfo:`${p}__last-edited-info`,loadingSpinnerContainer:`${p}__loading-container`},N=E(P),y=class extends _{constructor(){super(...arguments),this.messages=x({}),this.viewModel=N(this),this.flowType="feature",this.flowItems=null,this.position="top-left",this.icon="icon",this.graphic=this.viewModel.graphic,this.view=this.viewModel.view,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.headingLevel=2,this.spatialReference=this.viewModel.spatialReference,this.timeZone=this.viewModel.timeZone,this.heading=this.viewModel.title,this.map=this.viewModel.map,this.chartAnimationDisabled=this.viewModel.abilities.chartAnimation,this.hideHeading=!1,this.hideContent=!1,this.hideAttachmentsContent=!1,this.hideCustomContent=!1,this.hideExpressionContent=!1,this.hideFieldsContent=!1,this.hideMediaContent=!1,this.showRelationshipContent=!1,this.hideTextContent=!1,this.showUtilityNetworkContent=!1,this.hideLastEditedInfo=!1,this.autoDestroyDisabled=!1,this.location=this.viewModel.location,this.state=this.viewModel.state,this.arcgisPropertyChange=I()("state"),this.arcgisReady=w()}static{this.properties={flowType:16,flowItems:16,isTable:16,popupTemplate:16,sourceLayer:16,fieldInfoMap:16,values:16,globalValues:16,referenceElement:1,position:3,icon:1,graphic:0,view:0,defaultPopupTemplateEnabled:5,headingLevel:9,spatialReference:0,timeZone:1,heading:0,map:0,chartAnimationDisabled:5,hideHeading:5,hideContent:5,hideAttachmentsContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,showRelationshipContent:5,hideTextContent:5,showUtilityNetworkContent:5,hideLastEditedInfo:5,autoDestroyDisabled:5,messageOverrides:0,label:1,location:0,state:3}}static{this.styles=S}static{this.shadowRootOptions=b}get isTable(){return this.viewModel.isFeatureFromTable}get popupTemplate(){return R(this.graphic,this.defaultPopupTemplateEnabled)??void 0}get sourceLayer(){return k(this.graphic)}get fieldInfoMap(){return A(V(this.popupTemplate),this.sourceLayer)}get values(){return this.graphic?.attributes??{}}get globalValues(){return this.viewModel.formattedAttributes?.global??{}}async destroy(){await this.manager.destroy()}async nextMedia(e){return this.viewModel.nextMedia(e)}async previousMedia(e){return this.viewModel.previousMedia(e)}async setActiveMedia(e,t){return this.viewModel.setActiveMedia(e,t)}render(){let{state:e}=this.viewModel,t=a`<div class=${l(o.container)}>${this._renderTitle()}${e==="error"?this._renderError():e==="loading"?this._renderLoading():this._renderContentContainer()}</div>`;return a`<div class=${l($(o.base,L.widget))}>${t}</div>`}_renderError(){let{messages:e,hideHeading:t}=this;return a`<calcite-notice icon=exclamation-mark-circle kind=danger open scale=s>${t?null:a`<div slot=title>${e.error}</div>`}<div slot=message>${e.loadingError}</div></calcite-notice>`}_renderLoading(){return a`<div class=${l(o.loadingSpinnerContainer)}><calcite-loader inline label></calcite-loader></div>`}_renderAttachments(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:s}=this,r=c({values:t,fieldInfoMap:i,globalValues:s,layer:n,text:e.title}),d=c({values:t,fieldInfoMap:i,globalValues:s,layer:n,text:e.description});return a`<arcgis-feature-attachments .headingLevel=${this.headingLevel} .heading=${r} .displayType=${e.displayType} .graphic=${this.graphic??void 0} .description=${d} .messages=${this.messages}></arcgis-feature-attachments>`}_renderCustom(e){return a`<arcgis-feature-content .creator=${e.creator} .destroyer=${e.destroyer??void 0} .graphic=${this.graphic??void 0} class=${l(o.contentElement)}></arcgis-feature-content>`}_renderFields(e,t){let i=this.viewModel.formattedAttributes,{values:n,fieldInfoMap:s,sourceLayer:r,popupTemplate:d,globalValues:u}=this,g=(e.fieldInfos??d?.fieldInfos??[])?.filter(({fieldName:h})=>!!h&&(z(h)||F(h)||h in n)),m=d?.expressionInfos,f=c({values:n,fieldInfoMap:s,globalValues:u,layer:r,text:e.title}),v=c({values:n,fieldInfoMap:s,globalValues:u,layer:r,text:e.description});return a`<arcgis-feature-fields .headingLevel=${this.headingLevel} .heading=${f} class=${l(o.contentElement)} .messages=${this.messages} .description=${v} .values=${{...i?.global,...i?.content?.[t]}} .fieldInfos=${g} .expressionInfos=${m??void 0}></arcgis-feature-fields>`}_renderMedia(e,t){let{values:i,graphic:n,fieldInfoMap:s,sourceLayer:r,popupTemplate:d,globalValues:u}=this,{formattedAttributes:g,relatedInfos:m}=this.viewModel,f={...g?.global,...g?.content?.[t]},v=c({values:i,fieldInfoMap:s,globalValues:u,layer:r,text:e.title}),h=c({values:i,fieldInfoMap:s,globalValues:u,layer:r,text:e.description});return a`<arcgis-feature-media .activeMediaInfoIndex=${e.activeMediaInfoIndex??0} .chartAnimationDisabled=${this.chartAnimationDisabled} .headingLevel=${this.headingLevel} .heading=${v} class=${l(o.contentElement)} .description=${h} .values=${i} .layer=${r} .isAggregate=${n?.isAggregate} .messages=${this.messages} .fieldInfoMap=${s} .mediaInfos=${e.mediaInfos??[]} .popupTemplate=${d??void 0} .relatedInfos=${m} .formattedValues=${f}></arcgis-feature-media>`}_renderText(e){let{values:t,fieldInfoMap:i,sourceLayer:n,globalValues:s}=this,r=c({values:t,fieldInfoMap:i,globalValues:s,layer:n,text:e.text});return a`<arcgis-feature-content .creator=${r} .graphic=${this.graphic??void 0} class=${l(o.contentElement)}></arcgis-feature-content>`}_renderExpression(e,t){let i=this.viewModel.formattedAttributes,{fieldInfoMap:n}=this;return a`<arcgis-feature-expression .expressionInfo=${e.expressionInfo} .map=${this.map??void 0} .spatialReference=${this.spatialReference??void 0} .view=${this.viewModel.view??void 0} .graphic=${this.graphic??void 0} .location=${this.location??void 0} .headingLevel=${this.headingLevel} class=${l(o.contentElement)} .interceptor=${this.viewModel.interceptor} .messages=${this.messages} .fieldInfoMap=${n} .values=${{...i?.global,...i?.content?.[t]}}></arcgis-feature-expression>`}_renderRelationship(e,t){let{values:i,graphic:n,fieldInfoMap:s,sourceLayer:r,globalValues:d}=this,{displayCount:u,orderByFields:g,relationshipId:m}=e,{formattedAttributes:f,view:v}=this.viewModel,h={...f?.global,...f?.content?.[t]},D=c({values:i,fieldInfoMap:s,globalValues:d,layer:r,text:e.title}),H=c({values:i,fieldInfoMap:s,globalValues:d,layer:r,text:e.description});return a`<arcgis-feature-relationship class=${l(o.contentElement)} .description=${H} .displayCount=${u} .graphic=${n??void 0} .heading=${D} .headingLevel=${this.headingLevel} .messages=${this.messages} .orderByFields=${g??void 0} .relationshipId=${m??void 0} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .values=${h} .view=${v??void 0}></arcgis-feature-relationship>`}_renderAssociation(){return null}_renderContentElement(e,t){switch(e.type){case"attachments":return this.hideAttachmentsContent?null:this._renderAttachments(e);case"custom":return this.hideCustomContent?null:this._renderCustom(e);case"fields":return this.hideFieldsContent?null:this._renderFields(e,t);case"media":return this.hideMediaContent?null:this._renderMedia(e,t);case"text":return this.hideTextContent?null:this._renderText(e);case"expression":return this.hideExpressionContent?null:this._renderExpression(e,t);case"relationship":return this.showRelationshipContent?this._renderRelationship(e,t):null;case"utility-network-associations":return this.showUtilityNetworkContent?this._renderAssociation():null;default:return null}}_renderContent(){let{content:e,graphic:t}=this.viewModel;return e?Array.isArray(e)&&e.length?e.length?e.map(this._renderContentElement,this):null:typeof e=="string"?a`<arcgis-feature-content .creator=${e} .graphic=${t??void 0} class=${l(o.contentElement)}></arcgis-feature-content>`:e instanceof HTMLElement?e:null:null}_renderContentContainer(){let{hideContent:e}=this;return e?null:a`<div class=${l(o.main)}>${[this._renderContent(),this._renderLastEditInfo()]}</div>`}_renderTitle(){let{hideHeading:e,heading:t}=this;return e?null:T({class:o.title,level:this.headingLevel,children:a`<div .innerHTML=${Z.sanitize(t)??""}></div>`})}_renderLastEditInfo(){let{hideLastEditedInfo:e,messages:t}=this,{lastEditInfo:i}=this.viewModel;if(!i||e)return null;let{date:n,user:s}=i,r=i.type==="edit"?s?t.lastEditedByUser:t.lastEdited:s?t.lastCreatedByUser:t.lastCreated,d=U(r??"",{date:n,user:s});return a`<div class=${l($(o.lastEditedInfo,o.contentElement))}>${d}</div>`}};C("arcgis-feature",y);return y},"widgets/Feature/FeatureViewModel","intl","applications/Components/sanitizerUtils",c,d,e,f)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{e as r}from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{e as r}from"./3MN5CNEY.js";import{P as o}from"./LIYBWUHL.js";var s=r(o);export{s 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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
4
|
export default $arcgis.t(([{formatNumber:r}])=>{var o=new Map([["a3-landscape","a3-landscape"],["a3-portrait","a3-portrait"],["a4-landscape","a4-landscape"],["a4-portrait","a4-portrait"],["letter-ansi-a-landscape","ansi-a-landscape"],["letter-ansi-a-portrait","ansi-a-portrait"],["tabloid-ansi-b-landscape","ansi-b-landscape"],["tabloid-ansi-b-portrait","ansi-b-portrait"]]),c=/^https:\/\/([a-z\d-]+)(\.maps([^.]*))?\.arcgis\.com/iu;function u(a){let t=a?.closest("[dir]");return t!==null&&t instanceof HTMLElement&&t.dir==="rtl"||document.dir==="rtl"}function d(a){if(!a)return;let t=a.layoutTemplateInfo;if(!t)return;let[e,n]=t.pageSize;return`${r(e)} \xD7 ${r(n)} ${a.pageUnits}`}function f(a,t){let{label:e,layout:n,layoutItem:i,type:s}=a;return s==="print-service-template"&&t[n]?t[n]:(e??n??i?.id)?.replaceAll("_"," ")??t.untitled}function m(a){return o.get(a)}var g=new Map([["AIX","aix"],["EPS","eps"],["GIF","gif"],["JPG","jpg"],["PDF","pdf"],["PNG32","png32"],["PNG8","png8"],["SVG","svg"],["SVGZ","svgz"],["TIFF","tiff"]]),p="map-only";function b(a){return a?.toLowerCase()===p}return{a:c,b:u,c:d,d:f,e:m,f:g,g:b}},"intl")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import"./3GKNY7DW.js";var d={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"\u0E04.\u0E28.",_era_bc:"\u0E01\u0E48\u0E2D\u0E19 \u0E04.\u0E28.",A:"a",P:"p",AM:"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07",PM:"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07","A.M.":"\u0E01\u0E48\u0E2D\u0E19\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07","P.M.":"\u0E2B\u0E25\u0E31\u0E07\u0E40\u0E17\u0E35\u0E48\u0E22\u0E07",January:"\u0E21\u0E01\u0E23\u0E32\u0E04\u0E21",February:"\u0E01\u0E38\u0E21\u0E20\u0E32\u0E1E\u0E31\u0E19\u0E18\u0E4C",March:"\u0E21\u0E35\u0E19\u0E32\u0E04\u0E21",April:"\u0E40\u0E21\u0E29\u0E32\u0E22\u0E19",May:"\u0E1E\u0E24\u0E29\u0E20\u0E32\u0E04\u0E21",June:"\u0E21\u0E34\u0E16\u0E38\u0E19\u0E32\u0E22\u0E19",July:"\u0E01\u0E23\u0E01\u0E0E\u0E32\u0E04\u0E21",August:"\u0E2A\u0E34\u0E07\u0E2B\u0E32\u0E04\u0E21",September:"\u0E01\u0E31\u0E19\u0E22\u0E32\u0E22\u0E19",October:"\u0E15\u0E38\u0E25\u0E32\u0E04\u0E21",November:"\u0E1E\u0E24\u0E28\u0E08\u0E34\u0E01\u0E32\u0E22\u0E19",December:"\u0E18\u0E31\u0E19\u0E27\u0E32\u0E04\u0E21",Jan:"\u0E21.\u0E04.",Feb:"\u0E01.\u0E1E.",Mar:"\u0E21\u0E35.\u0E04.",Apr:"\u0E40\u0E21.\u0E22.","May(short)":"\u0E1E.\u0E04.",Jun:"\u0E21\u0E34.\u0E22.",Jul:"\u0E01.\u0E04.",Aug:"\u0E2A.\u0E04.",Sep:"\u0E01.\u0E22.",Oct:"\u0E15.\u0E04.",Nov:"\u0E1E.\u0E22.",Dec:"\u0E18.\u0E04.",Sunday:"\u0E27\u0E31\u0E19\u0E2D\u0E32\u0E17\u0E34\u0E15\u0E22\u0E4C",Monday:"\u0E27\u0E31\u0E19\u0E08\u0E31\u0E19\u0E17\u0E23\u0E4C",Tuesday:"\u0E27\u0E31\u0E19\u0E2D\u0E31\u0E07\u0E04\u0E32\u0E23",Wednesday:"\u0E27\u0E31\u0E19\u0E1E\u0E38\u0E18",Thursday:"\u0E27\u0E31\u0E19\u0E1E\u0E24\u0E2B\u0E31\u0E2A\u0E1A\u0E14\u0E35",Friday:"\u0E27\u0E31\u0E19\u0E28\u0E38\u0E01\u0E23\u0E4C",Saturday:"\u0E27\u0E31\u0E19\u0E40\u0E2A\u0E32\u0E23\u0E4C",Sun:"\u0E2D\u0E32.",Mon:"\u0E08.",Tue:"\u0E2D.",Wed:"\u0E1E.",Thu:"\u0E1E\u0E24.",Fri:"\u0E28.",Sat:"\u0E2A.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"\u0E02\u0E22\u0E32\u0E22",Play:"\u0E40\u0E25\u0E48\u0E19",Stop:"\u0E2B\u0E22\u0E38\u0E14",Legend:"\u0E04\u0E33\u0E2D\u0E18\u0E34\u0E1A\u0E32\u0E22\u0E2A\u0E31\u0E0D\u0E25\u0E31\u0E01\u0E29\u0E13\u0E4C","Press ENTER to toggle":"",Loading:"\u0E01\u0E33\u0E25\u0E31\u0E07\u0E42\u0E2B\u0E25\u0E14",Home:"\u0E2B\u0E19\u0E49\u0E32\u0E2B\u0E25\u0E31\u0E01",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"\u0E1E\u0E34\u0E21\u0E1E\u0E4C",Image:"\u0E23\u0E39\u0E1B\u0E20\u0E32\u0E1E",Data:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25",Print:"\u0E1E\u0E34\u0E21\u0E1E\u0E4C","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"\u0E08\u0E32\u0E01 %1 \u0E16\u0E36\u0E07 %2","From %1":"\u0E08\u0E32\u0E01 %1","To %1":"\u0E16\u0E36\u0E07 %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{d as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import d from"./U2P4UYIR.js";import c from"./LTWMCX2W.js";import b from"./EUFDBN6T.js";import{f as a}from"./3MN5CNEY.js";import"./M5MC6KCV.js";import"./45QSEX5O.js";import"./BDD7TC7D.js";import"./XPC36S2N.js";import{J as o,O as r,i as e,s as i,x as s}from"./LIYBWUHL.js";import"./3GKNY7DW.js";export default $arcgis.t(([n,,{a:l},h])=>{var c=e`@layer{arcgis-feature-templates{display:block}}`,d=h(n),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.enableListScroll=this.widget.enableListScroll,this.filterFunction=this.widget.filterFunction,this.filterText=this.widget.filterText,this.groupBy=this.widget.groupBy,this.headingLevel=this.widget.headingLevel,this.hideFilter=this.widget.visibleElements.filter,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.position="bottom-left",this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisSelect=l(()=>this.widget,"select")}static{this.properties={autoDestroyDisabled:5,enableListScroll:5,filterFunction:0,filterText:1,groupBy:1,headingLevel:9,hideFilter:5,icon:1,label:1,layers:0,position:1,referenceElement:1,selectionMode:1,state:3}}static{this.shadowRootOptions=s}static{this.styles=c}async destroy(){await this.manager.destroy()}};r("arcgis-feature-templates",t);return t},"widgets/FeatureTemplates",b,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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import a from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import a from"./XH33Z7ME.js";import{J as u,K as n,O as h,i as f,j as i,v as g,x as m}from"./LIYBWUHL.js";import"./3GKNY7DW.js";export default $arcgis.t(([{renderingSanitizer:p},{replace:v},{k:b}])=>{var I=[{pattern:/^\s*(https?:\/\/([^\s]+))\s*$/iu,target:"_blank",label:"{messages.view}"},{pattern:/^\s*(tel:([^\s]+))\s*$/iu,label:"{hierPart}"},{pattern:/^\s*(mailto:([^\s]+))\s*$/iu,label:"{hierPart}"},{pattern:/^\s*(arcgis-appstudio-player:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"App Studio Player"},{pattern:/^\s*(arcgis-collector:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Collector"},{pattern:/^\s*(arcgis-explorer:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Explorer"},{pattern:/^\s*(arcgis-navigator:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Navigator"},{pattern:/^\s*(arcgis-survey123:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Survey123"},{pattern:/^\s*(arcgis-trek2there:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Trek2There"},{pattern:/^\s*(arcgis-workforce:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Workforce"},{pattern:/^\s*(iform:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"iForm"},{pattern:/^\s*(flow:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"FlowFinity"},{pattern:/^\s*(lfmobile:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Laserfische"},{pattern:/^\s*(mspbi:\/\/([^\s]+))\s*$/iu,label:"{messages.openInApp}",appName:"Microsoft Power Bi"}];function A(d,a){let e=I.find(o=>o.pattern.test(a));if(!e)return a;let t=a.match(e.pattern)?.[2],r=v(v(e.label,{messages:d,hierPart:t}),{appName:e.appName}),s=e.target?` target="${e.target}"`:"",l=e.target==="_blank"?' rel="noreferrer"':"";return p.sanitizeUrl(new URL(a,window.location.origin).toString()).replace(e.pattern,`<a${s} href="$1"${l}>${r}</a>`)}var N=f`@layer{arcgis-feature-fields{display:block}.arcgis-feature-fields__table{border:none;width:100%;border-collapse:collapse;color:var(--calcite-color-text-2)}.arcgis-feature-fields__table caption{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.arcgis-feature-fields__table tr:nth-child(odd){background-color:var(--calcite-color-foreground-1)}.arcgis-feature-fields__table tr:nth-child(2n){background-color:var(--calcite-color-foreground-2)}.arcgis-feature-fields__table tr a{color:var(--calcite-color-text-link)}.arcgis-feature-fields__table tr a:hover,.arcgis-feature-fields__table tr a:focus{color:var(--calcite-color-brand-hover)}.arcgis-feature-fields__table tr td,.arcgis-feature-fields__table tr th{padding:var(--calcite-spacing-xs) var(--calcite-spacing-sm);vertical-align:top;word-break:break-word;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.arcgis-feature-fields__table tr th{border-inline-end:var(--calcite-border-width-md) solid var(--calcite-color-border-3);width:50%;text-align:start}.arcgis-feature-fields__table tr td{width:50%}}`,$="arcgis-feature-fields",_={base:$,table:`${$}__table`},c=class extends u{constructor(){super(...arguments),this.headingLevel=2}static{this.properties={values:0,description:1,expressionInfos:0,fieldInfos:0,heading:1,headingLevel:9,messages:0}}static{this.styles=N}static{this.shadowRootOptions=m}get formattedFieldInfos(){let{expressionInfos:a,fieldInfos:e}=this,t=[];return e?.forEach(r=>{if(!(!("visible"in r)||r.visible))return;let s=r.clone();s.label=b(s,a),t.push(s)}),t}render(){return i`<div class=${n(_.base)}><arcgis-feature-element-info .heading=${this.heading} .description=${this.description} .headingLevel=${this.headingLevel}></arcgis-feature-element-info>${this._renderFields()}</div>`}_renderFieldInfo(a){let{values:e}=this,t=a.fieldName||"",r=a.label||t,s=e?e[t]==null?"":e[t]:"",l=!!a.format?.dateFormat,o={openInApp:this.messages?.openInApp??"",view:this.messages?.view??""},w=typeof s=="number"&&!l?g(`${s}`):typeof s=="string"?A(o,s):`${s}`;return i`<tr><th .innerHTML=${p.sanitize(r)??""}></th><td .innerHTML=${p.sanitize(w)??""}></td></tr>`}_renderFields(){let{formattedFieldInfos:a}=this;return a?.length?i`<table class=${n(_.table)}><caption>${this.messages?.fieldsSummary}</caption><tbody>${a.map(e=>this._renderFieldInfo(e))}</tbody></table>`:null}};h("arcgis-feature-fields",c);return c},"applications/Components/sanitizerUtils","applications/Components/stringUtils",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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{C as R,D,K as w,h as T}from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{C as R,D,K as w,h as T}from"./JOLAOWXA.js";import{N as y,o as P,u as v}from"./OEGACH2U.js";import{g as _}from"./V4RHDGGM.js";var m=class extends D{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let t=this.width(),s=this.height(),r=t/Math.abs(t),n=s/Math.abs(s),e=0,i=0,o=this.get("strokeWidth",0);this.get("containStroke",!1)&&(t-=r*o,s-=n*o,e+=r*o/2,i+=n*o/2);let a=t,h=s;if(_(a)&&_(h)){let u=Math.min(a,h)/2,l=v(this.get("cornerRadiusTL",8),u),d=v(this.get("cornerRadiusTR",8),u),c=v(this.get("cornerRadiusBR",8),u),g=v(this.get("cornerRadiusBL",8),u),b=Math.min(Math.abs(a/2),Math.abs(h/2));l=T(l,0,b),d=T(d,0,b),c=T(c,0,b),g=T(g,0,b);let p=this._display;p.moveTo(e+l*r,i),p.lineTo(e+a-d*r,i),d>0&&p.arcTo(e+a,i,e+a,i+d*n,d),p.lineTo(e+a,i+h-c*n),c>0&&p.arcTo(e+a,i+h,e+a-c*r,i+h,c),p.lineTo(e+g*r,i+h),g>0&&p.arcTo(e,i+h,e,i+h-g*n,g),p.lineTo(e,i+l*n),l>0&&p.arcTo(e,i,e+l*r,i,l),p.closePath()}}};Object.defineProperty(m,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"});Object.defineProperty(m,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:D.classNames.concat([m.className])});var f=class extends w{_afterNew(){this._settings.themeTags=y(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",m.new(this._root,{themeTags:y(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){let t=this._prevSettings.icon,s=this.get("icon");s!==t&&(this._disposeProperty("icon"),t&&t.dispose(),s&&this.children.push(s),this._prevSettings.icon=s)}if(this.isDirty("label")){let t=this._prevSettings.label,s=this.get("label");s!==t&&(this._disposeProperty("label"),t&&t.dispose(),s&&this.children.push(s),this._prevSettings.label=s)}}};Object.defineProperty(f,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"});Object.defineProperty(f,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:w.classNames.concat([f.className])});var x=class extends w{constructor(){super(...arguments),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:this._makeThumb()}),Object.defineProperty(this,"startGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"endGrip",{enumerable:!0,configurable:!0,writable:!0,value:this._makeButton()}),Object.defineProperty(this,"_thumbBusy",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_startDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_endDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_thumbDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_gripDown",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_addOrientationClass(){this._settings.themeTags=y(this._settings.themeTags,["scrollbar",this._settings.orientation]),this._settings.background||(this._settings.background=m.new(this._root,{themeTags:y(this._settings.themeTags,["main","background"])}))}_makeButton(){return this.children.push(f.new(this._root,{themeTags:["resize","button",this.get("orientation")],icon:R.new(this._root,{themeTags:["icon"]})}))}_makeThumb(){return this.children.push(m.new(this._root,{themeTags:["thumb",this.get("orientation")]}))}_handleAnimation(t){t&&this._disposers.push(t.events.on("stopped",()=>{this.setPrivateRaw("isBusy",!1),this._thumbBusy=!1}))}_afterNew(){this._addOrientationClass(),super._afterNew();let t=this.startGrip,s=this.endGrip,r=this.thumb,n=this.get("background");n&&this._disposers.push(n.events.on("click",e=>{this.setPrivateRaw("isBusy",!0);let i=this._display.toLocal(e.point),o=this.width(),a=this.height(),h=this.get("orientation"),u;h=="vertical"?u=(i.y-r.height()/2)/a:u=(i.x-r.width()/2)/o;let l,d;h=="vertical"?(l=u*a,d="y"):(l=u*o,d="x");let c=this.get("animationDuration",0);c>0?(this._thumbBusy=!0,this._handleAnimation(this.thumb.animate({key:d,to:l,duration:c,easing:this.get("animationEasing")}))):(this.thumb.set(d,l),this._root.events.once("frameended",()=>{this.setPrivateRaw("isBusy",!1)}))})),this._disposers.push(r.events.on("dblclick",e=>{if(!P(e.originalEvent,this))return;let i=this.get("animationDuration",0),o=this.get("animationEasing");this.animate({key:"start",to:0,duration:i,easing:o}),this.animate({key:"end",to:1,duration:i,easing:o})})),this._disposers.push(t.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._startDown=!0,this._gripDown="start"})),this._disposers.push(s.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._endDown=!0,this._gripDown="end"})),this._disposers.push(r.events.on("pointerdown",()=>{this.setPrivateRaw("isBusy",!0),this._thumbDown=!0,this._gripDown=void 0})),this._disposers.push(t.events.on("globalpointerup",()=>{this._startDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._startDown=!1})),this._disposers.push(s.events.on("globalpointerup",()=>{this._endDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._endDown=!1})),this._disposers.push(r.events.on("globalpointerup",()=>{this._thumbDown&&(this.setPrivateRaw("isBusy",!1),this._released()),this._thumbDown=!1})),this._disposers.push(t.on("x",()=>{this._updateThumb()})),this._disposers.push(s.on("x",()=>{this._updateThumb()})),this._disposers.push(t.on("y",()=>{this._updateThumb()})),this._disposers.push(s.on("y",()=>{this._updateThumb()})),this._disposers.push(r.events.on("positionchanged",()=>{this._updateGripsByThumb()})),this.get("orientation")=="vertical"?(t.set("x",0),s.set("x",0),this._disposers.push(r.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()-r.height()),0))),this._disposers.push(r.adapters.add("x",e=>this.width()/2)),this._disposers.push(t.adapters.add("x",e=>this.width()/2)),this._disposers.push(s.adapters.add("x",e=>this.width()/2)),this._disposers.push(t.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()),0))),this._disposers.push(s.adapters.add("y",e=>Math.max(Math.min(Number(e),this.height()),0)))):(t.set("y",0),s.set("y",0),this._disposers.push(r.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()-r.width()),0))),this._disposers.push(r.adapters.add("y",e=>this.height()/2)),this._disposers.push(t.adapters.add("y",e=>this.height()/2)),this._disposers.push(s.adapters.add("y",e=>this.height()/2)),this._disposers.push(t.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()),0))),this._disposers.push(s.adapters.add("x",e=>Math.max(Math.min(Number(e),this.width()),0))))}_updateChildren(){super._updateChildren(),(this.isDirty("end")||this.isDirty("start")||this._sizeDirty)&&this.updateGrips()}_changed(){if(super._changed(),this.isDirty("start")||this.isDirty("end")){let t="rangechanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this,start:this.get("start",0),end:this.get("end",1),grip:this._gripDown})}}_released(){let t="released";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this})}updateGrips(){let t=this.startGrip,s=this.endGrip,r=this.get("orientation"),n=this.height(),e=this.width();r=="vertical"?(t.set("y",n*this.get("start",0)),s.set("y",n*this.get("end",1))):(t.set("x",e*this.get("start",0)),s.set("x",e*this.get("end",1)));let i=this.getPrivate("positionTextFunction"),o=Math.round(this.get("start",0)*100),a=Math.round(this.get("end",0)*100),h,u;i?(h=i.call(this,this.get("start",0)),u=i.call(this,this.get("end",0))):(h=o+"%",u=a+"%"),t.set("ariaLabel",this._t("From %1",void 0,h)),t.set("ariaValueNow",""+o),t.set("ariaValueText",o+"%"),t.set("ariaValueMin","0"),t.set("ariaValueMax","100"),s.set("ariaLabel",this._t("To %1",void 0,u)),s.set("ariaValueNow",""+a),s.set("ariaValueText",a+"%"),s.set("ariaValueMin","0"),s.set("ariaValueMax","100")}_updateThumb(){let t=this.thumb,s=this.startGrip,r=this.endGrip,n=this.height(),e=this.width(),i=s.x(),o=r.x(),a=s.y(),h=r.y(),u=0,l=1;this.get("orientation")=="vertical"?_(a)&&_(h)&&(!this._thumbBusy&&!t.isDragging()&&(t.set("height",h-a),t.set("y",a)),u=a/n,l=h/n):_(i)&&_(o)&&(!this._thumbBusy&&!t.isDragging()&&(t.set("width",o-i),t.set("x",i)),u=i/e,l=o/e),this.getPrivate("isBusy")&&(this.get("start")!=u||this.get("end")!=l)&&(this.set("start",u),this.set("end",l));let d=this.getPrivate("positionTextFunction"),c=Math.round(this.get("start",0)*100),g=Math.round(this.get("end",0)*100),b,p;d?(b=d.call(this,this.get("start",0)),p=d.call(this,this.get("end",0))):(b=c+"%",p=g+"%"),t.set("ariaLabel",this._t("From %1 to %2",void 0,b,p)),t.set("ariaValueNow",""+c),t.set("ariaValueText",c+"%")}_updateGripsByThumb(){let t=this.thumb,s=this.startGrip,r=this.endGrip;if(this.get("orientation")=="vertical"){let n=t.height();s.set("y",t.y()),r.set("y",t.y()+n)}else{let n=t.width();s.set("x",t.x()),r.set("x",t.x()+n)}}};Object.defineProperty(x,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Scrollbar"});Object.defineProperty(x,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:w.classNames.concat([x.className])});export{m as a,f as b,x as 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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import"./3GKNY7DW.js";var r={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"m.\u0113.",_era_bc:"p.m.\u0113.",A:"priek\u0161p.",P:"p\u0113cp.",AM:"priek\u0161p.",PM:"p\u0113cp.","A.M.":"priek\u0161pusdien\u0101","P.M.":"p\u0113cpusdien\u0101",January:"janv\u0101ris",February:"febru\u0101ris",March:"marts",April:"apr\u012Blis",May:"maijs",June:"j\u016Bnijs",July:"j\u016Blijs",August:"augusts",September:"septembris",October:"oktobris",November:"novembris",December:"decembris",Jan:"janv.",Feb:"febr.",Mar:"marts",Apr:"apr.","May(short)":"maijs",Jun:"j\u016Bn.",Jul:"j\u016Bl.",Aug:"aug.",Sep:"sept.",Oct:"okt.",Nov:"nov.",Dec:"dec.",Sunday:"sv\u0113tdiena",Monday:"pirmdiena",Tuesday:"otrdiena",Wednesday:"tre\u0161diena",Thursday:"ceturtdiena",Friday:"piektdiena",Saturday:"sestdiena",Sun:"sv\u0113td.",Mon:"pirmd.",Tue:"otrd.",Wed:"tre\u0161d.",Thu:"ceturtd.",Fri:"piektd.",Sat:"sestd.",_dateOrd:function(_){let e="th";if(_<11||_>13)switch(_%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"T\u0101lummai\u0146a",Play:"Darbin\u0101t",Stop:"Aptur\u0113t",Legend:"Apz\u012Bm\u0113jumi","Press ENTER to toggle":"",Loading:"Iel\u0101d\u0113",Home:"S\u0101kums",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Druk\u0101t",Image:"Att\u0113ls",Data:"Dati",Print:"Druk\u0101t","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"No %1 l\u012Bdz %2","From %1":"No %1","To %1":"L\u012Bdz %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{r as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as o}from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{a as o}from"./XB75NTLD.js";import{a as _}from"./EVQU57ZX.js";import{a as g}from"./XPC36S2N.js";import{J as m,K as i,O as p,i as n,j as t,s as h,x as d}from"./LIYBWUHL.js";import"./3GKNY7DW.js";export default $arcgis.t(([{watch:R},{substitute:$}])=>{var w="arcgis-search-result-renderer",M={base:w,moreResults:`${w}__more-results`},b=n`@layer{.arcgis-search-result-renderer calcite-block,.arcgis-search-result-renderer calcite-block[expanded]{margin-block:0;margin-block-start:var(--calcite-spacing-md);border:0}}`,a=class extends m{constructor(){super(...arguments),this._resultCount=0,this._showMoreResultsOpen=!1,this.autoDestroyDisabled=!1,this.arcgisReady=h()}static{this.properties={_results:16,_resultCount:16,_selectedResult:16,_showMoreResultsOpen:16,messages:0,autoDestroyDisabled:5,viewModel:0}}static{this.styles=b}static{this.shadowRootOptions=d}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[R(()=>[this.viewModel?.results,this.viewModel?.resultCount],()=>{this._results=this.viewModel?.results,this._resultCount=this.viewModel?.resultCount??0,this._showMoreResultsOpen=!1},{initial:!0}),R(()=>this.viewModel?.selectedResult,e=>this._selectedResult=e,{initial:!0})])}_selectResult(e){this._showMoreResultsOpen=!1,this.viewModel?.select(e)}_getSourceName(e,s){return s===-1?this.messages?.all??"":e.name}_toggleShowMoreResults(e){this._showMoreResultsOpen=e;let s=this.viewModel?.view?.popup;s&&"reposition"in s&&s.reposition()}render(){return t`<div class=${i(g(M.base,_.widget))}>${this._selectedResult?.name??""}${this._renderMoreResults()}</div>`}_renderMoreResults(){let{_resultCount:e,_results:s}=this;return!e||e<2||!s?null:t`<calcite-block class=${i(M.moreResults)} collapsible .expanded=${this._showMoreResultsOpen} .heading=${$(this.messages?.showMoreResults??"",{count:e-1})} @calciteBlockClose=${()=>this._toggleShowMoreResults(!1)} @calciteBlockOpen=${()=>this._toggleShowMoreResults(!0)}>${s.map(r=>this._renderMoreResultsList(r,s?.length>1))}</calcite-block>`}_renderMoreResultsList(e,s){let{results:r}=e;if(!(r?.length??0)||!r)return null;let c=this._getSourceName(e.source,e.sourceIndex),u=r.filter(l=>l!==this._selectedResult).map(l=>this._renderListItem(l));return t`<calcite-list .label=${c}>${s?o(`group-${e.sourceIndex}`,t`<calcite-list-item-group .heading=${c}>${u}</calcite-list-item-group>`):u}</calcite-list>`}_renderListItem(e){return o(`result-${e.sourceIndex}-${e.key}`,t`<calcite-list-item .label=${e.name} @calciteListItemSelect=${()=>this._selectResult(e)}></calcite-list-item>`)}};p("arcgis-search-result-renderer",a);return a},"core/reactiveUtils","intl")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
4
|
var Z=globalThis,X=Z.ShadowRoot&&(Z.ShadyCSS===void 0||Z.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,yt=Symbol(),It=new WeakMap,I=class{constructor(t,e,s){if(this._$cssResult$=!0,s!==yt)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(X&&t===void 0){let s=e!==void 0&&e.length===1;s&&(t=It.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&It.set(e,t))}return t}toString(){return this.cssText}},kt=o=>new I(typeof o=="string"?o:o+"",void 0,yt),ve=(o,...t)=>{let e=o.length===1?o[0]:t.reduce((s,r,i)=>s+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+o[i+1],o[0]);return new I(e,o,yt)},jt=(o,t)=>{if(X)o.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let s=document.createElement("style"),r=Z.litNonce;r!==void 0&&s.setAttribute("nonce",r),s.textContent=e.cssText,o.appendChild(s)}},gt=X?o=>o:o=>o instanceof CSSStyleSheet?(t=>{let e="";for(let s of t.cssRules)e+=s.cssText;return kt(e)})(o):o;var{is:Ee,defineProperty:$e,getOwnPropertyDescriptor:be,getOwnPropertyNames:_e,getOwnPropertySymbols:Ae,getPrototypeOf:Ce}=Object,et=globalThis,Ht=et.trustedTypes,we=Ht?Ht.emptyScript:"",Oe=et.reactiveElementPolyfillSupport,k=(o,t)=>o,tt={toAttribute(o,t){switch(t){case Boolean:o=o?we: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}},j=(o,t)=>!Ee(o,t),zt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),et.litPropertyMetadata??=new WeakMap;var b=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=zt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let s=Symbol(),r=this.getPropertyDescriptor(t,s,e);r!==void 0&&$e(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){let{get:r,set:i}=be(this.prototype,t)??{get(){return this[e]},set(n){this[e]=n}};return{get:r,set(n){let a=r?.call(this);i?.call(this,n),this.requestUpdate(t,a,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??zt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ce(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,s=[..._e(e),...Ae(e)];for(let r of s)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[s,r]of e)this.elementProperties.set(s,r)}this._$Eh=new Map;for(let[e,s]of this.elementProperties){let r=this._$Eu(e,s);r!==void 0&&this._$Eh.set(r,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 r of s)e.unshift(gt(r))}else t!==void 0&&e.push(gt(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 jt(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)}_$ET(t,e){let s=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,s);if(r!==void 0&&s.reflect===!0){let i=(s.converter?.toAttribute!==void 0?s.converter:tt).toAttribute(e,s.type);this._$Em=t,i==null?this.removeAttribute(r):this.setAttribute(r,i),this._$Em=null}}_$AK(t,e){let s=this.constructor,r=s._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let i=s.getPropertyOptions(r),n=typeof i.converter=="function"?{fromAttribute:i.converter}:i.converter?.fromAttribute!==void 0?i.converter:tt;this._$Em=r,this[r]=n.fromAttribute(e,i.type)??this._$Ej?.get(r)??null,this._$Em=null}}requestUpdate(t,e,s){if(t!==void 0){let r=this.constructor,i=this[t];if(s??=r.getPropertyOptions(t),!((s.hasChanged??j)(i,e)||s.useDefault&&s.reflect&&i===this._$Ej?.get(t)&&!this.hasAttribute(r._$Eu(t,s))))return;this.C(t,e,s)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:r,wrapped:i},n){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,n??e??this[t]),i!==!0||n!==void 0)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){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[r,i]of this._$Ep)this[r]=i;this._$Ep=void 0}let s=this.constructor.elementProperties;if(s.size>0)for(let[r,i]of s){let{wrapped:n}=i,a=this[r];n!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,i,a)}}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._$EM()}catch(s){throw t=!1,this._$EM(),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)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};b.elementStyles=[],b.shadowRootOptions={mode:"open"},b[k("elementProperties")]=new Map,b[k("finalized")]=new Map,Oe?.({ReactiveElement:b}),(et.reactiveElementVersions??=[]).push("2.1.0");var Et=globalThis,st=Et.trustedTypes,Vt=st?st.createPolicy("lit-html",{createHTML:o=>o}):void 0,$t="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,bt="?"+_,Te=`<${bt}>`,T=document,z=()=>T.createComment(""),V=o=>o===null||typeof o!="object"&&typeof o!="function",_t=Array.isArray,Kt=o=>_t(o)||typeof o?.[Symbol.iterator]=="function",vt=`[
|
|
5
5
|
\f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Bt=/-->/g,Wt=/>/g,w=RegExp(`>|${vt}(?:([^\\s"'>=/]+)(${vt}*=${vt}*(?:[^
|
|
6
6
|
\f\r"'\`<>=]|("|')|))|$)`,"g"),Ft=/'/g,Gt=/"/g,Jt=/^(?:script|style|textarea|title)$/i,At=o=>(t,...e)=>({_$litType$:o,strings:t,values:e}),gs=At(1),vs=At(2),Es=At(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),qt=new WeakMap,O=T.createTreeWalker(T,129);function Qt(o,t){if(!_t(o)||!o.hasOwnProperty("raw"))throw Error("invalid template strings array");return Vt!==void 0?Vt.createHTML(t):t}var Yt=(o,t)=>{let e=o.length-1,s=[],r,i=t===2?"<svg>":t===3?"<math>":"",n=H;for(let a=0;a<e;a++){let c=o[a],l,u,h=-1,y=0;for(;y<c.length&&(n.lastIndex=y,u=n.exec(c),u!==null);)y=n.lastIndex,n===H?u[1]==="!--"?n=Bt:u[1]!==void 0?n=Wt:u[2]!==void 0?(Jt.test(u[2])&&(r=RegExp("</"+u[2],"g")),n=w):u[3]!==void 0&&(n=w):n===w?u[0]===">"?(n=r??H,h=-1):u[1]===void 0?h=-2:(h=n.lastIndex-u[2].length,l=u[1],n=u[3]===void 0?w:u[3]==='"'?Gt:Ft):n===Gt||n===Ft?n=w:n===Bt||n===Wt?n=H:(n=w,r=void 0);let g=n===w&&o[a+1].startsWith("/>")?" ":"";i+=n===H?c+Te:h>=0?(s.push(l),c.slice(0,h)+$t+c.slice(h)+_+g):c+_+(h===-2?a:g)}return[Qt(o,i+(o[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},B=class o{constructor({strings:t,_$litType$:e},s){let r;this.parts=[];let i=0,n=0,a=t.length-1,c=this.parts,[l,u]=Yt(t,e);if(this.el=o.createElement(l,s),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith($t)){let y=u[n++],g=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(y);c.push({type:1,index:i,name:C[2],strings:g,ctor:C[1]==="."?rt:C[1]==="?"?it:C[1]==="@"?nt:P}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:i}),r.removeAttribute(h));if(Jt.test(r.tagName)){let h=r.textContent.split(_),y=h.length-1;if(y>0){r.textContent=st?st.emptyScript:"";for(let g=0;g<y;g++)r.append(h[g],z()),O.nextNode(),c.push({type:2,index:++i});r.append(h[y],z())}}}else if(r.nodeType===8)if(r.data===bt)c.push({type:2,index:i});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:i}),h+=_.length-1}i++}}static createElement(t,e){let s=T.createElement("template");return s.innerHTML=t,s}};function S(o,t,e=o,s){if(t===f)return t;let r=s!==void 0?e._$Co?.[s]:e._$Cl,i=V(t)?void 0:t._$litDirective$;return r?.constructor!==i&&(r?._$AO?.(!1),i===void 0?r=void 0:(r=new i(o),r._$AT(o,e,s)),s!==void 0?(e._$Co??=[])[s]=r:e._$Cl=r),r!==void 0&&(t=S(o,r._$AS(o,t.values),r,s)),t}var ot=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,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let i=O.nextNode(),n=0,a=0,c=s[0];for(;c!==void 0;){if(n===c.index){let l;c.type===2?l=new R(i,i.nextSibling,this,t):c.type===1?l=new c.ctor(i,c.name,c.strings,this,t):c.type===6&&(l=new at(i,this,t)),this._$AV.push(l),c=s[++a]}n!==c?.index&&(i=O.nextNode(),n++)}return O.currentNode=T,r}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++}},R=class o{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=r,this._$Cv=r?.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=S(this,t,e),V(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):Kt(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&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=B.createElement(Qt(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===r)this._$AH.p(e);else{let i=new ot(r,this),n=i.u(this.options);i.p(e),this.T(n),this._$AH=i}}_$AC(t){let e=qt.get(t.strings);return e===void 0&&qt.set(t.strings,e=new B(t)),e}k(t){_t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,s,r=0;for(let i of t)r===e.length?e.push(s=new o(this.O(z()),this.O(z()),this,this.options)):s=e[r],s._$AI(i),r++;r<e.length&&(this._$AR(s&&s._$AB.nextSibling,r),e.length=r)}_$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))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,r,i){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=i,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,r){let i=this.strings,n=!1;if(i===void 0)t=S(this,t,e,0),n=!V(t)||t!==this._$AH&&t!==f,n&&(this._$AH=t);else{let a=t,c,l;for(t=i[0],c=0;c<i.length-1;c++)l=S(this,a[s+c],e,c),l===f&&(l=this._$AH[c]),n||=!V(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+i[c+1]),this._$AH[c]=l}n&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},rt=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},it=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends P{constructor(t,e,s,r,i){super(t,e,s,r,i),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let s=this._$AH,r=t===d&&s!==d||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,i=t!==d&&(s===d||r);r&&this.element.removeEventListener(this.name,this,s),i&&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)}},at=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){S(this,t)}},Zt={M:$t,P:_,A:bt,C:1,L:Yt,R:ot,D:Kt,V:S,I:R,H:P,N:it,U:nt,B:rt,F:at},Se=Et.litHtmlPolyfillSupport;Se?.(B,R),(Et.litHtmlVersions??=[]).push("3.3.0");var Ct=(o,t,e)=>{let s=e?.renderBefore??t,r=s._$litPart$;if(r===void 0){let i=e?.renderBefore??null;s._$litPart$=r=new R(t.insertBefore(z(),i),i,void 0,e??{})}return r._$AI(o),r};var wt=globalThis,A=class extends b{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=Ct(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};A._$litElement$=!0,A.finalized=!0,wt.litElementHydrateSupport?.({LitElement:A});var Pe=wt.litElementPolyfillSupport;Pe?.({LitElement:A});(wt.litElementVersions??=[]).push("4.2.0");var p=(o,t,...e)=>{try{return o?.call(t,...e)}catch(s){console.error(s,o)}},W=async(o,t,...e)=>{try{return await o?.call(t,...e)}catch(s){console.error(s,o)}};var G=Symbol.for("controller"),Ne=o=>typeof o=="object"&&o!==null&&(G in o||"hostConnected"in o||"hostDisconnected"in o||"hostUpdate"in o||"hostUpdated"in o),Ls=o=>typeof o?.then=="function",Rs=o=>o.M.length,F,x=o=>{F!==o&&(F=o,queueMicrotask(()=>F===o?F=void 0:0))},q=o=>F,N=[],Xt=o=>{if(o===void 0){N=[];return}let t=N.indexOf(o);N=t===-1?[...N,o]:N.slice(0,t+1),queueMicrotask(()=>N=[])},te=()=>N,U,Us=o=>{U!==o&&(U=o,queueMicrotask(()=>U===o?U=void 0:0))},xe=()=>{let o=U;return U=void 0,o},ee=async(o,t)=>{let e=lt(o);if(e===void 0)return o;if(await e.ready,typeof t=="function"){let s=e.watchExports(r=>t(r,s))}return e.exports},se=async o=>{let t=lt(o);return await t.ready,t},lt=o=>{let e=q().manager.X(o);if(e!==void 0)return e;if(Ne(o))return o;let s=xe();if(s!==void 0)return s},ct=!1,Ms=o=>{ct=!0;try{return o()}finally{ct=!1}};var $=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}},oe=(o,t)=>{let e=t>De?Le:t/Re,s=0,r=setInterval(()=>{s+=e,s>=t&&(clearInterval(r),o())},e);return r},De=4e3,Le=2e3,Re=4;var Ue=(o,t,e)=>{let s=Object.keys(o),r=s.length;M===void 0&&queueMicrotask(K),M??=new Map;let i=M.get(o);return i===void 0&&(i={callbacks:[],keyCount:r},M.set(o,i)),i.keyCount!==r&&(i.callbacks.forEach(n=>n(s)),i.callbacks=[],i.keyCount=r),i.callbacks.push(n=>{let a=l=>p(t,null,l),c=n[r];c===void 0?a(void 0):o[c]===e?a(c):a(void 0)}),e},M,K=()=>{M?.forEach(({callbacks:o},t)=>{let e=Object.keys(t);o.forEach(s=>s(e))}),M=void 0},Me=(o,t,e)=>{let s=o.manager;return s.V!==d&&s.V!==e&&s.S(void 0,void 0),s.T.length===0&&queueMicrotask(()=>s.S(void 0,void 0)),s.V=e,s.T.push((r,i)=>p(t,void 0,e===i?r:void 0)),e},Ie=(o=[q(),...te()],t,e)=>{let s=Array.isArray(o)?o:[o],r=s.length+1,i=n=>{r-=1,n!==void 0&&(r=Math.min(r,0)),r===0&&t(n)};s.forEach(n=>Ue(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!1}),e));for(let n of s)if("manager"in n&&n.manager.component===n){Me(n,a=>i(a===void 0?void 0:{key:a,host:n,isReactive:!0}),e);break}return e},ke=(o="",t={},e=q())=>{let s={emit:r=>{o===""&&K();let i=new CustomEvent(o,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(i),i}};return o===""&&Ie(void 0,r=>o=r.key,s),s},je=ke.bind(null,""),ne;ne=G;var Ot=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#o=[],this.#r=[],this.#c=[],this.#l=[],this.#p=[],this.#h=[],this.#d=!1,this.P=new $,this.connectedCalled=!1,this.loadedCalled=!1,this[ne]=!0,this.#a=[];let e=this,s=t??q(new.target.name);e.#i=s,e.ready=e.P.promise,e.#n=ie(e),e.component=s,e.#i.addController(e),e.#i.manager===void 0||(Xt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#o;#r;#c;#l;#p;#h;#d;#i;catchUpLifecycle(){let{manager:t}=this.#i;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#d&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(console.error)}#n;get exports(){return this.#n}set exports(t){let e=this.#n;e!==t&&(this.#n=t,this.#a.forEach(p),this.connectedCalled&&this.O!==!1&&this.#i.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#n=e?ie(t):t,this.#a.forEach(p)}#a;watchExports(t){let e=()=>t(this.#n);return this.#a.push(e),()=>void this.#a.splice(this.#a.indexOf(e),1)}get use(){return x(this.#i),ee}get useRef(){return x(this.#i),se}get useRefSync(){return x(this.#i),lt}controllerRemoved(){this.#i.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#o.push(t)}onUpdate(t){this.#r.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#p.push(t),this.connectedCalled&&this.#i.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#h.forEach(p),t.#h=[]}async triggerLoad(){if(this.#d)return;this.#d=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#n)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#o.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#r.forEach(re,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(re,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#p.forEach(this.#u,this)}#u(t){x(this.#i);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#h.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#h.push(r.remove)})}};function re(o){p(o,void 0,this)}var ae=Ot,ie=o=>{if(typeof o!="object"&&typeof o!="function"||o===null)return o;let t={get(s,r,i){if(!((r==="exports"||r==="_exports")&&r in s&&s[r]===e)&&(r in s||r in Promise.prototype||typeof r=="symbol"))return typeof s=="function"?s[r]:Reflect.get(s,r,i)}},e=new Proxy(o,t);return e};var ht=o=>o.replace(He,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),He=/[A-Z]+(?![a-z])|[A-Z]/gu;var Fs=o=>`\u200E${o??""}\u200E`,J=o=>{let t="";for(let e=0;e<o;e++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t},Gs=()=>[J(2),J(1),J(1),J(1),J(3)].join("-");var ce=";",dt=",",le=":";var St=o=>{let t=o;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(o),(e.I??e._postLoad).promise}return!1},Pt={};function Nt(){}var ze=(o,t)=>function(s,r){if(!globalThis.customElements)return;let n=(r??s??{}).resourcesUrl;n&&o.setAssetPath(n);for(let[a,[c,l=""]]of Object.entries(t)){if(customElements.get(a))continue;let[u,h,y]=l.split(ce),g=u?u?.split(dt).map(Ve):void 0,C=g?.map(([L])=>L),D=class extends Tt{static{this.observedAttributes=g?.map(([,L])=>L).filter(L=>L!=="")}static{this.C=C}static{this.E=h?h?.split(dt):void 0}static{this.D=y?.split(dt)}static{this.L=a}static{this.K=o}constructor(){!D.B&&(D.B=c(),D.F()),super()}};customElements.define(a,D)}},pt=Object.defineProperty,Ve=o=>{let t=o.split(le);return t.length===1?[t[0],ht(t[0])]:t},Be=globalThis.HTMLElement??Nt,Tt=class extends Be{constructor(){super(),this.#e={},this.#s=[],this.I=new $,this.H=new $,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(s=>{Object.hasOwn(t,s)&&(t.#e[s]=t[s],delete t[s])}),e.A?t.#o({a:e.A}):e.B.then(async s=>{await e.K.p,t.#o(await(s.default?.then(r=>typeof r=="function"?{a:r}:r)??s))}).catch(s=>{t.H.reject(s),setTimeout(()=>{throw s})})}static{this.lumina=!0}static F(){for(let t of this.C??[])pt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])pt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])pt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,s){this.#t?.attributeChangedCallback(t,e,s),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=St(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#o(t){let e=this.constructor,s=e.L,r=this.#e,i=Object.values(t).find(h=>h.L===s),n=`${s}--lazy`,a=i;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);Fe(a),!e.A&&(e.A=i,customElements.define(n,i)),i.N=this;let l=document.createElement(n);i.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(We,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function We([o,t]){this[o]=t}var Fe=o=>{let t=o.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,i){e.setAttribute.call(this.el,r,i)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},pt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var{I:Ge}=Zt;var ut=o=>o.strings===void 0,he=()=>document.createComment(""),eo=(o,t,e)=>{let s=o._$AA.parentNode,r=t===void 0?o._$AB:t._$AA;if(e===void 0){let i=s.insertBefore(he(),r),n=s.insertBefore(he(),r);e=new Ge(i,n,o,o.options)}else{let i=e._$AB.nextSibling,n=e._$AM,a=n!==o;if(a){let c;e._$AQ?.(o),e._$AM=o,e._$AP!==void 0&&(c=o._$AU)!==n._$AU&&e._$AP(c)}if(i!==r||a){let c=e._$AA;for(;c!==i;){let l=c.nextSibling;s.insertBefore(c,r),c=l}}}return e},so=(o,t,e=o)=>(o._$AI(t,e),o),qe={},de=(o,t=qe)=>o._$AH=t,oo=o=>o._$AH,ro=o=>{o._$AP?.(!1,!0);let t=o._$AA,e=o._$AB.nextSibling;for(;t!==e;){let s=t.nextSibling;t.remove(),t=s}};var m={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},E=o=>(...t)=>({_$litDirective$:o,values:t}),v=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 Q=(o,t)=>{let e=o._$AN;if(e===void 0)return!1;for(let s of e)s._$AO?.(t,!1),Q(s,t);return!0},ft=o=>{let t,e;do{if((t=o._$AM)===void 0)break;e=t._$AN,e.delete(o),o=t}while(e?.size===0)},pe=o=>{for(let t;t=o._$AM;o=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(o))break;e.add(o),Qe(t)}};function Ke(o){this._$AN!==void 0?(ft(this),this._$AM=o,pe(this)):this._$AM=o}function Je(o,t=!1,e=0){let s=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(s))for(let i=e;i<s.length;i++)Q(s[i],!1),ft(s[i]);else s!=null&&(Q(s,!1),ft(s));else Q(this,o)}var Qe=o=>{o.type==m.CHILD&&(o._$AP??=Je,o._$AQ??=Ke)},mt=class extends v{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,s){super._$AT(t,e,s),pe(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(Q(this,t),ft(this))}setValue(t){if(ut(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var mo=()=>new Dt,Dt=class{},xt=new WeakMap,Lt=E(class extends mt{render(o){return d}update(o,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=o.options?.host,this.rt(this.ct=o.element)),d}rt(o){if(this.isConnected||(o=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=xt.get(t);e===void 0&&(e=new WeakMap,xt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,o),o!==void 0&&this.G.call(this.ht,o)}else this.G.value=o}get lt(){return typeof this.G=="function"?xt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ue=E(class extends v{constructor(o){if(super(o),o.type!==m.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 r=!!t[s];r===this.st.has(s)||this.nt?.has(s)||(r?(e.add(s),this.st.add(s)):(e.remove(s),this.st.delete(s)))}return f}});var fe="important",Ze=" !"+fe,me=E(class extends v{constructor(o){if(super(o),o.type!==m.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 r=t[s];if(r!=null){this.ft.add(s);let i=typeof r=="string"&&r.endsWith(Ze);s.includes("-")||i?e.setProperty(s,i?r.slice(0,-11):r,i?fe:""):e[s]=r}}return f}});var Xe=E(class extends v{constructor(o){if(super(o),o.type!==m.PROPERTY&&o.type!==m.ATTRIBUTE&&o.type!==m.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ut(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===m.PROPERTY){if(t===e[s])return f}else if(o.type===m.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(s))return f}else if(o.type===m.ATTRIBUTE&&e.getAttribute(s)===t+"")return f;return de(o),t}});var Rt=class extends ae{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=Ut in t&&typeof t.destroy=="function",A.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 ${Ut} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),K();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>void this.#e.destroy();this.#t=oe(t,cs)}}S(t,e){let s=this.T;this.V=d,this.T=[],s.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},cs=1e3,Ut="autoDestroyDisabled",ye=class o extends A{constructor(){super(),this.M=[],this.manager=new Rt(this);let t=this,e=t.constructor,s=e.N,r=e.K.o,i=o.prototype.shouldUpdate;t.#o=s?.H??new $,t.I=s?.I??new $,t.J=s?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=s??t,t.#s=t.enableUpdating,t.enableUpdating=Nt,t.shouldUpdate!==i&&(t.#e=t.shouldUpdate,t.shouldUpdate=i),r&&(t.#t=new Map,e.elementProperties.forEach((n,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),s=this.shadowRootOptions===Pt;return this.K?.commonStyles===void 0||s?e:[this.K.commonStyles,...e]}static createProperty(t,e){let s=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,i=r?.hasChanged??j,n={attribute:s&1&&typeof t=="string"?ht(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),c:!1,...r,hasChanged(a,c){let l=i(a,c);return n.c=l,l}};super.createProperty(t,n)}static getPropertyDescriptor(t,e,s){let r=this.K,i=super.getPropertyDescriptor(t,e,s);return s.d=i,{...i,get(){return r.t?.(this.#t.get(t)),i.get?.call(this)},set(n){let a=this.manager;if(s.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${n}"`);i.set.call(this,n??void 0),s.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(K(),a?.S(t,n))}}}static{this.lumina=!0}#t;#e;#s;#o;#r;connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=this.constructor.K.c?.(()=>this.requestUpdate());this.#r=t;let e=!this.manager.connectedCalled;super.connectedCallback(),e?queueMicrotask(()=>this.#l().catch(s=>{this.#o.reject(s),setTimeout(()=>{throw s})})):t&&this.requestUpdate()}#c(t){try{this.#r.clear(),this.constructor.K.r(this.#r,()=>super.update(t))}catch(e){throw this.#r.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#r?.destroy(),this.#r=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,s=e.shadowRootOptions,i=t??(s===Pt?this.el:this.el.attachShadow(s));if(this.isConnected){let n=i.getRootNode();n.adoptedStyleSheets=[...n.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return i}async#l(){let t=this.el.G??St(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(Ut)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await Promise.resolve();let s=this.J.filter(r=>!r.manager?.loadedCalled);s.length&&await Promise.allSettled(s.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#o.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#r?this.#c(t):super.update(t)}listen(t,e,s){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,s),()=>this.el.removeEventListener(t,r,s)))}listenOn(t,e,s,r){let i=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)))}async componentOnReady(){return await this.#o.promise,this}addController(t){this.M.push(t),!(G in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}},ge=o=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},s={...o,getAssetPath(r){let i=new URL(r,t);return i.origin!==globalThis.location?.origin?i.href:i.pathname},setAssetPath:e,customElement(r,i){i.K=s,i.L=r,customElements.get(r)||customElements.define(r,i)}};return e(o.defaultAssetPath),s};var nr=o=>typeof o=="object"&&o!=null?ue(o):o,ar=o=>typeof o=="object"&&o!=null?me(o):o;var Mt=class extends v{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Lt(this.#e)):Lt(t)}},cr=E(Mt);var lr=d;var Y=ge({defaultAssetPath:"https://jsdev.arcgis.com/next/map-components/",hydratedAttribute:"hydrated"}),{customElement:fr,getAssetPath:mr,setAssetPath:yr}=Y;Y.t=void 0;Y.o=void 0;Y.c=void 0;Y.r=void 0;export{Ls as a,Rs as b,x as c,q as d,Xt as e,te as f,Us as g,Ms as h,ve as i,gs as j,vs as k,Es as l,f as m,d as n,Ct as o,Me as p,Ie as q,ke as r,je as s,Ot as t,ae as u,Fs as v,Gs as w,Pt as x,ze as y,m as z,E as A,v as B,eo as C,so as D,de as E,oo as F,ro as G,mo as H,Lt as I,ye as J,nr as K,ar as L,lr as M,Y as N,fr as O,mr as P};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
+
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{a as g}from"./AOQALCID.js";import h from"./ADZCPNDT.js";import{a as C}from"./K2MZBZU4.js";import{a as x}from"./EVQU57ZX.js";import e from"./LTWMCX2W.js";import c from"./EUFDBN6T.js";import{f as $}from"./3MN5CNEY.js";import"./M5MC6KCV.js";import"./45QSEX5O.js";import"./BDD7TC7D.js";import{a as M}from"./XPC36S2N.js";import{I as d,J as S,K as a,M as b,O as f,i as m,j as o,o as _,s as v,x as w}from"./LIYBWUHL.js";import"./3GKNY7DW.js";export default $arcgis.t(([T,{isAbortError:A},{substitute:D},{watch:E},,{a:l},R])=>{var c="arcgis-search",n={base:c,autocomplete:`${c}__autocomplete`,dropdown:`${c}__dropdown`,container:`${c}__container`,form:`${c}__form`,submitButton:`${c}__submit-button`},I=m`@layer{arcgis-search{display:block}.arcgis-search{--arcgis-internal-search-width: 240px;display:flex;flex-flow:row nowrap;align-items:center;justify-content:center;width:var(--arcgis-internal-search-width)}.arcgis-search__dropdown{--calcite-color-border-1: var(--calcite-color-border-input);--calcite-dropdown-width: var(--arcgis-internal-search-width);width:31px}.arcgis-search__autocomplete{flex:1}.arcgis-search__container{display:flex;position:relative;flex:1 0 100%;flex-flow:row nowrap;align-items:stretch}.arcgis-search__form{display:flex;flex:1 0;flex-flow:row nowrap;align-items:stretch;margin:0;padding:0}.arcgis-search__submit-button{position:absolute;margin:-1px;border-width:0;padding:0;width:1px;height:1px;overflow:hidden;white-space:nowrap;clip:rect(0,0,0,0)}}`,N=R(T),p=class extends S{constructor(){super(...arguments),this.viewModel=N(this),this._currentLocationValue="search-use-current-location",this._autocompleteEl=void 0,this._searchResultRendererContainerEl=document.createElement("div"),this._searchResultRendererEl=void 0,this._suggestController=void 0,this._searchController=void 0,this._lastSearchTerm="",this.messages=C({}),this._setSearchResultRendererRef=e=>{this._searchResultRendererEl=e},this._locateFailed=!1,this._showNoResults=!1,this.position="top-left",this.goToOverride=this.viewModel.goToOverride,this.icon="search",this.activeMenu="none",this.activeSourceIndex=this.viewModel.activeSourceIndex,this.allPlaceholder=this.viewModel.allPlaceholder,this.allSources=this.viewModel.allSources,this.autoNavigateDisabled=this.viewModel.autoNavigate,this.autoSelectDisabled=this.viewModel.autoSelect,this.defaultSources=this.viewModel.defaultSources,this.disabled=!1,this.includeDefaultSourcesDisabled=this.viewModel.includeDefaultSources,this.locationDisabled=this.viewModel.locationEnabled,this.maxResults=this.viewModel.maxResults,this.maxSuggestions=this.viewModel.maxSuggestions,this.minSuggestCharacters=this.viewModel.minSuggestCharacters,this.popupDisabled=this.viewModel.popupEnabled,this.popupTemplate=this.viewModel.popupTemplate,this.portal=this.viewModel.portal,this.resultGraphic=this.viewModel.resultGraphic,this.resultGraphicDisabled=this.viewModel.resultGraphicEnabled,this.results=this.viewModel.results,this.searchAllDisabled=this.viewModel.searchAllEnabled,this.searchTerm=this.viewModel.searchTerm,this.selectedResult=this.viewModel.selectedResult,this.sources=this.viewModel.sources,this.suggestions=this.viewModel.suggestions,this.suggestionsDisabled=this.viewModel.suggestionsEnabled,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=$()("state"),this.arcgisReady=v(),this.arcgisSearchClear=l(()=>this.viewModel,"search-clear"),this.arcgisSearchComplete=l(()=>this.viewModel,"search-complete"),this.arcgisSearchStart=l(()=>this.viewModel,"search-start"),this.arcgisSelectResult=l(()=>this.viewModel,"select-result"),this.arcgisSuggestComplete=l(()=>this.viewModel,"suggest-complete"),this.arcgisSuggestStart=l(()=>this.viewModel,"suggest-start")}static{this.properties={_locateFailed:16,_showNoResults:16,_isDisabled:16,_showCurrentLocation:16,_effectiveActiveMenu:16,referenceElement:1,position:3,goToOverride:0,icon:1,activeMenu:1,activeSource:32,activeSourceIndex:9,allPlaceholder:1,allSources:0,autoNavigateDisabled:5,autoSelectDisabled:5,defaultSources:0,disabled:5,includeDefaultSourcesDisabled:5,locationDisabled:5,maxResults:9,maxSuggestions:9,minSuggestCharacters:9,popupDisabled:5,popupTemplate:0,portal:0,resultGraphic:0,resultGraphicDisabled:5,results:0,searchAllDisabled:5,searchTerm:1,selectedResult:0,sources:0,suggestions:0,suggestionsDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=I}static{this.shadowRootOptions=w}get _isDisabled(){let{state:e}=this.viewModel;return e==="disabled"||e==="loading"||this.disabled}get _showCurrentLocation(){return!this.locationDisabled&&!this.searchTerm?.trim()}get _effectiveActiveMenu(){return this._isDisabled?"none":this.activeMenu}get activeSource(){return this.viewModel?.activeSource}clear(){this._locateFailed=!1,this.viewModel.clear()}async destroy(){await this.manager.destroy(),await this._searchResultRendererEl?.destroy(),this._cancelQueries()}async search(e){this._cancelQueries();let t=new AbortController,{signal:s}=t;this._searchController=t;try{let i=await this.viewModel.search(e,{signal:s});return this._searchController!==t?void 0:(i?.numResults||(this._showNoResults=!0,this.activeMenu="suggestion"),this._searchController=void 0,i)}catch{if(this._searchController!==t)return;this._searchController=void 0;return}}async suggest(e){this._cancelSuggest();let t=new AbortController,{signal:s}=t;this._suggestController=t;try{let i=await this.viewModel.suggest(e,null,{signal:s});return this._suggestController!==t?void 0:(this._suggestController=void 0,i?.numResults&&(this.activeMenu="suggestion",this._scrollToTopSuggestion()),i)}catch{return this._suggestController!==t||(this._suggestController=void 0),null}}async setFocus(){await this._autocompleteEl?.setFocus()}loaded(){this.manager.onLifecycle(()=>E(()=>this.viewModel?.defaultPopupTemplate,e=>{if(e){let t=document.createElement("div");t.appendChild(this._searchResultRendererContainerEl),e.content=t}},{initial:!0}))}_addSearchResultRenderer(){_(o`<arcgis-search-result-renderer auto-destroy-disabled .messages=${this.messages} .viewModel=${this.viewModel} ${d(this._setSearchResultRendererRef)}></arcgis-search-result-renderer>`,this._searchResultRendererContainerEl)}_handleInputKeydown(e){e.key==="Tab"&&this._cancelSuggest()}_handleAutocompleteCreate(e){this._autocompleteEl=e}_handleCalciteAutocompleteTextInput(e){let t=e.target.inputValue;t!==this.viewModel.searchTerm&&(this.viewModel.searchTerm=t,t||this.clear(),this.suggest())}_handleAutocompleteOpen(){this.activeMenu="suggestion"}_handleAutocompleteClose(){this.activeMenu==="suggestion"&&(this.activeMenu="none")}_handleCalciteAutocompleteChange(e){let t=e.target.value;if(t===this._currentLocationValue){this._useCurrentLocation();return}let s=JSON.parse(t),i=this.viewModel.suggestions?.find(({sourceIndex:r})=>r===s.sourceIndex)?.results?.find(({key:r})=>`${r}`==`${s.key}`);i&&this.search(i)}async _useCurrentLocation(){this._cancelQueries();let e=new AbortController,{signal:t}=e;this._searchController=e;try{await this.viewModel.searchNearby({signal:t})}catch(s){A(s)||(this._locateFailed=!0,this.activeMenu="suggestion")}finally{this._searchController=void 0}}_handleSourceOpen(){this.activeMenu="source"}_handleSourceClose(){this.activeMenu==="source"&&(this.activeMenu="none")}_handleSourceSelect(e){let t=e.target.selectedItems[0].getAttribute("data-source-index");t&&(this.viewModel.activeSourceIndex=Number.parseInt(t,10))}_cancelSuggest(){this.activeMenu="none",this._locateFailed=!1,this._showNoResults=!1,this._suggestController=g(this._suggestController)}_cancelQueries(){this._cancelSuggest(),this._searchController=g(this._searchController)}_scrollToTopSuggestion(){this._autocompleteEl?.scrollContentTo({top:0})}_formSubmit(e){e.preventDefault(),this.activeMenu="none",this._lastSearchTerm=this.searchTerm,this.searchTerm&&this.search()}_getSourceName(e){let{messages:t}=this,{allSources:s}=this.viewModel,i=s.at(e);return(e===-1?t.all:i?.name||t.untitledSource)||""}render(){return this._addSearchResultRenderer(),o`<div class=${a(M(n.base,x.widget))}><div class=${a(n.container)}>${this._renderSourcesMenu()}${this._renderForm()}</div></div>`}_renderSourcesMenu(){let{messages:e,_isDisabled:t,_effectiveActiveMenu:s}=this,{allSources:i,searchAllEnabled:r}=this.viewModel;return i.length>1?o`<calcite-dropdown class=${a(n.dropdown)} .disabled=${t} .open=${s==="source"} overlay-positioning=fixed @calciteDropdownClose=${this._handleSourceClose} @calciteDropdownOpen=${this._handleSourceOpen} @calciteDropdownSelect=${this._handleSourceSelect}><calcite-button appearance=outline-fill icon-start=caret-down kind=neutral .label=${e.searchIn} slot=trigger></calcite-button><calcite-dropdown-group .groupTitle=${e.searchIn}>${r?this._renderSource(-1):null}${i.map((h,u)=>this._renderSource(u)).toArray()}</calcite-dropdown-group></calcite-dropdown>`:null}_renderUseCurrentLocation(){let{_currentLocationValue:e}=this;return o`<calcite-autocomplete-item .heading=${this.messages.useCurrentLocation??""} icon-start=gps-on .value=${e}></calcite-autocomplete-item>`}_renderAutocomplete(){let{_effectiveActiveMenu:e,messages:t,_isDisabled:s}=this,{maxInputLength:i,placeholder:r,searchTerm:h,state:u}=this.viewModel,y=this.label??t.searchButtonTitle??"";return o`<calcite-autocomplete .autocomplete=${"off"} class=${a(n.autocomplete)} .disabled=${s} .icon=${this.icon||!1} .inputValue=${h} .label=${y} .loading=${u==="searching"} .maxLength=${i} .name=${this.el.id} @keydown=${this._handleInputKeydown} .open=${e==="suggestion"} overlay-positioning=fixed .placeholder=${r} title=${(h?"":r)??b} @calciteAutocompleteChange=${this._handleCalciteAutocompleteChange} @calciteAutocompleteClose=${this._handleAutocompleteClose} @calciteAutocompleteOpen=${this._handleAutocompleteOpen} @calciteAutocompleteTextChange=${this._handleCalciteAutocompleteTextInput} @calciteAutocompleteTextInput=${this._handleCalciteAutocompleteTextInput} ${d(this._handleAutocompleteCreate)}>${this._renderSuggestions()}${this._renderNotices()}</calcite-autocomplete>`}_renderForm(){return o`<form class=${a(n.form)} @submit=${this._formSubmit} role=search>${this._renderAutocomplete()}<button class=${a(n.submitButton)} type=submit>${this.label??this.messages.searchButtonTitle??""}</button></form>`}_renderSuggestGroup(e){return e.results?.map(t=>this._renderSuggestion(t))}_renderSuggestions(){let{suggestions:e}=this.viewModel;return this._showNoResults?null:this._showCurrentLocation?this._renderUseCurrentLocation():e?.map(t=>this._renderSuggestResults(t))}_renderSuggestResults(e){let{allSources:t,activeSourceIndex:s}=this.viewModel,{sourceIndex:i}=e,r=e.results?.length,h=t.length>1&&s===-1,u=this._getSourceName(i);return r&&h?o`<calcite-autocomplete-item-group .heading=${u}>${this._renderSuggestGroup(e)}</calcite-autocomplete-item-group>`:this._renderSuggestGroup(e)}_renderSuggestion({key:e,sourceIndex:t,text:s}){let i={key:e,sourceIndex:t};return o`<calcite-autocomplete-item .heading=${s??this.messages.untitledResult??""} .value=${JSON.stringify(i)}></calcite-autocomplete-item>`}_renderSource(e){let t=this._getSourceName(e);return o`<calcite-dropdown-item data-source-index=${`${e}`} .selected=${e===this.viewModel.activeSourceIndex}>${t}</calcite-dropdown-item>`}_renderNoResultsWarning(e){let{messages:t}=this,s=e?D(t.noResultsFoundForValue??"",{value:`"${e}"`}):t.noResultsFound;return o`<calcite-notice icon=exclamation-mark-triangle kind=warning open slot=content-bottom><div slot=title>${t.noResults}</div><div slot=message>${s}</div></calcite-notice>`}_renderLocateError(){return o`<calcite-notice icon=exclamation-mark-circle kind=danger open slot=content-bottom><div slot=message>${this.messages.locateError}</div></calcite-notice>`}_renderNotices(){return this._locateFailed?this._renderLocateError():this._showNoResults?this._renderNoResultsWarning(this._lastSearchTerm??this.viewModel.searchTerm):null}};f("arcgis-search",p);return p},"widgets/Search/SearchViewModel","core/promiseUtils","intl","core/reactiveUtils",c,e,h)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as x}from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{a as x}from"./M5MC6KCV.js";import{d as y,p as m,q as h,r as v,u as E}from"./LIYBWUHL.js";export default $arcgis.t(([{on:C,watch:w},{createObservable:b,trackAccess:g},{property:F,subclass:R},T])=>{var U=(o,e)=>{let t=y().manager;t.onLoaded(()=>t.onLifecycle(()=>C(o,e,n.emit)));let n=v();return n},V=(o,e)=>r=>P(r,o),u=class extends E{constructor(e,r){super(e),this.Y=new Map,this.A=void 0,this.#o=b();let t=this;t.#e=r,t.Z(),t.setProvisionalExports(k(e,new WeakRef(t),e.M.length-1,t.instance,t.Y),!1),m(e,n=>{if(n){let c=w(()=>e[n],s=>{if(s===t.instance)return;let i=t.instance;t.exports=s,t.instance=s,t.Y.forEach((a,l)=>e.requestUpdate(a,i[l])),t.#t&&i.destroy(),t.#t=!1},{sync:!0});t.onDestroy(c.remove)}},t.exports)}#t;#o;#e;get exports(){return g(this.#o),super.exports}set exports(e){super.exports=e,this.#o.notify()}Z(){let e=this;e.instance="prototype"in e.#e&&"declaredClass"in e.#e.prototype?new e.#e:e.#e(),e.#t=!0}hostConnected(){this.exports=this.instance}hostDestroy(){this.#t&&this.instance.destroy?.()}},P=x(u),k=(o,e,r,t,n)=>new Proxy(t,{get:(c,s)=>{let i=c[s];if(typeof s=="symbol"||n.has(s))return i;let a=o.M[r];return a.A=s,h(o,l=>{if(a.A=void 0,l!==void 0){let p=l.key;n.set(s,p);let d=o.constructor.getPropertyOptions(p),f=s!==p&&p.toLowerCase().includes("disable");A(e,d,s,p,f),d.i===void 0&&O(d,r,s,f)}},i)}}),A=(o,e,r,t,n,c)=>c=w(()=>{let s=o.deref();return s===void 0||s.component.manager.destroyed?c=c.remove():s.exports[r]},(s,i)=>{if(!c)return;o.deref().component?.requestUpdate(t,n?!i:i),e.c=!1},{sync:!0}),O=(o,e,r,t)=>{o.d.get=function(){let n=this.M[e]?.exports[r];return t?!n:n},o.d.set=function(n){let c=this.M[e];c.A!==r&&(c.exports[r]=t?!n:n)}},Z=o=>o.Y,q=(o,e)=>{let r=e.manager.useRefSync(o);r?.hostDestroy(),r?.Z(),r?.hostConnected()};return{a:U,b:V,c:u,d:k,e:Z,f:q}},"core/reactiveUtils","applications/Components/reactiveUtils","core/accessorSupport/decorators","core/Accessor")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as t}from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{a as t}from"./3MN5CNEY.js";import{s as e}from"./LIYBWUHL.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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{e as m,f as c,g as d,h as f,q as C}from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{e as m,f as c,g as d,h as f,q as C}from"./LIYBWUHL.js";var P=t=>(...p)=>{let s=c(),e=new t(...p),o=e.exports;m(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let r=[e.component,...s].reverse();return C(r,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,r=n[s]!==t.exports,a=n[s]!==o,g=o!==t.exports;if(r&&!a&&g&&(n[s]=t.exports),p===t.component){if(e){let i=t.component.manager;a&&i.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&i.W(t,x)}})}t.O=e?void 0:s}let h=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(h?f(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P 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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import d from"./U2P4UYIR.js";import c from"./LTWMCX2W.js";import b from"./EUFDBN6T.js";import{f as n}from"./3MN5CNEY.js";import"./M5MC6KCV.js";import"./45QSEX5O.js";import"./BDD7TC7D.js";import"./XPC36S2N.js";import{J as a,O as o,i as s,s as i,x as e}from"./LIYBWUHL.js";import"./3GKNY7DW.js";export default $arcgis.t(([h,,,r])=>{var c=s`@layer{arcgis-distance-measurement-2d{display:block}}`,p=r(h),t=class extends a{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.snappingOptions=this.widget.snappingOptions,this.state=this.viewModel.state,this.unit=this.widget.unit,this.unitOptions=this.widget.unitOptions,this.arcgisPropertyChange=n()("state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,icon:1,label:1,position:1,referenceElement:1,snappingOptions:0,state:3,unit:1,unitOptions:0}}static{this.shadowRootOptions=e}static{this.styles=c}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,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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import d from"./U2P4UYIR.js";import c from"./LTWMCX2W.js";import b from"./EUFDBN6T.js";import{f as o}from"./3MN5CNEY.js";import"./M5MC6KCV.js";import"./45QSEX5O.js";import"./BDD7TC7D.js";import"./XPC36S2N.js";import{J as a,O as l,i,s as t,x as s}from"./LIYBWUHL.js";import"./3GKNY7DW.js";export default $arcgis.t(([c,,,r])=>{var n=i`@layer{arcgis-scale-range-slider{display:block}}`,h=r(c),e=class extends a{constructor(){super(...arguments),this.widget=h(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.disabled=this.widget.disabled,this.hidePreview=this.widget.visibleElements.preview,this.hideScaleMenusMaxScaleMenu=this.widget.visibleElements.scaleMenus.maxScaleMenu,this.hideScaleMenusMinScaleMenu=this.widget.visibleElements.scaleMenus.minScaleMenu,this.icon=this.widget.icon,this.label=this.widget.label,this.layer=this.widget.layer,this.maxScale=this.widget.maxScale,this.maxScaleLimit=this.widget.maxScaleLimit,this.minScale=this.widget.minScale,this.minScaleLimit=this.widget.minScaleLimit,this.mode=this.widget.mode,this.position="bottom-left",this.region=this.widget.region,this.state=this.viewModel.state,this.arcgisPropertyChange=o()("state","minScale","maxScale"),this.arcgisReady=t()}static{this.properties={autoDestroyDisabled:5,disabled:7,hidePreview:5,hideScaleMenusMaxScaleMenu:5,hideScaleMenusMinScaleMenu:5,icon:1,label:1,layer:0,maxScale:9,maxScaleLimit:9,minScale:9,minScaleLimit:9,mode:1,position:1,referenceElement:1,region:0,state:3}}static{this.shadowRootOptions=s}static{this.styles=n}async destroy(){await this.manager.destroy()}};l("arcgis-scale-range-slider",e);return e},"widgets/ScaleRangeSlider",b,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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as l,b as c}from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{a as l,b as c}from"./JKQV4GVF.js";import{a as i}from"./EVQU57ZX.js";import{a as o}from"./XPC36S2N.js";import{K as n}from"./LIYBWUHL.js";function M({level:a,class:r,children:s,excludeGlobalCss:m}){let e=u(a),f=`h${e}`,t=l(f);return c`<${t} .ariaLevel=${String(e)} class=${n(o(m?r:i.heading,r))} role=heading>${s}</${t}>`}function h(a,r,s){return Math.min(Math.max(a,r),s)}function u(a){return h(Math.ceil(a),1,6)}export{M 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.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import e from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import e from"./ADZCPNDT.js";import{a as u}from"./K2MZBZU4.js";import{a as n}from"./EVQU57ZX.js";import d from"./LTWMCX2W.js";import b from"./EUFDBN6T.js";import{f as v}from"./3MN5CNEY.js";import"./M5MC6KCV.js";import"./45QSEX5O.js";import"./BDD7TC7D.js";import{a as w}from"./XPC36S2N.js";import{J as m,K as a,O as g,i as h,j as i,s as c,x as p}from"./LIYBWUHL.js";import"./3GKNY7DW.js";export default $arcgis.t(([M,,{a:o},f])=>{var T=h`@layer{:root{--panel-min-height--large: 240px;--side-spacing: var(--calcite-spacing-lg);--cap-spacing: var(--calcite-spacing-md)}.arcgis-print{display:flex;position:relative;flex-grow:1;padding:0;min-height:var(--panel-min-height--large)!important;overflow-y:auto}.arcgis-print section[aria-hidden=true]{display:none}.arcgis-print__panel-items--centered{display:flex;align-items:center}.arcgis-print__container{display:flex;flex-direction:column;flex-grow:1}.arcgis-print__header-title{margin:0 auto 0 0;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);font-size:var(--calcite-font-size-0);font-weight:var(--calcite-font-weight-bold)}.arcgis-print__panel--error{color:var(--calcite-color-status-danger)}arcgis-print-template-selector{overflow-y:hidden;display:flex}}`,r="arcgis-print",l={base:r,headerTitle:`${r}__header-title`,panelItemsCentered:`${r}__panel-items--centered`,printWidgetContainer:`${r}__container`,panelError:`${r}__panel--error`},x=f(M),_=s=>{if(!s)return"all";let e=typeof s=="string"?s.split(",").map(t=>t.trim()).filter(t=>t):[s];return!e.length||e.includes("all")?"all":e},d=class extends m{constructor(){super(...arguments),this.messages=u({blocking:!0}),this.viewModel=x(this),this._showTemplates=!1,this.error=this.viewModel.error,this.hideHeader=!1,this.position="top-left",this.icon="print",this.allowedFormats=this.viewModel.allowedFormats,this.allowedLayouts=this.viewModel.allowedLayouts,this.exportedLinks=this.viewModel.exportedLinks,this.extraParameters=this.viewModel.extraParameters,this.headingLevel=3,this.excludeDefaultTemplates=!this.viewModel.includeDefaultTemplates,this.excludeOrganizationTemplates=!1,this.outSpatialReference=this.viewModel.outSpatialReference,this.portal=this.viewModel.portal,this.showPrintAreaEnabled=this.viewModel.showPrintAreaEnabled,this.printServiceUrl=this.viewModel.printServiceUrl,this.templateCustomTextElements=this.viewModel.templateCustomTextElements,this.templateOptions=this.viewModel.templateOptions,this.autoDestroyDisabled=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=v()("state"),this.arcgisReady=c(),this.arcgisComplete=o(()=>this.viewModel,"complete"),this.arcgisSubmit=o(()=>this.viewModel,"submit")}static{this.properties={_showTemplates:16,error:16,hideHeader:5,referenceElement:1,position:3,icon:1,allowedFormats:[1,{type:String,converter:_}],allowedLayouts:[1,{type:String,converter:_}],browseTemplateButtonOnClick:0,allowedFormatsForSaving:1,exportedLinks:0,extraParameters:1,headingLevel:9,excludeDefaultTemplates:5,excludeOrganizationTemplates:5,outSpatialReference:0,portal:0,showPrintAreaEnabled:5,printServiceUrl:1,saveAsButtonCallback:0,templateCustomTextElements:0,templateOptions:0,autoDestroyDisabled:5,messageOverrides:0,label:1,state:3}}static{this.styles=T}static{this.shadowRootOptions=p}async destroy(){await this.manager.destroy(),this.viewModel.destroy()}loaded(){this.manager.onLifecycle(()=>[]),this.viewModel.load();let{height:e,width:t}=this.viewModel.templateOptions;this.viewModel.templateOptions.width=t||800,this.viewModel.templateOptions.height=e||1100}_showTemplateSelector(){this._showTemplates=!0}_hideTemplateSelector(){this._showTemplates=!1}render(){let e={[l.panelItemsCentered]:this.viewModel.state==="initializing"};return i`<div class=${a(w(l.base,n.widget,n.panel,e))}>${this._renderPanel()}</div>`}_renderPanel(){return this.viewModel.state==="initializing"?i`<calcite-loader label=loading scale=m></calcite-loader>`:i`<calcite-flow><calcite-flow-item .selected=${!this._showTemplates}><div class=${a(l.printWidgetContainer)}>${this._renderPanelHeader()}${this._renderPanelContent()}</div></calcite-flow-item><calcite-flow-item .heading=${this.messages.chooseTemplate} .selected=${this._showTemplates} @calciteFlowItemBack=${e=>{e.preventDefault(),this._showTemplates=!1}}><arcgis-print-template-selector .messages=${this.messages} .viewModel=${this.viewModel} .browseTemplateButtonOnClick=${this.browseTemplateButtonOnClick} .hideTemplateSelector=${this._hideTemplateSelector.bind(this)} .excludeOrganizationTemplates=${this.excludeOrganizationTemplates}></arcgis-print-template-selector></calcite-flow-item></calcite-flow>`}_renderPanelHeader(){return this.hideHeader?null:i`<header class=${a(l.headerTitle)}>${this.messages.export}</header>`}_renderPanelContent(){let e=this.viewModel.view,t=e?.type!=="2d";return this.error||t?i`<div class=${a(l.panelError)}>${e?t?this.messages.sceneViewError:this.messages.serviceError:this.messages.noViewError}</div>`:i`<arcgis-print-main-panel .messages=${this.messages} .viewModel=${this.viewModel} .showTemplateSelector=${this._showTemplateSelector.bind(this)} .allowedFormatsForSaving=${this.allowedFormatsForSaving} .saveAsButtonCallback=${this.saveAsButtonCallback}></arcgis-print-main-panel>`}};g("arcgis-print",d);return d},"widgets/Print/PrintViewModel",b,d,e)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import{a as d}from"./
|
|
3
|
+
v4.34.0-next.78 */
|
|
4
|
+
import{a as d}from"./M3ETRDHQ.js";import f from"./U2P4UYIR.js";import c from"./LTWMCX2W.js";import b from"./EUFDBN6T.js";import{f as r}from"./3MN5CNEY.js";import"./M5MC6KCV.js";import"./45QSEX5O.js";import"./BDD7TC7D.js";import"./XPC36S2N.js";import{J as o,O as a,i as e,s as i,x as s}from"./LIYBWUHL.js";import"./3GKNY7DW.js";export default $arcgis.t(([c,,{a:l},h])=>{var n=e`@layer{arcgis-catalog-layer-list{display:block}}`,g=h(c),t=class extends o{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.arcgisClose=d(this),this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.closed=!1,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=r()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,closed:5,collapsed:7,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};a("arcgis-catalog-layer-list",t);return t},"widgets/CatalogLayerList",b,c,f)
|