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.
Files changed (151) hide show
  1. package/dist/module.d.mts +38 -1
  2. package/dist/module.d.ts +38 -1
  3. package/dist/module.json +2 -2
  4. package/dist/module.mjs +45 -36
  5. package/dist/runtime/assets/icons/glorious-eye-fill.svg +1 -1
  6. package/dist/runtime/assets/icons/glorious-eye-off-fill.svg +1 -1
  7. package/dist/runtime/assets/icons/glorious-star-fill.svg +3 -0
  8. package/dist/runtime/assets/icons/glorious-star-half.svg +3 -0
  9. package/dist/runtime/assets/icons/glorious-star-line.svg +3 -0
  10. package/dist/runtime/components/G/Alert.vue +16 -0
  11. package/dist/runtime/components/G/Avatar.vue +16 -0
  12. package/dist/runtime/components/G/Breadcrumb.vue +37 -0
  13. package/dist/runtime/components/G/Button.vue +13 -154
  14. package/dist/runtime/components/G/Checkbox.vue +26 -0
  15. package/dist/runtime/components/G/CountDown.vue +33 -43
  16. package/dist/runtime/components/G/Drawer.vue +16 -75
  17. package/dist/runtime/components/G/Dropdown.vue +17 -31
  18. package/dist/runtime/components/G/ErrorText.vue +7 -11
  19. package/dist/runtime/components/G/File.vue +25 -117
  20. package/dist/runtime/components/G/Icon.vue +125 -0
  21. package/dist/runtime/components/G/Input.vue +126 -250
  22. package/dist/runtime/components/G/Loading.vue +4 -21
  23. package/dist/runtime/components/G/Modal.vue +51 -138
  24. package/dist/runtime/components/G/Paginate.vue +24 -57
  25. package/dist/runtime/components/G/Radio.vue +18 -27
  26. package/dist/runtime/components/G/Rating.vue +30 -0
  27. package/dist/runtime/components/G/Select.vue +27 -112
  28. package/dist/runtime/components/G/Switch.vue +28 -0
  29. package/dist/runtime/components/G/Tab.vue +80 -44
  30. package/dist/runtime/components/G/Table.vue +62 -0
  31. package/dist/runtime/components/G/textarea.vue +17 -120
  32. package/dist/runtime/components/G/timeline.vue +28 -0
  33. package/dist/runtime/components/helper.d.ts +3 -0
  34. package/dist/runtime/components/helper.mjs +37 -0
  35. package/dist/runtime/components/props/Alert.d.ts +8 -0
  36. package/dist/runtime/components/props/Alert.mjs +4 -0
  37. package/dist/runtime/components/props/Avatar.d.ts +12 -0
  38. package/dist/runtime/components/props/Avatar.mjs +9 -0
  39. package/dist/runtime/components/props/Breadcrumb.d.ts +26 -0
  40. package/dist/runtime/components/props/Breadcrumb.mjs +11 -0
  41. package/dist/runtime/components/props/Button.d.ts +47 -0
  42. package/dist/runtime/components/props/Button.mjs +14 -0
  43. package/dist/runtime/components/props/CheckBox.d.ts +23 -0
  44. package/dist/runtime/components/props/CheckBox.mjs +7 -0
  45. package/dist/runtime/components/props/CountDown.d.ts +7 -0
  46. package/dist/runtime/components/props/CountDown.mjs +6 -0
  47. package/dist/runtime/components/props/Drawer.d.ts +8 -0
  48. package/dist/runtime/components/props/Drawer.mjs +7 -0
  49. package/dist/runtime/components/props/ErrorText.d.ts +8 -0
  50. package/dist/runtime/components/props/ErrorText.mjs +4 -0
  51. package/dist/runtime/components/props/File.d.ts +28 -0
  52. package/dist/runtime/components/props/File.mjs +9 -0
  53. package/dist/runtime/components/props/Icon.d.ts +23 -0
  54. package/dist/runtime/components/props/Icon.mjs +7 -0
  55. package/dist/runtime/components/props/Input.d.ts +91 -0
  56. package/dist/runtime/components/props/Input.mjs +50 -0
  57. package/dist/runtime/components/props/Loading.d.ts +18 -0
  58. package/dist/runtime/components/props/Loading.mjs +6 -0
  59. package/dist/runtime/components/props/Modal.d.ts +48 -0
  60. package/dist/runtime/components/props/Modal.mjs +38 -0
  61. package/dist/runtime/components/props/Paginate.d.ts +18 -0
  62. package/dist/runtime/components/props/Paginate.mjs +17 -0
  63. package/dist/runtime/components/props/Radio.d.ts +33 -0
  64. package/dist/runtime/components/props/Radio.mjs +9 -0
  65. package/dist/runtime/components/props/Select.d.ts +61 -0
  66. package/dist/runtime/components/props/Select.mjs +23 -0
  67. package/dist/runtime/components/props/Switch.d.ts +13 -0
  68. package/dist/runtime/components/props/Switch.mjs +5 -0
  69. package/dist/runtime/components/props/Tab.d.ts +21 -0
  70. package/dist/runtime/components/props/Tab.mjs +7 -0
  71. package/dist/runtime/components/props/Table.d.ts +49 -0
  72. package/dist/runtime/components/props/Table.mjs +19 -0
  73. package/dist/runtime/components/props/Textarea.d.ts +38 -0
  74. package/dist/runtime/components/props/Textarea.mjs +14 -0
  75. package/dist/runtime/components/props/Timeline.d.ts +11 -0
  76. package/dist/runtime/components/props/Timeline.mjs +7 -0
  77. package/dist/runtime/components/props/common/index.d.ts +161 -0
  78. package/dist/runtime/components/props/common/index.mjs +147 -0
  79. package/dist/runtime/composables/useGloriousCore.d.ts +1 -1
  80. package/dist/runtime/composables/useGloriousCore.mjs +1 -1
  81. package/dist/runtime/composables/useGloriousFetch.d.ts +4 -3
  82. package/dist/runtime/composables/useGloriousFetch.mjs +6 -5
  83. package/dist/runtime/middlewares/AuthStrategy.mjs +2 -6
  84. package/dist/runtime/middlewares/ResponseGloriousStore.mjs +9 -0
  85. package/dist/runtime/plugins/InputComponent.d.ts +2 -0
  86. package/dist/runtime/plugins/InputComponent.mjs +13 -0
  87. package/dist/runtime/plugins/module.d.ts +4 -0
  88. package/dist/runtime/plugins/module.mjs +94 -0
  89. package/dist/runtime/stores/GloriousStore.d.ts +0 -1
  90. package/dist/runtime/stores/GloriousStore.mjs +3 -13
  91. package/dist/runtime/style/components/alert.css +33 -0
  92. package/dist/runtime/style/components/alert.scss +7 -0
  93. package/dist/runtime/style/components/avatar.css +57 -0
  94. package/dist/runtime/style/components/avatar.scss +13 -0
  95. package/dist/runtime/style/components/breadcrumb.css +6 -0
  96. package/dist/runtime/style/components/breadcrumb.scss +6 -0
  97. package/dist/runtime/style/components/button.css +113 -0
  98. package/dist/runtime/style/components/button.scss +30 -0
  99. package/dist/runtime/style/components/checkbox.css +94 -0
  100. package/dist/runtime/style/components/checkbox.scss +52 -0
  101. package/dist/runtime/{assets/style → style}/components/drawer.css +14 -18
  102. package/dist/runtime/style/components/drawer.scss +57 -0
  103. package/dist/runtime/style/components/dropdown.scss +19 -0
  104. package/dist/runtime/style/components/editor.scss +4 -0
  105. package/dist/runtime/style/components/file.css +134 -0
  106. package/dist/runtime/style/components/file.scss +19 -0
  107. package/dist/runtime/style/components/input.css +187 -0
  108. package/dist/runtime/style/components/input.scss +87 -0
  109. package/dist/runtime/style/components/loading.css +43 -0
  110. package/dist/runtime/style/components/loading.scss +92 -0
  111. package/dist/runtime/style/components/modal.css +66 -0
  112. package/dist/runtime/style/components/modal.scss +76 -0
  113. package/dist/runtime/style/components/paginate.scss +18 -0
  114. package/dist/runtime/style/components/radio.css +121 -0
  115. package/dist/runtime/style/components/radio.scss +59 -0
  116. package/dist/runtime/style/components/rating.css +26 -0
  117. package/dist/runtime/style/components/rating.scss +25 -0
  118. package/dist/runtime/style/components/select.css +46 -0
  119. package/dist/runtime/style/components/select.scss +40 -0
  120. package/dist/runtime/style/components/switch.css +61 -0
  121. package/dist/runtime/style/components/switch.scss +74 -0
  122. package/dist/runtime/{assets/style → style}/components/tab.css +3 -3
  123. package/dist/runtime/style/components/tab.scss +11 -0
  124. package/dist/runtime/style/components/table.css +99 -0
  125. package/dist/runtime/style/components/table.scss +41 -0
  126. package/dist/runtime/style/components/textarea.css +64 -0
  127. package/dist/runtime/style/components/textarea.scss +43 -0
  128. package/dist/runtime/style/components/timeline.css +47 -0
  129. package/dist/runtime/style/components/timeline.scss +40 -0
  130. package/dist/runtime/style/mixin.css +0 -0
  131. package/dist/runtime/style/mixin.scss +40 -0
  132. package/dist/runtime/style/variable.css +0 -0
  133. package/dist/runtime/style/variable.scss +19 -0
  134. package/dist/types.d.mts +2 -10
  135. package/dist/types.d.ts +2 -10
  136. package/package.json +9 -7
  137. package/dist/runtime/assets/style/components/buttons.css +0 -107
  138. package/dist/runtime/assets/style/components/file.css +0 -65
  139. package/dist/runtime/assets/style/components/input.css +0 -91
  140. package/dist/runtime/assets/style/components/modal.css +0 -57
  141. package/dist/runtime/assets/style/components/select.css +0 -54
  142. package/dist/runtime/assets/style/components/textarea.css +0 -64
  143. package/dist/runtime/components/G/Breadcrump.vue +0 -46
  144. package/dist/runtime/components/G/Icon/index.vue +0 -143
  145. package/dist/runtime/plugins/Drawer.mjs +0 -35
  146. package/dist/runtime/utils/gTailwindColor.d.ts +0 -1
  147. package/dist/runtime/utils/gTailwindColor.mjs +0 -5
  148. /package/dist/runtime/{plugins/Drawer.d.ts → middlewares/ResponseGloriousStore.d.ts} +0 -0
  149. /package/dist/runtime/{assets/style → style}/components/dropdown.css +0 -0
  150. /package/dist/runtime/{assets/style → style}/components/editor.css +0 -0
  151. /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,9 @@
1
+ import { color, placeholder, title, text, size, error } from "./common/index.mjs";
2
+ export default {
3
+ ...error,
4
+ ...color,
5
+ ...placeholder("choose file"),
6
+ ...title("file"),
7
+ ...text("No file has been selected"),
8
+ ...size()
9
+ };
@@ -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,7 @@
1
+ import { name, hashColor, intSize, stroke } from "./common/index.mjs";
2
+ export default {
3
+ ...name,
4
+ ...hashColor,
5
+ ...intSize(),
6
+ ...stroke()
7
+ };
@@ -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,6 @@
1
+ import { color, intSize, stroke } from "./common/index.mjs";
2
+ export default {
3
+ ...color("#fff"),
4
+ ...intSize(30),
5
+ ...stroke(3)
6
+ };
@@ -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,17 @@
1
+ export default {
2
+ currentPage: {
3
+ required: true,
4
+ type: Number,
5
+ default: 1
6
+ },
7
+ lastPage: {
8
+ required: true,
9
+ type: Number,
10
+ default: 1
11
+ },
12
+ numberSuggestPage: {
13
+ required: false,
14
+ type: Number,
15
+ default: 3
16
+ }
17
+ };
@@ -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,9 @@
1
+ import { color, size, disabled, name, checked, value } from "./common/index.mjs";
2
+ export default {
3
+ ...disabled,
4
+ ...name,
5
+ ...checked,
6
+ ...color(),
7
+ ...value(),
8
+ ...size()
9
+ };
@@ -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,13 @@
1
+ declare const _default: {
2
+ checked: {
3
+ required: boolean;
4
+ default: boolean;
5
+ type: BooleanConstructor;
6
+ };
7
+ color: {
8
+ required: boolean;
9
+ default: string;
10
+ type: () => import("../../../types").colors;
11
+ };
12
+ };
13
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { color, checked } from "./common/index.mjs";
2
+ export default {
3
+ ...color(),
4
+ ...checked
5
+ };
@@ -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,7 @@
1
+ export default {
2
+ items: {
3
+ required: true,
4
+ default: [],
5
+ type: Array
6
+ }
7
+ };
@@ -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
+ };
@@ -0,0 +1,11 @@
1
+ declare const _default: {
2
+ items: {
3
+ required: boolean;
4
+ };
5
+ color: {
6
+ required: boolean;
7
+ default: string;
8
+ type: () => import("../../../types").colors;
9
+ };
10
+ };
11
+ export default _default;