@skyworx/dynamic-ui 1.0.17 → 1.0.19
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/dist/{NavigatedViewer-B7H9ZJOh.js → NavigatedViewer-CnvUsv8e.js} +2 -0
- package/dist/dynamic-ui.css +1 -1
- package/dist/dynamic-ui.es.js +1 -1
- package/dist/dynamic-ui.umd.js +76 -76
- package/dist/{index-3YmvwVQ4.js → index-DagL5UIu.js} +16968 -16901
- package/dist/{viewer-IvZ-vLCb.js → viewer-D-iX9lu-.js} +1 -1
- package/package.json +1 -1
- package/dist/index.d.ts +0 -214
- package/dist/types/components/base/DCodeAlertModal.vue.d.ts +0 -2
- package/dist/types/components/base/DCodeAuthOverlay.vue.d.ts +0 -2
- package/dist/types/components/base/DCodeAutoComplete.vue.d.ts +0 -87
- package/dist/types/components/base/DCodeBadge.vue.d.ts +0 -33
- package/dist/types/components/base/DCodeBarCustom.vue.d.ts +0 -28
- package/dist/types/components/base/DCodeBeforeAfter.vue.d.ts +0 -21
- package/dist/types/components/base/DCodeButton.vue.d.ts +0 -45
- package/dist/types/components/base/DCodeButtonGroup.vue.d.ts +0 -79
- package/dist/types/components/base/DCodeCard.vue.d.ts +0 -30
- package/dist/types/components/base/DCodeCardCheckboxList.vue.d.ts +0 -64
- package/dist/types/components/base/DCodeCardList.vue.d.ts +0 -147
- package/dist/types/components/base/DCodeCardSelect.vue.d.ts +0 -39
- package/dist/types/components/base/DCodeChart.vue.d.ts +0 -46
- package/dist/types/components/base/DCodeCheckbox.vue.d.ts +0 -27
- package/dist/types/components/base/DCodeClearButton.vue.d.ts +0 -15
- package/dist/types/components/base/DCodeColorPicker.vue.d.ts +0 -50
- package/dist/types/components/base/DCodeCurrencyField.vue.d.ts +0 -34
- package/dist/types/components/base/DCodeDatePicker.backup.vue.d.ts +0 -55
- package/dist/types/components/base/DCodeDatePicker.vue.d.ts +0 -59
- package/dist/types/components/base/DCodeDateTimePicker.backup.vue.d.ts +0 -52
- package/dist/types/components/base/DCodeDateTimePicker.vue.d.ts +0 -60
- package/dist/types/components/base/DCodeDialog.vue.d.ts +0 -45
- package/dist/types/components/base/DCodeDialogCloseBtn.vue.d.ts +0 -9
- package/dist/types/components/base/DCodeDrawer.vue.d.ts +0 -31
- package/dist/types/components/base/DCodeDropzone.vue.d.ts +0 -35
- package/dist/types/components/base/DCodeDynamicCollapse.vue.d.ts +0 -190
- package/dist/types/components/base/DCodeDynamicUploadList.vue.d.ts +0 -155
- package/dist/types/components/base/DCodeFieldDiff.vue.d.ts +0 -7
- package/dist/types/components/base/DCodeFileField.vue.d.ts +0 -48
- package/dist/types/components/base/DCodeFileResult.vue.d.ts +0 -38
- package/dist/types/components/base/DCodeIconDropdown.vue.d.ts +0 -32
- package/dist/types/components/base/DCodeImageCropperDialog.vue.d.ts +0 -33
- package/dist/types/components/base/DCodeImageField.vue.d.ts +0 -71
- package/dist/types/components/base/DCodeImageResult.vue.d.ts +0 -32
- package/dist/types/components/base/DCodeInfiniteAutoComplete.vue.d.ts +0 -98
- package/dist/types/components/base/DCodeLabel.vue.d.ts +0 -11
- package/dist/types/components/base/DCodeListLabels.vue.d.ts +0 -6
- package/dist/types/components/base/DCodeMapField.vue.d.ts +0 -50
- package/dist/types/components/base/DCodeMonthPicker.vue.d.ts +0 -49
- package/dist/types/components/base/DCodeMultiSelect.vue.d.ts +0 -71
- package/dist/types/components/base/DCodeOtpInput.vue.d.ts +0 -43
- package/dist/types/components/base/DCodePagination.vue.d.ts +0 -24
- package/dist/types/components/base/DCodePdfViewer.vue.d.ts +0 -19
- package/dist/types/components/base/DCodePercentField.vue.d.ts +0 -39
- package/dist/types/components/base/DCodePercentage.vue.d.ts +0 -27
- package/dist/types/components/base/DCodePermissionMenu.vue.d.ts +0 -83
- package/dist/types/components/base/DCodeProgress.vue.d.ts +0 -33
- package/dist/types/components/base/DCodeProgressBar.vue.d.ts +0 -9
- package/dist/types/components/base/DCodeRadio.vue.d.ts +0 -47
- package/dist/types/components/base/DCodeRadioCustom.vue.d.ts +0 -56
- package/dist/types/components/base/DCodeRangeField.vue.d.ts +0 -43
- package/dist/types/components/base/DCodeRiskEvaluation.vue.d.ts +0 -12
- package/dist/types/components/base/DCodeRobotList.vue.d.ts +0 -68
- package/dist/types/components/base/DCodeSearchDialog.vue.d.ts +0 -94
- package/dist/types/components/base/DCodeSegment.vue.d.ts +0 -42
- package/dist/types/components/base/DCodeSegmentGroup.vue.d.ts +0 -36
- package/dist/types/components/base/DCodeSelect.vue.d.ts +0 -54
- package/dist/types/components/base/DCodeSlider.vue.d.ts +0 -58
- package/dist/types/components/base/DCodeStaticImage.vue.d.ts +0 -75
- package/dist/types/components/base/DCodeStaticLabel.vue.d.ts +0 -43
- package/dist/types/components/base/DCodeSwitch.vue.d.ts +0 -38
- package/dist/types/components/base/DCodeTextEditor.vue.d.ts +0 -29
- package/dist/types/components/base/DCodeTextField.vue.d.ts +0 -76
- package/dist/types/components/base/DCodeTextarea.vue.d.ts +0 -42
- package/dist/types/components/base/DCodeTimePicker.vue.d.ts +0 -51
- package/dist/types/components/base/DCodeTimelineWithIcons.vue.d.ts +0 -55
- package/dist/types/components/base/DCodeTreePermissions.vue.d.ts +0 -18
- package/dist/types/components/base/DCodeUploadFile.vue.d.ts +0 -12
- package/dist/types/components/base/DCodeWizard.vue.d.ts +0 -109
- package/dist/types/components/base/DCodeWorkflowBpmn.vue.d.ts +0 -79
- package/dist/types/components/base/DCodeWorkflowDiagram.vue.d.ts +0 -30
- package/dist/types/components/base/datatable/DataTable.vue.d.ts +0 -177
- package/dist/types/components/base/datatable/DynamicFilterField.vue.d.ts +0 -52
- package/dist/types/components/dynamic/DynamicForm.vue.d.ts +0 -41
- package/dist/types/components/dynamic/DynamicFormField.vue.d.ts +0 -36
- package/dist/types/components/dynamic/DynamicWizard.vue.d.ts +0 -42
- package/dist/types/components/dynamic/NavigationBackButton.vue.d.ts +0 -21
- package/dist/types/components/dynamic/dialogs/DynamicFormDialogs.vue.d.ts +0 -2
- package/dist/types/components/dynamic/sections/DynamicFormSection.vue.d.ts +0 -10
- package/dist/types/components/dynamic/sections/DynamicTableSection.vue.d.ts +0 -10
- package/dist/types/components/dynamic/sections/DynamicWizardSection.vue.d.ts +0 -6
- package/dist/types/components/dynamic/sections/SectionSkeleton.vue.d.ts +0 -9
- package/dist/types/components/features/AutoLayoutSkeleton.vue.d.ts +0 -2
- package/dist/types/components/features/Breadcrumb.vue.d.ts +0 -23
- package/dist/types/components/features/CardSummary.vue.d.ts +0 -15
- package/dist/types/components/features/DashboardActivityCard.vue.d.ts +0 -20
- package/dist/types/components/features/DashboardFeaturesCard.vue.d.ts +0 -19
- package/dist/types/components/features/DashboardInsightsCard.vue.d.ts +0 -21
- package/dist/types/components/features/DataFilterSheet.vue.d.ts +0 -24
- package/dist/types/components/features/LanguageSwitcher.vue.d.ts +0 -2
- package/dist/types/components/features/Modal.vue.d.ts +0 -29
- package/dist/types/components/features/Pagination.vue.d.ts +0 -12
- package/dist/types/components/features/ScrollToTop.vue.d.ts +0 -2
- package/dist/types/components/features/SessionTimeoutModal.vue.d.ts +0 -12
- package/dist/types/components/features/ThemeSwitcher.vue.d.ts +0 -2
- package/dist/types/components/ui/alert/Alert.vue.d.ts +0 -18
- package/dist/types/components/ui/alert/AlertDescription.vue.d.ts +0 -16
- package/dist/types/components/ui/alert/AlertTitle.vue.d.ts +0 -16
- package/dist/types/components/ui/alert/index.d.ts +0 -8
- package/dist/types/components/ui/avatar/Avatar.vue.d.ts +0 -22
- package/dist/types/components/ui/avatar/AvatarFallback.vue.d.ts +0 -13
- package/dist/types/components/ui/avatar/AvatarImage.vue.d.ts +0 -13
- package/dist/types/components/ui/avatar/index.d.ts +0 -9
- package/dist/types/components/ui/badge/Badge.vue.d.ts +0 -18
- package/dist/types/components/ui/badge/index.d.ts +0 -6
- package/dist/types/components/ui/button/Button.vue.d.ts +0 -22
- package/dist/types/components/ui/button/index.d.ts +0 -7
- package/dist/types/components/ui/button-group/ButtonGroup.vue.d.ts +0 -18
- package/dist/types/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +0 -9
- package/dist/types/components/ui/button-group/ButtonGroupText.vue.d.ts +0 -21
- package/dist/types/components/ui/button-group/index.d.ts +0 -8
- package/dist/types/components/ui/calendar/Calendar.vue.d.ts +0 -13
- package/dist/types/components/ui/calendar/CalendarCell.vue.d.ts +0 -17
- package/dist/types/components/ui/calendar/CalendarCellTrigger.vue.d.ts +0 -17
- package/dist/types/components/ui/calendar/CalendarGrid.vue.d.ts +0 -17
- package/dist/types/components/ui/calendar/CalendarGridBody.vue.d.ts +0 -13
- package/dist/types/components/ui/calendar/CalendarGridHead.vue.d.ts +0 -17
- package/dist/types/components/ui/calendar/CalendarGridRow.vue.d.ts +0 -17
- package/dist/types/components/ui/calendar/CalendarHeadCell.vue.d.ts +0 -17
- package/dist/types/components/ui/calendar/CalendarHeader.vue.d.ts +0 -17
- package/dist/types/components/ui/calendar/CalendarHeading.vue.d.ts +0 -18
- package/dist/types/components/ui/calendar/CalendarNextButton.vue.d.ts +0 -17
- package/dist/types/components/ui/calendar/CalendarPrevButton.vue.d.ts +0 -17
- package/dist/types/components/ui/calendar/index.d.ts +0 -12
- package/dist/types/components/ui/card/Card.vue.d.ts +0 -16
- package/dist/types/components/ui/card/CardContent.vue.d.ts +0 -16
- package/dist/types/components/ui/card/CardDescription.vue.d.ts +0 -16
- package/dist/types/components/ui/card/CardFooter.vue.d.ts +0 -16
- package/dist/types/components/ui/card/CardHeader.vue.d.ts +0 -16
- package/dist/types/components/ui/card/CardTitle.vue.d.ts +0 -16
- package/dist/types/components/ui/card/index.d.ts +0 -6
- package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +0 -21
- package/dist/types/components/ui/checkbox/index.d.ts +0 -1
- package/dist/types/components/ui/dialog/Dialog.vue.d.ts +0 -17
- package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +0 -13
- package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +0 -34
- package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +0 -17
- package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +0 -16
- package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +0 -16
- package/dist/types/components/ui/dialog/DialogScrollContent.vue.d.ts +0 -31
- package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +0 -17
- package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +0 -13
- package/dist/types/components/ui/dialog/index.d.ts +0 -9
- package/dist/types/components/ui/input/Input.vue.d.ts +0 -12
- package/dist/types/components/ui/input/index.d.ts +0 -1
- package/dist/types/components/ui/label/Label.vue.d.ts +0 -17
- package/dist/types/components/ui/label/index.d.ts +0 -1
- package/dist/types/components/ui/pagination/Pagination.vue.d.ts +0 -24
- package/dist/types/components/ui/pagination/PaginationContent.vue.d.ts +0 -24
- package/dist/types/components/ui/pagination/PaginationEllipsis.vue.d.ts +0 -17
- package/dist/types/components/ui/pagination/PaginationFirst.vue.d.ts +0 -21
- package/dist/types/components/ui/pagination/PaginationItem.vue.d.ts +0 -22
- package/dist/types/components/ui/pagination/PaginationLast.vue.d.ts +0 -21
- package/dist/types/components/ui/pagination/PaginationNext.vue.d.ts +0 -21
- package/dist/types/components/ui/pagination/PaginationPrevious.vue.d.ts +0 -21
- package/dist/types/components/ui/pagination/index.d.ts +0 -8
- package/dist/types/components/ui/popover/Popover.vue.d.ts +0 -17
- package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +0 -34
- package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +0 -13
- package/dist/types/components/ui/popover/index.d.ts +0 -4
- package/dist/types/components/ui/range-calendar/RangeCalendar.vue.d.ts +0 -17
- package/dist/types/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +0 -17
- package/dist/types/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +0 -17
- package/dist/types/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +0 -17
- package/dist/types/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +0 -13
- package/dist/types/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +0 -13
- package/dist/types/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +0 -17
- package/dist/types/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +0 -17
- package/dist/types/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +0 -17
- package/dist/types/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +0 -18
- package/dist/types/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +0 -17
- package/dist/types/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +0 -17
- package/dist/types/components/ui/range-calendar/index.d.ts +0 -12
- package/dist/types/components/ui/select/Select.vue.d.ts +0 -20
- package/dist/types/components/ui/select/SelectContent.vue.d.ts +0 -27
- package/dist/types/components/ui/select/SelectGroup.vue.d.ts +0 -17
- package/dist/types/components/ui/select/SelectItem.vue.d.ts +0 -17
- package/dist/types/components/ui/select/SelectItemText.vue.d.ts +0 -13
- package/dist/types/components/ui/select/SelectLabel.vue.d.ts +0 -17
- package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +0 -17
- package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +0 -17
- package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +0 -7
- package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +0 -17
- package/dist/types/components/ui/select/SelectValue.vue.d.ts +0 -13
- package/dist/types/components/ui/select/index.d.ts +0 -11
- package/dist/types/components/ui/separator/Separator.vue.d.ts +0 -10
- package/dist/types/components/ui/separator/index.d.ts +0 -1
- package/dist/types/components/ui/sheet/Sheet.vue.d.ts +0 -17
- package/dist/types/components/ui/sheet/SheetClose.vue.d.ts +0 -13
- package/dist/types/components/ui/sheet/SheetContent.vue.d.ts +0 -33
- package/dist/types/components/ui/sheet/SheetDescription.vue.d.ts +0 -17
- package/dist/types/components/ui/sheet/SheetFooter.vue.d.ts +0 -16
- package/dist/types/components/ui/sheet/SheetHeader.vue.d.ts +0 -16
- package/dist/types/components/ui/sheet/SheetTitle.vue.d.ts +0 -17
- package/dist/types/components/ui/sheet/SheetTrigger.vue.d.ts +0 -13
- package/dist/types/components/ui/sheet/index.d.ts +0 -13
- package/dist/types/components/ui/stepper/Stepper.vue.d.ts +0 -33
- package/dist/types/components/ui/stepper/StepperDescription.vue.d.ts +0 -17
- package/dist/types/components/ui/stepper/StepperIndicator.vue.d.ts +0 -19
- package/dist/types/components/ui/stepper/StepperItem.vue.d.ts +0 -19
- package/dist/types/components/ui/stepper/StepperSeparator.vue.d.ts +0 -7
- package/dist/types/components/ui/stepper/StepperTitle.vue.d.ts +0 -17
- package/dist/types/components/ui/stepper/StepperTrigger.vue.d.ts +0 -17
- package/dist/types/components/ui/stepper/index.d.ts +0 -7
- package/dist/types/components/ui/switch/Switch.vue.d.ts +0 -21
- package/dist/types/components/ui/switch/index.d.ts +0 -1
- package/dist/types/components/ui/tab-wizard/TabWizard.vue.d.ts +0 -82
- package/dist/types/components/ui/tab-wizard/TabWizardContent.vue.d.ts +0 -22
- package/dist/types/components/ui/tab-wizard/TabWizardForm.vue.d.ts +0 -16
- package/dist/types/components/ui/tab-wizard/index.d.ts +0 -4
- package/dist/types/components/ui/textarea/Textarea.vue.d.ts +0 -12
- package/dist/types/components/ui/textarea/index.d.ts +0 -1
- package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +0 -17
- package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +0 -25
- package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +0 -13
- package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +0 -13
- package/dist/types/components/ui/tooltip/index.d.ts +0 -4
- package/dist/types/composables/dynamic-form/actions/useFormActions.d.ts +0 -10
- package/dist/types/composables/dynamic-form/logic/operators.d.ts +0 -1
- package/dist/types/composables/dynamic-form/logic/useFormLogic.d.ts +0 -28
- package/dist/types/composables/dynamic-form/mapping/useFormMapping.d.ts +0 -3
- package/dist/types/composables/dynamic-form/navigation/navigation.types.d.ts +0 -80
- package/dist/types/composables/dynamic-form/navigation/useFormNavigation.d.ts +0 -93
- package/dist/types/composables/dynamic-form/state/useFormState.d.ts +0 -2
- package/dist/types/composables/dynamic-form/table/useFormTable.d.ts +0 -43
- package/dist/types/composables/dynamic-form/types/form.types.d.ts +0 -202
- package/dist/types/composables/dynamic-form/useDynamicForm.d.ts +0 -227
- package/dist/types/composables/dynamic-form/utils/form.utils.d.ts +0 -21
- package/dist/types/composables/dynamic-form/validation/useFormValidation.d.ts +0 -3
- package/dist/types/composables/dynamic-form/watcher/useFormWatcher.d.ts +0 -4
- package/dist/types/composables/useAlertTheme.d.ts +0 -15
- package/dist/types/composables/useAuthOverlay.d.ts +0 -91
- package/dist/types/composables/useMenuMetadata.d.ts +0 -7
- package/dist/types/composables/useSmoothCaret.d.ts +0 -21
- package/dist/types/composables/useTemplateDownload.d.ts +0 -40
- package/dist/types/composables/useToast.d.ts +0 -93
- package/dist/types/composables/vue3-toastify-shim.d.ts +0 -13
- package/dist/types/lib/utils.d.ts +0 -2
- package/dist/types/locales/en.d.ts +0 -609
- package/dist/types/locales/id.d.ts +0 -894
- package/dist/types/locales/kr.d.ts +0 -611
- package/dist/types/pages/AutoLayoutDatatable.vue.d.ts +0 -34
- package/dist/types/pages/AutoLayoutForm.vue.d.ts +0 -31
- package/dist/types/stores/ui.d.ts +0 -26
- package/dist/types/types/api-request.d.ts +0 -5
- package/dist/types/types/base-props.d.ts +0 -12
- package/dist/types/types/dynamic.types.d.ts +0 -43
- package/dist/types/types/form.d.ts +0 -797
- package/dist/types/types/index.d.ts +0 -149
- package/dist/types/utils/action.utils.d.ts +0 -2
- package/dist/types/utils/action.utils.test.d.ts +0 -1
- package/dist/types/utils/datePIckerColor.d.ts +0 -8
- package/dist/types/utils/download.utils.d.ts +0 -30
- package/dist/types/utils/download.utils.test.d.ts +0 -1
- package/dist/types/utils/formdata.utils.d.ts +0 -32
- package/dist/types/utils/formdata.utils.test.d.ts +0 -1
- package/dist/types/utils/helpers.d.ts +0 -38
- package/dist/types/utils/inFlightFetch.d.ts +0 -1
- package/dist/types/utils/inFlightFetch.test.d.ts +0 -1
- package/dist/types/utils/permission.d.ts +0 -17
- package/dist/types/utils/range.utils.d.ts +0 -22
- package/dist/types/utils/range.utils.test.d.ts +0 -1
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
import { DynamicFormProps, FieldMap } from "./types/form.types";
|
|
2
|
-
import { getSectionKey } from "./utils/form.utils";
|
|
3
|
-
export declare function useDynamicForm(props: DynamicFormProps, emit: any): {
|
|
4
|
-
resolveKeyParams: (keyParams: any[], contextPath?: string, currentField?: any, localData?: any) => Record<string, any>;
|
|
5
|
-
navigation: {
|
|
6
|
-
navigationState: import("vue").Ref<{
|
|
7
|
-
currentContext: string | null;
|
|
8
|
-
history: {
|
|
9
|
-
sectionKey: string;
|
|
10
|
-
hiddenStates: Record<string, boolean>;
|
|
11
|
-
timestamp: number;
|
|
12
|
-
sourceAction?: string | undefined;
|
|
13
|
-
context?: any;
|
|
14
|
-
backButtonConfig?: {
|
|
15
|
-
labelEN?: string | undefined;
|
|
16
|
-
labelID?: string | undefined;
|
|
17
|
-
labelKR?: string | undefined;
|
|
18
|
-
icon?: string | undefined;
|
|
19
|
-
variant?: string | undefined;
|
|
20
|
-
position?: "left" | "right" | undefined;
|
|
21
|
-
} | undefined;
|
|
22
|
-
}[];
|
|
23
|
-
hiddenStates: Record<string, boolean>;
|
|
24
|
-
navigationEnabled: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
25
|
-
maxHistoryDepth: number;
|
|
26
|
-
parentRowContext?: {
|
|
27
|
-
parentArrayKey: string;
|
|
28
|
-
rowIndex: number;
|
|
29
|
-
childArrayKey: string;
|
|
30
|
-
} | null | undefined;
|
|
31
|
-
}, import("./navigation/navigation.types").NavigationState | {
|
|
32
|
-
currentContext: string | null;
|
|
33
|
-
history: {
|
|
34
|
-
sectionKey: string;
|
|
35
|
-
hiddenStates: Record<string, boolean>;
|
|
36
|
-
timestamp: number;
|
|
37
|
-
sourceAction?: string | undefined;
|
|
38
|
-
context?: any;
|
|
39
|
-
backButtonConfig?: {
|
|
40
|
-
labelEN?: string | undefined;
|
|
41
|
-
labelID?: string | undefined;
|
|
42
|
-
labelKR?: string | undefined;
|
|
43
|
-
icon?: string | undefined;
|
|
44
|
-
variant?: string | undefined;
|
|
45
|
-
position?: "left" | "right" | undefined;
|
|
46
|
-
} | undefined;
|
|
47
|
-
}[];
|
|
48
|
-
hiddenStates: Record<string, boolean>;
|
|
49
|
-
navigationEnabled: Set<string> & Omit<Set<string>, keyof Set<any>>;
|
|
50
|
-
maxHistoryDepth: number;
|
|
51
|
-
parentRowContext?: {
|
|
52
|
-
parentArrayKey: string;
|
|
53
|
-
rowIndex: number;
|
|
54
|
-
childArrayKey: string;
|
|
55
|
-
} | null | undefined;
|
|
56
|
-
}>;
|
|
57
|
-
hasHistory: import("vue").ComputedRef<boolean>;
|
|
58
|
-
currentContext: import("vue").ComputedRef<string | null>;
|
|
59
|
-
history: import("vue").ComputedRef<{
|
|
60
|
-
sectionKey: string;
|
|
61
|
-
hiddenStates: Record<string, boolean>;
|
|
62
|
-
timestamp: number;
|
|
63
|
-
sourceAction?: string | undefined;
|
|
64
|
-
context?: any;
|
|
65
|
-
backButtonConfig?: {
|
|
66
|
-
labelEN?: string | undefined;
|
|
67
|
-
labelID?: string | undefined;
|
|
68
|
-
labelKR?: string | undefined;
|
|
69
|
-
icon?: string | undefined;
|
|
70
|
-
variant?: string | undefined;
|
|
71
|
-
position?: "left" | "right" | undefined;
|
|
72
|
-
} | undefined;
|
|
73
|
-
}[]>;
|
|
74
|
-
hiddenStates: import("vue").ComputedRef<{
|
|
75
|
-
[x: string]: boolean;
|
|
76
|
-
}>;
|
|
77
|
-
parentRowContext: import("vue").ComputedRef<{
|
|
78
|
-
parentArrayKey: string;
|
|
79
|
-
rowIndex: number;
|
|
80
|
-
childArrayKey: string;
|
|
81
|
-
} | null | undefined>;
|
|
82
|
-
navigateTo: (config: import("./navigation/navigation.types").NavigationConfig, context?: any) => void;
|
|
83
|
-
navigateBack: () => void;
|
|
84
|
-
applyHiddenRules: (rules: Record<string, boolean | any>, context?: any) => void;
|
|
85
|
-
getCurrentBackButton: () => import("./navigation/navigation.types").BackButtonConfig | null;
|
|
86
|
-
isSectionHidden: (sectionKey: string) => boolean;
|
|
87
|
-
setSectionHidden: (sectionKey: string, hidden: boolean) => void;
|
|
88
|
-
clearHistory: () => void;
|
|
89
|
-
reset: () => void;
|
|
90
|
-
registerNavigationSection: (sectionKey: string) => void;
|
|
91
|
-
};
|
|
92
|
-
tableDialogOpen: import("vue").Ref<boolean, boolean>;
|
|
93
|
-
tableDialogTitle: import("vue").Ref<string, string>;
|
|
94
|
-
tableDialogIcon: import("vue").Ref<string, string>;
|
|
95
|
-
tableDialogFields: import("vue").Ref<any[], any[]>;
|
|
96
|
-
tableRowFormData: any;
|
|
97
|
-
tableRowErrors: Record<string, string>;
|
|
98
|
-
activeTableKey: import("vue").Ref<string, string>;
|
|
99
|
-
editingRowIndex: import("vue").Ref<number | null, number | null>;
|
|
100
|
-
tableDialogViewOnly: import("vue").Ref<boolean, boolean>;
|
|
101
|
-
confirmDeletePending: import("vue").Ref<{
|
|
102
|
-
propsTable: any;
|
|
103
|
-
row: any;
|
|
104
|
-
} | null, {
|
|
105
|
-
propsTable: any;
|
|
106
|
-
row: any;
|
|
107
|
-
} | {
|
|
108
|
-
propsTable: any;
|
|
109
|
-
row: any;
|
|
110
|
-
} | null>;
|
|
111
|
-
confirmDeleteOpen: import("vue").Ref<boolean, boolean>;
|
|
112
|
-
tableDialogSize: import("vue").Ref<string, string>;
|
|
113
|
-
isTemporaryTable: (pt: any) => boolean;
|
|
114
|
-
isActionViewOnly: (action: any) => any;
|
|
115
|
-
tableRows: (pt: any) => any[];
|
|
116
|
-
resolveTableFields: (pt: any) => any[];
|
|
117
|
-
confirmTableDelete: (pt: any, row: any) => void;
|
|
118
|
-
executeTableDelete: () => void;
|
|
119
|
-
handleTableRowUpdate: (model: string, value: any) => void;
|
|
120
|
-
openTableRowDialog: (pt: any, tAction: any, rowData?: any) => void;
|
|
121
|
-
handleDataTableAction: (pt: any, payload: {
|
|
122
|
-
action: string;
|
|
123
|
-
row: any;
|
|
124
|
-
selection?: any[];
|
|
125
|
-
isLocalSave?: boolean;
|
|
126
|
-
modelDatatable?: string;
|
|
127
|
-
actionType?: string;
|
|
128
|
-
originalRow?: any;
|
|
129
|
-
rowIndex?: number | null;
|
|
130
|
-
}) => void;
|
|
131
|
-
saveTableRow: () => void;
|
|
132
|
-
isActionVisible: (action: any) => boolean | undefined;
|
|
133
|
-
handleGlobalButtonClick: (action: any) => void;
|
|
134
|
-
confirmAction: () => void;
|
|
135
|
-
performAction: (action: any) => Promise<void>;
|
|
136
|
-
handleSubmit: () => Promise<void>;
|
|
137
|
-
handleCancel: () => any;
|
|
138
|
-
handleFieldUpdate: (model: string, value: any, sectionKey?: string) => void;
|
|
139
|
-
getCleanPayload: () => Record<string, any>;
|
|
140
|
-
applyFieldMapping: (data: Record<string, any>, mapping: Record<string, any>) => Record<string, any>;
|
|
141
|
-
handleResponseMapping: (res: any, mapping: Record<string, any>, basePath?: string) => void;
|
|
142
|
-
handleClearMapping: (mapping: Record<string, any>, basePath?: string) => void;
|
|
143
|
-
getFormArrayModels: () => import("./types/form.types").FormArrayModel[];
|
|
144
|
-
normalizedData: import("vue").ComputedRef<Record<string, any>>;
|
|
145
|
-
getNormalizedData: (data: Record<string, any>, contextPath?: string, debugTag?: string) => Record<string, any>;
|
|
146
|
-
evaluateLogic: (rule: any, customData?: Record<string, any>, debugTag?: string, contextPath?: string) => any;
|
|
147
|
-
resolveActiveRule: (rules: any, data: Record<string, any>, debugTag: any, contextPath?: string) => any;
|
|
148
|
-
resolveValueIdentifier: (modelName: string, value: any, fieldOverride?: any, contextObj?: any) => any;
|
|
149
|
-
getFilteredItems: (field: any, customData?: Record<string, any>, contextPath?: string) => any[];
|
|
150
|
-
isFieldVisible: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
|
|
151
|
-
isFieldRequired: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
|
|
152
|
-
isFieldDisabled: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
|
|
153
|
-
isFieldReadonly: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
|
|
154
|
-
isFieldHidden: (field: any, customData?: Record<string, any>, contextPath?: string) => boolean;
|
|
155
|
-
isSectionVisible: (section: any, customData?: Record<string, any>) => boolean;
|
|
156
|
-
isSectionHidden: (section: any, customData?: Record<string, any>) => boolean;
|
|
157
|
-
resolveSectionLabels: (section: any) => {
|
|
158
|
-
title: any;
|
|
159
|
-
description: any;
|
|
160
|
-
};
|
|
161
|
-
resolveFieldLabels: (field: any, customData?: Record<string, any>) => any;
|
|
162
|
-
resolveFieldLength: (field: any, customData?: Record<string, any>) => any;
|
|
163
|
-
resolveDefaultValue: (field: any, customData?: Record<string, any>, contextPath?: string) => any;
|
|
164
|
-
getWizardTabs: (section: any) => any;
|
|
165
|
-
applyCalculations: () => void;
|
|
166
|
-
isSubmitDisabled: import("vue").ComputedRef<any>;
|
|
167
|
-
resolveSectionGridClass: (layout: any) => string;
|
|
168
|
-
resolveFieldColumnClass: (field: any, parentLayout?: string) => string;
|
|
169
|
-
t: import("vue-i18n").ComposerTranslation<{
|
|
170
|
-
[x: string]: import("@intlify/core-base").LocaleMessage<import("vue-i18n").VueMessageType>;
|
|
171
|
-
}, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
172
|
-
[x: string]: import("vue-i18n").LocaleMessageValue<import("vue-i18n").VueMessageType>;
|
|
173
|
-
}>, never, never, never>;
|
|
174
|
-
locale: import("vue").ComputedRef<string>;
|
|
175
|
-
i18nLocale: import("vue").WritableComputedRef<string, string>;
|
|
176
|
-
apiUrl: any;
|
|
177
|
-
router: any;
|
|
178
|
-
isSubmitting: import("vue").Ref<boolean, boolean>;
|
|
179
|
-
internalSchema: import("vue").Ref<any, any>;
|
|
180
|
-
activeSchema: import("vue").ComputedRef<any>;
|
|
181
|
-
resolvedBaseUrl: import("vue").ComputedRef<any>;
|
|
182
|
-
permissionBase: import("vue").ComputedRef<any>;
|
|
183
|
-
checkPermission: ((permission: string) => boolean) | undefined;
|
|
184
|
-
userPermissions: any;
|
|
185
|
-
selectedTokenCore: any;
|
|
186
|
-
radioGroups: import("vue").ComputedRef<Record<string, any[]>>;
|
|
187
|
-
confirmDialog: {
|
|
188
|
-
visible: boolean;
|
|
189
|
-
title: string;
|
|
190
|
-
message: string;
|
|
191
|
-
action: any;
|
|
192
|
-
showCancel?: boolean;
|
|
193
|
-
okText?: string;
|
|
194
|
-
cancelText?: string;
|
|
195
|
-
isBlocking?: boolean;
|
|
196
|
-
redirectUrl?: string;
|
|
197
|
-
};
|
|
198
|
-
fieldMap: import("vue").ComputedRef<FieldMap>;
|
|
199
|
-
rawItemsCache: Record<string, any[]>;
|
|
200
|
-
revision: import("vue").Ref<number, number>;
|
|
201
|
-
formData: Record<string, any>;
|
|
202
|
-
originalData: Record<string, any>;
|
|
203
|
-
errors: Record<string, string>;
|
|
204
|
-
touched: Record<string, boolean>;
|
|
205
|
-
isSubmitted: import("vue").Ref<boolean, boolean>;
|
|
206
|
-
fieldErrors: Record<string, string | null>;
|
|
207
|
-
inlineState: Record<string, boolean>;
|
|
208
|
-
wizardState: Record<string, number>;
|
|
209
|
-
wizardResponses: Record<string, any>;
|
|
210
|
-
sectionLoading: Record<string, boolean>;
|
|
211
|
-
fieldLoading: Record<string, boolean>;
|
|
212
|
-
sectionPagination: Record<string, {
|
|
213
|
-
page: number;
|
|
214
|
-
perPage: number;
|
|
215
|
-
totalData?: number;
|
|
216
|
-
maxPage?: number;
|
|
217
|
-
filters?: Record<string, any>;
|
|
218
|
-
}>;
|
|
219
|
-
validation: import("./types/form.types").ValidationComposables;
|
|
220
|
-
getSectionKey: typeof getSectionKey;
|
|
221
|
-
sortedFields: (fields: any[]) => any[];
|
|
222
|
-
prefetchFieldItems: (field: any, force?: boolean, contextPath?: string, localData?: any) => Promise<void>;
|
|
223
|
-
fetchFormData: (force?: boolean) => Promise<void>;
|
|
224
|
-
fetchSectionData: (sectionKey: string, sectionObj?: any, contextPathOverride?: string) => Promise<void>;
|
|
225
|
-
getDeepValue: (obj: any, path: string) => any;
|
|
226
|
-
setDeepValue: (obj: any, path: string, val: any) => void;
|
|
227
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare function getSectionKey(s: any): string;
|
|
2
|
-
export declare const getDeepValue: (obj: any, path: string) => any;
|
|
3
|
-
export declare const setDeepValue: (obj: any, path: string, val: any) => void;
|
|
4
|
-
export declare const deepRaw: (val: any) => any;
|
|
5
|
-
export declare const extractVars: (rule: any) => string[];
|
|
6
|
-
export declare const sortedFields: (fields: any[]) => any[];
|
|
7
|
-
export declare const flattenObject: (obj: any, res?: any, prefix?: string) => any;
|
|
8
|
-
export declare const findModelValue: (obj: any, model: string) => any;
|
|
9
|
-
export declare const mergeDeep: (target: any, source: any) => void;
|
|
10
|
-
export declare const resolveEndpointUrl: (url: string, baseUrl?: any) => string;
|
|
11
|
-
export declare const isRowEmpty: (row: any) => boolean;
|
|
12
|
-
export declare const paginationStorageKey: (sectionKey: string, apiUrl: string) => string;
|
|
13
|
-
export interface PaginationStorage {
|
|
14
|
-
load(key: string): any | null;
|
|
15
|
-
save(key: string, data: any): void;
|
|
16
|
-
clear(): void;
|
|
17
|
-
}
|
|
18
|
-
export declare const setPaginationStorage: (storage: PaginationStorage | null) => void;
|
|
19
|
-
export declare const loadStoredPagination: (sectionKey: string, apiUrl: string) => any | null;
|
|
20
|
-
export declare const saveStoredPagination: (sectionKey: string, apiUrl: string, data: any) => void;
|
|
21
|
-
export declare const clearPaginationCache: () => void;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { UseFormValidationOptions } from "../../../types/dynamic.types";
|
|
2
|
-
import { ValidationComposables } from "../types/form.types";
|
|
3
|
-
export declare function useFormValidation({ formData, locale, errors, fieldMap, activeSchema, isSectionVisible, isSectionHidden, isFieldVisible, isFieldRequired, resolveFieldLength, }: UseFormValidationOptions): ValidationComposables;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ToastType } from "./useToast";
|
|
2
|
-
/**
|
|
3
|
-
* Shared visual tokens for the library alert surfaces.
|
|
4
|
-
*
|
|
5
|
-
* Single source of truth for painting a notification type: `DCodeAlertModal`
|
|
6
|
-
* (toast) and `DCodeAuthOverlay` (login/logout popup) both read from here so
|
|
7
|
-
* the two can never drift apart again.
|
|
8
|
-
*/
|
|
9
|
-
export declare const alertTypeLabels: Record<ToastType, string>;
|
|
10
|
-
export declare const alertCardClass: (type: ToastType) => string;
|
|
11
|
-
export declare const alertChipClass: (type: ToastType) => string;
|
|
12
|
-
export declare const alertIconWrapClass: (type: ToastType) => string;
|
|
13
|
-
export declare const alertTitleClass: (type: ToastType) => string;
|
|
14
|
-
export declare const alertProgressBarClass: (type: ToastType) => string;
|
|
15
|
-
export declare const alertButtonClass: (type: ToastType) => string;
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
export type LoginPhase = 'verifying' | 'success' | 'error';
|
|
2
|
-
export interface AuthOverlayState {
|
|
3
|
-
isLoggingIn: boolean;
|
|
4
|
-
isLoggingOut: boolean;
|
|
5
|
-
loginPhase: LoginPhase;
|
|
6
|
-
loginTitle: string;
|
|
7
|
-
loginMessage: string;
|
|
8
|
-
loginUserName: string;
|
|
9
|
-
logoutTitle: string;
|
|
10
|
-
logoutMessage: string;
|
|
11
|
-
duration?: number;
|
|
12
|
-
}
|
|
13
|
-
export declare const authOverlayState: import("vue").Ref<{
|
|
14
|
-
isLoggingIn: boolean;
|
|
15
|
-
isLoggingOut: boolean;
|
|
16
|
-
loginPhase: LoginPhase;
|
|
17
|
-
loginTitle: string;
|
|
18
|
-
loginMessage: string;
|
|
19
|
-
loginUserName: string;
|
|
20
|
-
logoutTitle: string;
|
|
21
|
-
logoutMessage: string;
|
|
22
|
-
duration?: number | undefined;
|
|
23
|
-
}, AuthOverlayState | {
|
|
24
|
-
isLoggingIn: boolean;
|
|
25
|
-
isLoggingOut: boolean;
|
|
26
|
-
loginPhase: LoginPhase;
|
|
27
|
-
loginTitle: string;
|
|
28
|
-
loginMessage: string;
|
|
29
|
-
loginUserName: string;
|
|
30
|
-
logoutTitle: string;
|
|
31
|
-
logoutMessage: string;
|
|
32
|
-
duration?: number | undefined;
|
|
33
|
-
}>;
|
|
34
|
-
/**
|
|
35
|
-
* Start login transition overlay (phase: 'verifying' by default)
|
|
36
|
-
*/
|
|
37
|
-
export declare const startLoginTransition: (userName?: string, title?: string, message?: string, phase?: LoginPhase) => void;
|
|
38
|
-
/**
|
|
39
|
-
* Set login success phase (animates checkmark & auto-progress bar without requiring click)
|
|
40
|
-
*/
|
|
41
|
-
export declare const setLoginSuccess: (userName?: string, title?: string, message?: string) => void;
|
|
42
|
-
/**
|
|
43
|
-
* Close/end login transition overlay
|
|
44
|
-
*/
|
|
45
|
-
export declare const endLoginTransition: () => void;
|
|
46
|
-
/**
|
|
47
|
-
* Set login error phase with automatic progress bar countdown & auto-dismiss (no click needed)
|
|
48
|
-
*/
|
|
49
|
-
export declare const setLoginError: (message?: string, title?: string, duration?: number) => void;
|
|
50
|
-
/**
|
|
51
|
-
* Start logout transition overlay (smooth exit door animation & auto progress bar)
|
|
52
|
-
*/
|
|
53
|
-
export declare const startLogout: (title?: string, message?: string) => void;
|
|
54
|
-
/**
|
|
55
|
-
* End logout transition overlay
|
|
56
|
-
*/
|
|
57
|
-
export declare const endLogout: () => void;
|
|
58
|
-
/**
|
|
59
|
-
* Composable helper
|
|
60
|
-
*/
|
|
61
|
-
export declare function useAuthOverlay(): {
|
|
62
|
-
state: import("vue").Ref<{
|
|
63
|
-
isLoggingIn: boolean;
|
|
64
|
-
isLoggingOut: boolean;
|
|
65
|
-
loginPhase: LoginPhase;
|
|
66
|
-
loginTitle: string;
|
|
67
|
-
loginMessage: string;
|
|
68
|
-
loginUserName: string;
|
|
69
|
-
logoutTitle: string;
|
|
70
|
-
logoutMessage: string;
|
|
71
|
-
duration?: number | undefined;
|
|
72
|
-
}, AuthOverlayState | {
|
|
73
|
-
isLoggingIn: boolean;
|
|
74
|
-
isLoggingOut: boolean;
|
|
75
|
-
loginPhase: LoginPhase;
|
|
76
|
-
loginTitle: string;
|
|
77
|
-
loginMessage: string;
|
|
78
|
-
loginUserName: string;
|
|
79
|
-
logoutTitle: string;
|
|
80
|
-
logoutMessage: string;
|
|
81
|
-
duration?: number | undefined;
|
|
82
|
-
}>;
|
|
83
|
-
isVisible: import("vue").ComputedRef<boolean>;
|
|
84
|
-
isLoginMode: import("vue").ComputedRef<boolean>;
|
|
85
|
-
startLogin: (userName?: string, title?: string, message?: string, phase?: LoginPhase) => void;
|
|
86
|
-
setLoginSuccess: (userName?: string, title?: string, message?: string) => void;
|
|
87
|
-
setLoginError: (message?: string, title?: string, duration?: number) => void;
|
|
88
|
-
endLogin: () => void;
|
|
89
|
-
startLogout: (title?: string, message?: string) => void;
|
|
90
|
-
endLogout: () => void;
|
|
91
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { type CSSProperties, type Ref } from "vue";
|
|
2
|
-
/**
|
|
3
|
-
* Smooth (animated) caret for single-line `<input>` elements.
|
|
4
|
-
*
|
|
5
|
-
* The native caret is hidden (via `caret-transparent`) and an overlay element
|
|
6
|
-
* glides between caret positions. The overlay must be rendered inside the
|
|
7
|
-
* input's parent element, and that parent must be `position: relative`.
|
|
8
|
-
*
|
|
9
|
-
* Password inputs are supported by calibrating the browser's mask glyph width.
|
|
10
|
-
* Falls back to the native caret when the input does not expose selection APIs
|
|
11
|
-
* (e.g. native `type="email"` — render it as `type="text"` + `inputmode="email"`).
|
|
12
|
-
* (e.g. native `type="email"` — render it as `type="text"` + `inputmode="email"`).
|
|
13
|
-
*/
|
|
14
|
-
export declare function useSmoothCaret(inputRef: Ref<HTMLInputElement | HTMLTextAreaElement | null>, enabled: Ref<boolean>): {
|
|
15
|
-
caretStyle: import("vue").ComputedRef<CSSProperties>;
|
|
16
|
-
caretVisible: import("vue").ComputedRef<boolean>;
|
|
17
|
-
hideNativeCaret: import("vue").ComputedRef<boolean>;
|
|
18
|
-
isCaretMoving: Ref<boolean, boolean>;
|
|
19
|
-
caretAnimate: Ref<boolean, boolean>;
|
|
20
|
-
refreshCaret: () => void;
|
|
21
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { type ComputedRef } from 'vue';
|
|
2
|
-
export interface TemplateConfig {
|
|
3
|
-
endpoint?: {
|
|
4
|
-
apiUrl?: string;
|
|
5
|
-
apiMethod?: string;
|
|
6
|
-
params?: Record<string, any>;
|
|
7
|
-
};
|
|
8
|
-
fileType?: string;
|
|
9
|
-
filename?: string;
|
|
10
|
-
icon?: string;
|
|
11
|
-
labelID?: string;
|
|
12
|
-
labelEN?: string;
|
|
13
|
-
labelKR?: string;
|
|
14
|
-
titleID?: string;
|
|
15
|
-
titleEN?: string;
|
|
16
|
-
titleKR?: string;
|
|
17
|
-
descriptionID?: string;
|
|
18
|
-
descriptionEN?: string;
|
|
19
|
-
descriptionKR?: string;
|
|
20
|
-
}
|
|
21
|
-
export interface UseTemplateDownloadOptions {
|
|
22
|
-
template?: TemplateConfig;
|
|
23
|
-
locale: ComputedRef<string>;
|
|
24
|
-
apiUrl: any;
|
|
25
|
-
}
|
|
26
|
-
export declare function useTemplateDownload(options: UseTemplateDownloadOptions): {
|
|
27
|
-
isDownloading: import("vue").Ref<boolean, boolean>;
|
|
28
|
-
isExpanded: import("vue").Ref<boolean, boolean>;
|
|
29
|
-
downloadError: import("vue").Ref<string | null, string | null>;
|
|
30
|
-
hasTemplate: ComputedRef<boolean>;
|
|
31
|
-
resolvedIcon: ComputedRef<string>;
|
|
32
|
-
resolvedLabel: ComputedRef<string>;
|
|
33
|
-
resolvedTitle: ComputedRef<string>;
|
|
34
|
-
resolvedDescription: ComputedRef<string>;
|
|
35
|
-
toggleButtonText: ComputedRef<string>;
|
|
36
|
-
retryButtonText: ComputedRef<string>;
|
|
37
|
-
downloadTemplate: () => Promise<void>;
|
|
38
|
-
toggleExpanded: () => void;
|
|
39
|
-
clearError: () => void;
|
|
40
|
-
};
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
export type ToastType = 'success' | 'error' | 'warning' | 'info' | 'loading';
|
|
2
|
-
export interface ToastOptions {
|
|
3
|
-
type?: ToastType;
|
|
4
|
-
title?: string;
|
|
5
|
-
message?: string;
|
|
6
|
-
duration?: number;
|
|
7
|
-
confirmText?: string;
|
|
8
|
-
immediate?: boolean;
|
|
9
|
-
showButton?: boolean;
|
|
10
|
-
onConfirm?: () => void;
|
|
11
|
-
}
|
|
12
|
-
export interface ToastState {
|
|
13
|
-
isOpen: boolean;
|
|
14
|
-
type: ToastType;
|
|
15
|
-
title: string;
|
|
16
|
-
message: string;
|
|
17
|
-
confirmText?: string;
|
|
18
|
-
showButton?: boolean;
|
|
19
|
-
duration?: number;
|
|
20
|
-
onConfirm?: () => void;
|
|
21
|
-
}
|
|
22
|
-
export declare const toastState: import("vue").Ref<{
|
|
23
|
-
isOpen: boolean;
|
|
24
|
-
type: ToastType;
|
|
25
|
-
title: string;
|
|
26
|
-
message: string;
|
|
27
|
-
confirmText?: string | undefined;
|
|
28
|
-
showButton?: boolean | undefined;
|
|
29
|
-
duration?: number | undefined;
|
|
30
|
-
onConfirm?: (() => void) | undefined;
|
|
31
|
-
}, ToastState | {
|
|
32
|
-
isOpen: boolean;
|
|
33
|
-
type: ToastType;
|
|
34
|
-
title: string;
|
|
35
|
-
message: string;
|
|
36
|
-
confirmText?: string | undefined;
|
|
37
|
-
showButton?: boolean | undefined;
|
|
38
|
-
duration?: number | undefined;
|
|
39
|
-
onConfirm?: (() => void) | undefined;
|
|
40
|
-
}>;
|
|
41
|
-
/**
|
|
42
|
-
* Close the alert modal
|
|
43
|
-
*/
|
|
44
|
-
export declare const closeToast: () => void;
|
|
45
|
-
/**
|
|
46
|
-
* Show custom alert modal
|
|
47
|
-
*/
|
|
48
|
-
export declare const showToast: (options: ToastOptions) => void;
|
|
49
|
-
/**
|
|
50
|
-
* Singleton toast object for direct import:
|
|
51
|
-
* import { toast } from '@skyworx/dynamic-ui'
|
|
52
|
-
*/
|
|
53
|
-
export declare const toast: {
|
|
54
|
-
success: (titleOrMessage: string, messageOrTitle?: string, duration?: number, immediate?: boolean) => void;
|
|
55
|
-
error: (titleOrMessage: string, messageOrTitle?: string, duration?: number, immediate?: boolean) => void;
|
|
56
|
-
warning: (titleOrMessage: string, messageOrTitle?: string, duration?: number, immediate?: boolean) => void;
|
|
57
|
-
info: (titleOrMessage: string, messageOrTitle?: string, duration?: number, immediate?: boolean) => void;
|
|
58
|
-
loading: (title?: string, message?: string) => void;
|
|
59
|
-
show: (options: ToastOptions) => void;
|
|
60
|
-
close: () => void;
|
|
61
|
-
remove: () => void;
|
|
62
|
-
clear: () => void;
|
|
63
|
-
clearAll: () => void;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Composable useToast()
|
|
67
|
-
*/
|
|
68
|
-
export declare function useToast(): {
|
|
69
|
-
success: (titleOrMessage: string, messageOrTitle?: string, duration?: number, immediate?: boolean) => void;
|
|
70
|
-
error: (titleOrMessage: string, messageOrTitle?: string, duration?: number, immediate?: boolean) => void;
|
|
71
|
-
warning: (titleOrMessage: string, messageOrTitle?: string, duration?: number, immediate?: boolean) => void;
|
|
72
|
-
info: (titleOrMessage: string, messageOrTitle?: string, duration?: number, immediate?: boolean) => void;
|
|
73
|
-
loading: (title?: string, message?: string) => void;
|
|
74
|
-
show: (options: ToastOptions) => void;
|
|
75
|
-
close: () => void;
|
|
76
|
-
remove: () => void;
|
|
77
|
-
clear: () => void;
|
|
78
|
-
clearAll: () => void;
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Compatibility exports for vue3-toastify
|
|
82
|
-
*/
|
|
83
|
-
export declare const dummyToastifyPlugin: {
|
|
84
|
-
install: () => void;
|
|
85
|
-
};
|
|
86
|
-
export default dummyToastifyPlugin;
|
|
87
|
-
export declare const Vue3Toastify: {
|
|
88
|
-
install: () => void;
|
|
89
|
-
};
|
|
90
|
-
export declare const ToastContainer: {
|
|
91
|
-
name: string;
|
|
92
|
-
render: () => null;
|
|
93
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare const toast: any;
|
|
2
|
-
export { toast };
|
|
3
|
-
declare const _default: {
|
|
4
|
-
install: () => void;
|
|
5
|
-
};
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Vue3Toastify: {
|
|
8
|
-
install: () => void;
|
|
9
|
-
};
|
|
10
|
-
export declare const ToastContainer: {
|
|
11
|
-
name: string;
|
|
12
|
-
render: () => null;
|
|
13
|
-
};
|