@skyworx/dynamic-ui 1.0.19 → 1.0.21
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-CnvUsv8e.js → NavigatedViewer-B7H9ZJOh.js} +0 -2
- package/dist/docx-preview-zYxBNSXG.js +3220 -0
- package/dist/dynamic-ui.css +1 -1
- package/dist/dynamic-ui.es.js +15 -15
- package/dist/dynamic-ui.umd.js +359 -126
- package/dist/{index-DagL5UIu.js → index-CxjDiPC4.js} +18381 -18173
- package/dist/index.d.ts +214 -0
- package/dist/jszip.min-tu5EYEGs.js +2314 -0
- package/dist/pptx-preview.es-D4gMhP-p.js +50273 -0
- package/dist/types/components/base/DCodeAlertModal.vue.d.ts +2 -0
- package/dist/types/components/base/DCodeAuthOverlay.vue.d.ts +2 -0
- package/dist/types/components/base/DCodeAutoComplete.vue.d.ts +89 -0
- package/dist/types/components/base/DCodeBadge.vue.d.ts +33 -0
- package/dist/types/components/base/DCodeBarCustom.vue.d.ts +28 -0
- package/dist/types/components/base/DCodeBeforeAfter.vue.d.ts +21 -0
- package/dist/types/components/base/DCodeButton.vue.d.ts +45 -0
- package/dist/types/components/base/DCodeButtonGroup.vue.d.ts +79 -0
- package/dist/types/components/base/DCodeCard.vue.d.ts +30 -0
- package/dist/types/components/base/DCodeCardCheckboxList.vue.d.ts +64 -0
- package/dist/types/components/base/DCodeCardList.vue.d.ts +147 -0
- package/dist/types/components/base/DCodeCardSelect.vue.d.ts +39 -0
- package/dist/types/components/base/DCodeChart.vue.d.ts +46 -0
- package/dist/types/components/base/DCodeCheckbox.vue.d.ts +27 -0
- package/dist/types/components/base/DCodeClearButton.vue.d.ts +15 -0
- package/dist/types/components/base/DCodeColorPicker.vue.d.ts +50 -0
- package/dist/types/components/base/DCodeCurrencyField.vue.d.ts +34 -0
- package/dist/types/components/base/DCodeDatePicker.backup.vue.d.ts +55 -0
- package/dist/types/components/base/DCodeDatePicker.vue.d.ts +59 -0
- package/dist/types/components/base/DCodeDateTimePicker.backup.vue.d.ts +52 -0
- package/dist/types/components/base/DCodeDateTimePicker.vue.d.ts +60 -0
- package/dist/types/components/base/DCodeDialog.vue.d.ts +45 -0
- package/dist/types/components/base/DCodeDialogCloseBtn.vue.d.ts +9 -0
- package/dist/types/components/base/DCodeDrawer.vue.d.ts +31 -0
- package/dist/types/components/base/DCodeDropzone.vue.d.ts +38 -0
- package/dist/types/components/base/DCodeDynamicCollapse.vue.d.ts +190 -0
- package/dist/types/components/base/DCodeDynamicUploadList.vue.d.ts +155 -0
- package/dist/types/components/base/DCodeFieldDiff.vue.d.ts +7 -0
- package/dist/types/components/base/DCodeFileField.vue.d.ts +48 -0
- package/dist/types/components/base/DCodeFilePreviewDialog.vue.d.ts +27 -0
- package/dist/types/components/base/DCodeFileResult.vue.d.ts +41 -0
- package/dist/types/components/base/DCodeIconDropdown.vue.d.ts +32 -0
- package/dist/types/components/base/DCodeImageCropperDialog.vue.d.ts +33 -0
- package/dist/types/components/base/DCodeImageField.vue.d.ts +71 -0
- package/dist/types/components/base/DCodeImageResult.vue.d.ts +35 -0
- package/dist/types/components/base/DCodeInfiniteAutoComplete.vue.d.ts +100 -0
- package/dist/types/components/base/DCodeLabel.vue.d.ts +11 -0
- package/dist/types/components/base/DCodeListLabels.vue.d.ts +6 -0
- package/dist/types/components/base/DCodeMapField.vue.d.ts +50 -0
- package/dist/types/components/base/DCodeMonthPicker.vue.d.ts +49 -0
- package/dist/types/components/base/DCodeMultiSelect.vue.d.ts +71 -0
- package/dist/types/components/base/DCodeOtpInput.vue.d.ts +43 -0
- package/dist/types/components/base/DCodePagination.vue.d.ts +24 -0
- package/dist/types/components/base/DCodePdfViewer.vue.d.ts +19 -0
- package/dist/types/components/base/DCodePercentField.vue.d.ts +39 -0
- package/dist/types/components/base/DCodePercentage.vue.d.ts +27 -0
- package/dist/types/components/base/DCodePermissionMenu.vue.d.ts +83 -0
- package/dist/types/components/base/DCodeProgress.vue.d.ts +33 -0
- package/dist/types/components/base/DCodeProgressBar.vue.d.ts +9 -0
- package/dist/types/components/base/DCodeRadio.vue.d.ts +47 -0
- package/dist/types/components/base/DCodeRadioCustom.vue.d.ts +56 -0
- package/dist/types/components/base/DCodeRangeField.vue.d.ts +43 -0
- package/dist/types/components/base/DCodeRiskEvaluation.vue.d.ts +12 -0
- package/dist/types/components/base/DCodeRobotList.vue.d.ts +68 -0
- package/dist/types/components/base/DCodeSearchDialog.vue.d.ts +94 -0
- package/dist/types/components/base/DCodeSegment.vue.d.ts +42 -0
- package/dist/types/components/base/DCodeSegmentGroup.vue.d.ts +36 -0
- package/dist/types/components/base/DCodeSelect.vue.d.ts +54 -0
- package/dist/types/components/base/DCodeSlider.vue.d.ts +58 -0
- package/dist/types/components/base/DCodeStaticImage.vue.d.ts +75 -0
- package/dist/types/components/base/DCodeStaticLabel.vue.d.ts +43 -0
- package/dist/types/components/base/DCodeSwitch.vue.d.ts +38 -0
- package/dist/types/components/base/DCodeTextEditor.vue.d.ts +29 -0
- package/dist/types/components/base/DCodeTextField.vue.d.ts +76 -0
- package/dist/types/components/base/DCodeTextarea.vue.d.ts +42 -0
- package/dist/types/components/base/DCodeTimePicker.vue.d.ts +51 -0
- package/dist/types/components/base/DCodeTimelineWithIcons.vue.d.ts +55 -0
- package/dist/types/components/base/DCodeTreePermissions.vue.d.ts +18 -0
- package/dist/types/components/base/DCodeUploadFile.vue.d.ts +12 -0
- package/dist/types/components/base/DCodeWizard.vue.d.ts +109 -0
- package/dist/types/components/base/DCodeWorkflowBpmn.vue.d.ts +79 -0
- package/dist/types/components/base/DCodeWorkflowDiagram.vue.d.ts +30 -0
- package/dist/types/components/base/datatable/DataTable.vue.d.ts +177 -0
- package/dist/types/components/base/datatable/DynamicFilterField.vue.d.ts +52 -0
- package/dist/types/components/dynamic/DynamicForm.vue.d.ts +45 -0
- package/dist/types/components/dynamic/DynamicFormField.vue.d.ts +37 -0
- package/dist/types/components/dynamic/DynamicWizard.vue.d.ts +42 -0
- package/dist/types/components/dynamic/NavigationBackButton.vue.d.ts +21 -0
- package/dist/types/components/dynamic/dialogs/DynamicFormDialogs.vue.d.ts +2 -0
- package/dist/types/components/dynamic/loading-screen/LayoutResolving.vue.d.ts +7 -0
- package/dist/types/components/dynamic/loading-screen/LoadingStatus.vue.d.ts +19 -0
- package/dist/types/components/dynamic/loading-screen/Skeleton.vue.d.ts +2 -0
- package/dist/types/components/dynamic/loading-screen/SkeletonTable.vue.d.ts +9 -0
- package/dist/types/components/dynamic/sections/DynamicFormSection.vue.d.ts +10 -0
- package/dist/types/components/dynamic/sections/DynamicTableSection.vue.d.ts +10 -0
- package/dist/types/components/dynamic/sections/DynamicWizardSection.vue.d.ts +6 -0
- package/dist/types/components/dynamic/sections/SectionSkeleton.vue.d.ts +9 -0
- package/dist/types/components/features/AutoLayoutSkeleton.vue.d.ts +2 -0
- package/dist/types/components/features/Breadcrumb.vue.d.ts +23 -0
- package/dist/types/components/features/CardSummary.vue.d.ts +15 -0
- package/dist/types/components/features/DashboardActivityCard.vue.d.ts +20 -0
- package/dist/types/components/features/DashboardFeaturesCard.vue.d.ts +19 -0
- package/dist/types/components/features/DashboardInsightsCard.vue.d.ts +21 -0
- package/dist/types/components/features/DataFilterSheet.vue.d.ts +24 -0
- package/dist/types/components/features/LanguageSwitcher.vue.d.ts +2 -0
- package/dist/types/components/features/Modal.vue.d.ts +29 -0
- package/dist/types/components/features/Pagination.vue.d.ts +12 -0
- package/dist/types/components/features/ScrollToTop.vue.d.ts +2 -0
- package/dist/types/components/features/SessionTimeoutModal.vue.d.ts +12 -0
- package/dist/types/components/features/ThemeSwitcher.vue.d.ts +2 -0
- package/dist/types/components/ui/alert/Alert.vue.d.ts +18 -0
- package/dist/types/components/ui/alert/AlertDescription.vue.d.ts +16 -0
- package/dist/types/components/ui/alert/AlertTitle.vue.d.ts +16 -0
- package/dist/types/components/ui/alert/index.d.ts +8 -0
- package/dist/types/components/ui/avatar/Avatar.vue.d.ts +22 -0
- package/dist/types/components/ui/avatar/AvatarFallback.vue.d.ts +13 -0
- package/dist/types/components/ui/avatar/AvatarImage.vue.d.ts +13 -0
- package/dist/types/components/ui/avatar/index.d.ts +9 -0
- package/dist/types/components/ui/badge/Badge.vue.d.ts +18 -0
- package/dist/types/components/ui/badge/index.d.ts +6 -0
- package/dist/types/components/ui/button/Button.vue.d.ts +22 -0
- package/dist/types/components/ui/button/index.d.ts +7 -0
- package/dist/types/components/ui/button-group/ButtonGroup.vue.d.ts +18 -0
- package/dist/types/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
- package/dist/types/components/ui/button-group/ButtonGroupText.vue.d.ts +21 -0
- package/dist/types/components/ui/button-group/index.d.ts +8 -0
- package/dist/types/components/ui/calendar/Calendar.vue.d.ts +13 -0
- package/dist/types/components/ui/calendar/CalendarCell.vue.d.ts +17 -0
- package/dist/types/components/ui/calendar/CalendarCellTrigger.vue.d.ts +17 -0
- package/dist/types/components/ui/calendar/CalendarGrid.vue.d.ts +17 -0
- package/dist/types/components/ui/calendar/CalendarGridBody.vue.d.ts +13 -0
- package/dist/types/components/ui/calendar/CalendarGridHead.vue.d.ts +17 -0
- package/dist/types/components/ui/calendar/CalendarGridRow.vue.d.ts +17 -0
- package/dist/types/components/ui/calendar/CalendarHeadCell.vue.d.ts +17 -0
- package/dist/types/components/ui/calendar/CalendarHeader.vue.d.ts +17 -0
- package/dist/types/components/ui/calendar/CalendarHeading.vue.d.ts +18 -0
- package/dist/types/components/ui/calendar/CalendarNextButton.vue.d.ts +17 -0
- package/dist/types/components/ui/calendar/CalendarPrevButton.vue.d.ts +17 -0
- package/dist/types/components/ui/calendar/index.d.ts +12 -0
- package/dist/types/components/ui/card/Card.vue.d.ts +16 -0
- package/dist/types/components/ui/card/CardContent.vue.d.ts +16 -0
- package/dist/types/components/ui/card/CardDescription.vue.d.ts +16 -0
- package/dist/types/components/ui/card/CardFooter.vue.d.ts +16 -0
- package/dist/types/components/ui/card/CardHeader.vue.d.ts +16 -0
- package/dist/types/components/ui/card/CardTitle.vue.d.ts +16 -0
- package/dist/types/components/ui/card/index.d.ts +6 -0
- package/dist/types/components/ui/checkbox/Checkbox.vue.d.ts +21 -0
- package/dist/types/components/ui/checkbox/index.d.ts +1 -0
- package/dist/types/components/ui/dialog/Dialog.vue.d.ts +17 -0
- package/dist/types/components/ui/dialog/DialogClose.vue.d.ts +13 -0
- package/dist/types/components/ui/dialog/DialogContent.vue.d.ts +34 -0
- package/dist/types/components/ui/dialog/DialogDescription.vue.d.ts +17 -0
- package/dist/types/components/ui/dialog/DialogFooter.vue.d.ts +16 -0
- package/dist/types/components/ui/dialog/DialogHeader.vue.d.ts +16 -0
- package/dist/types/components/ui/dialog/DialogScrollContent.vue.d.ts +31 -0
- package/dist/types/components/ui/dialog/DialogTitle.vue.d.ts +17 -0
- package/dist/types/components/ui/dialog/DialogTrigger.vue.d.ts +13 -0
- package/dist/types/components/ui/dialog/index.d.ts +9 -0
- package/dist/types/components/ui/input/Input.vue.d.ts +12 -0
- package/dist/types/components/ui/input/index.d.ts +1 -0
- package/dist/types/components/ui/label/Label.vue.d.ts +17 -0
- package/dist/types/components/ui/label/index.d.ts +1 -0
- package/dist/types/components/ui/pagination/Pagination.vue.d.ts +24 -0
- package/dist/types/components/ui/pagination/PaginationContent.vue.d.ts +24 -0
- package/dist/types/components/ui/pagination/PaginationEllipsis.vue.d.ts +17 -0
- package/dist/types/components/ui/pagination/PaginationFirst.vue.d.ts +21 -0
- package/dist/types/components/ui/pagination/PaginationItem.vue.d.ts +22 -0
- package/dist/types/components/ui/pagination/PaginationLast.vue.d.ts +21 -0
- package/dist/types/components/ui/pagination/PaginationNext.vue.d.ts +21 -0
- package/dist/types/components/ui/pagination/PaginationPrevious.vue.d.ts +21 -0
- package/dist/types/components/ui/pagination/index.d.ts +8 -0
- package/dist/types/components/ui/popover/Popover.vue.d.ts +17 -0
- package/dist/types/components/ui/popover/PopoverContent.vue.d.ts +34 -0
- package/dist/types/components/ui/popover/PopoverTrigger.vue.d.ts +13 -0
- package/dist/types/components/ui/popover/index.d.ts +4 -0
- package/dist/types/components/ui/range-calendar/RangeCalendar.vue.d.ts +17 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarCell.vue.d.ts +17 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarCellTrigger.vue.d.ts +17 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarGrid.vue.d.ts +17 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarGridBody.vue.d.ts +13 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarGridHead.vue.d.ts +13 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarGridRow.vue.d.ts +17 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarHeadCell.vue.d.ts +17 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarHeader.vue.d.ts +17 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarHeading.vue.d.ts +18 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarNextButton.vue.d.ts +17 -0
- package/dist/types/components/ui/range-calendar/RangeCalendarPrevButton.vue.d.ts +17 -0
- package/dist/types/components/ui/range-calendar/index.d.ts +12 -0
- package/dist/types/components/ui/select/Select.vue.d.ts +20 -0
- package/dist/types/components/ui/select/SelectContent.vue.d.ts +27 -0
- package/dist/types/components/ui/select/SelectGroup.vue.d.ts +17 -0
- package/dist/types/components/ui/select/SelectItem.vue.d.ts +17 -0
- package/dist/types/components/ui/select/SelectItemText.vue.d.ts +13 -0
- package/dist/types/components/ui/select/SelectLabel.vue.d.ts +17 -0
- package/dist/types/components/ui/select/SelectScrollDownButton.vue.d.ts +17 -0
- package/dist/types/components/ui/select/SelectScrollUpButton.vue.d.ts +17 -0
- package/dist/types/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/types/components/ui/select/SelectTrigger.vue.d.ts +17 -0
- package/dist/types/components/ui/select/SelectValue.vue.d.ts +13 -0
- package/dist/types/components/ui/select/index.d.ts +11 -0
- package/dist/types/components/ui/separator/Separator.vue.d.ts +10 -0
- package/dist/types/components/ui/separator/index.d.ts +1 -0
- package/dist/types/components/ui/sheet/Sheet.vue.d.ts +17 -0
- package/dist/types/components/ui/sheet/SheetClose.vue.d.ts +13 -0
- package/dist/types/components/ui/sheet/SheetContent.vue.d.ts +33 -0
- package/dist/types/components/ui/sheet/SheetDescription.vue.d.ts +17 -0
- package/dist/types/components/ui/sheet/SheetFooter.vue.d.ts +16 -0
- package/dist/types/components/ui/sheet/SheetHeader.vue.d.ts +16 -0
- package/dist/types/components/ui/sheet/SheetTitle.vue.d.ts +17 -0
- package/dist/types/components/ui/sheet/SheetTrigger.vue.d.ts +13 -0
- package/dist/types/components/ui/sheet/index.d.ts +13 -0
- package/dist/types/components/ui/stepper/Stepper.vue.d.ts +33 -0
- package/dist/types/components/ui/stepper/StepperDescription.vue.d.ts +17 -0
- package/dist/types/components/ui/stepper/StepperIndicator.vue.d.ts +19 -0
- package/dist/types/components/ui/stepper/StepperItem.vue.d.ts +19 -0
- package/dist/types/components/ui/stepper/StepperSeparator.vue.d.ts +7 -0
- package/dist/types/components/ui/stepper/StepperTitle.vue.d.ts +17 -0
- package/dist/types/components/ui/stepper/StepperTrigger.vue.d.ts +17 -0
- package/dist/types/components/ui/stepper/index.d.ts +7 -0
- package/dist/types/components/ui/switch/Switch.vue.d.ts +21 -0
- package/dist/types/components/ui/switch/index.d.ts +1 -0
- package/dist/types/components/ui/tab-wizard/TabWizard.vue.d.ts +82 -0
- package/dist/types/components/ui/tab-wizard/TabWizardContent.vue.d.ts +22 -0
- package/dist/types/components/ui/tab-wizard/TabWizardForm.vue.d.ts +16 -0
- package/dist/types/components/ui/tab-wizard/index.d.ts +4 -0
- package/dist/types/components/ui/textarea/Textarea.vue.d.ts +12 -0
- package/dist/types/components/ui/textarea/index.d.ts +1 -0
- package/dist/types/components/ui/tooltip/Tooltip.vue.d.ts +17 -0
- package/dist/types/components/ui/tooltip/TooltipContent.vue.d.ts +25 -0
- package/dist/types/components/ui/tooltip/TooltipProvider.vue.d.ts +13 -0
- package/dist/types/components/ui/tooltip/TooltipTrigger.vue.d.ts +13 -0
- package/dist/types/components/ui/tooltip/index.d.ts +4 -0
- package/dist/types/composables/dynamic-form/actions/useFormActions.d.ts +10 -0
- package/dist/types/composables/dynamic-form/logic/operators.d.ts +1 -0
- package/dist/types/composables/dynamic-form/logic/useFormLogic.d.ts +29 -0
- package/dist/types/composables/dynamic-form/mapping/useFormMapping.d.ts +3 -0
- package/dist/types/composables/dynamic-form/navigation/navigation.types.d.ts +80 -0
- package/dist/types/composables/dynamic-form/navigation/useFormNavigation.d.ts +93 -0
- package/dist/types/composables/dynamic-form/state/useFormState.d.ts +2 -0
- package/dist/types/composables/dynamic-form/table/useFormTable.d.ts +43 -0
- package/dist/types/composables/dynamic-form/types/form.types.d.ts +203 -0
- package/dist/types/composables/dynamic-form/useDynamicForm.d.ts +228 -0
- package/dist/types/composables/dynamic-form/utils/form.utils.d.ts +21 -0
- package/dist/types/composables/dynamic-form/validation/useFormValidation.d.ts +3 -0
- package/dist/types/composables/dynamic-form/watcher/useFormWatcher.d.ts +4 -0
- package/dist/types/composables/useAlertTheme.d.ts +15 -0
- package/dist/types/composables/useAuthOverlay.d.ts +91 -0
- package/dist/types/composables/useMenuMetadata.d.ts +7 -0
- package/dist/types/composables/useSmoothCaret.d.ts +21 -0
- package/dist/types/composables/useTemplateDownload.d.ts +40 -0
- package/dist/types/composables/useToast.d.ts +93 -0
- package/dist/types/composables/vue3-toastify-shim.d.ts +13 -0
- package/dist/types/lib/utils.d.ts +2 -0
- package/dist/types/locales/en.d.ts +609 -0
- package/dist/types/locales/id.d.ts +894 -0
- package/dist/types/locales/kr.d.ts +611 -0
- package/dist/types/pages/AutoLayoutDatatable.vue.d.ts +34 -0
- package/dist/types/pages/AutoLayoutForm.vue.d.ts +31 -0
- package/dist/types/stores/ui.d.ts +26 -0
- package/dist/types/types/api-request.d.ts +5 -0
- package/dist/types/types/base-props.d.ts +12 -0
- package/dist/types/types/dynamic.types.d.ts +44 -0
- package/dist/types/types/form.d.ts +797 -0
- package/dist/types/types/index.d.ts +149 -0
- package/dist/types/utils/action.utils.d.ts +2 -0
- package/dist/types/utils/action.utils.test.d.ts +1 -0
- package/dist/types/utils/datePIckerColor.d.ts +8 -0
- package/dist/types/utils/download.utils.d.ts +30 -0
- package/dist/types/utils/download.utils.test.d.ts +1 -0
- package/dist/types/utils/formdata.utils.d.ts +32 -0
- package/dist/types/utils/formdata.utils.test.d.ts +1 -0
- package/dist/types/utils/helpers.d.ts +38 -0
- package/dist/types/utils/inFlightFetch.d.ts +1 -0
- package/dist/types/utils/inFlightFetch.test.d.ts +1 -0
- package/dist/types/utils/permission.d.ts +17 -0
- package/dist/types/utils/range.utils.d.ts +22 -0
- package/dist/types/utils/range.utils.test.d.ts +1 -0
- package/dist/{viewer-D-iX9lu-.js → viewer-D0uULCEb.js} +1 -1
- package/dist/xlsx-BSxXi4Js.js +25253 -0
- package/package.json +6 -2
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
import type { ApiModule } from "../../types/api-request";
|
|
3
|
+
type ApiOptions = Record<string, any>;
|
|
4
|
+
type WizardTab = {
|
|
5
|
+
key: string;
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
icon?: Component | string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
apiModule?: ApiModule;
|
|
11
|
+
apiAction?: string;
|
|
12
|
+
apiParams?: any;
|
|
13
|
+
endpoint?: {
|
|
14
|
+
apiModule?: ApiModule;
|
|
15
|
+
apiAction?: string;
|
|
16
|
+
apiUrl?: string;
|
|
17
|
+
apiMethod?: string;
|
|
18
|
+
};
|
|
19
|
+
/** Fungsi kustom untuk fetch data tab ini (alternatif dari endpoint) */
|
|
20
|
+
fetchData?: () => Promise<any>;
|
|
21
|
+
isDataTable?: boolean;
|
|
22
|
+
propsDataTableWizard?: {
|
|
23
|
+
modelDatatable?: string;
|
|
24
|
+
pagination?: boolean;
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
};
|
|
27
|
+
isSubmit?: boolean;
|
|
28
|
+
endpointActionStepNext?: any;
|
|
29
|
+
endpointActionStepPrev?: any;
|
|
30
|
+
};
|
|
31
|
+
type TabCtx = {
|
|
32
|
+
tabIndex: number;
|
|
33
|
+
tab: WizardTab;
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Props = {
|
|
36
|
+
tabs: WizardTab[];
|
|
37
|
+
modelValue?: number | string;
|
|
38
|
+
defaultTab?: number;
|
|
39
|
+
allowTabClick?: boolean;
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
cache?: boolean;
|
|
42
|
+
autoFetchOnMount?: boolean;
|
|
43
|
+
apiOptions?: ApiOptions | (() => ApiOptions | undefined);
|
|
44
|
+
isVertical?: boolean;
|
|
45
|
+
isWizard?: boolean;
|
|
46
|
+
typeWizard?: 'number' | 'icon' | 'none' | null;
|
|
47
|
+
showNavigation?: boolean;
|
|
48
|
+
submitText?: string;
|
|
49
|
+
loading?: boolean;
|
|
50
|
+
isSubmit?: boolean;
|
|
51
|
+
beforeNext?: (tab: WizardTab) => Promise<boolean>;
|
|
52
|
+
beforePrev?: (tab: WizardTab) => Promise<boolean>;
|
|
53
|
+
};
|
|
54
|
+
declare function reload(i?: number): Promise<void>;
|
|
55
|
+
declare var __VLS_21: {
|
|
56
|
+
tab: WizardTab;
|
|
57
|
+
tabIndex: number;
|
|
58
|
+
}, __VLS_28: `tab-${string}`, __VLS_29: {
|
|
59
|
+
tab: WizardTab;
|
|
60
|
+
tabIndex: number;
|
|
61
|
+
data: any;
|
|
62
|
+
loaded: boolean;
|
|
63
|
+
reload: typeof reload;
|
|
64
|
+
};
|
|
65
|
+
type __VLS_Slots = {} & {
|
|
66
|
+
[K in NonNullable<typeof __VLS_28>]?: (props: typeof __VLS_29) => any;
|
|
67
|
+
} & {
|
|
68
|
+
loading?: (props: typeof __VLS_21) => any;
|
|
69
|
+
};
|
|
70
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
71
|
+
"update:modelValue": (v: string | number) => any;
|
|
72
|
+
error: (v: TabCtx & {
|
|
73
|
+
message: string;
|
|
74
|
+
}) => any;
|
|
75
|
+
change: (v: TabCtx) => any;
|
|
76
|
+
loaded: (v: TabCtx & {
|
|
77
|
+
data: any;
|
|
78
|
+
}) => any;
|
|
79
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
80
|
+
"onUpdate:modelValue"?: ((v: string | number) => any) | undefined;
|
|
81
|
+
onError?: ((v: TabCtx & {
|
|
82
|
+
message: string;
|
|
83
|
+
}) => any) | undefined;
|
|
84
|
+
onChange?: ((v: TabCtx) => any) | undefined;
|
|
85
|
+
onLoaded?: ((v: TabCtx & {
|
|
86
|
+
data: any;
|
|
87
|
+
}) => any) | undefined;
|
|
88
|
+
}>, {
|
|
89
|
+
disabled: boolean;
|
|
90
|
+
loading: boolean;
|
|
91
|
+
isSubmit: boolean;
|
|
92
|
+
apiOptions: ApiOptions | (() => ApiOptions | undefined);
|
|
93
|
+
autoFetchOnMount: boolean;
|
|
94
|
+
defaultTab: number;
|
|
95
|
+
allowTabClick: boolean;
|
|
96
|
+
cache: boolean;
|
|
97
|
+
isVertical: boolean;
|
|
98
|
+
isWizard: boolean;
|
|
99
|
+
typeWizard: "number" | "icon" | "none" | null;
|
|
100
|
+
showNavigation: boolean;
|
|
101
|
+
submitText: string;
|
|
102
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
103
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
104
|
+
export default _default;
|
|
105
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
106
|
+
new (): {
|
|
107
|
+
$slots: S;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import 'bpmn-js/dist/assets/diagram-js.css';
|
|
2
|
+
import 'bpmn-js/dist/assets/bpmn-js.css';
|
|
3
|
+
import 'bpmn-js-token-simulation/assets/css/bpmn-js-token-simulation.css';
|
|
4
|
+
interface Props {
|
|
5
|
+
xml?: string | null;
|
|
6
|
+
modelValue?: string | null;
|
|
7
|
+
/** XML BPMN untuk panel "Before" (mode perbandingan) */
|
|
8
|
+
xmlBefore?: string | null;
|
|
9
|
+
/** XML BPMN untuk panel "After" (mode perbandingan) */
|
|
10
|
+
xmlAfter?: string | null;
|
|
11
|
+
/** Label kustom untuk panel Before (default: "Before") */
|
|
12
|
+
labelBefore?: string;
|
|
13
|
+
/** Label kustom untuk panel After (default: "After") */
|
|
14
|
+
labelAfter?: string;
|
|
15
|
+
title?: string;
|
|
16
|
+
height?: string;
|
|
17
|
+
apiUrl?: string;
|
|
18
|
+
apiModule?: string;
|
|
19
|
+
apiAction?: string;
|
|
20
|
+
apiMethod?: string;
|
|
21
|
+
apiParams?: Record<string, any>;
|
|
22
|
+
endpoint?: {
|
|
23
|
+
apiUrl?: string;
|
|
24
|
+
apiMethod?: string;
|
|
25
|
+
keyParam?: string[];
|
|
26
|
+
model?: string;
|
|
27
|
+
};
|
|
28
|
+
fetcher?: (params?: any) => Promise<string | Blob>;
|
|
29
|
+
baseUrl?: string;
|
|
30
|
+
dummyMode?: boolean;
|
|
31
|
+
showToolbar?: boolean;
|
|
32
|
+
allowDownload?: boolean;
|
|
33
|
+
allowViewCode?: boolean;
|
|
34
|
+
fitOnLoad?: boolean;
|
|
35
|
+
zoomOnScroll?: boolean;
|
|
36
|
+
interactive?: boolean;
|
|
37
|
+
tokenSimulation?: boolean;
|
|
38
|
+
}
|
|
39
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
40
|
+
"update:modelValue": (value: string) => any;
|
|
41
|
+
error: (error: Error) => any;
|
|
42
|
+
loaded: (payload: {
|
|
43
|
+
viewer: any;
|
|
44
|
+
canvas: any;
|
|
45
|
+
xml: string;
|
|
46
|
+
}) => any;
|
|
47
|
+
elementClick: (element: any) => any;
|
|
48
|
+
elementHover: (element: any) => any;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
|
+
onError?: ((error: Error) => any) | undefined;
|
|
52
|
+
onLoaded?: ((payload: {
|
|
53
|
+
viewer: any;
|
|
54
|
+
canvas: any;
|
|
55
|
+
xml: string;
|
|
56
|
+
}) => any) | undefined;
|
|
57
|
+
onElementClick?: ((element: any) => any) | undefined;
|
|
58
|
+
onElementHover?: ((element: any) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
title: string;
|
|
61
|
+
modelValue: string | null;
|
|
62
|
+
height: string;
|
|
63
|
+
xml: string | null;
|
|
64
|
+
apiParams: Record<string, any>;
|
|
65
|
+
apiMethod: string;
|
|
66
|
+
dummyMode: boolean;
|
|
67
|
+
xmlBefore: string | null;
|
|
68
|
+
xmlAfter: string | null;
|
|
69
|
+
labelBefore: string;
|
|
70
|
+
labelAfter: string;
|
|
71
|
+
showToolbar: boolean;
|
|
72
|
+
allowDownload: boolean;
|
|
73
|
+
allowViewCode: boolean;
|
|
74
|
+
fitOnLoad: boolean;
|
|
75
|
+
zoomOnScroll: boolean;
|
|
76
|
+
interactive: boolean;
|
|
77
|
+
tokenSimulation: boolean;
|
|
78
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
79
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
auditId?: string | number;
|
|
3
|
+
fetcher?: (params: {
|
|
4
|
+
auditId: string | number;
|
|
5
|
+
}) => Promise<Blob>;
|
|
6
|
+
apiModule?: string;
|
|
7
|
+
apiAction?: string;
|
|
8
|
+
apiUrl?: string;
|
|
9
|
+
apiMethod?: string;
|
|
10
|
+
apiParams?: Record<string, any>;
|
|
11
|
+
height?: string;
|
|
12
|
+
baseUrl?: string;
|
|
13
|
+
withAuth?: boolean;
|
|
14
|
+
endpoint?: {
|
|
15
|
+
apiUrl?: string;
|
|
16
|
+
apiMethod?: string;
|
|
17
|
+
keyParam?: string[];
|
|
18
|
+
model?: string;
|
|
19
|
+
};
|
|
20
|
+
dummyMode?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
23
|
+
height: string;
|
|
24
|
+
apiParams: Record<string, any>;
|
|
25
|
+
apiMethod: string;
|
|
26
|
+
dummyMode: boolean;
|
|
27
|
+
baseUrl: string;
|
|
28
|
+
withAuth: boolean;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
+
export default _default;
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import type { SortConfig, TableColumn } from "../../../types";
|
|
2
|
+
interface Props {
|
|
3
|
+
columns?: TableColumn[];
|
|
4
|
+
data?: any[];
|
|
5
|
+
perPage?: number;
|
|
6
|
+
page?: number;
|
|
7
|
+
startIndex?: number;
|
|
8
|
+
endIndex?: number;
|
|
9
|
+
remotePagination?: boolean;
|
|
10
|
+
totalItems?: number;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
hasActions?: boolean;
|
|
13
|
+
nested?: boolean;
|
|
14
|
+
apiModule?: string;
|
|
15
|
+
apiAction?: string;
|
|
16
|
+
apiMethod?: string;
|
|
17
|
+
apiUrl?: string;
|
|
18
|
+
permissionBase?: string;
|
|
19
|
+
apiParams?: Record<string, any>;
|
|
20
|
+
socketEndpoint?: string;
|
|
21
|
+
socketRequest?: string;
|
|
22
|
+
socketParams?: Record<string, any>;
|
|
23
|
+
configKey?: string;
|
|
24
|
+
tableConfig?: any;
|
|
25
|
+
dynamicColumns?: boolean;
|
|
26
|
+
searchApiEndpoint?: string;
|
|
27
|
+
enableQuickSearch?: boolean;
|
|
28
|
+
showPagination?: boolean;
|
|
29
|
+
ignorePermissions?: boolean;
|
|
30
|
+
userPermissions?: any;
|
|
31
|
+
permissionChecker?: (path: string, action: string) => boolean;
|
|
32
|
+
permissions?: string[];
|
|
33
|
+
checkPermission?: (permission: string) => boolean;
|
|
34
|
+
menuPermissions?: any[];
|
|
35
|
+
dummyMode?: boolean;
|
|
36
|
+
baseUrl?: string;
|
|
37
|
+
controlled?: boolean;
|
|
38
|
+
tokenCores?: any[];
|
|
39
|
+
selectedTokenCore?: any;
|
|
40
|
+
filters?: Record<string, any>;
|
|
41
|
+
accept?: string;
|
|
42
|
+
search?: string;
|
|
43
|
+
selection?: any[];
|
|
44
|
+
}
|
|
45
|
+
declare function clearSelection(): void;
|
|
46
|
+
declare var __VLS_19: {
|
|
47
|
+
filters: Record<string, any>;
|
|
48
|
+
}, __VLS_74: {}, __VLS_81: `cell-${string}`, __VLS_82: {
|
|
49
|
+
row: any;
|
|
50
|
+
value: any;
|
|
51
|
+
}, __VLS_94: {
|
|
52
|
+
row: any;
|
|
53
|
+
buttons: any[];
|
|
54
|
+
getButtonColor: (button: any, row: any) => string;
|
|
55
|
+
getIconComponent: (iconName: string) => any;
|
|
56
|
+
}, __VLS_111: {
|
|
57
|
+
row: any;
|
|
58
|
+
index: number;
|
|
59
|
+
};
|
|
60
|
+
type __VLS_Slots = {} & {
|
|
61
|
+
[K in NonNullable<typeof __VLS_81>]?: (props: typeof __VLS_82) => any;
|
|
62
|
+
} & {
|
|
63
|
+
'filter-form'?: (props: typeof __VLS_19) => any;
|
|
64
|
+
} & {
|
|
65
|
+
'header-actions'?: (props: typeof __VLS_74) => any;
|
|
66
|
+
} & {
|
|
67
|
+
actions?: (props: typeof __VLS_94) => any;
|
|
68
|
+
} & {
|
|
69
|
+
'expanded-row'?: (props: typeof __VLS_111) => any;
|
|
70
|
+
};
|
|
71
|
+
declare const __VLS_component: import("vue").DefineComponent<Props, {
|
|
72
|
+
fetchData: (silent?: boolean, force?: boolean) => Promise<void>;
|
|
73
|
+
filters: import("vue").Ref<Record<string, any>, Record<string, any>>;
|
|
74
|
+
resetFilters: () => void;
|
|
75
|
+
handleRefresh: () => void;
|
|
76
|
+
currentPage: import("vue").Ref<number, number>;
|
|
77
|
+
currentPerPage: import("vue").Ref<number, number>;
|
|
78
|
+
searchQuery: import("vue").Ref<any, any>;
|
|
79
|
+
clearSelection: typeof clearSelection;
|
|
80
|
+
selectedRows: import("vue").ComputedRef<any[]>;
|
|
81
|
+
selectedIds: import("vue").Ref<any[], any[]>;
|
|
82
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
83
|
+
search: (filters: any) => any;
|
|
84
|
+
"update:page": (page: number) => any;
|
|
85
|
+
reset: () => any;
|
|
86
|
+
action: (payload: {
|
|
87
|
+
action: string;
|
|
88
|
+
row: any;
|
|
89
|
+
selection?: any[];
|
|
90
|
+
isLocalSave?: boolean;
|
|
91
|
+
modelDatatable?: string;
|
|
92
|
+
actionType?: string;
|
|
93
|
+
originalRow?: any;
|
|
94
|
+
rowIndex?: number | null;
|
|
95
|
+
}) => any;
|
|
96
|
+
create: () => any;
|
|
97
|
+
"update:perPage": (perPage: number) => any;
|
|
98
|
+
"update:search": (search: string) => any;
|
|
99
|
+
"update:sort": (sort: SortConfig) => any;
|
|
100
|
+
"update:startIndex": (startIndex: number) => any;
|
|
101
|
+
"update:endIndex": (endIndex: number) => any;
|
|
102
|
+
export: () => any;
|
|
103
|
+
"update:selection": (selection: any) => any;
|
|
104
|
+
"selection-change": (selection: any[]) => any;
|
|
105
|
+
navigate: (payload: {
|
|
106
|
+
route?: string;
|
|
107
|
+
path?: string;
|
|
108
|
+
key?: string;
|
|
109
|
+
query?: any;
|
|
110
|
+
targetBehavior?: string;
|
|
111
|
+
}) => any;
|
|
112
|
+
refresh: () => any;
|
|
113
|
+
"update:filters": (filters: any) => any;
|
|
114
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
115
|
+
onSearch?: ((filters: any) => any) | undefined;
|
|
116
|
+
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
117
|
+
onReset?: (() => any) | undefined;
|
|
118
|
+
onAction?: ((payload: {
|
|
119
|
+
action: string;
|
|
120
|
+
row: any;
|
|
121
|
+
selection?: any[];
|
|
122
|
+
isLocalSave?: boolean;
|
|
123
|
+
modelDatatable?: string;
|
|
124
|
+
actionType?: string;
|
|
125
|
+
originalRow?: any;
|
|
126
|
+
rowIndex?: number | null;
|
|
127
|
+
}) => any) | undefined;
|
|
128
|
+
onCreate?: (() => any) | undefined;
|
|
129
|
+
"onUpdate:perPage"?: ((perPage: number) => any) | undefined;
|
|
130
|
+
"onUpdate:search"?: ((search: string) => any) | undefined;
|
|
131
|
+
"onUpdate:sort"?: ((sort: SortConfig) => any) | undefined;
|
|
132
|
+
"onUpdate:startIndex"?: ((startIndex: number) => any) | undefined;
|
|
133
|
+
"onUpdate:endIndex"?: ((endIndex: number) => any) | undefined;
|
|
134
|
+
onExport?: (() => any) | undefined;
|
|
135
|
+
"onUpdate:selection"?: ((selection: any) => any) | undefined;
|
|
136
|
+
"onSelection-change"?: ((selection: any[]) => any) | undefined;
|
|
137
|
+
onNavigate?: ((payload: {
|
|
138
|
+
route?: string;
|
|
139
|
+
path?: string;
|
|
140
|
+
key?: string;
|
|
141
|
+
query?: any;
|
|
142
|
+
targetBehavior?: string;
|
|
143
|
+
}) => any) | undefined;
|
|
144
|
+
onRefresh?: (() => any) | undefined;
|
|
145
|
+
"onUpdate:filters"?: ((filters: any) => any) | undefined;
|
|
146
|
+
}>, {
|
|
147
|
+
data: any[];
|
|
148
|
+
loading: boolean;
|
|
149
|
+
perPage: number;
|
|
150
|
+
apiAction: string;
|
|
151
|
+
nested: boolean;
|
|
152
|
+
apiParams: Record<string, any>;
|
|
153
|
+
columns: TableColumn[];
|
|
154
|
+
dummyMode: boolean;
|
|
155
|
+
showPagination: boolean;
|
|
156
|
+
baseUrl: string;
|
|
157
|
+
permissions: string[];
|
|
158
|
+
socketParams: Record<string, any>;
|
|
159
|
+
selectedTokenCore: any;
|
|
160
|
+
hasActions: boolean;
|
|
161
|
+
dynamicColumns: boolean;
|
|
162
|
+
enableQuickSearch: boolean;
|
|
163
|
+
ignorePermissions: boolean;
|
|
164
|
+
userPermissions: any;
|
|
165
|
+
permissionChecker: (path: string, action: string) => boolean;
|
|
166
|
+
checkPermission: (permission: string) => boolean;
|
|
167
|
+
menuPermissions: any[];
|
|
168
|
+
controlled: boolean;
|
|
169
|
+
tokenCores: any[];
|
|
170
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
171
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
172
|
+
export default _default;
|
|
173
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
174
|
+
new (): {
|
|
175
|
+
$slots: S;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
interface FieldConfig {
|
|
2
|
+
key: string;
|
|
3
|
+
component: string;
|
|
4
|
+
model: string;
|
|
5
|
+
seq?: number;
|
|
6
|
+
column?: string;
|
|
7
|
+
isHidden?: boolean;
|
|
8
|
+
logic?: {
|
|
9
|
+
optionsFilterRule?: any[];
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
};
|
|
12
|
+
props: {
|
|
13
|
+
labelID?: string;
|
|
14
|
+
labelEN?: string;
|
|
15
|
+
labelKR?: string;
|
|
16
|
+
placeholderID?: string;
|
|
17
|
+
placeholderEN?: string;
|
|
18
|
+
placeholderKR?: string;
|
|
19
|
+
valueType?: string;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
minLength?: number;
|
|
22
|
+
maxLength?: number;
|
|
23
|
+
min?: string | number;
|
|
24
|
+
max?: string | number;
|
|
25
|
+
options?: any[];
|
|
26
|
+
endpoint?: any;
|
|
27
|
+
itemTitle?: string;
|
|
28
|
+
itemValue?: string;
|
|
29
|
+
returnObject?: boolean;
|
|
30
|
+
clearable?: boolean;
|
|
31
|
+
disabled?: boolean;
|
|
32
|
+
readonly?: boolean;
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
interface Props {
|
|
37
|
+
field: FieldConfig;
|
|
38
|
+
modelValue?: any;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
required?: boolean;
|
|
41
|
+
readonly?: boolean;
|
|
42
|
+
options?: any[];
|
|
43
|
+
dynamicLabels?: any;
|
|
44
|
+
dynamicLength?: any;
|
|
45
|
+
baseUrl?: string;
|
|
46
|
+
}
|
|
47
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
48
|
+
"update:modelValue": (value: any) => any;
|
|
49
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
50
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
51
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
52
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { DynamicFormProps } from "../../composables/dynamic-form/types/form.types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<DynamicFormProps, {
|
|
3
|
+
validate: () => any;
|
|
4
|
+
isDirty: () => boolean;
|
|
5
|
+
resetDirty: () => void;
|
|
6
|
+
rawItemsCache: any;
|
|
7
|
+
formData: any;
|
|
8
|
+
resolveValueIdentifier: any;
|
|
9
|
+
context: any;
|
|
10
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
11
|
+
"update:modelValue": (data: any) => any;
|
|
12
|
+
error: (error: any) => any;
|
|
13
|
+
success: (response: any) => any;
|
|
14
|
+
cancel: () => any;
|
|
15
|
+
submit: (data: any) => any;
|
|
16
|
+
action: (action: any, payload: any) => any;
|
|
17
|
+
"update:model": (data: any) => any;
|
|
18
|
+
"step-change": (key: string) => any;
|
|
19
|
+
navigate: (payload: any) => any;
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<DynamicFormProps> & Readonly<{
|
|
21
|
+
"onUpdate:modelValue"?: ((data: any) => any) | undefined;
|
|
22
|
+
onError?: ((error: any) => any) | undefined;
|
|
23
|
+
onSuccess?: ((response: any) => any) | undefined;
|
|
24
|
+
onCancel?: (() => any) | undefined;
|
|
25
|
+
onSubmit?: ((data: any) => any) | undefined;
|
|
26
|
+
onAction?: ((action: any, payload: any) => any) | undefined;
|
|
27
|
+
"onUpdate:model"?: ((data: any) => any) | undefined;
|
|
28
|
+
"onStep-change"?: ((key: string) => any) | undefined;
|
|
29
|
+
onNavigate?: ((payload: any) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
loading: boolean;
|
|
32
|
+
router: any;
|
|
33
|
+
model: Record<string, any>;
|
|
34
|
+
apiParams: Record<string, any>;
|
|
35
|
+
dummyMode: boolean;
|
|
36
|
+
baseUrl: string;
|
|
37
|
+
selectedTokenCore: any;
|
|
38
|
+
isEditMode: boolean;
|
|
39
|
+
permissionBase: string;
|
|
40
|
+
userPermissions: any;
|
|
41
|
+
checkPermission: (permission: string) => boolean;
|
|
42
|
+
tokenCores: any[];
|
|
43
|
+
hideActions: boolean;
|
|
44
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
45
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Props } from "../../types/dynamic.types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
3
|
+
"update:modelValue": (value: any) => any;
|
|
4
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
5
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
6
|
+
}>, {
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
readonly: boolean;
|
|
9
|
+
modelValue: any;
|
|
10
|
+
required: boolean;
|
|
11
|
+
error: string | null;
|
|
12
|
+
loading: boolean;
|
|
13
|
+
formData: Record<string, any>;
|
|
14
|
+
skeleton: boolean;
|
|
15
|
+
options: any[];
|
|
16
|
+
excludeValues: any[];
|
|
17
|
+
dummyMode: boolean;
|
|
18
|
+
baseUrl: string;
|
|
19
|
+
dynamicLabels: {
|
|
20
|
+
labelEN?: string;
|
|
21
|
+
labelID?: string;
|
|
22
|
+
labelKR?: string;
|
|
23
|
+
placeholderEN?: string;
|
|
24
|
+
placeholderID?: string;
|
|
25
|
+
placeholderKR?: string;
|
|
26
|
+
titleEN?: string;
|
|
27
|
+
titleID?: string;
|
|
28
|
+
titleKR?: string;
|
|
29
|
+
} | null;
|
|
30
|
+
dynamicLength: {
|
|
31
|
+
minLength?: number | string | null;
|
|
32
|
+
maxLength?: number | string | null;
|
|
33
|
+
} | null;
|
|
34
|
+
viewOnly: boolean;
|
|
35
|
+
selectedTokenCore: any;
|
|
36
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
interface DynamicWizardProps {
|
|
2
|
+
schema: any;
|
|
3
|
+
model?: Record<string, any>;
|
|
4
|
+
isEditMode?: boolean;
|
|
5
|
+
loading?: boolean;
|
|
6
|
+
selectedTokenCore?: any;
|
|
7
|
+
tokenCores?: any[];
|
|
8
|
+
dummyMode?: boolean;
|
|
9
|
+
router?: any;
|
|
10
|
+
permissionBase?: string;
|
|
11
|
+
userPermissions?: any;
|
|
12
|
+
checkPermission?: (permission: string) => boolean;
|
|
13
|
+
hideActions?: boolean;
|
|
14
|
+
apiParams?: Record<string, any>;
|
|
15
|
+
}
|
|
16
|
+
declare const _default: import("vue").DefineComponent<DynamicWizardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
cancel: () => any;
|
|
18
|
+
submit: (data: any) => any;
|
|
19
|
+
action: (action: any, payload: any) => any;
|
|
20
|
+
"update:model": (data: any) => any;
|
|
21
|
+
"step-change": (key: string) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<DynamicWizardProps> & Readonly<{
|
|
23
|
+
onCancel?: (() => any) | undefined;
|
|
24
|
+
onSubmit?: ((data: any) => any) | undefined;
|
|
25
|
+
onAction?: ((action: any, payload: any) => any) | undefined;
|
|
26
|
+
"onUpdate:model"?: ((data: any) => any) | undefined;
|
|
27
|
+
"onStep-change"?: ((key: string) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
loading: boolean;
|
|
30
|
+
router: any;
|
|
31
|
+
model: Record<string, any>;
|
|
32
|
+
apiParams: Record<string, any>;
|
|
33
|
+
dummyMode: boolean;
|
|
34
|
+
selectedTokenCore: any;
|
|
35
|
+
isEditMode: boolean;
|
|
36
|
+
permissionBase: string;
|
|
37
|
+
userPermissions: any;
|
|
38
|
+
checkPermission: (permission: string) => boolean;
|
|
39
|
+
tokenCores: any[];
|
|
40
|
+
hideActions: boolean;
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
interface BackButtonConfig {
|
|
2
|
+
labelEN?: string;
|
|
3
|
+
labelID?: string;
|
|
4
|
+
labelKR?: string;
|
|
5
|
+
icon?: string;
|
|
6
|
+
variant?: string;
|
|
7
|
+
position?: 'left' | 'right';
|
|
8
|
+
}
|
|
9
|
+
interface Props {
|
|
10
|
+
config?: BackButtonConfig | null;
|
|
11
|
+
locale?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
14
|
+
click: () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
16
|
+
onClick?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
locale: string;
|
|
19
|
+
config: BackButtonConfig | null;
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
type?: "form" | "table";
|
|
3
|
+
};
|
|
4
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
5
|
+
type: "form" | "table";
|
|
6
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
steps?: string[];
|
|
4
|
+
};
|
|
5
|
+
declare var __VLS_5: {};
|
|
6
|
+
type __VLS_Slots = {} & {
|
|
7
|
+
default?: (props: typeof __VLS_5) => any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
10
|
+
title: string;
|
|
11
|
+
steps: string[];
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
interface Props {
|
|
2
|
+
rows?: number;
|
|
3
|
+
columns?: number;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
6
|
+
columns: number;
|
|
7
|
+
rows: number;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PROPS
|
|
3
|
+
*/
|
|
4
|
+
type __VLS_Props = {
|
|
5
|
+
section: any;
|
|
6
|
+
sIdx: number;
|
|
7
|
+
dummyMode?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
section: any;
|
|
3
|
+
dummyMode?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
navigate: (...args: any[]) => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onNavigate?: ((...args: any[]) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
section: any;
|
|
3
|
+
dummyMode?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|