@esri/solutions-components 0.11.22 → 0.11.24

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 (176) 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 +10 -6
  4. package/dist/cjs/consent-manager.cjs.entry.js +1 -1
  5. package/dist/cjs/create-feature_4.cjs.entry.js +22 -11
  6. package/dist/cjs/create-related-feature_3.cjs.entry.js +25 -19
  7. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -2
  8. package/dist/cjs/crowdsource-reporter.cjs.entry.js +7 -6
  9. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  10. package/dist/cjs/delete-dialog.cjs.entry.js +1 -1
  11. package/dist/cjs/feature-list.cjs.entry.js +4 -4
  12. package/dist/cjs/json-editor_7.cjs.entry.js +7 -7
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/map-layer-picker.cjs.entry.js +1 -1
  15. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  16. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  17. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  18. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  19. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  20. package/dist/cjs/solution-item-accordion.cjs.entry.js +1 -1
  21. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  22. package/dist/cjs/solutions-components.cjs.js +1 -1
  23. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  24. package/dist/collection/assets/t9n/layer-table/resources.json +4 -1
  25. package/dist/collection/assets/t9n/layer-table/resources_en.json +4 -1
  26. package/dist/collection/components/card-manager/card-manager.js +23 -2
  27. package/dist/collection/components/consent-manager/consent-manager.js +1 -1
  28. package/dist/collection/components/create-feature/create-feature.css +1 -1
  29. package/dist/collection/components/create-feature/create-feature.js +28 -3
  30. package/dist/collection/components/create-related-feature/create-related-feature.css +1 -1
  31. package/dist/collection/components/create-related-feature/create-related-feature.js +74 -49
  32. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +23 -2
  33. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +27 -6
  34. package/dist/collection/components/deduct-calculator/deduct-calculator.js +1 -1
  35. package/dist/collection/components/delete-button/delete-button.js +1 -1
  36. package/dist/collection/components/delete-dialog/delete-dialog.js +1 -1
  37. package/dist/collection/components/edit-card/edit-card.css +1 -1
  38. package/dist/collection/components/edit-card/edit-card.js +48 -23
  39. package/dist/collection/components/feature-details/feature-details.js +27 -6
  40. package/dist/collection/components/feature-list/feature-list.js +4 -4
  41. package/dist/collection/components/floor-filter/floor-filter.js +1 -1
  42. package/dist/collection/components/info-card/info-card.js +23 -2
  43. package/dist/collection/components/json-editor/json-editor.js +1 -1
  44. package/dist/collection/components/layer-table/layer-table.js +6 -3
  45. package/dist/collection/components/map-card/map-card.js +1 -1
  46. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  47. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  48. package/dist/collection/components/map-layer-picker/map-layer-picker.js +1 -1
  49. package/dist/collection/components/map-legend/map-legend.js +1 -1
  50. package/dist/collection/components/map-picker/map-picker.js +1 -1
  51. package/dist/collection/components/map-search/map-search.js +1 -1
  52. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  53. package/dist/collection/components/map-tools/map-tools.js +1 -1
  54. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  55. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  56. package/dist/collection/components/public-notification/public-notification.js +1 -1
  57. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  58. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  59. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  60. package/dist/collection/components/solution-item/solution-item.js +1 -1
  61. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +1 -1
  62. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  63. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  64. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  65. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  66. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  67. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  68. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  69. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  70. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  71. package/dist/components/card-manager2.js +4 -2
  72. package/dist/components/consent-manager.js +1 -1
  73. package/dist/components/create-feature2.js +10 -4
  74. package/dist/components/create-related-feature2.js +21 -15
  75. package/dist/components/crowdsource-manager.js +4 -2
  76. package/dist/components/crowdsource-reporter.js +8 -6
  77. package/dist/components/deduct-calculator2.js +1 -1
  78. package/dist/components/delete-button2.js +1 -1
  79. package/dist/components/delete-dialog2.js +1 -1
  80. package/dist/components/edit-card2.js +11 -5
  81. package/dist/components/feature-details2.js +8 -6
  82. package/dist/components/feature-list2.js +4 -4
  83. package/dist/components/floor-filter2.js +1 -1
  84. package/dist/components/info-card2.js +4 -2
  85. package/dist/components/json-editor2.js +1 -1
  86. package/dist/components/layer-table2.js +6 -3
  87. package/dist/components/map-card2.js +1 -1
  88. package/dist/components/map-draw-tools2.js +1 -1
  89. package/dist/components/map-fullscreen2.js +1 -1
  90. package/dist/components/map-layer-picker2.js +1 -1
  91. package/dist/components/map-legend2.js +1 -1
  92. package/dist/components/map-picker2.js +1 -1
  93. package/dist/components/map-search2.js +1 -1
  94. package/dist/components/map-select-tools2.js +1 -1
  95. package/dist/components/map-tools2.js +1 -1
  96. package/dist/components/pci-calculator.js +1 -1
  97. package/dist/components/pdf-download2.js +1 -1
  98. package/dist/components/public-notification.js +1 -1
  99. package/dist/components/refine-selection2.js +1 -1
  100. package/dist/components/solution-configuration.js +3 -3
  101. package/dist/components/solution-contents2.js +1 -1
  102. package/dist/components/solution-item-accordion.js +1 -1
  103. package/dist/components/solution-item-details2.js +1 -1
  104. package/dist/components/solution-item-icon2.js +1 -1
  105. package/dist/components/solution-item-sharing2.js +1 -1
  106. package/dist/components/solution-item2.js +1 -1
  107. package/dist/components/solution-organization-variables2.js +1 -1
  108. package/dist/components/solution-resource-item2.js +1 -1
  109. package/dist/components/solution-spatial-ref2.js +1 -1
  110. package/dist/components/solution-template-data2.js +1 -1
  111. package/dist/components/solution-variables2.js +1 -1
  112. package/dist/components/spatial-ref.js +1 -1
  113. package/dist/esm/basemap-gallery_7.entry.js +6 -6
  114. package/dist/esm/buffer-tools_2.entry.js +1 -1
  115. package/dist/esm/card-manager_3.entry.js +10 -6
  116. package/dist/esm/consent-manager.entry.js +1 -1
  117. package/dist/esm/create-feature_4.entry.js +22 -11
  118. package/dist/esm/create-related-feature_3.entry.js +25 -19
  119. package/dist/esm/crowdsource-manager.entry.js +3 -2
  120. package/dist/esm/crowdsource-reporter.entry.js +7 -6
  121. package/dist/esm/deduct-calculator.entry.js +1 -1
  122. package/dist/esm/delete-dialog.entry.js +1 -1
  123. package/dist/esm/feature-list.entry.js +4 -4
  124. package/dist/esm/json-editor_7.entry.js +7 -7
  125. package/dist/esm/loader.js +1 -1
  126. package/dist/esm/map-layer-picker.entry.js +1 -1
  127. package/dist/esm/map-select-tools_3.entry.js +3 -3
  128. package/dist/esm/pci-calculator.entry.js +1 -1
  129. package/dist/esm/public-notification.entry.js +1 -1
  130. package/dist/esm/solution-configuration.entry.js +3 -3
  131. package/dist/esm/solution-contents_3.entry.js +3 -3
  132. package/dist/esm/solution-item-accordion.entry.js +1 -1
  133. package/dist/esm/solution-item-icon.entry.js +1 -1
  134. package/dist/esm/solutions-components.js +1 -1
  135. package/dist/esm/spatial-ref.entry.js +1 -1
  136. package/dist/solutions-components/assets/t9n/layer-table/resources.json +4 -1
  137. package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +4 -1
  138. package/dist/solutions-components/{p-7e233b70.entry.js → p-0bc11bac.entry.js} +1 -1
  139. package/dist/solutions-components/{p-e3e35c14.entry.js → p-0efb117f.entry.js} +1 -1
  140. package/dist/solutions-components/p-12f91837.entry.js +6 -0
  141. package/dist/solutions-components/p-16c5c285.entry.js +6 -0
  142. package/dist/solutions-components/p-1dc077ec.entry.js +6 -0
  143. package/dist/solutions-components/{p-5e4e0f84.entry.js → p-281cc2b2.entry.js} +1 -1
  144. package/dist/solutions-components/{p-b636a8b4.entry.js → p-48ff9d90.entry.js} +1 -1
  145. package/dist/solutions-components/{p-832707fd.entry.js → p-505a2880.entry.js} +1 -1
  146. package/dist/solutions-components/{p-72d04c7a.entry.js → p-70fbbe26.entry.js} +1 -1
  147. package/dist/solutions-components/{p-837e0939.entry.js → p-7b9f3c85.entry.js} +1 -1
  148. package/dist/solutions-components/p-84976ab1.entry.js +6 -0
  149. package/dist/solutions-components/{p-698656b8.entry.js → p-8ef447cc.entry.js} +1 -1
  150. package/dist/solutions-components/{p-ed1ecb5b.entry.js → p-922e704c.entry.js} +1 -1
  151. package/dist/solutions-components/p-a2e356f8.entry.js +6 -0
  152. package/dist/solutions-components/{p-6d20da19.entry.js → p-a9b81651.entry.js} +1 -1
  153. package/dist/solutions-components/p-abcdbba6.entry.js +6 -0
  154. package/dist/solutions-components/{p-09041307.entry.js → p-c117b7f7.entry.js} +1 -1
  155. package/dist/solutions-components/{p-a5eaf7fe.entry.js → p-df018eb2.entry.js} +1 -1
  156. package/dist/solutions-components/{p-ee3bb943.entry.js → p-e806feda.entry.js} +1 -1
  157. package/dist/solutions-components/{p-244316dd.entry.js → p-e8df7a70.entry.js} +1 -1
  158. package/dist/solutions-components/{p-0326f1f4.entry.js → p-fd106abf.entry.js} +1 -1
  159. package/dist/solutions-components/solutions-components.esm.js +1 -1
  160. package/dist/solutions-components_commit.txt +6 -6
  161. package/dist/types/components/card-manager/card-manager.d.ts +4 -0
  162. package/dist/types/components/create-feature/create-feature.d.ts +4 -0
  163. package/dist/types/components/create-related-feature/create-related-feature.d.ts +23 -19
  164. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +4 -0
  165. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +4 -0
  166. package/dist/types/components/edit-card/edit-card.d.ts +8 -4
  167. package/dist/types/components/feature-details/feature-details.d.ts +4 -0
  168. package/dist/types/components/info-card/info-card.d.ts +4 -0
  169. package/dist/types/components.d.ts +64 -0
  170. package/package.json +1 -1
  171. package/dist/solutions-components/p-1ac20964.entry.js +0 -6
  172. package/dist/solutions-components/p-541eb93a.entry.js +0 -6
  173. package/dist/solutions-components/p-892b42be.entry.js +0 -6
  174. package/dist/solutions-components/p-9161beb0.entry.js +0 -6
  175. package/dist/solutions-components/p-decfd5fc.entry.js +0 -6
  176. package/dist/solutions-components/p-eba271dd.entry.js +0 -6
@@ -17,7 +17,7 @@ import './solution-resource-30a29505.js';
17
17
  import './restHelpersGet-a7fda344.js';
18
18
  import './update-ad0b88fa.js';
19
19
 
20
- const createFeatureCss = ":host{display:block}.esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";
20
+ const createFeatureCss = ":host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.esri-editor__panel-content{padding-block:0px !important}.esri-editor .esri-item-list__group__header{display:none !important}.esri-editor__panel-content__section .esri-widget__heading{display:none !important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px !important;padding-inline:10px !important}.search-widget{width:92% !important;margin:5px 14px 20px 14px}.display-none{display:none !important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px !important;position:absolute !important;bottom:0;height:auto !important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px !important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0 !important;min-height:0 !important}}";
21
21
  const CreateFeatureStyle0 = createFeatureCss;
22
22
 
23
23
  const CreateFeature = class {
@@ -31,6 +31,7 @@ const CreateFeature = class {
31
31
  this.modeChanged = createEvent(this, "modeChanged", 7);
32
32
  this.customizeSubmit = false;
33
33
  this.enableSearch = false;
34
+ this.enableSnapping = false;
34
35
  this.floorLevel = undefined;
35
36
  this.formElements = undefined;
36
37
  this.isMobile = undefined;
@@ -291,8 +292,8 @@ const CreateFeature = class {
291
292
  else if (this._currentPage === 'featureForm') {
292
293
  guidingMsg = this._translations.provideDetailsMsg;
293
294
  }
294
- return (h(Fragment, { key: 'cb3462a70e0097e9b4ac9dac3f910fce6d30f8b5' }, showGuidingMsg && h("calcite-notice", { key: 'ddd908ac4b31f60d07de064ec1decae06b3d93bd', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '3cee10085fa29190d88d3d03d35f726d1b51651b', slot: "message" }, guidingMsg)), h("calcite-loader", { key: 'cf714d63a011712fa03c148c17a8811356e14859', class: loaderClass, label: "", scale: "s" }), h("div", { key: 'e20cb740a1d22795b397af191a26339d709aba0d', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
295
- h("div", { key: 'd2b439d3845b69527fdea2414c7b22078b0af4ea', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '1f4e39aaaa93f4e2102767c04c5ad256e4f129e2', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
295
+ return (h(Fragment, { key: 'b480d2d78dbf168d351afb4212dcc6d49cb39c72' }, showGuidingMsg && h("calcite-notice", { key: 'e8cc752d19038993393d2d86cb934ae677cfc96f', class: "notice-msg", icon: "lightbulb", kind: "success", open: true, ref: el => this._calciteNotice = el }, h("div", { key: '85b53eb990d6566e66d2eecfae6e90ec1b368e0c', slot: "message" }, guidingMsg)), h("calcite-loader", { key: 'ee1ece408069e5112165860dd01f4dca526c0b4f', class: loaderClass, label: "", scale: "s" }), h("div", { key: '8a978d99246bd98a91e6fc6695f4159342bbf55a', class: featureFormClass, id: "feature-form" }), this.enableSearch &&
296
+ h("div", { key: '8678f6645b86202155a64dd7cfcb05f2c805e5f8', class: `search-widget ${showSearchWidget} ${featureFormClass}`, id: "search-widget-ref", ref: el => this._searchDiv = el }), h("div", { key: '738f720b5773abeda51eb4abf004e14e0c73c934', class: `${mobileMapClass}`, ref: (el) => { this._mapViewContainer = el; } })));
296
297
  }
297
298
  //--------------------------------------------------------------------------
298
299
  //
@@ -371,6 +372,9 @@ const CreateFeature = class {
371
372
  const layerInfos = [];
372
373
  this._container = document.createElement("div");
373
374
  this._container?.classList.add("display-none");
375
+ if (!this.enableSnapping) {
376
+ this._container.classList.add("hide-editor-toolbar");
377
+ }
374
378
  const allMapLayers = await getAllLayers(this._updatedMapView);
375
379
  this._selectedLayer = await getLayerOrTable(this.mapView, this.selectedLayerId);
376
380
  // if layer is selected then only use the layerInfos while initializing the editor widget
@@ -390,7 +394,8 @@ const CreateFeature = class {
390
394
  view: this._updatedMapView,
391
395
  layerInfos: layerInfos,
392
396
  visibleElements: {
393
- snappingControls: false,
397
+ settingsMenu: this.enableSnapping,
398
+ snappingControls: this.enableSnapping,
394
399
  createFeaturesSection: true,
395
400
  editFeaturesSection: false,
396
401
  flow: false
@@ -786,7 +791,7 @@ const DeleteButton = class {
786
791
  * Renders the component.
787
792
  */
788
793
  render() {
789
- return (h(Host, { key: '73d07f24703df76fdacc1b3a1ec80cfdd7bbee30' }, this.buttonType === "button" ? (h("calcite-button", { appearance: "outline", disabled: !this._deleteEndabled, id: "solutions-delete", kind: "danger", onClick: () => this._delete(), width: "full" }, this._translations.deleteCount.replace("{{n}}", this.ids.length.toString()))) : (h("calcite-action", { appearance: "solid", disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage(), h("calcite-tooltip", { key: '803898895029bd098264b9144ff5ccee102d4ae8', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, h("span", { key: 'a920ffea1849667cd58812a2c1813d2e066f0064' }, this._translations.delete))));
794
+ return (h(Host, { key: 'a8b845e5a7283318d4e313914e8bf992c5405d82' }, this.buttonType === "button" ? (h("calcite-button", { appearance: "outline", disabled: !this._deleteEndabled, id: "solutions-delete", kind: "danger", onClick: () => this._delete(), width: "full" }, this._translations.deleteCount.replace("{{n}}", this.ids.length.toString()))) : (h("calcite-action", { appearance: "solid", disabled: !this._deleteEndabled, id: this.icon, onClick: () => this._delete(), scale: "s", text: this._translations.delete }, h("calcite-button", { appearance: "transparent", iconStart: this.icon, kind: "danger" }, this._translations.delete))), this._deleteMessage(), h("calcite-tooltip", { key: '63e746d5066e96a13066cae6d3ad0b23c81437dc', placement: "bottom", "reference-element": this.buttonType === "button" ? "solutions-delete" : this.icon }, h("span", { key: '9f6708e8ff0255d6634c69cb66d9544dc5b053ba' }, this._translations.delete))));
790
795
  }
791
796
  /**
792
797
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -840,7 +845,7 @@ const DeleteButton = class {
840
845
  };
841
846
  DeleteButton.style = DeleteButtonStyle0;
842
847
 
843
- const editCardCss = ":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";
848
+ const editCardCss = ":host{display:block}.padding-bottom-1{padding-bottom:1rem}.font-bold{font-weight:var(--calcite-font-weight-bold)}.font-500{font-weight:var(--calcite-font-weight-medium)}.font-italic{font-style:italic}#feature-form{padding-top:0px}.padding-sides-bottom-1{padding:0 1rem 1rem 1rem}.position-relative{position:relative}.esri-editor__prompt--danger{position:relative !important;width:100% !important;background-color:var(--calcite-color-foreground-1) !important}.esri-feature__content-node{background-color:var(--calcite-color-foreground-1) !important}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.position-absolute{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto}.esri-editor__panel-content{padding-block:10px !important}";
844
849
  const EditCardStyle0 = editCardCss;
845
850
 
846
851
  const EditCard = class {
@@ -851,11 +856,12 @@ const EditCard = class {
851
856
  this.editsComplete = createEvent(this, "editsComplete", 7);
852
857
  this.refreshGraphics = createEvent(this, "refreshGraphics", 7);
853
858
  this.enableEditGeometry = false;
859
+ this.enableSnapping = false;
860
+ this.graphicIndex = 0;
854
861
  this.graphics = undefined;
855
862
  this.locale = undefined;
856
863
  this.mapView = undefined;
857
864
  this.open = false;
858
- this.graphicIndex = 0;
859
865
  this._editorLoading = false;
860
866
  this._translations = undefined;
861
867
  }
@@ -1032,7 +1038,7 @@ const EditCard = class {
1032
1038
  !this.graphics[0].layer.editingEnabled : true;
1033
1039
  const tableNodeClass = this._editorLoading ? "display-none" : "position-absolute";
1034
1040
  const loadingClass = this._editorLoading ? "" : "display-none";
1035
- return (h(Host, { key: 'e181f65e7218ce0350de5dcab9049ff63a5d39c1' }, h("div", { key: '44bf2b5cf31c5acc7f65fb7ec50fd84e77c95470', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: '97119476aa2a992ccadc1d61119f2640d195e7b1', class: "position-absolute" }, h("div", { key: 'f429decea684a6a22db89de89da3755bdbff19cc', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '3ea908ef8dadd2f1c85bfac1b344f8b4441b8706', class: loadingClass, label: "", scale: "s" })))));
1041
+ return (h(Host, { key: '8491a0fbeefc9533ed6898cf4734ec98dddd7f62' }, h("div", { key: 'a98e923e1d697559c37ce85fbd57fc1688171cb2', class: "position-absolute" }, editDisabled ? (h("calcite-notice", { kind: "warning", open: true, slot: "content-top", width: "full" }, h("div", { slot: "message" }, this._translations.enableEditing))) : undefined, h("div", { key: 'ac5eed8a614523e1ddaad0eaf3b973faf28fdbf2', class: "position-absolute" }, h("div", { key: '63778d7c29d6fd26e0c8a534dc70da4a0e94075d', class: tableNodeClass, id: "feature-form", ref: (el) => this._editContainer = el }), h("calcite-loader", { key: '641a987e8860222a1a3b6f64e700a16c03463c81', class: loadingClass, label: "", scale: "s" })))));
1036
1042
  }
1037
1043
  //--------------------------------------------------------------------------
1038
1044
  //
@@ -1073,7 +1079,8 @@ const EditCard = class {
1073
1079
  layerInfos,
1074
1080
  visibleElements: {
1075
1081
  flow: true,
1076
- snappingControls: false
1082
+ settingsMenu: this.enableSnapping,
1083
+ snappingControls: this.enableSnapping,
1077
1084
  },
1078
1085
  container
1079
1086
  });
@@ -1096,6 +1103,9 @@ const EditCard = class {
1096
1103
  this.open = false;
1097
1104
  }
1098
1105
  });
1106
+ if (!this.enableSnapping) {
1107
+ container.classList.add("hide-editor-toolbar");
1108
+ }
1099
1109
  // had issues with destroy before adding like this
1100
1110
  this._editContainer.appendChild(container);
1101
1111
  this.editorInitialized.emit(this._editor);
@@ -1155,6 +1165,7 @@ const InfoCard = class {
1155
1165
  this.clearSelection = createEvent(this, "clearSelection", 7);
1156
1166
  this.selectionChanged = createEvent(this, "selectionChanged", 7);
1157
1167
  this.enableEditGeometry = false;
1168
+ this.enableSnapping = false;
1158
1169
  this.graphics = undefined;
1159
1170
  this.isLoading = false;
1160
1171
  this.isMobile = undefined;
@@ -1395,8 +1406,8 @@ const InfoCard = class {
1395
1406
  // if user has navigated to the related feature then pass the related feature to the graphics
1396
1407
  const graphics = this._relatedFeature ? [this._relatedFeature] : this.graphics;
1397
1408
  const selectedFeatureIndex = this._navigatedToRelatedFeature ? 0 : this._features?.selectedFeatureIndex;
1398
- return (h(Host, { key: '7662ad49543f574bbcb58f2b9611efefc0420259' }, h("calcite-shell", { key: '10075ee9cdf4d9e8a6dee615755c53eaaece8c21', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'fc668f26163e1135d37a5dee1c08d72d7feee9d5', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: '73faf27901ae65feaf4faae8227aa21bfb1fb0a3', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: 'ced1edadc747dd7a087fed7b0a8e378def491381', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1399
- h("div", { key: '3f1ab07a2d197730d03497d0c5c5a2970e0f42ec', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: '946cb64983426ce95c8a209aa7ae59405124709f', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (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, h("calcite-tooltip", { key: '4123a740f077f6d203ae75338655a3e4f988b3dd', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '6968a12b2f41737cb221bc7ddbcab834f990fe3c' }, this._translations.edit)), this.isMobile && deleteEnabled ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '31d228643a734df28880c009f8d9a989f07acedb', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: 'f1dd88d8e5359e8acfc3508890185f8769365ec8' }, h("calcite-button", { key: '86190bfd8442bcf327c8aa60272a4071dead2dbc', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: '6cf40e219e228547636a228d306dc6fc2929d186', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '39a43c0568c3d9e71587d3e3a38970a97f16efa4' }, this._translations.back))), h("calcite-action", { key: '373330d9385477e7b8701bff969d93ccf992f8b6', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: 'badd298438061c4c61b5f5561d0883fd063d1434', class: "pagination-count" }, this._count)), h("div", { key: '501d8970243fa398721c9db04cff5491f59fe045' }, h("calcite-button", { key: '9118e14df5f7932e91e823a5bd35fe6292af1c07', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '29a22347603b730ab160023667bb1fc7654e69d4', placement: "top", "reference-element": "solutions-next" }, h("span", { key: '2404d5b018b0e6478a366d995c61e6ec40e9e486' }, this._translations.next))))), h("edit-card", { key: 'cad638e12cf79d7efbc8d4fa05da14ddd1140197', class: editClass, enableEditGeometry: this.enableEditGeometry, graphicIndex: selectedFeatureIndex, graphics: graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: 'b0ce00184f525e8156d282e5efd30962b018e226', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: '35f655f6dc9c274b07ccafe769e8e9af357862d1', slot: "title" }, this._translations.editDisabled), h("div", { key: 'e2b8de0fdb5eac8b37e5bb2a872fd390d9b42d29', slot: "message" }, this._translations.enableEditing)))));
1409
+ return (h(Host, { key: 'b62820abf5a5ce69261a7170dbc102ee8f656907' }, h("calcite-shell", { key: '6c26e6c6e0247f96183ab7d300d2591c5beb5b94', style: { position: this.position } }, this._getHeader(), h("calcite-loader", { key: 'fc153dc30be352de54fd2d197e154cd09a8f39f2', class: loadingClass, label: this._translations.fetchingData }), h("div", { key: '8faba972e54dbc4086a5c74187279149c7bbfe6e', class: "esri-widget feature-node " + featureNodeClass, id: this._featuresNodeId }), h("div", { key: '3374bace58475d983d0b6b57c1c45faa6bddef6e', class: `${editButtonClass} width-100`, slot: "footer" }, this.allowEditing &&
1410
+ h("div", { key: '567ed97ca7a9a1d7245caa21ca23effe728b0ac9', class: "display-flex top-border padding-1-2" }, h("calcite-button", { key: 'caae5c4c5834bf7658bbe12c329ead2f8150f8cd', appearance: "solid", id: "solutions-edit", onClick: () => this._openEditRecord(), width: "full" }, this._translations.edit), this.isMobile && deleteEnabled ? (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, h("calcite-tooltip", { key: '57681bf90ac5d7c2a4bc9d3e15e3a93a675fbed1', placement: "bottom", "reference-element": "solutions-edit" }, h("span", { key: '018a661cd5f88ea5be62acbe762308ef25e7b681' }, this._translations.edit)), this.isMobile && deleteEnabled ? (h("calcite-tooltip", { placement: "bottom", "reference-element": "solutions-delete" }, h("span", null, this._translations.delete))) : undefined), this.paginationEnabled && !nextBackDisabled && h("div", { key: '92ba3836a0b5fcd2717966ef6162e10968d43126', class: `display-flex padding-1-2 button-container top-border ${nextBackClass}` }, h("div", { key: 'bf23c4f203efcea7c613d77d86efada639fa7c1b' }, h("calcite-button", { key: 'a416b24f360374e73679df9027b13f7651dbb723', appearance: 'transparent', disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-left", id: "solutions-back", onClick: () => this._back(), width: "full" }), h("calcite-tooltip", { key: '8849ca323a75d2fd21393a133f49c1ea201178d4', placement: "top", "reference-element": "solutions-back" }, h("span", { key: '84cd60a8c7a5678d99e2d803ebb705e986591cb5' }, this._translations.back))), h("calcite-action", { key: '7d4e9984eda51a7b9d67bcc2bce3b258566bbeee', class: 'pagination-action', iconFlipRtl: true, onClick: () => this._toggleListView(), scale: "s", text: "", textEnabled: true }, h("span", { key: 'a14051ff8801623cc1dda9895f9bf98b5b4b8a36', class: "pagination-count" }, this._count)), h("div", { key: '65bd33feeee7e1606548a9b21b9a3d1b78bc8931' }, h("calcite-button", { key: '228969faa39e600546e8b9a00c888df4d00a6477', appearance: "transparent", disabled: nextBackDisabled, iconFlipRtl: "both", iconStart: "chevron-right", id: "solutions-next", onClick: () => this._next(), width: "full" }), h("calcite-tooltip", { key: '8f343657583d421b7dbbd79067af998d11c30855', placement: "top", "reference-element": "solutions-next" }, h("span", { key: '98fc622e0ba9ae3878ac0cbc8c2c119fe5b4b489' }, this._translations.next))))), h("edit-card", { key: 'c99b429d633117c673a7c8effc7cb689233bce1e', class: editClass, enableEditGeometry: this.enableEditGeometry, enableSnapping: this.enableSnapping, graphicIndex: selectedFeatureIndex, graphics: graphics, locale: this.locale, mapView: this.mapView, open: this._editRecordOpen }), h("calcite-alert", { key: '82ac3ceb259b6f87b8bbbb196fcf61de705ed019', icon: "layer-broken", kind: "warning", label: "", onCalciteAlertClose: () => this._alertClosed(), open: this._alertOpen, placement: "top" }, h("div", { key: 'f113eb60f51d3b1d9fddf9c58e89c792e41e95b5', slot: "title" }, this._translations.editDisabled), h("div", { key: 'c010ac376e6e3497d86326bcb1e16976a4a026cd', slot: "message" }, this._translations.enableEditing)))));
1400
1411
  }
1401
1412
  //--------------------------------------------------------------------------
1402
1413
  //
@@ -10,7 +10,7 @@ import { e as esriLoader } from './esri-loader-c6842c6b.js';
10
10
  import './interfaces-659e3836.js';
11
11
  import './_commonjsHelpers-089957fe.js';
12
12
 
13
- const createRelatedFeatureCss = ":host{display:block}.esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";
13
+ const createRelatedFeatureCss = ":host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none !important}.display-none{display:none !important}.esri-editor__panel-content{padding-block:10px !important}.notice-msg{padding:10px;width:calc(100% - 20px)}";
14
14
  const CreateRelatedFeatureStyle0 = createRelatedFeatureCss;
15
15
 
16
16
  const CreateRelatedFeature = class {
@@ -20,12 +20,13 @@ const CreateRelatedFeature = class {
20
20
  this.fail = createEvent(this, "fail", 7);
21
21
  this.isActionPending = createEvent(this, "isActionPending", 7);
22
22
  this.formReady = createEvent(this, "formReady", 7);
23
+ this.customizeSubmit = false;
24
+ this.enableSnapping = false;
23
25
  this.locale = undefined;
24
26
  this.mapView = undefined;
25
- this.table = undefined;
26
27
  this.selectedFeature = undefined;
27
- this.customizeSubmit = false;
28
28
  this.showGuidingMsg = true;
29
+ this.table = undefined;
29
30
  this._editorLoading = false;
30
31
  this._translations = undefined;
31
32
  }
@@ -40,23 +41,23 @@ const CreateRelatedFeature = class {
40
41
  * The Editor constructor
41
42
  */
42
43
  Editor;
43
- /**
44
- * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
45
- * The Editor instance
46
- */
47
- _editor;
48
44
  /**
49
45
  * esri/core/reactiveUtils: https://developers.arcgis.com/javascript/latest/api-reference/esri-core-reactiveUtils.html
50
46
  */
51
47
  reactiveUtils;
48
+ /**
49
+ * boolean: Flag to maintain the add attachment
50
+ */
51
+ _addingAttachment;
52
52
  /**
53
53
  * HTMLDivElement: The node the editor will be added to
54
54
  */
55
55
  _container;
56
56
  /**
57
- * boolean: Flag to maintain the add attachment
58
- */
59
- _addingAttachment;
57
+ * esri/widgets/Editor: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Editor.html
58
+ * The Editor instance
59
+ */
60
+ _editor;
60
61
  /**
61
62
  * boolean: Flag to maintain form submission using submit button
62
63
  */
@@ -164,7 +165,7 @@ const CreateRelatedFeature = class {
164
165
  }
165
166
  render() {
166
167
  const loaderClass = this._editorLoading ? "" : "display-none";
167
- return (h(Fragment, { key: '261308f81b5bbed3e136efbb2100db9c1e5994a4' }, this.showGuidingMsg && h("calcite-notice", { key: '3aca1d3f48e46208ce07f2ccdd76ac4af752162d', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: 'f449d7dcde1cc75bf7470a75ae0ce915ef457459', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: 'e94e971b96ddba0ab36f27ffd4e37b820bb2432f', class: loaderClass, label: "", scale: "s" })));
168
+ return (h(Fragment, { key: '6c2bfcf17fc2ef0f1fc16c3c45d98b58101f629b' }, this.showGuidingMsg && h("calcite-notice", { key: 'df2091f0435ef5ee4adcf71e177e35429c831d63', class: "notice-msg", icon: "lightbulb", kind: "success", open: true }, h("div", { key: 'e0180f8e8d6c615507c18ad3d1b0c248d42a754f', slot: "message" }, this._translations.provideDetailsMsg)), h("calcite-loader", { key: '235fb4b02ee3f6576ad5620517da6386774cfb7d', class: loaderClass, label: "", scale: "s" })));
168
169
  }
169
170
  /**
170
171
  * StencilJS: Called once just after the component is fully loaded and the first render() occurs.
@@ -190,11 +191,15 @@ const CreateRelatedFeature = class {
190
191
  }
191
192
  this._container = document.createElement("div");
192
193
  this._container?.classList.add("display-none");
194
+ if (!this.enableSnapping) {
195
+ this._container.classList.add("hide-editor-toolbar");
196
+ }
193
197
  this._editor = new this.Editor({
194
198
  view: this.mapView,
195
199
  visibleElements: {
196
200
  flow: true,
197
- snappingControls: false
201
+ settingsMenu: this.enableSnapping,
202
+ snappingControls: this.enableSnapping,
198
203
  },
199
204
  container: this._container
200
205
  });
@@ -370,6 +375,7 @@ const FeatureDetails = class {
370
375
  this.addComment = createEvent(this, "addComment", 7);
371
376
  this.likeOrDislikeClicked = createEvent(this, "likeOrDislikeClicked", 7);
372
377
  this.featureSelectionChange = createEvent(this, "featureSelectionChange", 7);
378
+ this.enableSnapping = false;
373
379
  this.mapView = undefined;
374
380
  this.graphics = undefined;
375
381
  this.reportingOptions = undefined;
@@ -524,12 +530,12 @@ const FeatureDetails = class {
524
530
  render() {
525
531
  //When related features found show comments list of only those features else comments list will be empty
526
532
  const commentsListWhereClause = this._relatedFeaturesOIDs?.length > 0 ? `objectId in(${this._relatedFeaturesOIDs})` : '1=0';
527
- return (h("calcite-panel", { key: '577f06f7bc41875b38e07a44f3c734ccc839e596', "full-height": true }, 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) &&
528
- h("div", { key: '16d0af6b0e75b595573bd0816744f03d9d6dec37', class: "buttons-container" }, this._commentsAvailable &&
529
- h("calcite-button", { key: '550b3af830911a1437fa3e967492666ec8c5a2e4', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
530
- 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 &&
531
- 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 &&
532
- 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 })));
533
+ return (h("calcite-panel", { key: '369276b48d989c7e15e86a507414e68b55c842b0', "full-height": true }, h("info-card", { key: '1cc64b674205bc2b1b7a7c65d9f99ae551daf89d', allowEditing: false, enableSnapping: this.enableSnapping, 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) &&
534
+ h("div", { key: '52d494236fbf3ea0db4894600885f25d8c9c021f', class: "buttons-container" }, this._commentsAvailable &&
535
+ h("calcite-button", { key: 'f9844e33d90a3d5c4b950e9d7dcbd8c1f2b541af', appearance: "transparent", iconEnd: "speech-bubble", kind: "neutral", onClick: () => { this.addComment.emit(); }, scale: 'm' }, this._relatedFeaturesOIDs.length), this._likeFieldAvailable &&
536
+ h("calcite-button", { key: '0912473490c6ada2ba3e3a703a37d26e752ee4d5', 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 &&
537
+ h("calcite-button", { key: 'e6d62adf0d5669f50b829e78bd2b224d1e400b36', 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 &&
538
+ h("feature-list", { key: '8cd2570111a3425e6c4d9d8b7de1e2b522ce8833', 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 })));
533
539
  }
534
540
  /**
535
541
  * Load esri javascript api modules
@@ -42,6 +42,7 @@ const CrowdsourceManager = class {
42
42
  this.enableLegend = true;
43
43
  this.enableSearch = true;
44
44
  this.enableShare = false;
45
+ this.enableSnapping = true;
45
46
  this.enableZoom = true;
46
47
  this.locale = undefined;
47
48
  this.mapInfos = [];
@@ -266,7 +267,7 @@ const CrowdsourceManager = class {
266
267
  render() {
267
268
  // only avoid border when we have a header color that is not white
268
269
  const borderClass = this.popupHeaderColor && this.popupHeaderColor !== "#FFFFFF" ? "border-width-0" : "";
269
- return (h(Host, { key: '4ec349cf53a543077a3b938d5dad2e767f533181' }, h("calcite-shell", { key: '08c56e11ff814419aeb7295bba240b0e96856cae', class: "position-relative" }, h("calcite-panel", { key: 'aac7ff804b7e98f3b5d1b11dbc5ee8e18c9467ca', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
270
+ return (h(Host, { key: 'cb38f5440e7f36f0285b41a7193e58be94e6cbb7' }, h("calcite-shell", { key: 'dd7b80c00af2b2e28dd5cf7662cfc80d5a46f277', class: "position-relative" }, h("calcite-panel", { key: '5b38f18d4db6132822b622892b9eff5bffbdea2b', class: `width-full height-full ${borderClass}`, loading: this._isLoading }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter()), this._filterModal(), this._deleteModal()));
270
271
  }
271
272
  /**
272
273
  * Called after each render
@@ -497,7 +498,7 @@ const CrowdsourceManager = class {
497
498
  const isTableLayout = this.appLayout === 'tableView';
498
499
  const cardManagerHeight = isTableLayout && this.mapInfos?.length > 1 ? "adjusted-height-100-51" : isMapLayout || isTableLayout ? "height-full" : (this._numSelected > 0 && !this._isMobile) ? "height-50" : !this._showInformationHeader ? "adjusted-height-50_25" : !this._isPortraitMobile ? "height-50" : "height-full";
499
500
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
500
- return (h("div", { class: `width-50 height-full ${themeClass}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, customInfoText: this.customInfoText, enableCreateFeatures: this._enableCreateFeatures && !this._isMobile, enableEditGeometry: this?._mapInfo?.enableEditGeometry, isMobile: this._isPortraitMobile, layer: this._layer, locale: this.locale, mapView: this?._mapView, onBackFromCreateWorkFlow: () => {
501
+ return (h("div", { class: `width-50 height-full ${themeClass}` }, h("card-manager", { class: `${cardManagerHeight} width-full`, customInfoText: this.customInfoText, enableCreateFeatures: this._enableCreateFeatures && !this._isMobile, enableEditGeometry: this?._mapInfo?.enableEditGeometry, enableSnapping: this.enableSnapping, isMobile: this._isPortraitMobile, layer: this._layer, locale: this.locale, mapView: this?._mapView, onBackFromCreateWorkFlow: () => {
501
502
  this._showInformationHeader = true;
502
503
  }, onCreateWorkFlowStarted: () => {
503
504
  this.appLayout = this._layer.isTable ? "tableView" : "mapView";
@@ -29,6 +29,7 @@ const CrowdsourceReporter = class {
29
29
  this.enableLogin = undefined;
30
30
  this.enableNewReports = undefined;
31
31
  this.enableSearch = true;
32
+ this.enableSnapping = false;
32
33
  this.enableZoom = true;
33
34
  this.isMobile = undefined;
34
35
  this.layerExpressions = [];
@@ -377,7 +378,7 @@ const CrowdsourceReporter = class {
377
378
  */
378
379
  render() {
379
380
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
380
- return (h(Host, { key: 'e9a4807ce84ddb099c3f25f562b03c178b69d91f' }, this._reportSubmitted && h("calcite-alert", { key: '4eb1a05f3bdb3abb65d34a59e7452b1cbb2aa011', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: 'b6b1cb628e7a6695230e11c0320a60eb7ac8c77e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: '3e5b98d155cb91950989229c54b58166d4072ba9', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '3ec867d92d44fc808415dbcf11cc0d4f64410ca1', slot: "title" }, this._translations.error), h("div", { key: 'b08a281438504605b23236622decfc632f5e980b', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: '700ce59b43b4bcf5b3b5f269a05b7916aab03119', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: 'e3a853126b97fe73275b2908b7735dae0d8bacc4', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: 'af903aa26896dfbbe1deeac12aee1a6777e2c352', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: 'c88a104fbe9f0266c77c25a7067cfd4836e4ac81', slot: "title" }, this._translations.error), h("div", { key: 'a34b0543199de865a65ae426e49aa3cd13128126', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '0bf41b76dcd6e0c6c26b7e4ac03b2a6a100aacfb' }, h("calcite-shell", { key: '0e7c0a7f15a15677c73ea8a087f77332b34583cc', "content-behind": true }, this._getReporter())), this.isMobile && this.filterModal()));
381
+ return (h(Host, { key: 'b262a653d9af3a8f332f416af7f297cc15ac3355' }, this._reportSubmitted && h("calcite-alert", { key: 'efe33e5ec3ed708d21f8464aa70eb7ce9a258035', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '6c6a35bc84da9a13241313dd15dc4a5905f59866', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: '21d8064c4bf5c0dd118cd012d9d30d2998011a00', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '93e68814f1f3cf62d9ed4d6673aec8124cfa0a4f', slot: "title" }, this._translations.error), h("div", { key: '156cd9169dbcbeafa605620938ba9aeccd0f9401', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && h("calcite-alert", { key: '2cb152fe6734f80f6d9714c3597aaf064ffffd57', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, h("div", { key: '33369e8086740651ef26bfc765448fb6bded03fe', slot: "message" }, this.commentSubmittedMessage || this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '5b4fbac03c85e82e2bb11611772186140d0419e9', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '31bd9f781304d1493dcbbee5914369742c8c0e03', slot: "title" }, this._translations.error), h("div", { key: '7844073654d79069fe7e54c72ec7bc85a1e77436', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '17eca819f0141e4945deb8013aa662d5b3c27626' }, h("calcite-shell", { key: 'c07f28fa3733f6be3a22d813a267e77a05038f3e', "content-behind": true }, this._getReporter())), this.isMobile && this.filterModal()));
381
382
  }
382
383
  //--------------------------------------------------------------------------
383
384
  //
@@ -561,7 +562,7 @@ const CrowdsourceReporter = class {
561
562
  * @protected
562
563
  */
563
564
  getFeatureCreateFlowItem() {
564
- return (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 && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.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("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, submitNewReportsMessage: this.submitNewReportsMessage }))));
565
+ return (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 && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateFeatureSubmitButtonClick.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("create-feature", { customizeSubmit: true, enableSearch: true, enableSnapping: this.enableSnapping, 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, submitNewReportsMessage: this.submitNewReportsMessage }))));
565
566
  }
566
567
  /**
567
568
  * Update the progress bar status when editor panel changes
@@ -729,7 +730,7 @@ const CrowdsourceReporter = class {
729
730
  * @protected
730
731
  */
731
732
  async layerListLoaded(evt) {
732
- // Check if user is present on the layer panel or if first component is feature list then only allow to store the non-reporting valid layers to avoid the feature visbility issue on map
733
+ // Check if user is present on the layer panel or if first component is feature list then only allow to store the non-reporting valid layers to avoid the feature visbility issue on map
733
734
  const presentOnLayerListPanel = this._layerList && this._flowItems[this._flowItems.length - 1] === "layer-list" || this._flowItems[0] === "feature-list";
734
735
  if (presentOnLayerListPanel) {
735
736
  const layersListed = evt.detail;
@@ -929,7 +930,7 @@ const CrowdsourceReporter = class {
929
930
  */
930
931
  getFeatureDetailsFlowItem() {
931
932
  const showCommentBtn = this._getLayersConfig(this._selectedLayerId)?.comment && this._selectedLayer.relationships.length > 0 && this._relatedTable;
932
- return (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(), 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(), h("calcite-panel", null, 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 &&
933
+ return (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(), 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(), h("calcite-panel", null, h("feature-details", { class: 'full-height', enableSnapping: this.enableSnapping, 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 &&
933
934
  h("calcite-button", { appearance: "solid", onClick: this.showAddCommentsPanel.bind(this), slot: "footer", width: "full" }, this.commentButtonText || this._translations.comment))));
934
935
  }
935
936
  /**
@@ -945,14 +946,14 @@ const CrowdsourceReporter = class {
945
946
  * @returns Node
946
947
  */
947
948
  getCommentDetailsFlowItem() {
948
- return (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(), h("calcite-panel", { "full-height": true }, h("info-card", { allowEditing: false, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, paginationEnabled: false }))));
949
+ return (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(), h("calcite-panel", { "full-height": true }, h("info-card", { allowEditing: false, enableSnapping: this.enableSnapping, graphics: this._selectedRelatedFeature, highlightEnabled: false, isLoading: false, isMobile: false, locale: this.locale, mapView: this.mapView, paginationEnabled: false }))));
949
950
  }
950
951
  /**
951
952
  * Returns the calcite-flow item for add comment
952
953
  * @returns Node
953
954
  */
954
955
  getAddCommentFlowItem() {
955
- return (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(), h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), h("calcite-panel", null, 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 }))));
956
+ return (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(), h("div", { class: "width-full", slot: "footer" }, this._showSubmitCancelButton && h("div", { class: "width-full", slot: "footer" }, h("calcite-button", { appearance: "solid", class: "footer-top-button footer-button", onClick: this.onCreateRelatedFeatureSubmitButtonClick.bind(this), width: "full" }, this._translations.submit), h("calcite-button", { appearance: "outline", class: "footer-button", onClick: this.backFromCreateRelatedFeaturePanel.bind(this), width: "full" }, this._translations.cancel))), h("calcite-panel", null, h("create-related-feature", { customizeSubmit: true, enableSnapping: this.enableSnapping, 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 }))));
956
957
  }
957
958
  /**
958
959
  * Sets the selected features and updates the first feature as the current selected feature
@@ -76,7 +76,7 @@ const DeductCalculator = class {
76
76
  * Renders the component.
77
77
  */
78
78
  render() {
79
- return (h(Host, { key: 'bef351adfb4972c2bd84709220171922a4649cd7' }, h("div", { key: '51065f0afbe4c2a2c2351f7a41a621d5d1dc8ba2', class: "label-display" }, h("calcite-label", { key: '3c9e587ef5b6becd188cb109ec4c262fdb829d92', class: "label-display" }, "Density %", this._getDensityInput()), h("calcite-label", { key: 'a274eddffc391680e55edc8582ba0c3ade78b48e', class: "label-display" }, "Type", this._getTypeInput()), h("calcite-label", { key: '300d544f83a425dc43d6725322d2381872b1acd9', class: "label-display" }, "Severity", this._getSeverityInput())), h("div", { key: '511ed7788c57fc3ff8e162f0b910b1ed2a974b3d' }, this._getCalculateInput())));
79
+ return (h(Host, { key: 'b2208eddc39e3112b21061b0718c07b40b5d555f' }, h("div", { key: '141f1411adb23fe1678bd4335c46c4de0c3a6f45', class: "label-display" }, h("calcite-label", { key: '78f7956efdfd7d88832e6fd031682b7f58046e34', class: "label-display" }, "Density %", this._getDensityInput()), h("calcite-label", { key: '1e38c3db3a4797efcd98b8b767578f734448ec8f', class: "label-display" }, "Type", this._getTypeInput()), h("calcite-label", { key: '1793f3b2babbcadce21c45f4224ddfe958ad6e2f', class: "label-display" }, "Severity", this._getSeverityInput())), h("div", { key: 'e7e16b0e165357f0da22617463aab443534f7ace' }, this._getCalculateInput())));
80
80
  }
81
81
  //--------------------------------------------------------------------------
82
82
  //
@@ -79,7 +79,7 @@ const DeleteDialog = class {
79
79
  render() {
80
80
  const confirmMessage = this.ids.length === 1 ? this._translations?.confirmSingle :
81
81
  this._translations?.confirmMultiple;
82
- return (h(Host, { key: 'd672a7218bc19c762c89b519b5d12c8d0122f770' }, h("calcite-dialog", { key: 'c43ba38dd9477869ae9797f98e3daafce09c5eae', heading: this._translations?.deleteFeature, kind: "danger", modal: true, onCalciteDialogClose: () => this._close(), open: this.open, widthScale: "s" }, h("div", { key: '481710981431c3bb10b8ec221604f0740f3f8772' }, confirmMessage), h("calcite-button", { key: '8f1fc8a1a66fbd25edbb8d7f99f223b5bfea0517', appearance: "outline", kind: "danger", onClick: () => this._close(), slot: "footer-end", width: "full" }, this._translations?.cancel), h("calcite-button", { key: '46830e28586f1d345de2b19a2d8198f36ae74f15', kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "footer-end", width: "full" }, this._translations?.delete))));
82
+ return (h(Host, { key: 'c75cf86cce1b728837422e4102fd9cdffc33c78a' }, h("calcite-dialog", { key: '026e1b0a55ebd740f2352da820d5b15afa050f78', heading: this._translations?.deleteFeature, kind: "danger", modal: true, onCalciteDialogClose: () => this._close(), open: this.open, widthScale: "s" }, h("div", { key: '3f8e4aef2995387b758f1af8e1443253207998bc' }, confirmMessage), h("calcite-button", { key: '3005fafc853db910adc787290a328dcc161401bb', appearance: "outline", kind: "danger", onClick: () => this._close(), slot: "footer-end", width: "full" }, this._translations?.cancel), h("calcite-button", { key: '42e9da99a45f416fa9b9b5cfefdb10b045593ecb', kind: "danger", loading: this._isDeleting, onClick: () => void this._deleteFeatures(), slot: "footer-end", width: "full" }, this._translations?.delete))));
83
83
  }
84
84
  //--------------------------------------------------------------------------
85
85
  //
@@ -229,10 +229,10 @@ const FeatureList = class {
229
229
  */
230
230
  render() {
231
231
  const showSearch = this._canShowFullTextSearch();
232
- return (h("calcite-panel", { key: '465989fd2befec544d5a49a355a70dc13b6962dc', "full-height": true, "full-width": true }, showSearch &&
233
- h("calcite-input", { key: 'b09776016a6d854336b44bbfcb98eabbd50d1e95', class: "search", clearable: true, icon: "search", onCalciteInputChange: this._searchTextChanged.bind(this), placeholder: this._searchPlaceHolder, title: '', type: "search" }), this._isLoading && h("calcite-loader", { key: 'ac945c628e55c6dff43701c39d33c6a3a9ff8874', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
234
- h("calcite-notice", { key: '00cb64af86c8cd8600cdf435f918131cc3e66a38', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: '29b8bd85b3cb55c6bfb6adc282f8e69a7f9ea2ce', slot: "message" }, this.filterByMapExtent ? this._translations.featureErrorMsgInCurrentMapView : this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: '002f3171e10af68d189c71dbd9fa86d3106f13a2', class: this.textSize === 'small' && !this.showFullTitle ? 'overflow-hidden' : '', label: "", ref: el => this._calciteList = el, "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
235
- h("div", { key: '3df744fa6f86db8c092e10dee631907516985fc5', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: '0221928e0266e4b57c7ce5a34aa8ec758864312f', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
232
+ return (h("calcite-panel", { key: 'da51d35e66ceea64f32ddf7872ac7133f98bfc48', "full-height": true, "full-width": true }, showSearch &&
233
+ h("calcite-input", { key: '04a50538873d5a87eb194edca98fa5a86818bfc4', class: "search", clearable: true, icon: "search", onCalciteInputChange: this._searchTextChanged.bind(this), placeholder: this._searchPlaceHolder, title: '', type: "search" }), this._isLoading && h("calcite-loader", { key: 'f89602c8d36c41d8ed5b028619853ba8e1dedbc9', label: "", scale: "m" }), this.showErrorWhenNoFeatures && this._featureItems.length === 0 && !this._isLoading &&
234
+ h("calcite-notice", { key: '147d2072a916b9a0ec34d3819a8c88ded50673b1', class: "error-msg", icon: "feature-details", kind: "info", open: true }, h("div", { key: 'ab769558c1489e9b24eff945b970230b5015a35c', slot: "message" }, this.filterByMapExtent ? this._translations.featureErrorMsgInCurrentMapView : this.noFeaturesFoundMsg ? this.noFeaturesFoundMsg : this._translations.featureErrorMsg)), h("calcite-list", { key: 'aa05260aa25bd5023be842969f6660950269221e', class: this.textSize === 'small' && !this.showFullTitle ? 'overflow-hidden' : '', label: "", ref: el => this._calciteList = el, "selection-appearance": "border", "selection-mode": "none" }, !this._isLoading && this._featureItems.length > 0 && this._featureItems), this._featuresCount > this.pageSize &&
235
+ h("div", { key: '6db2614c585cc95605998c2ddd96e9d8980ed875', class: "width-full", slot: "footer" }, h("calcite-pagination", { key: '59f0c7e97b02215ec717d902fdf6294ed7c82a67', class: "pagination", "full-width": true, onCalcitePaginationChange: this.pageChanged.bind(this), "page-size": this.pageSize, ref: el => this._pagination = el, "start-item": "1", "total-items": this._featuresCount }))));
236
236
  }
237
237
  //--------------------------------------------------------------------------
238
238
  //
@@ -108,7 +108,7 @@ const JsonEditor = class {
108
108
  * Renders the component.
109
109
  */
110
110
  render() {
111
- return (h(Host, { key: 'e9c806dbfc886daac9be93350e461246339787dd' }, h("div", { key: '5f31103bc0392042581d1421530f2ddcdebcc507', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: '560c74b9864cd94f4e689bf65cb8e1fac42b94af', class: "editor-controls" }, h("div", { key: '73ca9ac97f3d40fb408e98477641a9d94e1cd32e', class: "editor-buttons" }, h("calcite-icon", { key: '2d83934e4493595f66e047c608a87e316279ec1b', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: 'fe95dd90ec0db23c6d6d6766d6d405c32468cec1', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'd802118d2ac7b8cbf2750f3af11252fd52173dd0', icon: "undo", scale: "s" })), h("calcite-button", { key: '9e9af33be6b712ff83ec70e024776c2429086761', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'bb5bfd3a99902b03c4ffb704b8fdc963c006e664', icon: "redo", scale: "s" })), h("calcite-button", { key: 'a88fcffeb9c82394470717ebc6659b42ad9a1c20', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'f902baf72fee24ef3b56da2c4d9337db96ab63b1', icon: "compare", scale: "s" })), h("calcite-button", { key: '841abd705338fb1e43c892c4858bff00591958c3', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '01c24bdbf30cd22a06064bf26a47b38516508879', icon: "search", scale: "s" })), h("calcite-button", { key: '2d6b9dc60e26e347272c76ff9f8ada529975265b', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'a373dc694d97992dfbd60f49f38536ba34684381', icon: "reset", scale: "s" })))), h("div", { key: '6cdebae478b9d1b61e317155000bf62ad4c5b8a3', class: "edit-parent" }, h("div", { key: 'e3914618f86335e9538969b5cb7f7797212985c2', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: '4a17fd062060ddf2e5dca5c2fb6c9883ed9aadd4', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
111
+ return (h(Host, { key: '621ac863c34e9f9094cacdd23d8e98ac72f17cca' }, h("div", { key: '4b76eb1e909ae3ee552be7901d00fbc4273ba566', id: `${this.instanceid}-editor-container`, class: "editor-container padding-right" }, h("div", { key: '52f698899de155066e0553c6a98d25fd97caf4c6', class: "editor-controls" }, h("div", { key: '0e6cdbe7ddab159a7a48871438e8ab0879c88c66', class: "editor-buttons" }, h("calcite-icon", { key: '1dc05177d04b37e90ead37a379440668ccaf3b63', id: `${this.instanceid}-errorFlag`, icon: "exclamation-mark-triangle", title: this._translations.errorFlag, scale: "s", class: "edit-error-flag" }), h("calcite-button", { key: 'b3854e84069228ed8325f434f7e480f1195dd1ef', id: `${this.instanceid}-undo`, color: "blue", appearance: "solid", title: this._translations.undo, onClick: () => this._undo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '50b6aaabeefde273e1cfba831a30311586eda488', icon: "undo", scale: "s" })), h("calcite-button", { key: 'afea75aece444f691e57a7b981f2d35fa9149d74', id: `${this.instanceid}-redo`, color: "blue", appearance: "solid", title: this._translations.redo, onClick: () => this._redo(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'c5f3bbaceb3e53b24df5e81059a7be32d953aa69', icon: "redo", scale: "s" })), h("calcite-button", { key: '7489ee1d6032f9353244d16b8f45725bcf3a5fd1', id: `${this.instanceid}-diff`, color: "blue", appearance: "solid", title: this._translations.diff, onClick: () => this._toggleEditor(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: 'ac11bfc128fca752dbd2e4b8cdc6bc6b1d84a870', icon: "compare", scale: "s" })), h("calcite-button", { key: '291fe329bf2468767efc58fff156386673452b28', id: `${this.instanceid}-search`, appearance: "outline", color: "blue", title: this._translations.search, onClick: () => this._search(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '84c9bc3b1bc4f0e85a21db0e9bba2018b615823f', icon: "search", scale: "s" })), h("calcite-button", { key: '085eaac8db01198f5585903e46f1de155575ab52', id: `${this.instanceid}-reset`, color: "blue", appearance: "solid", disabled: true, title: this._translations.cancelEdits, onClick: () => this._reset(), scale: "s", class: "edit-button" }, h("calcite-icon", { key: '490471d98c54415ed367532e8f27afc7e2f6f909', icon: "reset", scale: "s" })))), h("div", { key: 'ba0eefa9c89c00c31cbde9e96bbc99e51af7b6e2', class: "edit-parent" }, h("div", { key: '53706cf936c04c7c07862fba30d117048a741e85', id: `${this.instanceid}-container`, class: "json-edit-container" }), h("div", { key: 'c8c8f9735fb8836396dad6c8a20cfaf88aaed734', id: `${this.instanceid}-diff-container`, class: "json-edit-container display-none" })))));
112
112
  }
113
113
  //--------------------------------------------------------------------------
114
114
  //
@@ -486,7 +486,7 @@ const SolutionItemDetails = class {
486
486
  * Renders the component.
487
487
  */
488
488
  render() {
489
- return (h(Host, { key: '8ad2bab229a9ee6cd80efde17d269a484288f5ae' }, h("div", { key: 'a066afedf3e5ea056579e07cac6c38496fe00d79', class: "parent-container" }, h("div", { key: 'fe7d207e2d28f0e70507ef048d993bc3ddc62297', class: "inputBottomSeparation" }, h("calcite-input", { key: 'f0714ef845c9b4aa791e3fc6f5ac28fe6572127d', id: "item-title", value: this.itemDetails.title })), h("div", { key: '40b6f0d4d34ff62134f25fdd42887f395407aa45', class: "inputBottomSeparation" }, h("input", { key: '216060434e37ff499a47b4cc24d7682ac6e55ba7', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: 'a6b71fac06b9231a91b32a0416cb3a723b6ac6dd', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: '395adfcd43d737fe049f765b3700d7358c06e8a0', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '5e541a3fcb79fe3a306b720a08e745f0dd69d557', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: 'e6dc45b53a0deac24d29a7be29569c55857a7801', class: "flex" }, h("div", { key: '8c81b6db29e4b03a5188e729eb8e27b8dcf22e5f', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: 'cfbfad50a4eb55166cb49be45a20f680b7d482d3', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '0cf010a87106c0434ff7d54f7889bc2eb08fd733', class: "snippet-count-container" }, h("calcite-input", { key: '85eedc1b801db3afdc2dfb606aa93de489bac491', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '783be9f5082085add36a16f1a8bc55ecc11dc7e8', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '63bdfb42b95d1e8086e792efd757919676230354' }, this._translations.description, h("label", { key: 'aa9056a2807d9fd14c7dcd81775d902a30a2df63', id: "item-description-label" }, h("calcite-input", { key: '61d584f29afd305913039e0cf4d6be7d54f1aa2f', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '4daf0f44b2b14274fe8992bad5607c8ba82d6fa4' }, this._translations.tags, h("label", { key: '142f41ae1667c916e2ef32e7b7eb9aacad80e17d', id: "item-tags-label" }, h("calcite-input", { key: '2f576b51a68370ce1112b999c35eef0714595e9f', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
489
+ return (h(Host, { key: '25e3930a7c1b24c78f0e231bb9b6aa114fe0f760' }, h("div", { key: '907595455cc5be58a236c6b12d0399c0c6f8da7e', class: "parent-container" }, h("div", { key: 'c7f1572fff7059b7223f6b6f7e1ff65e15ccadc0', class: "inputBottomSeparation" }, h("calcite-input", { key: '3f393371b2c4c5a88241df18fc0b8c9ee5b325b6', id: "item-title", value: this.itemDetails.title })), h("div", { key: 'e134339bd5fb1f55045b72e3e0ece595c20fd55a', class: "inputBottomSeparation" }, h("input", { key: '08742aa24d380d38d074b755e170b1df9b48114c', accept: ".jpg,.gif,.png,image/jpg,image/gif,image/png", class: "display-none", onChange: (event) => (this._updateThumbnail(event)), ref: (el) => (this.browseForThumbnail = el), type: "file" }), h("button", { key: '0ad864fa6d12282c864c968f15e4a730ca8e2d53', class: "font-size--3 btn-link inline-block trailer-quarter", onClick: () => this._getThumbnail() }, h("svg", { key: 'bf32edd3ad9d2fa985d2c707106b1697bacac757', class: "icon-inline icon-inline--on-left", height: "16", viewBox: "0 0 16 16", width: "16" }, h("path", { key: '0581a38a6f0f8a58c1b3abbef033e38af9743f03', d: "M14.792 2.666l-1.414-1.413a.965.965 0 0 0-1.385-.03l-1.444 1.444-8.763 8.72L.03 15.481a.371.371 0 0 0 .488.488l4.096-1.756 8.763-8.72-.001-.001.002.002 1.443-1.444a.965.965 0 0 0-.03-1.385zM1.569 14.431l.554-1.293.74.739zm2.338-.924l-1.414-1.414 7.963-7.92 1.414 1.415zm8.67-8.626l-1.413-1.414 1.29-1.29a.306.306 0 0 1 .433 0l.981.98a.306.306 0 0 1 0 .433z" })), this._translations.editThumbnail), h("div", { key: '978e825767ec86c4eb974c9b47741ac58a794c54', class: "flex" }, h("div", { key: 'f6721a9446b4eab103f629f03be69956e28c63b6', class: "img-container", ref: (el) => (this.thumbnailContainer = el) }, h("img", { key: '0e0db9376bd9c961a7cc6c34aba64868d92eaf85', class: "scale-down", height: "133", id: "item-thumbnail", ref: (el) => (this.thumbnail = el), width: "200" })), h("div", { key: '2a82df665ff0cb16359e31eb7997db705384b56c', class: "snippet-count-container" }, h("calcite-input", { key: 'a142354996383afddbada732fbe71add5170771f', id: "item-snippet", maxLength: 250, type: "textarea", value: this.itemDetails.snippet }), h("label", { key: '0675e3bcc1f6d1cc6c73f21ccfc8da2f83fdf4c9', class: "font-size--3", id: "item-snippet-count", ref: (el) => (this.itemSnippetCount = el) })))), h("calcite-label", { key: '1c5f6ff67b2244dda36c26ad5cd64bcf1901ba76' }, this._translations.description, h("label", { key: '96eff727abe88b1c488b6b0e8b35f432808323e8', id: "item-description-label" }, h("calcite-input", { key: 'e88ece9f3ffd14956b1ed4700931a56ee3c763d5', id: "item-description", type: "textarea", value: this.itemDetails.description }))), h("calcite-label", { key: '25f6a748d704740ac15142857ebe5f799bfcd9fe' }, this._translations.tags, h("label", { key: 'c78501ae484fa238622e12df58f1117912474d1a', id: "item-tags-label" }, h("calcite-input", { key: 'd110e04d2daed7483ec97cc1e845cfab54a5032b', id: "item-tags", value: (this.itemDetails.tags && Array.isArray(this.itemDetails.tags) ? this.itemDetails.tags : [this.itemDetails.tags]).join(",") }))), this.itemType !== "Group" ? h("calcite-label", null, this._translations.credits, h("label", { id: "item-credits-label" }, h("calcite-input", { id: "item-credits", value: this.itemDetails.accessInformation }))) : null, this.itemType !== "Group" ? h("calcite-label", null, h("label", { id: "item-terms-label" }, this._translations.termsOfUse, h("calcite-input", { id: "item-terms", type: "textarea", value: this.itemDetails.licenseInfo }))) : null)));
490
490
  }
491
491
  componentDidRender() {
492
492
  this._loadThumb();
@@ -681,7 +681,7 @@ const SolutionItemSharing = class {
681
681
  * Renders the component.
682
682
  */
683
683
  render() {
684
- return (h(Host, { key: '1c7dbee68fbf0eabf736fb783f173ade2f408122' }, h("div", { key: '3c3d88ab122d4a8bc69363224a2754c4a4b092ba', class: "container-border" }, h("calcite-label", { key: '137bb704b258a3cd1e5e5b7a18c53aca331d7f91' }, this._translations.groupInfo), this._renderItems(this.sharing))));
684
+ return (h(Host, { key: '734a56fc2d841d0fd924f989ecbde1246a27e0b9' }, h("div", { key: '5358c6f1e10fa85597ebbcecdaa7755dfce10e03', class: "container-border" }, h("calcite-label", { key: 'aec3e25ef8525070bf93faf9bfbcacda336e165a' }, this._translations.groupInfo), this._renderItems(this.sharing))));
685
685
  }
686
686
  //--------------------------------------------------------------------------
687
687
  //
@@ -815,7 +815,7 @@ const SolutionOrganizationVariables = class {
815
815
  * Renders the component.
816
816
  */
817
817
  render() {
818
- return (h(Host, { key: '3f72a5c1b8fb6bcdab858ee061eadb38cb9965d9' }, h("div", { key: '118c7cafc8330c44e72a59a76fd81ca0f39696e1' }, h("h4", { key: '86934bdf3cbf162a732a53579e324c5fff8beead', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: 'ed5c1df397286a7d1c8e61b5ce04623fa13d74cc', class: "container-border" }, h("calcite-tree", { key: '47f4f9bf5a81ded9a37a33a94fac6a230263e917', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
818
+ return (h(Host, { key: '787dfd1360205b9115a116587de2105c6445901b' }, h("div", { key: '1b30f388323fe0b66d41dc5fff96656625c194e0' }, h("h4", { key: 'b293e7360e94711de6123bfe69ad4b1bfd51a32f', class: "org-var-header" }, this._translations.orgVariables)), h("div", { key: 'd7539e32e93de16f17acb1936f8fcd8f5a2be5e7', class: "container-border" }, h("calcite-tree", { key: '3dc37dd785d0eb7c637b0ee869dd1de5260c30c2', id: "variable-label" }, this._renderHierarchy(this._organizationVariables)))));
819
819
  }
820
820
  //--------------------------------------------------------------------------
821
821
  //
@@ -928,7 +928,7 @@ const SolutionResourceItem = class {
928
928
  */
929
929
  render() {
930
930
  const hasValidResources = this._hasValidResources();
931
- return (h(Host, { key: '13f2759a882d2eca48bf9dda58e74caade76142b' }, h("div", { key: '498ced2e29b8af9138a8aa9d77ec78e07e3c64de', class: "resource-item" }, h("div", { key: 'd76a967373a990906a67d88ea6466030c41401ff', class: "margin-bottom-1" }, h("calcite-button", { key: '96cd2ee08adadef9e1b29db12c38d4748b0689c0', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: '49326139cad065995512d3e3568c7d8e7f5cef4f', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: '9c056d9ab7242ea10cbcf57eaabce4bd9777541e', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
931
+ return (h(Host, { key: 'e6fbb574cb4388f8ae3a12326da5c1ff8fc6ef8b' }, h("div", { key: '457ed63be82590dc1d0b80d80a81dae3f4b19331', class: "resource-item" }, h("div", { key: '3a514d2a3acf96f259ed9b9a01e94616cbcc8dfb', class: "margin-bottom-1" }, h("calcite-button", { key: '1ff4674533779ea6a843e5e6d7507ab45a651a8d', appearance: "solid", class: "resource-button", color: "blue", onClick: () => this._addNewResource() }, this._translations.addResource), h("calcite-button", { key: 'ec3a044c9e13d4bea242ede4ed80c35c63fad40d', appearance: "solid", color: "blue", disabled: !hasValidResources, onClick: () => this._downloadAll() }, this._translations.downloadAll)), h("div", { key: 'e78338fe068802b4f339dba4e751b972ef921462', class: "resources-container", style: { display: hasValidResources ? "inherit" : "none" } }, this._renderResourceList()))));
932
932
  }
933
933
  _removedResources = {};
934
934
  //--------------------------------------------------------------------------
@@ -1225,7 +1225,7 @@ const SolutionTemplateData = class {
1225
1225
  * Renders the component.
1226
1226
  */
1227
1227
  render() {
1228
- return (h(Host, { key: '3f853006c19509c8cf484d4420b3f687aaad5161' }, h("div", { key: 'f524e1ee3c8dc972779be0909372c11c26092dd0', class: "solution-data-container" }, h("calcite-shell", { key: '56797702bc53b08051360975dc529c884eb7d294', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: '6208ac7b63ab8b69bc29ad88abdb9bcdeaaa707a', class: "json-editor" }, h("div", { key: '66e99550359b5665b4dd04f794d8108e4ee34284', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '7a7f5afa5d424fb6099b7167f274ce211e791a56', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, locale: this.locale, value: this.value }))), h("calcite-shell-panel", { key: '7cc8bac91bfc5be96018d005cc87be457278ed6d', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '4ce0c251d30d5735781394f5c213523867205886', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: '814c8996b854102b022f7ac482498dd6aac36ec8', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: '6b872cfc1c60870fb6262808f5d9f61cc35f0f44', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: 'e8e9ee594b6dcb5ddaabd05c322fb33d568ac7b5', locale: this.locale, value: this.organizationVariables })), h("div", { key: '109d17a77a54a13818af6aa2a9beb92526100ea7', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: '46902ed69897ed01334def99817fedafbda2e8d5', locale: this.locale, value: this.solutionVariables }))))))));
1228
+ return (h(Host, { key: 'f6da4b15c002be4d1744bf3fa37f0572d74fd8e4' }, h("div", { key: '32c037bfe426a87e9c72306f6fb39eb216e4423a', class: "solution-data-container" }, h("calcite-shell", { key: '3ed2cd29f5e1015cb40b94b292da5877c242f899', class: "light var-container", dir: "ltr" }, h("calcite-panel", { key: 'a1c34c8dd9df1e7cdf649c489d10c2dc7955bba2', class: "json-editor" }, h("div", { key: 'b12f8225c6db5a26a43c9a5bc10957e417942708', class: "solution-data-child-container calcite-match-height" }, h("json-editor", { key: '1826ffe1884f387e93a51c8c25767b7de8836481', class: "solution-data-editor-container", instanceid: this.itemId + "|" + this.instanceid, locale: this.locale, value: this.value }))), h("calcite-shell-panel", { key: '6a87685cdad0b60cb50ceed7c9d8ae9e6f86a8ed', "height-scale": "l", position: "end", slot: "contextual-panel", "width-scale": "xs" }, h("div", { key: '569c1a2101114f849bdc51bbb9ff8096d777c012', class: this.varsOpen ? "solution-data-child-container" : "solution-data-child-container-collapsed" }, h("calcite-button", { key: 'b757de3ed5b27aa2afd9b31d0237b4f39a567c67', appearance: "transparent", class: "collapse-btn", "icon-start": this.varsOpen ? "chevrons-right" : "chevrons-left", id: "collapse-vars", onClick: () => this._toggleVars(), scale: "s", title: this.varsOpen ? this._translations.collapse : this._translations.expand }), h("div", { key: '18c703e0588db7350c23d8d372c2f8d6b21b75a2', class: this.varsOpen ? "org-vars" : "org-vars display-none", id: "orgVars" }, h("solution-organization-variables", { key: '314e49f8890a81e1ba6f1d2850f42c93f6548c72', locale: this.locale, value: this.organizationVariables })), h("div", { key: 'c64bcc41b5ce924c19bca4ed2dd1e4bb4ac0a1d6', class: this.varsOpen ? "sol-vars" : "sol-vars display-none", id: "solVars" }, h("solution-variables", { key: 'fb0a82ba68b9135bee7e3935941cbeb34a3b2a8f', locale: this.locale, value: this.solutionVariables }))))))));
1229
1229
  }
1230
1230
  _initializing = false;
1231
1231
  //--------------------------------------------------------------------------
@@ -1314,7 +1314,7 @@ const SolutionVariables = class {
1314
1314
  * Renders the component.
1315
1315
  */
1316
1316
  render() {
1317
- return (h(Host, { key: 'a90cdfc9a32279cb07938fc57f9dd7e38d822f6d' }, h("div", { key: '6826e3dd84034368f419ff759962a721a275dc9c' }, h("h4", { key: '5ebdf456e8c4dc006b036dc182fa75218aac0e01', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '06fc04c1e61dc1897989e3cc11df7b173f1fdb2a', class: "container-border" }, h("calcite-tree", { key: '15500194129af7440ec05dc495b060fc18f22324', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
1317
+ return (h(Host, { key: '4a07407cbb5ec30a726b8d4479842f5f0006e6ef' }, h("div", { key: '37146247e3d5384d1ec41c0804f09951a15db9eb' }, h("h4", { key: '06a068797418271f93135973e69097b26ebc0704', class: "org-var-header" }, this._translations.solVariables)), h("div", { key: '8b320287b59a0dddda151e055837963409193e02', class: "container-border" }, h("calcite-tree", { key: '1e5898ccbf092fa57630cc0e4a085fbda006991a', id: "variable-label" }, this._renderHierarchy(this._solutionVariables)))));
1318
1318
  }
1319
1319
  //--------------------------------------------------------------------------
1320
1320
  //