@esri/solutions-components 0.10.7 → 0.10.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (148) hide show
  1. package/dist/cjs/basemap-gallery_7.cjs.entry.js +24 -8
  2. package/dist/cjs/buffer-tools_3.cjs.entry.js +1 -1
  3. package/dist/cjs/calcite-combobox_3.cjs.entry.js +354 -967
  4. package/dist/cjs/calcite-graph_2.cjs.entry.js +1082 -0
  5. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +6 -6
  6. package/dist/cjs/calcite-tree_3.cjs.entry.js +1 -1
  7. package/dist/cjs/card-manager_3.cjs.entry.js +246 -18
  8. package/dist/cjs/crowdsource-manager.cjs.entry.js +169 -49
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/cjs/map-select-tools_3.cjs.entry.js +3 -3
  11. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  12. package/dist/cjs/public-notification.cjs.entry.js +1 -1
  13. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  14. package/dist/cjs/share-item.cjs.entry.js +1 -1
  15. package/dist/cjs/solution-configuration.cjs.entry.js +3 -3
  16. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -3
  17. package/dist/cjs/solutions-components.cjs.js +1 -1
  18. package/dist/cjs/spatial-ref.cjs.entry.js +1 -1
  19. package/dist/collection/assets/t9n/crowdsource-manager/resources.json +5 -1
  20. package/dist/collection/assets/t9n/crowdsource-manager/resources_en.json +5 -1
  21. package/dist/collection/assets/t9n/layer-table/resources.json +1 -0
  22. package/dist/collection/assets/t9n/layer-table/resources_en.json +1 -0
  23. package/dist/collection/assets/t9n/map-card/resources.json +6 -1
  24. package/dist/collection/assets/t9n/map-card/resources_en.json +6 -1
  25. package/dist/collection/components/card-manager/card-manager.js +34 -8
  26. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +173 -65
  27. package/dist/collection/components/layer-table/layer-table.js +175 -8
  28. package/dist/collection/components/map-card/map-card.css +4 -0
  29. package/dist/collection/components/map-card/map-card.js +368 -3
  30. package/dist/collection/components/map-draw-tools/map-draw-tools.js +1 -1
  31. package/dist/collection/components/map-fullscreen/map-fullscreen.js +1 -1
  32. package/dist/collection/components/map-layer-picker/map-layer-picker.js +9 -3
  33. package/dist/collection/components/map-legend/map-legend.js +1 -1
  34. package/dist/collection/components/map-picker/map-picker.css +8 -0
  35. package/dist/collection/components/map-picker/map-picker.js +74 -3
  36. package/dist/collection/components/map-search/map-search.js +1 -1
  37. package/dist/collection/components/map-select-tools/map-select-tools.js +1 -1
  38. package/dist/collection/components/map-tools/map-tools.js +1 -1
  39. package/dist/collection/components/pci-calculator/pci-calculator.js +1 -1
  40. package/dist/collection/components/pdf-download/pdf-download.js +1 -1
  41. package/dist/collection/components/public-notification/public-notification.js +1 -1
  42. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +1 -1
  43. package/dist/collection/components/refine-selection/refine-selection.js +1 -1
  44. package/dist/collection/components/share-item/share-item.js +1 -1
  45. package/dist/collection/components/solution-configuration/solution-configuration.js +3 -3
  46. package/dist/collection/components/solution-contents/solution-contents.js +1 -1
  47. package/dist/collection/components/solution-item/solution-item.js +1 -1
  48. package/dist/collection/components/solution-item-details/solution-item-details.js +1 -1
  49. package/dist/collection/components/solution-item-icon/solution-item-icon.js +1 -1
  50. package/dist/collection/components/solution-item-sharing/solution-item-sharing.js +1 -1
  51. package/dist/collection/components/solution-organization-variables/solution-organization-variables.js +1 -1
  52. package/dist/collection/components/solution-resource-item/solution-resource-item.js +1 -1
  53. package/dist/collection/components/solution-spatial-ref/solution-spatial-ref.js +1 -1
  54. package/dist/collection/components/solution-template-data/solution-template-data.js +1 -1
  55. package/dist/collection/components/solution-variables/solution-variables.js +1 -1
  56. package/dist/collection/components/spatial-ref/spatial-ref.js +1 -1
  57. package/dist/collection/demos/crowdsource-manager.html +1 -0
  58. package/dist/components/card-manager2.js +20 -8
  59. package/dist/components/crowdsource-manager.js +172 -53
  60. package/dist/components/layer-table2.js +72 -10
  61. package/dist/components/map-card2.js +288 -47
  62. package/dist/components/map-draw-tools2.js +1 -1
  63. package/dist/components/map-fullscreen2.js +1 -1
  64. package/dist/components/map-layer-picker2.js +9 -3
  65. package/dist/components/map-legend2.js +1 -1
  66. package/dist/components/map-picker2.js +24 -5
  67. package/dist/components/map-search2.js +1 -1
  68. package/dist/components/map-select-tools2.js +1 -1
  69. package/dist/components/map-tools2.js +1 -1
  70. package/dist/components/pci-calculator.js +1 -1
  71. package/dist/components/pdf-download2.js +1 -1
  72. package/dist/components/public-notification.js +1 -1
  73. package/dist/components/refine-results-flow-item.js +1 -1
  74. package/dist/components/refine-selection2.js +1 -1
  75. package/dist/components/share-item.js +1 -1
  76. package/dist/components/solution-configuration.js +3 -3
  77. package/dist/components/solution-contents2.js +1 -1
  78. package/dist/components/solution-item-details2.js +1 -1
  79. package/dist/components/solution-item-icon2.js +1 -1
  80. package/dist/components/solution-item-sharing2.js +1 -1
  81. package/dist/components/solution-item2.js +1 -1
  82. package/dist/components/solution-organization-variables2.js +1 -1
  83. package/dist/components/solution-resource-item2.js +1 -1
  84. package/dist/components/solution-spatial-ref2.js +1 -1
  85. package/dist/components/solution-template-data2.js +1 -1
  86. package/dist/components/solution-variables2.js +1 -1
  87. package/dist/components/spatial-ref.js +1 -1
  88. package/dist/esm/basemap-gallery_7.entry.js +24 -8
  89. package/dist/esm/buffer-tools_3.entry.js +1 -1
  90. package/dist/esm/calcite-combobox_3.entry.js +369 -982
  91. package/dist/esm/calcite-graph_2.entry.js +1077 -0
  92. package/dist/esm/calcite-shell-panel_14.entry.js +6 -6
  93. package/dist/esm/calcite-tree_3.entry.js +1 -1
  94. package/dist/esm/card-manager_3.entry.js +248 -20
  95. package/dist/esm/crowdsource-manager.entry.js +170 -50
  96. package/dist/esm/loader.js +1 -1
  97. package/dist/esm/map-select-tools_3.entry.js +3 -3
  98. package/dist/esm/pci-calculator.entry.js +1 -1
  99. package/dist/esm/public-notification.entry.js +1 -1
  100. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  101. package/dist/esm/share-item.entry.js +1 -1
  102. package/dist/esm/solution-configuration.entry.js +3 -3
  103. package/dist/esm/solution-contents_3.entry.js +3 -3
  104. package/dist/esm/solutions-components.js +1 -1
  105. package/dist/esm/spatial-ref.entry.js +1 -1
  106. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources.json +5 -1
  107. package/dist/solutions-components/assets/t9n/crowdsource-manager/resources_en.json +5 -1
  108. package/dist/solutions-components/assets/t9n/layer-table/resources.json +1 -0
  109. package/dist/solutions-components/assets/t9n/layer-table/resources_en.json +1 -0
  110. package/dist/solutions-components/assets/t9n/map-card/resources.json +6 -1
  111. package/dist/solutions-components/assets/t9n/map-card/resources_en.json +6 -1
  112. package/dist/solutions-components/demos/crowdsource-manager.html +1 -0
  113. package/dist/solutions-components/p-0abc1354.entry.js +6 -0
  114. package/dist/solutions-components/p-0f7b5d36.entry.js +6 -0
  115. package/dist/solutions-components/{p-a9818be2.entry.js → p-20c465e9.entry.js} +1 -1
  116. package/dist/solutions-components/{p-db18bce8.entry.js → p-36b50b5b.entry.js} +1 -1
  117. package/dist/solutions-components/{p-85512ae3.entry.js → p-445213cf.entry.js} +1 -1
  118. package/dist/solutions-components/{p-d49f895d.entry.js → p-4a5f0a97.entry.js} +1 -1
  119. package/dist/solutions-components/{p-002c97df.entry.js → p-5d201016.entry.js} +1 -1
  120. package/dist/solutions-components/{p-b7cec3bd.entry.js → p-618bafec.entry.js} +1 -1
  121. package/dist/solutions-components/p-6a66d5a9.entry.js +6 -0
  122. package/dist/solutions-components/p-71a2d5b8.entry.js +6 -0
  123. package/dist/solutions-components/p-7a64b026.entry.js +17 -0
  124. package/dist/solutions-components/p-85c25564.entry.js +6 -0
  125. package/dist/solutions-components/{p-235bf02e.entry.js → p-913413c3.entry.js} +1 -1
  126. package/dist/solutions-components/p-9af1cb14.entry.js +6 -0
  127. package/dist/solutions-components/{p-49aa2929.entry.js → p-bebd4646.entry.js} +1 -1
  128. package/dist/solutions-components/p-ce454f5a.entry.js +11 -0
  129. package/dist/solutions-components/solutions-components.esm.js +1 -1
  130. package/dist/types/components/card-manager/card-manager.d.ts +11 -0
  131. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +86 -20
  132. package/dist/types/components/layer-table/layer-table.d.ts +30 -0
  133. package/dist/types/components/map-card/map-card.d.ts +124 -0
  134. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +4 -0
  135. package/dist/types/components/map-picker/map-picker.d.ts +12 -0
  136. package/dist/types/components.d.ts +130 -0
  137. package/dist/types/preact.d.ts +4 -2
  138. package/package.json +1 -1
  139. package/dist/cjs/calcite-dropdown-group_2.cjs.entry.js +0 -453
  140. package/dist/esm/calcite-dropdown-group_2.entry.js +0 -448
  141. package/dist/solutions-components/p-129fd80e.entry.js +0 -6
  142. package/dist/solutions-components/p-3b426576.entry.js +0 -6
  143. package/dist/solutions-components/p-72b217f2.entry.js +0 -6
  144. package/dist/solutions-components/p-8b999a2b.entry.js +0 -6
  145. package/dist/solutions-components/p-973ff7b2.entry.js +0 -23
  146. package/dist/solutions-components/p-a001f9c9.entry.js +0 -6
  147. package/dist/solutions-components/p-c683b3fe.entry.js +0 -6
  148. package/dist/solutions-components/p-e9d049bd.entry.js +0 -6
@@ -37,6 +37,10 @@ export declare class CardManager {
37
37
  * boolean: When true the selected feature will zoomed to in the map and the row will be scrolled to within the table
38
38
  */
39
39
  zoomAndScrollToSelected: boolean;
40
+ /**
41
+ * A list of ids that are currently selected
42
+ */
43
+ selectedFeaturesIds: number[];
40
44
  /**
41
45
  * When true a loading indicator will be shown in the current card
42
46
  */
@@ -68,6 +72,13 @@ export declare class CardManager {
68
72
  * Renders the component.
69
73
  */
70
74
  render(): any;
75
+ /**
76
+ * Gets the Feature using its ids
77
+ *
78
+ * @returns Promise when complete
79
+ * @protected
80
+ */
81
+ protected _getFeaturesByIds(ids: number[]): Promise<__esri.Graphic[]>;
71
82
  /**
72
83
  * Fetches the component's translations
73
84
  *
@@ -17,6 +17,7 @@
17
17
  import { VNode, EventEmitter } from "../../stencil-public-runtime";
18
18
  import CrowdsourceManager_T9n from "../../assets/t9n/crowdsource-manager/resources.json";
19
19
  import { AppLayout, ELayoutMode, IBasemapConfig, IMapChange, IMapInfo, ISearchConfiguration, theme } from "../../utils/interfaces";
20
+ import { LayerExpression } from "@esri/instant-apps-components";
20
21
  export declare class CrowdsourceManager {
21
22
  el: HTMLCrowdsourceManagerElement;
22
23
  /**
@@ -173,10 +174,6 @@ export declare class CrowdsourceManager {
173
174
  * number: default scale to zoom to when zooming to a single point feature
174
175
  */
175
176
  zoomToScale: number;
176
- /**
177
- * When true the info panel with the popup details will take the full height and prevent the map from displaying
178
- */
179
- _expandPopup: boolean;
180
177
  /**
181
178
  * When true the mobile footer will be hidden
182
179
  */
@@ -219,9 +216,9 @@ export declare class CrowdsourceManager {
219
216
  */
220
217
  _numSelected: number;
221
218
  /**
222
- * When true only editable tables have been found and the map will be hidden
219
+ * boolean: When true the filter component will be displayed
223
220
  */
224
- _tableOnly: boolean;
221
+ _filterOpen: boolean;
225
222
  /**
226
223
  * boolean: When true the map view will be set after render due to popup obstructing the view
227
224
  * MapView.when is not fired when mapView is not currently visible
@@ -253,6 +250,18 @@ export declare class CrowdsourceManager {
253
250
  * MapView.when is not fired when mapView is not currently visible
254
251
  */
255
252
  protected _shouldSetMapView: boolean;
253
+ /**
254
+ * LayerExpression[]: All layer expressions from the current filter config for the currently selected layer
255
+ */
256
+ protected _layerExpressions: LayerExpression[];
257
+ /**
258
+ * HTMLInstantAppsFilterListElement: Component from Instant Apps that supports interacting with the current filter config
259
+ */
260
+ protected _filterList: HTMLInstantAppsFilterListElement;
261
+ /**
262
+ * boolean: True when app is directly rendered to map view layout
263
+ */
264
+ protected _isMapViewOnLoad: boolean;
256
265
  /**
257
266
  * When true the map zoom tools will be available
258
267
  */
@@ -277,10 +286,6 @@ export declare class CrowdsourceManager {
277
286
  * Listen for when the popup is closed in mobile mode and hide the appropriate UI elements
278
287
  */
279
288
  popupClosed(): Promise<void>;
280
- /**
281
- * Listen for idsFound event to be fired so we can know that all layer ids have been fetched
282
- */
283
- idsFound(evt: CustomEvent): Promise<void>;
284
289
  /**
285
290
  * Listen for layoutChanged event to be fired so we can adjust the layout
286
291
  */
@@ -289,10 +294,6 @@ export declare class CrowdsourceManager {
289
294
  * Listen for mapChanged event to be fired then store the new mapView so components will be updated
290
295
  */
291
296
  mapChanged(evt: CustomEvent): Promise<void>;
292
- /**
293
- * Listen for beforeMapChanged and minimize the popup if it's expanded
294
- */
295
- beforeMapChanged(): Promise<void>;
296
297
  /**
297
298
  * Get the layer for the provided layer id
298
299
  */
@@ -327,6 +328,13 @@ export declare class CrowdsourceManager {
327
328
  * @protected
328
329
  */
329
330
  protected _getFooter(): VNode;
331
+ /**
332
+ * sets the active layout to render
333
+ * @param appLayout new app layout
334
+ *
335
+ * @protected
336
+ */
337
+ protected _setActiveLayout(appLayout: AppLayout): void;
330
338
  /**
331
339
  * Get the icon name to use for the divider icon based on the current layout
332
340
  *
@@ -404,12 +412,6 @@ export declare class CrowdsourceManager {
404
412
  * @protected
405
413
  */
406
414
  protected _getPopupExpandNode(): VNode;
407
- /**
408
- * Toggle the popup information
409
- *
410
- * @protected
411
- */
412
- protected _togglePopup(): void;
413
415
  /**
414
416
  * Get the card node
415
417
  *
@@ -427,23 +429,87 @@ export declare class CrowdsourceManager {
427
429
  * @protected
428
430
  */
429
431
  protected _getTable(layoutMode: ELayoutMode, panelOpen: boolean, hideTable: boolean): VNode;
432
+ /**
433
+ * Returns the Actions for table's node
434
+ *
435
+ * @returns Node
436
+ * @protected
437
+ */
438
+ protected getActions(layoutMode: ELayoutMode, panelOpen: boolean): Node;
439
+ /**
440
+ * Show filter component in modal
441
+ *
442
+ * @returns node to interact with any configured filters for the current layer
443
+ * @protected
444
+ */
445
+ protected _filterModal(): VNode;
446
+ /**
447
+ * Store any filters for the current layer.
448
+ * Should only occur on layer change
449
+ *
450
+ * @protected
451
+ */
452
+ protected _initLayerExpressions(): void;
453
+ /**
454
+ * Toggle the filter modal
455
+ *
456
+ * @protected
457
+ */
458
+ protected _toggleFilter(): void;
459
+ /**
460
+ * Reset the filter active prop
461
+ *
462
+ * @protected
463
+ */
464
+ protected _handleFilterListReset(): void;
465
+ /**
466
+ * Close the filter modal
467
+ *
468
+ * @protected
469
+ */
470
+ protected _closeFilter(): Promise<void>;
430
471
  /**
431
472
  * Update the component layout when its size changes
473
+ *
474
+ * @protected
432
475
  */
433
476
  protected _onResize(): void;
434
477
  /**
435
478
  * Open/Close the appropriate panel.
436
479
  * The panel that is toggled is dependent upon the layout mode and if using classic grid or not
480
+ *
481
+ * @protected
437
482
  */
438
483
  protected _toggleLayout(): void;
484
+ /**
485
+ * Changes the layout mode
486
+ * @param appLayout selected active app layout
487
+ *
488
+ * @protected
489
+ */
490
+ protected _changeLayout(appLayout: AppLayout): void;
491
+ /**
492
+ * shows the map in card view
493
+ *
494
+ * @protected
495
+ */
496
+ protected _showMapInCardView(): void;
497
+ /**
498
+ * Shows the map in full view
499
+ *
500
+ * @protected
501
+ */
502
+ protected _showMapInFullView(): void;
439
503
  /**
440
504
  * Show/Hide the map, popup, and table
441
505
  *
442
506
  * @param show when true the map, popup, and table will be displayed
507
+ * @protected
443
508
  */
444
509
  protected showHideMapPopupAndTable(show: boolean): void;
445
510
  /**
446
511
  * Get the current map info (configuration details) when maps change
512
+ * @param id map changed id
447
513
  *
448
514
  * @returns IMapInfo for the provided id
449
515
  * @protected
@@ -97,6 +97,10 @@ export declare class LayerTable {
97
97
  * number: default scale to zoom to when zooming to a single point feature
98
98
  */
99
99
  zoomToScale: number;
100
+ /**
101
+ * boolean: create filter modal optional (default true) boolean value to create filter modal in layer table
102
+ */
103
+ createFilterModal: boolean;
100
104
  /**
101
105
  * number[]: A list of all IDs for the current layer
102
106
  */
@@ -346,16 +350,42 @@ export declare class LayerTable {
346
350
  * watch for selection changes
347
351
  */
348
352
  selectedIdsWatchHandler(): Promise<void>;
353
+ /**
354
+ * Reset the filter
355
+ */
356
+ filterReset(): Promise<void>;
357
+ /**
358
+ * Updates the filter
359
+ */
360
+ filterUpdate(): Promise<void>;
361
+ /**
362
+ * Closes the filter
363
+ */
364
+ closeFilter(): Promise<void>;
365
+ /**
366
+ * refresh the feature table
367
+ */
368
+ refresh(): Promise<void>;
349
369
  /**
350
370
  * Emitted on demand when a layer is selected
351
371
  */
352
372
  featureSelectionChange: EventEmitter<number[]>;
373
+ /**
374
+ * Emitted on demand when filter action is clicked
375
+ */
376
+ toggleFilter: EventEmitter<void>;
353
377
  /**
354
378
  * Scroll and zoom to the selected feature from the Features widget.
355
379
  *
356
380
  * @param evt CustomEvent the graphic for the current selection
357
381
  */
358
382
  selectionChanged(evt: CustomEvent): Promise<void>;
383
+ /**
384
+ * Handles layer selection change to show new table
385
+ *
386
+ * @param evt CustomEvent the id for the current layer
387
+ */
388
+ layerSelectionChange(evt: CustomEvent): Promise<void>;
359
389
  /**
360
390
  * Refresh the table when edits are completed
361
391
  */
@@ -15,6 +15,7 @@
15
15
  */
16
16
  /// <reference types="arcgis-js-api" />
17
17
  import { EventEmitter } from "../../stencil-public-runtime";
18
+ import MapCard_T9n from "../../assets/t9n/map-card/resources.json";
18
19
  import { IBasemapConfig, IMapChange, IMapInfo, ISearchConfiguration, theme } from "../../utils/interfaces";
19
20
  export declare class MapCard {
20
21
  el: HTMLMapCardElement;
@@ -26,6 +27,10 @@ export declare class MapCard {
26
27
  * string: Item ID of the web map that should be selected by default when the app loads
27
28
  */
28
29
  defaultWebmapId: string;
30
+ /**
31
+ * string: when provided this layer ID will be used when the app loads
32
+ */
33
+ defaultLayerId: string;
29
34
  /**
30
35
  * boolean: when true the home widget will be available
31
36
  */
@@ -113,6 +118,39 @@ export declare class MapCard {
113
118
  * Valid tools: "legend", "search", "fullscreen", "basemap", "floorfilter"
114
119
  */
115
120
  toolOrder: string[];
121
+ /**
122
+ * boolean: When true map will shown is full screen
123
+ */
124
+ isMapLayout: boolean;
125
+ /**
126
+ * number[]: A list of ids that are currently selected
127
+ */
128
+ selectedFeaturesIds: number[];
129
+ /**
130
+ * __esri.FeatureLayer: Selected layer
131
+ */
132
+ selectedLayer: __esri.FeatureLayer;
133
+ /**
134
+ * number: default scale to zoom to when zooming to a single point feature
135
+ */
136
+ zoomToScale: number;
137
+ /**
138
+ * boolean: When true only editable layers that support the update capability will be available
139
+ */
140
+ onlyShowUpdatableLayers: boolean;
141
+ /**
142
+ * When true the component will render an optimized view for mobile devices
143
+ */
144
+ isMobile: boolean;
145
+ /**
146
+ * IMapInfo: key configuration details about the current map
147
+ */
148
+ mapInfo: IMapInfo;
149
+ /**
150
+ * Contains the translations for this component.
151
+ * All UI strings should be defined here.
152
+ */
153
+ _translations: typeof MapCard_T9n;
116
154
  /**
117
155
  * ISearchConfiguration: Configuration details for the Search widget
118
156
  */
@@ -121,6 +159,10 @@ export declare class MapCard {
121
159
  * IMapInfo: id and name of the map to display
122
160
  */
123
161
  _webMapInfo: IMapInfo;
162
+ /**
163
+ * boolean: When true the show/hide fields list is forced open
164
+ */
165
+ _showHideOpen: boolean;
124
166
  /**
125
167
  * esri/config: https://developers.arcgis.com/javascript/latest/api-reference/esri-config.html
126
168
  */
@@ -161,10 +203,38 @@ export declare class MapCard {
161
203
  * HTMLMapToolsElement: the container div for the map tools
162
204
  */
163
205
  protected _mapTools: HTMLMapToolsElement;
206
+ /**
207
+ * HTMLCalciteDropdownElement: Dropdown the will support overflow tools that won't fit in the current display
208
+ */
209
+ protected _moreDropdown: HTMLCalciteDropdownElement;
210
+ /**
211
+ * boolean: When true the show/hide fields list is forced open
212
+ */
213
+ protected _mapListExpanded: boolean;
214
+ /**
215
+ * boolean: When true an indicator will be shown on the action
216
+ */
217
+ protected _filterActive: boolean;
218
+ /**
219
+ * string: The current layers definition expression
220
+ */
221
+ protected _definitionExpression: string;
164
222
  /**
165
223
  * Add/remove home widget
166
224
  */
167
225
  enableHomeWatchHandler(): void;
226
+ /**
227
+ * watch for changes in layer view and verify if it has editing enabled
228
+ */
229
+ selectedLayerWatchHandler(): Promise<void>;
230
+ /**
231
+ * Reset the filter
232
+ */
233
+ filterReset(): Promise<void>;
234
+ /**
235
+ * updates the filter
236
+ */
237
+ updateFilter(): Promise<void>;
168
238
  /**
169
239
  * Emitted when a new map is loaded
170
240
  */
@@ -173,10 +243,18 @@ export declare class MapCard {
173
243
  * Emitted before a new map is loaded
174
244
  */
175
245
  beforeMapChanged: EventEmitter<void>;
246
+ /**
247
+ * Emitted on demand when filter action is clicked
248
+ */
249
+ toggleFilter: EventEmitter<void>;
176
250
  /**
177
251
  * Listen for changes to map info and load the appropriate map
178
252
  */
179
253
  mapInfoChange(evt: CustomEvent): Promise<void>;
254
+ /**
255
+ * Listen for change when mapview doesn't contain any layer
256
+ */
257
+ noLayersFound(): void;
180
258
  /**
181
259
  * StencilJS: Called once just after the component is first connected to the DOM.
182
260
  */
@@ -185,6 +263,10 @@ export declare class MapCard {
185
263
  * Renders the component.
186
264
  */
187
265
  render(): any;
266
+ /**
267
+ * Called each time after the component is loaded
268
+ */
269
+ componentDidRender(): Promise<void>;
188
270
  /**
189
271
  * Load esri javascript api modules
190
272
  *
@@ -205,4 +287,46 @@ export declare class MapCard {
205
287
  * @protected
206
288
  */
207
289
  protected _initHome(): void;
290
+ /**
291
+ * Toggle show/hide dropdown
292
+ */
293
+ protected _toggleShowHide(): void;
294
+ /**
295
+ * Open show/hide dropdown
296
+ */
297
+ protected _forceShowHide(): void;
298
+ /**
299
+ * Close show/hide dropdown when the user clicks outside of it
300
+ */
301
+ protected _handleDocumentClick(e: MouseEvent): void;
302
+ /**
303
+ * Zoom to all selected features
304
+ *
305
+ * @returns a promise that will resolve when the operation is complete
306
+ */
307
+ protected _zoom(): Promise<void>;
308
+ protected _toggleFilter(): Promise<void>;
309
+ /**
310
+ * Return true when we have at least 1 layer expression for the current layer
311
+ *
312
+ * @returns boolean
313
+ */
314
+ protected _hasFilterExpressions(): boolean;
315
+ /**
316
+ * Get Dropdown action item
317
+ * @returns Dropdown item
318
+ */
319
+ protected _getDropDownItem(): Node;
320
+ /**
321
+ * Gets the dropdown items
322
+ * @returns dropdown items
323
+ */
324
+ protected _getDropDownItems(): Node;
325
+ /**
326
+ * Fetches the component's translations
327
+ *
328
+ * @returns Promise when complete
329
+ * @protected
330
+ */
331
+ protected _getTranslations(): Promise<void>;
208
332
  }
@@ -148,6 +148,10 @@ export declare class MapLayerPicker {
148
148
  * StencilJS: Called once just after the component is first connected to the DOM.
149
149
  */
150
150
  componentWillLoad(): Promise<void>;
151
+ /**
152
+ * StencilJS: Called once just after the component is first connected to the DOM.
153
+ */
154
+ componentWillRender(): Promise<void>;
151
155
  /**
152
156
  * Renders the component.
153
157
  */
@@ -22,6 +22,10 @@ export declare class MapPicker {
22
22
  * IMapInfo[]: array of map infos (name and id)
23
23
  */
24
24
  mapInfos: IMapInfo[];
25
+ /**
26
+ * boolean: when true map list will shown in half width.
27
+ */
28
+ isMapLayout?: boolean;
25
29
  /**
26
30
  * boolean: controls the state of the map list
27
31
  */
@@ -52,6 +56,14 @@ export declare class MapPicker {
52
56
  */
53
57
  mapInfosWatchHandler(v: IMapInfo[], oldV: IMapInfo[]): Promise<void>;
54
58
  setMapByID(id: string): Promise<void>;
59
+ /**
60
+ * Closes the list
61
+ */
62
+ close(): Promise<void>;
63
+ /**
64
+ * Expands the list
65
+ */
66
+ toggle(mapListExpanded: boolean): Promise<void>;
55
67
  /**
56
68
  * Emitted when a new map is loaded
57
69
  */