@factoringplus/pl-components-pack-v3 1.8.36 → 1.8.37-pre-01-pagination

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./entry-b801f1a8.cjs");require("vue");exports.PlAutocomplete=l.PlAutocomplete;exports.PlButton=l.PlButton;exports.PlButtonDropdown=l.PlButtonDropdown;exports.PlCard=l.PlCard;exports.PlCheckbox=l.PlCheckbox;exports.PlCheckboxPlus=l.PlCheckboxPlus;exports.PlCurrency=l.PlCurrency;exports.PlDatePickerLegacyPlugin=l.PlDatePickerLegacyPlugin;exports.PlDatePickerPlugin=l.PlDatePickerPlugin;exports.PlDatePickerPlusPlugin=l.PlDatePickerPlusPlugin;exports.PlDialog=l.PlDialog$1;exports.PlDialogPlus=l.PlDialog;exports.PlDirectives=l.PlDirectives;exports.PlForm=l.PlForm;exports.PlIcon=l.PlIcon;exports.PlInput=l.PlInput;exports.PlInputPlus=l.PlInputPlus;exports.PlLink=l.PlLink;exports.PlMarkText=l.PlMarkText;exports.PlMultiSelect=l.PlMultiSelect;exports.PlMultitab=l.PlMultitab;exports.PlNavButton=l.PlNavButton;exports.PlNavigation=l.PlNavigation;exports.PlNotification=l.PlNotification;exports.PlOnboarding=l.PlOnboarding;exports.PlPagination=l.PlPagination;exports.PlRadio=l.PlRadio;exports.PlScrollbar=l.PlScrollbar;exports.PlSelect=l.PlSelect;exports.PlSelectPlus=l.PlSelectPlus;exports.PlSidebarItem=l.PlSidebarItem;exports.PlSigning=l.PlSigning;exports.PlSkeleton=l.PlSkeleton;exports.PlSkeletonButton=l.PlSkeletonButton;exports.PlSkeletonControl=l.PlSkeletonControl;exports.PlSkeletonIcon=l.PlSkeletonIcon;exports.PlSkeletonInput=l.PlSkeletonInput;exports.PlSkeletonTabs=l.PlSkeletonTabs;exports.PlSkeletonTagsChips=l.PlSkeletonTagsChips;exports.PlSkeletonText=l.PlSkeletonText;exports.PlSkeletonTextCell=l.PlSkeletonTextCell;exports.PlSkeletonUpload=l.PlSkeletonUpload;exports.PlStepper=l.PlStepper;exports.PlSuggestions=l.PlSuggestions;exports.PlSwitch=l.PlSwitch;exports.PlTabPane=l.PlTabPane;exports.PlTablePlugin=l.PlTablePlugin;exports.PlTablePlus=l.PlTablePlus;exports.PlTabs=l.PlTabs;exports.PlTagsChips=l.PlTagsChips;exports.PlTextCell=l.PlTextCell;exports.PlTextPlugin=l.PlTextPlugin;exports.PlTooltip=l.PlTooltip;exports.PlTooltipPlus=l.PlToolTipPlus;exports.PlUpload=l.PlUpload;exports.PlUploadLegacy=l.PlUploadLegacy;exports.PlUploadPlus=l.PlUploadPlus;exports.ScreenSizes=l.ScreenSizes;exports.TLogo=l.TLogo;exports.apiJs=l.ApiJs;exports.cancelAllApiRequests=l.cancelAllApiRequests;exports.dadataParser=l.dadataParser;exports.dataParser=l.dadataParser;exports.declOfNum=l.declOfNum;exports.deepSet=l.deepSet;exports.filters=l.filters;exports.formatCurrency=l.formatCurrency;exports.formatDate=l.formatDate;exports.install=l.install;exports.isEqual=l.isEqual;exports.loader=l.loadingAndSetup;exports.plLoading=l.plLoading;exports.uniqId=l.uniqId;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./entry-891b4b33.cjs");require("vue");exports.PlAutocomplete=l.PlAutocomplete;exports.PlButton=l.PlButton;exports.PlButtonDropdown=l.PlButtonDropdown;exports.PlCard=l.PlCard;exports.PlCheckbox=l.PlCheckbox;exports.PlCheckboxPlus=l.PlCheckboxPlus;exports.PlCurrency=l.PlCurrency;exports.PlDatePickerLegacyPlugin=l.PlDatePickerLegacyPlugin;exports.PlDatePickerPlugin=l.PlDatePickerPlugin;exports.PlDatePickerPlusPlugin=l.PlDatePickerPlusPlugin;exports.PlDialog=l.PlDialog$1;exports.PlDialogPlus=l.PlDialog;exports.PlDirectives=l.PlDirectives;exports.PlForm=l.PlForm;exports.PlIcon=l.PlIcon;exports.PlInput=l.PlInput;exports.PlInputPlus=l.PlInputPlus;exports.PlLink=l.PlLink;exports.PlMarkText=l.PlMarkText;exports.PlMultiSelect=l.PlMultiSelect;exports.PlMultitab=l.PlMultitab;exports.PlNavButton=l.PlNavButton;exports.PlNavigation=l.PlNavigation;exports.PlNotification=l.PlNotification;exports.PlOnboarding=l.PlOnboarding;exports.PlPagination=l.PlPagination;exports.PlRadio=l.PlRadio;exports.PlScrollbar=l.PlScrollbar;exports.PlSelect=l.PlSelect;exports.PlSelectPlus=l.PlSelectPlus;exports.PlSidebarItem=l.PlSidebarItem;exports.PlSigning=l.PlSigning;exports.PlSkeleton=l.PlSkeleton;exports.PlSkeletonButton=l.PlSkeletonButton;exports.PlSkeletonControl=l.PlSkeletonControl;exports.PlSkeletonIcon=l.PlSkeletonIcon;exports.PlSkeletonInput=l.PlSkeletonInput;exports.PlSkeletonTabs=l.PlSkeletonTabs;exports.PlSkeletonTagsChips=l.PlSkeletonTagsChips;exports.PlSkeletonText=l.PlSkeletonText;exports.PlSkeletonTextCell=l.PlSkeletonTextCell;exports.PlSkeletonUpload=l.PlSkeletonUpload;exports.PlStepper=l.PlStepper;exports.PlSuggestions=l.PlSuggestions;exports.PlSwitch=l.PlSwitch;exports.PlTabPane=l.PlTabPane;exports.PlTablePlugin=l.PlTablePlugin;exports.PlTablePlus=l.PlTablePlus;exports.PlTabs=l.PlTabs;exports.PlTagsChips=l.PlTagsChips;exports.PlTextCell=l.PlTextCell;exports.PlTextPlugin=l.PlTextPlugin;exports.PlTooltip=l.PlTooltip;exports.PlTooltipPlus=l.PlToolTipPlus;exports.PlUpload=l.PlUpload;exports.PlUploadLegacy=l.PlUploadLegacy;exports.PlUploadPlus=l.PlUploadPlus;exports.ScreenSizes=l.ScreenSizes;exports.TLogo=l.TLogo;exports.apiJs=l.ApiJs;exports.cancelAllApiRequests=l.cancelAllApiRequests;exports.dadataParser=l.dadataParser;exports.dataParser=l.dadataParser;exports.declOfNum=l.declOfNum;exports.deepSet=l.deepSet;exports.filters=l.filters;exports.formatCurrency=l.formatCurrency;exports.formatDate=l.formatDate;exports.install=l.install;exports.isEqual=l.isEqual;exports.loader=l.loadingAndSetup;exports.plLoading=l.plLoading;exports.uniqId=l.uniqId;
@@ -1,4 +1,4 @@
1
- import { n as P, k as e, ah as t, o, q as n, r as i, m as r, t as u, s as c, v as S, x as p, w as g, P as d, y as k, z as T, B as b, C, D as m, a7 as x, a6 as D, E as f, ad as h, ac as I, U as L, ab as y, a8 as B, F as N, G as U, H as q, I as v, ae as A, a9 as M, J as w, O, L as R, K as z, Q as E, R as F, T as J, N as j, M as G, S as H, V as K, W as Q, X as V, Y as W, Z as X, _ as Y, $ as Z, aa as _, ag as $, a0 as aa, a1 as la, a5 as sa, a2 as Pa, a3 as ea, a4 as ta, ai as oa, af as na, A as ia, j as ra, h as ua, h as ca, d as Sa, e as pa, a as ga, f as da, c as ka, i as Ta, b as ba, l as Ca, p as ma, u as xa } from "./entry-becc657b.js";
1
+ import { n as P, k as e, ah as t, o, q as n, r as i, m as r, t as u, s as c, v as S, x as p, w as g, P as d, y as k, z as T, B as b, C, D as m, a7 as x, a6 as D, E as f, ad as h, ac as I, U as L, ab as y, a8 as B, F as N, G as U, H as q, I as v, ae as A, a9 as M, J as w, O, L as R, K as z, Q as E, R as F, T as J, N as j, M as G, S as H, V as K, W as Q, X as V, Y as W, Z as X, _ as Y, $ as Z, aa as _, ag as $, a0 as aa, a1 as la, a5 as sa, a2 as Pa, a3 as ea, a4 as ta, ai as oa, af as na, A as ia, j as ra, h as ua, h as ca, d as Sa, e as pa, a as ga, f as da, c as ka, i as Ta, b as ba, l as Ca, p as ma, u as xa } from "./entry-55bee297.js";
2
2
  import "vue";
3
3
  export {
4
4
  P as PlAutocomplete,
@@ -1,46 +1,40 @@
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, {
1
+ declare const _default: import('vue').DefineComponent<{
2
+ pageNumber: import('vue').PropType<any>;
3
+ pageSize: import('vue').PropType<any>;
4
+ options: {
5
+ type: import('vue').PropType<number[]>;
6
+ };
7
+ total: {
8
+ type: import('vue').PropType<number>;
9
+ required: true;
10
+ };
11
+ showPageSize: {
12
+ type: import('vue').PropType<boolean>;
13
+ default: boolean;
14
+ };
15
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
16
  change: (...args: any[]) => void;
14
17
  pageChange: (...args: any[]) => void;
15
18
  pageSizeChange: (...args: any[]) => void;
16
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
17
- pageSize: number;
18
- pageNumber: number;
19
- showPageSize: boolean;
20
- }>>> & {
19
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ pageNumber: import('vue').PropType<any>;
21
+ pageSize: import('vue').PropType<any>;
22
+ options: {
23
+ type: import('vue').PropType<number[]>;
24
+ };
25
+ total: {
26
+ type: import('vue').PropType<number>;
27
+ required: true;
28
+ };
29
+ showPageSize: {
30
+ type: import('vue').PropType<boolean>;
31
+ default: boolean;
32
+ };
33
+ }>> & {
21
34
  onChange?: (...args: any[]) => any;
22
35
  onPageChange?: (...args: any[]) => any;
23
36
  onPageSizeChange?: (...args: any[]) => any;
24
37
  }, {
25
- pageSize: number;
26
- pageNumber: number;
27
38
  showPageSize: boolean;
28
39
  }, {}>;
29
40
  export default _default;
30
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToRuntimeProps<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
- } : {
35
- type: import('vue').PropType<T[K]>;
36
- required: true;
37
- };
38
- };
39
- type __VLS_WithDefaults<P, D> = {
40
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
41
- default: D[K];
42
- }> : P[K];
43
- };
44
- type __VLS_Prettify<T> = {
45
- [K in keyof T]: T[K];
46
- } & {};
@@ -1,4 +1,6 @@
1
1
  export declare const PlPagination: import('../../../../../install-function').SFCInstallWithContext<import('vue').DefineComponent<{
2
+ pageNumber: import('vue').PropType<any>;
3
+ pageSize: import('vue').PropType<any>;
2
4
  options: {
3
5
  type: import('vue').PropType<number[]>;
4
6
  };
@@ -6,14 +8,6 @@ export declare const PlPagination: import('../../../../../install-function').SFC
6
8
  type: import('vue').PropType<number>;
7
9
  required: true;
8
10
  };
9
- pageSize: {
10
- type: import('vue').PropType<number>;
11
- default: number;
12
- };
13
- pageNumber: {
14
- type: import('vue').PropType<number>;
15
- default: number;
16
- };
17
11
  showPageSize: {
18
12
  type: import('vue').PropType<boolean>;
19
13
  default: boolean;
@@ -23,6 +17,8 @@ export declare const PlPagination: import('../../../../../install-function').SFC
23
17
  pageChange: (...args: any[]) => void;
24
18
  pageSizeChange: (...args: any[]) => void;
25
19
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
20
+ pageNumber: import('vue').PropType<any>;
21
+ pageSize: import('vue').PropType<any>;
26
22
  options: {
27
23
  type: import('vue').PropType<number[]>;
28
24
  };
@@ -30,14 +26,6 @@ export declare const PlPagination: import('../../../../../install-function').SFC
30
26
  type: import('vue').PropType<number>;
31
27
  required: true;
32
28
  };
33
- pageSize: {
34
- type: import('vue').PropType<number>;
35
- default: number;
36
- };
37
- pageNumber: {
38
- type: import('vue').PropType<number>;
39
- default: number;
40
- };
41
29
  showPageSize: {
42
30
  type: import('vue').PropType<boolean>;
43
31
  default: boolean;
@@ -47,8 +35,6 @@ export declare const PlPagination: import('../../../../../install-function').SFC
47
35
  onPageChange?: (...args: any[]) => any;
48
36
  onPageSizeChange?: (...args: any[]) => any;
49
37
  }, {
50
- pageSize: number;
51
- pageNumber: number;
52
38
  showPageSize: boolean;
53
39
  }, {}>>;
54
40
  export default PlPagination;
@@ -1,40 +1,75 @@
1
- interface IProps {
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ pageNumber: import('vue').PropType<any>;
3
+ pageSize: import('vue').PropType<any>;
4
+ pagination: {
5
+ type: import('vue').PropType<boolean>;
6
+ default: boolean;
7
+ };
8
+ isSelectable: {
9
+ type: import('vue').PropType<boolean>;
10
+ default: boolean;
11
+ };
2
12
  headers: {
3
- label: string;
4
- key: string;
5
- width?: number;
6
- minWidth?: number;
7
- maxWidthContent?: string;
8
- }[];
9
- hideHeadersOnMobile?: string[];
10
- rows: Record<string, string | number>[];
11
- isLoading?: boolean;
12
- withHover?: boolean;
13
- isSelectable?: boolean;
14
- selectedRows?: Record<string, string | number>[];
15
- uniqKey?: string | '';
16
- defaultWrapperWidth?: number | null;
17
- pagination?: boolean;
18
- pageSizeOptions?: Array<number>;
19
- total?: number;
20
- bodyHeight?: number | string;
21
- alignRight?: boolean;
22
- border?: boolean;
23
- }
24
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
25
- headers: () => any[];
26
- rows: () => any[];
27
- isLoading: boolean;
28
- isSelectable: boolean;
29
- selectedRows: () => any[];
30
- uniqKey: string;
31
- hideHeadersOnMobile: () => any[];
32
- defaultWrapperWidth: any;
33
- pagination: boolean;
34
- bodyHeight: string;
35
- alignRight: boolean;
36
- pageSizeOptions: () => any[];
37
- }>, {
13
+ type: import('vue').PropType<{
14
+ label: string;
15
+ key: string;
16
+ width?: number;
17
+ minWidth?: number;
18
+ maxWidthContent?: string;
19
+ }[]>;
20
+ required: true;
21
+ default: () => any[];
22
+ };
23
+ hideHeadersOnMobile: {
24
+ type: import('vue').PropType<string[]>;
25
+ default: () => any[];
26
+ };
27
+ rows: {
28
+ type: import('vue').PropType<Record<string, string | number>[]>;
29
+ required: true;
30
+ default: () => any[];
31
+ };
32
+ isLoading: {
33
+ type: import('vue').PropType<boolean>;
34
+ default: boolean;
35
+ };
36
+ withHover: {
37
+ type: import('vue').PropType<boolean>;
38
+ };
39
+ selectedRows: {
40
+ type: import('vue').PropType<Record<string, string | number>[]>;
41
+ default: () => any[];
42
+ };
43
+ uniqKey: {
44
+ type: import('vue').PropType<string>;
45
+ default: string;
46
+ };
47
+ defaultWrapperWidth: {
48
+ type: import('vue').PropType<number>;
49
+ default: any;
50
+ };
51
+ pageSizeOptions: {
52
+ type: import('vue').PropType<number[]>;
53
+ default: () => any[];
54
+ };
55
+ total: {
56
+ type: import('vue').PropType<number>;
57
+ };
58
+ bodyHeight: {
59
+ type: import('vue').PropType<string | number>;
60
+ default: string;
61
+ };
62
+ alignRight: {
63
+ type: import('vue').PropType<boolean>;
64
+ default: boolean;
65
+ };
66
+ border: {
67
+ type: import('vue').PropType<boolean>;
68
+ };
69
+ showPageSize: {
70
+ type: import('vue').PropType<boolean>;
71
+ };
72
+ }, {
38
73
  resetSelectedRows: () => void;
39
74
  selectAllRows: () => void;
40
75
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -46,20 +81,78 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
46
81
  headerCheckboxClicked: (...args: any[]) => void;
47
82
  pageChange: (...args: any[]) => void;
48
83
  pageSizeChange: (...args: any[]) => void;
49
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
50
- headers: () => any[];
51
- rows: () => any[];
52
- isLoading: boolean;
53
- isSelectable: boolean;
54
- selectedRows: () => any[];
55
- uniqKey: string;
56
- hideHeadersOnMobile: () => any[];
57
- defaultWrapperWidth: any;
58
- pagination: boolean;
59
- bodyHeight: string;
60
- alignRight: boolean;
61
- pageSizeOptions: () => any[];
62
- }>>> & {
84
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
85
+ pageNumber: import('vue').PropType<any>;
86
+ pageSize: import('vue').PropType<any>;
87
+ pagination: {
88
+ type: import('vue').PropType<boolean>;
89
+ default: boolean;
90
+ };
91
+ isSelectable: {
92
+ type: import('vue').PropType<boolean>;
93
+ default: boolean;
94
+ };
95
+ headers: {
96
+ type: import('vue').PropType<{
97
+ label: string;
98
+ key: string;
99
+ width?: number;
100
+ minWidth?: number;
101
+ maxWidthContent?: string;
102
+ }[]>;
103
+ required: true;
104
+ default: () => any[];
105
+ };
106
+ hideHeadersOnMobile: {
107
+ type: import('vue').PropType<string[]>;
108
+ default: () => any[];
109
+ };
110
+ rows: {
111
+ type: import('vue').PropType<Record<string, string | number>[]>;
112
+ required: true;
113
+ default: () => any[];
114
+ };
115
+ isLoading: {
116
+ type: import('vue').PropType<boolean>;
117
+ default: boolean;
118
+ };
119
+ withHover: {
120
+ type: import('vue').PropType<boolean>;
121
+ };
122
+ selectedRows: {
123
+ type: import('vue').PropType<Record<string, string | number>[]>;
124
+ default: () => any[];
125
+ };
126
+ uniqKey: {
127
+ type: import('vue').PropType<string>;
128
+ default: string;
129
+ };
130
+ defaultWrapperWidth: {
131
+ type: import('vue').PropType<number>;
132
+ default: any;
133
+ };
134
+ pageSizeOptions: {
135
+ type: import('vue').PropType<number[]>;
136
+ default: () => any[];
137
+ };
138
+ total: {
139
+ type: import('vue').PropType<number>;
140
+ };
141
+ bodyHeight: {
142
+ type: import('vue').PropType<string | number>;
143
+ default: string;
144
+ };
145
+ alignRight: {
146
+ type: import('vue').PropType<boolean>;
147
+ default: boolean;
148
+ };
149
+ border: {
150
+ type: import('vue').PropType<boolean>;
151
+ };
152
+ showPageSize: {
153
+ type: import('vue').PropType<boolean>;
154
+ };
155
+ }>> & {
63
156
  onChange?: (...args: any[]) => any;
64
157
  onScroll?: (...args: any[]) => any;
65
158
  onInfiniteScroll?: (...args: any[]) => any;
@@ -99,23 +192,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
99
192
  }): any;
100
193
  }>;
101
194
  export default _default;
102
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
103
- type __VLS_TypePropsToRuntimeProps<T> = {
104
- [K in keyof T]-?: {} extends Pick<T, K> ? {
105
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
106
- } : {
107
- type: import('vue').PropType<T[K]>;
108
- required: true;
109
- };
110
- };
111
- type __VLS_WithDefaults<P, D> = {
112
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
113
- default: D[K];
114
- }> : P[K];
115
- };
116
- type __VLS_Prettify<T> = {
117
- [K in keyof T]: T[K];
118
- } & {};
119
195
  type __VLS_WithTemplateSlots<T, S> = T & {
120
196
  new (): {
121
197
  $slots: S;