@factoringplus/pl-components-pack-v3 1.2.32-pre-01 → 1.2.32-pre-02

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 (23) hide show
  1. package/README.md +17 -17
  2. package/dist/components/data/pl-table-plus/pl-table-plus.vue.d.ts +5 -0
  3. package/dist/components/deprecated/pl-table/pl-table.vue.d.ts +1 -1
  4. package/dist/components/form/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +1 -1
  5. package/dist/components/form/pl-autocomplete/pl-autocompete.vue.d.ts +1 -1
  6. package/dist/components/form/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +1 -1
  7. package/dist/components/form/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +1 -1
  8. package/dist/components/form/pl-input-plus/components/pl-currency.vue.d.ts +1 -1
  9. package/dist/components/form/pl-input-plus/components/pl-default.vue.d.ts +2 -2
  10. package/dist/components/form/pl-input-plus/pl-input-plus.vue.d.ts +5 -5
  11. package/dist/components/form/pl-multi-select/components/pl-default.vue.d.ts +1 -1
  12. package/dist/components/form/pl-multi-select/components/pl-multi-select-dropdown.vue.d.ts +1 -1
  13. package/dist/components/form/pl-multi-select/pl-multi-select.vue.d.ts +1 -1
  14. package/dist/components/form/pl-select-plus/components/pl-default.vue.d.ts +1 -1
  15. package/dist/components/form/pl-select-plus/components/pl-select-dropdown.vue.d.ts +1 -1
  16. package/dist/components/form/pl-select-plus/pl-select-plus.vue.d.ts +1 -1
  17. package/dist/components/pl-table-plus/components/Pagination/PlPagination.vue.d.ts +44 -0
  18. package/dist/pl-components-pack-v3.es.js +9933 -9765
  19. package/dist/pl-components-pack-v3.umd.js +31 -31
  20. package/dist/plugins/api/api.d.ts +1 -0
  21. package/dist/style.css +1 -1
  22. package/package.json +1 -1
  23. package/dist/plugins/api/cancelAllRequests.d.ts +0 -2
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # Библиотека компонентов Vue 3
2
-
3
- ## Установка
4
-
5
- ```bash
6
- npm i @factoringplus/pl-components-pack-v3
7
- ```
8
-
9
- ### Добавление компонентов в проект
10
-
11
- ```bash
12
- // src/main.js
13
- import components from '@factoringplus/pl-components-pack-v3';
14
- import '@factoringplus/pl-components-pack-v3/dist/style.css';
15
-
16
- app.use(components)
17
- ```
1
+ # Библиотека компонентов Vue 3
2
+
3
+ ## Установка
4
+
5
+ ```bash
6
+ npm i @factoringplus/pl-components-pack-v3
7
+ ```
8
+
9
+ ### Добавление компонентов в проект
10
+
11
+ ```bash
12
+ // src/main.js
13
+ import components from '@factoringplus/pl-components-pack-v3';
14
+ import '@factoringplus/pl-components-pack-v3/dist/style.css';
15
+
16
+ app.use(components)
17
+ ```
@@ -13,6 +13,8 @@ interface IProps {
13
13
  selectedRows?: Record<string, string | number>[];
14
14
  uniqKey?: string | '';
15
15
  defaultWrapperWidth?: number | null;
16
+ pagination?: boolean;
17
+ pageSizeOptions?: Array<number>;
16
18
  }
17
19
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
18
20
  headers: () => any[];
@@ -23,6 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
23
25
  uniqKey: string;
24
26
  hideHeadersOnMobile: () => any[];
25
27
  defaultWrapperWidth: any;
28
+ pagination: boolean;
26
29
  }>, {
27
30
  resetSelectedRows: () => void;
28
31
  selectAllRows: () => void;
@@ -40,6 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
40
43
  uniqKey: string;
41
44
  hideHeadersOnMobile: () => any[];
42
45
  defaultWrapperWidth: any;
46
+ pagination: boolean;
43
47
  }>>> & {
44
48
  onInfiniteScroll?: (...args: any[]) => any;
45
49
  "onUpdate:selectedRows"?: (...args: any[]) => any;
@@ -53,6 +57,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
53
57
  width?: number;
54
58
  maxWidthContent?: string;
55
59
  }[];
60
+ pagination: boolean;
56
61
  hideHeadersOnMobile: string[];
57
62
  rows: Record<string, string | number>[];
58
63
  isLoading: boolean;
@@ -111,9 +111,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
111
111
  }, {
112
112
  form: Record<string, any>;
113
113
  modelValue: unknown[];
114
+ total: number;
114
115
  noDataText: string;
115
116
  hasPagination: boolean;
116
- total: number;
117
117
  pageSizes: unknown[];
118
118
  isTotalVisible: boolean;
119
119
  layout: string;
@@ -31,8 +31,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
31
31
  }, {
32
32
  id: string;
33
33
  focus: boolean;
34
- uniqKey: string;
35
34
  helpertext: string;
35
+ uniqKey: string;
36
36
  query: string;
37
37
  suggestionList: IOption[];
38
38
  symbolsCountSearch: string | number;
@@ -61,7 +61,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
61
61
  modelValue: IOption;
62
62
  teleport: boolean;
63
63
  placeholder: string;
64
- uniqKey: string;
65
64
  prop: string;
66
65
  helpertext: string;
67
66
  optional: string;
@@ -69,6 +68,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
69
68
  leftIcon: any;
70
69
  rightIcon: any;
71
70
  clearable: boolean;
71
+ uniqKey: string;
72
72
  suggestionList: IOption[];
73
73
  symbolsCountSearch: string | number;
74
74
  noData: string;
@@ -52,12 +52,12 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
52
52
  width: string;
53
53
  modelValue: string;
54
54
  placeholder: string;
55
- showInput: boolean;
56
55
  prop: string;
57
56
  helpertext: string;
58
57
  optional: string;
59
58
  tooltip: string;
60
59
  clearable: boolean;
60
+ showInput: boolean;
61
61
  monthSwitch: boolean;
62
62
  yearSwitch: boolean;
63
63
  disabledDate: (date: string) => boolean;
@@ -52,12 +52,12 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
52
52
  width: string;
53
53
  modelValue: string[];
54
54
  placeholder: string;
55
- showInput: boolean;
56
55
  prop: string;
57
56
  helpertext: string;
58
57
  optional: string;
59
58
  tooltip: string;
60
59
  clearable: boolean;
60
+ showInput: boolean;
61
61
  focusOnReset: boolean;
62
62
  periods: boolean;
63
63
  periodOptions: string[];
@@ -23,9 +23,9 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
23
23
  }, {
24
24
  disabled: boolean;
25
25
  placeholder: string;
26
- round: boolean;
27
26
  prop: string;
28
27
  leftIcon: any;
28
+ round: boolean;
29
29
  }, {}>;
30
30
  export default _default;
31
31
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -45,13 +45,13 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
45
45
  id: string;
46
46
  placeholder: string;
47
47
  prop: string;
48
- showWordLimit: boolean;
49
48
  leftIcon: any;
50
49
  rightIcon: any;
50
+ clearable: boolean;
51
+ showWordLimit: boolean;
51
52
  maxlength: number;
52
53
  iconPointer: boolean;
53
54
  customBlur: boolean;
54
- clearable: boolean;
55
55
  }, {}>;
56
56
  export default _default;
57
57
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -81,23 +81,23 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
81
81
  width: string;
82
82
  modelValue: import('./types').TInputModelValue;
83
83
  placeholder: string;
84
- round: boolean;
85
84
  prop: string;
86
- showWordLimit: boolean;
87
- currency: boolean;
88
- password: boolean;
89
85
  helpertext: string;
90
86
  optional: string;
91
87
  tooltip: string;
92
88
  leftIcon: any;
93
89
  rightIcon: any;
90
+ clearable: boolean;
91
+ round: boolean;
92
+ showWordLimit: boolean;
93
+ currency: boolean;
94
+ password: boolean;
94
95
  'show-word-limit': boolean;
95
96
  maxlength: number;
96
97
  currentPassword: boolean;
97
98
  newPassword: boolean;
98
99
  iconPointer: boolean;
99
100
  customBlur: boolean;
100
- clearable: boolean;
101
101
  focusOnReset: boolean;
102
102
  disableTrim: boolean;
103
103
  valueRange: {
@@ -46,8 +46,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
46
46
  prop: string;
47
47
  leftIcon: any;
48
48
  clearable: boolean;
49
- showError: number;
50
49
  showDescription: string | boolean;
50
+ showError: number;
51
51
  }, {}>;
52
52
  export default _default;
53
53
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -25,8 +25,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
25
25
  }, {
26
26
  id: string;
27
27
  focus: boolean;
28
- helpertext: string;
29
28
  options: IOption[];
29
+ helpertext: string;
30
30
  errors: import('async-validator').ValidateError[];
31
31
  offsets: string;
32
32
  }, {}>;
@@ -45,13 +45,13 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
45
45
  modelValue: IOption[];
46
46
  placeholder: string;
47
47
  buttons: boolean;
48
+ options: IOption[];
48
49
  prop: string;
49
50
  helpertext: string;
50
51
  optional: string;
51
52
  tooltip: string;
52
53
  leftIcon: any;
53
54
  clearable: boolean;
54
- options: IOption[];
55
55
  }, {}>;
56
56
  export default _default;
57
57
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -47,8 +47,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
47
47
  prop: string;
48
48
  leftIcon: any;
49
49
  clearable: boolean;
50
- showError: number;
51
50
  showDescription: string | boolean;
51
+ showError: number;
52
52
  }, {}>;
53
53
  export default _default;
54
54
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -21,8 +21,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
21
21
  }, {
22
22
  id: string;
23
23
  focus: boolean;
24
- helpertext: string;
25
24
  options: IOption[];
25
+ helpertext: string;
26
26
  errors: import('async-validator').ValidateError[];
27
27
  offsets: string;
28
28
  }, {}>;
@@ -47,6 +47,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
47
47
  modelValue: string | number;
48
48
  teleport: boolean;
49
49
  placeholder: string;
50
+ options: IOption[];
50
51
  prop: string;
51
52
  helpertext: string;
52
53
  optional: string;
@@ -54,7 +55,6 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
54
55
  leftIcon: any;
55
56
  rightIcon: any;
56
57
  clearable: boolean;
57
- options: IOption[];
58
58
  showDescription: boolean;
59
59
  account: boolean;
60
60
  }, {}>;
@@ -0,0 +1,44 @@
1
+ interface IProps {
2
+ pageNumber?: number;
3
+ pageSize?: number;
4
+ total: number;
5
+ showPageSize?: boolean;
6
+ options?: Array<number>;
7
+ }
8
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
9
+ pageSize: number;
10
+ pageNumber: number;
11
+ showPageSize: boolean;
12
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ pageChange: (...args: any[]) => void;
14
+ pageSizeChange: (...args: any[]) => void;
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
16
+ pageSize: number;
17
+ pageNumber: number;
18
+ showPageSize: boolean;
19
+ }>>> & {
20
+ onPageChange?: (...args: any[]) => any;
21
+ onPageSizeChange?: (...args: any[]) => any;
22
+ }, {
23
+ pageNumber: number;
24
+ pageSize: number;
25
+ showPageSize: boolean;
26
+ }, {}>;
27
+ export default _default;
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
+ default: D[K];
40
+ }> : P[K];
41
+ };
42
+ type __VLS_Prettify<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};