edvoyui-component-library-test-flight 0.0.158 → 0.0.160

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.
@@ -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=f4c14f9e&lang.scss";
2
+ import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUIDashboardTable.vue?vue&type=style&index=0&scoped=eae073aa&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=e72fa180&lang.scss";
2
+ import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/EUITable.vue?vue&type=style&index=0&scoped=05ac2012&lang.scss";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=EUITable.vue.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export * from "/Volumes/work/repos/edvoy-ui-v2/src/components/table/GrowthTable.vue?vue&type=script&setup=true&lang.ts";
2
- import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/GrowthTable.vue?vue&type=style&index=0&scoped=3145c9da&lang.scss";
2
+ import "/Volumes/work/repos/edvoy-ui-v2/src/components/table/GrowthTable.vue?vue&type=style&index=0&scoped=d3d1f61c&lang.scss";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=GrowthTable.vue.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "edvoyui-component-library-test-flight",
3
3
  "private": false,
4
- "version": "0.0.158",
4
+ "version": "0.0.160",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist/",
@@ -9,7 +9,7 @@
9
9
  >
10
10
  <div v-if="showAlert" :class="['p-4 rounded-md', alertsClass.bgColor]">
11
11
  <div
12
- :class="[closeIcon && !textMessage ? 'items-center pr-2 flex' : 'flex']"
12
+ :class="[closeIcon && !textMessage ? 'items-center pr-2 flex' : 'flex items-start']"
13
13
  >
14
14
  <div class="shrink-0">
15
15
  <slot name="icon">
@@ -58,9 +58,9 @@
58
58
  </div>
59
59
  </slot>
60
60
  </div>
61
- <div class="pl-3 ml-auto">
61
+ <div v-if="closeIcon" class="ms-auto ps-3">
62
62
  <slot name="xclose">
63
- <div v-if="closeIcon" class="-mx-1.5 -my-1.5 pt-1">
63
+ <div class="-mx-1.5 -my-1.5 pt-1">
64
64
  <button
65
65
  type="button"
66
66
  :class="[
@@ -5,7 +5,7 @@
5
5
  :color="color"
6
6
  :iconType="iconType"
7
7
  v-bind="$attrs"
8
- :class="['capitalize box-border border-none inline-flex flex-row gap-x-2 items-center active:scale-[.97] active:shadow-md transition-all duration-200 ease-in-out active:translate-y-0.5', rounded ?'rounded-full':'rounded-lg', btnClass]"
8
+ :class="['capitalize box-border border-none inline-flex flex-row gap-x-2 items-center active:scale-[.97] active:shadow-md transition-all duration-200 ease-in-out active:translate-y-0.5 focus-within:outline-purple-500', rounded ?'rounded-full':'rounded-lg', btnClass]"
9
9
  :disabled="disabled"
10
10
  :loading="loading"
11
11
  :icon="icon"
@@ -30,17 +30,19 @@ export { default as EUIPillSelect } from "./pillSelect/EUIPillSelect.vue";
30
30
  export { default as EUITimeLine } from "./timeLine/EUITimeLine.vue";
31
31
  export { default as EUITag } from "./tag/EUITag.vue";
32
32
 
33
- export { default as EUIDashboardTable } from "./table/EUIDashboardTable.vue";
34
- export { default as EUIPagination } from "./table/EUIPagination.vue";
35
33
  export { default as EUIPageLimit } from "./table/EUIPageLimit.vue";
36
34
  export { default as EUITableCheckbox } from "./table/EUITableCheckbox.vue";
37
-
38
35
  export { default as UCheckbox } from "./table/UCheckbox.vue";
39
- export { default as UTable } from "./table/UTable.vue";
40
- export { default as EUITable } from "./table/EUITable.vue";
36
+
37
+ export { default as EUIPagination } from "./table/EUIPagination.vue";
41
38
  export { default as EUIStudentPagination } from "./table/EUIStudentPagination.vue";
42
39
  export { default as EUIMultiDropdown } from "./dropdown/EUIMultiDropdown.vue";
40
+
41
+ export { default as EUIDashboardTable } from "./table/EUIDashboardTable.vue";
42
+ export { default as UTable } from "./table/UTable.vue";
43
+ export { default as EUITable } from "./table/EUITable.vue";
43
44
  export { default as GrowthTable } from "./table/GrowthTable.vue";
45
+ export { default as ColumnResizeTable } from "./table/ColumnResizeTable.vue";
44
46
 
45
47
  export { default as EUILoader } from "./loader/EUILoader.vue";
46
48
  export { default as EUICircleLoader } from "./loader/EUICircleLoader.vue";
@@ -56,5 +58,4 @@ export { default as EUISearchTagSelect } from "./searchTagSelect/EUISearchTagSel
56
58
 
57
59
  export { default as EUIBreadcrumb } from "./breadcrumb/EUIBreadcrumb.vue";
58
60
  export { default as EUIAlerts } from "./alerts/EUIAlerts.vue";
59
- export { default as ColumnResizeTable } from "./table/ColumnResizeTable.vue";
60
61
  export { default as EUIDrag } from "./dragModal/EUIDrag.vue";
@@ -201,6 +201,7 @@
201
201
  checkable === true ? headers.length + 1 : headers.length
202
202
  "
203
203
  >
204
+ <slot name="no-records">
204
205
  <div
205
206
  class="flex items-center justify-center w-[calc(100vw-14rem)]"
206
207
  :class="[
@@ -222,6 +223,7 @@
222
223
  </div>
223
224
  </div>
224
225
  </div>
226
+ </slot>
225
227
  </td>
226
228
  </tr>
227
229
  </template>
@@ -122,11 +122,13 @@
122
122
  <template v-else-if="computedItems.length === 0">
123
123
  <tr class="norecords">
124
124
  <td :colspan="checkable === true ? headers.length + 1 : headers.length">
125
- <div
125
+ <slot name="no-records">
126
+ <div
126
127
  class="flex items-center justify-center text-xl font-medium text-gray-500 h-[calc(100svh-18rem)] max-w-screen-xl"
127
128
  >
128
129
  No matching records found
129
130
  </div>
131
+ </slot>
130
132
  </td>
131
133
  </tr>
132
134
  </template>
@@ -139,7 +141,7 @@
139
141
  <slot name="tableCount">
140
142
  <div class="inline-flex items-center gap-x-10">
141
143
  <div class="text-sm font-normal text-gray-900">
142
- 1-{{ limit }} of {{ total }}
144
+ {{ newCurrentPage }} - {{ limit }} of {{ total }}
143
145
  </div>
144
146
  <div class="inline-flex items-center gap-2">
145
147
  <span class="text-sm font-normal text-gray-900"
@@ -171,11 +171,13 @@
171
171
  checkable === true ? headers.length + 1 : headers.length
172
172
  "
173
173
  >
174
+ <slot name="no-records">
174
175
  <div
175
176
  class="flex items-center justify-center text-xl font-medium text-gray-500 h-[calc(100svh-18rem)] max-w-screen-xl"
176
177
  >
177
178
  No matching records found
178
179
  </div>
180
+ </slot>
179
181
  </td>
180
182
  </tr>
181
183
  </template>
@@ -72,7 +72,9 @@
72
72
  capitalizeText(header?.text ?? header.name ?? "")
73
73
  }}
74
74
  </div>
75
- <div class="flex items-center justify-start max-w-full gap-4">
75
+ <div
76
+ class="flex items-center justify-start max-w-full gap-4"
77
+ >
76
78
  <span
77
79
  v-for="(data, idx) in header?.activeYear"
78
80
  :key="`year_${idx}`"
@@ -151,17 +153,22 @@
151
153
  checkable === true ? headers.length + 1 : headers.length
152
154
  "
153
155
  >
154
- <div
155
- class="flex items-center justify-center text-xl font-medium text-gray-500 h-[calc(100svh-18rem)] max-w-screen-xl"
156
- >
157
- No matching records found
158
- </div>
156
+ <slot name="no-records">
157
+ <div
158
+ class="flex items-center justify-center text-xl font-medium text-gray-500 h-[calc(100svh-18rem)] max-w-screen-xl"
159
+ >
160
+ No matching records found
161
+ </div>
162
+ </slot>
159
163
  </td>
160
164
  </tr>
161
165
  </template>
162
166
  </tbody>
163
- <tfoot v-if="footers.length" class="sticky bottom-0 left-0 z-50 bg-[#FEF3C7]">
164
- <template
167
+ <tfoot
168
+ v-if="footers.length"
169
+ class="sticky bottom-0 left-0 z-50 bg-[#FEF3C7]"
170
+ >
171
+ <template
165
172
  v-if="footers.length > 0"
166
173
  v-for="(row, rowIndex) in footers"
167
174
  :key="`table-row-${rowIndex}`"
@@ -171,7 +178,8 @@
171
178
  <th
172
179
  v-for="(header, headerIndex) in headers"
173
180
  :key="headerIndex"
174
- :class="['px-3 py-1.5 text-gray-900 snap-start snap-always h-14',
181
+ :class="[
182
+ 'px-3 py-1.5 text-gray-900 snap-start snap-always h-14',
175
183
  isScrolled && headerIndex === 0 ? stickyClass.foot : '',
176
184
  ]"
177
185
  >
@@ -185,7 +193,6 @@
185
193
  </th>
186
194
  </tr>
187
195
  </template>
188
-
189
196
  </tfoot>
190
197
  </table>
191
198
  </div>
@@ -214,7 +214,8 @@
214
214
  checkable === true ? headers.length + 1 : headers.length
215
215
  "
216
216
  >
217
- <div
217
+ <slot name="no-records">
218
+ <div
218
219
  class="flex items-center justify-center w-[calc(100vw-14rem)]"
219
220
  :class="[
220
221
  tableHeight
@@ -235,6 +236,8 @@
235
236
  </div>
236
237
  </div>
237
238
  </div>
239
+ </slot>
240
+
238
241
  </td>
239
242
  </tr>
240
243
  </template>