@fewangsit/wangsvue-fats 1.0.0-alpha.38 → 1.0.0-alpha.39
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.
- package/components/animation/Animation.vue.d.ts +8 -0
- package/components/badgegroup/BadgeGroup.vue.d.ts +2 -0
- package/components/basetree/BaseTree.vue.d.ts +2 -1
- package/components/button/Button.vue.d.ts +3 -2
- package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +1 -0
- package/components/buttonradio/ButtonRadio.vue.d.ts +1 -0
- package/components/buttonscan/ButtonScan.vue.d.ts +2 -1
- package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +2 -1
- package/components/buttonsplit/ButtonSplit.vue.d.ts +7 -5
- package/components/buttontoggle/ButtonToggle.vue.d.ts +1 -0
- package/components/calendar/Calendar.vue.d.ts +26 -3
- package/components/card/Card.vue.d.ts +1 -0
- package/components/checkbox/Checkbox.vue.d.ts +1 -0
- package/components/datatable/DataTable.vue.d.ts +4 -2
- package/components/dialog/Dialog.vue.d.ts +1 -0
- package/components/dialogconfirm/DialogConfirm.vue.d.ts +1 -0
- package/components/dialogform/DialogForm.vue.d.ts +1 -0
- package/components/dialogselecttree/DialogSelectTree.vue.d.ts +3 -2
- package/components/dialogselectuser/DialogSelectUser.vue.d.ts +102 -0
- package/components/dialogselectuser/options/columns.d.ts +3 -0
- package/components/dropdown/Dropdown.vue.d.ts +4 -2
- package/components/editor/Editor.vue.d.ts +1 -0
- package/components/fileupload/FileUpload.vue.d.ts +1 -0
- package/components/filtercontainer/FilterContainer.vue.d.ts +5 -3
- package/components/form/Form.vue.d.ts +2 -1
- package/components/image/Image.vue.d.ts +1 -0
- package/components/inputemail/InputEmail.vue.d.ts +1 -0
- package/components/inputnumber/InputNumber.vue.d.ts +1 -0
- package/components/inputpassword/InputPassword.vue.d.ts +1 -0
- package/components/inputrangenumber/InputRangeNumber.vue.d.ts +1 -0
- package/components/inputtext/InputText.vue.d.ts +2 -1
- package/components/inputurl/InputURL.vue.d.ts +3 -1
- package/components/languagedropdown/LanguageDropdown.vue.d.ts +1 -0
- package/components/litedropdown/LiteDropdown.vue.d.ts +3 -1
- package/components/menu/Menu.vue.d.ts +2 -1
- package/components/multiselect/MultiSelect.vue.d.ts +1 -0
- package/components/overlaypanel/OverlayPanel.vue.d.ts +1 -0
- package/components/tabmenu/TabMenu.vue.d.ts +2 -1
- package/components/textarea/Textarea.vue.d.ts +2 -1
- package/components/timeline/Timeline.vue.d.ts +1 -1
- package/components/toast/Toast.vue.d.ts +2 -1
- package/components/toggleswitch/ToggleSwitch.vue.d.ts +1 -0
- package/components/tree/Tree.vue.d.ts +4 -2
- package/components/username/UserName.vue.d.ts +5 -0
- package/components/userwithicon/UserWithIcon.vue.d.ts +1 -0
- package/event-bus/index.d.ts +1 -1
- package/package.json +1 -1
- package/plugins/WangsVue.d.ts +33 -33
- package/plugins/formValidation.d.ts +3 -3
- package/plugins/i18n.d.ts +1 -1
- package/stats.html +1 -1
- package/style.css +1 -1
- package/wangsvue-fats.es.js +40656 -109884
- package/wangsvue-fats.system.js +70 -209
|
@@ -6,6 +6,14 @@ export interface AnimationDefaultConfig {
|
|
|
6
6
|
|
|
7
7
|
export interface AnimationProps {
|
|
8
8
|
animation: 'no-data' | 'loading-plane' | 'loading-page' | 'loading-table';
|
|
9
|
+
/**
|
|
10
|
+
* @default true
|
|
11
|
+
*/
|
|
12
|
+
autoplay?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @default true
|
|
15
|
+
*/
|
|
16
|
+
loop?: boolean;
|
|
9
17
|
}
|
|
10
18
|
|
|
11
19
|
/**
|
|
@@ -8,7 +8,9 @@
|
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
import { VNode } from 'vue';
|
|
11
|
+
|
|
11
12
|
import { ComponentHooks } from '../basecomponent';
|
|
13
|
+
import { MenuItem } from '../menuitem';
|
|
12
14
|
import { PassThroughOptions } from '../passthrough';
|
|
13
15
|
import {
|
|
14
16
|
ClassComponent,
|
|
@@ -16,7 +18,6 @@ import {
|
|
|
16
18
|
HintedString,
|
|
17
19
|
PassThrough,
|
|
18
20
|
} from '../ts-helpers';
|
|
19
|
-
import { MenuItem } from '../menuitem';
|
|
20
21
|
|
|
21
22
|
export declare type TreePassThroughOptionType<T = any> =
|
|
22
23
|
| TreePassThroughAttributes
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { TooltipOptions } from 'primevue/tooltip';
|
|
1
2
|
import { ButtonHTMLAttributes, VNode } from 'vue';
|
|
3
|
+
|
|
2
4
|
import { WangsIcons } from '../icon/Icon.vue.d';
|
|
3
|
-
import { TooltipOptions } from 'primevue/tooltip';
|
|
4
5
|
import {
|
|
5
|
-
GlobalComponentConstructor,
|
|
6
6
|
ClassComponent,
|
|
7
|
+
GlobalComponentConstructor,
|
|
7
8
|
HintedString,
|
|
8
9
|
} from '../ts-helpers';
|
|
9
10
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ClassComponent, HintedString } from '../../components/ts-helpers.d';
|
|
2
1
|
import { ButtonProps } from '../../components/button/Button.vue.d';
|
|
2
|
+
import { ClassComponent, HintedString } from '../../components/ts-helpers.d';
|
|
3
|
+
|
|
3
4
|
import { WangsIcons } from '../icon/Icon.vue.d';
|
|
4
5
|
|
|
5
6
|
export type ScannerErrorCode =
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Slot } from 'vue';
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
import { TreeNode } from '../basetree/BaseTree.vue.d';
|
|
4
4
|
import { QueryParams, ShortFetchResponse } from '../datatable/DataTable.vue.d';
|
|
5
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
5
6
|
|
|
6
7
|
export type KeysModelValue = number[] | undefined;
|
|
7
8
|
export type NodeModelValue =
|
|
@@ -7,21 +7,23 @@
|
|
|
7
7
|
* @module splitbutton
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
|
-
import { ButtonHTMLAttributes, VNode } from 'vue';
|
|
11
|
-
import { ComponentHooks } from '../basecomponent';
|
|
12
10
|
import { ButtonPassThroughOptions } from 'primevue/button';
|
|
13
|
-
import { MenuItem } from '../menuitem';
|
|
14
|
-
import { PassThroughOptions } from '../passthrough';
|
|
15
11
|
import {
|
|
16
12
|
TieredMenuPassThroughOptions,
|
|
17
13
|
TieredMenuRouterBindProps,
|
|
18
14
|
} from 'primevue/tieredmenu';
|
|
15
|
+
import { ButtonHTMLAttributes, VNode } from 'vue';
|
|
16
|
+
|
|
17
|
+
import { ComponentHooks } from '../basecomponent';
|
|
18
|
+
import { MenuItem } from '../menuitem';
|
|
19
|
+
import { PassThroughOptions } from '../passthrough';
|
|
19
20
|
import {
|
|
20
21
|
ClassComponent,
|
|
21
22
|
GlobalComponentConstructor,
|
|
22
|
-
PassThrough,
|
|
23
23
|
HintedString,
|
|
24
|
+
PassThrough,
|
|
24
25
|
} from '../ts-helpers';
|
|
26
|
+
|
|
25
27
|
import { WangsIcons } from '../icon/Icon.vue';
|
|
26
28
|
|
|
27
29
|
export declare type ButtonSplitPassThroughOptionType =
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { TransitionProps } from 'vue';
|
|
1
|
+
import { Slot, TransitionProps } from 'vue';
|
|
2
|
+
|
|
2
3
|
import { CustomValidation } from '../form/Form.vue.d';
|
|
3
4
|
import { ClassComponent } from '../ts-helpers';
|
|
4
5
|
|
|
@@ -321,6 +322,11 @@ export interface CalendarProps {
|
|
|
321
322
|
*/
|
|
322
323
|
readonly?: boolean;
|
|
323
324
|
|
|
325
|
+
/**
|
|
326
|
+
* The class name of the overlay element.
|
|
327
|
+
*/
|
|
328
|
+
overlayClass?: string;
|
|
329
|
+
|
|
324
330
|
/**
|
|
325
331
|
* Identifier of the underlying input element.
|
|
326
332
|
*/
|
|
@@ -337,7 +343,7 @@ export interface CalendarProps {
|
|
|
337
343
|
* @default 'single'
|
|
338
344
|
* @deprecated use selectionMode
|
|
339
345
|
*/
|
|
340
|
-
mode?: 'range' | 'single';
|
|
346
|
+
mode?: 'range' | 'single' | 'multiple';
|
|
341
347
|
|
|
342
348
|
/**
|
|
343
349
|
* Whether single date or date range model value.
|
|
@@ -474,6 +480,11 @@ export interface CalendarProps {
|
|
|
474
480
|
*/
|
|
475
481
|
onlyWeekdays?: boolean;
|
|
476
482
|
|
|
483
|
+
/**
|
|
484
|
+
* Exclude certain dates from selection.
|
|
485
|
+
*/
|
|
486
|
+
excludeDates?: Date[];
|
|
487
|
+
|
|
477
488
|
/**
|
|
478
489
|
* The minimum selectable date.
|
|
479
490
|
*/
|
|
@@ -556,6 +567,18 @@ export type CalendarEmits = {
|
|
|
556
567
|
'dateSelect': [date: Date | Date[]];
|
|
557
568
|
};
|
|
558
569
|
|
|
570
|
+
export interface CalendarSlots {
|
|
571
|
+
/**
|
|
572
|
+
* Slot for custom root input element
|
|
573
|
+
*/
|
|
574
|
+
'default': Slot<{ onClick: (event: Event) => void }>;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Slot for additional content in overlay
|
|
578
|
+
*/
|
|
579
|
+
'addon-overlay': Slot;
|
|
580
|
+
}
|
|
581
|
+
|
|
559
582
|
/**
|
|
560
583
|
* **WangsVue - Calendar**
|
|
561
584
|
*
|
|
@@ -568,7 +591,7 @@ export type CalendarEmits = {
|
|
|
568
591
|
*/
|
|
569
592
|
declare class Calendar extends ClassComponent<
|
|
570
593
|
CalendarProps,
|
|
571
|
-
|
|
594
|
+
CalendarSlots,
|
|
572
595
|
CalendarEmits
|
|
573
596
|
> {}
|
|
574
597
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
|
|
1
3
|
import { DialogConfirmProps } from '../../components/dialogconfirm/DialogConfirm.vue.d';
|
|
2
4
|
import { MenuItem } from '../../components/menuitem';
|
|
3
|
-
import { ClassComponent, HintedString } from '../ts-helpers.d';
|
|
4
|
-
import { Component } from 'vue';
|
|
5
5
|
import { DateOptions } from '../../utils/date.util';
|
|
6
6
|
|
|
7
|
+
import { ClassComponent, HintedString } from '../ts-helpers.d';
|
|
8
|
+
|
|
7
9
|
export interface DataTableLocaleConfig {
|
|
8
10
|
/**
|
|
9
11
|
* Message to display on loading ovevrlay while downloading
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GenericObject } from 'vee-validate';
|
|
2
2
|
import { Slot } from 'vue';
|
|
3
|
+
|
|
3
4
|
import FormInstance, { FormPayload, FormProps } from '../form/Form.vue.d';
|
|
4
5
|
import { WangsIcons } from '../icon/Icon.vue.d';
|
|
5
6
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { TreeSelectionKeys } from 'primevue/tree';
|
|
2
|
+
import { Slot } from 'vue';
|
|
3
|
+
|
|
2
4
|
import { TreeNode } from '../basetree/BaseTree.vue.d';
|
|
3
5
|
import { QueryParams, ShortFetchResponse } from '../datatable/DataTable.vue.d';
|
|
4
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
5
6
|
import TreeInstance, { TreeProps } from '../tree/Tree.vue.d';
|
|
6
|
-
import {
|
|
7
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
7
8
|
|
|
8
9
|
export interface DialogSelectTreeProps
|
|
9
10
|
extends Omit<TreeProps, 'type' | 'filter'> {
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { FetchListResponse } from '@fewangsit/workspace-api-services/src/types/fetchResponse.type';
|
|
2
|
+
import { FetchUserRoleOptionResponse } from '@tagsamurai/fats-api-services/src/dto/role.dto';
|
|
3
|
+
import { User } from '@tagsamurai/fats-api-services/src/types/user.type';
|
|
4
|
+
|
|
5
|
+
import { QueryParams } from '../../components/datatable/DataTable.vue.d';
|
|
6
|
+
import { ClassComponent } from '../../components/ts-helpers';
|
|
7
|
+
|
|
8
|
+
export type EmitSelectionValue = {
|
|
9
|
+
checkbox: User[];
|
|
10
|
+
single: User;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type SelectionType = 'single' | 'checkbox';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Props for DialogSelectUser component
|
|
17
|
+
*/
|
|
18
|
+
export interface DialogSelectUserProps {
|
|
19
|
+
/**
|
|
20
|
+
* The header of the dialog.
|
|
21
|
+
*
|
|
22
|
+
* @defaultValue "Select User"
|
|
23
|
+
*/
|
|
24
|
+
header?: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* The description of the table.
|
|
28
|
+
*
|
|
29
|
+
* @defaultValue "Select user"
|
|
30
|
+
*/
|
|
31
|
+
description?: string;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Table's selection type
|
|
35
|
+
*/
|
|
36
|
+
selectionType: SelectionType;
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Specifies the visibility of the dialog.
|
|
40
|
+
* @defaultValue false
|
|
41
|
+
*/
|
|
42
|
+
visible?: boolean | undefined;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* List that will be show above the table
|
|
46
|
+
* @defaultValue undefined
|
|
47
|
+
*/
|
|
48
|
+
list?: string[];
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Set custom button select label
|
|
52
|
+
*/
|
|
53
|
+
selectButtonLabel?: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The function to fetch data on DataTable mounted and on queryParams dependencies updated.
|
|
57
|
+
*
|
|
58
|
+
* @param params this is required
|
|
59
|
+
*/
|
|
60
|
+
fetchFunction?: (
|
|
61
|
+
params: QueryParams,
|
|
62
|
+
) => Promise<FetchListResponse | undefined>;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* The function to fetch options on DialogSelectUserFilter.
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
fetchOptionFunction?: () => Promise<
|
|
69
|
+
FetchUserRoleOptionResponse['data'] | undefined
|
|
70
|
+
>;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Emits for DialogSelectUser component
|
|
75
|
+
*/
|
|
76
|
+
export type DialogSelectUserEmits<T = User> = {
|
|
77
|
+
/**
|
|
78
|
+
* Emits when the dialog is closed. Wether from cancel button, close button, or ESC button pressed.
|
|
79
|
+
*/
|
|
80
|
+
'update:visible': [state: boolean];
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Emits when you done selected user.
|
|
84
|
+
*/
|
|
85
|
+
'selected': [user: T];
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* **TSVue - DialogSelectUser**
|
|
90
|
+
*
|
|
91
|
+
* --- ---
|
|
92
|
+
* 
|
|
93
|
+
*
|
|
94
|
+
* @group components
|
|
95
|
+
*/
|
|
96
|
+
declare const DialogSelectUser: ClassComponent<
|
|
97
|
+
DialogSelectUserProps,
|
|
98
|
+
unknown,
|
|
99
|
+
DialogSelectUserEmits
|
|
100
|
+
>;
|
|
101
|
+
|
|
102
|
+
export default DialogSelectUser;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Slot } from 'vue';
|
|
2
|
-
|
|
3
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
2
|
+
|
|
4
3
|
import { BadgeProps } from '../../components/badge/Badge.vue.d';
|
|
5
4
|
import { WangsIcons } from '../../components/icon/Icon.vue.d';
|
|
6
5
|
|
|
6
|
+
import { CustomValidation } from '../form/Form.vue.d';
|
|
7
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
8
|
+
|
|
7
9
|
export type OptionValue = string | number | boolean | Record<string, any>;
|
|
8
10
|
|
|
9
11
|
export type Option = {
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { DefineComponent, Slot } from 'vue';
|
|
2
|
-
|
|
3
|
-
import { QueryParams } from '../datatable/DataTable.vue.d';
|
|
2
|
+
|
|
4
3
|
import {
|
|
5
4
|
DropdownProps,
|
|
6
5
|
Option,
|
|
7
6
|
} from '../../components/dropdown/Dropdown.vue.d';
|
|
7
|
+
|
|
8
|
+
import { ButtonSelectTreeProps } from '../buttonselecttree/ButtonSelectTree.vue.d';
|
|
9
|
+
import { CalendarProps } from '../calendar/Calendar.vue.d';
|
|
10
|
+
import { QueryParams } from '../datatable/DataTable.vue.d';
|
|
8
11
|
import { InputRangeNumberProps } from '../inputrangenumber/InputRangeNumber.vue.d';
|
|
9
12
|
import { MultiSelectProps } from '../multiselect/MultiSelect.vue.d';
|
|
10
|
-
import { ButtonSelectTreeProps } from '../buttonselecttree/ButtonSelectTree.vue.d';
|
|
11
13
|
|
|
12
14
|
export type FilterMatchMode =
|
|
13
15
|
| 'CONTAINS'
|
|
@@ -8,9 +8,10 @@
|
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
import { InputHTMLAttributes, Slot } from 'vue';
|
|
11
|
+
|
|
11
12
|
import { ComponentHooks } from '../basecomponent';
|
|
12
|
-
import { ClassComponent, Nullable } from '../ts-helpers';
|
|
13
13
|
import { CustomValidation } from '../form/Form.vue.d';
|
|
14
|
+
import { ClassComponent, Nullable } from '../ts-helpers';
|
|
14
15
|
export declare type InputTextPassThroughOptionType<T = any> =
|
|
15
16
|
| InputTextPassThroughAttributes
|
|
16
17
|
| ((
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Slot } from 'vue';
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
InputTextEmits,
|
|
5
5
|
InputTextProps,
|
|
6
6
|
} from '../../components/inputtext/InputText.vue.d';
|
|
7
7
|
|
|
8
|
+
import { ClassComponent } from '../ts-helpers';
|
|
9
|
+
|
|
8
10
|
/**
|
|
9
11
|
* InputURL component props
|
|
10
12
|
*/
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
import { DropdownChangeEvent } from 'primevue/dropdown';
|
|
2
|
+
|
|
1
3
|
import { Option, OptionValue } from '../../components/dropdown/Dropdown.vue.d';
|
|
4
|
+
|
|
2
5
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
|
-
import { DropdownChangeEvent } from 'primevue/dropdown';
|
|
4
6
|
|
|
5
7
|
/**
|
|
6
8
|
* Lite dropdown component props
|
|
@@ -10,9 +10,10 @@
|
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
12
|
import { TransitionProps, VNode } from 'vue';
|
|
13
|
+
|
|
13
14
|
import { ComponentHooks } from '../basecomponent';
|
|
14
|
-
import { PassThroughOptions } from '../passthrough';
|
|
15
15
|
import { MenuItem } from '../menuitem';
|
|
16
|
+
import { PassThroughOptions } from '../passthrough';
|
|
16
17
|
import {
|
|
17
18
|
ClassComponent,
|
|
18
19
|
GlobalComponentConstructor,
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
*/
|
|
10
10
|
import { VNode } from 'vue';
|
|
11
|
+
|
|
11
12
|
import { ComponentHooks } from '../basecomponent';
|
|
12
13
|
import { MenuItem } from '../menuitem';
|
|
13
14
|
import { PassThroughOptions } from '../passthrough';
|
|
@@ -263,7 +264,7 @@ export type TabMenuEmits = {
|
|
|
263
264
|
* Callback to invoke when an active tab is changed.
|
|
264
265
|
* @param {TabMenuChangeEvent} event - Custom tab change event.
|
|
265
266
|
*/
|
|
266
|
-
'
|
|
267
|
+
'tabChange': [event: TabMenuChangeEvent];
|
|
267
268
|
'update:activeIndex': [index: number];
|
|
268
269
|
};
|
|
269
270
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { TextareaHTMLAttributes } from 'vue';
|
|
2
|
+
|
|
3
|
+
import { CustomValidation } from '../form/Form.vue.d';
|
|
2
4
|
import {
|
|
3
5
|
ClassComponent,
|
|
4
6
|
GlobalComponentConstructor,
|
|
5
7
|
Nullable,
|
|
6
8
|
Numberish,
|
|
7
9
|
} from '../ts-helpers.d';
|
|
8
|
-
import { CustomValidation } from '../form/Form.vue.d';
|
|
9
10
|
|
|
10
11
|
export interface TextareaLocaleConfig {
|
|
11
12
|
/**
|
|
@@ -9,14 +9,15 @@
|
|
|
9
9
|
*
|
|
10
10
|
*/
|
|
11
11
|
import { TransitionProps, VNode } from 'vue';
|
|
12
|
+
|
|
12
13
|
import { ComponentHooks } from '../basecomponent';
|
|
14
|
+
import { WangsIcons } from '../icon/Icon.vue.d';
|
|
13
15
|
import { PassThroughOptions } from '../passthrough';
|
|
14
16
|
import {
|
|
15
17
|
ClassComponent,
|
|
16
18
|
GlobalComponentConstructor,
|
|
17
19
|
PassThrough,
|
|
18
20
|
} from '../ts-helpers';
|
|
19
|
-
import { WangsIcons } from '../icon/Icon.vue.d';
|
|
20
21
|
|
|
21
22
|
export declare type ToastPassThroughOptionType =
|
|
22
23
|
| ToastPassThroughAttributes
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { Slot } from 'vue';
|
|
2
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
1
|
import { TreeSelectionKeys } from 'primevue/tree';
|
|
2
|
+
import { Slot } from 'vue';
|
|
3
|
+
|
|
4
4
|
import { MenuItem } from '../../components/menuitem';
|
|
5
|
+
|
|
5
6
|
import { BaseTreeProps, TreeNode } from '../basetree/BaseTree.vue.d';
|
|
6
7
|
import { QueryParams, ShortFetchResponse } from '../datatable/DataTable.vue.d';
|
|
8
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
7
9
|
|
|
8
10
|
export interface TreeProps extends BaseTreeProps {
|
|
9
11
|
/**
|
|
@@ -37,6 +37,11 @@ export interface UserNameComponentConfigs {
|
|
|
37
37
|
*/
|
|
38
38
|
type?: 'icon' | 'picture';
|
|
39
39
|
|
|
40
|
+
/**
|
|
41
|
+
* Whether to show the user's name. If false, only the user's icon will be shown.
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
44
|
+
showUserName?: boolean;
|
|
40
45
|
/**
|
|
41
46
|
* Specify the field of user to be used as display name
|
|
42
47
|
*
|