prlg-ui 1.7.13 → 1.7.14
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/index.d.ts +16 -9
- package/dist/prlg-ui.cjs.js +1 -1
- package/dist/prlg-ui.css +1 -1
- package/dist/prlg-ui.es.js +153 -146
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -119,7 +119,6 @@ data: any;
|
|
|
119
119
|
index: number;
|
|
120
120
|
}) => any;
|
|
121
121
|
"update:selectedRows": (value: DataItem | DataItem[]) => any;
|
|
122
|
-
"update:pagination": (value: TablePagination | null) => any;
|
|
123
122
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
124
123
|
onRowClickHandler?: ((value: {
|
|
125
124
|
data: any;
|
|
@@ -128,7 +127,6 @@ index: number;
|
|
|
128
127
|
"onUpdate:currentPage"?: ((value: number) => any) | undefined;
|
|
129
128
|
"onUpdate:perPage"?: ((value: number) => any) | undefined;
|
|
130
129
|
"onUpdate:selectedRows"?: ((value: DataItem | DataItem[]) => any) | undefined;
|
|
131
|
-
"onUpdate:pagination"?: ((value: TablePagination | null) => any) | undefined;
|
|
132
130
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLTableElement>;
|
|
133
131
|
|
|
134
132
|
declare const __VLS_component_20: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
@@ -1196,24 +1194,33 @@ export declare const Switch: DefineComponent<__VLS_PublicProps_9, {}, {}, {}, {}
|
|
|
1196
1194
|
|
|
1197
1195
|
export declare const Tab: __VLS_WithTemplateSlots_22<typeof __VLS_component_22, __VLS_TemplateResult_22["slots"]>;
|
|
1198
1196
|
|
|
1199
|
-
declare type TablePagination = {
|
|
1200
|
-
currentPage: number;
|
|
1201
|
-
perPage: number;
|
|
1202
|
-
totals: number;
|
|
1203
|
-
perPageOptions: number[];
|
|
1204
|
-
};
|
|
1205
|
-
|
|
1206
1197
|
declare type TableProps = {
|
|
1198
|
+
/** Тема */
|
|
1207
1199
|
theme?: 'default';
|
|
1200
|
+
/** Данные */
|
|
1208
1201
|
data: DataItem[];
|
|
1202
|
+
/** Выбранные строки */
|
|
1209
1203
|
selectedRows?: DataItem[];
|
|
1204
|
+
/** Размер таблицы */
|
|
1210
1205
|
size?: TableSize;
|
|
1206
|
+
/** Режим группировки */
|
|
1211
1207
|
rowGroupMode?: TableRowGroupMode;
|
|
1208
|
+
/** Поля для группировки */
|
|
1212
1209
|
groupRowsBy?: string;
|
|
1210
|
+
/** Поля для сортировки */
|
|
1213
1211
|
sortField?: string[];
|
|
1212
|
+
/** Режим сортировки */
|
|
1214
1213
|
sortMode?: 'single' | 'multiple';
|
|
1214
|
+
/** Изменять фоновый цвет строки при наведении */
|
|
1215
1215
|
rowColorHovered?: boolean;
|
|
1216
|
+
/** Количество строк на странице */
|
|
1217
|
+
rows?: number;
|
|
1218
|
+
/** Показывать пагинатор */
|
|
1219
|
+
paginator?: boolean;
|
|
1220
|
+
/** Опции для выбора количества элементов на странице */
|
|
1216
1221
|
perPageOptions?: number[];
|
|
1222
|
+
/** Общее количество элементов */
|
|
1223
|
+
totals?: number;
|
|
1217
1224
|
};
|
|
1218
1225
|
|
|
1219
1226
|
declare type TableRowGroupMode = 'rowspan' | 'subheader';
|