@milaboratories/uikit 2.2.82 → 2.2.83
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/CHANGELOG.md +6 -0
- package/dist/pl-uikit.css +1 -1
- package/dist/pl-uikit.js +3678 -3692
- package/dist/pl-uikit.js.map +1 -1
- package/dist/src/base/BtnBase.vue.d.ts.map +1 -1
- package/dist/src/components/DataTable/index.d.ts.map +1 -1
- package/dist/src/components/DropdownListItem.vue.d.ts.map +1 -1
- package/dist/src/components/GridTable/constants.d.ts.map +1 -1
- package/dist/src/components/GridTable/types.d.ts.map +1 -1
- package/dist/src/components/PlAutocomplete/PlAutocomplete.vue.d.ts.map +1 -1
- package/dist/src/components/PlBtnAccent/PlBtnAccent.vue.d.ts.map +1 -1
- package/dist/src/components/PlBtnDanger/PlBtnDanger.vue.d.ts.map +1 -1
- package/dist/src/components/PlBtnGhost/PlBtnGhost.vue.d.ts.map +1 -1
- package/dist/src/components/PlBtnGroup/PlBtnGroup.vue.d.ts.map +1 -1
- package/dist/src/components/PlBtnLink/PlBtnLink.vue.d.ts.map +1 -1
- package/dist/src/components/PlBtnPrimary/PlBtnPrimary.vue.d.ts.map +1 -1
- package/dist/src/components/PlBtnSecondary/PlBtnSecondary.vue.d.ts.map +1 -1
- package/dist/src/components/PlBtnSplit/PlBtnSplit.vue.d.ts.map +1 -1
- package/dist/src/components/PlChartStackedBar/Legends.vue.d.ts.map +1 -1
- package/dist/src/components/PlChartStackedBar/types.d.ts.map +1 -1
- package/dist/src/components/PlCheckboxGroup/PlCheckboxGroup.vue.d.ts.map +1 -1
- package/dist/src/components/PlClipboard/PlClipboard.vue.d.ts.map +1 -1
- package/dist/src/components/PlDialogModal/PlDialogModal.vue.d.ts.map +1 -1
- package/dist/src/components/PlDropdown/PlDropdown.vue.d.ts.map +1 -1
- package/dist/src/components/PlDropdownLegacy/PlDropdownLegacy.vue.d.ts.map +1 -1
- package/dist/src/components/PlDropdownLine/PlDropdownLine.vue.d.ts.map +1 -1
- package/dist/src/components/PlDropdownMulti/PlDropdownMulti.vue.d.ts.map +1 -1
- package/dist/src/components/PlDropdownMultiRef/PlDropdownMultiRef.vue.d.ts.map +1 -1
- package/dist/src/components/PlDropdownRef/PlDropdownRef.vue.d.ts.map +1 -1
- package/dist/src/components/PlErrorBoundary/PlErrorBoundary.vue.d.ts.map +1 -1
- package/dist/src/components/PlFileDialog/Local.vue.d.ts.map +1 -1
- package/dist/src/components/PlFileDialog/PlFileDialog.vue.d.ts.map +1 -1
- package/dist/src/components/PlFileDialog/Remote.vue.d.ts.map +1 -1
- package/dist/src/components/PlFileInput/PlFileInput.vue.d.ts.map +1 -1
- package/dist/src/components/PlIcon16/PlIcon16.vue.d.ts.map +1 -1
- package/dist/src/components/PlIcon24/PlIcon24.vue.d.ts.map +1 -1
- package/dist/src/components/PlMaskIcon16/PlMaskIcon16.vue.d.ts.map +1 -1
- package/dist/src/components/PlMaskIcon24/PlMaskIcon24.vue.d.ts.map +1 -1
- package/dist/src/components/PlTextArea/PlTextArea.vue.d.ts.map +1 -1
- package/dist/src/components/PlTextField/PlTextField.vue.d.ts.map +1 -1
- package/dist/src/components/Slider.vue.d.ts.map +1 -1
- package/dist/src/components/SliderRange.vue.d.ts.map +1 -1
- package/dist/src/components/SliderRangeTriple.vue.d.ts.map +1 -1
- package/dist/src/components/TabItem.vue.d.ts.map +1 -1
- package/dist/src/composition/useComponentProp.d.ts.map +1 -1
- package/dist/src/composition/useDraggable.d.ts.map +1 -1
- package/dist/src/composition/useEventListener.d.ts.map +1 -1
- package/dist/src/composition/useFilteredList.d.ts.map +1 -1
- package/dist/src/composition/useHover.d.ts.map +1 -1
- package/dist/src/composition/useMouseCapture.d.ts.map +1 -1
- package/dist/src/composition/usePosition.d.ts.map +1 -1
- package/dist/src/composition/useResizeObserver.d.ts.map +1 -1
- package/dist/src/generated/components/svg/images/Svg16Add.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Add.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Attention.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Attention.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Checkmark.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Checkmark.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16CheckmarkDark.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16CheckmarkDark.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16ChevronDown.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16ChevronDown.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16ChevronLeft.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16ChevronLeft.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16ChevronRight.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16ChevronRight.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16ChevronUp.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16ChevronUp.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Clear.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Clear.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Clipboard.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Clipboard.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Close.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Close.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Compare.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Compare.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Down.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Down.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Import.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Import.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Info.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Info.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16InfoDark.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16InfoDark.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Link.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Link.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Loading.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Loading.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Maximise.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Maximise.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Play.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Play.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg16Up.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg16Up.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24ArrowRight.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24ArrowRight.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkDisabledChecked.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkDisabledChecked.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkDisabledIndeterminate.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkDisabledIndeterminate.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkDisabledUnchecked.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkDisabledUnchecked.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkEnabledChecked.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkEnabledChecked.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkEnabledIndeterminate.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkEnabledIndeterminate.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkEnabledUnchecked.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxDarkEnabledUnchecked.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightDisabledChecked.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightDisabledChecked.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightDisabledIndeterminate.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightDisabledIndeterminate.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightDisabledUnchecked.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightDisabledUnchecked.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightEnabledChecked.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightEnabledChecked.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightEnabledIndeterminate.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightEnabledIndeterminate.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightEnabledUnchecked.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24CheckboxLightEnabledUnchecked.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24Clips.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24Clips.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24Close.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24Close.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24Code.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24Code.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24Columns.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24Columns.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24DarkMode.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24DarkMode.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24Filters.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24Filters.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24LightMode.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24LightMode.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24Local.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24Local.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24PaperClip.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24PaperClip.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24Search.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24Search.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24ServerOn.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24ServerOn.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/Svg24Settings2.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/Svg24Settings2.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/SvgAddGraphBg.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/SvgAddGraphBg.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/SvgColorSliderThumbBig.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/SvgColorSliderThumbBig.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/SvgColorSliderThumbSmall.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/SvgColorSliderThumbSmall.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/SvgEmptyCat.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/SvgEmptyCat.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/SvgNoDataCat.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/SvgNoDataCat.vue.d.ts.map +1 -0
- package/dist/src/generated/components/svg/images/SvgRequired.vue.d.ts +4 -0
- package/dist/src/generated/components/svg/images/SvgRequired.vue.d.ts.map +1 -0
- package/dist/tsconfig.lib.tsbuildinfo +1 -1
- package/package.json +5 -4
- package/scripts/create-svg-components.js +125 -0
- package/scripts/parse-icons.js +19 -7
- package/src/__tests__/compositions/useValidation.spec.ts +1 -1
- package/src/assets/icons/icons-16-generated.scss +68 -68
- package/src/assets/icons/icons-24-generated.scss +204 -204
- package/src/assets/icons/icons-set.scss +4 -4
- package/src/assets/mixins.scss +0 -7
- package/src/base/BtnBase.vue +3 -3
- package/src/components/DataTable/TScroll.vue +1 -1
- package/src/components/DataTable/TableComponent.vue +1 -1
- package/src/components/DataTable/assets/data-table-style.scss +1 -1
- package/src/components/DataTable/composition/useColumn.ts +2 -2
- package/src/components/DataTable/composition/useResize.ts +2 -2
- package/src/components/DataTable/index.ts +1 -1
- package/src/components/DropdownListItem.vue +3 -3
- package/src/components/GridTable/assets/style.scss +1 -1
- package/src/components/GridTable/constants.ts +1 -1
- package/src/components/GridTable/index.vue +2 -2
- package/src/components/GridTable/types.ts +1 -1
- package/src/components/GridTable/useColumn.ts +2 -2
- package/src/components/GridTable/useResize.ts +2 -2
- package/src/components/HScroll.vue +2 -2
- package/src/components/PlAlert/pl-alert.scss +2 -2
- package/src/components/PlAutocomplete/PlAutocomplete.vue +14 -13
- package/src/components/PlAutocomplete/pl-autocomplete.scss +2 -2
- package/src/components/PlBtnAccent/PlBtnAccent.vue +2 -2
- package/src/components/PlBtnAccent/pl-btn-accent.scss +1 -1
- package/src/components/PlBtnDanger/PlBtnDanger.vue +2 -2
- package/src/components/PlBtnDanger/pl-btn-danger.scss +1 -1
- package/src/components/PlBtnGhost/PlBtnGhost.vue +3 -3
- package/src/components/PlBtnGhost/pl-btn-ghost.scss +2 -1
- package/src/components/PlBtnGroup/PlBtnGroup.vue +4 -4
- package/src/components/PlBtnGroup/pl-btn-group.scss +1 -1
- package/src/components/PlBtnLink/PlBtnLink.vue +2 -2
- package/src/components/PlBtnLink/pl-btn-link.scss +1 -1
- package/src/components/PlBtnPrimary/PlBtnPrimary.vue +2 -2
- package/src/components/PlBtnPrimary/pl-btn-primary.scss +1 -1
- package/src/components/PlBtnSecondary/PlBtnSecondary.vue +2 -2
- package/src/components/PlBtnSecondary/pl-btn-secondary.scss +1 -1
- package/src/components/PlBtnSplit/PlBtnSplit.vue +3 -3
- package/src/components/PlChartStackedBar/Legends.vue +1 -1
- package/src/components/PlChartStackedBar/types.ts +1 -1
- package/src/components/PlCheckbox/pl-checkbox-base.scss +12 -12
- package/src/components/PlCheckboxGroup/PlCheckboxGroup.vue +2 -2
- package/src/components/PlChip/PlChip.vue +1 -1
- package/src/components/PlChip/pl-chip.scss +2 -2
- package/src/components/PlClipboard/PlClipboard.vue +2 -2
- package/src/components/PlDialogModal/PlDialogModal.vue +3 -3
- package/src/components/PlDialogModal/pl-dialog-modal.scss +1 -1
- package/src/components/PlDropdown/PlDropdown.vue +13 -12
- package/src/components/PlDropdown/pl-dropdown.scss +2 -2
- package/src/components/PlDropdownLegacy/PlDropdownLegacy.vue +13 -12
- package/src/components/PlDropdownLegacy/pl-dropdown-legacy.scss +3 -3
- package/src/components/PlDropdownLine/PlDropdownLine.vue +10 -10
- package/src/components/PlDropdownLine/pl-dropdown-line.scss +4 -4
- package/src/components/PlDropdownMulti/PlDropdownMulti.vue +13 -12
- package/src/components/PlDropdownMulti/pl-dropdown-multi.scss +8 -8
- package/src/components/PlDropdownMultiRef/PlDropdownMultiRef.vue +1 -1
- package/src/components/PlDropdownRef/PlDropdownRef.vue +1 -1
- package/src/components/PlEditableTitle/PlEditableTitle.vue +1 -1
- package/src/components/PlEditableTitle/pl-editable-title.module.scss +2 -2
- package/src/components/PlErrorAlert/PlErrorAlert.vue +2 -2
- package/src/components/PlErrorBoundary/PlErrorBoundary.vue +1 -1
- package/src/components/PlFileDialog/Local.vue +1 -1
- package/src/components/PlFileDialog/PlFileDialog.vue +1 -1
- package/src/components/PlFileDialog/Remote.vue +2 -2
- package/src/components/PlFileDialog/pl-file-dialog.module.scss +3 -3
- package/src/components/PlFileInput/PlFileInput.vue +8 -7
- package/src/components/PlFileInput/pl-file-input.scss +1 -1
- package/src/components/PlIcon16/PlIcon16.vue +1 -1
- package/src/components/PlIcon24/PlIcon24.vue +1 -1
- package/src/components/PlLogView/PlLogView.vue +2 -2
- package/src/components/PlLogView/pl-log-view.scss +1 -1
- package/src/components/PlMaskIcon16/PlMaskIcon16.vue +1 -1
- package/src/components/PlMaskIcon24/PlMaskIcon24.vue +1 -1
- package/src/components/PlNumberField/PlNumberField.vue +3 -3
- package/src/components/PlProgressCell/PlProgressCell.vue +1 -1
- package/src/components/PlSlideModal/PlSlideModal.vue +2 -2
- package/src/components/PlSlideModal/pl-slide-modal.scss +2 -2
- package/src/components/PlSplash/PlSplash.vue +1 -1
- package/src/components/PlTabs/pl-tabs.module.scss +1 -1
- package/src/components/PlTextArea/PlTextArea.vue +7 -6
- package/src/components/PlTextArea/pl-textarea.scss +1 -1
- package/src/components/PlTextField/PlTextField.vue +7 -6
- package/src/components/PlTextField/pl-text-field.scss +1 -1
- package/src/components/PlTooltip/PlTooltip.vue +2 -2
- package/src/components/PlTooltip/useTooltipPosition.ts +2 -2
- package/src/components/Scrollable.vue +4 -4
- package/src/components/Slider.vue +7 -7
- package/src/components/SliderRange.vue +8 -8
- package/src/components/SliderRangeTriple.vue +7 -7
- package/src/components/TabItem.vue +1 -1
- package/src/components/ThemeSwitcher.vue +1 -1
- package/src/components/VScroll.vue +2 -2
- package/src/composition/useClickOutside.ts +2 -2
- package/src/composition/useComponentProp.ts +1 -1
- package/src/composition/useDraggable.ts +1 -1
- package/src/composition/useEventListener.ts +1 -1
- package/src/composition/useFilteredList.ts +2 -2
- package/src/composition/useHover.ts +1 -1
- package/src/composition/useMouseCapture.ts +2 -2
- package/src/composition/useNotificationPosition.ts +2 -2
- package/src/composition/usePosition.ts +3 -3
- package/src/composition/useResizeObserver.ts +4 -4
- package/src/composition/useScroll.ts +2 -2
- package/src/composition/useSliderBreakpoints.ts +1 -1
- package/src/composition/useTheme.ts +2 -2
- package/src/drafts/FileBaseInput.vue +2 -2
- package/src/generated/components/svg/images/Svg16Add.vue +13 -0
- package/src/generated/components/svg/images/Svg16Attention.vue +13 -0
- package/src/generated/components/svg/images/Svg16Checkmark.vue +13 -0
- package/src/generated/components/svg/images/Svg16CheckmarkDark.vue +13 -0
- package/src/generated/components/svg/images/Svg16ChevronDown.vue +13 -0
- package/src/generated/components/svg/images/Svg16ChevronLeft.vue +13 -0
- package/src/generated/components/svg/images/Svg16ChevronRight.vue +13 -0
- package/src/generated/components/svg/images/Svg16ChevronUp.vue +13 -0
- package/src/generated/components/svg/images/Svg16Clear.vue +13 -0
- package/src/generated/components/svg/images/Svg16Clipboard.vue +13 -0
- package/src/generated/components/svg/images/Svg16Close.vue +13 -0
- package/src/generated/components/svg/images/Svg16Compare.vue +13 -0
- package/src/generated/components/svg/images/Svg16Down.vue +13 -0
- package/src/generated/components/svg/images/Svg16Import.vue +13 -0
- package/src/generated/components/svg/images/Svg16Info.vue +13 -0
- package/src/generated/components/svg/images/Svg16InfoDark.vue +13 -0
- package/src/generated/components/svg/images/Svg16Link.vue +13 -0
- package/src/generated/components/svg/images/Svg16Loading.vue +13 -0
- package/src/generated/components/svg/images/Svg16Maximise.vue +13 -0
- package/src/generated/components/svg/images/Svg16Play.vue +13 -0
- package/src/generated/components/svg/images/Svg16Up.vue +13 -0
- package/src/generated/components/svg/images/Svg24ArrowRight.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxDarkDisabledChecked.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxDarkDisabledIndeterminate.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxDarkDisabledUnchecked.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxDarkEnabledChecked.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxDarkEnabledIndeterminate.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxDarkEnabledUnchecked.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxLightDisabledChecked.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxLightDisabledIndeterminate.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxLightDisabledUnchecked.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxLightEnabledChecked.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxLightEnabledIndeterminate.vue +13 -0
- package/src/generated/components/svg/images/Svg24CheckboxLightEnabledUnchecked.vue +13 -0
- package/src/generated/components/svg/images/Svg24Clips.vue +13 -0
- package/src/generated/components/svg/images/Svg24Close.vue +13 -0
- package/src/generated/components/svg/images/Svg24Code.vue +13 -0
- package/src/generated/components/svg/images/Svg24Columns.vue +13 -0
- package/src/generated/components/svg/images/Svg24DarkMode.vue +13 -0
- package/src/generated/components/svg/images/Svg24Filters.vue +13 -0
- package/src/generated/components/svg/images/Svg24LightMode.vue +13 -0
- package/src/generated/components/svg/images/Svg24Local.vue +13 -0
- package/src/generated/components/svg/images/Svg24PaperClip.vue +13 -0
- package/src/generated/components/svg/images/Svg24Search.vue +13 -0
- package/src/generated/components/svg/images/Svg24ServerOn.vue +13 -0
- package/src/generated/components/svg/images/Svg24Settings2.vue +13 -0
- package/src/generated/components/svg/images/SvgAddGraphBg.vue +13 -0
- package/src/generated/components/svg/images/SvgColorSliderThumbBig.vue +13 -0
- package/src/generated/components/svg/images/SvgColorSliderThumbSmall.vue +13 -0
- package/src/generated/components/svg/images/SvgEmptyCat.vue +13 -0
- package/src/generated/components/svg/images/SvgNoDataCat.vue +13 -0
- package/src/generated/components/svg/images/SvgRequired.vue +13 -0
- package/src/generated/components/svg/svg-styles.css +5 -0
- package/src/global/resizeObserver.ts +1 -1
- package/src/helpers/dom.ts +1 -1
- package/src/index.ts +1 -1
- package/src/layout/PlBlockPage/PlBlockPage.vue +1 -1
- package/src/layout/PlBlockPage/pl-block-page.scss +1 -1
- package/src/layout/PlContainer/PlContainer.vue +1 -1
- package/src/utils/DropdownOverlay/DropdownOverlay.vue +2 -2
- package/src/utils/PlCloseModalBtn.vue +2 -2
- package/src/utils/useLabelNotch.ts +4 -4
- package/tsconfig.lib.json +1 -4
- package/tsconfig.node.json +1 -4
- package/vite.config.ts +0 -7
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
@each $name, $path in $icons16 {
|
|
14
14
|
&.icon-#{$name} {
|
|
15
|
-
background:
|
|
15
|
+
background: #{$path};
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
@each $name, $path in $icons24 {
|
|
29
29
|
&.icon-#{$name} {
|
|
30
|
-
background:
|
|
30
|
+
background: #{$path};
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
|
|
39
39
|
@each $name, $path in $icons16 {
|
|
40
40
|
&.mask-#{$name} {
|
|
41
|
-
@include mask-var(
|
|
41
|
+
@include mask-var(#{$path});
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
}
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
|
|
50
50
|
@each $name, $path in $icons24 {
|
|
51
51
|
&.mask-#{$name} {
|
|
52
|
-
@include mask-var(
|
|
52
|
+
@include mask-var(#{$path});
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
package/src/assets/mixins.scss
CHANGED
package/src/base/BtnBase.vue
CHANGED
|
@@ -5,10 +5,10 @@ export default {
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
|
-
import type { MaskIconName16, Size } from '
|
|
8
|
+
import type { MaskIconName16, Size } from '../types';
|
|
9
9
|
import { computed, ref } from 'vue';
|
|
10
|
-
import { PlMaskIcon16 } from '
|
|
11
|
-
import { useRipple } from '
|
|
10
|
+
import { PlMaskIcon16 } from '../components/PlMaskIcon16';
|
|
11
|
+
import { useRipple } from '../composition/useRipple';
|
|
12
12
|
|
|
13
13
|
const props = defineProps<{
|
|
14
14
|
loading?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { computed, ref } from 'vue';
|
|
3
|
-
import { useMouseCapture } from '
|
|
3
|
+
import { useMouseCapture } from '../../composition/useMouseCapture';
|
|
4
4
|
|
|
5
5
|
const emit = defineEmits<{
|
|
6
6
|
(e: 'change:offset', value: number): void;
|
|
@@ -8,7 +8,7 @@ import TrHead from './TrHead.vue';
|
|
|
8
8
|
import ThCell from './ThCell.vue';
|
|
9
9
|
import TrBody from './TrBody.vue';
|
|
10
10
|
import ColumnCaret from './ColumnCaret.vue';
|
|
11
|
-
import { useEventListener } from '
|
|
11
|
+
import { useEventListener } from '../../index';
|
|
12
12
|
import { tapIf } from '@milaboratories/helpers';
|
|
13
13
|
import { useResize } from './composition/useResize';
|
|
14
14
|
import RowsCommandMenu from './RowsCommandMenu.vue';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useEventListener } from '
|
|
1
|
+
import { useEventListener } from '../../../composition/useEventListener.ts';
|
|
2
2
|
import { useMouseUp } from './useMouseUp';
|
|
3
|
-
import { requestTick } from '
|
|
3
|
+
import { requestTick } from '../../../helpers';
|
|
4
4
|
|
|
5
5
|
export function useColumn(cb: (state: { x: number; width: number; diff: number }) => void, clear: () => void) {
|
|
6
6
|
let state = undefined as { x: number; width: number } | undefined;
|
|
@@ -3,8 +3,8 @@ import { watchEffect, unref } from 'vue';
|
|
|
3
3
|
import type { ResizeTh } from '../types';
|
|
4
4
|
import { useColumn } from './useColumn';
|
|
5
5
|
import { MIN_COLUMN_WIDTH, RESIZE_GAP } from '../constants';
|
|
6
|
-
import { useMouse } from '
|
|
7
|
-
import { useHover } from '
|
|
6
|
+
import { useMouse } from '../../../composition/useMouse';
|
|
7
|
+
import { useHover } from '../../../composition/useHover';
|
|
8
8
|
import { tapIf, clamp } from '@milaboratories/helpers';
|
|
9
9
|
import { identity } from '@milaboratories/helpers';
|
|
10
10
|
import type { State } from '../state';
|
|
@@ -5,7 +5,7 @@ import type { RawTableSettings } from './types';
|
|
|
5
5
|
import type { ComputedRef } from 'vue';
|
|
6
6
|
import { computed, h, reactive, unref } from 'vue';
|
|
7
7
|
import { RawData } from './adapters/RawData';
|
|
8
|
-
import type { MaybeRef } from '
|
|
8
|
+
import type { MaybeRef } from '../../types';
|
|
9
9
|
export { AsyncData } from './adapters/AsyncData';
|
|
10
10
|
|
|
11
11
|
type AnyRef<T> = MaybeRef<T> | ComputedRef<T>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { computed } from 'vue';
|
|
3
|
-
import CheckboxUncheckedSvg from '
|
|
4
|
-
import CheckboxCheckedSvg from '
|
|
5
|
-
import type { ListOptionNormalized } from '
|
|
3
|
+
import CheckboxUncheckedSvg from '../assets/images/24_checkbox-light-enabled-unchecked.svg?raw';
|
|
4
|
+
import CheckboxCheckedSvg from '../assets/images/24_checkbox-light-enabled-checked.svg?raw';
|
|
5
|
+
import type { ListOptionNormalized } from '../types';
|
|
6
6
|
|
|
7
7
|
const props = withDefaults(
|
|
8
8
|
defineProps<{
|
|
@@ -10,8 +10,8 @@ import TableIcon from './assets/TableIcon.vue';
|
|
|
10
10
|
import ThCell from './ThCell.vue';
|
|
11
11
|
import TRow from './TRow.vue';
|
|
12
12
|
import { compareRecords } from './domain';
|
|
13
|
-
import { throttle } from '
|
|
14
|
-
import { useEventListener } from '
|
|
13
|
+
import { throttle } from '../../helpers/utils';
|
|
14
|
+
import { useEventListener } from '../../index';
|
|
15
15
|
|
|
16
16
|
const minRowHeight = 40;
|
|
17
17
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { useEventListener } from '
|
|
1
|
+
import { useEventListener } from '../../composition/useEventListener.ts';
|
|
2
2
|
import { useMouseUp } from './useMouseUp';
|
|
3
|
-
import { requestTick } from '
|
|
3
|
+
import { requestTick } from '../../helpers';
|
|
4
4
|
|
|
5
5
|
export function useColumn(cb: (state: { x: number; width: number; diff: number }) => void, clear: () => void) {
|
|
6
6
|
let state = undefined as { x: number; width: number } | undefined;
|
|
@@ -4,8 +4,8 @@ import type { Data } from './types';
|
|
|
4
4
|
import { useColumn } from './useColumn';
|
|
5
5
|
import { getColumnPositions } from './getColumnPositions';
|
|
6
6
|
import { MIN_COLUMN_WIDTH, RESIZE_GAP } from './constants';
|
|
7
|
-
import { useMouse } from '
|
|
8
|
-
import { useHover } from '
|
|
7
|
+
import { useMouse } from '../../composition/useMouse';
|
|
8
|
+
import { useHover } from '../../composition/useHover';
|
|
9
9
|
import { utils } from '@milaboratories/helpers';
|
|
10
10
|
|
|
11
11
|
const { tapIf, clamp } = utils;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { computed, ref, unref } from 'vue';
|
|
3
|
-
import { useEventListener } from '
|
|
4
|
-
import { eventListener } from '
|
|
3
|
+
import { useEventListener } from '../composition/useEventListener';
|
|
4
|
+
import { eventListener } from '../helpers/dom';
|
|
5
5
|
|
|
6
6
|
const emit = defineEmits(['update:scrollLeft']);
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.pl-alert {
|
|
4
4
|
--text-font-family: var(--font-family-base);
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
right: 12px;
|
|
75
75
|
cursor: pointer;
|
|
76
76
|
background-color: #d3d7e0;
|
|
77
|
-
@include mask(url(
|
|
77
|
+
@include mask(url(../../assets/images/24_close.svg), 24px);
|
|
78
78
|
transition: all 0.1s ease-in-out;
|
|
79
79
|
&:hover {
|
|
80
80
|
background-color: var(--main-dark-color);
|
|
@@ -10,21 +10,22 @@ export default {
|
|
|
10
10
|
<script lang="ts" setup generic="M = unknown">
|
|
11
11
|
import './pl-autocomplete.scss';
|
|
12
12
|
import { computed, reactive, ref, unref, useSlots, useTemplateRef, watch, watchPostEffect } from 'vue';
|
|
13
|
-
import { tap } from '
|
|
14
|
-
import { PlTooltip } from '
|
|
15
|
-
import DoubleContour from '
|
|
16
|
-
import { useLabelNotch } from '
|
|
17
|
-
import type { ListOption, ListOptionNormalized } from '
|
|
18
|
-
import { deepEqual } from '
|
|
19
|
-
import DropdownListItem from '
|
|
20
|
-
import LongText from '
|
|
21
|
-
import { normalizeListOptions } from '
|
|
13
|
+
import { tap } from '../../helpers/functions';
|
|
14
|
+
import { PlTooltip } from '../PlTooltip';
|
|
15
|
+
import DoubleContour from '../../utils/DoubleContour.vue';
|
|
16
|
+
import { useLabelNotch } from '../../utils/useLabelNotch';
|
|
17
|
+
import type { ListOption, ListOptionNormalized } from '../../types';
|
|
18
|
+
import { deepEqual } from '../../helpers/objects';
|
|
19
|
+
import DropdownListItem from '../DropdownListItem.vue';
|
|
20
|
+
import LongText from '../LongText.vue';
|
|
21
|
+
import { normalizeListOptions } from '../../helpers/utils';
|
|
22
22
|
import { PlIcon16 } from '../PlIcon16';
|
|
23
23
|
import { PlMaskIcon24 } from '../PlMaskIcon24';
|
|
24
|
-
import { DropdownOverlay } from '
|
|
24
|
+
import { DropdownOverlay } from '../../utils/DropdownOverlay';
|
|
25
25
|
import { refDebounced } from '@vueuse/core';
|
|
26
|
-
import { useWatchFetch } from '
|
|
27
|
-
import
|
|
26
|
+
import { useWatchFetch } from '../../composition/useWatchFetch.ts';
|
|
27
|
+
import SvgRequired from '../../generated/components/svg/images/SvgRequired.vue';
|
|
28
|
+
import { getErrorMessage } from '../../helpers/error.ts';
|
|
28
29
|
|
|
29
30
|
/**
|
|
30
31
|
* The current selected value.
|
|
@@ -372,7 +373,7 @@ watch(() => optionsRequest.loading || modelOptionRequest.loading, (loading) => {
|
|
|
372
373
|
</div>
|
|
373
374
|
</div>
|
|
374
375
|
<label v-if="label">
|
|
375
|
-
<
|
|
376
|
+
<SvgRequired v-if="required" />
|
|
376
377
|
<span>{{ label }}</span>
|
|
377
378
|
<PlTooltip v-if="slots.tooltip" class="info" position="top">
|
|
378
379
|
<template #tooltip>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.pl-autocomplete__options {
|
|
4
4
|
--option-hover-bg: var(--btn-sec-hover-grey);
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
&.arrow-icon-default {
|
|
215
215
|
transition: transform .2s;
|
|
216
216
|
background-color: var(--control-mask-fill);
|
|
217
|
-
@include mask(url('
|
|
217
|
+
@include mask(url('../../assets/images/16_chevron-down.svg'), 16px);
|
|
218
218
|
}
|
|
219
219
|
}
|
|
220
220
|
|
|
@@ -9,8 +9,8 @@ export default {
|
|
|
9
9
|
|
|
10
10
|
<script lang="ts" setup>
|
|
11
11
|
import './pl-btn-accent.scss';
|
|
12
|
-
import type { MaskIconName16, Size } from '
|
|
13
|
-
import BtnBase from '
|
|
12
|
+
import type { MaskIconName16, Size } from '../../types';
|
|
13
|
+
import BtnBase from '../../base/BtnBase.vue';
|
|
14
14
|
|
|
15
15
|
const props = defineProps<{
|
|
16
16
|
/**
|
|
@@ -9,8 +9,8 @@ export default {
|
|
|
9
9
|
|
|
10
10
|
<script lang="ts" setup>
|
|
11
11
|
import './pl-btn-danger.scss';
|
|
12
|
-
import type { MaskIconName16, Size } from '
|
|
13
|
-
import BtnBase from '
|
|
12
|
+
import type { MaskIconName16, Size } from '../../types';
|
|
13
|
+
import BtnBase from '../../base/BtnBase.vue';
|
|
14
14
|
|
|
15
15
|
const props = defineProps<{
|
|
16
16
|
/**
|
|
@@ -9,10 +9,10 @@ export default {
|
|
|
9
9
|
|
|
10
10
|
<script lang="ts" setup>
|
|
11
11
|
import './pl-btn-ghost.scss';
|
|
12
|
-
import type { MaskIconName24, Size } from '
|
|
13
|
-
import { PlMaskIcon24 } from '
|
|
12
|
+
import type { MaskIconName24, Size } from '../../types';
|
|
13
|
+
import { PlMaskIcon24 } from '../PlMaskIcon24';
|
|
14
14
|
import { computed, ref, useSlots } from 'vue';
|
|
15
|
-
import { useRipple } from '
|
|
15
|
+
import { useRipple } from '../../composition/useRipple';
|
|
16
16
|
|
|
17
17
|
const props = withDefaults(
|
|
18
18
|
defineProps<{
|
|
@@ -10,10 +10,10 @@ export default {
|
|
|
10
10
|
<script lang="ts" setup generic="M = unknown">
|
|
11
11
|
import './pl-btn-group.scss';
|
|
12
12
|
import { computed, useSlots } from 'vue';
|
|
13
|
-
import { PlTooltip } from '
|
|
14
|
-
import InnerBorder from '
|
|
15
|
-
import type { SimpleOption } from '
|
|
16
|
-
import { getErrorMessage } from '
|
|
13
|
+
import { PlTooltip } from '../PlTooltip';
|
|
14
|
+
import InnerBorder from '../../utils/InnerBorder.vue';
|
|
15
|
+
import type { SimpleOption } from '../../types';
|
|
16
|
+
import { getErrorMessage } from '../../helpers/error.ts';
|
|
17
17
|
|
|
18
18
|
const slots = useSlots();
|
|
19
19
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import './pl-btn-link.scss';
|
|
3
|
-
import type { MaskIconName16, Size } from '
|
|
4
|
-
import BtnSecondary from '
|
|
3
|
+
import type { MaskIconName16, Size } from '../../types';
|
|
4
|
+
import BtnSecondary from '../PlBtnSecondary/PlBtnSecondary.vue';
|
|
5
5
|
import { ref } from 'vue';
|
|
6
6
|
|
|
7
7
|
const props = defineProps<{
|
|
@@ -9,8 +9,8 @@ export default {
|
|
|
9
9
|
|
|
10
10
|
<script lang="ts" setup>
|
|
11
11
|
import './pl-btn-primary.scss';
|
|
12
|
-
import type { MaskIconName16, Size } from '
|
|
13
|
-
import BtnBase from '
|
|
12
|
+
import type { MaskIconName16, Size } from '../../types';
|
|
13
|
+
import BtnBase from '../../base/BtnBase.vue';
|
|
14
14
|
|
|
15
15
|
const props = defineProps<{
|
|
16
16
|
/**
|
|
@@ -9,8 +9,8 @@ export default {
|
|
|
9
9
|
|
|
10
10
|
<script lang="ts" setup>
|
|
11
11
|
import './pl-btn-secondary.scss';
|
|
12
|
-
import type { MaskIconName16, Size } from '
|
|
13
|
-
import BtnBase from '
|
|
12
|
+
import type { MaskIconName16, Size } from '../../types';
|
|
13
|
+
import BtnBase from '../../base/BtnBase.vue';
|
|
14
14
|
|
|
15
15
|
const props = defineProps<{
|
|
16
16
|
/**
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { computed, reactive, ref, unref, watch } from 'vue';
|
|
3
3
|
import './pl-btn-split.scss';
|
|
4
4
|
import DropdownListItem from '../DropdownListItem.vue';
|
|
5
|
-
import type { ListOption } from '
|
|
6
|
-
import { useElementPosition } from '
|
|
7
|
-
import { normalizeListOptions } from '
|
|
5
|
+
import type { ListOption } from '../../types';
|
|
6
|
+
import { useElementPosition } from '../../composition/usePosition';
|
|
7
|
+
import { normalizeListOptions } from '../../helpers/utils';
|
|
8
8
|
import { deepEqual } from '@milaboratories/helpers';
|
|
9
9
|
import PlMaskIcon16 from '../PlMaskIcon16/PlMaskIcon16.vue';
|
|
10
10
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.pl-checkbox-base {
|
|
2
|
-
--enabled-unchecked-icon: url('
|
|
3
|
-
--enabled-checked-icon: url('
|
|
4
|
-
--enabled-indeterminate-icon: url('
|
|
5
|
-
--disabled-unchecked-icon: url('
|
|
6
|
-
--disabled-checked-icon: url('
|
|
7
|
-
--disabled-indeterminate-icon: url('
|
|
2
|
+
--enabled-unchecked-icon: url('../../assets/images/24_checkbox-light-enabled-unchecked.svg');
|
|
3
|
+
--enabled-checked-icon: url('../../assets/images/24_checkbox-light-enabled-checked.svg');
|
|
4
|
+
--enabled-indeterminate-icon: url('../../assets/images/24_checkbox-light-enabled-indeterminate.svg');
|
|
5
|
+
--disabled-unchecked-icon: url('../../assets/images/24_checkbox-light-disabled-unchecked.svg');
|
|
6
|
+
--disabled-checked-icon: url('../../assets/images/24_checkbox-light-disabled-checked.svg');
|
|
7
|
+
--disabled-indeterminate-icon: url('../../assets/images/24_checkbox-light-disabled-indeterminate.svg');
|
|
8
8
|
|
|
9
9
|
cursor: pointer;
|
|
10
10
|
outline: none;
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
[data-theme="dark"] & {
|
|
39
|
-
--enabled-unchecked-icon: url('
|
|
40
|
-
--enabled-checked-icon: url('
|
|
41
|
-
--enabled-indeterminate-icon: url('
|
|
42
|
-
--disabled-unchecked-icon: url('
|
|
43
|
-
--disabled-checked-icon: url('
|
|
44
|
-
--disabled-indeterminate-icon: url('
|
|
39
|
+
--enabled-unchecked-icon: url('../../assets/images/24_checkbox-dark-enabled-unchecked.svg');
|
|
40
|
+
--enabled-checked-icon: url('../../assets/images/24_checkbox-dark-enabled-checked.svg');
|
|
41
|
+
--enabled-indeterminate-icon: url('../../assets/images/24_checkbox-dark-enabled-indeterminate.svg');
|
|
42
|
+
--disabled-unchecked-icon: url('../../assets/images/24_checkbox-dark-disabled-unchecked.svg');
|
|
43
|
+
--disabled-checked-icon: url('../../assets/images/24_checkbox-dark-disabled-checked.svg');
|
|
44
|
+
--disabled-indeterminate-icon: url('../../assets/images/24_checkbox-dark-disabled-indeterminate.svg');
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -9,8 +9,8 @@ export default {
|
|
|
9
9
|
|
|
10
10
|
<script lang="ts" setup generic="M = unknown">
|
|
11
11
|
import './pl-checkbox-group.scss';
|
|
12
|
-
import type { SimpleOption } from '
|
|
13
|
-
import PlCheckboxBase from '
|
|
12
|
+
import type { SimpleOption } from '../../types';
|
|
13
|
+
import PlCheckboxBase from '../PlCheckbox/PlCheckboxBase.vue';
|
|
14
14
|
import { PlTooltip } from '../PlTooltip';
|
|
15
15
|
import { useSlots } from 'vue';
|
|
16
16
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.pl-chip-tooltip {
|
|
4
4
|
display: inline-flex;
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
|
|
64
64
|
&--icon {
|
|
65
65
|
background: var(--mask-color);
|
|
66
|
-
@include mask(url('
|
|
66
|
+
@include mask(url('../../assets/images/16_close.svg'), 16px);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -5,8 +5,8 @@ export default {
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
|
-
import { PlMaskIcon16 } from '
|
|
9
|
-
import type { Size } from '
|
|
8
|
+
import { PlMaskIcon16 } from '../PlMaskIcon16';
|
|
9
|
+
import type { Size } from '../../types.ts';
|
|
10
10
|
import { computed, onUnmounted, ref } from 'vue';
|
|
11
11
|
|
|
12
12
|
const props = defineProps<{
|
|
@@ -5,11 +5,11 @@ export default {
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
|
-
import { useEventListener } from '
|
|
8
|
+
import { useEventListener } from '../../composition/useEventListener';
|
|
9
9
|
import './pl-dialog-modal.scss';
|
|
10
10
|
import { computed, ref, useSlots } from 'vue';
|
|
11
|
-
import PlCloseModalBtn from '
|
|
12
|
-
import type { Size } from '
|
|
11
|
+
import PlCloseModalBtn from '../../utils/PlCloseModalBtn.vue';
|
|
12
|
+
import type { Size } from '../../types';
|
|
13
13
|
|
|
14
14
|
const slots = useSlots();
|
|
15
15
|
|
|
@@ -10,19 +10,20 @@ export default {
|
|
|
10
10
|
<script lang="ts" setup generic="M = unknown">
|
|
11
11
|
import './pl-dropdown.scss';
|
|
12
12
|
import { computed, reactive, ref, unref, useSlots, useTemplateRef, watch, watchPostEffect } from 'vue';
|
|
13
|
-
import { tap } from '
|
|
14
|
-
import { PlTooltip } from '
|
|
15
|
-
import DoubleContour from '
|
|
16
|
-
import { useLabelNotch } from '
|
|
17
|
-
import type { ListOption, ListOptionNormalized } from '
|
|
18
|
-
import { deepEqual } from '
|
|
19
|
-
import DropdownListItem from '
|
|
20
|
-
import LongText from '
|
|
21
|
-
import { normalizeListOptions } from '
|
|
13
|
+
import { tap } from '../../helpers/functions';
|
|
14
|
+
import { PlTooltip } from '../PlTooltip';
|
|
15
|
+
import DoubleContour from '../../utils/DoubleContour.vue';
|
|
16
|
+
import { useLabelNotch } from '../../utils/useLabelNotch';
|
|
17
|
+
import type { ListOption, ListOptionNormalized } from '../../types';
|
|
18
|
+
import { deepEqual } from '../../helpers/objects';
|
|
19
|
+
import DropdownListItem from '../DropdownListItem.vue';
|
|
20
|
+
import LongText from '../LongText.vue';
|
|
21
|
+
import { normalizeListOptions } from '../../helpers/utils';
|
|
22
22
|
import { PlIcon16 } from '../PlIcon16';
|
|
23
23
|
import { PlMaskIcon24 } from '../PlMaskIcon24';
|
|
24
|
-
import { DropdownOverlay } from '
|
|
25
|
-
import
|
|
24
|
+
import { DropdownOverlay } from '../../utils/DropdownOverlay';
|
|
25
|
+
import SvgRequired from '../../generated/components/svg/images/SvgRequired.vue';
|
|
26
|
+
import { getErrorMessage } from '../../helpers/error.ts';
|
|
26
27
|
|
|
27
28
|
const emit = defineEmits<{
|
|
28
29
|
/**
|
|
@@ -343,7 +344,7 @@ watchPostEffect(() => {
|
|
|
343
344
|
</div>
|
|
344
345
|
</div>
|
|
345
346
|
<label v-if="label">
|
|
346
|
-
<
|
|
347
|
+
<SvgRequired v-if="required" />
|
|
347
348
|
<span>{{ label }}</span>
|
|
348
349
|
<PlTooltip v-if="slots.tooltip" class="info" position="top">
|
|
349
350
|
<template #tooltip>
|