edvoyui-component-library-test-flight 0.0.112 → 0.0.113
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/EUIButton.vue.d.ts +5 -0
- package/dist/EUIButton.vue.d.ts.map +1 -0
- package/dist/accordion/EUIAccordion.vue.d.ts +2 -2
- package/dist/accordion/EUIAccordion.vue.d.ts.map +1 -1
- package/dist/alerts/EUIAlerts.vue.d.ts +2 -2
- package/dist/alerts/EUIAlerts.vue.d.ts.map +1 -1
- package/dist/avatar/EUIAvatar.vue.d.ts +2 -2
- package/dist/avatar/EUIAvatar.vue.d.ts.map +1 -1
- package/dist/breadcrumb/EUIBreadcrumb.vue.d.ts +2 -2
- package/dist/breadcrumb/EUIBreadcrumb.vue.d.ts.map +1 -1
- package/dist/checkbox/EUICheckbox.vue.d.ts +3 -3
- package/dist/checkbox/EUICheckbox.vue.d.ts.map +1 -1
- package/dist/datepicker/EUIDatepicker.vue.d.ts +3 -3
- package/dist/datepicker/EUIDatepicker.vue.d.ts.map +1 -1
- package/dist/dropdown/EUIMultiDropdown.vue.d.ts +2 -2
- package/dist/dropdown/EUIMultiDropdown.vue.d.ts.map +1 -1
- package/dist/errorMessage/EUIErrorMessage.vue.d.ts +2 -2
- package/dist/errorMessage/EUIErrorMessage.vue.d.ts.map +1 -1
- package/dist/input/EUIInput.vue.d.ts +2 -2
- package/dist/input/EUIInput.vue.d.ts.map +1 -1
- package/dist/library-vue-ts.cjs.js +1 -1
- package/dist/library-vue-ts.css +1 -1
- package/dist/library-vue-ts.es.js +761 -765
- package/dist/library-vue-ts.umd.js +2 -2
- package/dist/loader/EUICircleLoader.vue.d.ts +1 -1
- package/dist/loader/EUICircleLoader.vue.d.ts.map +1 -1
- package/dist/loader/EUICubeLoader.vue.d.ts +1 -1
- package/dist/loader/EUICubeLoader.vue.d.ts.map +1 -1
- package/dist/loader/EUILoader.vue.d.ts +2 -2
- package/dist/loader/EUILoader.vue.d.ts.map +1 -1
- package/dist/loader/EUISquareLoader.vue.d.ts +1 -1
- package/dist/loader/EUISquareLoader.vue.d.ts.map +1 -1
- package/dist/modal/EUIModal.vue.d.ts +2 -2
- package/dist/modal/EUIModal.vue.d.ts.map +1 -1
- package/dist/pillSelect/EUIPillSelect.vue.d.ts +2 -2
- package/dist/pillSelect/EUIPillSelect.vue.d.ts.map +1 -1
- package/dist/popover/EUIPopover.vue.d.ts +2 -2
- package/dist/popover/EUIPopover.vue.d.ts.map +1 -1
- package/dist/radio/EUIRadio.vue.d.ts +2 -2
- package/dist/radio/EUIRadio.vue.d.ts.map +1 -1
- package/dist/searchInput/EUISearch.vue.d.ts +2 -2
- package/dist/searchInput/EUISearch.vue.d.ts.map +1 -1
- package/dist/searchexpand/EUISearchExpand.vue.d.ts +2 -2
- package/dist/searchexpand/EUISearchExpand.vue.d.ts.map +1 -1
- package/dist/searchexpand/EUISearchToggle.vue.d.ts +2 -2
- package/dist/searchexpand/EUISearchToggle.vue.d.ts.map +1 -1
- package/dist/select/EUISelect.vue.d.ts +3 -3
- package/dist/select/EUISelect.vue.d.ts.map +1 -1
- package/dist/selectSearch/EUISelectSearch.vue.d.ts +4 -0
- package/dist/selectSearch/EUISelectSearch.vue.d.ts.map +1 -0
- package/dist/slideover/EUISlideover.vue.d.ts +2 -2
- package/dist/slideover/EUISlideover.vue.d.ts.map +1 -1
- package/dist/stepperTimeline/EUIStepperHorizontal.vue.d.ts +2 -2
- package/dist/stepperTimeline/EUIStepperHorizontal.vue.d.ts.map +1 -1
- package/dist/stepperTimeline/EUIStepperTimeline.vue.d.ts +2 -2
- package/dist/stepperTimeline/EUIStepperTimeline.vue.d.ts.map +1 -1
- package/dist/stepperTimeline/EUIStepperVertical.vue.d.ts +2 -2
- package/dist/stepperTimeline/EUIStepperVertical.vue.d.ts.map +1 -1
- package/dist/table/EUIDashboardTable.vue.d.ts +2 -2
- package/dist/table/EUIDashboardTable.vue.d.ts.map +1 -1
- package/dist/table/EUIPageLimit.vue.d.ts +2 -2
- package/dist/table/EUIPageLimit.vue.d.ts.map +1 -1
- package/dist/table/EUIPagination.vue.d.ts +2 -2
- package/dist/table/EUIPagination.vue.d.ts.map +1 -1
- package/dist/table/EUIStudentPagination.vue.d.ts +2 -2
- package/dist/table/EUIStudentPagination.vue.d.ts.map +1 -1
- package/dist/table/EUITable.vue.d.ts +2 -2
- package/dist/table/EUITable.vue.d.ts.map +1 -1
- package/dist/table/EUITableCheckbox.vue.d.ts +3 -3
- package/dist/table/EUITableCheckbox.vue.d.ts.map +1 -1
- package/dist/table/GrowthTable.vue.d.ts +2 -2
- package/dist/table/GrowthTable.vue.d.ts.map +1 -1
- package/dist/table/UCheckbox.vue.d.ts +2 -2
- package/dist/table/UCheckbox.vue.d.ts.map +1 -1
- package/dist/table/UTable.vue.d.ts +2 -2
- package/dist/table/UTable.vue.d.ts.map +1 -1
- package/dist/tabs/EUITabs.vue.d.ts +2 -2
- package/dist/tabs/EUITabs.vue.d.ts.map +1 -1
- package/dist/tag/EUITag.vue.d.ts +2 -2
- package/dist/tag/EUITag.vue.d.ts.map +1 -1
- package/dist/telephone/EUITelephone.vue.d.ts +3 -3
- package/dist/telephone/EUITelephone.vue.d.ts.map +1 -1
- package/dist/textArea/EUITextArea.vue.d.ts +2 -2
- package/dist/textArea/EUITextArea.vue.d.ts.map +1 -1
- package/dist/timeLine/EUITimeLine.vue.d.ts +2 -2
- package/dist/timeLine/EUITimeLine.vue.d.ts.map +1 -1
- package/dist/timeLine/EUITimeLineItem.vue.d.ts +2 -2
- package/dist/timeLine/EUITimeLineItem.vue.d.ts.map +1 -1
- package/dist/toggle/EUIToggle.vue.d.ts +2 -2
- package/dist/toggle/EUIToggle.vue.d.ts.map +1 -1
- package/dist/tooltip/EUITooltip.vue.d.ts +2 -2
- package/dist/tooltip/EUITooltip.vue.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/table/UTable.vue +58 -86
- package/src/components/tabs/EUITabs.vue +8 -1
- package/dist/EUISelectSearch.vue.d.ts +0 -4
- package/dist/EUISelectSearch.vue.d.ts.map +0 -1
- package/dist/button/EUIButton.vue.d.ts +0 -5
- package/dist/button/EUIButton.vue.d.ts.map +0 -1
- /package/src/components/checkbox/{EUICheckbox.stories.ts → EUIcheckbox.stories.ts} +0 -0
- /package/src/components/modal/{EUIModal.stories.ts → EUImodal.stories.ts} +0 -0
|
@@ -56,72 +56,61 @@
|
|
|
56
56
|
scope="col"
|
|
57
57
|
:class="[
|
|
58
58
|
'snap-start snap-always py-2',
|
|
59
|
-
header?.sortable
|
|
60
|
-
? 'cursor-pointer hover:!text-gray-900 pr-8 pl-3'
|
|
61
|
-
: 'px-3',
|
|
59
|
+
header?.sortable ? 'cursor-pointer hover:!text-gray-900 pr-8 pl-3': 'px-3',
|
|
62
60
|
isScrolled && headerIndex === 0 ? stickyClass.head : null,
|
|
63
61
|
{ '!bg-gray-200': currentSort === header.value },
|
|
62
|
+
|
|
64
63
|
]"
|
|
65
|
-
:style="
|
|
66
|
-
headers.length > 6
|
|
67
|
-
? headerStyle(header)
|
|
68
|
-
: 'width: 100%;min-width: 250px;background-color: rgb(243 244 246);'
|
|
69
|
-
"
|
|
64
|
+
:style="headers.length > 6 ? headerStyle(header) : 'width: 100%;min-width: 250px;background-color: rgb(243 244 246);'"
|
|
70
65
|
@click="sortBy(header, $event)"
|
|
71
66
|
>
|
|
72
67
|
<div class="relative z-0 w-full">
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
68
|
+
<div
|
|
69
|
+
class="w-full text-sm font-medium text-current truncate font-inter"
|
|
70
|
+
>
|
|
71
|
+
<slot name="header" :header="header">
|
|
72
|
+
{{ capitalizeText(header?.text ?? header?.name ?? "") }}
|
|
73
|
+
</slot>
|
|
74
|
+
<slot v-if="headerOptional" name="headerOptionalItem" ></slot>
|
|
75
|
+
</div>
|
|
76
|
+
<div v-if="header?.sortable" class="absolute -top-0.5 -right-6 size-6 z-10">
|
|
77
|
+
<svg
|
|
78
|
+
width="24"
|
|
79
|
+
height="24"
|
|
80
|
+
viewBox="0 0 24 24"
|
|
81
|
+
fill="none"
|
|
82
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
83
|
+
class="size-6"
|
|
87
84
|
>
|
|
88
|
-
<
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"
|
|
118
|
-
stroke-opacity="0.8"
|
|
119
|
-
stroke-width="2"
|
|
120
|
-
stroke-linecap="round"
|
|
121
|
-
stroke-linejoin="round"
|
|
122
|
-
/>
|
|
123
|
-
</svg>
|
|
124
|
-
</div>
|
|
85
|
+
<rect width="24" height="24" fill="none" />
|
|
86
|
+
<path
|
|
87
|
+
d="M8 10C9.06206 8.5381 10.3071 7.2287 11.7021 6.1058C11.8774 5.9647 12.1226 5.9647 12.2979 6.1058C13.6929 7.2287 14.9379 8.5381 16 10"
|
|
88
|
+
:stroke="
|
|
89
|
+
currentSortDir === 'asc' &&
|
|
90
|
+
currentSort === header?.value
|
|
91
|
+
? '#111827'
|
|
92
|
+
: '#9ca3af'
|
|
93
|
+
"
|
|
94
|
+
stroke-opacity="0.8"
|
|
95
|
+
stroke-width="2"
|
|
96
|
+
stroke-linecap="round"
|
|
97
|
+
stroke-linejoin="round"
|
|
98
|
+
/>
|
|
99
|
+
<path
|
|
100
|
+
d="M8 14C9.06206 15.4619 10.3071 16.7713 11.7021 17.8942C11.8774 18.0353 12.1226 18.0353 12.2979 17.8942C13.6929 16.7713 14.9379 15.4619 16 14"
|
|
101
|
+
:stroke="
|
|
102
|
+
currentSortDir === 'desc' &&
|
|
103
|
+
currentSort === header?.value
|
|
104
|
+
? '#111827'
|
|
105
|
+
: '#9ca3af'
|
|
106
|
+
"
|
|
107
|
+
stroke-opacity="0.8"
|
|
108
|
+
stroke-width="2"
|
|
109
|
+
stroke-linecap="round"
|
|
110
|
+
stroke-linejoin="round"
|
|
111
|
+
/>
|
|
112
|
+
</svg>
|
|
113
|
+
</div>
|
|
125
114
|
</div>
|
|
126
115
|
</th>
|
|
127
116
|
</tr>
|
|
@@ -133,7 +122,7 @@
|
|
|
133
122
|
:key="`table-row-${rowIndex}`"
|
|
134
123
|
>
|
|
135
124
|
<tr
|
|
136
|
-
|
|
125
|
+
:id="`row-${rowIndex}`"
|
|
137
126
|
@mouseenter="
|
|
138
127
|
$attrs.mouseenter
|
|
139
128
|
? $emit('mouseenter', row, rowIndex)
|
|
@@ -145,7 +134,7 @@
|
|
|
145
134
|
: null
|
|
146
135
|
"
|
|
147
136
|
class="group"
|
|
148
|
-
:class="{
|
|
137
|
+
:class="{'bg-purple-100': activeRowIndex==rowIndex}"
|
|
149
138
|
>
|
|
150
139
|
<td
|
|
151
140
|
v-if="checkable"
|
|
@@ -161,13 +150,10 @@
|
|
|
161
150
|
/>
|
|
162
151
|
</td>
|
|
163
152
|
<td
|
|
164
|
-
|
|
153
|
+
v-for="(header, headerIndex) in headers"
|
|
165
154
|
:key="headerIndex"
|
|
166
155
|
:style="bodyStyle(header)"
|
|
167
|
-
:class="[
|
|
168
|
-
isScrolled && headerIndex === 0 ? stickyClass.body : null,
|
|
169
|
-
{ '!bg-purple-100': activeRowIndex == rowIndex },
|
|
170
|
-
]"
|
|
156
|
+
:class="[isScrolled && headerIndex === 0 ? stickyClass.body : null,{'!bg-purple-100': activeRowIndex==rowIndex}]"
|
|
171
157
|
>
|
|
172
158
|
<slot
|
|
173
159
|
:name="`item.${header?.value}`"
|
|
@@ -175,9 +161,7 @@
|
|
|
175
161
|
:rowIndex="rowIndex"
|
|
176
162
|
:headerIndex="headerIndex"
|
|
177
163
|
>
|
|
178
|
-
<span class="block truncate">{{
|
|
179
|
-
getValueByPath(row, header?.value)
|
|
180
|
-
}}</span>
|
|
164
|
+
<span class="block truncate">{{ getValueByPath(row, header?.value) }}</span>
|
|
181
165
|
</slot>
|
|
182
166
|
</td>
|
|
183
167
|
</tr>
|
|
@@ -194,23 +178,13 @@
|
|
|
194
178
|
>
|
|
195
179
|
<div
|
|
196
180
|
class="flex items-center justify-center w-[calc(100vw-14rem)]"
|
|
197
|
-
:class="[
|
|
198
|
-
tableHeight
|
|
199
|
-
? tableHeight
|
|
200
|
-
: 'h-[calc(100svh-12rem)] max-h-[calc(100svh-12rem)]',
|
|
201
|
-
]"
|
|
181
|
+
:class="[tableHeight ? tableHeight : 'h-[calc(100svh-12rem)] max-h-[calc(100svh-12rem)]']"
|
|
202
182
|
>
|
|
203
183
|
<div class="text-center">
|
|
204
184
|
<div class="mx-auto overflow-hidden rounded-md size-56">
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
class="block object-contain object-center h-auto max-w-full opacity-90"
|
|
209
|
-
/>
|
|
210
|
-
</div>
|
|
211
|
-
<div class="my-2 text-xl font-medium text-gray-500">
|
|
212
|
-
No matching records found
|
|
213
|
-
</div>
|
|
185
|
+
<img src="@/assets/images/search-nodata.png" alt="" class="block object-contain object-center h-auto max-w-full opacity-90" />
|
|
186
|
+
</div>
|
|
187
|
+
<div class="my-2 text-xl font-medium text-gray-500">No matching records found</div>
|
|
214
188
|
</div>
|
|
215
189
|
</div>
|
|
216
190
|
</td>
|
|
@@ -220,7 +194,6 @@
|
|
|
220
194
|
</table>
|
|
221
195
|
</div>
|
|
222
196
|
<div
|
|
223
|
-
v-if="stickyFooter"
|
|
224
197
|
class="sticky bottom-0 left-0 z-50 flex items-center justify-between px-2 py-1 bg-white border-t border-gray-300"
|
|
225
198
|
>
|
|
226
199
|
<slot name="tableCount">
|
|
@@ -294,7 +267,6 @@ const props = defineProps({
|
|
|
294
267
|
default: () => [],
|
|
295
268
|
required: true,
|
|
296
269
|
},
|
|
297
|
-
stickyFooter: { type: Boolean, default: true },
|
|
298
270
|
paginated: { type: Boolean, default: false },
|
|
299
271
|
tableExpanded: { type: Boolean, default: false },
|
|
300
272
|
search: { type: String, default: "" },
|
|
@@ -333,7 +305,7 @@ const {
|
|
|
333
305
|
headers,
|
|
334
306
|
paginated,
|
|
335
307
|
isRowCheckable,
|
|
336
|
-
activeRowIndex
|
|
308
|
+
activeRowIndex
|
|
337
309
|
} = toRefs(props);
|
|
338
310
|
|
|
339
311
|
// Emits used
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
:id="`id-${tab.name}`"
|
|
12
12
|
type="button"
|
|
13
13
|
class="[&:not(:focus-visible)]:focus:outline-none relative w-full inline-flex items-center transition-colors duration-100"
|
|
14
|
-
:class="
|
|
14
|
+
:class="[
|
|
15
|
+
tab?.disabled ? ' cursor-not-allowed ' : '',
|
|
16
|
+
isHighlighedActivetab ? ' rounded-t-lg !bg-[#EDE9FE] ' : '',
|
|
17
|
+
]"
|
|
15
18
|
role="tab"
|
|
16
19
|
tabindex="-1"
|
|
17
20
|
@click="selectTab(tabindex)"
|
|
@@ -72,6 +75,7 @@
|
|
|
72
75
|
? 'border-gray-900 text-gray-900'
|
|
73
76
|
: 'border-transparent text-gray-500',
|
|
74
77
|
tab?.disabled ? ' cursor-not-allowed ' : '',
|
|
78
|
+
isHighlighedActivetab&&activeTabIndex === tabindex ? ' rounded-t-lg !bg-[#EDE9FE]' : '',
|
|
75
79
|
]"
|
|
76
80
|
@click="selectTab(tabindex)"
|
|
77
81
|
>
|
|
@@ -106,6 +110,7 @@
|
|
|
106
110
|
? 'border-purple-800 text-purple-800 bg-white z-10 rounded-t-lg shadow-[0px_2px_4px_0px_rgba(55,65,81,0.1)]'
|
|
107
111
|
: 'border-transparent text-gray-500 z-0',
|
|
108
112
|
tab?.disabled ? ' cursor-not-allowed ' : '',
|
|
113
|
+
isHighlighedActivetab&&activeTabIndex === tabindex ? ' rounded-t-lg !bg-[#EDE9FE]' : '',
|
|
109
114
|
]"
|
|
110
115
|
@click="selectTab(tabindex)"
|
|
111
116
|
>
|
|
@@ -135,6 +140,7 @@
|
|
|
135
140
|
? 'shadow-lg shadow-gray-100 bg-white border-gray-200 focus-within:border-purple-600 text-gray-900'
|
|
136
141
|
: 'border-white hover:bg-gray-50 text-gray-700',
|
|
137
142
|
tab?.disabled ? ' cursor-not-allowed ' : '',
|
|
143
|
+
isHighlighedActivetab&&activeTabIndex === tabindex ? ' rounded-t-lg !bg-[#EDE9FE]' : '',
|
|
138
144
|
]"
|
|
139
145
|
@click="selectTab(tabindex)"
|
|
140
146
|
>
|
|
@@ -182,6 +188,7 @@ const props = defineProps<{
|
|
|
182
188
|
contentClass?: string[] | string;
|
|
183
189
|
tabSize?: "sm" | "md";
|
|
184
190
|
tabAlign?: "start" | "justify" | "end";
|
|
191
|
+
isHighlighedActivetab?: boolean;
|
|
185
192
|
}>();
|
|
186
193
|
|
|
187
194
|
const emit = defineEmits<{
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "/Volumes/work/repos/edvoy-ui-v2/src/components/selectSearch/EUISelectSearch.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/selectSearch/EUISelectSearch.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
-
export default _sfc_main;
|
|
4
|
-
//# sourceMappingURL=EUISelectSearch.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EUISelectSearch.vue.d.ts","sourceRoot":"","sources":["../src/components/selectSearch/EUISelectSearch.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oHAAoH,CAAC;AAC3I,cAAc,oHAAoH,CAAC;AACnI,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import _sfc_main from "/Volumes/work/repos/edvoy-ui-v2/src/components/button/EUIButton.vue?vue&type=script&setup=true&lang.ts";
|
|
2
|
-
export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/button/EUIButton.vue?vue&type=script&setup=true&lang.ts";
|
|
3
|
-
import "/Volumes/work/repos/edvoy-ui-v2/src/components/button/EUIButton.vue?vue&type=style&index=0&lang.scss";
|
|
4
|
-
export default _sfc_main;
|
|
5
|
-
//# sourceMappingURL=EUIButton.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"EUIButton.vue.d.ts","sourceRoot":"","sources":["../../src/components/button/EUIButton.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,wGAAwG,CAAC;AAC/H,cAAc,wGAAwG,CAAC;AACvH,OAAO,sGAAsG,CAAC;AAC9G,eAAe,SAAS,CAAC"}
|
|
File without changes
|
|
File without changes
|