@arcgis/map-components 4.34.0-next.84 → 4.34.0-next.86
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/27KQEUFW.js +4 -0
- package/dist/cdn/2DQ2UHZF.js +4 -0
- package/dist/cdn/{LKFHK63R.js → 2EFCB6UM.js} +2 -2
- package/dist/cdn/{7JGNLYGO.js → 2FNTI7XR.js} +2 -2
- package/dist/cdn/{D3QSDDIQ.js → 2HVBHYHU.js} +2 -2
- package/dist/cdn/2QLQZVUU.js +4 -0
- package/dist/cdn/{6QZ5I26K.js → 2UG2SFYD.js} +2 -2
- package/dist/cdn/{ZFC77VLJ.js → 2VQE4CTB.js} +2 -2
- package/dist/cdn/{7WFVA5G5.js → 2XYD7NLH.js} +2 -2
- package/dist/cdn/32WK2C2K.js +4 -0
- package/dist/cdn/3D53V5NO.js +4 -0
- package/dist/cdn/{OFQLT2GH.js → 3FVRZFQK.js} +2 -2
- package/dist/cdn/3FWU6VHS.js +4 -0
- package/dist/cdn/3JKPFKOD.js +4 -0
- package/dist/cdn/3KEDO2B6.js +4 -0
- package/dist/cdn/3SWXONCN.js +4 -0
- package/dist/cdn/3Y6GPLOB.js +4 -0
- package/dist/cdn/{O7S27XRJ.js → 4C6KFBOT.js} +2 -2
- package/dist/cdn/{L6E7NIPN.js → 4ECW7RVJ.js} +2 -2
- package/dist/cdn/4HD7ZVMF.js +4 -0
- package/dist/cdn/{6EQWYTTP.js → 4OT2KC6J.js} +2 -2
- package/dist/cdn/4XQQDTLW.js +4 -0
- package/dist/cdn/4ZEPTE77.js +4 -0
- package/dist/cdn/{F4RZVTJI.js → 56ZAZ2PZ.js} +2 -2
- package/dist/cdn/5KJINP66.js +4 -0
- package/dist/cdn/5QRS6KMG.js +4 -0
- package/dist/cdn/{45LRT5P4.js → 5R3DF5T4.js} +2 -2
- package/dist/cdn/5V7Z5GWA.js +4 -0
- package/dist/cdn/{5E7PXCUJ.js → 62BM6K2I.js} +2 -2
- package/dist/cdn/66GFSN2Z.js +4 -0
- package/dist/cdn/6CF2QIFZ.js +4 -0
- package/dist/cdn/6HRPU7SF.js +4 -0
- package/dist/cdn/6MC3UX6H.js +4 -0
- package/dist/cdn/6R4ZLO3T.js +4 -0
- package/dist/cdn/6WKSQGVJ.js +4 -0
- package/dist/cdn/7H56X6V5.js +4 -0
- package/dist/cdn/7HIO3LEX.js +4 -0
- package/dist/cdn/{FURUQPWU.js → 7PRANBDM.js} +2 -2
- package/dist/cdn/{IURCXMZZ.js → 7QL2P55F.js} +2 -2
- package/dist/cdn/7QXXHM27.js +4 -0
- package/dist/cdn/7SBONIGI.js +4 -0
- package/dist/cdn/A22UI24M.js +4 -0
- package/dist/cdn/A2DDMXND.js +4 -0
- package/dist/cdn/{FAGHR3FR.js → A5WRIRQC.js} +2 -2
- package/dist/cdn/A6NHOWCG.js +4 -0
- package/dist/cdn/{LQMZFQWI.js → APTHOXER.js} +2 -2
- package/dist/cdn/ARTKOQ3L.js +4 -0
- package/dist/cdn/{4S6OK5DG.js → AUXMY3MD.js} +2 -2
- package/dist/cdn/AVVXCJAE.js +4 -0
- package/dist/cdn/{3Y7CPOXB.js → AWH73KCW.js} +2 -2
- package/dist/cdn/AXJOEOND.js +4 -0
- package/dist/cdn/B56OAROR.js +4 -0
- package/dist/cdn/BC7VMYDZ.js +4 -0
- package/dist/cdn/{CAQ3IM3B.js → BDQYDBBH.js} +2 -2
- package/dist/cdn/{FRLIDQPN.js → BNEYLVUV.js} +2 -2
- package/dist/cdn/BSAJ7AJA.js +4 -0
- package/dist/cdn/BSMUQQM7.js +4 -0
- package/dist/cdn/C3EV4VVK.js +4 -0
- package/dist/cdn/{ASWFYAOY.js → C6HUMOZD.js} +2 -2
- package/dist/cdn/CAEQ4PXX.js +4 -0
- package/dist/cdn/{4AGUAHSQ.js → CDBKLJWO.js} +2 -2
- package/dist/cdn/{HJKFW4N6.js → CXNTMKDZ.js} +2 -2
- package/dist/cdn/{7Z364N4G.js → CYESGHAJ.js} +2 -2
- package/dist/cdn/{CEJ4CCVL.js → CYKULJ5Y.js} +2 -2
- package/dist/cdn/D2MVDEQY.js +4 -0
- package/dist/cdn/D5OVDB67.js +4 -0
- package/dist/cdn/DTVZBY6Z.js +4 -0
- package/dist/cdn/{QTULZEJN.js → DZMYLQSU.js} +2 -2
- package/dist/cdn/EI3KWIWP.js +4 -0
- package/dist/cdn/{24NEX3Y7.js → EIENFVGJ.js} +1 -1
- package/dist/cdn/ELM3CNHQ.js +4 -0
- package/dist/cdn/{EWMBBB6B.js → ERJMRG2L.js} +2 -2
- package/dist/cdn/{7S4K2JD6.js → EWBTYEWO.js} +2 -2
- package/dist/cdn/F5Y7RVQQ.js +4 -0
- package/dist/cdn/FFBMTBNS.js +5 -0
- package/dist/cdn/{CM26BC26.js → FK2TK4HR.js} +1 -1
- package/dist/cdn/{M6OIXH2G.js → FMCNQ4W2.js} +2 -2
- package/dist/cdn/FQXBNA6A.js +4 -0
- package/dist/cdn/{7HLVD4ZX.js → FR5BRXPJ.js} +2 -2
- package/dist/cdn/{U2MOTEUI.js → GPVZ2BJJ.js} +1 -1
- package/dist/cdn/GSPMKAFF.js +4 -0
- package/dist/cdn/GWODJOPJ.js +4 -0
- package/dist/cdn/GYHOGLC3.js +4 -0
- package/dist/cdn/{HRW62B52.js → HC4APLW3.js} +2 -2
- package/dist/cdn/{R3IJHOJ2.js → HC4NZCEK.js} +2 -2
- package/dist/cdn/HDEQ5CAM.js +4 -0
- package/dist/cdn/HRSKXOL7.js +4 -0
- package/dist/cdn/{D6C4SHLF.js → HYU2ZHE3.js} +2 -2
- package/dist/cdn/I22LYGGP.js +4 -0
- package/dist/cdn/I53I6L6R.js +4 -0
- package/dist/cdn/ICKN2EBR.js +4 -0
- package/dist/cdn/IETSBNYI.js +4 -0
- package/dist/cdn/{XXCKJQFI.js → IYINVWXY.js} +2 -2
- package/dist/cdn/J26QR4PP.js +4 -0
- package/dist/cdn/{CXPHU3ZD.js → J4IEL5XE.js} +2 -2
- package/dist/cdn/{RJ35VEEE.js → JFWNVPJB.js} +2 -2
- package/dist/cdn/{NE7QPCCC.js → JTDWO3HC.js} +2 -2
- package/dist/cdn/{JN5JR5S3.js → K2PPAUCL.js} +2 -2
- package/dist/cdn/{64TEABK6.js → KFADYIDI.js} +2 -2
- package/dist/cdn/KKRBUPHN.js +4 -0
- package/dist/cdn/{LX4EUQUL.js → KTYNNELM.js} +2 -2
- package/dist/cdn/{MH5SNRNN.js → KUDPM64O.js} +2 -2
- package/dist/cdn/{ISHC7OXZ.js → KWJE67LZ.js} +2 -2
- package/dist/cdn/L3F5O7BC.js +4 -0
- package/dist/cdn/{X7BRXOBX.js → L7XDIAIQ.js} +2 -2
- package/dist/cdn/LBXKSHNP.js +4 -0
- package/dist/cdn/{ZTNNYDAB.js → LMPADBFS.js} +2 -2
- package/dist/cdn/{MHOGANUT.js → LRCSTP2Z.js} +2 -2
- package/dist/cdn/LS45ZMFY.js +4 -0
- package/dist/cdn/LTTAU6PW.js +4 -0
- package/dist/cdn/{W4XRVQ3C.js → LVOOKFEN.js} +1 -1
- package/dist/cdn/M3QBUZYL.js +4 -0
- package/dist/cdn/{XKXBRNEE.js → M7AGT5LF.js} +2 -2
- package/dist/cdn/{T2VI5KT5.js → M7HTNMBI.js} +2 -2
- package/dist/cdn/M7YSW4RQ.js +4 -0
- package/dist/cdn/{EFRCBMH4.js → MA44HLYF.js} +2 -2
- package/dist/cdn/MAPUJDUY.js +4 -0
- package/dist/cdn/{B64E6HHO.js → MDM25EHR.js} +2 -2
- package/dist/cdn/{HQJRWFKC.js → MGUOL66J.js} +2 -2
- package/dist/cdn/{VSESTHD5.js → MYTVMOKX.js} +1 -1
- package/dist/cdn/{ILXTQAS3.js → NAXQUKOU.js} +2 -2
- package/dist/cdn/NCG5YD7T.js +4 -0
- package/dist/cdn/NJWNHDB4.js +4 -0
- package/dist/cdn/{XWK6KVDW.js → NSJHRN3C.js} +1 -1
- package/dist/cdn/{IK3UYVLU.js → NYP23TDK.js} +2 -2
- package/dist/cdn/NYYEUNDU.js +4 -0
- package/dist/cdn/{HEZUKRJM.js → O5PZITWT.js} +2 -2
- package/dist/cdn/OEUPN4V2.js +4 -0
- package/dist/cdn/{GPTKSV4G.js → OG5EFSUR.js} +2 -2
- package/dist/cdn/OHWSROX6.js +4 -0
- package/dist/cdn/{PC6LJH2T.js → OLYPB7JG.js} +2 -2
- package/dist/cdn/OQBGPHCX.js +4 -0
- package/dist/cdn/{3LU3HBZM.js → P3HOYWNA.js} +2 -2
- package/dist/cdn/{GJYGVCLJ.js → P3WS7DG7.js} +2 -2
- package/dist/cdn/PB3TBTE7.js +4 -0
- package/dist/cdn/{EZ4TCJSF.js → PMAC2POT.js} +2 -2
- package/dist/cdn/PXC3WQK3.js +4 -0
- package/dist/cdn/{ZZB4Y7BA.js → QEDEJL7D.js} +2 -2
- package/dist/cdn/RBA7J5BL.js +4 -0
- package/dist/cdn/{HYZRYJUU.js → RMQ4EK45.js} +2 -2
- package/dist/cdn/{P4ULOKF7.js → RNFL65KF.js} +2 -2
- package/dist/cdn/RUIVOBJZ.js +4 -0
- package/dist/cdn/{XHYHTQ3A.js → RZBJJK7O.js} +1 -1
- package/dist/cdn/{7BOSZHJ5.js → S5GDBVY5.js} +1 -1
- package/dist/cdn/{23WGYESB.js → SOBLFTOH.js} +2 -2
- package/dist/cdn/{A5LSARH7.js → SPUBHM7G.js} +2 -2
- package/dist/cdn/{FWNJUGLK.js → SSXLX4FI.js} +2 -2
- package/dist/cdn/SUAFXZQL.js +4 -0
- package/dist/cdn/SUVKK6L2.js +4 -0
- package/dist/cdn/SYVOYX4X.js +4 -0
- package/dist/cdn/{4VDVUC7E.js → T3ECDI3W.js} +2 -2
- package/dist/cdn/THDLIAM3.js +4 -0
- package/dist/cdn/{PNJKAY7C.js → TTRHMSI2.js} +2 -2
- package/dist/cdn/TUOV6MJE.js +4 -0
- package/dist/cdn/UBZJNDXA.js +4 -0
- package/dist/cdn/{QHMLVZU4.js → UK7QNWNL.js} +2 -2
- package/dist/cdn/UNDBOUL3.js +4 -0
- package/dist/cdn/UTFYFAEE.js +4 -0
- package/dist/cdn/{JUT7YYHK.js → V6BEMSF5.js} +2 -2
- package/dist/cdn/{Y5GA7AYP.js → VBNLIV2Z.js} +2 -2
- package/dist/cdn/VFTMNEAJ.js +4 -0
- package/dist/cdn/{DGFA5URC.js → VHDOHSKV.js} +2 -2
- package/dist/cdn/{DWIZ3UOY.js → VIT43EJU.js} +2 -2
- package/dist/cdn/VQ7XCIUZ.js +4 -0
- package/dist/cdn/VRIHJDDZ.js +4 -0
- package/dist/cdn/{R42ULVLO.js → VVUB75SA.js} +2 -2
- package/dist/cdn/VWT7ZRYS.js +4 -0
- package/dist/cdn/{VN3YG32O.js → W4C357XZ.js} +2 -2
- package/dist/cdn/WBLKAUPU.js +4 -0
- package/dist/cdn/{JLTPTPZ3.js → WD3Y5IY7.js} +2 -2
- package/dist/cdn/{6K4EPHM5.js → WE3LEZPR.js} +2 -2
- package/dist/cdn/{C6YDIAR7.js → WNV63ZOV.js} +1 -1
- package/dist/cdn/WTDMKI7U.js +4 -0
- package/dist/cdn/{YUA5D5E5.js → WTF6RTWY.js} +2 -2
- package/dist/cdn/{6MSXFBID.js → XEG62YZB.js} +2 -2
- package/dist/cdn/XQOX6GS4.js +4 -0
- package/dist/cdn/{W4ZSERX3.js → XR2AOWJD.js} +2 -2
- package/dist/cdn/YFYZCVD6.js +4 -0
- package/dist/cdn/{GASWXY3P.js → YLE6GEY4.js} +2 -2
- package/dist/cdn/{QK4TIUWA.js → YM3JDCBB.js} +2 -2
- package/dist/cdn/{NXUYJMIL.js → YOF4T7UB.js} +2 -2
- package/dist/cdn/{JQATLKQH.js → YRLB5KNZ.js} +2 -2
- package/dist/cdn/{Q6OLEDUI.js → YT3IZN27.js} +2 -2
- package/dist/cdn/{RFQ5IBTO.js → YWNLZPAM.js} +2 -2
- package/dist/cdn/{W6MFLVFU.js → ZEHEHD2X.js} +2 -2
- package/dist/cdn/ZNLC4KPY.js +4 -0
- package/dist/cdn/{G7S3LLNW.js → ZO5X637V.js} +2 -2
- package/dist/cdn/assets/expand/t9n/messages.ar.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.bg.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.bs.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ca.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.cs.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.da.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.de.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.el.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.en.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.es.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.et.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.fi.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.fr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.he.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.hr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.hu.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.id.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.it.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ja.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ko.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.lt.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.lv.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.nl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.no.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pt-BR.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.pt-PT.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ro.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.ru.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sk.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sl.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.sv.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.th.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.tr.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.uk.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.vi.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-CN.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-HK.json +1 -0
- package/dist/cdn/assets/expand/t9n/messages.zh-TW.json +1 -0
- package/dist/cdn/assets/legend/images/transparent-bg.png +0 -0
- 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 +2 -2
- package/dist/chunks/chart-utils.js +1 -1
- package/dist/chunks/chartCommon.js +1 -1
- package/dist/chunks/component-utils.js +99 -115
- package/dist/chunks/createCloseEvent.js +1 -1
- package/dist/chunks/feature-utils.js +1 -1
- package/dist/chunks/globalCss.js +2 -2
- package/dist/chunks/heading.js +1 -1
- package/dist/chunks/index.js +1 -1
- package/dist/chunks/layer-list.js +4 -4
- 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/slots.js +27 -0
- 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 +34 -34
- package/dist/chunks/utils.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +2 -2
- package/dist/components/arcgis-area-measurement-2d/customElement.js +13 -16
- package/dist/components/arcgis-area-measurement-3d/customElement.js +74 -77
- package/dist/components/arcgis-attachments/customElement.d.ts +2 -2
- package/dist/components/arcgis-attachments/customElement.js +8 -11
- package/dist/components/arcgis-basemap-gallery/basemap-gallery-resources.d.ts +13 -13
- package/dist/components/arcgis-basemap-gallery/customElement.js +39 -44
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +36 -34
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-basemap-toggle/css.d.ts +9 -9
- package/dist/components/arcgis-basemap-toggle/customElement.js +32 -35
- package/dist/components/arcgis-bookmarks/customElement.d.ts +3 -3
- package/dist/components/arcgis-bookmarks/customElement.js +242 -245
- package/dist/components/arcgis-building-explorer/customElement.d.ts +2 -4
- package/dist/components/arcgis-building-explorer/customElement.js +11 -14
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-compass/customElement.d.ts +3 -2
- package/dist/components/arcgis-compass/customElement.js +23 -25
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +14 -17
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -5
- package/dist/components/arcgis-daylight/customElement.js +9 -12
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +74 -77
- package/dist/components/arcgis-directional-pad/customElement.js +19 -22
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +30 -33
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +12 -15
- package/dist/components/arcgis-editor/customElement.js +13 -16
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +12 -15
- package/dist/components/arcgis-expand/customElement.d.ts +111 -78
- package/dist/components/arcgis-expand/customElement.js +119 -19
- package/dist/components/arcgis-expand/index.d.ts +5 -0
- package/dist/components/arcgis-expand/index.js +5 -0
- package/dist/components/arcgis-feature/customElement.js +85 -88
- package/dist/components/arcgis-feature-attachments/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-attachments/customElement.js +9 -12
- package/dist/components/arcgis-feature-content/customElement.js +11 -14
- package/dist/components/arcgis-feature-element-info/customElement.js +13 -16
- package/dist/components/arcgis-feature-expression/customElement.js +53 -56
- package/dist/components/arcgis-feature-fields/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-fields/customElement.js +23 -26
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +13 -16
- package/dist/components/arcgis-feature-media/customElement.js +23 -26
- package/dist/components/arcgis-feature-relationship/customElement.js +31 -34
- package/dist/components/arcgis-feature-table/customElement.d.ts +2 -2
- package/dist/components/arcgis-feature-table/customElement.js +27 -30
- package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -4
- package/dist/components/arcgis-feature-templates/customElement.js +14 -17
- package/dist/components/arcgis-features/customElement.d.ts +3 -3
- package/dist/components/arcgis-features/customElement.js +11 -14
- package/dist/components/arcgis-floor-filter/customElement.d.ts +8 -6
- package/dist/components/arcgis-floor-filter/customElement.js +13 -16
- package/dist/components/arcgis-fullscreen/customElement.d.ts +5 -5
- package/dist/components/arcgis-fullscreen/customElement.js +21 -20
- package/dist/components/arcgis-grid-controls/customElement.js +83 -86
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +14 -17
- package/dist/components/arcgis-home/customElement.js +19 -22
- package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +3 -6
- package/dist/components/arcgis-layer-list/customElement.js +13 -16
- package/dist/components/arcgis-layer-list-item/customElement.js +39 -42
- package/dist/components/arcgis-legend/customElement.js +12 -15
- package/dist/components/arcgis-line-of-sight/customElement.js +42 -45
- package/dist/components/arcgis-link-chart/customElement.d.ts +6 -6
- package/dist/components/arcgis-link-chart/customElement.js +61 -59
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +17 -21
- package/dist/components/arcgis-locate/customElement.js +67 -69
- package/dist/components/arcgis-map/customElement.d.ts +7 -7
- package/dist/components/arcgis-map/customElement.js +69 -67
- package/dist/components/arcgis-measurement/customElement.d.ts +2 -2
- package/dist/components/arcgis-measurement/customElement.js +12 -15
- package/dist/components/arcgis-measurement-content/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/css.d.ts +1 -0
- package/dist/components/arcgis-navigation-toggle/customElement.js +18 -20
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +14 -17
- package/dist/components/arcgis-placement/customElement.d.ts +1 -2
- package/dist/components/arcgis-placement/customElement.js +18 -26
- package/dist/components/arcgis-print/customElement.js +33 -36
- package/dist/components/arcgis-print/utils.d.ts +1 -1
- package/dist/components/arcgis-print-custom-text-elements/customElement.js +14 -17
- package/dist/components/arcgis-print-dpi-input/customElement.js +7 -10
- package/dist/components/arcgis-print-export-button/customElement.js +5 -8
- package/dist/components/arcgis-print-exported-link/customElement.js +11 -14
- package/dist/components/arcgis-print-exports-panel/customElement.js +5 -5
- package/dist/components/arcgis-print-format-select/customElement.js +7 -10
- 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 +5 -8
- 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 +61 -61
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +10 -13
- package/dist/components/arcgis-scene/customElement.d.ts +3 -3
- package/dist/components/arcgis-scene/customElement.js +100 -98
- package/dist/components/arcgis-search/customElement.js +58 -61
- package/dist/components/arcgis-search-result-renderer/customElement.js +31 -34
- package/dist/components/arcgis-shadow-cast/customElement.js +13 -16
- package/dist/components/arcgis-sketch/customElement.d.ts +5 -5
- package/dist/components/arcgis-sketch/customElement.js +21 -24
- package/dist/components/arcgis-slice/customElement.js +73 -76
- package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
- package/dist/components/arcgis-swipe/customElement.js +34 -36
- package/dist/components/arcgis-table-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-table-list/customElement.js +14 -17
- package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
- package/dist/components/arcgis-time-slider/customElement.js +18 -21
- package/dist/components/arcgis-time-zone-label/customElement.js +38 -41
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +18 -21
- package/dist/components/arcgis-unit-select/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-associations/customElement.js +15 -14
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +13 -12
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +3 -5
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +21 -20
- package/dist/components/arcgis-value-picker/customElement.d.ts +6 -4
- package/dist/components/arcgis-value-picker/customElement.js +13 -16
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +100 -103
- package/dist/components/arcgis-version-management-service-item/customElement.js +10 -13
- package/dist/components/arcgis-version-management-version-item/customElement.js +6 -9
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +15 -18
- package/dist/components/arcgis-video/customElement.d.ts +2 -2
- package/dist/components/arcgis-video/customElement.js +25 -23
- package/dist/components/arcgis-video-player/customElement.js +29 -32
- package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
- package/dist/components/arcgis-video-player-actions-group/customElement.js +10 -13
- package/dist/components/arcgis-video-player-controls-group/customElement.js +7 -10
- 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 +77 -80
- package/dist/components/arcgis-zoom/css.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +25 -28
- package/dist/docs/api.json +164 -181
- package/dist/docs/docs.json +223 -183
- package/dist/docs/vscode.html-custom-data.json +24 -18
- package/dist/docs/web-types.json +60 -52
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/support/measurementUtils.d.ts +2 -2
- package/dist/support/resources.d.ts +17 -0
- package/dist/support/slots.d.ts +2 -0
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/dist/utils/globalCss.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cdn/232CRHC6.js +0 -4
- package/dist/cdn/26GUQRGV.js +0 -4
- package/dist/cdn/2EUB4CGY.js +0 -4
- package/dist/cdn/2F7KIOSX.js +0 -4
- package/dist/cdn/2JQNIWCJ.js +0 -4
- package/dist/cdn/2OKEHB6N.js +0 -4
- package/dist/cdn/4RI4ETIP.js +0 -4
- package/dist/cdn/4TEO2PRY.js +0 -4
- package/dist/cdn/4TTAF66H.js +0 -4
- package/dist/cdn/5CGXBP7C.js +0 -4
- package/dist/cdn/5M3YYCCJ.js +0 -4
- package/dist/cdn/5RSVBSB4.js +0 -4
- package/dist/cdn/6AEKNQUX.js +0 -4
- package/dist/cdn/6GYQ6BON.js +0 -4
- package/dist/cdn/6XPGMNLW.js +0 -4
- package/dist/cdn/7FRGJSCY.js +0 -4
- package/dist/cdn/7SPJDZKN.js +0 -4
- package/dist/cdn/7TN3JLEV.js +0 -4
- package/dist/cdn/ADZRIH43.js +0 -4
- package/dist/cdn/AP32EW2O.js +0 -4
- package/dist/cdn/AZMQTDZR.js +0 -4
- package/dist/cdn/BC6UJ4N2.js +0 -4
- package/dist/cdn/BHOYRLNF.js +0 -4
- package/dist/cdn/BXJU3XPT.js +0 -4
- package/dist/cdn/C53AT55K.js +0 -4
- package/dist/cdn/CRGANKZT.js +0 -4
- package/dist/cdn/DCD7V5YC.js +0 -4
- package/dist/cdn/DS4FFJ7Y.js +0 -4
- package/dist/cdn/EJUFWDOC.js +0 -4
- package/dist/cdn/FL47AMYT.js +0 -4
- package/dist/cdn/G75FGGDO.js +0 -4
- package/dist/cdn/GLEAGENQ.js +0 -4
- package/dist/cdn/GPPKUJOT.js +0 -4
- package/dist/cdn/HCP4IDAE.js +0 -4
- package/dist/cdn/HLJGXZOJ.js +0 -4
- package/dist/cdn/HXNJA4UP.js +0 -4
- package/dist/cdn/ITM2MOND.js +0 -4
- package/dist/cdn/IZELRSDH.js +0 -4
- package/dist/cdn/JBYVGVMK.js +0 -4
- package/dist/cdn/JF54DI7Y.js +0 -4
- package/dist/cdn/JGHP7SL2.js +0 -4
- package/dist/cdn/JHUNJ4LQ.js +0 -4
- package/dist/cdn/JXNZ74OZ.js +0 -4
- package/dist/cdn/KPBGC4RY.js +0 -4
- package/dist/cdn/LA6LQBPG.js +0 -4
- package/dist/cdn/MAJMWKW4.js +0 -4
- package/dist/cdn/MPJNMK3U.js +0 -4
- package/dist/cdn/NFFR77CU.js +0 -4
- package/dist/cdn/NI3CBZRO.js +0 -4
- package/dist/cdn/NJODPRA4.js +0 -4
- package/dist/cdn/NSLZXIWD.js +0 -4
- package/dist/cdn/OAITCB3R.js +0 -4
- package/dist/cdn/OZPURQE6.js +0 -4
- package/dist/cdn/P66NWRZP.js +0 -4
- package/dist/cdn/PENPSZ7S.js +0 -4
- package/dist/cdn/PKN2DQJO.js +0 -4
- package/dist/cdn/PZJPDWJG.js +0 -4
- package/dist/cdn/QMAMFGZT.js +0 -4
- package/dist/cdn/ROELMA67.js +0 -4
- package/dist/cdn/RVJ6676Y.js +0 -4
- package/dist/cdn/S2GVWZSC.js +0 -4
- package/dist/cdn/SB3ZO3IT.js +0 -4
- package/dist/cdn/SDH7EBRL.js +0 -4
- package/dist/cdn/SLGTFILN.js +0 -4
- package/dist/cdn/SYSTXODR.js +0 -4
- package/dist/cdn/TTYTWAGN.js +0 -4
- package/dist/cdn/UCSAA3A3.js +0 -4
- package/dist/cdn/UEQD4UJN.js +0 -4
- package/dist/cdn/W2FH3RJ3.js +0 -4
- package/dist/cdn/WEPDYP3E.js +0 -4
- package/dist/cdn/WID5YSYF.js +0 -4
- package/dist/cdn/WM2UXGGO.js +0 -4
- package/dist/cdn/WMVFASS3.js +0 -4
- package/dist/cdn/WOH45O47.js +0 -4
- package/dist/cdn/WVPDXWWY.js +0 -4
- package/dist/cdn/WZOTYIOS.js +0 -4
- package/dist/cdn/X55YY4UE.js +0 -4
- package/dist/cdn/X635CJQG.js +0 -4
- package/dist/cdn/XIR3RQE7.js +0 -4
- package/dist/cdn/Y3M6OT2V.js +0 -5
- package/dist/cdn/Y6I7NHY3.js +0 -4
- package/dist/cdn/YAGYR2RF.js +0 -4
- package/dist/cdn/YHQAT4J2.js +0 -4
- package/dist/cdn/YJUOQYM6.js +0 -4
- package/dist/cdn/YM4UYYKL.js +0 -4
- package/dist/cdn/YOK7SEKW.js +0 -4
- package/dist/cdn/ZFEDMYLL.js +0 -4
- package/dist/cdn/ZKZKKTBV.js +0 -4
- package/dist/cdn/ZUC3GVYZ.js +0 -4
- package/dist/cdn/ZYHBMCLP.js +0 -4
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { c as A } from "../../chunks/runtime.js";
|
|
2
|
-
import { css as M, html as
|
|
3
|
-
import { ref as
|
|
2
|
+
import { css as M, html as a } from "lit";
|
|
3
|
+
import { ref as w } from "lit/directives/ref.js";
|
|
4
4
|
import { keyed as N } from "lit/directives/keyed.js";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import { u as O } from "../../chunks/useT9n.js";
|
|
8
|
-
import { H as P } from "../../chunks/heading.js";
|
|
9
|
-
import { generateGuid as V } from "@arcgis/toolkit/string";
|
|
10
|
-
import { classes as x } from "@arcgis/toolkit/dom";
|
|
11
|
-
import { usePropertyChange as R } from "@arcgis/lumina/controllers";
|
|
12
|
-
import { m as q } from "../../chunks/useViewModel.js";
|
|
13
|
-
import { LitElement as H, createEvent as I, noShadowRoot as Z, safeClassMap as c, nothing as w } from "@arcgis/lumina";
|
|
5
|
+
import { watch as $ } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
+
import { isHTTPSProtocol as b, isDataProtocol as E } from "@arcgis/core/core/urlUtils.js";
|
|
14
7
|
import { formatDate as F, convertDateFormatToIntlOptions as U } from "@arcgis/core/intl.js";
|
|
15
|
-
import
|
|
16
|
-
import {
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
8
|
+
import z from "@arcgis/core/widgets/Bookmarks/BookmarksViewModel.js";
|
|
9
|
+
import { LitElement as L, createEvent as y, safeClassMap as c, nothing as B } from "@arcgis/lumina";
|
|
10
|
+
import { usePropertyChange as O } from "@arcgis/lumina/controllers";
|
|
11
|
+
import { classes as T } from "@arcgis/toolkit/dom";
|
|
12
|
+
import { generateGuid as P } from "@arcgis/toolkit/string";
|
|
13
|
+
import { u as V } from "../../chunks/useT9n.js";
|
|
14
|
+
import { m as q } from "../../chunks/useViewModel.js";
|
|
15
|
+
import { H } from "../../chunks/heading.js";
|
|
16
|
+
import { g as S } from "../../chunks/globalCss.js";
|
|
17
|
+
import R from "@arcgis/core/core/Accessor.js";
|
|
18
|
+
import { property as _, subclass as Z } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
19
19
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
20
20
|
See https://js.arcgis.com/4.34/esri/copyright.txt for details.
|
|
21
|
-
v4.34.0-next.
|
|
22
|
-
const d = "arcgis-bookmarks", y = `${d}__authoring`, C = `${d}__bookmark`, l = {
|
|
21
|
+
v4.34.0-next.86 */
|
|
22
|
+
const j = M`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-family:Avenir Next,Helvetica Neue,helvetica,arial,sans-serif;font-size:var(--calcite-font-size);line-height:1.3em}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:#303030}.esri-menu__list-item:active{background-color:#000}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:#2493f2}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:1.3em}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.arcgis-bookmarks{width:100%;overflow:hidden auto;transition:max-height .25s ease-in-out}.arcgis-bookmarks__empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.arcgis-bookmarks .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.arcgis-bookmarks calcite-flow-item[loading]{min-height:150px}.arcgis-bookmarks__loader{margin-inline-end:0}.arcgis-bookmarks__filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.arcgis-bookmarks__bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.arcgis-bookmarks__bookmark-image-container .arcgis-bookmarks__image{max-width:64px;overflow:hidden}.arcgis-bookmarks--drag-enabled .arcgis-bookmarks__bookmark-image-container{margin-inline-start:0}.arcgis-bookmarks__no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:16px;font-weight:400}.arcgis-bookmarks__authoring{display:flex;flex-direction:column}.arcgis-bookmarks__authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.arcgis-bookmarks__authoring-image-container .arcgis-bookmarks__image{max-width:128px;max-height:128px}.arcgis-bookmarks__form{display:flex;height:100%}.arcgis-bookmarks__form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.arcgis-bookmarks__authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.arcgis-bookmarks__bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--2)}.arcgis-bookmarks__bookmark-content calcite-table{margin-inline-start:-.25rem}.arcgis-bookmarks__bookmark-content calcite-table,.arcgis-bookmarks__bookmark-content calcite-table-row{--calcite-color-border-3: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-internal-table-row-background: transparent;pointer-events:none}`, d = "arcgis-bookmarks", I = `${d}__authoring`, C = `${d}__bookmark`, l = {
|
|
23
23
|
base: d,
|
|
24
24
|
empty: `${d}__empty`,
|
|
25
25
|
noBookmarksHeader: `${d}__no-bookmarks-heading`,
|
|
@@ -37,127 +37,124 @@ const d = "arcgis-bookmarks", y = `${d}__authoring`, C = `${d}__bookmark`, l = {
|
|
|
37
37
|
bookmarkImageContainer: `${C}-image-container`,
|
|
38
38
|
bookmarkContent: `${C}-content`,
|
|
39
39
|
bookmarkContentLabel: `${C}-content-label`,
|
|
40
|
-
authoring:
|
|
41
|
-
authoringImageContainer: `${
|
|
42
|
-
authoringRefreshThumbnailButton: `${
|
|
43
|
-
}
|
|
44
|
-
var
|
|
45
|
-
for (var
|
|
46
|
-
(
|
|
47
|
-
return i &&
|
|
40
|
+
authoring: I,
|
|
41
|
+
authoringImageContainer: `${I}-image-container`,
|
|
42
|
+
authoringRefreshThumbnailButton: `${I}-refresh-thumbnail-button`
|
|
43
|
+
};
|
|
44
|
+
var G = Object.defineProperty, J = Object.getOwnPropertyDescriptor, g = (n, e, t, i) => {
|
|
45
|
+
for (var r = i > 1 ? void 0 : i ? J(e, t) : e, o = n.length - 1, s; o >= 0; o--)
|
|
46
|
+
(s = n[o]) && (r = (i ? s(e, t, r) : s(r)) || r);
|
|
47
|
+
return i && r && G(e, t, r), r;
|
|
48
48
|
};
|
|
49
|
-
let m = class extends
|
|
50
|
-
constructor(
|
|
51
|
-
super(
|
|
49
|
+
let m = class extends R {
|
|
50
|
+
constructor(n) {
|
|
51
|
+
super(n);
|
|
52
52
|
}
|
|
53
53
|
get editedBookmark() {
|
|
54
|
-
const { bookmark:
|
|
55
|
-
return
|
|
54
|
+
const { bookmark: n } = this;
|
|
55
|
+
return n ? this._get("editedBookmark") || n.clone() : null;
|
|
56
56
|
}
|
|
57
57
|
get customUrl() {
|
|
58
58
|
if (this._customUrl)
|
|
59
59
|
return this._customUrl;
|
|
60
|
-
const
|
|
61
|
-
return
|
|
60
|
+
const n = this.editedBookmark?.thumbnail?.url ?? "";
|
|
61
|
+
return n ?? (b(n) ? n : null);
|
|
62
62
|
}
|
|
63
|
-
set customUrl(
|
|
64
|
-
this._customUrl =
|
|
63
|
+
set customUrl(n) {
|
|
64
|
+
this._customUrl = n;
|
|
65
65
|
}
|
|
66
66
|
get screenshotUrl() {
|
|
67
67
|
if (this._screenshotUrl)
|
|
68
68
|
return this._screenshotUrl;
|
|
69
|
-
const
|
|
70
|
-
return
|
|
69
|
+
const n = this.editedBookmark?.thumbnail?.url ?? "";
|
|
70
|
+
return n ?? (E(n) ? n : null);
|
|
71
71
|
}
|
|
72
|
-
set screenshotUrl(
|
|
73
|
-
this._screenshotUrl =
|
|
72
|
+
set screenshotUrl(n) {
|
|
73
|
+
this._screenshotUrl = n;
|
|
74
74
|
}
|
|
75
75
|
get state() {
|
|
76
76
|
return this._get("state");
|
|
77
77
|
}
|
|
78
|
-
set state(
|
|
79
|
-
this.validationState = void 0, this.creatingBookmark = void 0, this._set("state",
|
|
78
|
+
set state(n) {
|
|
79
|
+
this.validationState = void 0, this.creatingBookmark = void 0, this._set("state", n);
|
|
80
80
|
}
|
|
81
81
|
get thumbnailState() {
|
|
82
82
|
if (this._thumbnailState)
|
|
83
83
|
return this._thumbnailState;
|
|
84
|
-
const
|
|
85
|
-
return
|
|
84
|
+
const n = this.editedBookmark?.thumbnail?.url;
|
|
85
|
+
return n ? b(n) ? "url" : "screenshot" : "none";
|
|
86
86
|
}
|
|
87
|
-
set thumbnailState(
|
|
88
|
-
this._thumbnailState =
|
|
87
|
+
set thumbnailState(n) {
|
|
88
|
+
this._thumbnailState = n;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
|
|
91
|
+
g([
|
|
92
92
|
_()
|
|
93
93
|
], m.prototype, "bookmark", 2);
|
|
94
|
-
|
|
94
|
+
g([
|
|
95
95
|
_({ readOnly: !0 })
|
|
96
96
|
], m.prototype, "editedBookmark", 1);
|
|
97
|
-
|
|
97
|
+
g([
|
|
98
98
|
_()
|
|
99
99
|
], m.prototype, "_customUrl", 2);
|
|
100
|
-
|
|
100
|
+
g([
|
|
101
101
|
_()
|
|
102
102
|
], m.prototype, "customUrl", 1);
|
|
103
|
-
|
|
103
|
+
g([
|
|
104
104
|
_()
|
|
105
105
|
], m.prototype, "_screenshotUrl", 2);
|
|
106
|
-
|
|
106
|
+
g([
|
|
107
107
|
_()
|
|
108
108
|
], m.prototype, "screenshotUrl", 1);
|
|
109
|
-
|
|
109
|
+
g([
|
|
110
110
|
_()
|
|
111
111
|
], m.prototype, "state", 1);
|
|
112
|
-
|
|
112
|
+
g([
|
|
113
113
|
_()
|
|
114
114
|
], m.prototype, "_thumbnailState", 2);
|
|
115
|
-
|
|
115
|
+
g([
|
|
116
116
|
_()
|
|
117
117
|
], m.prototype, "thumbnailState", 1);
|
|
118
|
-
|
|
118
|
+
g([
|
|
119
119
|
_()
|
|
120
120
|
], m.prototype, "validationState", 2);
|
|
121
|
-
|
|
121
|
+
g([
|
|
122
122
|
_()
|
|
123
123
|
], m.prototype, "creatingBookmark", 2);
|
|
124
|
-
m =
|
|
125
|
-
|
|
124
|
+
m = g([
|
|
125
|
+
Z("UserState")
|
|
126
126
|
], m);
|
|
127
|
-
const
|
|
128
|
-
class
|
|
127
|
+
const K = q(z);
|
|
128
|
+
class Q extends L {
|
|
129
129
|
constructor() {
|
|
130
|
-
super(...arguments), this._guid =
|
|
131
|
-
this._editFlowItemEl =
|
|
132
|
-
}, this._storeRootFlowItem = (
|
|
133
|
-
this._rootFlowItemEl =
|
|
134
|
-
}, this._storeAddFlowItemNode = (
|
|
135
|
-
this._addFlowItemEl =
|
|
136
|
-
}, this._userState = null, this._userCreatingBookmark = !1, this.editIncludeTimeExtent = !1, this.position = "top-left", this.icon = "icon", this.closed = !1, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultEditOptions = this.viewModel.defaultEditOptions, this.bookmarks = this.viewModel.bookmarks, this.disabled = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.goToOverride = this.viewModel.goToOverride, this.showAddBookmarkButton = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditBookmarkButton = !1, this.showFilter = !1, this.hideFlow = !1, this.showHeading = !1, this.hideThumbnail = !1, this.hideTime = !1, this.timeDisabled = this.viewModel.capabilities.time, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisBookmarkEdit =
|
|
130
|
+
super(...arguments), this._guid = P(), this._addInputNode = null, this._editInputNode = null, this._urlEditInputNode = null, this._lastDragDetail = null, this.messages = V({}), this.viewModel = K(this), this._storeEditFlowItemNode = (e) => {
|
|
131
|
+
this._editFlowItemEl = e;
|
|
132
|
+
}, this._storeRootFlowItem = (e) => {
|
|
133
|
+
this._rootFlowItemEl = e;
|
|
134
|
+
}, this._storeAddFlowItemNode = (e) => {
|
|
135
|
+
this._addFlowItemEl = e;
|
|
136
|
+
}, this._userState = null, this._userCreatingBookmark = !1, this.editIncludeTimeExtent = !1, this.position = "top-left", this.icon = "icon", this.closed = !1, this.defaultCreateOptions = this.viewModel.defaultCreateOptions, this.defaultEditOptions = this.viewModel.defaultEditOptions, this.bookmarks = this.viewModel.bookmarks, this.disabled = !1, this.dragEnabled = !1, this.filterPlaceholder = "", this.filterText = "", this.headingLevel = 2, this.goToOverride = this.viewModel.goToOverride, this.showAddBookmarkButton = !1, this.showCloseButton = !1, this.showCollapseButton = !1, this.showEditBookmarkButton = !1, this.showFilter = !1, this.hideFlow = !1, this.showHeading = !1, this.hideThumbnail = !1, this.hideTime = !1, this.timeDisabled = this.viewModel.capabilities.time, this.autoDestroyDisabled = !1, this.state = this.viewModel.state, this.arcgisBookmarkEdit = y(), this.arcgisBookmarkSelect = y(), this.arcgisPropertyChange = O()("state"), this.arcgisReady = y();
|
|
137
137
|
}
|
|
138
138
|
static {
|
|
139
139
|
this.properties = { _userState: 16, _userStateValue: 16, _userValidationState: 16, _userThumbnailState: 16, _userCreatingBookmark: 16, editIncludeTimeExtent: 16, referenceElement: 1, position: 3, icon: 1, closed: 5, defaultCreateOptions: 0, defaultEditOptions: 0, bookmarks: 0, disabled: 5, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, headingLevel: 9, goToOverride: 0, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, hideFlow: 5, showHeading: 5, hideThumbnail: 5, hideTime: 5, timeDisabled: 5, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 3 };
|
|
140
140
|
}
|
|
141
141
|
static {
|
|
142
|
-
this.styles =
|
|
143
|
-
}
|
|
144
|
-
static {
|
|
145
|
-
this.shadowRootOptions = Z;
|
|
142
|
+
this.styles = j;
|
|
146
143
|
}
|
|
147
144
|
async destroy() {
|
|
148
145
|
await this.manager.destroy();
|
|
149
146
|
}
|
|
150
|
-
goTo(
|
|
151
|
-
return this.viewModel.goTo(
|
|
147
|
+
goTo(e) {
|
|
148
|
+
return this.viewModel.goTo(e);
|
|
152
149
|
}
|
|
153
150
|
loaded() {
|
|
154
151
|
this.manager.onLifecycle(() => [
|
|
155
152
|
this.viewModel.on("bookmark-select", this.arcgisBookmarkSelect.emit),
|
|
156
153
|
this.viewModel.on("bookmark-edit", this.arcgisBookmarkEdit.emit),
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
154
|
+
$(() => this._userState?.state, (e) => this._userStateValue = e, { initial: !0 }),
|
|
155
|
+
$(() => this._userState?.validationState, (e) => this._userValidationState = e, { initial: !0 }),
|
|
156
|
+
$(() => this._userState?.thumbnailState, (e) => this._userThumbnailState = e, { initial: !0 }),
|
|
157
|
+
$(() => this._userState?.creatingBookmark, (e) => this._userCreatingBookmark = !!e, { initial: !0 })
|
|
161
158
|
]);
|
|
162
159
|
}
|
|
163
160
|
startAddBookmark() {
|
|
@@ -170,85 +167,85 @@ class W extends H {
|
|
|
170
167
|
_clearState() {
|
|
171
168
|
this._userState = null;
|
|
172
169
|
}
|
|
173
|
-
_getTimeExtentStrings(
|
|
174
|
-
const { hideTime:
|
|
170
|
+
_getTimeExtentStrings(e) {
|
|
171
|
+
const { hideTime: t } = this, { timeExtent: i } = e;
|
|
175
172
|
if (!i)
|
|
176
173
|
return {};
|
|
177
|
-
const { start:
|
|
178
|
-
if (!
|
|
174
|
+
const { start: r, end: o } = i, s = o != null && (r == null || r.getTime() !== o.getTime()), u = r ? this._formatDate(r) : "", h = r && !t ? this._formatTime(r) : "";
|
|
175
|
+
if (!s)
|
|
179
176
|
return { startDate: u, startTime: h };
|
|
180
|
-
const f = this._formatDate(o),
|
|
181
|
-
return { startDate: u, startTime: h, endDate: f, endTime:
|
|
177
|
+
const f = this._formatDate(o), k = t ? "" : this._formatTime(o);
|
|
178
|
+
return { startDate: u, startTime: h, endDate: f, endTime: k };
|
|
182
179
|
}
|
|
183
180
|
_handleUrlEditInputChange() {
|
|
184
|
-
const { _userState:
|
|
185
|
-
if (!
|
|
181
|
+
const { _userState: e, _urlEditInputNode: t } = this, i = t?.value;
|
|
182
|
+
if (!e?.editedBookmark || !i)
|
|
186
183
|
return;
|
|
187
|
-
|
|
188
|
-
const
|
|
189
|
-
b(
|
|
184
|
+
e.validationState = void 0, E(e.editedBookmark.thumbnail?.url ?? "") && (e.screenshotUrl = e.editedBookmark.thumbnail?.url);
|
|
185
|
+
const r = { url: i };
|
|
186
|
+
b(r.url) && (e.customUrl = i, e.editedBookmark.thumbnail = r);
|
|
190
187
|
}
|
|
191
|
-
_getBookmarkTitle(
|
|
192
|
-
return (
|
|
188
|
+
_getBookmarkTitle(e) {
|
|
189
|
+
return (e?.name || this.messages.untitled) ?? "";
|
|
193
190
|
}
|
|
194
|
-
_formatDate(
|
|
195
|
-
if (!
|
|
191
|
+
_formatDate(e) {
|
|
192
|
+
if (!e)
|
|
196
193
|
return "";
|
|
197
|
-
const
|
|
198
|
-
return F(
|
|
194
|
+
const t = this.viewModel.view, i = t && "timeZone" in t ? t.timeZone : "system";
|
|
195
|
+
return F(e, {
|
|
199
196
|
...U("short-date"),
|
|
200
197
|
timeZone: i
|
|
201
198
|
});
|
|
202
199
|
}
|
|
203
|
-
_formatTime(
|
|
204
|
-
if (!
|
|
200
|
+
_formatTime(e) {
|
|
201
|
+
if (!e)
|
|
205
202
|
return "";
|
|
206
|
-
const
|
|
207
|
-
return F(
|
|
203
|
+
const t = this.viewModel.view, i = t && "timeZone" in t ? t.timeZone : "system";
|
|
204
|
+
return F(e, {
|
|
208
205
|
...U("long-time"),
|
|
209
206
|
timeZone: i
|
|
210
207
|
});
|
|
211
208
|
}
|
|
212
|
-
_onCalciteListOrderChange(
|
|
213
|
-
const { _lastDragDetail:
|
|
209
|
+
_onCalciteListOrderChange(e) {
|
|
210
|
+
const { _lastDragDetail: t, bookmarks: i } = this, { toEl: r, fromEl: o, dragEl: s, newIndex: u } = e;
|
|
214
211
|
if (!i.length)
|
|
215
212
|
return;
|
|
216
|
-
const h =
|
|
217
|
-
if (!o || !
|
|
213
|
+
const h = t?.newIndex === u && t?.dragEl === s && t?.toEl === r && t?.fromEl === o;
|
|
214
|
+
if (!o || !r || h)
|
|
218
215
|
return;
|
|
219
|
-
this._lastDragDetail =
|
|
220
|
-
const f = Array.from(o.children).filter((
|
|
221
|
-
i.sort((
|
|
222
|
-
const
|
|
223
|
-
return
|
|
216
|
+
this._lastDragDetail = e;
|
|
217
|
+
const f = Array.from(o.children).filter((k) => k?.matches("calcite-list-item")).map((k) => k.value);
|
|
218
|
+
i.sort((k, D) => {
|
|
219
|
+
const x = f.indexOf(k.uid), v = f.indexOf(D.uid);
|
|
220
|
+
return x > v ? 1 : x < v ? -1 : 0;
|
|
224
221
|
});
|
|
225
222
|
}
|
|
226
223
|
_endAddBookmark() {
|
|
227
224
|
this._clearState(), this._focusRootFlowItem();
|
|
228
225
|
}
|
|
229
|
-
_showEditBookmarkForm(
|
|
230
|
-
|
|
231
|
-
bookmark:
|
|
226
|
+
_showEditBookmarkForm(e) {
|
|
227
|
+
e && (this.editIncludeTimeExtent = !!e.timeExtent, this._userState = new m({
|
|
228
|
+
bookmark: e,
|
|
232
229
|
state: "edit"
|
|
233
230
|
}), requestAnimationFrame(() => {
|
|
234
231
|
this._editFlowItemEl?.setFocus();
|
|
235
|
-
}), this.viewModel.goTo(
|
|
232
|
+
}), this.viewModel.goTo(e));
|
|
236
233
|
}
|
|
237
234
|
async _createNewScreenshotUrl() {
|
|
238
235
|
return (await this.viewModel.createBookmark()).thumbnail?.url ?? null;
|
|
239
236
|
}
|
|
240
237
|
_storeCurrentUrl() {
|
|
241
|
-
const { _userState:
|
|
242
|
-
|
|
238
|
+
const { _userState: e } = this, t = e?.editedBookmark?.thumbnail?.url;
|
|
239
|
+
t && (b(t) ? e.customUrl = t : E(t) && (e.screenshotUrl = t));
|
|
243
240
|
}
|
|
244
|
-
async _handleThumbnailTypeSelect(
|
|
245
|
-
const { _userState:
|
|
246
|
-
if (!
|
|
241
|
+
async _handleThumbnailTypeSelect(e) {
|
|
242
|
+
const { _userState: t } = this;
|
|
243
|
+
if (!t)
|
|
247
244
|
return;
|
|
248
|
-
const { screenshotUrl: i, customUrl:
|
|
249
|
-
this._storeCurrentUrl(), o &&
|
|
250
|
-
url:
|
|
251
|
-
}),
|
|
245
|
+
const { screenshotUrl: i, customUrl: r, editedBookmark: o } = t, s = e === "screenshot" ? i ?? await this._createNewScreenshotUrl() : e === "url" && r ? r : null;
|
|
246
|
+
this._storeCurrentUrl(), o && s && (o.thumbnail = {
|
|
247
|
+
url: s
|
|
248
|
+
}), t.validationState = void 0, t.thumbnailState = e;
|
|
252
249
|
}
|
|
253
250
|
_focusRootFlowItem() {
|
|
254
251
|
requestAnimationFrame(() => {
|
|
@@ -258,71 +255,71 @@ class W extends H {
|
|
|
258
255
|
_closeEditBookmarkForm() {
|
|
259
256
|
this._clearState(), this._focusRootFlowItem();
|
|
260
257
|
}
|
|
261
|
-
_addBookmarkSubmitClick(
|
|
262
|
-
|
|
258
|
+
_addBookmarkSubmitClick(e) {
|
|
259
|
+
e.preventDefault(), this._addBookmarkSubmit();
|
|
263
260
|
}
|
|
264
261
|
async _addBookmarkSubmit() {
|
|
265
|
-
const { _addInputNode:
|
|
266
|
-
if (!
|
|
262
|
+
const { _addInputNode: e, _userState: t, viewModel: i, viewModel: { bookmarks: r } } = this;
|
|
263
|
+
if (!t)
|
|
267
264
|
return;
|
|
268
|
-
const o =
|
|
265
|
+
const o = e ? e.value.trim() : null;
|
|
269
266
|
if (!o) {
|
|
270
|
-
|
|
267
|
+
t.validationState = "name-required";
|
|
271
268
|
return;
|
|
272
269
|
}
|
|
273
|
-
|
|
274
|
-
const
|
|
275
|
-
|
|
276
|
-
}
|
|
277
|
-
async _editBookmarkAndClose(
|
|
278
|
-
const { viewModel: i, viewModel: { defaultEditOptions:
|
|
279
|
-
await i.editBookmark(
|
|
280
|
-
...
|
|
281
|
-
...
|
|
270
|
+
t.creatingBookmark = !0;
|
|
271
|
+
const s = await i.createBookmark();
|
|
272
|
+
s.name = o, r.add(s), this._endAddBookmark();
|
|
273
|
+
}
|
|
274
|
+
async _editBookmarkAndClose(e, t) {
|
|
275
|
+
const { viewModel: i, viewModel: { defaultEditOptions: r } } = this;
|
|
276
|
+
await i.editBookmark(e, {
|
|
277
|
+
...r,
|
|
278
|
+
...t
|
|
282
279
|
}), this._closeEditBookmarkForm();
|
|
283
280
|
}
|
|
284
|
-
_editBookmarkSubmit(
|
|
285
|
-
|
|
286
|
-
const { _userState:
|
|
287
|
-
if (!
|
|
281
|
+
_editBookmarkSubmit(e) {
|
|
282
|
+
e.preventDefault();
|
|
283
|
+
const { _userState: t, _editInputNode: i, editIncludeTimeExtent: r, _urlEditInputNode: o } = this;
|
|
284
|
+
if (!t?.bookmark || !t.editedBookmark)
|
|
288
285
|
return;
|
|
289
|
-
|
|
290
|
-
const
|
|
291
|
-
if (!
|
|
292
|
-
|
|
286
|
+
t.validationState = void 0, t.customUrl = void 0, t.screenshotUrl = void 0;
|
|
287
|
+
const s = i?.value.trim();
|
|
288
|
+
if (!s) {
|
|
289
|
+
t.validationState = "name-required";
|
|
293
290
|
return;
|
|
294
291
|
}
|
|
295
|
-
if (
|
|
292
|
+
if (t.bookmark.name = s, t.bookmark.thumbnail = t.editedBookmark.thumbnail, r || (t.bookmark.timeExtent = null), t.thumbnailState === "url" && o) {
|
|
296
293
|
const h = { url: o.value };
|
|
297
294
|
if (!b(h.url)) {
|
|
298
|
-
|
|
295
|
+
t.validationState = "absolute-url-required";
|
|
299
296
|
return;
|
|
300
297
|
}
|
|
301
|
-
|
|
302
|
-
} else
|
|
303
|
-
this._editBookmarkAndClose(
|
|
298
|
+
t.bookmark.thumbnail = h;
|
|
299
|
+
} else t.thumbnailState === "none" && (t.bookmark.thumbnail = null);
|
|
300
|
+
this._editBookmarkAndClose(t.bookmark, {
|
|
304
301
|
takeScreenshot: !1,
|
|
305
|
-
captureTimeExtent:
|
|
302
|
+
captureTimeExtent: r
|
|
306
303
|
});
|
|
307
304
|
}
|
|
308
|
-
_storeEditInput(
|
|
309
|
-
this._editInputNode =
|
|
305
|
+
_storeEditInput(e) {
|
|
306
|
+
this._editInputNode = e;
|
|
310
307
|
}
|
|
311
|
-
_storeAddInput(
|
|
312
|
-
this._addInputNode =
|
|
308
|
+
_storeAddInput(e) {
|
|
309
|
+
this._addInputNode = e;
|
|
313
310
|
}
|
|
314
|
-
_storeUrlEditInput(
|
|
315
|
-
this._urlEditInputNode =
|
|
311
|
+
_storeUrlEditInput(e) {
|
|
312
|
+
this._urlEditInputNode = e;
|
|
316
313
|
}
|
|
317
|
-
_deleteBookmark(
|
|
318
|
-
this._closeEditBookmarkForm(),
|
|
314
|
+
_deleteBookmark(e) {
|
|
315
|
+
this._closeEditBookmarkForm(), e && (this.viewModel.bookmarks.remove(e), e.destroy());
|
|
319
316
|
}
|
|
320
|
-
_goToBookmark(
|
|
321
|
-
this._clearState(), this.viewModel.goTo(
|
|
317
|
+
_goToBookmark(e) {
|
|
318
|
+
this._clearState(), this.viewModel.goTo(e);
|
|
322
319
|
}
|
|
323
320
|
async _updateThumbnail() {
|
|
324
|
-
const { _userState:
|
|
325
|
-
|
|
321
|
+
const { _userState: e, viewModel: t } = this;
|
|
322
|
+
e && (e.validationState = void 0, await t.editBookmark(e.editedBookmark, {
|
|
326
323
|
takeScreenshot: !0,
|
|
327
324
|
captureViewpoint: !1,
|
|
328
325
|
captureRotation: !1,
|
|
@@ -330,144 +327,144 @@ class W extends H {
|
|
|
330
327
|
captureTimeExtent: !1
|
|
331
328
|
}));
|
|
332
329
|
}
|
|
333
|
-
_handleCalciteListDragEnd(
|
|
334
|
-
const { fromEl:
|
|
335
|
-
|
|
330
|
+
_handleCalciteListDragEnd(e) {
|
|
331
|
+
const { fromEl: t, dragEl: i, oldIndex: r } = e;
|
|
332
|
+
t.insertBefore(i, t.children[r]);
|
|
336
333
|
}
|
|
337
334
|
render() {
|
|
338
|
-
return
|
|
335
|
+
return a`<div class=${c(T(l.base, S.widget, { [S.panel]: !this.closed }))}>${this._renderBookmarksContainer()}</div>`;
|
|
339
336
|
}
|
|
340
|
-
_renderNoBookmarksContainer(
|
|
341
|
-
const { messages:
|
|
342
|
-
return !
|
|
337
|
+
_renderNoBookmarksContainer(e) {
|
|
338
|
+
const { messages: t, viewModel: { state: i } } = this;
|
|
339
|
+
return !e.length && i !== "loading" ? a`<div class=${c(l.empty)}><calcite-icon icon=bookmark scale=l></calcite-icon>${H({ class: T(S.heading, l.noBookmarksHeader), level: this.headingLevel, children: t.noBookmarksHeading })}<p class=${c(l.noBookmarksDescription)}>${t.noBookmarksDescription}</p></div>` : null;
|
|
343
340
|
}
|
|
344
341
|
_renderEditBookmarkFlowItems() {
|
|
345
|
-
const
|
|
346
|
-
return !
|
|
342
|
+
const e = this._userStateValue === "edit", t = this._userState?.editedBookmark;
|
|
343
|
+
return !t || !e ? [] : this._renderEditingBookmark(t);
|
|
347
344
|
}
|
|
348
|
-
_renderBookmarkItems(
|
|
349
|
-
return
|
|
345
|
+
_renderBookmarkItems(e) {
|
|
346
|
+
return e ? e.toArray().map((t) => this._renderBookmark(t)) : [];
|
|
350
347
|
}
|
|
351
348
|
_renderBookmarksContainer() {
|
|
352
|
-
const { viewModel: { state:
|
|
353
|
-
|
|
349
|
+
const { viewModel: { state: e, bookmarks: t }, dragEnabled: i, messages: r, disabled: o, filterPlaceholder: s, filterText: u, closed: h, headingLevel: f } = this, k = t.filter((p) => p != null), x = k.length ? a`<calcite-list class=${c(l.list)} display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${s} .filterProps=${["label", "description", "metadata"]} .filterText=${u} .group=${`bookmarks-${this._guid}`} .label=${r.componentLabel ?? ""} selection-appearance=border selection-mode=none @calciteListDragEnd=${(p) => this._handleCalciteListDragEnd(p.detail)} @calciteListFilter=${(p) => this.filterText = p.currentTarget?.filterText ?? ""} @calciteListOrderChange=${(p) => this._onCalciteListOrderChange(p.detail)}>${this._renderBookmarkItems(k)}${this.showFilter ? a`<div class=${c(l.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${r.noBookmarksHeading}</div>;</calcite-notice></div>` : null}</calcite-list>` : null, v = [
|
|
350
|
+
a`<calcite-flow-item .closable=${this.showCloseButton} .closed=${h} .collapsible=${this.showCollapseButton} .disabled=${o} .heading=${this.showHeading ? r.componentLabel : void 0} .headingLevel=${f} .loading=${e === "loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${() => this.closed = !0} ${w(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(k)}${x}${this._renderAddBookmarkButton()}</calcite-flow-item>`,
|
|
354
351
|
this._renderAddingBookmark(),
|
|
355
352
|
this._renderEditBookmarkFlowItems()
|
|
356
353
|
];
|
|
357
|
-
return h ? null : this.hideFlow ?
|
|
354
|
+
return h ? null : this.hideFlow ? v : a`<calcite-flow>${v}</calcite-flow>`;
|
|
358
355
|
}
|
|
359
356
|
_renderAddBookmarkButton() {
|
|
360
|
-
const { messages:
|
|
361
|
-
return i &&
|
|
357
|
+
const { messages: e, disabled: t, viewModel: { view: i, state: r } } = this, o = this._userCreatingBookmark;
|
|
358
|
+
return i && r !== "loading" && this.showAddBookmarkButton ? a`<calcite-fab appearance=outline-fill class=${c(l.addBookmarkButton)} .disabled=${t || o} icon=plus kind=neutral .loading=${o} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark ?? B}></calcite-fab>` : null;
|
|
362
359
|
}
|
|
363
|
-
_renderEditContainer(
|
|
364
|
-
const { messages:
|
|
365
|
-
return this.showEditBookmarkButton ?
|
|
360
|
+
_renderEditContainer(e) {
|
|
361
|
+
const { messages: t } = this, i = `${t.edit} ${this._getBookmarkTitle(e)}`;
|
|
362
|
+
return this.showEditBookmarkButton ? a`<calcite-action appearance=transparent icon=pencil @click=${() => this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i ?? B}></calcite-action>` : null;
|
|
366
363
|
}
|
|
367
|
-
_renderBookmarkImage(
|
|
368
|
-
return
|
|
364
|
+
_renderBookmarkImage(e, t) {
|
|
365
|
+
return t ? a`<img alt class=${c(l.bookmarkImage)} src=${e.thumbnail?.url ?? B}>` : null;
|
|
369
366
|
}
|
|
370
|
-
_renderBookmarkTimeSwitch(
|
|
371
|
-
const { messages:
|
|
372
|
-
return i?.timeExtent ??
|
|
367
|
+
_renderBookmarkTimeSwitch(e) {
|
|
368
|
+
const { messages: t, viewModel: { view: i } } = this, { timeExtent: r } = e;
|
|
369
|
+
return i?.timeExtent ?? r ? a`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!r} @calciteSwitchChange=${(o) => {
|
|
373
370
|
this.editIncludeTimeExtent = !!o.currentTarget.checked;
|
|
374
371
|
}}></calcite-switch></calcite-label>` : null;
|
|
375
372
|
}
|
|
376
|
-
_renderEditBookmarkTimeExtent(
|
|
377
|
-
return this.editIncludeTimeExtent ? this._renderBookmarkTimeExtent(
|
|
373
|
+
_renderEditBookmarkTimeExtent(e) {
|
|
374
|
+
return this.editIncludeTimeExtent ? this._renderBookmarkTimeExtent(e) : null;
|
|
378
375
|
}
|
|
379
|
-
_renderTimeExtentDescription(
|
|
380
|
-
const { startDate:
|
|
381
|
-
if (!
|
|
376
|
+
_renderTimeExtentDescription(e) {
|
|
377
|
+
const { startDate: t, startTime: i, endDate: r, endTime: o } = this._getTimeExtentStrings(e);
|
|
378
|
+
if (!t)
|
|
382
379
|
return "";
|
|
383
|
-
const
|
|
384
|
-
return
|
|
380
|
+
const s = `${t} ${i}`, u = `${r} ${o}`;
|
|
381
|
+
return r ? `${s} - ${u}` : s;
|
|
385
382
|
}
|
|
386
|
-
_renderBookmarkTimeExtent(
|
|
387
|
-
const { messages: i } = this, { startDate:
|
|
388
|
-
return
|
|
383
|
+
_renderBookmarkTimeExtent(e, t = !1) {
|
|
384
|
+
const { messages: i } = this, { startDate: r, startTime: o, endDate: s, endTime: u } = this._getTimeExtentStrings(e), h = t ? null : a`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${s ? a`<calcite-table-header .heading=${i.endDate}></calcite-table-header>` : null}</calcite-table-row>`;
|
|
385
|
+
return r ? a`<calcite-table .caption=${i.timeExtent ?? ""} scale=s>${h}<calcite-table-row><calcite-table-cell>${r} ${o ? [a`<br>`, o] : null}</calcite-table-cell>${s ? a`<calcite-table-cell>${s}${u ? [a`<br>`, u] : null}</calcite-table-cell>` : null}</calcite-table-row></calcite-table>` : null;
|
|
389
386
|
}
|
|
390
|
-
_renderBookmarkActiveScrim(
|
|
391
|
-
return this.viewModel.activeBookmark ===
|
|
387
|
+
_renderBookmarkActiveScrim(e, t) {
|
|
388
|
+
return this.viewModel.activeBookmark === e && t ? a`<calcite-scrim loading></calcite-scrim>` : null;
|
|
392
389
|
}
|
|
393
|
-
_renderBookmarkActiveLoader(
|
|
394
|
-
return this.viewModel.activeBookmark ===
|
|
390
|
+
_renderBookmarkActiveLoader(e, t) {
|
|
391
|
+
return this.viewModel.activeBookmark === e && !t ? a`<calcite-loader class=${c(l.loader)} inline .label=${this.messages.loading ?? ""}></calcite-loader>` : null;
|
|
395
392
|
}
|
|
396
|
-
_renderBookmarkImageIcon(
|
|
397
|
-
return this.viewModel.activeBookmark !==
|
|
393
|
+
_renderBookmarkImageIcon(e, t) {
|
|
394
|
+
return this.viewModel.activeBookmark !== e && !t ? a`<calcite-icon icon=bookmark scale=s></calcite-icon>` : null;
|
|
398
395
|
}
|
|
399
|
-
_renderBookmarkThumbnail(
|
|
400
|
-
const
|
|
401
|
-
return
|
|
396
|
+
_renderBookmarkThumbnail(e) {
|
|
397
|
+
const t = !this.hideThumbnail && !!e.thumbnail?.url;
|
|
398
|
+
return a`<div class=${c(l.bookmarkImageContainer)} slot=content-start>${this._renderBookmarkActiveScrim(e, t)}${this._renderBookmarkImage(e, t)}${this._renderBookmarkActiveLoader(e, t)}${this._renderBookmarkImageIcon(e, t)}</div>`;
|
|
402
399
|
}
|
|
403
|
-
_renderBookmark(
|
|
404
|
-
return N(
|
|
400
|
+
_renderBookmark(e) {
|
|
401
|
+
return N(e.uid, a`<calcite-list-item class=${c(T({ [l.dragEnabled]: this.dragEnabled }))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${() => this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`);
|
|
405
402
|
}
|
|
406
|
-
_renderBookmarkContent(
|
|
407
|
-
return
|
|
403
|
+
_renderBookmarkContent(e) {
|
|
404
|
+
return a`<div class=${c(l.bookmarkContent)} slot=content><span class=${c(l.bookmarkContentLabel)}>${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e, !0)}</div>`;
|
|
408
405
|
}
|
|
409
|
-
_renderEditingBookmarkName(
|
|
410
|
-
const { messages:
|
|
411
|
-
return
|
|
406
|
+
_renderEditingBookmarkName(e) {
|
|
407
|
+
const { messages: t } = this, i = this._userValidationState === "name-required";
|
|
408
|
+
return a`<calcite-label>${t.title}<calcite-input class=${c(l.editBookmarkInput)} name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${w(this._storeEditInput)}></calcite-input>${i ? a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
|
|
412
409
|
}
|
|
413
410
|
_renderEditingBookmarkActions() {
|
|
414
|
-
const { messages:
|
|
411
|
+
const { messages: e, _userState: t } = this, i = t?.bookmark;
|
|
415
412
|
return [
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
413
|
+
a`<calcite-button appearance=transparent kind=danger @click=${() => this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,
|
|
414
|
+
a`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,
|
|
415
|
+
a`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`
|
|
419
416
|
];
|
|
420
417
|
}
|
|
421
|
-
_renderEditingTimeExtent(
|
|
422
|
-
const { capabilities:
|
|
423
|
-
return
|
|
418
|
+
_renderEditingTimeExtent(e) {
|
|
419
|
+
const { capabilities: t, view: i } = this.viewModel, { timeExtent: r } = e;
|
|
420
|
+
return t.time && (i?.timeExtent ?? r) ? a`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>` : null;
|
|
424
421
|
}
|
|
425
|
-
_renderEditingBookmarkImage(
|
|
426
|
-
const { _userThumbnailState:
|
|
427
|
-
if (
|
|
428
|
-
return this._renderBookmarkImage(
|
|
422
|
+
_renderEditingBookmarkImage(e) {
|
|
423
|
+
const { _userThumbnailState: t } = this, i = e.thumbnail?.url ?? "", r = b(i) ? t === "url" : E(i) ? t === "screenshot" : null;
|
|
424
|
+
if (r)
|
|
425
|
+
return this._renderBookmarkImage(e, r);
|
|
429
426
|
}
|
|
430
|
-
_renderEditingThumbnail(
|
|
431
|
-
const { _userThumbnailState:
|
|
432
|
-
return !i &&
|
|
427
|
+
_renderEditingThumbnail(e) {
|
|
428
|
+
const { _userThumbnailState: t, hideThumbnail: i } = this;
|
|
429
|
+
return !i && t !== "none" ? a`<div class=${c(l.authoringImageContainer)}>${this._renderEditingBookmarkImage(e)}</div>` : null;
|
|
433
430
|
}
|
|
434
431
|
_renderUpdateThumbnailButton() {
|
|
435
|
-
const { hideThumbnail:
|
|
436
|
-
return !
|
|
432
|
+
const { hideThumbnail: e, messages: t, _userThumbnailState: i } = this;
|
|
433
|
+
return !e && i === "screenshot" ? a`<calcite-button appearance=outline class=${c(l.authoringRefreshThumbnailButton)} icon-start=refresh kind=neutral @click=${() => void this._updateThumbnail()} width=full>${t.updateThumbnail}</calcite-button>` : null;
|
|
437
434
|
}
|
|
438
|
-
_renderEditingBookmarkUrlInput(
|
|
439
|
-
const { messages:
|
|
440
|
-
return
|
|
435
|
+
_renderEditingBookmarkUrlInput(e) {
|
|
436
|
+
const { messages: t, _userValidationState: i, _userThumbnailState: r } = this, o = e.thumbnail?.url ?? "", s = b(o) ? o : void 0, u = o && i === "absolute-url-required";
|
|
437
|
+
return r === "url" ? a`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t ? `https://<${t.imageUrlPlaceholder}>` : void 0} required title=${t.imageUrlTooltip ?? B} type=text .value=${s} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${w(this._storeUrlEditInput)}></calcite-input>${u ? a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>` : null}</calcite-label>` : null;
|
|
441
438
|
}
|
|
442
439
|
_renderThumbnailSelector() {
|
|
443
|
-
const { hideThumbnail:
|
|
444
|
-
return
|
|
440
|
+
const { hideThumbnail: e, messages: t, _userThumbnailState: i } = this;
|
|
441
|
+
return e ? null : a`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail ?? ""} selection-mode=single-persist @calciteChipGroupSelect=${(r) => this._handleThumbnailTypeSelect(r.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot ?? ""} .selected=${i === "screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url ?? ""} .selected=${i === "url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none ?? ""} .selected=${i === "none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`;
|
|
445
442
|
}
|
|
446
|
-
_renderEditingBookmark(
|
|
447
|
-
const { disabled:
|
|
448
|
-
return
|
|
443
|
+
_renderEditingBookmark(e) {
|
|
444
|
+
const { disabled: t, messages: i, headingLevel: r } = this;
|
|
445
|
+
return e ? a`<form class=${c(l.form)} @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit ?? ""} .headingLevel=${r} .selected=${this._userStateValue === "edit"} @calciteFlowItemBack=${(o) => {
|
|
449
446
|
o.preventDefault(), this._closeEditBookmarkForm();
|
|
450
|
-
}} ${
|
|
447
|
+
}} ${w(this._storeEditFlowItemNode)}><div class=${c(l.formContent)}><div class=${c(l.authoring)}>${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>` : null;
|
|
451
448
|
}
|
|
452
449
|
_renderAddingBookmarkName() {
|
|
453
|
-
const { messages:
|
|
454
|
-
return
|
|
450
|
+
const { messages: e } = this, t = this._userValidationState === "name-required";
|
|
451
|
+
return a`<calcite-label>${e.title}<calcite-input class=${c(l.addBookmarkInput)} name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${w(this._storeAddInput)}></calcite-input>${t ? a`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>` : null}</calcite-label>`;
|
|
455
452
|
}
|
|
456
453
|
_renderAddingBookmarkActions() {
|
|
457
|
-
const { messages:
|
|
454
|
+
const { messages: e } = this;
|
|
458
455
|
return [
|
|
459
|
-
|
|
460
|
-
|
|
456
|
+
a`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,
|
|
457
|
+
a`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`
|
|
461
458
|
];
|
|
462
459
|
}
|
|
463
460
|
_renderAddingBookmark() {
|
|
464
|
-
const { disabled:
|
|
465
|
-
return
|
|
461
|
+
const { disabled: e, messages: t, headingLevel: i, _userStateValue: r } = this;
|
|
462
|
+
return r === "add" ? a`<form class=${c(l.form)} @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${(o) => {
|
|
466
463
|
o.preventDefault(), this._endAddBookmark();
|
|
467
|
-
}} ${
|
|
464
|
+
}} ${w(this._storeAddFlowItemNode)}><div class=${c(l.formContent)}>${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>` : null;
|
|
468
465
|
}
|
|
469
466
|
}
|
|
470
|
-
A("arcgis-bookmarks",
|
|
467
|
+
A("arcgis-bookmarks", Q);
|
|
471
468
|
export {
|
|
472
|
-
|
|
469
|
+
Q as ArcgisBookmarks
|
|
473
470
|
};
|