@arcgis/map-components 5.2.0-next.62 → 5.2.0-next.63
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/2CRPXLAY.js +2 -0
- package/dist/cdn/2CUYHI36.js +2 -0
- package/dist/cdn/{7HLWU5PX.js → 2DCEODPQ.js} +1 -1
- package/dist/cdn/{4BFCBXCA.js → 2N34V44S.js} +1 -1
- package/dist/cdn/{5W7XCJ5B.js → 2WLXD7OI.js} +1 -1
- package/dist/cdn/{X2QNONZE.js → 2XFBIC3F.js} +1 -1
- package/dist/cdn/2XJT2TPM.js +2 -0
- package/dist/cdn/35HJTZDP.js +2 -0
- package/dist/cdn/{UI32UC33.js → 36ZK37RS.js} +1 -1
- package/dist/cdn/{QKCBSK73.js → 3EYX5DTH.js} +1 -1
- package/dist/cdn/3H2WSSI4.js +2 -0
- package/dist/cdn/{XQP3UJJB.js → 3K5L7C4B.js} +1 -1
- package/dist/cdn/{6KHHCJ5X.js → 3RQ3RPYE.js} +1 -1
- package/dist/cdn/{XFH2TUXK.js → 3TZJEZDM.js} +1 -1
- package/dist/cdn/{RYXTEZZH.js → 3VRGZ2CJ.js} +1 -1
- package/dist/cdn/{JLO3FL27.js → 3Y4QI3WS.js} +1 -1
- package/dist/cdn/{APOCPBJG.js → 3Y5SDD5P.js} +1 -1
- package/dist/cdn/46OBBNLU.js +2 -0
- package/dist/cdn/{HWDZDKDX.js → 4B63G73N.js} +1 -1
- package/dist/cdn/{RONABERI.js → 4BYHEBLT.js} +1 -1
- package/dist/cdn/{OANCY5SX.js → 4ZPF4DPX.js} +1 -1
- package/dist/cdn/{AC43TA2Y.js → 54O3XEKS.js} +1 -1
- package/dist/cdn/{AX6GSVZL.js → 5AO4WCMO.js} +1 -1
- package/dist/cdn/{3YGZGNIG.js → 5O7NTWBV.js} +1 -1
- package/dist/cdn/{2ZETLPCO.js → 5OBZQUJE.js} +1 -1
- package/dist/cdn/{SWAX3RUB.js → 5OQPKSGX.js} +1 -1
- package/dist/cdn/{HCEP3NVU.js → 6BD3TWBH.js} +1 -1
- package/dist/cdn/{M5BID47D.js → 6GIDI7Z2.js} +1 -1
- package/dist/cdn/{DFLF2GHB.js → 6JYLZLVD.js} +1 -1
- package/dist/cdn/{YQ2OS5PW.js → 6N5H4GYH.js} +1 -1
- package/dist/cdn/{VVLDHLAY.js → 6OVA7KIZ.js} +1 -1
- package/dist/cdn/{HFPQ7CSJ.js → 6UESIAYD.js} +1 -1
- package/dist/cdn/{RLA7OC3V.js → 6W3RHVL6.js} +1 -1
- package/dist/cdn/{CZ35ZBQO.js → 6YLBLUPL.js} +1 -1
- package/dist/cdn/74IVEAEO.js +2 -0
- package/dist/cdn/{M6WSCBQP.js → 7BQONNCF.js} +1 -1
- package/dist/cdn/{2DHPGACO.js → 7GGF4VK3.js} +1 -1
- package/dist/cdn/AACRVMCQ.js +2 -0
- package/dist/cdn/{6NNRGJYB.js → AATMBHJB.js} +1 -1
- package/dist/cdn/{XB7KKTY6.js → ACHF5ALD.js} +1 -1
- package/dist/cdn/{QZLVTEOQ.js → AIUZUNQB.js} +1 -1
- package/dist/cdn/{J2AISQHP.js → ALID7JW4.js} +1 -1
- package/dist/cdn/{7ICJOTUR.js → AM3UJO3A.js} +1 -1
- package/dist/cdn/{OWAKPT2D.js → AOZTFK3U.js} +1 -1
- package/dist/cdn/{GHTQIXMG.js → APBDKO3B.js} +1 -1
- package/dist/cdn/{HFKN54XG.js → AVFYZ2BD.js} +1 -1
- package/dist/cdn/{BU6JMSUW.js → AVHHBQZF.js} +1 -1
- package/dist/cdn/{L7AWHKQN.js → B2EZWEK5.js} +1 -1
- package/dist/cdn/{VPXMBT5B.js → BE273TAF.js} +1 -1
- package/dist/cdn/BEEFONS5.js +2 -0
- package/dist/cdn/{EFUM5T3J.js → BEOMWPHI.js} +1 -1
- package/dist/cdn/{4T4GCBM3.js → BL743E5J.js} +1 -1
- package/dist/cdn/{VFLELQHU.js → BLEHZ6OK.js} +1 -1
- package/dist/cdn/BLKRIIHC.js +2 -0
- package/dist/cdn/{FYNG6CYN.js → BNRS5ISC.js} +1 -1
- package/dist/cdn/{AR56PQPF.js → BOHA6O3E.js} +1 -1
- package/dist/cdn/{YAXMVCUT.js → BOVVMQMM.js} +1 -1
- package/dist/cdn/{R3DTZBMN.js → BSI2WP7F.js} +1 -1
- package/dist/cdn/{CLOJ3UVQ.js → BWECC664.js} +1 -1
- package/dist/cdn/{5N7BVEJM.js → C37ZD43S.js} +1 -1
- package/dist/cdn/{AZFN3LR3.js → C6GVSQON.js} +1 -1
- package/dist/cdn/{ITYCDXB3.js → C7NIEQKO.js} +1 -1
- package/dist/cdn/{KAAQWUI6.js → CE7BKSHD.js} +1 -1
- package/dist/cdn/{I3WV6OM4.js → CL6JXK4J.js} +1 -1
- package/dist/cdn/{2AASXHQF.js → CMNJTTHD.js} +1 -1
- package/dist/cdn/CNA7TDZN.js +2 -0
- package/dist/cdn/COI7ESYH.js +2 -0
- package/dist/cdn/{QU6ARDF6.js → COLRADFQ.js} +1 -1
- package/dist/cdn/{GFG5O7YM.js → COUGJ3JE.js} +1 -1
- package/dist/cdn/{EJ3X446I.js → CPHT7EKR.js} +1 -1
- package/dist/cdn/CRQRQION.js +2 -0
- package/dist/cdn/{AEIJFBBW.js → CSXSF4DA.js} +1 -1
- package/dist/cdn/{Q5ACGCP3.js → DBQPOOGQ.js} +1 -1
- package/dist/cdn/{VZD4UCKC.js → DMDH2HX6.js} +1 -1
- package/dist/cdn/{FTO3BR3P.js → DTB572CE.js} +1 -1
- package/dist/cdn/{P25T7SEL.js → DVDREAS2.js} +1 -1
- package/dist/cdn/{E7MAE44R.js → DYE5BE43.js} +1 -1
- package/dist/cdn/{STU7FJ5Z.js → EBOBXBZK.js} +1 -1
- package/dist/cdn/{A2T36WPR.js → EF7LH4GQ.js} +1 -1
- package/dist/cdn/{447CU6QV.js → EIYWFIVH.js} +1 -1
- package/dist/cdn/{RUI2QLEM.js → EKJMDF7F.js} +1 -1
- package/dist/cdn/EO2XFNMR.js +2 -0
- package/dist/cdn/EOUNEK6M.js +2 -0
- package/dist/cdn/{ZA2AHCVY.js → EVKE3MXB.js} +1 -1
- package/dist/cdn/EYVFMVPE.js +2 -0
- package/dist/cdn/{EHI4E3OA.js → FG4BZ3AS.js} +1 -1
- package/dist/cdn/{2SZEQV37.js → FPBIHRY5.js} +1 -1
- package/dist/cdn/{JUAJIR4N.js → FVNPR5KH.js} +1 -1
- package/dist/cdn/{IYLOUQFV.js → G3BAPTZZ.js} +1 -1
- package/dist/cdn/{2BCD2J5T.js → G5IFQKFE.js} +1 -1
- package/dist/cdn/GBLPYWL2.js +2 -0
- package/dist/cdn/{O6YIIKVP.js → GCPF5PAX.js} +1 -1
- package/dist/cdn/{AGEFGOQ4.js → GKOH4UXJ.js} +1 -1
- package/dist/cdn/GRALXE5Q.js +2 -0
- package/dist/cdn/{GXGBUAE7.js → GRVMJD2H.js} +1 -1
- package/dist/cdn/{KS6PL4CM.js → GTSPZDUD.js} +1 -1
- package/dist/cdn/{RWVY76K4.js → GZUBRPJC.js} +1 -1
- package/dist/cdn/{CAGM7ZNR.js → HEOLO6IC.js} +1 -1
- package/dist/cdn/{XCUAPJNZ.js → HKAQY5N7.js} +1 -1
- package/dist/cdn/{IJIN5G4N.js → HQBA7OPQ.js} +1 -1
- package/dist/cdn/{BPGR7WZ3.js → HRJIMMTW.js} +1 -1
- package/dist/cdn/{ZSLANXPZ.js → HROETYFU.js} +1 -1
- package/dist/cdn/{QMYYA3S6.js → HTTHJG2D.js} +1 -1
- package/dist/cdn/{BF42UPF6.js → HVYQFEOR.js} +1 -1
- package/dist/cdn/{SRTPZO5Z.js → HX5ZGPW4.js} +1 -1
- package/dist/cdn/{OKC5OJJS.js → I25PKHLU.js} +1 -1
- package/dist/cdn/{P5HQL37E.js → IC33XDTT.js} +1 -1
- package/dist/cdn/{CYNVIPKG.js → ID7AG4JH.js} +1 -1
- package/dist/cdn/ILAKSMYE.js +2 -0
- package/dist/cdn/{ISAKFCBN.js → IPS6PJBP.js} +1 -1
- package/dist/cdn/{FCEB7HIL.js → IR3EJA2Q.js} +1 -1
- package/dist/cdn/{CYBCFSSA.js → IYBQ72KJ.js} +1 -1
- package/dist/cdn/JA3PSEUL.js +2 -0
- package/dist/cdn/{TAZWQ7EC.js → JBKFFPLV.js} +1 -1
- package/dist/cdn/{4ZHTGN7K.js → JE3VXBIT.js} +1 -1
- package/dist/cdn/{PPIFGJX4.js → JEYAZUI2.js} +1 -1
- package/dist/cdn/{JDVBEPJQ.js → JHNUTIAE.js} +1 -1
- package/dist/cdn/{UOHCNL3F.js → JJUKCRBV.js} +1 -1
- package/dist/cdn/{JYAIIIMS.js → JP4O5WU5.js} +1 -1
- package/dist/cdn/JRY4Y7OA.js +2 -0
- package/dist/cdn/{TH7SCVOQ.js → JTNXXFZB.js} +1 -1
- package/dist/cdn/{U25QRAQN.js → JUB5EAFV.js} +1 -1
- package/dist/cdn/{ZEHQXP4U.js → KAXVBIZ7.js} +1 -1
- package/dist/cdn/{2FJWRTFE.js → KCLELCOU.js} +1 -1
- package/dist/cdn/{PFPOP2U4.js → KWY2WPOP.js} +1 -1
- package/dist/cdn/L4UVDZFM.js +2 -0
- package/dist/cdn/{U3L7RZL4.js → LEH4MQJ4.js} +1 -1
- package/dist/cdn/{V63SHRQJ.js → LFK5PEIC.js} +1 -1
- package/dist/cdn/LG7BOXTO.js +2 -0
- package/dist/cdn/{OIT4E6K2.js → LH246IIL.js} +1 -1
- package/dist/cdn/{TWMQVARD.js → LIBO3YUY.js} +1 -1
- package/dist/cdn/{SJRSZW3M.js → LXTI5SZB.js} +1 -1
- package/dist/cdn/LYBMSSWT.js +2 -0
- package/dist/cdn/{XUSIBTEV.js → M3DP7XNI.js} +1 -1
- package/dist/cdn/M3E7HDLV.js +2 -0
- package/dist/cdn/{DCNNPWXR.js → M47KXCDY.js} +1 -1
- package/dist/cdn/{HEGMKLJO.js → MAYBKX24.js} +1 -1
- package/dist/cdn/{D3U2ST6B.js → MGVKXR2F.js} +1 -1
- package/dist/cdn/{GY2CXLXB.js → MT2XDN52.js} +1 -1
- package/dist/cdn/{XD4EGOJ3.js → MWAV3XSL.js} +1 -1
- package/dist/cdn/{JL3C3PJK.js → N2H3FZDY.js} +1 -1
- package/dist/cdn/N3DNKKJG.js +2 -0
- package/dist/cdn/{635CQLYS.js → N4AIZK72.js} +1 -1
- package/dist/cdn/{4YOX2SCZ.js → N4PYAXDZ.js} +1 -1
- package/dist/cdn/N5NWRDVD.js +2 -0
- package/dist/cdn/{MBZPYZX2.js → ND64EMQB.js} +1 -1
- package/dist/cdn/{OZTQXCFB.js → NE62OHLY.js} +1 -1
- package/dist/cdn/NEEJOYOU.js +2 -0
- package/dist/cdn/{OXANZYRI.js → NKK2XLSQ.js} +1 -1
- package/dist/cdn/{VN4DKI5B.js → NMQUDSWT.js} +1 -1
- package/dist/cdn/{SRBEW7NV.js → OBWR4UBY.js} +1 -1
- package/dist/cdn/OCXHXWGB.js +2 -0
- package/dist/cdn/{V2N7V36Y.js → OE6LEA2U.js} +1 -1
- package/dist/cdn/{PIRTG67V.js → OGALSAFL.js} +1 -1
- package/dist/cdn/{5YORAY7J.js → OKBDQ3G2.js} +1 -1
- package/dist/cdn/{EIUWI6SJ.js → OPU3AHDF.js} +1 -1
- package/dist/cdn/PCH6Y2RV.js +2 -0
- package/dist/cdn/{OIYQ43VS.js → PG4VOR7W.js} +1 -1
- package/dist/cdn/{A636G66O.js → PHBSNX42.js} +1 -1
- package/dist/cdn/PNZO7PJX.js +2 -0
- package/dist/cdn/{Z2PS3LGI.js → PPP32ZQ6.js} +1 -1
- package/dist/cdn/{XD52OHCM.js → PT7XD6RE.js} +1 -1
- package/dist/cdn/{PUAXDNBG.js → PTHSNQL2.js} +1 -1
- package/dist/cdn/{OFW7MIOM.js → PW62476X.js} +1 -1
- package/dist/cdn/PZLLNFJO.js +2 -0
- package/dist/cdn/{IIPETVIW.js → QBTMCEFA.js} +1 -1
- package/dist/cdn/{XRPUXUOQ.js → QL3M4ZI7.js} +1 -1
- package/dist/cdn/QNQQA4BU.js +2 -0
- package/dist/cdn/{NNBWJV4O.js → QT2LSBKF.js} +1 -1
- package/dist/cdn/{CPVH7W2O.js → R4QRHWKF.js} +1 -1
- package/dist/cdn/{VIAVQT2D.js → R5TL5I6S.js} +1 -1
- package/dist/cdn/{RY3HMV3O.js → R6HFI3H6.js} +1 -1
- package/dist/cdn/{6E7OZHUN.js → R6NLZOD6.js} +1 -1
- package/dist/cdn/{U4S4PHBB.js → RCGWBUTM.js} +1 -1
- package/dist/cdn/{MZBHKC3U.js → RITUH7JT.js} +1 -1
- package/dist/cdn/{M5DTOYQQ.js → RMKRRXJS.js} +1 -1
- package/dist/cdn/RTXRLIYL.js +2 -0
- package/dist/cdn/{JIALAMBB.js → RWDCU2CO.js} +1 -1
- package/dist/cdn/{MBJ27YMN.js → SHNSCLFF.js} +1 -1
- package/dist/cdn/{47SFVJQS.js → T27FCYV7.js} +1 -1
- package/dist/cdn/{ALIKGBJJ.js → THM67RBC.js} +1 -1
- package/dist/cdn/{5AUIH5PW.js → TIHHIJTK.js} +1 -1
- package/dist/cdn/{F35ORGGB.js → TIIFMOFF.js} +1 -1
- package/dist/cdn/{FURSVK7Y.js → TMO4U4HG.js} +1 -1
- package/dist/cdn/{KXUS2Z2Z.js → TWW6WTPJ.js} +1 -1
- package/dist/cdn/{BWKADIQY.js → TYQO3UPC.js} +1 -1
- package/dist/cdn/{LQCHLWS5.js → U7PLIM7D.js} +1 -1
- package/dist/cdn/{ZHW7XZUM.js → UBUAQKOP.js} +1 -1
- package/dist/cdn/{2F546CPM.js → UI2M6TYH.js} +1 -1
- package/dist/cdn/{UAA66BVA.js → V3SICJ32.js} +1 -1
- package/dist/cdn/{MRRTS5P6.js → VAISR7CN.js} +1 -1
- package/dist/cdn/{MZQT7KZP.js → VJMC3CMB.js} +1 -1
- package/dist/cdn/{6BYE6FYG.js → VJNK2ZS5.js} +1 -1
- package/dist/cdn/VV6AUGJZ.js +2 -0
- package/dist/cdn/{E2NYZWXE.js → VVC4QG6F.js} +1 -1
- package/dist/cdn/VVRTT47C.js +2 -0
- package/dist/cdn/{CIC5ZUY7.js → VYS45ONH.js} +1 -1
- package/dist/cdn/{KXLECJE4.js → VZ3LSB3Z.js} +1 -1
- package/dist/cdn/{UXREMHTR.js → WP6ZYNAK.js} +1 -1
- package/dist/cdn/{ND6OMAWU.js → WRRFKLB6.js} +1 -1
- package/dist/cdn/{BPJIXO5J.js → WTEY2GUR.js} +1 -1
- package/dist/cdn/{T2KDO5HD.js → WTNO7O72.js} +1 -1
- package/dist/cdn/{22FLXX55.js → WZWVAXA2.js} +1 -1
- package/dist/cdn/{DMA5N4U3.js → XCDWWNUJ.js} +1 -1
- package/dist/cdn/{J2R2J6UR.js → XEP6CP26.js} +1 -1
- package/dist/cdn/{JNXAPZOG.js → XHT2V7M3.js} +1 -1
- package/dist/cdn/{ZUNHOHIR.js → XYV2ZB6J.js} +1 -1
- package/dist/cdn/{2YCUXNZC.js → Y6AJ3R7J.js} +1 -1
- package/dist/cdn/{JGOVELNR.js → Y6OCHJCV.js} +1 -1
- package/dist/cdn/{YTL7TRUR.js → YB4MKEGG.js} +1 -1
- package/dist/cdn/{SSGPECUS.js → YGC3D43Q.js} +1 -1
- package/dist/cdn/{QTYBVQMT.js → YI4GBTAA.js} +1 -1
- package/dist/cdn/{VQR2HIW2.js → YJ36H7AG.js} +1 -1
- package/dist/cdn/{27DFVIVV.js → YKJYY74T.js} +1 -1
- package/dist/cdn/{55DP6FNP.js → YLDF7U5D.js} +1 -1
- package/dist/cdn/{AX4YVQW5.js → YO6Z5FD4.js} +1 -1
- package/dist/cdn/{YNKKNHTQ.js → YZQG6WS5.js} +1 -1
- package/dist/cdn/{QHILZ2NJ.js → Z63PHR6E.js} +1 -1
- package/dist/cdn/{VFAQKJXX.js → Z7ULZVXI.js} +1 -1
- package/dist/cdn/{KQKQJVFM.js → ZAJLG5HP.js} +1 -1
- package/dist/cdn/{Z6MJ3CFF.js → ZE6S2MJB.js} +1 -1
- package/dist/cdn/ZNQZFSHJ.js +2 -0
- package/dist/cdn/{A4USUD2G.js → ZOP2TIVZ.js} +1 -1
- package/dist/cdn/{KX7Y7MML.js → ZVPFP6UF.js} +1 -1
- package/dist/cdn/assets/version-management/t9n/messages.en.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +14 -0
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +11 -11
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +14 -0
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +31 -31
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +14 -0
- package/dist/components/arcgis-layer-list-next/customElement.js +21 -21
- package/dist/components/arcgis-table-list-next/customElement.d.ts +14 -0
- package/dist/components/arcgis-table-list-next/customElement.js +17 -17
- package/dist/components/arcgis-version-management/customElement.d.ts +114 -94
- package/dist/components/arcgis-version-management/customElement.js +164 -176
- package/dist/components/arcgis-version-management/index.js +3 -4
- package/dist/components/arcgis-version-management-service-item/customElement.js +25 -39
- package/dist/components/arcgis-version-management-service-item/index.js +0 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +43 -70
- package/dist/components/arcgis-version-management-version-list/index.js +5 -6
- package/dist/components/arcgis-version-management-version-list-item/customElement.js +44 -0
- package/dist/components/arcgis-version-management-version-list-item/index.js +5 -0
- package/dist/components/arcgis-version-management-version-properties/customElement.js +80 -70
- package/dist/components/arcgis-version-management-version-properties/index.js +3 -4
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/loader.js +9 -8
- package/dist/types/lumina.d.ts +4 -4
- package/dist/types/preact.d.ts +4 -4
- package/dist/types/react.d.ts +4 -4
- package/dist/types/stencil.d.ts +4 -4
- package/package.json +4 -4
- package/dist/cdn/26W2NMYE.js +0 -2
- package/dist/cdn/3N7DHHCP.js +0 -2
- package/dist/cdn/44SYZMRA.js +0 -2
- package/dist/cdn/4LHBEGTU.js +0 -2
- package/dist/cdn/54FMWJL7.js +0 -2
- package/dist/cdn/5IYDETJ3.js +0 -2
- package/dist/cdn/5JXXMDY6.js +0 -2
- package/dist/cdn/7MH3SB7P.js +0 -2
- package/dist/cdn/A22AUGYH.js +0 -2
- package/dist/cdn/B4IHQKAA.js +0 -2
- package/dist/cdn/BC7EPFWD.js +0 -2
- package/dist/cdn/DJ5IUHJS.js +0 -2
- package/dist/cdn/DZWUKLIN.js +0 -2
- package/dist/cdn/EI6T7BKN.js +0 -2
- package/dist/cdn/EIKXN526.js +0 -2
- package/dist/cdn/HR3OA66U.js +0 -2
- package/dist/cdn/JJFLMGAX.js +0 -2
- package/dist/cdn/JOJQC6AF.js +0 -2
- package/dist/cdn/LB4H4S5X.js +0 -2
- package/dist/cdn/LP6TTSIT.js +0 -2
- package/dist/cdn/MGS4P6UC.js +0 -2
- package/dist/cdn/NEQT2ZY6.js +0 -2
- package/dist/cdn/OPQJE7BZ.js +0 -2
- package/dist/cdn/ORL32J3S.js +0 -2
- package/dist/cdn/RAH7WYLV.js +0 -2
- package/dist/cdn/S3XR7KRN.js +0 -2
- package/dist/cdn/SADIYG5D.js +0 -2
- package/dist/cdn/SSK7OVMF.js +0 -2
- package/dist/cdn/TM6LGP6D.js +0 -2
- package/dist/cdn/U4S4I3VD.js +0 -2
- package/dist/cdn/UU2VWYLI.js +0 -2
- package/dist/cdn/XCIYLNTM.js +0 -2
- package/dist/cdn/XTK3DMAO.js +0 -2
- package/dist/cdn/XWJQBDNW.js +0 -2
- package/dist/cdn/ZKQKAXTB.js +0 -2
- package/dist/cdn/ZV5BQFVT.js +0 -2
|
@@ -1,234 +1,222 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { u as
|
|
9
|
-
import { m as
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
class U extends b {
|
|
2
|
+
import { c as P } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as L, html as h } from "lit";
|
|
4
|
+
import { once as C, watch as U } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
+
import A from "@arcgis/core/versionManagement/VersionManager.js";
|
|
6
|
+
import { LitElement as N, createEvent as V } from "@arcgis/lumina";
|
|
7
|
+
import { rethrowError as M, log as v } from "@arcgis/toolkit/log";
|
|
8
|
+
import { u as T } from "../../chunks/useT9n.js";
|
|
9
|
+
import { m as D } from "../../chunks/useViewModel.js";
|
|
10
|
+
import { l as z } from "../../chunks/async-utils.js";
|
|
11
|
+
const R = L`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}calcite-notice{background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm)}`, B = D(A);
|
|
12
|
+
class q extends N {
|
|
14
13
|
constructor() {
|
|
15
|
-
super(...arguments), this.
|
|
14
|
+
super(...arguments), this._messages = T({ blocking: !0 }), this.#t = [], this.#r = [], this.#s = [], this.#e = B(this), this._currentPage = 1, this._filterText = "", this._isInitialFeatureServiceInvalid = !1, this._mode = "browse-services", this.allowEditingDisabled = !1, this.autoDestroyDisabled = !1, this.closable = !1, this.pageSize = 5, this.state = this.#e.state, this.versioningStates = this.#e.versioningStates, this.view = this.#e.view, this.arcgisReady = V(), this.arcgisVersioningStateChanged = V();
|
|
16
15
|
}
|
|
17
16
|
static {
|
|
18
|
-
this.properties = {
|
|
17
|
+
this.properties = { _currentPage: 16, _editVersionInfo: 16, _filterText: 16, _isInitialFeatureServiceInvalid: 16, _loadError: 16, _mode: 16, _selectedFeatureService: 16, allowEditingDisabled: 5, autoDestroyDisabled: 5, closable: 7, icon: 1, initialVersionInfos: 0, label: 1, messageOverrides: 0, mode: 1, pageSize: 9, referenceElement: 1, state: 32, versioningStates: 0, view: 0 };
|
|
19
18
|
}
|
|
20
19
|
static {
|
|
21
|
-
this.styles =
|
|
20
|
+
this.styles = R;
|
|
22
21
|
}
|
|
22
|
+
#t;
|
|
23
|
+
#r;
|
|
24
|
+
#s;
|
|
25
|
+
#e;
|
|
23
26
|
get initialVersionInfos() {
|
|
24
|
-
return this
|
|
27
|
+
return this.#t;
|
|
25
28
|
}
|
|
26
29
|
set initialVersionInfos(e) {
|
|
27
|
-
this
|
|
30
|
+
this.#t = e.map((i) => ({
|
|
28
31
|
...i,
|
|
29
|
-
url: this
|
|
32
|
+
url: this.#b(i.url)
|
|
30
33
|
}));
|
|
31
34
|
}
|
|
32
35
|
async destroy() {
|
|
33
36
|
await this.manager.destroy();
|
|
34
37
|
}
|
|
35
38
|
async load() {
|
|
36
|
-
|
|
37
|
-
this.
|
|
38
|
-
try {
|
|
39
|
-
this._changeToInitialVersion(e);
|
|
40
|
-
} catch (i) {
|
|
41
|
-
A(this)(i);
|
|
42
|
-
}
|
|
43
|
-
});
|
|
39
|
+
C(() => this.#e.state === "failed" || this.#e.state === "ready").then(() => {
|
|
40
|
+
this._loadError || (this.#S(), this._loadError || this.#l());
|
|
44
41
|
}), this.manager.onLifecycle(() => [
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
if (e === "disabled" && i) {
|
|
48
|
-
t && this._removeVersionPropertiesFlowItem(i), r && this._removeVersionListFlowItem(i);
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
r && (r.versionListElementProps = {
|
|
52
|
-
...r.versionListElementProps,
|
|
53
|
-
executionError: this.viewModel.executionError
|
|
54
|
-
}, r.versionListElementProps = { ...r.versionListElementProps, state: e }), t && (t.versionPropertiesElementProps = {
|
|
55
|
-
...t.versionPropertiesElementProps,
|
|
56
|
-
state: e
|
|
57
|
-
});
|
|
42
|
+
U(() => this.view?.map, () => {
|
|
43
|
+
this.#$();
|
|
58
44
|
})
|
|
59
45
|
]);
|
|
60
46
|
}
|
|
61
|
-
|
|
62
|
-
|
|
47
|
+
#l() {
|
|
48
|
+
this.initialVersionInfos.forEach((e) => {
|
|
49
|
+
try {
|
|
50
|
+
this.#c(e);
|
|
51
|
+
} catch (i) {
|
|
52
|
+
M(this)(i);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
63
55
|
}
|
|
64
|
-
|
|
65
|
-
|
|
56
|
+
#c(e) {
|
|
57
|
+
const { url: i, name: a } = e, r = this.#e.versioningStateLookup.get(i);
|
|
58
|
+
if (!r) {
|
|
59
|
+
this._isInitialFeatureServiceInvalid = !0, v("error", this, `No versioning state found for feature service ${i}`);
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
const t = r?.versionInfos.find((c) => c.versionIdentifier.name.toUpperCase() === a.toUpperCase());
|
|
63
|
+
if (!t) {
|
|
64
|
+
this.#r.push(i), this.requestUpdate(), v("error", this, `Version ${a} not found in the versioning state for feature service ${i}`);
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
const s = t.versionIdentifier, l = r?.currentVersionInfo?.versionIdentifier;
|
|
68
|
+
s.guid !== l?.guid && this.#e.changeVersion(i, s.name, s.guid);
|
|
66
69
|
}
|
|
67
|
-
|
|
68
|
-
const {
|
|
69
|
-
closable: r,
|
|
70
|
-
currentUser: t.userLookup.get(e),
|
|
71
|
-
isVersionAdministrator: t.versionAdministratorLookup.get(e),
|
|
72
|
-
serviceUrl: e,
|
|
73
|
-
state: n,
|
|
74
|
-
strings: this.messages,
|
|
75
|
-
versionInfo: i
|
|
76
|
-
};
|
|
77
|
-
this.versionPropertiesContainer = document.createElement("div");
|
|
78
|
-
const s = C(v`<arcgis-version-management-version-properties .versionPropertiesElementProps=${o} selected show-back-button></arcgis-version-management-version-properties>`, this.versionPropertiesContainer), a = Array.from(s.parentNode.childNodes).find((c) => c.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES");
|
|
79
|
-
return this.listenOn(a, "arcgisFlowItemBack", () => {
|
|
80
|
-
this._removeVersionPropertiesFlowItem(this.flowElement.value);
|
|
81
|
-
}), this.listenOn(a, "calciteFlowItemBack", (c) => {
|
|
82
|
-
c.preventDefault(), this._removeVersionPropertiesFlowItem(this.flowElement.value), this.versionList && (this.versionList.selected = !0);
|
|
83
|
-
}), this.listenOn(a, "calciteFlowItemClose", this._handleFlowItemClose), this.listenOn(a, "arcgisCreateVersion", this._handleCreateVersion), this.listenOn(a, "arcgisAlterVersion", this._handleAlterVersion), a;
|
|
84
|
-
}
|
|
85
|
-
_getLoadError(e) {
|
|
86
|
-
const { messages: i } = this;
|
|
70
|
+
#a(e) {
|
|
71
|
+
const { _messages: i } = this;
|
|
87
72
|
switch (e) {
|
|
88
73
|
case "no-feature-services":
|
|
89
74
|
return i.loadErrors.noFeatureServices;
|
|
75
|
+
case "no-version-management-service-found":
|
|
76
|
+
return i.loadErrors.noVersionManagementServiceFound;
|
|
90
77
|
case "no-view-property":
|
|
91
78
|
return i.loadErrors.noViewProperty;
|
|
79
|
+
case "webmap-failed-to-load":
|
|
80
|
+
return i.loadErrors.webmapFailedToLoad;
|
|
92
81
|
default:
|
|
93
82
|
return e;
|
|
94
83
|
}
|
|
95
84
|
}
|
|
96
|
-
|
|
97
|
-
const {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
85
|
+
#i(e) {
|
|
86
|
+
const { _messages: i } = this;
|
|
87
|
+
let a = !1, r, t, s;
|
|
88
|
+
switch (e) {
|
|
89
|
+
case "invalid-feature-service":
|
|
90
|
+
a = !0, r = i.loadErrors.invalidInitialFeatureService, t = this.#I, s = i.headers.invalidInitialFeatureService;
|
|
91
|
+
break;
|
|
92
|
+
case "no-version-management-service-found":
|
|
93
|
+
r = this.#a("no-version-management-service-found");
|
|
94
|
+
break;
|
|
95
|
+
case "view-model-load":
|
|
96
|
+
r = this.#a(this.#e.loadError ?? "");
|
|
97
|
+
break;
|
|
98
|
+
case "webmap-load":
|
|
99
|
+
r = this.#a("webmap-failed-to-load");
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
return h`<calcite-notice .closable=${a} icon kind=warning open scale=s width=full @calciteNoticeClose=${t}>${s ? h`<div slot=title>${s}</div>` : void 0}<div slot=message>${r}</div></calcite-notice>`;
|
|
103
|
+
}
|
|
104
|
+
async #d(e) {
|
|
105
|
+
e.stopPropagation();
|
|
106
|
+
const { alterVersionParameters: i } = e.detail;
|
|
107
|
+
await this.#e.alterVersion(i).finally(() => {
|
|
108
|
+
this._mode = "browse-versions";
|
|
109
|
+
}) && this.arcgisVersioningStateChanged.emit({
|
|
110
|
+
type: "version-changed",
|
|
111
|
+
versionIdentifier: i.versionIdentifier,
|
|
112
|
+
versioningState: this.#e.versioningStateLookup.get(i.featureServerUrl)
|
|
106
113
|
});
|
|
107
114
|
}
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
r.createVersion(
|
|
111
|
-
|
|
112
|
-
type: "version-created",
|
|
113
|
-
versionIdentifier: o.versionIdentifier,
|
|
114
|
-
versioningState: r.versioningStateLookup.get(t.featureServerUrl)
|
|
115
|
-
}), n && await this.viewModel.changeVersion(t.featureServerUrl, o.versionIdentifier.name, o.versionIdentifier.guid).then((s) => {
|
|
116
|
-
s && this.arcgisVersioningStateChanged.emit({
|
|
117
|
-
type: "version-switched",
|
|
118
|
-
versionIdentifier: o.versionIdentifier,
|
|
119
|
-
versioningState: r.versioningStateLookup.get(t.featureServerUrl)
|
|
120
|
-
});
|
|
121
|
-
}), await this._refreshVersionList(t.featureServerUrl);
|
|
122
|
-
}).finally(() => {
|
|
123
|
-
i && this._removeVersionPropertiesFlowItem(i);
|
|
115
|
+
async #g(e) {
|
|
116
|
+
e.stopPropagation();
|
|
117
|
+
const { arcgisVersioningStateChanged: i } = this, { createVersionParameters: a, switchToVersion: r } = e.detail, t = await this.#e.createVersion(a).finally(() => {
|
|
118
|
+
this._mode = "browse-versions";
|
|
124
119
|
});
|
|
120
|
+
t && (i.emit({
|
|
121
|
+
type: "version-created",
|
|
122
|
+
versionIdentifier: t.versionIdentifier,
|
|
123
|
+
versioningState: this.#e.versioningStateLookup.get(a.featureServerUrl)
|
|
124
|
+
}), r && await this.#e.changeVersion(a.featureServerUrl, t.versionIdentifier.name, t.versionIdentifier.guid).then((s) => {
|
|
125
|
+
s && i.emit({
|
|
126
|
+
type: "version-switched",
|
|
127
|
+
versionIdentifier: t.versionIdentifier,
|
|
128
|
+
versioningState: this.#e.versioningStateLookup.get(a.featureServerUrl)
|
|
129
|
+
});
|
|
130
|
+
}));
|
|
131
|
+
}
|
|
132
|
+
#h(e) {
|
|
133
|
+
e.stopPropagation(), this._mode = "browse-versions", this._editVersionInfo = void 0;
|
|
134
|
+
}
|
|
135
|
+
async #v(e) {
|
|
136
|
+
e.stopPropagation(), await this.#e.getVersionInfos(e.detail.serviceUrl);
|
|
125
137
|
}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
const a = s.versionIdentifier, c = o?.currentVersionInfo?.versionIdentifier;
|
|
134
|
-
a.guid !== c?.guid && r.changeVersion(t, a.name, a.guid);
|
|
135
|
-
}
|
|
136
|
-
_handleFlowItemClose() {
|
|
137
|
-
const e = document.querySelector("arcgis-version-management");
|
|
138
|
-
e.parentElement?.removeChild(e);
|
|
139
|
-
}
|
|
140
|
-
async _handleNewVersionAction(e) {
|
|
141
|
-
const i = this._createVersionPropertiesFlowItem(e.detail.serviceUrl, void 0);
|
|
142
|
-
this.flowElement.value?.appendChild(i), this.versionList && (this.versionList.selected = !1);
|
|
143
|
-
}
|
|
144
|
-
async _handleManageVersionAction(e) {
|
|
145
|
-
const { actionType: i, serviceUrl: r, versionInfo: t } = e.detail, { viewModel: n, flowElement: o } = this;
|
|
146
|
-
switch (i) {
|
|
138
|
+
#u(e) {
|
|
139
|
+
e.stopPropagation(), this._filterText = e.detail.filterText, this.#n();
|
|
140
|
+
}
|
|
141
|
+
async #o(e) {
|
|
142
|
+
e.stopPropagation();
|
|
143
|
+
const { arcgisVersioningStateChanged: i } = this, { actionType: a, serviceUrl: r, versionInfo: t } = e.detail;
|
|
144
|
+
switch (a) {
|
|
147
145
|
case "changeVersion": {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
versioningState: n.versioningStateLookup.get(r)
|
|
153
|
-
});
|
|
154
|
-
const { versionList: a } = this;
|
|
155
|
-
a && (a.versionListElementProps = {
|
|
156
|
-
...a.versionListElementProps,
|
|
157
|
-
currentVersionIdentifier: n.versioningStateLookup.get(r).currentVersionInfo.versionIdentifier
|
|
158
|
-
});
|
|
146
|
+
await this.#e.changeVersion(r, t.versionIdentifier.name, t.versionIdentifier.guid) && i.emit({
|
|
147
|
+
type: "version-switched",
|
|
148
|
+
versionIdentifier: t.versionIdentifier,
|
|
149
|
+
versioningState: this.#e.versioningStateLookup.get(r)
|
|
159
150
|
});
|
|
160
151
|
break;
|
|
161
152
|
}
|
|
162
153
|
case "deleteVersion": {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
versioningState: n.versioningStateLookup.get(r)
|
|
168
|
-
}), await this._refreshVersionList(r);
|
|
154
|
+
await this.#e.deleteVersion(r, t.versionIdentifier.name, t.versionIdentifier.guid) && i.emit({
|
|
155
|
+
type: "version-deleted",
|
|
156
|
+
versionIdentifier: t.versionIdentifier,
|
|
157
|
+
versioningState: this.#e.versioningStateLookup.get(r)
|
|
169
158
|
});
|
|
170
159
|
break;
|
|
171
160
|
}
|
|
172
161
|
case "editVersion": {
|
|
173
|
-
|
|
174
|
-
o.value?.appendChild(s), this.versionList && (this.versionList.selected = !1);
|
|
162
|
+
this._mode = "edit-version", this._editVersionInfo = { ...e.detail.versionInfo };
|
|
175
163
|
break;
|
|
176
164
|
}
|
|
177
165
|
}
|
|
178
166
|
}
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
167
|
+
#m(e) {
|
|
168
|
+
e.stopPropagation(), this._mode = "create-version";
|
|
169
|
+
}
|
|
170
|
+
#p(e) {
|
|
171
|
+
e.stopPropagation(), this._currentPage = e.detail.currentPage;
|
|
172
|
+
}
|
|
173
|
+
#f(e) {
|
|
174
|
+
e.detail.name === "selectedFeatureService" && (this._selectedFeatureService = e.target.selectedFeatureService, this._mode = "browse-versions", this.#n());
|
|
175
|
+
}
|
|
176
|
+
#I() {
|
|
177
|
+
this._isInitialFeatureServiceInvalid = !1;
|
|
178
|
+
}
|
|
179
|
+
#V() {
|
|
180
|
+
this._mode = "browse-services";
|
|
181
|
+
}
|
|
182
|
+
#w() {
|
|
183
|
+
this._mode = "browse-versions", this._editVersionInfo = void 0;
|
|
184
|
+
}
|
|
185
|
+
async #$() {
|
|
186
|
+
const e = this.view?.map;
|
|
187
|
+
try {
|
|
188
|
+
e.loaded || await e.load();
|
|
189
|
+
} catch (i) {
|
|
190
|
+
this._loadError = "webmap-failed-to-load", z(i, this, "Error while loading 'view.map'");
|
|
190
191
|
}
|
|
191
192
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
#b(e) {
|
|
194
|
+
return e.replace(/\/+$/u, "");
|
|
195
|
+
}
|
|
196
|
+
#n() {
|
|
197
|
+
this._currentPage = 1;
|
|
195
198
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
+
#S() {
|
|
200
|
+
if (!this.#e?.versioningStateLookup.size) {
|
|
201
|
+
this._loadError = "no-version-management-service-found", v("error", this, "No version management service found");
|
|
202
|
+
return;
|
|
203
|
+
}
|
|
204
|
+
this.#e?.versioningStateLookup.forEach((e, i) => {
|
|
205
|
+
e.loadStatus === "failed" && (this.#s.push(i), v("error", this, `Failed to load versioning state for feature service ${i}`));
|
|
206
|
+
}), this.requestUpdate();
|
|
199
207
|
}
|
|
200
208
|
render() {
|
|
201
|
-
const {
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
heading: o,
|
|
210
|
-
initialVersionInfos: t,
|
|
211
|
-
isInitialVersionInvalid: n,
|
|
212
|
-
isVersionAdministrator: d.versionAdministratorLookup.get(l.url),
|
|
213
|
-
isVersioningApiAvailable: (d.serverVersionLookup.get(l.url) ?? 0) >= 11.2,
|
|
214
|
-
mode: a,
|
|
215
|
-
pageSize: c,
|
|
216
|
-
serviceName: l.name,
|
|
217
|
-
state: g,
|
|
218
|
-
serviceUrl: l.url,
|
|
219
|
-
strings: s,
|
|
220
|
-
versionInfos: d.versioningStateLookup.get(l.url)?.versionInfos ?? []
|
|
221
|
-
};
|
|
222
|
-
return v`<arcgis-version-management-service-item .serviceItemElementProps=${h} @arcgisFlowItemBack=${() => {
|
|
223
|
-
r && (this._removeVersionListFlowItem(r), this.versionList = void 0);
|
|
224
|
-
}} @arcgisFlowItemClose=${() => this._handleFlowItemClose()} @arcgisGetVersions=${async (p) => {
|
|
225
|
-
await this._refreshVersionList(p.detail.serviceUrl);
|
|
226
|
-
}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${(p) => this.versionList = p.detail}></arcgis-version-management-service-item>`;
|
|
227
|
-
}) : void 0, E = g === "disabled" && f != null ? v`<calcite-notice kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(f)}</div></calcite-notice>` : void 0, y = this._showInvalidFeatureServiceNotice ? v`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${() => this._showInvalidFeatureServiceNotice = !1}><div slot=title>${s.headers.invalidInitialFeatureService}</div><div slot=message>${s.loadErrors.invalidInitialFeatureService}</div></calcite-notice>` : void 0;
|
|
228
|
-
return v`<div class="root"><calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" ${M(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${$(o) ? s.label : o} @calciteFlowItemClose=${() => this._handleFlowItemClose()} .selected=${!m}>${y}${g === "loading" || g === "executing" ? v`<calcite-loader .label=${`${s.label} - loading`}></calcite-loader>` : v`<calcite-panel>${V}${E}</calcite-panel>`}</calcite-flow-item></calcite-flow></div>`;
|
|
209
|
+
const { _currentPage: e, _editVersionInfo: i, _filterText: a, _messages: r, _mode: t, _selectedFeatureService: s, closable: l, label: c, pageSize: d, state: o } = this, w = this._loadError === "webmap-failed-to-load" ? this.#i("webmap-load") : void 0, $ = o === "disabled" && this.#e.loadError ? this.#i("view-model-load") : void 0, b = this._loadError === "no-version-management-service-found" ? this.#i("no-version-management-service-found") : void 0, S = this._isInitialFeatureServiceInvalid ? this.#i("invalid-feature-service") : void 0, y = Array.from(this.#e.serviceNameLookup, ([n, k]) => ({ url: n, name: k })), g = s?.url ?? "", p = this.#e?.versioningStateLookup.get(g), u = p?.versionInfos ?? [], _ = p?.currentVersionInfo ?? void 0, x = u.length <= d, m = a === "" ? u : u.filter((n) => n.versionIdentifier.name.toUpperCase().includes(a.toUpperCase()) || n.versionIdentifier.guid.toUpperCase().includes(a.toUpperCase())), f = m.slice((e - 1) * d, e * d);
|
|
210
|
+
f.length === 0 && this.#n();
|
|
211
|
+
const I = this.#e.userLookup.get(g), E = this.#e.versionAdministratorLookup.get(g), F = (this.#e.serverVersionLookup.get(g) ?? 0) >= 11.2;
|
|
212
|
+
return h`<calcite-flow><calcite-flow-item .closable=${l} .heading=${c} .loading=${o === "loading" || o === "executing"} .selected=${t === "browse-services"}>${w}${$}${b}${S}${y.map((n) => h`<arcgis-version-management-service-item .allowEditingDisabled=${this.allowEditingDisabled} .invalidInitialVersion=${this.#r.includes(n.url)} .messages=${r} .selectedFeatureService=${s} .serviceName=${n.name} .serviceUrl=${n.url} .versioningStateFailedToLoad=${this.#s.includes(n.url)} .viewModel=${this.#e} @arcgisInternalManageVersion=${this.#o} @arcgisPropertyChange=${this.#f}></arcgis-version-management-service-item>`)}</calcite-flow-item><calcite-flow-item .closable=${l} .description=${s?.name} .heading=${c} .loading=${o === "loading" || o === "executing"} .selected=${t === "browse-versions"} @calciteFlowItemBack=${(n) => {
|
|
213
|
+
n.preventDefault(), this.#V();
|
|
214
|
+
}}><arcgis-version-management-version-list .currentPage=${e} .currentUser=${I} .currentVersionInfo=${_} .executionError=${this.#e.executionError ?? void 0} .featureServiceName=${s?.name} .featureServiceUrl=${s?.url} .hideFilter=${x} .isVersionAdministrator=${E} .isVersioningApiAvailable=${F} .messages=${r} .mode=${t} .totalPages=${Math.ceil(m.length / d)} .totalVersions=${m.length} .versionInfos=${f} @arcgisInternalFilterVersions=${this.#u} @arcgisInternalGetVersions=${this.#v} @arcgisInternalManageVersion=${this.#o} @arcgisInternalNewVersion=${this.#m} @arcgisInternalPageChange=${this.#p}></arcgis-version-management-version-list></calcite-flow-item><calcite-flow-item .closable=${l} .description=${t === "create-version" ? "" : i?.versionIdentifier.name} .heading=${t === "create-version" ? r?.actions.newVersion : r?.actions.editVersion} .loading=${o === "loading" || o === "executing"} .selected=${t === "create-version" || t === "edit-version"} @calciteFlowItemBack=${(n) => {
|
|
215
|
+
n.preventDefault(), this.#w();
|
|
216
|
+
}}><arcgis-version-management-version-properties .currentUser=${I} .editVersionInfo=${i} .featureServiceUrl=${s?.url} .messages=${r} .mode=${t} @arcgisInternalAlterVersion=${this.#d} @arcgisInternalCreateVersion=${this.#g} @arcgisInternalDiscardEdits=${this.#h}></arcgis-version-management-version-properties></calcite-flow-item></calcite-flow>`;
|
|
229
217
|
}
|
|
230
218
|
}
|
|
231
|
-
|
|
219
|
+
P("arcgis-version-management", q);
|
|
232
220
|
export {
|
|
233
|
-
|
|
221
|
+
q as ArcgisVersionManagement
|
|
234
222
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import "../arcgis-version-management-version-properties/index.js";
|
|
2
|
-
import "../arcgis-version-management-service-item/index.js";
|
|
3
1
|
import "@esri/calcite-components/components/calcite-notice";
|
|
4
2
|
import "@esri/calcite-components/components/calcite-flow";
|
|
5
3
|
import "@esri/calcite-components/components/calcite-flow-item";
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
4
|
+
import "../arcgis-version-management-service-item/index.js";
|
|
5
|
+
import "../arcgis-version-management-version-list/index.js";
|
|
6
|
+
import "../arcgis-version-management-version-properties/index.js";
|
|
8
7
|
export * from "./customElement.js";
|
|
@@ -1,50 +1,36 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
|
|
2
|
+
import { c as b } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as h, html as o } from "lit";
|
|
4
|
+
import "@arcgis/core/versionManagement/VersionManager.js";
|
|
5
|
+
import { LitElement as p, createEvent as f } from "@arcgis/lumina";
|
|
6
|
+
import { usePropertyChange as u } from "@arcgis/lumina/controllers";
|
|
7
|
+
const I = h`calcite-notice{margin-bottom:var(--calcite-space-xs)}`;
|
|
8
|
+
class x extends p {
|
|
6
9
|
constructor() {
|
|
7
|
-
super(...arguments), this.
|
|
10
|
+
super(...arguments), this.allowEditingDisabled = !1, this.invalidInitialVersion = !1, this.versioningStateFailedToLoad = !1, this.arcgisInternalManageVersion = f(), this.arcgisPropertyChange = u()("selectedFeatureService");
|
|
8
11
|
}
|
|
9
12
|
static {
|
|
10
|
-
this.properties = {
|
|
13
|
+
this.properties = { allowEditingDisabled: 5, invalidInitialVersion: 5, messages: 0, selectedFeatureService: 0, serviceName: 1, serviceUrl: 1, versioningStateFailedToLoad: 5, viewModel: 0 };
|
|
11
14
|
}
|
|
12
|
-
|
|
13
|
-
|
|
15
|
+
static {
|
|
16
|
+
this.styles = I;
|
|
17
|
+
}
|
|
18
|
+
#e(s) {
|
|
19
|
+
const { serviceUrl: i, viewModel: e } = this, t = e?.versioningStateLookup.get(i)?.versionInfos ?? [], c = s.target.selectedItems[0].value, n = t.find((l) => l.versionIdentifier.guid === c);
|
|
20
|
+
this.arcgisInternalManageVersion.emit({
|
|
21
|
+
actionType: "changeVersion",
|
|
22
|
+
serviceUrl: this.serviceUrl,
|
|
23
|
+
versionInfo: n
|
|
24
|
+
});
|
|
14
25
|
}
|
|
15
26
|
render() {
|
|
16
|
-
const {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
this.arcgisManageVersion.emit({ actionType: "changeVersion", serviceUrl: c, versionInfo: e });
|
|
21
|
-
}}>${a ? a.map((s) => t`<calcite-combobox-item class=${A(w === "dialog" ? "" : "calcite-combobox-item")} .heading=${s.versionIdentifier.name} .value=${s.versionIdentifier.guid} .selected=${r.guid === s.versionIdentifier.guid && r.name === s.versionIdentifier.name}></calcite-combobox-item>`) : void 0}</calcite-combobox>`;
|
|
22
|
-
let d, g;
|
|
23
|
-
return v && (d = t`<calcite-action icon=list .id=${`action-manage-versions-${i}`} .label=${`action-manage-versions-${i}`} scale=s slot=actions-end .text=${`action-manage-versions-${i}`} @click=${async () => {
|
|
24
|
-
const s = {
|
|
25
|
-
closable: h,
|
|
26
|
-
currentUser: $,
|
|
27
|
-
currentVersionIdentifier: r,
|
|
28
|
-
executionError: p,
|
|
29
|
-
heading: b,
|
|
30
|
-
isVersionAdministrator: f,
|
|
31
|
-
isVersioningApiAvailable: u,
|
|
32
|
-
pageSize: x,
|
|
33
|
-
serviceName: i,
|
|
34
|
-
serviceUrl: c,
|
|
35
|
-
state: E,
|
|
36
|
-
strings: n,
|
|
37
|
-
versionInfos: a
|
|
38
|
-
};
|
|
39
|
-
this.versionListContainer = document.createElement("div");
|
|
40
|
-
const m = U(t`<arcgis-version-management-version-list .versionListElementProps=${s} selected show-back-button @arcgisFlowItemBack=${(e) => {
|
|
41
|
-
e.preventDefault(), this.arcgisFlowItemBack.emit();
|
|
42
|
-
}} @arcgisFlowItemClose=${() => this.arcgisFlowItemClose.emit()} @arcgisGetVersions=${(e) => this.arcgisGetVersions.emit({ serviceUrl: e.detail.serviceUrl })} @arcgisManageVersion=${(e) => this.arcgisManageVersion.emit(e.detail)} @arcgisNewVersion=${(e) => this.arcgisNewVersion.emit({ serviceUrl: e.detail.serviceUrl })}></arcgis-version-management-version-list>`, this.versionListContainer);
|
|
43
|
-
l = Array.from(m.parentNode.childNodes).find((e) => e.nodeName.toUpperCase() === "ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"), V?.append(l), this.arcgisCreateVersionList.emit(l);
|
|
44
|
-
}}></calcite-action>`, g = t`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`action-manage-versions-${i}`}><span>${n.headers.manageVersions}</span></calcite-tooltip>`), t`<calcite-block expanded .heading=${i}>${N}${C}${d}${g}</calcite-block>`;
|
|
27
|
+
const { allowEditingDisabled: s, messages: i, serviceName: e, serviceUrl: r, versioningStateFailedToLoad: t, viewModel: c } = this, n = c?.versioningStateLookup.get(r), l = n?.versionInfos ?? [], d = this.invalidInitialVersion ? o`<calcite-notice closable kind=warning open scale=s width=full icon><div slot=title>${i?.headers.invalidInitialVersion}</div><div slot=message>${i?.loadErrors.invalidInitialVersion}</div></calcite-notice>` : void 0, v = t ? o`<calcite-notice kind=warning open scale=s width=full icon><div slot=title>${i?.headers.versioningStateFailedToLoad}</div><div slot=message>${i?.loadErrors.versioningStateFailedToLoad}</div></calcite-notice>` : void 0, m = t ? void 0 : o`<calcite-combobox .ariaLabel=${`combobox-${e}`} .label=${`combobox-${e}`} max-items=5 overlay-positioning=fixed selection-mode=single-persist @calciteComboboxChange=${this.#e}>${l.map((a) => o`<calcite-combobox-item .heading=${a.versionIdentifier.name} .selected=${n?.currentVersionInfo?.versionIdentifier.guid === a.versionIdentifier.guid && n?.currentVersionInfo?.versionIdentifier.name === a.versionIdentifier.name} .value=${a.versionIdentifier.guid}></calcite-combobox-item>`)}</calcite-combobox>`, g = !t && !s ? o`<calcite-action icon=list .id=${`action-manage-versions-${e}`} .label=${`action-manage-versions-${e}`} scale=s slot=actions-end .text=${`action-manage-versions-${e}`} @click=${() => {
|
|
28
|
+
this.selectedFeatureService = { url: r, name: e };
|
|
29
|
+
}}></calcite-action>` : void 0, $ = s ? void 0 : o`<calcite-tooltip overlay-positioning=fixed .referenceElement=${`action-manage-versions-${e}`}><span>${i?.headers.manageVersions}</span></calcite-tooltip>`;
|
|
30
|
+
return o`<calcite-block expanded .heading=${e}>${d}${v}${m}${g}${$}</calcite-block>`;
|
|
45
31
|
}
|
|
46
32
|
}
|
|
47
|
-
|
|
33
|
+
b("arcgis-version-management-service-item", x);
|
|
48
34
|
export {
|
|
49
|
-
|
|
35
|
+
x as ArcgisVersionManagementServiceItem
|
|
50
36
|
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import "@esri/calcite-components/components/calcite-notice";
|
|
2
2
|
import "@esri/calcite-components/components/calcite-combobox";
|
|
3
3
|
import "@esri/calcite-components/components/calcite-combobox-item";
|
|
4
|
-
import "../arcgis-version-management-version-list/index.js";
|
|
5
4
|
import "@esri/calcite-components/components/calcite-action";
|
|
6
5
|
import "@esri/calcite-components/components/calcite-tooltip";
|
|
7
6
|
import "@esri/calcite-components/components/calcite-block";
|