@arcgis/map-components 5.2.0-next.120 → 5.2.0-next.121
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/{YZUEPMQZ.js → 24SNB22W.js} +1 -1
- package/dist/cdn/33C5FBRZ.js +2 -0
- package/dist/cdn/{POEFPML6.js → 55AZTWOF.js} +1 -1
- package/dist/cdn/{2DDAZ3QO.js → 56PUZWIU.js} +1 -1
- package/dist/cdn/{23KFFLAG.js → 5E2DZJWK.js} +1 -1
- package/dist/cdn/{U35IJFNU.js → 6VR7MKOM.js} +1 -1
- package/dist/cdn/6XJFRQ75.js +2 -0
- package/dist/cdn/{UJVNCEXT.js → 7KWX2CED.js} +1 -1
- package/dist/cdn/7WBDTHNZ.js +2 -0
- package/dist/cdn/{RRC7AD75.js → ALEBI75Z.js} +1 -1
- package/dist/cdn/BAV6JF4F.js +2 -0
- package/dist/cdn/{HNMWTX7W.js → BEZWJEYM.js} +1 -1
- package/dist/cdn/{KKDZFKGV.js → BFVEHL3M.js} +1 -1
- package/dist/cdn/{LCNYVSCF.js → BTQUD5J4.js} +1 -1
- package/dist/cdn/DAPKG4DY.js +2 -0
- package/dist/cdn/DOR5MVML.js +2 -0
- package/dist/cdn/{GN4BH6SY.js → EMJLCAFX.js} +1 -1
- package/dist/cdn/{F5EC22X4.js → ESISPXFF.js} +1 -1
- package/dist/cdn/{2L6YCWXJ.js → EUV2XFUO.js} +1 -1
- package/dist/cdn/{LBVSFCZG.js → FR7ARNMJ.js} +1 -1
- package/dist/cdn/GC4D3K6B.js +2 -0
- package/dist/cdn/{BFGF2JTH.js → GLOUXFQV.js} +1 -1
- package/dist/cdn/GYTTYWIC.js +2 -0
- package/dist/cdn/{W5O3OCTG.js → H5FV4C72.js} +1 -1
- package/dist/cdn/{JKZMOIRA.js → HGCKG3CA.js} +1 -1
- package/dist/cdn/{P2X5UYZB.js → I2IBXGQM.js} +1 -1
- package/dist/cdn/{CWQN57H6.js → IZ7UWAQP.js} +1 -1
- package/dist/cdn/{Z3JADSL3.js → J4TWDZII.js} +1 -1
- package/dist/cdn/{CST7D7GR.js → JGHPNDIO.js} +1 -1
- package/dist/cdn/{OMZESNEM.js → JOOXDIS7.js} +1 -1
- package/dist/cdn/{KGBACXRG.js → JRFQGFRL.js} +1 -1
- package/dist/cdn/{ZSQCIUGN.js → KIHX5LRN.js} +1 -1
- package/dist/cdn/{FAN45DMA.js → LM6RYRCS.js} +1 -1
- package/dist/cdn/{REDWVTQJ.js → LP2PF2VT.js} +1 -1
- package/dist/cdn/{4IB44LRA.js → LWW6FUI2.js} +1 -1
- package/dist/cdn/{LH33ZRF7.js → MFBQRTJ3.js} +1 -1
- package/dist/cdn/{5RBUI62E.js → MLJ5RYY3.js} +1 -1
- package/dist/cdn/{WWGWIJMC.js → NZSCPBS7.js} +1 -1
- package/dist/cdn/{PQTX5YLB.js → OKW62U6T.js} +1 -1
- package/dist/cdn/{3OQZ3SMG.js → OPLR5W7O.js} +1 -1
- package/dist/cdn/{JD46SR26.js → Q6LQ5BUX.js} +1 -1
- package/dist/cdn/{HGYJFGKA.js → QGFWUN5S.js} +1 -1
- package/dist/cdn/{X7KSMNND.js → QIEX43LK.js} +1 -1
- package/dist/cdn/{B6JX5OWP.js → QNHJY7QE.js} +1 -1
- package/dist/cdn/RVJTWRVG.js +2 -0
- package/dist/cdn/{2KN3VFRG.js → TH6TT77M.js} +1 -1
- package/dist/cdn/TIDNGXMD.js +2 -0
- package/dist/cdn/{6XZKWBWD.js → TVZZB4KV.js} +1 -1
- package/dist/cdn/{XO3NPMHQ.js → UA5FRNJG.js} +1 -1
- package/dist/cdn/{SEMVPT7E.js → UJUD6U2G.js} +1 -1
- package/dist/cdn/{MZZGKPLV.js → UXUG6DBJ.js} +1 -1
- package/dist/cdn/{TL7OKFLN.js → V7BQUMJL.js} +1 -1
- package/dist/cdn/{TNY5ERJS.js → VSJ3MYSY.js} +1 -1
- package/dist/cdn/{IR2RGKT4.js → WC2DVIUW.js} +1 -1
- package/dist/cdn/{Q6MJXAPZ.js → WNLOSRMS.js} +1 -1
- package/dist/cdn/{6SKPV2U5.js → XGZ36AOT.js} +1 -1
- package/dist/cdn/{NEQHSO5U.js → XP4IZ2KQ.js} +1 -1
- package/dist/cdn/{D3F6S7NU.js → XQKZNHH7.js} +1 -1
- package/dist/cdn/{3VGRIUOZ.js → Y3Y3AB5L.js} +1 -1
- package/dist/cdn/{CONE7FEI.js → YG4HDEP3.js} +1 -1
- package/dist/cdn/Z44GSKHZ.js +2 -0
- package/dist/cdn/{EZVWEV6T.js → ZSVZL6PT.js} +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/feature-form-next/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ar.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.bg.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.bs.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ca.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.cs.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.da.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.de.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.el.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.es.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.et.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.fi.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.fr.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.he.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.hr.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.hu.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.id.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.it.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ja.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ko.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.lt.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.lv.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.nl.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.no.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.pl.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.pt-BR.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.pt-PT.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ro.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.ru.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.sk.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.sl.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.sr.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.sv.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.th.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.tr.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.uk.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.vi.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.zh-CN.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.zh-HK.json +1 -1
- package/dist/cdn/assets/sketch/t9n/messages.zh-TW.json +1 -1
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/async-utils.js +3 -3
- package/dist/components/arcgis-attachment-validation-view/customElement.d.ts +81 -0
- package/dist/components/arcgis-attachment-validation-view/customElement.js +109 -0
- package/dist/components/arcgis-attachment-validation-view/index.d.ts +1 -0
- package/dist/components/arcgis-attachment-validation-view/index.js +2 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -9
- package/dist/components/arcgis-basemap-gallery/customElement.js +39 -28
- package/dist/components/arcgis-basemap-gallery-item/customElement.js +30 -30
- package/dist/components/arcgis-editor/customElement.d.ts +10 -2
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.js +27 -21
- package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +23 -0
- package/dist/components/arcgis-exploratory-analysis/customElement.js +50 -50
- package/dist/components/arcgis-feature-attachments/customElement.js +17 -17
- package/dist/components/arcgis-feature-form-field/customElement.d.ts +48 -0
- package/dist/components/arcgis-legend/customElement.d.ts +5 -6
- package/dist/components/arcgis-legend/customElement.js +5 -5
- package/dist/components/arcgis-link-chart/customElement.js +5 -2
- package/dist/components/arcgis-map/customElement.js +9 -6
- package/dist/components/arcgis-presentation/customElement.js +62 -62
- package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
- package/dist/components/arcgis-scene/customElement.js +9 -6
- package/dist/components/arcgis-sketch/SketchComponentViewModel.d.ts +84 -0
- package/dist/components/arcgis-sketch/configuration.d.ts +33 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +3 -2
- package/dist/components/arcgis-sketch/customElement.js +25 -21
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/loader.js +2 -1
- package/dist/types/lumina.d.ts +6 -1
- package/dist/types/preact.d.ts +7 -1
- package/dist/types/react.d.ts +8 -1
- package/dist/types/stencil.d.ts +6 -1
- package/package.json +7 -7
- package/dist/cdn/2OGEVHBC.js +0 -2
- package/dist/cdn/5PNAHYUT.js +0 -2
- package/dist/cdn/7AKMHKTT.js +0 -2
- package/dist/cdn/DDSMWDPS.js +0 -2
- package/dist/cdn/DOHO6T7Z.js +0 -2
- package/dist/cdn/IDE4IFH7.js +0 -2
- package/dist/cdn/IJTCIWOA.js +0 -2
- package/dist/cdn/IXVJQIMH.js +0 -2
- package/dist/cdn/KWJAKUM4.js +0 -2
- package/dist/cdn/WU7R423Z.js +0 -2
- /package/dist/cdn/{5DV4N5DK.js → OYD6YL32.js} +0 -0
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import { c as d } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as g, html as o } from "lit";
|
|
4
4
|
import { on as a, watch as n } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
|
-
import h from "@arcgis/core/
|
|
5
|
+
import h from "@arcgis/core/legend/LegendContent.js";
|
|
6
6
|
import { LitElement as p, createEvent as f, safeClassMap as u } from "@arcgis/lumina";
|
|
7
7
|
import { usePropertyChange as m } from "@arcgis/lumina/controllers";
|
|
8
8
|
import { classes as v } from "@arcgis/toolkit/dom";
|
|
9
|
-
import { u as
|
|
10
|
-
import { m as
|
|
9
|
+
import { u as _ } from "../../chunks/useT9n.js";
|
|
10
|
+
import { m as w } from "../../chunks/useViewModel.js";
|
|
11
11
|
import { g as l } from "../../chunks/globalCss.js";
|
|
12
|
-
const y = g`.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{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.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__heading{word-break:break-word}.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:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.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:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.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{--arcgis-internal-legend-heading-margin: 0 0 var(--calcite-space-xs);--arcgis-internal-legend-layer-padding: var(--calcite-space-md);--arcgis-internal-legend-layer-gap: var(--calcite-space-xl);--arcgis-internal-legend-layer-element-gap: var(--calcite-space-md);overflow:auto;width:var(--arcgis-internal-legend-width, 300px)}.root{overflow-y:var(--arcgis-internal-panel-overflow, auto)}:host([card-style-layout="side-by-side"]){--arcgis-internal-legend-width: auto}`, b =
|
|
12
|
+
const y = g`.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{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.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__heading{word-break:break-word}.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:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.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:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.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{--arcgis-internal-legend-heading-margin: 0 0 var(--calcite-space-xs);--arcgis-internal-legend-layer-padding: var(--calcite-space-md);--arcgis-internal-legend-layer-gap: var(--calcite-space-xl);--arcgis-internal-legend-layer-element-gap: var(--calcite-space-md);overflow:auto;width:var(--arcgis-internal-legend-width, 300px)}.root{overflow-y:var(--arcgis-internal-panel-overflow, auto)}:host([card-style-layout="side-by-side"]){--arcgis-internal-legend-width: auto}`, b = w(h);
|
|
13
13
|
class x extends p {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this.messages =
|
|
15
|
+
super(...arguments), this.messages = _({}), this.viewModel = b(this), this._isCardStyle = !1, this.view = this.viewModel.view, this.icon = "legend", this.activeLayerInfos = this.viewModel.activeLayerInfos, this.basemapLegendVisible = this.viewModel.basemapLegendVisible, this.headingLevel = 3, this.hideLayersNotInCurrentView = this.viewModel.hideLayersNotInCurrentView, this.respectLayerDefinitionExpression = this.viewModel.respectLayerDefinitionExpression, this.layerInfos = this.viewModel.layerInfos, this.loading = this.viewModel.loading, this.legendStyle = "classic", this.autoDestroyDisabled = !1, this.label = this.messages?.componentLabel, this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state"), this.arcgisReady = f();
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
this.properties = { _isCardStyle: 16, view: 0, referenceElement: 1, icon: 1, activeLayerInfos: 0, basemapLegendVisible: 5, headingLevel: 9, hideLayersNotInCurrentView: 5, respectLayerDefinitionExpression: 5, ignoreLayerVisibility: 5, layerInfos: 0, loading: 39, cardStyleLayout: 1, legendStyle: 1, autoDestroyDisabled: 5, messageOverrides: 0, label: 1, state: 32 };
|
|
@@ -32,12 +32,12 @@ const F = f(
|
|
|
32
32
|
), G = f(_, {});
|
|
33
33
|
class S extends V {
|
|
34
34
|
constructor() {
|
|
35
|
-
super(), this._attributionMode = null, this._containerRef = m(), this._mapRef = m(), this._uiController = new U(this), this._activeLoadAbortController = null, this.arcgisLoadError = D(this), this.arcgisViewReadyError = x(this), this._map = F(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = G(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.
|
|
35
|
+
super(), this._attributionMode = null, this._containerRef = m(), this._mapRef = m(), this._uiController = new U(this), this._activeLoadAbortController = null, this.arcgisLoadError = D(this), this.arcgisViewReadyError = x(this), this._map = F(this), this._baseCypherQuery = "", this._serviceUrl = "", this._propItemId = "", this.view = G(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.graphics = this.view.graphics, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = c(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = c(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), Q(this), this.view.ui = {
|
|
36
36
|
components: []
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
39
|
static {
|
|
40
|
-
this.properties = { _map: 16, _baseCypherQuery: 16, _serviceUrl: 16, _propItemId: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, focusAreas: 0, graphics: 0, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, baseCypherQuery: 3, serviceUrl: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, selectionManager: 32, scale: 9, slotGroupRefs: 32, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating:
|
|
40
|
+
this.properties = { _map: 16, _baseCypherQuery: 16, _serviceUrl: 16, _propItemId: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, focusAreas: 0, graphics: 0, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, baseCypherQuery: 3, serviceUrl: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, selectionManager: 32, scale: 9, slotGroupRefs: 32, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 32, viewpoint: 0, zoom: 9, loadErrorSources: 0 };
|
|
41
41
|
}
|
|
42
42
|
static {
|
|
43
43
|
this.styles = [I, E];
|
|
@@ -124,6 +124,9 @@ class S extends V {
|
|
|
124
124
|
get stationary() {
|
|
125
125
|
return this.view.stationary;
|
|
126
126
|
}
|
|
127
|
+
get updating() {
|
|
128
|
+
return this.view.updating;
|
|
129
|
+
}
|
|
127
130
|
get viewpoint() {
|
|
128
131
|
return this.view.viewpoint;
|
|
129
132
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
2
|
import { c } from "../../chunks/runtime.js";
|
|
3
|
-
import { html as
|
|
3
|
+
import { html as r } from "lit";
|
|
4
4
|
import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
5
5
|
import l from "@arcgis/core/views/MapView.js";
|
|
6
6
|
import v from "@arcgis/core/WebMap.js";
|
|
7
|
-
import { LitElement as m, createEvent as
|
|
7
|
+
import { LitElement as m, createEvent as a, safeClassMap as o } from "@arcgis/lumina";
|
|
8
8
|
import { reEmitEvent as e } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
9
9
|
import { makeAccessorController as p, reCreateAccessor as u } from "@arcgis/lumina-toolkit/useAccessor";
|
|
10
10
|
import { createRef as n, ref as h } from "lit/directives/ref.js";
|
|
@@ -28,12 +28,12 @@ const M = p(
|
|
|
28
28
|
), D = p(l, {});
|
|
29
29
|
class k extends m {
|
|
30
30
|
constructor() {
|
|
31
|
-
super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new g(this), this.extraContent = new R(), this.arcgisLoadError = d(this), this.arcgisViewReadyError = y(this), this._map = M(this), this.view = D(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.
|
|
31
|
+
super(), this._attributionMode = null, this._containerRef = n(), this._mapRef = n(), this._uiController = new g(this), this.extraContent = new R(), this.arcgisLoadError = d(this), this.arcgisViewReadyError = y(this), this._map = M(this), this.view = D(this), this.animationsDisabled = this.view.animationsEnabled, this.allLayerViews = this.view.allLayerViews, this.analyses = this.view.analyses, this.autoDestroyDisabled = !1, this.background = this.view.background, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.highlights = this.view.highlights, this.ipsInfo = this._map.ipsInfo, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.ready = this.view.ready, this.resizeAlign = this.view.resizeAlign, this.resolution = this.view.resolution, this.rotation = this.view.rotation, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.spatialReferenceLocked = this.view.spatialReferenceLocked, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = e(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = e(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = e(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = a(), this.arcgisViewClick = e(() => this.view, "click"), this.arcgisViewDoubleClick = e(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = e(() => this.view, "double-tap-drag"), this.arcgisViewDrag = e(() => this.view, "drag"), this.arcgisViewHold = e(() => this.view, "hold"), this.arcgisViewImmediateClick = e(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = e(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = e(() => this.view, "key-down"), this.arcgisViewKeyUp = e(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = e(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = e(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = e(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = e(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = e(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = e(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = e(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = e(() => this.view, "pointer-move"), this.arcgisViewPointerUp = e(() => this.view, "pointer-up"), this.arcgisViewReadyChange = a(), this.arcgisViewVerticalTwoFingerDrag = e(() => this.view, "vertical-two-finger-drag"), f(this), this.view.ui = {
|
|
32
32
|
components: []
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
static {
|
|
36
|
-
this.properties = { _map: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, hideAttribution: 5, highlights: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, scale: 9, selectionManager: 32, slotGroupRefs: 32, spatialReference: 0, spatialReferenceLocked: 5, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating:
|
|
36
|
+
this.properties = { _map: 16, view: 32, animationsDisabled: 5, aria: 0, allLayerViews: 32, analyses: 0, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, background: 0, basemap: 1, basemapView: 0, canZoomIn: 36, canZoomOut: 36, center: 1, constraints: 0, displayFilterDisabled: 5, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, hideAttribution: 5, highlights: 0, interacting: 32, ipsInfo: 0, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, ready: 36, resizeAlign: 1, resolution: 40, rotation: 9, scale: 9, selectionManager: 32, slotGroupRefs: 32, spatialReference: 0, spatialReferenceLocked: 5, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 32, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
37
37
|
}
|
|
38
38
|
static {
|
|
39
39
|
this.styles = [b, V];
|
|
@@ -111,6 +111,9 @@ class k extends m {
|
|
|
111
111
|
get stationary() {
|
|
112
112
|
return this.view.stationary;
|
|
113
113
|
}
|
|
114
|
+
get updating() {
|
|
115
|
+
return this.view.updating;
|
|
116
|
+
}
|
|
114
117
|
get viewpoint() {
|
|
115
118
|
return this.view.viewpoint;
|
|
116
119
|
}
|
|
@@ -182,10 +185,10 @@ class k extends m {
|
|
|
182
185
|
]);
|
|
183
186
|
}
|
|
184
187
|
renderMain() {
|
|
185
|
-
return
|
|
188
|
+
return r`<div class=${o(w.base)} ${h(this._mapRef)}></div>`;
|
|
186
189
|
}
|
|
187
190
|
render() {
|
|
188
|
-
return
|
|
191
|
+
return r`${this.renderMain()}<section class=${o(w.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}${this.extraContent}</section>`;
|
|
189
192
|
}
|
|
190
193
|
}
|
|
191
194
|
c("arcgis-map", k);
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import { c as O } from "../../chunks/runtime.js";
|
|
3
3
|
import { css as E, html as g } from "lit";
|
|
4
4
|
import { GenericController as $, proxyExports as T, useDirection as B } from "@arcgis/lumina/controllers";
|
|
5
|
-
import { LitElement as G, createEvent as v, nothing as
|
|
5
|
+
import { LitElement as G, createEvent as v, nothing as I } from "@arcgis/lumina";
|
|
6
6
|
import { u as R } from "../../chunks/useT9n.js";
|
|
7
7
|
import { m as N } from "../../chunks/useViewModel.js";
|
|
8
8
|
import { property as d, subclass as D } from "@arcgis/core/core/accessorSupport/decorators.js";
|
|
9
9
|
import H from "@arcgis/core/core/Accessor.js";
|
|
10
|
-
import
|
|
10
|
+
import y from "@arcgis/core/core/Collection.js";
|
|
11
11
|
import { ignoreAbortErrors as k } from "@arcgis/core/core/promiseUtils.js";
|
|
12
|
-
import { watch as u, on as V, whenOnce as
|
|
12
|
+
import { watch as u, on as V, whenOnce as w } from "@arcgis/core/core/reactiveUtils.js";
|
|
13
13
|
import M from "@arcgis/core/Graphic.js";
|
|
14
14
|
import j from "@arcgis/core/layers/Layer.js";
|
|
15
15
|
import W from "@arcgis/core/graphic/CSVGraphicOrigin.js";
|
|
@@ -19,16 +19,16 @@ import Q from "@arcgis/core/graphic/WFSGraphicOrigin.js";
|
|
|
19
19
|
import q from "@arcgis/core/graphic/BuildingGraphicOrigin.js";
|
|
20
20
|
import J from "@arcgis/core/graphic/FeatureGraphicOrigin.js";
|
|
21
21
|
import { fetchPopupFeaturesFromGraphics as A } from "@arcgis/core/applications/SceneViewer/sceneViewerUtils.js";
|
|
22
|
-
import { s as
|
|
22
|
+
import { s as _ } from "../../chunks/resources.js";
|
|
23
23
|
import { g as X } from "../../chunks/async-utils.js";
|
|
24
24
|
import { d as C, p as P } from "../../chunks/constants2.js";
|
|
25
|
-
const Y = E`:host{width:100%;height:100%;padding:var(--calcite-space-none);margin:var(--calcite-space-none);display:flex;--internal-attribution-height: 16px;--arcgis-internal-presentation-padding-start: unset;--arcgis-internal-presentation-padding-end: unset;--arcgis-internal-presentation-cover-padding-top: unset;--arcgis-internal-presentation-cover-padding-bottom: unset;--arcgis-internal-presentation-cover-padding-start: unset;--arcgis-internal-presentation-cover-padding-end: unset;--arcgis-presentation-
|
|
26
|
-
var Z = Object.defineProperty, ee = Object.getOwnPropertyDescriptor,
|
|
25
|
+
const Y = E`:host{width:100%;height:100%;padding:var(--calcite-space-none);margin:var(--calcite-space-none);display:flex;--internal-attribution-height: 16px;--arcgis-internal-presentation-padding-start: unset;--arcgis-internal-presentation-padding-end: unset;--arcgis-internal-presentation-cover-padding-top: unset;--arcgis-internal-presentation-cover-padding-bottom: unset;--arcgis-internal-presentation-cover-padding-start: unset;--arcgis-internal-presentation-cover-padding-end: unset;--arcgis-presentation-navigation-z-index: unset}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{position:absolute;display:flex;width:100%;height:100%;justify-content:flex-end;padding-top:var(--calcite-space-lg);padding-inline-start:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-start));padding-inline-end:calc(var(--calcite-space-lg) + var(--arcgis-internal-presentation-padding-end))}.navigation-container{display:flex;flex-direction:column;margin-inline-start:var(--calcite-space-lg);margin-block:auto calc(var(--calcite-space-lg) + var(--arcgis-internal-attribution-space-top));width:fit-content;height:100%;z-index:var(--arcgis-presentation-navigation-z-index)}.navigation{width:fit-content;display:flex;align-items:center;background-color:var(--calcite-color-surface-2);box-shadow:var(--arcgis-internal-box-shadow);pointer-events:auto}.navigation-slide-list-container{position:relative;height:100%;min-height:0;margin-block-start:var(--calcite-space-lg)}.slide-list-action-container{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-space-base);font-size:var(--calcite-font-size-md)}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums;min-width:var(--calcite-spacing-md);text-align:center}.legend-container{pointer-events:all;box-shadow:var(--calcite-shadow-sm);max-width:300px;height:fit-content;max-height:calc(100vh - 136px);overflow:hidden auto}.legend{background-color:var(--calcite-color-surface-2)}`;
|
|
26
|
+
var Z = Object.defineProperty, ee = Object.getOwnPropertyDescriptor, l = (i, e, t, s) => {
|
|
27
27
|
for (var n = s > 1 ? void 0 : s ? ee(e, t) : e, r = i.length - 1, a; r >= 0; r--)
|
|
28
28
|
(a = i[r]) && (n = (s ? a(e, t, n) : a(n)) || n);
|
|
29
29
|
return s && n && Z(e, t, n), n;
|
|
30
30
|
};
|
|
31
|
-
let
|
|
31
|
+
let o = class extends H {
|
|
32
32
|
//endregion
|
|
33
33
|
//#region Lifecycle
|
|
34
34
|
constructor(i) {
|
|
@@ -77,10 +77,10 @@ let l = class extends H {
|
|
|
77
77
|
i === void 0 || !this.view?.map?.loaded ? this._slideId = i : this._applySlideById(i);
|
|
78
78
|
}
|
|
79
79
|
get visibleSlides() {
|
|
80
|
-
return this.view?.map?.presentation?.slides?.filter((i) => !i.hidden) ?? new
|
|
80
|
+
return this.view?.map?.presentation?.slides?.filter((i) => !i.hidden) ?? new y();
|
|
81
81
|
}
|
|
82
82
|
get slides() {
|
|
83
|
-
return this.view?.map?.presentation?.slides ?? new
|
|
83
|
+
return this.view?.map?.presentation?.slides ?? new y();
|
|
84
84
|
}
|
|
85
85
|
get lastSlideSelected() {
|
|
86
86
|
return this.getSlideIndexBySlideId(this.slideId) === this.visibleSlides.length - 1;
|
|
@@ -154,7 +154,7 @@ let l = class extends H {
|
|
|
154
154
|
() => this.slides,
|
|
155
155
|
"change",
|
|
156
156
|
(i) => {
|
|
157
|
-
this._subscribeToSlideEvents(new
|
|
157
|
+
this._subscribeToSlideEvents(new y(i.added)), this._unsubscribeToSlideEvents(new y(i.removed));
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
onListenerAdd: this._subscribeToSlideEvents,
|
|
@@ -174,57 +174,57 @@ let l = class extends H {
|
|
|
174
174
|
}
|
|
175
175
|
//#endregion
|
|
176
176
|
};
|
|
177
|
-
|
|
177
|
+
l([
|
|
178
178
|
d()
|
|
179
|
-
],
|
|
180
|
-
|
|
179
|
+
], o.prototype, "_slideId", 2);
|
|
180
|
+
l([
|
|
181
181
|
d()
|
|
182
|
-
],
|
|
183
|
-
|
|
182
|
+
], o.prototype, "view", 2);
|
|
183
|
+
l([
|
|
184
184
|
d()
|
|
185
|
-
],
|
|
186
|
-
|
|
185
|
+
], o.prototype, "slideId", 1);
|
|
186
|
+
l([
|
|
187
187
|
d()
|
|
188
|
-
],
|
|
189
|
-
|
|
188
|
+
], o.prototype, "transitionActive", 2);
|
|
189
|
+
l([
|
|
190
190
|
d()
|
|
191
|
-
],
|
|
192
|
-
|
|
191
|
+
], o.prototype, "showLegend", 2);
|
|
192
|
+
l([
|
|
193
193
|
d()
|
|
194
|
-
],
|
|
195
|
-
|
|
194
|
+
], o.prototype, "keyboardNavigationEnabled", 2);
|
|
195
|
+
l([
|
|
196
196
|
d()
|
|
197
|
-
],
|
|
198
|
-
|
|
197
|
+
], o.prototype, "visibleSlides", 1);
|
|
198
|
+
l([
|
|
199
199
|
d()
|
|
200
|
-
],
|
|
201
|
-
|
|
200
|
+
], o.prototype, "slides", 1);
|
|
201
|
+
l([
|
|
202
202
|
d()
|
|
203
|
-
],
|
|
204
|
-
|
|
203
|
+
], o.prototype, "lastSlideSelected", 1);
|
|
204
|
+
l([
|
|
205
205
|
d()
|
|
206
|
-
],
|
|
207
|
-
|
|
206
|
+
], o.prototype, "firstSlideSelected", 1);
|
|
207
|
+
l([
|
|
208
208
|
d()
|
|
209
|
-
],
|
|
210
|
-
|
|
209
|
+
], o.prototype, "slideSelected", 1);
|
|
210
|
+
l([
|
|
211
211
|
d()
|
|
212
|
-
],
|
|
213
|
-
|
|
212
|
+
], o.prototype, "hasOnlyOneSlide", 1);
|
|
213
|
+
l([
|
|
214
214
|
d()
|
|
215
|
-
],
|
|
216
|
-
|
|
215
|
+
], o.prototype, "onApplySlideStart", 2);
|
|
216
|
+
l([
|
|
217
217
|
d()
|
|
218
|
-
],
|
|
219
|
-
|
|
218
|
+
], o.prototype, "onApplySlideComplete", 2);
|
|
219
|
+
l([
|
|
220
220
|
d()
|
|
221
|
-
],
|
|
222
|
-
|
|
221
|
+
], o.prototype, "onApplySlideCancel", 2);
|
|
222
|
+
l([
|
|
223
223
|
d()
|
|
224
|
-
],
|
|
225
|
-
|
|
224
|
+
], o.prototype, "getSlideIndexBySlideId", 1);
|
|
225
|
+
o = l([
|
|
226
226
|
D("components.presentation.PresentationViewModel")
|
|
227
|
-
],
|
|
227
|
+
], o);
|
|
228
228
|
class te extends $ {
|
|
229
229
|
constructor(e) {
|
|
230
230
|
super(e);
|
|
@@ -232,7 +232,7 @@ class te extends $ {
|
|
|
232
232
|
hostLoaded() {
|
|
233
233
|
this.component.manager.onLifecycle(() => {
|
|
234
234
|
const e = this.component;
|
|
235
|
-
|
|
235
|
+
w(() => e.referenceElement).then((t) => {
|
|
236
236
|
this._isArcgisScene(t) && (this._sceneRef = t);
|
|
237
237
|
});
|
|
238
238
|
});
|
|
@@ -295,12 +295,12 @@ class te extends $ {
|
|
|
295
295
|
if (a?.id == null)
|
|
296
296
|
return await Promise.resolve([]);
|
|
297
297
|
const c = await e.whenLayerView(s);
|
|
298
|
-
await
|
|
298
|
+
await w(() => !c.updating);
|
|
299
299
|
const p = this._tryGetBuildingComponentSublayerView(s, n, c) ?? c;
|
|
300
|
-
await
|
|
300
|
+
await w(() => !p.updating);
|
|
301
301
|
const f = this._createFeatureGraphic(s, n, r, a.id);
|
|
302
302
|
let x = await A(p, [f]);
|
|
303
|
-
return this._featureHasBeenFilledWithAttributes(x) || (await
|
|
303
|
+
return this._featureHasBeenFilledWithAttributes(x) || (await w(() => !e.updating), x = await A(p, [f])), x;
|
|
304
304
|
}
|
|
305
305
|
_tryGetBuildingComponentSublayerView(e, t, s) {
|
|
306
306
|
let n;
|
|
@@ -389,7 +389,7 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
|
|
|
389
389
|
bottomLeft: r,
|
|
390
390
|
bottomRight: a
|
|
391
391
|
} : null;
|
|
392
|
-
}, ne = (i, e) =>
|
|
392
|
+
}, ne = (i, e) => _.every((t) => i.get(t) === e[t]), re = (i) => {
|
|
393
393
|
const e = F(i.observedSizes);
|
|
394
394
|
i.subscribers.forEach((t) => t(e));
|
|
395
395
|
}, ae = (i, e) => {
|
|
@@ -398,7 +398,7 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
|
|
|
398
398
|
return;
|
|
399
399
|
let s = !1;
|
|
400
400
|
e.forEach((n) => {
|
|
401
|
-
const r =
|
|
401
|
+
const r = _.find((f) => t.observedGroups.get(f) === n.target);
|
|
402
402
|
if (!r)
|
|
403
403
|
return;
|
|
404
404
|
const { width: a, height: c } = n.contentRect, h = { width: a, height: c }, p = t.observedSizes[r];
|
|
@@ -414,18 +414,18 @@ const ie = (i) => new te(i), S = Object.freeze({ width: 0, height: 0 }), b = /*
|
|
|
414
414
|
t.observedGroups.size > 0 && (t.resizeObserver.disconnect(), t.observedGroups.clear());
|
|
415
415
|
return;
|
|
416
416
|
}
|
|
417
|
-
ne(t.observedGroups, s) || (t.resizeObserver.disconnect(), t.observedGroups.clear(),
|
|
417
|
+
ne(t.observedGroups, s) || (t.resizeObserver.disconnect(), t.observedGroups.clear(), _.forEach((n) => {
|
|
418
418
|
const r = s[n];
|
|
419
419
|
t.observedGroups.set(n, r), t.resizeObserver?.observe(r);
|
|
420
420
|
}));
|
|
421
|
-
},
|
|
421
|
+
}, oe = (i, e) => {
|
|
422
422
|
const t = z(i);
|
|
423
423
|
return t.subscribers.add(e), e(F(t.observedSizes)), () => {
|
|
424
424
|
const s = b.get(i);
|
|
425
425
|
s && (s.subscribers.delete(e), s.subscribers.size === 0 && (s.resizeObserver?.disconnect(), s.observedGroups.clear(), b.delete(i)));
|
|
426
426
|
};
|
|
427
427
|
};
|
|
428
|
-
class
|
|
428
|
+
class le extends $ {
|
|
429
429
|
// References to the slot group elements owned by the host component.
|
|
430
430
|
#e;
|
|
431
431
|
#t;
|
|
@@ -451,7 +451,7 @@ class oe extends $ {
|
|
|
451
451
|
this.exports = m();
|
|
452
452
|
return;
|
|
453
453
|
}
|
|
454
|
-
this.#i =
|
|
454
|
+
this.#i = oe(t, (s) => {
|
|
455
455
|
this.#n(s) || (this.exports = s);
|
|
456
456
|
}), L(t, this.#e);
|
|
457
457
|
}
|
|
@@ -477,20 +477,20 @@ class oe extends $ {
|
|
|
477
477
|
// Compares the newly measured sizes against the currently exported values.
|
|
478
478
|
#n(e) {
|
|
479
479
|
const t = this.exports ?? m();
|
|
480
|
-
return
|
|
480
|
+
return _.every((s) => {
|
|
481
481
|
const n = t[s], r = e[s];
|
|
482
482
|
return n.width === r.width && n.height === r.height;
|
|
483
483
|
});
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
const de = T(
|
|
486
|
+
const de = T(le), ce = N(o);
|
|
487
487
|
class he extends G {
|
|
488
488
|
constructor() {
|
|
489
489
|
super(...arguments), this._messages = R(), this._direction = B(), this.#e = ce(this), this.#i = (e) => {
|
|
490
490
|
this.#e.captureArrowKeysForNavigation(e, this._direction);
|
|
491
|
-
}, this.#s = ie(this), this.#r = null, this.#
|
|
491
|
+
}, this.#s = ie(this), this.#r = null, this.#o = (e) => {
|
|
492
492
|
this.#s.closePopup(), this.arcgisSlideApplyStart.emit({ slide: e });
|
|
493
|
-
}, this.#
|
|
493
|
+
}, this.#l = (e) => {
|
|
494
494
|
this.#s.openPopup(e), this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyComplete.emit({ slide: e });
|
|
495
495
|
}, this.#d = (e) => {
|
|
496
496
|
this.sliceAnalysisInteractive && this.#e.setSliceAnalysisInteractive(!0), this.arcgisSlideApplyCancel.emit({ slide: e });
|
|
@@ -525,8 +525,8 @@ class he extends G {
|
|
|
525
525
|
#s;
|
|
526
526
|
#n;
|
|
527
527
|
#r;
|
|
528
|
-
#l;
|
|
529
528
|
#o;
|
|
529
|
+
#l;
|
|
530
530
|
#d;
|
|
531
531
|
#c;
|
|
532
532
|
#a;
|
|
@@ -542,7 +542,7 @@ class he extends G {
|
|
|
542
542
|
await this.manager.destroy();
|
|
543
543
|
}
|
|
544
544
|
loaded() {
|
|
545
|
-
this.#e.onApplySlideStart = this.#
|
|
545
|
+
this.#e.onApplySlideStart = this.#o, this.#e.onApplySlideComplete = this.#l, this.#e.onApplySlideCancel = this.#d, this.#S();
|
|
546
546
|
const e = this;
|
|
547
547
|
this.manager.onLifecycle(() => [
|
|
548
548
|
u(() => this.slidePopupDisabled, (t) => {
|
|
@@ -591,11 +591,11 @@ class he extends G {
|
|
|
591
591
|
if (this.navigationHidden)
|
|
592
592
|
return null;
|
|
593
593
|
const e = this.#e.lastSlideSelected && !this.#e.hasOnlyOneSlide, t = this.#w();
|
|
594
|
-
return g`<div class="navigation-container"><div class="navigation-slide-list-container">${t}</div><div class="navigation"><div class="slide-list-action-container" id=${P}><calcite-action-bar expand-disabled layout=horizontal .scale=${this.visualScale === "l" ? "m" : "s"}><calcite-action .text=${this._messages.slideList ?? ""} selection-appearance=highlight icon=list .scale=${this.visualScale === "l" ? "m" : "s"} .label=${this._messages.slideList}
|
|
594
|
+
return g`<div class="navigation-container"><div class="navigation-slide-list-container">${t}</div><div class="navigation"><div class="slide-list-action-container" id=${P}><calcite-action-bar expand-disabled layout=horizontal .scale=${this.visualScale === "l" ? "m" : "s"}><calcite-action .text=${this._messages.slideList ?? ""} selection-appearance=highlight icon=list .scale=${this.visualScale === "l" ? "m" : "s"} .label=${this._messages.slideList} .active=${this._showSlideList} @click=${() => this._showSlideList = !this._showSlideList}></calcite-action></calcite-action-bar><calcite-tooltip .referenceElement=${P} placement=bottom><span>${this._messages.slideList}</span></calcite-tooltip></div><calcite-button appearance=transparent icon-start=chevron-left icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .disabled=${this.#e.firstSlideSelected || !this.#e.slideSelected} .label=${this._messages.previous} title=${this._messages.previous ?? I} @click=${() => this.#e.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this.#b()}</div><calcite-button appearance=transparent icon-start=${e ? "reset" : "chevron-right"} icon-flip-rtl=start kind=neutral .scale=${this.visualScale} .label=${e ? this._messages.restart : this._messages.next} title=${(e ? this._messages.restart : this._messages.next) ?? I} @click=${() => this.#e.navigateInPresentation(1)}></calcite-button></div></div>`;
|
|
595
595
|
}
|
|
596
596
|
#b() {
|
|
597
597
|
const e = this.#e.slideIndex + 1, t = this._messages?.slideNavAriaText?.replace("${index}", e.toString()).replace("${numberOfSlides}", this.#e.visibleSlides.length.toString());
|
|
598
|
-
return this.#e.slideSelected ? g`<p role=banner aria-label=${t ??
|
|
598
|
+
return this.#e.slideSelected ? g`<p role=banner aria-label=${t ?? I} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div>/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.#e.visibleSlides.length}</p></p>` : g`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.#e.visibleSlides?.length} ${this._messages?.slides}</p>`;
|
|
599
599
|
}
|
|
600
600
|
#f(e) {
|
|
601
601
|
return this.slideCaptionsDisabled ? null : g`<arcgis-presentation-captions .slide=${e} .transitionActive=${this.#e.transitionActive}></arcgis-presentation-captions>`;
|
|
@@ -5,7 +5,7 @@ import { LitElement as r, createEvent as c, nothing as a, safeClassMap as d } fr
|
|
|
5
5
|
import "@arcgis/core/core/accessorSupport/decorators.js";
|
|
6
6
|
import { classes as m } from "@arcgis/toolkit/dom";
|
|
7
7
|
import { p } from "../../chunks/constants2.js";
|
|
8
|
-
const h = n`:host{--calcite-list-background-color: var(--calcite-color-transparent);position:absolute;inset-block-end:0;display:flex;flex-direction:column;justify-content:flex-end;height:80%}.presentation-slide-list-container{overflow-x:hidden;overflow-y:auto;pointer-events:auto;background-color:var(--calcite-color-surface-2);box-shadow:var(--arcgis-internal-box-shadow);z-index:var(--arcgis-presentation-
|
|
8
|
+
const h = n`:host{--calcite-list-background-color: var(--calcite-color-transparent);position:absolute;inset-block-end:0;display:flex;flex-direction:column;justify-content:flex-end;height:80%}.presentation-slide-list-container{overflow-x:hidden;overflow-y:auto;pointer-events:auto;background-color:var(--calcite-color-surface-2);box-shadow:var(--arcgis-internal-box-shadow);z-index:var(--arcgis-presentation-navigation-z-index);border-top:1px solid var(--calcite-color-surface-2)}.presentation-slide-list{position:relative;display:block;width:300px;box-sizing:border-box;border:1px solid var(--calcite-color-surface-2)}.slide-list-item-content{position:relative;display:flex;height:100%;justify-content:flex-start;box-sizing:border-box}.slide-list-item-content-selected{color:var(--calcite-color-text-1);font-weight:var(--calcite-font-weight-medium)}.card-slide-title{margin-inline-start:var(--calcite-space-md);padding-inline-end:var(--calcite-space-xs);min-inline-size:0;align-content:center;font-size:var(--calcite-font-size--1)}.card-slide-title-text{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}@supports (line-clamp: 2){.card-slide-title-text{line-clamp:2}}.card-image{width:114px;height:62px}`;
|
|
9
9
|
class u extends r {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments), this.visualScale = "m", this.arcgisSlideListItemSelected = c(), this.arcgisSlideListOutsideClick = c();
|
|
@@ -6,10 +6,10 @@ import { watch as s } from "@arcgis/core/core/reactiveUtils.js";
|
|
|
6
6
|
import v from "@arcgis/core/geometry/Point.js";
|
|
7
7
|
import u from "@arcgis/core/views/SceneView.js";
|
|
8
8
|
import g from "@arcgis/core/WebScene.js";
|
|
9
|
-
import { LitElement as d, createEvent as r, safeClassMap as
|
|
9
|
+
import { LitElement as d, createEvent as r, safeClassMap as n } from "@arcgis/lumina";
|
|
10
10
|
import { reEmitEvent as t } from "@arcgis/lumina-toolkit/reEmitEvent";
|
|
11
11
|
import { makeAccessorController as w, reCreateAccessor as y } from "@arcgis/lumina-toolkit/useAccessor";
|
|
12
|
-
import { createRef as
|
|
12
|
+
import { createRef as o, ref as h } from "lit/directives/ref.js";
|
|
13
13
|
import { U as f, u as b, a as V, b as C } from "../../chunks/useArcgisViewReadyError.js";
|
|
14
14
|
import { s as _ } from "../../chunks/esri-main.js";
|
|
15
15
|
import { s as E } from "../../chunks/slots.js";
|
|
@@ -18,12 +18,12 @@ import { d as P, e as A, b as M, c as R, p as D, i as I } from "../../chunks/com
|
|
|
18
18
|
const k = w(g, {}), L = w(u, {});
|
|
19
19
|
class S extends d {
|
|
20
20
|
constructor() {
|
|
21
|
-
super(), this._attributionMode = null, this._containerRef =
|
|
21
|
+
super(), this._attributionMode = null, this._containerRef = o(), this._mapRef = o(), this._uiController = new f(this), this._cameraProperties = {}, this.arcgisLoadError = b(this), this.arcgisViewReadyError = V(this), this._map = k(this), this.view = L(this), this.allLayerViews = this.view.allLayerViews, this.alphaCompositingEnabled = this.view.alphaCompositingEnabled, this.analyses = this.view.analyses, this.animationsDisabled = this.view.animationsEnabled, this.autoDestroyDisabled = !1, this.basemap = this._map.basemap, this.basemapView = this.view.basemapView, this.canZoomIn = this.view.canZoomIn, this.canZoomOut = this.view.canZoomOut, this.clippingArea = this.view.clippingArea, this.constraints = this.view.constraints, this.displayFilterDisabled = this.view.displayFilterEnabled, this.environment = this.view.environment, this.fatalError = this.view.fatalError, this.floors = this.view.floors, this.graphics = this.view.graphics, this.ground = this._map.ground, this.groundView = this.view.groundView, this.highlights = this.view.highlights, this.layerViews = this.view.layerViews, this.magnifier = this.view.magnifier, this.map = this.view.map, this.navigation = this.view.navigation, this.padding = this.view.padding, this.popup = this.view.popup, this.popupDisabled = this.view.popupEnabled, this.popupComponentEnabled = !1, this.qualityProfile = this.view.qualityProfile, this.ready = this.view.ready, this.selectionManager = this.view.selectionManager, this.slotGroupRefs = this._uiController.slotGroupRefs, this.spatialReference = this.view.spatialReference, this.suspended = this.view.suspended, this.theme = this.view.theme, this.timeExtent = this.view.timeExtent, this.timeZone = this.view.timeZone, this.viewingMode = this.view.viewingMode, this.visibleArea = this.view.visibleArea, this.arcgisViewAnalysisViewCreate = t(() => this.view, "analysis-view-create"), this.arcgisViewAnalysisViewCreateError = t(() => this.view, "analysis-view-create-error"), this.arcgisViewAnalysisViewDestroy = t(() => this.view, "analysis-view-destroy"), this.arcgisViewChange = r(), this.arcgisViewClick = t(() => this.view, "click"), this.arcgisViewDoubleClick = t(() => this.view, "double-click"), this.arcgisViewDoubleTapDrag = t(() => this.view, "double-tap-drag"), this.arcgisViewDrag = t(() => this.view, "drag"), this.arcgisViewHold = t(() => this.view, "hold"), this.arcgisViewImmediateClick = t(() => this.view, "immediate-click"), this.arcgisViewImmediateDoubleClick = t(() => this.view, "immediate-double-click"), this.arcgisViewKeyDown = t(() => this.view, "key-down"), this.arcgisViewKeyUp = t(() => this.view, "key-up"), this.arcgisViewLayerviewCreate = t(() => this.view, "layerview-create"), this.arcgisViewLayerviewCreateError = t(() => this.view, "layerview-create-error"), this.arcgisViewLayerviewDestroy = t(() => this.view, "layerview-destroy"), this.arcgisViewMouseWheel = t(() => this.view, "mouse-wheel"), this.arcgisViewPointerDown = t(() => this.view, "pointer-down"), this.arcgisViewPointerEnter = t(() => this.view, "pointer-enter"), this.arcgisViewPointerLeave = t(() => this.view, "pointer-leave"), this.arcgisViewPointerMove = t(() => this.view, "pointer-move"), this.arcgisViewPointerUp = t(() => this.view, "pointer-up"), this.arcgisViewReadyChange = r(), this.arcgisViewVerticalTwoFingerDrag = t(() => this.view, "vertical-two-finger-drag"), C(this), this.view.ui = {
|
|
22
22
|
components: []
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.properties = { _map: 16, aria: 0, view: 32, allLayerViews: 32, alphaCompositingEnabled: 5, analyses: 0, animationsDisabled: 5, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, canZoomIn: 36, canZoomOut: 36, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 32, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, qualityProfile: 1, ready: 36, resolution: 32, selectionManager: 32, scale: 9, slotGroupRefs: 32, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating:
|
|
26
|
+
this.properties = { _map: 16, aria: 0, view: 32, allLayerViews: 32, alphaCompositingEnabled: 5, analyses: 0, animationsDisabled: 5, attributionItems: 32, attributionMode: 1, autoDestroyDisabled: 5, basemap: 1, basemapView: 0, camera: 0, cameraFov: 9, cameraHeading: 9, cameraPosition: 1, cameraTilt: 9, canZoomIn: 36, canZoomOut: 36, center: 1, clippingArea: 0, constraints: 0, displayFilterDisabled: 5, environment: 0, extent: 0, fatalError: 0, floors: 0, focusAreas: 0, gamepad: 32, graphics: 0, ground: 1, groundView: 32, hideAttribution: 5, highlights: 0, interacting: 32, itemId: 3, layerViews: 32, magnifier: 32, map: 0, navigating: 32, navigation: 0, padding: 0, performanceInfo: 32, popup: 0, popupElement: 32, popupDisabled: 5, popupComponentEnabled: 5, qualityProfile: 1, ready: 36, resolution: 32, selectionManager: 32, scale: 9, slotGroupRefs: 32, spatialReference: 0, stationary: 32, suspended: 39, theme: 0, timeExtent: 0, timeZone: 1, updating: 32, viewingMode: 1, viewpoint: 0, visibleArea: 32, zoom: 9, loadErrorSources: 0 };
|
|
27
27
|
}
|
|
28
28
|
static {
|
|
29
29
|
this.styles = [_, E];
|
|
@@ -153,6 +153,9 @@ class S extends d {
|
|
|
153
153
|
get stationary() {
|
|
154
154
|
return this.view.stationary;
|
|
155
155
|
}
|
|
156
|
+
get updating() {
|
|
157
|
+
return this.view.updating;
|
|
158
|
+
}
|
|
156
159
|
get viewpoint() {
|
|
157
160
|
return this.view.viewpoint;
|
|
158
161
|
}
|
|
@@ -234,10 +237,10 @@ class S extends d {
|
|
|
234
237
|
i(e), this.camera = e;
|
|
235
238
|
}
|
|
236
239
|
renderMain() {
|
|
237
|
-
return a`<div class=${
|
|
240
|
+
return a`<div class=${n(c.base)} ${h(this._mapRef)}></div>`;
|
|
238
241
|
}
|
|
239
242
|
render() {
|
|
240
|
-
return a`${this.renderMain()}<section class=${
|
|
243
|
+
return a`${this.renderMain()}<section class=${n(c.containerUI)} ${h(this._containerRef)}>${this._uiController.render()}</section>`;
|
|
241
244
|
}
|
|
242
245
|
}
|
|
243
246
|
p("arcgis-scene", S);
|