@pksep/yui 0.1.129
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/README.md +79 -0
- package/dist/common/colors.d.ts +10 -0
- package/dist/common/dataTestidProps.d.ts +3 -0
- package/dist/common/extentions.d.ts +13 -0
- package/dist/common/sizes.d.ts +6 -0
- package/dist/common/storybook.d.ts +17 -0
- package/dist/components/Accordion/Accordion.vue.d.ts +37 -0
- package/dist/components/Accordion/interfaces/interfaces.d.ts +4 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +13 -0
- package/dist/components/Avatar/interfaces/interfaces.d.ts +9 -0
- package/dist/components/Badges/Badges.vue.d.ts +43 -0
- package/dist/components/Badges/enum/enum.d.ts +12 -0
- package/dist/components/Badges/interface/interface.d.ts +9 -0
- package/dist/components/BreadCrumbs/BreadCrumbs.vue.d.ts +31 -0
- package/dist/components/BreadCrumbs/interface/interface.d.ts +17 -0
- package/dist/components/Button/Button.vue.d.ts +59 -0
- package/dist/components/Button/enum/enum.d.ts +8 -0
- package/dist/components/Button/interface/interface.d.ts +12 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +33 -0
- package/dist/components/Calendar/DataPickerChoose.vue.d.ts +33 -0
- package/dist/components/Calendar/DatePicker.vue.d.ts +88 -0
- package/dist/components/Calendar/DatePickerRange.vue.d.ts +77 -0
- package/dist/components/Calendar/PopoverWrapper.vue.d.ts +44 -0
- package/dist/components/Calendar/date-utils.d.ts +17 -0
- package/dist/components/Calendar/enums/enums.d.ts +4 -0
- package/dist/components/Calendar/interfaces/interfaces.d.ts +36 -0
- package/dist/components/Card/Card.vue.d.ts +37 -0
- package/dist/components/Card/interface/interface.d.ts +4 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +46 -0
- package/dist/components/Checkbox/enum/enum.d.ts +9 -0
- package/dist/components/Checkbox/interface/interface.d.ts +10 -0
- package/dist/components/CircularProgress/CircularProgress.vue.d.ts +27 -0
- package/dist/components/CircularProgress/interface/interface.d.ts +5 -0
- package/dist/components/Colors/colors.d.ts +9 -0
- package/dist/components/Colors/enum/enum.d.ts +47 -0
- package/dist/components/Colors/interface/interface.d.ts +4 -0
- package/dist/components/ContentEditor/ContentEditor.vue.d.ts +22 -0
- package/dist/components/ContentEditor/interfaces/content-editor.d.ts +7 -0
- package/dist/components/CopyIcon/CopyIcon.vue.d.ts +30 -0
- package/dist/components/CopyIcon/interface/interface.d.ts +5 -0
- package/dist/components/Cropper/BaseCropper.vue.d.ts +44 -0
- package/dist/components/Cropper/ModalCroppedAvatar.vue.d.ts +39 -0
- package/dist/components/Cropper/extenstions/get-change-name-file.d.ts +2 -0
- package/dist/components/Cropper/extenstions/use-range.d.ts +14 -0
- package/dist/components/Cropper/interface/index.d.ts +14 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +40 -0
- package/dist/components/Dialog/interface/interface.d.ts +8 -0
- package/dist/components/DragAndDrop/DragAndDrop.vue.d.ts +37 -0
- package/dist/components/DragAndDrop/interface/interface.d.ts +6 -0
- package/dist/components/Filter/Filter.vue.d.ts +38 -0
- package/dist/components/Filter/interface/interface.d.ts +19 -0
- package/dist/components/FilterTag/FilterTag.vue.d.ts +53 -0
- package/dist/components/FilterTag/interface/interface.d.ts +19 -0
- package/dist/components/Icon/Icon.vue.d.ts +27 -0
- package/dist/components/Icon/enum/enum.d.ts +113 -0
- package/dist/components/Icon/icons.d.ts +119 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/interface/interface.d.ts +17 -0
- package/dist/components/Input/Input.vue.d.ts +50 -0
- package/dist/components/Input/enum/enum.d.ts +17 -0
- package/dist/components/Input/interface/interface.d.ts +16 -0
- package/dist/components/InputNumber/InputNumber.vue.d.ts +55 -0
- package/dist/components/InputNumber/enum/enum.d.ts +9 -0
- package/dist/components/InputNumber/interface/interface.d.ts +18 -0
- package/dist/components/Loader/Loader.vue.d.ts +30 -0
- package/dist/components/Loader/interfaces/interfaces.d.ts +5 -0
- package/dist/components/Modal/Modal.vue.d.ts +47 -0
- package/dist/components/Modal/ModalAnimated.vue.d.ts +47 -0
- package/dist/components/Modal/enum/index.d.ts +6 -0
- package/dist/components/Modal/interface/interface.d.ts +12 -0
- package/dist/components/Notification/Notification.vue.d.ts +46 -0
- package/dist/components/Notification/enum/enum.d.ts +18 -0
- package/dist/components/Notification/interface/interface.d.ts +11 -0
- package/dist/components/Picture/Picture.vue.d.ts +27 -0
- package/dist/components/Picture/enums/enums.d.ts +5 -0
- package/dist/components/Picture/interface/interface.d.ts +9 -0
- package/dist/components/Popover/Popover.vue.d.ts +54 -0
- package/dist/components/Popover/enums/enums.d.ts +4 -0
- package/dist/components/Popover/interface/interface.d.ts +22 -0
- package/dist/components/Radio/Radio.vue.d.ts +19 -0
- package/dist/components/Radio/interface/interface.d.ts +7 -0
- package/dist/components/Range/Range.vue.d.ts +58 -0
- package/dist/components/Range/interface/interface.d.ts +12 -0
- package/dist/components/ScrollWrapper/ScrollWrapper.vue.d.ts +50 -0
- package/dist/components/ScrollWrapper/ScrollWrapperNew.vue.d.ts +50 -0
- package/dist/components/ScrollWrapper/extension/use-horizont-track.d.ts +18 -0
- package/dist/components/ScrollWrapper/extension/use-vertical-track.d.ts +18 -0
- package/dist/components/ScrollWrapper/interface/interface.d.ts +10 -0
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts +62 -0
- package/dist/components/Scrollbar/emits/scrollEmits.d.ts +5 -0
- package/dist/components/Scrollbar/interface/scroll.d.ts +28 -0
- package/dist/components/Search/History.vue.d.ts +33 -0
- package/dist/components/Search/Search.vue.d.ts +56 -0
- package/dist/components/Search/SearchResult.vue.d.ts +39 -0
- package/dist/components/Search/interface/interface.d.ts +26 -0
- package/dist/components/Select/BaseFilter.vue.d.ts +118 -0
- package/dist/components/Select/ChoosenMiniOptions.vue.d.ts +31 -0
- package/dist/components/Select/Combobox.vue.d.ts +27 -0
- package/dist/components/Select/Dropdown.vue.d.ts +34 -0
- package/dist/components/Select/Options.vue.d.ts +43 -0
- package/dist/components/Select/SelectList.vue.d.ts +46 -0
- package/dist/components/Select/interface/interface.d.ts +65 -0
- package/dist/components/Slider/Slider.vue.d.ts +29 -0
- package/dist/components/Slider/interface/interface.d.ts +19 -0
- package/dist/components/Switch/Switch.vue.d.ts +34 -0
- package/dist/components/Switch/interface/interface.d.ts +19 -0
- package/dist/components/Table/HeadTableRow.vue.d.ts +36 -0
- package/dist/components/Table/HeadTableRowNew.vue.d.ts +36 -0
- package/dist/components/Table/SectionTableRow.vue.d.ts +36 -0
- package/dist/components/Table/Table.vue.d.ts +59 -0
- package/dist/components/Table/TableNew.vue.d.ts +59 -0
- package/dist/components/Table/TableRow.vue.d.ts +38 -0
- package/dist/components/Table/TableRowNew.vue.d.ts +38 -0
- package/dist/components/Table/TableSimple.vue.d.ts +45 -0
- package/dist/components/Table/TableTd.vue.d.ts +42 -0
- package/dist/components/Table/TableTh.vue.d.ts +42 -0
- package/dist/components/Table/interface/interface.d.ts +36 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +38 -0
- package/dist/components/Tabs/interface/interface.d.ts +8 -0
- package/dist/components/Textarea/Textarea.vue.d.ts +47 -0
- package/dist/components/Textarea/enum/index.d.ts +4 -0
- package/dist/components/Textarea/interface/interface.d.ts +13 -0
- package/dist/components/TimePicker/TimePicker.vue.d.ts +23 -0
- package/dist/components/TimePicker/interface/interface.d.ts +4 -0
- package/dist/components/Toggle/Toggle.vue.d.ts +46 -0
- package/dist/components/Toggle/enums/enums.d.ts +6 -0
- package/dist/components/Toggle/interface/interface.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +54 -0
- package/dist/components/Tooltip/interface/interface.d.ts +15 -0
- package/dist/components/UserMenu/MenuItem.vue.d.ts +27 -0
- package/dist/components/UserMenu/UserMenu.vue.d.ts +39 -0
- package/dist/components/UserMenu/UserMenuList.vue.d.ts +39 -0
- package/dist/components/UserMenu/enum/enum.d.ts +8 -0
- package/dist/components/UserMenu/interface/interface.d.ts +34 -0
- package/dist/components/index.d.ts +74 -0
- package/dist/default-avatar.jpg +0 -0
- package/dist/extenstions/modal.d.ts +14 -0
- package/dist/extenstions/search.d.ts +9 -0
- package/dist/helpers/change-style-properties.d.ts +19 -0
- package/dist/helpers/genarate-unic-id.d.ts +1 -0
- package/dist/helpers/guards/is-options-object-with-hint.d.ts +6 -0
- package/dist/helpers/guards/is-options-object.d.ts +4 -0
- package/dist/helpers/throttle.d.ts +7 -0
- package/dist/helpers/trimText.d.ts +1 -0
- package/dist/helpers/vue-plugin-remove-testid.d.ts +8 -0
- package/dist/index.d.ts +12 -0
- package/dist/main.d.ts +1 -0
- package/dist/sep-yui.es.ts +91120 -0
- package/dist/sep-yui.umd.ts +1409 -0
- package/dist/style.css +1 -0
- package/package.json +86 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IconNameEnum } from '../../Icon/enum/enum';
|
|
2
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
3
|
+
|
|
4
|
+
export interface IFilterOption {
|
|
5
|
+
value: string;
|
|
6
|
+
type: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IStateItem extends IFilterOption {
|
|
9
|
+
choose: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface IFilterProps extends IDataTestIdProp {
|
|
12
|
+
title: string;
|
|
13
|
+
iconName?: IconNameEnum;
|
|
14
|
+
multiselect?: boolean;
|
|
15
|
+
options: string[] | IFilterOption[];
|
|
16
|
+
defaultValue?: string | string[];
|
|
17
|
+
closeOnSelect?: boolean;
|
|
18
|
+
searchable?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { IFilterTagProps, IFilterTagOption } from './interface/interface';
|
|
2
|
+
import { IconNameEnum } from '../Icon/enum/enum';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IFilterTagProps>, {
|
|
5
|
+
iconName: IconNameEnum;
|
|
6
|
+
options: () => never[];
|
|
7
|
+
selectedValues: () => never[];
|
|
8
|
+
maxShowCount: number;
|
|
9
|
+
multiply: boolean;
|
|
10
|
+
showClearButton: boolean;
|
|
11
|
+
dataTestid: string;
|
|
12
|
+
disallowNull: boolean;
|
|
13
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
change: (value: string[]) => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IFilterTagProps>, {
|
|
16
|
+
iconName: IconNameEnum;
|
|
17
|
+
options: () => never[];
|
|
18
|
+
selectedValues: () => never[];
|
|
19
|
+
maxShowCount: number;
|
|
20
|
+
multiply: boolean;
|
|
21
|
+
showClearButton: boolean;
|
|
22
|
+
dataTestid: string;
|
|
23
|
+
disallowNull: boolean;
|
|
24
|
+
}>>> & Readonly<{
|
|
25
|
+
onChange?: ((value: string[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
dataTestid: string;
|
|
28
|
+
options: IFilterTagOption[];
|
|
29
|
+
multiply: boolean;
|
|
30
|
+
iconName: IconNameEnum;
|
|
31
|
+
selectedValues: string[];
|
|
32
|
+
maxShowCount: number;
|
|
33
|
+
showClearButton: boolean;
|
|
34
|
+
disallowNull: boolean;
|
|
35
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export default _default;
|
|
37
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
39
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
40
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
41
|
+
} : {
|
|
42
|
+
type: import('vue').PropType<T[K]>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type __VLS_WithDefaults<P, D> = {
|
|
47
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
48
|
+
default: D[K];
|
|
49
|
+
}> : P[K];
|
|
50
|
+
};
|
|
51
|
+
type __VLS_Prettify<T> = {
|
|
52
|
+
[K in keyof T]: T[K];
|
|
53
|
+
} & {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IconNameEnum } from '../../Icon/enum/enum';
|
|
2
|
+
import { BadgesTypeEnum } from '../../Badges/enum/enum.ts';
|
|
3
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
4
|
+
|
|
5
|
+
export interface IFilterTagOption extends IDataTestIdProp {
|
|
6
|
+
value: string;
|
|
7
|
+
type: BadgesTypeEnum;
|
|
8
|
+
label: string;
|
|
9
|
+
}
|
|
10
|
+
export interface IFilterTagProps extends IDataTestIdProp {
|
|
11
|
+
title?: string;
|
|
12
|
+
iconName?: IconNameEnum;
|
|
13
|
+
options: IFilterTagOption[];
|
|
14
|
+
selectedValues?: string[];
|
|
15
|
+
multiply?: boolean;
|
|
16
|
+
maxShowCount?: number;
|
|
17
|
+
showClearButton?: boolean;
|
|
18
|
+
disallowNull?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IIconPorps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IIconPorps>, {
|
|
4
|
+
dataTestid: string;
|
|
5
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IIconPorps>, {
|
|
6
|
+
dataTestid: string;
|
|
7
|
+
}>>> & Readonly<{}>, {
|
|
8
|
+
dataTestid: string;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type __VLS_WithDefaults<P, D> = {
|
|
21
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
22
|
+
default: D[K];
|
|
23
|
+
}> : P[K];
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Prettify<T> = {
|
|
26
|
+
[K in keyof T]: T[K];
|
|
27
|
+
} & {};
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
export declare enum IconNameEnum {
|
|
2
|
+
notification = "notification",
|
|
3
|
+
notificationYes = "notification-yes",
|
|
4
|
+
help = "help",
|
|
5
|
+
moonFill = "moon-fill",
|
|
6
|
+
arrowLeft = "arrow-left",
|
|
7
|
+
chevronDown = "chevron-down",
|
|
8
|
+
chevronUp = "chevron-up",
|
|
9
|
+
checkbox = "checkbox",
|
|
10
|
+
chevronRight = "chevron-right",
|
|
11
|
+
chevronLeft = "chevron-left",
|
|
12
|
+
dark = "dark",
|
|
13
|
+
deleteSmall = "delete-small",
|
|
14
|
+
exitBig = "exit-big",
|
|
15
|
+
exitSmall = "exit-small",
|
|
16
|
+
exit = "exit",
|
|
17
|
+
exitCircle = "exit-circle",
|
|
18
|
+
externalLink = "external-link",
|
|
19
|
+
leftBigSmall = "left-big-small",
|
|
20
|
+
light = "light",
|
|
21
|
+
leftBig = "left-big",
|
|
22
|
+
rightSmall = "right-small",
|
|
23
|
+
settings = "settings",
|
|
24
|
+
settingsDark = "settings-dark",
|
|
25
|
+
searchNormal = "search-normal",
|
|
26
|
+
search = "search",
|
|
27
|
+
filter = "filter",
|
|
28
|
+
bgNotContent = "bg-not-content",
|
|
29
|
+
document = "document",
|
|
30
|
+
baseDetail = "base-detail",
|
|
31
|
+
plusSmall = "plus-small",
|
|
32
|
+
plus = "plus",
|
|
33
|
+
addPlus = "add-plus",
|
|
34
|
+
closeVision = "close-vision",
|
|
35
|
+
openVision = "open-vision",
|
|
36
|
+
trash = "trash",
|
|
37
|
+
printer = "printer",
|
|
38
|
+
uploadCloud = "upload-cloud",
|
|
39
|
+
archive = "archive",
|
|
40
|
+
menuClose = "menu-close",
|
|
41
|
+
menuOpen = "menu-open",
|
|
42
|
+
bookOpen = "book-open",
|
|
43
|
+
chartLine = "chart-line",
|
|
44
|
+
marriage = "marriage",
|
|
45
|
+
baseOfAssemblyUnits = "base-of-assembly-units",
|
|
46
|
+
equipmentBase = "equipment-base",
|
|
47
|
+
supplierDatabase = "supplier-database",
|
|
48
|
+
theDatabaseOfMaterials = "the-database-of-materials",
|
|
49
|
+
theBaseOfTheTool = "the-base-of-the-tool",
|
|
50
|
+
fileDatabase = "file-database",
|
|
51
|
+
baseOfEquipmentAndInventory = "base-of-equipment-and-inventory",
|
|
52
|
+
mainPage = "main-page",
|
|
53
|
+
shopping = "shopping",
|
|
54
|
+
shippingTasks = "shipping-tasks",
|
|
55
|
+
warehouse = "warehouse",
|
|
56
|
+
production = "production",
|
|
57
|
+
wastes = "wastes",
|
|
58
|
+
paperClip = "paper-clip",
|
|
59
|
+
writeDowns = "write-downs",
|
|
60
|
+
theComplaint = "the-complaint",
|
|
61
|
+
usersGroup = "users-group",
|
|
62
|
+
reports = "reports",
|
|
63
|
+
editing = "editing",
|
|
64
|
+
shadedArrowDown = "shaded-arrow-down",
|
|
65
|
+
shadedArrowRight = "shaded-arrow-right",
|
|
66
|
+
shadedArrowLeft = "shaded-arrow-left",
|
|
67
|
+
shadedArrowUp = "shaded-arrow-up",
|
|
68
|
+
star = "star",
|
|
69
|
+
info = "info",
|
|
70
|
+
files = "files",
|
|
71
|
+
moreHorizontal = "more-horizontal",
|
|
72
|
+
moreVertical = "more-vertical",
|
|
73
|
+
fileText = "file-text",
|
|
74
|
+
gitPullRequest = "git-pull-request",
|
|
75
|
+
folder = "folder",
|
|
76
|
+
crossLarge = "cross-large",
|
|
77
|
+
crossSmall = "cross-small",
|
|
78
|
+
profileIcon = "profile-icon",
|
|
79
|
+
profile = "profile",
|
|
80
|
+
rightBig = "right-big",
|
|
81
|
+
alertTriangle = "alert-triangle",
|
|
82
|
+
copy = "copy",
|
|
83
|
+
action = "action",
|
|
84
|
+
reset = "reset",
|
|
85
|
+
move = "move",
|
|
86
|
+
eye = "eye",
|
|
87
|
+
eyeOff = "eye-off",
|
|
88
|
+
handSignEmoji = "hand-sign-emoji",
|
|
89
|
+
calendar = "calendar",
|
|
90
|
+
paint = "paint",
|
|
91
|
+
closeTag = "close-tag",
|
|
92
|
+
arrowUp = "arrow-up",
|
|
93
|
+
arrowDown = "arrow-down",
|
|
94
|
+
openDocument = "open-document",
|
|
95
|
+
time = "time",
|
|
96
|
+
menuArchive = "menu-archive",
|
|
97
|
+
baseProduct = "base-product",
|
|
98
|
+
sidebar = "sidebar",
|
|
99
|
+
pin = "pin",
|
|
100
|
+
read = "read",
|
|
101
|
+
atSign = "at-sign",
|
|
102
|
+
smile = "smile",
|
|
103
|
+
planeRight = "plane-right",
|
|
104
|
+
addUser = "add-user",
|
|
105
|
+
noDistrub = "no-distrub",
|
|
106
|
+
logout = "logout",
|
|
107
|
+
minus = "minus",
|
|
108
|
+
keyboard = "keyboard",
|
|
109
|
+
planeRightFill = "plane-right-fill",
|
|
110
|
+
message = "message",
|
|
111
|
+
darkThemeSwitcher = "dark-theme-switcher",
|
|
112
|
+
qrCode = "qr-code"
|
|
113
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { IVectorIcon } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
export declare const alertTriangle: IVectorIcon;
|
|
4
|
+
export declare const help: IVectorIcon;
|
|
5
|
+
export declare const notification: IVectorIcon;
|
|
6
|
+
export declare const moonFill: IVectorIcon;
|
|
7
|
+
export declare const arrowLeft: IVectorIcon;
|
|
8
|
+
export declare const arrowUp: IVectorIcon;
|
|
9
|
+
export declare const arrowDown: IVectorIcon;
|
|
10
|
+
export declare const stepArrowUp: IVectorIcon;
|
|
11
|
+
export declare const stepArrowDown: IVectorIcon;
|
|
12
|
+
export declare const chevronDown: IVectorIcon;
|
|
13
|
+
export declare const chevronRight: IVectorIcon;
|
|
14
|
+
export declare const chevronLeft: IVectorIcon;
|
|
15
|
+
export declare const chevronUp: IVectorIcon;
|
|
16
|
+
export declare const checkbox: IVectorIcon;
|
|
17
|
+
export declare const dark: IVectorIcon;
|
|
18
|
+
export declare const exitBig: IVectorIcon;
|
|
19
|
+
export declare const exitSmall: IVectorIcon;
|
|
20
|
+
export declare const externalLink: IVectorIcon;
|
|
21
|
+
export declare const exit: IVectorIcon;
|
|
22
|
+
export declare const exitCircle: IVectorIcon;
|
|
23
|
+
export declare const leftBigSmall: IVectorIcon;
|
|
24
|
+
export declare const leftBig: IVectorIcon;
|
|
25
|
+
export declare const light: IVectorIcon;
|
|
26
|
+
export declare const notificationYes: IVectorIcon;
|
|
27
|
+
export declare const plusSmall: IVectorIcon;
|
|
28
|
+
export declare const plus16: IVectorIcon;
|
|
29
|
+
export declare const plus: IVectorIcon;
|
|
30
|
+
export declare const minus: IVectorIcon;
|
|
31
|
+
export declare const profileIcon: IVectorIcon;
|
|
32
|
+
export declare const profile: IVectorIcon;
|
|
33
|
+
export declare const rightBig: IVectorIcon;
|
|
34
|
+
export declare const rightSmall: IVectorIcon;
|
|
35
|
+
export declare const settings: IVectorIcon;
|
|
36
|
+
export declare const settingsDark: IVectorIcon;
|
|
37
|
+
export declare const searchNormal: IVectorIcon;
|
|
38
|
+
export declare const search: IVectorIcon;
|
|
39
|
+
export declare const filter: IVectorIcon;
|
|
40
|
+
export declare const bgNotContent: IVectorIcon;
|
|
41
|
+
export declare const document: IVectorIcon;
|
|
42
|
+
export declare const baseDetail: IVectorIcon;
|
|
43
|
+
export declare const baseProduct: IVectorIcon;
|
|
44
|
+
export declare const addPlus: IVectorIcon;
|
|
45
|
+
export declare const closeVision: IVectorIcon;
|
|
46
|
+
export declare const deleteSmall: IVectorIcon;
|
|
47
|
+
export declare const openVision: IVectorIcon;
|
|
48
|
+
export declare const trash: IVectorIcon;
|
|
49
|
+
export declare const trashSmall: IVectorIcon;
|
|
50
|
+
export declare const printer: IVectorIcon;
|
|
51
|
+
export declare const uploadCloud: IVectorIcon;
|
|
52
|
+
export declare const archive: IVectorIcon;
|
|
53
|
+
export declare const menuArchive: IVectorIcon;
|
|
54
|
+
export declare const menuClose: IVectorIcon;
|
|
55
|
+
export declare const menuOpen: IVectorIcon;
|
|
56
|
+
export declare const bookOpen: IVectorIcon;
|
|
57
|
+
export declare const chartLine: IVectorIcon;
|
|
58
|
+
export declare const marriage: IVectorIcon;
|
|
59
|
+
export declare const baseOfAssemblyUnits: IVectorIcon;
|
|
60
|
+
export declare const equipmentBase: IVectorIcon;
|
|
61
|
+
export declare const supplierDatabase: IVectorIcon;
|
|
62
|
+
export declare const theDatabaseOfMaterials: IVectorIcon;
|
|
63
|
+
export declare const theBaseOfTheTool: IVectorIcon;
|
|
64
|
+
export declare const fileDatabase: IVectorIcon;
|
|
65
|
+
export declare const mainPage: IVectorIcon;
|
|
66
|
+
export declare const shopping: IVectorIcon;
|
|
67
|
+
export declare const shippingTasks: IVectorIcon;
|
|
68
|
+
export declare const warehouse: IVectorIcon;
|
|
69
|
+
export declare const action: IVectorIcon;
|
|
70
|
+
export declare const company: IVectorIcon;
|
|
71
|
+
export declare const production: IVectorIcon;
|
|
72
|
+
export declare const wastes: IVectorIcon;
|
|
73
|
+
export declare const writeDowns: IVectorIcon;
|
|
74
|
+
export declare const theComplaint: IVectorIcon;
|
|
75
|
+
export declare const baseOfEquipmentAndInventory: IVectorIcon;
|
|
76
|
+
export declare const usersGroup: IVectorIcon;
|
|
77
|
+
export declare const reports: IVectorIcon;
|
|
78
|
+
export declare const editing: IVectorIcon;
|
|
79
|
+
export declare const paperClip: IVectorIcon;
|
|
80
|
+
export declare const shadedArrowDown: IVectorIcon;
|
|
81
|
+
export declare const shadedArrowRight: IVectorIcon;
|
|
82
|
+
export declare const shadedArrowLeft: IVectorIcon;
|
|
83
|
+
export declare const shadedArrowUp: IVectorIcon;
|
|
84
|
+
export declare const star: IVectorIcon;
|
|
85
|
+
export declare const info: IVectorIcon;
|
|
86
|
+
export declare const files: IVectorIcon;
|
|
87
|
+
export declare const moreHorizontal: IVectorIcon;
|
|
88
|
+
export declare const moreVertical: IVectorIcon;
|
|
89
|
+
export declare const fileText: IVectorIcon;
|
|
90
|
+
export declare const gitPullRequest: IVectorIcon;
|
|
91
|
+
export declare const folder: IVectorIcon;
|
|
92
|
+
export declare const crossSmall: IVectorIcon;
|
|
93
|
+
export declare const crossLarge: IVectorIcon;
|
|
94
|
+
export declare const copy: IVectorIcon;
|
|
95
|
+
export declare const reset: IVectorIcon;
|
|
96
|
+
export declare const move: IVectorIcon;
|
|
97
|
+
export declare const eye: IVectorIcon;
|
|
98
|
+
export declare const eyeOff: IVectorIcon;
|
|
99
|
+
export declare const handSignEmoji: IVectorIcon;
|
|
100
|
+
export declare const calendar: IVectorIcon;
|
|
101
|
+
export declare const paint: IVectorIcon;
|
|
102
|
+
export declare const closeTag: IVectorIcon;
|
|
103
|
+
export declare const slashCircle: IVectorIcon;
|
|
104
|
+
export declare const openDocument: IVectorIcon;
|
|
105
|
+
export declare const time: IVectorIcon;
|
|
106
|
+
export declare const remains: IVectorIcon;
|
|
107
|
+
export declare const atSign: IVectorIcon;
|
|
108
|
+
export declare const smile: IVectorIcon;
|
|
109
|
+
export declare const planeRight: IVectorIcon;
|
|
110
|
+
export declare const sidebar: IVectorIcon;
|
|
111
|
+
export declare const pin: IVectorIcon;
|
|
112
|
+
export declare const read: IVectorIcon;
|
|
113
|
+
export declare const addUser: IVectorIcon;
|
|
114
|
+
export declare const noDistrub: IVectorIcon;
|
|
115
|
+
export declare const logout: IVectorIcon;
|
|
116
|
+
export declare const keyboard: IVectorIcon;
|
|
117
|
+
export declare const message: IVectorIcon;
|
|
118
|
+
export declare const darkThemeSwitcher: IVectorIcon;
|
|
119
|
+
export declare const qrCode: IVectorIcon;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IconNameEnum } from './../enum/enum';
|
|
2
|
+
import { ColorsEnum } from '../../../common/colors';
|
|
3
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
4
|
+
|
|
5
|
+
export interface IIconPorps extends IDataTestIdProp {
|
|
6
|
+
height?: number;
|
|
7
|
+
width?: number;
|
|
8
|
+
name: IconNameEnum;
|
|
9
|
+
color?: ColorsEnum | string;
|
|
10
|
+
}
|
|
11
|
+
export interface IVectorIcon {
|
|
12
|
+
name: string;
|
|
13
|
+
viewbox?: string;
|
|
14
|
+
fill?: string;
|
|
15
|
+
style: 'line' | 'solid';
|
|
16
|
+
path: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { IInputProps } from './interface/interface.ts';
|
|
2
|
+
import { TextFieldEnum } from '../Input/enum/enum';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IInputProps>, {
|
|
5
|
+
type: TextFieldEnum;
|
|
6
|
+
required: boolean;
|
|
7
|
+
inputMessage: string;
|
|
8
|
+
modelValue: string;
|
|
9
|
+
hideClearButton: boolean;
|
|
10
|
+
dataTestid: string;
|
|
11
|
+
modelModifiers: () => {};
|
|
12
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (value: string) => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IInputProps>, {
|
|
15
|
+
type: TextFieldEnum;
|
|
16
|
+
required: boolean;
|
|
17
|
+
inputMessage: string;
|
|
18
|
+
modelValue: string;
|
|
19
|
+
hideClearButton: boolean;
|
|
20
|
+
dataTestid: string;
|
|
21
|
+
modelModifiers: () => {};
|
|
22
|
+
}>>> & Readonly<{
|
|
23
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
24
|
+
}>, {
|
|
25
|
+
dataTestid: string;
|
|
26
|
+
type: TextFieldEnum;
|
|
27
|
+
required: boolean;
|
|
28
|
+
modelValue: string;
|
|
29
|
+
inputMessage: string;
|
|
30
|
+
hideClearButton: boolean;
|
|
31
|
+
modelModifiers: object;
|
|
32
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
type __VLS_WithDefaults<P, D> = {
|
|
44
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
45
|
+
default: D[K];
|
|
46
|
+
}> : P[K];
|
|
47
|
+
};
|
|
48
|
+
type __VLS_Prettify<T> = {
|
|
49
|
+
[K in keyof T]: T[K];
|
|
50
|
+
} & {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare enum InputTypeEnum {
|
|
2
|
+
initial = "initial",
|
|
3
|
+
error = "error",
|
|
4
|
+
warning = "warning",
|
|
5
|
+
success = "success",
|
|
6
|
+
disabled = "disabled",
|
|
7
|
+
ordinary = "ordinary",
|
|
8
|
+
minor = "minor"
|
|
9
|
+
}
|
|
10
|
+
export declare enum TextFieldEnum {
|
|
11
|
+
text = "text",
|
|
12
|
+
email = "email",
|
|
13
|
+
password = "password",
|
|
14
|
+
tel = "tel",
|
|
15
|
+
url = "url",
|
|
16
|
+
week = "week"
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { TextFieldEnum } from '../enum/enum';
|
|
2
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
3
|
+
|
|
4
|
+
export interface IInputProps extends IDataTestIdProp {
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
inputMessage: string;
|
|
7
|
+
type?: TextFieldEnum;
|
|
8
|
+
required?: boolean;
|
|
9
|
+
modelValue?: string;
|
|
10
|
+
hideClearButton?: boolean;
|
|
11
|
+
autocomplete?: string;
|
|
12
|
+
modelModifiers: object;
|
|
13
|
+
}
|
|
14
|
+
export interface IInputEmit {
|
|
15
|
+
(e: 'update:modelValue', value: string): void;
|
|
16
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { SizesEnum } from '../../common/sizes.ts';
|
|
2
|
+
import { IInputNumberProps } from './interface/interface.ts';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IInputNumberProps>, {
|
|
5
|
+
modelValue: number;
|
|
6
|
+
min: number;
|
|
7
|
+
max: number;
|
|
8
|
+
size: SizesEnum;
|
|
9
|
+
dataTestid: string;
|
|
10
|
+
isInteger: boolean;
|
|
11
|
+
zeroPad: boolean;
|
|
12
|
+
modelModifiers: () => {};
|
|
13
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
+
"update:modelValue": (value: string | number) => void;
|
|
15
|
+
focused: (event: FocusEvent) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IInputNumberProps>, {
|
|
17
|
+
modelValue: number;
|
|
18
|
+
min: number;
|
|
19
|
+
max: number;
|
|
20
|
+
size: SizesEnum;
|
|
21
|
+
dataTestid: string;
|
|
22
|
+
isInteger: boolean;
|
|
23
|
+
zeroPad: boolean;
|
|
24
|
+
modelModifiers: () => {};
|
|
25
|
+
}>>> & Readonly<{
|
|
26
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
27
|
+
onFocused?: ((event: FocusEvent) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
dataTestid: string;
|
|
30
|
+
size: SizesEnum.small | SizesEnum.medium;
|
|
31
|
+
modelValue: number;
|
|
32
|
+
max: number;
|
|
33
|
+
min: number;
|
|
34
|
+
modelModifiers: object;
|
|
35
|
+
isInteger: boolean;
|
|
36
|
+
zeroPad: boolean;
|
|
37
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
export default _default;
|
|
39
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
41
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
+
} : {
|
|
44
|
+
type: import('vue').PropType<T[K]>;
|
|
45
|
+
required: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
type __VLS_WithDefaults<P, D> = {
|
|
49
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
50
|
+
default: D[K];
|
|
51
|
+
}> : P[K];
|
|
52
|
+
};
|
|
53
|
+
type __VLS_Prettify<T> = {
|
|
54
|
+
[K in keyof T]: T[K];
|
|
55
|
+
} & {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SizesEnum } from '../../../common/sizes.ts';
|
|
2
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
3
|
+
|
|
4
|
+
export interface IInputNumberProps extends IDataTestIdProp {
|
|
5
|
+
inputMessage: string;
|
|
6
|
+
modelValue?: number;
|
|
7
|
+
required?: boolean;
|
|
8
|
+
isInteger?: boolean;
|
|
9
|
+
min?: number;
|
|
10
|
+
max?: number;
|
|
11
|
+
size?: SizesEnum.small | SizesEnum.medium;
|
|
12
|
+
zeroPad?: boolean;
|
|
13
|
+
modelModifiers?: object;
|
|
14
|
+
}
|
|
15
|
+
export interface IState {
|
|
16
|
+
isPressed: boolean;
|
|
17
|
+
inputElement: number | string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ILoaderProps } from './interfaces/interfaces';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ILoaderProps>, {
|
|
4
|
+
title: string;
|
|
5
|
+
dataTestid: string;
|
|
6
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ILoaderProps>, {
|
|
7
|
+
title: string;
|
|
8
|
+
dataTestid: string;
|
|
9
|
+
}>>> & Readonly<{}>, {
|
|
10
|
+
dataTestid: string;
|
|
11
|
+
title: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Prettify<T> = {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} & {};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { IDialogProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDialogProps>, {
|
|
7
|
+
dataTestid: string;
|
|
8
|
+
position: string;
|
|
9
|
+
}>>, {
|
|
10
|
+
closeDialog: () => void;
|
|
11
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
close: (...args: any[]) => void;
|
|
13
|
+
unmounted: (...args: any[]) => void;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDialogProps>, {
|
|
15
|
+
dataTestid: string;
|
|
16
|
+
position: string;
|
|
17
|
+
}>>> & Readonly<{
|
|
18
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
19
|
+
onUnmounted?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
dataTestid: string;
|
|
22
|
+
position: "right" | "center" | "bottom";
|
|
23
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import('vue').PropType<T[K]>;
|
|
32
|
+
required: true;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithDefaults<P, D> = {
|
|
36
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
37
|
+
default: D[K];
|
|
38
|
+
}> : P[K];
|
|
39
|
+
};
|
|
40
|
+
type __VLS_Prettify<T> = {
|
|
41
|
+
[K in keyof T]: T[K];
|
|
42
|
+
} & {};
|
|
43
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
new (): {
|
|
45
|
+
$slots: S;
|
|
46
|
+
};
|
|
47
|
+
};
|