plugin-ui-for-kzt 0.0.10 → 0.0.12

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.
Files changed (46) hide show
  1. package/dist/components/BaseBreadCrumbs/BaseBreadCrumbs.vue.d.ts +16 -0
  2. package/dist/components/BaseButton/BaseButton.vue.d.ts +86 -0
  3. package/dist/components/BaseCalendar/BaseCalendar.vue.d.ts +40 -0
  4. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +77 -0
  5. package/dist/components/BaseDropdown/BaseDropdown.vue.d.ts +83 -0
  6. package/dist/components/BaseIcon/BaseIcon.vue.d.ts +16 -0
  7. package/dist/components/BaseInput/BaseInput.vue.d.ts +108 -0
  8. package/dist/components/BaseInputCalendar/BaseInputCalendar.vue.d.ts +119 -0
  9. package/dist/components/BaseInputCurrency/BaseInputCurrency.vue.d.ts +103 -0
  10. package/dist/components/BaseInputEmail/BaseInputEmail.vue.d.ts +105 -0
  11. package/dist/components/BaseInputPhone/BaseInputPhone.vue.d.ts +103 -0
  12. package/dist/components/BaseLoader/BaseLoader.vue.d.ts +4 -0
  13. package/dist/components/BaseOpenedListItem/BaseOpenedListItem.vue.d.ts +66 -0
  14. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +77 -0
  15. package/dist/components/BaseSegmentedButtons/BaseSegmentedButtons.vue.d.ts +87 -0
  16. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +122 -0
  17. package/dist/components/BaseSiteInput/BaseSiteInput.vue.d.ts +53 -0
  18. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +98 -0
  19. package/dist/components/BaseToggle/BaseToggle.vue.d.ts +75 -0
  20. package/dist/components/BaseTooltip/BaseTooltip.vue.d.ts +41 -0
  21. package/dist/components/DataTable/DataTable.vue.d.ts +12 -0
  22. package/dist/components/Modal/Modal.vue.d.ts +16 -0
  23. package/dist/components/Spinner/Spinner.vue.d.ts +20 -0
  24. package/dist/components/Toaster/Toaster.vue.d.ts +80 -0
  25. package/dist/components/Toaster/timer.d.ts +12 -0
  26. package/dist/components/Tooltip/Tooltip.vue.d.ts +28 -0
  27. package/dist/composables/kit/color.d.ts +6 -0
  28. package/dist/composables/kit/interactive.d.ts +7 -0
  29. package/dist/composables/kit/size.d.ts +6 -0
  30. package/dist/composables/kit/state.d.ts +17 -0
  31. package/dist/composables/kit/style.d.ts +8 -0
  32. package/dist/composables/kit/utils.d.ts +1 -0
  33. package/dist/icons/index.d.ts +4 -0
  34. package/dist/index.d.ts +33 -0
  35. package/dist/index.js +2 -0
  36. package/dist/index.js.LICENSE.txt +1 -0
  37. package/dist/plugins/modalPlugin.d.ts +17 -0
  38. package/dist/plugins/toasterPlugin.d.ts +26 -0
  39. package/dist/sprite.svg +4 -0
  40. package/dist/store/modal.d.ts +11 -0
  41. package/dist/types/index.d.ts +5 -0
  42. package/package.json +2 -2
  43. package/src/components/BaseCalendar/BaseCalendar.vue +12 -11
  44. package/src/components/BaseInputPhone/BaseInputPhone.vue +6 -1
  45. package/src/components/BaseSelect/BaseSelect.vue +275 -265
  46. package/src/types/input.d.ts +2 -2
@@ -0,0 +1,98 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ selected: {
3
+ type: BooleanConstructor;
4
+ };
5
+ active: {
6
+ type: BooleanConstructor;
7
+ };
8
+ disabled: {
9
+ type: BooleanConstructor;
10
+ };
11
+ required: {
12
+ type: BooleanConstructor;
13
+ };
14
+ error: {
15
+ type: (BooleanConstructor | StringConstructor)[];
16
+ default: string;
17
+ };
18
+ loading: {
19
+ type: BooleanConstructor;
20
+ };
21
+ modelValue: {
22
+ default: string;
23
+ };
24
+ id: {};
25
+ mask: {};
26
+ placeholder: {
27
+ default: string;
28
+ };
29
+ readonly: {
30
+ type: BooleanConstructor;
31
+ };
32
+ hint: {
33
+ default: string;
34
+ };
35
+ label: {};
36
+ tooltipOptions: {};
37
+ validationText: {};
38
+ size: {
39
+ default: string;
40
+ };
41
+ maxLength: {};
42
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
43
+ [key: string]: any;
44
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
+ selected: {
46
+ type: BooleanConstructor;
47
+ };
48
+ active: {
49
+ type: BooleanConstructor;
50
+ };
51
+ disabled: {
52
+ type: BooleanConstructor;
53
+ };
54
+ required: {
55
+ type: BooleanConstructor;
56
+ };
57
+ error: {
58
+ type: (BooleanConstructor | StringConstructor)[];
59
+ default: string;
60
+ };
61
+ loading: {
62
+ type: BooleanConstructor;
63
+ };
64
+ modelValue: {
65
+ default: string;
66
+ };
67
+ id: {};
68
+ mask: {};
69
+ placeholder: {
70
+ default: string;
71
+ };
72
+ readonly: {
73
+ type: BooleanConstructor;
74
+ };
75
+ hint: {
76
+ default: string;
77
+ };
78
+ label: {};
79
+ tooltipOptions: {};
80
+ validationText: {};
81
+ size: {
82
+ default: string;
83
+ };
84
+ maxLength: {};
85
+ }>> & Readonly<{}>, {
86
+ error: string | boolean;
87
+ size: string;
88
+ disabled: boolean;
89
+ placeholder: string;
90
+ modelValue: string;
91
+ readonly: boolean;
92
+ selected: boolean;
93
+ active: boolean;
94
+ required: boolean;
95
+ loading: boolean;
96
+ hint: string;
97
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
98
+ export default _default;
@@ -0,0 +1,75 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ id: {};
3
+ modelValue: {
4
+ type: BooleanConstructor;
5
+ };
6
+ readonly: {
7
+ type: BooleanConstructor;
8
+ };
9
+ label: {};
10
+ subLabel: {};
11
+ labelPosition: {};
12
+ size: {
13
+ default: string;
14
+ };
15
+ selected: {
16
+ type: BooleanConstructor;
17
+ };
18
+ active: {
19
+ type: BooleanConstructor;
20
+ };
21
+ disabled: {
22
+ type: BooleanConstructor;
23
+ };
24
+ required: {
25
+ type: BooleanConstructor;
26
+ };
27
+ error: {};
28
+ loading: {
29
+ type: BooleanConstructor;
30
+ };
31
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
32
+ [key: string]: any;
33
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
34
+ id: {};
35
+ modelValue: {
36
+ type: BooleanConstructor;
37
+ };
38
+ readonly: {
39
+ type: BooleanConstructor;
40
+ };
41
+ label: {};
42
+ subLabel: {};
43
+ labelPosition: {};
44
+ size: {
45
+ default: string;
46
+ };
47
+ selected: {
48
+ type: BooleanConstructor;
49
+ };
50
+ active: {
51
+ type: BooleanConstructor;
52
+ };
53
+ disabled: {
54
+ type: BooleanConstructor;
55
+ };
56
+ required: {
57
+ type: BooleanConstructor;
58
+ };
59
+ error: {};
60
+ loading: {
61
+ type: BooleanConstructor;
62
+ };
63
+ }>> & Readonly<{
64
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
65
+ }>, {
66
+ size: string;
67
+ disabled: boolean;
68
+ modelValue: boolean;
69
+ readonly: boolean;
70
+ selected: boolean;
71
+ active: boolean;
72
+ required: boolean;
73
+ loading: boolean;
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
+ export default _default;
@@ -0,0 +1,41 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ title: {};
3
+ content: {};
4
+ arrow: {
5
+ type: BooleanConstructor;
6
+ default: boolean;
7
+ };
8
+ theme: {
9
+ default: string;
10
+ };
11
+ position: {
12
+ default: string;
13
+ };
14
+ trigger: {
15
+ default: string;
16
+ };
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, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
+ title: {};
21
+ content: {};
22
+ arrow: {
23
+ type: BooleanConstructor;
24
+ default: boolean;
25
+ };
26
+ theme: {
27
+ default: string;
28
+ };
29
+ position: {
30
+ default: string;
31
+ };
32
+ trigger: {
33
+ default: string;
34
+ };
35
+ }>> & Readonly<{}>, {
36
+ position: string;
37
+ arrow: boolean;
38
+ theme: string;
39
+ trigger: string;
40
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ columns: {};
3
+ rows: {};
4
+ pageSize: {};
5
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
6
+ [key: string]: any;
7
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
+ columns: {};
9
+ rows: {};
10
+ pageSize: {};
11
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
@@ -0,0 +1,16 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ options: {};
3
+ name: {};
4
+ onClose: {
5
+ type: FunctionConstructor;
6
+ };
7
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
8
+ [key: string]: any;
9
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
+ options: {};
11
+ name: {};
12
+ onClose: {
13
+ type: FunctionConstructor;
14
+ };
15
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ export default _default;
@@ -0,0 +1,20 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ show: {
3
+ type: BooleanConstructor;
4
+ };
5
+ size: {};
6
+ color: {};
7
+ thickness: {};
8
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
9
+ [key: string]: any;
10
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
+ show: {
12
+ type: BooleanConstructor;
13
+ };
14
+ size: {};
15
+ color: {};
16
+ thickness: {};
17
+ }>> & Readonly<{}>, {
18
+ show: boolean;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
20
+ export default _default;
@@ -0,0 +1,80 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ message: {
3
+ default: string;
4
+ };
5
+ type: {
6
+ default: string;
7
+ };
8
+ position: {
9
+ default: string;
10
+ };
11
+ dismissible: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ onDismiss: {
16
+ type: FunctionConstructor;
17
+ default: () => void;
18
+ };
19
+ onClick: {
20
+ type: FunctionConstructor;
21
+ default: () => void;
22
+ };
23
+ pauseOnHover: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ duration: {
28
+ default: number;
29
+ };
30
+ onHeightUpdate: {
31
+ type: FunctionConstructor;
32
+ default: () => void;
33
+ };
34
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
35
+ [key: string]: any;
36
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
+ message: {
38
+ default: string;
39
+ };
40
+ type: {
41
+ default: string;
42
+ };
43
+ position: {
44
+ default: string;
45
+ };
46
+ dismissible: {
47
+ type: BooleanConstructor;
48
+ default: boolean;
49
+ };
50
+ onDismiss: {
51
+ type: FunctionConstructor;
52
+ default: () => void;
53
+ };
54
+ onClick: {
55
+ type: FunctionConstructor;
56
+ default: () => void;
57
+ };
58
+ pauseOnHover: {
59
+ type: BooleanConstructor;
60
+ default: boolean;
61
+ };
62
+ duration: {
63
+ default: number;
64
+ };
65
+ onHeightUpdate: {
66
+ type: FunctionConstructor;
67
+ default: () => void;
68
+ };
69
+ }>> & Readonly<{}>, {
70
+ message: string;
71
+ type: string;
72
+ position: string;
73
+ dismissible: boolean;
74
+ onDismiss: Function;
75
+ onClick: Function;
76
+ pauseOnHover: boolean;
77
+ duration: number;
78
+ onHeightUpdate: Function;
79
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
80
+ export default _default;
@@ -0,0 +1,12 @@
1
+ declare class Timer {
2
+ private timerId;
3
+ private start;
4
+ private remaining;
5
+ private callback;
6
+ constructor(callback: () => void, delay: number);
7
+ pause(): void;
8
+ resume(): void;
9
+ clear(): void;
10
+ reset(delay: number): void;
11
+ }
12
+ export default Timer;
@@ -0,0 +1,28 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ content: {
3
+ default: string;
4
+ };
5
+ position: {
6
+ default: string;
7
+ };
8
+ width: {
9
+ default: string;
10
+ };
11
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
12
+ [key: string]: any;
13
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ content: {
15
+ default: string;
16
+ };
17
+ position: {
18
+ default: string;
19
+ };
20
+ width: {
21
+ default: string;
22
+ };
23
+ }>> & Readonly<{}>, {
24
+ position: string;
25
+ content: string;
26
+ width: string;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
28
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import type { ICoreColor } from '../../types/utils';
2
+ export declare function useKitColor(props: ICoreColor): {
3
+ colorClassList: import("vue").ComputedRef<{
4
+ [x: string]: string | undefined;
5
+ }[]>;
6
+ };
@@ -0,0 +1,7 @@
1
+ import type { ICoreInteractive } from '../../types/utils';
2
+ export declare function useKitInteractive(props: ICoreInteractive): {
3
+ componentTag: import("vue").ComputedRef<string>;
4
+ interactiveClassList: import("vue").ComputedRef<{
5
+ '--is-interactive': boolean;
6
+ }[]>;
7
+ };
@@ -0,0 +1,6 @@
1
+ import type { ICoreSize } from '../../types/utils';
2
+ export declare function useKitSize(props: ICoreSize): {
3
+ sizeClassList: import("vue").ComputedRef<{
4
+ [x: string]: import("../../types/utils").TCoreSize | undefined;
5
+ }[]>;
6
+ };
@@ -0,0 +1,17 @@
1
+ import type { ICoreState } from '../../types/utils';
2
+ export declare function useKitState(props: ICoreState): {
3
+ stateClassList: import("vue").ComputedRef<{
4
+ '--is-selected': boolean | undefined;
5
+ '--is-active': boolean | undefined;
6
+ '--is-required': boolean | undefined;
7
+ '--is-error': import("../../types/utils").Nullable<string | number | boolean> | undefined;
8
+ '--is-loading': boolean | undefined;
9
+ '--is-disabled': boolean | undefined;
10
+ }[]>;
11
+ stateAttrs: import("vue").ComputedRef<{
12
+ disabled?: true | undefined;
13
+ required?: true | undefined;
14
+ 'data-disabled'?: true | undefined;
15
+ 'data-error'?: boolean | undefined;
16
+ }>;
17
+ };
@@ -0,0 +1,8 @@
1
+ import type { ICoreStyle } from '../../types/utils';
2
+ export declare function useKitStyle(props: ICoreStyle): {
3
+ styleClassList: import("vue").ComputedRef<{
4
+ '--is-outline': boolean | undefined;
5
+ '--is-rounded': boolean | undefined;
6
+ '--is-underline': boolean | undefined;
7
+ }[]>;
8
+ };
@@ -0,0 +1 @@
1
+ export declare function isValidUrl(string: string): boolean;
@@ -0,0 +1,4 @@
1
+ declare const requireIcons: {
2
+ (id: string): any;
3
+ keys(): string[];
4
+ };
@@ -0,0 +1,33 @@
1
+ import Modal from "./components/Modal/Modal.vue";
2
+ import DataTable from "./components/DataTable/DataTable.vue";
3
+ import Tooltip from "./components/Tooltip/Tooltip.vue";
4
+ import Spinner from "./components/Spinner/Spinner.vue";
5
+ import { useModal } from "./plugins/modalPlugin";
6
+ import { useToast } from "./plugins/toasterPlugin";
7
+ import "./icons";
8
+ import "./styles/root.scss";
9
+ import BaseIcon from "./components/BaseIcon/BaseIcon.vue";
10
+ import BaseBreadCrumbs from "./components/BaseBreadCrumbs/BaseBreadCrumbs.vue";
11
+ import BaseButton from "./components/BaseButton/BaseButton.vue";
12
+ import BaseLoader from "./components/BaseLoader/BaseLoader.vue";
13
+ import BaseCalendar from "./components/BaseCalendar/BaseCalendar.vue";
14
+ import BaseCheckbox from "./components/BaseCheckbox/BaseCheckbox.vue";
15
+ import BaseRadio from "./components/BaseRadio/BaseRadio.vue";
16
+ import BaseTextarea from "./components/BaseTextarea/BaseTextarea.vue";
17
+ import BaseToggle from "./components/BaseToggle/BaseToggle.vue";
18
+ import BaseTooltip from "./components/BaseTooltip/BaseTooltip.vue";
19
+ import BaseInput from "./components/BaseInput/BaseInput.vue";
20
+ import BaseInputEmail from "./components/BaseInputEmail/BaseInputEmail.vue";
21
+ import BaseInputCalendar from "./components/BaseInputCalendar/BaseInputCalendar.vue";
22
+ import BaseOpenedListItem from "./components/BaseOpenedListItem/BaseOpenedListItem.vue";
23
+ import BaseDropdown from "./components/BaseDropdown/BaseDropdown.vue";
24
+ import BaseSelect from "./components/BaseSelect/BaseSelect.vue";
25
+ import BaseSiteInput from "./components/BaseSiteInput/BaseSiteInput.vue";
26
+ import BaseInputPhone from "./components/BaseInputPhone/BaseInputPhone.vue";
27
+ import BaseInputCurrency from "./components/BaseInputCurrency/BaseInputCurrency.vue";
28
+ import BaseSegmentedButtons from "./components/BaseSegmentedButtons/BaseSegmentedButtons.vue";
29
+ declare const _default: {
30
+ install(app: any): void;
31
+ };
32
+ export default _default;
33
+ export { Modal, DataTable, Tooltip, Spinner, useModal, useToast, BaseIcon, BaseBreadCrumbs, BaseButton, BaseLoader, BaseCalendar, BaseCheckbox, BaseRadio, BaseTextarea, BaseToggle, BaseTooltip, BaseInput, BaseInputEmail, BaseInputCalendar, BaseOpenedListItem, BaseDropdown, BaseSelect, BaseSiteInput, BaseInputPhone, BaseInputCurrency, BaseSegmentedButtons };