eservices-core 1.0.484 → 1.0.485
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/TEST/index.d.ts +5 -0
- package/dist/classes/Form.d.ts +78 -0
- package/dist/classes/RenderForm.d.ts +37 -0
- package/dist/classes/Table.d.ts +94 -0
- package/dist/classes/ViewForm/ViewForm.d.ts +8 -0
- package/dist/classes/ViewForm/container-form-element-render.d.ts +1 -0
- package/dist/classes/ViewForm/container-form-render.d.ts +1 -0
- package/dist/classes/ViewForm/container-render.d.ts +1 -0
- package/dist/classes/ViewForm/getInputComponent.d.ts +1 -0
- package/dist/classes/ViewForm/render-form-body.d.ts +1 -0
- package/dist/classes/ViewForm/render-form-section.d.ts +1 -0
- package/dist/classes/ViewForm/render-form.d.ts +2 -0
- package/dist/classes/ViewForm/render-input.d.ts +8 -0
- package/dist/classes/ViewForm/render.d.ts +8 -0
- package/dist/classes/index.d.ts +33 -0
- package/dist/classes/new/List.d.ts +1 -0
- package/dist/index.js +1 -1
- package/dist/{frontend/core/services/auth-service.d.ts → services/AuthService.d.ts} +7 -7
- package/dist/services/index.d.ts +11 -0
- package/dist/{frontend/core/widgets/modals/modal-validation/modal-validation-item.vue.d.ts → widgets/communication/communication-chat-message.vue.d.ts} +11 -19
- package/dist/widgets/communication/communication-chat.vue.d.ts +22 -0
- package/dist/widgets/communication/communication-head-create.vue.d.ts +14 -0
- package/dist/{frontend/core/widgets/buttons/WidgetButton.vue.d.ts → widgets/communication/communication-head.vue.d.ts} +8 -19
- package/dist/{frontend/core/widgets/modals/modal-wrap.vue.d.ts → widgets/communication/communication-input.vue.d.ts} +5 -5
- package/dist/{frontend/core/widgets/tables/widget-table-form.vue.d.ts → widgets/communication/widget-communication.vue.d.ts} +18 -20
- package/dist/{frontend/core/widgets/modals/modal-validation/modal-validation.vue.d.ts → widgets/containers/container-input-list.vue.d.ts} +1 -1
- package/dist/{frontend/core/widgets/cards/widget-card.vue.d.ts → widgets/forms/FormSection.vue.d.ts} +1 -1
- package/dist/widgets/interface/interface-container.vue.d.ts +40 -0
- package/dist/{frontend/core/widgets/list/widget-list-head.vue.d.ts → widgets/interface/interface-header.vue.d.ts} +5 -5
- package/dist/{frontend/core/widgets/breadcrumbs/widget-breadcrumb-item.vue.d.ts → widgets/interface/interface-navigation-cell.vue.d.ts} +7 -7
- package/dist/{frontend/core/widgets/list/widget-list.vue.d.ts → widgets/interface/interface-navigation-row.vue.d.ts} +13 -21
- package/dist/{frontend/core/widgets/breadcrumbs/widget-breadcrumbs.vue.d.ts → widgets/interface/interface-navigation.vue.d.ts} +3 -3
- package/dist/{frontend/core/widgets/shadow-form/WidgetShadowForm.vue.d.ts → widgets/interface/interface-user-card.vue.d.ts} +3 -3
- package/dist/widgets/interface/interface-user-popup.vue.d.ts +16 -0
- package/dist/{frontend/core/widgets/forms/naomi/WidgetFormInfo.vue.d.ts → widgets/interface/user-popup-link.vue.d.ts} +14 -12
- package/dist/{frontend/core/widgets/spinner/widget-loader.vue.d.ts → widgets/interface/user-popup-organization-item.vue.d.ts} +9 -9
- package/dist/widgets/interface/user-popup-switch-organization.vue.d.ts +24 -0
- package/dist/widgets/interface/user-popup-switch-person.vue.d.ts +22 -0
- package/dist/widgets/tables/WidgetCell.vue.d.ts +18 -0
- package/dist/widgets/tables/WidgetList.vue.d.ts +24 -0
- package/dist/widgets/tables/WidgetListHead.vue.d.ts +15 -0
- package/dist/widgets/tables/getCell.d.ts +4 -0
- package/dist/widgets/tables/index.d.ts +6 -0
- 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
- package/dist/widgets/tables/table-with-form/widget-table-controller.vue.d.ts +25 -0
- package/dist/widgets/tables/table-with-form/widget-table-form.vue.d.ts +22 -0
- 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
- package/dist/{frontend/core/widgets/inputs/widget-input-check.vue.d.ts → widgets/tables/table-with-form/widget-table.vue.d.ts} +16 -8
- package/dist/{frontend/core/widgets/buttons/multi-button/WidgetMultiButton.vue.d.ts → widgets/wizard/WidgetWizard.vue.d.ts} +9 -9
- package/package.json +1 -1
- package/dist/frontend/core/classes/ApplicationManager.d.ts +0 -61
- package/dist/frontend/core/classes/CoreError.d.ts +0 -42
- package/dist/frontend/core/classes/List.d.ts +0 -101
- package/dist/frontend/core/classes/NotificationSystem.d.ts +0 -39
- package/dist/frontend/core/classes/ProcessWrap.d.ts +0 -8
- package/dist/frontend/core/classes/_List.d.ts +0 -66
- package/dist/frontend/core/classes/new/List.d.ts +0 -119
- package/dist/frontend/core/classes/new/Table.d.ts +0 -27
- package/dist/frontend/core/classes/new/get-table-row.d.ts +0 -8
- package/dist/frontend/core/classes/table/Table.d.ts +0 -70
- package/dist/frontend/core/classes/table/get-table-row.d.ts +0 -8
- package/dist/frontend/core/config.d.ts +0 -14
- package/dist/frontend/core/hooks/use-customer-state.d.ts +0 -24
- package/dist/frontend/core/hooks/use-form-action.d.ts +0 -12
- package/dist/frontend/core/hooks/use-form-label.d.ts +0 -8
- package/dist/frontend/core/hooks/use-form-metadata.d.ts +0 -2
- package/dist/frontend/core/hooks/use-form-request-data.d.ts +0 -13
- package/dist/frontend/core/index.d.ts +0 -185
- package/dist/frontend/core/mixins/index.d.ts +0 -4
- package/dist/frontend/core/new/new-import.d.ts +0 -4
- package/dist/frontend/core/services/FileService.d.ts +0 -7
- package/dist/frontend/core/services/action-service.d.ts +0 -22
- package/dist/frontend/core/services/client-service.d.ts +0 -16
- package/dist/frontend/core/services/communication-service.d.ts +0 -64
- package/dist/frontend/core/services/data-service.d.ts +0 -54
- package/dist/frontend/core/services/invitation-service.d.ts +0 -5
- package/dist/frontend/core/services/metadata-service.d.ts +0 -5
- package/dist/frontend/core/services/open-service.d.ts +0 -3
- package/dist/frontend/core/services/presentation-service.d.ts +0 -9
- package/dist/frontend/core/services/process-wizard-service.d.ts +0 -30
- package/dist/frontend/core/services/rule-validation-service.d.ts +0 -4
- package/dist/frontend/core/services/view-service.d.ts +0 -19
- package/dist/frontend/core/socket/use-socket.d.ts +0 -4
- package/dist/frontend/core/styles/index.d.ts +0 -2
- package/dist/frontend/core/styles/types.d.ts +0 -164
- package/dist/frontend/core/types/index.d.ts +0 -103
- package/dist/frontend/core/types/metadata-types.d.ts +0 -19
- package/dist/frontend/core/useMethods/index.d.ts +0 -5
- package/dist/frontend/core/useMethods/useInput.d.ts +0 -15
- package/dist/frontend/core/utils/Filter.d.ts +0 -17
- package/dist/frontend/core/utils/GraphQL/index.d.ts +0 -21
- package/dist/frontend/core/utils/Journal.d.ts +0 -34
- package/dist/frontend/core/utils/Request.d.ts +0 -4
- package/dist/frontend/core/utils/clickOutside.d.ts +0 -2
- package/dist/frontend/core/utils/firstChapterToLowerCase.d.ts +0 -5
- package/dist/frontend/core/utils/getPropFromObject.d.ts +0 -15
- package/dist/frontend/core/utils/group-array-by-field.d.ts +0 -29
- package/dist/frontend/core/utils/index.d.ts +0 -21
- package/dist/frontend/core/utils/prettyDate.d.ts +0 -13
- package/dist/frontend/core/utils/requestHandler.d.ts +0 -7
- package/dist/frontend/core/utils/runPromiseQueue.d.ts +0 -1
- package/dist/frontend/core/utils/static-link.d.ts +0 -6
- package/dist/frontend/core/utils/uuid.d.ts +0 -1
- package/dist/frontend/core/utils/values-to-upper-case.d.ts +0 -5
- package/dist/frontend/core/widgets/buttons/index.d.ts +0 -5
- package/dist/frontend/core/widgets/containers/index.d.ts +0 -6
- package/dist/frontend/core/widgets/errorSystem/default/WidgetError.vue.d.ts +0 -27
- package/dist/frontend/core/widgets/errorSystem/default/WidgetErrorGroup.vue.d.ts +0 -17
- package/dist/frontend/core/widgets/errorSystem/default/WidgetNotificationSystem.vue.d.ts +0 -4
- package/dist/frontend/core/widgets/errorSystem/index.d.ts +0 -4
- package/dist/frontend/core/widgets/forms/index.d.ts +0 -6
- package/dist/frontend/core/widgets/forms/naomi/WidgetForm.vue.d.ts +0 -65
- package/dist/frontend/core/widgets/icons/index.d.ts +0 -4
- package/dist/frontend/core/widgets/index.d.ts +0 -40
- package/dist/frontend/core/widgets/inputs/default-style/index.d.ts +0 -7
- package/dist/frontend/core/widgets/inputs/index.d.ts +0 -15
- package/dist/frontend/core/widgets/inputs/line-style/index.d.ts +0 -4
- package/dist/frontend/core/widgets/inputs/naomi-style/index.d.ts +0 -4
- package/dist/frontend/core/widgets/new/widget-table-form.vue.d.ts +0 -36
- package/dist/frontend/core/widgets/new/widget-table-row.vue.d.ts +0 -11
- package/dist/frontend/core/widgets/new/widget-table.vue.d.ts +0 -63
- package/dist/frontend/core/widgets/section/widget-section.vue.d.ts +0 -14
- package/dist/frontend/core/widgets/spinner/WidgetSpinner.vue.d.ts +0 -14
- package/dist/frontend/core/widgets/spinner/index.d.ts +0 -4
- package/dist/frontend/core/widgets/tables/widget-table-row.vue.d.ts +0 -12
- package/dist/frontend/core/widgets/tables/widget-table.vue.d.ts +0 -52
|
@@ -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 @@
|
|
|
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,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;
|
package/dist/index.js
CHANGED
|
@@ -17,21 +17,21 @@ export default class authService {
|
|
|
17
17
|
/**
|
|
18
18
|
* @deprecated
|
|
19
19
|
* */
|
|
20
|
-
static login(values: LoginValues): Promise<
|
|
20
|
+
static login(values: LoginValues): Promise<any>;
|
|
21
21
|
/**
|
|
22
22
|
* @deprecated
|
|
23
23
|
* */
|
|
24
|
-
static registration(values: any): Promise<
|
|
24
|
+
static registration(values: any): Promise<any>;
|
|
25
25
|
static parseProcessAnswer(answer: IRegistrationAnswer): IRegistrationAnswer;
|
|
26
|
-
static startRegistrationProcess(values: any): Promise<
|
|
27
|
-
static confirmPhoneRegistrationProcess(values: any): Promise<
|
|
28
|
-
static confirmEmailRegistrationProcess(values: any): Promise<
|
|
29
|
-
static finishEmailRegistrationProcess(values: any): Promise<
|
|
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<
|
|
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
|
-
|
|
2
|
+
userName: {
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
type: NumberConstructor;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
statusName: {
|
|
6
|
+
content: {
|
|
11
7
|
type: StringConstructor;
|
|
12
8
|
required: true;
|
|
13
9
|
};
|
|
14
|
-
|
|
10
|
+
date: {
|
|
15
11
|
type: StringConstructor;
|
|
16
12
|
required: true;
|
|
17
13
|
};
|
|
18
|
-
|
|
19
|
-
type:
|
|
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,
|
|
25
|
-
|
|
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
|
-
|
|
30
|
-
type: NumberConstructor;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
statusName: {
|
|
25
|
+
content: {
|
|
34
26
|
type: StringConstructor;
|
|
35
27
|
required: true;
|
|
36
28
|
};
|
|
37
|
-
|
|
29
|
+
date: {
|
|
38
30
|
type: StringConstructor;
|
|
39
31
|
required: true;
|
|
40
32
|
};
|
|
41
|
-
|
|
42
|
-
type:
|
|
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;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
handleCreate: {
|
|
3
|
+
type: FunctionConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
handleCreate: {
|
|
10
|
+
type: FunctionConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>>, {}>;
|
|
14
|
+
export default _default;
|
|
@@ -3,39 +3,28 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3
3
|
type: StringConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
handleCreate: {
|
|
7
7
|
type: FunctionConstructor;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
showCreate: {
|
|
11
11
|
type: BooleanConstructor;
|
|
12
|
-
required:
|
|
13
|
-
};
|
|
14
|
-
default: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
required: false;
|
|
12
|
+
required: true;
|
|
17
13
|
};
|
|
18
14
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
15
|
[key: string]: any;
|
|
20
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
16
|
+
}>, 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
17
|
title: {
|
|
22
18
|
type: StringConstructor;
|
|
23
19
|
required: true;
|
|
24
20
|
};
|
|
25
|
-
|
|
21
|
+
handleCreate: {
|
|
26
22
|
type: FunctionConstructor;
|
|
27
23
|
required: true;
|
|
28
24
|
};
|
|
29
|
-
|
|
25
|
+
showCreate: {
|
|
30
26
|
type: BooleanConstructor;
|
|
31
|
-
required:
|
|
32
|
-
};
|
|
33
|
-
default: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
required: false;
|
|
27
|
+
required: true;
|
|
36
28
|
};
|
|
37
|
-
}>>, {
|
|
38
|
-
wait: boolean;
|
|
39
|
-
default: boolean;
|
|
40
|
-
}>;
|
|
29
|
+
}>>, {}>;
|
|
41
30
|
export default _default;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
type:
|
|
2
|
+
handleSend: {
|
|
3
|
+
type: FunctionConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
6
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
9
|
-
|
|
10
|
-
type:
|
|
8
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
handleSend: {
|
|
10
|
+
type: FunctionConstructor;
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
}>>, {}>;
|
|
@@ -1,40 +1,38 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
3
|
-
type:
|
|
2
|
+
entity: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
4
|
required: true;
|
|
5
5
|
};
|
|
6
|
-
|
|
7
|
-
type:
|
|
6
|
+
targetCode: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
8
|
required: true;
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
type:
|
|
10
|
+
title: {
|
|
11
|
+
type: StringConstructor;
|
|
12
12
|
required: false;
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
type:
|
|
14
|
+
currentPersonId: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
16
|
required: true;
|
|
17
17
|
};
|
|
18
18
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
19
|
[key: string]: any;
|
|
20
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
21
|
-
|
|
22
|
-
type:
|
|
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
|
+
entity: {
|
|
22
|
+
type: ObjectConstructor;
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
|
-
|
|
26
|
-
type:
|
|
25
|
+
targetCode: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
27
|
required: true;
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
type:
|
|
29
|
+
title: {
|
|
30
|
+
type: StringConstructor;
|
|
31
31
|
required: false;
|
|
32
32
|
};
|
|
33
|
-
|
|
34
|
-
type:
|
|
33
|
+
currentPersonId: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
35
|
required: true;
|
|
36
36
|
};
|
|
37
|
-
}>>, {
|
|
38
|
-
values: any;
|
|
39
|
-
}>;
|
|
37
|
+
}>>, {}>;
|
|
40
38
|
export default _default;
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
};
|
|
6
6
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
8
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
array: {
|
|
10
10
|
type: ArrayConstructor;
|
|
11
11
|
required: true;
|
package/dist/{frontend/core/widgets/cards/widget-card.vue.d.ts → widgets/forms/FormSection.vue.d.ts}
RENAMED
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
};
|
|
6
6
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
7
|
[key: string]: any;
|
|
8
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
8
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
title: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
required: false;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
nav: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
popup: {
|
|
7
|
+
type: any;
|
|
8
|
+
required: false;
|
|
9
|
+
};
|
|
10
|
+
logotype: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
required: false;
|
|
13
|
+
};
|
|
14
|
+
notifications: {
|
|
15
|
+
type: ArrayConstructor;
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
|
+
[key: string]: any;
|
|
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
|
+
nav: {
|
|
22
|
+
type: ArrayConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
};
|
|
25
|
+
popup: {
|
|
26
|
+
type: any;
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
logotype: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
required: false;
|
|
32
|
+
};
|
|
33
|
+
notifications: {
|
|
34
|
+
type: ArrayConstructor;
|
|
35
|
+
required: false;
|
|
36
|
+
};
|
|
37
|
+
}>>, {
|
|
38
|
+
popup: any;
|
|
39
|
+
}>;
|
|
40
|
+
export default _default;
|