@arcgis/map-components 4.32.0-next.21 → 4.32.0-next.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{AVK52HRN.js → 2F2V6HGD.js} +2 -2
- package/dist/arcgis-map-components/2GO72YU3.js +6 -0
- package/dist/arcgis-map-components/{VC64WSZG.js → 3BRNZFOI.js} +2 -2
- package/dist/arcgis-map-components/3HGOKDRP.js +6 -0
- package/dist/arcgis-map-components/467LZTCZ.js +6 -0
- package/dist/arcgis-map-components/{5E36Y6LW.js → 5ALVCF6N.js} +2 -2
- package/dist/arcgis-map-components/5EPFFKIJ.js +6 -0
- package/dist/arcgis-map-components/5NW3KNL4.js +6 -0
- package/dist/arcgis-map-components/{MIXPTOWS.js → 5YDFCE7J.js} +2 -2
- package/dist/arcgis-map-components/5ZINSNNT.js +6 -0
- package/dist/arcgis-map-components/6IQ5UUWE.js +6 -0
- package/dist/arcgis-map-components/6Q55WXV6.js +6 -0
- package/dist/arcgis-map-components/{3DBN7NBY.js → 6YYP7GTC.js} +2 -2
- package/dist/arcgis-map-components/{KXZJEXIL.js → 7JSNG7XL.js} +2 -2
- package/dist/arcgis-map-components/{YGYIOEST.js → A2X5YVRZ.js} +2 -2
- package/dist/arcgis-map-components/{TFDBIOU7.js → AACE67ZX.js} +2 -2
- package/dist/arcgis-map-components/AOR2Y4SU.js +6 -0
- package/dist/arcgis-map-components/BMOKKYTA.js +6 -0
- package/dist/arcgis-map-components/{IOTXSBMW.js → C4TJFQ6S.js} +2 -2
- package/dist/arcgis-map-components/{Z556VFKP.js → CJANHVSX.js} +2 -2
- package/dist/arcgis-map-components/{4JPI5FZ7.js → CLLTAYPK.js} +2 -2
- package/dist/arcgis-map-components/{YEDOBJVM.js → CMWST2HY.js} +2 -2
- package/dist/arcgis-map-components/{DOJRMVHP.js → COHYFVYI.js} +2 -2
- package/dist/arcgis-map-components/{LCX5VUD4.js → D5RR3SKN.js} +2 -2
- package/dist/arcgis-map-components/{JYCWSPOU.js → DRWVF6S5.js} +2 -2
- package/dist/arcgis-map-components/{L2YRXBR6.js → EKC43WOL.js} +2 -2
- package/dist/arcgis-map-components/{L6L75XFG.js → EQKHOCZE.js} +2 -2
- package/dist/arcgis-map-components/{UILXLOJJ.js → FDQCVQC2.js} +2 -2
- package/dist/arcgis-map-components/GGUHE3LB.js +6 -0
- package/dist/arcgis-map-components/{5E7EUJ5A.js → GTFCFONC.js} +2 -2
- package/dist/arcgis-map-components/{BMI4WHZK.js → I4WZXHD5.js} +2 -2
- package/dist/arcgis-map-components/{TA2WFOIS.js → IO7OUDSX.js} +2 -2
- package/dist/arcgis-map-components/{2U733VXV.js → J5FC7PZ3.js} +2 -2
- package/dist/arcgis-map-components/{YWIPYX56.js → JGOESNEX.js} +2 -2
- package/dist/arcgis-map-components/{EBLGHMSC.js → JUP57YWU.js} +2 -2
- package/dist/arcgis-map-components/{IM4FB5R3.js → KOWHGXFS.js} +2 -2
- package/dist/arcgis-map-components/KRSZTRE4.js +6 -0
- package/dist/arcgis-map-components/{VZH3CAF6.js → MIDWVT5J.js} +2 -2
- package/dist/arcgis-map-components/N52H4H5T.js +6 -0
- package/dist/arcgis-map-components/NMPQ7DBC.js +6 -0
- package/dist/arcgis-map-components/{Y6CAFLD6.js → NXQFXSB5.js} +2 -2
- package/dist/arcgis-map-components/{K2WCJUWA.js → OHAKKE3S.js} +2 -2
- package/dist/arcgis-map-components/{GEULEAEM.js → P4PYNNDH.js} +2 -2
- package/dist/arcgis-map-components/PF3QG77B.js +6 -0
- package/dist/arcgis-map-components/{3DN66BEC.js → PKBN2JWN.js} +2 -2
- package/dist/arcgis-map-components/{JQKDLJNY.js → QNBFKTDD.js} +2 -2
- package/dist/arcgis-map-components/{UPSGI4YB.js → QQ5HLWDO.js} +2 -2
- package/dist/arcgis-map-components/QYEDV3XN.js +6 -0
- package/dist/arcgis-map-components/{ZJ2P3FUV.js → RE7EMVVO.js} +2 -2
- package/dist/arcgis-map-components/ROKRHTKK.js +6 -0
- package/dist/arcgis-map-components/SPXAHAFL.js +6 -0
- package/dist/arcgis-map-components/SRC5FGW4.js +8 -0
- package/dist/arcgis-map-components/{7TFJYPQY.js → T26HFJLF.js} +2 -2
- package/dist/arcgis-map-components/{SJU5UCZD.js → TEQFX3CM.js} +2 -2
- package/dist/arcgis-map-components/{S3JBVJPX.js → UKBOVAO5.js} +2 -2
- package/dist/arcgis-map-components/{QQ3QW4JQ.js → UTVFQSTD.js} +2 -2
- package/dist/arcgis-map-components/V2VAQUBJ.js +6 -0
- package/dist/arcgis-map-components/{33AA3PEL.js → V364OQWA.js} +40 -40
- package/dist/arcgis-map-components/{7AY6XL2I.js → VHHUJVWN.js} +1 -1
- package/dist/arcgis-map-components/{ETF6MM6B.js → VHMYXI6J.js} +2 -2
- package/dist/arcgis-map-components/VIF4AHYD.js +6 -0
- package/dist/arcgis-map-components/WFYPKHEZ.js +6 -0
- package/dist/arcgis-map-components/{JVJRAPUX.js → XB4O2ELS.js} +2 -2
- package/dist/arcgis-map-components/{4LKLM5XC.js → XKHEU6ST.js} +2 -2
- package/dist/arcgis-map-components/XWZLPHBR.js +6 -0
- package/dist/arcgis-map-components/{XOXGIFMM.js → Y5WNEFOJ.js} +2 -2
- package/dist/arcgis-map-components/YDTAIZN3.js +6 -0
- package/dist/arcgis-map-components/{P4FLA3RN.js → YJMXTBOI.js} +1 -1
- package/dist/arcgis-map-components/{SNSKYHBC.js → YOCFU6OH.js} +2 -2
- package/dist/arcgis-map-components/YS23TDDC.js +6 -0
- package/dist/arcgis-map-components/{ZLJZTLQU.js → ZCXDEK3V.js} +2 -2
- package/dist/arcgis-map-components/{2DNTLMTB.js → ZJSXZB7R.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/arcgis-map-components/assets/basemap-gallery/images/basemap-toggle-64.svg +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ar.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.bg.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.bs.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ca.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.cs.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.da.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.de.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.el.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.en.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.es.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.et.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.fi.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.fr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.he.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.hr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.hu.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.id.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.it.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ja.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ko.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.lt.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.lv.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.nb.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.nl.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.pl.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.pt-BR.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.pt-PT.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ro.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.ru.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sk.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sl.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.sv.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.th.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.tr.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.uk.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.vi.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.zh-CN.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.zh-HK.json +1 -0
- package/dist/arcgis-map-components/assets/basemap-gallery/t9n/basemap-gallery.t9n.zh-TW.json +1 -0
- package/dist/chunks/basemap-gallery-item.js +55 -0
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
- package/dist/components/arcgis-attachments/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/basemap-gallery-resources.d.ts +15 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.d.ts +15 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +14 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/index.d.ts +3 -0
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/index.js +3 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +12 -12
- package/dist/components/arcgis-basemap-gallery/customElement.js +88 -15
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
- package/dist/components/arcgis-bookmarks/customElement.d.ts +1 -1
- package/dist/components/arcgis-bookmarks/customElement.js +1 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
- package/dist/components/arcgis-building-explorer/customElement.js +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-compass/customElement.d.ts +1 -1
- package/dist/components/arcgis-compass/customElement.js +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
- package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
- package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
- package/dist/components/arcgis-daylight/customElement.js +1 -1
- package/dist/components/arcgis-directional-pad/customElement.d.ts +1 -1
- package/dist/components/arcgis-directional-pad/customElement.js +1 -1
- package/dist/components/arcgis-directions/customElement.d.ts +1 -1
- package/dist/components/arcgis-directions/customElement.js +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +1 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
- package/dist/components/arcgis-editor/customElement.d.ts +1 -1
- package/dist/components/arcgis-editor/customElement.js +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
- package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
- package/dist/components/arcgis-expand/customElement.d.ts +1 -1
- package/dist/components/arcgis-expand/customElement.js +1 -1
- package/dist/components/arcgis-feature/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature/customElement.js +1 -1
- package/dist/components/arcgis-feature-form/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-form/customElement.js +1 -1
- package/dist/components/arcgis-feature-table/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-table/customElement.js +1 -1
- package/dist/components/arcgis-feature-templates/customElement.d.ts +1 -1
- package/dist/components/arcgis-feature-templates/customElement.js +1 -1
- package/dist/components/arcgis-features/customElement.d.ts +1 -1
- package/dist/components/arcgis-features/customElement.js +1 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
- package/dist/components/arcgis-floor-filter/customElement.js +1 -1
- package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
- package/dist/components/arcgis-fullscreen/customElement.js +1 -1
- package/dist/components/arcgis-histogram/customElement.d.ts +1 -1
- package/dist/components/arcgis-histogram/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-home/customElement.d.ts +1 -1
- package/dist/components/arcgis-home/customElement.js +1 -1
- package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-layer-list/customElement.js +1 -1
- package/dist/components/arcgis-legend/customElement.d.ts +1 -1
- package/dist/components/arcgis-legend/customElement.js +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
- package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
- package/dist/components/arcgis-locate/customElement.d.ts +1 -1
- package/dist/components/arcgis-locate/customElement.js +1 -1
- package/dist/components/arcgis-map/customElement.d.ts +1 -1
- package/dist/components/arcgis-map/customElement.js +1 -1
- package/dist/components/arcgis-measurement/customElement.d.ts +1 -1
- package/dist/components/arcgis-measurement/customElement.js +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
- package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
- package/dist/components/arcgis-placement/customElement.d.ts +1 -1
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +1 -1
- package/dist/components/arcgis-print/customElement.js +1 -1
- package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.d.ts +1 -1
- package/dist/components/arcgis-scene/customElement.js +1 -1
- package/dist/components/arcgis-search/customElement.d.ts +1 -1
- package/dist/components/arcgis-search/customElement.js +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
- package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
- package/dist/components/arcgis-sketch/customElement.d.ts +1 -1
- package/dist/components/arcgis-sketch/customElement.js +1 -1
- package/dist/components/arcgis-slice/customElement.d.ts +1 -1
- package/dist/components/arcgis-slice/customElement.js +1 -1
- package/dist/components/arcgis-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-slider/customElement.js +1 -1
- package/dist/components/arcgis-swipe/customElement.d.ts +1 -1
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
- package/dist/components/arcgis-table-list/customElement.js +1 -1
- package/dist/components/arcgis-time-slider/customElement.d.ts +1 -1
- package/dist/components/arcgis-time-slider/customElement.js +1 -1
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/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 +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +1 -1
- package/dist/components/arcgis-value-picker/customElement.js +1 -1
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management/index.d.ts +1 -1
- package/dist/components/arcgis-version-management/index.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/index.d.ts +1 -1
- package/dist/components/arcgis-version-management-version-list/index.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.d.ts +2 -2
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +1 -1
- package/dist/components/arcgis-weather/customElement.js +1 -1
- package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
- package/dist/components/arcgis-zoom/customElement.js +1 -1
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/api.json +56 -18
- package/dist/docs/docs.json +35 -13
- package/dist/docs/vscode.html-custom-data.json +20 -4
- package/dist/docs/web-types.json +16 -14
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/dist/support/basemapUtils.d.ts +3 -0
- package/dist/support/heading.d.ts +11 -0
- package/package.json +5 -5
- package/dist/arcgis-map-components/3XOMWGZP.js +0 -6
- package/dist/arcgis-map-components/6FDS3YVF.js +0 -6
- package/dist/arcgis-map-components/6QQZSC3U.js +0 -6
- package/dist/arcgis-map-components/6RZ3S2EF.js +0 -8
- package/dist/arcgis-map-components/7OHAZ62N.js +0 -6
- package/dist/arcgis-map-components/7SM4LN5H.js +0 -6
- package/dist/arcgis-map-components/7T4CPEUN.js +0 -6
- package/dist/arcgis-map-components/CQFEQEOG.js +0 -6
- package/dist/arcgis-map-components/LCD47EYR.js +0 -6
- package/dist/arcgis-map-components/LOVPVCP5.js +0 -6
- package/dist/arcgis-map-components/MZ2OHNBQ.js +0 -6
- package/dist/arcgis-map-components/MZBTFGYM.js +0 -6
- package/dist/arcgis-map-components/NV2JSNTY.js +0 -6
- package/dist/arcgis-map-components/P3FSTHG5.js +0 -6
- package/dist/arcgis-map-components/QPF7IYYE.js +0 -6
- package/dist/arcgis-map-components/QPIYXIHT.js +0 -6
- package/dist/arcgis-map-components/RS5GQRJB.js +0 -6
- package/dist/arcgis-map-components/S6I7VCVM.js +0 -6
- package/dist/arcgis-map-components/U5LSQVRU.js +0 -6
- package/dist/arcgis-map-components/UFQE6RTO.js +0 -6
- package/dist/arcgis-map-components/UKOX6DQF.js +0 -6
- package/dist/arcgis-map-components/WIUB5GL5.js +0 -6
- package/dist/arcgis-map-components/WYSLUAQV.js +0 -6
- package/dist/arcgis-map-components/ZDEHXZL7.js +0 -6
@@ -0,0 +1 @@
|
|
1
|
+
{"widgetLabel":"Altlık Harita Galerisi","noBasemaps":"Kullanılabilir altlık harita yok","tagBeta":"beta","tag3D":"3B","unsupported":"ı_Not supported in LinkChartView with a non-geographic layout_______________________________İ."}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"widgetLabel":"Галерея базових карт","noBasemaps":"Немає доступних базових карт","tagBeta":"бета","tag3D":"3D","unsupported":"ґ_Not supported in LinkChartView with a non-geographic layout_______________________________Ї."}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"widgetLabel":"Bộ sưu tập bản đồ nền","noBasemaps":"Không có bản đồ nền","tagBeta":"beta","tag3D":"3D","unsupported":"Đ_Not supported in LinkChartView with a non-geographic layout_______________________________ớ."}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"widgetLabel":"底图库","noBasemaps":"无可用底图","tagBeta":"beta","tag3D":"3D","unsupported":"试_Not supported in LinkChartView with a non-geographic layout_______________________________验."}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"widgetLabel":"底圖庫","noBasemaps":"沒有可用的底圖","tagBeta":"Beta","tag3D":"3D","unsupported":"試_Not supported in LinkChartView with a non-geographic layout_______________________________驗."}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"widgetLabel":"底圖庫","noBasemaps":"沒有可用的底圖","tagBeta":"Beta","tag3D":"3D","unsupported":"試_Not supported in LinkChartView with a non-geographic layout_______________________________驗."}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { classes as v } from "@arcgis/components-utils";
|
2
|
+
import { nothing as s, safeClassMap as r } from "@arcgis/lumina";
|
3
|
+
import { html as n } from "lit-html";
|
4
|
+
import { g as y } from "./runtime.js";
|
5
|
+
import { g as B } from "./globalCss.js";
|
6
|
+
/*!
|
7
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
9
|
+
* v4.32.0-next.23
|
10
|
+
*/
|
11
|
+
const t = "esri-basemap-gallery", i = {
|
12
|
+
base: t,
|
13
|
+
sourceLoading: `${t}--source-loading`,
|
14
|
+
// When set, the items are be displayed in a grid instead of stacked vertically.
|
15
|
+
layoutGrid: `${t}--grid`,
|
16
|
+
// When set, the thumbnail of each item is narrower, to allow the title to be wider.
|
17
|
+
narrowItems: `${t}--narrow-items`,
|
18
|
+
loader: `${t}__loader`,
|
19
|
+
item: `${t}__item`,
|
20
|
+
itemContainer: `${t}__item-container`,
|
21
|
+
itemContent: `${t}__item-content`,
|
22
|
+
itemTitle: `${t}__item-title`,
|
23
|
+
itemTagsContainer: `${t}__item-tags-container`,
|
24
|
+
itemThumbnail: `${t}__item-thumbnail`,
|
25
|
+
selectedItem: `${t}__item--selected`,
|
26
|
+
itemError: `${t}__item--error`
|
27
|
+
};
|
28
|
+
function C(a) {
|
29
|
+
return a.portalItem?.type === "Web Scene" || a.referenceLayers.some((e) => e.type === "scene");
|
30
|
+
}
|
31
|
+
function I(a) {
|
32
|
+
return !!a?.portalItem?.tags?.some((e) => e.toLowerCase() === "beta");
|
33
|
+
}
|
34
|
+
function G({ disabled: a, item: e, itemIndex: o, viewModel: c, messages: d, state: u }) {
|
35
|
+
const b = e.basemap.thumbnailUrl || y("assets/basemap-gallery/images/basemap-toggle-64.svg"), m = e.basemap.title, g = e.basemap.portalItem?.snippet, _ = e.error?.message || g || m, { activeBasemapIndex: p } = c, l = p === o, f = l || p === -1 && o === 0 ? 0 : -1, h = {
|
36
|
+
[i.selectedItem]: l,
|
37
|
+
[i.itemError]: e.state === "error"
|
38
|
+
}, $ = `basemapgallery-item-${e.uid}`;
|
39
|
+
return n`<div .ariaChecked=${l} .ariaDisabled=${a} aria-labelledby=${$ ?? s} class=${r(v(i.item, h))} data-item=${e ?? s} data-basemap=${e.basemap.id ?? s} role=radio tabindex=${f ?? s} title=${_ ?? s} @click=${() => {
|
40
|
+
e.state === "ready" && (c.activeBasemap = e.basemap);
|
41
|
+
}}><img alt class=${r(i.itemThumbnail)} src=${b ?? s}><div class=${r(i.itemContent)}><div class=${r(i.itemTitle)}><span id=${$ ?? s}>${m}</span></div>${C(e.basemap) ? T(e.basemap, d) : null}</div>${u === "ready" ? null : n`<calcite-scrim><span aria-hidden=true class=${r(B.loaderAnimation)} role=presentation></span></calcite-scrim>`}</div>`;
|
42
|
+
}
|
43
|
+
function T(a, e) {
|
44
|
+
return n`<div class=${r(i.itemTagsContainer)}>${D(e)}${I(a) ? x(e) : null}</div>`;
|
45
|
+
}
|
46
|
+
function D(a) {
|
47
|
+
return n`<calcite-chip scale=s .value=${a.tag3D}>${a.tag3D}</calcite-chip>`;
|
48
|
+
}
|
49
|
+
function x(a) {
|
50
|
+
return n`<calcite-chip appearance=outline-fill scale=s .value=${a.tagBeta}>${a.tagBeta}</calcite-chip>`;
|
51
|
+
}
|
52
|
+
export {
|
53
|
+
G as B,
|
54
|
+
i as c
|
55
|
+
};
|
@@ -1,7 +1,7 @@
|
|
1
1
|
/*!
|
2
2
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
3
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.
|
4
|
+
* v4.32.0-next.23
|
5
5
|
*/
|
6
6
|
function b(e, i) {
|
7
7
|
Array.isArray(i) ? e._watchHandles = [...e._watchHandles, ...i] : e._watchHandles.push(i);
|
@@ -2,7 +2,7 @@ import { devToolsAwareTimeout as d } from "@arcgis/components-utils";
|
|
2
2
|
/*!
|
3
3
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
4
4
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
5
|
-
* v4.32.0-next.
|
5
|
+
* v4.32.0-next.23
|
6
6
|
*/
|
7
7
|
function a(i) {
|
8
8
|
i.el.childElem ? i.el.isConnected || (i.view?.ui ? i.view.ui.remove(i.el.childElem) : i.widget?.view && i.widget.view.ui.remove(i.el.childElem), i._watchHandles && i._watchHandles.forEach((o) => {
|
package/dist/chunks/globalCss.js
CHANGED
package/dist/chunks/runtime.js
CHANGED
@@ -2,7 +2,7 @@ import { makeRuntime as t } from "@arcgis/lumina";
|
|
2
2
|
/*!
|
3
3
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
4
4
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
5
|
-
* v4.32.0-next.
|
5
|
+
* v4.32.0-next.23
|
6
6
|
*/
|
7
7
|
const s = t({ defaultAssetPath: "https://jsdev.arcgis.com/map-components/next/", hydratedAttribute: "hydrated" }), { customElement: a, getAssetPath: m, setAssetPath: o } = s;
|
8
8
|
export {
|
@@ -5,7 +5,7 @@ import { a as o } from "./component-utils.js";
|
|
5
5
|
/*!
|
6
6
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
7
7
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
8
|
-
* v4.32.0-next.
|
8
|
+
* v4.32.0-next.23
|
9
9
|
*/
|
10
10
|
const V = l(p), E = (s, e) => (i, t) => y(i, s, t);
|
11
11
|
class w extends d {
|
package/dist/chunks/useWidget.js
CHANGED
@@ -4,7 +4,7 @@ import { a as l } from "./component-utils.js";
|
|
4
4
|
/*!
|
5
5
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
6
6
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
7
|
-
* v4.32.0-next.
|
7
|
+
* v4.32.0-next.23
|
8
8
|
*/
|
9
9
|
const P = (d, s) => (i, e) => _(i, d, e);
|
10
10
|
class y extends p {
|
@@ -36,7 +36,7 @@ declare const useAreaMeasurement2dWidget: (component: import('@arcgis/components
|
|
36
36
|
} | undefined) => __esri.AreaMeasurement2D & {
|
37
37
|
viewModel: __esri.Accessor;
|
38
38
|
};
|
39
|
-
export declare class ArcgisAreaMeasurement2d extends LitElement
|
39
|
+
export declare class ArcgisAreaMeasurement2d extends LitElement {
|
40
40
|
/**
|
41
41
|
* If true, the component will not be destroyed automatically when it is
|
42
42
|
* disconnected from the document. This is useful when you want to move the
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*!
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.23
|
11
11
|
*/
|
12
12
|
const m = n`arcgis-area-measurement-2d{display:block}`, h = i(
|
13
13
|
// Workaround for https://devtopia.esri.com/WebGIS/arcgis-js-api/issues/61559
|
@@ -32,7 +32,7 @@ declare const useAreaMeasurement3dWidget: (component: import('@arcgis/components
|
|
32
32
|
}, options?: {
|
33
33
|
editConstructorProperties(props: __esri.AreaMeasurement3DProperties): __esri.AreaMeasurement3DProperties | Promise<__esri.AreaMeasurement3DProperties>;
|
34
34
|
} | undefined) => __esri.AreaMeasurement3D;
|
35
|
-
export declare class ArcgisAreaMeasurement3d extends LitElement
|
35
|
+
export declare class ArcgisAreaMeasurement3d extends LitElement {
|
36
36
|
readonly analysis: __esri.AreaMeasurementAnalysis;
|
37
37
|
/**
|
38
38
|
* If true, the component will not be destroyed automatically when it is
|
@@ -7,7 +7,7 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*!
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.23
|
11
11
|
*/
|
12
12
|
const l = n`arcgis-area-measurement-3d{display:block}`, d = i(e);
|
13
13
|
class h extends a {
|
@@ -32,7 +32,7 @@ declare const useAttachmentsWidget: (component: import('@arcgis/components-contr
|
|
32
32
|
}, options?: {
|
33
33
|
editConstructorProperties(props: __esri.AttachmentsProperties): __esri.AttachmentsProperties | Promise<__esri.AttachmentsProperties>;
|
34
34
|
} | undefined) => __esri.Attachments;
|
35
|
-
export declare class ArcgisAttachments extends LitElement
|
35
|
+
export declare class ArcgisAttachments extends LitElement {
|
36
36
|
/**
|
37
37
|
* If true, the component will not be destroyed automatically when it is
|
38
38
|
* disconnected from the document. This is useful when you want to move the
|
@@ -7,7 +7,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*!
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.23
|
11
11
|
*/
|
12
12
|
const n = h`arcgis-attachments{display:block}`, r = i(e);
|
13
13
|
class l extends a {
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare const css: {
|
2
|
+
readonly base: "esri-basemap-gallery";
|
3
|
+
readonly sourceLoading: "esri-basemap-gallery--source-loading";
|
4
|
+
readonly layoutGrid: "esri-basemap-gallery--grid";
|
5
|
+
readonly narrowItems: "esri-basemap-gallery--narrow-items";
|
6
|
+
readonly loader: "esri-basemap-gallery__loader";
|
7
|
+
readonly item: "esri-basemap-gallery__item";
|
8
|
+
readonly itemContainer: "esri-basemap-gallery__item-container";
|
9
|
+
readonly itemContent: "esri-basemap-gallery__item-content";
|
10
|
+
readonly itemTitle: "esri-basemap-gallery__item-title";
|
11
|
+
readonly itemTagsContainer: "esri-basemap-gallery__item-tags-container";
|
12
|
+
readonly itemThumbnail: "esri-basemap-gallery__item-thumbnail";
|
13
|
+
readonly selectedItem: "esri-basemap-gallery__item--selected";
|
14
|
+
readonly itemError: "esri-basemap-gallery__item--error";
|
15
|
+
};
|
package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.d.ts
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
2
|
+
import { TemplateResult } from 'lit-html';
|
3
|
+
import { ArcgisBasemapGallery } from '../../customElement.js';
|
4
|
+
type BasemapGalleryMessages = ArcgisBasemapGallery["messages"];
|
5
|
+
export declare function BasemapGalleryItem({ disabled, item, itemIndex, viewModel, messages, state, }: {
|
6
|
+
disabled: boolean;
|
7
|
+
item: __esri.BasemapGalleryItem & {
|
8
|
+
uid: string;
|
9
|
+
};
|
10
|
+
itemIndex: number;
|
11
|
+
viewModel: __esri.BasemapGalleryViewModel;
|
12
|
+
messages: BasemapGalleryMessages;
|
13
|
+
state: string;
|
14
|
+
}): TemplateResult;
|
15
|
+
export {};
|
package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
import "@arcgis/components-utils";
|
2
|
+
import "@arcgis/lumina";
|
3
|
+
import "lit-html";
|
4
|
+
import "../../../../chunks/runtime.js";
|
5
|
+
import { B as e } from "../../../../chunks/basemap-gallery-item.js";
|
6
|
+
import "../../../../chunks/globalCss.js";
|
7
|
+
/*!
|
8
|
+
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
|
+
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
+
* v4.32.0-next.23
|
11
|
+
*/
|
12
|
+
export {
|
13
|
+
e as BasemapGalleryItem
|
14
|
+
};
|
@@ -1,23 +1,23 @@
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
2
2
|
import { Use } from '@arcgis/components-controllers';
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
4
3
|
import { Nil } from '@arcgis/components-utils';
|
5
|
-
import { PublicLitElement as LitElement } from '@arcgis/lumina';
|
4
|
+
import { JsxNode, PublicLitElement as LitElement } from '@arcgis/lumina';
|
5
|
+
import { HeadingLevel } from '@esri/calcite-components';
|
6
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
6
7
|
|
7
|
-
declare const
|
8
|
+
declare const useBasemapGalleryViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
8
9
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
9
10
|
el: HTMLElement;
|
10
11
|
autoDestroyDisabled?: boolean;
|
11
12
|
destroy?: () => Promise<void>;
|
12
|
-
} & Pick<__esri.
|
13
|
+
} & Pick<__esri.BasemapGalleryViewModel, never> & {
|
13
14
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
14
|
-
state?:
|
15
|
-
viewModel?: __esri.BasemapGalleryViewModel | undefined;
|
15
|
+
state?: "ready" | "disabled" | "loading" | "unsupported" | undefined;
|
16
16
|
icon: Nil | string;
|
17
17
|
label: Nil | string;
|
18
18
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
19
|
-
position: __esri.UIPosition;
|
20
19
|
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
20
|
+
position: __esri.UIPosition;
|
21
21
|
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
22
22
|
name: string;
|
23
23
|
}> | undefined;
|
@@ -25,14 +25,14 @@ declare const useBasemapGalleryWidget: (component: import('@arcgis/components-co
|
|
25
25
|
childElem?: HTMLElement & {
|
26
26
|
ownedBy?: HTMLElement;
|
27
27
|
};
|
28
|
-
view?: __esri.MapView | __esri.SceneView |
|
28
|
+
view?: __esri.MapView | __esri.SceneView | undefined;
|
29
29
|
};
|
30
30
|
autoDestroyDisabled: boolean;
|
31
31
|
destroy: () => Promise<void>;
|
32
32
|
}, options?: {
|
33
|
-
editConstructorProperties(props:
|
34
|
-
} | undefined) => __esri.
|
35
|
-
export declare class ArcgisBasemapGallery extends LitElement
|
33
|
+
editConstructorProperties(props: unknown): unknown;
|
34
|
+
} | undefined) => __esri.BasemapGalleryViewModel;
|
35
|
+
export declare class ArcgisBasemapGallery extends LitElement {
|
36
36
|
activeBasemap: __esri.Basemap;
|
37
37
|
/**
|
38
38
|
* If true, the component will not be destroyed automatically when it is
|
@@ -43,7 +43,7 @@ export declare class ArcgisBasemapGallery extends LitElement implements Use<type
|
|
43
43
|
*/
|
44
44
|
autoDestroyDisabled: boolean;
|
45
45
|
disabled: boolean;
|
46
|
-
headingLevel:
|
46
|
+
headingLevel: HeadingLevel;
|
47
47
|
/**
|
48
48
|
* Icon which represents the component.
|
49
49
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
@@ -1,27 +1,51 @@
|
|
1
|
-
import { c as
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
6
|
-
import {
|
1
|
+
import { c as y } from "../../chunks/runtime.js";
|
2
|
+
import { html as d } from "lit-html";
|
3
|
+
import { load as u, usePropertyChange as f } from "@arcgis/components-controllers";
|
4
|
+
import { classes as g } from "@arcgis/components-utils";
|
5
|
+
import { importApplicationsComponentsBasemapUtils as b, importCoreReactiveUtils as M, newWidgetsBasemapGalleryBasemapGalleryViewModel as $ } from "@arcgis/core-adapter";
|
6
|
+
import { safeClassMap as r, LitElement as B, createEvent as _, noShadowRoot as x, nothing as v, safeStyleMap as R } from "@arcgis/lumina";
|
7
|
+
import { u as L, m as E } from "../../chunks/useViewModel.js";
|
8
|
+
import { unsafeStatic as I, html as U } from "lit/static-html.js";
|
9
|
+
import { g as n } from "../../chunks/globalCss.js";
|
10
|
+
import { c as l, B as C } from "../../chunks/basemap-gallery-item.js";
|
11
|
+
import { css as D } from "@lit/reactive-element/css-tag.js";
|
7
12
|
/*!
|
8
13
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
14
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
-
* v4.32.0-next.
|
15
|
+
* v4.32.0-next.23
|
11
16
|
*/
|
12
|
-
|
13
|
-
|
17
|
+
function S({ level: o, class: t, children: e }) {
|
18
|
+
const s = G(o), i = `h${s}`, a = I(i);
|
19
|
+
return U`<${a} .ariaLevel=${String(s)} class=${r(g(n.heading, t))} role=heading>${e}</${a}>`;
|
20
|
+
}
|
21
|
+
function A(o, t, e) {
|
22
|
+
return Math.min(Math.max(o, t), e);
|
23
|
+
}
|
24
|
+
function G(o) {
|
25
|
+
return A(Math.ceil(o), 1, 6);
|
26
|
+
}
|
27
|
+
const k = D`arcgis-basemap-gallery{display:block}`, K = E($), m = {
|
28
|
+
// Below this width, items are displayed as a single column and the thumbnail is placed above the title.
|
29
|
+
small: 200,
|
30
|
+
// Below this width, items are displayed as a single column but with the thumbnail side-by-side
|
31
|
+
// with the title. The title is square.
|
32
|
+
default: 280,
|
33
|
+
// Below this width, items are displayed as in `default`, but the thumbnail has an aspect ratio of 1.5
|
34
|
+
// Above this width, items are displayed in a grid.
|
35
|
+
wide: 420
|
36
|
+
};
|
37
|
+
class H extends B {
|
14
38
|
constructor() {
|
15
|
-
super(...arguments), this.
|
39
|
+
super(...arguments), this.messages = L({}), this.viewModel = K(this), this.basemapUtils = u(b), this.reactiveUtils = u(M), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.disabled = !1, this.headingLevel = 2, this.icon = "basemap", this.label = "", this.position = "bottom-left", this.source = this.viewModel.source, this.state = this.viewModel.state, this._width = 0, this._state = "", this._itemsState = "", this.arcgisPropertyChange = f()("activeBasemap", "state"), this.arcgisReady = _();
|
16
40
|
}
|
17
41
|
static {
|
18
|
-
this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, disabled: 7, headingLevel: 9, icon: 1, label: 1, position: 1, referenceElement: 1, source: 0, state: 3 };
|
42
|
+
this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, disabled: 7, headingLevel: 9, icon: 1, label: 1, position: 1, referenceElement: 1, source: 0, state: 3, _width: 16, _state: 16, _itemsState: 16 };
|
19
43
|
}
|
20
44
|
static {
|
21
|
-
this.shadowRootOptions =
|
45
|
+
this.shadowRootOptions = x;
|
22
46
|
}
|
23
47
|
static {
|
24
|
-
this.styles =
|
48
|
+
this.styles = k;
|
25
49
|
}
|
26
50
|
// #endregion
|
27
51
|
// #region Public Methods
|
@@ -29,8 +53,57 @@ class c extends a {
|
|
29
53
|
async destroy() {
|
30
54
|
await this.manager.destroy();
|
31
55
|
}
|
56
|
+
// #endregion
|
57
|
+
// #region Lifecycle
|
58
|
+
loaded() {
|
59
|
+
this.manager.onLifecycle(() => [
|
60
|
+
this.reactiveUtils.when(() => this.source, () => {
|
61
|
+
this.viewModel.loadSource();
|
62
|
+
}, { sync: !0, initial: !0 }),
|
63
|
+
this.reactiveUtils.watch(() => this.source.state, () => {
|
64
|
+
this._state = this.source.state;
|
65
|
+
}, { sync: !0 }),
|
66
|
+
this.reactiveUtils.watch(() => this.viewModel.items.filter((s) => s.state !== "ready").length, (s) => {
|
67
|
+
this._itemsState = s > 0 ? "loading" : "ready";
|
68
|
+
}, { sync: !0 }),
|
69
|
+
this.reactiveUtils.watch(() => this.viewModel.activeBasemap, () => {
|
70
|
+
this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap.id}"]`)?.focus();
|
71
|
+
}, { sync: !0 })
|
72
|
+
]);
|
73
|
+
const t = new ResizeObserver((s) => {
|
74
|
+
for (const i of s)
|
75
|
+
this._width = i.contentRect.width;
|
76
|
+
}), e = this.el.childElem;
|
77
|
+
e && t.observe(e);
|
78
|
+
}
|
79
|
+
render() {
|
80
|
+
const t = this.source.state === "loading", e = this.disabled || this.state === "disabled", s = this.viewModel.items, i = {
|
81
|
+
[l.sourceLoading]: t,
|
82
|
+
[n.disabled]: e,
|
83
|
+
"esri-component": !0
|
84
|
+
// For compatibility with Esri View UI
|
85
|
+
}, a = this._width;
|
86
|
+
a <= m.small || a >= m.wide ? i[l.layoutGrid] = !0 : a < m.default && (i[l.narrowItems] = !0);
|
87
|
+
const h = t ? d`<div class=${r(l.loader)}></div>` : null, c = t ? null : s.length > 0 ? d`<div aria-disabled=${this.disabled ?? v} aria-label=${this.label ?? v} class=${r(l.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((p, w) => C({ disabled: e, item: p, itemIndex: w, viewModel: this.viewModel, messages: this.messages, state: p.state }))}</div>` : d`<div class=${r(n.empty)}>${S({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
|
88
|
+
return d`<div class=${r(g(l.base, n.widget, n.panel, i))} style=${R({
|
89
|
+
"--esri-basemap-gallery-small": `${m.small}px`
|
90
|
+
})}>${[h, c]}</div>`;
|
91
|
+
}
|
92
|
+
// #endregion
|
93
|
+
// #region Private Methods
|
94
|
+
_getRoundRobinIndex(t, e) {
|
95
|
+
return (t + e) % e;
|
96
|
+
}
|
97
|
+
_handleKeyDown(t) {
|
98
|
+
const { key: e } = t;
|
99
|
+
if (!["ArrowUp", "ArrowDown", "ArrowRight", "ArrowLeft"].includes(e))
|
100
|
+
return;
|
101
|
+
t.preventDefault();
|
102
|
+
const { items: i, activeBasemapIndex: a } = this.viewModel, h = e === "ArrowUp" || e === "ArrowLeft" ? this._getRoundRobinIndex(Math.max(a - 1, -1), i.length) : this._getRoundRobinIndex(a + 1, i.length), c = i.at(h);
|
103
|
+
c?.state === "ready" && (this.viewModel.activeBasemap = c.basemap);
|
104
|
+
}
|
32
105
|
}
|
33
|
-
|
106
|
+
y("arcgis-basemap-gallery", H);
|
34
107
|
export {
|
35
|
-
|
108
|
+
H as ArcgisBasemapGallery
|
36
109
|
};
|
@@ -32,7 +32,7 @@ declare const useBasemapLayerListWidget: (component: import('@arcgis/components-
|
|
32
32
|
}, options?: {
|
33
33
|
editConstructorProperties(props: __esri.BasemapLayerListProperties): __esri.BasemapLayerListProperties | Promise<__esri.BasemapLayerListProperties>;
|
34
34
|
} | undefined) => __esri.BasemapLayerList;
|
35
|
-
export declare class ArcgisBasemapLayerList extends LitElement
|
35
|
+
export declare class ArcgisBasemapLayerList extends LitElement {
|
36
36
|
/**
|
37
37
|
* If true, the component will not be destroyed automatically when it is
|
38
38
|
* disconnected from the document. This is useful when you want to move the
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*!
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
11
|
-
* v4.32.0-next.
|
11
|
+
* v4.32.0-next.23
|
12
12
|
*/
|
13
13
|
const n = h`arcgis-basemap-layer-list{display:block}`, d = s(i);
|
14
14
|
class c extends r {
|
@@ -31,7 +31,7 @@ declare const useBasemapToggleViewModel: (component: import('@arcgis/components-
|
|
31
31
|
}, options?: {
|
32
32
|
editConstructorProperties(props: unknown): unknown;
|
33
33
|
} | undefined) => __esri.BasemapToggleViewModel;
|
34
|
-
export declare class ArcgisBasemapToggle extends LitElement
|
34
|
+
export declare class ArcgisBasemapToggle extends LitElement {
|
35
35
|
private messages;
|
36
36
|
readonly activeBasemap: __esri.Basemap;
|
37
37
|
/**
|
@@ -10,7 +10,7 @@ import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*!
|
11
11
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
12
12
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
13
|
-
* v4.32.0-next.
|
13
|
+
* v4.32.0-next.23
|
14
14
|
*/
|
15
15
|
const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
16
16
|
base: s,
|
@@ -32,7 +32,7 @@ declare const useBookmarksWidget: (component: import('@arcgis/components-control
|
|
32
32
|
}, options?: {
|
33
33
|
editConstructorProperties(props: __esri.BookmarksProperties): __esri.BookmarksProperties | Promise<__esri.BookmarksProperties>;
|
34
34
|
} | undefined) => __esri.Bookmarks;
|
35
|
-
export declare class ArcgisBookmarks extends LitElement
|
35
|
+
export declare class ArcgisBookmarks extends LitElement {
|
36
36
|
/**
|
37
37
|
* If true, the component will not be destroyed automatically when it is
|
38
38
|
* disconnected from the document. This is useful when you want to move the
|
@@ -8,7 +8,7 @@ import { css as d } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*!
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
11
|
-
* v4.32.0-next.
|
11
|
+
* v4.32.0-next.23
|
12
12
|
*/
|
13
13
|
const r = d`arcgis-bookmarks{display:block}`, n = o(e);
|
14
14
|
class m extends a {
|
@@ -32,7 +32,7 @@ declare const useBuildingExplorerWidget: (component: import('@arcgis/components-
|
|
32
32
|
}, options?: {
|
33
33
|
editConstructorProperties(props: __esri.BuildingExplorerProperties): __esri.BuildingExplorerProperties | Promise<__esri.BuildingExplorerProperties>;
|
34
34
|
} | undefined) => __esri.BuildingExplorer;
|
35
|
-
export declare class ArcgisBuildingExplorer extends LitElement
|
35
|
+
export declare class ArcgisBuildingExplorer extends LitElement {
|
36
36
|
/**
|
37
37
|
* If true, the component will not be destroyed automatically when it is
|
38
38
|
* disconnected from the document. This is useful when you want to move the
|
@@ -7,7 +7,7 @@ import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*!
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.23
|
11
11
|
*/
|
12
12
|
const a = r`arcgis-building-explorer{display:block}`, d = s(i);
|
13
13
|
class n extends l {
|
@@ -32,7 +32,7 @@ declare const useCatalogLayerListWidget: (component: import('@arcgis/components-
|
|
32
32
|
}, options?: {
|
33
33
|
editConstructorProperties(props: __esri.CatalogLayerListProperties): __esri.CatalogLayerListProperties | Promise<__esri.CatalogLayerListProperties>;
|
34
34
|
} | undefined) => __esri.CatalogLayerList;
|
35
|
-
export declare class ArcgisCatalogLayerList extends LitElement
|
35
|
+
export declare class ArcgisCatalogLayerList extends LitElement {
|
36
36
|
/**
|
37
37
|
* If true, the component will not be destroyed automatically when it is
|
38
38
|
* disconnected from the document. This is useful when you want to move the
|
@@ -8,7 +8,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*!
|
9
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
10
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
11
|
-
* v4.32.0-next.
|
11
|
+
* v4.32.0-next.23
|
12
12
|
*/
|
13
13
|
const d = h`arcgis-catalog-layer-list{display:block}`, n = s(i);
|
14
14
|
class c extends o {
|
@@ -31,7 +31,7 @@ declare const useCompassViewModel: (component: import('@arcgis/components-contro
|
|
31
31
|
}, options?: {
|
32
32
|
editConstructorProperties(props: unknown): unknown;
|
33
33
|
} | undefined) => __esri.CompassViewModel;
|
34
|
-
export declare class ArcgisCompass extends LitElement
|
34
|
+
export declare class ArcgisCompass extends LitElement {
|
35
35
|
private messages;
|
36
36
|
/**
|
37
37
|
* If true, the component will not be destroyed automatically when it is
|
@@ -10,7 +10,7 @@ import { css as $ } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*!
|
11
11
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
12
12
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
13
|
-
* v4.32.0-next.
|
13
|
+
* v4.32.0-next.23
|
14
14
|
*/
|
15
15
|
const b = $`arcgis-compass{display:block}`, a = "esri-compass", r = {
|
16
16
|
base: a,
|
@@ -32,7 +32,7 @@ declare const useCoordinateConversionWidget: (component: import('@arcgis/compone
|
|
32
32
|
}, options?: {
|
33
33
|
editConstructorProperties(props: __esri.CoordinateConversionProperties): __esri.CoordinateConversionProperties | Promise<__esri.CoordinateConversionProperties>;
|
34
34
|
} | undefined) => __esri.CoordinateConversion;
|
35
|
-
export declare class ArcgisCoordinateConversion extends LitElement
|
35
|
+
export declare class ArcgisCoordinateConversion extends LitElement {
|
36
36
|
/**
|
37
37
|
* If true, the component will not be destroyed automatically when it is
|
38
38
|
* disconnected from the document. This is useful when you want to move the
|
@@ -7,7 +7,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*!
|
8
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.23
|
11
11
|
*/
|
12
12
|
const l = h`arcgis-coordinate-conversion{display:block}`, c = n(s);
|
13
13
|
class g extends r {
|
@@ -32,7 +32,7 @@ declare const useDaylightWidget: (component: import('@arcgis/components-controll
|
|
32
32
|
}, options?: {
|
33
33
|
editConstructorProperties(props: __esri.DaylightProperties): __esri.DaylightProperties | Promise<__esri.DaylightProperties>;
|
34
34
|
} | undefined) => __esri.Daylight;
|
35
|
-
export declare class ArcgisDaylight extends LitElement
|
35
|
+
export declare class ArcgisDaylight extends LitElement {
|
36
36
|
/**
|
37
37
|
* If true, the component will not be destroyed automatically when it is
|
38
38
|
* disconnected from the document. This is useful when you want to move the
|
@@ -6,7 +6,7 @@ import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*!
|
7
7
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
8
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
9
|
-
* v4.32.0-next.
|
9
|
+
* v4.32.0-next.23
|
10
10
|
*/
|
11
11
|
const o = h`arcgis-daylight{display:block}`, d = t(i);
|
12
12
|
class n extends s {
|
@@ -32,7 +32,7 @@ declare const useDirectionalPadWidget: (component: import('@arcgis/components-co
|
|
32
32
|
}, options?: {
|
33
33
|
editConstructorProperties(props: __esri.DirectionalPadProperties): __esri.DirectionalPadProperties | Promise<__esri.DirectionalPadProperties>;
|
34
34
|
} | undefined) => __esri.DirectionalPad;
|
35
|
-
export declare class ArcgisDirectionalPad extends LitElement
|
35
|
+
export declare class ArcgisDirectionalPad extends LitElement {
|
36
36
|
/**
|
37
37
|
* If true, the component will not be destroyed automatically when it is
|
38
38
|
* disconnected from the document. This is useful when you want to move the
|