mdt-client 31.3.2 → 31.3.3
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/tsconfig.tsbuildinfo +1 -1
- package/package.json +29 -29
- package/readme.md +15 -15
- package/types/common/Datasource.d.ts +9 -9
- package/types/common/Field.d.ts +42 -42
- package/types/common/MdtField.d.ts +9 -9
- package/types/common/MdtObject.d.ts +7 -7
- package/types/common/Record.d.ts +24 -24
- package/types/common/Table.d.ts +47 -47
- package/types/common/list/group/groupTypes.d.ts +26 -26
- package/types/common/list/hierarchy/hierarchyTypes.d.ts +48 -48
- package/types/components/baseFormControls/input/inputOptions.d.ts +31 -31
- 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 +19 -19
- package/types/components/dropdown/menuActionItem/dropdownMenuItemOptions.d.ts +30 -30
- package/types/components/form/fieldView/fieldViewOptions.d.ts +12 -12
- package/types/components/form/label/labelOptions.d.ts +22 -22
- package/types/components/icon/iconOptions.d.ts +22 -22
- package/types/components/iconButton/iconButtonOptions.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/toggleablePanels/toggleablePanelsOptions.d.ts +40 -40
- package/types/data/active/ActivationListAdapterTypes.d.ts +6 -6
- package/types/datasources/FetchResult.d.ts +5 -5
- package/types/helpers/IUi.d.ts +1 -1
- package/types/helpers/deleteFromArray.d.ts +1 -1
- package/types/helpers/events/EventEmitter.d.ts +7 -7
- package/types/helpers/fireEvent.d.ts +4 -4
- package/types/helpers/formatOptions.d.ts +6 -6
- package/types/helpers/formattedText.d.ts +9 -9
- package/types/helpers/pipeline/Pipeline.d.ts +20 -20
- package/types/helpers/redraw.d.ts +16 -16
- package/types/helpers/types.d.ts +76 -76
- 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/keyboardUtils.d.ts +23 -23
- package/types/helpers/utils/classNames.d.ts +6 -6
- package/types/helpers/utils/keyStorage/KeyStorage.d.ts +6 -6
- package/types/helpers/utils/object.d.ts +3 -3
- 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 +19 -19
- package/types/services/HotkeyManager.d.ts +4 -4
- package/types/services/IFilter.d.ts +308 -308
- 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 +529 -529
- 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/ApiRequestOptions.d.ts +27 -27
- package/types/services/api/BaseQuery.d.ts +16 -16
- package/types/services/api/Query.d.ts +59 -59
- package/types/services/api/QuerySorting.d.ts +8 -8
- 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 +90 -90
- 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 +121 -119
- package/types/services/customModules/facades/IMdtFacade.d.ts +77 -77
- 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 +69 -69
- package/types/services/customModules/facades/List/IListRowFacade.d.ts +2 -2
- package/types/services/customModules/facades/List/IListServiceFacade.d.ts +42 -42
- 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/internalModules/importModuleFacade.d.ts +19 -19
- 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 +9 -9
- package/types/services/customModules/facades/schema/IObjectFacade.d.ts +13 -13
- package/types/services/customModules/facades/schema/ISchemaFacade.d.ts +5 -5
- 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 +53 -53
- package/types/services/customModules/facades/services/ISecurityFacade.d.ts +13 -13
- package/types/services/customModules/facades/utils/IApiFacade.d.ts +54 -54
- package/types/services/customModules/facades/utils/IUiComponentsFacade.d.ts +57 -57
- package/types/services/customModules/facades/utils/IUiFacade.d.ts +84 -84
- package/types/services/customModules/facades/utils/IUtilsFacade.d.ts +19 -19
- package/types/services/customModules/facades/utils/ImUtilsFacade.d.ts +26 -26
- package/types/services/dropdown/IDropDownMenu.d.ts +41 -41
- 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 +23 -23
- package/types/views/form/controls/monacoEditor/jsonSchemas/Button.schema.d.ts +70 -70
- package/types/views/form/controls/toggleablePanels/editor/toggleablePanelsEditorFacadeOptions.d.ts +21 -21
- package/types/views/form/formTypes.d.ts +4 -4
- package/types/views/form/schema/FormPageOptions.schema.d.ts +17 -17
- package/types/views/list/IListView.d.ts +71 -71
- package/types/views/list/schema/ListPageOptions.schema.d.ts +114 -114
- package/types/views/page/PageZoneTypes.d.ts +1 -1
|
@@ -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 declare 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 declare 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
|
+
}
|
|
@@ -1,119 +1,121 @@
|
|
|
1
|
-
/** @deprecated */
|
|
2
|
-
export interface ILegacyFacade {
|
|
3
|
-
SchemaManagerInstance: any;
|
|
4
|
-
SchemaManager: any;
|
|
5
|
-
NavigationManagerInstance: any;
|
|
6
|
-
DateTextFieldCtrl: any;
|
|
7
|
-
FormlessFieldCtrl: any;
|
|
8
|
-
MonthPicker: any;
|
|
9
|
-
UiMarked: any;
|
|
10
|
-
prop: any;
|
|
11
|
-
ImageService: any;
|
|
12
|
-
FormLayoutManager: any;
|
|
13
|
-
removeSpecial: any;
|
|
14
|
-
ServerErrorCtrl: any;
|
|
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
|
-
|
|
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
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
1
|
+
/** @deprecated */
|
|
2
|
+
export interface ILegacyFacade {
|
|
3
|
+
SchemaManagerInstance: any;
|
|
4
|
+
SchemaManager: any;
|
|
5
|
+
NavigationManagerInstance: any;
|
|
6
|
+
DateTextFieldCtrl: any;
|
|
7
|
+
FormlessFieldCtrl: any;
|
|
8
|
+
MonthPicker: any;
|
|
9
|
+
UiMarked: any;
|
|
10
|
+
prop: any;
|
|
11
|
+
ImageService: any;
|
|
12
|
+
FormLayoutManager: any;
|
|
13
|
+
removeSpecial: any;
|
|
14
|
+
ServerErrorCtrl: any;
|
|
15
|
+
ExportApiAccessor: any;
|
|
16
|
+
showErrors: any;
|
|
17
|
+
CheckboxListFieldCtrl: any;
|
|
18
|
+
SplitBlockCtrl: any;
|
|
19
|
+
SplitBlockSection: any;
|
|
20
|
+
pickRecordModal: any;
|
|
21
|
+
uiCtxEvent: any;
|
|
22
|
+
uiRedraw: any;
|
|
23
|
+
ApiAccessorInstance: any;
|
|
24
|
+
ApiAccessor: any;
|
|
25
|
+
ApiUtils: any;
|
|
26
|
+
ApiUrlManager: any;
|
|
27
|
+
clone: any;
|
|
28
|
+
mClassNames: any;
|
|
29
|
+
isDev: any;
|
|
30
|
+
ModuleService: any;
|
|
31
|
+
ApiServiceInstance: any;
|
|
32
|
+
SecurityManagerInstance: any;
|
|
33
|
+
FormControlManagerInstance: any;
|
|
34
|
+
RecordManagerInstance: any;
|
|
35
|
+
utils: any;
|
|
36
|
+
FormServiceInstance: any;
|
|
37
|
+
ListServiceInstance: any;
|
|
38
|
+
ui: any;
|
|
39
|
+
viewer: any;
|
|
40
|
+
deleteFromArray: any;
|
|
41
|
+
onDocumentVisibilityChange: any;
|
|
42
|
+
fireEvent: any;
|
|
43
|
+
combine: any;
|
|
44
|
+
app: any;
|
|
45
|
+
ContentListCtrl: any;
|
|
46
|
+
ListCtrl: any;
|
|
47
|
+
FormCtrl: any;
|
|
48
|
+
SideCtrl: any;
|
|
49
|
+
FieldCtrl: any;
|
|
50
|
+
FileInputCtrl: any;
|
|
51
|
+
FkPanels: any;
|
|
52
|
+
FramePage: any;
|
|
53
|
+
PageZones: any;
|
|
54
|
+
modules: {
|
|
55
|
+
pbi: {
|
|
56
|
+
PbiFrameCtrl: any;
|
|
57
|
+
};
|
|
58
|
+
etl: {
|
|
59
|
+
FormValueManager: any;
|
|
60
|
+
EtlPanel: any;
|
|
61
|
+
};
|
|
62
|
+
mapping: {
|
|
63
|
+
MappingListExtender: any;
|
|
64
|
+
MappingManager: any;
|
|
65
|
+
MappingManagerInstance: any;
|
|
66
|
+
};
|
|
67
|
+
admin: {
|
|
68
|
+
DesignerHelper: any;
|
|
69
|
+
};
|
|
70
|
+
binding: {
|
|
71
|
+
UnbindingForm: any;
|
|
72
|
+
};
|
|
73
|
+
status: {
|
|
74
|
+
StatusButton: any;
|
|
75
|
+
StatusManager: any;
|
|
76
|
+
statusSchema: any;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
pageConfig: any;
|
|
80
|
+
view: any;
|
|
81
|
+
NavigationControlManager: any;
|
|
82
|
+
messages: any;
|
|
83
|
+
registerForm: any;
|
|
84
|
+
components: any;
|
|
85
|
+
FieldControlManagerInstance: any;
|
|
86
|
+
ServerMessageCtrl: any;
|
|
87
|
+
ContainerMixin: any;
|
|
88
|
+
SelectFieldCtrl: any;
|
|
89
|
+
FormFieldMode: any;
|
|
90
|
+
FormFieldCtrl: any;
|
|
91
|
+
FullPageForm: any;
|
|
92
|
+
LabelMode: any;
|
|
93
|
+
WarningText: any;
|
|
94
|
+
showError: any;
|
|
95
|
+
SelectMixin: any;
|
|
96
|
+
CacheManager: any;
|
|
97
|
+
ControlSize: any;
|
|
98
|
+
LayoutBuilder: any;
|
|
99
|
+
ServerMessageHelper: any;
|
|
100
|
+
showSidebar: any;
|
|
101
|
+
uiShow: any;
|
|
102
|
+
GlobalVarManager: any;
|
|
103
|
+
list: {
|
|
104
|
+
ToolbarCtrl: any;
|
|
105
|
+
SwitchButtons: any;
|
|
106
|
+
CustomColumnCtrl: any;
|
|
107
|
+
HierarchyListExtender: any;
|
|
108
|
+
LabelStyleHelper: any;
|
|
109
|
+
LabelStyleCellView: any;
|
|
110
|
+
};
|
|
111
|
+
CenteredMessageCtrl: any;
|
|
112
|
+
PageHeaderControls: any;
|
|
113
|
+
confirmModal: any;
|
|
114
|
+
DropdownMenuCtrl: any;
|
|
115
|
+
DeleteService: any;
|
|
116
|
+
ApiService: any;
|
|
117
|
+
ApiUrlHelper: any;
|
|
118
|
+
URLHelper: any;
|
|
119
|
+
SchemaError: any;
|
|
120
|
+
MemoryDatasource: any;
|
|
121
|
+
}
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
/// <reference types="../../../../mithril" />
|
|
2
|
-
/// <reference types="mithril" />
|
|
3
|
-
import { FilterConstructor } from "../../../services/IFilter";
|
|
4
|
-
import { IFieldControlFacadeContstructor } from "./Form/IFieldControlFacade";
|
|
5
|
-
import { IFieldControlManagerFacade } from "./Form/IFieldControlManagerFacade";
|
|
6
|
-
import { IFormControlFacadeContstructor } from "./Form/IFormControlFacade";
|
|
7
|
-
import { IFormServiceFacade } from "./Form/IFormFacade";
|
|
8
|
-
import { IAuthFacade } from "./IAuthFacade";
|
|
9
|
-
import { IModuleRegistryFacade } from "./IModuleRegistryFacade";
|
|
10
|
-
import { ISchemaFacade } from "./schema/ISchemaFacade";
|
|
11
|
-
import { IListControlFacadeContstructor } from "./List/IListControlFacade";
|
|
12
|
-
import { IListServiceFacade } from "./List/IListServiceFacade";
|
|
13
|
-
import { INavigationFacade } from "./services/INavigationFacade";
|
|
14
|
-
import { ISecurityFacade } from "./services/ISecurityFacade";
|
|
15
|
-
import { IApiFacade } from "./utils/IApiFacade";
|
|
16
|
-
import { ImUtilsFacade } from "./utils/ImUtilsFacade";
|
|
17
|
-
import { IUiComponentsFacade } from "./utils/IUiComponentsFacade";
|
|
18
|
-
import { IUiFacade } from "./utils/IUiFacade";
|
|
19
|
-
import { IUtilsFacade } from "./utils/IUtilsFacade";
|
|
20
|
-
import { IPageFacade } from "./IPageFacade";
|
|
21
|
-
import { CommandManagerFacade } from "./services/CommandManagerFacade";
|
|
22
|
-
import { IRecordManagerFacade } from "./record/IRecordManagerFacade";
|
|
23
|
-
import { ILegacyFacade } from "./ILegacyFacade";
|
|
24
|
-
import { IAppFacade } from "./IAppFacade";
|
|
25
|
-
import { InternalModulesFacade } from "./internalModules/modulesFacadeTypes";
|
|
26
|
-
export declare type ModulePackageInfo = {
|
|
27
|
-
version: string;
|
|
28
|
-
name?: string;
|
|
29
|
-
};
|
|
30
|
-
export declare type ModuleCallback = () => Promise<void> | void;
|
|
31
|
-
export interface IMDTFacade {
|
|
32
|
-
/** Mithril библиотека */
|
|
33
|
-
m: _mithril.MithrilStatic;
|
|
34
|
-
/** Управление навигацией */
|
|
35
|
-
Navigation: INavigationFacade;
|
|
36
|
-
/** Управление пользователем и безопасностью */
|
|
37
|
-
SecurityManager: ISecurityFacade;
|
|
38
|
-
/** Управление списками */
|
|
39
|
-
ListService: IListServiceFacade;
|
|
40
|
-
/** Компонент списка */
|
|
41
|
-
List: IListControlFacadeContstructor;
|
|
42
|
-
/** Управление формами */
|
|
43
|
-
FormService: IFormServiceFacade;
|
|
44
|
-
/** Компонент формы */
|
|
45
|
-
Form: IFormControlFacadeContstructor;
|
|
46
|
-
/** Управление контролами */
|
|
47
|
-
ControlManager: IFieldControlManagerFacade;
|
|
48
|
-
/** Компонент контрола */
|
|
49
|
-
FieldControl: IFieldControlFacadeContstructor;
|
|
50
|
-
/** Утилиты для Mithril */
|
|
51
|
-
mUtils: ImUtilsFacade;
|
|
52
|
-
/** Утилиты */
|
|
53
|
-
Utils: IUtilsFacade;
|
|
54
|
-
/** Управление UI компонентами */
|
|
55
|
-
Ui: IUiFacade;
|
|
56
|
-
UiComponents: IUiComponentsFacade;
|
|
57
|
-
/** Управление запросами к API */
|
|
58
|
-
Api: IApiFacade;
|
|
59
|
-
/** Компонент фильтра */
|
|
60
|
-
Filter: FilterConstructor;
|
|
61
|
-
Schema: ISchemaFacade;
|
|
62
|
-
RecordManager: IRecordManagerFacade;
|
|
63
|
-
ModuleRegistry: IModuleRegistryFacade;
|
|
64
|
-
/** Управление способами авторизации */
|
|
65
|
-
Auth: IAuthFacade;
|
|
66
|
-
/** Управление страницей */
|
|
67
|
-
Page: IPageFacade;
|
|
68
|
-
/** Управление приложением */
|
|
69
|
-
App: IAppFacade;
|
|
70
|
-
/** Управление командами */
|
|
71
|
-
CommandManager: CommandManagerFacade;
|
|
72
|
-
/** @deprecated */
|
|
73
|
-
legacy: ILegacyFacade;
|
|
74
|
-
modules: InternalModulesFacade;
|
|
75
|
-
/** Зарегистрировать модуль */
|
|
76
|
-
registerModule(callback: ModuleCallback, moduleData: ModulePackageInfo): void;
|
|
77
|
-
}
|
|
1
|
+
/// <reference types="../../../../mithril" />
|
|
2
|
+
/// <reference types="mithril" />
|
|
3
|
+
import { FilterConstructor } from "../../../services/IFilter";
|
|
4
|
+
import { IFieldControlFacadeContstructor } from "./Form/IFieldControlFacade";
|
|
5
|
+
import { IFieldControlManagerFacade } from "./Form/IFieldControlManagerFacade";
|
|
6
|
+
import { IFormControlFacadeContstructor } from "./Form/IFormControlFacade";
|
|
7
|
+
import { IFormServiceFacade } from "./Form/IFormFacade";
|
|
8
|
+
import { IAuthFacade } from "./IAuthFacade";
|
|
9
|
+
import { IModuleRegistryFacade } from "./IModuleRegistryFacade";
|
|
10
|
+
import { ISchemaFacade } from "./schema/ISchemaFacade";
|
|
11
|
+
import { IListControlFacadeContstructor } from "./List/IListControlFacade";
|
|
12
|
+
import { IListServiceFacade } from "./List/IListServiceFacade";
|
|
13
|
+
import { INavigationFacade } from "./services/INavigationFacade";
|
|
14
|
+
import { ISecurityFacade } from "./services/ISecurityFacade";
|
|
15
|
+
import { IApiFacade } from "./utils/IApiFacade";
|
|
16
|
+
import { ImUtilsFacade } from "./utils/ImUtilsFacade";
|
|
17
|
+
import { IUiComponentsFacade } from "./utils/IUiComponentsFacade";
|
|
18
|
+
import { IUiFacade } from "./utils/IUiFacade";
|
|
19
|
+
import { IUtilsFacade } from "./utils/IUtilsFacade";
|
|
20
|
+
import { IPageFacade } from "./IPageFacade";
|
|
21
|
+
import { CommandManagerFacade } from "./services/CommandManagerFacade";
|
|
22
|
+
import { IRecordManagerFacade } from "./record/IRecordManagerFacade";
|
|
23
|
+
import { ILegacyFacade } from "./ILegacyFacade";
|
|
24
|
+
import { IAppFacade } from "./IAppFacade";
|
|
25
|
+
import { InternalModulesFacade } from "./internalModules/modulesFacadeTypes";
|
|
26
|
+
export declare type ModulePackageInfo = {
|
|
27
|
+
version: string;
|
|
28
|
+
name?: string;
|
|
29
|
+
};
|
|
30
|
+
export declare type ModuleCallback = () => Promise<void> | void;
|
|
31
|
+
export interface IMDTFacade {
|
|
32
|
+
/** Mithril библиотека */
|
|
33
|
+
m: _mithril.MithrilStatic;
|
|
34
|
+
/** Управление навигацией */
|
|
35
|
+
Navigation: INavigationFacade;
|
|
36
|
+
/** Управление пользователем и безопасностью */
|
|
37
|
+
SecurityManager: ISecurityFacade;
|
|
38
|
+
/** Управление списками */
|
|
39
|
+
ListService: IListServiceFacade;
|
|
40
|
+
/** Компонент списка */
|
|
41
|
+
List: IListControlFacadeContstructor;
|
|
42
|
+
/** Управление формами */
|
|
43
|
+
FormService: IFormServiceFacade;
|
|
44
|
+
/** Компонент формы */
|
|
45
|
+
Form: IFormControlFacadeContstructor;
|
|
46
|
+
/** Управление контролами */
|
|
47
|
+
ControlManager: IFieldControlManagerFacade;
|
|
48
|
+
/** Компонент контрола */
|
|
49
|
+
FieldControl: IFieldControlFacadeContstructor;
|
|
50
|
+
/** Утилиты для Mithril */
|
|
51
|
+
mUtils: ImUtilsFacade;
|
|
52
|
+
/** Утилиты */
|
|
53
|
+
Utils: IUtilsFacade;
|
|
54
|
+
/** Управление UI компонентами */
|
|
55
|
+
Ui: IUiFacade;
|
|
56
|
+
UiComponents: IUiComponentsFacade;
|
|
57
|
+
/** Управление запросами к API */
|
|
58
|
+
Api: IApiFacade;
|
|
59
|
+
/** Компонент фильтра */
|
|
60
|
+
Filter: FilterConstructor;
|
|
61
|
+
Schema: ISchemaFacade;
|
|
62
|
+
RecordManager: IRecordManagerFacade;
|
|
63
|
+
ModuleRegistry: IModuleRegistryFacade;
|
|
64
|
+
/** Управление способами авторизации */
|
|
65
|
+
Auth: IAuthFacade;
|
|
66
|
+
/** Управление страницей */
|
|
67
|
+
Page: IPageFacade;
|
|
68
|
+
/** Управление приложением */
|
|
69
|
+
App: IAppFacade;
|
|
70
|
+
/** Управление командами */
|
|
71
|
+
CommandManager: CommandManagerFacade;
|
|
72
|
+
/** @deprecated */
|
|
73
|
+
legacy: ILegacyFacade;
|
|
74
|
+
modules: InternalModulesFacade;
|
|
75
|
+
/** Зарегистрировать модуль */
|
|
76
|
+
registerModule(callback: ModuleCallback, moduleData: ModulePackageInfo): void;
|
|
77
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModuleData } from "../../ModuleData";
|
|
2
|
-
export interface IModuleRegistryFacade {
|
|
3
|
-
/** Получить информацию о модуле */
|
|
4
|
-
get(code: string): ModuleData;
|
|
5
|
-
}
|
|
1
|
+
import { ModuleData } from "../../ModuleData";
|
|
2
|
+
export interface IModuleRegistryFacade {
|
|
3
|
+
/** Получить информацию о модуле */
|
|
4
|
+
get(code: string): ModuleData;
|
|
5
|
+
}
|
|
@@ -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 declare 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 declare 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/IListView";
|
|
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/IListView";
|
|
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
|
+
}
|