@arcgis/map-components 4.32.0-next.85 → 4.32.0-next.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/3577APUZ.js +4 -0
- package/dist/arcgis-map-components/3DL27QZW.js +4 -0
- package/dist/arcgis-map-components/3MEU7B7Y.js +4 -0
- package/dist/arcgis-map-components/3X5AYNOM.js +4 -0
- package/dist/arcgis-map-components/4L7FLT2D.js +4 -0
- package/dist/arcgis-map-components/4TXYBQNO.js +4 -0
- package/dist/arcgis-map-components/52PI4GNZ.js +4 -0
- package/dist/arcgis-map-components/5CLL3KLZ.js +4 -0
- package/dist/arcgis-map-components/5MDOFYJ5.js +4 -0
- package/dist/arcgis-map-components/5ME5UGYB.js +4 -0
- package/dist/arcgis-map-components/634RHQXB.js +4 -0
- package/dist/arcgis-map-components/6LUJE54O.js +4 -0
- package/dist/arcgis-map-components/{HW7Z4CZB.js → 6QYZTRCR.js} +1 -1
- package/dist/arcgis-map-components/75JC4FOA.js +4 -0
- package/dist/arcgis-map-components/7DIZ4ZQF.js +4 -0
- package/dist/arcgis-map-components/7JH5N2Z4.js +4 -0
- package/dist/arcgis-map-components/AKAZWNFN.js +4 -0
- package/dist/arcgis-map-components/ANMDMRT6.js +4 -0
- package/dist/arcgis-map-components/ARAAAHQV.js +4 -0
- package/dist/arcgis-map-components/{DBPKJOYW.js → ARYREPG3.js} +1 -1
- package/dist/arcgis-map-components/{VHE6RZA2.js → AZIVIOUI.js} +2 -2
- package/dist/arcgis-map-components/B2YPOJTB.js +4 -0
- package/dist/arcgis-map-components/BQJNTFP2.js +4 -0
- package/dist/arcgis-map-components/C2U3XZFG.js +4 -0
- package/dist/arcgis-map-components/D7EQNFBC.js +4 -0
- package/dist/arcgis-map-components/DTFTBCRQ.js +4 -0
- package/dist/arcgis-map-components/ESAK72A6.js +4 -0
- package/dist/arcgis-map-components/F6JMRH7D.js +4 -0
- package/dist/arcgis-map-components/FDUTHDCI.js +4 -0
- package/dist/arcgis-map-components/HTT4KQQN.js +4 -0
- package/dist/arcgis-map-components/HWIWVCAD.js +4 -0
- package/dist/arcgis-map-components/HWQZOTBV.js +4 -0
- package/dist/arcgis-map-components/IKR6XIOI.js +4 -0
- package/dist/arcgis-map-components/J4HMJHED.js +4 -0
- package/dist/arcgis-map-components/JKA5ICCI.js +4 -0
- package/dist/arcgis-map-components/KCUKOSJ4.js +4 -0
- package/dist/arcgis-map-components/KD6RA2AT.js +4 -0
- package/dist/arcgis-map-components/LLDA6O2O.js +4 -0
- package/dist/arcgis-map-components/MH6F3GX3.js +4 -0
- package/dist/arcgis-map-components/{ERS4HX5J.js → MIWOTQVJ.js} +1 -1
- package/dist/arcgis-map-components/{MDHKEFLL.js → MRK3TYGR.js} +4 -4
- package/dist/arcgis-map-components/MRZIS6VP.js +4 -0
- package/dist/arcgis-map-components/MYSTZ72O.js +4 -0
- package/dist/arcgis-map-components/NBEYX2WQ.js +4 -0
- package/dist/arcgis-map-components/{WZV3Y366.js → NOSLMKCR.js} +2 -2
- package/dist/arcgis-map-components/NS7AFHW7.js +4 -0
- package/dist/arcgis-map-components/{564KMD2H.js → NSIEQOMU.js} +2 -2
- package/dist/arcgis-map-components/{FHOJWHL5.js → NVAEPG23.js} +2 -2
- package/dist/arcgis-map-components/OLPXZA6L.js +4 -0
- package/dist/arcgis-map-components/OVZUD7TM.js +4 -0
- package/dist/arcgis-map-components/{LMOFB4IY.js → P44CMUQU.js} +2 -2
- package/dist/arcgis-map-components/QB7LWCYY.js +4 -0
- package/dist/arcgis-map-components/QQPIYHFQ.js +4 -0
- package/dist/arcgis-map-components/QV6KVTEC.js +4 -0
- package/dist/arcgis-map-components/RGZX5TZG.js +4 -0
- package/dist/arcgis-map-components/{Z6JJJVA2.js → RM37L5XX.js} +2 -2
- package/dist/arcgis-map-components/RO37UZGN.js +4 -0
- package/dist/arcgis-map-components/SEGZL4JX.js +4 -0
- package/dist/arcgis-map-components/SVQZHKIH.js +4 -0
- package/dist/arcgis-map-components/TGU4DNKS.js +4 -0
- package/dist/arcgis-map-components/TX5S76AE.js +4 -0
- package/dist/arcgis-map-components/UAC5G3QY.js +4 -0
- package/dist/arcgis-map-components/UHGOOASX.js +4 -0
- package/dist/arcgis-map-components/URSAFWHZ.js +4 -0
- package/dist/arcgis-map-components/VKEL67GU.js +4 -0
- package/dist/arcgis-map-components/W2XVFUNW.js +4 -0
- package/dist/arcgis-map-components/WVDHWJMU.js +4 -0
- package/dist/arcgis-map-components/X6EW4NUK.js +4 -0
- package/dist/arcgis-map-components/YV5MVH6W.js +4 -0
- package/dist/arcgis-map-components/YYZTWFQX.js +4 -0
- package/dist/arcgis-map-components/{4GMWGCYP.js → ZVH6KCO6.js} +2 -2
- package/dist/arcgis-map-components/ZZL7HBWM.js +4 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.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 +4 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.js +10 -10
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -4
- package/dist/components/arcgis-attachments/customElement.js +9 -9
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -3
- package/dist/components/arcgis-basemap-gallery/customElement.js +37 -36
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +7 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +18 -17
- package/dist/components/arcgis-bookmarks/customElement.d.ts +5 -4
- package/dist/components/arcgis-bookmarks/customElement.js +9 -9
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -4
- package/dist/components/arcgis-building-explorer/customElement.js +9 -9
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-compass/customElement.d.ts +4 -3
- package/dist/components/arcgis-compass/customElement.js +10 -10
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +9 -9
- package/dist/components/arcgis-daylight/customElement.d.ts +5 -4
- package/dist/components/arcgis-daylight/customElement.js +8 -8
- package/dist/components/arcgis-directional-pad/customElement.d.ts +28 -5
- package/dist/components/arcgis-directional-pad/customElement.js +37 -36
- package/dist/components/arcgis-directions/customElement.d.ts +7 -5
- package/dist/components/arcgis-directions/customElement.js +28 -31
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +5 -4
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +9 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +9 -9
- package/dist/components/arcgis-editor/customElement.d.ts +5 -4
- package/dist/components/arcgis-editor/customElement.js +9 -9
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +6 -11
- package/dist/components/arcgis-elevation-profile/customElement.js +9 -9
- package/dist/components/arcgis-expand/customElement.d.ts +5 -4
- package/dist/components/arcgis-expand/customElement.js +9 -9
- package/dist/components/arcgis-feature/customElement.d.ts +7 -14
- package/dist/components/arcgis-feature/customElement.js +8 -8
- package/dist/components/arcgis-feature-form/customElement.d.ts +6 -5
- package/dist/components/arcgis-feature-form/customElement.js +9 -9
- package/dist/components/arcgis-feature-table/customElement.d.ts +10 -9
- package/dist/components/arcgis-feature-table/customElement.js +17 -16
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -4
- package/dist/components/arcgis-feature-templates/customElement.js +10 -10
- package/dist/components/arcgis-features/customElement.d.ts +5 -4
- package/dist/components/arcgis-features/customElement.js +6 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -4
- package/dist/components/arcgis-floor-filter/customElement.js +10 -10
- package/dist/components/arcgis-fullscreen/customElement.d.ts +4 -3
- package/dist/components/arcgis-fullscreen/customElement.js +11 -11
- package/dist/components/arcgis-histogram/customElement.d.ts +5 -4
- package/dist/components/arcgis-histogram/customElement.js +9 -9
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +9 -9
- package/dist/components/arcgis-home/customElement.d.ts +6 -5
- package/dist/components/arcgis-home/customElement.js +12 -12
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -4
- package/dist/components/arcgis-layer-list/customElement.js +10 -10
- package/dist/components/arcgis-legend/customElement.d.ts +5 -4
- package/dist/components/arcgis-legend/customElement.js +9 -9
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +9 -9
- package/dist/components/arcgis-link-chart/customElement.d.ts +11 -9
- package/dist/components/arcgis-link-chart/customElement.js +27 -27
- package/dist/components/arcgis-locate/customElement.d.ts +5 -4
- package/dist/components/arcgis-locate/customElement.js +15 -15
- package/dist/components/arcgis-map/customElement.d.ts +10 -8
- package/dist/components/arcgis-map/customElement.js +27 -27
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -4
- package/dist/components/arcgis-measurement/customElement.js +9 -9
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +5 -4
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -9
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +7 -6
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +16 -17
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +5 -4
- package/dist/components/arcgis-print/customElement.js +9 -9
- package/dist/components/arcgis-scale-bar/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-bar/customElement.js +39 -38
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +12 -12
- package/dist/components/arcgis-scene/customElement.d.ts +10 -8
- package/dist/components/arcgis-scene/customElement.js +25 -25
- package/dist/components/arcgis-search/customElement.d.ts +5 -4
- package/dist/components/arcgis-search/customElement.js +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +5 -4
- package/dist/components/arcgis-shadow-cast/customElement.js +12 -12
- package/dist/components/arcgis-sketch/customElement.d.ts +7 -5
- package/dist/components/arcgis-sketch/customElement.js +11 -12
- package/dist/components/arcgis-slice/customElement.d.ts +5 -4
- package/dist/components/arcgis-slice/customElement.js +9 -9
- package/dist/components/arcgis-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider/customElement.js +9 -9
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -4
- package/dist/components/arcgis-swipe/customElement.js +17 -17
- package/dist/components/arcgis-table-list/customElement.d.ts +15 -12
- package/dist/components/arcgis-table-list/customElement.js +6 -6
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-time-slider/customElement.js +9 -9
- package/dist/components/arcgis-track/customElement.d.ts +5 -4
- package/dist/components/arcgis-track/customElement.js +15 -15
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +6 -6
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +8 -8
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -4
- package/dist/components/arcgis-value-picker/customElement.js +9 -9
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +96 -97
- 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.d.ts +5 -4
- package/dist/components/arcgis-weather/customElement.js +9 -9
- package/dist/components/arcgis-zoom/customElement.d.ts +4 -3
- package/dist/components/arcgis-zoom/customElement.js +8 -8
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +2 -2
- package/dist/docs/api.json +304 -305
- package/dist/docs/docs.json +172 -172
- package/dist/docs/vscode.html-custom-data.json +133 -133
- package/dist/docs/web-types.json +303 -304
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +4 -5
- package/dist/arcgis-map-components/2TNEAZAF.js +0 -4
- package/dist/arcgis-map-components/32WNMGSE.js +0 -4
- package/dist/arcgis-map-components/35HPYV25.js +0 -4
- package/dist/arcgis-map-components/3LZI4V7A.js +0 -4
- package/dist/arcgis-map-components/44SXKBON.js +0 -4
- package/dist/arcgis-map-components/4OPF2YIS.js +0 -4
- package/dist/arcgis-map-components/5TMK2FY7.js +0 -4
- package/dist/arcgis-map-components/6ADYLVHO.js +0 -4
- package/dist/arcgis-map-components/6IUOO2CX.js +0 -4
- package/dist/arcgis-map-components/7XE2PHMN.js +0 -4
- package/dist/arcgis-map-components/AHJ77DDX.js +0 -4
- package/dist/arcgis-map-components/BO53EV22.js +0 -4
- package/dist/arcgis-map-components/CCYD3GJL.js +0 -4
- package/dist/arcgis-map-components/CF5DOP3R.js +0 -4
- package/dist/arcgis-map-components/CSHTSK3A.js +0 -4
- package/dist/arcgis-map-components/CZMG37KX.js +0 -4
- package/dist/arcgis-map-components/D727YOOX.js +0 -4
- package/dist/arcgis-map-components/DLEN4ORI.js +0 -4
- package/dist/arcgis-map-components/DWMEEDHE.js +0 -4
- package/dist/arcgis-map-components/DZF434YD.js +0 -4
- package/dist/arcgis-map-components/ELYTB4XJ.js +0 -4
- package/dist/arcgis-map-components/FRIJ3FSA.js +0 -4
- package/dist/arcgis-map-components/GAAOXAL6.js +0 -4
- package/dist/arcgis-map-components/HG2VALA3.js +0 -4
- package/dist/arcgis-map-components/HZNRXF47.js +0 -4
- package/dist/arcgis-map-components/IKGSM2C2.js +0 -4
- package/dist/arcgis-map-components/ITFN6HQK.js +0 -4
- package/dist/arcgis-map-components/IUDW2ZVM.js +0 -4
- package/dist/arcgis-map-components/IW775SZ3.js +0 -4
- package/dist/arcgis-map-components/IXPHHN4Z.js +0 -4
- package/dist/arcgis-map-components/J7HGN3TZ.js +0 -4
- package/dist/arcgis-map-components/JAQQBKX6.js +0 -4
- package/dist/arcgis-map-components/K6PW23T7.js +0 -4
- package/dist/arcgis-map-components/K77QPLOY.js +0 -4
- package/dist/arcgis-map-components/M6O6GD4O.js +0 -4
- package/dist/arcgis-map-components/MAMFUB2L.js +0 -4
- package/dist/arcgis-map-components/MP3QQQKU.js +0 -4
- package/dist/arcgis-map-components/MSOBY6NR.js +0 -4
- package/dist/arcgis-map-components/NCWZPEUO.js +0 -4
- package/dist/arcgis-map-components/NVIX6GNC.js +0 -4
- package/dist/arcgis-map-components/NYN35UXK.js +0 -4
- package/dist/arcgis-map-components/OMIYZ5A3.js +0 -4
- package/dist/arcgis-map-components/OYUYZKN2.js +0 -4
- package/dist/arcgis-map-components/PFRBRWGY.js +0 -4
- package/dist/arcgis-map-components/QBCARJYO.js +0 -4
- package/dist/arcgis-map-components/QCYDFQGT.js +0 -4
- package/dist/arcgis-map-components/QVOQDJ5B.js +0 -4
- package/dist/arcgis-map-components/R3AVBSDU.js +0 -4
- package/dist/arcgis-map-components/RBXK5JR3.js +0 -4
- package/dist/arcgis-map-components/S3H7IQQP.js +0 -4
- package/dist/arcgis-map-components/S76V3WVV.js +0 -4
- package/dist/arcgis-map-components/SI357SRE.js +0 -4
- package/dist/arcgis-map-components/SPVD3PYB.js +0 -4
- package/dist/arcgis-map-components/U6C4ZCMS.js +0 -4
- package/dist/arcgis-map-components/VIUD4NSE.js +0 -4
- package/dist/arcgis-map-components/VIVRU3Y4.js +0 -4
- package/dist/arcgis-map-components/VWEH2LWN.js +0 -4
- package/dist/arcgis-map-components/X7EWPPQH.js +0 -4
- package/dist/arcgis-map-components/YHASKKJ6.js +0 -4
- package/dist/arcgis-map-components/YK5CBUJC.js +0 -4
- package/dist/arcgis-map-components/YXSRE3F6.js +0 -4
- package/dist/arcgis-map-components/ZVNCPLXY.js +0 -4
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
3
|
+
import s from "@arcgis/core/widgets/DistanceMeasurement2D.js";
|
|
4
|
+
import { LitElement as i, createEvent as o, noShadowRoot as a } from "@arcgis/lumina";
|
|
5
|
+
import { m as r } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
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.
|
|
10
|
-
const c = n`arcgis-distance-measurement-2d{display:block}`, m =
|
|
11
|
-
class d extends
|
|
9
|
+
v4.32.0-next.88 */
|
|
10
|
+
const c = n`arcgis-distance-measurement-2d{display:block}`, m = r(s);
|
|
11
|
+
class d extends i {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = m(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 =
|
|
13
|
+
super(...arguments), this.widget = m(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 = e()("state"), this.arcgisReady = o();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3, unit: 1, unitOptions: 0 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = a;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = c;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as Editor } from '@arcgis/core/widgets/Editor.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useEditorWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<Editor, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.EditorViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useEditorWidget: (component: import('@arcgis/components-controller
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.EditorProperties): __esri.EditorProperties | Promise<__esri.EditorProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.EditorProperties | undefined): __esri.EditorProperties | Promise<__esri.EditorProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Editor;
|
|
36
37
|
/** The [Editor](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html) provides an out-of-the-box editing experience to help streamline editing within a web application.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisEditor extends LitElement {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { usePropertyChange as i } from "@arcgis/components-controllers";
|
|
3
|
+
import s from "@arcgis/core/widgets/Editor.js";
|
|
4
|
+
import { LitElement as o, createEvent as l, noShadowRoot as a } from "@arcgis/lumina";
|
|
5
|
+
import { m as n } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
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.
|
|
10
|
-
const d = r`arcgis-editor{display:block}`, g =
|
|
11
|
-
class h extends
|
|
9
|
+
v4.32.0-next.88 */
|
|
10
|
+
const d = r`arcgis-editor{display:block}`, g = n(s);
|
|
11
|
+
class h extends o {
|
|
12
12
|
constructor() {
|
|
13
|
-
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 =
|
|
13
|
+
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 = i()("activeWorkflow", "state"), this.arcgisReady = l();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { activeWorkflow: 0, allowedWorkflows: 0, 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 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = a;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = d;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as ElevationProfile } from '@arcgis/core/widgets/ElevationProfile.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useElevationProfileWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<ElevationProfile, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.ElevationProfileViewModel | undefined;
|
|
@@ -34,19 +35,13 @@ declare const useElevationProfileWidget: (component: import('@arcgis/components-
|
|
|
34
35
|
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
35
36
|
* memory leaks.
|
|
36
37
|
*/
|
|
37
|
-
?: __esri.MapView | __esri.SceneView
|
|
38
|
-
* If true, the component will not be destroyed automatically when it is
|
|
39
|
-
* disconnected from the document. This is useful when you want to move the
|
|
40
|
-
* component to a different place on the page, or temporarily hide it. If this
|
|
41
|
-
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
42
|
-
* memory leaks.
|
|
43
|
-
*/ | Nil;
|
|
38
|
+
?: __esri.MapView | __esri.SceneView | Nil;
|
|
44
39
|
};
|
|
45
40
|
autoDestroyDisabled: boolean;
|
|
46
41
|
destroy: () => Promise<void>;
|
|
47
42
|
}, options?: {
|
|
48
|
-
editConstructorProperties(props: __esri.ElevationProfileProperties): __esri.ElevationProfileProperties | Promise<__esri.ElevationProfileProperties
|
|
49
|
-
} | undefined) =>
|
|
43
|
+
editConstructorProperties(props: __esri.ElevationProfileProperties | undefined): __esri.ElevationProfileProperties | Promise<__esri.ElevationProfileProperties | undefined> | undefined;
|
|
44
|
+
} | undefined) => ElevationProfile;
|
|
50
45
|
/** The [ElevationProfile](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html) is used to generate and display an elevation profile from an [input line graphic](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-ElevationProfile.html#input).
|
|
51
46
|
*/
|
|
52
47
|
export declare class ArcgisElevationProfile extends LitElement {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { usePropertyChange as i } from "@arcgis/components-controllers";
|
|
3
|
+
import e from "@arcgis/core/widgets/ElevationProfile.js";
|
|
4
|
+
import { LitElement as s, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
|
5
|
+
import { m as n } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
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.
|
|
10
|
-
const r = l`arcgis-elevation-profile{display:block}`, a =
|
|
11
|
-
class d extends
|
|
9
|
+
v4.32.0-next.88 */
|
|
10
|
+
const r = l`arcgis-elevation-profile{display:block}`, a = n(e);
|
|
11
|
+
class d extends s {
|
|
12
12
|
constructor() {
|
|
13
|
-
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 =
|
|
13
|
+
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 = i()("input", "effectiveUnits", "progress", "state"), this.arcgisReady = o();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
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 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = h;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = r;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as Expand } from '@arcgis/core/widgets/Expand.js';
|
|
6
6
|
import { PublicLitElement as LitElement, ToElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useExpandWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<Expand, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.ExpandViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useExpandWidget: (component: import('@arcgis/components-controller
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.ExpandProperties): __esri.ExpandProperties | Promise<__esri.ExpandProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.ExpandProperties | undefined): __esri.ExpandProperties | Promise<__esri.ExpandProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Expand;
|
|
36
37
|
/** [Expand](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Expand.html) acts as a clickable button for opening content.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisExpand extends LitElement {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import e from "@arcgis/core/widgets/Expand.js";
|
|
3
|
+
import { LitElement as i, createEvent as s, noShadowRoot as o } from "@arcgis/lumina";
|
|
4
|
+
import { m as a } from "../../chunks/useWidget.js";
|
|
5
5
|
import { css as n } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
-
v4.32.0-next.
|
|
9
|
-
const
|
|
10
|
-
class l extends
|
|
8
|
+
v4.32.0-next.88 */
|
|
9
|
+
const c = n`arcgis-expand{display:flex;pointer-events:auto}arcgis-expand>.esri-expand__content--expanded{background-color:var(--calcite-color-background)}`, d = a(e);
|
|
10
|
+
class l extends i {
|
|
11
11
|
// #endregion
|
|
12
12
|
// #region Lifecycle
|
|
13
13
|
constructor() {
|
|
14
|
-
super(), this.widget =
|
|
14
|
+
super(), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoCollapse = this.widget.autoCollapse, this.autoDestroyDisabled = !1, this.closeOnEsc = this.widget.closeOnEsc, this.collapseIcon = this.widget.collapseIcon, this.collapseTooltip = this.widget.collapseTooltip, this.content = this.widget.content, this.expandIcon = this.widget.expandIcon, this.expandTooltip = this.widget.expandTooltip, this.expanded = this.widget.expanded, this.focusTrapEnabled = this.widget.focusTrapDisabled, this.group = this.widget.group, this.icon = this.widget.icon, this.iconNumber = this.widget.iconNumber, this.label = this.widget.label, this.mode = this.widget.mode, this.placement = this.widget.placement, this.position = "top-right", this.arcgisReady = s(), this.content ??= document.createElement("div");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { autoCollapse: 5, autoDestroyDisabled: 5, closeOnEsc: 5, collapseIcon: 1, collapseTooltip: 1, content: 1, expandIcon: 1, expandTooltip: 1, expanded: 7, focusTrapEnabled: 5, group: 1, icon: 1, iconNumber: 9, label: 1, mode: 1, placement: 1, position: 1, referenceElement: 1 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = o;
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
|
-
this.styles =
|
|
23
|
+
this.styles = c;
|
|
24
24
|
}
|
|
25
25
|
// #endregion
|
|
26
26
|
// #region Public Methods
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as Feature } from '@arcgis/core/widgets/Feature.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useFeatureWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<Feature, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.FeatureViewModel | undefined;
|
|
@@ -26,21 +27,13 @@ declare const useFeatureWidget: (component: import('@arcgis/components-controlle
|
|
|
26
27
|
childElem?: HTMLElement & {
|
|
27
28
|
ownedBy?: HTMLElement;
|
|
28
29
|
};
|
|
29
|
-
view?: __esri.MapView | __esri.
|
|
30
|
-
/**
|
|
31
|
-
* If true, the component will not be destroyed automatically when it is
|
|
32
|
-
* disconnected from the document. This is useful when you want to move the
|
|
33
|
-
* component to a different place on the page, or temporarily hide it. If this
|
|
34
|
-
* is set, make sure to call the \`destroy\` method when you are done to prevent
|
|
35
|
-
* memory leaks.
|
|
36
|
-
*/
|
|
37
|
-
SceneView | Nil;
|
|
30
|
+
view?: __esri.MapView | __esri.SceneView | Nil;
|
|
38
31
|
};
|
|
39
32
|
autoDestroyDisabled: boolean;
|
|
40
33
|
destroy: () => Promise<void>;
|
|
41
34
|
}, options?: {
|
|
42
|
-
editConstructorProperties(props: __esri.FeatureProperties): __esri.FeatureProperties | Promise<__esri.FeatureProperties
|
|
43
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.FeatureProperties | undefined): __esri.FeatureProperties | Promise<__esri.FeatureProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Feature;
|
|
44
37
|
/** [Feature](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Feature.html) displays a graphic according to its [PopupTemplate](https://developers.arcgis.com/javascript/latest/api-reference/esri-PopupTemplate.html). This component is useful in instances where you want to display information about a feature but without the use of a [Popup](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Popup.html).
|
|
45
38
|
*/
|
|
46
39
|
export declare class ArcgisFeature extends LitElement {
|
|
@@ -70,7 +63,7 @@ export declare class ArcgisFeature extends LitElement {
|
|
|
70
63
|
icon: string;
|
|
71
64
|
/** The component's default label. */
|
|
72
65
|
label: string;
|
|
73
|
-
location:
|
|
66
|
+
location: __esri.Point | nullish;
|
|
74
67
|
map: __esri.Map | nullish;
|
|
75
68
|
position: __esri.UIPosition;
|
|
76
69
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
3
|
+
import a from "@arcgis/core/widgets/Feature.js";
|
|
4
|
+
import { LitElement as n, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
|
5
|
+
import { m as d } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as l } from "@lit/reactive-element/css-tag.js";
|
|
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.
|
|
10
|
-
const r = l`arcgis-feature{display:block}`, c = a
|
|
11
|
-
class p extends
|
|
9
|
+
v4.32.0-next.88 */
|
|
10
|
+
const r = l`arcgis-feature{display:block}`, c = d(a);
|
|
11
|
+
class p extends n {
|
|
12
12
|
constructor() {
|
|
13
|
-
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 =
|
|
13
|
+
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 = s()("state"), this.arcgisReady = o();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
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 };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as FeatureForm } from '@arcgis/core/widgets/FeatureForm.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useFeatureFormWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<FeatureForm, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.FeatureFormViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useFeatureFormWidget: (component: import('@arcgis/components-contr
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.FeatureFormProperties): __esri.FeatureFormProperties | Promise<__esri.FeatureFormProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.FeatureFormProperties | undefined): __esri.FeatureFormProperties | Promise<__esri.FeatureFormProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => FeatureForm;
|
|
36
37
|
/**
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
@@ -57,7 +58,7 @@ export declare class ArcgisFeatureForm extends LitElement {
|
|
|
57
58
|
icon: string;
|
|
58
59
|
/** The component's default label. */
|
|
59
60
|
label: string;
|
|
60
|
-
layer:
|
|
61
|
+
layer: __esri.FeatureLayer | __esri.SceneLayer | __esri.GeoJSONLayer | __esri.OrientedImageryLayer | nullish | __esri.SubtypeSublayer;
|
|
61
62
|
position: __esri.UIPosition;
|
|
62
63
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
63
64
|
readonly state: "ready" | "disabled";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
4
|
-
import { m as r } from "../../chunks/useWidget.js";
|
|
5
|
-
import { LitElement as a, createEvent as o, noShadowRoot as h } from "@arcgis/lumina";
|
|
2
|
+
import { usePropertyChange as i } from "@arcgis/components-controllers";
|
|
6
3
|
import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import s from "@arcgis/core/widgets/FeatureForm.js";
|
|
5
|
+
import { LitElement as r, createEvent as a, noShadowRoot as o } from "@arcgis/lumina";
|
|
6
|
+
import { m as h } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as m } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const l = m`arcgis-feature-form{display:block}`, g =
|
|
12
|
-
class n extends
|
|
10
|
+
v4.32.0-next.88 */
|
|
11
|
+
const l = m`arcgis-feature-form{display:block}`, g = h(s);
|
|
12
|
+
class n extends r {
|
|
13
13
|
constructor() {
|
|
14
|
-
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 =
|
|
14
|
+
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 = i()("state"), this.arcgisReady = a(), this.arcgisSubmit = t(() => this.widget, "submit"), this.arcgisValueChange = t(() => this.widget, "value-change");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
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 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = o;
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.styles = l;
|
|
@@ -2,16 +2,17 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
-
import {
|
|
5
|
+
import { default as FeatureTable } from '@arcgis/core/widgets/FeatureTable.js';
|
|
6
6
|
import { PublicLitElement as LitElement, ToElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
7
|
import { PropertyValues } from 'lit';
|
|
8
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
9
|
|
|
9
10
|
declare const useFeatureTableWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
10
11
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
11
12
|
el: HTMLElement;
|
|
12
13
|
autoDestroyDisabled?: boolean;
|
|
13
14
|
destroy?: () => Promise<void>;
|
|
14
|
-
} & Pick<
|
|
15
|
+
} & Pick<FeatureTable, never> & {
|
|
15
16
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
16
17
|
state?: "loaded" | "ready" | "disabled" | "error" | "loading" | undefined;
|
|
17
18
|
viewModel?: __esri.FeatureTableViewModel | undefined;
|
|
@@ -32,8 +33,8 @@ declare const useFeatureTableWidget: (component: import('@arcgis/components-cont
|
|
|
32
33
|
autoDestroyDisabled: boolean;
|
|
33
34
|
destroy: () => Promise<void>;
|
|
34
35
|
}, options?: {
|
|
35
|
-
editConstructorProperties(props: __esri.FeatureTableProperties): __esri.FeatureTableProperties | Promise<__esri.FeatureTableProperties
|
|
36
|
-
} | undefined) =>
|
|
36
|
+
editConstructorProperties(props: __esri.FeatureTableProperties | undefined): __esri.FeatureTableProperties | Promise<__esri.FeatureTableProperties | undefined> | undefined;
|
|
37
|
+
} | undefined) => FeatureTable;
|
|
37
38
|
/** The [FeatureTable](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html) provides an interactive tabular view of each feature's attributes in a feature layer.
|
|
38
39
|
*/
|
|
39
40
|
export declare class ArcgisFeatureTable extends LitElement {
|
|
@@ -129,7 +130,7 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
129
130
|
readonly isQueryingOrSyncing: boolean;
|
|
130
131
|
/** The components label. */
|
|
131
132
|
label: string;
|
|
132
|
-
layer:
|
|
133
|
+
layer: __esri.FeatureLayer | __esri.SceneLayer | __esri.GeoJSONLayer | __esri.OrientedImageryLayer | nullish | __esri.WFSLayer | __esri.CSVLayer | __esri.ImageryLayer | __esri.Sublayer | __esri.CatalogFootprintLayer | __esri.KnowledgeGraphSublayer;
|
|
133
134
|
/**
|
|
134
135
|
* Portal Item Id for a layer to load. You can set, `layer`, `layerUrl`, or `itemId`,
|
|
135
136
|
* but not more than one.
|
|
@@ -164,8 +165,8 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
164
165
|
/**
|
|
165
166
|
* Reference to a nested table instance representing a relationship with another table.
|
|
166
167
|
*/
|
|
167
|
-
relatedTable: nullish |
|
|
168
|
-
relatedTables: __esri.Collection<
|
|
168
|
+
relatedTable: nullish | FeatureTable;
|
|
169
|
+
relatedTables: __esri.Collection<FeatureTable>;
|
|
169
170
|
returnGeometryEnabled: boolean;
|
|
170
171
|
returnMEnabled: boolean;
|
|
171
172
|
returnZEnabled: boolean;
|
|
@@ -178,12 +179,12 @@ export declare class ArcgisFeatureTable extends LitElement {
|
|
|
178
179
|
/**
|
|
179
180
|
* Reference to top-level controller table, if this table is a related table, nested within and controlled by another table.
|
|
180
181
|
*/
|
|
181
|
-
tableController: nullish |
|
|
182
|
+
tableController: nullish | FeatureTable;
|
|
182
183
|
tableDisabled: boolean;
|
|
183
184
|
/**
|
|
184
185
|
* Reference to a table instance that this table is directly related to.
|
|
185
186
|
*/
|
|
186
|
-
tableParent: nullish |
|
|
187
|
+
tableParent: nullish | FeatureTable;
|
|
187
188
|
tableTemplate: nullish | __esri.TableTemplate;
|
|
188
189
|
timeExtent: nullish | __esri.TimeExtent;
|
|
189
190
|
timeZone: string | nullish;
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { c as
|
|
1
|
+
import { c as n } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as h } from "@arcgis/components-controllers";
|
|
3
|
-
import { importLayersLayer as l, newWidgetsFeatureTable as d } from "@arcgis/core-adapter";
|
|
4
|
-
import { m as a } from "../../chunks/useWidget.js";
|
|
5
|
-
import { f as r } from "../../chunks/component-utils.js";
|
|
6
|
-
import { LitElement as g, createEvent as n, noShadowRoot as m } from "@arcgis/lumina";
|
|
7
3
|
import { reEmitEvent as i } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import s from "@arcgis/core/layers/Layer.js";
|
|
5
|
+
import d from "@arcgis/core/widgets/FeatureTable.js";
|
|
6
|
+
import { LitElement as a, createEvent as l, noShadowRoot as r } from "@arcgis/lumina";
|
|
7
|
+
import { m as g } from "../../chunks/useWidget.js";
|
|
8
|
+
import { f as m } from "../../chunks/component-utils.js";
|
|
8
9
|
import { css as c } from "@lit/reactive-element/css-tag.js";
|
|
9
10
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
11
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
v4.32.0-next.
|
|
12
|
-
const u = c`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`, w =
|
|
13
|
-
class b extends
|
|
12
|
+
v4.32.0-next.88 */
|
|
13
|
+
const u = c`arcgis-feature-table{display:block}.arcgis-feature-table{width:100%;height:100%}`, w = g(d);
|
|
14
|
+
class b extends a {
|
|
14
15
|
constructor() {
|
|
15
|
-
super(...arguments), this.widget = w(this), this.viewModel = this.widget.viewModel, this.attributeTableTemplate = this.widget.attributeTableTemplate, 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.hideColumnDescriptions = this.widget.visibleElements.columnDescriptions, 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.showLayerDropdown = this.widget.visibleElements.layerDropdown, 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 =
|
|
16
|
+
super(...arguments), this.widget = w(this), this.viewModel = this.widget.viewModel, this.attributeTableTemplate = this.widget.attributeTableTemplate, 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.hideColumnDescriptions = this.widget.visibleElements.columnDescriptions, 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.showLayerDropdown = this.widget.visibleElements.layerDropdown, 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 = l(), this.arcgisSelectionChange = l();
|
|
16
17
|
}
|
|
17
18
|
static {
|
|
18
19
|
this.properties = { attributeTableTemplate: 0, actionColumnConfig: 0, activeFilters: 0, activeSortOrders: 0, allRelatedTablesVisible: 4, attachmentsEnabled: 5, autoDestroyDisabled: 5, autoRefreshDisabled: 5, columnReorderingDisabled: 5, columns: 0, description: 1, editingEnabled: 5, effectiveSize: 8, filterBySelectionEnabled: 5, filterGeometry: 0, hideColumnDescriptions: 5, 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: 4, 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: 8, showLayerDropdown: 5, state: 3, tableController: 0, tableDisabled: 5, tableParent: 0, tableTemplate: 0, timeExtent: 0, timeZone: 1 };
|
|
19
20
|
}
|
|
20
21
|
static {
|
|
21
|
-
this.shadowRootOptions =
|
|
22
|
+
this.shadowRootOptions = r;
|
|
22
23
|
}
|
|
23
24
|
static {
|
|
24
25
|
this.styles = u;
|
|
@@ -86,18 +87,18 @@ class b extends g {
|
|
|
86
87
|
this.manager.onLifecycle(() => this.widget.highlightIds.on("change", this.arcgisSelectionChange.emit));
|
|
87
88
|
}
|
|
88
89
|
willUpdate(e) {
|
|
89
|
-
if (e.has("layerItemId") && (
|
|
90
|
+
if (e.has("layerItemId") && (m(this.layerItemId) ? this.layer = null : this.layerItemId && s.fromPortalItem({
|
|
90
91
|
portalItem: {
|
|
91
92
|
id: this.layerItemId
|
|
92
93
|
}
|
|
93
|
-
})
|
|
94
|
+
}).then((t) => {
|
|
94
95
|
this.layer = t;
|
|
95
96
|
}).catch(console.error)), e.has("layerUrl")) {
|
|
96
97
|
const t = this.layerUrl;
|
|
97
|
-
t ?
|
|
98
|
+
t ? s.fromArcGISServerUrl({
|
|
98
99
|
url: t
|
|
99
|
-
})
|
|
100
|
-
this.layer =
|
|
100
|
+
}).then((o) => {
|
|
101
|
+
this.layer = o;
|
|
101
102
|
}).catch(console.error) : this.layer = null;
|
|
102
103
|
}
|
|
103
104
|
}
|
|
@@ -105,7 +106,7 @@ class b extends g {
|
|
|
105
106
|
this.el.childElem?.classList.add("arcgis-feature-table");
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
|
-
|
|
109
|
+
n("arcgis-feature-table", b);
|
|
109
110
|
export {
|
|
110
111
|
b as ArcgisFeatureTable
|
|
111
112
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as FeatureTemplates } from '@arcgis/core/widgets/FeatureTemplates.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useFeatureTemplatesWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<FeatureTemplates, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.FeatureTemplatesViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useFeatureTemplatesWidget: (component: import('@arcgis/components-
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.FeatureTemplatesProperties): __esri.FeatureTemplatesProperties | Promise<__esri.FeatureTemplatesProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.FeatureTemplatesProperties | undefined): __esri.FeatureTemplatesProperties | Promise<__esri.FeatureTemplatesProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => FeatureTemplates;
|
|
36
37
|
/**
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|