adminforth 4.7.5 → 4.8.0
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/modules/styles.js +4 -4
- package/dist/spa/package.json +1 -0
- package/dist/spa/src/afcl/Calendar.vue +211 -0
- package/dist/spa/src/afcl/DateField.vue +257 -0
- package/dist/spa/src/afcl/DatePicker.vue +103 -245
- package/dist/spa/src/afcl/TimeField.vue +52 -0
- package/dist/spa/src/afcl/pickerStyles.ts +25 -0
- package/dist/spa/src/afcl/shadowRoot.ts +1 -2
- package/dist/spa/src/components/ColumnValueInput.vue +9 -7
- package/dist/spa/src/components/ColumnValueInputWrapper.vue +1 -1
- package/dist/spa/src/components/CustomDateRangePicker.vue +47 -165
- package/dist/spa/src/components/Filters.vue +7 -4
- package/dist/spa/src/components/GroupsTable.vue +23 -43
- package/dist/spa/src/components/ShowTable.vue +21 -31
- package/dist/spa/src/utils/dateUtils.ts +33 -21
- package/dist/spa/src/views/CreateEditSkeleton.vue +6 -17
- package/dist/spa/src/views/ShowView.vue +14 -24
- package/dist/spa/tailwind.config.js +1 -1
- package/package.json +1 -1
|
@@ -96,41 +96,31 @@
|
|
|
96
96
|
<div
|
|
97
97
|
v-if="loading"
|
|
98
98
|
role="status"
|
|
99
|
-
class="animate-pulse overflow-x-auto shadow-resourseFormShadow dark:shadow-darkResourseFormShadow rounded-lg overflow-hidden border border-
|
|
99
|
+
class="animate-pulse overflow-x-auto shadow-resourseFormShadow dark:shadow-darkResourseFormShadow rounded-lg overflow-hidden border border-lightFormBorder dark:border-darkFormBorder bg-lightShowTablesBodyBackground dark:bg-darkShowTablesBodyBackground"
|
|
100
100
|
>
|
|
101
|
-
<div
|
|
102
|
-
v-if="groups && groups.length > 0"
|
|
103
|
-
class="text-sm font-semibold px-5 py-3 flex flex-1 items-center bg-lightShowTableHeadingBackground dark:bg-darkShowTableHeadingBackground dark:text-darkShowTableHeadingText border-b border-lightShowTableBodyBorder dark:border-darkShowTableBodyBorder"
|
|
104
|
-
>
|
|
101
|
+
<div v-if="groups && groups.length > 0" class="px-5 pt-5 pb-2">
|
|
105
102
|
<div class="h-3 bg-lightSkeletonBackgroundColor dark:bg-darkSkeletonBackgroundColor rounded-full w-32"></div>
|
|
106
103
|
</div>
|
|
107
104
|
|
|
108
105
|
<table class="w-full text-sm text-left table-fixed border-collapse">
|
|
109
|
-
<
|
|
110
|
-
<
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
</th>
|
|
117
|
-
</tr>
|
|
118
|
-
</thead>
|
|
119
|
-
|
|
120
|
-
<tbody>
|
|
121
|
-
<tr
|
|
122
|
-
v-for="i in skeletonRowsCount"
|
|
106
|
+
<colgroup>
|
|
107
|
+
<col class="md:w-56">
|
|
108
|
+
<col>
|
|
109
|
+
</colgroup>
|
|
110
|
+
<tbody class="divide-y divide-lightShowTableBodyBorder dark:divide-darkShowTableBodyBorder">
|
|
111
|
+
<tr
|
|
112
|
+
v-for="i in skeletonRowsCount"
|
|
123
113
|
:key="i"
|
|
124
|
-
class="
|
|
114
|
+
class="block md:table-row"
|
|
125
115
|
>
|
|
126
|
-
<td class="px-
|
|
127
|
-
<div class="
|
|
116
|
+
<td class="px-5 pt-2.5 pb-0 md:pb-2.5 block md:table-cell">
|
|
117
|
+
<div class="flex items-center h-5">
|
|
128
118
|
<div class="h-2.5 bg-lightSkeletonBackgroundColor dark:bg-darkSkeletonBackgroundColor rounded-full w-24"></div>
|
|
129
119
|
</div>
|
|
130
120
|
</td>
|
|
131
121
|
|
|
132
|
-
<td class="px-
|
|
133
|
-
<div class="flex items-center h-
|
|
122
|
+
<td class="px-5 pt-1 pb-2.5 md:pt-2.5 block md:table-cell">
|
|
123
|
+
<div class="flex items-center h-5">
|
|
134
124
|
<div class="h-2.5 bg-lightSkeletonBackgroundColor dark:bg-darkSkeletonBackgroundColor rounded-full w-full max-w-[280px]"></div>
|
|
135
125
|
</div>
|
|
136
126
|
</td>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
export default {
|
|
4
4
|
// no spaces inside the braces, otherwise extensions are expanded as "* js", "* ts" and
|
|
5
5
|
// classes declared in plain .ts/.js files (e.g. afcl/buttonStyles.ts) are not generated
|
|
6
|
-
content: ["./src/**/*.{vue,js,ts,tsx}","./src/*.{vue,js,ts,tsx}", "./index.html"
|
|
6
|
+
content: ["./src/**/*.{vue,js,ts,tsx}","./src/*.{vue,js,ts,tsx}", "./index.html"],
|
|
7
7
|
safelist: [
|
|
8
8
|
/* IMPORTANT:ADMINFORTH TAILWIND SAFELIST */
|
|
9
9
|
],
|