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.
- package/dist/index.d.ts +11 -11
- package/dist/index.js +16 -16
- package/package.json +38 -38
- package/readme.md +15 -15
- package/types/common/Datasource.d.ts +9 -9
- package/types/common/Field.d.ts +51 -51
- package/types/common/FieldSettings.schema.d.ts +17 -17
- package/types/common/MdtField.d.ts +9 -9
- package/types/common/MdtObject.d.ts +7 -7
- package/types/common/Record.d.ts +27 -27
- package/types/common/Table.d.ts +66 -66
- package/types/common/form/tabs/TabsFormExtenderOptions.d.ts +12 -12
- package/types/common/list/aggregation/AggregayionTypes.d.ts +2 -2
- package/types/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +6 -6
- package/types/common/list/cellControlExtender/CellControlExtender.d.ts +1 -1
- package/types/common/list/columnMenu/ColumnMenuOptions.d.ts +17 -17
- package/types/common/list/columnMenu/QuickFilterOptions.d.ts +7 -7
- package/types/common/list/columnMenu/ValuesFilterOptions.d.ts +24 -24
- package/types/common/list/form/FormListPublicOptions.d.ts +44 -44
- package/types/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +11 -11
- package/types/common/list/group/groupTypes.d.ts +177 -177
- package/types/common/list/hierarchy/hierarchyTypes.d.ts +48 -48
- package/types/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +3 -3
- package/types/common/list/labelStyle/LabelStylePublicOptions.d.ts +6 -6
- package/types/common/list/legend/LegendListExtenderOptions.d.ts +8 -8
- package/types/common/list/listView/ListViewListExtenderOptions.d.ts +25 -25
- package/types/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +23 -23
- package/types/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +29 -29
- package/types/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +4 -4
- package/types/common/list/select/SelectPublicOptions.d.ts +18 -18
- package/types/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +3 -3
- package/types/common/list/toolbar/ToolbarPublicOptions.d.ts +23 -22
- package/types/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +7 -7
- package/types/common/serverMessage/ServerMessageTypes.d.ts +17 -17
- package/types/components/baseFormControls/input/inputOptions.d.ts +31 -31
- package/types/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +2 -2
- package/types/components/button/baseButton/buttonOptions.d.ts +12 -12
- package/types/components/buttonGroup/buttonGroupOptions.d.ts +7 -7
- package/types/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -5
- package/types/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +20 -19
- package/types/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +32 -32
- package/types/components/form/fieldView/fieldViewOptions.d.ts +13 -13
- package/types/components/form/header/types.d.ts +14 -14
- package/types/components/form/label/labelOptions.d.ts +23 -22
- package/types/components/icon/iconOptions.d.ts +24 -22
- package/types/components/iconButton/iconButtonOptions.d.ts +10 -10
- package/types/components/navigation/header/userButton/UserMenuSlot.d.ts +10 -10
- package/types/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -5
- package/types/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +16 -16
- package/types/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +4 -4
- package/types/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +24 -24
- package/types/components/resizablePanels/resizablePanelsOptions.d.ts +22 -22
- package/types/components/textWithIcon/textWithIconOptions.d.ts +17 -17
- package/types/components/toggleablePanels/toggleablePanelsOptions.d.ts +40 -40
- package/types/data/active/ActivationListAdapterTypes.d.ts +6 -6
- package/types/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +21 -21
- package/types/data/periods/helpers/types.d.ts +4 -4
- package/types/datasources/FetchResult.d.ts +5 -5
- package/types/helpers/IUi.d.ts +2 -2
- package/types/helpers/dateUtils.d.ts +23 -23
- package/types/helpers/deleteFromArray.d.ts +1 -1
- package/types/helpers/events/EventEmitter.d.ts +12 -12
- package/types/helpers/fireEvent.d.ts +4 -4
- package/types/helpers/formatOptions.d.ts +16 -16
- package/types/helpers/formattedText.d.ts +8 -8
- package/types/helpers/pipeline/ImmutableArgPipeline.d.ts +8 -8
- package/types/helpers/pipeline/Pipeline.d.ts +20 -20
- package/types/helpers/redraw.d.ts +16 -16
- package/types/helpers/types.d.ts +85 -85
- package/types/helpers/ui/elementModificators/focusableComponent.d.ts +15 -15
- package/types/helpers/ui/elementModificators/modificatorsTypes.d.ts +4 -4
- package/types/helpers/ui/keyboardUtils/getKeySymbol.d.ts +2 -2
- package/types/helpers/ui/keyboardUtils/keyboardUtils.d.ts +23 -23
- package/types/helpers/ui/keyboardUtils/osByUserAgent.d.ts +1 -1
- package/types/helpers/utils/classNames.d.ts +20 -20
- package/types/helpers/utils/keyStorage/KeyStorage.d.ts +6 -6
- package/types/helpers/utils/memoization/memoize.d.ts +18 -18
- package/types/helpers/utils/object.d.ts +4 -4
- package/types/helpers/utils/stringifyControlSize.d.ts +3 -3
- package/types/helpers/utils/valued/getValued.d.ts +18 -18
- package/types/helpers/zone/IZone.d.ts +8 -8
- package/types/security/PermissionLevel.d.ts +40 -40
- package/types/security/User.d.ts +20 -19
- package/types/services/HotkeyManager.d.ts +6 -6
- package/types/services/IFilter.d.ts +322 -322
- package/types/services/ModuleData.d.ts +9 -9
- package/types/services/api/ApiAccessor/apiV1Types.d.ts +266 -266
- package/types/services/api/ApiAccessor/apiV2Types.d.ts +586 -585
- package/types/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +42 -42
- package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +10 -10
- package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +28 -28
- package/types/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +9 -9
- package/types/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +37 -37
- package/types/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +2 -2
- package/types/services/api/ApiRequestOptions.d.ts +43 -43
- package/types/services/api/BaseQuery.d.ts +25 -25
- package/types/services/api/Query.d.ts +56 -56
- package/types/services/api/QuerySorting.d.ts +18 -18
- package/types/services/api/ServerResonseType.d.ts +2 -2
- package/types/services/commands/Command.d.ts +22 -22
- package/types/services/commands/CommandGroup.d.ts +15 -15
- package/types/services/commands/CommandManager.d.ts +77 -77
- package/types/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -26
- package/types/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +36 -36
- package/types/services/customModules/facades/Form/IFieldStateFacade.d.ts +13 -13
- package/types/services/customModules/facades/Form/IFormControlFacade.d.ts +133 -133
- package/types/services/customModules/facades/Form/IFormFacade.d.ts +102 -102
- package/types/services/customModules/facades/Form/IFormLayout.d.ts +12 -12
- package/types/services/customModules/facades/IAppFacade.d.ts +38 -38
- package/types/services/customModules/facades/IAuthFacade.d.ts +9 -9
- package/types/services/customModules/facades/ILegacyFacade.d.ts +239 -239
- package/types/services/customModules/facades/IMdtFacade.d.ts +88 -88
- package/types/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -5
- package/types/services/customModules/facades/IPageFacade.d.ts +7 -7
- package/types/services/customModules/facades/List/Column/IColumnFacade.d.ts +7 -7
- package/types/services/customModules/facades/List/IListCellFacade.d.ts +8 -8
- package/types/services/customModules/facades/List/IListComponentFacade.d.ts +10 -10
- package/types/services/customModules/facades/List/IListControlFacade.d.ts +88 -88
- package/types/services/customModules/facades/List/IListRowFacade.d.ts +2 -2
- package/types/services/customModules/facades/List/IListServiceFacade.d.ts +96 -96
- package/types/services/customModules/facades/List/ListOptions/IListOptions.d.ts +4 -4
- package/types/services/customModules/facades/components/CodeEditorFacade.d.ts +9 -9
- package/types/services/customModules/facades/components/ModalFacade.d.ts +4 -4
- package/types/services/customModules/facades/formDashboard/IFormDashboard.d.ts +20 -20
- package/types/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +83 -77
- package/types/services/customModules/facades/internalModules/importModuleFacade.d.ts +53 -53
- package/types/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +11 -11
- package/types/services/customModules/facades/internalModules/statusFacade.d.ts +13 -13
- package/types/services/customModules/facades/record/IRecordFacade.d.ts +13 -13
- package/types/services/customModules/facades/record/IRecordManagerFacade.d.ts +5 -5
- package/types/services/customModules/facades/schema/IFieldFacade.d.ts +14 -14
- package/types/services/customModules/facades/schema/IObjectFacade.d.ts +20 -20
- package/types/services/customModules/facades/schema/ISchemaFacade.d.ts +24 -24
- package/types/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +23 -23
- package/types/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +8 -8
- package/types/services/customModules/facades/services/CommandManagerFacade.d.ts +11 -11
- package/types/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +13 -13
- package/types/services/customModules/facades/services/INavigationFacade.d.ts +91 -91
- package/types/services/customModules/facades/services/ISecurityFacade.d.ts +13 -13
- package/types/services/customModules/facades/utils/IApiFacade.d.ts +91 -91
- package/types/services/customModules/facades/utils/IUiComponentsFacade.d.ts +191 -191
- package/types/services/customModules/facades/utils/IUiFacade.d.ts +84 -84
- package/types/services/customModules/facades/utils/IUtilsFacade.d.ts +225 -225
- package/types/services/customModules/facades/utils/ImUtilsFacade.d.ts +42 -42
- package/types/services/dropdown/IDropDownMenu.d.ts +41 -41
- package/types/services/e2e/e2eServiceType.d.ts +11 -11
- package/types/ui-kit/IUiKitUtilsFacade.d.ts +35 -35
- package/types/ui-kit/UiKitFacade.d.ts +106 -104
- package/types/ui-kit/components/calendar/Calendar.d.ts +3 -3
- package/types/views/controls/Control.d.ts +7 -7
- package/types/views/controls/panels/panelOptions.d.ts +15 -15
- package/types/views/form/controls/commonControl/ICommonControl.d.ts +29 -29
- package/types/views/form/controls/fileupload/FileInputFacade.types.d.ts +6 -6
- package/types/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +24 -24
- package/types/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +70 -70
- package/types/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +36 -36
- package/types/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +21 -21
- package/types/views/form/formTypes.d.ts +5 -5
- package/types/views/form/schema/FormPageExtOptions.schema.d.ts +22 -22
- package/types/views/form/schema/FormPageOptions.schema.d.ts +19 -19
- package/types/views/gallery/ImageFetchOptions.d.ts +5 -5
- package/types/views/list/ListViewOptions.d.ts +102 -102
- package/types/views/list/features/aggregation/AggregationRowListOptions.d.ts +23 -23
- package/types/views/list/schema/ListPageExtOptions.schema.d.ts +123 -123
- package/types/views/list/schema/ListPageOptions.schema.d.ts +145 -145
- package/types/views/list/tabular/TabularListTypes.d.ts +53 -53
- package/types/views/page/PageZoneTypes.d.ts +1 -1
- package/types/views/page/charts/ChartControlOptions.schema.d.ts +850 -760
- package/types/views/page/charts/facade/IChartControlFacade.d.ts +29 -29
- package/types/views/page/charts/reportDashboard/config/chartConfig.d.ts +31 -31
- package/types/views/page/charts/reportDashboard/config/filterConfig.d.ts +56 -56
- package/types/views/page/charts/reportDashboard/config/listConfig.d.ts +9 -9
- package/types/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +55 -55
- package/types/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +3 -3
- package/types/views/page/charts/reportDashboard/index.d.ts +5 -5
- package/types/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +13 -13
- package/types/_core/scripts/common/Datasource.d.ts +0 -9
- package/types/_core/scripts/common/Field.d.ts +0 -51
- package/types/_core/scripts/common/FieldSettings.schema.d.ts +0 -17
- package/types/_core/scripts/common/MdtField.d.ts +0 -9
- package/types/_core/scripts/common/MdtObject.d.ts +0 -7
- package/types/_core/scripts/common/Record.d.ts +0 -27
- package/types/_core/scripts/common/Table.d.ts +0 -66
- package/types/_core/scripts/common/form/tabs/TabsFormExtenderOptions.d.ts +0 -12
- package/types/_core/scripts/common/list/aggregation/AggregayionTypes.d.ts +0 -2
- package/types/_core/scripts/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +0 -6
- package/types/_core/scripts/common/list/cellControlExtender/CellControlExtender.d.ts +0 -1
- package/types/_core/scripts/common/list/columnMenu/ColumnMenuOptions.d.ts +0 -17
- package/types/_core/scripts/common/list/columnMenu/QuickFilterOptions.d.ts +0 -7
- package/types/_core/scripts/common/list/columnMenu/ValuesFilterOptions.d.ts +0 -24
- package/types/_core/scripts/common/list/form/FormListPublicOptions.d.ts +0 -40
- package/types/_core/scripts/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +0 -11
- package/types/_core/scripts/common/list/group/groupTypes.d.ts +0 -177
- package/types/_core/scripts/common/list/hierarchy/hierarchyTypes.d.ts +0 -48
- package/types/_core/scripts/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +0 -3
- package/types/_core/scripts/common/list/labelStyle/LabelStylePublicOptions.d.ts +0 -6
- package/types/_core/scripts/common/list/legend/LegendListExtenderOptions.d.ts +0 -8
- package/types/_core/scripts/common/list/listView/ListViewListExtenderOptions.d.ts +0 -25
- package/types/_core/scripts/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +0 -23
- package/types/_core/scripts/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +0 -29
- package/types/_core/scripts/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +0 -4
- package/types/_core/scripts/common/list/select/SelectPublicOptions.d.ts +0 -18
- package/types/_core/scripts/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +0 -3
- package/types/_core/scripts/common/list/toolbar/ToolbarPublicOptions.d.ts +0 -22
- package/types/_core/scripts/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +0 -7
- package/types/_core/scripts/common/serverMessage/ServerMessageTypes.d.ts +0 -17
- package/types/_core/scripts/components/baseFormControls/input/inputOptions.d.ts +0 -30
- package/types/_core/scripts/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +0 -2
- package/types/_core/scripts/components/button/baseButton/buttonOptions.d.ts +0 -12
- package/types/_core/scripts/components/buttonGroup/buttonGroupOptions.d.ts +0 -7
- package/types/_core/scripts/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +0 -5
- package/types/_core/scripts/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +0 -19
- package/types/_core/scripts/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +0 -32
- package/types/_core/scripts/components/form/fieldView/fieldViewOptions.d.ts +0 -13
- package/types/_core/scripts/components/form/header/types.d.ts +0 -14
- package/types/_core/scripts/components/form/label/labelOptions.d.ts +0 -22
- package/types/_core/scripts/components/icon/iconOptions.d.ts +0 -21
- package/types/_core/scripts/components/iconButton/iconButtonOptions.d.ts +0 -9
- package/types/_core/scripts/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +0 -5
- package/types/_core/scripts/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +0 -16
- package/types/_core/scripts/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +0 -4
- package/types/_core/scripts/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +0 -24
- package/types/_core/scripts/components/resizablePanels/resizablePanelsOptions.d.ts +0 -22
- package/types/_core/scripts/components/textWithIcon/textWithIconOptions.d.ts +0 -16
- package/types/_core/scripts/components/toggleablePanels/toggleablePanelsOptions.d.ts +0 -40
- package/types/_core/scripts/data/active/ActivationListAdapterTypes.d.ts +0 -6
- package/types/_core/scripts/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +0 -21
- package/types/_core/scripts/data/periods/helpers/types.d.ts +0 -4
- package/types/_core/scripts/datasources/FetchResult.d.ts +0 -5
- package/types/_core/scripts/helpers/IUi.d.ts +0 -2
- package/types/_core/scripts/helpers/dateUtils.d.ts +0 -23
- package/types/_core/scripts/helpers/deleteFromArray.d.ts +0 -1
- package/types/_core/scripts/helpers/events/EventEmitter.d.ts +0 -12
- package/types/_core/scripts/helpers/fireEvent.d.ts +0 -4
- package/types/_core/scripts/helpers/formatOptions.d.ts +0 -16
- package/types/_core/scripts/helpers/formattedText.d.ts +0 -8
- package/types/_core/scripts/helpers/pipeline/ImmutableArgPipeline.d.ts +0 -8
- package/types/_core/scripts/helpers/pipeline/Pipeline.d.ts +0 -20
- package/types/_core/scripts/helpers/redraw.d.ts +0 -16
- package/types/_core/scripts/helpers/types.d.ts +0 -84
- package/types/_core/scripts/helpers/ui/elementModificators/focusableComponent.d.ts +0 -14
- package/types/_core/scripts/helpers/ui/elementModificators/modificatorsTypes.d.ts +0 -4
- package/types/_core/scripts/helpers/ui/keyboardUtils/getKeySymbol.d.ts +0 -2
- package/types/_core/scripts/helpers/ui/keyboardUtils/keyboardUtils.d.ts +0 -23
- package/types/_core/scripts/helpers/ui/keyboardUtils/osByUserAgent.d.ts +0 -1
- package/types/_core/scripts/helpers/utils/classNames.d.ts +0 -20
- package/types/_core/scripts/helpers/utils/keyStorage/KeyStorage.d.ts +0 -6
- package/types/_core/scripts/helpers/utils/memoization/memoize.d.ts +0 -18
- package/types/_core/scripts/helpers/utils/object.d.ts +0 -4
- package/types/_core/scripts/helpers/utils/stringifyControlSize.d.ts +0 -3
- package/types/_core/scripts/helpers/utils/valued/getValued.d.ts +0 -18
- package/types/_core/scripts/helpers/zone/IZone.d.ts +0 -7
- package/types/_core/scripts/security/PermissionLevel.d.ts +0 -40
- package/types/_core/scripts/security/User.d.ts +0 -19
- package/types/_core/scripts/services/HotkeyManager.d.ts +0 -6
- package/types/_core/scripts/services/IFilter.d.ts +0 -322
- package/types/_core/scripts/services/ModuleData.d.ts +0 -9
- package/types/_core/scripts/services/api/ApiAccessor/apiV1Types.d.ts +0 -266
- package/types/_core/scripts/services/api/ApiAccessor/apiV2Types.d.ts +0 -585
- package/types/_core/scripts/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +0 -42
- package/types/_core/scripts/services/api/ApiAccessor/job/jobApiTypes.d.ts +0 -82
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +0 -10
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +0 -28
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +0 -9
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +0 -37
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +0 -2
- package/types/_core/scripts/services/api/ApiRequestOptions.d.ts +0 -43
- package/types/_core/scripts/services/api/BaseQuery.d.ts +0 -25
- package/types/_core/scripts/services/api/Query.d.ts +0 -56
- package/types/_core/scripts/services/api/QuerySorting.d.ts +0 -18
- package/types/_core/scripts/services/api/ServerResonseType.d.ts +0 -2
- package/types/_core/scripts/services/commands/Command.d.ts +0 -22
- package/types/_core/scripts/services/commands/CommandGroup.d.ts +0 -15
- package/types/_core/scripts/services/commands/CommandManager.d.ts +0 -77
- package/types/_core/scripts/services/customModules/facades/Form/IFieldControlFacade.d.ts +0 -26
- package/types/_core/scripts/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +0 -36
- package/types/_core/scripts/services/customModules/facades/Form/IFieldStateFacade.d.ts +0 -13
- package/types/_core/scripts/services/customModules/facades/Form/IFormControlFacade.d.ts +0 -133
- package/types/_core/scripts/services/customModules/facades/Form/IFormFacade.d.ts +0 -102
- package/types/_core/scripts/services/customModules/facades/Form/IFormLayout.d.ts +0 -12
- package/types/_core/scripts/services/customModules/facades/IAppFacade.d.ts +0 -38
- package/types/_core/scripts/services/customModules/facades/IAuthFacade.d.ts +0 -9
- package/types/_core/scripts/services/customModules/facades/ILegacyFacade.d.ts +0 -238
- package/types/_core/scripts/services/customModules/facades/IMdtFacade.d.ts +0 -87
- package/types/_core/scripts/services/customModules/facades/IModuleRegistryFacade.d.ts +0 -5
- package/types/_core/scripts/services/customModules/facades/IPageFacade.d.ts +0 -7
- package/types/_core/scripts/services/customModules/facades/List/Column/IColumnFacade.d.ts +0 -7
- package/types/_core/scripts/services/customModules/facades/List/IListCellFacade.d.ts +0 -8
- package/types/_core/scripts/services/customModules/facades/List/IListComponentFacade.d.ts +0 -10
- package/types/_core/scripts/services/customModules/facades/List/IListControlFacade.d.ts +0 -88
- package/types/_core/scripts/services/customModules/facades/List/IListRowFacade.d.ts +0 -2
- package/types/_core/scripts/services/customModules/facades/List/IListServiceFacade.d.ts +0 -96
- package/types/_core/scripts/services/customModules/facades/List/ListOptions/IListOptions.d.ts +0 -4
- package/types/_core/scripts/services/customModules/facades/components/CodeEditorFacade.d.ts +0 -9
- package/types/_core/scripts/services/customModules/facades/components/ModalFacade.d.ts +0 -4
- package/types/_core/scripts/services/customModules/facades/formDashboard/IFormDashboard.d.ts +0 -20
- package/types/_core/scripts/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +0 -77
- package/types/_core/scripts/services/customModules/facades/internalModules/importModuleFacade.d.ts +0 -53
- package/types/_core/scripts/services/customModules/facades/internalModules/jobFacade.d.ts +0 -7
- package/types/_core/scripts/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +0 -12
- package/types/_core/scripts/services/customModules/facades/internalModules/statusFacade.d.ts +0 -13
- package/types/_core/scripts/services/customModules/facades/record/IRecordFacade.d.ts +0 -13
- package/types/_core/scripts/services/customModules/facades/record/IRecordManagerFacade.d.ts +0 -5
- package/types/_core/scripts/services/customModules/facades/schema/IFieldFacade.d.ts +0 -14
- package/types/_core/scripts/services/customModules/facades/schema/IObjectFacade.d.ts +0 -20
- package/types/_core/scripts/services/customModules/facades/schema/ISchemaFacade.d.ts +0 -24
- package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +0 -23
- package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +0 -8
- package/types/_core/scripts/services/customModules/facades/services/CommandManagerFacade.d.ts +0 -11
- package/types/_core/scripts/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +0 -13
- package/types/_core/scripts/services/customModules/facades/services/INavigationFacade.d.ts +0 -91
- package/types/_core/scripts/services/customModules/facades/services/ISecurityFacade.d.ts +0 -13
- package/types/_core/scripts/services/customModules/facades/utils/IApiFacade.d.ts +0 -91
- package/types/_core/scripts/services/customModules/facades/utils/IUiComponentsFacade.d.ts +0 -185
- package/types/_core/scripts/services/customModules/facades/utils/IUiFacade.d.ts +0 -83
- package/types/_core/scripts/services/customModules/facades/utils/IUtilsFacade.d.ts +0 -224
- package/types/_core/scripts/services/customModules/facades/utils/ImUtilsFacade.d.ts +0 -41
- package/types/_core/scripts/services/dropdown/IDropDownMenu.d.ts +0 -40
- package/types/_core/scripts/services/e2e/e2eServiceType.d.ts +0 -11
- package/types/_core/scripts/ui-kit/IUiKitUtilsFacade.d.ts +0 -21
- package/types/_core/scripts/ui-kit/UiKitFacade.d.ts +0 -101
- package/types/_core/scripts/views/controls/Control.d.ts +0 -7
- package/types/_core/scripts/views/controls/panels/panelOptions.d.ts +0 -15
- package/types/_core/scripts/views/form/controls/commonControl/ICommonControl.d.ts +0 -28
- package/types/_core/scripts/views/form/controls/fileupload/FileInputFacade.types.d.ts +0 -6
- package/types/_core/scripts/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +0 -24
- package/types/_core/scripts/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +0 -70
- package/types/_core/scripts/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +0 -36
- package/types/_core/scripts/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +0 -21
- package/types/_core/scripts/views/form/formTypes.d.ts +0 -5
- package/types/_core/scripts/views/form/schema/FormPageExtOptions.schema.d.ts +0 -22
- package/types/_core/scripts/views/form/schema/FormPageOptions.schema.d.ts +0 -19
- package/types/_core/scripts/views/gallery/ImageFetchOptions.d.ts +0 -5
- package/types/_core/scripts/views/list/ListViewOptions.d.ts +0 -99
- package/types/_core/scripts/views/list/features/aggregation/AggregationRowListOptions.d.ts +0 -23
- package/types/_core/scripts/views/list/schema/ListPageExtOptions.schema.d.ts +0 -123
- package/types/_core/scripts/views/list/schema/ListPageOptions.schema.d.ts +0 -145
- package/types/_core/scripts/views/list/tabular/TabularListTypes.d.ts +0 -53
- package/types/_core/scripts/views/page/PageZoneTypes.d.ts +0 -1
- package/types/_core/scripts/views/page/charts/ChartControlOptions.schema.d.ts +0 -759
- package/types/_core/scripts/views/page/charts/facade/IChartControlFacade.d.ts +0 -29
- package/types/_core/scripts/views/page/charts/reportDashboard/config/chartConfig.d.ts +0 -31
- package/types/_core/scripts/views/page/charts/reportDashboard/config/filterConfig.d.ts +0 -56
- package/types/_core/scripts/views/page/charts/reportDashboard/config/listConfig.d.ts +0 -9
- package/types/_core/scripts/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +0 -55
- package/types/_core/scripts/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +0 -3
- package/types/_core/scripts/views/page/charts/reportDashboard/index.d.ts +0 -5
- package/types/_core/scripts/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +0 -13
- package/types/job/scripts/types.d.ts +0 -11
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { MdtRecord, RecordId } from "../../../../common/Record";
|
|
2
|
-
import { FormattedText } from "../../../../helpers/formattedText";
|
|
3
|
-
import { AnyObject, MithrilControl, Valued, ViewControl } from "mdtScripts/helpers/types";
|
|
4
|
-
import { Field } from "../../../../common/Field";
|
|
5
|
-
import { IButton } from "../../../../views/form/controls/monacoEditor/jsonSchemas/Button.schema";
|
|
6
|
-
import { IObjectFacade } from "../schema/IObjectFacade";
|
|
7
|
-
import { IFormControlFacade } from "./IFormControlFacade";
|
|
8
|
-
import { FieldPhysicalType } from "../schema/ISchemaFacade";
|
|
9
|
-
import { IBaseFieldBuilder } from "../schema/fieldBuilder/fieldBuilder/IFieldBuilder";
|
|
10
|
-
export declare type ActionButton = IButton & {
|
|
11
|
-
/** Всплывающая подсказка */
|
|
12
|
-
description?: Valued<FormattedText>;
|
|
13
|
-
/** Подписка на событие нажатия на кнопку */
|
|
14
|
-
execute?: () => void;
|
|
15
|
-
/** Активность кнопки */
|
|
16
|
-
enabled?: () => boolean;
|
|
17
|
-
/** Видимость кнопки */
|
|
18
|
-
visible?: () => boolean;
|
|
19
|
-
/** CSS-класс кнопки */
|
|
20
|
-
className?: string;
|
|
21
|
-
};
|
|
22
|
-
export interface ButtonFacade extends ActionButton {
|
|
23
|
-
/** Дочерние элементы кнопки */
|
|
24
|
-
items?: ButtonFacade[];
|
|
25
|
-
}
|
|
26
|
-
export interface IFormInitOptions {
|
|
27
|
-
/** Уникальный код списка */
|
|
28
|
-
code?: string;
|
|
29
|
-
/** Настройки полей */
|
|
30
|
-
fieldOptions?: {
|
|
31
|
-
[fieldCode: string]: any;
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export interface IFormOptions {
|
|
35
|
-
/** Код формы */
|
|
36
|
-
code: string;
|
|
37
|
-
/** Наименование формы */
|
|
38
|
-
title?: string;
|
|
39
|
-
/** Описание формы в формате markdown */
|
|
40
|
-
description?: string;
|
|
41
|
-
/** Поля формы */
|
|
42
|
-
fields?: (ICustomField | IBaseFieldBuilder)[];
|
|
43
|
-
/** Настройки главной кнопки формы */
|
|
44
|
-
primaryButton?: ButtonFacade;
|
|
45
|
-
/** Подписаться на событие сохранения записи формы */
|
|
46
|
-
onSave(record: Record<string, any>): any;
|
|
47
|
-
/** Подписаться на событие изменения записи формы */
|
|
48
|
-
onFieldUpdate?(field: Field, value: string, value$?: string, record?: MdtRecord): any;
|
|
49
|
-
/** Запись по умолчанию */
|
|
50
|
-
defaultValues?: Partial<MdtRecord>;
|
|
51
|
-
/** Описание лэйаута формы */
|
|
52
|
-
layout?: CustomFormLayout;
|
|
53
|
-
viewSettings?: FormViewSettings;
|
|
54
|
-
}
|
|
55
|
-
export interface FormViewSettings {
|
|
56
|
-
hideSubTitle?: boolean;
|
|
57
|
-
hideTitle?: boolean;
|
|
58
|
-
}
|
|
59
|
-
export declare type ObjectManagementField = {
|
|
60
|
-
code: string;
|
|
61
|
-
title: string;
|
|
62
|
-
type: FieldPhysicalType;
|
|
63
|
-
module?: string;
|
|
64
|
-
};
|
|
65
|
-
export interface IFormServiceFacade {
|
|
66
|
-
/** Создать форму, привязанную объекту */
|
|
67
|
-
create(tableCode: string, id?: RecordId, options?: any, extOptions?: any): IFormControlFacade;
|
|
68
|
-
/** Создать кастомную форму */
|
|
69
|
-
createCustom(options: IFormOptions): IFormControlFacade;
|
|
70
|
-
/** Подписаться на событие инициализации формы */
|
|
71
|
-
onInit(callback: (form: IFormControlFacade) => void): void;
|
|
72
|
-
/** Подписаться на событие создания формы */
|
|
73
|
-
onCreate(callback: (form: IFormControlFacade) => void): void;
|
|
74
|
-
/** Подписаться на событие окончания создания формы */
|
|
75
|
-
onCreated(callback: (form: IFormControlFacade) => void): void;
|
|
76
|
-
/** Добавить настройки для полей формы */
|
|
77
|
-
addFieldOptions(tableCode: string, options: IFormInitOptions): void;
|
|
78
|
-
/** Зарегистрировать расширение формы
|
|
79
|
-
* @param {string} alias - Имя свойства, которое можно использовать для установки опций экстендера
|
|
80
|
-
*/
|
|
81
|
-
registerExtender<T>(extender: IFormExtenderFacade<T>, alias: string): void;
|
|
82
|
-
/** Зарегистрировать новый контрол формы */
|
|
83
|
-
registerControl<Options>(controlOptions: FormControlOptions<Options>): void;
|
|
84
|
-
}
|
|
85
|
-
export interface ICustomField extends Field {
|
|
86
|
-
/** Опции контрола поля. Используются только в том случае, если не задан лэйаут для формы */
|
|
87
|
-
options?: any;
|
|
88
|
-
}
|
|
89
|
-
declare type CustomFormLayout = any;
|
|
90
|
-
export interface IFormExtenderFacade<T> extends Partial<ViewControl> {
|
|
91
|
-
new (form: IFormControlFacade, options: any): T;
|
|
92
|
-
}
|
|
93
|
-
export interface FormControlOptions<Options = AnyObject> {
|
|
94
|
-
code: string;
|
|
95
|
-
title: string;
|
|
96
|
-
enabled?: (object: IObjectFacade) => boolean;
|
|
97
|
-
type: FormControlClass<Options>;
|
|
98
|
-
}
|
|
99
|
-
export interface FormControlClass<Options = AnyObject> {
|
|
100
|
-
new (form: IFormControlFacade, options: Options): MithrilControl;
|
|
101
|
-
}
|
|
102
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export interface IAppFacade {
|
|
2
|
-
/**
|
|
3
|
-
* Изменить логотип системы
|
|
4
|
-
*
|
|
5
|
-
* @param logo текст, ссылка или строка с svg
|
|
6
|
-
* @param type тип логотипа, по умолчанию svgOrText
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* **Примеры**
|
|
10
|
-
|
|
11
|
-
* Установить текст в логотип:
|
|
12
|
-
* ```js
|
|
13
|
-
* App.setLogo("ICS");
|
|
14
|
-
* ```
|
|
15
|
-
|
|
16
|
-
* Установить svg в качестве логотипа:
|
|
17
|
-
* ```js
|
|
18
|
-
const svgIcsLogo = `<svg xmlns="http://www.w3.org/2000/svg" width="90" height="32" viewBox=" 0 0 102 32" fill="none"><g clip-path="url(#clip0)"><path d="M5.47418 8.14642H0.216797L1.54442 12.9067H5.47418V32H10.3067V13.8483V8.14642H5.47418Z" fill="#ffffff" /><path d="M52.7375 13.0113L54.0651 8.14642H44.1345C40.0985 8.14642 36.8591 11.3374 36.8591 15.313C36.8591 19.2362 40.0454 22.4272 44.0283 22.4795V22.5318H49.8167C51.0912 22.5318 52.1533 23.578 52.1533 24.8334C52.1533 26.0889 51.0912 27.1351 49.8167 27.1351H38.0805L36.7529 32H49.8167C53.8527 32 57.0921 28.809 57.0921 24.8334C57.0921 20.9102 53.8527 17.6669 49.8698 17.6669H44.1345C42.8599 17.6669 41.7979 16.6207 41.7979 15.3653C41.7979 14.1098 42.8599 13.0636 44.1345 13.0636H52.7375V13.0113Z" fill="#ffffff" /> <path d="M25.1225 8.14642C18.4313 8.14642 13.0146 13.4821 13.0146 20.0732C13.0146 26.6643 18.4313 32 25.1225 32H32.8227L33.991 27.0828H25.0163C21.0334 27.0828 17.8471 23.9442 17.8471 20.0209C17.8471 16.0976 21.0334 12.959 25.0163 12.959H32.7165L33.9379 8.19873L25.1225 8.14642Z" fill="#ffffff" /> <path d="M94.1056 27.135C90.3882 27.135 87.4143 24.1533 87.4143 20.5439V14.0051V12.8019H95.2739L96.6015 7.98943H87.4143V5.16467V0.0905457H82.4756V5.16467V7.93712V13.6389V15.9929V16.2544V20.4916C82.4756 26.8212 87.6799 31.9476 94.1056 31.9476H100.106L101.434 27.0827L94.1056 27.135Z" fill="#ffffff" /> <path d="M74.4046 8.0416H69.1472L67.9258 12.7495H74.4046V31.8429H79.2902V13.6911V8.0416H74.4046Z" fill="#ffffff" /> <path d="M10.3682 4.99186V0.179291L5.48254 0.179291V4.99186H10.3682Z" fill="#29ABE2" /> <path d="M79.2646 4.81256V0L74.3789 0V4.81256H79.2646Z" fill="#29ABE2" /> <path d="M60.4912 22.4797L61.7657 17.6671H66.6514L65.3769 22.4797H60.4912Z" fill="#29ABE2" /> </g> <defs> <clipPath id="clip0"> <rect width="102" height="32" fill="white" /> </clipPath> </defs> </svg>`
|
|
19
|
-
App.setLogo(svgIcsLogo);
|
|
20
|
-
* ```
|
|
21
|
-
|
|
22
|
-
* Установить ссылку на изображение:
|
|
23
|
-
* ```js
|
|
24
|
-
* App.setLogo("https://ics-it.ru/api/static?path=_logo.svg", "url");
|
|
25
|
-
* ```
|
|
26
|
-
|
|
27
|
-
* Отключить логотип:
|
|
28
|
-
* ```js
|
|
29
|
-
* App.setLogo(null);
|
|
30
|
-
* ```
|
|
31
|
-
*/
|
|
32
|
-
setLogo(logo: string | false, type?: LogoType): void;
|
|
33
|
-
/**
|
|
34
|
-
* Изменить дополнительный логотип, справа от основного, аналогично {@link setLogo}
|
|
35
|
-
*/
|
|
36
|
-
setSecondLogo(logo: string | false, type?: LogoType): void;
|
|
37
|
-
}
|
|
38
|
-
export declare type LogoType = "textOrSvg" | "url";
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MithrilControl } from "../../../helpers/types";
|
|
2
|
-
import { IType } from "./utils/IUiFacade";
|
|
3
|
-
export interface IAuthFacade {
|
|
4
|
-
disableFormsProvider(): void;
|
|
5
|
-
disableProvider(control: IType<MithrilControl>): void;
|
|
6
|
-
registerControl(getControl: () => MithrilControl): void;
|
|
7
|
-
onHeadClick(onHeadClickHandler: () => void): void;
|
|
8
|
-
disableOnHeadClick(onHeadClickHandler: () => void): void;
|
|
9
|
-
}
|
|
@@ -1,238 +0,0 @@
|
|
|
1
|
-
/// <reference types="../../../../mithril" />
|
|
2
|
-
/// <reference types="react" />
|
|
3
|
-
import { MdtRecord } from "mdtScripts/common/Record";
|
|
4
|
-
import { ButtonFacade } from "./Form/IFormFacade";
|
|
5
|
-
import { ClassNamesArg } from "mdtScripts/helpers/utils/classNames";
|
|
6
|
-
import { ViewElement } from "mdtScripts/helpers/types";
|
|
7
|
-
/** @deprecated */
|
|
8
|
-
export interface ILegacyFacade {
|
|
9
|
-
SchemaManagerInstance: any;
|
|
10
|
-
SchemaManager: any;
|
|
11
|
-
NavigationManagerInstance: any;
|
|
12
|
-
DateTextFieldCtrl: any;
|
|
13
|
-
FormlessFieldCtrl: any;
|
|
14
|
-
MonthPicker: any;
|
|
15
|
-
UiMarked: any;
|
|
16
|
-
prop: any;
|
|
17
|
-
ImageService: any;
|
|
18
|
-
FormLayoutManager: any;
|
|
19
|
-
removeSpecial: any;
|
|
20
|
-
ServerErrorCtrl: any;
|
|
21
|
-
ExportApiAccessor: any;
|
|
22
|
-
showErrors: any;
|
|
23
|
-
CheckboxListFieldCtrl: any;
|
|
24
|
-
SplitBlockCtrl: any;
|
|
25
|
-
SplitBlockSection: any;
|
|
26
|
-
pickRecordModal: any;
|
|
27
|
-
uiCtxEvent: any;
|
|
28
|
-
uiRedraw: any;
|
|
29
|
-
ApiAccessorInstance: any;
|
|
30
|
-
ApiAccessor: any;
|
|
31
|
-
ApiUtils: any;
|
|
32
|
-
ApiUrlManager: any;
|
|
33
|
-
clone: any;
|
|
34
|
-
mClassNames: any;
|
|
35
|
-
isDev: any;
|
|
36
|
-
ModuleService: any;
|
|
37
|
-
ApiServiceInstance: any;
|
|
38
|
-
SecurityManagerInstance: any;
|
|
39
|
-
FormControlManagerInstance: any;
|
|
40
|
-
RecordManagerInstance: any;
|
|
41
|
-
RecordManager: any;
|
|
42
|
-
utils: any;
|
|
43
|
-
FormServiceInstance: any;
|
|
44
|
-
ListServiceInstance: any;
|
|
45
|
-
ui: any;
|
|
46
|
-
viewer: any;
|
|
47
|
-
deleteFromArray: any;
|
|
48
|
-
onDocumentVisibilityChange: any;
|
|
49
|
-
fireEvent: any;
|
|
50
|
-
combine: any;
|
|
51
|
-
app: any;
|
|
52
|
-
ContentListCtrl: any;
|
|
53
|
-
ListCtrl: any;
|
|
54
|
-
FormCtrl: any;
|
|
55
|
-
SideCtrl: any;
|
|
56
|
-
FieldCtrl: any;
|
|
57
|
-
FileInputCtrl: any;
|
|
58
|
-
FkPanels: any;
|
|
59
|
-
FramePage: any;
|
|
60
|
-
PageZones: any;
|
|
61
|
-
modules: ModulesLegacyFacade;
|
|
62
|
-
pageConfig: any;
|
|
63
|
-
view: any;
|
|
64
|
-
NavigationControlManager: any;
|
|
65
|
-
NavigationControlManagerInstance: any;
|
|
66
|
-
messages: any;
|
|
67
|
-
registerForm: any;
|
|
68
|
-
components: any;
|
|
69
|
-
FieldControlManagerInstance: any;
|
|
70
|
-
ServerMessageCtrl: any;
|
|
71
|
-
ContainerMixin: any;
|
|
72
|
-
SelectFieldCtrl: any;
|
|
73
|
-
FormFieldMode: any;
|
|
74
|
-
FormFieldCtrl: any;
|
|
75
|
-
FullPageForm: any;
|
|
76
|
-
LabelMode: any;
|
|
77
|
-
WarningText: any;
|
|
78
|
-
showError: any;
|
|
79
|
-
SelectMixin: any;
|
|
80
|
-
CacheManager: any;
|
|
81
|
-
ControlSize: any;
|
|
82
|
-
LayoutBuilder: any;
|
|
83
|
-
ServerMessageHelper: any;
|
|
84
|
-
showSidebar: any;
|
|
85
|
-
uiShow: any;
|
|
86
|
-
GlobalVarManager: any;
|
|
87
|
-
list: {
|
|
88
|
-
ToolbarCtrl: any;
|
|
89
|
-
SwitchButtons: any;
|
|
90
|
-
CustomColumnCtrl: any;
|
|
91
|
-
HierarchyListExtender: any;
|
|
92
|
-
LabelStyleHelper: any;
|
|
93
|
-
LabelStyleCellView: any;
|
|
94
|
-
};
|
|
95
|
-
CenteredMessageCtrl: any;
|
|
96
|
-
PageHeaderControls: any;
|
|
97
|
-
confirmModal: any;
|
|
98
|
-
DropdownMenuCtrl: any;
|
|
99
|
-
DeleteService: any;
|
|
100
|
-
ApiService: any;
|
|
101
|
-
ApiUrlHelper: any;
|
|
102
|
-
URLHelper: any;
|
|
103
|
-
SchemaError: any;
|
|
104
|
-
MemoryDatasource: any;
|
|
105
|
-
ChangePasswordCtrl: any;
|
|
106
|
-
layoutFormGroup: any;
|
|
107
|
-
FilterSettings: any;
|
|
108
|
-
TextFieldCtrl: any;
|
|
109
|
-
QuickFilterPipelines: any;
|
|
110
|
-
textWithIcon: any;
|
|
111
|
-
isElementContentOverflowing: any;
|
|
112
|
-
labeledCheckboxView: any;
|
|
113
|
-
toolbarView: any;
|
|
114
|
-
uiComponents: {
|
|
115
|
-
alert: any;
|
|
116
|
-
};
|
|
117
|
-
PlaceInQueryHelpers: any;
|
|
118
|
-
isApiV2: () => boolean;
|
|
119
|
-
ProgressBarCtrl: any;
|
|
120
|
-
ProgressBarStateController: any;
|
|
121
|
-
getChartElByCode: (code: string) => Element;
|
|
122
|
-
linkIcon: any;
|
|
123
|
-
ApiJSActionsPipeline: any;
|
|
124
|
-
DatePickerInput: any;
|
|
125
|
-
OneToManyGridCtrl: any;
|
|
126
|
-
/**
|
|
127
|
-
* Преобразует дату в строку формата ISO (YYYY-MM-DD)
|
|
128
|
-
* @param date Объект даты
|
|
129
|
-
* @returns Строка в формате YYYY-MM-DD
|
|
130
|
-
*/
|
|
131
|
-
toISO8601DateString: any;
|
|
132
|
-
/**
|
|
133
|
-
* Преобразует дату в строку формата ISO с временем (YYYY-MM-DDThh:mm:ssZ)
|
|
134
|
-
* @param date Объект даты
|
|
135
|
-
* @param dateOnly Если true, возвращает только дату без времени
|
|
136
|
-
* @returns Строка в формате ISO
|
|
137
|
-
*/
|
|
138
|
-
toISOString: any;
|
|
139
|
-
Skeleton: any;
|
|
140
|
-
PipelineSync: any;
|
|
141
|
-
compareDates: any;
|
|
142
|
-
isEmpty: any;
|
|
143
|
-
dateFromUiDateString: any;
|
|
144
|
-
toUiDateString: any;
|
|
145
|
-
parseRowsToV1: any;
|
|
146
|
-
DatePicker: any;
|
|
147
|
-
getDateForCalendarControl: any;
|
|
148
|
-
locale: any;
|
|
149
|
-
datePickerViewModes: any;
|
|
150
|
-
formatByMask: any;
|
|
151
|
-
classes: {
|
|
152
|
-
borderRadiusNormal: string;
|
|
153
|
-
borderRadiusSmall: string;
|
|
154
|
-
borderRadiusLarge: string;
|
|
155
|
-
borderRadiusXLarge: string;
|
|
156
|
-
SCROLLBAR_INVISIBLE_CLASSNAME: string;
|
|
157
|
-
SCROLLBAR_VANISHED_CLASSNAME: string;
|
|
158
|
-
SCROLLBAR_APPEARANCE_COMPENSATION: string;
|
|
159
|
-
DATEPICKER_CLASS: string;
|
|
160
|
-
};
|
|
161
|
-
tabsView: {
|
|
162
|
-
wrapper: (children: ViewElement) => _mithril.MithrilVirtualElement;
|
|
163
|
-
linksWrapper: (children: ViewElement) => _mithril.MithrilVirtualElement;
|
|
164
|
-
linkItem: ({ isActive, onclick, index, icon, title }: {
|
|
165
|
-
isActive: boolean;
|
|
166
|
-
onclick: () => void;
|
|
167
|
-
index: number;
|
|
168
|
-
icon?: string;
|
|
169
|
-
title: string;
|
|
170
|
-
}) => _mithril.MithrilVirtualElement;
|
|
171
|
-
contentWrapper: (children: ViewElement) => _mithril.MithrilVirtualElement;
|
|
172
|
-
};
|
|
173
|
-
/**
|
|
174
|
-
* Функция для рендера React компонента в mithril.
|
|
175
|
-
*
|
|
176
|
-
* @param Component React компонент
|
|
177
|
-
* @param props props для компонента
|
|
178
|
-
* @param options опции для обертки. Например, className
|
|
179
|
-
*/
|
|
180
|
-
reactComponentWrap<P>(Component: React.FC<P>, props: P, options?: {
|
|
181
|
-
className?: ClassNamesArg;
|
|
182
|
-
}): ViewElement;
|
|
183
|
-
/**
|
|
184
|
-
* Функция для рендера компонента UI Kit в mithril.
|
|
185
|
-
*
|
|
186
|
-
* @param Component React компонент из UI Kit
|
|
187
|
-
* @param props props для компонента
|
|
188
|
-
*/
|
|
189
|
-
uiKitWrap<P>(Component: React.FC<P>, props: P): ViewElement;
|
|
190
|
-
}
|
|
191
|
-
export interface ModulesLegacyFacade {
|
|
192
|
-
audit?: {
|
|
193
|
-
PrepareAuditRecords: any;
|
|
194
|
-
};
|
|
195
|
-
pbi?: {
|
|
196
|
-
PbiFrameCtrl: any;
|
|
197
|
-
};
|
|
198
|
-
etl?: {
|
|
199
|
-
FormValueManager: any;
|
|
200
|
-
EtlPanel: any;
|
|
201
|
-
};
|
|
202
|
-
dm?: {
|
|
203
|
-
MergeHelper: any;
|
|
204
|
-
};
|
|
205
|
-
mapping?: {
|
|
206
|
-
MappingListExtender: any;
|
|
207
|
-
MappingManager: any;
|
|
208
|
-
MappingManagerInstance: any;
|
|
209
|
-
};
|
|
210
|
-
admin?: {
|
|
211
|
-
DesignerHelper: any;
|
|
212
|
-
};
|
|
213
|
-
binding?: {
|
|
214
|
-
UnbindingForm: any;
|
|
215
|
-
};
|
|
216
|
-
status?: {
|
|
217
|
-
StatusButton: any;
|
|
218
|
-
StatusManager: any;
|
|
219
|
-
statusSchema: any;
|
|
220
|
-
};
|
|
221
|
-
help?: {
|
|
222
|
-
HelpManagerInstance: any;
|
|
223
|
-
};
|
|
224
|
-
job?: {
|
|
225
|
-
JobHelper: any;
|
|
226
|
-
};
|
|
227
|
-
ExportApiAccessor?: any;
|
|
228
|
-
password?: {
|
|
229
|
-
buttons: {
|
|
230
|
-
changePassword: (args: {
|
|
231
|
-
mdtPrincipalRecord: MdtRecord;
|
|
232
|
-
}) => ButtonFacade;
|
|
233
|
-
sendInvitation: (args: {
|
|
234
|
-
mdtPrincipalRecord: MdtRecord;
|
|
235
|
-
}) => ButtonFacade;
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/// <reference types="../../../../mithril" />
|
|
2
|
-
import { E2eServiceType } from "mdtServices/e2e/e2eServiceType";
|
|
3
|
-
import { FilterConstructor } from "../../../services/IFilter";
|
|
4
|
-
import { IFieldControlFacadeContstructor } from "./Form/IFieldControlFacade";
|
|
5
|
-
import { IFieldControlManagerFacade } from "./Form/IFieldControlManagerFacade";
|
|
6
|
-
import { IFormControlFacadeContstructor } from "./Form/IFormControlFacade";
|
|
7
|
-
import { IFormDashboard } from "./formDashboard/IFormDashboard";
|
|
8
|
-
import { IFormServiceFacade } from "./Form/IFormFacade";
|
|
9
|
-
import { IAppFacade } from "./IAppFacade";
|
|
10
|
-
import { IAuthFacade } from "./IAuthFacade";
|
|
11
|
-
import { ILegacyFacade } from "./ILegacyFacade";
|
|
12
|
-
import { IModuleRegistryFacade } from "./IModuleRegistryFacade";
|
|
13
|
-
import { InternalModulesFacade } from "./internalModules/modulesFacadeTypes";
|
|
14
|
-
import { IPageFacade } from "./IPageFacade";
|
|
15
|
-
import { IListControlFacadeContstructor } from "./List/IListControlFacade";
|
|
16
|
-
import { IListServiceFacade } from "./List/IListServiceFacade";
|
|
17
|
-
import { IRecordManagerFacade } from "./record/IRecordManagerFacade";
|
|
18
|
-
import { ISchemaFacade } from "./schema/ISchemaFacade";
|
|
19
|
-
import { CommandManagerFacade } from "./services/CommandManagerFacade";
|
|
20
|
-
import { INavigationFacade } from "./services/INavigationFacade";
|
|
21
|
-
import { ISecurityFacade } from "./services/ISecurityFacade";
|
|
22
|
-
import { IApiFacade } from "./utils/IApiFacade";
|
|
23
|
-
import { ImUtilsFacade } from "./utils/ImUtilsFacade";
|
|
24
|
-
import { IUiComponentsFacade } from "./utils/IUiComponentsFacade";
|
|
25
|
-
import { IUiFacade } from "./utils/IUiFacade";
|
|
26
|
-
import { IUtilsFacade } from "./utils/IUtilsFacade";
|
|
27
|
-
import { ReportDashboard } from "mdtScripts/views/page/charts/reportDashboard";
|
|
28
|
-
import { UiKitFacade } from "../../../ui-kit/UiKitFacade";
|
|
29
|
-
import { IUiKitUtilsFacade } from "../../../ui-kit/IUiKitUtilsFacade";
|
|
30
|
-
export declare type ModulePackageInfo = {
|
|
31
|
-
version: string;
|
|
32
|
-
name?: string;
|
|
33
|
-
};
|
|
34
|
-
export declare type ModuleCallback = () => Promise<void> | void;
|
|
35
|
-
export interface IMDTFacade {
|
|
36
|
-
/** Mithril библиотека */
|
|
37
|
-
m: _mithril.MithrilStatic;
|
|
38
|
-
/** Управление навигацией */
|
|
39
|
-
Navigation: INavigationFacade;
|
|
40
|
-
/** Управление пользователем и безопасностью */
|
|
41
|
-
SecurityManager: ISecurityFacade;
|
|
42
|
-
/** Управление списками */
|
|
43
|
-
ListService: IListServiceFacade;
|
|
44
|
-
/** Компонент списка */
|
|
45
|
-
List: IListControlFacadeContstructor;
|
|
46
|
-
/** Управление формами */
|
|
47
|
-
FormService: IFormServiceFacade;
|
|
48
|
-
/** Компонент формы */
|
|
49
|
-
Form: IFormControlFacadeContstructor;
|
|
50
|
-
/** Управление контролами */
|
|
51
|
-
ControlManager: IFieldControlManagerFacade;
|
|
52
|
-
/** Компонент контрола */
|
|
53
|
-
FieldControl: IFieldControlFacadeContstructor;
|
|
54
|
-
/** Управление дашбордом */
|
|
55
|
-
FormDashboard: IFormDashboard;
|
|
56
|
-
/** Утилиты для Mithril */
|
|
57
|
-
mUtils: ImUtilsFacade;
|
|
58
|
-
/** Утилиты */
|
|
59
|
-
Utils: IUtilsFacade;
|
|
60
|
-
/** Управление UI компонентами */
|
|
61
|
-
Ui: IUiFacade;
|
|
62
|
-
UiComponents: IUiComponentsFacade;
|
|
63
|
-
/** Управление запросами к API */
|
|
64
|
-
Api: IApiFacade;
|
|
65
|
-
/** Компонент фильтра */
|
|
66
|
-
Filter: FilterConstructor;
|
|
67
|
-
Schema: ISchemaFacade;
|
|
68
|
-
RecordManager: IRecordManagerFacade;
|
|
69
|
-
ModuleRegistry: IModuleRegistryFacade;
|
|
70
|
-
/** Управление способами авторизации */
|
|
71
|
-
Auth: IAuthFacade;
|
|
72
|
-
/** Управление страницей */
|
|
73
|
-
Page: IPageFacade;
|
|
74
|
-
/** Управление приложением */
|
|
75
|
-
App: IAppFacade;
|
|
76
|
-
/** Управление командами */
|
|
77
|
-
CommandManager: CommandManagerFacade;
|
|
78
|
-
/** @deprecated */
|
|
79
|
-
legacy: ILegacyFacade;
|
|
80
|
-
modules: InternalModulesFacade;
|
|
81
|
-
e2e: E2eServiceType;
|
|
82
|
-
ReportDashboard: ReportDashboard;
|
|
83
|
-
/** Зарегистрировать модуль */
|
|
84
|
-
registerModule(callback: ModuleCallback, moduleData: ModulePackageInfo): void;
|
|
85
|
-
UiKit: UiKitFacade;
|
|
86
|
-
UiKitUtils: IUiKitUtilsFacade;
|
|
87
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { FieldPath } from "../../../../../helpers/types";
|
|
2
|
-
import { IFieldFacade } from "../../schema/IFieldFacade";
|
|
3
|
-
export declare type IColumnFacade = IFieldColumnFacade;
|
|
4
|
-
export interface IFieldColumnFacade {
|
|
5
|
-
fieldPath: FieldPath;
|
|
6
|
-
fields: IFieldFacade[];
|
|
7
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ViewElement } from "../../../../helpers/types";
|
|
2
|
-
import { ILayoutColumnBase, LayoutColumnValued } from "../../../../views/list/ListViewOptions";
|
|
3
|
-
import { IListComponentFacade } from "./IListComponentFacade";
|
|
4
|
-
export interface IListCellFacade extends IListComponentFacade {
|
|
5
|
-
col: ILayoutColumnBase & LayoutColumnValued;
|
|
6
|
-
value(): any;
|
|
7
|
-
setContent(content: ViewElement[]): void;
|
|
8
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { IListControlFacade } from "./IListControlFacade";
|
|
2
|
-
export interface IListComponentFacade {
|
|
3
|
-
record: any;
|
|
4
|
-
list: IListControlFacade;
|
|
5
|
-
addClass(className: string): void;
|
|
6
|
-
hasClass(className: string): boolean;
|
|
7
|
-
removeClass(className: string): void;
|
|
8
|
-
addStyle(prop: string, value: string): void;
|
|
9
|
-
config(config: Function, before?: boolean): void;
|
|
10
|
-
}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { FilterSetterOptions, IFilter } from "../../../../services/IFilter";
|
|
2
|
-
import { ButtonFacade } from "../Form/IFormFacade";
|
|
3
|
-
import { ParentCtrl } from "../utils/IUiFacade";
|
|
4
|
-
import { IListRowFacade } from "./IListRowFacade";
|
|
5
|
-
import { IListCellFacade } from "./IListCellFacade";
|
|
6
|
-
import { IObjectFacade } from "../schema/IObjectFacade";
|
|
7
|
-
import { ListPageOptions } from "../../../../views/list/schema/ListPageOptions.schema";
|
|
8
|
-
import { FieldCode, FieldPath, ViewElement } from "../../../../helpers/types";
|
|
9
|
-
import { ILayoutColumnBase } from "../../../../views/list/ListViewOptions";
|
|
10
|
-
import { ClassNamesArg } from "mdtScripts/helpers/utils/classNames";
|
|
11
|
-
import { IColumnFacade } from "./Column/IColumnFacade";
|
|
12
|
-
import { RecordValueFacade } from "../record/IRecordFacade";
|
|
13
|
-
export interface IListControlFacadeContstructor {
|
|
14
|
-
new (listCtrl: any): IListControlFacade;
|
|
15
|
-
}
|
|
16
|
-
export interface IListControlFacade extends ParentCtrl {
|
|
17
|
-
/** Получить оригинальный контрол списка */
|
|
18
|
-
getListCtrl(): any;
|
|
19
|
-
/** Получить уникальный код списка */
|
|
20
|
-
getCode(): string | undefined;
|
|
21
|
-
/** Получить объект списка */
|
|
22
|
-
getObject(): IObjectFacade;
|
|
23
|
-
/** Получить выделенные строки списка */
|
|
24
|
-
getSelectedRows(): any[];
|
|
25
|
-
/** Добавить команду на список */
|
|
26
|
-
addCommand(command: ButtonFacade, extend?: boolean): void;
|
|
27
|
-
/** Установить фильтр на список */
|
|
28
|
-
setFilter(filter: IFilter | null, options?: FilterSetterOptions, key?: string): void;
|
|
29
|
-
/** Подписаться на событие обновления фильтра */
|
|
30
|
-
onFilterUpdated(callback: (data: FilterUpdatedData) => void): void;
|
|
31
|
-
/** Обновить данные списка */
|
|
32
|
-
refresh(): PromiseLike<unknown>;
|
|
33
|
-
/** Изменить отображение строк списка */
|
|
34
|
-
addTransformerForRow(callback: (row: IListRowFacade) => void): void;
|
|
35
|
-
/** Изменить отображение ячеек списка */
|
|
36
|
-
addTransformerForCell(callback: (cell: IListCellFacade) => void): void;
|
|
37
|
-
/** Установить опции списка */
|
|
38
|
-
setOptions(options: ListPageOptions): void;
|
|
39
|
-
/** Установить расширения списка */
|
|
40
|
-
setExtOptions(extOptions: any): void;
|
|
41
|
-
/** Изменить свойства существующей кнопки */
|
|
42
|
-
updateCommand(findCondition: (button: ButtonFacade) => boolean, command: Partial<ButtonFacade>): void;
|
|
43
|
-
/** Открыть форму добавления записи */
|
|
44
|
-
openNewRecordForm(): void;
|
|
45
|
-
/** Удалить из списка выделенные записи */
|
|
46
|
-
removeSelectedRows(): void;
|
|
47
|
-
/** Открыть конструктор списка */
|
|
48
|
-
openDesigner(): Promise<void>;
|
|
49
|
-
/** Получить виртуальный элемент списка */
|
|
50
|
-
getViewElement(): ViewElement;
|
|
51
|
-
/** Изменить значение отображаемое в колонке */
|
|
52
|
-
setColumnValueHandler(codeOrPath: FieldCode | FieldPath, handler: (value: any, ctx: IColumnValueHandlerCtx) => ViewElement): any;
|
|
53
|
-
addColumn<Control>(column: ColumnOptions<Control>): void;
|
|
54
|
-
/**
|
|
55
|
-
* Вызывается при отображении элемента списка
|
|
56
|
-
*/
|
|
57
|
-
onViewInit(callback: (el: HTMLElement) => void): void;
|
|
58
|
-
/**
|
|
59
|
-
* Вызывается при уничтожении элемента списка
|
|
60
|
-
*/
|
|
61
|
-
onViewDestroy(callback: () => void): void;
|
|
62
|
-
}
|
|
63
|
-
export interface ColumnOptions<Control = any> {
|
|
64
|
-
control?: Control;
|
|
65
|
-
headerView: (control: Control) => ViewElement;
|
|
66
|
-
headerStyle?: (control: Control) => ClassNamesArg;
|
|
67
|
-
cellView: (ctx: {
|
|
68
|
-
row: RecordValueFacade;
|
|
69
|
-
}, control: Control) => ViewElement;
|
|
70
|
-
cellStyle?: (ctx: {
|
|
71
|
-
row: RecordValueFacade;
|
|
72
|
-
}, control: Control) => ClassNamesArg;
|
|
73
|
-
position?: (columns: IColumnFacade[]) => number;
|
|
74
|
-
}
|
|
75
|
-
export interface IColumnValueHandlerCtx {
|
|
76
|
-
row: RecordValueFacade;
|
|
77
|
-
col: ILayoutColumnBase;
|
|
78
|
-
idx?: number;
|
|
79
|
-
}
|
|
80
|
-
export interface FilterUpdatedData {
|
|
81
|
-
/** Ключ фильтра */
|
|
82
|
-
key: string;
|
|
83
|
-
/**
|
|
84
|
-
* Объект фильтра
|
|
85
|
-
* Если фильтр удаляется, filter будет undefined
|
|
86
|
-
*/
|
|
87
|
-
filter?: IFilter;
|
|
88
|
-
}
|