plugin-ui-for-kzt 0.0.15 → 0.0.17

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 (50) hide show
  1. package/dist/components/BaseButton/BaseButton.vue.d.ts +2 -2
  2. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +3 -3
  3. package/dist/components/BaseChips/BaseChips.vue.d.ts +27 -0
  4. package/dist/components/BaseDropdown/BaseDropdown.vue.d.ts +2 -2
  5. package/dist/components/BaseInput/BaseInput.vue.d.ts +4 -4
  6. package/dist/components/BaseInputCalendar/BaseInputCalendar.vue.d.ts +4 -4
  7. package/dist/components/BaseInputCurrency/BaseInputCurrency.vue.d.ts +4 -4
  8. package/dist/components/BaseInputEmail/BaseInputEmail.vue.d.ts +4 -4
  9. package/dist/components/BaseInputPhone/BaseInputPhone.vue.d.ts +4 -4
  10. package/dist/components/BaseOpenedListItem/BaseOpenedListItem.vue.d.ts +2 -2
  11. package/dist/components/BasePagination/BasePagination.vue.d.ts +51 -0
  12. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +3 -3
  13. package/dist/components/BaseSegmentedButtons/BaseSegmentedButtons.vue.d.ts +1 -1
  14. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +2 -2
  15. package/dist/components/BaseSiteInput/BaseSiteInput.vue.d.ts +1 -1
  16. package/dist/components/BaseSwiper/BaseSwiper.vue.d.ts +57 -0
  17. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +4 -4
  18. package/dist/components/BaseToggle/BaseToggle.vue.d.ts +3 -3
  19. package/dist/components/Toaster/Toaster.vue.d.ts +4 -4
  20. package/dist/index.d.ts +5 -2
  21. package/dist/index.js +1 -1
  22. package/dist/sprite.d.ts +4 -0
  23. package/dist/sprite.svg +1 -1
  24. package/example/App.vue +45 -23
  25. package/package.json +1 -1
  26. package/src/assets/icons/arrow-left-circle.svg +3 -0
  27. package/src/assets/icons/arrow-left.svg +4 -0
  28. package/src/assets/icons/arrow-right-circle.svg +3 -0
  29. package/src/assets/icons/arrow-right.svg +4 -0
  30. package/src/assets/icons/star.svg +3 -0
  31. package/src/components/BaseBreadCrumbs/BaseBreadCrumbs.vue +1 -2
  32. package/src/components/BaseButton/BaseButton.vue +29 -10
  33. package/src/components/BaseChips/BaseChips.vue +182 -0
  34. package/src/components/BaseChips/README.md +64 -0
  35. package/src/components/BaseInput/BaseInput.vue +1 -0
  36. package/src/components/BaseOpenedListItem/BaseOpenedListItem.vue +4 -4
  37. package/src/components/BasePagination/BasePagination.vue +405 -0
  38. package/src/components/BasePagination/README.md +156 -0
  39. package/src/components/BaseSiteInput/BaseSiteInput.vue +26 -9
  40. package/src/components/BaseSwiper/BaseSwiper.vue +229 -0
  41. package/src/components/BaseTextarea/BaseTextarea.vue +1 -0
  42. package/src/index.ts +42 -16
  43. package/src/sprite.ts +11 -0
  44. package/src/styles/root.scss +3 -0
  45. package/src/types/chips.d.ts +10 -0
  46. package/src/types/pagination.d.ts +13 -0
  47. package/src/types/swiper.d.ts +17 -0
  48. package/webpack.config.js +1 -1
  49. package/dist/icons/index.d.ts +0 -2
  50. package/src/icons/index.ts +0 -15
@@ -71,14 +71,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
71
71
  type: BooleanConstructor;
72
72
  };
73
73
  }>> & Readonly<{}>, {
74
+ active: boolean;
74
75
  size: string;
75
76
  disabled: boolean;
76
77
  color: string;
78
+ tag: string;
77
79
  selected: boolean;
78
- active: boolean;
79
80
  required: boolean;
80
81
  loading: boolean;
81
- tag: string;
82
82
  outline: boolean;
83
83
  rounded: boolean;
84
84
  underline: boolean;
@@ -65,13 +65,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
65
65
  }>> & Readonly<{
66
66
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
67
67
  }>, {
68
+ active: boolean;
68
69
  size: string;
69
70
  disabled: boolean;
70
- modelValue: boolean;
71
- readonly: boolean;
72
71
  selected: boolean;
73
- active: boolean;
74
72
  required: boolean;
75
73
  loading: boolean;
74
+ modelValue: boolean;
75
+ readonly: boolean;
76
76
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
77
77
  export default _default;
@@ -0,0 +1,27 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ text: {};
3
+ active: {
4
+ type: BooleanConstructor;
5
+ };
6
+ iconName: {};
7
+ count: {};
8
+ size: {
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
+ text: {};
15
+ active: {
16
+ type: BooleanConstructor;
17
+ };
18
+ iconName: {};
19
+ count: {};
20
+ size: {
21
+ default: string;
22
+ };
23
+ }>> & Readonly<{}>, {
24
+ active: boolean;
25
+ size: string;
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
27
+ export default _default;
@@ -69,13 +69,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
69
69
  }>> & Readonly<{
70
70
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
71
71
  }>, {
72
+ active: boolean;
72
73
  size: string;
73
74
  disabled: boolean;
74
- modelValue: boolean;
75
75
  selected: boolean;
76
- active: boolean;
77
76
  required: boolean;
78
77
  loading: boolean;
78
+ modelValue: boolean;
79
79
  parentWidth: boolean;
80
80
  preventControl: boolean;
81
81
  autoClose: boolean;
@@ -91,17 +91,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
91
91
  type: BooleanConstructor;
92
92
  };
93
93
  }>> & Readonly<{}>, {
94
- error: string | boolean;
94
+ active: boolean;
95
95
  type: string;
96
96
  size: string;
97
+ error: string | boolean;
97
98
  disabled: boolean;
98
99
  placeholder: string;
99
- modelValue: string;
100
- readonly: boolean;
101
100
  selected: boolean;
102
- active: boolean;
103
101
  required: boolean;
104
102
  loading: boolean;
103
+ modelValue: string;
104
+ readonly: boolean;
105
105
  mask: string;
106
106
  hint: string;
107
107
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -101,17 +101,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
101
101
  default: null;
102
102
  };
103
103
  }>> & Readonly<{}>, {
104
- error: string | boolean;
104
+ active: boolean;
105
105
  type: string;
106
106
  size: string;
107
+ error: string | boolean;
107
108
  disabled: boolean;
108
109
  placeholder: string;
109
- modelValue: string;
110
- readonly: boolean;
111
110
  selected: boolean;
112
- active: boolean;
113
111
  required: boolean;
114
112
  loading: boolean;
113
+ modelValue: string;
114
+ readonly: boolean;
115
115
  range: boolean | Record<string, any>;
116
116
  minDate: null;
117
117
  hint: string;
@@ -87,17 +87,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
87
87
  type: BooleanConstructor;
88
88
  };
89
89
  }>> & Readonly<{}>, {
90
- error: string | boolean;
90
+ active: boolean;
91
91
  type: string;
92
92
  size: string;
93
+ error: string | boolean;
93
94
  disabled: boolean;
94
95
  placeholder: string;
95
- modelValue: string;
96
- readonly: boolean;
97
96
  selected: boolean;
98
- active: boolean;
99
97
  required: boolean;
100
98
  loading: boolean;
99
+ modelValue: string;
100
+ readonly: boolean;
101
101
  hint: string;
102
102
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
103
103
  export default _default;
@@ -89,17 +89,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
89
89
  }>> & Readonly<{
90
90
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
91
91
  }>, {
92
- error: string | boolean;
92
+ active: boolean;
93
93
  type: string;
94
94
  size: string;
95
+ error: string | boolean;
95
96
  disabled: boolean;
96
97
  placeholder: string;
97
- modelValue: string;
98
- readonly: boolean;
99
98
  selected: boolean;
100
- active: boolean;
101
99
  required: boolean;
102
100
  loading: boolean;
101
+ modelValue: string;
102
+ readonly: boolean;
103
103
  hint: string;
104
104
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
105
105
  export default _default;
@@ -87,17 +87,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
87
87
  type: BooleanConstructor;
88
88
  };
89
89
  }>> & Readonly<{}>, {
90
- error: string | boolean;
90
+ active: boolean;
91
91
  type: string;
92
92
  size: string;
93
+ error: string | boolean;
93
94
  disabled: boolean;
94
95
  placeholder: string;
95
- modelValue: string;
96
- readonly: boolean;
97
96
  selected: boolean;
98
- active: boolean;
99
97
  required: boolean;
100
98
  loading: boolean;
99
+ modelValue: string;
100
+ readonly: boolean;
101
101
  hint: string;
102
102
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
103
103
  export default _default;
@@ -55,12 +55,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
55
55
  type: BooleanConstructor;
56
56
  };
57
57
  }>> & Readonly<{}>, {
58
+ active: boolean;
58
59
  size: string;
59
60
  disabled: boolean;
61
+ tag: string;
60
62
  selected: boolean;
61
- active: boolean;
62
63
  required: boolean;
63
64
  loading: boolean;
64
- tag: string;
65
65
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
66
66
  export default _default;
@@ -0,0 +1,51 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ type: {
3
+ default: string;
4
+ };
5
+ currentPage: {
6
+ default: number;
7
+ };
8
+ totalPages: {
9
+ default: number;
10
+ };
11
+ maxDisplayedPages: {
12
+ default: number;
13
+ };
14
+ color: {
15
+ default: string;
16
+ };
17
+ size: {
18
+ default: string;
19
+ };
20
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
21
+ [key: string]: any;
22
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:currentPage"[], "update:currentPage", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ type: {
24
+ default: string;
25
+ };
26
+ currentPage: {
27
+ default: number;
28
+ };
29
+ totalPages: {
30
+ default: number;
31
+ };
32
+ maxDisplayedPages: {
33
+ default: number;
34
+ };
35
+ color: {
36
+ default: string;
37
+ };
38
+ size: {
39
+ default: string;
40
+ };
41
+ }>> & Readonly<{
42
+ "onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
43
+ }>, {
44
+ type: string;
45
+ size: string;
46
+ color: string;
47
+ currentPage: number;
48
+ totalPages: number;
49
+ maxDisplayedPages: number;
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
+ export default _default;
@@ -65,13 +65,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
65
65
  }>> & Readonly<{
66
66
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
67
67
  }>, {
68
+ active: boolean;
68
69
  size: string;
69
70
  disabled: boolean;
70
- modelValue: boolean;
71
- readonly: boolean;
72
71
  selected: boolean;
73
- active: boolean;
74
72
  required: boolean;
75
73
  loading: boolean;
74
+ modelValue: boolean;
75
+ readonly: boolean;
76
76
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
77
77
  export default _default;
@@ -73,11 +73,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
73
73
  }>> & Readonly<{
74
74
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
75
75
  }>, {
76
+ active: boolean;
76
77
  size: string;
77
78
  options: never[];
78
79
  disabled: boolean;
79
80
  selected: boolean;
80
- active: boolean;
81
81
  required: boolean;
82
82
  loading: boolean;
83
83
  outline: boolean;
@@ -105,17 +105,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
105
105
  onChange?: ((...args: any[]) => any) | undefined;
106
106
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
107
107
  }>, {
108
+ active: boolean;
108
109
  size: string;
109
110
  options: never[];
110
111
  disabled: boolean;
111
- readonly: boolean;
112
112
  selected: boolean;
113
- active: boolean;
114
113
  required: boolean;
115
114
  loading: boolean;
116
115
  outline: boolean;
117
116
  rounded: boolean;
118
117
  underline: boolean;
118
+ readonly: boolean;
119
119
  parentWidth: boolean;
120
120
  multiple: boolean;
121
121
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -45,8 +45,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
45
45
  }>> & Readonly<{
46
46
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
47
47
  }>, {
48
- error: string | boolean;
49
48
  size: string;
49
+ error: string | boolean;
50
50
  modelValue: string;
51
51
  readonly: boolean;
52
52
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,57 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ images: {
3
+ default: () => never[];
4
+ };
5
+ paginationSettings: {
6
+ default: {
7
+ type: string;
8
+ color: string;
9
+ };
10
+ };
11
+ currentSlide: {};
12
+ autoplay: {
13
+ type: BooleanConstructor;
14
+ default: boolean;
15
+ };
16
+ autoplayInterval: {
17
+ default: number;
18
+ };
19
+ buttonSize: {
20
+ default: string;
21
+ };
22
+ }>, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
23
+ [key: string]: any;
24
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:currentSlide"[], "update:currentSlide", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
25
+ images: {
26
+ default: () => never[];
27
+ };
28
+ paginationSettings: {
29
+ default: {
30
+ type: string;
31
+ color: string;
32
+ };
33
+ };
34
+ currentSlide: {};
35
+ autoplay: {
36
+ type: BooleanConstructor;
37
+ default: boolean;
38
+ };
39
+ autoplayInterval: {
40
+ default: number;
41
+ };
42
+ buttonSize: {
43
+ default: string;
44
+ };
45
+ }>> & Readonly<{
46
+ "onUpdate:currentSlide"?: ((...args: any[]) => any) | undefined;
47
+ }>, {
48
+ images: never[];
49
+ paginationSettings: {
50
+ type: string;
51
+ color: string;
52
+ };
53
+ autoplay: boolean;
54
+ autoplayInterval: number;
55
+ buttonSize: string;
56
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57
+ export default _default;
@@ -83,16 +83,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
83
83
  };
84
84
  maxLength: {};
85
85
  }>> & Readonly<{}>, {
86
- error: string | boolean;
86
+ active: boolean;
87
87
  size: string;
88
+ error: string | boolean;
88
89
  disabled: boolean;
89
90
  placeholder: string;
90
- modelValue: string;
91
- readonly: boolean;
92
91
  selected: boolean;
93
- active: boolean;
94
92
  required: boolean;
95
93
  loading: boolean;
94
+ modelValue: string;
95
+ readonly: boolean;
96
96
  hint: string;
97
97
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
98
98
  export default _default;
@@ -63,13 +63,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
63
63
  }>> & Readonly<{
64
64
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
65
65
  }>, {
66
+ active: boolean;
66
67
  size: string;
67
68
  disabled: boolean;
68
- modelValue: boolean;
69
- readonly: boolean;
70
69
  selected: boolean;
71
- active: boolean;
72
70
  required: boolean;
73
71
  loading: boolean;
72
+ modelValue: boolean;
73
+ readonly: boolean;
74
74
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
75
  export default _default;
@@ -67,14 +67,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
67
67
  default: () => void;
68
68
  };
69
69
  }>> & Readonly<{}>, {
70
- message: string;
71
70
  type: string;
71
+ message: string;
72
+ onClick: Function;
72
73
  position: string;
74
+ duration: number;
73
75
  dismissible: boolean;
74
- onDismiss: Function;
75
- onClick: Function;
76
76
  pauseOnHover: boolean;
77
- duration: number;
77
+ onDismiss: Function;
78
78
  onHeightUpdate: Function;
79
79
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
80
80
  export default _default;
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import Tooltip from "./components/Tooltip/Tooltip.vue";
4
4
  import Spinner from "./components/Spinner/Spinner.vue";
5
5
  import { useModal } from "./plugins/modalPlugin";
6
6
  import { useToast } from "./plugins/toasterPlugin";
7
- import "./icons";
7
+ import "./sprite";
8
8
  import "./styles/root.scss";
9
9
  import BaseIcon from "./components/BaseIcon/BaseIcon.vue";
10
10
  import BaseBreadCrumbs from "./components/BaseBreadCrumbs/BaseBreadCrumbs.vue";
@@ -22,12 +22,15 @@ import BaseInputCalendar from "./components/BaseInputCalendar/BaseInputCalendar.
22
22
  import BaseOpenedListItem from "./components/BaseOpenedListItem/BaseOpenedListItem.vue";
23
23
  import BaseDropdown from "./components/BaseDropdown/BaseDropdown.vue";
24
24
  import BaseSelect from "./components/BaseSelect/BaseSelect.vue";
25
+ import BasePagination from "./components/BasePagination/BasePagination.vue";
25
26
  import BaseSiteInput from "./components/BaseSiteInput/BaseSiteInput.vue";
26
27
  import BaseInputPhone from "./components/BaseInputPhone/BaseInputPhone.vue";
27
28
  import BaseInputCurrency from "./components/BaseInputCurrency/BaseInputCurrency.vue";
28
29
  import BaseSegmentedButtons from "./components/BaseSegmentedButtons/BaseSegmentedButtons.vue";
30
+ import BaseChips from "./components/BaseChips/BaseChips.vue";
31
+ import BaseSwiper from "./components/BaseSwiper/BaseSwiper.vue";
29
32
  declare const _default: {
30
33
  install(app: any): void;
31
34
  };
32
35
  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 };
36
+ 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, BasePagination, BaseSegmentedButtons, BaseChips, BaseSwiper };