mdt-client 31.3.39 → 31.3.41
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/dist/index.js.map +1 -1
- package/package.json +38 -38
- package/readme.md +15 -15
- package/types/_core/scripts/common/Datasource.d.ts +9 -0
- package/types/_core/scripts/common/Field.d.ts +51 -0
- package/types/_core/scripts/common/FieldSettings.schema.d.ts +17 -0
- package/types/_core/scripts/common/MdtField.d.ts +9 -0
- package/types/_core/scripts/common/MdtObject.d.ts +7 -0
- package/types/_core/scripts/common/Record.d.ts +27 -0
- package/types/_core/scripts/common/Table.d.ts +66 -0
- package/types/_core/scripts/common/form/tabs/TabsFormExtenderOptions.d.ts +12 -0
- package/types/_core/scripts/common/list/aggregation/AggregayionTypes.d.ts +2 -0
- package/types/_core/scripts/common/list/cacheUpdateTime/CacheUpdateTimePublicOptions.d.ts +6 -0
- package/types/_core/scripts/common/list/cellControlExtender/CellControlExtender.d.ts +1 -0
- package/types/_core/scripts/common/list/columnMenu/ColumnMenuOptions.d.ts +17 -0
- package/types/_core/scripts/common/list/columnMenu/QuickFilterOptions.d.ts +7 -0
- package/types/_core/scripts/common/list/columnMenu/ValuesFilterOptions.d.ts +24 -0
- package/types/_core/scripts/common/list/form/FormListPublicOptions.d.ts +40 -0
- package/types/_core/scripts/common/list/gallery/GalleryListExtenderPublicOptions.d.ts +11 -0
- package/types/_core/scripts/common/list/group/groupTypes.d.ts +177 -0
- package/types/_core/scripts/common/list/hierarchy/hierarchyTypes.d.ts +48 -0
- package/types/_core/scripts/common/list/historyType/HistoryTypeListExtenderOptions.d.ts +3 -0
- package/types/_core/scripts/common/list/labelStyle/LabelStylePublicOptions.d.ts +6 -0
- package/types/_core/scripts/common/list/legend/LegendListExtenderOptions.d.ts +8 -0
- package/types/_core/scripts/common/list/listView/ListViewListExtenderOptions.d.ts +25 -0
- package/types/_core/scripts/common/list/namedFilter/InMemoryNamedFilterOptions.d.ts +23 -0
- package/types/_core/scripts/common/list/namedFilter/NamedFilterListExtenderPublicOptions.d.ts +29 -0
- package/types/_core/scripts/common/list/reorder/ReorderListExtenderPublicOptions.d.ts +4 -0
- package/types/_core/scripts/common/list/select/SelectPublicOptions.d.ts +18 -0
- package/types/_core/scripts/common/list/styleField/StyleFieldListExtenderPublicOptions.d.ts +3 -0
- package/types/_core/scripts/common/list/toolbar/ToolbarPublicOptions.d.ts +22 -0
- package/types/_core/scripts/common/list/virtualScroll/VIrtualScrollPublicOptions.d.ts +7 -0
- package/types/_core/scripts/common/serverMessage/ServerMessageTypes.d.ts +17 -0
- package/types/_core/scripts/components/baseFormControls/input/inputOptions.d.ts +30 -0
- package/types/_core/scripts/components/baseFormControls/maskedInput/MaskFormatter.types.d.ts +2 -0
- package/types/_core/scripts/components/button/baseButton/buttonOptions.d.ts +12 -0
- package/types/_core/scripts/components/buttonGroup/buttonGroupOptions.d.ts +7 -0
- package/types/_core/scripts/components/dropdown/menu/item/dropdownInputItemOptions.d.ts +5 -0
- package/types/_core/scripts/components/dropdown/menu/item/dropdownItemWrapOptions.d.ts +19 -0
- package/types/_core/scripts/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +32 -0
- package/types/_core/scripts/components/form/fieldView/fieldViewOptions.d.ts +13 -0
- package/types/_core/scripts/components/form/header/types.d.ts +14 -0
- package/types/_core/scripts/components/form/label/labelOptions.d.ts +22 -0
- package/types/_core/scripts/components/icon/iconOptions.d.ts +21 -0
- package/types/_core/scripts/components/iconButton/iconButtonOptions.d.ts +9 -0
- package/types/_core/scripts/components/processPrincipalsList/ProcessPrincipalsListItem.d.ts +5 -0
- package/types/_core/scripts/components/resizablePanels/panelTitle/panelTitleOptions.d.ts +16 -0
- package/types/_core/scripts/components/resizablePanels/panelToolbar/panelToolbarOptions.d.ts +4 -0
- package/types/_core/scripts/components/resizablePanels/resizablePanel/resizablePanelOptions.d.ts +24 -0
- package/types/_core/scripts/components/resizablePanels/resizablePanelsOptions.d.ts +22 -0
- package/types/_core/scripts/components/textWithIcon/textWithIconOptions.d.ts +16 -0
- package/types/_core/scripts/components/toggleablePanels/toggleablePanelsOptions.d.ts +40 -0
- package/types/_core/scripts/data/active/ActivationListAdapterTypes.d.ts +6 -0
- package/types/_core/scripts/data/fieldFilter/ToolbarFieldFilterOptions.d.ts +21 -0
- package/types/_core/scripts/data/periods/helpers/types.d.ts +4 -0
- package/types/_core/scripts/datasources/FetchResult.d.ts +5 -0
- package/types/_core/scripts/helpers/IUi.d.ts +2 -0
- package/types/_core/scripts/helpers/dateUtils.d.ts +23 -0
- package/types/_core/scripts/helpers/deleteFromArray.d.ts +1 -0
- package/types/_core/scripts/helpers/events/EventEmitter.d.ts +12 -0
- package/types/_core/scripts/helpers/fireEvent.d.ts +4 -0
- package/types/_core/scripts/helpers/formatOptions.d.ts +16 -0
- package/types/_core/scripts/helpers/formattedText.d.ts +8 -0
- package/types/_core/scripts/helpers/pipeline/ImmutableArgPipeline.d.ts +8 -0
- package/types/_core/scripts/helpers/pipeline/Pipeline.d.ts +20 -0
- package/types/_core/scripts/helpers/redraw.d.ts +16 -0
- package/types/_core/scripts/helpers/types.d.ts +84 -0
- package/types/_core/scripts/helpers/ui/elementModificators/focusableComponent.d.ts +14 -0
- package/types/_core/scripts/helpers/ui/elementModificators/modificatorsTypes.d.ts +4 -0
- package/types/_core/scripts/helpers/ui/keyboardUtils/getKeySymbol.d.ts +2 -0
- package/types/_core/scripts/helpers/ui/keyboardUtils/keyboardUtils.d.ts +23 -0
- package/types/_core/scripts/helpers/ui/keyboardUtils/osByUserAgent.d.ts +1 -0
- package/types/_core/scripts/helpers/utils/classNames.d.ts +20 -0
- package/types/_core/scripts/helpers/utils/keyStorage/KeyStorage.d.ts +6 -0
- package/types/_core/scripts/helpers/utils/memoization/memoize.d.ts +18 -0
- package/types/_core/scripts/helpers/utils/object.d.ts +4 -0
- package/types/_core/scripts/helpers/utils/stringifyControlSize.d.ts +3 -0
- package/types/_core/scripts/helpers/utils/valued/getValued.d.ts +18 -0
- package/types/_core/scripts/helpers/zone/IZone.d.ts +7 -0
- package/types/_core/scripts/security/PermissionLevel.d.ts +40 -0
- package/types/_core/scripts/security/User.d.ts +19 -0
- package/types/_core/scripts/services/HotkeyManager.d.ts +6 -0
- package/types/_core/scripts/services/IFilter.d.ts +322 -0
- package/types/_core/scripts/services/ModuleData.d.ts +9 -0
- package/types/_core/scripts/services/api/ApiAccessor/apiV1Types.d.ts +266 -0
- package/types/_core/scripts/services/api/ApiAccessor/apiV2Types.d.ts +585 -0
- package/types/_core/scripts/services/api/ApiAccessor/binding/bindingApiTypes.d.ts +42 -0
- package/types/_core/scripts/services/api/ApiAccessor/job/jobApiTypes.d.ts +82 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/count/count.d.ts +10 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/hierarchy/hierarchyQueryHelpersTypes.d.ts +28 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/fetch/helpers/query/exts/placeIn/placeInQueryTypes.d.ts +9 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/handlers/messageTypes.d.ts +37 -0
- package/types/_core/scripts/services/api/ApiAccessorRequestAdapter/message/apiV2MessageTypes.d.ts +2 -0
- package/types/_core/scripts/services/api/ApiRequestOptions.d.ts +43 -0
- package/types/_core/scripts/services/api/BaseQuery.d.ts +25 -0
- package/types/_core/scripts/services/api/Query.d.ts +56 -0
- package/types/_core/scripts/services/api/QuerySorting.d.ts +18 -0
- package/types/_core/scripts/services/api/ServerResonseType.d.ts +2 -0
- package/types/_core/scripts/services/commands/Command.d.ts +22 -0
- package/types/_core/scripts/services/commands/CommandGroup.d.ts +15 -0
- package/types/_core/scripts/services/commands/CommandManager.d.ts +77 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFieldControlFacade.d.ts +26 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFieldControlManagerFacade.d.ts +36 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFieldStateFacade.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFormControlFacade.d.ts +133 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFormFacade.d.ts +102 -0
- package/types/_core/scripts/services/customModules/facades/Form/IFormLayout.d.ts +12 -0
- package/types/_core/scripts/services/customModules/facades/IAppFacade.d.ts +38 -0
- package/types/_core/scripts/services/customModules/facades/IAuthFacade.d.ts +9 -0
- package/types/_core/scripts/services/customModules/facades/ILegacyFacade.d.ts +238 -0
- package/types/_core/scripts/services/customModules/facades/IMdtFacade.d.ts +87 -0
- package/types/_core/scripts/services/customModules/facades/IModuleRegistryFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/IPageFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/List/Column/IColumnFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/List/IListCellFacade.d.ts +8 -0
- package/types/_core/scripts/services/customModules/facades/List/IListComponentFacade.d.ts +10 -0
- package/types/_core/scripts/services/customModules/facades/List/IListControlFacade.d.ts +88 -0
- package/types/_core/scripts/services/customModules/facades/List/IListRowFacade.d.ts +2 -0
- package/types/_core/scripts/services/customModules/facades/List/IListServiceFacade.d.ts +96 -0
- package/types/_core/scripts/services/customModules/facades/List/ListOptions/IListOptions.d.ts +4 -0
- package/types/_core/scripts/services/customModules/facades/components/CodeEditorFacade.d.ts +9 -0
- package/types/_core/scripts/services/customModules/facades/components/ModalFacade.d.ts +4 -0
- package/types/_core/scripts/services/customModules/facades/formDashboard/IFormDashboard.d.ts +20 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/importFormCtrl.types.d.ts +77 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/importModuleFacade.d.ts +53 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/jobFacade.d.ts +7 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/modulesFacadeTypes.d.ts +12 -0
- package/types/_core/scripts/services/customModules/facades/internalModules/statusFacade.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/record/IRecordFacade.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/record/IRecordManagerFacade.d.ts +5 -0
- package/types/_core/scripts/services/customModules/facades/schema/IFieldFacade.d.ts +14 -0
- package/types/_core/scripts/services/customModules/facades/schema/IObjectFacade.d.ts +20 -0
- package/types/_core/scripts/services/customModules/facades/schema/ISchemaFacade.d.ts +24 -0
- package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldBuilder/IFieldBuilder.d.ts +23 -0
- package/types/_core/scripts/services/customModules/facades/schema/fieldBuilder/fieldFkBuilder/IFieldFkBuilder.d.ts +8 -0
- package/types/_core/scripts/services/customModules/facades/services/CommandManagerFacade.d.ts +11 -0
- package/types/_core/scripts/services/customModules/facades/services/IListButtonExtendPipelineService.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/services/INavigationFacade.d.ts +91 -0
- package/types/_core/scripts/services/customModules/facades/services/ISecurityFacade.d.ts +13 -0
- package/types/_core/scripts/services/customModules/facades/utils/IApiFacade.d.ts +91 -0
- package/types/_core/scripts/services/customModules/facades/utils/IUiComponentsFacade.d.ts +185 -0
- package/types/_core/scripts/services/customModules/facades/utils/IUiFacade.d.ts +83 -0
- package/types/_core/scripts/services/customModules/facades/utils/IUtilsFacade.d.ts +224 -0
- package/types/_core/scripts/services/customModules/facades/utils/ImUtilsFacade.d.ts +41 -0
- package/types/_core/scripts/services/dropdown/IDropDownMenu.d.ts +40 -0
- package/types/_core/scripts/services/e2e/e2eServiceType.d.ts +11 -0
- package/types/_core/scripts/ui-kit/IUiKitUtilsFacade.d.ts +21 -0
- package/types/_core/scripts/ui-kit/UiKitFacade.d.ts +101 -0
- package/types/_core/scripts/views/controls/Control.d.ts +7 -0
- package/types/_core/scripts/views/controls/panels/panelOptions.d.ts +15 -0
- package/types/_core/scripts/views/form/controls/commonControl/ICommonControl.d.ts +28 -0
- package/types/_core/scripts/views/form/controls/fileupload/FileInputFacade.types.d.ts +6 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/MonacoCodeOptions.schema.d.ts +24 -0
- package/types/_core/scripts/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +70 -0
- package/types/_core/scripts/views/form/controls/picker/multiPickerFacade/IMultiPickerFacade.d.ts +36 -0
- package/types/_core/scripts/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +21 -0
- package/types/_core/scripts/views/form/formTypes.d.ts +5 -0
- package/types/_core/scripts/views/form/schema/FormPageExtOptions.schema.d.ts +22 -0
- package/types/_core/scripts/views/form/schema/FormPageOptions.schema.d.ts +19 -0
- package/types/_core/scripts/views/gallery/ImageFetchOptions.d.ts +5 -0
- package/types/_core/scripts/views/list/ListViewOptions.d.ts +99 -0
- package/types/_core/scripts/views/list/features/aggregation/AggregationRowListOptions.d.ts +23 -0
- package/types/_core/scripts/views/list/schema/ListPageExtOptions.schema.d.ts +123 -0
- package/types/_core/scripts/views/list/schema/ListPageOptions.schema.d.ts +145 -0
- package/types/_core/scripts/views/list/tabular/TabularListTypes.d.ts +53 -0
- package/types/_core/scripts/views/page/PageZoneTypes.d.ts +1 -0
- package/types/_core/scripts/views/page/charts/ChartControlOptions.schema.d.ts +759 -0
- package/types/_core/scripts/views/page/charts/facade/IChartControlFacade.d.ts +29 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/config/chartConfig.d.ts +31 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/config/filterConfig.d.ts +56 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/config/listConfig.d.ts +9 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/config/reportDashboardConfig.d.ts +55 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/controls/dynamicChart/dynamicChartControlPublicOptions.d.ts +3 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/index.d.ts +5 -0
- package/types/_core/scripts/views/page/charts/reportDashboard/utils/formJsonVarParser.d.ts +13 -0
- 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 -23
- 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 -20
- 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 -23
- package/types/components/icon/iconOptions.d.ts +24 -24
- 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/ui/toolbarItemTypes.d.ts +30 -0
- 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/job/scripts/types.d.ts +11 -0
- package/types/security/PermissionLevel.d.ts +40 -40
- package/types/security/User.d.ts +20 -20
- 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 -586
- 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 +38 -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 +106 -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 +91 -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 -83
- 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/sharedModules/ISharedModulesFacade.d.ts +4 -0
- 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 +120 -106
- 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 -850
- 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
|
@@ -1,102 +1,106 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
|
|
47
|
-
/** Подписаться на событие
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
export
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
|
|
74
|
-
/** Подписаться на событие
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/** Зарегистрировать
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
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
|
+
import { CustomViewButton } from "mdtScripts/helpers/ui/toolbarItemTypes";
|
|
11
|
+
export type ActionButton = IButton & {
|
|
12
|
+
/** Всплывающая подсказка */
|
|
13
|
+
description?: Valued<FormattedText>;
|
|
14
|
+
/** Подписка на событие нажатия на кнопку */
|
|
15
|
+
execute?: () => void;
|
|
16
|
+
/** Активность кнопки */
|
|
17
|
+
enabled?: () => boolean;
|
|
18
|
+
/** Видимость кнопки */
|
|
19
|
+
visible?: () => boolean;
|
|
20
|
+
/** CSS-класс кнопки */
|
|
21
|
+
className?: string;
|
|
22
|
+
};
|
|
23
|
+
export interface ButtonFacade extends ActionButton {
|
|
24
|
+
/** Дочерние элементы кнопки */
|
|
25
|
+
items?: ButtonFacade[];
|
|
26
|
+
}
|
|
27
|
+
export type CommandFacade = ButtonFacade | CustomViewButton;
|
|
28
|
+
export interface IFormInitOptions {
|
|
29
|
+
/** Уникальный код списка */
|
|
30
|
+
code?: string;
|
|
31
|
+
/** Настройки полей */
|
|
32
|
+
fieldOptions?: {
|
|
33
|
+
[fieldCode: string]: any;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export interface IFormOptions {
|
|
37
|
+
/** Код формы */
|
|
38
|
+
code: string;
|
|
39
|
+
/** Наименование формы */
|
|
40
|
+
title?: string;
|
|
41
|
+
/** Описание формы в формате markdown */
|
|
42
|
+
description?: string;
|
|
43
|
+
/** Поля формы */
|
|
44
|
+
fields?: (ICustomField | IBaseFieldBuilder)[];
|
|
45
|
+
/** Настройки главной кнопки формы */
|
|
46
|
+
primaryButton?: ButtonFacade;
|
|
47
|
+
/** Подписаться на событие сохранения записи формы */
|
|
48
|
+
onSave(record: Record<string, any>): any;
|
|
49
|
+
/** Подписаться на событие изменения записи формы */
|
|
50
|
+
onFieldUpdate?(field: Field, value: string, value$?: string, record?: MdtRecord): any;
|
|
51
|
+
/** Запись по умолчанию */
|
|
52
|
+
defaultValues?: Partial<MdtRecord>;
|
|
53
|
+
/** Описание лэйаута формы */
|
|
54
|
+
layout?: CustomFormLayout;
|
|
55
|
+
viewSettings?: FormViewSettings;
|
|
56
|
+
/** Контекст формы */
|
|
57
|
+
context?: Record<string, any>;
|
|
58
|
+
}
|
|
59
|
+
export interface FormViewSettings {
|
|
60
|
+
hideSubTitle?: boolean;
|
|
61
|
+
hideTitle?: boolean;
|
|
62
|
+
}
|
|
63
|
+
export type ObjectManagementField = {
|
|
64
|
+
code: string;
|
|
65
|
+
title: string;
|
|
66
|
+
type: FieldPhysicalType;
|
|
67
|
+
module?: string;
|
|
68
|
+
};
|
|
69
|
+
export interface IFormServiceFacade {
|
|
70
|
+
/** Создать форму, привязанную объекту */
|
|
71
|
+
create(tableCode: string, id?: RecordId, options?: any, extOptions?: any): IFormControlFacade;
|
|
72
|
+
/** Создать кастомную форму */
|
|
73
|
+
createCustom(options: IFormOptions): IFormControlFacade;
|
|
74
|
+
/** Подписаться на событие инициализации формы */
|
|
75
|
+
onInit(callback: (form: IFormControlFacade) => void): void;
|
|
76
|
+
/** Подписаться на событие создания формы */
|
|
77
|
+
onCreate(callback: (form: IFormControlFacade) => void): void;
|
|
78
|
+
/** Подписаться на событие окончания создания формы */
|
|
79
|
+
onCreated(callback: (form: IFormControlFacade) => void): void;
|
|
80
|
+
/** Добавить настройки для полей формы */
|
|
81
|
+
addFieldOptions(tableCode: string, options: IFormInitOptions): void;
|
|
82
|
+
/** Зарегистрировать расширение формы
|
|
83
|
+
* @param {string} alias - Имя свойства, которое можно использовать для установки опций экстендера
|
|
84
|
+
*/
|
|
85
|
+
registerExtender<T>(extender: IFormExtenderFacade<T>, alias: string): void;
|
|
86
|
+
/** Зарегистрировать новый контрол формы */
|
|
87
|
+
registerControl<Options>(controlOptions: FormControlOptions<Options>): void;
|
|
88
|
+
}
|
|
89
|
+
export interface ICustomField extends Field {
|
|
90
|
+
/** Опции контрола поля. Используются только в том случае, если не задан лэйаут для формы */
|
|
91
|
+
options?: any;
|
|
92
|
+
}
|
|
93
|
+
type CustomFormLayout = any;
|
|
94
|
+
export interface IFormExtenderFacade<T> extends Partial<ViewControl> {
|
|
95
|
+
new (form: IFormControlFacade, options: any): T;
|
|
96
|
+
}
|
|
97
|
+
export interface FormControlOptions<Options = AnyObject> {
|
|
98
|
+
code: string;
|
|
99
|
+
title: string;
|
|
100
|
+
enabled?: (object: IObjectFacade) => boolean;
|
|
101
|
+
type: FormControlClass<Options>;
|
|
102
|
+
}
|
|
103
|
+
export interface FormControlClass<Options = AnyObject> {
|
|
104
|
+
new (form: IFormControlFacade, options: Options): MithrilControl;
|
|
105
|
+
}
|
|
106
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface IFormLayout {
|
|
2
|
-
rows: IFormLayoutRow[];
|
|
3
|
-
}
|
|
4
|
-
interface IFormLayoutRow {
|
|
5
|
-
cols: IFormLayoutColType[];
|
|
6
|
-
}
|
|
7
|
-
export type IFormLayoutColType = {
|
|
8
|
-
type: string;
|
|
9
|
-
width: number;
|
|
10
|
-
options: any;
|
|
11
|
-
};
|
|
12
|
-
export {};
|
|
1
|
+
export interface IFormLayout {
|
|
2
|
+
rows: IFormLayoutRow[];
|
|
3
|
+
}
|
|
4
|
+
interface IFormLayoutRow {
|
|
5
|
+
cols: IFormLayoutColType[];
|
|
6
|
+
}
|
|
7
|
+
export type IFormLayoutColType = {
|
|
8
|
+
type: string;
|
|
9
|
+
width: number;
|
|
10
|
+
options: any;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -1,38 +1,38 @@
|
|
|
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 type LogoType = "textOrSvg" | "url";
|
|
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 type LogoType = "textOrSvg" | "url";
|
|
@@ -1,9 +1,9 @@
|
|
|
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
|
+
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
|
+
}
|