eservices-core 2.0.0-beta.1 → 2.0.0-beta.2
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/eservices-core.cjs.js +1 -1
- package/dist/eservices-core.es.js +1 -1
- package/dist/eservices-core.umd.js +1 -1
- package/dist/frontend/src/billing/services/billing-service.d.ts +6 -6
- package/dist/frontend/src/classes/Communication.d.ts +1 -1
- package/dist/frontend/src/classes/Manager.d.ts +1 -1
- package/dist/frontend/src/classes/NotificationSystem.d.ts +3 -3
- package/dist/frontend/src/composables/use-forward-expose.d.ts +1 -1
- package/dist/frontend/src/core-utils/index.d.ts +4 -8
- package/dist/frontend/src/data/services/batch.service.d.ts +2 -2
- package/dist/frontend/src/data/services/data.service.d.ts +6 -6
- package/dist/frontend/src/engine/services/invitation-service.d.ts +3 -3
- package/dist/frontend/src/hooks/use-actions.d.ts +4 -128
- package/dist/frontend/src/hooks/use-list-active-row.d.ts +1 -1
- package/dist/frontend/src/hooks/use-list-configuration.d.ts +3 -4
- package/dist/frontend/src/hooks/use-manager-state.d.ts +6 -19
- package/dist/frontend/src/hooks/use-metadata-field.d.ts +1 -1
- package/dist/frontend/src/hooks/use-shortcut-config.d.ts +1 -1
- package/dist/frontend/src/hooks/use-wizard.d.ts +6 -6
- package/dist/frontend/src/index.d.ts +2 -4
- package/dist/frontend/src/metadata/services/metadata.service.d.ts +4 -5
- package/dist/frontend/src/metadata/services/usage-context.service.d.ts +3 -3
- package/dist/frontend/src/metadata/store/metadata.store.d.ts +0 -1
- package/dist/frontend/src/methods/async-process.d.ts +4 -4
- package/dist/frontend/src/methods/formatter.d.ts +1 -1
- package/dist/frontend/src/methods/get-entity-label-by-primary-key.d.ts +1 -1
- package/dist/frontend/src/methods/load-entity-data-like-options.d.ts +1 -4
- package/dist/frontend/src/methods/parse-error.d.ts +1 -1
- package/dist/frontend/src/methods/setup-list-row.d.ts +1 -1
- package/dist/frontend/src/methods/socket-process.d.ts +3 -3
- package/dist/frontend/src/methods/throttle.d.ts +1 -1
- package/dist/frontend/src/methods/translate.d.ts +2 -2
- package/dist/frontend/src/methods/universal-client-read.d.ts +1 -2
- package/dist/frontend/src/methods/universal-communication.d.ts +4 -5
- package/dist/frontend/src/methods/universal-entity-count.d.ts +2 -2
- package/dist/frontend/src/methods/universal-entity-resolve.d.ts +1 -1
- package/dist/frontend/src/methods/universal-history-read.d.ts +2 -2
- package/dist/frontend/src/methods/universal-list-setting-read.d.ts +1 -1
- package/dist/frontend/src/methods/universal-tool-execute.d.ts +2 -2
- package/dist/frontend/src/methods/universal-tool-read.d.ts +2 -2
- package/dist/frontend/src/methods/wrap-tool-response.d.ts +1 -18
- package/dist/frontend/src/services/auth-service.d.ts +15 -15
- package/dist/frontend/src/services/communication-service.d.ts +4 -4
- package/dist/frontend/src/services/file-service.d.ts +1 -2
- package/dist/frontend/src/services/internationalization-service.d.ts +1 -1
- package/dist/frontend/src/services/open-service.d.ts +2 -2
- package/dist/frontend/src/services/process-wizard-service.d.ts +3 -4
- package/dist/frontend/src/socket/entities/socket.d.ts +1 -1
- package/dist/frontend/src/widgets/fast-table/use-fast-table-data.d.ts +3 -15
- package/dist/frontend/src/widgets/popper/popper.vue.d.ts +1 -1
- package/dist/frontend/src/widgets/popper/use-forward-expose.d.ts +1 -1
- package/package.json +2 -2
- package/dist/frontend/page/Any.vue.d.ts +0 -2
- package/dist/frontend/page/App.vue.d.ts +0 -2
- package/dist/frontend/page/List.vue.d.ts +0 -158
- package/dist/frontend/page/form-person.vue.d.ts +0 -2
- package/dist/frontend/page/input-ref-code.vue.d.ts +0 -2
- package/dist/frontend/page/main.d.ts +0 -1
- package/dist/frontend/page/modal-entity.vue.d.ts +0 -6
- package/dist/frontend/page/modal-wrap.vue.d.ts +0 -26
- package/dist/frontend/page/router.d.ts +0 -1
- package/dist/frontend/page/widget-fast-table-form.vue.d.ts +0 -15
- package/dist/frontend/page/widget-new-button.vue.d.ts +0 -7
- package/dist/frontend/src/icons/widget-icon-arrow-up.vue.d.ts +0 -5
- package/dist/frontend/src/icons/widget-icon-keyboard-arrow-down.vue.d.ts +0 -5
- package/dist/frontend/src/widgets/action/widget-action.vue.d.ts +0 -8
- package/dist/frontend/src/widgets/button/widget-button.vue.d.ts +0 -20
- package/dist/frontend/src/widgets/calendar/widget-calendar.vue.d.ts +0 -13
- package/dist/frontend/src/widgets/fast-table/widget-fast-table-head-cell.vue.d.ts +0 -16
- package/dist/frontend/src/widgets/fast-table/widget-fast-table-information-block.vue.d.ts +0 -7
- package/dist/frontend/src/widgets/fast-table/widget-fast-table-pagination.vue.d.ts +0 -6
- package/dist/frontend/src/widgets/fast-table/widget-fast-table-tools.vue.d.ts +0 -40
- package/dist/frontend/src/widgets/fast-table/widget-fast-table.vue.d.ts +0 -150
- package/dist/frontend/src/widgets/field/widget-field.vue.d.ts +0 -15
- package/dist/frontend/src/widgets/image/widget-image.vue.d.ts +0 -9
- package/dist/frontend/src/widgets/input-file/widget-input-file.vue.d.ts +0 -19
- package/dist/frontend/src/widgets/input-lookup-code/input-lookup-code.vue.d.ts +0 -36
- package/dist/frontend/src/widgets/loader/widget-loader.vue.d.ts +0 -5
- package/dist/frontend/src/widgets/modal-entity-selection/modal-entity-selection.vue.d.ts +0 -12
- package/dist/frontend/src/widgets/modal-list-download/modal-list-download.vue.d.ts +0 -11
- package/dist/frontend/src/widgets/modal-simple-parameters/modal-simple-parameters.vue.d.ts +0 -9
- package/dist/frontend/src/widgets/modal-version-history/modal-version-history.vue.d.ts +0 -6
- package/dist/frontend/src/widgets/modal-version-history/version-item.vue.d.ts +0 -14
- package/dist/frontend/src/widgets/multi-button/widget-multi-button.vue.d.ts +0 -13
- package/dist/frontend/src/widgets/popper/popper-trigger.vue.d.ts +0 -17
- package/dist/frontend/src/widgets/primitive/primitive.vue.d.ts +0 -41
- package/dist/frontend/src/widgets/primitive/slot.vue.d.ts +0 -6
- package/dist/frontend/src/widgets/spinner/widget-spinner.vue.d.ts +0 -7
- package/dist/frontend/src/widgets/table/widget-table-form.vue.d.ts +0 -16
- package/dist/frontend/src/widgets/table/widget-table-head-cell.vue.d.ts +0 -10
- package/dist/frontend/src/widgets/table/widget-table-head.vue.d.ts +0 -43
- package/dist/frontend/src/widgets/table/widget-table-row.vue.d.ts +0 -2
- package/dist/frontend/src/widgets/table/widget-table.vue.d.ts +0 -66
- package/dist/frontend/src/widgets/widget-resolver-entity/WidgetResolverEntity.vue.d.ts +0 -2
- package/dist/frontend/src/widgets/widget-select/widget-select-content.vue.d.ts +0 -17
- package/dist/frontend/src/widgets/widget-select/widget-select-item.vue.d.ts +0 -20
- package/dist/frontend/src/widgets/widget-select/widget-select-trigger.vue.d.ts +0 -19
- package/dist/frontend/src/widgets/widget-select/widget-select.vue.d.ts +0 -23
- package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-calendar-between.vue.d.ts +0 -12
- package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-entity.vue.d.ts +0 -17
- package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-enum.vue.d.ts +0 -15
- package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-number.vue.d.ts +0 -16
- package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-text.vue.d.ts +0 -11
- package/dist/frontend/src/widgets/widget-table-panel-filters/widget-table-panel-filter-item.vue.d.ts +0 -23
- package/dist/frontend/src/widgets/widget-table-panel-filters/widget-table-panel-filters.vue.d.ts +0 -17
- package/dist/frontend/src/widgets/widget-table-panel-filters/widget-table-search.vue.d.ts +0 -9
- package/dist/frontend/tests/integrations/button.spec.d.ts +0 -1
- package/dist/frontend/tests/integrations/icon.spec.d.ts +0 -1
- package/dist/frontend/tests/integrations/loader.spec.d.ts +0 -1
- package/dist/frontend/tests/integrations/multi-button.spec.d.ts +0 -1
- package/dist/frontend/tests/integrations/spinner.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/classes/notification-system.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/hooks/use-list-active-row.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/hooks/use-list-entity.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/hooks/use-shortcut-config.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/methods/async-process.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/methods/async-while.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/methods/catch-universal.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/methods/get-cell-value.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/methods/parse-error.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/translate.spec.d.ts +0 -1
- package/dist/frontend/tests/unit/values-to-upper-case.spec.d.ts +0 -1
- package/dist/frontend/tests/wait.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentPublicInstance } from 'vue';
|
|
2
2
|
export declare function useForwardExpose<T extends ComponentPublicInstance>(): {
|
|
3
3
|
forwardRef: (ref: Element | T | null) => void;
|
|
4
|
-
currentRef: import('vue').Ref<Element | T
|
|
4
|
+
currentRef: import('vue').Ref<Element | T, Element | T>;
|
|
5
5
|
currentElement: any;
|
|
6
6
|
};
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { default as addListCellHandler } from './add-list-cell-handler';
|
|
2
|
-
import { default as getCellModelValue } from './get-cell-model-value';
|
|
3
|
-
import { default as addFieldParamsHandler } from './add-field-params-handler';
|
|
4
|
-
import { default as addListRowHandler } from './add-list-row-handler';
|
|
5
1
|
/**
|
|
6
2
|
* @description Новый механизм работы с данными из ядра. Вынесено в одно место, чтобы не загромождать основное пространство import.
|
|
7
3
|
*/
|
|
8
4
|
declare const coreUtils: {
|
|
9
|
-
addListCellHandler:
|
|
10
|
-
getCellModelValue:
|
|
11
|
-
addFieldParamsHandler:
|
|
12
|
-
addListRowHandler:
|
|
5
|
+
addListCellHandler: any;
|
|
6
|
+
getCellModelValue: any;
|
|
7
|
+
addFieldParamsHandler: any;
|
|
8
|
+
addListRowHandler: any;
|
|
13
9
|
};
|
|
14
10
|
export default coreUtils;
|
|
@@ -6,11 +6,11 @@ export default class BatchService {
|
|
|
6
6
|
* @param {IEntityName} entityName Название сущности
|
|
7
7
|
* @param {IDataBatchDeleteOptions} options Параметры обновления сущности.
|
|
8
8
|
* */
|
|
9
|
-
static update(entityName: IEntityName, options: IDataBatchUpdateOptions):
|
|
9
|
+
static update(entityName: IEntityName, options: IDataBatchUpdateOptions): any;
|
|
10
10
|
/**
|
|
11
11
|
* @description Универсальные метод для пакетного обновления сущностей.
|
|
12
12
|
* @param {IEntityName} entityName Название сущности
|
|
13
13
|
* @param {IDataBatchDeleteOptions} options Параметры обновления сущности.
|
|
14
14
|
* */
|
|
15
|
-
static delete(entityName: IEntityName, options: IDataBatchDeleteOptions):
|
|
15
|
+
static delete(entityName: IEntityName, options: IDataBatchDeleteOptions): any;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IDataEntityCreateOptions,
|
|
1
|
+
import { IDataEntityCreateOptions, IDataEntityDeleteOptions, IDataEntityUpdateOptions, IUniversalEntityReadListOptions, IUniversalEntityReadSingleOptions } from '../types/data.types.ts';
|
|
2
2
|
import { IEntityName } from '../../metadata/types/metadata.types.ts';
|
|
3
3
|
export default class DataService {
|
|
4
4
|
/**
|
|
@@ -7,30 +7,30 @@ export default class DataService {
|
|
|
7
7
|
* @param {string} entityName Имя сущности
|
|
8
8
|
* @param {IUniversalEntityReadSingleOptions} options Параметры чтения
|
|
9
9
|
*/
|
|
10
|
-
static readOne<T>(entityName: IEntityName, options: IUniversalEntityReadSingleOptions):
|
|
10
|
+
static readOne<T>(entityName: IEntityName, options: IUniversalEntityReadSingleOptions): any;
|
|
11
11
|
/**
|
|
12
12
|
* @description Чтение списка записей.
|
|
13
13
|
*
|
|
14
14
|
* @param {string} entityName Имя сущности
|
|
15
15
|
* @param {IUniversalEntityReadListOptions} options Параметры чтения
|
|
16
16
|
*/
|
|
17
|
-
static readMany<T>(entityName: IEntityName, options: IUniversalEntityReadListOptions):
|
|
17
|
+
static readMany<T>(entityName: IEntityName, options: IUniversalEntityReadListOptions): any;
|
|
18
18
|
/**
|
|
19
19
|
* @description Универсальные метод для обновления сущности.
|
|
20
20
|
* @param {IEntityName} entityName Название сущности
|
|
21
21
|
* @param {IDataEntityUpdateOptions} options Параметры обновления сущности.
|
|
22
22
|
* */
|
|
23
|
-
static updateOne(entityName: IEntityName, options: IDataEntityUpdateOptions):
|
|
23
|
+
static updateOne(entityName: IEntityName, options: IDataEntityUpdateOptions): any;
|
|
24
24
|
/**
|
|
25
25
|
* @description Универсальные метод для создания сущности
|
|
26
26
|
* @param {IEntityName} entityName Название сущности
|
|
27
27
|
* @param {IDataEntityCreateOptions} options Параметры обновления сущности.
|
|
28
28
|
* */
|
|
29
|
-
static createOne(entityName: IEntityName, options: IDataEntityCreateOptions):
|
|
29
|
+
static createOne(entityName: IEntityName, options: IDataEntityCreateOptions): any;
|
|
30
30
|
/**
|
|
31
31
|
* @description Универсальные метод для delete сущности.
|
|
32
32
|
* @param {IEntityName} entityName Название сущности
|
|
33
33
|
* @param {IDataEntityDeleteOptions} options Параметры удаления сущности.
|
|
34
34
|
* */
|
|
35
|
-
static deleteOne(entityName: IEntityName, options: IDataEntityDeleteOptions):
|
|
35
|
+
static deleteOne(entityName: IEntityName, options: IDataEntityDeleteOptions): any;
|
|
36
36
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default class InvitationService {
|
|
2
|
-
static invite(organizationId: number, personKey: string, relatedRoleCode: number):
|
|
3
|
-
static accept(invitationId: number, version: number):
|
|
4
|
-
static decline(invitationId: number, version: number):
|
|
2
|
+
static invite(organizationId: number, personKey: string, relatedRoleCode: number): any;
|
|
3
|
+
static accept(invitationId: number, version: number): any;
|
|
4
|
+
static decline(invitationId: number, version: number): any;
|
|
5
5
|
}
|
|
@@ -5,134 +5,10 @@ import { IActionOptions } from '../metadata/types/action.types.ts';
|
|
|
5
5
|
* @param options
|
|
6
6
|
*/
|
|
7
7
|
export declare function useActions(options?: Partial<IActionOptions>): {
|
|
8
|
-
actions: import('vue').ComputedRef<
|
|
9
|
-
|
|
10
|
-
callback(someOverrideValues?: any): Promise<any>;
|
|
11
|
-
action: import('../metadata/types/action.types.ts').IAction;
|
|
12
|
-
closeHostForm: boolean;
|
|
13
|
-
confirmation: null | string | true;
|
|
14
|
-
description: string | null;
|
|
15
|
-
name: string;
|
|
16
|
-
order: number;
|
|
17
|
-
paramDialog: null | import('../metadata/types/action.types.ts').IParamDialogBase;
|
|
18
|
-
redirectEntity: string | null;
|
|
19
|
-
requireSave: boolean;
|
|
20
|
-
showOnToolPanel: boolean;
|
|
21
|
-
title: string;
|
|
22
|
-
url: string;
|
|
23
|
-
usageContext?: string;
|
|
24
|
-
showValidationResults?: boolean;
|
|
25
|
-
}[]>;
|
|
26
|
-
update: () => Promise<void | {
|
|
27
|
-
action: {
|
|
28
|
-
entity: string;
|
|
29
|
-
entityField: null | string;
|
|
30
|
-
name: string;
|
|
31
|
-
targetCode: number;
|
|
32
|
-
targetName: string;
|
|
33
|
-
parameters: {
|
|
34
|
-
name: string;
|
|
35
|
-
dataTypeCode: 0;
|
|
36
|
-
dataTypeName: string;
|
|
37
|
-
description: string;
|
|
38
|
-
entityEnum: string;
|
|
39
|
-
fieldName: string;
|
|
40
|
-
referencedEntity: string;
|
|
41
|
-
sourceCode: 0;
|
|
42
|
-
sourceName: string;
|
|
43
|
-
title: string;
|
|
44
|
-
defaultValue: string;
|
|
45
|
-
}[];
|
|
46
|
-
};
|
|
47
|
-
closeHostForm: boolean;
|
|
48
|
-
confirmation: null | string | true;
|
|
49
|
-
description: string | null;
|
|
50
|
-
name: string;
|
|
51
|
-
order: number;
|
|
52
|
-
paramDialog: {
|
|
53
|
-
caption: string;
|
|
54
|
-
info: string;
|
|
55
|
-
name: string;
|
|
56
|
-
params: {
|
|
57
|
-
dataType: string;
|
|
58
|
-
name: string;
|
|
59
|
-
title: string;
|
|
60
|
-
unit: string;
|
|
61
|
-
referencedEntity?: string | undefined;
|
|
62
|
-
}[];
|
|
63
|
-
} | null;
|
|
64
|
-
redirectEntity: string | null;
|
|
65
|
-
requireSave: boolean;
|
|
66
|
-
showOnToolPanel: boolean;
|
|
67
|
-
title: string;
|
|
68
|
-
url: string;
|
|
69
|
-
usageContext?: string | undefined;
|
|
70
|
-
showValidationResults?: boolean | undefined;
|
|
71
|
-
}[]> | undefined;
|
|
8
|
+
actions: import('vue').ComputedRef<any>;
|
|
9
|
+
update: () => any;
|
|
72
10
|
} | {
|
|
73
|
-
actions: import('vue').ComputedRef<
|
|
74
|
-
|
|
75
|
-
callback(someOverrideValues?: any): Promise<any>;
|
|
76
|
-
action: import('../metadata/types/action.types.ts').IAction;
|
|
77
|
-
closeHostForm: boolean;
|
|
78
|
-
confirmation: null | string | true;
|
|
79
|
-
description: string | null;
|
|
80
|
-
name: string;
|
|
81
|
-
order: number;
|
|
82
|
-
paramDialog: null | import('../metadata/types/action.types.ts').IParamDialogBase;
|
|
83
|
-
redirectEntity: string | null;
|
|
84
|
-
requireSave: boolean;
|
|
85
|
-
showOnToolPanel: boolean;
|
|
86
|
-
title: string;
|
|
87
|
-
url: string;
|
|
88
|
-
usageContext?: string;
|
|
89
|
-
showValidationResults?: boolean;
|
|
90
|
-
}[]>;
|
|
91
|
-
update: () => Promise<void | {
|
|
92
|
-
action: {
|
|
93
|
-
entity: string;
|
|
94
|
-
entityField: null | string;
|
|
95
|
-
name: string;
|
|
96
|
-
targetCode: number;
|
|
97
|
-
targetName: string;
|
|
98
|
-
parameters: {
|
|
99
|
-
name: string;
|
|
100
|
-
dataTypeCode: 0;
|
|
101
|
-
dataTypeName: string;
|
|
102
|
-
description: string;
|
|
103
|
-
entityEnum: string;
|
|
104
|
-
fieldName: string;
|
|
105
|
-
referencedEntity: string;
|
|
106
|
-
sourceCode: 0;
|
|
107
|
-
sourceName: string;
|
|
108
|
-
title: string;
|
|
109
|
-
defaultValue: string;
|
|
110
|
-
}[];
|
|
111
|
-
};
|
|
112
|
-
closeHostForm: boolean;
|
|
113
|
-
confirmation: null | string | true;
|
|
114
|
-
description: string | null;
|
|
115
|
-
name: string;
|
|
116
|
-
order: number;
|
|
117
|
-
paramDialog: {
|
|
118
|
-
caption: string;
|
|
119
|
-
info: string;
|
|
120
|
-
name: string;
|
|
121
|
-
params: {
|
|
122
|
-
dataType: string;
|
|
123
|
-
name: string;
|
|
124
|
-
title: string;
|
|
125
|
-
unit: string;
|
|
126
|
-
referencedEntity?: string | undefined;
|
|
127
|
-
}[];
|
|
128
|
-
} | null;
|
|
129
|
-
redirectEntity: string | null;
|
|
130
|
-
requireSave: boolean;
|
|
131
|
-
showOnToolPanel: boolean;
|
|
132
|
-
title: string;
|
|
133
|
-
url: string;
|
|
134
|
-
usageContext?: string | undefined;
|
|
135
|
-
showValidationResults?: boolean | undefined;
|
|
136
|
-
}[]> | undefined;
|
|
11
|
+
actions: import('vue').ComputedRef<any>;
|
|
12
|
+
update: () => any;
|
|
137
13
|
loading: Readonly<import('vue').Ref<boolean, boolean>>;
|
|
138
14
|
};
|
|
@@ -3,6 +3,6 @@ import { IListActiveRow } from '../metadata/types/metadata.list.types.ts';
|
|
|
3
3
|
* @description Hook используется для работы с активной строкой в списке.
|
|
4
4
|
*/
|
|
5
5
|
export default function useListActiveRow(): {
|
|
6
|
-
activeRow:
|
|
6
|
+
activeRow: any;
|
|
7
7
|
activateRow: (activeValue: IListActiveRow) => void;
|
|
8
8
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IListCell } from '../metadata';
|
|
2
1
|
export default function useListConfiguration(activate: any, handlerChangeConfig?: () => any): {
|
|
3
2
|
state: {
|
|
4
3
|
entity: string | null;
|
|
@@ -12,12 +11,12 @@ export default function useListConfiguration(activate: any, handlerChangeConfig?
|
|
|
12
11
|
update: (data: any) => void;
|
|
13
12
|
computedPrefilter: import('vue').ComputedRef<any>;
|
|
14
13
|
computedFiltersConfiguration: import('vue').ComputedRef<any>;
|
|
15
|
-
readonly cellConfig:
|
|
14
|
+
readonly cellConfig: any;
|
|
16
15
|
readonly prefilters: any;
|
|
17
16
|
readonly order: any;
|
|
18
17
|
clean(): void;
|
|
19
|
-
cellConfiguration: import('vue').ComputedRef<
|
|
20
|
-
computedLabel: import('vue').ComputedRef<string
|
|
18
|
+
cellConfiguration: import('vue').ComputedRef<IListCell[]>;
|
|
19
|
+
computedLabel: import('vue').ComputedRef<string>;
|
|
21
20
|
computedTools: import('vue').ComputedRef<any>;
|
|
22
21
|
computedHasLocalConfiguration: import('vue').ComputedRef<boolean>;
|
|
23
22
|
computedOrder: import('vue').ComputedRef<any>;
|
|
@@ -2,23 +2,10 @@
|
|
|
2
2
|
* @description Возвращает реактивное состояние manager
|
|
3
3
|
*/
|
|
4
4
|
export default function useManagerState(): {
|
|
5
|
-
organizations:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
registrationId: any;
|
|
12
|
-
}[];
|
|
13
|
-
currentContextId: number | null | undefined;
|
|
14
|
-
person: {
|
|
15
|
-
id: import('../metadata').IClientContent["id"];
|
|
16
|
-
name: import('../metadata').IClientContent["name"];
|
|
17
|
-
} | undefined;
|
|
18
|
-
context: {
|
|
19
|
-
id: import('../metadata').IClientContent["id"];
|
|
20
|
-
name: import('../metadata').IClientContent["name"];
|
|
21
|
-
} | null;
|
|
22
|
-
contextType: "person" | "organization" | undefined;
|
|
23
|
-
userId: number | undefined;
|
|
5
|
+
organizations: any;
|
|
6
|
+
currentContextId: any;
|
|
7
|
+
person: any;
|
|
8
|
+
context: any;
|
|
9
|
+
contextType: any;
|
|
10
|
+
userId: any;
|
|
24
11
|
};
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* @param entityName Строковое название родительской сущности. Если оно не указано, то будет производиться
|
|
5
5
|
* попытка получить его через механизмы inject/provide.
|
|
6
6
|
*/
|
|
7
|
-
export default function useMetadataField(fieldName: string, entityName?: string
|
|
7
|
+
export default function useMetadataField(fieldName: string, entityName?: string): import('vue').ComputedRef<any>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { IListCell, IPrimitiveListData } from '../metadata/types/metadata.list.types.ts';
|
|
2
|
-
export default function useShortcutConfig<T extends IPrimitiveListData>(config: Partial<IListCell<T>>[], array: T[]): import('vue').ComputedRef<
|
|
2
|
+
export default function useShortcutConfig<T extends IPrimitiveListData>(config: Partial<IListCell<T>>[], array: T[]): import('vue').ComputedRef<IListCell<T>[]>;
|
|
@@ -8,20 +8,20 @@ import { IWizardFixedProcessResponse, WizardStatus, IWizardProcessObjectType } f
|
|
|
8
8
|
* */
|
|
9
9
|
export declare function useWizard(entity: string, processName: string, options: IWizardOptions): {
|
|
10
10
|
initialize: () => Promise<void>;
|
|
11
|
-
loading: import('vue').Ref<string | boolean
|
|
12
|
-
currentStepConfig: import('vue').ComputedRef<IWizardStepConfig
|
|
13
|
-
currentStepName: import('vue').Ref<string
|
|
14
|
-
arrayPassedSteps: import('vue').ComputedRef<
|
|
11
|
+
loading: import('vue').Ref<string | boolean, string | boolean>;
|
|
12
|
+
currentStepConfig: import('vue').ComputedRef<IWizardStepConfig>;
|
|
13
|
+
currentStepName: import('vue').Ref<string, string>;
|
|
14
|
+
arrayPassedSteps: import('vue').ComputedRef<IWizardStepConfig[]>;
|
|
15
15
|
arrayProcessStepName: import('vue').Reactive<string[]>;
|
|
16
16
|
processInfo: import('vue').Ref<{
|
|
17
17
|
label: string;
|
|
18
18
|
info: string;
|
|
19
19
|
icon: string;
|
|
20
|
-
}
|
|
20
|
+
}, IWizardProcessInfo | {
|
|
21
21
|
label: string;
|
|
22
22
|
info: string;
|
|
23
23
|
icon: string;
|
|
24
|
-
}
|
|
24
|
+
}>;
|
|
25
25
|
next: (changes?: any) => Promise<any>;
|
|
26
26
|
};
|
|
27
27
|
export interface IWizardOptions {
|
|
@@ -89,9 +89,7 @@ import { default as useMetadataField } from './hooks/use-metadata-field';
|
|
|
89
89
|
import { default as usePrintForm } from './hooks/use-print-form';
|
|
90
90
|
import { default as NotificationSystem } from './classes/NotificationSystem';
|
|
91
91
|
import { default as Communication } from './classes/Communication';
|
|
92
|
-
import { ApplicationManager } from './classes/Manager';
|
|
93
92
|
import { default as MetadataStore } from './metadata/store/metadata.store.ts';
|
|
94
|
-
import { default as ApplicationEventBus } from './classes/EventBus';
|
|
95
93
|
import { default as SocketHandler } from './socket/entities/socket.handler.ts';
|
|
96
94
|
import { default as SocketProgressHandler } from './socket/entities/socket.progress-handler.ts';
|
|
97
95
|
import { default as SocketMessage } from './socket/entities/socket.message.ts';
|
|
@@ -115,8 +113,8 @@ export { getEntityLabelByPrimaryKey, loadEntityDataLikeOptions, socketProcess, l
|
|
|
115
113
|
export { coreUtils };
|
|
116
114
|
export { DisplayListRow, AsyncProcessStatus, NotificationType };
|
|
117
115
|
export { usePrintForm, useListActiveRow, useListEntity, useManagerState, useCommunication, useFormEntity, useMetadata, useUsageContext, useActions, useEnter, useListSelect, useListSearch, useVisibleItem, useWizard, useListDownload, useLocalStorage, useMetadataField };
|
|
118
|
-
declare const Manager:
|
|
119
|
-
declare const EventBus:
|
|
116
|
+
declare const Manager: any;
|
|
117
|
+
declare const EventBus: any;
|
|
120
118
|
export { SocketHandler, SocketProgressHandler, SocketMessage, SocketSystem, NotificationSystem, MetadataStore, Manager, Communication, EventBus, };
|
|
121
119
|
export { billingService, authService, HistoryService, openService, internationalizationService, fileService, DataService, BatchService };
|
|
122
120
|
export { ApplicationStatus, RecordOperation };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { IEntityName
|
|
2
|
-
import { IListTreatmentField } from '../types/metadata.list.types.ts';
|
|
1
|
+
import { IEntityName } from '../types/metadata.types.ts';
|
|
3
2
|
export default class MetadataService {
|
|
4
|
-
static read(entityName: IEntityName):
|
|
5
|
-
static readShortList():
|
|
6
|
-
static readTreatField(entityName: IEntityName, fieldName: string):
|
|
3
|
+
static read(entityName: IEntityName): any;
|
|
4
|
+
static readShortList(): any;
|
|
5
|
+
static readTreatField(entityName: IEntityName, fieldName: string): any;
|
|
7
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IUsageContextReadEntityOptions, IUsageContextReadMandatoryFieldsParams } from '../types/usage-context.types.ts';
|
|
2
2
|
import { IEntityName } from '../types/metadata.types.ts';
|
|
3
3
|
export default class UsageContextService {
|
|
4
|
-
static readMandatoryFields(params: IUsageContextReadMandatoryFieldsParams):
|
|
5
|
-
static read(entity: IEntityName, options: Partial<IUsageContextReadEntityOptions>):
|
|
4
|
+
static readMandatoryFields(params: IUsageContextReadMandatoryFieldsParams): any;
|
|
5
|
+
static read(entity: IEntityName, options: Partial<IUsageContextReadEntityOptions>): any;
|
|
6
6
|
}
|
|
@@ -6,11 +6,11 @@ export default function asyncProcess<T extends unknown[], U>(process: (...args:
|
|
|
6
6
|
wait: boolean;
|
|
7
7
|
call: (...args: T) => Promise<U>;
|
|
8
8
|
promise: {
|
|
9
|
-
then: <TResult1 = U, TResult2 = never>(onfulfilled?: (
|
|
10
|
-
catch: <TResult = never>(onrejected?: (
|
|
11
|
-
finally: (onfinally?: (
|
|
9
|
+
then: <TResult1 = U, TResult2 = never>(onfulfilled?: (value: U) => TResult1 | PromiseLike<TResult1>, onrejected?: (reason: any) => TResult2 | PromiseLike<TResult2>) => Promise<TResult1 | TResult2>;
|
|
10
|
+
catch: <TResult = never>(onrejected?: (reason: any) => TResult | PromiseLike<TResult>) => Promise<U | TResult>;
|
|
11
|
+
finally: (onfinally?: () => void) => Promise<U>;
|
|
12
12
|
readonly [Symbol.toStringTag]: string;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
loading: boolean;
|
|
15
15
|
status: AsyncProcessStatus;
|
|
16
16
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IFormatterBase } from '../types/formatter-type';
|
|
2
2
|
declare function formatter(config: IFormatterBase): {
|
|
3
|
-
exec(value: unknown, valuesObject: unknown): string
|
|
3
|
+
exec(value: unknown, valuesObject: unknown): string;
|
|
4
4
|
};
|
|
5
5
|
declare namespace formatter {
|
|
6
6
|
var replaceBoolean: (value: unknown, replaceValues: [falseValue: string, trueValue: string]) => string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function getEntityLabelByPrimaryKey(entityName: string, primaryKey: any): Promise<
|
|
1
|
+
export default function getEntityLabelByPrimaryKey(entityName: string, primaryKey: any): Promise<any>;
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
export default function loadEntityDataLikeOptions(entityName: string, params: ILoadEntityLikeOptionsParams): Promise<
|
|
2
|
-
value: any;
|
|
3
|
-
label: any;
|
|
4
|
-
}[]>;
|
|
1
|
+
export default function loadEntityDataLikeOptions(entityName: string, params: ILoadEntityLikeOptionsParams): Promise<any>;
|
|
5
2
|
interface ILoadEntityLikeOptionsParams {
|
|
6
3
|
customFilters: any;
|
|
7
4
|
filters?: any;
|
|
@@ -2,4 +2,4 @@ import { VNode } from 'vue';
|
|
|
2
2
|
import { IRowProps, IRowContext } from '../metadata/types/metadata.list.types.ts';
|
|
3
3
|
export default function setupListRow<T extends IRowProps, U extends IRowContext>(props: T, context: U): () => VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
4
4
|
[key: string]: any;
|
|
5
|
-
}
|
|
5
|
+
}>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export default function socketProcess(eventName: string, data: any): {
|
|
2
|
-
call: () =>
|
|
2
|
+
call: () => any;
|
|
3
3
|
progress: import('vue').Ref<{
|
|
4
4
|
countTreated: number;
|
|
5
|
-
}
|
|
5
|
+
}, {
|
|
6
6
|
countTreated: number;
|
|
7
7
|
} | {
|
|
8
8
|
countTreated: number;
|
|
9
|
-
}
|
|
9
|
+
}>;
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function throttle<T, U extends unknown[]>(func: (...args: U) => T, delay: number): (...data: U) => T
|
|
1
|
+
export default function throttle<T, U extends unknown[]>(func: (...args: U) => T, delay: number): (...data: U) => T;
|
|
@@ -9,7 +9,7 @@ declare function t(this: {
|
|
|
9
9
|
} | void, label: unknown, ...variables: string[]): string;
|
|
10
10
|
declare namespace t {
|
|
11
11
|
var setGlobalVocabulary: (newStore: typeof store) => void;
|
|
12
|
-
var getScope: (scopeName: unknown) =>
|
|
13
|
-
var setVocabulary: (scope: string | any) =>
|
|
12
|
+
var getScope: (scopeName: unknown) => any;
|
|
13
|
+
var setVocabulary: (scope: string | any) => any;
|
|
14
14
|
}
|
|
15
15
|
export default t;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { IClientContent } from '../metadata/types/client.types.ts';
|
|
2
1
|
/**
|
|
3
2
|
* @description Новый уровень абстракции для чтения информации о текущем подключении.
|
|
4
3
|
*
|
|
5
4
|
*/
|
|
6
|
-
declare function universalClientRead():
|
|
5
|
+
declare function universalClientRead(): any;
|
|
7
6
|
export default universalClientRead;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { ICommunicationCreationResult, ICommunicationReadingResult, ICommunicationMessageReadingResult } from './../../../backend/src/types/communication';
|
|
2
1
|
/**
|
|
3
2
|
* @description Абстрактная функция для создания обсуждения.
|
|
4
3
|
*/
|
|
5
|
-
export declare function universalCommunicationCreate(entityName: string, entityCatalogId: string, targetCode: string):
|
|
4
|
+
export declare function universalCommunicationCreate(entityName: string, entityCatalogId: string, targetCode: string): any;
|
|
6
5
|
/**
|
|
7
6
|
* @description Абстрактная функция для создания обсуждения.
|
|
8
7
|
*/
|
|
9
|
-
export declare function universalCommunicationRead(entityName: string, entityCatalogId: string, targetCode: string):
|
|
10
|
-
export declare function universalCommunicationMessageCreate(communicationId: number, text: string):
|
|
11
|
-
export declare function universalCommunicationMessageRead(communicationId: number):
|
|
8
|
+
export declare function universalCommunicationRead(entityName: string, entityCatalogId: string, targetCode: string): any;
|
|
9
|
+
export declare function universalCommunicationMessageCreate(communicationId: number, text: string): any;
|
|
10
|
+
export declare function universalCommunicationMessageRead(communicationId: number): any;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IEntityCountParams
|
|
1
|
+
import { IEntityCountParams } from '../data/types/data.count.types.ts';
|
|
2
2
|
/**
|
|
3
3
|
* @description Универсальные метод для получения количества сущностей
|
|
4
4
|
* @param {string} entity Название сущности
|
|
5
5
|
* @param params
|
|
6
6
|
* */
|
|
7
|
-
declare function universalEntityCount(entity: string, params: Omit<IEntityCountParams, "entity">):
|
|
7
|
+
declare function universalEntityCount(entity: string, params: Omit<IEntityCountParams, "entity">): any;
|
|
8
8
|
export default universalEntityCount;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @description Универсальные метод для определения конечной сущности.
|
|
3
3
|
* */
|
|
4
|
-
declare function universalEntityResolve(entity: string, primaryKey: any):
|
|
4
|
+
declare function universalEntityResolve(entity: string, primaryKey: any): any;
|
|
5
5
|
export default universalEntityResolve;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IHistoryReadParams
|
|
1
|
+
import { IHistoryReadParams } from '../metadata/types/history.types.ts';
|
|
2
2
|
/**
|
|
3
3
|
* @description Универсальный метод для чтен я истории сущности
|
|
4
4
|
* */
|
|
5
|
-
declare function universalHistoryRead(params: IHistoryReadParams):
|
|
5
|
+
declare function universalHistoryRead(params: IHistoryReadParams): any;
|
|
6
6
|
export default universalHistoryRead;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @description Абстрактный метод для чтения конфигурации списка.
|
|
3
3
|
*/
|
|
4
|
-
export default function universalListSettingRead(entity: string, mark?: string | null | string[]):
|
|
4
|
+
export default function universalListSettingRead(entity: string, mark?: string | null | string[]): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { IToolExecuteParams
|
|
1
|
+
import { IToolExecuteParams } from '../metadata/index.ts';
|
|
2
2
|
/**
|
|
3
3
|
* @description
|
|
4
4
|
*
|
|
5
5
|
*/
|
|
6
|
-
declare function universalToolExecute(options?: Partial<IToolExecuteParams>):
|
|
6
|
+
declare function universalToolExecute(options?: Partial<IToolExecuteParams>): any;
|
|
7
7
|
export default universalToolExecute;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IActionReadOptions } from '../metadata';
|
|
2
2
|
/**
|
|
3
3
|
* @description Новый уровень абстракции для чтения информации о текущем подключении.
|
|
4
4
|
*
|
|
5
5
|
*/
|
|
6
|
-
declare function universalToolRead(options?: Partial<IActionReadOptions>):
|
|
6
|
+
declare function universalToolRead(options?: Partial<IActionReadOptions>): any;
|
|
7
7
|
export default universalToolRead;
|
|
@@ -1,22 +1,5 @@
|
|
|
1
1
|
import { IActionOptions, IAffectedEntity, ITool } from '../metadata/types/action.types.ts';
|
|
2
|
-
export default function wrapToolResponse(options: Partial<IActionOptions>, tool: ITool):
|
|
3
|
-
label: string;
|
|
4
|
-
callback(someOverrideValues?: any): Promise<any>;
|
|
5
|
-
action: import('../metadata/types/action.types.ts').IAction;
|
|
6
|
-
closeHostForm: boolean;
|
|
7
|
-
confirmation: null | string | true;
|
|
8
|
-
description: string | null;
|
|
9
|
-
name: string;
|
|
10
|
-
order: number;
|
|
11
|
-
paramDialog: null | import('../metadata/types/action.types.ts').IParamDialogBase;
|
|
12
|
-
redirectEntity: string | null;
|
|
13
|
-
requireSave: boolean;
|
|
14
|
-
showOnToolPanel: boolean;
|
|
15
|
-
title: string;
|
|
16
|
-
url: string;
|
|
17
|
-
usageContext?: string;
|
|
18
|
-
showValidationResults?: boolean;
|
|
19
|
-
};
|
|
2
|
+
export default function wrapToolResponse(options: Partial<IActionOptions>, tool: ITool): any;
|
|
20
3
|
export declare function parseToolConfirmationMessage(msg: unknown): string;
|
|
21
4
|
export declare function handleAffectedEntity(tool: ITool, data: IAffectedEntity, options: Partial<IActionOptions>): void;
|
|
22
5
|
export declare function handleCloseForm(tool: ITool, options: Partial<IActionOptions>): void;
|