@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.pl-dropdown__options {
|
|
4
4
|
--option-hover-bg: var(--btn-sec-hover-grey);
|
|
@@ -213,7 +213,7 @@
|
|
|
213
213
|
&.arrow-icon-default {
|
|
214
214
|
transition: transform .2s;
|
|
215
215
|
background-color: var(--control-mask-fill);
|
|
216
|
-
@include mask(url('
|
|
216
|
+
@include mask(url('../../assets/images/16_chevron-down.svg'), 16px);
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
|
|
@@ -10,19 +10,20 @@ export default {
|
|
|
10
10
|
<script lang="ts" setup generic="M = unknown">
|
|
11
11
|
import './pl-dropdown-legacy.scss';
|
|
12
12
|
import { computed, reactive, ref, unref, useSlots, watch, watchPostEffect } from 'vue';
|
|
13
|
-
import { tap, tapIf } from '
|
|
14
|
-
import { PlTooltip } from '
|
|
15
|
-
import DoubleContour from '
|
|
16
|
-
import { useLabelNotch } from '
|
|
17
|
-
import type { ListOption, ListOptionNormalized } from '
|
|
18
|
-
import { scrollIntoView } from '
|
|
19
|
-
import { deepEqual } from '
|
|
20
|
-
import DropdownListItem from '
|
|
21
|
-
import LongText from '
|
|
13
|
+
import { tap, tapIf } 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 { scrollIntoView } from '../../helpers/dom';
|
|
19
|
+
import { deepEqual } from '../../helpers/objects';
|
|
20
|
+
import DropdownListItem from '../DropdownListItem.vue';
|
|
21
|
+
import LongText from '../LongText.vue';
|
|
22
22
|
import { PlIcon16 } from '../PlIcon16';
|
|
23
23
|
import { PlMaskIcon24 } from '../PlMaskIcon24';
|
|
24
|
-
import { normalizeListOptions } from '
|
|
25
|
-
import
|
|
24
|
+
import { normalizeListOptions } from '../../helpers/utils';
|
|
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
|
/**
|
|
@@ -344,7 +345,7 @@ watchPostEffect(() => {
|
|
|
344
345
|
</div>
|
|
345
346
|
</div>
|
|
346
347
|
<label v-if="label">
|
|
347
|
-
<
|
|
348
|
+
<SvgRequired v-if="required" />
|
|
348
349
|
<span>{{ label }}</span>
|
|
349
350
|
<PlTooltip v-if="slots.tooltip" class="info" position="top">
|
|
350
351
|
<template #tooltip>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.pl-dropdown-legacy {
|
|
4
4
|
$root: &;
|
|
@@ -203,7 +203,7 @@
|
|
|
203
203
|
// Default "arrow" icon (16x16)
|
|
204
204
|
&.arrow-icon-default {
|
|
205
205
|
background-color: var(--control-mask-fill);
|
|
206
|
-
@include mask(url('
|
|
206
|
+
@include mask(url('../../assets/images/16_chevron-down.svg'), 16px);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
|
|
225
225
|
.arrow-icon {
|
|
226
226
|
background-color: var(--control-mask-fill);
|
|
227
|
-
@include mask(url(
|
|
227
|
+
@include mask(url(../../assets/images/16_chevron-up.svg), 16px);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import './pl-dropdown-line.scss';
|
|
3
3
|
import type { StyleValue } from 'vue';
|
|
4
4
|
import { computed, nextTick, reactive, ref, toRef, watch } from 'vue';
|
|
5
|
-
import { deepEqual } from '
|
|
6
|
-
import { useClickOutside } from '
|
|
7
|
-
import { useFilteredList } from '
|
|
5
|
+
import { deepEqual } from '../../helpers/objects';
|
|
6
|
+
import { useClickOutside } from '../../composition/useClickOutside';
|
|
7
|
+
import { useFilteredList } from '../../composition/useFilteredList';
|
|
8
8
|
import ResizableInput from './ResizableInput.vue';
|
|
9
|
-
import { tapIf, tap } from '
|
|
10
|
-
import { scrollIntoView } from '
|
|
11
|
-
import DropdownListItem from '
|
|
12
|
-
import TabItem from '
|
|
13
|
-
import type { ListOption } from '
|
|
14
|
-
import { normalizeListOptions } from '
|
|
15
|
-
import { useElementPosition } from '
|
|
9
|
+
import { tapIf, tap } from '../../helpers/functions';
|
|
10
|
+
import { scrollIntoView } from '../../helpers/dom';
|
|
11
|
+
import DropdownListItem from '../DropdownListItem.vue';
|
|
12
|
+
import TabItem from '../TabItem.vue';
|
|
13
|
+
import type { ListOption } from '../../types';
|
|
14
|
+
import { normalizeListOptions } from '../../helpers/utils';
|
|
15
|
+
import { useElementPosition } from '../../composition/usePosition';
|
|
16
16
|
|
|
17
17
|
const emit = defineEmits(['update:modelValue']); // at the top always
|
|
18
18
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.pl-line-dropdown {
|
|
4
4
|
display: flex;
|
|
@@ -57,17 +57,17 @@
|
|
|
57
57
|
align-items: center;
|
|
58
58
|
min-width: 16px;
|
|
59
59
|
background-color: var(--control-mask-fill);
|
|
60
|
-
@include mask(url(
|
|
60
|
+
@include mask(url(../../assets/images/16_chevron-down.svg), 16px);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
&__icon-clear {
|
|
64
|
-
@include mask(url(
|
|
64
|
+
@include mask(url(../../assets/images/16_clear.svg), 16px);
|
|
65
65
|
background-color: var(--color-ic-02);
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
&.open {
|
|
69
69
|
#{$this}__icon {
|
|
70
|
-
@include mask(url(
|
|
70
|
+
@include mask(url(../../assets/images/16_chevron-up.svg), 16px);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -10,18 +10,19 @@ export default {
|
|
|
10
10
|
<script lang="ts" setup generic="M = unknown">
|
|
11
11
|
import './pl-dropdown-multi.scss';
|
|
12
12
|
import { computed, reactive, ref, unref, useSlots, useTemplateRef, watch, watchPostEffect } from 'vue';
|
|
13
|
-
import { tap } from '
|
|
14
|
-
import { PlTooltip } from '
|
|
15
|
-
import { PlChip } from '
|
|
16
|
-
import DoubleContour from '
|
|
17
|
-
import { useLabelNotch } from '
|
|
18
|
-
import type { ListOption } from '
|
|
19
|
-
import DropdownListItem from '
|
|
20
|
-
import { deepEqual, deepIncludes } from '
|
|
21
|
-
import { normalizeListOptions } from '
|
|
22
|
-
import DropdownOverlay from '
|
|
13
|
+
import { tap } from '../../helpers/functions';
|
|
14
|
+
import { PlTooltip } from '../PlTooltip';
|
|
15
|
+
import { PlChip } from '../PlChip';
|
|
16
|
+
import DoubleContour from '../../utils/DoubleContour.vue';
|
|
17
|
+
import { useLabelNotch } from '../../utils/useLabelNotch';
|
|
18
|
+
import type { ListOption } from '../../types';
|
|
19
|
+
import DropdownListItem from '../DropdownListItem.vue';
|
|
20
|
+
import { deepEqual, deepIncludes } from '../../helpers/objects';
|
|
21
|
+
import { normalizeListOptions } from '../../helpers/utils';
|
|
22
|
+
import DropdownOverlay from '../../utils/DropdownOverlay/DropdownOverlay.vue';
|
|
23
23
|
import { PlMaskIcon24 } from '../PlMaskIcon24';
|
|
24
|
-
import
|
|
24
|
+
import SvgRequired from '../../generated/components/svg/images/SvgRequired.vue';
|
|
25
|
+
import { getErrorMessage } from '../../helpers/error.ts';
|
|
25
26
|
|
|
26
27
|
const emit = defineEmits<{
|
|
27
28
|
(e: 'update:modelValue', v: M[]): void;
|
|
@@ -275,7 +276,7 @@ watchPostEffect(() => {
|
|
|
275
276
|
</div>
|
|
276
277
|
</div>
|
|
277
278
|
<label v-if="label">
|
|
278
|
-
<
|
|
279
|
+
<SvgRequired v-if="required" />
|
|
279
280
|
<span>{{ label }}</span>
|
|
280
281
|
<PlTooltip v-if="slots.tooltip" class="info" position="top">
|
|
281
282
|
<template #tooltip>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.pl-dropdown-multi {
|
|
4
4
|
$root: &;
|
|
@@ -83,8 +83,8 @@
|
|
|
83
83
|
align-items: center;
|
|
84
84
|
gap: 12px;
|
|
85
85
|
|
|
86
|
-
--base-icon: url('
|
|
87
|
-
--checked-icon: url('
|
|
86
|
+
--base-icon: url('../../assets/images/24_checkbox-light-enabled-unchecked.svg');
|
|
87
|
+
--checked-icon: url('../../assets/images/24_checkbox-light-enabled-checked.svg');
|
|
88
88
|
|
|
89
89
|
.pl-dropdown-multi__checkmark {
|
|
90
90
|
cursor: pointer;
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
@include icon(var(--base-icon), 24px);
|
|
94
94
|
|
|
95
95
|
[data-theme="dark"] & {
|
|
96
|
-
--base-icon: url('
|
|
97
|
-
--checked-icon: url('
|
|
96
|
+
--base-icon: url('../../assets/images/24_checkbox-dark-enabled-unchecked.svg');
|
|
97
|
+
--checked-icon: url('../../assets/images/24_checkbox-dark-enabled-checked.svg');
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
&.arrow-icon-default {
|
|
220
220
|
transition: transform .2s;
|
|
221
221
|
background-color: var(--control-mask-fill);
|
|
222
|
-
@include mask(url('
|
|
222
|
+
@include mask(url('../../assets/images/16_chevron-down.svg'), 16px);
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
|
|
@@ -246,7 +246,7 @@
|
|
|
246
246
|
@include abs-center-y;
|
|
247
247
|
right: 36px;
|
|
248
248
|
z-index: 1;
|
|
249
|
-
@include icon(url("
|
|
249
|
+
@include icon(url("../../assets/images/16_clear.svg"), 16px); // @todo mask-image
|
|
250
250
|
cursor: pointer;
|
|
251
251
|
}
|
|
252
252
|
|
|
@@ -272,7 +272,7 @@
|
|
|
272
272
|
|
|
273
273
|
.arrow {
|
|
274
274
|
background-color: var(--control-mask-fill);
|
|
275
|
-
@include mask(url(
|
|
275
|
+
@include mask(url(../../assets/images/16_chevron-up.svg), 16px);
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
|
|
@@ -8,7 +8,7 @@ export default {
|
|
|
8
8
|
</script>
|
|
9
9
|
|
|
10
10
|
<script lang="ts" setup>
|
|
11
|
-
import type { ModelRef, RefOption } from '
|
|
11
|
+
import type { ModelRef, RefOption } from '../../types';
|
|
12
12
|
import { PlDropdown } from '../PlDropdown';
|
|
13
13
|
import { computed, useSlots } from 'vue';
|
|
14
14
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { useTransformedModel } from '
|
|
2
|
+
import { useTransformedModel } from '../../composition/useTransformedModel';
|
|
3
3
|
import style from './pl-editable-title.module.scss';
|
|
4
4
|
import { computed, ref } from 'vue';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.component {
|
|
4
4
|
position: relative;
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
|
|
59
59
|
&::before {
|
|
60
60
|
content: '';
|
|
61
|
-
@include mask-var(url(
|
|
61
|
+
@include mask-var(url(../../assets/icons/icon-assets-min/24_edit.svg));
|
|
62
62
|
position: absolute;
|
|
63
63
|
right: calc((var(--mask-size)) * -1);
|
|
64
64
|
bottom: 6px;
|
|
@@ -5,8 +5,8 @@ export default {
|
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
<script lang="ts" setup>
|
|
8
|
-
import { PlClipboard } from '
|
|
9
|
-
import { PlMaskIcon16 } from '
|
|
8
|
+
import { PlClipboard } from '../PlClipboard';
|
|
9
|
+
import { PlMaskIcon16 } from '../PlMaskIcon16';
|
|
10
10
|
|
|
11
11
|
const props = withDefaults(
|
|
12
12
|
defineProps<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import { computed, onErrorCaptured, ref, onBeforeUpdate } from 'vue';
|
|
3
|
-
import { PlErrorAlert } from '
|
|
3
|
+
import { PlErrorAlert } from '../PlErrorAlert';
|
|
4
4
|
import { isErrorLike, tryDo } from '@milaboratories/helpers';
|
|
5
5
|
|
|
6
6
|
const extractMessage = (err: unknown): undefined | string => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import style from './pl-file-dialog.module.scss';
|
|
3
|
-
import type { ImportedFiles } from '
|
|
3
|
+
import type { ImportedFiles } from '../../types';
|
|
4
4
|
import { PlIcon24 } from '../PlIcon24';
|
|
5
5
|
import { computed, reactive } from 'vue';
|
|
6
6
|
import { getRawPlatformaInstance, type OpenDialogFilter } from '@platforma-sdk/model';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import style from './pl-file-dialog.module.scss';
|
|
3
3
|
import { computed, ref, useTemplateRef } from 'vue';
|
|
4
4
|
import { notEmpty } from '@milaboratories/helpers';
|
|
5
|
-
import type { ImportedFiles, SimpleOption } from '
|
|
5
|
+
import type { ImportedFiles, SimpleOption } from '../../types';
|
|
6
6
|
import { PlDialogModal } from '../PlDialogModal';
|
|
7
7
|
import { PlBtnPrimary } from '../PlBtnPrimary';
|
|
8
8
|
import { PlBtnGhost } from '../PlBtnGhost';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import { useEventListener } from '
|
|
3
|
-
import type { ImportedFiles } from '
|
|
2
|
+
import { useEventListener } from '../../composition/useEventListener';
|
|
3
|
+
import type { ImportedFiles } from '../../types';
|
|
4
4
|
import { between, notEmpty, tapIf } from '@milaboratories/helpers';
|
|
5
5
|
import { getRawPlatformaInstance, type StorageHandle } from '@platforma-sdk/model';
|
|
6
6
|
import { computed, onMounted, reactive, toRef, watch } from 'vue';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.component {
|
|
4
4
|
.local {
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
margin-top: 40px;
|
|
137
137
|
width: 240px;
|
|
138
138
|
height: 200px;
|
|
139
|
-
background: url('
|
|
139
|
+
background: url('../../assets/images/no-data-cat.svg');
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
.message {
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
margin-top: 40px;
|
|
163
163
|
width: 400px;
|
|
164
164
|
height: 200px;
|
|
165
|
-
background: url('
|
|
165
|
+
background: url('../../assets/images/empty-cat.svg');
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
.message {
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
2
|
import './pl-file-input.scss';
|
|
3
|
-
import { PlTooltip } from '
|
|
4
|
-
import { PlFileDialog } from '
|
|
5
|
-
import type { ImportedFiles } from '
|
|
3
|
+
import { PlTooltip } from '../PlTooltip';
|
|
4
|
+
import { PlFileDialog } from '../PlFileDialog';
|
|
5
|
+
import type { ImportedFiles } from '../../types';
|
|
6
6
|
import { PlMaskIcon24 } from '../PlMaskIcon24';
|
|
7
7
|
import { computed, reactive, ref, useSlots, watch } from 'vue';
|
|
8
8
|
import type { ImportFileHandle, ImportProgress } from '@platforma-sdk/model';
|
|
9
9
|
import { getFileNameFromHandle, getFilePathFromHandle } from '@platforma-sdk/model';
|
|
10
|
-
import DoubleContour from '
|
|
11
|
-
import { useLabelNotch } from '
|
|
10
|
+
import DoubleContour from '../../utils/DoubleContour.vue';
|
|
11
|
+
import { useLabelNotch } from '../../utils/useLabelNotch';
|
|
12
12
|
import { prettyBytes } from '@milaboratories/helpers';
|
|
13
|
-
import
|
|
13
|
+
import SvgRequired from '../../generated/components/svg/images/SvgRequired.vue';
|
|
14
|
+
import { getErrorMessage } from '../../helpers/error.ts';
|
|
14
15
|
|
|
15
16
|
const data = reactive({
|
|
16
17
|
fileDialogOpen: false,
|
|
@@ -175,7 +176,7 @@ if (!props.cellStyle) {
|
|
|
175
176
|
>
|
|
176
177
|
<div :style="progressStyle" class="pl-file-input__progress" />
|
|
177
178
|
<label v-if="!cellStyle && label" ref="label">
|
|
178
|
-
<
|
|
179
|
+
<SvgRequired v-if="required" />
|
|
179
180
|
<span>{{ label }}</span>
|
|
180
181
|
<PlTooltip v-if="slots.tooltip || filePath" class="info" position="top">
|
|
181
182
|
<template #tooltip>
|
|
@@ -14,8 +14,8 @@ import './pl-log-view.scss';
|
|
|
14
14
|
import { okOptional, tapIf } from '@milaboratories/helpers';
|
|
15
15
|
import type { AnyLogHandle, Platforma, ValueOrErrors } from '@platforma-sdk/model';
|
|
16
16
|
import { useLogHandle } from './useLogHandle';
|
|
17
|
-
import { useLabelNotch } from '
|
|
18
|
-
import DoubleContour from '
|
|
17
|
+
import { useLabelNotch } from '../../utils/useLabelNotch';
|
|
18
|
+
import DoubleContour from '../../utils/DoubleContour.vue';
|
|
19
19
|
import { PlTooltip } from '../PlTooltip';
|
|
20
20
|
|
|
21
21
|
const getOutputError = <T>(o?: ValueOrErrors<T>) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import './pl-number-field.scss';
|
|
3
|
-
import DoubleContour from '
|
|
4
|
-
import { useLabelNotch } from '
|
|
3
|
+
import DoubleContour from '../../utils/DoubleContour.vue';
|
|
4
|
+
import { useLabelNotch } from '../../utils/useLabelNotch';
|
|
5
5
|
import { computed, ref, useSlots, watch } from 'vue';
|
|
6
|
-
import { PlTooltip } from '
|
|
6
|
+
import { PlTooltip } from '../PlTooltip';
|
|
7
7
|
|
|
8
8
|
type NumberInputProps = {
|
|
9
9
|
/** Input is disabled if true */
|
|
@@ -3,7 +3,7 @@ import { computed } from 'vue';
|
|
|
3
3
|
import './pl-progress-cell.scss';
|
|
4
4
|
import PlMaskIcon24 from '../PlMaskIcon24/PlMaskIcon24.vue';
|
|
5
5
|
import type { PlProgressCellProps } from './types';
|
|
6
|
-
import { getErrorMessage } from '
|
|
6
|
+
import { getErrorMessage } from '../../helpers/error.ts';
|
|
7
7
|
|
|
8
8
|
const props = withDefaults(defineProps<PlProgressCellProps>(), {
|
|
9
9
|
stage: 'not_started',
|
|
@@ -8,8 +8,8 @@ export default {
|
|
|
8
8
|
<script lang="ts" setup>
|
|
9
9
|
import './pl-slide-modal.scss';
|
|
10
10
|
import { ref, useAttrs, useSlots } from 'vue';
|
|
11
|
-
import TransitionSlidePanel from '
|
|
12
|
-
import { useClickOutside, useEventListener } from '
|
|
11
|
+
import TransitionSlidePanel from '../TransitionSlidePanel.vue';
|
|
12
|
+
import { useClickOutside, useEventListener } from '../../index';
|
|
13
13
|
|
|
14
14
|
const slots = useSlots(); // title & actions
|
|
15
15
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@use "
|
|
1
|
+
@use "../../assets/mixins.scss" as *;
|
|
2
2
|
|
|
3
3
|
.pl-slide-modal {
|
|
4
4
|
--padding-top: 24px;
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
right: 12px;
|
|
34
34
|
cursor: pointer;
|
|
35
35
|
background-color: #d3d7e0;
|
|
36
|
-
@include mask(url('
|
|
36
|
+
@include mask(url('../../assets/images/24_close.svg'), 24px);
|
|
37
37
|
|
|
38
38
|
&:hover {
|
|
39
39
|
background-color: var(--main-dark-color);
|
|
@@ -8,11 +8,12 @@ export default {
|
|
|
8
8
|
<script lang="ts" setup>
|
|
9
9
|
import './pl-textarea.scss';
|
|
10
10
|
import { computed, onMounted, ref, useSlots } from 'vue';
|
|
11
|
-
import { PlTooltip } from '
|
|
12
|
-
import DoubleContour from '
|
|
13
|
-
import { useLabelNotch } from '
|
|
14
|
-
import { useValidation } from '
|
|
15
|
-
import
|
|
11
|
+
import { PlTooltip } from '../PlTooltip';
|
|
12
|
+
import DoubleContour from '../../utils/DoubleContour.vue';
|
|
13
|
+
import { useLabelNotch } from '../../utils/useLabelNotch';
|
|
14
|
+
import { useValidation } from '../../utils/useValidation';
|
|
15
|
+
import SvgRequired from '../../generated/components/svg/images/SvgRequired.vue';
|
|
16
|
+
import { getErrorMessage } from '../../helpers/error.ts';
|
|
16
17
|
|
|
17
18
|
const slots = useSlots();
|
|
18
19
|
|
|
@@ -126,7 +127,7 @@ onMounted(() => {
|
|
|
126
127
|
<div class="ui-text-area__envelope">
|
|
127
128
|
<div ref="root" class="ui-text-area" :class="{ error: hasErrors, disabled, dashed, nonEmpty }">
|
|
128
129
|
<label v-if="label" ref="label">
|
|
129
|
-
<
|
|
130
|
+
<SvgRequired v-if="required" />
|
|
130
131
|
<span>{{ label }}</span>
|
|
131
132
|
<PlTooltip v-if="slots.tooltip" class="info" position="top">
|
|
132
133
|
<template #tooltip>
|
|
@@ -10,14 +10,15 @@ export default {
|
|
|
10
10
|
<script lang="ts" setup generic="M, E = string, C = E">
|
|
11
11
|
import './pl-text-field.scss';
|
|
12
12
|
import { computed, reactive, ref, useSlots } from 'vue';
|
|
13
|
-
import { PlTooltip } from '
|
|
14
|
-
import DoubleContour from '
|
|
15
|
-
import { useLabelNotch } from '
|
|
16
|
-
import { useValidation } from '
|
|
13
|
+
import { PlTooltip } from '../PlTooltip';
|
|
14
|
+
import DoubleContour from '../../utils/DoubleContour.vue';
|
|
15
|
+
import { useLabelNotch } from '../../utils/useLabelNotch';
|
|
16
|
+
import { useValidation } from '../../utils/useValidation';
|
|
17
17
|
import { PlIcon16 } from '../PlIcon16';
|
|
18
18
|
import { PlMaskIcon24 } from '../PlMaskIcon24';
|
|
19
19
|
import type { Equal } from '@milaboratories/helpers';
|
|
20
|
-
import
|
|
20
|
+
import SvgRequired from '../../generated/components/svg/images/SvgRequired.vue';
|
|
21
|
+
import { getErrorMessage } from '../../helpers/error.ts';
|
|
21
22
|
|
|
22
23
|
const slots = useSlots();
|
|
23
24
|
|
|
@@ -190,7 +191,7 @@ useLabelNotch(rootRef);
|
|
|
190
191
|
}"
|
|
191
192
|
>
|
|
192
193
|
<label v-if="label" ref="label">
|
|
193
|
-
<
|
|
194
|
+
<SvgRequired v-if="required" />
|
|
194
195
|
<span>{{ label }}</span>
|
|
195
196
|
<PlTooltip v-if="slots.tooltip" class="info" position="top">
|
|
196
197
|
<template #tooltip>
|
|
@@ -9,8 +9,8 @@ export default {
|
|
|
9
9
|
import './pl-tooltip.scss';
|
|
10
10
|
import { computed, onUnmounted, reactive, ref, toRef, watch } from 'vue';
|
|
11
11
|
import { useTooltipPosition } from './useTooltipPosition';
|
|
12
|
-
import * as utils from '
|
|
13
|
-
import { useClickOutside } from '
|
|
12
|
+
import * as utils from '../../helpers/utils';
|
|
13
|
+
import { useClickOutside } from '../../composition/useClickOutside';
|
|
14
14
|
import Beak from './Beak.vue';
|
|
15
15
|
import { tMap } from './global';
|
|
16
16
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, type Ref, ref, unref } from 'vue';
|
|
2
|
-
import { useElementPosition } from '
|
|
3
|
-
import type { ElementPosition } from '
|
|
2
|
+
import { useElementPosition } from '../../composition/usePosition';
|
|
3
|
+
import type { ElementPosition } from '../../types';
|
|
4
4
|
|
|
5
5
|
type Options = {
|
|
6
6
|
position: 'top-left' | 'right' | 'left' | 'top' | 'southwest';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts" setup>
|
|
2
|
-
import VScroll from '
|
|
3
|
-
import HScroll from '
|
|
2
|
+
import VScroll from './VScroll.vue';
|
|
3
|
+
import HScroll from './HScroll.vue';
|
|
4
4
|
import { onMounted, onUnmounted, reactive, ref, unref } from 'vue';
|
|
5
|
-
import { tapIf, copyProps } from '
|
|
6
|
-
import { useResizeObserver } from '
|
|
5
|
+
import { tapIf, copyProps } from '../helpers/functions';
|
|
6
|
+
import { useResizeObserver } from '../composition/useResizeObserver';
|
|
7
7
|
|
|
8
8
|
const containerRef = ref<HTMLElement>();
|
|
9
9
|
|