@esri/solutions-components 0.6.38 → 0.6.40
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/card-manager_3.cjs.entry.js +4 -2
- package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -1
- package/dist/cjs/{downloadUtils-d8e48fbd.js → downloadUtils-9be94c17.js} +4 -2
- package/dist/cjs/{index.es-6159eedc.js → index.es-f8a598dc.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
- package/dist/cjs/public-notification.cjs.entry.js +1 -1
- package/dist/cjs/solutions-components.cjs.js +1 -1
- package/dist/collection/components/basemap-gallery/basemap-gallery.css +19 -19
- package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +10 -4
- package/dist/collection/components/layout-manager/layout-manager.css +73 -73
- package/dist/collection/components/map-card/map-card.js +26 -1
- package/dist/collection/components/map-fullscreen/map-fullscreen.css +19 -19
- package/dist/collection/components/map-legend/map-legend.css +3 -3
- package/dist/collection/components/map-search/map-search.css +24 -24
- package/dist/collection/demos/new-public-notification.html +2 -2
- package/dist/collection/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +387 -0
- package/dist/collection/utils/downloadUtils.js +3 -1
- package/dist/collection/utils/downloadUtils.ts +3 -3
- package/dist/collection/utils/interfaces.ts +2 -0
- package/dist/components/crowdsource-manager.js +1 -1
- package/dist/components/downloadUtils.js +3 -1
- package/dist/components/map-card2.js +4 -1
- package/dist/esm/card-manager_3.entry.js +4 -2
- package/dist/esm/crowdsource-manager.entry.js +1 -1
- package/dist/esm/{downloadUtils-d41ecba9.js → downloadUtils-c9f4592e.js} +4 -2
- package/dist/esm/{index.es-b226bf47.js → index.es-35932b31.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/map-select-tools_3.entry.js +1 -1
- package/dist/esm/public-notification.entry.js +1 -1
- package/dist/esm/solutions-components.js +1 -1
- package/dist/solutions-components/demos/new-public-notification.html +2 -2
- package/dist/solutions-components/{p-56a3b81e.entry.js → p-0dfd47df.entry.js} +1 -1
- package/dist/solutions-components/{p-1b14b687.entry.js → p-5a2c1d3a.entry.js} +1 -1
- package/dist/solutions-components/{p-9ecb5d66.js → p-6f59f4ee.js} +1 -1
- package/dist/solutions-components/{p-a8661f1f.js → p-79beb262.js} +2 -2
- package/dist/solutions-components/p-99391a15.entry.js +6 -0
- package/dist/solutions-components/{p-20e627ed.entry.js → p-db020d08.entry.js} +1 -1
- package/dist/solutions-components/solutions-components.esm.js +1 -1
- package/dist/solutions-components/utils/__b302600c5c884ab280e2ff6dc2e1fc78.json +387 -0
- package/dist/solutions-components/utils/downloadUtils.ts +3 -3
- package/dist/solutions-components/utils/interfaces.ts +2 -0
- package/dist/solutions-components_commit.txt +8 -0
- package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +3 -3
- package/dist/types/components/map-card/map-card.d.ts +5 -1
- package/dist/types/components.d.ts +14 -6
- package/dist/types/utils/interfaces.d.ts +1 -0
- package/package.json +1 -1
- package/dist/solutions-components/p-63867402.entry.js +0 -6
@@ -1,73 +1,73 @@
|
|
1
|
-
/** @license
|
2
|
-
* Copyright 2023 Esri
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
|
17
|
-
:host {
|
18
|
-
display: block;
|
19
|
-
}
|
20
|
-
|
21
|
-
.action-center {
|
22
|
-
-webkit-box-align: center;
|
23
|
-
-webkit-align-items: center;
|
24
|
-
-ms-grid-row-align: center;
|
25
|
-
align-items: center;
|
26
|
-
align-content: center;
|
27
|
-
justify-content: center;
|
28
|
-
}
|
29
|
-
|
30
|
-
.display-flex {
|
31
|
-
display: flex;
|
32
|
-
}
|
33
|
-
|
34
|
-
.icon-color {
|
35
|
-
--calcite-ui-icon-color: var(--calcite-ui-brand);
|
36
|
-
}
|
37
|
-
|
38
|
-
.icon {
|
39
|
-
cursor: pointer;
|
40
|
-
}
|
41
|
-
|
42
|
-
.tooltip-message {
|
43
|
-
padding: 5px 8px;
|
44
|
-
font-weight: var(--calcite-font-weight-normal);
|
45
|
-
color: var(--calcite-ui-text-2);
|
46
|
-
}
|
47
|
-
|
48
|
-
.header-text {
|
49
|
-
font-size: var(--calcite-font-size-0);
|
50
|
-
font-weight: var(--calcite-font-weight-medium);
|
51
|
-
padding-inline: 0.75rem;
|
52
|
-
padding-block: 0.875rem;
|
53
|
-
line-height: 1.25rem;
|
54
|
-
}
|
55
|
-
|
56
|
-
.img-background {
|
57
|
-
background-repeat: no-repeat;
|
58
|
-
background-size: 100% 100%;
|
59
|
-
width: 38px;
|
60
|
-
height: 26px;
|
61
|
-
}
|
62
|
-
|
63
|
-
.grid-background {
|
64
|
-
background-image: url('../../assets/data/images/grid.png');
|
65
|
-
}
|
66
|
-
|
67
|
-
.horizontal-background {
|
68
|
-
background-image: url('../../assets/data/images/horizontal.png');
|
69
|
-
}
|
70
|
-
|
71
|
-
.vertical-background {
|
72
|
-
background-image: url('../../assets/data/images/vertical.png');
|
73
|
-
}
|
1
|
+
/** @license
|
2
|
+
* Copyright 2023 Esri
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
:host {
|
18
|
+
display: block;
|
19
|
+
}
|
20
|
+
|
21
|
+
.action-center {
|
22
|
+
-webkit-box-align: center;
|
23
|
+
-webkit-align-items: center;
|
24
|
+
-ms-grid-row-align: center;
|
25
|
+
align-items: center;
|
26
|
+
align-content: center;
|
27
|
+
justify-content: center;
|
28
|
+
}
|
29
|
+
|
30
|
+
.display-flex {
|
31
|
+
display: flex;
|
32
|
+
}
|
33
|
+
|
34
|
+
.icon-color {
|
35
|
+
--calcite-ui-icon-color: var(--calcite-ui-brand);
|
36
|
+
}
|
37
|
+
|
38
|
+
.icon {
|
39
|
+
cursor: pointer;
|
40
|
+
}
|
41
|
+
|
42
|
+
.tooltip-message {
|
43
|
+
padding: 5px 8px;
|
44
|
+
font-weight: var(--calcite-font-weight-normal);
|
45
|
+
color: var(--calcite-ui-text-2);
|
46
|
+
}
|
47
|
+
|
48
|
+
.header-text {
|
49
|
+
font-size: var(--calcite-font-size-0);
|
50
|
+
font-weight: var(--calcite-font-weight-medium);
|
51
|
+
padding-inline: 0.75rem;
|
52
|
+
padding-block: 0.875rem;
|
53
|
+
line-height: 1.25rem;
|
54
|
+
}
|
55
|
+
|
56
|
+
.img-background {
|
57
|
+
background-repeat: no-repeat;
|
58
|
+
background-size: 100% 100%;
|
59
|
+
width: 38px;
|
60
|
+
height: 26px;
|
61
|
+
}
|
62
|
+
|
63
|
+
.grid-background {
|
64
|
+
background-image: url('../../assets/data/images/grid.png');
|
65
|
+
}
|
66
|
+
|
67
|
+
.horizontal-background {
|
68
|
+
background-image: url('../../assets/data/images/horizontal.png');
|
69
|
+
}
|
70
|
+
|
71
|
+
.vertical-background {
|
72
|
+
background-image: url('../../assets/data/images/vertical.png');
|
73
|
+
}
|
@@ -42,6 +42,7 @@ export class MapCard {
|
|
42
42
|
this.hidden = undefined;
|
43
43
|
this.mapInfos = [];
|
44
44
|
this.mapView = undefined;
|
45
|
+
this.theme = undefined;
|
45
46
|
this._searchConfiguration = undefined;
|
46
47
|
this._webMapInfo = undefined;
|
47
48
|
}
|
@@ -78,7 +79,8 @@ export class MapCard {
|
|
78
79
|
*/
|
79
80
|
render() {
|
80
81
|
const mapClass = this.hidden ? "visibility-hidden" : "";
|
81
|
-
|
82
|
+
const themeClass = this.theme === "dark" ? "calcite-mode-dark" : "calcite-mode-light";
|
83
|
+
return (h(Host, null, h("map-picker", { mapInfos: this.mapInfos }), h("div", { class: `map-height ${mapClass}`, ref: (el) => (this._mapDiv = el) }), h("map-tools", { basemapConfig: this.basemapConfig, class: `box-shadow ${themeClass}`, enableBasemap: this.enableBasemap, enableFloorFilter: this.enableFloorFilter, enableFullscreen: this.enableFullscreen, enableLegend: this.enableLegend, enableSearch: this.enableSearch, mapView: this.mapView, ref: (el) => this._mapTools = el, searchConfiguration: this._searchConfiguration })));
|
82
84
|
}
|
83
85
|
//--------------------------------------------------------------------------
|
84
86
|
//
|
@@ -349,6 +351,29 @@ export class MapCard {
|
|
349
351
|
"tags": [],
|
350
352
|
"text": "esri/views/View: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html"
|
351
353
|
}
|
354
|
+
},
|
355
|
+
"theme": {
|
356
|
+
"type": "string",
|
357
|
+
"mutable": false,
|
358
|
+
"complexType": {
|
359
|
+
"original": "theme",
|
360
|
+
"resolved": "\"dark\" | \"light\"",
|
361
|
+
"references": {
|
362
|
+
"theme": {
|
363
|
+
"location": "import",
|
364
|
+
"path": "../../utils/interfaces",
|
365
|
+
"id": "src/utils/interfaces.ts::theme"
|
366
|
+
}
|
367
|
+
}
|
368
|
+
},
|
369
|
+
"required": false,
|
370
|
+
"optional": false,
|
371
|
+
"docs": {
|
372
|
+
"tags": [],
|
373
|
+
"text": "theme: \"light\" | \"dark\" theme to be used"
|
374
|
+
},
|
375
|
+
"attribute": "theme",
|
376
|
+
"reflect": false
|
352
377
|
}
|
353
378
|
};
|
354
379
|
}
|
@@ -1,19 +1,19 @@
|
|
1
|
-
/** @license
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
|
17
|
-
:host {
|
18
|
-
display: block;
|
19
|
-
}
|
1
|
+
/** @license
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
:host {
|
18
|
+
display: block;
|
19
|
+
}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
:host {
|
2
|
-
display: block;
|
3
|
-
}
|
1
|
+
:host {
|
2
|
+
display: block;
|
3
|
+
}
|
@@ -1,24 +1,24 @@
|
|
1
|
-
/** @license
|
2
|
-
* Copyright 2022 Esri
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
|
17
|
-
:host {
|
18
|
-
display: block;
|
19
|
-
}
|
20
|
-
|
21
|
-
.search-widget {
|
22
|
-
width: 100% !important;
|
23
|
-
border: 1px solid var(--calcite-ui-border-input);
|
24
|
-
}
|
1
|
+
/** @license
|
2
|
+
* Copyright 2022 Esri
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
:host {
|
18
|
+
display: block;
|
19
|
+
}
|
20
|
+
|
21
|
+
.search-widget {
|
22
|
+
width: 100% !important;
|
23
|
+
border: 1px solid var(--calcite-ui-border-input);
|
24
|
+
}
|
@@ -74,11 +74,11 @@
|
|
74
74
|
Legend,
|
75
75
|
esriConfig
|
76
76
|
) => {
|
77
|
-
|
77
|
+
esriConfig.portalUrl = "https://solutions.mapsdevext.arcgis.com";
|
78
78
|
var webMap = new WebMap({
|
79
79
|
portalItem: {
|
80
80
|
// solutions
|
81
|
-
id: "
|
81
|
+
id: "345b00e4026b493bae5cbe6fe9fe82d7"
|
82
82
|
// InstantApps
|
83
83
|
//id: "863e4f6f2a7840db896cc1b1606d552d"
|
84
84
|
}
|