eservices-core 2.0.0-beta.1 → 2.0.0-beta.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.
Files changed (123) hide show
  1. package/dist/eservices-core.cjs.js +6 -6
  2. package/dist/eservices-core.es.js +6 -1
  3. package/dist/eservices-core.umd.js +6 -6
  4. package/dist/frontend/src/billing/services/billing-service.d.ts +6 -6
  5. package/dist/frontend/src/classes/Communication.d.ts +1 -1
  6. package/dist/frontend/src/classes/Manager.d.ts +1 -1
  7. package/dist/frontend/src/classes/NotificationSystem.d.ts +3 -3
  8. package/dist/frontend/src/composables/use-forward-expose.d.ts +1 -1
  9. package/dist/frontend/src/core-utils/index.d.ts +4 -8
  10. package/dist/frontend/src/data/services/batch.service.d.ts +2 -2
  11. package/dist/frontend/src/data/services/data.service.d.ts +6 -6
  12. package/dist/frontend/src/engine/services/invitation-service.d.ts +3 -3
  13. package/dist/frontend/src/hooks/use-actions.d.ts +4 -128
  14. package/dist/frontend/src/hooks/use-list-active-row.d.ts +1 -1
  15. package/dist/frontend/src/hooks/use-list-configuration.d.ts +3 -4
  16. package/dist/frontend/src/hooks/use-manager-state.d.ts +6 -19
  17. package/dist/frontend/src/hooks/use-metadata-field.d.ts +1 -1
  18. package/dist/frontend/src/hooks/use-shortcut-config.d.ts +1 -1
  19. package/dist/frontend/src/hooks/use-wizard.d.ts +6 -6
  20. package/dist/frontend/src/index.d.ts +8 -7
  21. package/dist/frontend/src/metadata/services/metadata.service.d.ts +4 -5
  22. package/dist/frontend/src/metadata/services/usage-context.service.d.ts +3 -3
  23. package/dist/frontend/src/metadata/store/metadata.store.d.ts +0 -1
  24. package/dist/frontend/src/methods/async-process.d.ts +4 -4
  25. package/dist/frontend/src/methods/formatter.d.ts +1 -1
  26. package/dist/frontend/src/methods/get-entity-label-by-primary-key.d.ts +1 -1
  27. package/dist/frontend/src/methods/load-entity-data-like-options.d.ts +1 -4
  28. package/dist/frontend/src/methods/parse-error.d.ts +1 -1
  29. package/dist/frontend/src/methods/setup-list-row.d.ts +1 -1
  30. package/dist/frontend/src/methods/socket-process.d.ts +3 -3
  31. package/dist/frontend/src/methods/throttle.d.ts +1 -1
  32. package/dist/frontend/src/methods/translate.d.ts +2 -2
  33. package/dist/frontend/src/methods/universal-client-read.d.ts +1 -2
  34. package/dist/frontend/src/methods/universal-communication.d.ts +4 -5
  35. package/dist/frontend/src/methods/universal-entity-count.d.ts +2 -2
  36. package/dist/frontend/src/methods/universal-entity-resolve.d.ts +1 -1
  37. package/dist/frontend/src/methods/universal-history-read.d.ts +2 -2
  38. package/dist/frontend/src/methods/universal-list-setting-read.d.ts +1 -1
  39. package/dist/frontend/src/methods/universal-tool-execute.d.ts +2 -2
  40. package/dist/frontend/src/methods/universal-tool-read.d.ts +2 -2
  41. package/dist/frontend/src/methods/wrap-tool-response.d.ts +1 -18
  42. package/dist/frontend/src/services/auth-service.d.ts +15 -15
  43. package/dist/frontend/src/services/communication-service.d.ts +4 -4
  44. package/dist/frontend/src/services/file-service.d.ts +1 -2
  45. package/dist/frontend/src/services/internationalization-service.d.ts +1 -1
  46. package/dist/frontend/src/services/open-service.d.ts +2 -2
  47. package/dist/frontend/src/services/process-wizard-service.d.ts +3 -4
  48. package/dist/frontend/src/socket/entities/socket.d.ts +1 -1
  49. package/dist/frontend/src/widgets/fast-table/use-fast-table-data.d.ts +3 -15
  50. package/dist/frontend/src/widgets/popper/popper.vue.d.ts +1 -1
  51. package/dist/frontend/src/widgets/popper/use-forward-expose.d.ts +1 -1
  52. package/package.json +2 -2
  53. package/dist/frontend/page/Any.vue.d.ts +0 -2
  54. package/dist/frontend/page/App.vue.d.ts +0 -2
  55. package/dist/frontend/page/List.vue.d.ts +0 -158
  56. package/dist/frontend/page/form-person.vue.d.ts +0 -2
  57. package/dist/frontend/page/input-ref-code.vue.d.ts +0 -2
  58. package/dist/frontend/page/main.d.ts +0 -1
  59. package/dist/frontend/page/modal-entity.vue.d.ts +0 -6
  60. package/dist/frontend/page/modal-wrap.vue.d.ts +0 -26
  61. package/dist/frontend/page/router.d.ts +0 -1
  62. package/dist/frontend/page/widget-fast-table-form.vue.d.ts +0 -15
  63. package/dist/frontend/page/widget-new-button.vue.d.ts +0 -7
  64. package/dist/frontend/src/icons/widget-icon-arrow-up.vue.d.ts +0 -5
  65. package/dist/frontend/src/icons/widget-icon-keyboard-arrow-down.vue.d.ts +0 -5
  66. package/dist/frontend/src/widgets/action/widget-action.vue.d.ts +0 -8
  67. package/dist/frontend/src/widgets/button/widget-button.vue.d.ts +0 -20
  68. package/dist/frontend/src/widgets/calendar/widget-calendar.vue.d.ts +0 -13
  69. package/dist/frontend/src/widgets/fast-table/widget-fast-table-head-cell.vue.d.ts +0 -16
  70. package/dist/frontend/src/widgets/fast-table/widget-fast-table-information-block.vue.d.ts +0 -7
  71. package/dist/frontend/src/widgets/fast-table/widget-fast-table-pagination.vue.d.ts +0 -6
  72. package/dist/frontend/src/widgets/fast-table/widget-fast-table-tools.vue.d.ts +0 -40
  73. package/dist/frontend/src/widgets/fast-table/widget-fast-table.vue.d.ts +0 -150
  74. package/dist/frontend/src/widgets/field/widget-field.vue.d.ts +0 -15
  75. package/dist/frontend/src/widgets/image/widget-image.vue.d.ts +0 -9
  76. package/dist/frontend/src/widgets/input-file/widget-input-file.vue.d.ts +0 -19
  77. package/dist/frontend/src/widgets/input-lookup-code/input-lookup-code.vue.d.ts +0 -36
  78. package/dist/frontend/src/widgets/loader/widget-loader.vue.d.ts +0 -5
  79. package/dist/frontend/src/widgets/modal-entity-selection/modal-entity-selection.vue.d.ts +0 -12
  80. package/dist/frontend/src/widgets/modal-list-download/modal-list-download.vue.d.ts +0 -11
  81. package/dist/frontend/src/widgets/modal-simple-parameters/modal-simple-parameters.vue.d.ts +0 -9
  82. package/dist/frontend/src/widgets/modal-version-history/modal-version-history.vue.d.ts +0 -6
  83. package/dist/frontend/src/widgets/modal-version-history/version-item.vue.d.ts +0 -14
  84. package/dist/frontend/src/widgets/multi-button/widget-multi-button.vue.d.ts +0 -13
  85. package/dist/frontend/src/widgets/popper/popper-trigger.vue.d.ts +0 -17
  86. package/dist/frontend/src/widgets/primitive/primitive.vue.d.ts +0 -41
  87. package/dist/frontend/src/widgets/primitive/slot.vue.d.ts +0 -6
  88. package/dist/frontend/src/widgets/spinner/widget-spinner.vue.d.ts +0 -7
  89. package/dist/frontend/src/widgets/table/widget-table-form.vue.d.ts +0 -16
  90. package/dist/frontend/src/widgets/table/widget-table-head-cell.vue.d.ts +0 -10
  91. package/dist/frontend/src/widgets/table/widget-table-head.vue.d.ts +0 -43
  92. package/dist/frontend/src/widgets/table/widget-table-row.vue.d.ts +0 -2
  93. package/dist/frontend/src/widgets/table/widget-table.vue.d.ts +0 -66
  94. package/dist/frontend/src/widgets/widget-resolver-entity/WidgetResolverEntity.vue.d.ts +0 -2
  95. package/dist/frontend/src/widgets/widget-select/widget-select-content.vue.d.ts +0 -17
  96. package/dist/frontend/src/widgets/widget-select/widget-select-item.vue.d.ts +0 -20
  97. package/dist/frontend/src/widgets/widget-select/widget-select-trigger.vue.d.ts +0 -19
  98. package/dist/frontend/src/widgets/widget-select/widget-select.vue.d.ts +0 -23
  99. package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-calendar-between.vue.d.ts +0 -12
  100. package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-entity.vue.d.ts +0 -17
  101. package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-enum.vue.d.ts +0 -15
  102. package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-number.vue.d.ts +0 -16
  103. package/dist/frontend/src/widgets/widget-table-panel-filters/filters/widget-filter-text.vue.d.ts +0 -11
  104. package/dist/frontend/src/widgets/widget-table-panel-filters/widget-table-panel-filter-item.vue.d.ts +0 -23
  105. package/dist/frontend/src/widgets/widget-table-panel-filters/widget-table-panel-filters.vue.d.ts +0 -17
  106. package/dist/frontend/src/widgets/widget-table-panel-filters/widget-table-search.vue.d.ts +0 -9
  107. package/dist/frontend/tests/integrations/button.spec.d.ts +0 -1
  108. package/dist/frontend/tests/integrations/icon.spec.d.ts +0 -1
  109. package/dist/frontend/tests/integrations/loader.spec.d.ts +0 -1
  110. package/dist/frontend/tests/integrations/multi-button.spec.d.ts +0 -1
  111. package/dist/frontend/tests/integrations/spinner.spec.d.ts +0 -1
  112. package/dist/frontend/tests/unit/classes/notification-system.spec.d.ts +0 -1
  113. package/dist/frontend/tests/unit/hooks/use-list-active-row.spec.d.ts +0 -1
  114. package/dist/frontend/tests/unit/hooks/use-list-entity.spec.d.ts +0 -1
  115. package/dist/frontend/tests/unit/hooks/use-shortcut-config.spec.d.ts +0 -1
  116. package/dist/frontend/tests/unit/methods/async-process.spec.d.ts +0 -1
  117. package/dist/frontend/tests/unit/methods/async-while.spec.d.ts +0 -1
  118. package/dist/frontend/tests/unit/methods/catch-universal.spec.d.ts +0 -1
  119. package/dist/frontend/tests/unit/methods/get-cell-value.spec.d.ts +0 -1
  120. package/dist/frontend/tests/unit/methods/parse-error.spec.d.ts +0 -1
  121. package/dist/frontend/tests/unit/translate.spec.d.ts +0 -1
  122. package/dist/frontend/tests/unit/values-to-upper-case.spec.d.ts +0 -1
  123. package/dist/frontend/tests/wait.d.ts +0 -1
@@ -1,13 +1,13 @@
1
1
  import { IApplyResultOnlinePayment, IBillingField, IOnlinePayment } from '../types/billing.types.ts';
2
2
  export default class billingService {
3
3
  private static url;
4
- static getBillingMetadata(entityName: string): Promise<unknown>;
5
- static calculate(entity: string, values: any): Promise<any>;
4
+ static getBillingMetadata(entityName: string): any;
5
+ static calculate(entity: string, values: any): any;
6
6
  static parseMetadataField(field: IBillingField): {
7
- name: string;
8
- label: string;
9
- required: true;
10
- type: string | undefined;
7
+ name: any;
8
+ label: any;
9
+ required: any;
10
+ type: any;
11
11
  };
12
12
  /**
13
13
  * @description Метод для создания онлайн платежа.
@@ -4,7 +4,7 @@ export default class Communication extends EventEmitter {
4
4
  id: number;
5
5
  constructor(talkId: number);
6
6
  read: () => any;
7
- sendMessage(text: string): Promise<import('../../../backend/src/types/communication').ICommunicationMessageReadingResult[]>;
7
+ sendMessage(text: string): any;
8
8
  static checkAndGenerate(entityName: string, entityCatalogId: string, targetCode: string): Promise<{
9
9
  id: number;
10
10
  }>;
@@ -51,7 +51,7 @@ export declare class ApplicationManager extends EventEmitter {
51
51
  * @description Возвращает текущий контекст. В случае, если контекст ещё не получен, или (Внутрення ошибка) не
52
52
  * найдено ни одного соответствия с уже запрошенными контекстами, возвращается null.
53
53
  * */
54
- get context(): ICustomerContext | null;
54
+ get context(): any;
55
55
  /**
56
56
  * @description Initialization of ApplicationManager
57
57
  */
@@ -19,7 +19,7 @@ declare const _default: {
19
19
  /**
20
20
  * @description Function remove item by id. Return true if card was founded, otherwise false.
21
21
  * */
22
- remove(id: number): false | undefined;
22
+ remove(id: number): boolean;
23
23
  };
24
24
  export default _default;
25
25
  declare class NotificationCard {
@@ -31,14 +31,14 @@ declare class NotificationCard {
31
31
  timeout: INotificationAddOptions['timeout'];
32
32
  children: INotificationAddOptions['children'];
33
33
  click: INotificationAddOptions['click'];
34
- traceId?: string | undefined;
34
+ traceId?: string;
35
35
  static cardId: number;
36
36
  id: number;
37
37
  constructor(type: NotificationType, message: string,
38
38
  /**
39
39
  * @description Время жизни уведомления в СЕКУНДАХ.
40
40
  * */
41
- timeout: INotificationAddOptions['timeout'], children: INotificationAddOptions['children'], click: INotificationAddOptions['click'], traceId?: string | undefined);
41
+ timeout: INotificationAddOptions['timeout'], children: INotificationAddOptions['children'], click: INotificationAddOptions['click'], traceId?: string);
42
42
  }
43
43
  interface INotificationAddOptions {
44
44
  children: string[];
@@ -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 | null | undefined, Element | T | null | undefined>;
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: typeof addListCellHandler;
10
- getCellModelValue: typeof getCellModelValue;
11
- addFieldParamsHandler: typeof addFieldParamsHandler;
12
- addListRowHandler: typeof 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): Promise<import('../types/data.batch.types.ts').IResultRunPromisesOneAfterAnother[]>;
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): Promise<import('../types/data.batch.types.ts').IResultRunPromisesOneAfterAnother[]>;
15
+ static delete(entityName: IEntityName, options: IDataBatchDeleteOptions): any;
16
16
  }
@@ -1,4 +1,4 @@
1
- import { IDataEntityCreateOptions, IDataEntityCreateResult, IDataEntityDeleteOptions, IDataEntityDeleteResult, IDataEntityUpdateOptions, IDataEntityUpdateResult, IUniversalEntityReadListOptions, IUniversalEntityReadSingleOptions } from '../types/data.types.ts';
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): Promise<T>;
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): Promise<T[]>;
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): Promise<IDataEntityUpdateResult>;
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): Promise<IDataEntityCreateResult>;
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): Promise<IDataEntityDeleteResult>;
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): Promise<unknown>;
3
- static accept(invitationId: number, version: number): Promise<unknown>;
4
- static decline(invitationId: number, version: number): Promise<unknown>;
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
- label: string;
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
- label: string;
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: import('vue').Ref<IListActiveRow, IListActiveRow>;
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: import('../methods/convert-list-config').IExtendListCell<any>[];
14
+ readonly cellConfig: any;
16
15
  readonly prefilters: any;
17
16
  readonly order: any;
18
17
  clean(): void;
19
- cellConfiguration: import('vue').ComputedRef<Partial<IListCell<import('../index').IPrimitiveListData>>[]>;
20
- computedLabel: import('vue').ComputedRef<string | null>;
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
- id: number;
7
- name: string;
8
- statusCode: string;
9
- role: string;
10
- roleCode: string;
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 | undefined): import('vue').ComputedRef<import('../metadata/types/metadata.types.ts').IExtendedMetadataField | undefined>;
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<Partial<IListCell<T>>[]>;
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 | null, string | boolean | null>;
12
- currentStepConfig: import('vue').ComputedRef<IWizardStepConfig | null>;
13
- currentStepName: import('vue').Ref<string | null, string | null>;
14
- arrayPassedSteps: import('vue').ComputedRef<(IWizardStepConfig | null)[]>;
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
- } | null, IWizardProcessInfo | {
20
+ }, IWizardProcessInfo | {
21
21
  label: string;
22
22
  info: string;
23
23
  icon: string;
24
- } | null>;
24
+ }>;
25
25
  next: (changes?: any) => Promise<any>;
26
26
  };
27
27
  export interface IWizardOptions {
@@ -27,6 +27,7 @@ import { IActionOptions, IActionReadOptions, ITool, IToolResult, IAffectedEntity
27
27
  import { ICoordinate } from './types/app-server-types';
28
28
  import { IWizardStepConfig, useWizard } from './hooks/use-wizard';
29
29
  import { IInputButtonSelection } from './shared/button-selection/types/button-selection.types.ts';
30
+ import { IMasterEntity, MetadataService, UsageContextService, IListCell, IListOrder, IListSettings } from './metadata';
30
31
  import { config, configuration } from './config';
31
32
  import { constants } from './constants';
32
33
  import { default as socketProcess } from './methods/socket-process';
@@ -89,13 +90,14 @@ import { default as useMetadataField } from './hooks/use-metadata-field';
89
90
  import { default as usePrintForm } from './hooks/use-print-form';
90
91
  import { default as NotificationSystem } from './classes/NotificationSystem';
91
92
  import { default as Communication } from './classes/Communication';
92
- import { ApplicationManager } from './classes/Manager';
93
93
  import { default as MetadataStore } from './metadata/store/metadata.store.ts';
94
- import { default as ApplicationEventBus } from './classes/EventBus';
95
94
  import { default as SocketHandler } from './socket/entities/socket.handler.ts';
96
95
  import { default as SocketProgressHandler } from './socket/entities/socket.progress-handler.ts';
97
96
  import { default as SocketMessage } from './socket/entities/socket.message.ts';
98
97
  import { default as SocketSystem } from './socket/entities/socket.system.ts';
98
+ import { EngineUtils } from './engine';
99
+ import { Filter } from './shared';
100
+ import { Socket } from './socket';
99
101
  import { DataService, BatchService } from './data';
100
102
  import { default as authService } from './services/auth-service';
101
103
  import { default as HistoryService } from './history/services/history.service.ts';
@@ -104,19 +106,18 @@ import { default as internationalizationService } from './services/international
104
106
  import { default as fileService } from './services/file-service';
105
107
  import { default as billingService } from './billing/services/billing-service.ts';
106
108
  import { ApplicationStatus, RecordOperation } from './enums';
107
- import { IListCell, IListOrder, IListSettings } from './metadata';
108
109
  export { documentsService, invitationService, EngineError, };
109
110
  export { WidgetAction, WidgetButton, WidgetCalendar, WidgetMultiButton, WidgetIcon, WidgetSpinner, WidgetTable, WidgetLoader, WidgetImage, WidgetField, WidgetFastTable, WidgetFastTableHeadCell, WidgetTablePanelFilterItem, WidgetResolverEntity, WidgetInputLookupCode };
110
111
  export { ModalListDownload, ModalVersionHistory, ModalEntitySelection };
111
- export type { IInputButtonSelection, IPrimitiveListData, ICoordinate, IListCell, IListOrder, IMultiButtonItem, ILoginValues, IActionOptions, IActionReadOptions, ITool, IToolResult, IAffectedEntity, IValidationEffectItem, IListSettings, IAffectedEntityEvent, IWizardStepConfig, IWrappedTool, IToolParamDialog };
112
+ export type { IInputButtonSelection, IPrimitiveListData, ICoordinate, IListCell, IListOrder, IMultiButtonItem, ILoginValues, IActionOptions, IActionReadOptions, ITool, IToolResult, IAffectedEntity, IValidationEffectItem, IListSettings, IAffectedEntityEvent, IWizardStepConfig, IWrappedTool, IToolParamDialog, IMasterEntity };
112
113
  export { config, configuration };
113
114
  export { constants };
114
115
  export { getEntityLabelByPrimaryKey, loadEntityDataLikeOptions, socketProcess, loadPrintForm, openBlobFile, downloadDocumentBuilderFile, getPrimaryFieldNameForEntity, getPathForResolveRouter, universalEntityResolve, modifyDataWithMockField, getTableMockField, parseCellName, parseCellOrder, convertListConfig, getEntityLink, getEntityResolveLink, convertDMSToDD, convertDDToDMS, staticLink, throttle, debounce, request, groupArrayByField, prettyMoney, prettyDate, prettyDateWithTime, asyncProcess, parseError, getNamesFromListConfig, getCellValue, uuidv4, prettyValueFieldByEntity, universalListSettingRead, universalHistoryRead, universalEntityCount, getCellName, universalToolRead, injectAction, getUnitValue, formatter, wrapToolResponse, t, parseTextByMarkdown, setupListRow };
115
116
  export { coreUtils };
116
117
  export { DisplayListRow, AsyncProcessStatus, NotificationType };
117
118
  export { usePrintForm, useListActiveRow, useListEntity, useManagerState, useCommunication, useFormEntity, useMetadata, useUsageContext, useActions, useEnter, useListSelect, useListSearch, useVisibleItem, useWizard, useListDownload, useLocalStorage, useMetadataField };
118
- declare const Manager: ApplicationManager;
119
- declare const EventBus: ApplicationEventBus;
120
- export { SocketHandler, SocketProgressHandler, SocketMessage, SocketSystem, NotificationSystem, MetadataStore, Manager, Communication, EventBus, };
119
+ declare const Manager: any;
120
+ declare const EventBus: any;
121
+ export { SocketHandler, SocketProgressHandler, SocketMessage, SocketSystem, NotificationSystem, MetadataStore, Manager, Communication, EventBus, EngineUtils, Filter, Socket, MetadataService, UsageContextService };
121
122
  export { billingService, authService, HistoryService, openService, internationalizationService, fileService, DataService, BatchService };
122
123
  export { ApplicationStatus, RecordOperation };
@@ -1,7 +1,6 @@
1
- import { IEntityName, IExtendedMetadata } from '../types/metadata.types.ts';
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): Promise<IExtendedMetadata>;
5
- static readShortList(): Promise<Omit<IExtendedMetadata, "fields" | "fieldsByName">[]>;
6
- static readTreatField(entityName: IEntityName, fieldName: string): Promise<IListTreatmentField>;
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 { IUsageContext, IUsageContextReadEntityOptions, IUsageContextReadMandatoryFieldsParams } from '../types/usage-context.types.ts';
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): Promise<Record<string, string[]>>;
5
- static read(entity: IEntityName, options: Partial<IUsageContextReadEntityOptions>): Promise<IUsageContext>;
4
+ static readMandatoryFields(params: IUsageContextReadMandatoryFieldsParams): any;
5
+ static read(entity: IEntityName, options: Partial<IUsageContextReadEntityOptions>): any;
6
6
  }
@@ -1,4 +1,3 @@
1
- import { IExtendedMetadata } from '../types/metadata.types.ts';
2
1
  declare const _default: {
3
2
  state: Record<string, IExtendedMetadata>;
4
3
  initEntity: (entity: string) => Promise<IExtendedMetadata>;
@@ -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?: ((value: U) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
10
- catch: <TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null | undefined) => Promise<U | TResult>;
11
- finally: (onfinally?: (() => void) | null | undefined) => Promise<U>;
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
- } | null;
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 | undefined;
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<string>;
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;
@@ -4,5 +4,5 @@
4
4
  export default function parseError(data: unknown): {
5
5
  message: string;
6
6
  children: string[];
7
- traceId: string | undefined;
7
+ traceId: string;
8
8
  };
@@ -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
- }> | null;
5
+ }>;
@@ -1,10 +1,10 @@
1
1
  export default function socketProcess(eventName: string, data: any): {
2
- call: () => Promise<unknown>;
2
+ call: () => any;
3
3
  progress: import('vue').Ref<{
4
4
  countTreated: number;
5
- } | null, {
5
+ }, {
6
6
  countTreated: number;
7
7
  } | {
8
8
  countTreated: number;
9
- } | null>;
9
+ }>;
10
10
  };
@@ -1 +1 @@
1
- export default function throttle<T, U extends unknown[]>(func: (...args: U) => T, delay: number): (...data: U) => T | undefined;
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) => (label: unknown, ...variables: string[]) => string;
13
- var setVocabulary: (scope: string | any) => (label: unknown, ...variables: string[]) => string;
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(): Promise<IClientContent>;
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): Promise<ICommunicationCreationResult>;
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): Promise<ICommunicationReadingResult[]>;
10
- export declare function universalCommunicationMessageCreate(communicationId: number, text: string): Promise<ICommunicationMessageReadingResult[]>;
11
- export declare function universalCommunicationMessageRead(communicationId: number): Promise<ICommunicationMessageReadingResult[]>;
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, IEntityCountResult } from '../data/types/data.count.types.ts';
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">): Promise<IEntityCountResult>;
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): Promise<string>;
4
+ declare function universalEntityResolve(entity: string, primaryKey: any): any;
5
5
  export default universalEntityResolve;