vue-devui 1.6.17 → 1.6.19

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 (551) hide show
  1. package/action-timeline/index.umd.js +1 -1
  2. package/alert/index.umd.js +1 -1
  3. package/auto-complete/index.es.js +173 -120
  4. package/auto-complete/index.umd.js +33 -18
  5. package/auto-complete/style.css +1 -1
  6. package/avatar/index.umd.js +3 -3
  7. package/badge/index.umd.js +1 -1
  8. package/breadcrumb/index.es.js +99 -98
  9. package/breadcrumb/index.umd.js +5 -1
  10. package/button/index.es.js +56 -46
  11. package/button/index.umd.js +9 -9
  12. package/card/index.umd.js +1 -1
  13. package/carousel/index.umd.js +1 -1
  14. package/category-search/index.es.js +348 -242
  15. package/category-search/index.umd.js +39 -24
  16. package/category-search/style.css +1 -1
  17. package/checkbox/index.es.js +181 -118
  18. package/checkbox/index.umd.js +32 -17
  19. package/checkbox/style.css +1 -1
  20. package/code-editor/index.es.js +83 -62
  21. package/code-editor/index.umd.js +9 -9
  22. package/code-review/index.es.js +96 -77
  23. package/code-review/index.umd.js +27 -23
  24. package/code-review/style.css +1 -1
  25. package/collapse/index.es.js +3 -21
  26. package/collapse/index.umd.js +2 -2
  27. package/countdown/index.umd.js +1 -1
  28. package/data-grid/index.es.js +351 -237
  29. package/data-grid/index.umd.js +34 -19
  30. package/data-grid/style.css +1 -1
  31. package/date-picker-pro/index.es.js +506 -344
  32. package/date-picker-pro/index.umd.js +34 -19
  33. package/date-picker-pro/style.css +1 -1
  34. package/dragdrop/index.umd.js +1 -1
  35. package/dragdrop-new/index.es.js +499 -555
  36. package/dragdrop-new/index.umd.js +3 -16
  37. package/drawer/index.es.js +15 -25
  38. package/drawer/index.umd.js +1 -1
  39. package/dropdown/index.es.js +99 -98
  40. package/dropdown/index.umd.js +5 -1
  41. package/echarts/index.es.js +12 -27
  42. package/echarts/index.umd.js +1 -1
  43. package/editable-select/index.es.js +105 -82
  44. package/editable-select/index.umd.js +13 -13
  45. package/editor-md/index.es.js +343 -276
  46. package/editor-md/index.umd.js +50 -46
  47. package/form/index.es.js +157 -104
  48. package/form/index.umd.js +28 -13
  49. package/form/style.css +1 -1
  50. package/fullscreen/index.umd.js +1 -1
  51. package/git-graph/index.es.js +96 -90
  52. package/git-graph/index.umd.js +14 -14
  53. package/grid/index.es.js +7 -20
  54. package/grid/index.umd.js +1 -1
  55. package/icon/index.umd.js +1 -1
  56. package/image-preview/index.es.js +12 -23
  57. package/image-preview/index.umd.js +5 -5
  58. package/input/index.es.js +159 -106
  59. package/input/index.umd.js +30 -15
  60. package/input/style.css +1 -1
  61. package/input-number/index.es.js +165 -108
  62. package/input-number/index.umd.js +34 -19
  63. package/input-number/style.css +1 -1
  64. package/layout/index.umd.js +1 -1
  65. package/loading/index.es.js +19 -38
  66. package/loading/index.umd.js +1 -1
  67. package/mention/index.es.js +154 -99
  68. package/mention/index.umd.js +31 -16
  69. package/mention/style.css +1 -1
  70. package/menu/index.es.js +0 -7
  71. package/menu/index.umd.js +2 -2
  72. package/message/index.es.js +34 -34
  73. package/message/index.umd.js +5 -1
  74. package/modal/index.es.js +50 -70
  75. package/modal/index.umd.js +2 -2
  76. package/notification/index.es.js +13 -27
  77. package/notification/index.umd.js +3 -3
  78. package/overlay/index.es.js +24 -18
  79. package/overlay/index.umd.js +1 -1
  80. package/package.json +1 -1
  81. package/pagination/index.es.js +320 -222
  82. package/pagination/index.umd.js +33 -18
  83. package/pagination/style.css +1 -1
  84. package/panel/index.umd.js +1 -1
  85. package/popover/index.es.js +64 -31
  86. package/popover/index.umd.js +14 -10
  87. package/progress/index.umd.js +3 -3
  88. package/radio/index.es.js +175 -114
  89. package/radio/index.umd.js +34 -19
  90. package/radio/style.css +1 -1
  91. package/rate/index.umd.js +1 -1
  92. package/result/index.es.js +3 -3
  93. package/result/index.umd.js +1 -1
  94. package/ripple/index.es.js +5 -18
  95. package/ripple/index.umd.js +1 -1
  96. package/search/index.es.js +166 -109
  97. package/search/index.umd.js +30 -15
  98. package/search/style.css +1 -1
  99. package/select/index.es.js +255 -166
  100. package/select/index.umd.js +34 -19
  101. package/select/style.css +1 -1
  102. package/skeleton/index.umd.js +2 -2
  103. package/slider/index.es.js +15 -11
  104. package/slider/index.umd.js +1 -1
  105. package/splitter/index.es.js +94 -60
  106. package/splitter/index.umd.js +18 -14
  107. package/statistic/index.es.js +0 -21
  108. package/statistic/index.umd.js +1 -1
  109. package/status/index.umd.js +1 -1
  110. package/steps/index.umd.js +1 -1
  111. package/style.css +2 -2
  112. package/switch/index.es.js +151 -98
  113. package/switch/index.umd.js +34 -19
  114. package/switch/style.css +1 -1
  115. package/table/index.es.js +416 -284
  116. package/table/index.umd.js +33 -18
  117. package/table/style.css +1 -1
  118. package/tabs/index.umd.js +1 -1
  119. package/tag/index.es.js +3 -1
  120. package/tag/index.umd.js +1 -1
  121. package/textarea/index.es.js +160 -105
  122. package/textarea/index.umd.js +34 -19
  123. package/textarea/style.css +1 -1
  124. package/time-picker/index.es.js +180 -122
  125. package/time-picker/index.umd.js +32 -17
  126. package/time-picker/style.css +1 -1
  127. package/time-select/index.es.js +255 -166
  128. package/time-select/index.umd.js +32 -17
  129. package/time-select/style.css +1 -1
  130. package/timeline/index.umd.js +1 -1
  131. package/tooltip/index.es.js +61 -29
  132. package/tooltip/index.umd.js +15 -11
  133. package/tree/index.es.js +224 -146
  134. package/tree/index.umd.js +32 -17
  135. package/tree/style.css +1 -1
  136. package/types/accordion/src/accordion-item-hreflink.d.ts +1 -1
  137. package/types/accordion/src/accordion-item-routerlink.d.ts +1 -1
  138. package/types/accordion/src/accordion-item.d.ts +1 -1
  139. package/types/accordion/src/accordion-list.d.ts +1 -1
  140. package/types/accordion/src/accordion-menu.d.ts +1 -1
  141. package/types/accordion/src/accordion-types.d.ts +1 -1
  142. package/types/accordion/src/accordion.d.ts +1 -1
  143. package/types/accordion/src/accordion.type.d.ts +2 -2
  144. package/types/action-timeline/src/action-timeline-types.d.ts +2 -2
  145. package/types/action-timeline/src/action-timeline.d.ts +1 -1
  146. package/types/alert/src/alert-types.d.ts +2 -2
  147. package/types/alert/src/alert.d.ts +1 -1
  148. package/types/anchor/src/anchor.d.ts +1 -1
  149. package/types/anchor/src/utils.d.ts +1 -1
  150. package/types/auto-complete/src/auto-complete-types.d.ts +15 -15
  151. package/types/auto-complete/src/auto-complete.d.ts +1 -1
  152. package/types/auto-complete/src/components/dropdown.d.ts +1 -1
  153. package/types/auto-complete/src/composables/use-custom-template.d.ts +1 -1
  154. package/types/avatar/src/avatar-types.d.ts +1 -1
  155. package/types/avatar/src/avatar.d.ts +1 -1
  156. package/types/avatar/src/components/avatar-body-icon.d.ts +1 -1
  157. package/types/avatar/src/components/avatar-nobody-icon.d.ts +1 -1
  158. package/types/back-top/src/back-top-types.d.ts +3 -3
  159. package/types/back-top/src/back-top.d.ts +1 -1
  160. package/types/back-top/src/hooks/use-event-listener.d.ts +1 -1
  161. package/types/badge/src/badge-types.d.ts +3 -3
  162. package/types/badge/src/badge.d.ts +1 -1
  163. package/types/breadcrumb/src/breadcrumb-item-types.d.ts +1 -1
  164. package/types/breadcrumb/src/breadcrumb-item.d.ts +1 -1
  165. package/types/breadcrumb/src/breadcrumb-types.d.ts +1 -1
  166. package/types/breadcrumb/src/breadcrumb.d.ts +1 -1
  167. package/types/button/src/button-group.d.ts +1 -1
  168. package/types/button/src/button-types.d.ts +7 -7
  169. package/types/button/src/button.d.ts +1 -1
  170. package/types/card/src/card-types.d.ts +1 -1
  171. package/types/card/src/card.d.ts +1 -1
  172. package/types/carousel/src/carousel.d.ts +1 -1
  173. package/types/carousel/src/item.d.ts +1 -1
  174. package/types/carousel/src/types.d.ts +4 -4
  175. package/types/cascader/components/cascader-list/index.d.ts +1 -1
  176. package/types/cascader/hooks/use-cascader-item.d.ts +1 -1
  177. package/types/cascader/hooks/use-cascader-multiple.d.ts +1 -1
  178. package/types/cascader/hooks/use-cascader-options.d.ts +2 -14
  179. package/types/cascader/src/cascader-types.d.ts +10 -10
  180. package/types/cascader/src/cascader.d.ts +1 -1
  181. package/types/category-search/src/category-search-types.d.ts +7 -7
  182. package/types/category-search/src/category-search.d.ts +1 -1
  183. package/types/category-search/src/components/category-search-clear.d.ts +1 -1
  184. package/types/category-search/src/components/category-search-input.d.ts +1 -1
  185. package/types/category-search/src/components/category-search-more.d.ts +1 -1
  186. package/types/category-search/src/components/category-search-save.d.ts +1 -1
  187. package/types/category-search/src/components/category-search-tag-dropdown.d.ts +1 -1
  188. package/types/category-search/src/components/category-search-tag.d.ts +1 -1
  189. package/types/category-search/src/components/checkbox-menu.d.ts +1 -1
  190. package/types/category-search/src/components/label-menu.d.ts +1 -1
  191. package/types/category-search/src/components/number-range-menu.d.ts +1 -1
  192. package/types/category-search/src/components/radio-menu.d.ts +1 -1
  193. package/types/category-search/src/components/text-input-menu.d.ts +1 -1
  194. package/types/category-search/src/composables/use-category-search.d.ts +1 -1
  195. package/types/checkbox/src/checkbox-button.d.ts +1 -1
  196. package/types/checkbox/src/checkbox-group.d.ts +1 -1
  197. package/types/checkbox/src/checkbox-types.d.ts +7 -7
  198. package/types/checkbox/src/checkbox.d.ts +1 -1
  199. package/types/code-editor/src/code-editor-types.d.ts +3 -3
  200. package/types/code-editor/src/code-editor.d.ts +1 -1
  201. package/types/code-review/src/code-review-types.d.ts +6 -6
  202. package/types/code-review/src/code-review.d.ts +1 -1
  203. package/types/code-review/src/components/code-review-header.d.ts +1 -1
  204. package/types/code-review/src/composables/use-code-review-fold.d.ts +1 -1
  205. package/types/collapse/src/collapse-item.d.ts +1 -1
  206. package/types/collapse/src/collapse-types.d.ts +3 -3
  207. package/types/collapse/src/collapse.d.ts +1 -1
  208. package/types/color-picker/src/color-picker-types.d.ts +1 -1
  209. package/types/color-picker/src/color-picker.d.ts +1 -1
  210. package/types/color-picker/src/components/color-alpha-slider/color-alpha-slider.d.ts +1 -1
  211. package/types/color-picker/src/components/color-alpha-slider/color-picker-alpha-slider-types.d.ts +1 -1
  212. package/types/color-picker/src/components/color-basic/color-basic-types.d.ts +1 -1
  213. package/types/color-picker/src/components/color-basic/color-basic.d.ts +1 -1
  214. package/types/color-picker/src/components/color-edit/color-edit.d.ts +1 -1
  215. package/types/color-picker/src/components/color-edit/color-picker-edit-types.d.ts +1 -1
  216. package/types/color-picker/src/components/color-history/color-history.d.ts +1 -1
  217. package/types/color-picker/src/components/color-history/color-picker-history-types.d.ts +1 -1
  218. package/types/color-picker/src/components/color-hue-slider/color-hue-slider.d.ts +1 -1
  219. package/types/color-picker/src/components/color-hue-slider/color-picker-hue-slider-types.d.ts +1 -1
  220. package/types/color-picker/src/components/color-palette/color-palette.d.ts +1 -1
  221. package/types/color-picker/src/components/color-palette/color-picker-palette-types.d.ts +1 -1
  222. package/types/color-picker/src/components/color-picker-panel/color-picker-panel-types.d.ts +1 -1
  223. package/types/color-picker/src/components/color-picker-panel/color-picker-panel.d.ts +1 -1
  224. package/types/color-picker/src/utils/color-utils-types.d.ts +11 -11
  225. package/types/color-picker/src/utils/dom-dragger.d.ts +1 -1
  226. package/types/comment/src/comment-types.d.ts +1 -1
  227. package/types/comment/src/comment.d.ts +1 -1
  228. package/types/countdown/src/countdown-types.d.ts +1 -1
  229. package/types/countdown/src/countdown.d.ts +1 -1
  230. package/types/data-grid/src/components/fix-head-grid.d.ts +1 -1
  231. package/types/data-grid/src/components/grid-body.d.ts +1 -1
  232. package/types/data-grid/src/components/grid-head.d.ts +1 -1
  233. package/types/data-grid/src/components/grid-td.d.ts +1 -1
  234. package/types/data-grid/src/components/grid-th-filter.d.ts +1 -1
  235. package/types/data-grid/src/components/grid-th-multiple-filter.d.ts +1 -1
  236. package/types/data-grid/src/components/grid-th-single-filter.d.ts +1 -1
  237. package/types/data-grid/src/components/grid-th.d.ts +1 -1
  238. package/types/data-grid/src/components/normal-head-grid.d.ts +1 -1
  239. package/types/data-grid/src/composables/use-column-sort.d.ts +1 -1
  240. package/types/data-grid/src/composables/use-data-grid-tree.d.ts +4 -4
  241. package/types/data-grid/src/data-grid-types.d.ts +19 -19
  242. package/types/data-grid/src/data-grid.d.ts +1 -1
  243. package/types/date-picker/src/components/popup/index.d.ts +1 -3
  244. package/types/date-picker/src/components/timepicker/index.d.ts +1 -1
  245. package/types/date-picker/src/components/today-default/index.d.ts +1 -1
  246. package/types/date-picker/src/components/types.d.ts +16 -16
  247. package/types/date-picker/src/components/utils.d.ts +3 -3
  248. package/types/date-picker/src/components/vertical-slider/index.d.ts +1 -1
  249. package/types/date-picker/src/date-picker-types.d.ts +5 -5
  250. package/types/date-picker/src/date-picker.d.ts +1 -1
  251. package/types/date-picker/src/stick-slider/index.d.ts +1 -1
  252. package/types/date-picker/src/utils.d.ts +1 -1
  253. package/types/date-picker-pro/src/components/calendar-panel.d.ts +1 -1
  254. package/types/date-picker-pro/src/components/date-picker-panel.d.ts +1 -1
  255. package/types/date-picker-pro/src/components/month-calendar-panel.d.ts +1 -1
  256. package/types/date-picker-pro/src/components/range-date-picker-pro.d.ts +1 -1
  257. package/types/date-picker-pro/src/components/time-picker-panel.d.ts +1 -1
  258. package/types/date-picker-pro/src/components/year-calendar-panel.d.ts +1 -1
  259. package/types/date-picker-pro/src/date-picker-pro-types.d.ts +4 -4
  260. package/types/date-picker-pro/src/date-picker-pro.d.ts +1 -1
  261. package/types/date-picker-pro/src/range-date-picker-types.d.ts +1 -1
  262. package/types/dragdrop-new/src/batch-draggable.directive.d.ts +1 -1
  263. package/types/dragdrop-new/src/directive-base.d.ts +1 -1
  264. package/types/dragdrop-new/src/drag-preview-clone-dom-ref.component.d.ts +1 -1
  265. package/types/dragdrop-new/src/drag-preview.component.d.ts +2 -2
  266. package/types/dragdrop-new/src/drop-scroll-enhance.directive.d.ts +5 -5
  267. package/types/dragdrop-new/src/droppable.directive.d.ts +1 -1
  268. package/types/drawer/src/components/drawer-overlay.d.ts +1 -1
  269. package/types/drawer/src/drawer-types.d.ts +6 -6
  270. package/types/drawer/src/drawer.d.ts +1 -1
  271. package/types/dropdown/src/dropdown-menu-types.d.ts +5 -5
  272. package/types/dropdown/src/dropdown-menu.d.ts +1 -1
  273. package/types/dropdown/src/dropdown-types.d.ts +7 -12
  274. package/types/dropdown/src/dropdown.d.ts +3 -12
  275. package/types/echarts/src/echarts-types.d.ts +1 -1
  276. package/types/echarts/src/echarts.d.ts +1 -1
  277. package/types/editable-select/src/components/dropdown/dropdown-types.d.ts +1 -1
  278. package/types/editable-select/src/components/dropdown/dropdown.d.ts +1 -1
  279. package/types/editable-select/src/components/option/option-types.d.ts +1 -1
  280. package/types/editable-select/src/components/option/option.d.ts +1 -1
  281. package/types/editable-select/src/composables/use-select.d.ts +1 -1
  282. package/types/editable-select/src/editable-select-types.d.ts +5 -5
  283. package/types/editable-select/src/editable-select.d.ts +1 -1
  284. package/types/editor-md/src/components/font-color.d.ts +1 -1
  285. package/types/editor-md/src/components/font-size.d.ts +1 -1
  286. package/types/editor-md/src/components/md-render.d.ts +1 -1
  287. package/types/editor-md/src/components/toolbar-item.d.ts +1 -1
  288. package/types/editor-md/src/components/toolbar.d.ts +1 -1
  289. package/types/editor-md/src/editor-md-types.d.ts +5 -5
  290. package/types/editor-md/src/editor-md.d.ts +1 -1
  291. package/types/form/src/components/form-control/form-control-types.d.ts +2 -2
  292. package/types/form/src/components/form-control/form-control.d.ts +1 -1
  293. package/types/form/src/components/form-item/form-item-types.d.ts +9 -8
  294. package/types/form/src/components/form-item/form-item.d.ts +1 -1
  295. package/types/form/src/components/form-label/form-label-types.d.ts +1 -1
  296. package/types/form/src/components/form-label/form-label.d.ts +1 -1
  297. package/types/form/src/components/form-operation/form-operation.d.ts +1 -1
  298. package/types/form/src/form-types.d.ts +14 -9
  299. package/types/form/src/form.d.ts +1 -1
  300. package/types/fullscreen/src/fullscreen-types.d.ts +2 -2
  301. package/types/fullscreen/src/fullscreen.d.ts +1 -1
  302. package/types/gantt/src/gantt-bar/index.d.ts +1 -1
  303. package/types/gantt/src/gantt-bar-parent/index.d.ts +1 -1
  304. package/types/gantt/src/gantt-milestone/index.d.ts +1 -1
  305. package/types/gantt/src/gantt-milestone/milestone-icon.d.ts +1 -1
  306. package/types/gantt/src/gantt-scale/index.d.ts +4 -1
  307. package/types/gantt/src/gantt-tools/index.d.ts +1 -1
  308. package/types/gantt/src/gantt-types.d.ts +1 -1
  309. package/types/gantt/src/gantt.d.ts +1 -1
  310. package/types/git-graph/src/git-graph-types.d.ts +1 -1
  311. package/types/git-graph/src/git-graph.d.ts +1 -1
  312. package/types/grid/src/col.d.ts +1 -1
  313. package/types/grid/src/composables/use-screen.d.ts +2 -2
  314. package/types/grid/src/grid-types.d.ts +7 -7
  315. package/types/grid/src/row.d.ts +1 -1
  316. package/types/icon/src/icon-group.d.ts +1 -1
  317. package/types/icon/src/icon.d.ts +1 -1
  318. package/types/icon/src/svg-icon.d.ts +1 -1
  319. package/types/image-preview/src/image-preview-types.d.ts +1 -1
  320. package/types/image-preview/src/image-preview.d.ts +1 -1
  321. package/types/input/src/input-types.d.ts +2 -2
  322. package/types/input/src/input.d.ts +1 -1
  323. package/types/input-icon/src/input-icon.d.ts +1 -1
  324. package/types/input-number/src/input-number-types.d.ts +2 -2
  325. package/types/input-number/src/input-number.d.ts +1 -1
  326. package/types/layout/src/aside.d.ts +1 -1
  327. package/types/layout/src/content.d.ts +1 -1
  328. package/types/layout/src/footer.d.ts +1 -1
  329. package/types/layout/src/header.d.ts +1 -1
  330. package/types/layout/src/layout.d.ts +1 -1
  331. package/types/list/src/list-item.d.ts +1 -1
  332. package/types/list/src/list.d.ts +1 -1
  333. package/types/loading/src/loading-service.d.ts +1 -1
  334. package/types/loading/src/loading-types.d.ts +2 -2
  335. package/types/loading/src/loading.d.ts +52 -0
  336. package/types/locale/index.d.ts +1 -1
  337. package/types/mention/src/mention-types.d.ts +1 -1
  338. package/types/mention/src/mention.d.ts +1 -1
  339. package/types/menu/src/components/menu-item/menu-item-types.d.ts +1 -1
  340. package/types/menu/src/components/menu-item/menu-item.d.ts +1 -1
  341. package/types/menu/src/components/menu-transition/menu-transition.d.ts +1 -1
  342. package/types/menu/src/components/sub-menu/sub-menu-types.d.ts +1 -1
  343. package/types/menu/src/components/sub-menu/sub-menu.d.ts +1 -1
  344. package/types/menu/src/components/sub-menu/use-sub-menu.d.ts +1 -1
  345. package/types/menu/src/menu-types.d.ts +2 -2
  346. package/types/menu/src/menu.d.ts +1 -1
  347. package/types/message/src/instance.d.ts +2 -2
  348. package/types/message/src/message-icon-close.d.ts +1 -1
  349. package/types/message/src/message-types.d.ts +5 -5
  350. package/types/message/src/message.d.ts +1 -1
  351. package/types/modal/src/components/body.d.ts +1 -1
  352. package/types/modal/src/components/footer.d.ts +1 -1
  353. package/types/modal/src/components/header.d.ts +1 -1
  354. package/types/modal/src/modal-types.d.ts +4 -4
  355. package/types/modal/src/modal.d.ts +1 -1
  356. package/types/multi-auto-complete/src/multi-auto-complete-types.d.ts +1 -1
  357. package/types/multi-auto-complete/src/multi-auto-complete.d.ts +1 -1
  358. package/types/nav-sprite/src/nav-sprite-types.d.ts +1 -1
  359. package/types/nav-sprite/src/nav-sprite.d.ts +1 -1
  360. package/types/notification/src/notification-icon-close.d.ts +1 -1
  361. package/types/notification/src/notification-image.d.ts +1 -1
  362. package/types/notification/src/notification-types.d.ts +5 -5
  363. package/types/notification/src/notification.d.ts +1 -1
  364. package/types/overlay/src/base-overlay.d.ts +1 -1
  365. package/types/overlay/src/fixed-overlay/fixed-overlay-types.d.ts +1 -1
  366. package/types/overlay/src/fixed-overlay/index.d.ts +1 -1
  367. package/types/overlay/src/flexible-overlay/flexible-overlay-types.d.ts +6 -6
  368. package/types/overlay/src/flexible-overlay/index.d.ts +1 -1
  369. package/types/pagination/src/components/config-menu.d.ts +1 -1
  370. package/types/pagination/src/components/jump-page.d.ts +1 -1
  371. package/types/pagination/src/components/page-nums.d.ts +1 -1
  372. package/types/pagination/src/components/page-size.d.ts +1 -1
  373. package/types/pagination/src/pagination-types.d.ts +3 -3
  374. package/types/pagination/src/pagination.d.ts +1 -1
  375. package/types/panel/src/components/panel-body.d.ts +1 -1
  376. package/types/panel/src/components/panel-footer.d.ts +1 -1
  377. package/types/panel/src/components/panel-header.d.ts +1 -1
  378. package/types/panel/src/panel-types.d.ts +3 -3
  379. package/types/panel/src/panel.d.ts +1 -1
  380. package/types/popover/src/popover-icon.d.ts +1 -1
  381. package/types/popover/src/popover-types.d.ts +6 -11
  382. package/types/popover/src/popover.d.ts +3 -12
  383. package/types/progress/src/progress-types.d.ts +1 -1
  384. package/types/progress/src/progress.d.ts +1 -1
  385. package/types/quadrant-diagram/src/components/axis/index.d.ts +1 -1
  386. package/types/quadrant-diagram/src/components/axis/types.d.ts +1 -1
  387. package/types/quadrant-diagram/src/quadrant-diagram-types.d.ts +1 -1
  388. package/types/quadrant-diagram/src/quadrant-diagram.d.ts +1 -1
  389. package/types/quadrant-diagram/type.d.ts +1 -1
  390. package/types/radio/src/radio-button.d.ts +1 -1
  391. package/types/radio/src/radio-group.d.ts +1 -1
  392. package/types/radio/src/radio-types.d.ts +6 -6
  393. package/types/radio/src/radio.d.ts +1 -1
  394. package/types/rate/src/rate-types.d.ts +2 -2
  395. package/types/rate/src/rate.d.ts +3 -3
  396. package/types/read-tip/src/read-tip-template.d.ts +1 -1
  397. package/types/read-tip/src/read-tip-types.d.ts +7 -7
  398. package/types/read-tip/src/read-tip.d.ts +1 -1
  399. package/types/result/src/result-types.d.ts +2 -2
  400. package/types/result/src/result.d.ts +1 -1
  401. package/types/search/src/composables/use-search-keydown.d.ts +1 -1
  402. package/types/search/src/composables/use-search-keywords.d.ts +1 -1
  403. package/types/search/src/search-types.d.ts +3 -3
  404. package/types/search/src/search.d.ts +1 -1
  405. package/types/select/src/components/option-group.d.ts +1 -1
  406. package/types/select/src/components/option.d.ts +1 -1
  407. package/types/select/src/components/select-content.d.ts +1 -1
  408. package/types/select/src/select-types.d.ts +15 -10
  409. package/types/select/src/select.d.ts +1 -1
  410. package/types/select/src/utils.d.ts +1 -1
  411. package/types/shared/components/popper-trigger/src/popper-trigger.d.ts +1 -1
  412. package/types/shared/devui-api/devui-api.d.ts +1 -1
  413. package/types/shared/devui-api-table/devui-api-table.d.ts +1 -1
  414. package/types/shared/devui-api-table/devui-api-table.type.d.ts +3 -3
  415. package/types/shared/devui-codebox/codebox-collapse-icon.d.ts +1 -1
  416. package/types/shared/devui-codebox/codebox-copied-icon.d.ts +1 -1
  417. package/types/shared/devui-codebox/codebox-copy-icon.d.ts +1 -1
  418. package/types/shared/devui-codebox/devui-codebox.d.ts +1 -1
  419. package/types/shared/devui-highlight/devui-highlight.d.ts +1 -1
  420. package/types/shared/hooks/use-namespace.d.ts +1 -1
  421. package/types/shared/utils/use-namespace.d.ts +1 -1
  422. package/types/skeleton/src/components/skeleton-item-types.d.ts +3 -3
  423. package/types/skeleton/src/components/skeleton-item.d.ts +1 -1
  424. package/types/skeleton/src/skeleton-types.d.ts +1 -1
  425. package/types/skeleton/src/skeleton.d.ts +1 -3
  426. package/types/slider/src/slider-types.d.ts +1 -1
  427. package/types/slider/src/slider.d.ts +1 -1
  428. package/types/splitter/src/components/splitter-bar-types.d.ts +1 -1
  429. package/types/splitter/src/components/splitter-bar.d.ts +1 -1
  430. package/types/splitter/src/components/splitter-pane-types.d.ts +1 -1
  431. package/types/splitter/src/components/splitter-pane.d.ts +1 -1
  432. package/types/splitter/src/d-resize-directive.d.ts +1 -1
  433. package/types/splitter/src/splitter-store.d.ts +1 -1
  434. package/types/splitter/src/splitter-types.d.ts +3 -3
  435. package/types/splitter/src/splitter.d.ts +1 -1
  436. package/types/statistic/src/statistic-types.d.ts +1 -1
  437. package/types/statistic/src/statistic.d.ts +1 -1
  438. package/types/statistic/src/utils/animation.d.ts +5 -5
  439. package/types/statistic/src/utils/separator.d.ts +1 -1
  440. package/types/status/src/status-types.d.ts +1 -1
  441. package/types/status/src/status.d.ts +1 -1
  442. package/types/steps/src/step-types.d.ts +2 -2
  443. package/types/steps/src/step.d.ts +1 -1
  444. package/types/steps/src/steps-types.d.ts +2 -2
  445. package/types/steps/src/steps.d.ts +1 -1
  446. package/types/steps-guide/__tests__/steps-guide-demo.d.ts +1 -1
  447. package/types/steps-guide/src/steps-guide-types.d.ts +4 -4
  448. package/types/steps-guide/src/steps-guide.d.ts +1 -1
  449. package/types/sticky/src/sticky.d.ts +1 -1
  450. package/types/switch/src/switch-types.d.ts +3 -3
  451. package/types/switch/src/switch.d.ts +1 -1
  452. package/types/table/src/components/body/body.d.ts +1 -1
  453. package/types/table/src/components/body-td/body-td-types.d.ts +1 -1
  454. package/types/table/src/components/body-td/body-td.d.ts +1 -1
  455. package/types/table/src/components/colgroup/colgroup.d.ts +1 -1
  456. package/types/table/src/components/column/column-types.d.ts +8 -8
  457. package/types/table/src/components/column/column.d.ts +1 -1
  458. package/types/table/src/components/filter/filter-types.d.ts +1 -1
  459. package/types/table/src/components/filter/filter.d.ts +1 -1
  460. package/types/table/src/components/filter/multiple-filter.d.ts +1 -1
  461. package/types/table/src/components/filter/single-filter.d.ts +1 -1
  462. package/types/table/src/components/fix-header.d.ts +1 -1
  463. package/types/table/src/components/header/header.d.ts +1 -1
  464. package/types/table/src/components/header/header.type.d.ts +1 -1
  465. package/types/table/src/components/header-th/header-th-types.d.ts +1 -1
  466. package/types/table/src/components/header-th/header-th.d.ts +1 -1
  467. package/types/table/src/components/normal-header.d.ts +1 -1
  468. package/types/table/src/components/sort/sort-types.d.ts +1 -1
  469. package/types/table/src/components/sort/sort.d.ts +1 -1
  470. package/types/table/src/table-types.d.ts +8 -8
  471. package/types/table/src/table.d.ts +1 -1
  472. package/types/tabs/src/components/tab/tab-types.d.ts +1 -1
  473. package/types/tabs/src/components/tab/tab.d.ts +1 -1
  474. package/types/tabs/src/components/tab-nav/tab-nav.d.ts +1 -1
  475. package/types/tabs/src/tabs-types.d.ts +5 -5
  476. package/types/tabs/src/tabs.d.ts +1 -1
  477. package/types/tag/src/tag-types.d.ts +3 -3
  478. package/types/tag/src/tag.d.ts +1 -1
  479. package/types/tag-input/src/components/icon-remove.d.ts +1 -1
  480. package/types/tag-input/src/tag-input-types.d.ts +3 -3
  481. package/types/tag-input/src/tag-input.d.ts +1 -1
  482. package/types/textarea/src/textarea-types.d.ts +3 -3
  483. package/types/textarea/src/textarea.d.ts +1 -1
  484. package/types/textarea/src/utils.d.ts +1 -1
  485. package/types/time-picker/src/components/popup-line/index.d.ts +1 -1
  486. package/types/time-picker/src/components/popup-line/popup-line-types.d.ts +1 -1
  487. package/types/time-picker/src/components/time-popup/index.d.ts +1 -1
  488. package/types/time-picker/src/components/time-popup/time-popup-types.d.ts +1 -1
  489. package/types/time-picker/src/components/time-scroll/index.d.ts +10 -1
  490. package/types/time-picker/src/time-picker-types.d.ts +6 -1
  491. package/types/time-picker/src/time-picker.d.ts +1 -1
  492. package/types/time-picker/src/types.d.ts +8 -8
  493. package/types/time-select/src/time-select-types.d.ts +3 -3
  494. package/types/time-select/src/time-select.d.ts +1 -1
  495. package/types/timeline/src/components/timeline-item-types.d.ts +3 -3
  496. package/types/timeline/src/components/timeline-item.d.ts +1 -1
  497. package/types/timeline/src/timeline-types.d.ts +5 -5
  498. package/types/timeline/src/timeline.d.ts +1 -1
  499. package/types/tooltip/src/tooltip-types.d.ts +4 -9
  500. package/types/tooltip/src/tooltip.d.ts +3 -12
  501. package/types/transfer/src/components/transfer-body.d.ts +1 -1
  502. package/types/transfer/src/components/transfer-header.d.ts +1 -1
  503. package/types/transfer/src/components/transfer-operate.d.ts +1 -1
  504. package/types/transfer/src/components/transfer-panel.d.ts +1 -1
  505. package/types/transfer/src/composables/use-transfer-body.d.ts +80 -0
  506. package/types/transfer/src/composables/use-transfer-header.d.ts +1 -1
  507. package/types/transfer/src/composables/use-transfer-operate.d.ts +1 -1
  508. package/types/transfer/src/composables/use-transfer-panel.d.ts +1 -1
  509. package/types/transfer/src/transfer-types.d.ts +3 -3
  510. package/types/transfer/src/transfer.d.ts +1 -1
  511. package/types/tree/src/components/tree-node-content.d.ts +1 -1
  512. package/types/tree/src/components/tree-node-loading.d.ts +1 -1
  513. package/types/tree/src/components/tree-node-toggle.d.ts +1 -1
  514. package/types/tree/src/components/tree-node.d.ts +1 -1
  515. package/types/tree/src/composables/use-tree-types.d.ts +7 -7
  516. package/types/tree/src/tree-types.d.ts +2 -2
  517. package/types/tree/src/tree.d.ts +1 -1
  518. package/types/tree/src/utils.d.ts +1 -1
  519. package/types/tree-select/assets/close.d.ts +1 -1
  520. package/types/tree-select/assets/open.d.ts +1 -1
  521. package/types/tree-select/src/tree-select-types.d.ts +3 -3
  522. package/types/tree-select/src/tree-select.d.ts +1 -1
  523. package/types/upload/src/composables/use-select-files.d.ts +1 -1
  524. package/types/upload/src/upload-types.d.ts +4 -4
  525. package/types/upload/src/upload.d.ts +11 -34
  526. package/types/virtual-list/src/components/container.d.ts +1 -1
  527. package/types/virtual-list/src/components/resize-observer.d.ts +1 -1
  528. package/types/virtual-list/src/components/scroll-bar.d.ts +1 -1
  529. package/types/virtual-list/src/utils.d.ts +2 -6
  530. package/types/virtual-list/src/virtual-list-types.d.ts +4 -4
  531. package/types/virtual-list/src/virtual-list.d.ts +1 -1
  532. package/upload/index.es.js +28 -63
  533. package/upload/index.umd.js +3 -3
  534. package/vue-devui.es.js +3053 -2539
  535. package/vue-devui.umd.js +101 -99
  536. package/types/carousel/src/components/carousel-icons.d.ts +0 -2
  537. package/types/category-search/src/components/category-search-icons.d.ts +0 -4
  538. package/types/code-review/src/components/code-review-icons.d.ts +0 -6
  539. package/types/data-grid/src/components/grid-icons.d.ts +0 -4
  540. package/types/form/src/components/form-icons.d.ts +0 -4
  541. package/types/icon/src/icon-types.d.ts +0 -54
  542. package/types/input-number/src/input-number-icons.d.ts +0 -2
  543. package/types/menu/src/composables/use-layer-operate.d.ts +0 -9
  544. package/types/message/src/message-icons.d.ts +0 -4
  545. package/types/modal/src/components/modal-icons.d.ts +0 -1
  546. package/types/notification/src/notification-icons.d.ts +0 -4
  547. package/types/pagination/src/components/page-link-icons.d.ts +0 -2
  548. package/types/popover/src/popover-icons.d.ts +0 -4
  549. package/types/shared/hooks/use-demo.d.ts +0 -9
  550. package/types/skeleton/src/components/image-icon.d.ts +0 -1
  551. package/types/svg-icons/index.d.ts +0 -3
@@ -4,22 +4,7 @@ var __publicField = (obj, key, value) => {
4
4
  __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
5
5
  return value;
6
6
  };
7
- var _a;
8
7
  import { provide, defineComponent, createApp, inject, onMounted, nextTick, watch, onBeforeUnmount, createVNode } from "vue";
9
- /*! *****************************************************************************
10
- Copyright (c) Microsoft Corporation.
11
-
12
- Permission to use, copy, modify, and/or distribute this software for any
13
- purpose with or without fee is hereby granted.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
16
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
17
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
18
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
19
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
- PERFORMANCE OF THIS SOFTWARE.
22
- ***************************************************************************** */
23
8
  var extendStatics = function(d, b) {
24
9
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
25
10
  d2.__proto__ = b2;
@@ -83,7 +68,7 @@ function __generator(thisArg, body) {
83
68
  function step(op) {
84
69
  if (f)
85
70
  throw new TypeError("Generator is already executing.");
86
- while (_)
71
+ while (g && (g = 0, op[0] && (_ = 0)), _)
87
72
  try {
88
73
  if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
89
74
  return t;
@@ -247,6 +232,10 @@ function __asyncValues(o) {
247
232
  }, reject);
248
233
  }
249
234
  }
235
+ typeof SuppressedError === "function" ? SuppressedError : function(error, suppressed, message) {
236
+ var e = new Error(message);
237
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
238
+ };
250
239
  function isFunction(value) {
251
240
  return typeof value === "function";
252
241
  }
@@ -284,7 +273,7 @@ var Subscription = function() {
284
273
  this._finalizers = null;
285
274
  }
286
275
  Subscription2.prototype.unsubscribe = function() {
287
- var e_1, _a2, e_2, _b;
276
+ var e_1, _a, e_2, _b;
288
277
  var errors;
289
278
  if (!this.closed) {
290
279
  this.closed = true;
@@ -301,8 +290,8 @@ var Subscription = function() {
301
290
  e_1 = { error: e_1_1 };
302
291
  } finally {
303
292
  try {
304
- if (_parentage_1_1 && !_parentage_1_1.done && (_a2 = _parentage_1.return))
305
- _a2.call(_parentage_1);
293
+ if (_parentage_1_1 && !_parentage_1_1.done && (_a = _parentage_1.return))
294
+ _a.call(_parentage_1);
306
295
  } finally {
307
296
  if (e_1)
308
297
  throw e_1.error;
@@ -355,7 +344,7 @@ var Subscription = function() {
355
344
  }
356
345
  };
357
346
  Subscription2.prototype.add = function(teardown) {
358
- var _a2;
347
+ var _a;
359
348
  if (teardown && teardown !== this) {
360
349
  if (this.closed) {
361
350
  execFinalizer(teardown);
@@ -366,7 +355,7 @@ var Subscription = function() {
366
355
  }
367
356
  teardown._addParent(this);
368
357
  }
369
- (this._finalizers = (_a2 = this._finalizers) !== null && _a2 !== void 0 ? _a2 : []).push(teardown);
358
+ (this._finalizers = (_a = this._finalizers) !== null && _a !== void 0 ? _a : []).push(teardown);
370
359
  }
371
360
  }
372
361
  };
@@ -438,32 +427,13 @@ var timeoutProvider = {
438
427
  };
439
428
  function reportUnhandledError(err) {
440
429
  timeoutProvider.setTimeout(function() {
441
- var onUnhandledError = config.onUnhandledError;
442
- if (onUnhandledError) {
443
- onUnhandledError(err);
444
- } else {
430
+ {
445
431
  throw err;
446
432
  }
447
433
  });
448
434
  }
449
435
  function noop() {
450
436
  }
451
- var COMPLETE_NOTIFICATION = function() {
452
- return createNotification("C", void 0, void 0);
453
- }();
454
- function errorNotification(error) {
455
- return createNotification("E", void 0, error);
456
- }
457
- function nextNotification(value) {
458
- return createNotification("N", value, void 0);
459
- }
460
- function createNotification(kind, value, error) {
461
- return {
462
- kind,
463
- value,
464
- error
465
- };
466
- }
467
437
  var context = null;
468
438
  function errorContext(cb) {
469
439
  if (config.useDeprecatedSynchronousErrorHandling) {
@@ -473,7 +443,7 @@ function errorContext(cb) {
473
443
  }
474
444
  cb();
475
445
  if (isRoot) {
476
- var _a2 = context, errorThrown = _a2.errorThrown, error = _a2.error;
446
+ var _a = context, errorThrown = _a.errorThrown, error = _a.error;
477
447
  context = null;
478
448
  if (errorThrown) {
479
449
  throw error;
@@ -502,24 +472,24 @@ var Subscriber = function(_super) {
502
472
  return new SafeSubscriber(next, error, complete);
503
473
  };
504
474
  Subscriber2.prototype.next = function(value) {
505
- if (this.isStopped) {
506
- handleStoppedNotification(nextNotification(value), this);
507
- } else {
475
+ if (this.isStopped)
476
+ ;
477
+ else {
508
478
  this._next(value);
509
479
  }
510
480
  };
511
481
  Subscriber2.prototype.error = function(err) {
512
- if (this.isStopped) {
513
- handleStoppedNotification(errorNotification(err), this);
514
- } else {
482
+ if (this.isStopped)
483
+ ;
484
+ else {
515
485
  this.isStopped = true;
516
486
  this._error(err);
517
487
  }
518
488
  };
519
489
  Subscriber2.prototype.complete = function() {
520
- if (this.isStopped) {
521
- handleStoppedNotification(COMPLETE_NOTIFICATION, this);
522
- } else {
490
+ if (this.isStopped)
491
+ ;
492
+ else {
523
493
  this.isStopped = true;
524
494
  this._complete();
525
495
  }
@@ -632,12 +602,6 @@ function handleUnhandledError(error) {
632
602
  function defaultErrorHandler(err) {
633
603
  throw err;
634
604
  }
635
- function handleStoppedNotification(notification, subscriber) {
636
- var onStoppedNotification = config.onStoppedNotification;
637
- onStoppedNotification && timeoutProvider.setTimeout(function() {
638
- return onStoppedNotification(notification, subscriber);
639
- });
640
- }
641
605
  var EMPTY_OBSERVER = {
642
606
  closed: true,
643
607
  next: noop,
@@ -679,7 +643,7 @@ var Observable = function() {
679
643
  var _this = this;
680
644
  var subscriber = isSubscriber(observerOrNext) ? observerOrNext : new SafeSubscriber(observerOrNext, error, complete);
681
645
  errorContext(function() {
682
- var _a2 = _this, operator = _a2.operator, source = _a2.source;
646
+ var _a = _this, operator = _a.operator, source = _a.source;
683
647
  subscriber.add(operator ? operator.call(subscriber, source) : source ? _this._subscribe(subscriber) : _this._trySubscribe(subscriber));
684
648
  });
685
649
  return subscriber;
@@ -711,8 +675,8 @@ var Observable = function() {
711
675
  });
712
676
  };
713
677
  Observable2.prototype._subscribe = function(subscriber) {
714
- var _a2;
715
- return (_a2 = this.source) === null || _a2 === void 0 ? void 0 : _a2.subscribe(subscriber);
678
+ var _a;
679
+ return (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber);
716
680
  };
717
681
  Observable2.prototype[observable] = function() {
718
682
  return this;
@@ -744,8 +708,8 @@ var Observable = function() {
744
708
  return Observable2;
745
709
  }();
746
710
  function getPromiseCtor(promiseCtor) {
747
- var _a2;
748
- return (_a2 = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a2 !== void 0 ? _a2 : Promise;
711
+ var _a;
712
+ return (_a = promiseCtor !== null && promiseCtor !== void 0 ? promiseCtor : config.Promise) !== null && _a !== void 0 ? _a : Promise;
749
713
  }
750
714
  function isObserver(value) {
751
715
  return value && isFunction(value.next) && isFunction(value.error) && isFunction(value.complete);
@@ -807,11 +771,11 @@ var OperatorSubscriber = function(_super) {
807
771
  return _this;
808
772
  }
809
773
  OperatorSubscriber2.prototype.unsubscribe = function() {
810
- var _a2;
774
+ var _a;
811
775
  if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
812
776
  var closed_1 = this.closed;
813
777
  _super.prototype.unsubscribe.call(this);
814
- !closed_1 && ((_a2 = this.onFinalize) === null || _a2 === void 0 ? void 0 : _a2.call(this));
778
+ !closed_1 && ((_a = this.onFinalize) === null || _a === void 0 ? void 0 : _a.call(this));
815
779
  }
816
780
  };
817
781
  return OperatorSubscriber2;
@@ -848,7 +812,7 @@ var Subject = function(_super) {
848
812
  Subject2.prototype.next = function(value) {
849
813
  var _this = this;
850
814
  errorContext(function() {
851
- var e_1, _a2;
815
+ var e_1, _a;
852
816
  _this._throwIfClosed();
853
817
  if (!_this.isStopped) {
854
818
  if (!_this.currentObservers) {
@@ -863,8 +827,8 @@ var Subject = function(_super) {
863
827
  e_1 = { error: e_1_1 };
864
828
  } finally {
865
829
  try {
866
- if (_c && !_c.done && (_a2 = _b.return))
867
- _a2.call(_b);
830
+ if (_c && !_c.done && (_a = _b.return))
831
+ _a.call(_b);
868
832
  } finally {
869
833
  if (e_1)
870
834
  throw e_1.error;
@@ -906,8 +870,8 @@ var Subject = function(_super) {
906
870
  };
907
871
  Object.defineProperty(Subject2.prototype, "observed", {
908
872
  get: function() {
909
- var _a2;
910
- return ((_a2 = this.observers) === null || _a2 === void 0 ? void 0 : _a2.length) > 0;
873
+ var _a;
874
+ return ((_a = this.observers) === null || _a === void 0 ? void 0 : _a.length) > 0;
911
875
  },
912
876
  enumerable: false,
913
877
  configurable: true
@@ -923,7 +887,7 @@ var Subject = function(_super) {
923
887
  };
924
888
  Subject2.prototype._innerSubscribe = function(subscriber) {
925
889
  var _this = this;
926
- var _a2 = this, hasError = _a2.hasError, isStopped = _a2.isStopped, observers = _a2.observers;
890
+ var _a = this, hasError = _a.hasError, isStopped = _a.isStopped, observers = _a.observers;
927
891
  if (hasError || isStopped) {
928
892
  return EMPTY_SUBSCRIPTION;
929
893
  }
@@ -935,7 +899,7 @@ var Subject = function(_super) {
935
899
  });
936
900
  };
937
901
  Subject2.prototype._checkFinalizedStatuses = function(subscriber) {
938
- var _a2 = this, hasError = _a2.hasError, thrownError = _a2.thrownError, isStopped = _a2.isStopped;
902
+ var _a = this, hasError = _a.hasError, thrownError = _a.thrownError, isStopped = _a.isStopped;
939
903
  if (hasError) {
940
904
  subscriber.error(thrownError);
941
905
  } else if (isStopped) {
@@ -961,20 +925,20 @@ var AnonymousSubject = function(_super) {
961
925
  return _this;
962
926
  }
963
927
  AnonymousSubject2.prototype.next = function(value) {
964
- var _a2, _b;
965
- (_b = (_a2 = this.destination) === null || _a2 === void 0 ? void 0 : _a2.next) === null || _b === void 0 ? void 0 : _b.call(_a2, value);
928
+ var _a, _b;
929
+ (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.next) === null || _b === void 0 ? void 0 : _b.call(_a, value);
966
930
  };
967
931
  AnonymousSubject2.prototype.error = function(err) {
968
- var _a2, _b;
969
- (_b = (_a2 = this.destination) === null || _a2 === void 0 ? void 0 : _a2.error) === null || _b === void 0 ? void 0 : _b.call(_a2, err);
932
+ var _a, _b;
933
+ (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.error) === null || _b === void 0 ? void 0 : _b.call(_a, err);
970
934
  };
971
935
  AnonymousSubject2.prototype.complete = function() {
972
- var _a2, _b;
973
- (_b = (_a2 = this.destination) === null || _a2 === void 0 ? void 0 : _a2.complete) === null || _b === void 0 ? void 0 : _b.call(_a2);
936
+ var _a, _b;
937
+ (_b = (_a = this.destination) === null || _a === void 0 ? void 0 : _a.complete) === null || _b === void 0 ? void 0 : _b.call(_a);
974
938
  };
975
939
  AnonymousSubject2.prototype._subscribe = function(subscriber) {
976
- var _a2, _b;
977
- return (_b = (_a2 = this.source) === null || _a2 === void 0 ? void 0 : _a2.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;
940
+ var _a, _b;
941
+ return (_b = (_a = this.source) === null || _a === void 0 ? void 0 : _a.subscribe(subscriber)) !== null && _b !== void 0 ? _b : EMPTY_SUBSCRIPTION;
978
942
  };
979
943
  return AnonymousSubject2;
980
944
  }(Subject);
@@ -998,7 +962,7 @@ var BehaviorSubject = function(_super) {
998
962
  return subscription;
999
963
  };
1000
964
  BehaviorSubject2.prototype.getValue = function() {
1001
- var _a2 = this, hasError = _a2.hasError, thrownError = _a2.thrownError, _value = _a2._value;
965
+ var _a = this, hasError = _a.hasError, thrownError = _a.thrownError, _value = _a._value;
1002
966
  if (hasError) {
1003
967
  throw thrownError;
1004
968
  }
@@ -1054,7 +1018,7 @@ var AsyncAction = function(_super) {
1054
1018
  return _this;
1055
1019
  }
1056
1020
  AsyncAction2.prototype.schedule = function(state, delay) {
1057
- var _a2;
1021
+ var _a;
1058
1022
  if (delay === void 0) {
1059
1023
  delay = 0;
1060
1024
  }
@@ -1069,7 +1033,7 @@ var AsyncAction = function(_super) {
1069
1033
  }
1070
1034
  this.pending = true;
1071
1035
  this.delay = delay;
1072
- this.id = (_a2 = this.id) !== null && _a2 !== void 0 ? _a2 : this.requestAsyncId(scheduler, this.id, delay);
1036
+ this.id = (_a = this.id) !== null && _a !== void 0 ? _a : this.requestAsyncId(scheduler, this.id, delay);
1073
1037
  return this;
1074
1038
  };
1075
1039
  AsyncAction2.prototype.requestAsyncId = function(scheduler, _id, delay) {
@@ -1118,7 +1082,7 @@ var AsyncAction = function(_super) {
1118
1082
  };
1119
1083
  AsyncAction2.prototype.unsubscribe = function() {
1120
1084
  if (!this.closed) {
1121
- var _a2 = this, id = _a2.id, scheduler = _a2.scheduler;
1085
+ var _a = this, id = _a.id, scheduler = _a.scheduler;
1122
1086
  var actions = scheduler.actions;
1123
1087
  this.work = this.state = this.scheduler = null;
1124
1088
  this.pending = false;
@@ -1227,7 +1191,7 @@ function isIterable(input) {
1227
1191
  }
1228
1192
  function readableStreamLikeToAsyncGenerator(readableStream) {
1229
1193
  return __asyncGenerator(this, arguments, function readableStreamLikeToAsyncGenerator_1() {
1230
- var reader, _a2, value, done;
1194
+ var reader, _a, value, done;
1231
1195
  return __generator(this, function(_b) {
1232
1196
  switch (_b.label) {
1233
1197
  case 0:
@@ -1239,7 +1203,7 @@ function readableStreamLikeToAsyncGenerator(readableStream) {
1239
1203
  case 2:
1240
1204
  return [4, __await(reader.read())];
1241
1205
  case 3:
1242
- _a2 = _b.sent(), value = _a2.value, done = _a2.done;
1206
+ _a = _b.sent(), value = _a.value, done = _a.done;
1243
1207
  if (!done)
1244
1208
  return [3, 5];
1245
1209
  return [4, __await(void 0)];
@@ -1323,7 +1287,7 @@ function fromPromise(promise) {
1323
1287
  }
1324
1288
  function fromIterable(iterable) {
1325
1289
  return new Observable(function(subscriber) {
1326
- var e_1, _a2;
1290
+ var e_1, _a;
1327
1291
  try {
1328
1292
  for (var iterable_1 = __values(iterable), iterable_1_1 = iterable_1.next(); !iterable_1_1.done; iterable_1_1 = iterable_1.next()) {
1329
1293
  var value = iterable_1_1.value;
@@ -1336,8 +1300,8 @@ function fromIterable(iterable) {
1336
1300
  e_1 = { error: e_1_1 };
1337
1301
  } finally {
1338
1302
  try {
1339
- if (iterable_1_1 && !iterable_1_1.done && (_a2 = iterable_1.return))
1340
- _a2.call(iterable_1);
1303
+ if (iterable_1_1 && !iterable_1_1.done && (_a = iterable_1.return))
1304
+ _a.call(iterable_1);
1341
1305
  } finally {
1342
1306
  if (e_1)
1343
1307
  throw e_1.error;
@@ -1358,7 +1322,7 @@ function fromReadableStreamLike(readableStream) {
1358
1322
  }
1359
1323
  function process(asyncIterable, subscriber) {
1360
1324
  var asyncIterable_1, asyncIterable_1_1;
1361
- var e_2, _a2;
1325
+ var e_2, _a;
1362
1326
  return __awaiter(this, void 0, void 0, function() {
1363
1327
  var value, e_2_1;
1364
1328
  return __generator(this, function(_b) {
@@ -1388,9 +1352,9 @@ function process(asyncIterable, subscriber) {
1388
1352
  return [3, 11];
1389
1353
  case 6:
1390
1354
  _b.trys.push([6, , 9, 10]);
1391
- if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a2 = asyncIterable_1.return)))
1355
+ if (!(asyncIterable_1_1 && !asyncIterable_1_1.done && (_a = asyncIterable_1.return)))
1392
1356
  return [3, 8];
1393
- return [4, _a2.call(asyncIterable_1)];
1357
+ return [4, _a.call(asyncIterable_1)];
1394
1358
  case 7:
1395
1359
  _b.sent();
1396
1360
  _b.label = 8;
@@ -1486,11 +1450,11 @@ function scheduleIterable(input, scheduler) {
1486
1450
  executeSchedule(subscriber, scheduler, function() {
1487
1451
  iterator$1 = input[iterator]();
1488
1452
  executeSchedule(subscriber, scheduler, function() {
1489
- var _a2;
1453
+ var _a;
1490
1454
  var value;
1491
1455
  var done;
1492
1456
  try {
1493
- _a2 = iterator$1.next(), value = _a2.value, done = _a2.done;
1457
+ _a = iterator$1.next(), value = _a.value, done = _a.done;
1494
1458
  } catch (err) {
1495
1459
  subscriber.error(err);
1496
1460
  return;
@@ -1667,11 +1631,11 @@ function fromEvent(target, eventName, options, resultSelector) {
1667
1631
  if (resultSelector) {
1668
1632
  return fromEvent(target, eventName, options).pipe(mapOneOrManyArgs(resultSelector));
1669
1633
  }
1670
- var _a2 = __read(isEventTarget(target) ? eventTargetMethods.map(function(methodName) {
1634
+ var _a = __read(isEventTarget(target) ? eventTargetMethods.map(function(methodName) {
1671
1635
  return function(handler) {
1672
1636
  return target[methodName](eventName, handler, options);
1673
1637
  };
1674
- }) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [], 2), add = _a2[0], remove = _a2[1];
1638
+ }) : isNodeStyleEventEmitter(target) ? nodeEventEmitterMethods.map(toCommonHandlerRegistry(target, eventName)) : isJQueryStyleEventEmitter(target) ? jqueryMethods.map(toCommonHandlerRegistry(target, eventName)) : [], 2), add = _a[0], remove = _a[1];
1675
1639
  if (!add) {
1676
1640
  if (isArrayLike(target)) {
1677
1641
  return mergeMap(function(subTarget) {
@@ -1829,27 +1793,27 @@ function defaultCompare(a, b) {
1829
1793
  function tap(observerOrNext, error, complete) {
1830
1794
  var tapObserver = isFunction(observerOrNext) || error || complete ? { next: observerOrNext, error, complete } : observerOrNext;
1831
1795
  return tapObserver ? operate(function(source, subscriber) {
1832
- var _a2;
1833
- (_a2 = tapObserver.subscribe) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver);
1796
+ var _a;
1797
+ (_a = tapObserver.subscribe) === null || _a === void 0 ? void 0 : _a.call(tapObserver);
1834
1798
  var isUnsub = true;
1835
1799
  source.subscribe(createOperatorSubscriber(subscriber, function(value) {
1836
- var _a3;
1837
- (_a3 = tapObserver.next) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver, value);
1800
+ var _a2;
1801
+ (_a2 = tapObserver.next) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver, value);
1838
1802
  subscriber.next(value);
1839
1803
  }, function() {
1840
- var _a3;
1804
+ var _a2;
1841
1805
  isUnsub = false;
1842
- (_a3 = tapObserver.complete) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver);
1806
+ (_a2 = tapObserver.complete) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver);
1843
1807
  subscriber.complete();
1844
1808
  }, function(err) {
1845
- var _a3;
1809
+ var _a2;
1846
1810
  isUnsub = false;
1847
- (_a3 = tapObserver.error) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver, err);
1811
+ (_a2 = tapObserver.error) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver, err);
1848
1812
  subscriber.error(err);
1849
1813
  }, function() {
1850
- var _a3, _b;
1814
+ var _a2, _b;
1851
1815
  if (isUnsub) {
1852
- (_a3 = tapObserver.unsubscribe) === null || _a3 === void 0 ? void 0 : _a3.call(tapObserver);
1816
+ (_a2 = tapObserver.unsubscribe) === null || _a2 === void 0 ? void 0 : _a2.call(tapObserver);
1853
1817
  }
1854
1818
  (_b = tapObserver.finalize) === null || _b === void 0 ? void 0 : _b.call(tapObserver);
1855
1819
  }));
@@ -1857,7 +1821,7 @@ function tap(observerOrNext, error, complete) {
1857
1821
  }
1858
1822
  function throttle(durationSelector, config2) {
1859
1823
  return operate(function(source, subscriber) {
1860
- var _a2 = config2 !== null && config2 !== void 0 ? config2 : {}, _b = _a2.leading, leading = _b === void 0 ? true : _b, _c = _a2.trailing, trailing = _c === void 0 ? false : _c;
1824
+ var _a = config2 !== null && config2 !== void 0 ? config2 : {}, _b = _a.leading, leading = _b === void 0 ? true : _b, _c = _a.trailing, trailing = _c === void 0 ? false : _c;
1861
1825
  var hasValue = false;
1862
1826
  var sendValue = null;
1863
1827
  var throttled = null;
@@ -1982,7 +1946,23 @@ class Utils {
1982
1946
  return event;
1983
1947
  }
1984
1948
  const ev = document.createEvent("DragEvent");
1985
- ev.initMouseEvent(eventType || event.type, true, true, window, 0, event.screenX, event.screenY, event.clientX, event.clientY, event.ctrlKey, event.altKey, event.shiftKey, event.metaKey, event.button, event.relatedTarget);
1949
+ ev.initMouseEvent(
1950
+ eventType || event.type,
1951
+ true,
1952
+ true,
1953
+ window,
1954
+ 0,
1955
+ event.screenX,
1956
+ event.screenY,
1957
+ event.clientX,
1958
+ event.clientY,
1959
+ event.ctrlKey,
1960
+ event.altKey,
1961
+ event.shiftKey,
1962
+ event.metaKey,
1963
+ event.button,
1964
+ event.relatedTarget
1965
+ );
1986
1966
  if (ev.dataTransfer !== null) {
1987
1967
  ev.dataTransfer.setData("text", "");
1988
1968
  ev.dataTransfer.effectAllowed = event.dataTransfer.effectAllowed;
@@ -2001,24 +1981,8 @@ function provideToContext(token, value, context2) {
2001
1981
  }
2002
1982
  const _DragDropTouch = class {
2003
1983
  constructor() {
2004
- __publicField(this, "dataTransfer");
2005
- __publicField(this, "lastClick", 0);
2006
- __publicField(this, "lastTouch");
2007
- __publicField(this, "lastTarget");
2008
- __publicField(this, "dragSource");
2009
- __publicField(this, "ptDown");
2010
- __publicField(this, "isDragEnabled");
2011
- __publicField(this, "isDropZone");
2012
- __publicField(this, "pressHoldInterval");
2013
- __publicField(this, "img");
2014
- __publicField(this, "imgCustom");
2015
- __publicField(this, "imgOffset");
2016
- __publicField(this, "dragoverTimer");
2017
- __publicField(this, "touchTarget");
2018
- __publicField(this, "touchmoveListener");
2019
- __publicField(this, "touchendListener");
2020
- __publicField(this, "listenerOpt");
2021
- __publicField(this, "touchstart", (e) => {
1984
+ this.lastClick = 0;
1985
+ this.touchstart = (e) => {
2022
1986
  if (this.shouldHandle(e)) {
2023
1987
  if (Date.now() - this.lastClick < _DragDropTouch.DBLCLICK) {
2024
1988
  if (this.dispatchEvent(e, "dblclick", e.target)) {
@@ -2045,14 +2009,14 @@ const _DragDropTouch = class {
2045
2009
  }
2046
2010
  }
2047
2011
  }
2048
- });
2049
- __publicField(this, "touchmoveOnDocument", (e) => {
2012
+ };
2013
+ this.touchmoveOnDocument = (e) => {
2050
2014
  if (this.shouldCancelPressHoldMove(e)) {
2051
2015
  this.reset();
2052
2016
  return;
2053
2017
  }
2054
- });
2055
- __publicField(this, "touchmove", (e) => {
2018
+ };
2019
+ this.touchmove = (e) => {
2056
2020
  if (this.shouldCancelPressHoldMove(e)) {
2057
2021
  this.reset();
2058
2022
  return;
@@ -2077,8 +2041,8 @@ const _DragDropTouch = class {
2077
2041
  this.setDragoverInterval(e);
2078
2042
  }
2079
2043
  }
2080
- });
2081
- __publicField(this, "touchendOnDocument", (e) => {
2044
+ };
2045
+ this.touchendOnDocument = (e) => {
2082
2046
  if (this.shouldHandle(e)) {
2083
2047
  if (!this.img) {
2084
2048
  this.dragSource = null;
@@ -2089,8 +2053,8 @@ const _DragDropTouch = class {
2089
2053
  this.reset();
2090
2054
  }
2091
2055
  }
2092
- });
2093
- __publicField(this, "touchend", (e) => {
2056
+ };
2057
+ this.touchend = (e) => {
2094
2058
  if (this.shouldHandle(e)) {
2095
2059
  if (!this.img) {
2096
2060
  this.dragSource = null;
@@ -2105,7 +2069,7 @@ const _DragDropTouch = class {
2105
2069
  this.reset();
2106
2070
  }
2107
2071
  }
2108
- });
2072
+ };
2109
2073
  if (_DragDropTouch.instance) {
2110
2074
  throw new Error("DragDropTouch instance already created.");
2111
2075
  }
@@ -2142,7 +2106,7 @@ const _DragDropTouch = class {
2142
2106
  return _DragDropTouch.instance;
2143
2107
  }
2144
2108
  static isTouchDevice() {
2145
- var _a2;
2109
+ var _a;
2146
2110
  if (typeof window === "undefined" || typeof document === "undefined") {
2147
2111
  return false;
2148
2112
  }
@@ -2167,7 +2131,7 @@ const _DragDropTouch = class {
2167
2131
  touchTestNode.id = "touch_test";
2168
2132
  fakeBody.appendChild(touchTestNode);
2169
2133
  bool = touchTestNode.offsetTop === 42;
2170
- (_a2 = fakeBody.parentElement) == null ? void 0 : _a2.removeChild(fakeBody);
2134
+ (_a = fakeBody.parentElement) == null ? void 0 : _a.removeChild(fakeBody);
2171
2135
  }
2172
2136
  return bool;
2173
2137
  }
@@ -2381,33 +2345,22 @@ const _DragDropTouch = class {
2381
2345
  }
2382
2346
  };
2383
2347
  let DragDropTouch = _DragDropTouch;
2384
- __publicField(DragDropTouch, "THRESHOLD", 5);
2385
- __publicField(DragDropTouch, "OPACITY", 0.5);
2386
- __publicField(DragDropTouch, "DBLCLICK", 500);
2387
- __publicField(DragDropTouch, "DRAG_OVER_TIME", 300);
2388
- __publicField(DragDropTouch, "CTX_MENU", 900);
2389
- __publicField(DragDropTouch, "IS_PRESS_HOLD_MODE", true);
2390
- __publicField(DragDropTouch, "PRESS_HOLD_AWAIT", 400);
2391
- __publicField(DragDropTouch, "PRESS_HOLD_MARGIN", 25);
2392
- __publicField(DragDropTouch, "PRESS_HOLD_THRESHOLD", 0);
2393
- __publicField(DragDropTouch, "DRAG_HANDLE_ATTR", "data-drag-handle-selector");
2394
- __publicField(DragDropTouch, "rmvAttrs", "id,class,style,draggable".split(","));
2395
- __publicField(DragDropTouch, "kbdProps", "altKey,ctrlKey,metaKey,shiftKey".split(","));
2396
- __publicField(DragDropTouch, "ptProps", "pageX,pageY,clientX,clientY,screenX,screenY".split(","));
2397
- __publicField(DragDropTouch, "instance", null);
2348
+ DragDropTouch.THRESHOLD = 5;
2349
+ DragDropTouch.OPACITY = 0.5;
2350
+ DragDropTouch.DBLCLICK = 500;
2351
+ DragDropTouch.DRAG_OVER_TIME = 300;
2352
+ DragDropTouch.CTX_MENU = 900;
2353
+ DragDropTouch.IS_PRESS_HOLD_MODE = true;
2354
+ DragDropTouch.PRESS_HOLD_AWAIT = 400;
2355
+ DragDropTouch.PRESS_HOLD_MARGIN = 25;
2356
+ DragDropTouch.PRESS_HOLD_THRESHOLD = 0;
2357
+ DragDropTouch.DRAG_HANDLE_ATTR = "data-drag-handle-selector";
2358
+ DragDropTouch.rmvAttrs = "id,class,style,draggable".split(",");
2359
+ DragDropTouch.kbdProps = "altKey,ctrlKey,metaKey,shiftKey".split(",");
2360
+ DragDropTouch.ptProps = "pageX,pageY,clientX,clientY,screenX,screenY".split(",");
2361
+ DragDropTouch.instance = null;
2398
2362
  ((DragDropTouch2) => {
2399
2363
  class DataTransfer2 {
2400
- constructor() {
2401
- __publicField(this, "files");
2402
- __publicField(this, "items");
2403
- __publicField(this, "_data");
2404
- __publicField(this, "_dropEffect");
2405
- __publicField(this, "_effectAllowed");
2406
- __publicField(this, "_types");
2407
- this._dropEffect = "move";
2408
- this._effectAllowed = "all";
2409
- this._data = {};
2410
- }
2411
2364
  get dropEffect() {
2412
2365
  return this._dropEffect;
2413
2366
  }
@@ -2423,6 +2376,11 @@ __publicField(DragDropTouch, "instance", null);
2423
2376
  get types() {
2424
2377
  return Object.keys(this._data);
2425
2378
  }
2379
+ constructor() {
2380
+ this._dropEffect = "move";
2381
+ this._effectAllowed = "all";
2382
+ this._data = {};
2383
+ }
2426
2384
  clearData(type) {
2427
2385
  if (type !== null) {
2428
2386
  delete this._data[type];
@@ -2446,39 +2404,16 @@ __publicField(DragDropTouch, "instance", null);
2446
2404
  })(DragDropTouch || (DragDropTouch = {}));
2447
2405
  class DragDropService {
2448
2406
  constructor() {
2449
- __publicField(this, "dragData");
2450
- __publicField(this, "draggedEl");
2451
- __publicField(this, "draggedElIdentity");
2452
- __publicField(this, "batchDragData");
2453
- __publicField(this, "batchDragGroup");
2454
- __publicField(this, "batchDragStyle");
2455
- __publicField(this, "batchDragging");
2456
- __publicField(this, "scope");
2457
- __publicField(this, "dropTargets", []);
2458
- __publicField(this, "dropEvent", new Subject());
2459
- __publicField(this, "dragEndEvent", new Subject());
2460
- __publicField(this, "dragStartEvent", new Subject());
2461
- __publicField(this, "dropOnItem");
2462
- __publicField(this, "dragFollow");
2463
- __publicField(this, "dragFollowOptions");
2464
- __publicField(this, "dropOnOrigin");
2465
- __publicField(this, "draggedElFollowingMouse");
2466
- __publicField(this, "dragOffset");
2467
- __publicField(this, "subscription", new Subscription());
2468
- __publicField(this, "_dragEmptyImage");
2469
- __publicField(this, "dragCloneNode");
2470
- __publicField(this, "dragOriginPlaceholder");
2471
- __publicField(this, "dragItemContainer");
2472
- __publicField(this, "dragItemParentName", "");
2473
- __publicField(this, "dragItemChildrenName", "");
2474
- __publicField(this, "intersectionObserver", null);
2475
- __publicField(this, "sub");
2476
- __publicField(this, "dragOriginPlaceholderNextSibling");
2477
- __publicField(this, "touchInstance");
2478
- __publicField(this, "dragElShowHideEvent", new Subject());
2479
- __publicField(this, "dragSyncGroupDirectives");
2480
- __publicField(this, "dragPreviewDirective");
2481
- __publicField(this, "followMouse4CloneNode", (event) => {
2407
+ this.dropTargets = [];
2408
+ this.dropEvent = new Subject();
2409
+ this.dragEndEvent = new Subject();
2410
+ this.dragStartEvent = new Subject();
2411
+ this.subscription = new Subscription();
2412
+ this.dragItemParentName = "";
2413
+ this.dragItemChildrenName = "";
2414
+ this.intersectionObserver = null;
2415
+ this.dragElShowHideEvent = new Subject();
2416
+ this.followMouse4CloneNode = (event) => {
2482
2417
  const { offsetLeft, offsetTop } = this.dragOffset;
2483
2418
  const { clientX, clientY } = event;
2484
2419
  requestAnimationFrame(() => {
@@ -2488,7 +2423,7 @@ class DragDropService {
2488
2423
  this.dragCloneNode.style.left = clientX - offsetLeft + "px";
2489
2424
  this.dragCloneNode.style.top = clientY - offsetTop + "px";
2490
2425
  });
2491
- });
2426
+ };
2492
2427
  this.touchInstance = DragDropTouch.getInstance();
2493
2428
  }
2494
2429
  get dragEmptyImage() {
@@ -2684,7 +2619,7 @@ class DragDropService {
2684
2619
  }
2685
2620
  }
2686
2621
  }
2687
- __publicField(DragDropService, "TOKEN", Symbol("DRAG_DROP_SERVICE_TOKEN"));
2622
+ DragDropService.TOKEN = Symbol("DRAG_DROP_SERVICE_TOKEN");
2688
2623
  function useDragDropService() {
2689
2624
  const dragDropService = new DragDropService();
2690
2625
  provide(DragDropService.TOKEN, new DragDropService());
@@ -2693,7 +2628,6 @@ function useDragDropService() {
2693
2628
  class EventEmitter extends Subject {
2694
2629
  constructor(isAsync = false) {
2695
2630
  super();
2696
- __publicField(this, "__isAsync");
2697
2631
  this.__isAsync = isAsync;
2698
2632
  }
2699
2633
  emit(value) {
@@ -2754,8 +2688,7 @@ class EventEmitter extends Subject {
2754
2688
  class PreserveNextEventEmitter extends EventEmitter {
2755
2689
  constructor() {
2756
2690
  super(...arguments);
2757
- __publicField(this, "_schedulerFns");
2758
- __publicField(this, "_isAsync", false);
2691
+ this._isAsync = false;
2759
2692
  }
2760
2693
  get schedulerFns() {
2761
2694
  return this._schedulerFns;
@@ -2807,12 +2740,12 @@ class NgSimpleChange {
2807
2740
  }
2808
2741
  class NgDirectiveBase {
2809
2742
  constructor() {
2810
- __publicField(this, "__eventListenerMap", /* @__PURE__ */ new Map());
2811
- __publicField(this, "el", { nativeElement: null });
2812
- __publicField(this, "hostBindingMap");
2813
- __publicField(this, "hostListenerMap");
2814
- __publicField(this, "inputNameMap");
2815
- __publicField(this, "outputNameMap");
2743
+ this.__eventListenerMap = /* @__PURE__ */ new Map();
2744
+ this.el = { nativeElement: null };
2745
+ this.hostBindingMap = void 0;
2746
+ this.hostListenerMap = void 0;
2747
+ this.inputNameMap = void 0;
2748
+ this.outputNameMap = void 0;
2816
2749
  }
2817
2750
  mounted() {
2818
2751
  if (this.hostBindingMap && this.el.nativeElement) {
@@ -2907,12 +2840,12 @@ class NgDirectiveBase {
2907
2840
  element.addEventListener(key, this[functionKey].bind(this));
2908
2841
  }
2909
2842
  eventListener(key, userFunction) {
2910
- var _a2;
2843
+ var _a;
2911
2844
  const subscription = this[key].subscribe((e) => {
2912
2845
  userFunction(e);
2913
2846
  });
2914
2847
  if (this.__eventListenerMap.get(key)) {
2915
- (_a2 = this.__eventListenerMap.get(key)) == null ? void 0 : _a2.unsubscribe();
2848
+ (_a = this.__eventListenerMap.get(key)) == null ? void 0 : _a.unsubscribe();
2916
2849
  this.__eventListenerMap.delete(key);
2917
2850
  }
2918
2851
  this.__eventListenerMap.set(key, subscription);
@@ -2956,30 +2889,26 @@ const DragPreviewComponent = defineComponent({
2956
2889
  },
2957
2890
  setup(props) {
2958
2891
  return () => {
2959
- var _a2;
2960
- return (_a2 = props.template) == null ? void 0 : _a2.call(props, props.context);
2892
+ var _a;
2893
+ return (_a = props.template) == null ? void 0 : _a.call(props, props.context);
2961
2894
  };
2962
2895
  }
2963
2896
  });
2964
2897
  class DragPreviewDirective extends NgDirectiveBase {
2965
2898
  constructor(el, dragDropService) {
2966
2899
  super();
2967
- __publicField(this, "inputNameMap", {
2900
+ this.dragDropService = dragDropService;
2901
+ this.inputNameMap = {
2968
2902
  dragPreview: "dragPreviewTemplate"
2969
- });
2970
- __publicField(this, "dragPreviewTemplate");
2971
- __publicField(this, "dragPreviewData");
2972
- __publicField(this, "dragPreviewOptions", {
2903
+ };
2904
+ this.dragPreviewOptions = {
2973
2905
  skipBatchPreview: false
2974
- });
2975
- __publicField(this, "previewRef");
2976
- __publicField(this, "context");
2977
- __publicField(this, "el", { nativeElement: null });
2978
- this.dragDropService = dragDropService;
2906
+ };
2907
+ this.el = { nativeElement: null };
2979
2908
  this.el.nativeElement = el;
2980
2909
  }
2981
2910
  createPreview() {
2982
- var _a2;
2911
+ var _a;
2983
2912
  const context2 = {
2984
2913
  data: this.dragPreviewData,
2985
2914
  draggedEl: this.dragDropService.draggedEl,
@@ -2987,7 +2916,7 @@ class DragPreviewDirective extends NgDirectiveBase {
2987
2916
  batchDragData: this.dragDropService.batchDragData && this.dragDropService.getBatchDragData(),
2988
2917
  dragSyncDOMElements: this.dragDropService.dragSyncGroupDirectives && this.getDragSyncDOMElements()
2989
2918
  };
2990
- const app = createApp(DragPreviewComponent, { context: context2, template: (_a2 = this.dragPreviewTemplate) == null ? void 0 : _a2.template });
2919
+ const app = createApp(DragPreviewComponent, { context: context2, template: (_a = this.dragPreviewTemplate) == null ? void 0 : _a.template });
2991
2920
  app._context.provides = Object.create(this.context);
2992
2921
  const element = document.createElement("div");
2993
2922
  const instance = app.mount(element);
@@ -3013,8 +2942,8 @@ class DragPreviewDirective extends NgDirectiveBase {
3013
2942
  return this.dragDropService.dragSyncGroupDirectives.map((dir) => dir.el.nativeElement);
3014
2943
  }
3015
2944
  }
3016
- __publicField(DragPreviewDirective, "INSTANCE_KEY", "__vueDevuiDragPreviewDirectiveInstance");
3017
- __publicField(DragPreviewDirective, "TOKEN", Symbol("DRAG_PREVIEW_DIRECTIVE_TOKEN"));
2945
+ DragPreviewDirective.INSTANCE_KEY = "__vueDevuiDragPreviewDirectiveInstance";
2946
+ DragPreviewDirective.TOKEN = Symbol("DRAG_PREVIEW_DIRECTIVE_TOKEN");
3018
2947
  var DragPreview = {
3019
2948
  mounted(el, binding, vNode) {
3020
2949
  const context2 = vNode["ctx"].provides;
@@ -3033,49 +2962,35 @@ var DragPreview = {
3033
2962
  class DraggableDirective extends NgDirectiveBase {
3034
2963
  constructor(el, dragDropService, dragPreviewDirective) {
3035
2964
  super();
3036
- __publicField(this, "hostBindingMap", {
2965
+ this.hostBindingMap = {
3037
2966
  draggable: "draggable",
3038
2967
  "data-drag-handle-selector": "dragHandle"
3039
- });
3040
- __publicField(this, "draggable", true);
3041
- __publicField(this, "dragData");
3042
- __publicField(this, "dragScope", "default");
3043
- __publicField(this, "dragHandle");
3044
- __publicField(this, "dragHandleClass", "drag-handle");
3045
- __publicField(this, "dragOverClass");
3046
- __publicField(this, "dragEffect", "move");
3047
- __publicField(this, "_disabled", false);
3048
- __publicField(this, "dragStartEvent", new EventEmitter());
3049
- __publicField(this, "dragEvent", new PreserveNextEventEmitter());
3050
- __publicField(this, "dragEndEvent", new EventEmitter());
3051
- __publicField(this, "dropEndEvent", new PreserveNextEventEmitter());
3052
- __publicField(this, "document", window.document);
3053
- __publicField(this, "mouseOverElement");
3054
- __publicField(this, "enableDragFollow", false);
3055
- __publicField(this, "dragFollowOptions");
3056
- __publicField(this, "originPlaceholder");
3057
- __publicField(this, "dragIdentity");
3058
- __publicField(this, "dragItemParentName", "");
3059
- __publicField(this, "dragItemChildrenName", "");
3060
- __publicField(this, "dragsSub", new Subscription());
3061
- __publicField(this, "destroyDragEndSub", new Subscription());
3062
- __publicField(this, "isDestroyed");
3063
- __publicField(this, "delayRemoveOriginPlaceholderTimer");
3064
- __publicField(this, "batchDraggable");
3065
- __publicField(this, "dragOriginPlaceholder");
3066
- __publicField(this, "dragOriginPlaceholderNextSibling");
3067
- __publicField(this, "dragElShowHideEvent", new Subject());
3068
- __publicField(this, "beforeDragStartEvent", new Subject());
3069
- __publicField(this, "el", { nativeElement: null });
3070
- __publicField(this, "dragDropService");
3071
- __publicField(this, "dragPreviewDirective");
3072
- __publicField(this, "insertOriginPlaceholder", (directShow = true, updateService = true) => {
3073
- var _a2, _b, _c;
2968
+ };
2969
+ this.draggable = true;
2970
+ this.dragScope = "default";
2971
+ this.dragHandleClass = "drag-handle";
2972
+ this.dragEffect = "move";
2973
+ this._disabled = false;
2974
+ this.dragStartEvent = new EventEmitter();
2975
+ this.dragEvent = new PreserveNextEventEmitter();
2976
+ this.dragEndEvent = new EventEmitter();
2977
+ this.dropEndEvent = new PreserveNextEventEmitter();
2978
+ this.document = window.document;
2979
+ this.enableDragFollow = false;
2980
+ this.dragItemParentName = "";
2981
+ this.dragItemChildrenName = "";
2982
+ this.dragsSub = new Subscription();
2983
+ this.destroyDragEndSub = new Subscription();
2984
+ this.dragElShowHideEvent = new Subject();
2985
+ this.beforeDragStartEvent = new Subject();
2986
+ this.el = { nativeElement: null };
2987
+ this.insertOriginPlaceholder = (directShow = true, updateService = true) => {
2988
+ var _a, _b, _c;
3074
2989
  if (this.delayRemoveOriginPlaceholderTimer) {
3075
2990
  clearTimeout(this.delayRemoveOriginPlaceholderTimer);
3076
2991
  this.delayRemoveOriginPlaceholderTimer = void 0;
3077
2992
  }
3078
- const node = this.document.createElement(((_a2 = this.originPlaceholder) == null ? void 0 : _a2.tag) || "div");
2993
+ const node = this.document.createElement(((_a = this.originPlaceholder) == null ? void 0 : _a.tag) || "div");
3079
2994
  const rect = this.el.nativeElement.getBoundingClientRect();
3080
2995
  if (directShow) {
3081
2996
  node.style.display = "block";
@@ -3105,11 +3020,11 @@ class DraggableDirective extends NgDirectiveBase {
3105
3020
  this.dragOriginPlaceholder = node;
3106
3021
  this.dragOriginPlaceholderNextSibling = this.el.nativeElement.nextSibling;
3107
3022
  this.el.nativeElement.parentElement.insertBefore(node, this.el.nativeElement.nextSibling);
3108
- });
3109
- __publicField(this, "removeOriginPlaceholder", (updateService = true) => {
3110
- var _a2;
3023
+ };
3024
+ this.removeOriginPlaceholder = (updateService = true) => {
3025
+ var _a;
3111
3026
  if (this.dragOriginPlaceholder) {
3112
- (_a2 = this.dragOriginPlaceholder.parentElement) == null ? void 0 : _a2.removeChild(this.dragOriginPlaceholder);
3027
+ (_a = this.dragOriginPlaceholder.parentElement) == null ? void 0 : _a.removeChild(this.dragOriginPlaceholder);
3113
3028
  }
3114
3029
  if (updateService) {
3115
3030
  this.dragDropService.dragOriginPlaceholder = void 0;
@@ -3117,24 +3032,24 @@ class DraggableDirective extends NgDirectiveBase {
3117
3032
  }
3118
3033
  this.dragOriginPlaceholder = void 0;
3119
3034
  this.dragOriginPlaceholderNextSibling = void 0;
3120
- });
3121
- __publicField(this, "delayRemoveOriginPlaceholder", (updateService = true) => {
3122
- var _a2, _b;
3123
- const timeout = (_a2 = this.originPlaceholder) == null ? void 0 : _a2.removeDelay;
3035
+ };
3036
+ this.delayRemoveOriginPlaceholder = (updateService = true) => {
3037
+ var _a, _b;
3038
+ const timeout = (_a = this.originPlaceholder) == null ? void 0 : _a.removeDelay;
3124
3039
  const delayOriginPlaceholder = this.dragOriginPlaceholder;
3125
3040
  const dragOriginPlaceholderNextSibling = this.findNextSibling(this.dragOriginPlaceholderNextSibling);
3126
3041
  if ((_b = delayOriginPlaceholder == null ? void 0 : delayOriginPlaceholder.parentElement) == null ? void 0 : _b.contains(dragOriginPlaceholderNextSibling)) {
3127
3042
  delayOriginPlaceholder.parentElement.insertBefore(delayOriginPlaceholder, dragOriginPlaceholderNextSibling);
3128
3043
  }
3129
3044
  setTimeout(() => {
3130
- var _a3;
3131
- if ((_a3 = delayOriginPlaceholder == null ? void 0 : delayOriginPlaceholder.parentElement) == null ? void 0 : _a3.contains(dragOriginPlaceholderNextSibling)) {
3045
+ var _a2;
3046
+ if ((_a2 = delayOriginPlaceholder == null ? void 0 : delayOriginPlaceholder.parentElement) == null ? void 0 : _a2.contains(dragOriginPlaceholderNextSibling)) {
3132
3047
  delayOriginPlaceholder.parentElement.insertBefore(delayOriginPlaceholder, dragOriginPlaceholderNextSibling);
3133
3048
  }
3134
3049
  delayOriginPlaceholder == null ? void 0 : delayOriginPlaceholder.classList.add("delay-deletion");
3135
3050
  this.delayRemoveOriginPlaceholderTimer = setTimeout(() => {
3136
- var _a4;
3137
- (_a4 = delayOriginPlaceholder == null ? void 0 : delayOriginPlaceholder.parentElement) == null ? void 0 : _a4.removeChild(delayOriginPlaceholder);
3051
+ var _a3;
3052
+ (_a3 = delayOriginPlaceholder == null ? void 0 : delayOriginPlaceholder.parentElement) == null ? void 0 : _a3.removeChild(delayOriginPlaceholder);
3138
3053
  if (this.document.body.contains(this.el.nativeElement)) {
3139
3054
  this.el.nativeElement.style.display = "";
3140
3055
  this.dragDropService.dragElShowHideEvent.next(false);
@@ -3147,7 +3062,7 @@ class DraggableDirective extends NgDirectiveBase {
3147
3062
  this.dragOriginPlaceholder = void 0;
3148
3063
  this.dragOriginPlaceholderNextSibling = void 0;
3149
3064
  });
3150
- });
3065
+ };
3151
3066
  this.el.nativeElement = el;
3152
3067
  this.dragDropService = dragDropService;
3153
3068
  this.dragPreviewDirective = dragPreviewDirective;
@@ -3166,25 +3081,27 @@ class DraggableDirective extends NgDirectiveBase {
3166
3081
  }
3167
3082
  dropSubscription() {
3168
3083
  const dragDropSub = this.dragDropService.newSubscription();
3169
- dragDropSub.add(this.dragDropService.dropEvent.subscribe((event) => {
3170
- this.mouseOverElement = void 0;
3171
- Utils.removeClass(this.el.nativeElement, this.dragOverClass);
3172
- this.dropEndEvent.emit(event);
3173
- if (this.isDestroyed) {
3174
- if (this.dropEndEvent.schedulerFns && this.dropEndEvent.schedulerFns.size > 0) {
3175
- this.dropEndEvent.forceCallback(event, true);
3084
+ dragDropSub.add(
3085
+ this.dragDropService.dropEvent.subscribe((event) => {
3086
+ this.mouseOverElement = void 0;
3087
+ Utils.removeClass(this.el.nativeElement, this.dragOverClass);
3088
+ this.dropEndEvent.emit(event);
3089
+ if (this.isDestroyed) {
3090
+ if (this.dropEndEvent.schedulerFns && this.dropEndEvent.schedulerFns.size > 0) {
3091
+ this.dropEndEvent.forceCallback(event, true);
3092
+ }
3176
3093
  }
3177
- }
3178
- if (this.dragDropService.dragOriginPlaceholder) {
3179
- if (this.originPlaceholder && this.originPlaceholder.removeDelay > 0 && !this.dragDropService.dropOnOrigin) {
3180
- this.delayRemoveOriginPlaceholder();
3181
- } else {
3182
- this.removeOriginPlaceholder();
3094
+ if (this.dragDropService.dragOriginPlaceholder) {
3095
+ if (this.originPlaceholder && this.originPlaceholder.removeDelay > 0 && !this.dragDropService.dropOnOrigin) {
3096
+ this.delayRemoveOriginPlaceholder();
3097
+ } else {
3098
+ this.removeOriginPlaceholder();
3099
+ }
3100
+ this.dragDropService.draggedElIdentity = void 0;
3183
3101
  }
3184
- this.dragDropService.draggedElIdentity = void 0;
3185
- }
3186
- this.dragDropService.subscription.unsubscribe();
3187
- }));
3102
+ this.dragDropService.subscription.unsubscribe();
3103
+ })
3104
+ );
3188
3105
  dragDropSub.add(this.dragDropService.dragElShowHideEvent.subscribe(this.dragElShowHideEvent));
3189
3106
  }
3190
3107
  ngAfterViewInit() {
@@ -3203,14 +3120,16 @@ class DraggableDirective extends NgDirectiveBase {
3203
3120
  this.isDestroyed = true;
3204
3121
  if (this.dragDropService.draggedEl === this.el.nativeElement) {
3205
3122
  this.destroyDragEndSub = new Subscription();
3206
- this.destroyDragEndSub.add(fromEvent(this.el.nativeElement, "dragend").subscribe((event) => {
3207
- this.dragEnd(event);
3208
- if (this.dropEndEvent.schedulerFns && this.dropEndEvent.schedulerFns.size > 0) {
3209
- this.dropEndEvent.forceCallback(event, true);
3210
- }
3211
- this.destroyDragEndSub.unsubscribe();
3212
- this.destroyDragEndSub = void 0;
3213
- }));
3123
+ this.destroyDragEndSub.add(
3124
+ fromEvent(this.el.nativeElement, "dragend").subscribe((event) => {
3125
+ this.dragEnd(event);
3126
+ if (this.dropEndEvent.schedulerFns && this.dropEndEvent.schedulerFns.size > 0) {
3127
+ this.dropEndEvent.forceCallback(event, true);
3128
+ }
3129
+ this.destroyDragEndSub.unsubscribe();
3130
+ this.destroyDragEndSub = void 0;
3131
+ })
3132
+ );
3214
3133
  if (this.originPlaceholder && this.originPlaceholder.show !== false && this.dragDropService.dragOriginPlaceholder && this.dragDropService.draggedElIdentity) {
3215
3134
  this.removeOriginPlaceholder();
3216
3135
  }
@@ -3218,7 +3137,7 @@ class DraggableDirective extends NgDirectiveBase {
3218
3137
  this.dragsSub.unsubscribe();
3219
3138
  }
3220
3139
  dragStart(e) {
3221
- var _a2;
3140
+ var _a;
3222
3141
  if (this.allowDrag(e)) {
3223
3142
  Utils.addClass(this.el.nativeElement, this.dragOverClass);
3224
3143
  this.dragDropService.dragData = this.dragData;
@@ -3230,7 +3149,7 @@ class DraggableDirective extends NgDirectiveBase {
3230
3149
  this.dragDropService.dragItemParentName = this.dragItemParentName;
3231
3150
  this.dragDropService.dragItemChildrenName = this.dragItemChildrenName;
3232
3151
  this.beforeDragStartEvent.next(true);
3233
- if (this.dragPreviewDirective && ((_a2 = this.dragPreviewDirective) == null ? void 0 : _a2.dragPreviewTemplate)) {
3152
+ if (this.dragPreviewDirective && ((_a = this.dragPreviewDirective) == null ? void 0 : _a.dragPreviewTemplate)) {
3234
3153
  this.dragDropService.dragFollow = true;
3235
3154
  this.dragDropService.dragPreviewDirective = this.dragPreviewDirective;
3236
3155
  }
@@ -3436,12 +3355,12 @@ class DraggableDirective extends NgDirectiveBase {
3436
3355
  };
3437
3356
  }
3438
3357
  }
3439
- __publicField(DraggableDirective, "INSTANCE_KEY", "__vueDevuiDraggableDirectiveInstance");
3440
- __publicField(DraggableDirective, "TOKEN", Symbol("DRAGGABLE_DIRECTIVE_TOKEN"));
3358
+ DraggableDirective.INSTANCE_KEY = "__vueDevuiDraggableDirectiveInstance";
3359
+ DraggableDirective.TOKEN = Symbol("DRAGGABLE_DIRECTIVE_TOKEN");
3441
3360
  var Draggable = {
3442
3361
  mounted(el, binding, vNode) {
3443
- var _a2, _b, _c;
3444
- const context2 = (_a2 = vNode.ctx) == null ? void 0 : _a2.provides;
3362
+ var _a, _b, _c;
3363
+ const context2 = (_a = vNode.ctx) == null ? void 0 : _a.provides;
3445
3364
  const dragDropService = injectFromContext(DragDropService.TOKEN, context2);
3446
3365
  let dragPreviewDirective = injectFromContext(DragPreviewDirective.TOKEN, context2);
3447
3366
  if ((dragPreviewDirective == null ? void 0 : dragPreviewDirective.el.nativeElement) !== el) {
@@ -3459,21 +3378,13 @@ var Draggable = {
3459
3378
  draggableDirective.updateInput(binding.value, binding.oldValue);
3460
3379
  },
3461
3380
  beforeUnmount(el) {
3462
- var _a2;
3381
+ var _a;
3463
3382
  const draggableDirective = el[DraggableDirective.INSTANCE_KEY];
3464
- (_a2 = draggableDirective.ngOnDestroy) == null ? void 0 : _a2.call(draggableDirective);
3383
+ (_a = draggableDirective.ngOnDestroy) == null ? void 0 : _a.call(draggableDirective);
3465
3384
  }
3466
3385
  };
3467
3386
  class DropEvent {
3468
3387
  constructor(event, data, dropSubject, dropIndex, dragFromIndex, dropOnItem, dropOnOrigin, batchDragData) {
3469
- __publicField(this, "nativeEvent");
3470
- __publicField(this, "dragData");
3471
- __publicField(this, "batchDragData");
3472
- __publicField(this, "dropSubject");
3473
- __publicField(this, "dropIndex");
3474
- __publicField(this, "dragFromIndex");
3475
- __publicField(this, "dropOnItem");
3476
- __publicField(this, "dropOnOrigin");
3477
3388
  this.nativeEvent = event;
3478
3389
  this.dragData = data;
3479
3390
  this.dropSubject = dropSubject;
@@ -3487,53 +3398,34 @@ class DropEvent {
3487
3398
  class DroppableDirective extends NgDirectiveBase {
3488
3399
  constructor(el, dragDropService) {
3489
3400
  super();
3490
- __publicField(this, "hostListenerMap", {
3401
+ this.hostListenerMap = {
3491
3402
  drop: "drop"
3492
- });
3493
- __publicField(this, "dragEnterEvent", new EventEmitter());
3494
- __publicField(this, "dragOverEvent", new EventEmitter());
3495
- __publicField(this, "dragLeaveEvent", new EventEmitter());
3496
- __publicField(this, "dropEvent", new EventEmitter());
3497
- __publicField(this, "dragOverClass");
3498
- __publicField(this, "dropScope", "default");
3499
- __publicField(this, "placeholderTag", "div");
3500
- __publicField(this, "placeholderStyle", { backgroundColor: ["#859bff", `var(--devui-brand-foil, #859bff)`], opacity: ".4" });
3501
- __publicField(this, "placeholderText", "");
3502
- __publicField(this, "allowDropOnItem", false);
3503
- __publicField(this, "dragOverItemClass");
3504
- __publicField(this, "nestingTargetRect");
3505
- __publicField(this, "switchWhileCrossEdge", false);
3506
- __publicField(this, "defaultDropPosition", "closest");
3507
- __publicField(this, "dropSortCountSelector");
3508
- __publicField(this, "dropSortVirtualScrollOption");
3509
- __publicField(this, "dropFlag");
3510
- __publicField(this, "sortContainer");
3511
- __publicField(this, "sortDirection");
3512
- __publicField(this, "sortDirectionZMode");
3513
- __publicField(this, "placeholder");
3514
- __publicField(this, "dragCount", 0);
3515
- __publicField(this, "dropIndex");
3516
- __publicField(this, "dragStartSubscription");
3517
- __publicField(this, "dragEndSubscription");
3518
- __publicField(this, "dropEndSubscription");
3519
- __publicField(this, "overElement");
3520
- __publicField(this, "dragPartEventSub");
3521
- __publicField(this, "allowDropCache");
3522
- __publicField(this, "dragElIndex");
3523
- __publicField(this, "placeholderInsertionEvent", new Subject());
3524
- __publicField(this, "placeholderRenderEvent", new Subject());
3525
- __publicField(this, "document");
3526
- __publicField(this, "el", { nativeElement: null });
3527
- __publicField(this, "dragDropService");
3528
- __publicField(this, "dropSortCountSelectorFilterFn", (value) => {
3403
+ };
3404
+ this.dragEnterEvent = new EventEmitter();
3405
+ this.dragOverEvent = new EventEmitter();
3406
+ this.dragLeaveEvent = new EventEmitter();
3407
+ this.dropEvent = new EventEmitter();
3408
+ this.dropScope = "default";
3409
+ this.placeholderTag = "div";
3410
+ this.placeholderStyle = { backgroundColor: ["#859bff", `var(--devui-brand-foil, #859bff)`], opacity: ".4" };
3411
+ this.placeholderText = "";
3412
+ this.allowDropOnItem = false;
3413
+ this.switchWhileCrossEdge = false;
3414
+ this.defaultDropPosition = "closest";
3415
+ this.dragCount = 0;
3416
+ this.dropIndex = void 0;
3417
+ this.placeholderInsertionEvent = new Subject();
3418
+ this.placeholderRenderEvent = new Subject();
3419
+ this.el = { nativeElement: null };
3420
+ this.dropSortCountSelectorFilterFn = (value) => {
3529
3421
  return Utils.matches(value, this.dropSortCountSelector) || value.contains(this.placeholder) || value === this.dragDropService.dragOriginPlaceholder;
3530
- });
3531
- __publicField(this, "setPlaceholder", () => {
3422
+ };
3423
+ this.setPlaceholder = () => {
3532
3424
  this.placeholder.style.width = this.dragDropService.dragOffset.width + "px";
3533
3425
  this.placeholder.style.height = this.dragDropService.dragOffset.height + "px";
3534
3426
  Utils.addElStyles(this.placeholder, this.placeholderStyle);
3535
3427
  this.placeholderRenderEvent.next({ width: this.dragDropService.dragOffset.width, height: this.dragDropService.dragOffset.height });
3536
- });
3428
+ };
3537
3429
  this.document = window.document;
3538
3430
  this.el.nativeElement = el;
3539
3431
  this.dragDropService = dragDropService;
@@ -3574,14 +3466,19 @@ class DroppableDirective extends NgDirectiveBase {
3574
3466
  this.dropIndex = void 0;
3575
3467
  });
3576
3468
  this.dragPartEventSub = new Subscription();
3577
- this.dragPartEventSub.add(fromEvent(this.el.nativeElement, "dragover").pipe(filter((event) => this.allowDrop(event)), distinctUntilChanged((prev, current) => {
3578
- const bool = prev.clientX === current.clientX && prev.clientY === current.clientY && prev.target === current.target;
3579
- if (bool) {
3580
- current.preventDefault();
3581
- current.stopPropagation();
3582
- }
3583
- return bool;
3584
- })).subscribe((event) => this.dragOver(event)));
3469
+ this.dragPartEventSub.add(
3470
+ fromEvent(this.el.nativeElement, "dragover").pipe(
3471
+ filter((event) => this.allowDrop(event)),
3472
+ distinctUntilChanged((prev, current) => {
3473
+ const bool = prev.clientX === current.clientX && prev.clientY === current.clientY && prev.target === current.target;
3474
+ if (bool) {
3475
+ current.preventDefault();
3476
+ current.stopPropagation();
3477
+ }
3478
+ return bool;
3479
+ })
3480
+ ).subscribe((event) => this.dragOver(event))
3481
+ );
3585
3482
  this.dragPartEventSub.add(fromEvent(this.el.nativeElement, "dragenter").subscribe((event) => this.dragEnter(event)));
3586
3483
  this.dragPartEventSub.add(fromEvent(this.el.nativeElement, "dragleave").subscribe((event) => this.dragLeave(event)));
3587
3484
  }
@@ -3595,8 +3492,8 @@ class DroppableDirective extends NgDirectiveBase {
3595
3492
  this.sortDirectionZMode = this.sortContainer ? this.sortContainer.getAttribute("d-sortable-zmode") === "true" || false : false;
3596
3493
  }
3597
3494
  ngOnDestroy() {
3598
- var _a2, _b, _c;
3599
- (_a2 = this.dragStartSubscription) == null ? void 0 : _a2.unsubscribe();
3495
+ var _a, _b, _c;
3496
+ (_a = this.dragStartSubscription) == null ? void 0 : _a.unsubscribe();
3600
3497
  (_b = this.dragEndSubscription) == null ? void 0 : _b.unsubscribe();
3601
3498
  (_c = this.dropEndSubscription) == null ? void 0 : _c.unsubscribe();
3602
3499
  if (this.dragPartEventSub) {
@@ -3692,7 +3589,18 @@ class DroppableDirective extends NgDirectiveBase {
3692
3589
  if (this.dragDropService.batchDragData && this.dragDropService.batchDragData.length > 1) {
3693
3590
  batchDraggble = this.dragDropService.batchDragData.map((dragData) => dragData.draggable).filter((draggable) => draggable && draggable.el.nativeElement !== this.dragDropService.draggedEl);
3694
3591
  }
3695
- this.dropEvent.emit(new DropEvent(e, this.dragDropService.dragData, this.dragDropService.dropEvent, this.dropSortVirtualScrollOption ? this.getRealIndex(this.dropIndex, this.dropFlag) : this.dropIndex, this.sortContainer ? this.checkSelfFromIndex(this.dragDropService.draggedEl) : -1, this.dragDropService.dropOnItem, this.dragDropService.dropOnOrigin, this.dragDropService.batchDragging ? this.dragDropService.getBatchDragData(draggedElIdentity) : void 0));
3592
+ this.dropEvent.emit(
3593
+ new DropEvent(
3594
+ e,
3595
+ this.dragDropService.dragData,
3596
+ this.dragDropService.dropEvent,
3597
+ this.dropSortVirtualScrollOption ? this.getRealIndex(this.dropIndex, this.dropFlag) : this.dropIndex,
3598
+ this.sortContainer ? this.checkSelfFromIndex(this.dragDropService.draggedEl) : -1,
3599
+ this.dragDropService.dropOnItem,
3600
+ this.dragDropService.dropOnOrigin,
3601
+ this.dragDropService.batchDragging ? this.dragDropService.getBatchDragData(draggedElIdentity) : void 0
3602
+ )
3603
+ );
3696
3604
  if (this.dragDropService.dragFollow) {
3697
3605
  this.dragDropService.disableDraggedCloneNodeFollowMouse();
3698
3606
  } else {
@@ -3753,7 +3661,7 @@ class DroppableDirective extends NgDirectiveBase {
3753
3661
  return allowed;
3754
3662
  }
3755
3663
  findSortableEl(event) {
3756
- var _a2;
3664
+ var _a;
3757
3665
  const moveElement = event.target;
3758
3666
  let overElement = null;
3759
3667
  if (!this.sortContainer) {
@@ -3767,17 +3675,19 @@ class DroppableDirective extends NgDirectiveBase {
3767
3675
  childEls = childEls.filter(this.dropSortCountSelectorFilterFn);
3768
3676
  }
3769
3677
  if (childEls.some((el) => el !== this.dragDropService.dragOriginPlaceholder && el.classList.contains("drag-origin-placeholder"))) {
3770
- childEls = childEls.filter((el) => !(el.classList.contains("drag-origin-placeholder") && el !== this.dragDropService.dragOriginPlaceholder));
3678
+ childEls = childEls.filter(
3679
+ (el) => !(el.classList.contains("drag-origin-placeholder") && el !== this.dragDropService.dragOriginPlaceholder)
3680
+ );
3771
3681
  }
3772
3682
  if (this.dragDropService.dragFollow && this.dragDropService.dragCloneNode) {
3773
3683
  const cloneNodeIndex = childEls.findIndex((value) => value === this.dragDropService.dragCloneNode);
3774
- if (cloneNodeIndex !== -1) {
3684
+ if (-1 !== cloneNodeIndex) {
3775
3685
  childEls.splice(cloneNodeIndex, 1);
3776
3686
  }
3777
3687
  }
3778
3688
  if (this.dragDropService.dragOriginPlaceholder) {
3779
3689
  const dragOriginPlaceholderIndex = childEls.findIndex((value) => value === this.dragDropService.dragOriginPlaceholder);
3780
- if (dragOriginPlaceholderIndex !== -1) {
3690
+ if (-1 !== dragOriginPlaceholderIndex) {
3781
3691
  this.dragElIndex = dragOriginPlaceholderIndex - 1;
3782
3692
  childEls.splice(dragOriginPlaceholderIndex, 1);
3783
3693
  } else {
@@ -3787,18 +3697,20 @@ class DroppableDirective extends NgDirectiveBase {
3787
3697
  this.dragElIndex = -1;
3788
3698
  }
3789
3699
  const placeholderIndex = childEls.findIndex((value) => value.contains(this.placeholder));
3790
- if (placeholderIndex !== -1) {
3700
+ if (-1 !== placeholderIndex) {
3791
3701
  childEls.splice(placeholderIndex, 1);
3792
3702
  }
3793
- if (placeholderIndex !== -1 && this.dragElIndex !== -1 && placeholderIndex < this.dragElIndex) {
3703
+ if (-1 !== placeholderIndex && -1 !== this.dragElIndex && placeholderIndex < this.dragElIndex) {
3794
3704
  this.dragElIndex--;
3795
3705
  }
3796
- const positionIndex = placeholderIndex !== -1 ? placeholderIndex : this.dragElIndex;
3797
- const currentIndex = childEls.findIndex((value) => value.contains(moveElement) || value.nextElementSibling === moveElement && value.nextElementSibling.classList.contains("drag-origin-placeholder"));
3798
- if (this.switchWhileCrossEdge && !this.allowDropOnItem && childEls.length && positionIndex !== -1 && currentIndex > -1) {
3706
+ const positionIndex = -1 !== placeholderIndex ? placeholderIndex : this.dragElIndex;
3707
+ const currentIndex = childEls.findIndex(
3708
+ (value) => value.contains(moveElement) || value.nextElementSibling === moveElement && value.nextElementSibling.classList.contains("drag-origin-placeholder")
3709
+ );
3710
+ if (this.switchWhileCrossEdge && !this.allowDropOnItem && childEls.length && -1 !== positionIndex && currentIndex > -1) {
3799
3711
  const lastIndex = positionIndex;
3800
3712
  const realEl = this.overElement && (this.overElement.realEl || this.overElement.el);
3801
- if (currentIndex !== -1 && realEl === childEls[currentIndex]) {
3713
+ if (-1 !== currentIndex && realEl === childEls[currentIndex]) {
3802
3714
  this.dropIndex = this.overElement.index;
3803
3715
  return this.overElement;
3804
3716
  }
@@ -3811,7 +3723,7 @@ class DroppableDirective extends NgDirectiveBase {
3811
3723
  this.dropIndex = overElement.index;
3812
3724
  return overElement;
3813
3725
  }
3814
- if (moveElement === this.sortContainer || ((_a2 = moveElement.classList) == null ? void 0 : _a2.contains("drag-origin-placeholder")) || moveElement === (this.dragDropService && this.dragDropService.dragOriginPlaceholder) || !this.sortContainer.contains(moveElement) && this.defaultDropPosition === "closest") {
3726
+ if (moveElement === this.sortContainer || ((_a = moveElement.classList) == null ? void 0 : _a.contains("drag-origin-placeholder")) || moveElement === (this.dragDropService && this.dragDropService.dragOriginPlaceholder) || !this.sortContainer.contains(moveElement) && this.defaultDropPosition === "closest") {
3815
3727
  if (!childEls.length) {
3816
3728
  this.dropIndex = 0;
3817
3729
  this.dragDropService.dropOnItem = false;
@@ -3945,8 +3857,10 @@ class DroppableDirective extends NgDirectiveBase {
3945
3857
  const index2 = arr.indexOf(el);
3946
3858
  return index2 > -1 ? index2 : defaultValue;
3947
3859
  };
3948
- if (overElement !== null) {
3949
- const sortContainerChildren = Utils.slice(this.sortContainer.children).filter((el) => el !== this.dragDropService.dragCloneNode);
3860
+ if (null !== overElement) {
3861
+ const sortContainerChildren = Utils.slice(this.sortContainer.children).filter(
3862
+ (el) => el !== this.dragDropService.dragCloneNode
3863
+ );
3950
3864
  if (overElement.el === null) {
3951
3865
  cmd = {
3952
3866
  command: "append"
@@ -4082,21 +3996,21 @@ class DroppableDirective extends NgDirectiveBase {
4082
3996
  return this.sortContainer;
4083
3997
  }
4084
3998
  }
4085
- __publicField(DroppableDirective, "INSTANCE_KEY", "__vueDevuiDroppableDirectiveInstance");
4086
- __publicField(DroppableDirective, "TOKEN", Symbol("DROPPABLE_DIRECTIVE_TOKEN"));
3999
+ DroppableDirective.INSTANCE_KEY = "__vueDevuiDroppableDirectiveInstance";
4000
+ DroppableDirective.TOKEN = Symbol("DROPPABLE_DIRECTIVE_TOKEN");
4087
4001
  var Droppable = {
4088
4002
  mounted(el, binding, vNode) {
4089
- var _a2;
4003
+ var _a;
4090
4004
  const context2 = vNode["ctx"].provides;
4091
4005
  const dragDropService = injectFromContext(DragDropService.TOKEN, context2);
4092
4006
  const droppableDirective = el[DroppableDirective.INSTANCE_KEY] = new DroppableDirective(el, dragDropService);
4093
4007
  provideToContext(DroppableDirective.TOKEN, droppableDirective, context2);
4094
4008
  droppableDirective.setInput(binding.value);
4095
4009
  droppableDirective.mounted();
4096
- (_a2 = droppableDirective.ngOnInit) == null ? void 0 : _a2.call(droppableDirective);
4010
+ (_a = droppableDirective.ngOnInit) == null ? void 0 : _a.call(droppableDirective);
4097
4011
  setTimeout(() => {
4098
- var _a3;
4099
- (_a3 = droppableDirective.ngAfterViewInit) == null ? void 0 : _a3.call(droppableDirective);
4012
+ var _a2;
4013
+ (_a2 = droppableDirective.ngAfterViewInit) == null ? void 0 : _a2.call(droppableDirective);
4100
4014
  }, 0);
4101
4015
  },
4102
4016
  updated(el, binding) {
@@ -4104,30 +4018,30 @@ var Droppable = {
4104
4018
  droppableDirective.updateInput(binding.value, binding.oldValue);
4105
4019
  },
4106
4020
  beforeUnmount(el) {
4107
- var _a2;
4021
+ var _a;
4108
4022
  const droppableDirective = el[DroppableDirective.INSTANCE_KEY];
4109
- (_a2 = droppableDirective.ngOnDestroy) == null ? void 0 : _a2.call(droppableDirective);
4023
+ (_a = droppableDirective.ngOnDestroy) == null ? void 0 : _a.call(droppableDirective);
4110
4024
  }
4111
4025
  };
4112
4026
  class SortableDirective extends NgDirectiveBase {
4113
4027
  constructor(el) {
4114
4028
  super();
4115
- __publicField(this, "dSortDirection", "v");
4116
- __publicField(this, "dSortableZMode", false);
4117
- __publicField(this, "dSortable", true);
4118
- __publicField(this, "hostBindingMap", {
4029
+ this.dSortDirection = "v";
4030
+ this.dSortableZMode = false;
4031
+ this.dSortable = true;
4032
+ this.hostBindingMap = {
4119
4033
  dSortDirection: "dsortable",
4120
4034
  dSortableZMode: "d-sortable-zmode",
4121
4035
  dSortable: "d-sortable"
4122
- });
4123
- __publicField(this, "inputNameMap", {
4036
+ };
4037
+ this.inputNameMap = {
4124
4038
  dSortable: "dSortDirection"
4125
- });
4126
- __publicField(this, "el", { nativeElement: null });
4039
+ };
4040
+ this.el = { nativeElement: null };
4127
4041
  this.el.nativeElement = el;
4128
4042
  }
4129
4043
  }
4130
- __publicField(SortableDirective, "INSTANCE_KEY", "__vueDevuiSortableDirectiveInstance");
4044
+ SortableDirective.INSTANCE_KEY = "__vueDevuiSortableDirectiveInstance";
4131
4045
  var Sortable = {
4132
4046
  mounted(el, binding) {
4133
4047
  const sortableDirective = el[SortableDirective.INSTANCE_KEY] = new SortableDirective(el);
@@ -4150,24 +4064,14 @@ const DropScrollEnhanceTimingFunctionGroup = {
4150
4064
  class DropScrollEnhancedDirective extends NgDirectiveBase {
4151
4065
  constructor(el, dragDropService) {
4152
4066
  super();
4153
- __publicField(this, "minSpeed", 50);
4154
- __publicField(this, "maxSpeed", 1e3);
4155
- __publicField(this, "responseEdgeWidth", "100px");
4156
- __publicField(this, "speedFn", DropScrollEnhanceTimingFunctionGroup.default);
4157
- __publicField(this, "direction", "v");
4158
- __publicField(this, "viewOffset");
4159
- __publicField(this, "dropScrollScope");
4160
- __publicField(this, "backSpaceDroppable", true);
4161
- __publicField(this, "forwardScrollArea");
4162
- __publicField(this, "backwardScrollArea");
4163
- __publicField(this, "subscription", new Subscription());
4164
- __publicField(this, "forwardScrollFn");
4165
- __publicField(this, "backwardScrollFn");
4166
- __publicField(this, "lastScrollTime");
4167
- __publicField(this, "animationFrameId");
4168
- __publicField(this, "document");
4169
- __publicField(this, "el", { nativeElement: null });
4170
- __publicField(this, "dragDropService");
4067
+ this.minSpeed = 50;
4068
+ this.maxSpeed = 1e3;
4069
+ this.responseEdgeWidth = "100px";
4070
+ this.speedFn = DropScrollEnhanceTimingFunctionGroup.default;
4071
+ this.direction = "v";
4072
+ this.backSpaceDroppable = true;
4073
+ this.subscription = new Subscription();
4074
+ this.el = { nativeElement: null };
4171
4075
  this.el.nativeElement = el;
4172
4076
  this.dragDropService = dragDropService;
4173
4077
  this.document = window.document;
@@ -4179,35 +4083,62 @@ class DropScrollEnhancedDirective extends NgDirectiveBase {
4179
4083
  this.backwardScrollArea = this.createScrollArea(this.direction, 1);
4180
4084
  this.forwardScrollFn = this.createScrollFn(this.direction, 0, this.speedFn);
4181
4085
  this.backwardScrollFn = this.createScrollFn(this.direction, 1, this.speedFn);
4182
- this.subscription.add(fromEvent(this.forwardScrollArea, "dragover").pipe(tap((event) => {
4183
- event.preventDefault();
4184
- event.stopPropagation();
4185
- }), throttleTime(100, void 0, { leading: true, trailing: false })).subscribe((event) => this.forwardScrollFn(event)));
4186
- this.subscription.add(fromEvent(this.backwardScrollArea, "dragover").pipe(tap((event) => {
4187
- event.preventDefault();
4188
- event.stopPropagation();
4189
- }), throttleTime(100, void 0, { leading: true, trailing: false })).subscribe((event) => this.backwardScrollFn(event)));
4190
- this.subscription.add(merge(fromEvent(this.forwardScrollArea, "drop"), fromEvent(this.backwardScrollArea, "drop")).subscribe((event) => this.delegateDropEvent(event)));
4191
- this.subscription.add(merge(fromEvent(this.forwardScrollArea, "dragleave", { passive: true }), fromEvent(this.backwardScrollArea, "dragleave", { passive: true })).subscribe((event) => this.cleanLastScrollTime()));
4192
- this.subscription.add(fromEvent(this.el.nativeElement, "scroll", { passive: true }).pipe(throttleTime(300, void 0, { leading: true, trailing: true })).subscribe((event) => {
4193
- this.toggleScrollToOneEnd(this.el.nativeElement, this.forwardScrollArea, this.direction, 0);
4194
- this.toggleScrollToOneEnd(this.el.nativeElement, this.backwardScrollArea, this.direction, 1);
4195
- }));
4196
- this.subscription.add(fromEvent(window, "resize", { passive: true }).pipe(throttleTime(300, void 0, { leading: true, trailing: true })).subscribe((event) => this.resizeArea()));
4197
- this.subscription.add(this.dragDropService.dragStartEvent.subscribe(() => {
4198
- if (!this.allowScroll()) {
4199
- return;
4200
- }
4201
- setTimeout(() => {
4202
- this.forwardScrollArea.style.display = "block";
4203
- this.backwardScrollArea.style.display = "block";
4204
- });
4205
- }));
4206
- this.subscription.add(merge(this.dragDropService.dragEndEvent, this.dragDropService.dropEvent).subscribe(() => {
4207
- this.forwardScrollArea.style.display = "none";
4208
- this.backwardScrollArea.style.display = "none";
4209
- this.lastScrollTime = void 0;
4210
- }));
4086
+ this.subscription.add(
4087
+ fromEvent(this.forwardScrollArea, "dragover").pipe(
4088
+ tap((event) => {
4089
+ event.preventDefault();
4090
+ event.stopPropagation();
4091
+ }),
4092
+ throttleTime(100, void 0, { leading: true, trailing: false })
4093
+ ).subscribe((event) => this.forwardScrollFn(event))
4094
+ );
4095
+ this.subscription.add(
4096
+ fromEvent(this.backwardScrollArea, "dragover").pipe(
4097
+ tap((event) => {
4098
+ event.preventDefault();
4099
+ event.stopPropagation();
4100
+ }),
4101
+ throttleTime(100, void 0, { leading: true, trailing: false })
4102
+ ).subscribe((event) => this.backwardScrollFn(event))
4103
+ );
4104
+ this.subscription.add(
4105
+ merge(fromEvent(this.forwardScrollArea, "drop"), fromEvent(this.backwardScrollArea, "drop")).subscribe(
4106
+ (event) => this.delegateDropEvent(event)
4107
+ )
4108
+ );
4109
+ this.subscription.add(
4110
+ merge(
4111
+ fromEvent(this.forwardScrollArea, "dragleave", { passive: true }),
4112
+ fromEvent(this.backwardScrollArea, "dragleave", { passive: true })
4113
+ ).subscribe((event) => this.cleanLastScrollTime())
4114
+ );
4115
+ this.subscription.add(
4116
+ fromEvent(this.el.nativeElement, "scroll", { passive: true }).pipe(throttleTime(300, void 0, { leading: true, trailing: true })).subscribe((event) => {
4117
+ this.toggleScrollToOneEnd(this.el.nativeElement, this.forwardScrollArea, this.direction, 0);
4118
+ this.toggleScrollToOneEnd(this.el.nativeElement, this.backwardScrollArea, this.direction, 1);
4119
+ })
4120
+ );
4121
+ this.subscription.add(
4122
+ fromEvent(window, "resize", { passive: true }).pipe(throttleTime(300, void 0, { leading: true, trailing: true })).subscribe((event) => this.resizeArea())
4123
+ );
4124
+ this.subscription.add(
4125
+ this.dragDropService.dragStartEvent.subscribe(() => {
4126
+ if (!this.allowScroll()) {
4127
+ return;
4128
+ }
4129
+ setTimeout(() => {
4130
+ this.forwardScrollArea.style.display = "block";
4131
+ this.backwardScrollArea.style.display = "block";
4132
+ });
4133
+ })
4134
+ );
4135
+ this.subscription.add(
4136
+ merge(this.dragDropService.dragEndEvent, this.dragDropService.dropEvent).subscribe(() => {
4137
+ this.forwardScrollArea.style.display = "none";
4138
+ this.backwardScrollArea.style.display = "none";
4139
+ this.lastScrollTime = void 0;
4140
+ })
4141
+ );
4211
4142
  setTimeout(() => {
4212
4143
  this.resizeArea();
4213
4144
  }, 0);
@@ -4350,7 +4281,9 @@ class DropScrollEnhancedDirective extends NgDirectiveBase {
4350
4281
  const offsetWidthAttr = direction === "v" ? "offsetHeight" : "offsetWidth";
4351
4282
  const clientWidthAttr = direction === "v" ? "clientHeight" : "clientWidth";
4352
4283
  const rectWidthAttr = direction === "v" ? "height" : "width";
4353
- if (scrollElement[scrollAttr] === 0 && orientation === 1 || Math.abs(scrollElement[scrollAttr] + scrollElement.getBoundingClientRect()[rectWidthAttr] - scrollElement[scrollWidthAttr] - scrollElement[offsetWidthAttr] + scrollElement[clientWidthAttr]) < 1 && orientation === 0) {
4284
+ if (scrollElement[scrollAttr] === 0 && orientation === 1 || Math.abs(
4285
+ scrollElement[scrollAttr] + scrollElement.getBoundingClientRect()[rectWidthAttr] - scrollElement[scrollWidthAttr] - scrollElement[offsetWidthAttr] + scrollElement[clientWidthAttr]
4286
+ ) < 1 && orientation === 0) {
4354
4287
  toggleElement.style.pointerEvents = "none";
4355
4288
  this.toggleActiveClass(toggleElement, false);
4356
4289
  } else {
@@ -4400,7 +4333,7 @@ class DropScrollEnhancedDirective extends NgDirectiveBase {
4400
4333
  return allowed;
4401
4334
  }
4402
4335
  }
4403
- __publicField(DropScrollEnhancedDirective, "INSTANCE_KEY", "__vueDevuiDropScrollEnhancedDirectiveInstance");
4336
+ DropScrollEnhancedDirective.INSTANCE_KEY = "__vueDevuiDropScrollEnhancedDirectiveInstance";
4404
4337
  var DropScrollEnhanced = {
4405
4338
  mounted(el, binding, vNode) {
4406
4339
  const context2 = vNode["ctx"].provides;
@@ -4409,8 +4342,8 @@ var DropScrollEnhanced = {
4409
4342
  droppableDirective.setInput(binding.value);
4410
4343
  droppableDirective.mounted();
4411
4344
  setTimeout(() => {
4412
- var _a2;
4413
- (_a2 = droppableDirective.ngAfterViewInit) == null ? void 0 : _a2.call(droppableDirective);
4345
+ var _a;
4346
+ (_a = droppableDirective.ngAfterViewInit) == null ? void 0 : _a.call(droppableDirective);
4414
4347
  }, 0);
4415
4348
  },
4416
4349
  updated(el, binding) {
@@ -4418,19 +4351,19 @@ var DropScrollEnhanced = {
4418
4351
  droppableDirective.updateInput(binding.value, binding.oldValue);
4419
4352
  },
4420
4353
  beforeUnmount(el) {
4421
- var _a2;
4354
+ var _a;
4422
4355
  const droppableDirective = el[DropScrollEnhancedDirective.INSTANCE_KEY];
4423
- (_a2 = droppableDirective.ngOnDestroy) == null ? void 0 : _a2.call(droppableDirective);
4356
+ (_a = droppableDirective.ngOnDestroy) == null ? void 0 : _a.call(droppableDirective);
4424
4357
  }
4425
4358
  };
4426
4359
  class DropScrollEnhancedSideDirective extends DropScrollEnhancedDirective {
4427
4360
  constructor() {
4428
4361
  super(...arguments);
4429
- __publicField(this, "inputNameMap", {
4362
+ this.inputNameMap = {
4430
4363
  direction: "sideDirection"
4431
- });
4432
- __publicField(this, "sideDirection", "h");
4433
- __publicField(this, "direction", "v");
4364
+ };
4365
+ this.sideDirection = "h";
4366
+ this.direction = "v";
4434
4367
  }
4435
4368
  ngOnInit() {
4436
4369
  this.direction = this.sideDirection === "v" ? "h" : "v";
@@ -4440,12 +4373,15 @@ const DropScrollEnhancedSide = {
4440
4373
  mounted(el, binding, vNode) {
4441
4374
  const context2 = vNode["ctx"].provides;
4442
4375
  const dragDropService = injectFromContext(DragDropService.TOKEN, context2);
4443
- const droppableDirective = el[DropScrollEnhancedSideDirective.INSTANCE_KEY] = new DropScrollEnhancedSideDirective(el, dragDropService);
4376
+ const droppableDirective = el[DropScrollEnhancedSideDirective.INSTANCE_KEY] = new DropScrollEnhancedSideDirective(
4377
+ el,
4378
+ dragDropService
4379
+ );
4444
4380
  droppableDirective.setInput(binding.value);
4445
4381
  droppableDirective.mounted();
4446
4382
  setTimeout(() => {
4447
- var _a2;
4448
- (_a2 = droppableDirective.ngAfterViewInit) == null ? void 0 : _a2.call(droppableDirective);
4383
+ var _a;
4384
+ (_a = droppableDirective.ngAfterViewInit) == null ? void 0 : _a.call(droppableDirective);
4449
4385
  }, 0);
4450
4386
  },
4451
4387
  updated(el, binding) {
@@ -4453,23 +4389,22 @@ const DropScrollEnhancedSide = {
4453
4389
  droppableDirective.updateInput(binding.value, binding.oldValue);
4454
4390
  },
4455
4391
  beforeUnmount(el) {
4456
- var _a2;
4392
+ var _a;
4457
4393
  const droppableDirective = el[DropScrollEnhancedSideDirective.INSTANCE_KEY];
4458
- (_a2 = droppableDirective.ngOnDestroy) == null ? void 0 : _a2.call(droppableDirective);
4394
+ (_a = droppableDirective.ngOnDestroy) == null ? void 0 : _a.call(droppableDirective);
4459
4395
  }
4460
4396
  };
4461
4397
  class BatchDraggableDirective extends NgDirectiveBase {
4462
4398
  constructor(draggable, dragDropService) {
4463
4399
  super();
4464
- __publicField(this, "batchDragGroup", "default");
4465
- __publicField(this, "batchDragActive", false);
4466
- __publicField(this, "batchDragLastOneAutoActiveEventKeys", ["ctrlKey"]);
4467
- __publicField(this, "batchDragStyle", ["badge", "stack"]);
4468
- __publicField(this, "batchDragActiveEvent", new EventEmitter());
4469
- __publicField(this, "dragData");
4470
- __publicField(this, "needToRestore", false);
4471
4400
  this.draggable = draggable;
4472
4401
  this.dragDropService = dragDropService;
4402
+ this.batchDragGroup = "default";
4403
+ this.batchDragActive = false;
4404
+ this.batchDragLastOneAutoActiveEventKeys = ["ctrlKey"];
4405
+ this.batchDragStyle = ["badge", "stack"];
4406
+ this.batchDragActiveEvent = new EventEmitter();
4407
+ this.needToRestore = false;
4473
4408
  this.draggable.batchDraggable = this;
4474
4409
  }
4475
4410
  ngOnInit() {
@@ -4602,20 +4537,23 @@ class BatchDraggableDirective extends NgDirectiveBase {
4602
4537
  });
4603
4538
  }
4604
4539
  }
4605
- __publicField(BatchDraggableDirective, "INSTANCE_KEY", "__vueDevuiBatchDraggableDirectiveInstance");
4540
+ BatchDraggableDirective.INSTANCE_KEY = "__vueDevuiBatchDraggableDirectiveInstance";
4606
4541
  var BatchDraggable = {
4607
4542
  mounted(el, binding, vNode) {
4608
- var _a2;
4543
+ var _a;
4609
4544
  const context2 = vNode["ctx"].provides;
4610
4545
  const dragDropService = injectFromContext(DragDropService.TOKEN, context2);
4611
4546
  const draggableDirective = injectFromContext(DraggableDirective.TOKEN, context2);
4612
- const batchDraggableDirective = el[BatchDraggableDirective.INSTANCE_KEY] = new BatchDraggableDirective(draggableDirective, dragDropService);
4547
+ const batchDraggableDirective = el[BatchDraggableDirective.INSTANCE_KEY] = new BatchDraggableDirective(
4548
+ draggableDirective,
4549
+ dragDropService
4550
+ );
4613
4551
  batchDraggableDirective.setInput(binding.value);
4614
4552
  batchDraggableDirective.mounted();
4615
- (_a2 = batchDraggableDirective.ngOnInit) == null ? void 0 : _a2.call(batchDraggableDirective);
4553
+ (_a = batchDraggableDirective.ngOnInit) == null ? void 0 : _a.call(batchDraggableDirective);
4616
4554
  setTimeout(() => {
4617
- var _a3;
4618
- (_a3 = batchDraggableDirective.ngAfterViewInit) == null ? void 0 : _a3.call(batchDraggableDirective);
4555
+ var _a2;
4556
+ (_a2 = batchDraggableDirective.ngAfterViewInit) == null ? void 0 : _a2.call(batchDraggableDirective);
4619
4557
  }, 0);
4620
4558
  },
4621
4559
  updated(el, binding) {
@@ -4623,9 +4561,9 @@ var BatchDraggable = {
4623
4561
  batchDraggableDirective.updateInput(binding.value, binding.oldValue);
4624
4562
  },
4625
4563
  beforeUnmount(el) {
4626
- var _a2;
4564
+ var _a;
4627
4565
  const batchDraggableDirective = el[BatchDraggableDirective.INSTANCE_KEY];
4628
- (_a2 = batchDraggableDirective.ngOnDestroy) == null ? void 0 : _a2.call(batchDraggableDirective);
4566
+ (_a = batchDraggableDirective.ngOnDestroy) == null ? void 0 : _a.call(batchDraggableDirective);
4629
4567
  }
4630
4568
  };
4631
4569
  class DragPreviewCloneDomRefComponent extends NgDirectiveBase {
@@ -4699,16 +4637,16 @@ var DragPreviewCloneDomRef = defineComponent({
4699
4637
  onMounted(() => {
4700
4638
  instance.mounted();
4701
4639
  nextTick(() => {
4702
- var _a2;
4703
- (_a2 = instance.ngAfterViewInit) == null ? void 0 : _a2.call(instance);
4640
+ var _a;
4641
+ (_a = instance.ngAfterViewInit) == null ? void 0 : _a.call(instance);
4704
4642
  });
4705
4643
  });
4706
4644
  watch(() => props, (binding, oldBinding) => {
4707
4645
  instance.updateInput(binding, oldBinding);
4708
4646
  });
4709
4647
  onBeforeUnmount(() => {
4710
- var _a2;
4711
- (_a2 = instance.ngOnDestroy) == null ? void 0 : _a2.call(instance);
4648
+ var _a;
4649
+ (_a = instance.ngOnDestroy) == null ? void 0 : _a.call(instance);
4712
4650
  });
4713
4651
  expose({
4714
4652
  instance
@@ -4739,13 +4677,10 @@ function symbolIterator() {
4739
4677
  }
4740
4678
  const _QueryList = class {
4741
4679
  constructor() {
4742
- __publicField(this, "dirty", true);
4743
- __publicField(this, "_results", []);
4744
- __publicField(this, "changes", new EventEmitter());
4745
- __publicField(this, "length", 0);
4746
- __publicField(this, "first");
4747
- __publicField(this, "last");
4748
- __publicField(this, _a);
4680
+ this.dirty = true;
4681
+ this._results = [];
4682
+ this.changes = new EventEmitter();
4683
+ this.length = 0;
4749
4684
  const symbol = Symbol.iterator;
4750
4685
  const proto = _QueryList.prototype;
4751
4686
  if (!proto[symbol])
@@ -4794,12 +4729,11 @@ const _QueryList = class {
4794
4729
  }
4795
4730
  };
4796
4731
  let QueryList = _QueryList;
4797
- _a = Symbol.iterator;
4798
4732
  class DescendantRegisterService {
4799
4733
  constructor() {
4800
- __publicField(this, "_result", []);
4801
- __publicField(this, "changeSubject", new BehaviorSubject([]));
4802
- __publicField(this, "changes", this.changeSubject.asObservable().pipe(debounceTime(200)));
4734
+ this._result = [];
4735
+ this.changeSubject = new BehaviorSubject([]);
4736
+ this.changes = this.changeSubject.asObservable().pipe(debounceTime(200));
4803
4737
  }
4804
4738
  register(t) {
4805
4739
  if (!t) {
@@ -4828,7 +4762,6 @@ class DescendantRegisterService {
4828
4762
  class DescendantChildren extends NgDirectiveBase {
4829
4763
  constructor(drs) {
4830
4764
  super();
4831
- __publicField(this, "descendantItem");
4832
4765
  this.drs = drs;
4833
4766
  }
4834
4767
  ngOnInit() {
@@ -4841,7 +4774,6 @@ class DescendantChildren extends NgDirectiveBase {
4841
4774
  class DescendantRoot extends QueryList {
4842
4775
  constructor(drs) {
4843
4776
  super();
4844
- __publicField(this, "sub");
4845
4777
  this.drs = drs;
4846
4778
  }
4847
4779
  on() {
@@ -4861,15 +4793,11 @@ class DescendantRoot extends QueryList {
4861
4793
  }
4862
4794
  class DragSyncDescendantRegisterService extends DescendantRegisterService {
4863
4795
  }
4864
- __publicField(DragSyncDescendantRegisterService, "TOKEN", Symbol("DRAG_SYNC_DR_SERVICE"));
4796
+ DragSyncDescendantRegisterService.TOKEN = Symbol("DRAG_SYNC_DR_SERVICE");
4865
4797
  class DropSortSyncDescendantRegisterService extends DescendantRegisterService {
4866
4798
  }
4867
- __publicField(DropSortSyncDescendantRegisterService, "TOKEN", Symbol("DROP_SORT_SYNC_DR_SERVICE"));
4799
+ DropSortSyncDescendantRegisterService.TOKEN = Symbol("DROP_SORT_SYNC_DR_SERVICE");
4868
4800
  class DragDropSyncService {
4869
- constructor() {
4870
- __publicField(this, "dragSyncList");
4871
- __publicField(this, "dropSortSyncList");
4872
- }
4873
4801
  updateDragSyncList(list) {
4874
4802
  this.dragSyncList = list;
4875
4803
  }
@@ -4889,16 +4817,14 @@ class DragDropSyncService {
4889
4817
  return this.dropSortSyncList ? this.dropSortSyncList.filter((dragSync) => dragSync.dropSyncGroup === groupName) : [];
4890
4818
  }
4891
4819
  }
4892
- __publicField(DragDropSyncService, "TOKEN", Symbol("DRAG_DROP_SYNC_SERVICE"));
4820
+ DragDropSyncService.TOKEN = Symbol("DRAG_DROP_SYNC_SERVICE");
4893
4821
  class DragDropSyncBoxDirective extends NgDirectiveBase {
4894
4822
  constructor(dragDropSyncService, dragSyncDrs, dropSortSyncDrs) {
4895
4823
  super();
4896
- __publicField(this, "sub", new Subscription());
4897
- __publicField(this, "dragSyncList");
4898
- __publicField(this, "dropSyncList");
4899
4824
  this.dragDropSyncService = dragDropSyncService;
4900
4825
  this.dragSyncDrs = dragSyncDrs;
4901
4826
  this.dropSortSyncDrs = dropSortSyncDrs;
4827
+ this.sub = new Subscription();
4902
4828
  }
4903
4829
  ngOnInit() {
4904
4830
  this.dragSyncList = new DescendantRoot(this.dragSyncDrs);
@@ -4920,7 +4846,7 @@ class DragDropSyncBoxDirective extends NgDirectiveBase {
4920
4846
  this.dropSyncList.off();
4921
4847
  }
4922
4848
  }
4923
- __publicField(DragDropSyncBoxDirective, "INSTANCE_KEY", "__vueDevuiDragDropSyncBoxDirectiveInstance");
4849
+ DragDropSyncBoxDirective.INSTANCE_KEY = "__vueDevuiDragDropSyncBoxDirectiveInstance";
4924
4850
  var DragDropSyncBox = {
4925
4851
  created(el, binding, vNode) {
4926
4852
  const context2 = vNode["ctx"].provides;
@@ -4932,18 +4858,22 @@ var DragDropSyncBox = {
4932
4858
  provideToContext(DropSortSyncDescendantRegisterService.TOKEN, dropSortSyncDrs, context2);
4933
4859
  },
4934
4860
  mounted(el, binding, vNode) {
4935
- var _a2;
4861
+ var _a;
4936
4862
  const context2 = vNode["ctx"].provides;
4937
4863
  const dragDropSyncService = injectFromContext(DragDropSyncService.TOKEN, context2);
4938
4864
  const dragSyncDrs = injectFromContext(DragSyncDescendantRegisterService.TOKEN, context2);
4939
4865
  const dropSortSyncDrs = injectFromContext(DropSortSyncDescendantRegisterService.TOKEN, context2);
4940
- const dragDropSyncBoxDirective = el[DragDropSyncBoxDirective.INSTANCE_KEY] = new DragDropSyncBoxDirective(dragDropSyncService, dragSyncDrs, dropSortSyncDrs);
4866
+ const dragDropSyncBoxDirective = el[DragDropSyncBoxDirective.INSTANCE_KEY] = new DragDropSyncBoxDirective(
4867
+ dragDropSyncService,
4868
+ dragSyncDrs,
4869
+ dropSortSyncDrs
4870
+ );
4941
4871
  dragDropSyncBoxDirective.setInput(binding.value);
4942
4872
  dragDropSyncBoxDirective.mounted();
4943
- (_a2 = dragDropSyncBoxDirective.ngOnInit) == null ? void 0 : _a2.call(dragDropSyncBoxDirective);
4873
+ (_a = dragDropSyncBoxDirective.ngOnInit) == null ? void 0 : _a.call(dragDropSyncBoxDirective);
4944
4874
  setTimeout(() => {
4945
- var _a3;
4946
- (_a3 = dragDropSyncBoxDirective.ngAfterViewInit) == null ? void 0 : _a3.call(dragDropSyncBoxDirective);
4875
+ var _a2;
4876
+ (_a2 = dragDropSyncBoxDirective.ngAfterViewInit) == null ? void 0 : _a2.call(dragDropSyncBoxDirective);
4947
4877
  }, 0);
4948
4878
  },
4949
4879
  updated(el, binding) {
@@ -4951,42 +4881,45 @@ var DragDropSyncBox = {
4951
4881
  dragDropSyncBoxDirective.updateInput(binding.value, binding.oldValue);
4952
4882
  },
4953
4883
  beforeUnmount(el) {
4954
- var _a2;
4884
+ var _a;
4955
4885
  const dragDropSyncBoxDirective = el[DragDropSyncBoxDirective.INSTANCE_KEY];
4956
- (_a2 = dragDropSyncBoxDirective.ngOnDestroy) == null ? void 0 : _a2.call(dragDropSyncBoxDirective);
4886
+ (_a = dragDropSyncBoxDirective.ngOnDestroy) == null ? void 0 : _a.call(dragDropSyncBoxDirective);
4957
4887
  }
4958
4888
  };
4959
4889
  class DragSyncDirective extends DescendantChildren {
4960
4890
  constructor(el, draggable, dragDropSyncService, dragDropService, dragSyncDrs) {
4961
4891
  super(dragSyncDrs);
4962
- __publicField(this, "inputNameMap", {
4963
- dragSync: "dragSyncGroup",
4964
- dragSyncGroup: "dragSyncGroup"
4965
- });
4966
- __publicField(this, "dragSyncGroup", "");
4967
- __publicField(this, "subscription", new Subscription());
4968
- __publicField(this, "syncGroupDirectives");
4969
- __publicField(this, "el", { nativeElement: null });
4970
- __publicField(this, "subDragElEvent", (bool) => {
4971
- this.syncGroupDirectives.forEach((dir) => this.renderDisplay(dir.el.nativeElement, bool));
4972
- });
4973
4892
  this.draggable = draggable;
4974
4893
  this.dragDropSyncService = dragDropSyncService;
4975
4894
  this.dragDropService = dragDropService;
4895
+ this.inputNameMap = {
4896
+ dragSync: "dragSyncGroup",
4897
+ dragSyncGroup: "dragSyncGroup"
4898
+ };
4899
+ this.dragSyncGroup = "";
4900
+ this.subscription = new Subscription();
4901
+ this.el = { nativeElement: null };
4902
+ this.subDragElEvent = (bool) => {
4903
+ this.syncGroupDirectives.forEach((dir) => this.renderDisplay(dir.el.nativeElement, bool));
4904
+ };
4976
4905
  this.el.nativeElement = el;
4977
4906
  this.descendantItem = this;
4978
4907
  }
4979
4908
  ngOnInit() {
4980
4909
  if (this.draggable) {
4981
4910
  this.subscription.add(this.draggable.dragElShowHideEvent.subscribe(this.subDragElEvent));
4982
- this.subscription.add(this.draggable.beforeDragStartEvent.subscribe(() => {
4983
- this.syncGroupDirectives = this.dragDropSyncService.getDragSyncByGroup(this.dragSyncGroup).filter((directive) => directive !== this);
4984
- this.dragDropService.dragSyncGroupDirectives = this.syncGroupDirectives;
4985
- }));
4986
- this.subscription.add(this.draggable.dropEndEvent.subscribe(() => {
4987
- this.dragDropService.dragSyncGroupDirectives = void 0;
4988
- this.syncGroupDirectives = void 0;
4989
- }));
4911
+ this.subscription.add(
4912
+ this.draggable.beforeDragStartEvent.subscribe(() => {
4913
+ this.syncGroupDirectives = this.dragDropSyncService.getDragSyncByGroup(this.dragSyncGroup).filter((directive) => directive !== this);
4914
+ this.dragDropService.dragSyncGroupDirectives = this.syncGroupDirectives;
4915
+ })
4916
+ );
4917
+ this.subscription.add(
4918
+ this.draggable.dropEndEvent.subscribe(() => {
4919
+ this.dragDropService.dragSyncGroupDirectives = void 0;
4920
+ this.syncGroupDirectives = void 0;
4921
+ })
4922
+ );
4990
4923
  }
4991
4924
  super.ngOnInit();
4992
4925
  }
@@ -5000,10 +4933,10 @@ class DragSyncDirective extends DescendantChildren {
5000
4933
  nativeEl.style.display = bool ? "" : "none";
5001
4934
  }
5002
4935
  }
5003
- __publicField(DragSyncDirective, "INSTANCE_KEY", "__vueDevuiDragSyncDirectiveInstance");
4936
+ DragSyncDirective.INSTANCE_KEY = "__vueDevuiDragSyncDirectiveInstance";
5004
4937
  var DragSync = {
5005
4938
  mounted(el, binding, vNode) {
5006
- var _a2;
4939
+ var _a;
5007
4940
  const context2 = vNode["ctx"].provides;
5008
4941
  let draggable = injectFromContext(DraggableDirective.TOKEN, context2);
5009
4942
  if ((draggable == null ? void 0 : draggable.el.nativeElement) !== el) {
@@ -5012,43 +4945,48 @@ var DragSync = {
5012
4945
  const dragDropSyncService = injectFromContext(DragDropSyncService.TOKEN, context2);
5013
4946
  const dragDropService = injectFromContext(DragDropService.TOKEN, context2);
5014
4947
  const dragSyncDrs = injectFromContext(DragSyncDescendantRegisterService.TOKEN, context2);
5015
- const dragSyncDirective = el[DragSyncDirective.INSTANCE_KEY] = new DragSyncDirective(el, draggable, dragDropSyncService, dragDropService, dragSyncDrs);
4948
+ const dragSyncDirective = el[DragSyncDirective.INSTANCE_KEY] = new DragSyncDirective(
4949
+ el,
4950
+ draggable,
4951
+ dragDropSyncService,
4952
+ dragDropService,
4953
+ dragSyncDrs
4954
+ );
5016
4955
  dragSyncDirective.setInput(binding.value);
5017
4956
  dragSyncDirective.mounted();
5018
- (_a2 = dragSyncDirective.ngOnInit) == null ? void 0 : _a2.call(dragSyncDirective);
4957
+ (_a = dragSyncDirective.ngOnInit) == null ? void 0 : _a.call(dragSyncDirective);
5019
4958
  },
5020
4959
  updated(el, binding) {
5021
4960
  const dragSyncDirective = el[DragSyncDirective.INSTANCE_KEY];
5022
4961
  dragSyncDirective.updateInput(binding.value, binding.oldValue);
5023
4962
  },
5024
4963
  beforeUnmount(el) {
5025
- var _a2;
4964
+ var _a;
5026
4965
  const dragSyncDirective = el[DragSyncDirective.INSTANCE_KEY];
5027
- (_a2 = dragSyncDirective.ngOnDestroy) == null ? void 0 : _a2.call(dragSyncDirective);
4966
+ (_a = dragSyncDirective.ngOnDestroy) == null ? void 0 : _a.call(dragSyncDirective);
5028
4967
  }
5029
4968
  };
5030
4969
  class DropSortSyncDirective extends DescendantChildren {
5031
4970
  constructor(el, droppable, dragDropSyncService, dropSortSyncDrs) {
5032
4971
  super(dropSortSyncDrs);
5033
- __publicField(this, "inputNameMap", {
4972
+ this.droppable = droppable;
4973
+ this.dragDropSyncService = dragDropSyncService;
4974
+ this.inputNameMap = {
5034
4975
  dropSortSync: "dropSyncGroup",
5035
4976
  dropSyncGroup: "dropSyncGroup",
5036
4977
  dropSyncDirection: "direction"
5037
- });
5038
- __publicField(this, "dropSyncGroup", "");
5039
- __publicField(this, "direction", "v");
5040
- __publicField(this, "subscription", new Subscription());
5041
- __publicField(this, "syncGroupDirectives");
5042
- __publicField(this, "placeholder");
5043
- __publicField(this, "sortContainer");
5044
- __publicField(this, "el", { nativeElement: null });
5045
- __publicField(this, "subRenderEvent", (nativeStyle) => {
4978
+ };
4979
+ this.dropSyncGroup = "";
4980
+ this.direction = "v";
4981
+ this.subscription = new Subscription();
4982
+ this.el = { nativeElement: null };
4983
+ this.subRenderEvent = (nativeStyle) => {
5046
4984
  this.syncGroupDirectives = this.dragDropSyncService.getDropSyncByGroup(this.dropSyncGroup).filter((directive) => directive !== this);
5047
4985
  this.syncGroupDirectives.forEach((dir) => {
5048
4986
  dir.renderPlaceholder(nativeStyle, this.droppable);
5049
4987
  });
5050
- });
5051
- __publicField(this, "subInsertionEvent", (cmd) => {
4988
+ };
4989
+ this.subInsertionEvent = (cmd) => {
5052
4990
  this.syncGroupDirectives = this.dragDropSyncService.getDropSyncByGroup(this.dropSyncGroup).filter((directive) => directive !== this);
5053
4991
  this.syncGroupDirectives.forEach((dir) => {
5054
4992
  dir.insertPlaceholderCommand({
@@ -5057,9 +4995,7 @@ class DropSortSyncDirective extends DescendantChildren {
5057
4995
  relatedEl: dir.getChildrenElByIndex(dir.sortContainer, cmd.index)
5058
4996
  });
5059
4997
  });
5060
- });
5061
- this.droppable = droppable;
5062
- this.dragDropSyncService = dragDropSyncService;
4998
+ };
5063
4999
  this.el.nativeElement = el;
5064
5000
  this.descendantItem = this;
5065
5001
  }
@@ -5118,30 +5054,38 @@ class DropSortSyncDirective extends DescendantChildren {
5118
5054
  }
5119
5055
  }
5120
5056
  }
5121
- __publicField(DropSortSyncDirective, "INSTANCE_KEY", "__vueDevuiDropSortSyncDirectiveInstance");
5057
+ DropSortSyncDirective.INSTANCE_KEY = "__vueDevuiDropSortSyncDirectiveInstance";
5122
5058
  var DropSortSync = {
5123
5059
  mounted(el, binding, vNode) {
5124
- var _a2;
5060
+ var _a;
5125
5061
  const context2 = vNode["ctx"].provides;
5126
5062
  let droppable = injectFromContext(DroppableDirective.TOKEN, context2);
5127
5063
  if ((droppable == null ? void 0 : droppable.el.nativeElement) !== el) {
5128
5064
  droppable = void 0;
5129
5065
  }
5130
5066
  const dragDropSyncService = injectFromContext(DragDropSyncService.TOKEN, context2);
5131
- const dropSortSyncDrs = injectFromContext(DropSortSyncDescendantRegisterService.TOKEN, context2);
5132
- const dropSortSyncDirective = el[DropSortSyncDirective.INSTANCE_KEY] = new DropSortSyncDirective(el, droppable, dragDropSyncService, dropSortSyncDrs);
5067
+ const dropSortSyncDrs = injectFromContext(
5068
+ DropSortSyncDescendantRegisterService.TOKEN,
5069
+ context2
5070
+ );
5071
+ const dropSortSyncDirective = el[DropSortSyncDirective.INSTANCE_KEY] = new DropSortSyncDirective(
5072
+ el,
5073
+ droppable,
5074
+ dragDropSyncService,
5075
+ dropSortSyncDrs
5076
+ );
5133
5077
  dropSortSyncDirective.setInput(binding.value);
5134
5078
  dropSortSyncDirective.mounted();
5135
- (_a2 = dropSortSyncDirective.ngOnInit) == null ? void 0 : _a2.call(dropSortSyncDirective);
5079
+ (_a = dropSortSyncDirective.ngOnInit) == null ? void 0 : _a.call(dropSortSyncDirective);
5136
5080
  },
5137
5081
  updated(el, binding) {
5138
5082
  const dropSortSyncDirective = el[DropSortSyncDirective.INSTANCE_KEY];
5139
5083
  dropSortSyncDirective.updateInput(binding.value, binding.oldValue);
5140
5084
  },
5141
5085
  beforeUnmount(el) {
5142
- var _a2;
5086
+ var _a;
5143
5087
  const dropSortSyncDirective = el[DropSortSyncDirective.INSTANCE_KEY];
5144
- (_a2 = dropSortSyncDirective.ngOnDestroy) == null ? void 0 : _a2.call(dropSortSyncDirective);
5088
+ (_a = dropSortSyncDirective.ngOnDestroy) == null ? void 0 : _a.call(dropSortSyncDirective);
5145
5089
  }
5146
5090
  };
5147
5091
  var useDragDropSort = {