@esri/solutions-components 0.8.7 → 0.8.8
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.
- package/dist/cjs/crowdsource-manager.cjs.entry.js +4 -0
- package/dist/cjs/crowdsource-reporter.cjs.entry.js +0 -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 +72 -0
- package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +0 -36
- package/dist/collection/utils/interfaces.ts +4 -4
- package/dist/components/crowdsource-manager.js +8 -0
- package/dist/components/crowdsource-reporter.js +0 -4
- package/dist/esm/crowdsource-manager.entry.js +4 -0
- package/dist/esm/crowdsource-reporter.entry.js +0 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/p-13ca3b00.entry.js +6 -0
- package/dist/solutions-components/p-a3a11749.entry.js +6 -0
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/interfaces.ts +4 -4
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +16 -0
- package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +0 -8
- package/dist/types/components.d.ts +32 -16
- package/dist/types/utils/interfaces.d.ts +4 -4
- package/package.json +1 -1
- package/dist/solutions-components/p-6db185bf.entry.js +0 -6
- package/dist/solutions-components/p-e8f13354.entry.js +0 -6
@@ -67,6 +67,10 @@ export class CrowdsourceManager {
|
|
67
67
|
this.hideMapOnLoad = undefined;
|
68
68
|
this.mapInfos = [];
|
69
69
|
this.onlyShowUpdatableLayers = true;
|
70
|
+
this.popupHeaderColor = undefined;
|
71
|
+
this.popupHeaderHoverColor = undefined;
|
72
|
+
this.popupHeaderHoverTextColor = undefined;
|
73
|
+
this.popupHeaderTextColor = undefined;
|
70
74
|
this.searchConfiguration = undefined;
|
71
75
|
this.shareIncludeEmbed = undefined;
|
72
76
|
this.shareIncludeSocial = undefined;
|
@@ -926,6 +930,74 @@ export class CrowdsourceManager {
|
|
926
930
|
"reflect": false,
|
927
931
|
"defaultValue": "true"
|
928
932
|
},
|
933
|
+
"popupHeaderColor": {
|
934
|
+
"type": "string",
|
935
|
+
"mutable": false,
|
936
|
+
"complexType": {
|
937
|
+
"original": "string",
|
938
|
+
"resolved": "string",
|
939
|
+
"references": {}
|
940
|
+
},
|
941
|
+
"required": false,
|
942
|
+
"optional": false,
|
943
|
+
"docs": {
|
944
|
+
"tags": [],
|
945
|
+
"text": "string: The background color to apply to the popup header"
|
946
|
+
},
|
947
|
+
"attribute": "popup-header-color",
|
948
|
+
"reflect": false
|
949
|
+
},
|
950
|
+
"popupHeaderHoverColor": {
|
951
|
+
"type": "string",
|
952
|
+
"mutable": false,
|
953
|
+
"complexType": {
|
954
|
+
"original": "string",
|
955
|
+
"resolved": "string",
|
956
|
+
"references": {}
|
957
|
+
},
|
958
|
+
"required": false,
|
959
|
+
"optional": false,
|
960
|
+
"docs": {
|
961
|
+
"tags": [],
|
962
|
+
"text": "string: The color that will be displayed on hover when expanding the popup header"
|
963
|
+
},
|
964
|
+
"attribute": "popup-header-hover-color",
|
965
|
+
"reflect": false
|
966
|
+
},
|
967
|
+
"popupHeaderHoverTextColor": {
|
968
|
+
"type": "string",
|
969
|
+
"mutable": false,
|
970
|
+
"complexType": {
|
971
|
+
"original": "string",
|
972
|
+
"resolved": "string",
|
973
|
+
"references": {}
|
974
|
+
},
|
975
|
+
"required": false,
|
976
|
+
"optional": false,
|
977
|
+
"docs": {
|
978
|
+
"tags": [],
|
979
|
+
"text": "string: The font color that will be displayed on hover when expanding the popup header"
|
980
|
+
},
|
981
|
+
"attribute": "popup-header-hover-text-color",
|
982
|
+
"reflect": false
|
983
|
+
},
|
984
|
+
"popupHeaderTextColor": {
|
985
|
+
"type": "string",
|
986
|
+
"mutable": false,
|
987
|
+
"complexType": {
|
988
|
+
"original": "string",
|
989
|
+
"resolved": "string",
|
990
|
+
"references": {}
|
991
|
+
},
|
992
|
+
"required": false,
|
993
|
+
"optional": false,
|
994
|
+
"docs": {
|
995
|
+
"tags": [],
|
996
|
+
"text": "string: The font color to apply to the popup header"
|
997
|
+
},
|
998
|
+
"attribute": "popup-header-text-color",
|
999
|
+
"reflect": false
|
1000
|
+
},
|
929
1001
|
"searchConfiguration": {
|
930
1002
|
"type": "unknown",
|
931
1003
|
"mutable": false,
|
@@ -41,8 +41,6 @@ export class CrowdsourceReporter {
|
|
41
41
|
this.objectId = undefined;
|
42
42
|
this.center = undefined;
|
43
43
|
this.level = undefined;
|
44
|
-
this.popupHeaderHoverColor = undefined;
|
45
|
-
this.popupHeaderColor = undefined;
|
46
44
|
this.reportButtonText = undefined;
|
47
45
|
this.reportsHeader = undefined;
|
48
46
|
this.reportingOptions = undefined;
|
@@ -891,40 +889,6 @@ export class CrowdsourceReporter {
|
|
891
889
|
"attribute": "level",
|
892
890
|
"reflect": false
|
893
891
|
},
|
894
|
-
"popupHeaderHoverColor": {
|
895
|
-
"type": "string",
|
896
|
-
"mutable": false,
|
897
|
-
"complexType": {
|
898
|
-
"original": "string",
|
899
|
-
"resolved": "string",
|
900
|
-
"references": {}
|
901
|
-
},
|
902
|
-
"required": false,
|
903
|
-
"optional": false,
|
904
|
-
"docs": {
|
905
|
-
"tags": [],
|
906
|
-
"text": "string: The color that will be displayed on hover when expanding the popup header"
|
907
|
-
},
|
908
|
-
"attribute": "popup-header-hover-color",
|
909
|
-
"reflect": false
|
910
|
-
},
|
911
|
-
"popupHeaderColor": {
|
912
|
-
"type": "string",
|
913
|
-
"mutable": false,
|
914
|
-
"complexType": {
|
915
|
-
"original": "string",
|
916
|
-
"resolved": "string",
|
917
|
-
"references": {}
|
918
|
-
},
|
919
|
-
"required": false,
|
920
|
-
"optional": false,
|
921
|
-
"docs": {
|
922
|
-
"tags": [],
|
923
|
-
"text": "string: The background color to apply to the popup header"
|
924
|
-
},
|
925
|
-
"attribute": "popup-header-color",
|
926
|
-
"reflect": false
|
927
|
-
},
|
928
892
|
"reportButtonText": {
|
929
893
|
"type": "string",
|
930
894
|
"mutable": false,
|
@@ -577,14 +577,14 @@ export interface IManagedLayers {
|
|
577
577
|
* Key is the layers guid
|
578
578
|
*/
|
579
579
|
export interface IReportingOptions {
|
580
|
-
[key: string]:
|
580
|
+
[key: string]: IReportingOption;
|
581
581
|
}
|
582
582
|
|
583
|
-
export interface
|
583
|
+
export interface IReportingOption {
|
584
584
|
reporting: boolean;
|
585
585
|
comment: boolean;
|
586
586
|
like: boolean;
|
587
|
+
likeField?: string;
|
587
588
|
dislike: boolean;
|
588
|
-
|
589
|
-
dislikeField: string;
|
589
|
+
dislikeField?: string;
|
590
590
|
}
|
@@ -114,6 +114,10 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
114
114
|
this.hideMapOnLoad = undefined;
|
115
115
|
this.mapInfos = [];
|
116
116
|
this.onlyShowUpdatableLayers = true;
|
117
|
+
this.popupHeaderColor = undefined;
|
118
|
+
this.popupHeaderHoverColor = undefined;
|
119
|
+
this.popupHeaderHoverTextColor = undefined;
|
120
|
+
this.popupHeaderTextColor = undefined;
|
117
121
|
this.searchConfiguration = undefined;
|
118
122
|
this.shareIncludeEmbed = undefined;
|
119
123
|
this.shareIncludeSocial = undefined;
|
@@ -570,6 +574,10 @@ const CrowdsourceManager$1 = /*@__PURE__*/ proxyCustomElement(class CrowdsourceM
|
|
570
574
|
"hideMapOnLoad": [4, "hide-map-on-load"],
|
571
575
|
"mapInfos": [16],
|
572
576
|
"onlyShowUpdatableLayers": [4, "only-show-updatable-layers"],
|
577
|
+
"popupHeaderColor": [1, "popup-header-color"],
|
578
|
+
"popupHeaderHoverColor": [1, "popup-header-hover-color"],
|
579
|
+
"popupHeaderHoverTextColor": [1, "popup-header-hover-text-color"],
|
580
|
+
"popupHeaderTextColor": [1, "popup-header-text-color"],
|
573
581
|
"searchConfiguration": [16],
|
574
582
|
"shareIncludeEmbed": [4, "share-include-embed"],
|
575
583
|
"shareIncludeSocial": [4, "share-include-social"],
|
@@ -63,8 +63,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
63
63
|
this.objectId = undefined;
|
64
64
|
this.center = undefined;
|
65
65
|
this.level = undefined;
|
66
|
-
this.popupHeaderHoverColor = undefined;
|
67
|
-
this.popupHeaderColor = undefined;
|
68
66
|
this.reportButtonText = undefined;
|
69
67
|
this.reportsHeader = undefined;
|
70
68
|
this.reportingOptions = undefined;
|
@@ -682,8 +680,6 @@ const CrowdsourceReporter$1 = /*@__PURE__*/ proxyCustomElement(class Crowdsource
|
|
682
680
|
"objectId": [1, "object-id"],
|
683
681
|
"center": [1],
|
684
682
|
"level": [1],
|
685
|
-
"popupHeaderHoverColor": [1, "popup-header-hover-color"],
|
686
|
-
"popupHeaderColor": [1, "popup-header-color"],
|
687
683
|
"reportButtonText": [1, "report-button-text"],
|
688
684
|
"reportsHeader": [1, "reports-header"],
|
689
685
|
"reportingOptions": [16],
|
@@ -58,6 +58,10 @@ const CrowdsourceManager = class {
|
|
58
58
|
this.hideMapOnLoad = undefined;
|
59
59
|
this.mapInfos = [];
|
60
60
|
this.onlyShowUpdatableLayers = true;
|
61
|
+
this.popupHeaderColor = undefined;
|
62
|
+
this.popupHeaderHoverColor = undefined;
|
63
|
+
this.popupHeaderHoverTextColor = undefined;
|
64
|
+
this.popupHeaderTextColor = undefined;
|
61
65
|
this.searchConfiguration = undefined;
|
62
66
|
this.shareIncludeEmbed = undefined;
|
63
67
|
this.shareIncludeSocial = undefined;
|
@@ -32,8 +32,6 @@ const CrowdsourceReporter = class {
|
|
32
32
|
this.objectId = undefined;
|
33
33
|
this.center = undefined;
|
34
34
|
this.level = undefined;
|
35
|
-
this.popupHeaderHoverColor = undefined;
|
36
|
-
this.popupHeaderColor = undefined;
|
37
35
|
this.reportButtonText = undefined;
|
38
36
|
this.reportsHeader = undefined;
|
39
37
|
this.reportingOptions = undefined;
|