@esri/solutions-components 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (531) hide show
  1. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +16 -6
  2. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js.map +1 -1
  3. package/dist/cjs/solution-configuration.cjs.entry.js +1095 -4
  4. package/dist/cjs/solution-configuration.cjs.entry.js.map +1 -1
  5. package/dist/cjs/solution-contents_3.cjs.entry.js +3 -1
  6. package/dist/cjs/solution-contents_3.cjs.entry.js.map +1 -1
  7. package/dist/cjs/{solution-store-f0547fe7.js → solution-store-893499a5.js} +8 -1
  8. package/dist/cjs/solution-store-893499a5.js.map +1 -0
  9. package/dist/collection/components/solution-configuration/solution-configuration.js +14 -11
  10. package/dist/collection/components/solution-configuration/solution-configuration.js.map +1 -1
  11. package/dist/collection/components/solution-item/solution-item.js +2 -0
  12. package/dist/collection/components/solution-item/solution-item.js.map +1 -1
  13. package/dist/collection/components/solution-item-details/solution-item-details.js +15 -5
  14. package/dist/collection/components/solution-item-details/solution-item-details.js.map +1 -1
  15. package/dist/collection/utils/solution-store.js +2 -0
  16. package/dist/collection/utils/solution-store.js.map +1 -1
  17. package/dist/collection/utils/solution-store.ts +2 -0
  18. package/dist/esm/calcite-shell-panel_14.entry.js +16 -6
  19. package/dist/esm/calcite-shell-panel_14.entry.js.map +1 -1
  20. package/dist/esm/solution-configuration.entry.js +1095 -4
  21. package/dist/esm/solution-configuration.entry.js.map +1 -1
  22. package/dist/esm/solution-contents_3.entry.js +3 -1
  23. package/dist/esm/solution-contents_3.entry.js.map +1 -1
  24. package/dist/esm/{solution-store-c1f6173a.js → solution-store-0c58c852.js} +4 -2
  25. package/dist/esm/solution-store-0c58c852.js.map +1 -0
  26. package/dist/solutions-components/{p-065830b8.js → p-659edb14.js} +4 -2
  27. package/dist/solutions-components/p-659edb14.js.map +1 -0
  28. package/dist/solutions-components/{p-ee9be0ef.entry.js → p-77c75f3a.entry.js} +4 -2
  29. package/dist/solutions-components/p-77c75f3a.entry.js.map +1 -0
  30. package/dist/solutions-components/p-90629c1d.entry.js +1986 -0
  31. package/dist/solutions-components/p-90629c1d.entry.js.map +1 -0
  32. package/dist/solutions-components/{p-0e7a0839.entry.js → p-984cb687.entry.js} +17 -7
  33. package/dist/solutions-components/p-984cb687.entry.js.map +1 -0
  34. package/dist/solutions-components/solutions-components.esm.js +1 -1
  35. package/dist/solutions-components/utils/solution-store.ts +2 -0
  36. package/dist/solutions-components_commit.txt +9 -7
  37. package/dist/types/components/solution-item-details/solution-item-details.d.ts +2 -1
  38. package/package.json +1 -1
  39. package/dist/cjs/solution-store-f0547fe7.js.map +0 -1
  40. package/dist/components/ExpandToggle.js +0 -112
  41. package/dist/components/ExpandToggle.js.map +0 -1
  42. package/dist/components/Heading.js +0 -24
  43. package/dist/components/Heading.js.map +0 -1
  44. package/dist/components/_commonjsHelpers.js +0 -24
  45. package/dist/components/_commonjsHelpers.js.map +0 -1
  46. package/dist/components/action-bar.js +0 -278
  47. package/dist/components/action-bar.js.map +0 -1
  48. package/dist/components/action-group.js +0 -151
  49. package/dist/components/action-group.js.map +0 -1
  50. package/dist/components/action-menu.js +0 -358
  51. package/dist/components/action-menu.js.map +0 -1
  52. package/dist/components/action.js +0 -216
  53. package/dist/components/action.js.map +0 -1
  54. package/dist/components/array.js +0 -17
  55. package/dist/components/array.js.map +0 -1
  56. package/dist/components/buffer-tools.d.ts +0 -11
  57. package/dist/components/buffer-tools.js +0 -13
  58. package/dist/components/buffer-tools.js.map +0 -1
  59. package/dist/components/buffer-tools2.js +0 -256
  60. package/dist/components/buffer-tools2.js.map +0 -1
  61. package/dist/components/button.js +0 -265
  62. package/dist/components/button.js.map +0 -1
  63. package/dist/components/calcite-accordion-item.js +0 -246
  64. package/dist/components/calcite-accordion-item.js.map +0 -1
  65. package/dist/components/calcite-accordion.js +0 -182
  66. package/dist/components/calcite-accordion.js.map +0 -1
  67. package/dist/components/calcite-action-bar.js +0 -13
  68. package/dist/components/calcite-action-bar.js.map +0 -1
  69. package/dist/components/calcite-action-group.js +0 -13
  70. package/dist/components/calcite-action-group.js.map +0 -1
  71. package/dist/components/calcite-action-menu.js +0 -13
  72. package/dist/components/calcite-action-menu.js.map +0 -1
  73. package/dist/components/calcite-action-pad.js +0 -199
  74. package/dist/components/calcite-action-pad.js.map +0 -1
  75. package/dist/components/calcite-action.js +0 -13
  76. package/dist/components/calcite-action.js.map +0 -1
  77. package/dist/components/calcite-alert.js +0 -299
  78. package/dist/components/calcite-alert.js.map +0 -1
  79. package/dist/components/calcite-avatar.js +0 -184
  80. package/dist/components/calcite-avatar.js.map +0 -1
  81. package/dist/components/calcite-block-section.js +0 -157
  82. package/dist/components/calcite-block-section.js.map +0 -1
  83. package/dist/components/calcite-block.js +0 -277
  84. package/dist/components/calcite-block.js.map +0 -1
  85. package/dist/components/calcite-button.js +0 -13
  86. package/dist/components/calcite-button.js.map +0 -1
  87. package/dist/components/calcite-card.js +0 -189
  88. package/dist/components/calcite-card.js.map +0 -1
  89. package/dist/components/calcite-checkbox.js +0 -13
  90. package/dist/components/calcite-checkbox.js.map +0 -1
  91. package/dist/components/calcite-chip.js +0 -13
  92. package/dist/components/calcite-chip.js.map +0 -1
  93. package/dist/components/calcite-color-picker-hex-input.js +0 -13
  94. package/dist/components/calcite-color-picker-hex-input.js.map +0 -1
  95. package/dist/components/calcite-color-picker-swatch.js +0 -13
  96. package/dist/components/calcite-color-picker-swatch.js.map +0 -1
  97. package/dist/components/calcite-color-picker.js +0 -1038
  98. package/dist/components/calcite-color-picker.js.map +0 -1
  99. package/dist/components/calcite-combobox-item-group.js +0 -77
  100. package/dist/components/calcite-combobox-item-group.js.map +0 -1
  101. package/dist/components/calcite-combobox-item.js +0 -13
  102. package/dist/components/calcite-combobox-item.js.map +0 -1
  103. package/dist/components/calcite-combobox.js +0 -13
  104. package/dist/components/calcite-combobox.js.map +0 -1
  105. package/dist/components/calcite-date-picker-day.js +0 -13
  106. package/dist/components/calcite-date-picker-day.js.map +0 -1
  107. package/dist/components/calcite-date-picker-month-header.js +0 -13
  108. package/dist/components/calcite-date-picker-month-header.js.map +0 -1
  109. package/dist/components/calcite-date-picker-month.js +0 -13
  110. package/dist/components/calcite-date-picker-month.js.map +0 -1
  111. package/dist/components/calcite-date-picker.js +0 -13
  112. package/dist/components/calcite-date-picker.js.map +0 -1
  113. package/dist/components/calcite-dropdown-group.js +0 -101
  114. package/dist/components/calcite-dropdown-group.js.map +0 -1
  115. package/dist/components/calcite-dropdown-item.js +0 -237
  116. package/dist/components/calcite-dropdown-item.js.map +0 -1
  117. package/dist/components/calcite-dropdown.js +0 -13
  118. package/dist/components/calcite-dropdown.js.map +0 -1
  119. package/dist/components/calcite-fab.js +0 -146
  120. package/dist/components/calcite-fab.js.map +0 -1
  121. package/dist/components/calcite-filter.js +0 -197
  122. package/dist/components/calcite-filter.js.map +0 -1
  123. package/dist/components/calcite-flow-item.js +0 -245
  124. package/dist/components/calcite-flow-item.js.map +0 -1
  125. package/dist/components/calcite-flow.js +0 -149
  126. package/dist/components/calcite-flow.js.map +0 -1
  127. package/dist/components/calcite-graph.js +0 -13
  128. package/dist/components/calcite-graph.js.map +0 -1
  129. package/dist/components/calcite-handle.js +0 -13
  130. package/dist/components/calcite-handle.js.map +0 -1
  131. package/dist/components/calcite-icon.js +0 -13
  132. package/dist/components/calcite-icon.js.map +0 -1
  133. package/dist/components/calcite-inline-editable.js +0 -296
  134. package/dist/components/calcite-inline-editable.js.map +0 -1
  135. package/dist/components/calcite-input-date-picker.js +0 -715
  136. package/dist/components/calcite-input-date-picker.js.map +0 -1
  137. package/dist/components/calcite-input-message.js +0 -13
  138. package/dist/components/calcite-input-message.js.map +0 -1
  139. package/dist/components/calcite-input-number.js +0 -639
  140. package/dist/components/calcite-input-number.js.map +0 -1
  141. package/dist/components/calcite-input-text.js +0 -402
  142. package/dist/components/calcite-input-text.js.map +0 -1
  143. package/dist/components/calcite-input-time-picker.js +0 -436
  144. package/dist/components/calcite-input-time-picker.js.map +0 -1
  145. package/dist/components/calcite-input.js +0 -13
  146. package/dist/components/calcite-input.js.map +0 -1
  147. package/dist/components/calcite-label.js +0 -13
  148. package/dist/components/calcite-label.js.map +0 -1
  149. package/dist/components/calcite-link.js +0 -13
  150. package/dist/components/calcite-link.js.map +0 -1
  151. package/dist/components/calcite-list-item-group.js +0 -67
  152. package/dist/components/calcite-list-item-group.js.map +0 -1
  153. package/dist/components/calcite-list-item.js +0 -13
  154. package/dist/components/calcite-list-item.js.map +0 -1
  155. package/dist/components/calcite-list.js +0 -13
  156. package/dist/components/calcite-list.js.map +0 -1
  157. package/dist/components/calcite-loader.js +0 -13
  158. package/dist/components/calcite-loader.js.map +0 -1
  159. package/dist/components/calcite-modal.js +0 -500
  160. package/dist/components/calcite-modal.js.map +0 -1
  161. package/dist/components/calcite-notice.js +0 -13
  162. package/dist/components/calcite-notice.js.map +0 -1
  163. package/dist/components/calcite-option-group.js +0 -66
  164. package/dist/components/calcite-option-group.js.map +0 -1
  165. package/dist/components/calcite-option.js +0 -13
  166. package/dist/components/calcite-option.js.map +0 -1
  167. package/dist/components/calcite-pagination.js +0 -260
  168. package/dist/components/calcite-pagination.js.map +0 -1
  169. package/dist/components/calcite-panel.js +0 -13
  170. package/dist/components/calcite-panel.js.map +0 -1
  171. package/dist/components/calcite-pick-list-group.js +0 -76
  172. package/dist/components/calcite-pick-list-group.js.map +0 -1
  173. package/dist/components/calcite-pick-list-item.js +0 -13
  174. package/dist/components/calcite-pick-list-item.js.map +0 -1
  175. package/dist/components/calcite-pick-list.js +0 -175
  176. package/dist/components/calcite-pick-list.js.map +0 -1
  177. package/dist/components/calcite-popover-manager.js +0 -96
  178. package/dist/components/calcite-popover-manager.js.map +0 -1
  179. package/dist/components/calcite-popover.js +0 -13
  180. package/dist/components/calcite-popover.js.map +0 -1
  181. package/dist/components/calcite-progress.js +0 -13
  182. package/dist/components/calcite-progress.js.map +0 -1
  183. package/dist/components/calcite-radio-button-group.js +0 -134
  184. package/dist/components/calcite-radio-button-group.js.map +0 -1
  185. package/dist/components/calcite-radio-button.js +0 -312
  186. package/dist/components/calcite-radio-button.js.map +0 -1
  187. package/dist/components/calcite-radio-group-item.js +0 -13
  188. package/dist/components/calcite-radio-group-item.js.map +0 -1
  189. package/dist/components/calcite-radio-group.js +0 -13
  190. package/dist/components/calcite-radio-group.js.map +0 -1
  191. package/dist/components/calcite-rating.js +0 -203
  192. package/dist/components/calcite-rating.js.map +0 -1
  193. package/dist/components/calcite-scrim.js +0 -13
  194. package/dist/components/calcite-scrim.js.map +0 -1
  195. package/dist/components/calcite-select.js +0 -13
  196. package/dist/components/calcite-select.js.map +0 -1
  197. package/dist/components/calcite-shell-center-row.js +0 -102
  198. package/dist/components/calcite-shell-center-row.js.map +0 -1
  199. package/dist/components/calcite-shell-panel.js +0 -13
  200. package/dist/components/calcite-shell-panel.js.map +0 -1
  201. package/dist/components/calcite-shell.js +0 -13
  202. package/dist/components/calcite-shell.js.map +0 -1
  203. package/dist/components/calcite-slider.js +0 -13
  204. package/dist/components/calcite-slider.js.map +0 -1
  205. package/dist/components/calcite-sortable-list.js +0 -204
  206. package/dist/components/calcite-sortable-list.js.map +0 -1
  207. package/dist/components/calcite-split-button.js +0 -170
  208. package/dist/components/calcite-split-button.js.map +0 -1
  209. package/dist/components/calcite-stepper-item.js +0 -273
  210. package/dist/components/calcite-stepper-item.js.map +0 -1
  211. package/dist/components/calcite-stepper.js +0 -258
  212. package/dist/components/calcite-stepper.js.map +0 -1
  213. package/dist/components/calcite-switch.js +0 -13
  214. package/dist/components/calcite-switch.js.map +0 -1
  215. package/dist/components/calcite-tab-nav.js +0 -13
  216. package/dist/components/calcite-tab-nav.js.map +0 -1
  217. package/dist/components/calcite-tab-title.js +0 -13
  218. package/dist/components/calcite-tab-title.js.map +0 -1
  219. package/dist/components/calcite-tab.js +0 -13
  220. package/dist/components/calcite-tab.js.map +0 -1
  221. package/dist/components/calcite-tabs.js +0 -13
  222. package/dist/components/calcite-tabs.js.map +0 -1
  223. package/dist/components/calcite-tile-select-group.js +0 -67
  224. package/dist/components/calcite-tile-select-group.js.map +0 -1
  225. package/dist/components/calcite-tile-select.js +0 -268
  226. package/dist/components/calcite-tile-select.js.map +0 -1
  227. package/dist/components/calcite-tile.js +0 -13
  228. package/dist/components/calcite-tile.js.map +0 -1
  229. package/dist/components/calcite-time-picker.js +0 -13
  230. package/dist/components/calcite-time-picker.js.map +0 -1
  231. package/dist/components/calcite-tip-group.js +0 -43
  232. package/dist/components/calcite-tip-group.js.map +0 -1
  233. package/dist/components/calcite-tip-manager.js +0 -225
  234. package/dist/components/calcite-tip-manager.js.map +0 -1
  235. package/dist/components/calcite-tip.js +0 -164
  236. package/dist/components/calcite-tip.js.map +0 -1
  237. package/dist/components/calcite-tooltip-manager.js +0 -59
  238. package/dist/components/calcite-tooltip-manager.js.map +0 -1
  239. package/dist/components/calcite-tooltip.js +0 -13
  240. package/dist/components/calcite-tooltip.js.map +0 -1
  241. package/dist/components/calcite-tree-item.js +0 -13
  242. package/dist/components/calcite-tree-item.js.map +0 -1
  243. package/dist/components/calcite-tree.js +0 -13
  244. package/dist/components/calcite-tree.js.map +0 -1
  245. package/dist/components/calcite-value-list-item.js +0 -13
  246. package/dist/components/calcite-value-list-item.js.map +0 -1
  247. package/dist/components/calcite-value-list.js +0 -13
  248. package/dist/components/calcite-value-list.js.map +0 -1
  249. package/dist/components/check-list.d.ts +0 -11
  250. package/dist/components/check-list.js +0 -13
  251. package/dist/components/check-list.js.map +0 -1
  252. package/dist/components/check-list2.js +0 -128
  253. package/dist/components/check-list2.js.map +0 -1
  254. package/dist/components/checkbox.js +0 -167
  255. package/dist/components/checkbox.js.map +0 -1
  256. package/dist/components/chip.js +0 -172
  257. package/dist/components/chip.js.map +0 -1
  258. package/dist/components/color-picker-hex-input.js +0 -365
  259. package/dist/components/color-picker-hex-input.js.map +0 -1
  260. package/dist/components/color-picker-swatch.js +0 -2036
  261. package/dist/components/color-picker-swatch.js.map +0 -1
  262. package/dist/components/combobox-item.js +0 -184
  263. package/dist/components/combobox-item.js.map +0 -1
  264. package/dist/components/combobox.js +0 -914
  265. package/dist/components/combobox.js.map +0 -1
  266. package/dist/components/conditionalSlot.js +0 -52
  267. package/dist/components/conditionalSlot.js.map +0 -1
  268. package/dist/components/config-buffer-tools.d.ts +0 -11
  269. package/dist/components/config-buffer-tools.js +0 -185
  270. package/dist/components/config-buffer-tools.js.map +0 -1
  271. package/dist/components/config-draw-tools.d.ts +0 -11
  272. package/dist/components/config-draw-tools.js +0 -124
  273. package/dist/components/config-draw-tools.js.map +0 -1
  274. package/dist/components/config-layer-picker.d.ts +0 -11
  275. package/dist/components/config-layer-picker.js +0 -148
  276. package/dist/components/config-layer-picker.js.map +0 -1
  277. package/dist/components/config-pdf-download.d.ts +0 -11
  278. package/dist/components/config-pdf-download.js +0 -157
  279. package/dist/components/config-pdf-download.js.map +0 -1
  280. package/dist/components/date-picker-day.js +0 -113
  281. package/dist/components/date-picker-day.js.map +0 -1
  282. package/dist/components/date-picker-month-header.js +0 -226
  283. package/dist/components/date-picker-month-header.js.map +0 -1
  284. package/dist/components/date-picker-month.js +0 -346
  285. package/dist/components/date-picker-month.js.map +0 -1
  286. package/dist/components/date-picker.js +0 -577
  287. package/dist/components/date-picker.js.map +0 -1
  288. package/dist/components/date.js +0 -182
  289. package/dist/components/date.js.map +0 -1
  290. package/dist/components/debounce.js +0 -489
  291. package/dist/components/debounce.js.map +0 -1
  292. package/dist/components/dom.js +0 -233
  293. package/dist/components/dom.js.map +0 -1
  294. package/dist/components/dropdown.js +0 -507
  295. package/dist/components/dropdown.js.map +0 -1
  296. package/dist/components/filter.js +0 -765
  297. package/dist/components/filter.js.map +0 -1
  298. package/dist/components/floating-ui.js +0 -1787
  299. package/dist/components/floating-ui.js.map +0 -1
  300. package/dist/components/form.js +0 -230
  301. package/dist/components/form.js.map +0 -1
  302. package/dist/components/graph.js +0 -256
  303. package/dist/components/graph.js.map +0 -1
  304. package/dist/components/guid.js +0 -26
  305. package/dist/components/guid.js.map +0 -1
  306. package/dist/components/handle.js +0 -121
  307. package/dist/components/handle.js.map +0 -1
  308. package/dist/components/icon.js +0 -204
  309. package/dist/components/icon.js.map +0 -1
  310. package/dist/components/index.d.ts +0 -48
  311. package/dist/components/index.js +0 -190
  312. package/dist/components/index.js.map +0 -1
  313. package/dist/components/index2.js +0 -201
  314. package/dist/components/index2.js.map +0 -1
  315. package/dist/components/input-message.js +0 -103
  316. package/dist/components/input-message.js.map +0 -1
  317. package/dist/components/input.js +0 -742
  318. package/dist/components/input.js.map +0 -1
  319. package/dist/components/interactive.js +0 -53
  320. package/dist/components/interactive.js.map +0 -1
  321. package/dist/components/interfaces.js +0 -21
  322. package/dist/components/interfaces.js.map +0 -1
  323. package/dist/components/interfaces2.js +0 -23
  324. package/dist/components/interfaces2.js.map +0 -1
  325. package/dist/components/interfaces3.js +0 -72
  326. package/dist/components/interfaces3.js.map +0 -1
  327. package/dist/components/json-editor.d.ts +0 -11
  328. package/dist/components/json-editor.js +0 -13
  329. package/dist/components/json-editor.js.map +0 -1
  330. package/dist/components/json-editor2.js +0 -443
  331. package/dist/components/json-editor2.js.map +0 -1
  332. package/dist/components/key.js +0 -18
  333. package/dist/components/key.js.map +0 -1
  334. package/dist/components/label.js +0 -108
  335. package/dist/components/label.js.map +0 -1
  336. package/dist/components/label2.js +0 -133
  337. package/dist/components/label2.js.map +0 -1
  338. package/dist/components/labelFormats.js +0 -212
  339. package/dist/components/labelFormats.js.map +0 -1
  340. package/dist/components/link.js +0 -125
  341. package/dist/components/link.js.map +0 -1
  342. package/dist/components/list-item.js +0 -151
  343. package/dist/components/list-item.js.map +0 -1
  344. package/dist/components/list.js +0 -85
  345. package/dist/components/list.js.map +0 -1
  346. package/dist/components/loadModules.js +0 -30
  347. package/dist/components/loadModules.js.map +0 -1
  348. package/dist/components/loader.js +0 -118
  349. package/dist/components/loader.js.map +0 -1
  350. package/dist/components/locale.js +0 -414
  351. package/dist/components/locale.js.map +0 -1
  352. package/dist/components/locale2.js +0 -415
  353. package/dist/components/locale2.js.map +0 -1
  354. package/dist/components/map-draw-tools.d.ts +0 -11
  355. package/dist/components/map-draw-tools.js +0 -13
  356. package/dist/components/map-draw-tools.js.map +0 -1
  357. package/dist/components/map-draw-tools2.js +0 -230
  358. package/dist/components/map-draw-tools2.js.map +0 -1
  359. package/dist/components/map-layer-picker.d.ts +0 -11
  360. package/dist/components/map-layer-picker.js +0 -13
  361. package/dist/components/map-layer-picker.js.map +0 -1
  362. package/dist/components/map-layer-picker2.js +0 -190
  363. package/dist/components/map-layer-picker2.js.map +0 -1
  364. package/dist/components/map-search.d.ts +0 -11
  365. package/dist/components/map-search.js +0 -157
  366. package/dist/components/map-search.js.map +0 -1
  367. package/dist/components/map-select-tools.d.ts +0 -11
  368. package/dist/components/map-select-tools.js +0 -13
  369. package/dist/components/map-select-tools.js.map +0 -1
  370. package/dist/components/map-select-tools2.js +0 -555
  371. package/dist/components/map-select-tools2.js.map +0 -1
  372. package/dist/components/mapViewUtils.js +0 -131
  373. package/dist/components/mapViewUtils.js.map +0 -1
  374. package/dist/components/math.js +0 -26
  375. package/dist/components/math.js.map +0 -1
  376. package/dist/components/nonChromiumPlatformUtils.js +0 -505
  377. package/dist/components/nonChromiumPlatformUtils.js.map +0 -1
  378. package/dist/components/notice.js +0 -194
  379. package/dist/components/notice.js.map +0 -1
  380. package/dist/components/observers.js +0 -58
  381. package/dist/components/observers.js.map +0 -1
  382. package/dist/components/openCloseComponent.js +0 -58
  383. package/dist/components/openCloseComponent.js.map +0 -1
  384. package/dist/components/option.js +0 -111
  385. package/dist/components/option.js.map +0 -1
  386. package/dist/components/panel.js +0 -461
  387. package/dist/components/panel.js.map +0 -1
  388. package/dist/components/pdf-download.d.ts +0 -11
  389. package/dist/components/pdf-download.js +0 -13
  390. package/dist/components/pdf-download.js.map +0 -1
  391. package/dist/components/pdf-download2.js +0 -243
  392. package/dist/components/pdf-download2.js.map +0 -1
  393. package/dist/components/pick-list-item.js +0 -257
  394. package/dist/components/pick-list-item.js.map +0 -1
  395. package/dist/components/popover.js +0 -502
  396. package/dist/components/popover.js.map +0 -1
  397. package/dist/components/progress.js +0 -62
  398. package/dist/components/progress.js.map +0 -1
  399. package/dist/components/public-notification.d.ts +0 -11
  400. package/dist/components/public-notification.js +0 -784
  401. package/dist/components/public-notification.js.map +0 -1
  402. package/dist/components/publicNotificationStore.js +0 -40
  403. package/dist/components/publicNotificationStore.js.map +0 -1
  404. package/dist/components/queryUtils.js +0 -163
  405. package/dist/components/queryUtils.js.map +0 -1
  406. package/dist/components/radio-group-item.js +0 -103
  407. package/dist/components/radio-group-item.js.map +0 -1
  408. package/dist/components/radio-group.js +0 -237
  409. package/dist/components/radio-group.js.map +0 -1
  410. package/dist/components/refine-selection-tools.d.ts +0 -11
  411. package/dist/components/refine-selection-tools.js +0 -13
  412. package/dist/components/refine-selection-tools.js.map +0 -1
  413. package/dist/components/refine-selection-tools2.js +0 -500
  414. package/dist/components/refine-selection-tools2.js.map +0 -1
  415. package/dist/components/refine-selection.d.ts +0 -11
  416. package/dist/components/refine-selection.js +0 -13
  417. package/dist/components/refine-selection.js.map +0 -1
  418. package/dist/components/refine-selection2.js +0 -369
  419. package/dist/components/refine-selection2.js.map +0 -1
  420. package/dist/components/resources.js +0 -26
  421. package/dist/components/resources.js.map +0 -1
  422. package/dist/components/resources2.js +0 -23
  423. package/dist/components/resources2.js.map +0 -1
  424. package/dist/components/resources3.js +0 -40
  425. package/dist/components/resources3.js.map +0 -1
  426. package/dist/components/scrim.js +0 -85
  427. package/dist/components/scrim.js.map +0 -1
  428. package/dist/components/select.js +0 -261
  429. package/dist/components/select.js.map +0 -1
  430. package/dist/components/shared-list-render.js +0 -321
  431. package/dist/components/shared-list-render.js.map +0 -1
  432. package/dist/components/shell-panel.js +0 -283
  433. package/dist/components/shell-panel.js.map +0 -1
  434. package/dist/components/shell.js +0 -123
  435. package/dist/components/shell.js.map +0 -1
  436. package/dist/components/slider.js +0 -898
  437. package/dist/components/slider.js.map +0 -1
  438. package/dist/components/solution-configuration.d.ts +0 -11
  439. package/dist/components/solution-configuration.js +0 -1141
  440. package/dist/components/solution-configuration.js.map +0 -1
  441. package/dist/components/solution-contents.d.ts +0 -11
  442. package/dist/components/solution-contents.js +0 -13
  443. package/dist/components/solution-contents.js.map +0 -1
  444. package/dist/components/solution-contents2.js +0 -130
  445. package/dist/components/solution-contents2.js.map +0 -1
  446. package/dist/components/solution-item-details.d.ts +0 -11
  447. package/dist/components/solution-item-details.js +0 -13
  448. package/dist/components/solution-item-details.js.map +0 -1
  449. package/dist/components/solution-item-details2.js +0 -236
  450. package/dist/components/solution-item-details2.js.map +0 -1
  451. package/dist/components/solution-item-icon.d.ts +0 -11
  452. package/dist/components/solution-item-icon.js +0 -13
  453. package/dist/components/solution-item-icon.js.map +0 -1
  454. package/dist/components/solution-item-icon2.js +0 -344
  455. package/dist/components/solution-item-icon2.js.map +0 -1
  456. package/dist/components/solution-item-sharing.d.ts +0 -11
  457. package/dist/components/solution-item-sharing.js +0 -13
  458. package/dist/components/solution-item-sharing.js.map +0 -1
  459. package/dist/components/solution-item-sharing2.js +0 -169
  460. package/dist/components/solution-item-sharing2.js.map +0 -1
  461. package/dist/components/solution-item.d.ts +0 -11
  462. package/dist/components/solution-item.js +0 -13
  463. package/dist/components/solution-item.js.map +0 -1
  464. package/dist/components/solution-item2.js +0 -317
  465. package/dist/components/solution-item2.js.map +0 -1
  466. package/dist/components/solution-organization-variables.d.ts +0 -11
  467. package/dist/components/solution-organization-variables.js +0 -13
  468. package/dist/components/solution-organization-variables.js.map +0 -1
  469. package/dist/components/solution-organization-variables2.js +0 -134
  470. package/dist/components/solution-organization-variables2.js.map +0 -1
  471. package/dist/components/solution-resource-item.d.ts +0 -11
  472. package/dist/components/solution-resource-item.js +0 -13
  473. package/dist/components/solution-resource-item.js.map +0 -1
  474. package/dist/components/solution-resource-item2.js +0 -358
  475. package/dist/components/solution-resource-item2.js.map +0 -1
  476. package/dist/components/solution-spatial-ref.d.ts +0 -11
  477. package/dist/components/solution-spatial-ref.js +0 -13
  478. package/dist/components/solution-spatial-ref.js.map +0 -1
  479. package/dist/components/solution-spatial-ref2.js +0 -21448
  480. package/dist/components/solution-spatial-ref2.js.map +0 -1
  481. package/dist/components/solution-store.js +0 -4094
  482. package/dist/components/solution-store.js.map +0 -1
  483. package/dist/components/solution-template-data.d.ts +0 -11
  484. package/dist/components/solution-template-data.js +0 -13
  485. package/dist/components/solution-template-data.js.map +0 -1
  486. package/dist/components/solution-template-data2.js +0 -235
  487. package/dist/components/solution-template-data2.js.map +0 -1
  488. package/dist/components/solution-variables.d.ts +0 -11
  489. package/dist/components/solution-variables.js +0 -13
  490. package/dist/components/solution-variables.js.map +0 -1
  491. package/dist/components/solution-variables2.js +0 -152
  492. package/dist/components/solution-variables2.js.map +0 -1
  493. package/dist/components/sortable.esm.js +0 -3028
  494. package/dist/components/sortable.esm.js.map +0 -1
  495. package/dist/components/store-manager.d.ts +0 -11
  496. package/dist/components/store-manager.js +0 -85
  497. package/dist/components/store-manager.js.map +0 -1
  498. package/dist/components/switch.js +0 -141
  499. package/dist/components/switch.js.map +0 -1
  500. package/dist/components/tab-nav.js +0 -243
  501. package/dist/components/tab-nav.js.map +0 -1
  502. package/dist/components/tab-title.js +0 -278
  503. package/dist/components/tab-title.js.map +0 -1
  504. package/dist/components/tab.js +0 -156
  505. package/dist/components/tab.js.map +0 -1
  506. package/dist/components/tabs.js +0 -190
  507. package/dist/components/tabs.js.map +0 -1
  508. package/dist/components/tile.js +0 -131
  509. package/dist/components/tile.js.map +0 -1
  510. package/dist/components/time-picker.js +0 -945
  511. package/dist/components/time-picker.js.map +0 -1
  512. package/dist/components/tooltip.js +0 -401
  513. package/dist/components/tooltip.js.map +0 -1
  514. package/dist/components/tree-item.js +0 -296
  515. package/dist/components/tree-item.js.map +0 -1
  516. package/dist/components/tree.js +0 -329
  517. package/dist/components/tree.js.map +0 -1
  518. package/dist/components/utils.js +0 -121
  519. package/dist/components/utils.js.map +0 -1
  520. package/dist/components/utils2.js +0 -53
  521. package/dist/components/utils2.js.map +0 -1
  522. package/dist/components/value-list-item.js +0 -206
  523. package/dist/components/value-list-item.js.map +0 -1
  524. package/dist/components/value-list.js +0 -335
  525. package/dist/components/value-list.js.map +0 -1
  526. package/dist/esm/solution-store-c1f6173a.js.map +0 -1
  527. package/dist/solutions-components/p-065830b8.js.map +0 -1
  528. package/dist/solutions-components/p-0e7a0839.entry.js.map +0 -1
  529. package/dist/solutions-components/p-401541a5.entry.js +0 -895
  530. package/dist/solutions-components/p-401541a5.entry.js.map +0 -1
  531. package/dist/solutions-components/p-ee9be0ef.entry.js.map +0 -1
@@ -1,1141 +0,0 @@
1
- /*!
2
- * Copyright 2022 Esri
3
- * Licensed under the Apache License, Version 2.0
4
- * http://www.apache.org/licenses/LICENSE-2.0
5
- */
6
- import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
7
- import { g as getProp, s as state } from './solution-store.js';
8
- import { g as getLocaleComponentStrings } from './locale.js';
9
- import { d as defineCustomElement$B } from './action.js';
10
- import { d as defineCustomElement$A } from './action-group.js';
11
- import { d as defineCustomElement$z } from './action-menu.js';
12
- import { d as defineCustomElement$y } from './button.js';
13
- import { d as defineCustomElement$x } from './checkbox.js';
14
- import { d as defineCustomElement$w } from './icon.js';
15
- import { d as defineCustomElement$v } from './input.js';
16
- import { d as defineCustomElement$u } from './label.js';
17
- import { d as defineCustomElement$t } from './loader.js';
18
- import { d as defineCustomElement$s } from './panel.js';
19
- import { d as defineCustomElement$r } from './pick-list-item.js';
20
- import { d as defineCustomElement$q } from './popover.js';
21
- import { d as defineCustomElement$p } from './progress.js';
22
- import { d as defineCustomElement$o } from './scrim.js';
23
- import { d as defineCustomElement$n } from './shell.js';
24
- import { d as defineCustomElement$m } from './shell-panel.js';
25
- import { d as defineCustomElement$l } from './switch.js';
26
- import { d as defineCustomElement$k } from './tab.js';
27
- import { d as defineCustomElement$j } from './tab-nav.js';
28
- import { d as defineCustomElement$i } from './tab-title.js';
29
- import { d as defineCustomElement$h } from './tabs.js';
30
- import { d as defineCustomElement$g } from './tree.js';
31
- import { d as defineCustomElement$f } from './tree-item.js';
32
- import { d as defineCustomElement$e } from './value-list.js';
33
- import { d as defineCustomElement$d } from './value-list-item.js';
34
- import { d as defineCustomElement$c } from './json-editor2.js';
35
- import { d as defineCustomElement$b } from './solution-contents2.js';
36
- import { d as defineCustomElement$a } from './solution-item2.js';
37
- import { d as defineCustomElement$9 } from './solution-item-details2.js';
38
- import { d as defineCustomElement$8 } from './solution-item-icon2.js';
39
- import { d as defineCustomElement$7 } from './solution-item-sharing2.js';
40
- import { d as defineCustomElement$6 } from './solution-organization-variables2.js';
41
- import { d as defineCustomElement$5 } from './solution-resource-item2.js';
42
- import { d as defineCustomElement$4 } from './solution-spatial-ref2.js';
43
- import { d as defineCustomElement$3 } from './solution-template-data2.js';
44
- import { d as defineCustomElement$2 } from './solution-variables2.js';
45
-
46
- /** @license
47
- * Copyright 2022 Esri
48
- *
49
- * Licensed under the Apache License, Version 2.0 (the "License");
50
- * you may not use this file except in compliance with the License.
51
- * You may obtain a copy of the License at
52
- *
53
- * http://www.apache.org/licenses/LICENSE-2.0
54
- *
55
- * Unless required by applicable law or agreed to in writing, software
56
- * distributed under the License is distributed on an "AS IS" BASIS,
57
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
58
- * See the License for the specific language governing permissions and
59
- * limitations under the License.
60
- */
61
- //--------------------------------------------------------------------------
62
- //
63
- // Public Functions
64
- //
65
- //--------------------------------------------------------------------------
66
- /**
67
- * Sort the solution items
68
- *
69
- * @param templates a list of item templates from the solution
70
- *
71
- * @returns a sorted list of solution items
72
- */
73
- function getInventoryItems(templates) {
74
- const hierarchy = getItemHierarchy(templates);
75
- const ids = hierarchy.reduce((prev, cur) => {
76
- prev.push(cur.id);
77
- return prev;
78
- }, []);
79
- return templates.reduce((prev, cur) => {
80
- if (ids.indexOf(cur.itemId) > -1) {
81
- const hierarchyItems = hierarchy.filter(hi => hi.id === cur.itemId);
82
- prev.push(_getItemFromTemplate(cur, templates, hierarchyItems[0].dependencies));
83
- }
84
- return prev;
85
- }, []);
86
- }
87
- /**
88
- * Create item hierarchy that will avoid issues from cylical dependencies
89
- *
90
- * @param templates a list of item templates from the solution
91
- *
92
- * @returns a hierarchy for item and item dependency display
93
- */
94
- function getItemHierarchy(templates) {
95
- const hierarchy = [];
96
- // Get the template specified by id out of a list of templates
97
- function getTemplateInSolution(templates, id) {
98
- const iTemplate = templates.findIndex((template) => id === template.itemId);
99
- return iTemplate >= 0 ? templates[iTemplate] : null;
100
- }
101
- // Hierarchically list the dependencies of specified node
102
- function traceItemId(id, accumulatedHierarchy, alreadyVisitedIds = []) {
103
- // Get the dependencies of the node
104
- const template = getTemplateInSolution(templates, id);
105
- /* istanbul ignore else */
106
- if (template) {
107
- const templateEntry = {
108
- id,
109
- dependencies: []
110
- };
111
- // Visit each dependency, but only if this template is not in the alreadyVisitedIds list to avoid infinite loops
112
- /* istanbul ignore else */
113
- if (alreadyVisitedIds.indexOf(id) < 0) {
114
- // Add dependency to alreadyVisitedIds list
115
- alreadyVisitedIds.push(id);
116
- template.dependencies.forEach((dependencyId) => {
117
- // Remove dependency from list of templates to visit in the top-level loop
118
- const iDependencyTemplate = templateItemIds.indexOf(dependencyId);
119
- /* istanbul ignore else */
120
- if (iDependencyTemplate >= 0) {
121
- templateItemIds.splice(iDependencyTemplate, 1);
122
- }
123
- traceItemId(dependencyId, templateEntry.dependencies, alreadyVisitedIds);
124
- });
125
- }
126
- accumulatedHierarchy.push(templateEntry);
127
- }
128
- }
129
- // Start with top-level nodes and add in the rest of the nodes to catch cycles without top-level nodes
130
- let templateItemIds = _getTopLevelItemIds(templates);
131
- const otherItems = templates
132
- .filter((template) => templateItemIds.indexOf(template.itemId) < 0) // only keep non-top-level nodes
133
- .sort((a, b) => b.dependencies.length - a.dependencies.length); // sort so that nodes with more dependencies come first--reduces stubs
134
- templateItemIds = templateItemIds.concat(otherItems.map((template) => template.itemId));
135
- // Step through the list of nodes; we'll also remove nodes as we visit them
136
- let itemId = templateItemIds.shift();
137
- while (typeof itemId !== "undefined") {
138
- traceItemId(itemId, hierarchy);
139
- itemId = templateItemIds.shift();
140
- }
141
- return hierarchy;
142
- }
143
- /**
144
- * Explore the solution item templates for variables we will allow users to insert at runtime
145
- *
146
- * @param templates a list of item templates from the solution
147
- * @param translations nls translation object
148
- *
149
- * @returns a list of variables from the solution item templates
150
- */
151
- function getSolutionVariables(templates, translations) {
152
- const vars = [];
153
- templates.forEach(t => {
154
- const item = {
155
- id: t.itemId,
156
- title: t.item.title || t.item.name,
157
- type: t.type,
158
- value: undefined,
159
- dependencies: [{
160
- id: t.itemId,
161
- title: translations.itemId,
162
- value: `{{${t.itemId}.itemId}}`,
163
- }]
164
- };
165
- if (t.item.url) {
166
- item.dependencies.push({
167
- id: t.itemId,
168
- title: translations.url,
169
- value: `{{${t.itemId}.url}}`,
170
- });
171
- }
172
- if (t.type === "Feature Service") {
173
- // TODO need to set source service name var...
174
- // TODO need to set soure service shape field name "{{d05b3cf1ffcb4a4fa677627dfb18609e.name}}.Shape"
175
- item.dependencies.push({
176
- id: t.itemId,
177
- title: translations.solutionExtent,
178
- value: `{{${t.itemId}.solutionExtent}}`,
179
- });
180
- _addLayersOrTables(t.properties.layers || [], item, t, translations);
181
- _addLayersOrTables(t.properties.tables || [], item, t, translations);
182
- }
183
- vars.push(item);
184
- });
185
- return vars;
186
- }
187
- /**
188
- * Set key organization variables we will allow users to insert at runtime
189
- *
190
- * @param translations nls translation object
191
- *
192
- * @returns a list of variables for the organization
193
- */
194
- function getOrganizationVariables(translations) {
195
- const orgVars = [{
196
- id: "",
197
- title: translations.geocodeUrl,
198
- value: "{{organization.helperServices.geocode:getDefaultLocatorURL}}"
199
- }, {
200
- id: "",
201
- title: translations.geometryUrl,
202
- value: "{{organization.helperServices.geometry.url}}"
203
- }, {
204
- id: "",
205
- title: translations.portalBaseUrl,
206
- value: "{{portalBaseUrl}}"
207
- }, {
208
- id: "",
209
- title: translations.routeUrl,
210
- value: "{{organization.helperServices.route.url}}"
211
- }, {
212
- id: "",
213
- title: translations.solutionItemExtent,
214
- value: "{{solutionItemExtent}}"
215
- }];
216
- return orgVars;
217
- }
218
- //--------------------------------------------------------------------------
219
- //
220
- // Private Functions
221
- //
222
- //--------------------------------------------------------------------------
223
- /**
224
- * Explore a solution item template for variables we will allow users to insert at runtime.
225
- * This function will update the item argument that is passed in with the var details.
226
- *
227
- * @param children a list of layers or tables from a template
228
- * @param item an object that store key details for a given variable
229
- * @param template one of the templates from the current solution
230
- * @param translations nls translations object
231
- *
232
- */
233
- function _addLayersOrTables(children, item, template, translations) {
234
- children.forEach(l => {
235
- const name = l.name && l.name.indexOf("||") > -1 ? l.name.split("||")[1].replace("}}", "").trim() : l.name;
236
- item.dependencies.push({
237
- id: template.itemId,
238
- title: `${name} (${translations.id})`,
239
- value: `{{${template.itemId}.layer${l.id}.id}}`,
240
- });
241
- item.dependencies.push({
242
- id: template.itemId,
243
- title: `${name} (${translations.name})`,
244
- value: `{{${template.itemId}.layer${l.id}.name||${name}}}`,
245
- });
246
- });
247
- }
248
- /**
249
- * Capture key details from the solution item template
250
- *
251
- * @param template one of the templates from the current solution
252
- * @param templates full list of templates
253
- * @param dependencies list of hierarchical dependencies
254
- *
255
- * @returns an IInventoryItem that is used by other components to work with this template
256
- */
257
- function _getItemFromTemplate(template, templates, dependencies) {
258
- return {
259
- id: template.itemId || "",
260
- title: template.item.title || "",
261
- dependencies: _getDependencies(dependencies, templates),
262
- type: template.item.type || "",
263
- typeKeywords: template.item.typeKeywords || [] /*,
264
- solutionItem: {
265
- itemId: template.itemId,
266
- itemDetails: _getItemDetails(template.item, template.type === "Group"),
267
- isResource: _getIsResource(template),
268
- data: template.data,
269
- properties: template.properties,
270
- type: template.type,
271
- groupDetails: _getGroupDetails(template, templates)
272
- }*/
273
- };
274
- }
275
- /**
276
- * Capture key details from the solution item template
277
- *
278
- * @param dependencies list of dependencies from a template
279
- * @param templates full list of templates
280
- *
281
- * @returns a list of IInventoryItem that are used by other components to work with the templates
282
- */
283
- function _getDependencies(dependencies, templates) {
284
- const dependencyItems = [];
285
- const depIds = dependencies.reduce((prev, cur) => {
286
- prev.push(cur.id);
287
- dependencyItems.push(cur);
288
- return prev;
289
- }, []);
290
- return templates.reduce((prev, curr) => {
291
- const i = depIds.indexOf(curr.itemId);
292
- if (i > -1) {
293
- prev.push(_getItemFromTemplate(curr, templates, dependencyItems[i].dependencies));
294
- }
295
- return prev;
296
- }, []);
297
- }
298
- /**
299
- * Capture the key item details for a given template
300
- *
301
- * @param item the templates item
302
- * @param isGroup boolean to indicate if the item is a group
303
- * @param itemId the item id of the template
304
- *
305
- * @returns a IItemDetails object for the current item
306
- */
307
- /*
308
- function _getItemDetails(
309
- item: any,
310
- isGroup: boolean
311
- ): IItemDetails {
312
- return {
313
- title: item.title || "",
314
- snippet: item.snippet || "",
315
- description: item.description || "",
316
- tags: item.tags || [],
317
- accessInformation: !isGroup ? item.accessInformation || "" : "",
318
- licenseInfo: !isGroup ? item.licenseInfo || "" : ""
319
- };
320
- }
321
- */
322
- /**
323
- * Capture the key item details for a given group template
324
- *
325
- * @param template one of the templates from the current solution
326
- * @param templates full list of templates
327
- *
328
- * @returns a list of IItemShare objects
329
- */
330
- /*
331
- function _getGroupDetails(
332
- template: any,
333
- templates: any[]
334
- ): IItemShare[] {
335
- return template.type === "Group" ? templates.reduce((prev, cur) => {
336
- if (cur.itemId !== template.itemId && cur.type !== "Group") {
337
- prev.push({
338
- id: cur.itemId,
339
- title: cur.item.name || cur.item.title,
340
- isShared: (cur.groups || []).indexOf(template.itemId) > -1,
341
- shareItem: (cur.groups || []).indexOf(template.itemId) > -1,
342
- type: cur.type,
343
- typeKeywords: cur.item.typeKeywords
344
- });
345
- }
346
- return prev;
347
- }, []) : [];
348
- }
349
- */
350
- /**
351
- * Used to understand if we are dealing with a binary object that will support upload/download
352
- *
353
- * @param template one of the templates from the current solution
354
- *
355
- * @returns true if this item supports upload/download
356
- */
357
- /*
358
- function _getIsResource(
359
- template: any
360
- ): boolean {
361
- return template.type !== "Group" && template.resources.some(r => r.indexOf("_info_thumbnail") < 0) &&
362
- (template.data === null || JSON.stringify(template.data) === "{}");
363
- }
364
- */
365
- /**
366
- * Sort the template ids based on their dependencies
367
- *
368
- * @param templates full list of templates
369
- *
370
- * @returns a list of Itop level item ids
371
- */
372
- function _getTopLevelItemIds(templates) {
373
- // Find the top-level nodes. Start with all nodes, then remove those that other nodes depend on
374
- const topLevelItemCandidateIds = templates.map((template) => template.itemId);
375
- templates.forEach((template) => {
376
- (template.dependencies || []).forEach((dependencyId) => {
377
- const iNode = topLevelItemCandidateIds.indexOf(dependencyId);
378
- if (iNode >= 0) {
379
- // Node is somebody's dependency, so remove the node from the list of top-level nodes
380
- // If iNode == -1, then it's a shared dependency and it has already been removed
381
- topLevelItemCandidateIds.splice(iNode, 1);
382
- }
383
- });
384
- });
385
- return topLevelItemCandidateIds;
386
- }
387
-
388
- const solutionConfigurationCss = ".configuration-container{position:relative;height:100%;width:100%}.configuration{position:absolute;top:0px;right:0px;bottom:0px;left:0px;display:flex;padding:0.5rem;border:1px #808080 solid}.config-tabs{width:100%}.config-tab{width:100%}.config-solution{position:absolute;top:3.5rem;right:-1px;bottom:-1px;left:-1px;display:flex;padding:0.5rem}.config-inventory{display:inline;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-inventory-hide{display:none;max-width:-moz-min-content;max-width:min-content;flex-grow:0;overflow-y:auto}.config-item{position:relative;display:inline;flex-grow:1;overflow-y:auto;-webkit-margin-start:0.5rem;margin-inline-start:0.5rem}solution-contents{position:relative;height:100%}solution-item{position:relative;height:100%}solution-spatial-ref{position:relative;height:100%;width:100%;overflow-y:auto}";
389
-
390
- const SolutionConfiguration$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
391
- //--------------------------------------------------------------------------
392
- //
393
- // Lifecycle
394
- //
395
- //--------------------------------------------------------------------------
396
- constructor() {
397
- super();
398
- this.__registerHost();
399
- this._solutionStoreHasChanges = false;
400
- this._solutionEditorHasChanges = false;
401
- this._solutionEditorHasErrors = false;
402
- this._canSave = false;
403
- this.authentication = undefined;
404
- this.solutionItemId = "";
405
- this.showLoading = false;
406
- this._currentEditItemId = "";
407
- this._organizationVariables = "";
408
- this._solutionContentsComponent = undefined;
409
- this._solutionIsLoaded = false;
410
- this._solutionVariables = "";
411
- this._templateHierarchy = [];
412
- this._translations = undefined;
413
- this._treeOpen = true;
414
- void this._loadSolution(this.solutionItemId);
415
- window.addEventListener("solutionStoreHasChanges", (evt) => {
416
- this._updateSaveability(this._solutionStoreHasChanges = evt.detail, this._solutionEditorHasChanges, this._solutionEditorHasErrors);
417
- });
418
- window.addEventListener("solutionEditorHasChanges", (evt) => {
419
- this._updateSaveability(this._solutionStoreHasChanges, this._solutionEditorHasChanges = evt.detail, this._solutionEditorHasErrors);
420
- });
421
- window.addEventListener("solutionEditorHasErrors", (evt) => {
422
- this._updateSaveability(this._solutionStoreHasChanges, this._solutionEditorHasChanges, this._solutionEditorHasErrors = evt.detail);
423
- });
424
- }
425
- async valueWatchHandler() {
426
- await this._loadSolution(this.solutionItemId);
427
- }
428
- /**
429
- * StencilJS: Called once just after the component is first connected to the DOM.
430
- *
431
- * @returns Promise when complete
432
- */
433
- async componentWillLoad() {
434
- return this._getTranslations();
435
- }
436
- /**
437
- * Renders the component.
438
- */
439
- render() {
440
- const wkid = getProp(state.getStoreInfo("spatialReferenceInfo"), "spatialReference");
441
- const hasServices = state.getStoreInfo("featureServices").length > 0;
442
- return (h(Host, null, !this._solutionIsLoaded
443
- ? h("calcite-loader", { active: true, label: '' })
444
- : null, h("div", { class: "configuration-container" }, h("div", { class: "configuration" }, h("calcite-tabs", { class: "config-tabs" }, h("calcite-tab-nav", { slot: "tab-nav" }, h("calcite-tab-title", null, this._translations.definitionTab), hasServices ?
445
- h("calcite-tab-title", null, this._translations.spatialReferenceTab) :
446
- null), h("calcite-tab", { active: true, class: "config-tab" }, h("div", { class: "config-solution" }, h("div", { class: this._treeOpen ? "config-inventory" : "config-inventory-hide" }, h("solution-contents", { id: "configInventory", key: `${this.solutionItemId}-contents`, ref: (el) => (this._solutionContentsComponent = el) })), h("calcite-button", { appearance: "transparent", class: "collapse-btn", "icon-start": this._treeOpen ? "chevrons-left" : "chevrons-right", id: "collapse-vars", onClick: () => this._toggleTree(), scale: "s", title: this._treeOpen ? this._translations.collapse : this._translations.expand }), h("div", { class: "config-item" }, h("solution-item", { authentication: this.authentication, "item-id": this._currentEditItemId, key: `${this.solutionItemId}-item`, "organization-variables": this._organizationVariables, "solution-item-id": this.solutionItemId, "solution-variables": this._solutionVariables })))), hasServices
447
- ? h("calcite-tab", { class: "config-tab" }, h("div", { class: "config-solution" }, h("solution-spatial-ref", { defaultWkid: wkid, id: "configure-solution-spatial-ref", key: `${this.solutionItemId}-spatial-ref`, locked: !wkid, services: state.getStoreInfo("featureServices").map(fs => fs.name) })))
448
- : null)))));
449
- }
450
- //--------------------------------------------------------------------------
451
- //
452
- // Event Listeners
453
- //
454
- //--------------------------------------------------------------------------
455
- _solutionItemSelected(event) {
456
- this._currentEditItemId = event.detail;
457
- }
458
- //--------------------------------------------------------------------------
459
- //
460
- // Events
461
- //
462
- //--------------------------------------------------------------------------
463
- //--------------------------------------------------------------------------
464
- //
465
- // Public Methods (async)
466
- //
467
- //--------------------------------------------------------------------------
468
- /*
469
- @Method()
470
- async getEditModels(): Promise<ISolutionItems> {
471
- return Promise.resolve(state.items);
472
- }
473
- */
474
- async getSpatialReferenceInfo() {
475
- return Promise.resolve(state.getStoreInfo("spatialReferenceInfo"));
476
- }
477
- /*
478
- @Method()
479
- async getSourceTemplates(): Promise<any> {
480
- return Promise.resolve(this._templates);
481
- }
482
- */
483
- async saveSolution() {
484
- this._solutionIsLoaded = false;
485
- await state.saveSolution();
486
- this._solutionIsLoaded = true;
487
- this.solutionItemId = null;
488
- }
489
- async unloadSolution() {
490
- this.solutionItemId = null;
491
- }
492
- //--------------------------------------------------------------------------
493
- //
494
- // Private Methods
495
- //
496
- //--------------------------------------------------------------------------
497
- /**
498
- * Update the store with the initial values
499
- *
500
- * @param templates the solution items templates
501
- * @param isReset (defaults to false) indicates if we are resetting the controls after save
502
- */
503
- /*
504
- protected _initState(
505
- templates: any[],
506
- isReset = false
507
- ): Promise<any> {
508
- return new Promise((resolve, reject) => {
509
- if (isReset) {
510
- // clear models and state so we can refresh after save
511
- this.modelsSet = false;
512
- state.reset();
513
- }
514
- getModels(templates, this.authentication, this.solutionItemId).then(models => {
515
- state.models = models;
516
-
517
- state.featureServices = getFeatureServices(templates);
518
- state.getStoreInfo("spatialReferenceInfo") = getSpatialReferenceInfo(state.featureServices, this._sourceItemData);
519
-
520
- if (isReset) {
521
- // reset for undo/redo stack and diff editor tracking
522
- const jsonEditors = Array.from(this.el.getElementsByTagName("json-editor"));
523
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
524
- jsonEditors.forEach(e => void e.reset());
525
- }
526
-
527
- this.modelsSet = true;
528
- resolve(true);
529
- }, () => reject);
530
- });
531
- }
532
- */
533
- /**
534
- * Set Props with the initial values
535
- *
536
- * @protected
537
- */
538
- _initProps() {
539
- const solutionData = state.getStoreInfo("solutionData");
540
- this._solutionVariables = JSON.stringify(getSolutionVariables(solutionData.templates, this._translations));
541
- this._organizationVariables = JSON.stringify(getOrganizationVariables(this._translations));
542
- this._templateHierarchy = [...getInventoryItems(solutionData.templates)];
543
- if (this._solutionContentsComponent) {
544
- this._solutionContentsComponent.templateHierarchy = this._templateHierarchy;
545
- }
546
- let firstItem;
547
- if (this._templateHierarchy.length > 0) {
548
- // Start with the first item in the contents
549
- firstItem = state.getItemInfo(this._templateHierarchy[0].id);
550
- }
551
- this._currentEditItemId = firstItem ? firstItem.itemId : "";
552
- }
553
- /**
554
- * Loads a solution.
555
- *
556
- * @param solutionItemId AGO id of solution to load
557
- *
558
- * @returns Resolved promise when task is done
559
- *
560
- * @protected
561
- */
562
- async _loadSolution(solutionItemId) {
563
- if (solutionItemId) {
564
- this._solutionIsLoaded = false;
565
- await state.loadSolution(solutionItemId, this.authentication);
566
- this._initProps();
567
- this._solutionIsLoaded = true;
568
- }
569
- else {
570
- this._reset();
571
- }
572
- return Promise.resolve();
573
- }
574
- /**
575
- * Resets internal variables.
576
- *
577
- * @protected
578
- */
579
- _reset() {
580
- this._currentEditItemId = "";
581
- this._organizationVariables = "";
582
- this._solutionVariables = "";
583
- this._templateHierarchy = [];
584
- }
585
- /**
586
- * Toggle _treeOpen prop to show/hide content tree.
587
- *
588
- * @protected
589
- */
590
- _toggleTree() {
591
- this._treeOpen = !this._treeOpen;
592
- }
593
- /**
594
- * Dispatches an event indicating if the configuration is saveable or not. It's not saveable if there are no
595
- * changes or if there's an error in the JSON editor.
596
- *
597
- * @param solutionStoreHasChanges Are there changes in the configuration editor's internal store?
598
- * @param solutionEditorHasChanges Are there changes in the configuration editor's JSON editor?
599
- * @param solutionEditorHasErrors Are there errors in the configuration editor's JSON editor?
600
- *
601
- * @protected
602
- */
603
- _updateSaveability(solutionStoreHasChanges, solutionEditorHasChanges, solutionEditorHasErrors) {
604
- const updateSaveability = (solutionStoreHasChanges || solutionEditorHasChanges) && !solutionEditorHasErrors;
605
- if (this._canSave !== updateSaveability) {
606
- window.dispatchEvent(new CustomEvent("solutionCanSave", {
607
- detail: updateSaveability,
608
- bubbles: true,
609
- cancelable: false,
610
- composed: true
611
- }));
612
- }
613
- this._canSave = updateSaveability;
614
- }
615
- /**
616
- * Save all edits from the current configuration
617
- *
618
- * @returns a response that will indicate success or failure and any associated messages
619
- */
620
- /*
621
- protected async _save() {
622
- const templateUpdates = await this._updateTemplates();
623
- const data = this._setSrInfo(templateUpdates.templates);
624
- return templateUpdates.errors.length === 0 ? save(
625
- this.solutionItemId,
626
- data,
627
- state.models,
628
- this.authentication,
629
- this._translations
630
- ).then(saveResult => {
631
- // need to trigger re-render...and re-fetch
632
- this._fetchData = true;
633
- this.modelsSet = false;
634
- return Promise.resolve(saveResult)
635
- }).catch(e => Promise.reject(e)) : Promise.reject({
636
- success: false,
637
- message: `The following templates have errors: ${templateUpdates.errors.join(", ")}`
638
- } as IResponse);
639
- }
640
- */
641
- /**
642
- * Update the solutions templates based on the stored changes
643
- *
644
- * @returns an object that contains the updated templates as well as any errors that were found
645
- */
646
- /*
647
- protected async _updateTemplates(): Promise<IUpdateTemplateResponse> {
648
- const errors = [];
649
- const models = await this.getEditModels();
650
- let templates = this._updateGroupDependencies(models, this._templates);
651
- Object.keys(models).forEach(k => {
652
- const m = models[k];
653
- templates = templates.map(t => {
654
- if (t.itemId === m.itemId) {
655
- this._setItem(t, m);
656
- const hasDataError = this._setData(t, m);
657
- const hasPropError = this._setProps(t, m);
658
- if (hasDataError || hasPropError) {
659
- errors.push(m.itemId);
660
- }
661
- }
662
- return t;
663
- });
664
- });
665
- errors.concat(window.monaco.editor.getModelMarkers({}));
666
- return Promise.resolve({
667
- templates,
668
- errors
669
- });
670
- }
671
- */
672
- /**
673
- * Review all models and store itemIds that should be added or removed from group dependencies
674
- *
675
- * @param models the corresponding models for the current templates
676
- *
677
- * @returns group info (an object with keys of groupIds and
678
- * arrays of itemIds that should be added or removed from group dependencies)
679
- */
680
- /*
681
- protected _getGroupInfo(
682
- models: any
683
- ): any {
684
- const groupInfo = {}
685
- Object.keys(models).forEach(k => {
686
- const m = models[k];
687
- if (m.shareInfo) {
688
- const groupId = m.shareInfo.groupId;
689
- const type = m.shareInfo.shared ? "share" : "unshare";
690
- if (groupInfo[groupId]) {
691
- groupInfo[groupId][type].push(m.itemId);
692
- } else {
693
- groupInfo[groupId] = {};
694
- groupInfo[groupId][type] = [m.itemId];
695
- if (m.shareInfo.shared) {
696
- groupInfo[groupId]["unshare"] = [];
697
- } else {
698
- groupInfo[groupId]["share"] = [];
699
- }
700
- }
701
- }
702
- });
703
- return groupInfo;
704
- }
705
- */
706
- /**
707
- * Updates group dependency arrays by adding or removing itemIds
708
- *
709
- * @param templates the current templates to update
710
- * @param models the corresponding models for the current templates
711
- *
712
- * @returns updated templates array
713
- */
714
- /*
715
- protected _updateGroupDependencies(
716
- models: any,
717
- templates: any[]
718
- ): any[] {
719
- const groupInfo = this._getGroupInfo(models);
720
- Object.keys(groupInfo).forEach(k => {
721
- templates.some(t => {
722
- if (t.itemId === k) {
723
- // add share items as deps
724
- groupInfo[k].share.forEach(s => {
725
- if (t.dependencies.indexOf(s) < 0) {
726
- t.dependencies.push(s);
727
- }
728
- });
729
-
730
- // remove unshare items from deps
731
- groupInfo[k].unshare.forEach(s => {
732
- const index = t.dependencies.indexOf(s);
733
- if (index > -1) {
734
- t.dependencies.splice(index, 1);
735
- }
736
- });
737
- return true;
738
- } else {
739
- return false;
740
- }
741
- })
742
- })
743
- return templates;
744
- }
745
- */
746
- /**
747
- * Add group IDs to items that should be shared
748
- * This function will update the provided template when shareInfo is available
749
- *
750
- * @param template the current template to update
751
- * @param shareInfo the corresponding shareInfo from the model for the current template
752
- *
753
- */
754
- /*
755
- protected _updateItemGroups(
756
- template: any,
757
- shareInfo: any
758
- ): void {
759
- if (shareInfo) {
760
- const groupIndex = template.groups.indexOf(shareInfo.groupId);
761
- if (groupIndex < 0 && shareInfo.shared) {
762
- template.groups.push(shareInfo.groupId);
763
- }
764
- if (groupIndex > -1 && !shareInfo.shared) {
765
- template.groups.splice(groupIndex, 1);
766
- }
767
- }
768
- }
769
- */
770
- /**
771
- * Set a templates data property with changes from the models
772
- *
773
- * @param template the current template to update
774
- * @param model the corresponding model for the current template (stores any user changes)
775
- *
776
- * @returns a boolean that indicates if any errors were detected
777
- */
778
- /*
779
- protected _setData(
780
- template: any,
781
- model: any
782
- ): boolean {
783
- return this._setTemplateProp(
784
- template,
785
- model.dataOriginalValue,
786
- model.dataCurrentValue,
787
- "data"
788
- );
789
- }
790
- */
791
- /**
792
- * Set a templates properties property with changes from the models
793
- *
794
- * @param template the current template to update
795
- * @param model the corresponding model for the current template (stores any user changes)
796
- *
797
- * @returns a boolean that indicates if any errors were detected
798
- */
799
- /*
800
- protected _setProps(
801
- template: any,
802
- model: any
803
- ): boolean {
804
- return this._setTemplateProp(
805
- template,
806
- model.propsOriginalValue,
807
- model.propsCurrentValue,
808
- "properties"
809
- );
810
- }
811
- */
812
- /**
813
- * Generic function used to set properties or data property on a given template
814
- *
815
- * @param template the current template to update
816
- * @param originValue the original value from the solution template
817
- * @param modelValue the current value from the model (will contain any edits that have been made)
818
- * @param path the path to the property we should update if any changes are found
819
- *
820
- * @returns a boolean that indicates if any errors were detected
821
- */
822
- /*
823
- protected _setTemplateProp(
824
- template: any,
825
- originValue: any,
826
- modelValue: any,
827
- path: string
828
- ): boolean {
829
- let hasError = false;
830
- try {
831
- const _originValue = JSON.parse(originValue);
832
- const _modelValue = JSON.parse(modelValue);
833
-
834
- if (_originValue && _modelValue && (JSON.stringify(_originValue) !== JSON.stringify(_modelValue))) {
835
- setProp(template, path, _modelValue);
836
- }
837
- } catch (e) {
838
- console.error(e);
839
- hasError = true;
840
- }
841
- return hasError;
842
- }
843
- */
844
- /**
845
- * Set a templates item property with changes from the models
846
- *
847
- * @param template the current template to update
848
- * @param model the corresponding model for the current template (stores any user changes)
849
- *
850
- * This function will update the template argument when edits are found
851
- */
852
- /*
853
- protected _setItem(
854
- template: any,
855
- model: any
856
- ): void {
857
- this._updateItemGroups(template, model.shareInfo);
858
- if (model.updateItemValues && Object.keys(model.updateItemValues).length > 0) {
859
- Object.keys(model.updateItemValues).forEach(k => {
860
- template.item[k] = model.updateItemValues[k];
861
- });
862
- }
863
- }
864
- */
865
- /**
866
- * Set spatial reference info in the solutions data
867
- *
868
- * @param templates a list of item templates from the solution
869
- *
870
- * @returns a cloned copy of the solutions data that has been updated with spatial reference info
871
- *
872
- */
873
- /*
874
- protected _setSrInfo(
875
- templates: any[]
876
- ): any {
877
- const srInfo: any = state.getStoreInfo("spatialReferenceInfo");
878
-
879
- const serviceEnabled = typeof srInfo?.services === "undefined" ?
880
- false : Object.keys(srInfo.services).some(k => srInfo.services[k]);
881
-
882
- const data = cloneObject(this._sourceItemData);
883
- data.templates = templates;
884
- if (srInfo && srInfo.enabled && serviceEnabled) {
885
- const wkid = srInfo.spatialReference.wkid.toString();
886
-
887
- const wkidParam = {
888
- "label": "Spatial Reference",
889
- "default": wkid,
890
- "valueType": "spatialReference",
891
- "attributes": {
892
- "required": "true"
893
- }
894
- };
895
-
896
- const params = getProp(data, "params");
897
- const hasWkid = params && params.wkid;
898
- setCreateProp(
899
- data,
900
- hasWkid ? "params.wkid.default" : "params.wkid",
901
- hasWkid ? wkid : params ? wkidParam : wkid
902
- );
903
- } else if (!srInfo.enabled) {
904
- if (getProp(data, "params.wkid")) {
905
- delete (data.params.wkid);
906
- }
907
- }
908
- return data;
909
- }
910
- */
911
- /**
912
- * Fetches the component's translations
913
- *
914
- * @protected
915
- */
916
- async _getTranslations() {
917
- const translations = await getLocaleComponentStrings(this.el);
918
- this._translations = translations[0];
919
- }
920
- get el() { return this; }
921
- static get watchers() { return {
922
- "solutionItemId": ["valueWatchHandler"]
923
- }; }
924
- static get style() { return solutionConfigurationCss; }
925
- }, [0, "solution-configuration", {
926
- "authentication": [1040],
927
- "solutionItemId": [1537, "solution-item-id"],
928
- "showLoading": [1540, "show-loading"],
929
- "_currentEditItemId": [32],
930
- "_organizationVariables": [32],
931
- "_solutionContentsComponent": [32],
932
- "_solutionIsLoaded": [32],
933
- "_solutionVariables": [32],
934
- "_templateHierarchy": [32],
935
- "_translations": [32],
936
- "_treeOpen": [32],
937
- "getSpatialReferenceInfo": [64],
938
- "saveSolution": [64],
939
- "unloadSolution": [64]
940
- }, [[8, "solutionItemSelected", "_solutionItemSelected"]]]);
941
- function defineCustomElement$1() {
942
- if (typeof customElements === "undefined") {
943
- return;
944
- }
945
- const components = ["solution-configuration", "calcite-action", "calcite-action-group", "calcite-action-menu", "calcite-button", "calcite-checkbox", "calcite-icon", "calcite-input", "calcite-label", "calcite-loader", "calcite-panel", "calcite-pick-list-item", "calcite-popover", "calcite-progress", "calcite-scrim", "calcite-shell", "calcite-shell-panel", "calcite-switch", "calcite-tab", "calcite-tab-nav", "calcite-tab-title", "calcite-tabs", "calcite-tree", "calcite-tree-item", "calcite-value-list", "calcite-value-list-item", "json-editor", "solution-contents", "solution-item", "solution-item-details", "solution-item-icon", "solution-item-sharing", "solution-organization-variables", "solution-resource-item", "solution-spatial-ref", "solution-template-data", "solution-variables"];
946
- components.forEach(tagName => { switch (tagName) {
947
- case "solution-configuration":
948
- if (!customElements.get(tagName)) {
949
- customElements.define(tagName, SolutionConfiguration$1);
950
- }
951
- break;
952
- case "calcite-action":
953
- if (!customElements.get(tagName)) {
954
- defineCustomElement$B();
955
- }
956
- break;
957
- case "calcite-action-group":
958
- if (!customElements.get(tagName)) {
959
- defineCustomElement$A();
960
- }
961
- break;
962
- case "calcite-action-menu":
963
- if (!customElements.get(tagName)) {
964
- defineCustomElement$z();
965
- }
966
- break;
967
- case "calcite-button":
968
- if (!customElements.get(tagName)) {
969
- defineCustomElement$y();
970
- }
971
- break;
972
- case "calcite-checkbox":
973
- if (!customElements.get(tagName)) {
974
- defineCustomElement$x();
975
- }
976
- break;
977
- case "calcite-icon":
978
- if (!customElements.get(tagName)) {
979
- defineCustomElement$w();
980
- }
981
- break;
982
- case "calcite-input":
983
- if (!customElements.get(tagName)) {
984
- defineCustomElement$v();
985
- }
986
- break;
987
- case "calcite-label":
988
- if (!customElements.get(tagName)) {
989
- defineCustomElement$u();
990
- }
991
- break;
992
- case "calcite-loader":
993
- if (!customElements.get(tagName)) {
994
- defineCustomElement$t();
995
- }
996
- break;
997
- case "calcite-panel":
998
- if (!customElements.get(tagName)) {
999
- defineCustomElement$s();
1000
- }
1001
- break;
1002
- case "calcite-pick-list-item":
1003
- if (!customElements.get(tagName)) {
1004
- defineCustomElement$r();
1005
- }
1006
- break;
1007
- case "calcite-popover":
1008
- if (!customElements.get(tagName)) {
1009
- defineCustomElement$q();
1010
- }
1011
- break;
1012
- case "calcite-progress":
1013
- if (!customElements.get(tagName)) {
1014
- defineCustomElement$p();
1015
- }
1016
- break;
1017
- case "calcite-scrim":
1018
- if (!customElements.get(tagName)) {
1019
- defineCustomElement$o();
1020
- }
1021
- break;
1022
- case "calcite-shell":
1023
- if (!customElements.get(tagName)) {
1024
- defineCustomElement$n();
1025
- }
1026
- break;
1027
- case "calcite-shell-panel":
1028
- if (!customElements.get(tagName)) {
1029
- defineCustomElement$m();
1030
- }
1031
- break;
1032
- case "calcite-switch":
1033
- if (!customElements.get(tagName)) {
1034
- defineCustomElement$l();
1035
- }
1036
- break;
1037
- case "calcite-tab":
1038
- if (!customElements.get(tagName)) {
1039
- defineCustomElement$k();
1040
- }
1041
- break;
1042
- case "calcite-tab-nav":
1043
- if (!customElements.get(tagName)) {
1044
- defineCustomElement$j();
1045
- }
1046
- break;
1047
- case "calcite-tab-title":
1048
- if (!customElements.get(tagName)) {
1049
- defineCustomElement$i();
1050
- }
1051
- break;
1052
- case "calcite-tabs":
1053
- if (!customElements.get(tagName)) {
1054
- defineCustomElement$h();
1055
- }
1056
- break;
1057
- case "calcite-tree":
1058
- if (!customElements.get(tagName)) {
1059
- defineCustomElement$g();
1060
- }
1061
- break;
1062
- case "calcite-tree-item":
1063
- if (!customElements.get(tagName)) {
1064
- defineCustomElement$f();
1065
- }
1066
- break;
1067
- case "calcite-value-list":
1068
- if (!customElements.get(tagName)) {
1069
- defineCustomElement$e();
1070
- }
1071
- break;
1072
- case "calcite-value-list-item":
1073
- if (!customElements.get(tagName)) {
1074
- defineCustomElement$d();
1075
- }
1076
- break;
1077
- case "json-editor":
1078
- if (!customElements.get(tagName)) {
1079
- defineCustomElement$c();
1080
- }
1081
- break;
1082
- case "solution-contents":
1083
- if (!customElements.get(tagName)) {
1084
- defineCustomElement$b();
1085
- }
1086
- break;
1087
- case "solution-item":
1088
- if (!customElements.get(tagName)) {
1089
- defineCustomElement$a();
1090
- }
1091
- break;
1092
- case "solution-item-details":
1093
- if (!customElements.get(tagName)) {
1094
- defineCustomElement$9();
1095
- }
1096
- break;
1097
- case "solution-item-icon":
1098
- if (!customElements.get(tagName)) {
1099
- defineCustomElement$8();
1100
- }
1101
- break;
1102
- case "solution-item-sharing":
1103
- if (!customElements.get(tagName)) {
1104
- defineCustomElement$7();
1105
- }
1106
- break;
1107
- case "solution-organization-variables":
1108
- if (!customElements.get(tagName)) {
1109
- defineCustomElement$6();
1110
- }
1111
- break;
1112
- case "solution-resource-item":
1113
- if (!customElements.get(tagName)) {
1114
- defineCustomElement$5();
1115
- }
1116
- break;
1117
- case "solution-spatial-ref":
1118
- if (!customElements.get(tagName)) {
1119
- defineCustomElement$4();
1120
- }
1121
- break;
1122
- case "solution-template-data":
1123
- if (!customElements.get(tagName)) {
1124
- defineCustomElement$3();
1125
- }
1126
- break;
1127
- case "solution-variables":
1128
- if (!customElements.get(tagName)) {
1129
- defineCustomElement$2();
1130
- }
1131
- break;
1132
- } });
1133
- }
1134
- defineCustomElement$1();
1135
-
1136
- const SolutionConfiguration = SolutionConfiguration$1;
1137
- const defineCustomElement = defineCustomElement$1;
1138
-
1139
- export { SolutionConfiguration, defineCustomElement };
1140
-
1141
- //# sourceMappingURL=solution-configuration.js.map