@weni/unnnic-system 3.0.4 → 3.0.5-alpha.0

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 (40) hide show
  1. package/dist/components/DataTable/index.vue.d.ts +156 -0
  2. package/dist/components/DataTable/index.vue.d.ts.map +1 -0
  3. package/dist/components/DatePicker/DatePicker.vue.d.ts +2 -2
  4. package/dist/components/InputDatePicker/InputDatePicker.vue.d.ts +3 -3
  5. package/dist/components/ModalDialog/ModalDialog.vue.d.ts +1 -1
  6. package/dist/components/ModalDialog/ModalDialog.vue.d.ts.map +1 -1
  7. package/dist/components/SelectSmart/SelectSmart.vue.d.ts +18 -0
  8. package/dist/components/SelectSmart/SelectSmart.vue.d.ts.map +1 -1
  9. package/dist/components/SelectSmart/SelectSmartOption.vue.d.ts +9 -0
  10. package/dist/components/SelectSmart/SelectSmartOption.vue.d.ts.map +1 -1
  11. package/dist/components/TemplatePreview/TemplatePreview.vue.d.ts +9 -0
  12. package/dist/components/TemplatePreview/TemplatePreview.vue.d.ts.map +1 -0
  13. package/dist/components/TemplatePreview/TemplatePreviewModal.vue.d.ts +15 -0
  14. package/dist/components/TemplatePreview/TemplatePreviewModal.vue.d.ts.map +1 -0
  15. package/dist/components/index.d.ts +263 -6
  16. package/dist/components/index.d.ts.map +1 -1
  17. package/dist/{es-91798705.mjs → es-e4780f92.mjs} +1 -1
  18. package/dist/{index-8110960e.mjs → index-c20c8a10.mjs} +9470 -9119
  19. package/dist/{pt-br-ca5eccc1.mjs → pt-br-9e604702.mjs} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/unnnic.mjs +61 -58
  22. package/dist/unnnic.umd.js +44 -43
  23. package/package.json +2 -2
  24. package/src/assets/img/previews/doc-preview.png +0 -0
  25. package/src/assets/img/previews/image-preview.png +0 -0
  26. package/src/assets/img/previews/video-preview.png +0 -0
  27. package/src/components/DataTable/index.vue +493 -0
  28. package/src/components/ModalDialog/ModalDialog.vue +27 -29
  29. package/src/components/ModalDialog/__tests__/__snapshots__/ModalDialog.spec.js.snap +1 -1
  30. package/src/components/SelectSmart/SelectSmart.vue +22 -1
  31. package/src/components/SelectSmart/SelectSmartMultipleHeader.vue +1 -1
  32. package/src/components/SelectSmart/SelectSmartOption.vue +5 -0
  33. package/src/components/TemplatePreview/TemplatePreview.vue +249 -0
  34. package/src/components/TemplatePreview/TemplatePreviewModal.vue +51 -0
  35. package/src/components/TemplatePreview/types.d.ts +16 -0
  36. package/src/components/index.ts +9 -0
  37. package/src/stories/DataTable.stories.js +332 -0
  38. package/src/stories/SelectSmart.stories.js +1 -1
  39. package/src/stories/TemplatePreview.stories.js +94 -0
  40. package/src/stories/TemplatePreviewModal.stories.js +110 -0
@@ -0,0 +1,156 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
+ headers: {
3
+ type: {
4
+ title: string;
5
+ isSortable?: boolean;
6
+ itemKey: string;
7
+ align?: "start" | "center" | "end";
8
+ size?: number | string;
9
+ }[];
10
+ required: true;
11
+ };
12
+ items: {
13
+ type: {
14
+ [key: string]: any;
15
+ }[];
16
+ required: true;
17
+ };
18
+ isLoading: {
19
+ type: Boolean;
20
+ default: false;
21
+ };
22
+ size: {
23
+ type: "sm" | "md";
24
+ default: "md";
25
+ };
26
+ height: {
27
+ type: String;
28
+ default: "";
29
+ };
30
+ maxHeight: {
31
+ type: String;
32
+ default: "";
33
+ };
34
+ clickable: {
35
+ type: Boolean;
36
+ default: false;
37
+ };
38
+ fixedHeaders: {
39
+ type: Boolean;
40
+ default: false;
41
+ };
42
+ hideHeaders: {
43
+ type: Boolean;
44
+ default: false;
45
+ };
46
+ hidePagination: {
47
+ type: Boolean;
48
+ default: false;
49
+ };
50
+ page: {
51
+ type: Number;
52
+ default: 1;
53
+ };
54
+ pageTotal: {
55
+ type: Number;
56
+ default: 0;
57
+ };
58
+ pageInterval: {
59
+ type: Number;
60
+ default: 5;
61
+ };
62
+ locale: {
63
+ type: string;
64
+ default: "en";
65
+ };
66
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
67
+ "update:sort": (sort: {
68
+ header: string;
69
+ order: string;
70
+ }) => any;
71
+ itemClick: (item: {
72
+ [key: string]: any;
73
+ }) => any;
74
+ "update:page": (page: number) => any;
75
+ }, string, import('vue').PublicProps, Readonly<{
76
+ headers: {
77
+ type: {
78
+ title: string;
79
+ isSortable?: boolean;
80
+ itemKey: string;
81
+ align?: "start" | "center" | "end";
82
+ size?: number | string;
83
+ }[];
84
+ required: true;
85
+ };
86
+ items: {
87
+ type: {
88
+ [key: string]: any;
89
+ }[];
90
+ required: true;
91
+ };
92
+ isLoading: {
93
+ type: Boolean;
94
+ default: false;
95
+ };
96
+ size: {
97
+ type: "sm" | "md";
98
+ default: "md";
99
+ };
100
+ height: {
101
+ type: String;
102
+ default: "";
103
+ };
104
+ maxHeight: {
105
+ type: String;
106
+ default: "";
107
+ };
108
+ clickable: {
109
+ type: Boolean;
110
+ default: false;
111
+ };
112
+ fixedHeaders: {
113
+ type: Boolean;
114
+ default: false;
115
+ };
116
+ hideHeaders: {
117
+ type: Boolean;
118
+ default: false;
119
+ };
120
+ hidePagination: {
121
+ type: Boolean;
122
+ default: false;
123
+ };
124
+ page: {
125
+ type: Number;
126
+ default: 1;
127
+ };
128
+ pageTotal: {
129
+ type: Number;
130
+ default: 0;
131
+ };
132
+ pageInterval: {
133
+ type: Number;
134
+ default: 5;
135
+ };
136
+ locale: {
137
+ type: string;
138
+ default: "en";
139
+ };
140
+ }> & Readonly<{
141
+ "onUpdate:sort"?: ((sort: {
142
+ header: string;
143
+ order: string;
144
+ }) => any) | undefined;
145
+ onItemClick?: ((item: {
146
+ [key: string]: any;
147
+ }) => any) | undefined;
148
+ "onUpdate:page"?: ((page: number) => any) | undefined;
149
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, any>;
150
+ export default _default;
151
+ type __VLS_WithTemplateSlots<T, S> = T & {
152
+ new (): {
153
+ $slots: S;
154
+ };
155
+ };
156
+ //# sourceMappingURL=index.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DataTable/index.vue"],"names":[],"mappings":"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"}
@@ -75,8 +75,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
75
75
  }, {
76
76
  openMonths(): string[];
77
77
  value(): {
78
- startDate: any;
79
- endDate: any;
78
+ startDate: string;
79
+ endDate: string;
80
80
  };
81
81
  i18nLocale(): string;
82
82
  monthsLocale(): any;
@@ -72,7 +72,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
72
72
  showCalendarFilter: boolean;
73
73
  overwrittenValue: string;
74
74
  }, {
75
- filterText(): any;
75
+ filterText(): string;
76
76
  initialStartDate(): string | null;
77
77
  initialEndDate(): string | null;
78
78
  }, {
@@ -665,8 +665,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
665
665
  }, {
666
666
  openMonths(): string[];
667
667
  value(): {
668
- startDate: any;
669
- endDate: any;
668
+ startDate: string;
669
+ endDate: string;
670
670
  };
671
671
  i18nLocale(): string;
672
672
  monthsLocale(): any;
@@ -52,7 +52,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
52
52
  }>, {}, {
53
53
  defaultTranslations: {
54
54
  cancel: {
55
- 'pt-br': string;
55
+ "pt-br": string;
56
56
  en: string;
57
57
  es: string;
58
58
  };
@@ -1 +1 @@
1
- {"version":3,"file":"ModalDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ModalDialog/ModalDialog.vue"],"names":[],"mappings":"AAkGA;"}
1
+ {"version":3,"file":"ModalDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ModalDialog/ModalDialog.vue"],"names":[],"mappings":"AAgGA;"}
@@ -64,6 +64,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
64
64
  type: BooleanConstructor;
65
65
  default: boolean;
66
66
  };
67
+ multipleLimit: {
68
+ type: (NumberConstructor | null)[];
69
+ default: null;
70
+ };
67
71
  }>, {}, {
68
72
  active: boolean;
69
73
  status: string;
@@ -173,6 +177,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
173
177
  type: BooleanConstructor;
174
178
  default: boolean;
175
179
  };
180
+ multipleLimit: {
181
+ type: (NumberConstructor | null)[];
182
+ default: null;
183
+ };
176
184
  }>> & Readonly<{
177
185
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
178
186
  onOnChange?: ((...args: any[]) => any) | undefined;
@@ -193,6 +201,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
193
201
  selectFirst: boolean;
194
202
  isLoading: boolean;
195
203
  enableSearchByValue: boolean;
204
+ multipleLimit: number | null;
196
205
  }, {}, {
197
206
  TextInput: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
198
207
  placeholder: {
@@ -498,6 +507,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
498
507
  type: BooleanConstructor;
499
508
  default: null;
500
509
  };
510
+ disabled: {
511
+ type: BooleanConstructor;
512
+ default: boolean;
513
+ };
501
514
  allowCheckbox: {
502
515
  type: BooleanConstructor;
503
516
  default: boolean;
@@ -537,6 +550,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
537
550
  type: BooleanConstructor;
538
551
  default: null;
539
552
  };
553
+ disabled: {
554
+ type: BooleanConstructor;
555
+ default: boolean;
556
+ };
540
557
  allowCheckbox: {
541
558
  type: BooleanConstructor;
542
559
  default: boolean;
@@ -550,6 +567,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
550
567
  }>> & Readonly<{}>, {
551
568
  label: string;
552
569
  size: string;
570
+ disabled: boolean;
553
571
  description: string;
554
572
  active: boolean;
555
573
  isMultiple: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectSmart.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SelectSmart/SelectSmart.vue"],"names":[],"mappings":"AA0GA;"}
1
+ {"version":3,"file":"SelectSmart.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SelectSmart/SelectSmart.vue"],"names":[],"mappings":"AA2GA;"}
@@ -26,6 +26,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
26
26
  type: BooleanConstructor;
27
27
  default: null;
28
28
  };
29
+ disabled: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
29
33
  allowCheckbox: {
30
34
  type: BooleanConstructor;
31
35
  default: boolean;
@@ -65,6 +69,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
65
69
  type: BooleanConstructor;
66
70
  default: null;
67
71
  };
72
+ disabled: {
73
+ type: BooleanConstructor;
74
+ default: boolean;
75
+ };
68
76
  allowCheckbox: {
69
77
  type: BooleanConstructor;
70
78
  default: boolean;
@@ -78,6 +86,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
78
86
  }>> & Readonly<{}>, {
79
87
  label: string;
80
88
  size: string;
89
+ disabled: boolean;
81
90
  description: string;
82
91
  active: boolean;
83
92
  isMultiple: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"SelectSmartOption.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SelectSmart/SelectSmartOption.vue"],"names":[],"mappings":"AA4CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAgL8B,sBAAsB"}
1
+ {"version":3,"file":"SelectSmartOption.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SelectSmart/SelectSmartOption.vue"],"names":[],"mappings":"AA6CA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAqL8B,sBAAsB"}
@@ -0,0 +1,9 @@
1
+ import { Template } from './types';
2
+ interface Props {
3
+ template?: Template | null;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {
6
+ template: Template | null;
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
8
+ export default _default;
9
+ //# sourceMappingURL=TemplatePreview.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TemplatePreview.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TemplatePreview/TemplatePreview.vue"],"names":[],"mappings":"AAgGA;AA6PA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAQxC,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,IAAI,CAAC;CAC5B;;cADY,QAAQ,GAAG,IAAI;;AAkN5B,wBAQG"}
@@ -0,0 +1,15 @@
1
+ import { Template } from './types';
2
+ interface Props {
3
+ locale?: string;
4
+ template: Template;
5
+ modelValue: boolean;
6
+ }
7
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ close: () => any;
9
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
10
+ onClose?: (() => any) | undefined;
11
+ }>, {
12
+ locale: string;
13
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
14
+ export default _default;
15
+ //# sourceMappingURL=TemplatePreviewModal.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TemplatePreviewModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TemplatePreview/TemplatePreviewModal.vue"],"names":[],"mappings":"AAWA;AAwDA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAUxC,UAAU,KAAK;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;CACrB;;;;;;YAHU,MAAM;;AAgGjB,wBASG"}
@@ -774,7 +774,7 @@ export declare const unnnicInputDatePicker: import('vue').DefineComponent<import
774
774
  showCalendarFilter: boolean;
775
775
  overwrittenValue: string;
776
776
  }, {
777
- filterText(): any;
777
+ filterText(): string;
778
778
  initialStartDate(): string | null;
779
779
  initialEndDate(): string | null;
780
780
  }, {
@@ -1367,8 +1367,8 @@ export declare const unnnicInputDatePicker: import('vue').DefineComponent<import
1367
1367
  }, {
1368
1368
  openMonths(): string[];
1369
1369
  value(): {
1370
- startDate: any;
1371
- endDate: any;
1370
+ startDate: string;
1371
+ endDate: string;
1372
1372
  };
1373
1373
  i18nLocale(): string;
1374
1374
  monthsLocale(): any;
@@ -5789,7 +5789,7 @@ export declare const unnnicModalDialog: import('vue').DefineComponent<import('vu
5789
5789
  }>, {}, {
5790
5790
  defaultTranslations: {
5791
5791
  cancel: {
5792
- 'pt-br': string;
5792
+ "pt-br": string;
5793
5793
  en: string;
5794
5794
  es: string;
5795
5795
  };
@@ -10495,8 +10495,8 @@ export declare const unnnicDatePicker: import('vue').DefineComponent<import('vue
10495
10495
  }, {
10496
10496
  openMonths(): string[];
10497
10497
  value(): {
10498
- startDate: any;
10499
- endDate: any;
10498
+ startDate: string;
10499
+ endDate: string;
10500
10500
  };
10501
10501
  i18nLocale(): string;
10502
10502
  monthsLocale(): any;
@@ -40339,5 +40339,262 @@ export declare const unnnicNavigator: import('vue').DefineComponent<import('vue'
40339
40339
  };
40340
40340
  }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
40341
40341
  export declare const unnnicSelectTime: VueComponent;
40342
+ export declare const unnnicTemplatePreview: VueComponent;
40343
+ export declare const unnnicTemplatePreviewModal: VueComponent;
40344
+ export declare const unnnicDataTable: {
40345
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
40346
+ headers: {
40347
+ type: {
40348
+ title: string;
40349
+ isSortable?: boolean;
40350
+ itemKey: string;
40351
+ align?: "start" | "center" | "end";
40352
+ size?: number | string;
40353
+ }[];
40354
+ required: true;
40355
+ };
40356
+ items: {
40357
+ type: {
40358
+ [key: string]: any;
40359
+ }[];
40360
+ required: true;
40361
+ };
40362
+ isLoading: {
40363
+ type: Boolean;
40364
+ default: false;
40365
+ };
40366
+ size: {
40367
+ type: "sm" | "md";
40368
+ default: "md";
40369
+ };
40370
+ height: {
40371
+ type: String;
40372
+ default: "";
40373
+ };
40374
+ maxHeight: {
40375
+ type: String;
40376
+ default: "";
40377
+ };
40378
+ clickable: {
40379
+ type: Boolean;
40380
+ default: false;
40381
+ };
40382
+ fixedHeaders: {
40383
+ type: Boolean;
40384
+ default: false;
40385
+ };
40386
+ hideHeaders: {
40387
+ type: Boolean;
40388
+ default: false;
40389
+ };
40390
+ hidePagination: {
40391
+ type: Boolean;
40392
+ default: false;
40393
+ };
40394
+ page: {
40395
+ type: Number;
40396
+ default: 1;
40397
+ };
40398
+ pageTotal: {
40399
+ type: Number;
40400
+ default: 0;
40401
+ };
40402
+ pageInterval: {
40403
+ type: Number;
40404
+ default: 5;
40405
+ };
40406
+ locale: {
40407
+ type: string;
40408
+ default: "en";
40409
+ };
40410
+ }> & Readonly<{
40411
+ "onUpdate:sort"?: ((sort: {
40412
+ header: string;
40413
+ order: string;
40414
+ }) => any) | undefined;
40415
+ onItemClick?: ((item: {
40416
+ [key: string]: any;
40417
+ }) => any) | undefined;
40418
+ "onUpdate:page"?: ((page: number) => any) | undefined;
40419
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40420
+ "update:sort": (sort: {
40421
+ header: string;
40422
+ order: string;
40423
+ }) => any;
40424
+ itemClick: (item: {
40425
+ [key: string]: any;
40426
+ }) => any;
40427
+ "update:page": (page: number) => any;
40428
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
40429
+ P: {};
40430
+ B: {};
40431
+ D: {};
40432
+ C: {};
40433
+ M: {};
40434
+ Defaults: {};
40435
+ }, Readonly<{
40436
+ headers: {
40437
+ type: {
40438
+ title: string;
40439
+ isSortable?: boolean;
40440
+ itemKey: string;
40441
+ align?: "start" | "center" | "end";
40442
+ size?: number | string;
40443
+ }[];
40444
+ required: true;
40445
+ };
40446
+ items: {
40447
+ type: {
40448
+ [key: string]: any;
40449
+ }[];
40450
+ required: true;
40451
+ };
40452
+ isLoading: {
40453
+ type: Boolean;
40454
+ default: false;
40455
+ };
40456
+ size: {
40457
+ type: "sm" | "md";
40458
+ default: "md";
40459
+ };
40460
+ height: {
40461
+ type: String;
40462
+ default: "";
40463
+ };
40464
+ maxHeight: {
40465
+ type: String;
40466
+ default: "";
40467
+ };
40468
+ clickable: {
40469
+ type: Boolean;
40470
+ default: false;
40471
+ };
40472
+ fixedHeaders: {
40473
+ type: Boolean;
40474
+ default: false;
40475
+ };
40476
+ hideHeaders: {
40477
+ type: Boolean;
40478
+ default: false;
40479
+ };
40480
+ hidePagination: {
40481
+ type: Boolean;
40482
+ default: false;
40483
+ };
40484
+ page: {
40485
+ type: Number;
40486
+ default: 1;
40487
+ };
40488
+ pageTotal: {
40489
+ type: Number;
40490
+ default: 0;
40491
+ };
40492
+ pageInterval: {
40493
+ type: Number;
40494
+ default: 5;
40495
+ };
40496
+ locale: {
40497
+ type: string;
40498
+ default: "en";
40499
+ };
40500
+ }> & Readonly<{
40501
+ "onUpdate:sort"?: ((sort: {
40502
+ header: string;
40503
+ order: string;
40504
+ }) => any) | undefined;
40505
+ onItemClick?: ((item: {
40506
+ [key: string]: any;
40507
+ }) => any) | undefined;
40508
+ "onUpdate:page"?: ((page: number) => any) | undefined;
40509
+ }>, {}, {}, {}, {}, {}>;
40510
+ __isFragment?: never;
40511
+ __isTeleport?: never;
40512
+ __isSuspense?: never;
40513
+ } & import('vue').ComponentOptionsBase<Readonly<{
40514
+ headers: {
40515
+ type: {
40516
+ title: string;
40517
+ isSortable?: boolean;
40518
+ itemKey: string;
40519
+ align?: "start" | "center" | "end";
40520
+ size?: number | string;
40521
+ }[];
40522
+ required: true;
40523
+ };
40524
+ items: {
40525
+ type: {
40526
+ [key: string]: any;
40527
+ }[];
40528
+ required: true;
40529
+ };
40530
+ isLoading: {
40531
+ type: Boolean;
40532
+ default: false;
40533
+ };
40534
+ size: {
40535
+ type: "sm" | "md";
40536
+ default: "md";
40537
+ };
40538
+ height: {
40539
+ type: String;
40540
+ default: "";
40541
+ };
40542
+ maxHeight: {
40543
+ type: String;
40544
+ default: "";
40545
+ };
40546
+ clickable: {
40547
+ type: Boolean;
40548
+ default: false;
40549
+ };
40550
+ fixedHeaders: {
40551
+ type: Boolean;
40552
+ default: false;
40553
+ };
40554
+ hideHeaders: {
40555
+ type: Boolean;
40556
+ default: false;
40557
+ };
40558
+ hidePagination: {
40559
+ type: Boolean;
40560
+ default: false;
40561
+ };
40562
+ page: {
40563
+ type: Number;
40564
+ default: 1;
40565
+ };
40566
+ pageTotal: {
40567
+ type: Number;
40568
+ default: 0;
40569
+ };
40570
+ pageInterval: {
40571
+ type: Number;
40572
+ default: 5;
40573
+ };
40574
+ locale: {
40575
+ type: string;
40576
+ default: "en";
40577
+ };
40578
+ }> & Readonly<{
40579
+ "onUpdate:sort"?: ((sort: {
40580
+ header: string;
40581
+ order: string;
40582
+ }) => any) | undefined;
40583
+ onItemClick?: ((item: {
40584
+ [key: string]: any;
40585
+ }) => any) | undefined;
40586
+ "onUpdate:page"?: ((page: number) => any) | undefined;
40587
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40588
+ "update:sort": (sort: {
40589
+ header: string;
40590
+ order: string;
40591
+ }) => any;
40592
+ itemClick: (item: {
40593
+ [key: string]: any;
40594
+ }) => any;
40595
+ "update:page": (page: number) => any;
40596
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
40597
+ $slots: any;
40598
+ });
40342
40599
  export {};
40343
40600
  //# sourceMappingURL=index.d.ts.map