@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
@@ -23,6 +23,10 @@ export declare class CrowdsourceReporter {
23
23
  * string: The text that will display under the title on the landing page
24
24
  */
25
25
  description: string;
26
+ /**
27
+ * boolean: When true the application will be in mobile mode, controls the mobile or desktop view
28
+ */
29
+ isMobile: boolean;
26
30
  /**
27
31
  * boolean: When true the anonymous users will be allowed to submit reports and comments
28
32
  */
@@ -51,6 +55,10 @@ export declare class CrowdsourceReporter {
51
55
  * string: The text that will display at the top of the landing page
52
56
  */
53
57
  loginTitle: string;
58
+ /**
59
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
60
+ */
61
+ mapView: __esri.MapView;
54
62
  /**
55
63
  * string: The word(s) to display in the reports submit button
56
64
  */
@@ -99,14 +107,6 @@ export declare class CrowdsourceReporter {
99
107
  * IMapInfo: The current map info stores configuration details
100
108
  */
101
109
  _mapInfo: IMapInfo;
102
- /**
103
- * __esri.MapView: Stores the current map view
104
- */
105
- _mapView: __esri.MapView;
106
- /**
107
- * boolean: When true the application will be in mobile mode, controls the mobile or desktop view
108
- */
109
- _isMobile: boolean;
110
110
  /**
111
111
  * string[]: Reporter flow items list
112
112
  */
@@ -149,9 +149,13 @@ export declare class CrowdsourceReporter {
149
149
  */
150
150
  protected _selectedFeature: __esri.Graphic[];
151
151
  /**
152
- * Listen for mapChanged event to be fired then store the new mapView so components will be updated
152
+ * Called each time the mapView prop is changed.
153
153
  */
154
- mapChanged(evt: CustomEvent): Promise<void>;
154
+ isMobileWatchHandler(): Promise<void>;
155
+ /**
156
+ * Called each time the mapView prop is changed.
157
+ */
158
+ mapViewWatchHandler(): Promise<void>;
155
159
  /**
156
160
  * StencilJS: Called once just after the component is first connected to the DOM.
157
161
  * Create component translations and monitor the mediaQuery change to detect mobile/desktop mode
@@ -215,29 +219,11 @@ export declare class CrowdsourceReporter {
215
219
  * Returns the action button to Expand/Collapse side panel in mobile mode
216
220
  */
217
221
  protected getActionToExpandCollapsePanel(): Node;
218
- /**
219
- * Get the map node based for the current layout options
220
- * @returns the map node
221
- * @protected
222
- */
223
- protected _getMapNode(): VNode;
224
- /**
225
- * Get the current map info (configuration details) when maps change
226
- * @param id Id of the map to be returned
227
- * @returns IMapInfo for the provided id
228
- * @protected
229
- */
230
- protected getMapInfo(id: string): IMapInfo;
231
222
  /**
232
223
  * Set the current map info when maps change
233
224
  * @protected
234
225
  */
235
226
  protected setMapView(): Promise<void>;
236
- /**
237
- * Add/remove zoom tools based on enableZoom prop
238
- * @protected
239
- */
240
- protected initMapZoom(): void;
241
227
  /**
242
228
  * Fetches the component's translations
243
229
  * @returns Promise when complete
@@ -241,6 +241,10 @@ export namespace Components {
241
241
  * boolean: when true the zoom widget will be available
242
242
  */
243
243
  "enableZoom": boolean;
244
+ /**
245
+ * boolean: When true the application will be in mobile mode, controls the mobile or desktop view
246
+ */
247
+ "isMobile": boolean;
244
248
  /**
245
249
  * string[]: list of layer ids
246
250
  */
@@ -253,6 +257,10 @@ export namespace Components {
253
257
  * IMapInfo[]: array of map infos (name and id)
254
258
  */
255
259
  "mapInfos": IMapInfo[];
260
+ /**
261
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
262
+ */
263
+ "mapView": __esri.MapView;
256
264
  /**
257
265
  * string: The word(s) to display in the reports submit button
258
266
  */
@@ -2206,6 +2214,10 @@ declare namespace LocalJSX {
2206
2214
  * boolean: when true the zoom widget will be available
2207
2215
  */
2208
2216
  "enableZoom"?: boolean;
2217
+ /**
2218
+ * boolean: When true the application will be in mobile mode, controls the mobile or desktop view
2219
+ */
2220
+ "isMobile"?: boolean;
2209
2221
  /**
2210
2222
  * string[]: list of layer ids
2211
2223
  */
@@ -2218,6 +2230,10 @@ declare namespace LocalJSX {
2218
2230
  * IMapInfo[]: array of map infos (name and id)
2219
2231
  */
2220
2232
  "mapInfos"?: IMapInfo[];
2233
+ /**
2234
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
2235
+ */
2236
+ "mapView"?: __esri.MapView;
2221
2237
  /**
2222
2238
  * string: The word(s) to display in the reports submit button
2223
2239
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esri/solutions-components",
3
- "version": "0.7.24",
3
+ "version": "0.7.25",
4
4
  "description": "Web Components for Esri's Solutions Applications",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",