@esri/solutions-components 0.10.27 → 0.10.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1710) hide show
  1. package/dist/cjs/ExpandToggle-2cdd9a8e.js +115 -0
  2. package/dist/cjs/FloatingArrow-91a71a80.js +48 -0
  3. package/dist/cjs/Heading-a3e36113.js +25 -0
  4. package/dist/cjs/Validation-55fc2417.js +20 -0
  5. package/dist/cjs/app-globals-3ff4b752.js +67 -0
  6. package/dist/cjs/ar-76c21e64.js +106 -0
  7. package/dist/cjs/arcgis-login.cjs.entry.js +1 -1
  8. package/dist/cjs/array-286e5a3b.js +17 -0
  9. package/dist/cjs/basemap-gallery_7.cjs.entry.js +2 -2
  10. package/dist/cjs/bg-14c9b066.js +84 -0
  11. package/dist/cjs/browser-333a21c5.js +35 -0
  12. package/dist/cjs/bs-af03a828.js +53 -0
  13. package/dist/cjs/buffer-tools_3.cjs.entry.js +9 -9
  14. package/dist/cjs/ca-ae8e24ac.js +73 -0
  15. package/dist/cjs/calcite-accordion_2.cjs.entry.js +20 -20
  16. package/dist/cjs/calcite-action-bar.cjs.entry.js +17 -20
  17. package/dist/cjs/calcite-action-group.cjs.entry.js +18 -16
  18. package/dist/cjs/calcite-action-menu_2.cjs.entry.js +27 -24
  19. package/dist/cjs/calcite-action-pad_2.cjs.entry.js +20 -21
  20. package/dist/cjs/calcite-action_2.cjs.entry.js +32 -30
  21. package/dist/cjs/calcite-alert_5.cjs.entry.js +25 -27
  22. package/dist/cjs/calcite-avatar.cjs.entry.js +10 -10
  23. package/dist/cjs/calcite-block-section.cjs.entry.js +12 -12
  24. package/dist/cjs/calcite-block_5.cjs.entry.js +45 -47
  25. package/dist/cjs/calcite-button.cjs.entry.js +24 -22
  26. package/dist/cjs/calcite-card-group.cjs.entry.js +9 -15
  27. package/dist/cjs/calcite-card.cjs.entry.js +50 -31
  28. package/dist/cjs/calcite-carousel_2.cjs.entry.js +92 -37
  29. package/dist/cjs/calcite-checkbox.cjs.entry.js +15 -17
  30. package/dist/cjs/calcite-chip-group.cjs.entry.js +8 -12
  31. package/dist/cjs/calcite-chip_2.cjs.entry.js +22 -26
  32. package/dist/cjs/calcite-color-picker-hex-input_2.cjs.entry.js +37 -20
  33. package/dist/cjs/calcite-color-picker.cjs.entry.js +15 -17
  34. package/dist/cjs/calcite-combobox-item-group.cjs.entry.js +8 -8
  35. package/dist/cjs/calcite-combobox_3.cjs.entry.js +36 -42
  36. package/dist/cjs/calcite-date-picker-day_3.cjs.entry.js +16 -22
  37. package/dist/cjs/calcite-dialog.cjs.entry.js +20 -23
  38. package/dist/cjs/calcite-dropdown_2.cjs.entry.js +50 -51
  39. package/dist/cjs/calcite-fab.cjs.entry.js +9 -15
  40. package/dist/cjs/calcite-filter_5.cjs.entry.js +58 -61
  41. package/dist/cjs/calcite-flow_4.cjs.entry.js +7 -7
  42. package/dist/cjs/calcite-graph_2.cjs.entry.js +23 -25
  43. package/dist/cjs/calcite-icon_2.cjs.entry.js +24 -23
  44. package/dist/cjs/calcite-inline-editable.cjs.entry.js +17 -19
  45. package/dist/cjs/calcite-input-number.cjs.entry.js +31 -33
  46. package/dist/cjs/calcite-input-text.cjs.entry.js +25 -27
  47. package/dist/cjs/calcite-input-time-picker-74396a94.js +1870 -0
  48. package/dist/cjs/calcite-input-time-picker.cjs.entry.js +21 -21
  49. package/dist/cjs/calcite-input-time-zone.cjs.entry.js +100 -66
  50. package/dist/cjs/calcite-input_2.cjs.entry.js +33 -35
  51. package/dist/cjs/calcite-label.cjs.entry.js +8 -8
  52. package/dist/cjs/calcite-link.cjs.entry.js +15 -17
  53. package/dist/cjs/calcite-list-item-group.cjs.entry.js +5 -12
  54. package/dist/cjs/calcite-menu-item.cjs.entry.js +13 -13
  55. package/dist/cjs/calcite-menu.cjs.entry.js +12 -12
  56. package/dist/cjs/calcite-meter.cjs.entry.js +12 -12
  57. package/dist/cjs/calcite-modal_3.cjs.entry.js +25 -25
  58. package/dist/cjs/calcite-navigation-logo.cjs.entry.js +6 -6
  59. package/dist/cjs/calcite-navigation-user.cjs.entry.js +5 -5
  60. package/dist/cjs/calcite-navigation.cjs.entry.js +9 -9
  61. package/dist/cjs/calcite-notice.cjs.entry.js +17 -17
  62. package/dist/cjs/calcite-option-group.cjs.entry.js +2 -2
  63. package/dist/cjs/calcite-option_2.cjs.entry.js +15 -17
  64. package/dist/cjs/calcite-pagination.cjs.entry.js +20 -52
  65. package/dist/cjs/calcite-pick-list-group.cjs.entry.js +12 -12
  66. package/dist/cjs/calcite-pick-list-item.cjs.entry.js +17 -19
  67. package/dist/cjs/calcite-pick-list.cjs.entry.js +15 -17
  68. package/dist/cjs/calcite-radio-button-group.cjs.entry.js +10 -10
  69. package/dist/cjs/calcite-radio-button.cjs.entry.js +13 -15
  70. package/dist/cjs/calcite-rating.cjs.entry.js +18 -22
  71. package/dist/cjs/calcite-scrim.cjs.entry.js +11 -11
  72. package/dist/cjs/calcite-segmented-control_2.cjs.entry.js +43 -47
  73. package/dist/cjs/calcite-sheet.cjs.entry.js +14 -14
  74. package/dist/cjs/calcite-shell-center-row.cjs.entry.js +10 -10
  75. package/dist/cjs/calcite-shell-panel_14.cjs.entry.js +47 -54
  76. package/dist/cjs/calcite-sortable-list.cjs.entry.js +11 -13
  77. package/dist/cjs/calcite-split-button.cjs.entry.js +6 -12
  78. package/dist/cjs/calcite-stepper-item.cjs.entry.js +14 -16
  79. package/dist/cjs/calcite-stepper.cjs.entry.js +12 -12
  80. package/dist/cjs/calcite-switch.cjs.entry.js +14 -16
  81. package/dist/cjs/calcite-table-cell_2.cjs.entry.js +18 -20
  82. package/dist/cjs/calcite-table-row.cjs.entry.js +9 -16
  83. package/dist/cjs/calcite-table.cjs.entry.js +18 -18
  84. package/dist/cjs/calcite-text-area.cjs.entry.js +26 -28
  85. package/dist/cjs/calcite-tile-group.cjs.entry.js +9 -11
  86. package/dist/cjs/calcite-tile-select-group.cjs.entry.js +5 -12
  87. package/dist/cjs/calcite-tile-select.cjs.entry.js +10 -12
  88. package/dist/cjs/calcite-tile.cjs.entry.js +9 -15
  89. package/dist/cjs/calcite-time-picker.cjs.entry.js +32 -38
  90. package/dist/cjs/calcite-tip-group.cjs.entry.js +4 -4
  91. package/dist/cjs/calcite-tip-manager.cjs.entry.js +13 -13
  92. package/dist/cjs/calcite-tip.cjs.entry.js +15 -15
  93. package/dist/cjs/calcite-tooltip.cjs.entry.js +20 -15
  94. package/dist/cjs/calcite-tree_2.cjs.entry.js +18 -20
  95. package/dist/cjs/card-manager_3.cjs.entry.js +3 -3
  96. package/dist/cjs/component-5d190962.js +33 -0
  97. package/dist/cjs/conditionalSlot-37ff4832.js +54 -0
  98. package/dist/cjs/config-e76d9931.js +40 -0
  99. package/dist/cjs/consent-manager.cjs.entry.js +2 -2
  100. package/dist/cjs/crowdsource-manager.cjs.entry.js +3 -3
  101. package/dist/cjs/crowdsource-reporter.cjs.entry.js +2 -2
  102. package/dist/cjs/cs-5c693156.js +149 -0
  103. package/dist/cjs/da-1a406d67.js +69 -0
  104. package/dist/cjs/date-bb8f971c.js +264 -0
  105. package/dist/cjs/de-11376da8.js +93 -0
  106. package/dist/cjs/de-at-a7437de2.js +92 -0
  107. package/dist/cjs/de-ch-862dfe8d.js +92 -0
  108. package/dist/cjs/deduct-calculator.cjs.entry.js +1 -1
  109. package/dist/cjs/dom-795d4a33.js +1200 -0
  110. package/dist/cjs/downloadUtils-20637f89.js +3239 -0
  111. package/dist/cjs/el-69fd471f.js +68 -0
  112. package/dist/cjs/en-au-4af4c244.js +68 -0
  113. package/dist/cjs/en-ca-dd0f74b8.js +67 -0
  114. package/dist/cjs/en-gb-d9916a0a.js +71 -0
  115. package/dist/cjs/es-b96f4aa7.js +68 -0
  116. package/dist/cjs/es-mx-7ce9a959.js +67 -0
  117. package/dist/cjs/et-ed1f6381.js +94 -0
  118. package/dist/cjs/feature-comments.cjs.entry.js +1 -1
  119. package/dist/cjs/feature-form-flow-item.cjs.entry.js +1 -1
  120. package/dist/cjs/feature-list.cjs.entry.js +4 -4
  121. package/dist/cjs/features-flow-item.cjs.entry.js +1 -1
  122. package/dist/cjs/fi-16433386.js +117 -0
  123. package/dist/cjs/filter-e600c2fe.js +778 -0
  124. package/dist/cjs/floating-ui-0f85d59c.js +2413 -0
  125. package/dist/cjs/focusTrapComponent-b19fd5d5.js +1013 -0
  126. package/dist/cjs/form-6dd8050a.js +381 -0
  127. package/dist/cjs/fr-32b252ad.js +70 -0
  128. package/dist/cjs/fr-ch-368648e3.js +68 -0
  129. package/dist/cjs/guid-e84a8375.js +26 -0
  130. package/dist/cjs/he-d139901b.js +107 -0
  131. package/dist/cjs/helpers-415179ad.js +940 -0
  132. package/dist/cjs/hi-ba5e377e.js +67 -0
  133. package/dist/cjs/hr-87b5a9d8.js +82 -0
  134. package/dist/cjs/hu-3b80d082.js +90 -0
  135. package/dist/cjs/id-09dfbe6e.js +68 -0
  136. package/dist/cjs/index-0fb00064.js +15 -0
  137. package/dist/cjs/index-2b13a4d5.js +201 -0
  138. package/dist/cjs/index-4b68e4b4.js +1770 -0
  139. package/dist/cjs/index-89a62dc9.js +58 -0
  140. package/dist/cjs/index-c134f2f6.js +128 -0
  141. package/dist/cjs/index-p4VH55K1-8a6a97cb.js +4111 -0
  142. package/dist/cjs/index.es-a242cb45.js +11307 -0
  143. package/dist/cjs/input-8c28213d.js +60 -0
  144. package/dist/cjs/instant-apps-app-guide.cjs.entry.js +2 -2
  145. package/dist/cjs/instant-apps-ckeditor-wrapper_3.cjs.entry.js +4 -4
  146. package/dist/cjs/instant-apps-control-panel.cjs.entry.js +1 -1
  147. package/dist/cjs/instant-apps-create.cjs.entry.js +2 -2
  148. package/dist/cjs/instant-apps-export-views.cjs.entry.js +2 -2
  149. package/dist/cjs/instant-apps-export.cjs.entry.js +2 -2
  150. package/dist/cjs/instant-apps-header.cjs.entry.js +1 -1
  151. package/dist/cjs/instant-apps-interactive-legend-classic.cjs.entry.js +3 -3
  152. package/dist/cjs/instant-apps-interactive-legend-count_2.cjs.entry.js +3 -3
  153. package/dist/cjs/instant-apps-interactive-legend-group-legend-element-caption.cjs.entry.js +3 -3
  154. package/dist/cjs/instant-apps-interactive-legend-group-legend-element_5.cjs.entry.js +3 -3
  155. package/dist/cjs/instant-apps-interactive-legend.cjs.entry.js +4 -4
  156. package/dist/cjs/instant-apps-keyboard-shortcuts.cjs.entry.js +2 -2
  157. package/dist/cjs/instant-apps-landing-page.cjs.entry.js +1 -1
  158. package/dist/cjs/instant-apps-language-switcher.cjs.entry.js +4 -4
  159. package/dist/cjs/instant-apps-language-translator.cjs.entry.js +4 -4
  160. package/dist/cjs/instant-apps-measurement.cjs.entry.js +2 -2
  161. package/dist/cjs/instant-apps-popover.cjs.entry.js +2 -2
  162. package/dist/cjs/instant-apps-popovers.cjs.entry.js +1 -1
  163. package/dist/cjs/instant-apps-scoreboard.cjs.entry.js +2 -2
  164. package/dist/cjs/instant-apps-sign-in.cjs.entry.js +2 -2
  165. package/dist/cjs/instant-apps-splash.cjs.entry.js +2 -2
  166. package/dist/cjs/instant-apps-time-filter.cjs.entry.js +9 -9
  167. package/dist/cjs/interactive-a128ac30.js +85 -0
  168. package/dist/cjs/it-ch-00a4c4b4.js +68 -0
  169. package/dist/cjs/it-da71aa25.js +68 -0
  170. package/dist/cjs/ja-c3519ced.js +74 -0
  171. package/dist/cjs/key-47c9469a.js +19 -0
  172. package/dist/cjs/ko-ea8cd08b.js +74 -0
  173. package/dist/cjs/label-726fc287.js +186 -0
  174. package/dist/cjs/layout-manager.cjs.entry.js +2 -2
  175. package/dist/cjs/list-flow-item.cjs.entry.js +1 -1
  176. package/dist/cjs/loadable-1c888c87.js +98 -0
  177. package/dist/cjs/loader.cjs.js +6 -6
  178. package/dist/cjs/locale-339b55f0.js +160 -0
  179. package/dist/cjs/locale-4a18a858.js +120 -0
  180. package/dist/cjs/locale-da840314.js +605 -0
  181. package/dist/cjs/location-flow-item.cjs.entry.js +1 -1
  182. package/dist/cjs/logger-f177776b.js +61 -0
  183. package/dist/cjs/lt-4e8161c8.js +99 -0
  184. package/dist/cjs/lv-b976ad37.js +68 -0
  185. package/dist/cjs/map-select-tools_3.cjs.entry.js +5 -5
  186. package/dist/cjs/math-089392ef.js +60 -0
  187. package/dist/cjs/mk-e2ea18b4.js +68 -0
  188. package/dist/cjs/nb-d81f921b.js +69 -0
  189. package/dist/cjs/nl-7249cded.js +69 -0
  190. package/dist/cjs/observers-18d87cb5.js +58 -0
  191. package/dist/cjs/openCloseComponent-3c540d25.js +65 -0
  192. package/dist/cjs/pci-calculator.cjs.entry.js +1 -1
  193. package/dist/cjs/pl-d93521bd.js +116 -0
  194. package/dist/cjs/popupUtils-d477705b.js +121 -0
  195. package/dist/cjs/pt-bf297919.js +69 -0
  196. package/dist/cjs/pt-br-2c9c4ba2.js +67 -0
  197. package/dist/cjs/public-notification.cjs.entry.js +5 -5
  198. package/dist/cjs/publicNotificationStore-570204c1.js +47 -0
  199. package/dist/cjs/refine-results-flow-item.cjs.entry.js +1 -1
  200. package/dist/cjs/region-26804632.js +36 -0
  201. package/dist/cjs/resources-18f799c7.js +39 -0
  202. package/dist/cjs/resources-388efec5.js +27 -0
  203. package/dist/cjs/resources-535f936c.js +68 -0
  204. package/dist/cjs/resources-7aaf489b.js +39 -0
  205. package/dist/cjs/resources-9c07e2ea.js +26 -0
  206. package/dist/cjs/resources-b3dc59f7.js +29 -0
  207. package/dist/cjs/resources-cf1791da.js +69 -0
  208. package/dist/cjs/resources-eeda5acf.js +23 -0
  209. package/dist/cjs/resources-f895ff54.js +23 -0
  210. package/dist/cjs/resources-f9ab74c4.js +21 -0
  211. package/dist/cjs/responsive-a61585b1.js +39 -0
  212. package/dist/cjs/ro-b770ba3d.js +68 -0
  213. package/dist/cjs/ru-f70d0afe.js +128 -0
  214. package/dist/cjs/share-item.cjs.entry.js +1 -1
  215. package/dist/cjs/shared-list-render-546c7296.js +361 -0
  216. package/dist/cjs/sk-67e2fd96.js +150 -0
  217. package/dist/cjs/sl-cf79e6c6.js +170 -0
  218. package/dist/cjs/solution-configuration.cjs.entry.js +4 -4
  219. package/dist/cjs/solution-contents_3.cjs.entry.js +4 -4
  220. package/dist/cjs/solution-item-accordion.cjs.entry.js +64 -27
  221. package/dist/cjs/solution-item-icon.cjs.entry.js +1 -1
  222. package/dist/cjs/solution-store-4de89072.js +1354 -0
  223. package/dist/cjs/solutions-components.cjs.js +6 -6
  224. package/dist/cjs/sortableComponent-5dfc7ff8.js +2746 -0
  225. package/dist/cjs/spatial-ref.cjs.entry.js +2 -2
  226. package/dist/cjs/sr-02a5153e.js +103 -0
  227. package/dist/cjs/store-manager.cjs.entry.js +3 -3
  228. package/dist/cjs/sv-1c32f9ba.js +73 -0
  229. package/dist/cjs/t9n-ed5c03a7.js +108 -0
  230. package/dist/cjs/th-ddd7073f.js +67 -0
  231. package/dist/cjs/time-a92ca33f.js +301 -0
  232. package/dist/cjs/time-zones-a7e83971.js +52 -0
  233. package/dist/cjs/tr-31fcd3f7.js +68 -0
  234. package/dist/cjs/uk-a0f9e2bc.js +106 -0
  235. package/dist/cjs/utils-51a793a5.js +2304 -0
  236. package/dist/cjs/utils-7e5609ab.js +78 -0
  237. package/dist/cjs/utils-fa7ad44b.js +153 -0
  238. package/dist/cjs/vi-d484e1b9.js +72 -0
  239. package/dist/cjs/zh-cn-3d843268.js +96 -0
  240. package/dist/cjs/zh-hk-4aacd6d2.js +94 -0
  241. package/dist/cjs/zh-tw-cbd770ad.js +94 -0
  242. package/dist/collection/components/crowdsource-manager/crowdsource-manager.js +1 -1
  243. package/dist/collection/components/solution-item-accordion/solution-item-accordion.css +4 -0
  244. package/dist/collection/components/solution-item-accordion/solution-item-accordion.js +61 -24
  245. package/dist/collection/demos/browse-solutions.html +1 -1
  246. package/dist/collection/demos/buffer-tools.html +3 -3
  247. package/dist/collection/demos/card-manager.html +1 -1
  248. package/dist/collection/demos/create-feature.html +3 -3
  249. package/dist/collection/demos/crowdsource-manager.html +4 -42
  250. package/dist/collection/demos/crowdsource-reporter.html +1 -1
  251. package/dist/collection/demos/deduct-calculator.html +1 -1
  252. package/dist/collection/demos/demo-map.html +3 -3
  253. package/dist/collection/demos/edit-card.html +1 -1
  254. package/dist/collection/demos/feature-list.html +3 -3
  255. package/dist/collection/demos/index.html +1 -2
  256. package/dist/collection/demos/info-card.html +1 -1
  257. package/dist/collection/demos/json-editor-2.html +1 -1
  258. package/dist/collection/demos/json-editor.html +1 -1
  259. package/dist/collection/demos/layer-list.html +3 -3
  260. package/dist/collection/demos/layer-table.html +3 -3
  261. package/dist/collection/demos/list-item.html +3 -3
  262. package/dist/collection/demos/map-card.html +3 -3
  263. package/dist/collection/demos/map-draw-tools.html +3 -3
  264. package/dist/collection/demos/map-layer-picker.html +3 -3
  265. package/dist/collection/demos/map-select-tools.html +3 -3
  266. package/dist/collection/demos/new-public-notification.html +3 -3
  267. package/dist/collection/demos/new-solution-configuration.html +1 -1
  268. package/dist/collection/demos/pci-calculator.html +1 -1
  269. package/dist/collection/demos/pdf-download.html +1 -2
  270. package/dist/collection/demos/solution-configuration.html +1 -1
  271. package/dist/collection/demos/solution-contents.html +1 -1
  272. package/dist/collection/demos/solution-group-details.html +1 -1
  273. package/dist/collection/demos/solution-item-accordion.html +426 -294
  274. package/dist/collection/demos/solution-item-details.html +1 -1
  275. package/dist/collection/demos/solution-item-icon.html +1 -2
  276. package/dist/collection/demos/solution-item-sharing.html +1 -1
  277. package/dist/collection/demos/solution-item.html +1 -1
  278. package/dist/collection/demos/solution-organization-variables.html +1 -1
  279. package/dist/collection/demos/solution-resource-item.html +1 -1
  280. package/dist/collection/demos/solution-spatial-ref.html +1 -1
  281. package/dist/collection/demos/solution-template-data.html +1 -1
  282. package/dist/collection/demos/solution-variables.html +1 -1
  283. package/dist/collection/demos/spatial-ref.html +1 -1
  284. package/dist/components/ExpandToggle.js +2 -2
  285. package/dist/components/FloatingArrow.js +1 -1
  286. package/dist/components/Heading.js +2 -2
  287. package/dist/components/Validation.js +1 -1
  288. package/dist/components/accordion-item.js +8 -8
  289. package/dist/components/accordion.js +3 -3
  290. package/dist/components/action-bar.js +3 -6
  291. package/dist/components/action-group.js +8 -4
  292. package/dist/components/action-menu.js +2 -2
  293. package/dist/components/action-pad.js +6 -7
  294. package/dist/components/action.js +4 -6
  295. package/dist/components/alert.js +5 -5
  296. package/dist/components/array.js +1 -1
  297. package/dist/components/avatar.js +5 -5
  298. package/dist/components/block.js +12 -9
  299. package/dist/components/browser.js +1 -1
  300. package/dist/components/button.js +12 -10
  301. package/dist/components/calcite-block-section.js +2 -2
  302. package/dist/components/calcite-card-group.js +4 -10
  303. package/dist/components/calcite-card.js +48 -22
  304. package/dist/components/calcite-chip-group.js +3 -7
  305. package/dist/components/calcite-color-picker.js +3 -5
  306. package/dist/components/calcite-dialog.js +5 -8
  307. package/dist/components/calcite-fab.js +3 -9
  308. package/dist/components/calcite-inline-editable.js +5 -7
  309. package/dist/components/calcite-input-time-picker.js +26 -16
  310. package/dist/components/calcite-input-time-zone.js +82 -48
  311. package/dist/components/calcite-list-item-group.js +3 -9
  312. package/dist/components/calcite-menu-item.js +4 -4
  313. package/dist/components/calcite-meter.js +2 -2
  314. package/dist/components/calcite-navigation-logo.js +2 -2
  315. package/dist/components/calcite-navigation.js +3 -3
  316. package/dist/components/calcite-option-group.js +1 -1
  317. package/dist/components/calcite-pick-list-group.js +1 -1
  318. package/dist/components/calcite-pick-list.js +4 -5
  319. package/dist/components/calcite-radio-button-group.js +2 -2
  320. package/dist/components/calcite-rating.js +5 -9
  321. package/dist/components/calcite-sheet.js +4 -4
  322. package/dist/components/calcite-shell-center-row.js +3 -3
  323. package/dist/components/calcite-sortable-list.js +4 -6
  324. package/dist/components/calcite-split-button.js +3 -9
  325. package/dist/components/calcite-stepper-item.js +4 -6
  326. package/dist/components/calcite-stepper.js +3 -3
  327. package/dist/components/calcite-table-row.js +4 -10
  328. package/dist/components/calcite-table.js +8 -8
  329. package/dist/components/calcite-text-area.js +11 -13
  330. package/dist/components/calcite-tile-group.js +3 -5
  331. package/dist/components/calcite-tile-select-group.js +2 -8
  332. package/dist/components/calcite-tile-select.js +4 -6
  333. package/dist/components/calcite-tile.js +3 -9
  334. package/dist/components/calcite-tip-group.js +1 -1
  335. package/dist/components/calcite-tip-manager.js +1 -1
  336. package/dist/components/calcite-tip.js +2 -2
  337. package/dist/components/carousel-item.js +2 -2
  338. package/dist/components/carousel.js +81 -24
  339. package/dist/components/checkbox.js +5 -7
  340. package/dist/components/chip.js +6 -8
  341. package/dist/components/color-picker-hex-input.js +2 -2
  342. package/dist/components/color-picker-swatch.js +28 -11
  343. package/dist/components/combobox-item-group.js +2 -2
  344. package/dist/components/combobox-item.js +4 -6
  345. package/dist/components/combobox.js +13 -19
  346. package/dist/components/component.js +1 -1
  347. package/dist/components/conditionalSlot.js +1 -1
  348. package/dist/components/config.js +1 -1
  349. package/dist/components/crowdsource-manager.js +1 -1
  350. package/dist/components/date-picker-day.js +2 -8
  351. package/dist/components/date-picker-month-header.js +2 -2
  352. package/dist/components/date-picker.js +3 -3
  353. package/dist/components/date.js +1 -1
  354. package/dist/components/dom.js +24 -39
  355. package/dist/components/dropdown-group.js +2 -2
  356. package/dist/components/dropdown-item.js +4 -4
  357. package/dist/components/dropdown.js +36 -37
  358. package/dist/components/filter.js +1 -1
  359. package/dist/components/filter2.js +5 -10
  360. package/dist/components/floating-ui.js +54 -15
  361. package/dist/components/flow-item.js +3 -5
  362. package/dist/components/flow.js +2 -2
  363. package/dist/components/focusTrapComponent.js +43 -48
  364. package/dist/components/form.js +1 -1
  365. package/dist/components/graph.js +1 -1
  366. package/dist/components/guid.js +1 -1
  367. package/dist/components/handle.js +5 -9
  368. package/dist/components/icon.js +3 -3
  369. package/dist/components/index-p4VH55K1.js +4107 -0
  370. package/dist/components/index.js +2 -2
  371. package/dist/components/index4.js +1 -1
  372. package/dist/components/index5.js +5 -10
  373. package/dist/components/index6.js +5 -5
  374. package/dist/components/input-date-picker.js +12 -14
  375. package/dist/components/input-message.js +2 -2
  376. package/dist/components/input-number.js +16 -18
  377. package/dist/components/input-text.js +10 -12
  378. package/dist/components/input.js +16 -18
  379. package/dist/components/input2.js +1 -1
  380. package/dist/components/instant-apps-time-filter.js +6 -6
  381. package/dist/components/interactive.js +3 -83
  382. package/dist/components/key.js +1 -1
  383. package/dist/components/label.js +1 -1
  384. package/dist/components/label2.js +2 -2
  385. package/dist/components/link.js +9 -11
  386. package/dist/components/list-item.js +7 -6
  387. package/dist/components/list.js +26 -22
  388. package/dist/components/loadable.js +1 -1
  389. package/dist/components/loader.js +15 -12
  390. package/dist/components/locale2.js +2 -2
  391. package/dist/components/logger.js +1 -1
  392. package/dist/components/math.js +1 -1
  393. package/dist/components/menu.js +2 -2
  394. package/dist/components/modal.js +5 -5
  395. package/dist/components/navigation-user.js +2 -2
  396. package/dist/components/notice.js +3 -3
  397. package/dist/components/observers.js +1 -1
  398. package/dist/components/openCloseComponent.js +1 -1
  399. package/dist/components/option.js +1 -1
  400. package/dist/components/pagination.js +5 -37
  401. package/dist/components/panel.js +14 -10
  402. package/dist/components/pick-list-item.js +3 -5
  403. package/dist/components/popover.js +11 -7
  404. package/dist/components/progress.js +2 -2
  405. package/dist/components/radio-button.js +3 -5
  406. package/dist/components/region.js +32 -0
  407. package/dist/components/resources.js +1 -1
  408. package/dist/components/resources2.js +1 -1
  409. package/dist/components/resources3.js +1 -1
  410. package/dist/components/resources4.js +2 -1
  411. package/dist/components/resources5.js +1 -1
  412. package/dist/components/resources6.js +1 -1
  413. package/dist/components/responsive.js +37 -0
  414. package/dist/components/scrim.js +2 -2
  415. package/dist/components/segmented-control-item.js +2 -2
  416. package/dist/components/segmented-control.js +32 -36
  417. package/dist/components/select.js +3 -5
  418. package/dist/components/shared-list-render.js +6 -6
  419. package/dist/components/shell-panel.js +4 -4
  420. package/dist/components/shell.js +3 -3
  421. package/dist/components/slider.js +9 -11
  422. package/dist/components/solution-item-accordion.js +62 -25
  423. package/dist/components/sortableComponent.js +27 -29
  424. package/dist/components/stack.js +2 -2
  425. package/dist/components/switch.js +4 -6
  426. package/dist/components/t9n.js +1 -1
  427. package/dist/components/tab-nav.js +4 -4
  428. package/dist/components/tab-title.js +6 -9
  429. package/dist/components/tab.js +2 -2
  430. package/dist/components/table-cell.js +4 -6
  431. package/dist/components/table-header.js +3 -3
  432. package/dist/components/tabs.js +2 -2
  433. package/dist/components/time-picker.js +21 -27
  434. package/dist/components/time-zones.js +41 -357
  435. package/dist/components/tooltip.js +12 -7
  436. package/dist/components/tree-item.js +7 -9
  437. package/dist/components/tree.js +4 -4
  438. package/dist/components/utils.js +2 -2
  439. package/dist/components/utils2.js +2 -2
  440. package/dist/components/utils3.js +5 -3
  441. package/dist/components/value-list-item.js +3 -5
  442. package/dist/components/value-list.js +6 -8
  443. package/dist/esm/ExpandToggle-4d440eb0.js +108 -0
  444. package/dist/esm/FloatingArrow-4f645ccd.js +46 -0
  445. package/dist/esm/Heading-80b3be96.js +22 -0
  446. package/dist/esm/Validation-cf136c56.js +18 -0
  447. package/dist/esm/app-globals-4aab2132.js +65 -0
  448. package/dist/esm/ar-d4e9c6ca.js +104 -0
  449. package/dist/esm/arcgis-login.entry.js +1 -1
  450. package/dist/esm/array-0e780f6f.js +15 -0
  451. package/dist/esm/basemap-gallery_7.entry.js +2 -2
  452. package/dist/esm/bg-e7db3070.js +82 -0
  453. package/dist/esm/browser-b67d8df6.js +32 -0
  454. package/dist/esm/bs-154d0540.js +51 -0
  455. package/dist/esm/buffer-tools_3.entry.js +9 -9
  456. package/dist/esm/ca-403d9586.js +71 -0
  457. package/dist/esm/calcite-accordion_2.entry.js +20 -20
  458. package/dist/esm/calcite-action-bar.entry.js +17 -20
  459. package/dist/esm/calcite-action-group.entry.js +18 -16
  460. package/dist/esm/calcite-action-menu_2.entry.js +27 -24
  461. package/dist/esm/calcite-action-pad_2.entry.js +20 -21
  462. package/dist/esm/calcite-action_2.entry.js +32 -30
  463. package/dist/esm/calcite-alert_5.entry.js +25 -27
  464. package/dist/esm/calcite-avatar.entry.js +10 -10
  465. package/dist/esm/calcite-block-section.entry.js +12 -12
  466. package/dist/esm/calcite-block_5.entry.js +45 -47
  467. package/dist/esm/calcite-button.entry.js +24 -22
  468. package/dist/esm/calcite-card-group.entry.js +9 -15
  469. package/dist/esm/calcite-card.entry.js +50 -31
  470. package/dist/esm/calcite-carousel_2.entry.js +92 -37
  471. package/dist/esm/calcite-checkbox.entry.js +15 -17
  472. package/dist/esm/calcite-chip-group.entry.js +8 -12
  473. package/dist/esm/calcite-chip_2.entry.js +22 -26
  474. package/dist/esm/calcite-color-picker-hex-input_2.entry.js +37 -20
  475. package/dist/esm/calcite-color-picker.entry.js +15 -17
  476. package/dist/esm/calcite-combobox-item-group.entry.js +8 -8
  477. package/dist/esm/calcite-combobox_3.entry.js +36 -42
  478. package/dist/esm/calcite-date-picker-day_3.entry.js +16 -22
  479. package/dist/esm/calcite-dialog.entry.js +20 -23
  480. package/dist/esm/calcite-dropdown_2.entry.js +50 -51
  481. package/dist/esm/calcite-fab.entry.js +9 -15
  482. package/dist/esm/calcite-filter_5.entry.js +58 -61
  483. package/dist/esm/calcite-flow_4.entry.js +7 -7
  484. package/dist/esm/calcite-graph_2.entry.js +23 -25
  485. package/dist/esm/calcite-icon_2.entry.js +24 -23
  486. package/dist/esm/calcite-inline-editable.entry.js +17 -19
  487. package/dist/esm/calcite-input-number.entry.js +31 -33
  488. package/dist/esm/calcite-input-text.entry.js +25 -27
  489. package/dist/esm/calcite-input-time-picker-cc675f33.js +1867 -0
  490. package/dist/esm/calcite-input-time-picker.entry.js +21 -21
  491. package/dist/esm/calcite-input-time-zone.entry.js +100 -66
  492. package/dist/esm/calcite-input_2.entry.js +33 -35
  493. package/dist/esm/calcite-label.entry.js +8 -8
  494. package/dist/esm/calcite-link.entry.js +15 -17
  495. package/dist/esm/calcite-list-item-group.entry.js +5 -12
  496. package/dist/esm/calcite-menu-item.entry.js +13 -13
  497. package/dist/esm/calcite-menu.entry.js +12 -12
  498. package/dist/esm/calcite-meter.entry.js +12 -12
  499. package/dist/esm/calcite-modal_3.entry.js +25 -25
  500. package/dist/esm/calcite-navigation-logo.entry.js +6 -6
  501. package/dist/esm/calcite-navigation-user.entry.js +5 -5
  502. package/dist/esm/calcite-navigation.entry.js +9 -9
  503. package/dist/esm/calcite-notice.entry.js +17 -17
  504. package/dist/esm/calcite-option-group.entry.js +2 -2
  505. package/dist/esm/calcite-option_2.entry.js +15 -17
  506. package/dist/esm/calcite-pagination.entry.js +15 -47
  507. package/dist/esm/calcite-pick-list-group.entry.js +12 -12
  508. package/dist/esm/calcite-pick-list-item.entry.js +17 -19
  509. package/dist/esm/calcite-pick-list.entry.js +15 -17
  510. package/dist/esm/calcite-radio-button-group.entry.js +10 -10
  511. package/dist/esm/calcite-radio-button.entry.js +13 -15
  512. package/dist/esm/calcite-rating.entry.js +18 -22
  513. package/dist/esm/calcite-scrim.entry.js +11 -11
  514. package/dist/esm/calcite-segmented-control_2.entry.js +43 -47
  515. package/dist/esm/calcite-sheet.entry.js +14 -14
  516. package/dist/esm/calcite-shell-center-row.entry.js +10 -10
  517. package/dist/esm/calcite-shell-panel_14.entry.js +47 -54
  518. package/dist/esm/calcite-sortable-list.entry.js +11 -13
  519. package/dist/esm/calcite-split-button.entry.js +6 -12
  520. package/dist/esm/calcite-stepper-item.entry.js +14 -16
  521. package/dist/esm/calcite-stepper.entry.js +12 -12
  522. package/dist/esm/calcite-switch.entry.js +14 -16
  523. package/dist/esm/calcite-table-cell_2.entry.js +18 -20
  524. package/dist/esm/calcite-table-row.entry.js +9 -16
  525. package/dist/esm/calcite-table.entry.js +18 -18
  526. package/dist/esm/calcite-text-area.entry.js +26 -28
  527. package/dist/esm/calcite-tile-group.entry.js +9 -11
  528. package/dist/esm/calcite-tile-select-group.entry.js +5 -12
  529. package/dist/esm/calcite-tile-select.entry.js +10 -12
  530. package/dist/esm/calcite-tile.entry.js +9 -15
  531. package/dist/esm/calcite-time-picker.entry.js +32 -38
  532. package/dist/esm/calcite-tip-group.entry.js +4 -4
  533. package/dist/esm/calcite-tip-manager.entry.js +13 -13
  534. package/dist/esm/calcite-tip.entry.js +15 -15
  535. package/dist/esm/calcite-tooltip.entry.js +20 -15
  536. package/dist/esm/calcite-tree_2.entry.js +18 -20
  537. package/dist/esm/card-manager_3.entry.js +3 -3
  538. package/dist/esm/component-83541c88.js +30 -0
  539. package/dist/esm/conditionalSlot-8a0b08ef.js +51 -0
  540. package/dist/esm/config-16813c92.js +36 -0
  541. package/dist/esm/consent-manager.entry.js +2 -2
  542. package/dist/esm/crowdsource-manager.entry.js +3 -3
  543. package/dist/esm/crowdsource-reporter.entry.js +2 -2
  544. package/dist/esm/cs-4687cf9f.js +147 -0
  545. package/dist/esm/da-27cb521d.js +67 -0
  546. package/dist/esm/date-4fc03f44.js +248 -0
  547. package/dist/esm/de-1fcb8b55.js +91 -0
  548. package/dist/esm/de-at-621e3161.js +90 -0
  549. package/dist/esm/de-ch-dbe106ba.js +90 -0
  550. package/dist/esm/deduct-calculator.entry.js +1 -1
  551. package/dist/esm/dom-75c641a7.js +1165 -0
  552. package/dist/esm/downloadUtils-e266e98d.js +3232 -0
  553. package/dist/esm/el-60cb7e8e.js +66 -0
  554. package/dist/esm/en-au-6b31eadf.js +66 -0
  555. package/dist/esm/en-ca-c62e2c29.js +65 -0
  556. package/dist/esm/en-gb-7b86a861.js +69 -0
  557. package/dist/esm/es-b048cf9a.js +66 -0
  558. package/dist/esm/es-mx-a469d043.js +65 -0
  559. package/dist/esm/et-09e59731.js +92 -0
  560. package/dist/esm/feature-comments.entry.js +1 -1
  561. package/dist/esm/feature-form-flow-item.entry.js +1 -1
  562. package/dist/esm/feature-list.entry.js +4 -4
  563. package/dist/esm/features-flow-item.entry.js +1 -1
  564. package/dist/esm/fi-98448a04.js +115 -0
  565. package/dist/esm/filter-c0066fe2.js +775 -0
  566. package/dist/esm/floating-ui-93b345b1.js +2404 -0
  567. package/dist/esm/focusTrapComponent-35b3348c.js +1008 -0
  568. package/dist/esm/form-d45062d8.js +372 -0
  569. package/dist/esm/fr-3a6bc75f.js +68 -0
  570. package/dist/esm/fr-ch-dd9aa577.js +66 -0
  571. package/dist/esm/guid-b0fb1de3.js +24 -0
  572. package/dist/esm/he-510944f3.js +105 -0
  573. package/dist/esm/helpers-f9bf9c0b.js +913 -0
  574. package/dist/esm/hi-b7f35ddc.js +65 -0
  575. package/dist/esm/hr-91d6e89b.js +80 -0
  576. package/dist/esm/hu-ab576bec.js +88 -0
  577. package/dist/esm/id-5ebe99df.js +66 -0
  578. package/dist/esm/index-19dc829d.js +126 -0
  579. package/dist/esm/index-39bc2e6d.js +199 -0
  580. package/dist/esm/index-3aaf8d41.js +13 -0
  581. package/dist/esm/index-46fa2a72.js +56 -0
  582. package/dist/esm/index-904bc599.js +1736 -0
  583. package/dist/esm/index-p4VH55K1-881b80d8.js +4107 -0
  584. package/dist/esm/index.es-c5f258e2.js +11220 -0
  585. package/dist/esm/input-e01adc49.js +58 -0
  586. package/dist/esm/instant-apps-app-guide.entry.js +2 -2
  587. package/dist/esm/instant-apps-ckeditor-wrapper_3.entry.js +4 -4
  588. package/dist/esm/instant-apps-control-panel.entry.js +1 -1
  589. package/dist/esm/instant-apps-create.entry.js +2 -2
  590. package/dist/esm/instant-apps-export-views.entry.js +2 -2
  591. package/dist/esm/instant-apps-export.entry.js +2 -2
  592. package/dist/esm/instant-apps-header.entry.js +1 -1
  593. package/dist/esm/instant-apps-interactive-legend-classic.entry.js +3 -3
  594. package/dist/esm/instant-apps-interactive-legend-count_2.entry.js +3 -3
  595. package/dist/esm/instant-apps-interactive-legend-group-legend-element-caption.entry.js +3 -3
  596. package/dist/esm/instant-apps-interactive-legend-group-legend-element_5.entry.js +3 -3
  597. package/dist/esm/instant-apps-interactive-legend.entry.js +4 -4
  598. package/dist/esm/instant-apps-keyboard-shortcuts.entry.js +2 -2
  599. package/dist/esm/instant-apps-landing-page.entry.js +1 -1
  600. package/dist/esm/instant-apps-language-switcher.entry.js +4 -4
  601. package/dist/esm/instant-apps-language-translator.entry.js +4 -4
  602. package/dist/esm/instant-apps-measurement.entry.js +2 -2
  603. package/dist/esm/instant-apps-popover.entry.js +2 -2
  604. package/dist/esm/instant-apps-popovers.entry.js +1 -1
  605. package/dist/esm/instant-apps-scoreboard.entry.js +2 -2
  606. package/dist/esm/instant-apps-sign-in.entry.js +2 -2
  607. package/dist/esm/instant-apps-splash.entry.js +2 -2
  608. package/dist/esm/instant-apps-time-filter.entry.js +9 -9
  609. package/dist/esm/interactive-98ed6b6f.js +82 -0
  610. package/dist/esm/it-62f24385.js +66 -0
  611. package/dist/esm/it-ch-11bc01ef.js +66 -0
  612. package/dist/esm/ja-4073b97b.js +72 -0
  613. package/dist/esm/key-e6b442de.js +16 -0
  614. package/dist/esm/ko-c1f9c746.js +72 -0
  615. package/dist/esm/label-272c5973.js +179 -0
  616. package/dist/esm/layout-manager.entry.js +2 -2
  617. package/dist/esm/list-flow-item.entry.js +1 -1
  618. package/dist/esm/loadable-7cb2fc6f.js +93 -0
  619. package/dist/esm/loader.js +7 -7
  620. package/dist/esm/locale-0d06fca0.js +155 -0
  621. package/dist/esm/locale-24516fec.js +591 -0
  622. package/dist/esm/locale-ce177eb8.js +115 -0
  623. package/dist/esm/location-flow-item.entry.js +1 -1
  624. package/dist/esm/logger-f75712ce.js +59 -0
  625. package/dist/esm/lt-f293ef90.js +97 -0
  626. package/dist/esm/lv-cc60dc4f.js +66 -0
  627. package/dist/esm/map-select-tools_3.entry.js +5 -5
  628. package/dist/esm/math-d7c8823c.js +54 -0
  629. package/dist/esm/mk-90d4457e.js +66 -0
  630. package/dist/esm/nb-3d8eb4cc.js +67 -0
  631. package/dist/esm/nl-a2e0732f.js +67 -0
  632. package/dist/esm/observers-c83631e8.js +56 -0
  633. package/dist/esm/openCloseComponent-f642bffd.js +63 -0
  634. package/dist/esm/pci-calculator.entry.js +1 -1
  635. package/dist/esm/pl-1e1abb9b.js +114 -0
  636. package/dist/esm/popupUtils-4570096e.js +119 -0
  637. package/dist/esm/pt-1bc85b37.js +67 -0
  638. package/dist/esm/pt-br-bd78f1f2.js +65 -0
  639. package/dist/esm/public-notification.entry.js +5 -5
  640. package/dist/esm/publicNotificationStore-8f6b0f93.js +45 -0
  641. package/dist/esm/refine-results-flow-item.entry.js +1 -1
  642. package/dist/esm/region-a37e45f7.js +32 -0
  643. package/dist/esm/resources-14a1713f.js +20 -0
  644. package/dist/esm/resources-29590c8b.js +24 -0
  645. package/dist/esm/resources-35208c6c.js +63 -0
  646. package/dist/esm/resources-5956d3f9.js +35 -0
  647. package/dist/esm/resources-8e2ed936.js +34 -0
  648. package/dist/esm/resources-aa7bb7b6.js +22 -0
  649. package/dist/esm/resources-bc1429eb.js +63 -0
  650. package/dist/esm/resources-be1618c8.js +19 -0
  651. package/dist/esm/resources-c1a8d628.js +21 -0
  652. package/dist/esm/resources-de1ba6bb.js +23 -0
  653. package/dist/esm/responsive-b2be423e.js +37 -0
  654. package/dist/esm/ro-c1cb4571.js +66 -0
  655. package/dist/esm/ru-deb7b95b.js +126 -0
  656. package/dist/esm/share-item.entry.js +1 -1
  657. package/dist/esm/shared-list-render-0d3e719c.js +339 -0
  658. package/dist/esm/sk-e86a1a74.js +148 -0
  659. package/dist/esm/sl-4f70ce5c.js +168 -0
  660. package/dist/esm/solution-configuration.entry.js +4 -4
  661. package/dist/esm/solution-contents_3.entry.js +4 -4
  662. package/dist/esm/solution-item-accordion.entry.js +64 -27
  663. package/dist/esm/solution-item-icon.entry.js +1 -1
  664. package/dist/esm/solution-store-ff13861b.js +1352 -0
  665. package/dist/esm/solutions-components.js +7 -7
  666. package/dist/esm/sortableComponent-7f184466.js +2743 -0
  667. package/dist/esm/spatial-ref.entry.js +2 -2
  668. package/dist/esm/sr-bcde0bb0.js +101 -0
  669. package/dist/esm/store-manager.entry.js +3 -3
  670. package/dist/esm/sv-e585fbb5.js +71 -0
  671. package/dist/esm/t9n-9a5d28cf.js +103 -0
  672. package/dist/esm/th-f1746070.js +65 -0
  673. package/dist/esm/time-fbe17659.js +286 -0
  674. package/dist/esm/time-zones-044d518b.js +49 -0
  675. package/dist/esm/tr-065767bb.js +66 -0
  676. package/dist/esm/uk-96e72322.js +104 -0
  677. package/dist/esm/utils-3fc29543.js +142 -0
  678. package/dist/esm/utils-b5a6dbcd.js +65 -0
  679. package/dist/esm/utils-dadbd166.js +2274 -0
  680. package/dist/esm/vi-667fe4b6.js +70 -0
  681. package/dist/esm/zh-cn-fbbbe429.js +94 -0
  682. package/dist/esm/zh-hk-d11430a1.js +92 -0
  683. package/dist/esm/zh-tw-4a1b522b.js +92 -0
  684. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion/accordion.css +5 -5
  685. package/dist/node_modules/@esri/calcite-components/dist/collection/components/accordion-item/accordion-item.css +35 -22
  686. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action/action.css +20 -7
  687. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-bar/action-bar.css +6 -6
  688. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-group/action-group.css +9 -9
  689. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-menu/action-menu.css +5 -5
  690. package/dist/node_modules/@esri/calcite-components/dist/collection/components/action-pad/action-pad.css +8 -8
  691. package/dist/node_modules/@esri/calcite-components/dist/collection/components/alert/alert.css +63 -52
  692. package/dist/node_modules/@esri/calcite-components/dist/collection/components/avatar/avatar.css +42 -32
  693. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block/block.css +5 -5
  694. package/dist/node_modules/@esri/calcite-components/dist/collection/components/block-section/block-section.css +5 -5
  695. package/dist/node_modules/@esri/calcite-components/dist/collection/components/button/button.css +5 -5
  696. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card/card.css +46 -51
  697. package/dist/node_modules/@esri/calcite-components/dist/collection/components/card-group/card-group.css +16 -16
  698. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel/carousel.css +25 -5
  699. package/dist/node_modules/@esri/calcite-components/dist/collection/components/carousel-item/carousel-item.css +5 -5
  700. package/dist/node_modules/@esri/calcite-components/dist/collection/components/checkbox/checkbox.css +23 -19
  701. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip/chip.css +273 -334
  702. package/dist/node_modules/@esri/calcite-components/dist/collection/components/chip-group/chip-group.css +5 -5
  703. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker/color-picker.css +5 -5
  704. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-hex-input/color-picker-hex-input.css +5 -5
  705. package/dist/node_modules/@esri/calcite-components/dist/collection/components/color-picker-swatch/color-picker-swatch.css +5 -5
  706. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox/combobox.css +5 -5
  707. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item/combobox-item.css +5 -5
  708. package/dist/node_modules/@esri/calcite-components/dist/collection/components/combobox-item-group/combobox-item-group.css +5 -5
  709. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker/date-picker.css +5 -5
  710. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-day/date-picker-day.css +5 -5
  711. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month/date-picker-month.css +5 -5
  712. package/dist/node_modules/@esri/calcite-components/dist/collection/components/date-picker-month-header/date-picker-month-header.css +5 -5
  713. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dialog/dialog.css +7 -5
  714. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown/dropdown.css +5 -5
  715. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-group/dropdown-group.css +5 -5
  716. package/dist/node_modules/@esri/calcite-components/dist/collection/components/dropdown-item/dropdown-item.css +5 -5
  717. package/dist/node_modules/@esri/calcite-components/dist/collection/components/fab/fab.css +5 -5
  718. package/dist/node_modules/@esri/calcite-components/dist/collection/components/filter/filter.css +5 -5
  719. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow/flow.css +5 -5
  720. package/dist/node_modules/@esri/calcite-components/dist/collection/components/flow-item/flow-item.css +5 -5
  721. package/dist/node_modules/@esri/calcite-components/dist/collection/components/graph/graph.css +5 -5
  722. package/dist/node_modules/@esri/calcite-components/dist/collection/components/handle/handle.css +24 -11
  723. package/dist/node_modules/@esri/calcite-components/dist/collection/components/icon/icon.css +7 -7
  724. package/dist/node_modules/@esri/calcite-components/dist/collection/components/inline-editable/inline-editable.css +5 -5
  725. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input/input.css +15 -5
  726. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-date-picker/input-date-picker.css +5 -5
  727. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-message/input-message.css +5 -5
  728. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-number/input-number.css +15 -5
  729. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-text/input-text.css +15 -5
  730. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-picker/input-time-picker.css +5 -5
  731. package/dist/node_modules/@esri/calcite-components/dist/collection/components/input-time-zone/input-time-zone.css +5 -5
  732. package/dist/node_modules/@esri/calcite-components/dist/collection/components/label/label.css +5 -5
  733. package/dist/node_modules/@esri/calcite-components/dist/collection/components/link/link.css +5 -5
  734. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list/list.css +5 -5
  735. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item/list-item.css +10 -6
  736. package/dist/node_modules/@esri/calcite-components/dist/collection/components/list-item-group/list-item-group.css +5 -5
  737. package/dist/node_modules/@esri/calcite-components/dist/collection/components/loader/loader.css +5 -5
  738. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu/menu.css +5 -5
  739. package/dist/node_modules/@esri/calcite-components/dist/collection/components/menu-item/menu-item.css +5 -5
  740. package/dist/node_modules/@esri/calcite-components/dist/collection/components/meter/meter.css +5 -5
  741. package/dist/node_modules/@esri/calcite-components/dist/collection/components/modal/modal.css +5 -5
  742. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation/navigation.css +5 -5
  743. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-logo/navigation-logo.css +5 -5
  744. package/dist/node_modules/@esri/calcite-components/dist/collection/components/navigation-user/navigation-user.css +5 -5
  745. package/dist/node_modules/@esri/calcite-components/dist/collection/components/notice/notice.css +5 -5
  746. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option/option.css +5 -5
  747. package/dist/node_modules/@esri/calcite-components/dist/collection/components/option-group/option-group.css +5 -5
  748. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pagination/pagination.css +5 -5
  749. package/dist/node_modules/@esri/calcite-components/dist/collection/components/panel/panel.css +8 -6
  750. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list/pick-list.css +5 -5
  751. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-group/pick-list-group.css +5 -5
  752. package/dist/node_modules/@esri/calcite-components/dist/collection/components/pick-list-item/pick-list-item.css +5 -5
  753. package/dist/node_modules/@esri/calcite-components/dist/collection/components/popover/popover.css +28 -22
  754. package/dist/node_modules/@esri/calcite-components/dist/collection/components/progress/progress.css +17 -8
  755. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button/radio-button.css +5 -5
  756. package/dist/node_modules/@esri/calcite-components/dist/collection/components/radio-button-group/radio-button-group.css +5 -5
  757. package/dist/node_modules/@esri/calcite-components/dist/collection/components/rating/rating.css +5 -5
  758. package/dist/node_modules/@esri/calcite-components/dist/collection/components/scrim/scrim.css +5 -5
  759. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control/segmented-control.css +5 -5
  760. package/dist/node_modules/@esri/calcite-components/dist/collection/components/segmented-control-item/segmented-control-item.css +5 -5
  761. package/dist/node_modules/@esri/calcite-components/dist/collection/components/select/select.css +5 -5
  762. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sheet/sheet.css +5 -5
  763. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell/shell.css +5 -10
  764. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-center-row/shell-center-row.css +5 -5
  765. package/dist/node_modules/@esri/calcite-components/dist/collection/components/shell-panel/shell-panel.css +8 -5
  766. package/dist/node_modules/@esri/calcite-components/dist/collection/components/slider/slider.css +5 -5
  767. package/dist/node_modules/@esri/calcite-components/dist/collection/components/sortable-list/sortable-list.css +5 -5
  768. package/dist/node_modules/@esri/calcite-components/dist/collection/components/split-button/split-button.css +5 -5
  769. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stack/stack.css +5 -5
  770. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper/stepper.css +5 -5
  771. package/dist/node_modules/@esri/calcite-components/dist/collection/components/stepper-item/stepper-item.css +5 -5
  772. package/dist/node_modules/@esri/calcite-components/dist/collection/components/switch/switch.css +7 -7
  773. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab/tab.css +5 -5
  774. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-nav/tab-nav.css +5 -5
  775. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tab-title/tab-title.css +5 -5
  776. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table/table.css +5 -5
  777. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-cell/table-cell.css +5 -5
  778. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-header/table-header.css +5 -5
  779. package/dist/node_modules/@esri/calcite-components/dist/collection/components/table-row/table-row.css +5 -5
  780. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tabs/tabs.css +5 -5
  781. package/dist/node_modules/@esri/calcite-components/dist/collection/components/text-area/text-area.css +130 -105
  782. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile/tile.css +5 -5
  783. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-group/tile-group.css +5 -5
  784. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select/tile-select.css +5 -5
  785. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tile-select-group/tile-select-group.css +5 -5
  786. package/dist/node_modules/@esri/calcite-components/dist/collection/components/time-picker/time-picker.css +5 -5
  787. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip/tip.css +5 -5
  788. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-group/tip-group.css +5 -5
  789. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tip-manager/tip-manager.css +5 -5
  790. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tooltip/tooltip.css +5 -5
  791. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree/tree.css +5 -5
  792. package/dist/node_modules/@esri/calcite-components/dist/collection/components/tree-item/tree-item.css +5 -5
  793. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list/value-list.css +5 -5
  794. package/dist/node_modules/@esri/calcite-components/dist/collection/components/value-list-item/value-list-item.css +5 -5
  795. package/dist/solutions-components/assets/action/t9n/index.d.ts +1 -0
  796. package/dist/solutions-components/assets/action/t9n/messages.json +2 -1
  797. package/dist/solutions-components/assets/action/t9n/messages_en.json +2 -1
  798. package/dist/solutions-components/assets/dialog/t9n/messages_ar.json +3 -1
  799. package/dist/solutions-components/assets/dialog/t9n/messages_bg.json +3 -1
  800. package/dist/solutions-components/assets/dialog/t9n/messages_bs.json +3 -1
  801. package/dist/solutions-components/assets/dialog/t9n/messages_ca.json +3 -1
  802. package/dist/solutions-components/assets/dialog/t9n/messages_cs.json +3 -1
  803. package/dist/solutions-components/assets/dialog/t9n/messages_da.json +3 -1
  804. package/dist/solutions-components/assets/dialog/t9n/messages_de.json +3 -1
  805. package/dist/solutions-components/assets/dialog/t9n/messages_el.json +3 -1
  806. package/dist/solutions-components/assets/dialog/t9n/messages_es.json +3 -1
  807. package/dist/solutions-components/assets/dialog/t9n/messages_et.json +3 -1
  808. package/dist/solutions-components/assets/dialog/t9n/messages_fi.json +3 -1
  809. package/dist/solutions-components/assets/dialog/t9n/messages_fr.json +3 -1
  810. package/dist/solutions-components/assets/dialog/t9n/messages_he.json +3 -1
  811. package/dist/solutions-components/assets/dialog/t9n/messages_hr.json +3 -1
  812. package/dist/solutions-components/assets/dialog/t9n/messages_hu.json +3 -1
  813. package/dist/solutions-components/assets/dialog/t9n/messages_id.json +3 -1
  814. package/dist/solutions-components/assets/dialog/t9n/messages_it.json +3 -1
  815. package/dist/solutions-components/assets/dialog/t9n/messages_ja.json +3 -1
  816. package/dist/solutions-components/assets/dialog/t9n/messages_ko.json +3 -1
  817. package/dist/solutions-components/assets/dialog/t9n/messages_lt.json +3 -1
  818. package/dist/solutions-components/assets/dialog/t9n/messages_lv.json +3 -1
  819. package/dist/solutions-components/assets/dialog/t9n/messages_nl.json +3 -1
  820. package/dist/solutions-components/assets/dialog/t9n/messages_no.json +3 -1
  821. package/dist/solutions-components/assets/dialog/t9n/messages_pl.json +3 -1
  822. package/dist/solutions-components/assets/dialog/t9n/messages_pt-BR.json +3 -1
  823. package/dist/solutions-components/assets/dialog/t9n/messages_pt-PT.json +3 -1
  824. package/dist/solutions-components/assets/dialog/t9n/messages_ro.json +3 -1
  825. package/dist/solutions-components/assets/dialog/t9n/messages_ru.json +3 -1
  826. package/dist/solutions-components/assets/dialog/t9n/messages_sk.json +3 -1
  827. package/dist/solutions-components/assets/dialog/t9n/messages_sl.json +3 -1
  828. package/dist/solutions-components/assets/dialog/t9n/messages_sr.json +3 -1
  829. package/dist/solutions-components/assets/dialog/t9n/messages_sv.json +3 -1
  830. package/dist/solutions-components/assets/dialog/t9n/messages_th.json +3 -1
  831. package/dist/solutions-components/assets/dialog/t9n/messages_tr.json +3 -1
  832. package/dist/solutions-components/assets/dialog/t9n/messages_uk.json +3 -1
  833. package/dist/solutions-components/assets/dialog/t9n/messages_vi.json +3 -1
  834. package/dist/solutions-components/assets/dialog/t9n/messages_zh-CN.json +3 -1
  835. package/dist/solutions-components/assets/dialog/t9n/messages_zh-HK.json +3 -1
  836. package/dist/solutions-components/assets/dialog/t9n/messages_zh-TW.json +3 -1
  837. package/dist/solutions-components/assets/icon/connectionEndLeft16.json +1 -0
  838. package/dist/solutions-components/assets/icon/connectionEndLeft24.json +1 -0
  839. package/dist/solutions-components/assets/icon/connectionEndLeft32.json +1 -0
  840. package/dist/solutions-components/assets/icon/connectionEndRight16.json +1 -0
  841. package/dist/solutions-components/assets/icon/connectionEndRight24.json +1 -0
  842. package/dist/solutions-components/assets/icon/connectionEndRight32.json +1 -0
  843. package/dist/solutions-components/assets/icon/connectionMiddle16.json +1 -0
  844. package/dist/solutions-components/assets/icon/connectionMiddle24.json +1 -0
  845. package/dist/solutions-components/assets/icon/connectionMiddle32.json +1 -0
  846. package/dist/solutions-components/assets/icon/connectionToConnection16.json +1 -0
  847. package/dist/solutions-components/assets/icon/connectionToConnection24.json +1 -0
  848. package/dist/solutions-components/assets/icon/connectionToConnection32.json +1 -0
  849. package/dist/solutions-components/assets/icon/contentInlineRight16.json +1 -0
  850. package/dist/solutions-components/assets/icon/contentInlineRight24.json +1 -0
  851. package/dist/solutions-components/assets/icon/contentInlineRight32.json +1 -0
  852. package/dist/solutions-components/assets/icon/dashboardGraph16.json +1 -0
  853. package/dist/solutions-components/assets/icon/dashboardGraph24.json +1 -0
  854. package/dist/solutions-components/assets/icon/dashboardGraph32.json +1 -0
  855. package/dist/solutions-components/assets/icon/divide16.json +1 -0
  856. package/dist/solutions-components/assets/icon/divide24.json +1 -0
  857. package/dist/solutions-components/assets/icon/divide32.json +1 -0
  858. package/dist/solutions-components/assets/icon/i3DBuilding16.json +1 -0
  859. package/dist/solutions-components/assets/icon/i3DBuilding24.json +1 -0
  860. package/dist/solutions-components/assets/icon/i3DBuilding32.json +1 -0
  861. package/dist/solutions-components/assets/icon/i3DBuildingParameter16.json +1 -0
  862. package/dist/solutions-components/assets/icon/i3DBuildingParameter24.json +1 -0
  863. package/dist/solutions-components/assets/icon/i3DBuildingParameter32.json +1 -0
  864. package/dist/solutions-components/assets/icon/justify16.json +1 -0
  865. package/dist/solutions-components/assets/icon/justify24.json +1 -0
  866. package/dist/solutions-components/assets/icon/justify32.json +1 -0
  867. package/dist/solutions-components/assets/icon/layers16F.json +1 -0
  868. package/dist/solutions-components/assets/icon/layers24F.json +1 -0
  869. package/dist/solutions-components/assets/icon/layers32F.json +1 -0
  870. package/dist/solutions-components/assets/icon/modelHistory16.json +1 -0
  871. package/dist/solutions-components/assets/icon/modelHistory24.json +1 -0
  872. package/dist/solutions-components/assets/icon/modelHistory32.json +1 -0
  873. package/dist/solutions-components/assets/icon/nVariable16.json +1 -0
  874. package/dist/solutions-components/assets/icon/nVariable24.json +1 -0
  875. package/dist/solutions-components/assets/icon/nVariable32.json +1 -0
  876. package/dist/solutions-components/assets/icon/parcel16.json +1 -0
  877. package/dist/solutions-components/assets/icon/parcel24.json +1 -0
  878. package/dist/solutions-components/assets/icon/parcel32.json +1 -0
  879. package/dist/solutions-components/assets/icon/parcelParameter16.json +1 -0
  880. package/dist/solutions-components/assets/icon/parcelParameter24.json +1 -0
  881. package/dist/solutions-components/assets/icon/parcelParameter32.json +1 -0
  882. package/dist/solutions-components/assets/icon/rasterFunctionHistory16.json +1 -0
  883. package/dist/solutions-components/assets/icon/rasterFunctionHistory24.json +1 -0
  884. package/dist/solutions-components/assets/icon/rasterFunctionHistory32.json +1 -0
  885. package/dist/solutions-components/assets/icon/rasterFunctionTemplateHistory16.json +1 -0
  886. package/dist/solutions-components/assets/icon/rasterFunctionTemplateHistory24.json +1 -0
  887. package/dist/solutions-components/assets/icon/rasterFunctionTemplateHistory32.json +1 -0
  888. package/dist/solutions-components/assets/icon/rasterToolHistory16.json +1 -0
  889. package/dist/solutions-components/assets/icon/rasterToolHistory24.json +1 -0
  890. package/dist/solutions-components/assets/icon/rasterToolHistory32.json +1 -0
  891. package/dist/solutions-components/assets/icon/refresh16F.json +1 -0
  892. package/dist/solutions-components/assets/icon/refresh24F.json +1 -0
  893. package/dist/solutions-components/assets/icon/refresh32F.json +1 -0
  894. package/dist/solutions-components/assets/icon/rss16F.json +1 -0
  895. package/dist/solutions-components/assets/icon/rss24F.json +1 -0
  896. package/dist/solutions-components/assets/icon/rss32F.json +1 -0
  897. package/dist/solutions-components/assets/icon/spaces16.json +1 -0
  898. package/dist/solutions-components/assets/icon/spaces24.json +1 -0
  899. package/dist/solutions-components/assets/icon/spaces32.json +1 -0
  900. package/dist/solutions-components/assets/icon/spacesParameter16.json +1 -0
  901. package/dist/solutions-components/assets/icon/spacesParameter24.json +1 -0
  902. package/dist/solutions-components/assets/icon/spacesParameter32.json +1 -0
  903. package/dist/solutions-components/assets/icon/squareBracketsX16.json +1 -0
  904. package/dist/solutions-components/assets/icon/squareBracketsX24.json +1 -0
  905. package/dist/solutions-components/assets/icon/squareBracketsX32.json +1 -0
  906. package/dist/solutions-components/assets/icon/toolHistory16.json +1 -0
  907. package/dist/solutions-components/assets/icon/toolHistory24.json +1 -0
  908. package/dist/solutions-components/assets/icon/toolHistory32.json +1 -0
  909. package/dist/solutions-components/assets/icon/tracePath16.json +1 -0
  910. package/dist/solutions-components/assets/icon/tracePath24.json +1 -0
  911. package/dist/solutions-components/assets/icon/tracePath32.json +1 -0
  912. package/dist/solutions-components/assets/icon/tracePathComplete16.json +1 -0
  913. package/dist/solutions-components/assets/icon/tracePathComplete24.json +1 -0
  914. package/dist/solutions-components/assets/icon/tracePathComplete32.json +1 -0
  915. package/dist/solutions-components/assets/icon/validate16.json +1 -0
  916. package/dist/solutions-components/assets/icon/validate24.json +1 -0
  917. package/dist/solutions-components/assets/icon/validate32.json +1 -0
  918. package/dist/solutions-components/assets/icon/webAdaptor16.json +1 -0
  919. package/dist/solutions-components/assets/icon/webAdaptor24.json +1 -0
  920. package/dist/solutions-components/assets/icon/webAdaptor32.json +1 -0
  921. package/dist/solutions-components/assets/icon/zoningParameter16.json +1 -0
  922. package/dist/solutions-components/assets/icon/zoningParameter24.json +1 -0
  923. package/dist/solutions-components/assets/icon/zoningParameter32.json +1 -0
  924. package/dist/solutions-components/assets/input-time-zone/t9n/index.d.ts +45 -0
  925. package/dist/solutions-components/assets/input-time-zone/t9n/messages.json +46 -1
  926. package/dist/solutions-components/assets/input-time-zone/t9n/messages_ar.json +262 -1
  927. package/dist/solutions-components/assets/input-time-zone/t9n/messages_bg.json +262 -1
  928. package/dist/solutions-components/assets/input-time-zone/t9n/messages_bs.json +262 -1
  929. package/dist/solutions-components/assets/input-time-zone/t9n/messages_ca.json +262 -1
  930. package/dist/solutions-components/assets/input-time-zone/t9n/messages_cs.json +262 -1
  931. package/dist/solutions-components/assets/input-time-zone/t9n/messages_da.json +262 -1
  932. package/dist/solutions-components/assets/input-time-zone/t9n/messages_de.json +262 -1
  933. package/dist/solutions-components/assets/input-time-zone/t9n/messages_el.json +262 -1
  934. package/dist/solutions-components/assets/input-time-zone/t9n/messages_en.json +46 -1
  935. package/dist/solutions-components/assets/input-time-zone/t9n/messages_es.json +262 -1
  936. package/dist/solutions-components/assets/input-time-zone/t9n/messages_et.json +262 -1
  937. package/dist/solutions-components/assets/input-time-zone/t9n/messages_fi.json +262 -1
  938. package/dist/solutions-components/assets/input-time-zone/t9n/messages_fr.json +262 -1
  939. package/dist/solutions-components/assets/input-time-zone/t9n/messages_he.json +262 -1
  940. package/dist/solutions-components/assets/input-time-zone/t9n/messages_hr.json +262 -1
  941. package/dist/solutions-components/assets/input-time-zone/t9n/messages_hu.json +262 -1
  942. package/dist/solutions-components/assets/input-time-zone/t9n/messages_id.json +262 -1
  943. package/dist/solutions-components/assets/input-time-zone/t9n/messages_it.json +262 -1
  944. package/dist/solutions-components/assets/input-time-zone/t9n/messages_ja.json +262 -1
  945. package/dist/solutions-components/assets/input-time-zone/t9n/messages_ko.json +262 -1
  946. package/dist/solutions-components/assets/input-time-zone/t9n/messages_lt.json +262 -1
  947. package/dist/solutions-components/assets/input-time-zone/t9n/messages_lv.json +262 -1
  948. package/dist/solutions-components/assets/input-time-zone/t9n/messages_nl.json +262 -1
  949. package/dist/solutions-components/assets/input-time-zone/t9n/messages_no.json +262 -1
  950. package/dist/solutions-components/assets/input-time-zone/t9n/messages_pl.json +262 -1
  951. package/dist/solutions-components/assets/input-time-zone/t9n/messages_pt-BR.json +262 -1
  952. package/dist/solutions-components/assets/input-time-zone/t9n/messages_pt-PT.json +262 -1
  953. package/dist/solutions-components/assets/input-time-zone/t9n/messages_ro.json +262 -1
  954. package/dist/solutions-components/assets/input-time-zone/t9n/messages_ru.json +262 -1
  955. package/dist/solutions-components/assets/input-time-zone/t9n/messages_sk.json +262 -1
  956. package/dist/solutions-components/assets/input-time-zone/t9n/messages_sl.json +262 -1
  957. package/dist/solutions-components/assets/input-time-zone/t9n/messages_sr.json +262 -1
  958. package/dist/solutions-components/assets/input-time-zone/t9n/messages_sv.json +262 -1
  959. package/dist/solutions-components/assets/input-time-zone/t9n/messages_th.json +262 -1
  960. package/dist/solutions-components/assets/input-time-zone/t9n/messages_tr.json +262 -1
  961. package/dist/solutions-components/assets/input-time-zone/t9n/messages_uk.json +262 -1
  962. package/dist/solutions-components/assets/input-time-zone/t9n/messages_vi.json +262 -1
  963. package/dist/solutions-components/assets/input-time-zone/t9n/messages_zh-CN.json +262 -1
  964. package/dist/solutions-components/assets/input-time-zone/t9n/messages_zh-HK.json +262 -1
  965. package/dist/solutions-components/assets/input-time-zone/t9n/messages_zh-TW.json +262 -1
  966. package/dist/solutions-components/demos/browse-solutions.html +1 -1
  967. package/dist/solutions-components/demos/buffer-tools.html +3 -3
  968. package/dist/solutions-components/demos/card-manager.html +1 -1
  969. package/dist/solutions-components/demos/create-feature.html +3 -3
  970. package/dist/solutions-components/demos/crowdsource-manager.html +4 -42
  971. package/dist/solutions-components/demos/crowdsource-reporter.html +1 -1
  972. package/dist/solutions-components/demos/deduct-calculator.html +1 -1
  973. package/dist/solutions-components/demos/demo-map.html +3 -3
  974. package/dist/solutions-components/demos/edit-card.html +1 -1
  975. package/dist/solutions-components/demos/feature-list.html +3 -3
  976. package/dist/solutions-components/demos/index.html +1 -2
  977. package/dist/solutions-components/demos/info-card.html +1 -1
  978. package/dist/solutions-components/demos/json-editor-2.html +1 -1
  979. package/dist/solutions-components/demos/json-editor.html +1 -1
  980. package/dist/solutions-components/demos/layer-list.html +3 -3
  981. package/dist/solutions-components/demos/layer-table.html +3 -3
  982. package/dist/solutions-components/demos/list-item.html +3 -3
  983. package/dist/solutions-components/demos/map-card.html +3 -3
  984. package/dist/solutions-components/demos/map-draw-tools.html +3 -3
  985. package/dist/solutions-components/demos/map-layer-picker.html +3 -3
  986. package/dist/solutions-components/demos/map-select-tools.html +3 -3
  987. package/dist/solutions-components/demos/new-public-notification.html +3 -3
  988. package/dist/solutions-components/demos/new-solution-configuration.html +1 -1
  989. package/dist/solutions-components/demos/pci-calculator.html +1 -1
  990. package/dist/solutions-components/demos/pdf-download.html +1 -2
  991. package/dist/solutions-components/demos/solution-configuration.html +1 -1
  992. package/dist/solutions-components/demos/solution-contents.html +1 -1
  993. package/dist/solutions-components/demos/solution-group-details.html +1 -1
  994. package/dist/solutions-components/demos/solution-item-accordion.html +426 -294
  995. package/dist/solutions-components/demos/solution-item-details.html +1 -1
  996. package/dist/solutions-components/demos/solution-item-icon.html +1 -2
  997. package/dist/solutions-components/demos/solution-item-sharing.html +1 -1
  998. package/dist/solutions-components/demos/solution-item.html +1 -1
  999. package/dist/solutions-components/demos/solution-organization-variables.html +1 -1
  1000. package/dist/solutions-components/demos/solution-resource-item.html +1 -1
  1001. package/dist/solutions-components/demos/solution-spatial-ref.html +1 -1
  1002. package/dist/solutions-components/demos/solution-template-data.html +1 -1
  1003. package/dist/solutions-components/demos/solution-variables.html +1 -1
  1004. package/dist/solutions-components/demos/spatial-ref.html +1 -1
  1005. package/dist/solutions-components/p-017f63c5.js +6 -0
  1006. package/dist/solutions-components/p-020143eb.entry.js +11 -0
  1007. package/dist/solutions-components/p-0374291c.js +6 -0
  1008. package/dist/solutions-components/p-05ae2b11.entry.js +6 -0
  1009. package/dist/solutions-components/p-065e678f.js +6 -0
  1010. package/dist/solutions-components/p-07a194e6.entry.js +6 -0
  1011. package/dist/solutions-components/p-086f8bbb.js +6 -0
  1012. package/dist/solutions-components/p-08e9cb30.entry.js +11 -0
  1013. package/dist/solutions-components/p-097bf845.entry.js +11 -0
  1014. package/dist/solutions-components/p-0bfef9c6.entry.js +11 -0
  1015. package/dist/solutions-components/p-13d2e3cb.js +6 -0
  1016. package/dist/solutions-components/p-143f9e99.entry.js +17 -0
  1017. package/dist/solutions-components/p-144b7a4d.js +6 -0
  1018. package/dist/solutions-components/p-146acd9a.entry.js +6 -0
  1019. package/dist/solutions-components/p-14d78748.entry.js +6 -0
  1020. package/dist/solutions-components/p-15410144.js +11 -0
  1021. package/dist/solutions-components/p-1588fad8.entry.js +6 -0
  1022. package/dist/solutions-components/p-16f52a67.js +6 -0
  1023. package/dist/solutions-components/p-1726f46c.js +6 -0
  1024. package/dist/solutions-components/p-181ac808.entry.js +11 -0
  1025. package/dist/solutions-components/p-1862084a.entry.js +11 -0
  1026. package/dist/solutions-components/p-1c2d0e90.entry.js +6 -0
  1027. package/dist/solutions-components/p-1c9db4df.entry.js +6 -0
  1028. package/dist/solutions-components/p-1effd2f3.entry.js +11 -0
  1029. package/dist/solutions-components/p-1fc9919b.entry.js +17 -0
  1030. package/dist/solutions-components/p-2105e658.entry.js +6 -0
  1031. package/dist/solutions-components/p-2154a0f9.entry.js +6 -0
  1032. package/dist/solutions-components/p-22bb693d.entry.js +6 -0
  1033. package/dist/solutions-components/p-233f219c.js +11 -0
  1034. package/dist/solutions-components/p-2360802a.js +21 -0
  1035. package/dist/solutions-components/p-24ab8211.entry.js +11 -0
  1036. package/dist/solutions-components/p-24ae549d.entry.js +6 -0
  1037. package/dist/solutions-components/p-24e3f09f.entry.js +6 -0
  1038. package/dist/solutions-components/p-2506309d.entry.js +11 -0
  1039. package/dist/solutions-components/p-2714a658.entry.js +6 -0
  1040. package/dist/solutions-components/p-27a4a537.js +11 -0
  1041. package/dist/solutions-components/p-27bcce86.entry.js +11 -0
  1042. package/dist/solutions-components/p-29047e77.entry.js +29 -0
  1043. package/dist/solutions-components/p-296bd1c0.js +6 -0
  1044. package/dist/solutions-components/p-2bb1b8a8.entry.js +6 -0
  1045. package/dist/solutions-components/p-2daeb1fe.js +11 -0
  1046. package/dist/solutions-components/p-2ebd8a9b.entry.js +11 -0
  1047. package/dist/solutions-components/p-319f79c2.js +6 -0
  1048. package/dist/solutions-components/p-33d732d7.entry.js +11 -0
  1049. package/dist/solutions-components/p-347f341e.js +11 -0
  1050. package/dist/solutions-components/p-347fa724.js +6 -0
  1051. package/dist/solutions-components/p-3517faab.entry.js +11 -0
  1052. package/dist/solutions-components/p-353312fc.entry.js +23 -0
  1053. package/dist/solutions-components/p-3776809a.js +11 -0
  1054. package/dist/solutions-components/p-39678a7e.js +6 -0
  1055. package/dist/solutions-components/p-399dc933.entry.js +17 -0
  1056. package/dist/solutions-components/p-3a33ef72.entry.js +6 -0
  1057. package/dist/solutions-components/p-3bcdf332.entry.js +6 -0
  1058. package/dist/solutions-components/p-3c775d00.js +6 -0
  1059. package/dist/solutions-components/p-3cadb18d.js +11 -0
  1060. package/dist/solutions-components/p-3cfc1e2e.js +11 -0
  1061. package/dist/solutions-components/p-3d7643a5.entry.js +6 -0
  1062. package/dist/solutions-components/p-3df0c310.entry.js +11 -0
  1063. package/dist/solutions-components/p-3ec0ab00.entry.js +11 -0
  1064. package/dist/solutions-components/p-402301cb.js +6 -0
  1065. package/dist/solutions-components/p-40bfb158.entry.js +11 -0
  1066. package/dist/solutions-components/p-41a6f03d.entry.js +6 -0
  1067. package/dist/solutions-components/p-4253e9f1.js +16 -0
  1068. package/dist/solutions-components/p-43165ebd.entry.js +6 -0
  1069. package/dist/solutions-components/p-44d04914.entry.js +11 -0
  1070. package/dist/solutions-components/p-46c8015c.js +488 -0
  1071. package/dist/solutions-components/p-471c6630.js +6 -0
  1072. package/dist/solutions-components/p-47f85755.entry.js +16 -0
  1073. package/dist/solutions-components/p-49fbb67d.js +6 -0
  1074. package/dist/solutions-components/p-4a02fd45.entry.js +6 -0
  1075. package/dist/solutions-components/p-4a291f79.js +11 -0
  1076. package/dist/solutions-components/p-4af0e4bd.entry.js +47 -0
  1077. package/dist/solutions-components/p-4bb08a47.entry.js +11 -0
  1078. package/dist/solutions-components/p-4db86c5e.entry.js +6 -0
  1079. package/dist/solutions-components/p-4e0045d5.entry.js +6 -0
  1080. package/dist/solutions-components/p-4e6eb06e.js +7 -0
  1081. package/dist/solutions-components/p-4f82eb55.js +11 -0
  1082. package/dist/solutions-components/p-50fb7f47.js +6 -0
  1083. package/dist/solutions-components/p-51c6e6fe.js +21 -0
  1084. package/dist/solutions-components/p-52094fca.entry.js +6 -0
  1085. package/dist/solutions-components/p-52280e10.entry.js +17 -0
  1086. package/dist/solutions-components/p-5230c9ff.entry.js +11 -0
  1087. package/dist/solutions-components/p-549cdc87.entry.js +11 -0
  1088. package/dist/solutions-components/p-54a3d9b8.js +6 -0
  1089. package/dist/solutions-components/p-54e5a55d.js +11 -0
  1090. package/dist/solutions-components/p-57ccfe47.entry.js +12 -0
  1091. package/dist/solutions-components/p-58338ff8.entry.js +11 -0
  1092. package/dist/solutions-components/p-5949dd38.js +6 -0
  1093. package/dist/solutions-components/p-5b0e8838.entry.js +6 -0
  1094. package/dist/solutions-components/p-5d2cd0a4.js +11 -0
  1095. package/dist/solutions-components/p-5d8592e0.js +6 -0
  1096. package/dist/solutions-components/p-5e25a0b8.js +11 -0
  1097. package/dist/solutions-components/p-5e406ad0.entry.js +12 -0
  1098. package/dist/solutions-components/p-5f63be31.entry.js +17 -0
  1099. package/dist/solutions-components/p-5f6d9950.js +6 -0
  1100. package/dist/solutions-components/p-5ff711ee.js +6 -0
  1101. package/dist/solutions-components/p-60412359.js +6 -0
  1102. package/dist/solutions-components/p-61aebbb5.js +11 -0
  1103. package/dist/solutions-components/p-621ad249.js +17 -0
  1104. package/dist/solutions-components/p-634f86e5.entry.js +11 -0
  1105. package/dist/solutions-components/p-662aa94e.entry.js +6 -0
  1106. package/dist/solutions-components/p-67ca4a64.entry.js +6 -0
  1107. package/dist/solutions-components/p-67e7f047.entry.js +29 -0
  1108. package/dist/solutions-components/p-685091db.js +6 -0
  1109. package/dist/solutions-components/p-6aab07ba.entry.js +6 -0
  1110. package/dist/solutions-components/p-6adaac20.js +11 -0
  1111. package/dist/solutions-components/p-6e1685bd.entry.js +6 -0
  1112. package/dist/solutions-components/p-6e93a997.entry.js +6 -0
  1113. package/dist/solutions-components/p-706cddd1.entry.js +22 -0
  1114. package/dist/solutions-components/p-70ecc979.entry.js +6 -0
  1115. package/dist/solutions-components/p-710bd9ec.entry.js +6 -0
  1116. package/dist/solutions-components/p-713949f2.js +6 -0
  1117. package/dist/solutions-components/p-72522a67.js +11 -0
  1118. package/dist/solutions-components/p-72ab74b8.entry.js +11 -0
  1119. package/dist/solutions-components/p-739ce6f3.entry.js +6 -0
  1120. package/dist/solutions-components/p-745efeab.js +11 -0
  1121. package/dist/solutions-components/p-750f234e.entry.js +6 -0
  1122. package/dist/solutions-components/p-759d0beb.entry.js +6 -0
  1123. package/dist/solutions-components/p-790af200.entry.js +6 -0
  1124. package/dist/solutions-components/p-794d1b98.js +6 -0
  1125. package/dist/solutions-components/p-7b862835.js +6 -0
  1126. package/dist/solutions-components/p-7b8d7eef.entry.js +11 -0
  1127. package/dist/solutions-components/p-7cc351f6.js +6 -0
  1128. package/dist/solutions-components/p-7d542581.js +11 -0
  1129. package/dist/solutions-components/p-7d974838.js +11 -0
  1130. package/dist/solutions-components/p-7e6a8c06.entry.js +6 -0
  1131. package/dist/solutions-components/p-7e97d4d6.entry.js +6 -0
  1132. package/dist/solutions-components/p-7fdb374f.js +6 -0
  1133. package/dist/solutions-components/p-7ffa7eae.entry.js +11 -0
  1134. package/dist/solutions-components/p-81681ba0.entry.js +11 -0
  1135. package/dist/solutions-components/p-866cc732.js +6 -0
  1136. package/dist/solutions-components/p-876c3f5f.js +11 -0
  1137. package/dist/solutions-components/p-89334c32.js +6 -0
  1138. package/dist/solutions-components/p-895e7b9c.js +16 -0
  1139. package/dist/solutions-components/p-89a4ce79.entry.js +11 -0
  1140. package/dist/solutions-components/p-89b27ae3.entry.js +20 -0
  1141. package/dist/solutions-components/p-89f86585.js +18 -0
  1142. package/dist/solutions-components/p-8ac08cc3.entry.js +17 -0
  1143. package/dist/solutions-components/p-8cdeed09.entry.js +11 -0
  1144. package/dist/solutions-components/p-8d0d5a69.js +6 -0
  1145. package/dist/solutions-components/p-8d48a13f.js +6 -0
  1146. package/dist/solutions-components/p-8d59545b.js +6 -0
  1147. package/dist/solutions-components/p-8e0a95ff.js +16 -0
  1148. package/dist/solutions-components/p-8e6081e0.entry.js +6 -0
  1149. package/dist/solutions-components/p-8f556cfc.entry.js +6 -0
  1150. package/dist/solutions-components/p-904a670f.js +6 -0
  1151. package/dist/solutions-components/p-90d2aadc.entry.js +6 -0
  1152. package/dist/solutions-components/p-91371f97.js +11 -0
  1153. package/dist/solutions-components/p-91e05c99.js +11 -0
  1154. package/dist/solutions-components/p-91f0f556.entry.js +17 -0
  1155. package/dist/solutions-components/p-93b87dd4.entry.js +11 -0
  1156. package/dist/solutions-components/p-94a5d59f.entry.js +6 -0
  1157. package/dist/solutions-components/p-96385535.entry.js +17 -0
  1158. package/dist/solutions-components/p-96a983ab.entry.js +6 -0
  1159. package/dist/solutions-components/p-971b67d7.entry.js +6 -0
  1160. package/dist/solutions-components/p-986dd5b2.js +17 -0
  1161. package/dist/solutions-components/p-988c0d5e.entry.js +6 -0
  1162. package/dist/solutions-components/p-9e862c85.js +6 -0
  1163. package/dist/solutions-components/p-9f98f213.js +6 -0
  1164. package/dist/solutions-components/p-9ff02b5e.js +6 -0
  1165. package/dist/solutions-components/p-a02e2069.js +11 -0
  1166. package/dist/solutions-components/p-a25c73c8.entry.js +6 -0
  1167. package/dist/solutions-components/p-a568af9f.js +61 -0
  1168. package/dist/solutions-components/p-a584543f.js +6 -0
  1169. package/dist/solutions-components/p-a922f993.entry.js +11 -0
  1170. package/dist/solutions-components/p-a9742ffc.entry.js +11 -0
  1171. package/dist/solutions-components/p-ad9d1221.js +11 -0
  1172. package/dist/solutions-components/p-adabe68e.entry.js +6 -0
  1173. package/dist/solutions-components/p-af0e57e2.js +11 -0
  1174. package/dist/solutions-components/p-b034e287.entry.js +17 -0
  1175. package/dist/solutions-components/p-b0b1c672.entry.js +17 -0
  1176. package/dist/solutions-components/p-b10d9165.entry.js +22 -0
  1177. package/dist/solutions-components/p-b13aca6a.js +11 -0
  1178. package/dist/solutions-components/p-b3e498bd.js +6 -0
  1179. package/dist/solutions-components/p-b5ddeee9.js +6 -0
  1180. package/dist/solutions-components/p-b658f264.js +6 -0
  1181. package/dist/solutions-components/p-b739f26d.entry.js +6 -0
  1182. package/dist/solutions-components/p-b78a4ce7.entry.js +6 -0
  1183. package/dist/solutions-components/p-b79f296d.entry.js +11 -0
  1184. package/dist/solutions-components/p-b90ed430.entry.js +11 -0
  1185. package/dist/solutions-components/p-bb1de7a0.entry.js +11 -0
  1186. package/dist/solutions-components/p-bb630f8c.entry.js +6 -0
  1187. package/dist/solutions-components/p-be2c7d0c.entry.js +6 -0
  1188. package/dist/solutions-components/p-be9a6a87.entry.js +17 -0
  1189. package/dist/solutions-components/p-bf187297.js +6 -0
  1190. package/dist/solutions-components/p-c0c6f4b2.js +6 -0
  1191. package/dist/solutions-components/p-c350eacb.js +143 -0
  1192. package/dist/solutions-components/p-c551ffc5.entry.js +6 -0
  1193. package/dist/solutions-components/p-c64d61d9.entry.js +6 -0
  1194. package/dist/solutions-components/p-c6dac8d2.js +16 -0
  1195. package/dist/solutions-components/p-c7f8b7f0.js +11 -0
  1196. package/dist/solutions-components/p-c97472e4.js +6 -0
  1197. package/dist/solutions-components/p-c9f94a25.js +6 -0
  1198. package/dist/solutions-components/p-cbb86cf2.entry.js +6 -0
  1199. package/dist/solutions-components/p-cd8e711f.entry.js +6 -0
  1200. package/dist/solutions-components/p-cf4273a0.js +6 -0
  1201. package/dist/solutions-components/p-d0f16cd3.entry.js +11 -0
  1202. package/dist/solutions-components/p-d25fc2c2.js +11 -0
  1203. package/dist/solutions-components/p-d3338131.entry.js +11 -0
  1204. package/dist/solutions-components/p-d4e07230.entry.js +11 -0
  1205. package/dist/solutions-components/p-d4f16e41.js +6 -0
  1206. package/dist/solutions-components/p-d6902512.js +11 -0
  1207. package/dist/solutions-components/p-d751e255.entry.js +11 -0
  1208. package/dist/solutions-components/p-da2fd30a.js +6 -0
  1209. package/dist/solutions-components/p-dac93fa8.js +6 -0
  1210. package/dist/solutions-components/p-daff208e.js +6 -0
  1211. package/dist/solutions-components/p-dc9d4be3.js +6 -0
  1212. package/dist/solutions-components/p-e01d27aa.entry.js +6 -0
  1213. package/dist/solutions-components/p-e070ef82.entry.js +11 -0
  1214. package/dist/solutions-components/p-e72e2dcc.entry.js +21 -0
  1215. package/dist/solutions-components/p-e799935e.js +6 -0
  1216. package/dist/solutions-components/p-e7acd771.entry.js +11 -0
  1217. package/dist/solutions-components/p-e93184af.entry.js +6 -0
  1218. package/dist/solutions-components/p-ea822f6e.js +6 -0
  1219. package/dist/solutions-components/p-ec56afaa.js +6 -0
  1220. package/dist/solutions-components/p-ed844e16.entry.js +11 -0
  1221. package/dist/solutions-components/p-efaa77a0.js +11 -0
  1222. package/dist/solutions-components/p-efdd44e3.js +6 -0
  1223. package/dist/solutions-components/p-efe845d9.js +6 -0
  1224. package/dist/solutions-components/p-f0c96a6a.js +11 -0
  1225. package/dist/solutions-components/p-f4aadb3b.js +36 -0
  1226. package/dist/solutions-components/p-f61fdfc6.entry.js +12 -0
  1227. package/dist/solutions-components/p-f62b8031.js +6 -0
  1228. package/dist/solutions-components/p-f746ec20.js +11 -0
  1229. package/dist/solutions-components/p-f76d3cfe.js +6 -0
  1230. package/dist/solutions-components/p-f7e7b830.entry.js +6 -0
  1231. package/dist/solutions-components/p-f898b163.js +11 -0
  1232. package/dist/solutions-components/p-f8ee16f3.entry.js +6 -0
  1233. package/dist/solutions-components/p-f966fadb.entry.js +11 -0
  1234. package/dist/solutions-components/p-fa80bc7e.js +11 -0
  1235. package/dist/solutions-components/p-fae4708b.js +11 -0
  1236. package/dist/solutions-components/p-faf3343c.entry.js +11 -0
  1237. package/dist/solutions-components/p-fb4f7ace.js +6 -0
  1238. package/dist/solutions-components/p-fc243a76.entry.js +11 -0
  1239. package/dist/solutions-components/p-fca48d30.entry.js +6 -0
  1240. package/dist/solutions-components/p-fdbb52ca.js +6 -0
  1241. package/dist/solutions-components/p-fe3aea1a.entry.js +6 -0
  1242. package/dist/solutions-components/p-fe58f3f0.entry.js +11 -0
  1243. package/dist/solutions-components/p-ff336351.js +11 -0
  1244. package/dist/solutions-components/solutions-components.esm.js +1 -1
  1245. package/dist/types/components/solution-item-accordion/solution-item-accordion.d.ts +25 -3
  1246. package/dist/types/preact.d.ts +1 -3
  1247. package/package.json +5 -5
  1248. package/dist/cjs/ExpandToggle-54ca6b91.js +0 -115
  1249. package/dist/cjs/FloatingArrow-28f6bb91.js +0 -48
  1250. package/dist/cjs/Heading-63b5c82c.js +0 -25
  1251. package/dist/cjs/Validation-9bab9a69.js +0 -20
  1252. package/dist/cjs/app-globals-d2085e28.js +0 -67
  1253. package/dist/cjs/ar-ce94723b.js +0 -106
  1254. package/dist/cjs/array-708fd433.js +0 -17
  1255. package/dist/cjs/bg-8ab5661c.js +0 -84
  1256. package/dist/cjs/browser-2893460e.js +0 -35
  1257. package/dist/cjs/bs-f15b7a3d.js +0 -53
  1258. package/dist/cjs/ca-321e7e4f.js +0 -73
  1259. package/dist/cjs/calcite-input-time-picker-d63d914b.js +0 -1861
  1260. package/dist/cjs/component-7f2bd646.js +0 -33
  1261. package/dist/cjs/conditionalSlot-2d2541f4.js +0 -54
  1262. package/dist/cjs/config-7c16c710.js +0 -40
  1263. package/dist/cjs/continent-cdee1112.js +0 -34
  1264. package/dist/cjs/country-a8539532.js +0 -446
  1265. package/dist/cjs/cs-66742e3a.js +0 -149
  1266. package/dist/cjs/da-933e7031.js +0 -69
  1267. package/dist/cjs/date-e01a99aa.js +0 -264
  1268. package/dist/cjs/de-87706bda.js +0 -93
  1269. package/dist/cjs/de-at-752f7be1.js +0 -92
  1270. package/dist/cjs/de-ch-41dc3fef.js +0 -92
  1271. package/dist/cjs/dom-3d3a8f25.js +0 -1215
  1272. package/dist/cjs/downloadUtils-17f08e5e.js +0 -3239
  1273. package/dist/cjs/el-23b7e02b.js +0 -68
  1274. package/dist/cjs/en-au-4f9fe083.js +0 -68
  1275. package/dist/cjs/en-ca-afba9508.js +0 -67
  1276. package/dist/cjs/en-gb-78a49c6a.js +0 -71
  1277. package/dist/cjs/es-ea5faae0.js +0 -68
  1278. package/dist/cjs/es-mx-47a5667a.js +0 -67
  1279. package/dist/cjs/et-72505ea1.js +0 -94
  1280. package/dist/cjs/fi-7b4ac88c.js +0 -117
  1281. package/dist/cjs/filter-a9429bde.js +0 -778
  1282. package/dist/cjs/floating-ui-9ff03df8.js +0 -2373
  1283. package/dist/cjs/focusTrapComponent-86ebd41d.js +0 -1018
  1284. package/dist/cjs/form-8132060d.js +0 -381
  1285. package/dist/cjs/fr-8077e2e8.js +0 -70
  1286. package/dist/cjs/fr-ch-04f427a0.js +0 -68
  1287. package/dist/cjs/guid-42cda8c9.js +0 -26
  1288. package/dist/cjs/he-93b37a58.js +0 -107
  1289. package/dist/cjs/helpers-3cfcbb0d.js +0 -940
  1290. package/dist/cjs/hi-cb320ba3.js +0 -67
  1291. package/dist/cjs/hr-15e455d9.js +0 -82
  1292. package/dist/cjs/hu-10c42dd5.js +0 -90
  1293. package/dist/cjs/id-813844ef.js +0 -68
  1294. package/dist/cjs/index-5a0af791.js +0 -1782
  1295. package/dist/cjs/index-6189d0bb.js +0 -62
  1296. package/dist/cjs/index-866b8a4c.js +0 -127
  1297. package/dist/cjs/index-d21e03cd.js +0 -14
  1298. package/dist/cjs/index-da709a10.js +0 -201
  1299. package/dist/cjs/index.es-2518dd41.js +0 -11307
  1300. package/dist/cjs/input-3efc5a5e.js +0 -60
  1301. package/dist/cjs/interactive-3b85d8df.js +0 -167
  1302. package/dist/cjs/it-090375c5.js +0 -68
  1303. package/dist/cjs/it-ch-6cc91215.js +0 -68
  1304. package/dist/cjs/ja-e6697420.js +0 -74
  1305. package/dist/cjs/key-82084ef6.js +0 -19
  1306. package/dist/cjs/ko-522250be.js +0 -74
  1307. package/dist/cjs/label-e7d3c371.js +0 -186
  1308. package/dist/cjs/loadable-0e357195.js +0 -98
  1309. package/dist/cjs/locale-351282c5.js +0 -605
  1310. package/dist/cjs/locale-a09603ee.js +0 -160
  1311. package/dist/cjs/locale-a965a573.js +0 -120
  1312. package/dist/cjs/logger-309df5d9.js +0 -61
  1313. package/dist/cjs/lt-c2f9fd21.js +0 -99
  1314. package/dist/cjs/lv-a1930986.js +0 -68
  1315. package/dist/cjs/math-14740338.js +0 -60
  1316. package/dist/cjs/mk-deb11706.js +0 -68
  1317. package/dist/cjs/nb-3859b631.js +0 -69
  1318. package/dist/cjs/nl-6c2c838d.js +0 -69
  1319. package/dist/cjs/observers-5f9f67ee.js +0 -58
  1320. package/dist/cjs/openCloseComponent-b66f10f5.js +0 -65
  1321. package/dist/cjs/pl-fcb7899e.js +0 -116
  1322. package/dist/cjs/popupUtils-24306e6b.js +0 -121
  1323. package/dist/cjs/pt-416d2cf8.js +0 -69
  1324. package/dist/cjs/pt-br-bae3d576.js +0 -67
  1325. package/dist/cjs/publicNotificationStore-f229e839.js +0 -47
  1326. package/dist/cjs/resources-4446499e.js +0 -39
  1327. package/dist/cjs/resources-4c3e1c50.js +0 -68
  1328. package/dist/cjs/resources-6f65a67f.js +0 -29
  1329. package/dist/cjs/resources-87ed79dd.js +0 -23
  1330. package/dist/cjs/resources-9b04cd8c.js +0 -23
  1331. package/dist/cjs/resources-a1ca0958.js +0 -27
  1332. package/dist/cjs/resources-c5f09989.js +0 -68
  1333. package/dist/cjs/resources-dbc687b5.js +0 -26
  1334. package/dist/cjs/resources-f11e9bd6.js +0 -39
  1335. package/dist/cjs/resources-f8785f51.js +0 -21
  1336. package/dist/cjs/ro-bda94f37.js +0 -68
  1337. package/dist/cjs/ru-7258ce51.js +0 -128
  1338. package/dist/cjs/shared-list-render-d4b7311f.js +0 -361
  1339. package/dist/cjs/sk-3a398547.js +0 -150
  1340. package/dist/cjs/sl-bfb5a728.js +0 -170
  1341. package/dist/cjs/solution-store-2cd6a8c3.js +0 -1354
  1342. package/dist/cjs/sortableComponent-8684e273.js +0 -2748
  1343. package/dist/cjs/sr-58554054.js +0 -103
  1344. package/dist/cjs/sv-335a4402.js +0 -73
  1345. package/dist/cjs/t9n-e41672d2.js +0 -108
  1346. package/dist/cjs/th-14ebad2e.js +0 -67
  1347. package/dist/cjs/time-9a5e2f2d.js +0 -301
  1348. package/dist/cjs/time-zones-cd027b1e.js +0 -367
  1349. package/dist/cjs/tr-36bcc20f.js +0 -68
  1350. package/dist/cjs/uk-dcff92bd.js +0 -106
  1351. package/dist/cjs/utils-29c97686.js +0 -2304
  1352. package/dist/cjs/utils-62072741.js +0 -153
  1353. package/dist/cjs/utils-edb4e372.js +0 -78
  1354. package/dist/cjs/vi-284fec96.js +0 -72
  1355. package/dist/cjs/zh-cn-1f4ab46b.js +0 -96
  1356. package/dist/cjs/zh-hk-39cf1fdd.js +0 -94
  1357. package/dist/cjs/zh-tw-e0b3117d.js +0 -94
  1358. package/dist/components/continent.js +0 -31
  1359. package/dist/components/country.js +0 -444
  1360. package/dist/esm/ExpandToggle-076b4360.js +0 -108
  1361. package/dist/esm/FloatingArrow-9a505e89.js +0 -46
  1362. package/dist/esm/Heading-cae0b34c.js +0 -22
  1363. package/dist/esm/Validation-bd0a53ec.js +0 -18
  1364. package/dist/esm/app-globals-530c75ff.js +0 -65
  1365. package/dist/esm/ar-3e3c0d14.js +0 -104
  1366. package/dist/esm/array-ddb2593b.js +0 -15
  1367. package/dist/esm/bg-a872736b.js +0 -82
  1368. package/dist/esm/browser-a791205e.js +0 -32
  1369. package/dist/esm/bs-fe545c28.js +0 -51
  1370. package/dist/esm/ca-8a2abdaa.js +0 -71
  1371. package/dist/esm/calcite-input-time-picker-2fbabd28.js +0 -1858
  1372. package/dist/esm/component-d35983a4.js +0 -30
  1373. package/dist/esm/conditionalSlot-0cbc7172.js +0 -51
  1374. package/dist/esm/config-8d1c3431.js +0 -36
  1375. package/dist/esm/continent-125eb777.js +0 -31
  1376. package/dist/esm/country-2d5661ee.js +0 -444
  1377. package/dist/esm/cs-f9bfb6dd.js +0 -147
  1378. package/dist/esm/da-0528de8d.js +0 -67
  1379. package/dist/esm/date-f0c83d13.js +0 -248
  1380. package/dist/esm/de-at-c7c45014.js +0 -90
  1381. package/dist/esm/de-ch-e9338f1b.js +0 -90
  1382. package/dist/esm/de-d149b983.js +0 -91
  1383. package/dist/esm/dom-42a638f6.js +0 -1180
  1384. package/dist/esm/downloadUtils-4a34c86a.js +0 -3232
  1385. package/dist/esm/el-d86fff8e.js +0 -66
  1386. package/dist/esm/en-au-e722c119.js +0 -66
  1387. package/dist/esm/en-ca-8f38a3b8.js +0 -65
  1388. package/dist/esm/en-gb-24dd064c.js +0 -69
  1389. package/dist/esm/es-39a9e113.js +0 -66
  1390. package/dist/esm/es-mx-fa0cbd42.js +0 -65
  1391. package/dist/esm/et-51eabe80.js +0 -92
  1392. package/dist/esm/fi-64ca8666.js +0 -115
  1393. package/dist/esm/filter-6ee02739.js +0 -775
  1394. package/dist/esm/floating-ui-a14930d0.js +0 -2365
  1395. package/dist/esm/focusTrapComponent-c1def619.js +0 -1013
  1396. package/dist/esm/form-46367137.js +0 -372
  1397. package/dist/esm/fr-ch-6fe6a6e6.js +0 -66
  1398. package/dist/esm/fr-e20306bf.js +0 -68
  1399. package/dist/esm/guid-42656051.js +0 -24
  1400. package/dist/esm/he-32ec6cce.js +0 -105
  1401. package/dist/esm/helpers-22ae4484.js +0 -913
  1402. package/dist/esm/hi-da2b085c.js +0 -65
  1403. package/dist/esm/hr-5a52222a.js +0 -80
  1404. package/dist/esm/hu-d3bbacef.js +0 -88
  1405. package/dist/esm/id-dcdac250.js +0 -66
  1406. package/dist/esm/index-2c724afd.js +0 -199
  1407. package/dist/esm/index-ad182a71.js +0 -125
  1408. package/dist/esm/index-b793d9aa.js +0 -1748
  1409. package/dist/esm/index-f5d562b1.js +0 -60
  1410. package/dist/esm/index-f8c935d6.js +0 -12
  1411. package/dist/esm/index.es-5f44061b.js +0 -11220
  1412. package/dist/esm/input-7f3fc18b.js +0 -58
  1413. package/dist/esm/interactive-b2a41b8b.js +0 -162
  1414. package/dist/esm/it-360f430f.js +0 -66
  1415. package/dist/esm/it-ch-0ec68776.js +0 -66
  1416. package/dist/esm/ja-a95cae4c.js +0 -72
  1417. package/dist/esm/key-d6dfb50e.js +0 -16
  1418. package/dist/esm/ko-f0edd78f.js +0 -72
  1419. package/dist/esm/label-f2ec1100.js +0 -179
  1420. package/dist/esm/loadable-1a9b14b8.js +0 -93
  1421. package/dist/esm/locale-a34f9f04.js +0 -115
  1422. package/dist/esm/locale-a53a7bc6.js +0 -591
  1423. package/dist/esm/locale-b1d53fb1.js +0 -155
  1424. package/dist/esm/logger-3188b9c3.js +0 -59
  1425. package/dist/esm/lt-bff432da.js +0 -97
  1426. package/dist/esm/lv-0c7edf32.js +0 -66
  1427. package/dist/esm/math-9afe1f6d.js +0 -54
  1428. package/dist/esm/mk-876446b8.js +0 -66
  1429. package/dist/esm/nb-25537e87.js +0 -67
  1430. package/dist/esm/nl-8be84da3.js +0 -67
  1431. package/dist/esm/observers-6cac5525.js +0 -56
  1432. package/dist/esm/openCloseComponent-9d44719e.js +0 -63
  1433. package/dist/esm/pl-8d4fe5a7.js +0 -114
  1434. package/dist/esm/popupUtils-3ccb86bd.js +0 -119
  1435. package/dist/esm/pt-br-3015e62b.js +0 -65
  1436. package/dist/esm/pt-dcc887b4.js +0 -67
  1437. package/dist/esm/publicNotificationStore-7b0b97b6.js +0 -45
  1438. package/dist/esm/resources-119ae117.js +0 -23
  1439. package/dist/esm/resources-244d70ca.js +0 -22
  1440. package/dist/esm/resources-3f56d4e7.js +0 -19
  1441. package/dist/esm/resources-57625076.js +0 -63
  1442. package/dist/esm/resources-5b213c89.js +0 -35
  1443. package/dist/esm/resources-61eab899.js +0 -20
  1444. package/dist/esm/resources-745dec87.js +0 -34
  1445. package/dist/esm/resources-9494c015.js +0 -21
  1446. package/dist/esm/resources-d6566b8a.js +0 -62
  1447. package/dist/esm/resources-d7e0fbbf.js +0 -24
  1448. package/dist/esm/ro-b973c654.js +0 -66
  1449. package/dist/esm/ru-59a7f10b.js +0 -126
  1450. package/dist/esm/shared-list-render-097ee366.js +0 -339
  1451. package/dist/esm/sk-a00e5b97.js +0 -148
  1452. package/dist/esm/sl-55c8a748.js +0 -168
  1453. package/dist/esm/solution-store-ca4d55de.js +0 -1352
  1454. package/dist/esm/sortableComponent-52b99f0f.js +0 -2745
  1455. package/dist/esm/sr-e4fc3293.js +0 -101
  1456. package/dist/esm/sv-f0782d2a.js +0 -71
  1457. package/dist/esm/t9n-b33c486a.js +0 -103
  1458. package/dist/esm/th-d2abb499.js +0 -65
  1459. package/dist/esm/time-f99aceff.js +0 -286
  1460. package/dist/esm/time-zones-211c88e3.js +0 -365
  1461. package/dist/esm/tr-512413e1.js +0 -66
  1462. package/dist/esm/uk-79fe44f1.js +0 -104
  1463. package/dist/esm/utils-6f13e31e.js +0 -142
  1464. package/dist/esm/utils-d2524a35.js +0 -2274
  1465. package/dist/esm/utils-d67a6d71.js +0 -65
  1466. package/dist/esm/vi-53b51e7a.js +0 -70
  1467. package/dist/esm/zh-cn-7d19a53a.js +0 -94
  1468. package/dist/esm/zh-hk-4fb6c3eb.js +0 -92
  1469. package/dist/esm/zh-tw-6a5d2c2b.js +0 -92
  1470. package/dist/solutions-components/p-022d51db.js +0 -6
  1471. package/dist/solutions-components/p-03f3cf77.js +0 -6
  1472. package/dist/solutions-components/p-03ffbb1b.js +0 -6
  1473. package/dist/solutions-components/p-07d30a6b.entry.js +0 -11
  1474. package/dist/solutions-components/p-0a165419.js +0 -18
  1475. package/dist/solutions-components/p-0a1a9ff1.js +0 -6
  1476. package/dist/solutions-components/p-0a311862.entry.js +0 -6
  1477. package/dist/solutions-components/p-0a64be62.js +0 -6
  1478. package/dist/solutions-components/p-0ded20f0.js +0 -6
  1479. package/dist/solutions-components/p-0ef9d36b.js +0 -11
  1480. package/dist/solutions-components/p-100bf9eb.entry.js +0 -6
  1481. package/dist/solutions-components/p-12be6545.js +0 -11
  1482. package/dist/solutions-components/p-14f027b5.js +0 -11
  1483. package/dist/solutions-components/p-150394be.js +0 -11
  1484. package/dist/solutions-components/p-1692858b.entry.js +0 -11
  1485. package/dist/solutions-components/p-16b24981.entry.js +0 -11
  1486. package/dist/solutions-components/p-174aa4da.js +0 -16
  1487. package/dist/solutions-components/p-1826154b.entry.js +0 -11
  1488. package/dist/solutions-components/p-1a047db6.js +0 -6
  1489. package/dist/solutions-components/p-1b229454.js +0 -11
  1490. package/dist/solutions-components/p-1c249530.js +0 -11
  1491. package/dist/solutions-components/p-1ce2608d.js +0 -12
  1492. package/dist/solutions-components/p-1df2d94d.js +0 -6
  1493. package/dist/solutions-components/p-1e4aca17.js +0 -6
  1494. package/dist/solutions-components/p-2058b5d9.js +0 -36
  1495. package/dist/solutions-components/p-216ae423.entry.js +0 -11
  1496. package/dist/solutions-components/p-219f0273.entry.js +0 -6
  1497. package/dist/solutions-components/p-2230d4cc.js +0 -11
  1498. package/dist/solutions-components/p-27d462c0.js +0 -11
  1499. package/dist/solutions-components/p-283e344a.entry.js +0 -6
  1500. package/dist/solutions-components/p-2868a42b.js +0 -11
  1501. package/dist/solutions-components/p-290dee0b.js +0 -21
  1502. package/dist/solutions-components/p-2a059548.entry.js +0 -11
  1503. package/dist/solutions-components/p-2bb9b365.entry.js +0 -11
  1504. package/dist/solutions-components/p-2c423f9c.js +0 -6
  1505. package/dist/solutions-components/p-2caf1f94.js +0 -11
  1506. package/dist/solutions-components/p-2cb47eff.entry.js +0 -11
  1507. package/dist/solutions-components/p-2cc624c3.entry.js +0 -21
  1508. package/dist/solutions-components/p-2d2b06db.entry.js +0 -6
  1509. package/dist/solutions-components/p-2d2dcf8a.js +0 -6
  1510. package/dist/solutions-components/p-2d5e428d.js +0 -6
  1511. package/dist/solutions-components/p-2e7d005f.js +0 -6
  1512. package/dist/solutions-components/p-3016bf77.entry.js +0 -11
  1513. package/dist/solutions-components/p-313fcf40.entry.js +0 -6
  1514. package/dist/solutions-components/p-31524836.entry.js +0 -6
  1515. package/dist/solutions-components/p-3244e59a.js +0 -11
  1516. package/dist/solutions-components/p-3305a61f.entry.js +0 -6
  1517. package/dist/solutions-components/p-365169c2.js +0 -11
  1518. package/dist/solutions-components/p-36e59391.js +0 -143
  1519. package/dist/solutions-components/p-372e4640.js +0 -6
  1520. package/dist/solutions-components/p-3792492a.js +0 -11
  1521. package/dist/solutions-components/p-38a87c63.js +0 -11
  1522. package/dist/solutions-components/p-3a4fbcf6.entry.js +0 -6
  1523. package/dist/solutions-components/p-3d0e9be4.js +0 -6
  1524. package/dist/solutions-components/p-3d6f8c9e.entry.js +0 -29
  1525. package/dist/solutions-components/p-3de85f54.entry.js +0 -6
  1526. package/dist/solutions-components/p-3e3b7172.entry.js +0 -6
  1527. package/dist/solutions-components/p-3e828614.js +0 -11
  1528. package/dist/solutions-components/p-42710186.entry.js +0 -11
  1529. package/dist/solutions-components/p-44270ade.entry.js +0 -6
  1530. package/dist/solutions-components/p-47398e76.entry.js +0 -11
  1531. package/dist/solutions-components/p-47a0be20.js +0 -11
  1532. package/dist/solutions-components/p-4881885b.entry.js +0 -23
  1533. package/dist/solutions-components/p-4920ee12.js +0 -11
  1534. package/dist/solutions-components/p-496b7a1f.entry.js +0 -6
  1535. package/dist/solutions-components/p-4aafcac7.entry.js +0 -6
  1536. package/dist/solutions-components/p-4b9b7778.js +0 -11
  1537. package/dist/solutions-components/p-4cfe3d80.entry.js +0 -11
  1538. package/dist/solutions-components/p-4feaf7db.entry.js +0 -11
  1539. package/dist/solutions-components/p-50323300.entry.js +0 -6
  1540. package/dist/solutions-components/p-50ab7903.js +0 -6
  1541. package/dist/solutions-components/p-50c2d3e5.entry.js +0 -6
  1542. package/dist/solutions-components/p-50e2a33b.js +0 -6
  1543. package/dist/solutions-components/p-51abfcb7.js +0 -6
  1544. package/dist/solutions-components/p-524a996f.js +0 -6
  1545. package/dist/solutions-components/p-52dad11d.entry.js +0 -6
  1546. package/dist/solutions-components/p-54879c84.entry.js +0 -11
  1547. package/dist/solutions-components/p-5550f101.entry.js +0 -17
  1548. package/dist/solutions-components/p-565bc712.entry.js +0 -12
  1549. package/dist/solutions-components/p-5714f5ca.entry.js +0 -6
  1550. package/dist/solutions-components/p-57be85fb.entry.js +0 -11
  1551. package/dist/solutions-components/p-58d8ee47.js +0 -6
  1552. package/dist/solutions-components/p-5959580d.js +0 -6
  1553. package/dist/solutions-components/p-59695ccc.js +0 -6
  1554. package/dist/solutions-components/p-59b3e946.entry.js +0 -17
  1555. package/dist/solutions-components/p-5ba9df82.js +0 -17
  1556. package/dist/solutions-components/p-5d398871.entry.js +0 -6
  1557. package/dist/solutions-components/p-5dcec135.js +0 -21
  1558. package/dist/solutions-components/p-5de67b86.js +0 -11
  1559. package/dist/solutions-components/p-5ee4ba5c.js +0 -6
  1560. package/dist/solutions-components/p-6147cfb4.entry.js +0 -6
  1561. package/dist/solutions-components/p-62dadb51.js +0 -6
  1562. package/dist/solutions-components/p-62ed6a7a.entry.js +0 -6
  1563. package/dist/solutions-components/p-63f9004a.js +0 -6
  1564. package/dist/solutions-components/p-64906bb5.entry.js +0 -11
  1565. package/dist/solutions-components/p-64a34d92.js +0 -11
  1566. package/dist/solutions-components/p-65fe42ef.js +0 -6
  1567. package/dist/solutions-components/p-66cee72b.js +0 -17
  1568. package/dist/solutions-components/p-6b21efce.js +0 -6
  1569. package/dist/solutions-components/p-6cf1225a.entry.js +0 -11
  1570. package/dist/solutions-components/p-6d4db88b.entry.js +0 -17
  1571. package/dist/solutions-components/p-6d894d47.entry.js +0 -11
  1572. package/dist/solutions-components/p-6e0439fa.entry.js +0 -6
  1573. package/dist/solutions-components/p-6e118057.js +0 -11
  1574. package/dist/solutions-components/p-6eb37ed2.js +0 -7
  1575. package/dist/solutions-components/p-6f594492.entry.js +0 -11
  1576. package/dist/solutions-components/p-6fdbdfdd.entry.js +0 -6
  1577. package/dist/solutions-components/p-70b46ea4.js +0 -6
  1578. package/dist/solutions-components/p-70f2898c.entry.js +0 -6
  1579. package/dist/solutions-components/p-720a12c0.js +0 -6
  1580. package/dist/solutions-components/p-72bce122.entry.js +0 -6
  1581. package/dist/solutions-components/p-72ee63b0.entry.js +0 -16
  1582. package/dist/solutions-components/p-744d9575.js +0 -11
  1583. package/dist/solutions-components/p-754a5334.js +0 -6
  1584. package/dist/solutions-components/p-76efd680.entry.js +0 -11
  1585. package/dist/solutions-components/p-77052872.entry.js +0 -6
  1586. package/dist/solutions-components/p-7758a533.entry.js +0 -17
  1587. package/dist/solutions-components/p-776995b1.entry.js +0 -6
  1588. package/dist/solutions-components/p-7987d73b.entry.js +0 -6
  1589. package/dist/solutions-components/p-7a641e36.entry.js +0 -6
  1590. package/dist/solutions-components/p-7a820f38.js +0 -6
  1591. package/dist/solutions-components/p-7b122a6e.entry.js +0 -6
  1592. package/dist/solutions-components/p-7e762fa7.js +0 -6
  1593. package/dist/solutions-components/p-7f147e8b.entry.js +0 -6
  1594. package/dist/solutions-components/p-8208ba6c.entry.js +0 -6
  1595. package/dist/solutions-components/p-82185ebf.entry.js +0 -12
  1596. package/dist/solutions-components/p-8267d344.entry.js +0 -11
  1597. package/dist/solutions-components/p-827037ce.entry.js +0 -16
  1598. package/dist/solutions-components/p-88c6ece3.entry.js +0 -11
  1599. package/dist/solutions-components/p-8a683cdc.js +0 -6
  1600. package/dist/solutions-components/p-8bce991a.js +0 -11
  1601. package/dist/solutions-components/p-8be24ce9.entry.js +0 -6
  1602. package/dist/solutions-components/p-8bfa18b7.js +0 -11
  1603. package/dist/solutions-components/p-8d0f6824.entry.js +0 -6
  1604. package/dist/solutions-components/p-8d453a3a.js +0 -16
  1605. package/dist/solutions-components/p-8ef003ec.entry.js +0 -6
  1606. package/dist/solutions-components/p-8fb651e5.entry.js +0 -6
  1607. package/dist/solutions-components/p-92008b90.js +0 -6
  1608. package/dist/solutions-components/p-926664d9.js +0 -61
  1609. package/dist/solutions-components/p-94397114.js +0 -6
  1610. package/dist/solutions-components/p-94805d7f.entry.js +0 -11
  1611. package/dist/solutions-components/p-94c518ff.entry.js +0 -6
  1612. package/dist/solutions-components/p-97aa6766.js +0 -6
  1613. package/dist/solutions-components/p-984ce9da.js +0 -11
  1614. package/dist/solutions-components/p-9850998d.entry.js +0 -6
  1615. package/dist/solutions-components/p-99e6cb74.js +0 -6
  1616. package/dist/solutions-components/p-9d12b3f1.entry.js +0 -17
  1617. package/dist/solutions-components/p-9ee72dba.entry.js +0 -22
  1618. package/dist/solutions-components/p-9f3aebd0.entry.js +0 -11
  1619. package/dist/solutions-components/p-a095dadb.entry.js +0 -17
  1620. package/dist/solutions-components/p-a0a77f45.entry.js +0 -20
  1621. package/dist/solutions-components/p-a1093fee.entry.js +0 -6
  1622. package/dist/solutions-components/p-a2a2c6a2.entry.js +0 -11
  1623. package/dist/solutions-components/p-a2dbc38b.entry.js +0 -11
  1624. package/dist/solutions-components/p-a4255b97.js +0 -6
  1625. package/dist/solutions-components/p-a471ceb6.js +0 -11
  1626. package/dist/solutions-components/p-a4e73041.js +0 -6
  1627. package/dist/solutions-components/p-a5fc6ab7.js +0 -11
  1628. package/dist/solutions-components/p-a60a2c8b.entry.js +0 -11
  1629. package/dist/solutions-components/p-a6a0df5c.entry.js +0 -6
  1630. package/dist/solutions-components/p-a7395caf.js +0 -6
  1631. package/dist/solutions-components/p-a7761371.js +0 -6
  1632. package/dist/solutions-components/p-a8b70e9a.js +0 -6
  1633. package/dist/solutions-components/p-a8d83bc3.entry.js +0 -11
  1634. package/dist/solutions-components/p-aa36f70e.entry.js +0 -6
  1635. package/dist/solutions-components/p-aaa56cbf.js +0 -11
  1636. package/dist/solutions-components/p-abd68931.entry.js +0 -6
  1637. package/dist/solutions-components/p-ac92679c.js +0 -6
  1638. package/dist/solutions-components/p-ad1c27ef.entry.js +0 -6
  1639. package/dist/solutions-components/p-ad441ffa.entry.js +0 -11
  1640. package/dist/solutions-components/p-add869b6.entry.js +0 -11
  1641. package/dist/solutions-components/p-b310402f.entry.js +0 -11
  1642. package/dist/solutions-components/p-b4d708cd.entry.js +0 -6
  1643. package/dist/solutions-components/p-b5575639.js +0 -11
  1644. package/dist/solutions-components/p-b5b66530.js +0 -11
  1645. package/dist/solutions-components/p-b7e63ac2.js +0 -6
  1646. package/dist/solutions-components/p-b8eee32e.js +0 -6
  1647. package/dist/solutions-components/p-b9b2f7a9.entry.js +0 -6
  1648. package/dist/solutions-components/p-bb040eab.entry.js +0 -29
  1649. package/dist/solutions-components/p-bcc2d4ff.js +0 -6
  1650. package/dist/solutions-components/p-bcce9d28.entry.js +0 -17
  1651. package/dist/solutions-components/p-c151da98.entry.js +0 -11
  1652. package/dist/solutions-components/p-c1fa5dae.entry.js +0 -11
  1653. package/dist/solutions-components/p-c346ca43.entry.js +0 -6
  1654. package/dist/solutions-components/p-c60c5991.entry.js +0 -11
  1655. package/dist/solutions-components/p-c6255e3c.entry.js +0 -6
  1656. package/dist/solutions-components/p-c66faddf.entry.js +0 -6
  1657. package/dist/solutions-components/p-c6ef8cca.js +0 -6
  1658. package/dist/solutions-components/p-c718930a.entry.js +0 -6
  1659. package/dist/solutions-components/p-c7bfe120.entry.js +0 -6
  1660. package/dist/solutions-components/p-c94b0e1a.js +0 -16
  1661. package/dist/solutions-components/p-c976ac3b.entry.js +0 -47
  1662. package/dist/solutions-components/p-cadbe907.entry.js +0 -11
  1663. package/dist/solutions-components/p-cba6953c.js +0 -6
  1664. package/dist/solutions-components/p-d00ca970.entry.js +0 -6
  1665. package/dist/solutions-components/p-d2033cfa.entry.js +0 -6
  1666. package/dist/solutions-components/p-d2ee8b82.js +0 -6
  1667. package/dist/solutions-components/p-d301b8fd.js +0 -6
  1668. package/dist/solutions-components/p-d4ab82e3.entry.js +0 -17
  1669. package/dist/solutions-components/p-d7711a84.entry.js +0 -11
  1670. package/dist/solutions-components/p-d7871f0d.entry.js +0 -11
  1671. package/dist/solutions-components/p-d9b8b4e2.entry.js +0 -6
  1672. package/dist/solutions-components/p-d9e930c8.js +0 -11
  1673. package/dist/solutions-components/p-dc264663.entry.js +0 -17
  1674. package/dist/solutions-components/p-dcaae1e9.entry.js +0 -11
  1675. package/dist/solutions-components/p-dcebc541.js +0 -6
  1676. package/dist/solutions-components/p-de3719f2.entry.js +0 -22
  1677. package/dist/solutions-components/p-dec62e5d.js +0 -488
  1678. package/dist/solutions-components/p-e068dfb9.entry.js +0 -11
  1679. package/dist/solutions-components/p-e0b65115.js +0 -11
  1680. package/dist/solutions-components/p-e0f10596.entry.js +0 -6
  1681. package/dist/solutions-components/p-e0fd4006.js +0 -6
  1682. package/dist/solutions-components/p-e26cf5f5.entry.js +0 -11
  1683. package/dist/solutions-components/p-e378184f.entry.js +0 -6
  1684. package/dist/solutions-components/p-e6798e38.js +0 -6
  1685. package/dist/solutions-components/p-ea8d2558.js +0 -6
  1686. package/dist/solutions-components/p-ef187f1d.js +0 -6
  1687. package/dist/solutions-components/p-ef67c743.js +0 -11
  1688. package/dist/solutions-components/p-efca5cea.entry.js +0 -6
  1689. package/dist/solutions-components/p-f359c162.entry.js +0 -11
  1690. package/dist/solutions-components/p-f3e3a4d5.entry.js +0 -6
  1691. package/dist/solutions-components/p-f4360468.entry.js +0 -11
  1692. package/dist/solutions-components/p-f4d7f757.js +0 -6
  1693. package/dist/solutions-components/p-f550ebc1.entry.js +0 -6
  1694. package/dist/solutions-components/p-f69ca69c.js +0 -6
  1695. package/dist/solutions-components/p-f6c3501c.js +0 -16
  1696. package/dist/solutions-components/p-f6eeac1b.entry.js +0 -17
  1697. package/dist/solutions-components/p-f72fa647.entry.js +0 -12
  1698. package/dist/solutions-components/p-f7e45464.js +0 -6
  1699. package/dist/solutions-components/p-f7ffcd95.js +0 -6
  1700. package/dist/solutions-components/p-f8d23498.js +0 -11
  1701. package/dist/solutions-components/p-fa56b7c2.js +0 -11
  1702. package/dist/solutions-components/p-fa7c50f8.entry.js +0 -6
  1703. package/dist/solutions-components/p-fd9fb1ba.entry.js +0 -11
  1704. package/dist/solutions-components/p-fdb201ff.entry.js +0 -17
  1705. package/dist/solutions-components/p-fe0add26.js +0 -6
  1706. package/dist/solutions-components/p-ff105078.entry.js +0 -11
  1707. package/dist/solutions-components/p-ff639390.entry.js +0 -6
  1708. /package/dist/cjs/{index-04255c05.js → index-c44fa2e4.js} +0 -0
  1709. /package/dist/esm/{index-87ec7c0a.js → index-8fda18f5.js} +0 -0
  1710. /package/dist/solutions-components/{p-fc17754b.js → p-33ff2b9e.js} +0 -0
@@ -0,0 +1,2743 @@
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
+ /**!
7
+ * Sortable 1.15.3
8
+ * @author RubaXa <trash@rubaxa.org>
9
+ * @author owenm <owen23355@gmail.com>
10
+ * @license MIT
11
+ */
12
+ function ownKeys(object, enumerableOnly) {
13
+ var keys = Object.keys(object);
14
+ if (Object.getOwnPropertySymbols) {
15
+ var symbols = Object.getOwnPropertySymbols(object);
16
+ if (enumerableOnly) {
17
+ symbols = symbols.filter(function (sym) {
18
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
19
+ });
20
+ }
21
+ keys.push.apply(keys, symbols);
22
+ }
23
+ return keys;
24
+ }
25
+ function _objectSpread2(target) {
26
+ for (var i = 1; i < arguments.length; i++) {
27
+ var source = arguments[i] != null ? arguments[i] : {};
28
+ if (i % 2) {
29
+ ownKeys(Object(source), true).forEach(function (key) {
30
+ _defineProperty(target, key, source[key]);
31
+ });
32
+ } else if (Object.getOwnPropertyDescriptors) {
33
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
34
+ } else {
35
+ ownKeys(Object(source)).forEach(function (key) {
36
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
37
+ });
38
+ }
39
+ }
40
+ return target;
41
+ }
42
+ function _typeof(obj) {
43
+ "@babel/helpers - typeof";
44
+
45
+ if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
46
+ _typeof = function (obj) {
47
+ return typeof obj;
48
+ };
49
+ } else {
50
+ _typeof = function (obj) {
51
+ return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
52
+ };
53
+ }
54
+ return _typeof(obj);
55
+ }
56
+ function _defineProperty(obj, key, value) {
57
+ if (key in obj) {
58
+ Object.defineProperty(obj, key, {
59
+ value: value,
60
+ enumerable: true,
61
+ configurable: true,
62
+ writable: true
63
+ });
64
+ } else {
65
+ obj[key] = value;
66
+ }
67
+ return obj;
68
+ }
69
+ function _extends() {
70
+ _extends = Object.assign || function (target) {
71
+ for (var i = 1; i < arguments.length; i++) {
72
+ var source = arguments[i];
73
+ for (var key in source) {
74
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
75
+ target[key] = source[key];
76
+ }
77
+ }
78
+ }
79
+ return target;
80
+ };
81
+ return _extends.apply(this, arguments);
82
+ }
83
+ function _objectWithoutPropertiesLoose(source, excluded) {
84
+ if (source == null) return {};
85
+ var target = {};
86
+ var sourceKeys = Object.keys(source);
87
+ var key, i;
88
+ for (i = 0; i < sourceKeys.length; i++) {
89
+ key = sourceKeys[i];
90
+ if (excluded.indexOf(key) >= 0) continue;
91
+ target[key] = source[key];
92
+ }
93
+ return target;
94
+ }
95
+ function _objectWithoutProperties(source, excluded) {
96
+ if (source == null) return {};
97
+ var target = _objectWithoutPropertiesLoose(source, excluded);
98
+ var key, i;
99
+ if (Object.getOwnPropertySymbols) {
100
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
101
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
102
+ key = sourceSymbolKeys[i];
103
+ if (excluded.indexOf(key) >= 0) continue;
104
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
105
+ target[key] = source[key];
106
+ }
107
+ }
108
+ return target;
109
+ }
110
+
111
+ var version = "1.15.3";
112
+
113
+ function userAgent(pattern) {
114
+ if (typeof window !== 'undefined' && window.navigator) {
115
+ return !! /*@__PURE__*/navigator.userAgent.match(pattern);
116
+ }
117
+ }
118
+ var IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i);
119
+ var Edge = userAgent(/Edge/i);
120
+ var FireFox = userAgent(/firefox/i);
121
+ var Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);
122
+ var IOS = userAgent(/iP(ad|od|hone)/i);
123
+ var ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);
124
+
125
+ var captureMode = {
126
+ capture: false,
127
+ passive: false
128
+ };
129
+ function on(el, event, fn) {
130
+ el.addEventListener(event, fn, !IE11OrLess && captureMode);
131
+ }
132
+ function off(el, event, fn) {
133
+ el.removeEventListener(event, fn, !IE11OrLess && captureMode);
134
+ }
135
+ function matches( /**HTMLElement*/el, /**String*/selector) {
136
+ if (!selector) return;
137
+ selector[0] === '>' && (selector = selector.substring(1));
138
+ if (el) {
139
+ try {
140
+ if (el.matches) {
141
+ return el.matches(selector);
142
+ } else if (el.msMatchesSelector) {
143
+ return el.msMatchesSelector(selector);
144
+ } else if (el.webkitMatchesSelector) {
145
+ return el.webkitMatchesSelector(selector);
146
+ }
147
+ } catch (_) {
148
+ return false;
149
+ }
150
+ }
151
+ return false;
152
+ }
153
+ function getParentOrHost(el) {
154
+ return el.host && el !== document && el.host.nodeType ? el.host : el.parentNode;
155
+ }
156
+ function closest( /**HTMLElement*/el, /**String*/selector, /**HTMLElement*/ctx, includeCTX) {
157
+ if (el) {
158
+ ctx = ctx || document;
159
+ do {
160
+ if (selector != null && (selector[0] === '>' ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {
161
+ return el;
162
+ }
163
+ if (el === ctx) break;
164
+ /* jshint boss:true */
165
+ } while (el = getParentOrHost(el));
166
+ }
167
+ return null;
168
+ }
169
+ var R_SPACE = /\s+/g;
170
+ function toggleClass(el, name, state) {
171
+ if (el && name) {
172
+ if (el.classList) {
173
+ el.classList[state ? 'add' : 'remove'](name);
174
+ } else {
175
+ var className = (' ' + el.className + ' ').replace(R_SPACE, ' ').replace(' ' + name + ' ', ' ');
176
+ el.className = (className + (state ? ' ' + name : '')).replace(R_SPACE, ' ');
177
+ }
178
+ }
179
+ }
180
+ function css(el, prop, val) {
181
+ var style = el && el.style;
182
+ if (style) {
183
+ if (val === void 0) {
184
+ if (document.defaultView && document.defaultView.getComputedStyle) {
185
+ val = document.defaultView.getComputedStyle(el, '');
186
+ } else if (el.currentStyle) {
187
+ val = el.currentStyle;
188
+ }
189
+ return prop === void 0 ? val : val[prop];
190
+ } else {
191
+ if (!(prop in style) && prop.indexOf('webkit') === -1) {
192
+ prop = '-webkit-' + prop;
193
+ }
194
+ style[prop] = val + (typeof val === 'string' ? '' : 'px');
195
+ }
196
+ }
197
+ }
198
+ function matrix(el, selfOnly) {
199
+ var appliedTransforms = '';
200
+ if (typeof el === 'string') {
201
+ appliedTransforms = el;
202
+ } else {
203
+ do {
204
+ var transform = css(el, 'transform');
205
+ if (transform && transform !== 'none') {
206
+ appliedTransforms = transform + ' ' + appliedTransforms;
207
+ }
208
+ /* jshint boss:true */
209
+ } while (!selfOnly && (el = el.parentNode));
210
+ }
211
+ var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
212
+ /*jshint -W056 */
213
+ return matrixFn && new matrixFn(appliedTransforms);
214
+ }
215
+ function find(ctx, tagName, iterator) {
216
+ if (ctx) {
217
+ var list = ctx.getElementsByTagName(tagName),
218
+ i = 0,
219
+ n = list.length;
220
+ if (iterator) {
221
+ for (; i < n; i++) {
222
+ iterator(list[i], i);
223
+ }
224
+ }
225
+ return list;
226
+ }
227
+ return [];
228
+ }
229
+ function getWindowScrollingElement() {
230
+ var scrollingElement = document.scrollingElement;
231
+ if (scrollingElement) {
232
+ return scrollingElement;
233
+ } else {
234
+ return document.documentElement;
235
+ }
236
+ }
237
+
238
+ /**
239
+ * Returns the "bounding client rect" of given element
240
+ * @param {HTMLElement} el The element whose boundingClientRect is wanted
241
+ * @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container
242
+ * @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr
243
+ * @param {[Boolean]} undoScale Whether the container's scale() should be undone
244
+ * @param {[HTMLElement]} container The parent the element will be placed in
245
+ * @return {Object} The boundingClientRect of el, with specified adjustments
246
+ */
247
+ function getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {
248
+ if (!el.getBoundingClientRect && el !== window) return;
249
+ var elRect, top, left, bottom, right, height, width;
250
+ if (el !== window && el.parentNode && el !== getWindowScrollingElement()) {
251
+ elRect = el.getBoundingClientRect();
252
+ top = elRect.top;
253
+ left = elRect.left;
254
+ bottom = elRect.bottom;
255
+ right = elRect.right;
256
+ height = elRect.height;
257
+ width = elRect.width;
258
+ } else {
259
+ top = 0;
260
+ left = 0;
261
+ bottom = window.innerHeight;
262
+ right = window.innerWidth;
263
+ height = window.innerHeight;
264
+ width = window.innerWidth;
265
+ }
266
+ if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {
267
+ // Adjust for translate()
268
+ container = container || el.parentNode;
269
+
270
+ // solves #1123 (see: https://stackoverflow.com/a/37953806/6088312)
271
+ // Not needed on <= IE11
272
+ if (!IE11OrLess) {
273
+ do {
274
+ if (container && container.getBoundingClientRect && (css(container, 'transform') !== 'none' || relativeToNonStaticParent && css(container, 'position') !== 'static')) {
275
+ var containerRect = container.getBoundingClientRect();
276
+
277
+ // Set relative to edges of padding box of container
278
+ top -= containerRect.top + parseInt(css(container, 'border-top-width'));
279
+ left -= containerRect.left + parseInt(css(container, 'border-left-width'));
280
+ bottom = top + elRect.height;
281
+ right = left + elRect.width;
282
+ break;
283
+ }
284
+ /* jshint boss:true */
285
+ } while (container = container.parentNode);
286
+ }
287
+ }
288
+ if (undoScale && el !== window) {
289
+ // Adjust for scale()
290
+ var elMatrix = matrix(container || el),
291
+ scaleX = elMatrix && elMatrix.a,
292
+ scaleY = elMatrix && elMatrix.d;
293
+ if (elMatrix) {
294
+ top /= scaleY;
295
+ left /= scaleX;
296
+ width /= scaleX;
297
+ height /= scaleY;
298
+ bottom = top + height;
299
+ right = left + width;
300
+ }
301
+ }
302
+ return {
303
+ top: top,
304
+ left: left,
305
+ bottom: bottom,
306
+ right: right,
307
+ width: width,
308
+ height: height
309
+ };
310
+ }
311
+
312
+ /**
313
+ * Checks if a side of an element is scrolled past a side of its parents
314
+ * @param {HTMLElement} el The element who's side being scrolled out of view is in question
315
+ * @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')
316
+ * @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')
317
+ * @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element
318
+ */
319
+ function isScrolledPast(el, elSide, parentSide) {
320
+ var parent = getParentAutoScrollElement(el, true),
321
+ elSideVal = getRect(el)[elSide];
322
+
323
+ /* jshint boss:true */
324
+ while (parent) {
325
+ var parentSideVal = getRect(parent)[parentSide],
326
+ visible = void 0;
327
+ if (parentSide === 'top' || parentSide === 'left') {
328
+ visible = elSideVal >= parentSideVal;
329
+ } else {
330
+ visible = elSideVal <= parentSideVal;
331
+ }
332
+ if (!visible) return parent;
333
+ if (parent === getWindowScrollingElement()) break;
334
+ parent = getParentAutoScrollElement(parent, false);
335
+ }
336
+ return false;
337
+ }
338
+
339
+ /**
340
+ * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)
341
+ * and non-draggable elements
342
+ * @param {HTMLElement} el The parent element
343
+ * @param {Number} childNum The index of the child
344
+ * @param {Object} options Parent Sortable's options
345
+ * @return {HTMLElement} The child at index childNum, or null if not found
346
+ */
347
+ function getChild(el, childNum, options, includeDragEl) {
348
+ var currentChild = 0,
349
+ i = 0,
350
+ children = el.children;
351
+ while (i < children.length) {
352
+ if (children[i].style.display !== 'none' && children[i] !== Sortable.ghost && (includeDragEl || children[i] !== Sortable.dragged) && closest(children[i], options.draggable, el, false)) {
353
+ if (currentChild === childNum) {
354
+ return children[i];
355
+ }
356
+ currentChild++;
357
+ }
358
+ i++;
359
+ }
360
+ return null;
361
+ }
362
+
363
+ /**
364
+ * Gets the last child in the el, ignoring ghostEl or invisible elements (clones)
365
+ * @param {HTMLElement} el Parent element
366
+ * @param {selector} selector Any other elements that should be ignored
367
+ * @return {HTMLElement} The last child, ignoring ghostEl
368
+ */
369
+ function lastChild(el, selector) {
370
+ var last = el.lastElementChild;
371
+ while (last && (last === Sortable.ghost || css(last, 'display') === 'none' || selector && !matches(last, selector))) {
372
+ last = last.previousElementSibling;
373
+ }
374
+ return last || null;
375
+ }
376
+
377
+ /**
378
+ * Returns the index of an element within its parent for a selected set of
379
+ * elements
380
+ * @param {HTMLElement} el
381
+ * @param {selector} selector
382
+ * @return {number}
383
+ */
384
+ function index(el, selector) {
385
+ var index = 0;
386
+ if (!el || !el.parentNode) {
387
+ return -1;
388
+ }
389
+
390
+ /* jshint boss:true */
391
+ while (el = el.previousElementSibling) {
392
+ if (el.nodeName.toUpperCase() !== 'TEMPLATE' && el !== Sortable.clone && (!selector || matches(el, selector))) {
393
+ index++;
394
+ }
395
+ }
396
+ return index;
397
+ }
398
+
399
+ /**
400
+ * Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.
401
+ * The value is returned in real pixels.
402
+ * @param {HTMLElement} el
403
+ * @return {Array} Offsets in the format of [left, top]
404
+ */
405
+ function getRelativeScrollOffset(el) {
406
+ var offsetLeft = 0,
407
+ offsetTop = 0,
408
+ winScroller = getWindowScrollingElement();
409
+ if (el) {
410
+ do {
411
+ var elMatrix = matrix(el),
412
+ scaleX = elMatrix.a,
413
+ scaleY = elMatrix.d;
414
+ offsetLeft += el.scrollLeft * scaleX;
415
+ offsetTop += el.scrollTop * scaleY;
416
+ } while (el !== winScroller && (el = el.parentNode));
417
+ }
418
+ return [offsetLeft, offsetTop];
419
+ }
420
+
421
+ /**
422
+ * Returns the index of the object within the given array
423
+ * @param {Array} arr Array that may or may not hold the object
424
+ * @param {Object} obj An object that has a key-value pair unique to and identical to a key-value pair in the object you want to find
425
+ * @return {Number} The index of the object in the array, or -1
426
+ */
427
+ function indexOfObject(arr, obj) {
428
+ for (var i in arr) {
429
+ if (!arr.hasOwnProperty(i)) continue;
430
+ for (var key in obj) {
431
+ if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);
432
+ }
433
+ }
434
+ return -1;
435
+ }
436
+ function getParentAutoScrollElement(el, includeSelf) {
437
+ // skip to window
438
+ if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();
439
+ var elem = el;
440
+ var gotSelf = false;
441
+ do {
442
+ // we don't need to get elem css if it isn't even overflowing in the first place (performance)
443
+ if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {
444
+ var elemCSS = css(elem);
445
+ if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == 'auto' || elemCSS.overflowX == 'scroll') || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == 'auto' || elemCSS.overflowY == 'scroll')) {
446
+ if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();
447
+ if (gotSelf || includeSelf) return elem;
448
+ gotSelf = true;
449
+ }
450
+ }
451
+ /* jshint boss:true */
452
+ } while (elem = elem.parentNode);
453
+ return getWindowScrollingElement();
454
+ }
455
+ function extend(dst, src) {
456
+ if (dst && src) {
457
+ for (var key in src) {
458
+ if (src.hasOwnProperty(key)) {
459
+ dst[key] = src[key];
460
+ }
461
+ }
462
+ }
463
+ return dst;
464
+ }
465
+ function isRectEqual(rect1, rect2) {
466
+ return Math.round(rect1.top) === Math.round(rect2.top) && Math.round(rect1.left) === Math.round(rect2.left) && Math.round(rect1.height) === Math.round(rect2.height) && Math.round(rect1.width) === Math.round(rect2.width);
467
+ }
468
+ var _throttleTimeout;
469
+ function throttle(callback, ms) {
470
+ return function () {
471
+ if (!_throttleTimeout) {
472
+ var args = arguments,
473
+ _this = this;
474
+ if (args.length === 1) {
475
+ callback.call(_this, args[0]);
476
+ } else {
477
+ callback.apply(_this, args);
478
+ }
479
+ _throttleTimeout = setTimeout(function () {
480
+ _throttleTimeout = void 0;
481
+ }, ms);
482
+ }
483
+ };
484
+ }
485
+ function cancelThrottle() {
486
+ clearTimeout(_throttleTimeout);
487
+ _throttleTimeout = void 0;
488
+ }
489
+ function scrollBy(el, x, y) {
490
+ el.scrollLeft += x;
491
+ el.scrollTop += y;
492
+ }
493
+ function clone(el) {
494
+ var Polymer = window.Polymer;
495
+ var $ = window.jQuery || window.Zepto;
496
+ if (Polymer && Polymer.dom) {
497
+ return Polymer.dom(el).cloneNode(true);
498
+ } else if ($) {
499
+ return $(el).clone(true)[0];
500
+ } else {
501
+ return el.cloneNode(true);
502
+ }
503
+ }
504
+ function getChildContainingRectFromElement(container, options, ghostEl) {
505
+ var rect = {};
506
+ Array.from(container.children).forEach(function (child) {
507
+ var _rect$left, _rect$top, _rect$right, _rect$bottom;
508
+ if (!closest(child, options.draggable, container, false) || child.animated || child === ghostEl) return;
509
+ var childRect = getRect(child);
510
+ rect.left = Math.min((_rect$left = rect.left) !== null && _rect$left !== void 0 ? _rect$left : Infinity, childRect.left);
511
+ rect.top = Math.min((_rect$top = rect.top) !== null && _rect$top !== void 0 ? _rect$top : Infinity, childRect.top);
512
+ rect.right = Math.max((_rect$right = rect.right) !== null && _rect$right !== void 0 ? _rect$right : -Infinity, childRect.right);
513
+ rect.bottom = Math.max((_rect$bottom = rect.bottom) !== null && _rect$bottom !== void 0 ? _rect$bottom : -Infinity, childRect.bottom);
514
+ });
515
+ rect.width = rect.right - rect.left;
516
+ rect.height = rect.bottom - rect.top;
517
+ rect.x = rect.left;
518
+ rect.y = rect.top;
519
+ return rect;
520
+ }
521
+ var expando = 'Sortable' + new Date().getTime();
522
+
523
+ function AnimationStateManager() {
524
+ var animationStates = [],
525
+ animationCallbackId;
526
+ return {
527
+ captureAnimationState: function captureAnimationState() {
528
+ animationStates = [];
529
+ if (!this.options.animation) return;
530
+ var children = [].slice.call(this.el.children);
531
+ children.forEach(function (child) {
532
+ if (css(child, 'display') === 'none' || child === Sortable.ghost) return;
533
+ animationStates.push({
534
+ target: child,
535
+ rect: getRect(child)
536
+ });
537
+ var fromRect = _objectSpread2({}, animationStates[animationStates.length - 1].rect);
538
+
539
+ // If animating: compensate for current animation
540
+ if (child.thisAnimationDuration) {
541
+ var childMatrix = matrix(child, true);
542
+ if (childMatrix) {
543
+ fromRect.top -= childMatrix.f;
544
+ fromRect.left -= childMatrix.e;
545
+ }
546
+ }
547
+ child.fromRect = fromRect;
548
+ });
549
+ },
550
+ addAnimationState: function addAnimationState(state) {
551
+ animationStates.push(state);
552
+ },
553
+ removeAnimationState: function removeAnimationState(target) {
554
+ animationStates.splice(indexOfObject(animationStates, {
555
+ target: target
556
+ }), 1);
557
+ },
558
+ animateAll: function animateAll(callback) {
559
+ var _this = this;
560
+ if (!this.options.animation) {
561
+ clearTimeout(animationCallbackId);
562
+ if (typeof callback === 'function') callback();
563
+ return;
564
+ }
565
+ var animating = false,
566
+ animationTime = 0;
567
+ animationStates.forEach(function (state) {
568
+ var time = 0,
569
+ target = state.target,
570
+ fromRect = target.fromRect,
571
+ toRect = getRect(target),
572
+ prevFromRect = target.prevFromRect,
573
+ prevToRect = target.prevToRect,
574
+ animatingRect = state.rect,
575
+ targetMatrix = matrix(target, true);
576
+ if (targetMatrix) {
577
+ // Compensate for current animation
578
+ toRect.top -= targetMatrix.f;
579
+ toRect.left -= targetMatrix.e;
580
+ }
581
+ target.toRect = toRect;
582
+ if (target.thisAnimationDuration) {
583
+ // Could also check if animatingRect is between fromRect and toRect
584
+ if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) &&
585
+ // Make sure animatingRect is on line between toRect & fromRect
586
+ (animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {
587
+ // If returning to same place as started from animation and on same axis
588
+ time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);
589
+ }
590
+ }
591
+
592
+ // if fromRect != toRect: animate
593
+ if (!isRectEqual(toRect, fromRect)) {
594
+ target.prevFromRect = fromRect;
595
+ target.prevToRect = toRect;
596
+ if (!time) {
597
+ time = _this.options.animation;
598
+ }
599
+ _this.animate(target, animatingRect, toRect, time);
600
+ }
601
+ if (time) {
602
+ animating = true;
603
+ animationTime = Math.max(animationTime, time);
604
+ clearTimeout(target.animationResetTimer);
605
+ target.animationResetTimer = setTimeout(function () {
606
+ target.animationTime = 0;
607
+ target.prevFromRect = null;
608
+ target.fromRect = null;
609
+ target.prevToRect = null;
610
+ target.thisAnimationDuration = null;
611
+ }, time);
612
+ target.thisAnimationDuration = time;
613
+ }
614
+ });
615
+ clearTimeout(animationCallbackId);
616
+ if (!animating) {
617
+ if (typeof callback === 'function') callback();
618
+ } else {
619
+ animationCallbackId = setTimeout(function () {
620
+ if (typeof callback === 'function') callback();
621
+ }, animationTime);
622
+ }
623
+ animationStates = [];
624
+ },
625
+ animate: function animate(target, currentRect, toRect, duration) {
626
+ if (duration) {
627
+ css(target, 'transition', '');
628
+ css(target, 'transform', '');
629
+ var elMatrix = matrix(this.el),
630
+ scaleX = elMatrix && elMatrix.a,
631
+ scaleY = elMatrix && elMatrix.d,
632
+ translateX = (currentRect.left - toRect.left) / (scaleX || 1),
633
+ translateY = (currentRect.top - toRect.top) / (scaleY || 1);
634
+ target.animatingX = !!translateX;
635
+ target.animatingY = !!translateY;
636
+ css(target, 'transform', 'translate3d(' + translateX + 'px,' + translateY + 'px,0)');
637
+ this.forRepaintDummy = repaint(target); // repaint
638
+
639
+ css(target, 'transition', 'transform ' + duration + 'ms' + (this.options.easing ? ' ' + this.options.easing : ''));
640
+ css(target, 'transform', 'translate3d(0,0,0)');
641
+ typeof target.animated === 'number' && clearTimeout(target.animated);
642
+ target.animated = setTimeout(function () {
643
+ css(target, 'transition', '');
644
+ css(target, 'transform', '');
645
+ target.animated = false;
646
+ target.animatingX = false;
647
+ target.animatingY = false;
648
+ }, duration);
649
+ }
650
+ }
651
+ };
652
+ }
653
+ function repaint(target) {
654
+ return target.offsetWidth;
655
+ }
656
+ function calculateRealTime(animatingRect, fromRect, toRect, options) {
657
+ return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;
658
+ }
659
+
660
+ var plugins = [];
661
+ var defaults = {
662
+ initializeByDefault: true
663
+ };
664
+ var PluginManager = {
665
+ mount: function mount(plugin) {
666
+ // Set default static properties
667
+ for (var option in defaults) {
668
+ if (defaults.hasOwnProperty(option) && !(option in plugin)) {
669
+ plugin[option] = defaults[option];
670
+ }
671
+ }
672
+ plugins.forEach(function (p) {
673
+ if (p.pluginName === plugin.pluginName) {
674
+ throw "Sortable: Cannot mount plugin ".concat(plugin.pluginName, " more than once");
675
+ }
676
+ });
677
+ plugins.push(plugin);
678
+ },
679
+ pluginEvent: function pluginEvent(eventName, sortable, evt) {
680
+ var _this = this;
681
+ this.eventCanceled = false;
682
+ evt.cancel = function () {
683
+ _this.eventCanceled = true;
684
+ };
685
+ var eventNameGlobal = eventName + 'Global';
686
+ plugins.forEach(function (plugin) {
687
+ if (!sortable[plugin.pluginName]) return;
688
+ // Fire global events if it exists in this sortable
689
+ if (sortable[plugin.pluginName][eventNameGlobal]) {
690
+ sortable[plugin.pluginName][eventNameGlobal](_objectSpread2({
691
+ sortable: sortable
692
+ }, evt));
693
+ }
694
+
695
+ // Only fire plugin event if plugin is enabled in this sortable,
696
+ // and plugin has event defined
697
+ if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {
698
+ sortable[plugin.pluginName][eventName](_objectSpread2({
699
+ sortable: sortable
700
+ }, evt));
701
+ }
702
+ });
703
+ },
704
+ initializePlugins: function initializePlugins(sortable, el, defaults, options) {
705
+ plugins.forEach(function (plugin) {
706
+ var pluginName = plugin.pluginName;
707
+ if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;
708
+ var initialized = new plugin(sortable, el, sortable.options);
709
+ initialized.sortable = sortable;
710
+ initialized.options = sortable.options;
711
+ sortable[pluginName] = initialized;
712
+
713
+ // Add default options from plugin
714
+ _extends(defaults, initialized.defaults);
715
+ });
716
+ for (var option in sortable.options) {
717
+ if (!sortable.options.hasOwnProperty(option)) continue;
718
+ var modified = this.modifyOption(sortable, option, sortable.options[option]);
719
+ if (typeof modified !== 'undefined') {
720
+ sortable.options[option] = modified;
721
+ }
722
+ }
723
+ },
724
+ getEventProperties: function getEventProperties(name, sortable) {
725
+ var eventProperties = {};
726
+ plugins.forEach(function (plugin) {
727
+ if (typeof plugin.eventProperties !== 'function') return;
728
+ _extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));
729
+ });
730
+ return eventProperties;
731
+ },
732
+ modifyOption: function modifyOption(sortable, name, value) {
733
+ var modifiedValue;
734
+ plugins.forEach(function (plugin) {
735
+ // Plugin must exist on the Sortable
736
+ if (!sortable[plugin.pluginName]) return;
737
+
738
+ // If static option listener exists for this option, call in the context of the Sortable's instance of this plugin
739
+ if (plugin.optionListeners && typeof plugin.optionListeners[name] === 'function') {
740
+ modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);
741
+ }
742
+ });
743
+ return modifiedValue;
744
+ }
745
+ };
746
+
747
+ function dispatchEvent(_ref) {
748
+ var sortable = _ref.sortable,
749
+ rootEl = _ref.rootEl,
750
+ name = _ref.name,
751
+ targetEl = _ref.targetEl,
752
+ cloneEl = _ref.cloneEl,
753
+ toEl = _ref.toEl,
754
+ fromEl = _ref.fromEl,
755
+ oldIndex = _ref.oldIndex,
756
+ newIndex = _ref.newIndex,
757
+ oldDraggableIndex = _ref.oldDraggableIndex,
758
+ newDraggableIndex = _ref.newDraggableIndex,
759
+ originalEvent = _ref.originalEvent,
760
+ putSortable = _ref.putSortable,
761
+ extraEventProperties = _ref.extraEventProperties;
762
+ sortable = sortable || rootEl && rootEl[expando];
763
+ if (!sortable) return;
764
+ var evt,
765
+ options = sortable.options,
766
+ onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1);
767
+ // Support for new CustomEvent feature
768
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
769
+ evt = new CustomEvent(name, {
770
+ bubbles: true,
771
+ cancelable: true
772
+ });
773
+ } else {
774
+ evt = document.createEvent('Event');
775
+ evt.initEvent(name, true, true);
776
+ }
777
+ evt.to = toEl || rootEl;
778
+ evt.from = fromEl || rootEl;
779
+ evt.item = targetEl || rootEl;
780
+ evt.clone = cloneEl;
781
+ evt.oldIndex = oldIndex;
782
+ evt.newIndex = newIndex;
783
+ evt.oldDraggableIndex = oldDraggableIndex;
784
+ evt.newDraggableIndex = newDraggableIndex;
785
+ evt.originalEvent = originalEvent;
786
+ evt.pullMode = putSortable ? putSortable.lastPutMode : undefined;
787
+ var allEventProperties = _objectSpread2(_objectSpread2({}, extraEventProperties), PluginManager.getEventProperties(name, sortable));
788
+ for (var option in allEventProperties) {
789
+ evt[option] = allEventProperties[option];
790
+ }
791
+ if (rootEl) {
792
+ rootEl.dispatchEvent(evt);
793
+ }
794
+ if (options[onName]) {
795
+ options[onName].call(sortable, evt);
796
+ }
797
+ }
798
+
799
+ var _excluded = ["evt"];
800
+ var pluginEvent = function pluginEvent(eventName, sortable) {
801
+ var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},
802
+ originalEvent = _ref.evt,
803
+ data = _objectWithoutProperties(_ref, _excluded);
804
+ PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread2({
805
+ dragEl: dragEl,
806
+ parentEl: parentEl,
807
+ ghostEl: ghostEl,
808
+ rootEl: rootEl,
809
+ nextEl: nextEl,
810
+ lastDownEl: lastDownEl,
811
+ cloneEl: cloneEl,
812
+ cloneHidden: cloneHidden,
813
+ dragStarted: moved,
814
+ putSortable: putSortable,
815
+ activeSortable: Sortable.active,
816
+ originalEvent: originalEvent,
817
+ oldIndex: oldIndex,
818
+ oldDraggableIndex: oldDraggableIndex,
819
+ newIndex: newIndex,
820
+ newDraggableIndex: newDraggableIndex,
821
+ hideGhostForTarget: _hideGhostForTarget,
822
+ unhideGhostForTarget: _unhideGhostForTarget,
823
+ cloneNowHidden: function cloneNowHidden() {
824
+ cloneHidden = true;
825
+ },
826
+ cloneNowShown: function cloneNowShown() {
827
+ cloneHidden = false;
828
+ },
829
+ dispatchSortableEvent: function dispatchSortableEvent(name) {
830
+ _dispatchEvent({
831
+ sortable: sortable,
832
+ name: name,
833
+ originalEvent: originalEvent
834
+ });
835
+ }
836
+ }, data));
837
+ };
838
+ function _dispatchEvent(info) {
839
+ dispatchEvent(_objectSpread2({
840
+ putSortable: putSortable,
841
+ cloneEl: cloneEl,
842
+ targetEl: dragEl,
843
+ rootEl: rootEl,
844
+ oldIndex: oldIndex,
845
+ oldDraggableIndex: oldDraggableIndex,
846
+ newIndex: newIndex,
847
+ newDraggableIndex: newDraggableIndex
848
+ }, info));
849
+ }
850
+ var dragEl,
851
+ parentEl,
852
+ ghostEl,
853
+ rootEl,
854
+ nextEl,
855
+ lastDownEl,
856
+ cloneEl,
857
+ cloneHidden,
858
+ oldIndex,
859
+ newIndex,
860
+ oldDraggableIndex,
861
+ newDraggableIndex,
862
+ activeGroup,
863
+ putSortable,
864
+ awaitingDragStarted = false,
865
+ ignoreNextClick = false,
866
+ sortables = [],
867
+ tapEvt,
868
+ touchEvt,
869
+ lastDx,
870
+ lastDy,
871
+ tapDistanceLeft,
872
+ tapDistanceTop,
873
+ moved,
874
+ lastTarget,
875
+ lastDirection,
876
+ pastFirstInvertThresh = false,
877
+ isCircumstantialInvert = false,
878
+ targetMoveDistance,
879
+ // For positioning ghost absolutely
880
+ ghostRelativeParent,
881
+ ghostRelativeParentInitialScroll = [],
882
+ // (left, top)
883
+
884
+ _silent = false,
885
+ savedInputChecked = [];
886
+
887
+ /** @const */
888
+ var documentExists = typeof document !== 'undefined',
889
+ PositionGhostAbsolutely = IOS,
890
+ CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float',
891
+ // This will not pass for IE9, because IE9 DnD only works on anchors
892
+ supportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in document.createElement('div'),
893
+ supportCssPointerEvents = function () {
894
+ if (!documentExists) return;
895
+ // false when <= IE11
896
+ if (IE11OrLess) {
897
+ return false;
898
+ }
899
+ var el = document.createElement('x');
900
+ el.style.cssText = 'pointer-events:auto';
901
+ return el.style.pointerEvents === 'auto';
902
+ }(),
903
+ _detectDirection = function _detectDirection(el, options) {
904
+ var elCSS = css(el),
905
+ elWidth = parseInt(elCSS.width) - parseInt(elCSS.paddingLeft) - parseInt(elCSS.paddingRight) - parseInt(elCSS.borderLeftWidth) - parseInt(elCSS.borderRightWidth),
906
+ child1 = getChild(el, 0, options),
907
+ child2 = getChild(el, 1, options),
908
+ firstChildCSS = child1 && css(child1),
909
+ secondChildCSS = child2 && css(child2),
910
+ firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + getRect(child1).width,
911
+ secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + getRect(child2).width;
912
+ if (elCSS.display === 'flex') {
913
+ return elCSS.flexDirection === 'column' || elCSS.flexDirection === 'column-reverse' ? 'vertical' : 'horizontal';
914
+ }
915
+ if (elCSS.display === 'grid') {
916
+ return elCSS.gridTemplateColumns.split(' ').length <= 1 ? 'vertical' : 'horizontal';
917
+ }
918
+ if (child1 && firstChildCSS["float"] && firstChildCSS["float"] !== 'none') {
919
+ var touchingSideChild2 = firstChildCSS["float"] === 'left' ? 'left' : 'right';
920
+ return child2 && (secondChildCSS.clear === 'both' || secondChildCSS.clear === touchingSideChild2) ? 'vertical' : 'horizontal';
921
+ }
922
+ return child1 && (firstChildCSS.display === 'block' || firstChildCSS.display === 'flex' || firstChildCSS.display === 'table' || firstChildCSS.display === 'grid' || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === 'none' || child2 && elCSS[CSSFloatProperty] === 'none' && firstChildWidth + secondChildWidth > elWidth) ? 'vertical' : 'horizontal';
923
+ },
924
+ _dragElInRowColumn = function _dragElInRowColumn(dragRect, targetRect, vertical) {
925
+ var dragElS1Opp = vertical ? dragRect.left : dragRect.top,
926
+ dragElS2Opp = vertical ? dragRect.right : dragRect.bottom,
927
+ dragElOppLength = vertical ? dragRect.width : dragRect.height,
928
+ targetS1Opp = vertical ? targetRect.left : targetRect.top,
929
+ targetS2Opp = vertical ? targetRect.right : targetRect.bottom,
930
+ targetOppLength = vertical ? targetRect.width : targetRect.height;
931
+ return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;
932
+ },
933
+ /**
934
+ * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.
935
+ * @param {Number} x X position
936
+ * @param {Number} y Y position
937
+ * @return {HTMLElement} Element of the first found nearest Sortable
938
+ */
939
+ _detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {
940
+ var ret;
941
+ sortables.some(function (sortable) {
942
+ var threshold = sortable[expando].options.emptyInsertThreshold;
943
+ if (!threshold || lastChild(sortable)) return;
944
+ var rect = getRect(sortable),
945
+ insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold,
946
+ insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;
947
+ if (insideHorizontally && insideVertically) {
948
+ return ret = sortable;
949
+ }
950
+ });
951
+ return ret;
952
+ },
953
+ _prepareGroup = function _prepareGroup(options) {
954
+ function toFn(value, pull) {
955
+ return function (to, from, dragEl, evt) {
956
+ var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;
957
+ if (value == null && (pull || sameGroup)) {
958
+ // Default pull value
959
+ // Default pull and put value if same group
960
+ return true;
961
+ } else if (value == null || value === false) {
962
+ return false;
963
+ } else if (pull && value === 'clone') {
964
+ return value;
965
+ } else if (typeof value === 'function') {
966
+ return toFn(value(to, from, dragEl, evt), pull)(to, from, dragEl, evt);
967
+ } else {
968
+ var otherGroup = (pull ? to : from).options.group.name;
969
+ return value === true || typeof value === 'string' && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;
970
+ }
971
+ };
972
+ }
973
+ var group = {};
974
+ var originalGroup = options.group;
975
+ if (!originalGroup || _typeof(originalGroup) != 'object') {
976
+ originalGroup = {
977
+ name: originalGroup
978
+ };
979
+ }
980
+ group.name = originalGroup.name;
981
+ group.checkPull = toFn(originalGroup.pull, true);
982
+ group.checkPut = toFn(originalGroup.put);
983
+ group.revertClone = originalGroup.revertClone;
984
+ options.group = group;
985
+ },
986
+ _hideGhostForTarget = function _hideGhostForTarget() {
987
+ if (!supportCssPointerEvents && ghostEl) {
988
+ css(ghostEl, 'display', 'none');
989
+ }
990
+ },
991
+ _unhideGhostForTarget = function _unhideGhostForTarget() {
992
+ if (!supportCssPointerEvents && ghostEl) {
993
+ css(ghostEl, 'display', '');
994
+ }
995
+ };
996
+
997
+ // #1184 fix - Prevent click event on fallback if dragged but item not changed position
998
+ if (documentExists && !ChromeForAndroid) {
999
+ document.addEventListener('click', function (evt) {
1000
+ if (ignoreNextClick) {
1001
+ evt.preventDefault();
1002
+ evt.stopPropagation && evt.stopPropagation();
1003
+ evt.stopImmediatePropagation && evt.stopImmediatePropagation();
1004
+ ignoreNextClick = false;
1005
+ return false;
1006
+ }
1007
+ }, true);
1008
+ }
1009
+ var nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent(evt) {
1010
+ if (dragEl) {
1011
+ evt = evt.touches ? evt.touches[0] : evt;
1012
+ var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);
1013
+ if (nearest) {
1014
+ // Create imitation event
1015
+ var event = {};
1016
+ for (var i in evt) {
1017
+ if (evt.hasOwnProperty(i)) {
1018
+ event[i] = evt[i];
1019
+ }
1020
+ }
1021
+ event.target = event.rootEl = nearest;
1022
+ event.preventDefault = void 0;
1023
+ event.stopPropagation = void 0;
1024
+ nearest[expando]._onDragOver(event);
1025
+ }
1026
+ }
1027
+ };
1028
+ var _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {
1029
+ if (dragEl) {
1030
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1031
+ }
1032
+ };
1033
+
1034
+ /**
1035
+ * @class Sortable
1036
+ * @param {HTMLElement} el
1037
+ * @param {Object} [options]
1038
+ */
1039
+ function Sortable(el, options) {
1040
+ if (!(el && el.nodeType && el.nodeType === 1)) {
1041
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(el));
1042
+ }
1043
+ this.el = el; // root element
1044
+ this.options = options = _extends({}, options);
1045
+
1046
+ // Export instance
1047
+ el[expando] = this;
1048
+ var defaults = {
1049
+ group: null,
1050
+ sort: true,
1051
+ disabled: false,
1052
+ store: null,
1053
+ handle: null,
1054
+ draggable: /^[uo]l$/i.test(el.nodeName) ? '>li' : '>*',
1055
+ swapThreshold: 1,
1056
+ // percentage; 0 <= x <= 1
1057
+ invertSwap: false,
1058
+ // invert always
1059
+ invertedSwapThreshold: null,
1060
+ // will be set to same as swapThreshold if default
1061
+ removeCloneOnHide: true,
1062
+ direction: function direction() {
1063
+ return _detectDirection(el, this.options);
1064
+ },
1065
+ ghostClass: 'sortable-ghost',
1066
+ chosenClass: 'sortable-chosen',
1067
+ dragClass: 'sortable-drag',
1068
+ ignore: 'a, img',
1069
+ filter: null,
1070
+ preventOnFilter: true,
1071
+ animation: 0,
1072
+ easing: null,
1073
+ setData: function setData(dataTransfer, dragEl) {
1074
+ dataTransfer.setData('Text', dragEl.textContent);
1075
+ },
1076
+ dropBubble: false,
1077
+ dragoverBubble: false,
1078
+ dataIdAttr: 'data-id',
1079
+ delay: 0,
1080
+ delayOnTouchOnly: false,
1081
+ touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,
1082
+ forceFallback: false,
1083
+ fallbackClass: 'sortable-fallback',
1084
+ fallbackOnBody: false,
1085
+ fallbackTolerance: 0,
1086
+ fallbackOffset: {
1087
+ x: 0,
1088
+ y: 0
1089
+ },
1090
+ supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window && !Safari,
1091
+ emptyInsertThreshold: 5
1092
+ };
1093
+ PluginManager.initializePlugins(this, el, defaults);
1094
+
1095
+ // Set default options
1096
+ for (var name in defaults) {
1097
+ !(name in options) && (options[name] = defaults[name]);
1098
+ }
1099
+ _prepareGroup(options);
1100
+
1101
+ // Bind all private methods
1102
+ for (var fn in this) {
1103
+ if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
1104
+ this[fn] = this[fn].bind(this);
1105
+ }
1106
+ }
1107
+
1108
+ // Setup drag mode
1109
+ this.nativeDraggable = options.forceFallback ? false : supportDraggable;
1110
+ if (this.nativeDraggable) {
1111
+ // Touch start threshold cannot be greater than the native dragstart threshold
1112
+ this.options.touchStartThreshold = 1;
1113
+ }
1114
+
1115
+ // Bind events
1116
+ if (options.supportPointer) {
1117
+ on(el, 'pointerdown', this._onTapStart);
1118
+ } else {
1119
+ on(el, 'mousedown', this._onTapStart);
1120
+ on(el, 'touchstart', this._onTapStart);
1121
+ }
1122
+ if (this.nativeDraggable) {
1123
+ on(el, 'dragover', this);
1124
+ on(el, 'dragenter', this);
1125
+ }
1126
+ sortables.push(this.el);
1127
+
1128
+ // Restore sorting
1129
+ options.store && options.store.get && this.sort(options.store.get(this) || []);
1130
+
1131
+ // Add animation state manager
1132
+ _extends(this, AnimationStateManager());
1133
+ }
1134
+ Sortable.prototype = /** @lends Sortable.prototype */{
1135
+ constructor: Sortable,
1136
+ _isOutsideThisEl: function _isOutsideThisEl(target) {
1137
+ if (!this.el.contains(target) && target !== this.el) {
1138
+ lastTarget = null;
1139
+ }
1140
+ },
1141
+ _getDirection: function _getDirection(evt, target) {
1142
+ return typeof this.options.direction === 'function' ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;
1143
+ },
1144
+ _onTapStart: function _onTapStart( /** Event|TouchEvent */evt) {
1145
+ if (!evt.cancelable) return;
1146
+ var _this = this,
1147
+ el = this.el,
1148
+ options = this.options,
1149
+ preventOnFilter = options.preventOnFilter,
1150
+ type = evt.type,
1151
+ touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === 'touch' && evt,
1152
+ target = (touch || evt).target,
1153
+ originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target,
1154
+ filter = options.filter;
1155
+ _saveInputCheckedState(el);
1156
+
1157
+ // Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.
1158
+ if (dragEl) {
1159
+ return;
1160
+ }
1161
+ if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {
1162
+ return; // only left button and enabled
1163
+ }
1164
+
1165
+ // cancel dnd if original target is content editable
1166
+ if (originalTarget.isContentEditable) {
1167
+ return;
1168
+ }
1169
+
1170
+ // Safari ignores further event handling after mousedown
1171
+ if (!this.nativeDraggable && Safari && target && target.tagName.toUpperCase() === 'SELECT') {
1172
+ return;
1173
+ }
1174
+ target = closest(target, options.draggable, el, false);
1175
+ if (target && target.animated) {
1176
+ return;
1177
+ }
1178
+ if (lastDownEl === target) {
1179
+ // Ignoring duplicate `down`
1180
+ return;
1181
+ }
1182
+
1183
+ // Get the index of the dragged element within its parent
1184
+ oldIndex = index(target);
1185
+ oldDraggableIndex = index(target, options.draggable);
1186
+
1187
+ // Check filter
1188
+ if (typeof filter === 'function') {
1189
+ if (filter.call(this, evt, target, this)) {
1190
+ _dispatchEvent({
1191
+ sortable: _this,
1192
+ rootEl: originalTarget,
1193
+ name: 'filter',
1194
+ targetEl: target,
1195
+ toEl: el,
1196
+ fromEl: el
1197
+ });
1198
+ pluginEvent('filter', _this, {
1199
+ evt: evt
1200
+ });
1201
+ preventOnFilter && evt.cancelable && evt.preventDefault();
1202
+ return; // cancel dnd
1203
+ }
1204
+ } else if (filter) {
1205
+ filter = filter.split(',').some(function (criteria) {
1206
+ criteria = closest(originalTarget, criteria.trim(), el, false);
1207
+ if (criteria) {
1208
+ _dispatchEvent({
1209
+ sortable: _this,
1210
+ rootEl: criteria,
1211
+ name: 'filter',
1212
+ targetEl: target,
1213
+ fromEl: el,
1214
+ toEl: el
1215
+ });
1216
+ pluginEvent('filter', _this, {
1217
+ evt: evt
1218
+ });
1219
+ return true;
1220
+ }
1221
+ });
1222
+ if (filter) {
1223
+ preventOnFilter && evt.cancelable && evt.preventDefault();
1224
+ return; // cancel dnd
1225
+ }
1226
+ }
1227
+ if (options.handle && !closest(originalTarget, options.handle, el, false)) {
1228
+ return;
1229
+ }
1230
+
1231
+ // Prepare `dragstart`
1232
+ this._prepareDragStart(evt, touch, target);
1233
+ },
1234
+ _prepareDragStart: function _prepareDragStart( /** Event */evt, /** Touch */touch, /** HTMLElement */target) {
1235
+ var _this = this,
1236
+ el = _this.el,
1237
+ options = _this.options,
1238
+ ownerDocument = el.ownerDocument,
1239
+ dragStartFn;
1240
+ if (target && !dragEl && target.parentNode === el) {
1241
+ var dragRect = getRect(target);
1242
+ rootEl = el;
1243
+ dragEl = target;
1244
+ parentEl = dragEl.parentNode;
1245
+ nextEl = dragEl.nextSibling;
1246
+ lastDownEl = target;
1247
+ activeGroup = options.group;
1248
+ Sortable.dragged = dragEl;
1249
+ tapEvt = {
1250
+ target: dragEl,
1251
+ clientX: (touch || evt).clientX,
1252
+ clientY: (touch || evt).clientY
1253
+ };
1254
+ tapDistanceLeft = tapEvt.clientX - dragRect.left;
1255
+ tapDistanceTop = tapEvt.clientY - dragRect.top;
1256
+ this._lastX = (touch || evt).clientX;
1257
+ this._lastY = (touch || evt).clientY;
1258
+ dragEl.style['will-change'] = 'all';
1259
+ dragStartFn = function dragStartFn() {
1260
+ pluginEvent('delayEnded', _this, {
1261
+ evt: evt
1262
+ });
1263
+ if (Sortable.eventCanceled) {
1264
+ _this._onDrop();
1265
+ return;
1266
+ }
1267
+ // Delayed drag has been triggered
1268
+ // we can re-enable the events: touchmove/mousemove
1269
+ _this._disableDelayedDragEvents();
1270
+ if (!FireFox && _this.nativeDraggable) {
1271
+ dragEl.draggable = true;
1272
+ }
1273
+
1274
+ // Bind the events: dragstart/dragend
1275
+ _this._triggerDragStart(evt, touch);
1276
+
1277
+ // Drag start event
1278
+ _dispatchEvent({
1279
+ sortable: _this,
1280
+ name: 'choose',
1281
+ originalEvent: evt
1282
+ });
1283
+
1284
+ // Chosen item
1285
+ toggleClass(dragEl, options.chosenClass, true);
1286
+ };
1287
+
1288
+ // Disable "draggable"
1289
+ options.ignore.split(',').forEach(function (criteria) {
1290
+ find(dragEl, criteria.trim(), _disableDraggable);
1291
+ });
1292
+ on(ownerDocument, 'dragover', nearestEmptyInsertDetectEvent);
1293
+ on(ownerDocument, 'mousemove', nearestEmptyInsertDetectEvent);
1294
+ on(ownerDocument, 'touchmove', nearestEmptyInsertDetectEvent);
1295
+ on(ownerDocument, 'mouseup', _this._onDrop);
1296
+ on(ownerDocument, 'touchend', _this._onDrop);
1297
+ on(ownerDocument, 'touchcancel', _this._onDrop);
1298
+
1299
+ // Make dragEl draggable (must be before delay for FireFox)
1300
+ if (FireFox && this.nativeDraggable) {
1301
+ this.options.touchStartThreshold = 4;
1302
+ dragEl.draggable = true;
1303
+ }
1304
+ pluginEvent('delayStart', this, {
1305
+ evt: evt
1306
+ });
1307
+
1308
+ // Delay is impossible for native DnD in Edge or IE
1309
+ if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {
1310
+ if (Sortable.eventCanceled) {
1311
+ this._onDrop();
1312
+ return;
1313
+ }
1314
+ // If the user moves the pointer or let go the click or touch
1315
+ // before the delay has been reached:
1316
+ // disable the delayed drag
1317
+ on(ownerDocument, 'mouseup', _this._disableDelayedDrag);
1318
+ on(ownerDocument, 'touchend', _this._disableDelayedDrag);
1319
+ on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);
1320
+ on(ownerDocument, 'mousemove', _this._delayedDragTouchMoveHandler);
1321
+ on(ownerDocument, 'touchmove', _this._delayedDragTouchMoveHandler);
1322
+ options.supportPointer && on(ownerDocument, 'pointermove', _this._delayedDragTouchMoveHandler);
1323
+ _this._dragStartTimer = setTimeout(dragStartFn, options.delay);
1324
+ } else {
1325
+ dragStartFn();
1326
+ }
1327
+ }
1328
+ },
1329
+ _delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler( /** TouchEvent|PointerEvent **/e) {
1330
+ var touch = e.touches ? e.touches[0] : e;
1331
+ if (Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1))) {
1332
+ this._disableDelayedDrag();
1333
+ }
1334
+ },
1335
+ _disableDelayedDrag: function _disableDelayedDrag() {
1336
+ dragEl && _disableDraggable(dragEl);
1337
+ clearTimeout(this._dragStartTimer);
1338
+ this._disableDelayedDragEvents();
1339
+ },
1340
+ _disableDelayedDragEvents: function _disableDelayedDragEvents() {
1341
+ var ownerDocument = this.el.ownerDocument;
1342
+ off(ownerDocument, 'mouseup', this._disableDelayedDrag);
1343
+ off(ownerDocument, 'touchend', this._disableDelayedDrag);
1344
+ off(ownerDocument, 'touchcancel', this._disableDelayedDrag);
1345
+ off(ownerDocument, 'mousemove', this._delayedDragTouchMoveHandler);
1346
+ off(ownerDocument, 'touchmove', this._delayedDragTouchMoveHandler);
1347
+ off(ownerDocument, 'pointermove', this._delayedDragTouchMoveHandler);
1348
+ },
1349
+ _triggerDragStart: function _triggerDragStart( /** Event */evt, /** Touch */touch) {
1350
+ touch = touch || evt.pointerType == 'touch' && evt;
1351
+ if (!this.nativeDraggable || touch) {
1352
+ if (this.options.supportPointer) {
1353
+ on(document, 'pointermove', this._onTouchMove);
1354
+ } else if (touch) {
1355
+ on(document, 'touchmove', this._onTouchMove);
1356
+ } else {
1357
+ on(document, 'mousemove', this._onTouchMove);
1358
+ }
1359
+ } else {
1360
+ on(dragEl, 'dragend', this);
1361
+ on(rootEl, 'dragstart', this._onDragStart);
1362
+ }
1363
+ try {
1364
+ if (document.selection) {
1365
+ // Timeout neccessary for IE9
1366
+ _nextTick(function () {
1367
+ document.selection.empty();
1368
+ });
1369
+ } else {
1370
+ window.getSelection().removeAllRanges();
1371
+ }
1372
+ } catch (err) {}
1373
+ },
1374
+ _dragStarted: function _dragStarted(fallback, evt) {
1375
+ awaitingDragStarted = false;
1376
+ if (rootEl && dragEl) {
1377
+ pluginEvent('dragStarted', this, {
1378
+ evt: evt
1379
+ });
1380
+ if (this.nativeDraggable) {
1381
+ on(document, 'dragover', _checkOutsideTargetEl);
1382
+ }
1383
+ var options = this.options;
1384
+
1385
+ // Apply effect
1386
+ !fallback && toggleClass(dragEl, options.dragClass, false);
1387
+ toggleClass(dragEl, options.ghostClass, true);
1388
+ Sortable.active = this;
1389
+ fallback && this._appendGhost();
1390
+
1391
+ // Drag start event
1392
+ _dispatchEvent({
1393
+ sortable: this,
1394
+ name: 'start',
1395
+ originalEvent: evt
1396
+ });
1397
+ } else {
1398
+ this._nulling();
1399
+ }
1400
+ },
1401
+ _emulateDragOver: function _emulateDragOver() {
1402
+ if (touchEvt) {
1403
+ this._lastX = touchEvt.clientX;
1404
+ this._lastY = touchEvt.clientY;
1405
+ _hideGhostForTarget();
1406
+ var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1407
+ var parent = target;
1408
+ while (target && target.shadowRoot) {
1409
+ target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
1410
+ if (target === parent) break;
1411
+ parent = target;
1412
+ }
1413
+ dragEl.parentNode[expando]._isOutsideThisEl(target);
1414
+ if (parent) {
1415
+ do {
1416
+ if (parent[expando]) {
1417
+ var inserted = void 0;
1418
+ inserted = parent[expando]._onDragOver({
1419
+ clientX: touchEvt.clientX,
1420
+ clientY: touchEvt.clientY,
1421
+ target: target,
1422
+ rootEl: parent
1423
+ });
1424
+ if (inserted && !this.options.dragoverBubble) {
1425
+ break;
1426
+ }
1427
+ }
1428
+ target = parent; // store last element
1429
+ }
1430
+ /* jshint boss:true */ while (parent = getParentOrHost(parent));
1431
+ }
1432
+ _unhideGhostForTarget();
1433
+ }
1434
+ },
1435
+ _onTouchMove: function _onTouchMove( /**TouchEvent*/evt) {
1436
+ if (tapEvt) {
1437
+ var options = this.options,
1438
+ fallbackTolerance = options.fallbackTolerance,
1439
+ fallbackOffset = options.fallbackOffset,
1440
+ touch = evt.touches ? evt.touches[0] : evt,
1441
+ ghostMatrix = ghostEl && matrix(ghostEl, true),
1442
+ scaleX = ghostEl && ghostMatrix && ghostMatrix.a,
1443
+ scaleY = ghostEl && ghostMatrix && ghostMatrix.d,
1444
+ relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),
1445
+ dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1),
1446
+ dy = (touch.clientY - tapEvt.clientY + fallbackOffset.y) / (scaleY || 1) + (relativeScrollOffset ? relativeScrollOffset[1] - ghostRelativeParentInitialScroll[1] : 0) / (scaleY || 1);
1447
+
1448
+ // only set the status to dragging, when we are actually dragging
1449
+ if (!Sortable.active && !awaitingDragStarted) {
1450
+ if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {
1451
+ return;
1452
+ }
1453
+ this._onDragStart(evt, true);
1454
+ }
1455
+ if (ghostEl) {
1456
+ if (ghostMatrix) {
1457
+ ghostMatrix.e += dx - (lastDx || 0);
1458
+ ghostMatrix.f += dy - (lastDy || 0);
1459
+ } else {
1460
+ ghostMatrix = {
1461
+ a: 1,
1462
+ b: 0,
1463
+ c: 0,
1464
+ d: 1,
1465
+ e: dx,
1466
+ f: dy
1467
+ };
1468
+ }
1469
+ var cssMatrix = "matrix(".concat(ghostMatrix.a, ",").concat(ghostMatrix.b, ",").concat(ghostMatrix.c, ",").concat(ghostMatrix.d, ",").concat(ghostMatrix.e, ",").concat(ghostMatrix.f, ")");
1470
+ css(ghostEl, 'webkitTransform', cssMatrix);
1471
+ css(ghostEl, 'mozTransform', cssMatrix);
1472
+ css(ghostEl, 'msTransform', cssMatrix);
1473
+ css(ghostEl, 'transform', cssMatrix);
1474
+ lastDx = dx;
1475
+ lastDy = dy;
1476
+ touchEvt = touch;
1477
+ }
1478
+ evt.cancelable && evt.preventDefault();
1479
+ }
1480
+ },
1481
+ _appendGhost: function _appendGhost() {
1482
+ // Bug if using scale(): https://stackoverflow.com/questions/2637058
1483
+ // Not being adjusted for
1484
+ if (!ghostEl) {
1485
+ var container = this.options.fallbackOnBody ? document.body : rootEl,
1486
+ rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container),
1487
+ options = this.options;
1488
+
1489
+ // Position absolutely
1490
+ if (PositionGhostAbsolutely) {
1491
+ // Get relatively positioned parent
1492
+ ghostRelativeParent = container;
1493
+ while (css(ghostRelativeParent, 'position') === 'static' && css(ghostRelativeParent, 'transform') === 'none' && ghostRelativeParent !== document) {
1494
+ ghostRelativeParent = ghostRelativeParent.parentNode;
1495
+ }
1496
+ if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {
1497
+ if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();
1498
+ rect.top += ghostRelativeParent.scrollTop;
1499
+ rect.left += ghostRelativeParent.scrollLeft;
1500
+ } else {
1501
+ ghostRelativeParent = getWindowScrollingElement();
1502
+ }
1503
+ ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);
1504
+ }
1505
+ ghostEl = dragEl.cloneNode(true);
1506
+ toggleClass(ghostEl, options.ghostClass, false);
1507
+ toggleClass(ghostEl, options.fallbackClass, true);
1508
+ toggleClass(ghostEl, options.dragClass, true);
1509
+ css(ghostEl, 'transition', '');
1510
+ css(ghostEl, 'transform', '');
1511
+ css(ghostEl, 'box-sizing', 'border-box');
1512
+ css(ghostEl, 'margin', 0);
1513
+ css(ghostEl, 'top', rect.top);
1514
+ css(ghostEl, 'left', rect.left);
1515
+ css(ghostEl, 'width', rect.width);
1516
+ css(ghostEl, 'height', rect.height);
1517
+ css(ghostEl, 'opacity', '0.8');
1518
+ css(ghostEl, 'position', PositionGhostAbsolutely ? 'absolute' : 'fixed');
1519
+ css(ghostEl, 'zIndex', '100000');
1520
+ css(ghostEl, 'pointerEvents', 'none');
1521
+ Sortable.ghost = ghostEl;
1522
+ container.appendChild(ghostEl);
1523
+
1524
+ // Set transform-origin
1525
+ css(ghostEl, 'transform-origin', tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + '% ' + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + '%');
1526
+ }
1527
+ },
1528
+ _onDragStart: function _onDragStart( /**Event*/evt, /**boolean*/fallback) {
1529
+ var _this = this;
1530
+ var dataTransfer = evt.dataTransfer;
1531
+ var options = _this.options;
1532
+ pluginEvent('dragStart', this, {
1533
+ evt: evt
1534
+ });
1535
+ if (Sortable.eventCanceled) {
1536
+ this._onDrop();
1537
+ return;
1538
+ }
1539
+ pluginEvent('setupClone', this);
1540
+ if (!Sortable.eventCanceled) {
1541
+ cloneEl = clone(dragEl);
1542
+ cloneEl.removeAttribute("id");
1543
+ cloneEl.draggable = false;
1544
+ cloneEl.style['will-change'] = '';
1545
+ this._hideClone();
1546
+ toggleClass(cloneEl, this.options.chosenClass, false);
1547
+ Sortable.clone = cloneEl;
1548
+ }
1549
+
1550
+ // #1143: IFrame support workaround
1551
+ _this.cloneId = _nextTick(function () {
1552
+ pluginEvent('clone', _this);
1553
+ if (Sortable.eventCanceled) return;
1554
+ if (!_this.options.removeCloneOnHide) {
1555
+ rootEl.insertBefore(cloneEl, dragEl);
1556
+ }
1557
+ _this._hideClone();
1558
+ _dispatchEvent({
1559
+ sortable: _this,
1560
+ name: 'clone'
1561
+ });
1562
+ });
1563
+ !fallback && toggleClass(dragEl, options.dragClass, true);
1564
+
1565
+ // Set proper drop events
1566
+ if (fallback) {
1567
+ ignoreNextClick = true;
1568
+ _this._loopId = setInterval(_this._emulateDragOver, 50);
1569
+ } else {
1570
+ // Undo what was set in _prepareDragStart before drag started
1571
+ off(document, 'mouseup', _this._onDrop);
1572
+ off(document, 'touchend', _this._onDrop);
1573
+ off(document, 'touchcancel', _this._onDrop);
1574
+ if (dataTransfer) {
1575
+ dataTransfer.effectAllowed = 'move';
1576
+ options.setData && options.setData.call(_this, dataTransfer, dragEl);
1577
+ }
1578
+ on(document, 'drop', _this);
1579
+
1580
+ // #1276 fix:
1581
+ css(dragEl, 'transform', 'translateZ(0)');
1582
+ }
1583
+ awaitingDragStarted = true;
1584
+ _this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));
1585
+ on(document, 'selectstart', _this);
1586
+ moved = true;
1587
+ if (Safari) {
1588
+ css(document.body, 'user-select', 'none');
1589
+ }
1590
+ },
1591
+ // Returns true - if no further action is needed (either inserted or another condition)
1592
+ _onDragOver: function _onDragOver( /**Event*/evt) {
1593
+ var el = this.el,
1594
+ target = evt.target,
1595
+ dragRect,
1596
+ targetRect,
1597
+ revert,
1598
+ options = this.options,
1599
+ group = options.group,
1600
+ activeSortable = Sortable.active,
1601
+ isOwner = activeGroup === group,
1602
+ canSort = options.sort,
1603
+ fromSortable = putSortable || activeSortable,
1604
+ vertical,
1605
+ _this = this,
1606
+ completedFired = false;
1607
+ if (_silent) return;
1608
+ function dragOverEvent(name, extra) {
1609
+ pluginEvent(name, _this, _objectSpread2({
1610
+ evt: evt,
1611
+ isOwner: isOwner,
1612
+ axis: vertical ? 'vertical' : 'horizontal',
1613
+ revert: revert,
1614
+ dragRect: dragRect,
1615
+ targetRect: targetRect,
1616
+ canSort: canSort,
1617
+ fromSortable: fromSortable,
1618
+ target: target,
1619
+ completed: completed,
1620
+ onMove: function onMove(target, after) {
1621
+ return _onMove(rootEl, el, dragEl, dragRect, target, getRect(target), evt, after);
1622
+ },
1623
+ changed: changed
1624
+ }, extra));
1625
+ }
1626
+
1627
+ // Capture animation state
1628
+ function capture() {
1629
+ dragOverEvent('dragOverAnimationCapture');
1630
+ _this.captureAnimationState();
1631
+ if (_this !== fromSortable) {
1632
+ fromSortable.captureAnimationState();
1633
+ }
1634
+ }
1635
+
1636
+ // Return invocation when dragEl is inserted (or completed)
1637
+ function completed(insertion) {
1638
+ dragOverEvent('dragOverCompleted', {
1639
+ insertion: insertion
1640
+ });
1641
+ if (insertion) {
1642
+ // Clones must be hidden before folding animation to capture dragRectAbsolute properly
1643
+ if (isOwner) {
1644
+ activeSortable._hideClone();
1645
+ } else {
1646
+ activeSortable._showClone(_this);
1647
+ }
1648
+ if (_this !== fromSortable) {
1649
+ // Set ghost class to new sortable's ghost class
1650
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);
1651
+ toggleClass(dragEl, options.ghostClass, true);
1652
+ }
1653
+ if (putSortable !== _this && _this !== Sortable.active) {
1654
+ putSortable = _this;
1655
+ } else if (_this === Sortable.active && putSortable) {
1656
+ putSortable = null;
1657
+ }
1658
+
1659
+ // Animation
1660
+ if (fromSortable === _this) {
1661
+ _this._ignoreWhileAnimating = target;
1662
+ }
1663
+ _this.animateAll(function () {
1664
+ dragOverEvent('dragOverAnimationComplete');
1665
+ _this._ignoreWhileAnimating = null;
1666
+ });
1667
+ if (_this !== fromSortable) {
1668
+ fromSortable.animateAll();
1669
+ fromSortable._ignoreWhileAnimating = null;
1670
+ }
1671
+ }
1672
+
1673
+ // Null lastTarget if it is not inside a previously swapped element
1674
+ if (target === dragEl && !dragEl.animated || target === el && !target.animated) {
1675
+ lastTarget = null;
1676
+ }
1677
+
1678
+ // no bubbling and not fallback
1679
+ if (!options.dragoverBubble && !evt.rootEl && target !== document) {
1680
+ dragEl.parentNode[expando]._isOutsideThisEl(evt.target);
1681
+
1682
+ // Do not detect for empty insert if already inserted
1683
+ !insertion && nearestEmptyInsertDetectEvent(evt);
1684
+ }
1685
+ !options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();
1686
+ return completedFired = true;
1687
+ }
1688
+
1689
+ // Call when dragEl has been inserted
1690
+ function changed() {
1691
+ newIndex = index(dragEl);
1692
+ newDraggableIndex = index(dragEl, options.draggable);
1693
+ _dispatchEvent({
1694
+ sortable: _this,
1695
+ name: 'change',
1696
+ toEl: el,
1697
+ newIndex: newIndex,
1698
+ newDraggableIndex: newDraggableIndex,
1699
+ originalEvent: evt
1700
+ });
1701
+ }
1702
+ if (evt.preventDefault !== void 0) {
1703
+ evt.cancelable && evt.preventDefault();
1704
+ }
1705
+ target = closest(target, options.draggable, el, true);
1706
+ dragOverEvent('dragOver');
1707
+ if (Sortable.eventCanceled) return completedFired;
1708
+ if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {
1709
+ return completed(false);
1710
+ }
1711
+ ignoreNextClick = false;
1712
+ if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = parentEl !== rootEl) // Reverting item into the original list
1713
+ : putSortable === this || (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt))) {
1714
+ vertical = this._getDirection(evt, target) === 'vertical';
1715
+ dragRect = getRect(dragEl);
1716
+ dragOverEvent('dragOverValid');
1717
+ if (Sortable.eventCanceled) return completedFired;
1718
+ if (revert) {
1719
+ parentEl = rootEl; // actualization
1720
+ capture();
1721
+ this._hideClone();
1722
+ dragOverEvent('revert');
1723
+ if (!Sortable.eventCanceled) {
1724
+ if (nextEl) {
1725
+ rootEl.insertBefore(dragEl, nextEl);
1726
+ } else {
1727
+ rootEl.appendChild(dragEl);
1728
+ }
1729
+ }
1730
+ return completed(true);
1731
+ }
1732
+ var elLastChild = lastChild(el, options.draggable);
1733
+ if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {
1734
+ // Insert to end of list
1735
+
1736
+ // If already at end of list: Do not insert
1737
+ if (elLastChild === dragEl) {
1738
+ return completed(false);
1739
+ }
1740
+
1741
+ // if there is a last element, it is the target
1742
+ if (elLastChild && el === evt.target) {
1743
+ target = elLastChild;
1744
+ }
1745
+ if (target) {
1746
+ targetRect = getRect(target);
1747
+ }
1748
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {
1749
+ capture();
1750
+ if (elLastChild && elLastChild.nextSibling) {
1751
+ // the last draggable element is not the last node
1752
+ el.insertBefore(dragEl, elLastChild.nextSibling);
1753
+ } else {
1754
+ el.appendChild(dragEl);
1755
+ }
1756
+ parentEl = el; // actualization
1757
+
1758
+ changed();
1759
+ return completed(true);
1760
+ }
1761
+ } else if (elLastChild && _ghostIsFirst(evt, vertical, this)) {
1762
+ // Insert to start of list
1763
+ var firstChild = getChild(el, 0, options, true);
1764
+ if (firstChild === dragEl) {
1765
+ return completed(false);
1766
+ }
1767
+ target = firstChild;
1768
+ targetRect = getRect(target);
1769
+ if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, false) !== false) {
1770
+ capture();
1771
+ el.insertBefore(dragEl, firstChild);
1772
+ parentEl = el; // actualization
1773
+
1774
+ changed();
1775
+ return completed(true);
1776
+ }
1777
+ } else if (target.parentNode === el) {
1778
+ targetRect = getRect(target);
1779
+ var direction = 0,
1780
+ targetBeforeFirstSwap,
1781
+ differentLevel = dragEl.parentNode !== el,
1782
+ differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical),
1783
+ side1 = vertical ? 'top' : 'left',
1784
+ scrolledPastTop = isScrolledPast(target, 'top', 'top') || isScrolledPast(dragEl, 'top', 'top'),
1785
+ scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;
1786
+ if (lastTarget !== target) {
1787
+ targetBeforeFirstSwap = targetRect[side1];
1788
+ pastFirstInvertThresh = false;
1789
+ isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;
1790
+ }
1791
+ direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);
1792
+ var sibling;
1793
+ if (direction !== 0) {
1794
+ // Check if target is beside dragEl in respective direction (ignoring hidden elements)
1795
+ var dragIndex = index(dragEl);
1796
+ do {
1797
+ dragIndex -= direction;
1798
+ sibling = parentEl.children[dragIndex];
1799
+ } while (sibling && (css(sibling, 'display') === 'none' || sibling === ghostEl));
1800
+ }
1801
+ // If dragEl is already beside target: Do not insert
1802
+ if (direction === 0 || sibling === target) {
1803
+ return completed(false);
1804
+ }
1805
+ lastTarget = target;
1806
+ lastDirection = direction;
1807
+ var nextSibling = target.nextElementSibling,
1808
+ after = false;
1809
+ after = direction === 1;
1810
+ var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);
1811
+ if (moveVector !== false) {
1812
+ if (moveVector === 1 || moveVector === -1) {
1813
+ after = moveVector === 1;
1814
+ }
1815
+ _silent = true;
1816
+ setTimeout(_unsilent, 30);
1817
+ capture();
1818
+ if (after && !nextSibling) {
1819
+ el.appendChild(dragEl);
1820
+ } else {
1821
+ target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
1822
+ }
1823
+
1824
+ // Undo chrome's scroll adjustment (has no effect on other browsers)
1825
+ if (scrolledPastTop) {
1826
+ scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);
1827
+ }
1828
+ parentEl = dragEl.parentNode; // actualization
1829
+
1830
+ // must be done before animation
1831
+ if (targetBeforeFirstSwap !== undefined && !isCircumstantialInvert) {
1832
+ targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);
1833
+ }
1834
+ changed();
1835
+ return completed(true);
1836
+ }
1837
+ }
1838
+ if (el.contains(dragEl)) {
1839
+ return completed(false);
1840
+ }
1841
+ }
1842
+ return false;
1843
+ },
1844
+ _ignoreWhileAnimating: null,
1845
+ _offMoveEvents: function _offMoveEvents() {
1846
+ off(document, 'mousemove', this._onTouchMove);
1847
+ off(document, 'touchmove', this._onTouchMove);
1848
+ off(document, 'pointermove', this._onTouchMove);
1849
+ off(document, 'dragover', nearestEmptyInsertDetectEvent);
1850
+ off(document, 'mousemove', nearestEmptyInsertDetectEvent);
1851
+ off(document, 'touchmove', nearestEmptyInsertDetectEvent);
1852
+ },
1853
+ _offUpEvents: function _offUpEvents() {
1854
+ var ownerDocument = this.el.ownerDocument;
1855
+ off(ownerDocument, 'mouseup', this._onDrop);
1856
+ off(ownerDocument, 'touchend', this._onDrop);
1857
+ off(ownerDocument, 'pointerup', this._onDrop);
1858
+ off(ownerDocument, 'touchcancel', this._onDrop);
1859
+ off(document, 'selectstart', this);
1860
+ },
1861
+ _onDrop: function _onDrop( /**Event*/evt) {
1862
+ var el = this.el,
1863
+ options = this.options;
1864
+
1865
+ // Get the index of the dragged element within its parent
1866
+ newIndex = index(dragEl);
1867
+ newDraggableIndex = index(dragEl, options.draggable);
1868
+ pluginEvent('drop', this, {
1869
+ evt: evt
1870
+ });
1871
+ parentEl = dragEl && dragEl.parentNode;
1872
+
1873
+ // Get again after plugin event
1874
+ newIndex = index(dragEl);
1875
+ newDraggableIndex = index(dragEl, options.draggable);
1876
+ if (Sortable.eventCanceled) {
1877
+ this._nulling();
1878
+ return;
1879
+ }
1880
+ awaitingDragStarted = false;
1881
+ isCircumstantialInvert = false;
1882
+ pastFirstInvertThresh = false;
1883
+ clearInterval(this._loopId);
1884
+ clearTimeout(this._dragStartTimer);
1885
+ _cancelNextTick(this.cloneId);
1886
+ _cancelNextTick(this._dragStartId);
1887
+
1888
+ // Unbind events
1889
+ if (this.nativeDraggable) {
1890
+ off(document, 'drop', this);
1891
+ off(el, 'dragstart', this._onDragStart);
1892
+ }
1893
+ this._offMoveEvents();
1894
+ this._offUpEvents();
1895
+ if (Safari) {
1896
+ css(document.body, 'user-select', '');
1897
+ }
1898
+ css(dragEl, 'transform', '');
1899
+ if (evt) {
1900
+ if (moved) {
1901
+ evt.cancelable && evt.preventDefault();
1902
+ !options.dropBubble && evt.stopPropagation();
1903
+ }
1904
+ ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);
1905
+ if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {
1906
+ // Remove clone(s)
1907
+ cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);
1908
+ }
1909
+ if (dragEl) {
1910
+ if (this.nativeDraggable) {
1911
+ off(dragEl, 'dragend', this);
1912
+ }
1913
+ _disableDraggable(dragEl);
1914
+ dragEl.style['will-change'] = '';
1915
+
1916
+ // Remove classes
1917
+ // ghostClass is added in dragStarted
1918
+ if (moved && !awaitingDragStarted) {
1919
+ toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);
1920
+ }
1921
+ toggleClass(dragEl, this.options.chosenClass, false);
1922
+
1923
+ // Drag stop event
1924
+ _dispatchEvent({
1925
+ sortable: this,
1926
+ name: 'unchoose',
1927
+ toEl: parentEl,
1928
+ newIndex: null,
1929
+ newDraggableIndex: null,
1930
+ originalEvent: evt
1931
+ });
1932
+ if (rootEl !== parentEl) {
1933
+ if (newIndex >= 0) {
1934
+ // Add event
1935
+ _dispatchEvent({
1936
+ rootEl: parentEl,
1937
+ name: 'add',
1938
+ toEl: parentEl,
1939
+ fromEl: rootEl,
1940
+ originalEvent: evt
1941
+ });
1942
+
1943
+ // Remove event
1944
+ _dispatchEvent({
1945
+ sortable: this,
1946
+ name: 'remove',
1947
+ toEl: parentEl,
1948
+ originalEvent: evt
1949
+ });
1950
+
1951
+ // drag from one list and drop into another
1952
+ _dispatchEvent({
1953
+ rootEl: parentEl,
1954
+ name: 'sort',
1955
+ toEl: parentEl,
1956
+ fromEl: rootEl,
1957
+ originalEvent: evt
1958
+ });
1959
+ _dispatchEvent({
1960
+ sortable: this,
1961
+ name: 'sort',
1962
+ toEl: parentEl,
1963
+ originalEvent: evt
1964
+ });
1965
+ }
1966
+ putSortable && putSortable.save();
1967
+ } else {
1968
+ if (newIndex !== oldIndex) {
1969
+ if (newIndex >= 0) {
1970
+ // drag & drop within the same list
1971
+ _dispatchEvent({
1972
+ sortable: this,
1973
+ name: 'update',
1974
+ toEl: parentEl,
1975
+ originalEvent: evt
1976
+ });
1977
+ _dispatchEvent({
1978
+ sortable: this,
1979
+ name: 'sort',
1980
+ toEl: parentEl,
1981
+ originalEvent: evt
1982
+ });
1983
+ }
1984
+ }
1985
+ }
1986
+ if (Sortable.active) {
1987
+ /* jshint eqnull:true */
1988
+ if (newIndex == null || newIndex === -1) {
1989
+ newIndex = oldIndex;
1990
+ newDraggableIndex = oldDraggableIndex;
1991
+ }
1992
+ _dispatchEvent({
1993
+ sortable: this,
1994
+ name: 'end',
1995
+ toEl: parentEl,
1996
+ originalEvent: evt
1997
+ });
1998
+
1999
+ // Save sorting
2000
+ this.save();
2001
+ }
2002
+ }
2003
+ }
2004
+ this._nulling();
2005
+ },
2006
+ _nulling: function _nulling() {
2007
+ pluginEvent('nulling', this);
2008
+ rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = cloneHidden = tapEvt = touchEvt = moved = newIndex = newDraggableIndex = oldIndex = oldDraggableIndex = lastTarget = lastDirection = putSortable = activeGroup = Sortable.dragged = Sortable.ghost = Sortable.clone = Sortable.active = null;
2009
+ savedInputChecked.forEach(function (el) {
2010
+ el.checked = true;
2011
+ });
2012
+ savedInputChecked.length = lastDx = lastDy = 0;
2013
+ },
2014
+ handleEvent: function handleEvent( /**Event*/evt) {
2015
+ switch (evt.type) {
2016
+ case 'drop':
2017
+ case 'dragend':
2018
+ this._onDrop(evt);
2019
+ break;
2020
+ case 'dragenter':
2021
+ case 'dragover':
2022
+ if (dragEl) {
2023
+ this._onDragOver(evt);
2024
+ _globalDragOver(evt);
2025
+ }
2026
+ break;
2027
+ case 'selectstart':
2028
+ evt.preventDefault();
2029
+ break;
2030
+ }
2031
+ },
2032
+ /**
2033
+ * Serializes the item into an array of string.
2034
+ * @returns {String[]}
2035
+ */
2036
+ toArray: function toArray() {
2037
+ var order = [],
2038
+ el,
2039
+ children = this.el.children,
2040
+ i = 0,
2041
+ n = children.length,
2042
+ options = this.options;
2043
+ for (; i < n; i++) {
2044
+ el = children[i];
2045
+ if (closest(el, options.draggable, this.el, false)) {
2046
+ order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));
2047
+ }
2048
+ }
2049
+ return order;
2050
+ },
2051
+ /**
2052
+ * Sorts the elements according to the array.
2053
+ * @param {String[]} order order of the items
2054
+ */
2055
+ sort: function sort(order, useAnimation) {
2056
+ var items = {},
2057
+ rootEl = this.el;
2058
+ this.toArray().forEach(function (id, i) {
2059
+ var el = rootEl.children[i];
2060
+ if (closest(el, this.options.draggable, rootEl, false)) {
2061
+ items[id] = el;
2062
+ }
2063
+ }, this);
2064
+ useAnimation && this.captureAnimationState();
2065
+ order.forEach(function (id) {
2066
+ if (items[id]) {
2067
+ rootEl.removeChild(items[id]);
2068
+ rootEl.appendChild(items[id]);
2069
+ }
2070
+ });
2071
+ useAnimation && this.animateAll();
2072
+ },
2073
+ /**
2074
+ * Save the current sorting
2075
+ */
2076
+ save: function save() {
2077
+ var store = this.options.store;
2078
+ store && store.set && store.set(this);
2079
+ },
2080
+ /**
2081
+ * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.
2082
+ * @param {HTMLElement} el
2083
+ * @param {String} [selector] default: `options.draggable`
2084
+ * @returns {HTMLElement|null}
2085
+ */
2086
+ closest: function closest$1(el, selector) {
2087
+ return closest(el, selector || this.options.draggable, this.el, false);
2088
+ },
2089
+ /**
2090
+ * Set/get option
2091
+ * @param {string} name
2092
+ * @param {*} [value]
2093
+ * @returns {*}
2094
+ */
2095
+ option: function option(name, value) {
2096
+ var options = this.options;
2097
+ if (value === void 0) {
2098
+ return options[name];
2099
+ } else {
2100
+ var modifiedValue = PluginManager.modifyOption(this, name, value);
2101
+ if (typeof modifiedValue !== 'undefined') {
2102
+ options[name] = modifiedValue;
2103
+ } else {
2104
+ options[name] = value;
2105
+ }
2106
+ if (name === 'group') {
2107
+ _prepareGroup(options);
2108
+ }
2109
+ }
2110
+ },
2111
+ /**
2112
+ * Destroy
2113
+ */
2114
+ destroy: function destroy() {
2115
+ pluginEvent('destroy', this);
2116
+ var el = this.el;
2117
+ el[expando] = null;
2118
+ off(el, 'mousedown', this._onTapStart);
2119
+ off(el, 'touchstart', this._onTapStart);
2120
+ off(el, 'pointerdown', this._onTapStart);
2121
+ if (this.nativeDraggable) {
2122
+ off(el, 'dragover', this);
2123
+ off(el, 'dragenter', this);
2124
+ }
2125
+ // Remove draggable attributes
2126
+ Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) {
2127
+ el.removeAttribute('draggable');
2128
+ });
2129
+ this._onDrop();
2130
+ this._disableDelayedDragEvents();
2131
+ sortables.splice(sortables.indexOf(this.el), 1);
2132
+ this.el = el = null;
2133
+ },
2134
+ _hideClone: function _hideClone() {
2135
+ if (!cloneHidden) {
2136
+ pluginEvent('hideClone', this);
2137
+ if (Sortable.eventCanceled) return;
2138
+ css(cloneEl, 'display', 'none');
2139
+ if (this.options.removeCloneOnHide && cloneEl.parentNode) {
2140
+ cloneEl.parentNode.removeChild(cloneEl);
2141
+ }
2142
+ cloneHidden = true;
2143
+ }
2144
+ },
2145
+ _showClone: function _showClone(putSortable) {
2146
+ if (putSortable.lastPutMode !== 'clone') {
2147
+ this._hideClone();
2148
+ return;
2149
+ }
2150
+ if (cloneHidden) {
2151
+ pluginEvent('showClone', this);
2152
+ if (Sortable.eventCanceled) return;
2153
+
2154
+ // show clone at dragEl or original position
2155
+ if (dragEl.parentNode == rootEl && !this.options.group.revertClone) {
2156
+ rootEl.insertBefore(cloneEl, dragEl);
2157
+ } else if (nextEl) {
2158
+ rootEl.insertBefore(cloneEl, nextEl);
2159
+ } else {
2160
+ rootEl.appendChild(cloneEl);
2161
+ }
2162
+ if (this.options.group.revertClone) {
2163
+ this.animate(dragEl, cloneEl);
2164
+ }
2165
+ css(cloneEl, 'display', '');
2166
+ cloneHidden = false;
2167
+ }
2168
+ }
2169
+ };
2170
+ function _globalDragOver( /**Event*/evt) {
2171
+ if (evt.dataTransfer) {
2172
+ evt.dataTransfer.dropEffect = 'move';
2173
+ }
2174
+ evt.cancelable && evt.preventDefault();
2175
+ }
2176
+ function _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {
2177
+ var evt,
2178
+ sortable = fromEl[expando],
2179
+ onMoveFn = sortable.options.onMove,
2180
+ retVal;
2181
+ // Support for new CustomEvent feature
2182
+ if (window.CustomEvent && !IE11OrLess && !Edge) {
2183
+ evt = new CustomEvent('move', {
2184
+ bubbles: true,
2185
+ cancelable: true
2186
+ });
2187
+ } else {
2188
+ evt = document.createEvent('Event');
2189
+ evt.initEvent('move', true, true);
2190
+ }
2191
+ evt.to = toEl;
2192
+ evt.from = fromEl;
2193
+ evt.dragged = dragEl;
2194
+ evt.draggedRect = dragRect;
2195
+ evt.related = targetEl || toEl;
2196
+ evt.relatedRect = targetRect || getRect(toEl);
2197
+ evt.willInsertAfter = willInsertAfter;
2198
+ evt.originalEvent = originalEvent;
2199
+ fromEl.dispatchEvent(evt);
2200
+ if (onMoveFn) {
2201
+ retVal = onMoveFn.call(sortable, evt, originalEvent);
2202
+ }
2203
+ return retVal;
2204
+ }
2205
+ function _disableDraggable(el) {
2206
+ el.draggable = false;
2207
+ }
2208
+ function _unsilent() {
2209
+ _silent = false;
2210
+ }
2211
+ function _ghostIsFirst(evt, vertical, sortable) {
2212
+ var firstElRect = getRect(getChild(sortable.el, 0, sortable.options, true));
2213
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
2214
+ var spacer = 10;
2215
+ return vertical ? evt.clientX < childContainingRect.left - spacer || evt.clientY < firstElRect.top && evt.clientX < firstElRect.right : evt.clientY < childContainingRect.top - spacer || evt.clientY < firstElRect.bottom && evt.clientX < firstElRect.left;
2216
+ }
2217
+ function _ghostIsLast(evt, vertical, sortable) {
2218
+ var lastElRect = getRect(lastChild(sortable.el, sortable.options.draggable));
2219
+ var childContainingRect = getChildContainingRectFromElement(sortable.el, sortable.options, ghostEl);
2220
+ var spacer = 10;
2221
+ return vertical ? evt.clientX > childContainingRect.right + spacer || evt.clientY > lastElRect.bottom && evt.clientX > lastElRect.left : evt.clientY > childContainingRect.bottom + spacer || evt.clientX > lastElRect.right && evt.clientY > lastElRect.top;
2222
+ }
2223
+ function _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {
2224
+ var mouseOnAxis = vertical ? evt.clientY : evt.clientX,
2225
+ targetLength = vertical ? targetRect.height : targetRect.width,
2226
+ targetS1 = vertical ? targetRect.top : targetRect.left,
2227
+ targetS2 = vertical ? targetRect.bottom : targetRect.right,
2228
+ invert = false;
2229
+ if (!invertSwap) {
2230
+ // Never invert or create dragEl shadow when target movemenet causes mouse to move past the end of regular swapThreshold
2231
+ if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {
2232
+ // multiplied only by swapThreshold because mouse will already be inside target by (1 - threshold) * targetLength / 2
2233
+ // check if past first invert threshold on side opposite of lastDirection
2234
+ if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {
2235
+ // past first invert threshold, do not restrict inverted threshold to dragEl shadow
2236
+ pastFirstInvertThresh = true;
2237
+ }
2238
+ if (!pastFirstInvertThresh) {
2239
+ // dragEl shadow (target move distance shadow)
2240
+ if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance // over dragEl shadow
2241
+ : mouseOnAxis > targetS2 - targetMoveDistance) {
2242
+ return -lastDirection;
2243
+ }
2244
+ } else {
2245
+ invert = true;
2246
+ }
2247
+ } else {
2248
+ // Regular
2249
+ if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {
2250
+ return _getInsertDirection(target);
2251
+ }
2252
+ }
2253
+ }
2254
+ invert = invert || invertSwap;
2255
+ if (invert) {
2256
+ // Invert of regular
2257
+ if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {
2258
+ return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;
2259
+ }
2260
+ }
2261
+ return 0;
2262
+ }
2263
+
2264
+ /**
2265
+ * Gets the direction dragEl must be swapped relative to target in order to make it
2266
+ * seem that dragEl has been "inserted" into that element's position
2267
+ * @param {HTMLElement} target The target whose position dragEl is being inserted at
2268
+ * @return {Number} Direction dragEl must be swapped
2269
+ */
2270
+ function _getInsertDirection(target) {
2271
+ if (index(dragEl) < index(target)) {
2272
+ return 1;
2273
+ } else {
2274
+ return -1;
2275
+ }
2276
+ }
2277
+
2278
+ /**
2279
+ * Generate id
2280
+ * @param {HTMLElement} el
2281
+ * @returns {String}
2282
+ * @private
2283
+ */
2284
+ function _generateId(el) {
2285
+ var str = el.tagName + el.className + el.src + el.href + el.textContent,
2286
+ i = str.length,
2287
+ sum = 0;
2288
+ while (i--) {
2289
+ sum += str.charCodeAt(i);
2290
+ }
2291
+ return sum.toString(36);
2292
+ }
2293
+ function _saveInputCheckedState(root) {
2294
+ savedInputChecked.length = 0;
2295
+ var inputs = root.getElementsByTagName('input');
2296
+ var idx = inputs.length;
2297
+ while (idx--) {
2298
+ var el = inputs[idx];
2299
+ el.checked && savedInputChecked.push(el);
2300
+ }
2301
+ }
2302
+ function _nextTick(fn) {
2303
+ return setTimeout(fn, 0);
2304
+ }
2305
+ function _cancelNextTick(id) {
2306
+ return clearTimeout(id);
2307
+ }
2308
+
2309
+ // Fixed #973:
2310
+ if (documentExists) {
2311
+ on(document, 'touchmove', function (evt) {
2312
+ if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {
2313
+ evt.preventDefault();
2314
+ }
2315
+ });
2316
+ }
2317
+
2318
+ // Export utils
2319
+ Sortable.utils = {
2320
+ on: on,
2321
+ off: off,
2322
+ css: css,
2323
+ find: find,
2324
+ is: function is(el, selector) {
2325
+ return !!closest(el, selector, el, false);
2326
+ },
2327
+ extend: extend,
2328
+ throttle: throttle,
2329
+ closest: closest,
2330
+ toggleClass: toggleClass,
2331
+ clone: clone,
2332
+ index: index,
2333
+ nextTick: _nextTick,
2334
+ cancelNextTick: _cancelNextTick,
2335
+ detectDirection: _detectDirection,
2336
+ getChild: getChild,
2337
+ expando: expando
2338
+ };
2339
+
2340
+ /**
2341
+ * Get the Sortable instance of an element
2342
+ * @param {HTMLElement} element The element
2343
+ * @return {Sortable|undefined} The instance of Sortable
2344
+ */
2345
+ Sortable.get = function (element) {
2346
+ return element[expando];
2347
+ };
2348
+
2349
+ /**
2350
+ * Mount a plugin to Sortable
2351
+ * @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted
2352
+ */
2353
+ Sortable.mount = function () {
2354
+ for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
2355
+ plugins[_key] = arguments[_key];
2356
+ }
2357
+ if (plugins[0].constructor === Array) plugins = plugins[0];
2358
+ plugins.forEach(function (plugin) {
2359
+ if (!plugin.prototype || !plugin.prototype.constructor) {
2360
+ throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(plugin));
2361
+ }
2362
+ if (plugin.utils) Sortable.utils = _objectSpread2(_objectSpread2({}, Sortable.utils), plugin.utils);
2363
+ PluginManager.mount(plugin);
2364
+ });
2365
+ };
2366
+
2367
+ /**
2368
+ * Create sortable instance
2369
+ * @param {HTMLElement} el
2370
+ * @param {Object} [options]
2371
+ */
2372
+ Sortable.create = function (el, options) {
2373
+ return new Sortable(el, options);
2374
+ };
2375
+
2376
+ // Export
2377
+ Sortable.version = version;
2378
+
2379
+ var autoScrolls = [],
2380
+ scrollEl,
2381
+ scrollRootEl,
2382
+ scrolling = false,
2383
+ lastAutoScrollX,
2384
+ lastAutoScrollY,
2385
+ touchEvt$1,
2386
+ pointerElemChangedInterval;
2387
+ function AutoScrollPlugin() {
2388
+ function AutoScroll() {
2389
+ this.defaults = {
2390
+ scroll: true,
2391
+ forceAutoScrollFallback: false,
2392
+ scrollSensitivity: 30,
2393
+ scrollSpeed: 10,
2394
+ bubbleScroll: true
2395
+ };
2396
+
2397
+ // Bind all private methods
2398
+ for (var fn in this) {
2399
+ if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
2400
+ this[fn] = this[fn].bind(this);
2401
+ }
2402
+ }
2403
+ }
2404
+ AutoScroll.prototype = {
2405
+ dragStarted: function dragStarted(_ref) {
2406
+ var originalEvent = _ref.originalEvent;
2407
+ if (this.sortable.nativeDraggable) {
2408
+ on(document, 'dragover', this._handleAutoScroll);
2409
+ } else {
2410
+ if (this.options.supportPointer) {
2411
+ on(document, 'pointermove', this._handleFallbackAutoScroll);
2412
+ } else if (originalEvent.touches) {
2413
+ on(document, 'touchmove', this._handleFallbackAutoScroll);
2414
+ } else {
2415
+ on(document, 'mousemove', this._handleFallbackAutoScroll);
2416
+ }
2417
+ }
2418
+ },
2419
+ dragOverCompleted: function dragOverCompleted(_ref2) {
2420
+ var originalEvent = _ref2.originalEvent;
2421
+ // For when bubbling is canceled and using fallback (fallback 'touchmove' always reached)
2422
+ if (!this.options.dragOverBubble && !originalEvent.rootEl) {
2423
+ this._handleAutoScroll(originalEvent);
2424
+ }
2425
+ },
2426
+ drop: function drop() {
2427
+ if (this.sortable.nativeDraggable) {
2428
+ off(document, 'dragover', this._handleAutoScroll);
2429
+ } else {
2430
+ off(document, 'pointermove', this._handleFallbackAutoScroll);
2431
+ off(document, 'touchmove', this._handleFallbackAutoScroll);
2432
+ off(document, 'mousemove', this._handleFallbackAutoScroll);
2433
+ }
2434
+ clearPointerElemChangedInterval();
2435
+ clearAutoScrolls();
2436
+ cancelThrottle();
2437
+ },
2438
+ nulling: function nulling() {
2439
+ touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;
2440
+ autoScrolls.length = 0;
2441
+ },
2442
+ _handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {
2443
+ this._handleAutoScroll(evt, true);
2444
+ },
2445
+ _handleAutoScroll: function _handleAutoScroll(evt, fallback) {
2446
+ var _this = this;
2447
+ var x = (evt.touches ? evt.touches[0] : evt).clientX,
2448
+ y = (evt.touches ? evt.touches[0] : evt).clientY,
2449
+ elem = document.elementFromPoint(x, y);
2450
+ touchEvt$1 = evt;
2451
+
2452
+ // IE does not seem to have native autoscroll,
2453
+ // Edge's autoscroll seems too conditional,
2454
+ // MACOS Safari does not have autoscroll,
2455
+ // Firefox and Chrome are good
2456
+ if (fallback || this.options.forceAutoScrollFallback || Edge || IE11OrLess || Safari) {
2457
+ autoScroll(evt, this.options, elem, fallback);
2458
+
2459
+ // Listener for pointer element change
2460
+ var ogElemScroller = getParentAutoScrollElement(elem, true);
2461
+ if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {
2462
+ pointerElemChangedInterval && clearPointerElemChangedInterval();
2463
+ // Detect for pointer elem change, emulating native DnD behaviour
2464
+ pointerElemChangedInterval = setInterval(function () {
2465
+ var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);
2466
+ if (newElem !== ogElemScroller) {
2467
+ ogElemScroller = newElem;
2468
+ clearAutoScrolls();
2469
+ }
2470
+ autoScroll(evt, _this.options, newElem, fallback);
2471
+ }, 10);
2472
+ lastAutoScrollX = x;
2473
+ lastAutoScrollY = y;
2474
+ }
2475
+ } else {
2476
+ // if DnD is enabled (and browser has good autoscrolling), first autoscroll will already scroll, so get parent autoscroll of first autoscroll
2477
+ if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {
2478
+ clearAutoScrolls();
2479
+ return;
2480
+ }
2481
+ autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);
2482
+ }
2483
+ }
2484
+ };
2485
+ return _extends(AutoScroll, {
2486
+ pluginName: 'scroll',
2487
+ initializeByDefault: true
2488
+ });
2489
+ }
2490
+ function clearAutoScrolls() {
2491
+ autoScrolls.forEach(function (autoScroll) {
2492
+ clearInterval(autoScroll.pid);
2493
+ });
2494
+ autoScrolls = [];
2495
+ }
2496
+ function clearPointerElemChangedInterval() {
2497
+ clearInterval(pointerElemChangedInterval);
2498
+ }
2499
+ var autoScroll = throttle(function (evt, options, rootEl, isFallback) {
2500
+ // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521
2501
+ if (!options.scroll) return;
2502
+ var x = (evt.touches ? evt.touches[0] : evt).clientX,
2503
+ y = (evt.touches ? evt.touches[0] : evt).clientY,
2504
+ sens = options.scrollSensitivity,
2505
+ speed = options.scrollSpeed,
2506
+ winScroller = getWindowScrollingElement();
2507
+ var scrollThisInstance = false,
2508
+ scrollCustomFn;
2509
+
2510
+ // New scroll root, set scrollEl
2511
+ if (scrollRootEl !== rootEl) {
2512
+ scrollRootEl = rootEl;
2513
+ clearAutoScrolls();
2514
+ scrollEl = options.scroll;
2515
+ scrollCustomFn = options.scrollFn;
2516
+ if (scrollEl === true) {
2517
+ scrollEl = getParentAutoScrollElement(rootEl, true);
2518
+ }
2519
+ }
2520
+ var layersOut = 0;
2521
+ var currentParent = scrollEl;
2522
+ do {
2523
+ var el = currentParent,
2524
+ rect = getRect(el),
2525
+ top = rect.top,
2526
+ bottom = rect.bottom,
2527
+ left = rect.left,
2528
+ right = rect.right,
2529
+ width = rect.width,
2530
+ height = rect.height,
2531
+ canScrollX = void 0,
2532
+ canScrollY = void 0,
2533
+ scrollWidth = el.scrollWidth,
2534
+ scrollHeight = el.scrollHeight,
2535
+ elCSS = css(el),
2536
+ scrollPosX = el.scrollLeft,
2537
+ scrollPosY = el.scrollTop;
2538
+ if (el === winScroller) {
2539
+ canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll' || elCSS.overflowX === 'visible');
2540
+ canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll' || elCSS.overflowY === 'visible');
2541
+ } else {
2542
+ canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll');
2543
+ canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll');
2544
+ }
2545
+ var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);
2546
+ var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);
2547
+ if (!autoScrolls[layersOut]) {
2548
+ for (var i = 0; i <= layersOut; i++) {
2549
+ if (!autoScrolls[i]) {
2550
+ autoScrolls[i] = {};
2551
+ }
2552
+ }
2553
+ }
2554
+ if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {
2555
+ autoScrolls[layersOut].el = el;
2556
+ autoScrolls[layersOut].vx = vx;
2557
+ autoScrolls[layersOut].vy = vy;
2558
+ clearInterval(autoScrolls[layersOut].pid);
2559
+ if (vx != 0 || vy != 0) {
2560
+ scrollThisInstance = true;
2561
+ /* jshint loopfunc:true */
2562
+ autoScrolls[layersOut].pid = setInterval(function () {
2563
+ // emulate drag over during autoscroll (fallback), emulating native DnD behaviour
2564
+ if (isFallback && this.layer === 0) {
2565
+ Sortable.active._onTouchMove(touchEvt$1); // To move ghost if it is positioned absolutely
2566
+ }
2567
+ var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;
2568
+ var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;
2569
+ if (typeof scrollCustomFn === 'function') {
2570
+ if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== 'continue') {
2571
+ return;
2572
+ }
2573
+ }
2574
+ scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);
2575
+ }.bind({
2576
+ layer: layersOut
2577
+ }), 24);
2578
+ }
2579
+ }
2580
+ layersOut++;
2581
+ } while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));
2582
+ scrolling = scrollThisInstance; // in case another function catches scrolling as false in between when it is not
2583
+ }, 30);
2584
+
2585
+ var drop = function drop(_ref) {
2586
+ var originalEvent = _ref.originalEvent,
2587
+ putSortable = _ref.putSortable,
2588
+ dragEl = _ref.dragEl,
2589
+ activeSortable = _ref.activeSortable,
2590
+ dispatchSortableEvent = _ref.dispatchSortableEvent,
2591
+ hideGhostForTarget = _ref.hideGhostForTarget,
2592
+ unhideGhostForTarget = _ref.unhideGhostForTarget;
2593
+ if (!originalEvent) return;
2594
+ var toSortable = putSortable || activeSortable;
2595
+ hideGhostForTarget();
2596
+ var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
2597
+ var target = document.elementFromPoint(touch.clientX, touch.clientY);
2598
+ unhideGhostForTarget();
2599
+ if (toSortable && !toSortable.el.contains(target)) {
2600
+ dispatchSortableEvent('spill');
2601
+ this.onSpill({
2602
+ dragEl: dragEl,
2603
+ putSortable: putSortable
2604
+ });
2605
+ }
2606
+ };
2607
+ function Revert() {}
2608
+ Revert.prototype = {
2609
+ startIndex: null,
2610
+ dragStart: function dragStart(_ref2) {
2611
+ var oldDraggableIndex = _ref2.oldDraggableIndex;
2612
+ this.startIndex = oldDraggableIndex;
2613
+ },
2614
+ onSpill: function onSpill(_ref3) {
2615
+ var dragEl = _ref3.dragEl,
2616
+ putSortable = _ref3.putSortable;
2617
+ this.sortable.captureAnimationState();
2618
+ if (putSortable) {
2619
+ putSortable.captureAnimationState();
2620
+ }
2621
+ var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);
2622
+ if (nextSibling) {
2623
+ this.sortable.el.insertBefore(dragEl, nextSibling);
2624
+ } else {
2625
+ this.sortable.el.appendChild(dragEl);
2626
+ }
2627
+ this.sortable.animateAll();
2628
+ if (putSortable) {
2629
+ putSortable.animateAll();
2630
+ }
2631
+ },
2632
+ drop: drop
2633
+ };
2634
+ _extends(Revert, {
2635
+ pluginName: 'revertOnSpill'
2636
+ });
2637
+ function Remove() {}
2638
+ Remove.prototype = {
2639
+ onSpill: function onSpill(_ref4) {
2640
+ var dragEl = _ref4.dragEl,
2641
+ putSortable = _ref4.putSortable;
2642
+ var parentSortable = putSortable || this.sortable;
2643
+ parentSortable.captureAnimationState();
2644
+ dragEl.parentNode && dragEl.parentNode.removeChild(dragEl);
2645
+ parentSortable.animateAll();
2646
+ },
2647
+ drop: drop
2648
+ };
2649
+ _extends(Remove, {
2650
+ pluginName: 'removeOnSpill'
2651
+ });
2652
+
2653
+ Sortable.mount(new AutoScrollPlugin());
2654
+ Sortable.mount(Remove, Revert);
2655
+
2656
+ /*!
2657
+ * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2658
+ * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
2659
+ * v2.13.0
2660
+ */
2661
+ const sortableComponentSet = new Set();
2662
+ const CSS = {
2663
+ ghostClass: "calcite-sortable--ghost",
2664
+ chosenClass: "calcite-sortable--chosen",
2665
+ dragClass: "calcite-sortable--drag",
2666
+ fallbackClass: "calcite-sortable--fallback",
2667
+ };
2668
+ /**
2669
+ * Helper to keep track of a SortableComponent. This should be called in the `connectedCallback` lifecycle method as well as any other method necessary to rebuild the sortable instance.
2670
+ *
2671
+ * @param {SortableComponent} component - The sortable component.
2672
+ */
2673
+ function connectSortableComponent(component) {
2674
+ if (dragActive(component)) {
2675
+ return;
2676
+ }
2677
+ disconnectSortableComponent(component);
2678
+ sortableComponentSet.add(component);
2679
+ const dataIdAttr = "id";
2680
+ const { group, handleSelector: handle, dragSelector: draggable } = component;
2681
+ component.sortable = Sortable.create(component.el, {
2682
+ dataIdAttr,
2683
+ ...CSS,
2684
+ ...(!!draggable && { draggable }),
2685
+ ...(!!group && {
2686
+ group: {
2687
+ name: group,
2688
+ ...(!!component.canPull && {
2689
+ pull: (to, from, dragEl, { newIndex, oldIndex }) => component.canPull({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
2690
+ }),
2691
+ ...(!!component.canPut && {
2692
+ put: (to, from, dragEl, { newIndex, oldIndex }) => component.canPut({ toEl: to.el, fromEl: from.el, dragEl, newIndex, oldIndex }),
2693
+ }),
2694
+ },
2695
+ }),
2696
+ handle,
2697
+ filter: `${handle}[disabled]`,
2698
+ onStart: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
2699
+ dragState.active = true;
2700
+ onGlobalDragStart();
2701
+ component.onDragStart({ fromEl, dragEl, toEl, newIndex, oldIndex });
2702
+ },
2703
+ onEnd: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
2704
+ dragState.active = false;
2705
+ onGlobalDragEnd();
2706
+ component.onDragEnd({ fromEl, dragEl, toEl, newIndex, oldIndex });
2707
+ },
2708
+ onSort: ({ from: fromEl, item: dragEl, to: toEl, newIndex, oldIndex }) => {
2709
+ component.onDragSort({ fromEl, dragEl, toEl, newIndex, oldIndex });
2710
+ },
2711
+ });
2712
+ }
2713
+ /**
2714
+ * Helper to remove track of a SortableComponent. This should be called in the `disconnectedCallback` lifecycle method.
2715
+ *
2716
+ * @param {SortableComponent} component - The sortable component.
2717
+ */
2718
+ function disconnectSortableComponent(component) {
2719
+ if (dragActive(component)) {
2720
+ return;
2721
+ }
2722
+ sortableComponentSet.delete(component);
2723
+ component.sortable?.destroy();
2724
+ component.sortable = null;
2725
+ }
2726
+ const dragState = { active: false };
2727
+ /**
2728
+ * Helper to determine if dragging is currently active.
2729
+ *
2730
+ * @param component The sortable component.
2731
+ * @returns {boolean} a boolean value.
2732
+ */
2733
+ function dragActive(component) {
2734
+ return component.dragEnabled && dragState.active;
2735
+ }
2736
+ function onGlobalDragStart() {
2737
+ Array.from(sortableComponentSet).forEach((component) => component.onGlobalDragStart());
2738
+ }
2739
+ function onGlobalDragEnd() {
2740
+ Array.from(sortableComponentSet).forEach((component) => component.onGlobalDragEnd());
2741
+ }
2742
+
2743
+ export { connectSortableComponent as c, disconnectSortableComponent as d };