admins-components 1.3.0 → 2.0.0
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/admins-components.cjs +1 -1
- package/dist/admins-components.js +738 -660
- package/dist/src/components/DateRangePicker.vue.d.ts +16 -0
- package/dist/src/components/FilterCompact.vue.d.ts +1 -1
- package/dist/src/components/FilterControl.vue.d.ts +4 -4
- package/dist/src/components/TableToList.vue.d.ts +1 -0
- package/dist/src/components/TableToListOptions.vue.d.ts +2 -0
- package/dist/src/utils/TableToListColumnOptionsPersister.d.ts +1 -1
- package/dist/src/utils/toastWrapper.d.ts +2 -2
- package/dist/style.css +5 -1
- package/package.json +2 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
6
|
+
changed: (range: {
|
|
7
|
+
from: string | null;
|
|
8
|
+
to: string | null;
|
|
9
|
+
}) => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onChanged?: ((range: {
|
|
12
|
+
from: string | null;
|
|
13
|
+
to: string | null;
|
|
14
|
+
}) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -8,7 +8,7 @@ type __VLS_Props = {
|
|
|
8
8
|
};
|
|
9
9
|
export interface FilterDateFilter {
|
|
10
10
|
from: string;
|
|
11
|
-
|
|
11
|
+
until: string;
|
|
12
12
|
}
|
|
13
13
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
14
|
export default _default;
|
|
@@ -28,13 +28,13 @@ export declare class FilterDate implements IFilterItem {
|
|
|
28
28
|
label: string;
|
|
29
29
|
filtered: (key: string, value: FilterDateFilter) => any;
|
|
30
30
|
defFrom?: string | undefined;
|
|
31
|
-
|
|
32
|
-
constructor(key: string, label: string, filtered: (key: string, value: FilterDateFilter) => any, defFrom?: string | undefined,
|
|
31
|
+
defTil?: string | undefined;
|
|
32
|
+
constructor(key: string, label: string, filtered: (key: string, value: FilterDateFilter) => any, defFrom?: string | undefined, defTil?: string | undefined);
|
|
33
33
|
type: "date";
|
|
34
34
|
}
|
|
35
35
|
export interface FilterDateFilter {
|
|
36
|
-
from: string;
|
|
37
|
-
|
|
36
|
+
from: string | null;
|
|
37
|
+
until: string | null;
|
|
38
38
|
}
|
|
39
39
|
declare const _default: import('vue').DefineComponent<{
|
|
40
40
|
item: IFilterItem;
|
|
@@ -6,6 +6,7 @@ export interface TableToListConfig {
|
|
|
6
6
|
columns: Column[];
|
|
7
7
|
smColCount: number;
|
|
8
8
|
sortEnabled: boolean;
|
|
9
|
+
compact?: boolean | null | undefined;
|
|
9
10
|
actions?: Action[] | undefined;
|
|
10
11
|
actionHeader?: string | undefined;
|
|
11
12
|
paginatorSettings?: Ref<PaginatorSettings> | undefined;
|
|
@@ -3,7 +3,7 @@ import { TableToListConfig } from '../components/TableToList.vue';
|
|
|
3
3
|
import { TableToListColumnOptions } from '../components/TableToListOptions.vue';
|
|
4
4
|
export declare class TabelToListOptionsPersister {
|
|
5
5
|
static getId: (base: string, version: string) => string;
|
|
6
|
-
static saveOptions: (base: string, version: string, ttlcos: TableToListColumnOptions[]) => void;
|
|
6
|
+
static saveOptions: (base: string, version: string, ttlo: TableToListConfig, ttlcos: TableToListColumnOptions[]) => void;
|
|
7
7
|
static cleanOptions: (base: string, version: string) => void;
|
|
8
8
|
static loadOptions: (base: string, version: string, defaultOff: string[] | null, t2lconfig: TableToListConfig, options: Ref<TableToListColumnOptions[] | null>) => void;
|
|
9
9
|
}
|
|
@@ -2,7 +2,7 @@ export type ToastMsgSeverity = "success" | "info" | "warning" | "error";
|
|
|
2
2
|
export interface IToastMsg {
|
|
3
3
|
title: string;
|
|
4
4
|
message: string;
|
|
5
|
-
|
|
6
|
-
displayDuration
|
|
5
|
+
severity: ToastMsgSeverity;
|
|
6
|
+
displayDuration?: number;
|
|
7
7
|
}
|
|
8
8
|
export declare function sendMsgToToast(detail: IToastMsg): void;
|