@hostlink/nuxt-light 1.0.3 → 1.0.4
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/module.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
<script setup>
|
|
3
3
|
import * as XLSX from "xlsx";
|
|
4
|
-
import {
|
|
4
|
+
import { ref, useAttrs, } from "vue";
|
|
5
5
|
import { useLight } from "#imports"
|
|
6
6
|
|
|
7
7
|
const emit = defineEmits(["update:modelValue"]);
|
|
@@ -50,7 +50,7 @@ const showView = ref(false);
|
|
|
50
50
|
</script>
|
|
51
51
|
|
|
52
52
|
<template>
|
|
53
|
-
<q-field v-bind="attrs" :loading="loading" :model-value="localData" @update:model-value="onClear"
|
|
53
|
+
<q-field v-bind="attrs" :loading="loading" :model-value="localData" @update:model-value="onClear">
|
|
54
54
|
<template v-slot:control>
|
|
55
55
|
<template v-if="!hasFile">
|
|
56
56
|
<input type="file" accept=".xlsx" @change="onChange" ref="file" />
|
|
@@ -66,10 +66,15 @@ const showView = ref(false);
|
|
|
66
66
|
<q-icon name="sym_o_table_view" @click="showView = true" class="cursor-pointer" />
|
|
67
67
|
</template>
|
|
68
68
|
|
|
69
|
+
|
|
70
|
+
<template v-slot:append v-if="hasFile">
|
|
71
|
+
<q-icon name="cancel" @click="onClear" class="cursor-pointer" />
|
|
72
|
+
</template>
|
|
73
|
+
|
|
69
74
|
<q-dialog v-model="showView" full-width>
|
|
70
75
|
<q-card>
|
|
71
76
|
<q-card-section>
|
|
72
|
-
<q-table :rows="localData" />
|
|
77
|
+
<q-table :rows="localData" dense separator="cell" flat bordered/>
|
|
73
78
|
</q-card-section>
|
|
74
79
|
</q-card>
|
|
75
80
|
</q-dialog>
|
|
@@ -104,22 +104,20 @@ if (obj.mode != 'prod') {
|
|
|
104
104
|
<q-separator />
|
|
105
105
|
|
|
106
106
|
<FormKit label="Auth lockout duration" type="l-input" name="auth_lockout_duration"
|
|
107
|
-
hint="The number of minutes the user is locked out after the maximum number of failed login attempts. Default is 15 minutes."
|
|
107
|
+
hint="The number of minutes the user is locked out after the maximum number of failed login attempts. Default is 15 minutes."
|
|
108
|
+
validation="required" />
|
|
108
109
|
|
|
109
110
|
<FormKit label="Auth lockout attempts" type="l-input" name="auth_lockout_attempts"
|
|
110
|
-
hint="The number of failed login attempts before the user is locked out. Default is 5 attempts."
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
hint="The number of failed login attempts before the user is locked out. Default is 5 attempts."
|
|
112
|
+
validation="required" />
|
|
113
113
|
|
|
114
114
|
<FormKit label="Access token expiration" type="l-input" name="access_token_expire"
|
|
115
|
-
hint="The access token expiration time in seconds. Default is 28800 seconds (8 hours)."
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
hint="The access token expiration time in seconds. Default is 28800 seconds (8 hours)."
|
|
116
|
+
validation="required" />
|
|
119
117
|
|
|
120
118
|
<q-separator />
|
|
121
119
|
|
|
122
|
-
<FormKit label="Copyright name" type="l-input" name="copyright_name" />
|
|
120
|
+
<FormKit label="Copyright name" type="l-input" name="copyright_name" validation="required" />
|
|
123
121
|
<FormKit label="Copyright year" type="l-input" name="copyright_year" validation="required" />
|
|
124
122
|
|
|
125
123
|
|