mdt-client 31.3.38 → 31.3.39

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 (349) hide show
  1. package/dist/index.d.ts +11 -11
  2. package/dist/index.js +16 -16
  3. package/package.json +38 -38
  4. package/readme.md +15 -15
  5. package/types/common/Datasource.d.ts +9 -9
  6. package/types/common/Field.d.ts +51 -51
  7. package/types/common/FieldSettings.schema.d.ts +17 -17
  8. package/types/common/MdtField.d.ts +9 -9
  9. package/types/common/MdtObject.d.ts +7 -7
  10. package/types/common/Record.d.ts +27 -27
  11. package/types/common/Table.d.ts +66 -66
  12. package/types/common/form/tabs/TabsFormExtenderOptions.d.ts +12 -12
  13. package/types/common/list/aggregation/AggregayionTypes.d.ts +2 -2
  14. package/types/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +6 -6
  15. package/types/common/list/cellControlExtender/CellControlExtender.d.ts +1 -1
  16. package/types/common/list/columnMenu/ColumnMenuOptions.d.ts +17 -17
  17. package/types/common/list/columnMenu/QuickFilterOptions.d.ts +7 -7
  18. package/types/common/list/columnMenu/ValuesFilterOptions.d.ts +24 -24
  19. package/types/common/list/form/FormListPublicOptions.d.ts +44 -44
  20. package/types/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +11 -11
  21. package/types/common/list/group/groupTypes.d.ts +177 -177
  22. package/types/common/list/hierarchy/hierarchyTypes.d.ts +48 -48
  23. package/types/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +3 -3
  24. package/types/common/list/labelStyle/LabelStylePublicOptions.d.ts +6 -6
  25. package/types/common/list/legend/LegendListExtenderOptions.d.ts +8 -8
  26. package/types/common/list/listView/ListViewListExtenderOptions.d.ts +25 -25
  27. package/types/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +23 -23
  28. package/types/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +29 -29
  29. package/types/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +4 -4
  30. package/types/common/list/select/SelectPublicOptions.d.ts +18 -18
  31. package/types/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +3 -3
  32. package/types/common/list/toolbar/ToolbarPublicOptions.d.ts +23 -22
  33. package/types/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +7 -7
  34. package/types/common/serverMessage/ServerMessageTypes.d.ts +17 -17
  35. package/types/components/baseFormControls/input/inputOptions.d.ts +31 -31
  36. package/types/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +2 -2
  37. package/types/components/button/baseButton/buttonOptions.d.ts +12 -12
  38. package/types/components/buttonGroup/buttonGroupOptions.d.ts +7 -7
  39. package/types/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -5
  40. package/types/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +20 -19
  41. package/types/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +32 -32
  42. package/types/components/form/fieldView/fieldViewOptions.d.ts +13 -13
  43. package/types/components/form/header/types.d.ts +14 -14
  44. package/types/components/form/label/labelOptions.d.ts +23 -22
  45. package/types/components/icon/iconOptions.d.ts +24 -22
  46. package/types/components/iconButton/iconButtonOptions.d.ts +10 -10
  47. package/types/components/navigation/header/userButton/UserMenuSlot.d.ts +10 -10
  48. package/types/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -5
  49. package/types/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +16 -16
  50. package/types/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +4 -4
  51. package/types/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +24 -24
  52. package/types/components/resizablePanels/resizablePanelsOptions.d.ts +22 -22
  53. package/types/components/textWithIcon/textWithIconOptions.d.ts +17 -17
  54. package/types/components/toggleablePanels/toggleablePanelsOptions.d.ts +40 -40
  55. package/types/data/active/ActivationListAdapterTypes.d.ts +6 -6
  56. package/types/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +21 -21
  57. package/types/data/periods/helpers/types.d.ts +4 -4
  58. package/types/datasources/FetchResult.d.ts +5 -5
  59. package/types/helpers/IUi.d.ts +2 -2
  60. package/types/helpers/dateUtils.d.ts +23 -23
  61. package/types/helpers/deleteFromArray.d.ts +1 -1
  62. package/types/helpers/events/EventEmitter.d.ts +12 -12
  63. package/types/helpers/fireEvent.d.ts +4 -4
  64. package/types/helpers/formatOptions.d.ts +16 -16
  65. package/types/helpers/formattedText.d.ts +8 -8
  66. package/types/helpers/pipeline/ImmutableArgPipeline.d.ts +8 -8
  67. package/types/helpers/pipeline/Pipeline.d.ts +20 -20
  68. package/types/helpers/redraw.d.ts +16 -16
  69. package/types/helpers/types.d.ts +85 -85
  70. package/types/helpers/ui/elementModificators/focusableComponent.d.ts +15 -15
  71. package/types/helpers/ui/elementModificators/modificatorsTypes.d.ts +4 -4
  72. package/types/helpers/ui/keyboardUtils/getKeySymbol.d.ts +2 -2
  73. package/types/helpers/ui/keyboardUtils/keyboardUtils.d.ts +23 -23
  74. package/types/helpers/ui/keyboardUtils/osByUserAgent.d.ts +1 -1
  75. package/types/helpers/utils/classNames.d.ts +20 -20
  76. package/types/helpers/utils/keyStorage/KeyStorage.d.ts +6 -6
  77. package/types/helpers/utils/memoization/memoize.d.ts +18 -18
  78. package/types/helpers/utils/object.d.ts +4 -4
  79. package/types/helpers/utils/stringifyControlSize.d.ts +3 -3
  80. package/types/helpers/utils/valued/getValued.d.ts +18 -18
  81. package/types/helpers/zone/IZone.d.ts +8 -8
  82. package/types/security/PermissionLevel.d.ts +40 -40
  83. package/types/security/User.d.ts +20 -19
  84. package/types/services/HotkeyManager.d.ts +6 -6
  85. package/types/services/IFilter.d.ts +322 -322
  86. package/types/services/ModuleData.d.ts +9 -9
  87. package/types/services/api/ApiAccessor/apiV1Types.d.ts +266 -266
  88. package/types/services/api/ApiAccessor/apiV2Types.d.ts +586 -585
  89. package/types/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +42 -42
  90. package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +10 -10
  91. package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +28 -28
  92. package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +9 -9
  93. package/types/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +37 -37
  94. package/types/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +2 -2
  95. package/types/services/api/ApiRequestOptions.d.ts +43 -43
  96. package/types/services/api/BaseQuery.d.ts +25 -25
  97. package/types/services/api/Query.d.ts +56 -56
  98. package/types/services/api/QuerySorting.d.ts +18 -18
  99. package/types/services/api/ServerResonseType.d.ts +2 -2
  100. package/types/services/commands/Command.d.ts +22 -22
  101. package/types/services/commands/CommandGroup.d.ts +15 -15
  102. package/types/services/commands/CommandManager.d.ts +77 -77
  103. package/types/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -26
  104. package/types/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +36 -36
  105. package/types/services/customModules/facades/Form/IFieldStateFacade.d.ts +13 -13
  106. package/types/services/customModules/facades/Form/IFormControlFacade.d.ts +133 -133
  107. package/types/services/customModules/facades/Form/IFormFacade.d.ts +102 -102
  108. package/types/services/customModules/facades/Form/IFormLayout.d.ts +12 -12
  109. package/types/services/customModules/facades/IAppFacade.d.ts +38 -38
  110. package/types/services/customModules/facades/IAuthFacade.d.ts +9 -9
  111. package/types/services/customModules/facades/ILegacyFacade.d.ts +239 -239
  112. package/types/services/customModules/facades/IMdtFacade.d.ts +88 -88
  113. package/types/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -5
  114. package/types/services/customModules/facades/IPageFacade.d.ts +7 -7
  115. package/types/services/customModules/facades/List/Column/IColumnFacade.d.ts +7 -7
  116. package/types/services/customModules/facades/List/IListCellFacade.d.ts +8 -8
  117. package/types/services/customModules/facades/List/IListComponentFacade.d.ts +10 -10
  118. package/types/services/customModules/facades/List/IListControlFacade.d.ts +88 -88
  119. package/types/services/customModules/facades/List/IListRowFacade.d.ts +2 -2
  120. package/types/services/customModules/facades/List/IListServiceFacade.d.ts +96 -96
  121. package/types/services/customModules/facades/List/ListOptions/IListOptions.d.ts +4 -4
  122. package/types/services/customModules/facades/components/CodeEditorFacade.d.ts +9 -9
  123. package/types/services/customModules/facades/components/ModalFacade.d.ts +4 -4
  124. package/types/services/customModules/facades/formDashboard/IFormDashboard.d.ts +20 -20
  125. package/types/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +83 -77
  126. package/types/services/customModules/facades/internalModules/importModuleFacade.d.ts +53 -53
  127. package/types/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +11 -11
  128. package/types/services/customModules/facades/internalModules/statusFacade.d.ts +13 -13
  129. package/types/services/customModules/facades/record/IRecordFacade.d.ts +13 -13
  130. package/types/services/customModules/facades/record/IRecordManagerFacade.d.ts +5 -5
  131. package/types/services/customModules/facades/schema/IFieldFacade.d.ts +14 -14
  132. package/types/services/customModules/facades/schema/IObjectFacade.d.ts +20 -20
  133. package/types/services/customModules/facades/schema/ISchemaFacade.d.ts +24 -24
  134. package/types/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +23 -23
  135. package/types/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +8 -8
  136. package/types/services/customModules/facades/services/CommandManagerFacade.d.ts +11 -11
  137. package/types/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +13 -13
  138. package/types/services/customModules/facades/services/INavigationFacade.d.ts +91 -91
  139. package/types/services/customModules/facades/services/ISecurityFacade.d.ts +13 -13
  140. package/types/services/customModules/facades/utils/IApiFacade.d.ts +91 -91
  141. package/types/services/customModules/facades/utils/IUiComponentsFacade.d.ts +191 -191
  142. package/types/services/customModules/facades/utils/IUiFacade.d.ts +84 -84
  143. package/types/services/customModules/facades/utils/IUtilsFacade.d.ts +225 -225
  144. package/types/services/customModules/facades/utils/ImUtilsFacade.d.ts +42 -42
  145. package/types/services/dropdown/IDropDownMenu.d.ts +41 -41
  146. package/types/services/e2e/e2eServiceType.d.ts +11 -11
  147. package/types/ui-kit/IUiKitUtilsFacade.d.ts +35 -35
  148. package/types/ui-kit/UiKitFacade.d.ts +106 -104
  149. package/types/ui-kit/components/calendar/Calendar.d.ts +3 -3
  150. package/types/views/controls/Control.d.ts +7 -7
  151. package/types/views/controls/panels/panelOptions.d.ts +15 -15
  152. package/types/views/form/controls/commonControl/ICommonControl.d.ts +29 -29
  153. package/types/views/form/controls/fileupload/FileInputFacade.types.d.ts +6 -6
  154. package/types/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +24 -24
  155. package/types/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +70 -70
  156. package/types/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +36 -36
  157. package/types/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +21 -21
  158. package/types/views/form/formTypes.d.ts +5 -5
  159. package/types/views/form/schema/FormPageExtOptions.schema.d.ts +22 -22
  160. package/types/views/form/schema/FormPageOptions.schema.d.ts +19 -19
  161. package/types/views/gallery/ImageFetchOptions.d.ts +5 -5
  162. package/types/views/list/ListViewOptions.d.ts +102 -102
  163. package/types/views/list/features/aggregation/AggregationRowListOptions.d.ts +23 -23
  164. package/types/views/list/schema/ListPageExtOptions.schema.d.ts +123 -123
  165. package/types/views/list/schema/ListPageOptions.schema.d.ts +145 -145
  166. package/types/views/list/tabular/TabularListTypes.d.ts +53 -53
  167. package/types/views/page/PageZoneTypes.d.ts +1 -1
  168. package/types/views/page/charts/ChartControlOptions.schema.d.ts +850 -760
  169. package/types/views/page/charts/facade/IChartControlFacade.d.ts +29 -29
  170. package/types/views/page/charts/reportDashboard/config/chartConfig.d.ts +31 -31
  171. package/types/views/page/charts/reportDashboard/config/filterConfig.d.ts +56 -56
  172. package/types/views/page/charts/reportDashboard/config/listConfig.d.ts +9 -9
  173. package/types/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +55 -55
  174. package/types/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +3 -3
  175. package/types/views/page/charts/reportDashboard/index.d.ts +5 -5
  176. package/types/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +13 -13
  177. package/types/_core/scripts/common/Datasource.d.ts +0 -9
  178. package/types/_core/scripts/common/Field.d.ts +0 -51
  179. package/types/_core/scripts/common/FieldSettings.schema.d.ts +0 -17
  180. package/types/_core/scripts/common/MdtField.d.ts +0 -9
  181. package/types/_core/scripts/common/MdtObject.d.ts +0 -7
  182. package/types/_core/scripts/common/Record.d.ts +0 -27
  183. package/types/_core/scripts/common/Table.d.ts +0 -66
  184. package/types/_core/scripts/common/form/tabs/TabsFormExtenderOptions.d.ts +0 -12
  185. package/types/_core/scripts/common/list/aggregation/AggregayionTypes.d.ts +0 -2
  186. package/types/_core/scripts/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +0 -6
  187. package/types/_core/scripts/common/list/cellControlExtender/CellControlExtender.d.ts +0 -1
  188. package/types/_core/scripts/common/list/columnMenu/ColumnMenuOptions.d.ts +0 -17
  189. package/types/_core/scripts/common/list/columnMenu/QuickFilterOptions.d.ts +0 -7
  190. package/types/_core/scripts/common/list/columnMenu/ValuesFilterOptions.d.ts +0 -24
  191. package/types/_core/scripts/common/list/form/FormListPublicOptions.d.ts +0 -40
  192. package/types/_core/scripts/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +0 -11
  193. package/types/_core/scripts/common/list/group/groupTypes.d.ts +0 -177
  194. package/types/_core/scripts/common/list/hierarchy/hierarchyTypes.d.ts +0 -48
  195. package/types/_core/scripts/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +0 -3
  196. package/types/_core/scripts/common/list/labelStyle/LabelStylePublicOptions.d.ts +0 -6
  197. package/types/_core/scripts/common/list/legend/LegendListExtenderOptions.d.ts +0 -8
  198. package/types/_core/scripts/common/list/listView/ListViewListExtenderOptions.d.ts +0 -25
  199. package/types/_core/scripts/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +0 -23
  200. package/types/_core/scripts/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +0 -29
  201. package/types/_core/scripts/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +0 -4
  202. package/types/_core/scripts/common/list/select/SelectPublicOptions.d.ts +0 -18
  203. package/types/_core/scripts/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +0 -3
  204. package/types/_core/scripts/common/list/toolbar/ToolbarPublicOptions.d.ts +0 -22
  205. package/types/_core/scripts/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +0 -7
  206. package/types/_core/scripts/common/serverMessage/ServerMessageTypes.d.ts +0 -17
  207. package/types/_core/scripts/components/baseFormControls/input/inputOptions.d.ts +0 -30
  208. package/types/_core/scripts/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +0 -2
  209. package/types/_core/scripts/components/button/baseButton/buttonOptions.d.ts +0 -12
  210. package/types/_core/scripts/components/buttonGroup/buttonGroupOptions.d.ts +0 -7
  211. package/types/_core/scripts/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +0 -5
  212. package/types/_core/scripts/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +0 -19
  213. package/types/_core/scripts/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +0 -32
  214. package/types/_core/scripts/components/form/fieldView/fieldViewOptions.d.ts +0 -13
  215. package/types/_core/scripts/components/form/header/types.d.ts +0 -14
  216. package/types/_core/scripts/components/form/label/labelOptions.d.ts +0 -22
  217. package/types/_core/scripts/components/icon/iconOptions.d.ts +0 -21
  218. package/types/_core/scripts/components/iconButton/iconButtonOptions.d.ts +0 -9
  219. package/types/_core/scripts/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +0 -5
  220. package/types/_core/scripts/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +0 -16
  221. package/types/_core/scripts/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +0 -4
  222. package/types/_core/scripts/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +0 -24
  223. package/types/_core/scripts/components/resizablePanels/resizablePanelsOptions.d.ts +0 -22
  224. package/types/_core/scripts/components/textWithIcon/textWithIconOptions.d.ts +0 -16
  225. package/types/_core/scripts/components/toggleablePanels/toggleablePanelsOptions.d.ts +0 -40
  226. package/types/_core/scripts/data/active/ActivationListAdapterTypes.d.ts +0 -6
  227. package/types/_core/scripts/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +0 -21
  228. package/types/_core/scripts/data/periods/helpers/types.d.ts +0 -4
  229. package/types/_core/scripts/datasources/FetchResult.d.ts +0 -5
  230. package/types/_core/scripts/helpers/IUi.d.ts +0 -2
  231. package/types/_core/scripts/helpers/dateUtils.d.ts +0 -23
  232. package/types/_core/scripts/helpers/deleteFromArray.d.ts +0 -1
  233. package/types/_core/scripts/helpers/events/EventEmitter.d.ts +0 -12
  234. package/types/_core/scripts/helpers/fireEvent.d.ts +0 -4
  235. package/types/_core/scripts/helpers/formatOptions.d.ts +0 -16
  236. package/types/_core/scripts/helpers/formattedText.d.ts +0 -8
  237. package/types/_core/scripts/helpers/pipeline/ImmutableArgPipeline.d.ts +0 -8
  238. package/types/_core/scripts/helpers/pipeline/Pipeline.d.ts +0 -20
  239. package/types/_core/scripts/helpers/redraw.d.ts +0 -16
  240. package/types/_core/scripts/helpers/types.d.ts +0 -84
  241. package/types/_core/scripts/helpers/ui/elementModificators/focusableComponent.d.ts +0 -14
  242. package/types/_core/scripts/helpers/ui/elementModificators/modificatorsTypes.d.ts +0 -4
  243. package/types/_core/scripts/helpers/ui/keyboardUtils/getKeySymbol.d.ts +0 -2
  244. package/types/_core/scripts/helpers/ui/keyboardUtils/keyboardUtils.d.ts +0 -23
  245. package/types/_core/scripts/helpers/ui/keyboardUtils/osByUserAgent.d.ts +0 -1
  246. package/types/_core/scripts/helpers/utils/classNames.d.ts +0 -20
  247. package/types/_core/scripts/helpers/utils/keyStorage/KeyStorage.d.ts +0 -6
  248. package/types/_core/scripts/helpers/utils/memoization/memoize.d.ts +0 -18
  249. package/types/_core/scripts/helpers/utils/object.d.ts +0 -4
  250. package/types/_core/scripts/helpers/utils/stringifyControlSize.d.ts +0 -3
  251. package/types/_core/scripts/helpers/utils/valued/getValued.d.ts +0 -18
  252. package/types/_core/scripts/helpers/zone/IZone.d.ts +0 -7
  253. package/types/_core/scripts/security/PermissionLevel.d.ts +0 -40
  254. package/types/_core/scripts/security/User.d.ts +0 -19
  255. package/types/_core/scripts/services/HotkeyManager.d.ts +0 -6
  256. package/types/_core/scripts/services/IFilter.d.ts +0 -322
  257. package/types/_core/scripts/services/ModuleData.d.ts +0 -9
  258. package/types/_core/scripts/services/api/ApiAccessor/apiV1Types.d.ts +0 -266
  259. package/types/_core/scripts/services/api/ApiAccessor/apiV2Types.d.ts +0 -585
  260. package/types/_core/scripts/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +0 -42
  261. package/types/_core/scripts/services/api/ApiAccessor/job/jobApiTypes.d.ts +0 -82
  262. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +0 -10
  263. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +0 -28
  264. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +0 -9
  265. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +0 -37
  266. package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +0 -2
  267. package/types/_core/scripts/services/api/ApiRequestOptions.d.ts +0 -43
  268. package/types/_core/scripts/services/api/BaseQuery.d.ts +0 -25
  269. package/types/_core/scripts/services/api/Query.d.ts +0 -56
  270. package/types/_core/scripts/services/api/QuerySorting.d.ts +0 -18
  271. package/types/_core/scripts/services/api/ServerResonseType.d.ts +0 -2
  272. package/types/_core/scripts/services/commands/Command.d.ts +0 -22
  273. package/types/_core/scripts/services/commands/CommandGroup.d.ts +0 -15
  274. package/types/_core/scripts/services/commands/CommandManager.d.ts +0 -77
  275. package/types/_core/scripts/services/customModules/facades/Form/IFieldControlFacade.d.ts +0 -26
  276. package/types/_core/scripts/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +0 -36
  277. package/types/_core/scripts/services/customModules/facades/Form/IFieldStateFacade.d.ts +0 -13
  278. package/types/_core/scripts/services/customModules/facades/Form/IFormControlFacade.d.ts +0 -133
  279. package/types/_core/scripts/services/customModules/facades/Form/IFormFacade.d.ts +0 -102
  280. package/types/_core/scripts/services/customModules/facades/Form/IFormLayout.d.ts +0 -12
  281. package/types/_core/scripts/services/customModules/facades/IAppFacade.d.ts +0 -38
  282. package/types/_core/scripts/services/customModules/facades/IAuthFacade.d.ts +0 -9
  283. package/types/_core/scripts/services/customModules/facades/ILegacyFacade.d.ts +0 -238
  284. package/types/_core/scripts/services/customModules/facades/IMdtFacade.d.ts +0 -87
  285. package/types/_core/scripts/services/customModules/facades/IModuleRegistryFacade.d.ts +0 -5
  286. package/types/_core/scripts/services/customModules/facades/IPageFacade.d.ts +0 -7
  287. package/types/_core/scripts/services/customModules/facades/List/Column/IColumnFacade.d.ts +0 -7
  288. package/types/_core/scripts/services/customModules/facades/List/IListCellFacade.d.ts +0 -8
  289. package/types/_core/scripts/services/customModules/facades/List/IListComponentFacade.d.ts +0 -10
  290. package/types/_core/scripts/services/customModules/facades/List/IListControlFacade.d.ts +0 -88
  291. package/types/_core/scripts/services/customModules/facades/List/IListRowFacade.d.ts +0 -2
  292. package/types/_core/scripts/services/customModules/facades/List/IListServiceFacade.d.ts +0 -96
  293. package/types/_core/scripts/services/customModules/facades/List/ListOptions/IListOptions.d.ts +0 -4
  294. package/types/_core/scripts/services/customModules/facades/components/CodeEditorFacade.d.ts +0 -9
  295. package/types/_core/scripts/services/customModules/facades/components/ModalFacade.d.ts +0 -4
  296. package/types/_core/scripts/services/customModules/facades/formDashboard/IFormDashboard.d.ts +0 -20
  297. package/types/_core/scripts/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +0 -77
  298. package/types/_core/scripts/services/customModules/facades/internalModules/importModuleFacade.d.ts +0 -53
  299. package/types/_core/scripts/services/customModules/facades/internalModules/jobFacade.d.ts +0 -7
  300. package/types/_core/scripts/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +0 -12
  301. package/types/_core/scripts/services/customModules/facades/internalModules/statusFacade.d.ts +0 -13
  302. package/types/_core/scripts/services/customModules/facades/record/IRecordFacade.d.ts +0 -13
  303. package/types/_core/scripts/services/customModules/facades/record/IRecordManagerFacade.d.ts +0 -5
  304. package/types/_core/scripts/services/customModules/facades/schema/IFieldFacade.d.ts +0 -14
  305. package/types/_core/scripts/services/customModules/facades/schema/IObjectFacade.d.ts +0 -20
  306. package/types/_core/scripts/services/customModules/facades/schema/ISchemaFacade.d.ts +0 -24
  307. package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +0 -23
  308. package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +0 -8
  309. package/types/_core/scripts/services/customModules/facades/services/CommandManagerFacade.d.ts +0 -11
  310. package/types/_core/scripts/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +0 -13
  311. package/types/_core/scripts/services/customModules/facades/services/INavigationFacade.d.ts +0 -91
  312. package/types/_core/scripts/services/customModules/facades/services/ISecurityFacade.d.ts +0 -13
  313. package/types/_core/scripts/services/customModules/facades/utils/IApiFacade.d.ts +0 -91
  314. package/types/_core/scripts/services/customModules/facades/utils/IUiComponentsFacade.d.ts +0 -185
  315. package/types/_core/scripts/services/customModules/facades/utils/IUiFacade.d.ts +0 -83
  316. package/types/_core/scripts/services/customModules/facades/utils/IUtilsFacade.d.ts +0 -224
  317. package/types/_core/scripts/services/customModules/facades/utils/ImUtilsFacade.d.ts +0 -41
  318. package/types/_core/scripts/services/dropdown/IDropDownMenu.d.ts +0 -40
  319. package/types/_core/scripts/services/e2e/e2eServiceType.d.ts +0 -11
  320. package/types/_core/scripts/ui-kit/IUiKitUtilsFacade.d.ts +0 -21
  321. package/types/_core/scripts/ui-kit/UiKitFacade.d.ts +0 -101
  322. package/types/_core/scripts/views/controls/Control.d.ts +0 -7
  323. package/types/_core/scripts/views/controls/panels/panelOptions.d.ts +0 -15
  324. package/types/_core/scripts/views/form/controls/commonControl/ICommonControl.d.ts +0 -28
  325. package/types/_core/scripts/views/form/controls/fileupload/FileInputFacade.types.d.ts +0 -6
  326. package/types/_core/scripts/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +0 -24
  327. package/types/_core/scripts/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +0 -70
  328. package/types/_core/scripts/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +0 -36
  329. package/types/_core/scripts/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +0 -21
  330. package/types/_core/scripts/views/form/formTypes.d.ts +0 -5
  331. package/types/_core/scripts/views/form/schema/FormPageExtOptions.schema.d.ts +0 -22
  332. package/types/_core/scripts/views/form/schema/FormPageOptions.schema.d.ts +0 -19
  333. package/types/_core/scripts/views/gallery/ImageFetchOptions.d.ts +0 -5
  334. package/types/_core/scripts/views/list/ListViewOptions.d.ts +0 -99
  335. package/types/_core/scripts/views/list/features/aggregation/AggregationRowListOptions.d.ts +0 -23
  336. package/types/_core/scripts/views/list/schema/ListPageExtOptions.schema.d.ts +0 -123
  337. package/types/_core/scripts/views/list/schema/ListPageOptions.schema.d.ts +0 -145
  338. package/types/_core/scripts/views/list/tabular/TabularListTypes.d.ts +0 -53
  339. package/types/_core/scripts/views/page/PageZoneTypes.d.ts +0 -1
  340. package/types/_core/scripts/views/page/charts/ChartControlOptions.schema.d.ts +0 -759
  341. package/types/_core/scripts/views/page/charts/facade/IChartControlFacade.d.ts +0 -29
  342. package/types/_core/scripts/views/page/charts/reportDashboard/config/chartConfig.d.ts +0 -31
  343. package/types/_core/scripts/views/page/charts/reportDashboard/config/filterConfig.d.ts +0 -56
  344. package/types/_core/scripts/views/page/charts/reportDashboard/config/listConfig.d.ts +0 -9
  345. package/types/_core/scripts/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +0 -55
  346. package/types/_core/scripts/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +0 -3
  347. package/types/_core/scripts/views/page/charts/reportDashboard/index.d.ts +0 -5
  348. package/types/_core/scripts/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +0 -13
  349. package/types/job/scripts/types.d.ts +0 -11
@@ -1,759 +0,0 @@
1
- declare type MdtChartsDataRow = Record<string, any>;
2
- declare type TitleFunctionParams = {
3
- data: MdtChartsDataRow[];
4
- };
5
- declare type TitleFunction = (params: TitleFunctionParams) => string;
6
- declare type Title = string | TitleFunction;
7
- export declare type Orientation = "horizontal" | "vertical";
8
- declare type ChartElementPosition = "start" | "end";
9
- export declare type AxisLabelPosition = "vertical" | "horizontal";
10
- export declare type TwoDimChartLegendPosition = "top" | "bottom";
11
- declare type ChartField = string;
12
- export declare type ChartFieldWithTitle = {
13
- title?: string;
14
- name: string;
15
- };
16
- export declare type TwoDimensionalValueField = ChartField | (ChartFieldWithTitle & {
17
- color?: string;
18
- });
19
- /**
20
- * @defaultSnippets
21
- * [
22
- * {
23
- * "label": "Вертикальная гистограмма (bar)",
24
- * "body": {
25
- * "title": "$1",
26
- * "type": "2d",
27
- * "keyField": "$2",
28
- * "charts": [
29
- * {
30
- * "type": "bar",
31
- * "data": {
32
- * "valueFields": [
33
- * "$3"
34
- * ]
35
- * }
36
- * }
37
- * ]
38
- * }
39
- * },
40
- * {
41
- * "label": "Вертикальная линейная диаграмма (line)",
42
- * "body": {
43
- * "title": "$1",
44
- * "type": "2d",
45
- * "keyField": "$2",
46
- * "charts": [
47
- * {
48
- * "type": "line",
49
- * "data": {
50
- * "valueFields": [
51
- * "$3"
52
- * ]
53
- * }
54
- * }
55
- * ]
56
- * }
57
- * },
58
- * {
59
- * "label": "Вертикальная диаграмма с областями (area)",
60
- * "body": {
61
- * "title": "$1",
62
- * "type": "2d",
63
- * "keyField": "$2",
64
- * "charts": [
65
- * {
66
- * "type": "area",
67
- * "data": {
68
- * "valueFields": [
69
- * "$3"
70
- * ]
71
- * }
72
- * }
73
- * ]
74
- * }
75
- * },
76
- * {
77
- * "label": "Горизонтальная гистограмма (bar)",
78
- * "body": {
79
- * "title": "$1",
80
- * "type": "2d",
81
- * "keyField": "$2",
82
- * "axes": {
83
- * "orientation": "horizontal"
84
- * },
85
- * "charts": [
86
- * {
87
- * "type": "bar",
88
- * "data": {
89
- * "valueFields": [
90
- * "$3"
91
- * ]
92
- * }
93
- * }
94
- * ]
95
- * }
96
- * },
97
- * {
98
- * "label": "Кольцевая диаграмма (donut)",
99
- * "body": {
100
- * "title": "$1",
101
- * "type": "polar",
102
- * "keyField": "$2",
103
- * "chart": {
104
- * "valueField": "$3"
105
- * }
106
- * }
107
- * }
108
- * ]
109
- */
110
- export declare type ChartControlOptions = TwoDimensionalOptions | PolarOptions | CardChartPublicOptions;
111
- /**
112
- * @defaultSnippets
113
- * [
114
- * {
115
- * "label": "Вертикальная ориентация, ось ключей снизу, ось значений слева",
116
- * "body": {
117
- * "orientation": "vertical",
118
- * "key": {
119
- * "position": "end"
120
- * },
121
- * "value": {
122
- * "position": "start"
123
- * }
124
- * }
125
- * },
126
- * {
127
- * "label": "Вертикальная ориентация, ось ключей сверху, ось значений слева",
128
- * "body": {
129
- * "orientation": "vertical",
130
- * "key": {
131
- * "position": "start"
132
- * },
133
- * "value": {
134
- * "position": "start"
135
- * }
136
- * }
137
- * },
138
- * {
139
- * "label": "Горизонтальная ориентация, ось ключей слева, ось значений снизу",
140
- * "body": {
141
- * "orientation": "horizontal",
142
- * "key": {
143
- * "position": "start"
144
- * },
145
- * "value": {
146
- * "position": "start"
147
- * }
148
- * }
149
- * },
150
- * {
151
- * "label": "Горизонтальная ориентация, ось ключей справа, ось значений снизу",
152
- * "body": {
153
- * "orientation": "horizontal",
154
- * "key": {
155
- * "position": "end"
156
- * },
157
- * "value": {
158
- * "position": "end"
159
- * }
160
- * }
161
- * }
162
- * ]
163
- */
164
- export interface Axes {
165
- /**
166
- * @title Ориентация диаграмм
167
- * @description При вертикальной ориентации ось ключей будет расположена сверху или снизу.
168
- * При горизонтальной ориентации ось ключей будет расположена слева или справа.
169
- * По умолчанию вертикальная.
170
- */
171
- orientation?: Orientation;
172
- /** @title Общая настройка подписей осей */
173
- labels?: BaseAxesLabelsOptions;
174
- /**
175
- * @title Параметры оси ключей
176
- */
177
- key?: {
178
- /**
179
- * @title Позиция оси ключей
180
- * @description По умолчанию равна "end", если диаграмма вертикальная и "start" - если диаграмма горизонтальная
181
- */
182
- position?: ChartElementPosition;
183
- /**
184
- * @title Отображение оси
185
- * @description По умолчанию всегда отображается
186
- */
187
- visible?: boolean;
188
- /**
189
- * @title Отображение линий сетки оси
190
- * @description По умолчанию всегда скрывается
191
- */
192
- gridLine?: boolean;
193
- /**
194
- * @title Настройка подписей оси
195
- */
196
- labels?: {
197
- /**
198
- * @title Настройки позиции оси
199
- * @description Настраивается при вертикальном расположении. По умолчанию позиция определяется по количеству свободного места для одной подписи.
200
- */
201
- position?: AxisLabelPosition;
202
- /**
203
- * @title Количество места, выделенного для подписи в px
204
- * @default 20
205
- */
206
- space?: number;
207
- /**
208
- * @title Функция форматирования подписи
209
- * @param options Параметры для форматирования подписи. В поле `key` хранится значение поля оси ключей, в поле `dataRow` - строка с данными для данного ключа.
210
- * @returns Строка с форматированной подписью
211
- */
212
- format?: (options: {
213
- key: string;
214
- dataRow: MdtChartsDataRow;
215
- }) => string;
216
- };
217
- };
218
- /**
219
- * @title Параметры оси значений
220
- */
221
- value?: BaseValueAxisOptions & {
222
- /**
223
- * @title Позиция оси значений
224
- * @description По умолчанию равна "start", если диаграмма вертикальная и "end" - если диаграмма горизонтальная
225
- */
226
- position?: ChartElementPosition;
227
- /**
228
- * @title Отображение линий сетки оси
229
- * @description По умолчанию всегда отображается
230
- */
231
- gridLine?: boolean;
232
- line?: {
233
- visible?: boolean;
234
- };
235
- };
236
- valueSecondary?: BaseValueAxisOptions;
237
- }
238
- interface BaseValueAxisOptions {
239
- /** @title Размер отступа между подписями в px */
240
- stepSize?: number;
241
- /**
242
- * @title Настройка диапазона осей
243
- * @param options Опции с данными диаграммы
244
- * @returns Объект с диапазоном осей. Оставить -1 для автоматического определения диапазона
245
- */
246
- domain?: (options: {
247
- data: MdtChartsDataRow[];
248
- }) => {
249
- start: number;
250
- end: number;
251
- };
252
- /** @title Функция форматирования значений */
253
- formatValue?: string;
254
- /**
255
- * @title Отображение оси
256
- * @description По умолчанию не отображается только тогда, когда все диаграммы имеют встроенные лейблы, показывающие значения
257
- */
258
- visible?: boolean;
259
- }
260
- export interface BaseAxesLabelsOptions {
261
- /**
262
- * @title Максимальный размер подписи в px
263
- * @description Для вертикальных осей этот параметр определяет максимальную ширину подписи, а для горизонтальных - максимальную высоту подписи (если подписи расположены вертикально).
264
- * @default 80
265
- */
266
- maxSize?: number;
267
- }
268
- interface BaseChartBlockOptions {
269
- /**
270
- * @title Высота блока графика (px)
271
- * @description По умолчанию равна 510 для 2d и polar диаграмм и 150 для card. Минимально возможная высота: 100. Максимально возможная: 800.
272
- * @default 510
273
- */
274
- height?: number;
275
- /** @title Настройки стилей */
276
- style?: {
277
- /** @title Цвет фона */
278
- backgroundColor?: string;
279
- };
280
- }
281
- interface GraphicChartBlockOptions extends BaseChartBlockOptions {
282
- /**
283
- * @title Заголовок диаграммы
284
- */
285
- title?: Title;
286
- /**
287
- * @title Наименование поля-ключа
288
- */
289
- keyField: ChartField;
290
- /**
291
- * @title Маркдаун тултипа
292
- */
293
- tooltipMarkdown?: string;
294
- /** @title Логический тип поля значений */
295
- valueFieldType?: string;
296
- /**
297
- * @title Максимальное количество отображаемых записей
298
- * @description По умолчанию равно `50`
299
- * @default 50
300
- */
301
- maxRecordCount?: number;
302
- /**
303
- * @title Настройки отображения тултипа
304
- */
305
- tooltip?: ChartTooltipOptions;
306
- }
307
- export interface ChartTooltipOptions {
308
- aggregator?: TooltipAggregator;
309
- /**
310
- * @title Настройки отображения строк тултипа
311
- */
312
- rows?: ChartTooltipRowsOptions;
313
- }
314
- interface ChartTooltipRowsOptions {
315
- /**
316
- * @title Функция для сортировки строк
317
- * @param aRow Строка с подписью и значением (хранятся в поле `textContent`)
318
- * @param bRow Строка с подписью и значением (хранятся в поле `textContent`)
319
- * @returns Число, которое будет использоваться для сортировки. Если больше 0, то aRow будет расположена после bRow, если меньше 0, то наоборот, если равно 0, то порядок не изменится
320
- * @example Сортировка по значениям от большего к меньшему:
321
- *
322
- * sortCompareFn: (aRow, bRow) => bRow.textContent.value - aRow.textContent.value
323
- */
324
- sortCompareFn?: (aRow: ChartTooltipRow, bRow: ChartTooltipRow) => number;
325
- /**
326
- * @title Предикат для фильтрации строк
327
- * @param row Строка с подписью и значением (хранятся в поле `textContent`)
328
- * @returns true, если строка должна быть отображена и false - если отображаться не должна
329
- * @example Скрытие пустых значений:
330
- *
331
- * filterPredicate: (row) => row.textContent.value != null
332
- */
333
- filterPredicate?: (row: ChartTooltipRow) => boolean;
334
- }
335
- interface ChartTooltipRow {
336
- textContent: {
337
- caption: string;
338
- value?: number;
339
- };
340
- valueField: ChartFieldWithTitle;
341
- }
342
- interface TooltipAggregator {
343
- content?: (options: {
344
- row: MdtChartsDataRow;
345
- }) => TooltipAggregatorContent;
346
- position?: "underKey" | "underValues";
347
- }
348
- declare type TooltipAggregatorContent = {
349
- type: "plainText";
350
- textContent: string;
351
- } | {
352
- type: "captionValue";
353
- caption: string;
354
- value: any;
355
- };
356
- export interface CommonCanvasOptions {
357
- bar?: BarCanvasOptions;
358
- }
359
- interface BarCanvasOptions {
360
- /** @title минимальная ширина столбца в px */
361
- minBarWidth?: number;
362
- /** @title максимальная ширина столбца в px */
363
- maxBarWidth?: number;
364
- /** @title минимальный размер расстояния между группами столбцов для разных ключей */
365
- groupMinDistance?: number;
366
- /** @title максимальный размер расстояния между группами столбцов для разных ключей */
367
- groupMaxDistance?: number;
368
- /** @title расстояние между столбцами в одной группе */
369
- barDistance?: number;
370
- }
371
- /**
372
- * @title Двумерная диаграмма
373
- */
374
- export interface TwoDimensionalOptions extends GraphicChartBlockOptions {
375
- /**
376
- * @title Тип исчисления диаграммы
377
- */
378
- type: "2d";
379
- /**
380
- * @title Параметры осей двумерной диаграммы
381
- *
382
- */
383
- axes?: Axes;
384
- /**
385
- * @title Параметры двумерных диаграмм
386
- */
387
- charts: TwoDimensionalChart[];
388
- /**
389
- * @title Общие параметры холста графика
390
- */
391
- commonCanvasOptions?: CommonCanvasOptions;
392
- legend?: boolean | {
393
- show?: boolean;
394
- position?: TwoDimChartLegendPosition;
395
- };
396
- valueLabels?: {
397
- style?: ValueLabelsStyleOptions;
398
- collision?: {
399
- otherValueLabels?: "hide" | "none";
400
- };
401
- };
402
- /**
403
- * @title Отображения групп записей
404
- */
405
- grouping?: {
406
- /**
407
- * @title Уровни группировки
408
- */
409
- items: {
410
- /**
411
- * @title Данные, по которым будет настроена группировка
412
- */
413
- data: {
414
- field: ChartFieldWithTitle;
415
- };
416
- /**
417
- * @title Подписи групп. Будут отображать значения поля, по которому задана группировка
418
- */
419
- labels?: {
420
- /**
421
- * @title Позиция подписей.
422
- * @description Может быть равна "start" или "end". Настраивается аналогично позиции оси ключей
423
- */
424
- position?: ChartElementPosition;
425
- };
426
- }[];
427
- };
428
- events?: TwoDimensionalEvents;
429
- }
430
- interface ValueLabelsStyleOptions {
431
- cssClassName?: string;
432
- /**
433
- * @default 10
434
- */
435
- fontSize?: number;
436
- /**
437
- * @default rgba(68, 68, 68, 0.5)
438
- */
439
- color?: string;
440
- }
441
- interface TwoDimensionalEvents {
442
- drawComplete?: (event: DrawCompleteEvent) => void;
443
- }
444
- interface DrawCompleteEvent {
445
- canvas: {
446
- keyItems: CanvasKeyItemOptions[];
447
- plotAreaMargin: BlockMargin;
448
- };
449
- }
450
- interface BlockMargin {
451
- top: number;
452
- bottom: number;
453
- left: number;
454
- right: number;
455
- }
456
- interface CanvasKeyItemOptions {
457
- totalSize: number;
458
- }
459
- /**
460
- * @title Круговая диаграмма
461
- */
462
- export interface PolarOptions extends GraphicChartBlockOptions {
463
- /**
464
- * @title Тип исчисления диаграммы
465
- */
466
- type: "polar";
467
- /**
468
- * @title Параметры круговой диаграммы
469
- */
470
- chart: PolarChart;
471
- /**
472
- * @title Наименование поля с цветом
473
- * @description Наименование поля, в котором хранится цвет для сегментов диаграммы.
474
- */
475
- colorField?: string;
476
- /**
477
- * @title Отображение легенды
478
- * @description По умолчанию для круговых диаграмм отображается всегда
479
- */
480
- legend?: boolean;
481
- }
482
- export declare type TwoDimensionalChart = BarChart | LineChart | AreaChart | DotChart;
483
- interface TwoDimensionalChartOptions {
484
- /**
485
- * @title Параметры данных, привязанных к диаграмме
486
- */
487
- data: {
488
- /**
489
- * @title Наименования отображаемых полей-значений
490
- */
491
- valueFields: TwoDimensionalValueField[];
492
- secondaryValue?: boolean;
493
- };
494
- /**
495
- * @title Отображение диаграммы в сегментированном виде
496
- */
497
- isSegmented?: boolean;
498
- /**
499
- * @title Отображение подписей значений на диаграмме
500
- */
501
- valueLabels?: boolean | ValueLabelsChartOptions;
502
- }
503
- export declare type ValueLabelsPositionMode = "center" | "afterElement" | "beforeHead" | "afterStart";
504
- export interface ValueLabelsChartOptions {
505
- on?: boolean;
506
- /** @default "afterElement" */
507
- position?: ValueLabelsPositionMode;
508
- /**
509
- * @title Опции смещения подписи
510
- */
511
- offset?: {
512
- /**
513
- * @title Смещение подписи относительно вершины элемента в px
514
- * @default 10
515
- */
516
- size?: number;
517
- };
518
- /**
519
- * @title Список полей, для которых будут отображаться подписи
520
- * @description По умолчанию подписи отображаются для всех полей
521
- */
522
- renderForFields?: ChartField[];
523
- /**
524
- * @title Функция для формирования текста подписи
525
- * @param options Параметры для формирования текста подписи
526
- * @returns Объект с текстом подписи
527
- */
528
- content?: (options: {
529
- dataRow: MdtChartsDataRow;
530
- field: ChartFieldWithTitle;
531
- }) => {
532
- textContent: string;
533
- };
534
- rotation?: {
535
- angle?: number;
536
- };
537
- handleElement?: (options: {
538
- element: SVGElement;
539
- value: number;
540
- dataRow: MdtChartsDataRow;
541
- }) => void;
542
- format?: (options: {
543
- value: number;
544
- }) => string | number;
545
- }
546
- /**
547
- * @title Гистограмма
548
- * @defaultSnippets
549
- * [
550
- * {
551
- * "label": "Несегментированная гистограмма (bar)",
552
- * "body": {
553
- * "type": "bar",
554
- * "isSegmented": false,
555
- * "data": {
556
- * "valueFields": [
557
- * "$1"
558
- * ]
559
- * }
560
- * }
561
- * },
562
- * {
563
- * "label": "Сегментированная гистограмма (bar)",
564
- * "body": {
565
- * "type": "bar",
566
- * "isSegmented": true,
567
- * "data": {
568
- * "valueFields": [
569
- * "$1"
570
- * ]
571
- * }
572
- * }
573
- * },
574
- * {
575
- * "label": "Сегментированная линейная диаграмма (line)",
576
- * "body": {
577
- * "type": "line",
578
- * "isSegmented": true,
579
- * "data": {
580
- * "valueFields": [
581
- * "$1"
582
- * ]
583
- * }
584
- * }
585
- * },
586
- * {
587
- * "label": "Несегментированная линейна диаграмма (line)",
588
- * "body": {
589
- * "type": "line",
590
- * "isSegmented": false,
591
- * "data": {
592
- * "valueFields": [
593
- * "$1"
594
- * ]
595
- * }
596
- * }
597
- * },
598
- * {
599
- * "label": "Сегментированная диаграмма с областями (area)",
600
- * "body": {
601
- * "type": "area",
602
- * "isSegmented": true,
603
- * "data": {
604
- * "valueFields": [
605
- * "$1"
606
- * ]
607
- * }
608
- * }
609
- * },
610
- * {
611
- * "label": "Несегментированная диаграмма с областями (area)",
612
- * "body": {
613
- * "type": "area",
614
- * "isSegmented": false,
615
- * "data": {
616
- * "valueFields": [
617
- * "$1"
618
- * ]
619
- * }
620
- * }
621
- * }
622
- * ]
623
- */
624
- interface BarChart extends TwoDimensionalChartOptions {
625
- /**
626
- * @title Тип 2D-диаграммы
627
- */
628
- type: "bar";
629
- /**
630
- * @title Отображение встроенных надписей со значением
631
- * @description Надписи отображаются только при горизонтальном отображении. По умолчанию равно `true`
632
- * @default true
633
- */
634
- labels?: boolean;
635
- /** @title Отображать в заштрихованном виде */
636
- hatched?: boolean;
637
- borderRadius?: BarChartBorderRadius;
638
- }
639
- interface BarChartBorderRadius {
640
- value?: number;
641
- }
642
- /**
643
- * @title Линейная диаграмма
644
- */
645
- interface LineAreaChart extends TwoDimensionalChartOptions {
646
- /**
647
- * @title Отображение маркеров
648
- * @description По умолчанию всегда скрыты
649
- */
650
- markers?: boolean;
651
- }
652
- interface AreaChart extends LineAreaChart {
653
- /**
654
- * @title Тип 2D-диаграммы
655
- */
656
- type: "area";
657
- /** @title Включить градиент */
658
- gradient?: boolean;
659
- }
660
- interface LineChart extends LineAreaChart {
661
- /**
662
- * @title Тип 2D-диаграммы
663
- */
664
- type: "line";
665
- /** @title Управление пунктиром */
666
- dash?: LineDash;
667
- width?: number;
668
- }
669
- interface LineDash {
670
- /** @title Включить пунктир */
671
- on?: boolean;
672
- /** @title Длина одной черты в px */
673
- dashSize?: number;
674
- /** @title Размер между чертами в px */
675
- gapSize?: number;
676
- }
677
- export interface DotChart extends TwoDimensionalChartOptions {
678
- type: "dot";
679
- }
680
- export interface PolarChart {
681
- /**
682
- * @title Наименование отображаемого поля-значения
683
- */
684
- valueField: ChartField | ChartFieldWithTitle;
685
- /**
686
- * @title Управление агрегатором
687
- */
688
- aggregator?: {
689
- /**
690
- * @title Контент агрегатора
691
- */
692
- content?: string;
693
- };
694
- }
695
- export interface CardChartPublicOptions extends BaseChartBlockOptions {
696
- /** @title Тип исчисления диаграммы */
697
- type: "card";
698
- /** @title Название */
699
- title: string;
700
- /** @title Описание */
701
- description?: string;
702
- /** @title Иконка */
703
- icon?: string;
704
- /** @title Значение */
705
- value: CardChartValueOptions;
706
- /**
707
- * @title Настройки отображения изменения показателя
708
- * @deprecated Используйте `changesBlock.items` вместо этого параметра
709
- */
710
- change?: CardChartChangePublicOptions;
711
- /** @title Опции блока с изменениями показателя */
712
- changesBlock?: {
713
- /** @title Направление отображения изменений */
714
- layout?: {
715
- /**
716
- * @title Направление отображения изменений
717
- * @description "row" - отображение изменений в одну строку, "column" - отображение изменений в один столбец
718
- * @default "row"
719
- */
720
- direction?: "row" | "column";
721
- };
722
- /** @title Опции изменений */
723
- items: CardChartChangePublicOptions[];
724
- };
725
- /** @title Цвет текста карточки */
726
- color?: CardColorOptions;
727
- }
728
- export interface CardChartValueOptions {
729
- /** @title Наименование поля */
730
- field: ChartField;
731
- /** @title Логический тип поля */
732
- dataType?: string;
733
- /** @title Шаблон выводимого значения */
734
- template?: string;
735
- }
736
- export interface CardChartChangePublicOptions {
737
- /** @title Значение блока */
738
- value: CardChartValueOptions;
739
- /** @title Описание блока */
740
- description?: string;
741
- /** @title Иконки описания */
742
- descriptionIcons?: {
743
- iconName: string;
744
- description?: string;
745
- }[];
746
- /** @title Цвет текста */
747
- color?: CardColorOptions;
748
- }
749
- interface CardColorOptions {
750
- /** @title Набор цветов */
751
- range: ColorRangeItem[];
752
- }
753
- export interface ColorRangeItem {
754
- /** @title Значение с которого начинается цвет */
755
- value?: number;
756
- /** @title Название цвета */
757
- color: string;
758
- }
759
- export {};