@esri/solutions-components 0.8.15 → 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: 'b57e18eee85093b3829573a33806b81d8e5b9021' }, this._reportSubmitted && index.h("calcite-alert", { key: '6f45d4435c53c7fbed850098efebf77346f17c12', "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: '7eaecb6ba69aa0b6b45b90e7b751fb580e8557b2', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && index.h("calcite-alert", { key: '2997fdcdf9615ef1cea758111f50903740d863d8', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, index.h("div", { key: '4e8f89c2e26b37507b6fd7047096e8f68355bbd2', slot: "title" }, this._translations.error), index.h("div", { key: 'e514439bb6f88f1405d4a1c5618d0579b08210b9', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && index.h("calcite-alert", { key: '97a51ea4a07a897f071c9c2c34abcf5332aff76b', "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: '05f552f67f2d7da099aa317c3e60841570a8dbfc', slot: "message" }, this._translations.commentSubmittedMsg)), this._addingCommentFailed && index.h("calcite-alert", { key: 'fc78f2f7fb3c501e999c9783e199e732fdb5626d', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, index.h("div", { key: '617dbf2afc438481409e3a8ca268b95d77969499', slot: "title" }, this._translations.error), index.h("div", { key: '5da78c288010c03114c88841fbd9fc97c7366de0', slot: "message" }, this._translations.addingCommentFailedMsg)), index.h("div", { key: 'ded738076efa1f334dc26dc39b3fb57b1ac33de2' }, index.h("calcite-shell", { key: 'fa2a7c6c3dcd761a7517b9922c255459258fbec9', "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
  //