@arcgis/map-components 4.32.0-next.7 → 4.32.0-next.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{YAKDNQDU.js → 26IYLFMW.js} +2 -2
- package/dist/arcgis-map-components/2NLVO2DQ.js +6 -0
- package/dist/arcgis-map-components/4DS67L3N.js +6 -0
- package/dist/arcgis-map-components/4U3MD2IE.js +6 -0
- package/dist/arcgis-map-components/5CG53WVB.js +6 -0
- package/dist/arcgis-map-components/5S45K6QF.js +6 -0
- package/dist/arcgis-map-components/5UPWC6GZ.js +6 -0
- package/dist/arcgis-map-components/5XDQP6JG.js +6 -0
- package/dist/arcgis-map-components/6B5KJD57.js +6 -0
- package/dist/arcgis-map-components/6I7U5UCS.js +6 -0
- package/dist/arcgis-map-components/A2A7Z4ID.js +6 -0
- package/dist/arcgis-map-components/AD7FBQ4W.js +6 -0
- package/dist/arcgis-map-components/AEPYAEVB.js +6 -0
- package/dist/arcgis-map-components/{TCHQQ6YP.js → AJBMZJ46.js} +2 -2
- package/dist/arcgis-map-components/ASOVND72.js +6 -0
- package/dist/arcgis-map-components/BDQRZM2Q.js +6 -0
- package/dist/arcgis-map-components/BW6XFJ64.js +6 -0
- package/dist/arcgis-map-components/BWSISUD3.js +6 -0
- package/dist/arcgis-map-components/CE427RF3.js +6 -0
- package/dist/arcgis-map-components/{4ZMBY532.js → DR55OESP.js} +1 -1
- package/dist/arcgis-map-components/{UX4JJY2U.js → DZGDTHN3.js} +2 -2
- package/dist/arcgis-map-components/E5NA4STS.js +6 -0
- package/dist/arcgis-map-components/{JGBTUFPL.js → ECNITWEN.js} +2 -2
- package/dist/arcgis-map-components/EP2NIALP.js +6 -0
- package/dist/arcgis-map-components/G6A2LTFS.js +6 -0
- package/dist/arcgis-map-components/GHMNH7PB.js +6 -0
- package/dist/arcgis-map-components/GOUTHFFW.js +6 -0
- package/dist/arcgis-map-components/H2SRIRSA.js +6 -0
- package/dist/arcgis-map-components/HHSIOPLT.js +6 -0
- package/dist/arcgis-map-components/I6MLF4MJ.js +6 -0
- package/dist/arcgis-map-components/IGEB3BAW.js +6 -0
- package/dist/arcgis-map-components/IWQWKCKH.js +6 -0
- package/dist/arcgis-map-components/KJVDJ5OQ.js +6 -0
- package/dist/arcgis-map-components/LDQ4VWNS.js +6 -0
- package/dist/arcgis-map-components/{LX73HFSX.js → LPX3CLLP.js} +2 -2
- package/dist/arcgis-map-components/LS5OI6R6.js +6 -0
- package/dist/arcgis-map-components/NJA3KSNJ.js +6 -0
- package/dist/arcgis-map-components/NYSPYER3.js +6 -0
- package/dist/arcgis-map-components/{UZQHNANU.js → O37OVJBX.js} +2 -2
- package/dist/arcgis-map-components/OGAYYWBW.js +6 -0
- package/dist/arcgis-map-components/P3VFC5ZQ.js +6 -0
- package/dist/arcgis-map-components/PIXMMVWC.js +6 -0
- package/dist/arcgis-map-components/{ZIY4VYAM.js → PPUMGJ6W.js} +4 -4
- package/dist/arcgis-map-components/PSV23ZT3.js +6 -0
- package/dist/arcgis-map-components/PUWJT4NL.js +6 -0
- package/dist/arcgis-map-components/Q5PZSLA2.js +6 -0
- package/dist/arcgis-map-components/QEXPZ2TP.js +6 -0
- package/dist/arcgis-map-components/{WD4FY5PW.js → QLIW6OTC.js} +2 -2
- package/dist/arcgis-map-components/RBIF6BPB.js +6 -0
- package/dist/arcgis-map-components/RGW45NMO.js +6 -0
- package/dist/arcgis-map-components/RPGH4LB5.js +6 -0
- package/dist/arcgis-map-components/{JYJ4UHNH.js → RW4HTOWG.js} +2 -2
- package/dist/arcgis-map-components/{WVG2XL45.js → RYYEB6TZ.js} +2 -2
- package/dist/arcgis-map-components/S5FY5R2K.js +6 -0
- package/dist/arcgis-map-components/{XDSXW32X.js → SB7AEVIC.js} +2 -2
- package/dist/arcgis-map-components/TQSVOK7C.js +6 -0
- package/dist/arcgis-map-components/{O5XG46EP.js → TVJVBCTP.js} +2 -2
- package/dist/arcgis-map-components/UGW6Q5E5.js +6 -0
- package/dist/arcgis-map-components/{ZIVFGNA3.js → UNA6PFSU.js} +2 -2
- package/dist/arcgis-map-components/V6CV3CBQ.js +6 -0
- package/dist/arcgis-map-components/{6SG2OALL.js → W2WPL3LZ.js} +2 -2
- package/dist/arcgis-map-components/{DR6IOA6M.js → WIFWKZMZ.js} +2 -2
- package/dist/arcgis-map-components/XDUFXVMY.js +6 -0
- package/dist/arcgis-map-components/{EF72I5WZ.js → XQBJES6M.js} +1 -1
- package/dist/arcgis-map-components/XTHTIM4Q.js +6 -0
- package/dist/arcgis-map-components/XWWCB3F4.js +6 -0
- package/dist/arcgis-map-components/XXDM3O3A.js +6 -0
- package/dist/arcgis-map-components/{V6UWCX5S.js → YONYTIVG.js} +2 -2
- package/dist/arcgis-map-components/{XOXPFGC5.js → Z4MFCZ54.js} +2 -2
- package/dist/arcgis-map-components/{WPNJSRZ6.js → Z6SSMZQE.js} +2 -2
- package/dist/arcgis-map-components/ZLNOA2ME.js +6 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/component-utils.js +3 -3
- 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 +7 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.js +14 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.js +7 -3
- package/dist/components/arcgis-attachments/customElement.d.ts +7 -0
- package/dist/components/arcgis-attachments/customElement.js +11 -7
- package/dist/components/arcgis-basemap-gallery/customElement.js +10 -6
- package/dist/components/arcgis-basemap-layer-list/customElement.js +10 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +16 -12
- package/dist/components/arcgis-bookmarks/customElement.js +12 -8
- package/dist/components/arcgis-building-explorer/customElement.js +10 -6
- package/dist/components/arcgis-catalog-layer-list/customElement.js +10 -6
- package/dist/components/arcgis-compass/customElement.js +19 -12
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +4 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +10 -6
- package/dist/components/arcgis-daylight/customElement.d.ts +7 -0
- package/dist/components/arcgis-daylight/customElement.js +12 -8
- package/dist/components/arcgis-directional-pad/customElement.js +12 -8
- package/dist/components/arcgis-directions/customElement.js +16 -12
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +7 -1
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +10 -6
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +0 -7
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +14 -10
- package/dist/components/arcgis-editor/customElement.js +11 -7
- package/dist/components/arcgis-elevation-profile/customElement.js +10 -6
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.js +18 -14
- package/dist/components/arcgis-feature-form/customElement.d.ts +7 -0
- package/dist/components/arcgis-feature-form/customElement.js +10 -6
- package/dist/components/arcgis-feature-table/customElement.d.ts +3 -1
- package/dist/components/arcgis-feature-table/customElement.js +8 -8
- package/dist/components/arcgis-feature-templates/customElement.d.ts +7 -0
- package/dist/components/arcgis-feature-templates/customElement.js +10 -6
- package/dist/components/arcgis-features/customElement.d.ts +7 -0
- package/dist/components/arcgis-features/customElement.js +10 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +7 -0
- package/dist/components/arcgis-floor-filter/customElement.js +10 -6
- package/dist/components/arcgis-fullscreen/customElement.js +15 -11
- package/dist/components/arcgis-histogram/customElement.d.ts +7 -0
- package/dist/components/arcgis-histogram/customElement.js +10 -6
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +0 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +12 -8
- package/dist/components/arcgis-home/customElement.js +15 -11
- package/dist/components/arcgis-layer-list/customElement.js +10 -6
- package/dist/components/arcgis-legend/customElement.js +10 -6
- package/dist/components/arcgis-line-of-sight/customElement.js +12 -8
- package/dist/components/arcgis-locate/customElement.js +14 -10
- package/dist/components/arcgis-map/customElement.js +32 -32
- package/dist/components/arcgis-measurement/customElement.js +10 -6
- package/dist/components/arcgis-navigation-toggle/customElement.js +12 -8
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +12 -8
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +10 -6
- package/dist/components/arcgis-scale-bar/customElement.js +1 -1
- package/dist/components/arcgis-scale-range-slider/customElement.js +10 -6
- package/dist/components/arcgis-scene/customElement.d.ts +18 -1
- package/dist/components/arcgis-scene/customElement.js +30 -13
- package/dist/components/arcgis-search/customElement.d.ts +7 -1
- package/dist/components/arcgis-search/customElement.js +10 -6
- package/dist/components/arcgis-shadow-cast/customElement.js +10 -6
- package/dist/components/arcgis-sketch/customElement.d.ts +7 -0
- package/dist/components/arcgis-sketch/customElement.js +12 -8
- package/dist/components/arcgis-slice/customElement.js +12 -8
- package/dist/components/arcgis-slider/customElement.js +7 -7
- package/dist/components/arcgis-swipe/customElement.js +1 -1
- package/dist/components/arcgis-table-list/customElement.js +15 -11
- package/dist/components/arcgis-time-slider/customElement.js +13 -9
- package/dist/components/arcgis-track/customElement.d.ts +1 -1
- package/dist/components/arcgis-track/customElement.js +13 -9
- package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
- package/dist/components/arcgis-value-picker/customElement.d.ts +0 -7
- package/dist/components/arcgis-value-picker/customElement.js +10 -6
- package/dist/components/arcgis-version-management/customElement.js +1 -1
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +12 -8
- package/dist/components/arcgis-zoom/customElement.js +7 -7
- package/dist/controllers/useViewModel.d.ts +3 -1
- package/dist/controllers/useWidget.d.ts +1 -1
- package/dist/docs/docs.json +48 -7
- package/dist/docs/manifest.json +59 -11
- package/dist/docs/vscode.html-custom-data.json +10 -5
- package/dist/docs/web-types.json +30 -10
- package/dist/index.d.ts +8 -3
- package/dist/index.js +7 -4
- package/dist/loader.js +2 -2
- package/dist/types/components.d.ts +1 -5
- package/dist/types/lumina.d.ts +2 -1
- package/dist/types/preact.d.ts +2 -1
- package/dist/types/react.d.ts +2 -1
- package/dist/types/stencil.d.ts +2 -1
- package/package.json +7 -7
- package/dist/arcgis-map-components/2A25TYG6.js +0 -6
- package/dist/arcgis-map-components/2N55O26O.js +0 -6
- package/dist/arcgis-map-components/2QSFHBVG.js +0 -6
- package/dist/arcgis-map-components/2TOMY7TD.js +0 -6
- package/dist/arcgis-map-components/52PFU3FG.js +0 -6
- package/dist/arcgis-map-components/5X4OBSHN.js +0 -6
- package/dist/arcgis-map-components/64YWLPOV.js +0 -6
- package/dist/arcgis-map-components/6ATH4SYH.js +0 -6
- package/dist/arcgis-map-components/7BUGSZRT.js +0 -6
- package/dist/arcgis-map-components/7JXHFKEX.js +0 -6
- package/dist/arcgis-map-components/7KTLQHJ5.js +0 -6
- package/dist/arcgis-map-components/AK3FXQDM.js +0 -6
- package/dist/arcgis-map-components/AWVMMDFK.js +0 -6
- package/dist/arcgis-map-components/B7OXFC7J.js +0 -6
- package/dist/arcgis-map-components/BRXQ33AJ.js +0 -6
- package/dist/arcgis-map-components/DAKYQPUS.js +0 -6
- package/dist/arcgis-map-components/DEGQKFZW.js +0 -6
- package/dist/arcgis-map-components/DSXTSZOH.js +0 -6
- package/dist/arcgis-map-components/E2EPRMSI.js +0 -6
- package/dist/arcgis-map-components/F63CZB7R.js +0 -6
- package/dist/arcgis-map-components/FJB34PJD.js +0 -6
- package/dist/arcgis-map-components/FLLDDWNY.js +0 -6
- package/dist/arcgis-map-components/FTOXJ6Y2.js +0 -6
- package/dist/arcgis-map-components/H6WFGH37.js +0 -6
- package/dist/arcgis-map-components/HVSLLIFX.js +0 -6
- package/dist/arcgis-map-components/IBQQAJNR.js +0 -6
- package/dist/arcgis-map-components/J4YWDWCW.js +0 -6
- package/dist/arcgis-map-components/J6RZCZEJ.js +0 -6
- package/dist/arcgis-map-components/KFWR3743.js +0 -6
- package/dist/arcgis-map-components/KT7V76Z5.js +0 -6
- package/dist/arcgis-map-components/LEYT65FJ.js +0 -6
- package/dist/arcgis-map-components/LNUEJ2YO.js +0 -6
- package/dist/arcgis-map-components/MNBV2LVQ.js +0 -6
- package/dist/arcgis-map-components/MRUGEIEN.js +0 -6
- package/dist/arcgis-map-components/O5F6WGV3.js +0 -6
- package/dist/arcgis-map-components/OL46KGZ3.js +0 -6
- package/dist/arcgis-map-components/ONF42IHH.js +0 -6
- package/dist/arcgis-map-components/ORBUFGQZ.js +0 -6
- package/dist/arcgis-map-components/P7R7WEZQ.js +0 -6
- package/dist/arcgis-map-components/PGZJFOZB.js +0 -6
- package/dist/arcgis-map-components/Q73GCMNG.js +0 -6
- package/dist/arcgis-map-components/QELGYUUG.js +0 -6
- package/dist/arcgis-map-components/QLGVLJYK.js +0 -6
- package/dist/arcgis-map-components/R3IRKDGV.js +0 -6
- package/dist/arcgis-map-components/RVVU7ACX.js +0 -6
- package/dist/arcgis-map-components/S6IT5W3C.js +0 -6
- package/dist/arcgis-map-components/SC2UR5WA.js +0 -6
- package/dist/arcgis-map-components/TPKPZQWV.js +0 -6
- package/dist/arcgis-map-components/WQEUM47V.js +0 -6
- package/dist/arcgis-map-components/XU7RHRB6.js +0 -6
- package/dist/arcgis-map-components/ZZDXJBNG.js +0 -6
@@ -11,6 +11,13 @@ declare const useAttachmentsWidget: (component: import('@arcgis/components-contr
|
|
11
11
|
destroy?: (() => Promise<void>) | undefined;
|
12
12
|
} & Pick<__esri.Attachments, "label" | "viewModel" | "icon" | "graphic" | "capabilities" | "displayType"> & {
|
13
13
|
reactiveUtils?: __esri.reactiveUtils | undefined;
|
14
|
+
/**
|
15
|
+
* If true, the component will not be destroyed automatically when it is
|
16
|
+
* disconnected from the document. This is useful when you want to move the
|
17
|
+
* component to a different place on the page, or temporary hide it. If this
|
18
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
19
|
+
* memory leaks.
|
20
|
+
*/
|
14
21
|
state?: unknown;
|
15
22
|
viewModel?: __esri.AttachmentsViewModel | undefined;
|
16
23
|
icon: string | Nil;
|
@@ -2,16 +2,17 @@ import { c as t } from "../../chunks/runtime.js";
|
|
2
2
|
import { newWidgetsAttachments as e } from "@arcgis/core-adapter";
|
3
3
|
import { m as i } from "../../chunks/useWidget.js";
|
4
4
|
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
5
|
-
import { LitElement as
|
5
|
+
import { LitElement as a, createEvent as d, noShadowRoot as o } from "@arcgis/lumina";
|
6
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
6
7
|
/*!
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
9
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.9
|
10
11
|
*/
|
11
|
-
const h = i(e);
|
12
|
-
class
|
12
|
+
const n = h`arcgis-attachments{display:flex}`, r = i(e);
|
13
|
+
class l extends a {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = r(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.capabilities = this.widget.capabilities, this.displayType = this.widget.displayType, this.graphic = this.widget.graphic, this.hideAddButton = this.widget.visibleElements.addButton, this.hideAddSubmitButton = this.widget.visibleElements.addSubmitButton, this.hideCancelAddButton = this.widget.visibleElements.cancelAddButton, this.hideCancelUpdateButton = this.widget.visibleElements.cancelUpdateButton, this.hideDeleteButton = this.widget.visibleElements.deleteButton, this.hideErrorMessage = this.widget.visibleElements.errorMessage, this.hideProgressBar = this.widget.visibleElements.progressBar, this.hideUpdateButton = this.widget.visibleElements.updateButton, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.submitting = this.widget.submitting, this.arcgisPropertyChange = s()("submitting", "state"), this.arcgisReady = d();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { autoDestroyDisabled: 5, capabilities: 0, displayType: 1, graphic: 0, hideAddButton: 5, hideAddSubmitButton: 5, hideCancelAddButton: 5, hideCancelUpdateButton: 5, hideDeleteButton: 5, hideErrorMessage: 5, hideProgressBar: 5, hideUpdateButton: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, submitting: 4 };
|
@@ -19,6 +20,9 @@ class n extends d {
|
|
19
20
|
static {
|
20
21
|
this.shadowRootOptions = o;
|
21
22
|
}
|
23
|
+
static {
|
24
|
+
this.styles = n;
|
25
|
+
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
24
28
|
/** Permanently destroy the component */
|
@@ -26,7 +30,7 @@ class n extends d {
|
|
26
30
|
await this.manager.destroy();
|
27
31
|
}
|
28
32
|
}
|
29
|
-
t("arcgis-attachments",
|
33
|
+
t("arcgis-attachments", l);
|
30
34
|
export {
|
31
|
-
|
35
|
+
l as ArcgisAttachments
|
32
36
|
};
|
@@ -3,15 +3,16 @@ import { newWidgetsBasemapGallery as t } from "@arcgis/core-adapter";
|
|
3
3
|
import { m as s } from "../../chunks/useWidget.js";
|
4
4
|
import { usePropertyChange as i } from "@arcgis/components-controllers";
|
5
5
|
import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lumina";
|
6
|
+
import { css as l } from "@lit/reactive-element/css-tag.js";
|
6
7
|
/*!
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
9
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.9
|
10
11
|
*/
|
11
|
-
const l = s(t);
|
12
|
-
class
|
12
|
+
const h = l`arcgis-basemap-gallery{display:flex}`, d = s(t);
|
13
|
+
class m extends a {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.activeBasemap = this.widget.activeBasemap, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.source = this.widget.source, this.state = this.viewModel.state, this.arcgisPropertyChange = i()("activeBasemap", "state"), this.arcgisReady = o();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, disabled: 7, headingLevel: 9, icon: 1, label: 1, position: 1, referenceElement: 1, source: 0, state: 3 };
|
@@ -19,6 +20,9 @@ class h extends a {
|
|
19
20
|
static {
|
20
21
|
this.shadowRootOptions = r;
|
21
22
|
}
|
23
|
+
static {
|
24
|
+
this.styles = h;
|
25
|
+
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
24
28
|
/** Permanently destroy the component */
|
@@ -26,7 +30,7 @@ class h extends a {
|
|
26
30
|
await this.manager.destroy();
|
27
31
|
}
|
28
32
|
}
|
29
|
-
e("arcgis-basemap-gallery",
|
33
|
+
e("arcgis-basemap-gallery", m);
|
30
34
|
export {
|
31
|
-
|
35
|
+
m as ArcgisBasemapGallery
|
32
36
|
};
|
@@ -4,15 +4,16 @@ import { newWidgetsBasemapLayerList as i } from "@arcgis/core-adapter";
|
|
4
4
|
import { m as s } from "../../chunks/useWidget.js";
|
5
5
|
import { LitElement as r, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
|
6
6
|
import { reEmitEvent as l } from "@arcgis/components-controllers/accessor";
|
7
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
7
8
|
/*!
|
8
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
-
* v4.32.0-next.
|
11
|
+
* v4.32.0-next.9
|
11
12
|
*/
|
12
|
-
const h = s(i);
|
13
|
-
class
|
13
|
+
const n = h`arcgis-basemap-layer-list{display:flex}`, d = s(i);
|
14
|
+
class c extends r {
|
14
15
|
constructor() {
|
15
|
-
super(...arguments), this.widget =
|
16
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.baseFilterText = this.widget.baseFilterText, this.baseListItemCreatedFunction = this.widget.baseListItemCreatedFunction, this.basemapTitle = this.widget.basemapTitle, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.editingTitle = this.widget.editingTitle, this.filterPlaceholder = this.widget.filterPlaceholder, this.headingLevel = this.widget.headingLevel, this.hideBaseLayers = this.widget.visibleElements.baseLayers, this.hideFlow = this.widget.visibleElements.flow, this.hideHeading = this.widget.visibleElements.heading, this.hideReferenceLayers = this.widget.visibleElements.referenceLayers, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.referenceFilterText = this.widget.referenceFilterText, this.referenceListItemCreatedFunction = this.widget.referenceListItemCreatedFunction, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditTitleButton = this.widget.visibleElements.editTitleButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = l(() => this.widget, "trigger-action");
|
16
17
|
}
|
17
18
|
static {
|
18
19
|
this.properties = { autoDestroyDisabled: 5, baseFilterText: 1, baseItems: 32, baseListItemCreatedFunction: 0, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, hideBaseLayers: 5, hideFlow: 5, hideHeading: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, icon: 1, label: 1, minFilterItems: 9, position: 1, referenceElement: 1, referenceFilterText: 1, referenceItems: 32, referenceListItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, showFilter: 5, showTemporaryLayerIndicators: 5, state: 3, visibilityAppearance: 1 };
|
@@ -20,6 +21,9 @@ class n extends r {
|
|
20
21
|
static {
|
21
22
|
this.shadowRootOptions = o;
|
22
23
|
}
|
24
|
+
static {
|
25
|
+
this.styles = n;
|
26
|
+
}
|
23
27
|
/** A collection of ListItems representing the baseLayers. */
|
24
28
|
get baseItems() {
|
25
29
|
return this.widget.baseItems;
|
@@ -39,7 +43,7 @@ class n extends r {
|
|
39
43
|
await this.manager.destroy();
|
40
44
|
}
|
41
45
|
}
|
42
|
-
e("arcgis-basemap-layer-list",
|
46
|
+
e("arcgis-basemap-layer-list", c);
|
43
47
|
export {
|
44
|
-
|
48
|
+
c as ArcgisBasemapLayerList
|
45
49
|
};
|
@@ -1,15 +1,16 @@
|
|
1
1
|
import { c as B } from "../../chunks/runtime.js";
|
2
2
|
import { html as l } from "lit-html";
|
3
3
|
import { g as b } from "../../chunks/globalCss.js";
|
4
|
-
import { u as f, m as
|
4
|
+
import { u as f, m as x } from "../../chunks/useViewModel.js";
|
5
5
|
import { classes as r } from "@arcgis/components-utils";
|
6
|
-
import { load as
|
6
|
+
import { load as S, usePropertyChange as T } from "@arcgis/components-controllers";
|
7
7
|
import { importApplicationsComponentsBasemapUtils as M, newWidgetsBasemapToggleBasemapToggleViewModel as k } from "@arcgis/core-adapter";
|
8
|
-
import { LitElement as C, createEvent as I, noShadowRoot as A, safeClassMap as a, nothing as
|
8
|
+
import { LitElement as C, createEvent as I, noShadowRoot as A, safeClassMap as a, nothing as c, safeStyleMap as u } from "@arcgis/lumina";
|
9
|
+
import { css as L } from "@lit/reactive-element/css-tag.js";
|
9
10
|
/*!
|
10
11
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
11
12
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
12
|
-
* v4.32.0-next.
|
13
|
+
* v4.32.0-next.9
|
13
14
|
*/
|
14
15
|
const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
15
16
|
base: s,
|
@@ -20,10 +21,10 @@ const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
20
21
|
overlay: `${o}__overlay ${s}__image-overlay`,
|
21
22
|
title: `${o}__title ${s}__title`,
|
22
23
|
overlayScrim: `${o}__overlay-scrim`
|
23
|
-
}, L =
|
24
|
-
class
|
24
|
+
}, U = L`arcgis-basemap-toggle{display:flex}`, D = x(k);
|
25
|
+
class E extends C {
|
25
26
|
constructor() {
|
26
|
-
super(...arguments), this.basemapUtils =
|
27
|
+
super(...arguments), this.basemapUtils = S(M), this.messages = f(), this.viewModel = D(this), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.position = "top-left", this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = T()("nextBasemap", "state"), this.arcgisReady = I();
|
27
28
|
}
|
28
29
|
static {
|
29
30
|
this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, nextBasemap: 0, position: 3, referenceElement: 1, showTitle: 5, state: 3 };
|
@@ -31,6 +32,9 @@ class U extends C {
|
|
31
32
|
static {
|
32
33
|
this.shadowRootOptions = A;
|
33
34
|
}
|
35
|
+
static {
|
36
|
+
this.styles = U;
|
37
|
+
}
|
34
38
|
// #endregion
|
35
39
|
// #region Public Methods
|
36
40
|
/** Permanently destroy the component */
|
@@ -50,13 +54,13 @@ class U extends C {
|
|
50
54
|
// #endregion
|
51
55
|
// #region Rendering
|
52
56
|
render() {
|
53
|
-
const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", p = t.state === "incompatible-next-basemap",
|
57
|
+
const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", p = t.state === "incompatible-next-basemap", m = i?.title ?? "", d = i && i.loadStatus !== "loaded";
|
54
58
|
let g;
|
55
|
-
const h = this.showTitle &&
|
56
|
-
return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${
|
59
|
+
const h = this.showTitle && m, v = p, y = h || v, w = this._getThumbnailStyles(n), _ = this._getThumbnailStyles(i);
|
60
|
+
return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${m ?? c}>${m}</span>` : null}${v ? l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference ?? c}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`), l`<div class=${a(r(e.base, b.widget))}><calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? c} .disabled=${p} kind=neutral .label=${(this.label ?? void 0) || ""} @click=${() => void this.toggle()} title=${((this.label ?? void 0) || "") ?? c}><div class=${a(r(e.container, e.secondaryBasemapImage))}><div class=${a(e.image)} style=${u(w)}></div></div><div class=${a(e.container)}><div class=${a(r(e.image, d ? e.imageLoading : null))} style=${u(_)}>${d || $ ? l`<calcite-scrim><span aria-hidden=true class=${a(b.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${g}</div></calcite-button></div>`;
|
57
61
|
}
|
58
62
|
}
|
59
|
-
B("arcgis-basemap-toggle",
|
63
|
+
B("arcgis-basemap-toggle", E);
|
60
64
|
export {
|
61
|
-
|
65
|
+
E as ArcgisBasemapToggle
|
62
66
|
};
|
@@ -2,23 +2,27 @@ import { c as i } from "../../chunks/runtime.js";
|
|
2
2
|
import { newWidgetsBookmarks as e } from "@arcgis/core-adapter";
|
3
3
|
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
4
4
|
import { m as o } from "../../chunks/useWidget.js";
|
5
|
-
import { LitElement as
|
5
|
+
import { LitElement as a, createEvent as l, noShadowRoot as h } from "@arcgis/lumina";
|
6
6
|
import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
7
|
+
import { css as d } from "@lit/reactive-element/css-tag.js";
|
7
8
|
/*!
|
8
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
-
* v4.32.0-next.
|
11
|
+
* v4.32.0-next.9
|
11
12
|
*/
|
12
|
-
const d = o(e);
|
13
|
-
class
|
13
|
+
const r = d`arcgis-bookmarks{display:flex}`, n = o(e);
|
14
|
+
class m extends a {
|
14
15
|
constructor() {
|
15
|
-
super(...arguments), this.widget =
|
16
|
+
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange = s()("state"), this.arcgisReady = l(), this.arcgisSelect = t(() => this.widget, "bookmark-select");
|
16
17
|
}
|
17
18
|
static {
|
18
19
|
this.properties = { autoDestroyDisabled: 5, bookmarks: 0, defaultCreateOptions: 0, defaultEditOptions: 0, disabled: 7, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, hideFlow: 5, hideThumbnail: 5, hideTime: 5, icon: 1, label: 1, position: 1, referenceElement: 1, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, showHeading: 5, state: 3 };
|
19
20
|
}
|
20
21
|
static {
|
21
|
-
this.shadowRootOptions =
|
22
|
+
this.shadowRootOptions = h;
|
23
|
+
}
|
24
|
+
static {
|
25
|
+
this.styles = r;
|
22
26
|
}
|
23
27
|
// #endregion
|
24
28
|
// #region Public Methods
|
@@ -27,7 +31,7 @@ class r extends h {
|
|
27
31
|
await this.manager.destroy();
|
28
32
|
}
|
29
33
|
}
|
30
|
-
i("arcgis-bookmarks",
|
34
|
+
i("arcgis-bookmarks", m);
|
31
35
|
export {
|
32
|
-
|
36
|
+
m as ArcgisBookmarks
|
33
37
|
};
|
@@ -3,15 +3,16 @@ import { newWidgetsBuildingExplorer as i } from "@arcgis/core-adapter";
|
|
3
3
|
import { m as s } from "../../chunks/useWidget.js";
|
4
4
|
import { usePropertyChange as t } from "@arcgis/components-controllers";
|
5
5
|
import { LitElement as l, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
6
|
+
import { css as r } from "@lit/reactive-element/css-tag.js";
|
6
7
|
/*!
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
9
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.9
|
10
11
|
*/
|
11
|
-
const a = s(i);
|
12
|
-
class
|
12
|
+
const a = r`arcgis-building-explorer{display:flex}`, d = s(i);
|
13
|
+
class n extends l {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideDisciplines = this.widget.visibleElements.disciplines, this.hideLevels = this.widget.visibleElements.levels, this.hidePhases = this.widget.visibleElements.phases, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.level = this.viewModel.level, this.phase = this.viewModel.phase, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = t()("level", "phase", "state"), this.arcgisReady = o();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideDisciplines: 5, hideLevels: 5, hidePhases: 5, icon: 1, label: 1, layers: 0, level: 0, phase: 0, position: 1, referenceElement: 1, state: 3 };
|
@@ -19,6 +20,9 @@ class r extends l {
|
|
19
20
|
static {
|
20
21
|
this.shadowRootOptions = h;
|
21
22
|
}
|
23
|
+
static {
|
24
|
+
this.styles = a;
|
25
|
+
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
24
28
|
/** Permanently destroy the component */
|
@@ -26,7 +30,7 @@ class r extends l {
|
|
26
30
|
await this.manager.destroy();
|
27
31
|
}
|
28
32
|
}
|
29
|
-
e("arcgis-building-explorer",
|
33
|
+
e("arcgis-building-explorer", n);
|
30
34
|
export {
|
31
|
-
|
35
|
+
n as ArcgisBuildingExplorer
|
32
36
|
};
|
@@ -4,15 +4,16 @@ import { newWidgetsCatalogLayerList as i } from "@arcgis/core-adapter";
|
|
4
4
|
import { m as s } from "../../chunks/useWidget.js";
|
5
5
|
import { LitElement as o, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
6
6
|
import { reEmitEvent as r } from "@arcgis/components-controllers/accessor";
|
7
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
7
8
|
/*!
|
8
9
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
9
10
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
10
|
-
* v4.32.0-next.
|
11
|
+
* v4.32.0-next.9
|
11
12
|
*/
|
12
|
-
const h = s(i);
|
13
|
-
class
|
13
|
+
const d = h`arcgis-catalog-layer-list{display:flex}`, n = s(i);
|
14
|
+
class c extends o {
|
14
15
|
constructor() {
|
15
|
-
super(...arguments), this.widget =
|
16
|
+
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.catalogLayer = this.widget.catalogLayer, this.collapsed = this.widget.collapsed, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.headingLevel = this.widget.headingLevel, this.hideFlow = this.widget.visibleElements.flow, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.listItemCreatedFunction = this.widget.listItemCreatedFunction, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = r(() => this.widget, "trigger-action");
|
16
17
|
}
|
17
18
|
static {
|
18
19
|
this.properties = { autoDestroyDisabled: 5, catalogItems: 32, catalogLayer: 0, collapsed: 7, filterPlaceholder: 1, filterText: 1, headingLevel: 9, hideFlow: 5, hideStatusIndicators: 5, icon: 1, label: 1, listItemCreatedFunction: 0, minFilterItems: 9, position: 1, referenceElement: 1, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showErrors: 5, showFilter: 5, showHeading: 5, showTemporaryLayerIndicators: 5, state: 3, visibilityAppearance: 1 };
|
@@ -20,6 +21,9 @@ class d extends o {
|
|
20
21
|
static {
|
21
22
|
this.shadowRootOptions = l;
|
22
23
|
}
|
24
|
+
static {
|
25
|
+
this.styles = d;
|
26
|
+
}
|
23
27
|
/** A collection of ListItems representing the catalogLayers dynamicGroupLayer. */
|
24
28
|
get catalogItems() {
|
25
29
|
return this.widget.catalogItems;
|
@@ -31,7 +35,7 @@ class d extends o {
|
|
31
35
|
await this.manager.destroy();
|
32
36
|
}
|
33
37
|
}
|
34
|
-
t("arcgis-catalog-layer-list",
|
38
|
+
t("arcgis-catalog-layer-list", c);
|
35
39
|
export {
|
36
|
-
|
40
|
+
c as ArcgisCatalogLayerList
|
37
41
|
};
|
@@ -3,25 +3,32 @@ import { html as l } from "lit-html";
|
|
3
3
|
import { usePropertyChange as m } from "@arcgis/components-controllers";
|
4
4
|
import { classes as d } from "@arcgis/components-utils";
|
5
5
|
import { newWidgetsCompassCompassViewModel as h } from "@arcgis/core-adapter";
|
6
|
-
import { u as p, m as
|
6
|
+
import { u as p, m as g } from "../../chunks/useViewModel.js";
|
7
7
|
import { g as i } from "../../chunks/globalCss.js";
|
8
|
-
import { LitElement as
|
8
|
+
import { LitElement as u, createEvent as f, noShadowRoot as w, safeClassMap as s, nothing as o, safeStyleMap as y } from "@arcgis/lumina";
|
9
|
+
import { css as $ } from "@lit/reactive-element/css-tag.js";
|
9
10
|
/*!
|
10
11
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
11
12
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
12
|
-
* v4.32.0-next.
|
13
|
+
* v4.32.0-next.9
|
13
14
|
*/
|
14
|
-
const a = "esri-compass", r = {
|
15
|
+
const b = $`arcgis-compass{display:flex}`, a = "esri-compass", r = {
|
15
16
|
base: a,
|
16
17
|
iconContainer: `${a}__icon-container`
|
17
|
-
},
|
18
|
-
class
|
18
|
+
}, v = g(h);
|
19
|
+
class C extends u {
|
19
20
|
constructor() {
|
20
|
-
super(...arguments), this.messages = p(), this.viewModel =
|
21
|
+
super(...arguments), this.messages = p(), this.viewModel = v(this), this.autoDestroyDisabled = !1, this.orientation = this.viewModel.orientation, this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = m()("state", "orientation"), this.arcgisReady = f();
|
21
22
|
}
|
22
23
|
static {
|
23
24
|
this.properties = { autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, orientation: 0, position: 3, referenceElement: 1, state: 3 };
|
24
25
|
}
|
26
|
+
static {
|
27
|
+
this.shadowRootOptions = w;
|
28
|
+
}
|
29
|
+
static {
|
30
|
+
this.styles = b;
|
31
|
+
}
|
25
32
|
get icon() {
|
26
33
|
return this._icon ?? (this.state === "rotation" ? "arrow-up" : "compass-needle");
|
27
34
|
}
|
@@ -45,13 +52,13 @@ class b extends g {
|
|
45
52
|
// #region Rendering
|
46
53
|
render() {
|
47
54
|
const { messages: t, icon: n } = this;
|
48
|
-
return l`<div class=${
|
55
|
+
return l`<div class=${s(d(r.base, i.widget))}><calcite-button class=${s(i.widgetButton)} .disabled=${this.state === "disabled"} kind=neutral .label=${t.reset} @click=${this._reset} round scale=s title=${t.reset ?? o}><div aria-hidden=true class=${s(r.iconContainer)} title=${t.reset ?? o}><calcite-icon .icon=${n} style=${y(M(this.orientation))}></calcite-icon></div></calcite-button></div>`;
|
49
56
|
}
|
50
57
|
}
|
51
|
-
const
|
52
|
-
transform: `rotateZ(${
|
58
|
+
const M = (e) => ({
|
59
|
+
transform: `rotateZ(${e.z}deg)`
|
53
60
|
});
|
54
|
-
c("arcgis-compass",
|
61
|
+
c("arcgis-compass", C);
|
55
62
|
export {
|
56
|
-
|
63
|
+
C as ArcgisCompass
|
57
64
|
};
|
@@ -12,17 +12,16 @@ declare const useCoordinateConversionWidget: (component: import('@arcgis/compone
|
|
12
12
|
} & Pick<__esri.CoordinateConversion, "orientation" | "label" | "viewModel" | "icon" | "mode" | "headingLevel" | "conversions" | "formats" | "locationSymbol" | "storageType"> & {
|
13
13
|
reactiveUtils?: __esri.reactiveUtils | undefined;
|
14
14
|
state?: unknown;
|
15
|
-
|
15
|
+
viewModel?: __esri.CoordinateConversionViewModel | undefined;
|
16
|
+
icon: string | Nil;
|
17
|
+
label: string | Nil;
|
18
|
+
referenceElement: string | Nil | ArcgisReferenceElement; /**
|
16
19
|
* If true, the component will not be destroyed automatically when it is
|
17
20
|
* disconnected from the document. This is useful when you want to move the
|
18
21
|
* component to a different place on the page, or temporary hide it. If this
|
19
22
|
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
20
23
|
* memory leaks.
|
21
24
|
*/
|
22
|
-
viewModel?: __esri.CoordinateConversionViewModel | undefined;
|
23
|
-
icon: string | Nil;
|
24
|
-
label: string | Nil;
|
25
|
-
referenceElement: string | Nil | ArcgisReferenceElement;
|
26
25
|
position: __esri.UIPosition;
|
27
26
|
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
28
27
|
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
@@ -3,15 +3,16 @@ import { newWidgetsCoordinateConversion as s } from "@arcgis/core-adapter";
|
|
3
3
|
import { usePropertyChange as o } from "@arcgis/components-controllers";
|
4
4
|
import { m as n } from "../../chunks/useWidget.js";
|
5
5
|
import { LitElement as r, createEvent as a, noShadowRoot as d } from "@arcgis/lumina";
|
6
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
6
7
|
/*!
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
9
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.9
|
10
11
|
*/
|
11
|
-
const h = n(s);
|
12
|
-
class
|
12
|
+
const l = h`arcgis-coordinate-conversion{display:flex}`, g = n(s);
|
13
|
+
class c extends r {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = g(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.conversions = this.widget.conversions, this.currentLocation = this.widget.currentLocation, this.formats = this.widget.formats, this.headingLevel = this.widget.headingLevel, this.hideCaptureButton = this.widget.visibleElements.captureButton, this.hideEditButton = this.widget.visibleElements.editButton, this.hideExpandButton = this.widget.visibleElements.expandButton, this.hideSettingsButton = this.widget.visibleElements.settingsButton, this.icon = this.widget.icon, this.label = this.widget.label, this.locationSymbol = this.widget.locationSymbol, this.mode = this.widget.mode, this.multipleConversionsDisabled = this.widget.multipleConversions, this.orientation = this.widget.orientation, this.position = "bottom-left", this.state = this.viewModel.state, this.storageDisabled = this.widget.storageEnabled, this.storageType = this.widget.storageType, this.arcgisPropertyChange = o()("currentLocation", "state"), this.arcgisReady = a();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { autoDestroyDisabled: 5, conversions: 0, currentLocation: 0, formats: 0, headingLevel: 9, hideCaptureButton: 5, hideEditButton: 5, hideExpandButton: 5, hideSettingsButton: 5, icon: 1, label: 1, locationSymbol: 0, mode: 1, multipleConversionsDisabled: 5, orientation: 1, position: 1, referenceElement: 1, state: 3, storageDisabled: 5, storageType: 1 };
|
@@ -19,6 +20,9 @@ class l extends r {
|
|
19
20
|
static {
|
20
21
|
this.shadowRootOptions = d;
|
21
22
|
}
|
23
|
+
static {
|
24
|
+
this.styles = l;
|
25
|
+
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
24
28
|
/** Permanently destroy the component */
|
@@ -29,7 +33,7 @@ class l extends r {
|
|
29
33
|
return await this.widget?.reverseConvert(t, e);
|
30
34
|
}
|
31
35
|
}
|
32
|
-
i("arcgis-coordinate-conversion",
|
36
|
+
i("arcgis-coordinate-conversion", c);
|
33
37
|
export {
|
34
|
-
|
38
|
+
c as ArcgisCoordinateConversion
|
35
39
|
};
|
@@ -10,6 +10,13 @@ declare const useDaylightWidget: (component: import('@arcgis/components-controll
|
|
10
10
|
autoDestroyDisabled?: boolean | undefined;
|
11
11
|
destroy?: (() => Promise<void>) | undefined;
|
12
12
|
} & Pick<__esri.Daylight, "label" | "viewModel" | "icon" | "headingLevel" | "dateOrSeason" | "playSpeedMultiplier" | "timeSliderSteps"> & {
|
13
|
+
/**
|
14
|
+
* If true, the component will not be destroyed automatically when it is
|
15
|
+
* disconnected from the document. This is useful when you want to move the
|
16
|
+
* component to a different place on the page, or temporary hide it. If this
|
17
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
18
|
+
* memory leaks.
|
19
|
+
*/
|
13
20
|
reactiveUtils?: __esri.reactiveUtils | undefined;
|
14
21
|
state?: unknown;
|
15
22
|
viewModel?: __esri.DaylightViewModel | undefined;
|
@@ -1,22 +1,26 @@
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
2
2
|
import { newWidgetsDaylight as i } from "@arcgis/core-adapter";
|
3
3
|
import { m as t } from "../../chunks/useWidget.js";
|
4
|
-
import { LitElement as s, createEvent as a, noShadowRoot as
|
4
|
+
import { LitElement as s, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
5
|
+
import { css as h } from "@lit/reactive-element/css-tag.js";
|
5
6
|
/*!
|
6
7
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
7
8
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
8
|
-
* v4.32.0-next.
|
9
|
+
* v4.32.0-next.9
|
9
10
|
*/
|
10
|
-
const
|
11
|
-
class
|
11
|
+
const o = h`arcgis-daylight{display:flex}`, d = t(i);
|
12
|
+
class n extends s {
|
12
13
|
constructor() {
|
13
|
-
super(...arguments), this.widget =
|
14
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.currentSeason = this.viewModel.currentSeason, this.dateOrSeason = this.widget.dateOrSeason, this.dayPlaying = this.viewModel.dayPlaying, this.headingLevel = this.widget.headingLevel, this.hideDatePicker = this.widget.visibleElements.datePicker, this.hideHeader = this.widget.visibleElements.header, this.hidePlayButtons = this.widget.visibleElements.playButtons, this.hideShadowsToggle = this.widget.visibleElements.shadowsToggle, this.hideSunLightingToggle = this.widget.visibleElements.sunLightingToggle, this.hideTimezone = this.widget.visibleElements.timezone, this.icon = this.widget.icon, this.label = this.widget.label, this.playSpeedMultiplier = this.widget.playSpeedMultiplier, this.position = "bottom-left", this.timeSliderSteps = this.widget.timeSliderSteps, this.yearPlaying = this.viewModel.yearPlaying, this.arcgisReady = a();
|
14
15
|
}
|
15
16
|
static {
|
16
17
|
this.properties = { autoDestroyDisabled: 5, currentSeason: 1, dateOrSeason: 1, dayPlaying: 5, headingLevel: 9, hideDatePicker: 5, hideHeader: 5, hidePlayButtons: 5, hideShadowsToggle: 5, hideSunLightingToggle: 5, hideTimezone: 5, icon: 1, label: 1, playSpeedMultiplier: 9, position: 1, referenceElement: 1, timeSliderSteps: 9, yearPlaying: 5 };
|
17
18
|
}
|
18
19
|
static {
|
19
|
-
this.shadowRootOptions =
|
20
|
+
this.shadowRootOptions = l;
|
21
|
+
}
|
22
|
+
static {
|
23
|
+
this.styles = o;
|
20
24
|
}
|
21
25
|
// #endregion
|
22
26
|
// #region Public Methods
|
@@ -25,7 +29,7 @@ class d extends s {
|
|
25
29
|
await this.manager.destroy();
|
26
30
|
}
|
27
31
|
}
|
28
|
-
e("arcgis-daylight",
|
32
|
+
e("arcgis-daylight", n);
|
29
33
|
export {
|
30
|
-
|
34
|
+
n as ArcgisDaylight
|
31
35
|
};
|
@@ -1,17 +1,18 @@
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
2
|
-
import { newWidgetsDirectionalPad as
|
3
|
-
import { usePropertyChange as
|
2
|
+
import { newWidgetsDirectionalPad as i } from "@arcgis/core-adapter";
|
3
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
4
4
|
import { m as s } from "../../chunks/useWidget.js";
|
5
5
|
import { LitElement as a, createEvent as o, noShadowRoot as r } from "@arcgis/lumina";
|
6
|
+
import { css as l } from "@lit/reactive-element/css-tag.js";
|
6
7
|
/*!
|
7
8
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
9
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
9
|
-
* v4.32.0-next.
|
10
|
+
* v4.32.0-next.9
|
10
11
|
*/
|
11
|
-
const l = s(
|
12
|
-
class
|
12
|
+
const d = l`arcgis-directional-pad{display:flex}`, c = s(i);
|
13
|
+
class n extends a {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.disabled = this.widget.disabled, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.visualScale = this.widget.visualScale, this.arcgisPropertyChange = e()("state"), this.arcgisReady = o();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { autoDestroyDisabled: 5, disabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, visualScale: 1 };
|
@@ -19,6 +20,9 @@ class d extends a {
|
|
19
20
|
static {
|
20
21
|
this.shadowRootOptions = r;
|
21
22
|
}
|
23
|
+
static {
|
24
|
+
this.styles = d;
|
25
|
+
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
24
28
|
/** Permanently destroy the component */
|
@@ -26,7 +30,7 @@ class d extends a {
|
|
26
30
|
await this.manager.destroy();
|
27
31
|
}
|
28
32
|
}
|
29
|
-
t("arcgis-directional-pad",
|
33
|
+
t("arcgis-directional-pad", n);
|
30
34
|
export {
|
31
|
-
|
35
|
+
n as ArcgisDirectionalPad
|
32
36
|
};
|