@esri/solutions-components 0.4.12 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/buffer-tools_6.cjs.entry.js +2 -1
- package/dist/cjs/calcite-combobox_3.cjs.entry.js +61 -61
- package/dist/cjs/calcite-input-message_5.cjs.entry.js +282 -282
- package/dist/cjs/downloadUtils-415ab342.js +1093 -1093
- package/dist/cjs/index.es-98008aa0.js +10682 -10682
- package/dist/cjs/layer-table.cjs.entry.js +22 -22
- package/dist/cjs/mapViewUtils-f617ae9a.js +24 -24
- package/dist/cjs/public-notification.cjs.entry.js +3 -0
- package/dist/collection/components/map-draw-tools/map-draw-tools.js +2 -1
- package/dist/collection/components/public-notification/public-notification.js +3 -0
- package/dist/components/map-draw-tools2.js +17 -16
- package/dist/components/public-notification.js +60 -57
- package/dist/components/queryUtils.js +10 -10
- package/dist/esm/buffer-tools_6.entry.js +2 -1
- package/dist/esm/calcite-combobox_3.entry.js +55 -55
- package/dist/esm/calcite-input-message_5.entry.js +274 -274
- package/dist/esm/downloadUtils-606b0f0e.js +1089 -1089
- package/dist/esm/index.es-c736c805.js +10596 -10596
- package/dist/esm/layer-table.entry.js +18 -18
- package/dist/esm/mapViewUtils-4e945e07.js +12 -12
- package/dist/esm/public-notification.entry.js +3 -0
- package/dist/solutions-components/{p-570b076b.entry.js → p-4f5641b4.entry.js} +1 -1
- package/dist/solutions-components/p-5ee7b022.entry.js +11 -11
- package/dist/solutions-components/p-6a657ff6.js +436 -436
- package/dist/solutions-components/p-72117a18.js +60 -60
- package/dist/solutions-components/p-84bbaebf.entry.js +5 -5
- package/dist/solutions-components/p-88e28de2.js +35 -35
- package/dist/solutions-components/p-ac76d270.entry.js +16 -16
- package/dist/solutions-components/p-e162304e.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/solutions-components/p-308e24cc.entry.js +0 -6
@@ -1,22 +1,22 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
9
|
-
|
10
|
-
const index = require('./index-c6979cbb.js');
|
11
|
-
const locale = require('./locale-04da9a8c.js');
|
12
|
-
const mapViewUtils = require('./mapViewUtils-f617ae9a.js');
|
13
|
-
const downloadUtils = require('./downloadUtils-415ab342.js');
|
14
|
-
require('./_commonjsHelpers-384729db.js');
|
15
|
-
require('./interfaces-17c631bf.js');
|
16
|
-
require('./loadModules-0806a34f.js');
|
17
|
-
|
18
|
-
const layerTableCss = ":host{display:block}.table{display:table;width:100%}.header{display:table-header-group;background-color:#757575;font-weight:500;font-size:var(--calcite-font-size-0);color:var(--calcite-ui-text-inverse);position:sticky;top:0;z-index:1}.table-header-cell{display:table-cell;text-align:justify;border-right:1px solid var(--calcite-ui-border-2);padding:0.5rem}.table-body{display:table-row-group}.row{display:table-row}.table-cell{display:table-cell;padding:0.5rem}.display-table-header{display:table-header-group}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.justify-center{justify-content:center}.table-container{width:100%}.overflow-auto{overflow:auto}.data-container{overflow:auto;height:calc(100% - 35px)}.row:nth-child(odd){background:var(--calcite-ui-foreground-3)}.padding-3-4{padding:0.75rem}.field-width{white-space:nowrap;min-width:300px;max-width:300px;overflow:hidden}";
|
19
|
-
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
'use strict';
|
7
|
+
|
8
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
9
|
+
|
10
|
+
const index = require('./index-c6979cbb.js');
|
11
|
+
const locale = require('./locale-04da9a8c.js');
|
12
|
+
const mapViewUtils = require('./mapViewUtils-f617ae9a.js');
|
13
|
+
const downloadUtils = require('./downloadUtils-415ab342.js');
|
14
|
+
require('./_commonjsHelpers-384729db.js');
|
15
|
+
require('./interfaces-17c631bf.js');
|
16
|
+
require('./loadModules-0806a34f.js');
|
17
|
+
|
18
|
+
const layerTableCss = ":host{display:block}.table{display:table;width:100%}.header{display:table-header-group;background-color:#757575;font-weight:500;font-size:var(--calcite-font-size-0);color:var(--calcite-ui-text-inverse);position:sticky;top:0;z-index:1}.table-header-cell{display:table-cell;text-align:justify;border-right:1px solid var(--calcite-ui-border-2);padding:0.5rem}.table-body{display:table-row-group}.row{display:table-row}.table-cell{display:table-cell;padding:0.5rem}.display-table-header{display:table-header-group}.display-flex{display:flex}.table-border{border:1px solid var(--calcite-ui-border-2)}.justify-center{justify-content:center}.table-container{width:100%}.overflow-auto{overflow:auto}.data-container{overflow:auto;height:calc(100% - 35px)}.row:nth-child(odd){background:var(--calcite-ui-foreground-3)}.padding-3-4{padding:0.75rem}.field-width{white-space:nowrap;min-width:300px;max-width:300px;overflow:hidden}";
|
19
|
+
|
20
20
|
const LayerTable = class {
|
21
21
|
constructor(hostRef) {
|
22
22
|
index.registerInstance(this, hostRef);
|
@@ -312,6 +312,6 @@ const LayerTable = class {
|
|
312
312
|
}
|
313
313
|
get el() { return index.getElement(this); }
|
314
314
|
};
|
315
|
-
LayerTable.style = layerTableCss;
|
316
|
-
|
317
|
-
exports.layer_table = LayerTable;
|
315
|
+
LayerTable.style = layerTableCss;
|
316
|
+
|
317
|
+
exports.layer_table = LayerTable;
|
@@ -1,12 +1,12 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
'use strict';
|
7
|
-
|
8
|
-
const interfaces = require('./interfaces-17c631bf.js');
|
9
|
-
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
'use strict';
|
7
|
+
|
8
|
+
const interfaces = require('./interfaces-17c631bf.js');
|
9
|
+
|
10
10
|
/** @license
|
11
11
|
* Copyright 2022 Esri
|
12
12
|
*
|
@@ -176,8 +176,8 @@ async function _intersectQuery(geometry, layer) {
|
|
176
176
|
q.spatialRelationship = "intersects";
|
177
177
|
q.geometry = geometry;
|
178
178
|
return layer.queryObjectIds(q);
|
179
|
-
}
|
180
|
-
|
179
|
+
}
|
180
|
+
|
181
181
|
/** @license
|
182
182
|
* Copyright 2022 Esri
|
183
183
|
*
|
@@ -316,16 +316,16 @@ async function goToSelection(ids, layerView, mapView, flashFeatures = true, feat
|
|
316
316
|
if (flashFeatures) {
|
317
317
|
await flashSelection(ids, layerView, featureEffect);
|
318
318
|
}
|
319
|
-
}
|
320
|
-
|
321
|
-
exports.getMapLayerHash = getMapLayerHash;
|
322
|
-
exports.getMapLayerIds = getMapLayerIds;
|
323
|
-
exports.getMapLayerView = getMapLayerView;
|
324
|
-
exports.getQueryGeoms = getQueryGeoms;
|
325
|
-
exports.getSelectionSetQuery = getSelectionSetQuery;
|
326
|
-
exports.goToSelection = goToSelection;
|
327
|
-
exports.highlightFeatures = highlightFeatures;
|
328
|
-
exports.queryAllFeatures = queryAllFeatures;
|
329
|
-
exports.queryFeaturesByGeometry = queryFeaturesByGeometry;
|
330
|
-
exports.queryFeaturesByID = queryFeaturesByID;
|
331
|
-
exports.queryObjectIds = queryObjectIds;
|
319
|
+
}
|
320
|
+
|
321
|
+
exports.getMapLayerHash = getMapLayerHash;
|
322
|
+
exports.getMapLayerIds = getMapLayerIds;
|
323
|
+
exports.getMapLayerView = getMapLayerView;
|
324
|
+
exports.getQueryGeoms = getQueryGeoms;
|
325
|
+
exports.getSelectionSetQuery = getSelectionSetQuery;
|
326
|
+
exports.goToSelection = goToSelection;
|
327
|
+
exports.highlightFeatures = highlightFeatures;
|
328
|
+
exports.queryAllFeatures = queryAllFeatures;
|
329
|
+
exports.queryFeaturesByGeometry = queryFeaturesByGeometry;
|
330
|
+
exports.queryFeaturesByID = queryFeaturesByID;
|
331
|
+
exports.queryObjectIds = queryObjectIds;
|
@@ -73,6 +73,9 @@ const PublicNotification = class {
|
|
73
73
|
if (s_newValue !== JSON.stringify(oldValue)) {
|
74
74
|
this._searchConfiguration = JSON.parse(s_newValue);
|
75
75
|
this.searchConfigurationChange.emit(this._searchConfiguration);
|
76
|
+
// force back to list page before we create Search
|
77
|
+
// https://devtopia.esri.com/WebGIS/arcgis-template-configuration/issues/3402
|
78
|
+
void this._home();
|
76
79
|
}
|
77
80
|
}
|
78
81
|
/**
|
@@ -215,8 +215,9 @@ export class MapDrawTools {
|
|
215
215
|
* @protected
|
216
216
|
*/
|
217
217
|
_clearSketch() {
|
218
|
+
var _a;
|
218
219
|
this.graphics = [];
|
219
|
-
this._sketchGraphicsLayer.removeAll();
|
220
|
+
(_a = this._sketchGraphicsLayer) === null || _a === void 0 ? void 0 : _a.removeAll();
|
220
221
|
}
|
221
222
|
/**
|
222
223
|
* Fetches the component's translations
|
@@ -77,6 +77,9 @@ export class PublicNotification {
|
|
77
77
|
if (s_newValue !== JSON.stringify(oldValue)) {
|
78
78
|
this._searchConfiguration = JSON.parse(s_newValue);
|
79
79
|
this.searchConfigurationChange.emit(this._searchConfiguration);
|
80
|
+
// force back to list page before we create Search
|
81
|
+
// https://devtopia.esri.com/WebGIS/arcgis-template-configuration/issues/3402
|
82
|
+
void this._home();
|
80
83
|
}
|
81
84
|
}
|
82
85
|
/**
|
@@ -1,15 +1,15 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
-
import { l as loadModules } from './loadModules.js';
|
8
|
-
import { s as state } from './publicNotificationStore.js';
|
9
|
-
import { g as getLocaleComponentStrings } from './locale.js';
|
10
|
-
|
11
|
-
const mapDrawToolsCss = ":host{display:block}.border{outline:1px solid var(--calcite-ui-border-input)}";
|
12
|
-
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
+
import { l as loadModules } from './loadModules.js';
|
8
|
+
import { s as state } from './publicNotificationStore.js';
|
9
|
+
import { g as getLocaleComponentStrings } from './locale.js';
|
10
|
+
|
11
|
+
const mapDrawToolsCss = ":host{display:block}.border{outline:1px solid var(--calcite-ui-border-input)}";
|
12
|
+
|
13
13
|
const MapDrawTools = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
14
14
|
constructor() {
|
15
15
|
super();
|
@@ -206,8 +206,9 @@ const MapDrawTools = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement
|
|
206
206
|
* @protected
|
207
207
|
*/
|
208
208
|
_clearSketch() {
|
209
|
+
var _a;
|
209
210
|
this.graphics = [];
|
210
|
-
this._sketchGraphicsLayer.removeAll();
|
211
|
+
(_a = this._sketchGraphicsLayer) === null || _a === void 0 ? void 0 : _a.removeAll();
|
211
212
|
}
|
212
213
|
/**
|
213
214
|
* Fetches the component's translations
|
@@ -248,6 +249,6 @@ function defineCustomElement() {
|
|
248
249
|
break;
|
249
250
|
} });
|
250
251
|
}
|
251
|
-
defineCustomElement();
|
252
|
-
|
253
|
-
export { MapDrawTools as M, defineCustomElement as d };
|
252
|
+
defineCustomElement();
|
253
|
+
|
254
|
+
export { MapDrawTools as M, defineCustomElement as d };
|
@@ -1,54 +1,54 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
-
import { a as EPageType, b as ESketchType, c as EWorkflowType, d as EExportType } from './interfaces3.js';
|
8
|
-
import { l as loadModules } from './loadModules.js';
|
9
|
-
import { a as getMapLayerView, g as goToSelection, h as highlightFeatures, d as defineCustomElement$6 } from './map-layer-picker2.js';
|
10
|
-
import { g as getSelectionSetQuery } from './queryUtils.js';
|
11
|
-
import { s as state } from './publicNotificationStore.js';
|
12
|
-
import { a as getComponentClosestLanguage, g as getLocaleComponentStrings } from './locale.js';
|
13
|
-
import { g as getTotal, a as getSelectionIds, d as defineCustomElement$3 } from './refine-selection2.js';
|
14
|
-
import { d as defineCustomElement$C } from './buffer-tools2.js';
|
15
|
-
import { d as defineCustomElement$B } from './action.js';
|
16
|
-
import { d as defineCustomElement$A } from './action-bar.js';
|
17
|
-
import { d as defineCustomElement$z } from './action-group.js';
|
18
|
-
import { d as defineCustomElement$y } from './action-menu.js';
|
19
|
-
import { d as defineCustomElement$x } from './button.js';
|
20
|
-
import { d as defineCustomElement$w } from './checkbox.js';
|
21
|
-
import { d as defineCustomElement$v } from './chip.js';
|
22
|
-
import { d as defineCustomElement$u } from './combobox.js';
|
23
|
-
import { d as defineCustomElement$t } from './combobox-item.js';
|
24
|
-
import { d as defineCustomElement$s } from './graph.js';
|
25
|
-
import { d as defineCustomElement$r } from './icon.js';
|
26
|
-
import { d as defineCustomElement$q } from './input.js';
|
27
|
-
import { d as defineCustomElement$p } from './input-message.js';
|
28
|
-
import { d as defineCustomElement$o } from './label.js';
|
29
|
-
import { d as defineCustomElement$n } from './list.js';
|
30
|
-
import { d as defineCustomElement$m } from './list-item2.js';
|
31
|
-
import { d as defineCustomElement$l } from './loader.js';
|
32
|
-
import { d as defineCustomElement$k } from './modal.js';
|
33
|
-
import { d as defineCustomElement$j } from './notice.js';
|
34
|
-
import { d as defineCustomElement$i } from './option.js';
|
35
|
-
import { d as defineCustomElement$h } from './panel.js';
|
36
|
-
import { d as defineCustomElement$g } from './popover.js';
|
37
|
-
import { d as defineCustomElement$f } from './progress.js';
|
38
|
-
import { d as defineCustomElement$e } from './radio-group.js';
|
39
|
-
import { d as defineCustomElement$d } from './radio-group-item.js';
|
40
|
-
import { d as defineCustomElement$c } from './scrim.js';
|
41
|
-
import { d as defineCustomElement$b } from './select.js';
|
42
|
-
import { d as defineCustomElement$a } from './shell.js';
|
43
|
-
import { d as defineCustomElement$9 } from './slider.js';
|
44
|
-
import { d as defineCustomElement$8 } from './tooltip.js';
|
45
|
-
import { d as defineCustomElement$7 } from './map-draw-tools2.js';
|
46
|
-
import { d as defineCustomElement$5 } from './map-select-tools2.js';
|
47
|
-
import { d as defineCustomElement$4 } from './pdf-download2.js';
|
48
|
-
import { d as defineCustomElement$2 } from './refine-selection-tools2.js';
|
49
|
-
|
50
|
-
const publicNotificationCss = ":host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-3{width:33.3%}.w-1-4{width:25%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.main-label{float:left}html[dir=\"rtl\"] .main-label{float:right}.back-label:hover{cursor:pointer;color:var(--calcite-ui-brand-hover)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.margin-side-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.border-top{border-top:1px solid var(--calcite-ui-border-2)}.w-100{width:100%}.w-50{width:50%}.padding-1-2{padding:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir=\"rtl\"]{float:left}.float-left{float:left}.float-left[dir=\"rtl\"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.num-selected{align-items:center;display:flex}";
|
51
|
-
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
7
|
+
import { a as EPageType, b as ESketchType, c as EWorkflowType, d as EExportType } from './interfaces3.js';
|
8
|
+
import { l as loadModules } from './loadModules.js';
|
9
|
+
import { a as getMapLayerView, g as goToSelection, h as highlightFeatures, d as defineCustomElement$6 } from './map-layer-picker2.js';
|
10
|
+
import { g as getSelectionSetQuery } from './queryUtils.js';
|
11
|
+
import { s as state } from './publicNotificationStore.js';
|
12
|
+
import { a as getComponentClosestLanguage, g as getLocaleComponentStrings } from './locale.js';
|
13
|
+
import { g as getTotal, a as getSelectionIds, d as defineCustomElement$3 } from './refine-selection2.js';
|
14
|
+
import { d as defineCustomElement$C } from './buffer-tools2.js';
|
15
|
+
import { d as defineCustomElement$B } from './action.js';
|
16
|
+
import { d as defineCustomElement$A } from './action-bar.js';
|
17
|
+
import { d as defineCustomElement$z } from './action-group.js';
|
18
|
+
import { d as defineCustomElement$y } from './action-menu.js';
|
19
|
+
import { d as defineCustomElement$x } from './button.js';
|
20
|
+
import { d as defineCustomElement$w } from './checkbox.js';
|
21
|
+
import { d as defineCustomElement$v } from './chip.js';
|
22
|
+
import { d as defineCustomElement$u } from './combobox.js';
|
23
|
+
import { d as defineCustomElement$t } from './combobox-item.js';
|
24
|
+
import { d as defineCustomElement$s } from './graph.js';
|
25
|
+
import { d as defineCustomElement$r } from './icon.js';
|
26
|
+
import { d as defineCustomElement$q } from './input.js';
|
27
|
+
import { d as defineCustomElement$p } from './input-message.js';
|
28
|
+
import { d as defineCustomElement$o } from './label.js';
|
29
|
+
import { d as defineCustomElement$n } from './list.js';
|
30
|
+
import { d as defineCustomElement$m } from './list-item2.js';
|
31
|
+
import { d as defineCustomElement$l } from './loader.js';
|
32
|
+
import { d as defineCustomElement$k } from './modal.js';
|
33
|
+
import { d as defineCustomElement$j } from './notice.js';
|
34
|
+
import { d as defineCustomElement$i } from './option.js';
|
35
|
+
import { d as defineCustomElement$h } from './panel.js';
|
36
|
+
import { d as defineCustomElement$g } from './popover.js';
|
37
|
+
import { d as defineCustomElement$f } from './progress.js';
|
38
|
+
import { d as defineCustomElement$e } from './radio-group.js';
|
39
|
+
import { d as defineCustomElement$d } from './radio-group-item.js';
|
40
|
+
import { d as defineCustomElement$c } from './scrim.js';
|
41
|
+
import { d as defineCustomElement$b } from './select.js';
|
42
|
+
import { d as defineCustomElement$a } from './shell.js';
|
43
|
+
import { d as defineCustomElement$9 } from './slider.js';
|
44
|
+
import { d as defineCustomElement$8 } from './tooltip.js';
|
45
|
+
import { d as defineCustomElement$7 } from './map-draw-tools2.js';
|
46
|
+
import { d as defineCustomElement$5 } from './map-select-tools2.js';
|
47
|
+
import { d as defineCustomElement$4 } from './pdf-download2.js';
|
48
|
+
import { d as defineCustomElement$2 } from './refine-selection-tools2.js';
|
49
|
+
|
50
|
+
const publicNotificationCss = ":host{display:block;--calcite-input-message-spacing-value:0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-ui-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-3{width:33.3%}.w-1-4{width:25%}.action-center{-webkit-box-align:center;-webkit-align-items:center;-ms-grid-row-align:center;align-items:center;align-content:center;justify-content:center}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{-webkit-padding-before:1rem;padding-block-start:1rem;-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-sides-1{-webkit-padding-start:1rem;padding-inline-start:1rem;-webkit-padding-end:1rem;padding-inline-end:1rem}.padding-end-1-2{-webkit-padding-end:.5rem;padding-inline-end:.5rem}.padding-top-1-2{-webkit-padding-before:.5rem;padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.info-blue{color:#00A0FF}.info-message{justify-content:center;display:grid}.font-bold{font-weight:bold}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.main-label{float:left}html[dir=\"rtl\"] .main-label{float:right}.back-label:hover{cursor:pointer;color:var(--calcite-ui-brand-hover)}.border-bottom{border-bottom:1px solid var(--calcite-ui-border-2)}.margin-side-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.border-top{border-top:1px solid var(--calcite-ui-border-2)}.w-100{width:100%}.w-50{width:50%}.padding-1-2{padding:0.5rem}.list-border{border:1px solid var(--calcite-ui-border-2)}.margin-sides-1{-webkit-margin-start:1rem;margin-inline-start:1rem;-webkit-margin-end:1rem;margin-inline-end:1rem}.margin-start-1-2{-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}.float-right{float:right}.float-right[dir=\"rtl\"]{float:left}.float-left{float:left}.float-left[dir=\"rtl\"]{float:right}.margin-top-0{-webkit-margin-before:0 !important;margin-block-start:0 !important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-ui-foreground-2)}.num-selected{align-items:center;display:flex}";
|
51
|
+
|
52
52
|
const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
53
53
|
constructor() {
|
54
54
|
super();
|
@@ -104,6 +104,9 @@ const PublicNotification$1 = /*@__PURE__*/ proxyCustomElement(class extends HTML
|
|
104
104
|
if (s_newValue !== JSON.stringify(oldValue)) {
|
105
105
|
this._searchConfiguration = JSON.parse(s_newValue);
|
106
106
|
this.searchConfigurationChange.emit(this._searchConfiguration);
|
107
|
+
// force back to list page before we create Search
|
108
|
+
// https://devtopia.esri.com/WebGIS/arcgis-template-configuration/issues/3402
|
109
|
+
void this._home();
|
107
110
|
}
|
108
111
|
}
|
109
112
|
/**
|
@@ -981,9 +984,9 @@ function defineCustomElement$1() {
|
|
981
984
|
break;
|
982
985
|
} });
|
983
986
|
}
|
984
|
-
defineCustomElement$1();
|
985
|
-
|
986
|
-
const PublicNotification = PublicNotification$1;
|
987
|
-
const defineCustomElement = defineCustomElement$1;
|
988
|
-
|
989
|
-
export { PublicNotification, defineCustomElement };
|
987
|
+
defineCustomElement$1();
|
988
|
+
|
989
|
+
const PublicNotification = PublicNotification$1;
|
990
|
+
const defineCustomElement = defineCustomElement$1;
|
991
|
+
|
992
|
+
export { PublicNotification, defineCustomElement };
|
@@ -1,10 +1,10 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { c as EWorkflowType } from './interfaces3.js';
|
7
|
-
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { c as EWorkflowType } from './interfaces3.js';
|
7
|
+
|
8
8
|
/** @license
|
9
9
|
* Copyright 2022 Esri
|
10
10
|
*
|
@@ -174,6 +174,6 @@ async function _intersectQuery(geometry, layer) {
|
|
174
174
|
q.spatialRelationship = "intersects";
|
175
175
|
q.geometry = geometry;
|
176
176
|
return layer.queryObjectIds(q);
|
177
|
-
}
|
178
|
-
|
179
|
-
export { queryExtent as a, queryObjectIds as b, getQueryGeoms as c, queryFeaturesByGeometry as d, queryFeaturesByID as e, getSelectionSetQuery as g, queryAllFeatures as q };
|
177
|
+
}
|
178
|
+
|
179
|
+
export { queryExtent as a, queryObjectIds as b, getQueryGeoms as c, queryFeaturesByGeometry as d, queryFeaturesByID as e, getSelectionSetQuery as g, queryAllFeatures as q };
|
@@ -1499,8 +1499,9 @@ const MapDrawTools = class {
|
|
1499
1499
|
* @protected
|
1500
1500
|
*/
|
1501
1501
|
_clearSketch() {
|
1502
|
+
var _a;
|
1502
1503
|
this.graphics = [];
|
1503
|
-
this._sketchGraphicsLayer.removeAll();
|
1504
|
+
(_a = this._sketchGraphicsLayer) === null || _a === void 0 ? void 0 : _a.removeAll();
|
1504
1505
|
}
|
1505
1506
|
/**
|
1506
1507
|
* Fetches the component's translations
|
@@ -1,29 +1,29 @@
|
|
1
|
-
/*!
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
* Licensed under the Apache License, Version 2.0
|
4
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
-
*/
|
6
|
-
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c246d90e.js';
|
7
|
-
import { f as filter } from './filter-82935f2d.js';
|
8
|
-
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-63460291.js';
|
9
|
-
import { g as guid } from './guid-15fce7c0.js';
|
10
|
-
import { T as TEXT, C as ComboboxChildSelector, b as getItemAncestors, c as getItemChildren, h as hasActiveChildren, d as ComboboxItem$1, e as ComboboxItemGroup, g as getAncestors, a as getDepth } from './utils-bef8e381.js';
|
11
|
-
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-aa562647.js';
|
12
|
-
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-62bc7b1f.js';
|
13
|
-
import { c as createObserver } from './observers-31601001.js';
|
14
|
-
import { u as updateHostInteraction } from './interactive-822ffed6.js';
|
15
|
-
import { i as isPrimaryPointerButton, t as toAriaBoolean, g as getElementProp, a as getSlotted } from './dom-3bdc69ee.js';
|
16
|
-
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-5caff873.js';
|
17
|
-
import { d as debounce } from './debounce-4c884e5c.js';
|
18
|
-
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-d09506c4.js';
|
19
|
-
import { i as getMapLayerIds, j as getMapLayerHash } from './mapViewUtils-4e945e07.js';
|
20
|
-
import { s as state } from './publicNotificationStore-b9daaee4.js';
|
21
|
-
import './resources-436ae282.js';
|
22
|
-
import './interfaces-d0d83efa.js';
|
23
|
-
import './index-ac7f66eb.js';
|
24
|
-
|
25
|
-
const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::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}";
|
26
|
-
|
1
|
+
/*!
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
* Licensed under the Apache License, Version 2.0
|
4
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
5
|
+
*/
|
6
|
+
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-c246d90e.js';
|
7
|
+
import { f as filter } from './filter-82935f2d.js';
|
8
|
+
import { d as defaultMenuPlacement, f as filterComputedPlacements, c as connectFloatingUI, u as updateAfterClose, r as reposition, a as disconnectFloatingUI, F as FloatingCSS } from './floating-ui-63460291.js';
|
9
|
+
import { g as guid } from './guid-15fce7c0.js';
|
10
|
+
import { T as TEXT, C as ComboboxChildSelector, b as getItemAncestors, c as getItemChildren, h as hasActiveChildren, d as ComboboxItem$1, e as ComboboxItemGroup, g as getAncestors, a as getDepth } from './utils-bef8e381.js';
|
11
|
+
import { c as connectLabel, d as disconnectLabel, g as getLabelText } from './label-aa562647.js';
|
12
|
+
import { s as submitForm, c as connectForm, a as afterConnectDefaultValueSet, d as disconnectForm, H as HiddenFormInputSlot } from './form-62bc7b1f.js';
|
13
|
+
import { c as createObserver } from './observers-31601001.js';
|
14
|
+
import { u as updateHostInteraction } from './interactive-822ffed6.js';
|
15
|
+
import { i as isPrimaryPointerButton, t as toAriaBoolean, g as getElementProp, a as getSlotted } from './dom-3bdc69ee.js';
|
16
|
+
import { c as connectOpenCloseComponent, d as disconnectOpenCloseComponent } from './openCloseComponent-5caff873.js';
|
17
|
+
import { d as debounce } from './debounce-4c884e5c.js';
|
18
|
+
import { c as connectConditionalSlotComponent, d as disconnectConditionalSlotComponent } from './conditionalSlot-d09506c4.js';
|
19
|
+
import { i as getMapLayerIds, j as getMapLayerHash } from './mapViewUtils-4e945e07.js';
|
20
|
+
import { s as state } from './publicNotificationStore-b9daaee4.js';
|
21
|
+
import './resources-436ae282.js';
|
22
|
+
import './interfaces-d0d83efa.js';
|
23
|
+
import './index-ac7f66eb.js';
|
24
|
+
|
25
|
+
const comboboxCss = "@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}:host{position:relative;display:block}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host([scale=s]){font-size:var(--calcite-font-size--2);--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-input-height:1.5rem}:host([scale=m]){font-size:var(--calcite-font-size--1);--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-input-height:2rem}:host([scale=l]){font-size:var(--calcite-font-size-0);--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-input-height:2.75rem}.wrapper{display:flex;border-width:1px;border-style:solid;border-color:var(--calcite-ui-border-input);background-color:var(--calcite-ui-foreground-1);color:var(--calcite-ui-text-1);outline-color:transparent;padding-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host(:focus-within) .wrapper,.wrapper--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.wrapper--single{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l);cursor:pointer;flex-wrap:nowrap}.grid-input{display:flex;flex-grow:1;flex-wrap:wrap;align-items:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px}.input{flex-grow:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-style:none;background-color:transparent;padding:0px;font-family:inherit;color:var(--calcite-ui-text-1);font-size:inherit;block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height);min-inline-size:120px;-webkit-margin-after:var(--calcite-combobox-item-spacing-unit-s);margin-block-end:var(--calcite-combobox-item-spacing-unit-s)}.input:focus{outline:2px solid transparent;outline-offset:2px}.input--transparent{opacity:0}.input--single{margin-block:0px;padding:0px}.wrapper--active .input-single{cursor:text}.input--hidden{pointer-events:none;inline-size:0px;min-inline-size:0px;opacity:0}.input--icon{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.input-wrap{display:flex;flex-grow:1}.input-wrap--single{flex:1 1 0%;overflow:hidden}.label{pointer-events:none;display:flex;max-inline-size:100%;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0px;font-weight:var(--calcite-font-weight-normal);block-size:var(--calcite-combobox-input-height);line-height:var(--calcite-combobox-input-height)}.label--icon{padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon-end,.icon-start{display:flex;inline-size:1rem;cursor:pointer;align-items:center}.icon-end{flex:none}.floating-ui-container{display:block;position:absolute;z-index:900;visibility:hidden;pointer-events:none;inline-size:0;block-size:0;overflow:hidden}.floating-ui-container .calcite-floating-ui-anim{position:relative;transition:var(--calcite-floating-ui-transition);visibility:hidden;transition-property:transform, visibility, opacity;opacity:0;box-shadow:0 0 16px 0 rgba(0, 0, 0, 0.16);z-index:1;border-radius:0.25rem}.floating-ui-container[data-placement^=bottom] .calcite-floating-ui-anim{transform:translateY(-5px)}.floating-ui-container[data-placement^=top] .calcite-floating-ui-anim{transform:translateY(5px)}.floating-ui-container[data-placement^=left] .calcite-floating-ui-anim{transform:translateX(5px)}.floating-ui-container[data-placement^=right] .calcite-floating-ui-anim{transform:translateX(-5px)}.floating-ui-container[data-placement] .calcite-floating-ui-anim--active{opacity:1;visibility:visible;transform:translate(0)}.floating-ui-container--active{pointer-events:initial;visibility:visible;inline-size:unset;block-size:unset;overflow:unset}@media (forced-colors: active){.wrapper,.floating-ui-container--active{border:1px solid canvasText}}.screen-readers-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.list-container{max-block-size:45vh;overflow-y:auto;background-color:var(--calcite-ui-foreground-1);inline-size:var(--calcite-dropdown-width)}.list{margin:0px;display:block;padding:0px}.list--hide{block-size:0px;overflow:hidden}.chip{margin-block:calc(var(--calcite-combobox-item-spacing-unit-s) / 4);margin-inline:0 var(--calcite-combobox-item-spacing-unit-s);max-inline-size:100%}.chip--active{background-color:var(--calcite-ui-foreground-3)}.item{display:block}::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}";
|
26
|
+
|
27
27
|
const isGroup = (el) => el.tagName === ComboboxItemGroup;
|
28
28
|
const itemUidPrefix = "combobox-item-";
|
29
29
|
const chipUidPrefix = "combobox-chip-";
|
@@ -857,28 +857,28 @@ const Combobox = class {
|
|
857
857
|
"text": ["textHandler"]
|
858
858
|
}; }
|
859
859
|
};
|
860
|
-
Combobox.style = comboboxCss;
|
861
|
-
|
862
|
-
/*!
|
863
|
-
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
864
|
-
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
865
|
-
* v1.0.0-beta.97
|
866
|
-
*/
|
867
|
-
const CSS = {
|
868
|
-
icon: "icon",
|
869
|
-
iconActive: "icon--active",
|
870
|
-
custom: "icon--custom",
|
871
|
-
dot: "icon--dot",
|
872
|
-
single: "label--single",
|
873
|
-
label: "label",
|
874
|
-
active: "label--active",
|
875
|
-
selected: "label--selected",
|
876
|
-
title: "title",
|
877
|
-
textContainer: "text-container"
|
878
|
-
};
|
879
|
-
|
880
|
-
const comboboxItemCss = "@charset \"UTF-8\";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{-webkit-margin-before:-1px;margin-block-start:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:flex;justify-content:flex-end;min-inline-size:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
881
|
-
|
860
|
+
Combobox.style = comboboxCss;
|
861
|
+
|
862
|
+
/*!
|
863
|
+
* All material copyright ESRI, All Rights Reserved, unless otherwise specified.
|
864
|
+
* See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
|
865
|
+
* v1.0.0-beta.97
|
866
|
+
*/
|
867
|
+
const CSS = {
|
868
|
+
icon: "icon",
|
869
|
+
iconActive: "icon--active",
|
870
|
+
custom: "icon--custom",
|
871
|
+
dot: "icon--dot",
|
872
|
+
single: "label--single",
|
873
|
+
label: "label",
|
874
|
+
active: "label--active",
|
875
|
+
selected: "label--selected",
|
876
|
+
title: "title",
|
877
|
+
textContainer: "text-container"
|
878
|
+
};
|
879
|
+
|
880
|
+
const comboboxItemCss = "@charset \"UTF-8\";@keyframes in{0%{opacity:0}100%{opacity:1}}@keyframes in-down{0%{opacity:0;transform:translate3D(0, -5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-up{0%{opacity:0;transform:translate3D(0, 5px, 0)}100%{opacity:1;transform:translate3D(0, 0, 0)}}@keyframes in-scale{0%{opacity:0;transform:scale3D(0.95, 0.95, 1)}100%{opacity:1;transform:scale3D(1, 1, 1)}}:root{--calcite-animation-timing:calc(150ms * var(--calcite-internal-duration-factor));--calcite-internal-duration-factor:var(--calcite-duration-factor, 1);--calcite-internal-animation-timing-fast:calc(100ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-medium:calc(200ms * var(--calcite-internal-duration-factor));--calcite-internal-animation-timing-slow:calc(300ms * var(--calcite-internal-duration-factor))}.calcite-animate{opacity:0;animation-fill-mode:both;animation-duration:var(--calcite-animation-timing)}.calcite-animate__in{animation-name:in}.calcite-animate__in-down{animation-name:in-down}.calcite-animate__in-up{animation-name:in-up}.calcite-animate__in-scale{animation-name:in-scale}@media (prefers-reduced-motion: reduce){:root{--calcite-internal-duration-factor:0.01}}:root{--calcite-floating-ui-transition:var(--calcite-animation-timing)}:host([hidden]){display:none}:host([disabled]){pointer-events:none;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-ui-opacity-disabled)}.scale--s{font-size:var(--calcite-font-size--2);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.5rem;--calcite-combobox-item-spacing-unit-s:0.25rem;--calcite-combobox-item-spacing-indent:0.5rem}.scale--m{font-size:var(--calcite-font-size--1);line-height:1rem;--calcite-combobox-item-spacing-unit-l:0.75rem;--calcite-combobox-item-spacing-unit-s:0.5rem;--calcite-combobox-item-spacing-indent:0.75rem}.scale--l{font-size:var(--calcite-font-size-0);line-height:1.25rem;--calcite-combobox-item-spacing-unit-l:1rem;--calcite-combobox-item-spacing-unit-s:0.75rem;--calcite-combobox-item-spacing-indent:1rem}.container{--calcite-combobox-item-indent-value:calc(\n var(--calcite-combobox-item-spacing-indent) * var(--calcite-combobox-item-spacing-indent-multiplier)\n )}:host(:focus){--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}:host,ul{margin:0px;display:flex;flex-direction:column;padding:0px}:host(:focus),ul:focus{outline:2px solid transparent;outline-offset:2px}.label{position:relative;box-sizing:border-box;display:flex;inline-size:100%;min-inline-size:100%;cursor:pointer;align-items:center;color:var(--calcite-ui-text-3);-webkit-text-decoration-line:none;text-decoration-line:none;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);outline-color:transparent;padding-block:var(--calcite-combobox-item-spacing-unit-s);padding-inline:var(--calcite-combobox-item-spacing-unit-l)}:host([disabled]) .label{cursor:default}.label--selected{font-weight:var(--calcite-font-weight-medium);color:var(--calcite-ui-text-1)}.label--active{outline:2px solid var(--calcite-ui-brand);outline-offset:-2px}.label:hover,.label:active{background-color:var(--calcite-ui-foreground-2);color:var(--calcite-ui-text-1);-webkit-text-decoration-line:none;text-decoration-line:none;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.title{padding-block:0;padding-inline:var(--calcite-combobox-item-spacing-unit-l)}.icon{display:inline-flex;opacity:0;transition-duration:150ms;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);color:var(--calcite-ui-border-1)}.icon--indent{-webkit-padding-start:var(--calcite-combobox-item-indent-value);padding-inline-start:var(--calcite-combobox-item-indent-value)}.icon--custom{-webkit-margin-before:-1px;margin-block-start:-1px;color:var(--calcite-ui-text-3)}.icon--active{color:var(--calcite-ui-text-1)}.icon--dot{display:flex;justify-content:flex-end;min-inline-size:var(--calcite-combobox-item-spacing-unit-l)}.icon--dot:before{text-align:start;content:\"•\"}.label--active .icon{opacity:1}.label--selected .icon{opacity:1;color:var(--calcite-ui-brand)}:host(:hover[disabled]) .icon{opacity:1}";
|
881
|
+
|
882
882
|
const ComboboxItem = class {
|
883
883
|
constructor(hostRef) {
|
884
884
|
registerInstance(this, hostRef);
|
@@ -992,10 +992,10 @@ const ComboboxItem = class {
|
|
992
992
|
"selected": ["selectedWatchHandler"]
|
993
993
|
}; }
|
994
994
|
};
|
995
|
-
ComboboxItem.style = comboboxItemCss;
|
996
|
-
|
997
|
-
const mapLayerPickerCss = ":host{display:block}.map-layer-picker-container{width:100%}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}";
|
998
|
-
|
995
|
+
ComboboxItem.style = comboboxItemCss;
|
996
|
+
|
997
|
+
const mapLayerPickerCss = ":host{display:block}.map-layer-picker-container{width:100%}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}";
|
998
|
+
|
999
999
|
const MapLayerPicker = class {
|
1000
1000
|
constructor(hostRef) {
|
1001
1001
|
registerInstance(this, hostRef);
|
@@ -1127,6 +1127,6 @@ const MapLayerPicker = class {
|
|
1127
1127
|
"mapView": ["watchStateHandler"]
|
1128
1128
|
}; }
|
1129
1129
|
};
|
1130
|
-
MapLayerPicker.style = mapLayerPickerCss;
|
1131
|
-
|
1132
|
-
export { Combobox as calcite_combobox, ComboboxItem as calcite_combobox_item, MapLayerPicker as map_layer_picker };
|
1130
|
+
MapLayerPicker.style = mapLayerPickerCss;
|
1131
|
+
|
1132
|
+
export { Combobox as calcite_combobox, ComboboxItem as calcite_combobox_item, MapLayerPicker as map_layer_picker };
|