@arcgis/map-components 4.32.0-next.85 → 4.32.0-next.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/arcgis-map-components/2XHX4GRY.js +4 -0
- package/dist/arcgis-map-components/32X3ZYOM.js +4 -0
- package/dist/arcgis-map-components/35DMTE4K.js +4 -0
- package/dist/arcgis-map-components/3JTGHVNB.js +4 -0
- package/dist/arcgis-map-components/3ZDFYLLA.js +4 -0
- package/dist/arcgis-map-components/4CKEV5R3.js +4 -0
- package/dist/arcgis-map-components/4J4AUJFF.js +4 -0
- package/dist/arcgis-map-components/{HW7Z4CZB.js → 4ZIFQORV.js} +1 -1
- package/dist/arcgis-map-components/6LUZOY5O.js +4 -0
- package/dist/arcgis-map-components/7BT4GAVM.js +4 -0
- package/dist/arcgis-map-components/{DBPKJOYW.js → 7JPD33PS.js} +1 -1
- package/dist/arcgis-map-components/7WR7N6T3.js +4 -0
- package/dist/arcgis-map-components/{564KMD2H.js → A6QXV7MU.js} +2 -2
- package/dist/arcgis-map-components/AFIGXVQ3.js +4 -0
- package/dist/arcgis-map-components/{VHE6RZA2.js → AGWGNRMW.js} +2 -2
- package/dist/arcgis-map-components/AOZPIV4A.js +4 -0
- package/dist/arcgis-map-components/AVGUWUIP.js +4 -0
- package/dist/arcgis-map-components/AXIJBJKN.js +4 -0
- package/dist/arcgis-map-components/B5NOO6HX.js +4 -0
- package/dist/arcgis-map-components/CE62RYPI.js +4 -0
- package/dist/arcgis-map-components/CEIGROJD.js +4 -0
- package/dist/arcgis-map-components/CLH7HQDS.js +4 -0
- package/dist/arcgis-map-components/DAXKVFKC.js +4 -0
- package/dist/arcgis-map-components/DBWEC62Z.js +4 -0
- package/dist/arcgis-map-components/E2S64U4Z.js +4 -0
- package/dist/arcgis-map-components/E3RBXZMD.js +4 -0
- package/dist/arcgis-map-components/{MDHKEFLL.js → ETORB2CW.js} +4 -4
- package/dist/arcgis-map-components/G2AUFB2V.js +4 -0
- package/dist/arcgis-map-components/GFFY2SOD.js +4 -0
- package/dist/arcgis-map-components/GGRINU7O.js +4 -0
- package/dist/arcgis-map-components/HFOLCVHE.js +4 -0
- package/dist/arcgis-map-components/HN2B2WVM.js +4 -0
- package/dist/arcgis-map-components/HYBGAIIH.js +4 -0
- package/dist/arcgis-map-components/IJ4I2C2Q.js +4 -0
- package/dist/arcgis-map-components/ILVOJPYP.js +4 -0
- package/dist/arcgis-map-components/IUSB5KZR.js +4 -0
- package/dist/arcgis-map-components/{ERS4HX5J.js → KES7H4RV.js} +1 -1
- package/dist/arcgis-map-components/KFWRSEL5.js +4 -0
- package/dist/arcgis-map-components/KTPXF7QU.js +4 -0
- package/dist/arcgis-map-components/LXNOWS2N.js +4 -0
- package/dist/arcgis-map-components/MAZ73QH3.js +4 -0
- package/dist/arcgis-map-components/MKBRZJPK.js +4 -0
- package/dist/arcgis-map-components/{Z6JJJVA2.js → MNAEUWGF.js} +2 -2
- package/dist/arcgis-map-components/NFID37OS.js +4 -0
- package/dist/arcgis-map-components/NH2PJWZN.js +4 -0
- package/dist/arcgis-map-components/NINSVERY.js +4 -0
- package/dist/arcgis-map-components/OWAZAAPU.js +4 -0
- package/dist/arcgis-map-components/{FHOJWHL5.js → OXPBMLUL.js} +2 -2
- package/dist/arcgis-map-components/OXZIRB5Z.js +4 -0
- package/dist/arcgis-map-components/P254GL27.js +4 -0
- package/dist/arcgis-map-components/P2PVJ4AF.js +4 -0
- package/dist/arcgis-map-components/QAIK42DS.js +4 -0
- package/dist/arcgis-map-components/QHZ2NQDS.js +4 -0
- package/dist/arcgis-map-components/RIESOZ3J.js +4 -0
- package/dist/arcgis-map-components/RN7HCA5M.js +4 -0
- package/dist/arcgis-map-components/S732TQFW.js +4 -0
- package/dist/arcgis-map-components/SWD2W5AQ.js +4 -0
- package/dist/arcgis-map-components/T2IZZQA6.js +4 -0
- package/dist/arcgis-map-components/TYHESC7C.js +4 -0
- package/dist/arcgis-map-components/TYLB5V7D.js +4 -0
- package/dist/arcgis-map-components/U3JMNMD5.js +4 -0
- package/dist/arcgis-map-components/U5BKFVZA.js +4 -0
- package/dist/arcgis-map-components/{LMOFB4IY.js → VOAP25R5.js} +2 -2
- package/dist/arcgis-map-components/{4GMWGCYP.js → VPAITV6T.js} +2 -2
- package/dist/arcgis-map-components/VPDLR5PZ.js +4 -0
- package/dist/arcgis-map-components/VYAG6QFL.js +4 -0
- package/dist/arcgis-map-components/WRLAAWYP.js +4 -0
- package/dist/arcgis-map-components/XGMH4FTN.js +4 -0
- package/dist/arcgis-map-components/{WZV3Y366.js → XXMI6R5H.js} +2 -2
- package/dist/arcgis-map-components/YN7363HF.js +4 -0
- package/dist/arcgis-map-components/YWCFGHSS.js +4 -0
- package/dist/arcgis-map-components/ZZWXJ7BT.js +4 -0
- package/dist/arcgis-map-components/arcgis-map-components.esm.js +2 -2
- package/dist/chunks/basemap-gallery-item.js +1 -1
- package/dist/chunks/component-utils.js +1 -1
- package/dist/chunks/disconnected.js +1 -1
- package/dist/chunks/globalCss.js +1 -1
- package/dist/chunks/legacyIcon.js +1 -1
- package/dist/chunks/runtime.js +1 -1
- package/dist/chunks/useViewModel.js +1 -1
- package/dist/chunks/useWidget.js +1 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +4 -3
- package/dist/components/arcgis-area-measurement-2d/customElement.js +10 -10
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +5 -4
- package/dist/components/arcgis-area-measurement-3d/customElement.js +10 -10
- package/dist/components/arcgis-attachments/customElement.d.ts +5 -4
- package/dist/components/arcgis-attachments/customElement.js +9 -9
- package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js +1 -1
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +4 -3
- package/dist/components/arcgis-basemap-gallery/customElement.js +37 -36
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +5 -4
- package/dist/components/arcgis-basemap-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +7 -6
- package/dist/components/arcgis-basemap-toggle/customElement.js +18 -17
- package/dist/components/arcgis-bookmarks/customElement.d.ts +5 -4
- package/dist/components/arcgis-bookmarks/customElement.js +9 -9
- package/dist/components/arcgis-building-explorer/customElement.d.ts +5 -4
- package/dist/components/arcgis-building-explorer/customElement.js +9 -9
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +5 -4
- package/dist/components/arcgis-catalog-layer-list/customElement.js +6 -6
- package/dist/components/arcgis-compass/customElement.d.ts +4 -3
- package/dist/components/arcgis-compass/customElement.js +10 -10
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +6 -5
- package/dist/components/arcgis-coordinate-conversion/customElement.js +9 -9
- package/dist/components/arcgis-daylight/customElement.d.ts +5 -4
- package/dist/components/arcgis-daylight/customElement.js +8 -8
- package/dist/components/arcgis-directional-pad/customElement.d.ts +28 -5
- package/dist/components/arcgis-directional-pad/customElement.js +37 -36
- package/dist/components/arcgis-directions/customElement.d.ts +7 -5
- package/dist/components/arcgis-directions/customElement.js +28 -31
- package/dist/components/arcgis-directline-measurement-3d/customElement.d.ts +5 -4
- package/dist/components/arcgis-directline-measurement-3d/customElement.js +9 -9
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +5 -4
- package/dist/components/arcgis-distance-measurement-2d/customElement.js +9 -9
- package/dist/components/arcgis-editor/customElement.d.ts +5 -4
- package/dist/components/arcgis-editor/customElement.js +9 -9
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +6 -11
- package/dist/components/arcgis-elevation-profile/customElement.js +9 -9
- package/dist/components/arcgis-expand/customElement.d.ts +5 -4
- package/dist/components/arcgis-expand/customElement.js +9 -9
- package/dist/components/arcgis-feature/customElement.d.ts +7 -14
- package/dist/components/arcgis-feature/customElement.js +8 -8
- package/dist/components/arcgis-feature-form/customElement.d.ts +6 -5
- package/dist/components/arcgis-feature-form/customElement.js +9 -9
- package/dist/components/arcgis-feature-table/customElement.d.ts +10 -9
- package/dist/components/arcgis-feature-table/customElement.js +17 -16
- package/dist/components/arcgis-feature-templates/customElement.d.ts +5 -4
- package/dist/components/arcgis-feature-templates/customElement.js +10 -10
- package/dist/components/arcgis-features/customElement.d.ts +5 -4
- package/dist/components/arcgis-features/customElement.js +6 -6
- package/dist/components/arcgis-floor-filter/customElement.d.ts +5 -4
- package/dist/components/arcgis-floor-filter/customElement.js +10 -10
- package/dist/components/arcgis-fullscreen/customElement.d.ts +4 -3
- package/dist/components/arcgis-fullscreen/customElement.js +11 -11
- package/dist/components/arcgis-histogram/customElement.d.ts +5 -4
- package/dist/components/arcgis-histogram/customElement.js +9 -9
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-histogram-range-slider/customElement.js +9 -9
- package/dist/components/arcgis-home/customElement.d.ts +6 -5
- package/dist/components/arcgis-home/customElement.js +12 -12
- package/dist/components/arcgis-layer-list/customElement.d.ts +5 -4
- package/dist/components/arcgis-layer-list/customElement.js +10 -10
- package/dist/components/arcgis-legend/customElement.d.ts +5 -4
- package/dist/components/arcgis-legend/customElement.js +9 -9
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +5 -4
- package/dist/components/arcgis-line-of-sight/customElement.js +9 -9
- package/dist/components/arcgis-link-chart/customElement.d.ts +11 -9
- package/dist/components/arcgis-link-chart/customElement.js +27 -27
- package/dist/components/arcgis-locate/customElement.d.ts +5 -4
- package/dist/components/arcgis-locate/customElement.js +15 -15
- package/dist/components/arcgis-map/customElement.d.ts +10 -8
- package/dist/components/arcgis-map/customElement.js +27 -27
- package/dist/components/arcgis-measurement/customElement.d.ts +5 -4
- package/dist/components/arcgis-measurement/customElement.js +9 -9
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +5 -4
- package/dist/components/arcgis-navigation-toggle/customElement.js +9 -9
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +7 -6
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +16 -17
- package/dist/components/arcgis-placement/customElement.js +1 -1
- package/dist/components/arcgis-print/customElement.d.ts +5 -4
- package/dist/components/arcgis-print/customElement.js +9 -9
- package/dist/components/arcgis-scale-bar/customElement.d.ts +6 -5
- package/dist/components/arcgis-scale-bar/customElement.js +39 -38
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-scale-range-slider/customElement.js +12 -12
- package/dist/components/arcgis-scene/customElement.d.ts +10 -8
- package/dist/components/arcgis-scene/customElement.js +25 -25
- package/dist/components/arcgis-search/customElement.d.ts +5 -4
- package/dist/components/arcgis-search/customElement.js +8 -8
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +5 -4
- package/dist/components/arcgis-shadow-cast/customElement.js +12 -12
- package/dist/components/arcgis-sketch/customElement.d.ts +7 -5
- package/dist/components/arcgis-sketch/customElement.js +11 -12
- package/dist/components/arcgis-slice/customElement.d.ts +5 -4
- package/dist/components/arcgis-slice/customElement.js +9 -9
- package/dist/components/arcgis-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-slider/customElement.js +9 -9
- package/dist/components/arcgis-swipe/customElement.d.ts +5 -4
- package/dist/components/arcgis-swipe/customElement.js +17 -17
- package/dist/components/arcgis-table-list/customElement.d.ts +15 -12
- package/dist/components/arcgis-table-list/customElement.js +6 -6
- package/dist/components/arcgis-time-slider/customElement.d.ts +5 -4
- package/dist/components/arcgis-time-slider/customElement.js +9 -9
- package/dist/components/arcgis-track/customElement.d.ts +5 -4
- package/dist/components/arcgis-track/customElement.js +15 -15
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +6 -6
- package/dist/components/arcgis-utility-network-associations/customElement.js +2 -2
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-trace/customElement.js +7 -7
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
- package/dist/components/arcgis-utility-network-validate-topology/customElement.js +8 -8
- package/dist/components/arcgis-value-picker/customElement.d.ts +5 -4
- package/dist/components/arcgis-value-picker/customElement.js +9 -9
- package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
- package/dist/components/arcgis-version-management/customElement.js +96 -97
- package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-item/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
- package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
- package/dist/components/arcgis-weather/customElement.d.ts +5 -4
- package/dist/components/arcgis-weather/customElement.js +9 -9
- package/dist/components/arcgis-zoom/customElement.d.ts +4 -3
- package/dist/components/arcgis-zoom/customElement.js +8 -8
- package/dist/controllers/useViewModel.d.ts +1 -1
- package/dist/controllers/useWidget.d.ts +2 -2
- package/dist/docs/api.json +304 -305
- package/dist/docs/docs.json +172 -172
- package/dist/docs/vscode.html-custom-data.json +133 -133
- package/dist/docs/web-types.json +303 -304
- package/dist/index.js +1 -1
- package/dist/loader.js +1 -1
- package/package.json +4 -5
- package/dist/arcgis-map-components/2TNEAZAF.js +0 -4
- package/dist/arcgis-map-components/32WNMGSE.js +0 -4
- package/dist/arcgis-map-components/35HPYV25.js +0 -4
- package/dist/arcgis-map-components/3LZI4V7A.js +0 -4
- package/dist/arcgis-map-components/44SXKBON.js +0 -4
- package/dist/arcgis-map-components/4OPF2YIS.js +0 -4
- package/dist/arcgis-map-components/5TMK2FY7.js +0 -4
- package/dist/arcgis-map-components/6ADYLVHO.js +0 -4
- package/dist/arcgis-map-components/6IUOO2CX.js +0 -4
- package/dist/arcgis-map-components/7XE2PHMN.js +0 -4
- package/dist/arcgis-map-components/AHJ77DDX.js +0 -4
- package/dist/arcgis-map-components/BO53EV22.js +0 -4
- package/dist/arcgis-map-components/CCYD3GJL.js +0 -4
- package/dist/arcgis-map-components/CF5DOP3R.js +0 -4
- package/dist/arcgis-map-components/CSHTSK3A.js +0 -4
- package/dist/arcgis-map-components/CZMG37KX.js +0 -4
- package/dist/arcgis-map-components/D727YOOX.js +0 -4
- package/dist/arcgis-map-components/DLEN4ORI.js +0 -4
- package/dist/arcgis-map-components/DWMEEDHE.js +0 -4
- package/dist/arcgis-map-components/DZF434YD.js +0 -4
- package/dist/arcgis-map-components/ELYTB4XJ.js +0 -4
- package/dist/arcgis-map-components/FRIJ3FSA.js +0 -4
- package/dist/arcgis-map-components/GAAOXAL6.js +0 -4
- package/dist/arcgis-map-components/HG2VALA3.js +0 -4
- package/dist/arcgis-map-components/HZNRXF47.js +0 -4
- package/dist/arcgis-map-components/IKGSM2C2.js +0 -4
- package/dist/arcgis-map-components/ITFN6HQK.js +0 -4
- package/dist/arcgis-map-components/IUDW2ZVM.js +0 -4
- package/dist/arcgis-map-components/IW775SZ3.js +0 -4
- package/dist/arcgis-map-components/IXPHHN4Z.js +0 -4
- package/dist/arcgis-map-components/J7HGN3TZ.js +0 -4
- package/dist/arcgis-map-components/JAQQBKX6.js +0 -4
- package/dist/arcgis-map-components/K6PW23T7.js +0 -4
- package/dist/arcgis-map-components/K77QPLOY.js +0 -4
- package/dist/arcgis-map-components/M6O6GD4O.js +0 -4
- package/dist/arcgis-map-components/MAMFUB2L.js +0 -4
- package/dist/arcgis-map-components/MP3QQQKU.js +0 -4
- package/dist/arcgis-map-components/MSOBY6NR.js +0 -4
- package/dist/arcgis-map-components/NCWZPEUO.js +0 -4
- package/dist/arcgis-map-components/NVIX6GNC.js +0 -4
- package/dist/arcgis-map-components/NYN35UXK.js +0 -4
- package/dist/arcgis-map-components/OMIYZ5A3.js +0 -4
- package/dist/arcgis-map-components/OYUYZKN2.js +0 -4
- package/dist/arcgis-map-components/PFRBRWGY.js +0 -4
- package/dist/arcgis-map-components/QBCARJYO.js +0 -4
- package/dist/arcgis-map-components/QCYDFQGT.js +0 -4
- package/dist/arcgis-map-components/QVOQDJ5B.js +0 -4
- package/dist/arcgis-map-components/R3AVBSDU.js +0 -4
- package/dist/arcgis-map-components/RBXK5JR3.js +0 -4
- package/dist/arcgis-map-components/S3H7IQQP.js +0 -4
- package/dist/arcgis-map-components/S76V3WVV.js +0 -4
- package/dist/arcgis-map-components/SI357SRE.js +0 -4
- package/dist/arcgis-map-components/SPVD3PYB.js +0 -4
- package/dist/arcgis-map-components/U6C4ZCMS.js +0 -4
- package/dist/arcgis-map-components/VIUD4NSE.js +0 -4
- package/dist/arcgis-map-components/VIVRU3Y4.js +0 -4
- package/dist/arcgis-map-components/VWEH2LWN.js +0 -4
- package/dist/arcgis-map-components/X7EWPPQH.js +0 -4
- package/dist/arcgis-map-components/YHASKKJ6.js +0 -4
- package/dist/arcgis-map-components/YK5CBUJC.js +0 -4
- package/dist/arcgis-map-components/YXSRE3F6.js +0 -4
- package/dist/arcgis-map-components/ZVNCPLXY.js +0 -4
|
@@ -1,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 Attachments } from '@arcgis/core/widgets/Attachments.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useAttachmentsWidget: (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<Attachments, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.AttachmentsViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useAttachmentsWidget: (component: import('@arcgis/components-contr
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.AttachmentsProperties): __esri.AttachmentsProperties | Promise<__esri.AttachmentsProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.AttachmentsProperties | undefined): __esri.AttachmentsProperties | Promise<__esri.AttachmentsProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Attachments;
|
|
36
37
|
/**
|
|
37
38
|
* @internal
|
|
38
39
|
*/
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { c as t } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
2
|
+
import { usePropertyChange as e } from "@arcgis/components-controllers";
|
|
3
|
+
import i from "@arcgis/core/widgets/Attachments.js";
|
|
4
|
+
import { LitElement as s, createEvent as a, noShadowRoot as d } from "@arcgis/lumina";
|
|
5
|
+
import { m as o } 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 n = h`arcgis-attachments{display:block}`, r = i
|
|
11
|
-
class l extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const n = h`arcgis-attachments{display:block}`, r = o(i);
|
|
11
|
+
class l extends s {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = r(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 =
|
|
13
|
+
super(...arguments), this.widget = r(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();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
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 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = d;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = n;
|
package/dist/components/arcgis-basemap-gallery/components/basemap-gallery-item/customElement.js
CHANGED
|
@@ -6,7 +6,7 @@ import { B as e } from "../../../../chunks/basemap-gallery-item.js";
|
|
|
6
6
|
import "../../../../chunks/globalCss.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.
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
10
|
export {
|
|
11
11
|
e as BasemapGalleryItem
|
|
12
12
|
};
|
|
@@ -2,6 +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 BasemapGalleryViewModel } from '@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js';
|
|
5
6
|
import { JsxNode, ToElement, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
6
7
|
import { HeadingLevel } from '../../support/heading';
|
|
7
8
|
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
@@ -11,7 +12,7 @@ declare const useBasemapGalleryViewModel: (component: import('@arcgis/components
|
|
|
11
12
|
el: HTMLElement;
|
|
12
13
|
autoDestroyDisabled?: boolean;
|
|
13
14
|
destroy?: () => Promise<void>;
|
|
14
|
-
} & Pick<
|
|
15
|
+
} & Pick<BasemapGalleryViewModel, never> & {
|
|
15
16
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
16
17
|
state?: "ready" | "disabled" | "loading" | "unsupported" | undefined;
|
|
17
18
|
icon: Nil | string;
|
|
@@ -32,11 +33,11 @@ declare const useBasemapGalleryViewModel: (component: import('@arcgis/components
|
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
35
|
editConstructorProperties(props: unknown): unknown;
|
|
35
|
-
} | undefined) =>
|
|
36
|
+
} | undefined) => BasemapGalleryViewModel;
|
|
36
37
|
/** [BasemapGallery](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapGallery.html) displays a collection images representing basemaps from [ArcGIS.com](https://www.arcgis.com/index.html) or a user-defined set of map or image services. When a new basemap is selected from the BasemapGallery, the map's basemap layers are removed and replaced with the basemap layers of the associated basemap selected in the gallery.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisBasemapGallery extends LitElement {
|
|
39
|
-
activeBasemap:
|
|
40
|
+
activeBasemap: __esri.Basemap | nullish;
|
|
40
41
|
/**
|
|
41
42
|
* If true, the component will not be destroyed automatically when it is
|
|
42
43
|
* disconnected from the document. This is useful when you want to move the
|
|
@@ -1,28 +1,29 @@
|
|
|
1
1
|
import { c as y } from "../../chunks/runtime.js";
|
|
2
|
-
import { html as
|
|
3
|
-
import {
|
|
4
|
-
import { classes as
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
2
|
+
import { html as c } from "lit-html";
|
|
3
|
+
import { usePropertyChange as f } from "@arcgis/components-controllers";
|
|
4
|
+
import { classes as v } from "@arcgis/components-utils";
|
|
5
|
+
import { when as b, watch as p } from "@arcgis/core/core/reactiveUtils.js";
|
|
6
|
+
import M from "@arcgis/core/widgets/BasemapGallery/BasemapGalleryViewModel.js";
|
|
7
|
+
import { safeClassMap as r, LitElement as $, createEvent as _, noShadowRoot as B, nothing as g, safeStyleMap as x } from "@arcgis/lumina";
|
|
8
|
+
import { u as L, m as R } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { unsafeStatic as E, html as I } from "lit/static-html.js";
|
|
9
10
|
import { g as n } from "../../chunks/globalCss.js";
|
|
10
|
-
import { c as l, B as
|
|
11
|
-
import { css as
|
|
11
|
+
import { c as l, B as D } from "../../chunks/basemap-gallery-item.js";
|
|
12
|
+
import { css as S } from "@lit/reactive-element/css-tag.js";
|
|
12
13
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
13
14
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
14
|
-
v4.32.0-next.
|
|
15
|
-
function
|
|
16
|
-
const s =
|
|
17
|
-
return
|
|
15
|
+
v4.32.0-next.87 */
|
|
16
|
+
function A({ level: o, class: t, children: e }) {
|
|
17
|
+
const s = k(o), a = `h${s}`, i = E(a);
|
|
18
|
+
return I`<${i} .ariaLevel=${String(s)} class=${r(v(n.heading, t))} role=heading>${e}</${i}>`;
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
+
function C(o, t, e) {
|
|
20
21
|
return Math.min(Math.max(o, t), e);
|
|
21
22
|
}
|
|
22
|
-
function
|
|
23
|
-
return
|
|
23
|
+
function k(o) {
|
|
24
|
+
return C(Math.ceil(o), 1, 6);
|
|
24
25
|
}
|
|
25
|
-
const
|
|
26
|
+
const G = S`arcgis-basemap-gallery{display:block}`, K = R(M), m = {
|
|
26
27
|
// Below this width, items are displayed as a single column and the thumbnail is placed above the title.
|
|
27
28
|
small: 200,
|
|
28
29
|
// Below this width, items are displayed as a single column but with the thumbnail side-by-side
|
|
@@ -32,18 +33,18 @@ const k = D`arcgis-basemap-gallery{display:block}`, K = E($), h = {
|
|
|
32
33
|
// Above this width, items are displayed in a grid.
|
|
33
34
|
wide: 420
|
|
34
35
|
};
|
|
35
|
-
class H extends
|
|
36
|
+
class H extends $ {
|
|
36
37
|
constructor() {
|
|
37
|
-
super(...arguments), this.messages = L({}), this.viewModel = K(this), this.
|
|
38
|
+
super(...arguments), this.messages = L({}), this.viewModel = K(this), this._width = 0, this._state = "", this._itemsState = "", this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.disabled = !1, this.headingLevel = 2, this.icon = "basemap", this.label = "", this.position = "bottom-left", this.source = this.viewModel.source, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("activeBasemap", "state"), this.arcgisReady = _();
|
|
38
39
|
}
|
|
39
40
|
static {
|
|
40
41
|
this.properties = { _width: 16, _state: 16, _itemsState: 16, activeBasemap: 0, autoDestroyDisabled: 5, disabled: 7, headingLevel: 9, icon: 1, label: 1, position: 1, referenceElement: 1, source: 0, state: 3 };
|
|
41
42
|
}
|
|
42
43
|
static {
|
|
43
|
-
this.shadowRootOptions =
|
|
44
|
+
this.shadowRootOptions = B;
|
|
44
45
|
}
|
|
45
46
|
static {
|
|
46
|
-
this.styles =
|
|
47
|
+
this.styles = G;
|
|
47
48
|
}
|
|
48
49
|
//#endregion
|
|
49
50
|
//#region Public Methods
|
|
@@ -55,22 +56,22 @@ class H extends B {
|
|
|
55
56
|
//#region Lifecycle
|
|
56
57
|
loaded() {
|
|
57
58
|
this.manager.onLifecycle(() => [
|
|
58
|
-
|
|
59
|
+
b(() => this.source, () => {
|
|
59
60
|
this.viewModel.loadSource();
|
|
60
61
|
}, { sync: !0, initial: !0 }),
|
|
61
|
-
|
|
62
|
+
p(() => this.source.state, () => {
|
|
62
63
|
this._state = this.source.state;
|
|
63
64
|
}, { sync: !0 }),
|
|
64
|
-
|
|
65
|
+
p(() => this.viewModel.items.filter((s) => s.state !== "ready").length, (s) => {
|
|
65
66
|
this._itemsState = s > 0 ? "loading" : "ready";
|
|
66
67
|
}, { sync: !0 }),
|
|
67
|
-
|
|
68
|
+
p(() => this.viewModel.activeBasemap, () => {
|
|
68
69
|
this.el.childElem?.querySelector(`[data-basemap="${this.viewModel.activeBasemap?.id}"]`)?.focus();
|
|
69
70
|
}, { sync: !0 })
|
|
70
71
|
]);
|
|
71
72
|
const t = new ResizeObserver((s) => {
|
|
72
|
-
for (const
|
|
73
|
-
this._width =
|
|
73
|
+
for (const a of s)
|
|
74
|
+
this._width = a.contentRect.width;
|
|
74
75
|
}), e = this.el.childElem;
|
|
75
76
|
e && t.observe(e);
|
|
76
77
|
}
|
|
@@ -84,23 +85,23 @@ class H extends B {
|
|
|
84
85
|
if (!["ArrowUp", "ArrowDown", "ArrowRight", "ArrowLeft"].includes(e))
|
|
85
86
|
return;
|
|
86
87
|
t.preventDefault();
|
|
87
|
-
const { items:
|
|
88
|
-
|
|
88
|
+
const { items: a, activeBasemapIndex: i } = this.viewModel, h = e === "ArrowUp" || e === "ArrowLeft" ? this._getRoundRobinIndex(Math.max(i - 1, -1), a.length) : this._getRoundRobinIndex(i + 1, a.length), d = a.at(h);
|
|
89
|
+
d?.state === "ready" && (this.viewModel.activeBasemap = d.basemap);
|
|
89
90
|
}
|
|
90
91
|
//#endregion
|
|
91
92
|
//#region Rendering
|
|
92
93
|
render() {
|
|
93
|
-
const t = this.source.state === "loading", e = this.disabled || this.state === "disabled", s = this.viewModel.items,
|
|
94
|
+
const t = this.source.state === "loading", e = this.disabled || this.state === "disabled", s = this.viewModel.items, a = {
|
|
94
95
|
[l.sourceLoading]: t,
|
|
95
96
|
[n.disabled]: e,
|
|
96
97
|
"esri-component": !0
|
|
97
98
|
// For compatibility with Esri View UI
|
|
98
|
-
},
|
|
99
|
-
|
|
100
|
-
const
|
|
101
|
-
return
|
|
102
|
-
"--esri-basemap-gallery-small": `${
|
|
103
|
-
})}>${[
|
|
99
|
+
}, i = this._width;
|
|
100
|
+
i <= m.small || i >= m.wide ? a[l.layoutGrid] = !0 : i < m.default && (a[l.narrowItems] = !0);
|
|
101
|
+
const h = t ? c`<div class=${r(l.loader)}></div>` : null, d = t ? null : s.length > 0 ? c`<div aria-disabled=${this.disabled ?? g} aria-label=${this.label ?? g} class=${r(l.itemContainer)} @keydown=${this._handleKeyDown} role=radiogroup>${s.map((u, w) => D({ disabled: e, item: u, itemIndex: w, viewModel: this.viewModel, messages: this.messages, state: u.state }))}</div>` : c`<div class=${r(n.empty)}>${A({ level: this.headingLevel, children: this.messages.noBasemaps })}</div>`;
|
|
102
|
+
return c`<div class=${r(v(l.base, n.widget, n.panel, a))} style=${x({
|
|
103
|
+
"--esri-basemap-gallery-small": `${m.small}px`
|
|
104
|
+
})}>${[h, d]}</div>`;
|
|
104
105
|
}
|
|
105
106
|
}
|
|
106
107
|
y("arcgis-basemap-gallery", H);
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
-
import {
|
|
5
|
+
import { default as BasemapLayerList } from '@arcgis/core/widgets/BasemapLayerList.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useBasemapLayerListWidget: (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<BasemapLayerList, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.BasemapLayerListViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useBasemapLayerListWidget: (component: import('@arcgis/components-
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.BasemapLayerListProperties): __esri.BasemapLayerListProperties | Promise<__esri.BasemapLayerListProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.BasemapLayerListProperties | undefined): __esri.BasemapLayerListProperties | Promise<__esri.BasemapLayerListProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => BasemapLayerList;
|
|
36
37
|
/** [BasemapLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapLayerList.html) provides a way to display a list of [Basemap](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html) layers and switch on/off their visibility. [Base layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#baseLayers) and [reference layers](https://developers.arcgis.com/javascript/latest/api-reference/esri-Basemap.html#referenceLayers) are divided into separate sections. When editing is enabled, layers can be reordered by dragging and dropping between the lists and the title can be edited.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisBasemapLayerList extends LitElement {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { c as e } from "../../chunks/runtime.js";
|
|
2
2
|
import { usePropertyChange as t } from "@arcgis/components-controllers";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
3
|
+
import { reEmitEvent as i } from "@arcgis/components-controllers/accessor";
|
|
4
|
+
import s from "@arcgis/core/widgets/BasemapLayerList.js";
|
|
5
5
|
import { LitElement as r, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
|
-
import {
|
|
6
|
+
import { m as o } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as h } from "@lit/reactive-element/css-tag.js";
|
|
8
8
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
9
9
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
10
|
-
v4.32.0-next.
|
|
11
|
-
const d = h`arcgis-basemap-layer-list{display:block}`, n = s
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const d = h`arcgis-basemap-layer-list{display:block}`, n = o(s);
|
|
12
12
|
class c extends r {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.baseFilterPredicate = this.widget.baseFilterPredicate, this.baseFilterText = this.widget.baseFilterText, this.baseListItemCreatedFunction = this.widget.baseListItemCreatedFunction, this.basemapTitle = this.widget.basemapTitle, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.editingTitle = this.widget.editingTitle, this.filterPlaceholder = this.widget.filterPlaceholder, this.headingLevel = this.widget.headingLevel, this.hideBaseLayers = this.widget.visibleElements.baseLayers, this.hideFlow = this.widget.visibleElements.flow, this.hideHeading = this.widget.visibleElements.heading, this.hideReferenceLayers = this.widget.visibleElements.referenceLayers, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.referenceFilterPredicate = this.widget.referenceFilterPredicate, this.referenceFilterText = this.widget.referenceFilterText, this.referenceListItemCreatedFunction = this.widget.referenceListItemCreatedFunction, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditTitleButton = this.widget.visibleElements.editTitleButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisTriggerAction =
|
|
14
|
+
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.baseFilterPredicate = this.widget.baseFilterPredicate, this.baseFilterText = this.widget.baseFilterText, this.baseListItemCreatedFunction = this.widget.baseListItemCreatedFunction, this.basemapTitle = this.widget.basemapTitle, this.catalogOptions = this.widget.catalogOptions, this.collapsed = this.widget.collapsed, this.dragEnabled = this.widget.dragEnabled, this.editingTitle = this.widget.editingTitle, this.filterPlaceholder = this.widget.filterPlaceholder, this.headingLevel = this.widget.headingLevel, this.hideBaseLayers = this.widget.visibleElements.baseLayers, this.hideFlow = this.widget.visibleElements.flow, this.hideHeading = this.widget.visibleElements.heading, this.hideReferenceLayers = this.widget.visibleElements.referenceLayers, this.hideStatusIndicators = this.widget.visibleElements.statusIndicators, this.icon = this.widget.icon, this.label = this.widget.label, this.minFilterItems = this.widget.minFilterItems, this.position = "bottom-left", this.referenceFilterPredicate = this.widget.referenceFilterPredicate, this.referenceFilterText = this.widget.referenceFilterText, this.referenceListItemCreatedFunction = this.widget.referenceListItemCreatedFunction, this.selectedItems = this.widget.selectedItems, this.selectionMode = this.widget.selectionMode, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditTitleButton = this.widget.visibleElements.editTitleButton, this.showErrors = this.widget.visibleElements.errors, this.showFilter = this.widget.visibleElements.filter, this.showTemporaryLayerIndicators = this.widget.visibleElements.temporaryLayerIndicators, this.state = this.viewModel.state, this.visibilityAppearance = this.widget.visibilityAppearance, this.arcgisPropertyChange = t()("state"), this.arcgisReady = a(), this.arcgisTriggerAction = i(() => this.widget, "trigger-action");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { autoDestroyDisabled: 5, baseFilterPredicate: 0, baseFilterText: 1, baseItems: 32, baseListItemCreatedFunction: 0, basemapTitle: 1, catalogLayerList: 32, catalogOptions: 0, collapsed: 7, dragEnabled: 5, editingTitle: 5, filterPlaceholder: 1, headingLevel: 9, hideBaseLayers: 5, hideFlow: 5, hideHeading: 5, hideReferenceLayers: 5, hideStatusIndicators: 5, icon: 1, label: 1, minFilterItems: 9, position: 1, referenceElement: 1, referenceFilterPredicate: 0, referenceFilterText: 1, referenceItems: 32, referenceListItemCreatedFunction: 0, selectedItems: 0, selectionMode: 1, showCloseButton: 5, showCollapseButton: 5, showEditTitleButton: 5, showErrors: 5, showFilter: 5, showTemporaryLayerIndicators: 5, state: 3, visibilityAppearance: 1 };
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
|
-
import { Nil } from '@arcgis/components-utils';
|
|
5
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
|
+
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as BasemapToggleViewModel } from '@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js';
|
|
6
6
|
import { JsxNode, PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useBasemapToggleViewModel: (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<BasemapToggleViewModel, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: "ready" | "disabled" | "loading" | "incompatible-next-basemap" | undefined;
|
|
16
17
|
icon: Nil | string;
|
|
@@ -31,12 +32,12 @@ declare const useBasemapToggleViewModel: (component: import('@arcgis/components-
|
|
|
31
32
|
destroy: () => Promise<void>;
|
|
32
33
|
}, options?: {
|
|
33
34
|
editConstructorProperties(props: unknown): unknown;
|
|
34
|
-
} | undefined) =>
|
|
35
|
+
} | undefined) => BasemapToggleViewModel;
|
|
35
36
|
/** [BasemapToggle](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle.html) allows an end-user to switch between two basemaps. The toggled basemap is set inside the [view's](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BasemapToggle.html#view) [map](https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#map) object.
|
|
36
37
|
*/
|
|
37
38
|
export declare class ArcgisBasemapToggle extends LitElement {
|
|
38
39
|
private messages;
|
|
39
|
-
readonly activeBasemap:
|
|
40
|
+
readonly activeBasemap: __esri.Basemap | nullish;
|
|
40
41
|
/**
|
|
41
42
|
* If true, the component will not be destroyed automatically when
|
|
42
43
|
* it is disconnected from the document. This is useful when you
|
|
@@ -55,7 +56,7 @@ export declare class ArcgisBasemapToggle extends LitElement {
|
|
|
55
56
|
/** Overwrite localized strings for this component */
|
|
56
57
|
messageOverrides?: typeof this.messages._overrides;
|
|
57
58
|
/** The next basemap for toggling. */
|
|
58
|
-
nextBasemap:
|
|
59
|
+
nextBasemap: __esri.Basemap | nullish;
|
|
59
60
|
position: __esri.UIPosition;
|
|
60
61
|
referenceElement: ArcgisReferenceElement | Nil | string;
|
|
61
62
|
/** The visible elements that are displayed within the widget. */
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { c as B } from "../../chunks/runtime.js";
|
|
2
2
|
import { html as l } from "lit-html";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
3
|
+
import { usePropertyChange as f } from "@arcgis/components-controllers";
|
|
4
|
+
import { classes as m } from "@arcgis/components-utils";
|
|
5
|
+
import { getBasemapThumbnailUrl as S } from "@arcgis/core/applications/Components/basemapUtils.js";
|
|
6
|
+
import x from "@arcgis/core/widgets/BasemapToggle/BasemapToggleViewModel.js";
|
|
7
|
+
import { LitElement as T, createEvent as M, noShadowRoot as k, safeClassMap as a, nothing as c, safeStyleMap as b } from "@arcgis/lumina";
|
|
8
|
+
import { u as I, m as C } from "../../chunks/useViewModel.js";
|
|
9
|
+
import { g as u } from "../../chunks/globalCss.js";
|
|
9
10
|
import { css as L } from "@lit/reactive-element/css-tag.js";
|
|
10
11
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
11
12
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
12
|
-
v4.32.0-next.
|
|
13
|
-
const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
13
|
+
v4.32.0-next.87 */
|
|
14
|
+
const A = L`arcgis-basemap-toggle{display:block}`, s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
14
15
|
base: s,
|
|
15
16
|
secondaryBasemapImage: `${s}__image--secondary`,
|
|
16
17
|
container: `${o} ${s}__container`,
|
|
@@ -19,19 +20,19 @@ const s = "esri-basemap-toggle", o = "esri-basemap-thumbnail", e = {
|
|
|
19
20
|
overlay: `${o}__overlay ${s}__image-overlay`,
|
|
20
21
|
title: `${o}__title ${s}__title`,
|
|
21
22
|
overlayScrim: `${o}__overlay-scrim`
|
|
22
|
-
},
|
|
23
|
-
class E extends
|
|
23
|
+
}, D = C(x);
|
|
24
|
+
class E extends T {
|
|
24
25
|
constructor() {
|
|
25
|
-
super(...arguments), this.
|
|
26
|
+
super(...arguments), this.messages = I(), this.viewModel = D(this), this.activeBasemap = this.viewModel.activeBasemap, this.autoDestroyDisabled = !1, this.icon = "layer-basemap", this.nextBasemap = this.viewModel.nextBasemap, this.position = "top-left", this.showTitle = !1, this.state = this.viewModel.state, this.arcgisPropertyChange = f()("nextBasemap", "state"), this.arcgisReady = M();
|
|
26
27
|
}
|
|
27
28
|
static {
|
|
28
29
|
this.properties = { activeBasemap: 0, autoDestroyDisabled: 5, icon: 3, label: 1, messageOverrides: 0, nextBasemap: 0, position: 3, referenceElement: 1, showTitle: 5, state: 3 };
|
|
29
30
|
}
|
|
30
31
|
static {
|
|
31
|
-
this.shadowRootOptions =
|
|
32
|
+
this.shadowRootOptions = k;
|
|
32
33
|
}
|
|
33
34
|
static {
|
|
34
|
-
this.styles =
|
|
35
|
+
this.styles = A;
|
|
35
36
|
}
|
|
36
37
|
// #endregion
|
|
37
38
|
// #region Public Methods
|
|
@@ -46,16 +47,16 @@ class E extends C {
|
|
|
46
47
|
// #endregion
|
|
47
48
|
// #region Private Methods
|
|
48
49
|
_getThumbnailStyles(t) {
|
|
49
|
-
const n =
|
|
50
|
+
const n = S(t);
|
|
50
51
|
return n ? { backgroundImage: `url(${n})` } : { backgroundImage: "" };
|
|
51
52
|
}
|
|
52
53
|
// #endregion
|
|
53
54
|
// #region Rendering
|
|
54
55
|
render() {
|
|
55
|
-
const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading",
|
|
56
|
+
const t = this.viewModel, n = t.state === "disabled" ? null : t.activeBasemap, i = t.state === "disabled" ? null : t.nextBasemap, $ = t.state === "loading", d = t.state === "incompatible-next-basemap", r = i?.title ?? "", p = i && i.loadStatus !== "loaded";
|
|
56
57
|
let g;
|
|
57
|
-
const h = this.showTitle &&
|
|
58
|
-
return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${
|
|
58
|
+
const h = this.showTitle && r, v = d, y = h || v, w = this._getThumbnailStyles(n), _ = this._getThumbnailStyles(i);
|
|
59
|
+
return y && (g = l`<div class=${a(e.overlay)}>${h ? l`<span class=${a(e.title)} title=${r ?? c}>${r}</span>` : null}${v ? l`<calcite-scrim class=${a(e.overlayScrim)} title=${this.messages.incompatibleSpatialReference ?? c}><calcite-icon icon=exclamation-mark-triangle></calcite-icon></calcite-scrim>` : null}</div>`), l`<div class=${a(m(e.base, u.widget))}><calcite-button appearance=transparent data-basemap-id=${(i ? i.id : "") ?? c} .disabled=${d} kind=neutral .label=${this.label ?? void 0} @click=${() => void this.toggle()} title=${this.label ?? void 0 ?? c}><div class=${a(m(e.container, e.secondaryBasemapImage))}><div class=${a(e.image)} style=${b(w)}></div></div><div class=${a(e.container)}><div class=${a(m(e.image, p ? e.imageLoading : null))} style=${b(_)}>${p || $ ? l`<calcite-scrim><span aria-hidden=true class=${a(u.loaderAnimation)} role=presentation></span></calcite-scrim>` : null}</div>${g}</div></calcite-button></div>`;
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
62
|
B("arcgis-basemap-toggle", E);
|
|
@@ -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 Bookmarks } from '@arcgis/core/widgets/Bookmarks.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useBookmarksWidget: (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<Bookmarks, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.BookmarksViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useBookmarksWidget: (component: import('@arcgis/components-control
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.BookmarksProperties): __esri.BookmarksProperties | Promise<__esri.BookmarksProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.BookmarksProperties | undefined): __esri.BookmarksProperties | Promise<__esri.BookmarksProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => Bookmarks;
|
|
36
37
|
/** [Bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Bookmarks.html) allow end users to quickly navigate to a particular area of interest. It displays a list of [bookmarks](https://developers.arcgis.com/javascript/latest/api-reference/esri-webmap-Bookmark.html), which are typically defined inside the [WebMap](https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html#bookmarks).
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisBookmarks extends LitElement {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { c as i } from "../../chunks/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import { usePropertyChange as s } from "@arcgis/components-controllers";
|
|
4
|
-
import { m as o } from "../../chunks/useWidget.js";
|
|
5
|
-
import { LitElement as a, createEvent as l, 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/Bookmarks.js";
|
|
5
|
+
import { LitElement as o, createEvent as a, noShadowRoot as l } from "@arcgis/lumina";
|
|
6
|
+
import { m as h } from "../../chunks/useWidget.js";
|
|
7
7
|
import { css as d } 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 r = d`arcgis-bookmarks{display:block}`, n =
|
|
12
|
-
class m extends
|
|
10
|
+
v4.32.0-next.87 */
|
|
11
|
+
const r = d`arcgis-bookmarks{display:block}`, n = h(s);
|
|
12
|
+
class m extends o {
|
|
13
13
|
constructor() {
|
|
14
|
-
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange =
|
|
14
|
+
super(...arguments), this.widget = n(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.bookmarks = this.widget.bookmarks, this.defaultCreateOptions = this.widget.defaultCreateOptions, this.defaultEditOptions = this.widget.defaultEditOptions, this.disabled = this.widget.disabled, this.dragEnabled = this.widget.dragEnabled, this.filterPlaceholder = this.widget.filterPlaceholder, this.filterText = this.widget.filterText, this.hideFlow = this.widget.visibleElements.flow, this.hideThumbnail = this.widget.visibleElements.thumbnail, this.hideTime = this.widget.visibleElements.time, this.icon = this.widget.icon, this.label = this.widget.label, this.position = "bottom-left", this.showAddBookmarkButton = this.widget.visibleElements.addBookmarkButton, this.showCloseButton = this.widget.visibleElements.closeButton, this.showCollapseButton = this.widget.visibleElements.collapseButton, this.showEditBookmarkButton = this.widget.visibleElements.editBookmarkButton, this.showFilter = this.widget.visibleElements.filter, this.showHeading = this.widget.visibleElements.heading, this.state = this.viewModel.state, this.arcgisEdit = t(() => this.widget, "bookmark-edit"), this.arcgisPropertyChange = e()("state"), this.arcgisReady = a(), this.arcgisSelect = t(() => this.widget, "bookmark-select");
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.properties = { autoDestroyDisabled: 5, bookmarks: 0, defaultCreateOptions: 0, defaultEditOptions: 0, disabled: 7, dragEnabled: 5, filterPlaceholder: 1, filterText: 1, hideFlow: 5, hideThumbnail: 5, hideTime: 5, icon: 1, label: 1, position: 1, referenceElement: 1, showAddBookmarkButton: 5, showCloseButton: 5, showCollapseButton: 5, showEditBookmarkButton: 5, showFilter: 5, showHeading: 5, state: 3 };
|
|
18
18
|
}
|
|
19
19
|
static {
|
|
20
|
-
this.shadowRootOptions =
|
|
20
|
+
this.shadowRootOptions = l;
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
23
|
this.styles = r;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
/// <reference types="@arcgis/core/interfaces.d.ts" />
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
|
-
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
4
3
|
import { Use } from '@arcgis/components-controllers';
|
|
5
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
+
import { default as BuildingExplorer } from '@arcgis/core/widgets/BuildingExplorer.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useBuildingExplorerWidget: (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<BuildingExplorer, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.BuildingExplorerViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useBuildingExplorerWidget: (component: import('@arcgis/components-
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.BuildingExplorerProperties): __esri.BuildingExplorerProperties | Promise<__esri.BuildingExplorerProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.BuildingExplorerProperties | undefined): __esri.BuildingExplorerProperties | Promise<__esri.BuildingExplorerProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => BuildingExplorer;
|
|
36
37
|
/** [BuildingExplorer](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-BuildingExplorer.html) is used to filter and explore the various components of [BuildingSceneLayers](https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-BuildingSceneLayer.html). BuildingSceneLayers are complex digital models of buildings and interiors and can contain thousands of components grouped in sublayers. Using this component, buildings can be filtered by level, construction phase or by disciplines and categories.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisBuildingExplorer extends LitElement {
|
|
@@ -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 i } from "@arcgis/components-controllers";
|
|
3
|
+
import s from "@arcgis/core/widgets/BuildingExplorer.js";
|
|
4
|
+
import { LitElement as t, createEvent as l, noShadowRoot as o } from "@arcgis/lumina";
|
|
5
|
+
import { m as h } from "../../chunks/useWidget.js";
|
|
6
6
|
import { css as r } from "@lit/reactive-element/css-tag.js";
|
|
7
7
|
/*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
|
|
8
8
|
See https://js.arcgis.com/4.32/esri/copyright.txt for details.
|
|
9
|
-
v4.32.0-next.
|
|
10
|
-
const a = r`arcgis-building-explorer{display:block}`, d = s
|
|
11
|
-
class n extends
|
|
9
|
+
v4.32.0-next.87 */
|
|
10
|
+
const a = r`arcgis-building-explorer{display:block}`, d = h(s);
|
|
11
|
+
class n extends t {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideDisciplines = this.widget.visibleElements.disciplines, this.hideLevels = this.widget.visibleElements.levels, this.hidePhases = this.widget.visibleElements.phases, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.level = this.viewModel.level, this.phase = this.viewModel.phase, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange =
|
|
13
|
+
super(...arguments), this.widget = d(this), this.viewModel = this.widget.viewModel, this.autoDestroyDisabled = !1, this.headingLevel = this.widget.headingLevel, this.hideDisciplines = this.widget.visibleElements.disciplines, this.hideLevels = this.widget.visibleElements.levels, this.hidePhases = this.widget.visibleElements.phases, this.icon = this.widget.icon, this.label = this.widget.label, this.layers = this.widget.layers, this.level = this.viewModel.level, this.phase = this.viewModel.phase, this.position = "bottom-left", this.state = this.viewModel.state, this.arcgisPropertyChange = i()("level", "phase", "state"), this.arcgisReady = l();
|
|
14
14
|
}
|
|
15
15
|
static {
|
|
16
16
|
this.properties = { autoDestroyDisabled: 5, headingLevel: 9, hideDisciplines: 5, hideLevels: 5, hidePhases: 5, icon: 1, label: 1, layers: 0, level: 0, phase: 0, position: 1, referenceElement: 1, state: 3 };
|
|
17
17
|
}
|
|
18
18
|
static {
|
|
19
|
-
this.shadowRootOptions =
|
|
19
|
+
this.shadowRootOptions = o;
|
|
20
20
|
}
|
|
21
21
|
static {
|
|
22
22
|
this.styles = a;
|
|
@@ -2,15 +2,16 @@
|
|
|
2
2
|
/// <reference types="../../index.d.ts" />
|
|
3
3
|
import { Use } from '@arcgis/components-controllers';
|
|
4
4
|
import { Nil } from '@arcgis/components-utils';
|
|
5
|
-
import {
|
|
5
|
+
import { default as CatalogLayerList } from '@arcgis/core/widgets/CatalogLayerList.js';
|
|
6
6
|
import { PublicLitElement as LitElement, TargetedEvent } from '@arcgis/lumina';
|
|
7
|
+
import { ArcgisReferenceElement } from '../../utils/component-utils';
|
|
7
8
|
|
|
8
9
|
declare const useCatalogLayerListWidget: (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<CatalogLayerList, never> & {
|
|
14
15
|
reactiveUtils?: typeof __esri.reactiveUtils;
|
|
15
16
|
state?: unknown;
|
|
16
17
|
viewModel?: __esri.CatalogLayerListViewModel | undefined;
|
|
@@ -31,8 +32,8 @@ declare const useCatalogLayerListWidget: (component: import('@arcgis/components-
|
|
|
31
32
|
autoDestroyDisabled: boolean;
|
|
32
33
|
destroy: () => Promise<void>;
|
|
33
34
|
}, options?: {
|
|
34
|
-
editConstructorProperties(props: __esri.CatalogLayerListProperties): __esri.CatalogLayerListProperties | Promise<__esri.CatalogLayerListProperties
|
|
35
|
-
} | undefined) =>
|
|
35
|
+
editConstructorProperties(props: __esri.CatalogLayerListProperties | undefined): __esri.CatalogLayerListProperties | Promise<__esri.CatalogLayerListProperties | undefined> | undefined;
|
|
36
|
+
} | undefined) => CatalogLayerList;
|
|
36
37
|
/** The [CatalogLayerList](https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-CatalogLayerList.html) provides a way to display and interact with CatalogLayers.
|
|
37
38
|
*/
|
|
38
39
|
export declare class ArcgisCatalogLayerList extends LitElement {
|