@fewangsit/wangsvue 1.5.178
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/assets/json/currencies.json.d.ts +1068 -0
- package/assets/json/emoji-by-group.json.d.ts +15629 -0
- package/assets/lottie/loading-plane.lottie +0 -0
- package/assets/lottie/loading-table.lottie +0 -0
- package/assets/lottie/no-data.lottie +0 -0
- package/build-entry.d.ts +12 -0
- package/components/animation/Animation.vue.d.ts +21 -0
- package/components/approverinfo/ApproverInfo.vue.d.ts +52 -0
- package/components/badge/Badge.vue.d.ts +57 -0
- package/components/badgegroup/BadgeGroup.vue.d.ts +33 -0
- package/components/breadcrumb/Breadcrumb.vue.d.ts +27 -0
- package/components/button/Button.vue.d.ts +186 -0
- package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +70 -0
- package/components/buttondownload/ButtonDownload.vue.d.ts +46 -0
- package/components/buttonfilter/ButtonFilter.vue.d.ts +13 -0
- package/components/buttonradio/ButtonRadio.vue.d.ts +219 -0
- package/components/buttonsearch/ButtonSearch.vue.d.ts +35 -0
- package/components/buttontoggle/ButtonToggle.vue.d.ts +22 -0
- package/components/calendar/Calendar.vue.d.ts +134 -0
- package/components/card/Card.vue.d.ts +128 -0
- package/components/changelog/Changelog.vue.d.ts +165 -0
- package/components/changelogpage/ChangelogFilter.vue.d.ts +16 -0
- package/components/changelogpage/ChangelogPage.vue.d.ts +180 -0
- package/components/checkbox/Checkbox.vue.d.ts +312 -0
- package/components/codesnippet/CodeSnippet.vue.d.ts +13 -0
- package/components/comment/Comment.vue.d.ts +180 -0
- package/components/comment/CommentBlock.vue.d.ts +35 -0
- package/components/customcolumn/CustomColumn.vue.d.ts +32 -0
- package/components/datatable/DataTable.vue.d.ts +659 -0
- package/components/datatable/MultiRow.vue.d.ts +16 -0
- package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +1 -0
- package/components/datatable/helpers/filter.helper.d.ts +28 -0
- package/components/datatable/helpers/index.d.ts +3 -0
- package/components/datatable/helpers/readConfig.helper.d.ts +2 -0
- package/components/datatable/store/dataTable.store.d.ts +22 -0
- package/components/detailmember/DetailMember.vue.d.ts +79 -0
- package/components/detailmember/DetailMemberAdmin.vue.d.ts +18 -0
- package/components/detailmember/DetailMemberLeader.vue.d.ts +15 -0
- package/components/detailmember/DetailMemberLog.vue.d.ts +15 -0
- package/components/detailmember/DialogMemberAdmin.vue.d.ts +23 -0
- package/components/detailsprint/DetailSprint.vue.d.ts +89 -0
- package/components/detailsprint/DialogAddPbi.vue.d.ts +24 -0
- package/components/detailsprint/DialogConfirmSprint.vue.d.ts +24 -0
- package/components/detailsprint/SprintSummary.vue.d.ts +15 -0
- package/components/detailsprint/helpers/updateSprintStatus.util.d.ts +3 -0
- package/components/detailsprint/options/quickFilterFields.d.ts +3 -0
- package/components/dialog/Dialog.vue.d.ts +451 -0
- package/components/dialogAdjustmentTask/DialogAdjustmentTask.vue.d.ts +158 -0
- package/components/dialogAdjustmentTask/DialogAdjustmentTaskHeader.vue.d.ts +27 -0
- package/components/dialogAdjustmentTask/common/TaskDependency.vue.d.ts +12 -0
- package/components/dialogAdjustmentTask/common/TaskStatusBadge.vue.d.ts +16 -0
- package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskBulkAction.d.ts +3 -0
- package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskSingleAction.d.ts +3 -0
- package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskTableColumn.d.ts +2 -0
- package/components/dialogconfirm/DialogConfirm.vue.d.ts +136 -0
- package/components/dialogdetailpbi/AssignMember.vue.d.ts +23 -0
- package/components/dialogdetailpbi/DialogDetailPbi.vue.d.ts +120 -0
- package/components/dialogdetailpbi/TaskDetailPbi.vue.d.ts +29 -0
- package/components/dialogdetailpbi/TaskDetailUnassignedPbi.vue.d.ts +23 -0
- package/components/dialogdetailpbi/options/memberFilterFields.d.ts +2 -0
- package/components/dialogdetailpbi/options/taskQuickFilterFields.d.ts +3 -0
- package/components/dialogform/DialogForm.vue.d.ts +256 -0
- package/components/dialogimprovementtask/DialogImprovementTask.vue.d.ts +24 -0
- package/components/dialogreportbug/DialogReportBug.vue.d.ts +25 -0
- package/components/dialogreportbug/imageData.json.d.ts +28 -0
- package/components/dropdown/Dropdown.vue.d.ts +182 -0
- package/components/editor/CodeSnippetAdapter.vue.d.ts +68 -0
- package/components/editor/Editor.vue.d.ts +192 -0
- package/components/editor/EditorButton.vue.d.ts +15 -0
- package/components/editor/MentionList.vue.d.ts +35 -0
- package/components/editor/MentionSection.vue.d.ts +68 -0
- package/components/editor/codeSnippetExtension.d.ts +3 -0
- package/components/editor/mentionSectionExtension.d.ts +3 -0
- package/components/editor/suggestion.d.ts +2 -0
- package/components/fieldwrapper/FieldWrapper.vue.d.ts +15 -0
- package/components/fileupload/FileUpload.vue.d.ts +151 -0
- package/components/filtercontainer/FilterContainer.vue.d.ts +109 -0
- package/components/filtercontainer/helpers/applyFilter.helper.d.ts +3 -0
- package/components/filtercontainer/helpers/getOption.helper.d.ts +3 -0
- package/components/form/Form.vue.d.ts +207 -0
- package/components/helpers/convertToArrayClass.helper.d.ts +2 -0
- package/components/helpers/index.d.ts +2 -0
- package/components/icon/Icon.vue.d.ts +215 -0
- package/components/image/Image.vue.d.ts +370 -0
- package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +36 -0
- package/components/imagecompressor/ImageCompressor.vue.d.ts +192 -0
- package/components/imagecompressor/ImageInputInfo.vue.d.ts +30 -0
- package/components/index.d.ts +123 -0
- package/components/inputbadge/InputBadge.vue.d.ts +118 -0
- package/components/inputcurrency/InputCurrency.vue.d.ts +132 -0
- package/components/inputcurrency/helpers/currency.helper.d.ts +4 -0
- package/components/inputemail/InputEmail.vue.d.ts +26 -0
- package/components/inputgroup/InputGroup.vue.d.ts +131 -0
- package/components/inputinitialname/InputInitialName.vue.d.ts +118 -0
- package/components/inputnumber/InputNumber.vue.d.ts +222 -0
- package/components/inputpassword/InputPassword.vue.d.ts +33 -0
- package/components/inputphonenumber/InputPhoneNumber.vue.d.ts +96 -0
- package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +8 -0
- package/components/inputrangenumber/InputRangeNumber.vue.d.ts +98 -0
- package/components/inputrepositoryname/InputRepositoryName.vue.d.ts +87 -0
- package/components/inputtext/InputText.vue.d.ts +226 -0
- package/components/inputurl/InputURL.vue.d.ts +99 -0
- package/components/invisiblefield/InvisibleField.vue.d.ts +36 -0
- package/components/litedropdown/LiteDropdown.vue.d.ts +97 -0
- package/components/loading/Loading.vue.d.ts +34 -0
- package/components/loading/store/loading.store.d.ts +8 -0
- package/components/menu/Menu.vue.d.ts +369 -0
- package/components/menu/helpers/filterMenu.helper.d.ts +10 -0
- package/components/menu/helpers/index.d.ts +1 -0
- package/components/menuitem/index.d.ts +93 -0
- package/components/multiselect/MultiSelect.vue.d.ts +169 -0
- package/components/notificationitem/NotificationItem.vue.d.ts +108 -0
- package/components/notificationitem/helpers/goToDetail.helper.d.ts +6 -0
- package/components/overlaypanel/OverlayPanel.vue.d.ts +292 -0
- package/components/pdfviewer/PDFViewer.vue.d.ts +28 -0
- package/components/progressbar/ProgressBar.vue.d.ts +73 -0
- package/components/quickfilter/QuickFilter.vue.d.ts +17 -0
- package/components/summaryaccordion/SummaryAccordion.vue.d.ts +123 -0
- package/components/tabmenu/TabMenu.vue.d.ts +275 -0
- package/components/taskdetail/TaskDetail.vue.d.ts +83 -0
- package/components/taskdetail/blocks/Tabs/DescriptionTab.vue.d.ts +2 -0
- package/components/taskdetail/blocks/Tabs/EventLogTab.vue.d.ts +2 -0
- package/components/taskdetail/blocks/Tabs/InfoTaskTab.vue.d.ts +2 -0
- package/components/taskdetail/blocks/Tabs/ReviewTab.vue.d.ts +2 -0
- package/components/taskdetail/blocks/common/AttachmentThumbnail.vue.d.ts +18 -0
- package/components/taskdetail/blocks/common/DialogAddAttachment.vue.d.ts +32 -0
- package/components/taskdetail/blocks/common/DialogAssignMember.vue.d.ts +30 -0
- package/components/taskdetail/blocks/common/DialogConfirmApproval.vue.d.ts +26 -0
- package/components/taskdetail/blocks/common/DialogConfirmDeleteTask.vue.d.ts +28 -0
- package/components/taskdetail/blocks/common/DialogConfirmEdit.vue.d.ts +24 -0
- package/components/taskdetail/blocks/common/DialogConfirmFinishTask.vue.d.ts +24 -0
- package/components/taskdetail/blocks/common/DialogPriorityValue.vue.d.ts +21 -0
- package/components/taskdetail/blocks/common/DialogSetDuration.vue.d.ts +18 -0
- package/components/taskdetail/blocks/common/InputAdditional.vue.d.ts +28 -0
- package/components/taskdetail/blocks/common/Legend.vue.d.ts +79 -0
- package/components/taskdetail/blocks/common/SonarQubeSummary.vue.d.ts +17 -0
- package/components/taskdetail/blocks/common/TaskMore.vue.d.ts +16 -0
- package/components/taskdetail/blocks/sections/API/API.vue.d.ts +2 -0
- package/components/taskdetail/blocks/sections/API/APIItem.vue.d.ts +28 -0
- package/components/taskdetail/blocks/sections/API/DialogAddEditApi.vue.d.ts +25 -0
- package/components/taskdetail/blocks/sections/API/DialogTestApi.vue.d.ts +22 -0
- package/components/taskdetail/blocks/sections/API/IsRequiredText.vue.d.ts +15 -0
- package/components/taskdetail/blocks/sections/API/TestApi/options/keyValueTableColumn.d.ts +2 -0
- package/components/taskdetail/blocks/sections/API/ValueFormDataInput.vue.d.ts +37 -0
- package/components/taskdetail/blocks/sections/Attachment/Attachment.vue.d.ts +2 -0
- package/components/taskdetail/blocks/sections/Attachment/AttachmentChangelog.vue.d.ts +18 -0
- package/components/taskdetail/blocks/sections/Attachment/AttachmentItem.vue.d.ts +65 -0
- package/components/taskdetail/blocks/sections/Checklist/Checklist.vue.d.ts +20 -0
- package/components/taskdetail/blocks/sections/Checklist/ChecklistChangelog.vue.d.ts +18 -0
- package/components/taskdetail/blocks/sections/Checklist/DialogAddChecklist.vue.d.ts +32 -0
- package/components/taskdetail/blocks/sections/Checklist/DialogConfirmChecklist.vue.d.ts +26 -0
- package/components/taskdetail/blocks/sections/Checklist/DialogDetailChecklistTemplate.vue.d.ts +18 -0
- package/components/taskdetail/blocks/sections/Checklist/DialogSaveChecklistTemplate.vue.d.ts +22 -0
- package/components/taskdetail/blocks/sections/Description/Description.vue.d.ts +2 -0
- package/components/taskdetail/blocks/sections/Review/DialogFinishReview.vue.d.ts +26 -0
- package/components/taskdetail/blocks/sections/Review/DialogReviewLeader.vue.d.ts +25 -0
- package/components/taskdetail/blocks/sections/Review/ReviewItem.vue.d.ts +16 -0
- package/components/taskdetail/blocks/sections/TaskDependency/DialogCustomDependency.vue.d.ts +20 -0
- package/components/taskdetail/blocks/sections/TaskDependency/TaskDependency.vue.d.ts +2 -0
- package/components/taskdetail/blocks/sections/TaskLink/DialogSetTaskLink.vue.d.ts +40 -0
- package/components/taskdetail/blocks/sections/TaskLink/TaskLink.vue.d.ts +2 -0
- package/components/taskdetail/blocks/sections/TaskLink/TaskLinkChangelog.vue.d.ts +22 -0
- package/components/taskdetail/blocks/sections/TaskList/LegendList.vue.d.ts +55 -0
- package/components/taskdetail/blocks/sections/TaskList/TaskList.vue.d.ts +15 -0
- package/components/taskdetail/blocks/sections/Ticket/Ticket.vue.d.ts +2 -0
- package/components/tasktable/DependencyCol.vue.d.ts +16 -0
- package/components/tasktable/DialogConfirmDeleteTaskPermanently.vue.d.ts +24 -0
- package/components/tasktable/DialogConfirmRestoreTask.vue.d.ts +24 -0
- package/components/tasktable/DialogSelectProject.vue.d.ts +20 -0
- package/components/tasktable/TaskTable.vue.d.ts +82 -0
- package/components/textarea/Textarea.vue.d.ts +121 -0
- package/components/timeline/Timeline.vue.d.ts +116 -0
- package/components/timeline/TimelineContentByType.vue.d.ts +16 -0
- package/components/toast/Toast.vue.d.ts +354 -0
- package/components/tooltipspan/TooltipSpan.vue.d.ts +21 -0
- package/components/ts-helpers.d.ts +62 -0
- package/components/usergroup/UserGroup.vue.d.ts +58 -0
- package/components/username/UserName.vue.d.ts +62 -0
- package/components/validatormessage/ValidatorMessage.vue.d.ts +13 -0
- package/components/workcalendar/WorkCalendar.vue.d.ts +55 -0
- package/directives/focus.d.ts +7 -0
- package/directives/index.d.ts +1 -0
- package/dto/member.dto.d.ts +65 -0
- package/dto/task.dto.d.ts +86 -0
- package/dto/taskApi.dto.d.ts +20 -0
- package/dto/taskAttachment.dto.d.ts +11 -0
- package/dto/taskChecklist.dto.d.ts +39 -0
- package/dto/taskDependency.dto.d.ts +9 -0
- package/event-bus/index.d.ts +47 -0
- package/event-bus/mitt.d.ts +21 -0
- package/index.d.ts +2 -0
- package/main.d.ts +2 -0
- package/package.json +16 -0
- package/plugins/formValidation.d.ts +10 -0
- package/services/calendar.service.d.ts +9 -0
- package/services/dataManager.service.d.ts +5 -0
- package/services/sonarQube.service.d.ts +10 -0
- package/style.css +13 -0
- package/types/member.type.d.ts +72 -0
- package/types/options.type.d.ts +14 -0
- package/types/project.type.d.ts +64 -0
- package/types/projectApproval.type.d.ts +3 -0
- package/types/projectModule.type.d.ts +6 -0
- package/types/projectProcess.type.d.ts +17 -0
- package/types/projectQc.type.d.ts +52 -0
- package/types/projectSubmodule.type.d.ts +14 -0
- package/types/queryParamsStringfy.type.d.ts +3 -0
- package/types/roleDetailAccess.type.d.ts +17 -0
- package/types/subModule.type.d.ts +4 -0
- package/types/task.type.d.ts +256 -0
- package/types/team.type.d.ts +4 -0
- package/types/ticket.type.d.ts +13 -0
- package/types/user.type.d.ts +19 -0
- package/types/wangsStatus.type.d.ts +8 -0
- package/utils/convertJsonImage.util.d.ts +3 -0
- package/utils/date.util.d.ts +17 -0
- package/utils/exportToExcel.util.d.ts +20 -0
- package/utils/filterOptions.util.d.ts +3 -0
- package/utils/genPlaceholder.util.d.ts +3 -0
- package/utils/getAttachmentIcon.util.d.ts +8 -0
- package/utils/getProjectPermission.util.d.ts +4 -0
- package/utils/getSalesRole.util.d.ts +30 -0
- package/utils/getUser.util.d.ts +3 -0
- package/utils/getUserType.util.d.ts +2 -0
- package/utils/index.d.ts +9 -0
- package/utils/isIntersect.d.ts +2 -0
- package/utils/object.util.d.ts +2 -0
- package/utils/queryParamsStringfy.util.d.ts +7 -0
- package/utils/role.util.d.ts +2 -0
- package/utils/statusSeverity.util.d.ts +3 -0
- package/utils/textFormatter.util.d.ts +4 -0
- package/utils/toast.util.d.ts +36 -0
- package/utils/translation.util.d.ts +15 -0
- package/wangsvue.es.js +152940 -0
- package/wangsvue.system.js +467 -0
|
@@ -0,0 +1,275 @@
|
|
|
1
|
+
import { VNode } from 'vue';
|
|
2
|
+
import { ComponentHooks } from '../basecomponent';
|
|
3
|
+
import { MenuItem } from '../menuitem';
|
|
4
|
+
import { PassThroughOptions } from '../passthrough';
|
|
5
|
+
import { ClassComponent, PassThrough } from '../ts-helpers';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export declare type TabMenuPassThroughOptionType =
|
|
9
|
+
| TabMenuPassThroughAttributes
|
|
10
|
+
| ((
|
|
11
|
+
options: TabMenuPassThroughMethodOptions,
|
|
12
|
+
) => TabMenuPassThroughAttributes | string)
|
|
13
|
+
| string
|
|
14
|
+
| null
|
|
15
|
+
| undefined;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Custom passthrough(pt) option method.
|
|
19
|
+
*/
|
|
20
|
+
export interface TabMenuPassThroughMethodOptions {
|
|
21
|
+
/**
|
|
22
|
+
* Defines instance.
|
|
23
|
+
*/
|
|
24
|
+
instance: any;
|
|
25
|
+
/**
|
|
26
|
+
* Defines valid properties.
|
|
27
|
+
*/
|
|
28
|
+
props: TabMenuProps;
|
|
29
|
+
/**
|
|
30
|
+
* Defines current inline state.
|
|
31
|
+
*/
|
|
32
|
+
state: TabMenuState;
|
|
33
|
+
/**
|
|
34
|
+
* Defines current options.
|
|
35
|
+
*/
|
|
36
|
+
context: TabMenuContext;
|
|
37
|
+
/**
|
|
38
|
+
* Defines valid attributes.
|
|
39
|
+
*/
|
|
40
|
+
attrs: any;
|
|
41
|
+
/**
|
|
42
|
+
* Defines parent options.
|
|
43
|
+
*/
|
|
44
|
+
parent: any;
|
|
45
|
+
/**
|
|
46
|
+
* Defines passthrough(pt) options in global config.
|
|
47
|
+
*/
|
|
48
|
+
global: object | undefined;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Custom passthrough(pt) options.
|
|
53
|
+
* @see {@link TabMenuProps.pt}
|
|
54
|
+
*/
|
|
55
|
+
export interface TabMenuPassThroughOptions {
|
|
56
|
+
/**
|
|
57
|
+
* Used to pass attributes to the root's DOM element.
|
|
58
|
+
*/
|
|
59
|
+
root?: TabMenuPassThroughOptionType;
|
|
60
|
+
/**
|
|
61
|
+
* Used to pass attributes to the list's DOM element.
|
|
62
|
+
*/
|
|
63
|
+
menu?: TabMenuPassThroughOptionType;
|
|
64
|
+
/**
|
|
65
|
+
* Used to pass attributes to the list item's DOM element.
|
|
66
|
+
*/
|
|
67
|
+
menuitem?: TabMenuPassThroughOptionType;
|
|
68
|
+
/**
|
|
69
|
+
* Used to pass attributes to the action's DOM element.
|
|
70
|
+
*/
|
|
71
|
+
action?: TabMenuPassThroughOptionType;
|
|
72
|
+
/**
|
|
73
|
+
* Used to pass attributes to the icon's DOM element.
|
|
74
|
+
*/
|
|
75
|
+
icon?: TabMenuPassThroughOptionType;
|
|
76
|
+
/**
|
|
77
|
+
* Used to pass attributes to the label's DOM element.
|
|
78
|
+
*/
|
|
79
|
+
label?: TabMenuPassThroughOptionType;
|
|
80
|
+
/**
|
|
81
|
+
* Used to pass attributes to the inkbar's DOM element.
|
|
82
|
+
*/
|
|
83
|
+
inkbar?: TabMenuPassThroughOptionType;
|
|
84
|
+
/**
|
|
85
|
+
* Used to manage all lifecycle hooks.
|
|
86
|
+
* @see {@link BaseComponent.ComponentHooks}
|
|
87
|
+
*/
|
|
88
|
+
hooks?: ComponentHooks;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Custom passthrough attributes for each DOM elements
|
|
93
|
+
*/
|
|
94
|
+
export interface TabMenuPassThroughAttributes {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Defines current inline state in TabMenu component.
|
|
100
|
+
*/
|
|
101
|
+
export interface TabMenuState {
|
|
102
|
+
/**
|
|
103
|
+
* Current active index state as a number.
|
|
104
|
+
* @defaulValue 0
|
|
105
|
+
*/
|
|
106
|
+
d_activeIndex: number;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Defines current options in TabMenu component.
|
|
111
|
+
*/
|
|
112
|
+
export interface TabMenuContext {
|
|
113
|
+
/**
|
|
114
|
+
* Current menuitem
|
|
115
|
+
*/
|
|
116
|
+
item: any;
|
|
117
|
+
/**
|
|
118
|
+
* Index of the menuitem
|
|
119
|
+
*/
|
|
120
|
+
index: number;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Custom change event.
|
|
125
|
+
* @see {@link TabMenuEmits['tab-change']}
|
|
126
|
+
*/
|
|
127
|
+
export interface TabMenuChangeEvent {
|
|
128
|
+
/**
|
|
129
|
+
* Browser event
|
|
130
|
+
*/
|
|
131
|
+
originalEvent: Event;
|
|
132
|
+
/**
|
|
133
|
+
* Index of the selected tab
|
|
134
|
+
*/
|
|
135
|
+
index: number;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* Defines valid router binding props in TabMenu component.
|
|
140
|
+
*/
|
|
141
|
+
export interface TabMenuRouterBindProps {
|
|
142
|
+
/**
|
|
143
|
+
* Action element binding
|
|
144
|
+
*/
|
|
145
|
+
action: object;
|
|
146
|
+
/**
|
|
147
|
+
* Icon element binding
|
|
148
|
+
*/
|
|
149
|
+
icon: object;
|
|
150
|
+
/**
|
|
151
|
+
* Label element binding
|
|
152
|
+
*/
|
|
153
|
+
label: object;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Defines valid properties in TabMenu component.
|
|
158
|
+
*/
|
|
159
|
+
export interface TabMenuProps {
|
|
160
|
+
/**
|
|
161
|
+
* An array of menuitems.
|
|
162
|
+
*/
|
|
163
|
+
menu?: MenuItem[] | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* Active index of menuitem.
|
|
166
|
+
* @defaultValue 0
|
|
167
|
+
*/
|
|
168
|
+
activeIndex?: number | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* Whether to use trailing line at the end of tab menu.
|
|
171
|
+
* @defaultValue true
|
|
172
|
+
*/
|
|
173
|
+
useTrailingLine?: boolean | undefined;
|
|
174
|
+
/**
|
|
175
|
+
* Defines a string value that labels an interactive element.
|
|
176
|
+
*/
|
|
177
|
+
ariaLabel?: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* Identifier of the underlying input element.
|
|
180
|
+
*/
|
|
181
|
+
ariaLabelledby?: string | undefined;
|
|
182
|
+
/**
|
|
183
|
+
* Used to pass attributes to DOM elements inside the component.
|
|
184
|
+
* @type {TabMenuPassThroughOptions}
|
|
185
|
+
*/
|
|
186
|
+
pt?: PassThrough<TabMenuPassThroughOptions>;
|
|
187
|
+
/**
|
|
188
|
+
* Used to configure passthrough(pt) options of the component.
|
|
189
|
+
* @type {PassThroughOptions}
|
|
190
|
+
*/
|
|
191
|
+
ptOptions?: PassThroughOptions;
|
|
192
|
+
/**
|
|
193
|
+
* When enabled, it removes component related styles in the core.
|
|
194
|
+
* @defaultValue false
|
|
195
|
+
*/
|
|
196
|
+
unstyled?: boolean;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Defines valid slots in TabMenu component.
|
|
201
|
+
*/
|
|
202
|
+
export interface TabMenuSlots {
|
|
203
|
+
/**
|
|
204
|
+
* Custom content for each item.
|
|
205
|
+
* @param {Object} scope - item slot's params.
|
|
206
|
+
*/
|
|
207
|
+
item(scope: {
|
|
208
|
+
/**
|
|
209
|
+
* Menuitem instance
|
|
210
|
+
*/
|
|
211
|
+
item: MenuItem;
|
|
212
|
+
/**
|
|
213
|
+
* Index of the menuitem
|
|
214
|
+
*/
|
|
215
|
+
index: number;
|
|
216
|
+
/**
|
|
217
|
+
* Current active state of the menuitem
|
|
218
|
+
*/
|
|
219
|
+
active: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Label property of the menuitem
|
|
222
|
+
*/
|
|
223
|
+
label: string | ((...args: any) => string) | undefined;
|
|
224
|
+
/**
|
|
225
|
+
* Binding properties of the menuitem
|
|
226
|
+
*/
|
|
227
|
+
props: TabMenuRouterBindProps;
|
|
228
|
+
}): VNode[];
|
|
229
|
+
/**
|
|
230
|
+
* Custom item icon template.
|
|
231
|
+
* @param {Object} scope - item icon slot's params.
|
|
232
|
+
*/
|
|
233
|
+
itemicon(scope: {
|
|
234
|
+
/**
|
|
235
|
+
* Menuitem instance
|
|
236
|
+
*/
|
|
237
|
+
item: MenuItem;
|
|
238
|
+
/**
|
|
239
|
+
* Style class of the item icon element.
|
|
240
|
+
*/
|
|
241
|
+
class: any;
|
|
242
|
+
}): VNode[];
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* Defines valid emits in TabMenu component.
|
|
247
|
+
*/
|
|
248
|
+
export type TabMenuEmits = {
|
|
249
|
+
/**
|
|
250
|
+
* Callback to invoke when an active tab is changed.
|
|
251
|
+
* @param {TabMenuChangeEvent} event - Custom tab change event.
|
|
252
|
+
*/
|
|
253
|
+
'tab-change': [event: TabMenuChangeEvent];
|
|
254
|
+
'update:activeIndex': [index: number];
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* **WangsVue - TabMenu**
|
|
259
|
+
*
|
|
260
|
+
* _TabMenu is a navigation component that displays items as tab headers. Example below uses nested routes with TabMenu._
|
|
261
|
+
*
|
|
262
|
+
* [Live Demo](https://www.WangsVue.org/tabmenu/)
|
|
263
|
+
* --- ---
|
|
264
|
+
* 
|
|
265
|
+
*
|
|
266
|
+
* @group Component
|
|
267
|
+
*
|
|
268
|
+
*/
|
|
269
|
+
declare class TabMenu extends ClassComponent<
|
|
270
|
+
TabMenuProps,
|
|
271
|
+
TabMenuSlots,
|
|
272
|
+
TabMenuEmits
|
|
273
|
+
> {}
|
|
274
|
+
|
|
275
|
+
export default TabMenu;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { ClassComponent, GlobalComponentConstructor } from '../.././components/ts-helpers';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Detail task component props
|
|
6
|
+
*/
|
|
7
|
+
export interface DetailTaskProps {
|
|
8
|
+
/**
|
|
9
|
+
* V-model visible
|
|
10
|
+
*/
|
|
11
|
+
visible: boolean;
|
|
12
|
+
projectId: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* The task's id.
|
|
15
|
+
*
|
|
16
|
+
* If this prop is not specified, the dialog will assume for a creation of a new task.
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
taskId?: string;
|
|
20
|
+
initialModule?: {
|
|
21
|
+
_id: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
};
|
|
24
|
+
initialSubModule?: {
|
|
25
|
+
_id: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
repository?: string;
|
|
28
|
+
};
|
|
29
|
+
productBacklogItemId?: string;
|
|
30
|
+
approvalId?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Detail task component emits
|
|
35
|
+
*/
|
|
36
|
+
export type DetailTaskEmits = {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
'update:visible': [value: boolean];
|
|
41
|
+
/**
|
|
42
|
+
* Emits when dialog shown.
|
|
43
|
+
*/
|
|
44
|
+
'show': [];
|
|
45
|
+
/**
|
|
46
|
+
* Emits when new task is created.
|
|
47
|
+
*/
|
|
48
|
+
'create': [];
|
|
49
|
+
/**
|
|
50
|
+
* Emits when there is an update on the task.
|
|
51
|
+
*/
|
|
52
|
+
'update': [];
|
|
53
|
+
/**
|
|
54
|
+
* Emits when the task is deleted.
|
|
55
|
+
*/
|
|
56
|
+
'delete': [];
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* **WangsVue - TaskDetail**
|
|
61
|
+
*
|
|
62
|
+
* _DetailTask is a component to show detail task dialog._
|
|
63
|
+
*
|
|
64
|
+
* --- ---
|
|
65
|
+
* 
|
|
66
|
+
*
|
|
67
|
+
* @group Component
|
|
68
|
+
*
|
|
69
|
+
* @experimental
|
|
70
|
+
*/
|
|
71
|
+
declare class TaskDetail extends ClassComponent<
|
|
72
|
+
DetailTaskProps,
|
|
73
|
+
unknown,
|
|
74
|
+
DetailTaskEmits
|
|
75
|
+
> {}
|
|
76
|
+
|
|
77
|
+
declare module '@vue/runtime-core' {
|
|
78
|
+
interface GlobalComponents {
|
|
79
|
+
Dropdown: GlobalComponentConstructor<TaskDetail>;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export default TaskDetail;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AttachmentItemData } from '../sections/Attachment/AttachmentItem.vue.d';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
item: Pick<AttachmentItemData, "type" | "url">;
|
|
4
|
+
small?: boolean;
|
|
5
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
6
|
+
item: Pick<AttachmentItemData, "type" | "url">;
|
|
7
|
+
small?: boolean;
|
|
8
|
+
}>>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { AxiosProgressEvent, AxiosResponse } from 'axios';
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
objectId?: string;
|
|
4
|
+
uploadFileService: (params: {
|
|
5
|
+
id?: string;
|
|
6
|
+
body: Record<string, any>;
|
|
7
|
+
onUploadProgress: (progressEvent: AxiosProgressEvent) => void;
|
|
8
|
+
signal: AbortSignal;
|
|
9
|
+
}) => Promise<AxiosResponse>;
|
|
10
|
+
uploadUrlService: (id: string, body: Record<string, any>) => Promise<AxiosResponse>;
|
|
11
|
+
type: 'attachment' | 'checklist';
|
|
12
|
+
};
|
|
13
|
+
type __VLS_PublicProps = {
|
|
14
|
+
'visible': boolean;
|
|
15
|
+
} & typeof __VLS_typeProps;
|
|
16
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
+
"update:visible": (visible: boolean) => void;
|
|
18
|
+
hide: () => void;
|
|
19
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
20
|
+
"onUpdate:visible"?: (visible: boolean) => any;
|
|
21
|
+
onHide?: () => any;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToOption<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
/**
|
|
3
|
+
* This task id prop is used in task table component, either single or bulk action.
|
|
4
|
+
*/
|
|
5
|
+
taskIdProp?: string[];
|
|
6
|
+
/**
|
|
7
|
+
* This project id prop is used in task table component.
|
|
8
|
+
*/
|
|
9
|
+
projectIdProp?: string;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_PublicProps = {
|
|
12
|
+
'visible': boolean;
|
|
13
|
+
} & typeof __VLS_typeProps;
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:visible": (visible: boolean) => void;
|
|
16
|
+
saved: () => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
18
|
+
"onUpdate:visible"?: (visible: boolean) => any;
|
|
19
|
+
onSaved?: () => any;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToOption<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { WangsitStatus } from '../../../../types/wangsStatus.type';
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
approvalId: string;
|
|
4
|
+
status?: WangsitStatus;
|
|
5
|
+
isApproved: boolean;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_PublicProps = {
|
|
8
|
+
'visible': boolean;
|
|
9
|
+
} & typeof __VLS_typeProps;
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"update:visible": (visible: boolean) => void;
|
|
12
|
+
saved: () => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
14
|
+
"onUpdate:visible"?: (visible: boolean) => any;
|
|
15
|
+
onSaved?: () => any;
|
|
16
|
+
}, {}, {}>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToOption<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { TaskDetailData } from '../../../../types/task.type';
|
|
2
|
+
import { TaskTablePage } from '../../../../components/tasktable/TaskTable.vue.d';
|
|
3
|
+
declare let __VLS_typeProps: {
|
|
4
|
+
tasks: Pick<TaskDetailData, '_id' | 'name' | 'process' | 'status'>[];
|
|
5
|
+
page?: TaskTablePage;
|
|
6
|
+
projectId?: string;
|
|
7
|
+
selectedPbiId?: string;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_PublicProps = {
|
|
10
|
+
'visible': boolean;
|
|
11
|
+
} & typeof __VLS_typeProps;
|
|
12
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
13
|
+
"update:visible": (visible: boolean) => void;
|
|
14
|
+
saved: () => void;
|
|
15
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
16
|
+
"onUpdate:visible"?: (visible: boolean) => any;
|
|
17
|
+
onSaved?: () => any;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TaskDetailData } from '../../../../types/task.type';
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
taskDetail: Pick<TaskDetailData, '_id' | 'name'> | undefined;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
'visible': boolean;
|
|
7
|
+
} & typeof __VLS_typeProps;
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:visible": (visible: boolean) => void;
|
|
10
|
+
saved: () => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
12
|
+
"onUpdate:visible"?: (visible: boolean) => any;
|
|
13
|
+
onSaved?: () => any;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { TaskDetailData } from '../../../../types/task.type';
|
|
2
|
+
declare let __VLS_typeProps: {
|
|
3
|
+
taskDetail: Pick<TaskDetailData, '_id' | 'name'> | undefined;
|
|
4
|
+
};
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
'visible': boolean;
|
|
7
|
+
} & typeof __VLS_typeProps;
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:visible": (visible: boolean) => void;
|
|
10
|
+
saved: () => void;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
12
|
+
"onUpdate:visible"?: (visible: boolean) => any;
|
|
13
|
+
onSaved?: () => any;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare let __VLS_typeProps: {
|
|
2
|
+
priorityValue?: number;
|
|
3
|
+
};
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
'visible': boolean;
|
|
6
|
+
} & typeof __VLS_typeProps;
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"update:visible": (visible: boolean) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
10
|
+
"onUpdate:visible"?: (visible: boolean) => any;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_PublicProps = {
|
|
2
|
+
'visible': boolean;
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
5
|
+
"update:visible": (visible: boolean) => void;
|
|
6
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
7
|
+
"onUpdate:visible"?: (visible: boolean) => any;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CustomValidation } from '../../../.././components/form/Form.vue.d';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
+
value?: string;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
mandatory?: boolean;
|
|
6
|
+
validatorMessage?: string | CustomValidation;
|
|
7
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
submit: (inputValue: string) => void;
|
|
9
|
+
cancel: () => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
11
|
+
value?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
mandatory?: boolean;
|
|
14
|
+
validatorMessage?: string | CustomValidation;
|
|
15
|
+
}>>> & {
|
|
16
|
+
onSubmit?: (inputValue: string) => any;
|
|
17
|
+
onCancel?: () => any;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: import('vue').PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|