@esri/solutions-components 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1172) hide show
  1. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  2. package/dist/cjs/calcite-accordion-item.cjs.entry.js +5 -5
  3. package/dist/cjs/calcite-accordion.cjs.entry.js +2 -2
  4. package/dist/cjs/calcite-action-bar.cjs.entry.js +12 -12
  5. package/dist/cjs/calcite-action-group.cjs.entry.js +9 -9
  6. package/dist/cjs/calcite-avatar.cjs.entry.js +4 -4
  7. package/dist/cjs/calcite-block-section.cjs.entry.js +8 -8
  8. package/dist/cjs/calcite-button.cjs.entry.js +13 -13
  9. package/dist/cjs/calcite-card.cjs.entry.js +8 -8
  10. package/dist/cjs/calcite-checkbox.cjs.entry.js +9 -9
  11. package/dist/cjs/calcite-chip-group.cjs.entry.js +7 -7
  12. package/dist/cjs/calcite-color-picker.cjs.entry.js +22 -22
  13. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +4 -4
  14. package/dist/cjs/calcite-fab.cjs.entry.js +6 -6
  15. package/dist/cjs/calcite-icon.cjs.entry.js +5 -5
  16. package/dist/cjs/calcite-inline-editable.cjs.entry.js +11 -11
  17. package/dist/cjs/calcite-input-number.cjs.entry.js +13 -13
  18. package/dist/cjs/calcite-input-text.cjs.entry.js +13 -13
  19. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +17 -17
  20. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +12 -12
  21. package/dist/cjs/calcite-label.cjs.entry.js +4 -4
  22. package/dist/cjs/calcite-link.cjs.entry.js +6 -6
  23. package/dist/cjs/calcite-list-item-group.cjs.entry.js +4 -4
  24. package/dist/cjs/calcite-menu-item.cjs.entry.js +8 -8
  25. package/dist/cjs/calcite-menu.cjs.entry.js +8 -8
  26. package/dist/cjs/calcite-meter.cjs.entry.js +8 -8
  27. package/dist/cjs/calcite-modal.cjs.entry.js +11 -17
  28. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +2 -2
  29. package/dist/cjs/calcite-navigation-user.cjs.entry.js +2 -2
  30. package/dist/cjs/calcite-navigation.cjs.entry.js +4 -4
  31. package/dist/cjs/calcite-notice.cjs.entry.js +10 -10
  32. package/dist/cjs/calcite-option-group.cjs.entry.js +1 -1
  33. package/dist/cjs/calcite-pagination.cjs.entry.js +8 -201
  34. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +6 -6
  35. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +23 -23
  36. package/dist/cjs/calcite-pick-list.cjs.entry.js +10 -10
  37. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +4 -4
  38. package/dist/cjs/calcite-radio-button.cjs.entry.js +8 -8
  39. package/dist/cjs/calcite-rating.cjs.entry.js +12 -14
  40. package/dist/cjs/calcite-scrim.cjs.entry.js +7 -7
  41. package/dist/cjs/calcite-sheet.cjs.entry.js +7 -7
  42. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +5 -5
  43. package/dist/cjs/calcite-sortable-list.cjs.entry.js +7 -7
  44. package/dist/cjs/calcite-split-button.cjs.entry.js +4 -4
  45. package/dist/cjs/calcite-stepper-item.cjs.entry.js +10 -10
  46. package/dist/cjs/calcite-stepper.cjs.entry.js +7 -7
  47. package/dist/cjs/calcite-switch.cjs.entry.js +9 -9
  48. package/dist/cjs/calcite-table-row.cjs.entry.js +6 -6
  49. package/dist/cjs/calcite-table.cjs.entry.js +9 -9
  50. package/dist/cjs/calcite-text-area.cjs.entry.js +16 -15
  51. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +3 -3
  52. package/dist/cjs/calcite-tile-select.cjs.entry.js +4 -4
  53. package/dist/cjs/calcite-tile.cjs.entry.js +7 -7
  54. package/dist/cjs/calcite-time-picker.cjs.entry.js +9 -9
  55. package/dist/cjs/calcite-tip-group.cjs.entry.js +1 -1
  56. package/dist/cjs/calcite-tip-manager.cjs.entry.js +8 -15
  57. package/dist/cjs/calcite-tip.cjs.entry.js +9 -9
  58. package/dist/cjs/calcite-tooltip.cjs.entry.js +7 -7
  59. package/dist/cjs/card-manager_3.cjs.entry.js +1 -1
  60. package/dist/cjs/consent-manager.cjs.entry.js +15 -379
  61. package/dist/cjs/crowdsource-manager.cjs.entry.js +5 -7
  62. package/dist/cjs/crowdsource-reporter.cjs.entry.js +7 -9
  63. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  64. package/dist/cjs/{downloadUtils-1f283d95.js → downloadUtils-8b05d7cc.js} +3 -3
  65. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  66. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  67. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  68. package/dist/cjs/index.cjs.js +0 -15
  69. package/dist/cjs/{index.es-4af23ecc.js → index.es-e7587227.js} +1 -1
  70. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +4 -4
  71. package/dist/cjs/instant-apps-export.cjs.entry.js +7 -7
  72. package/dist/cjs/instant-apps-header.cjs.entry.js +4 -5
  73. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +21 -25
  74. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +6 -7
  75. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +8 -9
  76. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +6 -6
  77. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  78. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +9 -9
  79. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +9 -9
  80. package/dist/cjs/instant-apps-measurement.cjs.entry.js +6 -6
  81. package/dist/cjs/instant-apps-popover.cjs.entry.js +6 -6
  82. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  83. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +6 -6
  84. package/dist/cjs/instant-apps-splash.cjs.entry.js +6 -6
  85. package/dist/cjs/layout-manager.cjs.entry.js +4 -5
  86. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  87. package/dist/cjs/loader.cjs.js +4 -4
  88. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  89. package/dist/cjs/map-select-tools_3.cjs.entry.js +1 -1
  90. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  91. package/dist/cjs/public-notification.cjs.entry.js +11 -12
  92. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  93. package/dist/cjs/share-item.cjs.entry.js +1 -1
  94. package/dist/cjs/solution-configuration.cjs.entry.js +1105 -21
  95. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  96. package/dist/cjs/solutions-components.cjs.js +5 -36
  97. package/dist/cjs/spatial-ref.cjs.entry.js +6 -7
  98. package/dist/cjs/store-manager.cjs.entry.js +1 -1
  99. package/dist/collection/utils/downloadUtils.js +2 -2
  100. package/dist/collection/utils/downloadUtils.ts +2 -2
  101. package/dist/components/ExpandToggle.js +8 -8
  102. package/dist/components/_commonjsHelpers.js +2 -10
  103. package/dist/components/action-bar.js +3 -3
  104. package/dist/components/action-group.js +1 -1
  105. package/dist/components/action-menu.js +1 -1
  106. package/dist/components/action-pad.js +1 -1
  107. package/dist/components/action.js +1 -1
  108. package/dist/components/alert.js +2 -2
  109. package/dist/components/arcgis-login.js +1 -1
  110. package/dist/components/avatar.js +1 -1
  111. package/dist/components/basemap-gallery2.js +1 -1
  112. package/dist/components/block.js +1 -1
  113. package/dist/components/buffer-tools2.js +1 -1
  114. package/dist/components/button.js +1 -1
  115. package/dist/components/calcite-accordion-item.js +1 -1
  116. package/dist/components/calcite-accordion.js +1 -1
  117. package/dist/components/calcite-block-section.js +1 -1
  118. package/dist/components/calcite-card.js +1 -1
  119. package/dist/components/calcite-chip-group.js +1 -1
  120. package/dist/components/calcite-color-picker.js +5 -5
  121. package/dist/components/calcite-combobox-item-group.js +1 -1
  122. package/dist/components/calcite-fab.js +1 -1
  123. package/dist/components/calcite-inline-editable.js +1 -1
  124. package/dist/components/calcite-input-time-picker.js +1 -5
  125. package/dist/components/calcite-input-time-zone.js +2 -2
  126. package/dist/components/calcite-list-item-group.js +1 -1
  127. package/dist/components/calcite-menu-item.js +1 -1
  128. package/dist/components/calcite-meter.js +1 -1
  129. package/dist/components/calcite-navigation-logo.js +1 -1
  130. package/dist/components/calcite-navigation-user.js +1 -1
  131. package/dist/components/calcite-navigation.js +1 -1
  132. package/dist/components/calcite-option-group.js +1 -1
  133. package/dist/components/calcite-pick-list-group.js +3 -3
  134. package/dist/components/calcite-pick-list.js +1 -1
  135. package/dist/components/calcite-radio-button-group.js +1 -1
  136. package/dist/components/calcite-rating.js +1 -3
  137. package/dist/components/calcite-sheet.js +1 -1
  138. package/dist/components/calcite-shell-center-row.js +1 -1
  139. package/dist/components/calcite-sortable-list.js +1 -1
  140. package/dist/components/calcite-split-button.js +1 -1
  141. package/dist/components/calcite-stepper-item.js +1 -1
  142. package/dist/components/calcite-stepper.js +1 -1
  143. package/dist/components/calcite-table-row.js +1 -1
  144. package/dist/components/calcite-table.js +1 -1
  145. package/dist/components/calcite-text-area.js +2 -2
  146. package/dist/components/calcite-tile-select-group.js +1 -1
  147. package/dist/components/calcite-tile-select.js +1 -1
  148. package/dist/components/calcite-tile.js +1 -1
  149. package/dist/components/calcite-tip-group.js +1 -1
  150. package/dist/components/calcite-tip-manager.js +1 -8
  151. package/dist/components/calcite-tip.js +2 -2
  152. package/dist/components/card-manager2.js +1 -1
  153. package/dist/components/checkbox.js +1 -1
  154. package/dist/components/chip.js +1 -1
  155. package/dist/components/color-picker-hex-input.js +2 -2
  156. package/dist/components/color-picker-swatch.js +1 -1
  157. package/dist/components/combobox-item.js +1 -1
  158. package/dist/components/combobox.js +3 -314
  159. package/dist/components/consent-manager.js +13 -376
  160. package/dist/components/create-feature2.js +1 -1
  161. package/dist/components/crowdsource-manager.js +1 -1
  162. package/dist/components/crowdsource-reporter.js +1 -1
  163. package/dist/components/date-picker-day.js +1 -1
  164. package/dist/components/date-picker-month-header.js +1 -1
  165. package/dist/components/date-picker-month.js +1 -1
  166. package/dist/components/date-picker.js +1 -1
  167. package/dist/components/deduct-calculator2.js +1 -1
  168. package/dist/components/delete-button2.js +1 -1
  169. package/dist/components/dom.js +1 -28
  170. package/dist/components/downloadUtils.js +99 -1179
  171. package/dist/components/dropdown-group.js +1 -1
  172. package/dist/components/dropdown-item.js +1 -1
  173. package/dist/components/dropdown.js +1 -1
  174. package/dist/components/edit-card2.js +1 -1
  175. package/dist/components/esri-loader.js +3 -8
  176. package/dist/components/feature-comments.js +1 -1
  177. package/dist/components/feature-form-flow-item.js +1 -1
  178. package/dist/components/feature-list2.js +1 -1
  179. package/dist/components/features-flow-item.js +1 -1
  180. package/dist/components/filter.js +718 -1
  181. package/dist/components/filter2.js +2 -2
  182. package/dist/components/floating-ui.js +7 -384
  183. package/dist/components/floor-filter2.js +1 -1
  184. package/dist/components/flow-item.js +1 -1
  185. package/dist/components/flow.js +1 -1
  186. package/dist/components/focusTrapComponent.js +1 -1
  187. package/dist/components/form.js +1 -1
  188. package/dist/components/graph.js +1 -1
  189. package/dist/components/handle.js +1 -1
  190. package/dist/components/helpers.js +2 -6
  191. package/dist/components/html2canvas.js +3 -8
  192. package/dist/components/icon.js +1 -1
  193. package/dist/components/index.es.js +22 -555
  194. package/dist/components/index.js +0 -16
  195. package/dist/components/index2.js +0 -3
  196. package/dist/components/index3.js +1865 -41262
  197. package/dist/components/index5.js +185 -2086
  198. package/dist/components/index6.js +55 -188
  199. package/dist/components/info-card2.js +1 -1
  200. package/dist/components/input-date-picker.js +1 -1
  201. package/dist/components/input-message.js +1 -1
  202. package/dist/components/input-number.js +1 -1
  203. package/dist/components/input-text.js +1 -1
  204. package/dist/components/input.js +1 -1
  205. package/dist/components/instant-apps-ckeditor-wrapper2.js +1 -1
  206. package/dist/components/instant-apps-control-panel.js +1 -1
  207. package/dist/components/instant-apps-export.js +1 -1
  208. package/dist/components/instant-apps-filter-list2.js +1 -2
  209. package/dist/components/instant-apps-header2.js +2 -2
  210. package/dist/components/instant-apps-interactive-legend-classic2.js +7 -10
  211. package/dist/components/instant-apps-interactive-legend-count2.js +2 -2
  212. package/dist/components/instant-apps-interactive-legend-group-legend-element-caption.js +1 -1
  213. package/dist/components/instant-apps-interactive-legend-group-legend-element2.js +1 -1
  214. package/dist/components/instant-apps-interactive-legend-layer-element-caption2.js +1 -1
  215. package/dist/components/instant-apps-interactive-legend-layer-element2.js +1 -1
  216. package/dist/components/instant-apps-interactive-legend-legend-element-caption2.js +2 -2
  217. package/dist/components/instant-apps-interactive-legend-legend-element2.js +1 -1
  218. package/dist/components/instant-apps-interactive-legend-relationship2.js +1 -1
  219. package/dist/components/instant-apps-interactive-legend.js +1 -1
  220. package/dist/components/instant-apps-keyboard-shortcuts.js +1 -1
  221. package/dist/components/instant-apps-landing-page.js +1 -1
  222. package/dist/components/instant-apps-language-switcher.js +1 -1
  223. package/dist/components/instant-apps-language-translator-item2.js +1 -1
  224. package/dist/components/instant-apps-language-translator-search2.js +1 -1
  225. package/dist/components/instant-apps-language-translator2.js +1 -1
  226. package/dist/components/instant-apps-measurement-tool2.js +1 -1
  227. package/dist/components/instant-apps-measurement.js +1 -1
  228. package/dist/components/instant-apps-popover.js +1 -1
  229. package/dist/components/instant-apps-popovers.js +1 -1
  230. package/dist/components/instant-apps-scoreboard.js +1 -1
  231. package/dist/components/instant-apps-social-share2.js +1 -1
  232. package/dist/components/instant-apps-splash.js +2 -2
  233. package/dist/components/json-editor2.js +1 -1
  234. package/dist/components/key.js +0 -28
  235. package/dist/components/label.js +1 -1
  236. package/dist/components/label2.js +1 -1
  237. package/dist/components/languageUtil.js +1 -22
  238. package/dist/components/layer-list2.js +1 -1
  239. package/dist/components/layer-table2.js +1 -1
  240. package/dist/components/layout-manager.js +1 -1
  241. package/dist/components/link.js +1 -1
  242. package/dist/components/list-flow-item.js +1 -1
  243. package/dist/components/list-item.js +1 -1
  244. package/dist/components/list.js +2 -2
  245. package/dist/components/loader.js +1 -1
  246. package/dist/components/locale.js +0 -12
  247. package/dist/components/locale2.js +1 -2
  248. package/dist/components/location-flow-item.js +1 -1
  249. package/dist/components/map-card2.js +1 -1
  250. package/dist/components/map-draw-tools2.js +1 -1
  251. package/dist/components/map-fullscreen2.js +1 -1
  252. package/dist/components/map-layer-picker2.js +1 -1
  253. package/dist/components/map-legend2.js +1 -1
  254. package/dist/components/map-picker2.js +1 -1
  255. package/dist/components/map-search2.js +1 -1
  256. package/dist/components/map-select-tools2.js +1 -1
  257. package/dist/components/map-tools2.js +1 -3
  258. package/dist/components/menu.js +1 -1
  259. package/dist/components/modal.js +1 -7
  260. package/dist/components/mode.js +0 -8
  261. package/dist/components/notice.js +1 -1
  262. package/dist/components/openCloseComponent.js +0 -48
  263. package/dist/components/option.js +1 -1
  264. package/dist/components/pagination.js +1 -194
  265. package/dist/components/panel.js +1 -2
  266. package/dist/components/pci-calculator.js +1 -1
  267. package/dist/components/pdf-download2.js +1 -1
  268. package/dist/components/pick-list-item.js +1 -1
  269. package/dist/components/popover.js +1 -1
  270. package/dist/components/progress.js +1 -1
  271. package/dist/components/public-notification.js +1 -1
  272. package/dist/components/purify.js +2 -5
  273. package/dist/components/queryUtils.js +0 -43
  274. package/dist/components/radio-button.js +1 -1
  275. package/dist/components/refine-results-flow-item.js +1 -1
  276. package/dist/components/refine-selection2.js +1 -1
  277. package/dist/components/resources.js +0 -17
  278. package/dist/components/resources4.js +0 -3
  279. package/dist/components/scrim.js +1 -1
  280. package/dist/components/segmented-control-item.js +1 -1
  281. package/dist/components/segmented-control.js +1 -1
  282. package/dist/components/select.js +1 -1
  283. package/dist/components/share-item.js +1 -1
  284. package/dist/components/shared-list-render.js +1 -6
  285. package/dist/components/shell-panel.js +1 -1
  286. package/dist/components/shell.js +1 -1
  287. package/dist/components/slider.js +1 -3
  288. package/dist/components/solution-configuration.js +1088 -2
  289. package/dist/components/solution-contents2.js +1 -1
  290. package/dist/components/solution-item-details2.js +1 -1
  291. package/dist/components/solution-item-icon2.js +1 -1
  292. package/dist/components/solution-item-sharing2.js +1 -1
  293. package/dist/components/solution-item2.js +1 -1
  294. package/dist/components/solution-organization-variables2.js +1 -1
  295. package/dist/components/solution-resource-item2.js +3 -2
  296. package/dist/components/solution-spatial-ref2.js +1 -1
  297. package/dist/components/solution-store.js +756 -1
  298. package/dist/components/solution-template-data2.js +1 -1
  299. package/dist/components/solution-variables2.js +1 -1
  300. package/dist/components/sortableComponent.js +0 -701
  301. package/dist/components/spatial-ref2.js +4 -263
  302. package/dist/components/stack.js +1 -1
  303. package/dist/components/store-manager.js +1 -1
  304. package/dist/components/store.js +0 -1
  305. package/dist/components/switch.js +1 -1
  306. package/dist/components/t9n.js +1 -1
  307. package/dist/components/tab-nav.js +1 -1
  308. package/dist/components/tab-title.js +1 -1
  309. package/dist/components/tab.js +1 -1
  310. package/dist/components/table-cell.js +1 -1
  311. package/dist/components/table-header.js +1 -1
  312. package/dist/components/tabs.js +1 -1
  313. package/dist/components/time-picker.js +2 -2
  314. package/dist/components/tooltip.js +1 -1
  315. package/dist/components/tree-item.js +1 -1
  316. package/dist/components/tree.js +1 -1
  317. package/dist/components/utils.js +1 -6
  318. package/dist/components/utils2.js +1 -1
  319. package/dist/components/utils4.js +0 -12
  320. package/dist/components/value-list-item.js +1 -1
  321. package/dist/components/value-list.js +1 -4
  322. package/dist/esm/arcgis-login.entry.js +1 -1
  323. package/dist/esm/calcite-accordion-item.entry.js +5 -5
  324. package/dist/esm/calcite-accordion.entry.js +2 -2
  325. package/dist/esm/calcite-action-bar.entry.js +11 -11
  326. package/dist/esm/calcite-action-group.entry.js +12 -12
  327. package/dist/esm/calcite-avatar.entry.js +4 -4
  328. package/dist/esm/calcite-block-section.entry.js +8 -8
  329. package/dist/esm/calcite-button.entry.js +13 -13
  330. package/dist/esm/calcite-card.entry.js +8 -8
  331. package/dist/esm/calcite-checkbox.entry.js +9 -9
  332. package/dist/esm/calcite-chip-group.entry.js +7 -7
  333. package/dist/esm/calcite-color-picker.entry.js +16 -16
  334. package/dist/esm/calcite-combobox-item-group.entry.js +4 -4
  335. package/dist/esm/calcite-fab.entry.js +6 -6
  336. package/dist/esm/calcite-icon.entry.js +5 -5
  337. package/dist/esm/calcite-inline-editable.entry.js +11 -11
  338. package/dist/esm/calcite-input-number.entry.js +13 -13
  339. package/dist/esm/calcite-input-text.entry.js +13 -13
  340. package/dist/esm/calcite-input-time-picker.entry.js +17 -17
  341. package/dist/esm/calcite-input-time-zone.entry.js +12 -12
  342. package/dist/esm/calcite-label.entry.js +4 -4
  343. package/dist/esm/calcite-link.entry.js +6 -6
  344. package/dist/esm/calcite-list-item-group.entry.js +4 -4
  345. package/dist/esm/calcite-menu-item.entry.js +8 -8
  346. package/dist/esm/calcite-menu.entry.js +8 -8
  347. package/dist/esm/calcite-meter.entry.js +8 -8
  348. package/dist/esm/calcite-modal.entry.js +11 -17
  349. package/dist/esm/calcite-navigation-logo.entry.js +2 -2
  350. package/dist/esm/calcite-navigation-user.entry.js +2 -2
  351. package/dist/esm/calcite-navigation.entry.js +4 -4
  352. package/dist/esm/calcite-notice.entry.js +10 -10
  353. package/dist/esm/calcite-option-group.entry.js +1 -1
  354. package/dist/esm/calcite-pagination.entry.js +8 -201
  355. package/dist/esm/calcite-pick-list-group.entry.js +6 -6
  356. package/dist/esm/calcite-pick-list-item.entry.js +13 -13
  357. package/dist/esm/calcite-pick-list.entry.js +10 -10
  358. package/dist/esm/calcite-radio-button-group.entry.js +4 -4
  359. package/dist/esm/calcite-radio-button.entry.js +8 -8
  360. package/dist/esm/calcite-rating.entry.js +12 -14
  361. package/dist/esm/calcite-scrim.entry.js +7 -7
  362. package/dist/esm/calcite-sheet.entry.js +7 -7
  363. package/dist/esm/calcite-shell-center-row.entry.js +5 -5
  364. package/dist/esm/calcite-sortable-list.entry.js +7 -7
  365. package/dist/esm/calcite-split-button.entry.js +4 -4
  366. package/dist/esm/calcite-stepper-item.entry.js +10 -10
  367. package/dist/esm/calcite-stepper.entry.js +7 -7
  368. package/dist/esm/calcite-switch.entry.js +9 -9
  369. package/dist/esm/calcite-table-row.entry.js +6 -6
  370. package/dist/esm/calcite-table.entry.js +9 -9
  371. package/dist/esm/calcite-text-area.entry.js +15 -14
  372. package/dist/esm/calcite-tile-select-group.entry.js +3 -3
  373. package/dist/esm/calcite-tile-select.entry.js +4 -4
  374. package/dist/esm/calcite-tile.entry.js +7 -7
  375. package/dist/esm/calcite-time-picker.entry.js +9 -9
  376. package/dist/esm/calcite-tip-group.entry.js +1 -1
  377. package/dist/esm/calcite-tip-manager.entry.js +8 -15
  378. package/dist/esm/calcite-tip.entry.js +9 -9
  379. package/dist/esm/calcite-tooltip.entry.js +7 -7
  380. package/dist/esm/card-manager_3.entry.js +1 -1
  381. package/dist/esm/consent-manager.entry.js +15 -379
  382. package/dist/esm/crowdsource-manager.entry.js +5 -7
  383. package/dist/esm/crowdsource-reporter.entry.js +5 -7
  384. package/dist/esm/deduct-calculator.entry.js +1 -1
  385. package/dist/esm/{downloadUtils-01e2cb56.js → downloadUtils-0c13073b.js} +3 -3
  386. package/dist/esm/feature-comments.entry.js +1 -1
  387. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  388. package/dist/esm/features-flow-item.entry.js +1 -1
  389. package/dist/esm/{index.es-ac6f5e76.js → index.es-ad250bc6.js} +1 -1
  390. package/dist/esm/index.js +0 -15
  391. package/dist/esm/instant-apps-control-panel.entry.js +4 -4
  392. package/dist/esm/instant-apps-export.entry.js +7 -7
  393. package/dist/esm/instant-apps-header.entry.js +4 -5
  394. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +11 -15
  395. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +6 -7
  396. package/dist/esm/instant-apps-interactive-legend.entry.js +8 -9
  397. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +6 -6
  398. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  399. package/dist/esm/instant-apps-language-switcher.entry.js +9 -9
  400. package/dist/esm/instant-apps-language-translator.entry.js +9 -9
  401. package/dist/esm/instant-apps-measurement.entry.js +6 -6
  402. package/dist/esm/instant-apps-popover.entry.js +6 -6
  403. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  404. package/dist/esm/instant-apps-scoreboard.entry.js +6 -6
  405. package/dist/esm/instant-apps-splash.entry.js +6 -6
  406. package/dist/esm/layout-manager.entry.js +4 -5
  407. package/dist/esm/list-flow-item.entry.js +1 -1
  408. package/dist/esm/loader.js +5 -5
  409. package/dist/esm/location-flow-item.entry.js +1 -1
  410. package/dist/esm/map-select-tools_3.entry.js +1 -1
  411. package/dist/esm/pci-calculator.entry.js +1 -1
  412. package/dist/esm/public-notification.entry.js +10 -11
  413. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  414. package/dist/esm/share-item.entry.js +1 -1
  415. package/dist/esm/solution-configuration.entry.js +1093 -9
  416. package/dist/esm/solution-item-icon.entry.js +1 -1
  417. package/dist/esm/solutions-components.js +6 -37
  418. package/dist/esm/spatial-ref.entry.js +6 -7
  419. package/dist/esm/store-manager.entry.js +1 -1
  420. package/dist/solutions-components/index.esm.js +0 -15
  421. package/dist/solutions-components/{p-8910dc99.js → p-1d3a1794.js} +2 -2
  422. package/dist/solutions-components/{p-b4913a01.js → p-590a2a26.js} +1 -1
  423. package/dist/solutions-components/{p-53ef8adf.entry.js → p-65ad1625.entry.js} +1 -1
  424. package/dist/solutions-components/{p-04dbc667.entry.js → p-989bf0bf.entry.js} +1 -1
  425. package/dist/solutions-components/{p-607773a3.entry.js → p-a0611720.entry.js} +1 -1
  426. package/dist/solutions-components/solutions-components.css +1 -84
  427. package/dist/solutions-components/solutions-components.esm.js +1 -52
  428. package/dist/solutions-components/utils/downloadUtils.ts +2 -2
  429. package/package.json +1 -1
  430. package/dist/cjs/ExpandToggle-3ab7dfd7.js +0 -118
  431. package/dist/cjs/FloatingArrow-89e0e55a.js +0 -50
  432. package/dist/cjs/Heading-9112a4c5.js +0 -25
  433. package/dist/cjs/InitiativeUiSchemaEdit-108652db.js +0 -28
  434. package/dist/cjs/ProjectUiSchemaCreate-81217580.js +0 -126
  435. package/dist/cjs/ProjectUiSchemaEdit-d5f11c17.js +0 -178
  436. package/dist/cjs/Validation-20182093.js +0 -20
  437. package/dist/cjs/_commonjsHelpers-ed90c4ad.js +0 -55
  438. package/dist/cjs/app-globals-379d737f.js +0 -69
  439. package/dist/cjs/ar-a694ca24.js +0 -105
  440. package/dist/cjs/basemap-gallery.cjs.entry.js +0 -121
  441. package/dist/cjs/bg-62b6b3ba.js +0 -83
  442. package/dist/cjs/browser-fe25aefa.js +0 -28
  443. package/dist/cjs/bs-e673542b.js +0 -52
  444. package/dist/cjs/buffer-tools.cjs.entry.js +0 -257
  445. package/dist/cjs/ca-e4d2f562.js +0 -72
  446. package/dist/cjs/calcite-action-menu.cjs.entry.js +0 -295
  447. package/dist/cjs/calcite-action-pad.cjs.entry.js +0 -169
  448. package/dist/cjs/calcite-action.cjs.entry.js +0 -188
  449. package/dist/cjs/calcite-alert.cjs.entry.js +0 -322
  450. package/dist/cjs/calcite-block.cjs.entry.js +0 -214
  451. package/dist/cjs/calcite-chip.cjs.entry.js +0 -262
  452. package/dist/cjs/calcite-color-picker-hex-input.cjs.entry.js +0 -274
  453. package/dist/cjs/calcite-color-picker-swatch.cjs.entry.js +0 -99
  454. package/dist/cjs/calcite-combobox-item.cjs.entry.js +0 -145
  455. package/dist/cjs/calcite-combobox.cjs.entry.js +0 -1431
  456. package/dist/cjs/calcite-date-picker-day.cjs.entry.js +0 -97
  457. package/dist/cjs/calcite-date-picker-month-header.cjs.entry.js +0 -207
  458. package/dist/cjs/calcite-date-picker-month.cjs.entry.js +0 -362
  459. package/dist/cjs/calcite-date-picker.cjs.entry.js +0 -460
  460. package/dist/cjs/calcite-dropdown-group.cjs.entry.js +0 -85
  461. package/dist/cjs/calcite-dropdown-item.cjs.entry.js +0 -188
  462. package/dist/cjs/calcite-dropdown.cjs.entry.js +0 -430
  463. package/dist/cjs/calcite-filter.cjs.entry.js +0 -179
  464. package/dist/cjs/calcite-flow-item.cjs.entry.js +0 -198
  465. package/dist/cjs/calcite-flow.cjs.entry.js +0 -153
  466. package/dist/cjs/calcite-graph.cjs.entry.js +0 -226
  467. package/dist/cjs/calcite-handle.cjs.entry.js +0 -204
  468. package/dist/cjs/calcite-input-date-picker.cjs.entry.js +0 -744
  469. package/dist/cjs/calcite-input-message.cjs.entry.js +0 -70
  470. package/dist/cjs/calcite-input-time-picker-9e93f694.js +0 -1854
  471. package/dist/cjs/calcite-input.cjs.entry.js +0 -695
  472. package/dist/cjs/calcite-list-item.cjs.entry.js +0 -454
  473. package/dist/cjs/calcite-list.cjs.entry.js +0 -567
  474. package/dist/cjs/calcite-loader.cjs.entry.js +0 -80
  475. package/dist/cjs/calcite-option.cjs.entry.js +0 -88
  476. package/dist/cjs/calcite-panel.cjs.entry.js +0 -270
  477. package/dist/cjs/calcite-popover.cjs.entry.js +0 -418
  478. package/dist/cjs/calcite-progress.cjs.entry.js +0 -41
  479. package/dist/cjs/calcite-segmented-control-item.cjs.entry.js +0 -70
  480. package/dist/cjs/calcite-segmented-control.cjs.entry.js +0 -245
  481. package/dist/cjs/calcite-select.cjs.entry.js +0 -235
  482. package/dist/cjs/calcite-shell-panel.cjs.entry.js +0 -414
  483. package/dist/cjs/calcite-shell.cjs.entry.js +0 -174
  484. package/dist/cjs/calcite-slider.cjs.entry.js +0 -844
  485. package/dist/cjs/calcite-stack.cjs.entry.js +0 -74
  486. package/dist/cjs/calcite-tab-nav.cjs.entry.js +0 -263
  487. package/dist/cjs/calcite-tab-title.cjs.entry.js +0 -291
  488. package/dist/cjs/calcite-tab.cjs.entry.js +0 -112
  489. package/dist/cjs/calcite-table-cell.cjs.entry.js +0 -156
  490. package/dist/cjs/calcite-table-header.cjs.entry.js +0 -169
  491. package/dist/cjs/calcite-tabs.cjs.entry.js +0 -178
  492. package/dist/cjs/calcite-tree-item.cjs.entry.js +0 -296
  493. package/dist/cjs/calcite-tree.cjs.entry.js +0 -315
  494. package/dist/cjs/calcite-value-list-item.cjs.entry.js +0 -157
  495. package/dist/cjs/calcite-value-list.cjs.entry.js +0 -326
  496. package/dist/cjs/card-manager.cjs.entry.js +0 -107
  497. package/dist/cjs/common-1b4bd8de.js +0 -297
  498. package/dist/cjs/conditionalSlot-73e71a05.js +0 -63
  499. package/dist/cjs/create-feature.cjs.entry.js +0 -263
  500. package/dist/cjs/cs-1ea34123.js +0 -148
  501. package/dist/cjs/da-199f5488.js +0 -67
  502. package/dist/cjs/date-3d094f58.js +0 -261
  503. package/dist/cjs/de-222afa04.js +0 -92
  504. package/dist/cjs/de-at-a62870ea.js +0 -91
  505. package/dist/cjs/de-ch-b0b46c1b.js +0 -91
  506. package/dist/cjs/delete-button.cjs.entry.js +0 -150
  507. package/dist/cjs/dom-cf1e2e9f.js +0 -1114
  508. package/dist/cjs/downloadUtils-de0c0682.js +0 -4246
  509. package/dist/cjs/edit-card.cjs.entry.js +0 -228
  510. package/dist/cjs/el-934951a0.js +0 -67
  511. package/dist/cjs/en-au-6872d248.js +0 -67
  512. package/dist/cjs/en-ca-7133c4f2.js +0 -66
  513. package/dist/cjs/en-gb-2c66b954.js +0 -70
  514. package/dist/cjs/es-48e65aa5.js +0 -67
  515. package/dist/cjs/es-mx-46d70897.js +0 -66
  516. package/dist/cjs/esri-loader-5b8fbfa4.js +0 -308
  517. package/dist/cjs/et-63c5628d.js +0 -93
  518. package/dist/cjs/feature-list.cjs.entry.js +0 -199
  519. package/dist/cjs/fi-dc20f9ac.js +0 -116
  520. package/dist/cjs/filter-cc2705b7.js +0 -48
  521. package/dist/cjs/floating-ui-90bd00af.js +0 -2350
  522. package/dist/cjs/floor-filter.cjs.entry.js +0 -111
  523. package/dist/cjs/focusTrapComponent-946b0666.js +0 -1028
  524. package/dist/cjs/form-da52e819.js +0 -316
  525. package/dist/cjs/fr-7067996a.js +0 -69
  526. package/dist/cjs/fr-ch-dbd7ba02.js +0 -67
  527. package/dist/cjs/he-4eb6a5a9.js +0 -106
  528. package/dist/cjs/helpers-7415d67a.js +0 -830
  529. package/dist/cjs/hi-5563acd4.js +0 -66
  530. package/dist/cjs/hr-7a0a4191.js +0 -81
  531. package/dist/cjs/html2canvas-57f1616d.js +0 -7847
  532. package/dist/cjs/hu-0b69b8fb.js +0 -89
  533. package/dist/cjs/id-345dd5a9.js +0 -67
  534. package/dist/cjs/index-5799a29c.js +0 -41521
  535. package/dist/cjs/index-8c75d784.js +0 -1958
  536. package/dist/cjs/index-af047760.js +0 -201
  537. package/dist/cjs/index-b53bfd7c.js +0 -4185
  538. package/dist/cjs/index.es-152bb462.js +0 -11342
  539. package/dist/cjs/info-card.cjs.entry.js +0 -320
  540. package/dist/cjs/instant-apps-ckeditor-wrapper.cjs.entry.js +0 -125
  541. package/dist/cjs/instant-apps-filter-list.cjs.entry.js +0 -1059
  542. package/dist/cjs/instant-apps-interactive-legend-count.cjs.entry.js +0 -104
  543. package/dist/cjs/instant-apps-interactive-legend-group-legend-element.cjs.entry.js +0 -56
  544. package/dist/cjs/instant-apps-interactive-legend-layer-element-caption.cjs.entry.js +0 -55
  545. package/dist/cjs/instant-apps-interactive-legend-layer-element.cjs.entry.js +0 -57
  546. package/dist/cjs/instant-apps-interactive-legend-legend-element-caption.cjs.entry.js +0 -104
  547. package/dist/cjs/instant-apps-interactive-legend-legend-element.cjs.entry.js +0 -65
  548. package/dist/cjs/instant-apps-interactive-legend-relationship.cjs.entry.js +0 -552
  549. package/dist/cjs/instant-apps-language-translator-item.cjs.entry.js +0 -384
  550. package/dist/cjs/instant-apps-language-translator-search.cjs.entry.js +0 -105
  551. package/dist/cjs/instant-apps-measurement-tool.cjs.entry.js +0 -139
  552. package/dist/cjs/instant-apps-social-share.cjs.entry.js +0 -515
  553. package/dist/cjs/interactive-08e5bc95.js +0 -144
  554. package/dist/cjs/it-ac7cf3e5.js +0 -67
  555. package/dist/cjs/it-ch-6f7209eb.js +0 -67
  556. package/dist/cjs/ja-29e7b0a2.js +0 -73
  557. package/dist/cjs/json-editor.cjs.entry.js +0 -406
  558. package/dist/cjs/key-86f4a0b0.js +0 -47
  559. package/dist/cjs/ko-aeebde8b.js +0 -73
  560. package/dist/cjs/label-24b05042.js +0 -186
  561. package/dist/cjs/languageSwitcher-aafa5b47.js +0 -58
  562. package/dist/cjs/languageUtil-43c3acdc.js +0 -90
  563. package/dist/cjs/layer-list.cjs.entry.js +0 -207
  564. package/dist/cjs/layer-table.cjs.entry.js +0 -1487
  565. package/dist/cjs/loadModules-a67b6702.js +0 -23
  566. package/dist/cjs/loadModules-b5f244cd.js +0 -30
  567. package/dist/cjs/loadable-41446b78.js +0 -97
  568. package/dist/cjs/locale-28c7c569.js +0 -91
  569. package/dist/cjs/locale-42a9e623.js +0 -152
  570. package/dist/cjs/locale-a615b02f.js +0 -585
  571. package/dist/cjs/lodash-7587da9f.js +0 -18030
  572. package/dist/cjs/lt-6816d14c.js +0 -98
  573. package/dist/cjs/lv-2c998515.js +0 -67
  574. package/dist/cjs/map-card.cjs.entry.js +0 -192
  575. package/dist/cjs/map-draw-tools.cjs.entry.js +0 -358
  576. package/dist/cjs/map-fullscreen.cjs.entry.js +0 -116
  577. package/dist/cjs/map-layer-picker.cjs.entry.js +0 -346
  578. package/dist/cjs/map-legend.cjs.entry.js +0 -109
  579. package/dist/cjs/map-picker.cjs.entry.js +0 -174
  580. package/dist/cjs/map-search.cjs.entry.js +0 -184
  581. package/dist/cjs/map-select-tools.cjs.entry.js +0 -798
  582. package/dist/cjs/map-tools.cjs.entry.js +0 -375
  583. package/dist/cjs/mapViewUtils-6fa5bab1.js +0 -271
  584. package/dist/cjs/mk-147994ea.js +0 -67
  585. package/dist/cjs/mode-a0417ce5.js +0 -27
  586. package/dist/cjs/nb-f3d75f05.js +0 -68
  587. package/dist/cjs/nl-cb0a22c8.js +0 -68
  588. package/dist/cjs/observers-5923a7cc.js +0 -58
  589. package/dist/cjs/openCloseComponent-8d9cb545.js +0 -140
  590. package/dist/cjs/parser-e80279bf.js +0 -1656
  591. package/dist/cjs/pdf-download.cjs.entry.js +0 -359
  592. package/dist/cjs/pl-ade28edd.js +0 -115
  593. package/dist/cjs/popupUtils-4de17e65.js +0 -96
  594. package/dist/cjs/pt-5543b782.js +0 -68
  595. package/dist/cjs/pt-br-bdce1868.js +0 -66
  596. package/dist/cjs/publicNotificationStore-f690e171.js +0 -47
  597. package/dist/cjs/purify-557ad134.js +0 -1715
  598. package/dist/cjs/queryUtils-aba29fcf.js +0 -253
  599. package/dist/cjs/refine-selection.cjs.entry.js +0 -411
  600. package/dist/cjs/resources-2ccf85d3.js +0 -53
  601. package/dist/cjs/resources-37006465.js +0 -29
  602. package/dist/cjs/resources-63b3a6b8.js +0 -116
  603. package/dist/cjs/resources-a2b1b149.js +0 -49
  604. package/dist/cjs/resources-ac626172.js +0 -26
  605. package/dist/cjs/resources-b0cc39b4.js +0 -30
  606. package/dist/cjs/ro-f4bb9704.js +0 -67
  607. package/dist/cjs/ru-ba86b627.js +0 -127
  608. package/dist/cjs/shadow-css-bbaea014.js +0 -483
  609. package/dist/cjs/shared-list-render-c8555864.js +0 -370
  610. package/dist/cjs/sk-ac03aca5.js +0 -149
  611. package/dist/cjs/sl-c68e3fd0.js +0 -169
  612. package/dist/cjs/solution-contents.cjs.entry.js +0 -84
  613. package/dist/cjs/solution-item-details.cjs.entry.js +0 -199
  614. package/dist/cjs/solution-item-sharing.cjs.entry.js +0 -139
  615. package/dist/cjs/solution-item.cjs.entry.js +0 -106
  616. package/dist/cjs/solution-organization-variables.cjs.entry.js +0 -95
  617. package/dist/cjs/solution-resource-item.cjs.entry.js +0 -284
  618. package/dist/cjs/solution-spatial-ref.cjs.entry.js +0 -158
  619. package/dist/cjs/solution-store-6194ba89.js +0 -589
  620. package/dist/cjs/solution-template-data.cjs.entry.js +0 -119
  621. package/dist/cjs/solution-variables.cjs.entry.js +0 -107
  622. package/dist/cjs/sortableComponent-5e3419af.js +0 -3443
  623. package/dist/cjs/sr-80f65cf0.js +0 -102
  624. package/dist/cjs/store-1f422ad4.js +0 -91
  625. package/dist/cjs/sv-eee15401.js +0 -72
  626. package/dist/cjs/t9n-463dcbff.js +0 -103
  627. package/dist/cjs/th-f90768db.js +0 -66
  628. package/dist/cjs/time-4a9bf7e2.js +0 -289
  629. package/dist/cjs/tr-37fec0b5.js +0 -67
  630. package/dist/cjs/uk-3041a292.js +0 -105
  631. package/dist/cjs/utils-3a633152.js +0 -64
  632. package/dist/cjs/utils-7281bf72.js +0 -110
  633. package/dist/cjs/utils-72a66b3c.js +0 -66
  634. package/dist/cjs/utils-934ee777.js +0 -142
  635. package/dist/cjs/utils-b276a49d.js +0 -226
  636. package/dist/cjs/vi-57a02ad1.js +0 -71
  637. package/dist/cjs/zh-cn-165c486d.js +0 -95
  638. package/dist/cjs/zh-hk-0aa560a6.js +0 -72
  639. package/dist/cjs/zh-tw-42d975f0.js +0 -93
  640. package/dist/components/InitiativeUiSchemaEdit.js +0 -26
  641. package/dist/components/ProjectUiSchemaCreate.js +0 -122
  642. package/dist/components/ProjectUiSchemaEdit.js +0 -176
  643. package/dist/components/index7.js +0 -71
  644. package/dist/components/lodash.js +0 -18025
  645. package/dist/components/parser.js +0 -1654
  646. package/dist/esm/ExpandToggle-22fd2faa.js +0 -110
  647. package/dist/esm/FloatingArrow-de6fd1c7.js +0 -48
  648. package/dist/esm/Heading-f003a141.js +0 -22
  649. package/dist/esm/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
  650. package/dist/esm/ProjectUiSchemaCreate-dd179c0f.js +0 -124
  651. package/dist/esm/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
  652. package/dist/esm/Validation-59a77488.js +0 -18
  653. package/dist/esm/_commonjsHelpers-3cd6d4ee.js +0 -49
  654. package/dist/esm/app-globals-928553ab.js +0 -67
  655. package/dist/esm/ar-75ffdabb.js +0 -103
  656. package/dist/esm/basemap-gallery.entry.js +0 -117
  657. package/dist/esm/bg-fac0bf10.js +0 -81
  658. package/dist/esm/browser-b8d08bed.js +0 -26
  659. package/dist/esm/bs-c03c8ef2.js +0 -50
  660. package/dist/esm/buffer-tools.entry.js +0 -253
  661. package/dist/esm/ca-29e49f82.js +0 -70
  662. package/dist/esm/calcite-action-menu.entry.js +0 -291
  663. package/dist/esm/calcite-action-pad.entry.js +0 -165
  664. package/dist/esm/calcite-action.entry.js +0 -184
  665. package/dist/esm/calcite-alert.entry.js +0 -318
  666. package/dist/esm/calcite-block.entry.js +0 -210
  667. package/dist/esm/calcite-chip.entry.js +0 -258
  668. package/dist/esm/calcite-color-picker-hex-input.entry.js +0 -270
  669. package/dist/esm/calcite-color-picker-swatch.entry.js +0 -95
  670. package/dist/esm/calcite-combobox-item.entry.js +0 -141
  671. package/dist/esm/calcite-combobox.entry.js +0 -1427
  672. package/dist/esm/calcite-date-picker-day.entry.js +0 -93
  673. package/dist/esm/calcite-date-picker-month-header.entry.js +0 -203
  674. package/dist/esm/calcite-date-picker-month.entry.js +0 -358
  675. package/dist/esm/calcite-date-picker.entry.js +0 -456
  676. package/dist/esm/calcite-dropdown-group.entry.js +0 -81
  677. package/dist/esm/calcite-dropdown-item.entry.js +0 -184
  678. package/dist/esm/calcite-dropdown.entry.js +0 -426
  679. package/dist/esm/calcite-filter.entry.js +0 -175
  680. package/dist/esm/calcite-flow-item.entry.js +0 -194
  681. package/dist/esm/calcite-flow.entry.js +0 -149
  682. package/dist/esm/calcite-graph.entry.js +0 -222
  683. package/dist/esm/calcite-handle.entry.js +0 -200
  684. package/dist/esm/calcite-input-date-picker.entry.js +0 -740
  685. package/dist/esm/calcite-input-message.entry.js +0 -66
  686. package/dist/esm/calcite-input-time-picker-e5cd4d26.js +0 -1851
  687. package/dist/esm/calcite-input.entry.js +0 -691
  688. package/dist/esm/calcite-list-item.entry.js +0 -450
  689. package/dist/esm/calcite-list.entry.js +0 -563
  690. package/dist/esm/calcite-loader.entry.js +0 -76
  691. package/dist/esm/calcite-option.entry.js +0 -84
  692. package/dist/esm/calcite-panel.entry.js +0 -266
  693. package/dist/esm/calcite-popover.entry.js +0 -414
  694. package/dist/esm/calcite-progress.entry.js +0 -37
  695. package/dist/esm/calcite-segmented-control-item.entry.js +0 -66
  696. package/dist/esm/calcite-segmented-control.entry.js +0 -241
  697. package/dist/esm/calcite-select.entry.js +0 -231
  698. package/dist/esm/calcite-shell-panel.entry.js +0 -410
  699. package/dist/esm/calcite-shell.entry.js +0 -170
  700. package/dist/esm/calcite-slider.entry.js +0 -840
  701. package/dist/esm/calcite-stack.entry.js +0 -70
  702. package/dist/esm/calcite-tab-nav.entry.js +0 -259
  703. package/dist/esm/calcite-tab-title.entry.js +0 -287
  704. package/dist/esm/calcite-tab.entry.js +0 -108
  705. package/dist/esm/calcite-table-cell.entry.js +0 -152
  706. package/dist/esm/calcite-table-header.entry.js +0 -165
  707. package/dist/esm/calcite-tabs.entry.js +0 -174
  708. package/dist/esm/calcite-tree-item.entry.js +0 -292
  709. package/dist/esm/calcite-tree.entry.js +0 -311
  710. package/dist/esm/calcite-value-list-item.entry.js +0 -153
  711. package/dist/esm/calcite-value-list.entry.js +0 -322
  712. package/dist/esm/card-manager.entry.js +0 -103
  713. package/dist/esm/common-7e0dcaa2.js +0 -295
  714. package/dist/esm/conditionalSlot-a395417e.js +0 -60
  715. package/dist/esm/create-feature.entry.js +0 -259
  716. package/dist/esm/cs-04f36d01.js +0 -146
  717. package/dist/esm/da-5a3b8600.js +0 -65
  718. package/dist/esm/date-74c7f03b.js +0 -245
  719. package/dist/esm/de-579cda2e.js +0 -90
  720. package/dist/esm/de-at-52bf1c4c.js +0 -89
  721. package/dist/esm/de-ch-12d03480.js +0 -89
  722. package/dist/esm/delete-button.entry.js +0 -146
  723. package/dist/esm/dom-b91aa537.js +0 -1083
  724. package/dist/esm/downloadUtils-b3220f86.js +0 -4240
  725. package/dist/esm/edit-card.entry.js +0 -224
  726. package/dist/esm/el-c18d3ea4.js +0 -65
  727. package/dist/esm/en-au-2599e6da.js +0 -65
  728. package/dist/esm/en-ca-8cfbe6bc.js +0 -64
  729. package/dist/esm/en-gb-5e4e8a1e.js +0 -68
  730. package/dist/esm/es-d86f9957.js +0 -65
  731. package/dist/esm/es-mx-f99d9fd1.js +0 -64
  732. package/dist/esm/esri-loader-af2bbfd5.js +0 -306
  733. package/dist/esm/et-8bf52e57.js +0 -91
  734. package/dist/esm/feature-list.entry.js +0 -195
  735. package/dist/esm/fi-aeb49e52.js +0 -114
  736. package/dist/esm/filter-0d00d2e2.js +0 -46
  737. package/dist/esm/floating-ui-b3256614.js +0 -2342
  738. package/dist/esm/floor-filter.entry.js +0 -107
  739. package/dist/esm/focusTrapComponent-2fe6623b.js +0 -1023
  740. package/dist/esm/form-f2181470.js +0 -307
  741. package/dist/esm/fr-6200cc01.js +0 -67
  742. package/dist/esm/fr-ch-df62bb30.js +0 -65
  743. package/dist/esm/he-07ace6cb.js +0 -104
  744. package/dist/esm/helpers-85ca7251.js +0 -807
  745. package/dist/esm/hi-5aa9519e.js +0 -64
  746. package/dist/esm/hr-e0614bed.js +0 -79
  747. package/dist/esm/html2canvas-d52e7c8d.js +0 -7845
  748. package/dist/esm/hu-732fe37c.js +0 -87
  749. package/dist/esm/id-0832fc24.js +0 -65
  750. package/dist/esm/index-7fc1cba9.js +0 -41502
  751. package/dist/esm/index-91eeaf01.js +0 -199
  752. package/dist/esm/index-b1fb529b.js +0 -1956
  753. package/dist/esm/index-bdfaac50.js +0 -4145
  754. package/dist/esm/index.es-3db60115.js +0 -11256
  755. package/dist/esm/info-card.entry.js +0 -316
  756. package/dist/esm/instant-apps-ckeditor-wrapper.entry.js +0 -121
  757. package/dist/esm/instant-apps-filter-list.entry.js +0 -1055
  758. package/dist/esm/instant-apps-interactive-legend-count.entry.js +0 -100
  759. package/dist/esm/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
  760. package/dist/esm/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
  761. package/dist/esm/instant-apps-interactive-legend-layer-element.entry.js +0 -53
  762. package/dist/esm/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
  763. package/dist/esm/instant-apps-interactive-legend-legend-element.entry.js +0 -61
  764. package/dist/esm/instant-apps-interactive-legend-relationship.entry.js +0 -548
  765. package/dist/esm/instant-apps-language-translator-item.entry.js +0 -380
  766. package/dist/esm/instant-apps-language-translator-search.entry.js +0 -101
  767. package/dist/esm/instant-apps-measurement-tool.entry.js +0 -135
  768. package/dist/esm/instant-apps-social-share.entry.js +0 -511
  769. package/dist/esm/interactive-71585ecc.js +0 -139
  770. package/dist/esm/it-142bc820.js +0 -65
  771. package/dist/esm/it-ch-1ad1f0ac.js +0 -65
  772. package/dist/esm/ja-6a33e9d4.js +0 -71
  773. package/dist/esm/json-editor.entry.js +0 -402
  774. package/dist/esm/key-9a10d862.js +0 -44
  775. package/dist/esm/ko-d61df01d.js +0 -71
  776. package/dist/esm/label-16184ce7.js +0 -179
  777. package/dist/esm/languageSwitcher-2a9037e5.js +0 -55
  778. package/dist/esm/languageUtil-71a7a914.js +0 -87
  779. package/dist/esm/layer-list.entry.js +0 -203
  780. package/dist/esm/layer-table.entry.js +0 -1483
  781. package/dist/esm/loadModules-827c5581.js +0 -28
  782. package/dist/esm/loadModules-acccbc1c.js +0 -21
  783. package/dist/esm/loadable-aea90723.js +0 -92
  784. package/dist/esm/locale-4cfbae3e.js +0 -86
  785. package/dist/esm/locale-857f39cf.js +0 -572
  786. package/dist/esm/locale-d9463a95.js +0 -148
  787. package/dist/esm/lodash-98e4b7d0.js +0 -18025
  788. package/dist/esm/lt-652c530a.js +0 -96
  789. package/dist/esm/lv-84e48ed0.js +0 -65
  790. package/dist/esm/map-card.entry.js +0 -188
  791. package/dist/esm/map-draw-tools.entry.js +0 -354
  792. package/dist/esm/map-fullscreen.entry.js +0 -112
  793. package/dist/esm/map-layer-picker.entry.js +0 -342
  794. package/dist/esm/map-legend.entry.js +0 -105
  795. package/dist/esm/map-picker.entry.js +0 -170
  796. package/dist/esm/map-search.entry.js +0 -180
  797. package/dist/esm/map-select-tools.entry.js +0 -794
  798. package/dist/esm/map-tools.entry.js +0 -371
  799. package/dist/esm/mapViewUtils-436a516e.js +0 -261
  800. package/dist/esm/mk-bbf2ee01.js +0 -65
  801. package/dist/esm/mode-f9bfc4e9.js +0 -25
  802. package/dist/esm/nb-ccfaa0f7.js +0 -66
  803. package/dist/esm/nl-4bc56289.js +0 -66
  804. package/dist/esm/observers-5ba39eee.js +0 -56
  805. package/dist/esm/openCloseComponent-b4b3788b.js +0 -138
  806. package/dist/esm/parser-87982ce2.js +0 -1654
  807. package/dist/esm/pdf-download.entry.js +0 -355
  808. package/dist/esm/pl-1f435988.js +0 -113
  809. package/dist/esm/popupUtils-b61d7ffd.js +0 -94
  810. package/dist/esm/pt-4a05a00d.js +0 -66
  811. package/dist/esm/pt-br-9720547b.js +0 -64
  812. package/dist/esm/publicNotificationStore-208e26f0.js +0 -45
  813. package/dist/esm/purify-909c20fa.js +0 -1713
  814. package/dist/esm/queryUtils-2529c537.js +0 -244
  815. package/dist/esm/refine-selection.entry.js +0 -407
  816. package/dist/esm/resources-0f8db821.js +0 -45
  817. package/dist/esm/resources-3c6947d3.js +0 -26
  818. package/dist/esm/resources-47b3ca40.js +0 -106
  819. package/dist/esm/resources-667afb5d.js +0 -27
  820. package/dist/esm/resources-9b2084c6.js +0 -24
  821. package/dist/esm/resources-bb6c11c3.js +0 -49
  822. package/dist/esm/ro-f87076a1.js +0 -65
  823. package/dist/esm/ru-e69ca895.js +0 -125
  824. package/dist/esm/shadow-css-f5236d52.js +0 -481
  825. package/dist/esm/shared-list-render-a572ef93.js +0 -348
  826. package/dist/esm/sk-d632e850.js +0 -147
  827. package/dist/esm/sl-5099fa6f.js +0 -167
  828. package/dist/esm/solution-contents.entry.js +0 -80
  829. package/dist/esm/solution-item-details.entry.js +0 -195
  830. package/dist/esm/solution-item-sharing.entry.js +0 -135
  831. package/dist/esm/solution-item.entry.js +0 -102
  832. package/dist/esm/solution-organization-variables.entry.js +0 -91
  833. package/dist/esm/solution-resource-item.entry.js +0 -280
  834. package/dist/esm/solution-spatial-ref.entry.js +0 -154
  835. package/dist/esm/solution-store-31cccb90.js +0 -587
  836. package/dist/esm/solution-template-data.entry.js +0 -115
  837. package/dist/esm/solution-variables.entry.js +0 -103
  838. package/dist/esm/sortableComponent-e715a3dd.js +0 -3439
  839. package/dist/esm/sr-944b7fd7.js +0 -100
  840. package/dist/esm/store-194c1a01.js +0 -87
  841. package/dist/esm/sv-e481fa6a.js +0 -70
  842. package/dist/esm/t9n-b39c5433.js +0 -98
  843. package/dist/esm/th-60961669.js +0 -64
  844. package/dist/esm/time-4a90614b.js +0 -274
  845. package/dist/esm/tr-eba8dd86.js +0 -65
  846. package/dist/esm/uk-ec375ce0.js +0 -103
  847. package/dist/esm/utils-32df4a1e.js +0 -133
  848. package/dist/esm/utils-57e2ccde.js +0 -61
  849. package/dist/esm/utils-7db4ecdc.js +0 -100
  850. package/dist/esm/utils-95e9dd51.js +0 -55
  851. package/dist/esm/utils-cfbe589a.js +0 -208
  852. package/dist/esm/vi-29345f79.js +0 -69
  853. package/dist/esm/zh-cn-32c7c714.js +0 -93
  854. package/dist/esm/zh-hk-7c770845.js +0 -70
  855. package/dist/esm/zh-tw-c318be5c.js +0 -91
  856. package/dist/solutions-components/ExpandToggle-22fd2faa.js +0 -110
  857. package/dist/solutions-components/FloatingArrow-de6fd1c7.js +0 -48
  858. package/dist/solutions-components/Heading-f003a141.js +0 -22
  859. package/dist/solutions-components/InitiativeUiSchemaEdit-8ddacfe8.js +0 -26
  860. package/dist/solutions-components/ProjectUiSchemaCreate-dd179c0f.js +0 -124
  861. package/dist/solutions-components/ProjectUiSchemaEdit-fbfdf6e4.js +0 -176
  862. package/dist/solutions-components/Validation-59a77488.js +0 -18
  863. package/dist/solutions-components/_commonjsHelpers-3cd6d4ee.js +0 -49
  864. package/dist/solutions-components/app-globals-928553ab.js +0 -67
  865. package/dist/solutions-components/ar-75ffdabb.js +0 -103
  866. package/dist/solutions-components/arcgis-login.entry.js +0 -56
  867. package/dist/solutions-components/array-396bdf3c.js +0 -15
  868. package/dist/solutions-components/basemap-gallery.entry.js +0 -117
  869. package/dist/solutions-components/bg-fac0bf10.js +0 -81
  870. package/dist/solutions-components/breakpoints-f0f1417d.js +0 -15
  871. package/dist/solutions-components/browser-b8d08bed.js +0 -26
  872. package/dist/solutions-components/bs-c03c8ef2.js +0 -50
  873. package/dist/solutions-components/buffer-tools.entry.js +0 -253
  874. package/dist/solutions-components/ca-29e49f82.js +0 -70
  875. package/dist/solutions-components/calcite-accordion-item.entry.js +0 -176
  876. package/dist/solutions-components/calcite-accordion.entry.js +0 -81
  877. package/dist/solutions-components/calcite-action-bar.entry.js +0 -252
  878. package/dist/solutions-components/calcite-action-group.entry.js +0 -112
  879. package/dist/solutions-components/calcite-action-menu.entry.js +0 -291
  880. package/dist/solutions-components/calcite-action-pad.entry.js +0 -165
  881. package/dist/solutions-components/calcite-action.entry.js +0 -184
  882. package/dist/solutions-components/calcite-alert.entry.js +0 -318
  883. package/dist/solutions-components/calcite-avatar.entry.js +0 -146
  884. package/dist/solutions-components/calcite-block-section.entry.js +0 -162
  885. package/dist/solutions-components/calcite-block.entry.js +0 -210
  886. package/dist/solutions-components/calcite-button.entry.js +0 -227
  887. package/dist/solutions-components/calcite-card.entry.js +0 -132
  888. package/dist/solutions-components/calcite-checkbox.entry.js +0 -134
  889. package/dist/solutions-components/calcite-chip-group.entry.js +0 -175
  890. package/dist/solutions-components/calcite-chip.entry.js +0 -258
  891. package/dist/solutions-components/calcite-color-picker-hex-input.entry.js +0 -270
  892. package/dist/solutions-components/calcite-color-picker-swatch.entry.js +0 -95
  893. package/dist/solutions-components/calcite-color-picker.entry.js +0 -906
  894. package/dist/solutions-components/calcite-combobox-item-group.entry.js +0 -56
  895. package/dist/solutions-components/calcite-combobox-item.entry.js +0 -141
  896. package/dist/solutions-components/calcite-combobox.entry.js +0 -1427
  897. package/dist/solutions-components/calcite-date-picker-day.entry.js +0 -93
  898. package/dist/solutions-components/calcite-date-picker-month-header.entry.js +0 -203
  899. package/dist/solutions-components/calcite-date-picker-month.entry.js +0 -358
  900. package/dist/solutions-components/calcite-date-picker.entry.js +0 -456
  901. package/dist/solutions-components/calcite-dropdown-group.entry.js +0 -81
  902. package/dist/solutions-components/calcite-dropdown-item.entry.js +0 -184
  903. package/dist/solutions-components/calcite-dropdown.entry.js +0 -426
  904. package/dist/solutions-components/calcite-fab.entry.js +0 -90
  905. package/dist/solutions-components/calcite-filter.entry.js +0 -175
  906. package/dist/solutions-components/calcite-flow-item.entry.js +0 -194
  907. package/dist/solutions-components/calcite-flow.entry.js +0 -149
  908. package/dist/solutions-components/calcite-graph.entry.js +0 -222
  909. package/dist/solutions-components/calcite-handle.entry.js +0 -200
  910. package/dist/solutions-components/calcite-icon.entry.js +0 -179
  911. package/dist/solutions-components/calcite-inline-editable.entry.js +0 -253
  912. package/dist/solutions-components/calcite-input-date-picker.entry.js +0 -740
  913. package/dist/solutions-components/calcite-input-message.entry.js +0 -66
  914. package/dist/solutions-components/calcite-input-number.entry.js +0 -610
  915. package/dist/solutions-components/calcite-input-text.entry.js +0 -349
  916. package/dist/solutions-components/calcite-input-time-picker-e5cd4d26.js +0 -1851
  917. package/dist/solutions-components/calcite-input-time-picker.entry.js +0 -25
  918. package/dist/solutions-components/calcite-input-time-zone.entry.js +0 -332
  919. package/dist/solutions-components/calcite-input.entry.js +0 -691
  920. package/dist/solutions-components/calcite-label.entry.js +0 -67
  921. package/dist/solutions-components/calcite-link.entry.js +0 -108
  922. package/dist/solutions-components/calcite-list-item-group.entry.js +0 -69
  923. package/dist/solutions-components/calcite-list-item.entry.js +0 -450
  924. package/dist/solutions-components/calcite-list.entry.js +0 -563
  925. package/dist/solutions-components/calcite-loader.entry.js +0 -76
  926. package/dist/solutions-components/calcite-menu-item.entry.js +0 -281
  927. package/dist/solutions-components/calcite-menu.entry.js +0 -180
  928. package/dist/solutions-components/calcite-meter.entry.js +0 -332
  929. package/dist/solutions-components/calcite-modal.entry.js +0 -394
  930. package/dist/solutions-components/calcite-navigation-logo.entry.js +0 -84
  931. package/dist/solutions-components/calcite-navigation-user.entry.js +0 -68
  932. package/dist/solutions-components/calcite-navigation.entry.js +0 -166
  933. package/dist/solutions-components/calcite-notice.entry.js +0 -163
  934. package/dist/solutions-components/calcite-option-group.entry.js +0 -35
  935. package/dist/solutions-components/calcite-option.entry.js +0 -84
  936. package/dist/solutions-components/calcite-pagination.entry.js +0 -554
  937. package/dist/solutions-components/calcite-panel.entry.js +0 -266
  938. package/dist/solutions-components/calcite-pick-list-group.entry.js +0 -57
  939. package/dist/solutions-components/calcite-pick-list-item.entry.js +0 -193
  940. package/dist/solutions-components/calcite-pick-list.entry.js +0 -142
  941. package/dist/solutions-components/calcite-popover.entry.js +0 -414
  942. package/dist/solutions-components/calcite-progress.entry.js +0 -37
  943. package/dist/solutions-components/calcite-radio-button-group.entry.js +0 -141
  944. package/dist/solutions-components/calcite-radio-button.entry.js +0 -318
  945. package/dist/solutions-components/calcite-rating.entry.js +0 -261
  946. package/dist/solutions-components/calcite-scrim.entry.js +0 -121
  947. package/dist/solutions-components/calcite-segmented-control-item.entry.js +0 -66
  948. package/dist/solutions-components/calcite-segmented-control.entry.js +0 -241
  949. package/dist/solutions-components/calcite-select.entry.js +0 -231
  950. package/dist/solutions-components/calcite-sheet.entry.js +0 -223
  951. package/dist/solutions-components/calcite-shell-center-row.entry.js +0 -66
  952. package/dist/solutions-components/calcite-shell-panel.entry.js +0 -410
  953. package/dist/solutions-components/calcite-shell.entry.js +0 -170
  954. package/dist/solutions-components/calcite-slider.entry.js +0 -840
  955. package/dist/solutions-components/calcite-sortable-list.entry.js +0 -166
  956. package/dist/solutions-components/calcite-split-button.entry.js +0 -112
  957. package/dist/solutions-components/calcite-stack.entry.js +0 -70
  958. package/dist/solutions-components/calcite-stepper-item.entry.js +0 -238
  959. package/dist/solutions-components/calcite-stepper.entry.js +0 -377
  960. package/dist/solutions-components/calcite-switch.entry.js +0 -113
  961. package/dist/solutions-components/calcite-tab-nav.entry.js +0 -259
  962. package/dist/solutions-components/calcite-tab-title.entry.js +0 -287
  963. package/dist/solutions-components/calcite-tab.entry.js +0 -108
  964. package/dist/solutions-components/calcite-table-cell.entry.js +0 -152
  965. package/dist/solutions-components/calcite-table-header.entry.js +0 -165
  966. package/dist/solutions-components/calcite-table-row.entry.js +0 -244
  967. package/dist/solutions-components/calcite-table.entry.js +0 -314
  968. package/dist/solutions-components/calcite-tabs.entry.js +0 -174
  969. package/dist/solutions-components/calcite-text-area.entry.js +0 -276
  970. package/dist/solutions-components/calcite-tile-select-group.entry.js +0 -39
  971. package/dist/solutions-components/calcite-tile-select.entry.js +0 -225
  972. package/dist/solutions-components/calcite-tile.entry.js +0 -75
  973. package/dist/solutions-components/calcite-time-picker.entry.js +0 -839
  974. package/dist/solutions-components/calcite-tip-group.entry.js +0 -21
  975. package/dist/solutions-components/calcite-tip-manager.entry.js +0 -227
  976. package/dist/solutions-components/calcite-tip.entry.js +0 -126
  977. package/dist/solutions-components/calcite-tooltip.entry.js +0 -434
  978. package/dist/solutions-components/calcite-tree-item.entry.js +0 -292
  979. package/dist/solutions-components/calcite-tree.entry.js +0 -311
  980. package/dist/solutions-components/calcite-value-list-item.entry.js +0 -153
  981. package/dist/solutions-components/calcite-value-list.entry.js +0 -322
  982. package/dist/solutions-components/card-manager.entry.js +0 -103
  983. package/dist/solutions-components/common-7e0dcaa2.js +0 -295
  984. package/dist/solutions-components/component-edd2c3cd.js +0 -30
  985. package/dist/solutions-components/conditionalSlot-a395417e.js +0 -60
  986. package/dist/solutions-components/consent-manager.entry.js +0 -2139
  987. package/dist/solutions-components/create-feature.entry.js +0 -259
  988. package/dist/solutions-components/crowdsource-manager.entry.js +0 -494
  989. package/dist/solutions-components/crowdsource-reporter.entry.js +0 -557
  990. package/dist/solutions-components/cs-04f36d01.js +0 -146
  991. package/dist/solutions-components/da-5a3b8600.js +0 -65
  992. package/dist/solutions-components/date-74c7f03b.js +0 -245
  993. package/dist/solutions-components/de-579cda2e.js +0 -90
  994. package/dist/solutions-components/de-at-52bf1c4c.js +0 -89
  995. package/dist/solutions-components/de-ch-12d03480.js +0 -89
  996. package/dist/solutions-components/deduct-calculator.entry.js +0 -101
  997. package/dist/solutions-components/delete-button.entry.js +0 -146
  998. package/dist/solutions-components/dom-b91aa537.js +0 -1083
  999. package/dist/solutions-components/downloadUtils-b3220f86.js +0 -4240
  1000. package/dist/solutions-components/edit-card.entry.js +0 -224
  1001. package/dist/solutions-components/el-c18d3ea4.js +0 -65
  1002. package/dist/solutions-components/en-au-2599e6da.js +0 -65
  1003. package/dist/solutions-components/en-ca-8cfbe6bc.js +0 -64
  1004. package/dist/solutions-components/en-gb-5e4e8a1e.js +0 -68
  1005. package/dist/solutions-components/es-d86f9957.js +0 -65
  1006. package/dist/solutions-components/es-mx-f99d9fd1.js +0 -64
  1007. package/dist/solutions-components/esri-loader-af2bbfd5.js +0 -306
  1008. package/dist/solutions-components/et-8bf52e57.js +0 -91
  1009. package/dist/solutions-components/feature-comments.entry.js +0 -56
  1010. package/dist/solutions-components/feature-form-flow-item.entry.js +0 -56
  1011. package/dist/solutions-components/feature-list.entry.js +0 -195
  1012. package/dist/solutions-components/features-flow-item.entry.js +0 -56
  1013. package/dist/solutions-components/fi-aeb49e52.js +0 -114
  1014. package/dist/solutions-components/filter-0d00d2e2.js +0 -46
  1015. package/dist/solutions-components/floating-ui-b3256614.js +0 -2342
  1016. package/dist/solutions-components/floor-filter.entry.js +0 -107
  1017. package/dist/solutions-components/focusTrapComponent-2fe6623b.js +0 -1023
  1018. package/dist/solutions-components/form-f2181470.js +0 -307
  1019. package/dist/solutions-components/fr-6200cc01.js +0 -67
  1020. package/dist/solutions-components/fr-ch-df62bb30.js +0 -65
  1021. package/dist/solutions-components/guid-b75a5f7b.js +0 -24
  1022. package/dist/solutions-components/he-07ace6cb.js +0 -104
  1023. package/dist/solutions-components/helpers-85ca7251.js +0 -807
  1024. package/dist/solutions-components/hi-5aa9519e.js +0 -64
  1025. package/dist/solutions-components/hr-e0614bed.js +0 -79
  1026. package/dist/solutions-components/html2canvas-d52e7c8d.js +0 -7845
  1027. package/dist/solutions-components/hu-732fe37c.js +0 -87
  1028. package/dist/solutions-components/id-0832fc24.js +0 -65
  1029. package/dist/solutions-components/index-5110a27a.js +0 -71
  1030. package/dist/solutions-components/index-7fc1cba9.js +0 -41502
  1031. package/dist/solutions-components/index-91eeaf01.js +0 -199
  1032. package/dist/solutions-components/index-a1e91462.js +0 -2105
  1033. package/dist/solutions-components/index-b1fb529b.js +0 -1956
  1034. package/dist/solutions-components/index-bdfaac50.js +0 -4145
  1035. package/dist/solutions-components/index-d8ff08ed.js +0 -204
  1036. package/dist/solutions-components/index.es-3db60115.js +0 -11256
  1037. package/dist/solutions-components/info-card.entry.js +0 -316
  1038. package/dist/solutions-components/instant-apps-ckeditor-wrapper.entry.js +0 -121
  1039. package/dist/solutions-components/instant-apps-control-panel.entry.js +0 -94
  1040. package/dist/solutions-components/instant-apps-export.entry.js +0 -888
  1041. package/dist/solutions-components/instant-apps-filter-list.entry.js +0 -1055
  1042. package/dist/solutions-components/instant-apps-header.entry.js +0 -124
  1043. package/dist/solutions-components/instant-apps-interactive-legend-classic.entry.js +0 -1604
  1044. package/dist/solutions-components/instant-apps-interactive-legend-count.entry.js +0 -100
  1045. package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element-caption.entry.js +0 -53
  1046. package/dist/solutions-components/instant-apps-interactive-legend-group-legend-element.entry.js +0 -52
  1047. package/dist/solutions-components/instant-apps-interactive-legend-layer-element-caption.entry.js +0 -51
  1048. package/dist/solutions-components/instant-apps-interactive-legend-layer-element.entry.js +0 -53
  1049. package/dist/solutions-components/instant-apps-interactive-legend-legend-element-caption.entry.js +0 -100
  1050. package/dist/solutions-components/instant-apps-interactive-legend-legend-element.entry.js +0 -61
  1051. package/dist/solutions-components/instant-apps-interactive-legend-relationship.entry.js +0 -548
  1052. package/dist/solutions-components/instant-apps-interactive-legend.entry.js +0 -112
  1053. package/dist/solutions-components/instant-apps-keyboard-shortcuts.entry.js +0 -139
  1054. package/dist/solutions-components/instant-apps-landing-page.entry.js +0 -114
  1055. package/dist/solutions-components/instant-apps-language-switcher.entry.js +0 -173
  1056. package/dist/solutions-components/instant-apps-language-translator-item.entry.js +0 -380
  1057. package/dist/solutions-components/instant-apps-language-translator-search.entry.js +0 -101
  1058. package/dist/solutions-components/instant-apps-language-translator.entry.js +0 -286
  1059. package/dist/solutions-components/instant-apps-measurement-tool.entry.js +0 -135
  1060. package/dist/solutions-components/instant-apps-measurement.entry.js +0 -66
  1061. package/dist/solutions-components/instant-apps-popover.entry.js +0 -74
  1062. package/dist/solutions-components/instant-apps-popovers.entry.js +0 -88
  1063. package/dist/solutions-components/instant-apps-scoreboard.entry.js +0 -463
  1064. package/dist/solutions-components/instant-apps-social-share.entry.js +0 -511
  1065. package/dist/solutions-components/instant-apps-splash.entry.js +0 -144
  1066. package/dist/solutions-components/interactive-71585ecc.js +0 -139
  1067. package/dist/solutions-components/interfaces-586e863c.js +0 -80
  1068. package/dist/solutions-components/it-142bc820.js +0 -65
  1069. package/dist/solutions-components/it-ch-1ad1f0ac.js +0 -65
  1070. package/dist/solutions-components/ja-6a33e9d4.js +0 -71
  1071. package/dist/solutions-components/json-editor.entry.js +0 -402
  1072. package/dist/solutions-components/key-9a10d862.js +0 -44
  1073. package/dist/solutions-components/ko-d61df01d.js +0 -71
  1074. package/dist/solutions-components/label-16184ce7.js +0 -179
  1075. package/dist/solutions-components/languageSwitcher-2a9037e5.js +0 -55
  1076. package/dist/solutions-components/languageUtil-71a7a914.js +0 -87
  1077. package/dist/solutions-components/layer-list.entry.js +0 -203
  1078. package/dist/solutions-components/layer-table.entry.js +0 -1483
  1079. package/dist/solutions-components/layout-manager.entry.js +0 -91
  1080. package/dist/solutions-components/list-flow-item.entry.js +0 -56
  1081. package/dist/solutions-components/loadModules-827c5581.js +0 -28
  1082. package/dist/solutions-components/loadModules-acccbc1c.js +0 -21
  1083. package/dist/solutions-components/loadable-aea90723.js +0 -92
  1084. package/dist/solutions-components/locale-4cfbae3e.js +0 -86
  1085. package/dist/solutions-components/locale-857f39cf.js +0 -572
  1086. package/dist/solutions-components/locale-d9463a95.js +0 -148
  1087. package/dist/solutions-components/location-flow-item.entry.js +0 -56
  1088. package/dist/solutions-components/lodash-98e4b7d0.js +0 -18025
  1089. package/dist/solutions-components/lt-652c530a.js +0 -96
  1090. package/dist/solutions-components/lv-84e48ed0.js +0 -65
  1091. package/dist/solutions-components/map-card.entry.js +0 -188
  1092. package/dist/solutions-components/map-draw-tools.entry.js +0 -354
  1093. package/dist/solutions-components/map-fullscreen.entry.js +0 -112
  1094. package/dist/solutions-components/map-layer-picker.entry.js +0 -342
  1095. package/dist/solutions-components/map-legend.entry.js +0 -105
  1096. package/dist/solutions-components/map-picker.entry.js +0 -170
  1097. package/dist/solutions-components/map-search.entry.js +0 -180
  1098. package/dist/solutions-components/map-select-tools.entry.js +0 -794
  1099. package/dist/solutions-components/map-tools.entry.js +0 -371
  1100. package/dist/solutions-components/mapViewUtils-436a516e.js +0 -261
  1101. package/dist/solutions-components/math-efada7a9.js +0 -54
  1102. package/dist/solutions-components/mk-bbf2ee01.js +0 -65
  1103. package/dist/solutions-components/mode-f9bfc4e9.js +0 -25
  1104. package/dist/solutions-components/nb-ccfaa0f7.js +0 -66
  1105. package/dist/solutions-components/nl-4bc56289.js +0 -66
  1106. package/dist/solutions-components/observers-5ba39eee.js +0 -56
  1107. package/dist/solutions-components/openCloseComponent-b4b3788b.js +0 -138
  1108. package/dist/solutions-components/parser-87982ce2.js +0 -1654
  1109. package/dist/solutions-components/pci-calculator.entry.js +0 -113
  1110. package/dist/solutions-components/pciUtils-73d4b6b4.js +0 -844
  1111. package/dist/solutions-components/pdf-download.entry.js +0 -355
  1112. package/dist/solutions-components/pl-1f435988.js +0 -113
  1113. package/dist/solutions-components/popupUtils-b61d7ffd.js +0 -94
  1114. package/dist/solutions-components/pt-4a05a00d.js +0 -66
  1115. package/dist/solutions-components/pt-br-9720547b.js +0 -64
  1116. package/dist/solutions-components/public-notification.entry.js +0 -886
  1117. package/dist/solutions-components/publicNotificationStore-208e26f0.js +0 -45
  1118. package/dist/solutions-components/purify-909c20fa.js +0 -1713
  1119. package/dist/solutions-components/queryUtils-2529c537.js +0 -244
  1120. package/dist/solutions-components/refine-results-flow-item.entry.js +0 -56
  1121. package/dist/solutions-components/refine-selection.entry.js +0 -407
  1122. package/dist/solutions-components/resources-0f8db821.js +0 -45
  1123. package/dist/solutions-components/resources-20074cb1.js +0 -24
  1124. package/dist/solutions-components/resources-3709252d.js +0 -35
  1125. package/dist/solutions-components/resources-3c6947d3.js +0 -26
  1126. package/dist/solutions-components/resources-47b3ca40.js +0 -106
  1127. package/dist/solutions-components/resources-667afb5d.js +0 -27
  1128. package/dist/solutions-components/resources-88a48c5c.js +0 -20
  1129. package/dist/solutions-components/resources-9b2084c6.js +0 -24
  1130. package/dist/solutions-components/resources-9b7e72d5.js +0 -20
  1131. package/dist/solutions-components/resources-b0e2b809.js +0 -22
  1132. package/dist/solutions-components/resources-bb6c11c3.js +0 -49
  1133. package/dist/solutions-components/ro-f87076a1.js +0 -65
  1134. package/dist/solutions-components/ru-e69ca895.js +0 -125
  1135. package/dist/solutions-components/shadow-css-f5236d52.js +0 -481
  1136. package/dist/solutions-components/share-item.entry.js +0 -56
  1137. package/dist/solutions-components/shared-list-render-a572ef93.js +0 -348
  1138. package/dist/solutions-components/sk-d632e850.js +0 -147
  1139. package/dist/solutions-components/sl-5099fa6f.js +0 -167
  1140. package/dist/solutions-components/solution-configuration.entry.js +0 -906
  1141. package/dist/solutions-components/solution-contents.entry.js +0 -80
  1142. package/dist/solutions-components/solution-item-details.entry.js +0 -195
  1143. package/dist/solutions-components/solution-item-icon.entry.js +0 -323
  1144. package/dist/solutions-components/solution-item-sharing.entry.js +0 -135
  1145. package/dist/solutions-components/solution-item.entry.js +0 -102
  1146. package/dist/solutions-components/solution-organization-variables.entry.js +0 -91
  1147. package/dist/solutions-components/solution-resource-item.entry.js +0 -280
  1148. package/dist/solutions-components/solution-spatial-ref.entry.js +0 -154
  1149. package/dist/solutions-components/solution-store-31cccb90.js +0 -587
  1150. package/dist/solutions-components/solution-template-data.entry.js +0 -115
  1151. package/dist/solutions-components/solution-variables.entry.js +0 -103
  1152. package/dist/solutions-components/sortableComponent-e715a3dd.js +0 -3439
  1153. package/dist/solutions-components/spatial-ref.entry.js +0 -21296
  1154. package/dist/solutions-components/sr-944b7fd7.js +0 -100
  1155. package/dist/solutions-components/store-194c1a01.js +0 -87
  1156. package/dist/solutions-components/store-manager.entry.js +0 -61
  1157. package/dist/solutions-components/styles-367380b5.js +0 -11
  1158. package/dist/solutions-components/sv-e481fa6a.js +0 -70
  1159. package/dist/solutions-components/t9n-b39c5433.js +0 -98
  1160. package/dist/solutions-components/th-60961669.js +0 -64
  1161. package/dist/solutions-components/time-4a90614b.js +0 -274
  1162. package/dist/solutions-components/tr-eba8dd86.js +0 -65
  1163. package/dist/solutions-components/uk-ec375ce0.js +0 -103
  1164. package/dist/solutions-components/utils-32df4a1e.js +0 -133
  1165. package/dist/solutions-components/utils-57e2ccde.js +0 -61
  1166. package/dist/solutions-components/utils-7db4ecdc.js +0 -100
  1167. package/dist/solutions-components/utils-95e9dd51.js +0 -55
  1168. package/dist/solutions-components/utils-cfbe589a.js +0 -208
  1169. package/dist/solutions-components/vi-29345f79.js +0 -69
  1170. package/dist/solutions-components/zh-cn-32c7c714.js +0 -93
  1171. package/dist/solutions-components/zh-hk-7c770845.js +0 -70
  1172. package/dist/solutions-components/zh-tw-c318be5c.js +0 -91
@@ -1,1854 +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
- 'use strict';
7
-
8
- const index = require('./index-b53bfd7c.js');
9
- const form = require('./form-da52e819.js');
10
- const guid = require('./guid-ae73cd27.js');
11
- const interactive = require('./interactive-08e5bc95.js');
12
- const key = require('./key-86f4a0b0.js');
13
- const label = require('./label-24b05042.js');
14
- const loadable = require('./loadable-41446b78.js');
15
- const locale$1 = require('./locale-a615b02f.js');
16
- const focusTrapComponent = require('./focusTrapComponent-946b0666.js');
17
- const time = require('./time-4a9bf7e2.js');
18
- const t9n = require('./t9n-463dcbff.js');
19
- const openCloseComponent = require('./openCloseComponent-8d9cb545.js');
20
- const math = require('./math-318a1646.js');
21
- const component = require('./component-ac7c3bd8.js');
22
- const Validation = require('./Validation-20182093.js');
23
-
24
- /*!
25
- * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
26
- * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.
27
- * v2.4.0
28
- */
29
- const CSS = {
30
- toggleIcon: "toggle-icon",
31
- };
32
-
33
- var SECONDS_A_MINUTE = 60;
34
- var SECONDS_A_HOUR = SECONDS_A_MINUTE * 60;
35
- var SECONDS_A_DAY = SECONDS_A_HOUR * 24;
36
- var SECONDS_A_WEEK = SECONDS_A_DAY * 7;
37
- var MILLISECONDS_A_SECOND = 1e3;
38
- var MILLISECONDS_A_MINUTE = SECONDS_A_MINUTE * MILLISECONDS_A_SECOND;
39
- var MILLISECONDS_A_HOUR = SECONDS_A_HOUR * MILLISECONDS_A_SECOND;
40
- var MILLISECONDS_A_DAY = SECONDS_A_DAY * MILLISECONDS_A_SECOND;
41
- var MILLISECONDS_A_WEEK = SECONDS_A_WEEK * MILLISECONDS_A_SECOND; // English locales
42
-
43
- var MS = 'millisecond';
44
- var S = 'second';
45
- var MIN = 'minute';
46
- var H = 'hour';
47
- var D = 'day';
48
- var W = 'week';
49
- var M = 'month';
50
- var Q = 'quarter';
51
- var Y = 'year';
52
- var DATE = 'date';
53
- var FORMAT_DEFAULT = 'YYYY-MM-DDTHH:mm:ssZ';
54
- var INVALID_DATE_STRING = 'Invalid Date'; // regex
55
-
56
- var REGEX_PARSE = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/;
57
- var REGEX_FORMAT = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g;
58
-
59
- // English [en]
60
- // We don't need weekdaysShort, weekdaysMin, monthsShort in en.js locale
61
- const en = {
62
- name: 'en',
63
- weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),
64
- months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'),
65
- ordinal: function ordinal(n) {
66
- var s = ['th', 'st', 'nd', 'rd'];
67
- var v = n % 100;
68
- return "[" + n + (s[(v - 20) % 10] || s[v] || s[0]) + "]";
69
- }
70
- };
71
-
72
- const en$1 = /*#__PURE__*/Object.freeze({
73
- __proto__: null,
74
- 'default': en
75
- });
76
-
77
- var padStart = function padStart(string, length, pad) {
78
- var s = String(string);
79
- if (!s || s.length >= length) return string;
80
- return "" + Array(length + 1 - s.length).join(pad) + string;
81
- };
82
-
83
- var padZoneStr = function padZoneStr(instance) {
84
- var negMinutes = -instance.utcOffset();
85
- var minutes = Math.abs(negMinutes);
86
- var hourOffset = Math.floor(minutes / 60);
87
- var minuteOffset = minutes % 60;
88
- return "" + (negMinutes <= 0 ? '+' : '-') + padStart(hourOffset, 2, '0') + ":" + padStart(minuteOffset, 2, '0');
89
- };
90
-
91
- var monthDiff = function monthDiff(a, b) {
92
- // function from moment.js in order to keep the same result
93
- if (a.date() < b.date()) return -monthDiff(b, a);
94
- var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month());
95
- var anchor = a.clone().add(wholeMonthDiff, M);
96
- var c = b - anchor < 0;
97
- var anchor2 = a.clone().add(wholeMonthDiff + (c ? -1 : 1), M);
98
- return +(-(wholeMonthDiff + (b - anchor) / (c ? anchor - anchor2 : anchor2 - anchor)) || 0);
99
- };
100
-
101
- var absFloor = function absFloor(n) {
102
- return n < 0 ? Math.ceil(n) || 0 : Math.floor(n);
103
- };
104
-
105
- var prettyUnit = function prettyUnit(u) {
106
- var special = {
107
- M: M,
108
- y: Y,
109
- w: W,
110
- d: D,
111
- D: DATE,
112
- h: H,
113
- m: MIN,
114
- s: S,
115
- ms: MS,
116
- Q: Q
117
- };
118
- return special[u] || String(u || '').toLowerCase().replace(/s$/, '');
119
- };
120
-
121
- var isUndefined = function isUndefined(s) {
122
- return s === undefined;
123
- };
124
-
125
- const U = {
126
- s: padStart,
127
- z: padZoneStr,
128
- m: monthDiff,
129
- a: absFloor,
130
- p: prettyUnit,
131
- u: isUndefined
132
- };
133
-
134
- var L = 'en'; // global locale
135
-
136
- var Ls = {}; // global loaded locale
137
-
138
- Ls[L] = en;
139
- var IS_DAYJS = '$isDayjsObject'; // eslint-disable-next-line no-use-before-define
140
-
141
- var isDayjs = function isDayjs(d) {
142
- return d instanceof Dayjs || !!(d && d[IS_DAYJS]);
143
- };
144
-
145
- var parseLocale = function parseLocale(preset, object, isLocal) {
146
- var l;
147
- if (!preset) return L;
148
-
149
- if (typeof preset === 'string') {
150
- var presetLower = preset.toLowerCase();
151
-
152
- if (Ls[presetLower]) {
153
- l = presetLower;
154
- }
155
-
156
- if (object) {
157
- Ls[presetLower] = object;
158
- l = presetLower;
159
- }
160
-
161
- var presetSplit = preset.split('-');
162
-
163
- if (!l && presetSplit.length > 1) {
164
- return parseLocale(presetSplit[0]);
165
- }
166
- } else {
167
- var name = preset.name;
168
- Ls[name] = preset;
169
- l = name;
170
- }
171
-
172
- if (!isLocal && l) L = l;
173
- return l || !isLocal && L;
174
- };
175
-
176
- var dayjs = function dayjs(date, c) {
177
- if (isDayjs(date)) {
178
- return date.clone();
179
- } // eslint-disable-next-line no-nested-ternary
180
-
181
-
182
- var cfg = typeof c === 'object' ? c : {};
183
- cfg.date = date;
184
- cfg.args = arguments; // eslint-disable-line prefer-rest-params
185
-
186
- return new Dayjs(cfg); // eslint-disable-line no-use-before-define
187
- };
188
-
189
- var wrapper = function wrapper(date, instance) {
190
- return dayjs(date, {
191
- locale: instance.$L,
192
- utc: instance.$u,
193
- x: instance.$x,
194
- $offset: instance.$offset // todo: refactor; do not use this.$offset in you code
195
-
196
- });
197
- };
198
-
199
- var Utils = U; // for plugin use
200
-
201
- Utils.l = parseLocale;
202
- Utils.i = isDayjs;
203
- Utils.w = wrapper;
204
-
205
- var parseDate = function parseDate(cfg) {
206
- var date = cfg.date,
207
- utc = cfg.utc;
208
- if (date === null) return new Date(NaN); // null is invalid
209
-
210
- if (Utils.u(date)) return new Date(); // today
211
-
212
- if (date instanceof Date) return new Date(date);
213
-
214
- if (typeof date === 'string' && !/Z$/i.test(date)) {
215
- var d = date.match(REGEX_PARSE);
216
-
217
- if (d) {
218
- var m = d[2] - 1 || 0;
219
- var ms = (d[7] || '0').substring(0, 3);
220
-
221
- if (utc) {
222
- return new Date(Date.UTC(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms));
223
- }
224
-
225
- return new Date(d[1], m, d[3] || 1, d[4] || 0, d[5] || 0, d[6] || 0, ms);
226
- }
227
- }
228
-
229
- return new Date(date); // everything else
230
- };
231
-
232
- var Dayjs = /*#__PURE__*/function () {
233
- function Dayjs(cfg) {
234
- this.$L = parseLocale(cfg.locale, null, true);
235
- this.parse(cfg); // for plugin
236
-
237
- this.$x = this.$x || cfg.x || {};
238
- this[IS_DAYJS] = true;
239
- }
240
-
241
- var _proto = Dayjs.prototype;
242
-
243
- _proto.parse = function parse(cfg) {
244
- this.$d = parseDate(cfg);
245
- this.init();
246
- };
247
-
248
- _proto.init = function init() {
249
- var $d = this.$d;
250
- this.$y = $d.getFullYear();
251
- this.$M = $d.getMonth();
252
- this.$D = $d.getDate();
253
- this.$W = $d.getDay();
254
- this.$H = $d.getHours();
255
- this.$m = $d.getMinutes();
256
- this.$s = $d.getSeconds();
257
- this.$ms = $d.getMilliseconds();
258
- } // eslint-disable-next-line class-methods-use-this
259
- ;
260
-
261
- _proto.$utils = function $utils() {
262
- return Utils;
263
- };
264
-
265
- _proto.isValid = function isValid() {
266
- return !(this.$d.toString() === INVALID_DATE_STRING);
267
- };
268
-
269
- _proto.isSame = function isSame(that, units) {
270
- var other = dayjs(that);
271
- return this.startOf(units) <= other && other <= this.endOf(units);
272
- };
273
-
274
- _proto.isAfter = function isAfter(that, units) {
275
- return dayjs(that) < this.startOf(units);
276
- };
277
-
278
- _proto.isBefore = function isBefore(that, units) {
279
- return this.endOf(units) < dayjs(that);
280
- };
281
-
282
- _proto.$g = function $g(input, get, set) {
283
- if (Utils.u(input)) return this[get];
284
- return this.set(set, input);
285
- };
286
-
287
- _proto.unix = function unix() {
288
- return Math.floor(this.valueOf() / 1000);
289
- };
290
-
291
- _proto.valueOf = function valueOf() {
292
- // timezone(hour) * 60 * 60 * 1000 => ms
293
- return this.$d.getTime();
294
- };
295
-
296
- _proto.startOf = function startOf(units, _startOf) {
297
- var _this = this;
298
-
299
- // startOf -> endOf
300
- var isStartOf = !Utils.u(_startOf) ? _startOf : true;
301
- var unit = Utils.p(units);
302
-
303
- var instanceFactory = function instanceFactory(d, m) {
304
- var ins = Utils.w(_this.$u ? Date.UTC(_this.$y, m, d) : new Date(_this.$y, m, d), _this);
305
- return isStartOf ? ins : ins.endOf(D);
306
- };
307
-
308
- var instanceFactorySet = function instanceFactorySet(method, slice) {
309
- var argumentStart = [0, 0, 0, 0];
310
- var argumentEnd = [23, 59, 59, 999];
311
- return Utils.w(_this.toDate()[method].apply( // eslint-disable-line prefer-spread
312
- _this.toDate('s'), (isStartOf ? argumentStart : argumentEnd).slice(slice)), _this);
313
- };
314
-
315
- var $W = this.$W,
316
- $M = this.$M,
317
- $D = this.$D;
318
- var utcPad = "set" + (this.$u ? 'UTC' : '');
319
-
320
- switch (unit) {
321
- case Y:
322
- return isStartOf ? instanceFactory(1, 0) : instanceFactory(31, 11);
323
-
324
- case M:
325
- return isStartOf ? instanceFactory(1, $M) : instanceFactory(0, $M + 1);
326
-
327
- case W:
328
- {
329
- var weekStart = this.$locale().weekStart || 0;
330
- var gap = ($W < weekStart ? $W + 7 : $W) - weekStart;
331
- return instanceFactory(isStartOf ? $D - gap : $D + (6 - gap), $M);
332
- }
333
-
334
- case D:
335
- case DATE:
336
- return instanceFactorySet(utcPad + "Hours", 0);
337
-
338
- case H:
339
- return instanceFactorySet(utcPad + "Minutes", 1);
340
-
341
- case MIN:
342
- return instanceFactorySet(utcPad + "Seconds", 2);
343
-
344
- case S:
345
- return instanceFactorySet(utcPad + "Milliseconds", 3);
346
-
347
- default:
348
- return this.clone();
349
- }
350
- };
351
-
352
- _proto.endOf = function endOf(arg) {
353
- return this.startOf(arg, false);
354
- };
355
-
356
- _proto.$set = function $set(units, _int) {
357
- var _C$D$C$DATE$C$M$C$Y$C;
358
-
359
- // private set
360
- var unit = Utils.p(units);
361
- var utcPad = "set" + (this.$u ? 'UTC' : '');
362
- var name = (_C$D$C$DATE$C$M$C$Y$C = {}, _C$D$C$DATE$C$M$C$Y$C[D] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[DATE] = utcPad + "Date", _C$D$C$DATE$C$M$C$Y$C[M] = utcPad + "Month", _C$D$C$DATE$C$M$C$Y$C[Y] = utcPad + "FullYear", _C$D$C$DATE$C$M$C$Y$C[H] = utcPad + "Hours", _C$D$C$DATE$C$M$C$Y$C[MIN] = utcPad + "Minutes", _C$D$C$DATE$C$M$C$Y$C[S] = utcPad + "Seconds", _C$D$C$DATE$C$M$C$Y$C[MS] = utcPad + "Milliseconds", _C$D$C$DATE$C$M$C$Y$C)[unit];
363
- var arg = unit === D ? this.$D + (_int - this.$W) : _int;
364
-
365
- if (unit === M || unit === Y) {
366
- // clone is for badMutable plugin
367
- var date = this.clone().set(DATE, 1);
368
- date.$d[name](arg);
369
- date.init();
370
- this.$d = date.set(DATE, Math.min(this.$D, date.daysInMonth())).$d;
371
- } else if (name) this.$d[name](arg);
372
-
373
- this.init();
374
- return this;
375
- };
376
-
377
- _proto.set = function set(string, _int2) {
378
- return this.clone().$set(string, _int2);
379
- };
380
-
381
- _proto.get = function get(unit) {
382
- return this[Utils.p(unit)]();
383
- };
384
-
385
- _proto.add = function add(number, units) {
386
- var _this2 = this,
387
- _C$MIN$C$H$C$S$unit;
388
-
389
- number = Number(number); // eslint-disable-line no-param-reassign
390
-
391
- var unit = Utils.p(units);
392
-
393
- var instanceFactorySet = function instanceFactorySet(n) {
394
- var d = dayjs(_this2);
395
- return Utils.w(d.date(d.date() + Math.round(n * number)), _this2);
396
- };
397
-
398
- if (unit === M) {
399
- return this.set(M, this.$M + number);
400
- }
401
-
402
- if (unit === Y) {
403
- return this.set(Y, this.$y + number);
404
- }
405
-
406
- if (unit === D) {
407
- return instanceFactorySet(1);
408
- }
409
-
410
- if (unit === W) {
411
- return instanceFactorySet(7);
412
- }
413
-
414
- var step = (_C$MIN$C$H$C$S$unit = {}, _C$MIN$C$H$C$S$unit[MIN] = MILLISECONDS_A_MINUTE, _C$MIN$C$H$C$S$unit[H] = MILLISECONDS_A_HOUR, _C$MIN$C$H$C$S$unit[S] = MILLISECONDS_A_SECOND, _C$MIN$C$H$C$S$unit)[unit] || 1; // ms
415
-
416
- var nextTimeStamp = this.$d.getTime() + number * step;
417
- return Utils.w(nextTimeStamp, this);
418
- };
419
-
420
- _proto.subtract = function subtract(number, string) {
421
- return this.add(number * -1, string);
422
- };
423
-
424
- _proto.format = function format(formatStr) {
425
- var _this3 = this;
426
-
427
- var locale = this.$locale();
428
- if (!this.isValid()) return locale.invalidDate || INVALID_DATE_STRING;
429
- var str = formatStr || FORMAT_DEFAULT;
430
- var zoneStr = Utils.z(this);
431
- var $H = this.$H,
432
- $m = this.$m,
433
- $M = this.$M;
434
- var weekdays = locale.weekdays,
435
- months = locale.months,
436
- meridiem = locale.meridiem;
437
-
438
- var getShort = function getShort(arr, index, full, length) {
439
- return arr && (arr[index] || arr(_this3, str)) || full[index].slice(0, length);
440
- };
441
-
442
- var get$H = function get$H(num) {
443
- return Utils.s($H % 12 || 12, num, '0');
444
- };
445
-
446
- var meridiemFunc = meridiem || function (hour, minute, isLowercase) {
447
- var m = hour < 12 ? 'AM' : 'PM';
448
- return isLowercase ? m.toLowerCase() : m;
449
- };
450
-
451
- var matches = function matches(match) {
452
- switch (match) {
453
- case 'YY':
454
- return String(_this3.$y).slice(-2);
455
-
456
- case 'YYYY':
457
- return Utils.s(_this3.$y, 4, '0');
458
-
459
- case 'M':
460
- return $M + 1;
461
-
462
- case 'MM':
463
- return Utils.s($M + 1, 2, '0');
464
-
465
- case 'MMM':
466
- return getShort(locale.monthsShort, $M, months, 3);
467
-
468
- case 'MMMM':
469
- return getShort(months, $M);
470
-
471
- case 'D':
472
- return _this3.$D;
473
-
474
- case 'DD':
475
- return Utils.s(_this3.$D, 2, '0');
476
-
477
- case 'd':
478
- return String(_this3.$W);
479
-
480
- case 'dd':
481
- return getShort(locale.weekdaysMin, _this3.$W, weekdays, 2);
482
-
483
- case 'ddd':
484
- return getShort(locale.weekdaysShort, _this3.$W, weekdays, 3);
485
-
486
- case 'dddd':
487
- return weekdays[_this3.$W];
488
-
489
- case 'H':
490
- return String($H);
491
-
492
- case 'HH':
493
- return Utils.s($H, 2, '0');
494
-
495
- case 'h':
496
- return get$H(1);
497
-
498
- case 'hh':
499
- return get$H(2);
500
-
501
- case 'a':
502
- return meridiemFunc($H, $m, true);
503
-
504
- case 'A':
505
- return meridiemFunc($H, $m, false);
506
-
507
- case 'm':
508
- return String($m);
509
-
510
- case 'mm':
511
- return Utils.s($m, 2, '0');
512
-
513
- case 's':
514
- return String(_this3.$s);
515
-
516
- case 'ss':
517
- return Utils.s(_this3.$s, 2, '0');
518
-
519
- case 'SSS':
520
- return Utils.s(_this3.$ms, 3, '0');
521
-
522
- case 'Z':
523
- return zoneStr;
524
- // 'ZZ' logic below
525
-
526
- default:
527
- break;
528
- }
529
-
530
- return null;
531
- };
532
-
533
- return str.replace(REGEX_FORMAT, function (match, $1) {
534
- return $1 || matches(match) || zoneStr.replace(':', '');
535
- }); // 'ZZ'
536
- };
537
-
538
- _proto.utcOffset = function utcOffset() {
539
- // Because a bug at FF24, we're rounding the timezone offset around 15 minutes
540
- // https://github.com/moment/moment/pull/1871
541
- return -Math.round(this.$d.getTimezoneOffset() / 15) * 15;
542
- };
543
-
544
- _proto.diff = function diff(input, units, _float) {
545
- var _this4 = this;
546
-
547
- var unit = Utils.p(units);
548
- var that = dayjs(input);
549
- var zoneDelta = (that.utcOffset() - this.utcOffset()) * MILLISECONDS_A_MINUTE;
550
- var diff = this - that;
551
-
552
- var getMonth = function getMonth() {
553
- return Utils.m(_this4, that);
554
- };
555
-
556
- var result;
557
-
558
- switch (unit) {
559
- case Y:
560
- result = getMonth() / 12;
561
- break;
562
-
563
- case M:
564
- result = getMonth();
565
- break;
566
-
567
- case Q:
568
- result = getMonth() / 3;
569
- break;
570
-
571
- case W:
572
- result = (diff - zoneDelta) / MILLISECONDS_A_WEEK;
573
- break;
574
-
575
- case D:
576
- result = (diff - zoneDelta) / MILLISECONDS_A_DAY;
577
- break;
578
-
579
- case H:
580
- result = diff / MILLISECONDS_A_HOUR;
581
- break;
582
-
583
- case MIN:
584
- result = diff / MILLISECONDS_A_MINUTE;
585
- break;
586
-
587
- case S:
588
- result = diff / MILLISECONDS_A_SECOND;
589
- break;
590
-
591
- default:
592
- result = diff; // milliseconds
593
-
594
- break;
595
- }
596
-
597
- return _float ? result : Utils.a(result);
598
- };
599
-
600
- _proto.daysInMonth = function daysInMonth() {
601
- return this.endOf(M).$D;
602
- };
603
-
604
- _proto.$locale = function $locale() {
605
- // get locale object
606
- return Ls[this.$L];
607
- };
608
-
609
- _proto.locale = function locale(preset, object) {
610
- if (!preset) return this.$L;
611
- var that = this.clone();
612
- var nextLocaleName = parseLocale(preset, object, true);
613
- if (nextLocaleName) that.$L = nextLocaleName;
614
- return that;
615
- };
616
-
617
- _proto.clone = function clone() {
618
- return Utils.w(this.$d, this);
619
- };
620
-
621
- _proto.toDate = function toDate() {
622
- return new Date(this.valueOf());
623
- };
624
-
625
- _proto.toJSON = function toJSON() {
626
- return this.isValid() ? this.toISOString() : null;
627
- };
628
-
629
- _proto.toISOString = function toISOString() {
630
- // ie 8 return
631
- // new Dayjs(this.valueOf() + this.$d.getTimezoneOffset() * 60000)
632
- // .format('YYYY-MM-DDTHH:mm:ss.SSS[Z]')
633
- return this.$d.toISOString();
634
- };
635
-
636
- _proto.toString = function toString() {
637
- return this.$d.toUTCString();
638
- };
639
-
640
- return Dayjs;
641
- }();
642
-
643
- var proto = Dayjs.prototype;
644
- dayjs.prototype = proto;
645
- [['$ms', MS], ['$s', S], ['$m', MIN], ['$H', H], ['$W', D], ['$M', M], ['$y', Y], ['$D', DATE]].forEach(function (g) {
646
- proto[g[1]] = function (input) {
647
- return this.$g(input, g[0], g[1]);
648
- };
649
- });
650
-
651
- dayjs.extend = function (plugin, option) {
652
- if (!plugin.$i) {
653
- // install plugin only once
654
- plugin(option, Dayjs, dayjs);
655
- plugin.$i = true;
656
- }
657
-
658
- return dayjs;
659
- };
660
-
661
- dayjs.locale = parseLocale;
662
- dayjs.isDayjs = isDayjs;
663
-
664
- dayjs.unix = function (timestamp) {
665
- return dayjs(timestamp * 1e3);
666
- };
667
-
668
- dayjs.en = Ls[L];
669
- dayjs.Ls = Ls;
670
- dayjs.p = {};
671
-
672
- // eslint-disable-next-line import/prefer-default-export
673
- var t = function t(format) {
674
- return format.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (_, a, b) {
675
- return a || b.slice(1);
676
- });
677
- };
678
- var englishFormats = {
679
- LTS: 'h:mm:ss A',
680
- LT: 'h:mm A',
681
- L: 'MM/DD/YYYY',
682
- LL: 'MMMM D, YYYY',
683
- LLL: 'MMMM D, YYYY h:mm A',
684
- LLLL: 'dddd, MMMM D, YYYY h:mm A'
685
- };
686
- var u = function u(formatStr, formats) {
687
- return formatStr.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (_, a, b) {
688
- var B = b && b.toUpperCase();
689
- return a || formats[b] || englishFormats[b] || t(formats[B]);
690
- });
691
- };
692
-
693
- var formattingTokens = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g;
694
- var match1 = /\d/; // 0 - 9
695
-
696
- var match2 = /\d\d/; // 00 - 99
697
-
698
- var match3 = /\d{3}/; // 000 - 999
699
-
700
- var match4 = /\d{4}/; // 0000 - 9999
701
-
702
- var match1to2 = /\d\d?/; // 0 - 99
703
-
704
- var matchSigned = /[+-]?\d+/; // -inf - inf
705
-
706
- var matchOffset = /[+-]\d\d:?(\d\d)?|Z/; // +00:00 -00:00 +0000 or -0000 +00 or Z
707
-
708
- var matchWord = /\d*[^-_:/,()\s\d]+/; // Word
709
-
710
- var locale = {};
711
-
712
- var parseTwoDigitYear = function parseTwoDigitYear(input) {
713
- input = +input;
714
- return input + (input > 68 ? 1900 : 2000);
715
- };
716
-
717
- function offsetFromString(string) {
718
- if (!string) return 0;
719
- if (string === 'Z') return 0;
720
- var parts = string.match(/([+-]|\d\d)/g);
721
- var minutes = +(parts[1] * 60) + (+parts[2] || 0);
722
- return minutes === 0 ? 0 : parts[0] === '+' ? -minutes : minutes; // eslint-disable-line no-nested-ternary
723
- }
724
-
725
- var addInput = function addInput(property) {
726
- return function (input) {
727
- this[property] = +input;
728
- };
729
- };
730
-
731
- var zoneExpressions = [matchOffset, function (input) {
732
- var zone = this.zone || (this.zone = {});
733
- zone.offset = offsetFromString(input);
734
- }];
735
-
736
- var getLocalePart = function getLocalePart(name) {
737
- var part = locale[name];
738
- return part && (part.indexOf ? part : part.s.concat(part.f));
739
- };
740
-
741
- var meridiemMatch = function meridiemMatch(input, isLowerCase) {
742
- var isAfternoon;
743
- var _locale = locale,
744
- meridiem = _locale.meridiem;
745
-
746
- if (!meridiem) {
747
- isAfternoon = input === (isLowerCase ? 'pm' : 'PM');
748
- } else {
749
- for (var i = 1; i <= 24; i += 1) {
750
- // todo: fix input === meridiem(i, 0, isLowerCase)
751
- if (input.indexOf(meridiem(i, 0, isLowerCase)) > -1) {
752
- isAfternoon = i > 12;
753
- break;
754
- }
755
- }
756
- }
757
-
758
- return isAfternoon;
759
- };
760
-
761
- var expressions = {
762
- A: [matchWord, function (input) {
763
- this.afternoon = meridiemMatch(input, false);
764
- }],
765
- a: [matchWord, function (input) {
766
- this.afternoon = meridiemMatch(input, true);
767
- }],
768
- S: [match1, function (input) {
769
- this.milliseconds = +input * 100;
770
- }],
771
- SS: [match2, function (input) {
772
- this.milliseconds = +input * 10;
773
- }],
774
- SSS: [match3, function (input) {
775
- this.milliseconds = +input;
776
- }],
777
- s: [match1to2, addInput('seconds')],
778
- ss: [match1to2, addInput('seconds')],
779
- m: [match1to2, addInput('minutes')],
780
- mm: [match1to2, addInput('minutes')],
781
- H: [match1to2, addInput('hours')],
782
- h: [match1to2, addInput('hours')],
783
- HH: [match1to2, addInput('hours')],
784
- hh: [match1to2, addInput('hours')],
785
- D: [match1to2, addInput('day')],
786
- DD: [match2, addInput('day')],
787
- Do: [matchWord, function (input) {
788
- var _locale2 = locale,
789
- ordinal = _locale2.ordinal;
790
-
791
- var _input$match = input.match(/\d+/);
792
-
793
- this.day = _input$match[0];
794
- if (!ordinal) return;
795
-
796
- for (var i = 1; i <= 31; i += 1) {
797
- if (ordinal(i).replace(/\[|\]/g, '') === input) {
798
- this.day = i;
799
- }
800
- }
801
- }],
802
- M: [match1to2, addInput('month')],
803
- MM: [match2, addInput('month')],
804
- MMM: [matchWord, function (input) {
805
- var months = getLocalePart('months');
806
- var monthsShort = getLocalePart('monthsShort');
807
- var matchIndex = (monthsShort || months.map(function (_) {
808
- return _.slice(0, 3);
809
- })).indexOf(input) + 1;
810
-
811
- if (matchIndex < 1) {
812
- throw new Error();
813
- }
814
-
815
- this.month = matchIndex % 12 || matchIndex;
816
- }],
817
- MMMM: [matchWord, function (input) {
818
- var months = getLocalePart('months');
819
- var matchIndex = months.indexOf(input) + 1;
820
-
821
- if (matchIndex < 1) {
822
- throw new Error();
823
- }
824
-
825
- this.month = matchIndex % 12 || matchIndex;
826
- }],
827
- Y: [matchSigned, addInput('year')],
828
- YY: [match2, function (input) {
829
- this.year = parseTwoDigitYear(input);
830
- }],
831
- YYYY: [match4, addInput('year')],
832
- Z: zoneExpressions,
833
- ZZ: zoneExpressions
834
- };
835
-
836
- function correctHours(time) {
837
- var afternoon = time.afternoon;
838
-
839
- if (afternoon !== undefined) {
840
- var hours = time.hours;
841
-
842
- if (afternoon) {
843
- if (hours < 12) {
844
- time.hours += 12;
845
- }
846
- } else if (hours === 12) {
847
- time.hours = 0;
848
- }
849
-
850
- delete time.afternoon;
851
- }
852
- }
853
-
854
- function makeParser(format) {
855
- format = u(format, locale && locale.formats);
856
- var array = format.match(formattingTokens);
857
- var length = array.length;
858
-
859
- for (var i = 0; i < length; i += 1) {
860
- var token = array[i];
861
- var parseTo = expressions[token];
862
- var regex = parseTo && parseTo[0];
863
- var parser = parseTo && parseTo[1];
864
-
865
- if (parser) {
866
- array[i] = {
867
- regex: regex,
868
- parser: parser
869
- };
870
- } else {
871
- array[i] = token.replace(/^\[|\]$/g, '');
872
- }
873
- }
874
-
875
- return function (input) {
876
- var time = {};
877
-
878
- for (var _i = 0, start = 0; _i < length; _i += 1) {
879
- var _token = array[_i];
880
-
881
- if (typeof _token === 'string') {
882
- start += _token.length;
883
- } else {
884
- var _regex = _token.regex,
885
- _parser = _token.parser;
886
- var part = input.slice(start);
887
-
888
- var match = _regex.exec(part);
889
-
890
- var value = match[0];
891
-
892
- _parser.call(time, value);
893
-
894
- input = input.replace(value, '');
895
- }
896
- }
897
-
898
- correctHours(time);
899
- return time;
900
- };
901
- }
902
-
903
- var parseFormattedInput = function parseFormattedInput(input, format, utc) {
904
- try {
905
- if (['x', 'X'].indexOf(format) > -1) return new Date((format === 'X' ? 1000 : 1) * input);
906
- var parser = makeParser(format);
907
-
908
- var _parser2 = parser(input),
909
- year = _parser2.year,
910
- month = _parser2.month,
911
- day = _parser2.day,
912
- hours = _parser2.hours,
913
- minutes = _parser2.minutes,
914
- seconds = _parser2.seconds,
915
- milliseconds = _parser2.milliseconds,
916
- zone = _parser2.zone;
917
-
918
- var now = new Date();
919
- var d = day || (!year && !month ? now.getDate() : 1);
920
- var y = year || now.getFullYear();
921
- var M = 0;
922
-
923
- if (!(year && !month)) {
924
- M = month > 0 ? month - 1 : now.getMonth();
925
- }
926
-
927
- var h = hours || 0;
928
- var m = minutes || 0;
929
- var s = seconds || 0;
930
- var ms = milliseconds || 0;
931
-
932
- if (zone) {
933
- return new Date(Date.UTC(y, M, d, h, m, s, ms + zone.offset * 60 * 1000));
934
- }
935
-
936
- if (utc) {
937
- return new Date(Date.UTC(y, M, d, h, m, s, ms));
938
- }
939
-
940
- return new Date(y, M, d, h, m, s, ms);
941
- } catch (e) {
942
- return new Date(''); // Invalid Date
943
- }
944
- };
945
-
946
- const customParseFormat = (function (o, C, d) {
947
- d.p.customParseFormat = true;
948
-
949
- if (o && o.parseTwoDigitYear) {
950
- parseTwoDigitYear = o.parseTwoDigitYear;
951
- }
952
-
953
- var proto = C.prototype;
954
- var oldParse = proto.parse;
955
-
956
- proto.parse = function (cfg) {
957
- var date = cfg.date,
958
- utc = cfg.utc,
959
- args = cfg.args;
960
- this.$u = utc;
961
- var format = args[1];
962
-
963
- if (typeof format === 'string') {
964
- var isStrictWithoutLocale = args[2] === true;
965
- var isStrictWithLocale = args[3] === true;
966
- var isStrict = isStrictWithoutLocale || isStrictWithLocale;
967
- var pl = args[2];
968
-
969
- if (isStrictWithLocale) {
970
- pl = args[2];
971
- }
972
-
973
- locale = this.$locale();
974
-
975
- if (!isStrictWithoutLocale && pl) {
976
- locale = d.Ls[pl];
977
- }
978
-
979
- this.$d = parseFormattedInput(date, format, utc);
980
- this.init();
981
- if (pl && pl !== true) this.$L = this.locale(pl).$L; // use != to treat
982
- // input number 1410715640579 and format string '1410715640579' equal
983
- // eslint-disable-next-line eqeqeq
984
-
985
- if (isStrict && date != this.format(format)) {
986
- this.$d = new Date('');
987
- } // reset global locale to make parallel unit test
988
-
989
-
990
- locale = {};
991
- } else if (format instanceof Array) {
992
- var len = format.length;
993
-
994
- for (var i = 1; i <= len; i += 1) {
995
- args[1] = format[i - 1];
996
- var result = d.apply(this, args);
997
-
998
- if (result.isValid()) {
999
- this.$d = result.$d;
1000
- this.$L = result.$L;
1001
- this.init();
1002
- break;
1003
- }
1004
-
1005
- if (i === len) this.$d = new Date('');
1006
- }
1007
- } else {
1008
- oldParse.call(this, cfg);
1009
- }
1010
- };
1011
- });
1012
-
1013
- const localeData = (function (o, c, dayjs) {
1014
- // locale needed later
1015
- var proto = c.prototype;
1016
-
1017
- var getLocalePart = function getLocalePart(part) {
1018
- return part && (part.indexOf ? part : part.s);
1019
- };
1020
-
1021
- var getShort = function getShort(ins, target, full, num, localeOrder) {
1022
- var locale = ins.name ? ins : ins.$locale();
1023
- var targetLocale = getLocalePart(locale[target]);
1024
- var fullLocale = getLocalePart(locale[full]);
1025
- var result = targetLocale || fullLocale.map(function (f) {
1026
- return f.slice(0, num);
1027
- });
1028
- if (!localeOrder) return result;
1029
- var weekStart = locale.weekStart;
1030
- return result.map(function (_, index) {
1031
- return result[(index + (weekStart || 0)) % 7];
1032
- });
1033
- };
1034
-
1035
- var getDayjsLocaleObject = function getDayjsLocaleObject() {
1036
- return dayjs.Ls[dayjs.locale()];
1037
- };
1038
-
1039
- var getLongDateFormat = function getLongDateFormat(l, format) {
1040
- return l.formats[format] || t(l.formats[format.toUpperCase()]);
1041
- };
1042
-
1043
- var localeData = function localeData() {
1044
- var _this = this;
1045
-
1046
- return {
1047
- months: function months(instance) {
1048
- return instance ? instance.format('MMMM') : getShort(_this, 'months');
1049
- },
1050
- monthsShort: function monthsShort(instance) {
1051
- return instance ? instance.format('MMM') : getShort(_this, 'monthsShort', 'months', 3);
1052
- },
1053
- firstDayOfWeek: function firstDayOfWeek() {
1054
- return _this.$locale().weekStart || 0;
1055
- },
1056
- weekdays: function weekdays(instance) {
1057
- return instance ? instance.format('dddd') : getShort(_this, 'weekdays');
1058
- },
1059
- weekdaysMin: function weekdaysMin(instance) {
1060
- return instance ? instance.format('dd') : getShort(_this, 'weekdaysMin', 'weekdays', 2);
1061
- },
1062
- weekdaysShort: function weekdaysShort(instance) {
1063
- return instance ? instance.format('ddd') : getShort(_this, 'weekdaysShort', 'weekdays', 3);
1064
- },
1065
- longDateFormat: function longDateFormat(format) {
1066
- return getLongDateFormat(_this.$locale(), format);
1067
- },
1068
- meridiem: this.$locale().meridiem,
1069
- ordinal: this.$locale().ordinal
1070
- };
1071
- };
1072
-
1073
- proto.localeData = function () {
1074
- return localeData.bind(this)();
1075
- };
1076
-
1077
- dayjs.localeData = function () {
1078
- var localeObject = getDayjsLocaleObject();
1079
- return {
1080
- firstDayOfWeek: function firstDayOfWeek() {
1081
- return localeObject.weekStart || 0;
1082
- },
1083
- weekdays: function weekdays() {
1084
- return dayjs.weekdays();
1085
- },
1086
- weekdaysShort: function weekdaysShort() {
1087
- return dayjs.weekdaysShort();
1088
- },
1089
- weekdaysMin: function weekdaysMin() {
1090
- return dayjs.weekdaysMin();
1091
- },
1092
- months: function months() {
1093
- return dayjs.months();
1094
- },
1095
- monthsShort: function monthsShort() {
1096
- return dayjs.monthsShort();
1097
- },
1098
- longDateFormat: function longDateFormat(format) {
1099
- return getLongDateFormat(localeObject, format);
1100
- },
1101
- meridiem: localeObject.meridiem,
1102
- ordinal: localeObject.ordinal
1103
- };
1104
- };
1105
-
1106
- dayjs.months = function () {
1107
- return getShort(getDayjsLocaleObject(), 'months');
1108
- };
1109
-
1110
- dayjs.monthsShort = function () {
1111
- return getShort(getDayjsLocaleObject(), 'monthsShort', 'months', 3);
1112
- };
1113
-
1114
- dayjs.weekdays = function (localeOrder) {
1115
- return getShort(getDayjsLocaleObject(), 'weekdays', null, null, localeOrder);
1116
- };
1117
-
1118
- dayjs.weekdaysShort = function (localeOrder) {
1119
- return getShort(getDayjsLocaleObject(), 'weekdaysShort', 'weekdays', 3, localeOrder);
1120
- };
1121
-
1122
- dayjs.weekdaysMin = function (localeOrder) {
1123
- return getShort(getDayjsLocaleObject(), 'weekdaysMin', 'weekdays', 2, localeOrder);
1124
- };
1125
- });
1126
-
1127
- const localizedFormat = (function (o, c, d) {
1128
- var proto = c.prototype;
1129
- var oldFormat = proto.format;
1130
- d.en.formats = englishFormats;
1131
-
1132
- proto.format = function (formatStr) {
1133
- if (formatStr === void 0) {
1134
- formatStr = FORMAT_DEFAULT;
1135
- }
1136
-
1137
- var _this$$locale = this.$locale(),
1138
- _this$$locale$formats = _this$$locale.formats,
1139
- formats = _this$$locale$formats === void 0 ? {} : _this$$locale$formats;
1140
-
1141
- var result = u(formatStr, formats);
1142
- return oldFormat.call(this, result);
1143
- };
1144
- });
1145
-
1146
- // Plugin template from https://day.js.org/docs/en/plugin/plugin
1147
- const preParsePostFormat = (function (option, dayjsClass) {
1148
- var oldParse = dayjsClass.prototype.parse;
1149
-
1150
- dayjsClass.prototype.parse = function (cfg) {
1151
- if (typeof cfg.date === 'string') {
1152
- var locale = this.$locale();
1153
- cfg.date = locale && locale.preparse ? locale.preparse(cfg.date) : cfg.date;
1154
- } // original parse result
1155
-
1156
-
1157
- return oldParse.bind(this)(cfg);
1158
- }; // // overriding existing API
1159
- // // e.g. extend dayjs().format()
1160
-
1161
-
1162
- var oldFormat = dayjsClass.prototype.format;
1163
-
1164
- dayjsClass.prototype.format = function () {
1165
- for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1166
- args[_key] = arguments[_key];
1167
- }
1168
-
1169
- // original format result
1170
- var result = oldFormat.call.apply(oldFormat, [this].concat(args)); // return modified result
1171
-
1172
- var locale = this.$locale();
1173
- return locale && locale.postformat ? locale.postformat(result) : result;
1174
- };
1175
-
1176
- var oldFromTo = dayjsClass.prototype.fromToBase;
1177
-
1178
- if (oldFromTo) {
1179
- dayjsClass.prototype.fromToBase = function (input, withoutSuffix, instance, isFrom) {
1180
- var locale = this.$locale() || instance.$locale(); // original format result
1181
-
1182
- return oldFromTo.call(this, input, withoutSuffix, instance, isFrom, locale && locale.postformat);
1183
- };
1184
- }
1185
- });
1186
-
1187
- const updateLocale = (function (option, Dayjs, dayjs) {
1188
- dayjs.updateLocale = function (locale, customConfig) {
1189
- var localeList = dayjs.Ls;
1190
- var localeConfig = localeList[locale];
1191
- if (!localeConfig) return;
1192
- var customConfigKeys = customConfig ? Object.keys(customConfig) : [];
1193
- customConfigKeys.forEach(function (c) {
1194
- localeConfig[c] = customConfig[c];
1195
- });
1196
- return localeConfig; // eslint-disable-line consistent-return
1197
- };
1198
- });
1199
-
1200
- const inputTimePickerCss = ":host([disabled]){cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:inline-block;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}::slotted(input[slot=hidden-form-input]){margin:0 !important;opacity:0 !important;outline:none !important;padding:0 !important;position:absolute !important;inset:0 !important;transform:none !important;-webkit-appearance:none !important;z-index:-1 !important}:host([scale=s]){--calcite-toggle-spacing:0.5rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1rem)}:host([scale=m]){--calcite-toggle-spacing:0.75rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 1.5rem)}:host([scale=l]){--calcite-toggle-spacing:1rem;--calcite-internal-input-text-input-padding-inline-end:calc(var(--calcite-toggle-spacing) + 2rem)}.input-wrapper{position:relative}.toggle-icon{position:absolute;display:flex;cursor:pointer;align-items:center;inset-inline-end:0;inset-block:0;padding-inline:var(--calcite-toggle-spacing)}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:0.5rem}:host([scale=s]) .validation-container{padding-block-start:0.25rem}:host([hidden]){display:none}[hidden]{display:none}";
1201
-
1202
- // some bundlers (e.g., Webpack) need dynamic import paths to be static
1203
- const supportedDayjsLocaleToLocaleConfigImport = new Map([
1204
- ["ar", () => Promise.resolve().then(function () { return require('./ar-a694ca24.js'); })],
1205
- ["bg", () => Promise.resolve().then(function () { return require('./bg-62b6b3ba.js'); })],
1206
- ["bs", () => Promise.resolve().then(function () { return require('./bs-e673542b.js'); })],
1207
- ["ca", () => Promise.resolve().then(function () { return require('./ca-e4d2f562.js'); })],
1208
- ["cs", () => Promise.resolve().then(function () { return require('./cs-1ea34123.js'); })],
1209
- ["da", () => Promise.resolve().then(function () { return require('./da-199f5488.js'); })],
1210
- ["de", () => Promise.resolve().then(function () { return require('./de-222afa04.js'); })],
1211
- ["de-at", () => Promise.resolve().then(function () { return require('./de-at-a62870ea.js'); })],
1212
- ["de-ch", () => Promise.resolve().then(function () { return require('./de-ch-b0b46c1b.js'); })],
1213
- ["el", () => Promise.resolve().then(function () { return require('./el-934951a0.js'); })],
1214
- ["en", () => Promise.resolve().then(function () { return en$1; })],
1215
- ["en-au", () => Promise.resolve().then(function () { return require('./en-au-6872d248.js'); })],
1216
- ["en-ca", () => Promise.resolve().then(function () { return require('./en-ca-7133c4f2.js'); })],
1217
- ["en-gb", () => Promise.resolve().then(function () { return require('./en-gb-2c66b954.js'); })],
1218
- ["es", () => Promise.resolve().then(function () { return require('./es-48e65aa5.js'); })],
1219
- ["es-mx", () => Promise.resolve().then(function () { return require('./es-mx-46d70897.js'); })],
1220
- ["et", () => Promise.resolve().then(function () { return require('./et-63c5628d.js'); })],
1221
- ["fi", () => Promise.resolve().then(function () { return require('./fi-dc20f9ac.js'); })],
1222
- ["fr", () => Promise.resolve().then(function () { return require('./fr-7067996a.js'); })],
1223
- ["fr-ch", () => Promise.resolve().then(function () { return require('./fr-ch-dbd7ba02.js'); })],
1224
- ["he", () => Promise.resolve().then(function () { return require('./he-4eb6a5a9.js'); })],
1225
- ["hi", () => Promise.resolve().then(function () { return require('./hi-5563acd4.js'); })],
1226
- ["hr", () => Promise.resolve().then(function () { return require('./hr-7a0a4191.js'); })],
1227
- ["hu", () => Promise.resolve().then(function () { return require('./hu-0b69b8fb.js'); })],
1228
- ["id", () => Promise.resolve().then(function () { return require('./id-345dd5a9.js'); })],
1229
- ["it", () => Promise.resolve().then(function () { return require('./it-ac7cf3e5.js'); })],
1230
- ["it-ch", () => Promise.resolve().then(function () { return require('./it-ch-6f7209eb.js'); })],
1231
- ["ja", () => Promise.resolve().then(function () { return require('./ja-29e7b0a2.js'); })],
1232
- ["ko", () => Promise.resolve().then(function () { return require('./ko-aeebde8b.js'); })],
1233
- ["lt", () => Promise.resolve().then(function () { return require('./lt-6816d14c.js'); })],
1234
- ["lv", () => Promise.resolve().then(function () { return require('./lv-2c998515.js'); })],
1235
- ["mk", () => Promise.resolve().then(function () { return require('./mk-147994ea.js'); })],
1236
- ["nl", () => Promise.resolve().then(function () { return require('./nl-cb0a22c8.js'); })],
1237
- ["nb", () => Promise.resolve().then(function () { return require('./nb-f3d75f05.js'); })],
1238
- ["pl", () => Promise.resolve().then(function () { return require('./pl-ade28edd.js'); })],
1239
- ["pt", () => Promise.resolve().then(function () { return require('./pt-5543b782.js'); })],
1240
- ["pt-br", () => Promise.resolve().then(function () { return require('./pt-br-bdce1868.js'); })],
1241
- ["ro", () => Promise.resolve().then(function () { return require('./ro-f4bb9704.js'); })],
1242
- ["ru", () => Promise.resolve().then(function () { return require('./ru-ba86b627.js'); })],
1243
- ["sk", () => Promise.resolve().then(function () { return require('./sk-ac03aca5.js'); })],
1244
- ["sl", () => Promise.resolve().then(function () { return require('./sl-c68e3fd0.js'); })],
1245
- ["sr", () => Promise.resolve().then(function () { return require('./sr-80f65cf0.js'); })],
1246
- ["sv", () => Promise.resolve().then(function () { return require('./sv-eee15401.js'); })],
1247
- ["th", () => Promise.resolve().then(function () { return require('./th-f90768db.js'); })],
1248
- ["tr", () => Promise.resolve().then(function () { return require('./tr-37fec0b5.js'); })],
1249
- ["uk", () => Promise.resolve().then(function () { return require('./uk-3041a292.js'); })],
1250
- ["vi", () => Promise.resolve().then(function () { return require('./vi-57a02ad1.js'); })],
1251
- ["zh-cn", () => Promise.resolve().then(function () { return require('./zh-cn-165c486d.js'); })],
1252
- ["zh-hk", () => Promise.resolve().then(function () { return require('./zh-hk-0aa560a6.js'); })],
1253
- ["zh-tw", () => Promise.resolve().then(function () { return require('./zh-tw-42d975f0.js'); })],
1254
- ]);
1255
- dayjs.extend(customParseFormat);
1256
- dayjs.extend(localeData);
1257
- dayjs.extend(localizedFormat);
1258
- dayjs.extend(preParsePostFormat);
1259
- dayjs.extend(updateLocale);
1260
- const InputTimePicker = class {
1261
- constructor(hostRef) {
1262
- index.registerInstance(this, hostRef);
1263
- this.calciteInputTimePickerBeforeClose = index.createEvent(this, "calciteInputTimePickerBeforeClose", 6);
1264
- this.calciteInputTimePickerBeforeOpen = index.createEvent(this, "calciteInputTimePickerBeforeOpen", 6);
1265
- this.calciteInputTimePickerChange = index.createEvent(this, "calciteInputTimePickerChange", 7);
1266
- this.calciteInputTimePickerClose = index.createEvent(this, "calciteInputTimePickerClose", 6);
1267
- this.calciteInputTimePickerOpen = index.createEvent(this, "calciteInputTimePickerOpen", 6);
1268
- this.focusOnOpen = false;
1269
- this.dialogId = `time-picker-dialog--${guid.guid()}`;
1270
- /** whether the value of the input was changed as a result of user typing or not */
1271
- this.userChangedValue = false;
1272
- this.referenceElementId = `input-time-picker-${guid.guid()}`;
1273
- this.openTransitionProp = "opacity";
1274
- //--------------------------------------------------------------------------
1275
- //
1276
- // Event Listeners
1277
- //
1278
- //--------------------------------------------------------------------------
1279
- this.hostBlurHandler = () => {
1280
- const inputValue = this.calciteInputEl.value;
1281
- const delocalizedInputValue = this.delocalizeTimeString(inputValue);
1282
- if (!delocalizedInputValue) {
1283
- this.setValue("");
1284
- return;
1285
- }
1286
- if (delocalizedInputValue !== this.value) {
1287
- this.setValue(delocalizedInputValue);
1288
- }
1289
- const localizedTimeString = time.localizeTimeString({
1290
- value: this.value,
1291
- locale: this.effectiveLocale,
1292
- numberingSystem: this.numberingSystem,
1293
- includeSeconds: this.shouldIncludeSeconds(),
1294
- fractionalSecondDigits: math.decimalPlaces(this.step),
1295
- });
1296
- if (localizedTimeString !== inputValue) {
1297
- this.setInputValue(localizedTimeString);
1298
- }
1299
- this.deactivate();
1300
- };
1301
- this.calciteInternalInputFocusHandler = (event) => {
1302
- if (!this.readOnly) {
1303
- event.stopPropagation();
1304
- }
1305
- };
1306
- this.calciteInternalInputInputHandler = (event) => {
1307
- const { effectiveLocale: locale, numberingSystem } = this;
1308
- if (numberingSystem && numberingSystem !== "latn") {
1309
- const target = event.target;
1310
- locale$1.numberStringFormatter.numberFormatOptions = {
1311
- locale,
1312
- numberingSystem,
1313
- useGrouping: false,
1314
- };
1315
- const valueInNumberingSystem = locale$1.numberStringFormatter
1316
- .delocalize(target.value)
1317
- .split("")
1318
- .map((char) => key.numberKeys.includes(char)
1319
- ? locale$1.numberStringFormatter.numberFormatter.format(Number(char))
1320
- : char)
1321
- .join("");
1322
- this.setInputValue(valueInNumberingSystem);
1323
- }
1324
- };
1325
- this.timePickerChangeHandler = (event) => {
1326
- event.stopPropagation();
1327
- const target = event.target;
1328
- const value = target.value;
1329
- const includeSeconds = this.shouldIncludeSeconds();
1330
- this.setValue(time.toISOTimeString(value, includeSeconds));
1331
- this.setInputValue(time.localizeTimeString({
1332
- value,
1333
- locale: this.effectiveLocale,
1334
- numberingSystem: this.numberingSystem,
1335
- includeSeconds,
1336
- fractionalSecondDigits: math.decimalPlaces(this.step),
1337
- }));
1338
- };
1339
- this.popoverCloseHandler = () => {
1340
- focusTrapComponent.deactivateFocusTrap(this, {
1341
- onDeactivate: () => {
1342
- this.calciteInputEl.setFocus();
1343
- this.focusOnOpen = false;
1344
- },
1345
- });
1346
- this.open = false;
1347
- };
1348
- this.popoverOpenHandler = () => {
1349
- focusTrapComponent.activateFocusTrap(this, {
1350
- onActivate: () => {
1351
- if (this.focusOnOpen) {
1352
- this.calciteTimePickerEl.setFocus();
1353
- this.focusOnOpen = false;
1354
- }
1355
- },
1356
- });
1357
- };
1358
- this.keyDownHandler = (event) => {
1359
- const { defaultPrevented, key } = event;
1360
- if (defaultPrevented) {
1361
- return;
1362
- }
1363
- if (key === "Enter") {
1364
- if (form.submitForm(this)) {
1365
- event.preventDefault();
1366
- this.calciteInputEl.setFocus();
1367
- }
1368
- if (event.composedPath().includes(this.calciteTimePickerEl)) {
1369
- return;
1370
- }
1371
- const newValue = this.delocalizeTimeString(this.calciteInputEl.value);
1372
- if (time.isValidTime(newValue)) {
1373
- this.setValue(newValue);
1374
- const localizedTimeString = time.localizeTimeString({
1375
- value: this.value,
1376
- locale: this.effectiveLocale,
1377
- numberingSystem: this.numberingSystem,
1378
- includeSeconds: this.shouldIncludeSeconds(),
1379
- fractionalSecondDigits: math.decimalPlaces(this.step),
1380
- });
1381
- if (newValue && this.calciteInputEl.value !== localizedTimeString) {
1382
- this.setInputValue(localizedTimeString);
1383
- }
1384
- }
1385
- }
1386
- else if (key === "ArrowDown") {
1387
- this.open = true;
1388
- this.focusOnOpen = true;
1389
- event.preventDefault();
1390
- }
1391
- else if (key === "Escape" && this.open) {
1392
- this.open = false;
1393
- event.preventDefault();
1394
- this.calciteInputEl.setFocus();
1395
- }
1396
- };
1397
- this.setCalcitePopoverEl = (el) => {
1398
- this.popoverEl = el;
1399
- };
1400
- this.setInputAndTransitionEl = (el) => {
1401
- this.calciteInputEl = el;
1402
- this.transitionEl = el;
1403
- };
1404
- this.setCalciteTimePickerEl = (el) => {
1405
- this.calciteTimePickerEl = el;
1406
- focusTrapComponent.connectFocusTrap(this, {
1407
- focusTrapEl: el,
1408
- focusTrapOptions: {
1409
- initialFocus: false,
1410
- setReturnFocus: false,
1411
- },
1412
- });
1413
- };
1414
- this.setInputValue = (newInputValue) => {
1415
- if (!this.calciteInputEl) {
1416
- return;
1417
- }
1418
- this.calciteInputEl.value = newInputValue;
1419
- };
1420
- /**
1421
- * Sets the value and emits a change event.
1422
- * This is used to update the value as a result of user interaction.
1423
- *
1424
- * @param value
1425
- */
1426
- this.setValue = (value) => {
1427
- const oldValue = this.value;
1428
- const newValue = time.formatTimeString(value) || "";
1429
- if (newValue === oldValue) {
1430
- return;
1431
- }
1432
- this.userChangedValue = true;
1433
- this.value = newValue || "";
1434
- const changeEvent = this.calciteInputTimePickerChange.emit();
1435
- if (changeEvent.defaultPrevented) {
1436
- this.userChangedValue = false;
1437
- this.value = oldValue;
1438
- this.setInputValue(time.localizeTimeString({
1439
- value: oldValue,
1440
- locale: this.effectiveLocale,
1441
- numberingSystem: this.numberingSystem,
1442
- includeSeconds: this.shouldIncludeSeconds(),
1443
- fractionalSecondDigits: math.decimalPlaces(this.step),
1444
- }));
1445
- }
1446
- };
1447
- /**
1448
- * Sets the value directly without emitting a change event.
1449
- * This is used to update the value on initial load and when props change that are not the result of user interaction.
1450
- *
1451
- * @param value
1452
- */
1453
- this.setValueDirectly = (value) => {
1454
- const includeSeconds = this.shouldIncludeSeconds();
1455
- this.value = time.toISOTimeString(value, includeSeconds);
1456
- this.setInputValue(this.value
1457
- ? time.localizeTimeString({
1458
- value: this.value,
1459
- includeSeconds,
1460
- locale: this.effectiveLocale,
1461
- numberingSystem: this.numberingSystem,
1462
- fractionalSecondDigits: math.decimalPlaces(this.step),
1463
- })
1464
- : "");
1465
- };
1466
- this.onInputWrapperClick = () => {
1467
- this.open = !this.open;
1468
- };
1469
- this.deactivate = () => {
1470
- this.open = false;
1471
- };
1472
- this.open = false;
1473
- this.disabled = false;
1474
- this.focusTrapDisabled = false;
1475
- this.form = undefined;
1476
- this.readOnly = false;
1477
- this.messageOverrides = undefined;
1478
- this.messages = undefined;
1479
- this.validationMessage = undefined;
1480
- this.validationIcon = undefined;
1481
- this.name = undefined;
1482
- this.numberingSystem = undefined;
1483
- this.required = false;
1484
- this.scale = "m";
1485
- this.status = "idle";
1486
- this.overlayPositioning = "absolute";
1487
- this.placement = "auto";
1488
- this.step = 60;
1489
- this.value = null;
1490
- this.defaultMessages = undefined;
1491
- this.effectiveLocale = "";
1492
- }
1493
- openHandler() {
1494
- openCloseComponent.onToggleOpenCloseComponent(this);
1495
- if (this.disabled || this.readOnly) {
1496
- this.open = false;
1497
- return;
1498
- }
1499
- this.reposition(true);
1500
- }
1501
- handleFocusTrapDisabled(focusTrapDisabled) {
1502
- if (!this.open) {
1503
- return;
1504
- }
1505
- focusTrapDisabled ? focusTrapComponent.deactivateFocusTrap(this) : focusTrapComponent.activateFocusTrap(this);
1506
- }
1507
- handleDisabledAndReadOnlyChange(value) {
1508
- if (!value) {
1509
- this.open = false;
1510
- }
1511
- }
1512
- onMessagesChange() {
1513
- /* wired up by t9n util */
1514
- }
1515
- numberingSystemWatcher(numberingSystem) {
1516
- this.setInputValue(time.localizeTimeString({
1517
- value: this.value,
1518
- locale: this.effectiveLocale,
1519
- numberingSystem,
1520
- includeSeconds: this.shouldIncludeSeconds(),
1521
- fractionalSecondDigits: math.decimalPlaces(this.step),
1522
- }));
1523
- }
1524
- stepWatcher(newStep, oldStep) {
1525
- if ((oldStep >= 60 && newStep > 0 && newStep < 60) ||
1526
- (newStep >= 60 && oldStep > 0 && oldStep < 60)) {
1527
- this.setValueDirectly(this.value);
1528
- }
1529
- }
1530
- valueWatcher(newValue) {
1531
- if (!this.userChangedValue) {
1532
- this.setValueDirectly(newValue);
1533
- }
1534
- this.userChangedValue = false;
1535
- }
1536
- async effectiveLocaleWatcher(locale) {
1537
- await this.loadDateTimeLocaleData();
1538
- this.setInputValue(time.localizeTimeString({
1539
- value: this.value,
1540
- locale,
1541
- numberingSystem: this.numberingSystem,
1542
- includeSeconds: this.shouldIncludeSeconds(),
1543
- fractionalSecondDigits: math.decimalPlaces(this.step),
1544
- }));
1545
- }
1546
- // --------------------------------------------------------------------------
1547
- //
1548
- // Public Methods
1549
- //
1550
- // --------------------------------------------------------------------------
1551
- /** Sets focus on the component. */
1552
- async setFocus() {
1553
- await loadable.componentFocusable(this);
1554
- this.el.focus();
1555
- }
1556
- /**
1557
- * Updates the position of the component.
1558
- *
1559
- * @param delayed
1560
- */
1561
- async reposition(delayed = false) {
1562
- var _a;
1563
- (_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.reposition(delayed);
1564
- }
1565
- // --------------------------------------------------------------------------
1566
- //
1567
- // Private Methods
1568
- //
1569
- // --------------------------------------------------------------------------
1570
- onBeforeOpen() {
1571
- this.calciteInputTimePickerBeforeOpen.emit();
1572
- }
1573
- onOpen() {
1574
- this.calciteInputTimePickerOpen.emit();
1575
- }
1576
- onBeforeClose() {
1577
- this.calciteInputTimePickerBeforeClose.emit();
1578
- }
1579
- onClose() {
1580
- this.calciteInputTimePickerClose.emit();
1581
- }
1582
- delocalizeTimeString(value) {
1583
- // we need to set the corresponding locale before parsing, otherwise it defaults to English (possible dayjs bug)
1584
- dayjs.locale(this.effectiveLocale.toLowerCase());
1585
- const nonFractionalSecondParts = this.delocalizeTimeStringToParts(value);
1586
- let delocalizedTimeString;
1587
- if (this.shouldIncludeFractionalSeconds()) {
1588
- const stepPrecision = math.decimalPlaces(this.step);
1589
- const centisecondParts = this.delocalizeTimeStringToParts(value, "S");
1590
- if (stepPrecision === 1) {
1591
- delocalizedTimeString =
1592
- centisecondParts.millisecond !== 0
1593
- ? this.getTimeStringFromParts(centisecondParts)
1594
- : this.getTimeStringFromParts(nonFractionalSecondParts);
1595
- }
1596
- else {
1597
- const decisecondParts = this.delocalizeTimeStringToParts(value, "SS");
1598
- if (stepPrecision === 2) {
1599
- if (decisecondParts.millisecond !== 0) {
1600
- delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
1601
- }
1602
- else if (centisecondParts.millisecond !== 0) {
1603
- delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
1604
- }
1605
- else {
1606
- delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
1607
- }
1608
- }
1609
- else if (stepPrecision >= 3) {
1610
- const millisecondParts = this.delocalizeTimeStringToParts(value, "SSS");
1611
- if (millisecondParts.millisecond !== 0) {
1612
- delocalizedTimeString = this.getTimeStringFromParts(millisecondParts);
1613
- }
1614
- else if (decisecondParts.millisecond !== 0) {
1615
- delocalizedTimeString = this.getTimeStringFromParts(decisecondParts);
1616
- }
1617
- else if (centisecondParts.millisecond !== 0) {
1618
- delocalizedTimeString = this.getTimeStringFromParts(centisecondParts);
1619
- }
1620
- else {
1621
- delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
1622
- }
1623
- }
1624
- }
1625
- }
1626
- else {
1627
- delocalizedTimeString = this.getTimeStringFromParts(nonFractionalSecondParts);
1628
- }
1629
- return delocalizedTimeString;
1630
- }
1631
- delocalizeTimeStringToParts(localizedTimeString, fractionalSecondFormatToken) {
1632
- var _a, _b;
1633
- const ltsFormatString = (_b = (_a = this.localeConfig) === null || _a === void 0 ? void 0 : _a.formats) === null || _b === void 0 ? void 0 : _b.LTS;
1634
- const fractionalSecondTokenMatch = ltsFormatString.match(/ss\.*(S+)/g);
1635
- if (fractionalSecondFormatToken && this.shouldIncludeFractionalSeconds()) {
1636
- const secondFormatToken = `ss.${fractionalSecondFormatToken}`;
1637
- this.localeConfig.formats.LTS = fractionalSecondTokenMatch
1638
- ? ltsFormatString.replace(fractionalSecondTokenMatch[0], secondFormatToken)
1639
- : ltsFormatString.replace("ss", secondFormatToken);
1640
- }
1641
- else if (fractionalSecondTokenMatch) {
1642
- this.localeConfig.formats.LTS = ltsFormatString.replace(fractionalSecondTokenMatch[0], "ss");
1643
- }
1644
- dayjs.updateLocale(this.getSupportedDayjsLocale(locale$1.getSupportedLocale(this.effectiveLocale)), this.localeConfig);
1645
- const dayjsParseResult = dayjs(localizedTimeString, ["LTS", "LT"]);
1646
- if (dayjsParseResult.isValid()) {
1647
- return {
1648
- hour: dayjsParseResult.get("hour"),
1649
- minute: dayjsParseResult.get("minute"),
1650
- second: dayjsParseResult.get("second"),
1651
- millisecond: dayjsParseResult.get("millisecond"),
1652
- };
1653
- }
1654
- return {
1655
- hour: null,
1656
- minute: null,
1657
- second: null,
1658
- millisecond: null,
1659
- };
1660
- }
1661
- getTimeStringFromParts(parts) {
1662
- let timeString = "";
1663
- if (!parts) {
1664
- return timeString;
1665
- }
1666
- if (parts.hour !== null && parts.minute !== null) {
1667
- timeString = `${time.formatTimePart(parts.hour)}:${time.formatTimePart(parts.minute)}`;
1668
- if (this.shouldIncludeSeconds() && parts.second !== null) {
1669
- timeString += `:${time.formatTimePart(parts.second)}`;
1670
- if (this.shouldIncludeFractionalSeconds() && parts.millisecond !== null) {
1671
- const second = (parts.millisecond * 0.001).toFixed(math.decimalPlaces(this.step));
1672
- timeString += `.${second.toString().replace("0.", "")}`;
1673
- }
1674
- }
1675
- }
1676
- return timeString;
1677
- }
1678
- getSupportedDayjsLocale(locale) {
1679
- const dayjsLocale = locale.toLowerCase();
1680
- if (dayjsLocale === "no") {
1681
- return "nb";
1682
- }
1683
- if (dayjsLocale === "pt-pt") {
1684
- return "pt";
1685
- }
1686
- return dayjsLocale;
1687
- }
1688
- async loadDateTimeLocaleData() {
1689
- let supportedLocale = locale$1.getSupportedLocale(this.effectiveLocale).toLowerCase();
1690
- supportedLocale = this.getSupportedDayjsLocale(supportedLocale);
1691
- const { default: localeConfig } = await supportedDayjsLocaleToLocaleConfigImport.get(supportedLocale)();
1692
- this.localeConfig = localeConfig;
1693
- dayjs.locale(this.localeConfig, null, true);
1694
- dayjs.updateLocale(supportedLocale, this.getExtendedLocaleConfig(supportedLocale));
1695
- }
1696
- getExtendedLocaleConfig(locale) {
1697
- if (locale === "ar") {
1698
- return {
1699
- meridiem: (hour) => (hour > 12 ? "م" : "ص"),
1700
- formats: {
1701
- LT: "HH:mm A",
1702
- LTS: "HH:mm:ss A",
1703
- L: "DD/MM/YYYY",
1704
- LL: "D MMMM YYYY",
1705
- LLL: "D MMMM YYYY HH:mm A",
1706
- LLLL: "dddd D MMMM YYYY HH:mm A",
1707
- },
1708
- };
1709
- }
1710
- if (locale === "en-au") {
1711
- return {
1712
- meridiem: (hour) => (hour > 12 ? "pm" : "am"),
1713
- };
1714
- }
1715
- if (locale === "en-ca") {
1716
- return {
1717
- meridiem: (hour) => (hour > 12 ? "p.m." : "a.m."),
1718
- };
1719
- }
1720
- if (locale === "el") {
1721
- return {
1722
- meridiem: (hour) => (hour > 12 ? "μ.μ." : "π.μ."),
1723
- };
1724
- }
1725
- if (locale === "hi") {
1726
- return {
1727
- formats: {
1728
- LT: "h:mm A",
1729
- LTS: "h:mm:ss A",
1730
- L: "DD/MM/YYYY",
1731
- LL: "D MMMM YYYY",
1732
- LLL: "D MMMM YYYY, h:mm A",
1733
- LLLL: "dddd, D MMMM YYYY, h:mm A",
1734
- },
1735
- meridiem: (hour) => (hour > 12 ? "pm" : "am"),
1736
- };
1737
- }
1738
- if (locale === "ko") {
1739
- return {
1740
- meridiem: (hour) => (hour > 12 ? "오후" : "오전"),
1741
- };
1742
- }
1743
- if (locale === "zh-tw") {
1744
- return {
1745
- formats: {
1746
- LT: "AHH:mm",
1747
- LTS: "AHH:mm:ss",
1748
- },
1749
- };
1750
- }
1751
- if (locale === "zh-hk") {
1752
- return {
1753
- formats: {
1754
- LT: "AHH:mm",
1755
- LTS: "AHH:mm:ss",
1756
- },
1757
- meridiem: (hour) => (hour > 12 ? "下午" : "上午"),
1758
- };
1759
- }
1760
- }
1761
- onLabelClick() {
1762
- this.setFocus();
1763
- }
1764
- shouldIncludeSeconds() {
1765
- return this.step < 60;
1766
- }
1767
- shouldIncludeFractionalSeconds() {
1768
- return math.decimalPlaces(this.step) > 0;
1769
- }
1770
- //--------------------------------------------------------------------------
1771
- //
1772
- // Lifecycle
1773
- //
1774
- //--------------------------------------------------------------------------
1775
- connectedCallback() {
1776
- interactive.connectInteractive(this);
1777
- locale$1.connectLocalized(this);
1778
- if (time.isValidTime(this.value)) {
1779
- this.setValueDirectly(this.value);
1780
- }
1781
- else {
1782
- this.value = undefined;
1783
- }
1784
- label.connectLabel(this);
1785
- form.connectForm(this);
1786
- t9n.connectMessages(this);
1787
- }
1788
- async componentWillLoad() {
1789
- loadable.setUpLoadableComponent(this);
1790
- await Promise.all([t9n.setUpMessages(this), this.loadDateTimeLocaleData()]);
1791
- if (this.open) {
1792
- openCloseComponent.onToggleOpenCloseComponent(this);
1793
- }
1794
- }
1795
- componentDidLoad() {
1796
- loadable.setComponentLoaded(this);
1797
- if (time.isValidTime(this.value)) {
1798
- this.setInputValue(time.localizeTimeString({
1799
- value: this.value,
1800
- locale: this.effectiveLocale,
1801
- numberingSystem: this.numberingSystem,
1802
- includeSeconds: this.shouldIncludeSeconds(),
1803
- fractionalSecondDigits: math.decimalPlaces(this.step),
1804
- }));
1805
- }
1806
- }
1807
- disconnectedCallback() {
1808
- interactive.disconnectInteractive(this);
1809
- label.disconnectLabel(this);
1810
- form.disconnectForm(this);
1811
- locale$1.disconnectLocalized(this);
1812
- focusTrapComponent.deactivateFocusTrap(this);
1813
- t9n.disconnectMessages(this);
1814
- }
1815
- componentDidRender() {
1816
- interactive.updateHostInteraction(this);
1817
- }
1818
- // --------------------------------------------------------------------------
1819
- //
1820
- // Render Methods
1821
- //
1822
- // --------------------------------------------------------------------------
1823
- render() {
1824
- const { disabled, messages, readOnly, dialogId } = this;
1825
- return (index.h(index.Host, { onBlur: this.hostBlurHandler, onKeyDown: this.keyDownHandler }, index.h(interactive.InteractiveContainer, { disabled: this.disabled }, index.h("div", { class: "input-wrapper", onClick: this.onInputWrapperClick }, index.h("calcite-input-text", { "aria-autocomplete": "none", "aria-haspopup": "dialog", disabled: disabled, icon: "clock", id: this.referenceElementId, label: label.getLabelText(this), lang: this.effectiveLocale, onCalciteInputTextInput: this.calciteInternalInputInputHandler, onCalciteInternalInputTextFocus: this.calciteInternalInputFocusHandler, readOnly: readOnly, role: "combobox", scale: this.scale, status: this.status,
1826
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1827
- ref: this.setInputAndTransitionEl }), !this.readOnly && this.renderToggleIcon(this.open)), index.h("calcite-popover", { focusTrapDisabled: true, id: dialogId, label: messages.chooseTime, lang: this.effectiveLocale, onCalcitePopoverClose: this.popoverCloseHandler, onCalcitePopoverOpen: this.popoverOpenHandler, open: this.open, overlayPositioning: this.overlayPositioning, placement: this.placement, referenceElement: this.referenceElementId, triggerDisabled: true,
1828
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1829
- ref: this.setCalcitePopoverEl }, index.h("calcite-time-picker", { lang: this.effectiveLocale, messageOverrides: this.messageOverrides, numberingSystem: this.numberingSystem, onCalciteInternalTimePickerChange: this.timePickerChangeHandler, scale: this.scale, step: this.step, tabIndex: this.open ? undefined : -1, value: this.value,
1830
- // eslint-disable-next-line react/jsx-sort-props -- ref should be last so node attrs/props are in sync (see https://github.com/Esri/calcite-design-system/pull/6530)
1831
- ref: this.setCalciteTimePickerEl })), index.h(form.HiddenFormInputSlot, { component: this }), this.validationMessage ? (index.h(Validation.Validation, { icon: this.validationIcon, message: this.validationMessage, scale: this.scale, status: this.status })) : null)));
1832
- }
1833
- renderToggleIcon(open) {
1834
- return (index.h("span", { class: CSS.toggleIcon }, index.h("calcite-icon", { icon: open ? "chevron-up" : "chevron-down", scale: component.getIconScale(this.scale) })));
1835
- }
1836
- static get delegatesFocus() { return true; }
1837
- static get assetsDirs() { return ["assets"]; }
1838
- get el() { return index.getElement(this); }
1839
- static get watchers() { return {
1840
- "open": ["openHandler"],
1841
- "focusTrapDisabled": ["handleFocusTrapDisabled"],
1842
- "disabled": ["handleDisabledAndReadOnlyChange"],
1843
- "readOnly": ["handleDisabledAndReadOnlyChange"],
1844
- "messageOverrides": ["onMessagesChange"],
1845
- "numberingSystem": ["numberingSystemWatcher"],
1846
- "step": ["stepWatcher"],
1847
- "value": ["valueWatcher"],
1848
- "effectiveLocale": ["effectiveLocaleWatcher"]
1849
- }; }
1850
- };
1851
- InputTimePicker.style = inputTimePickerCss;
1852
-
1853
- exports.InputTimePicker = InputTimePicker;
1854
- exports.dayjs = dayjs;