@fewangsit/wangsvue 1.5.216-alpha.0 → 1.5.217-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.
- package/components/animation/Animation.vue.d.ts +9 -1
- package/components/badge/Badge.vue.d.ts +1 -1
- package/components/badgegroup/BadgeGroup.vue.d.ts +3 -1
- package/components/basetree/BaseTree.vue.d.ts +7 -2
- package/components/button/Button.vue.d.ts +4 -3
- package/components/buttonImportExcel/ButtonImportExcel.vue.d.ts +1 -1
- package/components/buttonbulkaction/ButtonBulkAction.vue.d.ts +1 -0
- package/components/buttondownload/ButtonDownload.vue.d.ts +31 -0
- package/components/buttonradio/ButtonRadio.vue.d.ts +2 -1
- package/components/buttonscan/ButtonScan.vue.d.ts +3 -2
- package/components/buttonsearchbyscan/ButtonSearchByScan.vue.d.ts +2 -0
- package/components/buttonselecttree/ButtonSelectTree.vue.d.ts +11 -1
- package/components/buttonsplit/ButtonSplit.vue.d.ts +10 -7
- package/components/buttonsync/ButtonSync.vue.d.ts +1 -1
- package/components/buttontoggle/ButtonToggle.vue.d.ts +1 -0
- package/components/card/Card.vue.d.ts +2 -1
- package/components/changelog/Changelog.vue.d.ts +7 -5
- package/components/changelogpage/ChangelogPage.vue.d.ts +10 -3
- package/components/checkbox/Checkbox.vue.d.ts +2 -1
- package/components/comment/Comment.vue.d.ts +3 -4
- package/components/customcolumn/CustomColumn.vue.d.ts +1 -1
- package/components/datatable/DataTable.vue.d.ts +14 -4
- package/components/detailmember/DetailMember.vue.d.ts +2 -2
- package/components/detailsprint/DetailSprint.vue.d.ts +2 -2
- package/components/detailsprint/helpers/updateSprintStatus.util.d.ts +7 -2
- package/components/detailsprint/options/quickFilterFields.d.ts +5 -2
- package/components/dialog/Dialog.vue.d.ts +1 -1
- package/components/{dialogAdjustmentTask → dialogadjustmenttask}/DialogAdjustmentTask.vue.d.ts +5 -5
- package/components/dialogadjustmenttask/options/dialogAdjustmentTaskBulkAction.d.ts +7 -0
- package/components/dialogadjustmenttask/options/dialogAdjustmentTaskSingleAction.d.ts +7 -0
- package/components/dialogadjustmenttask/options/dialogAdjustmentTaskTableColumn.d.ts +2 -0
- package/components/dialogconfirm/DialogConfirm.vue.d.ts +3 -2
- package/components/dialogdetailcomponent/DialogDetailComponent.vue.d.ts +1 -1
- package/components/dialogdetailpbi/DialogDetailPbi.vue.d.ts +3 -3
- package/components/dialogform/DialogForm.vue.d.ts +1 -1
- package/components/dialogimprovementtask/DialogImprovementTask.vue.d.ts +1 -2
- package/components/{detailsprint → dialogpreparepbi}/DialogPreparePbi.vue.d.ts +2 -2
- package/components/dialogselecttree/DialogSelectTree.vue.d.ts +14 -3
- package/components/dropdown/Dropdown.vue.d.ts +22 -3
- package/components/editor/Editor.vue.d.ts +2 -1
- package/components/fieldwrapper/FieldWrapper.vue.d.ts +19 -2
- package/components/fileupload/FileUpload.vue.d.ts +2 -1
- package/components/filtercontainer/FilterContainer.vue.d.ts +103 -67
- package/components/form/Form.vue.d.ts +5 -2
- package/components/icon/Icon.vue.d.ts +4 -1
- package/components/image/Image.vue.d.ts +9 -1
- package/components/imagecompressor/ImageCompressor.vue.d.ts +9 -1
- package/components/index.d.ts +32 -30
- package/components/inlinemessage/InlineMessage.vue.d.ts +1 -1
- package/components/inputbadge/InputBadge.vue.d.ts +1 -1
- package/components/inputcurrency/InputCurrency.vue.d.ts +1 -1
- package/components/inputcurrency/helpers/currency.helper.d.ts +5 -1
- package/components/inputemail/InputEmail.vue.d.ts +1 -0
- package/components/inputinitialname/InputInitialName.vue.d.ts +1 -2
- package/components/inputnumber/InputNumber.vue.d.ts +6 -0
- package/components/inputpassword/InputPassword.vue.d.ts +1 -0
- package/components/inputrangenumber/InputRangeNumber.vue.d.ts +1 -0
- package/components/inputrepositoryname/InputRepositoryName.vue.d.ts +2 -3
- package/components/inputtext/InputText.vue.d.ts +2 -1
- package/components/inputurl/InputURL.vue.d.ts +4 -2
- package/components/invisiblefield/InvisibleField.vue.d.ts +1 -1
- package/components/languagedropdown/LanguageDropdown.vue.d.ts +3 -2
- package/components/litedropdown/LiteDropdown.vue.d.ts +4 -2
- package/components/loading/store/loading.store.d.ts +3 -3
- package/components/menu/Menu.vue.d.ts +3 -2
- package/components/multiselect/MultiSelect.vue.d.ts +3 -2
- package/components/notificationitem/NotificationItem.vue.d.ts +4 -3
- package/components/notificationitem/helpers/goToDetail.helper.d.ts +13 -4
- package/components/overlaypanel/OverlayPanel.vue.d.ts +2 -1
- package/components/paginator/Paginator.vue.d.ts +285 -0
- package/components/progressbar/ProgressBar.vue.d.ts +2 -1
- package/components/quickfilter/QuickFilter.vue.d.ts +2 -1
- package/components/summaryaccordion/SummaryAccordion.vue.d.ts +3 -3
- package/components/tabmenu/TabMenu.vue.d.ts +7 -191
- package/components/taskdetail/TaskDetail.vue.d.ts +4 -2
- package/components/taskdetail/blocks/sections/API/TestApi/options/keyValueTableColumn.d.ts +1 -1
- package/components/{dialogdetailpbi → taskdetailpbi}/TaskDetailPbi.vue.d.ts +3 -3
- package/components/taskdetailpbi/options/memberFilterFields.d.ts +7 -0
- package/components/taskdetailpbi/options/taskQuickFilterFields.d.ts +6 -0
- package/components/tasktable/TaskTable.vue.d.ts +2 -2
- package/components/textarea/Textarea.vue.d.ts +2 -1
- package/components/timeline/Timeline.vue.d.ts +22 -3
- package/components/toast/Toast.vue.d.ts +3 -2
- package/components/toggleswitch/ToggleSwitch.vue.d.ts +2 -1
- package/components/tree/Tree.vue.d.ts +9 -3
- package/components/ts-helpers.d.ts +8 -0
- package/components/usergroup/UserGroup.vue.d.ts +1 -1
- package/components/username/UserName.vue.d.ts +9 -4
- package/components/workcalendar/WorkCalendar.vue.d.ts +0 -1
- package/config/defaultProps.d.ts +1 -1
- package/config/index.d.ts +1 -1
- package/config/locale.d.ts +1 -1
- package/directives/focus.d.ts +1 -1
- package/dto/member.dto.d.ts +52 -52
- package/dto/task.dto.d.ts +65 -65
- package/dto/taskApi.dto.d.ts +15 -15
- package/dto/taskAttachment.dto.d.ts +5 -5
- package/dto/taskChecklist.dto.d.ts +23 -23
- package/dto/taskDependency.dto.d.ts +4 -4
- package/event-bus/index.d.ts +59 -56
- package/event-bus/mitt.d.ts +29 -14
- package/main.d.ts +30 -2
- package/no-data-CTKux8RI.js +4 -0
- package/no-data-Dep79CBh.js +1 -0
- package/package.json +19 -8
- package/plugins/WangsVue.d.ts +276 -214
- package/plugins/formValidation.d.ts +16 -6
- package/services/calendar.service.d.ts +4 -4
- package/stats.html +4949 -0
- package/style.css +4 -2
- package/types/member.type.d.ts +68 -59
- package/types/project.type.d.ts +52 -52
- package/types/projectApproval.type.d.ts +1 -1
- package/types/projectModule.type.d.ts +4 -4
- package/types/projectProcess.type.d.ts +12 -12
- package/types/projectQc.type.d.ts +38 -38
- package/types/projectSubmodule.type.d.ts +8 -8
- package/types/queryParamsStringfy.type.d.ts +1 -1
- package/types/roleDetailAccess.type.d.ts +13 -13
- package/types/subModule.type.d.ts +2 -2
- package/types/task.type.d.ts +196 -196
- package/types/team.type.d.ts +2 -2
- package/types/ticket.type.d.ts +16 -9
- package/types/user.type.d.ts +15 -15
- package/types/wangsStatus.type.d.ts +40 -6
- package/utils/addAttachment.util.d.ts +28 -12
- package/utils/convertJsonImage.util.d.ts +4 -2
- package/utils/date.util.d.ts +64 -31
- package/utils/exportToExcel.util.d.ts +23 -16
- package/utils/genPlaceholder.util.d.ts +7 -2
- package/utils/getProjectPermission.util.d.ts +4 -1
- package/utils/getSalesRole.util.d.ts +26 -26
- package/utils/index.d.ts +17 -14
- package/utils/object.util.d.ts +14 -3
- package/utils/queryParamsStringfy.util.d.ts +4 -2
- package/utils/role.util.d.ts +5 -1
- package/utils/statusSeverity.util.d.ts +4 -2
- package/utils/toast.util.d.ts +78 -78
- package/utils/xlsx.util.d.ts +19 -0
- package/wangsvue.js +66286 -0
- package/wangsvue.system.js +73 -258
- package/assets/json/currencies.json.d.ts +0 -1068
- package/assets/json/emoji-by-group.json.d.ts +0 -15629
- package/assets/lottie/admin/loading-page.lottie +0 -0
- package/assets/lottie/admin/loading-table.lottie +0 -0
- package/assets/lottie/admin/no-data.lottie +0 -0
- package/assets/lottie/supplyasset/loading-page.lottie +0 -0
- package/assets/lottie/supplyasset/loading-table.lottie +0 -0
- package/assets/lottie/supplyasset/no-data.lottie +0 -0
- package/assets/lottie/workspace/loading-page.lottie +0 -0
- package/assets/lottie/workspace/loading-plane.lottie +0 -0
- package/assets/lottie/workspace/loading-table.lottie +0 -0
- package/assets/lottie/workspace/no-data.lottie +0 -0
- package/build-entry.d.ts +0 -13
- package/components/approverinfo/ApproverInfo.vue.d.ts +0 -51
- package/components/buttonscan/helpers/getErrorCode.helper.d.ts +0 -3
- package/components/buttonscan/helpers/index.d.ts +0 -1
- package/components/buttonscan/workers/scanner.worker.d.ts +0 -1
- package/components/calendar/BaseCalendar.vue.d.ts +0 -96
- package/components/calendar/Calendar.vue.d.ts +0 -597
- package/components/changelogpage/ChangelogFilter.vue.d.ts +0 -16
- package/components/comment/CommentBlock.vue.d.ts +0 -35
- package/components/customcolumn/ColumnList.vue.d.ts +0 -27
- package/components/customcolumn/helpers/setVisibilityColumn.helper.d.ts +0 -12
- package/components/datatable/MultiRow.vue.d.ts +0 -16
- package/components/datatable/helpers/adjustMenuPosition.helper.d.ts +0 -1
- package/components/datatable/helpers/filter.helper.d.ts +0 -28
- package/components/datatable/helpers/index.d.ts +0 -3
- package/components/datatable/helpers/readConfig.helper.d.ts +0 -2
- package/components/datatable/store/dataTable.store.d.ts +0 -22
- package/components/detailmember/DetailMemberAdmin.vue.d.ts +0 -18
- package/components/detailmember/DetailMemberLeader.vue.d.ts +0 -15
- package/components/detailmember/DetailMemberLog.vue.d.ts +0 -15
- package/components/detailmember/DialogMemberAdmin.vue.d.ts +0 -23
- package/components/detailsprint/DialogAddPbi.vue.d.ts +0 -24
- package/components/detailsprint/DialogConfirmSprint.vue.d.ts +0 -24
- package/components/detailsprint/SprintSummary.vue.d.ts +0 -15
- package/components/dialogAdjustmentTask/DialogAdjustmentTaskHeader.vue.d.ts +0 -27
- package/components/dialogAdjustmentTask/common/TaskDependency.vue.d.ts +0 -12
- package/components/dialogAdjustmentTask/common/TaskStatusBadge.vue.d.ts +0 -16
- package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskBulkAction.d.ts +0 -3
- package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskSingleAction.d.ts +0 -3
- package/components/dialogAdjustmentTask/options/dialogAdjustmentTaskTableColumn.d.ts +0 -2
- package/components/dialogdetailpbi/AssignMember.vue.d.ts +0 -30
- package/components/dialogdetailpbi/TaskDetailUnassignedPbi.vue.d.ts +0 -27
- package/components/dialogdetailpbi/options/memberFilterFields.d.ts +0 -2
- package/components/dialogdetailpbi/options/taskQuickFilterFields.d.ts +0 -3
- package/components/dialogreportbug/DialogReportBug.vue.d.ts +0 -25
- package/components/dialogreportbug/imageData.json.d.ts +0 -28
- package/components/editor/CodeSnippetAdapter.vue.d.ts +0 -92
- package/components/editor/EditorButton.vue.d.ts +0 -15
- package/components/editor/MentionList.vue.d.ts +0 -35
- package/components/editor/MentionSection.vue.d.ts +0 -92
- package/components/editor/codeSnippetExtension.d.ts +0 -3
- package/components/editor/mentionSectionExtension.d.ts +0 -3
- package/components/editor/suggestion.d.ts +0 -2
- package/components/filtercontainer/helpers/applyFilter.helper.d.ts +0 -5
- package/components/filtercontainer/helpers/getOption.helper.d.ts +0 -3
- package/components/hardwaresync/HardwareSync.vue.d.ts +0 -30
- package/components/hardwaresync/store/device.store.d.ts +0 -36
- package/components/helpers/convertToArrayClass.helper.d.ts +0 -2
- package/components/helpers/index.d.ts +0 -2
- package/components/helpers/label.d.ts +0 -15
- package/components/imagecompressor/BackgroundImageCropper.vue.d.ts +0 -36
- package/components/imagecompressor/ImageInputInfo.vue.d.ts +0 -32
- package/components/inputgroup/InputGroup.vue.d.ts +0 -141
- package/components/inputphonenumber/helpers/getUserLocation.helper.d.ts +0 -8
- package/components/languagedropdown/LanguageDropdownOption.vue.d.ts +0 -18
- package/components/languageswitcher/LanguageSwitcher.vue.d.ts +0 -15
- package/components/menu/helpers/filterMenu.helper.d.ts +0 -12
- package/components/menu/helpers/index.d.ts +0 -1
- package/components/menuitem/MenuItem.vue.d.ts +0 -19
- package/components/notificationitem/dialogs/ConfirmDeploy.vue.d.ts +0 -24
- package/components/tagtype/TagType.vue.d.ts +0 -21
- package/components/taskdetail/blocks/Tabs/DescriptionTab.vue.d.ts +0 -2
- package/components/taskdetail/blocks/Tabs/EventLogTab.vue.d.ts +0 -2
- package/components/taskdetail/blocks/Tabs/InfoTaskTab.vue.d.ts +0 -2
- package/components/taskdetail/blocks/Tabs/ReviewTab.vue.d.ts +0 -2
- package/components/taskdetail/blocks/common/AttachmentThumbnail.vue.d.ts +0 -18
- package/components/taskdetail/blocks/common/DialogAddAttachment.vue.d.ts +0 -32
- package/components/taskdetail/blocks/common/DialogAssignMember.vue.d.ts +0 -30
- package/components/taskdetail/blocks/common/DialogConfirmApproval.vue.d.ts +0 -26
- package/components/taskdetail/blocks/common/DialogConfirmDeleteTask.vue.d.ts +0 -28
- package/components/taskdetail/blocks/common/DialogConfirmEdit.vue.d.ts +0 -24
- package/components/taskdetail/blocks/common/DialogConfirmFinishTask.vue.d.ts +0 -24
- package/components/taskdetail/blocks/common/DialogPriorityValue.vue.d.ts +0 -21
- package/components/taskdetail/blocks/common/DialogSetDuration.vue.d.ts +0 -18
- package/components/taskdetail/blocks/common/InputAdditional.vue.d.ts +0 -30
- package/components/taskdetail/blocks/common/Legend.vue.d.ts +0 -79
- package/components/taskdetail/blocks/common/SonarQubeSummary.vue.d.ts +0 -17
- package/components/taskdetail/blocks/common/TaskMore.vue.d.ts +0 -16
- package/components/taskdetail/blocks/sections/API/API.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/API/APIItem.vue.d.ts +0 -29
- package/components/taskdetail/blocks/sections/API/DialogAPIChangelog.vue.d.ts +0 -18
- package/components/taskdetail/blocks/sections/API/DialogAddEditApi.vue.d.ts +0 -25
- package/components/taskdetail/blocks/sections/API/DialogCopyApi.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/API/DialogTestApi.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/API/IsRequiredText.vue.d.ts +0 -15
- package/components/taskdetail/blocks/sections/API/ValueFormDataInput.vue.d.ts +0 -37
- package/components/taskdetail/blocks/sections/Attachment/Attachment.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/Attachment/AttachmentChangelog.vue.d.ts +0 -18
- package/components/taskdetail/blocks/sections/Attachment/AttachmentItem.vue.d.ts +0 -65
- package/components/taskdetail/blocks/sections/Checklist/Checklist.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/Checklist/ChecklistChangelog.vue.d.ts +0 -18
- package/components/taskdetail/blocks/sections/Checklist/DialogAddChecklist.vue.d.ts +0 -32
- package/components/taskdetail/blocks/sections/Checklist/DialogConfirmChecklist.vue.d.ts +0 -26
- package/components/taskdetail/blocks/sections/Checklist/DialogDetailChecklistTemplate.vue.d.ts +0 -18
- package/components/taskdetail/blocks/sections/Checklist/DialogSaveChecklistTemplate.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/Description/Description.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/Review/DialogFinishReview.vue.d.ts +0 -26
- package/components/taskdetail/blocks/sections/Review/DialogReviewLeader.vue.d.ts +0 -25
- package/components/taskdetail/blocks/sections/Review/ReviewItem.vue.d.ts +0 -16
- package/components/taskdetail/blocks/sections/TaskDependency/DialogCustomDependency.vue.d.ts +0 -20
- package/components/taskdetail/blocks/sections/TaskDependency/TaskDependency.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/TaskLink/DialogSetTaskLink.vue.d.ts +0 -40
- package/components/taskdetail/blocks/sections/TaskLink/TaskLink.vue.d.ts +0 -2
- package/components/taskdetail/blocks/sections/TaskLink/TaskLinkChangelog.vue.d.ts +0 -22
- package/components/taskdetail/blocks/sections/TaskList/LegendList.vue.d.ts +0 -55
- package/components/taskdetail/blocks/sections/TaskList/TaskList.vue.d.ts +0 -15
- package/components/taskdetail/blocks/sections/Ticket/Ticket.vue.d.ts +0 -2
- package/components/tasktable/DependencyCol.vue.d.ts +0 -16
- package/components/tasktable/DialogConfirmDeleteTaskPermanently.vue.d.ts +0 -24
- package/components/tasktable/DialogConfirmRestoreTask.vue.d.ts +0 -24
- package/components/tasktable/DialogSelectProject.vue.d.ts +0 -20
- package/components/timeline/TimelineContentByType.vue.d.ts +0 -16
- package/components/tooltipspan/TooltipSpan.vue.d.ts +0 -20
- package/components/tree/helpers/filterNodeKeys.helper.d.ts +0 -16
- package/components/tree/helpers/flattenTreeNodeChildren.helper.d.ts +0 -6
- package/components/tree/helpers/index.d.ts +0 -3
- package/index.d.ts +0 -2
- package/plugins/i18n.d.ts +0 -94
- package/utils/filterOptions.util.d.ts +0 -3
- package/utils/getAttachmentIcon.util.d.ts +0 -8
- package/utils/mergePropsWithDefaults.util.d.ts +0 -20
- package/utils/textFormatter.util.d.ts +0 -17
- package/wangsvue.es.js +0 -161460
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Slot } from 'vue';
|
|
2
|
+
|
|
3
|
+
import { ClassComponent } from '../ts-helpers';
|
|
2
4
|
|
|
3
5
|
export interface FieldWrapperLocaleConfig {
|
|
4
6
|
/**
|
|
@@ -64,6 +66,21 @@ export interface FieldWrapperProps {
|
|
|
64
66
|
tooltipPos?: 'top' | 'right' | 'bottom' | 'left';
|
|
65
67
|
}
|
|
66
68
|
|
|
67
|
-
|
|
69
|
+
export interface FieldWrapperSlots {
|
|
70
|
+
'label-addon': Slot;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
declare class FieldWrapper extends ClassComponent<
|
|
74
|
+
FieldWrapperProps,
|
|
75
|
+
FieldWrapperSlots,
|
|
76
|
+
unknown
|
|
77
|
+
> {}
|
|
78
|
+
|
|
79
|
+
export type FieldWrapperEmits = {
|
|
80
|
+
/**
|
|
81
|
+
* Emitted when the information (tooltip) is clicked.
|
|
82
|
+
*/
|
|
83
|
+
infoClick: [];
|
|
84
|
+
};
|
|
68
85
|
|
|
69
86
|
export default FieldWrapper;
|
|
@@ -2,8 +2,9 @@ import {
|
|
|
2
2
|
FileUploadErrorEvent,
|
|
3
3
|
FileUploadUploadEvent,
|
|
4
4
|
} from 'primevue/fileupload';
|
|
5
|
+
|
|
5
6
|
import { CustomValidation } from '../form/Form.vue.d';
|
|
6
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
7
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
|
|
7
8
|
|
|
8
9
|
export type InputErrorCodes = 'FILE_SIZE_TOO_LARGE';
|
|
9
10
|
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
import { AxiosResponse } from 'axios';
|
|
1
2
|
import { DefineComponent, Slot } from 'vue';
|
|
3
|
+
|
|
4
|
+
import {
|
|
5
|
+
DropdownProps,
|
|
6
|
+
Option,
|
|
7
|
+
} from '../../components/dropdown/Dropdown.vue.d';
|
|
8
|
+
|
|
9
|
+
import { ButtonSelectTreeProps } from '../buttonselecttree/ButtonSelectTree.vue.d';
|
|
2
10
|
import { CalendarProps } from '../calendar/Calendar.vue.d';
|
|
3
11
|
import { QueryParams } from '../datatable/DataTable.vue.d';
|
|
4
|
-
import { DropdownProps, Option } from 'lib/components/dropdown/Dropdown.vue.d';
|
|
5
12
|
import { InputRangeNumberProps } from '../inputrangenumber/InputRangeNumber.vue.d';
|
|
6
13
|
import { MultiSelectProps } from '../multiselect/MultiSelect.vue.d';
|
|
7
|
-
import {
|
|
14
|
+
import { StringKeyOf, TypeError } from '../ts-helpers';
|
|
8
15
|
|
|
9
16
|
export type FilterMatchMode =
|
|
10
17
|
| 'CONTAINS'
|
|
@@ -18,66 +25,76 @@ export type FilterMatchMode =
|
|
|
18
25
|
| 'BETWEEN'
|
|
19
26
|
| 'DATE_BETWEEN';
|
|
20
27
|
|
|
21
|
-
|
|
22
|
-
export interface MultiSelectFilterField extends MultiSelectProps {
|
|
23
|
-
type: 'multiselect';
|
|
28
|
+
type BaseSelectField<OptionsQueryParams extends QueryParams> = {
|
|
24
29
|
/**
|
|
25
|
-
*
|
|
30
|
+
* Represents a function type for fetching options based on query parameters.
|
|
26
31
|
*
|
|
27
|
-
*
|
|
28
|
-
* For example, if filtering by a user's full name, the field could be 'user.fullName', which will extract
|
|
29
|
-
* unique full names from the table data and use them as filter options.
|
|
30
|
-
*/
|
|
31
|
-
field: string;
|
|
32
|
-
optionField?: string; // @example - actionOptions
|
|
33
|
-
params?: QueryParams; // Additional QueryParams for the fetchOptionFn
|
|
34
|
-
fetchOptionFn?:
|
|
35
|
-
| ((args?: any) => Option[] | undefined) // Sync function to fetch options
|
|
36
|
-
| ((args?: any) => Promise<Option[] | undefined>); // Async function
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export interface DropdownFilterField extends DropdownProps {
|
|
40
|
-
type: 'dropdown';
|
|
41
|
-
/**
|
|
42
|
-
* The name of the field this filter applies to.
|
|
32
|
+
* @template T - The type of query parameters, extending `QueryParams`. Defaults to `any`.
|
|
43
33
|
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
|
|
48
|
-
field: string;
|
|
49
|
-
optionField?: string; // @example - actionOptions
|
|
50
|
-
params?: QueryParams; // Additional QueryParams for the fetchOptionFn
|
|
51
|
-
fetchOptionFn?:
|
|
52
|
-
| ((args?: any) => Option[] | undefined) // Sync function to fetch options
|
|
53
|
-
| ((args?: any) => Promise<Option[]> | undefined); // Async function
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export interface RangeNumberFilterField extends InputRangeNumberProps {
|
|
57
|
-
type: 'rangenumber';
|
|
58
|
-
/**
|
|
59
|
-
* Specify min and max field
|
|
34
|
+
* This function can have one of the following signatures:
|
|
35
|
+
* - A synchronous function that takes query parameters and returns an array of `Option` objects.
|
|
36
|
+
* - An asynchronous function that takes query parameters and returns a `Promise` resolving to an array of `Option` objects.
|
|
37
|
+
* - An asynchronous function that takes query parameters and returns a `Promise` resolving to an `AxiosResponse` containing a `FetchOptionResponse` object.
|
|
60
38
|
*
|
|
61
|
-
* @
|
|
39
|
+
* @param args - The query parameters of type `T` used to fetch the options.
|
|
40
|
+
* @returns One of the following:
|
|
41
|
+
* - An array of `Option` objects.
|
|
42
|
+
* - A `Promise` resolving to an array of `Option` objects.
|
|
43
|
+
* - A `Promise` resolving to an `AxiosResponse` containing a `FetchOptionResponse` object.
|
|
62
44
|
*/
|
|
63
|
-
|
|
45
|
+
fetchOptionFn?(
|
|
46
|
+
args: OptionsQueryParams,
|
|
47
|
+
): Option[] | Promise<Option[]> | Promise<AxiosResponse<FetchOptionResponse>>;
|
|
64
48
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
49
|
+
optionField?: keyof OptionsQueryParams; // @example - actionOptions
|
|
50
|
+
params?: OptionsQueryParams; // Additional QueryParams for the fetchOptionFn
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export interface MultiSelectFilterField<OptionsQueryParams extends QueryParams>
|
|
54
|
+
extends BaseSelectField<OptionsQueryParams>,
|
|
55
|
+
MultiSelectProps {
|
|
56
|
+
type: 'multiselect';
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface DropdownFilterField<OptionsQueryParams extends QueryParams>
|
|
60
|
+
extends BaseSelectField<OptionsQueryParams>,
|
|
61
|
+
DropdownProps {
|
|
62
|
+
type: 'dropdown';
|
|
75
63
|
}
|
|
76
64
|
|
|
77
|
-
|
|
78
|
-
|
|
65
|
+
type RangeNumberFilterField<Field extends string> =
|
|
66
|
+
| (InputRangeNumberProps & {
|
|
67
|
+
type: 'rangenumber';
|
|
68
|
+
/**
|
|
69
|
+
* Specify min and max field
|
|
70
|
+
*
|
|
71
|
+
* @example ['minAge', 'maxAge']
|
|
72
|
+
*/
|
|
73
|
+
fields: [Field, Field];
|
|
74
|
+
field?: TypeError<'`field` must not be specified when using `fields` property'>;
|
|
75
|
+
tooltip?: string;
|
|
76
|
+
})
|
|
77
|
+
| (InputRangeNumberProps & {
|
|
78
|
+
type: 'rangenumber';
|
|
79
|
+
/**
|
|
80
|
+
* Specify single field for both min and max input.
|
|
81
|
+
* The value will be a number array.
|
|
82
|
+
*
|
|
83
|
+
* Prefer using this property when working with Static Filtering
|
|
84
|
+
*
|
|
85
|
+
* @example value: [1000, 5000] or equivalent to 'value.0': 1000 & 'value.1': 5000
|
|
86
|
+
*/
|
|
87
|
+
field: Field;
|
|
88
|
+
fields?: TypeError<'`fields` must not be specified when using `field` property'>;
|
|
89
|
+
tooltip?: string;
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
export interface ButtonSelectTreeFilterField<
|
|
93
|
+
Field extends string,
|
|
94
|
+
Params = QueryParams,
|
|
95
|
+
> extends Omit<ButtonSelectTreeProps, 'type' | 'label' | 'fieldLabel'> {
|
|
79
96
|
type: 'group' | 'category';
|
|
80
|
-
field:
|
|
97
|
+
field: Field; // The name of the field this filter applies to
|
|
81
98
|
/**
|
|
82
99
|
* The field label.
|
|
83
100
|
*/
|
|
@@ -87,22 +104,46 @@ export interface ButtonSelectTreeFilterField
|
|
|
87
104
|
* @default to Select Group|Category
|
|
88
105
|
*/
|
|
89
106
|
buttonLabel?: string;
|
|
90
|
-
params?:
|
|
107
|
+
params?: Params; // Override QueryParams for the fetchTree
|
|
91
108
|
}
|
|
92
109
|
|
|
93
110
|
export interface CalendarFilterField extends CalendarProps {
|
|
94
111
|
type: 'calendar';
|
|
95
|
-
field: string;
|
|
96
112
|
}
|
|
97
113
|
|
|
98
|
-
export type AdditionalFilterField =
|
|
114
|
+
export type AdditionalFilterField<Field extends string = string> =
|
|
115
|
+
ButtonSelectTreeFilterField<Field>;
|
|
99
116
|
|
|
100
|
-
export type
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
117
|
+
export type BaseFilterField<Params extends QueryParams = QueryParams> = {
|
|
118
|
+
/**
|
|
119
|
+
* Filter field visibility
|
|
120
|
+
*
|
|
121
|
+
* You dont need manually filter, this component already handle it.
|
|
122
|
+
*/
|
|
123
|
+
visible?: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* The name of the field this filter applies to.
|
|
126
|
+
*
|
|
127
|
+
* When using a static filter, it also specifies the field in the data to be used for generating unique options.
|
|
128
|
+
* For example, if filtering by a user's full name, the field could be 'user.fullName', which will extract
|
|
129
|
+
* unique full names from the table data and use them as filter options.
|
|
130
|
+
*/
|
|
131
|
+
field: keyof Params;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export type FilterField<
|
|
135
|
+
Params extends QueryParams = QueryParams,
|
|
136
|
+
OptionsQueryParams extends QueryParams = QueryParams,
|
|
137
|
+
> =
|
|
138
|
+
| (BaseFilterField<Params> &
|
|
139
|
+
(
|
|
140
|
+
| AdditionalFilterField<StringKeyOf<Params>>
|
|
141
|
+
| MultiSelectFilterField<OptionsQueryParams>
|
|
142
|
+
| DropdownFilterField<OptionsQueryParams>
|
|
143
|
+
| CalendarFilterField
|
|
144
|
+
))
|
|
145
|
+
| (Omit<BaseFilterField<Params>, 'field'> &
|
|
146
|
+
RangeNumberFilterField<StringKeyOf<Params>>);
|
|
106
147
|
|
|
107
148
|
export type FilterOptions<Opt = Record<string, boolean>> = Record<
|
|
108
149
|
keyof Opt,
|
|
@@ -145,11 +186,6 @@ export interface FilterContainerProps {
|
|
|
145
186
|
* Slots for FilterContainer component
|
|
146
187
|
*/
|
|
147
188
|
export type FilterContainerSlots = {
|
|
148
|
-
/**
|
|
149
|
-
* @deprecated Please use props.fields instead
|
|
150
|
-
*/
|
|
151
|
-
default: Slot;
|
|
152
|
-
|
|
153
189
|
/**
|
|
154
190
|
* Additional template for field.
|
|
155
191
|
*/
|
|
@@ -5,12 +5,13 @@ import {
|
|
|
5
5
|
MaybeArray,
|
|
6
6
|
} from 'vee-validate';
|
|
7
7
|
import { Ref, Slot } from 'vue';
|
|
8
|
+
|
|
8
9
|
import {
|
|
9
10
|
ClassComponent,
|
|
10
11
|
GlobalComponentConstructor,
|
|
11
|
-
Nullable,
|
|
12
12
|
HintedString,
|
|
13
|
-
|
|
13
|
+
Nullable,
|
|
14
|
+
} from '../ts-helpers.d';
|
|
14
15
|
|
|
15
16
|
export type Condition =
|
|
16
17
|
| 'empty'
|
|
@@ -305,6 +306,8 @@ declare class Form extends ClassComponent<FormProps, FormSlots, FormEmits> {
|
|
|
305
306
|
* The form values
|
|
306
307
|
*/
|
|
307
308
|
values: GenericObject;
|
|
309
|
+
|
|
310
|
+
isSubmitClicked: boolean;
|
|
308
311
|
}
|
|
309
312
|
|
|
310
313
|
declare module '@vue/runtime-core' {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
1
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
|
|
2
2
|
|
|
3
3
|
export type WangsIconseverities =
|
|
4
4
|
| 'danger'
|
|
@@ -101,6 +101,7 @@ export type WangsIcons =
|
|
|
101
101
|
| 'file-user'
|
|
102
102
|
| 'filter-fill'
|
|
103
103
|
| 'filter'
|
|
104
|
+
| 'fingerprint-line'
|
|
104
105
|
| 'folder'
|
|
105
106
|
| 'folder-add-line'
|
|
106
107
|
| 'gate'
|
|
@@ -124,6 +125,7 @@ export type WangsIcons =
|
|
|
124
125
|
| 'link-unlink-m'
|
|
125
126
|
| 'list-settings'
|
|
126
127
|
| 'loader-4'
|
|
128
|
+
| 'lock-line'
|
|
127
129
|
| 'logout-box-r'
|
|
128
130
|
| 'mail-open'
|
|
129
131
|
| 'mail-send'
|
|
@@ -132,6 +134,7 @@ export type WangsIcons =
|
|
|
132
134
|
| 'map-pin'
|
|
133
135
|
| 'menu'
|
|
134
136
|
| 'menu-unfold'
|
|
137
|
+
| 'mind-map'
|
|
135
138
|
| 'minus'
|
|
136
139
|
| 'money-cny-box'
|
|
137
140
|
| 'money-dollar-circle'
|
|
@@ -9,13 +9,14 @@
|
|
|
9
9
|
*
|
|
10
10
|
*/
|
|
11
11
|
import { TransitionProps, VNode } from 'vue';
|
|
12
|
+
|
|
12
13
|
import { ComponentHooks } from '../basecomponent';
|
|
13
14
|
import { PassThroughOptions } from '../passthrough';
|
|
14
15
|
import {
|
|
15
16
|
ClassComponent,
|
|
16
17
|
GlobalComponentConstructor,
|
|
17
18
|
PassThrough,
|
|
18
|
-
} from '../ts-helpers';
|
|
19
|
+
} from '../ts-helpers.d';
|
|
19
20
|
|
|
20
21
|
export declare type ImagePassThroughOptionType =
|
|
21
22
|
| ImagePassThroughAttributes
|
|
@@ -195,6 +196,13 @@ export interface ImageProps {
|
|
|
195
196
|
* The thumbnail image.
|
|
196
197
|
*/
|
|
197
198
|
src?: string | Blob;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Wether use preview full image functionality
|
|
202
|
+
*
|
|
203
|
+
* @default true
|
|
204
|
+
*/
|
|
205
|
+
preview?: boolean;
|
|
198
206
|
/**
|
|
199
207
|
* The thumbnail image width.
|
|
200
208
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CustomValidation } from '../form/Form.vue.d';
|
|
2
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
2
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
|
|
3
3
|
|
|
4
4
|
export interface ImageCompressorLocaleConfig {
|
|
5
5
|
cropDialogHeader: string;
|
|
@@ -168,6 +168,10 @@ export interface ImageCompressorProps {
|
|
|
168
168
|
* @default 'webp'
|
|
169
169
|
*/
|
|
170
170
|
fileType?: 'webp' | 'jpeg' | 'jpg';
|
|
171
|
+
/**
|
|
172
|
+
* @default normal
|
|
173
|
+
*/
|
|
174
|
+
type?: 'inline-table' | 'normal';
|
|
171
175
|
}
|
|
172
176
|
|
|
173
177
|
export interface ImageCompressorSlots {
|
|
@@ -184,6 +188,10 @@ export type ImageCompressorEmits = {
|
|
|
184
188
|
*/
|
|
185
189
|
'applyProp': [];
|
|
186
190
|
'update:defaultImage': [index?: number];
|
|
191
|
+
/**
|
|
192
|
+
* Emits on every changes in `field.value`
|
|
193
|
+
*/
|
|
194
|
+
'update:fieldValue': [value?: File[] | File];
|
|
187
195
|
/**
|
|
188
196
|
* On delete button clicked.
|
|
189
197
|
*
|
package/components/index.d.ts
CHANGED
|
@@ -1,29 +1,6 @@
|
|
|
1
|
-
export * from '.././components';
|
|
2
|
-
export { default as Badge } from './badge/Badge.vue';
|
|
3
|
-
export { default as WorkCalendar } from './workcalendar/WorkCalendar.vue';
|
|
4
|
-
export { default as Changelog } from './changelog/Changelog.vue';
|
|
5
|
-
export { default as InputInitialName } from './inputinitialname/InputInitialName.vue';
|
|
6
|
-
export { default as SummaryAccordion } from './summaryaccordion/SummaryAccordion.vue';
|
|
7
|
-
export { default as InputRepositoryName } from './inputrepositoryname/InputRepositoryName.vue';
|
|
8
|
-
export { default as ChangelogPage } from './changelogpage/ChangelogPage.vue';
|
|
9
|
-
export { default as DialogDetailPbi } from './dialogdetailpbi/DialogDetailPbi.vue';
|
|
10
|
-
export { default as DialogDetailComponent } from './dialogdetailcomponent/DialogDetailComponent.vue';
|
|
11
|
-
export { default as TaskDetailPbi } from './dialogdetailpbi/TaskDetailPbi.vue';
|
|
12
|
-
export { default as DetailMember } from './detailmember/DetailMember.vue';
|
|
13
|
-
export { default as DetailSprint } from './detailsprint/DetailSprint.vue';
|
|
14
|
-
export { default as DialogPreparePbi } from './detailsprint/DialogPreparePbi.vue';
|
|
15
|
-
export { default as DialogAdjustmentTask } from './dialogAdjustmentTask/DialogAdjustmentTask.vue';
|
|
16
|
-
export { default as TaskDetail } from './taskdetail/TaskDetail.vue';
|
|
17
|
-
export { default as TaskTable } from './tasktable/TaskTable.vue';
|
|
18
|
-
export { default as NotificationItem } from './notificationitem/NotificationItem.vue';
|
|
19
|
-
export { default as DialogImprovementTask } from './dialogimprovementtask/DialogImprovementTask.vue';
|
|
20
|
-
export { default as Comment } from './comment/Comment.vue';
|
|
21
|
-
export { default as Calendar } from '.././components/calendar/Calendar.vue';
|
|
22
|
-
export { default as FilterContainer } from '.././components/filtercontainer/FilterContainer.vue';
|
|
23
1
|
export { default as Animation } from './animation/Animation.vue';
|
|
24
|
-
export { default as ApproverInfo } from './approverinfo/ApproverInfo.vue';
|
|
25
|
-
export { default as Badge } from './badge/Badge.vue';
|
|
26
2
|
export { default as BadgeGroup } from './badgegroup/BadgeGroup.vue';
|
|
3
|
+
export { default as BaseTree } from './basetree/BaseTree.vue';
|
|
27
4
|
export { default as Breadcrumb } from './breadcrumb/Breadcrumb.vue';
|
|
28
5
|
export { default as Button } from './button/Button.vue';
|
|
29
6
|
export { default as ButtonBulkAction } from './buttonbulkaction/ButtonBulkAction.vue';
|
|
@@ -32,10 +9,8 @@ export { default as ButtonDownload } from './buttondownload/ButtonDownload.vue';
|
|
|
32
9
|
export { default as ButtonFilter } from './buttonfilter/ButtonFilter.vue';
|
|
33
10
|
export { default as ButtonRadio } from './buttonradio/ButtonRadio.vue';
|
|
34
11
|
export { default as ButtonSearch } from './buttonsearch/ButtonSearch.vue';
|
|
35
|
-
export { default as
|
|
36
|
-
export { default as ButtonSplit } from './buttonsplit/ButtonSplit.vue';
|
|
12
|
+
export { default as ButtonSelectTree } from './buttonselecttree/ButtonSelectTree.vue';
|
|
37
13
|
export { default as ButtonToggle } from './buttontoggle/ButtonToggle.vue';
|
|
38
|
-
export { default as ToggleSwitch } from './toggleswitch/ToggleSwitch.vue';
|
|
39
14
|
export { default as Card } from './card/Card.vue';
|
|
40
15
|
export { default as Checkbox } from './checkbox/Checkbox.vue';
|
|
41
16
|
export { default as CodeSnippet } from './codesnippet/CodeSnippet.vue';
|
|
@@ -43,13 +18,18 @@ export { default as DataTable } from './datatable/DataTable.vue';
|
|
|
43
18
|
export { default as Dialog } from './dialog/Dialog.vue';
|
|
44
19
|
export { default as DialogConfirm } from './dialogconfirm/DialogConfirm.vue';
|
|
45
20
|
export { default as DialogForm } from './dialogform/DialogForm.vue';
|
|
21
|
+
export { default as DialogSelectTree } from './dialogselecttree/DialogSelectTree.vue';
|
|
46
22
|
export { default as Dropdown } from './dropdown/Dropdown.vue';
|
|
47
23
|
export { default as Editor } from './editor/Editor.vue';
|
|
24
|
+
export { default as FieldWrapper } from './fieldwrapper/FieldWrapper.vue';
|
|
48
25
|
export { default as FileUpload } from './fileupload/FileUpload.vue';
|
|
26
|
+
export { default as FilterContainer } from './filtercontainer/FilterContainer.vue';
|
|
49
27
|
export { default as Form } from './form/Form.vue';
|
|
28
|
+
export { default as GalleryPreview } from './gallerypreview/GalleryPreview.vue';
|
|
50
29
|
export { default as Icon } from './icon/Icon.vue';
|
|
51
30
|
export { default as Image } from './image/Image.vue';
|
|
52
31
|
export { default as ImageCompressor } from './imagecompressor/ImageCompressor.vue';
|
|
32
|
+
export { default as InlineMessage } from './inlinemessage/InlineMessage.vue';
|
|
53
33
|
export { default as InputBadge } from './inputbadge/InputBadge.vue';
|
|
54
34
|
export { default as InputCurrency } from './inputcurrency/InputCurrency.vue';
|
|
55
35
|
export { default as InputEmail } from './inputemail/InputEmail.vue';
|
|
@@ -65,14 +45,36 @@ export { default as Loading } from './loading/Loading.vue';
|
|
|
65
45
|
export { default as Menu } from './menu/Menu.vue';
|
|
66
46
|
export { default as MultiSelect } from './multiselect/MultiSelect.vue';
|
|
67
47
|
export { default as OverlayPanel } from './overlaypanel/OverlayPanel.vue';
|
|
48
|
+
export { default as Paginator } from './paginator/Paginator.vue';
|
|
68
49
|
export { default as ProgressBar } from './progressbar/ProgressBar.vue';
|
|
69
50
|
export { default as QuickFilter } from './quickfilter/QuickFilter.vue';
|
|
70
51
|
export { default as TabMenu } from './tabmenu/TabMenu.vue';
|
|
71
52
|
export { default as Textarea } from './textarea/Textarea.vue';
|
|
72
53
|
export { default as Timeline } from './timeline/Timeline.vue';
|
|
73
54
|
export { default as Toast } from './toast/Toast.vue';
|
|
74
|
-
export { default as
|
|
55
|
+
export { default as ToggleSwitch } from './toggleswitch/ToggleSwitch.vue';
|
|
56
|
+
export { default as Tree } from './tree/Tree.vue';
|
|
75
57
|
export { default as UserGroup } from './usergroup/UserGroup.vue';
|
|
76
58
|
export { default as UserName } from './username/UserName.vue';
|
|
77
|
-
export { default as
|
|
78
|
-
|
|
59
|
+
export { default as ValidatorMessage } from './validatormessage/ValidatorMessage.vue';
|
|
60
|
+
|
|
61
|
+
export { default as Badge } from './badge/Badge.vue';
|
|
62
|
+
export { default as Changelog } from './changelog/Changelog.vue';
|
|
63
|
+
export { default as ChangelogPage } from './changelogpage/ChangelogPage.vue';
|
|
64
|
+
export { default as Comment } from './comment/Comment.vue';
|
|
65
|
+
export { default as DetailMember } from './detailmember/DetailMember.vue';
|
|
66
|
+
export { default as DetailSprint } from './detailsprint/DetailSprint.vue';
|
|
67
|
+
export { default as DialogAdjustmentTask } from './dialogadjustmenttask/DialogAdjustmentTask.vue';
|
|
68
|
+
export { default as DialogDetailComponent } from './dialogdetailcomponent/DialogDetailComponent.vue';
|
|
69
|
+
export { default as DialogDetailPbi } from './dialogdetailpbi/DialogDetailPbi.vue';
|
|
70
|
+
export { default as DialogImprovementTask } from './dialogimprovementtask/DialogImprovementTask.vue';
|
|
71
|
+
export { default as DialogPreparePbi } from './dialogpreparepbi/DialogPreparePbi.vue';
|
|
72
|
+
export { default as DialogReportBug } from './dialogreportbug/DialogReportBug.vue';
|
|
73
|
+
export { default as InputInitialName } from './inputinitialname/InputInitialName.vue';
|
|
74
|
+
export { default as InputRepositoryName } from './inputrepositoryname/InputRepositoryName.vue';
|
|
75
|
+
export { default as NotificationItem } from './notificationitem/NotificationItem.vue';
|
|
76
|
+
export { default as SummaryAccordion } from './summaryaccordion/SummaryAccordion.vue';
|
|
77
|
+
export { default as TaskDetail } from './taskdetail/TaskDetail.vue';
|
|
78
|
+
export { default as TaskDetailPbi } from './taskdetailpbi/TaskDetailPbi.vue';
|
|
79
|
+
export { default as TaskTable } from './tasktable/TaskTable.vue';
|
|
80
|
+
export { default as WorkCalendar } from './workcalendar/WorkCalendar.vue';
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*
|
|
7
7
|
*/
|
|
8
8
|
import { ComponentHooks } from '../basecomponent';
|
|
9
|
-
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
9
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
|
|
10
10
|
|
|
11
11
|
export declare type InlineMessagePassThroughOptionType =
|
|
12
12
|
| InlineMessagePassThroughAttributes
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { CurrencyFormat } from '../InputCurrency.vue.d';
|
|
2
2
|
declare const getCurrency: (code?: string) => CurrencyFormat;
|
|
3
|
-
declare const formatCurrency: (
|
|
3
|
+
declare const formatCurrency: (
|
|
4
|
+
value?: number | string | null,
|
|
5
|
+
currency?: string,
|
|
6
|
+
prefix?: boolean,
|
|
7
|
+
) => string;
|
|
4
8
|
export { getCurrency, formatCurrency };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, Slot } from 'vue';
|
|
2
|
+
|
|
2
3
|
import { CustomValidation } from '../form/Form.vue.d';
|
|
3
4
|
|
|
4
5
|
export type InputNumberEvent = number | string | undefined;
|
|
@@ -261,6 +262,11 @@ export type InputNumberEmits = {
|
|
|
261
262
|
export interface InputNumberSlots {
|
|
262
263
|
'addon-left': Slot;
|
|
263
264
|
'addon-right': Slot;
|
|
265
|
+
/**
|
|
266
|
+
* Slot for content in the right side of field label
|
|
267
|
+
*/
|
|
268
|
+
'field-label-addon': Slot;
|
|
269
|
+
'validatormessage': Slot;
|
|
264
270
|
}
|
|
265
271
|
|
|
266
272
|
/**
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { CustomValidation } from '../../components/form/Form.vue.d';
|
|
2
|
+
import { ClassComponent, Nullable } from '../../components/ts-helpers.d';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* InputRepositoryName component props
|
|
@@ -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.d';
|
|
14
15
|
export declare type InputTextPassThroughOptionType<T = any> =
|
|
15
16
|
| InputTextPassThroughAttributes
|
|
16
17
|
| ((
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { Slot } from 'vue';
|
|
2
|
-
|
|
2
|
+
|
|
3
3
|
import {
|
|
4
4
|
InputTextEmits,
|
|
5
5
|
InputTextProps,
|
|
6
|
-
} from '
|
|
6
|
+
} from '../../components/inputtext/InputText.vue.d';
|
|
7
|
+
|
|
8
|
+
import { ClassComponent } from '../ts-helpers.d';
|
|
7
9
|
|
|
8
10
|
/**
|
|
9
11
|
* InputURL component props
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DropdownEmits,
|
|
3
3
|
DropdownProps,
|
|
4
|
-
} from '
|
|
5
|
-
|
|
4
|
+
} from '../../components/dropdown/Dropdown.vue.d';
|
|
5
|
+
|
|
6
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
|
|
6
7
|
|
|
7
8
|
export type LanguageDropdownProps = DropdownProps & {};
|
|
8
9
|
export type LanguageDropdownEmits = DropdownEmits & {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { Option, OptionValue } from '
|
|
2
|
-
|
|
1
|
+
import { Option, OptionValue } from '../../components/dropdown/Dropdown.vue.d';
|
|
2
|
+
|
|
3
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers.d';
|
|
4
|
+
|
|
3
5
|
import { DropdownChangeEvent } from 'primevue/dropdown';
|
|
4
6
|
|
|
5
7
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
export interface LoadingStore {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
loading: Ref<boolean>;
|
|
4
|
+
message: Ref<string | undefined>;
|
|
5
|
+
setLoading: (state: boolean, message?: string) => void;
|
|
6
6
|
}
|
|
7
7
|
declare const useLoadingStore: () => LoadingStore;
|
|
8
8
|
export default useLoadingStore;
|