@esri/solutions-components 0.6.17 → 0.6.18
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/assets/t9n/map-tools/resources.json +2 -1
- package/dist/assets/t9n/map-tools/resources_en.json +2 -1
- package/dist/assets/t9n/solution-spatial-ref/resources.json +0 -1
- package/dist/assets/t9n/solution-spatial-ref/resources_en.json +0 -1
- package/dist/assets/t9n/solution-spatial-ref/resources_fr.json +6 -0
- package/dist/assets/t9n/solution-spatial-ref/resources_he.json +6 -0
- package/dist/assets/t9n/spatial-ref/resources.json +3 -0
- package/dist/assets/t9n/spatial-ref/resources_en.json +3 -0
- package/dist/assets/t9n/spatial-ref/resources_fr.json +3 -0
- package/dist/assets/t9n/spatial-ref/resources_he.json +3 -0
- package/dist/cjs/{basemap-gallery_6.cjs.entry.js → basemap-gallery_7.cjs.entry.js} +124 -3
- package/dist/cjs/{calcite-tree_3.cjs.entry.js → calcite-checkbox_3.cjs.entry.js} +123 -319
- package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +4 -3
- package/dist/cjs/card-manager_3.cjs.entry.js +8 -5
- package/dist/{collection/components/basemap-gallery/test/basemap-gallery.e2e.js → cjs/common-13719149.js} +17 -9
- package/dist/cjs/crowdsource-manager.cjs.entry.js +12 -7
- package/dist/cjs/edit-card_2.cjs.entry.js +4 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solution-configuration.cjs.entry.js +2 -1
- package/dist/cjs/solution-contents_3.cjs.entry.js +21 -21256
- package/dist/cjs/solution-item-icon.cjs.entry.js +327 -0
- package/dist/cjs/{solution-store-c443e657.js → solution-resource-f9e3b289.js} +2 -1698
- package/dist/cjs/solution-store-2414dd8a.js +1707 -0
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/cjs/spatial-ref.cjs.entry.js +21293 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/card-manager/card-manager.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.css +15 -0
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +47 -6
- package/dist/collection/components/edit-card/edit-card.css +0 -12
- package/dist/collection/components/floor-filter/floor-filter.css +19 -0
- package/dist/collection/components/floor-filter/floor-filter.js +163 -0
- package/dist/collection/components/info-card/info-card.js +3 -2
- package/dist/collection/components/layer-table/layer-table.css +8 -0
- package/dist/collection/components/layer-table/layer-table.js +18 -2
- package/dist/collection/components/map-card/map-card.js +19 -1
- package/dist/collection/components/map-picker/map-picker.css +0 -4
- package/dist/collection/components/map-picker/map-picker.js +1 -1
- package/dist/collection/components/map-tools/map-tools.js +54 -1
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.css +1 -7
- package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +37 -291
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.e2e.js +24 -12
- package/dist/collection/components/solution-spatial-ref/test/solution-spatial-ref.spec.js +32 -128
- package/dist/collection/components/spatial-ref/spatial-ref.css +20 -0
- package/dist/collection/components/spatial-ref/spatial-ref.js +445 -0
- package/dist/collection/components/spatial-ref/test/spatial-ref.e2e.js +71 -0
- package/dist/collection/components/spatial-ref/test/spatial-ref.spec.js +158 -0
- package/dist/collection/demos/crowdsource-manager.html +4 -0
- package/dist/collection/demos/solution-spatial-ref.html +9 -16
- package/dist/collection/demos/spatial-ref.html +53 -0
- package/dist/collection/utils/{templates.e2e.js → test/templates.e2e.js} +2 -2
- package/dist/collection/utils/{templates.e2e.ts → test/templates.e2e.ts} +2 -2
- package/dist/components/card-manager2.js +1 -1
- package/dist/components/crowdsource-manager.js +86 -73
- package/dist/components/edit-card2.js +1 -1
- package/dist/components/floor-filter.d.ts +11 -0
- package/dist/components/floor-filter.js +11 -0
- package/dist/components/floor-filter2.js +115 -0
- package/dist/components/info-card2.js +3 -2
- package/dist/components/layer-table2.js +5 -3
- package/dist/components/map-card2.js +45 -37
- package/dist/components/map-picker2.js +2 -2
- package/dist/components/map-tools2.js +52 -11
- package/dist/components/solution-configuration.js +79 -72
- package/dist/components/solution-resource-item2.js +2 -1
- package/dist/components/solution-resource.js +1836 -0
- package/dist/components/solution-spatial-ref2.js +41 -21277
- package/dist/components/solution-store.js +2 -1830
- package/dist/components/spatial-ref.d.ts +11 -0
- package/dist/components/spatial-ref.js +11 -0
- package/dist/components/spatial-ref2.js +21374 -0
- package/dist/esm/{basemap-gallery_6.entry.js → basemap-gallery_7.entry.js} +124 -4
- package/dist/esm/{calcite-tree_3.entry.js → calcite-checkbox_3.entry.js} +125 -321
- package/dist/esm/calcite-shell-panel_14.entry.js +2 -1
- package/dist/esm/card-manager_3.entry.js +8 -5
- package/dist/{collection/components/layer-table/test/layer-table.e2e.js → esm/common-e4a8e353.js} +15 -9
- package/dist/esm/crowdsource-manager.entry.js +12 -7
- package/dist/esm/edit-card_2.entry.js +4 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +11 -0
- package/dist/esm/polyfills/dom.js +79 -0
- package/dist/esm/polyfills/es5-html-element.js +1 -0
- package/dist/esm/polyfills/index.js +34 -0
- package/dist/esm/polyfills/system.js +6 -0
- package/dist/esm/solution-configuration.entry.js +2 -1
- package/dist/esm/solution-contents_3.entry.js +20 -21255
- package/dist/esm/solution-item-icon.entry.js +323 -0
- package/dist/esm/{solution-store-b29d50f7.js → solution-resource-be35d35b.js} +1 -1697
- package/dist/esm/solution-store-e734626a.js +1704 -0
- package/dist/esm/solutions-components.js +1 -1
- package/dist/esm/spatial-ref.entry.js +21289 -0
- package/dist/solutions-components/demos/crowdsource-manager.html +4 -0
- package/dist/solutions-components/demos/solution-spatial-ref.html +9 -16
- package/dist/solutions-components/demos/spatial-ref.html +53 -0
- package/dist/solutions-components/{p-64d29ba2.entry.js → p-0bc27ba7.entry.js} +2 -2
- package/dist/{collection/components/map-card/test/map-card.e2e.js → solutions-components/p-1b228f97.js} +2 -10
- package/dist/solutions-components/p-5b8c8942.entry.js +21 -0
- package/dist/solutions-components/p-63c6fc29.entry.js +6 -0
- package/dist/solutions-components/p-64945b43.entry.js +18 -0
- package/dist/solutions-components/p-770bff06.entry.js +6 -0
- package/dist/solutions-components/p-7741dbab.entry.js +6 -0
- package/dist/solutions-components/p-80465067.entry.js +6 -0
- package/dist/solutions-components/p-846df994.entry.js +6 -0
- package/dist/solutions-components/p-b3f8d2cb.js +192 -0
- package/dist/solutions-components/p-c26d8b36.entry.js +6 -0
- package/dist/solutions-components/{p-4d942b0f.entry.js → p-f35147d5.entry.js} +1 -1
- package/dist/solutions-components/p-ff0d7712.js +44 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/{templates.e2e.ts → test/templates.e2e.ts} +2 -2
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +9 -1
- package/dist/types/components/floor-filter/floor-filter.d.ts +61 -0
- package/dist/types/components/layer-table/layer-table.d.ts +4 -0
- package/dist/types/components/map-card/map-card.d.ts +4 -0
- package/dist/types/components/map-tools/map-tools.d.ts +24 -0
- package/dist/types/components/solution-spatial-ref/solution-spatial-ref.d.ts +11 -93
- package/dist/types/components/spatial-ref/spatial-ref.d.ts +142 -0
- package/dist/types/components.d.ts +123 -16
- package/dist/types/preact.d.ts +8 -1
- package/package.json +6 -6
- package/dist/cjs/calcite-checkbox.cjs.entry.js +0 -136
- package/dist/collection/components/basemap-gallery/test/basemap-gallery.spec.js +0 -37
- package/dist/collection/components/buffer-tools/test/buffer-tools.e2e.js +0 -29
- package/dist/collection/components/buffer-tools/test/buffer-tools.spec.js +0 -160
- package/dist/collection/components/card-manager/test/card-manager.e2e.js +0 -29
- package/dist/collection/components/card-manager/test/card-manager.spec.js +0 -37
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.e2e.js +0 -29
- package/dist/collection/components/crowdsource-manager/test/crowdsource-manager.spec.js +0 -37
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.e2e.js +0 -29
- package/dist/collection/components/crowdsource-reporter/test/crowdsource-reporter.spec.js +0 -37
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.e2e.js +0 -29
- package/dist/collection/components/deduct-calculator/test/deduct-calculator.spec.js +0 -37
- package/dist/collection/components/edit-card/test/edit-card.e2e.js +0 -14
- package/dist/collection/components/edit-card/test/edit-card.spec.js +0 -22
- package/dist/collection/components/info-card/test/info-card.e2e.js +0 -29
- package/dist/collection/components/info-card/test/info-card.spec.js +0 -37
- package/dist/collection/components/json-editor/test/json-editor.e2e.js +0 -36
- package/dist/collection/components/json-editor/test/json-editor.spec.js +0 -65
- package/dist/collection/components/layer-table/test/layer-table.spec.js +0 -37
- package/dist/collection/components/layout-manager/test/layout-manager.e2e.js +0 -29
- package/dist/collection/components/layout-manager/test/layout-manager.spec.js +0 -37
- package/dist/collection/components/list-item/test/list-item.e2e.js +0 -29
- package/dist/collection/components/list-item/test/list-item.spec.js +0 -37
- package/dist/collection/components/map-card/test/map-card.spec.js +0 -37
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.e2e.js +0 -29
- package/dist/collection/components/map-draw-tools/test/map-draw-tools.spec.js +0 -37
- package/dist/collection/components/map-fullscreen/test/map-fullscreen.e2e.js +0 -29
- package/dist/collection/components/map-fullscreen/test/map-fullscreen.spec.js +0 -37
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.e2e.js +0 -29
- package/dist/collection/components/map-layer-picker/test/map-layer-picker.spec.js +0 -114
- package/dist/collection/components/map-legend/test/map-legend.e2e.js +0 -14
- package/dist/collection/components/map-legend/test/map-legend.spec.js +0 -22
- package/dist/collection/components/map-picker/test/map-picker.e2e.js +0 -29
- package/dist/collection/components/map-picker/test/map-picker.spec.js +0 -37
- package/dist/collection/components/map-search/test/map-search.e2e.js +0 -29
- package/dist/collection/components/map-search/test/map-search.spec.js +0 -37
- package/dist/collection/components/map-select-tools/test/map-select-tools.e2e.js +0 -29
- package/dist/collection/components/map-select-tools/test/map-select-tools.spec.js +0 -366
- package/dist/collection/components/map-tools/test/map-tools.e2e.js +0 -29
- package/dist/collection/components/map-tools/test/map-tools.spec.js +0 -37
- package/dist/collection/components/pci-calculator/test/pci-calculator.e2e.js +0 -29
- package/dist/collection/components/pci-calculator/test/pci-calculator.spec.js +0 -37
- package/dist/collection/components/pdf-download/test/pdf-download.e2e.js +0 -76
- package/dist/collection/components/pdf-download/test/pdf-download.spec.js +0 -107
- package/dist/collection/components/public-notification/test/public-notification.spec.js +0 -161
- package/dist/collection/components/refine-selection/test/refine-selection.e2e.js +0 -14
- package/dist/collection/components/refine-selection/test/refine-selection.spec.js +0 -22
- package/dist/collection/components/solution-configuration/test/solution-configuration.e2e.js +0 -36
- package/dist/collection/components/solution-configuration/test/solution-configuration.spec.js +0 -119
- package/dist/collection/components/solution-contents/test/solution-contents.e2e.js +0 -94
- package/dist/collection/components/solution-contents/test/solution-contents.spec.js +0 -143
- package/dist/collection/components/solution-item/test/solution-item.e2e.js +0 -36
- package/dist/collection/components/solution-item/test/solution-item.spec.js +0 -77
- package/dist/collection/components/solution-item-details/test/solution-item-details.e2e.js +0 -36
- package/dist/collection/components/solution-item-details/test/solution-item-details.spec.js +0 -142
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.e2e.js +0 -29
- package/dist/collection/components/solution-item-icon/test/solution-item-icon.spec.js +0 -39
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.e2e.js +0 -36
- package/dist/collection/components/solution-item-sharing/test/solution-item-sharing.spec.js +0 -54
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.e2e.js +0 -36
- package/dist/collection/components/solution-organization-variables/test/solution-organization-variables.spec.js +0 -65
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.e2e.js +0 -36
- package/dist/collection/components/solution-resource-item/test/solution-resource-item.spec.js +0 -55
- package/dist/collection/components/solution-template-data/test/solution-template-data.e2e.js +0 -36
- package/dist/collection/components/solution-template-data/test/solution-template-data.spec.js +0 -60
- package/dist/collection/components/solution-variables/test/solution-variables.e2e.js +0 -36
- package/dist/collection/components/solution-variables/test/solution-variables.spec.js +0 -131
- package/dist/esm/calcite-checkbox.entry.js +0 -132
- package/dist/solutions-components/p-17d176b5.js +0 -230
- package/dist/solutions-components/p-1d9a5198.entry.js +0 -37
- package/dist/solutions-components/p-3707d9bd.entry.js +0 -6
- package/dist/solutions-components/p-41bbccbc.entry.js +0 -6
- package/dist/solutions-components/p-4f2fce86.entry.js +0 -6
- package/dist/solutions-components/p-5ffaaaf4.entry.js +0 -6
- package/dist/solutions-components/p-736e76fb.entry.js +0 -17
- package/dist/solutions-components/p-dda517b9.entry.js +0 -6
- /package/dist/collection/components/{solution-spatial-ref → spatial-ref}/spatialreferences.js +0 -0
- /package/dist/types/components/{solution-spatial-ref → spatial-ref}/spatialreferences.d.ts +0 -0
@@ -99,6 +99,93 @@ const BasemapGallery = class {
|
|
99
99
|
};
|
100
100
|
BasemapGallery.style = basemapGalleryCss;
|
101
101
|
|
102
|
+
const floorFilterCss = ":host{display:block}";
|
103
|
+
|
104
|
+
const FloorFilter = class {
|
105
|
+
constructor(hostRef) {
|
106
|
+
registerInstance(this, hostRef);
|
107
|
+
this.floorFilterWidget = undefined;
|
108
|
+
this.mapView = undefined;
|
109
|
+
}
|
110
|
+
//--------------------------------------------------------------------------
|
111
|
+
//
|
112
|
+
// Watch handlers
|
113
|
+
//
|
114
|
+
//--------------------------------------------------------------------------
|
115
|
+
async mapViewWatchHandler() {
|
116
|
+
await this.mapView.when(() => {
|
117
|
+
this._initFloorFilter(this.mapView);
|
118
|
+
});
|
119
|
+
}
|
120
|
+
//--------------------------------------------------------------------------
|
121
|
+
//
|
122
|
+
// Methods (public)
|
123
|
+
//
|
124
|
+
//--------------------------------------------------------------------------
|
125
|
+
//--------------------------------------------------------------------------
|
126
|
+
//
|
127
|
+
// Events (public)
|
128
|
+
//
|
129
|
+
//--------------------------------------------------------------------------
|
130
|
+
//--------------------------------------------------------------------------
|
131
|
+
//
|
132
|
+
// Functions (lifecycle)
|
133
|
+
//
|
134
|
+
//--------------------------------------------------------------------------
|
135
|
+
/**
|
136
|
+
* StencilJS: Called once just after the component is first connected to the DOM.
|
137
|
+
*/
|
138
|
+
async componentWillLoad() {
|
139
|
+
return this._initModules();
|
140
|
+
}
|
141
|
+
render() {
|
142
|
+
return (h(Host, null, h("div", { ref: (el) => { this._floorFilterElement = el; } })));
|
143
|
+
}
|
144
|
+
//--------------------------------------------------------------------------
|
145
|
+
//
|
146
|
+
// Functions (protected)
|
147
|
+
//
|
148
|
+
//--------------------------------------------------------------------------
|
149
|
+
/**
|
150
|
+
* Load esri javascript api modules
|
151
|
+
*
|
152
|
+
* @returns Promise resolving when function is done
|
153
|
+
*
|
154
|
+
* @protected
|
155
|
+
*/
|
156
|
+
async _initModules() {
|
157
|
+
const [FloorFilter] = await loadModules([
|
158
|
+
"esri/widgets/FloorFilter"
|
159
|
+
]);
|
160
|
+
this.FloorFilter = FloorFilter;
|
161
|
+
}
|
162
|
+
/**
|
163
|
+
* Initialize the floor filter or reset the current view if it already exists
|
164
|
+
*
|
165
|
+
* @returns void
|
166
|
+
*
|
167
|
+
* @protected
|
168
|
+
*/
|
169
|
+
_initFloorFilter(view) {
|
170
|
+
if (view && this.FloorFilter) {
|
171
|
+
if (!this.floorFilterWidget) {
|
172
|
+
this.floorFilterWidget = new this.FloorFilter({
|
173
|
+
container: this._floorFilterElement,
|
174
|
+
view
|
175
|
+
});
|
176
|
+
}
|
177
|
+
else {
|
178
|
+
this.floorFilterWidget.view = view;
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
get el() { return getElement(this); }
|
183
|
+
static get watchers() { return {
|
184
|
+
"mapView": ["mapViewWatchHandler"]
|
185
|
+
}; }
|
186
|
+
};
|
187
|
+
FloorFilter.style = floorFilterCss;
|
188
|
+
|
102
189
|
const mapFullscreenCss = ":host{display:block}";
|
103
190
|
|
104
191
|
const MapFullscreen = class {
|
@@ -291,7 +378,7 @@ const MapLegend = class {
|
|
291
378
|
};
|
292
379
|
MapLegend.style = mapLegendCss;
|
293
380
|
|
294
|
-
const mapPickerCss = ":host{display:block}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-ui-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.
|
381
|
+
const mapPickerCss = ":host{display:block}.width-full{width:100%}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:51px;width:100%}.map-list{position:absolute;display:flex;flex-direction:column;overflow:hidden;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-ui-background);z-index:1000;width:100%;height:-moz-fit-content;height:fit-content}.display-none{display:none}.align-center{align-items:center}";
|
295
382
|
|
296
383
|
const MapPicker = class {
|
297
384
|
constructor(hostRef) {
|
@@ -391,7 +478,7 @@ const MapPicker = class {
|
|
391
478
|
* @protected
|
392
479
|
*/
|
393
480
|
_getToolbar() {
|
394
|
-
return (h("div", { class: "display-flex" }, h("calcite-action-bar", { class: "
|
481
|
+
return (h("div", { class: "display-flex" }, h("calcite-action-bar", { class: "border-bottom-1 action-bar-size", "expand-disabled": true, layout: "horizontal", slot: "header" }, this._getMapPicker())));
|
395
482
|
}
|
396
483
|
/**
|
397
484
|
* Get a pick list for all maps in mapInfos
|
@@ -624,6 +711,7 @@ const MapTools = class {
|
|
624
711
|
constructor(hostRef) {
|
625
712
|
registerInstance(this, hostRef);
|
626
713
|
this.enableLegend = undefined;
|
714
|
+
this.enableFloorFilter = undefined;
|
627
715
|
this.enableFullscreen = undefined;
|
628
716
|
this.enableSearch = undefined;
|
629
717
|
this.enableBasemap = undefined;
|
@@ -634,6 +722,7 @@ const MapTools = class {
|
|
634
722
|
this._translations = undefined;
|
635
723
|
this._showTools = true;
|
636
724
|
this._showBasemapWidget = false;
|
725
|
+
this._showFloorFilter = false;
|
637
726
|
this._showFullscreen = false;
|
638
727
|
this._showLegendWidget = false;
|
639
728
|
this._showSearchWidget = false;
|
@@ -660,6 +749,21 @@ const MapTools = class {
|
|
660
749
|
/**
|
661
750
|
* When the _showBasemapWidget property is true display the basemap gallery
|
662
751
|
*/
|
752
|
+
async _showFloorFilterWatchHandler(v) {
|
753
|
+
const widget = this._floorFilterElement.floorFilterWidget;
|
754
|
+
if (v) {
|
755
|
+
this.mapView.ui.add(widget, {
|
756
|
+
position: "top-right",
|
757
|
+
index: 1
|
758
|
+
});
|
759
|
+
}
|
760
|
+
else {
|
761
|
+
this.mapView.ui.remove(widget);
|
762
|
+
}
|
763
|
+
}
|
764
|
+
/**
|
765
|
+
* When the _showFullscreen property is true the app will consume the full screen
|
766
|
+
*/
|
663
767
|
async _showFullscreenWatchHandler(v) {
|
664
768
|
const fs = this._fullscreenElement.fullscreenWidget;
|
665
769
|
if (v) {
|
@@ -727,6 +831,7 @@ const MapTools = class {
|
|
727
831
|
const searchClass = this._showSearchWidget ? "" : "display-none";
|
728
832
|
const basemapClass = this._showBasemapWidget ? "" : "display-none";
|
729
833
|
const legendClass = this._showLegendWidget ? "" : "display-none";
|
834
|
+
const floorFilterClass = this._showFloorFilter ? "" : "display-none";
|
730
835
|
const fullscreenClass = this._showFullscreen ? "" : "display-none";
|
731
836
|
const fullscreenIcon = this._showFullscreen ? "full-screen-exit" : "full-screen";
|
732
837
|
const fullscreenTip = this._showFullscreen ? this._translations.exitFullscreen : this._translations.enterFullscreen;
|
@@ -740,7 +845,9 @@ const MapTools = class {
|
|
740
845
|
this._getActionGroup(fullscreenIcon, false, fullscreenTip, () => this._expand()) :
|
741
846
|
undefined, this.enableBasemap ?
|
742
847
|
this._getActionGroup("basemap", false, this._translations.basemap, () => this._toggleBasemapPicker()) :
|
743
|
-
undefined
|
848
|
+
undefined, this.enableFloorFilter ?
|
849
|
+
this._getActionGroup("urban-model", false, this._translations.floorFilter, () => this._toggleFloorFilter()) :
|
850
|
+
undefined)), h("basemap-gallery", { basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), h("map-search", { class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, searchConfiguration: this.searchConfiguration }), h("map-legend", { class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), h("map-fullscreen", { class: fullscreenClass, mapView: this.mapView, ref: (el) => { this._fullscreenElement = el; } }), h("floor-filter", { class: floorFilterClass, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
|
744
851
|
}
|
745
852
|
//--------------------------------------------------------------------------
|
746
853
|
//
|
@@ -783,6 +890,17 @@ const MapTools = class {
|
|
783
890
|
this._showBasemapWidget = !this._showBasemapWidget;
|
784
891
|
this._showTools = false;
|
785
892
|
}
|
893
|
+
/**
|
894
|
+
* Show/Hide the floor filter
|
895
|
+
*
|
896
|
+
* @returns void
|
897
|
+
*
|
898
|
+
* @protected
|
899
|
+
*/
|
900
|
+
_toggleFloorFilter() {
|
901
|
+
this._showFloorFilter = !this._showFloorFilter;
|
902
|
+
this._showTools = false;
|
903
|
+
}
|
786
904
|
/**
|
787
905
|
* Enter/Exit fullscreen mode
|
788
906
|
*
|
@@ -805,6 +923,7 @@ const MapTools = class {
|
|
805
923
|
this._showBasemapWidget = false;
|
806
924
|
this._showSearchWidget = false;
|
807
925
|
this._showLegendWidget = false;
|
926
|
+
this._showFloorFilter = false;
|
808
927
|
}
|
809
928
|
this._showTools = !this._showTools;
|
810
929
|
}
|
@@ -821,6 +940,7 @@ const MapTools = class {
|
|
821
940
|
get el() { return getElement(this); }
|
822
941
|
static get watchers() { return {
|
823
942
|
"_showBasemapWidget": ["_showBasemapWidgetWatchHandler"],
|
943
|
+
"_showFloorFilter": ["_showFloorFilterWatchHandler"],
|
824
944
|
"_showFullscreen": ["_showFullscreenWatchHandler"],
|
825
945
|
"_showLegendWidget": ["_showLegendWidgetWatchHandler"],
|
826
946
|
"_showSearchWidget": ["_showSearchWidgetWatchHandler"]
|
@@ -828,4 +948,4 @@ const MapTools = class {
|
|
828
948
|
};
|
829
949
|
MapTools.style = mapToolsCss;
|
830
950
|
|
831
|
-
export { BasemapGallery as basemap_gallery, MapFullscreen as map_fullscreen, MapLegend as map_legend, MapPicker as map_picker, MapSearch as map_search, MapTools as map_tools };
|
951
|
+
export { BasemapGallery as basemap_gallery, FloorFilter as floor_filter, MapFullscreen as map_fullscreen, MapLegend as map_legend, MapPicker as map_picker, MapSearch as map_search, MapTools as map_tools };
|
@@ -3,14 +3,133 @@
|
|
3
3
|
* Licensed under the Apache License, Version 2.0
|
4
4
|
* http://www.apache.org/licenses/LICENSE-2.0
|
5
5
|
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement
|
7
|
-
import { e as focusElement, n as nodeListToArray, g as getSlotted, u as slotChangeHasAssignedElement, a as getElementDir,
|
8
|
-
import { c as
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c7de2486.js';
|
7
|
+
import { t as toAriaBoolean, e as focusElement, n as nodeListToArray, g as getSlotted, u as slotChangeHasAssignedElement, a as getElementDir, y as filterDirectChildren } from './dom-ae3d8818.js';
|
8
|
+
import { c as connectForm, d as disconnectForm, H as HiddenFormInputSlot } from './form-65431957.js';
|
9
|
+
import { g as guid } from './guid-d34fe102.js';
|
9
10
|
import { c as connectInteractive, d as disconnectInteractive, u as updateHostInteraction } from './interactive-22a66feb.js';
|
11
|
+
import { i as isActivationKey } from './key-554ad3f4.js';
|
12
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-7187f15b.js';
|
13
|
+
import { c as componentFocusable, s as setUpLoadableComponent, a as setComponentLoaded } from './loadable-d0274dee.js';
|
14
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-1fee63c6.js';
|
10
15
|
import { C as CSS_UTILITY } from './resources-4d5cdf35.js';
|
11
|
-
import './guid-d34fe102.js';
|
12
|
-
import './observers-a3cec8e4.js';
|
13
16
|
import './browser-2ab8d297.js';
|
17
|
+
import './observers-a3cec8e4.js';
|
18
|
+
|
19
|
+
const checkboxCss = ":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-checkbox-size:0.75rem}:host([scale=m]){--calcite-checkbox-size:var(--calcite-font-size--1)}:host([scale=l]){--calcite-checkbox-size:1rem}:host{position:relative;display:inline-flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}:host .check-svg,:host .toggle{inline-size:var(--calcite-checkbox-size);block-size:var(--calcite-checkbox-size)}:host .check-svg{pointer-events:none;box-sizing:border-box;display:block;overflow:hidden;background-color:var(--calcite-ui-foreground-1);fill:currentColor;stroke:currentColor;stroke-width:1;transition:all var(--calcite-animation-timing) ease-in-out 0s, outline 0s, outline-offset 0s;box-shadow:inset 0 0 0 1px var(--calcite-ui-border-input);color:var(--calcite-ui-background)}:host([checked]) .check-svg,:host([indeterminate]) .check-svg{background-color:var(--calcite-ui-brand);box-shadow:inset 0 0 0 1px var(--calcite-ui-brand)}:host([hovered]) .toggle .check-svg,:host .toggle:hover .check-svg{box-shadow:inset 0 0 0 2px var(--calcite-ui-brand)}.toggle{outline-color:transparent}.toggle:active,.toggle:focus,.toggle:focus-visible{outline:2px solid var(--calcite-ui-focus-color, var(--calcite-ui-brand));outline-offset:calc(\n 2px *\n calc(\n 1 -\n 2 * clamp(\n 0,\n var(--calcite-ui-focus-offset-invert),\n 1\n )\n )\n )}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([hidden]){display:none}[hidden]{display:none}";
|
20
|
+
|
21
|
+
const Checkbox = class {
|
22
|
+
constructor(hostRef) {
|
23
|
+
registerInstance(this, hostRef);
|
24
|
+
this.calciteInternalCheckboxBlur = createEvent(this, "calciteInternalCheckboxBlur", 6);
|
25
|
+
this.calciteCheckboxChange = createEvent(this, "calciteCheckboxChange", 6);
|
26
|
+
this.calciteInternalCheckboxFocus = createEvent(this, "calciteInternalCheckboxFocus", 6);
|
27
|
+
this.checkedPath = "M5.5 12L2 8.689l.637-.636L5.5 10.727l8.022-7.87.637.637z";
|
28
|
+
this.indeterminatePath = "M13 8v1H3V8z";
|
29
|
+
this.getPath = () => this.indeterminate ? this.indeterminatePath : this.checked ? this.checkedPath : "";
|
30
|
+
this.toggle = () => {
|
31
|
+
if (!this.disabled) {
|
32
|
+
this.checked = !this.checked;
|
33
|
+
this.setFocus();
|
34
|
+
this.indeterminate = false;
|
35
|
+
this.calciteCheckboxChange.emit();
|
36
|
+
}
|
37
|
+
};
|
38
|
+
this.keyDownHandler = (event) => {
|
39
|
+
if (isActivationKey(event.key)) {
|
40
|
+
this.toggle();
|
41
|
+
event.preventDefault();
|
42
|
+
}
|
43
|
+
};
|
44
|
+
this.clickHandler = () => {
|
45
|
+
if (this.disabled) {
|
46
|
+
return;
|
47
|
+
}
|
48
|
+
this.toggle();
|
49
|
+
};
|
50
|
+
//--------------------------------------------------------------------------
|
51
|
+
//
|
52
|
+
// Event Listeners
|
53
|
+
//
|
54
|
+
//--------------------------------------------------------------------------
|
55
|
+
this.onToggleBlur = () => {
|
56
|
+
this.calciteInternalCheckboxBlur.emit(false);
|
57
|
+
};
|
58
|
+
this.onToggleFocus = () => {
|
59
|
+
this.calciteInternalCheckboxFocus.emit(true);
|
60
|
+
};
|
61
|
+
this.onLabelClick = () => {
|
62
|
+
this.toggle();
|
63
|
+
};
|
64
|
+
this.checked = false;
|
65
|
+
this.disabled = false;
|
66
|
+
this.form = undefined;
|
67
|
+
this.guid = undefined;
|
68
|
+
this.hovered = false;
|
69
|
+
this.indeterminate = false;
|
70
|
+
this.label = undefined;
|
71
|
+
this.name = undefined;
|
72
|
+
this.required = false;
|
73
|
+
this.scale = "m";
|
74
|
+
this.value = undefined;
|
75
|
+
}
|
76
|
+
//--------------------------------------------------------------------------
|
77
|
+
//
|
78
|
+
// Public Methods
|
79
|
+
//
|
80
|
+
//--------------------------------------------------------------------------
|
81
|
+
/** Sets focus on the component. */
|
82
|
+
async setFocus() {
|
83
|
+
var _a;
|
84
|
+
await componentFocusable(this);
|
85
|
+
(_a = this.toggleEl) === null || _a === void 0 ? void 0 : _a.focus();
|
86
|
+
}
|
87
|
+
//--------------------------------------------------------------------------
|
88
|
+
//
|
89
|
+
// Private Methods
|
90
|
+
//
|
91
|
+
//--------------------------------------------------------------------------
|
92
|
+
syncHiddenFormInput(input) {
|
93
|
+
input.type = "checkbox";
|
94
|
+
}
|
95
|
+
//--------------------------------------------------------------------------
|
96
|
+
//
|
97
|
+
// Lifecycle
|
98
|
+
//
|
99
|
+
//--------------------------------------------------------------------------
|
100
|
+
connectedCallback() {
|
101
|
+
this.guid = this.el.id || `calcite-checkbox-${guid()}`;
|
102
|
+
connectInteractive(this);
|
103
|
+
connectLabel(this);
|
104
|
+
connectForm(this);
|
105
|
+
}
|
106
|
+
disconnectedCallback() {
|
107
|
+
disconnectInteractive(this);
|
108
|
+
disconnectLabel(this);
|
109
|
+
disconnectForm(this);
|
110
|
+
}
|
111
|
+
componentWillLoad() {
|
112
|
+
setUpLoadableComponent(this);
|
113
|
+
}
|
114
|
+
componentDidLoad() {
|
115
|
+
setComponentLoaded(this);
|
116
|
+
}
|
117
|
+
componentDidRender() {
|
118
|
+
updateHostInteraction(this);
|
119
|
+
}
|
120
|
+
// --------------------------------------------------------------------------
|
121
|
+
//
|
122
|
+
// Render Methods
|
123
|
+
//
|
124
|
+
// --------------------------------------------------------------------------
|
125
|
+
render() {
|
126
|
+
return (h(Host, { onClick: this.clickHandler, onKeyDown: this.keyDownHandler }, h("div", { "aria-checked": toAriaBoolean(this.checked), "aria-label": getLabelText(this), class: "toggle", onBlur: this.onToggleBlur, onFocus: this.onToggleFocus, role: "checkbox", tabIndex: this.disabled ? undefined : 0,
|
127
|
+
// eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
|
128
|
+
ref: (toggleEl) => (this.toggleEl = toggleEl) }, h("svg", { "aria-hidden": "true", class: "check-svg", viewBox: "0 0 16 16" }, h("path", { d: this.getPath() })), h("slot", null)), h(HiddenFormInputSlot, { component: this })));
|
129
|
+
}
|
130
|
+
get el() { return getElement(this); }
|
131
|
+
};
|
132
|
+
Checkbox.style = checkboxCss;
|
14
133
|
|
15
134
|
/*!
|
16
135
|
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
@@ -612,319 +731,4 @@ const TreeItem = class {
|
|
612
731
|
};
|
613
732
|
TreeItem.style = treeItemCss;
|
614
733
|
|
615
|
-
|
616
|
-
|
617
|
-
const SolutionItemIcon = class {
|
618
|
-
constructor(hostRef) {
|
619
|
-
registerInstance(this, hostRef);
|
620
|
-
this.isPortal = false;
|
621
|
-
this.type = "";
|
622
|
-
this.typeKeywords = [];
|
623
|
-
}
|
624
|
-
//--------------------------------------------------------------------------
|
625
|
-
//
|
626
|
-
// Lifecycle
|
627
|
-
//
|
628
|
-
//--------------------------------------------------------------------------
|
629
|
-
/**
|
630
|
-
* Renders the component.
|
631
|
-
*/
|
632
|
-
render() {
|
633
|
-
return h("div", { title: this.type }, h("img", { class: "item-type-icon item-type-icon-margin", height: "16", src: this._getIconUrl(this.type, this.typeKeywords), width: "16" }));
|
634
|
-
}
|
635
|
-
//--------------------------------------------------------------------------
|
636
|
-
//
|
637
|
-
// Properties (protected)
|
638
|
-
//
|
639
|
-
//--------------------------------------------------------------------------
|
640
|
-
//--------------------------------------------------------------------------
|
641
|
-
//
|
642
|
-
// Event Listeners
|
643
|
-
//
|
644
|
-
//--------------------------------------------------------------------------
|
645
|
-
//--------------------------------------------------------------------------
|
646
|
-
//
|
647
|
-
// Events
|
648
|
-
//
|
649
|
-
//--------------------------------------------------------------------------
|
650
|
-
//--------------------------------------------------------------------------
|
651
|
-
//
|
652
|
-
// Public Methods (async)
|
653
|
-
//
|
654
|
-
//--------------------------------------------------------------------------
|
655
|
-
//--------------------------------------------------------------------------
|
656
|
-
//
|
657
|
-
// Private Methods
|
658
|
-
//
|
659
|
-
//--------------------------------------------------------------------------
|
660
|
-
/**
|
661
|
-
* This function was copied and slightly modified from the arcgis-portal-app.
|
662
|
-
*
|
663
|
-
* This will construct the path to the icon based on type and typeKeyword info.
|
664
|
-
*
|
665
|
-
* @param type The item type
|
666
|
-
* @param typeKeywords The item typeKeywords
|
667
|
-
*/
|
668
|
-
_getIconUrl(type, typeKeywords) {
|
669
|
-
const itemType = (type && type.toLowerCase()) || "", imgDir = "./item-icons/", size = "16"; //for now we only support 16x16 pixel images
|
670
|
-
let isHosted = false, isRouteLayer = false, isMarkupLayer = false, isTable = false, isSpatiotemporal = false, isRelational = false, imgName = "";
|
671
|
-
typeKeywords = typeKeywords || [];
|
672
|
-
if (itemType.indexOf("service") > 0 || itemType === "feature collection" || itemType === "kml" || itemType === "wms" || itemType === "wmts" || itemType === "wfs") {
|
673
|
-
isHosted = typeKeywords.indexOf("Hosted Service") > -1;
|
674
|
-
if (itemType === "feature service" || itemType === "feature collection" || itemType === "kml" || itemType === "wfs") {
|
675
|
-
isTable = typeKeywords.indexOf("Table") > -1;
|
676
|
-
isRouteLayer = typeKeywords.indexOf("Route Layer") > -1;
|
677
|
-
isMarkupLayer = typeKeywords.indexOf("Markup") > -1;
|
678
|
-
isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
|
679
|
-
imgName = isSpatiotemporal && isTable ? "spatiotemporaltable" : (isTable ? "table" : (isRouteLayer ? "routelayer" : (isMarkupLayer ? "markup" : (isSpatiotemporal ? "spatiotemporal" : (isHosted ? "featureshosted" : "features")))));
|
680
|
-
}
|
681
|
-
else if (itemType === "map service" || itemType === "wms" || itemType === "wmts") {
|
682
|
-
isSpatiotemporal = typeKeywords.indexOf("Spatiotemporal") !== -1;
|
683
|
-
isRelational = typeKeywords.indexOf("Relational") !== -1;
|
684
|
-
if (isSpatiotemporal || isRelational) {
|
685
|
-
imgName = "mapimages";
|
686
|
-
}
|
687
|
-
else {
|
688
|
-
imgName = (isHosted || typeKeywords.indexOf("Tiled") > -1 || itemType === "wmts") ? "maptiles" : "mapimages";
|
689
|
-
}
|
690
|
-
}
|
691
|
-
else if (itemType === "scene service") {
|
692
|
-
if (typeKeywords.indexOf("Line") > -1) {
|
693
|
-
imgName = "sceneweblayerline";
|
694
|
-
}
|
695
|
-
else if (typeKeywords.indexOf("3DObject") > -1) {
|
696
|
-
imgName = "sceneweblayermultipatch";
|
697
|
-
}
|
698
|
-
else if (typeKeywords.indexOf("Point") > -1) {
|
699
|
-
imgName = "sceneweblayerpoint";
|
700
|
-
}
|
701
|
-
else if (typeKeywords.indexOf("IntegratedMesh") > -1) {
|
702
|
-
imgName = "sceneweblayermesh";
|
703
|
-
}
|
704
|
-
else if (typeKeywords.indexOf("PointCloud") > -1) {
|
705
|
-
imgName = "sceneweblayerpointcloud";
|
706
|
-
}
|
707
|
-
else if (typeKeywords.indexOf("Polygon") > -1) {
|
708
|
-
imgName = "sceneweblayerpolygon";
|
709
|
-
}
|
710
|
-
else if (typeKeywords.indexOf("Building") > -1) {
|
711
|
-
imgName = "sceneweblayerbuilding";
|
712
|
-
}
|
713
|
-
else {
|
714
|
-
imgName = "sceneweblayer";
|
715
|
-
}
|
716
|
-
}
|
717
|
-
else if (itemType === "image service") {
|
718
|
-
imgName = typeKeywords.indexOf("Elevation 3D Layer") > -1 ? "elevationlayer" : (typeKeywords.indexOf("Tiled Imagery") > -1 ? "tiledimagerylayer" : "imagery");
|
719
|
-
}
|
720
|
-
else if (itemType === "stream service") {
|
721
|
-
imgName = "streamlayer";
|
722
|
-
}
|
723
|
-
else if (itemType === "vector tile service") {
|
724
|
-
imgName = "vectortile";
|
725
|
-
}
|
726
|
-
else if (itemType === "datastore catalog service") {
|
727
|
-
imgName = "datastorecollection";
|
728
|
-
}
|
729
|
-
else if (itemType === "geocoding service") {
|
730
|
-
imgName = "geocodeservice";
|
731
|
-
}
|
732
|
-
else if (itemType === "geoprocessing service") {
|
733
|
-
imgName = (typeKeywords.indexOf("Web Tool") > -1 && (this.isPortal)) ? "tool" : "layers";
|
734
|
-
}
|
735
|
-
else {
|
736
|
-
imgName = "layers";
|
737
|
-
}
|
738
|
-
}
|
739
|
-
else if (itemType === "web map" || itemType === "cityengine web scene") {
|
740
|
-
imgName = "maps";
|
741
|
-
}
|
742
|
-
else if (itemType === "web scene") {
|
743
|
-
imgName = typeKeywords.indexOf("ViewingMode-Local") > -1 ? "webscenelocal" : "websceneglobal";
|
744
|
-
}
|
745
|
-
else if (itemType === "web mapping application" || itemType === "mobile application" || itemType === "application" ||
|
746
|
-
itemType === "operation view" || itemType === "desktop application") {
|
747
|
-
imgName = "apps";
|
748
|
-
}
|
749
|
-
else if (itemType === "map document" || itemType === "map package" || itemType === "published map" || itemType === "scene document" ||
|
750
|
-
itemType === "globe document" || itemType === "basemap package" || itemType === "mobile basemap package" || itemType === "mobile map package" ||
|
751
|
-
itemType === "project package" || itemType === "project template" || itemType === "pro map" || itemType === "layout" ||
|
752
|
-
(itemType === "layer" && typeKeywords.indexOf("ArcGIS Pro") > -1) || (itemType === "explorer map" && typeKeywords.indexOf("Explorer Document"))) {
|
753
|
-
imgName = "mapsgray";
|
754
|
-
}
|
755
|
-
else if (itemType === "service definition" || itemType === "csv" || itemType === "shapefile" || itemType === "cad drawing" || itemType === "geojson" || itemType === "360 vr experience" || itemType === "netcdf" || itemType === "administrative report") {
|
756
|
-
imgName = "datafiles";
|
757
|
-
}
|
758
|
-
else if (itemType === "explorer add in" || itemType === "desktop add in" || itemType === "windows viewer add in" || itemType === "windows viewer configuration") {
|
759
|
-
imgName = "appsgray";
|
760
|
-
}
|
761
|
-
else if (itemType === "arcgis pro add in" || itemType === "arcgis pro configuration") {
|
762
|
-
imgName = "addindesktop";
|
763
|
-
}
|
764
|
-
else if (itemType === "rule package" || itemType === "file geodatabase" || itemType === "sqlite geodatabase" || itemType === "csv collection" || itemType === "kml collection" ||
|
765
|
-
itemType === "windows mobile package" || itemType === "map template" || itemType === "desktop application template" || itemType === "gml" ||
|
766
|
-
itemType === "arcpad package" || itemType === "code sample" || itemType === "form" || itemType === "document link" ||
|
767
|
-
itemType === "operations dashboard add in" || itemType === "rules package" || itemType === "image" || itemType === "workflow manager package" ||
|
768
|
-
(itemType === "explorer map" && typeKeywords.indexOf("Explorer Mapping Application") > -1 || typeKeywords.indexOf("Document") > -1)) {
|
769
|
-
imgName = "datafilesgray";
|
770
|
-
}
|
771
|
-
else if (itemType === "network analysis service" || itemType === "geoprocessing service" ||
|
772
|
-
itemType === "geodata service" || itemType === "geometry service" || itemType === "geoprocessing package" ||
|
773
|
-
itemType === "locator package" || itemType === "geoprocessing sample" || itemType === "workflow manager service") {
|
774
|
-
imgName = "toolsgray";
|
775
|
-
}
|
776
|
-
else if (itemType === "layer" || itemType === "layer package" || itemType === "explorer layer") {
|
777
|
-
imgName = "layersgray";
|
778
|
-
}
|
779
|
-
else if (itemType === "scene package") {
|
780
|
-
imgName = "scenepackage";
|
781
|
-
}
|
782
|
-
else if (itemType === "mobile scene package") {
|
783
|
-
imgName = "mobilescenepackage";
|
784
|
-
}
|
785
|
-
else if (itemType === "tile package" || itemType === "compact tile package") {
|
786
|
-
imgName = "tilepackage";
|
787
|
-
}
|
788
|
-
else if (itemType === "task file") {
|
789
|
-
imgName = "taskfile";
|
790
|
-
}
|
791
|
-
else if (itemType === "report template") {
|
792
|
-
imgName = "report-template";
|
793
|
-
}
|
794
|
-
else if (itemType === "statistical data collection") {
|
795
|
-
imgName = "statisticaldatacollection";
|
796
|
-
}
|
797
|
-
else if (itemType === "insights workbook") {
|
798
|
-
imgName = "workbook";
|
799
|
-
}
|
800
|
-
else if (itemType === "insights model") {
|
801
|
-
imgName = "insightsmodel";
|
802
|
-
}
|
803
|
-
else if (itemType === "insights page") {
|
804
|
-
imgName = "insightspage";
|
805
|
-
}
|
806
|
-
else if (itemType === "insights theme") {
|
807
|
-
imgName = "insightstheme";
|
808
|
-
}
|
809
|
-
else if (itemType === "hub initiative") {
|
810
|
-
imgName = "hubinitiative";
|
811
|
-
}
|
812
|
-
else if (itemType === "hub page") {
|
813
|
-
imgName = "hubpage";
|
814
|
-
}
|
815
|
-
else if (itemType === "hub site application") {
|
816
|
-
imgName = "hubsite";
|
817
|
-
}
|
818
|
-
else if (itemType === "hub event") {
|
819
|
-
imgName = "hubevent";
|
820
|
-
}
|
821
|
-
else if (itemType === "relational database connection") {
|
822
|
-
imgName = "relationaldatabaseconnection";
|
823
|
-
}
|
824
|
-
else if (itemType === "big data file share") {
|
825
|
-
imgName = "datastorecollection";
|
826
|
-
}
|
827
|
-
else if (itemType === "image collection") {
|
828
|
-
imgName = "imagecollection";
|
829
|
-
}
|
830
|
-
else if (itemType === "desktop style") {
|
831
|
-
imgName = "desktopstyle";
|
832
|
-
}
|
833
|
-
else if (itemType === "style") {
|
834
|
-
imgName = "style";
|
835
|
-
}
|
836
|
-
else if (itemType === "dashboard") {
|
837
|
-
imgName = "dashboard";
|
838
|
-
}
|
839
|
-
else if (itemType === "raster function template") {
|
840
|
-
imgName = "rasterprocessingtemplate";
|
841
|
-
}
|
842
|
-
else if (itemType === "vector tile package") {
|
843
|
-
imgName = "vectortilepackage";
|
844
|
-
}
|
845
|
-
else if (itemType === "ortho mapping project") {
|
846
|
-
imgName = "orthomappingproject";
|
847
|
-
}
|
848
|
-
else if (itemType === "ortho mapping template") {
|
849
|
-
imgName = "orthomappingtemplate";
|
850
|
-
}
|
851
|
-
else if (itemType === "solution") {
|
852
|
-
imgName = "solutions";
|
853
|
-
}
|
854
|
-
else if (itemType === "geopackage") {
|
855
|
-
imgName = "geopackage";
|
856
|
-
}
|
857
|
-
else if (itemType === "deep learning package") {
|
858
|
-
imgName = "deeplearningpackage";
|
859
|
-
}
|
860
|
-
else if (itemType === "real time analytic") {
|
861
|
-
imgName = "realtimeanalytics";
|
862
|
-
}
|
863
|
-
else if (itemType === "big data analytic") {
|
864
|
-
imgName = "bigdataanalytics";
|
865
|
-
}
|
866
|
-
else if (itemType === "feed") {
|
867
|
-
imgName = "feed";
|
868
|
-
}
|
869
|
-
else if (itemType === "excalibur imagery project") {
|
870
|
-
imgName = "excaliburimageryproject";
|
871
|
-
}
|
872
|
-
else if (itemType === "notebook") {
|
873
|
-
imgName = "notebook";
|
874
|
-
}
|
875
|
-
else if (itemType === "storymap") {
|
876
|
-
imgName = "storymap";
|
877
|
-
}
|
878
|
-
else if (itemType === "survey123 add in") {
|
879
|
-
imgName = "survey123addin";
|
880
|
-
}
|
881
|
-
else if (itemType === "mission") {
|
882
|
-
imgName = "mission";
|
883
|
-
}
|
884
|
-
else if (itemType === "mission report") {
|
885
|
-
imgName = "missionreport";
|
886
|
-
}
|
887
|
-
else if (itemType === "quickcapture project") {
|
888
|
-
imgName = "quickcaptureproject";
|
889
|
-
}
|
890
|
-
else if (itemType === "pro report") {
|
891
|
-
imgName = "proreport";
|
892
|
-
}
|
893
|
-
else if (itemType === "urban model") {
|
894
|
-
imgName = "urbanmodel";
|
895
|
-
}
|
896
|
-
else if (itemType === "web experience") {
|
897
|
-
imgName = "experiencebuilder";
|
898
|
-
}
|
899
|
-
else if (itemType === "web experience template") {
|
900
|
-
imgName = "webexperiencetemplate";
|
901
|
-
}
|
902
|
-
else if (itemType === "workflow") {
|
903
|
-
imgName = "workflow";
|
904
|
-
}
|
905
|
-
else if (itemType === "kernel gateway connection") {
|
906
|
-
imgName = "kernelgatewayconnection";
|
907
|
-
}
|
908
|
-
else if (itemType === "insights script") {
|
909
|
-
imgName = "insightsscript";
|
910
|
-
}
|
911
|
-
else if (itemType === "hub initiative template") {
|
912
|
-
imgName = "hubinitiativetemplate";
|
913
|
-
}
|
914
|
-
else if (itemType === "storymap theme") {
|
915
|
-
imgName = "storymaptheme";
|
916
|
-
}
|
917
|
-
else if (itemType === "group") {
|
918
|
-
imgName = "group";
|
919
|
-
}
|
920
|
-
else {
|
921
|
-
imgName = "maps";
|
922
|
-
}
|
923
|
-
return imgName ? getAssetPath(imgDir + imgName + size + ".png") : null;
|
924
|
-
}
|
925
|
-
static get assetsDirs() { return ["item-icons"]; }
|
926
|
-
get el() { return getElement(this); }
|
927
|
-
};
|
928
|
-
SolutionItemIcon.style = solutionItemIconCss;
|
929
|
-
|
930
|
-
export { Tree as calcite_tree, TreeItem as calcite_tree_item, SolutionItemIcon as solution_item_icon };
|
734
|
+
export { Checkbox as calcite_checkbox, Tree as calcite_tree, TreeItem as calcite_tree_item };
|