@esri/solutions-components 0.11.15 → 0.11.16

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 (148) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +6 -6
  2. package/dist/cjs/buffer-tools_2.cjs.entry.js +1 -1
  3. package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
  4. package/dist/cjs/create-feature_4.cjs.entry.js +7 -8
  5. package/dist/cjs/create-related-feature_3.cjs.entry.js +12 -8
  6. package/dist/cjs/crowdsource-reporter.cjs.entry.js +20 -16
  7. package/dist/cjs/feature-list.cjs.entry.js +141 -7
  8. package/dist/cjs/json-editor_7.cjs.entry.js +7 -7
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
  11. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  12. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  13. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  14. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  15. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  16. package/dist/cjs/solution-item-accordion.cjs.entry.js +33 -2
  17. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  18. package/dist/cjs/solutions-components.cjs.js +1 -1
  19. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  20. package/dist/collection/assets/t9n/feature-list/resources.json +3 -1
  21. package/dist/collection/assets/t9n/feature-list/resources_en.json +3 -1
  22. package/dist/collection/components/create-feature/create-feature.js +5 -6
  23. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +40 -16
  24. package/dist/collection/components/feature-details/feature-details.js +30 -6
  25. package/dist/collection/components/feature-list/feature-list.css +16 -6
  26. package/dist/collection/components/feature-list/feature-list.js +162 -6
  27. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  28. package/dist/collection/components/info-card/info-card.js +2 -2
  29. package/dist/collection/components/json-editor/json-editor.js +1 -1
  30. package/dist/collection/components/layer-list/layer-list.css +2 -2
  31. package/dist/collection/components/layer-list/layer-list.js +1 -1
  32. package/dist/collection/components/layer-table/layer-table.js +2 -2
  33. package/dist/collection/components/map-card/map-card.js +1 -1
  34. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  35. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  36. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  37. package/dist/collection/components/map-legend/map-legend.js +1 -1
  38. package/dist/collection/components/map-picker/map-picker.js +1 -1
  39. package/dist/collection/components/map-search/map-search.js +1 -1
  40. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  41. package/dist/collection/components/map-tools/map-tools.js +1 -1
  42. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  43. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  44. package/dist/collection/components/public-notification/public-notification.js +1 -1
  45. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  46. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  47. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  48. package/dist/collection/components/solution-item/solution-item.js +1 -1
  49. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +78 -2
  50. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  51. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  52. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  53. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  54. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  55. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  56. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  57. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  58. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  59. package/dist/collection/demos/crowdsource-reporter.html +1 -0
  60. package/dist/collection/demos/solution-item-accordion.html +12 -1
  61. package/dist/components/create-feature2.js +5 -6
  62. package/dist/components/crowdsource-reporter.js +21 -16
  63. package/dist/components/feature-details2.js +11 -6
  64. package/dist/components/feature-list2.js +144 -7
  65. package/dist/components/floor-filter2.js +1 -1
  66. package/dist/components/info-card2.js +2 -2
  67. package/dist/components/json-editor2.js +1 -1
  68. package/dist/components/layer-list2.js +2 -2
  69. package/dist/components/layer-table2.js +2 -2
  70. package/dist/components/map-card2.js +1 -1
  71. package/dist/components/map-draw-tools2.js +1 -1
  72. package/dist/components/map-fullscreen2.js +1 -1
  73. package/dist/components/map-layer-picker2.js +1 -1
  74. package/dist/components/map-legend2.js +1 -1
  75. package/dist/components/map-picker2.js +1 -1
  76. package/dist/components/map-search2.js +1 -1
  77. package/dist/components/map-select-tools2.js +1 -1
  78. package/dist/components/map-tools2.js +1 -1
  79. package/dist/components/pci-calculator.js +1 -1
  80. package/dist/components/pdf-download2.js +1 -1
  81. package/dist/components/public-notification.js +1 -1
  82. package/dist/components/refine-selection2.js +1 -1
  83. package/dist/components/solution-configuration.js +3 -3
  84. package/dist/components/solution-contents2.js +1 -1
  85. package/dist/components/solution-item-accordion.js +36 -3
  86. package/dist/components/solution-item-details2.js +1 -1
  87. package/dist/components/solution-item-icon2.js +1 -1
  88. package/dist/components/solution-item-sharing2.js +1 -1
  89. package/dist/components/solution-item2.js +1 -1
  90. package/dist/components/solution-organization-variables2.js +1 -1
  91. package/dist/components/solution-resource-item2.js +1 -1
  92. package/dist/components/solution-spatial-ref2.js +1 -1
  93. package/dist/components/solution-template-data2.js +1 -1
  94. package/dist/components/solution-variables2.js +1 -1
  95. package/dist/components/spatial-ref.js +1 -1
  96. package/dist/esm/basemap-gallery_7.entry.js +6 -6
  97. package/dist/esm/buffer-tools_2.entry.js +1 -1
  98. package/dist/esm/card-manager_3.entry.js +3 -3
  99. package/dist/esm/create-feature_4.entry.js +7 -8
  100. package/dist/esm/create-related-feature_3.entry.js +12 -8
  101. package/dist/esm/crowdsource-reporter.entry.js +20 -16
  102. package/dist/esm/feature-list.entry.js +141 -7
  103. package/dist/esm/json-editor_7.entry.js +7 -7
  104. package/dist/esm/loader.js +1 -1
  105. package/dist/esm/map-layer-picker.entry.js +1 -1
  106. package/dist/esm/map-select-tools_3.entry.js +3 -3
  107. package/dist/esm/pci-calculator.entry.js +1 -1
  108. package/dist/esm/public-notification.entry.js +1 -1
  109. package/dist/esm/solution-configuration.entry.js +3 -3
  110. package/dist/esm/solution-contents_3.entry.js +3 -3
  111. package/dist/esm/solution-item-accordion.entry.js +33 -2
  112. package/dist/esm/solution-item-icon.entry.js +1 -1
  113. package/dist/esm/solutions-components.js +1 -1
  114. package/dist/esm/spatial-ref.entry.js +1 -1
  115. package/dist/solutions-components/assets/t9n/feature-list/resources.json +3 -1
  116. package/dist/solutions-components/assets/t9n/feature-list/resources_en.json +3 -1
  117. package/dist/solutions-components/demos/crowdsource-reporter.html +1 -0
  118. package/dist/solutions-components/demos/solution-item-accordion.html +12 -1
  119. package/dist/solutions-components/{p-c1a752b9.entry.js → p-182a4844.entry.js} +1 -1
  120. package/dist/solutions-components/{p-8ab5efc1.entry.js → p-1fb25c0c.entry.js} +1 -1
  121. package/dist/solutions-components/p-20bd829d.entry.js +6 -0
  122. package/dist/solutions-components/{p-f9b7f97e.entry.js → p-282a3090.entry.js} +1 -1
  123. package/dist/solutions-components/p-3ab93412.entry.js +6 -0
  124. package/dist/solutions-components/p-433b34a3.entry.js +6 -0
  125. package/dist/solutions-components/{p-7e1c353c.entry.js → p-442b2dfb.entry.js} +1 -1
  126. package/dist/solutions-components/p-5b3ee71d.entry.js +6 -0
  127. package/dist/solutions-components/{p-0d110867.entry.js → p-65df6acd.entry.js} +1 -1
  128. package/dist/solutions-components/{p-f64eeaad.entry.js → p-75fabd1c.entry.js} +1 -1
  129. package/dist/solutions-components/{p-88de10d1.entry.js → p-a5618671.entry.js} +1 -1
  130. package/dist/solutions-components/p-b66a3619.entry.js +6 -0
  131. package/dist/solutions-components/{p-340c71f3.entry.js → p-b8dde3e5.entry.js} +1 -1
  132. package/dist/solutions-components/{p-256ce5cc.entry.js → p-ec7c3f5c.entry.js} +1 -1
  133. package/dist/solutions-components/{p-a5c51211.entry.js → p-f3ee7398.entry.js} +1 -1
  134. package/dist/solutions-components/{p-da1ac695.entry.js → p-fe9c9f03.entry.js} +1 -1
  135. package/dist/solutions-components/{p-2b9d58dc.entry.js → p-ff0b00d7.entry.js} +1 -1
  136. package/dist/solutions-components/solutions-components.esm.js +1 -1
  137. package/dist/solutions-components_commit.txt +6 -8
  138. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +8 -4
  139. package/dist/types/components/feature-details/feature-details.d.ts +4 -0
  140. package/dist/types/components/feature-list/feature-list.d.ts +52 -0
  141. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +12 -0
  142. package/dist/types/components.d.ts +33 -0
  143. package/package.json +1 -1
  144. package/dist/solutions-components/p-0e3b3aa8.entry.js +0 -6
  145. package/dist/solutions-components/p-47abefd3.entry.js +0 -6
  146. package/dist/solutions-components/p-8169d4af.entry.js +0 -6
  147. package/dist/solutions-components/p-b0551d23.entry.js +0 -6
  148. package/dist/solutions-components/p-d32b5127.entry.js +0 -6
@@ -293,7 +293,7 @@ const FloorFilter = class {
293
293
  * Renders the component.
294
294
  */
295
295
  render() {
296
- return (index.h(index.Host, { key: '51da7a656e7f56ecc8cc4093d3dab856f77b5c7a' }, index.h("div", { key: 'd2fda7047f09a673216484f5c202f039fca20108', ref: (el) => { this._floorFilterElement = el; } })));
296
+ return (index.h(index.Host, { key: 'b2ba7504abbc8621f2ad4f561920f2125181350d' }, index.h("div", { key: '1df2a06b4b99ba0ece38ca3d91b622ce9b692c4a', ref: (el) => { this._floorFilterElement = el; } })));
297
297
  }
298
298
  /**
299
299
  * StencilJS: Called once just after the component is first loaded.
@@ -476,7 +476,7 @@ const MapFullscreen = class {
476
476
  * Renders the component.
477
477
  */
478
478
  render() {
479
- return (index.h(index.Host, { key: '657b81420a155322e56e3cb20b8656605233c0d4' }, index.h("div", { key: '5ebf1f1b368f1d32bbcc4d8b1380d4aa7b985ab1', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
479
+ return (index.h(index.Host, { key: '50488298d31b85071bb8ec898781b8af52a800ae' }, index.h("div", { key: '24b4c28cd69ce487c851412a839f6762ceaf02b1', class: "fullscreen-widget", ref: (el) => { this._fullscreenElement = el; } })));
480
480
  }
481
481
  /**
482
482
  * StencilJS: Called just after the component updates.
@@ -616,7 +616,7 @@ const MapLegend = class {
616
616
  * StencilJS: Renders the component.
617
617
  */
618
618
  render() {
619
- return (index.h(index.Host, { key: 'dd7414c2dccf150f1d47d8f9491d89905feb64af' }, index.h("div", { key: '16951986e7602ea0b66a3f55ee1a678cc0af84ce', ref: (el) => { this._legendElement = el; } })));
619
+ return (index.h(index.Host, { key: '60b355f71d25b3c683f6218941e342899006d839' }, index.h("div", { key: '7686d302e16fd42cd26777d14c682dc0e951c058', ref: (el) => { this._legendElement = el; } })));
620
620
  }
621
621
  /**
622
622
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -816,7 +816,7 @@ const MapPicker = class {
816
816
  * Renders the component.
817
817
  */
818
818
  render() {
819
- return (index.h(index.Host, { key: 'f02389d06d3e4030387c0cded08b665fe8ee36eb' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
819
+ return (index.h(index.Host, { key: 'a16cef5d3d16de605f51ce77450365e8c7f5ba08' }, this._getToolbar(), this._getMapNameList(this._mapListExpanded)));
820
820
  }
821
821
  /**
822
822
  * Called once after the component has loaded
@@ -1044,7 +1044,7 @@ const MapSearch = class {
1044
1044
  * Renders the component.
1045
1045
  */
1046
1046
  render() {
1047
- return (index.h(index.Host, { key: '9c344160df28da3a895a9b7c3c7e32b8a43fa6b8' }, index.h("div", { key: 'd98417c82b0fae1c7abc5ef54886579182d5464a', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
1047
+ return (index.h(index.Host, { key: 'fec180c41817a6388f5fdb3f14b72355cbbb1467' }, index.h("div", { key: '72b3931995d7157572d54069e73fb6bd95eb6f44', class: "search-widget", ref: (el) => { this._searchElement = el; } })));
1048
1048
  }
1049
1049
  //--------------------------------------------------------------------------
1050
1050
  //
@@ -1441,7 +1441,7 @@ const MapTools = class {
1441
1441
  const toolMarginClass = this.enableSingleExpand ? "margin-top-1-2" : "";
1442
1442
  const toolOrder = this.toolOrder ? this.toolOrder : ["legend", "search", "fullscreen", "floorfilter"];
1443
1443
  const shadowClass = this.stackTools ? "box-shadow" : "";
1444
- return (index.h(index.Host, { key: '2fc2ec5b50545b65962e3942512a935e4017908d' }, index.h("div", { key: 'aa7824c19b2dbdaf7e21d1bc59dd066f2b3623b5', class: containerClass }, this.enableSingleExpand ? (index.h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, index.h("div", { key: '7cd0c1f2f69cf961c11c7b8b3c1989342a300f77', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), index.h("basemap-gallery", { key: 'f6c9fc50b1e8360d4d60df85bd0c2341a0504fcf', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), index.h("map-search", { key: '3e231e74bff5d0b373e6105b738a27aeef880094', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), index.h("map-legend", { key: 'ce1388b4892e6870ac3a38399e5ad619ab843be1', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), index.h("map-fullscreen", { key: '414ea8be82bbc1a9fd7f9ab63f5c1ee7e3dc25b1', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), index.h("floor-filter", { key: '9dcada2a4f2cd48a1db01d26b74b75aa09f37f8b', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
1444
+ return (index.h(index.Host, { key: '4630a876708781097e02cf1aa94a3f77e30c0fee' }, index.h("div", { key: '28be602bad246ef82214f3724aaf5f8480473456', class: containerClass }, this.enableSingleExpand ? (index.h("div", { class: "box-shadow" }, this._getActionGroup(toggleIcon, false, expandTip, () => this._toggleTools()))) : undefined, index.h("div", { key: '25694e233efe5b917f0a4b25cc4c707c0584cae4', class: `${toolMarginClass} ${shadowClass} ${toolsClass}` }, this._getMapWidgets(toolOrder))), index.h("basemap-gallery", { key: 'db1c9cd3e1851957f9be86d43dc94355f6894a26', basemapConfig: this.basemapConfig, class: basemapClass, mapView: this.mapView, ref: (el) => { this._basemapElement = el; } }), index.h("map-search", { key: '558c28360b5e295a886becff4a07c5ec3d22c570', class: searchClass, mapView: this.mapView, ref: (el) => { this._searchElement = el; }, resultGraphicEnabled: true, searchConfiguration: this.searchConfiguration }), index.h("map-legend", { key: '8e9a8c3e0619773b10ed51543717c2c63d7caa7a', class: legendClass, mapView: this.mapView, ref: (el) => { this._legendElement = el; } }), index.h("map-fullscreen", { key: '0fba4904ba25f4122e57dc77f3bc64f2bd59d7c1', class: fullscreenClass, mapView: this.mapView, onFullscreenStateChange: (evt) => this._fullscreenStateChange(evt.detail), ref: (el) => { this._fullscreenElement = el; } }), index.h("floor-filter", { key: '696d3bc16a3464770e96a45af8224537550c90a2', class: floorFilterClass, enabled: this.enableFloorFilter, mapView: this.mapView, ref: (el) => { this._floorFilterElement = el; } })));
1445
1445
  }
1446
1446
  //--------------------------------------------------------------------------
1447
1447
  //
@@ -570,7 +570,7 @@ const MapDrawTools = class {
570
570
  "border" : "border esri-widget esri-sketch__panel";
571
571
  const undoRedoClass = this.drawMode === interfaces.EDrawMode.SKETCH ?
572
572
  "display-none" : "esri-widget esri-sketch__panel border-left esri-sketch__section";
573
- return (index.h(index.Host, { key: '55983c5e2102a1bc5c1936946a6c343d8b5e6ce4' }, index.h("div", { key: 'd0cd16b9f3d1386ce39236aacd7cd1ef9e585a55', class: containerClass }, index.h("div", { key: 'cbeea2fc130e72a2b1739702cf49e35b798975ed', ref: (el) => { this._sketchElement = el; } }), index.h("div", { key: '50a103c4b4daf46f8da6607d6820545b44128aeb', class: undoRedoClass }, index.h("calcite-action", { key: '35f3767f23b1e86545df36b765571f90a2f2fa32', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { key: '28961fa0141eda4848257fe7dd40e4c5a22ed65b', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
573
+ return (index.h(index.Host, { key: 'da7ef0973544c8b88ced49ef8c5a89b5d5cf48ea' }, index.h("div", { key: '6cf3a4276a2a319c6f1a74d2824b0bb3003c9f9b', class: containerClass }, index.h("div", { key: 'dade38f4d01fa7c28915a4fce879f9383d5892b9', ref: (el) => { this._sketchElement = el; } }), index.h("div", { key: '6e2fbb2dcfb2e4e51f35aa615c0003a65fa3bd66', class: undoRedoClass }, index.h("calcite-action", { key: '8156802d2740aaa483e4f312cadadc5744f13486', disabled: !this.undoEnabled, icon: "undo", onClick: () => this._undo(), scale: "s", text: this._translations.undo }), index.h("calcite-action", { key: 'cd05845f66e187a317215e18d6a18696328960bf', disabled: !this.redoEnabled, icon: "redo", onClick: () => this._redo(), scale: "s", text: this._translations.redo })))));
574
574
  }
575
575
  //--------------------------------------------------------------------------
576
576
  //
@@ -988,8 +988,8 @@ const LayerTable = class {
988
988
  const tableHeightClass = this.isMobile ? "height-full" : "height-full-adjusted";
989
989
  const showSearch = this._canShowFullTextSearch();
990
990
  this._validateActiveActions();
991
- return (index.h(index.Host, { key: 'f51377beacfa93e7f6faccb054748c33f0fe41e2' }, index.h("div", { key: '1c4745468d68c3394d2479ddc0128cee2f8f8119' }, index.h("calcite-scrim", { key: '107f64b58b12fd258cdd6cac17ab671f3bf761b9', class: scrimClass, loading: this._queryingData }), index.h("calcite-shell", { key: '770b53edf5626c49f941f46cf120fe97cb5161a2' }, this._getTableControlRow("header"), index.h("div", { key: '452b1d740d7e1e3a27fcdc0366fbe4f3cfb6d2e3', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: '63b8dd565344f7a04f42bd6ec63596a0599095bc', class: "height-full width-full" }, showSearch &&
992
- index.h("div", { key: 'c2fc7178a79e00527ed1d383bd54788e476dc7a5', class: "search-container" }, index.h("calcite-input", { key: 'b8e81f96528ebf2cdb3650b6ef0492c9f492c5c7', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), index.h("calcite-loader", { key: 'bce4751b3d1d568f916d40e50893b88cb84b4b70', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '9fdcdfec8f715b68e01ec75a328d4b91ad4975ea', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
991
+ return (index.h(index.Host, { key: '68d6d57fbc9122b15340e0be3426ad00d398c7b2' }, index.h("div", { key: 'c4839ef8df0c5d3937b68c444264ce3bbb5c808d' }, index.h("calcite-scrim", { key: 'd4fa1a66ddcc5d0e83ee4ee43b2a3230e7f0298f', class: scrimClass, loading: this._queryingData }), index.h("calcite-shell", { key: '2ae1aee8a242902f3fbc9a1a19b62a8b721e5de7' }, this._getTableControlRow("header"), index.h("div", { key: '73d424f4bb07f56245c2c0858544d6cb7d9fcc74', class: `width-full ${tableHeightClass}` }, index.h("calcite-panel", { key: 'a2404478e2daf5ebac1ff3ac10378a98c868bcb2', class: "height-full width-full" }, showSearch &&
992
+ index.h("div", { key: 'e18c71ccab7853438c51fe7168b7a98087d215e2', class: "search-container" }, index.h("calcite-input", { key: '39ecb52bacd4560a94310a56faf084941aa44a2a', class: "search", clearable: true, icon: "search", onCalciteInputChange: (evt) => void this._searchTextChanged(evt), placeholder: this._searchPlaceHolder, title: this._searchPlaceHolder, type: "search" })), index.h("calcite-loader", { key: 'ce2aeb5e108b1d76da8694a071dcd46098e6bb28', class: loadingClass, label: this._translations.fetchingData, scale: "l" }), index.h("div", { key: '78e596cb45427bb9d21a11368361f67e1ed306a5', class: tableNodeClass, ref: this.onTableNodeCreate }))), !this.isMobile ? (index.h("div", { class: "bottom-left text-color height-19" }, this._translations.recordsSelected
993
993
  .replace("{{total}}", total)
994
994
  .replace("{{selected}}", selected))) : undefined), this.createFilterModal && this._filterModal())));
995
995
  }
@@ -2984,7 +2984,7 @@ const MapCard = class {
2984
2984
  const mapHeightClass = this.mapInfos?.length > 1 || this.isMapLayout ? "map-height" : "height-full";
2985
2985
  const progressClass = this.isMapLayout ? "" : "display-none";
2986
2986
  this._validateActiveActions();
2987
- return (index.h(index.Host, { key: 'c75f46c3c93b03c8ffbd63b281623a63ea790ca7' }, index.h("div", { key: '786c752edecfc230c0c80ef221160c8f91ca2013', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), index.h("calcite-progress", { key: '73fc88be2657f9f2483c624b2251192b318705e6', class: progressClass, value: 0 }), index.h("div", { key: '196fdeb21377ff9cd67327c8172ef96371e4397f', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { key: 'edf7abde0350d0627fc84ae05c829885e37a4624', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
2987
+ return (index.h(index.Host, { key: 'a47f4ac21db985fb91ff3f5378594f60405f312c' }, index.h("div", { key: 'fdf76fd829a8e88725b43f8174a0d95fbf7a3dd1', class: `${mapContainerClass} width-full`, ref: (el) => this._toolbar = el }, this._getActionBar(), !this.isMobile && this.isMapLayout && this._getDropdown("more-table-options"), this.enableShare && !this.isMobile && this.isMapLayout ? this._getShare("share") : undefined), index.h("calcite-progress", { key: 'b5b672726b4a4c812c386faad2077135a1e1231c', class: progressClass, value: 0 }), index.h("div", { key: 'f815ef4dba45b53c0ec4a49fe12e741b3331ce51', class: `${mapHeightClass} ${mapClass}`, ref: (el) => (this._mapDiv = el) }), index.h("map-tools", { key: '8e2ed31f49d349786caa4827a473a8e70e6ae611', basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableHome: this.enableHome, enableLegend: this.enableLegend, enableSearch: this.enableSearch, enableSingleExpand: this.enableSingleExpand, homeZoomToolsSize: this.homeZoomToolsSize, locale: this.locale, mapView: this.mapView, mapWidgetsSize: this.mapWidgetsSize, position: this.mapWidgetsPosition, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration, stackTools: this.stackTools, toolOrder: this.toolOrder })));
2988
2988
  }
2989
2989
  /**
2990
2990
  * Called each time after the component is loaded
@@ -476,7 +476,7 @@ const CreateFeature = class {
476
476
  //Add handle to watch featureTemplatesViewModel ready state and then start the creation
477
477
  const handle = this.reactiveUtils.watch(() => this._editor.viewModel.featureTemplatesViewModel.state, (state) => {
478
478
  if (state === 'ready' && this._editor.viewModel?.activeWorkflow?.type !== "create-features") {
479
- this.progressStatus.emit(0.5);
479
+ this.progressStatus.emit(50);
480
480
  this._editorLoading = true;
481
481
  }
482
482
  });
@@ -490,7 +490,7 @@ const CreateFeature = class {
490
490
  void this._setFloorLevel(this.floorLevel);
491
491
  }, 50);
492
492
  this._currentPage = 'featureForm';
493
- this.progressStatus.emit(1);
493
+ this.progressStatus.emit(100);
494
494
  this.drawComplete.emit();
495
495
  }
496
496
  });
@@ -517,11 +517,11 @@ const CreateFeature = class {
517
517
  await this.hideEditorsElements();
518
518
  return new Promise((resolve, reject) => {
519
519
  if (this._editor.viewModel.featureTemplatesViewModel.items?.length) {
520
- const items = this._editor.viewModel.featureTemplatesViewModel.items[0].get("items");
520
+ const items = this._editor.viewModel.featureTemplatesViewModel.items[0].items;
521
521
  //once the feature template is selected handle the event for formSubmit and sketch complete
522
522
  //also, hide the headers and footer in the editor as we will be showing our own submit and cancel button
523
523
  this._editor.viewModel.featureTemplatesViewModel.on('select', () => {
524
- this.progressStatus.emit(0.75);
524
+ this.progressStatus.emit(75);
525
525
  setTimeout(() => {
526
526
  //hides the header and footer elements in editor widget
527
527
  this.hideEditorsElements().then(() => {
@@ -714,9 +714,8 @@ const CreateFeature = class {
714
714
  this._isSubmitBtnClicked = false;
715
715
  return;
716
716
  }
717
- //Submit only when valid attributes
718
717
  //emit success or fail based on the result
719
- if (evt.valid.length && this._isSubmitBtnClicked) {
718
+ if (this._isSubmitBtnClicked) {
720
719
  this._isSubmitBtnClicked = false;
721
720
  try {
722
721
  await this._editor.activeWorkflow.commit();
@@ -1566,8 +1565,8 @@ const InfoCard = class {
1566
1565
  const id = this._features?.selectedFeature?.getObjectId();
1567
1566
  const ids = parseInt(id?.toString(), 10) > -1 ? [id] : [];
1568
1567
  const deleteEnabled = this._layer?.editingEnabled && this._layer?.capabilities?.operations?.supportsDelete;
1569
- return (index.h(index.Host, { key: '54e47d0ec2be9149c3e667c9e940842804d96964' }, index.h("calcite-shell", { key: '14bb280d394ceaa74463979886ab09cdf393b26e', style: { position: this.position } }, this._getHeader(), index.h("calcite-loader", { key: '3226709e73de16c795c348513183b26b88b7a726', class: loadingClass, label: this._translations.fetchingData }), index.h("div", { key: 'ba4b0c34620c60e849bdf0ada785b9976156dd1c', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), index.h("div", { key: '440a4d3c0530f97031df2e2ab9511ef6035fb5da', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1570
- index.h("div", { key: '172b2e2cc10bdfb104057376ceba5d7f5f19ad61', class: "display-flex top-border padding-1-2" }, index.h("calcite-button", { key: '242daf0ec6c3fe4fcc11be4bbc19f810836714ec', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (index.h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, locale: this.locale, onEditsComplete: () => this._closePopup() })) : undefined, index.h("calcite-tooltip", { key: '760f8fcd1bcff2060e0a98e84a222107e55fef22', placement: "bottom", "reference-element": "solutions-edit" }, index.h("span", { key: '30656b92e9bdbf3a9548586d91fc23bce2da9db3' }, this._translations.edit)), this.isMobile && deleteEnabled ? (index.h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, index.h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && index.h("div", { key: '0d119d7d093abfbdd6eb93bf6987be2b106a8c78', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, index.h("div", { key: '7b353bc77ef8f816c39a4b5232160755fbea42fe' }, index.h("calcite-button", { key: '58d9b335eaf691672695bfed171cdd5aaf638aec', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), index.h("calcite-tooltip", { key: 'c5f110544d2c630d374f1c57112a16f3e82d67ca', placement: "top", "reference-element": "solutions-back" }, index.h("span", { key: '1818844f2daf4afa73677ea6b58392b5a5ec50b3' }, this._translations.back))), index.h("calcite-action", { key: '36c5dd00320f52eb3421532c7df8f60ccede5230', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, index.h("span", { key: 'b13cc04e8f093a7a0b9da8ee425d436a0c2fe26a', class: "pagination-count" }, this._count)), index.h("div", { key: '7c79b82a8ba2bd4eea11a722d67e549121a95679' }, index.h("calcite-button", { key: '3ff6b99d1743a9ff6a171aea4715199606a21dc6', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), index.h("calcite-tooltip", { key: '0239927bac7e75a35a811aa695c8c55fda5f9b68', placement: "top", "reference-element": "solutions-next" }, index.h("span", { key: 'a5bafe4d001d80a1a46de5f9eb10fb4306783e38' }, this._translations.next))))), index.h("edit-card", { key: 'daaef8c4af1b3567904e5d9590b80069035e93a0', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), index.h("calcite-alert", { key: '9af909318e687b66d239f64f800b375825ee94e0', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, index.h("div", { key: '0a2ac2b669df18fe75adbcc0e84ab7b15a766932', slot: "title" }, this._translations.editDisabled), index.h("div", { key: '6dd20d646e9754fbaee4dd6c6f8e51964d2f41ff', slot: "message" }, this._translations.enableEditing)))));
1568
+ return (index.h(index.Host, { key: '66070d48134f89d9cf132572fe1adf790b6d3ec6' }, index.h("calcite-shell", { key: 'b77248dce176df940d8b0c347154b73738a5576d', style: { position: this.position } }, this._getHeader(), index.h("calcite-loader", { key: 'c1638ca8320a0ae12a9ccd1fd8841efde4236ba5', class: loadingClass, label: this._translations.fetchingData }), index.h("div", { key: 'cf5ee3be5c0ea3be36205dcf7c0747461802a5f1', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), index.h("div", { key: '6fbfa6947fa0fdb1b14a03217da60f07ecff2e1b', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1569
+ index.h("div", { key: 'fdcb078c3b3f183b06dc3a48d27fee46e3a4fffa', class: "display-flex top-border padding-1-2" }, index.h("calcite-button", { key: '7193bec80a40f353d24e5d327d99d94a2c5ff356', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (index.h("delete-button", { class: "padding-inline-start-1 width-100", id: "solutions-delete", ids: ids, layer: this._layer, locale: this.locale, onEditsComplete: () => this._closePopup() })) : undefined, index.h("calcite-tooltip", { key: '228a9691edd916a5d644cb19db24898cdf7cab3b', placement: "bottom", "reference-element": "solutions-edit" }, index.h("span", { key: '5c696df370bcf230d3fc06523ec3cb9d96f2fe2b' }, this._translations.edit)), this.isMobile && deleteEnabled ? (index.h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, index.h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && index.h("div", { key: 'e1b829a888913af6a9d777a2df0d65571ac3bec1', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, index.h("div", { key: '8746737a103266efe64a8f80c2359f9e170586d5' }, index.h("calcite-button", { key: 'ac6fc23dc2831608cc9c86fe384c0a927cd7d7ac', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), index.h("calcite-tooltip", { key: 'd4a1e2753c35e97064ca66d5c30deccd532fb158', placement: "top", "reference-element": "solutions-back" }, index.h("span", { key: 'caae32b5e32a0d89265293beccef157d227a7600' }, this._translations.back))), index.h("calcite-action", { key: 'a87f344a06896ad86886815254979793b057e4cd', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, index.h("span", { key: '6e6f84ebedb2540edb485fa0789fe8ea67e7188f', class: "pagination-count" }, this._count)), index.h("div", { key: '6acf22348a508c921865bb4c7e531f9a826a8eed' }, index.h("calcite-button", { key: 'f1d763e1747cff7e0b6bec08ec4fade3d1582379', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), index.h("calcite-tooltip", { key: 'def93e3d1f19b4e6eb3e54c5fbd918fed118cc0c', placement: "top", "reference-element": "solutions-next" }, index.h("span", { key: 'cb9b90a5b3129861b7f58fd0271c6120893dfd53' }, this._translations.next))))), index.h("edit-card", { key: '524819a6dc64775b88b22aaf24445fd5ebdeae24', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: this._features?.selectedFeatureIndex, graphics: this.graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), index.h("calcite-alert", { key: '394c3b416a5dc94381c8b93afd3308121fbebd81', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, index.h("div", { key: 'f4868bf3b710d91ed7e3f1e34b846bd408febac0', slot: "title" }, this._translations.editDisabled), index.h("div", { key: '457b7d0c76bfac52340bec73f5d1d2abbd10f25a', slot: "message" }, this._translations.enableEditing)))));
1571
1570
  }
1572
1571
  //--------------------------------------------------------------------------
1573
1572
  //
@@ -440,6 +440,10 @@ const FeatureDetails = class {
440
440
  * boolean: When true the profile image of the comment creator will be shown in the comments list
441
441
  */
442
442
  showUserImageInCommentsList = false;
443
+ /**
444
+ * boolean: When false comment will shown in single line in the comments list
445
+ */
446
+ showFullCommentTitle = true;
443
447
  //--------------------------------------------------------------------------
444
448
  //
445
449
  // State (internal)
@@ -617,12 +621,12 @@ const FeatureDetails = class {
617
621
  render() {
618
622
  //When related features found show comments list of only those features else comments list will be empty
619
623
  const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
620
- return (index.h("calcite-panel", { key: 'be7bebe9da698d963a2602fcacb95ac7206ac1e9', "full-height": true }, index.h("info-card", { key: '1e069f52d59d42f3e2b88463ea7c536c65a0a6b5', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
621
- index.h("div", { key: 'd53f5a1726e4c6299ffd04e266d84005181645f6', class: "buttons-container" }, this._commentsAvailable &&
622
- index.h("calcite-button", { key: '4c2616cc9e0107258f5313b66ae96fa31fe582c5', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
623
- index.h("calcite-button", { key: '7c87aa085df04a8b58625097c2ce70e5853b82f9', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, this._likeCount ?? this._selectedGraphic.attributes[this._likeField] ?? 0), this._dislikeFieldAvailable &&
624
- index.h("calcite-button", { key: '59eb48b91fc2a394cafdcbeeebf5baafae9a8c9b', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, this._disLikeCount ?? this._selectedGraphic.attributes[this._dislikeField] ?? 0)), this.relatedTableId && this._commentsAvailable &&
625
- index.h("feature-list", { key: 'f34ee203202944666c40e14bdfdc59265414fbe1', class: "height-full", locale: this.locale, mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
624
+ return (index.h("calcite-panel", { key: '577f06f7bc41875b38e07a44f3c734ccc839e596', "full-height": true }, index.h("info-card", { key: 'e815f75d02bcdfe9cc11796c913be2a6c2bfecd2', allowEditing: false, graphics: this.graphics, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, onSelectionChanged: (e) => { this.featureSelectionChange.emit(e.detail); }, paginationEnabled: false, position: "relative", ref: el => this._infoCard = el }), (this._likeFieldAvailable || this._dislikeFieldAvailable || this._commentsAvailable) &&
625
+ index.h("div", { key: '16d0af6b0e75b595573bd0816744f03d9d6dec37', class: "buttons-container" }, this._commentsAvailable &&
626
+ index.h("calcite-button", { key: '550b3af830911a1437fa3e967492666ec8c5a2e4', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
627
+ index.h("calcite-button", { key: '741848445c2083f4c0a3d9464cd810deee4a1218', appearance: "transparent", iconEnd: "thumbs-up", kind: this._isLikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onLikeButtonClick.bind(this), scale: 'm' }, this._likeCount ?? this._selectedGraphic.attributes[this._likeField] ?? 0), this._dislikeFieldAvailable &&
628
+ index.h("calcite-button", { key: '4d5e8ae279559dbf981b1b91238706adbd6ebeef', appearance: "transparent", iconEnd: "thumbs-down", kind: this._isDislikeBtnClicked ? "brand" : "neutral", loading: this._updating, onClick: this.onDislikeButtonClick.bind(this), scale: 'm' }, this._disLikeCount ?? this._selectedGraphic.attributes[this._dislikeField] ?? 0)), this.relatedTableId && this._commentsAvailable &&
629
+ index.h("feature-list", { key: '0daad9b37b13a05afc4b8a3a6eca70a7356afd8f', class: "height-full", locale: this.locale, mapView: this.mapView, onFeatureSelect: (e) => { this.commentSelect.emit(e.detail); }, pageSize: 5, ref: el => this._commentsList = el, selectedLayerId: this.relatedTableId, showErrorWhenNoFeatures: false, showFullTitle: this.showFullCommentTitle, showInitialLoading: false, showUserImageInList: this.showUserImageInCommentsList, textSize: "small", whereClause: commentsListWhereClause })));
626
630
  }
627
631
  /**
628
632
  * Load esri javascript api modules
@@ -897,7 +901,7 @@ const FeatureDetails = class {
897
901
  };
898
902
  FeatureDetails.style = FeatureDetailsStyle0;
899
903
 
900
- const layerListCss = ":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;padding:10px 12px}.feature-count{padding-right:12px}";
904
+ const layerListCss = ":host{display:block}.error-msg{padding:10px}.layer-name{font-weight:500;word-break:break-word}.feature-count{padding:0 10px}";
901
905
  const LayerListStyle0 = layerListCss;
902
906
 
903
907
  const LayerList = class {
@@ -1137,7 +1141,7 @@ const LayerList = class {
1137
1141
  getLayerListItem(layerId) {
1138
1142
  const layerName = this._layerItemsHash[layerId].name;
1139
1143
  const featureCount = this._layerItemsHash[layerId].formattedFeatureCount;
1140
- return (index.h("calcite-list-item", { onCalciteListItemSelect: () => { this.onLayerItemSelected(layerId); } }, index.h("div", { class: "layer-name", slot: "content-start" }, layerName), this.showFeatureCount && featureCount !== undefined && featureCount !== "" && index.h("div", { class: !this.showNextIcon ? "feature-count" : "", slot: "content-end" }, "(" + featureCount + ")"), this.showNextIcon && index.h("calcite-icon", { flipRtl: true, icon: "chevron-right", scale: "s", slot: "content-end" })));
1144
+ return (index.h("calcite-list-item", { onCalciteListItemSelect: () => { this.onLayerItemSelected(layerId); } }, index.h("div", { class: "layer-name", slot: "content-start" }, layerName), this.showFeatureCount && featureCount !== undefined && featureCount !== "" && index.h("div", { class: "feature-count", slot: "content-end" }, "(" + featureCount + ")"), this.showNextIcon && index.h("calcite-icon", { flipRtl: true, icon: "chevron-right", scale: "s", slot: "content-end" })));
1141
1145
  }
1142
1146
  /**On click of layer list item emit the event along with the selected layerId and layerName
1143
1147
  * @param layerId Layer id
@@ -164,6 +164,10 @@ const CrowdsourceReporter = class {
164
164
  * string: selected floor level
165
165
  */
166
166
  floorLevel;
167
+ /**
168
+ * boolean: When false comment will shown in single line in the comments list
169
+ */
170
+ showFullCommentTitle = true;
167
171
  //--------------------------------------------------------------------------
168
172
  //
169
173
  // State (internal)
@@ -217,7 +221,7 @@ const CrowdsourceReporter = class {
217
221
  /**
218
222
  * number: Show the updated progress bar status
219
223
  */
220
- _updatedProgressBarStatus = 0.25;
224
+ _updatedProgressBarStatus = 25;
221
225
  /**
222
226
  * ISortingInfo: Sort the feature list depending on the sort field and order
223
227
  */
@@ -530,7 +534,7 @@ const CrowdsourceReporter = class {
530
534
  */
531
535
  render() {
532
536
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
533
- return (index.h(index.Host, { key: '42f88dcb756add8af6af0936b7ef9aef47a43236' }, this._reportSubmitted && index.h("calcite-alert", { key: '7d5c337096d2e3562bd133d5313acc34f941b8f2', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '4ece38e9af3c6eba4e89cf96ca8fe82a96116bcb', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: '6c93202ccab7729a523f51f816279df0e7e2f4d4', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: 'cba71216aa8aa01098b2f9c6295341b9d501372d', slot: "title" }, this._translations.error), index.h("div", { key: '3d457cfb00cc11208c34a121af6c5592d9540a04', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: 'f782a94f3e4ea2252b92e6aa1c65d565dcf95b7b', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '57d71698daf2f5cfbb2bb971b8c062baa797d279', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: 'c132ab8aceff09560f4e8300c6de03f9034443d9', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '840e834c1c6597d0bd3841fde4f1014de9e6604b', slot: "title" }, this._translations.error), index.h("div", { key: 'b8348d5cd55a298dbe42e4ccffb9f951bac1f8e1', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: '21f2a585a214dcdac6bec1b313025a5bf48317c4' }, index.h("calcite-shell", { key: '3b0d3506ea75937c6627f20b3f468b28c00dbd22', "content-behind": true }, this._getReporter()))));
537
+ return (index.h(index.Host, { key: '03d613fe8f275852672fb546ceb4449fb82580c0' }, this._reportSubmitted && index.h("calcite-alert", { key: '969a66978549d6993b1e4fce87bbd2387858cdf8', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '60ae42443e09a97d97a46bba07b1ea010b382348', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: 'bf6c346cf976a4b84da3553230239665c712e2b6', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: '1f9560e18d802a15bcb3e8ea9f05837a4a6fb8aa', slot: "title" }, this._translations.error), index.h("div", { key: '1f5ef09cbf94996eeb5783211ed1542a5cf53e93', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: '15538e8faabbec476d7586dcc4152b422404c23f', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '925a9a243a79dfb66554a9a51f24396ca2b71c98', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: '62c63d3b1c51bdc7879e815e2b2f4d3c4d039c4c', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '971f07331a8689b859f2cedc96ba3589a3ad3e16', slot: "title" }, this._translations.error), index.h("div", { key: '1627f1ab5c4a4aceb7bdb70471aed6b8ca6d67b8', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: 'b3257ba523357b4444ce7da7d13a86f6b71185d9' }, index.h("calcite-shell", { key: '35fc5a814528bb0acc22919839719bb4349e9ae4', "content-behind": true }, this._getReporter()))));
534
538
  }
535
539
  //--------------------------------------------------------------------------
536
540
  //
@@ -664,7 +668,7 @@ const CrowdsourceReporter = class {
664
668
  * @protected
665
669
  */
666
670
  getLayerListFlowItem() {
667
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportsHeader }, this.isMobile && this.getActionToExpandCollapsePanel(), this._hasValidLayers && this.enableNewReports &&
671
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportsHeader, selected: this._flowItems[this._flowItems.length - 1] === "layer-list" }, this.isMobile && this.getActionToExpandCollapsePanel(), this._hasValidLayers && this.enableNewReports &&
668
672
  index.h("calcite-button", { appearance: "solid", onClick: this.navigateToChooseCategory.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("layer-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", layers: this._editableLayerIds?.length > 0 ? this._editableLayerIds : this._layers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.displayFeaturesList.bind(this), onLayersListLoaded: this.layerListLoaded.bind(this), ref: el => this._layerList = el, showFeatureCount: true, showNextIcon: true }))));
669
673
  }
670
674
  /**
@@ -676,7 +680,7 @@ const CrowdsourceReporter = class {
676
680
  const onlyReportingLayers = this.reportingOptions ? Object.keys(this.reportingOptions).filter((layerId) => {
677
681
  return this.reportingOptions[layerId].visible && this.reportingOptions[layerId].reporting && this._layerItemsHash[layerId] && this._layerItemsHash[layerId].supportsAdd;
678
682
  }) : [];
679
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("div", { class: "progress-bar" }, index.h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), index.h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), index.h("layer-list", { class: "height-full", layers: onlyReportingLayers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
683
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "reporting-layer-list" }, index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("div", { class: "progress-bar" }, index.h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), index.h("calcite-notice", { class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, index.h("div", { slot: "message" }, this._translations.chooseCategoryMsg)), index.h("layer-list", { class: "height-full", layers: onlyReportingLayers, locale: this.locale, mapView: this.mapView, onLayerSelect: this.navigateToCreateFeature.bind(this), showFeatureCount: false, showNextIcon: false }))));
680
684
  }
681
685
  /**
682
686
  * Get Feature create form of the selected feature layer
@@ -684,7 +688,7 @@ const CrowdsourceReporter = class {
684
688
  * @protected
685
689
  */
686
690
  getFeatureCreateFlowItem() {
687
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this) }, this._showSubmitCancelButton && index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("div", { class: "progress-bar" }, index.h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), index.h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
691
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, onCalciteFlowItemBack: this.backFromCreateFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-create" }, this._showSubmitCancelButton && index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateFeaturePanel.bind(this), width: "full" }, this._translations.cancel)), index.h("calcite-panel", { "full-height": true, "full-width": true }, index.h("div", { class: "progress-bar" }, index.h("calcite-progress", { type: "determinate", value: this._updatedProgressBarStatus })), index.h("create-feature", { customizeSubmit: true, enableSearch: true, floorLevel: this.floorLevel, formElements: this._formElements.find(elm => elm.id === this._selectedLayerId), isMobile: this.isMobile, locale: this.locale, mapView: this.mapView, onDrawComplete: this.onFormReady.bind(this), onEditingAttachment: this.showSubmitCancelButton.bind(this), onFail: this.createFeatureFailed.bind(this), onModeChanged: this.backFromCreateFeaturePanel.bind(this), onProgressStatus: this.updatedProgressStatus.bind(this), onSuccess: this.onReportSubmitted.bind(this), ref: el => this._createFeature = el, searchConfiguration: this.searchConfiguration, selectedLayerId: this._selectedLayerId }))));
688
692
  }
689
693
  /**
690
694
  * Update the progress bar status when editor panel changes
@@ -765,7 +769,7 @@ const CrowdsourceReporter = class {
765
769
  void this.updateNonVisibleLayersOnMap(false);
766
770
  await this.navigateToHomePage();
767
771
  this._reportSubmitted = true;
768
- this._updatedProgressBarStatus = 0.25;
772
+ this._updatedProgressBarStatus = 25;
769
773
  //on report submit form will be closed, so update the form state
770
774
  if (this._showFullPanel) {
771
775
  this.updatePanelState(this._sidePanelCollapsed, false);
@@ -912,7 +916,7 @@ const CrowdsourceReporter = class {
912
916
  * @protected
913
917
  */
914
918
  backFromSelectedPanel() {
915
- this._updatedProgressBarStatus = 0.25;
919
+ this._updatedProgressBarStatus = 25;
916
920
  const updatedFlowItems = [...this._flowItems];
917
921
  // when back from comment details or add comment page don't clear the highlighted feature of map
918
922
  if (!(updatedFlowItems[updatedFlowItems.length - 1] === 'comment-details' ||
@@ -983,10 +987,10 @@ const CrowdsourceReporter = class {
983
987
  this._showLoadingIndicator = isLoading;
984
988
  }
985
989
  /**
986
- * On Feature details change update the Layer title and the current selected layer id
987
- * @param evt Event hold the details of current feature graphic from the feature-details
988
- * @protected
989
- */
990
+ * On Feature details change update the Layer title and the current selected layer id
991
+ * @param evt Event hold the details of current feature graphic from the feature-details
992
+ * @protected
993
+ */
990
994
  async selectionChanged(evt) {
991
995
  void this.updatingFeatureDetails(true);
992
996
  await this.setCurrentFeature(evt.detail.selectedFeature[0]);
@@ -1020,7 +1024,7 @@ const CrowdsourceReporter = class {
1020
1024
  getFeatureListFlowItem(layerId, layerName) {
1021
1025
  const canCreateReports = this._getLayersConfig(this._selectedLayerId)?.reporting && this._layerItemsHash[this._selectedLayerId].supportsAdd;
1022
1026
  const showFilterIcon = this._currentLayerExpressions?.length > 0;
1023
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this._toggleSort(), index.h("calcite-action", { icon: "sort-ascending-arrow", id: "sort-popover", slot: "header-actions-end", text: this._translations.sort, title: this._translations.sort }), showFilterIcon && index.h("calcite-action", { icon: "filter", indicator: this._filterActive, onClick: () => { this._flowItems = [...this._flowItems, "filter-panel"]; }, slot: "header-actions-end", text: this._translations.filter, title: this._translations.filter }), this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports && canCreateReports &&
1027
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: layerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-list" }, this._toggleSort(), index.h("calcite-action", { icon: "sort-ascending-arrow", id: "sort-popover", slot: "header-actions-end", text: this._translations.sort, title: this._translations.sort }), showFilterIcon && index.h("calcite-action", { icon: "filter", indicator: this._filterActive, onClick: () => { this._flowItems = [...this._flowItems, "filter-panel"]; }, slot: "header-actions-end", text: this._translations.filter, title: this._translations.filter }), this.isMobile && this.getActionToExpandCollapsePanel(), this.enableNewReports && canCreateReports &&
1024
1028
  index.h("calcite-button", { appearance: "solid", onClick: this.navigateToCreateFeature.bind(this), slot: "footer", width: "full" }, this.reportButtonText ? this.reportButtonText : this._translations.createReportButtonText), index.h("calcite-panel", { "full-height": true }, index.h("feature-list", { applyLayerViewFilter: this.showMyReportsOnly, class: "height-full", highlightOnHover: true, locale: this.locale, mapView: this.mapView, noFeaturesFoundMsg: this._translations.featureErrorMsg, onFeatureSelect: this.onFeatureSelectFromList.bind(this), pageSize: 30, ref: el => this._featureList = el, reportingOptions: this.reportingOptions, selectedLayerId: layerId, showFeatureSymbol: this.showFeatureSymbol, sortingInfo: this._updatedSorting }))));
1025
1029
  }
1026
1030
  /**
@@ -1029,7 +1033,7 @@ const CrowdsourceReporter = class {
1029
1033
  * @protected
1030
1034
  */
1031
1035
  getFilterPanel() {
1032
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("div", { class: "width-full", slot: "footer" }, index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: this.resetFilterList.bind(this), width: "full" }, this._translations.resetFilter), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), index.h("calcite-panel", { "full-height": true }, index.h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: this._currentLayerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(this._filterList.filterCount > 0), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
1036
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._translations?.filterLayerTitle?.replace("{{title}}", this._selectedLayerName), loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromFilterPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "filter-panel" }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("div", { class: "width-full", slot: "footer" }, index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", disabled: !this._filterActive, onClick: this.resetFilterList.bind(this), width: "full" }, this._translations.resetFilter), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromFilterPanel.bind(this), width: "full" }, this._translations.close))), index.h("calcite-panel", { "full-height": true }, index.h("instant-apps-filter-list", { autoUpdateUrl: false, closeBtnOnClick: () => undefined, comboboxOverlayPositioning: "fixed", layerExpressions: this._currentLayerExpressions, onFilterListReset: () => this._handleFilterListReset(), onFilterUpdate: () => this._handleFilterUpdate(this._filterList.filterCount > 0), ref: (el) => this._filterList = el, resetBtn: false, resetFiltersOnDisconnect: false, view: this.mapView, zoomBtn: false }))));
1033
1037
  }
1034
1038
  /**
1035
1039
  * Returns the calcite-flow item for feature details
@@ -1037,7 +1041,7 @@ const CrowdsourceReporter = class {
1037
1041
  */
1038
1042
  getFeatureDetailsFlowItem() {
1039
1043
  const showCommentBtn = this._getLayersConfig(this._selectedLayerId)?.comment && this._selectedLayer.relationships.length > 0 && this._relatedTable;
1040
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "share-node", embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), index.h("calcite-panel", null, index.h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, locale: this.locale, mapView: this.mapView, onAddComment: this.showAddCommentsPanel.bind(this), onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLikeOrDislikeClicked: () => { void this._featureList.refresh(true); }, onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions, showUserImageInCommentsList: this.showUserImageInCommentsList }), showCommentBtn &&
1044
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._selectedLayerName, loading: this._showLoadingIndicator, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "feature-details" }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("instant-apps-social-share", { autoUpdateShareUrl: false, class: "share-node", embed: false, popoverButtonIconScale: "s", ref: el => this._shareNode = el, removePopoverOffset: true, scale: "m", shareButtonColor: "neutral", shareButtonType: "action", slot: "header-actions-end", socialMedia: true, view: this.mapView }), this._selectedFeature.length > 1 && this.getFeaturesPagination(), index.h("calcite-panel", null, index.h("feature-details", { class: 'full-height', graphics: this._selectedFeature, layerItemsHash: this._layerItemsHash, locale: this.locale, mapView: this.mapView, onAddComment: this.showAddCommentsPanel.bind(this), onCommentSelect: this.onCommentSelectFromList.bind(this), onFeatureSelectionChange: this.selectionChanged.bind(this), onLikeOrDislikeClicked: () => { void this._featureList.refresh(true); }, onLoadingStatus: (evt) => void this.updatingFeatureDetails(evt.detail), ref: el => this._featureDetails = el, reportingOptions: this.reportingOptions, showFullCommentTitle: this.showFullCommentTitle, showUserImageInCommentsList: this.showUserImageInCommentsList }), showCommentBtn &&
1041
1045
  index.h("calcite-button", { appearance: "solid", onClick: this.showAddCommentsPanel.bind(this), slot: "footer", width: "full" }, this.commentButtonText || this._translations.comment))));
1042
1046
  }
1043
1047
  /**
@@ -1053,14 +1057,14 @@ const CrowdsourceReporter = class {
1053
1057
  * @returns Node
1054
1058
  */
1055
1059
  getCommentDetailsFlowItem() {
1056
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("calcite-panel", { "full-height": true }, index.h("info-card", { allowEditing: false, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, paginationEnabled: false }))));
1060
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromSelectedPanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "comment-details" }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("calcite-panel", { "full-height": true }, index.h("info-card", { allowEditing: false, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, paginationEnabled: false }))));
1057
1061
  }
1058
1062
  /**
1059
1063
  * Returns the calcite-flow item for add comment
1060
1064
  * @returns Node
1061
1065
  */
1062
1066
  getAddCommentFlowItem() {
1063
- return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromCreateRelatedFeaturePanel.bind(this) }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), index.h("calcite-panel", null, index.h("create-related-feature", { customizeSubmit: true, locale: this.locale, mapView: this.mapView, onFail: this.addCommentFailed.bind(this), onFormReady: this.onFormReady.bind(this), onIsActionPending: this.showSubmitCancelButton.bind(this), onSuccess: this.onCommentSubmitted.bind(this), ref: el => this._createRelatedFeature = el, selectedFeature: this._currentFeature, table: this._relatedTable }))));
1067
+ return (index.h("calcite-flow-item", { collapsed: this.isMobile && this._sidePanelCollapsed, heading: this._relatedTable.title, onCalciteFlowItemBack: this.backFromCreateRelatedFeaturePanel.bind(this), selected: this._flowItems[this._flowItems.length - 1] === "add-comment" }, this.isMobile && this.getActionToExpandCollapsePanel(), index.h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && index.h("div", { class: "width-full", slot: "footer" }, index.h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), index.h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), index.h("calcite-panel", null, index.h("create-related-feature", { customizeSubmit: true, locale: this.locale, mapView: this.mapView, onFail: this.addCommentFailed.bind(this), onFormReady: this.onFormReady.bind(this), onIsActionPending: this.showSubmitCancelButton.bind(this), onSuccess: this.onCommentSubmitted.bind(this), ref: el => this._createRelatedFeature = el, selectedFeature: this._currentFeature, table: this._relatedTable }))));
1064
1068
  }
1065
1069
  /**
1066
1070
  * Sets the selected features and updates the first feature as the current selected feature