@voicenter-team/voicenter-ui-plus 0.0.21 → 0.0.22

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 (146) hide show
  1. package/library/style.css +1 -1
  2. package/library/super.mjs +2 -10
  3. package/library/super.mjs.map +1 -1
  4. package/library/super.umd.js +4 -4
  5. package/library/super.umd.js.map +1 -1
  6. package/library/types/src/components/VcButton/VcButton.types.d.ts +5 -5
  7. package/library/types/src/components/VcButton/VcButton.vue.d.ts +97 -97
  8. package/library/types/src/components/VcButton/VcButtonIcon.vue.d.ts +89 -89
  9. package/library/types/src/components/VcButton/index.d.ts +184 -0
  10. package/library/types/src/components/VcCard/VcCard.vue.d.ts +23 -23
  11. package/library/types/src/components/VcCheckbox/VcCheckbox.vue.d.ts +133 -133
  12. package/library/types/src/components/VcCheckbox/VcCheckboxGroupEl.vue.d.ts +2 -2
  13. package/library/types/src/components/VcCheckbox/group.mixin.d.ts +60 -60
  14. package/library/types/src/components/VcCheckboxGroup/VcCheckboxGroup.vue.d.ts +140 -140
  15. package/library/types/src/components/VcCollapse/VcCollapse.vue.d.ts +33 -33
  16. package/library/types/src/components/VcCollapse/VcCollapseItem.vue.d.ts +106 -106
  17. package/library/types/src/components/VcCollapse/VcCollapseTransition.vue.d.ts +14 -14
  18. package/library/types/src/components/VcColorPicker/ColorPicker/ColorPicker.vue.d.ts +67 -67
  19. package/library/types/src/components/VcColorPicker/ColorPicker/Hue.vue.d.ts +40 -40
  20. package/library/types/src/components/VcColorPicker/ColorPicker/Saturation.vue.d.ts +49 -49
  21. package/library/types/src/components/VcColorPicker/ColorPicker/composible.d.ts +23 -23
  22. package/library/types/src/components/VcColorPicker/VcColorPicker.types.d.ts +10 -10
  23. package/library/types/src/components/VcColorPicker/VcColorPicker.vue.d.ts +65 -65
  24. package/library/types/src/components/VcDatetimeRangePicker/VcDatetimeRangePicker.types.d.ts +27 -27
  25. package/library/types/src/components/VcDatetimeRangePicker/VcDatetimeRangePicker.vue.d.ts +360 -360
  26. package/library/types/src/components/VcDelimitedList/VcDelimitedList.types.d.ts +4 -4
  27. package/library/types/src/components/VcDelimitedList/VcDelimitedList.vue.d.ts +92 -92
  28. package/library/types/src/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerPart.vue.d.ts +208 -208
  29. package/library/types/src/components/VcExtendedDatetimeRangePicker/ExtendedDatetimeRangePickerRelative.vue.d.ts +96 -96
  30. package/library/types/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.types.d.ts +11 -11
  31. package/library/types/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePicker.vue.d.ts +276 -276
  32. package/library/types/src/components/VcExtendedDatetimeRangePicker/VcExtendedDatetimeRangePickerQuickOptionsSelection.vue.d.ts +51 -51
  33. package/library/types/src/components/VcExtendedDatetimeRangePicker/enum.d.ts +6 -6
  34. package/library/types/src/components/VcFileUploader/VcFileUploader.types.d.ts +4 -4
  35. package/library/types/src/components/VcFileUploader/VcFileUploader.vue.d.ts +388 -388
  36. package/library/types/src/components/VcForm/UiComponents/VcInputError.vue.d.ts +14 -0
  37. package/library/types/src/components/VcForm/UiComponents/VcInputLabel.vue.d.ts +204 -204
  38. package/library/types/src/components/VcForm/VcForm.vue.d.ts +348 -348
  39. package/library/types/src/components/VcForm/VcFormItem.vue.d.ts +69 -69
  40. package/library/types/src/components/VcHyperLink/VcHyperLink.types.d.ts +2 -2
  41. package/library/types/src/components/VcHyperLink/VcHyperLink.vue.d.ts +54 -54
  42. package/library/types/src/components/VcIconPicker/VcIconPicker.types.d.ts +15 -15
  43. package/library/types/src/components/VcIconPicker/VcIconPicker.vue.d.ts +105 -105
  44. package/library/types/src/components/VcIconPicker/iconPicker.mixin.d.ts +51 -51
  45. package/library/types/src/components/VcInput/VcInput.types.d.ts +2 -2
  46. package/library/types/src/components/VcInput/VcInput.vue.d.ts +202 -202
  47. package/library/types/src/components/VcInputNumber/VcInputNumber.vue.d.ts +256 -256
  48. package/library/types/src/components/VcLoading/Loaders/Circles.vue.d.ts +28 -28
  49. package/library/types/src/components/VcLoading/Loaders/LdsSpinner.vue.d.ts +29 -29
  50. package/library/types/src/components/VcLoading/Loaders/LoadIcon.vue.d.ts +36 -36
  51. package/library/types/src/components/VcLoading/Loaders/Stretch.vue.d.ts +28 -28
  52. package/library/types/src/components/VcLoading/VcLoading.types.d.ts +1 -1
  53. package/library/types/src/components/VcLoading/VcLoading.vue.d.ts +66 -66
  54. package/library/types/src/components/VcModal/VcModal.types.d.ts +4 -4
  55. package/library/types/src/components/VcModal/VcModal.vue.d.ts +210 -210
  56. package/library/types/src/components/VcNotification/VcNotification.types.d.ts +17 -0
  57. package/library/types/src/components/VcNotification/VcNotification.vue.d.ts +59 -0
  58. package/library/types/src/components/VcNotification/VcNotificationMessage.vue.d.ts +35 -0
  59. package/library/types/src/components/VcPagination/VcPagination.types.d.ts +4 -4
  60. package/library/types/src/components/VcPagination/VcPagination.vue.d.ts +64 -64
  61. package/library/types/src/components/VcPagination/VcPaginationButton.vue.d.ts +34 -34
  62. package/library/types/src/components/VcPopover/VcPopover.types.d.ts +3 -3
  63. package/library/types/src/components/VcPopover/VcPopover.vue.d.ts +150 -150
  64. package/library/types/src/components/VcProgress/VcProgress.types.d.ts +16 -16
  65. package/library/types/src/components/VcProgress/VcProgress.vue.d.ts +147 -147
  66. package/library/types/src/components/VcProgress/progress.options.d.ts +13 -13
  67. package/library/types/src/components/VcRadio/VcRadio.vue.d.ts +88 -88
  68. package/library/types/src/components/VcRadioGroup/VcRadioGroup.vue.d.ts +96 -96
  69. package/library/types/src/components/VcRadioTabs/UiComponents/VcRadioTabsNav.vue.d.ts +41 -41
  70. package/library/types/src/components/VcRadioTabs/VcRadioTabs.vue.d.ts +78 -78
  71. package/library/types/src/components/VcSelect/VcSelect.options.d.ts +78 -78
  72. package/library/types/src/components/VcSelect/VcSelect.vue.d.ts +293 -293
  73. package/library/types/src/components/VcSkeletonLoader/Loaders/Card.vue.d.ts +18 -18
  74. package/library/types/src/components/VcSkeletonLoader/Loaders/Circle.vue.d.ts +28 -28
  75. package/library/types/src/components/VcSkeletonLoader/Loaders/Row.vue.d.ts +18 -18
  76. package/library/types/src/components/VcSkeletonLoader/Loaders/Square.vue.d.ts +28 -28
  77. package/library/types/src/components/VcSkeletonLoader/Loaders/Text.vue.d.ts +16 -16
  78. package/library/types/src/components/VcSkeletonLoader/VcSkeletonLoader.types.d.ts +1 -1
  79. package/library/types/src/components/VcSkeletonLoader/VcSkeletonLoader.vue.d.ts +81 -81
  80. package/library/types/src/components/VcSoundplayer/VcSoundPlayer.types.d.ts +2 -2
  81. package/library/types/src/components/VcSoundplayer/VcSoundPlayer.vue.d.ts +130 -130
  82. package/library/types/src/components/VcSplitButton/VcSplitButton.types.d.ts +8 -8
  83. package/library/types/src/components/VcSplitButton/VcSplitButton.vue.d.ts +68 -68
  84. package/library/types/src/components/VcSwitch/VcSwitch.types.d.ts +1 -1
  85. package/library/types/src/components/VcSwitch/VcSwitch.vue.d.ts +151 -151
  86. package/library/types/src/components/VcTable/VcTable.types.d.ts +45 -45
  87. package/library/types/src/components/VcTable/VcTable.vue.d.ts +334 -334
  88. package/library/types/src/components/VcTable/tableOptions.d.ts +6 -6
  89. package/library/types/src/components/VcTabs/VcTabNav.vue.d.ts +54 -54
  90. package/library/types/src/components/VcTabs/VcTabPane.vue.d.ts +92 -92
  91. package/library/types/src/components/VcTabs/VcTabs.types.d.ts +14 -14
  92. package/library/types/src/components/VcTabs/VcTabs.vue.d.ts +62 -62
  93. package/library/types/src/components/VcTag/VcTag.types.d.ts +1 -1
  94. package/library/types/src/components/VcTag/VcTag.vue.d.ts +99 -99
  95. package/library/types/src/components/VcTagInput/VcTagInput.types.d.ts +1 -0
  96. package/library/types/src/components/VcTagInput/VcTagInput.vue.d.ts +290 -290
  97. package/library/types/src/components/VcTimeInput/VcTimeInput.vue.d.ts +269 -269
  98. package/library/types/src/components/VcTree/VcTree.types.d.ts +36 -36
  99. package/library/types/src/components/VcTree/VcTree.vue.d.ts +209 -209
  100. package/library/types/src/components/VcTree/VcTreeNode.vue.d.ts +104 -104
  101. package/library/types/src/components/VcTree/VcTreeSelect.vue.d.ts +305 -305
  102. package/library/types/src/components/VcVerticalTabs/UiComponents/VerticalTabNav.vue.d.ts +54 -54
  103. package/library/types/src/components/VcVerticalTabs/VcVerticalTabs.types.d.ts +1 -0
  104. package/library/types/src/components/VcVerticalTabs/VcVerticalTabs.vue.d.ts +76 -76
  105. package/library/types/src/components/VcViewSwitcher/VcViewSwitcher.vue.d.ts +74 -74
  106. package/library/types/src/components/VcWizard/VcSummaryProgress.vue.d.ts +55 -55
  107. package/library/types/src/components/VcWizard/VcSummaryStep.vue.d.ts +70 -70
  108. package/library/types/src/components/VcWizard/VcWizard.types.d.ts +15 -15
  109. package/library/types/src/components/VcWizard/VcWizard.vue.d.ts +157 -157
  110. package/library/types/src/components/VcWizard/VcWizardNavigation.vue.d.ts +110 -110
  111. package/library/types/src/components/VcWizard/VcWizardSummary.vue.d.ts +47 -47
  112. package/library/types/src/components/VcWizard/VcWizardTransition.vue.d.ts +83 -83
  113. package/library/types/src/components/VcWizard/baseTransition.d.ts +93 -0
  114. package/library/types/src/components/index.d.ts +91 -91
  115. package/library/types/src/directives/click-outside.d.ts +2 -0
  116. package/library/types/src/directives/resize.d.ts +6 -6
  117. package/library/types/src/entry.d.ts +3 -2
  118. package/library/types/src/localization/Localization.types.d.ts +17 -17
  119. package/library/types/src/localization/index.d.ts +9 -9
  120. package/library/types/src/mixins/common/appendTo.mixin.d.ts +19 -19
  121. package/library/types/src/mixins/defaultComponent.mixin.d.ts +14 -14
  122. package/library/types/src/mixins/dropdown.mixin.d.ts +66 -0
  123. package/library/types/src/mixins/input/baseInput.mixin.d.ts +100 -100
  124. package/library/types/src/mixins/input/color.mixin.d.ts +33 -33
  125. package/library/types/src/mixins/input/error.mixin.d.ts +23 -23
  126. package/library/types/src/mixins/input/input.mixin.d.ts +146 -146
  127. package/library/types/src/mixins/input/label.mixin.d.ts +52 -52
  128. package/library/types/src/mixins/optionMethods.mixin.d.ts +38 -38
  129. package/library/types/src/mixins/selectBox.mixin.d.ts +73 -0
  130. package/library/types/src/mixins/table/tableProps.mixin.d.ts +108 -108
  131. package/library/types/src/theme/index.d.ts +1 -1
  132. package/library/types/src/theme/theme.types.d.ts +6 -6
  133. package/library/types/src/types/AppendToTarget.types.d.ts +1 -1
  134. package/library/types/src/types/Dropdown.types.d.ts +1 -0
  135. package/library/types/src/types/Entry.types.d.ts +6 -6
  136. package/library/types/src/types/OptionAndConfig.types.d.ts +23 -23
  137. package/library/types/src/types/VueGeneric.types.d.ts +1 -1
  138. package/package.json +10 -5
  139. package/src/theme/index.d.ts +1 -0
  140. package/src/theme/index.js +38 -0
  141. package/src/theme/index.js.map +1 -0
  142. package/src/theme/theme.types.d.ts +6 -0
  143. package/src/theme/theme.types.js +2 -0
  144. package/src/theme/theme.types.js.map +1 -0
  145. package/library/types/src/entry.esm.d.ts +0 -3
  146. package/library/types/src/env.d.ts +0 -18
@@ -1,334 +1,334 @@
1
- import { PropType } from 'vue';
2
- import { OptionType, Alignment, ColumnTypeItem, OptionObjType, ConfigType, PaginationProp, ActionsColumnType } from './VcTable.types';
3
- import { VcLoadingType } from '../../components/VcLoading/VcLoading.types';
4
- declare const _sfc_main: import("vue").DefineComponent<{
5
- withPagination: {
6
- type: BooleanConstructor;
7
- default: boolean;
8
- };
9
- externalPaginate: {
10
- type: PropType<PaginationProp>;
11
- default: undefined;
12
- };
13
- perPageOptions: {
14
- type: PropType<number[]>;
15
- default: number[];
16
- };
17
- perPageText: {
18
- type: StringConstructor;
19
- default: string;
20
- };
21
- isServerData: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- pagesLabel: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- loading: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- loaderType: {
34
- type: PropType<VcLoadingType>;
35
- default: string;
36
- };
37
- lazyLoadingData: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- compact: {
42
- type: BooleanConstructor;
43
- default: boolean;
44
- };
45
- stripe: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- };
49
- showActionsColumn: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
- actionsColumn: {
54
- type: PropType<ActionsColumnType>;
55
- default: () => {
56
- width: string;
57
- columnName: string;
58
- icon: string;
59
- minWidth: string;
60
- maxWidth: string;
61
- };
62
- };
63
- rowClassName: {
64
- type: (StringConstructor | FunctionConstructor)[];
65
- default: undefined;
66
- };
67
- }, unknown, {
68
- localOptions: OptionType;
69
- observer: MutationObserver | null;
70
- dir: string;
71
- rowOpened: boolean;
72
- opened: number[];
73
- selectedRow: number | null;
74
- sortBy: string;
75
- sortOrder: string;
76
- customSortFunction: any;
77
- localPagination: {
78
- currentPage: number;
79
- perPage: number;
80
- total: number;
81
- };
82
- viewObserver: IntersectionObserver | null;
83
- }, {
84
- actionsColumnConfig(): {
85
- width?: string | undefined;
86
- minWidth?: string | undefined;
87
- maxWidth?: string | undefined;
88
- columnName?: string | undefined;
89
- icon?: string | undefined;
90
- classes?: string | undefined;
91
- };
92
- actionsColumnStyles(): {
93
- [key: string]: string | undefined;
94
- };
95
- hasFooter(): boolean;
96
- isPaginationView(): boolean;
97
- visibleOptions(): {
98
- [key: string]: any;
99
- }[];
100
- pagination(): import("./VcTable.types").Pagination;
101
- start(): number;
102
- end(): number;
103
- setPositionForTooltip(): {
104
- [x: string]: string;
105
- top: string;
106
- transform: string;
107
- height: string;
108
- };
109
- colspanNumber(): number;
110
- headerChecked: {
111
- get(): boolean;
112
- set(val: boolean): boolean;
113
- };
114
- isIndeterminate(): boolean;
115
- selectedOptions(): {
116
- [key: string]: any;
117
- }[];
118
- tableOptions(): {
119
- [key: string]: any;
120
- }[];
121
- perPageMessage(): string;
122
- pagesLabelText(): string;
123
- }, {
124
- defaultSortMethod(data1: any, data2: any): number;
125
- isActiveSortColumn(column: ColumnTypeItem, order: string): string | undefined;
126
- isSortableColumn(column: ColumnTypeItem): boolean;
127
- handleSortClick(column: ColumnTypeItem, order?: string): void;
128
- toggleOrder(): void;
129
- onRowClick(option: OptionObjType, index: number): void;
130
- gettingFlexAlignment(columnAlignment?: Alignment): string;
131
- setColumnStyles(column: ColumnTypeItem | ActionsColumnType): {
132
- [key: string]: string | undefined;
133
- };
134
- gettingColumnItemData(column: ColumnTypeItem): string;
135
- gettingRowItemData(option: OptionObjType, rowColumn: ColumnTypeItem): string;
136
- setOptionChecked(option: OptionObjType, actionValue: boolean): void;
137
- setBulkOptionChecked(optionArray: OptionType, actionValue: boolean): void;
138
- onChangeAll(value: boolean): void;
139
- onChangeRow(option: any): void;
140
- onSelectionChange(): void;
141
- initObserver(): void;
142
- expandableAction(rowIndex: number): void;
143
- getRowClass(row: any, index: number): any;
144
- }, import("vue").DefineComponent<{
145
- columns: {
146
- type: PropType<import("./VcTable.types").ColumnType>;
147
- default: () => import("./VcTable.types").ColumnType;
148
- };
149
- options: {
150
- type: PropType<OptionType>;
151
- default: () => OptionType;
152
- };
153
- showSelection: {
154
- type: BooleanConstructor;
155
- default: boolean;
156
- };
157
- expandableRow: {
158
- type: BooleanConstructor;
159
- default: boolean;
160
- };
161
- config: {
162
- type: PropType<ConfigType>;
163
- default: () => {};
164
- };
165
- rowSelectable: {
166
- type: BooleanConstructor;
167
- default: boolean;
168
- };
169
- rowUnselect: {
170
- type: BooleanConstructor;
171
- default: boolean;
172
- };
173
- sortingOrderDefault: {
174
- type: PropType<import("./VcTable.types").SortingOrderDefaultType>;
175
- default: undefined;
176
- };
177
- tableClass: {
178
- type: StringConstructor;
179
- default: string;
180
- };
181
- wrapperClass: {
182
- type: StringConstructor;
183
- default: string;
184
- };
185
- emptyDataText: {
186
- type: StringConstructor;
187
- default: string;
188
- };
189
- }, unknown, unknown, {
190
- emptyDataMessage(): string;
191
- }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
192
- columns: {
193
- type: PropType<import("./VcTable.types").ColumnType>;
194
- default: () => import("./VcTable.types").ColumnType;
195
- };
196
- options: {
197
- type: PropType<OptionType>;
198
- default: () => OptionType;
199
- };
200
- showSelection: {
201
- type: BooleanConstructor;
202
- default: boolean;
203
- };
204
- expandableRow: {
205
- type: BooleanConstructor;
206
- default: boolean;
207
- };
208
- config: {
209
- type: PropType<ConfigType>;
210
- default: () => {};
211
- };
212
- rowSelectable: {
213
- type: BooleanConstructor;
214
- default: boolean;
215
- };
216
- rowUnselect: {
217
- type: BooleanConstructor;
218
- default: boolean;
219
- };
220
- sortingOrderDefault: {
221
- type: PropType<import("./VcTable.types").SortingOrderDefaultType>;
222
- default: undefined;
223
- };
224
- tableClass: {
225
- type: StringConstructor;
226
- default: string;
227
- };
228
- wrapperClass: {
229
- type: StringConstructor;
230
- default: string;
231
- };
232
- emptyDataText: {
233
- type: StringConstructor;
234
- default: string;
235
- };
236
- }>>, {
237
- config: ConfigType;
238
- columns: import("./VcTable.types").ColumnType;
239
- options: OptionType;
240
- showSelection: boolean;
241
- expandableRow: boolean;
242
- rowSelectable: boolean;
243
- rowUnselect: boolean;
244
- sortingOrderDefault: import("./VcTable.types").SortingOrderDefaultType;
245
- tableClass: string;
246
- wrapperClass: string;
247
- emptyDataText: string;
248
- }>, import("vue").ComponentOptionsMixin, ("on-row-click" | "handle-selection-change" | "handle-sort" | "update:externalPaginate" | "update:currentPage" | "load-more")[], "on-row-click" | "handle-selection-change" | "handle-sort" | "update:externalPaginate" | "update:currentPage" | "load-more", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
249
- withPagination: {
250
- type: BooleanConstructor;
251
- default: boolean;
252
- };
253
- externalPaginate: {
254
- type: PropType<PaginationProp>;
255
- default: undefined;
256
- };
257
- perPageOptions: {
258
- type: PropType<number[]>;
259
- default: number[];
260
- };
261
- perPageText: {
262
- type: StringConstructor;
263
- default: string;
264
- };
265
- isServerData: {
266
- type: BooleanConstructor;
267
- default: boolean;
268
- };
269
- pagesLabel: {
270
- type: StringConstructor;
271
- default: string;
272
- };
273
- loading: {
274
- type: BooleanConstructor;
275
- default: boolean;
276
- };
277
- loaderType: {
278
- type: PropType<VcLoadingType>;
279
- default: string;
280
- };
281
- lazyLoadingData: {
282
- type: BooleanConstructor;
283
- default: boolean;
284
- };
285
- compact: {
286
- type: BooleanConstructor;
287
- default: boolean;
288
- };
289
- stripe: {
290
- type: BooleanConstructor;
291
- default: boolean;
292
- };
293
- showActionsColumn: {
294
- type: BooleanConstructor;
295
- default: boolean;
296
- };
297
- actionsColumn: {
298
- type: PropType<ActionsColumnType>;
299
- default: () => {
300
- width: string;
301
- columnName: string;
302
- icon: string;
303
- minWidth: string;
304
- maxWidth: string;
305
- };
306
- };
307
- rowClassName: {
308
- type: (StringConstructor | FunctionConstructor)[];
309
- default: undefined;
310
- };
311
- }>> & {
312
- "onOn-row-click"?: ((...args: any[]) => any) | undefined;
313
- "onHandle-selection-change"?: ((...args: any[]) => any) | undefined;
314
- "onHandle-sort"?: ((...args: any[]) => any) | undefined;
315
- "onUpdate:externalPaginate"?: ((...args: any[]) => any) | undefined;
316
- "onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
317
- "onLoad-more"?: ((...args: any[]) => any) | undefined;
318
- }, {
319
- loading: boolean;
320
- compact: boolean;
321
- loaderType: VcLoadingType;
322
- withPagination: boolean;
323
- externalPaginate: PaginationProp;
324
- perPageOptions: number[];
325
- perPageText: string;
326
- isServerData: boolean;
327
- pagesLabel: string;
328
- lazyLoadingData: boolean;
329
- stripe: boolean;
330
- showActionsColumn: boolean;
331
- actionsColumn: ActionsColumnType;
332
- rowClassName: string | Function;
333
- }>;
334
- export default _sfc_main;
1
+ import { PropType } from 'vue';
2
+ import { OptionType, Alignment, ColumnTypeItem, OptionObjType, ConfigType, PaginationProp, ActionsColumnType } from './VcTable.types';
3
+ import { VcLoadingType } from '../../components/VcLoading/VcLoading.types';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ withPagination: {
6
+ type: BooleanConstructor;
7
+ default: boolean;
8
+ };
9
+ externalPaginate: {
10
+ type: PropType<PaginationProp>;
11
+ default: undefined;
12
+ };
13
+ perPageOptions: {
14
+ type: PropType<number[]>;
15
+ default: number[];
16
+ };
17
+ perPageText: {
18
+ type: StringConstructor;
19
+ default: string;
20
+ };
21
+ isServerData: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ pagesLabel: {
26
+ type: StringConstructor;
27
+ default: string;
28
+ };
29
+ loading: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
33
+ loaderType: {
34
+ type: PropType<VcLoadingType>;
35
+ default: string;
36
+ };
37
+ lazyLoadingData: {
38
+ type: BooleanConstructor;
39
+ default: boolean;
40
+ };
41
+ compact: {
42
+ type: BooleanConstructor;
43
+ default: boolean;
44
+ };
45
+ stripe: {
46
+ type: BooleanConstructor;
47
+ default: boolean;
48
+ };
49
+ showActionsColumn: {
50
+ type: BooleanConstructor;
51
+ default: boolean;
52
+ };
53
+ actionsColumn: {
54
+ type: PropType<ActionsColumnType>;
55
+ default: () => {
56
+ width: string;
57
+ columnName: string;
58
+ icon: string;
59
+ minWidth: string;
60
+ maxWidth: string;
61
+ };
62
+ };
63
+ rowClassName: {
64
+ type: (StringConstructor | FunctionConstructor)[];
65
+ default: undefined;
66
+ };
67
+ }, unknown, {
68
+ localOptions: OptionType;
69
+ observer: MutationObserver | null;
70
+ dir: string;
71
+ rowOpened: boolean;
72
+ opened: number[];
73
+ selectedRow: number | null;
74
+ sortBy: string;
75
+ sortOrder: string;
76
+ customSortFunction: any;
77
+ localPagination: {
78
+ currentPage: number;
79
+ perPage: number;
80
+ total: number;
81
+ };
82
+ viewObserver: IntersectionObserver | null;
83
+ }, {
84
+ actionsColumnConfig(): {
85
+ width?: string | undefined;
86
+ minWidth?: string | undefined;
87
+ maxWidth?: string | undefined;
88
+ columnName?: string | undefined;
89
+ icon?: string | undefined;
90
+ classes?: string | undefined;
91
+ };
92
+ actionsColumnStyles(): {
93
+ [key: string]: string | undefined;
94
+ };
95
+ hasFooter(): boolean;
96
+ isPaginationView(): boolean;
97
+ visibleOptions(): {
98
+ [key: string]: any;
99
+ }[];
100
+ pagination(): import("./VcTable.types").Pagination;
101
+ start(): number;
102
+ end(): number;
103
+ setPositionForTooltip(): {
104
+ [x: string]: string;
105
+ top: string;
106
+ transform: string;
107
+ height: string;
108
+ };
109
+ colspanNumber(): number;
110
+ headerChecked: {
111
+ get(): boolean;
112
+ set(val: boolean): boolean;
113
+ };
114
+ isIndeterminate(): boolean;
115
+ selectedOptions(): {
116
+ [key: string]: any;
117
+ }[];
118
+ tableOptions(): {
119
+ [key: string]: any;
120
+ }[];
121
+ perPageMessage(): string;
122
+ pagesLabelText(): string;
123
+ }, {
124
+ defaultSortMethod(data1: any, data2: any): number;
125
+ isActiveSortColumn(column: ColumnTypeItem, order: string): string | undefined;
126
+ isSortableColumn(column: ColumnTypeItem): boolean;
127
+ handleSortClick(column: ColumnTypeItem, order?: string): void;
128
+ toggleOrder(): void;
129
+ onRowClick(option: OptionObjType, index: number): void;
130
+ gettingFlexAlignment(columnAlignment?: Alignment): string;
131
+ setColumnStyles(column: ColumnTypeItem | ActionsColumnType): {
132
+ [key: string]: string | undefined;
133
+ };
134
+ gettingColumnItemData(column: ColumnTypeItem): string;
135
+ gettingRowItemData(option: OptionObjType, rowColumn: ColumnTypeItem): string;
136
+ setOptionChecked(option: OptionObjType, actionValue: boolean): void;
137
+ setBulkOptionChecked(optionArray: OptionType, actionValue: boolean): void;
138
+ onChangeAll(value: boolean): void;
139
+ onChangeRow(option: any): void;
140
+ onSelectionChange(): void;
141
+ initObserver(): void;
142
+ expandableAction(rowIndex: number): void;
143
+ getRowClass(row: any, index: number): any;
144
+ }, import("vue").DefineComponent<{
145
+ columns: {
146
+ type: PropType<import("./VcTable.types").ColumnType>;
147
+ default: () => import("./VcTable.types").ColumnType;
148
+ };
149
+ options: {
150
+ type: PropType<OptionType>;
151
+ default: () => OptionType;
152
+ };
153
+ showSelection: {
154
+ type: BooleanConstructor;
155
+ default: boolean;
156
+ };
157
+ expandableRow: {
158
+ type: BooleanConstructor;
159
+ default: boolean;
160
+ };
161
+ config: {
162
+ type: PropType<ConfigType>;
163
+ default: () => {};
164
+ };
165
+ rowSelectable: {
166
+ type: BooleanConstructor;
167
+ default: boolean;
168
+ };
169
+ rowUnselect: {
170
+ type: BooleanConstructor;
171
+ default: boolean;
172
+ };
173
+ sortingOrderDefault: {
174
+ type: PropType<import("./VcTable.types").SortingOrderDefaultType>;
175
+ default: undefined;
176
+ };
177
+ tableClass: {
178
+ type: StringConstructor;
179
+ default: string;
180
+ };
181
+ wrapperClass: {
182
+ type: StringConstructor;
183
+ default: string;
184
+ };
185
+ emptyDataText: {
186
+ type: StringConstructor;
187
+ default: string;
188
+ };
189
+ }, unknown, unknown, {
190
+ emptyDataMessage(): string;
191
+ }, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
192
+ columns: {
193
+ type: PropType<import("./VcTable.types").ColumnType>;
194
+ default: () => import("./VcTable.types").ColumnType;
195
+ };
196
+ options: {
197
+ type: PropType<OptionType>;
198
+ default: () => OptionType;
199
+ };
200
+ showSelection: {
201
+ type: BooleanConstructor;
202
+ default: boolean;
203
+ };
204
+ expandableRow: {
205
+ type: BooleanConstructor;
206
+ default: boolean;
207
+ };
208
+ config: {
209
+ type: PropType<ConfigType>;
210
+ default: () => {};
211
+ };
212
+ rowSelectable: {
213
+ type: BooleanConstructor;
214
+ default: boolean;
215
+ };
216
+ rowUnselect: {
217
+ type: BooleanConstructor;
218
+ default: boolean;
219
+ };
220
+ sortingOrderDefault: {
221
+ type: PropType<import("./VcTable.types").SortingOrderDefaultType>;
222
+ default: undefined;
223
+ };
224
+ tableClass: {
225
+ type: StringConstructor;
226
+ default: string;
227
+ };
228
+ wrapperClass: {
229
+ type: StringConstructor;
230
+ default: string;
231
+ };
232
+ emptyDataText: {
233
+ type: StringConstructor;
234
+ default: string;
235
+ };
236
+ }>>, {
237
+ columns: import("./VcTable.types").ColumnType;
238
+ config: ConfigType;
239
+ options: OptionType;
240
+ showSelection: boolean;
241
+ expandableRow: boolean;
242
+ rowSelectable: boolean;
243
+ rowUnselect: boolean;
244
+ sortingOrderDefault: import("./VcTable.types").SortingOrderDefaultType;
245
+ tableClass: string;
246
+ wrapperClass: string;
247
+ emptyDataText: string;
248
+ }>, import("vue").ComponentOptionsMixin, ("on-row-click" | "handle-selection-change" | "handle-sort" | "update:externalPaginate" | "update:currentPage" | "load-more")[], "on-row-click" | "handle-selection-change" | "handle-sort" | "update:externalPaginate" | "update:currentPage" | "load-more", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
249
+ withPagination: {
250
+ type: BooleanConstructor;
251
+ default: boolean;
252
+ };
253
+ externalPaginate: {
254
+ type: PropType<PaginationProp>;
255
+ default: undefined;
256
+ };
257
+ perPageOptions: {
258
+ type: PropType<number[]>;
259
+ default: number[];
260
+ };
261
+ perPageText: {
262
+ type: StringConstructor;
263
+ default: string;
264
+ };
265
+ isServerData: {
266
+ type: BooleanConstructor;
267
+ default: boolean;
268
+ };
269
+ pagesLabel: {
270
+ type: StringConstructor;
271
+ default: string;
272
+ };
273
+ loading: {
274
+ type: BooleanConstructor;
275
+ default: boolean;
276
+ };
277
+ loaderType: {
278
+ type: PropType<VcLoadingType>;
279
+ default: string;
280
+ };
281
+ lazyLoadingData: {
282
+ type: BooleanConstructor;
283
+ default: boolean;
284
+ };
285
+ compact: {
286
+ type: BooleanConstructor;
287
+ default: boolean;
288
+ };
289
+ stripe: {
290
+ type: BooleanConstructor;
291
+ default: boolean;
292
+ };
293
+ showActionsColumn: {
294
+ type: BooleanConstructor;
295
+ default: boolean;
296
+ };
297
+ actionsColumn: {
298
+ type: PropType<ActionsColumnType>;
299
+ default: () => {
300
+ width: string;
301
+ columnName: string;
302
+ icon: string;
303
+ minWidth: string;
304
+ maxWidth: string;
305
+ };
306
+ };
307
+ rowClassName: {
308
+ type: (StringConstructor | FunctionConstructor)[];
309
+ default: undefined;
310
+ };
311
+ }>> & {
312
+ "onOn-row-click"?: ((...args: any[]) => any) | undefined;
313
+ "onHandle-selection-change"?: ((...args: any[]) => any) | undefined;
314
+ "onHandle-sort"?: ((...args: any[]) => any) | undefined;
315
+ "onUpdate:externalPaginate"?: ((...args: any[]) => any) | undefined;
316
+ "onUpdate:currentPage"?: ((...args: any[]) => any) | undefined;
317
+ "onLoad-more"?: ((...args: any[]) => any) | undefined;
318
+ }, {
319
+ loading: boolean;
320
+ compact: boolean;
321
+ loaderType: VcLoadingType;
322
+ withPagination: boolean;
323
+ externalPaginate: PaginationProp;
324
+ perPageOptions: number[];
325
+ perPageText: string;
326
+ isServerData: boolean;
327
+ pagesLabel: string;
328
+ lazyLoadingData: boolean;
329
+ stripe: boolean;
330
+ showActionsColumn: boolean;
331
+ actionsColumn: ActionsColumnType;
332
+ rowClassName: string | Function;
333
+ }>;
334
+ export default _default;
@@ -1,6 +1,6 @@
1
- import { Pagination } from '../../components/VcTable/VcTable.types';
2
- export declare const SORT_TYPE: {
3
- [key: string]: number;
4
- };
5
- export declare const DEFAULT_PAGINATION: Pagination;
6
- export declare const DEFAULT_PER_PAGE_OPTIONS: number[];
1
+ import { Pagination } from '../../components/VcTable/VcTable.types';
2
+ export declare const SORT_TYPE: {
3
+ [key: string]: number;
4
+ };
5
+ export declare const DEFAULT_PAGINATION: Pagination;
6
+ export declare const DEFAULT_PER_PAGE_OPTIONS: number[];