nuxt-glorious 1.2.0 → 1.2.9-5
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/module.d.mts +38 -1
- package/dist/module.d.ts +38 -1
- package/dist/module.json +2 -2
- package/dist/module.mjs +45 -36
- package/dist/runtime/assets/icons/glorious-eye-fill.svg +1 -1
- package/dist/runtime/assets/icons/glorious-eye-off-fill.svg +1 -1
- package/dist/runtime/assets/icons/glorious-star-fill.svg +3 -0
- package/dist/runtime/assets/icons/glorious-star-half.svg +3 -0
- package/dist/runtime/assets/icons/glorious-star-line.svg +3 -0
- package/dist/runtime/components/G/Alert.vue +16 -0
- package/dist/runtime/components/G/Avatar.vue +16 -0
- package/dist/runtime/components/G/Breadcrumb.vue +37 -0
- package/dist/runtime/components/G/Button.vue +13 -154
- package/dist/runtime/components/G/Checkbox.vue +26 -0
- package/dist/runtime/components/G/CountDown.vue +33 -43
- package/dist/runtime/components/G/Drawer.vue +16 -75
- package/dist/runtime/components/G/Dropdown.vue +17 -31
- package/dist/runtime/components/G/ErrorText.vue +7 -11
- package/dist/runtime/components/G/File.vue +25 -117
- package/dist/runtime/components/G/Icon.vue +125 -0
- package/dist/runtime/components/G/Input.vue +126 -250
- package/dist/runtime/components/G/Loading.vue +4 -21
- package/dist/runtime/components/G/Modal.vue +51 -138
- package/dist/runtime/components/G/Paginate.vue +24 -57
- package/dist/runtime/components/G/Radio.vue +18 -27
- package/dist/runtime/components/G/Rating.vue +30 -0
- package/dist/runtime/components/G/Select.vue +27 -112
- package/dist/runtime/components/G/Switch.vue +28 -0
- package/dist/runtime/components/G/Tab.vue +80 -44
- package/dist/runtime/components/G/Table.vue +62 -0
- package/dist/runtime/components/G/textarea.vue +17 -120
- package/dist/runtime/components/G/timeline.vue +28 -0
- package/dist/runtime/components/helper.d.ts +3 -0
- package/dist/runtime/components/helper.mjs +37 -0
- package/dist/runtime/components/props/Alert.d.ts +8 -0
- package/dist/runtime/components/props/Alert.mjs +4 -0
- package/dist/runtime/components/props/Avatar.d.ts +12 -0
- package/dist/runtime/components/props/Avatar.mjs +9 -0
- package/dist/runtime/components/props/Breadcrumb.d.ts +26 -0
- package/dist/runtime/components/props/Breadcrumb.mjs +11 -0
- package/dist/runtime/components/props/Button.d.ts +47 -0
- package/dist/runtime/components/props/Button.mjs +14 -0
- package/dist/runtime/components/props/CheckBox.d.ts +23 -0
- package/dist/runtime/components/props/CheckBox.mjs +7 -0
- package/dist/runtime/components/props/CountDown.d.ts +7 -0
- package/dist/runtime/components/props/CountDown.mjs +6 -0
- package/dist/runtime/components/props/Drawer.d.ts +8 -0
- package/dist/runtime/components/props/Drawer.mjs +7 -0
- package/dist/runtime/components/props/ErrorText.d.ts +8 -0
- package/dist/runtime/components/props/ErrorText.mjs +4 -0
- package/dist/runtime/components/props/File.d.ts +28 -0
- package/dist/runtime/components/props/File.mjs +9 -0
- package/dist/runtime/components/props/Icon.d.ts +23 -0
- package/dist/runtime/components/props/Icon.mjs +7 -0
- package/dist/runtime/components/props/Input.d.ts +91 -0
- package/dist/runtime/components/props/Input.mjs +50 -0
- package/dist/runtime/components/props/Loading.d.ts +18 -0
- package/dist/runtime/components/props/Loading.mjs +6 -0
- package/dist/runtime/components/props/Modal.d.ts +48 -0
- package/dist/runtime/components/props/Modal.mjs +38 -0
- package/dist/runtime/components/props/Paginate.d.ts +18 -0
- package/dist/runtime/components/props/Paginate.mjs +17 -0
- package/dist/runtime/components/props/Radio.d.ts +33 -0
- package/dist/runtime/components/props/Radio.mjs +9 -0
- package/dist/runtime/components/props/Select.d.ts +61 -0
- package/dist/runtime/components/props/Select.mjs +23 -0
- package/dist/runtime/components/props/Switch.d.ts +13 -0
- package/dist/runtime/components/props/Switch.mjs +5 -0
- package/dist/runtime/components/props/Tab.d.ts +21 -0
- package/dist/runtime/components/props/Tab.mjs +7 -0
- package/dist/runtime/components/props/Table.d.ts +49 -0
- package/dist/runtime/components/props/Table.mjs +19 -0
- package/dist/runtime/components/props/Textarea.d.ts +38 -0
- package/dist/runtime/components/props/Textarea.mjs +14 -0
- package/dist/runtime/components/props/Timeline.d.ts +11 -0
- package/dist/runtime/components/props/Timeline.mjs +7 -0
- package/dist/runtime/components/props/common/index.d.ts +161 -0
- package/dist/runtime/components/props/common/index.mjs +147 -0
- package/dist/runtime/composables/useGloriousCore.d.ts +1 -1
- package/dist/runtime/composables/useGloriousCore.mjs +1 -1
- package/dist/runtime/composables/useGloriousFetch.d.ts +4 -3
- package/dist/runtime/composables/useGloriousFetch.mjs +6 -5
- package/dist/runtime/middlewares/AuthStrategy.mjs +2 -6
- package/dist/runtime/middlewares/ResponseGloriousStore.mjs +9 -0
- package/dist/runtime/plugins/InputComponent.d.ts +2 -0
- package/dist/runtime/plugins/InputComponent.mjs +13 -0
- package/dist/runtime/plugins/module.d.ts +4 -0
- package/dist/runtime/plugins/module.mjs +94 -0
- package/dist/runtime/stores/GloriousStore.d.ts +0 -1
- package/dist/runtime/stores/GloriousStore.mjs +3 -13
- package/dist/runtime/style/components/alert.css +33 -0
- package/dist/runtime/style/components/alert.scss +7 -0
- package/dist/runtime/style/components/avatar.css +57 -0
- package/dist/runtime/style/components/avatar.scss +13 -0
- package/dist/runtime/style/components/breadcrumb.css +6 -0
- package/dist/runtime/style/components/breadcrumb.scss +6 -0
- package/dist/runtime/style/components/button.css +113 -0
- package/dist/runtime/style/components/button.scss +30 -0
- package/dist/runtime/style/components/checkbox.css +94 -0
- package/dist/runtime/style/components/checkbox.scss +52 -0
- package/dist/runtime/{assets/style → style}/components/drawer.css +14 -18
- package/dist/runtime/style/components/drawer.scss +57 -0
- package/dist/runtime/style/components/dropdown.scss +19 -0
- package/dist/runtime/style/components/editor.scss +4 -0
- package/dist/runtime/style/components/file.css +134 -0
- package/dist/runtime/style/components/file.scss +19 -0
- package/dist/runtime/style/components/input.css +187 -0
- package/dist/runtime/style/components/input.scss +87 -0
- package/dist/runtime/style/components/loading.css +43 -0
- package/dist/runtime/style/components/loading.scss +92 -0
- package/dist/runtime/style/components/modal.css +66 -0
- package/dist/runtime/style/components/modal.scss +76 -0
- package/dist/runtime/style/components/paginate.scss +18 -0
- package/dist/runtime/style/components/radio.css +121 -0
- package/dist/runtime/style/components/radio.scss +59 -0
- package/dist/runtime/style/components/rating.css +26 -0
- package/dist/runtime/style/components/rating.scss +25 -0
- package/dist/runtime/style/components/select.css +46 -0
- package/dist/runtime/style/components/select.scss +40 -0
- package/dist/runtime/style/components/switch.css +61 -0
- package/dist/runtime/style/components/switch.scss +74 -0
- package/dist/runtime/{assets/style → style}/components/tab.css +3 -3
- package/dist/runtime/style/components/tab.scss +11 -0
- package/dist/runtime/style/components/table.css +99 -0
- package/dist/runtime/style/components/table.scss +41 -0
- package/dist/runtime/style/components/textarea.css +64 -0
- package/dist/runtime/style/components/textarea.scss +43 -0
- package/dist/runtime/style/components/timeline.css +47 -0
- package/dist/runtime/style/components/timeline.scss +40 -0
- package/dist/runtime/style/mixin.css +0 -0
- package/dist/runtime/style/mixin.scss +40 -0
- package/dist/runtime/style/variable.css +0 -0
- package/dist/runtime/style/variable.scss +19 -0
- package/dist/types.d.mts +2 -10
- package/dist/types.d.ts +2 -10
- package/package.json +9 -7
- package/dist/runtime/assets/style/components/buttons.css +0 -107
- package/dist/runtime/assets/style/components/file.css +0 -65
- package/dist/runtime/assets/style/components/input.css +0 -91
- package/dist/runtime/assets/style/components/modal.css +0 -57
- package/dist/runtime/assets/style/components/select.css +0 -54
- package/dist/runtime/assets/style/components/textarea.css +0 -64
- package/dist/runtime/components/G/Breadcrump.vue +0 -46
- package/dist/runtime/components/G/Icon/index.vue +0 -143
- package/dist/runtime/plugins/Drawer.mjs +0 -35
- package/dist/runtime/utils/gTailwindColor.d.ts +0 -1
- package/dist/runtime/utils/gTailwindColor.mjs +0 -5
- /package/dist/runtime/{plugins/Drawer.d.ts → middlewares/ResponseGloriousStore.d.ts} +0 -0
- /package/dist/runtime/{assets/style → style}/components/dropdown.css +0 -0
- /package/dist/runtime/{assets/style → style}/components/editor.css +0 -0
- /package/dist/runtime/{assets/style → style}/components/paginate.css +0 -0
@@ -0,0 +1,28 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
size: {
|
3
|
+
required: boolean;
|
4
|
+
default: import("../../../types").sizes;
|
5
|
+
type: () => import("../../../types").sizes;
|
6
|
+
};
|
7
|
+
text: {
|
8
|
+
required: boolean;
|
9
|
+
default: string;
|
10
|
+
type: StringConstructor;
|
11
|
+
};
|
12
|
+
title: {
|
13
|
+
required: boolean;
|
14
|
+
default: string;
|
15
|
+
type: StringConstructor;
|
16
|
+
};
|
17
|
+
placeholder: {
|
18
|
+
required: boolean;
|
19
|
+
default: string;
|
20
|
+
type: StringConstructor;
|
21
|
+
};
|
22
|
+
error: {
|
23
|
+
required: boolean;
|
24
|
+
default: string;
|
25
|
+
type: StringConstructor;
|
26
|
+
};
|
27
|
+
};
|
28
|
+
export default _default;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
stroke: {
|
3
|
+
required: boolean;
|
4
|
+
type: (NumberConstructor | null)[];
|
5
|
+
default: number | null;
|
6
|
+
};
|
7
|
+
size: {
|
8
|
+
required: boolean;
|
9
|
+
type: NumberConstructor;
|
10
|
+
default: number;
|
11
|
+
};
|
12
|
+
color: {
|
13
|
+
required: boolean;
|
14
|
+
type: StringConstructor;
|
15
|
+
default: string;
|
16
|
+
};
|
17
|
+
name: {
|
18
|
+
required: boolean;
|
19
|
+
type: StringConstructor;
|
20
|
+
default: string;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
export default _default;
|
@@ -0,0 +1,91 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
type: {
|
3
|
+
required: boolean;
|
4
|
+
default: string;
|
5
|
+
type: () => "button" | "checkbox" | "color" | "date" | "email" | "file" | "hidden" | "password" | "radio" | "range" | "tel" | "text" | "url" | "number";
|
6
|
+
};
|
7
|
+
autocomplete: {
|
8
|
+
required: boolean;
|
9
|
+
default: string;
|
10
|
+
type: () => "off" | "on" | "new-password";
|
11
|
+
};
|
12
|
+
display: {
|
13
|
+
required: boolean;
|
14
|
+
default: string;
|
15
|
+
type: () => "price";
|
16
|
+
};
|
17
|
+
inputMode: {
|
18
|
+
required: boolean;
|
19
|
+
default: string;
|
20
|
+
type: () => "text" | "none" | "decimal" | "numeric" | "tel" | "search" | "email" | "url";
|
21
|
+
};
|
22
|
+
mode: {
|
23
|
+
required: boolean;
|
24
|
+
default: string;
|
25
|
+
type: () => "normal" | "tag";
|
26
|
+
};
|
27
|
+
tagLockOption: {
|
28
|
+
required: boolean;
|
29
|
+
default: boolean;
|
30
|
+
type: BooleanConstructor;
|
31
|
+
};
|
32
|
+
options: {
|
33
|
+
required: boolean;
|
34
|
+
default: never[];
|
35
|
+
type: {
|
36
|
+
(arrayLength: number): object[];
|
37
|
+
(...items: object[]): object[];
|
38
|
+
new (arrayLength: number): object[];
|
39
|
+
new (...items: object[]): object[];
|
40
|
+
isArray(arg: any): arg is any[];
|
41
|
+
readonly prototype: any[];
|
42
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
43
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
44
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
45
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
46
|
+
of<T>(...items: T[]): T[];
|
47
|
+
readonly [Symbol.species]: ArrayConstructor;
|
48
|
+
};
|
49
|
+
};
|
50
|
+
loadingOptions: {
|
51
|
+
required: boolean;
|
52
|
+
default: boolean;
|
53
|
+
type: BooleanConstructor;
|
54
|
+
};
|
55
|
+
disabled: {
|
56
|
+
required: boolean;
|
57
|
+
default: boolean;
|
58
|
+
type: BooleanConstructor;
|
59
|
+
};
|
60
|
+
icon: {
|
61
|
+
required: boolean;
|
62
|
+
default: string;
|
63
|
+
type: StringConstructor;
|
64
|
+
};
|
65
|
+
error: {
|
66
|
+
required: boolean;
|
67
|
+
default: string;
|
68
|
+
type: StringConstructor;
|
69
|
+
};
|
70
|
+
size: {
|
71
|
+
required: boolean;
|
72
|
+
default: import("../../../types").sizes;
|
73
|
+
type: () => import("../../../types").sizes;
|
74
|
+
};
|
75
|
+
title: {
|
76
|
+
required: boolean;
|
77
|
+
default: string;
|
78
|
+
type: StringConstructor;
|
79
|
+
};
|
80
|
+
placeholder: {
|
81
|
+
required: boolean;
|
82
|
+
default: string;
|
83
|
+
type: StringConstructor;
|
84
|
+
};
|
85
|
+
color: {
|
86
|
+
required: boolean;
|
87
|
+
default: string;
|
88
|
+
type: () => import("../../../types").colors;
|
89
|
+
};
|
90
|
+
};
|
91
|
+
export default _default;
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import {
|
2
|
+
color,
|
3
|
+
placeholder,
|
4
|
+
title,
|
5
|
+
size,
|
6
|
+
error,
|
7
|
+
icon,
|
8
|
+
disabled,
|
9
|
+
options
|
10
|
+
} from "./common/index.mjs";
|
11
|
+
export default {
|
12
|
+
...color(),
|
13
|
+
...placeholder(),
|
14
|
+
...title(),
|
15
|
+
...size(),
|
16
|
+
...error,
|
17
|
+
...icon,
|
18
|
+
...disabled,
|
19
|
+
...options,
|
20
|
+
type: {
|
21
|
+
required: false,
|
22
|
+
default: "text",
|
23
|
+
type: String
|
24
|
+
},
|
25
|
+
autocomplete: {
|
26
|
+
required: false,
|
27
|
+
default: "off",
|
28
|
+
type: String
|
29
|
+
},
|
30
|
+
display: {
|
31
|
+
required: false,
|
32
|
+
default: "",
|
33
|
+
type: String
|
34
|
+
},
|
35
|
+
inputMode: {
|
36
|
+
required: false,
|
37
|
+
default: "text",
|
38
|
+
type: String
|
39
|
+
},
|
40
|
+
mode: {
|
41
|
+
required: false,
|
42
|
+
default: "normal",
|
43
|
+
type: String
|
44
|
+
},
|
45
|
+
tagLockOption: {
|
46
|
+
required: false,
|
47
|
+
default: false,
|
48
|
+
type: Boolean
|
49
|
+
}
|
50
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
stroke: {
|
3
|
+
required: boolean;
|
4
|
+
type: (NumberConstructor | null)[];
|
5
|
+
default: number | null;
|
6
|
+
};
|
7
|
+
size: {
|
8
|
+
required: boolean;
|
9
|
+
type: NumberConstructor;
|
10
|
+
default: number;
|
11
|
+
};
|
12
|
+
color: {
|
13
|
+
required: boolean;
|
14
|
+
default: string;
|
15
|
+
type: () => import("../../../types").colors;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
export default _default;
|
@@ -0,0 +1,48 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
okBtn: {
|
3
|
+
required: boolean;
|
4
|
+
default: string;
|
5
|
+
type: StringConstructor;
|
6
|
+
};
|
7
|
+
okBtnLoading: {
|
8
|
+
required: boolean;
|
9
|
+
default: boolean;
|
10
|
+
type: BooleanConstructor;
|
11
|
+
};
|
12
|
+
closeBtn: {
|
13
|
+
required: boolean;
|
14
|
+
default: string;
|
15
|
+
type: StringConstructor;
|
16
|
+
};
|
17
|
+
rtl: {
|
18
|
+
required: boolean;
|
19
|
+
default: string;
|
20
|
+
type: () => "rtl" | "ltr";
|
21
|
+
};
|
22
|
+
blur: {
|
23
|
+
required: boolean;
|
24
|
+
default: boolean;
|
25
|
+
type: BooleanConstructor;
|
26
|
+
};
|
27
|
+
blurClose: {
|
28
|
+
required: boolean;
|
29
|
+
default: boolean;
|
30
|
+
type: BooleanConstructor;
|
31
|
+
};
|
32
|
+
colorBtn: {
|
33
|
+
required: boolean;
|
34
|
+
default: string;
|
35
|
+
type: () => import("../../../types").colors;
|
36
|
+
};
|
37
|
+
title: {
|
38
|
+
required: boolean;
|
39
|
+
default: string;
|
40
|
+
type: StringConstructor;
|
41
|
+
};
|
42
|
+
size: {
|
43
|
+
required: boolean;
|
44
|
+
default: import("../../../types").sizes;
|
45
|
+
type: () => import("../../../types").sizes;
|
46
|
+
};
|
47
|
+
};
|
48
|
+
export default _default;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { size, title, color } from "./common/index.mjs";
|
2
|
+
export default {
|
3
|
+
...size(),
|
4
|
+
...title(),
|
5
|
+
okBtn: {
|
6
|
+
required: false,
|
7
|
+
default: "",
|
8
|
+
type: String
|
9
|
+
},
|
10
|
+
okBtnLoading: {
|
11
|
+
required: false,
|
12
|
+
default: false,
|
13
|
+
type: Boolean
|
14
|
+
},
|
15
|
+
closeBtn: {
|
16
|
+
required: false,
|
17
|
+
default: "",
|
18
|
+
type: String
|
19
|
+
},
|
20
|
+
rtl: {
|
21
|
+
required: false,
|
22
|
+
default: "rtl",
|
23
|
+
type: String
|
24
|
+
},
|
25
|
+
blur: {
|
26
|
+
required: false,
|
27
|
+
default: true,
|
28
|
+
type: Boolean
|
29
|
+
},
|
30
|
+
blurClose: {
|
31
|
+
required: false,
|
32
|
+
default: true,
|
33
|
+
type: Boolean
|
34
|
+
},
|
35
|
+
colorBtn: {
|
36
|
+
...color().color
|
37
|
+
}
|
38
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
currentPage: {
|
3
|
+
required: boolean;
|
4
|
+
type: NumberConstructor;
|
5
|
+
default: number;
|
6
|
+
};
|
7
|
+
lastPage: {
|
8
|
+
required: boolean;
|
9
|
+
type: NumberConstructor;
|
10
|
+
default: number;
|
11
|
+
};
|
12
|
+
numberSuggestPage: {
|
13
|
+
required: boolean;
|
14
|
+
type: NumberConstructor;
|
15
|
+
default: number;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
export default _default;
|
@@ -0,0 +1,33 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
size: {
|
3
|
+
required: boolean;
|
4
|
+
default: import("../../../types").sizes;
|
5
|
+
type: () => import("../../../types").sizes;
|
6
|
+
};
|
7
|
+
value: {
|
8
|
+
required: boolean;
|
9
|
+
default: string;
|
10
|
+
type: StringConstructor;
|
11
|
+
};
|
12
|
+
color: {
|
13
|
+
required: boolean;
|
14
|
+
default: string;
|
15
|
+
type: () => import("../../../types").colors;
|
16
|
+
};
|
17
|
+
checked: {
|
18
|
+
required: boolean;
|
19
|
+
default: boolean;
|
20
|
+
type: BooleanConstructor;
|
21
|
+
};
|
22
|
+
name: {
|
23
|
+
required: boolean;
|
24
|
+
type: StringConstructor;
|
25
|
+
default: string;
|
26
|
+
};
|
27
|
+
disabled: {
|
28
|
+
required: boolean;
|
29
|
+
default: boolean;
|
30
|
+
type: BooleanConstructor;
|
31
|
+
};
|
32
|
+
};
|
33
|
+
export default _default;
|
@@ -0,0 +1,61 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
displayTextKey: {
|
3
|
+
required: boolean;
|
4
|
+
default: string;
|
5
|
+
type: StringConstructor;
|
6
|
+
};
|
7
|
+
options: {
|
8
|
+
required: boolean;
|
9
|
+
default: never[];
|
10
|
+
type: {
|
11
|
+
(arrayLength: number): object[];
|
12
|
+
(...items: object[]): object[];
|
13
|
+
new (arrayLength: number): object[];
|
14
|
+
new (...items: object[]): object[];
|
15
|
+
isArray(arg: any): arg is any[];
|
16
|
+
readonly prototype: any[];
|
17
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
18
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
19
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
20
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
21
|
+
of<T>(...items: T[]): T[];
|
22
|
+
readonly [Symbol.species]: ArrayConstructor;
|
23
|
+
};
|
24
|
+
};
|
25
|
+
loadingOptions: {
|
26
|
+
required: boolean;
|
27
|
+
default: boolean;
|
28
|
+
type: BooleanConstructor;
|
29
|
+
};
|
30
|
+
disabled: {
|
31
|
+
required: boolean;
|
32
|
+
default: boolean;
|
33
|
+
type: BooleanConstructor;
|
34
|
+
};
|
35
|
+
error: {
|
36
|
+
required: boolean;
|
37
|
+
default: string;
|
38
|
+
type: StringConstructor;
|
39
|
+
};
|
40
|
+
color: {
|
41
|
+
required: boolean;
|
42
|
+
default: string;
|
43
|
+
type: () => import("../../../types").colors;
|
44
|
+
};
|
45
|
+
placeholder: {
|
46
|
+
required: boolean;
|
47
|
+
default: string;
|
48
|
+
type: StringConstructor;
|
49
|
+
};
|
50
|
+
title: {
|
51
|
+
required: boolean;
|
52
|
+
default: string;
|
53
|
+
type: StringConstructor;
|
54
|
+
};
|
55
|
+
size: {
|
56
|
+
required: boolean;
|
57
|
+
default: import("../../../types").sizes;
|
58
|
+
type: () => import("../../../types").sizes;
|
59
|
+
};
|
60
|
+
};
|
61
|
+
export default _default;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import {
|
2
|
+
options,
|
3
|
+
color,
|
4
|
+
size,
|
5
|
+
title,
|
6
|
+
error,
|
7
|
+
disabled,
|
8
|
+
placeholder
|
9
|
+
} from "./common/index.mjs";
|
10
|
+
export default {
|
11
|
+
...size(),
|
12
|
+
...title(),
|
13
|
+
...placeholder(),
|
14
|
+
...color(),
|
15
|
+
...error,
|
16
|
+
...disabled,
|
17
|
+
...options,
|
18
|
+
displayTextKey: {
|
19
|
+
required: false,
|
20
|
+
default: "text",
|
21
|
+
type: String
|
22
|
+
}
|
23
|
+
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
items: {
|
3
|
+
required: boolean;
|
4
|
+
default: never[];
|
5
|
+
type: {
|
6
|
+
(arrayLength: number): object[];
|
7
|
+
(...items: object[]): object[];
|
8
|
+
new (arrayLength: number): object[];
|
9
|
+
new (...items: object[]): object[];
|
10
|
+
isArray(arg: any): arg is any[];
|
11
|
+
readonly prototype: any[];
|
12
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
13
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
14
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
15
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
16
|
+
of<T>(...items: T[]): T[];
|
17
|
+
readonly [Symbol.species]: ArrayConstructor;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
};
|
21
|
+
export default _default;
|
@@ -0,0 +1,49 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
header: {
|
3
|
+
required: boolean;
|
4
|
+
type: ObjectConstructor;
|
5
|
+
};
|
6
|
+
body: {
|
7
|
+
required: boolean;
|
8
|
+
type: {
|
9
|
+
(arrayLength: number): Object[];
|
10
|
+
(...items: Object[]): Object[];
|
11
|
+
new (arrayLength: number): Object[];
|
12
|
+
new (...items: Object[]): Object[];
|
13
|
+
isArray(arg: any): arg is any[];
|
14
|
+
readonly prototype: any[];
|
15
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
16
|
+
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
17
|
+
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
18
|
+
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
19
|
+
of<T>(...items: T[]): T[];
|
20
|
+
readonly [Symbol.species]: ArrayConstructor;
|
21
|
+
};
|
22
|
+
default: never[];
|
23
|
+
};
|
24
|
+
emptyText: {
|
25
|
+
required: boolean;
|
26
|
+
default: string;
|
27
|
+
type: StringConstructor;
|
28
|
+
};
|
29
|
+
loading: {
|
30
|
+
required: boolean;
|
31
|
+
default: boolean;
|
32
|
+
type: BooleanConstructor;
|
33
|
+
};
|
34
|
+
loadingOption: {
|
35
|
+
required: boolean;
|
36
|
+
default: {
|
37
|
+
color: string;
|
38
|
+
};
|
39
|
+
type: {
|
40
|
+
color: StringConstructor;
|
41
|
+
};
|
42
|
+
};
|
43
|
+
color: {
|
44
|
+
required: boolean;
|
45
|
+
default: string;
|
46
|
+
type: () => import("../../../types").colors;
|
47
|
+
};
|
48
|
+
};
|
49
|
+
export default _default;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { color, loading } from "./common/index.mjs";
|
2
|
+
export default {
|
3
|
+
...color(),
|
4
|
+
...loading,
|
5
|
+
header: {
|
6
|
+
required: true,
|
7
|
+
type: Object
|
8
|
+
},
|
9
|
+
body: {
|
10
|
+
required: true,
|
11
|
+
type: Array,
|
12
|
+
default: []
|
13
|
+
},
|
14
|
+
emptyText: {
|
15
|
+
required: false,
|
16
|
+
default: "! no record found",
|
17
|
+
type: String
|
18
|
+
}
|
19
|
+
};
|
@@ -0,0 +1,38 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
rows: {
|
3
|
+
required: boolean;
|
4
|
+
default: number;
|
5
|
+
type: NumberConstructor;
|
6
|
+
};
|
7
|
+
disabled: {
|
8
|
+
required: boolean;
|
9
|
+
default: boolean;
|
10
|
+
type: BooleanConstructor;
|
11
|
+
};
|
12
|
+
error: {
|
13
|
+
required: boolean;
|
14
|
+
default: string;
|
15
|
+
type: StringConstructor;
|
16
|
+
};
|
17
|
+
size: {
|
18
|
+
required: boolean;
|
19
|
+
default: import("../../../types").sizes;
|
20
|
+
type: () => import("../../../types").sizes;
|
21
|
+
};
|
22
|
+
title: {
|
23
|
+
required: boolean;
|
24
|
+
default: string;
|
25
|
+
type: StringConstructor;
|
26
|
+
};
|
27
|
+
placeholder: {
|
28
|
+
required: boolean;
|
29
|
+
default: string;
|
30
|
+
type: StringConstructor;
|
31
|
+
};
|
32
|
+
color: {
|
33
|
+
required: boolean;
|
34
|
+
default: string;
|
35
|
+
type: () => import("../../../types").colors;
|
36
|
+
};
|
37
|
+
};
|
38
|
+
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { color, placeholder, title, size, error, disabled } from "./common/index.mjs";
|
2
|
+
export default {
|
3
|
+
...color(),
|
4
|
+
...placeholder(),
|
5
|
+
...title(),
|
6
|
+
...size(),
|
7
|
+
...error,
|
8
|
+
...disabled,
|
9
|
+
rows: {
|
10
|
+
required: false,
|
11
|
+
default: 5,
|
12
|
+
type: Number
|
13
|
+
}
|
14
|
+
};
|