@fewangsit/wangsvue-fats 1.0.0-alpha.9 → 1.0.0-alpha.91

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 (156) hide show
  1. package/components/animation/Animation.vue.d.ts +9 -1
  2. package/components/assetinfo/AssetInfo.vue.d.ts +39 -0
  3. package/components/badgegroup/BadgeGroup.vue.d.ts +3 -1
  4. package/components/basetree/BaseTree.vue.d.ts +6 -1
  5. package/components/button/Button.vue.d.ts +7 -3
  6. package/components/buttonaddbyscan/ButtonAddByScan.vue.d.ts +40 -0
  7. package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +1 -0
  8. package/components/buttonradio/ButtonRadio.vue.d.ts +1 -0
  9. package/components/buttonscan/ButtonScan.vue.d.ts +202 -0
  10. package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +46 -0
  11. package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +2 -1
  12. package/components/buttonsplit/ButtonSplit.vue.d.ts +352 -34
  13. package/components/buttonsync/ButtonSync.vue.d.ts +22 -0
  14. package/components/buttontoggle/ButtonToggle.vue.d.ts +1 -0
  15. package/components/buttonviewlog/ButtonViewLog.vue.d.ts +17 -0
  16. package/components/calendar/Calendar.vue.d.ts +32 -4
  17. package/components/card/Card.vue.d.ts +1 -0
  18. package/components/checkbox/Checkbox.vue.d.ts +1 -0
  19. package/components/datatable/DataTable.vue.d.ts +12 -4
  20. package/components/dialog/Dialog.vue.d.ts +4 -3
  21. package/components/dialogassetnamedetail/DialogAssetNameDetail.vue.d.ts +46 -0
  22. package/components/dialogassetnamedetail/options/columns.d.ts +2 -0
  23. package/components/dialogassetnamedetail/options/filter.d.ts +2 -0
  24. package/components/dialogconfirm/DialogConfirm.vue.d.ts +1 -0
  25. package/components/dialogform/DialogForm.vue.d.ts +3 -2
  26. package/components/dialogprintqr/DialogPrintQR.vue.d.ts +18 -0
  27. package/components/dialogreportdamage/DialogReportDamage.vue.d.ts +34 -0
  28. package/components/dialogreportmissing/DialogReportMissing.vue.d.ts +33 -0
  29. package/components/dialogreporttag/DialogReportTag.vue.d.ts +31 -0
  30. package/components/dialogselecttree/DialogSelectTree.vue.d.ts +3 -2
  31. package/components/dialogselectuser/DialogSelectUser.vue.d.ts +102 -0
  32. package/components/dialogselectuser/options/columns.d.ts +3 -0
  33. package/components/dropdown/Dropdown.vue.d.ts +23 -4
  34. package/components/editor/Editor.vue.d.ts +1 -0
  35. package/components/fieldwrapper/FieldWrapper.vue.d.ts +12 -2
  36. package/components/fileupload/FileUpload.vue.d.ts +1 -0
  37. package/components/filtercontainer/FilterContainer.vue.d.ts +12 -8
  38. package/components/form/Form.vue.d.ts +2 -1
  39. package/components/icon/Icon.vue.d.ts +3 -0
  40. package/components/image/Image.vue.d.ts +8 -0
  41. package/components/imagecompressor/ImageCompressor.vue.d.ts +6 -0
  42. package/components/index.d.ts +27 -18
  43. package/components/inputcurrency/helpers/currency.helper.d.ts +5 -1
  44. package/components/inputemail/InputEmail.vue.d.ts +1 -0
  45. package/components/inputnumber/InputNumber.vue.d.ts +6 -0
  46. package/components/inputpassword/InputPassword.vue.d.ts +1 -0
  47. package/components/inputrangenumber/InputRangeNumber.vue.d.ts +1 -0
  48. package/components/inputsearch/InputSearch.vue.d.ts +36 -0
  49. package/components/inputtext/InputText.vue.d.ts +2 -1
  50. package/components/inputurl/InputURL.vue.d.ts +4 -2
  51. package/components/invisiblefield/InvisibleField.vue.d.ts +32 -36
  52. package/components/languagedropdown/LanguageDropdown.vue.d.ts +5 -19
  53. package/components/litedropdown/LiteDropdown.vue.d.ts +5 -3
  54. package/components/loading/store/loading.store.d.ts +3 -3
  55. package/components/menu/Menu.vue.d.ts +2 -1
  56. package/components/multiselect/MultiSelect.vue.d.ts +7 -4
  57. package/components/overlaypanel/OverlayPanel.vue.d.ts +1 -0
  58. package/components/paginator/Paginator.vue.d.ts +285 -0
  59. package/components/tabmenu/TabMenu.vue.d.ts +6 -190
  60. package/components/tagtype/TagType.vue.d.ts +26 -0
  61. package/components/textarea/Textarea.vue.d.ts +2 -1
  62. package/components/timeline/Timeline.vue.d.ts +21 -2
  63. package/components/toast/Toast.vue.d.ts +2 -1
  64. package/components/toggleswitch/ToggleSwitch.vue.d.ts +1 -0
  65. package/components/transactionroles/TransactionRoles.vue.d.ts +58 -0
  66. package/components/tree/Tree.vue.d.ts +6 -3
  67. package/components/tree/helpers/filterNodeKeys.helper.d.ts +8 -2
  68. package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +3 -1
  69. package/components/username/UserName.vue.d.ts +6 -1
  70. package/components/userwithicon/UserWithIcon.vue.d.ts +21 -0
  71. package/config/defaultProps.d.ts +1 -1
  72. package/config/index.d.ts +1 -1
  73. package/config/locale.d.ts +1 -1
  74. package/directives/focus.d.ts +1 -1
  75. package/event-bus/index.d.ts +55 -50
  76. package/event-bus/mitt.d.ts +29 -14
  77. package/main.d.ts +34 -2
  78. package/package.json +10 -6
  79. package/plugins/VueHtmlToPaper.d.ts +11 -0
  80. package/plugins/WangsVue.d.ts +266 -98
  81. package/plugins/formValidation.d.ts +15 -6
  82. package/plugins/i18n-extension.d.ts +4 -0
  83. package/plugins/i18n.d.ts +89 -113
  84. package/stats.html +4949 -0
  85. package/style.css +1 -1
  86. package/utils/date.util.d.ts +64 -31
  87. package/utils/formatTagCode.util.d.ts +1 -0
  88. package/utils/getSeverityByAssetStatus.util.d.ts +3 -0
  89. package/utils/index.d.ts +6 -20
  90. package/utils/listenSidebarChanges.util.d.ts +16 -0
  91. package/utils/object.util.d.ts +14 -3
  92. package/utils/role.util.d.ts +67 -1
  93. package/utils/toast.util.d.ts +78 -78
  94. package/wangsvue-fats.js +56016 -0
  95. package/wangsvue-fats.system.js +204 -267
  96. package/assets/json/currencies.json.d.ts +0 -1068
  97. package/assets/lottie/admin/loading-page.lottie +0 -0
  98. package/assets/lottie/admin/loading-table.lottie +0 -0
  99. package/assets/lottie/admin/no-data.lottie +0 -0
  100. package/assets/lottie/supplyasset/loading-page.lottie +0 -0
  101. package/assets/lottie/supplyasset/loading-table.lottie +0 -0
  102. package/assets/lottie/supplyasset/no-data.lottie +0 -0
  103. package/assets/lottie/workspace/loading-page.lottie +0 -0
  104. package/assets/lottie/workspace/loading-plane.lottie +0 -0
  105. package/assets/lottie/workspace/loading-table.lottie +0 -0
  106. package/assets/lottie/workspace/no-data.lottie +0 -0
  107. package/build-entry.d.ts +0 -14
  108. package/components/buttonsplit/ButtonSplit.d.ts +0 -350
  109. package/components/calendar/BaseCalendar.vue.d.ts +0 -86
  110. package/components/codesnippet/CodeSnippet.vue.d.ts +0 -14
  111. package/components/customcolumn/ColumnList.vue.d.ts +0 -27
  112. package/components/customcolumn/helpers/setVisibilityColumn.helper.d.ts +0 -12
  113. package/components/datatable/MultiRow.vue.d.ts +0 -16
  114. package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
  115. package/components/datatable/helpers/filter.helper.d.ts +0 -28
  116. package/components/datatable/helpers/index.d.ts +0 -3
  117. package/components/datatable/helpers/readConfig.helper.d.ts +0 -2
  118. package/components/datatable/store/dataTable.store.d.ts +0 -22
  119. package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -92
  120. package/components/editor/EditorButton.vue.d.ts +0 -15
  121. package/components/editor/MentionList.vue.d.ts +0 -35
  122. package/components/editor/MentionSection.vue.d.ts +0 -92
  123. package/components/editor/codeSnippetExtension.d.ts +0 -3
  124. package/components/editor/mentionSectionExtension.d.ts +0 -3
  125. package/components/editor/suggestion.d.ts +0 -2
  126. package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -5
  127. package/components/filtercontainer/helpers/formatDateTimeRange.helper.d.ts +0 -7
  128. package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -3
  129. package/components/gallerypreview/GalleryPreview.vue.d.ts +0 -31
  130. package/components/helpers/convertToArrayClass.helper.d.ts +0 -2
  131. package/components/helpers/index.d.ts +0 -2
  132. package/components/helpers/label.d.ts +0 -15
  133. package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -36
  134. package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -30
  135. package/components/inputgroup/InputGroup.vue.d.ts +0 -141
  136. package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
  137. package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +0 -18
  138. package/components/menu/helpers/filterMenu.helper.d.ts +0 -12
  139. package/components/menu/helpers/index.d.ts +0 -1
  140. package/components/menuitem/MenuItem.vue.d.ts +0 -19
  141. package/components/progressbar/ProgressBar.vue.d.ts +0 -72
  142. package/components/quickfilter/QuickFilter.vue.d.ts +0 -25
  143. package/components/timeline/TimelineContentByType.vue.d.ts +0 -16
  144. package/components/tooltipspan/TooltipSpan.vue.d.ts +0 -20
  145. package/components/tree/helpers/index.d.ts +0 -3
  146. package/components/usergroup/UserGroup.vue.d.ts +0 -57
  147. package/components/validatormessage/ValidatorMessage.vue.d.ts +0 -12
  148. package/types/options.type.d.ts +0 -16
  149. package/utils/addAttachment.util.d.ts +0 -43
  150. package/utils/exportToExcel.util.d.ts +0 -20
  151. package/utils/filterOptions.util.d.ts +0 -3
  152. package/utils/genPlaceholder.util.d.ts +0 -8
  153. package/utils/getAttachmentIcon.util.d.ts +0 -8
  154. package/utils/mergePropsWithDefaults.util.d.ts +0 -20
  155. package/utils/textFormatter.util.d.ts +0 -17
  156. package/wangsvue-fats.es.js +0 -132347
Binary file
package/build-entry.d.ts DELETED
@@ -1,14 +0,0 @@
1
- export { default as mitt } from './event-bus/mitt';
2
- export { default as eventBus, extendEventBus } from './event-bus';
3
- export { default as ToastService } from 'primevue/toastservice';
4
- export * from './utils';
5
- export { formatCurrency } from './components/inputcurrency/helpers/currency.helper';
6
- export { default as useLoadingStore } from './components/loading/store/loading.store';
7
- export { default as Tooltip } from 'primevue/tooltip';
8
- export { Focus } from './directives';
9
- export { useForm, useField } from './plugins/formValidation';
10
- export type { FormContext } from './plugins/formValidation';
11
- export * from './plugins/i18n';
12
- export { default as i18n } from './plugins/i18n';
13
- export * from './components';
14
- export { default as WangsVue } from './config';
@@ -1,350 +0,0 @@
1
- /**
2
- *
3
- * ButtonSplit groups a set of commands in an overlay with a default command.
4
- *
5
- * [Live Demo](https://www.primevue.org/splitbutton/)
6
- *
7
- * @module splitbutton
8
- *
9
- */
10
- import { ButtonHTMLAttributes, VNode } from 'vue';
11
- import { ComponentHooks } from '../basecomponent';
12
- import { ButtonPassThroughOptions } from 'primevue/button';
13
- import { MenuItem } from '../menuitem';
14
- import { PassThroughOptions } from '../passthrough';
15
- import {
16
- TieredMenuPassThroughOptions,
17
- TieredMenuRouterBindProps,
18
- } from 'primevue/tieredmenu';
19
- import {
20
- ClassComponent,
21
- GlobalComponentConstructor,
22
- PassThrough,
23
- HintedString,
24
- } from '../ts-helpers';
25
- import { WangsIcons } from '../icon/Icon.vue.d';
26
-
27
- export declare type ButtonSplitPassThroughOptionType =
28
- | ButtonSplitPassThroughAttributes
29
- | ((
30
- options: ButtonSplitPassThroughMethodOptions,
31
- ) => ButtonSplitPassThroughAttributes | string)
32
- | string
33
- | null
34
- | undefined;
35
-
36
- /**
37
- * Custom passthrough(pt) option method.
38
- */
39
- export interface ButtonSplitPassThroughMethodOptions {
40
- /**
41
- * Defines instance.
42
- */
43
- instance: any;
44
- /**
45
- * Defines valid properties.
46
- */
47
- props: ButtonSplitProps;
48
- /**
49
- * Defines current inline state.
50
- */
51
- state: ButtonSplitState;
52
- /**
53
- * Defines valid attributes.
54
- */
55
- attrs: any;
56
- /**
57
- * Defines parent options.
58
- */
59
- parent: any;
60
- /**
61
- * Defines passthrough(pt) options in global config.
62
- */
63
- global: object | undefined;
64
- }
65
-
66
- /**
67
- * Custom shared passthrough(pt) option method.
68
- */
69
- export interface ButtonSplitSharedPassThroughMethodOptions {
70
- /**
71
- * Defines valid properties.
72
- */
73
- props: ButtonSplitProps;
74
- /**
75
- * Defines current inline state.
76
- */
77
- state: ButtonSplitState;
78
- }
79
-
80
- /**
81
- * Custom passthrough(pt) options.
82
- * @see {@link ButtonSplitProps.pt}
83
- */
84
- export interface ButtonSplitPassThroughOptions {
85
- /**
86
- * Used to pass attributes to the root's DOM element.
87
- */
88
- root?: ButtonSplitPassThroughOptionType;
89
- /**
90
- * Used to pass attributes to the button's DOM element.
91
- */
92
- button?: ButtonSplitPassThroughOptionType;
93
- /**
94
- * Used to pass attributes to the Button component.
95
- * @see {@link ButtonPassThroughOptions}
96
- */
97
- menuButton?: ButtonPassThroughOptions<ButtonSplitSharedPassThroughMethodOptions>;
98
- /**
99
- * Used to pass attributes to the TieredMenu component.
100
- * @see {@link TieredMenuPassThroughOptions}
101
- */
102
- menu?: TieredMenuPassThroughOptions<ButtonSplitSharedPassThroughMethodOptions>;
103
- /**
104
- * Used to manage all lifecycle hooks.
105
- * @see {@link BaseComponent.ComponentHooks}
106
- */
107
- hooks?: ComponentHooks;
108
- }
109
-
110
- /**
111
- * Custom passthrough attributes for each DOM elements
112
- */
113
- export interface ButtonSplitPassThroughAttributes {
114
- [key: string]: any;
115
- }
116
-
117
- /**
118
- * Defines current inline state in ButtonSplit component.
119
- */
120
- export interface ButtonSplitState {
121
- /**
122
- * Current blocked state as a boolean.
123
- * @defaultValue false
124
- */
125
- isBlocked: boolean;
126
- }
127
-
128
- /**
129
- * Defines valid properties in ButtonSplit component.
130
- */
131
- export interface ButtonSplitProps {
132
- /**
133
- * Text of the button.
134
- */
135
- label?: string | undefined;
136
- /**
137
- * Name of the icon of main button.
138
- */
139
- icon?: WangsIcons | undefined;
140
- /**
141
- * MenuModel instance to define the overlay items.
142
- */
143
- model?: MenuItem[] | undefined;
144
- /**
145
- * Whether to automatically manage layering.
146
- * @defaultValue true
147
- */
148
- autoZIndex?: boolean | undefined;
149
- /**
150
- * Base zIndex value to use in layering.
151
- * @defaultValue 0
152
- */
153
- baseZIndex?: number | undefined;
154
- /**
155
- * A valid query selector or an HTMLElement to specify where the overlay gets attached.
156
- * Special keywords are 'body' for document body and 'self' for the element itself.
157
- * @defaultValue body
158
- */
159
- appendTo?: HintedString<'body' | 'self'> | undefined | HTMLElement;
160
- /**
161
- * When present, it specifies that the element should be disabled.
162
- * @defaultValue false
163
- */
164
- disabled?: boolean | undefined;
165
- /**
166
- * Style class of the component.
167
- */
168
- class?: any | undefined;
169
- /**
170
- * Inline style of the component.
171
- */
172
- style?: any | undefined;
173
- /**
174
- * Used to pass all properties of the HTMLButtonElement to the default button.
175
- */
176
- buttonProps?: ButtonHTMLAttributes | undefined;
177
- /**
178
- * Used to pass all properties of the HTMLButtonElement to the menu button.
179
- */
180
- menuButtonProps?: ButtonHTMLAttributes | undefined;
181
- /**
182
- * Name of the menu button icon.
183
- */
184
- menuButtonIcon?: WangsIcons | undefined;
185
- /**
186
- * Defines the style of the button.
187
- */
188
- severity?:
189
- | HintedString<
190
- | 'secondary'
191
- | 'success'
192
- | 'info'
193
- | 'warning'
194
- | 'help'
195
- | 'danger'
196
- | 'contrast'
197
- >
198
- | undefined;
199
- /**
200
- * Add a shadow to indicate elevation.
201
- * @defaultValue false
202
- */
203
- raised?: boolean | undefined;
204
- /**
205
- * Add a circular border radius to the button.
206
- * @defaultValue false
207
- */
208
- rounded?: boolean | undefined;
209
- /**
210
- * Add a textual class to the button without a background initially.
211
- * @defaultValue false
212
- */
213
- text?: boolean | undefined;
214
- /**
215
- * Add a border class without a background initially.
216
- * @defaultValue false
217
- */
218
- outlined?: boolean | undefined;
219
- /**
220
- * Defines the size of the button.
221
- */
222
- size?: 'small' | 'large' | undefined;
223
- /**
224
- * Add a plain textual class to the button without a background initially.
225
- * @defaultValue false
226
- */
227
- plain?: boolean | undefined;
228
- /**
229
- * Used to pass attributes to DOM elements inside the component.
230
- * @type {ButtonSplitPassThroughOptions}
231
- */
232
- pt?: PassThrough<ButtonSplitPassThroughOptions>;
233
- /**
234
- * Used to configure passthrough(pt) options of the component.
235
- * @type {PassThroughOptions}
236
- */
237
- ptOptions?: PassThroughOptions;
238
- /**
239
- * When enabled, it removes component related styles in the core.
240
- * @defaultValue false
241
- */
242
- unstyled?: boolean;
243
- }
244
-
245
- /**
246
- * Defines valid slots in ButtonSplit component.
247
- */
248
- export interface ButtonSplitSlots {
249
- /**
250
- * Button part of the content can easily be customized with the default slot instead of using the built-in modes.
251
- */
252
- default(): VNode[];
253
- /**
254
- * Command button part of the content can easily be customized with the button content slot.
255
- */
256
- buttoncontent(): VNode[];
257
- /**
258
- * Custom button icon template.
259
- * @param {Object} scope - icon slot's params.
260
- */
261
- icon(scope: {
262
- /**
263
- * Style class of the icon.
264
- */
265
- class: string;
266
- }): VNode[];
267
- /**
268
- * Custom menu button icon template.
269
- * @param {Object} scope - menubuttonicon slot's params.
270
- */
271
- menubuttonicon(scope: {
272
- /**
273
- * Style class of the icon.
274
- */
275
- class: string;
276
- }): VNode[];
277
- /**
278
- * Custom menu item icon template.
279
- * @param {Object} scope - menuitemicon slot's params.
280
- */
281
- menuitemicon(scope: {
282
- /**
283
- * Menuitem instance
284
- */
285
- item: MenuItem;
286
- /**
287
- * Style class of the item icon element.
288
- */
289
- class: any;
290
- }): VNode[];
291
- /**
292
- * Custom content for each menu item.
293
- * @param {Object} scope - item slot's params.
294
- */
295
- item(scope: {
296
- /**
297
- * Menuitem instance
298
- */
299
- item: MenuItem;
300
- /**
301
- * Label property of the menuitem
302
- */
303
- label: string | ((...args: any) => string) | undefined;
304
- /**
305
- * Binding properties of the menuitem
306
- */
307
- props: TieredMenuRouterBindProps;
308
- /**
309
- * Whether or not there is a submenu
310
- */
311
- hasSubmenu: boolean;
312
- }): VNode[];
313
- }
314
-
315
- /**
316
- * Defines valid emits in ButtonSplit component.
317
- */
318
- export interface ButtonSplitEmits {
319
- /**
320
- * Callback to invoke when main button is clicked.
321
- * @param {Event} event - Browser event.
322
- */
323
- click(event: Event): void;
324
- }
325
-
326
- /**
327
- * **PrimeVue - ButtonSplit**
328
- *
329
- * _ButtonSplit groups a set of commands in an overlay with a default command._
330
- *
331
- * [Live Demo](https://www.primevue.org/splitbutton/)
332
- * --- ---
333
- * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
334
- *
335
- * @group Component
336
- *
337
- */
338
- declare class ButtonSplit extends ClassComponent<
339
- ButtonSplitProps,
340
- ButtonSplitSlots,
341
- ButtonSplitEmits
342
- > {}
343
-
344
- declare module 'vue' {
345
- export interface GlobalComponents {
346
- ButtonSplit: GlobalComponentConstructor<ButtonSplit>;
347
- }
348
- }
349
-
350
- export default ButtonSplit;
@@ -1,86 +0,0 @@
1
- import { CalendarProps } from './Calendar.vue.d';
2
- declare function __VLS_template(): {
3
- incrementicon?(_: {}): any;
4
- incrementicon?(_: {}): any;
5
- decrementicon?(_: {}): any;
6
- decrementicon?(_: {}): any;
7
- };
8
- declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CalendarProps>, {
9
- selectionMode: string;
10
- view: string;
11
- mode: string;
12
- showYear: boolean;
13
- showOptionalText: any;
14
- valueFormat: string;
15
- hideOnRangeSelection: boolean;
16
- hourFormat: string;
17
- dateFormat: string;
18
- stepHour: number;
19
- stepMinute: number;
20
- timeSeparator: string;
21
- exactSelection: boolean;
22
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
- "update:modelValue": (date: Date | Date[]) => void;
24
- "update:epochTimeMillis": (millis?: number | number[]) => void;
25
- monthChange: (event: import('./Calendar.vue.d').CalendarMonthChangeEvent) => void;
26
- yearChange: (event: import('./Calendar.vue.d').CalendarYearChangeEvent) => void;
27
- dateSelect: (date: Date | Date[]) => void;
28
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CalendarProps>, {
29
- selectionMode: string;
30
- view: string;
31
- mode: string;
32
- showYear: boolean;
33
- showOptionalText: any;
34
- valueFormat: string;
35
- hideOnRangeSelection: boolean;
36
- hourFormat: string;
37
- dateFormat: string;
38
- stepHour: number;
39
- stepMinute: number;
40
- timeSeparator: string;
41
- exactSelection: boolean;
42
- }>>> & {
43
- "onUpdate:modelValue"?: (date: Date | Date[]) => any;
44
- "onUpdate:epochTimeMillis"?: (millis?: number | number[]) => any;
45
- onMonthChange?: (event: import('./Calendar.vue.d').CalendarMonthChangeEvent) => any;
46
- onYearChange?: (event: import('./Calendar.vue.d').CalendarYearChangeEvent) => any;
47
- onDateSelect?: (date: Date | Date[]) => any;
48
- }, {
49
- dateFormat: string | undefined;
50
- showOptionalText: boolean;
51
- mode: "range" | "single";
52
- view: "date" | "month" | "year" | undefined;
53
- selectionMode: "range" | "single";
54
- valueFormat: "date" | "millis";
55
- hideOnRangeSelection: boolean | undefined;
56
- showYear: boolean;
57
- hourFormat: "12" | "24" | undefined;
58
- timeSeparator: string | undefined;
59
- stepHour: number | undefined;
60
- stepMinute: number | undefined;
61
- exactSelection: boolean;
62
- }, {}>;
63
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
64
- export default _default;
65
- type __VLS_WithDefaults<P, D> = {
66
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
67
- default: D[K];
68
- }> : P[K];
69
- };
70
- type __VLS_Prettify<T> = {
71
- [K in keyof T]: T[K];
72
- } & {};
73
- type __VLS_WithTemplateSlots<T, S> = T & {
74
- new (): {
75
- $slots: S;
76
- };
77
- };
78
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
79
- type __VLS_TypePropsToOption<T> = {
80
- [K in keyof T]-?: {} extends Pick<T, K> ? {
81
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
82
- } : {
83
- type: import('vue').PropType<T[K]>;
84
- required: true;
85
- };
86
- };
@@ -1,14 +0,0 @@
1
- export interface CodeSnippetProps {
2
- code?: string;
3
- /**
4
- * @default 'json'
5
- */
6
- lang?: 'javascript' | 'typescript' | 'html' | 'json';
7
- /**
8
- * Make the code snippets readonly
9
- *
10
- * @default false editable
11
- */
12
- readonly?: boolean;
13
- placeholder?: string;
14
- }
@@ -1,27 +0,0 @@
1
- import { CustomColumnProps, DragableColumn } from './CustomColumn.vue.d';
2
- import { TableColumn } from '../datatable/DataTable.vue.d';
3
- declare let __VLS_typeProps: CustomColumnProps & {
4
- savedColumns: DragableColumn[];
5
- };
6
- type __VLS_PublicProps = {
7
- modelValue?: TableColumn[];
8
- } & typeof __VLS_typeProps;
9
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {
10
- setColumnVisibilityConfig: () => Promise<void>;
11
- resetToDefault: () => void;
12
- updateVisibleColumnsModel: () => void;
13
- }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- "update:modelValue": (modelValue: TableColumn[]) => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
16
- "onUpdate:modelValue"?: (modelValue: TableColumn[]) => any;
17
- }, {}, {}>;
18
- export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToOption<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: import('vue').PropType<T[K]>;
25
- required: true;
26
- };
27
- };
@@ -1,12 +0,0 @@
1
- import { TableColumn } from '../../datatable/DataTable.vue.d';
2
- import { DragableColumn } from '../CustomColumn.vue.d';
3
- /**
4
- * Updates the `visible` property of each table column based on the `maxColumn` limit
5
- * and how many columns are currently visible. Only columns with `checkedByDefault !== false`
6
- * will be considered for visibility.
7
- *
8
- * @param column - Array of table column definitions.
9
- * @param maxColumn - Maximum number of columns that should be visible at once.
10
- * @param currentVisibleColumnsLength - The current number of columns that are visible.
11
- */
12
- export declare const setVisibilityByMaxColumn: (column: TableColumn[], maxColumn: number, currentVisibleColumnsLength: number) => DragableColumn[];
@@ -1,16 +0,0 @@
1
- import { MultiRowAttribute } from './DataTable.vue.d';
2
- declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
3
- attributes: MultiRowAttribute[];
4
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
5
- attributes: MultiRowAttribute[];
6
- }>>>, {}, {}>;
7
- export default _default;
8
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
- type __VLS_TypePropsToOption<T> = {
10
- [K in keyof T]-?: {} extends Pick<T, K> ? {
11
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
12
- } : {
13
- type: import('vue').PropType<T[K]>;
14
- required: true;
15
- };
16
- };
@@ -1 +0,0 @@
1
- export default function (event: Event): void;
@@ -1,28 +0,0 @@
1
- export declare const FilterMatchMode: {
2
- CONTAINS: string;
3
- EQUALS: string;
4
- IN: string;
5
- LESS_THAN: string;
6
- LESS_THAN_OR_EQUAL_TO: string;
7
- GREATER_THAN: string;
8
- GREATER_THAN_OR_EQUAL_TO: string;
9
- DATE_BETWEEN: string;
10
- DATE_BEFORE: string;
11
- DATE_AFTER: string;
12
- };
13
- type FilterFunction = (value: any, filter: any, filterLocale?: string) => boolean;
14
- declare class FilterService {
15
- private readonly filters;
16
- constructor();
17
- filter(value: any[], fields: string[], filterValue: any, filterMatchMode: string, filterLocale?: string): any[];
18
- register(rule: string, fn: FilterFunction): void;
19
- private contains;
20
- private dateBetween;
21
- private in;
22
- private lt;
23
- private lte;
24
- private gt;
25
- private gte;
26
- }
27
- declare const _default: FilterService;
28
- export default _default;
@@ -1,3 +0,0 @@
1
- import { default as adjustMenuPositionHelper } from './adjustMenuPosition.helper';
2
- declare const isArrayIncluded: (smallArray: string[], largeArray: string[]) => boolean;
3
- export { isArrayIncluded, adjustMenuPositionHelper };
@@ -1,2 +0,0 @@
1
- import { TableColumn } from '../DataTable.vue.d';
2
- export default function readConfig(tableId: string, defaultColumns: TableColumn[]): Promise<TableColumn[]>;
@@ -1,22 +0,0 @@
1
- export interface DataTableStore {
2
- /**
3
- * Get the config object from the store.
4
- */
5
- config: DataTableConfig;
6
- /**
7
- * Update config for specific Table.
8
- *
9
- * @param id The table ID
10
- * @param columnsConfig The columns configuration
11
- */
12
- setConfig: (id: string, columnsConfig: DataTableColumnConfig[]) => Promise<void>;
13
- }
14
- export type DataTableConfig = Record<string, DataTableColumnConfig[]>;
15
- export interface DataTableColumnConfig {
16
- field: string;
17
- width: number | string;
18
- fixed: boolean;
19
- visible: boolean;
20
- }
21
- declare const useDataTableStore: () => Promise<DataTableStore>;
22
- export default useDataTableStore;