@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
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { m as s } from "../../chunks/useWidget.js";
|
|
4
|
-
import { usePropertyChange as a } from "@arcgis/components-controllers";
|
|
5
|
-
import { LitElement as o, createEvent as n, noShadowRoot as h } from "@arcgis/lumina";
|
|
2
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
6
3
|
import { reEmitEvent as t } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import s from "@arcgis/core/widgets/ValuePicker.js";
|
|
5
|
+
import { LitElement as a, createEvent as o, noShadowRoot as n } from "@arcgis/lumina";
|
|
6
|
+
import { m as h } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const l = r`arcgis-value-picker{display:block}`, c = s
|
|
12
|
-
class u extends
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const l = r`arcgis-value-picker{display:block}`, c = h(s);
|
|
12
|
+
class u extends a {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = c(this), this.autoDestroyDisabled = !1, this.canNext = this.widget.canNext, this.canPlay = this.widget.canPlay, this.canPrevious = this.widget.canPrevious, this.caption = this.widget.caption, this.component = this.widget.component, this.hideNextButton = this.widget.visibleElements.nextButton, this.hidePlayButton = this.widget.visibleElements.playButton, this.hidePreviousButton = this.widget.visibleElements.previousButton, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.loop = this.widget.loop, this.playRate = this.widget.playRate, this.position = "bottom-left", this.values = this.widget.values, this.arcgisAnimate = t(() => this.widget, "animate"), this.arcgisNext = t(() => this.widget, "next"), this.arcgisPause = t(() => this.widget, "pause"), this.arcgisPlay = t(() => this.widget, "play"), this.arcgisPrevious = t(() => this.widget, "previous"), this.arcgisPropertyChange =
|
|
14
|
+
super(...arguments), this.widget = c(this), this.autoDestroyDisabled = !1, this.canNext = this.widget.canNext, this.canPlay = this.widget.canPlay, this.canPrevious = this.widget.canPrevious, this.caption = this.widget.caption, this.component = this.widget.component, this.hideNextButton = this.widget.visibleElements.nextButton, this.hidePlayButton = this.widget.visibleElements.playButton, this.hidePreviousButton = this.widget.visibleElements.previousButton, this.icon = this.widget.icon, this.label = this.widget.label, this.layout = this.widget.layout, this.loop = this.widget.loop, this.playRate = this.widget.playRate, this.position = "bottom-left", this.values = this.widget.values, this.arcgisAnimate = t(() => this.widget, "animate"), this.arcgisNext = t(() => this.widget, "next"), this.arcgisPause = t(() => this.widget, "pause"), this.arcgisPlay = t(() => this.widget, "play"), this.arcgisPrevious = t(() => this.widget, "previous"), this.arcgisPropertyChange = e()("values"), this.arcgisReady = o();
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { autoDestroyDisabled: 5, canNext: 7, canPlay: 7, canPrevious: 7, caption: 1, component: 0, hideNextButton: 5, hidePlayButton: 5, hidePreviousButton: 5, icon: 1, label: 1, layout: 1, loop: 5, playRate: 9, position: 1, referenceElement: 1, values: 0 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = n;
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.styles = l;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
-
import { default as VersionManagementViewModel } from '@arcgis/core/widgets/VersionManagement/VersionManagementViewModel';
|
|
5
|
+
import { default as VersionManagementViewModel } from '@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js';
|
|
6
6
|
import { JsxNode, ToEvents, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
7
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
8
8
|
import { ArcgisVersionManagementServiceItem } from '../arcgis-version-management-service-item/customElement.js';
|
|
@@ -15,7 +15,7 @@ declare const useVersionManagementViewModel: (component: import('@arcgis/compone
|
|
|
15
15
|
destroy?: () => Promise<void>;
|
|
16
16
|
} & Pick<VersionManagementViewModel, never> & {
|
|
17
17
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
18
|
-
state?: "ready" | "disabled" | "loading" | "
|
|
18
|
+
state?: "ready" | "disabled" | "loading" | "executing" | "failed" | "success" | undefined;
|
|
19
19
|
icon: Nil | string;
|
|
20
20
|
label: Nil | string;
|
|
21
21
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
@@ -169,7 +169,7 @@ export declare class ArcgisVersionManagement extends LitElement {
|
|
|
169
169
|
pageSize: number;
|
|
170
170
|
position: __esri.UIPosition;
|
|
171
171
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
172
|
-
readonly state: "ready" | "disabled" | "loading" | "
|
|
172
|
+
readonly state: "ready" | "disabled" | "loading" | "executing" | "failed" | "success";
|
|
173
173
|
/**
|
|
174
174
|
* This class provides functionality for managing versions in a versioned geodatabase.
|
|
175
175
|
* In the event that the Version Management Component is destroyed, the VersioningStates can be utilized to maintain the current state of the Version Management Component.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { c as S } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import { createRef as
|
|
7
|
-
import {
|
|
2
|
+
import { html as g } from "lit-html";
|
|
3
|
+
import { once as _, watch as y } from "@arcgis/core/core/reactiveUtils.js";
|
|
4
|
+
import P from "@arcgis/core/widgets/VersionManagement/VersionManagementViewModel.js";
|
|
5
|
+
import { LitElement as F, createEvent as w, noShadowRoot as M, safeClassMap as N } from "@arcgis/lumina";
|
|
6
|
+
import { createRef as k, ref as C } from "lit-html/directives/ref.js";
|
|
7
|
+
import { u as b, m as $ } from "../../chunks/useViewModel.js";
|
|
8
8
|
import { css as A } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
v4.32.0-next.
|
|
12
|
-
const T = A`.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 =
|
|
13
|
-
class
|
|
11
|
+
v4.32.0-next.87 */
|
|
12
|
+
const T = A`.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 = $(P), u = "map-components:version-management";
|
|
13
|
+
class D extends F {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this.flowElement =
|
|
15
|
+
super(...arguments), this.flowElement = k(), this.messages = b({ blocking: !0 }), this.viewModel = x(this), this._isInitialVersionInvalid = /* @__PURE__ */ 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();
|
|
16
16
|
}
|
|
17
17
|
static {
|
|
18
18
|
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 };
|
|
@@ -21,7 +21,7 @@ class R extends k {
|
|
|
21
21
|
this.styles = T;
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
|
-
this.shadowRootOptions =
|
|
24
|
+
this.shadowRootOptions = M;
|
|
25
25
|
}
|
|
26
26
|
get initialVersionInfos() {
|
|
27
27
|
return this._initialVersionInfos;
|
|
@@ -45,20 +45,19 @@ class R extends k {
|
|
|
45
45
|
//#endregion
|
|
46
46
|
//#region Lifecycle
|
|
47
47
|
async load() {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
this.initialVersionInfos.forEach((o) => {
|
|
48
|
+
_(() => this.viewModel.state === "ready").then(() => {
|
|
49
|
+
this.initialVersionInfos.forEach((e) => {
|
|
51
50
|
try {
|
|
52
|
-
this._changeToInitialVersion(
|
|
53
|
-
} catch (
|
|
54
|
-
console.error(
|
|
51
|
+
this._changeToInitialVersion(e);
|
|
52
|
+
} catch (i) {
|
|
53
|
+
console.error(i);
|
|
55
54
|
}
|
|
56
55
|
});
|
|
57
56
|
}), this.manager.onLifecycle(() => [
|
|
58
|
-
|
|
59
|
-
const { flowElement: { value:
|
|
60
|
-
if (
|
|
61
|
-
|
|
57
|
+
y(() => this.viewModel.state, (e) => {
|
|
58
|
+
const { flowElement: { value: i }, versionList: t } = this, s = i?.getElementsByTagName("arcgis-version-management-version-properties")[0];
|
|
59
|
+
if (e === "disabled" && i) {
|
|
60
|
+
s && this._removeVersionPropertiesFlowItem(i), t && this._removeVersionListFlowItem(i);
|
|
62
61
|
return;
|
|
63
62
|
}
|
|
64
63
|
t && (t.versionListElementProps = {
|
|
@@ -66,10 +65,10 @@ class R extends k {
|
|
|
66
65
|
executionError: this.viewModel.executionError
|
|
67
66
|
}, t.versionListElementProps = {
|
|
68
67
|
...t.versionListElementProps,
|
|
69
|
-
state:
|
|
70
|
-
}),
|
|
71
|
-
...
|
|
72
|
-
state:
|
|
68
|
+
state: e
|
|
69
|
+
}), s && (s.versionPropertiesElementProps = {
|
|
70
|
+
...s.versionPropertiesElementProps,
|
|
71
|
+
state: e
|
|
73
72
|
});
|
|
74
73
|
})
|
|
75
74
|
]);
|
|
@@ -80,51 +79,51 @@ class R extends k {
|
|
|
80
79
|
return e.replace(/\/+$/u, "");
|
|
81
80
|
}
|
|
82
81
|
_createVersionPropertiesFlowItem(e, i) {
|
|
83
|
-
const { closable:
|
|
84
|
-
return
|
|
85
|
-
closable:
|
|
86
|
-
currentUser:
|
|
87
|
-
hasAdvEditingUte:
|
|
88
|
-
isVersionAdministrator:
|
|
82
|
+
const { closable: t, flowElement: { value: s }, viewModel: n, viewModel: { state: l } } = this, o = document.createElement("arcgis-version-management-version-properties");
|
|
83
|
+
return o.versionPropertiesElementProps = {
|
|
84
|
+
closable: t,
|
|
85
|
+
currentUser: n.userLookup.get(e),
|
|
86
|
+
hasAdvEditingUte: n.advancedEditingUserTypeExtensionLookup.get(e),
|
|
87
|
+
isVersionAdministrator: n.versionAdministratorLookup.get(e),
|
|
89
88
|
serviceUrl: e,
|
|
90
|
-
state:
|
|
89
|
+
state: l,
|
|
91
90
|
strings: this.messages,
|
|
92
91
|
versionInfo: i
|
|
93
|
-
},
|
|
94
|
-
const { createVersionParameters: d, switchToVersion: v } =
|
|
95
|
-
|
|
96
|
-
|
|
92
|
+
}, o.selected = !0, o.showBackButton = !0, o.addEventListener("arcgisCreateVersion", (r) => {
|
|
93
|
+
const { createVersionParameters: d, switchToVersion: v } = r.detail;
|
|
94
|
+
n.createVersion(d).then(async (a) => {
|
|
95
|
+
a && this.arcgisVersioningStateChanged.emit({
|
|
97
96
|
type: "version-created",
|
|
98
|
-
versionIdentifier:
|
|
99
|
-
versioningState:
|
|
100
|
-
}), v && await this.viewModel.changeVersion(e,
|
|
101
|
-
|
|
97
|
+
versionIdentifier: a.versionIdentifier,
|
|
98
|
+
versioningState: n.versioningStateLookup.get(e)
|
|
99
|
+
}), v && await this.viewModel.changeVersion(e, a.versionIdentifier.name, a.versionIdentifier.guid).then((h) => {
|
|
100
|
+
h && this.arcgisVersioningStateChanged.emit({
|
|
102
101
|
type: "version-switched",
|
|
103
|
-
versionIdentifier:
|
|
104
|
-
versioningState:
|
|
102
|
+
versionIdentifier: a.versionIdentifier,
|
|
103
|
+
versioningState: n.versioningStateLookup.get(e)
|
|
105
104
|
});
|
|
106
105
|
}), await this._refreshVersionList(e);
|
|
107
106
|
}).finally(() => {
|
|
108
107
|
s && this._removeVersionPropertiesFlowItem(s);
|
|
109
108
|
});
|
|
110
|
-
}),
|
|
111
|
-
const { flowElement: { value: d } } = this, { alterVersionParameters: v } =
|
|
112
|
-
await
|
|
113
|
-
|
|
109
|
+
}), o.addEventListener("arcgisAlterVersion", async (r) => {
|
|
110
|
+
const { flowElement: { value: d } } = this, { alterVersionParameters: v } = r.detail;
|
|
111
|
+
await n.alterVersion(v).then(async (a) => {
|
|
112
|
+
a && this.arcgisVersioningStateChanged.emit({
|
|
114
113
|
type: "version-changed",
|
|
115
114
|
versionIdentifier: v.versionIdentifier,
|
|
116
|
-
versioningState:
|
|
115
|
+
versioningState: n.versioningStateLookup.get(e)
|
|
117
116
|
}), await this._refreshVersionList(e);
|
|
118
117
|
}).finally(() => {
|
|
119
118
|
d && this._removeVersionPropertiesFlowItem(d);
|
|
120
119
|
});
|
|
121
|
-
}),
|
|
120
|
+
}), o.addEventListener("arcgisFlowItemBack", () => {
|
|
122
121
|
this._removeVersionPropertiesFlowItem(this.flowElement.value);
|
|
123
|
-
}),
|
|
124
|
-
|
|
125
|
-
}),
|
|
122
|
+
}), o.addEventListener("calciteFlowItemBack", (r) => {
|
|
123
|
+
r.preventDefault(), this._removeVersionPropertiesFlowItem(this.flowElement.value), this.versionList && (this.versionList.selected = !0);
|
|
124
|
+
}), o.addEventListener("calciteFlowItemClose", () => {
|
|
126
125
|
this._handleFlowItemClose();
|
|
127
|
-
}),
|
|
126
|
+
}), o;
|
|
128
127
|
}
|
|
129
128
|
_getLoadError(e) {
|
|
130
129
|
const { messages: i } = this;
|
|
@@ -138,14 +137,14 @@ class R extends k {
|
|
|
138
137
|
}
|
|
139
138
|
}
|
|
140
139
|
_changeToInitialVersion(e) {
|
|
141
|
-
const { _isInitialVersionInvalid: i, viewModel:
|
|
142
|
-
if (!
|
|
140
|
+
const { _isInitialVersionInvalid: i, viewModel: t } = this, { url: s, name: n } = e, l = t.versioningStateLookup.get(s);
|
|
141
|
+
if (!l)
|
|
143
142
|
throw this._showInvalidFeatureServiceNotice = !0, new Error(`${u} - no versioning state found for feature service ${s}`);
|
|
144
|
-
const
|
|
145
|
-
if (!
|
|
146
|
-
throw i.set(s, !0), new Error(`${u} - version ${
|
|
147
|
-
const
|
|
148
|
-
|
|
143
|
+
const o = l?.versionInfos.find((v) => v.versionIdentifier.name === n);
|
|
144
|
+
if (!o)
|
|
145
|
+
throw i.set(s, !0), new Error(`${u} - version ${n} not found in the versioning state for feature service ${s}`);
|
|
146
|
+
const r = o.versionIdentifier, d = l?.currentVersionInfo?.versionIdentifier;
|
|
147
|
+
r.guid !== d?.guid && t.changeVersion(s, r.name, r.guid);
|
|
149
148
|
}
|
|
150
149
|
_handleFlowItemClose() {
|
|
151
150
|
const e = document.querySelector("arcgis-version-management");
|
|
@@ -156,53 +155,53 @@ class R extends k {
|
|
|
156
155
|
this.flowElement.value?.appendChild(i), this.versionList && (this.versionList.selected = !1);
|
|
157
156
|
}
|
|
158
157
|
async _handleManageVersionAction(e) {
|
|
159
|
-
const { actionType: i, serviceUrl:
|
|
158
|
+
const { actionType: i, serviceUrl: t, versionInfo: s } = e.detail, { viewModel: n, flowElement: l } = this;
|
|
160
159
|
switch (i) {
|
|
161
160
|
case "changeVersion": {
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
n.changeVersion(t, s.versionIdentifier.name, s.versionIdentifier.guid).then((o) => {
|
|
162
|
+
o && this.arcgisVersioningStateChanged.emit({
|
|
164
163
|
type: "version-switched",
|
|
165
164
|
versionIdentifier: s.versionIdentifier,
|
|
166
|
-
versioningState:
|
|
165
|
+
versioningState: n.versioningStateLookup.get(t)
|
|
167
166
|
});
|
|
168
|
-
const { versionList:
|
|
169
|
-
|
|
170
|
-
...
|
|
171
|
-
currentVersionIdentifier:
|
|
167
|
+
const { versionList: r } = this;
|
|
168
|
+
r && (r.versionListElementProps = {
|
|
169
|
+
...r.versionListElementProps,
|
|
170
|
+
currentVersionIdentifier: n.versioningStateLookup.get(t).currentVersionInfo.versionIdentifier
|
|
172
171
|
});
|
|
173
172
|
});
|
|
174
173
|
break;
|
|
175
174
|
}
|
|
176
175
|
case "deleteVersion": {
|
|
177
|
-
|
|
178
|
-
|
|
176
|
+
n.deleteVersion(t, s.versionIdentifier.name, s.versionIdentifier.guid).then(async (o) => {
|
|
177
|
+
o && this.arcgisVersioningStateChanged.emit({
|
|
179
178
|
type: "version-deleted",
|
|
180
179
|
versionIdentifier: s.versionIdentifier,
|
|
181
|
-
versioningState:
|
|
182
|
-
}), await this._refreshVersionList(
|
|
180
|
+
versioningState: n.versioningStateLookup.get(t)
|
|
181
|
+
}), await this._refreshVersionList(t);
|
|
183
182
|
});
|
|
184
183
|
break;
|
|
185
184
|
}
|
|
186
185
|
case "editVersion": {
|
|
187
|
-
const
|
|
188
|
-
|
|
186
|
+
const o = this._createVersionPropertiesFlowItem(t, s);
|
|
187
|
+
l.value?.appendChild(o), this.versionList && (this.versionList.selected = !1);
|
|
189
188
|
break;
|
|
190
189
|
}
|
|
191
190
|
}
|
|
192
191
|
}
|
|
193
192
|
async _refreshVersionList(e) {
|
|
194
|
-
const { flowElement: { value: i }, versionList:
|
|
193
|
+
const { flowElement: { value: i }, versionList: t, viewModel: s } = this;
|
|
195
194
|
if (i) {
|
|
196
|
-
const
|
|
197
|
-
for (const
|
|
198
|
-
|
|
199
|
-
...
|
|
200
|
-
versionInfos:
|
|
195
|
+
const n = await s.getVersionInfos(e), l = i.getElementsByTagName("arcgis-version-management-service-item");
|
|
196
|
+
for (const o of l)
|
|
197
|
+
o.serviceItemElementProps.serviceUrl === e && (o.serviceItemElementProps = {
|
|
198
|
+
...o.serviceItemElementProps,
|
|
199
|
+
versionInfos: n
|
|
201
200
|
});
|
|
202
|
-
|
|
203
|
-
...
|
|
201
|
+
t && (t.versionListElementProps = {
|
|
202
|
+
...t.versionListElementProps,
|
|
204
203
|
currentVersionIdentifier: s.versioningStateLookup.get(e).currentVersionInfo.versionIdentifier,
|
|
205
|
-
versionInfos:
|
|
204
|
+
versionInfos: n
|
|
206
205
|
});
|
|
207
206
|
}
|
|
208
207
|
}
|
|
@@ -217,44 +216,44 @@ class R extends k {
|
|
|
217
216
|
//#endregion
|
|
218
217
|
//#region Rendering
|
|
219
218
|
render() {
|
|
220
|
-
const { allowEditingDisabled: e, closable: i, flowElement: { value:
|
|
219
|
+
const { allowEditingDisabled: e, closable: i, flowElement: { value: t }, initialVersionInfos: s, _isInitialVersionInvalid: n, label: l, messages: o, mode: r, pageSize: d, versionList: v, viewModel: a, viewModel: { loadError: h, state: m } } = this, I = Array.from(a.serviceNameLookup, ([c, f]) => ({ url: c, name: f })), V = m !== "disabled" ? I.map((c) => {
|
|
221
220
|
const f = {
|
|
222
221
|
allowEditing: !e,
|
|
223
222
|
closable: i,
|
|
224
|
-
currentUser:
|
|
225
|
-
currentVersionIdentifier:
|
|
223
|
+
currentUser: a.userLookup.get(c.url),
|
|
224
|
+
currentVersionIdentifier: a.versioningStateLookup.get(c.url).currentVersionInfo.versionIdentifier,
|
|
226
225
|
executionError: void 0,
|
|
227
|
-
flowElement:
|
|
228
|
-
hasAdvEditingUte:
|
|
229
|
-
heading:
|
|
226
|
+
flowElement: t,
|
|
227
|
+
hasAdvEditingUte: a.advancedEditingUserTypeExtensionLookup.get(c.url),
|
|
228
|
+
heading: l,
|
|
230
229
|
initialVersionInfos: s,
|
|
231
|
-
isInitialVersionInvalid:
|
|
232
|
-
isVersionAdministrator:
|
|
233
|
-
isVersioningApiAvailable: (
|
|
234
|
-
mode:
|
|
230
|
+
isInitialVersionInvalid: n,
|
|
231
|
+
isVersionAdministrator: a.versionAdministratorLookup.get(c.url),
|
|
232
|
+
isVersioningApiAvailable: (a.serverVersionLookup.get(c.url) ?? 0) >= 11.2,
|
|
233
|
+
mode: r,
|
|
235
234
|
pageSize: d,
|
|
236
235
|
serviceName: c.name,
|
|
237
236
|
state: m,
|
|
238
237
|
serviceUrl: c.url,
|
|
239
|
-
strings:
|
|
240
|
-
versionInfos:
|
|
238
|
+
strings: o,
|
|
239
|
+
versionInfos: a.versioningStateLookup.get(c.url)?.versionInfos ?? []
|
|
241
240
|
};
|
|
242
|
-
return
|
|
241
|
+
return g`<arcgis-version-management-service-item .serviceItemElementProps=${f} @arcgisGetVersions=${async (p) => {
|
|
243
242
|
await this._refreshVersionList(p.detail.serviceUrl);
|
|
244
243
|
}} @arcgisFlowItemBack=${() => {
|
|
245
|
-
|
|
244
|
+
t && (this._removeVersionListFlowItem(t), this.versionList = void 0);
|
|
246
245
|
}} @arcgisFlowItemClose=${() => {
|
|
247
246
|
this._handleFlowItemClose();
|
|
248
247
|
}} @arcgisManageVersion=${this._handleManageVersionAction} @arcgisNewVersion=${this._handleNewVersionAction} @arcgisCreateVersionList=${(p) => {
|
|
249
248
|
this.versionList = p.detail;
|
|
250
249
|
}}></arcgis-version-management-service-item>`;
|
|
251
|
-
}) : void 0, E = m === "disabled" ?
|
|
252
|
-
return
|
|
250
|
+
}) : void 0, E = m === "disabled" && h != null ? g`<calcite-notice class="notice" kind=warning open scale=s slot=footer width=full><div slot=message>${this._getLoadError(h)}</div></calcite-notice>` : void 0, L = this._showInvalidFeatureServiceNotice ? g`<calcite-notice closable kind=warning open scale=s slot=content-top width=full icon @calciteNoticeClose=${() => this._showInvalidFeatureServiceNotice = !1}><div slot=title>${o.headers.invalidInitialFeatureService}</div><div slot=message>${o.loadErrors.invalidInitialFeatureService}</div></calcite-notice>` : void 0;
|
|
251
|
+
return g`<calcite-flow custom-item-selectors="arcgis-version-management-version-list, arcgis-version-management-version-properties" class=${N(this.mode === "dialog" ? "" : "calcite-flow-widget")} ${C(this.flowElement)}><calcite-flow-item .closable=${this.closable} .heading=${l ?? void 0} @calciteFlowItemClose=${() => {
|
|
253
252
|
this._handleFlowItemClose();
|
|
254
253
|
}} .selected=${!v}>${L}<calcite-panel .loading=${m === "loading" || m === "executing"}>${V}${E}</calcite-panel></calcite-flow-item></calcite-flow>`;
|
|
255
254
|
}
|
|
256
255
|
}
|
|
257
|
-
S("arcgis-version-management",
|
|
256
|
+
S("arcgis-version-management", D);
|
|
258
257
|
export {
|
|
259
|
-
|
|
258
|
+
D as ArcgisVersionManagement
|
|
260
259
|
};
|
|
@@ -3,7 +3,7 @@ import { html as t } from "lit-html";
|
|
|
3
3
|
import { LitElement as C, createEvent as n, noShadowRoot as G, safeClassMap as F } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
6
|
-
v4.32.0-next.
|
|
6
|
+
v4.32.0-next.87 */
|
|
7
7
|
class y extends C {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this._arcgisGetVersions = (e) => {
|
|
@@ -3,7 +3,7 @@ import { html as c } from "lit-html";
|
|
|
3
3
|
import { LitElement as b, createEvent as f, noShadowRoot as x, nothing as I } from "@arcgis/lumina";
|
|
4
4
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
5
5
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
6
|
-
v4.32.0-next.
|
|
6
|
+
v4.32.0-next.87 */
|
|
7
7
|
class E extends b {
|
|
8
8
|
constructor() {
|
|
9
9
|
super(...arguments), this.arcgisManageVersion = f();
|
|
@@ -8,7 +8,7 @@ export type VersionListElementProps = {
|
|
|
8
8
|
closable: boolean;
|
|
9
9
|
currentUser: string;
|
|
10
10
|
currentVersionIdentifier: __esri.VersionIdentifier;
|
|
11
|
-
executionError:
|
|
11
|
+
executionError: nullish | string;
|
|
12
12
|
hasAdvEditingUte: boolean;
|
|
13
13
|
heading: string;
|
|
14
14
|
isVersionAdministrator: boolean;
|
|
@@ -5,7 +5,7 @@ import { LitElement as F, createEvent as a } from "@arcgis/lumina";
|
|
|
5
5
|
import { css as U } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
-
v4.32.0-next.
|
|
8
|
+
v4.32.0-next.87 */
|
|
9
9
|
const A = U`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}calcite-block{margin-block:0}calcite-pagination{justify-content:center}`;
|
|
10
10
|
class N extends F {
|
|
11
11
|
constructor() {
|
|
@@ -5,7 +5,7 @@ import { LitElement as V, createEvent as p, noShadowRoot as I } from "@arcgis/lu
|
|
|
5
5
|
import { css as x } from "@lit/reactive-element/css-tag.js";
|
|
6
6
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
7
7
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
8
|
-
v4.32.0-next.
|
|
8
|
+
v4.32.0-next.87 */
|
|
9
9
|
const C = x`:host{display:none;background:#bdf2c4}:host([selected]){display:flex}.properties-buttons{display:flex}`;
|
|
10
10
|
class k extends V {
|
|
11
11
|
constructor() {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as Weather } from '@arcgis/core/widgets/Weather.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useWeatherWidget: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
9
10
|
manager: import('@arcgis/components-controllers').ControllerManager;
|
|
10
11
|
el: HTMLElement;
|
|
11
12
|
autoDestroyDisabled?: boolean;
|
|
12
13
|
destroy?: () => Promise<void>;
|
|
13
|
-
} & Pick<
|
|
14
|
+
} & Pick<Weather, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.WeatherViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useWeatherWidget: (component: import('@arcgis/components-controlle
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.WeatherProperties): __esri.WeatherProperties | Promise<__esri.WeatherProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.WeatherProperties | undefined): __esri.WeatherProperties | Promise<__esri.WeatherProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Weather;
|
|
36
37
|
/** [Weather](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Weather.html) provides an interface for easily selecting and configuring the weather effects in a [SceneView](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-SceneView.html).
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisWeather extends LitElement {
|
|
@@ -45,7 +46,7 @@ export declare class ArcgisWeather extends LitElement {
|
|
|
45
46
|
*/
|
|
46
47
|
autoDestroyDisabled: boolean;
|
|
47
48
|
headingLevel: number;
|
|
48
|
-
hideHeader: boolean
|
|
49
|
+
hideHeader: boolean;
|
|
49
50
|
/**
|
|
50
51
|
* Icon which represents the component.
|
|
51
52
|
* Typically used when the component is controlled by another component (e.g. by the Expand component).
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { usePropertyChange as t } from "@arcgis/components-controllers";
|
|
3
|
+
import s from "@arcgis/core/widgets/Weather.js";
|
|
4
|
+
import { LitElement as i, createEvent as o, noShadowRoot as a } from "@arcgis/lumina";
|
|
5
|
+
import { m as r } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
10
|
-
const d = h`arcgis-weather{display:block}`, l =
|
|
11
|
-
class n extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const d = h`arcgis-weather{display:block}`, l = r(s);
|
|
11
|
+
class n extends i {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = l(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 =
|
|
13
|
+
super(...arguments), this.widget = l(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 = t()("state"), this.arcgisReady = o();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideHeader: 5, icon: 1, label: 1, position: 1, referenceElement: 1, state: 3 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = a;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = d;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
-
import {
|
|
5
|
+
import { default as ZoomViewModel } from '@arcgis/core/widgets/Zoom/ZoomViewModel.js';
|
|
6
6
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
type Layout = "horizontal" | "vertical";
|
|
9
10
|
declare const useZoomViewModel: (component: import('@arcgis/components-controllers').StencilLifecycles & {
|
|
@@ -11,7 +12,7 @@ declare const useZoomViewModel: (component: import('@arcgis/components-controlle
|
|
|
11
12
|
el: HTMLElement;
|
|
12
13
|
autoDestroyDisabled?: boolean;
|
|
13
14
|
destroy?: () => Promise<void>;
|
|
14
|
-
} & Pick<
|
|
15
|
+
} & Pick<ZoomViewModel, never> & {
|
|
15
16
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
16
17
|
state?: "ready" | "disabled" | undefined;
|
|
17
18
|
icon: Nil | string;
|
|
@@ -32,7 +33,7 @@ declare const useZoomViewModel: (component: import('@arcgis/components-controlle
|
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
35
|
editConstructorProperties(props: unknown): unknown;
|
|
35
|
-
} | undefined) =>
|
|
36
|
+
} | undefined) => ZoomViewModel;
|
|
36
37
|
/** [Zoom](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Zoom.html) allows users to zoom in/out within a view.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisZoom extends LitElement {
|
|
@@ -2,29 +2,29 @@ import { c } from "../../chunks/runtime.js";
|
|
|
2
2
|
import { html as m } from "lit-html";
|
|
3
3
|
import { usePropertyChange as u } from "@arcgis/components-controllers";
|
|
4
4
|
import { classes as t } from "@arcgis/components-utils";
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import d from "@arcgis/core/widgets/Zoom/ZoomViewModel.js";
|
|
6
|
+
import { LitElement as h, createEvent as z, noShadowRoot as g, safeClassMap as s, nothing as a } from "@arcgis/lumina";
|
|
7
|
+
import { u as p, m as b } from "../../chunks/useViewModel.js";
|
|
8
8
|
import { css as w } from "@lit/reactive-element/css-tag.js";
|
|
9
9
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
10
10
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
11
|
-
v4.32.0-next.
|
|
11
|
+
v4.32.0-next.87 */
|
|
12
12
|
const o = {
|
|
13
13
|
base: "arcgis-zoom",
|
|
14
14
|
horizontalLayout: "arcgis-zoom--horizontal",
|
|
15
15
|
button: "esri-widget--button",
|
|
16
16
|
zoomIn: "arcgis-zoom__zoom-in",
|
|
17
17
|
zoomOut: "arcgis-zoom__zoom-out"
|
|
18
|
-
}, y = w`arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}`, f =
|
|
19
|
-
class v extends
|
|
18
|
+
}, y = w`arcgis-zoom,.arcgis-zoom{display:flex;flex-flow:column nowrap}.arcgis-zoom__zoom-out{border-block-start:solid 1px var(--calcite-color-border-1)}.arcgis-zoom--horizontal{flex-flow:row-reverse nowrap}.arcgis-zoom--horizontal .arcgis-zoom__zoom-out{border-block-start:none;border-inline-end:solid 1px var(--calcite-color-border-1)}`, f = b(d);
|
|
19
|
+
class v extends h {
|
|
20
20
|
constructor() {
|
|
21
|
-
super(...arguments), this.messages =
|
|
21
|
+
super(...arguments), this.messages = p({}), this.viewModel = f(this), this.canZoomIn = this.viewModel.canZoomIn, this.canZoomOut = this.viewModel.canZoomOut, this.autoDestroyDisabled = !1, this.icon = "magnifying-glass-plus", this.layout = "vertical", this.position = "top-left", this.state = this.viewModel.state, this.arcgisPropertyChange = u()("state"), this.arcgisReady = z();
|
|
22
22
|
}
|
|
23
23
|
static {
|
|
24
24
|
this.properties = { canZoomIn: 16, canZoomOut: 16, autoDestroyDisabled: 5, icon: 3, label: 1, layout: 3, messageOverrides: 0, position: 1, referenceElement: 1, state: 3 };
|
|
25
25
|
}
|
|
26
26
|
static {
|
|
27
|
-
this.shadowRootOptions =
|
|
27
|
+
this.shadowRootOptions = g;
|
|
28
28
|
}
|
|
29
29
|
static {
|
|
30
30
|
this.styles = y;
|
|
@@ -7,7 +7,7 @@ import { ArcgisReferenceElement } from '../utils/component-utils';
|
|
|
7
7
|
type Requires<Props, ViewModel extends ViewModelInstance> = BaseComponent & Pick<ViewModel, keyof Props & keyof ViewModel> & Uses<ViewModel>;
|
|
8
8
|
type ViewModelInstance = __esri.Accessor & Partial<__esri.Evented> & {
|
|
9
9
|
state?: string;
|
|
10
|
-
view?: __esri.MapView | __esri.SceneView |
|
|
10
|
+
view?: __esri.MapView | __esri.SceneView | nullish;
|
|
11
11
|
map?: ArcgisMap | Nil;
|
|
12
12
|
};
|
|
13
13
|
type Uses<ViewModel extends ViewModelInstance> = {
|
|
@@ -43,7 +43,7 @@ type Uses<ViewModel extends ViewModelInstance> = {
|
|
|
43
43
|
*
|
|
44
44
|
* TEST: add test cases for this controller
|
|
45
45
|
*/
|
|
46
|
-
export declare const makeViewModelController: <Props, ViewModel extends ViewModelInstance, OmitProps extends string = never>(loadViewModel: (props: Omit<Props, "view">) => Promise<ViewModel
|
|
46
|
+
export declare const makeViewModelController: <Props, ViewModel extends ViewModelInstance, OmitProps extends string = never>(loadViewModel: ((props: Omit<Props, "view">) => Promise<ViewModel>) | (new (props: Omit<Props, "view">) => ViewModel), _options?: {
|
|
47
47
|
/**
|
|
48
48
|
* Don't expose the following ViewModels's properties on the component.
|
|
49
49
|
* You can also bind the property to \@State rather than \@Prop if you
|