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,654 @@
|
|
|
1
|
+
/// <reference types="mithril" />
|
|
2
|
+
import { SchemaManager } from "./SchemaManager";
|
|
3
|
+
import { ExpressionedFilter } from "_core/scripts/services/Filter";
|
|
4
|
+
import { QuerySorting } from "./api/Query";
|
|
5
|
+
import { IExp } from "./schema/IExp.schema";
|
|
6
|
+
export declare type IExpItem = ILogicalExp | ICompareExp | IMathExp | IInExp | IConcatExp | IIfExp | INotExp | ILiteralExp | IStoredProcExp | ISqlFunctionExp | IPropExp | INowExp | IUserIdExp | IIsInRoleExp | IInGroupsExp | INamedExp | IFilterExp | IQueryExp | IFieldExp | IIsFieldEmptyExp | IContextParamExp;
|
|
7
|
+
export interface ExpBase {
|
|
8
|
+
/**
|
|
9
|
+
* Условия выполнения выражений
|
|
10
|
+
* @default [{ "event": "update", "field": "" }]
|
|
11
|
+
*/
|
|
12
|
+
dep?: ExpDep | ExpDep[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Условие выполнения выражений
|
|
16
|
+
*/
|
|
17
|
+
interface ExpDep {
|
|
18
|
+
/**
|
|
19
|
+
* Событие при котором выполняется выражение
|
|
20
|
+
* - `init` - при открытии формы
|
|
21
|
+
* - `update` - при обновлении поля `field`
|
|
22
|
+
* - `save` - перед сохранением записи
|
|
23
|
+
* - `contextUpdate` - при обновлении контекста
|
|
24
|
+
*/
|
|
25
|
+
event: "init" | "update" | "save" | "contextUpdate";
|
|
26
|
+
/**
|
|
27
|
+
* Поле, при изменении которого выражение будет выполнено, если `event=update`
|
|
28
|
+
*/
|
|
29
|
+
field: string;
|
|
30
|
+
/**
|
|
31
|
+
* Если `true`, то выражение будет выполняться во всех иных случаях, кроме указанного
|
|
32
|
+
*/
|
|
33
|
+
not?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Выражение будет выполняться только для новых записей
|
|
36
|
+
*/
|
|
37
|
+
new?: boolean;
|
|
38
|
+
}
|
|
39
|
+
export declare type Expressioned<T> = {
|
|
40
|
+
[V in keyof T]: T[V] | IExp;
|
|
41
|
+
};
|
|
42
|
+
export declare abstract class Exp<T = IExp> {
|
|
43
|
+
exp: T;
|
|
44
|
+
ctx: any;
|
|
45
|
+
constructor(exp: T, ctx: any);
|
|
46
|
+
abstract eval(): any;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @markdownDescription
|
|
50
|
+
* Логическое выражение
|
|
51
|
+
*
|
|
52
|
+
* Выполняются подвыражения `ops` и соответствующая операция над результатами
|
|
53
|
+
*
|
|
54
|
+
* @defaultSnippets [{ "label": "Логическое выражение (and, or)", "body": { "$": "and", "ops": [] }}]
|
|
55
|
+
*/
|
|
56
|
+
interface ILogicalExp {
|
|
57
|
+
$: "or" | "and";
|
|
58
|
+
ops: IExp[];
|
|
59
|
+
}
|
|
60
|
+
export declare class LogicalExp extends Exp<ILogicalExp> {
|
|
61
|
+
eval(): _mithril.MithrilPromise<boolean>;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @markdownDescription
|
|
65
|
+
* Выражение сравнения
|
|
66
|
+
*
|
|
67
|
+
* Сравниваются результаты выполнения подвыражений \`arg1\` и \`arg2\` по выбранному оператору и возвращается \`true\` / \`false\`
|
|
68
|
+
* - `eq`, `=` - равенство
|
|
69
|
+
* - `ne`, `<>` - неравенство
|
|
70
|
+
* - `lt`, `<` - меньше
|
|
71
|
+
* - `le`, `<=` - меньше или равно
|
|
72
|
+
* - `gt`, `>` - больше
|
|
73
|
+
* - `ge`, `>=` - больше или равно
|
|
74
|
+
*
|
|
75
|
+
* @defaultSnippets [{ "label": "Выражение сравнения (=, <>, >, <, ...)", "body": { "$": "eq", "arg1": {}, "arg2": {} }}]
|
|
76
|
+
*/
|
|
77
|
+
interface ICompareExp {
|
|
78
|
+
$: "eq" | "=" | "ne" | "<>" | "lt" | "<" | "le" | "<=" | "ge" | ">=" | "gt" | ">";
|
|
79
|
+
arg1: IExp;
|
|
80
|
+
arg2: IExp;
|
|
81
|
+
}
|
|
82
|
+
export declare class CompareExp extends Exp<ICompareExp> {
|
|
83
|
+
eval(): _mithril.MithrilPromise<boolean>;
|
|
84
|
+
}
|
|
85
|
+
export declare class EqExp extends Exp<ICompareExp> {
|
|
86
|
+
eval(): _mithril.MithrilPromise<boolean>;
|
|
87
|
+
}
|
|
88
|
+
export declare class NeqExp extends EqExp {
|
|
89
|
+
eval(): _mithril.MithrilPromise<boolean>;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @markdownDescription
|
|
93
|
+
* Математическое выражение
|
|
94
|
+
*
|
|
95
|
+
* Выполняется выбранная операция над результатами выполнения подвыражений `arg1` и `arg2`
|
|
96
|
+
*
|
|
97
|
+
* @defaultSnippets
|
|
98
|
+
* [
|
|
99
|
+
* {
|
|
100
|
+
* "label": "Математическое выражение (+, -, *, /)",
|
|
101
|
+
* "body": { "$": "+", "arg1": {}, "arg2": {} }
|
|
102
|
+
* }
|
|
103
|
+
* ]
|
|
104
|
+
*/
|
|
105
|
+
interface IMathExp {
|
|
106
|
+
$: "*" | "/" | "+" | "-";
|
|
107
|
+
arg1: IExp;
|
|
108
|
+
arg2: IExp;
|
|
109
|
+
}
|
|
110
|
+
export declare class MathExp extends Exp<IMathExp> {
|
|
111
|
+
eval(): _mithril.MithrilPromise<any>;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @markdownDescription
|
|
115
|
+
* Проверка на вхождение в список
|
|
116
|
+
*
|
|
117
|
+
* Выполняется подвыражение `arg` и проверяется вхождение результата в список `list`.
|
|
118
|
+
* При вхождение возвращается `false`, иначе `true`
|
|
119
|
+
*
|
|
120
|
+
* @defaultSnippets
|
|
121
|
+
* [
|
|
122
|
+
* {
|
|
123
|
+
* "label": "Проверка на вхождение в список (in)",
|
|
124
|
+
* "body": { "$": "in", "arg": {}, "list": [1, 2, 3] }
|
|
125
|
+
* }
|
|
126
|
+
* ]
|
|
127
|
+
*/
|
|
128
|
+
interface IInExp {
|
|
129
|
+
$: "in";
|
|
130
|
+
arg: IExp;
|
|
131
|
+
list: (string | number)[];
|
|
132
|
+
}
|
|
133
|
+
export declare class InExp extends Exp<IInExp> {
|
|
134
|
+
eval(): any;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* @markdownDescription
|
|
138
|
+
* Конкатенация значений
|
|
139
|
+
*
|
|
140
|
+
* Последовательно выполняются подвыражения `list` и результаты объединяются в строку с использованием разделителя `sep`
|
|
141
|
+
*
|
|
142
|
+
* @defaultSnippets
|
|
143
|
+
* [
|
|
144
|
+
* {
|
|
145
|
+
* "label": "Конкатенация значений (concat)",
|
|
146
|
+
* "body": { "$": "concat", "list": [{ "$": "field", "path": "$1" }, { "$": "field", "path": "$2" }], "sep": "-" }
|
|
147
|
+
* }
|
|
148
|
+
* ]
|
|
149
|
+
*/
|
|
150
|
+
interface IConcatExp {
|
|
151
|
+
$: "concat";
|
|
152
|
+
list: IExp[];
|
|
153
|
+
sep?: string;
|
|
154
|
+
}
|
|
155
|
+
export declare class ConcatExp extends Exp<IConcatExp> {
|
|
156
|
+
eval(): _mithril.MithrilPromise<string>;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* @markdownDescription
|
|
160
|
+
* Условное ветвление
|
|
161
|
+
*
|
|
162
|
+
* В случае, если подвыражение `expr` возвращает `true`, то выполняется подвыражение `then`, иначе `else`
|
|
163
|
+
*
|
|
164
|
+
* @defaultSnippets
|
|
165
|
+
* [
|
|
166
|
+
* {
|
|
167
|
+
* "label": "Условное ветвление (if)",
|
|
168
|
+
* "body": {
|
|
169
|
+
* "$": "if",
|
|
170
|
+
* "expr": {},
|
|
171
|
+
* "then": {},
|
|
172
|
+
* "else": {}
|
|
173
|
+
* }
|
|
174
|
+
* }
|
|
175
|
+
* ]
|
|
176
|
+
*/
|
|
177
|
+
interface IIfExp {
|
|
178
|
+
$: "if";
|
|
179
|
+
expr: IExp;
|
|
180
|
+
then: IExp;
|
|
181
|
+
else?: IExp;
|
|
182
|
+
}
|
|
183
|
+
export declare class IfExp extends Exp<IIfExp> {
|
|
184
|
+
eval(): any;
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* @markdownDescription
|
|
188
|
+
* Выражение отрицания
|
|
189
|
+
*
|
|
190
|
+
* Возвращает результат, противоположный результату подвыражения `op`
|
|
191
|
+
*
|
|
192
|
+
* @defaultSnippets
|
|
193
|
+
* [
|
|
194
|
+
* {
|
|
195
|
+
* "label": "Выражение отрицания (not)",
|
|
196
|
+
* "body": {
|
|
197
|
+
* "$": "not",
|
|
198
|
+
* "op": "$1"
|
|
199
|
+
* }
|
|
200
|
+
* }
|
|
201
|
+
* ]
|
|
202
|
+
*/
|
|
203
|
+
interface INotExp {
|
|
204
|
+
$: "not";
|
|
205
|
+
op: IExp;
|
|
206
|
+
}
|
|
207
|
+
export declare class NotExp extends Exp<INotExp> {
|
|
208
|
+
eval(): any;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @markdownDescription
|
|
212
|
+
* Произвольный js код
|
|
213
|
+
*
|
|
214
|
+
* Выполняется указанный в `exp` js код и возвращается результат
|
|
215
|
+
*
|
|
216
|
+
* @defaultSnippets
|
|
217
|
+
* [
|
|
218
|
+
* {
|
|
219
|
+
* "label": "Произвольный js код (literal)",
|
|
220
|
+
* "body": {
|
|
221
|
+
* "$": "literal",
|
|
222
|
+
* "exp": "$1"
|
|
223
|
+
* }
|
|
224
|
+
* }
|
|
225
|
+
* ]
|
|
226
|
+
*/
|
|
227
|
+
interface ILiteralExp {
|
|
228
|
+
$: "literal";
|
|
229
|
+
exp: string;
|
|
230
|
+
}
|
|
231
|
+
export declare class LiteralExp extends Exp<ILiteralExp> {
|
|
232
|
+
private getPrimitive;
|
|
233
|
+
eval(): _mithril.MithrilPromiseProperty<any> & {
|
|
234
|
+
onchange: (v?: any) => any;
|
|
235
|
+
};
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
* @markdownDescription
|
|
239
|
+
* Выполнение хранимой процедуры
|
|
240
|
+
*
|
|
241
|
+
* Выполняется запрос к указанной хранимой процедуре `name`.
|
|
242
|
+
* Если заданы `params`, то сначала выполняются заданные подвыражения и результаты передаются в хранимую процедуру.
|
|
243
|
+
*
|
|
244
|
+
* @defaultSnippets
|
|
245
|
+
* [
|
|
246
|
+
* {
|
|
247
|
+
* "label": "Выполнение хранимой процедуры (sp)",
|
|
248
|
+
* "body": {
|
|
249
|
+
* "$": "sp",
|
|
250
|
+
* "name": "$1",
|
|
251
|
+
* "params": {
|
|
252
|
+
* "paramName": {}
|
|
253
|
+
* }
|
|
254
|
+
* }
|
|
255
|
+
* }
|
|
256
|
+
* ]
|
|
257
|
+
*/
|
|
258
|
+
interface IStoredProcExp {
|
|
259
|
+
$: "sp";
|
|
260
|
+
name: string;
|
|
261
|
+
params: Record<string, IExp | string | number>;
|
|
262
|
+
}
|
|
263
|
+
export declare class StoredProcExp extends Exp<IStoredProcExp> {
|
|
264
|
+
private api;
|
|
265
|
+
eval(): _mithril.MithrilPromise<_mithril.MithrilPromise<any>>;
|
|
266
|
+
}
|
|
267
|
+
/**
|
|
268
|
+
* @markdownDescription
|
|
269
|
+
* Вызов SQL-функции
|
|
270
|
+
*
|
|
271
|
+
* Выполняется запрос к указанной функции `name`.
|
|
272
|
+
* Если заданы `params`, то сначала выполняются заданные подвыражения и результаты передаются в качестве параметров функции.
|
|
273
|
+
*
|
|
274
|
+
* @defaultSnippets
|
|
275
|
+
* [
|
|
276
|
+
* {
|
|
277
|
+
* "label": "Вызов SQL-функции (sqlfn)",
|
|
278
|
+
* "body": {
|
|
279
|
+
* "$": "sqlfn",
|
|
280
|
+
* "name": "$1",
|
|
281
|
+
* "params": []
|
|
282
|
+
* }
|
|
283
|
+
* }
|
|
284
|
+
* ]
|
|
285
|
+
*/
|
|
286
|
+
interface ISqlFunctionExp {
|
|
287
|
+
$: "sqlfn";
|
|
288
|
+
name: string;
|
|
289
|
+
params?: (IExp | string | number)[];
|
|
290
|
+
}
|
|
291
|
+
export declare class SqlFunctionExp extends Exp<ISqlFunctionExp> {
|
|
292
|
+
private api;
|
|
293
|
+
private fetchFunction;
|
|
294
|
+
eval(): _mithril.MithrilPromise<any>;
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* @markdownDescription
|
|
298
|
+
* Получение значения из объекта
|
|
299
|
+
*
|
|
300
|
+
* Выполняется подзапрос `source`, из полученного результата извлекается значение с использованием `prop` (пример - `records[0].ID_Company`)
|
|
301
|
+
*
|
|
302
|
+
* @defaultSnippets
|
|
303
|
+
* [
|
|
304
|
+
* {
|
|
305
|
+
* "label": "Получение значения из объекта (prop)",
|
|
306
|
+
* "body": {
|
|
307
|
+
* "$": "prop",
|
|
308
|
+
* "prop": "$1",
|
|
309
|
+
* "source": {
|
|
310
|
+
* "$": "query",
|
|
311
|
+
* "table": "",
|
|
312
|
+
* "filter": {
|
|
313
|
+
* "op": "eq",
|
|
314
|
+
* "p1": "",
|
|
315
|
+
* "p2": ""
|
|
316
|
+
* }
|
|
317
|
+
* }
|
|
318
|
+
* }
|
|
319
|
+
* }
|
|
320
|
+
* ]
|
|
321
|
+
*/
|
|
322
|
+
interface IPropExp {
|
|
323
|
+
$: "prop";
|
|
324
|
+
prop: string;
|
|
325
|
+
source: IExp;
|
|
326
|
+
nullIfNotExists: boolean;
|
|
327
|
+
}
|
|
328
|
+
export declare class PropExp extends Exp<IPropExp> {
|
|
329
|
+
eval(): any;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* @markdownDescription
|
|
333
|
+
* Текущая дата
|
|
334
|
+
*
|
|
335
|
+
* @defaultSnippets
|
|
336
|
+
* [
|
|
337
|
+
* {
|
|
338
|
+
* "label": "Текущая дата (now)",
|
|
339
|
+
* "body": {
|
|
340
|
+
* "$": "now"
|
|
341
|
+
* }
|
|
342
|
+
* }
|
|
343
|
+
* ]
|
|
344
|
+
*/
|
|
345
|
+
interface INowExp {
|
|
346
|
+
$: "now";
|
|
347
|
+
}
|
|
348
|
+
export declare class NowExp extends Exp {
|
|
349
|
+
eval(): _mithril.MithrilPromiseProperty<number> & {
|
|
350
|
+
onchange: (v?: number) => any;
|
|
351
|
+
};
|
|
352
|
+
}
|
|
353
|
+
/**
|
|
354
|
+
* @markdownDescription
|
|
355
|
+
* ID текущего пользователя
|
|
356
|
+
*
|
|
357
|
+
* @defaultSnippets
|
|
358
|
+
* [
|
|
359
|
+
* {
|
|
360
|
+
* "label": "Текущий пользователь (userId)",
|
|
361
|
+
* "body": {
|
|
362
|
+
* "$": "userId"
|
|
363
|
+
* }
|
|
364
|
+
* }
|
|
365
|
+
* ]
|
|
366
|
+
*/
|
|
367
|
+
interface IUserIdExp {
|
|
368
|
+
$: "userId";
|
|
369
|
+
}
|
|
370
|
+
export declare class UserIdExp extends Exp {
|
|
371
|
+
eval(): _mithril.MithrilPromiseProperty<any> & {
|
|
372
|
+
onchange: (v?: any) => any;
|
|
373
|
+
};
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
* @markdownDescription
|
|
377
|
+
* Проверка на принадлежность текущего пользователя к группе, заданной в `code`
|
|
378
|
+
*
|
|
379
|
+
* @defaultSnippets
|
|
380
|
+
* [
|
|
381
|
+
* {
|
|
382
|
+
* "label": "Принадлежность пользователя к роли (inGroup, inRole)",
|
|
383
|
+
* "body": {
|
|
384
|
+
* "$": "inGroup",
|
|
385
|
+
* "code": ""
|
|
386
|
+
* }
|
|
387
|
+
* }
|
|
388
|
+
* ]
|
|
389
|
+
*/
|
|
390
|
+
interface IIsInRoleExp {
|
|
391
|
+
$: "inGroup" | "inRole";
|
|
392
|
+
code: string;
|
|
393
|
+
}
|
|
394
|
+
export declare class IsInRoleExp extends Exp<IIsInRoleExp> {
|
|
395
|
+
eval(): _mithril.MithrilPromiseProperty<boolean> & {
|
|
396
|
+
onchange: (v?: boolean) => any;
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* @markdownDescription
|
|
401
|
+
* Проверка на принадлежность текущего пользователя к списку групп, заданному в `list`
|
|
402
|
+
*
|
|
403
|
+
* @defaultSnippets
|
|
404
|
+
* [
|
|
405
|
+
* {
|
|
406
|
+
* "label": "Принадлежность пользователя к списку групп (inGroups)",
|
|
407
|
+
* "body": {
|
|
408
|
+
* "$": "inGroups",
|
|
409
|
+
* "and": true,
|
|
410
|
+
* "not": false,
|
|
411
|
+
* "list": ["$1"]
|
|
412
|
+
* }
|
|
413
|
+
* }
|
|
414
|
+
* ]
|
|
415
|
+
*/
|
|
416
|
+
interface IInGroupsExp {
|
|
417
|
+
$: "inGroups";
|
|
418
|
+
/**
|
|
419
|
+
* Принадлежность всему списку групп (`true`) или части из него (`false`).
|
|
420
|
+
* @default true
|
|
421
|
+
*/
|
|
422
|
+
and?: boolean;
|
|
423
|
+
/**
|
|
424
|
+
* Принадлежность списку групп (`false`) или не принадлежность (`true`)
|
|
425
|
+
* @default false
|
|
426
|
+
*/
|
|
427
|
+
not?: boolean;
|
|
428
|
+
/**
|
|
429
|
+
* Список групп
|
|
430
|
+
*/
|
|
431
|
+
list: string[];
|
|
432
|
+
}
|
|
433
|
+
export declare class InGroupsExp extends Exp<IInGroupsExp> {
|
|
434
|
+
eval(): _mithril.MithrilPromiseProperty<boolean> & {
|
|
435
|
+
onchange: (v?: boolean) => any;
|
|
436
|
+
};
|
|
437
|
+
}
|
|
438
|
+
/**
|
|
439
|
+
* @markdownDescription
|
|
440
|
+
* Именованное выражение
|
|
441
|
+
*
|
|
442
|
+
* Выполняется выражение `name`, объявленное на уровне формы (`layout.expressions`)
|
|
443
|
+
*
|
|
444
|
+
* @defaultSnippets
|
|
445
|
+
* [
|
|
446
|
+
* {
|
|
447
|
+
* "label": "Именованное выражение (exp)",
|
|
448
|
+
* "body": {
|
|
449
|
+
* "$": "exp",
|
|
450
|
+
* "name": "$1"
|
|
451
|
+
* }
|
|
452
|
+
* }
|
|
453
|
+
* ]
|
|
454
|
+
*/
|
|
455
|
+
interface INamedExp {
|
|
456
|
+
$: "exp";
|
|
457
|
+
name: string;
|
|
458
|
+
}
|
|
459
|
+
export declare class NamedExp extends Exp<INamedExp> {
|
|
460
|
+
private $exp;
|
|
461
|
+
private e;
|
|
462
|
+
constructor(exp: any, ctx: any);
|
|
463
|
+
eval(): any;
|
|
464
|
+
}
|
|
465
|
+
export declare function evalFilter(filter: any, ctx: any): _mithril.MithrilPromise<any>;
|
|
466
|
+
/**
|
|
467
|
+
* @markdownDescription
|
|
468
|
+
* Фильтрация запроса
|
|
469
|
+
*
|
|
470
|
+
* Выполняются все подвыражения указанные в свойствах `filter` и возвращается объект фильтра
|
|
471
|
+
*
|
|
472
|
+
* @defaultSnippets
|
|
473
|
+
* [
|
|
474
|
+
* {
|
|
475
|
+
* "label": "Фильтрация запроса (filter)",
|
|
476
|
+
* "body": {
|
|
477
|
+
* "$": "filter",
|
|
478
|
+
* "filter": {
|
|
479
|
+
* "op": "eq",
|
|
480
|
+
* "p1": "",
|
|
481
|
+
* "p2": ""
|
|
482
|
+
* }
|
|
483
|
+
* }
|
|
484
|
+
* }
|
|
485
|
+
* ]
|
|
486
|
+
*/
|
|
487
|
+
interface IFilterExp {
|
|
488
|
+
$: "filter";
|
|
489
|
+
filter: ExpressionedFilter;
|
|
490
|
+
}
|
|
491
|
+
export declare class FilterExp extends Exp<IFilterExp> {
|
|
492
|
+
filter: ExpressionedFilter;
|
|
493
|
+
eval(): _mithril.MithrilPromise<any>;
|
|
494
|
+
}
|
|
495
|
+
/**
|
|
496
|
+
* @markdownDescription
|
|
497
|
+
* Запрос
|
|
498
|
+
*
|
|
499
|
+
* Выполняется запрос к таблице `table` и возвращается результат
|
|
500
|
+
*
|
|
501
|
+
* @defaultSnippets
|
|
502
|
+
* [
|
|
503
|
+
* {
|
|
504
|
+
* "label": "Запрос (query)",
|
|
505
|
+
* "body": {
|
|
506
|
+
* "$": "query",
|
|
507
|
+
* "table": "",
|
|
508
|
+
* "filter": {
|
|
509
|
+
* "op": "eq",
|
|
510
|
+
* "p1": "",
|
|
511
|
+
* "p2": ""
|
|
512
|
+
* }
|
|
513
|
+
* }
|
|
514
|
+
* }
|
|
515
|
+
* ]
|
|
516
|
+
*/
|
|
517
|
+
interface IQueryExp {
|
|
518
|
+
$: "query";
|
|
519
|
+
table: string;
|
|
520
|
+
filter?: ExpressionedFilter;
|
|
521
|
+
select?: string[];
|
|
522
|
+
sorting?: QuerySorting[];
|
|
523
|
+
count?: boolean;
|
|
524
|
+
top?: number;
|
|
525
|
+
skip?: number;
|
|
526
|
+
}
|
|
527
|
+
export declare class QueryExp extends Exp<IQueryExp> {
|
|
528
|
+
filter: ExpressionedFilter;
|
|
529
|
+
eval(): _mithril.MithrilPromise<any>;
|
|
530
|
+
private fetch;
|
|
531
|
+
}
|
|
532
|
+
/**
|
|
533
|
+
* @markdownDescription
|
|
534
|
+
* Значение поля по пути
|
|
535
|
+
*
|
|
536
|
+
* Возвращается значение поля по пути `path` относительно текущей записи
|
|
537
|
+
* Сложные пути разделяются символом `/`, например `ID_User/Name`
|
|
538
|
+
*
|
|
539
|
+
* Если значение по пути пустое, возвращается `null`
|
|
540
|
+
*
|
|
541
|
+
* @defaultSnippets
|
|
542
|
+
* [
|
|
543
|
+
* {
|
|
544
|
+
* "label": "Значение поля по пути (field)",
|
|
545
|
+
* "body": {
|
|
546
|
+
* "$": "field",
|
|
547
|
+
* "path": "$1"
|
|
548
|
+
* }
|
|
549
|
+
* }
|
|
550
|
+
* ]
|
|
551
|
+
*/
|
|
552
|
+
interface IFieldExp {
|
|
553
|
+
$: "field";
|
|
554
|
+
path: string;
|
|
555
|
+
/** Явно приводит значение к null, если ничего не вернулось. Значение по-умолчанию: true */
|
|
556
|
+
nullIfEmpty?: boolean;
|
|
557
|
+
}
|
|
558
|
+
export declare class FieldExp extends Exp<IFieldExp> {
|
|
559
|
+
schema: SchemaManager;
|
|
560
|
+
eval(): _mithril.MithrilPromise<any>;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* @markdownDescription
|
|
564
|
+
* Проверка на пустое значение по пути
|
|
565
|
+
*
|
|
566
|
+
* Происходит получение значения поля по пути `path` относительно текущей записи и возвращается `true`, если значение пустое
|
|
567
|
+
*
|
|
568
|
+
* @defaultSnippets
|
|
569
|
+
* [
|
|
570
|
+
* {
|
|
571
|
+
* "label": "Проверка на пустое значение по пути (isFieldEmpty)",
|
|
572
|
+
* "body": {
|
|
573
|
+
* "$": "isFieldEmpty",
|
|
574
|
+
* "path": "$1"
|
|
575
|
+
* }
|
|
576
|
+
* }
|
|
577
|
+
* ]
|
|
578
|
+
*/
|
|
579
|
+
interface IIsFieldEmptyExp {
|
|
580
|
+
$: "isFieldEmpty";
|
|
581
|
+
path: string;
|
|
582
|
+
}
|
|
583
|
+
export declare class IsFieldEmptyExp extends FieldExp {
|
|
584
|
+
eval(): _mithril.MithrilPromise<boolean>;
|
|
585
|
+
}
|
|
586
|
+
/**
|
|
587
|
+
* @markdownDescription
|
|
588
|
+
* Выбор поля контекста формы
|
|
589
|
+
*
|
|
590
|
+
* @defaultSnippets
|
|
591
|
+
* [
|
|
592
|
+
* {
|
|
593
|
+
* "label": "Выбор названия поля контекста формы",
|
|
594
|
+
* "body": {
|
|
595
|
+
* "$": "contextParam",
|
|
596
|
+
* "code": "$1"
|
|
597
|
+
* }
|
|
598
|
+
* }
|
|
599
|
+
* ]
|
|
600
|
+
*/
|
|
601
|
+
interface IContextParamExp {
|
|
602
|
+
$: "contextParam";
|
|
603
|
+
code: string;
|
|
604
|
+
nullIfEmpty?: boolean;
|
|
605
|
+
}
|
|
606
|
+
export declare class ContextParamExp extends Exp<IContextParamExp> {
|
|
607
|
+
eval(): _mithril.MithrilPromiseProperty<any> & {
|
|
608
|
+
onchange: (v?: any) => any;
|
|
609
|
+
};
|
|
610
|
+
}
|
|
611
|
+
export declare class Evaluator {
|
|
612
|
+
static map: {
|
|
613
|
+
and: typeof LogicalExp;
|
|
614
|
+
or: typeof LogicalExp;
|
|
615
|
+
lt: typeof CompareExp;
|
|
616
|
+
"<": typeof CompareExp;
|
|
617
|
+
le: typeof CompareExp;
|
|
618
|
+
"<=": typeof CompareExp;
|
|
619
|
+
ge: typeof CompareExp;
|
|
620
|
+
">=": typeof CompareExp;
|
|
621
|
+
gt: typeof CompareExp;
|
|
622
|
+
">": typeof CompareExp;
|
|
623
|
+
"*": typeof MathExp;
|
|
624
|
+
"-": typeof MathExp;
|
|
625
|
+
"+": typeof MathExp;
|
|
626
|
+
"/": typeof MathExp;
|
|
627
|
+
eq: typeof EqExp;
|
|
628
|
+
"=": typeof EqExp;
|
|
629
|
+
ne: typeof NeqExp;
|
|
630
|
+
"<>": typeof NeqExp;
|
|
631
|
+
"!=": typeof NeqExp;
|
|
632
|
+
not: typeof NotExp;
|
|
633
|
+
field: typeof FieldExp;
|
|
634
|
+
in: typeof InExp;
|
|
635
|
+
if: typeof IfExp;
|
|
636
|
+
sp: typeof StoredProcExp;
|
|
637
|
+
sqlfn: typeof SqlFunctionExp;
|
|
638
|
+
prop: typeof PropExp;
|
|
639
|
+
inGroup: typeof IsInRoleExp;
|
|
640
|
+
inRole: typeof IsInRoleExp;
|
|
641
|
+
inGroups: typeof InGroupsExp;
|
|
642
|
+
query: typeof QueryExp;
|
|
643
|
+
filter: typeof FilterExp;
|
|
644
|
+
exp: typeof NamedExp;
|
|
645
|
+
concat: typeof ConcatExp;
|
|
646
|
+
userId: typeof UserIdExp;
|
|
647
|
+
isFieldEmpty: typeof IsFieldEmptyExp;
|
|
648
|
+
now: typeof NowExp;
|
|
649
|
+
contextParam: typeof ContextParamExp;
|
|
650
|
+
};
|
|
651
|
+
static create(exp: any, ctx: any): any;
|
|
652
|
+
static exec(exp: any, ctx: any): any;
|
|
653
|
+
}
|
|
654
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FormCtrl } from "../views/form/form";
|
|
2
|
+
export interface ExtendableMixinEvents {
|
|
3
|
+
init: ((form: FormCtrl) => void)[];
|
|
4
|
+
creating?: any[];
|
|
5
|
+
created?: any[];
|
|
6
|
+
}
|
|
7
|
+
export declare class ExtendableMixin<T, E extends ExtendableMixinEvents> {
|
|
8
|
+
extPostfix: string;
|
|
9
|
+
exts: T;
|
|
10
|
+
events: ExtendableMixinEvents;
|
|
11
|
+
constructor(extPostfix?: string);
|
|
12
|
+
ext(fn: any, extName?: any, enabled?: any, defaults?: any): void;
|
|
13
|
+
getExtName(fn: any): any;
|
|
14
|
+
register(target: any, code: any, options: any): any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Expressioned } from "./Evaluator";
|
|
2
|
+
import { IFilter as IFilterOrig, IFilterGroup, IFilterIn, IFilterItem, Filter as FilterOrig, FilterSetterOptions } from "./IFilter";
|
|
3
|
+
export declare const FilterUserId = "userId";
|
|
4
|
+
/**
|
|
5
|
+
* Фильтр
|
|
6
|
+
*
|
|
7
|
+
* @default { "op": "eq", "p1": "", "p2": "" }
|
|
8
|
+
*/
|
|
9
|
+
export declare type IFilter = IFilterOrig;
|
|
10
|
+
export declare type ExpressionedFilter = Expressioned<IFilterItem> | Expressioned<IFilterGroup> | Expressioned<IFilterIn>;
|
|
11
|
+
export declare const Filter: typeof FilterOrig;
|
|
12
|
+
export interface IFilterSet {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}
|
|
15
|
+
export declare class FilterSet {
|
|
16
|
+
all: {};
|
|
17
|
+
static QUICK: string;
|
|
18
|
+
static VALUES: string;
|
|
19
|
+
static EXTENDED: string;
|
|
20
|
+
static DEFAULT: string;
|
|
21
|
+
static IN_MEMORY: string;
|
|
22
|
+
events: {
|
|
23
|
+
set: any[];
|
|
24
|
+
clear: any[];
|
|
25
|
+
update: any[];
|
|
26
|
+
};
|
|
27
|
+
constructor(all?: {});
|
|
28
|
+
clear(keyPart: any): void;
|
|
29
|
+
get(key?: any): any;
|
|
30
|
+
set(key: string, filter: IFilter, options?: FilterSetterOptions): void;
|
|
31
|
+
setQuickFilter(path: string, filter: IFilter, options?: FilterSetterOptions): void;
|
|
32
|
+
getQuickFilterKey(path: string): string;
|
|
33
|
+
remove(key: string): void;
|
|
34
|
+
static is(key: string, keyPart: string): boolean;
|
|
35
|
+
}
|