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.
Files changed (636) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.js +2 -2
  3. package/dist/index.js.map +1 -1
  4. package/dist/tsconfig.tsbuildinfo +8618 -1103
  5. package/package.json +27 -26
  6. package/types/_core/scripts/Configuration.d.ts +6 -0
  7. package/types/_core/scripts/Router.d.ts +12 -0
  8. package/types/_core/scripts/common/Datasource.d.ts +9 -0
  9. package/types/_core/scripts/common/Field.d.ts +38 -0
  10. package/types/_core/scripts/common/MdtField.d.ts +9 -0
  11. package/types/_core/scripts/common/MdtObject.d.ts +7 -0
  12. package/types/_core/scripts/common/NavigationNode.d.ts +46 -0
  13. package/types/_core/scripts/common/Record.d.ts +12 -0
  14. package/types/_core/scripts/common/ServerMessagePrepare.d.ts +2 -0
  15. package/types/_core/scripts/common/ServerMessageProcess.d.ts +1 -0
  16. package/types/_core/scripts/common/Table.d.ts +34 -0
  17. package/types/_core/scripts/common/controls/ChangePassword.d.ts +23 -0
  18. package/types/_core/scripts/common/controls/ClientError.d.ts +9 -0
  19. package/types/_core/scripts/common/controls/Error.d.ts +13 -0
  20. package/types/_core/scripts/common/controls/ErrorDetails.d.ts +9 -0
  21. package/types/_core/scripts/common/controls/FieldPath.d.ts +56 -0
  22. package/types/_core/scripts/common/controls/Message.d.ts +18 -0
  23. package/types/_core/scripts/common/controls/ServerError.d.ts +12 -0
  24. package/types/_core/scripts/common/controls/ServerMessage.d.ts +30 -0
  25. package/types/_core/scripts/common/controls/commandMenu/commandInput.d.ts +22 -0
  26. package/types/_core/scripts/common/controls/commandMenu/commandItem.d.ts +15 -0
  27. package/types/_core/scripts/common/controls/commandMenu/commandMenu.d.ts +15 -0
  28. package/types/_core/scripts/common/controls/datepicker/datePickerInput.d.ts +45 -0
  29. package/types/_core/scripts/common/controls/datepicker/datepicker.d.ts +31 -0
  30. package/types/_core/scripts/common/controls/datepicker/field.d.ts +15 -0
  31. package/types/_core/scripts/common/controls/datepicker/locale.d.ts +2 -0
  32. package/types/_core/scripts/common/controls/datepicker/numberInput.d.ts +12 -0
  33. package/types/_core/scripts/common/controls/datepicker/timePicker.d.ts +28 -0
  34. package/types/_core/scripts/common/controls/datepicker/types.d.ts +33 -0
  35. package/types/_core/scripts/common/controls/datepicker/utils.d.ts +25 -0
  36. package/types/_core/scripts/common/controls/dragDrop.d.ts +13 -0
  37. package/types/_core/scripts/common/controls/time/timeFieldControl.d.ts +12 -0
  38. package/types/_core/scripts/common/controls/time/timeInput.d.ts +22 -0
  39. package/types/_core/scripts/common/form/CommonFormExtender.d.ts +15 -0
  40. package/types/_core/scripts/common/form/tabs/TabsFormExtender.d.ts +22 -0
  41. package/types/_core/scripts/common/list/ListExt.d.ts +67 -0
  42. package/types/_core/scripts/common/list/aggregation/Aggregation.d.ts +38 -0
  43. package/types/_core/scripts/common/list/cacheUpdateTime/CacheUpdateTimeListExtender.d.ts +22 -0
  44. package/types/_core/scripts/common/list/cellControlExtender/CellControlListExtender.d.ts +18 -0
  45. package/types/_core/scripts/common/list/cellControlExtender/controls/file.d.ts +6 -0
  46. package/types/_core/scripts/common/list/columnMenu/ColumnMenu.d.ts +8 -0
  47. package/types/_core/scripts/common/list/columnMenu/ColumnMenuListExtender.d.ts +26 -0
  48. package/types/_core/scripts/common/list/columnMenu/QuickFilter.d.ts +40 -0
  49. package/types/_core/scripts/common/list/columnMenu/ValuesFilter.d.ts +45 -0
  50. package/types/_core/scripts/common/list/dragDrop/DragDropListExtender.d.ts +44 -0
  51. package/types/_core/scripts/common/list/dragDrop/DragDropListTransformer.d.ts +6 -0
  52. package/types/_core/scripts/common/list/export/ExportListExtender.d.ts +40 -0
  53. package/types/_core/scripts/common/list/form/FormListExtender.d.ts +77 -0
  54. package/types/_core/scripts/common/list/form/openRecord/OpenRecordFormAdapter.d.ts +5 -0
  55. package/types/_core/scripts/common/list/form/openRecord/OpenRecordRowTransformer.d.ts +7 -0
  56. package/types/_core/scripts/common/list/gallery/GalleryListExtender.d.ts +38 -0
  57. package/types/_core/scripts/common/list/group/GroupListExtender.d.ts +26 -0
  58. package/types/_core/scripts/common/list/group/GroupListNamedSettings.d.ts +11 -0
  59. package/types/_core/scripts/common/list/group/GroupingHelper.d.ts +8 -0
  60. package/types/_core/scripts/common/list/group/GroupingListExtender.d.ts +104 -0
  61. package/types/_core/scripts/common/list/group/GroupingRowTransformer.d.ts +10 -0
  62. package/types/_core/scripts/common/list/hierarchy/HierarchyTransformerCtrl.d.ts +4 -0
  63. package/types/_core/scripts/common/list/hierarchy/LoadMoreRowTransformer.d.ts +7 -0
  64. package/types/_core/scripts/common/list/hierarchy/hierarchyListExtender.d.ts +69 -0
  65. package/types/_core/scripts/common/list/historyType/HistoryTypeListExtender.d.ts +18 -0
  66. package/types/_core/scripts/common/list/labelStyle/LabelStyleHelper.d.ts +12 -0
  67. package/types/_core/scripts/common/list/labelStyle/LabelStyleListExtender.d.ts +27 -0
  68. package/types/_core/scripts/common/list/labelStyle/LabelStyleSchema.d.ts +6 -0
  69. package/types/_core/scripts/common/list/legend/LegendListExtender.d.ts +16 -0
  70. package/types/_core/scripts/common/list/listView/ColumnListCtrl.d.ts +12 -0
  71. package/types/_core/scripts/common/list/listView/ListExtender.d.ts +30 -0
  72. package/types/_core/scripts/common/list/listView/ListViewSettings.d.ts +12 -0
  73. package/types/_core/scripts/common/list/namedFilter/BaseListExtender.d.ts +13 -0
  74. package/types/_core/scripts/common/list/namedFilter/InMemoryListExtender.d.ts +37 -0
  75. package/types/_core/scripts/common/list/namedFilter/ListExtender.d.ts +25 -0
  76. package/types/_core/scripts/common/list/namedSettings/Modal.d.ts +19 -0
  77. package/types/_core/scripts/common/list/namedSettings/NamedSettingsDataManager.d.ts +9 -0
  78. package/types/_core/scripts/common/list/namedSettings/NamedSettingsManager.d.ts +59 -0
  79. package/types/_core/scripts/common/list/namedSettings/NamedSettingsRecord.d.ts +18 -0
  80. package/types/_core/scripts/common/list/reorder/ReorderListExtender.d.ts +19 -0
  81. package/types/_core/scripts/common/list/rowAction/RowActionColumn.d.ts +5 -0
  82. package/types/_core/scripts/common/list/select/SelectListColumn.d.ts +5 -0
  83. package/types/_core/scripts/common/list/select/SelectListExtender.d.ts +46 -0
  84. package/types/_core/scripts/common/list/styleField/StyleFieldListExtender.d.ts +14 -0
  85. package/types/_core/scripts/common/list/styleField/StyleTransformers.d.ts +8 -0
  86. package/types/_core/scripts/common/list/toolbar/toolbar.d.ts +37 -0
  87. package/types/_core/scripts/common/list/toolbarFilters/SearchableCheckboxList.d.ts +29 -0
  88. package/types/_core/scripts/common/list/toolbarFilters/ToolbarFiltersListExtender.d.ts +31 -0
  89. package/types/_core/scripts/common/list/virtualScroll/VirtualScrollListExtender.d.ts +27 -0
  90. package/types/_core/scripts/common/module.d.ts +1 -0
  91. package/types/_core/scripts/components/baseFormControls/boolean/checkbox/checkbox.d.ts +10 -0
  92. package/types/_core/scripts/components/baseFormControls/boolean/checkboxFieldControl/checkboxFieldControl.d.ts +4 -0
  93. package/types/_core/scripts/components/baseFormControls/boolean/labeledCheckbox/labeledCheckbox.d.ts +6 -0
  94. package/types/_core/scripts/components/baseFormControls/input/inputView.d.ts +22 -0
  95. package/types/_core/scripts/components/baseFormControls/input/unstyledInputView.d.ts +3 -0
  96. package/types/_core/scripts/components/baseFormControls/picker/picker.d.ts +15 -0
  97. package/types/_core/scripts/components/baseFormControls/select/select.d.ts +24 -0
  98. package/types/_core/scripts/components/baseFormControls/textarea/textarea.d.ts +16 -0
  99. package/types/_core/scripts/components/baseFormControls/wordWrap/wordWrap.d.ts +14 -0
  100. package/types/_core/scripts/components/button/baseButton/button.d.ts +15 -0
  101. package/types/_core/scripts/components/button/dropdownButton/dropdownButton.d.ts +8 -0
  102. package/types/_core/scripts/components/button/dropdownButton/dropdownButtonStateController.d.ts +14 -0
  103. package/types/_core/scripts/components/buttonGroup/buttonGroup.d.ts +11 -0
  104. package/types/_core/scripts/components/cardChart/cardChart.d.ts +27 -0
  105. package/types/_core/scripts/components/cardChart/cardChartChange.d.ts +11 -0
  106. package/types/_core/scripts/components/cardChart/cardChartCtrl.d.ts +10 -0
  107. package/types/_core/scripts/components/cardChart/services/cardFontResizer.d.ts +21 -0
  108. package/types/_core/scripts/components/cardChart/services/cardLineClampService.d.ts +6 -0
  109. package/types/_core/scripts/components/cardChart/services/cardValueFontResizer.d.ts +11 -0
  110. package/types/_core/scripts/components/dropdown/dropdown.d.ts +12 -0
  111. package/types/_core/scripts/components/dropdown/menu/dropdownMenu.d.ts +7 -0
  112. package/types/_core/scripts/components/dropdown/menu/group/dropdownGroup.d.ts +9 -0
  113. package/types/_core/scripts/components/dropdown/menu/item/dropdownInputItem.d.ts +4 -0
  114. package/types/_core/scripts/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -0
  115. package/types/_core/scripts/components/dropdown/menu/item/dropdownItemWrap.d.ts +7 -0
  116. package/types/_core/scripts/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +19 -0
  117. package/types/_core/scripts/components/dropdown/menuActionItem/dropdownMenuItem.d.ts +6 -0
  118. package/types/_core/scripts/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +28 -0
  119. package/types/_core/scripts/components/elements/clearActionView.d.ts +7 -0
  120. package/types/_core/scripts/components/elements/clearIconView.d.ts +6 -0
  121. package/types/_core/scripts/components/form/fieldView/fieldView.d.ts +14 -0
  122. package/types/_core/scripts/components/form/finalFormAdapter/ControlStore.d.ts +13 -0
  123. package/types/_core/scripts/components/form/finalFormAdapter/FinalForm.d.ts +23 -0
  124. package/types/_core/scripts/components/form/finalFormAdapter/IFormLayoutRenderer.d.ts +10 -0
  125. package/types/_core/scripts/components/form/header/headerView.d.ts +14 -0
  126. package/types/_core/scripts/components/form/label/label.d.ts +22 -0
  127. package/types/_core/scripts/components/form/layout/json/FinalFormJsonRenderer.d.ts +60 -0
  128. package/types/_core/scripts/components/form/layout/json/JsonFormView.d.ts +46 -0
  129. package/types/_core/scripts/components/form/layout/json/JsonUtils.d.ts +5 -0
  130. package/types/_core/scripts/components/form/layout/json/fullWidthFormComponent/fullWidthFormComponent.d.ts +8 -0
  131. package/types/_core/scripts/components/form/layout/json/monacoJsonControl.d.ts +5 -0
  132. package/types/_core/scripts/components/form/mdtFieldControl/JsonFormFieldControl.d.ts +23 -0
  133. package/types/_core/scripts/components/hotkey/hotkey.d.ts +7 -0
  134. package/types/_core/scripts/components/icon/icon.d.ts +4 -0
  135. package/types/_core/scripts/components/icon/iconOptions.d.ts +17 -0
  136. package/types/_core/scripts/components/iconButton/iconButton.d.ts +10 -0
  137. package/types/_core/scripts/components/iframe/iframe.d.ts +10 -0
  138. package/types/_core/scripts/components/jsonFormat/jsonFormatView.d.ts +24 -0
  139. package/types/_core/scripts/components/labelStyleBase/labelStyleBase.d.ts +12 -0
  140. package/types/_core/scripts/components/panel/panelView.d.ts +10 -0
  141. package/types/{components → _core/scripts/components}/popover/IPopoverBase.d.ts +6 -3
  142. package/types/_core/scripts/components/popover/PopoverBase.d.ts +23 -0
  143. package/types/_core/scripts/components/processFormBlock/ProcessFormBlockOptions.d.ts +18 -0
  144. package/types/_core/scripts/components/processFormBlock/processFormBlock.d.ts +4 -0
  145. package/types/_core/scripts/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -0
  146. package/types/_core/scripts/components/processPrincipalsList/processPrincipalsList.d.ts +8 -0
  147. package/types/_core/scripts/components/progressBar/progressBar.d.ts +10 -0
  148. package/types/_core/scripts/components/progressBar/progressBarCtrl.d.ts +8 -0
  149. package/types/_core/scripts/components/progressBar/progressBarStateController.d.ts +9 -0
  150. package/types/_core/scripts/components/resizablePanels/panelSizeController/insetAdapter/insetAdapter.d.ts +12 -0
  151. package/types/_core/scripts/components/resizablePanels/panelSizeController/insetAdapter/insetAdapterService.d.ts +14 -0
  152. package/types/_core/scripts/components/resizablePanels/panelSizeController/panelSizeController.d.ts +31 -0
  153. package/types/_core/scripts/components/resizablePanels/panelSizeController/panelsDragController.d.ts +19 -0
  154. package/types/_core/scripts/components/resizablePanels/panelSizeController/resizeController.d.ts +25 -0
  155. package/types/_core/scripts/components/resizablePanels/panelTitle/panelTitle.d.ts +14 -0
  156. package/types/_core/scripts/components/resizablePanels/panelToolbar/panelToolbar.d.ts +6 -0
  157. package/types/_core/scripts/components/resizablePanels/resizablePanel/resizablePanel.d.ts +23 -0
  158. package/types/_core/scripts/components/resizablePanels/resizablePanels.d.ts +12 -0
  159. package/types/_core/scripts/components/resizablePanels/resizablePanelsController.d.ts +14 -0
  160. package/types/_core/scripts/components/resizablePanels/resizablePanelsFocusController.d.ts +16 -0
  161. package/types/_core/scripts/components/resizablePanels/resizer/panelResizer.d.ts +11 -0
  162. package/types/_core/scripts/components/resizablePanels/resizer/resizerPositionController.d.ts +6 -0
  163. package/types/_core/scripts/components/skeleton/Skeleton.d.ts +14 -0
  164. package/types/_core/scripts/components/textWithIcon/textWithIcon.d.ts +17 -0
  165. package/types/_core/scripts/components/toggleablePanels/toggleablePanels.d.ts +34 -0
  166. package/types/_core/scripts/components/toggleablePanels/toggleablePanelsCtrl.d.ts +20 -0
  167. package/types/_core/scripts/components/tooltip/controllers/globalEventHandler.d.ts +19 -0
  168. package/types/_core/scripts/components/tooltip/controllers/tooltipGenerator.d.ts +11 -0
  169. package/types/_core/scripts/components/tooltip/controllers/tooltipPositionController.d.ts +31 -0
  170. package/types/_core/scripts/components/tooltip/controllers/tooltipTarget.d.ts +10 -0
  171. package/types/_core/scripts/components/tooltip/tooltip.d.ts +9 -0
  172. package/types/_core/scripts/components/topNavButton/topNavButton.d.ts +6 -0
  173. package/types/_core/scripts/data/active/ActivationCellTransformer.d.ts +5 -0
  174. package/types/_core/scripts/data/active/ActivationFormAdapter.d.ts +12 -0
  175. package/types/_core/scripts/data/active/ActivationListAdapter.d.ts +10 -0
  176. package/types/_core/scripts/data/active/ActivationManager.d.ts +8 -0
  177. package/types/_core/scripts/data/active/ActivationRowTransformer.d.ts +3 -0
  178. package/types/_core/scripts/data/active/ActivationSchema.d.ts +5 -0
  179. package/types/_core/scripts/data/active/FilterItems.d.ts +18 -0
  180. package/types/_core/scripts/data/fieldFilter/ToolbarFieldFilterListExtender.d.ts +20 -0
  181. package/types/_core/scripts/datasources/ApiDatasource.d.ts +20 -0
  182. package/types/_core/scripts/datasources/FetchResult.d.ts +5 -0
  183. package/types/_core/scripts/datasources/MemoryDatasource.d.ts +26 -0
  184. package/types/_core/scripts/datasources/TabularDatasource/TabularDatasource.d.ts +16 -0
  185. package/types/_core/scripts/datasources/TabularDatasource/TabularDatasourceDataService.d.ts +17 -0
  186. package/types/_core/scripts/errorHandling.d.ts +35 -0
  187. package/types/_core/scripts/helpers/FieldValueFormatter.d.ts +1 -0
  188. package/types/_core/scripts/helpers/IUi.d.ts +1 -0
  189. package/types/_core/scripts/helpers/PositionCalculator.d.ts +59 -0
  190. package/types/_core/scripts/helpers/debug.d.ts +6 -0
  191. package/types/_core/scripts/helpers/extend.d.ts +66 -0
  192. package/types/_core/scripts/helpers/formatOptions.d.ts +6 -0
  193. package/types/_core/scripts/helpers/formattedText.d.ts +9 -0
  194. package/types/_core/scripts/helpers/notification/ConsoleNotifier.d.ts +4 -0
  195. package/types/_core/scripts/helpers/notification/PopupNotifier.d.ts +10 -0
  196. package/types/_core/scripts/helpers/o2m.d.ts +45 -0
  197. package/types/_core/scripts/helpers/polyfills.d.ts +16 -0
  198. package/types/_core/scripts/helpers/removeMarkdown.d.ts +1 -0
  199. package/types/_core/scripts/helpers/textScript/createScript.d.ts +1 -0
  200. package/types/_core/scripts/helpers/textScript/runScript.d.ts +8 -0
  201. package/types/_core/scripts/helpers/types.d.ts +40 -0
  202. package/types/_core/scripts/helpers/ui/animate.d.ts +24 -0
  203. package/types/_core/scripts/helpers/ui/buttonTemplates.d.ts +21 -0
  204. package/types/_core/scripts/helpers/ui/closable.d.ts +2 -0
  205. package/types/_core/scripts/helpers/ui/commandButton.d.ts +10 -0
  206. package/types/_core/scripts/helpers/ui/confirmModal.d.ts +2 -0
  207. package/types/_core/scripts/helpers/ui/dom/getBrowserPrefix.d.ts +9 -0
  208. package/types/_core/scripts/helpers/ui/dom.d.ts +54 -0
  209. package/types/_core/scripts/helpers/ui/el.d.ts +112 -0
  210. package/types/_core/scripts/helpers/ui/expandDropdown.d.ts +3 -0
  211. package/types/_core/scripts/helpers/ui/hacks.d.ts +7 -0
  212. package/types/_core/scripts/helpers/ui/labelStyle/labelStyle.d.ts +16 -0
  213. package/types/_core/scripts/helpers/ui/link/link.d.ts +8 -0
  214. package/types/_core/scripts/helpers/ui/paletteHelper.d.ts +5 -0
  215. package/types/_core/scripts/helpers/ui/setTooltip.d.ts +12 -0
  216. package/types/_core/scripts/helpers/ui/show.d.ts +68 -0
  217. package/types/_core/scripts/helpers/ui/sortable.d.ts +19 -0
  218. package/types/_core/scripts/helpers/ui/tests.d.ts +9 -0
  219. package/types/_core/scripts/helpers/ui/ui_m.d.ts +17 -0
  220. package/types/_core/scripts/helpers/urlHelper.d.ts +9 -0
  221. package/types/_core/scripts/helpers/utils/CacheManager.d.ts +6 -0
  222. package/types/_core/scripts/helpers/utils/arraySortByOrder.d.ts +5 -0
  223. package/types/_core/scripts/helpers/utils/classNames.d.ts +2 -0
  224. package/types/_core/scripts/helpers/utils/deepEqual.d.ts +1 -0
  225. package/types/_core/scripts/helpers/utils/deepPropHandle.d.ts +1 -0
  226. package/types/_core/scripts/helpers/utils/errorHandling.d.ts +1 -0
  227. package/types/_core/scripts/helpers/utils/isPromisable.d.ts +2 -0
  228. package/types/_core/scripts/helpers/utils/json.d.ts +1 -0
  229. package/types/_core/scripts/helpers/utils/object.d.ts +1 -0
  230. package/types/_core/scripts/helpers/utils/stringifyControlSize.d.ts +3 -0
  231. package/types/_core/scripts/helpers/utils/v.d.ts +2 -0
  232. package/types/_core/scripts/helpers/utils.d.ts +146 -0
  233. package/types/_core/scripts/helpers/view.d.ts +8 -0
  234. package/types/_core/scripts/helpers/viewer.d.ts +5 -0
  235. package/types/_core/scripts/helpers/zone/IZone.d.ts +7 -0
  236. package/types/_core/scripts/helpers/zone/Zone.d.ts +14 -0
  237. package/types/_core/scripts/helpers/zone/Zones.d.ts +6 -0
  238. package/types/_core/scripts/messages.d.ts +15 -0
  239. package/types/_core/scripts/security/PermissionLevel.d.ts +32 -0
  240. package/types/_core/scripts/security/User.d.ts +15 -0
  241. package/types/_core/scripts/services/AppCommandManager.d.ts +5 -0
  242. package/types/_core/scripts/services/Auth.d.ts +19 -0
  243. package/types/_core/scripts/services/CommandManager.d.ts +50 -0
  244. package/types/_core/scripts/services/CommandManagerCommands.d.ts +4 -0
  245. package/types/_core/scripts/services/DebugManagerCommands.d.ts +3 -0
  246. package/types/_core/scripts/services/Evaluator.d.ts +654 -0
  247. package/types/_core/scripts/services/Extendable.d.ts +15 -0
  248. package/types/_core/scripts/services/Filter.d.ts +35 -0
  249. package/types/_core/scripts/services/FormManager.d.ts +27 -0
  250. package/types/_core/scripts/services/FormManagerCommands.d.ts +3 -0
  251. package/types/_core/scripts/services/FormService.d.ts +7 -0
  252. package/types/_core/scripts/services/FuzzysortManager.d.ts +7 -0
  253. package/types/_core/scripts/services/GlobalVarManager.d.ts +17 -0
  254. package/types/_core/scripts/services/HotkeyManager.d.ts +4 -0
  255. package/types/_core/scripts/services/IFilter.d.ts +77 -0
  256. package/types/_core/scripts/services/LayoutRecordManager.d.ts +6 -0
  257. package/types/_core/scripts/services/ListManagerCommands.d.ts +3 -0
  258. package/types/_core/scripts/services/ListService.d.ts +21 -0
  259. package/types/_core/scripts/services/ModuleData.d.ts +8 -0
  260. package/types/_core/scripts/services/ModuleService.d.ts +12 -0
  261. package/types/_core/scripts/services/NavigationControlManager.d.ts +61 -0
  262. package/types/_core/scripts/services/NavigationManager.d.ts +60 -0
  263. package/types/_core/scripts/services/NavigationManagerCommands.d.ts +5 -0
  264. package/types/_core/scripts/services/NotificationService.d.ts +22 -0
  265. package/types/_core/scripts/services/OneToManyRecordManager.d.ts +8 -0
  266. package/types/_core/scripts/services/QuerySelectService.d.ts +7 -0
  267. package/types/_core/scripts/services/RecordManager.d.ts +92 -0
  268. package/types/_core/scripts/services/SchemaManager.d.ts +114 -0
  269. package/types/_core/scripts/services/SchemaManagerCommands.d.ts +3 -0
  270. package/types/_core/scripts/services/SearchByDeafultFieldHelper.d.ts +12 -0
  271. package/types/_core/scripts/services/SecurityManager.d.ts +32 -0
  272. package/types/_core/scripts/services/SettingsManager.d.ts +12 -0
  273. package/types/_core/scripts/services/SortingManager.d.ts +13 -0
  274. package/types/_core/scripts/services/TableRefresher/TableRefresher.d.ts +15 -0
  275. package/types/_core/scripts/services/TableRefresher/TableRefresherFormAdapter.d.ts +9 -0
  276. package/types/_core/scripts/services/TableRefresher/TableRefresherListAdapter.d.ts +9 -0
  277. package/types/_core/scripts/services/Validator.d.ts +10 -0
  278. package/types/_core/scripts/services/api/ApiAccessor.d.ts +11 -0
  279. package/types/_core/scripts/services/api/ApiRequestOptions.d.ts +27 -0
  280. package/types/_core/scripts/services/api/ApiUrlHelper.d.ts +18 -0
  281. package/types/_core/scripts/services/api/BaseQuery.d.ts +15 -0
  282. package/types/_core/scripts/services/api/IRequestResult.d.ts +68 -0
  283. package/types/_core/scripts/services/api/Query.d.ts +67 -0
  284. package/types/_core/scripts/services/api/QueryResultHandler.d.ts +27 -0
  285. package/types/_core/scripts/services/browserSupport/block.d.ts +11 -0
  286. package/types/_core/scripts/services/browserSupport/service.d.ts +35 -0
  287. package/types/_core/scripts/services/commandsContext/FormCommandContextManager.d.ts +5 -0
  288. package/types/_core/scripts/services/commandsContext/ListCommandContextManager.d.ts +5 -0
  289. package/types/_core/scripts/services/customModules/customModulesManager.d.ts +18 -0
  290. package/types/_core/scripts/services/customModules/customModulesSettings.d.ts +3 -0
  291. package/types/_core/scripts/services/customModules/facades/AuthFacade.d.ts +7 -0
  292. package/types/_core/scripts/services/customModules/facades/Form/FieldControlFacade.d.ts +19 -0
  293. package/types/_core/scripts/services/customModules/facades/Form/FieldControlManagerFacade.d.ts +5 -0
  294. package/types/_core/scripts/services/customModules/facades/Form/FormControlFacade.d.ts +34 -0
  295. package/types/_core/scripts/services/customModules/facades/Form/FormServiceFacade.d.ts +20 -0
  296. package/types/_core/scripts/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -0
  297. package/types/_core/scripts/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +36 -0
  298. package/types/_core/scripts/services/customModules/facades/Form/IFormControlFacade.d.ts +61 -0
  299. package/types/_core/scripts/services/customModules/facades/Form/IFormFacade.d.ts +60 -0
  300. package/types/_core/scripts/services/customModules/facades/IAuthFacade.d.ts +7 -0
  301. package/types/_core/scripts/services/customModules/facades/IMdtFacade.d.ts +58 -0
  302. package/types/_core/scripts/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -0
  303. package/types/_core/scripts/services/customModules/facades/IPageFacade.d.ts +7 -0
  304. package/types/_core/scripts/services/customModules/facades/List/IListCellFacade.d.ts +8 -0
  305. package/types/_core/scripts/services/customModules/facades/List/IListComponentFacade.d.ts +10 -0
  306. package/types/_core/scripts/services/customModules/facades/List/IListControlFacade.d.ts +41 -0
  307. package/types/_core/scripts/services/customModules/facades/List/IListRowFacade.d.ts +2 -0
  308. package/types/_core/scripts/services/customModules/facades/List/IListServiceFacade.d.ts +24 -0
  309. package/types/_core/scripts/services/customModules/facades/List/ListCellFacade.d.ts +21 -0
  310. package/types/_core/scripts/services/customModules/facades/List/ListControlFacade.d.ts +28 -0
  311. package/types/_core/scripts/services/customModules/facades/List/ListRowFacade.d.ts +14 -0
  312. package/types/_core/scripts/services/customModules/facades/List/ListServiceFacade.d.ts +18 -0
  313. package/types/_core/scripts/services/customModules/facades/ModuleRegistryFacade.d.ts +4 -0
  314. package/types/_core/scripts/services/customModules/facades/PageFacade.d.ts +8 -0
  315. package/types/_core/scripts/services/customModules/facades/facadeUtils.d.ts +5 -0
  316. package/types/_core/scripts/services/customModules/facades/mdtFacade.d.ts +46 -0
  317. package/types/_core/scripts/services/customModules/facades/schema/FieldFacade.d.ts +11 -0
  318. package/types/_core/scripts/services/customModules/facades/schema/IFieldFacade.d.ts +7 -0
  319. package/types/_core/scripts/services/customModules/facades/schema/IObjectFacade.d.ts +9 -0
  320. package/types/_core/scripts/services/customModules/facades/schema/ISchemaFacade.d.ts +5 -0
  321. package/types/_core/scripts/services/customModules/facades/schema/ObjectFacade.d.ts +13 -0
  322. package/types/_core/scripts/services/customModules/facades/schema/SchemaFacade.d.ts +5 -0
  323. package/types/_core/scripts/services/customModules/facades/services/INavigationFacade.d.ts +43 -0
  324. package/types/_core/scripts/services/customModules/facades/services/ISecurityFacade.d.ts +19 -0
  325. package/types/_core/scripts/services/customModules/facades/services/NavigationFacade.d.ts +10 -0
  326. package/types/_core/scripts/services/customModules/facades/services/SecurityFacade.d.ts +5 -0
  327. package/types/_core/scripts/services/customModules/facades/utils/ApiFacade.d.ts +15 -0
  328. package/types/_core/scripts/services/customModules/facades/utils/DropdownFacade.d.ts +5 -0
  329. package/types/_core/scripts/services/customModules/facades/utils/IApiFacade.d.ts +43 -0
  330. package/types/_core/scripts/services/customModules/facades/utils/IDropdownFacade.d.ts +4 -0
  331. package/types/_core/scripts/services/customModules/facades/utils/IUiComponentsFacade.d.ts +42 -0
  332. package/types/_core/scripts/services/customModules/facades/utils/IUiFacade.d.ts +69 -0
  333. package/types/_core/scripts/services/customModules/facades/utils/IUtilsFacade.d.ts +6 -0
  334. package/types/_core/scripts/services/customModules/facades/utils/ImUtilsFacade.d.ts +25 -0
  335. package/types/_core/scripts/services/customModules/facades/utils/UiComponentsFacade.d.ts +19 -0
  336. package/types/_core/scripts/services/customModules/facades/utils/UiFacade.d.ts +12 -0
  337. package/types/_core/scripts/services/customModules/facades/utils/UtilsFacade.d.ts +2 -0
  338. package/types/_core/scripts/services/customModules/facades/utils/mUtilsFacade.d.ts +2 -0
  339. package/types/_core/scripts/services/dropdown/DropdownManager.d.ts +7 -0
  340. package/types/_core/scripts/services/dropdown/DropdownMenu.d.ts +13 -0
  341. package/types/_core/scripts/services/dropdown/IDropDownManager.d.ts +5 -0
  342. package/types/_core/scripts/services/dropdown/IDropDownMenu.d.ts +26 -0
  343. package/types/_core/scripts/services/dropdown/createDropdown.d.ts +3 -0
  344. package/types/_core/scripts/services/jsonSchema/JsonSchemaManager.d.ts +17 -0
  345. package/types/_core/scripts/services/jsonSchema/JsonSchemaValidator.d.ts +11 -0
  346. package/types/_core/scripts/services/objectRules/ObjectRuleTypes.d.ts +32 -0
  347. package/types/_core/scripts/services/objectRules/ObjectRules.d.ts +27 -0
  348. package/types/_core/scripts/services/objectRules/ObjectRulesApiDatasource.d.ts +6 -0
  349. package/types/_core/scripts/services/objectRules/ObjectRulesDataPurifier.d.ts +4 -0
  350. package/types/_core/scripts/services/objectRules/ObjectRulesEditorSetup.d.ts +2 -0
  351. package/types/_core/scripts/services/objectRules/ObjectRulesFormAdapter.d.ts +28 -0
  352. package/types/_core/scripts/services/objectRules/ObjectRulesScriptProvider.d.ts +24 -0
  353. package/types/_core/scripts/services/objectRules/ObjectRulesService.d.ts +19 -0
  354. package/types/_core/scripts/services/objectRules/ObjectRulesValidator.d.ts +25 -0
  355. package/types/_core/scripts/services/objectRules/ui/ObjectRuleModal.d.ts +50 -0
  356. package/types/_core/scripts/services/schema/IExp.schema.d.ts +2 -0
  357. package/types/_core/scripts/setupMainForms.d.ts +1 -0
  358. package/types/_core/scripts/views/Animator.d.ts +19 -0
  359. package/types/_core/scripts/views/CenteredMessage.d.ts +5 -0
  360. package/types/_core/scripts/views/CustomCss.d.ts +13 -0
  361. package/types/_core/scripts/views/FramePage.d.ts +6 -0
  362. package/types/_core/scripts/views/containers/ModalSizeManager.d.ts +12 -0
  363. package/types/_core/scripts/views/containers/containerMixin.d.ts +79 -0
  364. package/types/_core/scripts/views/containers/modal.d.ts +67 -0
  365. package/types/_core/scripts/views/containers/popover.d.ts +24 -0
  366. package/types/_core/scripts/views/containers/side.d.ts +16 -0
  367. package/types/_core/scripts/views/controls/Alert.d.ts +18 -0
  368. package/types/_core/scripts/views/controls/ContextMenu.d.ts +24 -0
  369. package/types/_core/scripts/views/controls/Control.d.ts +7 -0
  370. package/types/_core/scripts/views/controls/DropdownMenu.d.ts +86 -0
  371. package/types/_core/scripts/views/controls/DropdownMenuService.d.ts +5 -0
  372. package/types/_core/scripts/views/controls/JsonViewControl.d.ts +16 -0
  373. package/types/_core/scripts/views/controls/JsonViewFieldControl.d.ts +11 -0
  374. package/types/_core/scripts/views/controls/MessageText.d.ts +4 -0
  375. package/types/_core/scripts/views/controls/NotifiationsCtrl.d.ts +8 -0
  376. package/types/_core/scripts/views/controls/ObjectFormatControl.d.ts +5 -0
  377. package/types/_core/scripts/views/controls/Reorder.d.ts +25 -0
  378. package/types/_core/scripts/views/controls/ReorderView.d.ts +22 -0
  379. package/types/_core/scripts/views/controls/Resizer.d.ts +32 -0
  380. package/types/_core/scripts/views/controls/ResizerView.d.ts +8 -0
  381. package/types/_core/scripts/views/controls/SplitBlock.d.ts +21 -0
  382. package/types/_core/scripts/views/controls/SplitBlockSection.d.ts +27 -0
  383. package/types/_core/scripts/views/controls/UserProfile.d.ts +19 -0
  384. package/types/_core/scripts/views/controls/panels/Panel.d.ts +59 -0
  385. package/types/_core/scripts/views/controls/panels/PanelContainer.d.ts +34 -0
  386. package/types/_core/scripts/views/form/ControlManager.d.ts +52 -0
  387. package/types/_core/scripts/views/form/FormEvaluator.d.ts +25 -0
  388. package/types/_core/scripts/views/form/FormState.d.ts +34 -0
  389. package/types/_core/scripts/views/form/Layout.d.ts +104 -0
  390. package/types/_core/scripts/views/form/LayoutTypes.d.ts +390 -0
  391. package/types/_core/scripts/views/form/button.d.ts +9 -0
  392. package/types/_core/scripts/views/form/control.d.ts +7 -0
  393. package/types/_core/scripts/views/form/controls/OneToOneFormField.d.ts +10 -0
  394. package/types/_core/scripts/views/form/controls/bitMask.d.ts +11 -0
  395. package/types/_core/scripts/views/form/controls/boolean-group.d.ts +7 -0
  396. package/types/_core/scripts/views/form/controls/boolean.d.ts +16 -0
  397. package/types/_core/scripts/views/form/controls/changeable.d.ts +17 -0
  398. package/types/_core/scripts/views/form/controls/code/adapters/base.d.ts +6 -0
  399. package/types/_core/scripts/views/form/controls/code/adapters/markdown.d.ts +10 -0
  400. package/types/_core/scripts/views/form/controls/code/code.d.ts +31 -0
  401. package/types/_core/scripts/views/form/controls/code/codeText.d.ts +35 -0
  402. package/types/_core/scripts/views/form/controls/code/preview/markdown.d.ts +14 -0
  403. package/types/_core/scripts/views/form/controls/commonControl/ICommonControl.d.ts +23 -0
  404. package/types/_core/scripts/views/form/controls/commonControl/commonControl.d.ts +5 -0
  405. package/types/_core/scripts/views/form/controls/commonControl/mdtCommonControl.d.ts +3 -0
  406. package/types/_core/scripts/views/form/controls/commonControl/removeInputStyle.d.ts +3 -0
  407. package/types/_core/scripts/views/form/controls/date.d.ts +28 -0
  408. package/types/_core/scripts/views/form/controls/dateLabel.d.ts +11 -0
  409. package/types/_core/scripts/views/form/controls/dynamicFk.d.ts +38 -0
  410. package/types/_core/scripts/views/form/controls/fieldPathField.d.ts +19 -0
  411. package/types/_core/scripts/views/form/controls/fileupload/AttachmentFormExtender.d.ts +5 -0
  412. package/types/_core/scripts/views/form/controls/fileupload/file.d.ts +68 -0
  413. package/types/_core/scripts/views/form/controls/fileupload/fileuploadService.d.ts +3 -0
  414. package/types/_core/scripts/views/form/controls/fileupload/multifile.d.ts +45 -0
  415. package/types/_core/scripts/views/form/controls/fileupload/thumblist.d.ts +35 -0
  416. package/types/_core/scripts/views/form/controls/filter/filterFieldModal.d.ts +15 -0
  417. package/types/_core/scripts/views/form/controls/filter/filterSettings.d.ts +33 -0
  418. package/types/_core/scripts/views/form/controls/filter.d.ts +15 -0
  419. package/types/_core/scripts/views/form/controls/formField.d.ts +58 -0
  420. package/types/_core/scripts/views/form/controls/geography.d.ts +8 -0
  421. package/types/_core/scripts/views/form/controls/html.d.ts +27 -0
  422. package/types/_core/scripts/views/form/controls/iconPicker.d.ts +36 -0
  423. package/types/_core/scripts/views/form/controls/list.d.ts +18 -0
  424. package/types/_core/scripts/views/form/controls/listGrid.d.ts +22 -0
  425. package/types/_core/scripts/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +18 -0
  426. package/types/_core/scripts/views/form/controls/monacoEditor/MonacoFieldControlOptions.schema.d.ts +5 -0
  427. package/types/_core/scripts/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +69 -0
  428. package/types/_core/scripts/views/form/controls/monacoEditor/jsonSchemas/schemaIndex.d.ts +1 -0
  429. package/types/_core/scripts/views/form/controls/monacoEditor/monacoCode.d.ts +20 -0
  430. package/types/_core/scripts/views/form/controls/monacoEditor/monacoField.d.ts +18 -0
  431. package/types/_core/scripts/views/form/controls/monacoEditor/monacoLibService.d.ts +9 -0
  432. package/types/_core/scripts/views/form/controls/monacoEditor/monacoManager.d.ts +23 -0
  433. package/types/_core/scripts/views/form/controls/notFound.d.ts +6 -0
  434. package/types/_core/scripts/views/form/controls/picker/gridPicker.d.ts +16 -0
  435. package/types/_core/scripts/views/form/controls/picker/multiPicker.d.ts +28 -0
  436. package/types/_core/scripts/views/form/controls/picker/multiPickerField.d.ts +39 -0
  437. package/types/_core/scripts/views/form/controls/picker/picker.d.ts +72 -0
  438. package/types/_core/scripts/views/form/controls/picker/pickerInput.d.ts +43 -0
  439. package/types/_core/scripts/views/form/controls/query/BuilderFieldControlBase.d.ts +23 -0
  440. package/types/_core/scripts/views/form/controls/query/ControlsList.d.ts +20 -0
  441. package/types/_core/scripts/views/form/controls/query/QueryBuilderControl.d.ts +15 -0
  442. package/types/_core/scripts/views/form/controls/query/SelectBuilderControl.d.ts +32 -0
  443. package/types/_core/scripts/views/form/controls/query/UpdateBuilderControl.d.ts +12 -0
  444. package/types/_core/scripts/views/form/controls/radio.d.ts +24 -0
  445. package/types/_core/scripts/views/form/controls/radioPicker.d.ts +10 -0
  446. package/types/_core/scripts/views/form/controls/secretFieldCtrl.d.ts +12 -0
  447. package/types/_core/scripts/views/form/controls/select.d.ts +53 -0
  448. package/types/_core/scripts/views/form/controls/sortingList.d.ts +13 -0
  449. package/types/_core/scripts/views/form/controls/text.d.ts +30 -0
  450. package/types/_core/scripts/views/form/controls/textViewPreparator.d.ts +27 -0
  451. package/types/_core/scripts/views/form/controls/toggleablePanels/codeEditor/getCodeEditor.d.ts +5 -0
  452. package/types/_core/scripts/views/form/controls/toggleablePanels/codeEditor/toggleablePanelsEditorOnlyContent.d.ts +5 -0
  453. package/types/_core/scripts/views/form/controls/toggleablePanels/contentLayout/toggleablePanelsContentLayout.d.ts +6 -0
  454. package/types/_core/scripts/views/form/controls/toggleablePanels/toolbar/toggleablePanelsToolbar.d.ts +9 -0
  455. package/types/_core/scripts/views/form/controls/toggleablePanels/wrapper/toggleablePanelsWrapper.d.ts +8 -0
  456. package/types/_core/scripts/views/form/controls.d.ts +37 -0
  457. package/types/_core/scripts/views/form/features/loadingProgress/progressBarFormAdapter.d.ts +8 -0
  458. package/types/_core/scripts/views/form/field.d.ts +144 -0
  459. package/types/_core/scripts/views/form/formButtonsOrder.d.ts +8 -0
  460. package/types/_core/scripts/views/form/formContextParam.d.ts +20 -0
  461. package/types/_core/scripts/views/form/formDebug.d.ts +19 -0
  462. package/types/_core/scripts/views/form/formListCtrl.d.ts +36 -0
  463. package/types/_core/scripts/views/form/formTypes.d.ts +4 -0
  464. package/types/_core/scripts/views/form/frame.d.ts +16 -0
  465. package/types/_core/scripts/views/form/header.d.ts +10 -0
  466. package/types/_core/scripts/views/form/listFormContextParam.d.ts +4 -0
  467. package/types/_core/scripts/views/form/markdown.d.ts +12 -0
  468. package/types/_core/scripts/views/form/oneToMany.d.ts +79 -0
  469. package/types/_core/scripts/views/form/oneToManyControlService.d.ts +26 -0
  470. package/types/_core/scripts/views/form/panel.d.ts +25 -0
  471. package/types/_core/scripts/views/form/playground/FormEvaluatorPlayground.d.ts +7 -0
  472. package/types/_core/scripts/views/form/playground/FormPlaygroundCtrl.d.ts +21 -0
  473. package/types/_core/scripts/views/form/schema/FormPageExtOptions.schema.d.ts +22 -0
  474. package/types/_core/scripts/views/form/schema/FormPageOptions.schema.d.ts +17 -0
  475. package/types/_core/scripts/views/form/tabs.d.ts +20 -0
  476. package/types/_core/scripts/views/form/templater/autorefresher/templaterAutorefresher.d.ts +20 -0
  477. package/types/_core/scripts/views/form/templater/panelsTemplater/panelsTemplater.d.ts +35 -0
  478. package/types/_core/scripts/views/form/templater/panelsTemplater/templaterProgressBar.d.ts +10 -0
  479. package/types/_core/scripts/views/form/templater/templateAbort.d.ts +4 -0
  480. package/types/_core/scripts/views/form/templater/templateEvaluator.d.ts +59 -0
  481. package/types/_core/scripts/views/form/templater/templatePreview.d.ts +20 -0
  482. package/types/_core/scripts/views/form/templater/templaterEditorService.d.ts +5 -0
  483. package/types/_core/scripts/views/form/templater/templaterPreviewWindowController.d.ts +9 -0
  484. package/types/_core/scripts/views/form/templater/templaterWorkerService.d.ts +11 -0
  485. package/types/_core/scripts/views/gallery/Gallery.d.ts +41 -0
  486. package/types/_core/scripts/views/gallery/ThumbImage.d.ts +26 -0
  487. package/types/_core/scripts/views/layouts/mainLayout.d.ts +2 -0
  488. package/types/_core/scripts/views/layouts/splashLayout.d.ts +2 -0
  489. package/types/_core/scripts/views/list/CheckboxList.d.ts +25 -0
  490. package/types/_core/scripts/views/list/EventsPriority.d.ts +13 -0
  491. package/types/_core/scripts/views/list/IListView.d.ts +58 -0
  492. package/types/_core/scripts/views/list/ListHelper.d.ts +3 -0
  493. package/types/_core/scripts/views/list/ListOptions.d.ts +37 -0
  494. package/types/_core/scripts/views/list/ListView.d.ts +32 -0
  495. package/types/_core/scripts/views/list/O2mColumn.d.ts +21 -0
  496. package/types/_core/scripts/views/list/features/aggregation/AggregationListExtender.d.ts +26 -0
  497. package/types/_core/scripts/views/list/features/columnFixator/ListColumnFixator.d.ts +46 -0
  498. package/types/_core/scripts/views/list/features/loadingProgress/progressBarListAdapter.d.ts +8 -0
  499. package/types/_core/scripts/views/list/features/rowClamp/ListRowClampAdapter.d.ts +8 -0
  500. package/types/_core/scripts/views/list/features/rowClamp/RowClamp.d.ts +29 -0
  501. package/types/_core/scripts/views/list/features/settingsStore/ListSettingsStore.d.ts +17 -0
  502. package/types/_core/scripts/views/list/fieldColumn.d.ts +21 -0
  503. package/types/_core/scripts/views/list/schema/ListPageExtOptions.schema.d.ts +127 -0
  504. package/types/_core/scripts/views/list/schema/ListPageOptions.schema.d.ts +76 -0
  505. package/types/_core/scripts/views/login/FormAuthCtrl.d.ts +21 -0
  506. package/types/_core/scripts/views/login/LoginCtrl.d.ts +27 -0
  507. package/types/_core/scripts/views/page/Content.d.ts +17 -0
  508. package/types/_core/scripts/views/page/ContentListCtrl.d.ts +25 -0
  509. package/types/_core/scripts/views/page/DateFilterList.d.ts +1 -0
  510. package/types/_core/scripts/views/page/ErrorPage.d.ts +20 -0
  511. package/types/_core/scripts/views/page/Page.d.ts +40 -0
  512. package/types/_core/scripts/views/page/PageTypes.d.ts +7 -0
  513. package/types/_core/scripts/views/page/PageZoneTypes.d.ts +1 -0
  514. package/types/_core/scripts/views/page/PageZones.d.ts +2 -0
  515. package/types/_core/scripts/views/page/SideNav.d.ts +14 -0
  516. package/types/_core/scripts/views/page/SideNavView.d.ts +6 -0
  517. package/types/_core/scripts/views/page/SplashPage.d.ts +11 -0
  518. package/types/_core/scripts/views/page/SplitPageButton.d.ts +5 -0
  519. package/types/_core/scripts/views/page/charts/ChartControlOptions.schema.d.ts +460 -0
  520. package/types/_core/scripts/views/page/charts/ChartFormControlOptions.schema.d.ts +35 -0
  521. package/types/_core/scripts/views/page/charts/chartControl.d.ts +19 -0
  522. package/types/_core/scripts/views/page/charts/chartControlDataService.d.ts +38 -0
  523. package/types/_core/scripts/views/page/charts/chartFormControl.d.ts +27 -0
  524. package/types/_core/scripts/views/page/charts/configAdapter/cardChart.d.ts +17 -0
  525. package/types/_core/scripts/views/page/charts/configAdapter/cardServices/cardOptionsService.d.ts +37 -0
  526. package/types/_core/scripts/views/page/charts/configAdapter/cardServices/colorRangeManager.d.ts +7 -0
  527. package/types/_core/scripts/views/page/charts/configAdapter/chartBaseOptionsAdapter.d.ts +3 -0
  528. package/types/_core/scripts/views/page/charts/configAdapter/chartConfigAdapter.d.ts +13 -0
  529. package/types/_core/scripts/views/page/charts/configAdapter/chartFieldsAdapter.d.ts +25 -0
  530. package/types/_core/scripts/views/page/charts/configAdapter/chartModel.d.ts +11 -0
  531. package/types/_core/scripts/views/page/charts/configAdapter/libChart.d.ts +21 -0
  532. package/types/_core/scripts/views/page/dashboard/DashboardPageControlOptions.schema.d.ts +3 -0
  533. package/types/_core/scripts/views/page/dashboard/dashboardPageControl.d.ts +15 -0
  534. package/types/_core/scripts/views/page/dashboard/dashboardPageCreator.d.ts +1 -0
  535. package/types/_core/scripts/views/page/firstRecord/FirstRecordCreator.d.ts +1 -0
  536. package/types/_core/scripts/views/page/firstRecord/FirstRecordCtrl.d.ts +5 -0
  537. package/types/_core/scripts/views/page/fkPanels/FkPanels.d.ts +25 -0
  538. package/types/_core/scripts/views/page/fkPanels/FkPanelsPageCreator.d.ts +1 -0
  539. package/types/_core/scripts/views/page/fkPanels/FkPanelsPageOptions.schema.d.ts +14 -0
  540. package/types/_core/scripts/views/pickRecordModal.d.ts +11 -0
  541. package/types/_core/scripts/views/security/FilterColumnCtrl.d.ts +15 -0
  542. package/types/_core/scripts/views/security/PermisionLevelColumnCtrl.d.ts +13 -0
  543. package/types/_core/scripts/views/security/PrincipalPermissionTitleColumn.d.ts +3 -0
  544. package/types/admin/scripts/AboutCtrl.d.ts +9 -0
  545. package/types/admin/scripts/Designer/Constructor.d.ts +25 -0
  546. package/types/admin/scripts/Designer/DesignFormExtender.d.ts +3 -0
  547. package/types/admin/scripts/Designer/Json.d.ts +12 -0
  548. package/types/admin/scripts/Designer/JsonEditor.d.ts +10 -0
  549. package/types/admin/scripts/Designer/LayoutEdit.d.ts +36 -0
  550. package/types/admin/scripts/Designer/controls/ChartDesignerCtrl.d.ts +17 -0
  551. package/types/admin/scripts/Designer/controls/Field.d.ts +74 -0
  552. package/types/admin/scripts/Designer/controls/Frame.d.ts +26 -0
  553. package/types/admin/scripts/Designer/controls/Header.d.ts +8 -0
  554. package/types/admin/scripts/Designer/controls/Markdown.d.ts +6 -0
  555. package/types/admin/scripts/Designer/controls/Panel.d.ts +6 -0
  556. package/types/admin/scripts/Designer/controls/Tabs.d.ts +7 -0
  557. package/types/admin/scripts/emailCheck.d.ts +2 -0
  558. package/types/admin/scripts/forms/LayoutForm.d.ts +4 -0
  559. package/types/admin/scripts/forms/ListForm.d.ts +2 -0
  560. package/types/admin/scripts/forms/ObjectFieldForm.d.ts +2 -0
  561. package/types/admin/scripts/forms/ObjectForm.d.ts +3 -0
  562. package/types/admin/scripts/list/DesignerListExtender.d.ts +26 -0
  563. package/types/admin/scripts/list/DesignerListTransformer.d.ts +6 -0
  564. package/types/admin/scripts/list/ListColumnDesignFormCtrl.d.ts +9 -0
  565. package/types/admin/scripts/list/ListResizer.d.ts +9 -0
  566. package/types/admin/scripts/manageNav.d.ts +1 -0
  567. package/types/admin/scripts/module.d.ts +32 -0
  568. package/types/admin/scripts/principalList.d.ts +6 -0
  569. package/types/admin/scripts/reorder.d.ts +10 -0
  570. package/types/admin/scripts/resizer.d.ts +9 -0
  571. package/types/admin/scripts/scripting.d.ts +4 -0
  572. package/types/components/baseFormControls/input/inputView.d.ts +22 -0
  573. package/types/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -0
  574. package/types/components/dropdown/menu/item/dropdownItemWrap.d.ts +7 -0
  575. package/types/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +4 -0
  576. package/types/components/dropdown/menuActionItem/dropdownMenuItem.d.ts +6 -0
  577. package/types/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +2 -1
  578. package/types/components/icon/icon.d.ts +4 -0
  579. package/types/components/tooltip/controllers/globalEventHandler.d.ts +19 -0
  580. package/types/components/tooltip/controllers/tooltipGenerator.d.ts +11 -0
  581. package/types/components/tooltip/controllers/tooltipPositionController.d.ts +31 -0
  582. package/types/components/tooltip/controllers/tooltipTarget.d.ts +10 -0
  583. package/types/components/tooltip/tooltip.d.ts +9 -0
  584. package/types/dm/scripts/CloneFormCtrl.d.ts +12 -0
  585. package/types/dm/scripts/DeleteFormCtrl.d.ts +12 -0
  586. package/types/dm/scripts/DmFormCtrl.d.ts +12 -0
  587. package/types/dm/scripts/DmService.d.ts +10 -0
  588. package/types/dm/scripts/DmTypes.d.ts +15 -0
  589. package/types/dm/scripts/LinkedFieldAction.d.ts +33 -0
  590. package/types/dm/scripts/MergeFormCtrl.d.ts +13 -0
  591. package/types/dm/scripts/MergeHelper.d.ts +17 -0
  592. package/types/dm/scripts/MergeListExtender.d.ts +25 -0
  593. package/types/dm/scripts/module.d.ts +4 -0
  594. package/types/helpers/PositionCalculator.d.ts +59 -0
  595. package/types/helpers/formattedText.d.ts +2 -1
  596. package/types/helpers/types.d.ts +9 -2
  597. package/types/helpers/ui/setTooltip.d.ts +12 -0
  598. package/types/helpers/utils/classNames.d.ts +2 -0
  599. package/types/helpers/utils/object.d.ts +1 -0
  600. package/types/helpers/utils/stringifyControlSize.d.ts +3 -0
  601. package/types/helpers/utils/v.d.ts +2 -0
  602. package/types/helpers/zone/IZone.d.ts +0 -1
  603. package/types/helpers/zone/Zones.d.ts +2 -0
  604. package/types/inline/scripts/CellList.d.ts +14 -0
  605. package/types/inline/scripts/Editor.d.ts +93 -0
  606. package/types/inline/scripts/ListExtender.d.ts +41 -0
  607. package/types/inline/scripts/ListExtenderTypes.d.ts +29 -0
  608. package/types/inline/scripts/autocommit/autocommit.d.ts +6 -0
  609. package/types/inline/scripts/before.d.ts +10 -0
  610. package/types/inline/scripts/easyInline/FKDropdown.d.ts +52 -0
  611. package/types/inline/scripts/easyInline/easyInline.d.ts +11 -0
  612. package/types/inline/scripts/messages.d.ts +1 -0
  613. package/types/inline/scripts/module.d.ts +15 -0
  614. package/types/inline/scripts/transformers/CellTransformer.d.ts +8 -0
  615. package/types/inline/scripts/transformers/ListTransformer.d.ts +1 -0
  616. package/types/inline/scripts/transformers/RowTransformer.d.ts +1 -0
  617. package/types/inline/scripts/ui-bindings.d.ts +1 -0
  618. package/types/inline/scripts/validation/inlineValidator.d.ts +8 -0
  619. package/types/services/customModules/facades/Form/IFormControlFacade.d.ts +4 -0
  620. package/types/services/customModules/facades/IMdtFacade.d.ts +3 -0
  621. package/types/services/customModules/facades/IPageFacade.d.ts +7 -0
  622. package/types/services/customModules/facades/PageFacade.d.ts +5 -0
  623. package/types/services/customModules/facades/utils/IDropdownFacade.d.ts +4 -0
  624. package/types/services/customModules/facades/utils/IUiComponentsFacade.d.ts +19 -5
  625. package/types/services/customModules/facades/utils/IUiFacade.d.ts +8 -1
  626. package/types/services/customModules/facades/utils/IUtilsFacade.d.ts +1 -0
  627. package/types/services/customModules/facades/utils/ImUtilsFacade.d.ts +3 -0
  628. package/types/services/dropdown/DropdownManager.d.ts +7 -0
  629. package/types/services/dropdown/DropdownMenu.d.ts +11 -0
  630. package/types/services/dropdown/IDropDownMenu.d.ts +15 -11
  631. package/types/views/form/controls/commonControl/ICommonControl.d.ts +23 -0
  632. package/types/views/page/PageTypes.d.ts +7 -0
  633. package/types/views/page/PageZoneCodes.d.ts +1 -0
  634. package/types/views/page/PageZoneTypes.d.ts +1 -0
  635. package/types/views/page/PageZones.d.ts +2 -0
  636. package/types/components/tooltip/controllers/tooltipAttributes.d.ts +0 -2
@@ -0,0 +1,27 @@
1
+ import { Field } from "../common/Field";
2
+ import { Table } from "../common/Table";
3
+ import { ApiService } from "./api/ApiService";
4
+ import { FormLayout } from "../views/form/Layout";
5
+ import { ApiRequestOptions } from "./api/ApiRequestOptions";
6
+ export declare class FormManager {
7
+ api: ApiService;
8
+ events: {
9
+ create: any[];
10
+ itemCreated: any[];
11
+ };
12
+ createEmpty(): {
13
+ rows: {
14
+ cols: any[];
15
+ }[];
16
+ };
17
+ create(t: Table, key?: any): any;
18
+ createItem: (f: Field) => {
19
+ width: number;
20
+ type: string;
21
+ options: {
22
+ field: string;
23
+ };
24
+ };
25
+ save(t: Table, layout: FormLayout, layoutCode: string): any;
26
+ get(t: Table, key: string, layoutCode: string, reqOptions?: ApiRequestOptions): any;
27
+ }
@@ -0,0 +1,3 @@
1
+ export declare class FormManagerCommands {
2
+ static init(): void;
3
+ }
@@ -0,0 +1,7 @@
1
+ import { ExtendableMixinEvents, ExtendableMixin } from "./Extendable";
2
+ import { FormCtrl } from "_core/scripts/views/form/form";
3
+ export declare class FormService extends ExtendableMixin<{}, ExtendableMixinEvents> {
4
+ constructor();
5
+ initForm(form: FormCtrl): void;
6
+ created(form: any, extConfig: any): void;
7
+ }
@@ -0,0 +1,7 @@
1
+ export interface FuzzysortSearchOptions {
2
+ keys: string[];
3
+ }
4
+ export declare class FuzzysortManager {
5
+ static search<I>(source: string, target: I[], options?: FuzzysortSearchOptions): Fuzzysort.KeysResults<I>;
6
+ static highlight(target: Fuzzysort.Result, highlightOpen?: string, highlightClose?: string): string;
7
+ }
@@ -0,0 +1,17 @@
1
+ import { ApiService } from "./api/ApiService";
2
+ import { SchemaManager } from "./SchemaManager";
3
+ export declare const MDTGlobalVars: {
4
+ quickFilterSelectAll: string;
5
+ mdtListAggregate: string;
6
+ fileDownloadTimeLimit: string;
7
+ sidebarActionsPanel: string;
8
+ };
9
+ declare class GlobalVarClass {
10
+ private settings;
11
+ inited: any;
12
+ init(api: ApiService, schema: SchemaManager): void;
13
+ getValue(code: string, defaultValue?: any): any;
14
+ }
15
+ export declare const GlobalVarManager: GlobalVarClass;
16
+ export declare function sideActionsPanelEnabled(): any;
17
+ export {};
@@ -0,0 +1,4 @@
1
+ export declare class HotkeyManager {
2
+ static keyJoinWith: string;
3
+ static eventToString(e: any): string;
4
+ }
@@ -0,0 +1,77 @@
1
+ /**
2
+ * Фильтр
3
+ *
4
+ * @default { "op": "eq", "p1": "", "p2": "" }
5
+ */
6
+ export declare type IFilter = IFilterItem | IFilterGroup | IFilterIn;
7
+ /** Группировка фильтров */
8
+ export interface IFilterGroup {
9
+ op: "and" | "or";
10
+ groups: IFilter[];
11
+ not?: boolean;
12
+ }
13
+ /** Фильтр */
14
+ export interface IFilterItem {
15
+ op: "eq" | "ne" | "gt" | "ge" | "lt" | "le" | "startsWith" | "endsWith" | "contains" | "fulltext" | "equalTemplate";
16
+ /** Поле, по которому происходит фильтрация */
17
+ p1: string;
18
+ /** Значение фильтра */
19
+ p2: string | number | Date;
20
+ not?: boolean;
21
+ cast?: "date";
22
+ }
23
+ /** Фильтр */
24
+ export interface IFilterIn extends Omit<IFilterItem, "op" | "p2"> {
25
+ op: "in";
26
+ p2: {
27
+ table: string;
28
+ field: string;
29
+ filter?: IFilter;
30
+ args?: any;
31
+ } | string[];
32
+ }
33
+ export interface FilterSetterOptions {
34
+ fireEvents?: boolean;
35
+ }
36
+ export interface FilterConstructor {
37
+ new (): Filter;
38
+ and(...groups: any[]): IFilterGroup;
39
+ or(...groups: any[]): IFilterGroup;
40
+ eq(p1: any, p2: any): IFilterItem;
41
+ ne(p1: any, p2: any): IFilterItem;
42
+ gt(p1: any, p2: any): IFilterItem;
43
+ ge(p1: any, p2: any): IFilterItem;
44
+ lt(p1: any, p2: any): IFilterItem;
45
+ le(p1: any, p2: any): IFilterItem;
46
+ startsWith(p1: any, p2: any): IFilterItem;
47
+ endsWith(p1: any, p2: any): IFilterItem;
48
+ contains(p1: any, p2: any): IFilterItem;
49
+ fulltext(p1: any, p2: any): IFilterItem;
50
+ not(f: any): IFilterItem;
51
+ in(p1: any, ar: any): IFilterIn;
52
+ queryIn(field: any, table: any, subField: any, filter: any, args?: any): IFilterIn;
53
+ cast(filter: any, cast: any): IFilter;
54
+ equalTemplate(p1: any, p2: any): any;
55
+ }
56
+ export declare class Filter {
57
+ static empty: IFilter;
58
+ static isEmptyFilter(filter: IFilter): boolean;
59
+ static mergeFilters(orig: IFilter, filter: IFilter): IFilter;
60
+ static and(...groups: any[]): IFilterGroup;
61
+ static or(...groups: any[]): IFilterGroup;
62
+ static eq(p1: any, p2: any): IFilterItem;
63
+ static ne(p1: any, p2: any): IFilterItem;
64
+ static gt(p1: any, p2: any): IFilterItem;
65
+ static ge(p1: any, p2: any): IFilterItem;
66
+ static lt(p1: any, p2: any): IFilterItem;
67
+ static le(p1: any, p2: any): IFilterItem;
68
+ static startsWith(p1: any, p2: any): IFilterItem;
69
+ static endsWith(p1: any, p2: any): IFilterItem;
70
+ static contains(p1: any, p2: any): IFilterItem;
71
+ static fulltext(p1: any, p2: any): IFilterItem;
72
+ static not(f: any): IFilterItem;
73
+ static in(p1: any, ar: any): IFilterIn;
74
+ static queryIn(field: any, table: any, subField: any, filter: any, args?: any): IFilterIn;
75
+ static cast(filter: any, cast: any): IFilter;
76
+ static equalTemplate(p1: any, p2: any): IFilter;
77
+ }
@@ -0,0 +1,6 @@
1
+ import { Table } from "mdtScripts/common/Table";
2
+ export interface LayoutRecord {
3
+ code: string;
4
+ }
5
+ export declare function findLayoutRecord<T extends LayoutRecord = LayoutRecord>(fetchResult: T[], tableCode: string, layoutCode: string): T;
6
+ export declare function getFormLayoutCodeByType(table: Table, layoutCode: string): string;
@@ -0,0 +1,3 @@
1
+ export declare class ListManagerCommands {
2
+ static init(): void;
3
+ }
@@ -0,0 +1,21 @@
1
+ import { ListCtrl } from "mdtScripts/views/list/ListCtrl";
2
+ import { ExtendableMixinEvents, ExtendableMixin } from "./Extendable";
3
+ import { ApiService } from "./api/ApiService";
4
+ import { ApiRequestOptions } from "./api/ApiRequestOptions";
5
+ export declare class ListService extends ExtendableMixin<{}, ExtendableMixinEvents> {
6
+ api: ApiService;
7
+ constructor();
8
+ get(tableCode: string, code?: string, requestOptions?: ApiRequestOptions): any;
9
+ saveLayout(list: ListCtrl): any;
10
+ createLayout(tableCode: string): {
11
+ $new: boolean;
12
+ $table: import("../common/Table").Table;
13
+ id_object: number;
14
+ columns: {
15
+ fieldPath: string;
16
+ $new: boolean;
17
+ $table: import("../common/Table").Table;
18
+ }[];
19
+ };
20
+ create(list: any, extConfig: any): void;
21
+ }
@@ -0,0 +1,8 @@
1
+ import { RecordId } from "../common/Record";
2
+ import { Record } from "../common/Record";
3
+ export interface ModuleData extends Record {
4
+ Code: string;
5
+ ID_Package?: RecordId;
6
+ Icon?: string;
7
+ Title?: string;
8
+ }
@@ -0,0 +1,12 @@
1
+ import { ModuleData } from "./ModuleData";
2
+ export declare class ModuleServiceClass {
3
+ inited: any;
4
+ initDeps: any[];
5
+ private def;
6
+ private moduleData;
7
+ constructor();
8
+ init(): void;
9
+ getData(): ModuleData[];
10
+ getModuleData(code: string): ModuleData;
11
+ }
12
+ export declare const ModuleService: ModuleServiceClass;
@@ -0,0 +1,61 @@
1
+ /// <reference types="mithril" />
2
+ import { NavigationNode } from "../common/NavigationNode";
3
+ import { Record } from "../common/Record";
4
+ import { ListExtConfig } from "../common/list/ListExt";
5
+ import { FormOptions, FormCtrl } from "../views/form/form";
6
+ import { ListCtrl } from "../views/list/ListCtrl";
7
+ import { ListOptions } from "../views/list/ListOptions";
8
+ import { Button } from "_core/scripts/helpers/ui/el";
9
+ export declare class NavigationControlManager {
10
+ private creators;
11
+ controls: {
12
+ [key: number]: PageControl;
13
+ };
14
+ controlTemplates: {
15
+ [key: number]: PageControlTemplate;
16
+ };
17
+ inited: _mithril.MithrilPromise<Object>;
18
+ constructor();
19
+ createTemplate(node: NavigationNode, defaultTemplate: any): {};
20
+ getControlManager(node: NavigationNode): PageControlCreator;
21
+ createControl(node: NavigationNode): any;
22
+ registerControlCreator(creator: PageControlCreator): void;
23
+ private fetchControlTemplates;
24
+ private registerDefaultControls;
25
+ static createListControl(node: NavigationNode, settings: ListPageSettings): ListCtrl;
26
+ static OPEN_ID_PARAM: string;
27
+ static OpenFormExtender(): ListExtConfig;
28
+ static GetCopyLinkButton(recordId: any): Button;
29
+ prepareNavigationForm(form: FormCtrl): void;
30
+ }
31
+ export declare class FullPageForm {
32
+ content: any;
33
+ constructor(form: FormCtrl);
34
+ }
35
+ export interface PageControl extends Record {
36
+ Code: string;
37
+ Title: string;
38
+ Help: string;
39
+ }
40
+ export interface PageControlTemplate extends Record {
41
+ Title: string;
42
+ Template: string;
43
+ }
44
+ export interface PageControlCreator {
45
+ code: string;
46
+ settingsJsonSchema?: string;
47
+ createControl: (node: NavigationNode, settings: any) => any;
48
+ /** if true navigation node will be shown without ID_Object */
49
+ isContent?: boolean;
50
+ /** template in case if id_ControlTemplate is empty */
51
+ defaultTemplate?: () => any;
52
+ }
53
+ export interface ListPageSettings {
54
+ options?: ListOptions;
55
+ extConfig?: ListExtConfig;
56
+ }
57
+ export interface FormPageSettings {
58
+ id: number;
59
+ options: FormOptions;
60
+ extConfig: any;
61
+ }
@@ -0,0 +1,60 @@
1
+ /// <reference types="mithril" />
2
+ import { NavigationNode, NavigationTopNode } from "../common/NavigationNode";
3
+ interface NavigationManagerHooks {
4
+ getTopNode?: () => NavigationTopNode;
5
+ }
6
+ export declare class NavigationManager {
7
+ private api;
8
+ events: {
9
+ inited: any[];
10
+ navigated: any[];
11
+ fetchNodes: any[];
12
+ updated: any[];
13
+ };
14
+ node: _mithril.MithrilPromiseProperty<NavigationNode>;
15
+ private currentPath;
16
+ nodes: _mithril.MithrilPromise<NavigationNode[]>;
17
+ inited: _mithril.MithrilPromise<Object>;
18
+ systemNodes: {
19
+ [key: string]: NavigationNode;
20
+ };
21
+ private _hooks;
22
+ setHook(code: keyof NavigationManagerHooks, hook: any): void;
23
+ pathNodes(node?: NavigationNode): NavigationNode[];
24
+ path(node: NavigationNode): string;
25
+ update(): void;
26
+ refreshNodeState(): void;
27
+ addNode(node: NavigationNode, position?: number, parent?: NavigationNode): NavigationNode;
28
+ addSystemNode(node: NavigationNode, parentNodeKey?: string, parentNode?: NavigationNode): NavigationNode;
29
+ prepare(ns: NavigationNode[], p: any): void;
30
+ findNodeByPath(path: any): NavigationNode;
31
+ private findChildNode;
32
+ findNode(condition: (node: NavigationNode) => boolean, nodes?: any): any;
33
+ findNodes(condition: (node: NavigationNode) => boolean, nodes?: NavigationNode[]): NavigationNode[];
34
+ navigated(path: string): NavigationNode;
35
+ setIsContentCheck(fn: (node: NavigationNode) => boolean): void;
36
+ private _isContent;
37
+ private isContentNode;
38
+ findNotEmpty(node: NavigationNode): NavigationNode;
39
+ getFullUrl(node?: NavigationNode, params?: any): string;
40
+ nodeIcon(node: any): any;
41
+ static useFastNav: boolean;
42
+ fastNavKey: string;
43
+ fastNav: any;
44
+ saveFastNav(topNodeCode: string, path: string): void;
45
+ getFastNavPath(topNodeCode: string): any;
46
+ /**
47
+ * Определение верхнего узла
48
+ * Используется для поиска узлов с автообновлением
49
+ */
50
+ private getTopNode;
51
+ private setAutorefresh;
52
+ private isRefreshNode;
53
+ private cleanAutoRefresh;
54
+ private refreshTimeouts;
55
+ private refreshPending;
56
+ private runAutorefresh;
57
+ static pathToNode(node: NavigationNode): string;
58
+ constructor();
59
+ }
60
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare class NavigationManagerCommands {
2
+ private static groupCode;
3
+ static init(): void;
4
+ static openCurrentCommand(): void;
5
+ }
@@ -0,0 +1,22 @@
1
+ /// <reference types="mithril" />
2
+ import { Button } from "../helpers/ui/el";
3
+ import { AlertOptions } from "../views/controls/Alert";
4
+ export interface Notification {
5
+ title: string;
6
+ text: string;
7
+ icon?: string;
8
+ type?: "default" | "info" | "success" | "warning" | "danger";
9
+ id?: number;
10
+ time?: Date;
11
+ actions?: Button[];
12
+ }
13
+ export declare class NotificationService {
14
+ list: Notification[];
15
+ events: {
16
+ added: any[];
17
+ };
18
+ private id;
19
+ viewed: _mithril.MithrilProperty<boolean>;
20
+ constructor();
21
+ add(msg: Notification, options: AlertOptions): void;
22
+ }
@@ -0,0 +1,8 @@
1
+ import { Record } from "mdtScripts/common/Record";
2
+ import { Table } from "mdtScripts/common/Table";
3
+ import { CreateRecordOptions } from "./RecordManager";
4
+ export declare class OneToManyRecordManager {
5
+ static createRecord(table: Table, options?: CreateRecordOptions): Record;
6
+ static updateRecord(table: Table, record: Record): Record;
7
+ static isRecord(value: any): boolean;
8
+ }
@@ -0,0 +1,7 @@
1
+ declare class QuerySelectServiceClass {
2
+ isSelectFieldAggregatedWithAlias(fieldName: string): boolean;
3
+ getAggregatedFieldAlias(fieldName: string): string;
4
+ getAggregatedFieldName(fieldName: string): string;
5
+ }
6
+ export declare const QuerySelectService: QuerySelectServiceClass;
7
+ export {};
@@ -0,0 +1,92 @@
1
+ /// <reference types="mithril" />
2
+ import { AnyObject, ViewElement } from "mdtScripts/helpers/types";
3
+ import { ActionItem } from "mdtScripts/helpers/ui/el";
4
+ import { LayoutColumn } from "mdtScripts/views/list/ListCtrl";
5
+ import { SchemaManager } from "_core/scripts/services/SchemaManager";
6
+ import { Field } from "../common/Field";
7
+ import { Record } from "../common/Record";
8
+ import { Table } from "../common/Table";
9
+ import { ApiRequestOptions } from "./api/ApiRequestOptions";
10
+ import { QuerySorting } from "./api/Query";
11
+ export declare type SearchOperation = "startsWith" | "contains";
12
+ export interface RecordManagerSearchByDefaultFieldOptions {
13
+ fields?: any;
14
+ getTitle?: (r: Record, f?: Field) => string | _mithril.MithrilVirtualElement;
15
+ additionalText?: (r: Record) => string;
16
+ itemClass?: (item: any) => any;
17
+ itemTooltip?: (item: any) => any;
18
+ presetItems?: any;
19
+ searchOperation?: SearchOperation;
20
+ queryOptions?: ApiRequestOptions;
21
+ select?: any;
22
+ sorting?: QuerySorting[];
23
+ filter?: any;
24
+ top?: number;
25
+ zone?: {
26
+ right: (r: Record) => ViewElement;
27
+ };
28
+ }
29
+ export declare class RecordManager {
30
+ schemaManager: SchemaManager;
31
+ displayValue(record: Record, field?: Field, options?: {
32
+ emptyText?: string;
33
+ format?: boolean;
34
+ title?: string;
35
+ }): any;
36
+ static title(rec: any, table: Table): any;
37
+ displayValueByPath(record: Record, path: string, table?: Table | string): any;
38
+ valueByPath(record: Record, path: string, table?: Table | string): any;
39
+ private _onValuePrepare;
40
+ onValuePrepare(callback: any): () => void;
41
+ valueByField(record: Record, field: Field): any;
42
+ fetchRecordDisplayValue(table: Table, id: any, full?: boolean, paths?: any[], requestOptions?: ApiRequestOptions): any;
43
+ fetchDisplayValue(field: any, val: any, requestOptions?: ApiRequestOptions): any;
44
+ clone(rec: any): any;
45
+ new(table: any, props?: any): any;
46
+ /** @deprecated use RecordManager.newId */
47
+ newId(): number;
48
+ /** @deprecated use RecordManager.isNewId */
49
+ isNewId(id: any): boolean;
50
+ static newId(): number;
51
+ static isNewId(id: any): boolean;
52
+ /**
53
+ * Creates record with default values
54
+ */
55
+ static createRecord(table: Table, options?: CreateRecordOptions): Record;
56
+ static getDefaultValues(table: Table): {};
57
+ convertCamel(obj: any, toCamel: any): any;
58
+ _fillFk(records: any, fkField: any, select: any, requestOptions?: ApiRequestOptions): any;
59
+ _fillO2M(records: any, table: any, o2mField: any, select: any, requestOptions?: ApiRequestOptions): any;
60
+ _checkFill(record: any, path: any): boolean;
61
+ fillRefs(table: any, records: any, paths: any, requestOptions?: ApiRequestOptions): _mithril.MithrilPromise<unknown>;
62
+ searchByDefaultField(table: Table, text?: string, options?: RecordManagerSearchByDefaultFieldOptions): Promise<ActionItem[]>;
63
+ createM2MRecord(field: Field, parentRecord: Record, refRecord: Record, options?: {
64
+ m2mField?: Field;
65
+ }): Record;
66
+ fetchM2MValue(field: Field, recordId: number, options?: any, requestOptions?: ApiRequestOptions): any;
67
+ clearO2MValue(record: any, field: Field): any[];
68
+ private flagDestroy;
69
+ destroy(record: any): void;
70
+ isDestroyed(record: any): boolean;
71
+ displayId(record: Record): string;
72
+ private getSortOrder;
73
+ sort: (a: any, b: any) => number;
74
+ newRecord(data: any, table?: string): any;
75
+ private getFormatRecordExp;
76
+ formatRecordPaths(formatStr: string): string[];
77
+ formatRecord(record: Record, formatStr: string): string;
78
+ static ensureFilled(rows: any, table: Table, field: Field, paths?: any[]): void;
79
+ static prepareForSave(record: any): any;
80
+ static prepareRecord(record: any, table: Table): void;
81
+ static getRefObjectData(record: any, column: LayoutColumn, field: string): any;
82
+ }
83
+ export declare class IdedValue {
84
+ id: any;
85
+ title: string;
86
+ constructor(id: any, title: string);
87
+ }
88
+ export interface CreateRecordOptions {
89
+ /** Проставлять значения по-умолчанию из схемы. По-умолчанию `true` */
90
+ defaultValues?: boolean;
91
+ data?: AnyObject;
92
+ }
@@ -0,0 +1,114 @@
1
+ /// <reference types="mithril" />
2
+ import { Field } from "../common/Field";
3
+ import { Table } from "../common/Table";
4
+ import { ApiDatasource } from "../datasources/ApiDatasource";
5
+ import { ApiService } from "./api/ApiService";
6
+ import { RecordId } from "mdtScripts/common/Record";
7
+ export declare type FieldType = "number" | "boolean" | "string" | "date" | "time";
8
+ export declare class SchemaManager {
9
+ api: ApiService;
10
+ datasource: ApiDatasource;
11
+ inited: _mithril.MithrilPromise<SchemaManager>;
12
+ events: {
13
+ inited: any[];
14
+ };
15
+ tables: Table[];
16
+ tableMap: {
17
+ [code: string]: Table;
18
+ };
19
+ static systemFields: string[];
20
+ static allAggregationTypes: AggregationType[];
21
+ constructor();
22
+ static isField(field: Field): boolean;
23
+ static isOne2One(field: Field): boolean;
24
+ static isHistory(field: Field): boolean;
25
+ static isDynamicFK(field: Field): boolean;
26
+ getDFKFields(table: Table | string | number): Field[];
27
+ static isOne2Many(field: Field): boolean;
28
+ static isDateField(field: Field): boolean;
29
+ static validateDateStrByMinMax(dateInStr: string): boolean;
30
+ static validateDateByMinMax(date: Date): boolean;
31
+ static isFkPath(path: string): boolean;
32
+ static isSimplePath(path: string, ignoreSimpleFk?: boolean): boolean;
33
+ static isRequiredField(field: Field): boolean;
34
+ static copyTable(table: Table): Table;
35
+ static isHierarchyTable(table: Table): boolean;
36
+ static sortFieldCode: string;
37
+ setupAutoRefresh(): void;
38
+ refresh(forceRefresh?: boolean): void;
39
+ private addTable;
40
+ init(): void;
41
+ add(t: Table | Table[]): void;
42
+ prepare(t: Table, tables?: Table[]): Table;
43
+ prepareField(t: Table, f: Field): void;
44
+ createSystemObject(objParams: Table): Table;
45
+ addField(t: Table, f: Field): Field;
46
+ removeField(t: Table, f: Field): void;
47
+ cleanCode(code: string, replaceAnySchema?: boolean): string;
48
+ private getFromTableMapById;
49
+ get(idOrCode: string | number, check?: boolean): Table;
50
+ defaultField(t: Table | string): Field;
51
+ field(t: Table, code: string, check?: boolean): Field;
52
+ fieldById(t: Table, id: number): Field;
53
+ fieldTitle(field: Field): any;
54
+ _table(t: string | number | Table, check?: boolean): Table;
55
+ cleanPath(path: string): string;
56
+ pathFields(t: Table | string | number, path: string, check?: boolean, options?: {
57
+ onError?: (err: string) => void;
58
+ }): Field[];
59
+ fieldsToPath(fields: Field[]): string;
60
+ isPathRefToDefault(path: string): boolean;
61
+ pathFieldsFull(t: Table | string | number, path: string, check?: boolean): Field[];
62
+ fieldByPath(t: Table | string | number, path: string, check?: boolean): Field;
63
+ typeValueByPath(t: Table | string, path: string, check?: boolean): string;
64
+ one2ManyField(t: Table, refTable: any, check?: boolean): Field;
65
+ valuePathFull(t: Table | string, path: string, splitter?: string): string;
66
+ displayFieldPath(field: Field): string;
67
+ displayPathFields(field: Field): any[];
68
+ private pathOnlyRefs;
69
+ lastRefFieldInPath(table: Table | string, path: string, splitter?: string): Field;
70
+ lastTableInPath(table: Table | string, path: string, splitter?: string): Table;
71
+ lastRefIdPath(table: Table | string, path: string, splitter?: string): string;
72
+ removeSystemFields(fields: Field[]): Field[];
73
+ appendPath(...paths: string[]): string;
74
+ isSimpleType(type: string): boolean;
75
+ superType(type: string): FieldType;
76
+ isDateType(type: string): boolean;
77
+ isTimeType(type: string): boolean;
78
+ findO2MField(field: Field, check?: boolean): Field;
79
+ findM2MField(field: Field, check?: boolean): Field;
80
+ findField(field: any): Field;
81
+ isCustom(table: Table): boolean;
82
+ override(table: Table, override: Table): Table;
83
+ objectAbbr(object: any): string;
84
+ fixO2MPath(table: any, code: any): any;
85
+ static messages: {
86
+ tableNotFound: string;
87
+ fieldNotFound: string;
88
+ fieldNotFk: string;
89
+ };
90
+ /**
91
+ * Tables with useless inner information for user.
92
+ * For example: user no need to know about fields in status.Status (Icon, LabelStyle, flags etc.)
93
+ */
94
+ isPropTable: (table: Table | string | number) => boolean;
95
+ propTableShowFormOverrides: (sourceTable: Table, record: any, refFields: Field[]) => {
96
+ table: Table;
97
+ ids: RecordId[] | RecordId;
98
+ };
99
+ aggregationTypes(table: Table | string | number, path: string): AggregationType[];
100
+ shouldFormatAggregation(param: AggregationType): boolean;
101
+ getStyleFieldPath(field: Field): string;
102
+ getIconFieldPath(field: Field): string;
103
+ getFieldKind(fieldItem: Record<string, any>): string;
104
+ updateSchema(): any;
105
+ private getItemKind;
106
+ }
107
+ export declare type AggregationType = "sum" | "avg" | "count" | "distinct" | "max" | "min";
108
+ export declare enum MdtObjectTypes {
109
+ Function = "F",
110
+ Procedure = "P",
111
+ View = "V",
112
+ Table = "T"
113
+ }
114
+ export declare type TableArg = Table | string | number;
@@ -0,0 +1,3 @@
1
+ export declare class SchemaManagerCommands {
2
+ static init(): void;
3
+ }
@@ -0,0 +1,12 @@
1
+ import { IFilter } from "./IFilter";
2
+ import { RecordManagerSearchByDefaultFieldOptions, SearchOperation } from "./RecordManager";
3
+ import { Table } from "mdtScripts/common/Table";
4
+ import { ActionItem } from "mdtScripts/helpers/ui/el";
5
+ import { ListCtrl } from "mdtScripts/views/list/ListCtrl";
6
+ export declare class SearchByDefaultFieldHelper {
7
+ static getTextFilter(paths: string[], text?: string, searchOperation?: SearchOperation): import("./IFilter").IFilterGroup;
8
+ static setFilterByDefaultField(list: ListCtrl, filter: IFilter): void;
9
+ static search(table: Table, text?: string, options?: RecordManagerSearchByDefaultFieldOptions): Promise<ActionItem[]>;
10
+ private static rowToDropDownItem;
11
+ private static getDefaultFieldPath;
12
+ }
@@ -0,0 +1,32 @@
1
+ /// <reference types="mithril" />
2
+ import { PermissionLevel } from "../security/PermissionLevel";
3
+ import { Field } from "../common/Field";
4
+ import { Table } from "../common/Table";
5
+ interface ObjectPermission {
6
+ level: PermissionLevel;
7
+ fields?: {
8
+ [fieldId: number]: ObjectPermission;
9
+ };
10
+ }
11
+ export declare class SecurityManager {
12
+ user: _mithril.MithrilPromise<import("../security/User").User>;
13
+ inited: _mithril.MithrilPromise<import("../security/User").User>;
14
+ customChecks: ((record: any, table: Table, level: PermissionLevel, permission: any, options: RecordPermissionsOptions) => PermissionLevel)[];
15
+ get(table: Table | string, permission?: string): ObjectPermission;
16
+ table(table: Table | string, level: PermissionLevel, permission?: string, check?: boolean): number;
17
+ field(field: Field, level: PermissionLevel, permission?: string): number;
18
+ recordPermission(record: any, level: PermissionLevel, parentLevel: PermissionLevel, field?: Field, onlyRecordPermission?: boolean): number;
19
+ record(record: any, table: Table, level: PermissionLevel, permission?: string, options?: RecordPermissionsOptions): number;
20
+ isInRole(role: any): boolean;
21
+ isInRoles(roles: string[], and?: boolean, not?: boolean): boolean;
22
+ hasPermission(permission: string): boolean;
23
+ private getLocaleCode;
24
+ getCurrentLocale(): any;
25
+ checkRoles(rolesList: string[], userRoles: string[], and?: boolean, not?: boolean): boolean;
26
+ hasObjectPermission(object: string | Table, level: PermissionLevel): boolean;
27
+ }
28
+ interface RecordPermissionsOptions {
29
+ customChecks?: boolean;
30
+ field?: Field;
31
+ }
32
+ export {};
@@ -0,0 +1,12 @@
1
+ /// <reference types="mithril" />
2
+ export interface SystemSettings {
3
+ maxRequestLength: number;
4
+ languageId: number;
5
+ languageTable: string;
6
+ }
7
+ export declare class SettingsManager {
8
+ private api;
9
+ inited: _mithril.MithrilPromise<void>;
10
+ settings: SystemSettings;
11
+ constructor();
12
+ }