admins-components 1.2.5 → 1.2.6
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.css +1 -0
- package/dist/admins-components.js +371 -378
- package/dist/index.d.ts +5 -0
- package/dist/src/components/CheckBox.vue.d.ts +17 -0
- package/dist/src/components/CheckBoxList.vue.d.ts +12 -0
- package/dist/src/components/DropDown.vue.d.ts +38 -0
- package/dist/src/components/DropDownCallBack.vue.d.ts +19 -0
- package/dist/src/components/DropDownMenu.vue.d.ts +18 -0
- package/dist/src/components/FilterCompact.vue.d.ts +14 -0
- package/dist/src/components/FilterControl.vue.d.ts +44 -0
- package/dist/src/components/IconButton.vue.d.ts +11 -0
- package/dist/src/components/PaginatorControl.vue.d.ts +18 -0
- package/dist/src/components/RadioButton.vue.d.ts +12 -0
- package/dist/src/components/RadioButtonGroup.vue.d.ts +15 -0
- package/dist/src/components/SpinningProgress.vue.d.ts +5 -0
- package/dist/src/components/TableToList.vue.d.ts +47 -0
- package/dist/src/components/TextListBox.vue.d.ts +16 -0
- package/dist/src/components/ToastComponent.vue.d.ts +14 -0
- package/dist/src/components/ToastWrapper.vue.d.ts +19 -0
- package/dist/src/index.d.ts +22 -0
- package/package.json +1 -1
- package/dist/style.css +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
checked: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
changed: (option: {
|
|
8
|
+
id: string;
|
|
9
|
+
checked: boolean;
|
|
10
|
+
}) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
onChanged?: ((option: {
|
|
13
|
+
id: string;
|
|
14
|
+
checked: boolean;
|
|
15
|
+
}) => any) | undefined;
|
|
16
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
items: CheckBoxListItem[];
|
|
3
|
+
callback: (id: string, checked: boolean) => any;
|
|
4
|
+
};
|
|
5
|
+
export interface CheckBoxListItem {
|
|
6
|
+
id: string;
|
|
7
|
+
label: string;
|
|
8
|
+
checked: boolean;
|
|
9
|
+
childrend: CheckBoxListItem[];
|
|
10
|
+
}
|
|
11
|
+
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, {}, any>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export interface DropDownItem {
|
|
3
|
+
icon?: string;
|
|
4
|
+
label: string;
|
|
5
|
+
id: string;
|
|
6
|
+
}
|
|
7
|
+
declare const _default: import('vue').DefineComponent<{
|
|
8
|
+
id: string;
|
|
9
|
+
label: string;
|
|
10
|
+
selected?: string | undefined | null;
|
|
11
|
+
options: Ref<DropDownItem[]>;
|
|
12
|
+
opentop?: boolean;
|
|
13
|
+
disableFilter?: boolean;
|
|
14
|
+
storeselected?: boolean;
|
|
15
|
+
filterevent?: boolean;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
18
|
+
selected: (option: DropDownItem) => any;
|
|
19
|
+
filtered: (filter: string) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
21
|
+
id: string;
|
|
22
|
+
label: string;
|
|
23
|
+
selected?: string | undefined | null;
|
|
24
|
+
options: Ref<DropDownItem[]>;
|
|
25
|
+
opentop?: boolean;
|
|
26
|
+
disableFilter?: boolean;
|
|
27
|
+
storeselected?: boolean;
|
|
28
|
+
filterevent?: boolean;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
}> & Readonly<{
|
|
31
|
+
onSelected?: ((option: DropDownItem) => any) | undefined;
|
|
32
|
+
onFiltered?: ((filter: string) => any) | undefined;
|
|
33
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
|
+
DropDownTriggerButton: HTMLButtonElement;
|
|
35
|
+
DropDownMenu: HTMLDivElement;
|
|
36
|
+
ddSearch: HTMLInputElement;
|
|
37
|
+
}, HTMLDivElement>;
|
|
38
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
default: DropDownCallBackItem;
|
|
5
|
+
selected?: string;
|
|
6
|
+
enabled?: boolean;
|
|
7
|
+
options: Ref<DropDownCallBackItem[]>;
|
|
8
|
+
};
|
|
9
|
+
export interface DropDownCallBackItem {
|
|
10
|
+
icon?: string;
|
|
11
|
+
label: string;
|
|
12
|
+
value: string;
|
|
13
|
+
callback: (property: string) => any;
|
|
14
|
+
}
|
|
15
|
+
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, {
|
|
16
|
+
DropDownTriggerButton: HTMLButtonElement;
|
|
17
|
+
DropDownMenu: HTMLDivElement;
|
|
18
|
+
}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
label?: string;
|
|
3
|
+
icon?: string;
|
|
4
|
+
options: DropDownMenuItem[];
|
|
5
|
+
item: any;
|
|
6
|
+
id: string;
|
|
7
|
+
right?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export interface DropDownMenuItem {
|
|
10
|
+
icon: string;
|
|
11
|
+
label: string;
|
|
12
|
+
command: (item: any) => any;
|
|
13
|
+
}
|
|
14
|
+
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, {
|
|
15
|
+
DropDownTriggerButton: HTMLButtonElement;
|
|
16
|
+
DropDownMenu: HTMLDivElement;
|
|
17
|
+
}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FilterDate, FilterDropDown, FilterText } from './FilterControl.vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
items: {
|
|
4
|
+
filter: FilterDate | FilterDropDown | FilterText;
|
|
5
|
+
icon: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}[];
|
|
8
|
+
};
|
|
9
|
+
export interface FilterDateFilter {
|
|
10
|
+
from: string;
|
|
11
|
+
untill: string;
|
|
12
|
+
}
|
|
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
|
+
export default _default;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { DropDownItem } from './DropDown.vue';
|
|
3
|
+
export interface IFilterItem {
|
|
4
|
+
type: "text" | "date" | "dropdown";
|
|
5
|
+
key: string;
|
|
6
|
+
filtered: (key: string, value: any) => any;
|
|
7
|
+
defaultv?: string | undefined;
|
|
8
|
+
}
|
|
9
|
+
export declare class FilterText implements IFilterItem {
|
|
10
|
+
key: string;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
filtered: (key: string, value: string) => any;
|
|
13
|
+
constructor(key: string, placeholder: string, filtered: (key: string, value: string) => any);
|
|
14
|
+
type: "text";
|
|
15
|
+
}
|
|
16
|
+
export declare class FilterDropDown implements IFilterItem {
|
|
17
|
+
key: string;
|
|
18
|
+
label: string;
|
|
19
|
+
options: Ref<DropDownItem[]>;
|
|
20
|
+
filterevent: boolean | undefined;
|
|
21
|
+
onfiltered: undefined | ((v: string) => any);
|
|
22
|
+
filtered: (key: string, value: string) => any;
|
|
23
|
+
constructor(key: string, label: string, options: Ref<DropDownItem[]>, filterevent: boolean | undefined, onfiltered: undefined | ((v: string) => any), filtered: (key: string, value: string) => any);
|
|
24
|
+
type: "dropdown";
|
|
25
|
+
}
|
|
26
|
+
export declare class FilterDate implements IFilterItem {
|
|
27
|
+
key: string;
|
|
28
|
+
label: string;
|
|
29
|
+
filtered: (key: string, value: FilterDateFilter) => any;
|
|
30
|
+
defFrom?: string | undefined;
|
|
31
|
+
defTill?: string | undefined;
|
|
32
|
+
constructor(key: string, label: string, filtered: (key: string, value: FilterDateFilter) => any, defFrom?: string | undefined, defTill?: string | undefined);
|
|
33
|
+
type: "date";
|
|
34
|
+
}
|
|
35
|
+
export interface FilterDateFilter {
|
|
36
|
+
from: string;
|
|
37
|
+
untill: string;
|
|
38
|
+
}
|
|
39
|
+
declare const _default: import('vue').DefineComponent<{
|
|
40
|
+
item: IFilterItem;
|
|
41
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
42
|
+
item: IFilterItem;
|
|
43
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
44
|
+
export default _default;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
icon: string;
|
|
3
|
+
active?: boolean;
|
|
4
|
+
big?: boolean;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
|
+
click: () => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
9
|
+
onClick?: (() => any) | undefined;
|
|
10
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
export interface PaginatorSettings {
|
|
3
|
+
total: number;
|
|
4
|
+
pagesize: number;
|
|
5
|
+
page: number;
|
|
6
|
+
sizes: number[];
|
|
7
|
+
}
|
|
8
|
+
type __VLS_Props = {
|
|
9
|
+
settings: Ref<PaginatorSettings>;
|
|
10
|
+
};
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
pagesize: (value: number) => any;
|
|
13
|
+
page: (value: number) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onPagesize?: ((value: number) => any) | undefined;
|
|
16
|
+
onPage?: ((value: number) => any) | undefined;
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
export default _default;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
group: string;
|
|
3
|
+
label: string;
|
|
4
|
+
id: any;
|
|
5
|
+
selected?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
+
selected: (id: any) => any;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
+
onSelected?: ((id: any) => any) | undefined;
|
|
11
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface RadioButtonGroupItem {
|
|
2
|
+
label: string;
|
|
3
|
+
id: any;
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
}
|
|
6
|
+
type __VLS_Props = {
|
|
7
|
+
group: string;
|
|
8
|
+
items: RadioButtonGroupItem[];
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
11
|
+
selected: (id: any) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onSelected?: ((id: any) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
loading: boolean;
|
|
3
|
+
};
|
|
4
|
+
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, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Ref } from 'vue';
|
|
2
|
+
import { IFilterItem } from './FilterControl.vue';
|
|
3
|
+
import { PaginatorSettings } from './PaginatorControl.vue';
|
|
4
|
+
export interface TableToListConfig {
|
|
5
|
+
selectableId?: string | undefined;
|
|
6
|
+
columns: Column[];
|
|
7
|
+
smColCount: number;
|
|
8
|
+
sortEnabled: boolean;
|
|
9
|
+
actions?: Action[] | undefined;
|
|
10
|
+
actionHeader?: string | undefined;
|
|
11
|
+
paginatorSettings?: Ref<PaginatorSettings> | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface Column {
|
|
14
|
+
visible?: boolean | undefined;
|
|
15
|
+
label: string;
|
|
16
|
+
filter: IFilterItem | undefined;
|
|
17
|
+
filterIcon: string | undefined;
|
|
18
|
+
property: string;
|
|
19
|
+
sort?: undefined | Sort;
|
|
20
|
+
converter: undefined | ((v: any, item: any) => any);
|
|
21
|
+
}
|
|
22
|
+
export interface Sort {
|
|
23
|
+
label: string;
|
|
24
|
+
icon: string;
|
|
25
|
+
active: Ref<boolean> | undefined;
|
|
26
|
+
callback: (property: string) => any;
|
|
27
|
+
}
|
|
28
|
+
export interface Action {
|
|
29
|
+
icon: string;
|
|
30
|
+
label: string;
|
|
31
|
+
enabled: (item: any) => boolean;
|
|
32
|
+
command: (item: any) => any;
|
|
33
|
+
}
|
|
34
|
+
declare const _default: import('vue').DefineComponent<{
|
|
35
|
+
items: any[];
|
|
36
|
+
config: TableToListConfig;
|
|
37
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
38
|
+
pagesize: (value: number) => any;
|
|
39
|
+
page: (value: number) => any;
|
|
40
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
41
|
+
items: any[];
|
|
42
|
+
config: TableToListConfig;
|
|
43
|
+
}> & Readonly<{
|
|
44
|
+
onPagesize?: ((value: number) => any) | undefined;
|
|
45
|
+
onPage?: ((value: number) => any) | undefined;
|
|
46
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
47
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
items: TextListBoxItem[];
|
|
3
|
+
};
|
|
4
|
+
export interface TextListBoxItem {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
hideDelete?: boolean;
|
|
8
|
+
showId?: boolean;
|
|
9
|
+
childrend: TextListBoxItem[] | undefined;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
12
|
+
deleted: (id: string) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onDeleted?: ((id: string) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
defaultDisplayDuration: number;
|
|
3
|
+
};
|
|
4
|
+
export interface Toast {
|
|
5
|
+
title: string;
|
|
6
|
+
message: string;
|
|
7
|
+
type: "info" | "success" | "warning" | "error";
|
|
8
|
+
id?: Date;
|
|
9
|
+
displayDuration?: number;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
12
|
+
addToast: (toast: Toast) => void;
|
|
13
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
toast: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
defaultDisplayDuration: number;
|
|
4
|
+
}> & Readonly<{}>, {
|
|
5
|
+
addToast: (toast: import('./ToastComponent.vue').Toast) => void;
|
|
6
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<{
|
|
14
|
+
defaultDisplayDuration: number;
|
|
15
|
+
}> & Readonly<{}>, {
|
|
16
|
+
addToast: (toast: import('./ToastComponent.vue').Toast) => void;
|
|
17
|
+
}, {}, {}, {}, {}> | null;
|
|
18
|
+
}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { default as CheckBox } from './components/CheckBox.vue';
|
|
3
|
+
import { default as CheckBoxList } from './components/CheckBoxList.vue';
|
|
4
|
+
import { default as DropDown } from './components/DropDown.vue';
|
|
5
|
+
import { default as DropDownCallBack } from './components/DropDownCallBack.vue';
|
|
6
|
+
import { default as DropDownMenu } from './components/DropDownMenu.vue';
|
|
7
|
+
import { default as FilterCompact } from './components/FilterCompact.vue';
|
|
8
|
+
import { default as FilterControl } from './components/FilterControl.vue';
|
|
9
|
+
import { default as IconButton } from './components/IconButton.vue';
|
|
10
|
+
import { default as PaginatorControl } from './components/PaginatorControl.vue';
|
|
11
|
+
import { default as RadioButton } from './components/RadioButton.vue';
|
|
12
|
+
import { default as RadioButtonGroup } from './components/RadioButtonGroup.vue';
|
|
13
|
+
import { default as SpinningProgress } from './components/SpinningProgress.vue';
|
|
14
|
+
import { default as TableToList } from './components/TableToList.vue';
|
|
15
|
+
import { default as TextListBox } from './components/TextListBox.vue';
|
|
16
|
+
import { default as ToastComponent } from './components/ToastComponent.vue';
|
|
17
|
+
import { default as ToastWrapper } from './components/ToastWrapper.vue';
|
|
18
|
+
declare const plugin: {
|
|
19
|
+
install(app: App): void;
|
|
20
|
+
};
|
|
21
|
+
export { CheckBox, CheckBoxList, DropDown, DropDownMenu, DropDownCallBack, FilterCompact, FilterControl, IconButton, PaginatorControl, RadioButton, RadioButtonGroup, SpinningProgress, TableToList, TextListBox, ToastComponent, ToastWrapper, };
|
|
22
|
+
export default plugin;
|
package/package.json
CHANGED
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
::-webkit-scrollbar{width:.7rem}::-webkit-scrollbar-track{border-radius:.7rem;background-color:#ecebeb}::-webkit-scrollbar-thumb{border-radius:.7rem;background-color:#dbd9d9}.clickable{cursor:pointer}.align-items-base{align-items:baseline}.label{font-weight:700}.tlb-container{cursor:default}.tlb-children-container{cursor:default;padding-left:1rem}.tlb-item:hover{background-color:var(--bs-gray-100)}.tlb-item .id{color:var(--bs-gray-500)}.ps-header{border:4px solid #e25900;background-color:#e25900!important;color:#fff}.ps-body{padding:.5rem;border:1px solid var(--bs-gray-400);max-height:300px;overflow-y:auto}.dd-flex{display:flex;flex:1}.dd-button{width:100%}.dd-label{display:flex;flex:1;justify-content:center}.dd-menu{position:absolute;z-index:1000;background-color:#fff;display:block;width:auto;border:1px solid var(--bs-gray-600);border-radius:5px}.dd-item-list{overflow:auto;max-height:400px}.dd-item{font-size:1rem;font-weight:400;cursor:pointer;padding:.2rem .5rem}.dd-item__icon{margin-right:.25rem}.dd-item:hover{background-color:var(--bs-gray-200)}.dd-toggle:after{display:inline-block;width:0;height:0;margin:auto auto auto .255em;vertical-align:.255em;content:"";border-top:.3em solid;border-right:.3em solid transparent;border-bottom:0;border-left:.3em solid transparent}.ddc-flex{display:flex;flex:1!important}.ddc-button{width:100%}.ddc-menu{position:absolute;z-index:1000;background-color:#fff;display:block;border:1px solid var(--bs-gray-200);border-radius:5px;width:auto}.ddc-row{display:flex;flex:1;align-items:center;gap:1rem}.ddc-item{display:flex;flex-direction:row;gap:1rem;align-items:center;font-size:1rem;font-weight:400;cursor:pointer;padding:.2rem .5rem;width:auto;min-width:150px}.ddc-item:hover{background-color:var(--bs-gray-200)}.ddc-label{display:flex;flex:1}.ddc-icon{display:flex}.dropdown-toggle:after{margin:auto}.ddm-menu{position:absolute;z-index:1000;background-color:#fff;display:block;border:1px solid var(--bs-gray-200);border-radius:5px}.ddm-item{display:flex;gap:1rem;align-items:center;cursor:pointer;padding:.5rem;max-height:400px}.ddm-item:hover{background-color:var(--bs-gray-400)}.ddm-item:active{background-color:var(--bs-gray-200)}.ddm-label{display:flex;flex:1;justify-content:center;align-items:center;min-height:1.5rem}.fltrc-container{display:flex;flex:1;flex-direction:row;gap:1rem}.fltrctrl-container{display:flex;flex:1}.form-date{display:flex;flex-shrink:1;width:100%;padding:.375rem .75rem;font-size:1rem;font-weight:400;line-height:1.5;color:var(--bs-body-color);appearance:none;background-color:var(--bs-body-bg);background-clip:padding-box;border:var(--bs-border-width) solid var(--bs-border-color);border-radius:var(--bs-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}.ib-container{display:flex;justify-content:end;padding-right:1rem}.ib-button{height:2rem;width:2rem;border-radius:1rem;cursor:pointer;display:flex;align-items:center;justify-content:center}.ib-button:hover{background-color:var(--bs-gray-400)}.ib-button:active{background-color:var(--bs-gray-200)}.ib-button-active{background-color:var(--bs-gray-100)}.ib-button-big{font-size:1.5rem}.pc-container{display:flex;gap:.5rem;padding:1rem;justify-content:center;align-items:center}.pc-input{max-width:200px}.pc-dropdown{max-width:100px;min-width:50px}.t2l-table-view{display:flex;flex-direction:column}.t2l-table-header-label{background-color:var(--bs-gray-200);font-weight:700;border-bottom:1px solid var(--bs-gray-400);padding:.5rem;flex-direction:row;align-items:center}.t2l-table-header-filter{background-color:var(--bs-gray-200);font-weight:700;border-bottom:1px solid var(--bs-gray-400);padding:.3rem;flex-direction:row;align-items:center}.t2l-rows{flex-direction:column;flex:1;overflow-y:auto}.t2l-row{border-bottom:1px solid var(--bs-gray-400);padding:.3rem;display:flex;flex-direction:row}.t2l-cell{padding:.3rem;display:flex;flex:1;align-items:center}.t2l-select{padding:.3rem;display:flex;flex:1;align-items:center;max-width:3rem}.t2l-cell-label{display:none}.t2l-actions{display:flex;flex-direction:row;gap:.5rem}.t2l-card-view{display:none;flex-direction:column}.t2l-card-col{display:flex;flex-direction:column;flex:1;gap:1rem;overflow-y:auto;align-items:start}.t2l-card-select{display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1;max-width:2rem}.t2l-card-filters{flex-direction:column;gap:.5rem;padding:.5rem;background-color:var(--bs-gray-200)}.t2l-property{display:flex;flex-direction:column;flex:1}.t2l-label{font-weight:700}.t2l-footer{padding:1rem;background-color:var(--bs-gray-200)}@media (max-width: 1024px){.t2l-table-view{display:none}.t2l-card-view{display:flex}}.options-header{cursor:pointer;font-size:.8rem;padding:.2rem;border-top:1px solid var(--bs-gray-200);border-right:1px solid var(--bs-gray-200);border-top-right-radius:3px}.options-header:hover{opacity:.7}.options-body{font-size:.8rem;padding:1rem;background-color:var(--bs-gray-100)}.options-header-label{font-weight:700}.toast-info{background:var(--bs-blue);color:#fff}.toast-success{background:var(--bs-green);color:#fff}.toast-warning{background:var(--bs-orange);color:#fff}.toast-error{background:var(--bs-red);color:#fff}.toast-zindex{z-index:1100}.cbl-container[data-v-ae2832c5]{display:flex;flex-direction:column}.cbl-childrend-container[data-v-ae2832c5]{display:flex;flex-direction:column;padding-left:1rem}
|