@fewangsit/wangsvue-fats 1.0.0-alpha.0

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 (148) hide show
  1. package/components/animation/Animation.vue.d.ts +32 -0
  2. package/components/approverinfo/ApproverInfo.vue.d.ts +51 -0
  3. package/components/assetinfo/AssetInfo.vue.d.ts +44 -0
  4. package/components/badge/Badge.vue.d.ts +73 -0
  5. package/components/badgegroup/BadgeGroup.vue.d.ts +54 -0
  6. package/components/basecomponent/index.d.ts +28 -0
  7. package/components/basetree/BaseTree.vue.d.ts +596 -0
  8. package/components/basetree/TreeNode.vue.d.ts +35 -0
  9. package/components/breadcrumb/Breadcrumb.vue.d.ts +26 -0
  10. package/components/button/Button.vue.d.ts +189 -0
  11. package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +35 -0
  12. package/components/buttonaddbyscan/ButtonAddByScan.vue.d.ts +40 -0
  13. package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +105 -0
  14. package/components/buttoncopy/ButtonCopy.vue.d.ts +26 -0
  15. package/components/buttondownload/ButtonDownload.vue.d.ts +80 -0
  16. package/components/buttonfilter/ButtonFilter.vue.d.ts +12 -0
  17. package/components/buttonradio/ButtonRadio.vue.d.ts +258 -0
  18. package/components/buttonscan/ButtonScan.vue.d.ts +202 -0
  19. package/components/buttonsearch/ButtonSearch.vue.d.ts +38 -0
  20. package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +46 -0
  21. package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +201 -0
  22. package/components/buttonsplit/ButtonSplit.vue.d.ts +352 -0
  23. package/components/buttonsync/ButtonSync.vue.d.ts +22 -0
  24. package/components/buttontoggle/ButtonToggle.vue.d.ts +19 -0
  25. package/components/buttonviewlog/ButtonViewLog.vue.d.ts +17 -0
  26. package/components/calendar/Calendar.vue.d.ts +598 -0
  27. package/components/card/Card.vue.d.ts +140 -0
  28. package/components/carousel/Carousel.vue.d.ts +28 -0
  29. package/components/checkbox/Checkbox.vue.d.ts +330 -0
  30. package/components/customcolumn/CustomColumn.vue.d.ts +37 -0
  31. package/components/datatable/DataTable.vue.d.ts +745 -0
  32. package/components/datepicker/DatePicker.vue.d.ts +52 -0
  33. package/components/daypicker/DayPicker.vue.d.ts +52 -0
  34. package/components/dialog/Dialog.vue.d.ts +465 -0
  35. package/components/dialogassetnamedetail/DialogAssetNameDetail.vue.d.ts +46 -0
  36. package/components/dialogassetnamedetail/options/columns.d.ts +2 -0
  37. package/components/dialogassetnamedetail/options/filter.d.ts +2 -0
  38. package/components/dialogconfirm/DialogConfirm.vue.d.ts +165 -0
  39. package/components/dialogform/DialogForm.vue.d.ts +350 -0
  40. package/components/dialoglinkedasset/DialogLinkedAsset.vue.d.ts +106 -0
  41. package/components/dialogprintqr/DialogPrintQR.vue.d.ts +18 -0
  42. package/components/dialogreportdamage/DialogReportDamage.vue.d.ts +34 -0
  43. package/components/dialogreportmissing/DialogReportMissing.vue.d.ts +33 -0
  44. package/components/dialogreporttag/DialogReportTag.vue.d.ts +31 -0
  45. package/components/dialogselecttree/DialogSelectTree.vue.d.ts +137 -0
  46. package/components/dialogselectuser/DialogSelectUser.vue.d.ts +102 -0
  47. package/components/dialogselectuser/options/columns.d.ts +3 -0
  48. package/components/dialogtransferlog/DialogTransferLog.vue.d.ts +16 -0
  49. package/components/dropdown/Dropdown.vue.d.ts +288 -0
  50. package/components/editor/Editor.vue.d.ts +192 -0
  51. package/components/fieldwrapper/FieldWrapper.vue.d.ts +86 -0
  52. package/components/fileupload/FileUpload.vue.d.ts +170 -0
  53. package/components/filtercontainer/FilterContainer.vue.d.ts +217 -0
  54. package/components/form/Form.vue.d.ts +319 -0
  55. package/components/icon/Icon.vue.d.ts +260 -0
  56. package/components/image/Image.vue.d.ts +411 -0
  57. package/components/imagecompressor/ImageCompressor.vue.d.ts +237 -0
  58. package/components/index.d.ts +83 -0
  59. package/components/inlinemessage/InlineMessage.vue.d.ts +167 -0
  60. package/components/inputbadge/InputBadge.vue.d.ts +122 -0
  61. package/components/inputcurrency/InputCurrency.vue.d.ts +170 -0
  62. package/components/inputcurrency/helpers/currency.helper.d.ts +8 -0
  63. package/components/inputemail/InputEmail.vue.d.ts +26 -0
  64. package/components/inputnumber/InputNumber.vue.d.ts +288 -0
  65. package/components/inputotp/InputOtp.vue.d.ts +3 -0
  66. package/components/inputpassword/InputPassword.vue.d.ts +33 -0
  67. package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +99 -0
  68. package/components/inputrangenumber/InputRangeNumber.vue.d.ts +121 -0
  69. package/components/inputsearch/InputSearch.vue.d.ts +36 -0
  70. package/components/inputtext/InputText.vue.d.ts +353 -0
  71. package/components/inputurl/InputURL.vue.d.ts +41 -0
  72. package/components/invisiblefield/InvisibleField.vue.d.ts +32 -0
  73. package/components/languagedropdown/LanguageDropdown.vue.d.ts +33 -0
  74. package/components/languageswitcher/LanguageSwitcher.vue.d.ts +15 -0
  75. package/components/litedropdown/LiteDropdown.vue.d.ts +98 -0
  76. package/components/loading/Loading.vue.d.ts +47 -0
  77. package/components/loading/store/loading.store.d.ts +8 -0
  78. package/components/menu/Menu.vue.d.ts +391 -0
  79. package/components/menuitem/index.d.ts +106 -0
  80. package/components/multiselect/MultiSelect.vue.d.ts +195 -0
  81. package/components/overlaypanel/OverlayPanel.vue.d.ts +302 -0
  82. package/components/paginator/Paginator.vue.d.ts +285 -0
  83. package/components/passthrough/index.d.ts +16 -0
  84. package/components/steps/Steps.vue.d.ts +20 -0
  85. package/components/tabmenu/TabMenu.vue.d.ts +104 -0
  86. package/components/tagtype/TagType.vue.d.ts +26 -0
  87. package/components/textarea/Textarea.vue.d.ts +171 -0
  88. package/components/timeline/Timeline.vue.d.ts +140 -0
  89. package/components/toast/Toast.vue.d.ts +368 -0
  90. package/components/toggleswitch/ToggleSwitch.vue.d.ts +282 -0
  91. package/components/transactionroles/TransactionRoles.vue.d.ts +58 -0
  92. package/components/tree/Tree.vue.d.ts +151 -0
  93. package/components/tree/helpers/filterNodeKeys.helper.d.ts +22 -0
  94. package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +8 -0
  95. package/components/treesearchinput/TreeSearchInput.vue.d.ts +16 -0
  96. package/components/ts-helpers.d.ts +91 -0
  97. package/components/username/UserName.vue.d.ts +123 -0
  98. package/components/userwithicon/UserWithIcon.vue.d.ts +21 -0
  99. package/components/validatormessage/ValidatorMessage.vue.d.ts +12 -0
  100. package/config/defaultProps.d.ts +3 -0
  101. package/config/index.d.ts +3 -0
  102. package/config/locale.d.ts +3 -0
  103. package/directives/focus.d.ts +7 -0
  104. package/directives/index.d.ts +1 -0
  105. package/event-bus/index.d.ts +66 -0
  106. package/event-bus/mitt.d.ts +41 -0
  107. package/loading-page-BrQattYE.js +1 -0
  108. package/loading-page-CgfbWppy.js +1 -0
  109. package/loading-page-CoC9UhfC.js +4 -0
  110. package/loading-page-CoXtqoc9.js +4 -0
  111. package/loading-page-DbLuqCHa.js +1 -0
  112. package/loading-page-f8D03l3G.js +4 -0
  113. package/loading-plane-CgfbWppy.js +1 -0
  114. package/loading-plane-CoXtqoc9.js +4 -0
  115. package/loading-table-Bdr9ZhtP.js +1 -0
  116. package/loading-table-ByUoWqUo.js +4 -0
  117. package/loading-table-BygEMzFM.js +4 -0
  118. package/loading-table-BzrSQlA0.js +1 -0
  119. package/loading-table-D9bw9OcI.js +4 -0
  120. package/loading-table-chOgXi94.js +1 -0
  121. package/main.d.ts +34 -0
  122. package/no-data-CTKux8RI.js +4 -0
  123. package/no-data-Cgze_Rvp.js +1 -0
  124. package/no-data-DLHO1L_u.js +4 -0
  125. package/no-data-Dep79CBh.js +1 -0
  126. package/no-data-g0dJCy2p.js +4 -0
  127. package/no-data-y1X5WtcQ.js +1 -0
  128. package/package.json +27 -0
  129. package/plugins/VueHtmlToPaper.d.ts +11 -0
  130. package/plugins/WangsVue.d.ts +311 -0
  131. package/plugins/formValidation.d.ts +20 -0
  132. package/plugins/i18n-extension.d.ts +4 -0
  133. package/plugins/i18n.d.ts +103 -0
  134. package/stats.html +4949 -0
  135. package/style.css +1 -0
  136. package/utils/date.util.d.ts +79 -0
  137. package/utils/exportToExcel.util.d.ts +27 -0
  138. package/utils/formatTagCode.util.d.ts +1 -0
  139. package/utils/getStatusSeverity.util.d.ts +33 -0
  140. package/utils/index.d.ts +9 -0
  141. package/utils/isBasic.util.d.ts +1 -0
  142. package/utils/listenSidebarChanges.util.d.ts +16 -0
  143. package/utils/object.util.d.ts +27 -0
  144. package/utils/role.util.d.ts +70 -0
  145. package/utils/toast.util.d.ts +120 -0
  146. package/utils/xlsx.util.d.ts +19 -0
  147. package/wangsvue-fats.js +57238 -0
  148. package/wangsvue-fats.system.js +427 -0
@@ -0,0 +1,52 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ /**
4
+ * DatePicker component props
5
+ */
6
+ export interface DatePickerProps {
7
+ /**
8
+ * DatePicker modelValue is day index from 0
9
+ */
10
+ modelValue?: number[];
11
+ /**
12
+ * DatePicker initialValue is day index from 0
13
+ */
14
+ initialValue?: number[];
15
+ /**
16
+ * Display label on top of Date Input.
17
+ */
18
+ label?: string;
19
+ /**
20
+ * Enable Validator using vee-validate. Combine with Form that handle form validation.
21
+ */
22
+ useValidator?: boolean;
23
+ /**
24
+ * When used as field in From Validation using Form,
25
+ * specify the unique field name, match with your needs for API request.
26
+ */
27
+ fieldName?: string;
28
+ /**
29
+ * Whether this field should be filled or not.
30
+ */
31
+ mandatory?: boolean;
32
+ /**
33
+ * Sets the invalid state.
34
+ */
35
+ invalid?: boolean;
36
+ /**
37
+ * Set the custom validator message.
38
+ * By default each field has preserved with its validator message, you don't need to worrying about the message.
39
+ */
40
+ errorMessage?: { empty: string };
41
+ }
42
+
43
+ /**
44
+ * DatePicker component emits
45
+ */
46
+ export type DatePickerEmits = {
47
+ 'update:modelValue': [days?: number[]];
48
+ };
49
+
50
+ declare const DatePicker: DefineComponent<DatePickerProps, DatePickerEmits>;
51
+
52
+ export default DatePicker;
@@ -0,0 +1,52 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ /**
4
+ * DayPicker component props
5
+ */
6
+ export interface DayPickerProps {
7
+ /**
8
+ * DayPicker modelValue is day index from 0
9
+ */
10
+ modelValue?: number[];
11
+ /**
12
+ * DayPicker initialValue is day index from 0
13
+ */
14
+ initialValue?: number[];
15
+ /**
16
+ * Display label on top of Date Input.
17
+ */
18
+ label?: string;
19
+ /**
20
+ * Enable Validator using vee-validate. Combine with Form that handle form validation.
21
+ */
22
+ useValidator?: boolean;
23
+ /**
24
+ * When used as field in From Validation using Form,
25
+ * specify the unique field name, match with your needs for API request.
26
+ */
27
+ fieldName?: string;
28
+ /**
29
+ * Whether this field should be filled or not.
30
+ */
31
+ mandatory?: boolean;
32
+ /**
33
+ * Sets the invalid state.
34
+ */
35
+ invalid?: boolean;
36
+ /**
37
+ * Set the custom validator message.
38
+ * By default each field has preserved with its validator message, you don't need to worrying about the message.
39
+ */
40
+ errorMessage?: { empty: string };
41
+ }
42
+
43
+ /**
44
+ * DayPicker component emits
45
+ */
46
+ export type DayPickerEmits = {
47
+ 'update:modelValue': [days?: number[]];
48
+ };
49
+
50
+ declare const DayPicker: DefineComponent<DayPickerProps, DayPickerEmits>;
51
+
52
+ export default DayPicker;
@@ -0,0 +1,465 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ /**
3
+ *
4
+ * Dialog is a container to display content in an overlay window.
5
+ *
6
+ * [Live Demo](https://www.WangsVue.org/dialog)
7
+ *
8
+ * @module dialog
9
+ *
10
+ */
11
+ import { HTMLAttributes, TransitionProps, VNode } from 'vue';
12
+
13
+ import { ComponentHooks } from '../basecomponent';
14
+ import { PassThroughOptions } from '../passthrough';
15
+ import {
16
+ ClassComponent,
17
+ GlobalComponentConstructor,
18
+ PassThrough,
19
+ } from '../ts-helpers';
20
+
21
+ export declare type DialogPassThroughOptionType<T = any> =
22
+ | DialogPassThroughAttributes
23
+ | ((
24
+ options: DialogPassThroughMethodOptions<T>,
25
+ ) => DialogPassThroughAttributes | string)
26
+ | string
27
+ | null
28
+ | undefined;
29
+
30
+ export declare type DialogPassThroughTransitionType<T = any> =
31
+ | TransitionProps
32
+ | ((options: DialogPassThroughMethodOptions<T>) => TransitionProps)
33
+ | undefined;
34
+
35
+ /**
36
+ * Custom passthrough(pt) option method.
37
+ */
38
+ export interface DialogPassThroughMethodOptions<T> {
39
+ /**
40
+ * Defines instance.
41
+ */
42
+ instance: any;
43
+ /**
44
+ * Defines valid properties.
45
+ */
46
+ props: DialogProps;
47
+ /**
48
+ * Defines current inline state.
49
+ */
50
+ state: DialogState;
51
+ /**
52
+ * Defines parent instance.
53
+ */
54
+ parent: T;
55
+ /**
56
+ * Defines passthrough(pt) options in global config.
57
+ */
58
+ global: object | undefined;
59
+ }
60
+
61
+ /**
62
+ * Custom passthrough(pt) options.
63
+ * @see {@link DialogProps.pt}
64
+ */
65
+ export interface DialogPassThroughOptions<T = any> {
66
+ /**
67
+ * Used to pass attributes to the root's DOM element.
68
+ */
69
+ root?: DialogPassThroughOptionType<T>;
70
+ /**
71
+ * Used to pass attributes to the header's DOM element.
72
+ */
73
+ header?: DialogPassThroughOptionType<T>;
74
+ /**
75
+ * Used to pass attributes to the header title's DOM element.
76
+ */
77
+ title?: DialogPassThroughOptionType<T>;
78
+ /**
79
+ * Used to pass attributes to the header icons' DOM element.
80
+ */
81
+ icons?: DialogPassThroughOptionType<T>;
82
+ /**
83
+ * Used to pass attributes to the maximizable button's DOM element.
84
+ */
85
+ maximizableButton?: DialogPassThroughOptionType<T>;
86
+ /**
87
+ * Used to pass attributes to the maximizable icon's DOM element.
88
+ */
89
+ maximizableIcon?: DialogPassThroughOptionType<T>;
90
+ /**
91
+ * Used to pass attributes to the close button's component.
92
+ */
93
+ closeButton?: DialogPassThroughOptionType<T>;
94
+ /**
95
+ * Used to pass attributes to the close button icon's component.
96
+ */
97
+ closeButtonIcon?: DialogPassThroughOptionType<T>;
98
+ /**
99
+ * Used to pass attributes to the content's DOM element.
100
+ */
101
+ content?: DialogPassThroughOptionType<T>;
102
+ /**
103
+ * Used to pass attributes to the footer's DOM element.
104
+ */
105
+ footer?: DialogPassThroughOptionType<T>;
106
+ /**
107
+ * Used to pass attributes to the mask's DOM element.
108
+ */
109
+ mask?: DialogPassThroughOptionType<T>;
110
+ /**
111
+ * Used to manage all lifecycle hooks.
112
+ * @see {@link BaseComponent.ComponentHooks}
113
+ */
114
+ hooks?: ComponentHooks;
115
+ /**
116
+ * Used to control Vue Transition API.
117
+ */
118
+ transition?: DialogPassThroughTransitionType<T>;
119
+ }
120
+
121
+ /**
122
+ * Custom passthrough attributes for each DOM elements
123
+ */
124
+ export interface DialogPassThroughAttributes {
125
+ [key: string]: any;
126
+ }
127
+
128
+ /**
129
+ * Defines current inline state in Dialog component.
130
+ */
131
+ export interface DialogState {
132
+ /**
133
+ * Current visible state of the container as a boolean.
134
+ * @defaultValue false
135
+ */
136
+ containerVisible: boolean;
137
+ /**
138
+ * Current maximized state as a boolean.
139
+ * @defaultValue false
140
+ */
141
+ maximized: boolean;
142
+ }
143
+
144
+ /**
145
+ * Custom breakpoint metadata.
146
+ */
147
+ export interface DialogBreakpoints {
148
+ /**
149
+ * Breakpoint for responsive mode.
150
+ *
151
+ * Example:
152
+ *
153
+ * <Dialog :breakpoints="{'960px': '75vw', '640px': '100vw'}" ... />
154
+ *
155
+ * Result:
156
+ *
157
+ * @media screen and (max-width: ${breakpoint[key]}) {
158
+ * .p-dialog[attributeSelector] {
159
+ * width: ${breakpoint[value]} !important;
160
+ * }
161
+ * }
162
+ */
163
+ [key: string]: string;
164
+ }
165
+
166
+ /**
167
+ * Defines valid properties in Dialog component.
168
+ */
169
+ export interface DialogProps {
170
+ /**
171
+ * Title content of the dialog.
172
+ */
173
+ header?: string | undefined;
174
+ /**
175
+ * Footer content of the dialog.
176
+ */
177
+ footer?: string | undefined;
178
+ /**
179
+ * Specifies the visibility of the dialog.
180
+ * @defaultValue false
181
+ */
182
+ visible?: boolean | undefined;
183
+ /**
184
+ * Defines if background should be blocked when dialog is displayed.
185
+ * @defaultValue true
186
+ */
187
+ modal?: boolean | undefined;
188
+ /**
189
+ * Style of the content section.
190
+ */
191
+ contentStyle?: any;
192
+ /**
193
+ * Used to pass all properties of the HTMLDivElement to the overlay panel inside the component.
194
+ */
195
+ contentProps?: HTMLAttributes | undefined;
196
+ /**
197
+ * When enabled dialog is displayed in RTL direction.
198
+ * @defaultValue false
199
+ */
200
+ rtl?: boolean | undefined;
201
+ /**
202
+ * Adds a close icon to the header to hide the dialog.
203
+ * @defaultValue true
204
+ */
205
+ closable?: boolean | undefined;
206
+ /**
207
+ * Specifies if clicking the modal background should hide the dialog.
208
+ * @defaultValue false
209
+ */
210
+ dismissableMask?: boolean | undefined;
211
+ /**
212
+ * Specifies if pressing escape key should hide the dialog.
213
+ * @defaultValue true
214
+ */
215
+ closeOnEscape?: boolean | undefined;
216
+ /**
217
+ * Whether to show the header or not.
218
+ * @defaultValue true
219
+ */
220
+ showHeader?: boolean | undefined;
221
+ /**
222
+ * Whether background scroll should be blocked when dialog is visible.
223
+ * @defaultValue false
224
+ */
225
+ blockScroll?: boolean | undefined;
226
+ /**
227
+ * Base zIndex value to use in layering.
228
+ * @defaultValue 0
229
+ */
230
+ baseZIndex?: number | undefined;
231
+ /**
232
+ * Whether to automatically manage layering.
233
+ * @defaultValue true
234
+ */
235
+ autoZIndex?: boolean | undefined;
236
+ /**
237
+ * Position of the dialog.
238
+ * @defaultValue center
239
+ */
240
+ position?:
241
+ | 'center'
242
+ | 'top'
243
+ | 'bottom'
244
+ | 'left'
245
+ | 'right'
246
+ | 'topleft'
247
+ | 'topright'
248
+ | 'bottomleft'
249
+ | 'bottomright'
250
+ | undefined;
251
+ /**
252
+ * Whether the dialog can be displayed full screen.
253
+ * @defaultValue false
254
+ */
255
+ maximizable?: boolean | undefined;
256
+ /**
257
+ * Object literal to define widths per screen size.
258
+ */
259
+ breakpoints?: DialogBreakpoints;
260
+ /**
261
+ * Enables dragging to change the position using header.
262
+ * @defaultValue true
263
+ */
264
+ draggable?: boolean | undefined;
265
+ /**
266
+ * Keeps dialog in the viewport when dragging.
267
+ * @defaultValue true
268
+ */
269
+ keepInViewPort?: boolean | undefined;
270
+ /**
271
+ * Minimum value for the left coordinate of dialog in dragging.
272
+ * @defaultValue 0.
273
+ */
274
+ minX?: number | undefined;
275
+ /**
276
+ * Minimum value for the top coordinate of dialog in dragging.
277
+ * @defaultValue 0
278
+ */
279
+ minY?: number | undefined;
280
+ /**
281
+ * A valid query selector or an HTMLElement to specify where the dialog gets attached.
282
+ * @defaultValue body
283
+ */
284
+ appendTo?: 'body' | 'self' | string | undefined | HTMLElement;
285
+ /**
286
+ * Style of the dynamic dialog.
287
+ */
288
+ style?: any;
289
+ /**
290
+ * Icon to display in the dialog close button.
291
+ * @deprecated since v3.27.0. Use 'closeicon' slot.
292
+ */
293
+ closeIcon?: string | undefined;
294
+ /**
295
+ * Icon to display in the dialog maximize button when dialog is not maximized.
296
+ * @deprecated since v3.27.0. Use 'maximizeicon' slot.
297
+ */
298
+ maximizeIcon?: string | undefined;
299
+ /**
300
+ * Icon to display in the dialog maximize button when dialog is minimized.
301
+ * @deprecated since v3.27.0. Use 'minimizeicon' slot.
302
+ */
303
+ minimizeIcon?: string | undefined;
304
+ /**
305
+ * Used to pass attributes to DOM elements inside the component.
306
+ * @type {DialogPassThroughOptions}
307
+ */
308
+ pt?: PassThrough<DialogPassThroughOptions>;
309
+ /**
310
+ * Used to configure passthrough(pt) options of the component.
311
+ * @type {PassThroughOptions}
312
+ */
313
+ ptOptions?: PassThroughOptions;
314
+ /**
315
+ * When enabled, it removes component related styles in the core.
316
+ * @defaultValue false
317
+ */
318
+ unstyled?: boolean;
319
+ /**
320
+ * A string or string array class to append to the root section.
321
+ */
322
+ class?: string | string[] | object[];
323
+ /**
324
+ * A string or string array class to append to the dialog header section.
325
+ */
326
+ headerClass?: string | string[] | object[];
327
+ /**
328
+ * A string or string array class to append to the dialog content section.
329
+ */
330
+ contentClass?: string | string[] | object[];
331
+ /**
332
+ * A string or string array class to append to the dialog footer section.
333
+ */
334
+ footerClass?: string | string[] | object[];
335
+ }
336
+
337
+ /**
338
+ * Defines valid slots in Dialog component.
339
+ */
340
+ export interface DialogSlots {
341
+ /**
342
+ * Default content slot.
343
+ */
344
+ default(): VNode[];
345
+ /**
346
+ * Custom header template.
347
+ */
348
+ header(): VNode[];
349
+ /**
350
+ * Custom footer template.
351
+ */
352
+ footer(): VNode[];
353
+ /**
354
+ * Custom close icon template.
355
+ * @param {Object} scope - close icon slot's params.
356
+ */
357
+ closeicon(scope: {
358
+ /**
359
+ * Style class of the close icon
360
+ */
361
+ class: any;
362
+ }): VNode[];
363
+ /**
364
+ * Custom maximize icon template of dialog.
365
+ * @param {Object} scope - maximize icon slot's params.
366
+ */
367
+ maximizeicon(scope: {
368
+ /**
369
+ * Maximized state as a boolean
370
+ */
371
+ maximized: boolean;
372
+ /**
373
+ * Style class of the maximize icon
374
+ */
375
+ class: any;
376
+ }): VNode[];
377
+ /**
378
+ * Custom container slot.
379
+ * @param {Object} scope - container slot's params.
380
+ */
381
+ container(scope: {
382
+ /**
383
+ * Close dialog function.
384
+ * @deprecated since v3.39.0. Use 'closeCallback' property instead.
385
+ */
386
+ onClose: () => void;
387
+ /**
388
+ * Maximize/minimize dialog function.
389
+ * @param {Event} event - Browser event
390
+ * @deprecated since v3.39.0. Use 'maximizeCallback' property instead.
391
+ */
392
+ onMaximize: (event: Event) => void;
393
+ /**
394
+ * Close dialog function.
395
+ */
396
+ closeCallback: () => void;
397
+ /**
398
+ * Maximize/minimize dialog function.
399
+ * @param {Event} event - Browser event
400
+ */
401
+ maximizeCallback: (event: Event) => void;
402
+ }): VNode[];
403
+ }
404
+
405
+ /**
406
+ * Defines valid emits in Dialog component.
407
+ */
408
+ export type DialogEmits = {
409
+ /**
410
+ * Emitted when the visible changes.
411
+ * @param {boolean} value - New value.
412
+ */
413
+ 'update:visible': [value: boolean];
414
+ /**
415
+ * Callback to invoke when dialog is hidden.
416
+ */
417
+ 'hide': [];
418
+ /**
419
+ * Callback to invoke after dialog is hidden.
420
+ */
421
+ 'afterHide': [];
422
+ /**
423
+ * Callback to invoke when dialog is shown.
424
+ */
425
+ 'show': [];
426
+ /**
427
+ * Fired when a dialog gets maximized.
428
+ * @param {event} event - Browser event.
429
+ */
430
+ 'maximize': [event: Event];
431
+ /**
432
+ * Fired when a dialog gets unmaximized.
433
+ * @param {event} event - Browser event.
434
+ */
435
+ 'unmaximize': [event: Event];
436
+ /**
437
+ * Fired when a dialog drag completes.
438
+ * @param {event} event - Browser event.
439
+ */
440
+ 'dragend': [event: Event];
441
+ };
442
+
443
+ /**
444
+ * **WangsVue - Dialog**
445
+ *
446
+ * _Dialog is a container to display content in an overlay window._
447
+ *
448
+ * --- ---
449
+ * ![WangsVue](https://www.wangs.id/wp-content/uploads/2023/12/cropped-Logo_Wangsid-removebg-preview-192x192.png)
450
+ *
451
+ * @group Component
452
+ */
453
+ declare class Dialog extends ClassComponent<
454
+ DialogProps,
455
+ DialogSlots,
456
+ DialogEmits
457
+ > {}
458
+
459
+ declare module '@vue/runtime-core' {
460
+ interface GlobalComponents {
461
+ Dialog: GlobalComponentConstructor<Dialog>;
462
+ }
463
+ }
464
+
465
+ export default Dialog;
@@ -0,0 +1,46 @@
1
+ import { DefineComponent } from 'vue';
2
+
3
+ /**
4
+ * Props for DialogAssetNameDetail component
5
+ */
6
+ export interface DialogAssetNameDetailProps {
7
+ /**
8
+ * The header of the dialog.
9
+ *
10
+ * @defaultValue "Asset Name Detail"
11
+ */
12
+ header?: string;
13
+
14
+ /**
15
+ * The ID of the asset.
16
+ */
17
+ id: string;
18
+
19
+ /**
20
+ * The query params for fetching assets.
21
+ */
22
+ params?: { [key: string]: string };
23
+
24
+ /**
25
+ * Specifies the visibility of the dialog.
26
+ * @defaultValue false
27
+ */
28
+ visible?: boolean | undefined;
29
+ }
30
+
31
+ /**
32
+ * Emits for DialogAssetNameDetail component
33
+ */
34
+ export type DialogAssetNameDetailEmits = {
35
+ /**
36
+ * Emits when the dialog is closed. Wether from cancel button, close button, or ESC button pressed.
37
+ */
38
+ 'update:visible': [state: boolean];
39
+ };
40
+
41
+ declare const DialogAssetNameDetail: DefineComponent<
42
+ DialogAssetNameDetailProps,
43
+ DialogAssetNameDetailEmits
44
+ >;
45
+
46
+ export default DialogAssetNameDetail;
@@ -0,0 +1,2 @@
1
+ import { TableColumn } from '../../../components/datatable/DataTable.vue.d';
2
+ export declare const assetNameDetailColumns: () => TableColumn[];
@@ -0,0 +1,2 @@
1
+ import { FilterField } from 'components/filtercontainer/FilterContainer.vue.d';
2
+ export declare const filterFields: FilterField[];