eservices-core 1.0.465 → 1.0.467

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 (128) hide show
  1. package/dist/TEST/index.d.ts +5 -0
  2. package/dist/classes/Form.d.ts +78 -0
  3. package/dist/classes/RenderForm.d.ts +37 -0
  4. package/dist/classes/Table.d.ts +94 -0
  5. package/dist/classes/ViewForm/ViewForm.d.ts +8 -0
  6. package/dist/classes/ViewForm/container-form-element-render.d.ts +1 -0
  7. package/dist/classes/ViewForm/container-form-render.d.ts +1 -0
  8. package/dist/classes/ViewForm/container-render.d.ts +1 -0
  9. package/dist/classes/ViewForm/getInputComponent.d.ts +1 -0
  10. package/dist/classes/ViewForm/render-form-body.d.ts +1 -0
  11. package/dist/classes/ViewForm/render-form-section.d.ts +1 -0
  12. package/dist/classes/ViewForm/render-form.d.ts +2 -0
  13. package/dist/classes/ViewForm/render-input.d.ts +8 -0
  14. package/dist/classes/ViewForm/render.d.ts +8 -0
  15. package/dist/classes/index.d.ts +33 -0
  16. package/dist/classes/new/List.d.ts +10 -1
  17. package/dist/classes/new/ListConfig.d.ts +25 -0
  18. package/dist/index.d.ts +4 -2
  19. package/dist/index.js +77 -2
  20. package/dist/{frontend/core/services/auth-service.d.ts → services/AuthService.d.ts} +7 -7
  21. package/dist/services/index.d.ts +11 -0
  22. package/dist/{frontend/core/widgets/modals/modal-validation/modal-validation-item.vue.d.ts → widgets/communication/communication-chat-message.vue.d.ts} +11 -19
  23. package/dist/widgets/communication/communication-chat.vue.d.ts +22 -0
  24. package/dist/widgets/communication/communication-head-create.vue.d.ts +14 -0
  25. package/dist/{frontend/core/widgets/buttons/WidgetButton.vue.d.ts → widgets/communication/communication-head.vue.d.ts} +8 -19
  26. package/dist/{frontend/core/widgets/modals/modal-wrap.vue.d.ts → widgets/communication/communication-input.vue.d.ts} +5 -5
  27. package/dist/{frontend/core/widgets/tables/widget-table-form.vue.d.ts → widgets/communication/widget-communication.vue.d.ts} +18 -20
  28. package/dist/{frontend/core/widgets/modals/modal-validation/modal-validation.vue.d.ts → widgets/containers/container-input-list.vue.d.ts} +1 -1
  29. package/dist/{frontend/core/widgets/cards/widget-card.vue.d.ts → widgets/forms/FormSection.vue.d.ts} +1 -1
  30. package/dist/widgets/interface/interface-container.vue.d.ts +40 -0
  31. package/dist/{frontend/core/widgets/list/widget-list-head.vue.d.ts → widgets/interface/interface-header.vue.d.ts} +5 -5
  32. package/dist/{frontend/core/widgets/breadcrumbs/widget-breadcrumb-item.vue.d.ts → widgets/interface/interface-navigation-cell.vue.d.ts} +7 -7
  33. package/dist/{frontend/core/widgets/list/widget-list.vue.d.ts → widgets/interface/interface-navigation-row.vue.d.ts} +13 -21
  34. package/dist/{frontend/core/widgets/breadcrumbs/widget-breadcrumbs.vue.d.ts → widgets/interface/interface-navigation.vue.d.ts} +3 -3
  35. package/dist/{frontend/core/widgets/shadow-form/WidgetShadowForm.vue.d.ts → widgets/interface/interface-user-card.vue.d.ts} +3 -3
  36. package/dist/widgets/interface/interface-user-popup.vue.d.ts +16 -0
  37. package/dist/{frontend/core/widgets/forms/naomi/WidgetFormInfo.vue.d.ts → widgets/interface/user-popup-link.vue.d.ts} +14 -12
  38. package/dist/{frontend/core/widgets/spinner/widget-loader.vue.d.ts → widgets/interface/user-popup-organization-item.vue.d.ts} +9 -9
  39. package/dist/widgets/interface/user-popup-switch-organization.vue.d.ts +24 -0
  40. package/dist/widgets/interface/user-popup-switch-person.vue.d.ts +22 -0
  41. package/dist/widgets/tables/WidgetCell.vue.d.ts +18 -0
  42. package/dist/widgets/tables/WidgetList.vue.d.ts +24 -0
  43. package/dist/widgets/tables/WidgetListHead.vue.d.ts +15 -0
  44. package/dist/widgets/tables/getCell.d.ts +4 -0
  45. package/dist/widgets/tables/index.d.ts +6 -0
  46. package/dist/{frontend/core/widgets/image/widget-image.vue.d.ts → widgets/tables/table-with-form/widget-table-controller-action.vue.d.ts} +9 -9
  47. package/dist/widgets/tables/table-with-form/widget-table-controller.vue.d.ts +25 -0
  48. package/dist/widgets/tables/table-with-form/widget-table-form.vue.d.ts +22 -0
  49. package/dist/{frontend/core/widgets/list/widget-list-row.vue.d.ts → widgets/tables/table-with-form/widget-table-row.vue.d.ts} +2 -1
  50. package/dist/{frontend/core/widgets/inputs/widget-input-check.vue.d.ts → widgets/tables/table-with-form/widget-table.vue.d.ts} +16 -8
  51. package/dist/{frontend/core/widgets/buttons/multi-button/WidgetMultiButton.vue.d.ts → widgets/wizard/WidgetWizard.vue.d.ts} +9 -9
  52. package/package.json +2 -2
  53. package/dist/frontend/core/classes/ApplicationManager.d.ts +0 -61
  54. package/dist/frontend/core/classes/CoreError.d.ts +0 -42
  55. package/dist/frontend/core/classes/List.d.ts +0 -101
  56. package/dist/frontend/core/classes/NotificationSystem.d.ts +0 -39
  57. package/dist/frontend/core/classes/ProcessWrap.d.ts +0 -8
  58. package/dist/frontend/core/classes/_List.d.ts +0 -66
  59. package/dist/frontend/core/classes/new/List.d.ts +0 -119
  60. package/dist/frontend/core/classes/new/Table.d.ts +0 -27
  61. package/dist/frontend/core/classes/new/get-table-row.d.ts +0 -8
  62. package/dist/frontend/core/classes/table/Table.d.ts +0 -70
  63. package/dist/frontend/core/classes/table/get-table-row.d.ts +0 -8
  64. package/dist/frontend/core/config.d.ts +0 -14
  65. package/dist/frontend/core/hooks/use-customer-state.d.ts +0 -24
  66. package/dist/frontend/core/hooks/use-form-action.d.ts +0 -12
  67. package/dist/frontend/core/hooks/use-form-label.d.ts +0 -8
  68. package/dist/frontend/core/hooks/use-form-metadata.d.ts +0 -2
  69. package/dist/frontend/core/hooks/use-form-request-data.d.ts +0 -13
  70. package/dist/frontend/core/index.d.ts +0 -185
  71. package/dist/frontend/core/mixins/index.d.ts +0 -4
  72. package/dist/frontend/core/new/new-import.d.ts +0 -4
  73. package/dist/frontend/core/services/FileService.d.ts +0 -7
  74. package/dist/frontend/core/services/action-service.d.ts +0 -22
  75. package/dist/frontend/core/services/client-service.d.ts +0 -16
  76. package/dist/frontend/core/services/communication-service.d.ts +0 -64
  77. package/dist/frontend/core/services/data-service.d.ts +0 -54
  78. package/dist/frontend/core/services/invitation-service.d.ts +0 -5
  79. package/dist/frontend/core/services/metadata-service.d.ts +0 -5
  80. package/dist/frontend/core/services/open-service.d.ts +0 -3
  81. package/dist/frontend/core/services/presentation-service.d.ts +0 -9
  82. package/dist/frontend/core/services/process-wizard-service.d.ts +0 -30
  83. package/dist/frontend/core/services/rule-validation-service.d.ts +0 -4
  84. package/dist/frontend/core/services/view-service.d.ts +0 -19
  85. package/dist/frontend/core/socket/use-socket.d.ts +0 -4
  86. package/dist/frontend/core/styles/index.d.ts +0 -2
  87. package/dist/frontend/core/styles/types.d.ts +0 -164
  88. package/dist/frontend/core/types/index.d.ts +0 -103
  89. package/dist/frontend/core/types/metadata-types.d.ts +0 -19
  90. package/dist/frontend/core/useMethods/index.d.ts +0 -5
  91. package/dist/frontend/core/useMethods/useInput.d.ts +0 -15
  92. package/dist/frontend/core/utils/Filter.d.ts +0 -17
  93. package/dist/frontend/core/utils/GraphQL/index.d.ts +0 -21
  94. package/dist/frontend/core/utils/Journal.d.ts +0 -34
  95. package/dist/frontend/core/utils/Request.d.ts +0 -4
  96. package/dist/frontend/core/utils/clickOutside.d.ts +0 -2
  97. package/dist/frontend/core/utils/firstChapterToLowerCase.d.ts +0 -5
  98. package/dist/frontend/core/utils/getPropFromObject.d.ts +0 -15
  99. package/dist/frontend/core/utils/group-array-by-field.d.ts +0 -29
  100. package/dist/frontend/core/utils/index.d.ts +0 -21
  101. package/dist/frontend/core/utils/prettyDate.d.ts +0 -13
  102. package/dist/frontend/core/utils/requestHandler.d.ts +0 -7
  103. package/dist/frontend/core/utils/runPromiseQueue.d.ts +0 -1
  104. package/dist/frontend/core/utils/static-link.d.ts +0 -6
  105. package/dist/frontend/core/utils/uuid.d.ts +0 -1
  106. package/dist/frontend/core/utils/values-to-upper-case.d.ts +0 -5
  107. package/dist/frontend/core/widgets/buttons/index.d.ts +0 -5
  108. package/dist/frontend/core/widgets/containers/index.d.ts +0 -6
  109. package/dist/frontend/core/widgets/errorSystem/default/WidgetError.vue.d.ts +0 -27
  110. package/dist/frontend/core/widgets/errorSystem/default/WidgetErrorGroup.vue.d.ts +0 -17
  111. package/dist/frontend/core/widgets/errorSystem/default/WidgetNotificationSystem.vue.d.ts +0 -4
  112. package/dist/frontend/core/widgets/errorSystem/index.d.ts +0 -4
  113. package/dist/frontend/core/widgets/forms/index.d.ts +0 -6
  114. package/dist/frontend/core/widgets/forms/naomi/WidgetForm.vue.d.ts +0 -65
  115. package/dist/frontend/core/widgets/icons/index.d.ts +0 -4
  116. package/dist/frontend/core/widgets/index.d.ts +0 -40
  117. package/dist/frontend/core/widgets/inputs/default-style/index.d.ts +0 -7
  118. package/dist/frontend/core/widgets/inputs/index.d.ts +0 -15
  119. package/dist/frontend/core/widgets/inputs/line-style/index.d.ts +0 -4
  120. package/dist/frontend/core/widgets/inputs/naomi-style/index.d.ts +0 -4
  121. package/dist/frontend/core/widgets/new/widget-table-form.vue.d.ts +0 -36
  122. package/dist/frontend/core/widgets/new/widget-table-row.vue.d.ts +0 -11
  123. package/dist/frontend/core/widgets/new/widget-table.vue.d.ts +0 -63
  124. package/dist/frontend/core/widgets/section/widget-section.vue.d.ts +0 -14
  125. package/dist/frontend/core/widgets/spinner/WidgetSpinner.vue.d.ts +0 -14
  126. package/dist/frontend/core/widgets/spinner/index.d.ts +0 -4
  127. package/dist/frontend/core/widgets/tables/widget-table-row.vue.d.ts +0 -12
  128. package/dist/frontend/core/widgets/tables/widget-table.vue.d.ts +0 -52
@@ -0,0 +1,5 @@
1
+ import Table from "../classes/Table";
2
+ declare const _default: {
3
+ Table: typeof Table;
4
+ };
5
+ export default _default;
@@ -0,0 +1,78 @@
1
+ import { ComputedRef } from "vue";
2
+ import InterfaceForm, { InterfaceFormParams } from "./InterfaceForm";
3
+ import { FormControllerInterface, FormProvideControllerInterface, Values, ValuesInterface } from "../types";
4
+ import { BooleanObject } from "../utils/recursive-object-wrap";
5
+ export interface FormParams extends InterfaceFormParams {
6
+ /**
7
+ * @deprecated use controller insted
8
+ * */
9
+ parentController?: FormProvideControllerInterface | null;
10
+ controller?: FormProvideControllerInterface;
11
+ provide?: boolean;
12
+ }
13
+ /**
14
+ * @deprecated Please use Form from "jenesius-vue-form"
15
+ * */
16
+ export default class Form extends InterfaceForm {
17
+ private parentController?;
18
+ /**
19
+ * parentController: Object
20
+ * provide: Boolean - Нужно ли прокидывать свой контроллер на детей
21
+ * @param options.parentController
22
+ * */
23
+ changed: ComputedRef<boolean>;
24
+ /**
25
+ * Объект изменений. Хранит ТОЛЬКО изменившиеся значения.
26
+ * */
27
+ changes: BooleanObject;
28
+ constructor(props?: FormParams);
29
+ get controllersStorage(): {
30
+ main: {
31
+ onInput: (...args: Array<any>) => void;
32
+ onDepend: (elemController: FormControllerInterface) => void;
33
+ unDepend: (elemController: FormControllerInterface) => void;
34
+ /**
35
+ * Для чего в controller используется свойство?
36
+ * Форма должна сама всё регулировать
37
+ * */
38
+ disabled: boolean;
39
+ };
40
+ };
41
+ get controller(): {
42
+ onInput: (...args: any[]) => void;
43
+ onDepend: (elemController: FormControllerInterface) => void;
44
+ unDepend: (elemController: FormControllerInterface) => void;
45
+ /**
46
+ * Для чего в controller используется свойство?
47
+ * Форма должна сама всё регулировать
48
+ * */
49
+ disabled: boolean;
50
+ };
51
+ /**
52
+ * @description Вернёт объект изменений
53
+ * Пример:
54
+ * {
55
+ * name: 'New',
56
+ * address: {
57
+ * city: 'New'
58
+ * }
59
+ * }
60
+ * Получет значения из dependElements
61
+ *
62
+ * */
63
+ getChanges(): import("../utils/recursive-object-wrap").SimpleObject;
64
+ /**
65
+ * Устанавливает изменение
66
+ * */
67
+ setChanges(name: string, value: Values): void;
68
+ /**
69
+ * Аккуртно очищает объект изменений. Поскольку он является reactive.
70
+ * */
71
+ cleanChanges: () => void;
72
+ /**
73
+ * @description Вернёт целы данные, с учётом изменений
74
+ * */
75
+ getFullValues(): {
76
+ [x: string]: string | number | boolean | BooleanObject | ValuesInterface;
77
+ };
78
+ }
@@ -0,0 +1,37 @@
1
+ import ClassForm from "./Form";
2
+ import { Ref } from "vue";
3
+ interface RenderItemInterface {
4
+ children: any[];
5
+ }
6
+ declare type FunctionRenderItem = () => () => any;
7
+ declare type RenderItem = RenderItemInterface | FunctionRenderItem;
8
+ interface WidgetFormPropsInterface {
9
+ title?: string;
10
+ button?: any;
11
+ functions?: any;
12
+ }
13
+ export declare function render(array: RenderItem[] | Ref<RenderItem>): any;
14
+ export default class RenderForm extends ClassForm {
15
+ static render(array: RenderItem[]): any;
16
+ metadata: any;
17
+ hiddenInputs: Ref<string[]>;
18
+ /**
19
+ * @param {String} context
20
+ * @param {String} entity
21
+ * @param {String} criterion
22
+ * */
23
+ /**
24
+ * @description Возвращается функции для рендеринга компонентов
25
+ * @return {Object} constructors
26
+ * */
27
+ getRenderConstructors(): {
28
+ input: (props: any, type?: any) => () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
29
+ [key: string]: any;
30
+ }>;
31
+ containerFormElement: (props: any, children: any[]) => () => any;
32
+ containerForm: (props: any, children: any[]) => () => any;
33
+ widgetForm: (props: WidgetFormPropsInterface, children: any[]) => () => any;
34
+ };
35
+ setHiddenInputs(names: string[]): void;
36
+ }
37
+ export {};
@@ -0,0 +1,94 @@
1
+ import { ListRowValues, TableController, Values, ValuesInterface } from "../types";
2
+ import { VNode } from "vue";
3
+ import List, { ListCell, ListParams } from "./List";
4
+ interface TableChanges {
5
+ update: ValuesInterface[];
6
+ new: ValuesInterface[];
7
+ delete: number[];
8
+ }
9
+ interface ValuesTableCellInterface extends ValuesInterface {
10
+ _tableId: number;
11
+ }
12
+ export interface TableParams extends ListParams {
13
+ }
14
+ export default class Table extends List {
15
+ save: any;
16
+ read: any;
17
+ /**
18
+ * КАЖДЫЙ ЭЛЕМЕНТ, ХАРНЯЩИЙСЯ В ТАБЛИЦЕ ИМЕЕТ СВОЙ УНИКАЛЬНЫЙ ИНДЕКС
19
+ * НЕ ЗАВЯЗАННЫЙ НА ИДЕНТИФИКАТОРЕ (ID). (Т.К ТАБЛИЦА МОЖЕТ СОДЕРЖАТЬ)
20
+ * НОВЫЕ ЗАПИСИ, У КОТОРЫХ ОТСУТСТВУЕТ ИДЕНТИФИКТОР
21
+ * */
22
+ static INDEX_ITEM: number;
23
+ static INDEX_FIELD_NAME: string;
24
+ /**
25
+ * ТАБЛЦА ЯВЛЯЕТСЯ ИЗМЕНЁННОЙ В ТОМ СЛУЧАЕ,
26
+ * ЕСЛИ ОДИН ИЗ ЕЁ ЭЛЕМЕНТОВ ИЗМЕНЁН В CHANGES
27
+ * ИЗМЕНЁН
28
+ * */
29
+ get changed(): number;
30
+ /**
31
+ * ИЗМЕНЕНИЕ ТАБЛИЦЫ
32
+ * UPDATE - список объектов, которые нужно обновить. Главное условние -
33
+ * наличие идентификатора в объекте. Поле id
34
+ * ДАННЫЕ ОБНОВЛЕНИЯ - ТОЛЬКО ДЛЯ УЖЕ __СУЩЕСТВУЮЩИХ В БД ЭЛЕМЕНТОВ__
35
+ *
36
+ * NEW - список объектов, которые будут созданы.
37
+ *
38
+ * DELETE - список id, которые будут удалены
39
+ *
40
+ * Объект изменений очищется после того, как записи таблицы были перечитаны
41
+ * или обновлены
42
+ * */
43
+ changes: TableChanges;
44
+ /**
45
+ * НОМЕР ВНУТРЕННЕГО ИДЕНТИФИКАТОРА ЭЛЕМЕНТА, КОТОРЫЙ СЕЙЧАС АКТИВЕН( НАХОДИТСЯ
46
+ * В СТАДИИ РЕДАКТИРОВАНИЯ)
47
+ *
48
+ * 0 - В СЛУЧАЕ, ЕСЛИ ОТКРЫТА ФОРМА НА СОЗДАНИЕ ЭЛЕМЕНТА
49
+ * */
50
+ activeFormIndex: import("vue").Ref<number>;
51
+ selectedArray: number[];
52
+ VueComponentForm?: any;
53
+ name?: string;
54
+ modifierDataCreate: any;
55
+ constructor(props: TableParams);
56
+ static getCell(cellConfig: ListCell, rowValues: ListRowValues, cellName: string | null, cellValue: Values, table: Table): VNode[];
57
+ static getRow(config: ListCell[], rowValues: ListRowValues, table: Table): VNode | VNode[];
58
+ _getCell(values: ValuesTableCellInterface): any;
59
+ set componentForm(component: any);
60
+ /**
61
+ * ФУНКЦИЯ АКТИВИРУЕТ ЭЛЕМЕНТ ФОРМЫ ПО ВНУТРЕННЕМУ ИНДЕКСУ
62
+ * ИЛИ АКТИВИРУЕТ ФОРМУ НА СОЗДАНИЕ ЭЛЕМЕНТЕ
63
+ * */
64
+ toggleForm(index: number): any;
65
+ activateForm(index: number): void;
66
+ activateNewForm(): void;
67
+ hideForm(): void;
68
+ get tableController(): TableController;
69
+ /**
70
+ * ОТМЕНЯЕТ ИЗМЕНЕНИЯ ОБЪЕКТА ПО ВНУТРЕННЕМУ ИДЕНТИФИКАТОРУ ТАБЛИЦЫ
71
+ * */
72
+ revert(what: 'update' | 'delete' | 'new', tableIndex: number): void;
73
+ /**
74
+ * @description Вернёт значение по внутреннему индексу таблицы, получив данн
75
+ * ые как из массива зачений(this.array) так и из хранилища изменений(this.c
76
+ * hanges)
77
+ * */
78
+ getValuesCell(index: number): ValuesInterface;
79
+ /**
80
+ * Сохраняет выделенный элемент таблицы. Используется, когда тип ячейки указ
81
+ * ывается как type = 'select'
82
+ *
83
+ * */
84
+ unselectRow(tableIndex: number): void;
85
+ selectRow(tableIndex: number): void;
86
+ toggleSelectedRow(tableIndex: number): void;
87
+ /**
88
+ * @description Вернёт объекты значений (values), которые были выбраны. Для
89
+ * использования возможно понадобиться из них получить ключи. Если передать
90
+ * key, вернёт только массив ключей.
91
+ * */
92
+ getSelectedItems(key?: string | null): any[];
93
+ }
94
+ export {};
@@ -0,0 +1,8 @@
1
+ import Form from "../Form";
2
+ import Metadata from "../Metadata";
3
+ export declare function ViewForm(form: Form): ViewFormState;
4
+ export interface ViewFormState {
5
+ metadata: Metadata;
6
+ hiddenInputs: string[];
7
+ constructors: any;
8
+ }
@@ -0,0 +1 @@
1
+ export default function containerFormElement(props: any, children: any[]): () => any;
@@ -0,0 +1 @@
1
+ export default function containerForm(props: any, children: any[]): () => any;
@@ -0,0 +1 @@
1
+ export default function containerRender(Component: any, props: any, children: any): () => any;
@@ -0,0 +1 @@
1
+ export default function getInputComponent(typeName: string): any;
@@ -0,0 +1 @@
1
+ export default function renderFormBody(props: any, children: any[]): () => any;
@@ -0,0 +1 @@
1
+ export default function renderFormSection(props: any, children: any[]): () => any;
@@ -0,0 +1,2 @@
1
+ import { ViewFormState } from "./ViewForm";
2
+ export default function renderForm(this: ViewFormState, WidgetForm: any, props: any, children: any[]): () => any;
@@ -0,0 +1,8 @@
1
+ import { ViewFormState } from "./ViewForm";
2
+ declare type PropsInput = {
3
+ [name: string]: any;
4
+ };
5
+ export default function renderInput(this: ViewFormState, inputProps: PropsInput | string, type?: string): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
6
+ [key: string]: any;
7
+ }>;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Ref } from "vue";
2
+ interface RenderItemInterface {
3
+ children: any[];
4
+ }
5
+ declare type FunctionRenderItem = () => () => any;
6
+ declare type RenderItem = RenderItemInterface | FunctionRenderItem;
7
+ export default function render(array: RenderItem[] | Ref<RenderItem>): any;
8
+ export {};
@@ -0,0 +1,33 @@
1
+ import Form from "./Form";
2
+ import CoreError from "./CoreError";
3
+ import ListWorker from "./ListWorker";
4
+ import { ViewForm } from "./ViewForm/ViewForm";
5
+ import render from "./ViewForm/render";
6
+ import StepWorker from "./StepWorker";
7
+ import ErrorStorageSystem from "./ErrorStorageSystem";
8
+ import InterfaceWorker from "./InterfaceWorker";
9
+ import Table from "./Table";
10
+ declare const _default: {
11
+ StepWorker: typeof StepWorker;
12
+ Errors: typeof CoreError;
13
+ CoreError: typeof CoreError;
14
+ Form: typeof Form;
15
+ ListWorker: typeof ListWorker;
16
+ ViewForm: typeof ViewForm;
17
+ Table: typeof Table;
18
+ ErrorStorageSystem: typeof ErrorStorageSystem;
19
+ form: {
20
+ render: typeof render;
21
+ };
22
+ InterfaceWorker: typeof InterfaceWorker;
23
+ ApplicationManager: {
24
+ currentContextId: import("vue").Ref<number>;
25
+ currentContext: import("vue").ComputedRef<import("./ApplicationManager").ICustomerContext>;
26
+ person: import("vue").Ref<import("./ApplicationManager").ICustomerContext>;
27
+ organizations: import("vue").Ref<import("./ApplicationManager").ICustomerContext[]>;
28
+ isReady: import("vue").Ref<boolean>;
29
+ setCurrentContext(id: number): void;
30
+ updateFullClientData(): Promise<void>;
31
+ };
32
+ };
33
+ export default _default;
@@ -1,7 +1,7 @@
1
1
  import EventEmitter from "jenesius-event-emitter";
2
2
  import { IReadParams, ListCell } from "../List";
3
3
  declare const LIST_ROW_KEY = "_______LIST_______ROW_______INDEX________NAME_______";
4
- export declare class List<T> extends EventEmitter {
4
+ export declare class List<T = {}> extends EventEmitter {
5
5
  #private;
6
6
  /**
7
7
  * @description Event triggers when array was updated, set new or pushed new, or updated, or deleted.
@@ -116,6 +116,15 @@ export declare function useListState(list: List<any>): {
116
116
  wait: boolean;
117
117
  array: any[];
118
118
  };
119
+ interface IFlexConfig {
120
+ config: Readonly<IListCell[]>;
121
+ list: List;
122
+ setConfig: (newConfig: IListCell[]) => void;
123
+ }
124
+ /**
125
+ * Использование гибкого механизма для работы с конфигурацию.
126
+ * */
127
+ export declare function useProvideList(list?: List, defaultConfig?: ListCell[]): IFlexConfig;
119
128
  export declare type ListCellType = 'date' | 'dateWithTime' | 'toggle' | 'select';
120
129
  export interface IListCell {
121
130
  title: string;
@@ -0,0 +1,25 @@
1
+ import EventEmitter from "jenesius-event-emitter";
2
+ import { ListCell } from "../List";
3
+ /**
4
+ * @description Используется для работы с конфигурацией списка. При работе делает копию, после чего её можно будет установить
5
+ * как конфигурацию по умолчанию
6
+ * */
7
+ export default class ListConfig extends EventEmitter {
8
+ static readonly EVENT_DATA = "list-config:update";
9
+ array: ListCell[];
10
+ /**
11
+ * @description Является дефолтной конфигурацией, используется для возвращению
12
+ * */
13
+ private defaultArray;
14
+ private emitUpdate;
15
+ constructor(array?: ListCell[]);
16
+ setDefault(array: ListCell[]): void;
17
+ revert(): void;
18
+ set(array: ListCell[]): void;
19
+ append(data: ListCell): void;
20
+ /**
21
+ * @description Перемещает элемент с позиции I, на позицию J
22
+ * */
23
+ moveTo(i: number, j: number): void;
24
+ isOutOfRange(position: number): boolean;
25
+ }
package/dist/index.d.ts CHANGED
@@ -44,6 +44,7 @@ import ProcessWrap from "./classes/ProcessWrap";
44
44
  import { ApplicationManager, Manager, useManagerState } from "./classes/ApplicationManager";
45
45
  import NotificationSystem from "./classes/NotificationSystem";
46
46
  import List from "./classes/List";
47
+ import ListConfig from "./classes/new/ListConfig";
47
48
  import Communication from "./classes/Communication";
48
49
  import { clickOutside, requestHandler } from "./utils";
49
50
  import { prettyDate, prettyDateWithTime } from "./utils/prettyDate";
@@ -61,6 +62,7 @@ import useCustomerState from "./hooks/use-customer-state";
61
62
  import { useTableRequest, useTableState } from "./classes/table/Table";
62
63
  import { useCommunication } from "./classes/Communication";
63
64
  import useFormRequest from "./hooks/use-form-request";
65
+ import { useProvideList } from "./classes/new/List";
64
66
  import { SYMBOL_ROW } from "./classes/table/Table";
65
67
  export {
66
68
  /**
@@ -71,12 +73,12 @@ clickOutside,
71
73
  * @deprecated
72
74
  * */
73
75
  requestHandler, useSocket, setupSocket, };
74
- export { ApplicationManager, Manager, NotificationSystem, Table, CoreError, List, ProcessWrap, ListCell, Communication };
76
+ export { ApplicationManager, Manager, NotificationSystem, Table, CoreError, List, ProcessWrap, ListCell, Communication, ListConfig };
75
77
  export { fileService, processWizardService, viewService, authService, dataService, communicationService, metadataService, invitationService, ruleValidationService, openService };
76
78
  /**
77
79
  * HOOKS
78
80
  * */
79
- export { useFormMetadata, useFormAction, useFormLabel, useFormRequestData, useListFilter, useListOrder, useListState, useCustomerState, useTableState, useTableRequest, useCommunication, useFormRequest, useManagerState };
81
+ export { useFormMetadata, useFormAction, useFormLabel, useFormRequestData, useListFilter, useListOrder, useListState, useCustomerState, useTableState, useTableRequest, useCommunication, useFormRequest, useManagerState, useProvideList };
80
82
  /**
81
83
  * All components binding with VueComponents must have name started with Widget.
82
84
  * */
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * eservices-core v1.0.465
3
- * (c) 2022 ESERVICES
2
+ * eservices-core v1.0.467
3
+ * (c) 2023 ESERVICES
4
4
  */
5
5
  'use strict';
6
6
 
@@ -2750,6 +2750,56 @@ function useTableRequest(table, options) {
2750
2750
  var css_248z$j = "*{\r\n --extra-fast :0.1s;\r\n --fast :0.2s;\r\n --medium :0.3s;\r\n\r\n box-sizing: border-box;\r\n --primary: #3949ab\r\n}\r\nhtml, body, #app{\r\n height: 100%;\r\n}\r\nbody{\r\n margin: 0;\r\n}\r\nul{\r\n text-align: left;\r\n}\r\n.flex{\r\n display: flex;\r\n}\r\n.flex_column{\r\n display: flex;\r\n flex-direction: column;\r\n}\r\n.flex_center{\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n}\r\n.flex_full{\r\n flex-grow: 1;\r\n}\r\n.grid{\r\n display: grid;\r\n}\r\n.link{\r\n text-decoration: var(--link-decoration);\r\n color: var(--link-color);\r\n}\r\n.link_hover-underline:hover,\r\n.link_hover_underline:hover{\r\n text-decoration: underline;\r\n}\r\n.link_full{\r\n position: absolute;\r\n height: 100%;\r\n width: 100%;\r\n left: 0;\r\n top:0;\r\n}\r\n.text_sm{\r\n font-weight: 400;\r\n font-size: 12px;\r\n line-height: 16px;\r\n}\r\n.text_md{\r\n font-size: 14px;\r\n line-height: 20px;\r\n}\r\n.text_lg{\r\n font-size: 16px;\r\n line-height: 24px;\r\n}\r\n.text_size_xxl{\r\n font-size: 18px;\r\n line-height: 25px;\r\n}\r\n.text_center{\r\n text-align: center;\r\n}\r\n.text_bold{\r\n font-weight: 600;\r\n}\r\n.text_nowrap{\r\n white-space: nowrap;\r\n}\r\n.text_right{\r\n text-align: right;\r\n}\r\n.text_center{\r\n text-align: center;\r\n}\r\n.text_size_sm{\r\n font-size: 12px;\r\n line-height: 130%;\r\n}\r\n.text_size_md{\r\n font-size: 14px;\r\n line-height: 140%;\r\n}\r\n.text_error{\r\n color: red;\r\n}\r\n.title_sm{\r\n font-weight: 600;\r\n font-size: 16px;\r\n line-height: 24px;\r\n}\r\n.title_md{\r\n font-weight: 600;\r\n font-size: 24px;\r\n line-height: 32px;\r\n}\r\n.title_lg{\r\n font-weight: bold;\r\n font-size: 32px;\r\n line-height: 48px;\r\n}\r\n.title_xxl{\r\n font-weight: bold;\r\n font-size: 48px;\r\n line-height: 64px;\r\n}\r\n.cursor_pointer{\r\n cursor: pointer;\r\n}\r\n.cursor_default{\r\n cursor: default;\r\n}\r\nbutton{\r\n outline: none;\r\n user-select: none;\r\n\r\n transition: background-color 0.2s;\r\n}\r\n.button{\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n\r\n outline: none;\r\n}\r\n.button_main{\r\n background-color: var(--button-background);\r\n color: var(--button-color);\r\n}\r\n.button_main:focus{\r\n background-color: var(--button-background-active);\r\n}\r\n.button_main:active{\r\n background-color: var(--button-background-active);\r\n}\r\n.button_white{\r\n background-color: var(--white);\r\n color: var(--main);\r\n}\r\n.button_sm{\r\n height: 30px;\r\n width: 130px;\r\n}\r\n.button_shadow{\r\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);\r\n}\r\n.button_lg{\r\n font-weight: 600;\r\n font-size: 16px;\r\n line-height: 24px;\r\n\r\n padding: 12px 0;\r\n height: 50px;\r\n width: 200px;\r\n}\r\n.button_disabled{\r\n background-color: var(--gray-1);\r\n}\r\n.button_resolve{\r\n background-color: var(--main);\r\n color: var(--white);\r\n border-radius: 2px;\r\n}\r\n.button_reject{\r\n border: 1px solid var(--color-dark);\r\n border-radius: 2px;\r\n}\r\n.button_md{\r\n height: 30px;\r\n padding: 0 10px;\r\n\r\n min-width: 80px;\r\n}\r\n.button_disabled{\r\n background-color: var(--button-disabled-background-color);\r\n cursor: pointer !important;\r\n}\r\n*{\r\n\r\n\r\n\r\n}\r\n.color_main,\r\n.color__text_main{\r\n color: var(--main);\r\n}\r\n.color__text_black{\r\n color: var(--black-1);\r\n}\r\n.color__text_gray{\r\n color: var(--text-gray);\r\n}\r\n.color__text_red,\r\n.color_red{\r\n color: var(--red);\r\n}\r\n.color__text_white{\r\n color: var(--white);\r\n}\r\n.background_orange{\r\n background-color: var(--orange)\r\n}\r\n.background_red{\r\n background-color: var(--red)\r\n}\r\n.color_dark{\r\n color: var(--dark);\r\n}\r\n.color_light{\r\n color: var(--light);\r\n}\r\n.move-vertical-enter-active,\r\n.move-vertical-leave-active {\r\n transition: transform 0.5s ease;\r\n}\r\n.move-vertical-enter-from,\r\n.move-vertical-leave-to {\r\n transform: translateY(-10px);\r\n}\r\n.move-horizontal-enter-active,\r\n.move-horizontal-leave-active {\r\n transition: transform 0.5s;\r\n}\r\n.move-horizontal-enter-from,\r\n.move-horizontal-leave-to {\r\n transform: translateX(-40px);\r\n}\r\n.modal-vertical-enter-active , .modal-vertical-leave-active, .modal-default {\r\n transition: transform var(--medium);\r\n}\r\n.modal-vertical-enter-active .modal-default, .modal-vertical-leave-active .modal-default{\r\n transform: translateY(-100px);\r\n}\r\n.move-vertical-fast-enter-active,\r\n.move-vertical-fast-leave-active {\r\n transition: transform var(--fast) ease;\r\n}\r\n.move-vertical-fast-enter-from,\r\n.move-vertical-fast-leave-to {\r\n transform: translateY(-20px);\r\n}\r\n.slide-up-enter-active,\r\n.slide-up-leave-active {\r\n transition: transform var(--fast) ease, opacity var(--fast);\r\n\r\n}\r\n.slide-up-enter-from,\r\n.slide-up-leave-to {\r\n transform: translateY(20px);\r\n opacity: 0;\r\n}\r\n.opacity-enter-active,\r\n.opacity-leave-active {\r\n transition: opacity var(--fast) ease;\r\n}\r\n.opacity-enter-from,\r\n.opacity-leave-to {\r\n opacity: 0;\r\n}\r\n.modal-default{\r\n background-color: var(--white);\r\n position: relative;\r\n z-index: 1;\r\n\r\n width: auto;\r\n\r\n background: var(--white);\r\n border-radius: var(--border-radius);\r\n\r\n\r\n}\r\n.modal-default__head{\r\n background-color: var(--black-1);\r\n text-align: center;\r\n padding: 5px 0;\r\n border-radius: 6px 6px 0 0;\r\n}\r\n.modal-default__body{\r\n gap: 20px;\r\n padding: 0 15px;\r\n}\r\n.modal-default__foot{\r\n padding: 30px 0;\r\n display: flex;\r\n justify-content: center;\r\n}\r\n.tooltip-help-elem{}\r\n.hint-tooltip{\r\n display: block;\r\n\r\n z-index: 222;\r\n margin: auto;\r\n pointer-events: none;\r\n\r\n box-shadow: 0 0 0 9999px rgba(0,0,0,0.5);\r\n}\r\n.tooltip-help-circle-in,\r\n.tooltip-help-circle-out{\r\n border-radius: 50%;\r\n}\r\n.tooltip-help-undefined{\r\n border-radius: 50px;\r\n}\r\n.tooltip-card{\r\n position: fixed;\r\n z-index: 315;\r\n\r\n display: flex;\r\n flex-direction: column;\r\n\r\n width: 480px;\r\n height: fit-content;\r\n\r\n margin: auto;\r\n\r\n border-radius: 10px;\r\n background-color: var(--hint-background);\r\n\r\n cursor: default;\r\n}\r\n.tooltip-card__foot{\r\n display: flex;\r\n justify-content: space-between;\r\n align-items: center;\r\n\r\n background-color: var(--hint-background-navigation);\r\n border-radius: 10px;\r\n\r\n padding: 20px ;\r\n}\r\n.tooltip-card__foot-current{\r\n font-weight: 600;\r\n font-size: 20px;\r\n line-height: 24px;\r\n\r\n color: var(--white);\r\n}\r\n.tooltip-card__body{\r\n position: relative;\r\n display: flex;\r\n flex-direction: column;\r\n\r\n gap: 8px;\r\n\r\n padding: 20px 20px 10px 20px;\r\n}\r\n.tooltip-card__body-title{\r\n font-weight: bold;\r\n font-size: 20px;\r\n line-height: 24px;\r\n\r\n color: var(--white);\r\n}\r\n.tooltip-card__body-text{\r\n font-size: 16px;\r\n line-height: 24px;\r\n\r\n color: var(--white);\r\n}\r\n.tooltip-card__foot-button_back{\r\n background-color: var(--main-1);\r\n}\r\n.tooltip-card__foot-button_next{\r\n background-color: var(--hint);\r\n}\r\n.tooltip-card__body-close{\r\n position: absolute;\r\n right: 22px;\r\n top: 12px;\r\n width: 20px;\r\n height: 16px;\r\n opacity: 0.3;\r\n\r\n cursor: pointer;\r\n}\r\n.tooltip-card__body-close:hover {\r\n opacity: 1;\r\n}\r\n.tooltip-card__body-close:before,\r\n.tooltip-card__body-close:after {\r\n position: absolute;\r\n left: 15px;\r\n content: ' ';\r\n height: 21px;\r\n width: 2px;\r\n background-color: white;\r\n}\r\n.tooltip-card__body-close:before {\r\n transform: rotate(45deg);\r\n}\r\n.tooltip-card__body-close:after {\r\n transform: rotate(-45deg);\r\n}\r\n.tooltip-card-container-wrap{\r\n pointer-events: none;\r\n position: absolute;\r\n left: 0;\r\n top:0;\r\n\r\n z-index: 123132;\r\n\r\n height: 100%;\r\n width: 100%;\r\n}\r\n.tooltip-card-container-wrap>div{\r\n\r\n height: 100%;\r\n width: 100%;\r\n\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.tester-box-tooltip{\r\n pointer-events: all;\r\n}\r\n.position_relative{\r\n position: relative;\r\n}\r\n.position_absolute{\r\n position: absolute;\r\n}\r\n.gap_5{\r\n gap: 5px;\r\n}\r\n.gap_10{\r\n gap: 10px;\r\n}\r\n.gap_20{\r\n gap: 20px;\r\n}\r\n.margin-0{\r\n margin: 0;\r\n}\r\n.widget-input{\r\n\tbackground-color: var(--input-background);\r\n\tborder: var(--input-border);\r\n\tborder-radius: var(--input-border-radius);\r\n\tcolor: var(--input-color);\r\n}\r\n.widget-input:disabled{\r\n\tbackground-color: var(--input-background-disabled);\r\n\tborder: var(--input-border-disabled);\r\n}\r\n.widget-input[error=\"true\"] {\r\n\tborder: var(--input-border-error);\r\n}\r\n.widget-input::placeholder{\r\n\tcolor: var(--input-placeholder-color);\r\n}\r\n.widget-input:disabled::placeholder{\r\n\tcolor: var(--input-placeholder-color-disabled);\r\n}\r\n.input_error{\r\n\tborder: 1px solid red !important;\r\n}\r\n.input_size_md{\r\n\theight: var(--input-height);\r\n}\r\n.input-title{\r\n\tfont-size: 12px;\r\n\tline-height: 16px;\r\n\tcolor: #667085;\r\n\r\n\tmargin: 4px 0;\r\n}\r\n.widget-table{\r\n border-collapse: collapse;\r\n}\r\n.widget-table_mini{\r\n\r\n}\r\n.widget-table_mini p{\r\n margin: 0;\r\n}\r\n.widget-table_mini{\r\n\r\n}\r\n.list-cell-link>a{\r\n position: absolute;\r\n left: 0;\r\n top:0;\r\n z-index: 1;\r\n height: 100%;\r\n width: 100%;\r\n\r\n cursor: pointer;\r\n}\r\n.list-cell-link>p{\r\n font-weight: 500;\r\n}\r\n.widget-table__cell{\r\n padding: 0 20px;\r\n font-weight: 400;\r\n font-size: 14px;\r\n line-height: 19px;\r\n\r\n color: #4F4F4F;\r\n}\r\n.widget-table-cell_use{\r\n cursor: pointer;\r\n}\r\n.widget-table-cell_select{\r\n width: min-content ;\r\n}\r\n.table-cell-toggle{\r\n --border-color: black;\r\n position: relative;\r\n display: grid;\r\n place-content: center;\r\n border: 1px solid var(--border-color);\r\n height: 15px;\r\n aspect-ratio: 1 / 1;\r\n border-radius: 50%;\r\n}\r\n.table-cell-toggle_active:after {\r\n content: \"\";\r\n border-radius: 50%;\r\n background-color: var(--border-color);\r\n height: 9px;\r\n aspect-ratio: 1/1;\r\n}\r\n.widget-list-cell-text {\r\n white-space: nowrap;\r\n}\r\n";
2751
2751
  styleInject(css_248z$j);
2752
2752
 
2753
+ /**
2754
+ * @description Используется для работы с конфигурацией списка. При работе делает копию, после чего её можно будет установить
2755
+ * как конфигурацию по умолчанию
2756
+ * */
2757
+ class ListConfig extends EventEmitter {
2758
+ constructor(array = []) {
2759
+ super();
2760
+ this.array = [];
2761
+ /**
2762
+ * @description Является дефолтной конфигурацией, используется для возвращению
2763
+ * */
2764
+ this.defaultArray = [];
2765
+ this.setDefault(array);
2766
+ }
2767
+ emitUpdate() {
2768
+ this.emit(ListConfig.EVENT_DATA, this.array);
2769
+ }
2770
+ setDefault(array) {
2771
+ const copy = JSON.parse(JSON.stringify(array));
2772
+ this.defaultArray = copy;
2773
+ this.set(copy);
2774
+ }
2775
+ revert() {
2776
+ this.set(this.defaultArray);
2777
+ }
2778
+ set(array) {
2779
+ this.array = array;
2780
+ this.emitUpdate();
2781
+ }
2782
+ append(data) {
2783
+ this.array.push(data);
2784
+ this.emitUpdate();
2785
+ }
2786
+ /**
2787
+ * @description Перемещает элемент с позиции I, на позицию J
2788
+ * */
2789
+ moveTo(i, j) {
2790
+ if (this.isOutOfRange(i) || this.isOutOfRange(j))
2791
+ throw new Error(`Provided position is out of range: ${i}, ${j}`);
2792
+ const item = this.array[i];
2793
+ this.array.splice(i, 1);
2794
+ this.array.splice(j, 0, item);
2795
+ this.emitUpdate();
2796
+ }
2797
+ isOutOfRange(position) {
2798
+ return !(position >= 0 && position < this.array.length);
2799
+ }
2800
+ }
2801
+ ListConfig.EVENT_DATA = 'list-config:update';
2802
+
2753
2803
  var _primaryKeys, _wait, _readData, _saveData;
2754
2804
  const LIST_ROW_KEY = '_______LIST_______ROW_______INDEX________NAME_______';
2755
2805
  class List$1 extends EventEmitter {
@@ -3021,6 +3071,29 @@ function useListState(list) {
3021
3071
  state.wait = list.wait;
3022
3072
  });
3023
3073
  return state;
3074
+ }
3075
+ /**
3076
+ * Использование гибкого механизма для работы с конфигурацию.
3077
+ * */
3078
+ function useProvideList(list, defaultConfig) {
3079
+ const PROVIDE_NAME = 'list-flex-config';
3080
+ const data = vue.inject(PROVIDE_NAME);
3081
+ if (data)
3082
+ return data;
3083
+ if (!list || !defaultConfig)
3084
+ throw new Error(`Hook useProvideList has two required params: list and defaultConfig`);
3085
+ const reactiveConfig = vue.reactive(defaultConfig);
3086
+ const listConfigurator = new ListConfig(defaultConfig);
3087
+ listConfigurator.on(ListConfig.EVENT_DATA, (a) => reactiveConfig.splice(0, reactiveConfig.length, ...a));
3088
+ function setConfig(newConfig) {
3089
+ reactiveConfig.splice(0, reactiveConfig.length, ...newConfig);
3090
+ }
3091
+ const returnedValues = {
3092
+ config: vue.readonly(reactiveConfig), list,
3093
+ setConfig
3094
+ };
3095
+ vue.provide(PROVIDE_NAME, returnedValues);
3096
+ return returnedValues;
3024
3097
  }
3025
3098
 
3026
3099
  class Table extends List$1 {
@@ -5413,6 +5486,7 @@ exports.ApplicationManager = ApplicationManager;
5413
5486
  exports.Communication = Communication;
5414
5487
  exports.CoreError = CoreError;
5415
5488
  exports.List = List$2;
5489
+ exports.ListConfig = ListConfig;
5416
5490
  exports.Manager = Manager;
5417
5491
  exports.ModalValidation = script$5;
5418
5492
  exports.NotificationSystem = NotificationSystem;
@@ -5459,6 +5533,7 @@ exports.useListFilter = useListFilter;
5459
5533
  exports.useListOrder = useListOrder;
5460
5534
  exports.useListState = useListState$1;
5461
5535
  exports.useManagerState = useManagerState;
5536
+ exports.useProvideList = useProvideList;
5462
5537
  exports.useSocket = useSocket;
5463
5538
  exports.useTableRequest = useTableRequest;
5464
5539
  exports.useTableState = useTableState;
@@ -17,21 +17,21 @@ export default class authService {
17
17
  /**
18
18
  * @deprecated
19
19
  * */
20
- static login(values: LoginValues): Promise<unknown>;
20
+ static login(values: LoginValues): Promise<any>;
21
21
  /**
22
22
  * @deprecated
23
23
  * */
24
- static registration(values: any): Promise<unknown>;
24
+ static registration(values: any): Promise<any>;
25
25
  static parseProcessAnswer(answer: IRegistrationAnswer): IRegistrationAnswer;
26
- static startRegistrationProcess(values: any): Promise<void | IRegistrationAnswer>;
27
- static confirmPhoneRegistrationProcess(values: any): Promise<void | IRegistrationAnswer>;
28
- static confirmEmailRegistrationProcess(values: any): Promise<void | IRegistrationAnswer>;
29
- static finishEmailRegistrationProcess(values: any): Promise<void | IRegistrationAnswer>;
26
+ static startRegistrationProcess(values: any): Promise<IRegistrationAnswer>;
27
+ static confirmPhoneRegistrationProcess(values: any): Promise<IRegistrationAnswer>;
28
+ static confirmEmailRegistrationProcess(values: any): Promise<IRegistrationAnswer>;
29
+ static finishEmailRegistrationProcess(values: any): Promise<IRegistrationAnswer>;
30
30
  /**
31
31
  * @description Steps of registration process are the same. Current method provide one requestInterface for all
32
32
  * steps.
33
33
  * */
34
- static requestStepRegistrationProcess(name: string, values: any): Promise<void | IRegistrationAnswer>;
34
+ static requestStepRegistrationProcess(name: string, values: any): Promise<IRegistrationAnswer>;
35
35
  static startLoginProcess(values: any): Promise<ILoginAnswer>;
36
36
  static loginWithPassword(values: any): Promise<ILoginAnswer>;
37
37
  static loginWithOtpCode(values: any): Promise<ILoginAnswer>;
@@ -0,0 +1,11 @@
1
+ import authService from "./AuthService";
2
+ import dataService from "./data-service";
3
+ import FileService from "./FileService";
4
+ import actionService from "./action-service";
5
+ declare const _default: {
6
+ authService: typeof authService;
7
+ dataService: typeof dataService;
8
+ fileService: typeof FileService;
9
+ actionService: typeof actionService;
10
+ };
11
+ export default _default;
@@ -1,45 +1,37 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
- message: {
2
+ userName: {
3
3
  type: StringConstructor;
4
4
  required: true;
5
5
  };
6
- status: {
7
- type: NumberConstructor;
8
- required: true;
9
- };
10
- statusName: {
6
+ content: {
11
7
  type: StringConstructor;
12
8
  required: true;
13
9
  };
14
- title: {
10
+ date: {
15
11
  type: StringConstructor;
16
12
  required: true;
17
13
  };
18
- name: {
19
- type: StringConstructor;
14
+ myMessage: {
15
+ type: BooleanConstructor;
20
16
  required: true;
21
17
  };
22
18
  }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
23
19
  [key: string]: any;
24
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
- message: {
20
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ userName: {
26
22
  type: StringConstructor;
27
23
  required: true;
28
24
  };
29
- status: {
30
- type: NumberConstructor;
31
- required: true;
32
- };
33
- statusName: {
25
+ content: {
34
26
  type: StringConstructor;
35
27
  required: true;
36
28
  };
37
- title: {
29
+ date: {
38
30
  type: StringConstructor;
39
31
  required: true;
40
32
  };
41
- name: {
42
- type: StringConstructor;
33
+ myMessage: {
34
+ type: BooleanConstructor;
43
35
  required: true;
44
36
  };
45
37
  }>>, {}>;
@@ -0,0 +1,22 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ list: {
3
+ type: ArrayConstructor;
4
+ required: true;
5
+ };
6
+ currentPersonId: {
7
+ type: NumberConstructor;
8
+ required: true;
9
+ };
10
+ }, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
11
+ [key: string]: any;
12
+ }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
+ list: {
14
+ type: ArrayConstructor;
15
+ required: true;
16
+ };
17
+ currentPersonId: {
18
+ type: NumberConstructor;
19
+ required: true;
20
+ };
21
+ }>>, {}>;
22
+ export default _default;