@hostlink/nuxt-light 1.62.1 → 1.63.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/dist/module.json +1 -1
- package/dist/runtime/components/L/System/Setting/security.d.vue.ts +1 -0
- package/dist/runtime/components/L/System/Setting/security.vue +6 -1
- package/dist/runtime/components/L/System/Setting/security.vue.d.ts +1 -0
- package/dist/runtime/components/l-app.vue +1 -0
- package/dist/runtime/components/l-file-manager.vue +3 -3
- package/dist/runtime/components/l-login.d.vue.ts +1 -0
- package/dist/runtime/components/l-login.vue +3 -2
- package/dist/runtime/components/l-login.vue.d.ts +1 -0
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -12,6 +12,7 @@ export type LSystemSettingSecurityProps = {
|
|
|
12
12
|
password_expiration: string;
|
|
13
13
|
password_expiration_duration: string;
|
|
14
14
|
concurrent_login_disabled: string;
|
|
15
|
+
web_authn_enabled?: string;
|
|
15
16
|
};
|
|
16
17
|
declare const __VLS_export: import("vue").DefineComponent<LSystemSettingSecurityProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
18
|
submit: (...args: any[]) => void;
|
|
@@ -13,12 +13,17 @@ defineProps({
|
|
|
13
13
|
refresh_token_expire: { type: String, required: false, default: "604800" },
|
|
14
14
|
password_expiration: { type: String, required: true, default: "0" },
|
|
15
15
|
password_expiration_duration: { type: String, required: true, default: "90" },
|
|
16
|
-
concurrent_login_disabled: { type: String, required: true, default: "0" }
|
|
16
|
+
concurrent_login_disabled: { type: String, required: true, default: "0" },
|
|
17
|
+
web_authn_enabled: { type: String, required: false }
|
|
17
18
|
});
|
|
18
19
|
</script>
|
|
19
20
|
|
|
20
21
|
<template>
|
|
21
22
|
<FormKit type="l-form" :bordered="false" :value="$props" @submit="$emit('submit', $event)">
|
|
23
|
+
|
|
24
|
+
<form-kit type="l-checkbox" name="webauthn_enabled" true-value="1" false-value="0"
|
|
25
|
+
label="WebAuthn (Passwordless) Authentication Enabled" class="col-12"/>
|
|
26
|
+
|
|
22
27
|
<l-field label="Password policy" stack-label>
|
|
23
28
|
<FormKit type="l-checkbox" label="Upper Case" name="password_contains_uppercase" true-value="1"
|
|
24
29
|
false-value="0" />
|
|
@@ -12,6 +12,7 @@ export type LSystemSettingSecurityProps = {
|
|
|
12
12
|
password_expiration: string;
|
|
13
13
|
password_expiration_duration: string;
|
|
14
14
|
concurrent_login_disabled: string;
|
|
15
|
+
web_authn_enabled?: string;
|
|
15
16
|
};
|
|
16
17
|
declare const __VLS_export: import("vue").DefineComponent<LSystemSettingSecurityProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
18
|
submit: (...args: any[]) => void;
|
|
@@ -114,9 +114,6 @@ const loadItems = async () => {
|
|
|
114
114
|
let path = selectedLocation.value;
|
|
115
115
|
files.value = [];
|
|
116
116
|
folders.value = [];
|
|
117
|
-
if (!path) {
|
|
118
|
-
return;
|
|
119
|
-
}
|
|
120
117
|
if (label.value || localSearch.value) {
|
|
121
118
|
loading.value = true;
|
|
122
119
|
const items2 = await fs.find(localSearch.value, label.value);
|
|
@@ -125,6 +122,9 @@ const loadItems = async () => {
|
|
|
125
122
|
folders.value = items2.filter((item) => item.__typename === "Folder");
|
|
126
123
|
return;
|
|
127
124
|
}
|
|
125
|
+
if (!path) {
|
|
126
|
+
return;
|
|
127
|
+
}
|
|
128
128
|
loading.value = true;
|
|
129
129
|
const folder = await fs.list(path);
|
|
130
130
|
loading.value = false;
|
|
@@ -8,6 +8,7 @@ export interface LLoginProps {
|
|
|
8
8
|
microsoftTenantId?: string;
|
|
9
9
|
facebookAppId?: string;
|
|
10
10
|
forgetPasswordEnabled: boolean;
|
|
11
|
+
webAuthnEnabled: boolean;
|
|
11
12
|
}
|
|
12
13
|
declare const __VLS_export: import("vue").DefineComponent<LLoginProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
14
|
login: (...args: any[]) => void;
|
|
@@ -16,7 +16,8 @@ const props = defineProps({
|
|
|
16
16
|
microsoftClientId: { type: String, required: false },
|
|
17
17
|
microsoftTenantId: { type: String, required: false },
|
|
18
18
|
facebookAppId: { type: String, required: false },
|
|
19
|
-
forgetPasswordEnabled: { type: Boolean, required: true }
|
|
19
|
+
forgetPasswordEnabled: { type: Boolean, required: true },
|
|
20
|
+
webAuthnEnabled: { type: Boolean, required: true }
|
|
20
21
|
});
|
|
21
22
|
useHead({
|
|
22
23
|
title: props.company
|
|
@@ -286,7 +287,7 @@ const facebookLogin = (accessToken) => {
|
|
|
286
287
|
</q-form>
|
|
287
288
|
</q-card-section>
|
|
288
289
|
<q-card-actions>
|
|
289
|
-
<l-btn outline rounded color="primary" icon="sym_o_fingerprint" @click="bioLogin" />
|
|
290
|
+
<l-btn outline rounded color="primary" icon="sym_o_fingerprint" @click="bioLogin" v-if="webAuthnEnabled" />
|
|
290
291
|
<l-btn label="Login" outline rounded color="primary" icon="sym_o_login" @click="submit"
|
|
291
292
|
v-if="passwordBasedEnabled" />
|
|
292
293
|
<l-btn label="Forget password" outline rounded color="primary" icon="sym_o_lock_reset" @click="forgetPassword"
|
|
@@ -8,6 +8,7 @@ export interface LLoginProps {
|
|
|
8
8
|
microsoftTenantId?: string;
|
|
9
9
|
facebookAppId?: string;
|
|
10
10
|
forgetPasswordEnabled: boolean;
|
|
11
|
+
webAuthnEnabled: boolean;
|
|
11
12
|
}
|
|
12
13
|
declare const __VLS_export: import("vue").DefineComponent<LLoginProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
14
|
login: (...args: any[]) => void;
|