@esri/solutions-components 0.10.40 → 0.10.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/cjs/calcite-block_5.cjs.entry.js +75 -65
  2. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +1 -1
  3. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -1
  4. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  5. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  6. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +6 -6
  7. package/dist/cjs/loader.cjs.js +1 -1
  8. package/dist/cjs/solutions-components.cjs.js +1 -1
  9. package/dist/components/instant-apps-app-guide.js +1 -1
  10. package/dist/components/instant-apps-export.js +5 -1
  11. package/dist/components/instant-apps-filter-list2.js +75 -66
  12. package/dist/components/instant-apps-landing-page.js +1 -1
  13. package/dist/components/instant-apps-sign-in2.js +2 -2
  14. package/dist/components/instant-apps-time-filter.js +6 -6
  15. package/dist/esm/calcite-block_5.entry.js +75 -65
  16. package/dist/esm/instant-apps-app-guide.entry.js +1 -1
  17. package/dist/esm/instant-apps-export.entry.js +5 -1
  18. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  19. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  20. package/dist/esm/instant-apps-time-filter.entry.js +6 -6
  21. package/dist/esm/loader.js +1 -1
  22. package/dist/esm/solutions-components.js +1 -1
  23. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +1 -1
  24. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +43 -26
  25. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +6 -0
  26. package/dist/solutions-components/p-523dcf4b.entry.js +6 -0
  27. package/dist/solutions-components/p-8f8c7045.entry.js +6 -0
  28. package/dist/solutions-components/p-953afbb3.entry.js +29 -0
  29. package/dist/solutions-components/{p-bb8b1ee2.entry.js → p-a2cf9fdc.entry.js} +1 -1
  30. package/dist/solutions-components/p-a7f56b28.entry.js +6 -0
  31. package/dist/solutions-components/p-e4107150.entry.js +6 -0
  32. package/dist/solutions-components/solutions-components.esm.js +1 -1
  33. package/package.json +4 -4
  34. package/dist/solutions-components/p-5b3c0418.entry.js +0 -6
  35. package/dist/solutions-components/p-750b3277.entry.js +0 -6
  36. package/dist/solutions-components/p-8779ee41.entry.js +0 -6
  37. package/dist/solutions-components/p-ca3cbd29.entry.js +0 -6
  38. package/dist/solutions-components/p-e1391389.entry.js +0 -29
@@ -31,7 +31,7 @@ class AppGuideViewModel {
31
31
  }
32
32
  }
33
33
 
34
- const instantAppsAppGuideCss = ":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;overflow:scroll;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1)}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}";
34
+ const instantAppsAppGuideCss = ":host{--instant-apps-app-guide-width:300px;--instant-apps-app-guide-height:400px;--instant-apps-app-guide-list-item-bubble-size:22px;width:var(--instant-apps-app-guide-width);height:var(--instant-apps-app-guide-height);display:block}:host calcite-panel{max-width:var(--instant-apps-app-guide-width);max-height:var(--instant-apps-app-guide-height);display:flex}:host calcite-carousel{flex:1;height:-moz-fit-content;height:fit-content;background-color:var(--calcite-color-foreground-1);overflow:auto}:host [slot=header-content]{display:flex;gap:var(--calcite-spacing-sm);padding-inline-start:0.25rem;font-weight:var(--calcite-font-weight-bold)}:host calcite-carousel-item{flex-grow:1;display:flex;flex-direction:column}:host .instant-apps-app-guide__content-wrapper{padding-block-start:0.5rem;padding-inline:0.5rem;flex-shrink:1;flex-grow:0}:host calcite-icon{--calcite-ui-icon-color:var(--calcite-color-brand)}:host .instant-apps-app-guide__content-list{counter-set:item-counter;margin-inline:0;padding-inline-start:var(--calcite-spacing-xxxl);padding-inline-end:var(--calcite-spacing-lg);position:relative}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item{counter-increment:item-counter;margin-block-start:var(--calcite-spacing-lg);display:flex;align-items:flex-start}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::before{content:counter(item-counter);background-color:var(--calcite-color-text-2);color:var(--calcite-color-text-inverse);line-height:var(--calcite-font-line-height-fixed-xl);width:var(--instant-apps-app-guide-list-item-bubble-size);left:0;border-radius:var(--calcite-corner-radius-pill);display:flex;justify-content:center;font-size:var(--calcite-font-size-sm);position:absolute;max-height:var(--instant-apps-app-guide-list-item-bubble-size)}:host .instant-apps-app-guide__content-list .instant-apps-app-guide__content-list--item::marker{color:var(--calcite-color-transparent)}";
35
35
  const InstantAppsAppGuideStyle0 = instantAppsAppGuideCss;
36
36
 
37
37
  const CSS = {
@@ -944,6 +944,10 @@ const printStyling = `
944
944
  grid-row: 1 / span 2;
945
945
  grid-column: 2;
946
946
  }
947
+
948
+ .instant-apps-export-print__extra-container .esri-feature.esri-widget .esri-widget__heading.esri-feature__title {
949
+ display: block;
950
+ }
947
951
 
948
952
  .instant-apps-export-print__popup-container {
949
953
  height: min-content;
@@ -1002,7 +1006,7 @@ const printStyling = `
1002
1006
  }
1003
1007
 
1004
1008
  .instant-apps-export-print .esri-widget__heading {
1005
- margin: 2pt 7pt;
1009
+ margin: 4pt 7pt;
1006
1010
  padding: 0;
1007
1011
  color: #323232;
1008
1012
  }
@@ -88,6 +88,7 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
88
88
  this.__attachShadow();
89
89
  this.filterListReset = createEvent(this, "filterListReset", 7);
90
90
  this.filterUpdate = createEvent(this, "filterUpdate", 7);
91
+ this.isLayerExpUpdated = false;
91
92
  this.layerExpressions = undefined;
92
93
  this.autoUpdateUrl = false;
93
94
  this.closeBtn = false;
@@ -108,7 +109,6 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
108
109
  this.messages = undefined;
109
110
  this.baseClass = baseClassLight;
110
111
  this.disabled = true;
111
- this.hasLayerExpression = false;
112
112
  this.initDefExpressions = undefined;
113
113
  this.initMapImageExpressions = undefined;
114
114
  this.initPointCloudFilters = undefined;
@@ -117,11 +117,9 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
117
117
  this.handleWhenView();
118
118
  }
119
119
  watchLayerExpressions() {
120
- if (!this.hasLayerExpression) {
121
- this.filterLayerExpressions = structuredClone(this.layerExpressions);
122
- this.handleLayerExpressionsUpdate();
123
- this.hasLayerExpression = true;
124
- }
120
+ this.resetAllFilters();
121
+ this.filterLayerExpressions = structuredClone(this.layerExpressions);
122
+ this.handleLayerExpressionsUpdate();
125
123
  }
126
124
  getFilterInitState() {
127
125
  return Promise.resolve({
@@ -131,7 +129,6 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
131
129
  });
132
130
  }
133
131
  forceReset() {
134
- this.filterLayerExpressions = structuredClone(this.layerExpressions);
135
132
  this.handleResetFilter();
136
133
  return this.initExpressions();
137
134
  }
@@ -146,28 +143,28 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
146
143
  }
147
144
  return this.initExpressions();
148
145
  }
146
+ connectedCallback() {
147
+ var _a;
148
+ if (this.layerExpressions == null && this.view == null)
149
+ return;
150
+ this.isLayerExpUpdated = true;
151
+ this.filterLayerExpressions = structuredClone(this.layerExpressions);
152
+ this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
153
+ this.handleLayerExpressionsUpdate();
154
+ }
149
155
  async componentWillLoad() {
150
156
  var _a;
151
157
  this.baseClass = getMode(this.el) === 'dark' ? baseClassDark : baseClassLight;
152
158
  await this.initializeModules();
153
159
  getMessages(this);
154
- this.hasLayerExpression = this.layerExpressions != null;
160
+ if (this.isLayerExpUpdated)
161
+ return;
162
+ this.isLayerExpUpdated = true;
155
163
  this.filterLayerExpressions = this.layerExpressions != null ? structuredClone(this.layerExpressions) : [];
156
164
  this.disabled = ((_a = this.filterLayerExpressions) === null || _a === void 0 ? void 0 : _a.length) ? undefined : true;
157
- this.reactiveUtils.whenOnce(() => this.view).then(() => this.handleLayerExpressionsUpdate());
158
- }
159
- componentShouldUpdate(newValue, _oldValue, name) {
160
- if (name === 'view' && newValue != null) {
161
- this.handleWhenView();
162
- }
163
- else if (name === 'layerExpressions') {
164
- if (this.hasLayerExpression) {
165
- this.resetAllFilters();
166
- }
167
- this.filterLayerExpressions = structuredClone(this.layerExpressions);
168
- this.handleLayerExpressionsUpdate();
169
- this.hasLayerExpression = true;
170
- }
165
+ if (this.view == null)
166
+ return;
167
+ this.handleLayerExpressionsUpdate();
171
168
  }
172
169
  componentWillRender() {
173
170
  var _a;
@@ -175,21 +172,21 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
175
172
  }
176
173
  disconnectedCallback() {
177
174
  if (this.resetFiltersOnDisconnect) {
175
+ this.isLayerExpUpdated = false;
178
176
  this.filterLayerExpressions = structuredClone(this.layerExpressions);
179
177
  this.resetAllFilters();
180
178
  }
181
179
  }
182
180
  async initializeModules() {
183
- const [intl, geometryJsonUtils, reactiveUtils] = await loadModules(['esri/intl', 'esri/geometry/support/jsonUtils', 'esri/core/reactiveUtils']);
181
+ const [intl, geometryJsonUtils] = await loadModules(['esri/intl', 'esri/geometry/support/jsonUtils']);
184
182
  this.geometryJsonUtils = geometryJsonUtils;
185
- this.reactiveUtils = reactiveUtils;
186
183
  this.locale = intl.getLocale();
187
184
  this.intl = intl;
188
185
  }
189
186
  render() {
190
187
  const filterConfig = this.loading ? this.renderLoading() : this.initFilterConfig();
191
- const footer = this.renderFooter(this.closeBtn, this.resetBtn);
192
- return (h(Host, { key: '80c4918bd3bdf65d541ed6cf4cf4843ab0f0df01' }, h("calcite-panel", { key: 'f1da101b071420df42da5eb8f5478d0719b40cec', class: this.baseClass, ref: el => (this.panelEl = el) }, h("slot", { key: '8ebdbf20767027459470fa85fe4238e69bc47ab8', slot: "header-content", name: "filter-header-content" }), h("slot", { key: '177f8db80aa842eeb200344cd7b398cd51ca23f3', slot: "header-actions-end", name: "filter-header-actions-end" }), h("div", { key: "filter-container", class: CSS.filterContainer }, filterConfig, footer))));
188
+ const footer = this.renderFooter();
189
+ return (h(Host, { key: '055d2a02c5118e59462af8759c6bf2f39304fd75' }, h("calcite-panel", { key: '0335c9b28101257551902737ef373543aebee1f6', class: this.baseClass, ref: el => (this.panelEl = el) }, h("slot", { key: '4b471e66583b3f2fd733688d65ce8d3b2acbeb66', slot: "header-content", name: "filter-header-content" }), h("slot", { key: 'f5832075687a6812b902643fd057587b438b38cf', slot: "header-actions-end", name: "filter-header-actions-end" }), h("div", { key: "filter-container", class: CSS.filterContainer }, filterConfig, footer))));
193
190
  }
194
191
  renderLoading() {
195
192
  return h("calcite-loader", { label: "Loading filters..." });
@@ -258,10 +255,11 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
258
255
  const check = min != null && max != null;
259
256
  return check ? (h("label", { class: CSS.filterUIItemContainer }, h("span", null, expression === null || expression === void 0 ? void 0 : expression.name), h("div", { class: CSS.dateInputContainer }, h("calcite-input-date-picker", { id: expression === null || expression === void 0 ? void 0 : expression.id.toString(), onCalciteInputDatePickerChange: this.handleDatePickerRangeChange.bind(this, expression, layerExpression), min: min, max: max, "overlay-positioning": "fixed", lang: (_c = this.locale) !== null && _c !== void 0 ? _c : 'en', layout: "vertical", value: value, range: true }), h("calcite-action", { onClick: this.handleResetDatePicker.bind(this, expression, layerExpression), icon: "reset", text: (_d = this.messages) === null || _d === void 0 ? void 0 : _d.resetDatePicker, scale: "s" })))) : null;
260
257
  }
261
- renderFooter(closeBtn, resetBtn) {
258
+ renderFooter() {
262
259
  var _a, _b, _c;
263
260
  const closeText = this.closeBtnText != null ? this.closeBtnText : (_a = this.messages) === null || _a === void 0 ? void 0 : _a.close;
264
- return (h("div", { class: CSS.footer, slot: "footer" }, resetBtn ? (h("calcite-button", { appearance: "outline", width: "half", disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.resetFilter)) : undefined, closeBtn ? (h("calcite-button", { appearance: "solid", width: "half", kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)) : undefined));
261
+ const btnWidth = this.closeBtn && this.resetBtn ? 'half' : 'full';
262
+ return (h("div", { class: CSS.footer, slot: "footer" }, this.resetBtn ? (h("calcite-button", { appearance: "outline", width: btnWidth, disabled: this.disabled, onClick: this.handleResetFilter.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.resetFilter)) : undefined, this.closeBtn ? (h("calcite-button", { appearance: "solid", width: btnWidth, kind: "brand", onClick: (_c = this.closeBtnOnClick) === null || _c === void 0 ? void 0 : _c.bind(this) }, closeText)) : undefined));
265
263
  }
266
264
  renderZoomTo(layerExpression) {
267
265
  var _a;
@@ -292,23 +290,21 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
292
290
  }
293
291
  async initExpressions() {
294
292
  this.loading = true;
295
- if (this.filterLayerExpressions == null)
293
+ if (this.filterLayerExpressions == null || this.view == null)
296
294
  return;
297
- const tmpLE = await this.processExpressions();
295
+ await this.processExpressions();
298
296
  this.loading = false;
299
- this.filterLayerExpressions = [...tmpLE];
300
297
  }
301
298
  async processExpressions() {
302
299
  var _a;
303
300
  if (!this.filterLayerExpressions)
304
- return [];
301
+ return;
305
302
  for (const layerExpression of this.filterLayerExpressions) {
306
303
  for (const expression of layerExpression.expressions || []) {
307
304
  expression.active = (_a = expression.active) !== null && _a !== void 0 ? _a : expression.definitionExpression != null;
308
305
  await this.setInitExpression(layerExpression, expression);
309
306
  }
310
307
  }
311
- return this.filterLayerExpressions;
312
308
  }
313
309
  handleResetFilter() {
314
310
  var _a;
@@ -378,6 +374,8 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
378
374
  }
379
375
  resetAllFilters() {
380
376
  var _a, _b, _c, _d, _e;
377
+ if (this.initDefExpressions == null)
378
+ return;
381
379
  const allLayersAndTables = (_c = (_b = (_a = this.view) === null || _a === void 0 ? void 0 : _a.map) === null || _b === void 0 ? void 0 : _b.allLayers) === null || _c === void 0 ? void 0 : _c.concat((_e = (_d = this.view) === null || _d === void 0 ? void 0 : _d.map) === null || _e === void 0 ? void 0 : _e.allTables);
382
380
  allLayersAndTables === null || allLayersAndTables === void 0 ? void 0 : allLayersAndTables.forEach(layer => {
383
381
  var _a, _b;
@@ -479,18 +477,19 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
479
477
  }
480
478
  return false;
481
479
  }
482
- updateCodedValueExpression(expression, layerField) {
480
+ async updateCodedValueExpression(layerExpression, expression, layerField) {
483
481
  var _a, _b;
484
482
  if (!(layerField === null || layerField === void 0 ? void 0 : layerField.domain) || ((_a = layerField === null || layerField === void 0 ? void 0 : layerField.domain) === null || _a === void 0 ? void 0 : _a.type) !== 'coded-value') {
485
483
  return false;
486
484
  }
485
+ const layer = this.findFilterLayer(layerExpression);
486
+ await this.getFeatureAttributes(layer, expression);
487
487
  const domain = layerField.domain;
488
488
  const codedValuesMap = domain.codedValues.reduce((acc, { code, name }) => {
489
489
  acc[code] = name;
490
490
  return acc;
491
491
  }, {});
492
492
  expression.codedValues = codedValuesMap;
493
- expression.fields = Object.keys(codedValuesMap);
494
493
  if ((_b = expression.selectedFields) === null || _b === void 0 ? void 0 : _b.length) {
495
494
  const selectedFieldsExpression = expression.selectedFields.map((field) => (typeof field === 'number' ? field : `'${handleSingleQuote(field)}'`)).join(',');
496
495
  expression.definitionExpression = `${expression.field} IN (${selectedFieldsExpression})`;
@@ -559,7 +558,7 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
559
558
  if (features === null || features === void 0 ? void 0 : features.length) {
560
559
  expression.fields = [...new Set(features)];
561
560
  if (expression.type === 'string') {
562
- expression.fields = expression.fields.sort();
561
+ expression.fields = expression.fields.sort((a, b) => a.localeCompare(b));
563
562
  }
564
563
  else if (expression.type === 'number') {
565
564
  expression.fields = expression.fields.sort((a, b) => a - b);
@@ -588,8 +587,15 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
588
587
  expression.fields.push(...features);
589
588
  }
590
589
  });
591
- expression.fields = [...new Set(expression.fields)].sort();
592
- this.filterLayerExpressions = [...this.filterLayerExpressions];
590
+ if (expression.type === 'string') {
591
+ expression.fields = [...new Set(expression.fields)].sort((a, b) => a.localeCompare(b));
592
+ }
593
+ else if (expression.type === 'number') {
594
+ expression.fields = [...new Set(expression.fields)].sort((a, b) => a - b);
595
+ }
596
+ else {
597
+ expression.fields = [...new Set(expression.fields)].sort();
598
+ }
593
599
  });
594
600
  }
595
601
  async queryForFeatures(layer, query, field) {
@@ -672,13 +678,14 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
672
678
  case 'number':
673
679
  return await this.updateNumberExpression(layerExpression, expression);
674
680
  case 'date':
675
- return this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
681
+ return await this.updateDateExpressionBasedOnDisplayOption(layerExpression, expression);
676
682
  case 'coded-value':
677
- return this.updateCodedValueExpression(expression, layerField);
683
+ return await this.updateCodedValueExpression(layerExpression, expression, layerField);
678
684
  case 'range':
679
- return this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
685
+ return await this.updateRangeExpressionBasedOnDisplayOption(layerExpression, expression, layerField);
680
686
  case 'checkbox':
681
687
  case null:
688
+ case undefined:
682
689
  return (_a = expression.active) !== null && _a !== void 0 ? _a : false;
683
690
  default:
684
691
  return false;
@@ -878,31 +885,9 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
878
885
  this.handleLayerExpressionsUpdate();
879
886
  }
880
887
  async handleLayerExpressionsUpdate() {
881
- if (this.view == null)
882
- return;
883
- const map = this.view.map;
884
- this.initDefExpressions = {};
885
- this.initPointCloudFilters = {};
886
- this.initMapImageExpressions = {};
887
- map.allLayers.concat(map.allTables).forEach(layer => {
888
- if (!supportedTypes.includes(layer.type))
889
- return;
890
- const fl = layer;
891
- if (fl.type === 'point-cloud') {
892
- this.initPointCloudFilters[fl.id] = fl.filters;
893
- }
894
- else if (fl.type === 'map-image') {
895
- this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
896
- acc[sublayer.id] = sublayer.definitionExpression;
897
- return acc;
898
- }, {});
899
- }
900
- else {
901
- this.initDefExpressions[fl.id] = fl.definitionExpression;
902
- }
903
- });
904
- this.initExpressions();
888
+ this.updateInitExpressions();
905
889
  this.handleURLParams();
890
+ this.initExpressions();
906
891
  }
907
892
  async handleZoomTo(layerExpression) {
908
893
  const zoomId = (layerExpression === null || layerExpression === void 0 ? void 0 : layerExpression.sublayerId) ? `#zoom-to-${layerExpression.id}-${layerExpression.sublayerId}` : `#zoom-to-${layerExpression.id}`;
@@ -1073,6 +1058,31 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
1073
1058
  query.geometry = geometry;
1074
1059
  query.spatialRelationship = 'intersects';
1075
1060
  }
1061
+ updateInitExpressions() {
1062
+ if (this.view == null)
1063
+ return;
1064
+ const map = this.view.map;
1065
+ this.initDefExpressions = {};
1066
+ this.initPointCloudFilters = {};
1067
+ this.initMapImageExpressions = {};
1068
+ map.allLayers.concat(map.allTables).forEach(layer => {
1069
+ if (!supportedTypes.includes(layer.type))
1070
+ return;
1071
+ const fl = layer;
1072
+ if (fl.type === 'point-cloud') {
1073
+ this.initPointCloudFilters[fl.id] = fl.filters;
1074
+ }
1075
+ else if (fl.type === 'map-image') {
1076
+ this.initMapImageExpressions[fl.id] = fl.allSublayers.reduce((acc, sublayer) => {
1077
+ acc[sublayer.id] = sublayer.definitionExpression;
1078
+ return acc;
1079
+ }, {});
1080
+ }
1081
+ else {
1082
+ this.initDefExpressions[fl.id] = fl.definitionExpression;
1083
+ }
1084
+ });
1085
+ }
1076
1086
  get el() { return this; }
1077
1087
  static get watchers() { return {
1078
1088
  "view": ["watchViewHandler"],
@@ -1100,7 +1110,6 @@ const InstantAppsFilterList = /*@__PURE__*/ proxyCustomElement(class InstantApps
1100
1110
  "messages": [32],
1101
1111
  "baseClass": [32],
1102
1112
  "disabled": [32],
1103
- "hasLayerExpression": [32],
1104
1113
  "initDefExpressions": [32],
1105
1114
  "initMapImageExpressions": [32],
1106
1115
  "initPointCloudFilters": [32],
@@ -28,7 +28,7 @@ var AlignmentPositions;
28
28
  AlignmentPositions["BottomRight"] = "bottom-right";
29
29
  })(AlignmentPositions || (AlignmentPositions = {}));
30
30
 
31
- const instantAppsLandingPageCss = ":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size);text-align:center}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px;max-width:50%}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}";
31
+ const instantAppsLandingPageCss = ":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size)}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px;max-width:50%}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}";
32
32
  const InstantAppsLandingPageStyle0 = instantAppsLandingPageCss;
33
33
 
34
34
  const CSS = {
@@ -15,7 +15,7 @@ import { d as defineCustomElement$3 } from './icon.js';
15
15
  import { d as defineCustomElement$2 } from './loader.js';
16
16
  import { d as defineCustomElement$1 } from './navigation-user.js';
17
17
 
18
- const instantAppsSignInCss = ":host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}";
18
+ const instantAppsSignInCss = ":host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:\"\";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}";
19
19
  const InstantAppsSignInStyle0 = instantAppsSignInCss;
20
20
 
21
21
  const CSS = {
@@ -81,7 +81,7 @@ const InstantAppsSignIn = /*@__PURE__*/ proxyCustomElement(class InstantAppsSign
81
81
  }
82
82
  renderLandingPageSignIn() {
83
83
  var _a, _b;
84
- return (h("div", { class: CSS.buttonContainer }, h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", onClick: this.landingPageSignIn.bind(this) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.signIn), h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", onClick: this.guestOnClick.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.continueAsGuest)));
84
+ return (h("div", { class: CSS.buttonContainer }, h("calcite-button", { class: CSS.entryButton, scale: "l", onClick: this.landingPageSignIn.bind(this) }, (_a = this.messages) === null || _a === void 0 ? void 0 : _a.signIn), h("calcite-button", { class: CSS.entryButton, scale: "l", appearance: "outline-fill", onClick: this.guestOnClick.bind(this) }, (_b = this.messages) === null || _b === void 0 ? void 0 : _b.continueAsGuest)));
85
85
  }
86
86
  async initSignIn() {
87
87
  if (this.portal == null || this.oauthappid == null)
@@ -35,31 +35,31 @@ let e$a;function has(a){return "function"==typeof e$a[a]?e$a[a]=e$a[a](globalThi
35
35
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
36
36
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
37
37
  */
38
- function o$8(n){return "Int8Array"===n?.constructor?.name}function u$6(n){return "Uint8Array"===n?.constructor?.name}function e$9(n){return "Uint8ClampedArray"===n?.constructor?.name}function c$7(n){return "Int16Array"===n?.constructor?.name}function i$6(n){return "Uint16Array"===n?.constructor?.name}function a$5(n){return "Int32Array"===n?.constructor?.name}function f$5(n){return "Uint32Array"===n?.constructor?.name}function s$6(n){return "Float32Array"===n?.constructor?.name}function m$5(n){return "Float64Array"===n?.constructor?.name}
38
+ function o$8(n){return "Int8Array"===n?.constructor?.name}function u$6(n){return "Uint8Array"===n?.constructor?.name}function e$9(n){return "Uint8ClampedArray"===n?.constructor?.name}function c$6(n){return "Int16Array"===n?.constructor?.name}function i$6(n){return "Uint16Array"===n?.constructor?.name}function a$6(n){return "Int32Array"===n?.constructor?.name}function f$5(n){return "Uint32Array"===n?.constructor?.name}function s$6(n){return "Float32Array"===n?.constructor?.name}function m$5(n){return "Float64Array"===n?.constructor?.name}
39
39
 
40
40
  /*
41
41
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
42
42
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
43
43
  */
44
- function a$4(t){if(!t||"object"!=typeof t||"function"==typeof t)return t;const n=O$2(t);if(null!=n)return n;if(y$4(t))return t.clone();if(m$4(t))return t.map(a$4);if(b$2(t))return t.clone();const e={};for(const r of Object.getOwnPropertyNames(t))e[r]=a$4(t[r]);return e}function y$4(t){return "function"==typeof t.clone}function m$4(t){return "function"==typeof t.map&&"function"==typeof t.forEach}function b$2(t){return "function"==typeof t.notifyChange&&"function"==typeof t.watch}function O$2(t){if(o$8(t)||u$6(t)||e$9(t)||c$7(t)||i$6(t)||a$5(t)||f$5(t)||s$6(t)||m$5(t))return t.slice();if(t instanceof Date)return new Date(t.getTime());if(t instanceof ArrayBuffer){return t.slice(0,t.byteLength)}if(t instanceof Map){const n=new Map;for(const[e,r]of t)n.set(e,a$4(r));return n}if(t instanceof Set){const n=new Set;for(const e of t)n.add(a$4(e));return n}return null}
44
+ function a$5(t){if(!t||"object"!=typeof t||"function"==typeof t)return t;const n=O$2(t);if(null!=n)return n;if(y$4(t))return t.clone();if(m$4(t))return t.map(a$5);if(b$2(t))return t.clone();const e={};for(const r of Object.getOwnPropertyNames(t))e[r]=a$5(t[r]);return e}function y$4(t){return "function"==typeof t.clone}function m$4(t){return "function"==typeof t.map&&"function"==typeof t.forEach}function b$2(t){return "function"==typeof t.notifyChange&&"function"==typeof t.watch}function O$2(t){if(o$8(t)||u$6(t)||e$9(t)||c$6(t)||i$6(t)||a$6(t)||f$5(t)||s$6(t)||m$5(t))return t.slice();if(t instanceof Date)return new Date(t.getTime());if(t instanceof ArrayBuffer){return t.slice(0,t.byteLength)}if(t instanceof Map){const n=new Map;for(const[e,r]of t)n.set(e,a$5(r));return n}if(t instanceof Set){const n=new Set;for(const e of t)n.add(a$5(e));return n}return null}
45
45
 
46
46
  /*
47
47
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
48
48
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
49
49
  */
50
- function n$7(r,n,t=!1){return f$4(r,n,t)}function t$4(r,n){if(null!=n)return n[r]||u$5(r.split("."),!1,n)}function u$5(r,n,t){let e=t;for(const i of r){if(null==e)return;if(!(i in e)){if(!n)return;e[i]={};}e=e[i];}return e}function f$4(n,t,e){return t?Object.keys(t).reduce(((n,i)=>{let u=n[i],l=t[i];return u===l?n:void 0===u?(n[i]=a$4(l),n):(Array.isArray(l)||Array.isArray(n)?(u=u?Array.isArray(u)?n[i]=u.slice():n[i]=[u]:n[i]=[],l&&(Array.isArray(l)||(l=[l]),e?l.forEach((r=>{u.includes(r)||u.push(r);})):n[i]=l.slice())):l&&"object"==typeof l?n[i]=f$4(u,l,e):n.hasOwnProperty(i)&&!t.hasOwnProperty(i)||(n[i]=l),n)}),n||{}):n}
50
+ function n$7(r,n,t=!1){return f$4(r,n,t)}function t$4(r,n){if(null!=n)return n[r]||u$5(r.split("."),!1,n)}function u$5(r,n,t){let e=t;for(const i of r){if(null==e)return;if(!(i in e)){if(!n)return;e[i]={};}e=e[i];}return e}function f$4(n,t,e){return t?Object.keys(t).reduce(((n,i)=>{let u=n[i],l=t[i];return u===l?n:void 0===u?(n[i]=a$5(l),n):(Array.isArray(l)||Array.isArray(n)?(u=u?Array.isArray(u)?n[i]=u.slice():n[i]=[u]:n[i]=[],l&&(Array.isArray(l)||(l=[l]),e?l.forEach((r=>{u.includes(r)||u.push(r);})):n[i]=l.slice())):l&&"object"==typeof l?n[i]=f$4(u,l,e):n.hasOwnProperty(i)&&!t.hasOwnProperty(i)||(n[i]=l),n)}),n||{}):n}
51
51
 
52
52
  /*
53
53
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
54
54
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
55
55
  */
56
- const c$6="20241016";
56
+ const a$4="20241101";
57
57
 
58
58
  /*
59
59
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
60
60
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
61
61
  */
62
- const s$5={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:6e4,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(n$7(s$5,globalThis.esriConfig,!0),delete s$5.has),!s$5.assetsPath){{const e="4.31.0";s$5.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}-next.${c$6}/assets`;}s$5.defaultAssetsPath=s$5.assetsPath;}
62
+ const s$5={apiKey:void 0,applicationName:"",applicationUrl:globalThis.location?.href,assetsPath:"",fontsUrl:"https://static.arcgis.com/fonts",geometryServiceUrl:"https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer",geoRSSServiceUrl:"https://utility.arcgis.com/sharing/rss",kmlServiceUrl:"https://utility.arcgis.com/sharing/kml",userPrivilegesApplied:!0,portalUrl:"https://www.arcgis.com",respectPrefersReducedMotion:!0,routeServiceUrl:"https://route-api.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",workers:{loaderConfig:{has:{},paths:{},map:{},packages:[]}},request:{crossOriginNoCorsDomains:null,httpsDomains:["arcgis.com","arcgisonline.com","esrikr.com","premiumservices.blackbridge.com","esripremium.accuweather.com","gbm.digitalglobe.com","firstlook.digitalglobe.com","msi.digitalglobe.com"],interceptors:[],internalInterceptors:[],maxUrlLength:2e3,priority:"high",proxyRules:[],proxyUrl:null,timeout:62e3,trustedServers:[],useIdentity:!0},log:{interceptors:[],level:null}};if(globalThis.esriConfig&&(n$7(s$5,globalThis.esriConfig,!0),delete s$5.has),!s$5.assetsPath){{const e="4.31.0";s$5.assetsPath=`https://cdn.jsdelivr.net/npm/@arcgis/core@${e}-next.${a$4}/assets`;}s$5.defaultAssetsPath=s$5.assetsPath;}
63
63
 
64
64
  /*
65
65
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
@@ -83,7 +83,7 @@ function s$4(s,e){return s.replaceAll(/\$\{([^\s:}]*)(?::([^\s:}]+))?\}/g,((s,r)
83
83
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.
84
84
  See https://js.arcgis.com/4.31/esri/copyright.txt for details.
85
85
  */
86
- class s$3 extends e$8{constructor(e,t,r){super(e,t,r);}toJSON(){if(null!=this.details)try{return {name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((t,r)=>{if(r&&"object"==typeof r&&"function"==typeof r.toJSON)return r;try{return a$4(r)}catch(s){return "[object]"}})))}}catch(r){throw n$6.getLogger("esri.core.Error").error(r),r}return {name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new s$3(e.name,e.message,e.details)}}s$3.prototype.type="error";
86
+ class s$3 extends e$8{constructor(e,t,r){super(e,t,r);}toJSON(){if(null!=this.details)try{return {name:this.name,message:this.message,details:JSON.parse(JSON.stringify(this.details,((t,r)=>{if(r&&"object"==typeof r&&"function"==typeof r.toJSON)return r;try{return a$5(r)}catch(s){return "[object]"}})))}}catch(r){throw n$6.getLogger("esri.core.Error").error(r),r}return {name:this.name,message:this.message,details:this.details}}static fromJSON(e){return new s$3(e.name,e.message,e.details)}}s$3.prototype.type="error";
87
87
 
88
88
  /*
89
89
  All material copyright ESRI, All Rights Reserved, unless otherwise specified.