eservices-core 1.0.435 → 1.0.437
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/frontend/core/classes/List.d.ts +1 -0
- package/dist/frontend/core/classes/new/List.d.ts +119 -0
- package/dist/frontend/core/classes/new/Table.d.ts +27 -0
- package/dist/frontend/core/classes/new/get-table-row.d.ts +8 -0
- package/dist/frontend/core/index.d.ts +2 -0
- package/dist/frontend/core/new/new-import.d.ts +10 -0
- package/dist/frontend/core/services/data-service.d.ts +4 -0
- package/dist/frontend/core/widgets/breadcrumbs/widget-breadcrumb-item.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/breadcrumbs/widget-breadcrumbs.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/buttons/WidgetButton.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/buttons/multi-button/WidgetMultiButton.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/cards/widget-card.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/errorSystem/default/WidgetNotificationSystem.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/forms/naomi/WidgetForm.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/forms/naomi/WidgetFormInfo.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/image/widget-image.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/list/widget-list-head.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/modals/modal-validation/modal-validation-item.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/modals/modal-validation/modal-validation.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/modals/modal-wrap.vue.d.ts +1 -1
- package/dist/{widgets/tables → frontend/core/widgets/new}/widget-table-form.vue.d.ts +6 -10
- package/dist/{widgets/list/widget-list-row.vue.d.ts → frontend/core/widgets/new/widget-table-row.vue.d.ts} +3 -4
- package/dist/{widgets/tables → frontend/core/widgets/new}/widget-table.vue.d.ts +12 -1
- package/dist/frontend/core/widgets/section/widget-section.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/shadow-form/WidgetShadowForm.vue.d.ts +1 -1
- package/dist/frontend/core/widgets/spinner/WidgetSpinner.vue.d.ts +1 -1
- package/dist/{widgets/interface/user-popup-organization-item.vue.d.ts → frontend/core/widgets/spinner/widget-loader.vue.d.ts} +9 -9
- package/dist/frontend/core/widgets/tables/widget-table-form.vue.d.ts +1 -1
- package/dist/index.js +877 -318
- package/package.json +7 -3
- package/dist/TEST/index.d.ts +0 -5
- package/dist/classes/Action.d.ts +0 -3
- package/dist/classes/ApplicationManager.d.ts +0 -61
- package/dist/classes/ClassMetadata.d.ts +0 -32
- package/dist/classes/Communication.d.ts +0 -29
- package/dist/classes/CoreError.d.ts +0 -43
- package/dist/classes/ErrorStorageSystem.d.ts +0 -15
- package/dist/classes/EventEmitter.d.ts +0 -20
- package/dist/classes/Form.d.ts +0 -78
- package/dist/classes/InterfaceForm.d.ts +0 -106
- package/dist/classes/InterfaceWorker.d.ts +0 -15
- package/dist/classes/List.d.ts +0 -83
- package/dist/classes/ListWorker.d.ts +0 -2
- package/dist/classes/Metadata.d.ts +0 -51
- package/dist/classes/NotificationSystem.d.ts +0 -39
- package/dist/classes/ProcessWrap.d.ts +0 -8
- package/dist/classes/RenderForm.d.ts +0 -37
- package/dist/classes/StepWorker.d.ts +0 -9
- package/dist/classes/Table.d.ts +0 -97
- package/dist/classes/ViewForm/ViewForm.d.ts +0 -8
- package/dist/classes/ViewForm/container-form-element-render.d.ts +0 -1
- package/dist/classes/ViewForm/container-form-render.d.ts +0 -1
- package/dist/classes/ViewForm/container-render.d.ts +0 -1
- package/dist/classes/ViewForm/getInputComponent.d.ts +0 -1
- package/dist/classes/ViewForm/render-form-body.d.ts +0 -1
- package/dist/classes/ViewForm/render-form-section.d.ts +0 -1
- package/dist/classes/ViewForm/render-form.d.ts +0 -2
- package/dist/classes/ViewForm/render-input.d.ts +0 -8
- package/dist/classes/ViewForm/render.d.ts +0 -8
- package/dist/classes/_List.d.ts +0 -77
- package/dist/classes/index.d.ts +0 -26
- package/dist/classes/table/Table.d.ts +0 -70
- package/dist/classes/table/get-table-row.d.ts +0 -8
- package/dist/config.d.ts +0 -14
- package/dist/errors/communication-error.d.ts +0 -7
- package/dist/hooks/use-customer-state.d.ts +0 -24
- package/dist/hooks/use-form-action.d.ts +0 -12
- package/dist/hooks/use-form-label.d.ts +0 -8
- package/dist/hooks/use-form-metadata.d.ts +0 -2
- package/dist/hooks/use-form-request-data.d.ts +0 -13
- package/dist/index.d.ts +0 -213
- package/dist/init.d.ts +0 -1
- package/dist/mixins/index.d.ts +0 -4
- package/dist/services/AuthService.d.ts +0 -76
- package/dist/services/FileService.d.ts +0 -7
- package/dist/services/MetadataService.d.ts +0 -5
- package/dist/services/action-service.d.ts +0 -22
- package/dist/services/client-service.d.ts +0 -16
- package/dist/services/communication-service.d.ts +0 -68
- package/dist/services/data-service.d.ts +0 -79
- package/dist/services/index.d.ts +0 -11
- package/dist/services/invitation-service.d.ts +0 -5
- package/dist/services/metadata-service.d.ts +0 -5
- package/dist/services/open-service.d.ts +0 -3
- package/dist/services/presentation-service.d.ts +0 -9
- package/dist/services/process-wizard-service.d.ts +0 -30
- package/dist/services/rule-validation-service.d.ts +0 -4
- package/dist/services/view-service.d.ts +0 -19
- package/dist/socket/use-socket.d.ts +0 -4
- package/dist/styles/index.d.ts +0 -2
- package/dist/styles/types.d.ts +0 -164
- package/dist/types/index.d.ts +0 -103
- package/dist/types/metadata-types.d.ts +0 -19
- package/dist/useMethods/index.d.ts +0 -5
- package/dist/useMethods/useInput.d.ts +0 -15
- package/dist/utils/Filter.d.ts +0 -17
- package/dist/utils/GraphQL/index.d.ts +0 -21
- package/dist/utils/Journal.d.ts +0 -34
- package/dist/utils/Request.d.ts +0 -5
- package/dist/utils/clickOutside.d.ts +0 -2
- package/dist/utils/firstChapterToLowerCase.d.ts +0 -5
- package/dist/utils/getPropFromObject.d.ts +0 -15
- package/dist/utils/group-array-by-field.d.ts +0 -29
- package/dist/utils/index.d.ts +0 -9
- package/dist/utils/mergeObjects.d.ts +0 -6
- package/dist/utils/parse-array-inputs.d.ts +0 -11
- package/dist/utils/prettyDate.d.ts +0 -13
- package/dist/utils/recursive-object-wrap.d.ts +0 -16
- package/dist/utils/requestHandler.d.ts +0 -7
- package/dist/utils/runPromiseQueue.d.ts +0 -1
- package/dist/utils/static-link.d.ts +0 -6
- package/dist/utils/uuid.d.ts +0 -1
- package/dist/utils/values-to-upper-case.d.ts +0 -5
- package/dist/widgets/breadcrumbs/widget-breadcrumb-item.vue.d.ts +0 -30
- package/dist/widgets/breadcrumbs/widget-breadcrumbs.vue.d.ts +0 -14
- package/dist/widgets/buttons/WidgetButton.vue.d.ts +0 -41
- package/dist/widgets/buttons/index.d.ts +0 -5
- package/dist/widgets/buttons/multi-button/WidgetMultiButton.vue.d.ts +0 -22
- package/dist/widgets/cards/widget-card.vue.d.ts +0 -14
- package/dist/widgets/communication/communication-chat-message.vue.d.ts +0 -38
- package/dist/widgets/communication/communication-chat.vue.d.ts +0 -22
- package/dist/widgets/communication/communication-head-create.vue.d.ts +0 -14
- package/dist/widgets/communication/communication-head.vue.d.ts +0 -30
- package/dist/widgets/communication/communication-input.vue.d.ts +0 -14
- package/dist/widgets/communication/widget-communication-head.vue.d.ts +0 -19
- package/dist/widgets/communication/widget-communication-message.vue.d.ts +0 -4
- package/dist/widgets/communication/widget-communication.vue.d.ts +0 -38
- package/dist/widgets/containers/container-input-list.vue.d.ts +0 -14
- package/dist/widgets/containers/index.d.ts +0 -9
- package/dist/widgets/errorSystem/default/WidgetError.vue.d.ts +0 -27
- package/dist/widgets/errorSystem/default/WidgetErrorGroup.vue.d.ts +0 -17
- package/dist/widgets/errorSystem/default/WidgetNotificationSystem.vue.d.ts +0 -4
- package/dist/widgets/errorSystem/index.d.ts +0 -4
- package/dist/widgets/forms/FormSection.vue.d.ts +0 -14
- package/dist/widgets/forms/index.d.ts +0 -9
- package/dist/widgets/forms/naomi/WidgetForm.vue.d.ts +0 -65
- package/dist/widgets/forms/naomi/WidgetFormImage.vue.d.ts +0 -22
- package/dist/widgets/forms/naomi/WidgetFormInfo.vue.d.ts +0 -30
- package/dist/widgets/icons/index.d.ts +0 -4
- package/dist/widgets/image/widget-image.vue.d.ts +0 -30
- package/dist/widgets/index.d.ts +0 -46
- package/dist/widgets/inputs/default-style/index.d.ts +0 -7
- package/dist/widgets/inputs/index.d.ts +0 -15
- package/dist/widgets/inputs/line-style/index.d.ts +0 -4
- package/dist/widgets/inputs/naomi-style/index.d.ts +0 -4
- package/dist/widgets/inputs/widget-input-check.vue.d.ts +0 -16
- package/dist/widgets/interface/default/index.d.ts +0 -6
- package/dist/widgets/interface/index.d.ts +0 -13
- package/dist/widgets/interface/interface-container.vue.d.ts +0 -40
- package/dist/widgets/interface/interface-header.vue.d.ts +0 -22
- package/dist/widgets/interface/interface-navigation-cell.vue.d.ts +0 -30
- package/dist/widgets/interface/interface-navigation-row.vue.d.ts +0 -34
- package/dist/widgets/interface/interface-navigation.vue.d.ts +0 -14
- package/dist/widgets/interface/interface-user-card.vue.d.ts +0 -14
- package/dist/widgets/interface/interface-user-popup.vue.d.ts +0 -16
- package/dist/widgets/interface/naomi/InterfaceNavigationRow.vue.d.ts +0 -19
- package/dist/widgets/interface/naomi/WidgetInterfaceNavigation.vue.d.ts +0 -13
- package/dist/widgets/interface/naomi/WidgetInterfaceUserCard.vue.d.ts +0 -25
- package/dist/widgets/interface/naomi/WidgetInterfaceUserPopup/WidgetInterfaceUserPopup.vue.d.ts +0 -37
- package/dist/widgets/interface/naomi/WidgetInterfaceUserPopup/WidgetInterfaceUserPopupEvent.vue.d.ts +0 -27
- package/dist/widgets/interface/naomi/index.d.ts +0 -6
- package/dist/widgets/interface/naomi/useInterfaceNavigation.d.ts +0 -6
- package/dist/widgets/interface/user-popup-link.vue.d.ts +0 -32
- package/dist/widgets/interface/user-popup-switch-organization.vue.d.ts +0 -24
- package/dist/widgets/interface/user-popup-switch-person.vue.d.ts +0 -22
- package/dist/widgets/list/widget-list-head.vue.d.ts +0 -22
- package/dist/widgets/list/widget-list.vue.d.ts +0 -42
- package/dist/widgets/modals/modal-validation/modal-validation-item.vue.d.ts +0 -46
- package/dist/widgets/modals/modal-validation/modal-validation.vue.d.ts +0 -14
- package/dist/widgets/modals/modal-wrap.vue.d.ts +0 -14
- package/dist/widgets/section/widget-section.vue.d.ts +0 -14
- package/dist/widgets/shadow-form/WidgetShadowForm.vue.d.ts +0 -14
- package/dist/widgets/spinner/WidgetSpinner.vue.d.ts +0 -14
- package/dist/widgets/spinner/index.d.ts +0 -4
- package/dist/widgets/tables/WidgetCell.vue.d.ts +0 -18
- package/dist/widgets/tables/WidgetList.vue.d.ts +0 -24
- package/dist/widgets/tables/WidgetListHead.vue.d.ts +0 -15
- package/dist/widgets/tables/getCell.d.ts +0 -4
- package/dist/widgets/tables/index.d.ts +0 -6
- package/dist/widgets/tables/table-with-form/WidgetTableController.vue.d.ts +0 -13
- package/dist/widgets/tables/table-with-form/widget-table-controller-action.vue.d.ts +0 -30
- package/dist/widgets/tables/table-with-form/widget-table-controller.vue.d.ts +0 -25
- package/dist/widgets/tables/table-with-form/widget-table-form.vue.d.ts +0 -22
- package/dist/widgets/tables/table-with-form/widget-table-row.vue.d.ts +0 -13
- package/dist/widgets/tables/table-with-form/widget-table.vue.d.ts +0 -24
- package/dist/widgets/tables/widget-table-row.vue.d.ts +0 -12
- package/dist/widgets/wizard/WidgetWizard.vue.d.ts +0 -22
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import EventEmitter from "jenesius-event-emitter";
|
|
2
|
+
import { IReadParams, ListCell } from "../List";
|
|
3
|
+
declare const LIST_ROW_KEY = "_______LIST_______ROW_______INDEX________NAME_______";
|
|
4
|
+
export declare class List<T> extends EventEmitter {
|
|
5
|
+
#private;
|
|
6
|
+
/**
|
|
7
|
+
* @description Event triggers when array was updated, set new or pushed new, or updated, or deleted.
|
|
8
|
+
* */
|
|
9
|
+
static readonly EVENT_DATA = "list-data: update";
|
|
10
|
+
/**
|
|
11
|
+
* @description Используется для идентификации ячейки таблицы. В случае для new/updated используется, как уникальный
|
|
12
|
+
* идентификатор записей.
|
|
13
|
+
*/
|
|
14
|
+
private LIST_ROW_KEY;
|
|
15
|
+
/**
|
|
16
|
+
* @description Имя сущности к которой относится List
|
|
17
|
+
* */
|
|
18
|
+
name?: string;
|
|
19
|
+
private array;
|
|
20
|
+
constructor(params: IListParams);
|
|
21
|
+
set wait(v: boolean);
|
|
22
|
+
get wait(): boolean;
|
|
23
|
+
get primaryKeys(): string[];
|
|
24
|
+
/**
|
|
25
|
+
* @description Получение элемента массива по обычно индексу. Не путать с List.LIST_ROW_INDEX_NAME
|
|
26
|
+
* */
|
|
27
|
+
at(index: number): T & IDefaultListData;
|
|
28
|
+
/**
|
|
29
|
+
* @description Получение записи по ROW_KEY.
|
|
30
|
+
* */
|
|
31
|
+
atByKey(rowKey: number): T & IDefaultListData;
|
|
32
|
+
/**
|
|
33
|
+
* @description Возвращает индекс записи по её RowKey, если запись не найдена то -1.
|
|
34
|
+
* */
|
|
35
|
+
indexByKey(rowKey: number): number;
|
|
36
|
+
/**
|
|
37
|
+
* @description Получение значения ключа из объекта
|
|
38
|
+
* */
|
|
39
|
+
static getKey<T extends IDefaultListData>(data: T): number;
|
|
40
|
+
/**
|
|
41
|
+
* @description Добавляет к массиву новые элементы.
|
|
42
|
+
* */
|
|
43
|
+
add(...data: T[]): void;
|
|
44
|
+
/**
|
|
45
|
+
* @description Полностью заменяет содержимое массива, новым
|
|
46
|
+
* */
|
|
47
|
+
set(data: T[]): void;
|
|
48
|
+
/**
|
|
49
|
+
* @description Removing data by rowKey
|
|
50
|
+
* */
|
|
51
|
+
removeByKey(rowKey: number): void;
|
|
52
|
+
/**
|
|
53
|
+
* @description Merging data by RowKey
|
|
54
|
+
* */
|
|
55
|
+
updateByKey(rowKey: number, data: Partial<T>): void;
|
|
56
|
+
/**
|
|
57
|
+
* @description Just alias for array and method wrapItem
|
|
58
|
+
* */
|
|
59
|
+
protected wrapArray(data: T[]): (T & IDefaultListData)[];
|
|
60
|
+
/**
|
|
61
|
+
* @description Wrapping data to IDefaultListData
|
|
62
|
+
* */
|
|
63
|
+
protected wrapItem(data: T): T & IDefaultListData;
|
|
64
|
+
/**
|
|
65
|
+
* @description Return true if provided data is IDefaultListData.
|
|
66
|
+
* */
|
|
67
|
+
private isWrapped;
|
|
68
|
+
set read(fn: () => any);
|
|
69
|
+
get read(): () => any;
|
|
70
|
+
set save(fn: () => any);
|
|
71
|
+
get save(): () => any;
|
|
72
|
+
/**
|
|
73
|
+
* @description Function get all names from Config.
|
|
74
|
+
* */
|
|
75
|
+
static GetFieldNames<T extends {
|
|
76
|
+
name?: string | string[];
|
|
77
|
+
}>(config: T[]): string[];
|
|
78
|
+
static mergeWithKey(data: any, key: number): any;
|
|
79
|
+
static getCellName<T extends Pick<ListCell, 'name'>>(cell: T): string;
|
|
80
|
+
/**
|
|
81
|
+
* @description Получение стандартной информации из ячейки и значений. {name, value}
|
|
82
|
+
* @example
|
|
83
|
+
* cell: { name: ['title', 'id'], value: (x) => `${x}_${x}` }
|
|
84
|
+
* values: {id: 1, title: "GG"}
|
|
85
|
+
* Output: { name: 'title', value: 'GG_GG'}
|
|
86
|
+
*/
|
|
87
|
+
static getCellInfo<T extends Pick<ListCell, 'name' | 'value'>>(cell: T, rowValues: any): {
|
|
88
|
+
name: string;
|
|
89
|
+
value: import("../../types").Values;
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
export interface IDefaultListData {
|
|
93
|
+
[LIST_ROW_KEY]: number;
|
|
94
|
+
}
|
|
95
|
+
export interface IListParams {
|
|
96
|
+
primaryKeys?: string[];
|
|
97
|
+
name?: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* @description Хук используется для того, чтобы подключить считывание данных с листу
|
|
101
|
+
* */
|
|
102
|
+
export declare function useListRead<T extends List<any>>(list: T, readParams: IReadParams): void;
|
|
103
|
+
export declare function useListState(list: List<any>): {
|
|
104
|
+
wait: boolean;
|
|
105
|
+
array: any[];
|
|
106
|
+
};
|
|
107
|
+
export declare type ListCellType = 'date' | 'dateWithTime' | 'toggle' | 'select';
|
|
108
|
+
export interface IListCell {
|
|
109
|
+
title: string;
|
|
110
|
+
name: string | string[];
|
|
111
|
+
value: (x: any, obj: IDefaultListData) => string | number;
|
|
112
|
+
link: (obj: IDefaultListData) => any;
|
|
113
|
+
type: ListCellType;
|
|
114
|
+
class: string | string[];
|
|
115
|
+
onClick: (data: IDefaultListData) => void;
|
|
116
|
+
href: (obj: IDefaultListData) => string;
|
|
117
|
+
icon: string;
|
|
118
|
+
}
|
|
119
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IDefaultListData, IListParams, List } from "./List";
|
|
2
|
+
export declare class Table<T> extends List<T> {
|
|
3
|
+
changes: ITableChange<T>[];
|
|
4
|
+
constructor(params: ITableParams);
|
|
5
|
+
get changed(): boolean;
|
|
6
|
+
addChange(type: ITableChange<T>["type"], data?: Partial<T>): void;
|
|
7
|
+
}
|
|
8
|
+
export declare function TableDataController<T>(table: Table<T>, controllerParams: IControllerParams): {
|
|
9
|
+
create(data: Partial<T>): void;
|
|
10
|
+
update(rowKey: number, data: Partial<T>): void;
|
|
11
|
+
delete(rowKey: number): void;
|
|
12
|
+
};
|
|
13
|
+
interface ITableParams extends IListParams {
|
|
14
|
+
}
|
|
15
|
+
interface IControllerParams {
|
|
16
|
+
autosave: boolean;
|
|
17
|
+
}
|
|
18
|
+
interface ITableChange<T> {
|
|
19
|
+
type: 'create' | 'remove' | 'update';
|
|
20
|
+
data: (Partial<T> & IDefaultListData);
|
|
21
|
+
status: 'active' | 'inactive';
|
|
22
|
+
}
|
|
23
|
+
export declare function useTableActiveRow(): {
|
|
24
|
+
activeRow: import("vue").Ref<number>;
|
|
25
|
+
activateRow: (v: IDefaultListData | number) => void;
|
|
26
|
+
};
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IListCell, IDefaultListData } from "./List";
|
|
2
|
+
import { VNode } from "vue";
|
|
3
|
+
/**
|
|
4
|
+
* @description Получение ОДНОЙ строки таблицы.
|
|
5
|
+
*/
|
|
6
|
+
export default function getTableRow(config: IListCell[], values: IDefaultListData): VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}>;
|
|
@@ -7,6 +7,8 @@ import "./../styles/index.css";
|
|
|
7
7
|
import StylesInterface from "./styles/types";
|
|
8
8
|
import { Values } from "./types";
|
|
9
9
|
import Icon from "./widgets/icons/Icon.vue";
|
|
10
|
+
import { newImport } from "./new/new-import";
|
|
11
|
+
export { newImport };
|
|
10
12
|
import { IListCell, IListConfig, IFilterConfig, ISortConfig } from "./classes/List";
|
|
11
13
|
import { ICustomerContext } from "./classes/ApplicationManager";
|
|
12
14
|
import { IActionExecuteResult, IValidationEffect } from "./services/action-service";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { List, useListRead, useListState } from "../classes/new/List";
|
|
2
|
+
import { Table, useTableActiveRow } from "../classes/new/Table";
|
|
3
|
+
export declare const newImport: {
|
|
4
|
+
WidgetTable: import("vue").DefineComponent<{}, {}, any, Record<string, import("vue").ComputedGetter<any> | import("vue").WritableComputedOptions<any>>, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
5
|
+
List: typeof List;
|
|
6
|
+
useListState: typeof useListState;
|
|
7
|
+
useListRead: typeof useListRead;
|
|
8
|
+
Table: typeof Table;
|
|
9
|
+
useTableActiveRow: typeof useTableActiveRow;
|
|
10
|
+
};
|
|
@@ -11,6 +11,10 @@ export default class dataService {
|
|
|
11
11
|
* @description Creating entity.
|
|
12
12
|
* */
|
|
13
13
|
static create(entity: string, values: ValuesInterface): Promise<IRequestCreateResult>;
|
|
14
|
+
/**
|
|
15
|
+
* @description Default update method, update entity by primaryKeys.
|
|
16
|
+
* */
|
|
17
|
+
static update(entity: string, primaryKeys: any, values: any): Promise<IRequestUpdateResult>;
|
|
14
18
|
/**
|
|
15
19
|
* @description Reading entity's data by id.
|
|
16
20
|
* @param {String} entity Entity name in the singular.
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
};
|
|
14
14
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
15
|
[key: string]: any;
|
|
16
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
16
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
active: {
|
|
18
18
|
type: BooleanConstructor;
|
|
19
19
|
required: true;
|
|
@@ -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, {}, 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;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
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,
|
|
20
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
title: {
|
|
22
22
|
type: StringConstructor;
|
|
23
23
|
required: true;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
11
|
[key: string]: any;
|
|
12
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
12
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
title: {
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
required: false;
|
|
@@ -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, {}, 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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
2
|
[key: string]: any;
|
|
3
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
3
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4
4
|
export default _default;
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
};
|
|
30
30
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
31
31
|
[key: string]: any;
|
|
32
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
32
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
title: {
|
|
34
34
|
type: StringConstructor;
|
|
35
35
|
required: false;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
};
|
|
14
14
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
15
|
[key: string]: any;
|
|
16
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
16
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
title: {
|
|
18
18
|
type: StringConstructor;
|
|
19
19
|
required: true;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
};
|
|
14
14
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
15
|
[key: string]: any;
|
|
16
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
16
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
src: {
|
|
18
18
|
type: any;
|
|
19
19
|
required: true;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
11
|
[key: string]: any;
|
|
12
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
12
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
13
|
sort: {
|
|
14
14
|
type: any;
|
|
15
15
|
required: true;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
};
|
|
22
22
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
23
|
[key: string]: any;
|
|
24
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
24
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
25
|
message: {
|
|
26
26
|
type: StringConstructor;
|
|
27
27
|
required: true;
|
|
@@ -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, {}, 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;
|
|
@@ -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, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
title: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
required: true;
|
|
@@ -11,13 +11,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
type: any;
|
|
12
12
|
required: false;
|
|
13
13
|
};
|
|
14
|
-
controller: {
|
|
15
|
-
type: any;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
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, ("save" | "remove" | "close")[], "save" | "remove" | "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
17
|
rowLength: {
|
|
22
18
|
type: NumberConstructor;
|
|
23
19
|
required: true;
|
|
@@ -30,11 +26,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
26
|
type: any;
|
|
31
27
|
required: false;
|
|
32
28
|
};
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
29
|
+
}>> & {
|
|
30
|
+
onSave?: (...args: any[]) => any;
|
|
31
|
+
onRemove?: (...args: any[]) => any;
|
|
32
|
+
onClose?: (...args: any[]) => any;
|
|
33
|
+
}, {
|
|
38
34
|
values: any;
|
|
39
35
|
}>;
|
|
40
36
|
export default _default;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
props: {
|
|
3
|
-
config: ArrayConstructor;
|
|
4
3
|
values: ObjectConstructor;
|
|
4
|
+
config: ObjectConstructor;
|
|
5
|
+
selected: BooleanConstructor;
|
|
5
6
|
};
|
|
6
7
|
setup(props: any): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
7
8
|
[key: string]: any;
|
|
8
|
-
}
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}>[];
|
|
9
|
+
}>;
|
|
11
10
|
};
|
|
12
11
|
export default _default;
|
|
@@ -19,9 +19,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
type: ArrayConstructor;
|
|
20
20
|
required: false;
|
|
21
21
|
};
|
|
22
|
+
wait: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
required: false;
|
|
25
|
+
};
|
|
22
26
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
27
|
[key: string]: any;
|
|
24
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:activeRow" | "update:selectRows")[], "update:activeRow" | "update:selectRows", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:activeRow" | "update:selectRows" | "save" | "read")[], "update:activeRow" | "update:selectRows" | "save" | "read", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
29
|
array: {
|
|
26
30
|
type: ArrayConstructor;
|
|
27
31
|
required: true;
|
|
@@ -42,10 +46,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
46
|
type: ArrayConstructor;
|
|
43
47
|
required: false;
|
|
44
48
|
};
|
|
49
|
+
wait: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
45
53
|
}>> & {
|
|
46
54
|
"onUpdate:activeRow"?: (...args: any[]) => any;
|
|
47
55
|
"onUpdate:selectRows"?: (...args: any[]) => any;
|
|
56
|
+
onSave?: (...args: any[]) => any;
|
|
57
|
+
onRead?: (...args: any[]) => any;
|
|
48
58
|
}, {
|
|
49
59
|
mini: boolean;
|
|
60
|
+
wait: boolean;
|
|
50
61
|
}>;
|
|
51
62
|
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, {}, 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;
|
|
@@ -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, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
shadowState: {
|
|
10
10
|
type: any;
|
|
11
11
|
required: true;
|
|
@@ -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, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
color: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
required: false;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
|
|
2
|
+
color: {
|
|
3
3
|
type: StringConstructor;
|
|
4
|
-
required:
|
|
4
|
+
required: false;
|
|
5
5
|
};
|
|
6
|
-
|
|
6
|
+
label: {
|
|
7
7
|
type: StringConstructor;
|
|
8
|
-
required:
|
|
8
|
+
required: true;
|
|
9
9
|
};
|
|
10
10
|
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
11
|
[key: string]: any;
|
|
12
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13
|
-
|
|
12
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
color: {
|
|
14
14
|
type: StringConstructor;
|
|
15
|
-
required:
|
|
15
|
+
required: false;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
label: {
|
|
18
18
|
type: StringConstructor;
|
|
19
|
-
required:
|
|
19
|
+
required: true;
|
|
20
20
|
};
|
|
21
21
|
}>>, {}>;
|
|
22
22
|
export default _default;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
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,
|
|
20
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
rowLength: {
|
|
22
22
|
type: NumberConstructor;
|
|
23
23
|
required: true;
|