@fewangsit/wangsvue-fats 1.0.0-alpha.34 → 1.0.0-alpha.35

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 (150) hide show
  1. package/components/animation/Animation.vue.d.ts +6 -6
  2. package/components/approverinfo/ApproverInfo.vue.d.ts +36 -36
  3. package/components/assetinfo/AssetInfo.vue.d.ts +21 -18
  4. package/components/badge/Badge.vue.d.ts +46 -46
  5. package/components/badgegroup/BadgeGroup.vue.d.ts +38 -38
  6. package/components/basecomponent/index.d.ts +15 -15
  7. package/components/basetree/BaseTree.vue.d.ts +458 -458
  8. package/components/basetree/TreeNode.vue.d.ts +25 -25
  9. package/components/breadcrumb/Breadcrumb.vue.d.ts +7 -7
  10. package/components/button/Button.vue.d.ts +142 -147
  11. package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +35 -0
  12. package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +73 -73
  13. package/components/buttoncopy/ButtonCopy.vue.d.ts +7 -7
  14. package/components/buttondownload/ButtonDownload.vue.d.ts +26 -26
  15. package/components/buttonfilter/ButtonFilter.vue.d.ts +4 -4
  16. package/components/buttonradio/ButtonRadio.vue.d.ts +189 -189
  17. package/components/buttonscan/ButtonScan.vue.d.ts +154 -154
  18. package/components/buttonsearch/ButtonSearch.vue.d.ts +13 -13
  19. package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +164 -164
  20. package/components/buttonsplit/ButtonSplit.vue.d.ts +350 -0
  21. package/components/buttonsync/ButtonSync.vue.d.ts +10 -10
  22. package/components/buttontoggle/ButtonToggle.vue.d.ts +4 -4
  23. package/components/buttonviewlog/ButtonViewLog.vue.d.ts +6 -6
  24. package/components/calendar/Calendar.vue.d.ts +469 -469
  25. package/components/card/Card.vue.d.ts +82 -82
  26. package/components/checkbox/Checkbox.vue.d.ts +245 -245
  27. package/components/customcolumn/CustomColumn.vue.d.ts +21 -21
  28. package/components/datatable/DataTable.vue.d.ts +595 -595
  29. package/components/dialog/Dialog.vue.d.ts +367 -367
  30. package/components/dialogconfirm/DialogConfirm.vue.d.ts +117 -117
  31. package/components/dialogform/DialogForm.vue.d.ts +288 -288
  32. package/components/dialogselecttree/DialogSelectTree.vue.d.ts +98 -98
  33. package/components/dropdown/Dropdown.vue.d.ts +226 -226
  34. package/components/editor/Editor.vue.d.ts +156 -156
  35. package/components/fieldwrapper/FieldWrapper.vue.d.ts +48 -48
  36. package/components/fileupload/FileUpload.vue.d.ts +132 -132
  37. package/components/filtercontainer/FilterContainer.vue.d.ts +116 -113
  38. package/components/form/Form.vue.d.ts +258 -258
  39. package/components/icon/Icon.vue.d.ts +235 -237
  40. package/components/image/Image.vue.d.ts +306 -306
  41. package/components/imagecompressor/ImageCompressor.vue.d.ts +186 -186
  42. package/components/index.d.ts +57 -58
  43. package/components/inputbadge/InputBadge.vue.d.ts +90 -90
  44. package/components/inputcurrency/InputCurrency.vue.d.ts +126 -126
  45. package/components/inputcurrency/helpers/currency.helper.d.ts +3 -3
  46. package/components/inputnumber/InputNumber.vue.d.ts +245 -245
  47. package/components/inputpassword/InputPassword.vue.d.ts +19 -19
  48. package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +68 -68
  49. package/components/inputrangenumber/InputRangeNumber.vue.d.ts +88 -88
  50. package/components/inputsearch/InputSearch.vue.d.ts +14 -11
  51. package/components/inputtext/InputText.vue.d.ts +281 -281
  52. package/components/inputurl/InputURL.vue.d.ts +9 -6
  53. package/components/invisiblefield/InvisibleField.vue.d.ts +18 -18
  54. package/components/languagedropdown/LanguageDropdown.vue.d.ts +32 -0
  55. package/components/litedropdown/LiteDropdown.vue.d.ts +64 -64
  56. package/components/loading/Loading.vue.d.ts +5 -5
  57. package/components/loading/store/loading.store.d.ts +3 -3
  58. package/components/menu/Menu.vue.d.ts +282 -282
  59. package/components/menuitem/index.d.ts +84 -84
  60. package/components/multiselect/MultiSelect.vue.d.ts +161 -161
  61. package/components/overlaypanel/OverlayPanel.vue.d.ts +207 -207
  62. package/components/passthrough/index.d.ts +8 -8
  63. package/components/tabmenu/TabMenu.vue.d.ts +185 -185
  64. package/components/textarea/Textarea.vue.d.ts +131 -131
  65. package/components/timeline/Timeline.vue.d.ts +60 -60
  66. package/components/toast/Toast.vue.d.ts +265 -265
  67. package/components/toggleswitch/ToggleSwitch.vue.d.ts +211 -211
  68. package/components/tree/Tree.vue.d.ts +116 -116
  69. package/components/tree/helpers/filterNodeKeys.helper.d.ts +4 -4
  70. package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +1 -1
  71. package/components/treesearchinput/TreeSearchInput.vue.d.ts +16 -0
  72. package/components/ts-helpers.d.ts +41 -43
  73. package/components/username/UserName.vue.d.ts +71 -71
  74. package/components/userwithicon/UserWithIcon.vue.d.ts +8 -8
  75. package/directives/focus.d.ts +1 -1
  76. package/event-bus/index.d.ts +51 -51
  77. package/event-bus/mitt.d.ts +21 -24
  78. package/package.json +8 -4
  79. package/plugins/WangsVue.d.ts +226 -226
  80. package/plugins/formValidation.d.ts +11 -11
  81. package/plugins/i18n-extension.d.ts +1 -1
  82. package/plugins/i18n.d.ts +80 -80
  83. package/utils/date.util.d.ts +53 -53
  84. package/utils/index.d.ts +2 -28
  85. package/utils/listenSidebarChanges.util.d.ts +9 -9
  86. package/utils/object.util.d.ts +8 -8
  87. package/utils/role.util.d.ts +43 -44
  88. package/utils/toast.util.d.ts +78 -78
  89. package/components/buttonscan/helpers/getErrorCode.helper.d.ts +0 -3
  90. package/components/buttonscan/helpers/index.d.ts +0 -1
  91. package/components/buttonscan/workers/scanner.worker.d.ts +0 -1
  92. package/components/calendar/BaseCalendar.vue.d.ts +0 -127
  93. package/components/customcolumn/ColumnList.vue.d.ts +0 -47
  94. package/components/customcolumn/helpers/setVisibilityColumn.helper.d.ts +0 -16
  95. package/components/datatable/MultiRow.vue.d.ts +0 -36
  96. package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
  97. package/components/datatable/helpers/filter.helper.d.ts +0 -38
  98. package/components/datatable/helpers/index.d.ts +0 -6
  99. package/components/datatable/helpers/readConfig.helper.d.ts +0 -5
  100. package/components/datatable/store/dataTable.store.d.ts +0 -25
  101. package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -152
  102. package/components/editor/EditorButton.vue.d.ts +0 -35
  103. package/components/editor/MentionList.vue.d.ts +0 -49
  104. package/components/editor/MentionSection.vue.d.ts +0 -152
  105. package/components/editor/codeSnippetExtension.d.ts +0 -3
  106. package/components/editor/mentionSectionExtension.d.ts +0 -3
  107. package/components/editor/suggestion.d.ts +0 -2
  108. package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -14
  109. package/components/filtercontainer/helpers/formatDateTimeRange.helper.d.ts +0 -7
  110. package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -12
  111. package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -59
  112. package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -55
  113. package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
  114. package/components/menu/helpers/filterMenu.helper.d.ts +0 -15
  115. package/components/menu/helpers/index.d.ts +0 -1
  116. package/components/menuitem/MenuItem.vue +0 -70
  117. package/components/menuitem/MenuItem.vue.d.ts +0 -39
  118. package/components/timeline/TimelineContentByType.vue.d.ts +0 -64
  119. package/components/transactionroles/TransactionRoles.vue.d.ts +0 -58
  120. package/components/tree/helpers/index.d.ts +0 -3
  121. package/loading-page-BrQattYE.js +0 -1
  122. package/loading-page-CgfbWppy.js +0 -1
  123. package/loading-page-CoC9UhfC.js +0 -4
  124. package/loading-page-CoXtqoc9.js +0 -4
  125. package/loading-page-DbLuqCHa.js +0 -1
  126. package/loading-page-f8D03l3G.js +0 -4
  127. package/loading-plane-CgfbWppy.js +0 -1
  128. package/loading-plane-CoXtqoc9.js +0 -4
  129. package/loading-table-Bdr9ZhtP.js +0 -1
  130. package/loading-table-ByUoWqUo.js +0 -4
  131. package/loading-table-BygEMzFM.js +0 -4
  132. package/loading-table-BzrSQlA0.js +0 -1
  133. package/loading-table-D9bw9OcI.js +0 -4
  134. package/loading-table-chOgXi94.js +0 -1
  135. package/no-data-CTKux8RI.js +0 -4
  136. package/no-data-Cgze_Rvp.js +0 -1
  137. package/no-data-DLHO1L_u.js +0 -4
  138. package/no-data-Dep79CBh.js +0 -1
  139. package/no-data-g0dJCy2p.js +0 -4
  140. package/no-data-y1X5WtcQ.js +0 -1
  141. package/style.css +0 -1
  142. package/utils/addAttachment.util.d.ts +0 -59
  143. package/utils/exportToExcel.util.d.ts +0 -20
  144. package/utils/filterOptions.util.d.ts +0 -5
  145. package/utils/genPlaceholder.util.d.ts +0 -13
  146. package/utils/getAttachmentIcon.util.d.ts +0 -8
  147. package/utils/mergePropsWithDefaults.util.d.ts +0 -23
  148. package/utils/textFormatter.util.d.ts +0 -29
  149. package/wangsvue-fats.es.js +0 -123948
  150. package/wangsvue-fats.system.js +0 -478
@@ -1,91 +1,91 @@
1
1
  import { WangsIcons } from '../components/icon/Icon.vue.d';
2
2
  export type ToastSeverity = 'success' | 'error' | 'info';
3
3
  export interface ToastParams {
4
- /**
5
- * The main message to display in the toast. Will be formatted based on template message.
6
- */
7
- message: string;
8
- /**
9
- * Indicates whether the message is customized and does not follow the default message template.
10
- * If true, custom formatting will be applied.
11
- */
12
- customMessage?: boolean;
13
- /**
14
- * The severity level of the toast message.
15
- * Can be 'success', 'error', or 'info'.
16
- */
17
- severity?: ToastSeverity;
18
- /**
19
- * The icon to display in the toast.
20
- */
21
- icon?: WangsIcons;
22
- /**
23
- * The custom CSS class to apply to the icon.
24
- */
25
- iconClass?: any;
26
- /**
27
- * The error object from a catch statement, used to provide additional details for error toasts.
28
- * Accepts any type of error object.
29
- */
30
- error?: unknown;
31
- /**
32
- * The duration for which the toast will be displayed, in milliseconds.
33
- * Set to 0 to show the message infinitely.
34
- *
35
- * @default 3000 - 3 seconds
36
- */
37
- life?: number;
38
- /**
39
- * The name of the message group to which this toast belongs.
40
- */
41
- group?: string;
42
- /**
43
- * Unique identifier of the toast message.
44
- */
45
- messageId?: string;
4
+ /**
5
+ * The main message to display in the toast. Will be formatted based on template message.
6
+ */
7
+ message: string;
8
+ /**
9
+ * Indicates whether the message is customized and does not follow the default message template.
10
+ * If true, custom formatting will be applied.
11
+ */
12
+ customMessage?: boolean;
13
+ /**
14
+ * The severity level of the toast message.
15
+ * Can be 'success', 'error', or 'info'.
16
+ */
17
+ severity?: ToastSeverity;
18
+ /**
19
+ * The icon to display in the toast.
20
+ */
21
+ icon?: WangsIcons;
22
+ /**
23
+ * The custom CSS class to apply to the icon.
24
+ */
25
+ iconClass?: any;
26
+ /**
27
+ * The error object from a catch statement, used to provide additional details for error toasts.
28
+ * Accepts any type of error object.
29
+ */
30
+ error?: unknown;
31
+ /**
32
+ * The duration for which the toast will be displayed, in milliseconds.
33
+ * Set to 0 to show the message infinitely.
34
+ *
35
+ * @default 3000 - 3 seconds
36
+ */
37
+ life?: number;
38
+ /**
39
+ * The name of the message group to which this toast belongs.
40
+ */
41
+ group?: string;
42
+ /**
43
+ * Unique identifier of the toast message.
44
+ */
45
+ messageId?: string;
46
46
  }
47
47
  export interface ToastMethod {
48
- add(params: ToastParams): void;
49
- /**
50
- * Clears the messages that belongs to the group.
51
- * @param {string} group - Name of the message group.
52
- */
53
- removeGroup(group: string): void;
54
- removeAllGroups(): void;
48
+ add(params: ToastParams): void;
49
+ /**
50
+ * Clears the messages that belongs to the group.
51
+ * @param {string} group - Name of the message group.
52
+ */
53
+ removeGroup(group: string): void;
54
+ removeAllGroups(): void;
55
55
  }
56
56
  /**
57
57
  * Configuration options for the `useToast` hook.
58
58
  */
59
59
  export interface UseToastConfig {
60
- /**
61
- * Default message templates for each severity level.
62
- * Keys represent the severity, and values are the template strings.
63
- *
64
- * @example
65
- * {
66
- * severity: {
67
- * success: 'Success, {message}',
68
- * error: 'Error, {message} {additionalMessage}',
69
- * info: 'Info, {message} {additionalMessage}',
70
- * },
71
- * additionalMessage: ' Silahkan cek kembali koneksi Anda.'
72
- * }
73
- */
74
- template?: {
75
- severity?: Record<string, string>;
76
- additionalMessage?: string;
77
- };
78
- /**
79
- * Icons for each severity level.
80
- * Keys represent the severity, and values are the corresponding icon identifiers.
81
- *
82
- * @example
83
- * {
84
- * success: 'emotion-happy-fill',
85
- * error: 'emotion-unhappy-fill',
86
- * }
87
- */
88
- icons?: Record<string, WangsIcons>;
60
+ /**
61
+ * Default message templates for each severity level.
62
+ * Keys represent the severity, and values are the template strings.
63
+ *
64
+ * @example
65
+ * {
66
+ * severity: {
67
+ * success: 'Success, {message}',
68
+ * error: 'Error, {message} {additionalMessage}',
69
+ * info: 'Info, {message} {additionalMessage}',
70
+ * },
71
+ * additionalMessage: ' Silahkan cek kembali koneksi Anda.'
72
+ * }
73
+ */
74
+ template?: {
75
+ severity?: Record<string, string>;
76
+ additionalMessage?: string;
77
+ };
78
+ /**
79
+ * Icons for each severity level.
80
+ * Keys represent the severity, and values are the corresponding icon identifiers.
81
+ *
82
+ * @example
83
+ * {
84
+ * success: 'emotion-happy-fill',
85
+ * error: 'emotion-unhappy-fill',
86
+ * }
87
+ */
88
+ icons?: Record<string, WangsIcons>;
89
89
  }
90
90
  /**
91
91
  * Hook to create and manage toast notifications.
@@ -1,3 +0,0 @@
1
- import { ScannerErrorCode } from '../ButtonScan.vue.d';
2
- declare const getErrorCode: (error: unknown) => ScannerErrorCode | undefined;
3
- export default getErrorCode;
@@ -1 +0,0 @@
1
- export { default as getErrorCode } from './getErrorCode.helper';
@@ -1 +0,0 @@
1
- export {};
@@ -1,127 +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<
9
- __VLS_WithDefaults<
10
- __VLS_TypePropsToOption<CalendarProps>,
11
- {
12
- selectionMode: string;
13
- view: string;
14
- mode: string;
15
- showYear: boolean;
16
- showOptionalText: any;
17
- valueFormat: string;
18
- hideOnRangeSelection: boolean;
19
- hourFormat: string;
20
- dateFormat: string;
21
- stepHour: number;
22
- stepMinute: number;
23
- timeSeparator: string;
24
- exactSelection: boolean;
25
- }
26
- >,
27
- {},
28
- unknown,
29
- {},
30
- {},
31
- import('vue').ComponentOptionsMixin,
32
- import('vue').ComponentOptionsMixin,
33
- {
34
- 'update:modelValue': (date: Date | Date[]) => void;
35
- 'update:epochTimeMillis': (millis?: number | number[]) => void;
36
- 'monthChange': (
37
- event: import('./Calendar.vue.d').CalendarMonthChangeEvent,
38
- ) => void;
39
- 'yearChange': (
40
- event: import('./Calendar.vue.d').CalendarYearChangeEvent,
41
- ) => void;
42
- 'dateSelect': (date: Date | Date[]) => void;
43
- },
44
- string,
45
- import('vue').PublicProps,
46
- Readonly<
47
- import('vue').ExtractPropTypes<
48
- __VLS_WithDefaults<
49
- __VLS_TypePropsToOption<CalendarProps>,
50
- {
51
- selectionMode: string;
52
- view: string;
53
- mode: string;
54
- showYear: boolean;
55
- showOptionalText: any;
56
- valueFormat: string;
57
- hideOnRangeSelection: boolean;
58
- hourFormat: string;
59
- dateFormat: string;
60
- stepHour: number;
61
- stepMinute: number;
62
- timeSeparator: string;
63
- exactSelection: boolean;
64
- }
65
- >
66
- >
67
- > & {
68
- 'onUpdate:modelValue'?: (date: Date | Date[]) => any;
69
- 'onUpdate:epochTimeMillis'?: (millis?: number | number[]) => any;
70
- 'onMonthChange'?: (
71
- event: import('./Calendar.vue.d').CalendarMonthChangeEvent,
72
- ) => any;
73
- 'onYearChange'?: (
74
- event: import('./Calendar.vue.d').CalendarYearChangeEvent,
75
- ) => any;
76
- 'onDateSelect'?: (date: Date | Date[]) => any;
77
- },
78
- {
79
- dateFormat: string | undefined;
80
- showOptionalText: boolean;
81
- mode: 'range' | 'single';
82
- view: 'date' | 'month' | 'year' | undefined;
83
- selectionMode: 'range' | 'single';
84
- valueFormat: 'date' | 'millis';
85
- hideOnRangeSelection: boolean | undefined;
86
- showYear: boolean;
87
- hourFormat: '12' | '24' | undefined;
88
- timeSeparator: string | undefined;
89
- stepHour: number | undefined;
90
- stepMinute: number | undefined;
91
- exactSelection: boolean;
92
- },
93
- {}
94
- >;
95
- declare const _default: __VLS_WithTemplateSlots<
96
- typeof __VLS_component,
97
- ReturnType<typeof __VLS_template>
98
- >;
99
- export default _default;
100
- type __VLS_WithDefaults<P, D> = {
101
- [K in keyof Pick<P, keyof P>]: K extends keyof D
102
- ? __VLS_Prettify<
103
- P[K] & {
104
- default: D[K];
105
- }
106
- >
107
- : P[K];
108
- };
109
- type __VLS_Prettify<T> = {
110
- [K in keyof T]: T[K];
111
- } & {};
112
- type __VLS_WithTemplateSlots<T, S> = T & {
113
- new (): {
114
- $slots: S;
115
- };
116
- };
117
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
118
- type __VLS_TypePropsToOption<T> = {
119
- [K in keyof T]-?: {} extends Pick<T, K>
120
- ? {
121
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
122
- }
123
- : {
124
- type: import('vue').PropType<T[K]>;
125
- required: true;
126
- };
127
- };
@@ -1,47 +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<
10
- __VLS_TypePropsToOption<__VLS_PublicProps>,
11
- {
12
- setColumnVisibilityConfig: () => Promise<void>;
13
- resetToDefault: () => void;
14
- updateVisibleColumnsModel: () => void;
15
- },
16
- unknown,
17
- {},
18
- {},
19
- import('vue').ComponentOptionsMixin,
20
- import('vue').ComponentOptionsMixin,
21
- {
22
- 'update:modelValue': (modelValue: TableColumn[]) => void;
23
- },
24
- string,
25
- import('vue').PublicProps,
26
- Readonly<
27
- import('vue').ExtractPropTypes<
28
- __VLS_TypePropsToOption<__VLS_PublicProps>
29
- >
30
- > & {
31
- 'onUpdate:modelValue'?: (modelValue: TableColumn[]) => any;
32
- },
33
- {},
34
- {}
35
- >;
36
- export default _default;
37
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
- type __VLS_TypePropsToOption<T> = {
39
- [K in keyof T]-?: {} extends Pick<T, K>
40
- ? {
41
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
42
- }
43
- : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
@@ -1,16 +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: (
13
- column: TableColumn[],
14
- maxColumn: number,
15
- currentVisibleColumnsLength: number,
16
- ) => DragableColumn[];
@@ -1,36 +0,0 @@
1
- import { MultiRowAttribute } from './DataTable.vue.d';
2
- declare const _default: import('vue').DefineComponent<
3
- __VLS_TypePropsToOption<{
4
- attributes: MultiRowAttribute[];
5
- }>,
6
- {},
7
- unknown,
8
- {},
9
- {},
10
- import('vue').ComponentOptionsMixin,
11
- import('vue').ComponentOptionsMixin,
12
- {},
13
- string,
14
- import('vue').PublicProps,
15
- Readonly<
16
- import('vue').ExtractPropTypes<
17
- __VLS_TypePropsToOption<{
18
- attributes: MultiRowAttribute[];
19
- }>
20
- >
21
- >,
22
- {},
23
- {}
24
- >;
25
- export default _default;
26
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
- type __VLS_TypePropsToOption<T> = {
28
- [K in keyof T]-?: {} extends Pick<T, K>
29
- ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- }
32
- : {
33
- type: import('vue').PropType<T[K]>;
34
- required: true;
35
- };
36
- };
@@ -1 +0,0 @@
1
- export default function (event: Event): void;
@@ -1,38 +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 = (
14
- value: any,
15
- filter: any,
16
- filterLocale?: string,
17
- ) => boolean;
18
- declare class FilterService {
19
- private readonly filters;
20
- constructor();
21
- filter(
22
- value: any[],
23
- fields: string[],
24
- filterValue: any,
25
- filterMatchMode: string,
26
- filterLocale?: string,
27
- ): any[];
28
- register(rule: string, fn: FilterFunction): void;
29
- private contains;
30
- private dateBetween;
31
- private in;
32
- private lt;
33
- private lte;
34
- private gt;
35
- private gte;
36
- }
37
- declare const _default: FilterService;
38
- export default _default;
@@ -1,6 +0,0 @@
1
- import { default as adjustMenuPositionHelper } from './adjustMenuPosition.helper';
2
- declare const isArrayIncluded: (
3
- smallArray: string[],
4
- largeArray: string[],
5
- ) => boolean;
6
- export { isArrayIncluded, adjustMenuPositionHelper };
@@ -1,5 +0,0 @@
1
- import { TableColumn } from '../DataTable.vue.d';
2
- export default function readConfig(
3
- tableId: string,
4
- defaultColumns: TableColumn[],
5
- ): Promise<TableColumn[]>;
@@ -1,25 +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: (
13
- id: string,
14
- columnsConfig: DataTableColumnConfig[],
15
- ) => Promise<void>;
16
- }
17
- export type DataTableConfig = Record<string, DataTableColumnConfig[]>;
18
- export interface DataTableColumnConfig {
19
- field: string;
20
- width: number | string;
21
- fixed: boolean;
22
- visible: boolean;
23
- }
24
- declare const useDataTableStore: () => Promise<DataTableStore>;
25
- export default useDataTableStore;
@@ -1,152 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<
2
- {
3
- editor: {
4
- type: import('vue').PropType<
5
- import('@tiptap/vue-3').NodeViewProps['editor']
6
- >;
7
- required: true;
8
- };
9
- node: {
10
- type: import('vue').PropType<
11
- import('@tiptap/vue-3').NodeViewProps['node']
12
- >;
13
- required: true;
14
- };
15
- decorations: {
16
- type: import('vue').PropType<
17
- import('@tiptap/vue-3').NodeViewProps['decorations']
18
- >;
19
- required: true;
20
- };
21
- selected: {
22
- type: import('vue').PropType<
23
- import('@tiptap/vue-3').NodeViewProps['selected']
24
- >;
25
- required: true;
26
- };
27
- extension: {
28
- type: import('vue').PropType<
29
- import('@tiptap/vue-3').NodeViewProps['extension']
30
- >;
31
- required: true;
32
- };
33
- getPos: {
34
- type: import('vue').PropType<
35
- import('@tiptap/vue-3').NodeViewProps['getPos']
36
- >;
37
- required: true;
38
- };
39
- updateAttributes: {
40
- type: import('vue').PropType<
41
- import('@tiptap/vue-3').NodeViewProps['updateAttributes']
42
- >;
43
- required: true;
44
- };
45
- deleteNode: {
46
- type: import('vue').PropType<
47
- import('@tiptap/vue-3').NodeViewProps['deleteNode']
48
- >;
49
- required: true;
50
- };
51
- view: {
52
- type: import('vue').PropType<
53
- import('@tiptap/vue-3').NodeViewProps['view']
54
- >;
55
- required: true;
56
- };
57
- innerDecorations: {
58
- type: import('vue').PropType<
59
- import('@tiptap/vue-3').NodeViewProps['innerDecorations']
60
- >;
61
- required: true;
62
- };
63
- HTMLAttributes: {
64
- type: import('vue').PropType<
65
- import('@tiptap/vue-3').NodeViewProps['HTMLAttributes']
66
- >;
67
- required: true;
68
- };
69
- },
70
- {},
71
- unknown,
72
- {},
73
- {},
74
- import('vue').ComponentOptionsMixin,
75
- import('vue').ComponentOptionsMixin,
76
- {},
77
- string,
78
- import('vue').PublicProps,
79
- Readonly<
80
- import('vue').ExtractPropTypes<{
81
- editor: {
82
- type: import('vue').PropType<
83
- import('@tiptap/vue-3').NodeViewProps['editor']
84
- >;
85
- required: true;
86
- };
87
- node: {
88
- type: import('vue').PropType<
89
- import('@tiptap/vue-3').NodeViewProps['node']
90
- >;
91
- required: true;
92
- };
93
- decorations: {
94
- type: import('vue').PropType<
95
- import('@tiptap/vue-3').NodeViewProps['decorations']
96
- >;
97
- required: true;
98
- };
99
- selected: {
100
- type: import('vue').PropType<
101
- import('@tiptap/vue-3').NodeViewProps['selected']
102
- >;
103
- required: true;
104
- };
105
- extension: {
106
- type: import('vue').PropType<
107
- import('@tiptap/vue-3').NodeViewProps['extension']
108
- >;
109
- required: true;
110
- };
111
- getPos: {
112
- type: import('vue').PropType<
113
- import('@tiptap/vue-3').NodeViewProps['getPos']
114
- >;
115
- required: true;
116
- };
117
- updateAttributes: {
118
- type: import('vue').PropType<
119
- import('@tiptap/vue-3').NodeViewProps['updateAttributes']
120
- >;
121
- required: true;
122
- };
123
- deleteNode: {
124
- type: import('vue').PropType<
125
- import('@tiptap/vue-3').NodeViewProps['deleteNode']
126
- >;
127
- required: true;
128
- };
129
- view: {
130
- type: import('vue').PropType<
131
- import('@tiptap/vue-3').NodeViewProps['view']
132
- >;
133
- required: true;
134
- };
135
- innerDecorations: {
136
- type: import('vue').PropType<
137
- import('@tiptap/vue-3').NodeViewProps['innerDecorations']
138
- >;
139
- required: true;
140
- };
141
- HTMLAttributes: {
142
- type: import('vue').PropType<
143
- import('@tiptap/vue-3').NodeViewProps['HTMLAttributes']
144
- >;
145
- required: true;
146
- };
147
- }>
148
- >,
149
- {},
150
- {}
151
- >;
152
- export default _default;
@@ -1,35 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<
2
- __VLS_TypePropsToOption<{
3
- classButton?: string[];
4
- }>,
5
- {},
6
- unknown,
7
- {},
8
- {},
9
- import('vue').ComponentOptionsMixin,
10
- import('vue').ComponentOptionsMixin,
11
- {},
12
- string,
13
- import('vue').PublicProps,
14
- Readonly<
15
- import('vue').ExtractPropTypes<
16
- __VLS_TypePropsToOption<{
17
- classButton?: string[];
18
- }>
19
- >
20
- >,
21
- {},
22
- {}
23
- >;
24
- export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToOption<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K>
28
- ? {
29
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
30
- }
31
- : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
34
- };
35
- };