@arcgis/map-components 5.2.0-next.86 → 5.2.0-next.88
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/cdn/2GQ6KVNI.js +2 -0
- package/dist/cdn/3CFRD2EN.js +2 -0
- package/dist/cdn/{YXA3DG4H.js → 3W4IH5LQ.js} +1 -1
- package/dist/cdn/5L5UYV3H.js +2 -0
- package/dist/cdn/{7IWMEBK6.js → 6BNYO33V.js} +1 -1
- package/dist/cdn/6NGRUK5C.js +2 -0
- package/dist/cdn/BPHJ4VBC.js +2 -0
- package/dist/cdn/CFB4ZR5F.js +2 -0
- package/dist/cdn/D6MRDGUC.js +2 -0
- package/dist/cdn/EFUTKX2O.js +2 -0
- package/dist/cdn/{PNSES5YC.js → EGUVICJF.js} +1 -1
- package/dist/cdn/FXK4G4VK.js +2 -0
- package/dist/cdn/GNVPXNTX.js +2 -0
- package/dist/cdn/HTEIMRY6.js +2 -0
- package/dist/cdn/I2D75Q7M.js +2 -0
- package/dist/cdn/IMG5GOJB.js +2 -0
- package/dist/cdn/JXBEE5GW.js +2 -0
- package/dist/cdn/JZC42PXS.js +2 -0
- package/dist/cdn/K3N6NHJW.js +2 -0
- package/dist/cdn/KN4PG54T.js +2 -0
- package/dist/cdn/{56NINR5L.js → KNMMVZVV.js} +1 -1
- package/dist/cdn/M66G67OC.js +2 -0
- package/dist/cdn/MQX2F54G.js +2 -0
- package/dist/cdn/NB5DQKQY.js +2 -0
- package/dist/cdn/NFWFRHUT.js +2 -0
- package/dist/cdn/PCEAIDCB.js +2 -0
- package/dist/cdn/PMU2DO3P.js +2 -0
- package/dist/cdn/{LTGPFC6N.js → PWEF6IKF.js} +1 -1
- package/dist/cdn/{HWLBIEGO.js → RS5BEGC5.js} +1 -1
- package/dist/cdn/{K4V76SMR.js → TAIZWQYU.js} +1 -1
- package/dist/cdn/TPG3TU6B.js +2 -0
- package/dist/cdn/TRFWUKXA.js +2 -0
- package/dist/cdn/TSZ26CSX.js +2 -0
- package/dist/cdn/V4W4ZP6M.js +2 -0
- package/dist/cdn/XM2OBGXW.js +2 -0
- package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
- package/dist/cdn/assets/utility-network-picker/t9n/messages.en.json +1 -0
- package/dist/cdn/index.js +1 -1
- package/dist/cdn/main.css +1 -1
- package/dist/chunks/constants2.js +6 -0
- package/dist/chunks/useArcgisViewReadyError.js +42 -27
- package/dist/components/arcgis-aggregated-features/customElement.js +0 -1
- package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +10 -0
- package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +10 -0
- package/dist/components/arcgis-attachments/customElement.d.ts +10 -0
- package/dist/components/arcgis-basemap-gallery/customElement.d.ts +10 -0
- package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +604 -51
- package/dist/components/arcgis-basemap-layer-list-next/customElement.js +2 -2
- package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +39 -0
- package/dist/components/arcgis-basemap-toggle/customElement.d.ts +10 -0
- package/dist/components/arcgis-bookmarks/customElement.d.ts +20 -0
- package/dist/components/arcgis-bookmarks/customElement.js +0 -1
- package/dist/components/arcgis-building-explorer/customElement.d.ts +10 -0
- package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +23 -0
- package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +433 -59
- package/dist/components/arcgis-catalog-layer-list-next/customElement.js +2 -2
- package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +41 -6
- package/dist/components/arcgis-compass/customElement.d.ts +10 -0
- package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +10 -0
- package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-daylight/customElement.d.ts +10 -0
- package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +10 -0
- package/dist/components/arcgis-directional-pad/customElement.d.ts +10 -0
- package/dist/components/arcgis-directions/customElement.d.ts +10 -0
- package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +10 -0
- package/dist/components/arcgis-editor/customElement.d.ts +10 -0
- package/dist/components/arcgis-elevation-profile/customElement.d.ts +10 -0
- package/dist/components/arcgis-expand/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-form/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-next/customElement.d.ts +32 -1
- package/dist/components/arcgis-feature-next/customElement.js +4 -4
- package/dist/components/arcgis-feature-table/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-templates/customElement.d.ts +10 -0
- package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-features/customElement.d.ts +20 -0
- package/dist/components/arcgis-features/customElement.js +3 -3
- package/dist/components/arcgis-features-next/customElement.d.ts +32 -1
- package/dist/components/arcgis-features-next/customElement.js +98 -86
- package/dist/components/arcgis-features-next/index.js +0 -1
- package/dist/components/arcgis-floor-filter/customElement.d.ts +10 -0
- package/dist/components/arcgis-grid-controls/customElement.d.ts +10 -0
- package/dist/components/arcgis-grid-controls/customElement.js +1 -1
- package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-home/customElement.d.ts +10 -0
- package/dist/components/arcgis-layer-list/customElement.d.ts +20 -0
- package/dist/components/arcgis-layer-list-next/customElement.d.ts +285 -123
- package/dist/components/arcgis-layer-list-next/customElement.js +2 -3
- package/dist/components/arcgis-layer-list-next/types.d.ts +44 -6
- package/dist/components/arcgis-legend/customElement.d.ts +10 -0
- package/dist/components/arcgis-line-of-sight/customElement.d.ts +10 -0
- package/dist/components/arcgis-link-chart/customElement.d.ts +19 -5
- package/dist/components/arcgis-link-chart/customElement.js +24 -18
- package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +10 -0
- package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +10 -0
- package/dist/components/arcgis-locate/customElement.d.ts +10 -0
- package/dist/components/arcgis-map/customElement.d.ts +19 -5
- package/dist/components/arcgis-map/customElement.js +19 -13
- package/dist/components/arcgis-measurement/customElement.d.ts +10 -0
- package/dist/components/arcgis-multi-feature-form/customElement.d.ts +25 -1
- package/dist/components/arcgis-navigation-toggle/customElement.d.ts +10 -0
- package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +10 -0
- package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +0 -2
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +15 -16
- package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +10 -0
- package/dist/components/arcgis-paste/customElement.d.ts +10 -0
- package/dist/components/arcgis-paste/customElement.js +0 -1
- package/dist/components/arcgis-popup/customElement.d.ts +27 -7
- package/dist/components/arcgis-popup/customElement.js +11 -14
- package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +6 -0
- package/dist/components/arcgis-presentation/customElement.d.ts +18 -6
- package/dist/components/arcgis-presentation/customElement.js +197 -157
- package/dist/components/arcgis-presentation/index.js +2 -0
- package/dist/components/arcgis-presentation-captions/customElement.js +4 -4
- package/dist/components/arcgis-presentation-slide-list/customElement.js +49 -0
- package/dist/components/arcgis-presentation-slide-list/index.js +3 -0
- package/dist/components/arcgis-print/customElement.d.ts +10 -0
- package/dist/components/arcgis-scale-bar/customElement.d.ts +10 -0
- package/dist/components/arcgis-scale-range-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-scene/customElement.d.ts +19 -5
- package/dist/components/arcgis-scene/customElement.js +21 -15
- package/dist/components/arcgis-search/customElement.d.ts +10 -0
- package/dist/components/arcgis-search-result-renderer/customElement.d.ts +10 -0
- package/dist/components/arcgis-selection-toolbar/customElement.d.ts +10 -0
- package/dist/components/arcgis-shadow-cast/customElement.d.ts +10 -0
- package/dist/components/arcgis-sketch/customElement.d.ts +10 -0
- package/dist/components/arcgis-slice/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-scale-range/customElement.d.ts +10 -0
- package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-snapping-controls/customElement.d.ts +10 -0
- package/dist/components/arcgis-swipe/customElement.d.ts +10 -0
- package/dist/components/arcgis-table-list/customElement.d.ts +102 -15
- package/dist/components/arcgis-table-list-next/customElement.d.ts +310 -44
- package/dist/components/arcgis-table-list-next/customElement.js +2 -3
- package/dist/components/arcgis-table-list-next/types.d.ts +37 -0
- package/dist/components/arcgis-template-image/customElement.js +0 -1
- package/dist/components/arcgis-time-bar/customElement.d.ts +10 -0
- package/dist/components/arcgis-time-bar/customElement.js +1 -1
- package/dist/components/arcgis-time-bar-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-time-slider/customElement.d.ts +10 -0
- package/dist/components/arcgis-track/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-associations/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-picker/customElement.d.ts +56 -0
- package/dist/components/arcgis-utility-network-picker/customElement.js +91 -0
- package/dist/components/arcgis-utility-network-picker/index.d.ts +1 -0
- package/dist/components/arcgis-utility-network-picker/index.js +7 -0
- package/dist/components/arcgis-utility-network-trace/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +0 -1
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +0 -1
- package/dist/components/arcgis-utility-network-trace-inputs/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +123 -140
- package/dist/components/arcgis-utility-network-trace-inputs-next/index.js +2 -1
- package/dist/components/arcgis-utility-network-trace-location/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-location-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-results/customElement.js +0 -2
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.d.ts +10 -0
- package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +0 -2
- package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +0 -2
- package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +10 -0
- package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +10 -0
- package/dist/components/arcgis-version-management/customElement.d.ts +10 -0
- package/dist/components/arcgis-version-management-service-item/customElement.js +3 -4
- package/dist/components/arcgis-video/customElement.d.ts +15 -3
- package/dist/components/arcgis-video-player/customElement.d.ts +10 -0
- package/dist/components/arcgis-video-player-actions-group/customElement.js +6 -6
- package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
- package/dist/components/arcgis-volume-measurement/customElement.d.ts +22 -1
- package/dist/components/arcgis-weather/customElement.d.ts +10 -0
- package/dist/components/arcgis-zoom/customElement.d.ts +10 -0
- package/dist/docs/api.json +1 -1
- package/dist/docs/docs.json +1 -1
- package/dist/docs/vscode.html-custom-data.json +1 -1
- package/dist/docs/web-types.json +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/loader.js +5 -3
- package/dist/types/lumina.d.ts +10 -3
- package/dist/types/preact.d.ts +11 -3
- package/dist/types/react.d.ts +12 -3
- package/dist/types/stencil.d.ts +10 -3
- package/package.json +7 -7
- package/dist/cdn/3UUQJCZL.js +0 -2
- package/dist/cdn/42TPQKQZ.js +0 -2
- package/dist/cdn/4T6ECCFH.js +0 -2
- package/dist/cdn/4UBDCXSK.js +0 -2
- package/dist/cdn/6MEC4BFN.js +0 -2
- package/dist/cdn/AJ7XRBWN.js +0 -2
- package/dist/cdn/ARVN7QLQ.js +0 -2
- package/dist/cdn/BVDQQOCR.js +0 -2
- package/dist/cdn/DKBC3UMW.js +0 -2
- package/dist/cdn/DSIL7TYR.js +0 -2
- package/dist/cdn/FZHWZNBO.js +0 -2
- package/dist/cdn/G2PAKIMS.js +0 -2
- package/dist/cdn/JOOHHKWH.js +0 -2
- package/dist/cdn/KS5TQB2A.js +0 -2
- package/dist/cdn/NAQYIBE5.js +0 -2
- package/dist/cdn/NBYN44GP.js +0 -2
- package/dist/cdn/NGB5WVIG.js +0 -2
- package/dist/cdn/PBNP6WFU.js +0 -2
- package/dist/cdn/RDARV7HC.js +0 -2
- package/dist/cdn/RXAUCQQC.js +0 -2
- package/dist/cdn/S22ZRUS7.js +0 -2
- package/dist/cdn/SVOAX4K6.js +0 -2
- package/dist/cdn/TI4BX367.js +0 -2
- package/dist/cdn/TUTTPXC5.js +0 -2
- package/dist/cdn/W5WXJT7N.js +0 -2
- package/dist/cdn/YTC3XBSZ.js +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -107,6 +107,7 @@ import type { ArcgisSliderSizeLegacy } from "./components/arcgis-slider-size-leg
|
|
|
107
107
|
import type { ArcgisSnappingControls } from "./components/arcgis-snapping-controls/customElement.js";
|
|
108
108
|
import type { ArcgisColorSelect } from "./components/arcgis-color-select/customElement.js";
|
|
109
109
|
import type { ArcgisTimeOfDaySlider } from "./components/arcgis-time-of-day-slider/customElement.js";
|
|
110
|
+
import type { ArcgisUtilityNetworkPicker } from "./components/arcgis-utility-network-picker/customElement.js";
|
|
110
111
|
import type { ArcgisWebGlError } from "./components/arcgis-webgl-error/customElement.js";
|
|
111
112
|
import type { ArcgisSwipe } from "./components/arcgis-swipe/customElement.js";
|
|
112
113
|
import type { ArcgisTableList } from "./components/arcgis-table-list/customElement.js";
|
|
@@ -531,6 +532,11 @@ export interface ArcgisTimeOfDaySliderCustomEvent<T> extends CustomEvent<T> {
|
|
|
531
532
|
target: ArcgisTimeOfDaySlider;
|
|
532
533
|
currentTarget: ArcgisTimeOfDaySlider;
|
|
533
534
|
}
|
|
535
|
+
export interface ArcgisUtilityNetworkPickerCustomEvent<T> extends CustomEvent<T> {
|
|
536
|
+
detail: T;
|
|
537
|
+
target: ArcgisUtilityNetworkPicker;
|
|
538
|
+
currentTarget: ArcgisUtilityNetworkPicker;
|
|
539
|
+
}
|
|
534
540
|
export interface ArcgisSwipeCustomEvent<T> extends CustomEvent<T> {
|
|
535
541
|
detail: T;
|
|
536
542
|
target: ArcgisSwipe;
|
|
@@ -763,6 +769,7 @@ declare global {
|
|
|
763
769
|
"arcgis-snapping-controls": ArcgisSnappingControls;
|
|
764
770
|
"arcgis-color-select": ArcgisColorSelect;
|
|
765
771
|
"arcgis-time-of-day-slider": ArcgisTimeOfDaySlider;
|
|
772
|
+
"arcgis-utility-network-picker": ArcgisUtilityNetworkPicker;
|
|
766
773
|
"arcgis-webgl-error": ArcgisWebGlError;
|
|
767
774
|
"arcgis-swipe": ArcgisSwipe;
|
|
768
775
|
"arcgis-table-list": ArcgisTableList;
|
|
@@ -1045,6 +1052,9 @@ declare global {
|
|
|
1045
1052
|
type HTMLArcgisTimeOfDaySliderElementEventMap = ArcgisTimeOfDaySlider["@eventTypes"];
|
|
1046
1053
|
type HTMLArcgisTimeOfDaySliderElement = ArcgisTimeOfDaySlider;
|
|
1047
1054
|
|
|
1055
|
+
type HTMLArcgisUtilityNetworkPickerElementEventMap = ArcgisUtilityNetworkPicker["@eventTypes"];
|
|
1056
|
+
type HTMLArcgisUtilityNetworkPickerElement = ArcgisUtilityNetworkPicker;
|
|
1057
|
+
|
|
1048
1058
|
type HTMLArcgisWebglErrorElement = ArcgisWebGlError;
|
|
1049
1059
|
|
|
1050
1060
|
type HTMLArcgisSwipeElementEventMap = ArcgisSwipe["@eventTypes"];
|
package/dist/loader.js
CHANGED
|
@@ -9,7 +9,7 @@ const s = t(e, {
|
|
|
9
9
|
"arcgis-basemap-gallery": [() => import("./components/arcgis-basemap-gallery/customElement.js"), "activeBasemap,autoDestroyDisabled,disabled,headingLevel,icon,label,messageOverrides:,messages:,referenceElement,source:,state:,view:;destroy"],
|
|
10
10
|
"arcgis-basemap-gallery-item": [() => import("./components/arcgis-basemap-gallery-item/customElement.js"), "disabled,item:,itemIndex,messages:,viewModel:"],
|
|
11
11
|
"arcgis-basemap-layer-list": [() => import("./components/arcgis-basemap-layer-list/customElement.js"), "autoDestroyDisabled,baseFilterPredicate:,baseFilterText,baseItems:,baseListItemCreatedFunction:,basemapTitle,catalogLayerList:,catalogOptions:,closed,collapsed,dragEnabled,editingTitle,filterPlaceholder,headingLevel,hideBaseLayers,hideHeading,hideReferenceLayers,hideStatusIndicators,icon,label,minFilterItems,referenceElement,referenceFilterPredicate:,referenceFilterText,referenceItems:,referenceListItemCreatedFunction:,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showEditTitleButton,showErrors,showFilter,showTemporaryLayerIndicators,state:,view:,visibilityAppearance;destroy"],
|
|
12
|
-
"arcgis-basemap-layer-list-next": [() => import("./components/arcgis-basemap-layer-list-next/customElement.js"), "autoDestroyDisabled,baseFilterPredicate:,baseFilterText,baseItemCreatedFunction:,baseItems:,basemapTitle,catalogLayerList:,catalogOptions:,closed,collapsed,dragEnabled,editingTitle,filterPlaceholder,headingLevel,hideBaseLayers,hideCatalogLayerList,hideHeading,hideNoFilterResultsNotice,hideNoItemsNotice,hideReferenceLayers,hideStatusIndicators,icon,knowledgeGraphOptions:,label,layerTablesEnabled:,listItemCanGiveFunction:,listItemCanReceiveFunction:,listModeDisabled,mapImageOptions:,messageOverrides:,messages:,minFilterItems,openedLayers:,
|
|
12
|
+
"arcgis-basemap-layer-list-next": [() => import("./components/arcgis-basemap-layer-list-next/customElement.js"), "autoDestroyDisabled,baseFilterPredicate:,baseFilterText,baseItemCreatedFunction:,baseItems:,basemapTitle,catalogLayerList:,catalogOptions:,closed,collapsed,dragEnabled,editingTitle,filterPlaceholder,headingLevel,hideBaseLayers,hideCatalogLayerList,hideHeading,hideNoFilterResultsNotice,hideNoItemsNotice,hideReferenceLayers,hideStatusIndicators,icon,knowledgeGraphOptions:,label,layerTablesEnabled:,listItemCanGiveFunction:,listItemCanReceiveFunction:,listModeDisabled,mapImageOptions:,messageOverrides:,messages:,minFilterItems,openedLayers:,referenceElement,referenceFilterPredicate:,referenceFilterText,referenceItemCreatedFunction:,referenceItems:,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showEditTitleButton,showErrors,showFilter,showTemporaryLayerIndicators,state:,tableList:,tileOptions:,view:,visibilityAppearance;destroy"],
|
|
13
13
|
"arcgis-basemap-toggle": [() => import("./components/arcgis-basemap-toggle/customElement.js"), "activeBasemap:,autoDestroyDisabled,icon,label,messageOverrides:,messages:,nextBasemap,referenceElement,showTitle,state:,view:;destroy,toggle"],
|
|
14
14
|
"arcgis-bookmarks": [() => import("./components/arcgis-bookmarks/customElement.js"), "autoDestroyDisabled,bookmarks,closed,defaultCreateOptions:,defaultEditOptions:,disabled,dragEnabled,filterPlaceholder,filterText,goToOverride:,headingLevel,hideThumbnail,hideTime,icon,label,messageOverrides:,messages:,referenceElement,showAddBookmarkButton,showCloseButton,showCollapseButton,showEditBookmarkButton,showFilter,showHeading,state:,timeDisabled,view:;destroy,goTo"],
|
|
15
15
|
"arcgis-building-explorer": [() => import("./components/arcgis-building-explorer/customElement.js"), "autoDestroyDisabled,headingLevel,hideDisciplines,hideLevels,hidePhases,icon,label,layers:,level,levelDisabled:,levels:,messages:,phase,phaseDisabled:,phases:,referenceElement,view:;destroy"],
|
|
@@ -94,9 +94,10 @@ const s = t(e, {
|
|
|
94
94
|
"arcgis-feature-image": [() => import("./components/arcgis-feature-image/customElement.js"), "actualSymbol:,graphic:,heightInPixels,layer:,minWidth,tableSymbolIcon:,useTrueShape,widthInPixels"],
|
|
95
95
|
"arcgis-feature-title": [() => import("./components/arcgis-feature-title/customElement.js"), "_messages:,graphic:,isNewFeature,layer:,noTitleLabel"],
|
|
96
96
|
"arcgis-multi-feature-form": [() => import("./components/arcgis-multi-feature-form/customElement.js"), "activeFeatureIndex,autoDestroyDisabled,disabled,editType,expressionEvaluationFailed:,features:,groupDisplay,hasTooManyComplexFeatures:,hasTooManyFeatures:,headingLevel,icon,invalidFeatures:,label,maximumFeatureCount,maximumFeatureCountWithComplexForms,position,readOnly,referenceElement,status:,submitHasBeenAttempted,timeZone,updating:,valid:,view:;destroy;getValues,goToFirstError,userChangesHaveMadeFeatureInvalid"],
|
|
97
|
-
"arcgis-popup": [() => import("./components/arcgis-popup/customElement.js"), "actions:,active:,alignment,autoCloseEnabled,autoDestroyDisabled,collapsed,content,currentAlignment:,currentDockPosition:,defaultPopupTemplateEnabled,dockEnabled,dockOptions:,effectiveHeading:,featureCount:,featureMenuOpen,featureMenuTitle,features:,focusTrapDisabled,goToOverride:,heading,headingLevel,hideActionBar,hideCloseButton,hideCollapseButton,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideHeading,hideSpinner,highlightDisabled,includeDefaultActionsDisabled,initialDisplayMode,label,location:,messageOverrides:,messages:,open,promises:,referenceElement,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,state:,topLayerDisabled,updateLocationEnabled,view:;clear,destroy,fetchFeatures,
|
|
98
|
-
"arcgis-presentation": [() => import("./components/arcgis-presentation/customElement.js"), "_messages:,autoDestroyDisabled,keyboardNavigationEnabled,navigationHidden,
|
|
97
|
+
"arcgis-popup": [() => import("./components/arcgis-popup/customElement.js"), "actions:,active:,alignment,autoCloseEnabled,autoDestroyDisabled,collapsed,content,currentAlignment:,currentDockPosition:,defaultPopupTemplateEnabled,dockEnabled,dockOptions:,effectiveHeading:,featureCount:,featureMenuOpen,featureMenuTitle,features:,featureStream:,focusTrapDisabled,goToOverride:,heading,headingLevel,hideActionBar,hideCloseButton,hideCollapseButton,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideHeading,hideSpinner,highlightDisabled,includeDefaultActionsDisabled,initialDisplayMode,label,location:,messageOverrides:,messages:,open,promises:,referenceElement,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,state:,topLayerDisabled,updateLocationEnabled,view:;clear,destroy,fetchFeatures,next,previous,setFocus"],
|
|
98
|
+
"arcgis-presentation": [() => import("./components/arcgis-presentation/customElement.js"), "_messages:,autoDestroyDisabled,keyboardNavigationEnabled,navigationHidden,sliceAnalysisInteractive,slideCaptionsDisabled,slideId,slideLegendDisabled,slidePopupDisabled,view:,visualScale;destroy"],
|
|
99
99
|
"arcgis-presentation-captions": [() => import("./components/arcgis-presentation-captions/customElement.js"), "autoDestroyDisabled,slide:,transitionActive;destroy"],
|
|
100
|
+
"arcgis-presentation-slide-list": [() => import("./components/arcgis-presentation-slide-list/customElement.js"), "label,slideId,slides:,visualScale"],
|
|
100
101
|
"arcgis-print": [() => import("./components/arcgis-print/customElement.js"), "allowedFormats,allowedFormatsForSaving,allowedLayouts,autoDestroyDisabled,autoPopulateAuthor,excludeDefaultTemplates,excludeOrganizationTemplates,exportedLinks:,extraParameters:,headingLevel,hideAdvancedOptions,hideFeatureAttributes,hideHeader,hideIncludeTables,icon,label,messageOverrides:,messages:,outSpatialReference:,portal:,printServiceUrl,referenceElement,showPrintAreaEnabled,showSaveAs,state:,templateCustomTextElements:,templateOptions:,view:;addPortalTemplate,destroy"],
|
|
101
102
|
"arcgis-print-custom-text-elements": [() => import("./components/arcgis-print-custom-text-elements/customElement.js"), "viewModel:"],
|
|
102
103
|
"arcgis-print-datum-transformation-input": [() => import("./components/arcgis-print-datum-transformation-input/customElement.js"), "messages:,templateOptions:,viewModel:"],
|
|
@@ -145,6 +146,7 @@ const s = t(e, {
|
|
|
145
146
|
"arcgis-measurement-content": [() => import("./components/arcgis-measurement-content/customElement.js"), "hintLabel,items:,layout,state,unsupportedLabel"],
|
|
146
147
|
"arcgis-time-of-day-slider": [() => import("./components/arcgis-time-of-day-slider/customElement.js"), "disabled,endTime,label,messages:,mode,startTime,steps,visualScale"],
|
|
147
148
|
"arcgis-utility-network-association-list": [() => import("./components/arcgis-utility-network-association-list/customElement.js"), "associatedFeatureCount:,associationViewModels:,currentFeaturePage,featuresPerPage,maxFeatureCount,messages:,parentFeatureViewModel:,selectedLayer:,showAllEnabled,state,tooltipReferenceMap:"],
|
|
149
|
+
"arcgis-utility-network-picker": [() => import("./components/arcgis-utility-network-picker/customElement.js"), "_messages:,error,heading,hideErrors,hideLoader,selectedUtilityNetwork:,state,view:"],
|
|
148
150
|
"arcgis-webgl-error": [() => import("./components/arcgis-webgl-error/customElement.js"), "_messages:,errorName"],
|
|
149
151
|
"arcgis-swipe": [() => import("./components/arcgis-swipe/customElement.js"), "autoDestroyDisabled,direction,disabled,endLayers:,hideDivider,hideHandle,icon,label,leadingLayers:,messageOverrides:,messages:,position,referenceElement,startLayers:,state:,swipePosition,trailingLayers:,view:;destroy"],
|
|
150
152
|
"arcgis-table-list": [() => import("./components/arcgis-table-list/customElement.js"), "autoDestroyDisabled,closed,collapsed,dragEnabled,filterPlaceholder,filterPredicate:,filterText,headingLevel,hideStatusIndicators,icon,label,listItemCreatedFunction:,map:,minDragEnabledItems,minFilterItems,referenceElement,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryTableIndicators,state:,tableItems:,tables:,view:;destroy"],
|
package/dist/types/lumina.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ import type { ArcgisSliderSizeLegacy } from "../components/arcgis-slider-size-le
|
|
|
82
82
|
import type { ArcgisSnappingControls } from "../components/arcgis-snapping-controls/customElement.js";
|
|
83
83
|
import type { ArcgisColorSelect } from "../components/arcgis-color-select/customElement.js";
|
|
84
84
|
import type { ArcgisTimeOfDaySlider } from "../components/arcgis-time-of-day-slider/customElement.js";
|
|
85
|
+
import type { ArcgisUtilityNetworkPicker } from "../components/arcgis-utility-network-picker/customElement.js";
|
|
85
86
|
import type { ArcgisWebGlError } from "../components/arcgis-webgl-error/customElement.js";
|
|
86
87
|
import type { ArcgisSwipe } from "../components/arcgis-swipe/customElement.js";
|
|
87
88
|
import type { ArcgisTableList } from "../components/arcgis-table-list/customElement.js";
|
|
@@ -182,7 +183,7 @@ interface LuminaArcgisBasemapLayerList extends Partial<Pick<ArcgisBasemapLayerLi
|
|
|
182
183
|
onarcgisTriggerAction?: EventHandler<ArcgisBasemapLayerList["arcgisTriggerAction"]>;
|
|
183
184
|
}
|
|
184
185
|
|
|
185
|
-
interface LuminaArcgisBasemapLayerListNext extends Partial<Pick<ArcgisBasemapLayerListNext, "autoDestroyDisabled" | "baseFilterPredicate" | "baseFilterText" | "baseItemCreatedFunction" | "basemapTitle" | "catalogOptions" | "closed" | "collapsed" | "dragEnabled" | "editingTitle" | "filterPlaceholder" | "headingLevel" | "hideBaseLayers" | "hideCatalogLayerList" | "hideHeading" | "hideNoFilterResultsNotice" | "hideNoItemsNotice" | "hideReferenceLayers" | "hideStatusIndicators" | "icon" | "knowledgeGraphOptions" | "label" | "layerTablesEnabled" | "listItemCanGiveFunction" | "listItemCanReceiveFunction" | "listModeDisabled" | "mapImageOptions" | "messageOverrides" | "minFilterItems" | "
|
|
186
|
+
interface LuminaArcgisBasemapLayerListNext extends Partial<Pick<ArcgisBasemapLayerListNext, "autoDestroyDisabled" | "baseFilterPredicate" | "baseFilterText" | "baseItemCreatedFunction" | "basemapTitle" | "catalogOptions" | "closed" | "collapsed" | "dragEnabled" | "editingTitle" | "filterPlaceholder" | "headingLevel" | "hideBaseLayers" | "hideCatalogLayerList" | "hideHeading" | "hideNoFilterResultsNotice" | "hideNoItemsNotice" | "hideReferenceLayers" | "hideStatusIndicators" | "icon" | "knowledgeGraphOptions" | "label" | "layerTablesEnabled" | "listItemCanGiveFunction" | "listItemCanReceiveFunction" | "listModeDisabled" | "mapImageOptions" | "messageOverrides" | "minFilterItems" | "referenceElement" | "referenceFilterPredicate" | "referenceFilterText" | "referenceItemCreatedFunction" | "selectedItems" | "selectionMode" | "showCloseButton" | "showCollapseButton" | "showEditTitleButton" | "showErrors" | "showFilter" | "showTemporaryLayerIndicators" | "tileOptions" | "view" | "visibilityAppearance">>, h.JSX.HTMLAttributes<ArcgisBasemapLayerListNext> {
|
|
186
187
|
onarcgisBaseFilterChange?: EventHandler<ArcgisBasemapLayerListNext["arcgisBaseFilterChange"]>;
|
|
187
188
|
onarcgisClose?: EventHandler<ArcgisBasemapLayerListNext["arcgisClose"]>;
|
|
188
189
|
onarcgisOpenedLayersChange?: EventHandler<ArcgisBasemapLayerListNext["arcgisOpenedLayersChange"]>;
|
|
@@ -529,14 +530,14 @@ interface LuminaArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureFo
|
|
|
529
530
|
onarcgisValueChange?: EventHandler<ArcgisMultiFeatureForm["arcgisValueChange"]>;
|
|
530
531
|
}
|
|
531
532
|
|
|
532
|
-
interface LuminaArcgisPopup extends Partial<Pick<ArcgisPopup, "actions" | "alignment" | "autoCloseEnabled" | "autoDestroyDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "dockEnabled" | "dockOptions" | "featureMenuOpen" | "featureMenuTitle" | "features" | "focusTrapDisabled" | "goToOverride" | "heading" | "headingLevel" | "hideActionBar" | "hideCloseButton" | "hideCollapseButton" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideHeading" | "hideSpinner" | "highlightDisabled" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "location" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "topLayerDisabled" | "updateLocationEnabled" | "view">>, h.JSX.HTMLAttributes<ArcgisPopup> {
|
|
533
|
+
interface LuminaArcgisPopup extends Partial<Pick<ArcgisPopup, "actions" | "alignment" | "autoCloseEnabled" | "autoDestroyDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "dockEnabled" | "dockOptions" | "featureMenuOpen" | "featureMenuTitle" | "features" | "featureStream" | "focusTrapDisabled" | "goToOverride" | "heading" | "headingLevel" | "hideActionBar" | "hideCloseButton" | "hideCollapseButton" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideHeading" | "hideSpinner" | "highlightDisabled" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "location" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "topLayerDisabled" | "updateLocationEnabled" | "view">>, h.JSX.HTMLAttributes<ArcgisPopup> {
|
|
533
534
|
onarcgisClose?: EventHandler<ArcgisPopup["arcgisClose"]>;
|
|
534
535
|
onarcgisPropertyChange?: EventHandler<ArcgisPopup["arcgisPropertyChange"]>;
|
|
535
536
|
onarcgisReady?: EventHandler<ArcgisPopup["arcgisReady"]>;
|
|
536
537
|
onarcgisTriggerAction?: EventHandler<ArcgisPopup["arcgisTriggerAction"]>;
|
|
537
538
|
}
|
|
538
539
|
|
|
539
|
-
interface LuminaArcgisPresentation extends Partial<Pick<ArcgisPresentation, "autoDestroyDisabled" | "keyboardNavigationEnabled" | "navigationHidden" | "
|
|
540
|
+
interface LuminaArcgisPresentation extends Partial<Pick<ArcgisPresentation, "autoDestroyDisabled" | "keyboardNavigationEnabled" | "navigationHidden" | "sliceAnalysisInteractive" | "slideCaptionsDisabled" | "slideId" | "slideLegendDisabled" | "slidePopupDisabled" | "view" | "visualScale">>, h.JSX.HTMLAttributes<ArcgisPresentation> {
|
|
540
541
|
onarcgisPopupFeatureNotFound?: EventHandler<ArcgisPresentation["arcgisPopupFeatureNotFound"]>;
|
|
541
542
|
onarcgisPopupFeaturesRetrieved?: EventHandler<ArcgisPresentation["arcgisPopupFeaturesRetrieved"]>;
|
|
542
543
|
onarcgisReady?: EventHandler<ArcgisPresentation["arcgisReady"]>;
|
|
@@ -721,6 +722,11 @@ interface LuminaArcgisTimeOfDaySlider extends Partial<Pick<ArcgisTimeOfDaySlider
|
|
|
721
722
|
onarcgisTimeChange?: EventHandler<ArcgisTimeOfDaySlider["arcgisTimeChange"]>;
|
|
722
723
|
}
|
|
723
724
|
|
|
725
|
+
interface LuminaArcgisUtilityNetworkPicker extends Partial<Pick<ArcgisUtilityNetworkPicker, "error" | "heading" | "hideErrors" | "hideLoader" | "selectedUtilityNetwork" | "state" | "view">>, h.JSX.HTMLAttributes<ArcgisUtilityNetworkPicker> {
|
|
726
|
+
onarcgisError?: EventHandler<ArcgisUtilityNetworkPicker["arcgisError"]>;
|
|
727
|
+
onarcgisPropertyChange?: EventHandler<ArcgisUtilityNetworkPicker["arcgisPropertyChange"]>;
|
|
728
|
+
}
|
|
729
|
+
|
|
724
730
|
interface LuminaArcgisWebglError extends Partial<Pick<ArcgisWebGlError, "errorName">>, h.JSX.HTMLAttributes<ArcgisWebGlError> {
|
|
725
731
|
}
|
|
726
732
|
|
|
@@ -1016,6 +1022,7 @@ declare module "@arcgis/lumina" {
|
|
|
1016
1022
|
"arcgis-snapping-controls": LuminaArcgisSnappingControls;
|
|
1017
1023
|
"arcgis-color-select": LuminaArcgisColorSelect;
|
|
1018
1024
|
"arcgis-time-of-day-slider": LuminaArcgisTimeOfDaySlider;
|
|
1025
|
+
"arcgis-utility-network-picker": LuminaArcgisUtilityNetworkPicker;
|
|
1019
1026
|
"arcgis-webgl-error": LuminaArcgisWebglError;
|
|
1020
1027
|
"arcgis-swipe": LuminaArcgisSwipe;
|
|
1021
1028
|
"arcgis-table-list": LuminaArcgisTableList;
|
package/dist/types/preact.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ import type { ArcgisSliderSizeLegacy } from "../components/arcgis-slider-size-le
|
|
|
82
82
|
import type { ArcgisSnappingControls } from "../components/arcgis-snapping-controls/customElement.js";
|
|
83
83
|
import type { ArcgisColorSelect } from "../components/arcgis-color-select/customElement.js";
|
|
84
84
|
import type { ArcgisTimeOfDaySlider } from "../components/arcgis-time-of-day-slider/customElement.js";
|
|
85
|
+
import type { ArcgisUtilityNetworkPicker } from "../components/arcgis-utility-network-picker/customElement.js";
|
|
85
86
|
import type { ArcgisWebGlError } from "../components/arcgis-webgl-error/customElement.js";
|
|
86
87
|
import type { ArcgisSwipe } from "../components/arcgis-swipe/customElement.js";
|
|
87
88
|
import type { ArcgisTableList } from "../components/arcgis-table-list/customElement.js";
|
|
@@ -183,7 +184,7 @@ interface PreactArcgisBasemapLayerList extends Partial<Pick<ArcgisBasemapLayerLi
|
|
|
183
184
|
onarcgisTriggerAction?: EventHandler<ArcgisBasemapLayerList["arcgisTriggerAction"]>;
|
|
184
185
|
}
|
|
185
186
|
|
|
186
|
-
interface PreactArcgisBasemapLayerListNext extends Partial<Pick<ArcgisBasemapLayerListNext, "autoDestroyDisabled" | "baseFilterPredicate" | "baseFilterText" | "baseItemCreatedFunction" | "basemapTitle" | "catalogOptions" | "closed" | "collapsed" | "dragEnabled" | "editingTitle" | "filterPlaceholder" | "headingLevel" | "hideBaseLayers" | "hideCatalogLayerList" | "hideHeading" | "hideNoFilterResultsNotice" | "hideNoItemsNotice" | "hideReferenceLayers" | "hideStatusIndicators" | "icon" | "knowledgeGraphOptions" | "label" | "layerTablesEnabled" | "listItemCanGiveFunction" | "listItemCanReceiveFunction" | "listModeDisabled" | "mapImageOptions" | "messageOverrides" | "minFilterItems" | "
|
|
187
|
+
interface PreactArcgisBasemapLayerListNext extends Partial<Pick<ArcgisBasemapLayerListNext, "autoDestroyDisabled" | "baseFilterPredicate" | "baseFilterText" | "baseItemCreatedFunction" | "basemapTitle" | "catalogOptions" | "closed" | "collapsed" | "dragEnabled" | "editingTitle" | "filterPlaceholder" | "headingLevel" | "hideBaseLayers" | "hideCatalogLayerList" | "hideHeading" | "hideNoFilterResultsNotice" | "hideNoItemsNotice" | "hideReferenceLayers" | "hideStatusIndicators" | "icon" | "knowledgeGraphOptions" | "label" | "layerTablesEnabled" | "listItemCanGiveFunction" | "listItemCanReceiveFunction" | "listModeDisabled" | "mapImageOptions" | "messageOverrides" | "minFilterItems" | "referenceElement" | "referenceFilterPredicate" | "referenceFilterText" | "referenceItemCreatedFunction" | "selectedItems" | "selectionMode" | "showCloseButton" | "showCollapseButton" | "showEditTitleButton" | "showErrors" | "showFilter" | "showTemporaryLayerIndicators" | "tileOptions" | "view" | "visibilityAppearance">>, HTMLAttributes<ArcgisBasemapLayerListNext> {
|
|
187
188
|
onarcgisBaseFilterChange?: EventHandler<ArcgisBasemapLayerListNext["arcgisBaseFilterChange"]>;
|
|
188
189
|
onarcgisClose?: EventHandler<ArcgisBasemapLayerListNext["arcgisClose"]>;
|
|
189
190
|
onarcgisOpenedLayersChange?: EventHandler<ArcgisBasemapLayerListNext["arcgisOpenedLayersChange"]>;
|
|
@@ -530,14 +531,14 @@ interface PreactArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureFo
|
|
|
530
531
|
onarcgisValueChange?: EventHandler<ArcgisMultiFeatureForm["arcgisValueChange"]>;
|
|
531
532
|
}
|
|
532
533
|
|
|
533
|
-
interface PreactArcgisPopup extends Partial<Pick<ArcgisPopup, "actions" | "alignment" | "autoCloseEnabled" | "autoDestroyDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "dockEnabled" | "dockOptions" | "featureMenuOpen" | "featureMenuTitle" | "features" | "focusTrapDisabled" | "goToOverride" | "heading" | "headingLevel" | "hideActionBar" | "hideCloseButton" | "hideCollapseButton" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideHeading" | "hideSpinner" | "highlightDisabled" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "location" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "topLayerDisabled" | "updateLocationEnabled" | "view">>, HTMLAttributes<ArcgisPopup> {
|
|
534
|
+
interface PreactArcgisPopup extends Partial<Pick<ArcgisPopup, "actions" | "alignment" | "autoCloseEnabled" | "autoDestroyDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "dockEnabled" | "dockOptions" | "featureMenuOpen" | "featureMenuTitle" | "features" | "featureStream" | "focusTrapDisabled" | "goToOverride" | "heading" | "headingLevel" | "hideActionBar" | "hideCloseButton" | "hideCollapseButton" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideHeading" | "hideSpinner" | "highlightDisabled" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "location" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "topLayerDisabled" | "updateLocationEnabled" | "view">>, HTMLAttributes<ArcgisPopup> {
|
|
534
535
|
onarcgisClose?: EventHandler<ArcgisPopup["arcgisClose"]>;
|
|
535
536
|
onarcgisPropertyChange?: EventHandler<ArcgisPopup["arcgisPropertyChange"]>;
|
|
536
537
|
onarcgisReady?: EventHandler<ArcgisPopup["arcgisReady"]>;
|
|
537
538
|
onarcgisTriggerAction?: EventHandler<ArcgisPopup["arcgisTriggerAction"]>;
|
|
538
539
|
}
|
|
539
540
|
|
|
540
|
-
interface PreactArcgisPresentation extends Partial<Pick<ArcgisPresentation, "autoDestroyDisabled" | "keyboardNavigationEnabled" | "navigationHidden" | "
|
|
541
|
+
interface PreactArcgisPresentation extends Partial<Pick<ArcgisPresentation, "autoDestroyDisabled" | "keyboardNavigationEnabled" | "navigationHidden" | "sliceAnalysisInteractive" | "slideCaptionsDisabled" | "slideId" | "slideLegendDisabled" | "slidePopupDisabled" | "view" | "visualScale">>, HTMLAttributes<ArcgisPresentation> {
|
|
541
542
|
onarcgisPopupFeatureNotFound?: EventHandler<ArcgisPresentation["arcgisPopupFeatureNotFound"]>;
|
|
542
543
|
onarcgisPopupFeaturesRetrieved?: EventHandler<ArcgisPresentation["arcgisPopupFeaturesRetrieved"]>;
|
|
543
544
|
onarcgisReady?: EventHandler<ArcgisPresentation["arcgisReady"]>;
|
|
@@ -722,6 +723,11 @@ interface PreactArcgisTimeOfDaySlider extends Partial<Pick<ArcgisTimeOfDaySlider
|
|
|
722
723
|
onarcgisTimeChange?: EventHandler<ArcgisTimeOfDaySlider["arcgisTimeChange"]>;
|
|
723
724
|
}
|
|
724
725
|
|
|
726
|
+
interface PreactArcgisUtilityNetworkPicker extends Partial<Pick<ArcgisUtilityNetworkPicker, "error" | "heading" | "hideErrors" | "hideLoader" | "selectedUtilityNetwork" | "state" | "view">>, HTMLAttributes<ArcgisUtilityNetworkPicker> {
|
|
727
|
+
onarcgisError?: EventHandler<ArcgisUtilityNetworkPicker["arcgisError"]>;
|
|
728
|
+
onarcgisPropertyChange?: EventHandler<ArcgisUtilityNetworkPicker["arcgisPropertyChange"]>;
|
|
729
|
+
}
|
|
730
|
+
|
|
725
731
|
interface PreactArcgisWebglError extends Partial<Pick<ArcgisWebGlError, "errorName">>, HTMLAttributes<ArcgisWebGlError> {
|
|
726
732
|
}
|
|
727
733
|
|
|
@@ -1017,6 +1023,7 @@ declare module 'preact' {
|
|
|
1017
1023
|
"arcgis-snapping-controls": PreactArcgisSnappingControls;
|
|
1018
1024
|
"arcgis-color-select": PreactArcgisColorSelect;
|
|
1019
1025
|
"arcgis-time-of-day-slider": PreactArcgisTimeOfDaySlider;
|
|
1026
|
+
"arcgis-utility-network-picker": PreactArcgisUtilityNetworkPicker;
|
|
1020
1027
|
"arcgis-webgl-error": PreactArcgisWebglError;
|
|
1021
1028
|
"arcgis-swipe": PreactArcgisSwipe;
|
|
1022
1029
|
"arcgis-table-list": PreactArcgisTableList;
|
|
@@ -1140,6 +1147,7 @@ declare module 'preact' {
|
|
|
1140
1147
|
"arcgis-snapping-controls": PreactArcgisSnappingControls;
|
|
1141
1148
|
"arcgis-color-select": PreactArcgisColorSelect;
|
|
1142
1149
|
"arcgis-time-of-day-slider": PreactArcgisTimeOfDaySlider;
|
|
1150
|
+
"arcgis-utility-network-picker": PreactArcgisUtilityNetworkPicker;
|
|
1143
1151
|
"arcgis-webgl-error": PreactArcgisWebglError;
|
|
1144
1152
|
"arcgis-swipe": PreactArcgisSwipe;
|
|
1145
1153
|
"arcgis-table-list": PreactArcgisTableList;
|
package/dist/types/react.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ import type { ArcgisSliderSizeLegacy } from "../components/arcgis-slider-size-le
|
|
|
82
82
|
import type { ArcgisSnappingControls } from "../components/arcgis-snapping-controls/customElement.js";
|
|
83
83
|
import type { ArcgisColorSelect } from "../components/arcgis-color-select/customElement.js";
|
|
84
84
|
import type { ArcgisTimeOfDaySlider } from "../components/arcgis-time-of-day-slider/customElement.js";
|
|
85
|
+
import type { ArcgisUtilityNetworkPicker } from "../components/arcgis-utility-network-picker/customElement.js";
|
|
85
86
|
import type { ArcgisWebGlError } from "../components/arcgis-webgl-error/customElement.js";
|
|
86
87
|
import type { ArcgisSwipe } from "../components/arcgis-swipe/customElement.js";
|
|
87
88
|
import type { ArcgisTableList } from "../components/arcgis-table-list/customElement.js";
|
|
@@ -183,7 +184,7 @@ interface ReactArcgisBasemapLayerList extends Partial<Pick<ArcgisBasemapLayerLis
|
|
|
183
184
|
onarcgisTriggerAction?: EventHandler<ArcgisBasemapLayerList["arcgisTriggerAction"]>;
|
|
184
185
|
}
|
|
185
186
|
|
|
186
|
-
interface ReactArcgisBasemapLayerListNext extends Partial<Pick<ArcgisBasemapLayerListNext, "autoDestroyDisabled" | "baseFilterPredicate" | "baseFilterText" | "baseItemCreatedFunction" | "basemapTitle" | "catalogOptions" | "closed" | "collapsed" | "dragEnabled" | "editingTitle" | "filterPlaceholder" | "headingLevel" | "hideBaseLayers" | "hideCatalogLayerList" | "hideHeading" | "hideNoFilterResultsNotice" | "hideNoItemsNotice" | "hideReferenceLayers" | "hideStatusIndicators" | "icon" | "knowledgeGraphOptions" | "label" | "layerTablesEnabled" | "listItemCanGiveFunction" | "listItemCanReceiveFunction" | "listModeDisabled" | "mapImageOptions" | "messageOverrides" | "minFilterItems" | "
|
|
187
|
+
interface ReactArcgisBasemapLayerListNext extends Partial<Pick<ArcgisBasemapLayerListNext, "autoDestroyDisabled" | "baseFilterPredicate" | "baseFilterText" | "baseItemCreatedFunction" | "basemapTitle" | "catalogOptions" | "closed" | "collapsed" | "dragEnabled" | "editingTitle" | "filterPlaceholder" | "headingLevel" | "hideBaseLayers" | "hideCatalogLayerList" | "hideHeading" | "hideNoFilterResultsNotice" | "hideNoItemsNotice" | "hideReferenceLayers" | "hideStatusIndicators" | "icon" | "knowledgeGraphOptions" | "label" | "layerTablesEnabled" | "listItemCanGiveFunction" | "listItemCanReceiveFunction" | "listModeDisabled" | "mapImageOptions" | "messageOverrides" | "minFilterItems" | "referenceElement" | "referenceFilterPredicate" | "referenceFilterText" | "referenceItemCreatedFunction" | "selectedItems" | "selectionMode" | "showCloseButton" | "showCollapseButton" | "showEditTitleButton" | "showErrors" | "showFilter" | "showTemporaryLayerIndicators" | "tileOptions" | "view" | "visibilityAppearance">>, HTMLProps<ArcgisBasemapLayerListNext> {
|
|
187
188
|
onarcgisBaseFilterChange?: EventHandler<ArcgisBasemapLayerListNext["arcgisBaseFilterChange"]>;
|
|
188
189
|
onarcgisClose?: EventHandler<ArcgisBasemapLayerListNext["arcgisClose"]>;
|
|
189
190
|
onarcgisOpenedLayersChange?: EventHandler<ArcgisBasemapLayerListNext["arcgisOpenedLayersChange"]>;
|
|
@@ -530,14 +531,14 @@ interface ReactArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureFor
|
|
|
530
531
|
onarcgisValueChange?: EventHandler<ArcgisMultiFeatureForm["arcgisValueChange"]>;
|
|
531
532
|
}
|
|
532
533
|
|
|
533
|
-
interface ReactArcgisPopup extends Partial<Pick<ArcgisPopup, "actions" | "alignment" | "autoCloseEnabled" | "autoDestroyDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "dockEnabled" | "dockOptions" | "featureMenuOpen" | "featureMenuTitle" | "features" | "focusTrapDisabled" | "goToOverride" | "heading" | "headingLevel" | "hideActionBar" | "hideCloseButton" | "hideCollapseButton" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideHeading" | "hideSpinner" | "highlightDisabled" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "location" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "topLayerDisabled" | "updateLocationEnabled" | "view">>, HTMLProps<ArcgisPopup> {
|
|
534
|
+
interface ReactArcgisPopup extends Partial<Pick<ArcgisPopup, "actions" | "alignment" | "autoCloseEnabled" | "autoDestroyDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "dockEnabled" | "dockOptions" | "featureMenuOpen" | "featureMenuTitle" | "features" | "featureStream" | "focusTrapDisabled" | "goToOverride" | "heading" | "headingLevel" | "hideActionBar" | "hideCloseButton" | "hideCollapseButton" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideHeading" | "hideSpinner" | "highlightDisabled" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "location" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "topLayerDisabled" | "updateLocationEnabled" | "view">>, HTMLProps<ArcgisPopup> {
|
|
534
535
|
onarcgisClose?: EventHandler<ArcgisPopup["arcgisClose"]>;
|
|
535
536
|
onarcgisPropertyChange?: EventHandler<ArcgisPopup["arcgisPropertyChange"]>;
|
|
536
537
|
onarcgisReady?: EventHandler<ArcgisPopup["arcgisReady"]>;
|
|
537
538
|
onarcgisTriggerAction?: EventHandler<ArcgisPopup["arcgisTriggerAction"]>;
|
|
538
539
|
}
|
|
539
540
|
|
|
540
|
-
interface ReactArcgisPresentation extends Partial<Pick<ArcgisPresentation, "autoDestroyDisabled" | "keyboardNavigationEnabled" | "navigationHidden" | "
|
|
541
|
+
interface ReactArcgisPresentation extends Partial<Pick<ArcgisPresentation, "autoDestroyDisabled" | "keyboardNavigationEnabled" | "navigationHidden" | "sliceAnalysisInteractive" | "slideCaptionsDisabled" | "slideId" | "slideLegendDisabled" | "slidePopupDisabled" | "view" | "visualScale">>, HTMLProps<ArcgisPresentation> {
|
|
541
542
|
onarcgisPopupFeatureNotFound?: EventHandler<ArcgisPresentation["arcgisPopupFeatureNotFound"]>;
|
|
542
543
|
onarcgisPopupFeaturesRetrieved?: EventHandler<ArcgisPresentation["arcgisPopupFeaturesRetrieved"]>;
|
|
543
544
|
onarcgisReady?: EventHandler<ArcgisPresentation["arcgisReady"]>;
|
|
@@ -722,6 +723,11 @@ interface ReactArcgisTimeOfDaySlider extends Partial<Pick<ArcgisTimeOfDaySlider,
|
|
|
722
723
|
onarcgisTimeChange?: EventHandler<ArcgisTimeOfDaySlider["arcgisTimeChange"]>;
|
|
723
724
|
}
|
|
724
725
|
|
|
726
|
+
interface ReactArcgisUtilityNetworkPicker extends Partial<Pick<ArcgisUtilityNetworkPicker, "error" | "heading" | "hideErrors" | "hideLoader" | "selectedUtilityNetwork" | "state" | "view">>, HTMLProps<ArcgisUtilityNetworkPicker> {
|
|
727
|
+
onarcgisError?: EventHandler<ArcgisUtilityNetworkPicker["arcgisError"]>;
|
|
728
|
+
onarcgisPropertyChange?: EventHandler<ArcgisUtilityNetworkPicker["arcgisPropertyChange"]>;
|
|
729
|
+
}
|
|
730
|
+
|
|
725
731
|
interface ReactArcgisWebglError extends Partial<Pick<ArcgisWebGlError, "errorName">>, HTMLProps<ArcgisWebGlError> {
|
|
726
732
|
}
|
|
727
733
|
|
|
@@ -1017,6 +1023,7 @@ declare module "react" {
|
|
|
1017
1023
|
"arcgis-snapping-controls": ReactArcgisSnappingControls;
|
|
1018
1024
|
"arcgis-color-select": ReactArcgisColorSelect;
|
|
1019
1025
|
"arcgis-time-of-day-slider": ReactArcgisTimeOfDaySlider;
|
|
1026
|
+
"arcgis-utility-network-picker": ReactArcgisUtilityNetworkPicker;
|
|
1020
1027
|
"arcgis-webgl-error": ReactArcgisWebglError;
|
|
1021
1028
|
"arcgis-swipe": ReactArcgisSwipe;
|
|
1022
1029
|
"arcgis-table-list": ReactArcgisTableList;
|
|
@@ -1142,6 +1149,7 @@ declare module "react/jsx-runtime" {
|
|
|
1142
1149
|
"arcgis-snapping-controls": ReactArcgisSnappingControls;
|
|
1143
1150
|
"arcgis-color-select": ReactArcgisColorSelect;
|
|
1144
1151
|
"arcgis-time-of-day-slider": ReactArcgisTimeOfDaySlider;
|
|
1152
|
+
"arcgis-utility-network-picker": ReactArcgisUtilityNetworkPicker;
|
|
1145
1153
|
"arcgis-webgl-error": ReactArcgisWebglError;
|
|
1146
1154
|
"arcgis-swipe": ReactArcgisSwipe;
|
|
1147
1155
|
"arcgis-table-list": ReactArcgisTableList;
|
|
@@ -1267,6 +1275,7 @@ declare module "react/jsx-dev-runtime" {
|
|
|
1267
1275
|
"arcgis-snapping-controls": ReactArcgisSnappingControls;
|
|
1268
1276
|
"arcgis-color-select": ReactArcgisColorSelect;
|
|
1269
1277
|
"arcgis-time-of-day-slider": ReactArcgisTimeOfDaySlider;
|
|
1278
|
+
"arcgis-utility-network-picker": ReactArcgisUtilityNetworkPicker;
|
|
1270
1279
|
"arcgis-webgl-error": ReactArcgisWebglError;
|
|
1271
1280
|
"arcgis-swipe": ReactArcgisSwipe;
|
|
1272
1281
|
"arcgis-table-list": ReactArcgisTableList;
|
package/dist/types/stencil.d.ts
CHANGED
|
@@ -82,6 +82,7 @@ import type { ArcgisSliderSizeLegacy } from "../components/arcgis-slider-size-le
|
|
|
82
82
|
import type { ArcgisSnappingControls } from "../components/arcgis-snapping-controls/customElement.js";
|
|
83
83
|
import type { ArcgisColorSelect } from "../components/arcgis-color-select/customElement.js";
|
|
84
84
|
import type { ArcgisTimeOfDaySlider } from "../components/arcgis-time-of-day-slider/customElement.js";
|
|
85
|
+
import type { ArcgisUtilityNetworkPicker } from "../components/arcgis-utility-network-picker/customElement.js";
|
|
85
86
|
import type { ArcgisWebGlError } from "../components/arcgis-webgl-error/customElement.js";
|
|
86
87
|
import type { ArcgisSwipe } from "../components/arcgis-swipe/customElement.js";
|
|
87
88
|
import type { ArcgisTableList } from "../components/arcgis-table-list/customElement.js";
|
|
@@ -183,7 +184,7 @@ interface StencilArcgisBasemapLayerList extends Partial<Pick<ArcgisBasemapLayerL
|
|
|
183
184
|
onArcgisTriggerAction?: EventHandler<ArcgisBasemapLayerList["arcgisTriggerAction"]>;
|
|
184
185
|
}
|
|
185
186
|
|
|
186
|
-
interface StencilArcgisBasemapLayerListNext extends Partial<Pick<ArcgisBasemapLayerListNext, "autoDestroyDisabled" | "baseFilterPredicate" | "baseFilterText" | "baseItemCreatedFunction" | "basemapTitle" | "catalogOptions" | "closed" | "collapsed" | "dragEnabled" | "editingTitle" | "filterPlaceholder" | "headingLevel" | "hideBaseLayers" | "hideCatalogLayerList" | "hideHeading" | "hideNoFilterResultsNotice" | "hideNoItemsNotice" | "hideReferenceLayers" | "hideStatusIndicators" | "icon" | "knowledgeGraphOptions" | "label" | "layerTablesEnabled" | "listItemCanGiveFunction" | "listItemCanReceiveFunction" | "listModeDisabled" | "mapImageOptions" | "messageOverrides" | "minFilterItems" | "
|
|
187
|
+
interface StencilArcgisBasemapLayerListNext extends Partial<Pick<ArcgisBasemapLayerListNext, "autoDestroyDisabled" | "baseFilterPredicate" | "baseFilterText" | "baseItemCreatedFunction" | "basemapTitle" | "catalogOptions" | "closed" | "collapsed" | "dragEnabled" | "editingTitle" | "filterPlaceholder" | "headingLevel" | "hideBaseLayers" | "hideCatalogLayerList" | "hideHeading" | "hideNoFilterResultsNotice" | "hideNoItemsNotice" | "hideReferenceLayers" | "hideStatusIndicators" | "icon" | "knowledgeGraphOptions" | "label" | "layerTablesEnabled" | "listItemCanGiveFunction" | "listItemCanReceiveFunction" | "listModeDisabled" | "mapImageOptions" | "messageOverrides" | "minFilterItems" | "referenceElement" | "referenceFilterPredicate" | "referenceFilterText" | "referenceItemCreatedFunction" | "selectedItems" | "selectionMode" | "showCloseButton" | "showCollapseButton" | "showEditTitleButton" | "showErrors" | "showFilter" | "showTemporaryLayerIndicators" | "tileOptions" | "view" | "visibilityAppearance">>, StencilJsx.HTMLAttributes<ArcgisBasemapLayerListNext> {
|
|
187
188
|
onArcgisBaseFilterChange?: EventHandler<ArcgisBasemapLayerListNext["arcgisBaseFilterChange"]>;
|
|
188
189
|
onArcgisClose?: EventHandler<ArcgisBasemapLayerListNext["arcgisClose"]>;
|
|
189
190
|
onArcgisOpenedLayersChange?: EventHandler<ArcgisBasemapLayerListNext["arcgisOpenedLayersChange"]>;
|
|
@@ -530,14 +531,14 @@ interface StencilArcgisMultiFeatureForm extends Partial<Pick<ArcgisMultiFeatureF
|
|
|
530
531
|
onArcgisValueChange?: EventHandler<ArcgisMultiFeatureForm["arcgisValueChange"]>;
|
|
531
532
|
}
|
|
532
533
|
|
|
533
|
-
interface StencilArcgisPopup extends Partial<Pick<ArcgisPopup, "actions" | "alignment" | "autoCloseEnabled" | "autoDestroyDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "dockEnabled" | "dockOptions" | "featureMenuOpen" | "featureMenuTitle" | "features" | "focusTrapDisabled" | "goToOverride" | "heading" | "headingLevel" | "hideActionBar" | "hideCloseButton" | "hideCollapseButton" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideHeading" | "hideSpinner" | "highlightDisabled" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "location" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "topLayerDisabled" | "updateLocationEnabled" | "view">>, StencilJsx.HTMLAttributes<ArcgisPopup> {
|
|
534
|
+
interface StencilArcgisPopup extends Partial<Pick<ArcgisPopup, "actions" | "alignment" | "autoCloseEnabled" | "autoDestroyDisabled" | "collapsed" | "content" | "defaultPopupTemplateEnabled" | "dockEnabled" | "dockOptions" | "featureMenuOpen" | "featureMenuTitle" | "features" | "featureStream" | "focusTrapDisabled" | "goToOverride" | "heading" | "headingLevel" | "hideActionBar" | "hideCloseButton" | "hideCollapseButton" | "hideFeatureListLayerTitle" | "hideFeatureMenuHeading" | "hideFeatureNavigation" | "hideHeading" | "hideSpinner" | "highlightDisabled" | "includeDefaultActionsDisabled" | "initialDisplayMode" | "label" | "location" | "messageOverrides" | "open" | "promises" | "referenceElement" | "selectedFeatureIndex" | "topLayerDisabled" | "updateLocationEnabled" | "view">>, StencilJsx.HTMLAttributes<ArcgisPopup> {
|
|
534
535
|
onArcgisClose?: EventHandler<ArcgisPopup["arcgisClose"]>;
|
|
535
536
|
onArcgisPropertyChange?: EventHandler<ArcgisPopup["arcgisPropertyChange"]>;
|
|
536
537
|
onArcgisReady?: EventHandler<ArcgisPopup["arcgisReady"]>;
|
|
537
538
|
onArcgisTriggerAction?: EventHandler<ArcgisPopup["arcgisTriggerAction"]>;
|
|
538
539
|
}
|
|
539
540
|
|
|
540
|
-
interface StencilArcgisPresentation extends Partial<Pick<ArcgisPresentation, "autoDestroyDisabled" | "keyboardNavigationEnabled" | "navigationHidden" | "
|
|
541
|
+
interface StencilArcgisPresentation extends Partial<Pick<ArcgisPresentation, "autoDestroyDisabled" | "keyboardNavigationEnabled" | "navigationHidden" | "sliceAnalysisInteractive" | "slideCaptionsDisabled" | "slideId" | "slideLegendDisabled" | "slidePopupDisabled" | "view" | "visualScale">>, StencilJsx.HTMLAttributes<ArcgisPresentation> {
|
|
541
542
|
onArcgisPopupFeatureNotFound?: EventHandler<ArcgisPresentation["arcgisPopupFeatureNotFound"]>;
|
|
542
543
|
onArcgisPopupFeaturesRetrieved?: EventHandler<ArcgisPresentation["arcgisPopupFeaturesRetrieved"]>;
|
|
543
544
|
onArcgisReady?: EventHandler<ArcgisPresentation["arcgisReady"]>;
|
|
@@ -722,6 +723,11 @@ interface StencilArcgisTimeOfDaySlider extends Partial<Pick<ArcgisTimeOfDaySlide
|
|
|
722
723
|
onArcgisTimeChange?: EventHandler<ArcgisTimeOfDaySlider["arcgisTimeChange"]>;
|
|
723
724
|
}
|
|
724
725
|
|
|
726
|
+
interface StencilArcgisUtilityNetworkPicker extends Partial<Pick<ArcgisUtilityNetworkPicker, "error" | "heading" | "hideErrors" | "hideLoader" | "selectedUtilityNetwork" | "state" | "view">>, StencilJsx.HTMLAttributes<ArcgisUtilityNetworkPicker> {
|
|
727
|
+
onArcgisError?: EventHandler<ArcgisUtilityNetworkPicker["arcgisError"]>;
|
|
728
|
+
onArcgisPropertyChange?: EventHandler<ArcgisUtilityNetworkPicker["arcgisPropertyChange"]>;
|
|
729
|
+
}
|
|
730
|
+
|
|
725
731
|
interface StencilArcgisWebglError extends Partial<Pick<ArcgisWebGlError, "errorName">>, StencilJsx.HTMLAttributes<ArcgisWebGlError> {
|
|
726
732
|
}
|
|
727
733
|
|
|
@@ -1015,6 +1021,7 @@ interface ExposedElements {
|
|
|
1015
1021
|
"arcgis-snapping-controls": StencilArcgisSnappingControls;
|
|
1016
1022
|
"arcgis-color-select": StencilArcgisColorSelect;
|
|
1017
1023
|
"arcgis-time-of-day-slider": StencilArcgisTimeOfDaySlider;
|
|
1024
|
+
"arcgis-utility-network-picker": StencilArcgisUtilityNetworkPicker;
|
|
1018
1025
|
"arcgis-webgl-error": StencilArcgisWebglError;
|
|
1019
1026
|
"arcgis-swipe": StencilArcgisSwipe;
|
|
1020
1027
|
"arcgis-table-list": StencilArcgisTableList;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcgis/map-components",
|
|
3
|
-
"version": "5.2.0-next.
|
|
3
|
+
"version": "5.2.0-next.88",
|
|
4
4
|
"description": "ArcGIS Map Components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"2D",
|
|
@@ -43,16 +43,16 @@
|
|
|
43
43
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@amcharts/amcharts5": "~5.20.2",
|
|
46
|
+
"@arcgis/common-components": "5.2.0-next.88",
|
|
47
|
+
"@arcgis/lumina": "5.2.0-next.88",
|
|
48
|
+
"@arcgis/toolkit": "5.2.0-next.88",
|
|
46
49
|
"lit": "^3.3.0",
|
|
47
50
|
"lodash-es": "^4.18.1",
|
|
48
|
-
"tslib": "^2.8.1"
|
|
49
|
-
"@arcgis/common-components": "5.2.0-next.86",
|
|
50
|
-
"@arcgis/lumina": "5.2.0-next.86",
|
|
51
|
-
"@arcgis/toolkit": "5.2.0-next.86"
|
|
51
|
+
"tslib": "^2.8.1"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@
|
|
55
|
-
"@
|
|
54
|
+
"@arcgis/core": "5.2.0-next.88",
|
|
55
|
+
"@esri/calcite-components": "^5.2.0-next.52"
|
|
56
56
|
},
|
|
57
57
|
"css.customData": [
|
|
58
58
|
"dist/docs/vscode.css-custom-data.json"
|
package/dist/cdn/3UUQJCZL.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import"./XEK22IDA.js";import o from"./XWALVOZP.js";import n from"./C4LCKYWW.js";import"./AG6XG3QV.js";import{a as g}from"./JCRPP54Z.js";import{a as H,b as j,c as q,g as z,h as J,j as K,k as Q,m,n as F}from"./LDDAJOTV.js";import{a as G}from"./RHXVVGD3.js";import{a as b}from"./LTOXLO3L.js";import l from"./7HL2TQ7E.js";import k from"./MZWO5JYA.js";import i from"./FHWOIM57.js";import"./VJVKFKSG.js";import h from"./3T7L7UT5.js";import{a as B}from"./2BVXNQ3U.js";import{a as w}from"./JD74LG7K.js";import{a as S}from"./VNUQ4CCT.js";import e from"./2FM2FJAY.js";import c from"./YHNRTH56.js";import{g as N}from"./3AQ6NC3C.js";import"./A4X5YDA6.js";import a from"./SDWFNKIL.js";import"./QUZTFUWM.js";import{d as x}from"./4W3T75SY.js";import{A as D,L,M as f,N as P,O as v,Q as E,R as M,T as R,b as d,w as p}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([ie,u,{on:T,watch:se},,,{a:k},U,,,,,{a:V,b:W,c:X,d:Y}])=>{var Z="nested",ae=U(ie),A=class extends P{constructor(){super(...arguments),this._lastDragDetail=null,this._rootListRef=L(),this._layerFlowItemRef=L(),this._panelFlowItemRef=L(),this._selectedDragItemLayerUid=null,this._rootGroupUid=`operational-${D()}`,this._openedLayersController=null,this.messages=B(),this._canMove=({dragEl:e,fromEl:t,toEl:i},a)=>{let s=a==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,r=m(e,this.operationalItems);if(!r?.sortable)return!1;let l=this._resolveListContainer(t),o=this._resolveListContainer(i),n=this._getContainerItem(l),c=F(l),y=this._getContainerItem(o),_=F(o),$=!!c&&!!_&&c===_,I={selected:r,from:n,to:y},C=l?.group,h=o?.group,ee=n?.layer?.type??"",te=y?.layer?.type??"",O=new Set(["map-image","catalog","knowledge-graph"]);return C&&h&&typeof s=="function"?s(I):$&&!O.has(ee)&&!O.has(te)&&r?.layer?.type!=="sublayer"},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer)},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(a=>a.classList?.contains(g.item)),i=m(t,this.operationalItems);this._activeItem=i},this.viewModel=ae(this),this.arcgisClose=S(this),this._activeItem=null,this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.layerTablesEnabled=new u(["knowledge-graph"]),this.mapImageOptions=null,this.openedLayerLists=new u,this.tileOptions=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.closed=!1,this.icon="layers",this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.layerTablesAvailable=new u(["knowledge-graph"]),this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.listModeDisabled=this.viewModel.listModeDisabled,this.minDragEnabledItems=q,this.minFilterItems=j,this.openedLayers=new u,this.operationalItems=this.viewModel.operationalItems,this.selectedItems=new u,this.selectionMode="none",this.visibilityAppearance="default",this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.showFilter=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=N()("state"),this.arcgisReady=p(),this.arcgisFilterChange=p(),this.arcgisSelectedItemsChange=p(),this.arcgisOpenedLayersChange=p(),this.arcgisTriggerAction=k(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,_totalItems:16,_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,layerTablesEnabled:16,mapImageOptions:16,openedLayerLists:16,tileOptions:16,_renderedOpenLayerFlowItems:16,view:0,autoDestroyDisabled:5,closed:5,referenceElement:1,icon:1,catalogLayerList:32,catalogOptions:0,collapsed:5,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,knowledgeGraphOptions:0,layerTablesAvailable:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,listModeDisabled:5,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:0,selectedItems:0,selectionMode:1,tableList:32,visibilityAppearance:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,messageOverrides:0,label:1,state:32}}static{this.styles=[Y,X]}get _totalItems(){return this.viewModel.operationalItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _visibleItems(){return this.operationalItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.flatten(e=>e.children).filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _dragEnabled(){return this._totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,i)=>this._renderLayerFlowItem(t,i===e.length-1))}get catalogLayerList(){return this._catalogLayerList}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[T(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),T(()=>this.viewModel.operationalItems,"change",()=>z(this.selectedItems),{initial:!0}),T(()=>this.selectedItems,"change",()=>this.arcgisSelectedItemsChange.emit()),se(()=>[this.filterPredicate,this._rootListRef.value],()=>J(this._rootListRef.value,this.filterPredicate,this.operationalItems))])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}_resolveListContainer(e){return e?e.matches("calcite-list")?e:e.closest("calcite-list[data-item]")||(this._rootListRef.value?.contains(e)?this._rootListRef.value:null):null}_getContainerItem(e){let t=e?.getAttribute("data-item");return t?this._findItemByUid(t):null}_findItemByUid(e){let t=this.operationalItems?.toArray()??[];for(;t.length;){let i=t.shift();if(!i)continue;if(i.uid===e)return i;let a=i.children?.toArray()??[];t.push(...a)}return null}async _createFlowList(e,t){let{_layerListMap:i}=this,a=i.get(e);if(a)return a;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||i.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let a=new AbortController,{signal:s}=a;this._openedLayersController=a,e.forEach((o,n)=>{t.includes(n)||(o?.destroy?.(),e.delete(n))});let r=await Promise.all(t.map(o=>this._createFlowList(o,s)));if(s.aborted)return;i.removeAll(),i.addMany(r);let l=i.at(-1);l?"catalogLayer"in l?(this._catalogLayerList=l,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=l):(this._catalogLayerList=void 0,this._tableList=void 0),this.arcgisOpenedLayersChange.emit()}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:a,listItemCreatedFunction:s,minFilterItems:r,selectionMode:l,visibilityAppearance:o}=this;return M(d`<arcgis-catalog-layer-list-next .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??a} .listItemCreatedFunction=${i?.listItemCreatedFunction??s} .minFilterItems=${i?.minFilterItems??r} .selectionMode=${i?.selectionMode??l} .visibilityAppearance=${i?.visibilityAppearance??o} .showErrors=${i?.showErrors??this.showErrors} .showFilter=${i?.showFilter??this.showFilter} .hideStatusIndicators=${i?.hideStatusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.showTemporaryLayerIndicators??this.showTemporaryLayerIndicators} .messageOverrides=${this.messageOverrides} @arcgisReady=${n=>n.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list-next>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let{headingLevel:t,selectionMode:i,dragEnabled:a}=this,s=this._getTableListParams(e);return M(d`<arcgis-table-list-next .headingLevel=${s?.headingLevel??t} .selectionMode=${s?.selectionMode??i} .dragEnabled=${s?.dragEnabled??a} .collapsed=${s?.collapsed} .filterPlaceholder=${s?.filterPlaceholder} .filterText=${s?.filterText} .icon=${s?.icon??void 0} .label=${s?.label??void 0} .listItemCreatedFunction=${s?.listItemCreatedFunction} .messageOverrides=${this.messageOverrides} .tables=${s?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${r=>r.stopPropagation()}></arcgis-table-list-next>`)}_handlePanelFlowItemBack(e){e.open=!1}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:a}){let s=this._resolveListContainer(e),r=this._resolveListContainer(t),l=m(i,this.operationalItems),o=this._getContainerItem(s),n=this._getContainerItem(r);a==null||!l||(this.viewModel.moveItem(l,n,o,a),V(this,l.uid,c=>this._resolveListContainer(c.parentElement)===s))}_onCalciteListDragEnd(e){let{fromEl:t,toEl:i,dragEl:a,oldIndex:s}=e;if(t!==i){a.remove();return}s==null||!t||!a||t.insertBefore(a,t.children[s])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{dragEl:i,newIndex:a}=e,s=this._resolveListContainer(e.fromEl),r=this._resolveListContainer(e.toEl),l=t?.newIndex===a&&t?.dragEl===i&&t?.toEl===r&&t?.fromEl===s;if(!(!s||!r||l)){if(this._lastDragDetail={...e,fromEl:s,toEl:r},this._selectedDragItemLayerUid=i.value,s===r){let o=Array.from(s.children).filter(n=>n?.matches("calcite-list-item")).map(n=>n.value.layer?.uid??"");this._sortLayers(s,o);return}this._moveLayerFromChildList({toEl:r,fromEl:s,dragEl:i,newIndex:a})}}_sortLayers(e,t){if(e)if(e===this._rootListRef.value)K(this.el.view?.map?.layers,t);else{let i=m(e,this.operationalItems);if(!i)return;Q(i,t)}}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let a=e.target.selectedItems.map(s=>m(s,this.operationalItems)).filter(Boolean);i.removeAll(),i.addMany(a)}render(){let{state:e}=this,t={[w.hidden]:e==="loading",[w.disabled]:e==="disabled"};return d`<div class=${v(x(w.widget,t))}>${this._visibleItems?.length?this._renderItemTooltips():null}${this._renderItems()}</div>`}_renderItemTooltip(e){let{_tooltipReferenceMap:t,messages:i}=this;return e?d`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid??"")}>${i.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i))??[];return t.length?t:null}_renderItemTooltips(){return this._visibleItems?.toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoItemsMessage(){return d`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return this.hideNoItemsNotice?null:d`<div class=${v(g.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderLayerFlowItem(e,t){let{messages:i,openedLayers:a}=this,s=e.title||this.messages.untitledLayer;return b(e?.uid??s,d`<calcite-flow-item data-layer-uid=${e?.uid??""??E} .description=${s} .heading=${i[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${r=>{r.preventDefault(),a.pop(),a.at(-1)&&this._layerFlowItemRef.value?.setFocus()}} ${f(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderPanelFlowItems(){let{_openedPanelItems:e,openedLayers:t}=this;return G(e.toArray(),i=>i.uid,(i,a)=>{let{panel:s,title:r}=i,l=()=>this._handlePanelFlowItemBack(s);return d`<calcite-flow-item .description=${r} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${o=>{o.preventDefault(),l()}} ${f(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${i} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${l} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_openedPanelItems:i,_filterEnabled:a,_rootGroupUid:s,showCloseButton:r,showCollapseButton:l,showHeading:o,_dragEnabled:n,selectionMode:c,filterText:y,openedLayers:_,filterPlaceholder:$,messages:I}=this,C=[d`<calcite-flow-item .closable=${r} .closed=${this.closed} .collapsed=${e} .collapsible=${l} .heading=${o?I.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!_.length&&!i.length} @calciteFlowItemClose=${()=>this.closed=!1}>${t?.length?d`<calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${h=>this._canMove(h,"pull")} .canPut=${h=>this._canMove(h,"put")} data-layer-type=${s??E} .displayMode=${Z} .dragEnabled=${n} .filterEnabled=${a} .filterPlaceholder=${$} .filterProps=${H} .filterText=${a?y:""} .group=${s} .label=${I.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${c} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${h=>{this.filterText=h.currentTarget?.filterText??"",this.arcgisFilterChange.emit()}} @calciteListOrderChange=${h=>this._onCalciteListOrderChange(h.detail)} @calciteListDragEnd=${h=>this._onCalciteListDragEnd(h.detail)} ${f(this._rootListRef)}>${t.toArray().map(h=>this._renderItem(h))}${a&&!this.hideNoFilterResultsNotice?d`<div class=${v(g.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list>`:this._renderNoItems()}</calcite-flow-item>`,this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this.closed?null:b("root-flow",d`<calcite-flow>${C}</calcite-flow>`)}_renderItem(e,t,i){return b(e.uid,W({activeItem:this._activeItem,canMove:this._canMove,css:g,displayMode:Z,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,hideCatalogLayerList:this.hideCatalogLayerList,item:e,messages:this.messages,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,operationalItems:this.operationalItems,parent:t,parentTitles:i,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,showCloseButton:this.showCloseButton,showCollapseButton:this.showCollapseButton,showErrors:this.showErrors,showHeading:this.showHeading,showFilter:this.showFilter,clearActiveItem:this._clearActiveItem,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};R("arcgis-layer-list-next",A);return A},"layers/list/LayerItemCollection","core/Collection","core/reactiveUtils",a,c,e,h,i,k,l,n,o)
|
package/dist/cdn/42TPQKQZ.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import g from"./AJ7XRBWN.js";import{a as E}from"./MZBCC5YA.js";import{a as d}from"./TN5C3MSL.js";import{a as A}from"./BXP5RGPD.js";import e from"./FHWOIM57.js";import"./VJVKFKSG.js";import b from"./2FM2FJAY.js";import"./3AQ6NC3C.js";import"./A4X5YDA6.js";import a from"./SDWFNKIL.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import{L as w,M as v,N as f,O as m,T as _,b as p,w as c}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:n},U,R,{fetchKnowledgeGraph:P},x,{isAbortError:D},Q,{d:V,e:I},{a:i,b:g,f:C},{b:u},{a:L,b:k,c:M}])=>{var z=g(R,{}),Z=g(U,{}),y=class extends f{constructor(){super(),this._containerRef=w(),this._mapRef=w(),this._uiController=new L(this),this._activeLoadAbortController=null,this.arcgisLoadError=k(this),this.arcgisViewReadyError=M(this),this._map=z(this),this._baseCypherQuery="",this._serviceUrl="",this._propItemId="",this.view=Z(this),this.animationsDisabled=this.view.animationsEnabled,this.allLayerViews=this.view.allLayerViews,this.analyses=this.view.analyses,this.attributionMode=this.view.attributionMode,this.autoDestroyDisabled=!1,this.background=this.view.background,this.basemap=this._map.basemap,this.basemapView=this.view.basemapView,this.canZoomIn=this.view.canZoomIn,this.canZoomOut=this.view.canZoomOut,this.constraints=this.view.constraints,this.displayFilterDisabled=this.view.displayFilterEnabled,this.fatalError=this.view.fatalError,this.graphics=this.view.graphics,this.highlights=this.view.highlights,this.layerViews=this.view.layerViews,this.magnifier=this.view.magnifier,this.map=this.view.map,this.navigation=this.view.navigation,this.padding=this.view.padding,this.popup=this.view.popup,this.popupDisabled=this.view.popupEnabled,this.popupComponentEnabled=!1,this.ready=this.view.ready,this.resizeAlign=this.view.resizeAlign,this.resolution=this.view.resolution,this.rotation=this.view.rotation,this.selectionManager=this.view.selectionManager,this.slotGroupRefs=this._uiController.slotGroupRefs,this.spatialReference=this.view.spatialReference,this.suspended=this.view.suspended,this.theme=this.view.theme,this.timeExtent=this.view.timeExtent,this.timeZone=this.view.timeZone,this.updating=this.view.updating,this.arcgisViewAnalysisViewCreate=i(()=>this.view,"analysis-view-create"),this.arcgisViewAnalysisViewCreateError=i(()=>this.view,"analysis-view-create-error"),this.arcgisViewAnalysisViewDestroy=i(()=>this.view,"analysis-view-destroy"),this.arcgisViewChange=c(),this.arcgisViewClick=i(()=>this.view,"click"),this.arcgisViewDoubleClick=i(()=>this.view,"double-click"),this.arcgisViewDoubleTapDrag=i(()=>this.view,"double-tap-drag"),this.arcgisViewDrag=i(()=>this.view,"drag"),this.arcgisViewHold=i(()=>this.view,"hold"),this.arcgisViewImmediateClick=i(()=>this.view,"immediate-click"),this.arcgisViewImmediateDoubleClick=i(()=>this.view,"immediate-double-click"),this.arcgisViewKeyDown=i(()=>this.view,"key-down"),this.arcgisViewKeyUp=i(()=>this.view,"key-up"),this.arcgisViewLayerviewCreate=i(()=>this.view,"layerview-create"),this.arcgisViewLayerviewCreateError=i(()=>this.view,"layerview-create-error"),this.arcgisViewLayerviewDestroy=i(()=>this.view,"layerview-destroy"),this.arcgisViewMouseWheel=i(()=>this.view,"mouse-wheel"),this.arcgisViewPointerDown=i(()=>this.view,"pointer-down"),this.arcgisViewPointerEnter=i(()=>this.view,"pointer-enter"),this.arcgisViewPointerLeave=i(()=>this.view,"pointer-leave"),this.arcgisViewPointerMove=i(()=>this.view,"pointer-move"),this.arcgisViewPointerUp=i(()=>this.view,"pointer-up"),this.arcgisViewReadyChange=c(),this.arcgisViewVerticalTwoFingerDrag=i(()=>this.view,"vertical-two-finger-drag"),this.view.ui={components:[]}}static{this.properties={_map:16,_baseCypherQuery:16,_serviceUrl:16,_propItemId:16,view:32,animationsDisabled:5,aria:0,allLayerViews:32,analyses:0,attributionItems:32,attributionMode:1,autoDestroyDisabled:5,background:0,basemap:1,basemapView:0,canZoomIn:36,canZoomOut:36,center:1,constraints:0,displayFilterDisabled:5,extent:0,fatalError:0,focusAreas:0,graphics:0,hideAttribution:5,highlights:0,interacting:32,itemId:3,baseCypherQuery:3,serviceUrl:3,layerViews:32,magnifier:32,map:0,navigating:32,navigation:0,padding:0,popup:0,popupElement:32,popupDisabled:5,popupComponentEnabled:5,ready:36,resizeAlign:1,resolution:40,rotation:9,selectionManager:32,scale:9,slotGroupRefs:32,spatialReference:0,stationary:32,suspended:39,theme:0,timeExtent:0,timeZone:1,updating:36,viewpoint:0,zoom:9,loadErrorSources:0}}static{this.styles=[A,E]}get aria(){return this.view?.aria}set aria(e){this.view&&(this.view.aria=e)}get attributionItems(){return this.view?.attributionItems??[]}get center(){return this.view.center}set center(e){let t=I(e,this.view);t&&(this.view.center=t)}get extent(){return this.view.extent}set extent(e){this.extent?.equals(e)||(this.view.extent=e)}get focusAreas(){return this.map?this.map?.focusAreas:{areas:[],style:"bright"}}set focusAreas(e){this.map&&(this.map.focusAreas=e)}get hideAttribution(){return!this.view.attributionVisible}set hideAttribution(e){this.view.attributionVisible=!e}get interacting(){return this.view.interacting}get itemId(){return this._map.portalItem?.id}set itemId(e){this._propItemId=e}get baseCypherQuery(){return this._baseCypherQuery}set baseCypherQuery(e){this._baseCypherQuery=e}get serviceUrl(){return this._serviceUrl}set serviceUrl(e){this._serviceUrl=e}get navigating(){return this.view.navigating}get popupElement(){return this._uiController.popupElement||null}get scale(){return this.view.scale}set scale(e){this.view.scale=e}get stationary(){return this.view.stationary}get viewpoint(){return this.view.viewpoint}set viewpoint(e){V(this.viewpoint,e)&&(this.view.viewpoint=e)}get zoom(){return this.view.zoom}set zoom(e){this.view.zoom=e}async closePopup(){this._uiController.closePopup()}async fetchPopupFeatures(e,t){return this.view.fetchPopupFeatures(e,t)}async destroy(){await this.manager.destroy()}async goTo(e,t){return await this.view.goTo(e,t)}async openPopup(e){this._uiController.openPopup(e)}toMap(e){return this.view.toMap(e)}toScreen(e,t){return this.view.toScreen(e,t)}async tryFatalErrorRecovery(){this.view.tryFatalErrorRecovery()}async viewOnReady(e,t){return await this.componentOnReady(),await this.view.whenReady().then(()=>e?.()).catch(t)}async whenAnalysisView(e){return await this.view.whenAnalysisView(e)}async whenLayerView(e){return await this.view.whenLayerView(e)}async zoomIn(){this.view.zoomIn()}async zoomOut(){this.view.zoomOut()}loaded(){let e=this;e.el.childElem=this._mapRef.value,this.view.container??=e.el.childElem,s.setLocalPublicMap(this,this._map),this.manager.onLifecycle(()=>[n(()=>this.map,t=>{t&&s.setLocalPrivateMap(this,t)},{initial:!0,sync:!0}),n(()=>this.view.stationary,()=>this.arcgisViewChange.emit(),{initial:!0}),n(()=>this.view.ready,()=>this.arcgisViewReadyChange.emit(),{initial:this.view.ready}),n(()=>this.view.attributionHeight,t=>{this._uiController.handleAttributionHeightChange(t)},{initial:!0})])}willUpdate(e){let t=()=>{this._activeLoadAbortController?.abort();let a=new AbortController;return this._activeLoadAbortController=a,a};if(e.has("_propItemId")||e.has("_serviceUrl")||e.has("_baseCypherQuery")){if(e.has("_propItemId")&&this._propItemId||e.has("_propItemId")&&!this._serviceUrl)t(),s.reCreateAccessor(this._map,this),s.setPortalItem(this._map,this._propItemId),s.setMap(this.view,this._map);else if(!this._propItemId)if(this._serviceUrl&&!this._baseCypherQuery){let a=t();s.fetchKnowledgeGraph(this._serviceUrl).then(l=>{let h=new s.WebLinkChart,o=new s.LinkChartLayer({url:l.url});o.load({signal:a?.signal});try{u(a.signal),h.add(o),this._setLinkChartAndZoom(h)}catch(b){if(!D(b))throw b}})}else if(this._baseCypherQuery&&this._serviceUrl){let a=t();s.fetchKnowledgeGraph(this._serviceUrl).then(l=>{s.WebLinkChart.fromCypherQuery(l,new x({openCypherQuery:this._baseCypherQuery}),void 0,{signal:a?.signal}).then(async h=>{try{u(a.signal),this._setLinkChartAndZoom(h)}catch(o){if(!D(o))throw o}})})}else!this._serviceUrl&&e.has("_serviceUrl")&&(t(),s.setMap(this.view,null))}}_setLinkChartAndZoom(e){s.reCreateAccessor(this._map,this),s.setLocalPrivateMap(this,e),s.setMap(this.view,e),this._map&&this.view.when(()=>{e.diagramNodesExtent&&this.view.goTo(e.diagramNodesExtent)})}renderMain(){return p`<div class=${m(d.base)} ${v(this._mapRef)}></div>`}render(){return p`${this.renderMain()}<section class=${m(d.containerUI)} ${v(this._containerRef)}>${this._uiController.render()}</section>`}},s={fetchKnowledgeGraph:async r=>await P(r),WebLinkChart:R,LinkChartLayer:Q,setMap:(r,e)=>{r.map=e},setLocalPrivateMap:(r,e)=>{r._map=e},setLocalPublicMap:(r,e)=>{r.map||=e},setPortalItem(r,e){r.portalItem={id:e}},reCreateAccessor:C};_("arcgis-link-chart",y);return{ArcgisLinkChart:y,exportsForTests:s}},"core/reactiveUtils","views/LinkChartView","WebLinkChart","rest/knowledgeGraphService","rest/knowledgeGraph/GraphQueryStreaming","core/promiseUtils","layers/LinkChartLayer",a,b,e,g)
|
package/dist/cdn/4T6ECCFH.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{N as l,T as b,a as o,b as i,w as g}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([,{watch:d}])=>{var x=o`.captions-container{width:100%;height:100%;padding-inline-start:var(--arcgis-internal-presentation-padding-start);padding-inline-end:var(--arcgis-internal-presentation-padding-end)}.captions{height:auto;position:relative;box-sizing:border-box;transition:padding .05s ease-in 0s;min-height:48px;max-width:max(400px,40%);padding:12px 16px;&:before{content:"";position:absolute;inset-block:-16px -144px;inset-inline:calc(-64px - var(--arcgis-internal-presentation-padding-start)) calc(0px - max(360px,32vw));background:var(--caption-gradient);mask:var(--caption-gradient-mask-before);opacity:var(--calcite-opacity-half);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--caption-gradient-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}:dir(rtl) .captions{&:before{mask:var(--caption-gradient-mask-before-RTL)}}.title{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;text-shadow:var(--title-text-shadow);font-size:var(--caption-title-font-size);font-family:Avenir Next World,sans-serif;font-style:normal;font-weight:var(--calcite-font-weight-bold);line-height:var(--calcite-font-line-height-relative-snug);margin-bottom:2px;color:var(--calcite-color-text-1)}.captions-description{text-wrap:pretty;text-align:start;overflow:hidden;text-overflow:ellipsis;overflow-wrap:break-word;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;text-shadow:var(--description-text-shadow);font-size:var(--caption-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);color:var(--calcite-color-text-1)}.cover-container{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;padding-block-start:calc(var(--arcgis-internal-presentation-cover-padding-top) + var(--calcite-space-lg));padding-block-end:calc(var(--arcgis-internal-presentation-cover-padding-bottom) + var(--calcite-space-lg))}.cover{display:flex;flex-direction:column;align-items:center;justify-content:center;padding-inline:8px;min-height:88px;min-width:200px;position:relative;padding-inline-start:calc(var(--arcgis-internal-presentation-cover-padding-start) + 16px);padding-inline-end:calc(var(--arcgis-internal-presentation-cover-padding-end) + 16px);opacity:1;transition:opacity .25s,color .25s;&:before{content:"";position:absolute;inset:calc(0vw - max(320px,12vw,18vh)) calc(0vw - max(320px,24vw));border-radius:120px;background:var(--cover-gradient-before);mask:var(--cover-mask-before);opacity:var(--calcite-opacity-half);z-index:-1}&:after{content:"";position:absolute;inset:-32px;z-index:-2;background-color:#fff0;mask:var(--cover-mask-after);mask-mode:luminance;mask-composite:intersect;background-size:cover;backdrop-filter:blur(2px);opacity:var(--calcite-opacity-dark)}}.cover-description{text-wrap:pretty;text-align:center;text-shadow:var(--description-text-shadow);font-size:var(--cover-description-font-size);font-style:normal;font-weight:var(--calcite-font-weight-medium);line-height:var(--calcite-font-line-height-relative-snug);display:-webkit-box;max-width:75ch;overflow-wrap:break-word;overflow:hidden;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;color:var(--calcite-color-text-1)}:host{width:100%;height:100%;position:absolute;top:0;left:0;display:flex;align-items:flex-start;box-sizing:border-box;--caption-gradient: linear-gradient( 180deg, rgb(255 255 255 / 100%) 0%, rgb(255 255 255 / 98.3%) 8.1%, rgb(255 255 255 / 95%) 15.5%, rgb(255 255 255 / 90%) 22.5%, rgb(255 255 255 / 83.3%) 29%, rgb(255 255 255 / 73.3%) 35%, rgb(255 255 255 / 65%) 41%, rgb(255 255 255 / 55%) 47%, rgb(255 255 255 / 45%) 53%, rgb(255 255 255 / 35%) 59%, rgb(255 255 255 / 26.7%) 65%, rgb(255 255 255 / 18.3%) 71%, rgb(255 255 255 / 10%) 77%, rgb(255 255 255 / 4%) 84.5%, rgb(255 255 255 / 1%) 91%, rgb(255 255 255 / 0%) 100% );--title-text-shadow: 0 1px 1px #fff3, 0 0 3px #fff2, 0 0 6px #fff2;--caption-gradient-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-before-RTL: linear-gradient( 270deg, rgb(255 255 255 / 100%) 30%, rgb(255 255 255 / 98.3%) 35.6%, rgb(255 255 255 / 95%) 41%, rgb(255 255 255 / 90%) 46%, rgb(255 255 255 / 83.3%) 50.3%, rgb(255 255 255 / 73.3%) 54.5%, rgb(255 255 255 / 65%) 58.7%, rgb(255 255 255 / 55%) 62.9%, rgb(255 255 255 / 45%) 67%, rgb(255 255 255 / 35%) 71%, rgb(255 255 255 / 26.7%) 75.5%, rgb(255 255 255 / 18.3%) 80%, rgb(255 255 255 / 10%) 84%, rgb(255 255 255 / 4%) 89%, rgb(255 255 255 / 1%) 94%, rgb(255 255 255 / 0%) 100% );--caption-gradient-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--description-text-shadow: 0 .5px .5px #fff2, 0 1px 1px #fff2, 0 0 8px #fff2;--caption-title-font-size: max(var(--calcite-font-size-xxl), calc(18px + .64vw) );--caption-description-font-size: max(var(--calcite-font-size), calc(10px + .4vw) );--cover-description-font-size: max(var(--calcite-font-size-md), calc(10px + .5vw) );--cover-gradient-before: linear-gradient( 0deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 4%, rgb(255 255 255 / 4%) 7.7%, rgb(255 255 255 / 10%) 11.2%, rgb(255 255 255 / 18.3%) 14.5%, rgb(255 255 255 / 26.7%) 17.5%, rgb(255 255 255 / 35%) 20.5%, rgb(255 255 255 / 45%) 23.5%, rgb(255 255 255 / 55%) 26.5%, rgb(255 255 255 / 65%) 29.5%, rgb(255 255 255 / 73.3%) 32.5%, rgb(255 255 255 / 83.3%) 35.5%, rgb(255 255 255 / 90%) 38.5%, rgb(255 255 255 / 95%) 42.2%, rgb(255 255 255 / 98.3%) 46%, rgb(255 255 255 / 100%) 50%, rgb(255 255 255 / 98.3%) 54%, rgb(255 255 255 / 95%) 57.8%, rgb(255 255 255 / 90%) 61.5%, rgb(255 255 255 / 83.3%) 64.5%, rgb(255 255 255 / 73.3%) 67.5%, rgb(255 255 255 / 65%) 70.5%, rgb(255 255 255 / 55%) 73.5%, rgb(255 255 255 / 45%) 76.5%, rgb(255 255 255 / 35%) 79.5%, rgb(255 255 255 / 26.7%) 82.5%, rgb(255 255 255 / 18.3%) 85.5%, rgb(255 255 255 / 10%) 88.8%, rgb(255 255 255 / 4%) 92.3%, rgb(255 255 255 / 1%) 96%, rgb(255 255 255 / 0%) 100% );--cover-mask-before: linear-gradient( 90deg, rgb(255 255 255 / 0%) 0, rgb(255 255 255 / 1%) 3.2%, rgb(255 255 255 / 4%) 6.2%, rgb(255 255 255 / 10%) 9%, rgb(255 255 255 / 18.3%) 11.6%, rgb(255 255 255 / 26.7%) 14%, rgb(255 255 255 / 35%) 16.4%, rgb(255 255 255 / 45%) 18.8%, rgb(255 255 255 / 55%) 21.2%, rgb(255 255 255 / 65%) 23.6%, rgb(255 255 255 / 73.3%) 26%, rgb(255 255 255 / 83.3%) 28.4%, rgb(255 255 255 / 90%) 30.8%, rgb(255 255 255 / 95%) 33.8%, rgb(255 255 255 / 98.3%) 36.8%, rgb(255 255 255 / 100%) 40%, rgb(255 255 255 / 100%) 60%, rgb(255 255 255 / 98.3%) 63.2%, rgb(255 255 255 / 95%) 66.2%, rgb(255 255 255 / 90%) 69.2%, rgb(255 255 255 / 83.3%) 71.6%, rgb(255 255 255 / 73.3%) 74%, rgb(255 255 255 / 65%) 76.4%, rgb(255 255 255 / 55%) 78.8%, rgb(255 255 255 / 45%) 81.2%, rgb(255 255 255 / 35%) 83.6%, rgb(255 255 255 / 26.7%) 86%, rgb(255 255 255 / 18.3%) 88.4%, rgb(255 255 255 / 10%) 91%, rgb(255 255 255 / 4%) 93.9%, rgb(255 255 255 / 1%) 96.8%, rgb(255 255 255 / 0%) 100% );--cover-mask-after: linear-gradient( 90deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 180deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 270deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% ), linear-gradient( 0deg, white calc(100% - 40px) , rgb(255 255 255 / 90%) calc(100% - 35px) , rgb(255 255 255 / 70%) calc(100% - 30px) , rgb(255 255 255 / 50%) calc(100% - 25px) , rgb(255 255 255 / 30%) calc(100% - 20px) , rgb(255 255 255 / 10%) calc(100% - 15px) , black 100% );--cover-gradient-phone: linear-gradient( 0deg, rgb(255 255 255 / 0%) .59%, rgb(255 255 255 / 4%) 4.94%, rgb(255 255 255 / 50%) 25.87%, rgb(255 255 255 / 70%) 37.02%, rgb(255 255 255 / 80%) 48.43%, rgb(255 255 255 / 70%) 60.34%, rgb(255 255 255 / 30%) 80.55%, rgb(255 255 255 / 4%) 93.22%, rgb(255 255 255 / 0%) 99.74% );.fadeOut{opacity:1!important}}`,s=50,p=256,a=class extends l{constructor(){super(...arguments),this.transitionActive=!1,this.autoDestroyDisabled=!1,this.arcgisReady=g()}static{this.properties={_appliedSlide:16,slide:0,transitionActive:5,autoDestroyDisabled:5}}static{this.styles=x}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>d(()=>({slide:this.slide,transitionActive:this.transitionActive}),({slide:e,transitionActive:r})=>{r?this._appliedSlide=void 0:this._appliedSlide=e},{initial:!0}))}render(){let e=this._appliedSlide?.layout;if(!this._appliedSlide||!e||e==="none")return null;let r=this._appliedSlide.title?.text,t=this._appliedSlide.description?.text,c=r?.length&&r.length>s?`${r?.substring(0,s)}...`:r,n=t?.length&&t.length>p?`${t?.substring(0,p)}...`:t;return e==="caption"?this._renderCaptions(c,n):this._renderCover(c,n)}_renderCover(e,r){return i`<div class="cover-container"><div class="cover"><div class="title">${e}</div><div class="cover-description">${r}</div></div></div>`}_renderCaptions(e,r){return i`<div class="captions-container"><div class="captions"><div class="title">${e}</div><div class="captions-description">${r}</div></div></div>`}};b("arcgis-presentation-captions",a);return a},"core/accessorSupport/decorators","core/reactiveUtils")
|
package/dist/cdn/4UBDCXSK.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import{a as V}from"./4MJJOPAL.js";import{a as R}from"./I4VCDQAJ.js";import{a as N}from"./LTOXLO3L.js";import{a as L}from"./Z24LPE5P.js";import{a as z}from"./2BVXNQ3U.js";import"./JD74LG7K.js";import c from"./YHNRTH56.js";import{g as A}from"./3AQ6NC3C.js";import"./A4X5YDA6.js";import a from"./SDWFNKIL.js";import"./QUZTFUWM.js";import{d as F}from"./4W3T75SY.js";import{A as I,M as b,N as C,O as D,Q as w,T as U,a as T,b as o,w as v}from"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([Z,E,x,j,H,,M,{property:p,subclass:G},{isHTTPSProtocol:f,isDataProtocol:y},{formatDate:P,convertDateFormatToIntlOptions:q},{watch:B},,{a:O}])=>{var J=Object.defineProperty,K=Object.getOwnPropertyDescriptor,k=(s,e,t,i)=>{for(var r=i>1?void 0:i?K(e,t):e,a=s.length-1,n;a>=0;a--)(n=s[a])&&(r=(i?n(e,t,r):n(r))||r);return i&&r&&J(e,t,r),r},h=class extends M{constructor(s){super(s)}get editedBookmark(){let{bookmark:s}=this;return s?this._get("editedBookmark")||s.clone():null}get customUrl(){if(this._customUrl)return this._customUrl;let s=this.editedBookmark?.thumbnail?.url??"";return s??(f(s)?s:null)}set customUrl(s){this._customUrl=s}get screenshotUrl(){if(this._screenshotUrl)return this._screenshotUrl;let s=this.editedBookmark?.thumbnail?.url??"";return s??(y(s)?s:null)}set screenshotUrl(s){this._screenshotUrl=s}get state(){return this._get("state")}set state(s){this.validationState=void 0,this.creatingBookmark=void 0,this._set("state",s)}get thumbnailState(){if(this._thumbnailState)return this._thumbnailState;let s=this.editedBookmark?.thumbnail?.url;return s?f(s)?"url":"screenshot":"none"}set thumbnailState(s){this._thumbnailState=s}};k([p()],h.prototype,"bookmark",2);k([p({readOnly:!0})],h.prototype,"editedBookmark",1);k([p()],h.prototype,"_customUrl",2);k([p()],h.prototype,"customUrl",1);k([p()],h.prototype,"_screenshotUrl",2);k([p()],h.prototype,"screenshotUrl",1);k([p()],h.prototype,"state",1);k([p()],h.prototype,"_thumbnailState",2);k([p()],h.prototype,"thumbnailState",1);k([p()],h.prototype,"validationState",2);k([p()],h.prototype,"creatingBookmark",2);h=k([G("UserState")],h);var Q=T`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{display:flex}.root{display:flex;flex:1 1 auto;overflow:hidden auto;transition:max-height .25s ease-in-out}:host([closed]) .root{display:none}.empty{display:flex;flex-flow:column wrap;align-items:center;padding:var(--calcite-spacing-md) var(--calcite-spacing-lg);text-align:center;color:var(--calcite-color-text-1)}.root .arcgis-widget__content--empty{background-color:var(--calcite-color-foreground-2)}.root calcite-flow-item[loading]{min-height:150px}.loader{margin-inline-end:0}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-spacing-lg)}.bookmark-image-container{display:flex;position:relative;margin:0;margin-inline-start:var(--calcite-spacing-xs);min-width:16px;min-height:16px}.bookmark-image-container .bookmark-image{max-width:64px;overflow:hidden}.drag-enabled .bookmark-image-container{margin-inline-start:0}.no-bookmarks-heading{margin:0;margin-block-start:var(--calcite-spacing-md);font-size:var(--calcite-font-size-md);line-height:var(--calcite-font-line-height-relative-tight);font-weight:var(--calcite-font-weight-regular)}.authoring{display:flex;flex-direction:column}.authoring-image-container{display:flex;align-items:middle;justify-content:center;margin-block-end:var(--calcite-spacing-md);margin-inline-end:var(--calcite-spacing-lg);background-image:repeating-conic-gradient(#ccc 0% 25%,#fff 0% 50%);background-position:0 0,10px 10px;background-size:20px 20px;background-color:#fff;width:128px;height:128px;text-align:center}.authoring-image-container .bookmark-image{max-width:128px;max-height:128px}.form{display:flex;height:100%}.form-content{padding-block:var(--calcite-spacing-md);padding-inline:var(--calcite-spacing-lg)}.authoring-refresh-thumbnail-button{margin-block-end:var(--calcite-spacing-md)}.bookmark-content-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size-sm);line-height:var(--calcite-font-line-height-relative-normal)}.bookmark-content calcite-table{margin-inline-start:-.25rem}.bookmark-content calcite-table,.bookmark-content calcite-table-row{--calcite-table-border-color: transparent;--calcite-color-text-1: var(--calcite-color-text-3);--calcite-table-row-background-color: transparent;pointer-events:none}`,W=E.ofType(Z),X={width:128,height:128,format:"png"},$={takeScreenshot:!0,captureViewpoint:!0,captureRotation:!0,captureScale:!0,captureTimeExtent:!0},S=class extends C{constructor(){super(...arguments),this._bookmarks=null,this._defaultCreateOptions={...$},this._defaultEditOptions={...$},this._defaultBookmarks=new W,this._guid=I(),this._addInputNode=null,this._editInputNode=null,this._urlEditInputNode=null,this._lastDragDetail=null,this.messages=z({}),this._storeEditFlowItemNode=e=>{this._editFlowItemEl=e},this._storeRootFlowItem=e=>{this._rootFlowItemEl=e},this._storeAddFlowItemNode=e=>{this._addFlowItemEl=e},this._updateTimeExtentLayout=e=>{let t=e[0]?.contentRect.width;this._useStackedTimeExtentRows=(t??0)<300},this._activeBookmark=null,this._userState=null,this._userCreatingBookmark=!1,this.editIncludeTimeExtent=!1,this._useStackedTimeExtentRows=!1,this.view=O(this),this.icon="bookmark",this.closed=!1,this.disabled=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.showAddBookmarkButton=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showEditBookmarkButton=!1,this.showFilter=!1,this.showHeading=!1,this.hideThumbnail=!1,this.hideTime=!1,this.timeDisabled=!1,this.autoDestroyDisabled=!1,this.state=this._state,this.arcgisBookmarkEdit=v(),this.arcgisBookmarkSelect=v(),this.arcgisPropertyChange=A()("state"),this.arcgisReady=v(),this.arcgisClose=v()}static{this.properties={_bookmarkSelectedMessage:16,_activeBookmark:16,_userState:16,_userStateValue:16,_userValidationState:16,_userThumbnailState:16,_userCreatingBookmark:16,editIncludeTimeExtent:16,_useStackedTimeExtentRows:16,_state:16,view:0,referenceElement:1,icon:1,closed:7,defaultCreateOptions:0,defaultEditOptions:0,bookmarks:[1,{type:E}],disabled:5,dragEnabled:5,filterPlaceholder:1,filterText:1,headingLevel:9,goToOverride:0,showAddBookmarkButton:5,showCloseButton:5,showCollapseButton:5,showEditBookmarkButton:5,showFilter:5,showHeading:5,hideThumbnail:5,hideTime:5,timeDisabled:5,autoDestroyDisabled:5,messageOverrides:0,label:1,state:32}}static{this.styles=[Q,R]}get _state(){let{view:e}=this;return e&&!e.ready?"loading":"ready"}get defaultCreateOptions(){return this._defaultCreateOptions}set defaultCreateOptions(e){this._defaultCreateOptions={...$,...e}}get defaultEditOptions(){return this._defaultEditOptions}set defaultEditOptions(e){this._defaultEditOptions={...$,...e}}get bookmarks(){return this._bookmarks??this.view?.map?.bookmarks??this._defaultBookmarks}set bookmarks(e){this._bookmarks=E.isCollection(e)?e:new E(e)}async destroy(){await this.manager.destroy(),this._activeBookmark=null}goTo(e){let{view:t}=this;if(!t)throw new x("go-to:invalid-view","Cannot go to a bookmark without a view");let i=e?.viewpoint;if(!i)throw new x("go-to:invalid-bookmark","Cannot go to a bookmark that does not contain a 'viewpoint'.",{bookmark:e});this._activeBookmark=e;let r=V({target:i},t,this.goToOverride),a=e?.timeExtent;return!this.timeDisabled&&a&&(t.timeExtent=a),this.arcgisBookmarkSelect.emit({bookmark:e}),this._bookmarkSelectedMessage=this.messages?.bookmarkSelected?.replace("{bookmarkName}",e.name),r.catch(()=>{}).then(()=>this._activeBookmark=null),r}connectedCallback(){super.connectedCallback(),this._resizeObserver=new ResizeObserver(this._updateTimeExtentLayout),this._resizeObserver.observe(this.el)}loaded(){this.manager.onLifecycle(()=>[B(()=>this._userState?.state,e=>this._userStateValue=e,{initial:!0}),B(()=>this._userState?.validationState,e=>this._userValidationState=e,{initial:!0}),B(()=>this._userState?.thumbnailState,e=>this._userThumbnailState=e,{initial:!0}),B(()=>this._userState?.creatingBookmark,e=>this._userCreatingBookmark=!!e,{initial:!0})])}disconnectedCallback(){this._resizeObserver?.disconnect(),this._resizeObserver=void 0,super.disconnectedCallback()}async _createBookmark(e){let{view:t,defaultCreateOptions:i}=this;if(!t)throw new x("create-bookmark:invalid-view","Cannot create a bookmark without a view.");let{takeScreenshot:r,screenshotSettings:a,captureViewpoint:n,captureRotation:l,captureScale:u,captureTimeExtent:d}={...i,...e},c=r?await this._createThumbnail(a):void 0,m=!this.timeDisabled&&d&&t.timeExtent!=null?t.timeExtent.clone():void 0;return new Z({...c&&{thumbnail:c},...d&&{timeExtent:m},...n&&{viewpoint:this._createViewpoint({view:t,captureScale:u,captureRotation:l})}})}async _editBookmark(e,t){if(!e)return e;let{view:i,defaultEditOptions:r}=this;if(!i)throw new x("edit-bookmark:invalid-view","Cannot edit a bookmark without a view.");let{takeScreenshot:a,screenshotSettings:n,captureViewpoint:l,captureRotation:u,captureScale:d,captureTimeExtent:c}={...r,...t},m=a?await this._createThumbnail(n):void 0;return m&&(e.thumbnail=m),l&&(e.viewpoint=this._createViewpoint({view:i,captureScale:d,captureRotation:u})),c&&i.timeExtent!=null&&(e.timeExtent=i.timeExtent.clone()),this.arcgisBookmarkEdit.emit({bookmark:e}),e}async _createThumbnail(e){let{view:t}=this;if(!t)throw new x("bookmark:invalid-view","Cannot create slide thumbnail without a view");let i=await t.takeScreenshot({...X,...e});return new j({url:i.dataUrl})}_createViewpoint({view:e,captureRotation:t,captureScale:i}){let r=e.viewpoint?.clone();return new H({targetGeometry:e.extent?.clone(),rotation:(t?r?.rotation:null)??0,scale:(i?r?.scale:null)??0})}_handleClose(){this.closed=!0,this.arcgisClose.emit()}startAddBookmark(){this._userState=new h({state:"add"}),requestAnimationFrame(()=>{this._addFlowItemEl?.setFocus()})}_clearState(){this._userState=null}_getTimeExtentStrings(e){let{hideTime:t}=this,{timeExtent:i}=e;if(!i)return{};let{start:r,end:a}=i,n=a!=null&&r?.getTime()!==a.getTime(),l=r?this._formatDate(r):"",u=r&&!t?this._formatTime(r):"";if(!n)return{startDate:l,startTime:u};let d=this._formatDate(a),c=t?"":this._formatTime(a);return{startDate:l,startTime:u,endDate:d,endTime:c}}_handleUrlEditInputChange(){let{_userState:e,_urlEditInputNode:t}=this,i=t?.value;if(!e?.editedBookmark||!i)return;e.validationState=void 0,y(e.editedBookmark.thumbnail?.url??"")&&(e.screenshotUrl=e.editedBookmark.thumbnail?.url);let r={url:i};f(r.url)&&(e.customUrl=i,e.editedBookmark.thumbnail=r)}_getBookmarkTitle(e){return(e?.name||this.messages.untitled)??""}_formatDate(e){if(!e)return"";let t=this.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...q("short-date"),timeZone:i})}_formatTime(e){if(!e)return"";let t=this.view,i=t&&"timeZone"in t?t.timeZone:"system";return P(e,{...q("long-time"),timeZone:i})}_onCalciteListOrderChange(e){let{_lastDragDetail:t,bookmarks:i}=this,{toEl:r,fromEl:a,dragEl:n,newIndex:l}=e;if(!i.length)return;let u=t?.newIndex===l&&t?.dragEl===n&&t?.toEl===r&&t?.fromEl===a;if(!a||!r||u)return;this._lastDragDetail=e;let d=Array.from(a.children).filter(c=>c?.matches("calcite-list-item")).map(c=>c.value);i.sort((c,m)=>{let _=d.indexOf(c.uid),g=d.indexOf(m.uid);return _>g?1:_<g?-1:0})}_endAddBookmark(){this._clearState(),this._focusRootFlowItem()}_showEditBookmarkForm(e){e&&(this.editIncludeTimeExtent=!!e.timeExtent,this._userState=new h({bookmark:e,state:"edit"}),requestAnimationFrame(()=>{this._editFlowItemEl?.setFocus()}),this.goTo(e))}async _createNewScreenshotUrl(){return(await this._createBookmark()).thumbnail?.url??null}_storeCurrentUrl(){let{_userState:e}=this,t=e?.editedBookmark?.thumbnail?.url;t&&(f(t)?e.customUrl=t:y(t)&&(e.screenshotUrl=t))}async _handleThumbnailTypeSelect(e){let{_userState:t}=this;if(!t)return;let{screenshotUrl:i,customUrl:r,editedBookmark:a}=t,n=e==="screenshot"?i??await this._createNewScreenshotUrl():e==="url"&&r?r:null;this._storeCurrentUrl(),a&&n&&(a.thumbnail={url:n}),t.validationState=void 0,t.thumbnailState=e}_focusRootFlowItem(){requestAnimationFrame(()=>{this._rootFlowItemEl?.setFocus()})}_closeEditBookmarkForm(){this._clearState(),this._focusRootFlowItem()}_addBookmarkSubmitClick(e){e.preventDefault(),this._addBookmarkSubmit()}async _addBookmarkSubmit(){let{_addInputNode:e,_userState:t,bookmarks:i}=this;if(!t)return;let r=e?e.value.trim():null;if(!r){t.validationState="name-required";return}t.creatingBookmark=!0;let a=await this._createBookmark();a.name=r,i.add(a),this._endAddBookmark()}async _editBookmarkAndClose(e,t){let{defaultEditOptions:i}=this;await this._editBookmark(e,{...i,...t}),this._closeEditBookmarkForm()}_editBookmarkSubmit(e){e.preventDefault();let{_userState:t,_editInputNode:i,editIncludeTimeExtent:r,_urlEditInputNode:a}=this;if(!t?.bookmark||!t.editedBookmark)return;t.validationState=void 0,t.customUrl=void 0,t.screenshotUrl=void 0;let n=i?.value.trim();if(!n){t.validationState="name-required";return}if(t.bookmark.name=n,t.bookmark.thumbnail=t.editedBookmark.thumbnail,r||(t.bookmark.timeExtent=null),t.thumbnailState==="url"&&a){let l={url:a.value};if(!f(l.url)){t.validationState="absolute-url-required";return}t.bookmark.thumbnail=l}else t.thumbnailState==="none"&&(t.bookmark.thumbnail=null);this._editBookmarkAndClose(t.bookmark,{takeScreenshot:!1,captureTimeExtent:r})}_storeEditInput(e){this._editInputNode=e}_storeAddInput(e){this._addInputNode=e}_storeUrlEditInput(e){this._urlEditInputNode=e}_deleteBookmark(e){this._closeEditBookmarkForm(),e&&(this.bookmarks.remove(e),e.destroy())}_goToBookmark(e){this._clearState(),this.goTo(e)}async _updateThumbnail(){let{_userState:e}=this;e&&(e.validationState=void 0,await this._editBookmark(e.editedBookmark,{takeScreenshot:!0,captureViewpoint:!1,captureRotation:!1,captureScale:!1,captureTimeExtent:!1}))}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:r}=e;r==null||!t||!i||t.insertBefore(i,t.children[r])}render(){return o`<div class="root"><div class="sr-only" aria-live=polite>${this._bookmarkSelectedMessage}</div>${this._renderBookmarksContainer()}</div>`}_renderNoBookmarksContainer(e){let{messages:t,_state:i}=this;return!e.length&&i!=="loading"?o`<div class="empty"><calcite-icon .icon=${this.icon} scale=l></calcite-icon>${L({class:"no-bookmarks-heading",level:this.headingLevel,children:t.noBookmarksHeading})}<p class="no-bookmarks-description">${t.noBookmarksDescription}</p></div>`:null}_renderEditBookmarkFlowItems(){let e=this._userStateValue==="edit",t=this._userState?.editedBookmark;return!t||!e?[]:this._renderEditingBookmark(t)}_renderBookmarkItems(e){return e?e.toArray().map(t=>this._renderBookmark(t)):[]}_renderBookmarksContainer(){let{_state:e,bookmarks:t,dragEnabled:i,messages:r,disabled:a,filterPlaceholder:n,filterText:l,closed:u,headingLevel:d}=this,c=t.filter(g=>g!=null),m=c.length?o`<calcite-list class="list" display-mode=flat .dragEnabled=${i} .filterEnabled=${this.showFilter} .filterPlaceholder=${n} .filterProps=${["label","description","metadata"]} .filterText=${l} .group=${`bookmarks-${this._guid}`} .label=${r.componentLabel??""} selection-appearance=border selection-mode=none @calciteListDragEnd=${g=>this._handleCalciteListDragEnd(g.detail)} @calciteListFilter=${g=>this.filterText=g.currentTarget?.filterText??""} @calciteListOrderChange=${g=>this._onCalciteListOrderChange(g.detail)}>${this._renderBookmarkItems(c)}${this.showFilter?o`<div class="filter-no-results" slot=filter-no-results><calcite-notice kind=info open width=full><div slot=message>${r.noBookmarksHeading}</div>;</calcite-notice></div>`:null}</calcite-list>`:null,_=[o`<calcite-flow-item .closable=${this.showCloseButton} .closed=${u} .collapsible=${this.showCollapseButton} .disabled=${a} .heading=${this.showHeading?r.componentLabel:void 0} .headingLevel=${d} .loading=${e==="loading"} .selected=${!this._userStateValue} @calciteFlowItemClose=${this._handleClose} ${b(this._storeRootFlowItem)}>${this._renderNoBookmarksContainer(c)}${m}${this._renderAddBookmarkButton()}</calcite-flow-item>`,this._renderAddingBookmark(),this._renderEditBookmarkFlowItems()];return u?null:o`<calcite-flow>${_}</calcite-flow>`}_renderAddBookmarkButton(){let{messages:e,disabled:t,view:i,_state:r}=this,a=this._userCreatingBookmark;return i&&r!=="loading"&&this.showAddBookmarkButton?o`<calcite-fab appearance=outline-fill class="add-bookmark-button" .disabled=${t||a} icon=plus kind=neutral .loading=${a} @click=${this.startAddBookmark} slot=fab .text=${e.addBookmark} text-enabled title=${e.addBookmark??w}></calcite-fab>`:null}_renderEditContainer(e){let{messages:t}=this,i=`${t.edit} ${this._getBookmarkTitle(e)}`;return this.showEditBookmarkButton?o`<calcite-action icon=pencil @click=${()=>this._showEditBookmarkForm(e)} slot=actions-end .text=${i} title=${i??w}></calcite-action>`:null}_renderBookmarkImage(e,t){return t?o`<img alt class="bookmark-image" src=${e.thumbnail?.url??w}>`:null}_renderBookmarkTimeSwitch(e){let{messages:t,view:i}=this,{timeExtent:r}=e;return i?.timeExtent??r?o`<calcite-label layout=inline-space-between>${t.includeTimeExtent}<calcite-switch .checked=${!!r} @calciteSwitchChange=${a=>{this.editIncludeTimeExtent=a.currentTarget.checked}}></calcite-switch></calcite-label>`:null}_renderEditBookmarkTimeExtent(e){return this.editIncludeTimeExtent?this._renderBookmarkTimeExtent(e):null}_renderTimeExtentDescription(e){let{startDate:t,startTime:i,endDate:r,endTime:a}=this._getTimeExtentStrings(e);if(!t)return"";let n=`${t} ${i}`,l=`${r} ${a}`;return r?`${n} - ${l}`:n}_renderBookmarkTimeExtent(e,t=!1){let{messages:i}=this,{startDate:r,startTime:a,endDate:n,endTime:l}=this._getTimeExtentStrings(e),u=this._useStackedTimeExtentRows&&!!n,d=(m,_,g)=>o`<calcite-table-cell title=${g??""??w}>${m} ${_?[o`<br>`,_]:null}</calcite-table-cell>`,c=[];return r&&c.push({heading:i.startDate,date:r,time:a}),n&&c.push({heading:i.endDate,date:n,time:l}),r?o`<calcite-table .caption=${i.timeExtent??""} scale=s>${u?c.map(m=>o`<calcite-table-row>${t?null:o`<calcite-table-header .heading=${m.heading}></calcite-table-header>`}${d(m.date,m.time,m.heading)}</calcite-table-row>`):[t?null:o`<calcite-table-row slot=table-header><calcite-table-header .heading=${i.startDate}></calcite-table-header>${n?o`<calcite-table-header .heading=${i.endDate}></calcite-table-header>`:null}</calcite-table-row>`,o`<calcite-table-row>${d(r,a,i.startDate)}${n?d(n,l,i.endDate):null}</calcite-table-row>`]}</calcite-table>`:null}_renderBookmarkActiveScrim(e,t){return this._activeBookmark===e&&t?o`<calcite-scrim loading></calcite-scrim>`:null}_renderBookmarkActiveLoader(e,t){return this._activeBookmark===e&&!t?o`<calcite-loader class="loader" inline .label=${this.messages.loading??""}></calcite-loader>`:null}_renderBookmarkImageIcon(e,t){return this._activeBookmark!==e&&!t?o`<calcite-icon icon=bookmark scale=s></calcite-icon>`:null}_renderBookmarkThumbnail(e){let t=!this.hideThumbnail&&!!e.thumbnail?.url;return o`<div class="bookmark-image-container" slot=content-start>${this._renderBookmarkActiveScrim(e,t)}${this._renderBookmarkImage(e,t)}${this._renderBookmarkActiveLoader(e,t)}${this._renderBookmarkImageIcon(e,t)}</div>`}_renderBookmark(e){return N(e.uid,o`<calcite-list-item class=${D(F({"drag-enabled":this.dragEnabled}))} .description=${this._renderTimeExtentDescription(e)} .label=${this._getBookmarkTitle(e)} .value=${e.uid} @calciteListItemSelect=${()=>this._goToBookmark(e)}>${this._renderBookmarkThumbnail(e)}${this._renderBookmarkContent(e)}${this._renderEditContainer(e)}</calcite-list-item>`)}_renderBookmarkContent(e){return o`<div class="bookmark-content" slot=content><span class="bookmark-content-label">${this._getBookmarkTitle(e)}</span>${this._renderBookmarkTimeExtent(e,!0)}</div>`}_renderEditingBookmarkName(e){let{messages:t}=this,i=this._userValidationState==="name-required";return o`<calcite-label>${t.title}<calcite-input class="edit-bookmark-input" name=bookmark-name .placeholder=${t.titlePlaceholder} required type=text .value=${e.name} ${b(this._storeEditInput)}></calcite-input>${i?o`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderEditingBookmarkActions(){let{messages:e,_userState:t}=this,i=t?.bookmark;return[o`<calcite-button appearance=transparent kind=danger @click=${()=>this._deleteBookmark(i)} slot=footer type=button width=full>${e.delete}</calcite-button>`,o`<calcite-button appearance=outline @click=${this._closeEditBookmarkForm} slot=footer type=button width=full>${e.cancel}</calcite-button>`,o`<calcite-button slot=footer type=submit width=full>${e.save}</calcite-button>`]}_renderEditingTimeExtent(e){let{view:t}=this,{timeExtent:i}=e;return!this.timeDisabled&&(t?.timeExtent??i)?o`<div>${this._renderBookmarkTimeSwitch(e)}${this._renderEditBookmarkTimeExtent(e)}</div>`:null}_renderEditingBookmarkImage(e){let{_userThumbnailState:t}=this,i=e.thumbnail?.url??"",r=f(i)?t==="url":y(i)?t==="screenshot":null;if(r)return this._renderBookmarkImage(e,r)}_renderEditingThumbnail(e){let{_userThumbnailState:t,hideThumbnail:i}=this;return!i&&t!=="none"?o`<div class="authoring-image-container">${this._renderEditingBookmarkImage(e)}</div>`:null}_renderUpdateThumbnailButton(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return!e&&i==="screenshot"?o`<calcite-button appearance=outline class="authoring-refresh-thumbnail-button" icon-start=refresh kind=neutral @click=${()=>{this._updateThumbnail()}} width=full>${t.updateThumbnail}</calcite-button>`:null}_renderEditingBookmarkUrlInput(e){let{messages:t,_userValidationState:i,_userThumbnailState:r}=this,a=e.thumbnail?.url??"",n=f(a)?a:void 0,l=a&&i==="absolute-url-required";return r==="url"?o`<calcite-label><calcite-input name=bookmark-thumbnail-url pattern=https://.* .placeholder=${t?`https://<${t.imageUrlPlaceholder}>`:void 0} required title=${t.imageUrlTooltip??w} type=text .value=${n} @calciteInputChange=${this._handleUrlEditInputChange} @calciteInputInput=${this._handleUrlEditInputChange} ${b(this._storeUrlEditInput)}></calcite-input>${l?o`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${t.invalidImageUrl}</calcite-input-message>`:null}</calcite-label>`:null}_renderThumbnailSelector(){let{hideThumbnail:e,messages:t,_userThumbnailState:i}=this;return e?null:o`<calcite-label>${t.thumbnail}<calcite-chip-group .label=${t.thumbnail??""} selection-mode=single-persist @calciteChipGroupSelect=${r=>this._handleThumbnailTypeSelect(r.currentTarget.selectedItems[0].value)}><calcite-chip .label=${t.screenshot??""} .selected=${i==="screenshot"} value=screenshot>${t.screenshot}</calcite-chip><calcite-chip .label=${t.url??""} .selected=${i==="url"} value=url>${t.url}</calcite-chip><calcite-chip .label=${t.none??""} .selected=${i==="none"} value=none>${t.none}</calcite-chip></calcite-chip-group></calcite-label>`}_renderEditingBookmark(e){let{disabled:t,messages:i,headingLevel:r}=this;return e?o`<form class="form" @submit=${this._editBookmarkSubmit}><calcite-flow-item .disabled=${t} .heading=${i.edit??""} .headingLevel=${r} .selected=${this._userStateValue==="edit"} @calciteFlowItemBack=${a=>{a.preventDefault(),this._closeEditBookmarkForm()}} ${b(this._storeEditFlowItemNode)}><div class="form-content"><div class="authoring">${this._renderEditingBookmarkName(e)}${this._renderThumbnailSelector()}${this._renderEditingThumbnail(e)}${this._renderEditingBookmarkUrlInput(e)}${this._renderUpdateThumbnailButton()}${this._renderEditingTimeExtent(e)}</div></div>${this._renderEditingBookmarkActions()}</calcite-flow-item></form>`:null}_renderAddingBookmarkName(){let{messages:e}=this,t=this._userValidationState==="name-required";return o`<calcite-label>${e.title}<calcite-input class="add-bookmark-input" name=bookmark-name .placeholder=${e.titlePlaceholder} required type=text value ${b(this._storeAddInput)}></calcite-input>${t?o`<calcite-input-message icon=exclamation-mark-triangle status=invalid>${e.invalidTitle}</calcite-input-message>`:null}</calcite-label>`}_renderAddingBookmarkActions(){let{messages:e}=this;return[o`<calcite-button appearance=outline @click=${this._endAddBookmark} slot=footer type=button width=full>${e.cancel}</calcite-button>`,o`<calcite-button slot=footer type=submit width=full>${e.add}</calcite-button>`]}_renderAddingBookmark(){let{disabled:e,messages:t,headingLevel:i,_userStateValue:r}=this;return r==="add"?o`<form class="form" @submit=${this._addBookmarkSubmitClick}><calcite-flow-item .disabled=${e} .heading=${t.addBookmark} .headingLevel=${i} selected @calciteFlowItemBack=${a=>{a.preventDefault(),this._endAddBookmark()}} ${b(this._storeAddFlowItemNode)}><div class="form-content">${this._renderAddingBookmarkName()}</div>${this._renderAddingBookmarkActions()}</calcite-flow-item></form>`:null}};U("arcgis-bookmarks",S);return S},"webmap/Bookmark","core/Collection","core/Error","webdoc/support/SlideThumbnail","Viewpoint","WebMap","core/Accessor","core/accessorSupport/decorators","core/urlUtils","intl","core/reactiveUtils",a,c)
|
package/dist/cdn/6MEC4BFN.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
|
|
2
|
-
import e from"./NAQYIBE5.js";import d from"./S2PCZUXW.js";import c from"./2FM2FJAY.js";import b from"./YHNRTH56.js";import"./3AQ6NC3C.js";import"./A4X5YDA6.js";import a from"./SDWFNKIL.js";import"./QUZTFUWM.js";import"./4W3T75SY.js";import"./WXLC6FPD.js";import"./H6RQVSYM.js";export default $arcgis.t(([,,,,a])=>{return a},a,b,c,d,e)
|