edvoyui-component-library-test-flight 0.0.25 → 0.0.27
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/{input/EUIInput.vue.d.ts → EUIInput.vue.d.ts} +1 -1
- package/dist/EUIInput.vue.d.ts.map +1 -0
- package/dist/button/EUIButton.vue.d.ts.map +1 -0
- package/dist/library-vue-ts.cjs.js +21 -21
- package/dist/library-vue-ts.es.js +6229 -6201
- package/dist/library-vue-ts.umd.js +24 -24
- package/dist/modal/EUIModal.vue.d.ts +1 -1
- package/dist/modal/EUIModal.vue.d.ts.map +1 -1
- package/dist/table/EUIDashboardTable.vue.d.ts +1 -1
- package/dist/table/EUITable.vue.d.ts +1 -1
- package/package.json +1 -1
- package/src/assets/svg/ChevronBigDown.vue +22 -0
- package/src/components/HelloWorld.vue +235 -77
- package/src/components/checkbox/EUICheckbox.vue +2 -2
- package/src/components/datepicker/EUIDatepicker.stories.ts +136 -12
- package/src/components/datepicker/EUIDatepicker.vue +41 -15
- package/src/components/delete.vue +49 -1
- package/src/components/index.ts +0 -1
- package/src/components/input/EUIInput.stories.ts +219 -6
- package/src/components/input/EUIInput.vue +30 -15
- package/src/components/modal/EUIModal.vue +13 -16
- package/src/components/select/EUISelect.stories.ts +49 -3
- package/src/components/select/EUISelect.vue +79 -34
- package/src/components/table/EUIDashboardTable.vue +68 -36
- package/src/components/table/EUITable.vue +2 -2
- package/src/components/telephone/EUITelephone.stories.ts +164 -8
- package/src/components/telephone/EUITelephone.vue +33 -11
- package/src/components/textArea/EUITextArea.stories.ts +52 -0
- package/src/components/textArea/EUITextArea.vue +36 -5
- package/dist/EUIButton.vue.d.ts.map +0 -1
- package/dist/input/EUIInput.vue.d.ts.map +0 -1
- package/dist/inputNormal/EUIInputNormal.vue.d.ts +0 -5
- package/dist/inputNormal/EUIInputNormal.vue.d.ts.map +0 -1
- package/src/components/inputNormal/EUIInputNormal.stories.ts +0 -164
- package/src/components/inputNormal/EUIInputNormal.vue +0 -161
- package/src/components/select/EUISelect.scss +0 -0
- /package/dist/{EUIButton.vue.d.ts → button/EUIButton.vue.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/modal/EUIModal.vue?vue&type=script&lang.ts";
|
|
2
|
-
import "/Volumes/work/repos/edvoy-ui-v2/src/components/modal/EUIModal.vue?vue&type=style&index=0&scoped=
|
|
2
|
+
import "/Volumes/work/repos/edvoy-ui-v2/src/components/modal/EUIModal.vue?vue&type=style&index=0&scoped=739e0044&lang.scss";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=EUIModal.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EUIModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/modal/EUIModal.vue"],"names":[],"mappings":"AACA,cAAc,2FAA2F,CAAC;
|
|
1
|
+
{"version":3,"file":"EUIModal.vue.d.ts","sourceRoot":"","sources":["../../src/components/modal/EUIModal.vue"],"names":[],"mappings":"AACA,cAAc,2FAA2F,CAAC;AAuF1G,OAAO,oHAAoH,CAAC;;AAE5H,wBAAmH"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=style&index=0&scoped=
|
|
2
|
+
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=style&index=0&scoped=448c7bbf&lang.scss";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=EUIDashboardTable.vue.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=style&index=0&scoped=
|
|
2
|
+
import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=style&index=0&scoped=60a9ff29&lang.scss";
|
|
3
3
|
declare const _default: any;
|
|
4
4
|
export default _default;
|
|
5
5
|
//# sourceMappingURL=EUITable.vue.d.ts.map
|
package/package.json
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
width="21"
|
|
4
|
+
height="20"
|
|
5
|
+
viewBox="0 0 21 20"
|
|
6
|
+
fill="none"
|
|
7
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
8
|
+
>
|
|
9
|
+
<path
|
|
10
|
+
d="M5.45312 7.5C6.7673 9.31733 8.30557 10.947 10.028 12.3476C10.2779 12.5508 10.6284 12.5508 10.8782 12.3476C12.6007 10.947 14.139 9.31733 15.4531 7.5"
|
|
11
|
+
stroke="currentColor"
|
|
12
|
+
stroke-opacity="0.5"
|
|
13
|
+
stroke-width="2"
|
|
14
|
+
stroke-linecap="round"
|
|
15
|
+
stroke-linejoin="round"
|
|
16
|
+
/>
|
|
17
|
+
</svg>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script setup lang="ts"></script>
|
|
21
|
+
|
|
22
|
+
<style scoped></style>
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
<h1 class="my-10 text-2xl font-bold text-center text-gray-900 underline underline-offset-2 decoration-green-400 decoration-wavy">
|
|
3
3
|
Edvoy User Interface
|
|
4
4
|
</h1>
|
|
5
|
-
|
|
6
5
|
</template>
|
|
7
6
|
<script setup lang="ts">
|
|
7
|
+
|
|
8
8
|
</script>
|
|
9
9
|
<style lang="scss"></style>
|
|
10
10
|
|
|
@@ -12,73 +12,171 @@
|
|
|
12
12
|
<!-- <template>
|
|
13
13
|
<div class="h-[clac(100svh-64px)] w-full px-10 py-8 max-w-screen-xl mx-auto">
|
|
14
14
|
<h1 class="mb-2 font-semibold text-gray-900 tetx-lg">Edvoy UI Componnet</h1>
|
|
15
|
-
|
|
15
|
+
|
|
16
|
+
<Delete />
|
|
17
|
+
|
|
18
|
+
<div class="grid gap-4 sm:grid-cols-2 place-items-start">
|
|
16
19
|
<div
|
|
17
20
|
class="w-full max-w-screen-xl col-span-2 p-4 bg-white border border-gray-200 border-solid rounded-lg hover:ring-2 ring-purple-500 ring-offset-1"
|
|
18
21
|
>
|
|
19
22
|
<span
|
|
20
23
|
class="px-1 py-1 mb-0 font-mono text-xs leading-none text-gray-500 bg-gray-100 rounded-md"
|
|
21
24
|
>
|
|
22
|
-
Name:
|
|
25
|
+
Name: Input
|
|
23
26
|
</span>
|
|
24
|
-
<pre
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
<pre class="pb-4 my-4 text-sm font-normal text-gray-700 whitespace-pre-wrap border-b border-gray-100 border-solid"><code><EUIInput label="Firstname" placeholder="Enter your name" /></code></pre>
|
|
28
|
+
|
|
29
|
+
<div class="grid grid-cols-3 gap-4 pb-6 mb-4 border-b">
|
|
30
|
+
<EUIInput
|
|
31
|
+
v-model.trim="form.input"
|
|
32
|
+
name="addnote"
|
|
33
|
+
id="addnote"
|
|
34
|
+
placeholder="Note here..."
|
|
35
|
+
/>
|
|
36
|
+
|
|
37
|
+
<EUIInput
|
|
38
|
+
v-model.trim="form.input"
|
|
39
|
+
name="addnote"
|
|
40
|
+
id="addnote"
|
|
41
|
+
label="Add Note"
|
|
42
|
+
placeholder="Note here..."
|
|
43
|
+
/>
|
|
44
|
+
<EUIInput
|
|
45
|
+
v-model.trim="form.input"
|
|
46
|
+
name="addnote"
|
|
47
|
+
id="addnote"
|
|
48
|
+
label="Add Note"
|
|
49
|
+
placeholder="Note here..."
|
|
50
|
+
rounded
|
|
51
|
+
:class-name="['bg-gray-100/50']"
|
|
52
|
+
/>
|
|
53
|
+
<EUIInput
|
|
54
|
+
v-model.trim="form.input"
|
|
55
|
+
name="addnote"
|
|
56
|
+
id="addnote"
|
|
57
|
+
label="Add Note"
|
|
58
|
+
placeholder="Note type here..."
|
|
59
|
+
:icon="MagnifyingGlassIcon"
|
|
60
|
+
icon-type="startIcon"
|
|
61
|
+
/>
|
|
62
|
+
|
|
63
|
+
<EUIInput
|
|
64
|
+
v-model.trim="form.input"
|
|
65
|
+
name="addnote"
|
|
66
|
+
id="addnote"
|
|
67
|
+
label="Add Note"
|
|
68
|
+
placeholder="Note type here..."
|
|
69
|
+
:icon="MagnifyingGlassIcon"
|
|
70
|
+
icon-type="endIcon"
|
|
71
|
+
/>
|
|
72
|
+
|
|
73
|
+
<EUIInput
|
|
74
|
+
v-model.trim="form.input"
|
|
75
|
+
name="addnote"
|
|
76
|
+
id="addnote"
|
|
77
|
+
type="search"
|
|
78
|
+
placeholder="Search here..."
|
|
79
|
+
rounded
|
|
80
|
+
:class-name="['bg-gray-100/50 rounded-3xl']"
|
|
81
|
+
:icon="MagnifyingGlassIcon"
|
|
82
|
+
icon-type="startIcon"
|
|
83
|
+
/>
|
|
84
|
+
|
|
85
|
+
<EUIInput
|
|
86
|
+
v-model.trim="form.input"
|
|
87
|
+
name="addnote"
|
|
88
|
+
id="addnote"
|
|
89
|
+
label="Add note disabled"
|
|
90
|
+
placeholder="Note type here..."
|
|
91
|
+
:icon="MagnifyingGlassIcon"
|
|
92
|
+
icon-type="endIcon"
|
|
93
|
+
disabled
|
|
94
|
+
/>
|
|
95
|
+
|
|
96
|
+
<EUIInput
|
|
97
|
+
v-model.trim="form.input"
|
|
98
|
+
name="addnote"
|
|
99
|
+
id="addnote"
|
|
100
|
+
label="Add note readonly"
|
|
101
|
+
placeholder="Note type here..."
|
|
102
|
+
:icon="MagnifyingGlassIcon"
|
|
103
|
+
icon-type="endIcon"
|
|
104
|
+
readonly
|
|
105
|
+
/>
|
|
106
|
+
</div>
|
|
29
107
|
|
|
30
108
|
<div class="grid grid-cols-3 gap-4">
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
label="
|
|
109
|
+
<EUIInput
|
|
110
|
+
v-model.trim="form.input"
|
|
111
|
+
label="full name"
|
|
34
112
|
placeholder="Enter your name"
|
|
35
|
-
|
|
36
|
-
:multiple="true"
|
|
37
|
-
:multiple-limit="3"
|
|
113
|
+
inputFilled
|
|
38
114
|
/>
|
|
39
|
-
|
|
40
|
-
<
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
115
|
+
|
|
116
|
+
<EUIInput
|
|
117
|
+
v-model.trim="form.input"
|
|
118
|
+
name="addname"
|
|
119
|
+
id="addname"
|
|
120
|
+
label="Full name"
|
|
121
|
+
placeholder="Enter your name"
|
|
122
|
+
:icon="MagnifyingGlassIcon"
|
|
123
|
+
icon-type="startIcon"
|
|
124
|
+
inputFilled
|
|
48
125
|
/>
|
|
49
126
|
|
|
50
|
-
<
|
|
127
|
+
<EUIInput
|
|
128
|
+
v-model.trim="form.input"
|
|
129
|
+
name="addemail"
|
|
130
|
+
id="addemail"
|
|
131
|
+
label="Email address"
|
|
132
|
+
placeholder="Enter your email"
|
|
133
|
+
:icon="MagnifyingGlassIcon"
|
|
134
|
+
icon-type="endIcon"
|
|
135
|
+
inputFilled
|
|
136
|
+
/>
|
|
137
|
+
|
|
138
|
+
<EUIInput
|
|
139
|
+
v-model.trim="form.input"
|
|
140
|
+
name="search"
|
|
141
|
+
id="search"
|
|
142
|
+
type="search"
|
|
143
|
+
label="Course Search"
|
|
144
|
+
placeholder="Search here..."
|
|
145
|
+
:icon="MagnifyingGlassIcon"
|
|
146
|
+
icon-type="startIcon"
|
|
147
|
+
inputFilled
|
|
148
|
+
/>
|
|
149
|
+
|
|
150
|
+
<EUIInput
|
|
151
|
+
v-model.trim="form.input"
|
|
152
|
+
name="search"
|
|
153
|
+
id="search"
|
|
154
|
+
type="search"
|
|
155
|
+
label="Course search disabled"
|
|
156
|
+
placeholder="Search here..."
|
|
157
|
+
:icon="MagnifyingGlassIcon"
|
|
158
|
+
icon-type="startIcon"
|
|
159
|
+
inputFilled
|
|
160
|
+
disabled
|
|
161
|
+
/>
|
|
162
|
+
|
|
163
|
+
<EUIInput
|
|
164
|
+
v-model.trim="form.input"
|
|
165
|
+
name="search"
|
|
166
|
+
id="search"
|
|
167
|
+
type="search"
|
|
168
|
+
label="Course Search readonly"
|
|
169
|
+
placeholder="Search here..."
|
|
170
|
+
:icon="MagnifyingGlassIcon"
|
|
171
|
+
icon-type="startIcon"
|
|
172
|
+
inputFilled
|
|
173
|
+
readonly
|
|
174
|
+
/>
|
|
51
175
|
</div>
|
|
52
176
|
</div>
|
|
53
177
|
|
|
54
178
|
<div
|
|
55
|
-
class="w-full max-w-xl p-4 bg-white border border-gray-200 border-solid rounded-lg hover:ring-2 ring-purple-500 ring-offset-1"
|
|
56
|
-
>
|
|
57
|
-
<span
|
|
58
|
-
class="px-1 py-1 mb-0 font-mono text-xs leading-none text-gray-500 bg-gray-100 rounded-md"
|
|
59
|
-
>
|
|
60
|
-
Name: Multi Dropdown
|
|
61
|
-
</span>
|
|
62
|
-
<pre
|
|
63
|
-
class="pb-4 my-4 text-sm font-normal text-gray-700 whitespace-pre-wrap border-b border-gray-100 border-solid"
|
|
64
|
-
><code><EUIMultiDropdown title="dropdown" :menu-items="menubar" /></code>
|
|
65
|
-
</pre>
|
|
66
|
-
<div class="inline-flex items-center gap-4">
|
|
67
|
-
<EUIMultiDropdown title="dropdown" :menu-items="menubar" />
|
|
68
|
-
<EUIMultiDropdown title="dropdown" class-name="px-3 py-2 text-gray-700 hover:text-gray-900 bg-white rounded-md focus:bg-violet-100 group focus:outline-none focus:ring-2 focus:ring-violet-400 focus:ring-opacity-100 hover:bg-gray-100 active:bg-violet-200" @subMenuItem="handleSubMenuItem" @menuItem="handleMenuItem">
|
|
69
|
-
<template #dropdownName="{ open }">
|
|
70
|
-
<span>My Students</span>
|
|
71
|
-
<ChevronDownStroke :class="open ? 'text-gray-900 rotate-180' : 'text-gray-500'"
|
|
72
|
-
class="transition duration-100 ease-in-out transform rotate-0 size-6 group-hover:text-opacity-80"
|
|
73
|
-
aria-hidden="true"
|
|
74
|
-
/>
|
|
75
|
-
</template>
|
|
76
|
-
</EUIMultiDropdown>
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
|
|
80
|
-
<div
|
|
81
|
-
class="w-full max-w-xl p-4 bg-white border border-gray-200 border-solid rounded-lg hover:ring-2 ring-purple-500 ring-offset-1"
|
|
179
|
+
class="w-full max-w-screen-xl col-span-2 p-4 bg-white border border-gray-200 border-solid rounded-lg hover:ring-2 ring-purple-500 ring-offset-1"
|
|
82
180
|
>
|
|
83
181
|
<span
|
|
84
182
|
class="px-1 py-1 mb-0 font-mono text-xs leading-none text-gray-500 bg-gray-100 rounded-md"
|
|
@@ -91,6 +189,21 @@
|
|
|
91
189
|
<code><EUITelephone name="contactNumber" label="Contact Number" placeholder="Your mobile number" tag="Mobile
|
|
92
190
|
input required" tag-color="Error" /></code>
|
|
93
191
|
</pre>
|
|
192
|
+
|
|
193
|
+
<div class="grid grid-cols-2 gap-6">
|
|
194
|
+
<EUITelephone
|
|
195
|
+
v-model="mobileNumber"
|
|
196
|
+
name="contactNumber"
|
|
197
|
+
label="Contact Number"
|
|
198
|
+
placeholder="Your mobile number"
|
|
199
|
+
tag="Mobile input required"
|
|
200
|
+
tag-color="Error"
|
|
201
|
+
:errors="{ name: 'Enter a valid phone number' }"
|
|
202
|
+
icon-type="startIcon"
|
|
203
|
+
:icon="DevicePhoneMobileIcon"
|
|
204
|
+
inputFilled
|
|
205
|
+
/>
|
|
206
|
+
|
|
94
207
|
<EUITelephone
|
|
95
208
|
v-model="mobileNumber"
|
|
96
209
|
name="contactNumber"
|
|
@@ -100,52 +213,97 @@
|
|
|
100
213
|
tag-color="Error"
|
|
101
214
|
:errors="{ name: 'Enter a valid phone number' }"
|
|
102
215
|
icon-type="startIcon"
|
|
216
|
+
:icon="DevicePhoneMobileIcon"
|
|
217
|
+
required
|
|
103
218
|
/>
|
|
219
|
+
</div>
|
|
220
|
+
|
|
104
221
|
</div>
|
|
105
222
|
|
|
106
223
|
<div
|
|
107
|
-
class="w-full max-w-xl p-4 bg-white border border-gray-200 border-solid rounded-lg hover:ring-2 ring-purple-500 ring-offset-1"
|
|
224
|
+
class="w-full max-w-screen-xl col-span-2 p-4 bg-white border border-gray-200 border-solid rounded-lg hover:ring-2 ring-purple-500 ring-offset-1"
|
|
108
225
|
>
|
|
109
226
|
<span
|
|
110
227
|
class="px-1 py-1 mb-0 font-mono text-xs leading-none text-gray-500 bg-gray-100 rounded-md"
|
|
111
228
|
>
|
|
112
|
-
Name:
|
|
229
|
+
Name: Select Multiple
|
|
113
230
|
</span>
|
|
114
231
|
<pre
|
|
115
232
|
class="pb-4 my-4 text-sm font-normal text-gray-700 whitespace-pre-wrap border-b border-gray-100 border-solid"
|
|
116
233
|
>
|
|
117
|
-
<code><
|
|
118
|
-
/></code>
|
|
234
|
+
<code><EUISelect label="Firstname" placeholder="Enter your name" :items="datas" /></code>
|
|
119
235
|
</pre>
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
236
|
+
|
|
237
|
+
<div class="grid grid-cols-3 gap-4">
|
|
238
|
+
<EUISelect
|
|
239
|
+
search-label="name"
|
|
240
|
+
label="Select Label"
|
|
241
|
+
placeholder="Placeholder"
|
|
242
|
+
:items="datas"
|
|
243
|
+
:multiple="true"
|
|
244
|
+
:multiple-limit="3"
|
|
245
|
+
/>
|
|
246
|
+
<EUISelect placeholder="Enter your name" :items="datas" />
|
|
247
|
+
<EUISelect
|
|
248
|
+
:is-use-custom-select="true"
|
|
249
|
+
:items="datas"
|
|
250
|
+
name="customselect"
|
|
251
|
+
placeholder="Select multiple"
|
|
252
|
+
:multiple="true"
|
|
253
|
+
customWidth="380px"
|
|
254
|
+
:custom-offset="[0, 10]"
|
|
255
|
+
/>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
<div class="grid grid-cols-3 gap-4">
|
|
259
|
+
<EUISelect
|
|
260
|
+
search-label="name"
|
|
261
|
+
label="Multiple Select width Limiting"
|
|
262
|
+
placeholder="Enter your name"
|
|
263
|
+
:items="datas"
|
|
264
|
+
:multiple="true"
|
|
265
|
+
:multiple-limit="3"
|
|
266
|
+
inputFilled
|
|
267
|
+
/>
|
|
268
|
+
<EUISelect placeholder="Enter your name" :items="datas" inputFilled />
|
|
269
|
+
<EUISelect
|
|
270
|
+
:is-use-custom-select="true"
|
|
271
|
+
:items="datas"
|
|
272
|
+
name="customselect"
|
|
273
|
+
placeholder="Select multiple"
|
|
274
|
+
:multiple="true"
|
|
275
|
+
customWidth="380px"
|
|
276
|
+
:custom-offset="[-20, 10]"
|
|
277
|
+
inputFilled
|
|
278
|
+
/>
|
|
279
|
+
<EUISelectSearch />
|
|
280
|
+
</div>
|
|
129
281
|
</div>
|
|
130
282
|
|
|
131
|
-
|
|
283
|
+
<div
|
|
132
284
|
class="w-full max-w-xl p-4 bg-white border border-gray-200 border-solid rounded-lg hover:ring-2 ring-purple-500 ring-offset-1"
|
|
133
285
|
>
|
|
134
286
|
<span
|
|
135
287
|
class="px-1 py-1 mb-0 font-mono text-xs leading-none text-gray-500 bg-gray-100 rounded-md"
|
|
136
288
|
>
|
|
137
|
-
Name:
|
|
289
|
+
Name: Multi Dropdown
|
|
138
290
|
</span>
|
|
139
291
|
<pre
|
|
140
292
|
class="pb-4 my-4 text-sm font-normal text-gray-700 whitespace-pre-wrap border-b border-gray-100 border-solid"
|
|
141
|
-
>
|
|
142
|
-
<code><EUIInput label="Firstname" placeholder="Enter your name" /></code>
|
|
293
|
+
><code><EUIMultiDropdown title="dropdown" :menu-items="menubar" /></code>
|
|
143
294
|
</pre>
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
295
|
+
<div class="inline-flex items-center gap-4">
|
|
296
|
+
<EUIMultiDropdown title="dropdown" :menu-items="menubar" />
|
|
297
|
+
<EUIMultiDropdown title="dropdown" class-name="px-3 py-2 text-gray-700 hover:text-gray-900 bg-white rounded-md focus:bg-violet-100 group focus:outline-none focus:ring-2 focus:ring-violet-400 focus:ring-opacity-100 hover:bg-gray-100 active:bg-violet-200" @subMenuItem="handleSubMenuItem" @menuItem="handleMenuItem">
|
|
298
|
+
<template #dropdownName="{ open }">
|
|
299
|
+
<span>My Students</span>
|
|
300
|
+
<ChevronDownStroke :class="open ? 'text-gray-900 rotate-180' : 'text-gray-500'"
|
|
301
|
+
class="transition duration-100 ease-in-out transform rotate-0 size-6 group-hover:text-opacity-80"
|
|
302
|
+
aria-hidden="true"
|
|
303
|
+
/>
|
|
304
|
+
</template>
|
|
305
|
+
</EUIMultiDropdown>
|
|
306
|
+
</div>
|
|
149
307
|
</div>
|
|
150
308
|
|
|
151
309
|
<div
|
|
@@ -709,14 +867,13 @@ import { computed, reactive, ref } from "vue";
|
|
|
709
867
|
import EUIButton from "./button/EUIButton.vue";
|
|
710
868
|
import EUICheckbox from "./checkbox/EUICheckbox.vue";
|
|
711
869
|
import EUIInput from "./input/EUIInput.vue";
|
|
712
|
-
import EUIInputNormal from "./inputNormal/EUIInputNormal.vue";
|
|
713
870
|
import EUIModal from "./modal/EUIModal.vue";
|
|
714
871
|
import EUISelect from "./select/EUISelect.vue";
|
|
715
872
|
import EUITabs from "./tabs/EUITabs.vue";
|
|
716
873
|
import EUITextarea from "./textArea/EUITextArea.vue";
|
|
717
874
|
import EUISelectSearch from "./selectSearch/EUISelectSearch.vue";
|
|
718
875
|
import EUITimeLine from "./timeLine/EUITimeLine.vue";
|
|
719
|
-
import { ArrowDownCircleIcon } from "@heroicons/vue/24/solid";
|
|
876
|
+
import { ArrowDownCircleIcon, MagnifyingGlassIcon } from "@heroicons/vue/24/solid";
|
|
720
877
|
import EUITag from "./tag/EUITag.vue";
|
|
721
878
|
import EUIToggle from "./toggle/EUIToggle.vue";
|
|
722
879
|
import EUILoader from "./loader/EUILoader.vue";
|
|
@@ -724,7 +881,7 @@ import EUIAvatar from "./avatar/EUIAvatar.vue";
|
|
|
724
881
|
import EUIStepperTimeline from "./stepperTimeline/EUIStepperTimeline.vue";
|
|
725
882
|
import EUIAccordion from "./accordion/EUIAccordion.vue";
|
|
726
883
|
import EUITelephone from "./telephone/EUITelephone.vue";
|
|
727
|
-
import { HomeIcon } from "@heroicons/vue/24/outline";
|
|
884
|
+
import { DevicePhoneMobileIcon, HomeIcon } from "@heroicons/vue/24/outline";
|
|
728
885
|
import EUIDatepicker from "./datepicker/EUIDatepicker.vue";
|
|
729
886
|
import EUIDashboardTable from "./table/EUIDashboardTable.vue";
|
|
730
887
|
import tabData from "../data/tab";
|
|
@@ -738,12 +895,13 @@ import EUITable from "./table/EUITable.vue";
|
|
|
738
895
|
import { capitalizeText } from "../utils/lodash";
|
|
739
896
|
import ChevronDownStroke from '../assets/svg/ChevronDownStroke.vue';
|
|
740
897
|
import EUIMultiDropdown from './dropdown/EUIMultiDropdown.vue';
|
|
898
|
+
import Delete from "./delete.vue";
|
|
741
899
|
|
|
742
900
|
const mobileNumber = ref("+91 8667444951");
|
|
743
901
|
const datepicker = ref(new Date());
|
|
744
902
|
|
|
745
903
|
const form = reactive({
|
|
746
|
-
input: "",
|
|
904
|
+
input: "Lorem ipsum dolor sit",
|
|
747
905
|
mobile: "+918667444951",
|
|
748
906
|
});
|
|
749
907
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<label class="flex flex-
|
|
2
|
+
<label class="flex flex-row items-start scale-100 translate-x-0 translate-y-0 eui-checkbox">
|
|
3
3
|
<input v-model="isChecked" type="checkbox" id="checkbox" class="appearance-none sr-only input-checkbox" :disabled="disabled"
|
|
4
4
|
@change="toggle($event)" />
|
|
5
5
|
<div class="cbx-icon" for="checkbox">
|
|
@@ -83,7 +83,7 @@ watch(props, (newValue) => {
|
|
|
83
83
|
transition: all 0.3s ease;
|
|
84
84
|
transition-delay: 0.1s;
|
|
85
85
|
transform: translate3d(0, 0, 0);
|
|
86
|
-
@apply absolute fill-none stroke-white
|
|
86
|
+
@apply absolute fill-none stroke-white;
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
.eui-checkbox .input-checkbox:checked + .cbx-icon > span {
|