mdt-client 31.3.37 → 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 -224
- 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,7 +1,7 @@
|
|
|
1
|
-
import { PageZoneCodes } from "../../../views/page/PageZoneTypes";
|
|
2
|
-
import { MithrilControl } from "../../../helpers/types";
|
|
3
|
-
export interface IPageFacade {
|
|
4
|
-
getZone(zone: typeof PageZoneCodes[number]): {
|
|
5
|
-
addControl: (control: MithrilControl) => void;
|
|
6
|
-
};
|
|
7
|
-
}
|
|
1
|
+
import { PageZoneCodes } from "../../../views/page/PageZoneTypes";
|
|
2
|
+
import { MithrilControl } from "../../../helpers/types";
|
|
3
|
+
export interface IPageFacade {
|
|
4
|
+
getZone(zone: typeof PageZoneCodes[number]): {
|
|
5
|
+
addControl: (control: MithrilControl) => void;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FieldPath } from "../../../../../helpers/types";
|
|
2
|
-
import { IFieldFacade } from "../../schema/IFieldFacade";
|
|
3
|
-
export type IColumnFacade = IFieldColumnFacade;
|
|
4
|
-
export interface IFieldColumnFacade {
|
|
5
|
-
fieldPath: FieldPath;
|
|
6
|
-
fields: IFieldFacade[];
|
|
7
|
-
}
|
|
1
|
+
import { FieldPath } from "../../../../../helpers/types";
|
|
2
|
+
import { IFieldFacade } from "../../schema/IFieldFacade";
|
|
3
|
+
export type IColumnFacade = IFieldColumnFacade;
|
|
4
|
+
export interface IFieldColumnFacade {
|
|
5
|
+
fieldPath: FieldPath;
|
|
6
|
+
fields: IFieldFacade[];
|
|
7
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
+
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 +1,10 @@
|
|
|
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
|
+
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 +1,88 @@
|
|
|
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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { IListComponentFacade } from "./IListComponentFacade";
|
|
2
|
-
export type IListRowFacade = IListComponentFacade;
|
|
1
|
+
import { IListComponentFacade } from "./IListComponentFacade";
|
|
2
|
+
export type IListRowFacade = IListComponentFacade;
|
|
@@ -1,96 +1,96 @@
|
|
|
1
|
-
import { ILayoutColumn, ListColumnControlViewContextBase } from "mdtScripts/views/list/ListViewOptions";
|
|
2
|
-
import { ApiV2 } from "mdtServices/api/ApiAccessor/apiV2Types";
|
|
3
|
-
import { Field } from "../../../../../scripts/common/Field";
|
|
4
|
-
import { ObjectCode, ViewControl } from "../../../../helpers/types";
|
|
5
|
-
import { IBaseFieldBuilder } from "../schema/fieldBuilder/fieldBuilder/IFieldBuilder";
|
|
6
|
-
import { MdtRecord } from "../utils/IApiFacade";
|
|
7
|
-
import { IListControlFacade } from "./IListControlFacade";
|
|
8
|
-
import { IListExtOptions, IListOptions } from "./ListOptions/IListOptions";
|
|
9
|
-
export interface IListInitOptions {
|
|
10
|
-
/** Уникальный код списка */
|
|
11
|
-
code?: string;
|
|
12
|
-
/** Опции списка */
|
|
13
|
-
listOptions?: IListOptions;
|
|
14
|
-
/** Настройки расширений списка */
|
|
15
|
-
extConfig?: IListExtOptions;
|
|
16
|
-
}
|
|
17
|
-
export interface IListServiceFacade {
|
|
18
|
-
/**
|
|
19
|
-
* Позволяет переопределить логику отображения ссылок в ячейках списка
|
|
20
|
-
* @param callback - Функция, которая будет вызываться для каждой колонки списка.
|
|
21
|
-
* - Если функция вернет true, то ссылка будет отображаться
|
|
22
|
-
* - Если функция вернет false, то ссылка не будет отображаться
|
|
23
|
-
* - Если функция вернет undefined, то будет использоваться логика обработки по умолчанию (см. {@link FieldColumnCtrl.linksAvailable})
|
|
24
|
-
* @returns Функция отписки для удаления перехватчика
|
|
25
|
-
*/
|
|
26
|
-
readonly registerColumnLinkEnabledInterceptor: (callback: (args: {
|
|
27
|
-
col: ILayoutColumn;
|
|
28
|
-
list: IListControlFacade;
|
|
29
|
-
}) => boolean) => () => void;
|
|
30
|
-
/**
|
|
31
|
-
* Позволяет переопределить логику обработки нажатия на ссылку в ячейке списка
|
|
32
|
-
* @param callback - Функция, которая будет вызываться при нажатии на ссылку в ячейке списка.
|
|
33
|
-
* Если функция возвращает undefined, то будет использоваться логика обработки по умолчанию (см. {@link FieldColumnCtrl.showForm})
|
|
34
|
-
* @returns Функция отписки для удаления перехватчика
|
|
35
|
-
*/
|
|
36
|
-
readonly registerColumnLinkClickInterceptor: (callback: (args: {
|
|
37
|
-
col: ILayoutColumn;
|
|
38
|
-
list: IListControlFacade;
|
|
39
|
-
context: ListColumnControlViewContextBase;
|
|
40
|
-
}) => boolean) => () => void;
|
|
41
|
-
/** Переопределить опции и настройки компонента перед его инициализацией */
|
|
42
|
-
preConfig(callback: (args: {
|
|
43
|
-
list: IListControlFacade;
|
|
44
|
-
options: any;
|
|
45
|
-
extConfig: any;
|
|
46
|
-
}) => void): void;
|
|
47
|
-
/** Подписаться на событие создания списка */
|
|
48
|
-
onCreate(callback: (list: IListControlFacade) => void): void;
|
|
49
|
-
/** Подписаться на событие окончания создания списка */
|
|
50
|
-
onCreated(callback: (list: IListControlFacade) => void): void;
|
|
51
|
-
/** Установить опции списка */
|
|
52
|
-
configureList(tableCode: string, options: IListInitOptions): void;
|
|
53
|
-
/** Создать список */
|
|
54
|
-
create(tableCode: string, options?: any, extOptions?: any): IListControlFacade;
|
|
55
|
-
/** Зарегистрировать расширение списка
|
|
56
|
-
* @param {string} alias - Имя свойства, которое можно использовать для установки опций экстендера в extConfig или extOptions списка
|
|
57
|
-
*/
|
|
58
|
-
registerExtender<T>(extender: IListExtenderFacade<T>, alias: string): void;
|
|
59
|
-
createCustom(options: CustomListOptions): IListControlFacade;
|
|
60
|
-
}
|
|
61
|
-
export interface IListExtenderFacade<T> extends Partial<ViewControl> {
|
|
62
|
-
new (list: IListControlFacade, options: any): T;
|
|
63
|
-
}
|
|
64
|
-
export interface CustomListSaveOptions<R = MdtRecord> {
|
|
65
|
-
changedRecord: R;
|
|
66
|
-
oldRecord?: R;
|
|
67
|
-
}
|
|
68
|
-
export interface CustomListOptions<R = MdtRecord> {
|
|
69
|
-
/** Код объекта списка */
|
|
70
|
-
code: ObjectCode;
|
|
71
|
-
/** Поля списка
|
|
72
|
-
* @example Примеры
|
|
73
|
-
*
|
|
74
|
-
* ```js
|
|
75
|
-
* fields: [
|
|
76
|
-
* Schema.customField("Name", "string", "Имя").length(10),
|
|
77
|
-
* Schema.customField("Age", "number", "Возраст").length(10),
|
|
78
|
-
* Schema.customFkField("Customer", "md.Customer", "Клиент").nullable()
|
|
79
|
-
* ],
|
|
80
|
-
*
|
|
81
|
-
* ```
|
|
82
|
-
*/
|
|
83
|
-
fields: (Field | IBaseFieldBuilder)[];
|
|
84
|
-
/**
|
|
85
|
-
* Записи списка
|
|
86
|
-
* @deprecated
|
|
87
|
-
* Используйте fetch() вместо этого
|
|
88
|
-
*/
|
|
89
|
-
records?: R[];
|
|
90
|
-
/** Опции списка */
|
|
91
|
-
listOptions?: IListOptions;
|
|
92
|
-
/** Настройки расширений списка */
|
|
93
|
-
extConfig?: IListExtOptions;
|
|
94
|
-
/** Функция для получения записей списка с возможностью обновления данных или использования пользовательского API */
|
|
95
|
-
fetch?: (query: ApiV2.Request.Fetch | ApiV2.Request.Fetch[]) => Promise<R[]>;
|
|
96
|
-
}
|
|
1
|
+
import { ILayoutColumn, ListColumnControlViewContextBase } from "mdtScripts/views/list/ListViewOptions";
|
|
2
|
+
import { ApiV2 } from "mdtServices/api/ApiAccessor/apiV2Types";
|
|
3
|
+
import { Field } from "../../../../../scripts/common/Field";
|
|
4
|
+
import { ObjectCode, ViewControl } from "../../../../helpers/types";
|
|
5
|
+
import { IBaseFieldBuilder } from "../schema/fieldBuilder/fieldBuilder/IFieldBuilder";
|
|
6
|
+
import { MdtRecord } from "../utils/IApiFacade";
|
|
7
|
+
import { IListControlFacade } from "./IListControlFacade";
|
|
8
|
+
import { IListExtOptions, IListOptions } from "./ListOptions/IListOptions";
|
|
9
|
+
export interface IListInitOptions {
|
|
10
|
+
/** Уникальный код списка */
|
|
11
|
+
code?: string;
|
|
12
|
+
/** Опции списка */
|
|
13
|
+
listOptions?: IListOptions;
|
|
14
|
+
/** Настройки расширений списка */
|
|
15
|
+
extConfig?: IListExtOptions;
|
|
16
|
+
}
|
|
17
|
+
export interface IListServiceFacade {
|
|
18
|
+
/**
|
|
19
|
+
* Позволяет переопределить логику отображения ссылок в ячейках списка
|
|
20
|
+
* @param callback - Функция, которая будет вызываться для каждой колонки списка.
|
|
21
|
+
* - Если функция вернет true, то ссылка будет отображаться
|
|
22
|
+
* - Если функция вернет false, то ссылка не будет отображаться
|
|
23
|
+
* - Если функция вернет undefined, то будет использоваться логика обработки по умолчанию (см. {@link FieldColumnCtrl.linksAvailable})
|
|
24
|
+
* @returns Функция отписки для удаления перехватчика
|
|
25
|
+
*/
|
|
26
|
+
readonly registerColumnLinkEnabledInterceptor: (callback: (args: {
|
|
27
|
+
col: ILayoutColumn;
|
|
28
|
+
list: IListControlFacade;
|
|
29
|
+
}) => boolean) => () => void;
|
|
30
|
+
/**
|
|
31
|
+
* Позволяет переопределить логику обработки нажатия на ссылку в ячейке списка
|
|
32
|
+
* @param callback - Функция, которая будет вызываться при нажатии на ссылку в ячейке списка.
|
|
33
|
+
* Если функция возвращает undefined, то будет использоваться логика обработки по умолчанию (см. {@link FieldColumnCtrl.showForm})
|
|
34
|
+
* @returns Функция отписки для удаления перехватчика
|
|
35
|
+
*/
|
|
36
|
+
readonly registerColumnLinkClickInterceptor: (callback: (args: {
|
|
37
|
+
col: ILayoutColumn;
|
|
38
|
+
list: IListControlFacade;
|
|
39
|
+
context: ListColumnControlViewContextBase;
|
|
40
|
+
}) => boolean) => () => void;
|
|
41
|
+
/** Переопределить опции и настройки компонента перед его инициализацией */
|
|
42
|
+
preConfig(callback: (args: {
|
|
43
|
+
list: IListControlFacade;
|
|
44
|
+
options: any;
|
|
45
|
+
extConfig: any;
|
|
46
|
+
}) => void): void;
|
|
47
|
+
/** Подписаться на событие создания списка */
|
|
48
|
+
onCreate(callback: (list: IListControlFacade) => void): void;
|
|
49
|
+
/** Подписаться на событие окончания создания списка */
|
|
50
|
+
onCreated(callback: (list: IListControlFacade) => void): void;
|
|
51
|
+
/** Установить опции списка */
|
|
52
|
+
configureList(tableCode: string, options: IListInitOptions): void;
|
|
53
|
+
/** Создать список */
|
|
54
|
+
create(tableCode: string, options?: any, extOptions?: any): IListControlFacade;
|
|
55
|
+
/** Зарегистрировать расширение списка
|
|
56
|
+
* @param {string} alias - Имя свойства, которое можно использовать для установки опций экстендера в extConfig или extOptions списка
|
|
57
|
+
*/
|
|
58
|
+
registerExtender<T>(extender: IListExtenderFacade<T>, alias: string): void;
|
|
59
|
+
createCustom(options: CustomListOptions): IListControlFacade;
|
|
60
|
+
}
|
|
61
|
+
export interface IListExtenderFacade<T> extends Partial<ViewControl> {
|
|
62
|
+
new (list: IListControlFacade, options: any): T;
|
|
63
|
+
}
|
|
64
|
+
export interface CustomListSaveOptions<R = MdtRecord> {
|
|
65
|
+
changedRecord: R;
|
|
66
|
+
oldRecord?: R;
|
|
67
|
+
}
|
|
68
|
+
export interface CustomListOptions<R = MdtRecord> {
|
|
69
|
+
/** Код объекта списка */
|
|
70
|
+
code: ObjectCode;
|
|
71
|
+
/** Поля списка
|
|
72
|
+
* @example Примеры
|
|
73
|
+
*
|
|
74
|
+
* ```js
|
|
75
|
+
* fields: [
|
|
76
|
+
* Schema.customField("Name", "string", "Имя").length(10),
|
|
77
|
+
* Schema.customField("Age", "number", "Возраст").length(10),
|
|
78
|
+
* Schema.customFkField("Customer", "md.Customer", "Клиент").nullable()
|
|
79
|
+
* ],
|
|
80
|
+
*
|
|
81
|
+
* ```
|
|
82
|
+
*/
|
|
83
|
+
fields: (Field | IBaseFieldBuilder)[];
|
|
84
|
+
/**
|
|
85
|
+
* Записи списка
|
|
86
|
+
* @deprecated
|
|
87
|
+
* Используйте fetch() вместо этого
|
|
88
|
+
*/
|
|
89
|
+
records?: R[];
|
|
90
|
+
/** Опции списка */
|
|
91
|
+
listOptions?: IListOptions;
|
|
92
|
+
/** Настройки расширений списка */
|
|
93
|
+
extConfig?: IListExtOptions;
|
|
94
|
+
/** Функция для получения записей списка с возможностью обновления данных или использования пользовательского API */
|
|
95
|
+
fetch?: (query: ApiV2.Request.Fetch | ApiV2.Request.Fetch[]) => Promise<R[]>;
|
|
96
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ListPageExtOptions } from "mdtScripts/views/list/schema/ListPageExtOptions.schema";
|
|
2
|
-
import { ListPageOptions } from "mdtScripts/views/list/schema/ListPageOptions.schema";
|
|
3
|
-
export type IListExtOptions = ListPageExtOptions;
|
|
4
|
-
export type IListOptions = ListPageOptions;
|
|
1
|
+
import { ListPageExtOptions } from "mdtScripts/views/list/schema/ListPageExtOptions.schema";
|
|
2
|
+
import { ListPageOptions } from "mdtScripts/views/list/schema/ListPageOptions.schema";
|
|
3
|
+
export type IListExtOptions = ListPageExtOptions;
|
|
4
|
+
export type IListOptions = ListPageOptions;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ViewControl } from "../../../../helpers/types";
|
|
2
|
-
import { MonacoCodeOptions } from "../../../../views/form/controls/monacoEditor/MonacoCodeOptions.schema";
|
|
3
|
-
export interface CodeEditorFacadeOptions extends MonacoCodeOptions {
|
|
4
|
-
/** Адаптировать высоту редактора под высоту родительского элемента */
|
|
5
|
-
fillParentMode?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export interface CodeEditorFacade extends ViewControl {
|
|
8
|
-
pasteSnippet(snippetContent: string): void;
|
|
9
|
-
}
|
|
1
|
+
import { ViewControl } from "../../../../helpers/types";
|
|
2
|
+
import { MonacoCodeOptions } from "../../../../views/form/controls/monacoEditor/MonacoCodeOptions.schema";
|
|
3
|
+
export interface CodeEditorFacadeOptions extends MonacoCodeOptions {
|
|
4
|
+
/** Адаптировать высоту редактора под высоту родительского элемента */
|
|
5
|
+
fillParentMode?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export interface CodeEditorFacade extends ViewControl {
|
|
8
|
+
pasteSnippet(snippetContent: string): void;
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IModalFacade {
|
|
2
|
-
/** Закрыть модальное окно */
|
|
3
|
-
close(): void;
|
|
4
|
-
}
|
|
1
|
+
export interface IModalFacade {
|
|
2
|
+
/** Закрыть модальное окно */
|
|
3
|
+
close(): void;
|
|
4
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { MithrilControl } from "mdtScripts/helpers/types";
|
|
2
|
-
import { IFormLayout } from "../Form/IFormLayout";
|
|
3
|
-
export interface IFormDashboard {
|
|
4
|
-
/**
|
|
5
|
-
* Настройка дашборда. Возвращает объект для управления дашбордом.
|
|
6
|
-
* @param code - Код дашборда. Его можно узнать в настройках узла навигации в "Расширенной конфигурации"
|
|
7
|
-
*/
|
|
8
|
-
setup: (code: string) => IFormDashboardFacade;
|
|
9
|
-
}
|
|
10
|
-
export type ComponentPosition = "title-right";
|
|
11
|
-
export interface IFormDashboardFacade {
|
|
12
|
-
/**
|
|
13
|
-
* Добавляет компонент на дашборд в указанную позицию
|
|
14
|
-
*/
|
|
15
|
-
addComponent: (component: () => MithrilControl, position: ComponentPosition) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Устанавливает настройки лейаута для дашборда
|
|
18
|
-
*/
|
|
19
|
-
configureLayout: (layout: IFormLayout) => void;
|
|
20
|
-
}
|
|
1
|
+
import { MithrilControl } from "mdtScripts/helpers/types";
|
|
2
|
+
import { IFormLayout } from "../Form/IFormLayout";
|
|
3
|
+
export interface IFormDashboard {
|
|
4
|
+
/**
|
|
5
|
+
* Настройка дашборда. Возвращает объект для управления дашбордом.
|
|
6
|
+
* @param code - Код дашборда. Его можно узнать в настройках узла навигации в "Расширенной конфигурации"
|
|
7
|
+
*/
|
|
8
|
+
setup: (code: string) => IFormDashboardFacade;
|
|
9
|
+
}
|
|
10
|
+
export type ComponentPosition = "title-right";
|
|
11
|
+
export interface IFormDashboardFacade {
|
|
12
|
+
/**
|
|
13
|
+
* Добавляет компонент на дашборд в указанную позицию
|
|
14
|
+
*/
|
|
15
|
+
addComponent: (component: () => MithrilControl, position: ComponentPosition) => void;
|
|
16
|
+
/**
|
|
17
|
+
* Устанавливает настройки лейаута для дашборда
|
|
18
|
+
*/
|
|
19
|
+
configureLayout: (layout: IFormLayout) => void;
|
|
20
|
+
}
|