mdt-client 1.0.26 → 1.0.29
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/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +8618 -1103
- package/package.json +27 -26
- package/types/_core/scripts/Configuration.d.ts +6 -0
- package/types/_core/scripts/Router.d.ts +12 -0
- package/types/_core/scripts/common/Datasource.d.ts +9 -0
- package/types/_core/scripts/common/Field.d.ts +38 -0
- package/types/_core/scripts/common/MdtField.d.ts +9 -0
- package/types/_core/scripts/common/MdtObject.d.ts +7 -0
- package/types/_core/scripts/common/NavigationNode.d.ts +46 -0
- package/types/_core/scripts/common/Record.d.ts +12 -0
- package/types/_core/scripts/common/ServerMessagePrepare.d.ts +2 -0
- package/types/_core/scripts/common/ServerMessageProcess.d.ts +1 -0
- package/types/_core/scripts/common/Table.d.ts +34 -0
- package/types/_core/scripts/common/controls/ChangePassword.d.ts +23 -0
- package/types/_core/scripts/common/controls/ClientError.d.ts +9 -0
- package/types/_core/scripts/common/controls/Error.d.ts +13 -0
- package/types/_core/scripts/common/controls/ErrorDetails.d.ts +9 -0
- package/types/_core/scripts/common/controls/FieldPath.d.ts +56 -0
- package/types/_core/scripts/common/controls/Message.d.ts +18 -0
- package/types/_core/scripts/common/controls/ServerError.d.ts +12 -0
- package/types/_core/scripts/common/controls/ServerMessage.d.ts +30 -0
- package/types/_core/scripts/common/controls/commandMenu/commandInput.d.ts +22 -0
- package/types/_core/scripts/common/controls/commandMenu/commandItem.d.ts +15 -0
- package/types/_core/scripts/common/controls/commandMenu/commandMenu.d.ts +15 -0
- package/types/_core/scripts/common/controls/datepicker/datePickerInput.d.ts +45 -0
- package/types/_core/scripts/common/controls/datepicker/datepicker.d.ts +31 -0
- package/types/_core/scripts/common/controls/datepicker/field.d.ts +15 -0
- package/types/_core/scripts/common/controls/datepicker/locale.d.ts +2 -0
- package/types/_core/scripts/common/controls/datepicker/numberInput.d.ts +12 -0
- package/types/_core/scripts/common/controls/datepicker/timePicker.d.ts +28 -0
- package/types/_core/scripts/common/controls/datepicker/types.d.ts +33 -0
- package/types/_core/scripts/common/controls/datepicker/utils.d.ts +25 -0
- package/types/_core/scripts/common/controls/dragDrop.d.ts +13 -0
- package/types/_core/scripts/common/controls/time/timeFieldControl.d.ts +12 -0
- package/types/_core/scripts/common/controls/time/timeInput.d.ts +22 -0
- package/types/_core/scripts/common/form/CommonFormExtender.d.ts +15 -0
- package/types/_core/scripts/common/form/tabs/TabsFormExtender.d.ts +22 -0
- package/types/_core/scripts/common/list/ListExt.d.ts +67 -0
- package/types/_core/scripts/common/list/aggregation/Aggregation.d.ts +38 -0
- package/types/_core/scripts/common/list/cacheUpdateTime/CacheUpdateTimeListExtender.d.ts +22 -0
- package/types/_core/scripts/common/list/cellControlExtender/CellControlListExtender.d.ts +18 -0
- package/types/_core/scripts/common/list/cellControlExtender/controls/file.d.ts +6 -0
- package/types/_core/scripts/common/list/columnMenu/ColumnMenu.d.ts +8 -0
- package/types/_core/scripts/common/list/columnMenu/ColumnMenuListExtender.d.ts +26 -0
- package/types/_core/scripts/common/list/columnMenu/QuickFilter.d.ts +40 -0
- package/types/_core/scripts/common/list/columnMenu/ValuesFilter.d.ts +45 -0
- package/types/_core/scripts/common/list/dragDrop/DragDropListExtender.d.ts +44 -0
- package/types/_core/scripts/common/list/dragDrop/DragDropListTransformer.d.ts +6 -0
- package/types/_core/scripts/common/list/export/ExportListExtender.d.ts +40 -0
- package/types/_core/scripts/common/list/form/FormListExtender.d.ts +77 -0
- package/types/_core/scripts/common/list/form/openRecord/OpenRecordFormAdapter.d.ts +5 -0
- package/types/_core/scripts/common/list/form/openRecord/OpenRecordRowTransformer.d.ts +7 -0
- package/types/_core/scripts/common/list/gallery/GalleryListExtender.d.ts +38 -0
- package/types/_core/scripts/common/list/group/GroupListExtender.d.ts +26 -0
- package/types/_core/scripts/common/list/group/GroupListNamedSettings.d.ts +11 -0
- package/types/_core/scripts/common/list/group/GroupingHelper.d.ts +8 -0
- package/types/_core/scripts/common/list/group/GroupingListExtender.d.ts +104 -0
- package/types/_core/scripts/common/list/group/GroupingRowTransformer.d.ts +10 -0
- package/types/_core/scripts/common/list/hierarchy/HierarchyTransformerCtrl.d.ts +4 -0
- package/types/_core/scripts/common/list/hierarchy/LoadMoreRowTransformer.d.ts +7 -0
- package/types/_core/scripts/common/list/hierarchy/hierarchyListExtender.d.ts +69 -0
- package/types/_core/scripts/common/list/historyType/HistoryTypeListExtender.d.ts +18 -0
- package/types/_core/scripts/common/list/labelStyle/LabelStyleHelper.d.ts +12 -0
- package/types/_core/scripts/common/list/labelStyle/LabelStyleListExtender.d.ts +27 -0
- package/types/_core/scripts/common/list/labelStyle/LabelStyleSchema.d.ts +6 -0
- package/types/_core/scripts/common/list/legend/LegendListExtender.d.ts +16 -0
- package/types/_core/scripts/common/list/listView/ColumnListCtrl.d.ts +12 -0
- package/types/_core/scripts/common/list/listView/ListExtender.d.ts +30 -0
- package/types/_core/scripts/common/list/listView/ListViewSettings.d.ts +12 -0
- package/types/_core/scripts/common/list/namedFilter/BaseListExtender.d.ts +13 -0
- package/types/_core/scripts/common/list/namedFilter/InMemoryListExtender.d.ts +37 -0
- package/types/_core/scripts/common/list/namedFilter/ListExtender.d.ts +25 -0
- package/types/_core/scripts/common/list/namedSettings/Modal.d.ts +19 -0
- package/types/_core/scripts/common/list/namedSettings/NamedSettingsDataManager.d.ts +9 -0
- package/types/_core/scripts/common/list/namedSettings/NamedSettingsManager.d.ts +59 -0
- package/types/_core/scripts/common/list/namedSettings/NamedSettingsRecord.d.ts +18 -0
- package/types/_core/scripts/common/list/reorder/ReorderListExtender.d.ts +19 -0
- package/types/_core/scripts/common/list/rowAction/RowActionColumn.d.ts +5 -0
- package/types/_core/scripts/common/list/select/SelectListColumn.d.ts +5 -0
- package/types/_core/scripts/common/list/select/SelectListExtender.d.ts +46 -0
- package/types/_core/scripts/common/list/styleField/StyleFieldListExtender.d.ts +14 -0
- package/types/_core/scripts/common/list/styleField/StyleTransformers.d.ts +8 -0
- package/types/_core/scripts/common/list/toolbar/toolbar.d.ts +37 -0
- package/types/_core/scripts/common/list/toolbarFilters/SearchableCheckboxList.d.ts +29 -0
- package/types/_core/scripts/common/list/toolbarFilters/ToolbarFiltersListExtender.d.ts +31 -0
- package/types/_core/scripts/common/list/virtualScroll/VirtualScrollListExtender.d.ts +27 -0
- package/types/_core/scripts/common/module.d.ts +1 -0
- package/types/_core/scripts/components/baseFormControls/boolean/checkbox/checkbox.d.ts +10 -0
- package/types/_core/scripts/components/baseFormControls/boolean/checkboxFieldControl/checkboxFieldControl.d.ts +4 -0
- package/types/_core/scripts/components/baseFormControls/boolean/labeledCheckbox/labeledCheckbox.d.ts +6 -0
- package/types/_core/scripts/components/baseFormControls/input/inputView.d.ts +22 -0
- package/types/_core/scripts/components/baseFormControls/input/unstyledInputView.d.ts +3 -0
- package/types/_core/scripts/components/baseFormControls/picker/picker.d.ts +15 -0
- package/types/_core/scripts/components/baseFormControls/select/select.d.ts +24 -0
- package/types/_core/scripts/components/baseFormControls/textarea/textarea.d.ts +16 -0
- package/types/_core/scripts/components/baseFormControls/wordWrap/wordWrap.d.ts +14 -0
- package/types/_core/scripts/components/button/baseButton/button.d.ts +15 -0
- package/types/_core/scripts/components/button/dropdownButton/dropdownButton.d.ts +8 -0
- package/types/_core/scripts/components/button/dropdownButton/dropdownButtonStateController.d.ts +14 -0
- package/types/_core/scripts/components/buttonGroup/buttonGroup.d.ts +11 -0
- package/types/_core/scripts/components/cardChart/cardChart.d.ts +27 -0
- package/types/_core/scripts/components/cardChart/cardChartChange.d.ts +11 -0
- package/types/_core/scripts/components/cardChart/cardChartCtrl.d.ts +10 -0
- package/types/_core/scripts/components/cardChart/services/cardFontResizer.d.ts +21 -0
- package/types/_core/scripts/components/cardChart/services/cardLineClampService.d.ts +6 -0
- package/types/_core/scripts/components/cardChart/services/cardValueFontResizer.d.ts +11 -0
- package/types/_core/scripts/components/dropdown/dropdown.d.ts +12 -0
- package/types/_core/scripts/components/dropdown/menu/dropdownMenu.d.ts +7 -0
- package/types/_core/scripts/components/dropdown/menu/group/dropdownGroup.d.ts +9 -0
- package/types/_core/scripts/components/dropdown/menu/item/dropdownInputItem.d.ts +4 -0
- package/types/_core/scripts/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -0
- package/types/_core/scripts/components/dropdown/menu/item/dropdownItemWrap.d.ts +7 -0
- package/types/_core/scripts/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +19 -0
- package/types/_core/scripts/components/dropdown/menuActionItem/dropdownMenuItem.d.ts +6 -0
- package/types/_core/scripts/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +28 -0
- package/types/_core/scripts/components/elements/clearActionView.d.ts +7 -0
- package/types/_core/scripts/components/elements/clearIconView.d.ts +6 -0
- package/types/_core/scripts/components/form/fieldView/fieldView.d.ts +14 -0
- package/types/_core/scripts/components/form/finalFormAdapter/ControlStore.d.ts +13 -0
- package/types/_core/scripts/components/form/finalFormAdapter/FinalForm.d.ts +23 -0
- package/types/_core/scripts/components/form/finalFormAdapter/IFormLayoutRenderer.d.ts +10 -0
- package/types/_core/scripts/components/form/header/headerView.d.ts +14 -0
- package/types/_core/scripts/components/form/label/label.d.ts +22 -0
- package/types/_core/scripts/components/form/layout/json/FinalFormJsonRenderer.d.ts +60 -0
- package/types/_core/scripts/components/form/layout/json/JsonFormView.d.ts +46 -0
- package/types/_core/scripts/components/form/layout/json/JsonUtils.d.ts +5 -0
- package/types/_core/scripts/components/form/layout/json/fullWidthFormComponent/fullWidthFormComponent.d.ts +8 -0
- package/types/_core/scripts/components/form/layout/json/monacoJsonControl.d.ts +5 -0
- package/types/_core/scripts/components/form/mdtFieldControl/JsonFormFieldControl.d.ts +23 -0
- package/types/_core/scripts/components/hotkey/hotkey.d.ts +7 -0
- package/types/_core/scripts/components/icon/icon.d.ts +4 -0
- package/types/_core/scripts/components/icon/iconOptions.d.ts +17 -0
- package/types/_core/scripts/components/iconButton/iconButton.d.ts +10 -0
- package/types/_core/scripts/components/iframe/iframe.d.ts +10 -0
- package/types/_core/scripts/components/jsonFormat/jsonFormatView.d.ts +24 -0
- package/types/_core/scripts/components/labelStyleBase/labelStyleBase.d.ts +12 -0
- package/types/_core/scripts/components/panel/panelView.d.ts +10 -0
- package/types/{components → _core/scripts/components}/popover/IPopoverBase.d.ts +6 -3
- package/types/_core/scripts/components/popover/PopoverBase.d.ts +23 -0
- package/types/_core/scripts/components/processFormBlock/ProcessFormBlockOptions.d.ts +18 -0
- package/types/_core/scripts/components/processFormBlock/processFormBlock.d.ts +4 -0
- package/types/_core/scripts/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -0
- package/types/_core/scripts/components/processPrincipalsList/processPrincipalsList.d.ts +8 -0
- package/types/_core/scripts/components/progressBar/progressBar.d.ts +10 -0
- package/types/_core/scripts/components/progressBar/progressBarCtrl.d.ts +8 -0
- package/types/_core/scripts/components/progressBar/progressBarStateController.d.ts +9 -0
- package/types/_core/scripts/components/resizablePanels/panelSizeController/insetAdapter/insetAdapter.d.ts +12 -0
- package/types/_core/scripts/components/resizablePanels/panelSizeController/insetAdapter/insetAdapterService.d.ts +14 -0
- package/types/_core/scripts/components/resizablePanels/panelSizeController/panelSizeController.d.ts +31 -0
- package/types/_core/scripts/components/resizablePanels/panelSizeController/panelsDragController.d.ts +19 -0
- package/types/_core/scripts/components/resizablePanels/panelSizeController/resizeController.d.ts +25 -0
- package/types/_core/scripts/components/resizablePanels/panelTitle/panelTitle.d.ts +14 -0
- package/types/_core/scripts/components/resizablePanels/panelToolbar/panelToolbar.d.ts +6 -0
- package/types/_core/scripts/components/resizablePanels/resizablePanel/resizablePanel.d.ts +23 -0
- package/types/_core/scripts/components/resizablePanels/resizablePanels.d.ts +12 -0
- package/types/_core/scripts/components/resizablePanels/resizablePanelsController.d.ts +14 -0
- package/types/_core/scripts/components/resizablePanels/resizablePanelsFocusController.d.ts +16 -0
- package/types/_core/scripts/components/resizablePanels/resizer/panelResizer.d.ts +11 -0
- package/types/_core/scripts/components/resizablePanels/resizer/resizerPositionController.d.ts +6 -0
- package/types/_core/scripts/components/skeleton/Skeleton.d.ts +14 -0
- package/types/_core/scripts/components/textWithIcon/textWithIcon.d.ts +17 -0
- package/types/_core/scripts/components/toggleablePanels/toggleablePanels.d.ts +34 -0
- package/types/_core/scripts/components/toggleablePanels/toggleablePanelsCtrl.d.ts +20 -0
- package/types/_core/scripts/components/tooltip/controllers/globalEventHandler.d.ts +19 -0
- package/types/_core/scripts/components/tooltip/controllers/tooltipGenerator.d.ts +11 -0
- package/types/_core/scripts/components/tooltip/controllers/tooltipPositionController.d.ts +31 -0
- package/types/_core/scripts/components/tooltip/controllers/tooltipTarget.d.ts +10 -0
- package/types/_core/scripts/components/tooltip/tooltip.d.ts +9 -0
- package/types/_core/scripts/components/topNavButton/topNavButton.d.ts +6 -0
- package/types/_core/scripts/data/active/ActivationCellTransformer.d.ts +5 -0
- package/types/_core/scripts/data/active/ActivationFormAdapter.d.ts +12 -0
- package/types/_core/scripts/data/active/ActivationListAdapter.d.ts +10 -0
- package/types/_core/scripts/data/active/ActivationManager.d.ts +8 -0
- package/types/_core/scripts/data/active/ActivationRowTransformer.d.ts +3 -0
- package/types/_core/scripts/data/active/ActivationSchema.d.ts +5 -0
- package/types/_core/scripts/data/active/FilterItems.d.ts +18 -0
- package/types/_core/scripts/data/fieldFilter/ToolbarFieldFilterListExtender.d.ts +20 -0
- package/types/_core/scripts/datasources/ApiDatasource.d.ts +20 -0
- package/types/_core/scripts/datasources/FetchResult.d.ts +5 -0
- package/types/_core/scripts/datasources/MemoryDatasource.d.ts +26 -0
- package/types/_core/scripts/datasources/TabularDatasource/TabularDatasource.d.ts +16 -0
- package/types/_core/scripts/datasources/TabularDatasource/TabularDatasourceDataService.d.ts +17 -0
- package/types/_core/scripts/errorHandling.d.ts +35 -0
- package/types/_core/scripts/helpers/FieldValueFormatter.d.ts +1 -0
- package/types/_core/scripts/helpers/IUi.d.ts +1 -0
- package/types/_core/scripts/helpers/PositionCalculator.d.ts +59 -0
- package/types/_core/scripts/helpers/debug.d.ts +6 -0
- package/types/_core/scripts/helpers/extend.d.ts +66 -0
- package/types/_core/scripts/helpers/formatOptions.d.ts +6 -0
- package/types/_core/scripts/helpers/formattedText.d.ts +9 -0
- package/types/_core/scripts/helpers/notification/ConsoleNotifier.d.ts +4 -0
- package/types/_core/scripts/helpers/notification/PopupNotifier.d.ts +10 -0
- package/types/_core/scripts/helpers/o2m.d.ts +45 -0
- package/types/_core/scripts/helpers/polyfills.d.ts +16 -0
- package/types/_core/scripts/helpers/removeMarkdown.d.ts +1 -0
- package/types/_core/scripts/helpers/textScript/createScript.d.ts +1 -0
- package/types/_core/scripts/helpers/textScript/runScript.d.ts +8 -0
- package/types/_core/scripts/helpers/types.d.ts +40 -0
- package/types/_core/scripts/helpers/ui/animate.d.ts +24 -0
- package/types/_core/scripts/helpers/ui/buttonTemplates.d.ts +21 -0
- package/types/_core/scripts/helpers/ui/closable.d.ts +2 -0
- package/types/_core/scripts/helpers/ui/commandButton.d.ts +10 -0
- package/types/_core/scripts/helpers/ui/confirmModal.d.ts +2 -0
- package/types/_core/scripts/helpers/ui/dom/getBrowserPrefix.d.ts +9 -0
- package/types/_core/scripts/helpers/ui/dom.d.ts +54 -0
- package/types/_core/scripts/helpers/ui/el.d.ts +112 -0
- package/types/_core/scripts/helpers/ui/expandDropdown.d.ts +3 -0
- package/types/_core/scripts/helpers/ui/hacks.d.ts +7 -0
- package/types/_core/scripts/helpers/ui/labelStyle/labelStyle.d.ts +16 -0
- package/types/_core/scripts/helpers/ui/link/link.d.ts +8 -0
- package/types/_core/scripts/helpers/ui/paletteHelper.d.ts +5 -0
- package/types/_core/scripts/helpers/ui/setTooltip.d.ts +12 -0
- package/types/_core/scripts/helpers/ui/show.d.ts +68 -0
- package/types/_core/scripts/helpers/ui/sortable.d.ts +19 -0
- package/types/_core/scripts/helpers/ui/tests.d.ts +9 -0
- package/types/_core/scripts/helpers/ui/ui_m.d.ts +17 -0
- package/types/_core/scripts/helpers/urlHelper.d.ts +9 -0
- package/types/_core/scripts/helpers/utils/CacheManager.d.ts +6 -0
- package/types/_core/scripts/helpers/utils/arraySortByOrder.d.ts +5 -0
- package/types/_core/scripts/helpers/utils/classNames.d.ts +2 -0
- package/types/_core/scripts/helpers/utils/deepEqual.d.ts +1 -0
- package/types/_core/scripts/helpers/utils/deepPropHandle.d.ts +1 -0
- package/types/_core/scripts/helpers/utils/errorHandling.d.ts +1 -0
- package/types/_core/scripts/helpers/utils/isPromisable.d.ts +2 -0
- package/types/_core/scripts/helpers/utils/json.d.ts +1 -0
- package/types/_core/scripts/helpers/utils/object.d.ts +1 -0
- package/types/_core/scripts/helpers/utils/stringifyControlSize.d.ts +3 -0
- package/types/_core/scripts/helpers/utils/v.d.ts +2 -0
- package/types/_core/scripts/helpers/utils.d.ts +146 -0
- package/types/_core/scripts/helpers/view.d.ts +8 -0
- package/types/_core/scripts/helpers/viewer.d.ts +5 -0
- package/types/_core/scripts/helpers/zone/IZone.d.ts +7 -0
- package/types/_core/scripts/helpers/zone/Zone.d.ts +14 -0
- package/types/_core/scripts/helpers/zone/Zones.d.ts +6 -0
- package/types/_core/scripts/messages.d.ts +15 -0
- package/types/_core/scripts/security/PermissionLevel.d.ts +32 -0
- package/types/_core/scripts/security/User.d.ts +15 -0
- package/types/_core/scripts/services/AppCommandManager.d.ts +5 -0
- package/types/_core/scripts/services/Auth.d.ts +19 -0
- package/types/_core/scripts/services/CommandManager.d.ts +50 -0
- package/types/_core/scripts/services/CommandManagerCommands.d.ts +4 -0
- package/types/_core/scripts/services/DebugManagerCommands.d.ts +3 -0
- package/types/_core/scripts/services/Evaluator.d.ts +654 -0
- package/types/_core/scripts/services/Extendable.d.ts +15 -0
- package/types/_core/scripts/services/Filter.d.ts +35 -0
- package/types/_core/scripts/services/FormManager.d.ts +27 -0
- package/types/_core/scripts/services/FormManagerCommands.d.ts +3 -0
- package/types/_core/scripts/services/FormService.d.ts +7 -0
- package/types/_core/scripts/services/FuzzysortManager.d.ts +7 -0
- package/types/_core/scripts/services/GlobalVarManager.d.ts +17 -0
- package/types/_core/scripts/services/HotkeyManager.d.ts +4 -0
- package/types/_core/scripts/services/IFilter.d.ts +77 -0
- package/types/_core/scripts/services/LayoutRecordManager.d.ts +6 -0
- package/types/_core/scripts/services/ListManagerCommands.d.ts +3 -0
- package/types/_core/scripts/services/ListService.d.ts +21 -0
- package/types/_core/scripts/services/ModuleData.d.ts +8 -0
- package/types/_core/scripts/services/ModuleService.d.ts +12 -0
- package/types/_core/scripts/services/NavigationControlManager.d.ts +61 -0
- package/types/_core/scripts/services/NavigationManager.d.ts +60 -0
- package/types/_core/scripts/services/NavigationManagerCommands.d.ts +5 -0
- package/types/_core/scripts/services/NotificationService.d.ts +22 -0
- package/types/_core/scripts/services/OneToManyRecordManager.d.ts +8 -0
- package/types/_core/scripts/services/QuerySelectService.d.ts +7 -0
- package/types/_core/scripts/services/RecordManager.d.ts +92 -0
- package/types/_core/scripts/services/SchemaManager.d.ts +114 -0
- package/types/_core/scripts/services/SchemaManagerCommands.d.ts +3 -0
- package/types/_core/scripts/services/SearchByDeafultFieldHelper.d.ts +12 -0
- package/types/_core/scripts/services/SecurityManager.d.ts +32 -0
- package/types/_core/scripts/services/SettingsManager.d.ts +12 -0
- package/types/_core/scripts/services/SortingManager.d.ts +13 -0
- package/types/_core/scripts/services/TableRefresher/TableRefresher.d.ts +15 -0
- package/types/_core/scripts/services/TableRefresher/TableRefresherFormAdapter.d.ts +9 -0
- package/types/_core/scripts/services/TableRefresher/TableRefresherListAdapter.d.ts +9 -0
- package/types/_core/scripts/services/Validator.d.ts +10 -0
- package/types/_core/scripts/services/api/ApiAccessor.d.ts +11 -0
- package/types/_core/scripts/services/api/ApiRequestOptions.d.ts +27 -0
- package/types/_core/scripts/services/api/ApiUrlHelper.d.ts +18 -0
- package/types/_core/scripts/services/api/BaseQuery.d.ts +15 -0
- package/types/_core/scripts/services/api/IRequestResult.d.ts +68 -0
- package/types/_core/scripts/services/api/Query.d.ts +67 -0
- package/types/_core/scripts/services/api/QueryResultHandler.d.ts +27 -0
- package/types/_core/scripts/services/browserSupport/block.d.ts +11 -0
- package/types/_core/scripts/services/browserSupport/service.d.ts +35 -0
- package/types/_core/scripts/services/commandsContext/FormCommandContextManager.d.ts +5 -0
- package/types/_core/scripts/services/commandsContext/ListCommandContextManager.d.ts +5 -0
- package/types/_core/scripts/services/customModules/customModulesManager.d.ts +18 -0
- package/types/_core/scripts/services/customModules/customModulesSettings.d.ts +3 -0
- package/types/_core/scripts/services/customModules/facades/AuthFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/Form/FieldControlFacade.d.ts +19 -0
- package/types/_core/scripts/services/customModules/facades/Form/FieldControlManagerFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/Form/FormControlFacade.d.ts +34 -0
- package/types/_core/scripts/services/customModules/facades/Form/FormServiceFacade.d.ts +20 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +36 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFormControlFacade.d.ts +61 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFormFacade.d.ts +60 -0
- package/types/_core/scripts/services/customModules/facades/IAuthFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/IMdtFacade.d.ts +58 -0
- package/types/_core/scripts/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/IPageFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/List/IListCellFacade.d.ts +8 -0
- package/types/_core/scripts/services/customModules/facades/List/IListComponentFacade.d.ts +10 -0
- package/types/_core/scripts/services/customModules/facades/List/IListControlFacade.d.ts +41 -0
- package/types/_core/scripts/services/customModules/facades/List/IListRowFacade.d.ts +2 -0
- package/types/_core/scripts/services/customModules/facades/List/IListServiceFacade.d.ts +24 -0
- package/types/_core/scripts/services/customModules/facades/List/ListCellFacade.d.ts +21 -0
- package/types/_core/scripts/services/customModules/facades/List/ListControlFacade.d.ts +28 -0
- package/types/_core/scripts/services/customModules/facades/List/ListRowFacade.d.ts +14 -0
- package/types/_core/scripts/services/customModules/facades/List/ListServiceFacade.d.ts +18 -0
- package/types/_core/scripts/services/customModules/facades/ModuleRegistryFacade.d.ts +4 -0
- package/types/_core/scripts/services/customModules/facades/PageFacade.d.ts +8 -0
- package/types/_core/scripts/services/customModules/facades/facadeUtils.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/mdtFacade.d.ts +46 -0
- package/types/_core/scripts/services/customModules/facades/schema/FieldFacade.d.ts +11 -0
- package/types/_core/scripts/services/customModules/facades/schema/IFieldFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/schema/IObjectFacade.d.ts +9 -0
- package/types/_core/scripts/services/customModules/facades/schema/ISchemaFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/schema/ObjectFacade.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/schema/SchemaFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/services/INavigationFacade.d.ts +43 -0
- package/types/_core/scripts/services/customModules/facades/services/ISecurityFacade.d.ts +19 -0
- package/types/_core/scripts/services/customModules/facades/services/NavigationFacade.d.ts +10 -0
- package/types/_core/scripts/services/customModules/facades/services/SecurityFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/utils/ApiFacade.d.ts +15 -0
- package/types/_core/scripts/services/customModules/facades/utils/DropdownFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/utils/IApiFacade.d.ts +43 -0
- package/types/_core/scripts/services/customModules/facades/utils/IDropdownFacade.d.ts +4 -0
- package/types/_core/scripts/services/customModules/facades/utils/IUiComponentsFacade.d.ts +42 -0
- package/types/_core/scripts/services/customModules/facades/utils/IUiFacade.d.ts +69 -0
- package/types/_core/scripts/services/customModules/facades/utils/IUtilsFacade.d.ts +6 -0
- package/types/_core/scripts/services/customModules/facades/utils/ImUtilsFacade.d.ts +25 -0
- package/types/_core/scripts/services/customModules/facades/utils/UiComponentsFacade.d.ts +19 -0
- package/types/_core/scripts/services/customModules/facades/utils/UiFacade.d.ts +12 -0
- package/types/_core/scripts/services/customModules/facades/utils/UtilsFacade.d.ts +2 -0
- package/types/_core/scripts/services/customModules/facades/utils/mUtilsFacade.d.ts +2 -0
- package/types/_core/scripts/services/dropdown/DropdownManager.d.ts +7 -0
- package/types/_core/scripts/services/dropdown/DropdownMenu.d.ts +13 -0
- package/types/_core/scripts/services/dropdown/IDropDownManager.d.ts +5 -0
- package/types/_core/scripts/services/dropdown/IDropDownMenu.d.ts +26 -0
- package/types/_core/scripts/services/dropdown/createDropdown.d.ts +3 -0
- package/types/_core/scripts/services/jsonSchema/JsonSchemaManager.d.ts +17 -0
- package/types/_core/scripts/services/jsonSchema/JsonSchemaValidator.d.ts +11 -0
- package/types/_core/scripts/services/objectRules/ObjectRuleTypes.d.ts +32 -0
- package/types/_core/scripts/services/objectRules/ObjectRules.d.ts +27 -0
- package/types/_core/scripts/services/objectRules/ObjectRulesApiDatasource.d.ts +6 -0
- package/types/_core/scripts/services/objectRules/ObjectRulesDataPurifier.d.ts +4 -0
- package/types/_core/scripts/services/objectRules/ObjectRulesEditorSetup.d.ts +2 -0
- package/types/_core/scripts/services/objectRules/ObjectRulesFormAdapter.d.ts +28 -0
- package/types/_core/scripts/services/objectRules/ObjectRulesScriptProvider.d.ts +24 -0
- package/types/_core/scripts/services/objectRules/ObjectRulesService.d.ts +19 -0
- package/types/_core/scripts/services/objectRules/ObjectRulesValidator.d.ts +25 -0
- package/types/_core/scripts/services/objectRules/ui/ObjectRuleModal.d.ts +50 -0
- package/types/_core/scripts/services/schema/IExp.schema.d.ts +2 -0
- package/types/_core/scripts/setupMainForms.d.ts +1 -0
- package/types/_core/scripts/views/Animator.d.ts +19 -0
- package/types/_core/scripts/views/CenteredMessage.d.ts +5 -0
- package/types/_core/scripts/views/CustomCss.d.ts +13 -0
- package/types/_core/scripts/views/FramePage.d.ts +6 -0
- package/types/_core/scripts/views/containers/ModalSizeManager.d.ts +12 -0
- package/types/_core/scripts/views/containers/containerMixin.d.ts +79 -0
- package/types/_core/scripts/views/containers/modal.d.ts +67 -0
- package/types/_core/scripts/views/containers/popover.d.ts +24 -0
- package/types/_core/scripts/views/containers/side.d.ts +16 -0
- package/types/_core/scripts/views/controls/Alert.d.ts +18 -0
- package/types/_core/scripts/views/controls/ContextMenu.d.ts +24 -0
- package/types/_core/scripts/views/controls/Control.d.ts +7 -0
- package/types/_core/scripts/views/controls/DropdownMenu.d.ts +86 -0
- package/types/_core/scripts/views/controls/DropdownMenuService.d.ts +5 -0
- package/types/_core/scripts/views/controls/JsonViewControl.d.ts +16 -0
- package/types/_core/scripts/views/controls/JsonViewFieldControl.d.ts +11 -0
- package/types/_core/scripts/views/controls/MessageText.d.ts +4 -0
- package/types/_core/scripts/views/controls/NotifiationsCtrl.d.ts +8 -0
- package/types/_core/scripts/views/controls/ObjectFormatControl.d.ts +5 -0
- package/types/_core/scripts/views/controls/Reorder.d.ts +25 -0
- package/types/_core/scripts/views/controls/ReorderView.d.ts +22 -0
- package/types/_core/scripts/views/controls/Resizer.d.ts +32 -0
- package/types/_core/scripts/views/controls/ResizerView.d.ts +8 -0
- package/types/_core/scripts/views/controls/SplitBlock.d.ts +21 -0
- package/types/_core/scripts/views/controls/SplitBlockSection.d.ts +27 -0
- package/types/_core/scripts/views/controls/UserProfile.d.ts +19 -0
- package/types/_core/scripts/views/controls/panels/Panel.d.ts +59 -0
- package/types/_core/scripts/views/controls/panels/PanelContainer.d.ts +34 -0
- package/types/_core/scripts/views/form/ControlManager.d.ts +52 -0
- package/types/_core/scripts/views/form/FormEvaluator.d.ts +25 -0
- package/types/_core/scripts/views/form/FormState.d.ts +34 -0
- package/types/_core/scripts/views/form/Layout.d.ts +104 -0
- package/types/_core/scripts/views/form/LayoutTypes.d.ts +390 -0
- package/types/_core/scripts/views/form/button.d.ts +9 -0
- package/types/_core/scripts/views/form/control.d.ts +7 -0
- package/types/_core/scripts/views/form/controls/OneToOneFormField.d.ts +10 -0
- package/types/_core/scripts/views/form/controls/bitMask.d.ts +11 -0
- package/types/_core/scripts/views/form/controls/boolean-group.d.ts +7 -0
- package/types/_core/scripts/views/form/controls/boolean.d.ts +16 -0
- package/types/_core/scripts/views/form/controls/changeable.d.ts +17 -0
- package/types/_core/scripts/views/form/controls/code/adapters/base.d.ts +6 -0
- package/types/_core/scripts/views/form/controls/code/adapters/markdown.d.ts +10 -0
- package/types/_core/scripts/views/form/controls/code/code.d.ts +31 -0
- package/types/_core/scripts/views/form/controls/code/codeText.d.ts +35 -0
- package/types/_core/scripts/views/form/controls/code/preview/markdown.d.ts +14 -0
- package/types/_core/scripts/views/form/controls/commonControl/ICommonControl.d.ts +23 -0
- package/types/_core/scripts/views/form/controls/commonControl/commonControl.d.ts +5 -0
- package/types/_core/scripts/views/form/controls/commonControl/mdtCommonControl.d.ts +3 -0
- package/types/_core/scripts/views/form/controls/commonControl/removeInputStyle.d.ts +3 -0
- package/types/_core/scripts/views/form/controls/date.d.ts +28 -0
- package/types/_core/scripts/views/form/controls/dateLabel.d.ts +11 -0
- package/types/_core/scripts/views/form/controls/dynamicFk.d.ts +38 -0
- package/types/_core/scripts/views/form/controls/fieldPathField.d.ts +19 -0
- package/types/_core/scripts/views/form/controls/fileupload/AttachmentFormExtender.d.ts +5 -0
- package/types/_core/scripts/views/form/controls/fileupload/file.d.ts +68 -0
- package/types/_core/scripts/views/form/controls/fileupload/fileuploadService.d.ts +3 -0
- package/types/_core/scripts/views/form/controls/fileupload/multifile.d.ts +45 -0
- package/types/_core/scripts/views/form/controls/fileupload/thumblist.d.ts +35 -0
- package/types/_core/scripts/views/form/controls/filter/filterFieldModal.d.ts +15 -0
- package/types/_core/scripts/views/form/controls/filter/filterSettings.d.ts +33 -0
- package/types/_core/scripts/views/form/controls/filter.d.ts +15 -0
- package/types/_core/scripts/views/form/controls/formField.d.ts +58 -0
- package/types/_core/scripts/views/form/controls/geography.d.ts +8 -0
- package/types/_core/scripts/views/form/controls/html.d.ts +27 -0
- package/types/_core/scripts/views/form/controls/iconPicker.d.ts +36 -0
- package/types/_core/scripts/views/form/controls/list.d.ts +18 -0
- package/types/_core/scripts/views/form/controls/listGrid.d.ts +22 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +18 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/MonacoFieldControlOptions.schema.d.ts +5 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +69 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/jsonSchemas/schemaIndex.d.ts +1 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/monacoCode.d.ts +20 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/monacoField.d.ts +18 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/monacoLibService.d.ts +9 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/monacoManager.d.ts +23 -0
- package/types/_core/scripts/views/form/controls/notFound.d.ts +6 -0
- package/types/_core/scripts/views/form/controls/picker/gridPicker.d.ts +16 -0
- package/types/_core/scripts/views/form/controls/picker/multiPicker.d.ts +28 -0
- package/types/_core/scripts/views/form/controls/picker/multiPickerField.d.ts +39 -0
- package/types/_core/scripts/views/form/controls/picker/picker.d.ts +72 -0
- package/types/_core/scripts/views/form/controls/picker/pickerInput.d.ts +43 -0
- package/types/_core/scripts/views/form/controls/query/BuilderFieldControlBase.d.ts +23 -0
- package/types/_core/scripts/views/form/controls/query/ControlsList.d.ts +20 -0
- package/types/_core/scripts/views/form/controls/query/QueryBuilderControl.d.ts +15 -0
- package/types/_core/scripts/views/form/controls/query/SelectBuilderControl.d.ts +32 -0
- package/types/_core/scripts/views/form/controls/query/UpdateBuilderControl.d.ts +12 -0
- package/types/_core/scripts/views/form/controls/radio.d.ts +24 -0
- package/types/_core/scripts/views/form/controls/radioPicker.d.ts +10 -0
- package/types/_core/scripts/views/form/controls/secretFieldCtrl.d.ts +12 -0
- package/types/_core/scripts/views/form/controls/select.d.ts +53 -0
- package/types/_core/scripts/views/form/controls/sortingList.d.ts +13 -0
- package/types/_core/scripts/views/form/controls/text.d.ts +30 -0
- package/types/_core/scripts/views/form/controls/textViewPreparator.d.ts +27 -0
- package/types/_core/scripts/views/form/controls/toggleablePanels/codeEditor/getCodeEditor.d.ts +5 -0
- package/types/_core/scripts/views/form/controls/toggleablePanels/codeEditor/toggleablePanelsEditorOnlyContent.d.ts +5 -0
- package/types/_core/scripts/views/form/controls/toggleablePanels/contentLayout/toggleablePanelsContentLayout.d.ts +6 -0
- package/types/_core/scripts/views/form/controls/toggleablePanels/toolbar/toggleablePanelsToolbar.d.ts +9 -0
- package/types/_core/scripts/views/form/controls/toggleablePanels/wrapper/toggleablePanelsWrapper.d.ts +8 -0
- package/types/_core/scripts/views/form/controls.d.ts +37 -0
- package/types/_core/scripts/views/form/features/loadingProgress/progressBarFormAdapter.d.ts +8 -0
- package/types/_core/scripts/views/form/field.d.ts +144 -0
- package/types/_core/scripts/views/form/formButtonsOrder.d.ts +8 -0
- package/types/_core/scripts/views/form/formContextParam.d.ts +20 -0
- package/types/_core/scripts/views/form/formDebug.d.ts +19 -0
- package/types/_core/scripts/views/form/formListCtrl.d.ts +36 -0
- package/types/_core/scripts/views/form/formTypes.d.ts +4 -0
- package/types/_core/scripts/views/form/frame.d.ts +16 -0
- package/types/_core/scripts/views/form/header.d.ts +10 -0
- package/types/_core/scripts/views/form/listFormContextParam.d.ts +4 -0
- package/types/_core/scripts/views/form/markdown.d.ts +12 -0
- package/types/_core/scripts/views/form/oneToMany.d.ts +79 -0
- package/types/_core/scripts/views/form/oneToManyControlService.d.ts +26 -0
- package/types/_core/scripts/views/form/panel.d.ts +25 -0
- package/types/_core/scripts/views/form/playground/FormEvaluatorPlayground.d.ts +7 -0
- package/types/_core/scripts/views/form/playground/FormPlaygroundCtrl.d.ts +21 -0
- package/types/_core/scripts/views/form/schema/FormPageExtOptions.schema.d.ts +22 -0
- package/types/_core/scripts/views/form/schema/FormPageOptions.schema.d.ts +17 -0
- package/types/_core/scripts/views/form/tabs.d.ts +20 -0
- package/types/_core/scripts/views/form/templater/autorefresher/templaterAutorefresher.d.ts +20 -0
- package/types/_core/scripts/views/form/templater/panelsTemplater/panelsTemplater.d.ts +35 -0
- package/types/_core/scripts/views/form/templater/panelsTemplater/templaterProgressBar.d.ts +10 -0
- package/types/_core/scripts/views/form/templater/templateAbort.d.ts +4 -0
- package/types/_core/scripts/views/form/templater/templateEvaluator.d.ts +59 -0
- package/types/_core/scripts/views/form/templater/templatePreview.d.ts +20 -0
- package/types/_core/scripts/views/form/templater/templaterEditorService.d.ts +5 -0
- package/types/_core/scripts/views/form/templater/templaterPreviewWindowController.d.ts +9 -0
- package/types/_core/scripts/views/form/templater/templaterWorkerService.d.ts +11 -0
- package/types/_core/scripts/views/gallery/Gallery.d.ts +41 -0
- package/types/_core/scripts/views/gallery/ThumbImage.d.ts +26 -0
- package/types/_core/scripts/views/layouts/mainLayout.d.ts +2 -0
- package/types/_core/scripts/views/layouts/splashLayout.d.ts +2 -0
- package/types/_core/scripts/views/list/CheckboxList.d.ts +25 -0
- package/types/_core/scripts/views/list/EventsPriority.d.ts +13 -0
- package/types/_core/scripts/views/list/IListView.d.ts +58 -0
- package/types/_core/scripts/views/list/ListHelper.d.ts +3 -0
- package/types/_core/scripts/views/list/ListOptions.d.ts +37 -0
- package/types/_core/scripts/views/list/ListView.d.ts +32 -0
- package/types/_core/scripts/views/list/O2mColumn.d.ts +21 -0
- package/types/_core/scripts/views/list/features/aggregation/AggregationListExtender.d.ts +26 -0
- package/types/_core/scripts/views/list/features/columnFixator/ListColumnFixator.d.ts +46 -0
- package/types/_core/scripts/views/list/features/loadingProgress/progressBarListAdapter.d.ts +8 -0
- package/types/_core/scripts/views/list/features/rowClamp/ListRowClampAdapter.d.ts +8 -0
- package/types/_core/scripts/views/list/features/rowClamp/RowClamp.d.ts +29 -0
- package/types/_core/scripts/views/list/features/settingsStore/ListSettingsStore.d.ts +17 -0
- package/types/_core/scripts/views/list/fieldColumn.d.ts +21 -0
- package/types/_core/scripts/views/list/schema/ListPageExtOptions.schema.d.ts +127 -0
- package/types/_core/scripts/views/list/schema/ListPageOptions.schema.d.ts +76 -0
- package/types/_core/scripts/views/login/FormAuthCtrl.d.ts +21 -0
- package/types/_core/scripts/views/login/LoginCtrl.d.ts +27 -0
- package/types/_core/scripts/views/page/Content.d.ts +17 -0
- package/types/_core/scripts/views/page/ContentListCtrl.d.ts +25 -0
- package/types/_core/scripts/views/page/DateFilterList.d.ts +1 -0
- package/types/_core/scripts/views/page/ErrorPage.d.ts +20 -0
- package/types/_core/scripts/views/page/Page.d.ts +40 -0
- package/types/_core/scripts/views/page/PageTypes.d.ts +7 -0
- package/types/_core/scripts/views/page/PageZoneTypes.d.ts +1 -0
- package/types/_core/scripts/views/page/PageZones.d.ts +2 -0
- package/types/_core/scripts/views/page/SideNav.d.ts +14 -0
- package/types/_core/scripts/views/page/SideNavView.d.ts +6 -0
- package/types/_core/scripts/views/page/SplashPage.d.ts +11 -0
- package/types/_core/scripts/views/page/SplitPageButton.d.ts +5 -0
- package/types/_core/scripts/views/page/charts/ChartControlOptions.schema.d.ts +460 -0
- package/types/_core/scripts/views/page/charts/ChartFormControlOptions.schema.d.ts +35 -0
- package/types/_core/scripts/views/page/charts/chartControl.d.ts +19 -0
- package/types/_core/scripts/views/page/charts/chartControlDataService.d.ts +38 -0
- package/types/_core/scripts/views/page/charts/chartFormControl.d.ts +27 -0
- package/types/_core/scripts/views/page/charts/configAdapter/cardChart.d.ts +17 -0
- package/types/_core/scripts/views/page/charts/configAdapter/cardServices/cardOptionsService.d.ts +37 -0
- package/types/_core/scripts/views/page/charts/configAdapter/cardServices/colorRangeManager.d.ts +7 -0
- package/types/_core/scripts/views/page/charts/configAdapter/chartBaseOptionsAdapter.d.ts +3 -0
- package/types/_core/scripts/views/page/charts/configAdapter/chartConfigAdapter.d.ts +13 -0
- package/types/_core/scripts/views/page/charts/configAdapter/chartFieldsAdapter.d.ts +25 -0
- package/types/_core/scripts/views/page/charts/configAdapter/chartModel.d.ts +11 -0
- package/types/_core/scripts/views/page/charts/configAdapter/libChart.d.ts +21 -0
- package/types/_core/scripts/views/page/dashboard/DashboardPageControlOptions.schema.d.ts +3 -0
- package/types/_core/scripts/views/page/dashboard/dashboardPageControl.d.ts +15 -0
- package/types/_core/scripts/views/page/dashboard/dashboardPageCreator.d.ts +1 -0
- package/types/_core/scripts/views/page/firstRecord/FirstRecordCreator.d.ts +1 -0
- package/types/_core/scripts/views/page/firstRecord/FirstRecordCtrl.d.ts +5 -0
- package/types/_core/scripts/views/page/fkPanels/FkPanels.d.ts +25 -0
- package/types/_core/scripts/views/page/fkPanels/FkPanelsPageCreator.d.ts +1 -0
- package/types/_core/scripts/views/page/fkPanels/FkPanelsPageOptions.schema.d.ts +14 -0
- package/types/_core/scripts/views/pickRecordModal.d.ts +11 -0
- package/types/_core/scripts/views/security/FilterColumnCtrl.d.ts +15 -0
- package/types/_core/scripts/views/security/PermisionLevelColumnCtrl.d.ts +13 -0
- package/types/_core/scripts/views/security/PrincipalPermissionTitleColumn.d.ts +3 -0
- package/types/admin/scripts/AboutCtrl.d.ts +9 -0
- package/types/admin/scripts/Designer/Constructor.d.ts +25 -0
- package/types/admin/scripts/Designer/DesignFormExtender.d.ts +3 -0
- package/types/admin/scripts/Designer/Json.d.ts +12 -0
- package/types/admin/scripts/Designer/JsonEditor.d.ts +10 -0
- package/types/admin/scripts/Designer/LayoutEdit.d.ts +36 -0
- package/types/admin/scripts/Designer/controls/ChartDesignerCtrl.d.ts +17 -0
- package/types/admin/scripts/Designer/controls/Field.d.ts +74 -0
- package/types/admin/scripts/Designer/controls/Frame.d.ts +26 -0
- package/types/admin/scripts/Designer/controls/Header.d.ts +8 -0
- package/types/admin/scripts/Designer/controls/Markdown.d.ts +6 -0
- package/types/admin/scripts/Designer/controls/Panel.d.ts +6 -0
- package/types/admin/scripts/Designer/controls/Tabs.d.ts +7 -0
- package/types/admin/scripts/emailCheck.d.ts +2 -0
- package/types/admin/scripts/forms/LayoutForm.d.ts +4 -0
- package/types/admin/scripts/forms/ListForm.d.ts +2 -0
- package/types/admin/scripts/forms/ObjectFieldForm.d.ts +2 -0
- package/types/admin/scripts/forms/ObjectForm.d.ts +3 -0
- package/types/admin/scripts/list/DesignerListExtender.d.ts +26 -0
- package/types/admin/scripts/list/DesignerListTransformer.d.ts +6 -0
- package/types/admin/scripts/list/ListColumnDesignFormCtrl.d.ts +9 -0
- package/types/admin/scripts/list/ListResizer.d.ts +9 -0
- package/types/admin/scripts/manageNav.d.ts +1 -0
- package/types/admin/scripts/module.d.ts +32 -0
- package/types/admin/scripts/principalList.d.ts +6 -0
- package/types/admin/scripts/reorder.d.ts +10 -0
- package/types/admin/scripts/resizer.d.ts +9 -0
- package/types/admin/scripts/scripting.d.ts +4 -0
- package/types/components/baseFormControls/input/inputView.d.ts +22 -0
- package/types/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -0
- package/types/components/dropdown/menu/item/dropdownItemWrap.d.ts +7 -0
- package/types/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +4 -0
- package/types/components/dropdown/menuActionItem/dropdownMenuItem.d.ts +6 -0
- package/types/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +2 -1
- package/types/components/icon/icon.d.ts +4 -0
- package/types/components/tooltip/controllers/globalEventHandler.d.ts +19 -0
- package/types/components/tooltip/controllers/tooltipGenerator.d.ts +11 -0
- package/types/components/tooltip/controllers/tooltipPositionController.d.ts +31 -0
- package/types/components/tooltip/controllers/tooltipTarget.d.ts +10 -0
- package/types/components/tooltip/tooltip.d.ts +9 -0
- package/types/dm/scripts/CloneFormCtrl.d.ts +12 -0
- package/types/dm/scripts/DeleteFormCtrl.d.ts +12 -0
- package/types/dm/scripts/DmFormCtrl.d.ts +12 -0
- package/types/dm/scripts/DmService.d.ts +10 -0
- package/types/dm/scripts/DmTypes.d.ts +15 -0
- package/types/dm/scripts/LinkedFieldAction.d.ts +33 -0
- package/types/dm/scripts/MergeFormCtrl.d.ts +13 -0
- package/types/dm/scripts/MergeHelper.d.ts +17 -0
- package/types/dm/scripts/MergeListExtender.d.ts +25 -0
- package/types/dm/scripts/module.d.ts +4 -0
- package/types/helpers/PositionCalculator.d.ts +59 -0
- package/types/helpers/formattedText.d.ts +2 -1
- package/types/helpers/types.d.ts +9 -2
- package/types/helpers/ui/setTooltip.d.ts +12 -0
- package/types/helpers/utils/classNames.d.ts +2 -0
- package/types/helpers/utils/object.d.ts +1 -0
- package/types/helpers/utils/stringifyControlSize.d.ts +3 -0
- package/types/helpers/utils/v.d.ts +2 -0
- package/types/helpers/zone/IZone.d.ts +0 -1
- package/types/helpers/zone/Zones.d.ts +2 -0
- package/types/inline/scripts/CellList.d.ts +14 -0
- package/types/inline/scripts/Editor.d.ts +93 -0
- package/types/inline/scripts/ListExtender.d.ts +41 -0
- package/types/inline/scripts/ListExtenderTypes.d.ts +29 -0
- package/types/inline/scripts/autocommit/autocommit.d.ts +6 -0
- package/types/inline/scripts/before.d.ts +10 -0
- package/types/inline/scripts/easyInline/FKDropdown.d.ts +52 -0
- package/types/inline/scripts/easyInline/easyInline.d.ts +11 -0
- package/types/inline/scripts/messages.d.ts +1 -0
- package/types/inline/scripts/module.d.ts +15 -0
- package/types/inline/scripts/transformers/CellTransformer.d.ts +8 -0
- package/types/inline/scripts/transformers/ListTransformer.d.ts +1 -0
- package/types/inline/scripts/transformers/RowTransformer.d.ts +1 -0
- package/types/inline/scripts/ui-bindings.d.ts +1 -0
- package/types/inline/scripts/validation/inlineValidator.d.ts +8 -0
- package/types/services/customModules/facades/Form/IFormControlFacade.d.ts +4 -0
- package/types/services/customModules/facades/IMdtFacade.d.ts +3 -0
- package/types/services/customModules/facades/IPageFacade.d.ts +7 -0
- package/types/services/customModules/facades/PageFacade.d.ts +5 -0
- package/types/services/customModules/facades/utils/IDropdownFacade.d.ts +4 -0
- package/types/services/customModules/facades/utils/IUiComponentsFacade.d.ts +19 -5
- package/types/services/customModules/facades/utils/IUiFacade.d.ts +8 -1
- package/types/services/customModules/facades/utils/IUtilsFacade.d.ts +1 -0
- package/types/services/customModules/facades/utils/ImUtilsFacade.d.ts +3 -0
- package/types/services/dropdown/DropdownManager.d.ts +7 -0
- package/types/services/dropdown/DropdownMenu.d.ts +11 -0
- package/types/services/dropdown/IDropDownMenu.d.ts +15 -11
- package/types/views/form/controls/commonControl/ICommonControl.d.ts +23 -0
- package/types/views/page/PageTypes.d.ts +7 -0
- package/types/views/page/PageZoneCodes.d.ts +1 -0
- package/types/views/page/PageZoneTypes.d.ts +1 -0
- package/types/views/page/PageZones.d.ts +2 -0
- package/types/components/tooltip/controllers/tooltipAttributes.d.ts +0 -2
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class SortingManager {
|
|
2
|
+
list: any[];
|
|
3
|
+
private events;
|
|
4
|
+
constructor(list?: any[]);
|
|
5
|
+
add(path: string, asc?: boolean): void;
|
|
6
|
+
get(path: string): any;
|
|
7
|
+
remove(path: string): void;
|
|
8
|
+
set(list: any): void;
|
|
9
|
+
clear(): void;
|
|
10
|
+
static getPath(sorting: any): any;
|
|
11
|
+
static has(sortingList: any, sorting: any): any;
|
|
12
|
+
static add(sortingList: any, sorting: any): void;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Table } from "mdtScripts/common/Table";
|
|
2
|
+
import { SchemaManager } from "../SchemaManager";
|
|
3
|
+
export interface RefreshableTableComponent {
|
|
4
|
+
getTable(): Table;
|
|
5
|
+
refreshTable(table: Table): void;
|
|
6
|
+
}
|
|
7
|
+
export declare class TableRefresherImpl {
|
|
8
|
+
private components;
|
|
9
|
+
private schema;
|
|
10
|
+
init(schema: SchemaManager): void;
|
|
11
|
+
addComponent(component: RefreshableTableComponent): void;
|
|
12
|
+
removeComponent(component: RefreshableTableComponent): void;
|
|
13
|
+
private updateComponentTable;
|
|
14
|
+
}
|
|
15
|
+
export declare const TableRefresher: TableRefresherImpl;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Table } from "mdtScripts/common/Table";
|
|
2
|
+
import { FormCtrl } from "mdtScripts/views/form/form";
|
|
3
|
+
import { RefreshableTableComponent } from "./TableRefresher";
|
|
4
|
+
export declare class TableRefresherFormAdapter implements RefreshableTableComponent {
|
|
5
|
+
private form;
|
|
6
|
+
constructor(form: FormCtrl);
|
|
7
|
+
getTable(): Table;
|
|
8
|
+
refreshTable(table: Table): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Table } from "mdtScripts/common/Table";
|
|
2
|
+
import { ListCtrl } from "mdtScripts/views/list/ListCtrl";
|
|
3
|
+
import { RefreshableTableComponent } from "./TableRefresher";
|
|
4
|
+
export declare class TableRefresherListAdapter implements RefreshableTableComponent {
|
|
5
|
+
private list;
|
|
6
|
+
constructor(list: ListCtrl);
|
|
7
|
+
getTable(): Table;
|
|
8
|
+
refreshTable(table: Table): void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Field } from "../common/Field";
|
|
2
|
+
import { Table } from "../common/Table";
|
|
3
|
+
import { FieldType } from "./SchemaManager";
|
|
4
|
+
import { FormStateError } from "../views/form/FormState";
|
|
5
|
+
export declare class Validator {
|
|
6
|
+
static validateBySuperType(value: any, type: FieldType): "Value must be a number" | "Value must be a date" | "No value" | "Incorrect time format";
|
|
7
|
+
record(record: any, table: Table): any[];
|
|
8
|
+
msg(message: any, field: Field, showErrorMessage?: any): FormStateError[];
|
|
9
|
+
field(field: Field, value: any, onupdate?: any, record?: {}): FormStateError[];
|
|
10
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="mithril" />
|
|
2
|
+
import { ApiRequestOptions } from "./ApiRequestOptions";
|
|
3
|
+
export interface IApiAccessor {
|
|
4
|
+
request<T>(url: string, data?: any, options?: ApiRequestOptions): _mithril.MithrilPromise<T>;
|
|
5
|
+
}
|
|
6
|
+
export declare class ApiAccessor implements IApiAccessor {
|
|
7
|
+
apiUrl: string;
|
|
8
|
+
static getApiUrl(): string;
|
|
9
|
+
url(url: string, params?: unknown): string;
|
|
10
|
+
request<T>(url: string, data?: any, options?: ApiRequestOptions): _mithril.MithrilPromise<T>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface ApiRequest {
|
|
2
|
+
abort?: () => void;
|
|
3
|
+
}
|
|
4
|
+
export interface ApiRequestOptions {
|
|
5
|
+
req?: (x?: any) => ApiRequest;
|
|
6
|
+
onerror?: (e: any) => boolean | void;
|
|
7
|
+
onRequestError?: () => void;
|
|
8
|
+
camel?: boolean;
|
|
9
|
+
multi?: boolean;
|
|
10
|
+
method?: string;
|
|
11
|
+
xhrConfig?(xhr: XMLHttpRequest): void;
|
|
12
|
+
background?: boolean;
|
|
13
|
+
ignoreUnwrapError?: boolean;
|
|
14
|
+
withCredentials?: boolean;
|
|
15
|
+
url?: string;
|
|
16
|
+
user?: string;
|
|
17
|
+
password?: string;
|
|
18
|
+
data?: any;
|
|
19
|
+
unwrapSuccess?(data: any): any;
|
|
20
|
+
unwrapError?(data: any, options?: any): any;
|
|
21
|
+
serialize?(dataToSerialize: any): string;
|
|
22
|
+
deserialize?(dataToDeserialize: string): any;
|
|
23
|
+
extract?(xhr: XMLHttpRequest, options: ApiRequestOptions): string;
|
|
24
|
+
type?(data: Object): void;
|
|
25
|
+
config?(xhr: XMLHttpRequest, options?: ApiRequestOptions): XMLHttpRequest;
|
|
26
|
+
dataType?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Table } from "../../common/Table";
|
|
2
|
+
import { Query } from "./Query";
|
|
3
|
+
export declare class ApiUrlHelper {
|
|
4
|
+
static query2Str(query: Query): any;
|
|
5
|
+
static prepareQueryParams(...params: any[]): string;
|
|
6
|
+
static negationFilterAliases: {
|
|
7
|
+
notStartsWith: string;
|
|
8
|
+
notContains: string;
|
|
9
|
+
notEndsWith: string;
|
|
10
|
+
};
|
|
11
|
+
static filter2Str(f: any, table?: Table, parent?: any): string;
|
|
12
|
+
private static prepareOp;
|
|
13
|
+
private static arg2Str;
|
|
14
|
+
static prepareValue(arg: any): string;
|
|
15
|
+
private static value2Str;
|
|
16
|
+
private static filterQuery2Str;
|
|
17
|
+
private static sort2Str;
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IFilter } from "../IFilter";
|
|
2
|
+
import { QuerySorting } from "./Query";
|
|
3
|
+
export interface BaseQuery {
|
|
4
|
+
/** Названия выбранных полей */
|
|
5
|
+
select?: string[];
|
|
6
|
+
/** Количество записей */
|
|
7
|
+
top?: number;
|
|
8
|
+
/** Фильтр запроса */
|
|
9
|
+
filter?: IFilter;
|
|
10
|
+
/** Количество пропускаемых с начала записей */
|
|
11
|
+
skip?: number;
|
|
12
|
+
/** Сортировка записей */
|
|
13
|
+
sorting?: QuerySorting[];
|
|
14
|
+
count?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/// <reference types="mithril" />
|
|
2
|
+
import { RecordId } from "mdtScripts/common/Record";
|
|
3
|
+
import { UiType } from "mdtScripts/helpers/IUi";
|
|
4
|
+
import { Button } from "mdtScripts/helpers/ui/el";
|
|
5
|
+
import { FormCtrl } from "mdtScripts/views/form/form";
|
|
6
|
+
import { ApiRequestOptions } from "./ApiRequestOptions";
|
|
7
|
+
export interface RequestResultV2<T> {
|
|
8
|
+
payload: T;
|
|
9
|
+
$debug: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface ExecutedRequestArgs<T = unknown> {
|
|
12
|
+
data: T;
|
|
13
|
+
params: ExecutedRequestParams;
|
|
14
|
+
run: () => unknown;
|
|
15
|
+
deferred: _mithril.MithrilDeferred<unknown>;
|
|
16
|
+
url: string;
|
|
17
|
+
options: ApiRequestOptions;
|
|
18
|
+
}
|
|
19
|
+
export declare type ExecutedRequestParams = ExecutedRequestBaseParams & ExecutedRequestDestroyParams;
|
|
20
|
+
export interface ExecutedRequestBaseParams {
|
|
21
|
+
table?: string;
|
|
22
|
+
tableName?: string;
|
|
23
|
+
FlagConfirm?: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface ExecutedRequestDestroyParams {
|
|
26
|
+
IdList?: RecordId[];
|
|
27
|
+
}
|
|
28
|
+
export interface ResponceMessage {
|
|
29
|
+
$: "msg";
|
|
30
|
+
title?: string;
|
|
31
|
+
type: "Error" | "Confirmation" | "Warning" | "Success" | "Fatal" | "Information";
|
|
32
|
+
actions?: ResponceMessageActionExtended[];
|
|
33
|
+
items?: ResponceMessageItem[];
|
|
34
|
+
}
|
|
35
|
+
export interface PreparedResponceMessage extends ResponceMessage {
|
|
36
|
+
items: (ResponceMessageItem | {
|
|
37
|
+
control: any;
|
|
38
|
+
})[];
|
|
39
|
+
}
|
|
40
|
+
export interface ResponceMessageAction {
|
|
41
|
+
$Type: UiType;
|
|
42
|
+
$Icon: string;
|
|
43
|
+
$Title: string;
|
|
44
|
+
$Code: string;
|
|
45
|
+
$Param: string;
|
|
46
|
+
$ParamValue: string;
|
|
47
|
+
}
|
|
48
|
+
export interface ResponceMessageActionExtended extends ResponceMessageAction {
|
|
49
|
+
$ParamObj?: number;
|
|
50
|
+
$form?: FormCtrl;
|
|
51
|
+
$buttonExtend?: Partial<Button>;
|
|
52
|
+
}
|
|
53
|
+
export declare type ResponceMessageItem = ResponceMessageTextItem | ResponceMessageRows | ResponceMessageRefs | {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
};
|
|
56
|
+
export interface ResponceMessageTextItem {
|
|
57
|
+
text: string;
|
|
58
|
+
severity: number;
|
|
59
|
+
}
|
|
60
|
+
export interface ResponceMessageRows<R = unknown> {
|
|
61
|
+
rows: R[];
|
|
62
|
+
}
|
|
63
|
+
export interface ResponceMessageRefs {
|
|
64
|
+
refs: {
|
|
65
|
+
$ID_Object: RecordId;
|
|
66
|
+
$ID_Record: RecordId;
|
|
67
|
+
}[];
|
|
68
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { Table } from "../../common/Table";
|
|
2
|
+
import { BaseQuery } from "./BaseQuery";
|
|
3
|
+
export declare type QuerySorting = string | {
|
|
4
|
+
path: string;
|
|
5
|
+
asc?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export interface Query extends BaseQuery {
|
|
8
|
+
options?: QueryOptions;
|
|
9
|
+
withCount?: boolean;
|
|
10
|
+
distinct?: boolean;
|
|
11
|
+
key?: any;
|
|
12
|
+
params?: any;
|
|
13
|
+
dependency?: {
|
|
14
|
+
table: string;
|
|
15
|
+
field: string;
|
|
16
|
+
};
|
|
17
|
+
aggregate?: boolean;
|
|
18
|
+
export?: string;
|
|
19
|
+
format?: string;
|
|
20
|
+
hierarchy?: any;
|
|
21
|
+
placeIn?: any;
|
|
22
|
+
date?: Date;
|
|
23
|
+
table?: Table;
|
|
24
|
+
children?: Query[];
|
|
25
|
+
parent?: Query;
|
|
26
|
+
groups?: GroupQuery;
|
|
27
|
+
disableDefaultSorting?: boolean;
|
|
28
|
+
pure?: boolean;
|
|
29
|
+
audit?: string;
|
|
30
|
+
workflow?: string;
|
|
31
|
+
tag?: string;
|
|
32
|
+
skippedRowsCount?: number;
|
|
33
|
+
}
|
|
34
|
+
export interface GroupQuery {
|
|
35
|
+
groups?: GroupItem[];
|
|
36
|
+
allParents?: boolean;
|
|
37
|
+
orphans?: boolean;
|
|
38
|
+
toggledValues?: any[];
|
|
39
|
+
}
|
|
40
|
+
export declare type GroupLabel = {
|
|
41
|
+
title?: string;
|
|
42
|
+
icon?: string;
|
|
43
|
+
color?: string;
|
|
44
|
+
textColor?: string;
|
|
45
|
+
};
|
|
46
|
+
export interface GroupItem {
|
|
47
|
+
fieldPath: string;
|
|
48
|
+
collapsed?: boolean;
|
|
49
|
+
label?: GroupLabel | false;
|
|
50
|
+
toggledValues?: any[];
|
|
51
|
+
withEmpty?: boolean;
|
|
52
|
+
sortDesc?: boolean;
|
|
53
|
+
select?: string[];
|
|
54
|
+
sorting?: {
|
|
55
|
+
path: string;
|
|
56
|
+
asc?: boolean;
|
|
57
|
+
}[];
|
|
58
|
+
}
|
|
59
|
+
export interface QueryOptions {
|
|
60
|
+
root?: boolean;
|
|
61
|
+
reset?: boolean;
|
|
62
|
+
firstQuery?: boolean;
|
|
63
|
+
secondary?: boolean;
|
|
64
|
+
ext?: {
|
|
65
|
+
[ext: string]: any;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FetchResult } from "mdtScripts/datasources/FetchResult";
|
|
2
|
+
interface InitialFetchResponsePascale {
|
|
3
|
+
Rows: any[];
|
|
4
|
+
Count: number;
|
|
5
|
+
Items: any;
|
|
6
|
+
}
|
|
7
|
+
interface InitialFetchResponseCamel {
|
|
8
|
+
rows: any[];
|
|
9
|
+
count: number;
|
|
10
|
+
items: any;
|
|
11
|
+
}
|
|
12
|
+
export declare type InitialFetchResponse = Partial<InitialFetchResponseCamel & InitialFetchResponsePascale>;
|
|
13
|
+
export interface HandledResult<R = any, I = any> extends FetchResult<R, I> {
|
|
14
|
+
groups?: any;
|
|
15
|
+
}
|
|
16
|
+
export interface ResultPropNames {
|
|
17
|
+
rowsName: "Rows" | "rows";
|
|
18
|
+
countName: "Count" | "count";
|
|
19
|
+
itemsName: ItemsPropNames;
|
|
20
|
+
}
|
|
21
|
+
declare type ItemsPropNames = "Items" | "items";
|
|
22
|
+
export declare class QueryResultHandler {
|
|
23
|
+
createResult<R = any, I = any>(response: InitialFetchResponse, isCamel?: boolean): HandledResult<R, I>;
|
|
24
|
+
getPropsNames(isCamel: boolean): ResultPropNames;
|
|
25
|
+
private findGroups;
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/// <reference types="mithril" />
|
|
2
|
+
import "./block.less";
|
|
3
|
+
export declare class BrowserSupportBlock {
|
|
4
|
+
private service;
|
|
5
|
+
private showWindow;
|
|
6
|
+
constructor();
|
|
7
|
+
private getDownloadBtn;
|
|
8
|
+
private getCloseBtn;
|
|
9
|
+
private getRenderedTextContent;
|
|
10
|
+
$view: () => _mithril.MithrilVirtualElement;
|
|
11
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare type IsSupported = "supported" | "unsupported" | "unknown";
|
|
2
|
+
export interface BrowserSupportTextContent {
|
|
3
|
+
header: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
interface BrowserInfo {
|
|
7
|
+
name: string;
|
|
8
|
+
version: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ShowFlagInfo {
|
|
11
|
+
flag: boolean;
|
|
12
|
+
date: Date | string;
|
|
13
|
+
}
|
|
14
|
+
export declare class BrowserSupportService {
|
|
15
|
+
isSupported(): IsSupported;
|
|
16
|
+
getTextContentCodes(isSupported: IsSupported): BrowserSupportTextContent;
|
|
17
|
+
getShowFlag(): boolean;
|
|
18
|
+
saveShowFlag(showFlag: boolean): void;
|
|
19
|
+
private getBrowserInfo;
|
|
20
|
+
}
|
|
21
|
+
export declare class BrowserSupportVersionService {
|
|
22
|
+
private static supported;
|
|
23
|
+
static isSupported(browserInfo: BrowserInfo): IsSupported;
|
|
24
|
+
private static isVersionSupported;
|
|
25
|
+
}
|
|
26
|
+
export declare class BrowserSupportStorage {
|
|
27
|
+
private static showParamName;
|
|
28
|
+
static getFlag(): boolean;
|
|
29
|
+
static saveFlag(showFlag: boolean): void;
|
|
30
|
+
private static clearFlag;
|
|
31
|
+
private static getPreparedInfoForStorage;
|
|
32
|
+
private static isLessThan24Hours;
|
|
33
|
+
private static getDiffInHours;
|
|
34
|
+
}
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="mithril" />
|
|
2
|
+
import { IMDTFacade } from "./facades/IMdtFacade";
|
|
3
|
+
import { MDTFacade } from "./facades/mdtFacade";
|
|
4
|
+
declare type ModuleCallback = (mdt: IMDTFacade) => void;
|
|
5
|
+
export declare class CustomModuleManager {
|
|
6
|
+
private static modulesCallbacks;
|
|
7
|
+
private defer;
|
|
8
|
+
private scripts;
|
|
9
|
+
private modules;
|
|
10
|
+
MDT: MDTFacade;
|
|
11
|
+
constructor();
|
|
12
|
+
registerFacade(): void;
|
|
13
|
+
fetchModules(): void;
|
|
14
|
+
inited(): _mithril.MithrilPromise<unknown>;
|
|
15
|
+
static registerModule(callback: ModuleCallback): void;
|
|
16
|
+
private loadScripts;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MithrilControl } from "mdtScripts/helpers/types";
|
|
2
|
+
import { IAuthFacade } from "./IAuthFacade";
|
|
3
|
+
export declare class AuthFacade implements IAuthFacade {
|
|
4
|
+
disableFormsProvider(): void;
|
|
5
|
+
disableProvider(ctrl: any): void;
|
|
6
|
+
registerControl(control: MithrilControl): void;
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FieldCtrl } from "mdtScripts/views/form/field";
|
|
2
|
+
import { FormCtrl } from "mdtScripts/views/form/form";
|
|
3
|
+
import { FormLayoutColOptions } from "mdtScripts/views/form/Layout";
|
|
4
|
+
import { ErrorInfo, FieldValue, IFieldControlFacade } from "./IFieldControlFacade";
|
|
5
|
+
export declare class FieldControlFacade<T = FieldValue> implements IFieldControlFacade<T> {
|
|
6
|
+
content: FormCtrl;
|
|
7
|
+
hasReadonly: boolean;
|
|
8
|
+
protected options: FormLayoutColOptions;
|
|
9
|
+
protected fieldCtrl: FieldCtrl;
|
|
10
|
+
protected onUpdatedCallbacks: any[];
|
|
11
|
+
constructor(options: FormLayoutColOptions, fieldCtrl: FieldCtrl);
|
|
12
|
+
getValue(): any;
|
|
13
|
+
setValue(val: T): void;
|
|
14
|
+
isEditable(): boolean;
|
|
15
|
+
setErrors(errors: ErrorInfo[]): void;
|
|
16
|
+
clearErrors(errorKey?: string): void;
|
|
17
|
+
onUpdated(callback: (v: T) => void): () => void;
|
|
18
|
+
title(): any;
|
|
19
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { FormCtrl } from "mdtScripts/views/form/form";
|
|
2
|
+
import { ObjectFacade } from "../schema/ObjectFacade";
|
|
3
|
+
import { IFormControlFacade, IFormFieldOptionsConfig } from "./IFormControlFacade";
|
|
4
|
+
import { ButtonFacade } from "./IFormFacade";
|
|
5
|
+
export declare class FormControlFacade implements IFormControlFacade {
|
|
6
|
+
private formCtrl;
|
|
7
|
+
constructor(formCtrl: FormCtrl);
|
|
8
|
+
getFormCtrl(): FormCtrl<import("../../../../common/Record").Record>;
|
|
9
|
+
getViewControl(): any;
|
|
10
|
+
getObject(): ObjectFacade;
|
|
11
|
+
getCode(): string;
|
|
12
|
+
getContext(key: string): any;
|
|
13
|
+
setContext(key: string, value: any): void;
|
|
14
|
+
getRecordId(): any;
|
|
15
|
+
isNewRecord(): boolean;
|
|
16
|
+
value(field: string, value?: any, val$?: any, fireEvent?: boolean, setDirty?: boolean, updateData?: {}): any;
|
|
17
|
+
valueByPath(path: string): any;
|
|
18
|
+
addRecordInitDependence(dependence: () => Promise<unknown>): void;
|
|
19
|
+
onBound(callback: () => void): void;
|
|
20
|
+
onSave<T = {
|
|
21
|
+
[field: string]: any;
|
|
22
|
+
}>(callback: (record: T) => void): void;
|
|
23
|
+
onClose(callback: () => void): void;
|
|
24
|
+
onLayoutCreated(callback: () => void): void;
|
|
25
|
+
addCommand(command: ButtonFacade, isExtend?: boolean): void;
|
|
26
|
+
setFieldOptions(fieldsOptions: IFormFieldOptionsConfig): void;
|
|
27
|
+
setControlOptions(findControl: (item: any) => boolean, controlOptions: any): void;
|
|
28
|
+
setReadonly(readonly: boolean): void;
|
|
29
|
+
updateCommand(findCondition: () => boolean, command: Partial<ButtonFacade>): void;
|
|
30
|
+
reinit(): void;
|
|
31
|
+
save(): Promise<any>;
|
|
32
|
+
openDesigner(): void;
|
|
33
|
+
getZones(): import("../../../../views/form/formTypes").FormZones;
|
|
34
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FormLayoutColOptions } from "mdtScripts/views/form/Layout";
|
|
2
|
+
import { RecordId } from "../utils/IApiFacade";
|
|
3
|
+
import { FormControlFacade } from "./FormControlFacade";
|
|
4
|
+
import { IFormControlFacade } from "./IFormControlFacade";
|
|
5
|
+
import { IFormOptions, IFormServiceFacade } from "./IFormFacade";
|
|
6
|
+
interface FormInitOptions {
|
|
7
|
+
code?: string;
|
|
8
|
+
rules?: {
|
|
9
|
+
[fieldCode: string]: FormLayoutColOptions;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare class FormServiceFacade implements IFormServiceFacade {
|
|
13
|
+
create(tableCode: string, id: RecordId, options?: any, extOptions?: any): FormControlFacade;
|
|
14
|
+
createCustom(options: IFormOptions): FormControlFacade;
|
|
15
|
+
onInit(callback: (form: IFormControlFacade) => void): void;
|
|
16
|
+
onCreate(callback: (form: IFormControlFacade) => void): void;
|
|
17
|
+
onCreated(callback: (form: IFormControlFacade) => void): void;
|
|
18
|
+
addFieldOptions(tableCode: string, options?: FormInitOptions): void;
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export declare type FieldValue = any;
|
|
2
|
+
export interface ErrorInfo {
|
|
3
|
+
/** Текст ошибки */
|
|
4
|
+
message: string;
|
|
5
|
+
/** Код ошибки */
|
|
6
|
+
key?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IFieldControlFacadeContstructor<T = FieldValue> {
|
|
9
|
+
new (options: any, fieldCtrl: any): IFieldControlFacade<T>;
|
|
10
|
+
}
|
|
11
|
+
export interface IFieldControlFacade<T = FieldValue> {
|
|
12
|
+
/** Получить значение поля */
|
|
13
|
+
getValue: () => T;
|
|
14
|
+
/** Установить значение поля */
|
|
15
|
+
setValue: (val: T) => void;
|
|
16
|
+
/** Проверка, является ли поле редактируемым */
|
|
17
|
+
isEditable: () => boolean;
|
|
18
|
+
/** Установить ошибку валидации для поля */
|
|
19
|
+
setErrors: (errors: ErrorInfo[]) => void;
|
|
20
|
+
/** Очистить ошибки валидации */
|
|
21
|
+
clearErrors: (errorKey?: string) => void;
|
|
22
|
+
/** Подписаться на событие обновления значения поля */
|
|
23
|
+
onUpdated: (callback: (val: T) => void) => () => void;
|
|
24
|
+
/** Заголовок поля */
|
|
25
|
+
title: () => string;
|
|
26
|
+
}
|
package/types/_core/scripts/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IFieldControlFacade } from "./IFieldControlFacade";
|
|
2
|
+
export interface MountContext<V> {
|
|
3
|
+
/** Родительский DOM-элемент контрола */
|
|
4
|
+
el: HTMLElement;
|
|
5
|
+
/** Поле, к которому привязан контрол */
|
|
6
|
+
field: IFieldControlFacade<V>;
|
|
7
|
+
/** Опции контрола */
|
|
8
|
+
options: any;
|
|
9
|
+
/** Подписка на событие удаления контрола */
|
|
10
|
+
onUnmount: (onUnmountCallback?: (field: IFieldControlFacade) => void) => void;
|
|
11
|
+
/** Mithril класс контрола */
|
|
12
|
+
control: any;
|
|
13
|
+
}
|
|
14
|
+
export interface IMithrilCustomControl<V> {
|
|
15
|
+
new (options: any, field: IFieldControlFacade<V>): any;
|
|
16
|
+
}
|
|
17
|
+
export interface RegisterArgs<V> {
|
|
18
|
+
/** Наименование контрола */
|
|
19
|
+
title: string;
|
|
20
|
+
/** Код контрола */
|
|
21
|
+
code: string;
|
|
22
|
+
/** Mithril класс контрола */
|
|
23
|
+
control?: IMithrilCustomControl<V>;
|
|
24
|
+
/** Типы полей, для которых предназначен контрол */
|
|
25
|
+
types?: string | string[];
|
|
26
|
+
/** Используется ли контрол для полей с внешним ключом */
|
|
27
|
+
ref?: boolean;
|
|
28
|
+
/** Скрыть контрол из списка в конструкторе форм */
|
|
29
|
+
hidden?: boolean;
|
|
30
|
+
/** Подписка на событие рендера контрола */
|
|
31
|
+
onMount?: (params: MountContext<V>) => void;
|
|
32
|
+
}
|
|
33
|
+
export interface IFieldControlManagerFacade<V = any> {
|
|
34
|
+
/** Зарегистрировать новый контрол */
|
|
35
|
+
register: <T = V>(args: RegisterArgs<T>) => void;
|
|
36
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { FormZones } from "mdtScripts/views/form/formTypes";
|
|
2
|
+
import { IObjectFacade } from "../schema/IObjectFacade";
|
|
3
|
+
import { RecordId } from "../utils/IApiFacade";
|
|
4
|
+
import { ParentCtrl } from "../utils/IUiFacade";
|
|
5
|
+
import { ButtonFacade } from "./IFormFacade";
|
|
6
|
+
export declare type IFormFieldOptionsConfig = {
|
|
7
|
+
[fieldCode: string]: any;
|
|
8
|
+
};
|
|
9
|
+
export interface IFormControlFacadeContstructor {
|
|
10
|
+
new (formCtrl: any): IFormControlFacade;
|
|
11
|
+
}
|
|
12
|
+
export interface IFormControlFacade extends ParentCtrl {
|
|
13
|
+
/** Получить оригинальный контрол формы */
|
|
14
|
+
getFormCtrl(): any;
|
|
15
|
+
/** Получить объект, к которому приязана форма */
|
|
16
|
+
getObject(): IObjectFacade;
|
|
17
|
+
/** Получить код формы */
|
|
18
|
+
getCode(): string;
|
|
19
|
+
/** Получить контекстный параметр формы */
|
|
20
|
+
getContext(key: string): any;
|
|
21
|
+
/** Установить контекстный параметр формы */
|
|
22
|
+
setContext(key: string, value: any): void;
|
|
23
|
+
/** Получить ID записи */
|
|
24
|
+
getRecordId(): RecordId;
|
|
25
|
+
/** Проверка, что запись в форме новая */
|
|
26
|
+
isNewRecord(): boolean;
|
|
27
|
+
/** Получить или установить значение для поля формы */
|
|
28
|
+
value(field: string, val?: any, val$?: any, fireEvent?: boolean, setDirty?: boolean, updateData?: {}): any;
|
|
29
|
+
/** Получение значения по пути */
|
|
30
|
+
valueByPath(path: string): any;
|
|
31
|
+
/** Добавить зависимость для запроса записи*/
|
|
32
|
+
addRecordInitDependence(dependence: () => Promise<unknown>): void;
|
|
33
|
+
/** Подписаться на событие инициализации записи формы */
|
|
34
|
+
onBound(callback: () => void): void;
|
|
35
|
+
/** Подписаться на событие сохранения записи */
|
|
36
|
+
onSave<T = {
|
|
37
|
+
[field: string]: any;
|
|
38
|
+
}>(callback: (record: T) => void): void;
|
|
39
|
+
/** Подписаться на событие закрытия формы */
|
|
40
|
+
onClose(callback: () => void): void;
|
|
41
|
+
/** Подписаться на событие создания макета формы */
|
|
42
|
+
onLayoutCreated(callback: () => void): void;
|
|
43
|
+
/** Установить команду на форму */
|
|
44
|
+
addCommand(command: ButtonFacade, isExtended?: boolean): void;
|
|
45
|
+
/** Установить настройки для полей формы */
|
|
46
|
+
setFieldOptions(options: IFormFieldOptionsConfig): void;
|
|
47
|
+
/** Установить настройки для компонента формы */
|
|
48
|
+
setControlOptions(findControl: (col: any) => boolean, controlOptions: any): any;
|
|
49
|
+
/** Установить флаг доступности редактирования формы */
|
|
50
|
+
setReadonly(readonly: boolean): void;
|
|
51
|
+
/** Изменить свойства существующей кнопки */
|
|
52
|
+
updateCommand(findCondition: () => boolean, command: Partial<ButtonFacade>): void;
|
|
53
|
+
/** Повторно инициализировать форму */
|
|
54
|
+
reinit(): void;
|
|
55
|
+
/** Сохранить форму */
|
|
56
|
+
save(): void;
|
|
57
|
+
/** Открыть конструктор формы */
|
|
58
|
+
openDesigner(): void;
|
|
59
|
+
/** Получить зоны */
|
|
60
|
+
getZones(): FormZones;
|
|
61
|
+
}
|