@pine-ds/core 1.3.0-dev.0 → 1.3.0-dev.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (631) hide show
  1. package/components/closest.js +11 -0
  2. package/components/closest.js.map +1 -0
  3. package/components/index.js +33 -0
  4. package/components/index.js.map +1 -0
  5. package/components/index2.js +14 -0
  6. package/components/index2.js.map +1 -0
  7. package/components/pds-accordion.js +62 -0
  8. package/components/pds-accordion.js.map +1 -0
  9. package/components/pds-avatar.js +97 -0
  10. package/components/pds-avatar.js.map +1 -0
  11. package/components/pds-box.js +124 -0
  12. package/components/pds-box.js.map +1 -0
  13. package/components/pds-button.js +8 -0
  14. package/components/pds-button.js.map +1 -0
  15. package/components/pds-button2.js +78 -0
  16. package/components/pds-button2.js.map +1 -0
  17. package/components/pds-checkbox.js +8 -0
  18. package/components/pds-checkbox.js.map +1 -0
  19. package/components/pds-checkbox2.js +101 -0
  20. package/components/pds-checkbox2.js.map +1 -0
  21. package/components/pds-chip.js +72 -0
  22. package/components/pds-chip.js.map +1 -0
  23. package/components/pds-copytext.js +82 -0
  24. package/components/pds-copytext.js.map +1 -0
  25. package/components/pds-divider.js +54 -0
  26. package/components/pds-divider.js.map +1 -0
  27. package/components/pds-image.js +55 -0
  28. package/components/pds-image.js.map +1 -0
  29. package/components/pds-input.js +72 -0
  30. package/components/pds-input.js.map +1 -0
  31. package/components/pds-label.js +39 -0
  32. package/components/pds-label.js.map +1 -0
  33. package/components/pds-link.js +59 -0
  34. package/components/pds-link.js.map +1 -0
  35. package/components/pds-loader.js +68 -0
  36. package/components/pds-loader.js.map +1 -0
  37. package/components/pds-progress.js +49 -0
  38. package/components/pds-progress.js.map +1 -0
  39. package/components/pds-radio.js +78 -0
  40. package/components/pds-radio.js.map +1 -0
  41. package/components/pds-row.js +72 -0
  42. package/components/pds-row.js.map +1 -0
  43. package/components/pds-sortable-item.js +52 -0
  44. package/components/pds-sortable-item.js.map +1 -0
  45. package/components/pds-sortable.js +2722 -0
  46. package/components/pds-sortable.js.map +1 -0
  47. package/components/pds-switch.js +82 -0
  48. package/components/pds-switch.js.map +1 -0
  49. package/components/pds-tab.js +53 -0
  50. package/components/pds-tab.js.map +1 -0
  51. package/components/pds-table-body.js +36 -0
  52. package/components/pds-table-body.js.map +1 -0
  53. package/components/pds-table-cell.js +8 -0
  54. package/components/pds-table-cell.js.map +1 -0
  55. package/components/pds-table-cell2.js +72 -0
  56. package/components/pds-table-cell2.js.map +1 -0
  57. package/components/pds-table-head-cell.js +8 -0
  58. package/components/pds-table-head-cell.js.map +1 -0
  59. package/components/pds-table-head-cell2.js +92 -0
  60. package/components/pds-table-head-cell2.js.map +1 -0
  61. package/components/pds-table-head.js +84 -0
  62. package/components/pds-table-head.js.map +1 -0
  63. package/components/pds-table-row.js +95 -0
  64. package/components/pds-table-row.js.map +1 -0
  65. package/components/pds-table.js +124 -0
  66. package/components/pds-table.js.map +1 -0
  67. package/components/pds-tabpanel.js +45 -0
  68. package/components/pds-tabpanel.js.map +1 -0
  69. package/components/pds-tabs.js +119 -0
  70. package/components/pds-tabs.js.map +1 -0
  71. package/components/pds-textarea.js +82 -0
  72. package/components/pds-textarea.js.map +1 -0
  73. package/components/pds-tooltip.js +178 -0
  74. package/components/pds-tooltip.js.map +1 -0
  75. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  76. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  77. package/dist/cjs/closest-b45138d3.js +13 -0
  78. package/dist/cjs/closest-b45138d3.js.map +1 -0
  79. package/dist/{pine-core/index-cccc19b7.js → cjs/index-11f95019.js} +220 -1563
  80. package/dist/cjs/index-11f95019.js.map +1 -0
  81. package/dist/cjs/index-dd191bbe.js +24 -0
  82. package/dist/cjs/index-dd191bbe.js.map +1 -0
  83. package/dist/cjs/index.cjs.js +6 -0
  84. package/dist/cjs/index.cjs.js.map +1 -0
  85. package/dist/cjs/loader.cjs.js +17 -0
  86. package/dist/cjs/loader.cjs.js.map +1 -0
  87. package/dist/cjs/pds-accordion.cjs.entry.js +43 -0
  88. package/dist/cjs/pds-accordion.cjs.entry.js.map +1 -0
  89. package/dist/cjs/pds-avatar.cjs.entry.js +75 -0
  90. package/dist/cjs/pds-avatar.cjs.entry.js.map +1 -0
  91. package/dist/cjs/pds-box.cjs.entry.js +82 -0
  92. package/dist/cjs/pds-box.cjs.entry.js.map +1 -0
  93. package/dist/cjs/pds-button.cjs.entry.js +59 -0
  94. package/dist/cjs/pds-button.cjs.entry.js.map +1 -0
  95. package/dist/cjs/pds-checkbox.cjs.entry.js +75 -0
  96. package/dist/cjs/pds-checkbox.cjs.entry.js.map +1 -0
  97. package/dist/cjs/pds-chip.cjs.entry.js +51 -0
  98. package/dist/cjs/pds-chip.cjs.entry.js.map +1 -0
  99. package/dist/cjs/pds-copytext.cjs.entry.js +56 -0
  100. package/dist/cjs/pds-copytext.cjs.entry.js.map +1 -0
  101. package/dist/cjs/pds-divider.cjs.entry.js +36 -0
  102. package/dist/cjs/pds-divider.cjs.entry.js.map +1 -0
  103. package/dist/cjs/pds-image.cjs.entry.js +32 -0
  104. package/dist/cjs/pds-image.cjs.entry.js.map +1 -0
  105. package/dist/cjs/pds-input.cjs.entry.js +45 -0
  106. package/dist/cjs/pds-input.cjs.entry.js.map +1 -0
  107. package/dist/cjs/pds-label-7acec6ab.js +44 -0
  108. package/dist/cjs/pds-label-7acec6ab.js.map +1 -0
  109. package/dist/cjs/pds-link.cjs.entry.js +39 -0
  110. package/dist/cjs/pds-link.cjs.entry.js.map +1 -0
  111. package/dist/cjs/pds-loader.cjs.entry.js +49 -0
  112. package/dist/cjs/pds-loader.cjs.entry.js.map +1 -0
  113. package/dist/cjs/pds-progress.cjs.entry.js +28 -0
  114. package/dist/cjs/pds-progress.cjs.entry.js.map +1 -0
  115. package/dist/cjs/pds-radio.cjs.entry.js +54 -0
  116. package/dist/cjs/pds-radio.cjs.entry.js.map +1 -0
  117. package/dist/cjs/pds-row.cjs.entry.js +51 -0
  118. package/dist/cjs/pds-row.cjs.entry.js.map +1 -0
  119. package/dist/cjs/pds-sortable-item.cjs.entry.js +35 -0
  120. package/dist/cjs/pds-sortable-item.cjs.entry.js.map +1 -0
  121. package/dist/cjs/pds-sortable.cjs.entry.js +2704 -0
  122. package/dist/cjs/pds-sortable.cjs.entry.js.map +1 -0
  123. package/dist/cjs/pds-switch.cjs.entry.js +56 -0
  124. package/dist/cjs/pds-switch.cjs.entry.js.map +1 -0
  125. package/dist/cjs/pds-tab.cjs.entry.js +34 -0
  126. package/dist/cjs/pds-tab.cjs.entry.js.map +1 -0
  127. package/dist/cjs/pds-table-body.cjs.entry.js +22 -0
  128. package/dist/cjs/pds-table-body.cjs.entry.js.map +1 -0
  129. package/dist/cjs/pds-table-cell.cjs.entry.js +58 -0
  130. package/dist/cjs/pds-table-cell.cjs.entry.js.map +1 -0
  131. package/dist/cjs/pds-table-head-cell.cjs.entry.js +76 -0
  132. package/dist/cjs/pds-table-head-cell.cjs.entry.js.map +1 -0
  133. package/dist/cjs/pds-table-head.cjs.entry.js +55 -0
  134. package/dist/cjs/pds-table-head.cjs.entry.js.map +1 -0
  135. package/dist/cjs/pds-table-row.cjs.entry.js +66 -0
  136. package/dist/cjs/pds-table-row.cjs.entry.js.map +1 -0
  137. package/dist/cjs/pds-table.cjs.entry.js +102 -0
  138. package/dist/cjs/pds-table.cjs.entry.js.map +1 -0
  139. package/dist/cjs/pds-tabpanel.cjs.entry.js +27 -0
  140. package/dist/cjs/pds-tabpanel.cjs.entry.js.map +1 -0
  141. package/dist/cjs/pds-tabs.cjs.entry.js +99 -0
  142. package/dist/cjs/pds-tabs.cjs.entry.js.map +1 -0
  143. package/dist/cjs/pds-textarea.cjs.entry.js +55 -0
  144. package/dist/cjs/pds-textarea.cjs.entry.js.map +1 -0
  145. package/dist/cjs/pds-tooltip.cjs.entry.js +152 -0
  146. package/dist/cjs/pds-tooltip.cjs.entry.js.map +1 -0
  147. package/dist/cjs/pine-core.cjs.js +27 -0
  148. package/dist/cjs/pine-core.cjs.js.map +1 -0
  149. package/dist/collection/collection-manifest.json +40 -0
  150. package/dist/collection/components/_internal/pds-label/pds-label.js +7 -0
  151. package/dist/collection/components/_internal/pds-label/pds-label.js.map +1 -0
  152. package/dist/collection/components/pds-accordion/pds-accordion.css +65 -0
  153. package/dist/collection/components/pds-accordion/pds-accordion.js +94 -0
  154. package/dist/collection/components/pds-accordion/pds-accordion.js.map +1 -0
  155. package/dist/collection/components/pds-accordion/stories/pds-accordion.stories.js +34 -0
  156. package/dist/collection/components/pds-avatar/pds-avatar.css +65 -0
  157. package/dist/collection/components/pds-avatar/pds-avatar.js +224 -0
  158. package/dist/collection/components/pds-avatar/pds-avatar.js.map +1 -0
  159. package/dist/collection/components/pds-avatar/stories/pds-avatar.stories.js +65 -0
  160. package/dist/collection/components/pds-box/pds-box.css +1234 -0
  161. package/dist/collection/components/pds-box/pds-box.js +678 -0
  162. package/dist/collection/components/pds-box/pds-box.js.map +1 -0
  163. package/dist/collection/components/pds-box/stories/pds-box.stories.js +50 -0
  164. package/dist/collection/components/pds-button/pds-button.css +131 -0
  165. package/dist/collection/components/pds-button/pds-button.js +193 -0
  166. package/dist/collection/components/pds-button/pds-button.js.map +1 -0
  167. package/dist/collection/components/pds-button/stories/pds-button.stories.js +66 -0
  168. package/dist/collection/components/pds-checkbox/checkbox-interface.js +2 -0
  169. package/dist/collection/components/pds-checkbox/checkbox-interface.js.map +1 -0
  170. package/dist/collection/components/pds-checkbox/pds-checkbox.css +135 -0
  171. package/dist/collection/components/pds-checkbox/pds-checkbox.js +330 -0
  172. package/dist/collection/components/pds-checkbox/pds-checkbox.js.map +1 -0
  173. package/dist/collection/components/pds-checkbox/stories/pds-checkbox.stories.js +82 -0
  174. package/dist/collection/components/pds-chip/pds-chip.css +239 -0
  175. package/dist/collection/components/pds-chip/pds-chip.js +189 -0
  176. package/dist/collection/components/pds-chip/pds-chip.js.map +1 -0
  177. package/dist/collection/components/pds-chip/stories/pds-chip.stories.js +79 -0
  178. package/dist/collection/components/pds-copytext/pds-copytext.css +87 -0
  179. package/dist/collection/components/pds-copytext/pds-copytext.js +173 -0
  180. package/dist/collection/components/pds-copytext/pds-copytext.js.map +1 -0
  181. package/dist/collection/components/pds-copytext/stories/pds-copytext.stories.js +57 -0
  182. package/dist/collection/components/pds-divider/pds-divider.css +92 -0
  183. package/dist/collection/components/pds-divider/pds-divider.js +94 -0
  184. package/dist/collection/components/pds-divider/pds-divider.js.map +1 -0
  185. package/dist/collection/components/pds-divider/stories/pds-divider.stories.js +25 -0
  186. package/dist/collection/components/pds-icon/stories/pds-icon.stories.js +16 -0
  187. package/dist/collection/components/pds-image/pds-image.css +13 -0
  188. package/dist/collection/components/pds-image/pds-image.js +173 -0
  189. package/dist/collection/components/pds-image/pds-image.js.map +1 -0
  190. package/dist/collection/components/pds-image/stories/pds-image.stories.js +35 -0
  191. package/dist/collection/components/pds-input/pds-input.css +92 -0
  192. package/dist/collection/components/pds-input/pds-input.js +279 -0
  193. package/dist/collection/components/pds-input/pds-input.js.map +1 -0
  194. package/dist/collection/components/pds-input/stories/pds-input.stories.js +110 -0
  195. package/dist/collection/components/pds-link/pds-link.css +68 -0
  196. package/dist/collection/components/pds-link/pds-link.js +140 -0
  197. package/dist/collection/components/pds-link/pds-link.js.map +1 -0
  198. package/dist/collection/components/pds-link/stories/pds-link.stories.js +49 -0
  199. package/dist/collection/components/pds-loader/pds-loader.css +93 -0
  200. package/dist/collection/components/pds-loader/pds-loader.js +127 -0
  201. package/dist/collection/components/pds-loader/pds-loader.js.map +1 -0
  202. package/dist/collection/components/pds-loader/stories/pds-loader.stories.js +36 -0
  203. package/dist/collection/components/pds-progress/pds-progress.css +79 -0
  204. package/dist/collection/components/pds-progress/pds-progress.js +148 -0
  205. package/dist/collection/components/pds-progress/pds-progress.js.map +1 -0
  206. package/dist/collection/components/pds-progress/stories/pds-progress.stories.js +65 -0
  207. package/dist/collection/components/pds-radio/pds-radio.css +104 -0
  208. package/dist/collection/components/pds-radio/pds-radio.js +261 -0
  209. package/dist/collection/components/pds-radio/pds-radio.js.map +1 -0
  210. package/dist/collection/components/pds-radio/stories/pds-radio.stories.js +71 -0
  211. package/dist/collection/components/pds-row/pds-row.css +78 -0
  212. package/dist/collection/components/pds-row/pds-row.js +186 -0
  213. package/dist/collection/components/pds-row/pds-row.js.map +1 -0
  214. package/dist/collection/components/pds-row/stories/pds-row.stories.js +75 -0
  215. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.css +63 -0
  216. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js +100 -0
  217. package/dist/collection/components/pds-sortable/pds-sortable-item/pds-sortable-item.js.map +1 -0
  218. package/dist/collection/components/pds-sortable/pds-sortable-item/stories/pds-sortable-item.stories.js +24 -0
  219. package/dist/collection/components/pds-sortable/pds-sortable.css +10 -0
  220. package/dist/collection/components/pds-sortable/pds-sortable.js +150 -0
  221. package/dist/collection/components/pds-sortable/pds-sortable.js.map +1 -0
  222. package/dist/collection/components/pds-sortable/sortable-interface.js +2 -0
  223. package/dist/collection/components/pds-sortable/sortable-interface.js.map +1 -0
  224. package/dist/collection/components/pds-sortable/stories/pds-sortable.stories.js +130 -0
  225. package/dist/collection/components/pds-switch/pds-switch.css +136 -0
  226. package/dist/collection/components/pds-switch/pds-switch.js +277 -0
  227. package/dist/collection/components/pds-switch/pds-switch.js.map +1 -0
  228. package/dist/collection/components/pds-switch/stories/pds-switch.stories.js +102 -0
  229. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.css +5 -0
  230. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js +19 -0
  231. package/dist/collection/components/pds-table/pds-table-body/pds-table-body.js.map +1 -0
  232. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.css +45 -0
  233. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js +83 -0
  234. package/dist/collection/components/pds-table/pds-table-cell/pds-table-cell.js.map +1 -0
  235. package/dist/collection/components/pds-table/pds-table-cell/stories/pds-table-cell.stories.js +26 -0
  236. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.css +18 -0
  237. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js +109 -0
  238. package/dist/collection/components/pds-table/pds-table-head/pds-table-head.js.map +1 -0
  239. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.css +54 -0
  240. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js +120 -0
  241. package/dist/collection/components/pds-table/pds-table-head-cell/pds-table-head-cell.js.map +1 -0
  242. package/dist/collection/components/pds-table/pds-table-head-cell/stories/pds-table-head-cell.stories.js +24 -0
  243. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.css +22 -0
  244. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js +120 -0
  245. package/dist/collection/components/pds-table/pds-table-row/pds-table-row.js.map +1 -0
  246. package/dist/collection/components/pds-table/pds-table-row/stories/pds-table-row.stories.js +26 -0
  247. package/dist/collection/components/pds-table/pds-table.css +27 -0
  248. package/dist/collection/components/pds-table/pds-table.js +248 -0
  249. package/dist/collection/components/pds-table/pds-table.js.map +1 -0
  250. package/dist/collection/components/pds-table/stories/pds-table.stories.js +227 -0
  251. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.css +160 -0
  252. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js +154 -0
  253. package/dist/collection/components/pds-tabs/pds-tab/pds-tab.js.map +1 -0
  254. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.css +12 -0
  255. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js +107 -0
  256. package/dist/collection/components/pds-tabs/pds-tabpanel/pds-tabpanel.js.map +1 -0
  257. package/dist/collection/components/pds-tabs/pds-tabs.css +29 -0
  258. package/dist/collection/components/pds-tabs/pds-tabs.js +209 -0
  259. package/dist/collection/components/pds-tabs/pds-tabs.js.map +1 -0
  260. package/dist/collection/components/pds-tabs/stories/pds-tabs.stories.js +63 -0
  261. package/dist/collection/components/pds-textarea/pds-textarea.css +88 -0
  262. package/dist/collection/components/pds-textarea/pds-textarea.js +303 -0
  263. package/dist/collection/components/pds-textarea/pds-textarea.js.map +1 -0
  264. package/dist/collection/components/pds-textarea/stories/pds-textarea.stories.js +111 -0
  265. package/dist/collection/components/pds-textarea/textarea-interface.js +2 -0
  266. package/dist/collection/components/pds-textarea/textarea-interface.js.map +1 -0
  267. package/dist/collection/components/pds-tooltip/pds-tooltip.css +147 -0
  268. package/dist/collection/components/pds-tooltip/pds-tooltip.js +287 -0
  269. package/dist/collection/components/pds-tooltip/pds-tooltip.js.map +1 -0
  270. package/dist/collection/components/pds-tooltip/stories/pds-tooltip.stories.js +103 -0
  271. package/dist/collection/global/pine-ui-global.js +2 -0
  272. package/dist/collection/global/pine-ui-global.js.map +1 -0
  273. package/dist/collection/index.js +2 -0
  274. package/dist/collection/index.js.map +1 -0
  275. package/dist/collection/stories/_helpers/index.js +15 -0
  276. package/dist/collection/stories/_helpers/index.js.map +1 -0
  277. package/dist/collection/utils/closest.js +8 -0
  278. package/dist/collection/utils/closest.js.map +1 -0
  279. package/dist/collection/utils/form.js +28 -0
  280. package/dist/collection/utils/form.js.map +1 -0
  281. package/dist/collection/utils/overlay.js +68 -0
  282. package/dist/collection/utils/overlay.js.map +1 -0
  283. package/dist/collection/utils/types.js +2 -0
  284. package/dist/collection/utils/types.js.map +1 -0
  285. package/dist/collection/utils/utils.js +7 -0
  286. package/dist/collection/utils/utils.js.map +1 -0
  287. package/dist/docs.json +1 -1
  288. package/dist/esm/index-b8872c16.js +14 -0
  289. package/dist/esm/index-b8872c16.js.map +1 -0
  290. package/dist/esm/index-cd2796be.js +2811 -0
  291. package/dist/esm/index-cd2796be.js.map +1 -0
  292. package/dist/esm/index.js +3 -0
  293. package/dist/esm/index.js.map +1 -0
  294. package/dist/esm/loader.js +13 -0
  295. package/dist/esm/loader.js.map +1 -0
  296. package/dist/{pine-core → esm}/pds-accordion.entry.js +5 -4
  297. package/dist/esm/pds-accordion.entry.js.map +1 -0
  298. package/dist/{pine-core → esm}/pds-avatar.entry.js +5 -4
  299. package/dist/esm/pds-avatar.entry.js.map +1 -0
  300. package/dist/esm/pds-box.entry.js +78 -0
  301. package/dist/esm/pds-box.entry.js.map +1 -0
  302. package/dist/{pine-core → esm}/pds-button.entry.js +5 -7
  303. package/dist/esm/pds-button.entry.js.map +1 -0
  304. package/dist/{pine-core → esm}/pds-checkbox.entry.js +5 -4
  305. package/dist/esm/pds-checkbox.entry.js.map +1 -0
  306. package/dist/esm/pds-chip.entry.js +47 -0
  307. package/dist/esm/pds-chip.entry.js.map +1 -0
  308. package/dist/{pine-core → esm}/pds-copytext.entry.js +5 -4
  309. package/dist/esm/pds-copytext.entry.js.map +1 -0
  310. package/dist/esm/pds-divider.entry.js +32 -0
  311. package/dist/esm/pds-divider.entry.js.map +1 -0
  312. package/dist/{pine-core → esm}/pds-image.entry.js +3 -2
  313. package/dist/esm/pds-image.entry.js.map +1 -0
  314. package/dist/{pine-core → esm}/pds-input.entry.js +5 -4
  315. package/dist/esm/pds-input.entry.js.map +1 -0
  316. package/dist/{pine-core/pds-label-7201663d.js → esm/pds-label-7abc6d85.js} +2 -2
  317. package/dist/{pine-core/pds-label-7201663d.js.map → esm/pds-label-7abc6d85.js.map} +1 -1
  318. package/dist/{pine-core → esm}/pds-link.entry.js +5 -4
  319. package/dist/esm/pds-link.entry.js.map +1 -0
  320. package/dist/esm/pds-loader.entry.js +45 -0
  321. package/dist/esm/pds-loader.entry.js.map +1 -0
  322. package/dist/esm/pds-progress.entry.js +24 -0
  323. package/dist/esm/pds-progress.entry.js.map +1 -0
  324. package/dist/{pine-core → esm}/pds-radio.entry.js +5 -4
  325. package/dist/esm/pds-radio.entry.js.map +1 -0
  326. package/dist/esm/pds-row.entry.js +47 -0
  327. package/dist/esm/pds-row.entry.js.map +1 -0
  328. package/dist/esm/pds-sortable-item.entry.js +31 -0
  329. package/dist/esm/pds-sortable-item.entry.js.map +1 -0
  330. package/dist/{pine-core → esm}/pds-sortable.entry.js +4 -704
  331. package/dist/esm/pds-sortable.entry.js.map +1 -0
  332. package/dist/{pine-core → esm}/pds-switch.entry.js +5 -4
  333. package/dist/esm/pds-switch.entry.js.map +1 -0
  334. package/dist/esm/pds-tab.entry.js +30 -0
  335. package/dist/esm/pds-tab.entry.js.map +1 -0
  336. package/dist/{pine-core → esm}/pds-table-body.entry.js +3 -2
  337. package/dist/esm/pds-table-body.entry.js.map +1 -0
  338. package/dist/{pine-core → esm}/pds-table-cell.entry.js +4 -3
  339. package/dist/esm/pds-table-cell.entry.js.map +1 -0
  340. package/dist/{pine-core → esm}/pds-table-head-cell.entry.js +5 -4
  341. package/dist/esm/pds-table-head-cell.entry.js.map +1 -0
  342. package/dist/{pine-core → esm}/pds-table-head.entry.js +4 -3
  343. package/dist/esm/pds-table-head.entry.js.map +1 -0
  344. package/dist/{pine-core → esm}/pds-table-row.entry.js +4 -3
  345. package/dist/esm/pds-table-row.entry.js.map +1 -0
  346. package/dist/{pine-core → esm}/pds-table.entry.js +4 -3
  347. package/dist/esm/pds-table.entry.js.map +1 -0
  348. package/dist/{pine-core → esm}/pds-tabpanel.entry.js +3 -2
  349. package/dist/esm/pds-tabpanel.entry.js.map +1 -0
  350. package/dist/{pine-core → esm}/pds-tabs.entry.js +4 -3
  351. package/dist/esm/pds-tabs.entry.js.map +1 -0
  352. package/dist/{pine-core → esm}/pds-textarea.entry.js +5 -4
  353. package/dist/esm/pds-textarea.entry.js.map +1 -0
  354. package/dist/{pine-core → esm}/pds-tooltip.entry.js +4 -3
  355. package/dist/esm/pds-tooltip.entry.js.map +1 -0
  356. package/dist/esm/pine-core.js +22 -0
  357. package/dist/esm/pine-core.js.map +1 -0
  358. package/dist/esm/polyfills/core-js.js +11 -0
  359. package/dist/esm/polyfills/dom.js +79 -0
  360. package/dist/esm/polyfills/es5-html-element.js +1 -0
  361. package/dist/esm/polyfills/index.js +34 -0
  362. package/dist/esm/polyfills/system.js +6 -0
  363. package/dist/esm-es5/app-globals-0f993ce5.js +2 -0
  364. package/dist/esm-es5/app-globals-0f993ce5.js.map +1 -0
  365. package/dist/esm-es5/closest-d2d192be.js +2 -0
  366. package/dist/esm-es5/closest-d2d192be.js.map +1 -0
  367. package/dist/esm-es5/index-b8872c16.js +2 -0
  368. package/dist/esm-es5/index-b8872c16.js.map +1 -0
  369. package/dist/esm-es5/index-cd2796be.js +3 -0
  370. package/dist/esm-es5/index-cd2796be.js.map +1 -0
  371. package/dist/esm-es5/index.js +2 -0
  372. package/dist/esm-es5/index.js.map +1 -0
  373. package/dist/esm-es5/loader.js +2 -0
  374. package/dist/esm-es5/loader.js.map +1 -0
  375. package/dist/esm-es5/pds-accordion.entry.js +2 -0
  376. package/dist/esm-es5/pds-accordion.entry.js.map +1 -0
  377. package/dist/esm-es5/pds-avatar.entry.js +2 -0
  378. package/dist/esm-es5/pds-avatar.entry.js.map +1 -0
  379. package/dist/esm-es5/pds-box.entry.js +2 -0
  380. package/dist/esm-es5/pds-box.entry.js.map +1 -0
  381. package/dist/esm-es5/pds-button.entry.js +2 -0
  382. package/dist/esm-es5/pds-button.entry.js.map +1 -0
  383. package/dist/esm-es5/pds-checkbox.entry.js +2 -0
  384. package/dist/esm-es5/pds-checkbox.entry.js.map +1 -0
  385. package/dist/esm-es5/pds-chip.entry.js +2 -0
  386. package/dist/esm-es5/pds-chip.entry.js.map +1 -0
  387. package/dist/esm-es5/pds-copytext.entry.js +2 -0
  388. package/dist/esm-es5/pds-copytext.entry.js.map +1 -0
  389. package/dist/esm-es5/pds-divider.entry.js +2 -0
  390. package/dist/esm-es5/pds-divider.entry.js.map +1 -0
  391. package/dist/esm-es5/pds-image.entry.js +2 -0
  392. package/dist/esm-es5/pds-image.entry.js.map +1 -0
  393. package/dist/esm-es5/pds-input.entry.js +2 -0
  394. package/dist/esm-es5/pds-input.entry.js.map +1 -0
  395. package/dist/esm-es5/pds-label-7abc6d85.js +2 -0
  396. package/dist/esm-es5/pds-label-7abc6d85.js.map +1 -0
  397. package/dist/esm-es5/pds-link.entry.js +2 -0
  398. package/dist/esm-es5/pds-link.entry.js.map +1 -0
  399. package/dist/esm-es5/pds-loader.entry.js +2 -0
  400. package/dist/esm-es5/pds-loader.entry.js.map +1 -0
  401. package/dist/esm-es5/pds-progress.entry.js +2 -0
  402. package/dist/esm-es5/pds-progress.entry.js.map +1 -0
  403. package/dist/esm-es5/pds-radio.entry.js +2 -0
  404. package/dist/esm-es5/pds-radio.entry.js.map +1 -0
  405. package/dist/esm-es5/pds-row.entry.js +2 -0
  406. package/dist/esm-es5/pds-row.entry.js.map +1 -0
  407. package/dist/esm-es5/pds-sortable-item.entry.js +2 -0
  408. package/dist/esm-es5/pds-sortable-item.entry.js.map +1 -0
  409. package/dist/esm-es5/pds-sortable.entry.js +8 -0
  410. package/dist/esm-es5/pds-sortable.entry.js.map +1 -0
  411. package/dist/esm-es5/pds-switch.entry.js +2 -0
  412. package/dist/esm-es5/pds-switch.entry.js.map +1 -0
  413. package/dist/esm-es5/pds-tab.entry.js +2 -0
  414. package/dist/esm-es5/pds-tab.entry.js.map +1 -0
  415. package/dist/esm-es5/pds-table-body.entry.js +2 -0
  416. package/dist/esm-es5/pds-table-body.entry.js.map +1 -0
  417. package/dist/esm-es5/pds-table-cell.entry.js +2 -0
  418. package/dist/esm-es5/pds-table-cell.entry.js.map +1 -0
  419. package/dist/esm-es5/pds-table-head-cell.entry.js +2 -0
  420. package/dist/esm-es5/pds-table-head-cell.entry.js.map +1 -0
  421. package/dist/esm-es5/pds-table-head.entry.js +2 -0
  422. package/dist/esm-es5/pds-table-head.entry.js.map +1 -0
  423. package/dist/esm-es5/pds-table-row.entry.js +2 -0
  424. package/dist/esm-es5/pds-table-row.entry.js.map +1 -0
  425. package/dist/esm-es5/pds-table.entry.js +2 -0
  426. package/dist/{pine-core → esm-es5}/pds-table.entry.js.map +1 -1
  427. package/dist/esm-es5/pds-tabpanel.entry.js +2 -0
  428. package/dist/esm-es5/pds-tabpanel.entry.js.map +1 -0
  429. package/dist/esm-es5/pds-tabs.entry.js +2 -0
  430. package/dist/esm-es5/pds-tabs.entry.js.map +1 -0
  431. package/dist/esm-es5/pds-textarea.entry.js +2 -0
  432. package/dist/esm-es5/pds-textarea.entry.js.map +1 -0
  433. package/dist/esm-es5/pds-tooltip.entry.js +2 -0
  434. package/dist/esm-es5/pds-tooltip.entry.js.map +1 -0
  435. package/dist/esm-es5/pine-core.js +2 -0
  436. package/dist/esm-es5/pine-core.js.map +1 -0
  437. package/dist/index.cjs.js +1 -0
  438. package/dist/index.js +1 -0
  439. package/dist/pine-core/index.esm.js +1 -2
  440. package/dist/pine-core/index.esm.js.map +1 -1
  441. package/dist/pine-core/p-03ac85bb.system.entry.js +2 -0
  442. package/dist/pine-core/p-03ac85bb.system.entry.js.map +1 -0
  443. package/dist/pine-core/p-0935a593.system.js +3 -0
  444. package/dist/pine-core/p-0935a593.system.js.map +1 -0
  445. package/dist/pine-core/p-0b77685e.js +2 -0
  446. package/dist/pine-core/p-0b77685e.js.map +1 -0
  447. package/dist/pine-core/p-0ca08a85.system.js +2 -0
  448. package/dist/pine-core/p-0ca08a85.system.js.map +1 -0
  449. package/dist/pine-core/p-1b1c6e9e.system.entry.js +2 -0
  450. package/dist/pine-core/p-1b1c6e9e.system.entry.js.map +1 -0
  451. package/dist/pine-core/p-1d34a83d.system.entry.js +2 -0
  452. package/dist/pine-core/p-1d34a83d.system.entry.js.map +1 -0
  453. package/dist/pine-core/p-224a435b.system.js +2 -0
  454. package/dist/pine-core/p-224a435b.system.js.map +1 -0
  455. package/dist/pine-core/p-23d97662.js +3 -0
  456. package/dist/pine-core/p-23d97662.js.map +1 -0
  457. package/dist/pine-core/p-24d43a5d.system.entry.js +2 -0
  458. package/dist/pine-core/p-24d43a5d.system.entry.js.map +1 -0
  459. package/dist/pine-core/p-252bcd1c.system.entry.js +2 -0
  460. package/dist/pine-core/p-252bcd1c.system.entry.js.map +1 -0
  461. package/dist/pine-core/p-27dfade4.system.entry.js +2 -0
  462. package/dist/pine-core/p-27dfade4.system.entry.js.map +1 -0
  463. package/dist/pine-core/p-28d205e0.system.entry.js +2 -0
  464. package/dist/pine-core/p-28d205e0.system.entry.js.map +1 -0
  465. package/dist/pine-core/p-2ac1781f.entry.js +2 -0
  466. package/dist/pine-core/p-2ac1781f.entry.js.map +1 -0
  467. package/dist/pine-core/p-35f2208a.system.entry.js +2 -0
  468. package/dist/pine-core/p-35f2208a.system.entry.js.map +1 -0
  469. package/dist/pine-core/p-38a23fac.system.entry.js +2 -0
  470. package/dist/pine-core/p-38a23fac.system.entry.js.map +1 -0
  471. package/dist/pine-core/p-39bc5dc9.system.entry.js +2 -0
  472. package/dist/pine-core/p-39bc5dc9.system.entry.js.map +1 -0
  473. package/dist/pine-core/p-3c02b099.entry.js +2 -0
  474. package/dist/pine-core/p-3c02b099.entry.js.map +1 -0
  475. package/dist/pine-core/p-41d6881e.system.entry.js +2 -0
  476. package/dist/pine-core/p-41d6881e.system.entry.js.map +1 -0
  477. package/dist/pine-core/p-443202f8.entry.js +8 -0
  478. package/dist/pine-core/p-443202f8.entry.js.map +1 -0
  479. package/dist/pine-core/p-4df579f2.entry.js +2 -0
  480. package/dist/pine-core/p-4df579f2.entry.js.map +1 -0
  481. package/dist/pine-core/p-519ef0c4.system.js +2 -0
  482. package/dist/pine-core/p-519ef0c4.system.js.map +1 -0
  483. package/dist/pine-core/p-56588c5d.entry.js +2 -0
  484. package/dist/pine-core/p-56588c5d.entry.js.map +1 -0
  485. package/dist/pine-core/p-56ba5cbf.system.js +2 -0
  486. package/dist/pine-core/p-56ba5cbf.system.js.map +1 -0
  487. package/dist/pine-core/p-5c60147f.system.entry.js +9 -0
  488. package/dist/pine-core/p-5c60147f.system.entry.js.map +1 -0
  489. package/dist/pine-core/p-5c8608cd.system.entry.js +2 -0
  490. package/dist/pine-core/p-5c8608cd.system.entry.js.map +1 -0
  491. package/dist/pine-core/p-5d08fe24.entry.js +2 -0
  492. package/dist/pine-core/p-5d08fe24.entry.js.map +1 -0
  493. package/dist/pine-core/p-606b6dbb.entry.js +2 -0
  494. package/dist/pine-core/p-606b6dbb.entry.js.map +1 -0
  495. package/dist/pine-core/p-60f4dc68.system.entry.js +2 -0
  496. package/dist/pine-core/p-60f4dc68.system.entry.js.map +1 -0
  497. package/dist/pine-core/p-6525ed78.entry.js +2 -0
  498. package/dist/pine-core/p-6525ed78.entry.js.map +1 -0
  499. package/dist/pine-core/p-684d04ae.entry.js +2 -0
  500. package/dist/pine-core/p-684d04ae.entry.js.map +1 -0
  501. package/dist/pine-core/p-6f38bc8e.entry.js +2 -0
  502. package/dist/pine-core/p-6f38bc8e.entry.js.map +1 -0
  503. package/dist/pine-core/p-6f511f31.entry.js +2 -0
  504. package/dist/pine-core/p-6f511f31.entry.js.map +1 -0
  505. package/dist/pine-core/p-74d57e61.system.entry.js +2 -0
  506. package/dist/pine-core/p-74d57e61.system.entry.js.map +1 -0
  507. package/dist/pine-core/p-806b41c3.entry.js +2 -0
  508. package/dist/pine-core/p-806b41c3.entry.js.map +1 -0
  509. package/dist/pine-core/p-807d5d68.system.entry.js +2 -0
  510. package/dist/pine-core/p-807d5d68.system.entry.js.map +1 -0
  511. package/dist/pine-core/p-854fa9e2.entry.js +2 -0
  512. package/dist/pine-core/p-854fa9e2.entry.js.map +1 -0
  513. package/dist/pine-core/p-867aee19.entry.js +2 -0
  514. package/dist/pine-core/p-867aee19.entry.js.map +1 -0
  515. package/dist/pine-core/p-8701cb7b.system.entry.js +2 -0
  516. package/dist/pine-core/p-8701cb7b.system.entry.js.map +1 -0
  517. package/dist/pine-core/p-87b61d15.system.entry.js +2 -0
  518. package/dist/pine-core/p-87b61d15.system.entry.js.map +1 -0
  519. package/dist/pine-core/p-8a1b3866.entry.js +2 -0
  520. package/dist/pine-core/p-8a1b3866.entry.js.map +1 -0
  521. package/dist/pine-core/p-8c719c49.entry.js +2 -0
  522. package/dist/pine-core/p-8c719c49.entry.js.map +1 -0
  523. package/dist/pine-core/p-8f3273ed.system.entry.js +2 -0
  524. package/dist/pine-core/p-8f3273ed.system.entry.js.map +1 -0
  525. package/dist/pine-core/p-8fcfa336.entry.js +2 -0
  526. package/dist/pine-core/p-8fcfa336.entry.js.map +1 -0
  527. package/dist/pine-core/p-90694e70.entry.js +2 -0
  528. package/dist/pine-core/p-90694e70.entry.js.map +1 -0
  529. package/dist/pine-core/p-91bb8017.entry.js +2 -0
  530. package/dist/pine-core/p-91bb8017.entry.js.map +1 -0
  531. package/dist/pine-core/p-924a951b.system.entry.js +2 -0
  532. package/dist/pine-core/p-924a951b.system.entry.js.map +1 -0
  533. package/dist/pine-core/p-9c538ab0.entry.js +2 -0
  534. package/dist/pine-core/p-9c538ab0.entry.js.map +1 -0
  535. package/dist/pine-core/p-9d959d25.system.entry.js +2 -0
  536. package/dist/pine-core/p-9d959d25.system.entry.js.map +1 -0
  537. package/dist/pine-core/p-ad997571.system.entry.js +2 -0
  538. package/dist/pine-core/p-ad997571.system.entry.js.map +1 -0
  539. package/dist/pine-core/p-b1363254.entry.js +2 -0
  540. package/dist/pine-core/p-b1363254.entry.js.map +1 -0
  541. package/dist/pine-core/p-b47f8855.entry.js +2 -0
  542. package/dist/pine-core/p-b47f8855.entry.js.map +1 -0
  543. package/dist/pine-core/p-b480d80a.entry.js +2 -0
  544. package/dist/pine-core/p-b480d80a.entry.js.map +1 -0
  545. package/dist/pine-core/p-b5859bbd.system.entry.js +2 -0
  546. package/dist/pine-core/p-b5859bbd.system.entry.js.map +1 -0
  547. package/dist/pine-core/p-b978c861.entry.js +2 -0
  548. package/dist/pine-core/p-b978c861.entry.js.map +1 -0
  549. package/dist/pine-core/p-bdc39517.system.entry.js +2 -0
  550. package/dist/pine-core/p-bdc39517.system.entry.js.map +1 -0
  551. package/dist/pine-core/p-c03cfc96.js +2 -0
  552. package/dist/pine-core/p-c03cfc96.js.map +1 -0
  553. package/dist/pine-core/p-c56d871e.system.entry.js +2 -0
  554. package/dist/pine-core/p-c56d871e.system.entry.js.map +1 -0
  555. package/dist/pine-core/p-cca53530.system.entry.js +2 -0
  556. package/dist/pine-core/p-cca53530.system.entry.js.map +1 -0
  557. package/dist/pine-core/p-cddeae53.entry.js +2 -0
  558. package/dist/pine-core/p-cddeae53.entry.js.map +1 -0
  559. package/dist/pine-core/p-d33de2b3.system.entry.js +2 -0
  560. package/dist/pine-core/p-d33de2b3.system.entry.js.map +1 -0
  561. package/dist/pine-core/p-dcc876d5.entry.js +2 -0
  562. package/dist/pine-core/p-dcc876d5.entry.js.map +1 -0
  563. package/dist/pine-core/p-e1255160.js +2 -0
  564. package/dist/pine-core/p-e1255160.js.map +1 -0
  565. package/dist/pine-core/p-ece97e5b.system.js +2 -0
  566. package/dist/pine-core/p-ece97e5b.system.js.map +1 -0
  567. package/dist/pine-core/p-ee65aef1.system.js +2 -0
  568. package/dist/pine-core/p-ee65aef1.system.js.map +1 -0
  569. package/dist/pine-core/p-efc85823.js +2 -0
  570. package/dist/pine-core/p-efc85823.js.map +1 -0
  571. package/dist/pine-core/p-f1610dff.system.entry.js +2 -0
  572. package/dist/pine-core/p-f1610dff.system.entry.js.map +1 -0
  573. package/dist/pine-core/p-f666c482.entry.js +2 -0
  574. package/dist/pine-core/p-f666c482.entry.js.map +1 -0
  575. package/dist/pine-core/p-f80b45a9.system.entry.js +2 -0
  576. package/dist/pine-core/p-f80b45a9.system.entry.js.map +1 -0
  577. package/dist/pine-core/p-f92e85c4.entry.js +2 -0
  578. package/dist/pine-core/p-f92e85c4.entry.js.map +1 -0
  579. package/dist/pine-core/p-fc202585.entry.js +2 -0
  580. package/dist/pine-core/p-fc202585.entry.js.map +1 -0
  581. package/dist/pine-core/pine-core.css +1 -180
  582. package/dist/pine-core/pine-core.esm.js +1 -52
  583. package/dist/pine-core/pine-core.esm.js.map +1 -1
  584. package/dist/pine-core/pine-core.js +127 -0
  585. package/hydrate/index.js +28 -28
  586. package/package.json +1 -1
  587. package/dist/pine-core/index-00e73f84.js +0 -329
  588. package/dist/pine-core/index-00e73f84.js.map +0 -1
  589. package/dist/pine-core/index-cccc19b7.js.map +0 -1
  590. package/dist/pine-core/pds-accordion.entry.js.map +0 -1
  591. package/dist/pine-core/pds-avatar.entry.js.map +0 -1
  592. package/dist/pine-core/pds-box.entry.js +0 -77
  593. package/dist/pine-core/pds-box.entry.js.map +0 -1
  594. package/dist/pine-core/pds-button.entry.js.map +0 -1
  595. package/dist/pine-core/pds-checkbox.entry.js.map +0 -1
  596. package/dist/pine-core/pds-chip.entry.js +0 -46
  597. package/dist/pine-core/pds-chip.entry.js.map +0 -1
  598. package/dist/pine-core/pds-copytext.entry.js.map +0 -1
  599. package/dist/pine-core/pds-divider.entry.js +0 -31
  600. package/dist/pine-core/pds-divider.entry.js.map +0 -1
  601. package/dist/pine-core/pds-image.entry.js.map +0 -1
  602. package/dist/pine-core/pds-input.entry.js.map +0 -1
  603. package/dist/pine-core/pds-link.entry.js.map +0 -1
  604. package/dist/pine-core/pds-loader.entry.js +0 -44
  605. package/dist/pine-core/pds-loader.entry.js.map +0 -1
  606. package/dist/pine-core/pds-progress.entry.js +0 -23
  607. package/dist/pine-core/pds-progress.entry.js.map +0 -1
  608. package/dist/pine-core/pds-radio.entry.js.map +0 -1
  609. package/dist/pine-core/pds-row.entry.js +0 -46
  610. package/dist/pine-core/pds-row.entry.js.map +0 -1
  611. package/dist/pine-core/pds-sortable-item.entry.js +0 -30
  612. package/dist/pine-core/pds-sortable-item.entry.js.map +0 -1
  613. package/dist/pine-core/pds-sortable.entry.js.map +0 -1
  614. package/dist/pine-core/pds-switch.entry.js.map +0 -1
  615. package/dist/pine-core/pds-tab.entry.js +0 -29
  616. package/dist/pine-core/pds-tab.entry.js.map +0 -1
  617. package/dist/pine-core/pds-table-body.entry.js.map +0 -1
  618. package/dist/pine-core/pds-table-cell.entry.js.map +0 -1
  619. package/dist/pine-core/pds-table-head-cell.entry.js.map +0 -1
  620. package/dist/pine-core/pds-table-head.entry.js.map +0 -1
  621. package/dist/pine-core/pds-table-row.entry.js.map +0 -1
  622. package/dist/pine-core/pds-tabpanel.entry.js.map +0 -1
  623. package/dist/pine-core/pds-tabs.entry.js.map +0 -1
  624. package/dist/pine-core/pds-textarea.entry.js.map +0 -1
  625. package/dist/pine-core/pds-tooltip.entry.js.map +0 -1
  626. package/dist/pine-core/shadow-css-2e0fed52.js +0 -478
  627. package/dist/pine-core/shadow-css-2e0fed52.js.map +0 -1
  628. /package/dist/{pine-core → esm}/app-globals-0f993ce5.js +0 -0
  629. /package/dist/{pine-core → esm}/app-globals-0f993ce5.js.map +0 -0
  630. /package/dist/{pine-core → esm}/closest-d2d192be.js +0 -0
  631. /package/dist/{pine-core → esm}/closest-d2d192be.js.map +0 -0
@@ -1,4 +1,4 @@
1
- import { r as registerInstance, e as createEvent, h, a as Host, g as getElement } from './index-cccc19b7.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-cd2796be.js';
2
2
 
3
3
  /**!
4
4
  * Sortable 1.15.2
@@ -104,31 +104,6 @@ function _objectWithoutProperties(source, excluded) {
104
104
  }
105
105
  return target;
106
106
  }
107
- function _toConsumableArray(arr) {
108
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
109
- }
110
- function _arrayWithoutHoles(arr) {
111
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
112
- }
113
- function _iterableToArray(iter) {
114
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
115
- }
116
- function _unsupportedIterableToArray(o, minLen) {
117
- if (!o) return;
118
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
119
- var n = Object.prototype.toString.call(o).slice(8, -1);
120
- if (n === "Object" && o.constructor) n = o.constructor.name;
121
- if (n === "Map" || n === "Set") return Array.from(o);
122
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
123
- }
124
- function _arrayLikeToArray(arr, len) {
125
- if (len == null || len > arr.length) len = arr.length;
126
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
127
- return arr2;
128
- }
129
- function _nonIterableSpread() {
130
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
131
- }
132
107
 
133
108
  var version = "1.15.2";
134
109
 
@@ -523,20 +498,6 @@ function clone(el) {
523
498
  return el.cloneNode(true);
524
499
  }
525
500
  }
526
- function setRect(el, rect) {
527
- css(el, 'position', 'absolute');
528
- css(el, 'top', rect.top);
529
- css(el, 'left', rect.left);
530
- css(el, 'width', rect.width);
531
- css(el, 'height', rect.height);
532
- }
533
- function unsetRect(el) {
534
- css(el, 'position', '');
535
- css(el, 'top', '');
536
- css(el, 'left', '');
537
- css(el, 'width', '');
538
- css(el, 'height', '');
539
- }
540
501
  function getChildContainingRectFromElement(container, options, ghostEl) {
541
502
  var rect = {};
542
503
  Array.from(container.children).forEach(function (child) {
@@ -2685,672 +2646,11 @@ _extends(Remove, {
2685
2646
  pluginName: 'removeOnSpill'
2686
2647
  });
2687
2648
 
2688
- var lastSwapEl;
2689
- function SwapPlugin() {
2690
- function Swap() {
2691
- this.defaults = {
2692
- swapClass: 'sortable-swap-highlight'
2693
- };
2694
- }
2695
- Swap.prototype = {
2696
- dragStart: function dragStart(_ref) {
2697
- var dragEl = _ref.dragEl;
2698
- lastSwapEl = dragEl;
2699
- },
2700
- dragOverValid: function dragOverValid(_ref2) {
2701
- var completed = _ref2.completed,
2702
- target = _ref2.target,
2703
- onMove = _ref2.onMove,
2704
- activeSortable = _ref2.activeSortable,
2705
- changed = _ref2.changed,
2706
- cancel = _ref2.cancel;
2707
- if (!activeSortable.options.swap) return;
2708
- var el = this.sortable.el,
2709
- options = this.options;
2710
- if (target && target !== el) {
2711
- var prevSwapEl = lastSwapEl;
2712
- if (onMove(target) !== false) {
2713
- toggleClass(target, options.swapClass, true);
2714
- lastSwapEl = target;
2715
- } else {
2716
- lastSwapEl = null;
2717
- }
2718
- if (prevSwapEl && prevSwapEl !== lastSwapEl) {
2719
- toggleClass(prevSwapEl, options.swapClass, false);
2720
- }
2721
- }
2722
- changed();
2723
- completed(true);
2724
- cancel();
2725
- },
2726
- drop: function drop(_ref3) {
2727
- var activeSortable = _ref3.activeSortable,
2728
- putSortable = _ref3.putSortable,
2729
- dragEl = _ref3.dragEl;
2730
- var toSortable = putSortable || this.sortable;
2731
- var options = this.options;
2732
- lastSwapEl && toggleClass(lastSwapEl, options.swapClass, false);
2733
- if (lastSwapEl && (options.swap || putSortable && putSortable.options.swap)) {
2734
- if (dragEl !== lastSwapEl) {
2735
- toSortable.captureAnimationState();
2736
- if (toSortable !== activeSortable) activeSortable.captureAnimationState();
2737
- swapNodes(dragEl, lastSwapEl);
2738
- toSortable.animateAll();
2739
- if (toSortable !== activeSortable) activeSortable.animateAll();
2740
- }
2741
- }
2742
- },
2743
- nulling: function nulling() {
2744
- lastSwapEl = null;
2745
- }
2746
- };
2747
- return _extends(Swap, {
2748
- pluginName: 'swap',
2749
- eventProperties: function eventProperties() {
2750
- return {
2751
- swapItem: lastSwapEl
2752
- };
2753
- }
2754
- });
2755
- }
2756
- function swapNodes(n1, n2) {
2757
- var p1 = n1.parentNode,
2758
- p2 = n2.parentNode,
2759
- i1,
2760
- i2;
2761
- if (!p1 || !p2 || p1.isEqualNode(n2) || p2.isEqualNode(n1)) return;
2762
- i1 = index(n1);
2763
- i2 = index(n2);
2764
- if (p1.isEqualNode(p2) && i1 < i2) {
2765
- i2++;
2766
- }
2767
- p1.insertBefore(n2, p1.children[i1]);
2768
- p2.insertBefore(n1, p2.children[i2]);
2769
- }
2770
-
2771
- var multiDragElements = [],
2772
- multiDragClones = [],
2773
- lastMultiDragSelect,
2774
- // for selection with modifier key down (SHIFT)
2775
- multiDragSortable,
2776
- initialFolding = false,
2777
- // Initial multi-drag fold when drag started
2778
- folding = false,
2779
- // Folding any other time
2780
- dragStarted = false,
2781
- dragEl$1,
2782
- clonesFromRect,
2783
- clonesHidden;
2784
- function MultiDragPlugin() {
2785
- function MultiDrag(sortable) {
2786
- // Bind all private methods
2787
- for (var fn in this) {
2788
- if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {
2789
- this[fn] = this[fn].bind(this);
2790
- }
2791
- }
2792
- if (!sortable.options.avoidImplicitDeselect) {
2793
- if (sortable.options.supportPointer) {
2794
- on(document, 'pointerup', this._deselectMultiDrag);
2795
- } else {
2796
- on(document, 'mouseup', this._deselectMultiDrag);
2797
- on(document, 'touchend', this._deselectMultiDrag);
2798
- }
2799
- }
2800
- on(document, 'keydown', this._checkKeyDown);
2801
- on(document, 'keyup', this._checkKeyUp);
2802
- this.defaults = {
2803
- selectedClass: 'sortable-selected',
2804
- multiDragKey: null,
2805
- avoidImplicitDeselect: false,
2806
- setData: function setData(dataTransfer, dragEl) {
2807
- var data = '';
2808
- if (multiDragElements.length && multiDragSortable === sortable) {
2809
- multiDragElements.forEach(function (multiDragElement, i) {
2810
- data += (!i ? '' : ', ') + multiDragElement.textContent;
2811
- });
2812
- } else {
2813
- data = dragEl.textContent;
2814
- }
2815
- dataTransfer.setData('Text', data);
2816
- }
2817
- };
2818
- }
2819
- MultiDrag.prototype = {
2820
- multiDragKeyDown: false,
2821
- isMultiDrag: false,
2822
- delayStartGlobal: function delayStartGlobal(_ref) {
2823
- var dragged = _ref.dragEl;
2824
- dragEl$1 = dragged;
2825
- },
2826
- delayEnded: function delayEnded() {
2827
- this.isMultiDrag = ~multiDragElements.indexOf(dragEl$1);
2828
- },
2829
- setupClone: function setupClone(_ref2) {
2830
- var sortable = _ref2.sortable,
2831
- cancel = _ref2.cancel;
2832
- if (!this.isMultiDrag) return;
2833
- for (var i = 0; i < multiDragElements.length; i++) {
2834
- multiDragClones.push(clone(multiDragElements[i]));
2835
- multiDragClones[i].sortableIndex = multiDragElements[i].sortableIndex;
2836
- multiDragClones[i].draggable = false;
2837
- multiDragClones[i].style['will-change'] = '';
2838
- toggleClass(multiDragClones[i], this.options.selectedClass, false);
2839
- multiDragElements[i] === dragEl$1 && toggleClass(multiDragClones[i], this.options.chosenClass, false);
2840
- }
2841
- sortable._hideClone();
2842
- cancel();
2843
- },
2844
- clone: function clone(_ref3) {
2845
- var sortable = _ref3.sortable,
2846
- rootEl = _ref3.rootEl,
2847
- dispatchSortableEvent = _ref3.dispatchSortableEvent,
2848
- cancel = _ref3.cancel;
2849
- if (!this.isMultiDrag) return;
2850
- if (!this.options.removeCloneOnHide) {
2851
- if (multiDragElements.length && multiDragSortable === sortable) {
2852
- insertMultiDragClones(true, rootEl);
2853
- dispatchSortableEvent('clone');
2854
- cancel();
2855
- }
2856
- }
2857
- },
2858
- showClone: function showClone(_ref4) {
2859
- var cloneNowShown = _ref4.cloneNowShown,
2860
- rootEl = _ref4.rootEl,
2861
- cancel = _ref4.cancel;
2862
- if (!this.isMultiDrag) return;
2863
- insertMultiDragClones(false, rootEl);
2864
- multiDragClones.forEach(function (clone) {
2865
- css(clone, 'display', '');
2866
- });
2867
- cloneNowShown();
2868
- clonesHidden = false;
2869
- cancel();
2870
- },
2871
- hideClone: function hideClone(_ref5) {
2872
- var _this = this;
2873
- var sortable = _ref5.sortable,
2874
- cloneNowHidden = _ref5.cloneNowHidden,
2875
- cancel = _ref5.cancel;
2876
- if (!this.isMultiDrag) return;
2877
- multiDragClones.forEach(function (clone) {
2878
- css(clone, 'display', 'none');
2879
- if (_this.options.removeCloneOnHide && clone.parentNode) {
2880
- clone.parentNode.removeChild(clone);
2881
- }
2882
- });
2883
- cloneNowHidden();
2884
- clonesHidden = true;
2885
- cancel();
2886
- },
2887
- dragStartGlobal: function dragStartGlobal(_ref6) {
2888
- var sortable = _ref6.sortable;
2889
- if (!this.isMultiDrag && multiDragSortable) {
2890
- multiDragSortable.multiDrag._deselectMultiDrag();
2891
- }
2892
- multiDragElements.forEach(function (multiDragElement) {
2893
- multiDragElement.sortableIndex = index(multiDragElement);
2894
- });
2895
-
2896
- // Sort multi-drag elements
2897
- multiDragElements = multiDragElements.sort(function (a, b) {
2898
- return a.sortableIndex - b.sortableIndex;
2899
- });
2900
- dragStarted = true;
2901
- },
2902
- dragStarted: function dragStarted(_ref7) {
2903
- var _this2 = this;
2904
- var sortable = _ref7.sortable;
2905
- if (!this.isMultiDrag) return;
2906
- if (this.options.sort) {
2907
- // Capture rects,
2908
- // hide multi drag elements (by positioning them absolute),
2909
- // set multi drag elements rects to dragRect,
2910
- // show multi drag elements,
2911
- // animate to rects,
2912
- // unset rects & remove from DOM
2913
-
2914
- sortable.captureAnimationState();
2915
- if (this.options.animation) {
2916
- multiDragElements.forEach(function (multiDragElement) {
2917
- if (multiDragElement === dragEl$1) return;
2918
- css(multiDragElement, 'position', 'absolute');
2919
- });
2920
- var dragRect = getRect(dragEl$1, false, true, true);
2921
- multiDragElements.forEach(function (multiDragElement) {
2922
- if (multiDragElement === dragEl$1) return;
2923
- setRect(multiDragElement, dragRect);
2924
- });
2925
- folding = true;
2926
- initialFolding = true;
2927
- }
2928
- }
2929
- sortable.animateAll(function () {
2930
- folding = false;
2931
- initialFolding = false;
2932
- if (_this2.options.animation) {
2933
- multiDragElements.forEach(function (multiDragElement) {
2934
- unsetRect(multiDragElement);
2935
- });
2936
- }
2937
-
2938
- // Remove all auxiliary multidrag items from el, if sorting enabled
2939
- if (_this2.options.sort) {
2940
- removeMultiDragElements();
2941
- }
2942
- });
2943
- },
2944
- dragOver: function dragOver(_ref8) {
2945
- var target = _ref8.target,
2946
- completed = _ref8.completed,
2947
- cancel = _ref8.cancel;
2948
- if (folding && ~multiDragElements.indexOf(target)) {
2949
- completed(false);
2950
- cancel();
2951
- }
2952
- },
2953
- revert: function revert(_ref9) {
2954
- var fromSortable = _ref9.fromSortable,
2955
- rootEl = _ref9.rootEl,
2956
- sortable = _ref9.sortable,
2957
- dragRect = _ref9.dragRect;
2958
- if (multiDragElements.length > 1) {
2959
- // Setup unfold animation
2960
- multiDragElements.forEach(function (multiDragElement) {
2961
- sortable.addAnimationState({
2962
- target: multiDragElement,
2963
- rect: folding ? getRect(multiDragElement) : dragRect
2964
- });
2965
- unsetRect(multiDragElement);
2966
- multiDragElement.fromRect = dragRect;
2967
- fromSortable.removeAnimationState(multiDragElement);
2968
- });
2969
- folding = false;
2970
- insertMultiDragElements(!this.options.removeCloneOnHide, rootEl);
2971
- }
2972
- },
2973
- dragOverCompleted: function dragOverCompleted(_ref10) {
2974
- var sortable = _ref10.sortable,
2975
- isOwner = _ref10.isOwner,
2976
- insertion = _ref10.insertion,
2977
- activeSortable = _ref10.activeSortable,
2978
- parentEl = _ref10.parentEl,
2979
- putSortable = _ref10.putSortable;
2980
- var options = this.options;
2981
- if (insertion) {
2982
- // Clones must be hidden before folding animation to capture dragRectAbsolute properly
2983
- if (isOwner) {
2984
- activeSortable._hideClone();
2985
- }
2986
- initialFolding = false;
2987
- // If leaving sort:false root, or already folding - Fold to new location
2988
- if (options.animation && multiDragElements.length > 1 && (folding || !isOwner && !activeSortable.options.sort && !putSortable)) {
2989
- // Fold: Set all multi drag elements's rects to dragEl's rect when multi-drag elements are invisible
2990
- var dragRectAbsolute = getRect(dragEl$1, false, true, true);
2991
- multiDragElements.forEach(function (multiDragElement) {
2992
- if (multiDragElement === dragEl$1) return;
2993
- setRect(multiDragElement, dragRectAbsolute);
2994
-
2995
- // Move element(s) to end of parentEl so that it does not interfere with multi-drag clones insertion if they are inserted
2996
- // while folding, and so that we can capture them again because old sortable will no longer be fromSortable
2997
- parentEl.appendChild(multiDragElement);
2998
- });
2999
- folding = true;
3000
- }
3001
-
3002
- // Clones must be shown (and check to remove multi drags) after folding when interfering multiDragElements are moved out
3003
- if (!isOwner) {
3004
- // Only remove if not folding (folding will remove them anyways)
3005
- if (!folding) {
3006
- removeMultiDragElements();
3007
- }
3008
- if (multiDragElements.length > 1) {
3009
- var clonesHiddenBefore = clonesHidden;
3010
- activeSortable._showClone(sortable);
3011
-
3012
- // Unfold animation for clones if showing from hidden
3013
- if (activeSortable.options.animation && !clonesHidden && clonesHiddenBefore) {
3014
- multiDragClones.forEach(function (clone) {
3015
- activeSortable.addAnimationState({
3016
- target: clone,
3017
- rect: clonesFromRect
3018
- });
3019
- clone.fromRect = clonesFromRect;
3020
- clone.thisAnimationDuration = null;
3021
- });
3022
- }
3023
- } else {
3024
- activeSortable._showClone(sortable);
3025
- }
3026
- }
3027
- }
3028
- },
3029
- dragOverAnimationCapture: function dragOverAnimationCapture(_ref11) {
3030
- var dragRect = _ref11.dragRect,
3031
- isOwner = _ref11.isOwner,
3032
- activeSortable = _ref11.activeSortable;
3033
- multiDragElements.forEach(function (multiDragElement) {
3034
- multiDragElement.thisAnimationDuration = null;
3035
- });
3036
- if (activeSortable.options.animation && !isOwner && activeSortable.multiDrag.isMultiDrag) {
3037
- clonesFromRect = _extends({}, dragRect);
3038
- var dragMatrix = matrix(dragEl$1, true);
3039
- clonesFromRect.top -= dragMatrix.f;
3040
- clonesFromRect.left -= dragMatrix.e;
3041
- }
3042
- },
3043
- dragOverAnimationComplete: function dragOverAnimationComplete() {
3044
- if (folding) {
3045
- folding = false;
3046
- removeMultiDragElements();
3047
- }
3048
- },
3049
- drop: function drop(_ref12) {
3050
- var evt = _ref12.originalEvent,
3051
- rootEl = _ref12.rootEl,
3052
- parentEl = _ref12.parentEl,
3053
- sortable = _ref12.sortable,
3054
- dispatchSortableEvent = _ref12.dispatchSortableEvent,
3055
- oldIndex = _ref12.oldIndex,
3056
- putSortable = _ref12.putSortable;
3057
- var toSortable = putSortable || this.sortable;
3058
- if (!evt) return;
3059
- var options = this.options,
3060
- children = parentEl.children;
3061
-
3062
- // Multi-drag selection
3063
- if (!dragStarted) {
3064
- if (options.multiDragKey && !this.multiDragKeyDown) {
3065
- this._deselectMultiDrag();
3066
- }
3067
- toggleClass(dragEl$1, options.selectedClass, !~multiDragElements.indexOf(dragEl$1));
3068
- if (!~multiDragElements.indexOf(dragEl$1)) {
3069
- multiDragElements.push(dragEl$1);
3070
- dispatchEvent({
3071
- sortable: sortable,
3072
- rootEl: rootEl,
3073
- name: 'select',
3074
- targetEl: dragEl$1,
3075
- originalEvent: evt
3076
- });
3077
-
3078
- // Modifier activated, select from last to dragEl
3079
- if (evt.shiftKey && lastMultiDragSelect && sortable.el.contains(lastMultiDragSelect)) {
3080
- var lastIndex = index(lastMultiDragSelect),
3081
- currentIndex = index(dragEl$1);
3082
- if (~lastIndex && ~currentIndex && lastIndex !== currentIndex) {
3083
- // Must include lastMultiDragSelect (select it), in case modified selection from no selection
3084
- // (but previous selection existed)
3085
- var n, i;
3086
- if (currentIndex > lastIndex) {
3087
- i = lastIndex;
3088
- n = currentIndex;
3089
- } else {
3090
- i = currentIndex;
3091
- n = lastIndex + 1;
3092
- }
3093
- for (; i < n; i++) {
3094
- if (~multiDragElements.indexOf(children[i])) continue;
3095
- toggleClass(children[i], options.selectedClass, true);
3096
- multiDragElements.push(children[i]);
3097
- dispatchEvent({
3098
- sortable: sortable,
3099
- rootEl: rootEl,
3100
- name: 'select',
3101
- targetEl: children[i],
3102
- originalEvent: evt
3103
- });
3104
- }
3105
- }
3106
- } else {
3107
- lastMultiDragSelect = dragEl$1;
3108
- }
3109
- multiDragSortable = toSortable;
3110
- } else {
3111
- multiDragElements.splice(multiDragElements.indexOf(dragEl$1), 1);
3112
- lastMultiDragSelect = null;
3113
- dispatchEvent({
3114
- sortable: sortable,
3115
- rootEl: rootEl,
3116
- name: 'deselect',
3117
- targetEl: dragEl$1,
3118
- originalEvent: evt
3119
- });
3120
- }
3121
- }
3122
-
3123
- // Multi-drag drop
3124
- if (dragStarted && this.isMultiDrag) {
3125
- folding = false;
3126
- // Do not "unfold" after around dragEl if reverted
3127
- if ((parentEl[expando].options.sort || parentEl !== rootEl) && multiDragElements.length > 1) {
3128
- var dragRect = getRect(dragEl$1),
3129
- multiDragIndex = index(dragEl$1, ':not(.' + this.options.selectedClass + ')');
3130
- if (!initialFolding && options.animation) dragEl$1.thisAnimationDuration = null;
3131
- toSortable.captureAnimationState();
3132
- if (!initialFolding) {
3133
- if (options.animation) {
3134
- dragEl$1.fromRect = dragRect;
3135
- multiDragElements.forEach(function (multiDragElement) {
3136
- multiDragElement.thisAnimationDuration = null;
3137
- if (multiDragElement !== dragEl$1) {
3138
- var rect = folding ? getRect(multiDragElement) : dragRect;
3139
- multiDragElement.fromRect = rect;
3140
-
3141
- // Prepare unfold animation
3142
- toSortable.addAnimationState({
3143
- target: multiDragElement,
3144
- rect: rect
3145
- });
3146
- }
3147
- });
3148
- }
3149
-
3150
- // Multi drag elements are not necessarily removed from the DOM on drop, so to reinsert
3151
- // properly they must all be removed
3152
- removeMultiDragElements();
3153
- multiDragElements.forEach(function (multiDragElement) {
3154
- if (children[multiDragIndex]) {
3155
- parentEl.insertBefore(multiDragElement, children[multiDragIndex]);
3156
- } else {
3157
- parentEl.appendChild(multiDragElement);
3158
- }
3159
- multiDragIndex++;
3160
- });
3161
-
3162
- // If initial folding is done, the elements may have changed position because they are now
3163
- // unfolding around dragEl, even though dragEl may not have his index changed, so update event
3164
- // must be fired here as Sortable will not.
3165
- if (oldIndex === index(dragEl$1)) {
3166
- var update = false;
3167
- multiDragElements.forEach(function (multiDragElement) {
3168
- if (multiDragElement.sortableIndex !== index(multiDragElement)) {
3169
- update = true;
3170
- return;
3171
- }
3172
- });
3173
- if (update) {
3174
- dispatchSortableEvent('update');
3175
- dispatchSortableEvent('sort');
3176
- }
3177
- }
3178
- }
3179
-
3180
- // Must be done after capturing individual rects (scroll bar)
3181
- multiDragElements.forEach(function (multiDragElement) {
3182
- unsetRect(multiDragElement);
3183
- });
3184
- toSortable.animateAll();
3185
- }
3186
- multiDragSortable = toSortable;
3187
- }
3188
-
3189
- // Remove clones if necessary
3190
- if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {
3191
- multiDragClones.forEach(function (clone) {
3192
- clone.parentNode && clone.parentNode.removeChild(clone);
3193
- });
3194
- }
3195
- },
3196
- nullingGlobal: function nullingGlobal() {
3197
- this.isMultiDrag = dragStarted = false;
3198
- multiDragClones.length = 0;
3199
- },
3200
- destroyGlobal: function destroyGlobal() {
3201
- this._deselectMultiDrag();
3202
- off(document, 'pointerup', this._deselectMultiDrag);
3203
- off(document, 'mouseup', this._deselectMultiDrag);
3204
- off(document, 'touchend', this._deselectMultiDrag);
3205
- off(document, 'keydown', this._checkKeyDown);
3206
- off(document, 'keyup', this._checkKeyUp);
3207
- },
3208
- _deselectMultiDrag: function _deselectMultiDrag(evt) {
3209
- if (typeof dragStarted !== "undefined" && dragStarted) return;
3210
-
3211
- // Only deselect if selection is in this sortable
3212
- if (multiDragSortable !== this.sortable) return;
3213
-
3214
- // Only deselect if target is not item in this sortable
3215
- if (evt && closest(evt.target, this.options.draggable, this.sortable.el, false)) return;
3216
-
3217
- // Only deselect if left click
3218
- if (evt && evt.button !== 0) return;
3219
- while (multiDragElements.length) {
3220
- var el = multiDragElements[0];
3221
- toggleClass(el, this.options.selectedClass, false);
3222
- multiDragElements.shift();
3223
- dispatchEvent({
3224
- sortable: this.sortable,
3225
- rootEl: this.sortable.el,
3226
- name: 'deselect',
3227
- targetEl: el,
3228
- originalEvent: evt
3229
- });
3230
- }
3231
- },
3232
- _checkKeyDown: function _checkKeyDown(evt) {
3233
- if (evt.key === this.options.multiDragKey) {
3234
- this.multiDragKeyDown = true;
3235
- }
3236
- },
3237
- _checkKeyUp: function _checkKeyUp(evt) {
3238
- if (evt.key === this.options.multiDragKey) {
3239
- this.multiDragKeyDown = false;
3240
- }
3241
- }
3242
- };
3243
- return _extends(MultiDrag, {
3244
- // Static methods & properties
3245
- pluginName: 'multiDrag',
3246
- utils: {
3247
- /**
3248
- * Selects the provided multi-drag item
3249
- * @param {HTMLElement} el The element to be selected
3250
- */
3251
- select: function select(el) {
3252
- var sortable = el.parentNode[expando];
3253
- if (!sortable || !sortable.options.multiDrag || ~multiDragElements.indexOf(el)) return;
3254
- if (multiDragSortable && multiDragSortable !== sortable) {
3255
- multiDragSortable.multiDrag._deselectMultiDrag();
3256
- multiDragSortable = sortable;
3257
- }
3258
- toggleClass(el, sortable.options.selectedClass, true);
3259
- multiDragElements.push(el);
3260
- },
3261
- /**
3262
- * Deselects the provided multi-drag item
3263
- * @param {HTMLElement} el The element to be deselected
3264
- */
3265
- deselect: function deselect(el) {
3266
- var sortable = el.parentNode[expando],
3267
- index = multiDragElements.indexOf(el);
3268
- if (!sortable || !sortable.options.multiDrag || !~index) return;
3269
- toggleClass(el, sortable.options.selectedClass, false);
3270
- multiDragElements.splice(index, 1);
3271
- }
3272
- },
3273
- eventProperties: function eventProperties() {
3274
- var _this3 = this;
3275
- var oldIndicies = [],
3276
- newIndicies = [];
3277
- multiDragElements.forEach(function (multiDragElement) {
3278
- oldIndicies.push({
3279
- multiDragElement: multiDragElement,
3280
- index: multiDragElement.sortableIndex
3281
- });
3282
-
3283
- // multiDragElements will already be sorted if folding
3284
- var newIndex;
3285
- if (folding && multiDragElement !== dragEl$1) {
3286
- newIndex = -1;
3287
- } else if (folding) {
3288
- newIndex = index(multiDragElement, ':not(.' + _this3.options.selectedClass + ')');
3289
- } else {
3290
- newIndex = index(multiDragElement);
3291
- }
3292
- newIndicies.push({
3293
- multiDragElement: multiDragElement,
3294
- index: newIndex
3295
- });
3296
- });
3297
- return {
3298
- items: _toConsumableArray(multiDragElements),
3299
- clones: [].concat(multiDragClones),
3300
- oldIndicies: oldIndicies,
3301
- newIndicies: newIndicies
3302
- };
3303
- },
3304
- optionListeners: {
3305
- multiDragKey: function multiDragKey(key) {
3306
- key = key.toLowerCase();
3307
- if (key === 'ctrl') {
3308
- key = 'Control';
3309
- } else if (key.length > 1) {
3310
- key = key.charAt(0).toUpperCase() + key.substr(1);
3311
- }
3312
- return key;
3313
- }
3314
- }
3315
- });
3316
- }
3317
- function insertMultiDragElements(clonesInserted, rootEl) {
3318
- multiDragElements.forEach(function (multiDragElement, i) {
3319
- var target = rootEl.children[multiDragElement.sortableIndex + (clonesInserted ? Number(i) : 0)];
3320
- if (target) {
3321
- rootEl.insertBefore(multiDragElement, target);
3322
- } else {
3323
- rootEl.appendChild(multiDragElement);
3324
- }
3325
- });
3326
- }
3327
-
3328
- /**
3329
- * Insert multi-drag clones
3330
- * @param {[Boolean]} elementsInserted Whether the multi-drag elements are inserted
3331
- * @param {HTMLElement} rootEl
3332
- */
3333
- function insertMultiDragClones(elementsInserted, rootEl) {
3334
- multiDragClones.forEach(function (clone, i) {
3335
- var target = rootEl.children[clone.sortableIndex + (elementsInserted ? Number(i) : 0)];
3336
- if (target) {
3337
- rootEl.insertBefore(clone, target);
3338
- } else {
3339
- rootEl.appendChild(clone);
3340
- }
3341
- });
3342
- }
3343
- function removeMultiDragElements() {
3344
- multiDragElements.forEach(function (multiDragElement) {
3345
- if (multiDragElement === dragEl$1) return;
3346
- multiDragElement.parentNode && multiDragElement.parentNode.removeChild(multiDragElement);
3347
- });
3348
- }
3349
-
3350
2649
  Sortable.mount(new AutoScrollPlugin());
3351
2650
  Sortable.mount(Remove, Revert);
3352
2651
 
3353
- const pdsSortableCss = ".pds-sortable.sc-pds-sortable-h{--border-radius:var(--pine-border-radius-050);--border-default:var(--pine-border-width-thin) solid var(--pine-color-grey-300);display:flex;flex-direction:column}.pds-sortable.pds-sortable--bordered.sc-pds-sortable-h{border:var(--border-default);border-radius:var(--border-radius)}";
2652
+ const pdsSortableCss = ".pds-sortable.sc-pds-sortable-h{--border-radius:var(--pine-border-radius-050);--border-default:var(--pine-border-width-thin) solid var(--pine-color-grey-300);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.pds-sortable.pds-sortable--bordered.sc-pds-sortable-h{border:var(--border-default);border-radius:var(--border-radius)}";
2653
+ const PdsSortableStyle0 = pdsSortableCss;
3354
2654
 
3355
2655
  const PdsSortable = class {
3356
2656
  constructor(hostRef) {
@@ -3393,7 +2693,7 @@ const PdsSortable = class {
3393
2693
  }
3394
2694
  get el() { return getElement(this); }
3395
2695
  };
3396
- PdsSortable.style = pdsSortableCss;
2696
+ PdsSortable.style = PdsSortableStyle0;
3397
2697
 
3398
2698
  export { PdsSortable as pds_sortable };
3399
2699