@esri/solutions-components 0.8.7 → 0.8.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (121) hide show
  1. package/dist/assets/t9n/crowdsource-reporter/resources.json +3 -1
  2. package/dist/assets/t9n/crowdsource-reporter/resources_en.json +3 -1
  3. package/dist/cjs/{calcite-action-menu_2.cjs.entry.js → calcite-action-menu_3.cjs.entry.js} +114 -7
  4. package/dist/cjs/calcite-alert_4.cjs.entry.js +46 -5
  5. package/dist/cjs/{calcite-input-date-picker_3.cjs.entry.js → calcite-block_5.cjs.entry.js} +691 -13
  6. package/dist/cjs/{calcite-combobox_5.cjs.entry.js → calcite-combobox_3.cjs.entry.js} +876 -844
  7. package/dist/cjs/calcite-dropdown_4.cjs.entry.js +1023 -0
  8. package/dist/cjs/{calcite-flow_5.cjs.entry.js → calcite-flow_6.cjs.entry.js} +327 -2
  9. package/dist/cjs/card-manager_3.cjs.entry.js +5 -5
  10. package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -1
  11. package/dist/cjs/crowdsource-reporter.cjs.entry.js +122 -23
  12. package/dist/cjs/{downloadUtils-8b05d7cc.js → downloadUtils-dc349b1a.js} +2 -2
  13. package/dist/cjs/{index.es-e7587227.js → index.es-1830a1e6.js} +2 -2
  14. package/dist/cjs/loader.cjs.js +1 -1
  15. package/dist/cjs/map-select-tools_3.cjs.entry.js +8 -8
  16. package/dist/cjs/{mapViewUtils-3e0fa457.js → mapViewUtils-9dc05308.js} +11 -5
  17. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  18. package/dist/cjs/solutions-components.cjs.js +1 -1
  19. package/dist/collection/collection-manifest.json +1 -0
  20. package/dist/collection/components/create-feature/create-feature.js +18 -0
  21. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +72 -0
  22. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +16 -0
  23. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +155 -71
  24. package/dist/collection/components/feature-details/feature-details.css +18 -0
  25. package/dist/collection/components/feature-details/feature-details.js +500 -0
  26. package/dist/collection/components/feature-details/test/feature-details.e2e.js +14 -0
  27. package/dist/collection/components/feature-details/test/feature-details.spec.js +22 -0
  28. package/dist/collection/components/feature-list/feature-list.js +14 -1
  29. package/dist/collection/components/info-card/info-card.css +15 -5
  30. package/dist/collection/components/info-card/info-card.js +178 -5
  31. package/dist/collection/components/layer-table/layer-table.js +2 -2
  32. package/dist/collection/components/map-card/map-card.js +1 -1
  33. package/dist/collection/components/map-select-tools/map-select-tools.js +5 -5
  34. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  35. package/dist/collection/demos/crowdsource-reporter.html +115 -1
  36. package/dist/collection/utils/interfaces.ts +4 -4
  37. package/dist/collection/utils/mapViewUtils.js +11 -5
  38. package/dist/collection/utils/mapViewUtils.ts +13 -5
  39. package/dist/components/create-feature2.js +4 -0
  40. package/dist/components/crowdsource-manager.js +8 -0
  41. package/dist/components/crowdsource-reporter.js +270 -85
  42. package/dist/components/feature-details.d.ts +11 -0
  43. package/dist/components/feature-details.js +11 -0
  44. package/dist/components/feature-details2.js +449 -0
  45. package/dist/components/feature-list2.js +14 -1
  46. package/dist/components/info-card2.js +53 -5
  47. package/dist/components/layer-table2.js +2 -2
  48. package/dist/components/map-card2.js +1 -1
  49. package/dist/components/map-select-tools2.js +5 -5
  50. package/dist/components/mapViewUtils.js +11 -5
  51. package/dist/components/refine-selection2.js +1 -1
  52. package/dist/esm/{calcite-action-menu_2.entry.js → calcite-action-menu_3.entry.js} +118 -12
  53. package/dist/esm/calcite-alert_4.entry.js +46 -5
  54. package/dist/esm/{calcite-input-date-picker_3.entry.js → calcite-block_5.entry.js} +688 -12
  55. package/dist/esm/{calcite-combobox_5.entry.js → calcite-combobox_3.entry.js} +878 -844
  56. package/dist/esm/calcite-date-picker-day_3.entry.js +1 -1
  57. package/dist/esm/calcite-dropdown_4.entry.js +1016 -0
  58. package/dist/esm/{calcite-flow_5.entry.js → calcite-flow_6.entry.js} +327 -3
  59. package/dist/esm/card-manager_3.entry.js +5 -5
  60. package/dist/esm/crowdsource-manager.entry.js +5 -1
  61. package/dist/esm/crowdsource-reporter.entry.js +122 -23
  62. package/dist/esm/{date-5630530d.js → date-0c026a8b.js} +1 -1
  63. package/dist/esm/{downloadUtils-0c1e4d7b.js → downloadUtils-df4f21f6.js} +2 -2
  64. package/dist/esm/{index.es-286e3cfa.js → index.es-904fb846.js} +2 -2
  65. package/dist/esm/loader.js +1 -1
  66. package/dist/esm/map-select-tools_3.entry.js +8 -8
  67. package/dist/esm/{mapViewUtils-253178f1.js → mapViewUtils-2ec19fb0.js} +11 -5
  68. package/dist/esm/public-notification.entry.js +2 -2
  69. package/dist/esm/solutions-components.js +1 -1
  70. package/dist/solutions-components/demos/crowdsource-reporter.html +115 -1
  71. package/dist/solutions-components/{p-813fd8a4.entry.js → p-29f518fd.entry.js} +2 -2
  72. package/dist/solutions-components/p-452fd697.entry.js +6 -0
  73. package/dist/solutions-components/p-511b1c91.entry.js +23 -0
  74. package/dist/solutions-components/p-577efb16.js +36 -0
  75. package/dist/solutions-components/{p-94de9279.js → p-5817d78c.js} +1 -1
  76. package/dist/solutions-components/p-602cd811.entry.js +17 -0
  77. package/dist/solutions-components/{p-15f9624a.entry.js → p-6557b703.entry.js} +1 -1
  78. package/dist/solutions-components/p-7269c49b.entry.js +6 -0
  79. package/dist/solutions-components/p-760bd17e.entry.js +6 -0
  80. package/dist/solutions-components/p-95fea07a.entry.js +17 -0
  81. package/dist/solutions-components/{p-212b02e7.js → p-ae4d86e8.js} +1 -1
  82. package/dist/solutions-components/{p-038fcd93.entry.js → p-c273ab7a.entry.js} +1 -1
  83. package/dist/solutions-components/p-d742b915.entry.js +29 -0
  84. package/dist/solutions-components/p-dfad61a8.entry.js +24 -0
  85. package/dist/solutions-components/{p-331b5d1e.js → p-fca434c8.js} +2 -2
  86. package/dist/solutions-components/p-fd82a00f.entry.js +6 -0
  87. package/dist/solutions-components/solutions-components.esm.js +1 -1
  88. package/dist/solutions-components/utils/interfaces.ts +4 -4
  89. package/dist/solutions-components/utils/mapViewUtils.ts +13 -5
  90. package/dist/types/components/create-feature/create-feature.d.ts +4 -4
  91. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +16 -0
  92. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +91 -18
  93. package/dist/types/components/feature-details/feature-details.d.ts +151 -0
  94. package/dist/types/components/feature-list/feature-list.d.ts +6 -0
  95. package/dist/types/components/info-card/info-card.d.ts +33 -1
  96. package/dist/types/components.d.ts +161 -28
  97. package/dist/types/preact.d.ts +6 -1
  98. package/dist/types/utils/interfaces.d.ts +4 -4
  99. package/dist/types/utils/mapViewUtils.d.ts +5 -3
  100. package/package.json +1 -1
  101. package/dist/cjs/calcite-block_2.cjs.entry.js +0 -652
  102. package/dist/cjs/calcite-graph_2.cjs.entry.js +0 -1055
  103. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -125
  104. package/dist/cjs/utils-7bc7f595.js +0 -64
  105. package/dist/esm/calcite-block_2.entry.js +0 -647
  106. package/dist/esm/calcite-graph_2.entry.js +0 -1050
  107. package/dist/esm/calcite-scrim.entry.js +0 -121
  108. package/dist/esm/utils-9fb4104a.js +0 -61
  109. package/dist/solutions-components/p-04c37d69.entry.js +0 -17
  110. package/dist/solutions-components/p-0b92e4b1.entry.js +0 -11
  111. package/dist/solutions-components/p-238d3b5f.entry.js +0 -6
  112. package/dist/solutions-components/p-3af79063.js +0 -36
  113. package/dist/solutions-components/p-6db185bf.entry.js +0 -6
  114. package/dist/solutions-components/p-80b11ec1.entry.js +0 -17
  115. package/dist/solutions-components/p-aec06ce4.entry.js +0 -18
  116. package/dist/solutions-components/p-bfdf89c2.js +0 -11
  117. package/dist/solutions-components/p-c4ff3b52.entry.js +0 -17
  118. package/dist/solutions-components/p-ced067bd.entry.js +0 -17
  119. package/dist/solutions-components/p-d136eab0.entry.js +0 -23
  120. package/dist/solutions-components/p-e0446d5b.entry.js +0 -6
  121. package/dist/solutions-components/p-e8f13354.entry.js +0 -6
@@ -8,39 +8,53 @@ import { g as getLocaleComponentStrings } from './locale.js';
8
8
  import { l as loadModules } from './loadModules.js';
9
9
  import { a as getAllLayers, e as getFeatureLayerView, h as highlightFeatures, c as getMapLayerHash, g as getLayerOrTable } from './mapViewUtils.js';
10
10
  import { q as queryFeaturesByID } from './queryUtils.js';
11
- import { d as defineCustomElement$w } from './action.js';
12
- import { d as defineCustomElement$v } from './action-menu.js';
13
- import { d as defineCustomElement$u } from './alert.js';
14
- import { d as defineCustomElement$t } from './button.js';
15
- import { d as defineCustomElement$s } from './chip.js';
16
- import { d as defineCustomElement$r } from './filter2.js';
17
- import { d as defineCustomElement$q } from './flow.js';
18
- import { d as defineCustomElement$p } from './flow-item.js';
19
- import { d as defineCustomElement$o } from './handle.js';
20
- import { d as defineCustomElement$n } from './icon.js';
21
- import { d as defineCustomElement$m } from './input.js';
22
- import { d as defineCustomElement$l } from './list.js';
23
- import { d as defineCustomElement$k } from './list-item.js';
24
- import { d as defineCustomElement$j } from './loader.js';
25
- import { d as defineCustomElement$i } from './modal.js';
26
- import { d as defineCustomElement$h } from './notice.js';
27
- import { d as defineCustomElement$g } from './pagination.js';
28
- import { d as defineCustomElement$f } from './panel.js';
29
- import { d as defineCustomElement$e } from './popover.js';
30
- import { d as defineCustomElement$d } from './progress.js';
31
- import { d as defineCustomElement$c } from './scrim.js';
32
- import { d as defineCustomElement$b } from './shell.js';
33
- import { d as defineCustomElement$a } from './stack.js';
34
- import { d as defineCustomElement$9 } from './tooltip.js';
35
- import { d as defineCustomElement$8 } from './create-feature2.js';
36
- import { d as defineCustomElement$7 } from './delete-button2.js';
37
- import { d as defineCustomElement$6 } from './edit-card2.js';
38
- import { d as defineCustomElement$5 } from './feature-list2.js';
39
- import { d as defineCustomElement$4 } from './info-card2.js';
11
+ import { d as defineCustomElement$K } from './action.js';
12
+ import { d as defineCustomElement$J } from './action-menu.js';
13
+ import { d as defineCustomElement$I } from './alert.js';
14
+ import { d as defineCustomElement$H } from './block.js';
15
+ import { d as defineCustomElement$G } from './button.js';
16
+ import { d as defineCustomElement$F } from './checkbox.js';
17
+ import { d as defineCustomElement$E } from './chip.js';
18
+ import { d as defineCustomElement$D } from './combobox.js';
19
+ import { d as defineCustomElement$C } from './combobox-item.js';
20
+ import { d as defineCustomElement$B } from './date-picker.js';
21
+ import { d as defineCustomElement$A } from './date-picker-day.js';
22
+ import { d as defineCustomElement$z } from './date-picker-month.js';
23
+ import { d as defineCustomElement$y } from './date-picker-month-header.js';
24
+ import { d as defineCustomElement$x } from './filter2.js';
25
+ import { d as defineCustomElement$w } from './flow.js';
26
+ import { d as defineCustomElement$v } from './flow-item.js';
27
+ import { d as defineCustomElement$u } from './graph.js';
28
+ import { d as defineCustomElement$t } from './handle.js';
29
+ import { d as defineCustomElement$s } from './icon.js';
30
+ import { d as defineCustomElement$r } from './input.js';
31
+ import { d as defineCustomElement$q } from './input-date-picker.js';
32
+ import { d as defineCustomElement$p } from './input-text.js';
33
+ import { d as defineCustomElement$o } from './list.js';
34
+ import { d as defineCustomElement$n } from './list-item.js';
35
+ import { d as defineCustomElement$m } from './loader.js';
36
+ import { d as defineCustomElement$l } from './modal.js';
37
+ import { d as defineCustomElement$k } from './notice.js';
38
+ import { d as defineCustomElement$j } from './pagination.js';
39
+ import { d as defineCustomElement$i } from './panel.js';
40
+ import { d as defineCustomElement$h } from './popover.js';
41
+ import { d as defineCustomElement$g } from './progress.js';
42
+ import { d as defineCustomElement$f } from './scrim.js';
43
+ import { d as defineCustomElement$e } from './shell.js';
44
+ import { d as defineCustomElement$d } from './slider.js';
45
+ import { d as defineCustomElement$c } from './stack.js';
46
+ import { d as defineCustomElement$b } from './tooltip.js';
47
+ import { d as defineCustomElement$a } from './create-feature2.js';
48
+ import { d as defineCustomElement$9 } from './delete-button2.js';
49
+ import { d as defineCustomElement$8 } from './edit-card2.js';
50
+ import { d as defineCustomElement$7 } from './feature-details2.js';
51
+ import { d as defineCustomElement$6 } from './feature-list2.js';
52
+ import { d as defineCustomElement$5 } from './info-card2.js';
53
+ import { d as defineCustomElement$4 } from './instant-apps-filter-list2.js';
40
54
  import { d as defineCustomElement$3 } from './instant-apps-social-share2.js';
41
55
  import { d as defineCustomElement$2 } from './layer-list2.js';
42
56
 
43
- const crowdsourceReporterCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.report-submitted-msg{position:absolute;z-index:1000}";
57
+ const crowdsourceReporterCss = ":host{display:block;--calcite-label-margin-bottom:0px;--solutions-theme-foreground-color:var(--calcite-color-foreground-1)}.width-full{width:100% !important}.width-0{width:0}.height-full{height:100% !important}.height-0{height:0}.overflow-hidden{overflow:hidden}.border{border:1px solid var(--calcite-color-border-3)}.notice-msg{padding:10px;width:calc(100% - 20px)}.progress-bar{padding:12px}.footer-top-button{padding-bottom:7px}.footer-button{height:35px}.feature-pagination{align-items:center;margin:5% 124%;display:flex}.pagination-count{width:32px;color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand)}.report-submitted-msg{position:absolute;z-index:1000}";
44
58
 
45
59
  const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceReporter extends HTMLElement {
46
60
  constructor() {
@@ -56,15 +70,12 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
56
70
  this.enableComments = undefined;
57
71
  this.enableLogin = undefined;
58
72
  this.enableNewReports = undefined;
59
- this.layers = undefined;
60
73
  this.loginTitle = undefined;
61
74
  this.mapView = undefined;
62
75
  this.layerId = undefined;
63
76
  this.objectId = undefined;
64
77
  this.center = undefined;
65
78
  this.level = undefined;
66
- this.popupHeaderHoverColor = undefined;
67
- this.popupHeaderColor = undefined;
68
79
  this.reportButtonText = undefined;
69
80
  this.reportsHeader = undefined;
70
81
  this.reportingOptions = undefined;
@@ -78,6 +89,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
78
89
  this.theme = "light";
79
90
  this.enableZoom = true;
80
91
  this.zoomToScale = undefined;
92
+ this.layerExpressions = undefined;
81
93
  this._mapInfo = undefined;
82
94
  this._flowItems = [];
83
95
  this._sidePanelCollapsed = false;
@@ -86,7 +98,11 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
86
98
  this._selectedLayerName = undefined;
87
99
  this._reportSubmitted = false;
88
100
  this._showSubmitCancelButton = false;
101
+ this._loadingFeatureDetails = undefined;
89
102
  this._featureCreationFailedErrorMsg = undefined;
103
+ this._updatedProgressBarStatus = 0.25;
104
+ this._filterOpen = false;
105
+ this._filterActive = false;
90
106
  }
91
107
  //--------------------------------------------------------------------------
92
108
  //
@@ -107,6 +123,18 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
107
123
  await this.setMapView();
108
124
  });
109
125
  }
126
+ /**
127
+ * On Feature details change update the Layer title and the current selected layer id
128
+ * @param evt Event hold the details of current feature graphic in the info-card
129
+ */
130
+ async selectionChanged(evt) {
131
+ void this.updatingFeatureDetails(true);
132
+ this.setCurrentFeature(evt.detail.selectedFeature[0]);
133
+ void this.highlightOnMap(evt.detail.selectedFeature[0]);
134
+ this.selectedFeatureIndex = evt.detail.selectedFeatureIndex;
135
+ //update the feature details to reflect the like dislike values
136
+ await this._featureDetails.refresh(evt.detail.selectedFeature[0]);
137
+ }
110
138
  //--------------------------------------------------------------------------
111
139
  //
112
140
  // Functions (lifecycle)
@@ -123,6 +151,10 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
123
151
  await this._initModules();
124
152
  await this._getTranslations();
125
153
  await ((_a = this.mapView) === null || _a === void 0 ? void 0 : _a.when(async () => {
154
+ //set configured reporting layers array
155
+ this.layers = this.reportingOptions ? Object.keys(this.reportingOptions).filter((layerId) => {
156
+ return this.reportingOptions[layerId].reporting;
157
+ }) : [];
126
158
  await this.setMapView();
127
159
  }));
128
160
  }
@@ -131,7 +163,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
131
163
  */
132
164
  render() {
133
165
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
134
- return (h(Host, null, this._reportSubmitted && h("calcite-alert", { "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { slot: "title" }, this._translations.error), h("div", { slot: "message" }, this._featureCreationFailedErrorMsg)), h("div", null, h("calcite-shell", { "content-behind": true }, this._getReporter()))));
166
+ return (h(Host, null, this._reportSubmitted && h("calcite-alert", { "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { slot: "title" }, this._translations.error), h("div", { slot: "message" }, this._featureCreationFailedErrorMsg)), h("div", null, h("calcite-shell", { "content-behind": true }, this._getReporter())), this.filterModal()));
135
167
  }
136
168
  //--------------------------------------------------------------------------
137
169
  //
@@ -195,6 +227,54 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
195
227
  ? h("calcite-flow", null, (renderLists === null || renderLists === void 0 ? void 0 : renderLists.length) > 0 && renderLists)
196
228
  : h("calcite-loader", { label: "", scale: "m" })));
197
229
  }
230
+ /**
231
+ * Show filter component in modal
232
+ * @returns node to interact with any configured filters for the current layer
233
+ */
234
+ filterModal() {
235
+ var _a, _b;
236
+ //get layer expression for current selected layer
237
+ const currentLayersExpressions = this.layerExpressions ? this.layerExpressions.filter((exp) => exp.id === this._selectedLayerId) : [];
238
+ return (currentLayersExpressions.length > 0 &&
239
+ 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" }, (_b = (_a = this._translations) === null || _a === void 0 ? void 0 : _a.filterLayerTitle) === null || _b === void 0 ? void 0 : _b.replace("{{title}}", this._selectedLayerName)), h("div", { slot: "content" }, h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtn: true, closeBtnOnClick: async () => this._closeFilter(), comboboxOverlayPositioning: "fixed", layerExpressions: currentLayersExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(), ref: (el) => this._filterList = el, view: this.mapView, zoomBtn: false }))));
240
+ }
241
+ /**
242
+ * Close the filter modal
243
+ * @protected
244
+ */
245
+ _closeFilter() {
246
+ if (this._filterOpen) {
247
+ this._filterOpen = false;
248
+ }
249
+ }
250
+ /**
251
+ * When true the filter modal will be displayed
252
+ * @protected
253
+ */
254
+ _toggleFilter() {
255
+ this._filterOpen = !this._filterOpen;
256
+ }
257
+ /**
258
+ * Reset the filter active prop
259
+ * @protected
260
+ */
261
+ _handleFilterListReset() {
262
+ //on reset filter list reset the filter active state
263
+ this._filterActive = false;
264
+ //reset the features list to reflect the applied filters
265
+ void this._featureList.refresh();
266
+ }
267
+ /**
268
+ * Check if the layers definitionExpression has been modified
269
+ * @protected
270
+ */
271
+ _handleFilterUpdate() {
272
+ //if filter are applied the url params will be generated
273
+ //set the filter active state based on the length of applied filters
274
+ this._filterActive = this._filterList.urlParams.getAll('filter').length > 0;
275
+ //reset the features list to reflect the applied filters
276
+ void this._featureList.refresh();
277
+ }
198
278
  /**
199
279
  * Get the feature layer list
200
280
  * @returns the layer list items
@@ -211,7 +291,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
211
291
  * @protected
212
292
  */
213
293
  getChooseCategoryFlowItem() {
214
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("calcite-panel", { "full-height": true, "full-width": true }, h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), h("layer-list", { class: "height-full", layers: this.layers, mapView: this.mapView, noLayerErrorMsg: this._noLayerToDisplayErrorMsg, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
294
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), h("layer-list", { class: "height-full", layers: this.layers, mapView: this.mapView, noLayerErrorMsg: this._noLayerToDisplayErrorMsg, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
215
295
  }
216
296
  /**
217
297
  * Get Feature create form of the selected feature layer
@@ -219,7 +299,15 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
219
299
  * @protected
220
300
  */
221
301
  getFeatureCreateFlowItem() {
222
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { slot: "message" }, this._translations.featureEditFormInfoMsg)), h("create-feature", { customizeSubmit: true, mapView: this.mapView, onDrawComplete: this.onDrawComplete.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
302
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), h("calcite-panel", { "full-height": true, "full-width": true }, h("div", { class: "progress-bar" }, h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { slot: "message" }, this._translations.featureEditFormInfoMsg)), h("create-feature", { customizeSubmit: true, mapView: this.mapView, onDrawComplete: this.onDrawComplete.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
303
+ }
304
+ /**
305
+ * Update the progress bar status when editor panel changes
306
+ * @param evt Event which has progress bar status
307
+ * @protected
308
+ */
309
+ updatedProgressStatus(evt) {
310
+ this._updatedProgressBarStatus = evt.detail;
223
311
  }
224
312
  /**
225
313
  * When drawing of incident location completed on map show the submit and cancel button
@@ -241,7 +329,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
241
329
  */
242
330
  onSubmitButtonClick() {
243
331
  if (this._createFeature) {
244
- this._createFeature.submit();
332
+ void this._createFeature.submit();
245
333
  }
246
334
  }
247
335
  /**
@@ -250,7 +338,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
250
338
  */
251
339
  backFromCreateFeaturePanel() {
252
340
  if (this._createFeature) {
253
- this._createFeature.close();
341
+ void this._createFeature.close();
254
342
  }
255
343
  this.backFromSelectedPanel();
256
344
  }
@@ -277,10 +365,10 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
277
365
  */
278
366
  async navigateToHomePage() {
279
367
  if (this._createFeature) {
280
- this._createFeature.close();
368
+ void this._createFeature.close();
281
369
  }
282
370
  if (this._layerList) {
283
- this._layerList.refresh();
371
+ void this._layerList.refresh();
284
372
  }
285
373
  this.setSelectedFeatures([]);
286
374
  if (this._editableLayerIds.length === 1) {
@@ -348,6 +436,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
348
436
  * @protected
349
437
  */
350
438
  backFromSelectedPanel() {
439
+ this._updatedProgressBarStatus = 0.25;
351
440
  const updatedFlowItems = [...this._flowItems];
352
441
  updatedFlowItems.pop();
353
442
  this.clearHighlights();
@@ -374,6 +463,13 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
374
463
  this.setSelectedFeatures([evt.detail]);
375
464
  this._flowItems = [...this._flowItems, "feature-details"];
376
465
  }
466
+ /**
467
+ * Show loading indicator while updating the feature details component
468
+ * @param isLoading is feature detail component loading
469
+ */
470
+ async updatingFeatureDetails(isLoading) {
471
+ this._loadingFeatureDetails = isLoading;
472
+ }
377
473
  /**
378
474
  * Get feature list of the selected feature layer
379
475
  * @param layerId Layer id
@@ -382,7 +478,10 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
382
478
  * @protected
383
479
  */
384
480
  getFeatureListFlowItem(layerId, layerName) {
385
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports &&
481
+ var _a;
482
+ const layerExpressions = (_a = this.layerExpressions) === null || _a === void 0 ? void 0 : _a.filter((exp) => exp.id === this._selectedLayerId);
483
+ const showFilterIcon = layerExpressions.length > 0;
484
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, showFilterIcon && h("calcite-action", { icon: "filter", indicator: this._filterActive, onClick: this._toggleFilter.bind(this), slot: this.isMobile ? "header-menu-actions" : "header-actions-end", text: this._translations.filter, "text-enabled": this.isMobile }), this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports &&
386
485
  h("calcite-button", { appearance: "solid", onClick: this.navigateToCreateFeature.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), h("calcite-panel", { "full-height": true }, h("feature-list", { class: "height-full", highlightOnHover: true, mapView: this.mapView, noFeaturesFoundMsg: this._translations.featureErrorMsg, onFeatureSelect: this.onFeatureSelectFromList.bind(this), pageSize: 30, ref: el => this._featureList = el, selectedLayerId: layerId }))));
387
486
  }
388
487
  /**
@@ -390,7 +489,15 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
390
489
  * @returns Node
391
490
  */
392
491
  getFeatureDetailsFlowItem() {
393
- return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("instant-apps-social-share", { autoUpdateShareUrl: false, embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), h("calcite-panel", { "full-height": true }, h("info-card", { allowEditing: false, graphics: this._selectedFeature, highlightEnabled: false, isLoading: false, isMobile: false, mapView: this.mapView, onSelectionChanged: this.featureDetailsChanged.bind(this), zoomAndScrollToSelected: true }))));
492
+ return (h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._loadingFeatureDetails, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), h("instant-apps-social-share", { autoUpdateShareUrl: false, embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), h("calcite-panel", null, this._selectedFeature.length > 1 && this.getFeaturesPagination(), h("feature-details", { class: 'full-height', graphics: this._selectedFeature, mapView: this.mapView, onLoadingStatus: (evt) => { void this.updatingFeatureDetails(evt.detail); }, ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions }))));
493
+ }
494
+ /**
495
+ * Returns the pagination for the multiple features
496
+ * Create pagination to avoid the overlap of like, dislike and comment section
497
+ * @returns Node
498
+ */
499
+ getFeaturesPagination() {
500
+ return (h("div", { class: "feature-pagination", slot: "header-actions-start" }, h("div", null, h("calcite-button", { appearance: 'transparent', disabled: false, iconStart: "chevron-left", id: "solutions-back", onClick: () => void this._featureDetails.back(), scale: "s", width: "full" }), h("calcite-tooltip", { label: "", placement: "top", "reference-element": "solutions-back" }, h("span", null, this._translations.back))), h("calcite-button", { appearance: 'transparent', class: 'pagination-action', onClick: () => void this._featureDetails.toggleListView(), scale: "s" }, h("span", { class: "pagination-count" }, this._getCount())), h("div", null, h("calcite-button", { appearance: "transparent", disabled: false, iconStart: "chevron-right", id: "solutions-next", onClick: () => void this._featureDetails.next(), scale: "s", width: "full" }), h("calcite-tooltip", { placement: "top", "reference-element": "solutions-next" }, h("span", null, this._translations.next)))));
394
501
  }
395
502
  /**
396
503
  * Sets the selected features and updates the first feature as the current selected feature
@@ -418,14 +525,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
418
525
  }
419
526
  this._updateShareURL();
420
527
  }
421
- /**
422
- * On Feature details change update the Layer title and the current selected layer id
423
- * @param evt Event hold the details of current feature graphic in the info-card
424
- */
425
- featureDetailsChanged(evt) {
426
- this.setCurrentFeature(evt.detail[0]);
427
- void this.highlightOnMap(evt.detail[0]);
428
- }
429
528
  /**
430
529
  * Highlights the feature on map
431
530
  * @param selectedFeature Graphic currently shown in feature details
@@ -438,8 +537,9 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
438
537
  const selectedLayerView = await getFeatureLayerView(this.mapView, selectedFeature.layer.id);
439
538
  // remove previous highlight options (if any) to highlight the feature by default color
440
539
  selectedLayerView.highlightOptions = null;
441
- this._highlightHandle = await highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true);
540
+ this._highlightHandle = await highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true, this.zoomToScale);
442
541
  }
542
+ void this.updatingFeatureDetails(false);
443
543
  }
444
544
  /**
445
545
  * Clears the highlight
@@ -545,6 +645,19 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
545
645
  }
546
646
  }
547
647
  }
648
+ /**
649
+ * Get the current index of total string
650
+ *
651
+ * @returns the index of total string
652
+ * @protected
653
+ */
654
+ _getCount() {
655
+ const index = (this.selectedFeatureIndex + 1).toString();
656
+ const total = this._selectedFeature.length.toString();
657
+ return this._translations.indexOfTotal
658
+ .replace("{{index}}", index)
659
+ .replace("{{total}}", total);
660
+ }
548
661
  /**
549
662
  * Fetches the component's translations
550
663
  * @returns Promise when complete
@@ -675,15 +788,12 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
675
788
  "enableComments": [4, "enable-comments"],
676
789
  "enableLogin": [4, "enable-login"],
677
790
  "enableNewReports": [4, "enable-new-reports"],
678
- "layers": [16],
679
791
  "loginTitle": [1, "login-title"],
680
792
  "mapView": [16],
681
793
  "layerId": [1, "layer-id"],
682
794
  "objectId": [1, "object-id"],
683
795
  "center": [1],
684
796
  "level": [1],
685
- "popupHeaderHoverColor": [1, "popup-header-hover-color"],
686
- "popupHeaderColor": [1, "popup-header-color"],
687
797
  "reportButtonText": [1, "report-button-text"],
688
798
  "reportsHeader": [1, "reports-header"],
689
799
  "reportingOptions": [16],
@@ -697,6 +807,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
697
807
  "theme": [1],
698
808
  "enableZoom": [4, "enable-zoom"],
699
809
  "zoomToScale": [2, "zoom-to-scale"],
810
+ "layerExpressions": [16],
700
811
  "_mapInfo": [32],
701
812
  "_flowItems": [32],
702
813
  "_sidePanelCollapsed": [32],
@@ -705,8 +816,12 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
705
816
  "_selectedLayerName": [32],
706
817
  "_reportSubmitted": [32],
707
818
  "_showSubmitCancelButton": [32],
708
- "_featureCreationFailedErrorMsg": [32]
709
- }, undefined, {
819
+ "_loadingFeatureDetails": [32],
820
+ "_featureCreationFailedErrorMsg": [32],
821
+ "_updatedProgressBarStatus": [32],
822
+ "_filterOpen": [32],
823
+ "_filterActive": [32]
824
+ }, [[8, "selectionChanged", "selectionChanged"]], {
710
825
  "isMobile": ["isMobileWatchHandler"],
711
826
  "mapView": ["mapViewWatchHandler"]
712
827
  }]);
@@ -714,7 +829,7 @@ function defineCustomElement$1() {
714
829
  if (typeof customElements === "undefined") {
715
830
  return;
716
831
  }
717
- const components = ["crowdsource-reporter", "calcite-action", "calcite-action-menu", "calcite-alert", "calcite-button", "calcite-chip", "calcite-filter", "calcite-flow", "calcite-flow-item", "calcite-handle", "calcite-icon", "calcite-input", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-pagination", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-shell", "calcite-stack", "calcite-tooltip", "create-feature", "delete-button", "edit-card", "feature-list", "info-card", "instant-apps-social-share", "layer-list"];
832
+ const components = ["crowdsource-reporter", "calcite-action", "calcite-action-menu", "calcite-alert", "calcite-block", "calcite-button", "calcite-checkbox", "calcite-chip", "calcite-combobox", "calcite-combobox-item", "calcite-date-picker", "calcite-date-picker-day", "calcite-date-picker-month", "calcite-date-picker-month-header", "calcite-filter", "calcite-flow", "calcite-flow-item", "calcite-graph", "calcite-handle", "calcite-icon", "calcite-input", "calcite-input-date-picker", "calcite-input-text", "calcite-list", "calcite-list-item", "calcite-loader", "calcite-modal", "calcite-notice", "calcite-pagination", "calcite-panel", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-shell", "calcite-slider", "calcite-stack", "calcite-tooltip", "create-feature", "delete-button", "edit-card", "feature-details", "feature-list", "info-card", "instant-apps-filter-list", "instant-apps-social-share", "layer-list"];
718
833
  components.forEach(tagName => { switch (tagName) {
719
834
  case "crowdsource-reporter":
720
835
  if (!customElements.get(tagName)) {
@@ -723,145 +838,215 @@ function defineCustomElement$1() {
723
838
  break;
724
839
  case "calcite-action":
725
840
  if (!customElements.get(tagName)) {
726
- defineCustomElement$w();
841
+ defineCustomElement$K();
727
842
  }
728
843
  break;
729
844
  case "calcite-action-menu":
730
845
  if (!customElements.get(tagName)) {
731
- defineCustomElement$v();
846
+ defineCustomElement$J();
732
847
  }
733
848
  break;
734
849
  case "calcite-alert":
735
850
  if (!customElements.get(tagName)) {
736
- defineCustomElement$u();
851
+ defineCustomElement$I();
852
+ }
853
+ break;
854
+ case "calcite-block":
855
+ if (!customElements.get(tagName)) {
856
+ defineCustomElement$H();
737
857
  }
738
858
  break;
739
859
  case "calcite-button":
740
860
  if (!customElements.get(tagName)) {
741
- defineCustomElement$t();
861
+ defineCustomElement$G();
862
+ }
863
+ break;
864
+ case "calcite-checkbox":
865
+ if (!customElements.get(tagName)) {
866
+ defineCustomElement$F();
742
867
  }
743
868
  break;
744
869
  case "calcite-chip":
745
870
  if (!customElements.get(tagName)) {
746
- defineCustomElement$s();
871
+ defineCustomElement$E();
872
+ }
873
+ break;
874
+ case "calcite-combobox":
875
+ if (!customElements.get(tagName)) {
876
+ defineCustomElement$D();
877
+ }
878
+ break;
879
+ case "calcite-combobox-item":
880
+ if (!customElements.get(tagName)) {
881
+ defineCustomElement$C();
882
+ }
883
+ break;
884
+ case "calcite-date-picker":
885
+ if (!customElements.get(tagName)) {
886
+ defineCustomElement$B();
887
+ }
888
+ break;
889
+ case "calcite-date-picker-day":
890
+ if (!customElements.get(tagName)) {
891
+ defineCustomElement$A();
892
+ }
893
+ break;
894
+ case "calcite-date-picker-month":
895
+ if (!customElements.get(tagName)) {
896
+ defineCustomElement$z();
897
+ }
898
+ break;
899
+ case "calcite-date-picker-month-header":
900
+ if (!customElements.get(tagName)) {
901
+ defineCustomElement$y();
747
902
  }
748
903
  break;
749
904
  case "calcite-filter":
750
905
  if (!customElements.get(tagName)) {
751
- defineCustomElement$r();
906
+ defineCustomElement$x();
752
907
  }
753
908
  break;
754
909
  case "calcite-flow":
755
910
  if (!customElements.get(tagName)) {
756
- defineCustomElement$q();
911
+ defineCustomElement$w();
757
912
  }
758
913
  break;
759
914
  case "calcite-flow-item":
760
915
  if (!customElements.get(tagName)) {
761
- defineCustomElement$p();
916
+ defineCustomElement$v();
917
+ }
918
+ break;
919
+ case "calcite-graph":
920
+ if (!customElements.get(tagName)) {
921
+ defineCustomElement$u();
762
922
  }
763
923
  break;
764
924
  case "calcite-handle":
765
925
  if (!customElements.get(tagName)) {
766
- defineCustomElement$o();
926
+ defineCustomElement$t();
767
927
  }
768
928
  break;
769
929
  case "calcite-icon":
770
930
  if (!customElements.get(tagName)) {
771
- defineCustomElement$n();
931
+ defineCustomElement$s();
772
932
  }
773
933
  break;
774
934
  case "calcite-input":
775
935
  if (!customElements.get(tagName)) {
776
- defineCustomElement$m();
936
+ defineCustomElement$r();
937
+ }
938
+ break;
939
+ case "calcite-input-date-picker":
940
+ if (!customElements.get(tagName)) {
941
+ defineCustomElement$q();
942
+ }
943
+ break;
944
+ case "calcite-input-text":
945
+ if (!customElements.get(tagName)) {
946
+ defineCustomElement$p();
777
947
  }
778
948
  break;
779
949
  case "calcite-list":
780
950
  if (!customElements.get(tagName)) {
781
- defineCustomElement$l();
951
+ defineCustomElement$o();
782
952
  }
783
953
  break;
784
954
  case "calcite-list-item":
785
955
  if (!customElements.get(tagName)) {
786
- defineCustomElement$k();
956
+ defineCustomElement$n();
787
957
  }
788
958
  break;
789
959
  case "calcite-loader":
790
960
  if (!customElements.get(tagName)) {
791
- defineCustomElement$j();
961
+ defineCustomElement$m();
792
962
  }
793
963
  break;
794
964
  case "calcite-modal":
795
965
  if (!customElements.get(tagName)) {
796
- defineCustomElement$i();
966
+ defineCustomElement$l();
797
967
  }
798
968
  break;
799
969
  case "calcite-notice":
800
970
  if (!customElements.get(tagName)) {
801
- defineCustomElement$h();
971
+ defineCustomElement$k();
802
972
  }
803
973
  break;
804
974
  case "calcite-pagination":
805
975
  if (!customElements.get(tagName)) {
806
- defineCustomElement$g();
976
+ defineCustomElement$j();
807
977
  }
808
978
  break;
809
979
  case "calcite-panel":
810
980
  if (!customElements.get(tagName)) {
811
- defineCustomElement$f();
981
+ defineCustomElement$i();
812
982
  }
813
983
  break;
814
984
  case "calcite-popover":
815
985
  if (!customElements.get(tagName)) {
816
- defineCustomElement$e();
986
+ defineCustomElement$h();
817
987
  }
818
988
  break;
819
989
  case "calcite-progress":
820
990
  if (!customElements.get(tagName)) {
821
- defineCustomElement$d();
991
+ defineCustomElement$g();
822
992
  }
823
993
  break;
824
994
  case "calcite-scrim":
825
995
  if (!customElements.get(tagName)) {
826
- defineCustomElement$c();
996
+ defineCustomElement$f();
827
997
  }
828
998
  break;
829
999
  case "calcite-shell":
830
1000
  if (!customElements.get(tagName)) {
831
- defineCustomElement$b();
1001
+ defineCustomElement$e();
1002
+ }
1003
+ break;
1004
+ case "calcite-slider":
1005
+ if (!customElements.get(tagName)) {
1006
+ defineCustomElement$d();
832
1007
  }
833
1008
  break;
834
1009
  case "calcite-stack":
835
1010
  if (!customElements.get(tagName)) {
836
- defineCustomElement$a();
1011
+ defineCustomElement$c();
837
1012
  }
838
1013
  break;
839
1014
  case "calcite-tooltip":
840
1015
  if (!customElements.get(tagName)) {
841
- defineCustomElement$9();
1016
+ defineCustomElement$b();
842
1017
  }
843
1018
  break;
844
1019
  case "create-feature":
845
1020
  if (!customElements.get(tagName)) {
846
- defineCustomElement$8();
1021
+ defineCustomElement$a();
847
1022
  }
848
1023
  break;
849
1024
  case "delete-button":
850
1025
  if (!customElements.get(tagName)) {
851
- defineCustomElement$7();
1026
+ defineCustomElement$9();
852
1027
  }
853
1028
  break;
854
1029
  case "edit-card":
855
1030
  if (!customElements.get(tagName)) {
856
- defineCustomElement$6();
1031
+ defineCustomElement$8();
1032
+ }
1033
+ break;
1034
+ case "feature-details":
1035
+ if (!customElements.get(tagName)) {
1036
+ defineCustomElement$7();
857
1037
  }
858
1038
  break;
859
1039
  case "feature-list":
860
1040
  if (!customElements.get(tagName)) {
861
- defineCustomElement$5();
1041
+ defineCustomElement$6();
862
1042
  }
863
1043
  break;
864
1044
  case "info-card":
1045
+ if (!customElements.get(tagName)) {
1046
+ defineCustomElement$5();
1047
+ }
1048
+ break;
1049
+ case "instant-apps-filter-list":
865
1050
  if (!customElements.get(tagName)) {
866
1051
  defineCustomElement$4();
867
1052
  }