@esri/solutions-components 0.8.16 → 0.8.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,6 +42,7 @@ const CrowdsourceManager = class {
42
42
  this._shouldSetMapView = false;
43
43
  this.appProxies = undefined;
44
44
  this.basemapConfig = undefined;
45
+ this.coverPageEnabled = undefined;
45
46
  this.defaultCenter = "";
46
47
  this.defaultGlobalId = "";
47
48
  this.defaultLayer = "";
@@ -182,7 +183,7 @@ const CrowdsourceManager = class {
182
183
  * Renders the component.
183
184
  */
184
185
  render() {
185
- return (index.h(index.Host, { key: '68558824544553dd0c16832e4530afb4023ff421' }, index.h("calcite-shell", { key: '9369769a8ff35ab56b5317cde8b325e4635c817e', class: "position-relative" }, index.h("calcite-panel", { key: 'c2e5f3feb974a50039427f91e408c2add1b0cc4f', class: `width-full height-full border-width-0` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
186
+ return (index.h(index.Host, { key: '686aeccc0f97c1eb8bc1b673d8816663e80fdf71' }, index.h("calcite-shell", { key: 'f3451483cdbafa8b68a00b71e9927bbff55781b9', class: "position-relative" }, index.h("calcite-panel", { key: '8256440e1cefa8f25bf1af1f9a1e87650c34462d', class: `width-full height-full border-width-0` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
186
187
  }
187
188
  /**
188
189
  * Called after each render
@@ -21,7 +21,6 @@ const CrowdsourceReporter = class {
21
21
  index.registerInstance(this, hostRef);
22
22
  this.togglePanel = index.createEvent(this, "togglePanel", 7);
23
23
  this.center = undefined;
24
- this.coverPageEnabled = undefined;
25
24
  this.defaultWebmap = "";
26
25
  this.description = undefined;
27
26
  this.enableAnonymousAccess = undefined;
@@ -126,7 +125,7 @@ const CrowdsourceReporter = class {
126
125
  */
127
126
  render() {
128
127
  const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
129
- return (index.h(index.Host, { key: 'e1591753c341fd3e59d534fdf789ea82aa1f5216' }, this._reportSubmitted && index.h("calcite-alert", { key: 'ba2b313b3053d15916ae178531f800fa1412d83a', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '7033da8d7d2b4f791b75c17b3cffbdf42824deab', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: '142417d36729dc61825a0f150737ed8085b39bfb', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: '3d49100e462d1c6265cfb928f83647f780660824', slot: "title" }, this._translations.error), index.h("div", { key: '486e96a7f2ab08f6a7562a016e6575ef6b894610', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: 'c3ff4d1d91fad3fd3b1afc2e3ee35b3653245bfa', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '1a370602baeee092bddcae5d70c27b01024b2c1a', slot: "message" }, this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: '0cd55b1b61af0ebba9ee1ab0a9e1f7148b143d16', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '0ae2b4c623e02d80428a9ad5ad2b228d8e0d4e33', slot: "title" }, this._translations.error), index.h("div", { key: 'e46c0fa88539ea3250b525059b571f642dc720c1', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: 'a74767d14121d450933152680541d36d4ebe45fd' }, index.h("calcite-shell", { key: 'b1b30c06f2825f76c9e276bca1c3b0b0a9faa47d', "content-behind": true }, this._getReporter())), this.filterModal()));
128
+ return (index.h(index.Host, { key: '530bb7e6dacde9109246733345157c95c1a50dcb' }, this._reportSubmitted && index.h("calcite-alert", { key: '52abbe347eb4adaf526a3194cb4d389326323d19', "auto-close": true, class: themeClass + " report-submitted-msg", icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._reportSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: '3251fcd334b449292d3597af996eb7eea08dd00e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: '0d0553df8133b8d20cc0f2d66a8462334117b5cf', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: '81658d0eab5392cbddbcf42ccb0b79b0cebc22dd', slot: "title" }, this._translations.error), index.h("div", { key: 'e4a00bef08ca9121425fd4f3b8ac7bfffa70d371', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: '97a200eebe63b3f6fb7515fa07c617d40f94815f', "auto-close": true, class: 'report-submitted ' + themeClass, icon: "check-circle", kind: "success", label: "", onCalciteAlertClose: () => { this._commentSubmitted = false; }, open: true, placement: "top" }, index.h("div", { key: 'b9b01d82faded409059563840a4bc0ce3ef1faf7', slot: "message" }, this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: '3754d8a1d5d91ac3bf3b1bddc16f078170e61a80', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '977b632702e8dc176bd9a9c930c1492539689576', slot: "title" }, this._translations.error), index.h("div", { key: '45fa0ba61f3831a743b0cc7ae4aa10854b1a9ff5', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: '57be499cc8fb87ca20c6efa65fbbe9cc47269906' }, index.h("calcite-shell", { key: '2ce48b4cdd0dc0dd52995cd7b32f476b14ddd49d', "content-behind": true }, this._getReporter())), this.filterModal()));
130
129
  }
131
130
  //--------------------------------------------------------------------------
132
131
  //