@milaboratories/uikit 2.4.2 → 2.4.4

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 (1328) hide show
  1. package/.turbo/turbo-build.log +621 -731
  2. package/.turbo/turbo-type-check.log +3 -2
  3. package/CHANGELOG.md +16 -0
  4. package/{vite.config.ts → build.browser-lib.config.js} +5 -13
  5. package/dist/__tests__/compositions/useValidation.spec.d.ts +1 -0
  6. package/dist/__tests__/setup.d.ts +0 -1
  7. package/dist/__tests__/use-debounce-fn.test.d.ts +1 -0
  8. package/dist/assets/icons/icon-assets-min/16_add.svg.js.map +1 -1
  9. package/dist/assets/icons/icon-assets-min/16_arrow-down.svg.js.map +1 -1
  10. package/dist/assets/icons/icon-assets-min/16_arrow-left.svg.js.map +1 -1
  11. package/dist/assets/icons/icon-assets-min/16_arrow-link.svg.js.map +1 -1
  12. package/dist/assets/icons/icon-assets-min/16_arrow-right.svg.js.map +1 -1
  13. package/dist/assets/icons/icon-assets-min/16_arrow-up.svg.js.map +1 -1
  14. package/dist/assets/icons/icon-assets-min/16_box.svg.js.map +1 -1
  15. package/dist/assets/icons/icon-assets-min/16_calendar.svg.js.map +1 -1
  16. package/dist/assets/icons/icon-assets-min/16_caret-down.svg.js.map +1 -1
  17. package/dist/assets/icons/icon-assets-min/16_caret-left.svg.js.map +1 -1
  18. package/dist/assets/icons/icon-assets-min/16_caret-right.svg.js.map +1 -1
  19. package/dist/assets/icons/icon-assets-min/16_caret-up.svg.js.map +1 -1
  20. package/dist/assets/icons/icon-assets-min/16_cell-type-num.svg.js.map +1 -1
  21. package/dist/assets/icons/icon-assets-min/16_cell-type-subset.svg.js.map +1 -1
  22. package/dist/assets/icons/icon-assets-min/16_cell-type-txt.svg.js.map +1 -1
  23. package/dist/assets/icons/icon-assets-min/16_checkmark.svg.js.map +1 -1
  24. package/dist/assets/icons/icon-assets-min/16_chevron-down.svg.js.map +1 -1
  25. package/dist/assets/icons/icon-assets-min/16_chevron-first.svg.js.map +1 -1
  26. package/dist/assets/icons/icon-assets-min/16_chevron-last.svg.js.map +1 -1
  27. package/dist/assets/icons/icon-assets-min/16_chevron-left.svg.js.map +1 -1
  28. package/dist/assets/icons/icon-assets-min/16_chevron-right.svg.js.map +1 -1
  29. package/dist/assets/icons/icon-assets-min/16_chevron-up.svg.js.map +1 -1
  30. package/dist/assets/icons/icon-assets-min/16_clear.svg.js.map +1 -1
  31. package/dist/assets/icons/icon-assets-min/16_clipboard-copied.svg.js.map +1 -1
  32. package/dist/assets/icons/icon-assets-min/16_clipboard.svg.js.map +1 -1
  33. package/dist/assets/icons/icon-assets-min/16_close.svg.js.map +1 -1
  34. package/dist/assets/icons/icon-assets-min/16_compare.svg.js.map +1 -1
  35. package/dist/assets/icons/icon-assets-min/16_copy.svg.js.map +1 -1
  36. package/dist/assets/icons/icon-assets-min/16_data-dimentions.svg.js.map +1 -1
  37. package/dist/assets/icons/icon-assets-min/16_delete-bin.svg.js.map +1 -1
  38. package/dist/assets/icons/icon-assets-min/16_delete-circle.svg.js.map +1 -1
  39. package/dist/assets/icons/icon-assets-min/16_delete-clear.svg.js.map +1 -1
  40. package/dist/assets/icons/icon-assets-min/16_download.svg.js.map +1 -1
  41. package/dist/assets/icons/icon-assets-min/16_drag-dots.svg.js.map +1 -1
  42. package/dist/assets/icons/icon-assets-min/16_duplicate.svg.js.map +1 -1
  43. package/dist/assets/icons/icon-assets-min/16_edit.svg.js.map +1 -1
  44. package/dist/assets/icons/icon-assets-min/16_error.svg.js.map +1 -1
  45. package/dist/assets/icons/icon-assets-min/16_export.svg.js.map +1 -1
  46. package/dist/assets/icons/icon-assets-min/16_filter-on.svg.js.map +1 -1
  47. package/dist/assets/icons/icon-assets-min/16_filter.svg.js.map +1 -1
  48. package/dist/assets/icons/icon-assets-min/16_help-outline.svg.js.map +1 -1
  49. package/dist/assets/icons/icon-assets-min/16_help.svg.js.map +1 -1
  50. package/dist/assets/icons/icon-assets-min/16_import.svg.js.map +1 -1
  51. package/dist/assets/icons/icon-assets-min/16_info-outline.svg.js.map +1 -1
  52. package/dist/assets/icons/icon-assets-min/16_info.svg.js.map +1 -1
  53. package/dist/assets/icons/icon-assets-min/16_jump-link.svg.js.map +1 -1
  54. package/dist/assets/icons/icon-assets-min/16_link-arrow.svg.js.map +1 -1
  55. package/dist/assets/icons/icon-assets-min/16_link.svg.js.map +1 -1
  56. package/dist/assets/icons/icon-assets-min/16_loading.svg.js.map +1 -1
  57. package/dist/assets/icons/icon-assets-min/16_lock.svg.js.map +1 -1
  58. package/dist/assets/icons/icon-assets-min/16_maximize.svg.js.map +1 -1
  59. package/dist/assets/icons/icon-assets-min/16_minimize.svg.js.map +1 -1
  60. package/dist/assets/icons/icon-assets-min/16_minus.svg.js.map +1 -1
  61. package/dist/assets/icons/icon-assets-min/16_more.svg.js.map +1 -1
  62. package/dist/assets/icons/icon-assets-min/16_open.svg.js.map +1 -1
  63. package/dist/assets/icons/icon-assets-min/16_paper-clip.svg.js.map +1 -1
  64. package/dist/assets/icons/icon-assets-min/16_pause.svg.js.map +1 -1
  65. package/dist/assets/icons/icon-assets-min/16_play.svg.js.map +1 -1
  66. package/dist/assets/icons/icon-assets-min/16_progress.svg.js.map +1 -1
  67. package/dist/assets/icons/icon-assets-min/16_renew.svg.js.map +1 -1
  68. package/dist/assets/icons/icon-assets-min/16_required.svg.js.map +1 -1
  69. package/dist/assets/icons/icon-assets-min/16_restart.svg.js.map +1 -1
  70. package/dist/assets/icons/icon-assets-min/16_reverse.svg.js.map +1 -1
  71. package/dist/assets/icons/icon-assets-min/16_settings.svg.js.map +1 -1
  72. package/dist/assets/icons/icon-assets-min/16_sort.svg.js.map +1 -1
  73. package/dist/assets/icons/icon-assets-min/16_sorter.svg.js.map +1 -1
  74. package/dist/assets/icons/icon-assets-min/16_stop.svg.js.map +1 -1
  75. package/dist/assets/icons/icon-assets-min/16_success.svg.js.map +1 -1
  76. package/dist/assets/icons/icon-assets-min/16_time.svg.js.map +1 -1
  77. package/dist/assets/icons/icon-assets-min/16_tune.svg.js.map +1 -1
  78. package/dist/assets/icons/icon-assets-min/16_warning.svg.js.map +1 -1
  79. package/dist/assets/icons/icon-assets-min/16_x-axis.svg.js.map +1 -1
  80. package/dist/assets/icons/icon-assets-min/16_y-axis.svg.js.map +1 -1
  81. package/dist/assets/icons/icon-assets-min/16_zip.svg.js.map +1 -1
  82. package/dist/assets/icons/icon-assets-min/24_add-layer.svg.js.map +1 -1
  83. package/dist/assets/icons/icon-assets-min/24_add.svg.js.map +1 -1
  84. package/dist/assets/icons/icon-assets-min/24_align-center.svg.js.map +1 -1
  85. package/dist/assets/icons/icon-assets-min/24_align-left.svg.js.map +1 -1
  86. package/dist/assets/icons/icon-assets-min/24_align-right.svg.js.map +1 -1
  87. package/dist/assets/icons/icon-assets-min/24_annotate.svg.js.map +1 -1
  88. package/dist/assets/icons/icon-assets-min/24_annotation.svg.js.map +1 -1
  89. package/dist/assets/icons/icon-assets-min/24_area.svg.js.map +1 -1
  90. package/dist/assets/icons/icon-assets-min/24_arrow-down.svg.js.map +1 -1
  91. package/dist/assets/icons/icon-assets-min/24_arrow-left-curved.svg.js.map +1 -1
  92. package/dist/assets/icons/icon-assets-min/24_arrow-left.svg.js.map +1 -1
  93. package/dist/assets/icons/icon-assets-min/24_arrow-link.svg.js.map +1 -1
  94. package/dist/assets/icons/icon-assets-min/24_arrow-right.svg.js.map +1 -1
  95. package/dist/assets/icons/icon-assets-min/24_arrow-up.svg.js.map +1 -1
  96. package/dist/assets/icons/icon-assets-min/24_axes.svg.js.map +1 -1
  97. package/dist/assets/icons/icon-assets-min/24_bar-cross.svg.js.map +1 -1
  98. package/dist/assets/icons/icon-assets-min/24_bar-error.svg.js.map +1 -1
  99. package/dist/assets/icons/icon-assets-min/24_bar-stacked.svg.js.map +1 -1
  100. package/dist/assets/icons/icon-assets-min/24_bar-trend.svg.js.map +1 -1
  101. package/dist/assets/icons/icon-assets-min/24_bar.svg.js.map +1 -1
  102. package/dist/assets/icons/icon-assets-min/24_bindot.svg.js.map +1 -1
  103. package/dist/assets/icons/icon-assets-min/24_box.svg.js.map +1 -1
  104. package/dist/assets/icons/icon-assets-min/24_boxplot-binned.svg.js.map +1 -1
  105. package/dist/assets/icons/icon-assets-min/24_boxplot-jitter.svg.js.map +1 -1
  106. package/dist/assets/icons/icon-assets-min/24_boxplot-notched.svg.js.map +1 -1
  107. package/dist/assets/icons/icon-assets-min/24_boxplot.svg.js.map +1 -1
  108. package/dist/assets/icons/icon-assets-min/24_bubble.svg.js.map +1 -1
  109. package/dist/assets/icons/icon-assets-min/24_calendar.svg.js.map +1 -1
  110. package/dist/assets/icons/icon-assets-min/24_canvas.svg.js.map +1 -1
  111. package/dist/assets/icons/icon-assets-min/24_cell-type-num.svg.js.map +1 -1
  112. package/dist/assets/icons/icon-assets-min/24_cell-type-subset.svg.js.map +1 -1
  113. package/dist/assets/icons/icon-assets-min/24_cell-type-txt.svg.js.map +1 -1
  114. package/dist/assets/icons/icon-assets-min/24_checkbox-checked.svg.js.map +1 -1
  115. package/dist/assets/icons/icon-assets-min/24_checkbox-intermediate.svg.js.map +1 -1
  116. package/dist/assets/icons/icon-assets-min/24_checkbox.svg.js.map +1 -1
  117. package/dist/assets/icons/icon-assets-min/24_checkmark.svg.js.map +1 -1
  118. package/dist/assets/icons/icon-assets-min/24_chevron-down.svg.js.map +1 -1
  119. package/dist/assets/icons/icon-assets-min/24_chevron-first.svg.js.map +1 -1
  120. package/dist/assets/icons/icon-assets-min/24_chevron-last.svg.js.map +1 -1
  121. package/dist/assets/icons/icon-assets-min/24_chevron-left.svg.js.map +1 -1
  122. package/dist/assets/icons/icon-assets-min/24_chevron-right.svg.js.map +1 -1
  123. package/dist/assets/icons/icon-assets-min/24_chevron-sort.svg.js.map +1 -1
  124. package/dist/assets/icons/icon-assets-min/24_chevron-up.svg.js.map +1 -1
  125. package/dist/assets/icons/icon-assets-min/24_clipboard-copied.svg.js.map +1 -1
  126. package/dist/assets/icons/icon-assets-min/24_clipboard.svg.js.map +1 -1
  127. package/dist/assets/icons/icon-assets-min/24_close.svg.js.map +1 -1
  128. package/dist/assets/icons/icon-assets-min/24_cloud-download.svg.js.map +1 -1
  129. package/dist/assets/icons/icon-assets-min/24_cloud-offline.svg.js.map +1 -1
  130. package/dist/assets/icons/icon-assets-min/24_cloud-online.svg.js.map +1 -1
  131. package/dist/assets/icons/icon-assets-min/24_cloud-upload.svg.js.map +1 -1
  132. package/dist/assets/icons/icon-assets-min/24_cluster.svg.js.map +1 -1
  133. package/dist/assets/icons/icon-assets-min/24_code.svg.js.map +1 -1
  134. package/dist/assets/icons/icon-assets-min/24_color-fill.svg.js.map +1 -1
  135. package/dist/assets/icons/icon-assets-min/24_color-none.svg.js.map +1 -1
  136. package/dist/assets/icons/icon-assets-min/24_color-stroke.svg.js.map +1 -1
  137. package/dist/assets/icons/icon-assets-min/24_color.svg.js.map +1 -1
  138. package/dist/assets/icons/icon-assets-min/24_columns.svg.js.map +1 -1
  139. package/dist/assets/icons/icon-assets-min/24_connected-points.svg.js.map +1 -1
  140. package/dist/assets/icons/icon-assets-min/24_container.svg.js.map +1 -1
  141. package/dist/assets/icons/icon-assets-min/24_cookie.svg.js.map +1 -1
  142. package/dist/assets/icons/icon-assets-min/24_copy.svg.js.map +1 -1
  143. package/dist/assets/icons/icon-assets-min/24_cpu.svg.js.map +1 -1
  144. package/dist/assets/icons/icon-assets-min/24_cursor-pointer.svg.js.map +1 -1
  145. package/dist/assets/icons/icon-assets-min/24_data-dimentions.svg.js.map +1 -1
  146. package/dist/assets/icons/icon-assets-min/24_debug.svg.js.map +1 -1
  147. package/dist/assets/icons/icon-assets-min/24_delete-bin.svg.js.map +1 -1
  148. package/dist/assets/icons/icon-assets-min/24_delete-circle.svg.js.map +1 -1
  149. package/dist/assets/icons/icon-assets-min/24_delete-clear.svg.js.map +1 -1
  150. package/dist/assets/icons/icon-assets-min/24_dendrogram-X-line.svg.js.map +1 -1
  151. package/dist/assets/icons/icon-assets-min/24_dendrogram-X.svg.js.map +1 -1
  152. package/dist/assets/icons/icon-assets-min/24_dendrogram-Y-line.svg.js.map +1 -1
  153. package/dist/assets/icons/icon-assets-min/24_dendrogram-Y.svg.js.map +1 -1
  154. package/dist/assets/icons/icon-assets-min/24_dna-add.svg.js.map +1 -1
  155. package/dist/assets/icons/icon-assets-min/24_dna-import.svg.js.map +1 -1
  156. package/dist/assets/icons/icon-assets-min/24_dna.svg.js.map +1 -1
  157. package/dist/assets/icons/icon-assets-min/24_download.svg.js.map +1 -1
  158. package/dist/assets/icons/icon-assets-min/24_drag-dots.svg.js.map +1 -1
  159. package/dist/assets/icons/icon-assets-min/24_drag-horizontal.svg.js.map +1 -1
  160. package/dist/assets/icons/icon-assets-min/24_drag-vertical.svg.js.map +1 -1
  161. package/dist/assets/icons/icon-assets-min/24_duplicate.svg.js.map +1 -1
  162. package/dist/assets/icons/icon-assets-min/24_edit.svg.js.map +1 -1
  163. package/dist/assets/icons/icon-assets-min/24_error-bar.svg.js.map +1 -1
  164. package/dist/assets/icons/icon-assets-min/24_error.svg.js.map +1 -1
  165. package/dist/assets/icons/icon-assets-min/24_expand-left.svg.js.map +1 -1
  166. package/dist/assets/icons/icon-assets-min/24_expand-right.svg.js.map +1 -1
  167. package/dist/assets/icons/icon-assets-min/24_export-2.svg.js.map +1 -1
  168. package/dist/assets/icons/icon-assets-min/24_export.svg.js.map +1 -1
  169. package/dist/assets/icons/icon-assets-min/24_external-link.svg.js.map +1 -1
  170. package/dist/assets/icons/icon-assets-min/24_file-doc-add.svg.js.map +1 -1
  171. package/dist/assets/icons/icon-assets-min/24_file-doc-download.svg.js.map +1 -1
  172. package/dist/assets/icons/icon-assets-min/24_file-doc-import.svg.js.map +1 -1
  173. package/dist/assets/icons/icon-assets-min/24_file-doc.svg.js.map +1 -1
  174. package/dist/assets/icons/icon-assets-min/24_files-export.svg.js.map +1 -1
  175. package/dist/assets/icons/icon-assets-min/24_files-import.svg.js.map +1 -1
  176. package/dist/assets/icons/icon-assets-min/24_filter-on.svg.js.map +1 -1
  177. package/dist/assets/icons/icon-assets-min/24_filter.svg.js.map +1 -1
  178. package/dist/assets/icons/icon-assets-min/24_fire-tips.svg.js.map +1 -1
  179. package/dist/assets/icons/icon-assets-min/24_folder-parent.svg.js.map +1 -1
  180. package/dist/assets/icons/icon-assets-min/24_frame-type-all.svg.js.map +1 -1
  181. package/dist/assets/icons/icon-assets-min/24_frame-type-bottom.svg.js.map +1 -1
  182. package/dist/assets/icons/icon-assets-min/24_frame-type-left-bottom.svg.js.map +1 -1
  183. package/dist/assets/icons/icon-assets-min/24_frame-type-left.svg.js.map +1 -1
  184. package/dist/assets/icons/icon-assets-min/24_frame-type-none.svg.js.map +1 -1
  185. package/dist/assets/icons/icon-assets-min/24_generate.svg.js.map +1 -1
  186. package/dist/assets/icons/icon-assets-min/24_graph.svg.js.map +1 -1
  187. package/dist/assets/icons/icon-assets-min/24_heatmap.svg.js.map +1 -1
  188. package/dist/assets/icons/icon-assets-min/24_help-outline.svg.js.map +1 -1
  189. package/dist/assets/icons/icon-assets-min/24_help.svg.js.map +1 -1
  190. package/dist/assets/icons/icon-assets-min/24_hide.svg.js.map +1 -1
  191. package/dist/assets/icons/icon-assets-min/24_import.svg.js.map +1 -1
  192. package/dist/assets/icons/icon-assets-min/24_info-outline.svg.js.map +1 -1
  193. package/dist/assets/icons/icon-assets-min/24_info.svg.js.map +1 -1
  194. package/dist/assets/icons/icon-assets-min/24_jitter.svg.js.map +1 -1
  195. package/dist/assets/icons/icon-assets-min/24_jump-link.svg.js.map +1 -1
  196. package/dist/assets/icons/icon-assets-min/24_lasso.svg.js.map +1 -1
  197. package/dist/assets/icons/icon-assets-min/24_layers.svg.js.map +1 -1
  198. package/dist/assets/icons/icon-assets-min/24_learn.svg.js.map +1 -1
  199. package/dist/assets/icons/icon-assets-min/24_legend-box-dot.svg.js.map +1 -1
  200. package/dist/assets/icons/icon-assets-min/24_legend-box.svg.js.map +1 -1
  201. package/dist/assets/icons/icon-assets-min/24_legend.svg.js.map +1 -1
  202. package/dist/assets/icons/icon-assets-min/24_line-binned.svg.js.map +1 -1
  203. package/dist/assets/icons/icon-assets-min/24_line-error.svg.js.map +1 -1
  204. package/dist/assets/icons/icon-assets-min/24_line-jitter.svg.js.map +1 -1
  205. package/dist/assets/icons/icon-assets-min/24_line.svg.js.map +1 -1
  206. package/dist/assets/icons/icon-assets-min/24_linetype-dashed.svg.js.map +1 -1
  207. package/dist/assets/icons/icon-assets-min/24_linetype-dotdash.svg.js.map +1 -1
  208. package/dist/assets/icons/icon-assets-min/24_linetype-dotted.svg.js.map +1 -1
  209. package/dist/assets/icons/icon-assets-min/24_linetype-longdash.svg.js.map +1 -1
  210. package/dist/assets/icons/icon-assets-min/24_linetype-solid.svg.js.map +1 -1
  211. package/dist/assets/icons/icon-assets-min/24_linetype-twodash.svg.js.map +1 -1
  212. package/dist/assets/icons/icon-assets-min/24_link-disabled.svg.js.map +1 -1
  213. package/dist/assets/icons/icon-assets-min/24_link.svg.js.map +1 -1
  214. package/dist/assets/icons/icon-assets-min/24_loading.svg.js.map +1 -1
  215. package/dist/assets/icons/icon-assets-min/24_lock.svg.js.map +1 -1
  216. package/dist/assets/icons/icon-assets-min/24_maximize.svg.js.map +1 -1
  217. package/dist/assets/icons/icon-assets-min/24_menu.svg.js.map +1 -1
  218. package/dist/assets/icons/icon-assets-min/24_minimize.svg.js.map +1 -1
  219. package/dist/assets/icons/icon-assets-min/24_minus.svg.js.map +1 -1
  220. package/dist/assets/icons/icon-assets-min/24_monetization-off.svg.js.map +1 -1
  221. package/dist/assets/icons/icon-assets-min/24_monetization-on.svg.js.map +1 -1
  222. package/dist/assets/icons/icon-assets-min/24_monetization.svg.js.map +1 -1
  223. package/dist/assets/icons/icon-assets-min/24_more.svg.js.map +1 -1
  224. package/dist/assets/icons/icon-assets-min/24_paper-clip.svg.js.map +1 -1
  225. package/dist/assets/icons/icon-assets-min/24_pause.svg.js.map +1 -1
  226. package/dist/assets/icons/icon-assets-min/24_pen-tool.svg.js.map +1 -1
  227. package/dist/assets/icons/icon-assets-min/24_pin.svg.js.map +1 -1
  228. package/dist/assets/icons/icon-assets-min/24_play.svg.js.map +1 -1
  229. package/dist/assets/icons/icon-assets-min/24_position-bottom-annotation.svg.js.map +1 -1
  230. package/dist/assets/icons/icon-assets-min/24_position-bottom.svg.js.map +1 -1
  231. package/dist/assets/icons/icon-assets-min/24_position-left-annotation.svg.js.map +1 -1
  232. package/dist/assets/icons/icon-assets-min/24_position-left.svg.js.map +1 -1
  233. package/dist/assets/icons/icon-assets-min/24_position-right-annotation.svg.js.map +1 -1
  234. package/dist/assets/icons/icon-assets-min/24_position-right.svg.js.map +1 -1
  235. package/dist/assets/icons/icon-assets-min/24_position-top-annotation.svg.js.map +1 -1
  236. package/dist/assets/icons/icon-assets-min/24_position-top.svg.js.map +1 -1
  237. package/dist/assets/icons/icon-assets-min/24_product.svg.js.map +1 -1
  238. package/dist/assets/icons/icon-assets-min/24_progress.svg.js.map +1 -1
  239. package/dist/assets/icons/icon-assets-min/24_publications.svg.js.map +1 -1
  240. package/dist/assets/icons/icon-assets-min/24_radio-button-checked.svg.js.map +1 -1
  241. package/dist/assets/icons/icon-assets-min/24_radio-button.svg.js.map +1 -1
  242. package/dist/assets/icons/icon-assets-min/24_renew.svg.js.map +1 -1
  243. package/dist/assets/icons/icon-assets-min/24_restart.svg.js.map +1 -1
  244. package/dist/assets/icons/icon-assets-min/24_reverse.svg.js.map +1 -1
  245. package/dist/assets/icons/icon-assets-min/24_rotation-0.svg.js.map +1 -1
  246. package/dist/assets/icons/icon-assets-min/24_rotation-45.svg.js.map +1 -1
  247. package/dist/assets/icons/icon-assets-min/24_rotation-90.svg.js.map +1 -1
  248. package/dist/assets/icons/icon-assets-min/24_search.svg.js.map +1 -1
  249. package/dist/assets/icons/icon-assets-min/24_server-on.svg.js.map +1 -1
  250. package/dist/assets/icons/icon-assets-min/24_server.svg.js.map +1 -1
  251. package/dist/assets/icons/icon-assets-min/24_settings.svg.js.map +1 -1
  252. package/dist/assets/icons/icon-assets-min/24_show.svg.js.map +1 -1
  253. package/dist/assets/icons/icon-assets-min/24_sina.svg.js.map +1 -1
  254. package/dist/assets/icons/icon-assets-min/24_skatterplot.svg.js.map +1 -1
  255. package/dist/assets/icons/icon-assets-min/24_slice.svg.js.map +1 -1
  256. package/dist/assets/icons/icon-assets-min/24_social-github.svg.js.map +1 -1
  257. package/dist/assets/icons/icon-assets-min/24_social-linkedin.svg.js.map +1 -1
  258. package/dist/assets/icons/icon-assets-min/24_social-twitter-X.svg.js.map +1 -1
  259. package/dist/assets/icons/icon-assets-min/24_social-twitter-bird.svg.js.map +1 -1
  260. package/dist/assets/icons/icon-assets-min/24_social-youtube.svg.js.map +1 -1
  261. package/dist/assets/icons/icon-assets-min/24_sort-list-down.svg.js.map +1 -1
  262. package/dist/assets/icons/icon-assets-min/24_sort-list-up.svg.js.map +1 -1
  263. package/dist/assets/icons/icon-assets-min/24_sort.svg.js.map +1 -1
  264. package/dist/assets/icons/icon-assets-min/24_statistics.svg.js.map +1 -1
  265. package/dist/assets/icons/icon-assets-min/24_stop.svg.js.map +1 -1
  266. package/dist/assets/icons/icon-assets-min/24_strip-plot.svg.js.map +1 -1
  267. package/dist/assets/icons/icon-assets-min/24_success.svg.js.map +1 -1
  268. package/dist/assets/icons/icon-assets-min/24_table-add.svg.js.map +1 -1
  269. package/dist/assets/icons/icon-assets-min/24_table-alias.svg.js.map +1 -1
  270. package/dist/assets/icons/icon-assets-min/24_table-import.svg.js.map +1 -1
  271. package/dist/assets/icons/icon-assets-min/24_table-upload.svg.js.map +1 -1
  272. package/dist/assets/icons/icon-assets-min/24_table.svg.js.map +1 -1
  273. package/dist/assets/icons/icon-assets-min/24_template.svg.js.map +1 -1
  274. package/dist/assets/icons/icon-assets-min/24_terminal.svg.js.map +1 -1
  275. package/dist/assets/icons/icon-assets-min/24_text-align-center.svg.js.map +1 -1
  276. package/dist/assets/icons/icon-assets-min/24_text-align-left.svg.js.map +1 -1
  277. package/dist/assets/icons/icon-assets-min/24_text-align-right.svg.js.map +1 -1
  278. package/dist/assets/icons/icon-assets-min/24_theme-dark.svg.js.map +1 -1
  279. package/dist/assets/icons/icon-assets-min/24_theme-light.svg.js.map +1 -1
  280. package/dist/assets/icons/icon-assets-min/24_time.svg.js.map +1 -1
  281. package/dist/assets/icons/icon-assets-min/24_title-position.svg.js.map +1 -1
  282. package/dist/assets/icons/icon-assets-min/24_tune.svg.js.map +1 -1
  283. package/dist/assets/icons/icon-assets-min/24_venn.svg.js.map +1 -1
  284. package/dist/assets/icons/icon-assets-min/24_view-hide.svg.js.map +1 -1
  285. package/dist/assets/icons/icon-assets-min/24_view-show.svg.js.map +1 -1
  286. package/dist/assets/icons/icon-assets-min/24_violin-binned.svg.js.map +1 -1
  287. package/dist/assets/icons/icon-assets-min/24_violin-jitter.svg.js.map +1 -1
  288. package/dist/assets/icons/icon-assets-min/24_violin.svg.js.map +1 -1
  289. package/dist/assets/icons/icon-assets-min/24_warning.svg.js.map +1 -1
  290. package/dist/assets/icons/icon-assets-min/24_wetlab.svg.js.map +1 -1
  291. package/dist/assets/icons/icon-assets-min/24_windows-collapse.svg.js.map +1 -1
  292. package/dist/assets/icons/icon-assets-min/24_windows-expand.svg.js.map +1 -1
  293. package/dist/assets/icons/icon-assets-min/24_x-axis.svg.js.map +1 -1
  294. package/dist/assets/icons/icon-assets-min/24_y-axis.svg.js.map +1 -1
  295. package/dist/assets/icons/icon-assets-min/24_zip.svg.js.map +1 -1
  296. package/dist/assets/icons/icon-assets-min/24_zoom-in.svg.js.map +1 -1
  297. package/dist/assets/icons/icon-assets-min/24_zoom-out.svg.js.map +1 -1
  298. package/dist/assets/images/24_checkbox-light-enabled-checked.svg.js.map +1 -1
  299. package/dist/assets/images/24_checkbox-light-enabled-unchecked.svg.js.map +1 -1
  300. package/dist/base/BtnBase.vue.d.ts +0 -1
  301. package/dist/base/BtnBase.vue.js.map +1 -1
  302. package/dist/colors/__tests__/colors.spec.d.ts +1 -0
  303. package/dist/colors/color.d.ts +0 -1
  304. package/dist/colors/color.js.map +1 -1
  305. package/dist/colors/gradient.d.ts +0 -1
  306. package/dist/colors/gradient.js.map +1 -1
  307. package/dist/colors/index.d.ts +0 -1
  308. package/dist/colors/palette.d.ts +0 -1
  309. package/dist/components/ContextProvider.vue.d.ts +0 -1
  310. package/dist/components/ContextProvider.vue.js.map +1 -1
  311. package/dist/components/DataTable/BaseCellComponent.vue.d.ts +0 -1
  312. package/dist/components/DataTable/BaseCellComponent.vue.js +1 -1
  313. package/dist/components/DataTable/BaseCellComponent.vue.js.map +1 -1
  314. package/dist/components/DataTable/ColumnCaret.vue.d.ts +0 -1
  315. package/dist/components/DataTable/ColumnCaret.vue.js.map +1 -1
  316. package/dist/components/DataTable/ColumnsCommandMenu.vue.d.ts +0 -1
  317. package/dist/components/DataTable/ColumnsCommandMenu.vue.js.map +1 -1
  318. package/dist/components/DataTable/RowsCommandMenu.vue.d.ts +0 -1
  319. package/dist/components/DataTable/RowsCommandMenu.vue.js.map +1 -1
  320. package/dist/components/DataTable/TScroll.vue.d.ts +0 -1
  321. package/dist/components/DataTable/TScroll.vue.js.map +1 -1
  322. package/dist/components/DataTable/TableComponent.vue.d.ts +0 -1
  323. package/dist/components/DataTable/TableComponent.vue.js +43 -34
  324. package/dist/components/DataTable/TableComponent.vue.js.map +1 -1
  325. package/dist/components/DataTable/TdCell.vue.d.ts +0 -1
  326. package/dist/components/DataTable/TdCell.vue.js +1 -1
  327. package/dist/components/DataTable/TdCell.vue.js.map +1 -1
  328. package/dist/components/DataTable/ThCell.vue.d.ts +0 -1
  329. package/dist/components/DataTable/ThCell.vue.js.map +1 -1
  330. package/dist/components/DataTable/TrBody.vue.d.ts +0 -1
  331. package/dist/components/DataTable/TrBody.vue.js +4 -4
  332. package/dist/components/DataTable/TrBody.vue.js.map +1 -1
  333. package/dist/components/DataTable/TrHead.vue.d.ts +0 -1
  334. package/dist/components/DataTable/adapters/AsyncData.d.ts +0 -1
  335. package/dist/components/DataTable/adapters/AsyncData.js +7 -7
  336. package/dist/components/DataTable/adapters/AsyncData.js.map +1 -1
  337. package/dist/components/DataTable/adapters/RawData.d.ts +0 -1
  338. package/dist/components/DataTable/adapters/RawData.js +1 -1
  339. package/dist/components/DataTable/adapters/RawData.js.map +1 -1
  340. package/dist/components/DataTable/assets/TableIcon.vue.d.ts +0 -1
  341. package/dist/components/DataTable/assets/TableIcon.vue.js.map +1 -1
  342. package/dist/components/DataTable/composition/useColumn.d.ts +0 -1
  343. package/dist/components/DataTable/composition/useColumn.js.map +1 -1
  344. package/dist/components/DataTable/composition/useMouseUp.d.ts +0 -1
  345. package/dist/components/DataTable/composition/useResize.d.ts +0 -1
  346. package/dist/components/DataTable/composition/useResize.js +8 -8
  347. package/dist/components/DataTable/composition/useResize.js.map +1 -1
  348. package/dist/components/DataTable/composition/useTableColumns.d.ts +0 -1
  349. package/dist/components/DataTable/composition/useTableColumns.js +8 -8
  350. package/dist/components/DataTable/composition/useTableColumns.js.map +1 -1
  351. package/dist/components/DataTable/composition/useTableRows.d.ts +0 -1
  352. package/dist/components/DataTable/composition/useTableRows.js +6 -6
  353. package/dist/components/DataTable/composition/useTableRows.js.map +1 -1
  354. package/dist/components/DataTable/constants.d.ts +0 -1
  355. package/dist/components/DataTable/domain.d.ts +0 -1
  356. package/dist/components/DataTable/domain.js.map +1 -1
  357. package/dist/components/DataTable/index.d.ts +0 -1
  358. package/dist/components/DataTable/index.js.map +1 -1
  359. package/dist/components/DataTable/keys.d.ts +0 -1
  360. package/dist/components/DataTable/keys.js.map +1 -1
  361. package/dist/components/DataTable/state.d.ts +0 -1
  362. package/dist/components/DataTable/state.js +15 -15
  363. package/dist/components/DataTable/state.js.map +1 -1
  364. package/dist/components/DataTable/types.d.ts +0 -1
  365. package/dist/components/DropdownListItem.vue.d.ts +0 -1
  366. package/dist/components/DropdownListItem.vue.js.map +1 -1
  367. package/dist/components/GridTable/constants.d.ts +0 -1
  368. package/dist/components/GridTable/domain.d.ts +0 -1
  369. package/dist/components/GridTable/getColumnPositions.d.ts +0 -1
  370. package/dist/components/GridTable/types.d.ts +0 -1
  371. package/dist/components/GridTable/useColumn.d.ts +0 -1
  372. package/dist/components/GridTable/useMouseUp.d.ts +0 -1
  373. package/dist/components/GridTable/useResize.d.ts +0 -1
  374. package/dist/components/HScroll.vue.d.ts +0 -1
  375. package/dist/components/HScroll.vue.js.map +1 -1
  376. package/dist/components/InputRange.vue.d.ts +0 -1
  377. package/dist/components/InputRange.vue.js.map +1 -1
  378. package/dist/components/LongText.vue.d.ts +0 -1
  379. package/dist/components/LongText.vue.js +8 -8
  380. package/dist/components/LongText.vue.js.map +1 -1
  381. package/dist/components/PlAccordion/ExpandTransition.vue.d.ts +0 -1
  382. package/dist/components/PlAccordion/{ExpandTransition.vue2.js → ExpandTransition.vue.js} +1 -1
  383. package/dist/components/PlAccordion/ExpandTransition.vue.js.map +1 -0
  384. package/dist/components/PlAccordion/ExpandTransition.vue3.js +1 -1
  385. package/dist/components/PlAccordion/PlAccordion.vue.d.ts +0 -1
  386. package/dist/components/PlAccordion/PlAccordion.vue.js.map +1 -1
  387. package/dist/components/PlAccordion/PlAccordionSection.vue.d.ts +0 -1
  388. package/dist/components/PlAccordion/PlAccordionSection.vue2.js +10 -10
  389. package/dist/components/PlAccordion/PlAccordionSection.vue2.js.map +1 -1
  390. package/dist/components/PlAccordion/index.d.ts +0 -1
  391. package/dist/components/PlAlert/PlAlert.vue.d.ts +0 -1
  392. package/dist/components/PlAlert/PlAlert.vue.js.map +1 -1
  393. package/dist/components/PlAlert/index.d.ts +0 -1
  394. package/dist/components/PlAutocomplete/PlAutocomplete.vue.d.ts +0 -1
  395. package/dist/components/PlAutocomplete/PlAutocomplete.vue.js +31 -31
  396. package/dist/components/PlAutocomplete/PlAutocomplete.vue.js.map +1 -1
  397. package/dist/components/PlAutocomplete/__tests__/PlAutocomplete.spec.d.ts +1 -0
  398. package/dist/components/PlAutocomplete/index.d.ts +0 -1
  399. package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.d.ts +107 -0
  400. package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.js +245 -0
  401. package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.js.map +1 -0
  402. package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue2.js +5 -0
  403. package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue2.js.map +1 -0
  404. package/dist/components/PlAutocompleteMulti/__tests__/PlAutocompleteMulti.spec.d.ts +1 -0
  405. package/dist/components/PlAutocompleteMulti/index.d.ts +1 -0
  406. package/dist/components/PlBtnAccent/PlBtnAccent.vue.d.ts +0 -1
  407. package/dist/components/PlBtnAccent/PlBtnAccent.vue.js.map +1 -1
  408. package/dist/components/PlBtnAccent/index.d.ts +0 -1
  409. package/dist/components/PlBtnDanger/PlBtnDanger.vue.d.ts +0 -1
  410. package/dist/components/PlBtnDanger/PlBtnDanger.vue.js.map +1 -1
  411. package/dist/components/PlBtnDanger/index.d.ts +0 -1
  412. package/dist/components/PlBtnGhost/PlBtnGhost.vue.d.ts +0 -1
  413. package/dist/components/PlBtnGhost/PlBtnGhost.vue.js.map +1 -1
  414. package/dist/components/PlBtnGhost/index.d.ts +0 -1
  415. package/dist/components/PlBtnGroup/PlBtnGroup.vue.d.ts +0 -1
  416. package/dist/components/PlBtnGroup/PlBtnGroup.vue.js.map +1 -1
  417. package/dist/components/PlBtnGroup/index.d.ts +0 -1
  418. package/dist/components/PlBtnLink/PlBtnLink.vue.d.ts +0 -1
  419. package/dist/components/PlBtnLink/index.d.ts +0 -1
  420. package/dist/components/PlBtnPrimary/PlBtnPrimary.vue.d.ts +0 -1
  421. package/dist/components/PlBtnPrimary/PlBtnPrimary.vue.js.map +1 -1
  422. package/dist/components/PlBtnPrimary/__tests__/BtnPrimary.spec.d.ts +1 -0
  423. package/dist/components/PlBtnPrimary/index.d.ts +0 -1
  424. package/dist/components/PlBtnSecondary/PlBtnSecondary.vue.d.ts +0 -1
  425. package/dist/components/PlBtnSecondary/PlBtnSecondary.vue.js.map +1 -1
  426. package/dist/components/PlBtnSecondary/index.d.ts +0 -1
  427. package/dist/components/PlBtnSplit/PlBtnSplit.vue.d.ts +0 -1
  428. package/dist/components/PlBtnSplit/PlBtnSplit.vue.js +1 -1
  429. package/dist/components/PlBtnSplit/PlBtnSplit.vue.js.map +1 -1
  430. package/dist/components/PlBtnSplit/__tests__/PlBtnSplit.spec.d.ts +1 -0
  431. package/dist/components/PlBtnSplit/index.d.ts +0 -1
  432. package/dist/components/PlChartHistogram/PlChartHistogram.vue.d.ts +0 -1
  433. package/dist/components/PlChartHistogram/PlChartHistogram.vue2.js.map +1 -1
  434. package/dist/components/PlChartHistogram/createGridlines.d.ts +0 -1
  435. package/dist/components/PlChartHistogram/createGridlines.js +2 -2
  436. package/dist/components/PlChartHistogram/createGridlines.js.map +1 -1
  437. package/dist/components/PlChartHistogram/createLabels.d.ts +0 -1
  438. package/dist/components/PlChartHistogram/createLabels.js.map +1 -1
  439. package/dist/components/PlChartHistogram/createSvgContainer.d.ts +0 -1
  440. package/dist/components/PlChartHistogram/createSvgContainer.js +1 -1
  441. package/dist/components/PlChartHistogram/createSvgContainer.js.map +1 -1
  442. package/dist/components/PlChartHistogram/drawBins.d.ts +0 -1
  443. package/dist/components/PlChartHistogram/drawBins.js +1 -1
  444. package/dist/components/PlChartHistogram/drawBins.js.map +1 -1
  445. package/dist/components/PlChartHistogram/drawThreshold.d.ts +0 -1
  446. package/dist/components/PlChartHistogram/drawThreshold.js.map +1 -1
  447. package/dist/components/PlChartHistogram/histogram.d.ts +0 -1
  448. package/dist/components/PlChartHistogram/histogram.js +19 -22
  449. package/dist/components/PlChartHistogram/histogram.js.map +1 -1
  450. package/dist/components/PlChartHistogram/index.d.ts +0 -1
  451. package/dist/components/PlChartHistogram/logspace.d.ts +0 -1
  452. package/dist/components/PlChartHistogram/logspace.js.map +1 -1
  453. package/dist/components/PlChartHistogram/normalizeBins.d.ts +0 -1
  454. package/dist/components/PlChartHistogram/normalizeBins.js.map +1 -1
  455. package/dist/components/PlChartHistogram/scales.spec.d.ts +1 -0
  456. package/dist/components/PlChartHistogram/types.d.ts +0 -1
  457. package/dist/components/PlChartStackedBar/Legends.vue.d.ts +0 -1
  458. package/dist/components/PlChartStackedBar/Legends.vue2.js.map +1 -1
  459. package/dist/components/PlChartStackedBar/PlChartStackedBar.vue.d.ts +0 -1
  460. package/dist/components/PlChartStackedBar/PlChartStackedBar.vue2.js.map +1 -1
  461. package/dist/components/PlChartStackedBar/PlChartStackedBarCompact.vue.d.ts +0 -1
  462. package/dist/components/PlChartStackedBar/PlChartStackedBarCompact.vue2.js.map +1 -1
  463. package/dist/components/PlChartStackedBar/StackedRow.vue.d.ts +0 -1
  464. package/dist/components/PlChartStackedBar/StackedRow.vue2.js.map +1 -1
  465. package/dist/components/PlChartStackedBar/StackedRowCompact.vue.d.ts +0 -1
  466. package/dist/components/PlChartStackedBar/StackedRowCompact.vue2.js.map +1 -1
  467. package/dist/components/PlChartStackedBar/index.d.ts +0 -1
  468. package/dist/components/PlChartStackedBar/types.d.ts +0 -1
  469. package/dist/components/PlCheckbox/PlCheckbox.vue.d.ts +0 -1
  470. package/dist/components/PlCheckbox/PlCheckbox.vue.js.map +1 -1
  471. package/dist/components/PlCheckbox/PlCheckboxBase.vue.d.ts +0 -1
  472. package/dist/components/PlCheckbox/__tests__/PlCheckbox.spec.d.ts +1 -0
  473. package/dist/components/PlCheckbox/index.d.ts +0 -1
  474. package/dist/components/PlCheckboxGroup/PlCheckboxGroup.vue.d.ts +0 -1
  475. package/dist/components/PlCheckboxGroup/PlCheckboxGroup.vue.js.map +1 -1
  476. package/dist/components/PlCheckboxGroup/index.d.ts +0 -1
  477. package/dist/components/PlChip/PlChip.vue.d.ts +0 -1
  478. package/dist/components/PlChip/PlChip.vue.js +1 -1
  479. package/dist/components/PlChip/PlChip.vue.js.map +1 -1
  480. package/dist/components/PlChip/index.d.ts +0 -1
  481. package/dist/components/PlClipboard/PlClipboard.vue.d.ts +0 -1
  482. package/dist/components/PlClipboard/PlClipboard.vue2.js.map +1 -1
  483. package/dist/components/PlClipboard/index.d.ts +0 -1
  484. package/dist/components/PlConfirmDialog.vue.d.ts +0 -1
  485. package/dist/components/PlDialogModal/PlDialogModal.vue.d.ts +0 -1
  486. package/dist/components/PlDialogModal/PlDialogModal.vue.js.map +1 -1
  487. package/dist/components/PlDialogModal/index.d.ts +0 -1
  488. package/dist/components/PlDropdown/OptionList.vue.d.ts +0 -1
  489. package/dist/components/PlDropdown/OptionList.vue.js.map +1 -1
  490. package/dist/components/PlDropdown/PlDropdown.vue.d.ts +0 -1
  491. package/dist/components/PlDropdown/PlDropdown.vue.js +2 -2
  492. package/dist/components/PlDropdown/PlDropdown.vue.js.map +1 -1
  493. package/dist/components/PlDropdown/__tests__/PlDropdown.spec.d.ts +1 -0
  494. package/dist/components/PlDropdown/index.d.ts +0 -1
  495. package/dist/components/PlDropdown/types.d.ts +0 -1
  496. package/dist/components/PlDropdown/useGroupBy.d.ts +0 -1
  497. package/dist/components/PlDropdown/useGroupBy.js.map +1 -1
  498. package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.d.ts +0 -1
  499. package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js +1 -1
  500. package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js.map +1 -1
  501. package/dist/components/PlDropdownLegacy/__tests__/PlDropdownLegacy.spec.d.ts +1 -0
  502. package/dist/components/PlDropdownLegacy/index.d.ts +0 -1
  503. package/dist/components/PlDropdownLine/PlDropdownLine.vue.d.ts +2 -3
  504. package/dist/components/PlDropdownLine/PlDropdownLine.vue.js.map +1 -1
  505. package/dist/components/PlDropdownLine/ResizableInput.vue.d.ts +0 -1
  506. package/dist/components/PlDropdownLine/ResizableInput.vue.js.map +1 -1
  507. package/dist/components/PlDropdownLine/index.d.ts +0 -1
  508. package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.d.ts +0 -1
  509. package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js +66 -70
  510. package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js.map +1 -1
  511. package/dist/components/PlDropdownMulti/__tests__/PlDropdownMulti.spec.d.ts +1 -0
  512. package/dist/components/PlDropdownMulti/index.d.ts +0 -1
  513. package/dist/components/PlDropdownMultiRef/PlDropdownMultiRef.vue.d.ts +0 -1
  514. package/dist/components/PlDropdownMultiRef/PlDropdownMultiRef.vue.js.map +1 -1
  515. package/dist/components/PlDropdownMultiRef/__tests__/PlDropdownMultiRef.spec.d.ts +1 -0
  516. package/dist/components/PlDropdownMultiRef/index.d.ts +0 -1
  517. package/dist/components/PlDropdownRef/PlDropdownRef.vue.d.ts +0 -1
  518. package/dist/components/PlDropdownRef/PlDropdownRef.vue.js.map +1 -1
  519. package/dist/components/PlDropdownRef/__tests__/PlDropdownRef.spec.d.ts +1 -0
  520. package/dist/components/PlDropdownRef/index.d.ts +0 -1
  521. package/dist/components/PlEditableTitle/PlEditableTitle.vue.d.ts +0 -1
  522. package/dist/components/PlEditableTitle/PlEditableTitle.vue.js.map +1 -1
  523. package/dist/components/PlEditableTitle/index.d.ts +0 -1
  524. package/dist/components/PlElementList/PlElementList.vue.d.ts +0 -1
  525. package/dist/components/PlElementList/PlElementList.vue2.js +2 -2
  526. package/dist/components/PlElementList/PlElementList.vue2.js.map +1 -1
  527. package/dist/components/PlElementList/PlElementListItem.vue.d.ts +0 -1
  528. package/dist/components/PlElementList/PlElementListItem.vue2.js.map +1 -1
  529. package/dist/components/PlElementList/index.d.ts +0 -1
  530. package/dist/components/PlElementList/utils.d.ts +0 -1
  531. package/dist/components/PlElementList/utils.js.map +1 -1
  532. package/dist/components/PlErrorAlert/PlErrorAlert.vue.d.ts +1 -2
  533. package/dist/components/PlErrorAlert/PlErrorAlert.vue2.js.map +1 -1
  534. package/dist/components/PlErrorAlert/index.d.ts +0 -1
  535. package/dist/components/PlErrorBoundary/PlErrorBoundary.vue.d.ts +6 -7
  536. package/dist/components/PlErrorBoundary/PlErrorBoundary.vue.js +9 -9
  537. package/dist/components/PlErrorBoundary/PlErrorBoundary.vue.js.map +1 -1
  538. package/dist/components/PlErrorBoundary/index.d.ts +0 -1
  539. package/dist/components/PlFileDialog/Local.vue.d.ts +0 -1
  540. package/dist/components/PlFileDialog/Local.vue.js +1 -1
  541. package/dist/components/PlFileDialog/Local.vue.js.map +1 -1
  542. package/dist/components/PlFileDialog/PlFileDialog.vue.d.ts +0 -1
  543. package/dist/components/PlFileDialog/PlFileDialog.vue.js +3 -3
  544. package/dist/components/PlFileDialog/PlFileDialog.vue.js.map +1 -1
  545. package/dist/components/PlFileDialog/Remote.vue.d.ts +0 -1
  546. package/dist/components/PlFileDialog/Remote.vue.js +17 -17
  547. package/dist/components/PlFileDialog/Remote.vue.js.map +1 -1
  548. package/dist/components/PlFileDialog/Shortcuts.vue.d.ts +0 -1
  549. package/dist/components/PlFileDialog/index.d.ts +0 -1
  550. package/dist/components/PlFileDialog/remote.d.ts +0 -1
  551. package/dist/components/PlFileDialog/remote.js.map +1 -1
  552. package/dist/components/PlFileDialog/utils.d.ts +0 -1
  553. package/dist/components/PlFileDialog/utils.js +10 -10
  554. package/dist/components/PlFileDialog/utils.js.map +1 -1
  555. package/dist/components/PlFileDialog/utils.test.d.ts +1 -0
  556. package/dist/components/PlFileInput/PlFileInput.vue.d.ts +0 -1
  557. package/dist/components/PlFileInput/PlFileInput.vue.js +31 -32
  558. package/dist/components/PlFileInput/PlFileInput.vue.js.map +1 -1
  559. package/dist/components/PlFileInput/index.d.ts +0 -1
  560. package/dist/components/PlFileInput/utils.d.ts +0 -1
  561. package/dist/components/PlIcon16/PlIcon16.vue.d.ts +0 -1
  562. package/dist/components/PlIcon16/PlIcon16.vue2.js.map +1 -1
  563. package/dist/components/PlIcon16/index.d.ts +0 -1
  564. package/dist/components/PlIcon24/PlIcon24.vue.d.ts +0 -1
  565. package/dist/components/PlIcon24/PlIcon24.vue2.js.map +1 -1
  566. package/dist/components/PlIcon24/index.d.ts +0 -1
  567. package/dist/components/PlLoaderCircular/PlLoaderCircular.vue.d.ts +0 -1
  568. package/dist/components/PlLoaderCircular/index.d.ts +0 -1
  569. package/dist/components/PlLogView/PlLogView.vue.d.ts +0 -1
  570. package/dist/components/PlLogView/PlLogView.vue.js +6 -6
  571. package/dist/components/PlLogView/PlLogView.vue.js.map +1 -1
  572. package/dist/components/PlLogView/index.d.ts +0 -1
  573. package/dist/components/PlLogView/useLogHandle.d.ts +0 -1
  574. package/dist/components/PlLogView/useLogHandle.js +16 -17
  575. package/dist/components/PlLogView/useLogHandle.js.map +1 -1
  576. package/dist/components/PlMaskIcon16/index.d.ts +0 -1
  577. package/dist/components/PlMaskIcon24/index.d.ts +0 -1
  578. package/dist/components/PlNotificationAlert/PlNotificationAlert.vue.d.ts +0 -1
  579. package/dist/components/PlNotificationAlert/PlNotificationAlert.vue.js.map +1 -1
  580. package/dist/components/PlNotificationAlert/index.d.ts +0 -1
  581. package/dist/components/PlNumberField/PlNumberField.vue.d.ts +0 -1
  582. package/dist/components/PlNumberField/PlNumberField.vue.js.map +1 -1
  583. package/dist/components/PlNumberField/__tests__/PlNumberField.spec.d.ts +1 -0
  584. package/dist/components/PlNumberField/index.d.ts +0 -1
  585. package/dist/components/PlNumberField/parseNumber.d.ts +0 -1
  586. package/dist/components/PlNumberField/parseNumber.js.map +1 -1
  587. package/dist/components/PlProgressBar/PlProgressBar.vue.d.ts +0 -1
  588. package/dist/components/PlProgressBar/index.d.ts +0 -1
  589. package/dist/components/PlProgressCell/PlProgressCell.vue.d.ts +0 -1
  590. package/dist/components/PlProgressCell/index.d.ts +0 -1
  591. package/dist/components/PlProgressCell/types.d.ts +0 -1
  592. package/dist/components/PlRadio/PlRadio.vue.d.ts +0 -1
  593. package/dist/components/PlRadio/PlRadio.vue2.js.map +1 -1
  594. package/dist/components/PlRadio/PlRadioGroup.vue.d.ts +0 -1
  595. package/dist/components/PlRadio/PlRadioGroup.vue2.js.map +1 -1
  596. package/dist/components/PlRadio/__tests__/PlRadioGroup.spec.d.ts +1 -0
  597. package/dist/components/PlRadio/index.d.ts +0 -1
  598. package/dist/components/PlRadio/keys.d.ts +0 -1
  599. package/dist/components/PlRadio/keys.js.map +1 -1
  600. package/dist/components/PlSearchField/PlSearchField.vue.d.ts +0 -1
  601. package/dist/components/PlSearchField/PlSearchField.vue2.js.map +1 -1
  602. package/dist/components/PlSearchField/index.d.ts +0 -1
  603. package/dist/components/PlSectionSeparator/PlSectionSeparator.vue.d.ts +0 -1
  604. package/dist/components/PlSectionSeparator/index.d.ts +0 -1
  605. package/dist/components/PlSidebar/PlSidebarGroup.vue.d.ts +0 -1
  606. package/dist/components/PlSidebar/PlSidebarGroup.vue2.js.map +1 -1
  607. package/dist/components/PlSidebar/PlSidebarItem.vue.d.ts +0 -1
  608. package/dist/components/PlSidebar/PlSidebarItem.vue2.js.map +1 -1
  609. package/dist/components/PlSidebar/index.d.ts +0 -1
  610. package/dist/components/PlSlideModal/PlPureSlideModal.vue.d.ts +0 -1
  611. package/dist/components/PlSlideModal/PlPureSlideModal.vue.js +23 -13
  612. package/dist/components/PlSlideModal/PlPureSlideModal.vue.js.map +1 -1
  613. package/dist/components/PlSlideModal/PlSlideModal.vue.d.ts +0 -1
  614. package/dist/components/PlSlideModal/PlSlideModal.vue2.js.map +1 -1
  615. package/dist/components/PlSlideModal/index.d.ts +0 -1
  616. package/dist/components/PlSlideModal/props.d.ts +0 -1
  617. package/dist/components/PlSpacer/PlSpacer.vue.d.ts +0 -1
  618. package/dist/components/PlSpacer/index.d.ts +0 -1
  619. package/dist/components/PlSplash/PlSplash.vue.d.ts +0 -1
  620. package/dist/components/PlSplash/index.d.ts +0 -1
  621. package/dist/components/PlStatusTag/PlStatusTag.vue.d.ts +0 -1
  622. package/dist/components/PlStatusTag/index.d.ts +0 -1
  623. package/dist/components/PlStatusTag/types.d.ts +0 -1
  624. package/dist/components/PlSvg/PlSvg.vue.d.ts +0 -1
  625. package/dist/components/PlSvg/PlSvg.vue2.js +1 -1
  626. package/dist/components/PlSvg/PlSvg.vue2.js.map +1 -1
  627. package/dist/components/PlSvg/index.d.ts +0 -1
  628. package/dist/components/PlSvg/registry.d.ts +0 -1
  629. package/dist/components/PlSvg/registry.js +3 -3
  630. package/dist/components/PlSvg/registry.js.map +1 -1
  631. package/dist/components/PlTabs/PlTabs.vue.d.ts +0 -1
  632. package/dist/components/PlTabs/PlTabs.vue.js.map +1 -1
  633. package/dist/components/PlTabs/Tab.vue.d.ts +0 -1
  634. package/dist/components/PlTabs/Tab.vue.js.map +1 -1
  635. package/dist/components/PlTabs/index.d.ts +0 -1
  636. package/dist/components/PlTabs/types.d.ts +0 -1
  637. package/dist/components/PlTextArea/PlTextArea.vue.d.ts +0 -1
  638. package/dist/components/PlTextArea/PlTextArea.vue.js +1 -1
  639. package/dist/components/PlTextArea/PlTextArea.vue.js.map +1 -1
  640. package/dist/components/PlTextArea/__tests__/PlTextArea.spec.d.ts +1 -0
  641. package/dist/components/PlTextArea/index.d.ts +0 -1
  642. package/dist/components/PlTextField/PlTextField.vue.d.ts +0 -1
  643. package/dist/components/PlTextField/PlTextField.vue.js +1 -1
  644. package/dist/components/PlTextField/PlTextField.vue.js.map +1 -1
  645. package/dist/components/PlTextField/__tests__/TextField.spec.d.ts +1 -0
  646. package/dist/components/PlTextField/index.d.ts +0 -1
  647. package/dist/components/PlToggleSwitch/PlToggleSwitch.vue.d.ts +0 -1
  648. package/dist/components/PlToggleSwitch/PlToggleSwitch.vue.js.map +1 -1
  649. package/dist/components/PlToggleSwitch/index.d.ts +0 -1
  650. package/dist/components/PlTooltip/Beak.vue.d.ts +0 -1
  651. package/dist/components/PlTooltip/Beak.vue.js.map +1 -1
  652. package/dist/components/PlTooltip/PlTooltip.vue.d.ts +0 -1
  653. package/dist/components/PlTooltip/PlTooltip.vue.js.map +1 -1
  654. package/dist/components/PlTooltip/global.d.ts +0 -1
  655. package/dist/components/PlTooltip/global.js.map +1 -1
  656. package/dist/components/PlTooltip/index.d.ts +0 -1
  657. package/dist/components/PlTooltip/useTooltipPosition.d.ts +0 -1
  658. package/dist/components/PlTooltip/useTooltipPosition.js.map +1 -1
  659. package/dist/components/Scrollable.vue.d.ts +0 -1
  660. package/dist/components/Scrollable.vue.js.map +1 -1
  661. package/dist/components/Slider.vue.d.ts +0 -1
  662. package/dist/components/Slider.vue.js.map +1 -1
  663. package/dist/components/SliderRange.vue.d.ts +0 -1
  664. package/dist/components/SliderRange.vue.js.map +1 -1
  665. package/dist/components/SliderRangeTriple.vue.d.ts +0 -1
  666. package/dist/components/SliderRangeTriple.vue.js.map +1 -1
  667. package/dist/components/TabItem.vue.d.ts +0 -1
  668. package/dist/components/TabItem.vue.js.map +1 -1
  669. package/dist/components/ThemeSwitcher.vue.d.ts +0 -1
  670. package/dist/components/ThemeSwitcher.vue.js.map +1 -1
  671. package/dist/components/TransitionSlidePanel.vue.d.ts +0 -1
  672. package/dist/components/TransitionSlidePanel.vue.js.map +1 -1
  673. package/dist/components/VScroll.vue.d.ts +0 -1
  674. package/dist/components/VScroll.vue.js.map +1 -1
  675. package/dist/components/contextMenu/Menu.vue.d.ts +0 -1
  676. package/dist/components/contextMenu/Menu.vue2.js.map +1 -1
  677. package/dist/components/contextMenu/index.d.ts +0 -1
  678. package/dist/components/contextMenu/index.js.map +1 -1
  679. package/dist/components/contextMenu/types.d.ts +0 -1
  680. package/dist/composition/computedCached.d.ts +0 -1
  681. package/dist/composition/computedCached.js +12 -12
  682. package/dist/composition/computedCached.js.map +1 -1
  683. package/dist/composition/useClickOutside.d.ts +0 -1
  684. package/dist/composition/useClickOutside.js.map +1 -1
  685. package/dist/composition/useComponentProp.d.ts +0 -1
  686. package/dist/composition/useConfirm.d.ts +0 -1
  687. package/dist/composition/useConfirm.js.map +1 -1
  688. package/dist/composition/useDraggable.d.ts +0 -1
  689. package/dist/composition/useDraggable.js.map +1 -1
  690. package/dist/composition/useEventListener.d.ts +0 -1
  691. package/dist/composition/useEventListener.js.map +1 -1
  692. package/dist/composition/useFilteredList.d.ts +3 -3
  693. package/dist/composition/useFilteredList.js.map +1 -1
  694. package/dist/composition/useFormState.d.ts +0 -1
  695. package/dist/composition/useFormState.js +5 -5
  696. package/dist/composition/useFormState.js.map +1 -1
  697. package/dist/composition/useHover.d.ts +0 -1
  698. package/dist/composition/useHover.js.map +1 -1
  699. package/dist/composition/useInterval.d.ts +0 -1
  700. package/dist/composition/useInterval.js.map +1 -1
  701. package/dist/composition/useLocalStorage.d.ts +0 -1
  702. package/dist/composition/useLocalStorage.js +3 -3
  703. package/dist/composition/useLocalStorage.js.map +1 -1
  704. package/dist/composition/useMouse.d.ts +0 -1
  705. package/dist/composition/useMouse.js.map +1 -1
  706. package/dist/composition/useMouseCapture.d.ts +0 -1
  707. package/dist/composition/useMouseCapture.js.map +1 -1
  708. package/dist/composition/useNotificationPosition.d.ts +0 -1
  709. package/dist/composition/usePosition.d.ts +0 -1
  710. package/dist/composition/usePosition.js.map +1 -1
  711. package/dist/composition/useQuery.d.ts +0 -1
  712. package/dist/composition/useQuery.js +1 -1
  713. package/dist/composition/useQuery.js.map +1 -1
  714. package/dist/composition/useResizeObserver.d.ts +0 -1
  715. package/dist/composition/useResizeObserver.js.map +1 -1
  716. package/dist/composition/useRipple.d.ts +0 -1
  717. package/dist/composition/useRipple.js.map +1 -1
  718. package/dist/composition/useScroll.d.ts +0 -1
  719. package/dist/composition/useScroll.js.map +1 -1
  720. package/dist/composition/useSliderBreakpoints.d.ts +0 -1
  721. package/dist/composition/useSliderBreakpoints.js.map +1 -1
  722. package/dist/composition/useSortable.d.ts +0 -1
  723. package/dist/composition/useSortable.js.map +1 -1
  724. package/dist/composition/useSortable2.d.ts +0 -1
  725. package/dist/composition/useSortable2.js.map +1 -1
  726. package/dist/composition/useTheme.d.ts +0 -1
  727. package/dist/composition/useTheme.js.map +1 -1
  728. package/dist/composition/useTransformedModel.d.ts +0 -1
  729. package/dist/composition/useTransformedModel.js.map +1 -1
  730. package/dist/composition/useWatchFetch.d.ts +6 -3
  731. package/dist/composition/useWatchFetch.js +19 -19
  732. package/dist/composition/useWatchFetch.js.map +1 -1
  733. package/dist/composition/utils.d.ts +0 -1
  734. package/dist/composition/watchCached.d.ts +0 -1
  735. package/dist/composition/watchCached.js +1 -1
  736. package/dist/composition/watchCached.js.map +1 -1
  737. package/dist/demo-site-data/all-css-variables.d.ts +0 -1
  738. package/dist/demo-site-data/all-css-variables.js.map +1 -1
  739. package/dist/generated/components/svg/images/SvgRequired.vue.d.ts +0 -1
  740. package/dist/generated/components/svg/images/{SvgRequired.vue2.js → SvgRequired.vue.js} +1 -1
  741. package/dist/generated/components/svg/images/SvgRequired.vue.js.map +1 -0
  742. package/dist/generated/components/svg/images/SvgRequired.vue3.js.map +1 -1
  743. package/dist/generated/icons-16.d.ts +0 -1
  744. package/dist/generated/icons-24.d.ts +0 -1
  745. package/dist/global/resizeObserver.d.ts +0 -1
  746. package/dist/global/resizeObserver.js.map +1 -1
  747. package/dist/helpers/dom.d.ts +0 -1
  748. package/dist/helpers/dom.js.map +1 -1
  749. package/dist/helpers/downloadContent.d.ts +0 -1
  750. package/dist/helpers/downloadContent.js.map +1 -1
  751. package/dist/helpers/error.d.ts +0 -1
  752. package/dist/helpers/error.js +3 -3
  753. package/dist/helpers/error.js.map +1 -1
  754. package/dist/helpers/functions.d.ts +0 -1
  755. package/dist/helpers/functions.js.map +1 -1
  756. package/dist/helpers/index.d.ts +0 -1
  757. package/dist/helpers/index.js.map +1 -1
  758. package/dist/helpers/iterators.d.ts +0 -1
  759. package/dist/helpers/iterators.js.map +1 -1
  760. package/dist/helpers/math.d.ts +0 -1
  761. package/dist/helpers/math.js.map +1 -1
  762. package/dist/helpers/objects.d.ts +0 -1
  763. package/dist/helpers/objects.js.map +1 -1
  764. package/dist/helpers/utils.d.ts +2 -7
  765. package/dist/helpers/utils.js.map +1 -1
  766. package/dist/index.d.ts +1 -1
  767. package/dist/index.js +193 -191
  768. package/dist/index.js.map +1 -1
  769. package/dist/layout/PlBlockPage/PlBlockPage.vue.d.ts +0 -1
  770. package/dist/layout/PlBlockPage/PlBlockPage.vue.js.map +1 -1
  771. package/dist/layout/PlBlockPage/PlBlockPageTitleTeleportId.d.ts +0 -1
  772. package/dist/layout/PlBlockPage/PlBlockPageTitleTeleportId.js +1 -1
  773. package/dist/layout/PlBlockPage/PlBlockPageTitleTeleportId.js.map +1 -1
  774. package/dist/layout/PlBlockPage/index.d.ts +0 -1
  775. package/dist/layout/PlBlockPage/usePlBlockPageTitleTeleportTarget.d.ts +0 -1
  776. package/dist/layout/PlBlockPage/usePlBlockPageTitleTeleportTarget.js.map +1 -1
  777. package/dist/layout/PlContainer/PlContainer.vue.d.ts +0 -1
  778. package/dist/layout/PlContainer/PlContainer.vue.js.map +1 -1
  779. package/dist/layout/PlContainer/index.d.ts +0 -1
  780. package/dist/layout/PlGrid/PlGrid.vue.d.ts +0 -1
  781. package/dist/layout/PlGrid/PlGrid.vue.js.map +1 -1
  782. package/dist/layout/PlGrid/index.d.ts +0 -1
  783. package/dist/layout/PlRow/PlRow.vue.d.ts +0 -1
  784. package/dist/layout/PlRow/PlRow.vue.js.map +1 -1
  785. package/dist/layout/PlRow/index.d.ts +0 -1
  786. package/dist/layout/PlSpacer/PlSpacer.vue.d.ts +0 -1
  787. package/dist/layout/PlSpacer/PlSpacer.vue.js.map +1 -1
  788. package/dist/layout/PlSpacer/index.d.ts +0 -1
  789. package/dist/types.d.ts +0 -1
  790. package/dist/utils/DoubleContour.vue.d.ts +0 -1
  791. package/dist/utils/DoubleContour.vue.js.map +1 -1
  792. package/dist/utils/DoubleContour.vue2.js.map +1 -1
  793. package/dist/utils/DropdownOverlay/DropdownOverlay.vue.d.ts +0 -1
  794. package/dist/utils/DropdownOverlay/DropdownOverlay.vue.js +17 -15
  795. package/dist/utils/DropdownOverlay/DropdownOverlay.vue.js.map +1 -1
  796. package/dist/utils/DropdownOverlay/index.d.ts +0 -1
  797. package/dist/utils/InnerBorder.vue.d.ts +0 -1
  798. package/dist/utils/InnerBorder.vue2.js.map +1 -1
  799. package/dist/utils/PlCloseModalBtn.vue.d.ts +0 -1
  800. package/dist/utils/PlCloseModalBtn.vue.js.map +1 -1
  801. package/dist/utils/TextLabel.vue.d.ts +0 -1
  802. package/dist/utils/TextLabel.vue.js.map +1 -1
  803. package/dist/utils/WebStopWatchElement.d.ts +0 -1
  804. package/dist/utils/useLabelNotch.d.ts +0 -1
  805. package/dist/utils/useLabelNotch.js.map +1 -1
  806. package/dist/utils/useValidation.d.ts +0 -1
  807. package/dist/utils/useValidation.js.map +1 -1
  808. package/package.json +13 -15
  809. package/src/components/PlAutocomplete/PlAutocomplete.vue +3 -2
  810. package/src/components/PlAutocompleteMulti/PlAutocompleteMulti.vue +412 -0
  811. package/src/components/PlAutocompleteMulti/__tests__/PlAutocompleteMulti.spec.ts +49 -0
  812. package/src/components/PlAutocompleteMulti/index.ts +1 -0
  813. package/src/components/PlAutocompleteMulti/pl-autocomplete-multi.scss +270 -0
  814. package/src/components/PlChip/pl-chip.scss +1 -0
  815. package/src/components/PlDropdown/pl-dropdown.scss +0 -40
  816. package/src/components/PlDropdownMulti/PlDropdownMulti.vue +1 -5
  817. package/src/components/PlDropdownMulti/__tests__/PlDropdownMulti.spec.ts +0 -2
  818. package/src/components/PlDropdownMulti/pl-dropdown-multi.scss +0 -51
  819. package/src/composition/useFilteredList.ts +3 -2
  820. package/src/composition/useWatchFetch.ts +23 -6
  821. package/src/helpers/utils.ts +2 -1
  822. package/src/index.ts +1 -0
  823. package/src/utils/DropdownOverlay/DropdownOverlay.vue +1 -0
  824. package/tsconfig.json +10 -8
  825. package/vitest.config.ts +2 -2
  826. package/dist/__tests__/setup.d.ts.map +0 -1
  827. package/dist/_virtual/_commonjsHelpers.js +0 -7
  828. package/dist/_virtual/_commonjsHelpers.js.map +0 -1
  829. package/dist/_virtual/canonicalize.js +0 -8
  830. package/dist/_virtual/canonicalize.js.map +0 -1
  831. package/dist/_virtual/stringify.js +0 -3
  832. package/dist/_virtual/stringify.js.map +0 -1
  833. package/dist/_virtual/stringify2.js +0 -5
  834. package/dist/_virtual/stringify2.js.map +0 -1
  835. package/dist/base/BtnBase.vue.d.ts.map +0 -1
  836. package/dist/colors/color.d.ts.map +0 -1
  837. package/dist/colors/gradient.d.ts.map +0 -1
  838. package/dist/colors/index.d.ts.map +0 -1
  839. package/dist/colors/palette.d.ts.map +0 -1
  840. package/dist/components/ContextProvider.vue.d.ts.map +0 -1
  841. package/dist/components/DataTable/BaseCellComponent.vue.d.ts.map +0 -1
  842. package/dist/components/DataTable/ColumnCaret.vue.d.ts.map +0 -1
  843. package/dist/components/DataTable/ColumnsCommandMenu.vue.d.ts.map +0 -1
  844. package/dist/components/DataTable/RowsCommandMenu.vue.d.ts.map +0 -1
  845. package/dist/components/DataTable/TScroll.vue.d.ts.map +0 -1
  846. package/dist/components/DataTable/TableComponent.vue.d.ts.map +0 -1
  847. package/dist/components/DataTable/TdCell.vue.d.ts.map +0 -1
  848. package/dist/components/DataTable/ThCell.vue.d.ts.map +0 -1
  849. package/dist/components/DataTable/TrBody.vue.d.ts.map +0 -1
  850. package/dist/components/DataTable/TrHead.vue.d.ts.map +0 -1
  851. package/dist/components/DataTable/adapters/AsyncData.d.ts.map +0 -1
  852. package/dist/components/DataTable/adapters/RawData.d.ts.map +0 -1
  853. package/dist/components/DataTable/assets/TableIcon.vue.d.ts.map +0 -1
  854. package/dist/components/DataTable/composition/useColumn.d.ts.map +0 -1
  855. package/dist/components/DataTable/composition/useMouseUp.d.ts.map +0 -1
  856. package/dist/components/DataTable/composition/useResize.d.ts.map +0 -1
  857. package/dist/components/DataTable/composition/useTableColumns.d.ts.map +0 -1
  858. package/dist/components/DataTable/composition/useTableRows.d.ts.map +0 -1
  859. package/dist/components/DataTable/constants.d.ts.map +0 -1
  860. package/dist/components/DataTable/domain.d.ts.map +0 -1
  861. package/dist/components/DataTable/index.d.ts.map +0 -1
  862. package/dist/components/DataTable/keys.d.ts.map +0 -1
  863. package/dist/components/DataTable/state.d.ts.map +0 -1
  864. package/dist/components/DataTable/types.d.ts.map +0 -1
  865. package/dist/components/DropdownListItem.vue.d.ts.map +0 -1
  866. package/dist/components/GridTable/constants.d.ts.map +0 -1
  867. package/dist/components/GridTable/domain.d.ts.map +0 -1
  868. package/dist/components/GridTable/getColumnPositions.d.ts.map +0 -1
  869. package/dist/components/GridTable/types.d.ts.map +0 -1
  870. package/dist/components/GridTable/useColumn.d.ts.map +0 -1
  871. package/dist/components/GridTable/useMouseUp.d.ts.map +0 -1
  872. package/dist/components/GridTable/useResize.d.ts.map +0 -1
  873. package/dist/components/HScroll.vue.d.ts.map +0 -1
  874. package/dist/components/InputRange.vue.d.ts.map +0 -1
  875. package/dist/components/LongText.vue.d.ts.map +0 -1
  876. package/dist/components/PlAccordion/ExpandTransition.vue.d.ts.map +0 -1
  877. package/dist/components/PlAccordion/ExpandTransition.vue2.js.map +0 -1
  878. package/dist/components/PlAccordion/PlAccordion.vue.d.ts.map +0 -1
  879. package/dist/components/PlAccordion/PlAccordionSection.vue.d.ts.map +0 -1
  880. package/dist/components/PlAccordion/index.d.ts.map +0 -1
  881. package/dist/components/PlAlert/PlAlert.vue.d.ts.map +0 -1
  882. package/dist/components/PlAlert/index.d.ts.map +0 -1
  883. package/dist/components/PlAutocomplete/PlAutocomplete.vue.d.ts.map +0 -1
  884. package/dist/components/PlAutocomplete/index.d.ts.map +0 -1
  885. package/dist/components/PlBtnAccent/PlBtnAccent.vue.d.ts.map +0 -1
  886. package/dist/components/PlBtnAccent/index.d.ts.map +0 -1
  887. package/dist/components/PlBtnDanger/PlBtnDanger.vue.d.ts.map +0 -1
  888. package/dist/components/PlBtnDanger/index.d.ts.map +0 -1
  889. package/dist/components/PlBtnGhost/PlBtnGhost.vue.d.ts.map +0 -1
  890. package/dist/components/PlBtnGhost/index.d.ts.map +0 -1
  891. package/dist/components/PlBtnGroup/PlBtnGroup.vue.d.ts.map +0 -1
  892. package/dist/components/PlBtnGroup/index.d.ts.map +0 -1
  893. package/dist/components/PlBtnLink/PlBtnLink.vue.d.ts.map +0 -1
  894. package/dist/components/PlBtnLink/index.d.ts.map +0 -1
  895. package/dist/components/PlBtnPrimary/PlBtnPrimary.vue.d.ts.map +0 -1
  896. package/dist/components/PlBtnPrimary/index.d.ts.map +0 -1
  897. package/dist/components/PlBtnSecondary/PlBtnSecondary.vue.d.ts.map +0 -1
  898. package/dist/components/PlBtnSecondary/index.d.ts.map +0 -1
  899. package/dist/components/PlBtnSplit/PlBtnSplit.vue.d.ts.map +0 -1
  900. package/dist/components/PlBtnSplit/index.d.ts.map +0 -1
  901. package/dist/components/PlChartHistogram/PlChartHistogram.vue.d.ts.map +0 -1
  902. package/dist/components/PlChartHistogram/createGridlines.d.ts.map +0 -1
  903. package/dist/components/PlChartHistogram/createLabels.d.ts.map +0 -1
  904. package/dist/components/PlChartHistogram/createSvgContainer.d.ts.map +0 -1
  905. package/dist/components/PlChartHistogram/drawBins.d.ts.map +0 -1
  906. package/dist/components/PlChartHistogram/drawThreshold.d.ts.map +0 -1
  907. package/dist/components/PlChartHistogram/histogram.d.ts.map +0 -1
  908. package/dist/components/PlChartHistogram/index.d.ts.map +0 -1
  909. package/dist/components/PlChartHistogram/logspace.d.ts.map +0 -1
  910. package/dist/components/PlChartHistogram/normalizeBins.d.ts.map +0 -1
  911. package/dist/components/PlChartHistogram/types.d.ts.map +0 -1
  912. package/dist/components/PlChartStackedBar/Legends.vue.d.ts.map +0 -1
  913. package/dist/components/PlChartStackedBar/PlChartStackedBar.vue.d.ts.map +0 -1
  914. package/dist/components/PlChartStackedBar/PlChartStackedBarCompact.vue.d.ts.map +0 -1
  915. package/dist/components/PlChartStackedBar/StackedRow.vue.d.ts.map +0 -1
  916. package/dist/components/PlChartStackedBar/StackedRowCompact.vue.d.ts.map +0 -1
  917. package/dist/components/PlChartStackedBar/index.d.ts.map +0 -1
  918. package/dist/components/PlChartStackedBar/types.d.ts.map +0 -1
  919. package/dist/components/PlCheckbox/PlCheckbox.vue.d.ts.map +0 -1
  920. package/dist/components/PlCheckbox/PlCheckboxBase.vue.d.ts.map +0 -1
  921. package/dist/components/PlCheckbox/index.d.ts.map +0 -1
  922. package/dist/components/PlCheckboxGroup/PlCheckboxGroup.vue.d.ts.map +0 -1
  923. package/dist/components/PlCheckboxGroup/index.d.ts.map +0 -1
  924. package/dist/components/PlChip/PlChip.vue.d.ts.map +0 -1
  925. package/dist/components/PlChip/index.d.ts.map +0 -1
  926. package/dist/components/PlClipboard/PlClipboard.vue.d.ts.map +0 -1
  927. package/dist/components/PlClipboard/index.d.ts.map +0 -1
  928. package/dist/components/PlConfirmDialog.vue.d.ts.map +0 -1
  929. package/dist/components/PlDialogModal/PlDialogModal.vue.d.ts.map +0 -1
  930. package/dist/components/PlDialogModal/index.d.ts.map +0 -1
  931. package/dist/components/PlDropdown/OptionList.vue.d.ts.map +0 -1
  932. package/dist/components/PlDropdown/PlDropdown.vue.d.ts.map +0 -1
  933. package/dist/components/PlDropdown/index.d.ts.map +0 -1
  934. package/dist/components/PlDropdown/types.d.ts.map +0 -1
  935. package/dist/components/PlDropdown/useGroupBy.d.ts.map +0 -1
  936. package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.d.ts.map +0 -1
  937. package/dist/components/PlDropdownLegacy/index.d.ts.map +0 -1
  938. package/dist/components/PlDropdownLine/PlDropdownLine.vue.d.ts.map +0 -1
  939. package/dist/components/PlDropdownLine/ResizableInput.vue.d.ts.map +0 -1
  940. package/dist/components/PlDropdownLine/index.d.ts.map +0 -1
  941. package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.d.ts.map +0 -1
  942. package/dist/components/PlDropdownMulti/index.d.ts.map +0 -1
  943. package/dist/components/PlDropdownMultiRef/PlDropdownMultiRef.vue.d.ts.map +0 -1
  944. package/dist/components/PlDropdownMultiRef/index.d.ts.map +0 -1
  945. package/dist/components/PlDropdownRef/PlDropdownRef.vue.d.ts.map +0 -1
  946. package/dist/components/PlDropdownRef/index.d.ts.map +0 -1
  947. package/dist/components/PlEditableTitle/PlEditableTitle.vue.d.ts.map +0 -1
  948. package/dist/components/PlEditableTitle/index.d.ts.map +0 -1
  949. package/dist/components/PlElementList/PlElementList.vue.d.ts.map +0 -1
  950. package/dist/components/PlElementList/PlElementListItem.vue.d.ts.map +0 -1
  951. package/dist/components/PlElementList/index.d.ts.map +0 -1
  952. package/dist/components/PlElementList/utils.d.ts.map +0 -1
  953. package/dist/components/PlErrorAlert/PlErrorAlert.vue.d.ts.map +0 -1
  954. package/dist/components/PlErrorAlert/index.d.ts.map +0 -1
  955. package/dist/components/PlErrorBoundary/PlErrorBoundary.vue.d.ts.map +0 -1
  956. package/dist/components/PlErrorBoundary/index.d.ts.map +0 -1
  957. package/dist/components/PlFileDialog/Local.vue.d.ts.map +0 -1
  958. package/dist/components/PlFileDialog/PlFileDialog.vue.d.ts.map +0 -1
  959. package/dist/components/PlFileDialog/Remote.vue.d.ts.map +0 -1
  960. package/dist/components/PlFileDialog/Shortcuts.vue.d.ts.map +0 -1
  961. package/dist/components/PlFileDialog/index.d.ts.map +0 -1
  962. package/dist/components/PlFileDialog/remote.d.ts.map +0 -1
  963. package/dist/components/PlFileDialog/utils.d.ts.map +0 -1
  964. package/dist/components/PlFileInput/PlFileInput.vue.d.ts.map +0 -1
  965. package/dist/components/PlFileInput/index.d.ts.map +0 -1
  966. package/dist/components/PlFileInput/utils.d.ts.map +0 -1
  967. package/dist/components/PlIcon16/PlIcon16.vue.d.ts.map +0 -1
  968. package/dist/components/PlIcon16/index.d.ts.map +0 -1
  969. package/dist/components/PlIcon24/PlIcon24.vue.d.ts.map +0 -1
  970. package/dist/components/PlIcon24/index.d.ts.map +0 -1
  971. package/dist/components/PlLoaderCircular/PlLoaderCircular.vue.d.ts.map +0 -1
  972. package/dist/components/PlLoaderCircular/index.d.ts.map +0 -1
  973. package/dist/components/PlLogView/PlLogView.vue.d.ts.map +0 -1
  974. package/dist/components/PlLogView/index.d.ts.map +0 -1
  975. package/dist/components/PlLogView/useLogHandle.d.ts.map +0 -1
  976. package/dist/components/PlMaskIcon16/index.d.ts.map +0 -1
  977. package/dist/components/PlMaskIcon24/index.d.ts.map +0 -1
  978. package/dist/components/PlNotificationAlert/PlNotificationAlert.vue.d.ts.map +0 -1
  979. package/dist/components/PlNotificationAlert/index.d.ts.map +0 -1
  980. package/dist/components/PlNumberField/PlNumberField.vue.d.ts.map +0 -1
  981. package/dist/components/PlNumberField/index.d.ts.map +0 -1
  982. package/dist/components/PlNumberField/parseNumber.d.ts.map +0 -1
  983. package/dist/components/PlProgressBar/PlProgressBar.vue.d.ts.map +0 -1
  984. package/dist/components/PlProgressBar/index.d.ts.map +0 -1
  985. package/dist/components/PlProgressCell/PlProgressCell.vue.d.ts.map +0 -1
  986. package/dist/components/PlProgressCell/index.d.ts.map +0 -1
  987. package/dist/components/PlProgressCell/types.d.ts.map +0 -1
  988. package/dist/components/PlRadio/PlRadio.vue.d.ts.map +0 -1
  989. package/dist/components/PlRadio/PlRadioGroup.vue.d.ts.map +0 -1
  990. package/dist/components/PlRadio/index.d.ts.map +0 -1
  991. package/dist/components/PlRadio/keys.d.ts.map +0 -1
  992. package/dist/components/PlSearchField/PlSearchField.vue.d.ts.map +0 -1
  993. package/dist/components/PlSearchField/index.d.ts.map +0 -1
  994. package/dist/components/PlSectionSeparator/PlSectionSeparator.vue.d.ts.map +0 -1
  995. package/dist/components/PlSectionSeparator/index.d.ts.map +0 -1
  996. package/dist/components/PlSidebar/PlSidebarGroup.vue.d.ts.map +0 -1
  997. package/dist/components/PlSidebar/PlSidebarItem.vue.d.ts.map +0 -1
  998. package/dist/components/PlSidebar/index.d.ts.map +0 -1
  999. package/dist/components/PlSlideModal/PlPureSlideModal.vue.d.ts.map +0 -1
  1000. package/dist/components/PlSlideModal/PlSlideModal.vue.d.ts.map +0 -1
  1001. package/dist/components/PlSlideModal/index.d.ts.map +0 -1
  1002. package/dist/components/PlSlideModal/props.d.ts.map +0 -1
  1003. package/dist/components/PlSpacer/PlSpacer.vue.d.ts.map +0 -1
  1004. package/dist/components/PlSpacer/index.d.ts.map +0 -1
  1005. package/dist/components/PlSplash/PlSplash.vue.d.ts.map +0 -1
  1006. package/dist/components/PlSplash/index.d.ts.map +0 -1
  1007. package/dist/components/PlStatusTag/PlStatusTag.vue.d.ts.map +0 -1
  1008. package/dist/components/PlStatusTag/index.d.ts.map +0 -1
  1009. package/dist/components/PlStatusTag/types.d.ts.map +0 -1
  1010. package/dist/components/PlSvg/PlSvg.vue.d.ts.map +0 -1
  1011. package/dist/components/PlSvg/index.d.ts.map +0 -1
  1012. package/dist/components/PlSvg/registry.d.ts.map +0 -1
  1013. package/dist/components/PlTabs/PlTabs.vue.d.ts.map +0 -1
  1014. package/dist/components/PlTabs/Tab.vue.d.ts.map +0 -1
  1015. package/dist/components/PlTabs/index.d.ts.map +0 -1
  1016. package/dist/components/PlTabs/types.d.ts.map +0 -1
  1017. package/dist/components/PlTextArea/PlTextArea.vue.d.ts.map +0 -1
  1018. package/dist/components/PlTextArea/index.d.ts.map +0 -1
  1019. package/dist/components/PlTextField/PlTextField.vue.d.ts.map +0 -1
  1020. package/dist/components/PlTextField/index.d.ts.map +0 -1
  1021. package/dist/components/PlToggleSwitch/PlToggleSwitch.vue.d.ts.map +0 -1
  1022. package/dist/components/PlToggleSwitch/index.d.ts.map +0 -1
  1023. package/dist/components/PlTooltip/Beak.vue.d.ts.map +0 -1
  1024. package/dist/components/PlTooltip/PlTooltip.vue.d.ts.map +0 -1
  1025. package/dist/components/PlTooltip/global.d.ts.map +0 -1
  1026. package/dist/components/PlTooltip/index.d.ts.map +0 -1
  1027. package/dist/components/PlTooltip/useTooltipPosition.d.ts.map +0 -1
  1028. package/dist/components/Scrollable.vue.d.ts.map +0 -1
  1029. package/dist/components/Slider.vue.d.ts.map +0 -1
  1030. package/dist/components/SliderRange.vue.d.ts.map +0 -1
  1031. package/dist/components/SliderRangeTriple.vue.d.ts.map +0 -1
  1032. package/dist/components/TabItem.vue.d.ts.map +0 -1
  1033. package/dist/components/ThemeSwitcher.vue.d.ts.map +0 -1
  1034. package/dist/components/TransitionSlidePanel.vue.d.ts.map +0 -1
  1035. package/dist/components/VScroll.vue.d.ts.map +0 -1
  1036. package/dist/components/contextMenu/Menu.vue.d.ts.map +0 -1
  1037. package/dist/components/contextMenu/index.d.ts.map +0 -1
  1038. package/dist/components/contextMenu/types.d.ts.map +0 -1
  1039. package/dist/composition/computedCached.d.ts.map +0 -1
  1040. package/dist/composition/useClickOutside.d.ts.map +0 -1
  1041. package/dist/composition/useComponentProp.d.ts.map +0 -1
  1042. package/dist/composition/useConfirm.d.ts.map +0 -1
  1043. package/dist/composition/useDraggable.d.ts.map +0 -1
  1044. package/dist/composition/useEventListener.d.ts.map +0 -1
  1045. package/dist/composition/useFilteredList.d.ts.map +0 -1
  1046. package/dist/composition/useFormState.d.ts.map +0 -1
  1047. package/dist/composition/useHover.d.ts.map +0 -1
  1048. package/dist/composition/useInterval.d.ts.map +0 -1
  1049. package/dist/composition/useLocalStorage.d.ts.map +0 -1
  1050. package/dist/composition/useMouse.d.ts.map +0 -1
  1051. package/dist/composition/useMouseCapture.d.ts.map +0 -1
  1052. package/dist/composition/useNotificationPosition.d.ts.map +0 -1
  1053. package/dist/composition/usePosition.d.ts.map +0 -1
  1054. package/dist/composition/useQuery.d.ts.map +0 -1
  1055. package/dist/composition/useResizeObserver.d.ts.map +0 -1
  1056. package/dist/composition/useRipple.d.ts.map +0 -1
  1057. package/dist/composition/useScroll.d.ts.map +0 -1
  1058. package/dist/composition/useSliderBreakpoints.d.ts.map +0 -1
  1059. package/dist/composition/useSortable.d.ts.map +0 -1
  1060. package/dist/composition/useSortable2.d.ts.map +0 -1
  1061. package/dist/composition/useTheme.d.ts.map +0 -1
  1062. package/dist/composition/useTransformedModel.d.ts.map +0 -1
  1063. package/dist/composition/useWatchFetch.d.ts.map +0 -1
  1064. package/dist/composition/utils.d.ts.map +0 -1
  1065. package/dist/composition/watchCached.d.ts.map +0 -1
  1066. package/dist/demo-site-data/all-css-variables.d.ts.map +0 -1
  1067. package/dist/generated/components/svg/images/SvgRequired.vue.d.ts.map +0 -1
  1068. package/dist/generated/components/svg/images/SvgRequired.vue2.js.map +0 -1
  1069. package/dist/generated/icons-16.d.ts.map +0 -1
  1070. package/dist/generated/icons-24.d.ts.map +0 -1
  1071. package/dist/global/resizeObserver.d.ts.map +0 -1
  1072. package/dist/helpers/dom.d.ts.map +0 -1
  1073. package/dist/helpers/downloadContent.d.ts.map +0 -1
  1074. package/dist/helpers/error.d.ts.map +0 -1
  1075. package/dist/helpers/functions.d.ts.map +0 -1
  1076. package/dist/helpers/index.d.ts.map +0 -1
  1077. package/dist/helpers/iterators.d.ts.map +0 -1
  1078. package/dist/helpers/math.d.ts.map +0 -1
  1079. package/dist/helpers/objects.d.ts.map +0 -1
  1080. package/dist/helpers/utils.d.ts.map +0 -1
  1081. package/dist/index.d.ts.map +0 -1
  1082. package/dist/layout/PlBlockPage/PlBlockPage.vue.d.ts.map +0 -1
  1083. package/dist/layout/PlBlockPage/PlBlockPageTitleTeleportId.d.ts.map +0 -1
  1084. package/dist/layout/PlBlockPage/index.d.ts.map +0 -1
  1085. package/dist/layout/PlBlockPage/usePlBlockPageTitleTeleportTarget.d.ts.map +0 -1
  1086. package/dist/layout/PlContainer/PlContainer.vue.d.ts.map +0 -1
  1087. package/dist/layout/PlContainer/index.d.ts.map +0 -1
  1088. package/dist/layout/PlGrid/PlGrid.vue.d.ts.map +0 -1
  1089. package/dist/layout/PlGrid/index.d.ts.map +0 -1
  1090. package/dist/layout/PlRow/PlRow.vue.d.ts.map +0 -1
  1091. package/dist/layout/PlRow/index.d.ts.map +0 -1
  1092. package/dist/layout/PlSpacer/PlSpacer.vue.d.ts.map +0 -1
  1093. package/dist/layout/PlSpacer/index.d.ts.map +0 -1
  1094. package/dist/lib/model/common/dist/index.js +0 -635
  1095. package/dist/lib/model/common/dist/index.js.map +0 -1
  1096. package/dist/lib/model/pl-error-like/dist/index.js +0 -36
  1097. package/dist/lib/model/pl-error-like/dist/index.js.map +0 -1
  1098. package/dist/lib/util/helpers/dist/index.js +0 -361
  1099. package/dist/lib/util/helpers/dist/index.js.map +0 -1
  1100. package/dist/node_modules/.pnpm/@vueuse_core@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/core/index.js +0 -86
  1101. package/dist/node_modules/.pnpm/@vueuse_core@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/core/index.js.map +0 -1
  1102. package/dist/node_modules/.pnpm/@vueuse_integrations@13.3.0_axios@1.8.1_focus-trap@7.6.0_sortablejs@1.15.6_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/integrations/useSortable.js +0 -51
  1103. package/dist/node_modules/.pnpm/@vueuse_integrations@13.3.0_axios@1.8.1_focus-trap@7.6.0_sortablejs@1.15.6_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/integrations/useSortable.js.map +0 -1
  1104. package/dist/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js +0 -102
  1105. package/dist/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/shared/index.js.map +0 -1
  1106. package/dist/node_modules/.pnpm/canonicalize@2.1.0/node_modules/canonicalize/lib/canonicalize.js +0 -19
  1107. package/dist/node_modules/.pnpm/canonicalize@2.1.0/node_modules/canonicalize/lib/canonicalize.js.map +0 -1
  1108. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/array.js +0 -5
  1109. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/array.js.map +0 -1
  1110. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.js +0 -7
  1111. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.js.map +0 -1
  1112. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bin.js +0 -59
  1113. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bin.js.map +0 -1
  1114. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.js +0 -10
  1115. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.js.map +0 -1
  1116. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.js +0 -38
  1117. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.js.map +0 -1
  1118. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/constant.js +0 -7
  1119. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/constant.js.map +0 -1
  1120. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/count.js +0 -10
  1121. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/count.js.map +0 -1
  1122. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.js +0 -7
  1123. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.js.map +0 -1
  1124. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/extent.js +0 -16
  1125. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/extent.js.map +0 -1
  1126. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/identity.js +0 -7
  1127. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/identity.js.map +0 -1
  1128. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.js +0 -16
  1129. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.js.map +0 -1
  1130. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.js +0 -16
  1131. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.js.map +0 -1
  1132. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/nice.js +0 -14
  1133. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/nice.js.map +0 -1
  1134. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.js +0 -7
  1135. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.js.map +0 -1
  1136. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/threshold/sturges.js +0 -8
  1137. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/threshold/sturges.js.map +0 -1
  1138. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js +0 -33
  1139. package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js.map +0 -1
  1140. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.js +0 -65
  1141. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.js.map +0 -1
  1142. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.js +0 -7
  1143. package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.js.map +0 -1
  1144. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js +0 -306
  1145. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js.map +0 -1
  1146. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js +0 -13
  1147. package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js.map +0 -1
  1148. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.js +0 -16
  1149. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.js.map +0 -1
  1150. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.js +0 -8
  1151. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.js.map +0 -1
  1152. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.js +0 -16
  1153. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.js.map +0 -1
  1154. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.js +0 -11
  1155. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.js.map +0 -1
  1156. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.js +0 -11
  1157. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.js.map +0 -1
  1158. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.js +0 -13
  1159. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.js.map +0 -1
  1160. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.js +0 -11
  1161. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.js.map +0 -1
  1162. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.js +0 -29
  1163. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.js.map +0 -1
  1164. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.js +0 -20
  1165. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.js.map +0 -1
  1166. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.js +0 -22
  1167. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.js.map +0 -1
  1168. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.js +0 -7
  1169. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.js.map +0 -1
  1170. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.js +0 -69
  1171. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.js.map +0 -1
  1172. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.js +0 -8
  1173. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.js.map +0 -1
  1174. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.js +0 -8
  1175. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.js.map +0 -1
  1176. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.js +0 -8
  1177. package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.js.map +0 -1
  1178. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.js +0 -14
  1179. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.js.map +0 -1
  1180. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.js +0 -25
  1181. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.js.map +0 -1
  1182. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js +0 -5
  1183. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js.map +0 -1
  1184. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.js +0 -10
  1185. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.js.map +0 -1
  1186. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js +0 -9
  1187. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js.map +0 -1
  1188. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.js +0 -16
  1189. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.js.map +0 -1
  1190. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.js +0 -15
  1191. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.js.map +0 -1
  1192. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js +0 -16
  1193. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js.map +0 -1
  1194. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.js +0 -9
  1195. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.js.map +0 -1
  1196. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.js +0 -25
  1197. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.js.map +0 -1
  1198. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.js +0 -17
  1199. package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.js.map +0 -1
  1200. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js +0 -9
  1201. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js.map +0 -1
  1202. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.js +0 -76
  1203. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.js.map +0 -1
  1204. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.js +0 -17
  1205. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.js.map +0 -1
  1206. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.js +0 -40
  1207. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.js.map +0 -1
  1208. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.js +0 -7
  1209. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.js.map +0 -1
  1210. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/symlog.js +0 -30
  1211. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/symlog.js.map +0 -1
  1212. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js +0 -33
  1213. package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js.map +0 -1
  1214. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.js +0 -7
  1215. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.js.map +0 -1
  1216. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js +0 -9
  1217. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js.map +0 -1
  1218. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.js +0 -21
  1219. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.js.map +0 -1
  1220. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js +0 -15
  1221. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js.map +0 -1
  1222. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.js +0 -9
  1223. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.js.map +0 -1
  1224. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.js +0 -13
  1225. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.js.map +0 -1
  1226. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.js +0 -8
  1227. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.js.map +0 -1
  1228. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectAll.js +0 -9
  1229. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectAll.js.map +0 -1
  1230. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.js +0 -11
  1231. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.js.map +0 -1
  1232. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.js +0 -45
  1233. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.js.map +0 -1
  1234. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.js +0 -8
  1235. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.js.map +0 -1
  1236. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.js +0 -55
  1237. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.js.map +0 -1
  1238. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.js +0 -15
  1239. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.js.map +0 -1
  1240. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.js +0 -43
  1241. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.js.map +0 -1
  1242. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.js +0 -7
  1243. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.js.map +0 -1
  1244. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.js +0 -22
  1245. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.js.map +0 -1
  1246. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js +0 -10
  1247. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js.map +0 -1
  1248. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.js +0 -7
  1249. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.js.map +0 -1
  1250. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.js +0 -28
  1251. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.js.map +0 -1
  1252. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.js +0 -9
  1253. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.js.map +0 -1
  1254. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.js +0 -13
  1255. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.js.map +0 -1
  1256. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.js +0 -21
  1257. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.js.map +0 -1
  1258. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.js +0 -84
  1259. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.js.map +0 -1
  1260. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.js +0 -15
  1261. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.js.map +0 -1
  1262. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.js +0 -9
  1263. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.js.map +0 -1
  1264. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.js +0 -8
  1265. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.js.map +0 -1
  1266. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.js +0 -10
  1267. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.js.map +0 -1
  1268. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.js +0 -13
  1269. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.js.map +0 -1
  1270. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js +0 -12
  1271. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js.map +0 -1
  1272. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.js +0 -7
  1273. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.js.map +0 -1
  1274. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js +0 -53
  1275. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js.map +0 -1
  1276. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.js +0 -10
  1277. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.js.map +0 -1
  1278. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.js +0 -23
  1279. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.js.map +0 -1
  1280. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.js +0 -10
  1281. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.js.map +0 -1
  1282. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.js +0 -11
  1283. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.js.map +0 -1
  1284. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.js +0 -13
  1285. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.js.map +0 -1
  1286. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.js +0 -19
  1287. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.js.map +0 -1
  1288. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.js +0 -17
  1289. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.js.map +0 -1
  1290. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.js +0 -17
  1291. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.js.map +0 -1
  1292. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js +0 -9
  1293. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js.map +0 -1
  1294. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.js +0 -20
  1295. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.js.map +0 -1
  1296. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.js +0 -7
  1297. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.js.map +0 -1
  1298. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.js +0 -28
  1299. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.js.map +0 -1
  1300. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.js +0 -21
  1301. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.js.map +0 -1
  1302. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.js +0 -11
  1303. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.js.map +0 -1
  1304. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.js +0 -12
  1305. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.js.map +0 -1
  1306. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.js +0 -7
  1307. package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.js.map +0 -1
  1308. package/dist/node_modules/.pnpm/json-stringify-safe@5.0.1/node_modules/json-stringify-safe/stringify.js +0 -26
  1309. package/dist/node_modules/.pnpm/json-stringify-safe@5.0.1/node_modules/json-stringify-safe/stringify.js.map +0 -1
  1310. package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.js +0 -1262
  1311. package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.js.map +0 -1
  1312. package/dist/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js +0 -2978
  1313. package/dist/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js.map +0 -1
  1314. package/dist/sdk/model/dist/index.js +0 -1590
  1315. package/dist/sdk/model/dist/index.js.map +0 -1
  1316. package/dist/types.d.ts.map +0 -1
  1317. package/dist/utils/DoubleContour.vue.d.ts.map +0 -1
  1318. package/dist/utils/DropdownOverlay/DropdownOverlay.vue.d.ts.map +0 -1
  1319. package/dist/utils/DropdownOverlay/index.d.ts.map +0 -1
  1320. package/dist/utils/InnerBorder.vue.d.ts.map +0 -1
  1321. package/dist/utils/PlCloseModalBtn.vue.d.ts.map +0 -1
  1322. package/dist/utils/TextLabel.vue.d.ts.map +0 -1
  1323. package/dist/utils/WebStopWatchElement.d.ts.map +0 -1
  1324. package/dist/utils/useLabelNotch.d.ts.map +0 -1
  1325. package/dist/utils/useValidation.d.ts.map +0 -1
  1326. package/tsconfig.lib.build.json +0 -10
  1327. package/tsconfig.lib.json +0 -13
  1328. package/tsconfig.node.json +0 -13
@@ -1 +1 @@
1
- {"version":3,"file":"PlDropdownLine.vue.js","sources":["../../../src/components/PlDropdownLine/PlDropdownLine.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport './pl-dropdown-line.scss';\nimport type { StyleValue } from 'vue';\nimport { computed, nextTick, reactive, ref, toRef, watch } from 'vue';\nimport { deepEqual } from '../../helpers/objects';\nimport { useClickOutside } from '../../composition/useClickOutside';\nimport { useFilteredList } from '../../composition/useFilteredList';\nimport ResizableInput from './ResizableInput.vue';\nimport { tapIf, tap } from '../../helpers/functions';\nimport { scrollIntoView } from '../../helpers/dom';\nimport DropdownListItem from '../DropdownListItem.vue';\nimport TabItem from '../TabItem.vue';\nimport type { ListOption } from '../../types';\nimport { normalizeListOptions } from '../../helpers/utils';\nimport { useElementPosition } from '../../composition/usePosition';\n\nconst emit = defineEmits(['update:modelValue']); // at the top always\n\nconst props = withDefaults(\n defineProps<{\n modelValue: unknown;\n disabled?: boolean;\n prefix?: string;\n options: ListOption[]; // @todo extend with size field\n placeholder?: string;\n mode?: 'list' | 'tabs';\n tabsContainerStyles?: StyleValue;\n clearable?: boolean;\n }>(),\n {\n mode: 'list',\n placeholder: 'Select..',\n prefix: '',\n tabsContainerStyles: undefined,\n clearable: false,\n },\n);\n\nconst data = reactive({\n isOpen: false,\n activeOption: -1,\n optionsHeight: 0,\n});\n\nconst container = ref<HTMLElement>();\n\nconst list = ref<HTMLElement>();\n\nconst classes = computed(() => {\n const classesResult = [];\n if (data.isOpen) {\n classesResult.push('open');\n }\n if (props.disabled) {\n classesResult.push('disabled');\n }\n return classesResult.join(' ');\n});\n\nconst searchPhrase = ref<string>('');\n\nconst options = useFilteredList(toRef(props, 'options'), searchPhrase);\n\nconst canShowClearBtn = computed<boolean>(() => !!(props.clearable && data.isOpen && props.modelValue && modelText.value));\n\nconst modelText = computed<string>(() => {\n if (props.modelValue !== undefined) {\n const index = getIndexForModelInItems();\n if (index !== -1) {\n const item = normalizeListOptions(props.options)[index];\n return item.label;\n }\n }\n return '';\n});\n\nconst inputModel = ref(modelText.value);\n\nwatch(modelText, (v) => {\n inputModel.value = v;\n});\n\nconst placeholderVal = computed(() => {\n if (data.isOpen) {\n if (searchPhrase.value && searchPhrase.value.length >= modelText.value.length - 1) {\n return searchPhrase.value;\n }\n }\n\n return modelText.value || '...';\n});\n\nuseClickOutside(container, () => {\n if (props.mode === 'list') {\n data.isOpen = false;\n }\n});\n\nwatch(\n () => inputModel.value,\n (val) => {\n if (modelText.value !== val) {\n searchPhrase.value = val;\n } else {\n searchPhrase.value = '';\n }\n },\n);\n\nwatch(\n () => data.isOpen,\n (value: boolean) => {\n if (value && container.value) {\n container.value.querySelector('input')?.focus();\n nextTick(() => scrollIntoActive());\n }\n },\n);\n\nwatch(\n () => props.modelValue,\n () => updateSelected(),\n { immediate: true },\n);\n\nfunction getIndexForModelInItems(): number | -1 {\n return props.options.findIndex((o: ListOption) => {\n return deepEqual(o.value, props.modelValue);\n });\n}\n\nfunction updateSelected() {\n data.activeOption = tap(\n options.value.findIndex((o: ListOption) => {\n return deepEqual(o.value, props.modelValue);\n }),\n (v) => (v < 0 ? 0 : v),\n );\n}\n\nfunction resetSearchPhrase() {\n searchPhrase.value = '';\n}\n\nfunction toggleList(): void {\n if (props.disabled) {\n data.isOpen = false;\n } else {\n nextTick(() => {\n data.isOpen = !data.isOpen;\n });\n }\n}\n\nfunction closePopupIfNeeded() {\n if (props.mode === 'list') {\n data.isOpen = false;\n }\n}\n\nfunction selectItem(item?: ListOption): void {\n if (item) {\n emit('update:modelValue', item.value);\n closePopupIfNeeded();\n resetSearchPhrase();\n }\n}\n\nfunction isItemSelected(item: ListOption): boolean {\n return deepEqual(item.value, props.modelValue);\n}\n\nconst onFocusOut = (event: FocusEvent) => {\n const relatedTarget = event.relatedTarget as Node | null;\n\n if (!container.value?.contains(relatedTarget) && !list.value?.contains(relatedTarget)) {\n searchPhrase.value = '';\n data.isOpen = false;\n }\n};\n\nfunction handleKeydown(e: { code: string; preventDefault(): void }) {\n const { activeOption } = data;\n\n if (!data.isOpen && e.code === 'Enter') {\n data.isOpen = true;\n return;\n }\n\n const { length } = options.value;\n\n if (!length) {\n return;\n }\n\n if (['ArrowDown', 'ArrowUp', 'Enter'].includes(e.code)) {\n e.preventDefault();\n }\n\n if (e.code === 'Enter') {\n selectItem(options.value[activeOption]);\n }\n\n const d = e.code === 'ArrowDown' ? 1 : e.code === 'ArrowUp' ? -1 : 0;\n\n data.activeOption = Math.abs(activeOption + d + length) % length;\n\n requestAnimationFrame(scrollIntoActive);\n}\n\nfunction scrollIntoActive() {\n const $list = list.value;\n if (!$list) {\n return;\n }\n tapIf($list.querySelector('.hovered-item'), (el: Element) => {\n if (props.mode === 'list') {\n scrollIntoView($list, el as HTMLElement);\n } else {\n el.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'center' });\n }\n });\n}\n\nfunction clearModel() {\n emit('update:modelValue', undefined);\n}\n\nconst optionsStyle = reactive({\n top: '0px',\n left: '0px',\n});\n\nwatch(list, (el) => {\n if (el) {\n const rect = el.getBoundingClientRect();\n data.optionsHeight = rect.height;\n window.dispatchEvent(new CustomEvent('adjust'));\n }\n});\n\nuseElementPosition(container, (pos) => {\n const gap = 2;\n\n const downTopOffset = pos.top + pos.height + gap;\n\n if (downTopOffset + data.optionsHeight > pos.clientHeight) {\n optionsStyle.top = pos.top - data.optionsHeight - gap + 'px';\n } else {\n optionsStyle.top = downTopOffset + 'px';\n }\n\n optionsStyle.left = pos.left + 'px';\n});\n</script>\n\n<template>\n <div\n ref=\"container\"\n tabindex=\"0\"\n :class=\"classes\"\n class=\"pl-line-dropdown uc-pointer\"\n @keydown=\"handleKeydown\"\n @focusout=\"onFocusOut\"\n @click=\"toggleList\"\n >\n <div class=\"pl-line-dropdown__prefix\">{{ props?.prefix }}</div>\n\n <ResizableInput v-model=\"inputModel\" :placeholder=\"placeholderVal\" :disabled=\"props.disabled\" class=\"pl-line-dropdown__input\" />\n\n <div class=\"pl-line-dropdown__icon-wrapper\">\n <div v-show=\"!canShowClearBtn\" class=\"pl-line-dropdown__icon\" />\n <div v-show=\"canShowClearBtn\" class=\"pl-line-dropdown__icon-clear\" @click=\"clearModel\" />\n </div>\n <Teleport v-if=\"data.isOpen\" to=\"body\">\n <div\n v-if=\"props.mode === 'list'\"\n ref=\"list\"\n :style=\"optionsStyle\"\n tabindex=\"-1\"\n class=\"pl-line-dropdown__items\"\n @focusout=\"onFocusOut\"\n @click.stop\n >\n <template v-for=\"(item, index) in options\" :key=\"index\">\n <slot\n name=\"item\"\n :item=\"item\"\n :text-item=\"'text'\"\n :is-selected=\"isItemSelected(item)\"\n :is-hovered=\"data.activeOption == index\"\n @click.stop=\"selectItem(item)\"\n >\n <DropdownListItem\n :option=\"item\"\n :text-item=\"'text'\"\n :is-selected=\"isItemSelected(item)\"\n :is-hovered=\"data.activeOption == index\"\n size=\"medium\"\n @click.stop=\"selectItem(item)\"\n />\n </slot>\n </template>\n\n <div v-if=\"options.length === 0\" class=\"pl-line-dropdown__no-item\">\n <div class=\"pl-line-dropdown__no-item-title text-s\">Didn't find anything that matched</div>\n </div>\n </div>\n <div\n v-else-if=\"props.mode === 'tabs'\"\n ref=\"list\"\n :style=\"optionsStyle\"\n tabindex=\"-1\"\n class=\"pl-line-dropdown__items-tabs\"\n @focusout=\"onFocusOut\"\n @click.stop\n >\n <template v-for=\"(item, index) in options\" :key=\"index\">\n <slot name=\"item\" :item=\"item\" :is-selected=\"isItemSelected(item)\" :is-hovered=\"data.activeOption == index\" @click.stop=\"selectItem(item)\">\n <TabItem :option=\"item\" :is-selected=\"isItemSelected(item)\" :is-hovered=\"data.activeOption == index\" @click.stop=\"selectItem(item)\" />\n </slot>\n </template>\n <div v-if=\"options.length === 0\" class=\"pl-line-dropdown__no-item\">\n <div class=\"pl-line-dropdown__no-item-title text-s\">Didn't find anything that matched</div>\n </div>\n </div>\n </Teleport>\n </div>\n</template>\n"],"names":["emit","__emit","props","__props","data","reactive","container","ref","list","classes","computed","classesResult","searchPhrase","options","useFilteredList","toRef","canShowClearBtn","modelText","index","getIndexForModelInItems","normalizeListOptions","inputModel","watch","v","placeholderVal","useClickOutside","val","value","_a","nextTick","scrollIntoActive","updateSelected","o","deepEqual","tap","resetSearchPhrase","toggleList","closePopupIfNeeded","selectItem","item","isItemSelected","onFocusOut","event","relatedTarget","_b","handleKeydown","activeOption","length","d","$list","tapIf","el","scroll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I,IAAOJ,EAAG,sBAAsB;AACtC,QAAA/C,EAAK,gBAAgBmD,EAAK,QAC1B,OAAO,cAAc,IAAI,YAAY,QAAQ,CAAC;AAAA,MAAA;AAAA,IAChD,CACD,GAEkBC,GAAAlD,GAAW,CAACmD,MAAQ;AAGrC,YAAMC,IAAgBD,EAAI,MAAMA,EAAI,SAAS;AAE7C,MAAIC,IAAgBtD,EAAK,gBAAgBqD,EAAI,eAC3CH,EAAa,MAAMG,EAAI,MAAMrD,EAAK,gBAAgB,IAAM,OAExDkD,EAAa,MAAMI,IAAgB,MAGxBJ,EAAA,OAAOG,EAAI,OAAO;AAAA,IAAA,CAChC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"PlDropdownLine.vue.js","sources":["../../../src/components/PlDropdownLine/PlDropdownLine.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport './pl-dropdown-line.scss';\nimport type { StyleValue } from 'vue';\nimport { computed, nextTick, reactive, ref, toRef, watch } from 'vue';\nimport { deepEqual } from '../../helpers/objects';\nimport { useClickOutside } from '../../composition/useClickOutside';\nimport { useFilteredList } from '../../composition/useFilteredList';\nimport ResizableInput from './ResizableInput.vue';\nimport { tapIf, tap } from '../../helpers/functions';\nimport { scrollIntoView } from '../../helpers/dom';\nimport DropdownListItem from '../DropdownListItem.vue';\nimport TabItem from '../TabItem.vue';\nimport type { ListOption } from '../../types';\nimport { normalizeListOptions } from '../../helpers/utils';\nimport { useElementPosition } from '../../composition/usePosition';\n\nconst emit = defineEmits(['update:modelValue']); // at the top always\n\nconst props = withDefaults(\n defineProps<{\n modelValue: unknown;\n disabled?: boolean;\n prefix?: string;\n options: ListOption[]; // @todo extend with size field\n placeholder?: string;\n mode?: 'list' | 'tabs';\n tabsContainerStyles?: StyleValue;\n clearable?: boolean;\n }>(),\n {\n mode: 'list',\n placeholder: 'Select..',\n prefix: '',\n tabsContainerStyles: undefined,\n clearable: false,\n },\n);\n\nconst data = reactive({\n isOpen: false,\n activeOption: -1,\n optionsHeight: 0,\n});\n\nconst container = ref<HTMLElement>();\n\nconst list = ref<HTMLElement>();\n\nconst classes = computed(() => {\n const classesResult = [];\n if (data.isOpen) {\n classesResult.push('open');\n }\n if (props.disabled) {\n classesResult.push('disabled');\n }\n return classesResult.join(' ');\n});\n\nconst searchPhrase = ref<string>('');\n\nconst options = useFilteredList(toRef(props, 'options'), searchPhrase);\n\nconst canShowClearBtn = computed<boolean>(() => !!(props.clearable && data.isOpen && props.modelValue && modelText.value));\n\nconst modelText = computed<string>(() => {\n if (props.modelValue !== undefined) {\n const index = getIndexForModelInItems();\n if (index !== -1) {\n const item = normalizeListOptions(props.options)[index];\n return item.label;\n }\n }\n return '';\n});\n\nconst inputModel = ref(modelText.value);\n\nwatch(modelText, (v) => {\n inputModel.value = v;\n});\n\nconst placeholderVal = computed(() => {\n if (data.isOpen) {\n if (searchPhrase.value && searchPhrase.value.length >= modelText.value.length - 1) {\n return searchPhrase.value;\n }\n }\n\n return modelText.value || '...';\n});\n\nuseClickOutside(container, () => {\n if (props.mode === 'list') {\n data.isOpen = false;\n }\n});\n\nwatch(\n () => inputModel.value,\n (val) => {\n if (modelText.value !== val) {\n searchPhrase.value = val;\n } else {\n searchPhrase.value = '';\n }\n },\n);\n\nwatch(\n () => data.isOpen,\n (value: boolean) => {\n if (value && container.value) {\n container.value.querySelector('input')?.focus();\n nextTick(() => scrollIntoActive());\n }\n },\n);\n\nwatch(\n () => props.modelValue,\n () => updateSelected(),\n { immediate: true },\n);\n\nfunction getIndexForModelInItems(): number | -1 {\n return props.options.findIndex((o: ListOption) => {\n return deepEqual(o.value, props.modelValue);\n });\n}\n\nfunction updateSelected() {\n data.activeOption = tap(\n options.value.findIndex((o: ListOption) => {\n return deepEqual(o.value, props.modelValue);\n }),\n (v) => (v < 0 ? 0 : v),\n );\n}\n\nfunction resetSearchPhrase() {\n searchPhrase.value = '';\n}\n\nfunction toggleList(): void {\n if (props.disabled) {\n data.isOpen = false;\n } else {\n nextTick(() => {\n data.isOpen = !data.isOpen;\n });\n }\n}\n\nfunction closePopupIfNeeded() {\n if (props.mode === 'list') {\n data.isOpen = false;\n }\n}\n\nfunction selectItem(item?: ListOption): void {\n if (item) {\n emit('update:modelValue', item.value);\n closePopupIfNeeded();\n resetSearchPhrase();\n }\n}\n\nfunction isItemSelected(item: ListOption): boolean {\n return deepEqual(item.value, props.modelValue);\n}\n\nconst onFocusOut = (event: FocusEvent) => {\n const relatedTarget = event.relatedTarget as Node | null;\n\n if (!container.value?.contains(relatedTarget) && !list.value?.contains(relatedTarget)) {\n searchPhrase.value = '';\n data.isOpen = false;\n }\n};\n\nfunction handleKeydown(e: { code: string; preventDefault(): void }) {\n const { activeOption } = data;\n\n if (!data.isOpen && e.code === 'Enter') {\n data.isOpen = true;\n return;\n }\n\n const { length } = options.value;\n\n if (!length) {\n return;\n }\n\n if (['ArrowDown', 'ArrowUp', 'Enter'].includes(e.code)) {\n e.preventDefault();\n }\n\n if (e.code === 'Enter') {\n selectItem(options.value[activeOption]);\n }\n\n const d = e.code === 'ArrowDown' ? 1 : e.code === 'ArrowUp' ? -1 : 0;\n\n data.activeOption = Math.abs(activeOption + d + length) % length;\n\n requestAnimationFrame(scrollIntoActive);\n}\n\nfunction scrollIntoActive() {\n const $list = list.value;\n if (!$list) {\n return;\n }\n tapIf($list.querySelector('.hovered-item'), (el: Element) => {\n if (props.mode === 'list') {\n scrollIntoView($list, el as HTMLElement);\n } else {\n el.scrollIntoView({ behavior: 'smooth', block: 'nearest', inline: 'center' });\n }\n });\n}\n\nfunction clearModel() {\n emit('update:modelValue', undefined);\n}\n\nconst optionsStyle = reactive({\n top: '0px',\n left: '0px',\n});\n\nwatch(list, (el) => {\n if (el) {\n const rect = el.getBoundingClientRect();\n data.optionsHeight = rect.height;\n window.dispatchEvent(new CustomEvent('adjust'));\n }\n});\n\nuseElementPosition(container, (pos) => {\n const gap = 2;\n\n const downTopOffset = pos.top + pos.height + gap;\n\n if (downTopOffset + data.optionsHeight > pos.clientHeight) {\n optionsStyle.top = pos.top - data.optionsHeight - gap + 'px';\n } else {\n optionsStyle.top = downTopOffset + 'px';\n }\n\n optionsStyle.left = pos.left + 'px';\n});\n</script>\n\n<template>\n <div\n ref=\"container\"\n tabindex=\"0\"\n :class=\"classes\"\n class=\"pl-line-dropdown uc-pointer\"\n @keydown=\"handleKeydown\"\n @focusout=\"onFocusOut\"\n @click=\"toggleList\"\n >\n <div class=\"pl-line-dropdown__prefix\">{{ props?.prefix }}</div>\n\n <ResizableInput v-model=\"inputModel\" :placeholder=\"placeholderVal\" :disabled=\"props.disabled\" class=\"pl-line-dropdown__input\" />\n\n <div class=\"pl-line-dropdown__icon-wrapper\">\n <div v-show=\"!canShowClearBtn\" class=\"pl-line-dropdown__icon\" />\n <div v-show=\"canShowClearBtn\" class=\"pl-line-dropdown__icon-clear\" @click=\"clearModel\" />\n </div>\n <Teleport v-if=\"data.isOpen\" to=\"body\">\n <div\n v-if=\"props.mode === 'list'\"\n ref=\"list\"\n :style=\"optionsStyle\"\n tabindex=\"-1\"\n class=\"pl-line-dropdown__items\"\n @focusout=\"onFocusOut\"\n @click.stop\n >\n <template v-for=\"(item, index) in options\" :key=\"index\">\n <slot\n name=\"item\"\n :item=\"item\"\n :text-item=\"'text'\"\n :is-selected=\"isItemSelected(item)\"\n :is-hovered=\"data.activeOption == index\"\n @click.stop=\"selectItem(item)\"\n >\n <DropdownListItem\n :option=\"item\"\n :text-item=\"'text'\"\n :is-selected=\"isItemSelected(item)\"\n :is-hovered=\"data.activeOption == index\"\n size=\"medium\"\n @click.stop=\"selectItem(item)\"\n />\n </slot>\n </template>\n\n <div v-if=\"options.length === 0\" class=\"pl-line-dropdown__no-item\">\n <div class=\"pl-line-dropdown__no-item-title text-s\">Didn't find anything that matched</div>\n </div>\n </div>\n <div\n v-else-if=\"props.mode === 'tabs'\"\n ref=\"list\"\n :style=\"optionsStyle\"\n tabindex=\"-1\"\n class=\"pl-line-dropdown__items-tabs\"\n @focusout=\"onFocusOut\"\n @click.stop\n >\n <template v-for=\"(item, index) in options\" :key=\"index\">\n <slot name=\"item\" :item=\"item\" :is-selected=\"isItemSelected(item)\" :is-hovered=\"data.activeOption == index\" @click.stop=\"selectItem(item)\">\n <TabItem :option=\"item\" :is-selected=\"isItemSelected(item)\" :is-hovered=\"data.activeOption == index\" @click.stop=\"selectItem(item)\" />\n </slot>\n </template>\n <div v-if=\"options.length === 0\" class=\"pl-line-dropdown__no-item\">\n <div class=\"pl-line-dropdown__no-item-title text-s\">Didn't find anything that matched</div>\n </div>\n </div>\n </Teleport>\n </div>\n</template>\n"],"names":["emit","__emit","props","__props","data","reactive","container","ref","list","classes","computed","classesResult","searchPhrase","options","useFilteredList","toRef","canShowClearBtn","modelText","index","getIndexForModelInItems","normalizeListOptions","inputModel","watch","v","placeholderVal","useClickOutside","val","value","_a","nextTick","scrollIntoActive","updateSelected","o","deepEqual","tap","resetSearchPhrase","toggleList","closePopupIfNeeded","selectItem","item","isItemSelected","onFocusOut","event","relatedTarget","_b","handleKeydown","activeOption","length","d","$list","tapIf","el","scrollIntoView","clearModel","optionsStyle","rect","useElementPosition","pos","downTopOffset"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,UAAMA,IAAOC,GAEPC,IAAQC,GAoBRC,IAAOC,EAAS;AAAA,MACpB,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,eAAe;AAAA,IAAA,CAChB,GAEKC,IAAYC,EAAA,GAEZC,IAAOD,EAAA,GAEPE,IAAUC,EAAS,MAAM;AAC7B,YAAMC,IAAgB,CAAA;AACtB,aAAIP,EAAK,UACPO,EAAc,KAAK,MAAM,GAEvBT,EAAM,YACRS,EAAc,KAAK,UAAU,GAExBA,EAAc,KAAK,GAAG;AAAA,IAC/B,CAAC,GAEKC,IAAeL,EAAY,EAAE,GAE7BM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -11,4 +11,3 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
11
11
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
12
12
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
13
  export default _default;
14
- //# sourceMappingURL=ResizableInput.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResizableInput.vue.js","sources":["../../../src/components/PlDropdownLine/ResizableInput.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport './resizable-input.scss';\nimport { computed } from 'vue';\n\nconst props = defineProps<{\n modelValue?: string;\n placeholder?: string;\n disabled?: boolean;\n maxWidth?: string;\n width?: string;\n}>();\n\nconst emit = defineEmits(['update:modelValue']);\n\nconst text = computed(() => {\n if (props.placeholder) {\n return props.placeholder;\n }\n return (props.modelValue)?.replace('\"', '');\n});\n\nconst styles = computed(() => {\n const stl: Record<string, string> = {};\n if (props.width) {\n stl['width'] = props.width;\n }\n if (props.maxWidth) {\n stl['maxWidth'] = props.maxWidth;\n }\n return stl;\n});\n\nfunction handleInput(event: Event) {\n emit('update:modelValue', (event.target as HTMLInputElement).value);\n}\n</script>\n\n<template>\n <div class=\"resizable-input\">\n <span :style=\"styles\" class=\"resizable-input__size-span\">{{ text }}</span>\n <input v-bind=\"$attrs\" :placeholder=\"placeholder\" :value=\"props.modelValue\" :disabled=\"props.disabled\" :style=\"styles\" @input=\"handleInput\" />\n </div>\n</template>\n"],"names":["props","__props","emit","__emit","text","computed","_a","styles","stl","handleInput","event"],"mappings":";;;;;;;;;;;;;AAIA,UAAMA,IAAQC,GAQRC,IAAOC,GAEPC,IAAOC,EAAS,MAAM;;AAC1B,aAAIL,EAAM,cACDA,EAAM,eAEPM,IAAAN,EAAM,eAAN,gBAAAM,EAAmB,QAAQ,KAAK;AAAA,IAAE,CAC3C,GAEKC,IAASF,EAAS,MAAM;AAC5B,YAAMG,IAA8B,CAAC;AACrC,aAAIR,EAAM,UACJQ,EAAA,QAAWR,EAAM,QAEnBA,EAAM,aACJQ,EAAA,WAAcR,EAAM,WAEnBQ;AAAA,IAAA,CACR;AAED,aAASC,EAAYC,GAAc;AAC5B,MAAAR,EAAA,qBAAsBQ,EAAM,OAA4B,KAAK;AAAA,IAAA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ResizableInput.vue.js","sources":["../../../src/components/PlDropdownLine/ResizableInput.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport './resizable-input.scss';\nimport { computed } from 'vue';\n\nconst props = defineProps<{\n modelValue?: string;\n placeholder?: string;\n disabled?: boolean;\n maxWidth?: string;\n width?: string;\n}>();\n\nconst emit = defineEmits(['update:modelValue']);\n\nconst text = computed(() => {\n if (props.placeholder) {\n return props.placeholder;\n }\n return (props.modelValue)?.replace('\"', '');\n});\n\nconst styles = computed(() => {\n const stl: Record<string, string> = {};\n if (props.width) {\n stl['width'] = props.width;\n }\n if (props.maxWidth) {\n stl['maxWidth'] = props.maxWidth;\n }\n return stl;\n});\n\nfunction handleInput(event: Event) {\n emit('update:modelValue', (event.target as HTMLInputElement).value);\n}\n</script>\n\n<template>\n <div class=\"resizable-input\">\n <span :style=\"styles\" class=\"resizable-input__size-span\">{{ text }}</span>\n <input v-bind=\"$attrs\" :placeholder=\"placeholder\" :value=\"props.modelValue\" :disabled=\"props.disabled\" :style=\"styles\" @input=\"handleInput\" />\n </div>\n</template>\n"],"names":["props","__props","emit","__emit","text","computed","_a","styles","stl","handleInput","event"],"mappings":";;;;;;;;;;;;;AAIA,UAAMA,IAAQC,GAQRC,IAAOC,GAEPC,IAAOC,EAAS,MAAM;;AAC1B,aAAIL,EAAM,cACDA,EAAM,eAEPM,IAAAN,EAAM,eAAN,gBAAAM,EAAmB,QAAQ,KAAK;AAAA,IAC1C,CAAC,GAEKC,IAASF,EAAS,MAAM;AAC5B,YAAMG,IAA8B,CAAA;AACpC,aAAIR,EAAM,UACRQ,EAAI,QAAWR,EAAM,QAEnBA,EAAM,aACRQ,EAAI,WAAcR,EAAM,WAEnBQ;AAAA,IACT,CAAC;AAED,aAASC,EAAYC,GAAc;AACjC,MAAAR,EAAK,qBAAsBQ,EAAM,OAA4B,KAAK;AAAA,IACpE;;;;;;;;;;;;;;;;"}
@@ -1,2 +1 @@
1
1
  export { default as PlDropdownLine } from './PlDropdownLine.vue';
2
- //# sourceMappingURL=index.d.ts.map
@@ -55,4 +55,3 @@ export default _default;
55
55
  type __VLS_PrettifyLocal<T> = {
56
56
  [K in keyof T]: T[K];
57
57
  } & {};
58
- //# sourceMappingURL=PlDropdownMulti.vue.d.ts.map
@@ -1,34 +1,33 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.pl-dropdown-multi{--contour-color: var(--txt-01);--contour-border-width: 1px;--options-bg: #fff;--option-hover-bg: var(--btn-sec-hover-grey);--label-offset-left-x: 8px;--label-offset-right-x: 8px;--label-color: var(--txt-01);position:relative;outline:none;min-height:var(--control-height);border-radius:6px;font-family:var(--font-family-base);font-size:var(--font-size-base);font-weight:var(--font-weigh-base)}[data-theme=dark] .pl-dropdown-multi{--options-bg: #1B1B1F}.pl-dropdown-multi__envelope{font-family:var(--control-font-family);min-width:160px}.pl-dropdown-multi label{display:flex;align-items:center;gap:4px;position:absolute;top:0;transform:translateY(-60%);left:var(--label-offset-left-x);padding:0 4px;max-width:calc(100% - 16px);overflow:hidden;white-space:pre;text-overflow:ellipsis;cursor:inherit;color:var(--label-color);font-size:12px;font-weight:500;border-bottom-right-radius:4px;border-bottom-left-radius:4px;background:var(--bg-elevated-01)}.pl-dropdown-multi label>span{overflow:hidden;white-space:pre;text-overflow:ellipsis}.pl-dropdown-multi__container{position:absolute;top:0;left:0;right:0;border-radius:6px;min-height:var(--control-height);padding:1px;color:var(--txt-01)}.pl-dropdown-multi__contour{border-radius:var(--border-radius-control);border:var(--contour-border-width) solid var(--contour-color);box-shadow:var(--contour-box-shadow);z-index:0;pointer-events:none}.pl-dropdown-multi__options{position:absolute;top:0;z-index:var(--z-dropdown-options);border:1px solid var(--border-color-div-grey);background-color:var(--pl-dropdown-options-bg);border-radius:6px;max-height:244px;box-shadow:0 4px 12px -2px #0f244d14,0 6px 24px -2px #0f244d14;--thumb-color: var(--ic-02);overflow-y:auto}.pl-dropdown-multi__options::-webkit-scrollbar{width:var(--scrollbar-width, 6px);height:5px;background-color:transparent;display:block}.pl-dropdown-multi__options::-webkit-scrollbar-thumb{background:var(--thumb-color);border-radius:5px}.pl-dropdown-multi__options::-webkit-scrollbar-thumb:hover{--thumb-color: var(--border-color-focus)}.pl-dropdown-multi__options .nothing-found{padding:0 10px;height:var(--control-height);line-height:20px;background-color:#fff;opacity:.5;font-style:italic}.pl-dropdown-multi__options .option{position:relative;padding:0 10px;height:var(--control-height);line-height:20px;cursor:pointer;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:12px;--base-icon: url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.5%204.5H4.5L4.5%2019.5H19.5V4.5ZM4.5%203C3.67157%203%203%203.67157%203%204.5V19.5C3%2020.3284%203.67157%2021%204.5%2021H19.5C20.3284%2021%2021%2020.3284%2021%2019.5V4.5C21%203.67157%2020.3284%203%2019.5%203H4.5Z'%20fill='%23110529'/%3e%3c/svg%3e");--checked-icon: url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='3'%20y='3'%20width='18'%20height='18'%20rx='2'%20fill='%23110529'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5431%208.51739L10.3333%2016.0877L6.45691%2012.0174L7.54312%2010.9829L10.3333%2013.9127L16.4569%207.48291L17.5431%208.51739Z'%20fill='white'/%3e%3c/svg%3e")}.pl-dropdown-multi__options .option .pl-dropdown-multi__checkmark{cursor:pointer;outline:none;border-radius:4px;background:var(--base-icon) no-repeat center;width:24px;height:24px}[data-theme=dark] .pl-dropdown-multi__options .option .pl-dropdown-multi__checkmark{--base-icon: url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M19.5%204.5H4.5L4.5%2019.5H19.5V4.5ZM4.5%203C3.67157%203%203%203.67157%203%204.5V19.5C3%2020.3284%203.67157%2021%204.5%2021H19.5C20.3284%2021%2021%2020.3284%2021%2019.5V4.5C21%203.67157%2020.3284%203%2019.5%203H4.5Z'%20fill='white'/%3e%3c/svg%3e");--checked-icon: url("data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='3'%20y='3'%20width='18'%20height='18'%20rx='2'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5431%208.51739L10.3333%2016.0877L6.45691%2012.0174L7.54312%2010.9829L10.3333%2013.9127L16.4569%207.48291L17.5431%208.51739Z'%20fill='%23110529'/%3e%3c/svg%3e")}.pl-dropdown-multi__options .option>span{display:block;overflow:hidden;white-space:nowrap;max-width:100%;text-overflow:ellipsis}.pl-dropdown-multi__options .option.selected{background-color:var(--color-active-select)}.pl-dropdown-multi__options .option.selected .pl-dropdown-multi__checkmark{background:var(--checked-icon) no-repeat center;width:24px;height:24px}.pl-dropdown-multi__options .option.active:not(.selected){background-color:var(--option-hover-bg)}.pl-dropdown-multi__options .option:hover{background-color:var(--option-hover-bg)}.pl-dropdown-multi__field{position:relative;border-radius:6px;overflow:hidden;background:transparent;padding-left:11px;min-height:var(--control-height);line-height:20px;cursor:pointer;display:flex;flex-direction:row;align-items:center}.pl-dropdown-multi__field .chips-container{position:absolute;top:0;left:0;bottom:0;right:30px;overflow:hidden;padding:0 60px 0 11px;line-height:20px;color:var(--contour-color);display:flex;gap:8px;align-items:center}.pl-dropdown-multi__field input{min-height:calc(var(--control-height) - 2px);line-height:20px;font-family:inherit;font-size:inherit;background-color:transparent;border:none;padding:0;width:calc(100% - 20px);color:var(--txt-01);caret-color:var(--border-color-focus)}.pl-dropdown-multi__field input:focus{outline:none}.pl-dropdown-multi__field input:placeholder-shown{text-overflow:ellipsis}.pl-dropdown-multi__field input::placeholder{color:var(--color-placeholder)}.pl-dropdown-multi__field:hover .clear{display:block}.pl-dropdown-multi__controls{display:flex;flex-direction:row;align-items:center;gap:6px;margin-left:auto}.pl-dropdown-multi__controls .mask-16,.pl-dropdown-multi__controls .mask-24{--icon-color: var(--control-mask-fill);cursor:pointer}.pl-dropdown-multi__controls .mask-loading{--icon-color: var(--ic-accent);animation:spin 2.5s linear infinite}.pl-dropdown-multi__arrow-wrapper{display:flex;align-items:center;min-height:var(--control-height);padding-right:11px}.pl-dropdown-multi .arrow-icon{cursor:pointer}.pl-dropdown-multi .arrow-icon.arrow-icon-default{transition:transform .2s;background-color:var(--control-mask-fill);mask-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.46967%206.53033L3.53033%205.46967L8%209.93934L12.4697%205.46967L13.5303%206.53033L8%2012.0607L2.46967%206.53033Z'%20fill='%23110529'/%3e%3c/svg%3e");-webkit-mask-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.46967%206.53033L3.53033%205.46967L8%209.93934L12.4697%205.46967L13.5303%206.53033L8%2012.0607L2.46967%206.53033Z'%20fill='%23110529'/%3e%3c/svg%3e");mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:16px;-webkit-mask-size:16px;width:16px;height:16px}.pl-dropdown-multi__helper{font-size:12px;color:var(--txt-03);padding:2px 0 0;white-space:pre-wrap;text-overflow:ellipsis;font-weight:500;line-height:16px;margin-top:6px}.pl-dropdown-multi__error{font-size:12px;color:var(--txt-error);padding:2px 0 0;white-space:pre-wrap;text-overflow:ellipsis;font-weight:500;line-height:16px;margin-top:6px}.pl-dropdown-multi.open .arrow-icon.arrow-icon-default{background-color:var(--control-mask-fill);transform:rotate(-180deg)}.pl-dropdown-multi .clear{display:none;position:absolute;top:50%;transform:translateY(-50%);right:36px;z-index:1;background:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_586_7851)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM4.46967%205.53033L6.93934%208L4.46967%2010.4697L5.53033%2011.5303L8%209.06066L10.4697%2011.5303L11.5303%2010.4697L9.06066%208L11.5303%205.53033L10.4697%204.46967L8%206.93934L5.53033%204.46967L4.46967%205.53033Z'%20fill='%23CFD1DB'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_586_7851'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e") no-repeat center;width:16px;height:16px;cursor:pointer}.pl-dropdown-multi.open,.pl-dropdown-multi:focus-within{z-index:1}.pl-dropdown-multi.open .pl-dropdown-multi__container .label,.pl-dropdown-multi:focus-within .pl-dropdown-multi__container .label{color:var(--txt-focus)}.pl-dropdown-multi.open .pl-dropdown-multi__container{z-index:1000}.pl-dropdown-multi.open .pl-dropdown-multi__field{border-radius:6px 6px 0 0}.pl-dropdown-multi.open .arrow{background-color:var(--control-mask-fill);mask-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%204.93933L13.5303%2010.4697L12.4697%2011.5303L8%207.06065L3.53033%2011.5303L2.46967%2010.4697L8%204.93933Z'%20fill='%23110529'/%3e%3c/svg%3e");-webkit-mask-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%204.93933L13.5303%2010.4697L12.4697%2011.5303L8%207.06065L3.53033%2011.5303L2.46967%2010.4697L8%204.93933Z'%20fill='%23110529'/%3e%3c/svg%3e");mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:16px;-webkit-mask-size:16px;width:16px;height:16px}.pl-dropdown-multi:hover{--contour-color: var(--control-hover-color)}.pl-dropdown-multi:focus-within:not(.error){--label-color: var(--txt-focus);--contour-color: var(--border-color-focus);--contour-border-width: 2px;--contour-box-shadow: 0 0 0 4px var(--border-color-focus-shadow)}.pl-dropdown-multi:focus-within.error{--contour-border-width: 2px;--contour-box-shadow: 0 0 0 4px var(--color-error-shadow)}.pl-dropdown-multi.error{--contour-color: var(--txt-error);--label-color: var(--txt-error)}.pl-dropdown-multi.disabled{--contour-color: var(--color-dis-01);--control-mask-fill: var(--color-dis-01);--label-color: var(--color-dis-01);cursor:not-allowed;pointer-events:none}.pl-dropdown-multi.disabled .mask-loading{animation:spin 2.5s linear infinite;--icon-color: var(--ic-accent)}.pl-dropdown-multi__open-chips-container{padding:12px}.pl-dropdown-multi__open-chips-container .pl-chip{margin-right:4px;margin-bottom:4px}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { defineComponent as X, useSlots as Y, ref as N, useTemplateRef as Z, reactive as ee, computed as p, unref as a, watch as oe, watchPostEffect as te, createElementBlock as d, openBlock as r, createElementVNode as u, createCommentVNode as f, normalizeClass as le, createBlock as m, createVNode as ne, withDirectives as re, vModelText as se, Fragment as g, renderList as C, withModifiers as O, withCtx as y, createTextVNode as q, toDisplayString as v, renderSlot as B } from "vue";
1
+ (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.pl-dropdown-multi{--contour-color: var(--txt-01);--contour-border-width: 1px;--options-bg: #fff;--option-hover-bg: var(--btn-sec-hover-grey);--label-offset-left-x: 8px;--label-offset-right-x: 8px;--label-color: var(--txt-01);position:relative;outline:none;min-height:var(--control-height);border-radius:6px;font-family:var(--font-family-base);font-size:var(--font-size-base);font-weight:var(--font-weigh-base)}[data-theme=dark] .pl-dropdown-multi{--options-bg: #1B1B1F}.pl-dropdown-multi__envelope{font-family:var(--control-font-family);min-width:160px}.pl-dropdown-multi label{display:flex;align-items:center;gap:4px;position:absolute;top:0;transform:translateY(-60%);left:var(--label-offset-left-x);padding:0 4px;max-width:calc(100% - 16px);overflow:hidden;white-space:pre;text-overflow:ellipsis;cursor:inherit;color:var(--label-color);font-size:12px;font-weight:500;border-bottom-right-radius:4px;border-bottom-left-radius:4px;background:var(--bg-elevated-01)}.pl-dropdown-multi label>span{overflow:hidden;white-space:pre;text-overflow:ellipsis}.pl-dropdown-multi__container{position:absolute;top:0;left:0;right:0;border-radius:6px;min-height:var(--control-height);padding:1px;color:var(--txt-01)}.pl-dropdown-multi__contour{border-radius:var(--border-radius-control);border:var(--contour-border-width) solid var(--contour-color);box-shadow:var(--contour-box-shadow);z-index:0;pointer-events:none}.pl-dropdown-multi__options{position:absolute;top:0;z-index:var(--z-dropdown-options);border:1px solid var(--border-color-div-grey);background-color:var(--pl-dropdown-options-bg);border-radius:6px;max-height:244px;box-shadow:0 4px 12px -2px #0f244d14,0 6px 24px -2px #0f244d14;--thumb-color: var(--ic-02);overflow-y:auto}.pl-dropdown-multi__options::-webkit-scrollbar{width:var(--scrollbar-width, 6px);height:5px;background-color:transparent;display:block}.pl-dropdown-multi__options::-webkit-scrollbar-thumb{background:var(--thumb-color);border-radius:5px}.pl-dropdown-multi__options::-webkit-scrollbar-thumb:hover{--thumb-color: var(--border-color-focus)}.pl-dropdown-multi__options .nothing-found{padding:0 10px;height:var(--control-height);line-height:20px;background-color:#fff;opacity:.5;font-style:italic}.pl-dropdown-multi__field{position:relative;border-radius:6px;overflow:hidden;background:transparent;padding-left:11px;min-height:var(--control-height);line-height:20px;cursor:pointer;display:flex;flex-direction:row;align-items:center}.pl-dropdown-multi__field .chips-container{position:absolute;top:0;left:0;bottom:0;right:30px;overflow:hidden;padding:0 60px 0 11px;line-height:20px;color:var(--contour-color);display:flex;gap:8px;align-items:center}.pl-dropdown-multi__field input{min-height:calc(var(--control-height) - 2px);line-height:20px;font-family:inherit;font-size:inherit;background-color:transparent;border:none;padding:0;width:calc(100% - 20px);color:var(--txt-01);caret-color:var(--border-color-focus)}.pl-dropdown-multi__field input:focus{outline:none}.pl-dropdown-multi__field input:placeholder-shown{text-overflow:ellipsis}.pl-dropdown-multi__field input::placeholder{color:var(--color-placeholder)}.pl-dropdown-multi__field:hover .clear{display:block}.pl-dropdown-multi__controls{display:flex;flex-direction:row;align-items:center;gap:6px;margin-left:auto}.pl-dropdown-multi__controls .mask-16,.pl-dropdown-multi__controls .mask-24{--icon-color: var(--control-mask-fill);cursor:pointer}.pl-dropdown-multi__controls .mask-loading{--icon-color: var(--ic-accent);animation:spin 2.5s linear infinite}.pl-dropdown-multi__arrow-wrapper{display:flex;align-items:center;min-height:var(--control-height);padding-right:11px}.pl-dropdown-multi .arrow-icon{cursor:pointer}.pl-dropdown-multi .arrow-icon.arrow-icon-default{transition:transform .2s;background-color:var(--control-mask-fill);mask-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.46967%206.53033L3.53033%205.46967L8%209.93934L12.4697%205.46967L13.5303%206.53033L8%2012.0607L2.46967%206.53033Z'%20fill='%23110529'/%3e%3c/svg%3e");-webkit-mask-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.46967%206.53033L3.53033%205.46967L8%209.93934L12.4697%205.46967L13.5303%206.53033L8%2012.0607L2.46967%206.53033Z'%20fill='%23110529'/%3e%3c/svg%3e");mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:16px;-webkit-mask-size:16px;width:16px;height:16px}.pl-dropdown-multi__helper{font-size:12px;color:var(--txt-03);padding:2px 0 0;white-space:pre-wrap;text-overflow:ellipsis;font-weight:500;line-height:16px;margin-top:6px}.pl-dropdown-multi__error{font-size:12px;color:var(--txt-error);padding:2px 0 0;white-space:pre-wrap;text-overflow:ellipsis;font-weight:500;line-height:16px;margin-top:6px}.pl-dropdown-multi.open .arrow-icon.arrow-icon-default{background-color:var(--control-mask-fill);transform:rotate(-180deg)}.pl-dropdown-multi .clear{display:none;position:absolute;top:50%;transform:translateY(-50%);right:36px;z-index:1;background:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_586_7851)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM4.46967%205.53033L6.93934%208L4.46967%2010.4697L5.53033%2011.5303L8%209.06066L10.4697%2011.5303L11.5303%2010.4697L9.06066%208L11.5303%205.53033L10.4697%204.46967L8%206.93934L5.53033%204.46967L4.46967%205.53033Z'%20fill='%23CFD1DB'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_586_7851'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e") no-repeat center;width:16px;height:16px;cursor:pointer}.pl-dropdown-multi.open,.pl-dropdown-multi:focus-within{z-index:1}.pl-dropdown-multi.open .pl-dropdown-multi__container .label,.pl-dropdown-multi:focus-within .pl-dropdown-multi__container .label{color:var(--txt-focus)}.pl-dropdown-multi.open .pl-dropdown-multi__container{z-index:1000}.pl-dropdown-multi.open .pl-dropdown-multi__field{border-radius:6px 6px 0 0}.pl-dropdown-multi.open .arrow{background-color:var(--control-mask-fill);mask-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%204.93933L13.5303%2010.4697L12.4697%2011.5303L8%207.06065L3.53033%2011.5303L2.46967%2010.4697L8%204.93933Z'%20fill='%23110529'/%3e%3c/svg%3e");-webkit-mask-image:url("data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%204.93933L13.5303%2010.4697L12.4697%2011.5303L8%207.06065L3.53033%2011.5303L2.46967%2010.4697L8%204.93933Z'%20fill='%23110529'/%3e%3c/svg%3e");mask-repeat:no-repeat;-webkit-mask-repeat:no-repeat;mask-position:center;-webkit-mask-position:center;mask-size:16px;-webkit-mask-size:16px;width:16px;height:16px}.pl-dropdown-multi:hover{--contour-color: var(--control-hover-color)}.pl-dropdown-multi:focus-within:not(.error){--label-color: var(--txt-focus);--contour-color: var(--border-color-focus);--contour-border-width: 2px;--contour-box-shadow: 0 0 0 4px var(--border-color-focus-shadow)}.pl-dropdown-multi:focus-within.error{--contour-border-width: 2px;--contour-box-shadow: 0 0 0 4px var(--color-error-shadow)}.pl-dropdown-multi.error{--contour-color: var(--txt-error);--label-color: var(--txt-error)}.pl-dropdown-multi.disabled{--contour-color: var(--color-dis-01);--control-mask-fill: var(--color-dis-01);--label-color: var(--color-dis-01);cursor:not-allowed;pointer-events:none}.pl-dropdown-multi.disabled .mask-loading{animation:spin 2.5s linear infinite;--icon-color: var(--ic-accent)}.pl-dropdown-multi__open-chips-container{padding:12px}.pl-dropdown-multi__open-chips-container .pl-chip{margin-right:4px;margin-bottom:4px}`)),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
2
+ import { defineComponent as X, useSlots as Y, ref as q, useTemplateRef as Z, reactive as ee, computed as p, unref as s, watch as oe, watchPostEffect as te, createElementBlock as d, openBlock as r, createElementVNode as u, createCommentVNode as f, normalizeClass as le, createBlock as m, createVNode as ne, withDirectives as re, vModelText as se, Fragment as b, renderList as g, withModifiers as C, withCtx as w, createTextVNode as B, toDisplayString as v, renderSlot as I } from "vue";
3
3
 
4
- import { tap as ae } from "../../helpers/functions.js";
5
- import ie from "../PlTooltip/PlTooltip.vue.js";
4
+ import ae from "../PlTooltip/PlTooltip.vue.js";
6
5
  import T from "../PlChip/PlChip.vue.js";
7
- import de from "../../utils/DoubleContour.vue.js";
8
- import { useLabelNotch as ue } from "../../utils/useLabelNotch.js";
9
- import ce from "../DropdownListItem.vue.js";
10
- import { deepEqual as k, deepIncludes as x } from "../../helpers/objects.js";
11
- import { normalizeListOptions as pe } from "../../helpers/utils.js";
12
- import fe from "../../utils/DropdownOverlay/DropdownOverlay.vue.js";
13
- import me from "../PlIcon24/PlIcon24.vue.js";
14
- import ve from "../../generated/components/svg/images/SvgRequired.vue2.js";
15
- import { getErrorMessage as he } from "../../helpers/error.js";
16
- const _e = ["tabindex"], we = { class: "pl-dropdown-multi__container" }, ye = { class: "pl-dropdown-multi__field" }, ke = ["disabled", "placeholder"], be = {
6
+ import ie from "../../utils/DoubleContour.vue.js";
7
+ import { useLabelNotch as de } from "../../utils/useLabelNotch.js";
8
+ import ue from "../DropdownListItem.vue.js";
9
+ import { deepEqual as O, deepIncludes as z } from "../../helpers/objects.js";
10
+ import { normalizeListOptions as ce } from "../../helpers/utils.js";
11
+ import pe from "../../utils/DropdownOverlay/DropdownOverlay.vue.js";
12
+ import fe from "../PlIcon24/PlIcon24.vue.js";
13
+ import me from "../../generated/components/svg/images/SvgRequired.vue.js";
14
+ import { getErrorMessage as ve } from "../../helpers/error.js";
15
+ const he = ["tabindex"], _e = { class: "pl-dropdown-multi__container" }, we = { class: "pl-dropdown-multi__field" }, ye = ["disabled", "placeholder"], ke = {
17
16
  key: 0,
18
17
  class: "chips-container"
19
- }, ge = { class: "pl-dropdown-multi__controls" }, Ce = { key: 0 }, Oe = { class: "pl-dropdown-multi__open-chips-container" }, Ve = {
18
+ }, be = { class: "pl-dropdown-multi__controls" }, ge = { key: 0 }, Ce = { class: "pl-dropdown-multi__open-chips-container" }, Oe = {
20
19
  key: 0,
21
20
  class: "nothing-found"
22
- }, $e = {
21
+ }, Ve = {
23
22
  key: 0,
24
23
  class: "pl-dropdown-multi__error"
25
- }, Ae = {
24
+ }, $e = {
26
25
  key: 1,
27
26
  class: "pl-dropdown-multi__helper"
28
- }, Ee = {
27
+ }, Ae = {
29
28
  name: "PlDropdownMulti"
30
- }, Ue = /* @__PURE__ */ X({
31
- ...Ee,
29
+ }, xe = /* @__PURE__ */ X({
30
+ ...Ae,
32
31
  props: {
33
32
  modelValue: { default: () => [] },
34
33
  label: { default: void 0 },
@@ -40,31 +39,28 @@ const _e = ["tabindex"], we = { class: "pl-dropdown-multi__container" }, ye = {
40
39
  disabled: { type: Boolean, default: !1 }
41
40
  },
42
41
  emits: ["update:modelValue"],
43
- setup(z, { emit: S }) {
44
- const P = S, V = (e) => P("update:modelValue", e), U = Y(), s = z, c = N(), $ = N(), h = Z("overlay"), t = ee({
42
+ setup(S, { emit: x }) {
43
+ const P = x, V = (e) => P("update:modelValue", e), U = Y(), a = S, c = q(), $ = q(), h = Z("overlay"), t = ee({
45
44
  search: "",
46
45
  activeOption: -1,
47
46
  open: !1,
48
47
  optionsHeight: 0
49
- }), _ = p(() => Array.isArray(s.modelValue) ? s.modelValue : []), K = p(() => t.open && s.modelValue.length > 0 ? s.placeholder : s.modelValue.length > 0 ? "" : s.placeholder), A = p(() => pe(s.options ?? [])), E = p(() => _.value.map((e) => A.value.find((l) => k(l.value, e))).filter((e) => e !== void 0)), w = p(() => {
50
- const e = a(_), l = a(A);
48
+ }), _ = p(() => Array.isArray(a.modelValue) ? a.modelValue : []), K = p(() => t.open && a.modelValue.length > 0 ? a.placeholder : a.modelValue.length > 0 ? "" : a.placeholder), A = p(() => ce(a.options ?? [])), E = p(() => _.value.map((e) => A.value.find((l) => O(l.value, e))).filter((e) => e !== void 0)), y = p(() => {
49
+ const e = s(_), l = s(A);
51
50
  return (t.search ? l.filter((o) => {
52
51
  const n = t.search.toLowerCase();
53
52
  return o.label.toLowerCase().includes(n) ? !0 : typeof o.value == "string" ? o.value.toLowerCase().includes(n) : o.value === t.search;
54
53
  }) : [...l]).map((o) => ({
55
54
  ...o,
56
- selected: x(e, o.value)
55
+ selected: z(e, o.value)
57
56
  }));
58
- }), D = p(() => s.options === void 0), b = p(() => D.value ? !0 : s.disabled), H = p(() => b.value ? void 0 : "0"), j = () => {
59
- t.activeOption = ae(
60
- w.value.findIndex((e) => k(e.value, s.modelValue)),
61
- (e) => e < 0 ? 0 : e
62
- );
57
+ }), D = p(() => a.options === void 0), k = p(() => D.value ? !0 : a.disabled), H = p(() => k.value ? void 0 : "0"), j = () => {
58
+ t.activeOption = 0;
63
59
  }, M = (e) => {
64
60
  var o;
65
- const l = a(_);
66
- V(x(l, e) ? l.filter((n) => !k(n, e)) : [...l, e]), t.search = "", (o = c == null ? void 0 : c.value) == null || o.focus();
67
- }, R = (e) => V(a(_).filter((l) => !k(l, e))), G = () => {
61
+ const l = s(_);
62
+ V(z(l, e) ? l.filter((n) => !O(n, e)) : [...l, e]), t.search = "", (o = c == null ? void 0 : c.value) == null || o.focus();
63
+ }, R = (e) => V(s(_).filter((l) => !O(l, e))), G = () => {
68
64
  var e;
69
65
  return (e = $.value) == null ? void 0 : e.focus();
70
66
  }, J = () => {
@@ -81,18 +77,18 @@ const _e = ["tabindex"], we = { class: "pl-dropdown-multi__container" }, ye = {
81
77
  return;
82
78
  }
83
79
  e.code === "Escape" && (t.open = !1, (L = c.value) == null || L.focus());
84
- const n = a(w), { length: i } = n;
80
+ const n = s(y), { length: i } = n;
85
81
  if (!i)
86
82
  return;
87
83
  ["ArrowDown", "ArrowUp", "Enter"].includes(e.code) && e.preventDefault(), e.code === "Enter" && M(n[o].value);
88
84
  const W = e.code === "ArrowDown" ? 1 : e.code === "ArrowUp" ? -1 : 0;
89
85
  t.activeOption = Math.abs(o + W + i) % i, requestAnimationFrame(() => {
90
- var I;
91
- return (I = h.value) == null ? void 0 : I.scrollIntoActive();
86
+ var N;
87
+ return (N = h.value) == null ? void 0 : N.scrollIntoActive();
92
88
  });
93
89
  };
94
- return ue(c), oe(
95
- () => s.modelValue,
90
+ return de(c), oe(
91
+ () => a.modelValue,
96
92
  () => j(),
97
93
  { immediate: !0 }
98
94
  ), te(() => {
@@ -106,69 +102,69 @@ const _e = ["tabindex"], we = { class: "pl-dropdown-multi__container" }, ye = {
106
102
  ref_key: "rootRef",
107
103
  ref: c,
108
104
  tabindex: H.value,
109
- class: le(["pl-dropdown-multi", { open: t.open, error: e.error, disabled: b.value }]),
105
+ class: le(["pl-dropdown-multi", { open: t.open, error: e.error, disabled: k.value }]),
110
106
  onKeydown: Q,
111
107
  onFocusout: F
112
108
  }, [
113
- u("div", we, [
114
- u("div", ye, [
109
+ u("div", _e, [
110
+ u("div", we, [
115
111
  re(u("input", {
116
112
  ref_key: "input",
117
113
  ref: $,
118
114
  "onUpdate:modelValue": l[0] || (l[0] = (o) => t.search = o),
119
115
  type: "text",
120
116
  tabindex: "-1",
121
- disabled: b.value,
117
+ disabled: k.value,
122
118
  placeholder: K.value,
123
119
  spellcheck: "false",
124
120
  autocomplete: "chrome-off",
125
121
  onFocus: l[1] || (l[1] = (o) => t.open = !0)
126
- }, null, 40, ke), [
122
+ }, null, 40, ye), [
127
123
  [se, t.search]
128
124
  ]),
129
- t.open ? f("", !0) : (r(), d("div", be, [
130
- (r(!0), d(g, null, C(E.value, (o, n) => (r(), m(a(T), {
125
+ t.open ? f("", !0) : (r(), d("div", ke, [
126
+ (r(!0), d(b, null, g(E.value, (o, n) => (r(), m(s(T), {
131
127
  key: n,
132
128
  closeable: "",
133
129
  small: "",
134
- onClick: l[2] || (l[2] = O((i) => t.open = !0, ["stop"])),
130
+ onClick: l[2] || (l[2] = C((i) => t.open = !0, ["stop"])),
135
131
  onClose: (i) => R(o.value)
136
132
  }, {
137
- default: y(() => [
138
- q(v(o.label || o.value), 1)
133
+ default: w(() => [
134
+ B(v(o.label || o.value), 1)
139
135
  ]),
140
136
  _: 2
141
137
  }, 1032, ["onClose"]))), 128))
142
138
  ])),
143
- u("div", ge, [
144
- D.value ? (r(), m(a(me), {
139
+ u("div", be, [
140
+ D.value ? (r(), m(s(fe), {
145
141
  key: 0,
146
142
  name: "loading"
147
143
  })) : f("", !0),
148
- B(e.$slots, "append"),
144
+ I(e.$slots, "append"),
149
145
  u("div", {
150
146
  class: "pl-dropdown-multi__arrow-wrapper",
151
- onClick: O(J, ["stop"])
147
+ onClick: C(J, ["stop"])
152
148
  }, l[3] || (l[3] = [
153
149
  u("div", { class: "arrow-icon arrow-icon-default" }, null, -1)
154
150
  ]))
155
151
  ])
156
152
  ]),
157
- e.label ? (r(), d("label", Ce, [
158
- e.required ? (r(), m(ve, { key: 0 })) : f("", !0),
153
+ e.label ? (r(), d("label", ge, [
154
+ e.required ? (r(), m(me, { key: 0 })) : f("", !0),
159
155
  u("span", null, v(e.label), 1),
160
- a(U).tooltip ? (r(), m(a(ie), {
156
+ s(U).tooltip ? (r(), m(s(ae), {
161
157
  key: 1,
162
158
  class: "info",
163
159
  position: "top"
164
160
  }, {
165
- tooltip: y(() => [
166
- B(e.$slots, "tooltip")
161
+ tooltip: w(() => [
162
+ I(e.$slots, "tooltip")
167
163
  ]),
168
164
  _: 3
169
165
  })) : f("", !0)
170
166
  ])) : f("", !0),
171
- t.open ? (r(), m(fe, {
167
+ t.open ? (r(), m(pe, {
172
168
  key: 1,
173
169
  ref_key: "overlay",
174
170
  ref: h,
@@ -178,21 +174,21 @@ const _e = ["tabindex"], we = { class: "pl-dropdown-multi__container" }, ye = {
178
174
  tabindex: "-1",
179
175
  onFocusout: F
180
176
  }, {
181
- default: y(() => [
182
- u("div", Oe, [
183
- (r(!0), d(g, null, C(E.value, (o, n) => (r(), m(a(T), {
177
+ default: w(() => [
178
+ u("div", Ce, [
179
+ (r(!0), d(b, null, g(E.value, (o, n) => (r(), m(s(T), {
184
180
  key: n,
185
181
  closeable: "",
186
182
  small: "",
187
183
  onClose: (i) => R(o.value)
188
184
  }, {
189
- default: y(() => [
190
- q(v(o.label || o.value), 1)
185
+ default: w(() => [
186
+ B(v(o.label || o.value), 1)
191
187
  ]),
192
188
  _: 2
193
189
  }, 1032, ["onClose"]))), 128))
194
190
  ]),
195
- (r(!0), d(g, null, C(w.value, (o, n) => (r(), m(ce, {
191
+ (r(!0), d(b, null, g(y.value, (o, n) => (r(), m(ue, {
196
192
  key: n,
197
193
  option: o,
198
194
  "text-item": "text",
@@ -200,20 +196,20 @@ const _e = ["tabindex"], we = { class: "pl-dropdown-multi__container" }, ye = {
200
196
  "is-hovered": t.activeOption == n,
201
197
  size: "medium",
202
198
  "use-checkbox": "",
203
- onClick: O((i) => M(o.value), ["stop"])
199
+ onClick: C((i) => M(o.value), ["stop"])
204
200
  }, null, 8, ["option", "is-selected", "is-hovered", "onClick"]))), 128)),
205
- w.value.length ? f("", !0) : (r(), d("div", Ve, "Nothing found"))
201
+ y.value.length ? f("", !0) : (r(), d("div", Oe, "Nothing found"))
206
202
  ]),
207
203
  _: 1
208
204
  }, 8, ["root"])) : f("", !0),
209
- ne(de, { class: "pl-dropdown-multi__contour" })
205
+ ne(ie, { class: "pl-dropdown-multi__contour" })
210
206
  ])
211
- ], 42, _e),
212
- e.error ? (r(), d("div", $e, v(a(he)(e.error)), 1)) : e.helper ? (r(), d("div", Ae, v(e.helper), 1)) : f("", !0)
207
+ ], 42, he),
208
+ e.error ? (r(), d("div", Ve, v(s(ve)(e.error)), 1)) : e.helper ? (r(), d("div", $e, v(e.helper), 1)) : f("", !0)
213
209
  ]));
214
210
  }
215
211
  });
216
212
  export {
217
- Ue as default
213
+ xe as default
218
214
  };
219
215
  //# sourceMappingURL=PlDropdownMulti.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlDropdownMulti.vue.js","sources":["../../../src/components/PlDropdownMulti/PlDropdownMulti.vue"],"sourcesContent":["<script lang=\"ts\">\n/**\n * A component for selecting multiple values from a list of options\n */\nexport default {\n name: 'PlDropdownMulti',\n};\n</script>\n\n<script lang=\"ts\" setup generic=\"M = unknown\">\nimport './pl-dropdown-multi.scss';\nimport { computed, reactive, ref, unref, useSlots, useTemplateRef, watch, watchPostEffect } from 'vue';\nimport { tap } from '../../helpers/functions';\nimport { PlTooltip } from '../PlTooltip';\nimport { PlChip } from '../PlChip';\nimport DoubleContour from '../../utils/DoubleContour.vue';\nimport { useLabelNotch } from '../../utils/useLabelNotch';\nimport type { ListOption } from '../../types';\nimport DropdownListItem from '../DropdownListItem.vue';\nimport { deepEqual, deepIncludes } from '../../helpers/objects';\nimport { normalizeListOptions } from '../../helpers/utils';\nimport DropdownOverlay from '../../utils/DropdownOverlay/DropdownOverlay.vue';\nimport { PlMaskIcon24 } from '../PlMaskIcon24';\nimport SvgRequired from '../../generated/components/svg/images/SvgRequired.vue';\nimport { getErrorMessage } from '../../helpers/error.ts';\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', v: M[]): void;\n}>();\n\nconst emitModel = (v: M[]) => emit('update:modelValue', v);\n\nconst slots = useSlots();\n\nconst props = withDefaults(\n defineProps<{\n /**\n * The current selected values.\n */\n modelValue: M[];\n /**\n * The label text for the dropdown field (optional)\n */\n label?: string;\n /**\n * List of available options for the dropdown\n */\n options?: Readonly<ListOption<M>[]>;\n /**\n * A helper text displayed below the dropdown when there are no errors (optional).\n */\n helper?: string;\n /**\n * Error message displayed below the dropdown (optional)\n */\n error?: unknown;\n /**\n * Placeholder text shown when no value is selected.\n */\n placeholder?: string;\n /**\n * If `true`, the dropdown component is marked as required.\n */\n required?: boolean;\n /**\n * If `true`, the dropdown component is disabled and cannot be interacted with.\n */\n disabled?: boolean;\n }>(),\n {\n modelValue: () => [],\n label: undefined,\n helper: undefined,\n error: undefined,\n placeholder: '...',\n required: false,\n disabled: false,\n options: undefined,\n },\n);\n\nconst rootRef = ref<HTMLElement | undefined>();\nconst input = ref<HTMLInputElement | undefined>();\n\nconst overlay = useTemplateRef('overlay');\n\nconst data = reactive({\n search: '',\n activeOption: -1,\n open: false,\n optionsHeight: 0,\n});\n\nconst selectedValuesRef = computed(() => (Array.isArray(props.modelValue) ? props.modelValue : []));\n\nconst placeholderRef = computed(() => {\n if (data.open && props.modelValue.length > 0) {\n return props.placeholder;\n }\n\n return props.modelValue.length > 0 ? '' : props.placeholder;\n});\n\nconst normalizedOptionsRef = computed(() => normalizeListOptions(props.options ?? []));\n\nconst selectedOptionsRef = computed(() => {\n return selectedValuesRef.value.map((v) => normalizedOptionsRef.value.find((opt) => deepEqual(opt.value, v))).filter((v) => v !== undefined);\n});\n\nconst filteredOptionsRef = computed(() => {\n const selectedValues = unref(selectedValuesRef);\n\n const options = unref(normalizedOptionsRef);\n\n return (\n data.search\n ? options.filter((opt) => {\n const search = data.search.toLowerCase();\n\n if (opt.label.toLowerCase().includes(search)) {\n return true;\n }\n\n if (typeof opt.value === 'string') {\n return opt.value.toLowerCase().includes(search);\n }\n\n return opt.value === data.search;\n })\n : [...options]\n ).map((opt) => ({\n ...opt,\n selected: deepIncludes(selectedValues, opt.value),\n }));\n});\n\nconst isLoadingOptions = computed(() => {\n return props.options === undefined;\n});\n\nconst isDisabled = computed(() => {\n if (isLoadingOptions.value) {\n return true;\n }\n\n return props.disabled;\n});\n\nconst tabindex = computed(() => (isDisabled.value ? undefined : '0'));\n\nconst updateActiveOption = () => {\n data.activeOption = tap(\n filteredOptionsRef.value.findIndex((o) => deepEqual(o.value, props.modelValue)),\n (v) => (v < 0 ? 0 : v),\n );\n};\n\nconst selectOption = (v: M) => {\n const values = unref(selectedValuesRef);\n emitModel(deepIncludes(values, v) ? values.filter((it) => !deepEqual(it, v)) : [...values, v]);\n data.search = '';\n rootRef?.value?.focus();\n};\n\nconst unselectOption = (d: M) => emitModel(unref(selectedValuesRef).filter((v) => !deepEqual(v, d)));\n\nconst setFocusOnInput = () => input.value?.focus();\n\nconst toggleModel = () => {\n data.open = !data.open;\n if (!data.open) {\n data.search = '';\n }\n};\n\nconst onFocusOut = (event: FocusEvent) => {\n const relatedTarget = event.relatedTarget as Node | null;\n\n if (!rootRef.value?.contains(relatedTarget) && !overlay.value?.listRef?.contains(relatedTarget)) {\n data.search = '';\n data.open = false;\n }\n};\n\nconst handleKeydown = (e: { code: string; preventDefault(): void }) => {\n const { open, activeOption } = data;\n\n if (!open) {\n if (e.code === 'Enter') {\n data.open = true;\n }\n return;\n }\n\n if (e.code === 'Escape') {\n data.open = false;\n rootRef.value?.focus();\n }\n\n const filteredOptions = unref(filteredOptionsRef);\n\n const { length } = filteredOptions;\n\n if (!length) {\n return;\n }\n\n if (['ArrowDown', 'ArrowUp', 'Enter'].includes(e.code)) {\n e.preventDefault();\n }\n\n if (e.code === 'Enter') {\n selectOption(filteredOptions[activeOption].value);\n }\n\n const d = e.code === 'ArrowDown' ? 1 : e.code === 'ArrowUp' ? -1 : 0;\n\n data.activeOption = Math.abs(activeOption + d + length) % length;\n\n requestAnimationFrame(() => overlay.value?.scrollIntoActive());\n};\n\nuseLabelNotch(rootRef);\n\nwatch(\n () => props.modelValue,\n () => updateActiveOption(),\n { immediate: true },\n);\n\nwatchPostEffect(() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n data.search;\n\n if (data.open) {\n overlay.value?.scrollIntoActive();\n }\n});\n</script>\n\n<template>\n <div class=\"pl-dropdown-multi__envelope\" @click=\"setFocusOnInput\">\n <div\n ref=\"rootRef\"\n :tabindex=\"tabindex\"\n class=\"pl-dropdown-multi\"\n :class=\"{ open: data.open, error, disabled: isDisabled }\"\n @keydown=\"handleKeydown\"\n @focusout=\"onFocusOut\"\n >\n <div class=\"pl-dropdown-multi__container\">\n <div class=\"pl-dropdown-multi__field\">\n <input\n ref=\"input\"\n v-model=\"data.search\"\n type=\"text\"\n tabindex=\"-1\"\n :disabled=\"isDisabled\"\n :placeholder=\"placeholderRef\"\n spellcheck=\"false\"\n autocomplete=\"chrome-off\"\n @focus=\"data.open = true\"\n />\n <div v-if=\"!data.open\" class=\"chips-container\">\n <PlChip v-for=\"(opt, i) in selectedOptionsRef\" :key=\"i\" closeable small @click.stop=\"data.open = true\" @close=\"unselectOption(opt.value)\">\n {{ opt.label || opt.value }}\n </PlChip>\n </div>\n\n <div class=\"pl-dropdown-multi__controls\">\n <PlMaskIcon24 v-if=\"isLoadingOptions\" name=\"loading\" />\n <slot name=\"append\" />\n <div class=\"pl-dropdown-multi__arrow-wrapper\" @click.stop=\"toggleModel\">\n <div class=\"arrow-icon arrow-icon-default\" />\n </div>\n </div>\n </div>\n <label v-if=\"label\">\n <SvgRequired v-if=\"required\" />\n <span>{{ label }}</span>\n <PlTooltip v-if=\"slots.tooltip\" class=\"info\" position=\"top\">\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n </PlTooltip>\n </label>\n <DropdownOverlay\n v-if=\"data.open\"\n ref=\"overlay\"\n :root=\"rootRef\"\n class=\"pl-dropdown-multi__options\"\n :gap=\"5\"\n tabindex=\"-1\"\n @focusout=\"onFocusOut\"\n >\n <div class=\"pl-dropdown-multi__open-chips-container\">\n <PlChip v-for=\"(opt, i) in selectedOptionsRef\" :key=\"i\" closeable small @close=\"unselectOption(opt.value)\">\n {{ opt.label || opt.value }}\n </PlChip>\n </div>\n <DropdownListItem\n v-for=\"(item, index) in filteredOptionsRef\"\n :key=\"index\"\n :option=\"item\"\n :text-item=\"'text'\"\n :is-selected=\"item.selected\"\n :is-hovered=\"data.activeOption == index\"\n size=\"medium\"\n use-checkbox\n @click.stop=\"selectOption(item.value)\"\n />\n <div v-if=\"!filteredOptionsRef.length\" class=\"nothing-found\">Nothing found</div>\n </DropdownOverlay>\n <DoubleContour class=\"pl-dropdown-multi__contour\" />\n </div>\n </div>\n <div v-if=\"error\" class=\"pl-dropdown-multi__error\">{{ getErrorMessage(error) }}</div>\n <div v-else-if=\"helper\" class=\"pl-dropdown-multi__helper\">{{ helper }}</div>\n </div>\n</template>\n"],"names":["__default__","emit","__emit","emitModel","v","slots","useSlots","props","__props","rootRef","ref","input","overlay","useTemplateRef","data","reactive","selectedValuesRef","computed","placeholderRef","normalizedOptionsRef","normalizeListOptions","selectedOptionsRef","opt","deepEqual","filteredOptionsRef","selectedValues","unref","options","search","deepIncludes","isLoadingOptions","isDisabled","tabindex","updateActiveOption","tap","o","selectOption","values","it","_a","unselectOption","d","setFocusOnInput","toggleModel","onFocusOut","event","relatedTarget","_c","_b","handleKeydown","open","activeOption","filteredOptions","length","useLabelNotch","watch","watchPostEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;GAIeA,KAAA;AAAA,EACb,MAAM;AACR;;;;;;;;;;;;;;AAoBA,UAAMC,IAAOC,GAIPC,IAAY,CAACC,MAAWH,EAAK,qBAAqBG,CAAC,GAEnDC,IAAQC,EAAS,GAEjBC,IAAQC,GA+CRC,IAAUC,EAA6B,GACvCC,IAAQD,EAAk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,EAAK,OAAO;AAEd;AAAA,MAAA;AAGE,MAAA,EAAE,SAAS,aACbA,EAAK,OAAO,KACZyB,IAAA9B,EAAQ,UAAR,QAAA8B,EAAe;AAGX,YAAAa,IAAkB1B,EAAMF,CAAkB,GAE1C,EAAE,QAAA6B,MAAWD;AAEnB,UAAI,CAACC;AACH;AAGE,MAAA,CAAC,aAAa,WAAW,OAAO,EAAE,SAAS,EAAE,IAAI,KACnD,EAAE,eAAe,GAGf,EAAE,SAAS,WACAjB,EAAAgB,EAAgBD,CAAY,EAAE,KAAK;AAG5C,YAAAV,IAAI,EAAE,SAAS,cAAc,IAAI,EAAE,SAAS,YAAY,KAAK;AAEnE,MAAA3B,EAAK,eAAe,KAAK,IAAIqC,IAAeV,IAAIY,CAAM,IAAIA,GAE1D,sBAAsB,MAAM;;AAAA,gBAAAd,IAAA3B,EAAQ,UAAR,gBAAA2B,EAAe;AAAA,OAAkB;AAAA,IAC/D;AAEA,WAAAe,GAAc7C,CAAO,GAErB8C;AAAA,MACE,MAAMhD,EAAM;AAAA,MACZ,MAAM0B,EAAmB;AAAA,MACzB,EAAE,WAAW,GAAK;AAAA,IACpB,GAEAuB,GAAgB,MAAM;;AAEf,MAAA1C,EAAA,QAEDA,EAAK,UACPyB,IAAA3B,EAAQ,UAAR,QAAA2B,EAAe;AAAA,IACjB,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"PlDropdownMulti.vue.js","sources":["../../../src/components/PlDropdownMulti/PlDropdownMulti.vue"],"sourcesContent":["<script lang=\"ts\">\n/**\n * A component for selecting multiple values from a list of options\n */\nexport default {\n name: 'PlDropdownMulti',\n};\n</script>\n\n<script lang=\"ts\" setup generic=\"M = unknown\">\nimport './pl-dropdown-multi.scss';\nimport { computed, reactive, ref, unref, useSlots, useTemplateRef, watch, watchPostEffect } from 'vue';\nimport { PlTooltip } from '../PlTooltip';\nimport { PlChip } from '../PlChip';\nimport DoubleContour from '../../utils/DoubleContour.vue';\nimport { useLabelNotch } from '../../utils/useLabelNotch';\nimport type { ListOption } from '../../types';\nimport DropdownListItem from '../DropdownListItem.vue';\nimport { deepEqual, deepIncludes } from '../../helpers/objects';\nimport { normalizeListOptions } from '../../helpers/utils';\nimport DropdownOverlay from '../../utils/DropdownOverlay/DropdownOverlay.vue';\nimport { PlMaskIcon24 } from '../PlMaskIcon24';\nimport SvgRequired from '../../generated/components/svg/images/SvgRequired.vue';\nimport { getErrorMessage } from '../../helpers/error.ts';\n\nconst emit = defineEmits<{\n (e: 'update:modelValue', v: M[]): void;\n}>();\n\nconst emitModel = (v: M[]) => emit('update:modelValue', v);\n\nconst slots = useSlots();\n\nconst props = withDefaults(\n defineProps<{\n /**\n * The current selected values.\n */\n modelValue: M[];\n /**\n * The label text for the dropdown field (optional)\n */\n label?: string;\n /**\n * List of available options for the dropdown\n */\n options?: Readonly<ListOption<M>[]>;\n /**\n * A helper text displayed below the dropdown when there are no errors (optional).\n */\n helper?: string;\n /**\n * Error message displayed below the dropdown (optional)\n */\n error?: unknown;\n /**\n * Placeholder text shown when no value is selected.\n */\n placeholder?: string;\n /**\n * If `true`, the dropdown component is marked as required.\n */\n required?: boolean;\n /**\n * If `true`, the dropdown component is disabled and cannot be interacted with.\n */\n disabled?: boolean;\n }>(),\n {\n modelValue: () => [],\n label: undefined,\n helper: undefined,\n error: undefined,\n placeholder: '...',\n required: false,\n disabled: false,\n options: undefined,\n },\n);\n\nconst rootRef = ref<HTMLElement | undefined>();\nconst input = ref<HTMLInputElement | undefined>();\n\nconst overlay = useTemplateRef('overlay');\n\nconst data = reactive({\n search: '',\n activeOption: -1,\n open: false,\n optionsHeight: 0,\n});\n\nconst selectedValuesRef = computed(() => (Array.isArray(props.modelValue) ? props.modelValue : []));\n\nconst placeholderRef = computed(() => {\n if (data.open && props.modelValue.length > 0) {\n return props.placeholder;\n }\n\n return props.modelValue.length > 0 ? '' : props.placeholder;\n});\n\nconst normalizedOptionsRef = computed(() => normalizeListOptions(props.options ?? []));\n\nconst selectedOptionsRef = computed(() => {\n return selectedValuesRef.value.map((v) => normalizedOptionsRef.value.find((opt) => deepEqual(opt.value, v))).filter((v) => v !== undefined);\n});\n\nconst filteredOptionsRef = computed(() => {\n const selectedValues = unref(selectedValuesRef);\n\n const options = unref(normalizedOptionsRef);\n\n return (\n data.search\n ? options.filter((opt) => {\n const search = data.search.toLowerCase();\n\n if (opt.label.toLowerCase().includes(search)) {\n return true;\n }\n\n if (typeof opt.value === 'string') {\n return opt.value.toLowerCase().includes(search);\n }\n\n return opt.value === data.search;\n })\n : [...options]\n ).map((opt) => ({\n ...opt,\n selected: deepIncludes(selectedValues, opt.value),\n }));\n});\n\nconst isLoadingOptions = computed(() => {\n return props.options === undefined;\n});\n\nconst isDisabled = computed(() => {\n if (isLoadingOptions.value) {\n return true;\n }\n\n return props.disabled;\n});\n\nconst tabindex = computed(() => (isDisabled.value ? undefined : '0'));\n\nconst updateActiveOption = () => {\n data.activeOption = 0;\n};\n\nconst selectOption = (v: M) => {\n const values = unref(selectedValuesRef);\n emitModel(deepIncludes(values, v) ? values.filter((it) => !deepEqual(it, v)) : [...values, v]);\n data.search = '';\n rootRef?.value?.focus();\n};\n\nconst unselectOption = (d: M) => emitModel(unref(selectedValuesRef).filter((v) => !deepEqual(v, d)));\n\nconst setFocusOnInput = () => input.value?.focus();\n\nconst toggleModel = () => {\n data.open = !data.open;\n if (!data.open) {\n data.search = '';\n }\n};\n\nconst onFocusOut = (event: FocusEvent) => {\n const relatedTarget = event.relatedTarget as Node | null;\n\n if (!rootRef.value?.contains(relatedTarget) && !overlay.value?.listRef?.contains(relatedTarget)) {\n data.search = '';\n data.open = false;\n }\n};\n\nconst handleKeydown = (e: { code: string; preventDefault(): void }) => {\n const { open, activeOption } = data;\n\n if (!open) {\n if (e.code === 'Enter') {\n data.open = true;\n }\n return;\n }\n\n if (e.code === 'Escape') {\n data.open = false;\n rootRef.value?.focus();\n }\n\n const filteredOptions = unref(filteredOptionsRef);\n\n const { length } = filteredOptions;\n\n if (!length) {\n return;\n }\n\n if (['ArrowDown', 'ArrowUp', 'Enter'].includes(e.code)) {\n e.preventDefault();\n }\n\n if (e.code === 'Enter') {\n selectOption(filteredOptions[activeOption].value);\n }\n\n const d = e.code === 'ArrowDown' ? 1 : e.code === 'ArrowUp' ? -1 : 0;\n\n data.activeOption = Math.abs(activeOption + d + length) % length;\n\n requestAnimationFrame(() => overlay.value?.scrollIntoActive());\n};\n\nuseLabelNotch(rootRef);\n\nwatch(\n () => props.modelValue,\n () => updateActiveOption(),\n { immediate: true },\n);\n\nwatchPostEffect(() => {\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n data.search;\n\n if (data.open) {\n overlay.value?.scrollIntoActive();\n }\n});\n</script>\n\n<template>\n <div class=\"pl-dropdown-multi__envelope\" @click=\"setFocusOnInput\">\n <div\n ref=\"rootRef\"\n :tabindex=\"tabindex\"\n class=\"pl-dropdown-multi\"\n :class=\"{ open: data.open, error, disabled: isDisabled }\"\n @keydown=\"handleKeydown\"\n @focusout=\"onFocusOut\"\n >\n <div class=\"pl-dropdown-multi__container\">\n <div class=\"pl-dropdown-multi__field\">\n <input\n ref=\"input\"\n v-model=\"data.search\"\n type=\"text\"\n tabindex=\"-1\"\n :disabled=\"isDisabled\"\n :placeholder=\"placeholderRef\"\n spellcheck=\"false\"\n autocomplete=\"chrome-off\"\n @focus=\"data.open = true\"\n />\n <div v-if=\"!data.open\" class=\"chips-container\">\n <PlChip v-for=\"(opt, i) in selectedOptionsRef\" :key=\"i\" closeable small @click.stop=\"data.open = true\" @close=\"unselectOption(opt.value)\">\n {{ opt.label || opt.value }}\n </PlChip>\n </div>\n\n <div class=\"pl-dropdown-multi__controls\">\n <PlMaskIcon24 v-if=\"isLoadingOptions\" name=\"loading\" />\n <slot name=\"append\" />\n <div class=\"pl-dropdown-multi__arrow-wrapper\" @click.stop=\"toggleModel\">\n <div class=\"arrow-icon arrow-icon-default\" />\n </div>\n </div>\n </div>\n <label v-if=\"label\">\n <SvgRequired v-if=\"required\" />\n <span>{{ label }}</span>\n <PlTooltip v-if=\"slots.tooltip\" class=\"info\" position=\"top\">\n <template #tooltip>\n <slot name=\"tooltip\" />\n </template>\n </PlTooltip>\n </label>\n <DropdownOverlay\n v-if=\"data.open\"\n ref=\"overlay\"\n :root=\"rootRef\"\n class=\"pl-dropdown-multi__options\"\n :gap=\"5\"\n tabindex=\"-1\"\n @focusout=\"onFocusOut\"\n >\n <div class=\"pl-dropdown-multi__open-chips-container\">\n <PlChip v-for=\"(opt, i) in selectedOptionsRef\" :key=\"i\" closeable small @close=\"unselectOption(opt.value)\">\n {{ opt.label || opt.value }}\n </PlChip>\n </div>\n <DropdownListItem\n v-for=\"(item, index) in filteredOptionsRef\"\n :key=\"index\"\n :option=\"item\"\n :text-item=\"'text'\"\n :is-selected=\"item.selected\"\n :is-hovered=\"data.activeOption == index\"\n size=\"medium\"\n use-checkbox\n @click.stop=\"selectOption(item.value)\"\n />\n <div v-if=\"!filteredOptionsRef.length\" class=\"nothing-found\">Nothing found</div>\n </DropdownOverlay>\n <DoubleContour class=\"pl-dropdown-multi__contour\" />\n </div>\n </div>\n <div v-if=\"error\" class=\"pl-dropdown-multi__error\">{{ getErrorMessage(error) }}</div>\n <div v-else-if=\"helper\" class=\"pl-dropdown-multi__helper\">{{ helper }}</div>\n </div>\n</template>\n"],"names":["__default__","emit","__emit","emitModel","v","slots","useSlots","props","__props","rootRef","ref","input","overlay","useTemplateRef","data","reactive","selectedValuesRef","computed","placeholderRef","normalizedOptionsRef","normalizeListOptions","selectedOptionsRef","opt","deepEqual","filteredOptionsRef","selectedValues","unref","options","search","deepIncludes","isLoadingOptions","isDisabled","tabindex","updateActiveOption","selectOption","values","it","_a","unselectOption","d","setFocusOnInput","toggleModel","onFocusOut","event","relatedTarget","_c","_b","hand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<T, S> = T & {
73
73
  $slots: S;
74
74
  };
75
75
  };
76
- //# sourceMappingURL=PlDropdownMultiRef.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlDropdownMultiRef.vue.js","sources":["../../../src/components/PlDropdownMultiRef/PlDropdownMultiRef.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { ModelRef, RefOption } from '../../types';\nimport PlDropdownMulti from '../PlDropdownMulti/PlDropdownMulti.vue';\nimport { computed, useSlots } from 'vue';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst slots: any = useSlots();\n\ndefineEmits<{\n /**\n * Emitted when the model value is updated.\n */\n (e: 'update:modelValue', value: ModelRef[] | undefined): void;\n}>();\n\nconst props = withDefaults(\n defineProps<{\n /**\n * The current selected values.\n */\n modelValue: ModelRef[] | undefined;\n /**\n * The label text for the dropdown field (optional)\n */\n label?: string;\n /**\n * List of available options for the dropdown\n */\n options?: Readonly<RefOption[]>;\n /**\n * A helper text displayed below the dropdown when there are no errors (optional).\n */\n helper?: string;\n /**\n * Error message displayed below the dropdown (optional)\n */\n error?: unknown;\n /**\n * Placeholder text shown when no value is selected.\n */\n placeholder?: string;\n /**\n * If `true`, the dropdown component is marked as required.\n */\n required?: boolean;\n /**\n * If `true`, the dropdown component is disabled and cannot be interacted with.\n */\n disabled?: boolean;\n }>(),\n {\n modelValue: () => [],\n label: undefined,\n helper: undefined,\n error: undefined,\n placeholder: '...',\n required: false,\n disabled: false,\n options: undefined,\n },\n);\n\nconst options = computed(() =>\n props.options?.map((opt) => ({\n label: opt.label,\n value: opt.ref,\n })),\n);\n</script>\n\n<template>\n <PlDropdownMulti\n v-bind=\"props\"\n :options=\"options\"\n @update:model-value=\"$emit('update:modelValue', $event)\"\n >\n <template v-if=\"slots.tooltip\" #tooltip>\n <slot name=\"tooltip\" />\n </template>\n </PlDropdownMulti>\n</template>\n"],"names":["slots","useSlots","props","__props","options","computed","_a","opt"],"mappings":";;;;;;;;;;;;;;;;AAMA,UAAMA,IAAaC,EAAS,GAStBC,IAAQC,GA+CRC,IAAUC;AAAA,MAAS,MAAA;;AACvB,gBAAAC,IAAAJ,EAAM,YAAN,gBAAAI,EAAe,IAAI,CAACC,OAAS;AAAA,UAC3B,OAAOA,EAAI;AAAA,UACX,OAAOA,EAAI;AAAA,QAAA;AAAA;AAAA,IAEf;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"PlDropdownMultiRef.vue.js","sources":["../../../src/components/PlDropdownMultiRef/PlDropdownMultiRef.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport type { ModelRef, RefOption } from '../../types';\nimport PlDropdownMulti from '../PlDropdownMulti/PlDropdownMulti.vue';\nimport { computed, useSlots } from 'vue';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst slots: any = useSlots();\n\ndefineEmits<{\n /**\n * Emitted when the model value is updated.\n */\n (e: 'update:modelValue', value: ModelRef[] | undefined): void;\n}>();\n\nconst props = withDefaults(\n defineProps<{\n /**\n * The current selected values.\n */\n modelValue: ModelRef[] | undefined;\n /**\n * The label text for the dropdown field (optional)\n */\n label?: string;\n /**\n * List of available options for the dropdown\n */\n options?: Readonly<RefOption[]>;\n /**\n * A helper text displayed below the dropdown when there are no errors (optional).\n */\n helper?: string;\n /**\n * Error message displayed below the dropdown (optional)\n */\n error?: unknown;\n /**\n * Placeholder text shown when no value is selected.\n */\n placeholder?: string;\n /**\n * If `true`, the dropdown component is marked as required.\n */\n required?: boolean;\n /**\n * If `true`, the dropdown component is disabled and cannot be interacted with.\n */\n disabled?: boolean;\n }>(),\n {\n modelValue: () => [],\n label: undefined,\n helper: undefined,\n error: undefined,\n placeholder: '...',\n required: false,\n disabled: false,\n options: undefined,\n },\n);\n\nconst options = computed(() =>\n props.options?.map((opt) => ({\n label: opt.label,\n value: opt.ref,\n })),\n);\n</script>\n\n<template>\n <PlDropdownMulti\n v-bind=\"props\"\n :options=\"options\"\n @update:model-value=\"$emit('update:modelValue', $event)\"\n >\n <template v-if=\"slots.tooltip\" #tooltip>\n <slot name=\"tooltip\" />\n </template>\n </PlDropdownMulti>\n</template>\n"],"names":["slots","useSlots","props","__props","options","computed","_a","opt"],"mappings":";;;;;;;;;;;;;;;;AAMA,UAAMA,IAAaC,EAAA,GASbC,IAAQC,GA+CRC,IAAUC;AAAA,MAAS,MAAA;;AACvB,gBAAAC,IAAAJ,EAAM,YAAN,gBAAAI,EAAe,IAAI,CAACC,OAAS;AAAA,UAC3B,OAAOA,EAAI;AAAA,UACX,OAAOA,EAAI;AAAA,QAAA;AAAA;AAAA,IACX;;;;;;;;;;;;;;;"}
@@ -1,2 +1 @@
1
1
  export { default as PlDropdownMultiRef } from './PlDropdownMultiRef.vue';
2
- //# sourceMappingURL=index.d.ts.map
@@ -71,4 +71,3 @@ export default _default;
71
71
  type __VLS_PrettifyLocal<T> = {
72
72
  [K in keyof T]: T[K];
73
73
  } & {};
74
- //# sourceMappingURL=PlDropdownRef.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlDropdownRef.vue.js","sources":["../../../src/components/PlDropdownRef/PlDropdownRef.vue"],"sourcesContent":["<script lang=\"ts\">\n/**\n * A component for selecting one value from a list of options\n */\nexport default {\n name: 'PlDropdownRef',\n};\n</script>\n\n<script lang=\"ts\" setup generic=\"M = ModelRef\">\nimport { computed, useSlots } from 'vue';\nimport type { ListOption, ModelRef, RefOption } from '../../types';\nimport { PlDropdown } from '../PlDropdown';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst slots: any = useSlots();\n\ndefineEmits<{\n /**\n * Emitted when the model value is updated.\n */\n (e: 'update:modelValue', value: M | undefined): void;\n}>();\n\nconst props = withDefaults(\n defineProps<{\n /**\n * The current selected ref of the dropdown.\n */\n modelValue: M | undefined;\n /**\n * The label text for the dropdown field (optional)\n */\n label?: string;\n /**\n * List of available ref options for the dropdown\n */\n options?: Readonly<RefOption[] | ListOption<M>[]>;\n /**\n * A helper text displayed below the dropdown when there are no errors (optional).\n */\n helper?: string;\n /**\n * A helper text displayed below the dropdown when there are no options yet or options is undefined (optional).\n */\n loadingOptionsHelper?: string;\n /**\n * Error message displayed below the dropdown (optional)\n */\n error?: unknown;\n /**\n * Placeholder text shown when no value is selected.\n */\n placeholder?: string;\n /**\n * Enables a button to clear the selected value (default: false)\n */\n clearable?: boolean;\n /**\n * If `true`, the dropdown component is marked as required.\n */\n required?: boolean;\n /**\n * If `true`, the dropdown component is disabled and cannot be interacted with.\n */\n disabled?: boolean;\n /**\n * Option list item size\n */\n optionSize?: 'small' | 'medium';\n }>(),\n {\n label: '',\n helper: undefined,\n loadingOptionsHelper: undefined,\n error: undefined,\n placeholder: '...',\n clearable: false,\n required: false,\n disabled: false,\n arrowIcon: undefined,\n optionSize: 'small',\n options: undefined,\n },\n);\n\nconst options = computed(() =>\n props.options?.map((opt) =>\n 'ref' in opt\n ? {\n label: opt.label,\n value: opt.ref,\n group: opt.group,\n } as ListOption<M>\n : opt,\n ),\n);\n</script>\n\n<template>\n <PlDropdown\n v-bind=\"props\"\n :options=\"options\"\n :loading-options-helper=\"loadingOptionsHelper\"\n :arrow-icon-large=\"disabled ? 'link-disabled' : 'link'\"\n @update:model-value=\"$emit('update:modelValue', $event)\"\n >\n <template v-if=\"slots.tooltip\" #tooltip>\n <slot name=\"tooltip\" />\n </template>\n </PlDropdown>\n</template>\n"],"names":["__default__","slots","useSlots","props","__props","options","computed","_a","opt"],"mappings":";;AAIA,MAAeA,IAAA;AAAA,EACb,MAAM;AACR;;;;;;;;;;;;;;;;;AASA,UAAMC,IAAaC,EAAS,GAStBC,IAAQC,GA8DRC,IAAUC;AAAA,MAAS,MACvB;;AAAA,gBAAAC,IAAAJ,EAAM,YAAN,gBAAAI,EAAe;AAAA,UAAI,CAACC,MAClB,SAASA,IACL;AAAA,YACE,OAAOA,EAAI;AAAA,YACX,OAAOA,EAAI;AAAA,YACX,OAAOA,EAAI;AAAA,UAAA,IAEbA;AAAA;AAAA;AAAA,IAER;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"PlDropdownRef.vue.js","sources":["../../../src/components/PlDropdownRef/PlDropdownRef.vue"],"sourcesContent":["<script lang=\"ts\">\n/**\n * A component for selecting one value from a list of options\n */\nexport default {\n name: 'PlDropdownRef',\n};\n</script>\n\n<script lang=\"ts\" setup generic=\"M = ModelRef\">\nimport { computed, useSlots } from 'vue';\nimport type { ListOption, ModelRef, RefOption } from '../../types';\nimport { PlDropdown } from '../PlDropdown';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst slots: any = useSlots();\n\ndefineEmits<{\n /**\n * Emitted when the model value is updated.\n */\n (e: 'update:modelValue', value: M | undefined): void;\n}>();\n\nconst props = withDefaults(\n defineProps<{\n /**\n * The current selected ref of the dropdown.\n */\n modelValue: M | undefined;\n /**\n * The label text for the dropdown field (optional)\n */\n label?: string;\n /**\n * List of available ref options for the dropdown\n */\n options?: Readonly<RefOption[] | ListOption<M>[]>;\n /**\n * A helper text displayed below the dropdown when there are no errors (optional).\n */\n helper?: string;\n /**\n * A helper text displayed below the dropdown when there are no options yet or options is undefined (optional).\n */\n loadingOptionsHelper?: string;\n /**\n * Error message displayed below the dropdown (optional)\n */\n error?: unknown;\n /**\n * Placeholder text shown when no value is selected.\n */\n placeholder?: string;\n /**\n * Enables a button to clear the selected value (default: false)\n */\n clearable?: boolean;\n /**\n * If `true`, the dropdown component is marked as required.\n */\n required?: boolean;\n /**\n * If `true`, the dropdown component is disabled and cannot be interacted with.\n */\n disabled?: boolean;\n /**\n * Option list item size\n */\n optionSize?: 'small' | 'medium';\n }>(),\n {\n label: '',\n helper: undefined,\n loadingOptionsHelper: undefined,\n error: undefined,\n placeholder: '...',\n clearable: false,\n required: false,\n disabled: false,\n arrowIcon: undefined,\n optionSize: 'small',\n options: undefined,\n },\n);\n\nconst options = computed(() =>\n props.options?.map((opt) =>\n 'ref' in opt\n ? {\n label: opt.label,\n value: opt.ref,\n group: opt.group,\n } as ListOption<M>\n : opt,\n ),\n);\n</script>\n\n<template>\n <PlDropdown\n v-bind=\"props\"\n :options=\"options\"\n :loading-options-helper=\"loadingOptionsHelper\"\n :arrow-icon-large=\"disabled ? 'link-disabled' : 'link'\"\n @update:model-value=\"$emit('update:modelValue', $event)\"\n >\n <template v-if=\"slots.tooltip\" #tooltip>\n <slot name=\"tooltip\" />\n </template>\n </PlDropdown>\n</template>\n"],"names":["__default__","slots","useSlots","props","__props","options","computed","_a","opt"],"mappings":";;AAIA,MAAAA,IAAe;AAAA,EACb,MAAM;AACR;;;;;;;;;;;;;;;;;AASA,UAAMC,IAAaC,EAAA,GASbC,IAAQC,GA8DRC,IAAUC;AAAA,MAAS,MAAA;;AACvB,gBAAAC,IAAAJ,EAAM,YAAN,gBAAAI,EAAe;AAAA,UAAI,CAACC,MAClB,SAASA,IACL;AAAA,YACE,OAAOA,EAAI;AAAA,YACX,OAAOA,EAAI;AAAA,YACX,OAAOA,EAAI;AAAA,UAAA,IAEbA;AAAA;AAAA;AAAA,IACN;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1 @@
1
1
  export { default as PlDropdownRef } from './PlDropdownRef.vue';
2
- //# sourceMappingURL=index.d.ts.map
@@ -41,4 +41,3 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
41
41
  inputRef: HTMLInputElement;
42
42
  }, HTMLDivElement>;
43
43
  export default _default;
44
- //# sourceMappingURL=PlEditableTitle.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlEditableTitle.vue.js","sources":["../../../src/components/PlEditableTitle/PlEditableTitle.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useTransformedModel } from '../../composition/useTransformedModel';\nimport style from './pl-editable-title.module.scss';\nimport { computed, onMounted, ref } from 'vue';\n\nconst model = defineModel<string>();\n\nconst props = withDefaults(\n defineProps<{\n /**\n * Standard input placeholder\n */\n placeholder?: string;\n /**\n * Any css `width` value (px, %), default is 80%\n */\n maxWidth?: string;\n /**\n * Fixed non-editable prefix\n */\n prefix?: string;\n /**\n * Max title length (default is 1000)\n */\n maxLength?: number;\n /**\n * Min title length\n */\n minLength?: number;\n /**\n * If true, input will be focused on mount\n */\n autofocus?: boolean;\n }>(),\n {\n placeholder: 'Title',\n maxWidth: '80%',\n prefix: undefined,\n maxLength: 1000,\n minLength: undefined,\n },\n);\n\nconst local = useTransformedModel(model, {\n update() {\n return false;\n },\n parse: (v): string => {\n if (typeof v !== 'string') {\n throw Error('value should be a string');\n }\n\n if (props.maxLength && v.length > props.maxLength) {\n throw Error(`Max title length is ${props.maxLength} characters`);\n }\n\n if (props.minLength && v.length < props.minLength) {\n throw Error(`Min title length is ${props.minLength} characters`);\n }\n\n return v.trim();\n },\n});\n\nconst inputRef = ref<HTMLInputElement>();\n\nconst computedStyle = computed(() => ({\n maxWidth: props.maxWidth ?? '80%',\n}));\n\nconst save = () => {\n model.value = local.value && !local.error ? local.value : model.value;\n local.reset();\n};\n\nonMounted(() => {\n if (props.autofocus) {\n inputRef.value?.focus();\n }\n});\n\n</script>\n\n<template>\n <div class=\"pl-editable-title\" :class=\"style.component\" :style=\"computedStyle\">\n <div :class=\"style.container\" @click=\"() => inputRef?.focus()\">\n <span v-if=\"prefix\">{{ prefix.trim() }}&nbsp;</span>\n <input\n ref=\"inputRef\"\n v-model=\"local.value\"\n :placeholder=\"placeholder\"\n @focusout=\"save\"\n @keydown.escape=\"local.reset\"\n @keydown.enter=\"(ev) => (ev.target as HTMLInputElement)?.blur()\"\n />\n </div>\n <div v-if=\"local.error\" :class=\"style.error\">{{ local.error }}</div>\n </div>\n</template>\n"],"names":["model","_useModel","__props","props","local","useTransformedModel","v","inputRef","ref","computedStyle","computed","save","onMounted","_a"],"mappings":";;;;;;;;;;;;;;;;;;AAKM,UAAAA,IAAQC,EAAmBC,GAAA,YAAC,GAE5BC,IAAQD,GAoCRE,IAAQC,EAAoBL,GAAO;AAAA,MACvC,SAAS;AACA,eAAA;AAAA,MACT;AAAA,MACA,OAAO,CAACM,MAAc;AAChB,YAAA,OAAOA,KAAM;AACf,gBAAM,MAAM,0BAA0B;AAGxC,YAAIH,EAAM,aAAaG,EAAE,SAASH,EAAM;AACtC,gBAAM,MAAM,uBAAuBA,EAAM,SAAS,aAAa;AAGjE,YAAIA,EAAM,aAAaG,EAAE,SAASH,EAAM;AACtC,gBAAM,MAAM,uBAAuBA,EAAM,SAAS,aAAa;AAGjE,eAAOG,EAAE,KAAK;AAAA,MAAA;AAAA,IAChB,CACD,GAEKC,IAAWC,EAAsB,GAEjCC,IAAgBC,EAAS,OAAO;AAAA,MACpC,UAAUP,EAAM,YAAY;AAAA,IAAA,EAC5B,GAEIQ,IAAO,MAAM;AACX,MAAAX,EAAA,QAAQI,EAAM,SAAS,CAACA,EAAM,QAAQA,EAAM,QAAQJ,EAAM,OAChEI,EAAM,MAAM;AAAA,IACd;AAEA,WAAAQ,EAAU,MAAM;;AACd,MAAIT,EAAM,eACRU,IAAAN,EAAS,UAAT,QAAAM,EAAgB;AAAA,IAClB,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"PlEditableTitle.vue.js","sources":["../../../src/components/PlEditableTitle/PlEditableTitle.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { useTransformedModel } from '../../composition/useTransformedModel';\nimport style from './pl-editable-title.module.scss';\nimport { computed, onMounted, ref } from 'vue';\n\nconst model = defineModel<string>();\n\nconst props = withDefaults(\n defineProps<{\n /**\n * Standard input placeholder\n */\n placeholder?: string;\n /**\n * Any css `width` value (px, %), default is 80%\n */\n maxWidth?: string;\n /**\n * Fixed non-editable prefix\n */\n prefix?: string;\n /**\n * Max title length (default is 1000)\n */\n maxLength?: number;\n /**\n * Min title length\n */\n minLength?: number;\n /**\n * If true, input will be focused on mount\n */\n autofocus?: boolean;\n }>(),\n {\n placeholder: 'Title',\n maxWidth: '80%',\n prefix: undefined,\n maxLength: 1000,\n minLength: undefined,\n },\n);\n\nconst local = useTransformedModel(model, {\n update() {\n return false;\n },\n parse: (v): string => {\n if (typeof v !== 'string') {\n throw Error('value should be a string');\n }\n\n if (props.maxLength && v.length > props.maxLength) {\n throw Error(`Max title length is ${props.maxLength} characters`);\n }\n\n if (props.minLength && v.length < props.minLength) {\n throw Error(`Min title length is ${props.minLength} characters`);\n }\n\n return v.trim();\n },\n});\n\nconst inputRef = ref<HTMLInputElement>();\n\nconst computedStyle = computed(() => ({\n maxWidth: props.maxWidth ?? '80%',\n}));\n\nconst save = () => {\n model.value = local.value && !local.error ? local.value : model.value;\n local.reset();\n};\n\nonMounted(() => {\n if (props.autofocus) {\n inputRef.value?.focus();\n }\n});\n\n</script>\n\n<template>\n <div class=\"pl-editable-title\" :class=\"style.component\" :style=\"computedStyle\">\n <div :class=\"style.container\" @click=\"() => inputRef?.focus()\">\n <span v-if=\"prefix\">{{ prefix.trim() }}&nbsp;</span>\n <input\n ref=\"inputRef\"\n v-model=\"local.value\"\n :placeholder=\"placeholder\"\n @focusout=\"save\"\n @keydown.escape=\"local.reset\"\n @keydown.enter=\"(ev) => (ev.target as HTMLInputElement)?.blur()\"\n />\n </div>\n <div v-if=\"local.error\" :class=\"style.error\">{{ local.error }}</div>\n </div>\n</template>\n"],"names":["model","_useModel","__props","props","local","useTransformedModel","v","inputRef","ref","computedStyle","computed","save","onMounted","_a"],"mappings":";;;;;;;;;;;;;;;;;;AAKA,UAAMA,IAAQC,EAAmBC,GAAA,YAAC,GAE5BC,IAAQD,GAoCRE,IAAQC,EAAoBL,GAAO;AAAA,MACvC,SAAS;AACP,eAAO;AAAA,MACT;AAAA,MACA,OAAO,CAACM,MAAc;AACpB,YAAI,OAAOA,KAAM;AACf,gBAAM,MAAM,0BAA0B;AAGxC,YAAIH,EAAM,aAAaG,EAAE,SAASH,EAAM;AACtC,gBAAM,MAAM,uBAAuBA,EAAM,SAAS,aAAa;AAGjE,YAAIA,EAAM,aAAaG,EAAE,SAASH,EAAM;AACtC,gBAAM,MAAM,uBAAuBA,EAAM,SAAS,aAAa;AAGjE,eAAOG,EAAE,KAAA;AAAA,MACX;AAAA,IAAA,CACD,GAEKC,IAAWC,EAAA,GAEXC,IAAgBC,EAAS,OAAO;AAAA,MACpC,UAAUP,EAAM,YAAY;AAAA,IAAA,EAC5B,GAEIQ,IAAO,MAAM;AACjB,MAAAX,EAAM,QAAQI,EAAM,SAAS,CAACA,EAAM,QAAQA,EAAM,QAAQJ,EAAM,OAChEI,EAAM,MAAA;AAAA,IACR;AAEA,WAAAQ,EAAU,MAAM;;AACd,MAAIT,EAAM,eACRU,IAAAN,EAAS,UAAT,QAAAM,EAAgB;AAAA,IAEpB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1 @@
1
1
  export { default as PlEditableTitle } from './PlEditableTitle.vue';
2
- //# sourceMappingURL=index.d.ts.map