@skyworx/dynamic-ui 1.0.18 → 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/dynamic-ui.es.js +1 -1
- package/dist/dynamic-ui.umd.js +31 -31
- package/dist/{index-6BK4tQtP.js → index-DagL5UIu.js} +3344 -3333
- package/dist/{viewer-DZ8TvgoS.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 -89
- 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 -100
- 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 -37
- 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/loading-screen/LayoutResolving.vue.d.ts +0 -7
- package/dist/types/components/dynamic/loading-screen/LoadingStatus.vue.d.ts +0 -19
- package/dist/types/components/dynamic/loading-screen/Skeleton.vue.d.ts +0 -2
- package/dist/types/components/dynamic/loading-screen/SkeletonTable.vue.d.ts +0 -9
- 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 -29
- 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 -203
- package/dist/types/composables/dynamic-form/useDynamicForm.d.ts +0 -228
- 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 -44
- 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,797 +0,0 @@
|
|
|
1
|
-
export type FieldComponent = "DCodeTextField" | "DCodeTextarea" | "DCodeTextArea" | "DCodeAutoComplete" | "DCodeSelect" | "DCodeCheckbox" | "DCodeRadio" | "DCodeRadioCustom" | "DCodeCardCheckboxList" | "DCodeCardList" | "DCodeDatePicker" | "DCodeDatepicker" | "DCodeSwitch" | "DCodeImageField" | "DCodeIconDropdown" | "DCodeOtpInput" | "DCodeOTPInput" | "DCodeOtp" | "OtpInput" | "DCodeUploadFile" | "DCodeFilePicker" | "FilePicker" | "DCodeTimePicker" | "DCodeInfiniteAutoComplete" | "DCodeCurrencyField" | "DCodeDialog" | "DCodeDialogCloseBtn" | "DCodeDropzone" | "DCodeFileField" | "DCodeFileResult" | "DCodeImageCropperDialog" | "DCodeImageResult" | "DCodeLabel" | "DCodeMultiSelect" | "DCodeProgressBar" | "DCodeTimelineWithIcons" | "DCodeButton" | "DCodeButtonGroup" | "DCodeTreePermissions" | "DCodeCardCheckboxList" | "DCodePermissionMenu" | "DCodeBeforeAfter" | "DCodeListLabels" | "DCodeFieldDiff" | "DCodePdfViewer" | "DCodeRobotList" | string;
|
|
2
|
-
export type ButtonVariant = "default" | "secondary" | "destructive" | "outline" | "ghost" | "link" | "tonal" | "elevated" | string;
|
|
3
|
-
export type ColumnSize = number | "FULL" | "HALF" | "THIRD" | "QUARTER" | "TWO-THIRDS" | "THREE-QUARTERS" | string;
|
|
4
|
-
export interface LogicRule {
|
|
5
|
-
visible?: boolean | string | Record<string, any>;
|
|
6
|
-
visibleRule?: string | Record<string, any> | boolean;
|
|
7
|
-
disabled?: boolean | string | Record<string, any>;
|
|
8
|
-
disabledRule?: string | Record<string, any>;
|
|
9
|
-
required?: boolean | string | Record<string, any>;
|
|
10
|
-
requiredRule?: string | Record<string, any>;
|
|
11
|
-
calculateRule?: Record<string, any>;
|
|
12
|
-
optionsFilterRule?: Array<{
|
|
13
|
-
condition: Record<string, any>;
|
|
14
|
-
values: any[];
|
|
15
|
-
}>;
|
|
16
|
-
labelingRule?: Array<{
|
|
17
|
-
condition: Record<string, any>;
|
|
18
|
-
labelID: string;
|
|
19
|
-
labelEN: string;
|
|
20
|
-
labelKR?: string;
|
|
21
|
-
placeholderID?: string;
|
|
22
|
-
placeholderEN?: string;
|
|
23
|
-
placeholderKR?: string;
|
|
24
|
-
}>;
|
|
25
|
-
lengthRule?: Array<{
|
|
26
|
-
condition: Record<string, any>;
|
|
27
|
-
minLength?: number | null;
|
|
28
|
-
maxLength?: number | null;
|
|
29
|
-
}>;
|
|
30
|
-
rangeRule?: {
|
|
31
|
-
condition: Record<string, any>;
|
|
32
|
-
labelFromID?: string;
|
|
33
|
-
labelFromEN?: string;
|
|
34
|
-
labelFromKR?: string;
|
|
35
|
-
labelToID?: string;
|
|
36
|
-
labelToEN?: string;
|
|
37
|
-
labelToKR?: string;
|
|
38
|
-
enforceOrder?: boolean;
|
|
39
|
-
/** Per bound. Absent or non-positive means unlimited. */
|
|
40
|
-
maxLengthFrom?: number | null;
|
|
41
|
-
maxLengthTo?: number | null;
|
|
42
|
-
};
|
|
43
|
-
messageKey?: string;
|
|
44
|
-
message?: string;
|
|
45
|
-
}
|
|
46
|
-
export interface EndpointConfig {
|
|
47
|
-
apiMethod?: string;
|
|
48
|
-
apiUrl?: string;
|
|
49
|
-
socket?: string;
|
|
50
|
-
keyParam?: string[];
|
|
51
|
-
model?: string;
|
|
52
|
-
dataSource?: "api" | "socket";
|
|
53
|
-
byPassMode?: boolean;
|
|
54
|
-
}
|
|
55
|
-
export interface FieldProps {
|
|
56
|
-
labelID?: string;
|
|
57
|
-
labelEN?: string;
|
|
58
|
-
labelKR?: string;
|
|
59
|
-
placeholderID?: string;
|
|
60
|
-
placeholderEN?: string;
|
|
61
|
-
placeholderKR?: string;
|
|
62
|
-
valueType?: string | null;
|
|
63
|
-
required?: boolean | null;
|
|
64
|
-
minLength?: number | null;
|
|
65
|
-
maxLength?: number | null;
|
|
66
|
-
minValue?: number | null;
|
|
67
|
-
maxValue?: number | null;
|
|
68
|
-
regex?: string | null;
|
|
69
|
-
regexMessage?: string | null;
|
|
70
|
-
apiModule?: string | null;
|
|
71
|
-
apiAction?: string | null;
|
|
72
|
-
itemTitle?: string | null;
|
|
73
|
-
itemValue?: string | null;
|
|
74
|
-
returnObject?: boolean | null;
|
|
75
|
-
clearable?: boolean | null;
|
|
76
|
-
typeFile?: string | null;
|
|
77
|
-
sizeFile?: number | null;
|
|
78
|
-
disablePast?: boolean;
|
|
79
|
-
range?: boolean;
|
|
80
|
-
autoRangeDays?: number;
|
|
81
|
-
keyRedirect?: boolean;
|
|
82
|
-
route?: string;
|
|
83
|
-
path?: string;
|
|
84
|
-
endpoint?: EndpointConfig | null;
|
|
85
|
-
endpointComponent?: EndpointConfig | null;
|
|
86
|
-
titleID?: string;
|
|
87
|
-
titleEN?: string;
|
|
88
|
-
titleKR?: string;
|
|
89
|
-
descriptionID?: string;
|
|
90
|
-
descriptionEN?: string;
|
|
91
|
-
descriptionKR?: string;
|
|
92
|
-
name?: string;
|
|
93
|
-
variant?: string;
|
|
94
|
-
bgColor?: string;
|
|
95
|
-
color?: string;
|
|
96
|
-
icon?: string | null;
|
|
97
|
-
borderColor?: string;
|
|
98
|
-
rounded?: string;
|
|
99
|
-
borderStyle?: string;
|
|
100
|
-
[key: string]: any;
|
|
101
|
-
}
|
|
102
|
-
export interface FormFieldDefinition {
|
|
103
|
-
id: string;
|
|
104
|
-
key: string;
|
|
105
|
-
component: FieldComponent;
|
|
106
|
-
model: string;
|
|
107
|
-
seq: number;
|
|
108
|
-
column: ColumnSize;
|
|
109
|
-
isVisible?: boolean;
|
|
110
|
-
props?: FieldProps;
|
|
111
|
-
propsFieldGlobal?: FieldProps;
|
|
112
|
-
propsFieldCustom?: FieldProps;
|
|
113
|
-
propsFilters?: FieldProps;
|
|
114
|
-
logic?: LogicRule;
|
|
115
|
-
events?: Record<string, any>;
|
|
116
|
-
}
|
|
117
|
-
export interface ActionConfirmMessage {
|
|
118
|
-
titleID?: string;
|
|
119
|
-
titleEN?: string;
|
|
120
|
-
titleKR?: string;
|
|
121
|
-
messageID?: string;
|
|
122
|
-
messageEN?: string;
|
|
123
|
-
messageKR?: string;
|
|
124
|
-
}
|
|
125
|
-
export interface DialogConfig {
|
|
126
|
-
key?: string;
|
|
127
|
-
code?: string;
|
|
128
|
-
titleID?: string;
|
|
129
|
-
titleEN?: string;
|
|
130
|
-
titleKR?: string;
|
|
131
|
-
descriptionID?: string;
|
|
132
|
-
descriptionEN?: string;
|
|
133
|
-
descriptionKR?: string;
|
|
134
|
-
layoutColumns?: ColumnSize;
|
|
135
|
-
}
|
|
136
|
-
export interface ActionProps {
|
|
137
|
-
key?: string;
|
|
138
|
-
icon?: string;
|
|
139
|
-
component?: string;
|
|
140
|
-
type?: string;
|
|
141
|
-
bgColor?: string;
|
|
142
|
-
labelID?: string;
|
|
143
|
-
labelEN?: string;
|
|
144
|
-
labelKR?: string;
|
|
145
|
-
variant?: string;
|
|
146
|
-
keyRedirect?: boolean;
|
|
147
|
-
route?: string;
|
|
148
|
-
path?: string;
|
|
149
|
-
rounded?: string;
|
|
150
|
-
borderStyle?: string;
|
|
151
|
-
borderColor?: string;
|
|
152
|
-
endpointPropAction?: EndpointConfig;
|
|
153
|
-
[key: string]: any;
|
|
154
|
-
}
|
|
155
|
-
export interface ActionGlobalProps {
|
|
156
|
-
align?: "left" | "center" | "right" | string;
|
|
157
|
-
}
|
|
158
|
-
export interface ActionDefinition {
|
|
159
|
-
id?: string;
|
|
160
|
-
key?: string;
|
|
161
|
-
label?: ActionLabel;
|
|
162
|
-
props?: Record<string, any>;
|
|
163
|
-
permission?: string;
|
|
164
|
-
openDialog?: boolean;
|
|
165
|
-
dialogConfig?: DialogConfig;
|
|
166
|
-
requireConfirm?: boolean;
|
|
167
|
-
propsActionGlobal?: ActionProps;
|
|
168
|
-
propsActionCustom?: ActionProps;
|
|
169
|
-
propCustomMessage?: ActionConfirmMessage | string;
|
|
170
|
-
propCustomCondition?: any[];
|
|
171
|
-
fieldActionGlobal?: FormFieldDefinition[];
|
|
172
|
-
fieldActionCustom?: FormFieldDefinition[];
|
|
173
|
-
field?: FormFieldDefinition[];
|
|
174
|
-
fields?: FormFieldDefinition[];
|
|
175
|
-
disabledWhen?: string;
|
|
176
|
-
type?: string;
|
|
177
|
-
variant?: string;
|
|
178
|
-
bgColor?: string;
|
|
179
|
-
icon?: string;
|
|
180
|
-
route?: string;
|
|
181
|
-
path?: string;
|
|
182
|
-
class?: string;
|
|
183
|
-
model?: string;
|
|
184
|
-
rounded?: string;
|
|
185
|
-
borderStyle?: string;
|
|
186
|
-
borderColor?: string;
|
|
187
|
-
labelID?: string;
|
|
188
|
-
labelEN?: string;
|
|
189
|
-
labelKR?: string;
|
|
190
|
-
triggerNavigation?: {
|
|
191
|
-
targetSection: string;
|
|
192
|
-
hiddenRules: Record<string, boolean | any>;
|
|
193
|
-
condition?: any;
|
|
194
|
-
enableBackButton?: boolean;
|
|
195
|
-
backButtonPosition?: 'header' | 'footer' | 'both';
|
|
196
|
-
backButtonConfig?: {
|
|
197
|
-
labelEN?: string;
|
|
198
|
-
labelID?: string;
|
|
199
|
-
labelKR?: string;
|
|
200
|
-
icon?: string;
|
|
201
|
-
variant?: string;
|
|
202
|
-
position?: 'left' | 'right';
|
|
203
|
-
};
|
|
204
|
-
preserveData?: boolean;
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
export interface TableHeaderCustom {
|
|
208
|
-
type?: "badge" | "action" | "text" | string;
|
|
209
|
-
keyCheckbox?: string;
|
|
210
|
-
keyPayload?: string;
|
|
211
|
-
propsCustom?: Array<{
|
|
212
|
-
value: string;
|
|
213
|
-
labelID: string;
|
|
214
|
-
labelEN: string;
|
|
215
|
-
labelKR?: string;
|
|
216
|
-
color?: string;
|
|
217
|
-
variant?: string;
|
|
218
|
-
}>;
|
|
219
|
-
actionCustom?: ActionDefinition[];
|
|
220
|
-
action?: ActionDefinition[];
|
|
221
|
-
conditionBadge?: Array<{
|
|
222
|
-
value: string;
|
|
223
|
-
labelID: string;
|
|
224
|
-
labelEN: string;
|
|
225
|
-
labelKR?: string;
|
|
226
|
-
color: string;
|
|
227
|
-
bgColor: string;
|
|
228
|
-
icon: string;
|
|
229
|
-
}>;
|
|
230
|
-
}
|
|
231
|
-
export interface TableHeader {
|
|
232
|
-
key: string;
|
|
233
|
-
modelKey?: string;
|
|
234
|
-
labelID?: string;
|
|
235
|
-
labelEN?: string;
|
|
236
|
-
labelKR?: string;
|
|
237
|
-
width?: string;
|
|
238
|
-
align?: "left" | "center" | "right";
|
|
239
|
-
isHidden?: boolean;
|
|
240
|
-
custom?: TableHeaderCustom | null;
|
|
241
|
-
}
|
|
242
|
-
export interface PropsForm {
|
|
243
|
-
key: string;
|
|
244
|
-
titleID?: string;
|
|
245
|
-
titleEN?: string;
|
|
246
|
-
titleKR?: string;
|
|
247
|
-
descriptionID?: string;
|
|
248
|
-
descriptionEN?: string;
|
|
249
|
-
descriptionKR?: string;
|
|
250
|
-
icon?: string;
|
|
251
|
-
layoutColumns?: ColumnSize;
|
|
252
|
-
modelDatatable?: string;
|
|
253
|
-
fields: FormFieldDefinition[];
|
|
254
|
-
endpointForm?: EndpointConfig;
|
|
255
|
-
actionSection?: ActionDefinition[];
|
|
256
|
-
logic?: SectionLogic;
|
|
257
|
-
}
|
|
258
|
-
export interface PropsTable {
|
|
259
|
-
key: string;
|
|
260
|
-
titleID?: string;
|
|
261
|
-
titleEN?: string;
|
|
262
|
-
titleKR?: string;
|
|
263
|
-
descriptionID?: string;
|
|
264
|
-
descriptionEN?: string;
|
|
265
|
-
descriptionKR?: string;
|
|
266
|
-
layoutColumns?: ColumnSize;
|
|
267
|
-
modelDatatable?: string;
|
|
268
|
-
fields?: FormFieldDefinition[];
|
|
269
|
-
endpointTable?: EndpointConfig;
|
|
270
|
-
actionTableGlobal?: ActionDefinition[];
|
|
271
|
-
headers?: TableHeader[];
|
|
272
|
-
filters?: FormFieldDefinition[];
|
|
273
|
-
pagination?: boolean;
|
|
274
|
-
logic?: SectionLogic;
|
|
275
|
-
}
|
|
276
|
-
export interface WizardSection {
|
|
277
|
-
layoutColumns?: ColumnSize;
|
|
278
|
-
endpointStep?: EndpointConfig;
|
|
279
|
-
fields?: FormFieldDefinition[];
|
|
280
|
-
propsDataTableWizard?: PropsTable;
|
|
281
|
-
}
|
|
282
|
-
export interface WizardStep {
|
|
283
|
-
key: string;
|
|
284
|
-
code?: string;
|
|
285
|
-
type?: string;
|
|
286
|
-
layoutColumns?: ColumnSize;
|
|
287
|
-
disabled?: boolean;
|
|
288
|
-
endpointStep?: EndpointConfig;
|
|
289
|
-
propsComponent?: {
|
|
290
|
-
titleID?: string;
|
|
291
|
-
titleEN?: string;
|
|
292
|
-
titleKR?: string;
|
|
293
|
-
descriptionID?: string;
|
|
294
|
-
descriptionEN?: string;
|
|
295
|
-
descriptionKR?: string;
|
|
296
|
-
isSubmit?: boolean;
|
|
297
|
-
icon?: string;
|
|
298
|
-
actionComponent?: ActionDefinition[];
|
|
299
|
-
[key: string]: any;
|
|
300
|
-
};
|
|
301
|
-
propsDataTableWizard?: PropsTable;
|
|
302
|
-
titleID?: string;
|
|
303
|
-
titleEN?: string;
|
|
304
|
-
titleKR?: string;
|
|
305
|
-
descriptionID?: string;
|
|
306
|
-
descriptionEN?: string;
|
|
307
|
-
descriptionKR?: string;
|
|
308
|
-
isSubmit?: boolean;
|
|
309
|
-
icon?: string;
|
|
310
|
-
actionComponent?: ActionDefinition[];
|
|
311
|
-
sectionsWizard?: WizardSection;
|
|
312
|
-
fields?: (FormFieldDefinition | FormFieldBuilder)[];
|
|
313
|
-
isDataTable?: boolean;
|
|
314
|
-
}
|
|
315
|
-
export interface PropsWizard {
|
|
316
|
-
code?: string;
|
|
317
|
-
key: string;
|
|
318
|
-
titleID?: string;
|
|
319
|
-
titleEN?: string;
|
|
320
|
-
titleKR?: string;
|
|
321
|
-
descriptionID?: string;
|
|
322
|
-
descriptionEN?: string;
|
|
323
|
-
descriptionKR?: string;
|
|
324
|
-
isWizard?: boolean;
|
|
325
|
-
isVertical?: boolean;
|
|
326
|
-
isDataTable?: boolean;
|
|
327
|
-
typeWizard?: string;
|
|
328
|
-
propsSteps: WizardStep[];
|
|
329
|
-
logic?: SectionLogic;
|
|
330
|
-
}
|
|
331
|
-
export interface SectionDefinition {
|
|
332
|
-
id: string;
|
|
333
|
-
type: "FORM" | "TABLE" | "WIZARD" | "CARD" | "BEFOREAFTER" | string;
|
|
334
|
-
propsForm?: PropsForm;
|
|
335
|
-
propsTable?: PropsTable;
|
|
336
|
-
propsWizard?: PropsWizard;
|
|
337
|
-
props?: any;
|
|
338
|
-
}
|
|
339
|
-
export interface FormSchema {
|
|
340
|
-
id?: string;
|
|
341
|
-
idTokenCore?: string;
|
|
342
|
-
code?: string;
|
|
343
|
-
titleID?: string;
|
|
344
|
-
titleEN?: string;
|
|
345
|
-
titleKR?: string;
|
|
346
|
-
descriptionID?: string;
|
|
347
|
-
descriptionEN?: string;
|
|
348
|
-
descriptionKR?: string;
|
|
349
|
-
actionGlobal?: ActionDefinition[];
|
|
350
|
-
actionGlobalProps?: ActionGlobalProps;
|
|
351
|
-
actions?: ActionDefinition[];
|
|
352
|
-
payload?: Record<string, any> | null;
|
|
353
|
-
fieldMapping?: Record<string, string>;
|
|
354
|
-
sections: SectionDefinition[];
|
|
355
|
-
fields?: FormFieldDefinition[];
|
|
356
|
-
endpointGlobal?: EndpointConfig;
|
|
357
|
-
endpointGenerator?: string;
|
|
358
|
-
ui?: any;
|
|
359
|
-
}
|
|
360
|
-
export type FormField = FormFieldDefinition;
|
|
361
|
-
export type FormAction = ActionDefinition;
|
|
362
|
-
export type WizardStepDefinition = WizardStep;
|
|
363
|
-
export type WizardTabDefinition = WizardStep;
|
|
364
|
-
export type FieldDefinition = FormFieldDefinition;
|
|
365
|
-
export type ButtonType = "BUTTON" | "SUBMIT" | "RESET";
|
|
366
|
-
export type FieldLogic = LogicRule;
|
|
367
|
-
export type FieldOverrides = Record<string, {
|
|
368
|
-
visible?: boolean;
|
|
369
|
-
disabled?: boolean;
|
|
370
|
-
required?: boolean;
|
|
371
|
-
}>;
|
|
372
|
-
export type ActionLabel = string | {
|
|
373
|
-
loading?: string;
|
|
374
|
-
edit?: string;
|
|
375
|
-
create?: string;
|
|
376
|
-
} | Array<{
|
|
377
|
-
name: string;
|
|
378
|
-
}>;
|
|
379
|
-
export type SectionType = "CARD" | "TABLE" | "FORM" | "BEFOREAFTER" | "WIZARD";
|
|
380
|
-
export interface SectionLogic {
|
|
381
|
-
visible?: boolean | string | Record<string, any>;
|
|
382
|
-
visibleRule?: string | Record<string, any>;
|
|
383
|
-
}
|
|
384
|
-
export type FormSectionProps = {
|
|
385
|
-
key: string;
|
|
386
|
-
titleID?: string;
|
|
387
|
-
titleEN?: string;
|
|
388
|
-
icon?: string | null;
|
|
389
|
-
layoutColumns?: ColumnSize;
|
|
390
|
-
endpoint?: any | null;
|
|
391
|
-
headers?: any | null;
|
|
392
|
-
pagination?: boolean;
|
|
393
|
-
fields: FieldDefinition[];
|
|
394
|
-
logic?: SectionLogic;
|
|
395
|
-
};
|
|
396
|
-
export type TableSectionProps = {
|
|
397
|
-
titleID?: string;
|
|
398
|
-
titleEN?: string;
|
|
399
|
-
descriptionID?: string;
|
|
400
|
-
descriptionEN?: string;
|
|
401
|
-
endpoint?: {
|
|
402
|
-
apiModule?: string | null;
|
|
403
|
-
apiAction?: string | null;
|
|
404
|
-
apiMethod?: string;
|
|
405
|
-
apiUrl?: string;
|
|
406
|
-
dataSource?: "api" | "socket";
|
|
407
|
-
socket?: string;
|
|
408
|
-
} | null;
|
|
409
|
-
enableDialog?: boolean;
|
|
410
|
-
pagination?: boolean;
|
|
411
|
-
action?: ActionDefinition[];
|
|
412
|
-
headers?: TableHeader[];
|
|
413
|
-
columns?: any[];
|
|
414
|
-
filter?: FieldDefinition[];
|
|
415
|
-
key?: string;
|
|
416
|
-
logic?: SectionLogic;
|
|
417
|
-
};
|
|
418
|
-
export type BeforeAfterSectionProps = {
|
|
419
|
-
key: string;
|
|
420
|
-
beforeKey?: string;
|
|
421
|
-
afterKey?: string;
|
|
422
|
-
pagination?: boolean;
|
|
423
|
-
logic?: SectionLogic;
|
|
424
|
-
};
|
|
425
|
-
export interface FormFieldProps {
|
|
426
|
-
labelID: string;
|
|
427
|
-
labelEN: string;
|
|
428
|
-
placeholderID: string;
|
|
429
|
-
placeholderEN: string;
|
|
430
|
-
valueType?: string | null;
|
|
431
|
-
required?: boolean | null;
|
|
432
|
-
minLength?: number | null;
|
|
433
|
-
maxLength?: number | null;
|
|
434
|
-
minValue?: number | null;
|
|
435
|
-
maxValue?: number | null;
|
|
436
|
-
regex?: string | null;
|
|
437
|
-
regexMessage?: string | null;
|
|
438
|
-
apiModule?: string | null;
|
|
439
|
-
apiAction?: string | null;
|
|
440
|
-
itemTitle?: string | null;
|
|
441
|
-
itemValue?: string | null;
|
|
442
|
-
returnObject?: boolean | null;
|
|
443
|
-
clearable?: boolean | null;
|
|
444
|
-
typeFile?: string | null;
|
|
445
|
-
sizeFile?: number | null;
|
|
446
|
-
endpoint?: {
|
|
447
|
-
apiModule?: string | null;
|
|
448
|
-
apiAction?: string | null;
|
|
449
|
-
apiMethod?: string;
|
|
450
|
-
apiUrl?: string;
|
|
451
|
-
dataSource?: "api" | "socket";
|
|
452
|
-
socket?: string;
|
|
453
|
-
keyParam?: string[];
|
|
454
|
-
} | null;
|
|
455
|
-
[key: string]: any;
|
|
456
|
-
}
|
|
457
|
-
export interface FormFieldLogic {
|
|
458
|
-
key?: string;
|
|
459
|
-
requiredRule?: string | Record<string, any>;
|
|
460
|
-
visibleRule?: string | Record<string, any>;
|
|
461
|
-
disabledRule?: string | Record<string, any>;
|
|
462
|
-
messageKey?: string;
|
|
463
|
-
message?: string;
|
|
464
|
-
}
|
|
465
|
-
export interface SectionHeader {
|
|
466
|
-
key: string;
|
|
467
|
-
labelID?: string;
|
|
468
|
-
labelEN?: string;
|
|
469
|
-
width?: string;
|
|
470
|
-
align?: "left" | "center" | "right";
|
|
471
|
-
sortable?: boolean;
|
|
472
|
-
custom?: {
|
|
473
|
-
type: "badge" | "action" | "text";
|
|
474
|
-
props?: any;
|
|
475
|
-
propsCustom?: any;
|
|
476
|
-
conditionBadge?: any[];
|
|
477
|
-
action?: SectionAction[];
|
|
478
|
-
actionCustom?: SectionAction[];
|
|
479
|
-
} | null;
|
|
480
|
-
}
|
|
481
|
-
export interface SectionAction {
|
|
482
|
-
key: string;
|
|
483
|
-
label?: ActionLabel;
|
|
484
|
-
labelID?: string;
|
|
485
|
-
labelEN?: string;
|
|
486
|
-
type?: "BUTTON" | "SUBMIT" | "RESET";
|
|
487
|
-
variant?: string;
|
|
488
|
-
bgColor?: string;
|
|
489
|
-
component?: string;
|
|
490
|
-
disabledWhen?: string;
|
|
491
|
-
permission?: string;
|
|
492
|
-
openDialog?: boolean;
|
|
493
|
-
field?: FormField[];
|
|
494
|
-
props?: Record<string, any>;
|
|
495
|
-
route?: string;
|
|
496
|
-
path?: string;
|
|
497
|
-
propsActionGlobal?: Record<string, any>;
|
|
498
|
-
fieldActionGlobal?: FormField[];
|
|
499
|
-
fieldActionCustom?: FormField[];
|
|
500
|
-
requireConfirm?: boolean;
|
|
501
|
-
propCustomMessage?: string;
|
|
502
|
-
model?: string;
|
|
503
|
-
propCustomCondition?: any[];
|
|
504
|
-
rounded?: string;
|
|
505
|
-
borderStyle?: string;
|
|
506
|
-
borderColor?: string;
|
|
507
|
-
}
|
|
508
|
-
export interface FormFieldBuilderProps {
|
|
509
|
-
labelID: string;
|
|
510
|
-
labelEN: string;
|
|
511
|
-
placeholderID: string;
|
|
512
|
-
placeholderEN: string;
|
|
513
|
-
valueType?: string | null;
|
|
514
|
-
required?: boolean | null;
|
|
515
|
-
minLength?: number | null;
|
|
516
|
-
maxLength?: number | null;
|
|
517
|
-
minValue?: number | null;
|
|
518
|
-
maxValue?: number | null;
|
|
519
|
-
regex?: string | null;
|
|
520
|
-
regexMessage?: string | null;
|
|
521
|
-
apiModule?: string | null;
|
|
522
|
-
apiAction?: string | null;
|
|
523
|
-
itemTitle?: string | null;
|
|
524
|
-
itemValue?: string | null;
|
|
525
|
-
returnObject?: boolean | null;
|
|
526
|
-
clearable?: boolean | null;
|
|
527
|
-
typeFile?: string | null;
|
|
528
|
-
sizeFile?: number | null;
|
|
529
|
-
endpoint?: {
|
|
530
|
-
apiModule?: string | null;
|
|
531
|
-
apiAction?: string | null;
|
|
532
|
-
apiMethod?: string;
|
|
533
|
-
apiUrl?: string;
|
|
534
|
-
dataSource?: "api" | "socket";
|
|
535
|
-
socket?: string;
|
|
536
|
-
keyParam?: string[];
|
|
537
|
-
} | null;
|
|
538
|
-
tabs?: WizardTabDefinition[];
|
|
539
|
-
[key: string]: any;
|
|
540
|
-
}
|
|
541
|
-
export interface FormFieldBuilderLogic {
|
|
542
|
-
key?: string;
|
|
543
|
-
requiredRule?: string | Record<string, any>;
|
|
544
|
-
visibleRule?: string | Record<string, any> | boolean;
|
|
545
|
-
disabledRule?: string | Record<string, any>;
|
|
546
|
-
optionsFilterRule?: Array<{
|
|
547
|
-
condition: Record<string, any>;
|
|
548
|
-
values: any[];
|
|
549
|
-
}>;
|
|
550
|
-
labelingRule?: Array<{
|
|
551
|
-
condition: Record<string, any>;
|
|
552
|
-
labelID: string;
|
|
553
|
-
labelEN: string;
|
|
554
|
-
placeholderID?: string;
|
|
555
|
-
placeholderEN?: string;
|
|
556
|
-
}>;
|
|
557
|
-
lengthRule?: Array<{
|
|
558
|
-
condition: Record<string, any>;
|
|
559
|
-
minLength?: number | null;
|
|
560
|
-
maxLength?: number | null;
|
|
561
|
-
}>;
|
|
562
|
-
messageKey?: string;
|
|
563
|
-
message?: string;
|
|
564
|
-
[key: string]: any;
|
|
565
|
-
}
|
|
566
|
-
export interface FormFieldBuilder {
|
|
567
|
-
id: string;
|
|
568
|
-
key: string;
|
|
569
|
-
component: string;
|
|
570
|
-
model: string;
|
|
571
|
-
seq: number;
|
|
572
|
-
column: ColumnSize;
|
|
573
|
-
props: FormFieldBuilderProps;
|
|
574
|
-
logic?: FormFieldBuilderLogic;
|
|
575
|
-
[key: string]: any;
|
|
576
|
-
}
|
|
577
|
-
export interface SectionHeaderBuilder {
|
|
578
|
-
key: string;
|
|
579
|
-
labelID?: string;
|
|
580
|
-
labelEN?: string;
|
|
581
|
-
width?: string;
|
|
582
|
-
align?: "left" | "center" | "right";
|
|
583
|
-
sortable?: boolean;
|
|
584
|
-
custom?: {
|
|
585
|
-
type: "badge" | "action" | "text";
|
|
586
|
-
props?: any;
|
|
587
|
-
action?: SectionActionBuilder[];
|
|
588
|
-
} | null;
|
|
589
|
-
}
|
|
590
|
-
export interface SectionActionBuilder {
|
|
591
|
-
id?: string;
|
|
592
|
-
key: string;
|
|
593
|
-
label?: string;
|
|
594
|
-
labelID?: string;
|
|
595
|
-
labelEN?: string;
|
|
596
|
-
type?: "BUTTON" | "SUBMIT" | "RESET" | string;
|
|
597
|
-
variant?: string;
|
|
598
|
-
bgColor?: string;
|
|
599
|
-
component?: string;
|
|
600
|
-
showOn?: "ALWAYS" | "CREATE" | "EDIT" | string;
|
|
601
|
-
disabledWhen?: string;
|
|
602
|
-
permission?: string;
|
|
603
|
-
openDialog?: boolean;
|
|
604
|
-
field?: FormField[];
|
|
605
|
-
props?: Record<string, any>;
|
|
606
|
-
route?: string;
|
|
607
|
-
path?: string;
|
|
608
|
-
propsActionGlobal?: {
|
|
609
|
-
key?: string;
|
|
610
|
-
labelEN?: string;
|
|
611
|
-
labelID?: string;
|
|
612
|
-
type?: string;
|
|
613
|
-
variant?: string;
|
|
614
|
-
bgColor?: string;
|
|
615
|
-
icon?: string;
|
|
616
|
-
endpointPropAction?: {
|
|
617
|
-
apiModule?: string | null;
|
|
618
|
-
apiAction?: string | null;
|
|
619
|
-
apiMethod?: string;
|
|
620
|
-
apiUrl?: string;
|
|
621
|
-
socket?: string;
|
|
622
|
-
keyParam?: string[];
|
|
623
|
-
model?: string;
|
|
624
|
-
};
|
|
625
|
-
[key: string]: any;
|
|
626
|
-
};
|
|
627
|
-
fieldActionGlobal?: FormField[];
|
|
628
|
-
fieldActionCustom?: FormField[];
|
|
629
|
-
requireConfirm?: boolean;
|
|
630
|
-
propCustomMessage?: any;
|
|
631
|
-
icon?: string;
|
|
632
|
-
rounded?: string;
|
|
633
|
-
borderStyle?: string;
|
|
634
|
-
}
|
|
635
|
-
export interface SectionBuilderProps {
|
|
636
|
-
key: string;
|
|
637
|
-
code?: string;
|
|
638
|
-
titleID?: string;
|
|
639
|
-
titleEN?: string;
|
|
640
|
-
icon?: string | null;
|
|
641
|
-
layoutColumns?: number | string;
|
|
642
|
-
descriptionID?: string;
|
|
643
|
-
descriptionEN?: string;
|
|
644
|
-
enableDialog?: boolean;
|
|
645
|
-
modelDatatable?: string;
|
|
646
|
-
endpoint?: {
|
|
647
|
-
apiModule?: string | null;
|
|
648
|
-
apiAction?: string | null;
|
|
649
|
-
apiMethod?: string;
|
|
650
|
-
apiUrl?: string;
|
|
651
|
-
dataSource?: "api" | "socket";
|
|
652
|
-
socket?: string;
|
|
653
|
-
keyParam?: string[];
|
|
654
|
-
} | null;
|
|
655
|
-
pagination?: boolean;
|
|
656
|
-
action?: SectionActionBuilder[];
|
|
657
|
-
headers?: SectionHeaderBuilder[];
|
|
658
|
-
filter?: FormFieldBuilder[];
|
|
659
|
-
fields?: FormFieldBuilder[];
|
|
660
|
-
propsWizard?: PropsWizard | WizardTabDefinition[];
|
|
661
|
-
logic?: SectionLogic;
|
|
662
|
-
}
|
|
663
|
-
export interface WizardActionProps {
|
|
664
|
-
key?: string;
|
|
665
|
-
icon?: string;
|
|
666
|
-
component?: string;
|
|
667
|
-
type?: string;
|
|
668
|
-
bgColor?: string;
|
|
669
|
-
labelID?: string;
|
|
670
|
-
labelEN?: string;
|
|
671
|
-
variant?: string;
|
|
672
|
-
keyRedirect?: boolean;
|
|
673
|
-
route?: string;
|
|
674
|
-
path?: string;
|
|
675
|
-
endpointPropAction?: {
|
|
676
|
-
apiMethod?: string;
|
|
677
|
-
apiUrl?: string;
|
|
678
|
-
socket?: string;
|
|
679
|
-
keyParam?: string[];
|
|
680
|
-
model?: string;
|
|
681
|
-
};
|
|
682
|
-
[key: string]: any;
|
|
683
|
-
}
|
|
684
|
-
export interface WizardActionFieldProps {
|
|
685
|
-
labelID?: string;
|
|
686
|
-
labelEN?: string;
|
|
687
|
-
placeholderID?: string;
|
|
688
|
-
placeholderEN?: string;
|
|
689
|
-
valueType?: string;
|
|
690
|
-
textCase?: string;
|
|
691
|
-
required?: boolean;
|
|
692
|
-
minLength?: number;
|
|
693
|
-
maxLength?: number;
|
|
694
|
-
minValue?: number;
|
|
695
|
-
maxValue?: number;
|
|
696
|
-
apiModule?: string;
|
|
697
|
-
apiAction?: string;
|
|
698
|
-
itemTitle?: string;
|
|
699
|
-
itemValue?: string;
|
|
700
|
-
returnObject?: boolean;
|
|
701
|
-
clearable?: boolean;
|
|
702
|
-
typeFile?: string;
|
|
703
|
-
sizeFile?: number;
|
|
704
|
-
disablePast?: boolean;
|
|
705
|
-
range?: boolean;
|
|
706
|
-
autoRangeDays?: number;
|
|
707
|
-
endpointComponent?: {
|
|
708
|
-
apiMethod?: string;
|
|
709
|
-
apiUrl?: string;
|
|
710
|
-
socket?: string;
|
|
711
|
-
keyParam?: string[];
|
|
712
|
-
};
|
|
713
|
-
[key: string]: any;
|
|
714
|
-
}
|
|
715
|
-
export interface WizardActionField {
|
|
716
|
-
key: string;
|
|
717
|
-
component: string;
|
|
718
|
-
model: string;
|
|
719
|
-
seq?: number;
|
|
720
|
-
isVisible?: boolean;
|
|
721
|
-
column?: string;
|
|
722
|
-
propsFieldGlobal?: WizardActionFieldProps;
|
|
723
|
-
}
|
|
724
|
-
export interface WizardActionConfirmMessage {
|
|
725
|
-
titleID?: string;
|
|
726
|
-
titleEN?: string;
|
|
727
|
-
messageID?: string;
|
|
728
|
-
messageEN?: string;
|
|
729
|
-
}
|
|
730
|
-
export interface WizardActionComponent {
|
|
731
|
-
permission?: string;
|
|
732
|
-
propsActionGlobal?: WizardActionProps;
|
|
733
|
-
openDialog?: boolean;
|
|
734
|
-
fieldActionGlobal?: WizardActionField[];
|
|
735
|
-
requireConfirm?: boolean;
|
|
736
|
-
propCustomMessage?: WizardActionConfirmMessage;
|
|
737
|
-
}
|
|
738
|
-
export interface WizardDataTableProps {
|
|
739
|
-
key?: string;
|
|
740
|
-
titleID?: string;
|
|
741
|
-
titleEN?: string;
|
|
742
|
-
layoutColumns?: ColumnSize;
|
|
743
|
-
modelDatatable?: string;
|
|
744
|
-
endpointTable?: {
|
|
745
|
-
apiMethod?: string;
|
|
746
|
-
apiUrl?: string;
|
|
747
|
-
socket?: string;
|
|
748
|
-
keyParam?: string[];
|
|
749
|
-
};
|
|
750
|
-
pagination?: boolean;
|
|
751
|
-
fields?: FormFieldBuilder[];
|
|
752
|
-
actionTableGlobal?: WizardActionComponent[];
|
|
753
|
-
headers?: any[];
|
|
754
|
-
filters?: any[];
|
|
755
|
-
}
|
|
756
|
-
export interface FormBuilderSection {
|
|
757
|
-
id: string;
|
|
758
|
-
type: string;
|
|
759
|
-
props: SectionBuilderProps;
|
|
760
|
-
propsForm?: PropsForm;
|
|
761
|
-
propsTable?: PropsTable;
|
|
762
|
-
propsWizard?: PropsWizard;
|
|
763
|
-
main?: boolean;
|
|
764
|
-
}
|
|
765
|
-
export interface FormBuilderSchema {
|
|
766
|
-
id: string;
|
|
767
|
-
idAutoLayout?: number | string;
|
|
768
|
-
idTokenCore?: string;
|
|
769
|
-
code: string;
|
|
770
|
-
titleID: string;
|
|
771
|
-
titleEN: string;
|
|
772
|
-
descriptionID: string;
|
|
773
|
-
descriptionEN: string;
|
|
774
|
-
sections: FormBuilderSection[];
|
|
775
|
-
actions?: SectionActionBuilder[] | null;
|
|
776
|
-
actionGlobal?: SectionActionBuilder[] | null;
|
|
777
|
-
actionGlobalProps?: ActionGlobalProps;
|
|
778
|
-
payload?: Record<string, any> | null;
|
|
779
|
-
endpointGenerator?: string;
|
|
780
|
-
endpointGlobal?: {
|
|
781
|
-
apiMethod?: string;
|
|
782
|
-
apiUrl?: string;
|
|
783
|
-
socket?: string;
|
|
784
|
-
keyParam?: string[] | string;
|
|
785
|
-
model?: string;
|
|
786
|
-
} | null;
|
|
787
|
-
fieldMapping?: Record<string, string>;
|
|
788
|
-
ui?: any;
|
|
789
|
-
}
|
|
790
|
-
export interface LogicConfig {
|
|
791
|
-
label: string;
|
|
792
|
-
value: string;
|
|
793
|
-
icon: any;
|
|
794
|
-
colorClass: string;
|
|
795
|
-
bgClass: string;
|
|
796
|
-
borderClass: string;
|
|
797
|
-
}
|