@fewangsit/wangsvue-gsts 1.0.0-alpha.1

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 (173) hide show
  1. package/assets/json/currencies.json.d.ts +1068 -0
  2. package/assets/json/languages.json.d.ts +180 -0
  3. package/assets/lottie/admin/loading-page.lottie +0 -0
  4. package/assets/lottie/admin/loading-table.lottie +0 -0
  5. package/assets/lottie/admin/no-data.lottie +0 -0
  6. package/assets/lottie/supplyasset/loading-page.lottie +0 -0
  7. package/assets/lottie/supplyasset/loading-table.lottie +0 -0
  8. package/assets/lottie/supplyasset/no-data.lottie +0 -0
  9. package/assets/lottie/workspace/loading-page.lottie +0 -0
  10. package/assets/lottie/workspace/loading-plane.lottie +0 -0
  11. package/assets/lottie/workspace/loading-table.lottie +0 -0
  12. package/assets/lottie/workspace/no-data.lottie +0 -0
  13. package/build-entry.d.ts +14 -0
  14. package/components/animation/Animation.vue.d.ts +24 -0
  15. package/components/approverinfo/ApproverInfo.vue.d.ts +51 -0
  16. package/components/badge/Badge.vue.d.ts +66 -0
  17. package/components/badgegroup/BadgeGroup.vue.d.ts +40 -0
  18. package/components/badgegrouptree/BadgeGroupTree.vue.d.ts +34 -0
  19. package/components/basecomponent/index.d.ts +28 -0
  20. package/components/basetree/BaseTree.vue.d.ts +567 -0
  21. package/components/basetree/TreeNode.vue.d.ts +35 -0
  22. package/components/breadcrumb/Breadcrumb.vue.d.ts +26 -0
  23. package/components/button/Button.vue.d.ts +185 -0
  24. package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +26 -0
  25. package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +97 -0
  26. package/components/buttondownload/ButtonDownload.vue.d.ts +49 -0
  27. package/components/buttonfilter/ButtonFilter.vue.d.ts +12 -0
  28. package/components/buttonradio/ButtonRadio.vue.d.ts +257 -0
  29. package/components/buttonsearch/ButtonSearch.vue.d.ts +38 -0
  30. package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +193 -0
  31. package/components/buttonsplit/ButtonSplit.d.ts +350 -0
  32. package/components/buttonsplit/ButtonSplit.vue.d.ts +34 -0
  33. package/components/buttontoggle/ButtonToggle.vue.d.ts +18 -0
  34. package/components/calendar/BaseCalendar.vue.d.ts +83 -0
  35. package/components/calendar/Calendar.vue.d.ts +561 -0
  36. package/components/card/Card.vue.d.ts +139 -0
  37. package/components/changelog/Changelog.vue.d.ts +158 -0
  38. package/components/changelogpage/ChangelogFilter.vue.d.ts +16 -0
  39. package/components/changelogpage/ChangelogPage.vue.d.ts +124 -0
  40. package/components/checkbox/Checkbox.vue.d.ts +329 -0
  41. package/components/codesnippet/CodeSnippet.vue.d.ts +14 -0
  42. package/components/customcolumn/CustomColumn.vue.d.ts +35 -0
  43. package/components/datatable/DataTable.vue.d.ts +704 -0
  44. package/components/datatable/MultiRow.vue.d.ts +16 -0
  45. package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +1 -0
  46. package/components/datatable/helpers/filter.helper.d.ts +28 -0
  47. package/components/datatable/helpers/index.d.ts +3 -0
  48. package/components/datatable/helpers/readConfig.helper.d.ts +2 -0
  49. package/components/datatable/store/dataTable.store.d.ts +22 -0
  50. package/components/dialog/Dialog.vue.d.ts +464 -0
  51. package/components/dialogconfirm/DialogConfirm.vue.d.ts +153 -0
  52. package/components/dialogform/DialogForm.vue.d.ts +349 -0
  53. package/components/dialogselecttree/DialogSelectTree.vue.d.ts +111 -0
  54. package/components/dropdown/Dropdown.vue.d.ts +257 -0
  55. package/components/editor/CodeSnippetAdapter.vue.d.ts +92 -0
  56. package/components/editor/Editor.vue.d.ts +191 -0
  57. package/components/editor/EditorButton.vue.d.ts +15 -0
  58. package/components/editor/MentionList.vue.d.ts +35 -0
  59. package/components/editor/MentionSection.vue.d.ts +92 -0
  60. package/components/editor/codeSnippetExtension.d.ts +3 -0
  61. package/components/editor/mentionSectionExtension.d.ts +3 -0
  62. package/components/editor/suggestion.d.ts +2 -0
  63. package/components/fieldwrapper/FieldWrapper.vue.d.ts +69 -0
  64. package/components/fileupload/FileUpload.vue.d.ts +153 -0
  65. package/components/filtercontainer/FilterContainer.vue.d.ts +141 -0
  66. package/components/filtercontainer/helpers/applyFilter.helper.d.ts +3 -0
  67. package/components/filtercontainer/helpers/formatDateTimeRange.helper.d.ts +7 -0
  68. package/components/filtercontainer/helpers/getOption.helper.d.ts +3 -0
  69. package/components/form/Form.vue.d.ts +306 -0
  70. package/components/gallerypreview/GalleryPreview.vue.d.ts +31 -0
  71. package/components/helpers/convertToArrayClass.helper.d.ts +2 -0
  72. package/components/helpers/index.d.ts +2 -0
  73. package/components/helpers/label.d.ts +15 -0
  74. package/components/icon/Icon.vue.d.ts +245 -0
  75. package/components/image/Image.vue.d.ts +403 -0
  76. package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +36 -0
  77. package/components/imagecompressor/ImageCompressor.vue.d.ts +191 -0
  78. package/components/imagecompressor/ImageInputInfo.vue.d.ts +30 -0
  79. package/components/index.d.ts +66 -0
  80. package/components/inlinemessage/InlineMessage.vue.d.ts +167 -0
  81. package/components/inputbadge/InputBadge.vue.d.ts +122 -0
  82. package/components/inputcurrency/InputCurrency.vue.d.ts +170 -0
  83. package/components/inputcurrency/helpers/currency.helper.d.ts +4 -0
  84. package/components/inputemail/InputEmail.vue.d.ts +25 -0
  85. package/components/inputgroup/InputGroup.vue.d.ts +141 -0
  86. package/components/inputnumber/InputNumber.vue.d.ts +282 -0
  87. package/components/inputpassword/InputPassword.vue.d.ts +32 -0
  88. package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +99 -0
  89. package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +8 -0
  90. package/components/inputrangenumber/InputRangeNumber.vue.d.ts +120 -0
  91. package/components/inputtext/InputText.vue.d.ts +352 -0
  92. package/components/inputurl/InputURL.vue.d.ts +39 -0
  93. package/components/invisiblefield/InvisibleField.vue.d.ts +36 -0
  94. package/components/languagedropdown/LanguageDropdown.vue.d.ts +58 -0
  95. package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +18 -0
  96. package/components/litedropdown/LiteDropdown.vue.d.ts +96 -0
  97. package/components/loading/Loading.vue.d.ts +47 -0
  98. package/components/loading/store/loading.store.d.ts +8 -0
  99. package/components/menu/Menu.vue.d.ts +390 -0
  100. package/components/menu/helpers/filterMenu.helper.d.ts +12 -0
  101. package/components/menu/helpers/index.d.ts +1 -0
  102. package/components/menuitem/MenuItem.vue.d.ts +19 -0
  103. package/components/menuitem/index.d.ts +104 -0
  104. package/components/multiselect/MultiSelect.vue.d.ts +192 -0
  105. package/components/overlaypanel/OverlayPanel.vue.d.ts +301 -0
  106. package/components/passthrough/index.d.ts +16 -0
  107. package/components/progressbar/ProgressBar.vue.d.ts +72 -0
  108. package/components/quickfilter/QuickFilter.vue.d.ts +25 -0
  109. package/components/tabmenu/TabMenu.vue.d.ts +288 -0
  110. package/components/tagtype/TagType.vue.d.ts +22 -0
  111. package/components/textarea/Textarea.vue.d.ts +170 -0
  112. package/components/timeline/Timeline.vue.d.ts +115 -0
  113. package/components/timeline/TimelineContentByType.vue.d.ts +16 -0
  114. package/components/toast/Toast.vue.d.ts +367 -0
  115. package/components/toggleswitch/ToggleSwitch.vue.d.ts +281 -0
  116. package/components/tooltipspan/TooltipSpan.vue.d.ts +20 -0
  117. package/components/tree/Tree.vue.d.ts +146 -0
  118. package/components/tree/helpers/filterNodeKeys.helper.d.ts +16 -0
  119. package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +6 -0
  120. package/components/tree/helpers/index.d.ts +3 -0
  121. package/components/treesearchinput/TreeSearchInput.vue.d.ts +16 -0
  122. package/components/ts-helpers.d.ts +63 -0
  123. package/components/usergroup/UserGroup.vue.d.ts +57 -0
  124. package/components/username/UserName.vue.d.ts +61 -0
  125. package/components/validatormessage/ValidatorMessage.vue.d.ts +12 -0
  126. package/config/defaultProps.d.ts +3 -0
  127. package/config/index.d.ts +3 -0
  128. package/config/locale.d.ts +3 -0
  129. package/directives/focus.d.ts +7 -0
  130. package/directives/index.d.ts +1 -0
  131. package/event-bus/index.d.ts +55 -0
  132. package/event-bus/mitt.d.ts +26 -0
  133. package/loading-page-BrQattYE.js +1 -0
  134. package/loading-page-CgfbWppy.js +1 -0
  135. package/loading-page-CoC9UhfC.js +4 -0
  136. package/loading-page-CoXtqoc9.js +4 -0
  137. package/loading-page-DbLuqCHa.js +1 -0
  138. package/loading-page-f8D03l3G.js +4 -0
  139. package/loading-plane-CgfbWppy.js +1 -0
  140. package/loading-plane-CoXtqoc9.js +4 -0
  141. package/loading-table-Bb2MtjdD.js +4 -0
  142. package/loading-table-Br25QIny.js +1 -0
  143. package/loading-table-ByUoWqUo.js +4 -0
  144. package/loading-table-BygEMzFM.js +4 -0
  145. package/loading-table-BzrSQlA0.js +1 -0
  146. package/loading-table-chOgXi94.js +1 -0
  147. package/main.d.ts +2 -0
  148. package/no-data-CTKux8RI.js +4 -0
  149. package/no-data-Cgze_Rvp.js +1 -0
  150. package/no-data-DLHO1L_u.js +4 -0
  151. package/no-data-Dep79CBh.js +1 -0
  152. package/no-data-g0dJCy2p.js +4 -0
  153. package/no-data-y1X5WtcQ.js +1 -0
  154. package/package.json +16 -0
  155. package/plugins/WangsVue.d.ts +121 -0
  156. package/plugins/formValidation.d.ts +10 -0
  157. package/plugins/translation.d.ts +37 -0
  158. package/style.css +1 -0
  159. package/types/options.type.d.ts +16 -0
  160. package/utils/date.util.d.ts +37 -0
  161. package/utils/exportToExcel.util.d.ts +20 -0
  162. package/utils/filterOptions.util.d.ts +3 -0
  163. package/utils/genPlaceholder.util.d.ts +8 -0
  164. package/utils/getAttachmentIcon.util.d.ts +8 -0
  165. package/utils/getStatusSeverity.util.d.ts +3 -0
  166. package/utils/index.d.ts +18 -0
  167. package/utils/mergePropsWithDefaults.util.d.ts +20 -0
  168. package/utils/object.util.d.ts +9 -0
  169. package/utils/role.util.d.ts +2 -0
  170. package/utils/textFormatter.util.d.ts +17 -0
  171. package/utils/toast.util.d.ts +114 -0
  172. package/wangsvue-gsts.es.js +133347 -0
  173. package/wangsvue-gsts.system.js +454 -0
@@ -0,0 +1,192 @@
1
+ import { DropdownLocaleConfig } from '../dropdown/Dropdown.vue.d';
2
+ import { CustomValidation } from '../form/Form.vue.d';
3
+ import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
4
+
5
+ import { MultiSelectOption, OptionValue } from 'lib/types/options.type';
6
+
7
+ export type MultiSelectLocaleConfig = DropdownLocaleConfig & {};
8
+
9
+ /**
10
+ * MultiSelect component props
11
+ */
12
+ export interface MultiSelectProps {
13
+ modelValue?: OptionValue[];
14
+
15
+ /**
16
+ * If you deals with form validation on edit form action, you can set the initial value of the field.
17
+ */
18
+ initialValue?: OptionValue[];
19
+
20
+ /**
21
+ * The field label. Tell the user what field input is this.
22
+ */
23
+ label?: string;
24
+
25
+ /**
26
+ * List of options to display.
27
+ */
28
+ options?: MultiSelectOption[] | string[];
29
+
30
+ /**
31
+ * Specify the property name of option to be used as label.
32
+ *
33
+ * @default undefined - the label will be sets to the option itself.
34
+ */
35
+ optionLabel?: string;
36
+
37
+ /**
38
+ * Specify the property name of option to be used as value.
39
+ *
40
+ * @default undefined - the value will be sets to the option itself.
41
+ */
42
+ optionValue?: string;
43
+
44
+ /**
45
+ * Determines if the field uses a validator
46
+ */
47
+ useValidator?: boolean;
48
+
49
+ /**
50
+ * Determines if the field is mandatory
51
+ */
52
+ mandatory?: boolean;
53
+
54
+ /**
55
+ * Show the text (opsional)
56
+ *
57
+ * @default true if mandatory true
58
+ */
59
+ showOptionalText?: boolean;
60
+
61
+ /**
62
+ * Set custom validator message.
63
+ * It is rarely use, this component has handled the validator message.
64
+ *
65
+ * @example: 'This field is required'
66
+ * @example: { empty: 'This field is required' }
67
+ */
68
+ validatorMessage?: string | CustomValidation<'empty'>;
69
+
70
+ /**
71
+ * This prop is required if you use this component in a form input.
72
+ * Specify the unique field name, match with your needs for API request.
73
+ *
74
+ * @default 'multiSelect'
75
+ */
76
+ fieldName?: string;
77
+
78
+ /**
79
+ * Default text to display when no option is selected.
80
+ *
81
+ * @default `Select ${label}`
82
+ */
83
+ placeholder?: string;
84
+
85
+ /**
86
+ * Whether the MultiSelect is in loading state.
87
+ * @defaultValue false
88
+ */
89
+ loading?: boolean;
90
+
91
+ /**
92
+ * Show icon 'info' on the right side of label.
93
+ * Show information to user about the field on icon hover.
94
+ */
95
+ fieldInfo?: string;
96
+
97
+ /**
98
+ * Hide the input and controls the overlay state from parent component.
99
+ */
100
+ controls?: boolean;
101
+
102
+ /**
103
+ * Disabled state.
104
+ */
105
+ disabled?: boolean;
106
+
107
+ /**
108
+ * Wether show the Dropdown option search or not.
109
+ *
110
+ * @default true,
111
+ */
112
+ filter?: boolean;
113
+
114
+ /**
115
+ * The filter input Placeholder
116
+ *
117
+ * @default 'Search' from Global Locale Config
118
+ */
119
+ filterPlaceholder?: string;
120
+
121
+ /**
122
+ * Defines how the selected items are displayed.
123
+ *
124
+ * @default 'chip'
125
+ */
126
+ display?: 'comma' | 'chip';
127
+
128
+ /**
129
+ * Label to display after exceeding max selected labels.
130
+ */
131
+ selectedItemsLabel?: string;
132
+
133
+ /**
134
+ * Decides how many selected item labels to show at most.
135
+ */
136
+ maxSelectedLabels?: number;
137
+ }
138
+
139
+ /**
140
+ * MultiSelect component emits
141
+ */
142
+ export type MultiSelectEmits = {
143
+ /**
144
+ * Emits when an option selected.
145
+ */
146
+ 'update:modelValue': [value: OptionValue[] | undefined];
147
+
148
+ /**
149
+ * Emits when overlay shown.
150
+ */
151
+ 'show': [];
152
+
153
+ /**
154
+ * Emits when overlay hidden.
155
+ */
156
+ 'hide': [];
157
+ };
158
+
159
+ /**
160
+ * **WangsVue - MultiSelect**
161
+ *
162
+ * _MultiSelect also known as Select, is used to choose an item from a collection of options._
163
+ *
164
+ * @group Component
165
+ */
166
+ declare class MultiSelect extends ClassComponent<
167
+ MultiSelectProps,
168
+ unknown,
169
+ MultiSelectEmits
170
+ > {
171
+ /**
172
+ * Shows the overlay.
173
+ *
174
+ * @memberof MultiSelect
175
+ */
176
+ showOverlay(): void;
177
+
178
+ /**
179
+ * Hides the overlay.
180
+ *
181
+ * @memberof MultiSelect
182
+ */
183
+ hideHideOverlay(): void;
184
+ }
185
+
186
+ declare module '@vue/runtime-core' {
187
+ interface GlobalComponents {
188
+ MultiSelect: GlobalComponentConstructor<MultiSelect>;
189
+ }
190
+ }
191
+
192
+ export default MultiSelect;
@@ -0,0 +1,301 @@
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;
@@ -0,0 +1,16 @@
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;
@@ -0,0 +1,72 @@
1
+ import { Slot } from 'vue';
2
+ import { ClassComponent } from '../ts-helpers';
3
+ import { GlobalComponentConstructor } from '../ts-helpers.d';
4
+
5
+ /**
6
+ * Defines valid properties in ProgressBar component.
7
+ */
8
+ export interface ProgressBarProps {
9
+ /**
10
+ * Current value of the progress.
11
+ */
12
+ value?: number | undefined;
13
+ /**
14
+ * Set the position of progress value label position
15
+ * Only available on mode Determinate
16
+ *
17
+ * @default 'right-side'
18
+ */
19
+ valuePosition?: 'inside' | 'left-side' | 'right-side';
20
+ /**
21
+ * The progress bar severity color
22
+ *
23
+ * @defaultValue 'primary'
24
+ */
25
+ severity: 'success' | 'danger' | 'warning' | 'dark' | 'primary';
26
+ /**
27
+ * Defines the mode of the progress
28
+ * @defaultValue determinate
29
+ */
30
+ mode?: 'determinate' | 'indeterminate' | undefined;
31
+ /**
32
+ * Whether to display the progress bar value.
33
+ * @defaultValue true
34
+ */
35
+ showValue?: boolean | undefined;
36
+ }
37
+
38
+ /**
39
+ * Defines valid slots in ProgressBar component.
40
+ */
41
+ export interface ProgressBarSlots {
42
+ /**
43
+ * Slot for customizing the value label.
44
+ */
45
+ label: Slot<{ value: number | undefined }>;
46
+ }
47
+
48
+ /**
49
+ * **WangsVue - ProgressBar**
50
+ *
51
+ * ProgressBar is a process status indicator._
52
+ *
53
+ * [Live Demo](https://fewangsit.github.io/wangsvue/progressbar)
54
+ *
55
+ * --- ---
56
+ * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
57
+ *
58
+ * @group Component
59
+ */
60
+ declare class ProgressBar extends ClassComponent<
61
+ ProgressBarProps,
62
+ ProgressBarSlots,
63
+ null
64
+ > {}
65
+
66
+ declare module '@vue/runtime-core' {
67
+ interface GlobalComponents {
68
+ ProgressBar: GlobalComponentConstructor<ProgressBar>;
69
+ }
70
+ }
71
+
72
+ export default ProgressBar;
@@ -0,0 +1,25 @@
1
+ import { DefineComponent } from 'vue';
2
+ import { FilterField } from '../filtercontainer/FilterContainer.vue.d';
3
+ import { QueryParams } from '../datatable/DataTable.vue.d';
4
+
5
+ export interface QuickFilterProps {
6
+ fields: FilterField[];
7
+ tableName?: string;
8
+ }
9
+
10
+ export type QuickFilterEmits = {
11
+ apply: [filter: QueryParams];
12
+ };
13
+
14
+ /**
15
+ * **WangsVue - QuickFilter**
16
+ *
17
+ * @group components
18
+ */
19
+ declare const QuickFilter: DefineComponent<
20
+ QuickFilterProps,
21
+ QuickFilterEmits,
22
+ unknown
23
+ >;
24
+
25
+ export default QuickFilter;