@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
@@ -1,24 +1,28 @@
|
|
1
|
-
import { c as
|
1
|
+
import { c as a } from "../../chunks/runtime.js";
|
2
2
|
import { newLayersRouteLayer as s, newWidgetsDirections as r } from "@arcgis/core-adapter";
|
3
|
-
import {
|
3
|
+
import { f as h } from "../../chunks/component-utils.js";
|
4
4
|
import { usePropertyChange as n } from "@arcgis/components-controllers";
|
5
5
|
import { m as d } from "../../chunks/useWidget.js";
|
6
|
-
import { LitElement as l, createEvent as
|
6
|
+
import { LitElement as l, createEvent as c, noShadowRoot as w } from "@arcgis/lumina";
|
7
|
+
import { css as u } 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 y = d(r), i = "map-components:arcgis-directions";
|
13
|
-
class
|
13
|
+
const y = u`arcgis-directions{display:flex}`, m = d(r), i = "map-components:arcgis-directions";
|
14
|
+
class g extends l {
|
14
15
|
constructor() {
|
15
|
-
super(...arguments), this.widget =
|
16
|
+
super(...arguments), this.widget = m(this), this.viewModel = this.widget.viewModel, this.apiKey = this.widget.apiKey, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideLayerDetails = this.widget.visibleElements.layerDetails, this.hideSaveAsButton = this.widget.visibleElements.saveAsButton, this.hideSaveButton = this.widget.visibleElements.saveButton, this.icon = this.widget.icon, this.label = this.widget.label, this.lastRoute = this.widget.lastRoute, this.layer = this.widget.layer, this.maxStops = this.widget.maxStops, this.position = "bottom-left", this.searchProperties = this.widget.searchProperties, this.state = this.viewModel.state, this.unit = this.widget.unit, this.useDefaultRouteLayer = !1, this.arcgisPropertyChange = n()("lastRoute", "state"), this.arcgisReady = c();
|
16
17
|
}
|
17
18
|
static {
|
18
19
|
this.properties = { apiKey: 1, autoDestroyDisabled: 5, headingLevel: 9, hideLayerDetails: 5, hideSaveAsButton: 5, hideSaveButton: 5, icon: 1, label: 1, lastRoute: 0, layer: 0, maxStops: 9, position: 1, referenceElement: 1, routeLayerItemId: 1, searchProperties: 0, state: 0, unit: 1, useDefaultRouteLayer: 5 };
|
19
20
|
}
|
20
21
|
static {
|
21
|
-
this.shadowRootOptions =
|
22
|
+
this.shadowRootOptions = w;
|
23
|
+
}
|
24
|
+
static {
|
25
|
+
this.styles = y;
|
22
26
|
}
|
23
27
|
// #endregion
|
24
28
|
// #region Public Methods
|
@@ -55,8 +59,8 @@ class c extends l {
|
|
55
59
|
portalItem: {
|
56
60
|
id: e
|
57
61
|
}
|
58
|
-
}).then((
|
59
|
-
this.layer =
|
62
|
+
}).then((o) => {
|
63
|
+
this.layer = o, this.widget.view?.map.add(this.layer);
|
60
64
|
}).catch(console.error);
|
61
65
|
}
|
62
66
|
t.has("useDefaultRouteLayer") && this._setDefaultLayer();
|
@@ -70,7 +74,7 @@ class c extends l {
|
|
70
74
|
}).catch(console.error);
|
71
75
|
}
|
72
76
|
}
|
73
|
-
|
77
|
+
a("arcgis-directions", g);
|
74
78
|
export {
|
75
|
-
|
79
|
+
g as ArcgisDirections
|
76
80
|
};
|
@@ -15,7 +15,13 @@ declare const useDirectLineMeasurement3dWidget: (component: import('@arcgis/comp
|
|
15
15
|
viewModel?: __esri.DirectLineMeasurement3DViewModel | undefined;
|
16
16
|
icon: string | Nil;
|
17
17
|
label: string | Nil;
|
18
|
-
referenceElement: string | Nil | ArcgisReferenceElement;
|
18
|
+
referenceElement: string | Nil | ArcgisReferenceElement; /**
|
19
|
+
* If true, the component will not be destroyed automatically when it is
|
20
|
+
* disconnected from the document. This is useful when you want to move the
|
21
|
+
* component to a different place on the page, or temporary hide it. If this
|
22
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
23
|
+
* memory leaks.
|
24
|
+
*/
|
19
25
|
position: __esri.UIPosition;
|
20
26
|
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
21
27
|
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
@@ -3,15 +3,16 @@ import { newWidgetsDirectLineMeasurement3D as e } from "@arcgis/core-adapter";
|
|
3
3
|
import { usePropertyChange as i } 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 n } 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 n = s(e);
|
12
|
-
class
|
12
|
+
const l = n`arcgis-directline-measurement-3d{display:flex}`, d = s(e);
|
13
|
+
class c extends a {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.analysis = this.widget.analysis, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = i()("analysis", "state"), this.arcgisReady = o();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { analysis: 0, autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
|
@@ -19,6 +20,9 @@ class d extends a {
|
|
19
20
|
static {
|
20
21
|
this.shadowRootOptions = r;
|
21
22
|
}
|
23
|
+
static {
|
24
|
+
this.styles = l;
|
25
|
+
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
24
28
|
async clear() {
|
@@ -32,7 +36,7 @@ class d extends a {
|
|
32
36
|
this.widget?.viewModel.start();
|
33
37
|
}
|
34
38
|
}
|
35
|
-
t("arcgis-directline-measurement-3d",
|
39
|
+
t("arcgis-directline-measurement-3d", c);
|
36
40
|
export {
|
37
|
-
|
41
|
+
c as ArcgisDirectLineMeasurement3d
|
38
42
|
};
|
@@ -11,13 +11,6 @@ declare const useDistanceMeasurement2dWidget: (component: import('@arcgis/compon
|
|
11
11
|
destroy?: (() => Promise<void>) | undefined;
|
12
12
|
} & Pick<__esri.DistanceMeasurement2D, "label" | "viewModel" | "icon" | "unit" | "unitOptions"> & {
|
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
|
-
*/
|
21
14
|
state?: unknown;
|
22
15
|
viewModel?: __esri.DistanceMeasurement2DViewModel | undefined;
|
23
16
|
icon: string | Nil;
|
@@ -1,23 +1,27 @@
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
2
2
|
import { newWidgetsDistanceMeasurement2D as e } from "@arcgis/core-adapter";
|
3
|
-
import { usePropertyChange as
|
4
|
-
import { m as
|
5
|
-
import { LitElement as o, createEvent as a, noShadowRoot as
|
3
|
+
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
4
|
+
import { m as i } from "../../chunks/useWidget.js";
|
5
|
+
import { LitElement as o, createEvent as a, noShadowRoot as r } from "@arcgis/lumina";
|
6
|
+
import { css as n } 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
|
12
|
-
class
|
12
|
+
const m = n`arcgis-distance-measurement-2d{display:flex}`, c = i(e);
|
13
|
+
class d extends o {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.state = this.viewModel.state, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = s()("state"), this.arcgisReady = a();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
|
18
19
|
}
|
19
20
|
static {
|
20
|
-
this.shadowRootOptions =
|
21
|
+
this.shadowRootOptions = r;
|
22
|
+
}
|
23
|
+
static {
|
24
|
+
this.styles = m;
|
21
25
|
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
@@ -26,7 +30,7 @@ class h extends o {
|
|
26
30
|
await this.manager.destroy();
|
27
31
|
}
|
28
32
|
}
|
29
|
-
t("arcgis-distance-measurement-2d",
|
33
|
+
t("arcgis-distance-measurement-2d", d);
|
30
34
|
export {
|
31
|
-
|
35
|
+
d as ArcgisDistanceMeasurement2d
|
32
36
|
};
|
@@ -2,16 +2,17 @@ import { c as t } from "../../chunks/runtime.js";
|
|
2
2
|
import { newWidgetsEditor as i } 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 l, createEvent as a, noShadowRoot as n } 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 r = o(i);
|
12
|
-
class
|
12
|
+
const d = r`arcgis-editor{display:flex}`, g = o(i);
|
13
|
+
class h extends l {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = g(this), this.viewModel = this.widget.viewModel, this.activeWorkflow = this.widget.activeWorkflow, this.allowedWorkflows = this.widget.allowedWorkflows, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideCreateFeaturesSection = this.widget.visibleElements.createFeaturesSection, this.hideEditFeaturesSection = this.widget.visibleElements.editFeaturesSection, this.hideLabelsToggle = this.widget.visibleElements.labelsToggle, this.hideSnappingControlsElementsEnabledToggle = this.widget.visibleElements.snappingControlsElements.enabledToggle, this.hideSnappingControlsElementsFeatureEnabledToggle = this.widget.visibleElements.snappingControlsElements.featureEnabledToggle, this.hideSnappingControlsElementsLayerList = this.widget.visibleElements.snappingControlsElements.layerList, this.hideSnappingControlsElementsSelfEnabledToggle = this.widget.visibleElements.snappingControlsElements.selfEnabledToggle, this.hideTooltipsToggle = this.widget.visibleElements.tooltipsToggle, this.icon = this.widget.icon, this.label = this.widget.label, this.labelOptions = this.widget.labelOptions, this.layerInfos = this.widget.layerInfos, this.position = "bottom-left", this.showSnappingControlsElementsHeader = this.widget.visibleElements.snappingControlsElements.header, this.snappingOptions = this.widget.snappingOptions, this.state = this.viewModel.state, this.supportingWidgetDefaults = this.widget.supportingWidgetDefaults, this.tooltipOptions = this.widget.tooltipOptions, this.arcgisPropertyChange = s()("activeWorkflow", "state"), this.arcgisReady = a();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { activeWorkflow: 0, allowedWorkflows: 1, autoDestroyDisabled: 5, headingLevel: 9, hideCreateFeaturesSection: 5, hideEditFeaturesSection: 5, hideLabelsToggle: 5, hideSnappingControlsElementsEnabledToggle: 5, hideSnappingControlsElementsFeatureEnabledToggle: 5, hideSnappingControlsElementsLayerList: 5, hideSnappingControlsElementsSelfEnabledToggle: 5, hideTooltipsToggle: 5, icon: 1, label: 1, labelOptions: 0, layerInfos: 0, position: 1, referenceElement: 1, showSnappingControlsElementsHeader: 5, snappingOptions: 0, state: 3, supportingWidgetDefaults: 0, tooltipOptions: 0 };
|
@@ -19,6 +20,9 @@ class d extends a {
|
|
19
20
|
static {
|
20
21
|
this.shadowRootOptions = n;
|
21
22
|
}
|
23
|
+
static {
|
24
|
+
this.styles = d;
|
25
|
+
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
24
28
|
async cancelWorkflow() {
|
@@ -47,7 +51,7 @@ class d extends a {
|
|
47
51
|
await this.widget?.startUpdateWorkflowAtMultipleFeatureSelection(e);
|
48
52
|
}
|
49
53
|
}
|
50
|
-
t("arcgis-editor",
|
54
|
+
t("arcgis-editor", h);
|
51
55
|
export {
|
52
|
-
|
56
|
+
h as ArcgisEditor
|
53
57
|
};
|
@@ -3,15 +3,16 @@ import { newWidgetsElevationProfile as i } from "@arcgis/core-adapter";
|
|
3
3
|
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
4
4
|
import { m as s } from "../../chunks/useWidget.js";
|
5
5
|
import { LitElement as o, createEvent as h, noShadowRoot as n } 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 r = s(i);
|
12
|
-
class
|
12
|
+
const r = l`arcgis-elevation-profile{display:flex}`, a = s(i);
|
13
|
+
class d extends o {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = a(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.effectiveUnits = this.viewModel.effectiveUnits, this.hideChart = this.widget.visibleElements.chart, this.hideClearButton = this.widget.visibleElements.clearButton, this.hideLegend = this.widget.visibleElements.legend, this.hideSelectButton = this.widget.visibleElements.selectButton, this.hideSettingsButton = this.widget.visibleElements.settingsButton, this.hideSketchButton = this.widget.visibleElements.sketchButton, this.hideUniformChartScalingToggle = this.widget.visibleElements.uniformChartScalingToggle, this.hideUnitSelector = this.widget.visibleElements.unitSelector, this.highlightEnabled = this.viewModel.highlightEnabled, this.hoveredChartPosition = this.viewModel.hoveredChartPosition, this.icon = this.widget.icon, this.input = this.widget.input, this.label = this.widget.label, this.position = "bottom-left", this.profiles = this.widget.profiles, this.progress = this.viewModel.progress, this.state = this.viewModel.state, this.uniformChartScaling = this.viewModel.uniformChartScaling, this.unit = this.widget.unit, this.unitOptions = this.widget.unitOptions, this.arcgisPropertyChange = e()("input", "effectiveUnits", "progress", "state"), this.arcgisReady = h();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { autoDestroyDisabled: 5, effectiveUnits: 0, hideChart: 5, hideClearButton: 5, hideLegend: 5, hideSelectButton: 5, hideSettingsButton: 5, hideSketchButton: 5, hideUniformChartScalingToggle: 5, hideUnitSelector: 5, highlightEnabled: 5, hoveredChartPosition: 9, icon: 1, input: 0, label: 1, position: 1, profiles: 0, progress: 8, referenceElement: 1, state: 3, uniformChartScaling: 5, unit: 1, unitOptions: 0 };
|
@@ -19,6 +20,9 @@ class l extends o {
|
|
19
20
|
static {
|
20
21
|
this.shadowRootOptions = n;
|
21
22
|
}
|
23
|
+
static {
|
24
|
+
this.styles = r;
|
25
|
+
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
24
28
|
/** Permanently destroy the component */
|
@@ -32,7 +36,7 @@ class l extends o {
|
|
32
36
|
this.widget.viewModel.stop();
|
33
37
|
}
|
34
38
|
}
|
35
|
-
t("arcgis-elevation-profile",
|
39
|
+
t("arcgis-elevation-profile", d);
|
36
40
|
export {
|
37
|
-
|
41
|
+
d as ArcgisElevationProfile
|
38
42
|
};
|
@@ -6,9 +6,9 @@ import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*!
|
7
7
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
8
8
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
9
|
-
* v4.32.0-next.
|
9
|
+
* v4.32.0-next.9
|
10
10
|
*/
|
11
|
-
const c = n`arcgis-expand{pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`, d = i(e);
|
11
|
+
const c = n`arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`, d = i(e);
|
12
12
|
class l extends s {
|
13
13
|
// #endregion
|
14
14
|
// #region Lifecycle
|
@@ -1,17 +1,18 @@
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
2
2
|
import { newWidgetsFeature as s } from "@arcgis/core-adapter";
|
3
|
-
import { m as
|
4
|
-
import { usePropertyChange as
|
3
|
+
import { m as a } from "../../chunks/useWidget.js";
|
4
|
+
import { usePropertyChange as n } from "@arcgis/components-controllers";
|
5
5
|
import { LitElement as o, createEvent as d, noShadowRoot as h } 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 =
|
12
|
-
class
|
12
|
+
const r = l`arcgis-feature{display:flex}`, c = a(s);
|
13
|
+
class p extends o {
|
13
14
|
constructor() {
|
14
|
-
super(...arguments), this.widget =
|
15
|
+
super(...arguments), this.widget = c(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.defaultPopupTemplateEnabled = this.widget.defaultPopupTemplateEnabled, this.graphic = this.widget.graphic, this.headingLevel = this.widget.headingLevel, this.hideContentAttachments = this.widget.visibleElements.content.attachments, this.hideContentExpression = this.widget.visibleElements.content.expression, this.hideContentFields = this.widget.visibleElements.content.fields, this.hideContentMedia = this.widget.visibleElements.content.media, this.hideContentText = this.widget.visibleElements.content.text, this.hideLastEditInfo = this.widget.visibleElements.lastEditedInfo, this.hideTitle = this.widget.visibleElements.title, this.icon = this.widget.icon, this.label = this.widget.label, this.location = this.viewModel.location, this.map = this.widget.map, this.position = "bottom-left", this.spatialReference = this.widget.spatialReference, this.state = this.viewModel.state, this.arcgisPropertyChange = n()("state"), this.arcgisReady = d();
|
15
16
|
}
|
16
17
|
static {
|
17
18
|
this.properties = { autoDestroyDisabled: 5, defaultPopupTemplateEnabled: 5, graphic: 0, headingLevel: 9, hideContentAttachments: 5, hideContentExpression: 5, hideContentFields: 5, hideContentMedia: 5, hideContentText: 5, hideLastEditInfo: 5, hideTitle: 5, icon: 1, label: 1, location: 0, map: 0, position: 1, referenceElement: 1, spatialReference: 0, state: 3 };
|
@@ -19,23 +20,26 @@ class r extends o {
|
|
19
20
|
static {
|
20
21
|
this.shadowRootOptions = h;
|
21
22
|
}
|
23
|
+
static {
|
24
|
+
this.styles = r;
|
25
|
+
}
|
22
26
|
// #endregion
|
23
27
|
// #region Public Methods
|
24
28
|
/** Permanently destroy the component */
|
25
29
|
async destroy() {
|
26
30
|
await this.manager.destroy();
|
27
31
|
}
|
28
|
-
async nextMedia(
|
29
|
-
this.widget?.nextMedia(
|
32
|
+
async nextMedia(t) {
|
33
|
+
this.widget?.nextMedia(t);
|
30
34
|
}
|
31
|
-
async previousMedia(
|
32
|
-
this.widget?.previousMedia(
|
35
|
+
async previousMedia(t) {
|
36
|
+
this.widget?.previousMedia(t);
|
33
37
|
}
|
34
|
-
async setActiveMedia(
|
35
|
-
this.widget?.setActiveMedia(
|
38
|
+
async setActiveMedia(t, e) {
|
39
|
+
this.widget?.setActiveMedia(t, e);
|
36
40
|
}
|
37
41
|
}
|
38
|
-
i("arcgis-feature",
|
42
|
+
i("arcgis-feature", p);
|
39
43
|
export {
|
40
|
-
|
44
|
+
p as ArcgisFeature
|
41
45
|
};
|
@@ -14,6 +14,13 @@ declare const useFeatureFormWidget: (component: import('@arcgis/components-contr
|
|
14
14
|
state?: unknown;
|
15
15
|
viewModel?: __esri.FeatureFormViewModel | undefined;
|
16
16
|
icon: string | Nil;
|
17
|
+
/**
|
18
|
+
* If true, the component will not be destroyed automatically when it is
|
19
|
+
* disconnected from the document. This is useful when you want to move the
|
20
|
+
* component to a different place on the page, or temporary hide it. If this
|
21
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
22
|
+
* memory leaks.
|
23
|
+
*/
|
17
24
|
label: string | Nil;
|
18
25
|
referenceElement: string | Nil | ArcgisReferenceElement;
|
19
26
|
position: __esri.UIPosition;
|
@@ -4,15 +4,16 @@ import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
4
4
|
import { m as r } from "../../chunks/useWidget.js";
|
5
5
|
import { LitElement as a, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
6
6
|
import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
7
|
+
import { css as m } 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 m = r(i);
|
13
|
-
class
|
13
|
+
const l = m`arcgis-feature-form{display:flex}`, g = r(i);
|
14
|
+
class n extends a {
|
14
15
|
constructor() {
|
15
|
-
super(...arguments), this.widget =
|
16
|
+
super(...arguments), this.widget = g(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.feature = this.widget.feature, this.formTemplate = this.widget.formTemplate, this.groupDisplay = this.widget.groupDisplay, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.layer = this.widget.layer, this.position = "bottom-left", this.state = this.viewModel.state, this.timeZone = this.widget.timeZone, this.arcgisPropertyChange = s()("state"), this.arcgisReady = o(), this.arcgisSubmit = t(() => this.widget, "submit"), this.arcgisValueChange = t(() => this.widget, "value-change");
|
16
17
|
}
|
17
18
|
static {
|
18
19
|
this.properties = { autoDestroyDisabled: 5, feature: 0, formTemplate: 0, groupDisplay: 1, headingLevel: 9, icon: 1, label: 1, layer: 0, position: 1, referenceElement: 1, state: 3, timeZone: 1 };
|
@@ -20,6 +21,9 @@ class g extends a {
|
|
20
21
|
static {
|
21
22
|
this.shadowRootOptions = h;
|
22
23
|
}
|
24
|
+
static {
|
25
|
+
this.styles = l;
|
26
|
+
}
|
23
27
|
// #endregion
|
24
28
|
// #region Public Methods
|
25
29
|
/** Permanently destroy the component */
|
@@ -33,7 +37,7 @@ class g extends a {
|
|
33
37
|
return this.widget?.submit();
|
34
38
|
}
|
35
39
|
}
|
36
|
-
e("arcgis-feature-form",
|
40
|
+
e("arcgis-feature-form", n);
|
37
41
|
export {
|
38
|
-
|
42
|
+
n as ArcgisFeatureForm
|
39
43
|
};
|
@@ -10,7 +10,7 @@ declare const useFeatureTableWidget: (component: import('@arcgis/components-cont
|
|
10
10
|
el: HTMLElement;
|
11
11
|
autoDestroyDisabled?: boolean | undefined;
|
12
12
|
destroy?: (() => Promise<void>) | undefined;
|
13
|
-
} & Pick<__esri.FeatureTable, "timeExtent" | "timeZone" | "label" | "viewModel" | "icon" | "pageSize" | "layer" | "actionColumnConfig" | "attachmentsEnabled" | "description" | "editingEnabled" | "filterBySelectionEnabled" | "filterGeometry" | "hiddenFields" | "highlightIds" | "maxSize" | "menuConfig" | "objectIds" | "outFields" | "pageIndex" | "paginationEnabled" | "relatedRecordsEnabled" | "relatedTable" | "relatedTables" | "returnGeometryEnabled" | "returnMEnabled" | "returnZEnabled" | "rowHighlightIds" | "tableController" | "tableParent" | "tableTemplate"> & {
|
13
|
+
} & Pick<__esri.FeatureTable, "timeExtent" | "timeZone" | "label" | "viewModel" | "icon" | "pageSize" | "layer" | "actionColumnConfig" | "attachmentsEnabled" | "description" | "editingEnabled" | "filterBySelectionEnabled" | "filterGeometry" | "hiddenFields" | "highlightIds" | "initialSize" | "maxSize" | "menuConfig" | "objectIds" | "outFields" | "pageIndex" | "paginationEnabled" | "relatedRecordsEnabled" | "relatedTable" | "relatedTables" | "returnGeometryEnabled" | "returnMEnabled" | "returnZEnabled" | "rowHighlightIds" | "tableController" | "tableParent" | "tableTemplate"> & {
|
14
14
|
reactiveUtils?: __esri.reactiveUtils | undefined;
|
15
15
|
state?: "loaded" | "ready" | "disabled" | "error" | "loading" | undefined;
|
16
16
|
viewModel?: __esri.FeatureTableViewModel | undefined;
|
@@ -111,6 +111,7 @@ export declare class ArcgisFeatureTable extends LitElement implements Use<typeof
|
|
111
111
|
hideTooltips: boolean | undefined;
|
112
112
|
highlightDisabled: boolean;
|
113
113
|
highlightIds: __esri.Collection<string | number>;
|
114
|
+
initialSize: number;
|
114
115
|
/** Icon which represents the component. */
|
115
116
|
icon: string;
|
116
117
|
/** A read-only property which indicates if the table is querying or syncing data. */
|
@@ -196,6 +197,7 @@ export declare class ArcgisFeatureTable extends LitElement implements Use<typeof
|
|
196
197
|
readonly arcgisCellKeydown: CustomEvent<__esri.FeatureTableCellKeydownEvent>;
|
197
198
|
readonly arcgisCellPointerout: CustomEvent<__esri.FeatureTableCellPointeroutEvent>;
|
198
199
|
readonly arcgisCellPointerover: CustomEvent<__esri.FeatureTableCellPointeroverEvent>;
|
200
|
+
readonly arcgisColumnReorder: CustomEvent<__esri.FeatureTableColumnReorderEvent>;
|
199
201
|
readonly arcgisPropertyChange: CustomEvent<{
|
200
202
|
name: "size" | "state" | "effectiveSize" | "isQueryingOrSyncing" | "layerView";
|
201
203
|
}>;
|
@@ -2,25 +2,25 @@ import { c as o } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as h } from "@arcgis/components-controllers";
|
3
3
|
import { importLayersLayer as l, newWidgetsFeatureTable as d } from "@arcgis/core-adapter";
|
4
4
|
import { m as a } from "../../chunks/useWidget.js";
|
5
|
-
import {
|
6
|
-
import { LitElement as g, createEvent as n, noShadowRoot as
|
5
|
+
import { f as r } from "../../chunks/component-utils.js";
|
6
|
+
import { LitElement as g, createEvent as n, noShadowRoot as c } from "@arcgis/lumina";
|
7
7
|
import { reEmitEvent as i } from "@arcgis/components-controllers/accessor";
|
8
|
-
import { css as
|
8
|
+
import { css as m } from "@lit/reactive-element/css-tag.js";
|
9
9
|
/*!
|
10
10
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
11
11
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
12
|
-
* v4.32.0-next.
|
12
|
+
* v4.32.0-next.9
|
13
13
|
*/
|
14
|
-
const u =
|
14
|
+
const u = m`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`, w = a(d);
|
15
15
|
class b extends g {
|
16
16
|
constructor() {
|
17
|
-
super(...arguments), this.widget = w(this), this.viewModel = this.widget.viewModel, this.actionColumnConfig = this.widget.actionColumnConfig, this.activeFilters = this.widget.activeFilters, this.activeSortOrders = this.widget.activeSortOrders, this.allRelatedTablesVisible = this.widget.allRelatedTablesVisible, this.attachmentsEnabled = this.widget.attachmentsEnabled, this.autoDestroyDisabled = !1, this.autoRefreshDisabled = this.widget.autoRefreshEnabled, this.columnReorderingDisabled = this.widget.columnReorderingEnabled, this.columns = this.widget.columns, this.description = this.widget.description, this.editingEnabled = this.widget.editingEnabled, this.effectiveSize = this.widget.effectiveSize, this.filterBySelectionEnabled = this.widget.filterBySelectionEnabled, this.filterGeometry = this.widget.filterGeometry, this.hiddenFields = this.widget.hiddenFields, this.hideColumnMenuItemsSortAscending = this.widget.visibleElements.columnMenuItems.sortAscending, this.hideColumnMenuItemsSortDescending = this.widget.visibleElements.columnMenuItems.sortDescending, this.hideColumnMenus = this.widget.visibleElements.columnMenus, this.hideHeader = this.widget.visibleElements.header, this.hideMenu = this.widget.visibleElements.menu, this.hideMenuItemsClearSelection = this.widget.visibleElements.menuItems.clearSelection, this.hideMenuItemsDeleteSelection = this.widget.visibleElements.menuItems.deleteSelection, this.hideMenuItemsExportSelectionToCsv = this.widget.visibleElements.menuItems.exportSelectionToCSV, this.hideMenuItemsRefreshData = this.widget.visibleElements.menuItems.refreshData, this.hideMenuItemsSelectedRecordsShowAllToggle = this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle, this.hideMenuItemsSelectedRecordsShowSelectedToggle = this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle, this.hideMenuItemsToggleColumns = this.widget.visibleElements.menuItems.toggleColumns, this.hideMenuItemsZoomToSelection = this.widget.visibleElements.menuItems.zoomToSelection, this.hideProgress = this.widget.visibleElements.progress, this.hideSelectionColumn = this.widget.visibleElements.selectionColumn, this.hideTooltips = this.widget.visibleElements.tooltips, this.highlightDisabled = this.widget.highlightEnabled, this.highlightIds = this.widget.highlightIds, this.icon = this.widget.icon, this.isQueryingOrSyncing = this.widget.isQueryingOrSyncing, this.label = this.widget.label, this.layer = this.widget.layer, this.layerView = this.widget.layerView, this.layers = this.widget.layers, this.maxSize = this.widget.maxSize, this.menuConfig = this.widget.menuConfig, this.multipleSelectionDisabled = this.widget.multipleSelectionEnabled, this.multipleSortEnabled = this.widget.multiSortEnabled, this.objectIds = this.widget.objectIds, this.outFields = this.widget.outFields, this.pageCount = this.widget.pageCount, this.pageIndex = this.widget.pageIndex, this.pageSize = this.widget.pageSize, this.paginationEnabled = this.widget.paginationEnabled, this.position = "manual", this.relatedRecordsEnabled = this.widget.relatedRecordsEnabled, this.relatedTable = this.widget.relatedTable, this.relatedTables = this.widget.relatedTables, this.returnGeometryEnabled = this.widget.returnGeometryEnabled, this.returnMEnabled = this.widget.returnMEnabled, this.returnZEnabled = this.widget.returnZEnabled, this.rowHighlightIds = this.widget.rowHighlightIds, this.size = this.widget.size, this.state = this.widget.state, this.tableController = this.widget.tableController, this.tableDisabled = this.widget.disabled, this.tableParent = this.widget.tableParent, this.tableTemplate = this.widget.tableTemplate, this.timeExtent = this.widget.timeExtent, this.timeZone = this.widget.timeZone, this.arcgisCellClick = i(() => this.widget, "
|
17
|
+
super(...arguments), this.widget = w(this), this.viewModel = this.widget.viewModel, this.actionColumnConfig = this.widget.actionColumnConfig, this.activeFilters = this.widget.activeFilters, this.activeSortOrders = this.widget.activeSortOrders, this.allRelatedTablesVisible = this.widget.allRelatedTablesVisible, this.attachmentsEnabled = this.widget.attachmentsEnabled, this.autoDestroyDisabled = !1, this.autoRefreshDisabled = this.widget.autoRefreshEnabled, this.columnReorderingDisabled = this.widget.columnReorderingEnabled, this.columns = this.widget.columns, this.description = this.widget.description, this.editingEnabled = this.widget.editingEnabled, this.effectiveSize = this.widget.effectiveSize, this.filterBySelectionEnabled = this.widget.filterBySelectionEnabled, this.filterGeometry = this.widget.filterGeometry, this.hiddenFields = this.widget.hiddenFields, this.hideColumnMenuItemsSortAscending = this.widget.visibleElements.columnMenuItems.sortAscending, this.hideColumnMenuItemsSortDescending = this.widget.visibleElements.columnMenuItems.sortDescending, this.hideColumnMenus = this.widget.visibleElements.columnMenus, this.hideHeader = this.widget.visibleElements.header, this.hideMenu = this.widget.visibleElements.menu, this.hideMenuItemsClearSelection = this.widget.visibleElements.menuItems.clearSelection, this.hideMenuItemsDeleteSelection = this.widget.visibleElements.menuItems.deleteSelection, this.hideMenuItemsExportSelectionToCsv = this.widget.visibleElements.menuItems.exportSelectionToCSV, this.hideMenuItemsRefreshData = this.widget.visibleElements.menuItems.refreshData, this.hideMenuItemsSelectedRecordsShowAllToggle = this.widget.visibleElements.menuItems.selectedRecordsShowAllToggle, this.hideMenuItemsSelectedRecordsShowSelectedToggle = this.widget.visibleElements.menuItems.selectedRecordsShowSelectedToggle, this.hideMenuItemsToggleColumns = this.widget.visibleElements.menuItems.toggleColumns, this.hideMenuItemsZoomToSelection = this.widget.visibleElements.menuItems.zoomToSelection, this.hideProgress = this.widget.visibleElements.progress, this.hideSelectionColumn = this.widget.visibleElements.selectionColumn, this.hideTooltips = this.widget.visibleElements.tooltips, this.highlightDisabled = this.widget.highlightEnabled, this.highlightIds = this.widget.highlightIds, this.initialSize = this.widget.initialSize, this.icon = this.widget.icon, this.isQueryingOrSyncing = this.widget.isQueryingOrSyncing, this.label = this.widget.label, this.layer = this.widget.layer, this.layerView = this.widget.layerView, this.layers = this.widget.layers, this.maxSize = this.widget.maxSize, this.menuConfig = this.widget.menuConfig, this.multipleSelectionDisabled = this.widget.multipleSelectionEnabled, this.multipleSortEnabled = this.widget.multiSortEnabled, this.objectIds = this.widget.objectIds, this.outFields = this.widget.outFields, this.pageCount = this.widget.pageCount, this.pageIndex = this.widget.pageIndex, this.pageSize = this.widget.pageSize, this.paginationEnabled = this.widget.paginationEnabled, this.position = "manual", this.relatedRecordsEnabled = this.widget.relatedRecordsEnabled, this.relatedTable = this.widget.relatedTable, this.relatedTables = this.widget.relatedTables, this.returnGeometryEnabled = this.widget.returnGeometryEnabled, this.returnMEnabled = this.widget.returnMEnabled, this.returnZEnabled = this.widget.returnZEnabled, this.rowHighlightIds = this.widget.rowHighlightIds, this.size = this.widget.size, this.state = this.widget.state, this.tableController = this.widget.tableController, this.tableDisabled = this.widget.disabled, this.tableParent = this.widget.tableParent, this.tableTemplate = this.widget.tableTemplate, this.timeExtent = this.widget.timeExtent, this.timeZone = this.widget.timeZone, this.arcgisCellClick = i(() => this.widget, "cell-click"), this.arcgisCellKeydown = i(() => this.widget, "cell-keydown"), this.arcgisCellPointerout = i(() => this.widget, "cell-pointerout"), this.arcgisCellPointerover = i(() => this.widget, "cell-pointerover"), this.arcgisColumnReorder = i(() => this.widget, "column-reorder"), this.arcgisPropertyChange = h()("effectiveSize", "isQueryingOrSyncing", "layerView", "size", "state"), this.arcgisReady = n(), this.arcgisSelectionChange = n();
|
18
18
|
}
|
19
19
|
static {
|
20
|
-
this.properties = { actionColumnConfig: 0, activeFilters: 0, activeSortOrders: 0, allRelatedTablesVisible: 0, attachmentsEnabled: 5, autoDestroyDisabled: 5, autoRefreshDisabled: 5, columnReorderingDisabled: 5, columns: 0, description: 1, editingEnabled: 5, effectiveSize: 0, filterBySelectionEnabled: 5, filterGeometry: 0, hiddenFields: 0, hideColumnMenuItemsSortAscending: 5, hideColumnMenuItemsSortDescending: 5, hideColumnMenus: 5, hideHeader: 5, hideMenu: 5, hideMenuItemsClearSelection: 5, hideMenuItemsDeleteSelection: 5, hideMenuItemsExportSelectionToCsv: 5, hideMenuItemsRefreshData: 5, hideMenuItemsSelectedRecordsShowAllToggle: 5, hideMenuItemsSelectedRecordsShowSelectedToggle: 5, hideMenuItemsToggleColumns: 5, hideMenuItemsZoomToSelection: 5, hideProgress: 5, hideSelectionColumn: 5, hideTooltips: 5, highlightDisabled: 5, highlightIds: 0, icon: 1, isQueryingOrSyncing: 0, label: 1, layer: 0, layerItemId: 1, layerUrl: 1, layerView: 0, layers: 0, maxSize: 9, menuConfig: 0, multipleSelectionDisabled: 5, multipleSortEnabled: 5, objectIds: 0, outFields: 0, pageCount: 8, pageIndex: 9, pageSize: 9, paginationEnabled: 5, position: 1, referenceElement: 1, relatedRecordsEnabled: 5, relatedTable: 0, relatedTables: 0, returnGeometryEnabled: 5, returnMEnabled: 5, returnZEnabled: 5, rowHighlightIds: 0, size: 0, state: 3, tableController: 0, tableDisabled: 5, tableParent: 0, tableTemplate: 0, timeExtent: 0, timeZone: 1 };
|
20
|
+
this.properties = { actionColumnConfig: 0, activeFilters: 0, activeSortOrders: 0, allRelatedTablesVisible: 0, attachmentsEnabled: 5, autoDestroyDisabled: 5, autoRefreshDisabled: 5, columnReorderingDisabled: 5, columns: 0, description: 1, editingEnabled: 5, effectiveSize: 0, filterBySelectionEnabled: 5, filterGeometry: 0, hiddenFields: 0, hideColumnMenuItemsSortAscending: 5, hideColumnMenuItemsSortDescending: 5, hideColumnMenus: 5, hideHeader: 5, hideMenu: 5, hideMenuItemsClearSelection: 5, hideMenuItemsDeleteSelection: 5, hideMenuItemsExportSelectionToCsv: 5, hideMenuItemsRefreshData: 5, hideMenuItemsSelectedRecordsShowAllToggle: 5, hideMenuItemsSelectedRecordsShowSelectedToggle: 5, hideMenuItemsToggleColumns: 5, hideMenuItemsZoomToSelection: 5, hideProgress: 5, hideSelectionColumn: 5, hideTooltips: 5, highlightDisabled: 5, highlightIds: 0, initialSize: 9, icon: 1, isQueryingOrSyncing: 0, label: 1, layer: 0, layerItemId: 1, layerUrl: 1, layerView: 0, layers: 0, maxSize: 9, menuConfig: 0, multipleSelectionDisabled: 5, multipleSortEnabled: 5, objectIds: 0, outFields: 0, pageCount: 8, pageIndex: 9, pageSize: 9, paginationEnabled: 5, position: 1, referenceElement: 1, relatedRecordsEnabled: 5, relatedTable: 0, relatedTables: 0, returnGeometryEnabled: 5, returnMEnabled: 5, returnZEnabled: 5, rowHighlightIds: 0, size: 0, state: 3, tableController: 0, tableDisabled: 5, tableParent: 0, tableTemplate: 0, timeExtent: 0, timeZone: 1 };
|
21
21
|
}
|
22
22
|
static {
|
23
|
-
this.shadowRootOptions =
|
23
|
+
this.shadowRootOptions = c;
|
24
24
|
}
|
25
25
|
static {
|
26
26
|
this.styles = u;
|
@@ -15,6 +15,13 @@ declare const useFeatureTemplatesWidget: (component: import('@arcgis/components-
|
|
15
15
|
viewModel?: __esri.FeatureTemplatesViewModel | undefined;
|
16
16
|
icon: string | Nil;
|
17
17
|
label: string | Nil;
|
18
|
+
/**
|
19
|
+
* If true, the component will not be destroyed automatically when it is
|
20
|
+
* disconnected from the document. This is useful when you want to move the
|
21
|
+
* component to a different place on the page, or temporary hide it. If this
|
22
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
23
|
+
* memory leaks.
|
24
|
+
*/
|
18
25
|
referenceElement: string | Nil | ArcgisReferenceElement;
|
19
26
|
position: __esri.UIPosition;
|
20
27
|
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
@@ -4,15 +4,16 @@ import { usePropertyChange as i } from "@arcgis/components-controllers";
|
|
4
4
|
import { m as s } from "../../chunks/useWidget.js";
|
5
5
|
import { LitElement as o, createEvent as r, noShadowRoot as l } from "@arcgis/lumina";
|
6
6
|
import { reEmitEvent as a } 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(e);
|
13
|
-
class
|
13
|
+
const n = h`arcgis-feature-templates{display:flex}`, d = s(e);
|
14
|
+
class c extends o {
|
14
15
|
constructor() {
|
15
|
-
super(...arguments), this.widget =
|
16
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.enableListScroll = this.widget.enableListScroll, this.filterFunction = this.widget.filterFunction, this.filterText = this.widget.filterText, this.groupBy = this.widget.groupBy, this.headingLevel = this.widget.headingLevel, this.hideFilter = this.widget.visibleElements.filter, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.position = "bottom-left", this.selectionMode = this.widget.selectionMode, this.state = this.viewModel.state, this.arcgisPropertyChange = i()("state"), this.arcgisReady = r(), this.arcgisSelect = a(() => this.widget, "select");
|
16
17
|
}
|
17
18
|
static {
|
18
19
|
this.properties = { autoDestroyDisabled: 5, enableListScroll: 5, filterFunction: 0, filterText: 1, groupBy: 1, headingLevel: 9, hideFilter: 5, icon: 1, label: 1, layers: 0, position: 1, referenceElement: 1, selectionMode: 1, state: 3 };
|
@@ -20,6 +21,9 @@ class n extends o {
|
|
20
21
|
static {
|
21
22
|
this.shadowRootOptions = l;
|
22
23
|
}
|
24
|
+
static {
|
25
|
+
this.styles = n;
|
26
|
+
}
|
23
27
|
// #endregion
|
24
28
|
// #region Public Methods
|
25
29
|
/** Permanently destroy the component */
|
@@ -27,7 +31,7 @@ class n extends o {
|
|
27
31
|
await this.manager.destroy();
|
28
32
|
}
|
29
33
|
}
|
30
|
-
t("arcgis-feature-templates",
|
34
|
+
t("arcgis-feature-templates", c);
|
31
35
|
export {
|
32
|
-
|
36
|
+
c as ArcgisFeatureTemplates
|
33
37
|
};
|
@@ -18,6 +18,13 @@ declare const useFeaturesWidget: (component: import('@arcgis/components-controll
|
|
18
18
|
referenceElement: string | Nil | ArcgisReferenceElement;
|
19
19
|
position: __esri.UIPosition;
|
20
20
|
arcgisReady: import('@arcgis/components-controllers').EventEmitter;
|
21
|
+
/**
|
22
|
+
* If true, the component will not be destroyed automatically when it is
|
23
|
+
* disconnected from the document. This is useful when you want to move the
|
24
|
+
* component to a different place on the page, or temporary hide it. If this
|
25
|
+
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
26
|
+
* memory leaks.
|
27
|
+
*/
|
21
28
|
arcgisPropertyChange: import('@arcgis/components-controllers').EventEmitter<{
|
22
29
|
name: string;
|
23
30
|
}> | undefined;
|
@@ -4,15 +4,16 @@ import { newWidgetsFeatures as a } from "@arcgis/core-adapter";
|
|
4
4
|
import { m as o } from "../../chunks/useWidget.js";
|
5
5
|
import { LitElement as r, createEvent as h, noShadowRoot as n } from "@arcgis/lumina";
|
6
6
|
import { reEmitEvent as d } from "@arcgis/components-controllers/accessor";
|
7
|
+
import { css as l } 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 l = o(a);
|
13
|
-
class
|
13
|
+
const c = l`arcgis-features{display:flex}`, g = o(a);
|
14
|
+
class u extends r {
|
14
15
|
constructor() {
|
15
|
-
super(...arguments), this.widget =
|
16
|
+
super(...arguments), this.widget = g(this), this.viewModel = this.widget.viewModel, this.actions = this.viewModel.actions, this.active = this.widget.active, this.autoDestroyDisabled = !1, this.collapsed = this.widget.collapsed, this.content = this.widget.content, this.featureViewModelAbilities = this.viewModel.featureViewModelAbilities, this.features = this.widget.features, this.featuresPerPage = this.viewModel.featuresPerPage, this.featuresTitle = this.widget.title, this.goToOverride = this.viewModel.goToOverride, this.headingLevel = this.widget.headingLevel, this.hideActionBar = this.widget.visibleElements.actionBar, this.hideCloseButton = this.widget.visibleElements.closeButton, this.hideFeatureNavigation = this.widget.visibleElements.featureNavigation, this.hideFlow = this.widget.visibleElements.flow, this.hideHeading = this.widget.visibleElements.heading, this.hideSpinner = this.widget.visibleElements.spinner, this.icon = this.widget.icon, this.includeDefaultActions = this.viewModel.includeDefaultActions, this.label = this.widget.label, this.map = this.widget.map, this.position = "bottom-left", this.promises = this.widget.promises, this.selectedFeature = this.widget.selectedFeature, this.selectedFeatureIndex = this.widget.selectedFeatureIndex, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.spatialReference = this.widget.spatialReference, this.state = this.viewModel.state, this.timeZone = this.widget.timeZone, this.arcgisPropertyChange = s()("selectedFeature", "selectedFeatureIndex", "state"), this.arcgisReady = h(), this.arcgisTriggerAction = d(() => this.widget, "trigger-action");
|
16
17
|
}
|
17
18
|
static {
|
18
19
|
this.properties = { actions: 0, active: 7, autoDestroyDisabled: 5, collapsed: 7, content: 1, featureViewModelAbilities: 0, features: 0, featuresPerPage: 9, featuresTitle: 1, goToOverride: 0, headingLevel: 9, hideActionBar: 5, hideCloseButton: 5, hideFeatureNavigation: 5, hideFlow: 5, hideHeading: 5, hideSpinner: 5, icon: 1, includeDefaultActions: 5, label: 1, map: 0, position: 1, promises: 0, referenceElement: 1, selectedFeature: 0, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 3, timeZone: 1 };
|
@@ -20,6 +21,9 @@ class c extends r {
|
|
20
21
|
static {
|
21
22
|
this.shadowRootOptions = n;
|
22
23
|
}
|
24
|
+
static {
|
25
|
+
this.styles = c;
|
26
|
+
}
|
23
27
|
// #endregion
|
24
28
|
// #region Public Methods
|
25
29
|
async clear() {
|
@@ -48,7 +52,7 @@ class c extends r {
|
|
48
52
|
this.widget?.triggerAction(e);
|
49
53
|
}
|
50
54
|
}
|
51
|
-
i("arcgis-features",
|
55
|
+
i("arcgis-features", u);
|
52
56
|
export {
|
53
|
-
|
57
|
+
u as ArcgisFeatures
|
54
58
|
};
|