@esri/solutions-components 0.8.8 → 0.8.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) 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 +1 -1
  11. package/dist/cjs/crowdsource-reporter.cjs.entry.js +122 -21
  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-reporter/crowdsource-reporter.css +16 -0
  22. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +155 -35
  23. package/dist/collection/components/feature-details/feature-details.css +18 -0
  24. package/dist/collection/components/feature-details/feature-details.js +500 -0
  25. package/dist/collection/components/feature-details/test/feature-details.e2e.js +14 -0
  26. package/dist/collection/components/feature-details/test/feature-details.spec.js +22 -0
  27. package/dist/collection/components/feature-list/feature-list.js +14 -1
  28. package/dist/collection/components/info-card/info-card.css +15 -5
  29. package/dist/collection/components/info-card/info-card.js +178 -5
  30. package/dist/collection/components/layer-table/layer-table.js +2 -2
  31. package/dist/collection/components/map-card/map-card.js +1 -1
  32. package/dist/collection/components/map-select-tools/map-select-tools.js +5 -5
  33. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  34. package/dist/collection/demos/crowdsource-reporter.html +115 -1
  35. package/dist/collection/utils/mapViewUtils.js +11 -5
  36. package/dist/collection/utils/mapViewUtils.ts +13 -5
  37. package/dist/components/create-feature2.js +4 -0
  38. package/dist/components/crowdsource-reporter.js +270 -81
  39. package/dist/components/feature-details.d.ts +11 -0
  40. package/dist/components/feature-details.js +11 -0
  41. package/dist/components/feature-details2.js +449 -0
  42. package/dist/components/feature-list2.js +14 -1
  43. package/dist/components/info-card2.js +53 -5
  44. package/dist/components/layer-table2.js +2 -2
  45. package/dist/components/map-card2.js +1 -1
  46. package/dist/components/map-select-tools2.js +5 -5
  47. package/dist/components/mapViewUtils.js +11 -5
  48. package/dist/components/refine-selection2.js +1 -1
  49. package/dist/esm/{calcite-action-menu_2.entry.js → calcite-action-menu_3.entry.js} +118 -12
  50. package/dist/esm/calcite-alert_4.entry.js +46 -5
  51. package/dist/esm/{calcite-input-date-picker_3.entry.js → calcite-block_5.entry.js} +688 -12
  52. package/dist/esm/{calcite-combobox_5.entry.js → calcite-combobox_3.entry.js} +878 -844
  53. package/dist/esm/calcite-date-picker-day_3.entry.js +1 -1
  54. package/dist/esm/calcite-dropdown_4.entry.js +1016 -0
  55. package/dist/esm/{calcite-flow_5.entry.js → calcite-flow_6.entry.js} +327 -3
  56. package/dist/esm/card-manager_3.entry.js +5 -5
  57. package/dist/esm/crowdsource-manager.entry.js +1 -1
  58. package/dist/esm/crowdsource-reporter.entry.js +122 -21
  59. package/dist/esm/{date-5630530d.js → date-0c026a8b.js} +1 -1
  60. package/dist/esm/{downloadUtils-0c1e4d7b.js → downloadUtils-df4f21f6.js} +2 -2
  61. package/dist/esm/{index.es-286e3cfa.js → index.es-904fb846.js} +2 -2
  62. package/dist/esm/loader.js +1 -1
  63. package/dist/esm/map-select-tools_3.entry.js +8 -8
  64. package/dist/esm/{mapViewUtils-253178f1.js → mapViewUtils-2ec19fb0.js} +11 -5
  65. package/dist/esm/public-notification.entry.js +2 -2
  66. package/dist/esm/solutions-components.js +1 -1
  67. package/dist/solutions-components/demos/crowdsource-reporter.html +115 -1
  68. package/dist/solutions-components/{p-813fd8a4.entry.js → p-29f518fd.entry.js} +2 -2
  69. package/dist/solutions-components/{p-13ca3b00.entry.js → p-452fd697.entry.js} +1 -1
  70. package/dist/solutions-components/p-511b1c91.entry.js +23 -0
  71. package/dist/solutions-components/p-577efb16.js +36 -0
  72. package/dist/solutions-components/{p-94de9279.js → p-5817d78c.js} +1 -1
  73. package/dist/solutions-components/p-602cd811.entry.js +17 -0
  74. package/dist/solutions-components/{p-15f9624a.entry.js → p-6557b703.entry.js} +1 -1
  75. package/dist/solutions-components/p-7269c49b.entry.js +6 -0
  76. package/dist/solutions-components/p-760bd17e.entry.js +6 -0
  77. package/dist/solutions-components/p-95fea07a.entry.js +17 -0
  78. package/dist/solutions-components/{p-212b02e7.js → p-ae4d86e8.js} +1 -1
  79. package/dist/solutions-components/{p-038fcd93.entry.js → p-c273ab7a.entry.js} +1 -1
  80. package/dist/solutions-components/p-d742b915.entry.js +29 -0
  81. package/dist/solutions-components/p-dfad61a8.entry.js +24 -0
  82. package/dist/solutions-components/{p-331b5d1e.js → p-fca434c8.js} +2 -2
  83. package/dist/solutions-components/p-fd82a00f.entry.js +6 -0
  84. package/dist/solutions-components/solutions-components.esm.js +1 -1
  85. package/dist/solutions-components/utils/mapViewUtils.ts +13 -5
  86. package/dist/types/components/create-feature/create-feature.d.ts +4 -4
  87. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +91 -10
  88. package/dist/types/components/feature-details/feature-details.d.ts +151 -0
  89. package/dist/types/components/feature-list/feature-list.d.ts +6 -0
  90. package/dist/types/components/info-card/info-card.d.ts +33 -1
  91. package/dist/types/components.d.ts +129 -12
  92. package/dist/types/preact.d.ts +6 -1
  93. package/dist/types/utils/mapViewUtils.d.ts +5 -3
  94. package/package.json +1 -1
  95. package/dist/cjs/calcite-block_2.cjs.entry.js +0 -652
  96. package/dist/cjs/calcite-graph_2.cjs.entry.js +0 -1055
  97. package/dist/cjs/calcite-scrim.cjs.entry.js +0 -125
  98. package/dist/cjs/utils-7bc7f595.js +0 -64
  99. package/dist/esm/calcite-block_2.entry.js +0 -647
  100. package/dist/esm/calcite-graph_2.entry.js +0 -1050
  101. package/dist/esm/calcite-scrim.entry.js +0 -121
  102. package/dist/esm/utils-9fb4104a.js +0 -61
  103. package/dist/solutions-components/p-04c37d69.entry.js +0 -17
  104. package/dist/solutions-components/p-0b92e4b1.entry.js +0 -11
  105. package/dist/solutions-components/p-238d3b5f.entry.js +0 -6
  106. package/dist/solutions-components/p-3af79063.js +0 -36
  107. package/dist/solutions-components/p-80b11ec1.entry.js +0 -17
  108. package/dist/solutions-components/p-a3a11749.entry.js +0 -6
  109. package/dist/solutions-components/p-aec06ce4.entry.js +0 -18
  110. package/dist/solutions-components/p-bfdf89c2.js +0 -11
  111. package/dist/solutions-components/p-c4ff3b52.entry.js +0 -17
  112. package/dist/solutions-components/p-ced067bd.entry.js +0 -17
  113. package/dist/solutions-components/p-d136eab0.entry.js +0 -23
  114. package/dist/solutions-components/p-e0446d5b.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,7 +70,6 @@ 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;
@@ -76,6 +89,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
76
89
  this.theme = "light";
77
90
  this.enableZoom = true;
78
91
  this.zoomToScale = undefined;
92
+ this.layerExpressions = undefined;
79
93
  this._mapInfo = undefined;
80
94
  this._flowItems = [];
81
95
  this._sidePanelCollapsed = false;
@@ -84,7 +98,11 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
84
98
  this._selectedLayerName = undefined;
85
99
  this._reportSubmitted = false;
86
100
  this._showSubmitCancelButton = false;
101
+ this._loadingFeatureDetails = undefined;
87
102
  this._featureCreationFailedErrorMsg = undefined;
103
+ this._updatedProgressBarStatus = 0.25;
104
+ this._filterOpen = false;
105
+ this._filterActive = false;
88
106
  }
89
107
  //--------------------------------------------------------------------------
90
108
  //
@@ -105,6 +123,18 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
105
123
  await this.setMapView();
106
124
  });
107
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
+ }
108
138
  //--------------------------------------------------------------------------
109
139
  //
110
140
  // Functions (lifecycle)
@@ -121,6 +151,10 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
121
151
  await this._initModules();
122
152
  await this._getTranslations();
123
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
+ }) : [];
124
158
  await this.setMapView();
125
159
  }));
126
160
  }
@@ -129,7 +163,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
129
163
  */
130
164
  render() {
131
165
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
132
- 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()));
133
167
  }
134
168
  //--------------------------------------------------------------------------
135
169
  //
@@ -193,6 +227,54 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
193
227
  ? h("calcite-flow", null, (renderLists === null || renderLists === void 0 ? void 0 : renderLists.length) > 0 && renderLists)
194
228
  : h("calcite-loader", { label: "", scale: "m" })));
195
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
+ }
196
278
  /**
197
279
  * Get the feature layer list
198
280
  * @returns the layer list items
@@ -209,7 +291,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
209
291
  * @protected
210
292
  */
211
293
  getChooseCategoryFlowItem() {
212
- 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 }))));
213
295
  }
214
296
  /**
215
297
  * Get Feature create form of the selected feature layer
@@ -217,7 +299,15 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
217
299
  * @protected
218
300
  */
219
301
  getFeatureCreateFlowItem() {
220
- 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;
221
311
  }
222
312
  /**
223
313
  * When drawing of incident location completed on map show the submit and cancel button
@@ -239,7 +329,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
239
329
  */
240
330
  onSubmitButtonClick() {
241
331
  if (this._createFeature) {
242
- this._createFeature.submit();
332
+ void this._createFeature.submit();
243
333
  }
244
334
  }
245
335
  /**
@@ -248,7 +338,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
248
338
  */
249
339
  backFromCreateFeaturePanel() {
250
340
  if (this._createFeature) {
251
- this._createFeature.close();
341
+ void this._createFeature.close();
252
342
  }
253
343
  this.backFromSelectedPanel();
254
344
  }
@@ -275,10 +365,10 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
275
365
  */
276
366
  async navigateToHomePage() {
277
367
  if (this._createFeature) {
278
- this._createFeature.close();
368
+ void this._createFeature.close();
279
369
  }
280
370
  if (this._layerList) {
281
- this._layerList.refresh();
371
+ void this._layerList.refresh();
282
372
  }
283
373
  this.setSelectedFeatures([]);
284
374
  if (this._editableLayerIds.length === 1) {
@@ -346,6 +436,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
346
436
  * @protected
347
437
  */
348
438
  backFromSelectedPanel() {
439
+ this._updatedProgressBarStatus = 0.25;
349
440
  const updatedFlowItems = [...this._flowItems];
350
441
  updatedFlowItems.pop();
351
442
  this.clearHighlights();
@@ -372,6 +463,13 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
372
463
  this.setSelectedFeatures([evt.detail]);
373
464
  this._flowItems = [...this._flowItems, "feature-details"];
374
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
+ }
375
473
  /**
376
474
  * Get feature list of the selected feature layer
377
475
  * @param layerId Layer id
@@ -380,7 +478,10 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
380
478
  * @protected
381
479
  */
382
480
  getFeatureListFlowItem(layerId, layerName) {
383
- 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 &&
384
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 }))));
385
486
  }
386
487
  /**
@@ -388,7 +489,15 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
388
489
  * @returns Node
389
490
  */
390
491
  getFeatureDetailsFlowItem() {
391
- 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)))));
392
501
  }
393
502
  /**
394
503
  * Sets the selected features and updates the first feature as the current selected feature
@@ -416,14 +525,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
416
525
  }
417
526
  this._updateShareURL();
418
527
  }
419
- /**
420
- * On Feature details change update the Layer title and the current selected layer id
421
- * @param evt Event hold the details of current feature graphic in the info-card
422
- */
423
- featureDetailsChanged(evt) {
424
- this.setCurrentFeature(evt.detail[0]);
425
- void this.highlightOnMap(evt.detail[0]);
426
- }
427
528
  /**
428
529
  * Highlights the feature on map
429
530
  * @param selectedFeature Graphic currently shown in feature details
@@ -436,8 +537,9 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
436
537
  const selectedLayerView = await getFeatureLayerView(this.mapView, selectedFeature.layer.id);
437
538
  // remove previous highlight options (if any) to highlight the feature by default color
438
539
  selectedLayerView.highlightOptions = null;
439
- this._highlightHandle = await highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true);
540
+ this._highlightHandle = await highlightFeatures([selectedFeature.getObjectId()], selectedLayerView, this.mapView, true, this.zoomToScale);
440
541
  }
542
+ void this.updatingFeatureDetails(false);
441
543
  }
442
544
  /**
443
545
  * Clears the highlight
@@ -543,6 +645,19 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
543
645
  }
544
646
  }
545
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
+ }
546
661
  /**
547
662
  * Fetches the component's translations
548
663
  * @returns Promise when complete
@@ -673,7 +788,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
673
788
  "enableComments": [4, "enable-comments"],
674
789
  "enableLogin": [4, "enable-login"],
675
790
  "enableNewReports": [4, "enable-new-reports"],
676
- "layers": [16],
677
791
  "loginTitle": [1, "login-title"],
678
792
  "mapView": [16],
679
793
  "layerId": [1, "layer-id"],
@@ -693,6 +807,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
693
807
  "theme": [1],
694
808
  "enableZoom": [4, "enable-zoom"],
695
809
  "zoomToScale": [2, "zoom-to-scale"],
810
+ "layerExpressions": [16],
696
811
  "_mapInfo": [32],
697
812
  "_flowItems": [32],
698
813
  "_sidePanelCollapsed": [32],
@@ -701,8 +816,12 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
701
816
  "_selectedLayerName": [32],
702
817
  "_reportSubmitted": [32],
703
818
  "_showSubmitCancelButton": [32],
704
- "_featureCreationFailedErrorMsg": [32]
705
- }, undefined, {
819
+ "_loadingFeatureDetails": [32],
820
+ "_featureCreationFailedErrorMsg": [32],
821
+ "_updatedProgressBarStatus": [32],
822
+ "_filterOpen": [32],
823
+ "_filterActive": [32]
824
+ }, [[8, "selectionChanged", "selectionChanged"]], {
706
825
  "isMobile": ["isMobileWatchHandler"],
707
826
  "mapView": ["mapViewWatchHandler"]
708
827
  }]);
@@ -710,7 +829,7 @@ function defineCustomElement$1() {
710
829
  if (typeof customElements === "undefined") {
711
830
  return;
712
831
  }
713
- 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"];
714
833
  components.forEach(tagName => { switch (tagName) {
715
834
  case "crowdsource-reporter":
716
835
  if (!customElements.get(tagName)) {
@@ -719,145 +838,215 @@ function defineCustomElement$1() {
719
838
  break;
720
839
  case "calcite-action":
721
840
  if (!customElements.get(tagName)) {
722
- defineCustomElement$w();
841
+ defineCustomElement$K();
723
842
  }
724
843
  break;
725
844
  case "calcite-action-menu":
726
845
  if (!customElements.get(tagName)) {
727
- defineCustomElement$v();
846
+ defineCustomElement$J();
728
847
  }
729
848
  break;
730
849
  case "calcite-alert":
731
850
  if (!customElements.get(tagName)) {
732
- defineCustomElement$u();
851
+ defineCustomElement$I();
852
+ }
853
+ break;
854
+ case "calcite-block":
855
+ if (!customElements.get(tagName)) {
856
+ defineCustomElement$H();
733
857
  }
734
858
  break;
735
859
  case "calcite-button":
736
860
  if (!customElements.get(tagName)) {
737
- defineCustomElement$t();
861
+ defineCustomElement$G();
862
+ }
863
+ break;
864
+ case "calcite-checkbox":
865
+ if (!customElements.get(tagName)) {
866
+ defineCustomElement$F();
738
867
  }
739
868
  break;
740
869
  case "calcite-chip":
741
870
  if (!customElements.get(tagName)) {
742
- 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();
743
902
  }
744
903
  break;
745
904
  case "calcite-filter":
746
905
  if (!customElements.get(tagName)) {
747
- defineCustomElement$r();
906
+ defineCustomElement$x();
748
907
  }
749
908
  break;
750
909
  case "calcite-flow":
751
910
  if (!customElements.get(tagName)) {
752
- defineCustomElement$q();
911
+ defineCustomElement$w();
753
912
  }
754
913
  break;
755
914
  case "calcite-flow-item":
756
915
  if (!customElements.get(tagName)) {
757
- defineCustomElement$p();
916
+ defineCustomElement$v();
917
+ }
918
+ break;
919
+ case "calcite-graph":
920
+ if (!customElements.get(tagName)) {
921
+ defineCustomElement$u();
758
922
  }
759
923
  break;
760
924
  case "calcite-handle":
761
925
  if (!customElements.get(tagName)) {
762
- defineCustomElement$o();
926
+ defineCustomElement$t();
763
927
  }
764
928
  break;
765
929
  case "calcite-icon":
766
930
  if (!customElements.get(tagName)) {
767
- defineCustomElement$n();
931
+ defineCustomElement$s();
768
932
  }
769
933
  break;
770
934
  case "calcite-input":
771
935
  if (!customElements.get(tagName)) {
772
- 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();
773
947
  }
774
948
  break;
775
949
  case "calcite-list":
776
950
  if (!customElements.get(tagName)) {
777
- defineCustomElement$l();
951
+ defineCustomElement$o();
778
952
  }
779
953
  break;
780
954
  case "calcite-list-item":
781
955
  if (!customElements.get(tagName)) {
782
- defineCustomElement$k();
956
+ defineCustomElement$n();
783
957
  }
784
958
  break;
785
959
  case "calcite-loader":
786
960
  if (!customElements.get(tagName)) {
787
- defineCustomElement$j();
961
+ defineCustomElement$m();
788
962
  }
789
963
  break;
790
964
  case "calcite-modal":
791
965
  if (!customElements.get(tagName)) {
792
- defineCustomElement$i();
966
+ defineCustomElement$l();
793
967
  }
794
968
  break;
795
969
  case "calcite-notice":
796
970
  if (!customElements.get(tagName)) {
797
- defineCustomElement$h();
971
+ defineCustomElement$k();
798
972
  }
799
973
  break;
800
974
  case "calcite-pagination":
801
975
  if (!customElements.get(tagName)) {
802
- defineCustomElement$g();
976
+ defineCustomElement$j();
803
977
  }
804
978
  break;
805
979
  case "calcite-panel":
806
980
  if (!customElements.get(tagName)) {
807
- defineCustomElement$f();
981
+ defineCustomElement$i();
808
982
  }
809
983
  break;
810
984
  case "calcite-popover":
811
985
  if (!customElements.get(tagName)) {
812
- defineCustomElement$e();
986
+ defineCustomElement$h();
813
987
  }
814
988
  break;
815
989
  case "calcite-progress":
816
990
  if (!customElements.get(tagName)) {
817
- defineCustomElement$d();
991
+ defineCustomElement$g();
818
992
  }
819
993
  break;
820
994
  case "calcite-scrim":
821
995
  if (!customElements.get(tagName)) {
822
- defineCustomElement$c();
996
+ defineCustomElement$f();
823
997
  }
824
998
  break;
825
999
  case "calcite-shell":
826
1000
  if (!customElements.get(tagName)) {
827
- defineCustomElement$b();
1001
+ defineCustomElement$e();
1002
+ }
1003
+ break;
1004
+ case "calcite-slider":
1005
+ if (!customElements.get(tagName)) {
1006
+ defineCustomElement$d();
828
1007
  }
829
1008
  break;
830
1009
  case "calcite-stack":
831
1010
  if (!customElements.get(tagName)) {
832
- defineCustomElement$a();
1011
+ defineCustomElement$c();
833
1012
  }
834
1013
  break;
835
1014
  case "calcite-tooltip":
836
1015
  if (!customElements.get(tagName)) {
837
- defineCustomElement$9();
1016
+ defineCustomElement$b();
838
1017
  }
839
1018
  break;
840
1019
  case "create-feature":
841
1020
  if (!customElements.get(tagName)) {
842
- defineCustomElement$8();
1021
+ defineCustomElement$a();
843
1022
  }
844
1023
  break;
845
1024
  case "delete-button":
846
1025
  if (!customElements.get(tagName)) {
847
- defineCustomElement$7();
1026
+ defineCustomElement$9();
848
1027
  }
849
1028
  break;
850
1029
  case "edit-card":
851
1030
  if (!customElements.get(tagName)) {
852
- defineCustomElement$6();
1031
+ defineCustomElement$8();
1032
+ }
1033
+ break;
1034
+ case "feature-details":
1035
+ if (!customElements.get(tagName)) {
1036
+ defineCustomElement$7();
853
1037
  }
854
1038
  break;
855
1039
  case "feature-list":
856
1040
  if (!customElements.get(tagName)) {
857
- defineCustomElement$5();
1041
+ defineCustomElement$6();
858
1042
  }
859
1043
  break;
860
1044
  case "info-card":
1045
+ if (!customElements.get(tagName)) {
1046
+ defineCustomElement$5();
1047
+ }
1048
+ break;
1049
+ case "instant-apps-filter-list":
861
1050
  if (!customElements.get(tagName)) {
862
1051
  defineCustomElement$4();
863
1052
  }