@factoringplus/pl-components-pack-v3 1.13.5 → 1.13.8

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.
@@ -62,6 +62,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
62
62
  type: import('vue').PropType<boolean>;
63
63
  default: boolean;
64
64
  };
65
+ checkboxTooltipText: {
66
+ type: import('vue').PropType<string>;
67
+ default: string;
68
+ };
65
69
  headers: {
66
70
  type: import('vue').PropType<{
67
71
  label: string;
@@ -69,11 +73,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
69
73
  width?: number;
70
74
  minWidth?: number;
71
75
  maxWidthContent?: string;
76
+ alignRight?: boolean;
72
77
  }[]>;
73
78
  required: true;
74
79
  };
80
+ disableCheckbox: {
81
+ type: import('vue').PropType<boolean>;
82
+ };
75
83
  rows: {
76
- type: import('vue').PropType<Record<string, string | number>[]>;
84
+ type: import('vue').PropType<import('./types').TTableRow[]>;
77
85
  required: true;
78
86
  };
79
87
  withHover: {
@@ -160,6 +168,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
160
168
  type: import('vue').PropType<boolean>;
161
169
  default: boolean;
162
170
  };
171
+ checkboxTooltipText: {
172
+ type: import('vue').PropType<string>;
173
+ default: string;
174
+ };
163
175
  headers: {
164
176
  type: import('vue').PropType<{
165
177
  label: string;
@@ -167,11 +179,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
167
179
  width?: number;
168
180
  minWidth?: number;
169
181
  maxWidthContent?: string;
182
+ alignRight?: boolean;
170
183
  }[]>;
171
184
  required: true;
172
185
  };
186
+ disableCheckbox: {
187
+ type: import('vue').PropType<boolean>;
188
+ };
173
189
  rows: {
174
- type: import('vue').PropType<Record<string, string | number>[]>;
190
+ type: import('vue').PropType<import('./types').TTableRow[]>;
175
191
  required: true;
176
192
  };
177
193
  withHover: {
@@ -207,15 +223,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
207
223
  showPageSize: boolean;
208
224
  minLoadingRows: number;
209
225
  hideHeaders: boolean;
226
+ checkboxTooltipText: string;
210
227
  }, {}>, Partial<Record<string, (_: {
211
- row: Record<string, string | number>;
228
+ row: import('./types').TTableRow;
212
229
  }) => any>> & {
213
230
  noDataContainer?(_: {}): any;
214
231
  mobileTop?(_: {
215
- row: Record<string, string | number>;
232
+ row: import('./types').TTableRow;
216
233
  }): any;
217
234
  mobileBottom?(_: {
218
- row: Record<string, string | number>;
235
+ row: import('./types').TTableRow;
219
236
  }): any;
220
237
  }>;
221
238
  export default _default;
@@ -1,3 +1,9 @@
1
+ import { StyleValue } from 'vue';
2
+
3
+ export declare type TTableRow = {
4
+ isDisabledSelect?: boolean;
5
+ tooltipText?: string;
6
+ } & Record<string, string | number>;
1
7
  export declare interface ITablePlusProps {
2
8
  headers: {
3
9
  label: string;
@@ -5,9 +11,12 @@ export declare interface ITablePlusProps {
5
11
  width?: number;
6
12
  minWidth?: number;
7
13
  maxWidthContent?: string;
14
+ alignRight?: boolean;
8
15
  }[];
16
+ checkboxTooltipText?: string;
17
+ disableCheckbox?: boolean;
9
18
  hideHeadersOnMobile?: string[];
10
- rows: Record<string, string | number>[];
19
+ rows: TTableRow[];
11
20
  isLoading?: boolean;
12
21
  withHover?: boolean;
13
22
  isSelectable?: boolean;
@@ -27,7 +36,7 @@ export declare interface ITablePlusProps {
27
36
  }
28
37
  export declare interface ITableRowMaskProps {
29
38
  isSelectable: boolean;
30
- tableStyle: Record<string, string> | null;
39
+ tableStyle: StyleValue;
31
40
  headers: {
32
41
  label: string;
33
42
  key: string;
@@ -5,8 +5,8 @@ export declare const PlDropdown: import('../../../install-function').SFCInstallW
5
5
  new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
6
6
  modelValue: import('vue').PropType<any>;
7
7
  position: {
8
- type: import('vue').PropType<string>;
9
- default: string;
8
+ type: import('vue').PropType<import('./types').EDropdownXPosition>;
9
+ default: import('./types').EDropdownXPosition;
10
10
  };
11
11
  mobile: {
12
12
  type: import('vue').PropType<boolean>;
@@ -26,8 +26,8 @@ export declare const PlDropdown: import('../../../install-function').SFCInstallW
26
26
  }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
27
27
  modelValue: import('vue').PropType<any>;
28
28
  position: {
29
- type: import('vue').PropType<string>;
30
- default: string;
29
+ type: import('vue').PropType<import('./types').EDropdownXPosition>;
30
+ default: import('./types').EDropdownXPosition;
31
31
  };
32
32
  mobile: {
33
33
  type: import('vue').PropType<boolean>;
@@ -45,7 +45,7 @@ export declare const PlDropdown: import('../../../install-function').SFCInstallW
45
45
  type: import('vue').PropType<HTMLElement>;
46
46
  };
47
47
  }>>, {
48
- position: string;
48
+ position: import('./types').EDropdownXPosition;
49
49
  mobile: boolean;
50
50
  select: boolean;
51
51
  }, true, {}, {}, {
@@ -58,8 +58,8 @@ export declare const PlDropdown: import('../../../install-function').SFCInstallW
58
58
  }, Readonly<import('vue').ExtractPropTypes<{
59
59
  modelValue: import('vue').PropType<any>;
60
60
  position: {
61
- type: import('vue').PropType<string>;
62
- default: string;
61
+ type: import('vue').PropType<import('./types').EDropdownXPosition>;
62
+ default: import('./types').EDropdownXPosition;
63
63
  };
64
64
  mobile: {
65
65
  type: import('vue').PropType<boolean>;
@@ -77,7 +77,7 @@ export declare const PlDropdown: import('../../../install-function').SFCInstallW
77
77
  type: import('vue').PropType<HTMLElement>;
78
78
  };
79
79
  }>>, {}, {}, {}, {}, {
80
- position: string;
80
+ position: import('./types').EDropdownXPosition;
81
81
  mobile: boolean;
82
82
  select: boolean;
83
83
  }>;
@@ -87,8 +87,8 @@ export declare const PlDropdown: import('../../../install-function').SFCInstallW
87
87
  } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
88
88
  modelValue: import('vue').PropType<any>;
89
89
  position: {
90
- type: import('vue').PropType<string>;
91
- default: string;
90
+ type: import('vue').PropType<import('./types').EDropdownXPosition>;
91
+ default: import('./types').EDropdownXPosition;
92
92
  };
93
93
  mobile: {
94
94
  type: import('vue').PropType<boolean>;
@@ -106,7 +106,7 @@ export declare const PlDropdown: import('../../../install-function').SFCInstallW
106
106
  type: import('vue').PropType<HTMLElement>;
107
107
  };
108
108
  }>>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
109
- position: string;
109
+ position: import('./types').EDropdownXPosition;
110
110
  mobile: boolean;
111
111
  select: boolean;
112
112
  }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
@@ -1,8 +1,10 @@
1
+ import { EDropdownXPosition } from './types';
2
+
1
3
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
4
  modelValue: import('vue').PropType<any>;
3
5
  position: {
4
- type: import('vue').PropType<string>;
5
- default: string;
6
+ type: import('vue').PropType<EDropdownXPosition>;
7
+ default: EDropdownXPosition;
6
8
  };
7
9
  mobile: {
8
10
  type: import('vue').PropType<boolean>;
@@ -22,8 +24,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
22
24
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
23
25
  modelValue: import('vue').PropType<any>;
24
26
  position: {
25
- type: import('vue').PropType<string>;
26
- default: string;
27
+ type: import('vue').PropType<EDropdownXPosition>;
28
+ default: EDropdownXPosition;
27
29
  };
28
30
  mobile: {
29
31
  type: import('vue').PropType<boolean>;
@@ -41,7 +43,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
41
43
  type: import('vue').PropType<HTMLElement>;
42
44
  };
43
45
  }>>, {
44
- position: string;
46
+ position: EDropdownXPosition;
45
47
  mobile: boolean;
46
48
  select: boolean;
47
49
  }, {}>, {
@@ -1,7 +1,16 @@
1
+ export declare enum EDropdownXPosition {
2
+ Default = "",
3
+ Left = "left",
4
+ Right = "right"
5
+ }
6
+ export declare enum EDropdownYPosition {
7
+ Top = "top",
8
+ Bottom = "bottom"
9
+ }
1
10
  export declare interface IDropdownProps {
2
11
  idProp: string;
3
12
  inputElement?: HTMLElement;
4
13
  mobile?: boolean;
5
14
  select?: boolean;
6
- position?: string;
15
+ position?: EDropdownXPosition;
7
16
  }