@esri/solutions-components 0.7.0 → 0.7.1

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.
Files changed (196) hide show
  1. package/dist/assets/t9n/feature-comments/resources.json +3 -0
  2. package/dist/assets/t9n/feature-comments/resources_en.json +3 -0
  3. package/dist/assets/t9n/feature-form-flow-item/resources.json +3 -0
  4. package/dist/assets/t9n/feature-form-flow-item/resources_en.json +3 -0
  5. package/dist/assets/t9n/layer-table/resources.json +2 -1
  6. package/dist/assets/t9n/layer-table/resources_en.json +2 -1
  7. package/dist/assets/t9n/list-flow-item/resources.json +3 -0
  8. package/dist/assets/t9n/list-flow-item/resources_en.json +3 -0
  9. package/dist/assets/t9n/location-flow-item/resources.json +3 -0
  10. package/dist/assets/t9n/location-flow-item/resources_en.json +3 -0
  11. package/dist/assets/t9n/share-item/resources.json +3 -0
  12. package/dist/assets/t9n/share-item/resources_en.json +3 -0
  13. package/dist/cjs/{list-item.cjs.entry.js → arcgis-login.cjs.entry.js} +4 -19
  14. package/dist/cjs/basemap-gallery_7.cjs.entry.js +13 -9
  15. package/dist/cjs/calcite-action_2.cjs.entry.js +61 -392
  16. package/dist/cjs/calcite-alert_3.cjs.entry.js +21 -3
  17. package/dist/cjs/calcite-combobox_6.cjs.entry.js +32 -8
  18. package/dist/cjs/calcite-popover.cjs.entry.js +418 -0
  19. package/dist/cjs/card-manager_3.cjs.entry.js +154 -18
  20. package/dist/cjs/crowdsource-manager.cjs.entry.js +24 -2
  21. package/dist/cjs/crowdsource-reporter.cjs.entry.js +45 -6
  22. package/dist/cjs/{downloadUtils-e3e595e9.js → downloadUtils-9c4fde54.js} +2 -2
  23. package/dist/cjs/feature-comments.cjs.entry.js +60 -0
  24. package/dist/cjs/feature-form-flow-item.cjs.entry.js +60 -0
  25. package/dist/cjs/features-flow-item.cjs.entry.js +60 -0
  26. package/dist/cjs/{index.es-047537b5.js → index.es-d208a6d6.js} +2 -2
  27. package/dist/cjs/list-flow-item.cjs.entry.js +60 -0
  28. package/dist/cjs/loader.cjs.js +1 -1
  29. package/dist/cjs/location-flow-item.cjs.entry.js +60 -0
  30. package/dist/cjs/map-select-tools_3.cjs.entry.js +2 -2
  31. package/dist/cjs/{mapViewUtils-f7bbc35b.js → mapViewUtils-bab83c90.js} +21 -0
  32. package/dist/cjs/public-notification.cjs.entry.js +2 -2
  33. package/dist/cjs/refine-results-flow-item.cjs.entry.js +60 -0
  34. package/dist/cjs/share-item.cjs.entry.js +60 -0
  35. package/dist/cjs/solutions-components.cjs.js +1 -1
  36. package/dist/collection/collection-manifest.json +8 -1
  37. package/dist/collection/components/{list-item/list-item.js → arcgis-login/arcgis-login.js} +4 -19
  38. package/dist/collection/components/arcgis-login/test/arcgis-login.e2e.js +29 -0
  39. package/dist/collection/components/arcgis-login/test/arcgis-login.spec.js +37 -0
  40. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +118 -2
  41. package/dist/collection/components/crowdsource-reporter/crowdsource-reporter.js +294 -6
  42. package/dist/collection/components/feature-comments/feature-comments.css +19 -0
  43. package/dist/collection/components/feature-comments/feature-comments.js +74 -0
  44. package/dist/collection/components/feature-comments/test/feature-comments.e2e.js +29 -0
  45. package/dist/collection/components/feature-comments/test/feature-comments.spec.js +37 -0
  46. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.css +19 -0
  47. package/dist/collection/components/feature-form-flow-item/feature-form-flow-item.js +74 -0
  48. package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.e2e.js +29 -0
  49. package/dist/collection/components/feature-form-flow-item/test/feature-form-flow-item.spec.js +37 -0
  50. package/dist/collection/components/features-flow-item/features-flow-item.css +19 -0
  51. package/dist/collection/components/features-flow-item/features-flow-item.js +74 -0
  52. package/dist/collection/components/features-flow-item/test/features-flow-item.e2e.js +29 -0
  53. package/dist/collection/components/features-flow-item/test/features-flow-item.spec.js +37 -0
  54. package/dist/collection/components/info-card/info-card.js +21 -2
  55. package/dist/collection/components/layer-table/layer-table.js +199 -10
  56. package/dist/collection/components/list-flow-item/list-flow-item.css +19 -0
  57. package/dist/collection/components/list-flow-item/list-flow-item.js +74 -0
  58. package/dist/collection/components/list-flow-item/test/list-flow-item.e2e.js +29 -0
  59. package/dist/collection/components/list-flow-item/test/list-flow-item.spec.js +37 -0
  60. package/dist/collection/components/location-flow-item/location-flow-item.css +19 -0
  61. package/dist/collection/components/location-flow-item/location-flow-item.js +74 -0
  62. package/dist/collection/components/location-flow-item/test/location-flow-item.e2e.js +29 -0
  63. package/dist/collection/components/location-flow-item/test/location-flow-item.spec.js +37 -0
  64. package/dist/collection/components/map-card/map-card.js +38 -7
  65. package/dist/collection/components/map-layer-picker/map-layer-picker.js +49 -7
  66. package/dist/collection/components/map-picker/map-picker.js +37 -9
  67. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.css +19 -0
  68. package/dist/collection/components/refine-results-flow-item/refine-results-flow-item.js +74 -0
  69. package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.e2e.js +29 -0
  70. package/dist/collection/components/refine-results-flow-item/test/refine-results-flow-item.spec.js +37 -0
  71. package/dist/collection/components/share-item/share-item.css +19 -0
  72. package/dist/collection/components/share-item/share-item.js +74 -0
  73. package/dist/collection/components/share-item/test/share-item.e2e.js +29 -0
  74. package/dist/collection/components/share-item/test/share-item.spec.js +37 -0
  75. package/dist/collection/demos/crowdsource-reporter.html +56 -15
  76. package/dist/collection/utils/interfaces.ts +5 -0
  77. package/dist/collection/utils/queryUtils.js +20 -0
  78. package/dist/collection/utils/queryUtils.ts +26 -0
  79. package/dist/components/arcgis-login.d.ts +11 -0
  80. package/dist/components/arcgis-login.js +75 -0
  81. package/dist/components/calcite-list-item.js +1 -1
  82. package/dist/components/card-manager2.js +7 -1
  83. package/dist/components/crowdsource-manager.js +32 -3
  84. package/dist/components/crowdsource-reporter.js +61 -7
  85. package/dist/components/feature-comments.d.ts +11 -0
  86. package/dist/components/feature-comments.js +75 -0
  87. package/dist/components/feature-form-flow-item.d.ts +11 -0
  88. package/dist/components/feature-form-flow-item.js +75 -0
  89. package/dist/components/features-flow-item.d.ts +11 -0
  90. package/dist/components/features-flow-item.js +75 -0
  91. package/dist/components/info-card2.js +28 -3
  92. package/dist/components/layer-table2.js +138 -10
  93. package/dist/components/list-flow-item.d.ts +11 -0
  94. package/dist/components/list-flow-item.js +75 -0
  95. package/dist/components/list-item.js +425 -55
  96. package/dist/components/location-flow-item.d.ts +11 -0
  97. package/dist/components/location-flow-item.js +75 -0
  98. package/dist/components/map-card2.js +22 -8
  99. package/dist/components/map-layer-picker2.js +32 -7
  100. package/dist/components/map-picker2.js +16 -11
  101. package/dist/components/map-select-tools2.js +1 -1
  102. package/dist/components/public-notification.js +1 -1
  103. package/dist/components/queryUtils.js +21 -1
  104. package/dist/components/refine-results-flow-item.d.ts +11 -0
  105. package/dist/components/refine-results-flow-item.js +75 -0
  106. package/dist/components/refine-selection2.js +2 -2
  107. package/dist/components/{list-item.d.ts → share-item.d.ts} +4 -4
  108. package/dist/components/share-item.js +75 -0
  109. package/dist/esm/{list-item.entry.js → arcgis-login.entry.js} +4 -19
  110. package/dist/esm/basemap-gallery_7.entry.js +13 -9
  111. package/dist/esm/calcite-action_2.entry.js +63 -394
  112. package/dist/esm/calcite-alert_3.entry.js +21 -3
  113. package/dist/esm/calcite-combobox_6.entry.js +32 -8
  114. package/dist/esm/calcite-popover.entry.js +414 -0
  115. package/dist/esm/card-manager_3.entry.js +154 -18
  116. package/dist/esm/crowdsource-manager.entry.js +24 -2
  117. package/dist/esm/crowdsource-reporter.entry.js +45 -6
  118. package/dist/esm/{downloadUtils-8fbd1347.js → downloadUtils-b84a6f55.js} +2 -2
  119. package/dist/esm/feature-comments.entry.js +56 -0
  120. package/dist/esm/feature-form-flow-item.entry.js +56 -0
  121. package/dist/esm/features-flow-item.entry.js +56 -0
  122. package/dist/esm/{index.es-b6705ce7.js → index.es-0d4698c7.js} +2 -2
  123. package/dist/esm/list-flow-item.entry.js +56 -0
  124. package/dist/esm/loader.js +1 -1
  125. package/dist/esm/location-flow-item.entry.js +56 -0
  126. package/dist/esm/map-select-tools_3.entry.js +2 -2
  127. package/dist/esm/{mapViewUtils-1e2befd7.js → mapViewUtils-88f363b6.js} +21 -1
  128. package/dist/esm/public-notification.entry.js +2 -2
  129. package/dist/esm/refine-results-flow-item.entry.js +56 -0
  130. package/dist/esm/share-item.entry.js +56 -0
  131. package/dist/esm/solutions-components.js +1 -1
  132. package/dist/solutions-components/demos/crowdsource-reporter.html +56 -15
  133. package/dist/solutions-components/{p-072680a5.js → p-214d41c3.js} +2 -2
  134. package/dist/solutions-components/p-28657abb.entry.js +11 -0
  135. package/dist/solutions-components/p-31b66bc3.entry.js +6 -0
  136. package/dist/solutions-components/{p-0123207d.entry.js → p-34737944.entry.js} +1 -1
  137. package/dist/solutions-components/{p-13d0424a.entry.js → p-3ced939f.entry.js} +1 -1
  138. package/dist/solutions-components/p-3dfbf45e.entry.js +6 -0
  139. package/dist/solutions-components/{p-092fd5d9.js → p-3ee78186.js} +1 -1
  140. package/dist/solutions-components/{p-7f793144.entry.js → p-4327c361.entry.js} +1 -1
  141. package/dist/solutions-components/p-455f4ed8.entry.js +17 -0
  142. package/dist/solutions-components/p-478fc7cb.entry.js +6 -0
  143. package/dist/solutions-components/p-4aafb627.js +36 -0
  144. package/dist/solutions-components/p-58562dda.entry.js +6 -0
  145. package/dist/solutions-components/{p-f367db61.entry.js → p-81503752.entry.js} +1 -1
  146. package/dist/solutions-components/{p-c90671e1.entry.js → p-9d54d7a0.entry.js} +4 -4
  147. package/dist/solutions-components/p-a5d70d3a.entry.js +6 -0
  148. package/dist/solutions-components/p-bd62df52.entry.js +6 -0
  149. package/dist/solutions-components/{p-ca780ab8.entry.js → p-d6f51bea.entry.js} +2 -2
  150. package/dist/solutions-components/p-e6371690.entry.js +6 -0
  151. package/dist/solutions-components/p-e7aad23d.entry.js +6 -0
  152. package/dist/solutions-components/p-ed95f634.entry.js +6 -0
  153. package/dist/solutions-components/p-fd08afb5.entry.js +6 -0
  154. package/dist/solutions-components/solutions-components.esm.js +1 -1
  155. package/dist/solutions-components/utils/interfaces.ts +5 -0
  156. package/dist/solutions-components/utils/queryUtils.ts +26 -0
  157. package/dist/types/components/{list-item/list-item.d.ts → arcgis-login/arcgis-login.d.ts} +2 -9
  158. package/dist/types/components/crowdsource-manager/crowdsource-manager.d.ts +36 -0
  159. package/dist/types/components/crowdsource-reporter/crowdsource-reporter.d.ts +73 -0
  160. package/dist/types/components/feature-comments/feature-comments.d.ts +19 -0
  161. package/dist/types/components/feature-form-flow-item/feature-form-flow-item.d.ts +19 -0
  162. package/dist/types/components/features-flow-item/features-flow-item.d.ts +19 -0
  163. package/dist/types/components/info-card/info-card.d.ts +8 -0
  164. package/dist/types/components/layer-table/layer-table.d.ts +77 -2
  165. package/dist/types/components/list-flow-item/list-flow-item.d.ts +19 -0
  166. package/dist/types/components/location-flow-item/location-flow-item.d.ts +19 -0
  167. package/dist/types/components/map-card/map-card.d.ts +12 -0
  168. package/dist/types/components/map-layer-picker/map-layer-picker.d.ts +15 -2
  169. package/dist/types/components/map-picker/map-picker.d.ts +1 -4
  170. package/dist/types/components/refine-results-flow-item/refine-results-flow-item.d.ts +19 -0
  171. package/dist/types/components/share-item/share-item.d.ts +19 -0
  172. package/dist/types/components.d.ts +301 -9
  173. package/dist/types/preact.d.ts +15 -1
  174. package/dist/types/utils/interfaces.d.ts +4 -0
  175. package/dist/types/utils/queryUtils.d.ts +9 -0
  176. package/package.json +1 -1
  177. package/dist/assets/t9n/config-buffer-tools/resources.json +0 -12
  178. package/dist/assets/t9n/config-buffer-tools/resources_en.json +0 -12
  179. package/dist/assets/t9n/config-draw-tools/resources.json +0 -10
  180. package/dist/assets/t9n/config-draw-tools/resources_en.json +0 -10
  181. package/dist/assets/t9n/config-layer-picker/resources.json +0 -3
  182. package/dist/assets/t9n/config-layer-picker/resources_en.json +0 -3
  183. package/dist/assets/t9n/config-pdf-download/resources.json +0 -6
  184. package/dist/assets/t9n/config-pdf-download/resources_en.json +0 -6
  185. package/dist/cjs/calcite-loader.cjs.entry.js +0 -80
  186. package/dist/components/list-item2.js +0 -460
  187. package/dist/esm/calcite-loader.entry.js +0 -76
  188. package/dist/solutions-components/p-11cb7b04.entry.js +0 -6
  189. package/dist/solutions-components/p-45cf4f67.entry.js +0 -6
  190. package/dist/solutions-components/p-4807b2a1.js +0 -36
  191. package/dist/solutions-components/p-557a1912.entry.js +0 -6
  192. package/dist/solutions-components/p-68735975.entry.js +0 -6
  193. package/dist/solutions-components/p-ec830ecb.entry.js +0 -23
  194. /package/dist/assets/t9n/{list-item → arcgis-login}/resources.json +0 -0
  195. /package/dist/assets/t9n/{list-item → arcgis-login}/resources_en.json +0 -0
  196. /package/dist/collection/components/{list-item/list-item.css → arcgis-login/arcgis-login.css} +0 -0
@@ -13,9 +13,82 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ /// <reference types="arcgis-js-api" />
17
+ import { ISearchConfiguration } from "../../utils/interfaces";
16
18
  export declare class CrowdsourceReporter {
17
19
  el: HTMLCrowdsourceReporterElement;
20
+ /**
21
+ * string: The text that will display under the title on the landing page
22
+ */
23
+ description: string;
24
+ /**
25
+ * boolean: When true the anonymous users will be allowed to submit reports and comments
26
+ */
27
+ enableAnonymousAccess: boolean;
28
+ /**
29
+ * boolean: When true the anonymous users will be allowed to submit comments
30
+ */
31
+ enableAnonymousComments: boolean;
32
+ /**
33
+ * boolean: When true the user will be allowed to submit comments
34
+ */
35
+ enableComments: boolean;
36
+ /**
37
+ * boolean: When true the user will be provided a login page
38
+ */
39
+ enableLogin: boolean;
40
+ /**
41
+ * boolean: When true the user will be allowed to submit new reports
42
+ */
43
+ enableNewReports: boolean;
44
+ /**
45
+ * string[]: list of layer ids
46
+ */
47
+ layers: string[];
48
+ /**
49
+ * string: The text that will display at the top of the landing page
50
+ */
51
+ loginTitle: string;
52
+ /**
53
+ * esri/views/MapView: https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html
54
+ */
55
+ mapView: __esri.MapView;
56
+ /**
57
+ * string: The word(s) to display in the reports submit button
58
+ */
59
+ reportButtonText: string;
60
+ /**
61
+ * string: The word(s) to display in the reports header
62
+ */
63
+ reportsHeader: string;
64
+ /**
65
+ * string: The message to display when the report has been submitted
66
+ */
67
+ reportSubmittedMessage: string;
68
+ /**
69
+ * ISearchConfiguration: Configuration details for the Search widget
70
+ */
71
+ searchConfiguration: ISearchConfiguration;
72
+ /**
73
+ * boolean: When true the comments from all users will be visible
74
+ */
75
+ showComments: boolean;
76
+ /**
77
+ * StencilJS: Called once just after the component is first connected to the DOM.
78
+ *
79
+ * @returns Promise when complete
80
+ */
81
+ /**
82
+ * Renders the component.
83
+ */
18
84
  render(): any;
85
+ /**
86
+ * Load esri javascript api modules
87
+ *
88
+ * @returns Promise resolving when function is done
89
+ *
90
+ * @protected
91
+ */
19
92
  /**
20
93
  * Fetches the component's translations
21
94
  *
@@ -0,0 +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
+ export declare class FeatureComments {
17
+ el: HTMLFeatureCommentsElement;
18
+ render(): any;
19
+ }
@@ -0,0 +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
+ export declare class FeatureFormFlowItem {
17
+ el: HTMLFeatureFormFlowItemElement;
18
+ render(): any;
19
+ }
@@ -0,0 +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
+ export declare class FeaturesFlowItem {
17
+ el: HTMLLocationFlowItemElement;
18
+ render(): any;
19
+ }
@@ -47,6 +47,10 @@ export declare class InfoCard {
47
47
  * When true the add record modal will be displayed
48
48
  */
49
49
  _editRecordOpen: boolean;
50
+ /**
51
+ * When true the features list view will be displayed
52
+ */
53
+ _showListView: boolean;
50
54
  /**
51
55
  * Contains the translations for this component.
52
56
  * All UI strings should be defined here.
@@ -156,6 +160,10 @@ export declare class InfoCard {
156
160
  * @returns the index of total string
157
161
  */
158
162
  protected _getCount(): string;
163
+ /**
164
+ * Toggle the visibility of the features list view
165
+ */
166
+ protected _toggleListView(): void;
159
167
  /**
160
168
  * Fetches the component's translations
161
169
  *
@@ -16,13 +16,29 @@
16
16
  /// <reference types="arcgis-js-api" />
17
17
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
18
18
  import LayerTable_T9n from "../../assets/t9n/layer-table/resources.json";
19
- import { IMapClick, IMapInfo, IToolInfo, IToolSizeInfo } from "../../utils/interfaces";
19
+ import { IColumnsInfo, IMapClick, IMapInfo, IToolInfo, IToolSizeInfo } from "../../utils/interfaces";
20
20
  export declare class LayerTable {
21
21
  el: HTMLCrowdsourceManagerElement;
22
+ /**
23
+ * string: when provided this layer ID will be used when the app loads
24
+ */
25
+ defaultLayerId: string;
26
+ /**
27
+ * string: Global ID of the feature to select
28
+ */
29
+ defaultGlobalId: string[];
30
+ /**
31
+ * number: when provided this will be used to select a feature in the table by default
32
+ */
33
+ defaultOid: number[];
22
34
  /**
23
35
  * boolean: when true the layer table will auto refresh the data
24
36
  */
25
37
  enableAutoRefresh: boolean;
38
+ /**
39
+ * boolean: when true the layer table will support drag/drop of columns to adjust order
40
+ */
41
+ enableColumnReorder: boolean;
26
42
  /**
27
43
  * boolean: when true the export to csv button will be available
28
44
  */
@@ -79,6 +95,10 @@ export declare class LayerTable {
79
95
  * number[]: A list of indexes that are currently selected
80
96
  */
81
97
  _selectedIndexes: number[];
98
+ /**
99
+ * boolean: When true the show/hide fields list is forced open
100
+ */
101
+ _showHideOpen: boolean;
82
102
  /**
83
103
  * boolean: When true only selected records will be shown in the table
84
104
  */
@@ -100,10 +120,22 @@ export declare class LayerTable {
100
120
  * number[]: A list of all IDs for the current layer
101
121
  */
102
122
  protected _allIds: number[];
123
+ /**
124
+ * IColumnsInfo: Key/value pair with fieldname/(visible in table)
125
+ */
126
+ protected _columnsInfo: IColumnsInfo;
103
127
  /**
104
128
  * boolean: When false alerts will be shown to indicate that the layer must have editing enabled for edit actions
105
129
  */
106
130
  protected _editEnabled: boolean;
131
+ /**
132
+ * boolean: When true the default global id provided via url param has been honored and should now be ignored
133
+ */
134
+ protected _defaultGlobalIdHonored: boolean;
135
+ /**
136
+ * boolean: When true the default OID provided via url param has been honored and should now be ignored
137
+ */
138
+ protected _defaultOidHonored: boolean;
107
139
  /**
108
140
  * IToolSizeInfo[]: The default list of tool size info for tools that should display outside of the dropdown
109
141
  */
@@ -128,6 +160,14 @@ export declare class LayerTable {
128
160
  * HTMLCalciteCheckboxElement: Element to force selection of all records
129
161
  */
130
162
  protected _selectAllElement: HTMLCalciteCheckboxElement;
163
+ /**
164
+ * HTMLCalciteDropdownElement: Dropdown the will support show/hide of table columns
165
+ */
166
+ protected _showHideDropdown: HTMLCalciteDropdownElement;
167
+ /**
168
+ * HTMLCalciteDropdownElement: Dropdown the will support overflow tools that won't fit in the current display
169
+ */
170
+ protected _moreDropdown: HTMLCalciteDropdownElement;
131
171
  /**
132
172
  * esri/widgets/FeatureTable: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-FeatureTable.html
133
173
  */
@@ -266,6 +306,13 @@ export declare class LayerTable {
266
306
  * @returns VNode[] the action nodes
267
307
  */
268
308
  protected _getActions(): VNode[];
309
+ /**
310
+ * Get the list of fields as dropdown items and store the current selected state so
311
+ * we can show/hide the appropriate fields
312
+ *
313
+ * @returns Node with the fields as dropdown items
314
+ */
315
+ _getFieldlist(): VNode;
269
316
  /**
270
317
  * Update actions enabled prop based on number of selected indexes
271
318
  *
@@ -341,7 +388,7 @@ export declare class LayerTable {
341
388
  *
342
389
  * @returns VNode The node representing the DOM element that will contain the action
343
390
  */
344
- protected _getAction(icon: string, label: string, func: any, disabled: boolean): VNode;
391
+ protected _getAction(icon: string, label: string, func: any, disabled: boolean, slot?: string): VNode;
345
392
  /**
346
393
  * Get a tooltip
347
394
  *
@@ -395,6 +442,18 @@ export declare class LayerTable {
395
442
  * @returns void
396
443
  */
397
444
  protected _resetTable(): Promise<void>;
445
+ /**
446
+ * Store the column names and current hidden status to support show/hide of columns
447
+ *
448
+ * @returns void
449
+ */
450
+ protected _initColumnsInfo(): void;
451
+ /**
452
+ * Select the feature that was specified via url params
453
+ *
454
+ * @returns void
455
+ */
456
+ protected _selectDefaultFeature(oids: number[]): void;
398
457
  /**
399
458
  * Verify edit capabilities of the layer
400
459
  *
@@ -407,6 +466,22 @@ export declare class LayerTable {
407
466
  * @returns void
408
467
  */
409
468
  protected _sortTable(): Promise<void>;
469
+ /**
470
+ * Open show/hide dropdown
471
+ */
472
+ protected _forceShowHide(): void;
473
+ /**
474
+ * Toggle show/hide dropdown
475
+ */
476
+ protected _toggleShowHide(): void;
477
+ /**
478
+ * Open show/hide dropdown
479
+ */
480
+ protected _closeShowHide(): void;
481
+ /**
482
+ * Close show/hide dropdown when the user clicks outside of it
483
+ */
484
+ protected _handleDocumentClick(e: MouseEvent): void;
410
485
  /**
411
486
  * Show delete confirmation message
412
487
  *
@@ -0,0 +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
+ export declare class ListFlowItem {
17
+ el: HTMLListFlowItemElement;
18
+ render(): any;
19
+ }
@@ -0,0 +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
+ export declare class LocationFlowItem {
17
+ el: HTMLLocationFlowItemElement;
18
+ render(): any;
19
+ }
@@ -18,6 +18,10 @@ import { EventEmitter } from "../../stencil-public-runtime";
18
18
  import { IBasemapConfig, IMapChange, IMapInfo, ISearchConfiguration, theme } from "../../utils/interfaces";
19
19
  export declare class MapCard {
20
20
  el: HTMLMapCardElement;
21
+ /**
22
+ * string: Item ID of the web map that should be selected by default when the app loads
23
+ */
24
+ defaultWebmapId: string;
21
25
  /**
22
26
  * boolean: when true the home widget will be available
23
27
  */
@@ -82,6 +86,10 @@ export declare class MapCard {
82
86
  * esri/WebMap: https://developers.arcgis.com/javascript/latest/api-reference/esri-WebMap.html
83
87
  */
84
88
  protected WebMap: typeof import("esri/WebMap");
89
+ /**
90
+ * boolean: When true the default map provided via url params has been loaded and should no longer override other maps
91
+ */
92
+ protected _defaultWebmapHonored: boolean;
85
93
  /**
86
94
  * esri/widgets/Home: https://developers.arcgis.com/javascript/latest/api-reference/esri-widgets-Home.html
87
95
  */
@@ -94,6 +102,10 @@ export declare class MapCard {
94
102
  * HTMLDivElement: the container div for the map
95
103
  */
96
104
  protected _mapDiv: HTMLDivElement;
105
+ /**
106
+ * HTMLMapPickerElement: map layer picker element
107
+ */
108
+ protected _mapPicker: HTMLMapPickerElement;
97
109
  /**
98
110
  * HTMLMapToolsElement: the container div for the map tools
99
111
  */
@@ -16,13 +16,17 @@
16
16
  /// <reference types="arcgis-js-api" />
17
17
  import { EventEmitter, VNode } from "../../stencil-public-runtime";
18
18
  import MapLayerPicker_T9n from "../../assets/t9n/map-layer-picker/resources.json";
19
- import { IMapItemHash } from "../../utils/interfaces";
19
+ import { ILayerHashInfo, IMapItemHash } from "../../utils/interfaces";
20
20
  export declare class MapLayerPicker {
21
21
  el: HTMLMapLayerPickerElement;
22
22
  /**
23
23
  * "transparent" | "solid": controls the button appearance when using the "dropdown" type
24
24
  */
25
25
  appearance: "transparent" | "solid";
26
+ /**
27
+ * string: when provided this layer ID will be used when the app loads
28
+ */
29
+ defaultLayerId: string;
26
30
  /**
27
31
  * string[]: Optional list of enabled layer ids
28
32
  * If empty all layers will be available
@@ -78,6 +82,10 @@ export declare class MapLayerPicker {
78
82
  * All UI strings should be defined here.
79
83
  */
80
84
  _translations: typeof MapLayerPicker_T9n;
85
+ /**
86
+ * boolean: When true the default layer has been loaded once and should no longer be used
87
+ */
88
+ protected defaultLayerHonored: boolean;
81
89
  /**
82
90
  * HTMLCalciteSelectElement: The html element for selecting layers
83
91
  */
@@ -92,7 +100,6 @@ export declare class MapLayerPicker {
92
100
  protected _tableNameHash: IMapItemHash;
93
101
  /**
94
102
  * Called each time the mapView prop is changed.
95
- *
96
103
  */
97
104
  mapViewWatchHandler(): Promise<void>;
98
105
  /**
@@ -165,6 +172,12 @@ export declare class MapLayerPicker {
165
172
  * Store the layer name based on the user selection
166
173
  */
167
174
  _setSelectedLayer(id: string): void;
175
+ /**
176
+ * Fetch layer hash info for the given id
177
+ *
178
+ * @returns ILayerHashInfo for the id
179
+ */
180
+ protected _getLayerFromHash(id: string): ILayerHashInfo;
168
181
  /**
169
182
  * Fetch the ids of the layers from the map
170
183
  *
@@ -51,6 +51,7 @@ export declare class MapPicker {
51
51
  * Called each time the mapInfos prop is changed.
52
52
  */
53
53
  mapInfosWatchHandler(v: IMapInfo[], oldV: IMapInfo[]): Promise<void>;
54
+ setMapByID(id: string): Promise<void>;
54
55
  /**
55
56
  * Emitted when a new map is loaded
56
57
  */
@@ -65,10 +66,6 @@ export declare class MapPicker {
65
66
  * Renders the component.
66
67
  */
67
68
  render(): any;
68
- /**
69
- * Called after each render
70
- */
71
- componentDidRender(): Promise<void>;
72
69
  /**
73
70
  * Called once after the component has loaded
74
71
  */
@@ -0,0 +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
+ export declare class RefineResultsFlowItem {
17
+ el: HTMLRefineResultsFlowItemElement;
18
+ render(): any;
19
+ }
@@ -0,0 +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
+ export declare class ShareItem {
17
+ el: HTMLShareItemElement;
18
+ render(): any;
19
+ }