@arcgis/map-components 4.32.0-next.3 → 4.32.0-next.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/arcgis-map-components/{UMTYNFPZ.js → 2IEUTOD2.js} +2 -2
- package/dist/arcgis-map-components/{Q3VEG4LZ.js → 2TU4K4ZK.js} +2 -2
- package/dist/arcgis-map-components/{CJE6T4C4.js → 37EH3GXO.js} +2 -2
- package/dist/arcgis-map-components/{PQWYNCT6.js → 3LSJILGF.js} +2 -2
- package/dist/arcgis-map-components/{OXL7PTVB.js → 4G7Q6XPC.js} +2 -2
- package/dist/arcgis-map-components/{I2RWV7WW.js → 4PIDQHBD.js} +2 -2
- package/dist/arcgis-map-components/{443N6XGY.js → 5C7V6I7B.js} +2 -2
- package/dist/arcgis-map-components/{JL3UO3KO.js → 5QGKKOO2.js} +2 -2
- package/dist/arcgis-map-components/{ISHF2ZKS.js → 6FOWAKPD.js} +2 -2
- package/dist/arcgis-map-components/{XLLCOPOL.js → 6GJAHGDQ.js} +2 -2
- package/dist/arcgis-map-components/{UF3GQO25.js → 745T3RMX.js} +1 -1
- package/dist/arcgis-map-components/{HI2KTAFJ.js → 7J2BBHTZ.js} +2 -2
- package/dist/arcgis-map-components/7VSQNBF3.js +6 -0
- package/dist/arcgis-map-components/7WW23BF5.js +6 -0
- package/dist/arcgis-map-components/{XAGDSS6M.js → A2X5ZPAH.js} +2 -2
- package/dist/arcgis-map-components/ABQRV7US.js +6 -0
- package/dist/arcgis-map-components/{4ONG4MQT.js → BRXBPWDR.js} +2 -2
- package/dist/arcgis-map-components/BUWT2W52.js +6 -0
- package/dist/arcgis-map-components/{3N74S77Y.js → CH2Z5YBN.js} +2 -2
- package/dist/arcgis-map-components/{BLKWSBBC.js → CP2BAVYK.js} +2 -2
- package/dist/arcgis-map-components/{YXWDKDOD.js → E4ACVVM2.js} +2 -2
- package/dist/arcgis-map-components/{7R2QORO5.js → EFFYUWHZ.js} +2 -2
- package/dist/arcgis-map-components/{YORHXSHC.js → FJ62N2XU.js} +2 -2
- package/dist/arcgis-map-components/{E4A6DD7W.js → GHNDYLBV.js} +2 -2
- package/dist/arcgis-map-components/{TQXQLXXI.js → H5DMP6GW.js} +2 -2
- package/dist/arcgis-map-components/{JZVQISNS.js → HX2TQK64.js} +2 -2
- package/dist/arcgis-map-components/{BJV7COFA.js → I4UR5YDE.js} +2 -2
- package/dist/arcgis-map-components/{3GXNNJO6.js → IZGA4O3A.js} +2 -2
- package/dist/arcgis-map-components/{7QAPWEN2.js → JBY7SKZO.js} +2 -2
- package/dist/arcgis-map-components/{YOIY3V4Q.js → KISEOPFS.js} +2 -2
- package/dist/arcgis-map-components/{YKPN7EV6.js → KNYSVWCR.js} +2 -2
- package/dist/arcgis-map-components/{6V7GUT2B.js → L3XQEWHE.js} +1 -1
- package/dist/arcgis-map-components/{ED2X3KMJ.js → LKUQFQV7.js} +2 -2
- package/dist/arcgis-map-components/{ZNPPQB57.js → MOB7HD5O.js} +2 -2
- package/dist/arcgis-map-components/{5SEPUASD.js → MRJXVNGR.js} +2 -2
- package/dist/arcgis-map-components/{5TUO2PJB.js → MXRSWKTA.js} +2 -2
- package/dist/arcgis-map-components/{27GM6TMI.js → NNKT3ZIQ.js} +2 -2
- package/dist/arcgis-map-components/{3DSKXAXC.js → NOH2I5QA.js} +2 -2
- package/dist/arcgis-map-components/{3SPCVWDW.js → OLSCWJ46.js} +2 -2
- package/dist/arcgis-map-components/{GEEPX5R5.js → PE2B6HSL.js} +2 -2
- package/dist/arcgis-map-components/{QXMZ555H.js → PJWTTRNK.js} +2 -2
- package/dist/arcgis-map-components/{C7QHC5XF.js → PPFSBSO6.js} +2 -2
- package/dist/arcgis-map-components/{33JP7447.js → PZ5ZSV6X.js} +2 -2
- package/dist/arcgis-map-components/{62KCQDGE.js → RBC6EMOK.js} +2 -2
- package/dist/arcgis-map-components/{4UXCF4OM.js → RBLBRQU7.js} +1 -1
- package/dist/arcgis-map-components/{FLIQGWQE.js → RX2GG6WZ.js} +2 -2
- package/dist/arcgis-map-components/{TXCD4CDR.js → RXXYBCBD.js} +2 -2
- package/dist/arcgis-map-components/{CKYC5GML.js → RYLPL2QP.js} +2 -2
- package/dist/arcgis-map-components/{727Y4EHZ.js → SLP6HRCX.js} +2 -2
- package/dist/arcgis-map-components/SUBG4KNV.js +6 -0
- package/dist/arcgis-map-components/{2QNOIF3U.js → TCMGOO25.js} +2 -2
- package/dist/arcgis-map-components/{N2XIIREH.js → TDHEAF7T.js} +2 -2
- package/dist/arcgis-map-components/{CXXLK64M.js → TSEJTJGB.js} +2 -2
- package/dist/arcgis-map-components/{MXTMPFAC.js → TYTFYYYO.js} +2 -2
- package/dist/arcgis-map-components/{XYXKVL6L.js → U7M4HU4O.js} +2 -2
- package/dist/arcgis-map-components/{TPVWPS2P.js → UUSC7Z5K.js} +2 -2
- package/dist/arcgis-map-components/{4TCWP63S.js → VE7TQ3U7.js} +2 -2
- package/dist/arcgis-map-components/{ZZVNYAFB.js → VUQRGZNU.js} +2 -2
- package/dist/arcgis-map-components/{BLY2ABPE.js → W22D5PHH.js} +2 -2
- package/dist/arcgis-map-components/W72GKZOE.js +6 -0
- package/dist/arcgis-map-components/{ZAYVEXCC.js → WSU47LM5.js} +2 -2
- package/dist/arcgis-map-components/{P7RGEXXO.js → X5BO5HYN.js} +2 -2
- package/dist/arcgis-map-components/{J3HCS7H5.js → XK4K5FLG.js} +2 -2
- package/dist/arcgis-map-components/{7T3FSXQW.js → XNE3HH7U.js} +2 -2
- package/dist/arcgis-map-components/XWTZLYTG.js +6 -0
- package/dist/arcgis-map-components/{ASAHKP4M.js → Y53UGIKL.js} +2 -2
- package/dist/arcgis-map-components/{TVI3FCBK.js → YEPK6QME.js} +2 -2
- package/dist/arcgis-map-components/{SNV65KM3.js → YRZXRBP4.js} +2 -2
- package/dist/arcgis-map-components/{BECLJD75.js → ZLZMFYTA.js} +2 -2
- package/dist/arcgis-map-components/{73XACXR7.js → ZQZ6FPWL.js} +2 -2
- package/dist/arcgis-map-components/{IUEFMVKN.js → ZUA5WCPQ.js} +2 -2
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- 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/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.js +5 -5
- package/dist/components/arcgis-area-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-attachments/customElement.js +2 -2
- package/dist/components/arcgis-basemap-gallery/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-basemap-toggle/customElement.js +2 -2
- package/dist/components/arcgis-bookmarks/customElement.js +5 -5
- package/dist/components/arcgis-building-explorer/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-compass/customElement.js +2 -2
- package/dist/components/arcgis-coordinate-conversion/customElement.js +2 -2
- package/dist/components/arcgis-daylight/customElement.js +2 -2
- package/dist/components/arcgis-directional-pad/customElement.js +2 -2
- package/dist/components/arcgis-directions/customElement.js +2 -2
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +2 -2
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +2 -2
- package/dist/components/arcgis-editor/customElement.js +2 -2
- package/dist/components/arcgis-elevation-profile/customElement.js +2 -2
- package/dist/components/arcgis-expand/customElement.js +2 -2
- package/dist/components/arcgis-feature/customElement.js +2 -2
- package/dist/components/arcgis-feature-form/customElement.js +2 -2
- package/dist/components/arcgis-feature-table/customElement.js +2 -2
- package/dist/components/arcgis-feature-templates/customElement.js +2 -2
- package/dist/components/arcgis-features/customElement.js +2 -2
- package/dist/components/arcgis-floor-filter/customElement.js +2 -2
- package/dist/components/arcgis-fullscreen/customElement.js +2 -2
- package/dist/components/arcgis-histogram/customElement.js +2 -2
- package/dist/components/arcgis-histogram-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-home/customElement.js +2 -2
- package/dist/components/arcgis-layer-list/customElement.js +2 -2
- package/dist/components/arcgis-legend/customElement.js +2 -2
- package/dist/components/arcgis-line-of-sight/customElement.js +2 -2
- package/dist/components/arcgis-locate/customElement.js +2 -2
- package/dist/components/arcgis-map/customElement.d.ts +1 -3
- package/dist/components/arcgis-map/customElement.js +9 -9
- package/dist/components/arcgis-measurement/customElement.js +2 -2
- package/dist/components/arcgis-navigation-toggle/customElement.js +2 -2
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +2 -2
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.js +2 -2
- package/dist/components/arcgis-scale-bar/customElement.js +18 -18
- package/dist/components/arcgis-scale-range-slider/customElement.js +2 -2
- package/dist/components/arcgis-scene/customElement.js +2 -2
- package/dist/components/arcgis-search/customElement.js +2 -2
- package/dist/components/arcgis-shadow-cast/customElement.js +2 -2
- package/dist/components/arcgis-sketch/customElement.js +6 -6
- package/dist/components/arcgis-slice/customElement.js +2 -2
- package/dist/components/arcgis-slider/customElement.js +2 -2
- package/dist/components/arcgis-swipe/customElement.js +2 -2
- package/dist/components/arcgis-table-list/customElement.js +6 -6
- package/dist/components/arcgis-time-slider/customElement.js +2 -2
- package/dist/components/arcgis-track/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +4 -4
- package/dist/components/arcgis-value-picker/customElement.js +2 -2
- package/dist/components/arcgis-version-management/customElement.js +2 -2
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.js +2 -2
- package/dist/components/arcgis-zoom/customElement.js +2 -2
- package/dist/docs/docs.json +2 -28
- package/dist/docs/manifest.json +2 -23
- package/dist/docs/web-types.json +1 -6
- package/dist/index.js +1 -1
- package/dist/loader.js +2 -2
- package/dist/types/lumina.d.ts +1 -1
- package/dist/types/preact.d.ts +1 -1
- package/dist/types/react.d.ts +1 -1
- package/dist/types/stencil.d.ts +1 -1
- package/package.json +12 -12
- package/dist/arcgis-map-components/2QCUAEYR.js +0 -6
- package/dist/arcgis-map-components/2V3FF3OU.js +0 -6
- package/dist/arcgis-map-components/6QELDRLR.js +0 -6
- package/dist/arcgis-map-components/ITCPQV4W.js +0 -6
- package/dist/arcgis-map-components/LMTZHUBA.js +0 -6
- package/dist/arcgis-map-components/NWPR6F5M.js +0 -6
- package/dist/arcgis-map-components/TL2O77FA.js +0 -6
- package/dist/chunks/index.js +0 -728
@@ -2,7 +2,7 @@ import { c as m } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as c } from "lit-html";
|
3
3
|
import { usePropertyChange as d } from "@arcgis/components-controllers";
|
4
4
|
import { classes as h } from "@arcgis/components-utils";
|
5
|
-
import {
|
5
|
+
import { newWidgetsZoomZoomViewModel as u } from "@arcgis/core-adapter";
|
6
6
|
import { u as z, m as b } from "../../chunks/useViewModel.js";
|
7
7
|
import { g as o } from "../../chunks/globalCss.js";
|
8
8
|
import { LitElement as p, createEvent as w, noShadowRoot as g, safeClassMap as t, nothing as i } from "@arcgis/lumina";
|
@@ -10,7 +10,7 @@ import { css as f } from "@lit/reactive-element/css-tag.js";
|
|
10
10
|
/*!
|
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.4
|
14
14
|
*/
|
15
15
|
const r = {
|
16
16
|
base: "esri-zoom",
|
package/dist/docs/docs.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "2024-10-
|
2
|
+
"timestamp": "2024-10-09T16:46:15",
|
3
3
|
"compiler": {
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
5
|
-
"version": "4.32.0-next.
|
5
|
+
"version": "4.32.0-next.4",
|
6
6
|
"typescriptVersion": "5.4.5"
|
7
7
|
},
|
8
8
|
"components": [
|
@@ -22457,32 +22457,6 @@
|
|
22457
22457
|
"optional": false,
|
22458
22458
|
"required": false
|
22459
22459
|
},
|
22460
|
-
{
|
22461
|
-
"name": "highlights",
|
22462
|
-
"type": "Collection<any>",
|
22463
|
-
"complexType": {
|
22464
|
-
"original": "Collection<any>",
|
22465
|
-
"resolved": "Collection<any>",
|
22466
|
-
"references": {
|
22467
|
-
"Collection": {
|
22468
|
-
"location": "import",
|
22469
|
-
"path": "@arcgis/core/interfaces.d.ts",
|
22470
|
-
"id": "notImplemented"
|
22471
|
-
}
|
22472
|
-
}
|
22473
|
-
},
|
22474
|
-
"mutable": true,
|
22475
|
-
"reflectToAttr": false,
|
22476
|
-
"docs": "Options for configuring the MapView highlights. The highlights is a collection of three named HighlightOptions objects",
|
22477
|
-
"docsTags": [],
|
22478
|
-
"values": [
|
22479
|
-
{
|
22480
|
-
"type": "Collection<any>"
|
22481
|
-
}
|
22482
|
-
],
|
22483
|
-
"optional": false,
|
22484
|
-
"required": false
|
22485
|
-
},
|
22486
22460
|
{
|
22487
22461
|
"name": "interacting",
|
22488
22462
|
"type": "boolean",
|
package/dist/docs/manifest.json
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
{
|
2
|
-
"timestamp": "2024-10-
|
2
|
+
"timestamp": "2024-10-09T16:46:15",
|
3
3
|
"compiler": {
|
4
4
|
"name": "@arcgis/lumina-compiler",
|
5
|
-
"version": "4.32.0-next.
|
5
|
+
"version": "4.32.0-next.4",
|
6
6
|
"typescriptVersion": "5.4.5"
|
7
7
|
},
|
8
8
|
"schemaVersion": "1.0.0",
|
@@ -28905,27 +28905,6 @@
|
|
28905
28905
|
]
|
28906
28906
|
}
|
28907
28907
|
},
|
28908
|
-
{
|
28909
|
-
"kind": "field",
|
28910
|
-
"name": "highlights",
|
28911
|
-
"description": "Options for configuring the MapView highlights. The highlights is a collection of three named HighlightOptions objects",
|
28912
|
-
"type": {
|
28913
|
-
"text": "Collection<any>",
|
28914
|
-
"original": "Collection<any>",
|
28915
|
-
"values": [
|
28916
|
-
{
|
28917
|
-
"type": "Collection<any>"
|
28918
|
-
}
|
28919
|
-
],
|
28920
|
-
"references": [
|
28921
|
-
{
|
28922
|
-
"name": "Collection",
|
28923
|
-
"package": "@arcgis/core",
|
28924
|
-
"module": "interfaces.d.ts"
|
28925
|
-
}
|
28926
|
-
]
|
28927
|
-
}
|
28928
|
-
},
|
28929
28908
|
{
|
28930
28909
|
"kind": "method",
|
28931
28910
|
"name": "hitTest",
|
package/dist/docs/web-types.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
3
3
|
"name": "@arcgis/map-components",
|
4
|
-
"version": "4.32.0-next.
|
4
|
+
"version": "4.32.0-next.4",
|
5
5
|
"description-markup": "markdown",
|
6
6
|
"contributions": {
|
7
7
|
"html": {
|
@@ -8435,11 +8435,6 @@
|
|
8435
8435
|
"description": "Options for configuring the highlight.",
|
8436
8436
|
"type": "HighlightOptions"
|
8437
8437
|
},
|
8438
|
-
{
|
8439
|
-
"name": "highlights",
|
8440
|
-
"description": "Options for configuring the MapView highlights. The highlights is a collection of three named HighlightOptions objects",
|
8441
|
-
"type": "Collection<any>"
|
8442
|
-
},
|
8443
8438
|
{
|
8444
8439
|
"name": "interacting",
|
8445
8440
|
"description": "Indication whether the view is being interacted with (for example when panning or by an interactive tool).",
|
package/dist/index.js
CHANGED
@@ -2,7 +2,7 @@ import { g as e, s as a } from "./chunks/runtime.js";
|
|
2
2
|
/*!
|
3
3
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
4
4
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
5
|
-
* v4.32.0-next.
|
5
|
+
* v4.32.0-next.4
|
6
6
|
*/
|
7
7
|
export {
|
8
8
|
e as getAssetPath,
|
package/dist/loader.js
CHANGED
@@ -3,7 +3,7 @@ import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
3
3
|
/*!
|
4
4
|
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
5
5
|
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
6
|
-
* v4.32.0-next.
|
6
|
+
* v4.32.0-next.4
|
7
7
|
*/
|
8
8
|
const a = t(e, {
|
9
9
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;destroy"],
|
@@ -39,7 +39,7 @@ const a = t(e, {
|
|
39
39
|
"arcgis-legend": [() => import("./components/arcgis-legend/customElement.js"), "activeLayerInfos:,autoDestroyDisabled,basemapLegendVisible,headingLevel,hideLayersNotInCurrentView,icon,label,layerInfos:,legendStyle,position,referenceElement,respectLayerDefinitionExpression,respectLayerVisibilityDisabled,state;destroy"],
|
40
40
|
"arcgis-line-of-sight": [() => import("./components/arcgis-line-of-sight/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state;clear,continue,destroy,start,stop"],
|
41
41
|
"arcgis-locate": [() => import("./components/arcgis-locate/customElement.js"), "autoDestroyDisabled,geolocationOptions:,goToLocationDisabled,goToOverride:,graphic:,icon,label,messageOverrides:,popupDisabled,position,referenceElement,scale,state;cancelLocate,destroy,locate"],
|
42
|
-
"arcgis-map": [() => import("./components/arcgis-map/customElement.js"), "allLayerViews:,autoDestroyDisabled,background:,basemap,basemapView:,center,constraints:,extent:,fatalError:,floors:,gamepad:,graphics:,ground,highlightOptions:,
|
42
|
+
"arcgis-map": [() => import("./components/arcgis-map/customElement.js"), "allLayerViews:,autoDestroyDisabled,background:,basemap,basemapView:,center,constraints:,extent:,fatalError:,floors:,gamepad:,graphics:,ground,highlightOptions:,interacting:,ipsInfo:,itemId,layerViews:,magnifier:,map:,navigating:,navigation:,padding:,popup:,popupDisabled,ready:,resizeAlign,resolution:,rotation,scale,spatialReference:,stationary:,suspended,theme:,timeExtent:,timeZone,updating,view:,viewpoint:,zoom;addLayer,addLayers,closePopup,destroy,goTo,hitTest,openPopup,takeScreenshot,tryFatalErrorRecovery,whenLayerView;toMap,toScreen"],
|
43
43
|
"arcgis-measurement": [() => import("./components/arcgis-measurement/customElement.js"), "activeTool,activeWidget:,areaUnit,autoDestroyDisabled,icon,label,linearUnit,position,referenceElement,state;clear,destroy,startMeasurement"],
|
44
44
|
"arcgis-navigation-toggle": [() => import("./components/arcgis-navigation-toggle/customElement.js"), "autoDestroyDisabled,icon,label,layout,position,referenceElement,state;destroy,toggle"],
|
45
45
|
"arcgis-oriented-imagery-viewer": [() => import("./components/arcgis-oriented-imagery-viewer/customElement.js"), "autoDestroyDisabled,currentCoverageVisible,disabled,galleryOpened,icon,imageEnhancementToolActive,imageGalleryEnabled:,isAdditionalCoverageVisible,isAdditionalPointSourcesVisible,label,layer:,mapImageConversionToolState,navigationToolActive,orientedImageryLayerItemId,position,referenceElement,referencePoint:;destroy"],
|
package/dist/types/lumina.d.ts
CHANGED
@@ -251,7 +251,7 @@ interface LuminaArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
|
|
251
251
|
onarcgisSuccess?: EventHandler<TargetedEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
|
252
252
|
}
|
253
253
|
|
254
|
-
interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | '
|
254
|
+
interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone'>>, ArcgisMapSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisMapElement> {
|
255
255
|
onarcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
|
256
256
|
onarcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
|
257
257
|
onarcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewDoubleClick"]["detail"]>>>;
|
package/dist/types/preact.d.ts
CHANGED
@@ -242,7 +242,7 @@ interface PreactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
|
|
242
242
|
onarcgisSuccess?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
|
243
243
|
}
|
244
244
|
|
245
|
-
interface PreactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | '
|
245
|
+
interface PreactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone'>>, ArcgisMapSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
246
246
|
onarcgisViewChange?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
|
247
247
|
onarcgisViewClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
|
248
248
|
onarcgisViewDoubleClick?: PreactJsx.EventHandler<PreactJsx.TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewDoubleClick"]["detail"]>>>;
|
package/dist/types/react.d.ts
CHANGED
@@ -275,7 +275,7 @@ interface ReactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisab
|
|
275
275
|
onarcgisSuccess?: EventHandler<SyntheticEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
|
276
276
|
}
|
277
277
|
|
278
|
-
interface ReactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | '
|
278
|
+
interface ReactArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone'>>, ArcgisMapSetterTypes, HTMLAttributes<HTMLArcgisMapElement> {
|
279
279
|
ref?: Ref<HTMLArcgisMapElement>;
|
280
280
|
onarcgisViewChange?: EventHandler<SyntheticEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
|
281
281
|
onarcgisViewClick?: EventHandler<SyntheticEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
|
package/dist/types/stencil.d.ts
CHANGED
@@ -251,7 +251,7 @@ interface StencilArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDis
|
|
251
251
|
onArcgisSuccess?: EventHandler<TargetedEvent<HTMLArcgisLocateElement, CustomEvent<ArcgisLocate["arcgisSuccess"]["detail"]>>>;
|
252
252
|
}
|
253
253
|
|
254
|
-
interface StencilArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | '
|
254
|
+
interface StencilArcgisMap extends Partial<Pick<ArcgisMap, 'allLayerViews' | 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone'>>, ArcgisMapSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
255
255
|
onArcgisViewChange?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewChange"]["detail"]>>>;
|
256
256
|
onArcgisViewClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewClick"]["detail"]>>>;
|
257
257
|
onArcgisViewDoubleClick?: EventHandler<TargetedEvent<HTMLArcgisMapElement, CustomEvent<ArcgisMap["arcgisViewDoubleClick"]["detail"]>>>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcgis/map-components",
|
3
|
-
"version": "4.32.0-next.
|
3
|
+
"version": "4.32.0-next.4",
|
4
4
|
"description": "ArcGIS Map Components",
|
5
5
|
"keywords": [
|
6
6
|
"ArcGIS",
|
@@ -58,20 +58,20 @@
|
|
58
58
|
"clean": "rimraf ./node_modules ./storybook-static ./storybook-static-external ./turbo ./dist"
|
59
59
|
},
|
60
60
|
"dependencies": {
|
61
|
-
"@arcgis/components-build-utils": "4.32.0-next.
|
62
|
-
"@arcgis/components-controllers": "4.32.0-next.
|
63
|
-
"@arcgis/components-utils": "4.32.0-next.
|
64
|
-
"@arcgis/
|
61
|
+
"@arcgis/components-build-utils": "4.32.0-next.4",
|
62
|
+
"@arcgis/components-controllers": "4.32.0-next.4",
|
63
|
+
"@arcgis/components-utils": "4.32.0-next.4",
|
64
|
+
"@arcgis/core-adapter": "4.32.0-next.4",
|
65
|
+
"@arcgis/lumina": "4.32.0-next.4",
|
65
66
|
"tslib": "^2.7.0"
|
66
67
|
},
|
67
68
|
"devDependencies": {
|
68
|
-
"@arcgis/components-plugins": "4.32.0-next.
|
69
|
+
"@arcgis/components-plugins": "4.32.0-next.4",
|
69
70
|
"@arcgis/core": ">=4.31.0-next <4.32",
|
70
|
-
"@arcgis/
|
71
|
-
"@arcgis/lumina
|
72
|
-
"@arcgis/
|
73
|
-
"@arcgis/
|
74
|
-
"@arcgis/typescript-config": "4.32.0-next.3",
|
71
|
+
"@arcgis/lumina-compiler": "4.32.0-next.4",
|
72
|
+
"@arcgis/stencil-to-lumina": "4.32.0-next.4",
|
73
|
+
"@arcgis/storybook-utils": "4.32.0-next.4",
|
74
|
+
"@arcgis/typescript-config": "4.32.0-next.4",
|
75
75
|
"@esri/calcite-components": "^2.13.0",
|
76
76
|
"@testing-library/dom": "^10.4.0",
|
77
77
|
"@types/jest": "^29.5.0",
|
@@ -108,5 +108,5 @@
|
|
108
108
|
"storybook-static": "builds"
|
109
109
|
}
|
110
110
|
},
|
111
|
-
"gitHead": "
|
111
|
+
"gitHead": "57612a8bfbd9ba14535ca2b0d3ff66ab1d6a57f5"
|
112
112
|
}
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.3
|
5
|
-
*/
|
6
|
-
var n=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function a(t){return t.default!==void 0}async function r(){if(n)return await window.$arcgis.import("esri/layers/GraphicsLayer");let t=await import("@arcgis/core/layers/GraphicsLayer.js");return a(t)?t.default:t}async function dt(t){let i=await r();return new i(t)}async function mt(){if(n)return await window.$arcgis.import("esri/layers/Layer");let t=await import("@arcgis/core/layers/Layer.js");return a(t)?t.default:t}async function e(){if(n)return await window.$arcgis.import("esri/layers/OrientedImageryLayer");let t=await import("@arcgis/core/layers/OrientedImageryLayer.js");return a(t)?t.default:t}async function pt(t){let i=await e();return new i(t)}async function s(){if(n)return await window.$arcgis.import("esri/layers/RouteLayer");let t=await import("@arcgis/core/layers/RouteLayer.js");return a(t)?t.default:t}async function yt(t){let i=await s();return new i(t)}async function o(){if(n)return await window.$arcgis.import("esri/views/MapView");let t=await import("@arcgis/core/views/MapView.js");return a(t)?t.default:t}async function gt(t){let i=await o();return new i(t)}async function c(){if(n)return await window.$arcgis.import("esri/views/SceneView");let t=await import("@arcgis/core/views/SceneView.js");return a(t)?t.default:t}async function lt(t){let i=await c();return new i(t)}async function w(){if(n)return await window.$arcgis.import("esri/WebMap");let t=await import("@arcgis/core/WebMap.js");return a(t)?t.default:t}async function $t(t){let i=await w();return new i(t)}async function u(){if(n)return await window.$arcgis.import("esri/WebScene");let t=await import("@arcgis/core/WebScene.js");return a(t)?t.default:t}async function Mt(t){let i=await u();return new i(t)}async function f(){if(n)return await window.$arcgis.import("esri/widgets/AreaMeasurement2D");let t=await import("@arcgis/core/widgets/AreaMeasurement2D.js");return a(t)?t.default:t}async function Lt(t){let i=await f();return new i(t)}async function d(){if(n)return await window.$arcgis.import("esri/widgets/AreaMeasurement3D");let t=await import("@arcgis/core/widgets/AreaMeasurement3D.js");return a(t)?t.default:t}async function St(t){let i=await d();return new i(t)}async function m(){if(n)return await window.$arcgis.import("esri/widgets/Attachments");let t=await import("@arcgis/core/widgets/Attachments.js");return a(t)?t.default:t}async function Vt(t){let i=await m();return new i(t)}async function p(){if(n)return await window.$arcgis.import("esri/widgets/BasemapGallery");let t=await import("@arcgis/core/widgets/BasemapGallery.js");return a(t)?t.default:t}async function Tt(t){let i=await p();return new i(t)}async function y(){if(n)return await window.$arcgis.import("esri/widgets/BasemapLayerList");let t=await import("@arcgis/core/widgets/BasemapLayerList.js");return a(t)?t.default:t}async function Dt(t){let i=await y();return new i(t)}async function g(){if(n)return await window.$arcgis.import("esri/widgets/BasemapToggle/BasemapToggleViewModel");let t=await import("@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js");return a(t)?t.default:t}async function Ft(t){let i=await g();return new i(t)}async function l(){if(n)return await window.$arcgis.import("esri/widgets/Bookmarks");let t=await import("@arcgis/core/widgets/Bookmarks.js");return a(t)?t.default:t}async function kt(t){let i=await l();return new i(t)}async function $(){if(n)return await window.$arcgis.import("esri/widgets/BuildingExplorer");let t=await import("@arcgis/core/widgets/BuildingExplorer.js");return a(t)?t.default:t}async function Ct(t){let i=await $();return new i(t)}async function M(){if(n)return await window.$arcgis.import("esri/widgets/CatalogLayerList");let t=await import("@arcgis/core/widgets/CatalogLayerList.js");return a(t)?t.default:t}async function ht(t){let i=await M();return new i(t)}async function L(){if(n)return await window.$arcgis.import("esri/widgets/Compass/CompassViewModel");let t=await import("@arcgis/core/widgets/Compass/CompassViewModel.js");return a(t)?t.default:t}async function vt(t){let i=await L();return new i(t)}async function S(){if(n)return await window.$arcgis.import("esri/widgets/CoordinateConversion");let t=await import("@arcgis/core/widgets/CoordinateConversion.js");return a(t)?t.default:t}async function Bt(t){let i=await S();return new i(t)}async function V(){if(n)return await window.$arcgis.import("esri/widgets/Daylight");let t=await import("@arcgis/core/widgets/Daylight.js");return a(t)?t.default:t}async function bt(t){let i=await V();return new i(t)}async function T(){if(n)return await window.$arcgis.import("esri/widgets/DirectionalPad");let t=await import("@arcgis/core/widgets/DirectionalPad.js");return a(t)?t.default:t}async function Ut(t){let i=await T();return new i(t)}async function D(){if(n)return await window.$arcgis.import("esri/widgets/Directions");let t=await import("@arcgis/core/widgets/Directions.js");return a(t)?t.default:t}async function Et(t){let i=await D();return new i(t)}async function F(){if(n)return await window.$arcgis.import("esri/widgets/DirectLineMeasurement3D");let t=await import("@arcgis/core/widgets/DirectLineMeasurement3D.js");return a(t)?t.default:t}async function At(t){let i=await F();return new i(t)}async function k(){if(n)return await window.$arcgis.import("esri/widgets/DistanceMeasurement2D");let t=await import("@arcgis/core/widgets/DistanceMeasurement2D.js");return a(t)?t.default:t}async function Ht(t){let i=await k();return new i(t)}async function C(){if(n)return await window.$arcgis.import("esri/widgets/Editor");let t=await import("@arcgis/core/widgets/Editor.js");return a(t)?t.default:t}async function Nt(t){let i=await C();return new i(t)}async function h(){if(n)return await window.$arcgis.import("esri/widgets/ElevationProfile");let t=await import("@arcgis/core/widgets/ElevationProfile.js");return a(t)?t.default:t}async function Pt(t){let i=await h();return new i(t)}async function v(){if(n)return await window.$arcgis.import("esri/widgets/Expand");let t=await import("@arcgis/core/widgets/Expand.js");return a(t)?t.default:t}async function Wt(t){let i=await v();return new i(t)}async function B(){if(n)return await window.$arcgis.import("esri/widgets/Feature");let t=await import("@arcgis/core/widgets/Feature.js");return a(t)?t.default:t}async function xt(t){let i=await B();return new i(t)}async function b(){if(n)return await window.$arcgis.import("esri/widgets/FeatureForm");let t=await import("@arcgis/core/widgets/FeatureForm.js");return a(t)?t.default:t}async function Ot(t){let i=await b();return new i(t)}async function U(){if(n)return await window.$arcgis.import("esri/widgets/Features");let t=await import("@arcgis/core/widgets/Features.js");return a(t)?t.default:t}async function Rt(t){let i=await U();return new i(t)}async function E(){if(n)return await window.$arcgis.import("esri/widgets/FeatureTable");let t=await import("@arcgis/core/widgets/FeatureTable.js");return a(t)?t.default:t}async function Gt(t){let i=await E();return new i(t)}async function A(){if(n)return await window.$arcgis.import("esri/widgets/FeatureTemplates");let t=await import("@arcgis/core/widgets/FeatureTemplates.js");return a(t)?t.default:t}async function It(t){let i=await A();return new i(t)}async function H(){if(n)return await window.$arcgis.import("esri/widgets/FloorFilter");let t=await import("@arcgis/core/widgets/FloorFilter.js");return a(t)?t.default:t}async function Zt(t){let i=await H();return new i(t)}async function N(){if(n)return await window.$arcgis.import("esri/widgets/Fullscreen/FullscreenViewModel");let t=await import("@arcgis/core/widgets/Fullscreen/FullscreenViewModel.js");return a(t)?t.default:t}async function jt(t){let i=await N();return new i(t)}async function P(){if(n)return await window.$arcgis.import("esri/widgets/Histogram");let t=await import("@arcgis/core/widgets/Histogram.js");return a(t)?t.default:t}async function qt(t){let i=await P();return new i(t)}async function W(){if(n)return await window.$arcgis.import("esri/widgets/HistogramRangeSlider");let t=await import("@arcgis/core/widgets/HistogramRangeSlider.js");return a(t)?t.default:t}async function zt(t){let i=await W();return new i(t)}async function x(){if(n)return await window.$arcgis.import("esri/widgets/Home/HomeViewModel");let t=await import("@arcgis/core/widgets/Home/HomeViewModel.js");return a(t)?t.default:t}async function Jt(t){let i=await x();return new i(t)}async function O(){if(n)return await window.$arcgis.import("esri/widgets/LayerList");let t=await import("@arcgis/core/widgets/LayerList.js");return a(t)?t.default:t}async function Kt(t){let i=await O();return new i(t)}async function R(){if(n)return await window.$arcgis.import("esri/widgets/Legend");let t=await import("@arcgis/core/widgets/Legend.js");return a(t)?t.default:t}async function Qt(t){let i=await R();return new i(t)}async function G(){if(n)return await window.$arcgis.import("esri/widgets/LineOfSight");let t=await import("@arcgis/core/widgets/LineOfSight.js");return a(t)?t.default:t}async function Xt(t){let i=await G();return new i(t)}async function I(){if(n)return await window.$arcgis.import("esri/widgets/Locate/LocateViewModel");let t=await import("@arcgis/core/widgets/Locate/LocateViewModel.js");return a(t)?t.default:t}async function Yt(t){let i=await I();return new i(t)}async function Z(){if(n)return await window.$arcgis.import("esri/widgets/Measurement");let t=await import("@arcgis/core/widgets/Measurement.js");return a(t)?t.default:t}async function _t(t){let i=await Z();return new i(t)}async function j(){if(n)return await window.$arcgis.import("esri/widgets/NavigationToggle");let t=await import("@arcgis/core/widgets/NavigationToggle.js");return a(t)?t.default:t}async function ti(t){let i=await j();return new i(t)}async function q(){if(n)return await window.$arcgis.import("esri/widgets/OrientedImageryViewer");let t=await import("@arcgis/core/widgets/OrientedImageryViewer.js");return a(t)?t.default:t}async function ii(t){let i=await q();return new i(t)}async function z(){if(n)return await window.$arcgis.import("esri/widgets/Print");let t=await import("@arcgis/core/widgets/Print.js");return a(t)?t.default:t}async function ni(t){let i=await z();return new i(t)}async function J(){if(n)return await window.$arcgis.import("esri/widgets/ScaleBar/ScaleBarViewModel");let t=await import("@arcgis/core/widgets/ScaleBar/ScaleBarViewModel.js");return a(t)?t.default:t}async function ai(t){let i=await J();return new i(t)}async function K(){if(n)return await window.$arcgis.import("esri/widgets/ScaleRangeSlider");let t=await import("@arcgis/core/widgets/ScaleRangeSlider.js");return a(t)?t.default:t}async function ri(t){let i=await K();return new i(t)}async function Q(){if(n)return await window.$arcgis.import("esri/widgets/Search");let t=await import("@arcgis/core/widgets/Search.js");return a(t)?t.default:t}async function ei(t){let i=await Q();return new i(t)}async function X(){if(n)return await window.$arcgis.import("esri/widgets/ShadowCast");let t=await import("@arcgis/core/widgets/ShadowCast.js");return a(t)?t.default:t}async function si(t){let i=await X();return new i(t)}async function Y(){if(n)return await window.$arcgis.import("esri/widgets/Sketch");let t=await import("@arcgis/core/widgets/Sketch.js");return a(t)?t.default:t}async function oi(t){let i=await Y();return new i(t)}async function _(){if(n)return await window.$arcgis.import("esri/widgets/Slice");let t=await import("@arcgis/core/widgets/Slice.js");return a(t)?t.default:t}async function ci(t){let i=await _();return new i(t)}async function tt(){if(n)return await window.$arcgis.import("esri/widgets/Slider");let t=await import("@arcgis/core/widgets/Slider.js");return a(t)?t.default:t}async function wi(t){let i=await tt();return new i(t)}async function it(){if(n)return await window.$arcgis.import("esri/widgets/Swipe");let t=await import("@arcgis/core/widgets/Swipe.js");return a(t)?t.default:t}async function ui(t){let i=await it();return new i(t)}async function nt(){if(n)return await window.$arcgis.import("esri/widgets/TableList");let t=await import("@arcgis/core/widgets/TableList.js");return a(t)?t.default:t}async function fi(t){let i=await nt();return new i(t)}async function at(){if(n)return await window.$arcgis.import("esri/widgets/TimeSlider");let t=await import("@arcgis/core/widgets/TimeSlider.js");return a(t)?t.default:t}async function di(t){let i=await at();return new i(t)}async function rt(){if(n)return await window.$arcgis.import("esri/widgets/Track/TrackViewModel");let t=await import("@arcgis/core/widgets/Track/TrackViewModel.js");return a(t)?t.default:t}async function mi(t){let i=await rt();return new i(t)}async function et(){if(n)return await window.$arcgis.import("esri/widgets/UtilityNetworkAssociations");let t=await import("@arcgis/core/widgets/UtilityNetworkAssociations.js");return a(t)?t.default:t}async function pi(t){let i=await et();return new i(t)}async function st(){if(n)return await window.$arcgis.import("esri/widgets/UtilityNetworkTrace");let t=await import("@arcgis/core/widgets/UtilityNetworkTrace.js");return a(t)?t.default:t}async function yi(t){let i=await st();return new i(t)}async function ot(){if(n)return await window.$arcgis.import("esri/widgets/UtilityNetworkValidateTopology");let t=await import("@arcgis/core/widgets/UtilityNetworkValidateTopology.js");return a(t)?t.default:t}async function gi(t){let i=await ot();return new i(t)}async function ct(){if(n)return await window.$arcgis.import("esri/widgets/ValuePicker");let t=await import("@arcgis/core/widgets/ValuePicker.js");return a(t)?t.default:t}async function li(t){let i=await ct();return new i(t)}async function wt(){if(n)return await window.$arcgis.import("esri/widgets/VersionManagement/VersionManagementViewModel");let t=await import("@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js");return a(t)?t.default:t}async function $i(t){let i=await wt();return new i(t)}async function ut(){if(n)return await window.$arcgis.import("esri/widgets/Weather");let t=await import("@arcgis/core/widgets/Weather.js");return a(t)?t.default:t}async function Mi(t){let i=await ut();return new i(t)}async function ft(){if(n)return await window.$arcgis.import("esri/widgets/Zoom/ZoomViewModel");let t=await import("@arcgis/core/widgets/Zoom/ZoomViewModel.js");return a(t)?t.default:t}async function Li(t){let i=await ft();return new i(t)}async function Si(){if(n)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return a(t)?t.default:t}async function Vi(){if(n)return await window.$arcgis.import("esri/intl");let t=await import("@arcgis/core/intl.js");return a(t)?t.default:t}async function Ti(){if(n)return await window.$arcgis.import("esri/applications/Components/getDefaultUnits");let t=await import("@arcgis/core/applications/Components/getDefaultUnits.js");return a(t)?t.default:t}async function Di(){if(n)return await window.$arcgis.import("esri/applications/Components/basemapUtils");let t=await import("@arcgis/core/applications/Components/basemapUtils.js");return a(t)?t.default:t}export{dt as a,mt as b,pt as c,yt as d,gt as e,lt as f,$t as g,Mt as h,Lt as i,St as j,Vt as k,Tt as l,Dt as m,Ft as n,kt as o,Ct as p,ht as q,vt as r,Bt as s,bt as t,Ut as u,Et as v,At as w,Ht as x,Nt as y,Pt as z,Wt as A,xt as B,Ot as C,Rt as D,Gt as E,It as F,Zt as G,jt as H,qt as I,zt as J,Jt as K,Kt as L,Qt as M,Xt as N,Yt as O,_t as P,ti as Q,ii as R,ni as S,ai as T,ri as U,ei as V,si as W,oi as X,ci as Y,wi as Z,ui as _,fi as $,di as aa,mi as ba,pi as ca,yi as da,gi as ea,li as fa,$i as ga,Mi as ha,Li as ia,Si as ja,Vi as ka,Ti as la,Di as ma};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.3
|
5
|
-
*/
|
6
|
-
import{a as p}from"./4UXCF4OM.js";import{a as T,b as k}from"./P7RGEXXO.js";import"./TL2O77FA.js";import{ma as M,n as S}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as w,B as f,D as B,E as a,F as d,G as o,I as x,a as m,o as y,q as _,s as l}from"./6V7GUT2B.js";var s="esri-basemap-toggle",r="esri-basemap-thumbnail",e={base:s,secondaryBasemapImage:`${s}__image--secondary`,container:`${r} ${s}__container`,image:`${r}__image ${s}__image`,imageLoading:`${s}__image--loading`,overlay:`${r}__overlay ${s}__image-overlay`,title:`${r}__title ${s}__title`,overlayScrim:`${r}__overlay-scrim`},R=k(S),g=class extends B{constructor(){super(...arguments),this.basemapUtils=y(M),this.messages=T(),this.viewModel=R(this),this.activeBasemap=this.viewModel.activeBasemap,this.autoDestroyDisabled=!1,this.icon="layer-basemap",this.nextBasemap=this.viewModel.nextBasemap,this.position="top-left",this.showTitle=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=_()("nextBasemap","state"),this.arcgisReady=w()}static{this.properties={activeBasemap:0,autoDestroyDisabled:5,icon:3,label:1,messageOverrides:0,nextBasemap:0,position:3,referenceElement:1,showTitle:5,state:3}}static{this.shadowRootOptions=f}async destroy(){await this.manager.destroy()}async toggle(){return await this.viewModel.toggle()}_getThumbnailStyles(t){let n=this.basemapUtils.getBasemapThumbnailUrl(t);return n?{backgroundImage:`url(${n})`}:{backgroundImage:""}}render(){let t=this.viewModel,n=t.state==="disabled"?null:t.activeBasemap,i=t.state==="disabled"?null:t.nextBasemap,I=t.state==="loading",h=t.state==="incompatible-next-basemap",c=i?.title??"",$=i&&i.loadStatus!=="loaded",v,b=this.showTitle&&c,u=h,C=b||u,D=this._getThumbnailStyles(n),L=this._getThumbnailStyles(i);return C&&(v=l`<div class=${a(e.overlay)}>${b?l`<span class=${a(e.title)} title=${c??o}>${c}</span>`:null}${u?l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference??o}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>`:null}</div>`),l`<div class=${a(m(e.base,p.widget))}><calcite-button appearance=transparent data-basemap-id=${(i?i.id:"")??o} .disabled=${h} kind=neutral .label=${(this.label??void 0)||""} @click=${()=>void this.toggle()} title=${((this.label??void 0)||"")??o}><div class=${a(m(e.container,e.secondaryBasemapImage))}><div class=${a(e.image)} style=${d(D)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image,$?e.imageLoading:null))} style=${d(L)}>${$||I?l`<calcite-scrim><span aria-hidden=true class=${a(p.loaderAnimation)} role=presentation></span></calcite-scrim>`:null}</div>${v}</div></calcite-button></div>`}};x("arcgis-basemap-toggle",g);export{g as ArcgisBasemapToggle};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.3
|
5
|
-
*/
|
6
|
-
import{a as n}from"./E4A6DD7W.js";import{d as a}from"./TL2O77FA.js";import{$ as r}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as i,B as s,D as l,I as o,q as t}from"./6V7GUT2B.js";var m=n(r),e=class extends l{constructor(){super(...arguments),this.widget=m(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.visibleElementsCloseButton=!1,this.visibleElementsCollapseButton=!1,this.visibleElementsErrors=!1,this.visibleElementsFilter=!1,this.visibleElementsFlow=!0,this.visibleElementsHeading=!1,this.visibleElementsStatusIndicators=!0,this.visibleElementsTemporaryTableIndicators=!1,this.arcgisPropertyChange=t()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=a(()=>this.widget,"triggerAction")}static{this.properties={autoDestroyDisabled:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterText:1,icon:1,label:1,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,visibleElementsCloseButton:5,visibleElementsCollapseButton:5,visibleElementsErrors:5,visibleElementsFilter:5,visibleElementsFlow:5,visibleElementsHeading:5,visibleElementsStatusIndicators:5,visibleElementsTemporaryTableIndicators:5}}static{this.shadowRootOptions=s}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",e);export{e as ArcgisTableList};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.3
|
5
|
-
*/
|
6
|
-
import{a as h}from"./E4A6DD7W.js";import{d as l}from"./TL2O77FA.js";import{q as r}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as i,B as s,D as o,I as a,q as e}from"./6V7GUT2B.js";var d=h(r),t=class extends o{constructor(){super(...arguments),this.widget=d(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.catalogLayer=this.widget.catalogLayer,this.collapsed=this.widget.collapsed,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterText=this.widget.filterText,this.headingLevel=this.widget.headingLevel,this.hideFlow=this.widget.visibleElements.flow,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showHeading=this.widget.visibleElements.heading,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.arcgisPropertyChange=e()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=l(()=>this.widget,"triggerAction")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterText:1,headingLevel:9,hideFlow:5,hideStatusIndicators:5,icon:1,label:1,listItemCreatedFunction:0,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};a("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.3
|
5
|
-
*/
|
6
|
-
import{a as l}from"./E4A6DD7W.js";import"./TL2O77FA.js";import{R as n,c as d}from"./2QCUAEYR.js";import"./UF3GQO25.js";import{A as a,B as s,D as r,I as o,q as t}from"./6V7GUT2B.js";var m=l(n),e=class extends r{constructor(){super(...arguments),this.widget=m(this),this._hasOrientedImageryLayerToAdd=!1,this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.currentCoverageVisible=this.widget.currentCoverageVisible,this.disabled=this.widget.disabled,this.galleryOpened=this.widget.galleryOpened,this.icon=this.widget.icon,this.imageEnhancementToolActive=this.widget.imageEnhancementToolActive,this.imageGalleryEnabled=this.widget.imageGalleryEnabled,this.isAdditionalCoverageVisible=this.widget.isAdditionalCoverageVisible,this.isAdditionalPointSourcesVisible=this.widget.isAdditionalPointSourcesVisible,this.label=this.widget.label,this.layer=this.widget.layer,this.mapImageConversionToolState=this.widget.mapImageConversionToolState,this.navigationToolActive=this.widget.navigationToolActive,this.position="bottom-left",this.referencePoint=this.widget.referencePoint,this.arcgisPropertyChange=t()("imageGalleryEnabled","layer"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,currentCoverageVisible:5,disabled:5,galleryOpened:5,icon:1,imageEnhancementToolActive:5,imageGalleryEnabled:4,isAdditionalCoverageVisible:5,isAdditionalPointSourcesVisible:5,label:1,layer:0,mapImageConversionToolState:5,navigationToolActive:5,orientedImageryLayerItemId:1,position:1,referenceElement:1,referencePoint:0}}static{this.shadowRootOptions=s}async destroy(){await this.manager.destroy()}willUpdate(h){if(h.has("orientedImageryLayerItemId")){let i=this.orientedImageryLayerItemId;i&&this.widget&&d({portalItem:{id:i}}).then(g=>{this.layer=g,this.widget.view?this.widget.view.map.add(this.layer):this._hasOrientedImageryLayerToAdd=!0}).catch(console.error)}}loaded(){this._hasOrientedImageryLayerToAdd&&(this.widget.view?(this.widget.view?.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1):this.el.addEventListener("arcgisReady",()=>{this.widget.view.map.add(this.layer),this._hasOrientedImageryLayerToAdd=!1},{once:!0}))}};o("arcgis-oriented-imagery-viewer",e);export{e as ArcgisOrientedImageryViewer};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.3
|
5
|
-
*/
|
6
|
-
import{a,c as g,d as t}from"./TL2O77FA.js";import{e as c,g as m,ja as d}from"./2QCUAEYR.js";import{f as l,g as r}from"./UF3GQO25.js";import{A as s,B as w,D as v,I as p,o,r as n}from"./6V7GUT2B.js";var _=n`.arcgis-map{padding:0;margin:0;height:100%;width:100%}`,f=a(m,{}),E=a(c,{}),h=class extends v{constructor(){super(...arguments),this._map=f(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=o(d),this.view=E(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.constraints=this.view.constraints,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.highlightOptions=this.view.highlightOptions,this.highlights=this.view.highlights,this.ipsInfo=this._map.ipsInfo,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewChange=s(),this.arcgisViewClick=t(()=>this.view,"viewClick"),this.arcgisViewDoubleClick=t(()=>this.view,"viewDoubleClick"),this.arcgisViewDrag=t(()=>this.view,"viewDrag"),this.arcgisViewHold=t(()=>this.view,"viewHold"),this.arcgisViewImmediateClick=t(()=>this.view,"viewImmediateClick"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"viewImmediateDoubleClick"),this.arcgisViewKeyDown=t(()=>this.view,"viewKeyDown"),this.arcgisViewKeyUp=t(()=>this.view,"viewKeyUp"),this.arcgisViewLayerviewCreate=t(()=>this.view,"viewLayerviewCreate"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"viewLayerviewCreateError"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"viewLayerviewDestroy"),this.arcgisViewMouseWheel=t(()=>this.view,"viewMouseWheel"),this.arcgisViewPointerDown=t(()=>this.view,"viewPointerDown"),this.arcgisViewPointerEnter=t(()=>this.view,"viewPointerEnter"),this.arcgisViewPointerLeave=t(()=>this.view,"viewPointerLeave"),this.arcgisViewPointerMove=t(()=>this.view,"viewPointerMove"),this.arcgisViewPointerUp=t(()=>this.view,"viewPointerUp"),this.arcgisViewReadyChange=s()}static{this.properties={view:32,allLayerViews:0,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,center:1,constraints:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:1,highlightOptions:0,highlights:0,interacting:32,ipsInfo:0,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:0,resizeAlign:1,resolution:8,rotation:9,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,timeZone:1,updating:7,viewpoint:0,zoom:9}}static{this.shadowRootOptions=w}static{this.styles=_}get center(){return this.view.center??this._center}set center(i){let e=r(i,this.ready?this.view:void 0);e&&(this.ready&&(this.view.center=e),this._center=e)}get extent(){return this.view.extent??this._extent}set extent(i){this.view.ready||(this._extent=i),i&&!this.extent?.equals(i)&&(this.view.extent=i)}get gamepad(){return this.ready?this.view.input.gamepad:void 0}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready&&g.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get scale(){return this.view.scale??this._scale}set scale(i){this.ready&&(this.view.scale=i),this._scale=i}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(i){l(this.viewpoint,i)&&(this.ready&&(this.view.viewpoint=i),this._viewpoint=i)}get zoom(){return this.view.zoom??this._zoom}set zoom(i){this.ready&&(this.view.zoom=i),this._zoom=i}async addLayer(i,e){this.map?.add(i,e)}async addLayers(i,e){this.map?.addMany(i,e)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,e){return await this.view?.goTo(i,e)}async hitTest(i,e){return await this.view?.hitTest(i,e)}async openPopup(i){await this.view?.openPopup(i)}async takeScreenshot(i){return await this.view?.takeScreenshot(i)}toMap(i){return this.view.toMap(i)}toScreen(i,e){return this.view.toScreen(i,e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenLayerView(i){return await this.view?.whenLayerView(i)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-map"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:i}=this.reactiveUtils;this.manager.onLifecycle(()=>[i(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),i(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(i){this.map&&(this._map=this.map),this.itemId?i.portalItem={id:this.itemId}:this.basemap||(i.basemap="topo-vector");let{basemap:e,...u}=i;e||(i=u);let{ground:y,...V}=i;return y||(i=V),i}_editViewProperties(i){this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let e=r(this.center,void 0);return e&&(i.center=e),this.viewpoint&&(i.viewpoint=this.viewpoint),this.scale!==void 0&&(i.scale=this.scale),this.extent&&(i.extent=this.extent),this.zoom!==void 0&&(i.zoom=this.zoom),i}};p("arcgis-map",h);export{h as ArcgisMap};
|
@@ -1,6 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
3
|
-
* See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
4
|
-
* v4.32.0-next.3
|
5
|
-
*/
|
6
|
-
import{b as C,d as $,e as L,f as V,g as R,i as m,j as b,k as h,l as P,m as I,n as W}from"./6V7GUT2B.js";var y=typeof window<"u"&&"$arcgis"in window&&typeof window.$arcgis=="object"&&"import"in window.$arcgis&&!("forceESM"in window.$arcgis);function g(t){return t.default!==void 0}async function F(){if(y)return await window.$arcgis.import("esri/core/Accessor");let t=await import("@arcgis/core/core/Accessor.js");return g(t)?t.default:t}async function T(){if(y)return await window.$arcgis.import("esri/core/accessorSupport/decorators");let t=await import("@arcgis/core/core/accessorSupport/decorators.js");return g(t)?t.default:t}async function G(){if(y)return await window.$arcgis.import("esri/core/reactiveUtils");let t=await import("@arcgis/core/core/reactiveUtils.js");return g(t)?t.default:t}var S;async function A(){return S??(S=G()),await S}var v=Promise.all([F(),T()]),D=class extends V{async hostLoad(){let[t,{subclass:e,property:n}]=await v;class i extends t{}function u(w,d){return a[d],w}function r(w,d,l){return a!==void 0&&(a[l]=w),w}let p=this.component,s=p.manager.internals,o=[];if(Object.keys(s.members).forEach(w=>{s.accessorSetter[w]===m&&(o.push(w),s.accessorGetter[w]=u,s.accessorSetter[w]=r,n()(i.prototype,w))}),this._enabledMembers=o,o.length===0)return;let c=e(p.el.tagName)(i),a=new c;this._instance=a}controllerRemoved(){super.controllerRemoved();let t=this.component.manager.internals;this._instance?.destroy(),this._enabledMembers?.forEach(e=>{t.accessorGetter[e]=m,t.accessorSetter[e]=m})}},_=(t,e)=>(n,i)=>k(n,t,i),E=class extends R{constructor(t,e,n){super(t),this._loadAccessor=e,this._options=n,this._watchedProperties=new Map,this._isBinding={value:!0},this.setProvisionalExports(M.makeGetterProxy(t,this._watchedProperties,this._isBinding,this.constructor.allowedPropNameMismatches));let i=t.manager.internals.reactiveUtilsIntegrations;i.add(this);let u=Array.from(i).find(r=>r instanceof D);u&&i.delete(u),i.add(u??new D(this.component)),b(t,r=>{r&&(this._instancePropName=r)},this.exports)}hostConnected(){this._isBinding.value=!1}async hostLoad(){this.reactiveUtils=await A();let t=this.component,e=this._gatherParameters(),n=this._options?.editConstructorProperties?.call(t,e)??e,i=n instanceof Promise?await n:n,u=t,r=typeof this._instancePropName=="string"?u[this._instancePropName]:void 0;r!=null&&r!==this.exports?(this._instance=r,r.set(i)):this._instance=await this._createInstance(i),!t.manager.destroyed&&(M.watchComponentUpdates(this,this._instance,this._watchedProperties),M.watchAccessorUpdates(this,this._instance,this._watchedProperties),this.exports=this._instance)}_gatherParameters(){return Object.fromEntries(Array.from(this._watchedProperties,([n,i])=>[i,this.component[n]]).filter(([,n])=>n!==void 0))}async _createInstance(t){return this._isAccessorConstructor(this._loadAccessor)?new this._loadAccessor(t):await this._loadAccessor(t)}_isAccessorConstructor(t){return"prototype"in t&&"declaredClass"in t.prototype}hostDestroy(){this._instance&&this._instance.destroy()}async reCreate(){this.hostDestroy(),await this.hostLoad()}},k=W(E),M={makeGetterProxy:(t,e,n,i)=>new Proxy({},{has:(u,r)=>typeof r=="string"||r in u,get:(u,r)=>{let p=Reflect.get(u,r);if(typeof r=="symbol"||r in Promise.prototype)return p;let s=r in u,o=n?.value??!0;return s||!o?p:h(t,c=>{c!==void 0&&e.set(c.key,r)},p)}}),watchComponentUpdates(t,e,n){function i(s,o){let c=n.get(o),a=e[c];return typeof a=="boolean"&&c!==o&&o.toLowerCase().includes("disable")?!a:a}let u=(s,o,c)=>{let a=n.get(c),w=e[a],d=typeof w=="boolean"&&a!==c&&c.toLowerCase().includes("disable");if((d?!w:r.manager.isLit?w??void 0:w)===s)return s;e[a]=d?!s:s;let f=e[a];return d?!f:f},r=t.component,p=r.manager.internals;n.forEach((s,o)=>{p.accessorGetter[o]=i,p.accessorSetter[o]=u})},watchAccessorUpdates(t,e,n){let{component:i}=t,u=i,r=e,p=B(e);I(()=>n.forEach((s,o)=>{if(p.has(s))return;let c=u[o],a=r[s];i.manager.isLit&&(a??(a=void 0));let d=typeof c=="boolean"&&s!==o&&o.toLowerCase().includes("disable")?!c:c;d!=null&&a!==d&&(r[s]=d)})),t.onLifecycle(()=>{if(!e.destroyed)return Array.from(n,([s,o])=>t.reactiveUtils.watch(()=>r[o],()=>{let c=r[o],w=typeof c=="boolean"&&o!==s&&s.toLowerCase().includes("disable")?!c:c;P(()=>{u[s]=w})},{initial:!0}))})},reEmitAccessorEvents(t,e,n,i){if(!("on"in e&&typeof e.on=="function"))return;let r=Object.entries(t.component).map(([o,c])=>{let a=c;if(!o.startsWith(i)||o===i||typeof a!="object"||a===null||!("emit"in a)||typeof a.emit!="function")return;let w=a.emit,d=o.slice(i.length);return[C(d).toLowerCase(),w]}).filter($);if(r.length===0)return;let p=e,s=()=>p;t.onLifecycle(()=>{if(!e.destroyed)return r.map(([o,c])=>n.on(s,o,c))})},async reCreate(t,e){let n=e.manager.useRefSync(t);n!==void 0&&await n.reCreate()}};function B(t){let n=Object.entries(t.__accessor__?.metadata??{});return new Set(n.filter(([i,u])=>u?.readOnly===!0).map(([i])=>i))}function q(t,e){let n=L(),i=A(),u=n.manager;u.onLoaded(()=>{i.then(p=>u.onLifecycle(()=>p.on(t,e,r.emit)))});let r=n.constructor.$createEvent(e,void 0,n);return r}export{_ as a,E as b,M as c,q as d};
|