@milaboratories/uikit 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +621 -731
- package/.turbo/turbo-type-check.log +3 -2
- package/CHANGELOG.md +10 -0
- package/{vite.config.ts → build.browser-lib.config.js} +5 -13
- package/dist/__tests__/compositions/useValidation.spec.d.ts +1 -0
- package/dist/__tests__/setup.d.ts +0 -1
- package/dist/__tests__/use-debounce-fn.test.d.ts +1 -0
- package/dist/assets/icons/icon-assets-min/16_add.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_arrow-down.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_arrow-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_arrow-link.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_arrow-right.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_arrow-up.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_box.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_calendar.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_caret-down.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_caret-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_caret-right.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_caret-up.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_cell-type-num.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_cell-type-subset.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_cell-type-txt.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_checkmark.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_chevron-down.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_chevron-first.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_chevron-last.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_chevron-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_chevron-right.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_chevron-up.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_clear.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_clipboard-copied.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_clipboard.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_close.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_compare.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_copy.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_data-dimentions.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_delete-bin.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_delete-circle.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_delete-clear.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_download.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_drag-dots.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_duplicate.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_edit.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_error.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_export.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_filter-on.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_filter.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_help-outline.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_help.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_import.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_info-outline.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_info.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_jump-link.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_link-arrow.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_link.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_loading.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_lock.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_maximize.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_minimize.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_minus.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_more.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_open.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_paper-clip.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_pause.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_play.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_progress.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_renew.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_required.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_restart.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_reverse.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_settings.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_sort.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_sorter.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_stop.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_success.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_time.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_tune.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_warning.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_x-axis.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_y-axis.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/16_zip.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_add-layer.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_add.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_align-center.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_align-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_align-right.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_annotate.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_annotation.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_area.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_arrow-down.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_arrow-left-curved.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_arrow-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_arrow-link.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_arrow-right.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_arrow-up.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_axes.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_bar-cross.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_bar-error.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_bar-stacked.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_bar-trend.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_bar.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_bindot.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_box.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_boxplot-binned.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_boxplot-jitter.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_boxplot-notched.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_boxplot.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_bubble.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_calendar.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_canvas.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cell-type-num.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cell-type-subset.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cell-type-txt.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_checkbox-checked.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_checkbox-intermediate.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_checkbox.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_checkmark.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_chevron-down.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_chevron-first.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_chevron-last.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_chevron-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_chevron-right.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_chevron-sort.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_chevron-up.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_clipboard-copied.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_clipboard.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_close.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cloud-download.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cloud-offline.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cloud-online.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cloud-upload.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cluster.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_code.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_color-fill.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_color-none.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_color-stroke.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_color.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_columns.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_connected-points.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_container.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cookie.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_copy.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cpu.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_cursor-pointer.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_data-dimentions.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_debug.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_delete-bin.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_delete-circle.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_delete-clear.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_dendrogram-X-line.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_dendrogram-X.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_dendrogram-Y-line.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_dendrogram-Y.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_dna-add.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_dna-import.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_dna.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_download.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_drag-dots.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_drag-horizontal.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_drag-vertical.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_duplicate.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_edit.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_error-bar.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_error.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_expand-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_expand-right.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_export-2.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_export.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_external-link.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_file-doc-add.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_file-doc-download.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_file-doc-import.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_file-doc.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_files-export.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_files-import.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_filter-on.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_filter.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_fire-tips.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_folder-parent.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_frame-type-all.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_frame-type-bottom.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_frame-type-left-bottom.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_frame-type-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_frame-type-none.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_generate.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_graph.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_heatmap.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_help-outline.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_help.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_hide.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_import.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_info-outline.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_info.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_jitter.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_jump-link.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_lasso.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_layers.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_learn.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_legend-box-dot.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_legend-box.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_legend.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_line-binned.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_line-error.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_line-jitter.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_line.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_linetype-dashed.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_linetype-dotdash.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_linetype-dotted.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_linetype-longdash.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_linetype-solid.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_linetype-twodash.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_link-disabled.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_link.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_loading.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_lock.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_maximize.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_menu.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_minimize.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_minus.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_monetization-off.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_monetization-on.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_monetization.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_more.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_paper-clip.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_pause.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_pen-tool.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_pin.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_play.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_position-bottom-annotation.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_position-bottom.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_position-left-annotation.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_position-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_position-right-annotation.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_position-right.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_position-top-annotation.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_position-top.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_product.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_progress.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_publications.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_radio-button-checked.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_radio-button.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_renew.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_restart.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_reverse.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_rotation-0.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_rotation-45.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_rotation-90.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_search.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_server-on.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_server.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_settings.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_show.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_sina.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_skatterplot.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_slice.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_social-github.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_social-linkedin.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_social-twitter-X.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_social-twitter-bird.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_social-youtube.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_sort-list-down.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_sort-list-up.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_sort.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_statistics.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_stop.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_strip-plot.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_success.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_table-add.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_table-alias.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_table-import.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_table-upload.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_table.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_template.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_terminal.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_text-align-center.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_text-align-left.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_text-align-right.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_theme-dark.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_theme-light.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_time.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_title-position.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_tune.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_venn.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_view-hide.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_view-show.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_violin-binned.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_violin-jitter.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_violin.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_warning.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_wetlab.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_windows-collapse.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_windows-expand.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_x-axis.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_y-axis.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_zip.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_zoom-in.svg.js.map +1 -1
- package/dist/assets/icons/icon-assets-min/24_zoom-out.svg.js.map +1 -1
- package/dist/assets/images/24_checkbox-light-enabled-checked.svg.js.map +1 -1
- package/dist/assets/images/24_checkbox-light-enabled-unchecked.svg.js.map +1 -1
- package/dist/base/BtnBase.vue.d.ts +0 -1
- package/dist/base/BtnBase.vue.js.map +1 -1
- package/dist/colors/__tests__/colors.spec.d.ts +1 -0
- package/dist/colors/color.d.ts +0 -1
- package/dist/colors/color.js.map +1 -1
- package/dist/colors/gradient.d.ts +0 -1
- package/dist/colors/gradient.js.map +1 -1
- package/dist/colors/index.d.ts +0 -1
- package/dist/colors/palette.d.ts +0 -1
- package/dist/components/ContextProvider.vue.d.ts +0 -1
- package/dist/components/ContextProvider.vue.js.map +1 -1
- package/dist/components/DataTable/BaseCellComponent.vue.d.ts +0 -1
- package/dist/components/DataTable/BaseCellComponent.vue.js +1 -1
- package/dist/components/DataTable/BaseCellComponent.vue.js.map +1 -1
- package/dist/components/DataTable/ColumnCaret.vue.d.ts +0 -1
- package/dist/components/DataTable/ColumnCaret.vue.js.map +1 -1
- package/dist/components/DataTable/ColumnsCommandMenu.vue.d.ts +0 -1
- package/dist/components/DataTable/ColumnsCommandMenu.vue.js.map +1 -1
- package/dist/components/DataTable/RowsCommandMenu.vue.d.ts +0 -1
- package/dist/components/DataTable/RowsCommandMenu.vue.js.map +1 -1
- package/dist/components/DataTable/TScroll.vue.d.ts +0 -1
- package/dist/components/DataTable/TScroll.vue.js.map +1 -1
- package/dist/components/DataTable/TableComponent.vue.d.ts +0 -1
- package/dist/components/DataTable/TableComponent.vue.js +41 -32
- package/dist/components/DataTable/TableComponent.vue.js.map +1 -1
- package/dist/components/DataTable/TdCell.vue.d.ts +0 -1
- package/dist/components/DataTable/TdCell.vue.js +1 -1
- package/dist/components/DataTable/TdCell.vue.js.map +1 -1
- package/dist/components/DataTable/ThCell.vue.d.ts +0 -1
- package/dist/components/DataTable/ThCell.vue.js.map +1 -1
- package/dist/components/DataTable/TrBody.vue.d.ts +0 -1
- package/dist/components/DataTable/TrBody.vue.js +4 -4
- package/dist/components/DataTable/TrBody.vue.js.map +1 -1
- package/dist/components/DataTable/TrHead.vue.d.ts +0 -1
- package/dist/components/DataTable/adapters/AsyncData.d.ts +0 -1
- package/dist/components/DataTable/adapters/AsyncData.js +7 -7
- package/dist/components/DataTable/adapters/AsyncData.js.map +1 -1
- package/dist/components/DataTable/adapters/RawData.d.ts +0 -1
- package/dist/components/DataTable/adapters/RawData.js +1 -1
- package/dist/components/DataTable/adapters/RawData.js.map +1 -1
- package/dist/components/DataTable/assets/TableIcon.vue.d.ts +0 -1
- package/dist/components/DataTable/assets/TableIcon.vue.js.map +1 -1
- package/dist/components/DataTable/composition/useColumn.d.ts +0 -1
- package/dist/components/DataTable/composition/useColumn.js.map +1 -1
- package/dist/components/DataTable/composition/useMouseUp.d.ts +0 -1
- package/dist/components/DataTable/composition/useResize.d.ts +0 -1
- package/dist/components/DataTable/composition/useResize.js +8 -8
- package/dist/components/DataTable/composition/useResize.js.map +1 -1
- package/dist/components/DataTable/composition/useTableColumns.d.ts +0 -1
- package/dist/components/DataTable/composition/useTableColumns.js +8 -8
- package/dist/components/DataTable/composition/useTableColumns.js.map +1 -1
- package/dist/components/DataTable/composition/useTableRows.d.ts +0 -1
- package/dist/components/DataTable/composition/useTableRows.js +6 -6
- package/dist/components/DataTable/composition/useTableRows.js.map +1 -1
- package/dist/components/DataTable/constants.d.ts +0 -1
- package/dist/components/DataTable/domain.d.ts +0 -1
- package/dist/components/DataTable/domain.js.map +1 -1
- package/dist/components/DataTable/index.d.ts +0 -1
- package/dist/components/DataTable/index.js.map +1 -1
- package/dist/components/DataTable/keys.d.ts +0 -1
- package/dist/components/DataTable/keys.js.map +1 -1
- package/dist/components/DataTable/state.d.ts +0 -1
- package/dist/components/DataTable/state.js +15 -15
- package/dist/components/DataTable/state.js.map +1 -1
- package/dist/components/DataTable/types.d.ts +0 -1
- package/dist/components/DropdownListItem.vue.d.ts +0 -1
- package/dist/components/DropdownListItem.vue.js.map +1 -1
- package/dist/components/GridTable/constants.d.ts +0 -1
- package/dist/components/GridTable/domain.d.ts +0 -1
- package/dist/components/GridTable/getColumnPositions.d.ts +0 -1
- package/dist/components/GridTable/types.d.ts +0 -1
- package/dist/components/GridTable/useColumn.d.ts +0 -1
- package/dist/components/GridTable/useMouseUp.d.ts +0 -1
- package/dist/components/GridTable/useResize.d.ts +0 -1
- package/dist/components/HScroll.vue.d.ts +0 -1
- package/dist/components/HScroll.vue.js.map +1 -1
- package/dist/components/InputRange.vue.d.ts +0 -1
- package/dist/components/InputRange.vue.js.map +1 -1
- package/dist/components/LongText.vue.d.ts +0 -1
- package/dist/components/LongText.vue.js +8 -8
- package/dist/components/LongText.vue.js.map +1 -1
- package/dist/components/PlAccordion/ExpandTransition.vue.d.ts +0 -1
- package/dist/components/PlAccordion/ExpandTransition.vue2.js.map +1 -1
- package/dist/components/PlAccordion/PlAccordion.vue.d.ts +0 -1
- package/dist/components/PlAccordion/PlAccordion.vue.js.map +1 -1
- package/dist/components/PlAccordion/PlAccordionSection.vue.d.ts +0 -1
- package/dist/components/PlAccordion/PlAccordionSection.vue2.js +9 -9
- package/dist/components/PlAccordion/PlAccordionSection.vue2.js.map +1 -1
- package/dist/components/PlAccordion/index.d.ts +0 -1
- package/dist/components/PlAlert/PlAlert.vue.d.ts +0 -1
- package/dist/components/PlAlert/PlAlert.vue.js.map +1 -1
- package/dist/components/PlAlert/index.d.ts +0 -1
- package/dist/components/PlAutocomplete/PlAutocomplete.vue.d.ts +0 -1
- package/dist/components/PlAutocomplete/PlAutocomplete.vue.js +31 -31
- package/dist/components/PlAutocomplete/PlAutocomplete.vue.js.map +1 -1
- package/dist/components/PlAutocomplete/__tests__/PlAutocomplete.spec.d.ts +1 -0
- package/dist/components/PlAutocomplete/index.d.ts +0 -1
- package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.d.ts +77 -0
- package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.js +245 -0
- package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue.js.map +1 -0
- package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue2.js +5 -0
- package/dist/components/PlAutocompleteMulti/PlAutocompleteMulti.vue2.js.map +1 -0
- package/dist/components/PlAutocompleteMulti/__tests__/PlAutocompleteMulti.spec.d.ts +1 -0
- package/dist/components/PlAutocompleteMulti/index.d.ts +1 -0
- package/dist/components/PlBtnAccent/PlBtnAccent.vue.d.ts +0 -1
- package/dist/components/PlBtnAccent/PlBtnAccent.vue.js.map +1 -1
- package/dist/components/PlBtnAccent/index.d.ts +0 -1
- package/dist/components/PlBtnDanger/PlBtnDanger.vue.d.ts +0 -1
- package/dist/components/PlBtnDanger/PlBtnDanger.vue.js.map +1 -1
- package/dist/components/PlBtnDanger/index.d.ts +0 -1
- package/dist/components/PlBtnGhost/PlBtnGhost.vue.d.ts +0 -1
- package/dist/components/PlBtnGhost/PlBtnGhost.vue.js.map +1 -1
- package/dist/components/PlBtnGhost/index.d.ts +0 -1
- package/dist/components/PlBtnGroup/PlBtnGroup.vue.d.ts +0 -1
- package/dist/components/PlBtnGroup/PlBtnGroup.vue.js.map +1 -1
- package/dist/components/PlBtnGroup/index.d.ts +0 -1
- package/dist/components/PlBtnLink/PlBtnLink.vue.d.ts +0 -1
- package/dist/components/PlBtnLink/index.d.ts +0 -1
- package/dist/components/PlBtnPrimary/PlBtnPrimary.vue.d.ts +0 -1
- package/dist/components/PlBtnPrimary/PlBtnPrimary.vue.js.map +1 -1
- package/dist/components/PlBtnPrimary/__tests__/BtnPrimary.spec.d.ts +1 -0
- package/dist/components/PlBtnPrimary/index.d.ts +0 -1
- package/dist/components/PlBtnSecondary/PlBtnSecondary.vue.d.ts +0 -1
- package/dist/components/PlBtnSecondary/PlBtnSecondary.vue.js.map +1 -1
- package/dist/components/PlBtnSecondary/index.d.ts +0 -1
- package/dist/components/PlBtnSplit/PlBtnSplit.vue.d.ts +0 -1
- package/dist/components/PlBtnSplit/PlBtnSplit.vue.js +1 -1
- package/dist/components/PlBtnSplit/PlBtnSplit.vue.js.map +1 -1
- package/dist/components/PlBtnSplit/__tests__/PlBtnSplit.spec.d.ts +1 -0
- package/dist/components/PlBtnSplit/index.d.ts +0 -1
- package/dist/components/PlChartHistogram/PlChartHistogram.vue.d.ts +0 -1
- package/dist/components/PlChartHistogram/PlChartHistogram.vue2.js.map +1 -1
- package/dist/components/PlChartHistogram/createGridlines.d.ts +0 -1
- package/dist/components/PlChartHistogram/createGridlines.js +2 -2
- package/dist/components/PlChartHistogram/createGridlines.js.map +1 -1
- package/dist/components/PlChartHistogram/createLabels.d.ts +0 -1
- package/dist/components/PlChartHistogram/createLabels.js.map +1 -1
- package/dist/components/PlChartHistogram/createSvgContainer.d.ts +0 -1
- package/dist/components/PlChartHistogram/createSvgContainer.js +1 -1
- package/dist/components/PlChartHistogram/createSvgContainer.js.map +1 -1
- package/dist/components/PlChartHistogram/drawBins.d.ts +0 -1
- package/dist/components/PlChartHistogram/drawBins.js +1 -1
- package/dist/components/PlChartHistogram/drawBins.js.map +1 -1
- package/dist/components/PlChartHistogram/drawThreshold.d.ts +0 -1
- package/dist/components/PlChartHistogram/drawThreshold.js.map +1 -1
- package/dist/components/PlChartHistogram/histogram.d.ts +0 -1
- package/dist/components/PlChartHistogram/histogram.js +19 -22
- package/dist/components/PlChartHistogram/histogram.js.map +1 -1
- package/dist/components/PlChartHistogram/index.d.ts +0 -1
- package/dist/components/PlChartHistogram/logspace.d.ts +0 -1
- package/dist/components/PlChartHistogram/logspace.js.map +1 -1
- package/dist/components/PlChartHistogram/normalizeBins.d.ts +0 -1
- package/dist/components/PlChartHistogram/normalizeBins.js.map +1 -1
- package/dist/components/PlChartHistogram/scales.spec.d.ts +1 -0
- package/dist/components/PlChartHistogram/types.d.ts +0 -1
- package/dist/components/PlChartStackedBar/Legends.vue.d.ts +0 -1
- package/dist/components/PlChartStackedBar/Legends.vue2.js.map +1 -1
- package/dist/components/PlChartStackedBar/PlChartStackedBar.vue.d.ts +0 -1
- package/dist/components/PlChartStackedBar/PlChartStackedBar.vue2.js.map +1 -1
- package/dist/components/PlChartStackedBar/PlChartStackedBarCompact.vue.d.ts +0 -1
- package/dist/components/PlChartStackedBar/PlChartStackedBarCompact.vue2.js.map +1 -1
- package/dist/components/PlChartStackedBar/StackedRow.vue.d.ts +0 -1
- package/dist/components/PlChartStackedBar/StackedRow.vue2.js.map +1 -1
- package/dist/components/PlChartStackedBar/StackedRowCompact.vue.d.ts +0 -1
- package/dist/components/PlChartStackedBar/StackedRowCompact.vue2.js.map +1 -1
- package/dist/components/PlChartStackedBar/index.d.ts +0 -1
- package/dist/components/PlChartStackedBar/types.d.ts +0 -1
- package/dist/components/PlCheckbox/PlCheckbox.vue.d.ts +0 -1
- package/dist/components/PlCheckbox/PlCheckbox.vue.js.map +1 -1
- package/dist/components/PlCheckbox/PlCheckboxBase.vue.d.ts +0 -1
- package/dist/components/PlCheckbox/__tests__/PlCheckbox.spec.d.ts +1 -0
- package/dist/components/PlCheckbox/index.d.ts +0 -1
- package/dist/components/PlCheckboxGroup/PlCheckboxGroup.vue.d.ts +0 -1
- package/dist/components/PlCheckboxGroup/PlCheckboxGroup.vue.js.map +1 -1
- package/dist/components/PlCheckboxGroup/index.d.ts +0 -1
- package/dist/components/PlChip/PlChip.vue.d.ts +0 -1
- package/dist/components/PlChip/PlChip.vue.js +1 -1
- package/dist/components/PlChip/PlChip.vue.js.map +1 -1
- package/dist/components/PlChip/index.d.ts +0 -1
- package/dist/components/PlClipboard/PlClipboard.vue.d.ts +0 -1
- package/dist/components/PlClipboard/PlClipboard.vue2.js.map +1 -1
- package/dist/components/PlClipboard/index.d.ts +0 -1
- package/dist/components/PlConfirmDialog.vue.d.ts +0 -1
- package/dist/components/PlDialogModal/PlDialogModal.vue.d.ts +0 -1
- package/dist/components/PlDialogModal/PlDialogModal.vue.js.map +1 -1
- package/dist/components/PlDialogModal/index.d.ts +0 -1
- package/dist/components/PlDropdown/OptionList.vue.d.ts +0 -1
- package/dist/components/PlDropdown/OptionList.vue.js.map +1 -1
- package/dist/components/PlDropdown/PlDropdown.vue.d.ts +0 -1
- package/dist/components/PlDropdown/PlDropdown.vue.js +1 -1
- package/dist/components/PlDropdown/PlDropdown.vue.js.map +1 -1
- package/dist/components/PlDropdown/__tests__/PlDropdown.spec.d.ts +1 -0
- package/dist/components/PlDropdown/index.d.ts +0 -1
- package/dist/components/PlDropdown/types.d.ts +0 -1
- package/dist/components/PlDropdown/useGroupBy.d.ts +0 -1
- package/dist/components/PlDropdown/useGroupBy.js.map +1 -1
- package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.d.ts +0 -1
- package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js +1 -1
- package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js.map +1 -1
- package/dist/components/PlDropdownLegacy/__tests__/PlDropdownLegacy.spec.d.ts +1 -0
- package/dist/components/PlDropdownLegacy/index.d.ts +0 -1
- package/dist/components/PlDropdownLine/PlDropdownLine.vue.d.ts +2 -3
- package/dist/components/PlDropdownLine/PlDropdownLine.vue.js.map +1 -1
- package/dist/components/PlDropdownLine/ResizableInput.vue.d.ts +0 -1
- package/dist/components/PlDropdownLine/ResizableInput.vue.js.map +1 -1
- package/dist/components/PlDropdownLine/index.d.ts +0 -1
- package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.d.ts +0 -1
- package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js +65 -69
- package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js.map +1 -1
- package/dist/components/PlDropdownMulti/__tests__/PlDropdownMulti.spec.d.ts +1 -0
- package/dist/components/PlDropdownMulti/index.d.ts +0 -1
- package/dist/components/PlDropdownMultiRef/PlDropdownMultiRef.vue.d.ts +0 -1
- package/dist/components/PlDropdownMultiRef/PlDropdownMultiRef.vue.js.map +1 -1
- package/dist/components/PlDropdownMultiRef/__tests__/PlDropdownMultiRef.spec.d.ts +1 -0
- package/dist/components/PlDropdownMultiRef/index.d.ts +0 -1
- package/dist/components/PlDropdownRef/PlDropdownRef.vue.d.ts +0 -1
- package/dist/components/PlDropdownRef/PlDropdownRef.vue.js.map +1 -1
- package/dist/components/PlDropdownRef/__tests__/PlDropdownRef.spec.d.ts +1 -0
- package/dist/components/PlDropdownRef/index.d.ts +0 -1
- package/dist/components/PlEditableTitle/PlEditableTitle.vue.d.ts +0 -1
- package/dist/components/PlEditableTitle/PlEditableTitle.vue.js.map +1 -1
- package/dist/components/PlEditableTitle/index.d.ts +0 -1
- package/dist/components/PlElementList/PlElementList.vue.d.ts +0 -1
- package/dist/components/PlElementList/PlElementList.vue2.js +2 -2
- package/dist/components/PlElementList/PlElementList.vue2.js.map +1 -1
- package/dist/components/PlElementList/PlElementListItem.vue.d.ts +0 -1
- package/dist/components/PlElementList/PlElementListItem.vue2.js.map +1 -1
- package/dist/components/PlElementList/index.d.ts +0 -1
- package/dist/components/PlElementList/utils.d.ts +0 -1
- package/dist/components/PlElementList/utils.js.map +1 -1
- package/dist/components/PlErrorAlert/PlErrorAlert.vue.d.ts +1 -2
- package/dist/components/PlErrorAlert/PlErrorAlert.vue2.js.map +1 -1
- package/dist/components/PlErrorAlert/index.d.ts +0 -1
- package/dist/components/PlErrorBoundary/PlErrorBoundary.vue.d.ts +6 -7
- package/dist/components/PlErrorBoundary/PlErrorBoundary.vue.js +9 -9
- package/dist/components/PlErrorBoundary/PlErrorBoundary.vue.js.map +1 -1
- package/dist/components/PlErrorBoundary/index.d.ts +0 -1
- package/dist/components/PlFileDialog/Local.vue.d.ts +0 -1
- package/dist/components/PlFileDialog/Local.vue.js +1 -1
- package/dist/components/PlFileDialog/Local.vue.js.map +1 -1
- package/dist/components/PlFileDialog/PlFileDialog.vue.d.ts +0 -1
- package/dist/components/PlFileDialog/PlFileDialog.vue.js +3 -3
- package/dist/components/PlFileDialog/PlFileDialog.vue.js.map +1 -1
- package/dist/components/PlFileDialog/Remote.vue.d.ts +0 -1
- package/dist/components/PlFileDialog/Remote.vue.js +17 -17
- package/dist/components/PlFileDialog/Remote.vue.js.map +1 -1
- package/dist/components/PlFileDialog/Shortcuts.vue.d.ts +0 -1
- package/dist/components/PlFileDialog/index.d.ts +0 -1
- package/dist/components/PlFileDialog/remote.d.ts +0 -1
- package/dist/components/PlFileDialog/remote.js.map +1 -1
- package/dist/components/PlFileDialog/utils.d.ts +0 -1
- package/dist/components/PlFileDialog/utils.js +10 -10
- package/dist/components/PlFileDialog/utils.js.map +1 -1
- package/dist/components/PlFileDialog/utils.test.d.ts +1 -0
- package/dist/components/PlFileInput/PlFileInput.vue.d.ts +0 -1
- package/dist/components/PlFileInput/PlFileInput.vue.js +31 -32
- package/dist/components/PlFileInput/PlFileInput.vue.js.map +1 -1
- package/dist/components/PlFileInput/index.d.ts +0 -1
- package/dist/components/PlFileInput/utils.d.ts +0 -1
- package/dist/components/PlIcon16/PlIcon16.vue.d.ts +0 -1
- package/dist/components/PlIcon16/PlIcon16.vue2.js.map +1 -1
- package/dist/components/PlIcon16/index.d.ts +0 -1
- package/dist/components/PlIcon24/PlIcon24.vue.d.ts +0 -1
- package/dist/components/PlIcon24/PlIcon24.vue2.js.map +1 -1
- package/dist/components/PlIcon24/index.d.ts +0 -1
- package/dist/components/PlLoaderCircular/PlLoaderCircular.vue.d.ts +0 -1
- package/dist/components/PlLoaderCircular/index.d.ts +0 -1
- package/dist/components/PlLogView/PlLogView.vue.d.ts +0 -1
- package/dist/components/PlLogView/PlLogView.vue.js +6 -6
- package/dist/components/PlLogView/PlLogView.vue.js.map +1 -1
- package/dist/components/PlLogView/index.d.ts +0 -1
- package/dist/components/PlLogView/useLogHandle.d.ts +0 -1
- package/dist/components/PlLogView/useLogHandle.js +16 -17
- package/dist/components/PlLogView/useLogHandle.js.map +1 -1
- package/dist/components/PlMaskIcon16/index.d.ts +0 -1
- package/dist/components/PlMaskIcon24/index.d.ts +0 -1
- package/dist/components/PlNotificationAlert/PlNotificationAlert.vue.d.ts +0 -1
- package/dist/components/PlNotificationAlert/PlNotificationAlert.vue.js.map +1 -1
- package/dist/components/PlNotificationAlert/index.d.ts +0 -1
- package/dist/components/PlNumberField/PlNumberField.vue.d.ts +0 -1
- package/dist/components/PlNumberField/PlNumberField.vue.js.map +1 -1
- package/dist/components/PlNumberField/__tests__/PlNumberField.spec.d.ts +1 -0
- package/dist/components/PlNumberField/index.d.ts +0 -1
- package/dist/components/PlNumberField/parseNumber.d.ts +0 -1
- package/dist/components/PlNumberField/parseNumber.js.map +1 -1
- package/dist/components/PlProgressBar/PlProgressBar.vue.d.ts +0 -1
- package/dist/components/PlProgressBar/index.d.ts +0 -1
- package/dist/components/PlProgressCell/PlProgressCell.vue.d.ts +0 -1
- package/dist/components/PlProgressCell/index.d.ts +0 -1
- package/dist/components/PlProgressCell/types.d.ts +0 -1
- package/dist/components/PlRadio/PlRadio.vue.d.ts +0 -1
- package/dist/components/PlRadio/PlRadio.vue2.js.map +1 -1
- package/dist/components/PlRadio/PlRadioGroup.vue.d.ts +0 -1
- package/dist/components/PlRadio/PlRadioGroup.vue2.js.map +1 -1
- package/dist/components/PlRadio/__tests__/PlRadioGroup.spec.d.ts +1 -0
- package/dist/components/PlRadio/index.d.ts +0 -1
- package/dist/components/PlRadio/keys.d.ts +0 -1
- package/dist/components/PlRadio/keys.js.map +1 -1
- package/dist/components/PlSearchField/PlSearchField.vue.d.ts +0 -1
- package/dist/components/PlSearchField/PlSearchField.vue2.js.map +1 -1
- package/dist/components/PlSearchField/index.d.ts +0 -1
- package/dist/components/PlSectionSeparator/PlSectionSeparator.vue.d.ts +0 -1
- package/dist/components/PlSectionSeparator/index.d.ts +0 -1
- package/dist/components/PlSidebar/PlSidebarGroup.vue.d.ts +0 -1
- package/dist/components/PlSidebar/PlSidebarGroup.vue2.js.map +1 -1
- package/dist/components/PlSidebar/PlSidebarItem.vue.d.ts +0 -1
- package/dist/components/PlSidebar/PlSidebarItem.vue2.js.map +1 -1
- package/dist/components/PlSidebar/index.d.ts +0 -1
- package/dist/components/PlSlideModal/PlPureSlideModal.vue.d.ts +0 -1
- package/dist/components/PlSlideModal/PlPureSlideModal.vue.js +21 -11
- package/dist/components/PlSlideModal/PlPureSlideModal.vue.js.map +1 -1
- package/dist/components/PlSlideModal/PlSlideModal.vue.d.ts +0 -1
- package/dist/components/PlSlideModal/PlSlideModal.vue2.js.map +1 -1
- package/dist/components/PlSlideModal/index.d.ts +0 -1
- package/dist/components/PlSlideModal/props.d.ts +0 -1
- package/dist/components/PlSpacer/PlSpacer.vue.d.ts +0 -1
- package/dist/components/PlSpacer/index.d.ts +0 -1
- package/dist/components/PlSplash/PlSplash.vue.d.ts +0 -1
- package/dist/components/PlSplash/index.d.ts +0 -1
- package/dist/components/PlStatusTag/PlStatusTag.vue.d.ts +0 -1
- package/dist/components/PlStatusTag/index.d.ts +0 -1
- package/dist/components/PlStatusTag/types.d.ts +0 -1
- package/dist/components/PlSvg/PlSvg.vue.d.ts +0 -1
- package/dist/components/PlSvg/PlSvg.vue2.js +1 -1
- package/dist/components/PlSvg/PlSvg.vue2.js.map +1 -1
- package/dist/components/PlSvg/index.d.ts +0 -1
- package/dist/components/PlSvg/registry.d.ts +0 -1
- package/dist/components/PlSvg/registry.js +3 -3
- package/dist/components/PlSvg/registry.js.map +1 -1
- package/dist/components/PlTabs/PlTabs.vue.d.ts +0 -1
- package/dist/components/PlTabs/PlTabs.vue.js.map +1 -1
- package/dist/components/PlTabs/Tab.vue.d.ts +0 -1
- package/dist/components/PlTabs/Tab.vue.js.map +1 -1
- package/dist/components/PlTabs/index.d.ts +0 -1
- package/dist/components/PlTabs/types.d.ts +0 -1
- package/dist/components/PlTextArea/PlTextArea.vue.d.ts +0 -1
- package/dist/components/PlTextArea/PlTextArea.vue.js +1 -1
- package/dist/components/PlTextArea/PlTextArea.vue.js.map +1 -1
- package/dist/components/PlTextArea/__tests__/PlTextArea.spec.d.ts +1 -0
- package/dist/components/PlTextArea/index.d.ts +0 -1
- package/dist/components/PlTextField/PlTextField.vue.d.ts +0 -1
- package/dist/components/PlTextField/PlTextField.vue.js +1 -1
- package/dist/components/PlTextField/PlTextField.vue.js.map +1 -1
- package/dist/components/PlTextField/__tests__/TextField.spec.d.ts +1 -0
- package/dist/components/PlTextField/index.d.ts +0 -1
- package/dist/components/PlToggleSwitch/PlToggleSwitch.vue.d.ts +0 -1
- package/dist/components/PlToggleSwitch/PlToggleSwitch.vue.js.map +1 -1
- package/dist/components/PlToggleSwitch/index.d.ts +0 -1
- package/dist/components/PlTooltip/Beak.vue.d.ts +0 -1
- package/dist/components/PlTooltip/Beak.vue.js.map +1 -1
- package/dist/components/PlTooltip/PlTooltip.vue.d.ts +0 -1
- package/dist/components/PlTooltip/PlTooltip.vue.js.map +1 -1
- package/dist/components/PlTooltip/global.d.ts +0 -1
- package/dist/components/PlTooltip/global.js.map +1 -1
- package/dist/components/PlTooltip/index.d.ts +0 -1
- package/dist/components/PlTooltip/useTooltipPosition.d.ts +0 -1
- package/dist/components/PlTooltip/useTooltipPosition.js.map +1 -1
- package/dist/components/Scrollable.vue.d.ts +0 -1
- package/dist/components/Scrollable.vue.js.map +1 -1
- package/dist/components/Slider.vue.d.ts +0 -1
- package/dist/components/Slider.vue.js.map +1 -1
- package/dist/components/SliderRange.vue.d.ts +0 -1
- package/dist/components/SliderRange.vue.js.map +1 -1
- package/dist/components/SliderRangeTriple.vue.d.ts +0 -1
- package/dist/components/SliderRangeTriple.vue.js.map +1 -1
- package/dist/components/TabItem.vue.d.ts +0 -1
- package/dist/components/TabItem.vue.js.map +1 -1
- package/dist/components/ThemeSwitcher.vue.d.ts +0 -1
- package/dist/components/ThemeSwitcher.vue.js.map +1 -1
- package/dist/components/TransitionSlidePanel.vue.d.ts +0 -1
- package/dist/components/TransitionSlidePanel.vue.js.map +1 -1
- package/dist/components/VScroll.vue.d.ts +0 -1
- package/dist/components/VScroll.vue.js.map +1 -1
- package/dist/components/contextMenu/Menu.vue.d.ts +0 -1
- package/dist/components/contextMenu/Menu.vue2.js.map +1 -1
- package/dist/components/contextMenu/index.d.ts +0 -1
- package/dist/components/contextMenu/index.js.map +1 -1
- package/dist/components/contextMenu/types.d.ts +0 -1
- package/dist/composition/computedCached.d.ts +0 -1
- package/dist/composition/computedCached.js +12 -12
- package/dist/composition/computedCached.js.map +1 -1
- package/dist/composition/useClickOutside.d.ts +0 -1
- package/dist/composition/useClickOutside.js.map +1 -1
- package/dist/composition/useComponentProp.d.ts +0 -1
- package/dist/composition/useConfirm.d.ts +0 -1
- package/dist/composition/useConfirm.js.map +1 -1
- package/dist/composition/useDraggable.d.ts +0 -1
- package/dist/composition/useDraggable.js.map +1 -1
- package/dist/composition/useEventListener.d.ts +0 -1
- package/dist/composition/useEventListener.js.map +1 -1
- package/dist/composition/useFilteredList.d.ts +3 -3
- package/dist/composition/useFilteredList.js.map +1 -1
- package/dist/composition/useFormState.d.ts +0 -1
- package/dist/composition/useFormState.js +5 -5
- package/dist/composition/useFormState.js.map +1 -1
- package/dist/composition/useHover.d.ts +0 -1
- package/dist/composition/useHover.js.map +1 -1
- package/dist/composition/useInterval.d.ts +0 -1
- package/dist/composition/useInterval.js.map +1 -1
- package/dist/composition/useLocalStorage.d.ts +0 -1
- package/dist/composition/useLocalStorage.js +3 -3
- package/dist/composition/useLocalStorage.js.map +1 -1
- package/dist/composition/useMouse.d.ts +0 -1
- package/dist/composition/useMouse.js.map +1 -1
- package/dist/composition/useMouseCapture.d.ts +0 -1
- package/dist/composition/useMouseCapture.js.map +1 -1
- package/dist/composition/useNotificationPosition.d.ts +0 -1
- package/dist/composition/usePosition.d.ts +0 -1
- package/dist/composition/usePosition.js.map +1 -1
- package/dist/composition/useQuery.d.ts +0 -1
- package/dist/composition/useQuery.js +1 -1
- package/dist/composition/useQuery.js.map +1 -1
- package/dist/composition/useResizeObserver.d.ts +0 -1
- package/dist/composition/useResizeObserver.js.map +1 -1
- package/dist/composition/useRipple.d.ts +0 -1
- package/dist/composition/useRipple.js.map +1 -1
- package/dist/composition/useScroll.d.ts +0 -1
- package/dist/composition/useScroll.js.map +1 -1
- package/dist/composition/useSliderBreakpoints.d.ts +0 -1
- package/dist/composition/useSliderBreakpoints.js.map +1 -1
- package/dist/composition/useSortable.d.ts +0 -1
- package/dist/composition/useSortable.js.map +1 -1
- package/dist/composition/useSortable2.d.ts +0 -1
- package/dist/composition/useSortable2.js.map +1 -1
- package/dist/composition/useTheme.d.ts +0 -1
- package/dist/composition/useTheme.js.map +1 -1
- package/dist/composition/useTransformedModel.d.ts +0 -1
- package/dist/composition/useTransformedModel.js.map +1 -1
- package/dist/composition/useWatchFetch.d.ts +6 -3
- package/dist/composition/useWatchFetch.js +19 -19
- package/dist/composition/useWatchFetch.js.map +1 -1
- package/dist/composition/utils.d.ts +0 -1
- package/dist/composition/watchCached.d.ts +0 -1
- package/dist/composition/watchCached.js +1 -1
- package/dist/composition/watchCached.js.map +1 -1
- package/dist/demo-site-data/all-css-variables.d.ts +0 -1
- package/dist/demo-site-data/all-css-variables.js.map +1 -1
- package/dist/generated/components/svg/images/SvgRequired.vue.d.ts +0 -1
- package/dist/generated/components/svg/images/{SvgRequired.vue2.js → SvgRequired.vue.js} +1 -1
- package/dist/generated/components/svg/images/SvgRequired.vue.js.map +1 -0
- package/dist/generated/components/svg/images/SvgRequired.vue3.js.map +1 -1
- package/dist/generated/icons-16.d.ts +0 -1
- package/dist/generated/icons-24.d.ts +0 -1
- package/dist/global/resizeObserver.d.ts +0 -1
- package/dist/global/resizeObserver.js.map +1 -1
- package/dist/helpers/dom.d.ts +0 -1
- package/dist/helpers/dom.js.map +1 -1
- package/dist/helpers/downloadContent.d.ts +0 -1
- package/dist/helpers/downloadContent.js.map +1 -1
- package/dist/helpers/error.d.ts +0 -1
- package/dist/helpers/error.js +3 -3
- package/dist/helpers/error.js.map +1 -1
- package/dist/helpers/functions.d.ts +0 -1
- package/dist/helpers/functions.js.map +1 -1
- package/dist/helpers/index.d.ts +0 -1
- package/dist/helpers/index.js.map +1 -1
- package/dist/helpers/iterators.d.ts +0 -1
- package/dist/helpers/iterators.js.map +1 -1
- package/dist/helpers/math.d.ts +0 -1
- package/dist/helpers/math.js.map +1 -1
- package/dist/helpers/objects.d.ts +0 -1
- package/dist/helpers/objects.js.map +1 -1
- package/dist/helpers/utils.d.ts +2 -7
- package/dist/helpers/utils.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +193 -191
- package/dist/index.js.map +1 -1
- package/dist/layout/PlBlockPage/PlBlockPage.vue.d.ts +0 -1
- package/dist/layout/PlBlockPage/PlBlockPage.vue.js.map +1 -1
- package/dist/layout/PlBlockPage/PlBlockPageTitleTeleportId.d.ts +0 -1
- package/dist/layout/PlBlockPage/PlBlockPageTitleTeleportId.js +1 -1
- package/dist/layout/PlBlockPage/PlBlockPageTitleTeleportId.js.map +1 -1
- package/dist/layout/PlBlockPage/index.d.ts +0 -1
- package/dist/layout/PlBlockPage/usePlBlockPageTitleTeleportTarget.d.ts +0 -1
- package/dist/layout/PlBlockPage/usePlBlockPageTitleTeleportTarget.js.map +1 -1
- package/dist/layout/PlContainer/PlContainer.vue.d.ts +0 -1
- package/dist/layout/PlContainer/PlContainer.vue.js.map +1 -1
- package/dist/layout/PlContainer/index.d.ts +0 -1
- package/dist/layout/PlGrid/PlGrid.vue.d.ts +0 -1
- package/dist/layout/PlGrid/PlGrid.vue.js.map +1 -1
- package/dist/layout/PlGrid/index.d.ts +0 -1
- package/dist/layout/PlRow/PlRow.vue.d.ts +0 -1
- package/dist/layout/PlRow/PlRow.vue.js.map +1 -1
- package/dist/layout/PlRow/index.d.ts +0 -1
- package/dist/layout/PlSpacer/PlSpacer.vue.d.ts +0 -1
- package/dist/layout/PlSpacer/PlSpacer.vue.js.map +1 -1
- package/dist/layout/PlSpacer/index.d.ts +0 -1
- package/dist/types.d.ts +0 -1
- package/dist/utils/DoubleContour.vue.d.ts +0 -1
- package/dist/utils/DoubleContour.vue.js.map +1 -1
- package/dist/utils/DoubleContour.vue2.js.map +1 -1
- package/dist/utils/DropdownOverlay/DropdownOverlay.vue.d.ts +0 -1
- package/dist/utils/DropdownOverlay/DropdownOverlay.vue.js +17 -15
- package/dist/utils/DropdownOverlay/DropdownOverlay.vue.js.map +1 -1
- package/dist/utils/DropdownOverlay/index.d.ts +0 -1
- package/dist/utils/InnerBorder.vue.d.ts +0 -1
- package/dist/utils/InnerBorder.vue2.js.map +1 -1
- package/dist/utils/PlCloseModalBtn.vue.d.ts +0 -1
- package/dist/utils/PlCloseModalBtn.vue.js.map +1 -1
- package/dist/utils/TextLabel.vue.d.ts +0 -1
- package/dist/utils/TextLabel.vue.js.map +1 -1
- package/dist/utils/WebStopWatchElement.d.ts +0 -1
- package/dist/utils/useLabelNotch.d.ts +0 -1
- package/dist/utils/useLabelNotch.js.map +1 -1
- package/dist/utils/useValidation.d.ts +0 -1
- package/dist/utils/useValidation.js.map +1 -1
- package/package.json +13 -15
- package/src/components/PlAutocomplete/PlAutocomplete.vue +3 -2
- package/src/components/PlAutocompleteMulti/PlAutocompleteMulti.vue +383 -0
- package/src/components/PlAutocompleteMulti/__tests__/PlAutocompleteMulti.spec.ts +49 -0
- package/src/components/PlAutocompleteMulti/index.ts +1 -0
- package/src/components/PlAutocompleteMulti/pl-autocomplete-multi.scss +321 -0
- package/src/components/PlChip/pl-chip.scss +1 -0
- package/src/components/PlDropdownMulti/PlDropdownMulti.vue +1 -4
- package/src/components/PlDropdownMulti/__tests__/PlDropdownMulti.spec.ts +0 -2
- package/src/composition/useFilteredList.ts +3 -2
- package/src/composition/useWatchFetch.ts +23 -6
- package/src/helpers/utils.ts +2 -1
- package/src/index.ts +1 -0
- package/src/utils/DropdownOverlay/DropdownOverlay.vue +1 -0
- package/tsconfig.json +10 -8
- package/vitest.config.ts +2 -2
- package/dist/__tests__/setup.d.ts.map +0 -1
- package/dist/_virtual/_commonjsHelpers.js +0 -7
- package/dist/_virtual/_commonjsHelpers.js.map +0 -1
- package/dist/_virtual/canonicalize.js +0 -8
- package/dist/_virtual/canonicalize.js.map +0 -1
- package/dist/_virtual/stringify.js +0 -3
- package/dist/_virtual/stringify.js.map +0 -1
- package/dist/_virtual/stringify2.js +0 -5
- package/dist/_virtual/stringify2.js.map +0 -1
- package/dist/base/BtnBase.vue.d.ts.map +0 -1
- package/dist/colors/color.d.ts.map +0 -1
- package/dist/colors/gradient.d.ts.map +0 -1
- package/dist/colors/index.d.ts.map +0 -1
- package/dist/colors/palette.d.ts.map +0 -1
- package/dist/components/ContextProvider.vue.d.ts.map +0 -1
- package/dist/components/DataTable/BaseCellComponent.vue.d.ts.map +0 -1
- package/dist/components/DataTable/ColumnCaret.vue.d.ts.map +0 -1
- package/dist/components/DataTable/ColumnsCommandMenu.vue.d.ts.map +0 -1
- package/dist/components/DataTable/RowsCommandMenu.vue.d.ts.map +0 -1
- package/dist/components/DataTable/TScroll.vue.d.ts.map +0 -1
- package/dist/components/DataTable/TableComponent.vue.d.ts.map +0 -1
- package/dist/components/DataTable/TdCell.vue.d.ts.map +0 -1
- package/dist/components/DataTable/ThCell.vue.d.ts.map +0 -1
- package/dist/components/DataTable/TrBody.vue.d.ts.map +0 -1
- package/dist/components/DataTable/TrHead.vue.d.ts.map +0 -1
- package/dist/components/DataTable/adapters/AsyncData.d.ts.map +0 -1
- package/dist/components/DataTable/adapters/RawData.d.ts.map +0 -1
- package/dist/components/DataTable/assets/TableIcon.vue.d.ts.map +0 -1
- package/dist/components/DataTable/composition/useColumn.d.ts.map +0 -1
- package/dist/components/DataTable/composition/useMouseUp.d.ts.map +0 -1
- package/dist/components/DataTable/composition/useResize.d.ts.map +0 -1
- package/dist/components/DataTable/composition/useTableColumns.d.ts.map +0 -1
- package/dist/components/DataTable/composition/useTableRows.d.ts.map +0 -1
- package/dist/components/DataTable/constants.d.ts.map +0 -1
- package/dist/components/DataTable/domain.d.ts.map +0 -1
- package/dist/components/DataTable/index.d.ts.map +0 -1
- package/dist/components/DataTable/keys.d.ts.map +0 -1
- package/dist/components/DataTable/state.d.ts.map +0 -1
- package/dist/components/DataTable/types.d.ts.map +0 -1
- package/dist/components/DropdownListItem.vue.d.ts.map +0 -1
- package/dist/components/GridTable/constants.d.ts.map +0 -1
- package/dist/components/GridTable/domain.d.ts.map +0 -1
- package/dist/components/GridTable/getColumnPositions.d.ts.map +0 -1
- package/dist/components/GridTable/types.d.ts.map +0 -1
- package/dist/components/GridTable/useColumn.d.ts.map +0 -1
- package/dist/components/GridTable/useMouseUp.d.ts.map +0 -1
- package/dist/components/GridTable/useResize.d.ts.map +0 -1
- package/dist/components/HScroll.vue.d.ts.map +0 -1
- package/dist/components/InputRange.vue.d.ts.map +0 -1
- package/dist/components/LongText.vue.d.ts.map +0 -1
- package/dist/components/PlAccordion/ExpandTransition.vue.d.ts.map +0 -1
- package/dist/components/PlAccordion/PlAccordion.vue.d.ts.map +0 -1
- package/dist/components/PlAccordion/PlAccordionSection.vue.d.ts.map +0 -1
- package/dist/components/PlAccordion/index.d.ts.map +0 -1
- package/dist/components/PlAlert/PlAlert.vue.d.ts.map +0 -1
- package/dist/components/PlAlert/index.d.ts.map +0 -1
- package/dist/components/PlAutocomplete/PlAutocomplete.vue.d.ts.map +0 -1
- package/dist/components/PlAutocomplete/index.d.ts.map +0 -1
- package/dist/components/PlBtnAccent/PlBtnAccent.vue.d.ts.map +0 -1
- package/dist/components/PlBtnAccent/index.d.ts.map +0 -1
- package/dist/components/PlBtnDanger/PlBtnDanger.vue.d.ts.map +0 -1
- package/dist/components/PlBtnDanger/index.d.ts.map +0 -1
- package/dist/components/PlBtnGhost/PlBtnGhost.vue.d.ts.map +0 -1
- package/dist/components/PlBtnGhost/index.d.ts.map +0 -1
- package/dist/components/PlBtnGroup/PlBtnGroup.vue.d.ts.map +0 -1
- package/dist/components/PlBtnGroup/index.d.ts.map +0 -1
- package/dist/components/PlBtnLink/PlBtnLink.vue.d.ts.map +0 -1
- package/dist/components/PlBtnLink/index.d.ts.map +0 -1
- package/dist/components/PlBtnPrimary/PlBtnPrimary.vue.d.ts.map +0 -1
- package/dist/components/PlBtnPrimary/index.d.ts.map +0 -1
- package/dist/components/PlBtnSecondary/PlBtnSecondary.vue.d.ts.map +0 -1
- package/dist/components/PlBtnSecondary/index.d.ts.map +0 -1
- package/dist/components/PlBtnSplit/PlBtnSplit.vue.d.ts.map +0 -1
- package/dist/components/PlBtnSplit/index.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/PlChartHistogram.vue.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/createGridlines.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/createLabels.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/createSvgContainer.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/drawBins.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/drawThreshold.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/histogram.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/index.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/logspace.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/normalizeBins.d.ts.map +0 -1
- package/dist/components/PlChartHistogram/types.d.ts.map +0 -1
- package/dist/components/PlChartStackedBar/Legends.vue.d.ts.map +0 -1
- package/dist/components/PlChartStackedBar/PlChartStackedBar.vue.d.ts.map +0 -1
- package/dist/components/PlChartStackedBar/PlChartStackedBarCompact.vue.d.ts.map +0 -1
- package/dist/components/PlChartStackedBar/StackedRow.vue.d.ts.map +0 -1
- package/dist/components/PlChartStackedBar/StackedRowCompact.vue.d.ts.map +0 -1
- package/dist/components/PlChartStackedBar/index.d.ts.map +0 -1
- package/dist/components/PlChartStackedBar/types.d.ts.map +0 -1
- package/dist/components/PlCheckbox/PlCheckbox.vue.d.ts.map +0 -1
- package/dist/components/PlCheckbox/PlCheckboxBase.vue.d.ts.map +0 -1
- package/dist/components/PlCheckbox/index.d.ts.map +0 -1
- package/dist/components/PlCheckboxGroup/PlCheckboxGroup.vue.d.ts.map +0 -1
- package/dist/components/PlCheckboxGroup/index.d.ts.map +0 -1
- package/dist/components/PlChip/PlChip.vue.d.ts.map +0 -1
- package/dist/components/PlChip/index.d.ts.map +0 -1
- package/dist/components/PlClipboard/PlClipboard.vue.d.ts.map +0 -1
- package/dist/components/PlClipboard/index.d.ts.map +0 -1
- package/dist/components/PlConfirmDialog.vue.d.ts.map +0 -1
- package/dist/components/PlDialogModal/PlDialogModal.vue.d.ts.map +0 -1
- package/dist/components/PlDialogModal/index.d.ts.map +0 -1
- package/dist/components/PlDropdown/OptionList.vue.d.ts.map +0 -1
- package/dist/components/PlDropdown/PlDropdown.vue.d.ts.map +0 -1
- package/dist/components/PlDropdown/index.d.ts.map +0 -1
- package/dist/components/PlDropdown/types.d.ts.map +0 -1
- package/dist/components/PlDropdown/useGroupBy.d.ts.map +0 -1
- package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.d.ts.map +0 -1
- package/dist/components/PlDropdownLegacy/index.d.ts.map +0 -1
- package/dist/components/PlDropdownLine/PlDropdownLine.vue.d.ts.map +0 -1
- package/dist/components/PlDropdownLine/ResizableInput.vue.d.ts.map +0 -1
- package/dist/components/PlDropdownLine/index.d.ts.map +0 -1
- package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.d.ts.map +0 -1
- package/dist/components/PlDropdownMulti/index.d.ts.map +0 -1
- package/dist/components/PlDropdownMultiRef/PlDropdownMultiRef.vue.d.ts.map +0 -1
- package/dist/components/PlDropdownMultiRef/index.d.ts.map +0 -1
- package/dist/components/PlDropdownRef/PlDropdownRef.vue.d.ts.map +0 -1
- package/dist/components/PlDropdownRef/index.d.ts.map +0 -1
- package/dist/components/PlEditableTitle/PlEditableTitle.vue.d.ts.map +0 -1
- package/dist/components/PlEditableTitle/index.d.ts.map +0 -1
- package/dist/components/PlElementList/PlElementList.vue.d.ts.map +0 -1
- package/dist/components/PlElementList/PlElementListItem.vue.d.ts.map +0 -1
- package/dist/components/PlElementList/index.d.ts.map +0 -1
- package/dist/components/PlElementList/utils.d.ts.map +0 -1
- package/dist/components/PlErrorAlert/PlErrorAlert.vue.d.ts.map +0 -1
- package/dist/components/PlErrorAlert/index.d.ts.map +0 -1
- package/dist/components/PlErrorBoundary/PlErrorBoundary.vue.d.ts.map +0 -1
- package/dist/components/PlErrorBoundary/index.d.ts.map +0 -1
- package/dist/components/PlFileDialog/Local.vue.d.ts.map +0 -1
- package/dist/components/PlFileDialog/PlFileDialog.vue.d.ts.map +0 -1
- package/dist/components/PlFileDialog/Remote.vue.d.ts.map +0 -1
- package/dist/components/PlFileDialog/Shortcuts.vue.d.ts.map +0 -1
- package/dist/components/PlFileDialog/index.d.ts.map +0 -1
- package/dist/components/PlFileDialog/remote.d.ts.map +0 -1
- package/dist/components/PlFileDialog/utils.d.ts.map +0 -1
- package/dist/components/PlFileInput/PlFileInput.vue.d.ts.map +0 -1
- package/dist/components/PlFileInput/index.d.ts.map +0 -1
- package/dist/components/PlFileInput/utils.d.ts.map +0 -1
- package/dist/components/PlIcon16/PlIcon16.vue.d.ts.map +0 -1
- package/dist/components/PlIcon16/index.d.ts.map +0 -1
- package/dist/components/PlIcon24/PlIcon24.vue.d.ts.map +0 -1
- package/dist/components/PlIcon24/index.d.ts.map +0 -1
- package/dist/components/PlLoaderCircular/PlLoaderCircular.vue.d.ts.map +0 -1
- package/dist/components/PlLoaderCircular/index.d.ts.map +0 -1
- package/dist/components/PlLogView/PlLogView.vue.d.ts.map +0 -1
- package/dist/components/PlLogView/index.d.ts.map +0 -1
- package/dist/components/PlLogView/useLogHandle.d.ts.map +0 -1
- package/dist/components/PlMaskIcon16/index.d.ts.map +0 -1
- package/dist/components/PlMaskIcon24/index.d.ts.map +0 -1
- package/dist/components/PlNotificationAlert/PlNotificationAlert.vue.d.ts.map +0 -1
- package/dist/components/PlNotificationAlert/index.d.ts.map +0 -1
- package/dist/components/PlNumberField/PlNumberField.vue.d.ts.map +0 -1
- package/dist/components/PlNumberField/index.d.ts.map +0 -1
- package/dist/components/PlNumberField/parseNumber.d.ts.map +0 -1
- package/dist/components/PlProgressBar/PlProgressBar.vue.d.ts.map +0 -1
- package/dist/components/PlProgressBar/index.d.ts.map +0 -1
- package/dist/components/PlProgressCell/PlProgressCell.vue.d.ts.map +0 -1
- package/dist/components/PlProgressCell/index.d.ts.map +0 -1
- package/dist/components/PlProgressCell/types.d.ts.map +0 -1
- package/dist/components/PlRadio/PlRadio.vue.d.ts.map +0 -1
- package/dist/components/PlRadio/PlRadioGroup.vue.d.ts.map +0 -1
- package/dist/components/PlRadio/index.d.ts.map +0 -1
- package/dist/components/PlRadio/keys.d.ts.map +0 -1
- package/dist/components/PlSearchField/PlSearchField.vue.d.ts.map +0 -1
- package/dist/components/PlSearchField/index.d.ts.map +0 -1
- package/dist/components/PlSectionSeparator/PlSectionSeparator.vue.d.ts.map +0 -1
- package/dist/components/PlSectionSeparator/index.d.ts.map +0 -1
- package/dist/components/PlSidebar/PlSidebarGroup.vue.d.ts.map +0 -1
- package/dist/components/PlSidebar/PlSidebarItem.vue.d.ts.map +0 -1
- package/dist/components/PlSidebar/index.d.ts.map +0 -1
- package/dist/components/PlSlideModal/PlPureSlideModal.vue.d.ts.map +0 -1
- package/dist/components/PlSlideModal/PlSlideModal.vue.d.ts.map +0 -1
- package/dist/components/PlSlideModal/index.d.ts.map +0 -1
- package/dist/components/PlSlideModal/props.d.ts.map +0 -1
- package/dist/components/PlSpacer/PlSpacer.vue.d.ts.map +0 -1
- package/dist/components/PlSpacer/index.d.ts.map +0 -1
- package/dist/components/PlSplash/PlSplash.vue.d.ts.map +0 -1
- package/dist/components/PlSplash/index.d.ts.map +0 -1
- package/dist/components/PlStatusTag/PlStatusTag.vue.d.ts.map +0 -1
- package/dist/components/PlStatusTag/index.d.ts.map +0 -1
- package/dist/components/PlStatusTag/types.d.ts.map +0 -1
- package/dist/components/PlSvg/PlSvg.vue.d.ts.map +0 -1
- package/dist/components/PlSvg/index.d.ts.map +0 -1
- package/dist/components/PlSvg/registry.d.ts.map +0 -1
- package/dist/components/PlTabs/PlTabs.vue.d.ts.map +0 -1
- package/dist/components/PlTabs/Tab.vue.d.ts.map +0 -1
- package/dist/components/PlTabs/index.d.ts.map +0 -1
- package/dist/components/PlTabs/types.d.ts.map +0 -1
- package/dist/components/PlTextArea/PlTextArea.vue.d.ts.map +0 -1
- package/dist/components/PlTextArea/index.d.ts.map +0 -1
- package/dist/components/PlTextField/PlTextField.vue.d.ts.map +0 -1
- package/dist/components/PlTextField/index.d.ts.map +0 -1
- package/dist/components/PlToggleSwitch/PlToggleSwitch.vue.d.ts.map +0 -1
- package/dist/components/PlToggleSwitch/index.d.ts.map +0 -1
- package/dist/components/PlTooltip/Beak.vue.d.ts.map +0 -1
- package/dist/components/PlTooltip/PlTooltip.vue.d.ts.map +0 -1
- package/dist/components/PlTooltip/global.d.ts.map +0 -1
- package/dist/components/PlTooltip/index.d.ts.map +0 -1
- package/dist/components/PlTooltip/useTooltipPosition.d.ts.map +0 -1
- package/dist/components/Scrollable.vue.d.ts.map +0 -1
- package/dist/components/Slider.vue.d.ts.map +0 -1
- package/dist/components/SliderRange.vue.d.ts.map +0 -1
- package/dist/components/SliderRangeTriple.vue.d.ts.map +0 -1
- package/dist/components/TabItem.vue.d.ts.map +0 -1
- package/dist/components/ThemeSwitcher.vue.d.ts.map +0 -1
- package/dist/components/TransitionSlidePanel.vue.d.ts.map +0 -1
- package/dist/components/VScroll.vue.d.ts.map +0 -1
- package/dist/components/contextMenu/Menu.vue.d.ts.map +0 -1
- package/dist/components/contextMenu/index.d.ts.map +0 -1
- package/dist/components/contextMenu/types.d.ts.map +0 -1
- package/dist/composition/computedCached.d.ts.map +0 -1
- package/dist/composition/useClickOutside.d.ts.map +0 -1
- package/dist/composition/useComponentProp.d.ts.map +0 -1
- package/dist/composition/useConfirm.d.ts.map +0 -1
- package/dist/composition/useDraggable.d.ts.map +0 -1
- package/dist/composition/useEventListener.d.ts.map +0 -1
- package/dist/composition/useFilteredList.d.ts.map +0 -1
- package/dist/composition/useFormState.d.ts.map +0 -1
- package/dist/composition/useHover.d.ts.map +0 -1
- package/dist/composition/useInterval.d.ts.map +0 -1
- package/dist/composition/useLocalStorage.d.ts.map +0 -1
- package/dist/composition/useMouse.d.ts.map +0 -1
- package/dist/composition/useMouseCapture.d.ts.map +0 -1
- package/dist/composition/useNotificationPosition.d.ts.map +0 -1
- package/dist/composition/usePosition.d.ts.map +0 -1
- package/dist/composition/useQuery.d.ts.map +0 -1
- package/dist/composition/useResizeObserver.d.ts.map +0 -1
- package/dist/composition/useRipple.d.ts.map +0 -1
- package/dist/composition/useScroll.d.ts.map +0 -1
- package/dist/composition/useSliderBreakpoints.d.ts.map +0 -1
- package/dist/composition/useSortable.d.ts.map +0 -1
- package/dist/composition/useSortable2.d.ts.map +0 -1
- package/dist/composition/useTheme.d.ts.map +0 -1
- package/dist/composition/useTransformedModel.d.ts.map +0 -1
- package/dist/composition/useWatchFetch.d.ts.map +0 -1
- package/dist/composition/utils.d.ts.map +0 -1
- package/dist/composition/watchCached.d.ts.map +0 -1
- package/dist/demo-site-data/all-css-variables.d.ts.map +0 -1
- package/dist/generated/components/svg/images/SvgRequired.vue.d.ts.map +0 -1
- package/dist/generated/components/svg/images/SvgRequired.vue2.js.map +0 -1
- package/dist/generated/icons-16.d.ts.map +0 -1
- package/dist/generated/icons-24.d.ts.map +0 -1
- package/dist/global/resizeObserver.d.ts.map +0 -1
- package/dist/helpers/dom.d.ts.map +0 -1
- package/dist/helpers/downloadContent.d.ts.map +0 -1
- package/dist/helpers/error.d.ts.map +0 -1
- package/dist/helpers/functions.d.ts.map +0 -1
- package/dist/helpers/index.d.ts.map +0 -1
- package/dist/helpers/iterators.d.ts.map +0 -1
- package/dist/helpers/math.d.ts.map +0 -1
- package/dist/helpers/objects.d.ts.map +0 -1
- package/dist/helpers/utils.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/layout/PlBlockPage/PlBlockPage.vue.d.ts.map +0 -1
- package/dist/layout/PlBlockPage/PlBlockPageTitleTeleportId.d.ts.map +0 -1
- package/dist/layout/PlBlockPage/index.d.ts.map +0 -1
- package/dist/layout/PlBlockPage/usePlBlockPageTitleTeleportTarget.d.ts.map +0 -1
- package/dist/layout/PlContainer/PlContainer.vue.d.ts.map +0 -1
- package/dist/layout/PlContainer/index.d.ts.map +0 -1
- package/dist/layout/PlGrid/PlGrid.vue.d.ts.map +0 -1
- package/dist/layout/PlGrid/index.d.ts.map +0 -1
- package/dist/layout/PlRow/PlRow.vue.d.ts.map +0 -1
- package/dist/layout/PlRow/index.d.ts.map +0 -1
- package/dist/layout/PlSpacer/PlSpacer.vue.d.ts.map +0 -1
- package/dist/layout/PlSpacer/index.d.ts.map +0 -1
- package/dist/lib/model/common/dist/index.js +0 -635
- package/dist/lib/model/common/dist/index.js.map +0 -1
- package/dist/lib/model/pl-error-like/dist/index.js +0 -36
- package/dist/lib/model/pl-error-like/dist/index.js.map +0 -1
- package/dist/lib/util/helpers/dist/index.js +0 -361
- package/dist/lib/util/helpers/dist/index.js.map +0 -1
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/canonicalize@2.1.0/node_modules/canonicalize/lib/canonicalize.js +0 -19
- package/dist/node_modules/.pnpm/canonicalize@2.1.0/node_modules/canonicalize/lib/canonicalize.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/array.js +0 -5
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/array.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.js +0 -7
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ascending.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bin.js +0 -59
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bin.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.js +0 -10
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisect.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.js +0 -38
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/constant.js +0 -7
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/constant.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/count.js +0 -10
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/count.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.js +0 -7
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/descending.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/extent.js +0 -16
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/extent.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/identity.js +0 -7
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/identity.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.js +0 -16
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/max.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.js +0 -16
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/min.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/nice.js +0 -14
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/nice.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.js +0 -7
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/number.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/threshold/sturges.js +0 -8
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/threshold/sturges.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js +0 -33
- package/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.js +0 -65
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/axis.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.js +0 -7
- package/dist/node_modules/.pnpm/d3-axis@3.0.0/node_modules/d3-axis/src/identity.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js +0 -306
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/color.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js +0 -13
- package/dist/node_modules/.pnpm/d3-color@3.1.0/node_modules/d3-color/src/define.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.js +0 -16
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.js +0 -8
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/exponent.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.js +0 -16
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatDecimal.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.js +0 -11
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatGroup.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.js +0 -11
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatNumerals.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.js +0 -13
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatPrefixAuto.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.js +0 -11
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatRounded.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.js +0 -29
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatSpecifier.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.js +0 -20
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTrim.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.js +0 -22
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.js +0 -7
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/identity.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.js +0 -69
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/locale.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.js +0 -8
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionFixed.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.js +0 -8
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionPrefix.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.js +0 -8
- package/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/precisionRound.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.js +0 -14
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/array.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.js +0 -25
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/color.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js +0 -5
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/constant.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.js +0 -10
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/date.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js +0 -9
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/number.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.js +0 -16
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/numberArray.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.js +0 -15
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/object.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js +0 -16
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/rgb.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.js +0 -9
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/round.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.js +0 -25
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/string.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.js +0 -17
- package/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/value.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js +0 -9
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.js +0 -76
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.js +0 -17
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.js +0 -40
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/linear.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.js +0 -7
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/number.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/symlog.js +0 -30
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/symlog.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js +0 -33
- package/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/tickFormat.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.js +0 -7
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/array.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.js +0 -21
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/creator.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js +0 -15
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/matcher.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.js +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespace.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.js +0 -13
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/namespaces.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.js +0 -8
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectAll.js +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectAll.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.js +0 -11
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/append.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.js +0 -45
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/attr.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.js +0 -8
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/call.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.js +0 -55
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/classed.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.js +0 -15
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/clone.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.js +0 -43
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/data.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.js +0 -7
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/datum.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.js +0 -22
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/dispatch.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.js +0 -7
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/empty.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.js +0 -28
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/enter.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.js +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/exit.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.js +0 -13
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/filter.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.js +0 -21
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/html.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.js +0 -84
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/index.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.js +0 -15
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/insert.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.js +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/iterator.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.js +0 -8
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/join.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.js +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/lower.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.js +0 -13
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/merge.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js +0 -12
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.js +0 -7
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/nodes.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js +0 -53
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.js +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/order.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.js +0 -23
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/property.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.js +0 -10
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/raise.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.js +0 -11
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/remove.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.js +0 -13
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/select.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.js +0 -19
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectAll.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.js +0 -17
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChild.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.js +0 -17
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/selectChildren.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js +0 -9
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.js +0 -20
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sort.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.js +0 -7
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/sparse.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.js +0 -28
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/style.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.js +0 -21
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/text.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.js +0 -11
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selector.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.js +0 -12
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selectorAll.js.map +0 -1
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.js +0 -7
- package/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/window.js.map +0 -1
- package/dist/node_modules/.pnpm/json-stringify-safe@5.0.1/node_modules/json-stringify-safe/stringify.js +0 -26
- package/dist/node_modules/.pnpm/json-stringify-safe@5.0.1/node_modules/json-stringify-safe/stringify.js.map +0 -1
- package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.js +0 -1262
- package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.js.map +0 -1
- package/dist/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js +0 -2978
- package/dist/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js.map +0 -1
- package/dist/sdk/model/dist/index.js +0 -1590
- package/dist/sdk/model/dist/index.js.map +0 -1
- package/dist/types.d.ts.map +0 -1
- package/dist/utils/DoubleContour.vue.d.ts.map +0 -1
- package/dist/utils/DropdownOverlay/DropdownOverlay.vue.d.ts.map +0 -1
- package/dist/utils/DropdownOverlay/index.d.ts.map +0 -1
- package/dist/utils/InnerBorder.vue.d.ts.map +0 -1
- package/dist/utils/PlCloseModalBtn.vue.d.ts.map +0 -1
- package/dist/utils/TextLabel.vue.d.ts.map +0 -1
- package/dist/utils/WebStopWatchElement.d.ts.map +0 -1
- package/dist/utils/useLabelNotch.d.ts.map +0 -1
- package/dist/utils/useValidation.d.ts.map +0 -1
- package/tsconfig.lib.build.json +0 -10
- package/tsconfig.lib.json +0 -13
- package/tsconfig.node.json +0 -13
|
@@ -1,34 +1,33 @@
|
|
|
1
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
|
|
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
|
|
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
|
|
8
|
-
import { useLabelNotch as
|
|
9
|
-
import
|
|
10
|
-
import { deepEqual as
|
|
11
|
-
import { normalizeListOptions as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import { getErrorMessage as
|
|
16
|
-
const
|
|
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
|
-
},
|
|
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
|
-
},
|
|
21
|
+
}, Ve = {
|
|
23
22
|
key: 0,
|
|
24
23
|
class: "pl-dropdown-multi__error"
|
|
25
|
-
},
|
|
24
|
+
}, $e = {
|
|
26
25
|
key: 1,
|
|
27
26
|
class: "pl-dropdown-multi__helper"
|
|
28
|
-
},
|
|
27
|
+
}, Ae = {
|
|
29
28
|
name: "PlDropdownMulti"
|
|
30
|
-
},
|
|
31
|
-
...
|
|
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(
|
|
44
|
-
const P =
|
|
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(
|
|
50
|
-
const e =
|
|
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:
|
|
55
|
+
selected: z(e, o.value)
|
|
57
56
|
}));
|
|
58
|
-
}), D = p(() =>
|
|
59
|
-
t.activeOption =
|
|
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 =
|
|
66
|
-
V(
|
|
67
|
-
}, R = (e) => V(
|
|
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 =
|
|
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
|
|
91
|
-
return (
|
|
86
|
+
var N;
|
|
87
|
+
return (N = h.value) == null ? void 0 : N.scrollIntoActive();
|
|
92
88
|
});
|
|
93
89
|
};
|
|
94
|
-
return
|
|
95
|
-
() =>
|
|
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:
|
|
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",
|
|
114
|
-
u("div",
|
|
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:
|
|
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,
|
|
122
|
+
}, null, 40, ye), [
|
|
127
123
|
[se, t.search]
|
|
128
124
|
]),
|
|
129
|
-
t.open ? f("", !0) : (r(), d("div",
|
|
130
|
-
(r(!0), d(
|
|
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] =
|
|
130
|
+
onClick: l[2] || (l[2] = C((i) => t.open = !0, ["stop"])),
|
|
135
131
|
onClose: (i) => R(o.value)
|
|
136
132
|
}, {
|
|
137
|
-
default:
|
|
138
|
-
|
|
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",
|
|
144
|
-
D.value ? (r(), m(
|
|
139
|
+
u("div", be, [
|
|
140
|
+
D.value ? (r(), m(s(fe), {
|
|
145
141
|
key: 0,
|
|
146
142
|
name: "loading"
|
|
147
143
|
})) : f("", !0),
|
|
148
|
-
|
|
144
|
+
I(e.$slots, "append"),
|
|
149
145
|
u("div", {
|
|
150
146
|
class: "pl-dropdown-multi__arrow-wrapper",
|
|
151
|
-
onClick:
|
|
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",
|
|
158
|
-
e.required ? (r(), m(
|
|
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
|
-
|
|
156
|
+
s(U).tooltip ? (r(), m(s(ae), {
|
|
161
157
|
key: 1,
|
|
162
158
|
class: "info",
|
|
163
159
|
position: "top"
|
|
164
160
|
}, {
|
|
165
|
-
tooltip:
|
|
166
|
-
|
|
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(
|
|
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:
|
|
182
|
-
u("div",
|
|
183
|
-
(r(!0), d(
|
|
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:
|
|
190
|
-
|
|
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(
|
|
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:
|
|
199
|
+
onClick: C((i) => M(o.value), ["stop"])
|
|
204
200
|
}, null, 8, ["option", "is-selected", "is-hovered", "onClick"]))), 128)),
|
|
205
|
-
|
|
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(
|
|
205
|
+
ne(ie, { class: "pl-dropdown-multi__contour" })
|
|
210
206
|
])
|
|
211
|
-
], 42,
|
|
212
|
-
e.error ? (r(), d("div",
|
|
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
|
-
|
|
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,EAAkC,GAE1CE,IAAUC,EAAe,SAAS,GAElCC,IAAOC,GAAS;AAAA,MACpB,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,MAAM;AAAA,MACN,eAAe;AAAA,IAAA,CAChB,GAEKC,IAAoBC,EAAS,MAAO,MAAM,QAAQV,EAAM,UAAU,IAAIA,EAAM,aAAa,EAAG,GAE5FW,IAAiBD,EAAS,MAC1BH,EAAK,QAAQP,EAAM,WAAW,SAAS,IAClCA,EAAM,cAGRA,EAAM,WAAW,SAAS,IAAI,KAAKA,EAAM,WACjD,GAEKY,IAAuBF,EAAS,MAAMG,GAAqBb,EAAM,WAAW,CAAA,CAAE,CAAC,GAE/Ec,IAAqBJ,EAAS,MAC3BD,EAAkB,MAAM,IAAI,CAACZ,MAAMe,EAAqB,MAAM,KAAK,CAACG,MAAQC,EAAUD,EAAI,OAAOlB,CAAC,CAAC,CAAC,EAAE,OAAO,CAACA,MAAMA,MAAM,MAAS,CAC3I,GAEKoB,IAAqBP,EAAS,MAAM;AAClC,YAAAQ,IAAiBC,EAAMV,CAAiB,GAExCW,IAAUD,EAAMP,CAAoB;AAE1C,cACEL,EAAK,SACDa,EAAQ,OAAO,CAACL,MAAQ;AAClB,cAAAM,IAASd,EAAK,OAAO,YAAY;AAEvC,eAAIQ,EAAI,MAAM,YAAc,EAAA,SAASM,CAAM,IAClC,KAGL,OAAON,EAAI,SAAU,WAChBA,EAAI,MAAM,YAAY,EAAE,SAASM,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
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 = 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","handleKeydown","open","activeOption","filteredOptions","length","useLabelNotch","watch","watchPostEffect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;GAIAA,KAAe;AAAA,EACb,MAAM;AACR;;;;;;;;;;;;;;AAoBA,UAAMC,IAAOC,GAIPC,IAAY,CAACC,MAAWH,EAAK,qBAAqBG,CAAC,GAEnDC,IAAQC,EAAA,GAERC,IAAQC,GA+CRC,IAAUC,EAAA,GACVC,IAAQD,EAAA,GAERE,IAAUC,EAAe,SAAS,GAElCC,IAAOC,GAAS;AAAA,MACpB,QAAQ;AAAA,MACR,cAAc;AAAA,MACd,MAAM;AAAA,MACN,eAAe;AAAA,IAAA,CAChB,GAEKC,IAAoBC,EAAS,MAAO,MAAM,QAAQV,EAAM,UAAU,IAAIA,EAAM,aAAa,EAAG,GAE5FW,IAAiBD,EAAS,MAC1BH,EAAK,QAAQP,EAAM,WAAW,SAAS,IAClCA,EAAM,cAGRA,EAAM,WAAW,SAAS,IAAI,KAAKA,EAAM,WACjD,GAEKY,IAAuBF,EAAS,MAAMG,GAAqBb,EAAM,WAAW,CAAA,CAAE,CAAC,GAE/Ec,IAAqBJ,EAAS,MAC3BD,EAAkB,MAAM,IAAI,CAACZ,MAAMe,EAAqB,MAAM,KAAK,CAACG,MAAQC,EAAUD,EAAI,OAAOlB,CAAC,CAAC,CAAC,EAAE,OAAO,CAACA,MAAMA,MAAM,MAAS,CA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;;AAEpB,MAAAxC,EAAK,QAEDA,EAAK,UACPuB,IAAAzB,EAAQ,UAAR,QAAAyB,EAAe;AAAA,IAEnB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,
|
|
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;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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,
|
|
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;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -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() }} </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":";;;;;;;;;;;;;;;;;;
|
|
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() }} </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,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as ae, mergeModels as Q, useModel as ne, useSlots as oe, computed as u, shallowRef as R, watch as se, createElementBlock as y, openBlock as f, normalizeClass as d, createElementVNode as re, createCommentVNode as ue, Fragment as W, renderList as X, createBlock as Y, createSlots as Z, withCtx as E, renderSlot as h } from "vue";
|
|
2
|
-
import { shallowHash as P, isFunction as g } from "
|
|
3
|
-
import { useSortable as ce } from "
|
|
2
|
+
import { shallowHash as P, isFunction as g } from "@milaboratories/helpers";
|
|
3
|
+
import { useSortable as ce } from "@vueuse/integrations/useSortable";
|
|
4
4
|
import x from "./PlElementListItem.vue.js";
|
|
5
5
|
import { moveElements as _ } from "./utils.js";
|
|
6
6
|
const be = /* @__PURE__ */ ae({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlElementList.vue2.js","sources":["../../../src/components/PlElementList/PlElementList.vue"],"sourcesContent":["<script generic=\"T extends unknown = unknown, K extends number | string = number | string\" lang=\"ts\" setup>\nimport { isFunction, shallowHash } from '@milaboratories/helpers';\nimport { useSortable } from '@vueuse/integrations/useSortable';\nimport { type SortableEvent } from 'sortablejs';\nimport type { ShallowRef } from 'vue';\nimport { computed, shallowRef, watch } from 'vue';\nimport PlElementListItem from './PlElementListItem.vue';\nimport { moveElements } from './utils.ts';\n\nconst itemsRef = defineModel<T[]>('items', { required: true });\n\nconst props = withDefaults(\n defineProps<{\n getItemKey?: (item: T, index: number) => K;\n\n itemClass?: string | string[] | ((item: T, index: number) => string | string[]);\n isActive?: (item: T, index: number) => boolean;\n\n disableDragging?: boolean;\n isDraggable?: (item: T, index: number) => boolean;\n onDragEnd?: (oldIndex: number, newIndex: number) => void | boolean;\n onSort?: (oldIndex: number, newIndex: number) => void | boolean;\n\n disableRemoving?: boolean;\n isRemovable?: (item: T, index: number) => boolean;\n onRemove?: (item: T, index: number) => void | boolean;\n\n disableExpanding?: boolean;\n isExpandable?: (item: T, index: number) => boolean;\n isExpanded?: (item: T, index: number) => boolean;\n onExpand?: (item: T, index: number) => unknown;\n\n disableToggling?: boolean;\n isToggable?: (item: T, index: number) => boolean;\n isToggled?: (item: T, index: number) => boolean;\n onToggle?: (item: T, index: number) => unknown;\n\n disablePinning?: boolean;\n isPinnable?: (item: T, index: number) => boolean;\n isPinned?: (item: T, index: number) => boolean;\n onPin?: (item: T, index: number) => void | boolean;\n }>(), {\n getItemKey: (item: T) => JSON.stringify(item) as K,\n\n itemClass: undefined,\n isActive: undefined,\n\n disableDragging: undefined,\n isDraggable: undefined,\n onDragEnd: undefined,\n onSort: undefined,\n\n disableRemoving: undefined,\n isRemovable: undefined,\n onRemove: undefined,\n\n disableExpanding: undefined,\n isExpandable: undefined,\n isExpanded: undefined,\n onExpand: undefined,\n\n disableToggling: undefined,\n isToggable: undefined,\n isToggled: undefined,\n onToggle: undefined,\n\n disablePinning: undefined,\n isPinnable: undefined,\n isPinned: undefined,\n onPin: undefined,\n },\n);\n\nconst emits = defineEmits<{\n (e: 'itemClick', item: T): void;\n}>();\n\nconst slots = defineSlots<{\n ['item-title']: (props: { item: T; index: number }) => unknown;\n ['item-content']?: (props: { item: T; index: number }) => unknown;\n}>();\n\nconst dndSortingEnabled = computed((): boolean => {\n return props.disableDragging !== true;\n});\n\nconst pinnedItemsRef = computed(() => itemsRef.value.filter(isPinnedItem));\nconst hasPinnedItems = computed(() => pinnedItemsRef.value.length > 0);\n\nconst unpinnedItemsRef = computed(() => itemsRef.value.filter((item, index) => !isPinnedItem(item, index)));\nconst hasUnpinnedItems = computed(() => unpinnedItemsRef.value.length > 0);\n\nconst domProjectionItemsRef = shallowRef<undefined | T[]>();\nconst pinnedContainerRef = shallowRef<HTMLElement>();\nconst unpinnedContainerRef = shallowRef<HTMLElement>();\n\n// version fix problem with sync between data and rendered values\nconst getKey = (item: T, index: number) => {\n return `${versionRef.value}-${props.getItemKey(item, index)}`;\n};\nconst pinnedKeysRef = computed(() => pinnedItemsRef.value.map(getKey));\nconst unpinnedKeysRef = computed(() => unpinnedItemsRef.value.map(getKey));\n\n// version fix problem with sync between data and rendered values when items have been changed\nconst versionRef = computed<number>((oldVersion) => {\n const currentKeys = itemsRef.value.map(props.getItemKey);\n\n if (domProjectionItemsRef.value === undefined) return oldVersion ?? shallowHash(...currentKeys);\n if (currentKeys.length !== domProjectionItemsRef.value.length) return shallowHash(...currentKeys);\n\n const domProjectionKeys = domProjectionItemsRef.value.map(props.getItemKey);\n const domProjectionKeysSet = new Set(domProjectionKeys);\n\n for (let i = 0; i < currentKeys.length; i++) {\n const hasInconsistentPosition = domProjectionKeysSet.has(currentKeys[i]) && domProjectionKeys[i] !== currentKeys[i];\n\n if (hasInconsistentPosition) {\n return shallowHash(...currentKeys);\n }\n }\n\n return oldVersion ?? shallowHash(...currentKeys);\n});\n\ncreateSortable(hasPinnedItems, pinnedContainerRef, pinnedItemsRef, () => 0);\ncreateSortable(hasUnpinnedItems, unpinnedContainerRef, unpinnedItemsRef, () => pinnedItemsRef.value.length);\n\nfunction createSortable(toggler: ShallowRef<boolean>, elRef: ShallowRef<undefined | HTMLElement>, itemsRef: ShallowRef<T[]>, getOffset: () => number) {\n const sortable = useSortable(elRef, itemsRef, {\n handle: `[data-draggable=\"true\"]`,\n animation: 150,\n forceFallback: true,\n fallbackOnBody: true,\n scrollSensitivity: 80,\n forceAutoScrollFallback: true,\n onUpdate: (evt: SortableEvent) => {\n if (evt.oldIndex == null || evt.newIndex == null) {\n throw new Error('Sortable event has no index');\n }\n if (props.onDragEnd?.(evt.oldIndex, evt.newIndex) !== false) {\n moveItems(getOffset() + evt.oldIndex, getOffset() + evt.newIndex, true);\n }\n },\n });\n watch(\n [elRef, () => props.disableDragging, toggler],\n ([elRef, disabled, on]) => {\n if (!elRef || disabled || !on) {\n sortable.stop();\n } else {\n sortable.start();\n }\n },\n { immediate: true },\n );\n\n return sortable;\n}\n\nfunction moveItems(oldIndex: number, newIndex: number, afterUpdateDom: boolean) {\n if (oldIndex === newIndex) return;\n\n if (afterUpdateDom) {\n domProjectionItemsRef.value = moveElements(itemsRef.value.slice(), oldIndex, newIndex);\n }\n\n const preventDefault = props.onSort?.(oldIndex, newIndex) === false;\n\n if (!preventDefault) {\n moveElements(itemsRef.value, oldIndex, newIndex);\n }\n}\n\nfunction isActiveItem(item: T, index: number): boolean {\n return props.isActive?.(item, index) ?? false;\n}\n\nfunction isDraggableItem(item: T, index: number): boolean {\n if (props.disableDragging === true) return false;\n return (props.isDraggable?.(item, index) ?? true);\n}\n\nfunction isRemovableItem(item: T, index: number): boolean {\n if (props.disableRemoving === true) return false;\n return (props.isRemovable?.(item, index) ?? true);\n}\n\nfunction isToggableItem(item: T, index: number): boolean {\n if (props.disableToggling === true) return false;\n return (props.isToggable?.(item, index) ?? (isFunction(props.isToggled) || isFunction(props.onToggle)));\n}\n\nfunction isToggledItem(item: T, index: number): boolean {\n return props.isToggled?.(item, index) ?? false;\n}\n\nfunction isPinnableItem(item: T, index: number): boolean {\n if (props.disablePinning === true) return false;\n return (props.isPinnable?.(item, index) ?? (isFunction(props.isPinned) || isFunction(props.onPin)));\n}\n\nfunction isPinnedItem(item: T, index: number): boolean {\n return props.isPinned?.(item, index) ?? false;\n}\n\nfunction isExpandableItem(item: T, index: number): boolean {\n if (props.disableExpanding === true) return false;\n return (props.isExpandable?.(item, index) ?? (isFunction(props.isExpanded) || isFunction(props.onExpand)));\n}\n\nfunction isExpandedItem(item: T, index: number): boolean {\n return props.isExpanded?.(item, index) ?? false;\n}\n\nfunction handleExpand(item: T, index: number) {\n props.onExpand?.(item, index);\n}\n\nfunction handleToggle(item: T, index: number) {\n props.onToggle?.(item, index);\n}\n\nfunction handlePin(item: T, index: number) {\n if (index === -1) {\n throw new Error('Pinnable item not found');\n }\n\n const alreadyPinned = pinnedItemsRef.value.includes(item);\n\n if (props.onPin?.(item, index) === false) return;\n\n moveItems(index, pinnedItemsRef.value.length + (alreadyPinned ? 0 : -1), false);\n}\n\nfunction handleRemove(item: T, index: number) {\n if (props.onRemove?.(item, index) === false) return;\n itemsRef.value.splice(index, 1);\n}\n\nconst getItemClass = (item: T, index: number): null | string | string[] => {\n if (typeof props.itemClass === 'function') {\n return props.itemClass(item, index);\n }\n return props.itemClass ?? null;\n};\n\n</script>\n\n<template>\n <div :class=\"$style.root\">\n <div ref=\"pinnedContainerRef\" :class=\"$style.list\">\n <PlElementListItem\n v-for=\"(pinnedItem, pinnedIndex) in pinnedItemsRef\" :key=\"pinnedKeysRef[pinnedIndex]\"\n :class=\"[$style.item, getItemClass(pinnedItem, pinnedIndex)]\"\n\n :index=\"pinnedIndex\"\n :item=\"pinnedItem\"\n :showDragHandle=\"dndSortingEnabled\"\n :isActive=\"isActiveItem(pinnedItem, pinnedIndex)\"\n :isDraggable=\"isDraggableItem(pinnedItem, pinnedIndex)\"\n :isRemovable=\"isRemovableItem(pinnedItem, pinnedIndex)\"\n :isToggable=\"isToggableItem(pinnedItem, pinnedIndex)\"\n :isToggled=\"isToggledItem(pinnedItem, pinnedIndex)\"\n :isPinnable=\"isPinnableItem(pinnedItem, pinnedIndex)\"\n :isPinned=\"true\"\n :isExpandable=\"isExpandableItem(pinnedItem, pinnedIndex)\"\n :isExpanded=\"isExpandedItem(pinnedItem, pinnedIndex)\"\n\n @click=\"emits('itemClick', pinnedItem)\"\n @remove=\"handleRemove\"\n @toggle=\"handleToggle\"\n @pin=\"handlePin\"\n @expand=\"handleExpand\"\n >\n <template #title=\"{ item, index }\">\n <slot :index=\"index\" :item=\"item\" name=\"item-title\" />\n </template>\n <template v-if=\"slots['item-content']\" #content=\"{ item, index }\">\n <slot :index=\"index\" :item=\"item\" name=\"item-content\" />\n </template>\n </PlElementListItem>\n </div>\n <div v-if=\"hasUnpinnedItems\" ref=\"unpinnedContainerRef\" :class=\"$style.list\">\n <PlElementListItem\n v-for=\"(unpinnedItem, unpinnedIndex) in unpinnedItemsRef\" :key=\"unpinnedKeysRef[unpinnedIndex]\"\n :class=\"[$style.item, getItemClass(unpinnedItem, unpinnedIndex)]\"\n\n :index=\"unpinnedIndex + (pinnedItemsRef?.length ?? 0)\"\n :item=\"unpinnedItem\"\n :showDragHandle=\"dndSortingEnabled\"\n :isActive=\"isActiveItem(unpinnedItem, unpinnedIndex)\"\n :isDraggable=\"isDraggableItem(unpinnedItem, unpinnedIndex)\"\n :isRemovable=\"isRemovableItem(unpinnedItem, unpinnedIndex)\"\n :isToggable=\"isToggableItem(unpinnedItem, unpinnedIndex)\"\n :isToggled=\"isToggledItem(unpinnedItem, unpinnedIndex)\"\n :isPinnable=\"isPinnableItem(unpinnedItem, unpinnedIndex)\"\n :isPinned=\"false\"\n :isExpandable=\"isExpandableItem(unpinnedItem, unpinnedIndex)\"\n :isExpanded=\"isExpandedItem(unpinnedItem, unpinnedIndex)\"\n\n @click=\"emits('itemClick', unpinnedItem)\"\n @remove=\"handleRemove\"\n @toggle=\"handleToggle\"\n @pin=\"handlePin\"\n @expand=\"handleExpand\"\n >\n <template #title=\"{ item, index }\">\n <slot :index=\"index\" :item=\"item\" name=\"item-title\" />\n </template>\n <template v-if=\"slots['item-content']\" #content=\"{ item, index }\">\n <slot :index=\"index\" :item=\"item\" name=\"item-content\" />\n </template>\n </PlElementListItem>\n </div>\n </div>\n</template>\n\n<style module>\n.root, .list {\n display: flex;\n flex-direction: column;\n gap: 8px;\n min-width: 180px;\n}\n\n.item {\n width: 100%;\n}\n\n:global(.sortable-ghost) {\n visibility: hidden;\n}\n:global(.sortable-drag) {\n opacity: 1;\n}\n</style>\n"],"names":["itemsRef","_useModel","__props","props","emits","__emit","slots","_useSlots","dndSortingEnabled","computed","pinnedItemsRef","isPinnedItem","hasPinnedItems","unpinnedItemsRef","item","index","hasUnpinnedItems","domProjectionItemsRef","shallowRef","pinnedContainerRef","unpinnedContainerRef","getKey","versionRef","pinnedKeysRef","unpinnedKeysRef","oldVersion","currentKeys","shallowHash","domProjectionKeys","domProjectionKeysSet","i","createSortable","toggler","elRef","getOffset","sortable","useSortable","evt","_a","moveItems","watch","disabled","on","oldIndex","newIndex","afterUpdateDom","moveElements","isActiveItem","isDraggableItem","isRemovableItem","isToggableItem","isFunction","isToggledItem","isPinnableItem","isExpandableItem","isExpandedItem","handleExpand","handleToggle","handlePin","alreadyPinned","handleRemove","getItemClass"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASM,UAAAA,IAAWC,GAAgBC,GAAC,OAA2B,GAEvDC,IAAQD,GA8DRE,IAAQC,GAIRC,IAAQC,GAGV,GAEEC,IAAoBC,EAAS,MAC1BN,EAAM,oBAAoB,EAClC,GAEKO,IAAiBD,EAAS,MAAMT,EAAS,MAAM,OAAOW,CAAY,CAAC,GACnEC,IAAiBH,EAAS,MAAMC,EAAe,MAAM,SAAS,CAAC,GAE/DG,IAAmBJ,EAAS,MAAMT,EAAS,MAAM,OAAO,CAACc,GAAMC,MAAU,CAACJ,EAAaG,GAAMC,CAAK,CAAC,CAAC,GACpGC,IAAmBP,EAAS,MAAMI,EAAiB,MAAM,SAAS,CAAC,GAEnEI,IAAwBC,EAA4B,GACpDC,IAAqBD,EAAwB,GAC7CE,IAAuBF,EAAwB,GAG/CG,IAAS,CAACP,GAASC,MAChB,GAAGO,GAAW,KAAK,IAAInB,EAAM,WAAWW,GAAMC,CAAK,CAAC,IAEvDQ,KAAgBd,EAAS,MAAMC,EAAe,MAAM,IAAIW,CAAM,CAAC,GAC/DG,KAAkBf,EAAS,MAAMI,EAAiB,MAAM,IAAIQ,CAAM,CAAC,GAGnEC,KAAab,EAAiB,CAACgB,MAAe;AAClD,YAAMC,IAAc1B,EAAS,MAAM,IAAIG,EAAM,UAAU;AAEvD,UAAIc,EAAsB,UAAU,eAAkBQ,KAAcE,EAAY,GAAGD,CAAW;AAC1F,UAAAA,EAAY,WAAWT,E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,MAC7Bf,EAAA,MAAM,OAAOe,GAAO,CAAC;AAAA,IAAA;AAG1B,UAAA8C,IAAe,CAAC/C,GAASC,MACzB,OAAOZ,EAAM,aAAc,aACtBA,EAAM,UAAUW,GAAMC,CAAK,IAE7BZ,EAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"PlElementList.vue2.js","sources":["../../../src/components/PlElementList/PlElementList.vue"],"sourcesContent":["<script generic=\"T extends unknown = unknown, K extends number | string = number | string\" lang=\"ts\" setup>\nimport { isFunction, shallowHash } from '@milaboratories/helpers';\nimport { useSortable } from '@vueuse/integrations/useSortable';\nimport { type SortableEvent } from 'sortablejs';\nimport type { ShallowRef } from 'vue';\nimport { computed, shallowRef, watch } from 'vue';\nimport PlElementListItem from './PlElementListItem.vue';\nimport { moveElements } from './utils.ts';\n\nconst itemsRef = defineModel<T[]>('items', { required: true });\n\nconst props = withDefaults(\n defineProps<{\n getItemKey?: (item: T, index: number) => K;\n\n itemClass?: string | string[] | ((item: T, index: number) => string | string[]);\n isActive?: (item: T, index: number) => boolean;\n\n disableDragging?: boolean;\n isDraggable?: (item: T, index: number) => boolean;\n onDragEnd?: (oldIndex: number, newIndex: number) => void | boolean;\n onSort?: (oldIndex: number, newIndex: number) => void | boolean;\n\n disableRemoving?: boolean;\n isRemovable?: (item: T, index: number) => boolean;\n onRemove?: (item: T, index: number) => void | boolean;\n\n disableExpanding?: boolean;\n isExpandable?: (item: T, index: number) => boolean;\n isExpanded?: (item: T, index: number) => boolean;\n onExpand?: (item: T, index: number) => unknown;\n\n disableToggling?: boolean;\n isToggable?: (item: T, index: number) => boolean;\n isToggled?: (item: T, index: number) => boolean;\n onToggle?: (item: T, index: number) => unknown;\n\n disablePinning?: boolean;\n isPinnable?: (item: T, index: number) => boolean;\n isPinned?: (item: T, index: number) => boolean;\n onPin?: (item: T, index: number) => void | boolean;\n }>(), {\n getItemKey: (item: T) => JSON.stringify(item) as K,\n\n itemClass: undefined,\n isActive: undefined,\n\n disableDragging: undefined,\n isDraggable: undefined,\n onDragEnd: undefined,\n onSort: undefined,\n\n disableRemoving: undefined,\n isRemovable: undefined,\n onRemove: undefined,\n\n disableExpanding: undefined,\n isExpandable: undefined,\n isExpanded: undefined,\n onExpand: undefined,\n\n disableToggling: undefined,\n isToggable: undefined,\n isToggled: undefined,\n onToggle: undefined,\n\n disablePinning: undefined,\n isPinnable: undefined,\n isPinned: undefined,\n onPin: undefined,\n },\n);\n\nconst emits = defineEmits<{\n (e: 'itemClick', item: T): void;\n}>();\n\nconst slots = defineSlots<{\n ['item-title']: (props: { item: T; index: number }) => unknown;\n ['item-content']?: (props: { item: T; index: number }) => unknown;\n}>();\n\nconst dndSortingEnabled = computed((): boolean => {\n return props.disableDragging !== true;\n});\n\nconst pinnedItemsRef = computed(() => itemsRef.value.filter(isPinnedItem));\nconst hasPinnedItems = computed(() => pinnedItemsRef.value.length > 0);\n\nconst unpinnedItemsRef = computed(() => itemsRef.value.filter((item, index) => !isPinnedItem(item, index)));\nconst hasUnpinnedItems = computed(() => unpinnedItemsRef.value.length > 0);\n\nconst domProjectionItemsRef = shallowRef<undefined | T[]>();\nconst pinnedContainerRef = shallowRef<HTMLElement>();\nconst unpinnedContainerRef = shallowRef<HTMLElement>();\n\n// version fix problem with sync between data and rendered values\nconst getKey = (item: T, index: number) => {\n return `${versionRef.value}-${props.getItemKey(item, index)}`;\n};\nconst pinnedKeysRef = computed(() => pinnedItemsRef.value.map(getKey));\nconst unpinnedKeysRef = computed(() => unpinnedItemsRef.value.map(getKey));\n\n// version fix problem with sync between data and rendered values when items have been changed\nconst versionRef = computed<number>((oldVersion) => {\n const currentKeys = itemsRef.value.map(props.getItemKey);\n\n if (domProjectionItemsRef.value === undefined) return oldVersion ?? shallowHash(...currentKeys);\n if (currentKeys.length !== domProjectionItemsRef.value.length) return shallowHash(...currentKeys);\n\n const domProjectionKeys = domProjectionItemsRef.value.map(props.getItemKey);\n const domProjectionKeysSet = new Set(domProjectionKeys);\n\n for (let i = 0; i < currentKeys.length; i++) {\n const hasInconsistentPosition = domProjectionKeysSet.has(currentKeys[i]) && domProjectionKeys[i] !== currentKeys[i];\n\n if (hasInconsistentPosition) {\n return shallowHash(...currentKeys);\n }\n }\n\n return oldVersion ?? shallowHash(...currentKeys);\n});\n\ncreateSortable(hasPinnedItems, pinnedContainerRef, pinnedItemsRef, () => 0);\ncreateSortable(hasUnpinnedItems, unpinnedContainerRef, unpinnedItemsRef, () => pinnedItemsRef.value.length);\n\nfunction createSortable(toggler: ShallowRef<boolean>, elRef: ShallowRef<undefined | HTMLElement>, itemsRef: ShallowRef<T[]>, getOffset: () => number) {\n const sortable = useSortable(elRef, itemsRef, {\n handle: `[data-draggable=\"true\"]`,\n animation: 150,\n forceFallback: true,\n fallbackOnBody: true,\n scrollSensitivity: 80,\n forceAutoScrollFallback: true,\n onUpdate: (evt: SortableEvent) => {\n if (evt.oldIndex == null || evt.newIndex == null) {\n throw new Error('Sortable event has no index');\n }\n if (props.onDragEnd?.(evt.oldIndex, evt.newIndex) !== false) {\n moveItems(getOffset() + evt.oldIndex, getOffset() + evt.newIndex, true);\n }\n },\n });\n watch(\n [elRef, () => props.disableDragging, toggler],\n ([elRef, disabled, on]) => {\n if (!elRef || disabled || !on) {\n sortable.stop();\n } else {\n sortable.start();\n }\n },\n { immediate: true },\n );\n\n return sortable;\n}\n\nfunction moveItems(oldIndex: number, newIndex: number, afterUpdateDom: boolean) {\n if (oldIndex === newIndex) return;\n\n if (afterUpdateDom) {\n domProjectionItemsRef.value = moveElements(itemsRef.value.slice(), oldIndex, newIndex);\n }\n\n const preventDefault = props.onSort?.(oldIndex, newIndex) === false;\n\n if (!preventDefault) {\n moveElements(itemsRef.value, oldIndex, newIndex);\n }\n}\n\nfunction isActiveItem(item: T, index: number): boolean {\n return props.isActive?.(item, index) ?? false;\n}\n\nfunction isDraggableItem(item: T, index: number): boolean {\n if (props.disableDragging === true) return false;\n return (props.isDraggable?.(item, index) ?? true);\n}\n\nfunction isRemovableItem(item: T, index: number): boolean {\n if (props.disableRemoving === true) return false;\n return (props.isRemovable?.(item, index) ?? true);\n}\n\nfunction isToggableItem(item: T, index: number): boolean {\n if (props.disableToggling === true) return false;\n return (props.isToggable?.(item, index) ?? (isFunction(props.isToggled) || isFunction(props.onToggle)));\n}\n\nfunction isToggledItem(item: T, index: number): boolean {\n return props.isToggled?.(item, index) ?? false;\n}\n\nfunction isPinnableItem(item: T, index: number): boolean {\n if (props.disablePinning === true) return false;\n return (props.isPinnable?.(item, index) ?? (isFunction(props.isPinned) || isFunction(props.onPin)));\n}\n\nfunction isPinnedItem(item: T, index: number): boolean {\n return props.isPinned?.(item, index) ?? false;\n}\n\nfunction isExpandableItem(item: T, index: number): boolean {\n if (props.disableExpanding === true) return false;\n return (props.isExpandable?.(item, index) ?? (isFunction(props.isExpanded) || isFunction(props.onExpand)));\n}\n\nfunction isExpandedItem(item: T, index: number): boolean {\n return props.isExpanded?.(item, index) ?? false;\n}\n\nfunction handleExpand(item: T, index: number) {\n props.onExpand?.(item, index);\n}\n\nfunction handleToggle(item: T, index: number) {\n props.onToggle?.(item, index);\n}\n\nfunction handlePin(item: T, index: number) {\n if (index === -1) {\n throw new Error('Pinnable item not found');\n }\n\n const alreadyPinned = pinnedItemsRef.value.includes(item);\n\n if (props.onPin?.(item, index) === false) return;\n\n moveItems(index, pinnedItemsRef.value.length + (alreadyPinned ? 0 : -1), false);\n}\n\nfunction handleRemove(item: T, index: number) {\n if (props.onRemove?.(item, index) === false) return;\n itemsRef.value.splice(index, 1);\n}\n\nconst getItemClass = (item: T, index: number): null | string | string[] => {\n if (typeof props.itemClass === 'function') {\n return props.itemClass(item, index);\n }\n return props.itemClass ?? null;\n};\n\n</script>\n\n<template>\n <div :class=\"$style.root\">\n <div ref=\"pinnedContainerRef\" :class=\"$style.list\">\n <PlElementListItem\n v-for=\"(pinnedItem, pinnedIndex) in pinnedItemsRef\" :key=\"pinnedKeysRef[pinnedIndex]\"\n :class=\"[$style.item, getItemClass(pinnedItem, pinnedIndex)]\"\n\n :index=\"pinnedIndex\"\n :item=\"pinnedItem\"\n :showDragHandle=\"dndSortingEnabled\"\n :isActive=\"isActiveItem(pinnedItem, pinnedIndex)\"\n :isDraggable=\"isDraggableItem(pinnedItem, pinnedIndex)\"\n :isRemovable=\"isRemovableItem(pinnedItem, pinnedIndex)\"\n :isToggable=\"isToggableItem(pinnedItem, pinnedIndex)\"\n :isToggled=\"isToggledItem(pinnedItem, pinnedIndex)\"\n :isPinnable=\"isPinnableItem(pinnedItem, pinnedIndex)\"\n :isPinned=\"true\"\n :isExpandable=\"isExpandableItem(pinnedItem, pinnedIndex)\"\n :isExpanded=\"isExpandedItem(pinnedItem, pinnedIndex)\"\n\n @click=\"emits('itemClick', pinnedItem)\"\n @remove=\"handleRemove\"\n @toggle=\"handleToggle\"\n @pin=\"handlePin\"\n @expand=\"handleExpand\"\n >\n <template #title=\"{ item, index }\">\n <slot :index=\"index\" :item=\"item\" name=\"item-title\" />\n </template>\n <template v-if=\"slots['item-content']\" #content=\"{ item, index }\">\n <slot :index=\"index\" :item=\"item\" name=\"item-content\" />\n </template>\n </PlElementListItem>\n </div>\n <div v-if=\"hasUnpinnedItems\" ref=\"unpinnedContainerRef\" :class=\"$style.list\">\n <PlElementListItem\n v-for=\"(unpinnedItem, unpinnedIndex) in unpinnedItemsRef\" :key=\"unpinnedKeysRef[unpinnedIndex]\"\n :class=\"[$style.item, getItemClass(unpinnedItem, unpinnedIndex)]\"\n\n :index=\"unpinnedIndex + (pinnedItemsRef?.length ?? 0)\"\n :item=\"unpinnedItem\"\n :showDragHandle=\"dndSortingEnabled\"\n :isActive=\"isActiveItem(unpinnedItem, unpinnedIndex)\"\n :isDraggable=\"isDraggableItem(unpinnedItem, unpinnedIndex)\"\n :isRemovable=\"isRemovableItem(unpinnedItem, unpinnedIndex)\"\n :isToggable=\"isToggableItem(unpinnedItem, unpinnedIndex)\"\n :isToggled=\"isToggledItem(unpinnedItem, unpinnedIndex)\"\n :isPinnable=\"isPinnableItem(unpinnedItem, unpinnedIndex)\"\n :isPinned=\"false\"\n :isExpandable=\"isExpandableItem(unpinnedItem, unpinnedIndex)\"\n :isExpanded=\"isExpandedItem(unpinnedItem, unpinnedIndex)\"\n\n @click=\"emits('itemClick', unpinnedItem)\"\n @remove=\"handleRemove\"\n @toggle=\"handleToggle\"\n @pin=\"handlePin\"\n @expand=\"handleExpand\"\n >\n <template #title=\"{ item, index }\">\n <slot :index=\"index\" :item=\"item\" name=\"item-title\" />\n </template>\n <template v-if=\"slots['item-content']\" #content=\"{ item, index }\">\n <slot :index=\"index\" :item=\"item\" name=\"item-content\" />\n </template>\n </PlElementListItem>\n </div>\n </div>\n</template>\n\n<style module>\n.root, .list {\n display: flex;\n flex-direction: column;\n gap: 8px;\n min-width: 180px;\n}\n\n.item {\n width: 100%;\n}\n\n:global(.sortable-ghost) {\n visibility: hidden;\n}\n:global(.sortable-drag) {\n opacity: 1;\n}\n</style>\n"],"names":["itemsRef","_useModel","__props","props","emits","__emit","slots","_useSlots","dndSortingEnabled","computed","pinnedItemsRef","isPinnedItem","hasPinnedItems","unpinnedItemsRef","item","index","hasUnpinnedItems","domProjectionItemsRef","shallowRef","pinnedContainerRef","unpinnedContainerRef","getKey","versionRef","pinnedKeysRef","unpinnedKeysRef","oldVersion","currentKeys","shallowHash","domProjectionKeys","domProjectionKeysSet","i","createSortable","toggler","elRef","getOffset","sortable","useSortable","evt","_a","moveItems","watch","disabled","on","oldIndex","newIndex","afterUpdateDom","moveElements","isActiveItem","isDraggableItem","isRemovableItem","isToggableItem","isFunction","isToggledItem","isPinnableItem","isExpandableItem","isExpandedItem","handleExpand","handleToggle","handlePin","alreadyPinned","handleRemove","getItemClass"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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