eservices-core 1.0.434 → 1.0.436
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/frontend/core/widgets/new/widget-table-form.vue.d.ts +36 -0
- package/dist/frontend/core/widgets/new/widget-table-row.vue.d.ts +11 -0
- package/dist/frontend/core/widgets/new/widget-table.vue.d.ts +62 -0
- 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/frontend/core/widgets/spinner/widget-loader.vue.d.ts +22 -0
- package/dist/frontend/core/widgets/tables/widget-table-form.vue.d.ts +1 -1
- package/dist/index.js +882 -319
- package/package.json +7 -3
|
@@ -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;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
rowLength: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
component: {
|
|
7
|
+
type: any;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
values: {
|
|
11
|
+
type: any;
|
|
12
|
+
required: false;
|
|
13
|
+
};
|
|
14
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
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<{
|
|
17
|
+
rowLength: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
component: {
|
|
22
|
+
type: any;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
values: {
|
|
26
|
+
type: any;
|
|
27
|
+
required: false;
|
|
28
|
+
};
|
|
29
|
+
}>> & {
|
|
30
|
+
onSave?: (...args: any[]) => any;
|
|
31
|
+
onRemove?: (...args: any[]) => any;
|
|
32
|
+
onClose?: (...args: any[]) => any;
|
|
33
|
+
}, {
|
|
34
|
+
values: any;
|
|
35
|
+
}>;
|
|
36
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
props: {
|
|
3
|
+
values: ObjectConstructor;
|
|
4
|
+
config: ObjectConstructor;
|
|
5
|
+
selected: BooleanConstructor;
|
|
6
|
+
};
|
|
7
|
+
setup(props: any): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}>;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
array: {
|
|
3
|
+
type: ArrayConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
config: {
|
|
7
|
+
type: ArrayConstructor;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
mini: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
required: false;
|
|
13
|
+
};
|
|
14
|
+
activeRow: {
|
|
15
|
+
type: NumberConstructor[];
|
|
16
|
+
required: false;
|
|
17
|
+
};
|
|
18
|
+
selectRows: {
|
|
19
|
+
type: ArrayConstructor;
|
|
20
|
+
required: false;
|
|
21
|
+
};
|
|
22
|
+
wait: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
required: false;
|
|
25
|
+
};
|
|
26
|
+
}, (_ctx: any, _cache: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
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<{
|
|
29
|
+
array: {
|
|
30
|
+
type: ArrayConstructor;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
config: {
|
|
34
|
+
type: ArrayConstructor;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
mini: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
required: false;
|
|
40
|
+
};
|
|
41
|
+
activeRow: {
|
|
42
|
+
type: NumberConstructor[];
|
|
43
|
+
required: false;
|
|
44
|
+
};
|
|
45
|
+
selectRows: {
|
|
46
|
+
type: ArrayConstructor;
|
|
47
|
+
required: false;
|
|
48
|
+
};
|
|
49
|
+
wait: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
required: false;
|
|
52
|
+
};
|
|
53
|
+
}>> & {
|
|
54
|
+
"onUpdate:activeRow"?: (...args: any[]) => any;
|
|
55
|
+
"onUpdate:selectRows"?: (...args: any[]) => any;
|
|
56
|
+
onSave?: (...args: any[]) => any;
|
|
57
|
+
onRead?: (...args: any[]) => any;
|
|
58
|
+
}, {
|
|
59
|
+
mini: boolean;
|
|
60
|
+
wait: boolean;
|
|
61
|
+
}>;
|
|
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;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
color: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
label: {
|
|
7
|
+
type: StringConstructor;
|
|
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, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
color: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: false;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>>, {}>;
|
|
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;
|