@esri/solutions-components 0.10.40 → 0.10.42

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. package/dist/cjs/calcite-block_5.cjs.entry.js +75 -65
  2. package/dist/cjs/card-manager_3.cjs.entry.js +11 -12
  3. package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -3
  4. package/dist/cjs/crowdsource-reporter.cjs.entry.js +4 -5
  5. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +1 -1
  6. package/dist/cjs/instant-apps-export.cjs.entry.js +5 -1
  7. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  8. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  9. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +6 -6
  10. package/dist/cjs/loader.cjs.js +1 -1
  11. package/dist/cjs/solutions-components.cjs.js +1 -1
  12. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +4 -3
  13. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +4 -5
  14. package/dist/collection/components/layer-table/layer-table.js +14 -11
  15. package/dist/collection/components/map-card/map-card.js +9 -5
  16. package/dist/components/crowdsource-manager.js +4 -3
  17. package/dist/components/crowdsource-reporter.js +4 -5
  18. package/dist/components/instant-apps-app-guide.js +1 -1
  19. package/dist/components/instant-apps-export.js +5 -1
  20. package/dist/components/instant-apps-filter-list2.js +75 -66
  21. package/dist/components/instant-apps-landing-page.js +1 -1
  22. package/dist/components/instant-apps-sign-in2.js +2 -2
  23. package/dist/components/instant-apps-time-filter.js +6 -6
  24. package/dist/components/layer-table2.js +8 -9
  25. package/dist/components/map-card2.js +3 -3
  26. package/dist/esm/calcite-block_5.entry.js +75 -65
  27. package/dist/esm/card-manager_3.entry.js +11 -12
  28. package/dist/esm/crowdsource-manager.entry.js +4 -3
  29. package/dist/esm/crowdsource-reporter.entry.js +4 -5
  30. package/dist/esm/instant-apps-app-guide.entry.js +1 -1
  31. package/dist/esm/instant-apps-export.entry.js +5 -1
  32. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  33. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  34. package/dist/esm/instant-apps-time-filter.entry.js +6 -6
  35. package/dist/esm/loader.js +1 -1
  36. package/dist/esm/solutions-components.js +1 -1
  37. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-app-guide/instant-apps-app-guide.css +1 -1
  38. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-landing-page/instant-apps-landing-page.css +43 -26
  39. package/dist/node_modules/@esri/instant-apps-components/dist/collection/components/instant-apps-sign-in/instant-apps-sign-in.css +6 -0
  40. package/dist/solutions-components/p-442dd59c.entry.js +6 -0
  41. package/dist/solutions-components/p-523dcf4b.entry.js +6 -0
  42. package/dist/solutions-components/{p-6d1922cc.entry.js → p-8b92fe23.entry.js} +1 -1
  43. package/dist/solutions-components/p-8f8c7045.entry.js +6 -0
  44. package/dist/solutions-components/p-953afbb3.entry.js +29 -0
  45. package/dist/solutions-components/p-a1d8aed8.entry.js +6 -0
  46. package/dist/solutions-components/{p-bb8b1ee2.entry.js → p-a2cf9fdc.entry.js} +1 -1
  47. package/dist/solutions-components/p-a7f56b28.entry.js +6 -0
  48. package/dist/solutions-components/p-e4107150.entry.js +6 -0
  49. package/dist/solutions-components/solutions-components.esm.js +1 -1
  50. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +1 -1
  51. package/dist/types/components/layer-table/layer-table.d.ts +2 -2
  52. package/dist/types/components/map-card/map-card.d.ts +1 -1
  53. package/dist/types/components.d.ts +2 -2
  54. package/package.json +4 -4
  55. package/dist/solutions-components/p-5b3c0418.entry.js +0 -6
  56. package/dist/solutions-components/p-750b3277.entry.js +0 -6
  57. package/dist/solutions-components/p-8779ee41.entry.js +0 -6
  58. package/dist/solutions-components/p-ca3cbd29.entry.js +0 -6
  59. package/dist/solutions-components/p-cced387c.entry.js +0 -6
  60. package/dist/solutions-components/p-e1391389.entry.js +0 -29
  61. package/dist/solutions-components/p-e9026f9a.entry.js +0 -6
@@ -543,9 +543,10 @@ export class CrowdsourceManager {
543
543
  return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.filter?.replace("{{title}}", this._layer?.title)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => {
544
544
  this._handleFilterListReset();
545
545
  void this._mapCard.resetFilter();
546
- }, onFilterUpdate: () => {
547
- void this._layerTable?.filterUpdate();
548
- void this._mapCard.updateFilterState();
546
+ }, onFilterUpdate: async () => {
547
+ const active = this._filterList.filterCount > 0;
548
+ await this._layerTable?.filterUpdate(active);
549
+ await this._mapCard.updateFilterState(active);
549
550
  }, ref: (el) => this._filterList = el, view: this._mapView, zoomBtn: false }))));
550
551
  }
551
552
  /**
@@ -473,11 +473,10 @@ export class CrowdsourceReporter {
473
473
  * Check if the layers definitionExpression has been modified and update the feature list depending on the applied filters
474
474
  * @protected
475
475
  */
476
- async _handleFilterUpdate() {
476
+ async _handleFilterUpdate(active) {
477
477
  this._showLoadingIndicator = true;
478
- //if filter are applied the url params will be generated
479
- //set the filter active state based on the length of applied filters
480
- this._filterActive = this._filterList.urlParams.getAll('filter').length > 0;
478
+ //if filters are applied the url params will be generated
479
+ this._filterActive = active;
481
480
  this._filterUrlParams = this._filterList.urlParams.getAll('filter');
482
481
  await this._featureList.refresh();
483
482
  this._showLoadingIndicator = false;
@@ -869,7 +868,7 @@ export class CrowdsourceReporter {
869
868
  */
870
869
  getFilterPanel() {
871
870
  const currentLayersExpressions = this.layerExpressions ? this.layerExpressions.filter((exp) => exp.id === this._selectedLayerId) : [];
872
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
871
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(this._filterList.filterCount > 0), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
873
872
  }
874
873
  /**
875
874
  * Returns the calcite-flow item for feature details
@@ -395,8 +395,8 @@ export class LayerTable {
395
395
  /**
396
396
  * Updates the filter
397
397
  */
398
- async filterUpdate() {
399
- await this._handleFilterUpdate();
398
+ async filterUpdate(active) {
399
+ await this._handleFilterUpdate(active);
400
400
  }
401
401
  /**
402
402
  * Closes the filter
@@ -538,10 +538,10 @@ export class LayerTable {
538
538
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
539
539
  const showSearch = this._canShowFullTextSearch();
540
540
  this._validateActiveActions();
541
- return (h(Host, { key: '5cbb5ba55c63eaf278666aac034a01d971d9f12a' }, h("calcite-shell", { key: '8a27d87fc002b72fe478d25885b2ab04261362ca' }, this._getTableControlRow("header"), h("div", { key: '250c356a30389b8cb95628953f3bb3ec5c88361d', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: '9d5dbb084031bdface1dbc3a1dbc2fa33eb163b5', class: "height-full width-full" }, showSearch &&
542
- h("div", { key: '2d45ae4255a1d0e3cf14aa0f6a01915a38626bc7', class: "search-container" }, h("calcite-input", { key: 'c73546fef30db70d01cf8978a5daf9ea4193ddc2', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: '61621afb1e5fa67e25b878320c8497200b8265cd', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '0ef4fe0e4099ec60f4c38e2c421920c9a8fe3c4f', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
541
+ return (h(Host, { key: 'f56462fd5d5afa71052cf2557069bb2fee15aaeb' }, h("calcite-shell", { key: '92ccfa2235269aad6da5f918f79ec8ae100e99ca' }, this._getTableControlRow("header"), h("div", { key: 'e5b8fe5e4236e1a7b7e9d31ad784d9bb52a6918d', class: `width-full ${tableHeightClass}` }, h("calcite-panel", { key: 'eca933d832e5b6efddb025211c253bf09e41ab22', class: "height-full width-full" }, showSearch &&
542
+ h("div", { key: 'e819896c4264db3ee95d10194b67da65997b541d', class: "search-container" }, h("calcite-input", { key: 'e979c7962205caf072057332280b9e04ecd233c4', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), h("calcite-loader", { key: 'ee715472a4f819dd1e9328e75022439e9bba1334', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), h("div", { key: '8085821dea31de1fcbb1119e5791c0dea744e470', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
543
543
  .replace("{{total}}", total)
544
- .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), h("delete-dialog", { key: 'e2564b1d08476f762577247ffb41a00e5c41514c', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
544
+ .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal(), h("delete-dialog", { key: '20c9a06c3f0d44433d9442755d25658c249e102c', id: "deleteDialogId", ids: this._getIds(), layer: this._layer, locale: this.locale, onDeleteDialogClose: () => this._deleteDialogOpen = false, open: this._deleteDialogOpen, ref: (el) => this._deleteDialog = el })));
545
545
  }
546
546
  _deleteDialog;
547
547
  /**
@@ -1586,7 +1586,7 @@ export class LayerTable {
1586
1586
  * @protected
1587
1587
  */
1588
1588
  _filterModal() {
1589
- return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.filter?.replace("{{title}}", this._layer?.title)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => void this._handleFilterListReset(), onFilterUpdate: () => void this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
1589
+ return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.filter?.replace("{{title}}", this._layer?.title)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => void this._handleFilterListReset(), onFilterUpdate: () => void this._handleFilterUpdate(this._filterList.filterCount > 0), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
1590
1590
  }
1591
1591
  /**
1592
1592
  * Reset the filter active prop
@@ -1601,7 +1601,7 @@ export class LayerTable {
1601
1601
  * Check if the layers definitionExpression has been modified
1602
1602
  * @protected
1603
1603
  */
1604
- async _handleFilterUpdate() {
1604
+ async _handleFilterUpdate(active) {
1605
1605
  const defExp = this._layer.definitionExpression;
1606
1606
  if (this._floorExpression) {
1607
1607
  const regEx = new RegExp(`${this._floorField} = ['].+[']`, "gm");
@@ -1609,8 +1609,7 @@ export class LayerTable {
1609
1609
  defExp.replace(regEx, this._floorExpression) : defExp ?
1610
1610
  `${defExp} AND (${this._floorExpression})` : this._floorExpression;
1611
1611
  }
1612
- this._filterActive = this._definitionExpression !== this._layer.definitionExpression &&
1613
- (this._floorExpression ? this._layer.definitionExpression !== this._floorExpression : true);
1612
+ this._filterActive = active;
1614
1613
  this._updateShareUrl();
1615
1614
  await this._searchFullText();
1616
1615
  }
@@ -2375,8 +2374,12 @@ export class LayerTable {
2375
2374
  },
2376
2375
  "filterUpdate": {
2377
2376
  "complexType": {
2378
- "signature": "() => Promise<void>",
2379
- "parameters": [],
2377
+ "signature": "(active: boolean) => Promise<void>",
2378
+ "parameters": [{
2379
+ "name": "active",
2380
+ "type": "boolean",
2381
+ "docs": ""
2382
+ }],
2380
2383
  "references": {
2381
2384
  "Promise": {
2382
2385
  "location": "global",
@@ -266,8 +266,8 @@ export class MapCard {
266
266
  /**
267
267
  * updates the filter
268
268
  */
269
- async updateFilterState() {
270
- this._filterActive = this._definitionExpression !== this.selectedLayer.definitionExpression;
269
+ async updateFilterState(active) {
270
+ this._filterActive = active;
271
271
  this._updateShareUrl();
272
272
  }
273
273
  /**
@@ -344,7 +344,7 @@ export class MapCard {
344
344
  const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
345
345
  const progressClass = this.isMapLayout ? "" : "display-none";
346
346
  this._validateActiveActions();
347
- return (h(Host, { key: '0b617eeb40229e49a32f5e4a557bfa0f88588fae' }, h("div", { key: 'd93aa32cd31279e468e4570af231a3f3788b9897', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), h("calcite-progress", { key: '0ac01b19752ded5ddf0b06723b30fa669b2f6933', class: progressClass, value: 0 }), h("div", { key: '256bc38d71e3de4ab7ba7328ce12c32fa9ef0d2b', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: 'e86f179871e8b315ff8d6ecb87545d9af8222590', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
347
+ return (h(Host, { key: '525ee5ce855cf5aa4f8c50e7e88be6c6236046ac' }, h("div", { key: '899898ee0b2ba9048ed24716a339c94d3106a52e', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), h("calcite-progress", { key: '896569eb6cf65f45cbebb4b36f5b01ada5ed1092', class: progressClass, value: 0 }), h("div", { key: '79cac798541783bdc74e4b13f9df4d7564eb99f4', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { key: '730d48c4ce98af3872bfa6c486e8749e18c24477', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
348
348
  }
349
349
  /**
350
350
  * Called each time after the component is loaded
@@ -1662,8 +1662,12 @@ export class MapCard {
1662
1662
  },
1663
1663
  "updateFilterState": {
1664
1664
  "complexType": {
1665
- "signature": "() => Promise<void>",
1666
- "parameters": [],
1665
+ "signature": "(active: boolean) => Promise<void>",
1666
+ "parameters": [{
1667
+ "name": "active",
1668
+ "type": "boolean",
1669
+ "docs": ""
1670
+ }],
1667
1671
  "references": {
1668
1672
  "Promise": {
1669
1673
  "location": "global",
@@ -591,9 +591,10 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
591
591
  return (h("calcite-modal", { "aria-labelledby": "modal-title", class: "modal", kind: "brand", onCalciteModalClose: () => void this._closeFilter(), open: this._filterOpen, widthScale: "s" }, h("div", { class: "display-flex align-center", id: "modal-title", slot: "header" }, this._translations?.filter?.replace("{{title}}", this._layer?.title)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: this._layerExpressions, onFilterListReset: () => {
592
592
  this._handleFilterListReset();
593
593
  void this._mapCard.resetFilter();
594
- }, onFilterUpdate: () => {
595
- void this._layerTable?.filterUpdate();
596
- void this._mapCard.updateFilterState();
594
+ }, onFilterUpdate: async () => {
595
+ const active = this._filterList.filterCount > 0;
596
+ await this._layerTable?.filterUpdate(active);
597
+ await this._mapCard.updateFilterState(active);
597
598
  }, ref: (el) => this._filterList = el, view: this._mapView, zoomBtn: false }))));
598
599
  }
599
600
  /**
@@ -508,11 +508,10 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
508
508
  * Check if the layers definitionExpression has been modified and update the feature list depending on the applied filters
509
509
  * @protected
510
510
  */
511
- async _handleFilterUpdate() {
511
+ async _handleFilterUpdate(active) {
512
512
  this._showLoadingIndicator = true;
513
- //if filter are applied the url params will be generated
514
- //set the filter active state based on the length of applied filters
515
- this._filterActive = this._filterList.urlParams.getAll('filter').length > 0;
513
+ //if filters are applied the url params will be generated
514
+ this._filterActive = active;
516
515
  this._filterUrlParams = this._filterList.urlParams.getAll('filter');
517
516
  await this._featureList.refresh();
518
517
  this._showLoadingIndicator = false;
@@ -904,7 +903,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
904
903
  */
905
904
  getFilterPanel() {
906
905
  const currentLayersExpressions = this.layerExpressions ? this.layerExpressions.filter((exp) => exp.id === this._selectedLayerId) : [];
907
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
906
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("div", { class: "width-full", slot: "footer" }, h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: () => { void this._filterList?.forceReset(); }, width: "full" }, this._translations.resetFilter), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), h("calcite-panel", { "full-height": true }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(this._filterList.filterCount > 0), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
908
907
  }
909
908
  /**
910
909
  * Returns the calcite-flow item for feature details
@@ -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)