@adminforth/i18n 1.3.0 → 1.3.1
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/build.log +2 -2
- package/custom/ListCell.vue +8 -3
- package/dist/custom/ListCell.vue +8 -3
- package/package.json +1 -1
package/build.log
CHANGED
|
@@ -16,5 +16,5 @@ custom/package-lock.json
|
|
|
16
16
|
custom/package.json
|
|
17
17
|
custom/tsconfig.json
|
|
18
18
|
|
|
19
|
-
sent
|
|
20
|
-
total size is
|
|
19
|
+
sent 31,064 bytes received 229 bytes 62,586.00 bytes/sec
|
|
20
|
+
total size is 30,197 speedup is 0.96
|
package/custom/ListCell.vue
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="relative group flex items-center"
|
|
2
|
+
<div class="relative group flex items-center">
|
|
3
3
|
<!-- Normal value display -->
|
|
4
|
-
<div v-if="
|
|
4
|
+
<div v-if="column.editReadonly" class="flex items-center" :class="limitedText?.length > 50 ? 'min-w-48 max-w-full' : 'min-w-32'">
|
|
5
|
+
{{ limitedText? limitedText : '-' }}
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div @click.stop="startEdit()"
|
|
9
|
+
v-else-if="!isEditing" class="flex items-center" :class="limitedText?.length > 50 ? 'min-w-48 max-w-full' : 'min-w-32'">
|
|
5
10
|
{{ limitedText? limitedText : '-' }}
|
|
6
11
|
|
|
7
12
|
<span v-if="meta?.reviewedCheckboxesFieldName && limitedText" class="flex items-center ml-2">
|
|
@@ -31,7 +36,7 @@
|
|
|
31
36
|
</div>
|
|
32
37
|
|
|
33
38
|
<!-- Edit mode -->
|
|
34
|
-
<div v-else class="flex flex-col gap-2">
|
|
39
|
+
<div v-else class="flex flex-col gap-2" @click.stop>
|
|
35
40
|
<div class="flex items-center max-w-full gap-2"
|
|
36
41
|
:class="limitedText?.length > 50 ? 'min-w-72' : 'min-w-64'"
|
|
37
42
|
ref="inputHolder"
|
package/dist/custom/ListCell.vue
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="relative group flex items-center"
|
|
2
|
+
<div class="relative group flex items-center">
|
|
3
3
|
<!-- Normal value display -->
|
|
4
|
-
<div v-if="
|
|
4
|
+
<div v-if="column.editReadonly" class="flex items-center" :class="limitedText?.length > 50 ? 'min-w-48 max-w-full' : 'min-w-32'">
|
|
5
|
+
{{ limitedText? limitedText : '-' }}
|
|
6
|
+
</div>
|
|
7
|
+
|
|
8
|
+
<div @click.stop="startEdit()"
|
|
9
|
+
v-else-if="!isEditing" class="flex items-center" :class="limitedText?.length > 50 ? 'min-w-48 max-w-full' : 'min-w-32'">
|
|
5
10
|
{{ limitedText? limitedText : '-' }}
|
|
6
11
|
|
|
7
12
|
<span v-if="meta?.reviewedCheckboxesFieldName && limitedText" class="flex items-center ml-2">
|
|
@@ -31,7 +36,7 @@
|
|
|
31
36
|
</div>
|
|
32
37
|
|
|
33
38
|
<!-- Edit mode -->
|
|
34
|
-
<div v-else class="flex flex-col gap-2">
|
|
39
|
+
<div v-else class="flex flex-col gap-2" @click.stop>
|
|
35
40
|
<div class="flex items-center max-w-full gap-2"
|
|
36
41
|
:class="limitedText?.length > 50 ? 'min-w-72' : 'min-w-64'"
|
|
37
42
|
ref="inputHolder"
|