@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,94 +1,67 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import { css as
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class T extends A {
|
|
2
|
+
import { c as P } from "../../chunks/runtime.js";
|
|
3
|
+
import { css as A, html as i } from "lit";
|
|
4
|
+
import { LitElement as U, createEvent as s } from "@arcgis/lumina";
|
|
5
|
+
const k = A`calcite-input-text,calcite-notice{background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm)}calcite-pagination{background-color:var(--calcite-color-surface-2);justify-content:center}calcite-panel{height:fit-content;max-height:var(--arcgis-internal-panel-height-sm, 240px)}.current-version-div{background-color:var(--calcite-color-surface-2);border-color:var(--calcite-block-border-color, var(--calcite-color-border-3));border-style:solid;border-width:0 0 1px;padding:var(--calcite-space-2xs) 0}.current-version-div .current-version-description-label,.current-version-div .current-version-header-label{height:var(--calcite-font-size);margin:var(--calcite-space-2xs) var(--calcite-space-md)}.current-version-div .current-version-header-label{font-weight:var(--calcite-font-weight-medium)}`;
|
|
6
|
+
class F extends U {
|
|
8
7
|
constructor() {
|
|
9
|
-
super(...arguments), this
|
|
8
|
+
super(...arguments), this.#e = 1, this.hideFilter = !1, this.mode = "browse-versions", this.totalPages = 0, this.totalVersions = 0, this.arcgisInternalFilterVersions = s(), this.arcgisInternalGetVersions = s(), this.arcgisInternalManageVersion = s(), this.arcgisInternalNewVersion = s(), this.arcgisInternalPageChange = s();
|
|
10
9
|
}
|
|
11
10
|
static {
|
|
12
|
-
this.properties = {
|
|
11
|
+
this.properties = { currentPage: 9, currentUser: 1, currentVersionInfo: 0, executionError: 1, featureServiceName: 1, featureServiceUrl: 1, hideFilter: 5, isVersionAdministrator: 5, isVersioningApiAvailable: 5, messages: 0, mode: 1, totalPages: 9, totalVersions: 9, versionInfos: 0 };
|
|
13
12
|
}
|
|
14
13
|
static {
|
|
15
|
-
this.styles =
|
|
16
|
-
}
|
|
17
|
-
load() {
|
|
18
|
-
this._filteredVersionInfos = this.versionListElementProps.versionInfos;
|
|
14
|
+
this.styles = k;
|
|
19
15
|
}
|
|
16
|
+
#e;
|
|
20
17
|
willUpdate(e) {
|
|
21
|
-
if (e.has("
|
|
22
|
-
const t = e.get("
|
|
23
|
-
|
|
18
|
+
if (e.has("mode")) {
|
|
19
|
+
const t = e.get("mode"), n = t === "browse-services" && this.mode === "browse-versions", a = t === "browse-versions" && (this.mode === "create-version" || this.mode === "edit-version");
|
|
20
|
+
(n || a) && this.executionError && (this.executionError = void 0);
|
|
24
21
|
}
|
|
25
22
|
}
|
|
26
|
-
|
|
27
|
-
this
|
|
28
|
-
}
|
|
29
|
-
async setFocus() {
|
|
30
|
-
this._flowItemElement.value?.setFocus();
|
|
31
|
-
}
|
|
32
|
-
goBack() {
|
|
33
|
-
}
|
|
34
|
-
_handleFilterChange() {
|
|
35
|
-
const { versionListElementProps: { versionInfos: e } } = this, t = this._filterInputElement.value.value.toUpperCase();
|
|
36
|
-
this._filteredVersionInfos = t === "" ? e : e.filter((n) => n.versionIdentifier.name.toUpperCase().includes(t) || n.versionIdentifier.guid.toUpperCase().includes(t)), this._filteredVersionInfos.length && (this.currentPage = 1);
|
|
37
|
-
}
|
|
38
|
-
_handleNoticeClosed() {
|
|
39
|
-
this.versionListElementProps = { ...this.versionListElementProps, executionError: void 0 };
|
|
40
|
-
}
|
|
41
|
-
_handlePaginationChange(e) {
|
|
42
|
-
this.currentPage = e.target.startItem;
|
|
43
|
-
}
|
|
44
|
-
_getExecutionError(e) {
|
|
45
|
-
const { versionListElementProps: { strings: { executionErrors: t } } } = this;
|
|
23
|
+
#i(e) {
|
|
24
|
+
const { messages: t } = this;
|
|
46
25
|
switch (e) {
|
|
47
26
|
case "no-feature-service-found":
|
|
48
|
-
return t.noFeatureServiceFound;
|
|
27
|
+
return t?.executionErrors.noFeatureServiceFound ?? "";
|
|
49
28
|
case "no-valid-enterprise-version":
|
|
50
|
-
return t.notValidEnterpriseVersion;
|
|
29
|
+
return t?.executionErrors.notValidEnterpriseVersion ?? "";
|
|
51
30
|
case "no-valid-version-name":
|
|
52
|
-
return t.invalidVersionName;
|
|
31
|
+
return t?.executionErrors.invalidVersionName ?? "";
|
|
53
32
|
default:
|
|
54
33
|
return e;
|
|
55
34
|
}
|
|
56
35
|
}
|
|
57
|
-
|
|
58
|
-
|
|
36
|
+
#r() {
|
|
37
|
+
this.executionError = void 0;
|
|
59
38
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
this._paginatedVersionInfos = this._filteredVersionInfos.length > r ? this._paginate(this._filteredVersionInfos, r, e) : this._filteredVersionInfos;
|
|
63
|
-
const b = this._filteredVersionInfos.length > r ? i`<calcite-pagination @calcitePaginationChange=${this._handlePaginationChange} page-size=1 .startItem=${e} .totalItems=${Math.ceil(this._filteredVersionInfos.length / r)}></calcite-pagination>` : void 0, E = this._paginate(this._paginatedVersionInfos, r, 1).map((L) => {
|
|
64
|
-
const F = {
|
|
65
|
-
currentUser: v,
|
|
66
|
-
currentVersionIdentifier: d,
|
|
67
|
-
isCurrentVersionCard: !1,
|
|
68
|
-
isVersionAdministrator: f,
|
|
69
|
-
isVersioningApiAvailable: u,
|
|
70
|
-
serviceUrl: c,
|
|
71
|
-
strings: a,
|
|
72
|
-
versionInfo: L
|
|
73
|
-
};
|
|
74
|
-
return this._renderListItem(F);
|
|
75
|
-
}), _ = $.length > r ? i`<div class="filter-container" slot=content-top><calcite-input-text clearable icon=search .label=${l.filterVersions} @calciteInputTextInput=${this._handleFilterChange} .placeholder=${a.actions.searchVersions} ${x(this._filterInputElement)}></calcite-input-text></div>` : void 0, C = i`<calcite-list .label=${a.labels.versionList}>${E}</calcite-list>`, k = u ? i`<div class="fab-container"><calcite-fab appearance=outline-fill text-enabled .text=${a.actions.newVersion} @click=${() => this.arcgisNewVersion.emit({ serviceUrl: c })}></calcite-fab></div>` : void 0, P = h ? i`<calcite-notice @calciteNoticeClose=${this._handleNoticeClosed} closable kind=warning open scale=s width=full><div slot=message>${this._getExecutionError(h)}</div></calcite-notice>` : void 0;
|
|
76
|
-
return i`<calcite-flow-item .closable=${m} .description=${s} .heading=${o} .selected=${t} .showBackButton=${n} @calciteFlowItemBack=${() => this.arcgisFlowItemBack.emit()} @calciteFlowItemClose=${() => this.arcgisFlowItemClose.emit()} ${x(this._flowItemElement)}><calcite-panel .loading=${g === "executing"}>${V}<calcite-panel .heading=${this._filteredVersionInfos.length ? `${a.headers.manageVersions} (${this._filteredVersionInfos.length})` : a.headers.manageVersions} scale=s>${I}${_}${C}${k}${b}</calcite-panel>${P}</calcite-panel></calcite-flow-item>`;
|
|
39
|
+
#t(e) {
|
|
40
|
+
this.arcgisInternalPageChange.emit({ currentPage: e.target.startItem });
|
|
77
41
|
}
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
42
|
+
#s(e) {
|
|
43
|
+
e.stopPropagation(), this.arcgisInternalManageVersion.emit({
|
|
44
|
+
actionType: e.detail.actionType,
|
|
45
|
+
serviceUrl: e.detail.serviceUrl,
|
|
46
|
+
versionInfo: e.detail.versionInfo
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
render() {
|
|
50
|
+
const { currentUser: e, currentPage: t, currentVersionInfo: n, executionError: a, featureServiceName: o, featureServiceUrl: c, hideFilter: h, isVersionAdministrator: u, isVersioningApiAvailable: v, messages: r, totalPages: d, totalVersions: m, versionInfos: g } = this, p = g?.map((l) => i`<arcgis-version-management-version-list-item .currentUser=${e} .currentVersionInfo=${n} .featureServiceUrl=${c} .isVersionAdministrator=${u} .isVersioningApiAvailable=${v} .messages=${r} .versionInfo=${l} @arcgisInternalManageVersion=${this.#s}></arcgis-version-management-version-list-item>`), f = i`<div class="current-version-div"><calcite-label scale=m class="current-version-header-label">${r?.headers.currentVersion}</calcite-label><calcite-label scale=s class="current-version-description-label">${n?.versionIdentifier.name}</calcite-label></div>`, $ = i`<calcite-action icon=refresh .id=${`action-refresh-versions-${o}`} .label=${`action-refresh-versions-${o}`} slot=actions-end text @click=${() => {
|
|
51
|
+
this.arcgisInternalGetVersions.emit({
|
|
52
|
+
serviceUrl: c
|
|
53
|
+
});
|
|
54
|
+
}}><calcite-tooltip overlay-positioning=fixed .referenceElement=${`action-refresh-versions-${o}`}><span>${r?.actions.refreshVersions}</span></calcite-tooltip></calcite-action>`, V = i`<calcite-block .heading=${g?.length ? `${r?.headers.manageVersions} (${m})` : r?.headers.manageVersions}>${$}</calcite-block>`, b = h ? void 0 : i`<calcite-input-text clearable icon=search .label=${r?.headers.filterVersions} .placeholder=${r?.actions.searchVersions} @calciteInputTextInput=${(l) => {
|
|
55
|
+
this.arcgisInternalFilterVersions.emit({ filterText: l.target.value });
|
|
56
|
+
}}></calcite-input-text>`, I = v ? i`<calcite-fab appearance=outline-fill slot=fab text-enabled .text=${r?.actions.newVersion} @click=${() => {
|
|
57
|
+
this.arcgisInternalNewVersion.emit({
|
|
58
|
+
serviceUrl: c ?? ""
|
|
59
|
+
});
|
|
60
|
+
}}></calcite-fab>` : void 0, x = d > 1 ? i`<calcite-pagination .pageSize=${this.#e} .startItem=${t} .totalItems=${d} @calcitePaginationChange=${this.#t}></calcite-pagination>` : void 0, w = a ? i`<calcite-notice closable icon kind=warning open scale=s width=full @calciteNoticeClose=${this.#r}><div slot=message>${this.#i(a)}</div></calcite-notice>` : void 0, E = i`<calcite-panel>${I}<calcite-list .label=${r?.labels.versionList ?? ""}>${p}</calcite-list></calcite-panel>`;
|
|
61
|
+
return i`${f}${V}${b}${E}${x}${w}`;
|
|
89
62
|
}
|
|
90
63
|
}
|
|
91
|
-
|
|
64
|
+
P("arcgis-version-management-version-list", F);
|
|
92
65
|
export {
|
|
93
|
-
|
|
66
|
+
F as ArcgisVersionManagementVersionList
|
|
94
67
|
};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import "
|
|
1
|
+
import "../arcgis-version-management-version-list-item/index.js";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-label";
|
|
2
3
|
import "@esri/calcite-components/components/calcite-action";
|
|
3
4
|
import "@esri/calcite-components/components/calcite-tooltip";
|
|
4
|
-
import "@esri/calcite-components/components/calcite-
|
|
5
|
+
import "@esri/calcite-components/components/calcite-block";
|
|
5
6
|
import "@esri/calcite-components/components/calcite-input-text";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-list";
|
|
7
7
|
import "@esri/calcite-components/components/calcite-fab";
|
|
8
|
+
import "@esri/calcite-components/components/calcite-pagination";
|
|
8
9
|
import "@esri/calcite-components/components/calcite-notice";
|
|
9
|
-
import "@esri/calcite-components/components/calcite-flow-item";
|
|
10
10
|
import "@esri/calcite-components/components/calcite-panel";
|
|
11
|
-
import "@esri/calcite-components/components/calcite-
|
|
12
|
-
import "@esri/calcite-components/components/calcite-list-item";
|
|
11
|
+
import "@esri/calcite-components/components/calcite-list";
|
|
13
12
|
export * from "./customElement.js";
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
+
import { c as A } from "../../chunks/runtime.js";
|
|
3
|
+
import { html as i } from "lit";
|
|
4
|
+
import { LitElement as x, createEvent as U, nothing as E } from "@arcgis/lumina";
|
|
5
|
+
class T extends x {
|
|
6
|
+
constructor() {
|
|
7
|
+
super(...arguments), this.arcgisInternalManageVersion = U();
|
|
8
|
+
}
|
|
9
|
+
static {
|
|
10
|
+
this.properties = { currentUser: 1, currentVersionInfo: 0, featureServiceUrl: 1, isVersionAdministrator: 5, isVersioningApiAvailable: 5, messages: 0, versionInfo: 0 };
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
const { currentUser: d, currentVersionInfo: m, featureServiceUrl: o, isVersionAdministrator: g, isVersioningApiAvailable: $, messages: c, versionInfo: e } = this, n = e?.versionIdentifier.name ?? "", v = n.substring(n.lastIndexOf(".") + 1), l = n.substring(0, n.lastIndexOf(".")), t = e?.versionIdentifier.guid ?? "", s = m?.versionIdentifier.guid === e?.versionIdentifier.guid, V = n.toUpperCase() === "SDE.DEFAULT", a = l.toUpperCase() === d?.toUpperCase() && $ || g, r = `action-start-switch-to-version-${t}`, p = s ? void 0 : i`<calcite-tooltip overlay-positioning=fixed .referenceElement=${r}><span>${c?.actions.switchToVersion}</span></calcite-tooltip>`, u = i`<div slot=actions-start><calcite-action .disabled=${s} icon=code-branch id=${r ?? E} .label=${r} .text=${r} @click=${() => {
|
|
14
|
+
this.arcgisInternalManageVersion.emit({
|
|
15
|
+
actionType: "changeVersion",
|
|
16
|
+
serviceUrl: o,
|
|
17
|
+
versionInfo: e
|
|
18
|
+
});
|
|
19
|
+
}}></calcite-action>${p}</div>`, h = i`<calcite-action .disabled=${s} icon=code-branch .label=${`action-switch-to-version-${t}`} scale=s .text=${c?.actions.switchToVersion ?? ""} text-enabled @click=${() => {
|
|
20
|
+
this.arcgisInternalManageVersion.emit({
|
|
21
|
+
actionType: "changeVersion",
|
|
22
|
+
serviceUrl: o,
|
|
23
|
+
versionInfo: e
|
|
24
|
+
});
|
|
25
|
+
}}></calcite-action>`, b = i`<calcite-action .disabled=${!a || s} icon=code-branch-edit .label=${`action-edit-version-${t}`} scale=s .text=${c?.actions.editVersion ?? ""} text-enabled @click=${() => {
|
|
26
|
+
this.arcgisInternalManageVersion.emit({
|
|
27
|
+
actionType: "editVersion",
|
|
28
|
+
serviceUrl: o,
|
|
29
|
+
versionInfo: e
|
|
30
|
+
});
|
|
31
|
+
}}></calcite-action>`, f = V ? void 0 : i`<calcite-action .disabled=${!a || a && s} icon=trash .label=${`action-delete-version-${t}`} scale=s .text=${c?.actions.deleteVersion ?? ""} text-enabled @click=${() => {
|
|
32
|
+
this.arcgisInternalManageVersion.emit({
|
|
33
|
+
actionType: "deleteVersion",
|
|
34
|
+
serviceUrl: o,
|
|
35
|
+
versionInfo: e
|
|
36
|
+
});
|
|
37
|
+
}}></calcite-action>`, I = i`<calcite-action-menu .label=${`action-version-menu-${t}`} overlay-positioning=fixed slot=actions-end>${h}${b}${f}</calcite-action-menu>`;
|
|
38
|
+
return i`<calcite-list-item .description=${l} .label=${v} .value=${t}>${u}${I}</calcite-list-item>`;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
A("arcgis-version-management-version-list-item", T);
|
|
42
|
+
export {
|
|
43
|
+
T as ArcgisVersionManagementVersionListItem
|
|
44
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import "@esri/calcite-components/components/calcite-tooltip";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-action";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-action-menu";
|
|
4
|
+
import "@esri/calcite-components/components/calcite-list-item";
|
|
5
|
+
export * from "./customElement.js";
|
|
@@ -1,97 +1,107 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import { LitElement as
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
class x extends C {
|
|
2
|
+
import { c as p } from "../../chunks/runtime.js";
|
|
3
|
+
import { html as r } from "lit";
|
|
4
|
+
import { LitElement as m, createEvent as o } from "@arcgis/lumina";
|
|
5
|
+
import { d as u } from "../../chunks/component-utils.js";
|
|
6
|
+
class f extends m {
|
|
8
7
|
constructor() {
|
|
9
|
-
super(...arguments), this
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
super(...arguments), this.#e = {
|
|
9
|
+
access: void 0,
|
|
10
|
+
description: void 0,
|
|
11
|
+
featureServerUrl: "",
|
|
12
|
+
ownerName: void 0,
|
|
13
|
+
versionName: void 0,
|
|
14
|
+
versionIdentifier: { name: "", guid: "" }
|
|
15
|
+
}, this.#i = {
|
|
16
|
+
access: "public",
|
|
17
|
+
description: "",
|
|
18
|
+
featureServerUrl: "",
|
|
19
|
+
ownerName: "",
|
|
20
|
+
versionName: ""
|
|
21
|
+
}, this.#t = !0, this.mode = "browse-versions", this.arcgisInternalAlterVersion = o(), this.arcgisInternalCreateVersion = o(), this.arcgisInternalDiscardEdits = o();
|
|
13
22
|
}
|
|
14
23
|
static {
|
|
15
|
-
this.
|
|
24
|
+
this.properties = { _validationError: 16, currentUser: 1, editVersionInfo: 0, featureServiceUrl: 1, messages: 0, mode: 1 };
|
|
16
25
|
}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
this.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
#e;
|
|
27
|
+
#i;
|
|
28
|
+
#t;
|
|
29
|
+
willUpdate(i) {
|
|
30
|
+
const { editVersionInfo: t, featureServiceUrl: e } = this;
|
|
31
|
+
if (i.has("currentUser") && (this.#i.ownerName = this.currentUser ?? ""), i.has("featureServiceUrl") && (this.#i.featureServerUrl = e ?? ""), i.has("editVersionInfo")) {
|
|
32
|
+
const s = t?.versionIdentifier.name, c = s?.substring(0, s.lastIndexOf(".")), a = s?.substring(s.lastIndexOf(".") + 1);
|
|
33
|
+
this.#e = {
|
|
34
|
+
...this.#e,
|
|
35
|
+
access: t?.access,
|
|
36
|
+
description: t?.description,
|
|
37
|
+
featureServerUrl: e ?? "",
|
|
38
|
+
ownerName: c,
|
|
39
|
+
versionName: a,
|
|
40
|
+
versionIdentifier: t?.versionIdentifier ?? { name: "", guid: "" }
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
i.has("mode") && this.#r();
|
|
28
44
|
}
|
|
29
|
-
|
|
30
|
-
this.
|
|
45
|
+
#a() {
|
|
46
|
+
this.arcgisInternalDiscardEdits.emit(), this.#r();
|
|
31
47
|
}
|
|
32
|
-
|
|
33
|
-
const {
|
|
34
|
-
|
|
35
|
-
switch (s === "create" && (a || (a = {
|
|
36
|
-
access: "public",
|
|
37
|
-
description: "",
|
|
38
|
-
featureServerUrl: c,
|
|
39
|
-
ownerName: m,
|
|
40
|
-
versionName: ""
|
|
41
|
-
})), s === "edit" && (r || (r = {
|
|
42
|
-
featureServerUrl: c,
|
|
43
|
-
versionIdentifier: i.versionIdentifier,
|
|
44
|
-
ownerName: h,
|
|
45
|
-
versionName: d,
|
|
46
|
-
access: i.access,
|
|
47
|
-
description: i.description
|
|
48
|
-
})), t.type) {
|
|
48
|
+
#s(i) {
|
|
49
|
+
const { mode: t } = this;
|
|
50
|
+
switch (i.type) {
|
|
49
51
|
case "calciteChipGroupSelect": {
|
|
50
|
-
const
|
|
51
|
-
|
|
52
|
+
const e = i.target.selectedItems[0].label;
|
|
53
|
+
t === "create-version" && (this.#i.access = e), t === "edit-version" && (this.#e.access = e);
|
|
52
54
|
break;
|
|
53
55
|
}
|
|
54
56
|
case "calciteInputTextInput": {
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
+
const e = i.target.name, s = i.target.value;
|
|
58
|
+
t === "create-version" && (e === "versionName" || e === "ownerName") && (this.#i[e] = s), t === "edit-version" && (e === "versionName" || e === "ownerName") && (this.#e[e] = s);
|
|
57
59
|
break;
|
|
58
60
|
}
|
|
59
61
|
case "calciteTextAreaInput": {
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
const n = t.target.value;
|
|
63
|
-
s === "create" && (a = { ...a, [o]: n }), s === "edit" && (r = { ...r, [o]: n });
|
|
64
|
-
}
|
|
62
|
+
const e = i.target.value;
|
|
63
|
+
t === "create-version" && (this.#i.description = e), t === "edit-version" && (this.#e.description = e);
|
|
65
64
|
break;
|
|
66
65
|
}
|
|
67
66
|
}
|
|
68
|
-
s === "create" && (a.access !== "public" && m.toUpperCase() !== a.ownerName?.toUpperCase() && !e ? (this._switchToVersionCheckboxElement.value.checked = !1, this._switchToVersionCheckboxElement.value.disabled = !0, this._switchToVersion = !1) : this._switchToVersionCheckboxElement.value.disabled = !1, this._createVersionParameters = a), s === "edit" && (this._alterVersionParameters = r);
|
|
69
|
-
}
|
|
70
|
-
_handleClose() {
|
|
71
|
-
this.arcgisFlowItemClose.emit();
|
|
72
67
|
}
|
|
73
|
-
|
|
74
|
-
const {
|
|
75
|
-
if (
|
|
76
|
-
this._validationError =
|
|
68
|
+
#c() {
|
|
69
|
+
const { messages: i, mode: t } = this, e = t === "create-version" ? this.#i?.versionName?.trim() ?? "" : this.#e?.versionName?.trim() ?? "", s = u(e), a = [".", ";", "'", '"'].some((n) => e.includes(n));
|
|
70
|
+
if (s) {
|
|
71
|
+
this._validationError = i?.validationErrors.emptyVersionName;
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
74
|
+
if (a) {
|
|
75
|
+
this._validationError = i?.validationErrors.invalidCharacters;
|
|
77
76
|
return;
|
|
78
77
|
}
|
|
79
|
-
|
|
80
|
-
createVersionParameters:
|
|
81
|
-
switchToVersion:
|
|
82
|
-
}),
|
|
83
|
-
alterVersionParameters:
|
|
84
|
-
});
|
|
78
|
+
t === "create-version" && this.arcgisInternalCreateVersion.emit({
|
|
79
|
+
createVersionParameters: this.#i,
|
|
80
|
+
switchToVersion: this.#t
|
|
81
|
+
}), t === "edit-version" && this.arcgisInternalAlterVersion.emit({
|
|
82
|
+
alterVersionParameters: this.#e
|
|
83
|
+
}), this.#r();
|
|
85
84
|
}
|
|
86
|
-
|
|
87
|
-
this
|
|
85
|
+
#n(i) {
|
|
86
|
+
this.#t = i.target.checked;
|
|
87
|
+
}
|
|
88
|
+
#r() {
|
|
89
|
+
this.#i = {
|
|
90
|
+
...this.#i,
|
|
91
|
+
access: "public",
|
|
92
|
+
description: "",
|
|
93
|
+
ownerName: this.currentUser,
|
|
94
|
+
versionName: ""
|
|
95
|
+
}, this.editVersionInfo = void 0, this.#t = !0, this._validationError = void 0;
|
|
88
96
|
}
|
|
89
97
|
render() {
|
|
90
|
-
const {
|
|
91
|
-
|
|
98
|
+
const { _validationError: i, currentUser: t, messages: e, mode: s } = this, c = r`<calcite-label>${e?.input.versionName}<calcite-input-text max-length=62 name=versionName .value=${s === "create-version" ? this.#i?.versionName : this.#e?.versionName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`, a = r`<calcite-label>${e?.input.versionDescription}<calcite-text-area limit-text max-length=64 name=description resize=none rows=2 scale=s .value=${s === "create-version" ? this.#i?.description : this.#e?.description} @calciteTextAreaInput=${this.#s}></calcite-text-area></calcite-label>`, n = r`<calcite-label>${e?.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this.#s} selection-mode=single-persist><calcite-chip .selected=${this.#e.access === "public" || s === "create-version"} label=public>${e?.accessLevels.public}</calcite-chip><calcite-chip .selected=${this.#e.access === "protected"} label=protected>${e?.accessLevels.protected}</calcite-chip><calcite-chip .selected=${this.#e.access === "private"} label=private>${e?.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`, l = r`<calcite-label>${e?.input.versionOwner}<calcite-input-text name=ownerName .value=${s === "create-version" ? t : this.#e.ownerName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`, h = s === "create-version" ? r`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this.#n}></calcite-checkbox>${e?.actions.switchToVersion}</calcite-label>` : void 0, v = i ? r`<calcite-notice closable kind=warning open scale=s width=full @calciteNoticeClose=${() => {
|
|
99
|
+
this._validationError = void 0;
|
|
100
|
+
}}><div slot=message>${i}</div></calcite-notice>` : void 0, d = r`<calcite-button appearance=outline slot=footer width=full @click=${this.#a}>${e?.actions.cancelSave}</calcite-button><calcite-button appearance=solid slot=footer width=full @click=${this.#c}>${e?.actions.saveVersion}</calcite-button>`;
|
|
101
|
+
return r`<calcite-panel><calcite-block expanded .label=${e?.headers.versionProperties}>${c}${a}${n}${l}${h}${v}</calcite-block>${d}</calcite-panel>`;
|
|
92
102
|
}
|
|
93
103
|
}
|
|
94
|
-
|
|
104
|
+
p("arcgis-version-management-version-properties", f);
|
|
95
105
|
export {
|
|
96
|
-
|
|
106
|
+
f as ArcgisVersionManagementVersionProperties
|
|
97
107
|
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "@esri/calcite-components/components/calcite-button";
|
|
2
1
|
import "@esri/calcite-components/components/calcite-label";
|
|
2
|
+
import "@esri/calcite-components/components/calcite-input-text";
|
|
3
|
+
import "@esri/calcite-components/components/calcite-text-area";
|
|
3
4
|
import "@esri/calcite-components/components/calcite-chip-group";
|
|
4
5
|
import "@esri/calcite-components/components/calcite-chip";
|
|
5
|
-
import "@esri/calcite-components/components/calcite-text-area";
|
|
6
|
-
import "@esri/calcite-components/components/calcite-input-text";
|
|
7
6
|
import "@esri/calcite-components/components/calcite-checkbox";
|
|
8
7
|
import "@esri/calcite-components/components/calcite-notice";
|
|
9
|
-
import "@esri/calcite-components/components/calcite-
|
|
8
|
+
import "@esri/calcite-components/components/calcite-button";
|
|
10
9
|
import "@esri/calcite-components/components/calcite-panel";
|
|
11
10
|
import "@esri/calcite-components/components/calcite-block";
|
|
12
11
|
export * from "./customElement.js";
|