@fewangsit/wangsvue-fats 1.0.0-alpha.30 → 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 (146) hide show
  1. package/event-bus/mitt.d.ts +7 -25
  2. package/package.json +1 -1
  3. package/plugins/WangsVue.d.ts +14 -64
  4. package/plugins/formValidation.d.ts +2 -11
  5. package/plugins/i18n.d.ts +4 -8
  6. package/utils/addAttachment.util.d.ts +2 -18
  7. package/utils/date.util.d.ts +4 -33
  8. package/utils/filterOptions.util.d.ts +1 -3
  9. package/utils/genPlaceholder.util.d.ts +6 -11
  10. package/utils/mergePropsWithDefaults.util.d.ts +1 -4
  11. package/utils/object.util.d.ts +3 -14
  12. package/utils/textFormatter.util.d.ts +3 -15
  13. package/components/animation/Animation.vue.d.ts +0 -24
  14. package/components/approverinfo/ApproverInfo.vue.d.ts +0 -51
  15. package/components/assetinfo/AssetInfo.vue.d.ts +0 -31
  16. package/components/badge/Badge.vue.d.ts +0 -73
  17. package/components/badgegroup/BadgeGroup.vue.d.ts +0 -52
  18. package/components/basecomponent/index.d.ts +0 -28
  19. package/components/basetree/BaseTree.vue.d.ts +0 -591
  20. package/components/basetree/TreeNode.vue.d.ts +0 -35
  21. package/components/breadcrumb/Breadcrumb.vue.d.ts +0 -26
  22. package/components/button/Button.vue.d.ts +0 -193
  23. package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +0 -104
  24. package/components/buttoncopy/ButtonCopy.vue.d.ts +0 -26
  25. package/components/buttondownload/ButtonDownload.vue.d.ts +0 -49
  26. package/components/buttonfilter/ButtonFilter.vue.d.ts +0 -12
  27. package/components/buttonradio/ButtonRadio.vue.d.ts +0 -257
  28. package/components/buttonscan/ButtonScan.vue.d.ts +0 -201
  29. package/components/buttonscan/helpers/getErrorCode.helper.d.ts +0 -3
  30. package/components/buttonscan/helpers/index.d.ts +0 -1
  31. package/components/buttonscan/workers/scanner.worker.d.ts +0 -1
  32. package/components/buttonsearch/ButtonSearch.vue.d.ts +0 -38
  33. package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +0 -200
  34. package/components/buttonsync/ButtonSync.vue.d.ts +0 -22
  35. package/components/buttontoggle/ButtonToggle.vue.d.ts +0 -18
  36. package/components/buttonviewlog/ButtonViewLog.vue.d.ts +0 -17
  37. package/components/calendar/BaseCalendar.vue.d.ts +0 -127
  38. package/components/calendar/Calendar.vue.d.ts +0 -570
  39. package/components/card/Card.vue.d.ts +0 -139
  40. package/components/checkbox/Checkbox.vue.d.ts +0 -329
  41. package/components/customcolumn/ColumnList.vue.d.ts +0 -47
  42. package/components/customcolumn/CustomColumn.vue.d.ts +0 -37
  43. package/components/customcolumn/helpers/setVisibilityColumn.helper.d.ts +0 -16
  44. package/components/datatable/DataTable.vue.d.ts +0 -735
  45. package/components/datatable/MultiRow.vue.d.ts +0 -36
  46. package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
  47. package/components/datatable/helpers/filter.helper.d.ts +0 -38
  48. package/components/datatable/helpers/index.d.ts +0 -6
  49. package/components/datatable/helpers/readConfig.helper.d.ts +0 -5
  50. package/components/datatable/store/dataTable.store.d.ts +0 -25
  51. package/components/dialog/Dialog.vue.d.ts +0 -464
  52. package/components/dialogconfirm/DialogConfirm.vue.d.ts +0 -164
  53. package/components/dialogform/DialogForm.vue.d.ts +0 -349
  54. package/components/dialogselecttree/DialogSelectTree.vue.d.ts +0 -136
  55. package/components/dropdown/Dropdown.vue.d.ts +0 -274
  56. package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -152
  57. package/components/editor/Editor.vue.d.ts +0 -191
  58. package/components/editor/EditorButton.vue.d.ts +0 -35
  59. package/components/editor/MentionList.vue.d.ts +0 -49
  60. package/components/editor/MentionSection.vue.d.ts +0 -152
  61. package/components/editor/codeSnippetExtension.d.ts +0 -3
  62. package/components/editor/mentionSectionExtension.d.ts +0 -3
  63. package/components/editor/suggestion.d.ts +0 -2
  64. package/components/fieldwrapper/FieldWrapper.vue.d.ts +0 -69
  65. package/components/fileupload/FileUpload.vue.d.ts +0 -169
  66. package/components/filtercontainer/FilterContainer.vue.d.ts +0 -181
  67. package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -14
  68. package/components/filtercontainer/helpers/formatDateTimeRange.helper.d.ts +0 -7
  69. package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -12
  70. package/components/form/Form.vue.d.ts +0 -316
  71. package/components/icon/Icon.vue.d.ts +0 -256
  72. package/components/image/Image.vue.d.ts +0 -403
  73. package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -59
  74. package/components/imagecompressor/ImageCompressor.vue.d.ts +0 -229
  75. package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -55
  76. package/components/index.d.ts +0 -58
  77. package/components/inputbadge/InputBadge.vue.d.ts +0 -122
  78. package/components/inputcurrency/InputCurrency.vue.d.ts +0 -170
  79. package/components/inputcurrency/helpers/currency.helper.d.ts +0 -8
  80. package/components/inputemail/InputEmail.vue.d.ts +0 -25
  81. package/components/inputnumber/InputNumber.vue.d.ts +0 -282
  82. package/components/inputpassword/InputPassword.vue.d.ts +0 -32
  83. package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +0 -99
  84. package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
  85. package/components/inputrangenumber/InputRangeNumber.vue.d.ts +0 -120
  86. package/components/inputsearch/InputSearch.vue.d.ts +0 -33
  87. package/components/inputtext/InputText.vue.d.ts +0 -352
  88. package/components/inputurl/InputURL.vue.d.ts +0 -36
  89. package/components/invisiblefield/InvisibleField.vue.d.ts +0 -32
  90. package/components/litedropdown/LiteDropdown.vue.d.ts +0 -96
  91. package/components/loading/Loading.vue.d.ts +0 -47
  92. package/components/loading/store/loading.store.d.ts +0 -8
  93. package/components/menu/Menu.vue.d.ts +0 -390
  94. package/components/menu/helpers/filterMenu.helper.d.ts +0 -15
  95. package/components/menu/helpers/index.d.ts +0 -1
  96. package/components/menuitem/MenuItem.vue +0 -70
  97. package/components/menuitem/MenuItem.vue.d.ts +0 -39
  98. package/components/menuitem/index.d.ts +0 -106
  99. package/components/multiselect/MultiSelect.vue.d.ts +0 -194
  100. package/components/overlaypanel/OverlayPanel.vue.d.ts +0 -301
  101. package/components/passthrough/index.d.ts +0 -16
  102. package/components/tabmenu/TabMenu.vue.d.ts +0 -288
  103. package/components/textarea/Textarea.vue.d.ts +0 -170
  104. package/components/timeline/Timeline.vue.d.ts +0 -121
  105. package/components/timeline/TimelineContentByType.vue.d.ts +0 -64
  106. package/components/toast/Toast.vue.d.ts +0 -367
  107. package/components/toggleswitch/ToggleSwitch.vue.d.ts +0 -281
  108. package/components/tree/Tree.vue.d.ts +0 -148
  109. package/components/tree/helpers/filterNodeKeys.helper.d.ts +0 -22
  110. package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +0 -8
  111. package/components/tree/helpers/index.d.ts +0 -3
  112. package/components/ts-helpers.d.ts +0 -85
  113. package/components/username/UserName.vue.d.ts +0 -113
  114. package/components/userwithicon/UserWithIcon.vue.d.ts +0 -20
  115. package/config/defaultProps.d.ts +0 -3
  116. package/config/index.d.ts +0 -3
  117. package/config/locale.d.ts +0 -3
  118. package/loading-page-BrQattYE.js +0 -1
  119. package/loading-page-CgfbWppy.js +0 -1
  120. package/loading-page-CoC9UhfC.js +0 -4
  121. package/loading-page-CoXtqoc9.js +0 -4
  122. package/loading-page-DbLuqCHa.js +0 -1
  123. package/loading-page-f8D03l3G.js +0 -4
  124. package/loading-plane-CgfbWppy.js +0 -1
  125. package/loading-plane-CoXtqoc9.js +0 -4
  126. package/loading-table-Bdr9ZhtP.js +0 -1
  127. package/loading-table-ByUoWqUo.js +0 -4
  128. package/loading-table-BygEMzFM.js +0 -4
  129. package/loading-table-BzrSQlA0.js +0 -1
  130. package/loading-table-D9bw9OcI.js +0 -4
  131. package/loading-table-chOgXi94.js +0 -1
  132. package/main.d.ts +0 -31
  133. package/no-data-CTKux8RI.js +0 -4
  134. package/no-data-Cgze_Rvp.js +0 -1
  135. package/no-data-DLHO1L_u.js +0 -4
  136. package/no-data-Dep79CBh.js +0 -1
  137. package/no-data-g0dJCy2p.js +0 -4
  138. package/no-data-y1X5WtcQ.js +0 -1
  139. package/plugins/i18n-extension.d.ts +0 -4
  140. package/style.css +0 -1
  141. package/utils/getSeverityByAssetStatus.util.d.ts +0 -3
  142. package/utils/index.d.ts +0 -21
  143. package/utils/listenSidebarChanges.util.d.ts +0 -16
  144. package/utils/role.util.d.ts +0 -6
  145. package/wangsvue-fats.es.js +0 -123730
  146. package/wangsvue-fats.system.js +0 -478
@@ -1,194 +0,0 @@
1
- import {
2
- DropdownLocaleConfig,
3
- Option,
4
- OptionValue,
5
- } from '../dropdown/Dropdown.vue.d';
6
- import { CustomValidation } from '../form/Form.vue.d';
7
- import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
8
-
9
- export type MultiSelectLocaleConfig = DropdownLocaleConfig & {};
10
-
11
- /**
12
- * MultiSelect component props
13
- */
14
- export interface MultiSelectProps {
15
- modelValue?: OptionValue[];
16
-
17
- /**
18
- * If you deals with form validation on edit form action, you can set the initial value of the field.
19
- */
20
- initialValue?: OptionValue[];
21
-
22
- /**
23
- * The field label. Tell the user what field input is this.
24
- */
25
- label?: string;
26
-
27
- /**
28
- * List of options to display.
29
- */
30
- options?: Option[] | string[];
31
-
32
- /**
33
- * Specify the property name of option to be used as label.
34
- *
35
- * @default undefined - the label will be sets to the option itself.
36
- */
37
- optionLabel?: string;
38
-
39
- /**
40
- * Specify the property name of option to be used as value.
41
- *
42
- * @default undefined - the value will be sets to the option itself.
43
- */
44
- optionValue?: string;
45
-
46
- /**
47
- * Determines if the field uses a validator
48
- */
49
- useValidator?: boolean;
50
-
51
- /**
52
- * Determines if the field is mandatory
53
- */
54
- mandatory?: boolean;
55
-
56
- /**
57
- * Show the text (opsional)
58
- *
59
- * @default true if mandatory true
60
- */
61
- showOptionalText?: boolean;
62
-
63
- /**
64
- * Set custom validator message.
65
- * It is rarely use, this component has handled the validator message.
66
- *
67
- * @example: 'This field is required'
68
- * @example: { empty: 'This field is required' }
69
- */
70
- validatorMessage?: string | CustomValidation<'empty'>;
71
-
72
- /**
73
- * This prop is required if you use this component in a form input.
74
- * Specify the unique field name, match with your needs for API request.
75
- *
76
- * @default 'multiSelect'
77
- */
78
- fieldName?: string;
79
-
80
- /**
81
- * Default text to display when no option is selected.
82
- *
83
- * @default `Select ${label}`
84
- */
85
- placeholder?: string;
86
-
87
- /**
88
- * Whether the MultiSelect is in loading state.
89
- * @defaultValue false
90
- */
91
- loading?: boolean;
92
-
93
- /**
94
- * Show icon 'info' on the right side of label.
95
- * Show information to user about the field on icon hover.
96
- */
97
- fieldInfo?: string;
98
-
99
- /**
100
- * Hide the input and controls the overlay state from parent component.
101
- */
102
- controls?: boolean;
103
-
104
- /**
105
- * Disabled state.
106
- */
107
- disabled?: boolean;
108
-
109
- /**
110
- * Wether show the Dropdown option search or not.
111
- *
112
- * @default true,
113
- */
114
- filter?: boolean;
115
-
116
- /**
117
- * The filter input Placeholder
118
- *
119
- * @default 'Search' from Global Locale Config
120
- */
121
- filterPlaceholder?: string;
122
-
123
- /**
124
- * Defines how the selected items are displayed.
125
- *
126
- * @default 'chip'
127
- */
128
- display?: 'comma' | 'chip';
129
-
130
- /**
131
- * Label to display after exceeding max selected labels.
132
- */
133
- selectedItemsLabel?: string;
134
-
135
- /**
136
- * Decides how many selected item labels to show at most.
137
- */
138
- maxSelectedLabels?: number;
139
- }
140
-
141
- /**
142
- * MultiSelect component emits
143
- */
144
- export type MultiSelectEmits = {
145
- /**
146
- * Emits when an option selected.
147
- */
148
- 'update:modelValue': [value: OptionValue[] | undefined];
149
-
150
- /**
151
- * Emits when overlay shown.
152
- */
153
- 'show': [];
154
-
155
- /**
156
- * Emits when overlay hidden.
157
- */
158
- 'hide': [];
159
- };
160
-
161
- /**
162
- * **WangsVue - MultiSelect**
163
- *
164
- * _MultiSelect also known as Select, is used to choose an item from a collection of options._
165
- *
166
- * @group Component
167
- */
168
- declare class MultiSelect extends ClassComponent<
169
- MultiSelectProps,
170
- unknown,
171
- MultiSelectEmits
172
- > {
173
- /**
174
- * Shows the overlay.
175
- *
176
- * @memberof MultiSelect
177
- */
178
- showOverlay(): void;
179
-
180
- /**
181
- * Hides the overlay.
182
- *
183
- * @memberof MultiSelect
184
- */
185
- hideHideOverlay(): void;
186
- }
187
-
188
- declare module '@vue/runtime-core' {
189
- interface GlobalComponents {
190
- MultiSelect: GlobalComponentConstructor<MultiSelect>;
191
- }
192
- }
193
-
194
- export default MultiSelect;
@@ -1,301 +0,0 @@
1
- /**
2
- *
3
- * OverlayPanel is a container component positioned as connected to its target.
4
- *
5
- * [Live Demo](https://primevue.org/overlaypanel)
6
- *
7
- * @module overlaypanel
8
- *
9
- */
10
- import { TransitionProps, VNode } from 'vue';
11
- import { ComponentHooks } from '../basecomponent';
12
- import { PassThroughOptions } from '../passthrough';
13
- import {
14
- ClassComponent,
15
- GlobalComponentConstructor,
16
- PassThrough,
17
- } from '../ts-helpers';
18
-
19
- export declare type OverlayPanelPassThrougMethodType = (
20
- options: OverlayPanelPassThroughMethodOptions,
21
- ) => OverlayPanelPassThroughAttributes;
22
-
23
- export declare type OverlayPanelPassThroughTransitionType =
24
- | TransitionProps
25
- | ((options: OverlayPanelPassThroughMethodOptions) => TransitionProps)
26
- | undefined;
27
-
28
- /**
29
- * Custom passthrough(pt) option method.
30
- */
31
- export interface OverlayPanelPassThroughMethodOptions {
32
- /**
33
- * Defines instance.
34
- */
35
- instance: any;
36
- /**
37
- * Defines valid properties.
38
- */
39
- props: OverlayPanelProps;
40
- /**
41
- * Defines current inline state.
42
- */
43
- state: OverlayPanelState;
44
- /**
45
- * Defines valid attributes.
46
- */
47
- attrs: any;
48
- /**
49
- * Defines parent options.
50
- */
51
- parent: any;
52
- /**
53
- * Defines passthrough(pt) options in global config.
54
- */
55
- global: object | undefined;
56
- }
57
-
58
- /**
59
- * Custom passthrough(pt) options.
60
- * @see {@link OverlayPanelProps.pt}
61
- */
62
- export interface OverlayPanelPassThroughOptions {
63
- /**
64
- * Used to pass attributes to the root's DOM element.
65
- */
66
- root?: OverlayPanelPassThroughAttributes;
67
- /**
68
- * Used to pass attributes to the content's DOM element.
69
- */
70
- content?: OverlayPanelPassThroughAttributes;
71
- /**
72
- * Used to pass attributes to the close button's DOM element.
73
- */
74
- closeButton?: OverlayPanelPassThroughAttributes;
75
- /**
76
- * Used to pass attributes to the close icon's DOM element.
77
- */
78
- closeIcon?: OverlayPanelPassThroughAttributes;
79
- /**
80
- * Used to manage all lifecycle hooks.
81
- * @see {@link BaseComponent.ComponentHooks}
82
- */
83
- hooks?: ComponentHooks;
84
- /**
85
- * Used to control Vue Transition API.
86
- */
87
- transition?: OverlayPanelPassThroughTransitionType;
88
- }
89
-
90
- /**
91
- * Custom passthrough attributes for each DOM elements
92
- */
93
- export interface OverlayPanelPassThroughAttributes {
94
- class: any;
95
- style?: any;
96
- [key: string]: any;
97
- }
98
-
99
- /**
100
- * Defines current inline state in OverlayPanel component.
101
- */
102
- export interface OverlayPanelState {
103
- /**
104
- * Current visible state as a boolean.
105
- * @defaultValue false
106
- */
107
- visible: boolean;
108
- }
109
-
110
- /**
111
- * OverlayPanel breakpoint metadata.
112
- */
113
- export interface OverlayPanelBreakpoints {
114
- /**
115
- * Breakpoint for responsive mode.
116
- *
117
- * Example:
118
- *
119
- * <OverlayPanel :breakpoints="{'960px': '75vw', '640px': '100vw'}" ... />
120
- *
121
- * Result:
122
- *
123
- * @media screen and (max-width: ${breakpoint[key]}) {
124
- * .p-overlaypanel[attributeSelector] {
125
- * width: ${breakpoint[value]} !important;
126
- * }
127
- * }
128
- */
129
- [key: string]: string;
130
- }
131
-
132
- /**
133
- * Defines valid properties in OverlayPanel component.
134
- */
135
- export interface OverlayPanelProps {
136
- /**
137
- * Enables to hide the overlay when outside is clicked.
138
- * @defaultValue true
139
- */
140
- dismissable?: boolean;
141
- /**
142
- * Enables to hide the overlay when another overlay is clicked.
143
- * @defaultValue true
144
- */
145
- dismissableOverlay?: boolean;
146
- /**
147
- * When enabled, displays a close icon at top right corner.
148
- * @defaultValue false
149
- */
150
- showCloseIcon?: boolean;
151
- /**
152
- * A valid query selector or an HTMLElement to specify where the overlay gets attached.
153
- * @defaultValue body
154
- */
155
- // AppendTo?: HintedString<'body' | 'self'> | undefined | HTMLElement;
156
- /**
157
- * Base zIndex value to use in layering.
158
- * @defaultValue 0
159
- */
160
- baseZIndex?: number;
161
- /**
162
- * Whether to automatically manage layering.
163
- * @defaultValue true
164
- */
165
- autoZIndex?: boolean;
166
- /**
167
- * Object literal to define widths per screen size.
168
- */
169
- breakpoints?: OverlayPanelBreakpoints;
170
- /**
171
- * Icon to display in the overlaypanel close button.
172
- * @deprecated since v3.27.0. Use 'closeicon' slot.
173
- */
174
- closeIcon?: string | undefined;
175
- /**
176
- * Used to pass attributes to DOM elements inside the component.
177
- * @type {OverlayPanelPassThroughOptions}
178
- */
179
- pt?: PassThrough<OverlayPanelPassThroughOptions>;
180
- /**
181
- * Used to configure passthrough(pt) options of the component.
182
- * @type {PassThroughOptions}
183
- */
184
- ptOptions?: PassThroughOptions;
185
- /**
186
- * When enabled, it removes component related styles in the core.
187
- * @defaultValue false
188
- */
189
- unstyled?: boolean;
190
- /**
191
- * Specifies if pressing escape key should hide the dialog.
192
- * @defaultValue true
193
- */
194
- closeOnEscape?: boolean | undefined;
195
- }
196
-
197
- /**
198
- * Defines valid slots in OverlayPanel component.
199
- */
200
- export interface OverlayPanelSlots {
201
- /**
202
- * Custom content template.
203
- */
204
- default(): VNode[];
205
- /**
206
- * Custom close icon template.
207
- */
208
- closeicon(): VNode[];
209
- /**
210
- * Custom container slot.
211
- * @param {Object} scope - container slot's params.
212
- */
213
- container(scope: {
214
- /**
215
- * Close overlay panel function.
216
- * @deprecated since v3.39.0. Use 'closeCallback' property instead.
217
- */
218
- onClose: () => void;
219
- /**
220
- * Close button keydown function.
221
- * @param {Event} event - Browser event
222
- * @deprecated since v3.39.0. Use 'keydownCallback' property instead.
223
- */
224
- onKeydown: (event: Event) => void;
225
- /**
226
- * Close overlay panel function.
227
- */
228
- closeCallback: () => void;
229
- /**
230
- * Close button keydown function.
231
- * @param {Event} event - Browser event
232
- */
233
- keydownCallback: (event: Event) => void;
234
- }): VNode[];
235
- }
236
-
237
- /**
238
- * Defines valid emits in OverlayPanel component.
239
- */
240
- export interface OverlayPanelEmits {
241
- /**
242
- * Callback to invoke when the overlay is shown.
243
- */
244
- show(): void;
245
- /**
246
- * Callback to invoke when the overlay is hidden.
247
- */
248
- hide(): void;
249
- }
250
-
251
- /**
252
- * **PrimeVue - OverlayPanel**
253
- *
254
- * _OverlayPanel, also known as Popover, is a container component that can overlay other components on page._
255
- *
256
- * [Live Demo](https://www.primevue.org/overlaypanel/)
257
- * --- ---
258
- * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
259
- *
260
- * @group Component
261
- */
262
- declare class OverlayPanel extends ClassComponent<
263
- OverlayPanelProps,
264
- OverlayPanelSlots,
265
- OverlayPanelEmits
266
- > {
267
- /**
268
- * Aligns overlay panel based on the current position of the container.
269
- */
270
- alignOverlay(): void;
271
- /**
272
- * Toggles the visibility of the overlay.
273
- * @param {Event} event - Browser event.
274
- * @param {*} [target] - Optional target if event.currentTarget should not be used.
275
- *
276
- * @memberof OverlayPanel
277
- */
278
- toggle(event: Event, target?: unknown): void;
279
- /**
280
- * Shows the overlay.
281
- * @param {Event} event - Browser event.
282
- * @param {*} [target] - Optional target if event.currentTarget should not be used.
283
- *
284
- * @memberof OverlayPanel
285
- */
286
- show(event: Event, target?: unknown): void;
287
- /**
288
- * Hides the overlay.
289
- *
290
- * @memberof OverlayPanel
291
- */
292
- hide(): void;
293
- }
294
-
295
- declare module '@vue/runtime-core' {
296
- interface GlobalComponents {
297
- OverlayPanel: GlobalComponentConstructor<OverlayPanel>;
298
- }
299
- }
300
-
301
- export default OverlayPanel;
@@ -1,16 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- export declare type PassThroughMergePropsType =
3
- | ((...args: any) => object | undefined)
4
- | boolean
5
- | undefined;
6
-
7
- export interface PassThroughOptions {
8
- mergeSections?: boolean | undefined;
9
- mergeProps?: PassThroughMergePropsType;
10
- }
11
-
12
- export declare function usePassThrough(
13
- pt1: object,
14
- pt2: object,
15
- options?: PassThroughOptions,
16
- ): object;