@arcgis/map-components 4.32.0-next.84 → 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/4ZIFQORV.js +4 -0
- package/dist/arcgis-map-components/6LUZOY5O.js +4 -0
- package/dist/arcgis-map-components/7BT4GAVM.js +4 -0
- package/dist/arcgis-map-components/{QDTORANP.js → 7JPD33PS.js} +1 -1
- package/dist/arcgis-map-components/7WR7N6T3.js +4 -0
- package/dist/arcgis-map-components/{LABTBYBR.js → A6QXV7MU.js} +2 -2
- package/dist/arcgis-map-components/AFIGXVQ3.js +4 -0
- package/dist/arcgis-map-components/{4HWKFVOD.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/{ALE6KF3F.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/{D5YSPPQY.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/{X3DKJFAI.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/{CTCO63FH.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/{ADHZXMHO.js → VOAP25R5.js} +2 -2
- package/dist/arcgis-map-components/{F2U6NY4G.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/{B2AHBB47.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 +43 -43
- 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 +7 -6
- 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 +38 -37
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +23 -22
- 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 +14 -13
- 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 +16 -15
- 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 +8 -7
- 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 +10 -8
- package/dist/components/arcgis-directions/customElement.js +24 -24
- 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 +17 -16
- package/dist/components/arcgis-editor/customElement.js +9 -9
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +16 -21
- package/dist/components/arcgis-elevation-profile/customElement.js +9 -9
- package/dist/components/arcgis-expand/customElement.d.ts +9 -8
- package/dist/components/arcgis-expand/customElement.js +9 -9
- package/dist/components/arcgis-feature/customElement.d.ts +10 -17
- package/dist/components/arcgis-feature/customElement.js +8 -8
- package/dist/components/arcgis-feature-form/customElement.d.ts +8 -7
- package/dist/components/arcgis-feature-form/customElement.js +9 -9
- package/dist/components/arcgis-feature-table/customElement.d.ts +24 -23
- package/dist/components/arcgis-feature-table/customElement.js +17 -16
- package/dist/components/arcgis-feature-templates/customElement.d.ts +8 -7
- package/dist/components/arcgis-feature-templates/customElement.js +10 -10
- package/dist/components/arcgis-features/customElement.d.ts +21 -20
- package/dist/components/arcgis-features/customElement.js +6 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +9 -8
- package/dist/components/arcgis-floor-filter/customElement.js +10 -10
- package/dist/components/arcgis-fullscreen/customElement.d.ts +5 -4
- package/dist/components/arcgis-fullscreen/customElement.js +11 -11
- package/dist/components/arcgis-histogram/customElement.d.ts +14 -13
- package/dist/components/arcgis-histogram/customElement.js +9 -9
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +15 -14
- package/dist/components/arcgis-histogram-range-slider/customElement.js +9 -9
- package/dist/components/arcgis-home/customElement.d.ts +7 -6
- package/dist/components/arcgis-home/customElement.js +12 -12
- package/dist/components/arcgis-layer-list/customElement.d.ts +21 -20
- 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 +20 -18
- package/dist/components/arcgis-link-chart/customElement.js +27 -27
- package/dist/components/arcgis-locate/customElement.d.ts +7 -6
- package/dist/components/arcgis-locate/customElement.js +15 -15
- package/dist/components/arcgis-map/customElement.d.ts +19 -17
- package/dist/components/arcgis-map/customElement.js +27 -27
- package/dist/components/arcgis-measurement/customElement.d.ts +7 -6
- package/dist/components/arcgis-measurement/customElement.js +9 -9
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +8 -6
- package/dist/components/arcgis-navigation-toggle/customElement.js +11 -11
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +8 -7
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +33 -28
- package/dist/components/arcgis-placement/customElement.js +2 -2
- package/dist/components/arcgis-print/customElement.d.ts +7 -6
- 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 +70 -63
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-range-slider/customElement.js +12 -12
- package/dist/components/arcgis-scene/customElement.d.ts +18 -16
- package/dist/components/arcgis-scene/customElement.js +25 -25
- package/dist/components/arcgis-search/customElement.d.ts +15 -14
- package/dist/components/arcgis-search/customElement.js +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +11 -10
- package/dist/components/arcgis-shadow-cast/customElement.js +12 -12
- package/dist/components/arcgis-sketch/customElement.d.ts +30 -28
- package/dist/components/arcgis-sketch/customElement.js +11 -12
- package/dist/components/arcgis-slice/customElement.d.ts +6 -5
- package/dist/components/arcgis-slice/customElement.js +9 -9
- package/dist/components/arcgis-slider/customElement.d.ts +15 -14
- package/dist/components/arcgis-slider/customElement.js +9 -9
- package/dist/components/arcgis-swipe/customElement.d.ts +6 -5
- package/dist/components/arcgis-swipe/customElement.js +17 -17
- package/dist/components/arcgis-table-list/customElement.d.ts +25 -22
- package/dist/components/arcgis-table-list/customElement.js +6 -6
- package/dist/components/arcgis-time-slider/customElement.d.ts +10 -9
- package/dist/components/arcgis-time-slider/customElement.js +9 -9
- package/dist/components/arcgis-track/customElement.d.ts +8 -7
- package/dist/components/arcgis-track/customElement.js +15 -15
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +85 -14
- package/dist/components/arcgis-utility-network-associations/customElement.js +33 -210
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +8 -8
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +11 -11
- package/dist/components/arcgis-value-picker/customElement.d.ts +10 -9
- package/dist/components/arcgis-value-picker/customElement.js +9 -9
- package/dist/components/arcgis-version-management/customElement.d.ts +3 -3
- package/dist/components/arcgis-version-management/customElement.js +99 -100
- 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.d.ts +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 +6 -5
- 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 +2 -2
- package/dist/controllers/useWidget.d.ts +2 -2
- package/dist/docs/api.json +1105 -462
- package/dist/docs/docs.json +823 -345
- package/dist/docs/vscode.html-custom-data.json +229 -137
- package/dist/docs/web-types.json +582 -374
- package/dist/index.js +1 -1
- package/dist/loader.js +3 -3
- package/dist/testing/commonSpatialReferences.d.ts +8 -0
- package/dist/testing/mockServices.d.ts +9 -0
- package/dist/testing/setupFile.d.ts +1 -0
- package/dist/testing/testUtils.d.ts +49 -0
- package/dist/testing/tileInfoUtils.d.ts +10 -0
- package/dist/types/lumina.d.ts +6 -6
- package/dist/types/preact.d.ts +6 -6
- package/dist/types/react.d.ts +6 -6
- package/dist/types/stencil.d.ts +6 -6
- package/dist/utils/component-utils.d.ts +2 -2
- package/package.json +4 -5
- package/dist/arcgis-map-components/2LH365WX.js +0 -4
- package/dist/arcgis-map-components/6JAD4WKP.js +0 -4
- package/dist/arcgis-map-components/7IYUKHGU.js +0 -4
- package/dist/arcgis-map-components/7PRXTQ4Y.js +0 -4
- package/dist/arcgis-map-components/ASLMMNFG.js +0 -4
- package/dist/arcgis-map-components/BCSTA4MD.js +0 -4
- package/dist/arcgis-map-components/BMZIKLJT.js +0 -4
- package/dist/arcgis-map-components/BVS52H6M.js +0 -4
- package/dist/arcgis-map-components/C542LZ3W.js +0 -4
- package/dist/arcgis-map-components/CAQQA5ME.js +0 -4
- package/dist/arcgis-map-components/CCF5WJQL.js +0 -4
- package/dist/arcgis-map-components/CHN4JGNG.js +0 -4
- package/dist/arcgis-map-components/CLW7FHWH.js +0 -4
- package/dist/arcgis-map-components/CSEA27MX.js +0 -4
- package/dist/arcgis-map-components/FTOHM6K7.js +0 -4
- package/dist/arcgis-map-components/G6CP2VYU.js +0 -4
- package/dist/arcgis-map-components/GHPCV4MN.js +0 -4
- package/dist/arcgis-map-components/GP5KXKC6.js +0 -4
- package/dist/arcgis-map-components/GUBVA4HI.js +0 -4
- package/dist/arcgis-map-components/H3QUUUNO.js +0 -4
- package/dist/arcgis-map-components/HNBQDWNV.js +0 -4
- package/dist/arcgis-map-components/IF6ICBVD.js +0 -4
- package/dist/arcgis-map-components/JDYFIYT3.js +0 -4
- package/dist/arcgis-map-components/JG6SSII2.js +0 -4
- package/dist/arcgis-map-components/JPFJWSQT.js +0 -4
- package/dist/arcgis-map-components/JY2BL6QD.js +0 -4
- package/dist/arcgis-map-components/LW4HCA3P.js +0 -4
- package/dist/arcgis-map-components/MCAPSEE3.js +0 -4
- package/dist/arcgis-map-components/MJBNTJRW.js +0 -4
- package/dist/arcgis-map-components/NAN3TPDO.js +0 -4
- package/dist/arcgis-map-components/NUF2ZXJB.js +0 -4
- package/dist/arcgis-map-components/OF62ZZDT.js +0 -4
- package/dist/arcgis-map-components/OODDLGXW.js +0 -4
- package/dist/arcgis-map-components/OUTOCGVP.js +0 -4
- package/dist/arcgis-map-components/PBYUEHJ2.js +0 -4
- package/dist/arcgis-map-components/QWBNGCQZ.js +0 -4
- package/dist/arcgis-map-components/QXH6QBCY.js +0 -4
- package/dist/arcgis-map-components/RLXPUR6U.js +0 -4
- package/dist/arcgis-map-components/S2QUE2PT.js +0 -4
- package/dist/arcgis-map-components/S3HVEU43.js +0 -4
- package/dist/arcgis-map-components/SBFEI7G7.js +0 -4
- package/dist/arcgis-map-components/SDIRYXNN.js +0 -4
- package/dist/arcgis-map-components/SDTEUQJF.js +0 -4
- package/dist/arcgis-map-components/SJ23WYPX.js +0 -4
- package/dist/arcgis-map-components/SM27BTYQ.js +0 -4
- package/dist/arcgis-map-components/SV37GYTZ.js +0 -4
- package/dist/arcgis-map-components/SZI3EYQQ.js +0 -4
- package/dist/arcgis-map-components/TRRQPVCK.js +0 -4
- package/dist/arcgis-map-components/UJJUHEQP.js +0 -4
- package/dist/arcgis-map-components/USOW5GMA.js +0 -4
- package/dist/arcgis-map-components/VCU3GSEE.js +0 -4
- package/dist/arcgis-map-components/VHDI7NKV.js +0 -4
- package/dist/arcgis-map-components/VIEKXUEC.js +0 -4
- package/dist/arcgis-map-components/VQUVK2Z4.js +0 -4
- package/dist/arcgis-map-components/VY2AN4QN.js +0 -4
- package/dist/arcgis-map-components/WCITYN6U.js +0 -4
- package/dist/arcgis-map-components/WOWZWSL5.js +0 -4
- package/dist/arcgis-map-components/WZIB63XY.js +0 -4
- package/dist/arcgis-map-components/XJ5ZDZD5.js +0 -4
- package/dist/arcgis-map-components/XKFVFNRT.js +0 -4
- package/dist/arcgis-map-components/XKY2Q5V6.js +0 -4
- package/dist/arcgis-map-components/ZANDAN6Q.js +0 -4
- package/dist/arcgis-map-components/ZD343J42.js +0 -4
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { s, g as t } from "./chunks/runtime.js";
|
|
2
2
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
3
3
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
4
|
-
v4.32.0-next.
|
|
4
|
+
v4.32.0-next.87 */
|
|
5
5
|
const a = s, A = t;
|
|
6
6
|
export {
|
|
7
7
|
A as getArcgisAssetPath,
|
package/dist/loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "./chunks/runtime.js";
|
|
|
2
2
|
import { makeDefineCustomElements as t } from "@arcgis/lumina";
|
|
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.87 */
|
|
6
6
|
const a = t(e, {
|
|
7
7
|
"arcgis-area-measurement-2d": [() => import("./components/arcgis-area-measurement-2d/customElement.js"), "autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;destroy"],
|
|
8
8
|
"arcgis-area-measurement-3d": [() => import("./components/arcgis-area-measurement-3d/customElement.js"), "analysis:,autoDestroyDisabled,icon,label,position,referenceElement,state,unit,unitOptions:;clear,destroy,start"],
|
|
@@ -40,7 +40,7 @@ const a = t(e, {
|
|
|
40
40
|
"arcgis-locate": [() => import("./components/arcgis-locate/customElement.js"), "autoDestroyDisabled,geolocationOptions,goToLocationDisabled,goToOverride:,graphic:,icon,label,messageOverrides:,popupDisabled,position,referenceElement,scale,state;cancelLocate,destroy,locate"],
|
|
41
41
|
"arcgis-map": [() => import("./components/arcgis-map/customElement.js"), "allLayerViews:,autoDestroyDisabled,background:,basemap,basemapView:,center,constraints:,displayFilterDisabled,extent:,fatalError:,floors:,gamepad:,graphics:,ground,highlightOptions:,highlights:,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"],
|
|
42
42
|
"arcgis-measurement": [() => import("./components/arcgis-measurement/customElement.js"), "activeTool,activeWidget:,areaUnit,autoDestroyDisabled,icon,label,linearUnit,position,referenceElement,state;clear,destroy,startMeasurement"],
|
|
43
|
-
"arcgis-navigation-toggle": [() => import("./components/arcgis-navigation-toggle/customElement.js"), "autoDestroyDisabled,icon,label,layout,position,referenceElement,state;destroy,toggle"],
|
|
43
|
+
"arcgis-navigation-toggle": [() => import("./components/arcgis-navigation-toggle/customElement.js"), "autoDestroyDisabled,icon,label,layout,navigationMode,position,referenceElement,state;destroy,toggle"],
|
|
44
44
|
"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"],
|
|
45
45
|
"arcgis-placement": [() => import("./components/arcgis-placement/customElement.js"), "position,referenceElement"],
|
|
46
46
|
"arcgis-print": [() => import("./components/arcgis-print/customElement.js"), "allowedFormats,allowedLayouts,autoDestroyDisabled,exportedLinks:,extraParameters,headingLevel,icon,includeDefaultTemplatesDisabled,label,portal:,position,printServiceUrl,referenceElement,showPrintAreaEnabled,state,templateCustomTextElements:,templateOptions:;destroy"],
|
|
@@ -56,7 +56,7 @@ const a = t(e, {
|
|
|
56
56
|
"arcgis-table-list": [() => import("./components/arcgis-table-list/customElement.js"), "autoDestroyDisabled,collapsed,dragEnabled,filterPlaceholder,filterPredicate:,filterText,hideFlow,hideStatusIndicators,icon,label,listItemCreatedFunction:,minDragEnabledItems,minFilterItems,position,referenceElement,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryTableIndicators,state,tableItems:;destroy"],
|
|
57
57
|
"arcgis-time-slider": [() => import("./components/arcgis-time-slider/customElement.js"), "actions:,autoDestroyDisabled,disabled,effectiveStops:,fullTimeExtent:,icon,label,layout,loop,mode,playRate,position,referenceElement,state,stops:,tickConfigs:,timeExtent:,timeVisible,timeZone;applyTimeSliderSettings,destroy,next,play,previous,stop,updateWebDocument"],
|
|
58
58
|
"arcgis-track": [() => import("./components/arcgis-track/customElement.js"), "autoDestroyDisabled,error,geolocationOptions,goToLocationDisabled,goToOverride:,graphic:,icon,label,messageOverrides:,position,positionFilterFunction:,referenceElement,scale,state:,tracking:;destroy,start,stop"],
|
|
59
|
-
"arcgis-utility-network-associations": [() => import("./components/arcgis-utility-network-associations/customElement.js"), "autoRefreshAssociationsDisabled,connectivityAssociationsLineSymbol:,includeConnectivityAssociationsDisabled,includeStructuralAttachmentAssociationsDisabled,maxAllowableAssociations,maxAllowableAssociationsSliderMax,maxAllowableAssociationsSliderMin,maxAllowableAssociationsSliderStep,position,referenceElement,showArrowsConnectivity,showArrowsStructuralAttachment,showAssociationsEnabled,structuralAttachmentAssociationsLineSymbol:,utilityNetwork:,
|
|
59
|
+
"arcgis-utility-network-associations": [() => import("./components/arcgis-utility-network-associations/customElement.js"), "autoDestroyDisabled,autoRefreshAssociationsDisabled,connectivityAssociationsLineSymbol:,hideConnectivityAssociationsSettingsColorPicker,hideConnectivityAssociationsSettingsStylePicker,hideConnectivityAssociationsSettingsWidthInput,hideStructuralAttachmentAssociationsSettingsColorPicker,hideStructuralAttachmentAssociationsSettingsStylePicker,hideStructuralAttachmentAssociationsSettingsWidthInput,icon,includeConnectivityAssociationsDisabled,includeStructuralAttachmentAssociationsDisabled,label,maxAllowableAssociations,maxAllowableAssociationsSliderMax,maxAllowableAssociationsSliderMin,maxAllowableAssociationsSliderStep,position,referenceElement,showArrowsConnectivity,showArrowsStructuralAttachment,showAssociationsEnabled,showConnectivityAssociationsSettingsArrowsToggle,showConnectivityAssociationsSettingsCapSelect,showMaxAllowableAssociationsSlider,showStructuralAttachmentAssociationsSettingsArrowsToggle,showStructuralAttachmentAssociationsSettingsCapSelect,structuralAttachmentAssociationsLineSymbol:,utilityNetwork:,visibleElementsConnectivityAssociationsSettingsArrowsToggle,visibleElementsConnectivityAssociationsSettingsCapSelect,visibleElementsConnectivityAssociationsSettingsColorPicker,visibleElementsConnectivityAssociationsSettingsStylePicker,visibleElementsConnectivityAssociationsSettingsWidthInput,visibleElementsMaxAllowableAssociationsSlider,visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle,visibleElementsStructuralAttachmentAssociationsSettingsCapSelect,visibleElementsStructuralAttachmentAssociationsSettingsColorPicker,visibleElementsStructuralAttachmentAssociationsSettingsStylePicker,visibleElementsStructuralAttachmentAssociationsSettingsWidthInput;destroy"],
|
|
60
60
|
"arcgis-utility-network-trace": [() => import("./components/arcgis-utility-network-trace/customElement.js"), "defaultGraphicColor:,disabled,enableResultArea,flags:,gdbVersion,inputSettings:,position,referenceElement,resultAreaProperties:,selectedTraces:,selectOnCompleteDisabled,showGraphicsOnCompleteDisabled,showSelectionAttributesDisabled,view:,widget:;checkCanTrace,confirmReset"],
|
|
61
61
|
"arcgis-utility-network-validate-topology": [() => import("./components/arcgis-utility-network-validate-topology/customElement.js"), "extentToValidate,position,referenceElement,utilityNetwork:,view:,widget:"],
|
|
62
62
|
"arcgis-value-picker": [() => import("./components/arcgis-value-picker/customElement.js"), "autoDestroyDisabled,canNext,canPlay,canPrevious,caption,component:,hideNextButton,hidePlayButton,hidePreviousButton,icon,label,layout,loop,playRate,position,referenceElement,values:;destroy,next,pause,play,previous"],
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as SpatialReference } from '@arcgis/core/geometry/SpatialReference';
|
|
2
|
+
export declare const wgs84: SpatialReference;
|
|
3
|
+
export declare const webMercator: SpatialReference;
|
|
4
|
+
export declare const cgcs2000: SpatialReference;
|
|
5
|
+
export declare const moonSR: SpatialReference;
|
|
6
|
+
export declare const marsSR: SpatialReference;
|
|
7
|
+
export declare const swissLv95: SpatialReference;
|
|
8
|
+
export declare const swissLv03: SpatialReference;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Service } from '@webgis/service-mocks';
|
|
2
|
+
export declare function startServices(services?: Service[]): Promise<void>;
|
|
3
|
+
/**
|
|
4
|
+
* Updates the service mocks library with the provided list of services and event handlers. If
|
|
5
|
+
* the services and event handlers are both empty, the whole service mocks library is stopped.
|
|
6
|
+
*
|
|
7
|
+
* @param services list of services.
|
|
8
|
+
*/
|
|
9
|
+
export declare function updateServices(services?: Service[]): Promise<void>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { default as SpatialReference } from '@arcgis/core/geometry/SpatialReference';
|
|
2
|
+
import { default as Layer } from '@arcgis/core/layers/Layer';
|
|
3
|
+
import { JsxNode, LitElement, ToElement } from '@arcgis/lumina';
|
|
4
|
+
import { RenderResult } from '@arcgis/lumina-compiler/testing';
|
|
5
|
+
import { Service } from '@webgis/service-mocks';
|
|
6
|
+
import { TemplateResult } from 'lit-html';
|
|
7
|
+
import { ArcgisMap } from '../components/arcgis-map/customElement.js';
|
|
8
|
+
import { ArcgisPlacement } from '../components/arcgis-placement/customElement.js';
|
|
9
|
+
import { ArcgisScene } from '../components/arcgis-scene/customElement.js';
|
|
10
|
+
interface CommonOptions {
|
|
11
|
+
services?: Service[];
|
|
12
|
+
placement?: ArcgisPlacement["position"];
|
|
13
|
+
}
|
|
14
|
+
interface MapOptions {
|
|
15
|
+
layers?: Layer[];
|
|
16
|
+
}
|
|
17
|
+
interface MapOptions2D extends MapOptions {
|
|
18
|
+
}
|
|
19
|
+
interface MapOptions3D extends MapOptions {
|
|
20
|
+
}
|
|
21
|
+
interface ViewOptions {
|
|
22
|
+
spatialReference?: SpatialReference;
|
|
23
|
+
width?: number;
|
|
24
|
+
height?: number;
|
|
25
|
+
}
|
|
26
|
+
interface ViewOptions2D extends ViewOptions {
|
|
27
|
+
}
|
|
28
|
+
interface ViewOptions3D extends ViewOptions {
|
|
29
|
+
}
|
|
30
|
+
type DefineOptions<MapOptionsType, ViewOptionsType> = CommonOptions & {
|
|
31
|
+
mapOptions?: MapOptionsType;
|
|
32
|
+
viewOptions?: ViewOptionsType;
|
|
33
|
+
};
|
|
34
|
+
type Options2D = DefineOptions<MapOptions2D, ViewOptions2D>;
|
|
35
|
+
type Options3D = DefineOptions<MapOptions3D, ViewOptions3D>;
|
|
36
|
+
export interface ToRenderResult<ViewComponent extends HTMLElement, Component extends HTMLElement> extends RenderResult<Component> {
|
|
37
|
+
viewEl: ToElement<ViewComponent>;
|
|
38
|
+
}
|
|
39
|
+
type JsxFn = () => JsxNode;
|
|
40
|
+
type MountFunctionSignature<OptionsType extends Options2D | Options3D, ViewComponent extends HTMLElement> = {
|
|
41
|
+
<const TagName extends keyof DeclareElements>(tagName: TagName, options?: OptionsType): Promise<ToRenderResult<ViewComponent, DeclareElements[TagName]>>;
|
|
42
|
+
<Class extends typeof LitElement>(template: Class | JsxFn | TemplateResult, options?: OptionsType): Promise<ToRenderResult<ViewComponent, InstanceType<Class>>>;
|
|
43
|
+
<TagName extends keyof DeclareElements = never>(jsx: JsxFn | TemplateResult, options?: OptionsType): Promise<ToRenderResult<ViewComponent, [TagName] extends [never] ? LitElement : DeclareElements[TagName]>>;
|
|
44
|
+
<Component extends LitElement>(template: JsxFn | TemplateResult | (new () => Component), options?: OptionsType): Promise<ToRenderResult<ViewComponent, Component>>;
|
|
45
|
+
};
|
|
46
|
+
export declare const mountWithMap: MountFunctionSignature<Options2D, ArcgisMap>;
|
|
47
|
+
export declare const mountWithScene: MountFunctionSignature<Options3D, ArcgisScene>;
|
|
48
|
+
export declare function expectToBeSome<T>(value: T | null | undefined): asserts value is NonNullable<T>;
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TileInfo as TileInfoJSON } from '@webgis/service-mocks/dist/utilities/types';
|
|
2
|
+
export declare const webMercatorTileInfo: TileInfoJSON;
|
|
3
|
+
export declare const wgs84TileInfo: TileInfoJSON;
|
|
4
|
+
export declare const cgcs2000TileInfo: TileInfoJSON;
|
|
5
|
+
export declare const moonTileInfo: TileInfoJSON;
|
|
6
|
+
export declare const marsTileInfo: TileInfoJSON;
|
|
7
|
+
export declare const planarWebMercatorTileInfo: TileInfoJSON;
|
|
8
|
+
export declare const planarWgs84TileInfo: TileInfoJSON;
|
|
9
|
+
export declare const planarSwissLv03TileInfo: TileInfoJSON;
|
|
10
|
+
export declare const planarSwissLv95TileInfo: TileInfoJSON;
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -217,7 +217,7 @@ interface LuminaArcgisHome extends Partial<Pick<ArcgisHome, 'autoDestroyDisabled
|
|
|
217
217
|
onarcgisReady?: EventHandler<HTMLArcgisHomeElement["arcgisReady"]>;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
interface LuminaArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | '
|
|
220
|
+
interface LuminaArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | 'position' | 'referenceElement' | 'selectedItems' | 'selectionMode' | 'showCloseButton' | 'showCollapseButton' | 'showErrors' | 'showFilter' | 'showHeading' | 'showTemporaryLayerIndicators' | 'visibilityAppearance'>>, h.JSX.HTMLAttributes<HTMLArcgisLayerListElement> {
|
|
221
221
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
222
222
|
onarcgisReady?: EventHandler<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
223
223
|
onarcgisTriggerAction?: EventHandler<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -233,7 +233,7 @@ interface LuminaArcgisLineOfSight extends Partial<Pick<ArcgisLineOfSight, 'autoD
|
|
|
233
233
|
onarcgisReady?: EventHandler<HTMLArcgisLineOfSightElement["arcgisReady"]>;
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
interface LuminaArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, '
|
|
236
|
+
interface LuminaArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'graphics' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisLinkChartSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisLinkChartElement> {
|
|
237
237
|
onarcgisViewChange?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewChange"]>;
|
|
238
238
|
onarcgisViewClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewClick"]>;
|
|
239
239
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewDoubleClick"]>;
|
|
@@ -263,7 +263,7 @@ interface LuminaArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
|
|
|
263
263
|
onarcgisSuccess?: EventHandler<HTMLArcgisLocateElement["arcgisSuccess"]>;
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, '
|
|
266
|
+
interface LuminaArcgisMap extends Partial<Pick<ArcgisMap, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'displayFilterDisabled' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisMapElement> {
|
|
267
267
|
onarcgisViewChange?: EventHandler<HTMLArcgisMapElement["arcgisViewChange"]>;
|
|
268
268
|
onarcgisViewClick?: EventHandler<HTMLArcgisMapElement["arcgisViewClick"]>;
|
|
269
269
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisMapElement["arcgisViewDoubleClick"]>;
|
|
@@ -291,7 +291,7 @@ interface LuminaArcgisMeasurement extends Partial<Pick<ArcgisMeasurement, 'activ
|
|
|
291
291
|
onarcgisReady?: EventHandler<HTMLArcgisMeasurementElement["arcgisReady"]>;
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
-
interface LuminaArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'position' | 'referenceElement'>>, h.JSX.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
294
|
+
interface LuminaArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'navigationMode' | 'position' | 'referenceElement'>>, h.JSX.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
295
295
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisPropertyChange"]>;
|
|
296
296
|
onarcgisReady?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisReady"]>;
|
|
297
297
|
}
|
|
@@ -321,7 +321,7 @@ interface LuminaArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlid
|
|
|
321
321
|
onarcgisReady?: EventHandler<HTMLArcgisScaleRangeSliderElement["arcgisReady"]>;
|
|
322
322
|
}
|
|
323
323
|
|
|
324
|
-
interface LuminaArcgisScene extends Partial<Pick<ArcgisScene, '
|
|
324
|
+
interface LuminaArcgisScene extends Partial<Pick<ArcgisScene, 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'displayFilterDisabled' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, h.JSX.HTMLAttributes<HTMLArcgisSceneElement> {
|
|
325
325
|
onarcgisViewChange?: EventHandler<HTMLArcgisSceneElement["arcgisViewChange"]>;
|
|
326
326
|
onarcgisViewClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewClick"]>;
|
|
327
327
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewDoubleClick"]>;
|
|
@@ -417,7 +417,7 @@ interface LuminaArcgisTrack extends Partial<Pick<ArcgisTrack, 'autoDestroyDisabl
|
|
|
417
417
|
onarcgisReady?: EventHandler<HTMLArcgisTrackElement["arcgisReady"]>;
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
interface LuminaArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, h.JSX.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
420
|
+
interface LuminaArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoDestroyDisabled' | 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'hideConnectivityAssociationsSettingsColorPicker' | 'hideConnectivityAssociationsSettingsStylePicker' | 'hideConnectivityAssociationsSettingsWidthInput' | 'hideStructuralAttachmentAssociationsSettingsColorPicker' | 'hideStructuralAttachmentAssociationsSettingsStylePicker' | 'hideStructuralAttachmentAssociationsSettingsWidthInput' | 'icon' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'label' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'showConnectivityAssociationsSettingsArrowsToggle' | 'showConnectivityAssociationsSettingsCapSelect' | 'showMaxAllowableAssociationsSlider' | 'showStructuralAttachmentAssociationsSettingsArrowsToggle' | 'showStructuralAttachmentAssociationsSettingsCapSelect' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, h.JSX.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
421
421
|
onarcgisReady?: EventHandler<HTMLArcgisUtilityNetworkAssociationsElement["arcgisReady"]>;
|
|
422
422
|
}
|
|
423
423
|
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ interface PreactArcgisHome extends Partial<Pick<ArcgisHome, 'autoDestroyDisabled
|
|
|
218
218
|
onarcgisReady?: EventHandler<HTMLArcgisHomeElement["arcgisReady"]>;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
interface PreactArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | '
|
|
221
|
+
interface PreactArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | 'position' | 'referenceElement' | 'selectedItems' | 'selectionMode' | 'showCloseButton' | 'showCollapseButton' | 'showErrors' | 'showFilter' | 'showHeading' | 'showTemporaryLayerIndicators' | 'visibilityAppearance'>>, PreactJsx.HTMLAttributes<HTMLArcgisLayerListElement> {
|
|
222
222
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
223
223
|
onarcgisReady?: EventHandler<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
224
224
|
onarcgisTriggerAction?: EventHandler<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -234,7 +234,7 @@ interface PreactArcgisLineOfSight extends Partial<Pick<ArcgisLineOfSight, 'autoD
|
|
|
234
234
|
onarcgisReady?: EventHandler<HTMLArcgisLineOfSightElement["arcgisReady"]>;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
interface PreactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, '
|
|
237
|
+
interface PreactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'graphics' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisLinkChartSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisLinkChartElement> {
|
|
238
238
|
onarcgisViewChange?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewChange"]>;
|
|
239
239
|
onarcgisViewClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewClick"]>;
|
|
240
240
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewDoubleClick"]>;
|
|
@@ -264,7 +264,7 @@ interface PreactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisa
|
|
|
264
264
|
onarcgisSuccess?: EventHandler<HTMLArcgisLocateElement["arcgisSuccess"]>;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface PreactArcgisMap extends Partial<Pick<ArcgisMap, '
|
|
267
|
+
interface PreactArcgisMap extends Partial<Pick<ArcgisMap, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'displayFilterDisabled' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
|
268
268
|
onarcgisViewChange?: EventHandler<HTMLArcgisMapElement["arcgisViewChange"]>;
|
|
269
269
|
onarcgisViewClick?: EventHandler<HTMLArcgisMapElement["arcgisViewClick"]>;
|
|
270
270
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisMapElement["arcgisViewDoubleClick"]>;
|
|
@@ -292,7 +292,7 @@ interface PreactArcgisMeasurement extends Partial<Pick<ArcgisMeasurement, 'activ
|
|
|
292
292
|
onarcgisReady?: EventHandler<HTMLArcgisMeasurementElement["arcgisReady"]>;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
interface PreactArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'position' | 'referenceElement'>>, PreactJsx.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
295
|
+
interface PreactArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'navigationMode' | 'position' | 'referenceElement'>>, PreactJsx.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
296
296
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisPropertyChange"]>;
|
|
297
297
|
onarcgisReady?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisReady"]>;
|
|
298
298
|
}
|
|
@@ -322,7 +322,7 @@ interface PreactArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlid
|
|
|
322
322
|
onarcgisReady?: EventHandler<HTMLArcgisScaleRangeSliderElement["arcgisReady"]>;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
interface PreactArcgisScene extends Partial<Pick<ArcgisScene, '
|
|
325
|
+
interface PreactArcgisScene extends Partial<Pick<ArcgisScene, 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'displayFilterDisabled' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, PreactJsx.HTMLAttributes<HTMLArcgisSceneElement> {
|
|
326
326
|
onarcgisViewChange?: EventHandler<HTMLArcgisSceneElement["arcgisViewChange"]>;
|
|
327
327
|
onarcgisViewClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewClick"]>;
|
|
328
328
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewDoubleClick"]>;
|
|
@@ -418,7 +418,7 @@ interface PreactArcgisTrack extends Partial<Pick<ArcgisTrack, 'autoDestroyDisabl
|
|
|
418
418
|
onarcgisReady?: EventHandler<HTMLArcgisTrackElement["arcgisReady"]>;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
interface PreactArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, PreactJsx.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
421
|
+
interface PreactArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoDestroyDisabled' | 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'hideConnectivityAssociationsSettingsColorPicker' | 'hideConnectivityAssociationsSettingsStylePicker' | 'hideConnectivityAssociationsSettingsWidthInput' | 'hideStructuralAttachmentAssociationsSettingsColorPicker' | 'hideStructuralAttachmentAssociationsSettingsStylePicker' | 'hideStructuralAttachmentAssociationsSettingsWidthInput' | 'icon' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'label' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'showConnectivityAssociationsSettingsArrowsToggle' | 'showConnectivityAssociationsSettingsCapSelect' | 'showMaxAllowableAssociationsSlider' | 'showStructuralAttachmentAssociationsSettingsArrowsToggle' | 'showStructuralAttachmentAssociationsSettingsCapSelect' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, PreactJsx.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
422
422
|
onarcgisReady?: EventHandler<HTMLArcgisUtilityNetworkAssociationsElement["arcgisReady"]>;
|
|
423
423
|
}
|
|
424
424
|
|
package/dist/types/react.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ interface ReactArcgisHome extends Partial<Pick<ArcgisHome, 'autoDestroyDisabled'
|
|
|
218
218
|
onarcgisReady?: EventHandler<HTMLArcgisHomeElement["arcgisReady"]>;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
interface ReactArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | '
|
|
221
|
+
interface ReactArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | 'position' | 'referenceElement' | 'selectedItems' | 'selectionMode' | 'showCloseButton' | 'showCollapseButton' | 'showErrors' | 'showFilter' | 'showHeading' | 'showTemporaryLayerIndicators' | 'visibilityAppearance'>>, HTMLProps<HTMLArcgisLayerListElement> {
|
|
222
222
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
223
223
|
onarcgisReady?: EventHandler<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
224
224
|
onarcgisTriggerAction?: EventHandler<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -234,7 +234,7 @@ interface ReactArcgisLineOfSight extends Partial<Pick<ArcgisLineOfSight, 'autoDe
|
|
|
234
234
|
onarcgisReady?: EventHandler<HTMLArcgisLineOfSightElement["arcgisReady"]>;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
interface ReactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, '
|
|
237
|
+
interface ReactArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'graphics' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisLinkChartSetterTypes, HTMLProps<HTMLArcgisLinkChartElement> {
|
|
238
238
|
onarcgisViewChange?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewChange"]>;
|
|
239
239
|
onarcgisViewClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewClick"]>;
|
|
240
240
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewDoubleClick"]>;
|
|
@@ -264,7 +264,7 @@ interface ReactArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDisab
|
|
|
264
264
|
onarcgisSuccess?: EventHandler<HTMLArcgisLocateElement["arcgisSuccess"]>;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface ReactArcgisMap extends Partial<Pick<ArcgisMap, '
|
|
267
|
+
interface ReactArcgisMap extends Partial<Pick<ArcgisMap, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'displayFilterDisabled' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, HTMLProps<HTMLArcgisMapElement> {
|
|
268
268
|
onarcgisViewChange?: EventHandler<HTMLArcgisMapElement["arcgisViewChange"]>;
|
|
269
269
|
onarcgisViewClick?: EventHandler<HTMLArcgisMapElement["arcgisViewClick"]>;
|
|
270
270
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisMapElement["arcgisViewDoubleClick"]>;
|
|
@@ -292,7 +292,7 @@ interface ReactArcgisMeasurement extends Partial<Pick<ArcgisMeasurement, 'active
|
|
|
292
292
|
onarcgisReady?: EventHandler<HTMLArcgisMeasurementElement["arcgisReady"]>;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
interface ReactArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'position' | 'referenceElement'>>, HTMLProps<HTMLArcgisNavigationToggleElement> {
|
|
295
|
+
interface ReactArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'navigationMode' | 'position' | 'referenceElement'>>, HTMLProps<HTMLArcgisNavigationToggleElement> {
|
|
296
296
|
onarcgisPropertyChange?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisPropertyChange"]>;
|
|
297
297
|
onarcgisReady?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisReady"]>;
|
|
298
298
|
}
|
|
@@ -322,7 +322,7 @@ interface ReactArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSlide
|
|
|
322
322
|
onarcgisReady?: EventHandler<HTMLArcgisScaleRangeSliderElement["arcgisReady"]>;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
interface ReactArcgisScene extends Partial<Pick<ArcgisScene, '
|
|
325
|
+
interface ReactArcgisScene extends Partial<Pick<ArcgisScene, 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'displayFilterDisabled' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, HTMLProps<HTMLArcgisSceneElement> {
|
|
326
326
|
onarcgisViewChange?: EventHandler<HTMLArcgisSceneElement["arcgisViewChange"]>;
|
|
327
327
|
onarcgisViewClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewClick"]>;
|
|
328
328
|
onarcgisViewDoubleClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewDoubleClick"]>;
|
|
@@ -418,7 +418,7 @@ interface ReactArcgisTrack extends Partial<Pick<ArcgisTrack, 'autoDestroyDisable
|
|
|
418
418
|
onarcgisReady?: EventHandler<HTMLArcgisTrackElement["arcgisReady"]>;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
interface ReactArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, HTMLProps<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
421
|
+
interface ReactArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoDestroyDisabled' | 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'hideConnectivityAssociationsSettingsColorPicker' | 'hideConnectivityAssociationsSettingsStylePicker' | 'hideConnectivityAssociationsSettingsWidthInput' | 'hideStructuralAttachmentAssociationsSettingsColorPicker' | 'hideStructuralAttachmentAssociationsSettingsStylePicker' | 'hideStructuralAttachmentAssociationsSettingsWidthInput' | 'icon' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'label' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'showConnectivityAssociationsSettingsArrowsToggle' | 'showConnectivityAssociationsSettingsCapSelect' | 'showMaxAllowableAssociationsSlider' | 'showStructuralAttachmentAssociationsSettingsArrowsToggle' | 'showStructuralAttachmentAssociationsSettingsCapSelect' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, HTMLProps<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
422
422
|
onarcgisReady?: EventHandler<HTMLArcgisUtilityNetworkAssociationsElement["arcgisReady"]>;
|
|
423
423
|
}
|
|
424
424
|
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -218,7 +218,7 @@ interface StencilArcgisHome extends Partial<Pick<ArcgisHome, 'autoDestroyDisable
|
|
|
218
218
|
onArcgisReady?: EventHandler<HTMLArcgisHomeElement["arcgisReady"]>;
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
interface StencilArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | '
|
|
221
|
+
interface StencilArcgisLayerList extends Partial<Pick<ArcgisLayerList, 'autoDestroyDisabled' | 'catalogOptions' | 'collapsed' | 'dragEnabled' | 'filterPlaceholder' | 'filterPredicate' | 'filterText' | 'headingLevel' | 'hideCatalogLayerList' | 'hideFlow' | 'hideStatusIndicators' | 'icon' | 'knowledgeGraphOptions' | 'label' | 'listItemCreatedFunction' | 'minDragEnabledItems' | 'minFilterItems' | 'position' | 'referenceElement' | 'selectedItems' | 'selectionMode' | 'showCloseButton' | 'showCollapseButton' | 'showErrors' | 'showFilter' | 'showHeading' | 'showTemporaryLayerIndicators' | 'visibilityAppearance'>>, StencilJsx.HTMLAttributes<HTMLArcgisLayerListElement> {
|
|
222
222
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisLayerListElement["arcgisPropertyChange"]>;
|
|
223
223
|
onArcgisReady?: EventHandler<HTMLArcgisLayerListElement["arcgisReady"]>;
|
|
224
224
|
onArcgisTriggerAction?: EventHandler<HTMLArcgisLayerListElement["arcgisTriggerAction"]>;
|
|
@@ -234,7 +234,7 @@ interface StencilArcgisLineOfSight extends Partial<Pick<ArcgisLineOfSight, 'auto
|
|
|
234
234
|
onArcgisReady?: EventHandler<HTMLArcgisLineOfSightElement["arcgisReady"]>;
|
|
235
235
|
}
|
|
236
236
|
|
|
237
|
-
interface StencilArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, '
|
|
237
|
+
interface StencilArcgisLinkChart extends Partial<Pick<ArcgisLinkChart, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'extent' | 'fatalError' | 'graphics' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisLinkChartSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisLinkChartElement> {
|
|
238
238
|
onArcgisViewChange?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewChange"]>;
|
|
239
239
|
onArcgisViewClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewClick"]>;
|
|
240
240
|
onArcgisViewDoubleClick?: EventHandler<HTMLArcgisLinkChartElement["arcgisViewDoubleClick"]>;
|
|
@@ -264,7 +264,7 @@ interface StencilArcgisLocate extends Partial<Pick<ArcgisLocate, 'autoDestroyDis
|
|
|
264
264
|
onArcgisSuccess?: EventHandler<HTMLArcgisLocateElement["arcgisSuccess"]>;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
interface StencilArcgisMap extends Partial<Pick<ArcgisMap, '
|
|
267
|
+
interface StencilArcgisMap extends Partial<Pick<ArcgisMap, 'autoDestroyDisabled' | 'background' | 'basemap' | 'basemapView' | 'constraints' | 'displayFilterDisabled' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'ipsInfo' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'resizeAlign' | 'rotation' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'timeZone' | 'viewpoint' | 'zoom'>>, ArcgisMapSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisMapElement> {
|
|
268
268
|
onArcgisViewChange?: EventHandler<HTMLArcgisMapElement["arcgisViewChange"]>;
|
|
269
269
|
onArcgisViewClick?: EventHandler<HTMLArcgisMapElement["arcgisViewClick"]>;
|
|
270
270
|
onArcgisViewDoubleClick?: EventHandler<HTMLArcgisMapElement["arcgisViewDoubleClick"]>;
|
|
@@ -292,7 +292,7 @@ interface StencilArcgisMeasurement extends Partial<Pick<ArcgisMeasurement, 'acti
|
|
|
292
292
|
onArcgisReady?: EventHandler<HTMLArcgisMeasurementElement["arcgisReady"]>;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
interface StencilArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'position' | 'referenceElement'>>, StencilJsx.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
295
|
+
interface StencilArcgisNavigationToggle extends Partial<Pick<ArcgisNavigationToggle, 'autoDestroyDisabled' | 'icon' | 'label' | 'layout' | 'navigationMode' | 'position' | 'referenceElement'>>, StencilJsx.HTMLAttributes<HTMLArcgisNavigationToggleElement> {
|
|
296
296
|
onArcgisPropertyChange?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisPropertyChange"]>;
|
|
297
297
|
onArcgisReady?: EventHandler<HTMLArcgisNavigationToggleElement["arcgisReady"]>;
|
|
298
298
|
}
|
|
@@ -322,7 +322,7 @@ interface StencilArcgisScaleRangeSlider extends Partial<Pick<ArcgisScaleRangeSli
|
|
|
322
322
|
onArcgisReady?: EventHandler<HTMLArcgisScaleRangeSliderElement["arcgisReady"]>;
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
interface StencilArcgisScene extends Partial<Pick<ArcgisScene, '
|
|
325
|
+
interface StencilArcgisScene extends Partial<Pick<ArcgisScene, 'alphaCompositingEnabled' | 'analyses' | 'autoDestroyDisabled' | 'basemap' | 'basemapView' | 'camera' | 'cameraFov' | 'cameraHeading' | 'cameraPosition' | 'cameraTilt' | 'clippingArea' | 'constraints' | 'displayFilterDisabled' | 'environment' | 'extent' | 'fatalError' | 'floors' | 'graphics' | 'ground' | 'highlightOptions' | 'itemId' | 'layerViews' | 'map' | 'navigation' | 'padding' | 'popup' | 'popupDisabled' | 'qualityProfile' | 'scale' | 'spatialReference' | 'theme' | 'timeExtent' | 'viewingMode' | 'viewpoint' | 'zoom'>>, ArcgisSceneSetterTypes, StencilJsx.HTMLAttributes<HTMLArcgisSceneElement> {
|
|
326
326
|
onArcgisViewChange?: EventHandler<HTMLArcgisSceneElement["arcgisViewChange"]>;
|
|
327
327
|
onArcgisViewClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewClick"]>;
|
|
328
328
|
onArcgisViewDoubleClick?: EventHandler<HTMLArcgisSceneElement["arcgisViewDoubleClick"]>;
|
|
@@ -418,7 +418,7 @@ interface StencilArcgisTrack extends Partial<Pick<ArcgisTrack, 'autoDestroyDisab
|
|
|
418
418
|
onArcgisReady?: EventHandler<HTMLArcgisTrackElement["arcgisReady"]>;
|
|
419
419
|
}
|
|
420
420
|
|
|
421
|
-
interface StencilArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
421
|
+
interface StencilArcgisUtilityNetworkAssociations extends Partial<Pick<ArcgisUtilityNetworkAssociations, 'autoDestroyDisabled' | 'autoRefreshAssociationsDisabled' | 'connectivityAssociationsLineSymbol' | 'hideConnectivityAssociationsSettingsColorPicker' | 'hideConnectivityAssociationsSettingsStylePicker' | 'hideConnectivityAssociationsSettingsWidthInput' | 'hideStructuralAttachmentAssociationsSettingsColorPicker' | 'hideStructuralAttachmentAssociationsSettingsStylePicker' | 'hideStructuralAttachmentAssociationsSettingsWidthInput' | 'icon' | 'includeConnectivityAssociationsDisabled' | 'includeStructuralAttachmentAssociationsDisabled' | 'label' | 'maxAllowableAssociations' | 'maxAllowableAssociationsSliderMax' | 'maxAllowableAssociationsSliderMin' | 'maxAllowableAssociationsSliderStep' | 'position' | 'referenceElement' | 'showArrowsConnectivity' | 'showArrowsStructuralAttachment' | 'showAssociationsEnabled' | 'showConnectivityAssociationsSettingsArrowsToggle' | 'showConnectivityAssociationsSettingsCapSelect' | 'showMaxAllowableAssociationsSlider' | 'showStructuralAttachmentAssociationsSettingsArrowsToggle' | 'showStructuralAttachmentAssociationsSettingsCapSelect' | 'structuralAttachmentAssociationsLineSymbol' | 'utilityNetwork' | 'visibleElementsConnectivityAssociationsSettingsArrowsToggle' | 'visibleElementsConnectivityAssociationsSettingsCapSelect' | 'visibleElementsConnectivityAssociationsSettingsColorPicker' | 'visibleElementsConnectivityAssociationsSettingsStylePicker' | 'visibleElementsConnectivityAssociationsSettingsWidthInput' | 'visibleElementsMaxAllowableAssociationsSlider' | 'visibleElementsStructuralAttachmentAssociationsSettingsArrowsToggle' | 'visibleElementsStructuralAttachmentAssociationsSettingsCapSelect' | 'visibleElementsStructuralAttachmentAssociationsSettingsColorPicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsStylePicker' | 'visibleElementsStructuralAttachmentAssociationsSettingsWidthInput'>>, StencilJsx.HTMLAttributes<HTMLArcgisUtilityNetworkAssociationsElement> {
|
|
422
422
|
onArcgisReady?: EventHandler<HTMLArcgisUtilityNetworkAssociationsElement["arcgisReady"]>;
|
|
423
423
|
}
|
|
424
424
|
|
|
@@ -57,8 +57,8 @@ export declare function attachToParent(component: WidgetOrMapComponent): ArcgisP
|
|
|
57
57
|
export declare function defineViewProperty(component: WidgetOrMapComponent & {
|
|
58
58
|
arcgisReady: EventEmitter;
|
|
59
59
|
}): void;
|
|
60
|
-
export declare function isNullOrEmptyString(value:
|
|
61
|
-
export declare function isValidInteger(value:
|
|
60
|
+
export declare function isNullOrEmptyString(value: nullish | string): boolean;
|
|
61
|
+
export declare function isValidInteger(value: nullish | number): boolean;
|
|
62
62
|
export declare function areCamerasEqual(camera: __esri.Camera, camera2: __esri.Camera | Nil): boolean;
|
|
63
63
|
export declare function isNotSameViewpoint(viewpoint?: __esri.Viewpoint, viewpoint2?: __esri.Viewpoint): boolean;
|
|
64
64
|
export declare function parseCenter(newValue: __esri.MapView["center"] | Nil | number[] | string, view?: Pick<__esri.MapView, "center">): __esri.Point | undefined;
|
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.87",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ArcGIS",
|
|
@@ -40,10 +40,9 @@
|
|
|
40
40
|
],
|
|
41
41
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@arcgis/components-controllers": "4.32.0-next.
|
|
44
|
-
"@arcgis/components-utils": "4.32.0-next.
|
|
45
|
-
"@arcgis/
|
|
46
|
-
"@arcgis/lumina": "4.32.0-next.84",
|
|
43
|
+
"@arcgis/components-controllers": "4.32.0-next.87",
|
|
44
|
+
"@arcgis/components-utils": "4.32.0-next.87",
|
|
45
|
+
"@arcgis/lumina": "4.32.0-next.87",
|
|
47
46
|
"tslib": "^2.7.0"
|
|
48
47
|
},
|
|
49
48
|
"peerDependencies": {
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as n}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{m as h}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as a,C as d,H as o,g as i,r as e,s}from"./ALE6KF3F.js";var r=s`arcgis-attachments{display:block}`,l=n(h),t=class extends d{constructor(){super(...arguments),this.widget=l(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.capabilities=this.widget.capabilities,this.displayType=this.widget.displayType,this.graphic=this.widget.graphic,this.hideAddButton=this.widget.visibleElements.addButton,this.hideAddSubmitButton=this.widget.visibleElements.addSubmitButton,this.hideCancelAddButton=this.widget.visibleElements.cancelAddButton,this.hideCancelUpdateButton=this.widget.visibleElements.cancelUpdateButton,this.hideDeleteButton=this.widget.visibleElements.deleteButton,this.hideErrorMessage=this.widget.visibleElements.errorMessage,this.hideProgressBar=this.widget.visibleElements.progressBar,this.hideUpdateButton=this.widget.visibleElements.updateButton,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.submitting=this.widget.submitting,this.arcgisPropertyChange=e()("submitting","state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,capabilities:0,displayType:1,graphic:0,hideAddButton:5,hideAddSubmitButton:5,hideCancelAddButton:5,hideCancelUpdateButton:5,hideDeleteButton:5,hideErrorMessage:5,hideProgressBar:5,hideUpdateButton:5,icon:1,label:1,position:1,referenceElement:1,state:3,submitting:4}}static{this.shadowRootOptions=i}static{this.styles=r}async destroy(){await this.manager.destroy()}};o("arcgis-attachments",t);export{t as ArcgisAttachments};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as d}from"./LABTBYBR.js";import"./XKFVFNRT.js";import{ja as h}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as a,C as o,H as r,g as e,r as s,s as i}from"./ALE6KF3F.js";var l=i`arcgis-weather{display:block}`,n=d(h),t=class extends o{constructor(){super(...arguments),this.widget=n(this),this.viewModel=this.widget.viewModel,this.autoDestroyDisabled=!1,this.headingLevel=this.widget.headingLevel,this.hideHeader=this.widget.visibleElements.header,this.icon=this.widget.icon,this.label=this.widget.label,this.position="bottom-left",this.state=this.viewModel.state,this.arcgisPropertyChange=s()("state"),this.arcgisReady=a()}static{this.properties={autoDestroyDisabled:5,headingLevel:9,hideHeader:5,icon:1,label:1,position:1,referenceElement:1,state:3}}static{this.shadowRootOptions=e}static{this.styles=l}async destroy(){await this.manager.destroy()}};r("arcgis-weather",t);export{t as ArcgisWeather};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as d}from"./LABTBYBR.js";import{d as h}from"./XKFVFNRT.js";import{s as l}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as o,C as a,H as r,g as e,r as i,s}from"./ALE6KF3F.js";var n=s`arcgis-catalog-layer-list{display:block}`,c=d(l),t=class extends a{constructor(){super(...arguments),this.widget=c(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.filterPredicate=this.widget.filterPredicate,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=i()("state"),this.arcgisReady=o(),this.arcgisTriggerAction=h(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,catalogItems:32,catalogLayer:0,collapsed:7,filterPlaceholder:1,filterPredicate:0,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=e}static{this.styles=n}get catalogItems(){return this.widget.catalogItems}async destroy(){await this.manager.destroy()}};r("arcgis-catalog-layer-list",t);export{t as ArcgisCatalogLayerList};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as r,c as y,d as t}from"./XKFVFNRT.js";import{g as d,j as g,la as u}from"./WOWZWSL5.js";import{e as h,f as _,g as n,h as o}from"./PBYUEHJ2.js";import{B as a,C as l,H as v,g as m,p as w,s as p}from"./ALE6KF3F.js";var V=p`.arcgis-scene{padding:0;margin:0;height:100%;width:100%}`,f=r(g,{}),b=r(d,{}),c=class extends l{constructor(){super(...arguments),this._map=f(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=w(u),this.view=b(this,{editConstructorProperties:this._editViewProperties}),this.allLayerViews=this.view.allLayerViews,this.alphaCompositingEnabled=this.view.alphaCompositingEnabled,this.analyses=this.view.analyses,this.autoDestroyDisabled=!1,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.clippingArea=this.view.clippingArea,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.environment=this.view.environment,this.fatalError=this.view.fatalError,this.floors=this.view.floors,this.graphics=this.view.graphics,this.ground=this._map.ground,this.groundView=this.view.groundView,this.highlights=this.view.highlights,this.highlightOptions=this.view.highlightOptions,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.qualityProfile=this.view.qualityProfile,this.ready=this.view.ready,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.updating=this.view.updating,this.viewingMode=this.view.viewingMode,this.arcgisViewChange=a(),this.arcgisViewClick=t(()=>this.view,"click"),this.arcgisViewDoubleClick=t(()=>this.view,"double-click"),this.arcgisViewDrag=t(()=>this.view,"drag"),this.arcgisViewHold=t(()=>this.view,"hold"),this.arcgisViewImmediateClick=t(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=t(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=t(()=>this.view,"key-down"),this.arcgisViewKeyUp=t(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=t(()=>this.view,"layer-view-create"),this.arcgisViewLayerviewCreateError=t(()=>this.view,"layer-view-create-error"),this.arcgisViewLayerviewDestroy=t(()=>this.view,"layer-view-destroy"),this.arcgisViewMouseWheel=t(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=t(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=t(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=t(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=t(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=t(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=a()}static{this.properties={view:32,allLayerViews:0,alphaCompositingEnabled:5,analyses:0,autoDestroyDisabled:5,basemap:1,basemapView:0,camera:0,cameraFov:9,cameraHeading:9,cameraPosition:1,cameraTilt:9,center:1,clippingArea:0,constraints:0,displayFilterDisabled:5,environment:0,extent:0,fatalError:0,floors:0,gamepad:32,graphics:0,ground:0,groundView:0,highlights:0,highlightOptions:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,performanceInfo:32,popup:0,popupDisabled:5,qualityProfile:1,ready:4,resolution:32,scale:9,spatialReference:0,stationary:32,suspended:7,theme:0,timeExtent:0,updating:7,viewingMode:1,viewpoint:0,zoom:9}}static{this.shadowRootOptions=m}static{this.styles=V}get camera(){return this.view.camera??this._camera}set camera(e){this._camera=e,this.ready&&!h(this.camera,e)&&(this.view.camera=e)}get cameraFov(){return this.view.camera?.fov??this._cameraFov}set cameraFov(e){this.ready?e!=null&&this._mutateCamera(i=>{i.fov=e}):this._cameraFov=e}get cameraHeading(){return this.view.camera?.heading??this._cameraHeading}set cameraHeading(e){this.ready?e!=null&&this._mutateCamera(i=>{i.heading=e}):this._cameraHeading=e}get cameraPosition(){return this.view.camera?.position??this._cameraPosition}set cameraPosition(e){if(this.ready){let i=o(this.view.camera?.position,e);i&&this._mutateCamera(s=>{s.position=i})}else this._cameraPosition=e}get cameraTilt(){return this.view.camera?.tilt??this._cameraTilt}set cameraTilt(e){this.ready?e!=null&&this._mutateCamera(i=>{i.tilt=e}):this._cameraTilt=e}get center(){return this.view.center??this._center}set center(e){let i=n(e,this.ready?this.view:void 0);i&&(this.ready&&(this.view.center=i),this._center=i)}get extent(){return this.view.extent??this._extent}set extent(e){this.view.ready||(this._extent=e),e&&!this.extent?.equals(e)&&(this.view.extent=e)}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(e){this._itemId=e,this.ready&&y.reCreate(this._map,this).then(()=>{this.view.map=this._map}).catch(console.error)}get navigating(){return this.view.navigating}get performanceInfo(){return this.view.performanceInfo}get resolution(){return this.view.resolution}get scale(){return this.view.scale??this._scale}set scale(e){this.ready&&(this.view.scale=e),this._scale=e}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint??this._viewpoint}set viewpoint(e){_(this.viewpoint,e)&&(this.ready&&(this.view.viewpoint=e),this._viewpoint=e)}get zoom(){return this.view.zoom??this._zoom}set zoom(e){this.ready&&(this.view.zoom=e),this._zoom=e}async addLayer(e,i){this.map?.add(e,i)}async addLayers(e,i){this.map?.addMany(e,i)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(e,i){return await this.view?.goTo(e,i)}async hitTest(e,i){return await this.view?.hitTest(e,i)}async openPopup(e){await this.view?.openPopup(e)}async takeScreenshot(e){return await this.view?.takeScreenshot(e)}toMap(e,i){return this.view.toMap(e,i)}toScreen(e){return this.view.toScreen(e)}async tryFatalErrorRecovery(){this.view?.tryFatalErrorRecovery()}async whenAnalysisView(e){return await this.view?.whenAnalysisView(e)}async whenLayerView(e){return await this.view?.whenLayerView(e)}load(){this.el.childElem=document.createElement("div"),this.el.childElem.classList.add("arcgis-scene"),this.el.append(this.el.childElem),this.view.container??=this.el.childElem}loaded(){let{watch:e}=this.reactiveUtils;this.manager.onLifecycle(()=>[e(()=>this.view.stationary,()=>{this.arcgisViewChange.emit()},{initial:!0}),e(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready})])}_editMapProperties(e){this.map&&(this._map=this.map),this.itemId?e.portalItem={id:this.itemId}:this.basemap?this.basemap==="none"&&(e.basemap=void 0,this.basemap=null):e.basemap="topo-vector";let{basemap:i,...s}=e;return i||(e=s),e}async _editViewProperties(e){await this.manager.use(this._map),this.view.ui||(e.ui={components:["attribution"]}),e.map??=this._map;let i=n(this.center,void 0);i&&(e.center=i),this.viewpoint&&(e.viewpoint=this.viewpoint),this.scale!==void 0&&(e.scale=this.scale),this.extent&&(e.extent=this.extent),this.camera&&(e.camera=this.camera);let s=o(void 0,this.cameraPosition);return s&&(e.camera??={},e.camera.position=s),this.cameraHeading!=null&&(e.camera??={},e.camera.heading=this.cameraHeading),this.cameraTilt!=null&&(e.camera??={},e.camera.tilt=this.cameraTilt),this.cameraFov!=null&&(e.camera??={},e.camera.fov=this.cameraFov),this.zoom!==void 0&&(e.zoom=this.zoom),e}_mutateCamera(e){let i=this.view.camera.clone();e(i),h(this.view.camera,i)||(this.view.camera=i)}};v("arcgis-scene",c);export{c as ArcgisScene};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as o}from"./D5YSPPQY.js";import{a as p,b as f}from"./4HWKFVOD.js";import"./XKFVFNRT.js";import{J as g}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as d,C as m,D as i,F as h,H as u,a as r,g as l,r as n,s as c,t as s}from"./ALE6KF3F.js";var v=c`arcgis-fullscreen{display:block}`,M={base:"esri-fullscreen"},$=f(g),a=class extends m{constructor(){super(...arguments),this.messages=p(),this.viewModel=$(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=n()("state"),this.arcgisReady=d()}static{this.properties={autoDestroyDisabled:5,element:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3}}static{this.shadowRootOptions=l}static{this.styles=v}get fullscreenTitle(){let e=this.viewModel?.state;return e==="active"?this.messages.exit:e==="ready"?this.messages.enter:""}async destroy(){await this.manager.destroy()}_toggle(){this.viewModel.toggle()}render(){let{fullscreenTitle:e,icon:w}=this,t=this.viewModel?.state,b=t==="feature-unsupported",y=t==="ready"||t==="disabled"||t==="feature-unsupported"?"zoom-out-fixed":"zoom-in-fixed";return s`<div class=${i(r(M.base,o.widget))}>${!b&&s`<calcite-button class=${i(o.widgetButton)} .disabled=${t==="disabled"} .iconStart=${w??y} kind=neutral .label=${e} @click=${this._toggle} title=${e??h}></calcite-button>`||""}</div>`}};u("arcgis-fullscreen",a);export{a as ArcgisFullscreen};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a,c as d,d as e}from"./XKFVFNRT.js";import{e as v,h as m,la as l}from"./WOWZWSL5.js";import{f as g,g as r}from"./PBYUEHJ2.js";import{B as s,C as c,H as p,g as o,p as n,s as w}from"./ALE6KF3F.js";var b=w`.arcgis-link-chart{padding:0;margin:0;height:100%;width:100%}`,_=a(m,{}),k=a(v,{}),h=class extends c{constructor(){super(...arguments),this._map=_(this,{editConstructorProperties:this._editMapProperties}),this.reactiveUtils=n(l),this.view=k(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.graphics=this.view.graphics,this.highlights=this.view.highlights,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=e(()=>this.view,"click"),this.arcgisViewDoubleClick=e(()=>this.view,"double-click"),this.arcgisViewDrag=e(()=>this.view,"drag"),this.arcgisViewHold=e(()=>this.view,"hold"),this.arcgisViewImmediateClick=e(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=e(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=e(()=>this.view,"key-down"),this.arcgisViewKeyUp=e(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=e(()=>this.view,"layer-view-create"),this.arcgisViewLayerviewCreateError=e(()=>this.view,"layer-view-create-error"),this.arcgisViewLayerviewDestroy=e(()=>this.view,"layer-view-destroy"),this.arcgisViewMouseWheel=e(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=e(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=e(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=e(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=e(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=e(()=>this.view,"pointer-up"),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,graphics:0,highlights:0,interacting:32,itemId:3,layerViews:0,magnifier:0,map:0,navigating:32,navigation:0,padding:0,popup:0,popupDisabled:5,ready:4,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=o}static{this.styles=b}get center(){return this.view.center??this._center}set center(i){let t=r(i,this.ready?this.view:void 0);t&&(this.ready&&(this.view.center=t),this._center=t)}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 interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id??this._itemId}set itemId(i){this._itemId=i,this.ready&&d.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){g(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,t){this.map?.add(i,t)}async addLayers(i,t){this.map?.addMany(i,t)}async closePopup(){this.view?.closePopup()}async destroy(){await this.manager.destroy()}async goTo(i,t){return await this.view?.goTo(i,t)}async openPopup(i){await this.view?.openPopup(i)}toMap(i){return this.view.toMap(i)}toScreen(i,t){return this.view.toScreen(i,t)}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-link-chart"),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?this.basemap==="none"&&(i.basemap=void 0,this.basemap=null):i.basemap="topo-vector";let{basemap:t,...u}=i;t||(i=u);let{ground:y,...V}=i;return y||(i=V),i}async _editViewProperties(i){await this.manager.use(this._map),this.view.ui||(i.ui={components:["attribution"]}),i.map??=this._map;let t=r(this.center,void 0);return t&&(i.center=t),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-link-chart",h);export{h as ArcgisLinkChart};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a as C,b}from"./B2AHBB47.js";import{a as F,b as k}from"./4HWKFVOD.js";import"./XKFVFNRT.js";import{ia as y,la as P}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as w,C as L,D as S,H as _,g as u,p as V,s as E,t as h}from"./ALE6KF3F.js";var T=E`.initial-version-invalid-block{margin-bottom:1rem}.calcite-combobox-item{width:330px}.calcite-flow-widget{width:350px}calcite-block{margin:0}calcite-pagination{justify-content:center}`,x=k(y),M="map-components:version-management",I=class extends L{constructor(){super(...arguments),this.flowElement=C(),this.messages=F({blocking:!0}),this.reactiveUtils=V(P),this.viewModel=x(this),this._isInitialVersionInvalid=new Map,this._initialVersionInfos=[],this._showInvalidFeatureServiceNotice=!1,this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.position="top-right",this.state=this.viewModel.state,this.versioningStates=this.viewModel.versioningStates,this.view=this.viewModel.view,this.arcgisReady=w(),this.arcgisVersioningStateChanged=w()}static{this.properties={versionList:16,_showInvalidFeatureServiceNotice:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,initialVersionInfos:0,icon:3,label:3,messageOverrides:0,mode:1,pageSize:9,position:1,referenceElement:1,state:3,versioningStates:0,view:0}}static{this.styles=T}static{this.shadowRootOptions=u}get initialVersionInfos(){return this._initialVersionInfos}set initialVersionInfos(e){this._initialVersionInfos=e.map(t=>({...t,url:this._removeTrailingSlash(t.url)}))}async destroy(){await this.manager.destroy()}async load(){let{once:e,watch:t}=this.reactiveUtils;e(()=>this.viewModel.state==="ready").then(()=>{this.initialVersionInfos.forEach(o=>{try{this._changeToInitialVersion(o)}catch(s){console.error(s)}})}),this.manager.onLifecycle(()=>[t(()=>this.viewModel.state,o=>{let{flowElement:{value:s},versionList:i}=this,n=s?.getElementsByTagName("arcgis-version-management-version-properties")[0];if(o==="disabled"&&s){n&&this._removeVersionPropertiesFlowItem(s),i&&this._removeVersionListFlowItem(s);return}i&&(i.versionListElementProps={...i.versionListElementProps,executionError:this.viewModel.executionError},i.versionListElementProps={...i.versionListElementProps,state:o}),n&&(n.versionPropertiesElementProps={...n.versionPropertiesElementProps,state:o})})])}_removeTrailingSlash(e){return e.replace(/\/+$/u,"")}_createVersionPropertiesFlowItem(e,t){let{closable:o,flowElement:{value:s},viewModel:i,viewModel:{state:n}}=this,r=document.createElement("arcgis-version-management-version-properties");return r.versionPropertiesElementProps={closable:o,currentUser:i.userLookup.get(e),hasAdvEditingUte:i.advancedEditingUserTypeExtensionLookup.get(e),isVersionAdministrator:i.versionAdministratorLookup.get(e),serviceUrl:e,state:n,strings:this.messages,versionInfo:t},r.selected=!0,r.showBackButton=!0,r.addEventListener("arcgisCreateVersion",a=>{let{createVersionParameters:v,switchToVersion:d}=a.detail;i.createVersion(v).then(async l=>{l&&this.arcgisVersioningStateChanged.emit({type:"version-created",versionIdentifier:l.versionIdentifier,versioningState:i.versioningStateLookup.get(e)}),d&&await this.viewModel.changeVersion(e,l.versionIdentifier.name,l.versionIdentifier.guid).then(g=>{g&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:l.versionIdentifier,versioningState:i.versioningStateLookup.get(e)})}),await this._refreshVersionList(e)}).finally(()=>{s&&this._removeVersionPropertiesFlowItem(s)})}),r.addEventListener("arcgisAlterVersion",async a=>{let{flowElement:{value:v}}=this,{alterVersionParameters:d}=a.detail;await i.alterVersion(d).then(async l=>{l&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:d.versionIdentifier,versioningState:i.versioningStateLookup.get(e)}),await this._refreshVersionList(e)}).finally(()=>{v&&this._removeVersionPropertiesFlowItem(v)})}),r.addEventListener("arcgisFlowItemBack",()=>{this._removeVersionPropertiesFlowItem(this.flowElement.value)}),r.addEventListener("calciteFlowItemBack",a=>{a.preventDefault(),this._removeVersionPropertiesFlowItem(this.flowElement.value),this.versionList&&(this.versionList.selected=!0)}),r.addEventListener("calciteFlowItemClose",()=>{this._handleFlowItemClose()}),r}_getLoadError(e){let{messages:t}=this;switch(e){case"no-feature-services":return t.loadErrors.noFeatureServices;case"no-view-property":return t.loadErrors.noViewProperty;default:return e}}_changeToInitialVersion(e){let{_isInitialVersionInvalid:t,viewModel:o}=this,{url:s,name:i}=e,n=o.versioningStateLookup.get(s);if(!n)throw this._showInvalidFeatureServiceNotice=!0,new Error(`${M} - no versioning state found for feature service ${s}`);let r=n?.versionInfos.find(d=>d.versionIdentifier.name===i);if(!r)throw t.set(s,!0),new Error(`${M} - version ${i} not found in the versioning state for feature service ${s}`);let a=r.versionIdentifier,v=n?.currentVersionInfo.versionIdentifier;a.guid!==v?.guid&&o.changeVersion(s,a.name,a.guid)}_handleFlowItemClose(){let e=document.querySelector("arcgis-version-management");e.parentElement?.removeChild(e)}async _handleNewVersionAction(e){let t=this._createVersionPropertiesFlowItem(e.detail.serviceUrl,void 0);this.flowElement.value?.appendChild(t),this.versionList&&(this.versionList.selected=!1)}async _handleManageVersionAction(e){let{actionType:t,serviceUrl:o,versionInfo:s}=e.detail,{viewModel:i,flowElement:n}=this;switch(t){case"changeVersion":{i.changeVersion(o,s.versionIdentifier.name,s.versionIdentifier.guid).then(r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-switched",versionIdentifier:s.versionIdentifier,versioningState:i.versioningStateLookup.get(o)});let{versionList:a}=this;a&&(a.versionListElementProps={...a.versionListElementProps,currentVersionIdentifier:i.versioningStateLookup.get(o).currentVersionInfo.versionIdentifier})});break}case"deleteVersion":{i.deleteVersion(o,s.versionIdentifier.name,s.versionIdentifier.guid).then(async r=>{r&&this.arcgisVersioningStateChanged.emit({type:"version-deleted",versionIdentifier:s.versionIdentifier,versioningState:i.versioningStateLookup.get(o)}),await this._refreshVersionList(o)});break}case"editVersion":{let r=this._createVersionPropertiesFlowItem(o,s);n.value?.appendChild(r),this.versionList&&(this.versionList.selected=!1);break}}}async _refreshVersionList(e){let{flowElement:{value:t},versionList:o,viewModel:s}=this;if(t){let i=await s.getVersionInfos(e),n=t.getElementsByTagName("arcgis-version-management-service-item");for(let r of n)r.serviceItemElementProps.serviceUrl===e&&(r.serviceItemElementProps={...r.serviceItemElementProps,versionInfos:i});o&&(o.versionListElementProps={...o.versionListElementProps,currentVersionIdentifier:s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,versionInfos:i})}}_removeVersionListFlowItem(e){for(let t of e.childNodes)t.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-LIST"&&(e.removeChild(t),this.versionList=void 0),t.nodeName.toUpperCase()==="CALCITE-FLOW-ITEM"&&(t.hidden=!1)}_removeVersionPropertiesFlowItem(e){for(let t of e.childNodes)t.nodeName.toUpperCase()==="ARCGIS-VERSION-MANAGEMENT-VERSION-PROPERTIES"&&e.removeChild(t)}render(){let{allowEditingDisabled:e,closable:t,flowElement:{value:o},initialVersionInfos:s,_isInitialVersionInvalid:i,label:n,messages:r,mode:a,pageSize:v,versionList:d,viewModel:l,viewModel:{loadError:g,state:m}}=this,$=Array.from(l.serviceNameLookup,([c,f])=>({url:c,name:f})),N=m!=="disabled"?$.map(c=>{let f={allowEditing:!e,closable:t,currentUser:l.userLookup.get(c.url),currentVersionIdentifier:l.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,executionError:void 0,flowElement:o,hasAdvEditingUte:l.advancedEditingUserTypeExtensionLookup.get(c.url),heading:n,initialVersionInfos:s,isInitialVersionInvalid:i,isVersionAdministrator:l.versionAdministratorLookup.get(c.url),isVersioningApiAvailable:(l.serverVersionLookup.get(c.url)??0)>=11.2,mode:a,pageSize:v,serviceName:c.name,state:m,serviceUrl:c.url,strings:r,versionInfos:l.versioningStateLookup.get(c.url)?.versionInfos??[]};return h`<arcgis-version-management-service-item .serviceItemElementProps=${f} @arcgisGetVersions=${async p=>{await this._refreshVersionList(p.detail.serviceUrl)}} @arcgisFlowItemBack=${()=>{o&&(this._removeVersionListFlowItem(o),this.versionList=void 0)}} @arcgisFlowItemClose=${()=>{this._handleFlowItemClose()}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${p=>{this.versionList=p.detail}}></arcgis-version-management-service-item>`}):void 0,A=m==="disabled"?h`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(g)}</div></calcite-notice>`:void 0,U=this._showInvalidFeatureServiceNotice?h`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${()=>this._showInvalidFeatureServiceNotice=!1}><div slot=title>${r.headers.invalidInitialFeatureService}</div><div slot=message>${r.loadErrors.invalidInitialFeatureService}</div></calcite-notice>`:void 0;return h`<calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${S(this.mode==="dialog"?"":"calcite-flow-widget")} ${b(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${n??void 0} @calciteFlowItemClose=${()=>{this._handleFlowItemClose()}} .selected=${!d}>${U}<calcite-panel .loading=${m==="loading"||m==="executing"}>${N}${A}</calcite-panel></calcite-flow-item></calcite-flow>`}};_("arcgis-version-management",I);export{I as ArcgisVersionManagement};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
2
|
-
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
3
|
-
v4.32.0-next.84 */
|
|
4
|
-
import{a}from"./D5YSPPQY.js";import{a as b,b as f}from"./4HWKFVOD.js";import{d as w}from"./XKFVFNRT.js";import{M as v}from"./WOWZWSL5.js";import"./PBYUEHJ2.js";import{B as h,C as d,D as o,F as g,H as p,a as l,g as c,r as n,s as m,t as i}from"./ALE6KF3F.js";var y=m`arcgis-home{display:block}`,M={base:"esri-home"},$=f(v),r=class extends d{constructor(){super(...arguments),this.messages=b(),this.viewModel=$(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=w(()=>this.viewModel,"go"),this.arcgisPropertyChange=n()("state"),this.arcgisReady=h()}static{this.properties={autoDestroyDisabled:5,goToOverride:0,icon:3,label:1,messageOverrides:0,position:3,referenceElement:1,state:3,viewpoint:0}}static{this.shadowRootOptions=c}static{this.styles=y}async cancelGo(){this.viewModel.cancelGo()}async destroy(){await this.manager.destroy()}async go(){this.viewModel.go()}_go(){let{viewModel:e}=this;e.state==="going-home"?e.cancelGo():e.go()}render(){let{messages:e,icon:u}=this,t=this.viewModel?.state,s=t==="going-home";return i`<div class=${o(l(M.base,a.widget))}><calcite-button class=${o(a.widgetButton)} .disabled=${t==="disabled"} .iconStart=${s?void 0:u??void 0} kind=neutral .label=${e.componentLabel} @click=${this._go} .scale=${s?"s":"m"} title=${(t==="going-home"?e.cancel:e.title)??g}>${s?i`<calcite-loader inline label></calcite-loader>`:null}</calcite-button></div>`}};p("arcgis-home",r);export{r as ArcgisHome};
|