@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.
- package/dist/cjs/crowdsource-manager.cjs.entry.js +2 -1
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +1 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +19 -1
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +1 -19
- package/dist/components/crowdsource-manager.js +3 -1
- package/dist/components/crowdsource-reporter.js +1 -3
- package/dist/esm/crowdsource-manager.entry.js +2 -1
- package/dist/esm/crowdsource-reporter.entry.js +1 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/p-d4686851.entry.js +6 -0
- package/dist/solutions-components/p-e6abef31.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +6 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +0 -6
- package/dist/types/components.d.ts +8 -8
- package/package.json +1 -1
- package/dist/solutions-components/p-3750c969.entry.js +0 -6
- package/dist/solutions-components/p-92ed8d5d.entry.js +0 -6
@@ -46,6 +46,7 @@ export class CrowdsourceManager {
|
|
46
46
|
this._shouldSetMapView = false;
|
47
47
|
this.appProxies = undefined;
|
48
48
|
this.basemapConfig = undefined;
|
49
|
+
this.coverPageEnabled = undefined;
|
49
50
|
this.defaultCenter = "";
|
50
51
|
this.defaultGlobalId = "";
|
51
52
|
this.defaultLayer = "";
|
@@ -186,7 +187,7 @@ export class CrowdsourceManager {
|
|
186
187
|
* Renders the component.
|
187
188
|
*/
|
188
189
|
render() {
|
189
|
-
return (h(Host, { key: '
|
190
|
+
return (h(Host, { key: '686aeccc0f97c1eb8bc1b673d8816663e80fdf71' }, h("calcite-shell", { key: 'f3451483cdbafa8b68a00b71e9927bbff55781b9', class: "position-relative" }, h("calcite-panel", { key: '8256440e1cefa8f25bf1af1f9a1e87650c34462d', class: `width-full height-full border-width-0` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
|
190
191
|
}
|
191
192
|
/**
|
192
193
|
* Called after each render
|
@@ -556,6 +557,23 @@ export class CrowdsourceManager {
|
|
556
557
|
"text": "IBasemapConfig: List of any basemaps to filter out from the basemap widget"
|
557
558
|
}
|
558
559
|
},
|
560
|
+
"coverPageEnabled": {
|
561
|
+
"type": "boolean",
|
562
|
+
"mutable": false,
|
563
|
+
"complexType": {
|
564
|
+
"original": "boolean",
|
565
|
+
"resolved": "boolean",
|
566
|
+
"references": {}
|
567
|
+
},
|
568
|
+
"required": false,
|
569
|
+
"optional": false,
|
570
|
+
"docs": {
|
571
|
+
"tags": [],
|
572
|
+
"text": "boolean: When true a cover page has been enabled in the consuming application.\r\nAlso when true a floating button will be shown in the lower right of the window that\r\nwill emit an event when clicked that the consuming application can respond to that will open the cover page."
|
573
|
+
},
|
574
|
+
"attribute": "cover-page-enabled",
|
575
|
+
"reflect": false
|
576
|
+
},
|
559
577
|
"defaultCenter": {
|
560
578
|
"type": "string",
|
561
579
|
"mutable": false,
|
@@ -26,7 +26,6 @@ import { queryFeaturesByID } from "../../utils/queryUtils";
|
|
26
26
|
export class CrowdsourceReporter {
|
27
27
|
constructor() {
|
28
28
|
this.center = undefined;
|
29
|
-
this.coverPageEnabled = undefined;
|
30
29
|
this.defaultWebmap = "";
|
31
30
|
this.description = undefined;
|
32
31
|
this.enableAnonymousAccess = undefined;
|
@@ -131,7 +130,7 @@ export class CrowdsourceReporter {
|
|
131
130
|
*/
|
132
131
|
render() {
|
133
132
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
134
|
-
return (h(Host, { key: '
|
133
|
+
return (h(Host, { key: '530bb7e6dacde9109246733345157c95c1a50dcb' }, this._reportSubmitted && 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" }, h("div", { key: '3251fcd334b449292d3597af996eb7eea08dd00e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: '0d0553df8133b8d20cc0f2d66a8462334117b5cf', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '81658d0eab5392cbddbcf42ccb0b79b0cebc22dd', slot: "title" }, this._translations.error), h("div", { key: 'e4a00bef08ca9121425fd4f3b8ac7bfffa70d371', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && 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" }, h("div", { key: 'b9b01d82faded409059563840a4bc0ce3ef1faf7', slot: "message" }, this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '3754d8a1d5d91ac3bf3b1bddc16f078170e61a80', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '977b632702e8dc176bd9a9c930c1492539689576', slot: "title" }, this._translations.error), h("div", { key: '45fa0ba61f3831a743b0cc7ae4aa10854b1a9ff5', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '57be499cc8fb87ca20c6efa65fbbe9cc47269906' }, h("calcite-shell", { key: '2ce48b4cdd0dc0dd52995cd7b32f476b14ddd49d', "content-behind": true }, this._getReporter())), this.filterModal()));
|
135
134
|
}
|
136
135
|
//--------------------------------------------------------------------------
|
137
136
|
//
|
@@ -895,23 +894,6 @@ export class CrowdsourceReporter {
|
|
895
894
|
"attribute": "center",
|
896
895
|
"reflect": false
|
897
896
|
},
|
898
|
-
"coverPageEnabled": {
|
899
|
-
"type": "string",
|
900
|
-
"mutable": false,
|
901
|
-
"complexType": {
|
902
|
-
"original": "string",
|
903
|
-
"resolved": "string",
|
904
|
-
"references": {}
|
905
|
-
},
|
906
|
-
"required": false,
|
907
|
-
"optional": false,
|
908
|
-
"docs": {
|
909
|
-
"tags": [],
|
910
|
-
"text": "boolean: When true a cover page has been enabled in the consuming application.\r\nAlso when true a floating button will be shown in the lower right of the window that\r\nwill emit an event when clicked that the consuming application can respond to that will open the cover page."
|
911
|
-
},
|
912
|
-
"attribute": "cover-page-enabled",
|
913
|
-
"reflect": false
|
914
|
-
},
|
915
897
|
"defaultWebmap": {
|
916
898
|
"type": "string",
|
917
899
|
"mutable": false,
|
@@ -95,6 +95,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
95
95
|
this._shouldSetMapView = false;
|
96
96
|
this.appProxies = undefined;
|
97
97
|
this.basemapConfig = undefined;
|
98
|
+
this.coverPageEnabled = undefined;
|
98
99
|
this.defaultCenter = "";
|
99
100
|
this.defaultGlobalId = "";
|
100
101
|
this.defaultLayer = "";
|
@@ -235,7 +236,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
235
236
|
* Renders the component.
|
236
237
|
*/
|
237
238
|
render() {
|
238
|
-
return (h(Host, { key: '
|
239
|
+
return (h(Host, { key: '686aeccc0f97c1eb8bc1b673d8816663e80fdf71' }, h("calcite-shell", { key: 'f3451483cdbafa8b68a00b71e9927bbff55781b9', class: "position-relative" }, h("calcite-panel", { key: '8256440e1cefa8f25bf1af1f9a1e87650c34462d', class: `width-full height-full border-width-0` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
|
239
240
|
}
|
240
241
|
/**
|
241
242
|
* Called after each render
|
@@ -562,6 +563,7 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
562
563
|
}, [0, "crowdsource-manager", {
|
563
564
|
"appProxies": [8, "app-proxies"],
|
564
565
|
"basemapConfig": [16],
|
566
|
+
"coverPageEnabled": [4, "cover-page-enabled"],
|
565
567
|
"defaultCenter": [1, "default-center"],
|
566
568
|
"defaultGlobalId": [1, "default-global-id"],
|
567
569
|
"defaultLayer": [1, "default-layer"],
|
@@ -64,7 +64,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
64
64
|
this.__registerHost();
|
65
65
|
this.togglePanel = createEvent(this, "togglePanel", 7);
|
66
66
|
this.center = undefined;
|
67
|
-
this.coverPageEnabled = undefined;
|
68
67
|
this.defaultWebmap = "";
|
69
68
|
this.description = undefined;
|
70
69
|
this.enableAnonymousAccess = undefined;
|
@@ -169,7 +168,7 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
169
168
|
*/
|
170
169
|
render() {
|
171
170
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
172
|
-
return (h(Host, { key: '
|
171
|
+
return (h(Host, { key: '530bb7e6dacde9109246733345157c95c1a50dcb' }, this._reportSubmitted && 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" }, h("div", { key: '3251fcd334b449292d3597af996eb7eea08dd00e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: '0d0553df8133b8d20cc0f2d66a8462334117b5cf', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '81658d0eab5392cbddbcf42ccb0b79b0cebc22dd', slot: "title" }, this._translations.error), h("div", { key: 'e4a00bef08ca9121425fd4f3b8ac7bfffa70d371', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && 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" }, h("div", { key: 'b9b01d82faded409059563840a4bc0ce3ef1faf7', slot: "message" }, this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '3754d8a1d5d91ac3bf3b1bddc16f078170e61a80', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '977b632702e8dc176bd9a9c930c1492539689576', slot: "title" }, this._translations.error), h("div", { key: '45fa0ba61f3831a743b0cc7ae4aa10854b1a9ff5', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '57be499cc8fb87ca20c6efa65fbbe9cc47269906' }, h("calcite-shell", { key: '2ce48b4cdd0dc0dd52995cd7b32f476b14ddd49d', "content-behind": true }, this._getReporter())), this.filterModal()));
|
173
172
|
}
|
174
173
|
//--------------------------------------------------------------------------
|
175
174
|
//
|
@@ -911,7 +910,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
911
910
|
static get style() { return CrowdsourceReporterStyle0; }
|
912
911
|
}, [0, "crowdsource-reporter", {
|
913
912
|
"center": [1],
|
914
|
-
"coverPageEnabled": [1, "cover-page-enabled"],
|
915
913
|
"defaultWebmap": [1, "default-webmap"],
|
916
914
|
"description": [1],
|
917
915
|
"enableAnonymousAccess": [4, "enable-anonymous-access"],
|
@@ -38,6 +38,7 @@ const CrowdsourceManager = class {
|
|
38
38
|
this._shouldSetMapView = false;
|
39
39
|
this.appProxies = undefined;
|
40
40
|
this.basemapConfig = undefined;
|
41
|
+
this.coverPageEnabled = undefined;
|
41
42
|
this.defaultCenter = "";
|
42
43
|
this.defaultGlobalId = "";
|
43
44
|
this.defaultLayer = "";
|
@@ -178,7 +179,7 @@ const CrowdsourceManager = class {
|
|
178
179
|
* Renders the component.
|
179
180
|
*/
|
180
181
|
render() {
|
181
|
-
return (h(Host, { key: '
|
182
|
+
return (h(Host, { key: '686aeccc0f97c1eb8bc1b673d8816663e80fdf71' }, h("calcite-shell", { key: 'f3451483cdbafa8b68a00b71e9927bbff55781b9', class: "position-relative" }, h("calcite-panel", { key: '8256440e1cefa8f25bf1af1f9a1e87650c34462d', class: `width-full height-full border-width-0` }, this._getBody(this._layoutMode, this._panelOpen, this._hideTable)), this._getFooter())));
|
182
183
|
}
|
183
184
|
/**
|
184
185
|
* Called after each render
|
@@ -17,7 +17,6 @@ const CrowdsourceReporter = class {
|
|
17
17
|
registerInstance(this, hostRef);
|
18
18
|
this.togglePanel = createEvent(this, "togglePanel", 7);
|
19
19
|
this.center = undefined;
|
20
|
-
this.coverPageEnabled = undefined;
|
21
20
|
this.defaultWebmap = "";
|
22
21
|
this.description = undefined;
|
23
22
|
this.enableAnonymousAccess = undefined;
|
@@ -122,7 +121,7 @@ const CrowdsourceReporter = class {
|
|
122
121
|
*/
|
123
122
|
render() {
|
124
123
|
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
125
|
-
return (h(Host, { key: '
|
124
|
+
return (h(Host, { key: '530bb7e6dacde9109246733345157c95c1a50dcb' }, this._reportSubmitted && 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" }, h("div", { key: '3251fcd334b449292d3597af996eb7eea08dd00e', slot: "message" }, this.reportSubmittedMessage ? this.reportSubmittedMessage : this._translations.submitMsg)), this._featureCreationFailedErrorMsg && h("calcite-alert", { key: '0d0553df8133b8d20cc0f2d66a8462334117b5cf', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._featureCreationFailedErrorMsg = ""; }, open: true, placement: "top" }, h("div", { key: '81658d0eab5392cbddbcf42ccb0b79b0cebc22dd', slot: "title" }, this._translations.error), h("div", { key: 'e4a00bef08ca9121425fd4f3b8ac7bfffa70d371', slot: "message" }, this._featureCreationFailedErrorMsg)), this._commentSubmitted && 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" }, h("div", { key: 'b9b01d82faded409059563840a4bc0ce3ef1faf7', slot: "message" }, this._translations.commentSubmittedMsg)), this._addingCommentFailed && h("calcite-alert", { key: '3754d8a1d5d91ac3bf3b1bddc16f078170e61a80', "auto-close": true, class: themeClass, icon: "x-octagon", kind: "danger", label: "", onCalciteAlertClose: () => { this._addingCommentFailed = false; }, open: true, placement: "top" }, h("div", { key: '977b632702e8dc176bd9a9c930c1492539689576', slot: "title" }, this._translations.error), h("div", { key: '45fa0ba61f3831a743b0cc7ae4aa10854b1a9ff5', slot: "message" }, this._translations.addingCommentFailedMsg)), h("div", { key: '57be499cc8fb87ca20c6efa65fbbe9cc47269906' }, h("calcite-shell", { key: '2ce48b4cdd0dc0dd52995cd7b32f476b14ddd49d', "content-behind": true }, this._getReporter())), this.filterModal()));
|
126
125
|
}
|
127
126
|
//--------------------------------------------------------------------------
|
128
127
|
//
|