@esri/solutions-components 0.7.24 → 0.7.25

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/cjs/{info-card_4.cjs.entry.js → basemap-gallery_7.cjs.entry.js} +410 -324
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +3 -4
  3. package/dist/cjs/{calcite-alert_3.cjs.entry.js → calcite-alert_4.cjs.entry.js} +296 -3
  4. package/dist/cjs/calcite-combobox_6.cjs.entry.js +1 -2
  5. package/dist/cjs/calcite-flow_4.cjs.entry.js +3 -4
  6. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +1 -2
  7. package/dist/cjs/{card-manager_2.cjs.entry.js → card-manager_3.cjs.entry.js} +182 -5
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +1 -2
  9. package/dist/cjs/crowdsource-reporter.cjs.entry.js +32 -90
  10. package/dist/cjs/{downloadUtils-401356b5.js → downloadUtils-83c6d3c3.js} +6 -6
  11. package/dist/cjs/{index.es-a9a4ff08.js → index.es-bd1a93b2.js} +2 -2
  12. package/dist/cjs/layout-manager.cjs.entry.js +1 -2
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/{locale-1ff119f5.js → locale-a476e15d.js} +24 -3
  15. package/dist/cjs/map-select-tools_3.cjs.entry.js +4 -5
  16. package/dist/cjs/{popupUtils-8d5b6e94.js → popupUtils-a73902a6.js} +2 -2
  17. package/dist/cjs/public-notification.cjs.entry.js +3 -4
  18. package/dist/cjs/solution-configuration.cjs.entry.js +1 -2
  19. package/dist/cjs/solution-contents_3.cjs.entry.js +1 -2
  20. package/dist/cjs/solutions-components.cjs.js +1 -1
  21. package/dist/cjs/spatial-ref.cjs.entry.js +1 -2
  22. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.css +5 -27
  23. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +69 -95
  24. package/dist/collection/demos/crowdsource-reporter.html +96 -45
  25. package/dist/components/crowdsource-reporter.js +95 -209
  26. package/dist/esm/{info-card_4.entry.js → basemap-gallery_7.entry.js} +406 -323
  27. package/dist/esm/buffer-tools_3.entry.js +1 -2
  28. package/dist/esm/{calcite-alert_3.entry.js → calcite-alert_4.entry.js} +295 -3
  29. package/dist/esm/calcite-combobox_6.entry.js +1 -2
  30. package/dist/esm/calcite-flow_4.entry.js +3 -4
  31. package/dist/esm/calcite-shell-panel_14.entry.js +1 -2
  32. package/dist/esm/{card-manager_2.entry.js → card-manager_3.entry.js} +181 -5
  33. package/dist/esm/crowdsource-manager.entry.js +1 -2
  34. package/dist/esm/crowdsource-reporter.entry.js +32 -90
  35. package/dist/esm/{downloadUtils-067dc2ff.js → downloadUtils-a301c193.js} +2 -2
  36. package/dist/esm/{index.es-92e46d8b.js → index.es-37a9907e.js} +2 -2
  37. package/dist/esm/layout-manager.entry.js +1 -2
  38. package/dist/esm/loader.js +1 -1
  39. package/dist/esm/{locale-13e3c96c.js → locale-731e75a8.js} +22 -2
  40. package/dist/esm/map-select-tools_3.entry.js +2 -3
  41. package/dist/esm/{popupUtils-b71f30fc.js → popupUtils-a593bd78.js} +1 -1
  42. package/dist/esm/public-notification.entry.js +2 -3
  43. package/dist/esm/solution-configuration.entry.js +1 -2
  44. package/dist/esm/solution-contents_3.entry.js +1 -2
  45. package/dist/esm/solutions-components.js +1 -1
  46. package/dist/esm/spatial-ref.entry.js +1 -2
  47. package/dist/solutions-components/demos/crowdsource-reporter.html +96 -45
  48. package/dist/solutions-components/{p-36cbf14f.js → p-0587972d.js} +1 -1
  49. package/dist/solutions-components/p-0b4f4b0e.entry.js +6 -0
  50. package/dist/solutions-components/{p-f54f3719.entry.js → p-0b619197.entry.js} +1 -1
  51. package/dist/solutions-components/{p-d50f34c4.entry.js → p-2656c6e4.entry.js} +1 -1
  52. package/dist/solutions-components/p-284cc5cd.entry.js +6 -0
  53. package/dist/solutions-components/{p-01032eec.entry.js → p-29f661f5.entry.js} +2 -2
  54. package/dist/solutions-components/p-5af99fd8.entry.js +6 -0
  55. package/dist/solutions-components/{p-d9061e5d.entry.js → p-7116f96d.entry.js} +1 -1
  56. package/dist/solutions-components/p-7c13406e.entry.js +6 -0
  57. package/dist/solutions-components/{p-685257d1.entry.js → p-7dbccc10.entry.js} +1 -1
  58. package/dist/solutions-components/p-8308f64c.entry.js +6 -0
  59. package/dist/solutions-components/{p-ca4023f4.entry.js → p-891682da.entry.js} +1 -1
  60. package/dist/solutions-components/{p-14ff1465.js → p-a603e673.js} +2 -2
  61. package/dist/solutions-components/p-b37ec1f3.entry.js +6 -0
  62. package/dist/solutions-components/{p-fec77450.js → p-db868283.js} +1 -1
  63. package/dist/solutions-components/{p-fb1c6811.entry.js → p-dded59a7.entry.js} +1 -1
  64. package/dist/solutions-components/p-e88a64be.entry.js +6 -0
  65. package/dist/solutions-components/p-e902ba19.js +36 -0
  66. package/dist/solutions-components/p-fe295e9d.entry.js +6 -0
  67. package/dist/solutions-components/solutions-components.esm.js +1 -1
  68. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +14 -28
  69. package/dist/types/components.d.ts +16 -0
  70. package/package.json +1 -1
  71. package/dist/cjs/basemap-gallery_5.cjs.entry.js +0 -573
  72. package/dist/cjs/loadModules-46d14e81.js +0 -30
  73. package/dist/esm/basemap-gallery_5.entry.js +0 -565
  74. package/dist/esm/loadModules-cea493da.js +0 -28
  75. package/dist/solutions-components/p-3606c4b8.entry.js +0 -6
  76. package/dist/solutions-components/p-48ff9cea.js +0 -21
  77. package/dist/solutions-components/p-5e832d65.entry.js +0 -6
  78. package/dist/solutions-components/p-8fc072ca.entry.js +0 -6
  79. package/dist/solutions-components/p-a2d3df14.entry.js +0 -6
  80. package/dist/solutions-components/p-ab006ace.js +0 -21
  81. package/dist/solutions-components/p-ba56035f.entry.js +0 -6
  82. package/dist/solutions-components/p-c0ed2b83.entry.js +0 -6
  83. package/dist/solutions-components/p-cc88bb42.entry.js +0 -6
  84. package/dist/solutions-components/p-db69f4ba.entry.js +0 -6
  85. package/dist/solutions-components/p-e3061220.entry.js +0 -6
@@ -3,9 +3,29 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { l as loadModules } from './loadModules-cea493da.js';
6
+ import { e as esriLoader } from './esri-loader-eda07632.js';
7
7
  import { a as getAssetPath } from './index-7183ce4a.js';
8
8
 
9
+ /** @license
10
+ * Copyright 2022 Esri
11
+ *
12
+ * Licensed under the Apache License, Version 2.0 (the "License");
13
+ * you may not use this file except in compliance with the License.
14
+ * You may obtain a copy of the License at
15
+ *
16
+ * http://www.apache.org/licenses/LICENSE-2.0
17
+ *
18
+ * Unless required by applicable law or agreed to in writing, software
19
+ * distributed under the License is distributed on an "AS IS" BASIS,
20
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21
+ * See the License for the specific language governing permissions and
22
+ * limitations under the License.
23
+ */
24
+ const loadModules = async (moduleNames, options) => {
25
+ const mods = await esriLoader.loadModules(moduleNames, options);
26
+ return mods.map((mod) => (mod.__esModule && mod.default ? mod.default : mod));
27
+ };
28
+
9
29
  /*
10
30
  * Copyright (c) 2022 Esri
11
31
  * All rights reserved.
@@ -133,4 +153,4 @@ async function getLocaleComponentStrings(element) {
133
153
  return [strings, componentLanguage];
134
154
  }
135
155
 
136
- export { getComponentClosestLanguage as a, formatNumber as f, getLocaleComponentStrings as g };
156
+ export { getComponentClosestLanguage as a, formatNumber as f, getLocaleComponentStrings as g, loadModules as l };
@@ -4,12 +4,11 @@
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7183ce4a.js';
7
- import { l as loadModules } from './loadModules-cea493da.js';
7
+ import { a as getComponentClosestLanguage, l as loadModules, g as getLocaleComponentStrings } from './locale-731e75a8.js';
8
8
  import { a as goToSelection, h as highlightFeatures, j as queryObjectIds, k as getQueryGeoms, b as getFeatureLayerView, l as queryFeaturesByGeometry, m as getIdSets, n as highlightAllFeatures } from './mapViewUtils-6daedef8.js';
9
9
  import { a as EWorkflowType, e as ESelectionMode, f as EDrawMode } from './interfaces-586e863c.js';
10
10
  import { s as state } from './publicNotificationStore-9362d7ae.js';
11
- import { a as getComponentClosestLanguage, g as getLocaleComponentStrings } from './locale-13e3c96c.js';
12
- import { d as downloadCSV, a as downloadPDF } from './downloadUtils-067dc2ff.js';
11
+ import { d as downloadCSV, a as downloadPDF } from './downloadUtils-a301c193.js';
13
12
  import './esri-loader-eda07632.js';
14
13
  import './_commonjsHelpers-d5f9d613.js';
15
14
  import './index-857df22e.js';
@@ -3,7 +3,7 @@
3
3
  * Licensed under the Apache License, Version 2.0
4
4
  * http://www.apache.org/licenses/LICENSE-2.0
5
5
  */
6
- import { l as loadModules } from './loadModules-cea493da.js';
6
+ import { l as loadModules } from './locale-731e75a8.js';
7
7
 
8
8
  /** @license
9
9
  * Copyright 2022 Esri
@@ -5,11 +5,10 @@
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, a as getAssetPath, h, H as Host, g as getElement } from './index-7183ce4a.js';
7
7
  import { b as EExportType, c as EPageType, a as EWorkflowType } from './interfaces-586e863c.js';
8
- import { l as loadModules } from './loadModules-cea493da.js';
8
+ import { l as loadModules, g as getLocaleComponentStrings } from './locale-731e75a8.js';
9
9
  import { a as goToSelection, h as highlightFeatures } from './mapViewUtils-6daedef8.js';
10
10
  import { s as state } from './publicNotificationStore-9362d7ae.js';
11
- import { g as getLocaleComponentStrings } from './locale-13e3c96c.js';
12
- import { c as consolidateLabels, r as removeDuplicateLabels } from './downloadUtils-067dc2ff.js';
11
+ import { c as consolidateLabels, r as removeDuplicateLabels } from './downloadUtils-a301c193.js';
13
12
  import './esri-loader-eda07632.js';
14
13
  import './_commonjsHelpers-d5f9d613.js';
15
14
  import './index-857df22e.js';
@@ -8,11 +8,10 @@ import { s as state } from './solution-store-19f7825b.js';
8
8
  import './solution-resource-7b8d302d.js';
9
9
  import { r as request, N as NODEJS_DEFAULT_REFERER_HEADER, c as cleanUrl, e as encodeQueryString, A as ArcGISAuthError, a as getProp } from './restHelpersGet-af032ab2.js';
10
10
  import './index-a1e91462.js';
11
- import { g as getLocaleComponentStrings } from './locale-13e3c96c.js';
11
+ import { g as getLocaleComponentStrings } from './locale-731e75a8.js';
12
12
  import './index-857df22e.js';
13
13
  import './interfaces-586e863c.js';
14
14
  import './_commonjsHelpers-d5f9d613.js';
15
- import './loadModules-cea493da.js';
16
15
  import './esri-loader-eda07632.js';
17
16
 
18
17
  /* Copyright (c) 2017-2020 Environmental Systems Research Institute, Inc.
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7183ce4a.js';
7
7
  import { s as state } from './solution-store-19f7825b.js';
8
- import { g as getLocaleComponentStrings } from './locale-13e3c96c.js';
8
+ import { g as getLocaleComponentStrings } from './locale-731e75a8.js';
9
9
  import { n as nodeListToArray } from './common-d04ccc0d.js';
10
10
  import './index-857df22e.js';
11
11
  import './interfaces-586e863c.js';
@@ -13,7 +13,6 @@ import './solution-resource-7b8d302d.js';
13
13
  import './_commonjsHelpers-d5f9d613.js';
14
14
  import './index-a1e91462.js';
15
15
  import './restHelpersGet-af032ab2.js';
16
- import './loadModules-cea493da.js';
17
16
  import './esri-loader-eda07632.js';
18
17
 
19
18
  const solutionContentsCss = ".icon-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}";