@arcgis/map-components 4.34.0-next.81 → 4.34.0-next.82
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/{RIZ75NK6.js → 2URWVUJR.js} +2 -2
- package/dist/cdn/{S44FDCAW.js → 3FDQFT7I.js} +2 -2
- package/dist/cdn/{DIE22EGP.js → 3FIQ2YIQ.js} +2 -2
- package/dist/cdn/{PVOYC6A7.js → 3JVXFVQ6.js} +2 -2
- package/dist/cdn/{H6T222RQ.js → 3NCYH3UH.js} +3 -3
- package/dist/cdn/{WPPMO4E7.js → 3NRKDDGR.js} +2 -2
- package/dist/cdn/{NNQ7U5L3.js → 3PQDLGKS.js} +2 -2
- package/dist/cdn/{H5NNP6LB.js → 3UNQLL5E.js} +2 -2
- package/dist/cdn/{IDVVE5ZA.js → 4465NJEC.js} +2 -2
- package/dist/cdn/{F26EBVFT.js → 47S45DYF.js} +2 -2
- package/dist/cdn/{4SUEUVQG.js → 4N2MNI23.js} +2 -2
- package/dist/cdn/{23OCSAG5.js → 4OASSN2D.js} +2 -2
- package/dist/cdn/{RIOMUX5A.js → 5AGLOAFT.js} +2 -2
- package/dist/cdn/{MJ3ACHUI.js → 5CXS2AHI.js} +2 -2
- package/dist/cdn/{K37JPFII.js → 5SC4RQVI.js} +2 -2
- package/dist/cdn/{QLPUS5UA.js → 652MIXNT.js} +2 -2
- package/dist/cdn/{EENHI7AR.js → 65DA4BOI.js} +2 -2
- package/dist/cdn/{E6P7ZG4P.js → 67JIGZ6E.js} +2 -2
- package/dist/cdn/{TZXVMMXS.js → 6BM4GW3D.js} +2 -2
- package/dist/cdn/{BCKW5RQ7.js → 6IKNIWMV.js} +2 -2
- package/dist/cdn/{U2N3WF6Q.js → 6NHPI7V6.js} +2 -2
- package/dist/cdn/{6OFXILIA.js → 6QQG7EC5.js} +2 -2
- package/dist/cdn/{42BUGF4M.js → 6VLL67YV.js} +2 -2
- package/dist/cdn/{QTUI5BY6.js → 7CM6KPA7.js} +2 -2
- package/dist/cdn/{K2K3SVNK.js → 7UG664FM.js} +2 -2
- package/dist/cdn/{XSY7VTZ4.js → 7UHEICMT.js} +2 -2
- package/dist/cdn/{OHE5TOAS.js → 7VTWMQBU.js} +2 -2
- package/dist/cdn/{GMX54YZ4.js → A6M6MUTB.js} +2 -2
- package/dist/cdn/{CLDJS7EU.js → ABRD7FWU.js} +2 -2
- package/dist/cdn/{NOXG5ABY.js → ANCQVLYI.js} +2 -2
- package/dist/cdn/{6LCVNRNT.js → APCE47KL.js} +2 -2
- package/dist/cdn/{AAGRZTV4.js → ATKZANUS.js} +2 -2
- package/dist/cdn/{6C7VAU64.js → B23JERJX.js} +2 -2
- package/dist/cdn/{YN7BBQOM.js → BEZPUIR2.js} +2 -2
- package/dist/cdn/{LJ744YWJ.js → BITKPIL2.js} +2 -2
- package/dist/cdn/{EMSE2U42.js → BQE6JP76.js} +2 -2
- package/dist/cdn/{OBTK7W4L.js → BXZYIKGZ.js} +2 -2
- package/dist/cdn/{H6Z3ZMYK.js → C6MBE4F7.js} +2 -2
- package/dist/cdn/{76YI7KAK.js → CGOXOGU3.js} +2 -2
- package/dist/cdn/{IAXXGMZY.js → CJKNH57C.js} +2 -2
- package/dist/cdn/{XGPA7OC3.js → CR72YKM7.js} +2 -2
- package/dist/cdn/{QDKRGZK5.js → D4VZKYGW.js} +2 -2
- package/dist/cdn/{X7A5HLHM.js → D5Q7OOM5.js} +1 -1
- package/dist/cdn/{FZIU6VYH.js → DGUIJIZS.js} +2 -2
- package/dist/cdn/{CYKLDNBR.js → DLEKJ3DU.js} +2 -2
- package/dist/cdn/{TKCEU6XO.js → DS6PNYKR.js} +2 -2
- package/dist/cdn/{S67MOIPZ.js → EC5TAMY5.js} +2 -2
- package/dist/cdn/{O25RXIMT.js → ECVJEGVM.js} +2 -2
- package/dist/cdn/{SAY5WAD3.js → EHOPL5ZD.js} +2 -2
- package/dist/cdn/{LF55VSRE.js → EJEU5NN5.js} +2 -2
- package/dist/cdn/{VTW77JEL.js → ER4NBIYA.js} +2 -2
- package/dist/cdn/{FOQCH2PX.js → ESN4FTND.js} +1 -1
- package/dist/cdn/{YLQKDJRZ.js → EZ23WDFK.js} +2 -2
- package/dist/cdn/{4JV6Q56A.js → EZK6K3D3.js} +2 -2
- package/dist/cdn/{SZUDGI7B.js → F5QP5G6J.js} +2 -2
- package/dist/cdn/{4SUHKLCU.js → F67LI4GN.js} +2 -2
- package/dist/cdn/{UGOOEZ4B.js → FKJCWEJ7.js} +2 -2
- package/dist/cdn/{5HJVFX5Y.js → FLAGOGDW.js} +2 -2
- package/dist/cdn/{3MSI27QA.js → FMS42Z4O.js} +2 -2
- package/dist/cdn/{DC2YUXBL.js → FPRIAU7Q.js} +2 -2
- package/dist/cdn/{XHGEGY63.js → FVWS6I6M.js} +2 -2
- package/dist/cdn/{5GXEKA65.js → G43B4S4U.js} +2 -2
- package/dist/cdn/{EY4OWI6G.js → G5FJHLHE.js} +2 -2
- package/dist/cdn/{2ZUFKR5G.js → GIYMG2OB.js} +2 -2
- package/dist/cdn/{2PUOSCNR.js → GJQFFSXZ.js} +2 -2
- package/dist/cdn/{QN3A5UFK.js → GP4YQOUE.js} +2 -2
- package/dist/cdn/{3VULUDYF.js → GRQ3ZVF7.js} +2 -2
- package/dist/cdn/{32UR2AXE.js → GTGESCFB.js} +2 -2
- package/dist/cdn/{WWHR666E.js → GZMOB32V.js} +2 -2
- package/dist/cdn/{RTEFQICF.js → HACVGFG2.js} +2 -2
- package/dist/cdn/{RBNDEOYG.js → HF5UHUQT.js} +2 -2
- package/dist/cdn/{YBCFYT23.js → HIEX27Q4.js} +2 -2
- package/dist/cdn/{C3WOXUGQ.js → HJZFXI6X.js} +2 -2
- package/dist/cdn/{2OW6WLXY.js → HQB4MSUC.js} +2 -2
- package/dist/cdn/{WR76T2FN.js → HUGDLIEY.js} +1 -1
- package/dist/cdn/{3J75KYHU.js → HVSXKWRE.js} +2 -2
- package/dist/cdn/{JCS6LRTO.js → IADIBGFP.js} +2 -2
- package/dist/cdn/{BWCIFNCV.js → IAYOYUTR.js} +2 -2
- package/dist/cdn/{Z5SJQMYF.js → IDSMYLU5.js} +2 -2
- package/dist/cdn/{4ZDITJW2.js → IF24FLE4.js} +2 -2
- package/dist/cdn/{2SHE6NVJ.js → IFLHB56F.js} +2 -2
- package/dist/cdn/{G72CJSL6.js → IHNFJSFG.js} +1 -1
- package/dist/cdn/{NDSWSODW.js → IJKUA2GZ.js} +2 -2
- package/dist/cdn/{FPE72S56.js → IQBEGZTS.js} +2 -2
- package/dist/cdn/{YHZF53T3.js → ISNBJPXE.js} +2 -2
- package/dist/cdn/{YQPUPWKL.js → IX5RMGPH.js} +2 -2
- package/dist/cdn/{7GLXNYFB.js → IZYOUSKY.js} +2 -2
- package/dist/cdn/{G4NB3OBK.js → J3AGJMYT.js} +2 -2
- package/dist/cdn/{4UENUWNO.js → KAMPN4Z3.js} +2 -2
- package/dist/cdn/{VTPVQVMN.js → KAPWKWB7.js} +2 -2
- package/dist/cdn/{X6H2X73K.js → KETVONDB.js} +2 -2
- package/dist/cdn/{Y4SXZ2OL.js → KFRSXPOV.js} +2 -2
- package/dist/cdn/{FGEJYS2F.js → KTLRBSZP.js} +2 -2
- package/dist/cdn/{CZXQPSLL.js → KWFMTBGP.js} +2 -2
- package/dist/cdn/{LEHWSDCC.js → LB3FI7TS.js} +2 -2
- package/dist/cdn/{3ISSGQV7.js → LK3FAPLH.js} +2 -2
- package/dist/cdn/{HNAVONOB.js → LWBSM6MB.js} +2 -2
- package/dist/cdn/{FPFHERBB.js → LZJQ2FJM.js} +2 -2
- package/dist/cdn/{5GWWQ6ZF.js → MB53GVU2.js} +2 -2
- package/dist/cdn/{Q5FMRTPX.js → MN7326KW.js} +2 -2
- package/dist/cdn/{SE2RA67A.js → MRAAZ4OB.js} +1 -1
- package/dist/cdn/{44LDHPYD.js → MRLUYOPW.js} +2 -2
- package/dist/cdn/{DRKXTCQX.js → N2CXGCPA.js} +2 -2
- package/dist/cdn/{FWWD7RGQ.js → N6SQRMXN.js} +2 -2
- package/dist/cdn/{BR7YBLQ7.js → NFB557OF.js} +2 -2
- package/dist/cdn/{BBSCFOE6.js → NHAVSW6Y.js} +2 -2
- package/dist/cdn/{NAVN5I7A.js → NHFZTBDW.js} +2 -2
- package/dist/cdn/{5DEKYRIB.js → NJ5AR6K3.js} +2 -2
- package/dist/cdn/{5ZL7G53H.js → NLESRAB6.js} +2 -2
- package/dist/cdn/{HNOFMFUK.js → NMTKV22S.js} +2 -2
- package/dist/cdn/{5WHGPQL6.js → O4N6LC5G.js} +2 -2
- package/dist/cdn/{24EPWR4F.js → OB5VXMVJ.js} +1 -1
- package/dist/cdn/{2H67PIJD.js → ODZRWU6Z.js} +2 -2
- package/dist/cdn/{PLDCG3H6.js → OIPUW4EU.js} +2 -2
- package/dist/cdn/{BK5MOKJA.js → OORCWQML.js} +2 -2
- package/dist/cdn/{CSSECQO6.js → OQ24FE22.js} +2 -2
- package/dist/cdn/{F22YXKVZ.js → OQ2EYQGZ.js} +2 -2
- package/dist/cdn/{BSITATMS.js → OQY3FQP2.js} +2 -2
- package/dist/cdn/{LEO5UHUH.js → OTWO453Z.js} +2 -2
- package/dist/cdn/{MAS5X3MU.js → P5X3V7M7.js} +2 -2
- package/dist/cdn/{VLLLHH6H.js → P6NSSPPA.js} +2 -2
- package/dist/cdn/{NFFUHC5T.js → PCRKOXRG.js} +1 -1
- package/dist/cdn/{HGPPIJ23.js → PPLZMRZF.js} +2 -2
- package/dist/cdn/{CPBVXGWY.js → PUIRZ6BP.js} +2 -2
- package/dist/cdn/{J62DFIJJ.js → Q3KLKSOA.js} +2 -2
- package/dist/cdn/{5CSOLOIZ.js → QC3QMZ45.js} +1 -1
- package/dist/cdn/{PTJOS2WT.js → QGGC2RLR.js} +2 -2
- package/dist/cdn/{CE7R6GRG.js → QINRHM2M.js} +2 -2
- package/dist/cdn/{Q3NKX5DK.js → QKBVWFGB.js} +2 -2
- package/dist/cdn/{Y645YIWB.js → QKHDMOT5.js} +2 -2
- package/dist/cdn/{Y6PN2L2V.js → R4QO4Z55.js} +2 -2
- package/dist/cdn/{IZGGJ67V.js → R7KDBKGP.js} +2 -2
- package/dist/cdn/{FFW44GVX.js → RBSXTNWF.js} +2 -2
- package/dist/cdn/{CQSXNTHT.js → RJ6S4KXT.js} +2 -2
- package/dist/cdn/{X6WZ5FCI.js → RJQ7PMUB.js} +2 -2
- package/dist/cdn/{B7FYCD5M.js → RNL2E4DT.js} +2 -2
- package/dist/cdn/{CZWROVPE.js → ROL5ZOIU.js} +2 -2
- package/dist/cdn/{ROM4VGCT.js → RSD3A2DB.js} +2 -2
- package/dist/cdn/{UY7OFWID.js → RW7PPWNF.js} +2 -2
- package/dist/cdn/{LB6FAZU4.js → RYQR6OXS.js} +2 -2
- package/dist/cdn/{MMADJXSK.js → S6Z23ODH.js} +2 -2
- package/dist/cdn/{V5QCGNEW.js → SAHPTLBN.js} +2 -2
- package/dist/cdn/{5ZKWTFPB.js → SJI32NR2.js} +2 -2
- package/dist/cdn/{7QPHKEGX.js → SS76GCVN.js} +1 -1
- package/dist/cdn/{IPIUF5EE.js → T37MHY3Z.js} +2 -2
- package/dist/cdn/{STJMKAD6.js → T57D5E5T.js} +2 -2
- package/dist/cdn/{NJPA55HA.js → T5QPON4X.js} +2 -2
- package/dist/cdn/{6R7TRBKP.js → TM6U722M.js} +2 -2
- package/dist/cdn/{P66H32HI.js → TPTBCGNX.js} +1 -1
- package/dist/cdn/{CPK6RRC6.js → TVQM2ZLE.js} +2 -2
- package/dist/cdn/{B4ZYJXBP.js → UPZM6OXY.js} +2 -2
- package/dist/cdn/{GDWNYL5B.js → UQKFOXTL.js} +2 -2
- package/dist/cdn/{HDSRL4BN.js → UQOGSTVD.js} +2 -2
- package/dist/cdn/{2F6OH7HE.js → UUUYJQ2Z.js} +2 -2
- package/dist/cdn/{M5SO6PLC.js → UVZX7UV4.js} +2 -2
- package/dist/cdn/{ZJE5JM5Z.js → V3DJFMZK.js} +2 -2
- package/dist/cdn/{HBMFEDVC.js → V4PFZEBE.js} +2 -2
- package/dist/cdn/{KZBZKETJ.js → V6IOOYTG.js} +2 -2
- package/dist/cdn/{AUVLFUJP.js → VABEST6R.js} +2 -2
- package/dist/cdn/{4MLK7BFQ.js → VANL2DSQ.js} +2 -2
- package/dist/cdn/{6DI5SQQL.js → VATCKQYA.js} +2 -2
- package/dist/cdn/{QBLWBZGZ.js → VMQTX4MG.js} +2 -2
- package/dist/cdn/{U4WFE3TW.js → VTJTK2M5.js} +2 -2
- package/dist/cdn/{Q3M37QLC.js → W4KKRYRD.js} +2 -2
- package/dist/cdn/{VN7LBYZD.js → WELGHNCI.js} +1 -1
- package/dist/cdn/{G7X7K2UL.js → WLYI3TAK.js} +2 -2
- package/dist/cdn/{EHNDVK7O.js → WMO3F6VA.js} +2 -2
- package/dist/cdn/{X4GGVQDN.js → WPO52DXH.js} +2 -2
- package/dist/cdn/{QTCH7CHW.js → WRX3EH36.js} +2 -2
- package/dist/cdn/{G6QMUECA.js → WUVHGELP.js} +2 -2
- package/dist/cdn/{JMFDP3N2.js → X4CRG4AE.js} +2 -2
- package/dist/cdn/{A42RIF4H.js → X5L7W2BB.js} +2 -2
- package/dist/cdn/{XC5BMLZU.js → X7QFTRFN.js} +2 -2
- package/dist/cdn/{OIKQKCBV.js → XCMX32YQ.js} +2 -2
- package/dist/cdn/{XIKIHICD.js → XEGVHFYH.js} +2 -2
- package/dist/cdn/{B4L5AWZ3.js → XGD2J4VZ.js} +2 -2
- package/dist/cdn/{ADKRFQZQ.js → XSQPTAW4.js} +2 -2
- package/dist/cdn/{NHIQZMCA.js → XTB22WH6.js} +1 -1
- package/dist/cdn/{4D3BDJBK.js → XVDWM3BV.js} +2 -2
- package/dist/cdn/{DJPDJXB7.js → YV6IBLNY.js} +2 -2
- package/dist/cdn/{IKIVYXDG.js → Z4ZF2ZUS.js} +2 -2
- package/dist/cdn/{YAT472IU.js → Z6KEOCPS.js} +2 -2
- package/dist/cdn/ZJGSQSD4.js +4 -0
- package/dist/cdn/{DP7ABMMD.js → ZNXA5LTP.js} +2 -2
- package/dist/cdn/{GC4J7G4C.js → ZO3FPPNX.js} +2 -2
- package/dist/cdn/{U3S2TCQT.js → ZVHBX5TF.js} +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.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/customElement.js +1 -1
- 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-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/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/docs/api.json +2 -2
- package/dist/docs/docs.json +2 -2
- package/dist/docs/web-types.json +1 -1
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +3 -3
- package/dist/cdn/TR4KWA5R.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 c from"./AAGRZTV4.js";import{a as y}from"./2SHE6NVJ.js";import b from"./CPK6RRC6.js";import a from"./Y645YIWB.js";import"./6LCVNRNT.js";import"./RIOMUX5A.js";import"./CLDJS7EU.js";import"./X7A5HLHM.js";import"./VN7LBYZD.js";import{H as S,I as L,J as _,K as C,O as P,i as w,j as d,o as V,s as f,x as E}from"./NFFUHC5T.js";import"./5CSOLOIZ.js";export default $arcgis.t(([{once:A,watch:R},O,,,N])=>{var T=w`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`,U=N(O),F="map-components:version-management",u=class extends _{constructor(){super(...arguments),this.flowElement=S(),this.messages=y({blocking:!0}),this.viewModel=U(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.arcgisReady=f(),this.arcgisVersioningStateChanged=f()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0}}static{this.styles=T}static{this.shadowRootOptions=E}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){A(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[R(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:t}=this,s=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){s&&this._removeVersionPropertiesFlowItem(i),t&&this._removeVersionListFlowItem(i);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:e}),s&&(s.versionPropertiesElementProps={...s.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:t,viewModel:s,viewModel:{state:n}}=this,o={closable:t,currentUser:s.userLookup.get(e),isVersionAdministrator:s.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let r=V(d`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),a=Array.from(r.parentNode.childNodes).find(c=>c.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(a,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(a,"calciteFlowItemBack",c=>{c.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(a,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(a,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(a,"arcgisAlterVersion",this._handleAlterVersion),a}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:t}=this,{alterVersionParameters:s}=e.detail;await t.alterVersion(s).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:s.versionIdentifier,versioningState:t.versioningStateLookup.get(s.featureServerUrl)}),await this._refreshVersionList(s.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:t}=this,{createVersionParameters:s,switchToVersion:n}=e.detail;t.createVersion(s).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(s.featureServerUrl)}),n&&await this.viewModel.changeVersion(s.featureServerUrl,o.versionIdentifier.name,o.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(s.featureServerUrl)})}),await this._refreshVersionList(s.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:t}=this,{url:s,name:n}=e,o=t.versioningStateLookup.get(s);if(!o)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${F} - no versioning state found for feature service ${s}`);let r=o?.versionInfos.find(h=>h.versionIdentifier.name===n);if(!r)throw i.set(s,!0),new Error(`${F} - version ${n} not found in the versioning state for feature service ${s}`);let a=r.versionIdentifier,c=o?.currentVersionInfo?.versionIdentifier;a.guid!==c?.guid&&t.changeVersion(s,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:t,versionInfo:s}=e.detail,{viewModel:n,flowElement:o}=this;switch(i){case"changeVersion":{n.changeVersion(t,s.versionIdentifier.name,s.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:s.versionIdentifier,versioningState:n.versioningStateLookup.get(t)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(t).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(t,s.versionIdentifier.name,s.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:s.versionIdentifier,versioningState:n.versioningStateLookup.get(t)}),await this._refreshVersionList(t)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(t,s);o.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:t,viewModel:s}=this;if(i){let n=await s.getVersionInfos(e),o=i.getElementsByTagName("arcgis-version-management-service-item");for(let r of o)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:n});t&&(t.versionListElementProps={...t.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:t},initialVersionInfos:s,_isInitialVersionInvalid:n,label:o,messages:r,mode:a,pageSize:c,versionList:h,viewModel:v,viewModel:{loadError:I,state:m}}=this,b=Array.from(v.serviceNameLookup,([l,g])=>({url:l,name:g})),k=m!=="disabled"?b.map(l=>{let g={allowEditing:!e,closable:i,currentUser:v.userLookup.get(l.url),currentVersionIdentifier:v.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:t,heading:o,initialVersionInfos:s,isInitialVersionInvalid:n,isVersionAdministrator:v.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(v.serverVersionLookup.get(l.url)??0)>=11.2,mode:a,pageSize:c,serviceName:l.name,state:m,serviceUrl:l.url,strings:r,versionInfos:v.versioningStateLookup.get(l.url)?.versionInfos??[]};return d`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisFlowItemBack=${()=>{t&&(this._removeVersionListFlowItem(t),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>this.versionList=p.detail}></arcgis-version-management-service-item>`}):void 0,M=m==="disabled"&&I!=null?d`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(I)}</div></calcite-notice>`:void 0,$=this._showInvalidFeatureServiceNotice?d`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return d`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${C(this.mode==="dialog"?"":"component-container-flow")} ${L(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!h}>${$}<calcite-panel class="service-items-panel" .loading=${m==="loading"||m==="executing"}>${k}${M}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};P("arcgis-version-management",u);return u},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",a,b,c)
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import c from"./ATKZANUS.js";import{a as y}from"./IFLHB56F.js";import b from"./TVQM2ZLE.js";import a from"./QKHDMOT5.js";import"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import"./WELGHNCI.js";import{H as S,I as L,J as _,K as C,O as P,i as w,j as d,o as V,s as f,x as E}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([{once:A,watch:R},O,,,N])=>{var T=w`@layer{.arcgis-version-management{.component-container-flow{width:300px}.invalid-initial-version-notice{margin-bottom:1rem}.service-items-panel{z-index:unset!important}calcite-block{margin:0}}}`,U=N(O),F="map-components:version-management",u=class extends _{constructor(){super(...arguments),this.flowElement=S(),this.messages=y({blocking:!0}),this.viewModel=U(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.arcgisReady=f(),this.arcgisVersioningStateChanged=f()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:1,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0}}static{this.styles=T}static{this.shadowRootOptions=E}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(i=>({...i,url:this._removeTrailingSlash(i.url)}))}async destroy(){await this.manager.destroy()}async load(){A(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(e=>{try{this._changeToInitialVersion(e)}catch(i){console.error(i)}})}),this.manager.onLifecycle(()=>[R(()=>this.viewModel.state,e=>{let{flowElement:{value:i},versionList:t}=this,s=i?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(e==="disabled"&&i){s&&this._removeVersionPropertiesFlowItem(i),t&&this._removeVersionListFlowItem(i);return}t&&(t.versionListElementProps={...t.versionListElementProps,executionError:this.viewModel.executionError},t.versionListElementProps={...t.versionListElementProps,state:e}),s&&(s.versionPropertiesElementProps={...s.versionPropertiesElementProps,state:e})})])}disconnectedCallback(){super.disconnectedCallback(),this.versionPropertiesContainer?.remove()}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,i){let{closable:t,viewModel:s,viewModel:{state:n}}=this,o={closable:t,currentUser:s.userLookup.get(e),isVersionAdministrator:s.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:i};this.versionPropertiesContainer=document.createElement("div");let r=V(d`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`,this.versionPropertiesContainer),a=Array.from(r.parentNode.childNodes).find(c=>c.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");return this.listenOn(a,"arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),this.listenOn(a,"calciteFlowItemBack",c=>{c.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),this.listenOn(a,"calciteFlowItemClose",this._handleFlowItemClose),this.listenOn(a,"arcgisCreateVersion",this._handleCreateVersion),this.listenOn(a,"arcgisAlterVersion",this._handleAlterVersion),a}_getLoadError(e){let{messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-view-property":return i.loadErrors.noViewProperty;default:return e}}async _handleAlterVersion(e){let{flowElement:{value:i},viewModel:t}=this,{alterVersionParameters:s}=e.detail;await t.alterVersion(s).then(async n=>{n&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:s.versionIdentifier,versioningState:t.versioningStateLookup.get(s.featureServerUrl)}),await this._refreshVersionList(s.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_handleCreateVersion(e){let{flowElement:{value:i},viewModel:t}=this,{createVersionParameters:s,switchToVersion:n}=e.detail;t.createVersion(s).then(async o=>{o&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(s.featureServerUrl)}),n&&await this.viewModel.changeVersion(s.featureServerUrl,o.versionIdentifier.name,o.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:o.versionIdentifier,versioningState:t.versioningStateLookup.get(s.featureServerUrl)})}),await this._refreshVersionList(s.featureServerUrl)}).finally(()=>{i&&this._removeVersionPropertiesFlowItem(i)})}_changeToInitialVersion(e){let{_isInitialVersionInvalid:i,viewModel:t}=this,{url:s,name:n}=e,o=t.versioningStateLookup.get(s);if(!o)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${F} - no versioning state found for feature service ${s}`);let r=o?.versionInfos.find(h=>h.versionIdentifier.name===n);if(!r)throw i.set(s,!0),new Error(`${F} - version ${n} not found in the versioning state for feature service ${s}`);let a=r.versionIdentifier,c=o?.currentVersionInfo?.versionIdentifier;a.guid!==c?.guid&&t.changeVersion(s,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let i=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(i),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:i,serviceUrl:t,versionInfo:s}=e.detail,{viewModel:n,flowElement:o}=this;switch(i){case"changeVersion":{n.changeVersion(t,s.versionIdentifier.name,s.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:s.versionIdentifier,versioningState:n.versioningStateLookup.get(t)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:n.versioningStateLookup.get(t).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{n.deleteVersion(t,s.versionIdentifier.name,s.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:s.versionIdentifier,versioningState:n.versioningStateLookup.get(t)}),await this._refreshVersionList(t)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(t,s);o.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:i},versionList:t,viewModel:s}=this;if(i){let n=await s.getVersionInfos(e),o=i.getElementsByTagName("arcgis-version-management-service-item");for(let r of o)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:n});t&&(t.versionListElementProps={...t.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:n})}}_removeVersionListFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(i),this.versionList=void 0),i.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(i.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let i of e.childNodes)i.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(i)}render(){let{allowEditingDisabled:e,closable:i,flowElement:{value:t},initialVersionInfos:s,_isInitialVersionInvalid:n,label:o,messages:r,mode:a,pageSize:c,versionList:h,viewModel:v,viewModel:{loadError:I,state:m}}=this,b=Array.from(v.serviceNameLookup,([l,g])=>({url:l,name:g})),k=m!=="disabled"?b.map(l=>{let g={allowEditing:!e,closable:i,currentUser:v.userLookup.get(l.url),currentVersionIdentifier:v.versioningStateLookup.get(l.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:t,heading:o,initialVersionInfos:s,isInitialVersionInvalid:n,isVersionAdministrator:v.versionAdministratorLookup.get(l.url),isVersioningApiAvailable:(v.serverVersionLookup.get(l.url)??0)>=11.2,mode:a,pageSize:c,serviceName:l.name,state:m,serviceUrl:l.url,strings:r,versionInfos:v.versioningStateLookup.get(l.url)?.versionInfos??[]};return d`<arcgis-version-management-service-item .serviceItemElementProps=${g} @arcgisFlowItemBack=${()=>{t&&(this._removeVersionListFlowItem(t),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>this._handleFlowItemClose()} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>this.versionList=p.detail}></arcgis-version-management-service-item>`}):void 0,M=m==="disabled"&&I!=null?d`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(I)}</div></calcite-notice>`:void 0,$=this._showInvalidFeatureServiceNotice?d`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return d`<div class="arcgis-version-management"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${C(this.mode==="dialog"?"":"component-container-flow")} ${L(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${o??void 0} @calciteFlowItemClose=${()=>this._handleFlowItemClose()} .selected=${!h}>${$}<calcite-panel class="service-items-panel" .loading=${m==="loading"||m==="executing"}>${k}${M}</calcite-panel></calcite-flow-item></calcite-flow></div>`}};P("arcgis-version-management",u);return u},"core/reactiveUtils","widgets/VersionManagement/VersionManagementViewModel",a,b,c)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import d from"./ISNBJPXE.js";import c from"./TVQM2ZLE.js";import b from"./QKHDMOT5.js";import{f as a}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import"./WELGHNCI.js";import{J as o,O as r,i as e,s as i,x as s}from"./PCRKOXRG.js";import"./QC3QMZ45.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"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import"./QC3QMZ45.js";var r={firstDayOfWeek:1,_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:"yyyy-MM-dd",_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:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"\u044F\u043D\u0443\u0430\u0440\u0438",February:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",March:"\u043C\u0430\u0440\u0442",April:"\u0430\u043F\u0440\u0438\u043B",May:"\u043C\u0430\u0439",June:"\u044E\u043D\u0438",July:"\u044E\u043B\u0438",August:"\u0430\u0432\u0433\u0443\u0441\u0442",September:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",October:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",November:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",December:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Jan:"\u044F\u043D\u0443\u0430\u0440\u0438",Feb:"\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438",Mar:"\u043C\u0430\u0440\u0442",Apr:"\u0430\u043F\u0440\u0438\u043B","May (short)":"\u043C\u0430\u0439",Jun:"\u044E\u043D\u0438",Jul:"\u044E\u043B\u0438",Aug:"\u0430\u0432\u0433\u0443\u0441\u0442",Sep:"\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438",Oct:"\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438",Nov:"\u043D\u043E\u0435\u043C\u0432\u0440\u0438",Dec:"\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438",Sunday:"\u043D\u0435\u0434\u0435\u043B\u044F",Monday:"\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A",Tuesday:"\u0432\u0442\u043E\u0440\u043D\u0438\u043A",Wednesday:"\u0441\u0440\u044F\u0434\u0430",Thursday:"\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A",Friday:"\u043F\u0435\u0442\u044A\u043A",Saturday:"\u0441\u044A\u0431\u043E\u0442\u0430",Sun:"\u043D\u0434",Mon:"\u043F\u043D",Tues:"\u0432\u0442",Wed:"\u0441\u0440",Thu:"\u0447\u0442",Fri:"\u043F\u0442",Sat:"\u0441\u0431",_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":"\u041E\u0442\u0434\u0430\u043B\u0435\u0447\u0430\u0432\u0430\u043D\u0435",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","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:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","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":"\u041E\u0442 %1 \u0434\u043E %2","From %1":"\u041E\u0442 %1","To %1":"\u0414\u043E %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:""};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"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import"./QC3QMZ45.js";var _={_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:"dC",_era_bc:"aC",A:"a. m.",P:"p. m.",AM:"a. m.",PM:"p. m.","A.M.":"a. m.","P.M.":"p. m.",January:"de gener",February:"de febrer",March:"de mar\xE7",April:"d\u2019abril",May:"de maig",June:"de juny",July:"de juliol",August:"d\u2019agost",September:"de setembre",October:"d\u2019octubre",November:"de novembre",December:"de desembre",Jan:"de gen.",Feb:"de febr.",Mar:"de mar\xE7",Apr:"d\u2019abr.","May(short)":"de maig",Jun:"de juny",Jul:"de jul.",Aug:"d\u2019ag.",Sep:"de set.",Oct:"d\u2019oct.",Nov:"de nov.",Dec:"de des.",Sunday:"diumenge",Monday:"dilluns",Tuesday:"dimarts",Wednesday:"dimecres",Thursday:"dijous",Friday:"divendres",Saturday:"dissabte",Sun:"dg.",Mon:"dl.",Tue:"dt.",Wed:"dc.",Thu:"dj.",Fri:"dv.",Sat:"ds.",_dateOrd:function(d){let e="th";if(d<11||d>13)switch(d%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"Zoom",Play:"Reprodueix",Stop:"Parada",Legend:"Llegenda","Press ENTER to toggle":"",Loading:"S'est\xE0 carregant",Home:"Inici",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:"Imprimeix",Image:"Imatge",Data:"Dades",Print:"Imprimeix","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":"De %1 a %2","From %1":"De %1","To %1":"A %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{_ 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{b as u}from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import{b as u}from"./APCE47KL.js";import{t as h}from"./PCRKOXRG.js";var i=class o{constructor(){this._groups=new Map}destroy(){this.removeAll()}add(r,s){if(Array.isArray(r)){let e=this._getOrCreateGroup(s);for(let t of r)this._isHandle(t)&&e.push(t)}else this._isHandle(r)&&this._getOrCreateGroup(s).push(r);return this}forEach(r,s){if(typeof r=="function")this._groups.forEach(e=>e.forEach(r));else{let e=this._getGroup(r);e&&s&&e.forEach(s)}}has(r){return this._groups.has(this._ensureGroupKey(r))}remove(r){if(typeof r!="string"&&Array.isArray(r)){for(let s of r)this.remove(s);return this}return this.has(r)?(this._removeAllFromGroup(this._getGroup(r)),this._groups.delete(this._ensureGroupKey(r)),this):this}removeAll(){return this._groups.forEach(r=>this._removeAllFromGroup(r)),this._groups.clear(),this}_isHandle(r){return r&&(!!r.remove||r instanceof o)}_getOrCreateGroup(r){if(this.has(r))return this._getGroup(r);let s=[];return this._groups.set(this._ensureGroupKey(r),s),s}_getGroup(r){return this._groups.get(this._ensureGroupKey(r))}_ensureGroupKey(r){return r||"_default_"}_removeAllFromGroup(r){for(let s of r)s instanceof o?s.removeAll():s.remove()}},n=class extends h{constructor(r){super(),this.destroyed=!1,r==="disconnect"?this.onDisconnected(()=>this.removeAllHandles()):this.onDestroy(()=>this.destroy())}addHandles(r,s){if(this.destroyed){let e=Array.isArray(r)?r:[r];for(let t of e)t.remove();return}this._handles??=new i,this._handles.add(r,s)}removeHandles(r){this._handles?.remove(r)}removeAllHandles(){this._handles?.removeAll()}destroy(){this.destroyed=!0,this.removeAllHandles()}hasHandles(r){return this._handles?.has(r)??!1}},l=u(n);export{l as a};
|
|
@@ -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.82 */
|
|
4
|
+
import"./QC3QMZ45.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 - dd. MMM yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - dd. MMM yyyy",_date_day:"dd. MMM",_date_day_full:"dd. MMM yyyy",_date_week:"ww",_date_week_full:"dd. MMM 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:"e.Kr.",_era_bc:"f.Kr.",A:"a",P:"p",AM:"a.m.",PM:"p.m.","A.M.":"a.m.","P.M.":"p.m.",January:"januar",February:"februar",March:"mars",April:"april",May:"mai",June:"juni",July:"juli",August:"august",September:"september",October:"oktober",November:"november",December:"desember",Jan:"jan.",Feb:"feb.",Mar:"mar.",Apr:"apr.","May(short)":"mai",Jun:"jun.",Jul:"jul.",Aug:"aug.",Sep:"sep.",Oct:"okt.",Nov:"nov.",Dec:"des.",Sunday:"s\xF8ndag",Monday:"mandag",Tuesday:"tirsdag",Wednesday:"onsdag",Thursday:"torsdag",Friday:"fredag",Saturday:"l\xF8rdag",Sun:"s\xF8n.",Mon:"man.",Tue:"tir.",Wed:"ons.",Thu:"tor.",Fri:"fre.",Sat:"l\xF8r.",_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":"Zoom",Play:"Spill av",Stop:"Stopp",Legend:"Tegnforklaring","Press ENTER to toggle":"",Loading:"Laster inn",Home:"Hjem",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:"Skriv ut",Image:"Bilde",Data:"Data",Print:"Skriv ut","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":"Fra %1 til %2","From %1":"Fra %1","To %1":"Til %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 E}from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import{a as E}from"./IFLHB56F.js";import{a as r}from"./HUGDLIEY.js";import b from"./QKHDMOT5.js";import{f as g}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import{a as f,c as h}from"./WELGHNCI.js";import{J as u,K as i,M as m,O as d,i as a,j as l,s as o}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([{a:p}])=>{var y=a`arcgis-fullscreen{display:block}`,$={base:"esri-fullscreen"};function v(s){return s.includes("#")||s.includes(".")||s.includes("[")?s:`#${s}`}var c=class extends u{constructor(){super(),this.messages=E(),this.view=p(this),this.position="top-left",this.arcgisPropertyChange=g()("state"),this.arcgisReady=o(),this.listenOn(document,"fullscreenchange",()=>this.fullscreenElement=document.fullscreenElement)}static{this.properties={fullscreenElement:16,element:1,label:1,messageOverrides:0,position:3,referenceElement:1,state:35}}static{this.styles=y}get fullscreenTitle(){let e=this.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}#e;get element(){return this.#e}set element(e){if(typeof e=="string"){let t=v(e),n=h(this.el,t);this.#e=n||void 0}else this.#e=e}get state(){if(!document.fullscreenEnabled)return"unsupported";let e=this._getElement();return e?this.fullscreenElement===e?"active":"ready":"disabled"}connectedCallback(){super.connectedCallback(),this.fullscreenElement=document.fullscreenElement}_getElement(){return this.element??this.view?.container?.parentElement??null}_toggle(){document.fullscreenElement?document.exitFullscreen():this._getElement()?.requestFullscreen()}render(){let{fullscreenTitle:e,state:t}=this,n=t==="unsupported",b=t==="ready"||t==="disabled"||t==="unsupported"?"zoom-out-fixed":"zoom-in-fixed";return l`<div class=${i(f($.base,r.widget))}>${!n&&l`<calcite-button class=${i(r.widgetButton)} .disabled=${t==="disabled"} .iconStart=${b} kind=neutral .label=${e} @click=${this._toggle} title=${e??m}></calcite-button>`||""}</div>`}};d("arcgis-fullscreen",c);return c},b)
|
|
@@ -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.82 */
|
|
4
|
+
import d from"./ISNBJPXE.js";import c from"./TVQM2ZLE.js";import b from"./QKHDMOT5.js";import{f as n}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import"./WELGHNCI.js";import{J as o,O as h,i as s,s as e,x as a}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([c,,{a:t},r])=>{var l=s`@layer{arcgis-value-picker{display:block}}`,p=r(c),i=class extends o{constructor(){super(...arguments),this.widget=p(this),this.autoDestroyDisabled=!1,this.canNext=this.widget.canNext,this.canPlay=this.widget.canPlay,this.canPrevious=this.widget.canPrevious,this.caption=this.widget.caption,this.component=this.widget.component,this.hideNextButton=this.widget.visibleElements.nextButton,this.hidePlayButton=this.widget.visibleElements.playButton,this.hidePreviousButton=this.widget.visibleElements.previousButton,this.icon=this.widget.icon,this.label=this.widget.label,this.layout=this.widget.layout,this.loop=this.widget.loop,this.playRate=this.widget.playRate,this.position="bottom-left",this.values=this.widget.values,this.arcgisAnimate=t(()=>this.widget,"animate"),this.arcgisNext=t(()=>this.widget,"next"),this.arcgisPause=t(()=>this.widget,"pause"),this.arcgisPlay=t(()=>this.widget,"play"),this.arcgisPrevious=t(()=>this.widget,"previous"),this.arcgisPropertyChange=n()("values"),this.arcgisReady=e()}static{this.properties={autoDestroyDisabled:5,canNext:7,canPlay:7,canPrevious:7,caption:1,component:0,hideNextButton:5,hidePlayButton:5,hidePreviousButton:5,icon:1,label:1,layout:1,loop:5,playRate:9,position:1,referenceElement:1,values:0}}static{this.shadowRootOptions=a}static{this.styles=l}async destroy(){await this.manager.destroy()}async next(){this.widget?.next()}async pause(){this.widget?.pause()}async play(){this.widget?.play()}async previous(){this.widget?.previous()}};h("arcgis-value-picker",i);return i},"widgets/ValuePicker",b,c,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 f}from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import{a as f}from"./IFLHB56F.js";import b from"./QKHDMOT5.js";import{f as g}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import{a as e}from"./WELGHNCI.js";import{J as p,K as a,M as r,O as z,i as l,j as u,s as h,x as d}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([{ignoreAbortErrors:b},{when:w},{a:y}])=>{var i={base:"arcgis-zoom",horizontalLayout:"arcgis-zoom--horizontal",button:"esri-widget--button",zoomIn:"arcgis-zoom__zoom-in",zoomOut:"arcgis-zoom__zoom-out"};function x(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=v(t),s=t.constraints?.effectiveMaxScale;return s===0||o>s}function I(t){if(t.type==="3d")return!!t.ready;if(!t?.ready)return!1;let o=v(t),s=t.constraints?.effectiveMinScale;return s===0||o<s}function v(t){let o=t?.animation?.target;return(o&&"then"in o?void 0:o?.scale)??t?.scale??0}var Z=l`@layer{arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap;box-shadow:0 1px 2px #0000004d}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}}`,n=class extends p{constructor(){super(...arguments),this.messages=f({}),this.view=y(this),this.canZoomIn=!1,this.canZoomOut=!1,this.autoDestroyDisabled=!1,this.icon="magnifying-glass-plus",this.layout="vertical",this.position="top-left",this.state="disabled",this.arcgisPropertyChange=g()("state"),this.arcgisReady=h()}static{this.properties={canZoomIn:16,canZoomOut:16,autoDestroyDisabled:5,icon:1,label:1,layout:3,messageOverrides:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=d}static{this.styles=Z}async destroy(){await this.manager.destroy()}async zoomIn(){let{view:o}=this;!this.canZoomIn||!o||(o.type==="2d"?o.mapViewNavigation.zoomIn():b(o.goTo({zoomFactor:2})))}async zoomOut(){let{view:o}=this;!this.canZoomOut||!o||(o.type==="2d"?o.mapViewNavigation.zoomOut():b(o.goTo({zoomFactor:.5})))}loaded(){this.manager.onLifecycle(()=>[w(()=>this.view?.stationary,()=>{this.canZoomIn=x(this.view),this.canZoomOut=I(this.view)},{initial:!0}),w(()=>this.view?.ready?"ready":"disabled",o=>{this.state=o},{sync:!0,initial:!0})])}render(){let o={[i.horizontalLayout]:this.layout==="horizontal"},{canZoomIn:s,canZoomOut:O}=this,{zoomIn:c,zoomOut:m}=this.messages;return u`<div class=${a(e(i.base,o))}><calcite-button class=${a(e(i.button,i.zoomIn))} .disabled=${!s} icon-start=plus kind=neutral .label=${c} @click=${this.zoomIn} title=${c??r}></calcite-button><calcite-button class=${a(e(i.button,i.zoomOut))} .disabled=${!O} icon-start=minus kind=neutral .label=${m} @click=${this.zoomOut} title=${m??r}></calcite-button></div>`}};z("arcgis-zoom",n);return n},"core/promiseUtils","core/reactiveUtils",b)
|
|
@@ -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 M}from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import{a as M}from"./IFLHB56F.js";import"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./WELGHNCI.js";import{A as S,B as _,C as d,D as h,E as k,F as E,G as v,J as U,K as V,O as D,i as w,j as y,m as A,s as L,z as P}from"./PCRKOXRG.js";import"./QC3QMZ45.js";var j=(s,c,n)=>{let u=new Map;for(let e=c;e<=n;e++)u.set(s[e],e);return u},z=S(class extends _{constructor(s){if(super(s),s.type!==P.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,c,n){let u;n===void 0?n=c:c!==void 0&&(u=c);let e=[],i=[],t=0;for(let m of s)e[t]=u?u(m,t):t,i[t]=n(m,t),t++;return{values:i,keys:e}}render(s,c,n){return this.dt(s,c,n).values}update(s,[c,n,u]){let e=E(s),{values:i,keys:t}=this.dt(c,n,u);if(!Array.isArray(e))return this.ut=t,i;let m=this.ut??=[],p=[],g,$,a=0,l=e.length-1,r=0,o=i.length-1;for(;a<=l&&r<=o;)if(e[a]===null)a++;else if(e[l]===null)l--;else if(m[a]===t[r])p[r]=h(e[a],i[r]),a++,r++;else if(m[l]===t[o])p[o]=h(e[l],i[o]),l--,o--;else if(m[a]===t[o])p[o]=h(e[a],i[o]),d(s,p[o+1],e[a]),a++,o--;else if(m[l]===t[r])p[r]=h(e[l],i[r]),d(s,e[a],e[l]),l--,r++;else if(g===void 0&&(g=j(t,r,o),$=j(m,a,l)),g.has(m[a]))if(g.has(m[l])){let f=$.get(t[r]),b=f!==void 0?e[f]:null;if(b===null){let x=d(s,e[a]);h(x,i[r]),p[r]=x}else p[r]=h(b,i[r]),d(s,e[a],b),e[f]=null;r++}else v(e[l]),l--;else v(e[a]),a++;for(;r<=o;){let f=d(s,p[o+1]);h(f,i[r]),p[r++]=f}for(;a<=l;){let f=e[a++];f!==null&&v(f)}return this.ut=t,k(s,p),A}});var H=w`.arcgis-unit-select{width:100%}.arcgis-unit-select__label{--calcite-label-margin-bottom: 0;width:100%}`,I="arcgis-unit-select",O={label:`${I}__label`},C=class extends U{constructor(){super(...arguments),this.messages=M({}),this.options=[],this.arcgisUnitSelectChange=L()}static{this.properties={options:[1,{type:Array}],selectLabel:1,value:0,messageOverrides:0,label:1}}static{this.styles=H}async destroy(){await this.manager.destroy()}render(){let{messages:c,options:n=[],selectLabel:u,value:e,arcgisUnitSelectChange:i}=this;return y`<calcite-label class=${V(O.label)}>${u}<calcite-select .label=${u} @calciteSelectChange=${t=>{i.emit(t.target.value)}}>${z(n,t=>t,t=>y`<calcite-option .selected=${t===e} .value=${t}>${T(t)?c.systems?.[t]:c.units?.[t]?.pluralCapitalized}</calcite-option>`)}</calcite-select></calcite-label>`}};function T(s){return s==="imperial"||s==="metric"}D("arcgis-unit-select",C);export{C as ArcgisUnitSelect};
|
|
@@ -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{b as l,e as u}from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import{b as l,e as u}from"./WELGHNCI.js";var f="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),d=new Set(f),c="en",L={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},$=async(n,o,r="")=>{let e=`${o}/${r}`,t=`${e}${n}.json`;return i[t]??(i[t]=g(n,e)),await i[t]},i={},g=async(n,o)=>{let r=`${o}${n}.json`;try{let e=await fetch(r);if(e.ok)return await e.json()}catch(e){return console.error(e),{}}return n===c?{}:await g(c,o)},b=n=>{let o=u(n,"lang",globalThis.navigator?.language||c);return{lang:o,t9nLocale:p(o)}},p=n=>{let[o,r]=n.split("-"),e=o.toLowerCase(),t=e;return r&&(t=`${e}-${r.toUpperCase()}`),t=L[t]??t,d.has(t)?t:r?p(e):c},z=(n,o,r,e)=>{let t,a=()=>v(n,o(),e).then(s=>{(t?.lang!==s.lang||t.t9nLocale!==s.t9nLocale||t.t9nStrings!==s.t9nStrings)&&r(s),t=s}).catch(console.error);return queueMicrotask(a),l(n,["lang"],a)},v=async(n,o,r=n.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:t}=b(n),a=`${o}/${r}/t9n`,h=r===null?{}:await $(t,a,"messages.");return{lang:e,t9nLocale:t,t9nStrings:h}};export{b as a,z as b};
|
|
@@ -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.82 */
|
|
4
|
+
import d from"./ISNBJPXE.js";import c from"./TVQM2ZLE.js";import b from"./QKHDMOT5.js";import{f as h}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import"./WELGHNCI.js";import{J as a,O as l,i as s,s as i,x as t}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([r,,,o])=>{var d=s`@layer{arcgis-building-explorer{display:block}}`,n=o(r),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideDisciplines=this.widget.visibleElements.disciplines,this.hideLevels=this.widget.visibleElements.levels,this.hidePhases=this.widget.visibleElements.phases,this.icon=this.widget.icon,this.label=this.widget.label,this.layers=this.widget.layers,this.level=this.viewModel.level,this.phase=this.viewModel.phase,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=h()("level","phase","state"),this.arcgisReady=i()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideDisciplines:5,hideLevels:5,hidePhases:5,icon:1,label:1,layers:0,level:0,phase:0,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=t}static{this.styles=d}async destroy(){await this.manager.destroy()}};l("arcgis-building-explorer",e);return e},"widgets/BuildingExplorer",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 x}from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import{a as x}from"./5AGLOAFT.js";import{a as O,b as k}from"./ABRD7FWU.js";import{b as P,e as L}from"./WELGHNCI.js";import{a as f,c as v,d as g,e as y,f as b,r as E,t as C}from"./PCRKOXRG.js";var u=o=>_(void 0,o),X=o=>s=>_(s,o),h=class extends C{constructor(s,t){super(s);let e=this.exports;try{v(this.component);let r=t(this.component,this),n=this.exports!==e;if(f(r)){n||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i),console.error(i)});this.onLoad(async()=>await a)}else(!n||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r),console.error(r)}}catchUpLifecycle(){}},_=x(h);var Y=o=>(...s)=>{let t=b(),e=new o(...s);return y(t.at(-1)),e},Z=o=>u((s,t)=>{let e=globalThis.matchMedia(o),r=()=>{t.exports=e.matches};r(),t.onLifecycle(()=>(e.addEventListener("change",r),()=>e.removeEventListener("change",r)))}),w="ltr",ee=()=>u((o,s)=>{s.exports=w,s.onLifecycle(()=>{let t=()=>{let e=L(o.el,"dir",w);s.exports=e==="rtl"?"rtl":"ltr"};return t(),P(o.el,["dir"],t)})}),te=o=>(s={})=>u((t,e)=>{let r=O(t.el),n={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=t;e.onLifecycle(()=>k(t.el,()=>o("./assets"),({t9nLocale:c,t9nStrings:l,lang:p})=>{let d={...l,_lang:p,_t9nLocale:c,_loading:!1};e.exports=d;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),i(a.messageOverrides)},s.name));let i=c=>{let l=e.exports,p=l._original??l,d=N(p,c);c&&(d._original=p),e.exports=d};return"messageOverrides"in a&&e.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),s.blocking?(e.setProvisionalExports(n,!1),e.ready):n}),N=(o,s)=>{if(!s)return o;let t={...o};return Object.entries(s).forEach(([e,r])=>{typeof r=="object"?t[e]=N(o[e],r):t[e]=r??o[e]}),t},re=o=>D,M="arcgisPropertyChange",D=(...o)=>{let s=g(),t=E(M,void 0,s),e=!0;return s.manager.onUpdated(r=>{if(e||!s.el.isConnected){e=!1;return}for(let n of o)r.has(n)&&t.emit({name:n})}),t};export{X as a,Y as b,Z as c,ee as d,te as e,re as 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 b from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import b from"./TVQM2ZLE.js";import a from"./QKHDMOT5.js";import{a as r}from"./5AGLOAFT.js";export default $arcgis.t(([{watch:a},{b:n},{c:i}])=>{var v=(e,o)=>s=>m(s,e),t=class extends i{#o=void 0;constructor(o,s){super(o,s),new n(this.component)}hostLoad(){this.#o=a(()=>this.component.el.view,o=>{this.instance.view=o,this.instance.map=o?.map},{sync:!0,initial:!0})}hostDestroy(){this.#o?.remove(),super.hostDestroy()}},m=r(t);return v},"core/reactiveUtils",a,b)
|
|
@@ -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.82 */
|
|
4
|
+
import e from"./ATKZANUS.js";import{a as u}from"./IFLHB56F.js";import{a as n}from"./HUGDLIEY.js";import d from"./TVQM2ZLE.js";import b from"./QKHDMOT5.js";import{f as v}from"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import{a as w}from"./WELGHNCI.js";import{J as m,K as a,O as g,i as h,j as i,s as c,x as p}from"./PCRKOXRG.js";import"./QC3QMZ45.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 s}from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import{a as s}from"./ZVHBX5TF.js";import{a as y}from"./HUGDLIEY.js";import{i as v}from"./D5Q7OOM5.js";import{a as f}from"./WELGHNCI.js";import{J as b,K as i,M as l,O as u,P as $,j as r,x as h}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([{watch:I}])=>{function S(e){return e.portalItem?.type==="Web Scene"||e.referenceLayers.some(a=>a.type==="scene")}function L(e){return!!e?.portalItem?.tags?.some(a=>a.toLowerCase()==="beta")}var c=class extends b{constructor(){super(...arguments),this._itemState="loading",this._isActive=!1}static{this.properties={_itemState:16,_isActive:16,disabled:5,item:0,itemIndex:9,viewModel:0,messages:0}}static{this.shadowRootOptions=h}loaded(){this.manager.onLifecycle(()=>[I(()=>this.item.state,a=>{this._itemState=a},{sync:!0}),I(()=>this.viewModel.activeBasemap,a=>{this._isActive=this.item.basemap.id===a?.id,this._isActive&&(v(this)?.focus(),this.el.scrollIntoView({block:"nearest"}))},{initial:!0,sync:!0})])}render(){let{disabled:a,item:t,itemIndex:o,viewModel:n,messages:w}=this;if(!t.basemap)return null;let _=t.basemap.thumbnailUrl||$("assets/basemap-gallery/images/basemap-toggle-64.svg"),p=t.basemap.title,x=t.basemap.portalItem?.snippet,A=t.error?.message||x||p,{activeBasemapIndex:d}=n,m=d===o,B=m||d===-1&&o===0?0:-1,C={[s.selectedItem]:m,[s.itemError]:t.state==="error"},g=`basemapgallery-item-${t.uid}`;return r`<div .ariaChecked=${m} .ariaDisabled=${a} aria-labelledby=${g??l} class=${i(f(s.item,C))} role=radio tabindex=${B??l} title=${A??l} @click=${()=>{t.state==="ready"&&(n.activeBasemap=t.basemap)}}><img alt class=${i(s.itemThumbnail)} src=${_??l}><div class=${i(s.itemContent)}><div class=${i(s.itemTitle)}><span id=${g??l}>${p}</span></div>${S(t.basemap)?M(t.basemap,w):null}</div>${t.state!=="loading"?null:r`<calcite-scrim><span aria-hidden=true class=${i(y.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`}};function M(e,a){return r`<div class=${i(s.itemTagsContainer)}>${D(a)}${L(e)?k(a):null}</div>`}function D(e){return r`<calcite-chip scale=s .label=${e.tag3D}>${e.tag3D}</calcite-chip>`}function k(e){return r`<calcite-chip appearance=outline-fill scale=s .label=${e.tagBeta}>${e.tagBeta}</calcite-chip>`}u("arcgis-basemap-gallery-item",c);return c},"core/reactiveUtils")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
2
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
3
|
-
v4.34.0-next.
|
|
4
|
-
import d from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import d from"./ISNBJPXE.js";import c from"./TVQM2ZLE.js";import b from"./QKHDMOT5.js";import"./APCE47KL.js";import"./5AGLOAFT.js";import"./ABRD7FWU.js";import"./D5Q7OOM5.js";import"./WELGHNCI.js";import{J as a,O as h,i,s as t,x as s}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([d,,{a:o},l])=>{var r=i`@layer{arcgis-daylight{display:block}}`,n=l(d),e=class extends a{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentSeason=this.viewModel.currentSeason,this.dateOrSeason=this.widget.dateOrSeason,this.dayPlaying=this.viewModel.dayPlaying,this.headingLevel=this.widget.headingLevel,this.hideDatePicker=this.widget.visibleElements.datePicker,this.hideHeader=this.widget.visibleElements.header,this.hidePlayButtons=this.widget.visibleElements.playButtons,this.hideShadowsToggle=this.widget.visibleElements.shadowsToggle,this.hideSunLightingToggle=this.widget.visibleElements.sunLightingToggle,this.hideTimezone=this.widget.visibleElements.timezone,this.icon=this.widget.icon,this.label=this.widget.label,this.playSpeedMultiplier=this.widget.playSpeedMultiplier,this.position="bottom-left",this.timeSliderSteps=this.widget.timeSliderSteps,this.yearPlaying=this.viewModel.yearPlaying,this.arcgisReady=t(),this.arcgisUserDateTimeChange=o(()=>this.viewModel,"user-date-time-change")}static{this.properties={autoDestroyDisabled:5,currentSeason:1,dateOrSeason:1,dayPlaying:5,headingLevel:9,hideDatePicker:5,hideHeader:5,hidePlayButtons:5,hideShadowsToggle:5,hideSunLightingToggle:5,hideTimezone:5,icon:1,label:1,playSpeedMultiplier:9,position:1,referenceElement:1,timeSliderSteps:9,yearPlaying:5}}static{this.shadowRootOptions=s}static{this.styles=r}async destroy(){await this.manager.destroy()}};h("arcgis-daylight",e);return e},"widgets/Daylight",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"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import"./QC3QMZ45.js";var a={_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:"n. e.",_era_bc:"p. n. e.",A:"prijepodne",P:"popodne",AM:"AM",PM:"PM","A.M.":"prijepodne","P.M.":"popodne",January:"januar",February:"februar",March:"mart",April:"april",May:"maj",June:"juni",July:"juli",August:"august",September:"septembar",October:"oktobar",November:"novembar",December:"decembar",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"maj",Jun:"jun",Jul:"jul",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedjelja",Monday:"ponedjeljak",Tuesday:"utorak",Wednesday:"srijeda",Thursday:"\u010Detvrtak",Friday:"petak",Saturday:"subota",Sun:"ned",Mon:"pon",Tue:"uto",Wed:"sri",Thu:"\u010Det",Fri:"pet",Sat:"sub",_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":"Pove\u0107aj",Play:"Reproduciraj",Stop:"Zaustavi",Legend:"Legenda","Press ENTER to toggle":"",Loading:"U\u010Ditavanje",Home:"Po\u010Detna",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:"Ispis",Image:"Slika",Data:"Podaci",Print:"Ispis","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":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":""};export{a 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{i}from"./
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import{i}from"./PCRKOXRG.js";var t=i`@layer{arcgis-layer-list{display:block;.arcgis-layer-list{display:flex}.arcgis-layer-list__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item{--calcite-list-item-icon-center: 8.5px}.arcgis-layer-list__item-table-icon,.arcgis-layer-list__item-catalog-icon{margin-inline-end:0}.arcgis-layer-list__item-action-image{flex:0 0 var(--calcite-spacing-xl);background-position:50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);text-align:center;font-size:var(--calcite-font-size)}.arcgis-layer-list__action-menu .arcgis-layer-list__action-group{display:none}.arcgis-layer-list__action-menu[open] .arcgis-layer-list__action-group{display:flex}.arcgis-layer-list__visible-icon{visibility:hidden}.arcgis-layer-list__item--active:hover,.arcgis-layer-list__item--active:focus,.arcgis-layer-list__item--active:focus-within{>.arcgis-layer-list__visible-toggle>.arcgis-layer-list__visible-icon{visibility:visible}}.arcgis-layer-list__status-indicator{visibility:hidden;margin-inline:0;color:transparent}.arcgis-layer-list__publishing{visibility:visible;color:var(--calcite-color-foreground-2);transform-origin:var(--calcite-list-item-icon-center) var(--calcite-list-item-icon-center);animation:arcgis-layer-list__publishing-anim 2s normal infinite}.arcgis-layer-list__updating{visibility:visible;animation:arcgis-layer-list__updating-anim 2s normal infinite}.arcgis-layer-list__connection-status{visibility:visible;margin-inline:calc(var(--calcite-spacing-lg) * .5);width:calc(var(--calcite-spacing-xxxl) * .5);height:calc(var(--calcite-spacing-xxxl) * .5);color:var(--calcite-color-status-danger)}.arcgis-layer-list__connection-status--connected{color:var(--calcite-color-status-success)}.arcgis-layer-list__item-content-bottom{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-layer-list__item-content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md) 0}.arcgis-layer-list__item-message{margin:var(--calcite-spacing-md) var(--calcite-spacing-lg)}@keyframes arcgis-layer-list__updating-anim{0%,40%{color:transparent}50%,80%{color:var(--calcite-color-brand)}to{color:transparent}}@keyframes arcgis-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}}}`;export{t 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{a as N,b as F}from"./XHGEGY63.js";import"./NHIQZMCA.js";import a from"./G72CJSL6.js";import{a as M}from"./32UR2AXE.js";import"./CLDJS7EU.js";import"./VN7LBYZD.js";import{I as f,J as B,K as h,O as V,i as j,j as l,o as O,x as k}from"./NFFUHC5T.js";import"./5CSOLOIZ.js";export default $arcgis.t(([{templateHasKey:K,stripHTML:T},{isRelatableFeatureSupportedLayer:X,findRelatedLayer:Y},{substitute:ee,formatNumber:Z},{watch:w,on:te},W,z,{ignoreAbortErrors:S},re,{g:H}])=>{var ie=j`@layer{arcgis-feature-relationship{display:block}.arcgis-feature-relationship{position:relative}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}}`,se=m=>{let e=[];if(m.formTemplate){let{description:t,title:r}=m.formTemplate;m.fields?.forEach(i=>{let s=r&&K(r,i.name),a=t&&K(t,i.name);(s||a)&&e.push(i.name)})}return e},x=100,v="arcgis-feature",p=`${v}-relationship`,u={base:p,listContainer:`${p}__list`,listItem:`${p}__list-item`,listItemHidden:`${p}__list-item--hidden`,listContainerQuerying:`${p}__list--querying`,featureObserver:`${v}__feature-observer`,stickySpinnerContainer:`${v}__sticky-loading-container`,loadingSpinnerContainer:`${v}__loading-container`},D=class extends B{constructor(){super(...arguments),this._flowItemContainerEl=document.createElement("div"),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await S(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await S(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await S(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=F(this._queryController,x),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,x),this._queryPageDebounced=F(this._queryPageController,x),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{let{flowItems:t}=this;!t||!e||t.push(e)},this._relatedFeatureIntersectionObserverNode=null,this.relatedFeatures=new W,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new W,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,allItemsDescription:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=ie}static{this.shadowRootOptions=k}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=H(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&X(e.parent)?e.parent:e;return Y(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return ee(e?.numberRecords??"",{number:Z(r?i:t)})}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[w(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),w(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),w(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced()),w(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),te(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:o,relationshipKey:_,supportsCacheHint:I}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&_!=null){let{default:q}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:R}=await q({layer:t,sqlWhere:`${n} = '${_}'`,field:t.subtypeField??void 0,signal:r?.signal}),L=R.map(({count:c,value:g})=>{let C=t.subtypes?.find(P=>P.code===g)?.name;return g!=null&&C?{count:c,value:g,name:C}:void 0}).filter(c=>c!=null);this.allCategories=L}return}let{historicMoment:b,gdbVersion:$}=e,A=new z({cacheHint:I,gdbVersion:$,historicMoment:b,relationshipId:o,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),y=await e.queryRelatedFeaturesCount(A,{signal:r?.signal});this.allCategories=void 0,this.featureCount=y[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:o,relatedLayerKeyFields:_,relationshipId:I,showAllEnabled:b,supportsCacheHint:$}=this,{canQuery:A,objectId:y}=this;if(!A||!a||!o||y==null)return[];let q=b?((i-1)*s+r)%r:0,R=b?s:t,L=o.objectIdField,c="subtypeField"in o?o.subtypeField:void 0,g=[...n.map(d=>d.field),...se(o),..._,L,c].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:P,gdbVersion:G}=a,J=new z({orderByFields:C,start:q,num:R,outFields:g,cacheHint:$,historicMoment:P,gdbVersion:G,relationshipId:I,returnGeometry:!1,objectIds:[y],where:this._getRelationshipWhereClause(o)}),E=(await a.queryRelatedFeatures(J,{signal:e?.signal}))[y]?.features||[];return o.type==="subtype-group"&&c?E.forEach(d=>{let U=d.attributes[c],Q=o.findSublayerForSubtypeCode?.(U);d.sourceLayer=Q,d.layer=Q}):E.forEach(d=>{d.sourceLayer=o,d.layer=o}),E}async _selectCategory(e){let{flowItems:t}=this;t&&(this.activeCategory=e,this.showAllEnabled=!0,this._addRelationshipFlowItem())}async _selectRecord(e){let{flowItems:t}=this;t&&O(M(e.graphic,l`<arcgis-feature .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature>`),this._flowItemContainerEl)}_addRelationshipFlowItem(){O(M(this.activeCategory,l`<arcgis-feature-relationship .messages=${this.messages} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} hide-description hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature-relationship>`),this._flowItemContainerEl)}_showAllRecords(){let{flowItems:e}=this;e&&(this.showAllEnabled=!0,this._addRelationshipFlowItem())}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode)}_relatedFeatureIntersectionObserverCreated(e){this._relatedFeatureIntersectionObserverNode=e}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(o=>this._matchesFeature(o,n))||t.add(new re({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(o=>this._matchesFeature(n,o))||t.remove(n)})}render(){let{state:e}=this;return l`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?l`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return l`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return l`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return l`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return l`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=Z(t);return l`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,i=e.title,s=(t&&r?.[t])??"",a=e.state==="loading";return l`<calcite-list-item class=${h(N(u.listItem,{[u.listItemHidden]:a}))} .description=${T(s.toString())} .label=${T(i)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?l`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return l`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return l`<div class=${h(u.featureObserver)} ${f(this._relatedFeatureIntersectionObserverCreated)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return l`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return l`<div class=${h(N(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return l`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};V("arcgis-feature-relationship",D);return D},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
|
|
3
|
+
v4.34.0-next.82 */
|
|
4
|
+
import{a as N,b as F}from"./FVWS6I6M.js";import"./XTB22WH6.js";import a from"./IHNFJSFG.js";import{a as M}from"./GTGESCFB.js";import"./ABRD7FWU.js";import"./WELGHNCI.js";import{I as f,J as B,K as h,O as V,i as j,j as l,o as O,x as k}from"./PCRKOXRG.js";import"./QC3QMZ45.js";export default $arcgis.t(([{templateHasKey:K,stripHTML:T},{isRelatableFeatureSupportedLayer:X,findRelatedLayer:Y},{substitute:ee,formatNumber:Z},{watch:w,on:te},W,z,{ignoreAbortErrors:S},re,{g:H}])=>{var ie=j`@layer{arcgis-feature-relationship{display:block}.arcgis-feature-relationship{position:relative}.arcgis-feature-relationship__list{min-height:var(--calcite-spacing-xxxl)}.arcgis-feature-relationship__list-item--hidden{display:none}.arcgis-feature-relationship__feature-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-feature-relationship__sticky-loading-container{display:flex;position:sticky;bottom:var(--calcite-spacing-sm);align-items:center;justify-content:center;z-index:2;margin:0;padding:0;height:var(--calcite-spacing-xxxl);pointer-events:none}}`,se=m=>{let e=[];if(m.formTemplate){let{description:t,title:r}=m.formTemplate;m.fields?.forEach(i=>{let s=r&&K(r,i.name),a=t&&K(t,i.name);(s||a)&&e.push(i.name)})}return e},x=100,v="arcgis-feature",p=`${v}-relationship`,u={base:p,listContainer:`${p}__list`,listItem:`${p}__list-item`,listItemHidden:`${p}__list-item--hidden`,listContainerQuerying:`${p}__list--querying`,featureObserver:`${v}__feature-observer`,stickySpinnerContainer:`${v}__sticky-loading-container`,loadingSpinnerContainer:`${v}__loading-container`},D=class extends B{constructor(){super(...arguments),this._flowItemContainerEl=document.createElement("div"),this._increaseFeaturePage=()=>{let{state:e,showAllEnabled:t,relatedFeatures:r,featuresPerPage:i,featurePage:s}=this;e==="ready"&&t&&r.length>=i*s&&this.featurePage++},this._relatedFeatureIntersectionObserver=new IntersectionObserver(([e])=>{e?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._featurePage=1,this._cancelQuery=()=>{let{_queryAbortController:e}=this;e&&e.abort(),this._queryAbortController=null},this._cancelQueryFeatureCount=()=>{let{_queryFeatureCountAbortController:e}=this;e&&e.abort(),this._queryFeatureCountAbortController=null},this._cancelQueryPage=()=>{let{_queryPageAbortController:e}=this;e&&e.abort(),this._queryPageAbortController=null},this._queryController=async()=>{this._cancelQuery();let e=new AbortController;this._queryAbortController=e,await S(this._query()),this._queryAbortController===e&&(this._queryAbortController=null)},this._queryFeatureCountController=async()=>{this._loaded=!1,this._cancelQueryFeatureCount();let e=new AbortController;this._queryFeatureCountAbortController=e,await S(this._queryFeatureCount()),this._queryFeatureCountAbortController===e&&(this._queryFeatureCountAbortController=null),this._loaded=!0},this._queryPageController=async()=>{let e=new AbortController;this._queryPageAbortController=e,await S(this._queryPage()),this._queryPageAbortController===e&&(this._queryPageAbortController=null)},this._queryDebounced=F(this._queryController,x),this._queryFeatureCountDebounced=F(this._queryFeatureCountController,x),this._queryPageDebounced=F(this._queryPageController,x),this._query=async()=>{let{_queryAbortController:e,relatedFeatures:t}=this;!this.featureCount||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||(this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,t.destroyAll(),t.addMany(this._sliceFeatures(await this._queryRelatedFeatures({signal:e?.signal}))))},this._addFlowItem=e=>{let{flowItems:t}=this;!t||!e||t.push(e)},this._relatedFeatureIntersectionObserverNode=null,this.relatedFeatures=new W,this._queryAbortController=null,this._queryPageAbortController=null,this._queryFeatureCountAbortController=null,this.featureCount=0,this._loaded=!1,this.relatedFeatureViewModels=new W,this.autoDestroyDisabled=!1,this.featuresPerPage=10,this.flowType="feature-relationship",this.headingLevel=2,this.hideHeading=!1,this.hideDescription=!1,this.showAllEnabled=!1}static{this.properties={allCategories:16,_queryAbortController:16,_queryPageAbortController:16,_queryFeatureCountAbortController:16,featureCount:16,_loaded:16,canLoad:16,canQuery:16,displayShowAllButton:16,displayListItems:16,allItemsDescription:16,categories:16,itemDescriptionFieldName:16,relatedFeatureViewModels:16,state:16,autoDestroyDisabled:5,featurePage:9,featuresPerPage:9,flowItems:0,flowType:1,headingLevel:9,messages:0,heading:1,description:1,values:0,activeCategory:0,hideHeading:5,hideDescription:5,displayCount:9,graphic:0,layer:0,map:0,view:0,spatialReference:0,timeZone:1,orderByFields:0,relationshipId:9,showAllEnabled:5,label:3}}static{this.styles=ie}static{this.shadowRootOptions=k}get orderByFieldsFixedCasing(){let{orderByFields:e,relatedLayer:t}=this;return e&&t?.loaded?e.map(r=>{let i=r.clone();return i.field=H(r.field,t),i}):e??[]}get supportsCacheHint(){return!!this.layer?.capabilities?.queryRelated?.supportsCacheHint}get allCategoriesCount(){return this.allCategories?.length??0}get objectId(){return(this.objectIdField&&this.graphic?.attributes?.[this.objectIdField])??null}get objectIdField(){return this.layer?.objectIdField||null}get relatedLayer(){let{layer:e,map:t,relationship:r}=this;if(!e?.loaded||!t||!r)return null;let i=e.type==="subtype-sublayer"&&e.parent&&X(e.parent)?e.parent:e;return Y(t,i,r)??null}get relatedLayerKeyField(){let{relatedLayer:e,relationshipId:t}=this;return e?.loaded&&t!=null?e.relationships?.find(r=>r.id===t)?.keyField:null}get relatedLayerKeyFields(){let{relatedLayer:e}=this;return e?.loaded?e.relationships?.map(t=>t.keyField).filter(t=>t!=null)??[]:[]}get relationship(){let{relationshipId:e,layer:t}=this;return e!=null&&t?.loaded?t.relationships?.find(({id:r})=>r===e)??null:null}get relationshipKey(){let{relationshipKeyField:e}=this;return(e&&this.graphic?.attributes?.[e])??null}get relationshipKeyField(){return this.relationship?.keyField||null}get canLoad(){return!!this.map&&this.relationshipId!=null&&typeof this.objectId=="number"}get canQuery(){let e=this.layer?.capabilities?.queryRelated;return!!this.relatedLayer&&!!this.relationship&&this.relationshipId!=null&&this.objectId!=null&&!!e?.supportsCount&&e?.supportsPagination}get displayShowAllButton(){let{showAllEnabled:e,featureCount:t,displayCount:r,state:i,allCategoriesCount:s}=this,a=!!s&&(s>r||r===0),n=!!t&&(t>r||r===0);return!e&&i==="ready"&&(a||n)}get displayListItems(){let{relatedFeatures:e,allCategoriesCount:t}=this;return this.displayShowAllButton||!!e.length||!!t}get allItemsDescription(){let{messages:e,featureCount:t,allCategories:r,allCategoriesCount:i}=this;return ee(e?.numberRecords??"",{number:Z(r?i:t)})}get categories(){let{allCategories:e}=this;return this.showAllEnabled?e:e?.slice(0,this.displayCount)??null}get itemDescriptionFieldName(){return this.orderByFieldsFixedCasing[0]?.field||null}get state(){let{_queryAbortController:e,_queryFeatureCountAbortController:t,_queryPageAbortController:r,canQuery:i,_loaded:s,canLoad:a}=this;return t||a&&!s?"loading":e||r?"querying":i?"ready":"disabled"}get featurePage(){return this._featurePage}set featurePage(e){let{featuresPerPage:t,featureCount:r}=this,i=1,s=Math.ceil(r/t)||1;this._featurePage=Math.min(Math.max(e,i),s)}get heading(){let{activeCategory:e}=this;return this._heading??e?.name}set heading(e){this._heading=e}get displayCount(){return this._displayCount??3}set displayCount(e){this._displayCount=Math.min(Math.max(e??3,0),10)}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>[w(()=>[this.displayCount,this.graphic,this.layer,this.layer?.loaded,this.map,this.orderByFields,this.relationshipId,this.featuresPerPage,this.showAllEnabled,this.canQuery,this.featureCount,this.activeCategory],()=>this._queryDebounced(),{initial:!0}),w(()=>[this.featurePage,this.showAllEnabled],()=>this._queryPageDebounced()),w(()=>[this.layer,this.relationshipId,this.objectId,this.canQuery,this.activeCategory],()=>this._queryFeatureCountDebounced()),w(()=>[this.state,this.showAllEnabled,this._relatedFeatureIntersectionObserverNode],()=>this._handleRelatedFeatureObserverChange()),te(()=>this.relatedFeatures,"change",()=>this._setRelatedFeaturesViewModels())]),this.manager.onDestroy(()=>{this.relatedFeatureViewModels.destroyAll(),this.relatedFeatures.destroyAll(),this._cancelQuery(),this._cancelQueryFeatureCount(),this._cancelQueryPage(),this._unobserveRelatedFeatureObserver()})}async _queryFeatureCount(){let{layer:e,relatedLayer:t}=this;await e?.load(),await t?.load();let{_queryFeatureCountAbortController:r,activeCategory:i,canQuery:s,objectId:a,relatedLayerKeyField:n,relationshipId:o,relationshipKey:_,supportsCacheHint:I}=this;if(!s||!e||!t||a==null){this.featureCount=0,this.allCategories=void 0;return}if(t?.type==="subtype-group"&&!i){if(this.featureCount=0,this.relatedFeatureViewModels.destroyAll(),this.featurePage=1,this.relatedFeatures.destroyAll(),n&&_!=null){let{default:q}=await $arcgis.t(m=>m[0],"smartMapping/statistics/uniqueValues"),{uniqueValueInfos:R}=await q({layer:t,sqlWhere:`${n} = '${_}'`,field:t.subtypeField??void 0,signal:r?.signal}),L=R.map(({count:c,value:g})=>{let C=t.subtypes?.find(P=>P.code===g)?.name;return g!=null&&C?{count:c,value:g,name:C}:void 0}).filter(c=>c!=null);this.allCategories=L}return}let{historicMoment:b,gdbVersion:$}=e,A=new z({cacheHint:I,gdbVersion:$,historicMoment:b,relationshipId:o,returnGeometry:!1,objectIds:[a],where:this._getRelationshipWhereClause(t)}),y=await e.queryRelatedFeaturesCount(A,{signal:r?.signal});this.allCategories=void 0,this.featureCount=y[a]||0}_getRelationshipWhereClause(e){let{activeCategory:t}=this,r=e.createQuery(),i="subtypeField"in e?e.subtypeField:void 0,s=t&&i?`${i} = ${t.value}`:void 0,a=r.where;return a&&s?`(${a}) AND (${s})`:a??s}_sliceFeatures(e){let{showAllEnabled:t,displayCount:r}=this;return t?e:r?e.slice(0,r):[]}async _queryPage(){let{relatedFeatures:e,featurePage:t,showAllEnabled:r,_queryPageAbortController:i,featureCount:s}=this;!r||t<2||!s||this.relatedLayer?.type==="subtype-group"&&!this.activeCategory||e.addMany(await this._queryRelatedFeatures({signal:i?.signal}))}async _queryRelatedFeatures(e){let{displayCount:t,featureCount:r,featurePage:i,featuresPerPage:s,layer:a,orderByFieldsFixedCasing:n,relatedLayer:o,relatedLayerKeyFields:_,relationshipId:I,showAllEnabled:b,supportsCacheHint:$}=this,{canQuery:A,objectId:y}=this;if(!A||!a||!o||y==null)return[];let q=b?((i-1)*s+r)%r:0,R=b?s:t,L=o.objectIdField,c="subtypeField"in o?o.subtypeField:void 0,g=[...n.map(d=>d.field),...se(o),..._,L,c].filter(d=>d!=null),C=n.map(d=>`${d.field} ${d.order}`),{historicMoment:P,gdbVersion:G}=a,J=new z({orderByFields:C,start:q,num:R,outFields:g,cacheHint:$,historicMoment:P,gdbVersion:G,relationshipId:I,returnGeometry:!1,objectIds:[y],where:this._getRelationshipWhereClause(o)}),E=(await a.queryRelatedFeatures(J,{signal:e?.signal}))[y]?.features||[];return o.type==="subtype-group"&&c?E.forEach(d=>{let U=d.attributes[c],Q=o.findSublayerForSubtypeCode?.(U);d.sourceLayer=Q,d.layer=Q}):E.forEach(d=>{d.sourceLayer=o,d.layer=o}),E}async _selectCategory(e){let{flowItems:t}=this;t&&(this.activeCategory=e,this.showAllEnabled=!0,this._addRelationshipFlowItem())}async _selectRecord(e){let{flowItems:t}=this;t&&O(M(e.graphic,l`<arcgis-feature .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${e.graphic} .map=${this.map} show-relationship-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature>`),this._flowItemContainerEl)}_addRelationshipFlowItem(){O(M(this.activeCategory,l`<arcgis-feature-relationship .messages=${this.messages} .displayCount=${this.displayCount} .flowItems=${this.flowItems} .flowType=${this.flowType} .graphic=${this.graphic} hide-description hide-heading .layer=${this.layer} .map=${this.map} .orderByFields=${this.orderByFields} .relationshipId=${this.relationshipId} .spatialReference=${this.spatialReference} .values=${this.values} .view=${this.view} ${f(this._addFlowItem)}></arcgis-feature-relationship>`),this._flowItemContainerEl)}_showAllRecords(){let{flowItems:e}=this;e&&(this.showAllEnabled=!0,this._addRelationshipFlowItem())}_handleRelatedFeatureObserverChange(){this._unobserveRelatedFeatureObserver();let{state:e,showAllEnabled:t}=this;this._relatedFeatureIntersectionObserverNode&&e==="ready"&&t&&this._relatedFeatureIntersectionObserver.observe(this._relatedFeatureIntersectionObserverNode)}_relatedFeatureIntersectionObserverCreated(e){this._relatedFeatureIntersectionObserverNode=e}_unobserveRelatedFeatureObserver(){this._relatedFeatureIntersectionObserverNode&&this._relatedFeatureIntersectionObserver.unobserve(this._relatedFeatureIntersectionObserverNode)}_matchesFeature(e,t){let r=e?.graphic?.getObjectId(),i=t?.getObjectId();return r!=null&&i!=null&&r===i}_setRelatedFeaturesViewModels(){let{relatedFeatures:e,relatedFeatureViewModels:t,map:r,view:i,spatialReference:s,timeZone:a}=this;e?.filter(Boolean).forEach(n=>{t.some(o=>this._matchesFeature(o,n))||t.add(new re({abilities:{relationshipContent:!1},map:r,view:i,spatialReference:s,timeZone:a,graphic:n}))}),t.forEach(n=>{e?.find(o=>this._matchesFeature(n,o))||t.remove(n)})}render(){let{state:e}=this;return l`<div class=${h(u.base)}><arcgis-feature-element-info .heading=${this.heading} .headingLevel=${this.headingLevel} .description=${this.description}></arcgis-feature-element-info>${e==="loading"?this._renderLoading():e==="disabled"?this._renderRelationshipNotFound():this._renderRelatedFeatures()}</div>`}_renderStickyLoading(){return this.state==="querying"?l`<div class=${h(u.stickySpinnerContainer)}>${this._renderLoadingIcon()}</div>`:null}_renderLoadingIcon(){return l`<calcite-loader inline label></calcite-loader>`}_renderLoading(){return l`<div class=${h(u.loadingSpinnerContainer)}>${this._renderLoadingIcon()}</div>`}_renderShowAllIconNode(){return l`<calcite-icon icon=list scale=s slot=content-end></calcite-icon>`}_renderChevronIconNode(){return l`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`}_renderCategory(e){let{count:t,name:r}=e,i=Z(t);return l`<calcite-list-item class=${h(u.listItem)} .disabled=${!t} .label=${r} @calciteListItemSelect=${()=>this._selectCategory(e)}><calcite-chip .label=${i} scale=s slot=content-end>${i}</calcite-chip>${this._renderChevronIconNode()}</calcite-list-item>`}_renderRelatedFeature(e){let{itemDescriptionFieldName:t,values:r}=this,i=e.title,s=(t&&r?.[t])??"",a=e.state==="loading";return l`<calcite-list-item class=${h(N(u.listItem,{[u.listItemHidden]:a}))} .description=${T(s.toString())} .label=${T(i)} @calciteListItemSelect=${()=>this._selectRecord(e)}>${this._renderChevronIconNode()}</calcite-list-item>`}_renderShowAllListItem(){return this.displayShowAllButton?l`<calcite-list-item .description=${this.allItemsDescription} .label=${this.messages?.showAll} @calciteListItemSelect=${()=>this._showAllRecords()}>${this._renderShowAllIconNode()}</calcite-list-item>`:null}_renderNoRelatedFeaturesMessage(){return l`<calcite-notice icon=information kind=brand open scale=s width=full><div slot=message>${this.messages?.noRelatedFeatures}</div></calcite-notice>`}_renderFeatureObserver(){return l`<div class=${h(u.featureObserver)} ${f(this._relatedFeatureIntersectionObserverCreated)}></div>`}_renderList(){let{relatedFeatureViewModels:e,categories:t}=this;return l`<calcite-list display-mode=flat .label=${this.messages?.relatedFeaturesList??""}>${t?.map(r=>this._renderCategory(r))??e.toArray().map(r=>this._renderRelatedFeature(r))}${this._renderShowAllListItem()}</calcite-list>`}_renderRelatedFeatures(){let{displayListItems:e}=this,{state:t}=this;return l`<div class=${h(N(u.listContainer,{[u.listContainerQuerying]:t==="querying"}))}>${e?this._renderList():t==="ready"?this._renderNoRelatedFeaturesMessage():null}${this._renderStickyLoading()}${this._renderFeatureObserver()}</div>`}_renderRelationshipNotFound(){return l`<calcite-notice icon=exclamation-mark-triangle kind=danger open scale=s width=full><div slot=message>${this.messages?.relationshipNotFound}</div></calcite-notice>`}};V("arcgis-feature-relationship",D);return D},"applications/Components/stringUtils","applications/Components/featureUtils","intl","core/reactiveUtils","core/Collection","rest/support/RelationshipQuery","core/promiseUtils","widgets/Feature/FeatureViewModel",a)
|