@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,597 +0,0 @@
|
|
|
1
|
-
import { TransitionProps, Slot } from 'vue';
|
|
2
|
-
import { CustomValidation } from '../form/Form.vue.d';
|
|
3
|
-
import { ClassComponent } from '../ts-helpers';
|
|
4
|
-
|
|
5
|
-
export interface CalendarLocaleConfig {
|
|
6
|
-
defaultPlaceholder: string;
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Error message displayed when no selection has been made.
|
|
10
|
-
*
|
|
11
|
-
* This message can include placeholders:
|
|
12
|
-
* - `{label}`: Replaced with the value of `props.label`.
|
|
13
|
-
* - `{formattedLabel}`: Replaced with the value of `props.label` formatted with an appropriate article (a/an).
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* // If `props.label` is 'Date', the error message will be:
|
|
17
|
-
* '{label} must be picked' - 'Date must be picked'
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* // If `props.label` is 'Audit Date', the error message will be:
|
|
21
|
-
* 'You must pick {formattedLabel}' - 'You must pick an Audit date'
|
|
22
|
-
*/
|
|
23
|
-
emptyInvalidText?: string;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* The cancel button when props.showTime or showButton
|
|
27
|
-
*
|
|
28
|
-
* @default 'Cancel'
|
|
29
|
-
*/
|
|
30
|
-
cancelFooterButtonLabel?: string;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* The apply button when props.showTime or showButton
|
|
34
|
-
*
|
|
35
|
-
* @default 'Apply'
|
|
36
|
-
*/
|
|
37
|
-
applyFooterButtonLabel?: string;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export type CalendarPresetOptionMethodType = (
|
|
41
|
-
options: Partial<CalendarPresetMethodOptions>,
|
|
42
|
-
) => CalendarPresetAttributes;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Defines the possible transition types for Calendar.
|
|
46
|
-
*/
|
|
47
|
-
export type CalendarPresetTransitionType =
|
|
48
|
-
| {
|
|
49
|
-
transition?: TransitionProps;
|
|
50
|
-
}
|
|
51
|
-
| ((options: CalendarPresetMethodOptions) => TransitionProps)
|
|
52
|
-
| undefined;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Options passed to methods for pass-through properties.
|
|
56
|
-
*/
|
|
57
|
-
export interface CalendarPresetMethodOptions {
|
|
58
|
-
instance: any;
|
|
59
|
-
props: CalendarProps;
|
|
60
|
-
state: CalendarState;
|
|
61
|
-
context: Partial<CalendarContext>;
|
|
62
|
-
attrs: any;
|
|
63
|
-
parent: any;
|
|
64
|
-
global: object | undefined;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* Attributes for Calendar pass-through customization.
|
|
69
|
-
*/
|
|
70
|
-
export interface CalendarPresetAttributes {
|
|
71
|
-
class?: any;
|
|
72
|
-
style?: any;
|
|
73
|
-
[key: string]: any;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
* Defines the structure for Calendar pass-through class options.
|
|
78
|
-
* Used in preset.
|
|
79
|
-
*/
|
|
80
|
-
export interface CalendarPresetOptions {
|
|
81
|
-
root?: CalendarPresetOptionMethodType;
|
|
82
|
-
input?: CalendarPresetOptionMethodType;
|
|
83
|
-
inputicon?: CalendarPresetAttributes;
|
|
84
|
-
dropdownbutton?: {
|
|
85
|
-
root?: CalendarPresetAttributes;
|
|
86
|
-
};
|
|
87
|
-
panel?: CalendarPresetOptionMethodType;
|
|
88
|
-
datepickerMask?: CalendarPresetAttributes;
|
|
89
|
-
header?: CalendarPresetOptionMethodType;
|
|
90
|
-
previousbutton?: CalendarPresetOptionMethodType;
|
|
91
|
-
title?: CalendarPresetOptionMethodType;
|
|
92
|
-
monthTitle?: CalendarPresetAttributes;
|
|
93
|
-
yearTitle?: CalendarPresetOptionMethodType;
|
|
94
|
-
nextbutton?: CalendarPresetOptionMethodType;
|
|
95
|
-
table?: CalendarPresetAttributes;
|
|
96
|
-
tableheadercell?: CalendarPresetAttributes;
|
|
97
|
-
tablebodyrow?: CalendarPresetAttributes;
|
|
98
|
-
weekheader?: CalendarPresetAttributes;
|
|
99
|
-
weeknumber?: CalendarPresetAttributes;
|
|
100
|
-
weekday?: CalendarPresetAttributes;
|
|
101
|
-
day?: CalendarPresetAttributes;
|
|
102
|
-
weeklabelcontainer?: CalendarPresetOptionMethodType;
|
|
103
|
-
daylabel?: CalendarPresetOptionMethodType;
|
|
104
|
-
monthpicker?: CalendarPresetAttributes;
|
|
105
|
-
month?: CalendarPresetOptionMethodType;
|
|
106
|
-
yearpicker?: CalendarPresetAttributes;
|
|
107
|
-
year?: CalendarPresetOptionMethodType;
|
|
108
|
-
timepicker?: CalendarPresetAttributes;
|
|
109
|
-
separatorcontainer?: CalendarPresetAttributes;
|
|
110
|
-
separator?: CalendarPresetAttributes;
|
|
111
|
-
hourpicker?: CalendarPresetAttributes;
|
|
112
|
-
timepickerlabel?: CalendarPresetAttributes;
|
|
113
|
-
minutepicker?: CalendarPresetAttributes;
|
|
114
|
-
secondPicker?: CalendarPresetAttributes;
|
|
115
|
-
incrementbutton?: CalendarPresetAttributes;
|
|
116
|
-
incrementicon?: CalendarPresetAttributes;
|
|
117
|
-
decrementbutton?: CalendarPresetAttributes;
|
|
118
|
-
decrementicon?: CalendarPresetAttributes;
|
|
119
|
-
container?: CalendarPresetAttributes;
|
|
120
|
-
groupcontainer?: CalendarPresetAttributes;
|
|
121
|
-
group?: CalendarPresetAttributes;
|
|
122
|
-
buttonbar?: CalendarPresetAttributes;
|
|
123
|
-
todaybutton?: {
|
|
124
|
-
root?: CalendarPresetAttributes;
|
|
125
|
-
};
|
|
126
|
-
clearbutton?: {
|
|
127
|
-
root?: CalendarPresetAttributes;
|
|
128
|
-
};
|
|
129
|
-
transition?: {
|
|
130
|
-
enterFromClass?: string;
|
|
131
|
-
enterActiveClass?: string;
|
|
132
|
-
leaveActiveClass?: string;
|
|
133
|
-
leaveToClass?: string;
|
|
134
|
-
};
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
/**
|
|
138
|
-
* Represents the current state of the Calendar component.
|
|
139
|
-
*/
|
|
140
|
-
export interface CalendarState {
|
|
141
|
-
currentView: CalendarProps['view'];
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
/**
|
|
145
|
-
* Defines current month options.
|
|
146
|
-
*/
|
|
147
|
-
export interface CalendarMonthOptions {
|
|
148
|
-
/**
|
|
149
|
-
* Month index.
|
|
150
|
-
*/
|
|
151
|
-
value: number;
|
|
152
|
-
|
|
153
|
-
/**
|
|
154
|
-
* Selectable state of the month.
|
|
155
|
-
*/
|
|
156
|
-
selectable: boolean;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Defines current year options.
|
|
161
|
-
*/
|
|
162
|
-
export interface CalendarYearOptions {
|
|
163
|
-
/**
|
|
164
|
-
* Year value.
|
|
165
|
-
*/
|
|
166
|
-
value: number;
|
|
167
|
-
|
|
168
|
-
/**
|
|
169
|
-
* Selectable state of the year.
|
|
170
|
-
*/
|
|
171
|
-
selectable: boolean;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
export interface CalendarDate {
|
|
175
|
-
/**
|
|
176
|
-
* Current date.
|
|
177
|
-
*/
|
|
178
|
-
day: number;
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
* Current month state.
|
|
182
|
-
*/
|
|
183
|
-
month: number;
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Current year state.
|
|
187
|
-
*/
|
|
188
|
-
year: number;
|
|
189
|
-
|
|
190
|
-
/**
|
|
191
|
-
* Current today state of the calendar's day.
|
|
192
|
-
*/
|
|
193
|
-
today: boolean;
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Selectable state of the day.
|
|
197
|
-
*/
|
|
198
|
-
selectable: boolean;
|
|
199
|
-
|
|
200
|
-
/**
|
|
201
|
-
* Wether the day is on other month than currently shown
|
|
202
|
-
*/
|
|
203
|
-
otherMonth: boolean;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Provides contextual information for the Calendar component.
|
|
208
|
-
*/
|
|
209
|
-
export interface CalendarContext {
|
|
210
|
-
/**
|
|
211
|
-
* Current date.
|
|
212
|
-
*/
|
|
213
|
-
date: CalendarDate;
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* Current today state of the calendar's day.
|
|
217
|
-
* @defaultValue false
|
|
218
|
-
*/
|
|
219
|
-
today: boolean;
|
|
220
|
-
|
|
221
|
-
/**
|
|
222
|
-
* Current other month state of the calendar's day.
|
|
223
|
-
*/
|
|
224
|
-
otherMonth: boolean;
|
|
225
|
-
|
|
226
|
-
/**
|
|
227
|
-
* Current selected state of the calendar's day or month or year.
|
|
228
|
-
* @defaultValue false
|
|
229
|
-
*/
|
|
230
|
-
selected: boolean;
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Current date is the first selected on range selection
|
|
234
|
-
*/
|
|
235
|
-
firstSelected: boolean;
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* Current date is the last selected on range selection
|
|
239
|
-
*/
|
|
240
|
-
lastSelected: boolean;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Current disabled state of the calendar's day or month or year.
|
|
244
|
-
* @defaultValue false
|
|
245
|
-
*/
|
|
246
|
-
disabled: boolean;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Current month state.
|
|
250
|
-
*/
|
|
251
|
-
month: CalendarMonthOptions;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Current month index state.
|
|
255
|
-
*/
|
|
256
|
-
monthIndex: number;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* Current year state.
|
|
260
|
-
*/
|
|
261
|
-
year: CalendarYearOptions;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Calendar component props
|
|
266
|
-
*/
|
|
267
|
-
export interface CalendarProps {
|
|
268
|
-
/**
|
|
269
|
-
* Bound value of the component.
|
|
270
|
-
* Supports single or multiple date selection.
|
|
271
|
-
*
|
|
272
|
-
* Used with `v-model`.
|
|
273
|
-
* It should not be used with useValidator. v-model should only be used when the Calendar not used in form
|
|
274
|
-
* @defaultValue null
|
|
275
|
-
*/
|
|
276
|
-
modelValue?: Date | Date[] | null;
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* Initial date value for pre-filling forms.
|
|
280
|
-
* Typically used for editing existing records.
|
|
281
|
-
*
|
|
282
|
-
* Accepts epoch timestamps in milliseconds.
|
|
283
|
-
*
|
|
284
|
-
* It will only watch for changes once.
|
|
285
|
-
*/
|
|
286
|
-
dateValue?: number | number[];
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* Epoch time in milliseconds representing the selected date(s).
|
|
290
|
-
*
|
|
291
|
-
* Can be used with `v-model:epochTimeMillis` for two way binding.
|
|
292
|
-
*/
|
|
293
|
-
epochTimeMillis?: number | number[];
|
|
294
|
-
|
|
295
|
-
/**
|
|
296
|
-
* Defines the format in which the field value is handled.
|
|
297
|
-
* - `'date'` returns a `Date` object.
|
|
298
|
-
* - `'millis'` returns an epoch timestamp in milliseconds.
|
|
299
|
-
*
|
|
300
|
-
* @default millis
|
|
301
|
-
*/
|
|
302
|
-
valueFormat?: 'date' | 'millis';
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* Display label on top of Date Input.
|
|
306
|
-
*/
|
|
307
|
-
label?: string;
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
* The input placeholder
|
|
311
|
-
* @default - The value on locale config {@link CalendarLocaleConfig.defaultPlaceholder}
|
|
312
|
-
*/
|
|
313
|
-
placeholder?: string;
|
|
314
|
-
disabled?: boolean;
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Make the calendar states readonly.
|
|
318
|
-
* If true, calendar will not allow user interaction with it. But user can view currently selected date and time.
|
|
319
|
-
*
|
|
320
|
-
* @default false
|
|
321
|
-
*/
|
|
322
|
-
readonly?: boolean;
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* The class name of the overlay element.
|
|
326
|
-
*/
|
|
327
|
-
overlayClass?: string;
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* Identifier of the underlying input element.
|
|
331
|
-
*/
|
|
332
|
-
inputId?: string | undefined;
|
|
333
|
-
|
|
334
|
-
/**
|
|
335
|
-
* Identifier of the wrapper element.
|
|
336
|
-
*/
|
|
337
|
-
id?: string | undefined;
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Whether single date or date range model value.
|
|
341
|
-
*
|
|
342
|
-
* @default 'single'
|
|
343
|
-
* @deprecated use selectionMode
|
|
344
|
-
*/
|
|
345
|
-
mode?: 'range' | 'single' | 'multiple';
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Whether single date or date range model value.
|
|
349
|
-
*
|
|
350
|
-
* @default 'single'
|
|
351
|
-
*/
|
|
352
|
-
selectionMode?: 'range' | 'single' | 'multiple';
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* Whether to hide the overlay on date selection when showTime is enabled.
|
|
356
|
-
* @defaultValue false
|
|
357
|
-
*/
|
|
358
|
-
hideOnDateTimeSelect?: boolean | undefined;
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* Whether to hide the overlay on date selection is completed when selectionMode is range.
|
|
362
|
-
* @defaultValue true - when showButtons and showTime false
|
|
363
|
-
* @defaultValue false - when showButtons and showTime true
|
|
364
|
-
*/
|
|
365
|
-
hideOnRangeSelection?: boolean | undefined;
|
|
366
|
-
|
|
367
|
-
/**
|
|
368
|
-
* Type of view to display.
|
|
369
|
-
* @defaultValue date
|
|
370
|
-
*/
|
|
371
|
-
view?: 'date' | 'month' | 'year' | undefined;
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* Wheter show year picker or not
|
|
375
|
-
*
|
|
376
|
-
* @default true
|
|
377
|
-
*/
|
|
378
|
-
showYear?: boolean;
|
|
379
|
-
|
|
380
|
-
/**
|
|
381
|
-
* Show button Apply and cancel on footer.
|
|
382
|
-
*
|
|
383
|
-
* If shown, the modelValue will be updated on button Apply clicked.
|
|
384
|
-
*
|
|
385
|
-
* @default false;
|
|
386
|
-
*/
|
|
387
|
-
showButtons?: boolean;
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Enable Validator using vee-validate. Combine with Form component that handle form validation.
|
|
391
|
-
*/
|
|
392
|
-
useValidator?: boolean;
|
|
393
|
-
|
|
394
|
-
/**
|
|
395
|
-
* When used as field in From Validation using Form component,
|
|
396
|
-
* specify the unique field name, match with your needs for API request.
|
|
397
|
-
*/
|
|
398
|
-
fieldName?: string;
|
|
399
|
-
|
|
400
|
-
/**
|
|
401
|
-
* Show information to user about the field.
|
|
402
|
-
*/
|
|
403
|
-
fieldInfo?: string;
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* Whether this field should be filled or not.
|
|
407
|
-
*/
|
|
408
|
-
mandatory?: boolean;
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* Show the text (opsional)
|
|
412
|
-
*
|
|
413
|
-
* @default true if mandatory true
|
|
414
|
-
*/
|
|
415
|
-
showOptionalText?: boolean;
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Sets the invalid state.
|
|
419
|
-
*/
|
|
420
|
-
invalid?: boolean;
|
|
421
|
-
|
|
422
|
-
/**
|
|
423
|
-
* Set the custom validator message.
|
|
424
|
-
* By default each field has preserved with its validator message, you don't need to worrying about the message.
|
|
425
|
-
*/
|
|
426
|
-
validatorMessage?: string | CustomValidation<'empty'>;
|
|
427
|
-
|
|
428
|
-
/**
|
|
429
|
-
* Set custom validation message for certain condition
|
|
430
|
-
*
|
|
431
|
-
* @deprecated - use validatorMessage {@link validatorMessage}
|
|
432
|
-
*/
|
|
433
|
-
customValidation?: CustomValidation;
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* Format of the date. Defaults to PrimeVue Locale configuration.
|
|
437
|
-
*/
|
|
438
|
-
dateFormat?: string | undefined;
|
|
439
|
-
|
|
440
|
-
/**
|
|
441
|
-
* Specifies hour format.
|
|
442
|
-
* @defaultValue 24
|
|
443
|
-
*/
|
|
444
|
-
hourFormat?: '12' | '24' | undefined;
|
|
445
|
-
|
|
446
|
-
/**
|
|
447
|
-
* Defines the calendar to use hour picker.
|
|
448
|
-
*/
|
|
449
|
-
showTime?: boolean;
|
|
450
|
-
|
|
451
|
-
/**
|
|
452
|
-
* Separator of time selector.
|
|
453
|
-
* @defaultValue :
|
|
454
|
-
*/
|
|
455
|
-
timeSeparator?: string | undefined;
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* Hours to change per step.
|
|
459
|
-
* @defaultValue 1
|
|
460
|
-
*/
|
|
461
|
-
stepHour?: number | undefined;
|
|
462
|
-
|
|
463
|
-
/**
|
|
464
|
-
* Minutes to change per step.
|
|
465
|
-
* @defaultValue 1
|
|
466
|
-
*/
|
|
467
|
-
stepMinute?: number | undefined;
|
|
468
|
-
|
|
469
|
-
/**
|
|
470
|
-
* Formats the hour picker to 12 hour format.
|
|
471
|
-
* @default true
|
|
472
|
-
*
|
|
473
|
-
* @deprecated use {@link hourFormat}
|
|
474
|
-
*/
|
|
475
|
-
useTimeFormat?: boolean;
|
|
476
|
-
|
|
477
|
-
/**
|
|
478
|
-
* Only allow weekdays to be selected.
|
|
479
|
-
*/
|
|
480
|
-
onlyWeekdays?: boolean;
|
|
481
|
-
|
|
482
|
-
/**
|
|
483
|
-
* Exclude certain dates from selection.
|
|
484
|
-
*/
|
|
485
|
-
excludeDates?: Date[];
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* The minimum selectable date.
|
|
489
|
-
*/
|
|
490
|
-
minDate?: Date | undefined;
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
* The maximum selectable date.
|
|
494
|
-
*/
|
|
495
|
-
maxDate?: Date | undefined;
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* The maximum selectable year.
|
|
499
|
-
*
|
|
500
|
-
* The full year: 2020
|
|
501
|
-
* @todo Support number, currently only support 'current'
|
|
502
|
-
*/
|
|
503
|
-
maxYear?: 'current' | number | undefined;
|
|
504
|
-
|
|
505
|
-
/**
|
|
506
|
-
* The maximum selectable months.
|
|
507
|
-
*
|
|
508
|
-
* Number 0-11
|
|
509
|
-
*
|
|
510
|
-
* @todo Support number, currently only support 'current'
|
|
511
|
-
*/
|
|
512
|
-
maxMonth?: 'current' | number | undefined;
|
|
513
|
-
/**
|
|
514
|
-
* When using range selection mode, selecting only the "start date" (without an "end date") will, by default, return a range ending 24 hours later.
|
|
515
|
-
* Enabling this prop will instead return the exact dates selected, without adding an extra day.
|
|
516
|
-
*
|
|
517
|
-
* @example Selecting dates from the 1st to the 5th will return an array of epoch timestamps for each day: [1st, 2nd, 3rd, 4th, 5th].
|
|
518
|
-
* @default false
|
|
519
|
-
* @requires selectionMode = 'range'
|
|
520
|
-
*/
|
|
521
|
-
exactSelection?: boolean;
|
|
522
|
-
}
|
|
523
|
-
|
|
524
|
-
/**
|
|
525
|
-
* Custom Calendar month change event.
|
|
526
|
-
* @see {@link CalendarEmits.monthChange}
|
|
527
|
-
*/
|
|
528
|
-
export interface CalendarMonthChangeEvent {
|
|
529
|
-
/**
|
|
530
|
-
* New month.
|
|
531
|
-
*/
|
|
532
|
-
month: number;
|
|
533
|
-
|
|
534
|
-
/**
|
|
535
|
-
* New year.
|
|
536
|
-
*/
|
|
537
|
-
year: number;
|
|
538
|
-
}
|
|
539
|
-
|
|
540
|
-
/**
|
|
541
|
-
* Custom Calendar year change event.
|
|
542
|
-
* @see {@link CalendarEmits.yearChange}
|
|
543
|
-
*/
|
|
544
|
-
export interface CalendarYearChangeEvent {
|
|
545
|
-
/**
|
|
546
|
-
* New month.
|
|
547
|
-
*/
|
|
548
|
-
month: number;
|
|
549
|
-
|
|
550
|
-
/**
|
|
551
|
-
* New year.
|
|
552
|
-
*/
|
|
553
|
-
year: number;
|
|
554
|
-
}
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* Calendar component emits
|
|
558
|
-
*/
|
|
559
|
-
export type CalendarEmits = {
|
|
560
|
-
'update:modelValue': [
|
|
561
|
-
date: Date | Array<Date> | Array<Date | null> | undefined | null,
|
|
562
|
-
];
|
|
563
|
-
'update:epochTimeMillis': [millis?: number | number[]];
|
|
564
|
-
'monthChange': [event: CalendarMonthChangeEvent];
|
|
565
|
-
'yearChange': [event: CalendarYearChangeEvent];
|
|
566
|
-
'dateSelect': [date: Date | Date[]];
|
|
567
|
-
};
|
|
568
|
-
|
|
569
|
-
export interface CalendarSlots {
|
|
570
|
-
/**
|
|
571
|
-
* Slot for custom root input element
|
|
572
|
-
*/
|
|
573
|
-
'default': Slot<{ onClick: (event: Event) => void }>;
|
|
574
|
-
|
|
575
|
-
/**
|
|
576
|
-
* Slot for additional content in overlay
|
|
577
|
-
*/
|
|
578
|
-
'addon-overlay': Slot;
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* **WangsVue - Calendar**
|
|
583
|
-
*
|
|
584
|
-
* _Handle input date with form validation._
|
|
585
|
-
*
|
|
586
|
-
* --- ---
|
|
587
|
-
* 
|
|
588
|
-
*
|
|
589
|
-
* @group form
|
|
590
|
-
*/
|
|
591
|
-
declare class Calendar extends ClassComponent<
|
|
592
|
-
CalendarProps,
|
|
593
|
-
CalendarSlots,
|
|
594
|
-
CalendarEmits
|
|
595
|
-
> {}
|
|
596
|
-
|
|
597
|
-
export default Calendar;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BaseChangelogPageProps } from './ChangelogPage.vue.d';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<BaseChangelogPageProps & {
|
|
3
|
-
tableName: string;
|
|
4
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<BaseChangelogPageProps & {
|
|
5
|
-
tableName: string;
|
|
6
|
-
}>>>, {}, {}>;
|
|
7
|
-
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { CommentBlockProps } from './Comment.vue.d';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CommentBlockProps>, {
|
|
3
|
-
replies: () => any[];
|
|
4
|
-
useReactions: boolean;
|
|
5
|
-
useReplies: boolean;
|
|
6
|
-
useTimeStamp: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CommentBlockProps>, {
|
|
8
|
-
replies: () => any[];
|
|
9
|
-
useReactions: boolean;
|
|
10
|
-
useReplies: boolean;
|
|
11
|
-
useTimeStamp: boolean;
|
|
12
|
-
}>>>, {
|
|
13
|
-
useReactions: boolean;
|
|
14
|
-
useReplies: boolean;
|
|
15
|
-
useTimeStamp: boolean;
|
|
16
|
-
replies: import('./Comment.vue.d').CommentData[];
|
|
17
|
-
}, {}>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_WithDefaults<P, D> = {
|
|
20
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
-
default: D[K];
|
|
22
|
-
}> : P[K];
|
|
23
|
-
};
|
|
24
|
-
type __VLS_Prettify<T> = {
|
|
25
|
-
[K in keyof T]: T[K];
|
|
26
|
-
} & {};
|
|
27
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { CustomColumnProps, DragableColumn } from './CustomColumn.vue.d';
|
|
2
|
-
import { TableColumn } from '../datatable/DataTable.vue.d';
|
|
3
|
-
declare let __VLS_typeProps: CustomColumnProps & {
|
|
4
|
-
savedColumns: DragableColumn[];
|
|
5
|
-
};
|
|
6
|
-
type __VLS_PublicProps = {
|
|
7
|
-
modelValue?: TableColumn[];
|
|
8
|
-
} & typeof __VLS_typeProps;
|
|
9
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
10
|
-
setColumnVisibilityConfig: () => Promise<void>;
|
|
11
|
-
resetToDefault: () => void;
|
|
12
|
-
updateVisibleColumnsModel: () => void;
|
|
13
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
"update:modelValue": (modelValue: TableColumn[]) => void;
|
|
15
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
16
|
-
"onUpdate:modelValue"?: (modelValue: TableColumn[]) => any;
|
|
17
|
-
}, {}, {}>;
|
|
18
|
-
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToOption<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: import('vue').PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { TableColumn } from '../../datatable/DataTable.vue.d';
|
|
2
|
-
import { DragableColumn } from '../CustomColumn.vue.d';
|
|
3
|
-
/**
|
|
4
|
-
* Updates the `visible` property of each table column based on the `maxColumn` limit
|
|
5
|
-
* and how many columns are currently visible. Only columns with `checkedByDefault !== false`
|
|
6
|
-
* will be considered for visibility.
|
|
7
|
-
*
|
|
8
|
-
* @param column - Array of table column definitions.
|
|
9
|
-
* @param maxColumn - Maximum number of columns that should be visible at once.
|
|
10
|
-
* @param currentVisibleColumnsLength - The current number of columns that are visible.
|
|
11
|
-
*/
|
|
12
|
-
export declare const setVisibilityByMaxColumn: (column: TableColumn[], maxColumn: number, currentVisibleColumnsLength: number) => DragableColumn[];
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { MultiRowAttribute } from './DataTable.vue.d';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
3
|
-
attributes: MultiRowAttribute[];
|
|
4
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
|
-
attributes: MultiRowAttribute[];
|
|
6
|
-
}>>>, {}, {}>;
|
|
7
|
-
export default _default;
|
|
8
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type __VLS_TypePropsToOption<T> = {
|
|
10
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
-
} : {
|
|
13
|
-
type: import('vue').PropType<T[K]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default function (event: Event): void;
|