@arcgis/map-components 4.32.0-next.85 → 4.32.0-next.87
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/2XHX4GRY.js +4 -0
- package/dist/arcgis-map-components/32X3ZYOM.js +4 -0
- package/dist/arcgis-map-components/35DMTE4K.js +4 -0
- package/dist/arcgis-map-components/3JTGHVNB.js +4 -0
- package/dist/arcgis-map-components/3ZDFYLLA.js +4 -0
- package/dist/arcgis-map-components/4CKEV5R3.js +4 -0
- package/dist/arcgis-map-components/4J4AUJFF.js +4 -0
- package/dist/arcgis-map-components/{HW7Z4CZB.js → 4ZIFQORV.js} +1 -1
- package/dist/arcgis-map-components/6LUZOY5O.js +4 -0
- package/dist/arcgis-map-components/7BT4GAVM.js +4 -0
- package/dist/arcgis-map-components/{DBPKJOYW.js → 7JPD33PS.js} +1 -1
- package/dist/arcgis-map-components/7WR7N6T3.js +4 -0
- package/dist/arcgis-map-components/{564KMD2H.js → A6QXV7MU.js} +2 -2
- package/dist/arcgis-map-components/AFIGXVQ3.js +4 -0
- package/dist/arcgis-map-components/{VHE6RZA2.js → AGWGNRMW.js} +2 -2
- package/dist/arcgis-map-components/AOZPIV4A.js +4 -0
- package/dist/arcgis-map-components/AVGUWUIP.js +4 -0
- package/dist/arcgis-map-components/AXIJBJKN.js +4 -0
- package/dist/arcgis-map-components/B5NOO6HX.js +4 -0
- package/dist/arcgis-map-components/CE62RYPI.js +4 -0
- package/dist/arcgis-map-components/CEIGROJD.js +4 -0
- package/dist/arcgis-map-components/CLH7HQDS.js +4 -0
- package/dist/arcgis-map-components/DAXKVFKC.js +4 -0
- package/dist/arcgis-map-components/DBWEC62Z.js +4 -0
- package/dist/arcgis-map-components/E2S64U4Z.js +4 -0
- package/dist/arcgis-map-components/E3RBXZMD.js +4 -0
- package/dist/arcgis-map-components/{MDHKEFLL.js → ETORB2CW.js} +4 -4
- package/dist/arcgis-map-components/G2AUFB2V.js +4 -0
- package/dist/arcgis-map-components/GFFY2SOD.js +4 -0
- package/dist/arcgis-map-components/GGRINU7O.js +4 -0
- package/dist/arcgis-map-components/HFOLCVHE.js +4 -0
- package/dist/arcgis-map-components/HN2B2WVM.js +4 -0
- package/dist/arcgis-map-components/HYBGAIIH.js +4 -0
- package/dist/arcgis-map-components/IJ4I2C2Q.js +4 -0
- package/dist/arcgis-map-components/ILVOJPYP.js +4 -0
- package/dist/arcgis-map-components/IUSB5KZR.js +4 -0
- package/dist/arcgis-map-components/{ERS4HX5J.js → KES7H4RV.js} +1 -1
- package/dist/arcgis-map-components/KFWRSEL5.js +4 -0
- package/dist/arcgis-map-components/KTPXF7QU.js +4 -0
- package/dist/arcgis-map-components/LXNOWS2N.js +4 -0
- package/dist/arcgis-map-components/MAZ73QH3.js +4 -0
- package/dist/arcgis-map-components/MKBRZJPK.js +4 -0
- package/dist/arcgis-map-components/{Z6JJJVA2.js → MNAEUWGF.js} +2 -2
- package/dist/arcgis-map-components/NFID37OS.js +4 -0
- package/dist/arcgis-map-components/NH2PJWZN.js +4 -0
- package/dist/arcgis-map-components/NINSVERY.js +4 -0
- package/dist/arcgis-map-components/OWAZAAPU.js +4 -0
- package/dist/arcgis-map-components/{FHOJWHL5.js → OXPBMLUL.js} +2 -2
- package/dist/arcgis-map-components/OXZIRB5Z.js +4 -0
- package/dist/arcgis-map-components/P254GL27.js +4 -0
- package/dist/arcgis-map-components/P2PVJ4AF.js +4 -0
- package/dist/arcgis-map-components/QAIK42DS.js +4 -0
- package/dist/arcgis-map-components/QHZ2NQDS.js +4 -0
- package/dist/arcgis-map-components/RIESOZ3J.js +4 -0
- package/dist/arcgis-map-components/RN7HCA5M.js +4 -0
- package/dist/arcgis-map-components/S732TQFW.js +4 -0
- package/dist/arcgis-map-components/SWD2W5AQ.js +4 -0
- package/dist/arcgis-map-components/T2IZZQA6.js +4 -0
- package/dist/arcgis-map-components/TYHESC7C.js +4 -0
- package/dist/arcgis-map-components/TYLB5V7D.js +4 -0
- package/dist/arcgis-map-components/U3JMNMD5.js +4 -0
- package/dist/arcgis-map-components/U5BKFVZA.js +4 -0
- package/dist/arcgis-map-components/{LMOFB4IY.js → VOAP25R5.js} +2 -2
- package/dist/arcgis-map-components/{4GMWGCYP.js → VPAITV6T.js} +2 -2
- package/dist/arcgis-map-components/VPDLR5PZ.js +4 -0
- package/dist/arcgis-map-components/VYAG6QFL.js +4 -0
- package/dist/arcgis-map-components/WRLAAWYP.js +4 -0
- package/dist/arcgis-map-components/XGMH4FTN.js +4 -0
- package/dist/arcgis-map-components/{WZV3Y366.js → XXMI6R5H.js} +2 -2
- package/dist/arcgis-map-components/YN7363HF.js +4 -0
- package/dist/arcgis-map-components/YWCFGHSS.js +4 -0
- package/dist/arcgis-map-components/ZZWXJ7BT.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,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.87 */
|
|
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
|
*/
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
2
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
3
|
+
import { reEmitEvent as i } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import s from "@arcgis/core/widgets/FeatureTemplates.js";
|
|
5
5
|
import { LitElement as o, createEvent as r, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
|
-
import {
|
|
6
|
+
import { m as a } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as h } 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 n = h`arcgis-feature-templates{display:block}`,
|
|
12
|
-
class
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const n = h`arcgis-feature-templates{display:block}`, c = a(s);
|
|
12
|
+
class d extends o {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget =
|
|
14
|
+
super(...arguments), this.widget = c(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 = e()("state"), this.arcgisReady = r(), this.arcgisSelect = i(() => this.widget, "select");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
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 };
|
|
@@ -29,7 +29,7 @@ class c extends o {
|
|
|
29
29
|
await this.manager.destroy();
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
t("arcgis-feature-templates",
|
|
32
|
+
t("arcgis-feature-templates", d);
|
|
33
33
|
export {
|
|
34
|
-
|
|
34
|
+
d as ArcgisFeatureTemplates
|
|
35
35
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as Features } from '@arcgis/core/widgets/Features.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useFeaturesWidget: (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<Features, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.FeaturesViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useFeaturesWidget: (component: import('@arcgis/components-controll
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.FeaturesProperties): __esri.FeaturesProperties | Promise<__esri.FeaturesProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.FeaturesProperties | undefined): __esri.FeaturesProperties | Promise<__esri.FeaturesProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Features;
|
|
36
37
|
/** [Features](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Features.html) allows users to view a feature's popupTemplate content such as attributes, actions, related records, etc., without having to be tied to the [View](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html).
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisFeatures extends LitElement {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { reEmitEvent as a } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import o from "@arcgis/core/widgets/Features.js";
|
|
5
5
|
import { LitElement as r, createEvent as n, noShadowRoot as h } from "@arcgis/lumina";
|
|
6
|
-
import {
|
|
6
|
+
import { m as d } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as l } 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 c = l`arcgis-features{display:block}`, g = o
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const c = l`arcgis-features{display:block}`, g = d(o);
|
|
12
12
|
class u extends r {
|
|
13
13
|
constructor() {
|
|
14
|
-
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.featureNavigationTop = this.widget.featureNavigationTop, 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.headerActions = this.widget.headerActions, this.hideActionBar = this.widget.visibleElements.actionBar, this.hideCloseButton = this.widget.visibleElements.closeButton, this.hideFeatureMenuHeading = this.widget.visibleElements.featureMenuHeading, 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.initialDisplayMode = this.widget.initialDisplayMode, 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 = n(), this.arcgisTriggerAction =
|
|
14
|
+
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.featureNavigationTop = this.widget.featureNavigationTop, 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.headerActions = this.widget.headerActions, this.hideActionBar = this.widget.visibleElements.actionBar, this.hideCloseButton = this.widget.visibleElements.closeButton, this.hideFeatureMenuHeading = this.widget.visibleElements.featureMenuHeading, 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.initialDisplayMode = this.widget.initialDisplayMode, 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 = n(), this.arcgisTriggerAction = a(() => this.widget, "trigger-action");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { actions: 0, active: 7, autoDestroyDisabled: 5, collapsed: 7, content: 1, featureNavigationTop: 5, featureViewModelAbilities: 0, features: 0, featuresPerPage: 9, featuresTitle: 1, goToOverride: 0, headingLevel: 9, headerActions: 0, hideActionBar: 5, hideCloseButton: 5, hideFeatureMenuHeading: 5, hideFeatureNavigation: 5, hideFlow: 5, hideHeading: 5, hideSpinner: 5, icon: 1, includeDefaultActions: 5, initialDisplayMode: 1, label: 1, map: 0, position: 1, promises: 0, referenceElement: 1, selectedFeature: 0, selectedFeatureIndex: 9, showCollapseButton: 5, spatialReference: 0, state: 3, timeZone: 1 };
|
|
@@ -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 FloorFilter } from '@arcgis/core/widgets/FloorFilter.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useFloorFilterWidget: (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<FloorFilter, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.FloorFilterViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useFloorFilterWidget: (component: import('@arcgis/components-contr
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.FloorFilterProperties): __esri.FloorFilterProperties | Promise<__esri.FloorFilterProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.FloorFilterProperties | undefined): __esri.FloorFilterProperties | Promise<__esri.FloorFilterProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => FloorFilter;
|
|
36
37
|
/** The [FloorFilter](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FloorFilter.html) simplifies visualization of GIS data for a specific floor of a building in your application.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisFloorFilter extends LitElement {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import i from "@arcgis/core/widgets/FloorFilter.js";
|
|
3
|
+
import { LitElement as s, createEvent as o, noShadowRoot as l } from "@arcgis/lumina";
|
|
4
|
+
import { m as a } from "../../chunks/useWidget.js";
|
|
5
5
|
import { css as r } 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 h = r`arcgis-floor-filter{display:block}`, n =
|
|
10
|
-
class
|
|
8
|
+
v4.32.0-next.87 */
|
|
9
|
+
const h = r`arcgis-floor-filter{display:block}`, n = a(i);
|
|
10
|
+
class c extends s {
|
|
11
11
|
constructor() {
|
|
12
|
-
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.facility = this.widget.facility, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.level = this.widget.level, this.longNames = this.widget.longNames, this.position = "bottom-left", this.site = this.widget.site, this.arcgisReady =
|
|
12
|
+
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.facility = this.widget.facility, this.headingLevel = this.widget.headingLevel, this.icon = this.widget.icon, this.label = this.widget.label, this.level = this.widget.level, this.longNames = this.widget.longNames, this.position = "bottom-left", this.site = this.widget.site, this.arcgisReady = o();
|
|
13
13
|
}
|
|
14
14
|
static {
|
|
15
15
|
this.properties = { autoDestroyDisabled: 5, facility: 3, headingLevel: 9, icon: 1, label: 1, level: 3, longNames: 5, position: 1, referenceElement: 1, site: 3 };
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
|
-
this.shadowRootOptions =
|
|
18
|
+
this.shadowRootOptions = l;
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.styles = h;
|
|
@@ -30,7 +30,7 @@ class d extends o {
|
|
|
30
30
|
this.widget?.updateWebDocument(t);
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
e("arcgis-floor-filter",
|
|
33
|
+
e("arcgis-floor-filter", c);
|
|
34
34
|
export {
|
|
35
|
-
|
|
35
|
+
c as ArcgisFloorFilter
|
|
36
36
|
};
|
|
@@ -2,15 +2,16 @@
|
|
|
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 FullscreenViewModel } from '@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js';
|
|
6
6
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useFullscreenViewModel: (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<FullscreenViewModel, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: "ready" | "disabled" | "active" | "feature-unsupported" | undefined;
|
|
16
17
|
icon: Nil | string;
|
|
@@ -31,7 +32,7 @@ declare const useFullscreenViewModel: (component: import('@arcgis/components-con
|
|
|
31
32
|
destroy: () => Promise<void>;
|
|
32
33
|
}, options?: {
|
|
33
34
|
editConstructorProperties(props: unknown): unknown;
|
|
34
|
-
} | undefined) =>
|
|
35
|
+
} | undefined) => FullscreenViewModel;
|
|
35
36
|
export declare class ArcgisFullscreen extends LitElement {
|
|
36
37
|
private messages;
|
|
37
38
|
/**
|
|
@@ -2,26 +2,26 @@ import { c as n } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { html as s } from "lit-html";
|
|
3
3
|
import { usePropertyChange as c } from "@arcgis/components-controllers";
|
|
4
4
|
import { classes as d } from "@arcgis/components-utils";
|
|
5
|
-
import
|
|
6
|
-
import { u,
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import m from "@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js";
|
|
6
|
+
import { LitElement as u, createEvent as h, noShadowRoot as g, safeClassMap as i, nothing as p } from "@arcgis/lumina";
|
|
7
|
+
import { u as f, m as w } from "../../chunks/useViewModel.js";
|
|
8
|
+
import { g as o } from "../../chunks/globalCss.js";
|
|
9
9
|
import { css as b } from "@lit/reactive-element/css-tag.js";
|
|
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.87 */
|
|
13
13
|
const y = b`arcgis-fullscreen{display:block}`, v = {
|
|
14
14
|
base: "esri-fullscreen"
|
|
15
|
-
}, M =
|
|
16
|
-
class $ extends
|
|
15
|
+
}, M = w(m);
|
|
16
|
+
class $ extends u {
|
|
17
17
|
constructor() {
|
|
18
|
-
super(...arguments), this.messages =
|
|
18
|
+
super(...arguments), this.messages = f(), this.viewModel = M(this), this.autoDestroyDisabled = !1, this.element = this.viewModel.element, this.icon = "zoom-out-fixed", this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = c()("state"), this.arcgisReady = h();
|
|
19
19
|
}
|
|
20
20
|
static {
|
|
21
21
|
this.properties = { autoDestroyDisabled: 5, element: 0, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, state: 3 };
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.shadowRootOptions =
|
|
24
|
+
this.shadowRootOptions = g;
|
|
25
25
|
}
|
|
26
26
|
static {
|
|
27
27
|
this.styles = y;
|
|
@@ -45,8 +45,8 @@ class $ extends g {
|
|
|
45
45
|
// #endregion
|
|
46
46
|
// #region Rendering
|
|
47
47
|
render() {
|
|
48
|
-
const { fullscreenTitle: e, icon: r } = this, t = this.viewModel?.state,
|
|
49
|
-
return s`<div class=${
|
|
48
|
+
const { fullscreenTitle: e, icon: r } = this, t = this.viewModel?.state, a = t === "feature-unsupported", l = t === "ready" || t === "disabled" || t === "feature-unsupported" ? "zoom-out-fixed" : "zoom-in-fixed";
|
|
49
|
+
return s`<div class=${i(d(v.base, o.widget))}>${!a && s`<calcite-button class=${i(o.widgetButton)} .disabled=${t === "disabled"} .iconStart=${r ?? l} kind=neutral .label=${e} @click=${this._toggle} title=${e ?? p}></calcite-button>` || ""}</div>`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
n("arcgis-fullscreen", $);
|
|
@@ -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 Histogram } from '@arcgis/core/widgets/Histogram.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useHistogramWidget: (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<Histogram, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: "ready" | "disabled" | undefined;
|
|
16
17
|
viewModel?: __esri.HistogramViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useHistogramWidget: (component: import('@arcgis/components-control
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.HistogramProperties): __esri.HistogramProperties | Promise<__esri.HistogramProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.HistogramProperties | undefined): __esri.HistogramProperties | Promise<__esri.HistogramProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Histogram;
|
|
36
37
|
/**
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
@@ -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/Histogram.js";
|
|
4
|
+
import { LitElement as s, createEvent as a, noShadowRoot as o } 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 h = n`arcgis-histogram{display:block}`, d = e
|
|
11
|
-
class m extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const h = n`arcgis-histogram{display:block}`, d = r(e);
|
|
11
|
+
class m extends s {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.average = this.widget.average, this.barCreatedFunction = this.widget.barCreatedFunction, this.bins = this.widget.bins, this.dataLineCreatedFunction = this.widget.dataLineCreatedFunction, this.dataLines = this.widget.dataLines, this.icon = this.widget.icon, this.label = this.widget.label, this.labelFormatFunction = this.widget.labelFormatFunction, this.layout = this.widget.layout, this.max = this.widget.max, this.min = this.widget.min, this.position = "bottom-left", this.state = this.widget.state, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.average = this.widget.average, this.barCreatedFunction = this.widget.barCreatedFunction, this.bins = this.widget.bins, this.dataLineCreatedFunction = this.widget.dataLineCreatedFunction, this.dataLines = this.widget.dataLines, this.icon = this.widget.icon, this.label = this.widget.label, this.labelFormatFunction = this.widget.labelFormatFunction, this.layout = this.widget.layout, this.max = this.widget.max, this.min = this.widget.min, this.position = "bottom-left", this.state = this.widget.state, this.arcgisPropertyChange = i()("state"), this.arcgisReady = a();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, average: 9, barCreatedFunction: 0, bins: 0, dataLineCreatedFunction: 0, dataLines: 0, icon: 1, label: 1, labelFormatFunction: 0, layout: 1, max: 9, min: 9, position: 1, referenceElement: 1, state: 3 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = o;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = h;
|
|
@@ -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 HistogramRangeSlider } from '@arcgis/core/widgets/HistogramRangeSlider.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useHistogramRangeSliderWidget: (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<HistogramRangeSlider, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.HistogramRangeSliderViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useHistogramRangeSliderWidget: (component: import('@arcgis/compone
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.HistogramRangeSliderProperties): __esri.HistogramRangeSliderProperties | Promise<__esri.HistogramRangeSliderProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.HistogramRangeSliderProperties | undefined): __esri.HistogramRangeSliderProperties | Promise<__esri.HistogramRangeSliderProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => HistogramRangeSlider;
|
|
36
37
|
/**
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as i } 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/HistogramRangeSlider.js";
|
|
4
|
+
import { LitElement as a, createEvent as r, noShadowRoot as o } from "@arcgis/lumina";
|
|
5
|
+
import { m as n } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as d } 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 h = d`arcgis-histogram-range-slider{display:block}`, l =
|
|
11
|
-
class g extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const h = d`arcgis-histogram-range-slider{display:block}`, l = n(s);
|
|
11
|
+
class g extends a {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.average = this.widget.average, this.barCreatedFunction = this.widget.barCreatedFunction, this.bins = this.widget.bins, this.dataLineCreatedFunction = this.widget.dataLineCreatedFunction, this.dataLines = this.widget.dataLines, this.excludedBarColor = this.widget.excludedBarColor, this.icon = this.widget.icon, this.includedBarColor = this.widget.includedBarColor, this.label = this.widget.label, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.position = "bottom-left", this.precision = this.widget.precision, this.rangeType = this.widget.rangeType, this.standardDeviation = this.widget.standardDeviation, this.standardDeviationCount = this.widget.standardDeviationCount, this.state = this.viewModel.state, this.values = this.widget.values, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = l(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.average = this.widget.average, this.barCreatedFunction = this.widget.barCreatedFunction, this.bins = this.widget.bins, this.dataLineCreatedFunction = this.widget.dataLineCreatedFunction, this.dataLines = this.widget.dataLines, this.excludedBarColor = this.widget.excludedBarColor, this.icon = this.widget.icon, this.includedBarColor = this.widget.includedBarColor, this.label = this.widget.label, this.labelFormatFunction = this.widget.labelFormatFunction, this.max = this.widget.max, this.min = this.widget.min, this.position = "bottom-left", this.precision = this.widget.precision, this.rangeType = this.widget.rangeType, this.standardDeviation = this.widget.standardDeviation, this.standardDeviationCount = this.widget.standardDeviationCount, this.state = this.viewModel.state, this.values = this.widget.values, this.arcgisPropertyChange = e()("state"), this.arcgisReady = r();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, average: 9, barCreatedFunction: 0, bins: 0, dataLineCreatedFunction: 0, dataLines: 0, excludedBarColor: 0, icon: 1, includedBarColor: 0, label: 1, labelFormatFunction: 0, max: 9, min: 9, position: 1, precision: 9, rangeType: 1, referenceElement: 1, standardDeviation: 9, standardDeviationCount: 9, state: 3, values: 0 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = o;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = h;
|
|
@@ -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
|
-
import { Nil } from '@arcgis/components-utils';
|
|
5
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
|
+
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as HomeViewModel } from '@arcgis/core/widgets/Home/HomeViewModel.js';
|
|
6
6
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useHomeViewModel: (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<HomeViewModel, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: "ready" | "disabled" | "going-home" | undefined;
|
|
16
17
|
icon: Nil | string;
|
|
@@ -31,7 +32,7 @@ declare const useHomeViewModel: (component: import('@arcgis/components-controlle
|
|
|
31
32
|
destroy: () => Promise<void>;
|
|
32
33
|
}, options?: {
|
|
33
34
|
editConstructorProperties(props: unknown): unknown;
|
|
34
|
-
} | undefined) =>
|
|
35
|
+
} | undefined) => HomeViewModel;
|
|
35
36
|
/**
|
|
36
37
|
* Provides a simple widget that switches the esri/views/View to its
|
|
37
38
|
* initial esri/Viewpoint or a previously defined `viewpoint`.
|
|
@@ -83,7 +84,7 @@ export declare class ArcgisHome extends LitElement {
|
|
|
83
84
|
* // Sets the model's viewpoint to the Viewpoint based on a polygon geometry
|
|
84
85
|
* home.viewpoint = vp;
|
|
85
86
|
*/
|
|
86
|
-
viewpoint:
|
|
87
|
+
viewpoint: __esri.Viewpoint | nullish;
|
|
87
88
|
/**
|
|
88
89
|
* This function provides the ability to interrupt and cancel the process
|
|
89
90
|
* of navigating the view back to the view's initial extent.
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { c as l } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as o } from "lit-html";
|
|
3
|
-
import { g as i } from "../../chunks/globalCss.js";
|
|
4
|
-
import { classes as n } from "@arcgis/components-utils";
|
|
5
3
|
import { usePropertyChange as c } from "@arcgis/components-controllers";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
4
|
+
import { reEmitEvent as n } from "@arcgis/components-controllers/accessor";
|
|
5
|
+
import { classes as m } from "@arcgis/components-utils";
|
|
6
|
+
import d from "@arcgis/core/widgets/Home/HomeViewModel.js";
|
|
7
|
+
import { LitElement as h, createEvent as g, noShadowRoot as p, safeClassMap as i, nothing as v } from "@arcgis/lumina";
|
|
8
|
+
import { u as w, m as u } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { g as a } from "../../chunks/globalCss.js";
|
|
10
10
|
import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
11
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
12
12
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
13
|
-
v4.32.0-next.
|
|
13
|
+
v4.32.0-next.87 */
|
|
14
14
|
const b = f`arcgis-home{display:block}`, y = {
|
|
15
15
|
base: "esri-home"
|
|
16
|
-
}, M =
|
|
17
|
-
class $ extends
|
|
16
|
+
}, M = u(d);
|
|
17
|
+
class $ extends h {
|
|
18
18
|
constructor() {
|
|
19
|
-
super(...arguments), this.messages =
|
|
19
|
+
super(...arguments), this.messages = w(), this.viewModel = M(this), this.autoDestroyDisabled = !1, this.goToOverride = this.viewModel.goToOverride, this.icon = "home", this.position = "top-left", this.state = this.viewModel.state, this.viewpoint = this.viewModel.viewpoint, this.arcgisGo = n(() => this.viewModel, "go"), this.arcgisPropertyChange = c()("state"), this.arcgisReady = g();
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.properties = { autoDestroyDisabled: 5, goToOverride: 0, icon: 3, label: 1, messageOverrides: 0, position: 3, referenceElement: 1, state: 3, viewpoint: 0 };
|
|
23
23
|
}
|
|
24
24
|
static {
|
|
25
|
-
this.shadowRootOptions =
|
|
25
|
+
this.shadowRootOptions = p;
|
|
26
26
|
}
|
|
27
27
|
static {
|
|
28
28
|
this.styles = b;
|
|
@@ -59,7 +59,7 @@ class $ extends g {
|
|
|
59
59
|
//#region Rendering
|
|
60
60
|
render() {
|
|
61
61
|
const { messages: e, icon: r } = this, t = this.viewModel?.state, s = t === "going-home";
|
|
62
|
-
return o`<div class=${
|
|
62
|
+
return o`<div class=${i(m(y.base, a.widget))}><calcite-button class=${i(a.widgetButton)} .disabled=${t === "disabled"} .iconStart=${s ? void 0 : r ?? void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${s ? "s" : "m"} title=${(t === "going-home" ? e.cancel : e.title) ?? v}>${s ? o`<calcite-loader inline label></calcite-loader>` : null}</calcite-button></div>`;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
l("arcgis-home", $);
|