nuxt-glorious 1.2.3-8 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/module.d.mts +38 -1
- package/dist/module.d.ts +38 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +37 -33
- package/dist/runtime/assets/style/components/alert.css +20 -5
- package/dist/runtime/assets/style/components/avatar.css +21 -18
- package/dist/runtime/assets/style/components/button.css +198 -0
- package/dist/runtime/assets/style/components/checkbox.css +24 -24
- package/dist/runtime/assets/style/components/drawer.css +14 -18
- package/dist/runtime/assets/style/components/file.css +102 -33
- package/dist/runtime/assets/style/components/input.css +103 -23
- package/dist/runtime/assets/style/components/loading.css +43 -0
- package/dist/runtime/assets/style/components/radio.css +27 -27
- package/dist/runtime/assets/style/components/select.css +24 -19
- package/dist/runtime/assets/style/components/textarea.css +35 -35
- package/dist/runtime/assets/style/mixin.css +0 -0
- package/dist/runtime/components/G/Alert.vue +8 -28
- package/dist/runtime/components/G/Avatar.vue +5 -73
- package/dist/runtime/components/G/Breadcrumb.vue +7 -25
- package/dist/runtime/components/G/Button.vue +10 -152
- package/dist/runtime/components/G/Checkbox.vue +8 -124
- package/dist/runtime/components/G/CountDown.vue +33 -44
- package/dist/runtime/components/G/Drawer.vue +12 -101
- package/dist/runtime/components/G/Dropdown.vue +16 -11
- package/dist/runtime/components/G/ErrorText.vue +6 -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 +28 -229
- package/dist/runtime/components/G/Loading.vue +4 -21
- package/dist/runtime/components/G/Modal.vue +13 -145
- package/dist/runtime/components/G/Paginate.vue +8 -44
- package/dist/runtime/components/G/Radio.vue +12 -163
- package/dist/runtime/components/G/Rating.vue +3 -30
- package/dist/runtime/components/G/Select.vue +7 -110
- package/dist/runtime/components/G/Switch.vue +5 -82
- package/dist/runtime/components/G/Tab.vue +6 -30
- package/dist/runtime/components/G/Table.vue +12 -131
- package/dist/runtime/components/G/textarea.vue +14 -119
- package/dist/runtime/components/G/timeline.vue +3 -59
- package/dist/runtime/components/helper.d.ts +2 -0
- package/dist/runtime/components/helper.mjs +25 -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.mjs +0 -1
- package/dist/runtime/middlewares/AuthStrategy.mjs +1 -5
- package/dist/runtime/stores/GloriousStore.d.ts +0 -2
- package/dist/runtime/stores/GloriousStore.mjs +0 -20
- package/dist/types.d.mts +2 -10
- package/dist/types.d.ts +2 -10
- package/package.json +1 -1
- package/dist/runtime/assets/style/components/buttons.css +0 -107
- package/dist/runtime/components/G/BottomNavigation.vue +0 -3
- package/dist/runtime/components/G/Icon/index.vue +0 -143
@@ -1,59 +1,19 @@
|
|
1
1
|
<script setup lang="ts">
|
2
|
-
import { ref, watch } from
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
default: "",
|
7
|
-
type: String,
|
8
|
-
},
|
9
|
-
color: {
|
10
|
-
required: false,
|
11
|
-
default: "primary",
|
12
|
-
type: String as () => "orange" | "blue" | "gray" | "red" | "primary",
|
13
|
-
},
|
14
|
-
placeholder: {
|
15
|
-
required: false,
|
16
|
-
default: "",
|
17
|
-
type: String,
|
18
|
-
},
|
19
|
-
title: {
|
20
|
-
required: false,
|
21
|
-
default: "",
|
22
|
-
type: String,
|
23
|
-
},
|
24
|
-
size: {
|
25
|
-
required: false,
|
26
|
-
default: "md",
|
27
|
-
type: String as () => "xl" | "lg" | "md" | "sm" | "xsm",
|
28
|
-
},
|
29
|
-
error: {
|
30
|
-
required: false,
|
31
|
-
default: "|",
|
32
|
-
type: String,
|
33
|
-
},
|
34
|
-
disabled: {
|
35
|
-
required: false,
|
36
|
-
default: false,
|
37
|
-
type: Boolean,
|
38
|
-
},
|
39
|
-
autocomplete: {
|
40
|
-
required: false,
|
41
|
-
default: "off",
|
42
|
-
type: String,
|
43
|
-
},
|
44
|
-
});
|
2
|
+
import { ref, watch } from '#imports'
|
3
|
+
import _props from '../props/Textarea'
|
4
|
+
const props = defineProps(_props)
|
5
|
+
const modelValue = defineModel()
|
45
6
|
|
46
|
-
const inputValue: any = ref(null)
|
47
|
-
if (
|
48
|
-
const emits = defineEmits(["update:modelValue"]);
|
7
|
+
const inputValue: any = ref(null)
|
8
|
+
if (modelValue.value !== '') inputValue.value = modelValue.value
|
49
9
|
watch(
|
50
10
|
() => inputValue.value,
|
51
|
-
() =>
|
52
|
-
)
|
11
|
+
() => (modelValue.value = inputValue.value)
|
12
|
+
)
|
53
13
|
watch(
|
54
|
-
() =>
|
55
|
-
() => (inputValue.value =
|
56
|
-
)
|
14
|
+
() => modelValue.value,
|
15
|
+
() => (inputValue.value = modelValue.value)
|
16
|
+
)
|
57
17
|
</script>
|
58
18
|
|
59
19
|
<template>
|
@@ -62,79 +22,14 @@ watch(
|
|
62
22
|
<div class="glorious-textarea">
|
63
23
|
<textarea
|
64
24
|
v-model="inputValue"
|
65
|
-
:
|
66
|
-
:class="[props.size, `glorious-textarea-${props.color}`]"
|
25
|
+
:class="[`glorious-textarea-${props.color}`]"
|
67
26
|
:placeholder="props.placeholder"
|
68
27
|
:disabled="props.disabled"
|
28
|
+
:rows="props.rows"
|
69
29
|
/>
|
70
30
|
</div>
|
71
31
|
<GErrorText :error="props.error" />
|
72
32
|
</div>
|
73
33
|
</template>
|
74
34
|
|
75
|
-
<style
|
76
|
-
.xl.glorious-textarea-orange, .xl.glorious-textarea-blue, .xl.glorious-textarea-gray, .xl.glorious-textarea-red, .xl.glorious-textarea-primary {
|
77
|
-
@apply py-2.5;
|
78
|
-
}
|
79
|
-
.lg.glorious-textarea-orange, .lg.glorious-textarea-blue, .lg.glorious-textarea-gray, .lg.glorious-textarea-red, .lg.glorious-textarea-primary {
|
80
|
-
@apply py-2;
|
81
|
-
}
|
82
|
-
.md.glorious-textarea-orange, .md.glorious-textarea-blue, .md.glorious-textarea-gray, .md.glorious-textarea-red, .md.glorious-textarea-primary {
|
83
|
-
@apply py-1.5;
|
84
|
-
}
|
85
|
-
.sm.glorious-textarea-orange, .sm.glorious-textarea-blue, .sm.glorious-textarea-gray, .sm.glorious-textarea-red, .sm.glorious-textarea-primary {
|
86
|
-
@apply py-1;
|
87
|
-
}
|
88
|
-
.xsm.glorious-textarea-orange, .xsm.glorious-textarea-blue, .xsm.glorious-textarea-gray, .xsm.glorious-textarea-red, .xsm.glorious-textarea-primary {
|
89
|
-
@apply py-0.5;
|
90
|
-
}
|
91
|
-
|
92
|
-
.glorious-textarea-orange:focus-visible, .glorious-textarea-blue:focus-visible, .glorious-textarea-gray:focus-visible, .glorious-textarea-red:focus-visible, .glorious-textarea-primary:focus-visible {
|
93
|
-
@apply outline-none ring-2;
|
94
|
-
}
|
95
|
-
|
96
|
-
.glorious-textarea-primary {
|
97
|
-
@apply rounded-md ring-1 ring-green-500 px-3;
|
98
|
-
}
|
99
|
-
.glorious-textarea-primary:disabled {
|
100
|
-
@apply bg-green-300 cursor-not-allowed;
|
101
|
-
}
|
102
|
-
|
103
|
-
.glorious-textarea-red {
|
104
|
-
@apply rounded-md ring-1 ring-red-500 px-3;
|
105
|
-
}
|
106
|
-
.glorious-textarea-red:disabled {
|
107
|
-
@apply cursor-not-allowed;
|
108
|
-
}
|
109
|
-
|
110
|
-
.glorious-textarea-gray {
|
111
|
-
@apply rounded-md ring-1 ring-gray-500 px-3;
|
112
|
-
}
|
113
|
-
.glorious-textarea-gray:disabled {
|
114
|
-
@apply cursor-not-allowed;
|
115
|
-
}
|
116
|
-
|
117
|
-
.glorious-textarea-blue {
|
118
|
-
@apply rounded-md ring-1 ring-blue-500 px-3;
|
119
|
-
}
|
120
|
-
.glorious-textarea-blue:disabled {
|
121
|
-
@apply cursor-not-allowed;
|
122
|
-
}
|
123
|
-
|
124
|
-
.glorious-textarea-orange {
|
125
|
-
@apply rounded-md ring-1 ring-orange-500 px-3;
|
126
|
-
}
|
127
|
-
.glorious-textarea-orange:disabled {
|
128
|
-
@apply cursor-not-allowed;
|
129
|
-
}
|
130
|
-
|
131
|
-
.glorious-textarea {
|
132
|
-
@apply relative w-full;
|
133
|
-
}
|
134
|
-
.glorious-textarea > textarea {
|
135
|
-
@apply w-full;
|
136
|
-
}
|
137
|
-
.glorious-textarea > textarea::placeholder {
|
138
|
-
@apply text-[14px];
|
139
|
-
}
|
140
|
-
</style>
|
35
|
+
<style lang="scss" src="../../assets/style/components/textarea.scss" />
|
@@ -1,14 +1,6 @@
|
|
1
1
|
<script lang="ts" setup>
|
2
|
-
|
3
|
-
|
4
|
-
required: true,
|
5
|
-
},
|
6
|
-
color: {
|
7
|
-
required: false,
|
8
|
-
default: 'green',
|
9
|
-
type: String as () => 'orange' | 'blue' | 'gray' | 'red' | 'green',
|
10
|
-
},
|
11
|
-
})
|
2
|
+
import _props from '../props/Timeline'
|
3
|
+
const props: any = defineProps(_props)
|
12
4
|
</script>
|
13
5
|
<template>
|
14
6
|
<div class="flex gap-3 mr-4">
|
@@ -33,52 +25,4 @@ const props = defineProps({
|
|
33
25
|
</div>
|
34
26
|
</template>
|
35
27
|
|
36
|
-
<style scoped
|
37
|
-
.glorious-timeline-items {
|
38
|
-
@apply relative;
|
39
|
-
}
|
40
|
-
.glorious-timeline-items div {
|
41
|
-
@apply relative;
|
42
|
-
}
|
43
|
-
.glorious-timeline-items div::before {
|
44
|
-
content: "";
|
45
|
-
@apply absolute w-[2px] right-[-15px];
|
46
|
-
}
|
47
|
-
.glorious-timeline-items div::before:not(:last-child) {
|
48
|
-
@apply h-[calc(100%+20px)];
|
49
|
-
}
|
50
|
-
.glorious-timeline-items-count {
|
51
|
-
@apply absolute w-5 h-5 top-0 right-[-24px] rounded-full !important;
|
52
|
-
@apply text-white flex justify-center items-center font-medium;
|
53
|
-
}
|
54
|
-
.glorious-timeline-items.color-orange > div::before {
|
55
|
-
@apply bg-orange-500;
|
56
|
-
}
|
57
|
-
.glorious-timeline-items.color-blue > div::before {
|
58
|
-
@apply bg-blue-500;
|
59
|
-
}
|
60
|
-
.glorious-timeline-items.color-gray > div::before {
|
61
|
-
@apply bg-gray-500;
|
62
|
-
}
|
63
|
-
.glorious-timeline-items.color-red > div::before {
|
64
|
-
@apply bg-red-500;
|
65
|
-
}
|
66
|
-
.glorious-timeline-items.color-green > div::before {
|
67
|
-
@apply bg-green-500;
|
68
|
-
}
|
69
|
-
.glorious-timeline-items.color-orange .glorious-timeline-items-count {
|
70
|
-
@apply bg-orange-500;
|
71
|
-
}
|
72
|
-
.glorious-timeline-items.color-blue .glorious-timeline-items-count {
|
73
|
-
@apply bg-blue-500;
|
74
|
-
}
|
75
|
-
.glorious-timeline-items.color-gray .glorious-timeline-items-count {
|
76
|
-
@apply bg-gray-500;
|
77
|
-
}
|
78
|
-
.glorious-timeline-items.color-red .glorious-timeline-items-count {
|
79
|
-
@apply bg-red-500;
|
80
|
-
}
|
81
|
-
.glorious-timeline-items.color-green .glorious-timeline-items-count {
|
82
|
-
@apply bg-green-500;
|
83
|
-
}
|
84
|
-
</style>
|
28
|
+
<style scoped lang="scss" src="../../assets/style/components/timeline.scss" />
|
@@ -0,0 +1,25 @@
|
|
1
|
+
export const createBlurDom = (callback) => {
|
2
|
+
const div = document.createElement("div");
|
3
|
+
div.classList.add(
|
4
|
+
"fixed",
|
5
|
+
"top-0",
|
6
|
+
"right-0",
|
7
|
+
"backdrop-blur-sm",
|
8
|
+
"bg-gray-500",
|
9
|
+
"bg-opacity-50",
|
10
|
+
"h-full",
|
11
|
+
"w-full",
|
12
|
+
"z-[40]",
|
13
|
+
"glorious-backdrop"
|
14
|
+
);
|
15
|
+
const nuxt = document.getElementById("__nuxt");
|
16
|
+
nuxt?.appendChild(div);
|
17
|
+
div.addEventListener("click", () => {
|
18
|
+
callback();
|
19
|
+
div.remove();
|
20
|
+
});
|
21
|
+
};
|
22
|
+
export const removeBlurDom = () => {
|
23
|
+
const blur = document.querySelector(".glorious-backdrop");
|
24
|
+
if (blur !== null) blur.remove();
|
25
|
+
};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import type { breadcrumbInterface } from '../../../types';
|
2
|
+
declare const _default: {
|
3
|
+
items: {
|
4
|
+
required: boolean;
|
5
|
+
type: {
|
6
|
+
(arrayLength: number): breadcrumbInterface[];
|
7
|
+
(...items: breadcrumbInterface[]): breadcrumbInterface[];
|
8
|
+
new (arrayLength: number): breadcrumbInterface[];
|
9
|
+
new (...items: breadcrumbInterface[]): breadcrumbInterface[];
|
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
|
+
divider: {
|
21
|
+
required: boolean;
|
22
|
+
type: StringConstructor;
|
23
|
+
default: string;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
export default _default;
|
@@ -0,0 +1,47 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
outline: {
|
3
|
+
required: boolean;
|
4
|
+
default: boolean;
|
5
|
+
type: BooleanConstructor;
|
6
|
+
};
|
7
|
+
ariaLabel: {
|
8
|
+
required: boolean;
|
9
|
+
default: string;
|
10
|
+
type: StringConstructor;
|
11
|
+
};
|
12
|
+
to: {
|
13
|
+
required: boolean;
|
14
|
+
default: string;
|
15
|
+
type: StringConstructor;
|
16
|
+
};
|
17
|
+
loading: {
|
18
|
+
required: boolean;
|
19
|
+
default: boolean;
|
20
|
+
type: BooleanConstructor;
|
21
|
+
};
|
22
|
+
loadingOption: {
|
23
|
+
required: boolean;
|
24
|
+
default: {
|
25
|
+
color: string;
|
26
|
+
};
|
27
|
+
type: {
|
28
|
+
color: StringConstructor;
|
29
|
+
};
|
30
|
+
};
|
31
|
+
disabled: {
|
32
|
+
required: boolean;
|
33
|
+
default: boolean;
|
34
|
+
type: BooleanConstructor;
|
35
|
+
};
|
36
|
+
size: {
|
37
|
+
required: boolean;
|
38
|
+
default: import("../../../types").sizes;
|
39
|
+
type: () => import("../../../types").sizes;
|
40
|
+
};
|
41
|
+
color: {
|
42
|
+
required: boolean;
|
43
|
+
default: string;
|
44
|
+
type: () => import("../../../types").colors;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
export default _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { color, size, disabled, loading, to, ariaLabel } from "./common/index.mjs";
|
2
|
+
export default {
|
3
|
+
...color(),
|
4
|
+
...size(),
|
5
|
+
...disabled,
|
6
|
+
...loading,
|
7
|
+
...to,
|
8
|
+
...ariaLabel,
|
9
|
+
outline: {
|
10
|
+
required: false,
|
11
|
+
default: false,
|
12
|
+
type: Boolean
|
13
|
+
}
|
14
|
+
};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
checked: {
|
3
|
+
required: boolean;
|
4
|
+
default: boolean;
|
5
|
+
type: BooleanConstructor;
|
6
|
+
};
|
7
|
+
disabled: {
|
8
|
+
required: boolean;
|
9
|
+
default: boolean;
|
10
|
+
type: BooleanConstructor;
|
11
|
+
};
|
12
|
+
size: {
|
13
|
+
required: boolean;
|
14
|
+
default: import("../../../types").sizes;
|
15
|
+
type: () => import("../../../types").sizes;
|
16
|
+
};
|
17
|
+
color: {
|
18
|
+
required: boolean;
|
19
|
+
default: string;
|
20
|
+
type: () => import("../../../types").colors;
|
21
|
+
};
|
22
|
+
};
|
23
|
+
export default _default;
|
@@ -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;
|