plugin-ui-for-kzt 0.0.23 → 0.0.25
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/dist/assets/0e28e37419c99ac65b12.png +0 -0
- package/dist/assets/264165b2b0e8a6840eb0.png +0 -0
- package/dist/components/{DataTable/DataTable.vue.d.ts → BaseDefaultPages/BaseDefaultPages.vue.d.ts} +8 -6
- package/dist/components/BaseInput/BaseInput.vue.d.ts +1 -1
- package/dist/components/{Tooltip/Tooltip.vue.d.ts → BasePageLoader/BasePageLoader.vue.d.ts} +24 -11
- package/dist/components/BaseTable/BaseTable.vue.d.ts +44 -0
- package/dist/components/BaseToast/BaseToast.vue.d.ts +69 -0
- package/dist/composables/useToast.d.ts +2 -0
- package/dist/index.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/plugins/toastPlugin.d.ts +4 -0
- package/dist/sprite.svg +1 -1
- package/dist/store/toast.d.ts +8 -0
- package/example/App.vue +196 -29
- package/package.json +1 -1
- package/src/assets/404.png +0 -0
- package/src/assets/icons/arrow-down-stick.svg +4 -0
- package/src/assets/icons/edit-table.svg +5 -0
- package/src/assets/icons/ellipsis.svg +5 -0
- package/src/assets/icons/loading-page-default.svg +4 -0
- package/src/assets/icons/loading-page-error.svg +6 -0
- package/src/assets/icons/loading-page-success.svg +5 -0
- package/src/assets/icons/loading-page-warning.svg +6 -0
- package/src/assets/icons/more-dots.svg +5 -0
- package/src/assets/icons/time-table.svg +7 -0
- package/src/assets/icons/toast-error.svg +3 -0
- package/src/assets/icons/toast-info.svg +3 -0
- package/src/assets/icons/toast-success.svg +3 -0
- package/src/assets/icons/toast-warning.svg +3 -0
- package/src/assets/icons/trash-table.svg +7 -0
- package/src/assets/tech-work.png +0 -0
- package/src/components/BaseChips/BaseChips.vue +3 -1
- package/src/components/BaseDefaultPages/BaseDefaultPages.vue +140 -0
- package/src/components/BaseDefaultPages/README.md +128 -0
- package/src/components/BaseOpenedListItem/BaseOpenedListItem.vue +3 -3
- package/src/components/BasePageLoader/BasePageLoader.vue +211 -0
- package/src/components/BasePageLoader/README.md +80 -0
- package/src/components/BaseSelect/BaseSelect.vue +7 -3
- package/src/components/BaseTable/BaseTable.vue +411 -0
- package/src/components/BaseTable/README.md +294 -0
- package/src/components/BaseToast/BaseToast.vue +200 -0
- package/src/components/BaseToast/README.md +103 -0
- package/src/components/BaseTooltip/BaseTooltip.vue +1 -0
- package/src/components/BaseUpload/BaseUpload.vue +1 -1
- package/src/composables/useToast.ts +10 -0
- package/src/index.ts +17 -13
- package/src/plugins/toastPlugin.ts +100 -0
- package/src/store/toast.ts +59 -0
- package/src/styles/root.scss +2 -0
- package/src/styles/toast.scss +36 -0
- package/src/types/default-pages.d.ts +6 -0
- package/src/types/loading-page.d.ts +12 -0
- package/src/types/pagination.d.ts +1 -0
- package/src/types/table.d.ts +33 -0
- package/src/types/toast.d.ts +25 -0
- package/webpack.config.js +12 -0
- package/dist/components/Spinner/Spinner.vue.d.ts +0 -20
- package/dist/components/Toaster/Toaster.vue.d.ts +0 -80
- package/dist/components/Toaster/timer.d.ts +0 -12
- package/dist/plugins/toasterPlugin.d.ts +0 -26
- package/src/components/DataTable/DataTable.vue +0 -169
- package/src/components/DataTable/README.md +0 -57
- package/src/components/Spinner/README.md +0 -35
- package/src/components/Spinner/Spinner.vue +0 -60
- package/src/components/Toaster/README.md +0 -70
- package/src/components/Toaster/Toaster.vue +0 -235
- package/src/components/Toaster/timer.ts +0 -45
- package/src/components/Tooltip/README.md +0 -37
- package/src/components/Tooltip/Tooltip.vue +0 -96
- package/src/components/icons/CloseIcon.vue +0 -5
- package/src/components/icons/ErrorIcon.vue +0 -7
- package/src/components/icons/InfoIcon.vue +0 -7
- package/src/components/icons/SuccessIcon.vue +0 -6
- package/src/components/icons/WarningIcon.vue +0 -7
- package/src/plugins/toasterPlugin.ts +0 -179
|
Binary file
|
|
Binary file
|
package/dist/components/{DataTable/DataTable.vue.d.ts → BaseDefaultPages/BaseDefaultPages.vue.d.ts}
RENAMED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
title: {};
|
|
3
|
+
description: {};
|
|
4
|
+
buttonText: {};
|
|
5
|
+
type: {};
|
|
5
6
|
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
7
|
[key: string]: any;
|
|
7
8
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
title: {};
|
|
10
|
+
description: {};
|
|
11
|
+
buttonText: {};
|
|
12
|
+
type: {};
|
|
11
13
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
12
14
|
export default _default;
|
|
@@ -96,6 +96,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
96
96
|
size: string;
|
|
97
97
|
type: string;
|
|
98
98
|
id: string;
|
|
99
|
+
mask: string;
|
|
99
100
|
selected: boolean;
|
|
100
101
|
active: boolean;
|
|
101
102
|
disabled: boolean;
|
|
@@ -104,7 +105,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
104
105
|
modelValue: string;
|
|
105
106
|
readonly: boolean;
|
|
106
107
|
placeholder: string;
|
|
107
|
-
mask: string;
|
|
108
108
|
focusable: boolean;
|
|
109
109
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
110
110
|
export default _default;
|
|
@@ -1,28 +1,41 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
loading: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
4
5
|
};
|
|
5
|
-
|
|
6
|
+
iconType: {};
|
|
7
|
+
message: {
|
|
6
8
|
default: string;
|
|
7
9
|
};
|
|
8
|
-
|
|
10
|
+
modal: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
size: {
|
|
9
15
|
default: string;
|
|
10
16
|
};
|
|
11
17
|
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
12
18
|
[key: string]: any;
|
|
13
19
|
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
-
|
|
15
|
-
|
|
20
|
+
loading: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
16
23
|
};
|
|
17
|
-
|
|
24
|
+
iconType: {};
|
|
25
|
+
message: {
|
|
18
26
|
default: string;
|
|
19
27
|
};
|
|
20
|
-
|
|
28
|
+
modal: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
size: {
|
|
21
33
|
default: string;
|
|
22
34
|
};
|
|
23
35
|
}>> & Readonly<{}>, {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
36
|
+
size: string;
|
|
37
|
+
modal: boolean;
|
|
38
|
+
message: string;
|
|
39
|
+
loading: boolean;
|
|
27
40
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
41
|
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
columns: {};
|
|
3
|
+
data: {};
|
|
4
|
+
rowKey: {
|
|
5
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
6
|
+
};
|
|
7
|
+
showRowSelection: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
};
|
|
10
|
+
checkboxTitle: {};
|
|
11
|
+
showActions: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
};
|
|
14
|
+
actions: {};
|
|
15
|
+
pagination: {};
|
|
16
|
+
subTable: {};
|
|
17
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "select-all" | "sort-change" | "page-change")[], "update:selected" | "select-all" | "sort-change" | "page-change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
+
columns: {};
|
|
21
|
+
data: {};
|
|
22
|
+
rowKey: {
|
|
23
|
+
type: (StringConstructor | FunctionConstructor)[];
|
|
24
|
+
};
|
|
25
|
+
showRowSelection: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
};
|
|
28
|
+
checkboxTitle: {};
|
|
29
|
+
showActions: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
};
|
|
32
|
+
actions: {};
|
|
33
|
+
pagination: {};
|
|
34
|
+
subTable: {};
|
|
35
|
+
}>> & Readonly<{
|
|
36
|
+
"onUpdate:selected"?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
"onSelect-all"?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
39
|
+
"onPage-change"?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
}>, {
|
|
41
|
+
showRowSelection: boolean;
|
|
42
|
+
showActions: boolean;
|
|
43
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
|
+
export default _default;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
title: {};
|
|
3
|
+
type: {
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
withBackground: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
description: {};
|
|
11
|
+
showIcon: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
closable: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
primaryActionText: {};
|
|
20
|
+
secondaryActionText: {};
|
|
21
|
+
isOpen: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
duration: {
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
}>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "primaryAction" | "secondaryAction")[], "close" | "primaryAction" | "secondaryAction", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
title: {};
|
|
32
|
+
type: {
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
withBackground: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
description: {};
|
|
40
|
+
showIcon: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
closable: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
primaryActionText: {};
|
|
49
|
+
secondaryActionText: {};
|
|
50
|
+
isOpen: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
duration: {
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
}>> & Readonly<{
|
|
58
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
onPrimaryAction?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onSecondaryAction?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
}>, {
|
|
62
|
+
type: string;
|
|
63
|
+
isOpen: boolean;
|
|
64
|
+
closable: boolean;
|
|
65
|
+
withBackground: boolean;
|
|
66
|
+
showIcon: boolean;
|
|
67
|
+
duration: undefined;
|
|
68
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
69
|
+
export default _default;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import DataTable from "./components/DataTable/DataTable.vue";
|
|
2
|
-
import Tooltip from "./components/Tooltip/Tooltip.vue";
|
|
3
|
-
import Spinner from "./components/Spinner/Spinner.vue";
|
|
4
1
|
import { useModal } from "./composables/useModal";
|
|
5
|
-
import { useToast } from "./
|
|
2
|
+
import { useToast } from "./composables/useToast";
|
|
6
3
|
import "./sprite";
|
|
7
4
|
import "./styles/root.scss";
|
|
8
5
|
import BaseIcon from "./components/BaseIcon/BaseIcon.vue";
|
|
@@ -34,9 +31,13 @@ import BaseBadge from "./components/BaseBadge/BaseBadge.vue";
|
|
|
34
31
|
import BaseTag from "./components/BaseTag/BaseTag.vue";
|
|
35
32
|
import BaseBadgeGroup from "./components/BaseBadge/BaseBadgeGroup.vue";
|
|
36
33
|
import BaseField from "./components/BaseField/BaseField.vue";
|
|
34
|
+
import BaseToast from "./components/BaseToast/BaseToast.vue";
|
|
35
|
+
import BasePageLoader from "./components/BasePageLoader/BasePageLoader.vue";
|
|
37
36
|
import BaseTabs from "./components/BaseTabs/BaseTabs.vue";
|
|
37
|
+
import BaseTable from "./components/BaseTable/BaseTable.vue";
|
|
38
|
+
import BaseDefaultPages from "./components/BaseDefaultPages/BaseDefaultPages.vue";
|
|
38
39
|
declare const _default: {
|
|
39
40
|
install(app: any): void;
|
|
40
41
|
};
|
|
41
42
|
export default _default;
|
|
42
|
-
export { BaseModal, BaseBadgeGroup, BaseBadge,
|
|
43
|
+
export { BaseModal, BaseBadgeGroup, BaseBadge, BaseTag, useModal, useToast, BaseIcon, BaseBreadCrumbs, BaseButton, BaseLoader, BaseCalendar, BaseCheckbox, BaseRadio, BaseTextarea, BaseToggle, BaseTooltip, BaseInput, BaseInputEmail, BaseInputCalendar, BaseOpenedListItem, BaseDropdown, BaseSelect, BaseSiteInput, BaseInputPhone, BaseInputCurrency, BasePagination, BaseSegmentedButtons, BaseChips, BaseSwiper, BaseUpload, BaseField, BaseToast, BasePageLoader, BaseTabs, BaseTable, BaseDefaultPages };
|