@fewangsit/wangsvue-fats 1.0.0-alpha.3 → 1.0.0-alpha.31

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 (160) hide show
  1. package/event-bus/index.d.ts +3 -1
  2. package/package.json +1 -1
  3. package/plugins/WangsVue.d.ts +120 -2
  4. package/plugins/i18n.d.ts +94 -0
  5. package/utils/filterOptions.util.d.ts +2 -2
  6. package/assets/json/currencies.json.d.ts +0 -1068
  7. package/assets/json/supported-official-langs.json.d.ts +0 -530
  8. package/assets/lottie/admin/loading-page.lottie +0 -0
  9. package/assets/lottie/admin/loading-table.lottie +0 -0
  10. package/assets/lottie/admin/no-data.lottie +0 -0
  11. package/assets/lottie/supplyasset/loading-page.lottie +0 -0
  12. package/assets/lottie/supplyasset/loading-table.lottie +0 -0
  13. package/assets/lottie/supplyasset/no-data.lottie +0 -0
  14. package/assets/lottie/workspace/loading-page.lottie +0 -0
  15. package/assets/lottie/workspace/loading-plane.lottie +0 -0
  16. package/assets/lottie/workspace/loading-table.lottie +0 -0
  17. package/assets/lottie/workspace/no-data.lottie +0 -0
  18. package/build-entry.d.ts +0 -14
  19. package/components/animation/Animation.vue.d.ts +0 -24
  20. package/components/approverinfo/ApproverInfo.vue.d.ts +0 -51
  21. package/components/badge/Badge.vue.d.ts +0 -73
  22. package/components/badgegroup/BadgeGroup.vue.d.ts +0 -52
  23. package/components/basecomponent/index.d.ts +0 -28
  24. package/components/basetree/BaseTree.vue.d.ts +0 -591
  25. package/components/basetree/TreeNode.vue.d.ts +0 -35
  26. package/components/breadcrumb/Breadcrumb.vue.d.ts +0 -26
  27. package/components/button/Button.vue.d.ts +0 -185
  28. package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +0 -35
  29. package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +0 -104
  30. package/components/buttoncopy/ButtonCopy.vue.d.ts +0 -26
  31. package/components/buttondownload/ButtonDownload.vue.d.ts +0 -49
  32. package/components/buttonfilter/ButtonFilter.vue.d.ts +0 -12
  33. package/components/buttonradio/ButtonRadio.vue.d.ts +0 -257
  34. package/components/buttonsearch/ButtonSearch.vue.d.ts +0 -38
  35. package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +0 -198
  36. package/components/buttonsplit/ButtonSplit.d.ts +0 -350
  37. package/components/buttonsplit/ButtonSplit.vue.d.ts +0 -34
  38. package/components/buttontoggle/ButtonToggle.vue.d.ts +0 -18
  39. package/components/calendar/BaseCalendar.vue.d.ts +0 -86
  40. package/components/calendar/Calendar.vue.d.ts +0 -570
  41. package/components/card/Card.vue.d.ts +0 -139
  42. package/components/checkbox/Checkbox.vue.d.ts +0 -329
  43. package/components/codesnippet/CodeSnippet.vue.d.ts +0 -14
  44. package/components/customcolumn/ColumnList.vue.d.ts +0 -27
  45. package/components/customcolumn/CustomColumn.vue.d.ts +0 -37
  46. package/components/customcolumn/helpers/setVisibilityColumn.helper.d.ts +0 -12
  47. package/components/datatable/DataTable.vue.d.ts +0 -735
  48. package/components/datatable/MultiRow.vue.d.ts +0 -16
  49. package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
  50. package/components/datatable/helpers/filter.helper.d.ts +0 -28
  51. package/components/datatable/helpers/index.d.ts +0 -3
  52. package/components/datatable/helpers/readConfig.helper.d.ts +0 -2
  53. package/components/datatable/store/dataTable.store.d.ts +0 -22
  54. package/components/dialog/Dialog.vue.d.ts +0 -464
  55. package/components/dialogconfirm/DialogConfirm.vue.d.ts +0 -164
  56. package/components/dialogform/DialogForm.vue.d.ts +0 -349
  57. package/components/dialogselecttree/DialogSelectTree.vue.d.ts +0 -136
  58. package/components/dropdown/Dropdown.vue.d.ts +0 -264
  59. package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -92
  60. package/components/editor/Editor.vue.d.ts +0 -191
  61. package/components/editor/EditorButton.vue.d.ts +0 -15
  62. package/components/editor/MentionList.vue.d.ts +0 -35
  63. package/components/editor/MentionSection.vue.d.ts +0 -92
  64. package/components/editor/codeSnippetExtension.d.ts +0 -3
  65. package/components/editor/mentionSectionExtension.d.ts +0 -3
  66. package/components/editor/suggestion.d.ts +0 -2
  67. package/components/fieldwrapper/FieldWrapper.vue.d.ts +0 -69
  68. package/components/fileupload/FileUpload.vue.d.ts +0 -169
  69. package/components/filtercontainer/FilterContainer.vue.d.ts +0 -181
  70. package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -5
  71. package/components/filtercontainer/helpers/formatDateTimeRange.helper.d.ts +0 -7
  72. package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -3
  73. package/components/form/Form.vue.d.ts +0 -316
  74. package/components/gallerypreview/GalleryPreview.vue.d.ts +0 -31
  75. package/components/helpers/convertToArrayClass.helper.d.ts +0 -2
  76. package/components/helpers/index.d.ts +0 -2
  77. package/components/helpers/label.d.ts +0 -15
  78. package/components/icon/Icon.vue.d.ts +0 -256
  79. package/components/image/Image.vue.d.ts +0 -403
  80. package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -36
  81. package/components/imagecompressor/ImageCompressor.vue.d.ts +0 -223
  82. package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -30
  83. package/components/index.d.ts +0 -63
  84. package/components/inlinemessage/InlineMessage.vue.d.ts +0 -167
  85. package/components/inputbadge/InputBadge.vue.d.ts +0 -122
  86. package/components/inputcurrency/InputCurrency.vue.d.ts +0 -170
  87. package/components/inputcurrency/helpers/currency.helper.d.ts +0 -4
  88. package/components/inputemail/InputEmail.vue.d.ts +0 -25
  89. package/components/inputgroup/InputGroup.vue.d.ts +0 -141
  90. package/components/inputnumber/InputNumber.vue.d.ts +0 -282
  91. package/components/inputpassword/InputPassword.vue.d.ts +0 -32
  92. package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +0 -99
  93. package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
  94. package/components/inputrangenumber/InputRangeNumber.vue.d.ts +0 -120
  95. package/components/inputtext/InputText.vue.d.ts +0 -352
  96. package/components/inputurl/InputURL.vue.d.ts +0 -39
  97. package/components/invisiblefield/InvisibleField.vue.d.ts +0 -36
  98. package/components/languagedropdown/LanguageDropdown.vue.d.ts +0 -50
  99. package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +0 -18
  100. package/components/languageswitcher/LanguageSwitcher.vue.d.ts +0 -15
  101. package/components/litedropdown/LiteDropdown.vue.d.ts +0 -96
  102. package/components/loading/Loading.vue.d.ts +0 -47
  103. package/components/loading/store/loading.store.d.ts +0 -8
  104. package/components/menu/Menu.vue.d.ts +0 -390
  105. package/components/menu/helpers/filterMenu.helper.d.ts +0 -12
  106. package/components/menu/helpers/index.d.ts +0 -1
  107. package/components/menuitem/MenuItem.vue.d.ts +0 -19
  108. package/components/menuitem/index.d.ts +0 -106
  109. package/components/multiselect/MultiSelect.vue.d.ts +0 -192
  110. package/components/overlaypanel/OverlayPanel.vue.d.ts +0 -301
  111. package/components/passthrough/index.d.ts +0 -16
  112. package/components/progressbar/ProgressBar.vue.d.ts +0 -72
  113. package/components/quickfilter/QuickFilter.vue.d.ts +0 -25
  114. package/components/tabmenu/TabMenu.vue.d.ts +0 -288
  115. package/components/textarea/Textarea.vue.d.ts +0 -170
  116. package/components/timeline/Timeline.vue.d.ts +0 -115
  117. package/components/timeline/TimelineContentByType.vue.d.ts +0 -16
  118. package/components/toast/Toast.vue.d.ts +0 -367
  119. package/components/toggleswitch/ToggleSwitch.vue.d.ts +0 -281
  120. package/components/tooltipspan/TooltipSpan.vue.d.ts +0 -20
  121. package/components/tree/Tree.vue.d.ts +0 -148
  122. package/components/tree/helpers/filterNodeKeys.helper.d.ts +0 -16
  123. package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +0 -6
  124. package/components/tree/helpers/index.d.ts +0 -3
  125. package/components/treesearchinput/TreeSearchInput.vue.d.ts +0 -16
  126. package/components/ts-helpers.d.ts +0 -83
  127. package/components/usergroup/UserGroup.vue.d.ts +0 -57
  128. package/components/username/UserName.vue.d.ts +0 -113
  129. package/components/validatormessage/ValidatorMessage.vue.d.ts +0 -12
  130. package/config/defaultProps.d.ts +0 -3
  131. package/config/index.d.ts +0 -3
  132. package/config/locale.d.ts +0 -3
  133. package/loading-page-BrQattYE.js +0 -1
  134. package/loading-page-CgfbWppy.js +0 -1
  135. package/loading-page-CoC9UhfC.js +0 -4
  136. package/loading-page-CoXtqoc9.js +0 -4
  137. package/loading-page-DbLuqCHa.js +0 -1
  138. package/loading-page-f8D03l3G.js +0 -4
  139. package/loading-plane-CgfbWppy.js +0 -1
  140. package/loading-plane-CoXtqoc9.js +0 -4
  141. package/loading-table-Bdr9ZhtP.js +0 -1
  142. package/loading-table-ByUoWqUo.js +0 -4
  143. package/loading-table-BygEMzFM.js +0 -4
  144. package/loading-table-BzrSQlA0.js +0 -1
  145. package/loading-table-D9bw9OcI.js +0 -4
  146. package/loading-table-chOgXi94.js +0 -1
  147. package/main.d.ts +0 -2
  148. package/no-data-CTKux8RI.js +0 -4
  149. package/no-data-Cgze_Rvp.js +0 -1
  150. package/no-data-DLHO1L_u.js +0 -4
  151. package/no-data-Dep79CBh.js +0 -1
  152. package/no-data-g0dJCy2p.js +0 -4
  153. package/no-data-y1X5WtcQ.js +0 -1
  154. package/plugins/translation.d.ts +0 -84
  155. package/style.css +0 -1
  156. package/types/options.type.d.ts +0 -16
  157. package/utils/index.d.ts +0 -20
  158. package/utils/role.util.d.ts +0 -2
  159. package/wangsvue-fats.es.js +0 -132744
  160. package/wangsvue-fats.system.js +0 -489
@@ -1,69 +0,0 @@
1
- import { DefineComponent } from 'vue';
2
-
3
- export interface FieldWrapperLocaleConfig {
4
- /**
5
- * The indicator for mandatory field.
6
- * @default '*''
7
- */
8
- labelRequired?: string;
9
-
10
- /**
11
- * The indicator for optional field.
12
- * @default '(optional)''
13
- */
14
- labelOptional?: string;
15
- }
16
-
17
- /**
18
- * Props for the FieldWrapper component.
19
- */
20
- export interface FieldWrapperProps {
21
- /**
22
- * The label text to display for the field.
23
- * @default undefined
24
- */
25
- label?: string;
26
-
27
- /**
28
- * Indicates whether the field is mandatory (required).
29
- * If `true`, this may trigger the display of a required indicator.
30
- * @default false
31
- */
32
- mandatory?: boolean;
33
-
34
- /**
35
- * When `true`, displays an "(optional)" text next to the label if the field is not mandatory.
36
- */
37
- showOptionalText?: boolean;
38
-
39
- /**
40
- * When `true`, displays an asterisk (`*`) next to the label if the field is mandatory.
41
- * @default false
42
- */
43
- showAsterisk?: boolean;
44
-
45
- /**
46
- * Additional information or description for the field.
47
- * Can be used to display tooltips or inline helper text.
48
- * @default undefined
49
- */
50
- info?: string;
51
-
52
- /**
53
- * Custom CSS class to apply to the label element.
54
- * Useful for styling the label specifically.
55
- * @default undefined
56
- */
57
- labelClass?: string;
58
-
59
- /**
60
- * Position of the tooltip, if one is displayed.
61
- * Accepted values are `'top'`, `'right'`, `'bottom'`, and `'left'`.
62
- * @default undefined
63
- */
64
- tooltipPos?: 'top' | 'right' | 'bottom' | 'left';
65
- }
66
-
67
- declare const FieldWrapper: DefineComponent<FieldWrapperProps>;
68
-
69
- export default FieldWrapper;
@@ -1,169 +0,0 @@
1
- import {
2
- FileUploadErrorEvent,
3
- FileUploadUploadEvent,
4
- } from 'primevue/fileupload';
5
- import { CustomValidation } from '../form/Form.vue.d';
6
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
7
-
8
- export type InputErrorCodes = 'FILE_SIZE_TOO_LARGE';
9
-
10
- /**
11
- * Defines valid properties in FileUpload component.
12
- */
13
- export type FileUploadProps = {
14
- /**
15
- * Pattern to restrict the allowed file types such as 'image/*'.
16
- */
17
- accept?: string | undefined;
18
- /**
19
- * Disables the upload functionality.
20
- * @defaultValue false
21
- */
22
- disabled?: boolean | undefined;
23
- /**
24
- * Maximum file size allowed in bytes.
25
- */
26
- maxFileSize?: number | undefined;
27
-
28
- /**
29
- * V-model for the file upload component.
30
- * Be careful while using this props since the validation can't work while using this.
31
- * You must do manual validation when choosing the file to be set on the component.
32
- */
33
- modelValue?: File | File[];
34
-
35
- /**
36
- * Props to determine whether file upload support multiple files or not
37
- *
38
- * @default false
39
- */
40
- multiple?: boolean;
41
- /**
42
- * Message of the invalid fize size.
43
- * - Use {0} to get the file's name
44
- * - Use {1} to get the max file size
45
- * - Use {2} to get the accepted file types from props.accept
46
- * - Use {2.1} to get the accepted file types from props.fileExtensions
47
- * @defaultValue {0}: Invalid file size, file size should be smaller than {1}.
48
- */
49
- invalidFileSizeMessage?: string | undefined;
50
- /**
51
- * Message of the invalid fize type.
52
- * - Use {0} to get the file's name
53
- * - Use {1} to get the max file size
54
- * - Use {2} to get the accepted file types
55
- * - Use {2.1} to get the accepted file types from props.fileExtensions
56
- * @defaultValue '{0}: Invalid file type, allowed file types: {2}'
57
- */
58
- invalidFileTypeMessage?: string | undefined;
59
- /**
60
- * Label of the file upload.
61
- * @defaultValue 'Upload File'
62
- */
63
- label?: string | undefined;
64
- /**
65
- * Whether to use an upload button.
66
- * @defaultValue true
67
- */
68
- withUpload?: boolean | undefined;
69
- /**
70
- * Label of the upload button.
71
- * @defaultValue 'Upload'.
72
- */
73
- uploadLabel?: string | undefined;
74
- /**
75
- * Placeholder of the file upload.
76
- * @defaultValue 'Select File'
77
- */
78
- placeholder?: string | undefined;
79
- /**
80
- * File extensions to display the accepted extensions.
81
- */
82
- fileExtensions?: string | undefined;
83
- /**
84
- * The note about the requirements of file for being uploaded.
85
- *
86
- * Placed at the bottom right of input.
87
- */
88
- fileRequirements?: string | undefined;
89
- /**
90
- * The function to be called after the upload button is clicked. (Must be used when withUpload is true)
91
- */
92
- uploadFunction?: (files: File[]) => Promise<void>;
93
- /**
94
- * Whether the input should be validated with vee-validator or not.
95
- * If you use this component within form input, you need to set this props as true.
96
- */
97
- useValidator?: boolean;
98
- /**
99
- * This prop is required if you use this component in a form input.
100
- * Specify the unique field name, match with your needs for API request.
101
- *
102
- * @default 'fileUpload'
103
- */
104
- fieldName?: string;
105
- /**
106
- * Whether this input field is required or not.
107
- */
108
- mandatory?: boolean;
109
- /**
110
- * Whether show toast error message on invalid file input
111
- *
112
- * @default true;
113
- */
114
- useErrorToast?: boolean;
115
- /**
116
- * Set custom validator message.
117
- * Will be show if invalid="true"
118
- */
119
- validatorMessage?: string | CustomValidation;
120
- /**
121
- * Classes for validator message in input field.
122
- */
123
- validatorMessageClass?: string;
124
- };
125
-
126
- export type FileUploadEmits = {
127
- /**
128
- * Callback to invoke when there is a file selected.
129
- */
130
- 'select': [event: File | File[]];
131
- /**
132
- * Callback to invoke when model changed.
133
- */
134
- 'update:modelValue': [event: File | File[]];
135
- /**
136
- * Callback to invoke when file upload is complete.
137
- */
138
- 'upload': [event: FileUploadUploadEvent];
139
- /**
140
- * Callback to invoke if file upload fails.
141
- */
142
- 'error': [event: FileUploadErrorEvent | InputErrorCodes];
143
- };
144
-
145
- /**
146
- * **WangsVue - FileUpload**
147
- *
148
- * _FileUpload is an advanced uploader with dragdrop support, multi file uploads, auto uploading, progress tracking and validations._
149
- *
150
- * [Live Demo](https://fewangsit.github.io/wangsvue/button)
151
- * --- ---
152
- * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
153
- *
154
- * @group Component
155
- *
156
- */
157
- declare class FileUpload extends ClassComponent<
158
- FileUploadProps,
159
- null,
160
- FileUploadEmits
161
- > {}
162
-
163
- declare module '@vue/runtime-core' {
164
- interface GlobalComponents {
165
- FileUpload: GlobalComponentConstructor<FileUpload>;
166
- }
167
- }
168
-
169
- export default FileUpload;
@@ -1,181 +0,0 @@
1
- import { MultiSelectOption } from 'lib/types/options.type';
2
- import { DefineComponent, Slot } from 'vue';
3
- import { CalendarProps } from '../calendar/Calendar.vue.d';
4
- import { QueryParams } from '../datatable/DataTable.vue.d';
5
- import { DropdownProps } from '../dropdown/Dropdown.vue.d';
6
- import { InputRangeNumberProps } from '../inputrangenumber/InputRangeNumber.vue.d';
7
- import { MultiSelectProps } from '../multiselect/MultiSelect.vue.d';
8
- import { ButtonSelectTreeProps } from '../buttonselecttree/ButtonSelectTree.vue.d';
9
-
10
- export type FilterMatchMode =
11
- | 'CONTAINS'
12
- | 'EQUALS'
13
- | 'NOT_EQUALS'
14
- | 'IN'
15
- | 'LESS_THAN'
16
- | 'LESS_THAN_OR_EQUAL_TO'
17
- | 'GREATER_THAN'
18
- | 'GREATER_THAN_OR_EQUAL_TO'
19
- | 'BETWEEN'
20
- | 'DATE_BETWEEN';
21
-
22
- // More specific filter field types
23
- export interface MultiSelectFilterField extends MultiSelectProps {
24
- type: 'multiselect';
25
- /**
26
- * The name of the field this filter applies to.
27
- *
28
- * When using a static filter, it also specifies the field in the data to be used for generating unique options.
29
- * For example, if filtering by a user's full name, the field could be 'user.fullName', which will extract
30
- * unique full names from the table data and use them as filter options.
31
- */
32
- field: string;
33
- optionField?: string; // @example - actionOptions
34
- params?: QueryParams; // Additional QueryParams for the fetchOptionFn
35
- fetchOptionFn?:
36
- | ((args?: any) => MultiSelectOption[] | undefined) // Sync function to fetch options
37
- | ((args?: any) => Promise<MultiSelectOption[] | undefined>); // Async function
38
- }
39
-
40
- export interface DropdownFilterField extends DropdownProps {
41
- type: 'dropdown';
42
- /**
43
- * The name of the field this filter applies to.
44
- *
45
- * When using a static filter, it also specifies the field in the data to be used for generating unique options.
46
- * For example, if filtering by a user's full name, the field could be 'user.fullName', which will extract
47
- * unique full names from the table data and use them as filter options.
48
- */
49
- field: string;
50
- optionField?: string; // @example - actionOptions
51
- params?: QueryParams; // Additional QueryParams for the fetchOptionFn
52
- fetchOptionFn?:
53
- | ((args?: any) => MultiSelectOption[] | undefined) // Sync function to fetch options
54
- | ((args?: any) => Promise<MultiSelectOption[]> | undefined); // Async function
55
- }
56
-
57
- export interface RangeNumberFilterField extends InputRangeNumberProps {
58
- type: 'rangenumber';
59
- /**
60
- * Specify min and max field
61
- *
62
- * @example ['minAge', 'maxAge']
63
- */
64
- fields?: string[];
65
-
66
- /**
67
- * Specify single field for both min and max input.
68
- * The value will be a number array.
69
- *
70
- * Prever use this property when you are working with Static Filtering
71
- *
72
- * @example value: [1000,5000] or equal to 'value.0': 1000 & 'value.1': 5000
73
- */
74
- field?: string;
75
- tooltip?: string;
76
- }
77
-
78
- export interface ButtonSelectTreeFilterField
79
- extends Omit<ButtonSelectTreeProps, 'type' | 'label' | 'fieldLabel'> {
80
- type: 'group' | 'category';
81
- field: string; // The name of the field this filter applies to
82
- /**
83
- * The field label.
84
- */
85
- label?: string;
86
- /**
87
- * The button label.
88
- * @default to Select Group|Category
89
- */
90
- buttonLabel?: string;
91
- }
92
-
93
- export interface CalendarFilterField extends CalendarProps {
94
- type: 'calendar';
95
- field: string;
96
- }
97
-
98
- export type AdditionalFilterField = ButtonSelectTreeFilterField;
99
-
100
- export type FilterField =
101
- | AdditionalFilterField
102
- | MultiSelectFilterField
103
- | DropdownFilterField
104
- | RangeNumberFilterField
105
- | CalendarFilterField;
106
-
107
- export type FilterOptions<Opt = Record<string, boolean>> = Record<
108
- keyof Opt,
109
- MultiSelectOption[]
110
- >;
111
-
112
- export type LoadingFilters = Record<string, boolean>;
113
-
114
- export type FetchOptionResponse<Opt = Record<string, boolean>> = {
115
- message: string;
116
- data: FilterOptions<Opt>;
117
- };
118
-
119
- export interface FilterContainerLocaleConfig {
120
- clearFieldText?: string;
121
- applyText?: string;
122
- }
123
-
124
- export interface FilterContainerProps {
125
- /**
126
- * Specify the table name integrated with this filter.
127
- *
128
- * @default datatable - the default table name
129
- */
130
- tableName?: string;
131
- /**
132
- * Set the fields count in a row
133
- *
134
- * @default 4 grid columns
135
- */
136
- fieldsPerRow?: number;
137
- fields: FilterField[];
138
- /**
139
- * Enable static filtering
140
- */
141
- static?: boolean;
142
- }
143
-
144
- /**
145
- * Slots for FilterContainer component
146
- */
147
- export type FilterContainerSlots = {
148
- /**
149
- * @deprecated Please use props.fields instead
150
- */
151
- default: Slot;
152
-
153
- /**
154
- * Additional template for field.
155
- */
156
- field: Slot<{ field: AdditionalFilterField; fieldName: string }>;
157
- };
158
-
159
- export type FilterContainerEmits = {
160
- apply: [filter: QueryParams];
161
- };
162
-
163
- /**
164
- * **WangsVue - FilterContainer**
165
- *
166
- * _FilterContainer is a component for generating a dynamic grid-based layout for any count of filter fields.
167
- * It calculates the number of children in the container and sets their grid area style dynamically.
168
- *
169
- * The grid layout is determined by the row and column position, which are incremented based on the child count.
170
- * If the child count is odd and the child is the last one (which is Buttons Action),
171
- * it is placed in the 4th column._
172
- *
173
- * @group components
174
- */
175
- declare const FilterContainer: DefineComponent<
176
- FilterContainerProps,
177
- FilterContainerEmits,
178
- FilterContainerSlots
179
- >;
180
-
181
- export default FilterContainer;
@@ -1,5 +0,0 @@
1
- import { GenericObject } from 'vee-validate';
2
- import { FilterField } from '../FilterContainer.vue.d';
3
- declare const applyFilter: (values: GenericObject, tableName: string, emit?: (...args: any[]) => any) => void;
4
- export declare const applyStaticFilter: (values: GenericObject, tableName: string, fields: FilterField[], emit?: (...args: any[]) => any) => void;
5
- export default applyFilter;
@@ -1,7 +0,0 @@
1
- /**
2
- * Format the time in range selection when not show time.
3
- * It will adjust the end range time to 23.59.59 and the start to 00.00.00
4
- *
5
- * @returns {number[]} - The formatted date time range in millis. [start, end]
6
- */
7
- export declare const formatDateTimeRange: (e: number[]) => number[];
@@ -1,3 +0,0 @@
1
- import { FilterOptions, LoadingFilters, MultiSelectFilterField } from '../FilterContainer.vue.d';
2
- declare const getOptions: (fn: MultiSelectFilterField["fetchOptionFn"], field: string, filterOption: FilterOptions, loading: LoadingFilters) => Promise<void>;
3
- export default getOptions;