@prefabs.tech/vue3-user 0.12.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/LICENSE +21 -0
- package/dist/PrefabsTechVue3User.es.js +23976 -0
- package/dist/PrefabsTechVue3User.umd.js +32 -0
- package/dist/src/api/axios.d.ts +4 -0
- package/dist/src/api/axios.d.ts.map +1 -0
- package/dist/src/api/roles.d.ts +7 -0
- package/dist/src/api/roles.d.ts.map +1 -0
- package/dist/src/api/user/index.d.ts +17 -0
- package/dist/src/api/user/index.d.ts.map +1 -0
- package/dist/src/auth-provider.d.ts +38 -0
- package/dist/src/auth-provider.d.ts.map +1 -0
- package/dist/src/components/AuthSocialLoginCallback.vue.d.ts +3 -0
- package/dist/src/components/AuthSocialLoginCallback.vue.d.ts.map +1 -0
- package/dist/src/components/ChangePasswordForm.vue.d.ts +55 -0
- package/dist/src/components/ChangePasswordForm.vue.d.ts.map +1 -0
- package/dist/src/components/DropdownUserMenu.vue.d.ts +24 -0
- package/dist/src/components/DropdownUserMenu.vue.d.ts.map +1 -0
- package/dist/src/components/FacebookLogin.vue.d.ts +5 -0
- package/dist/src/components/FacebookLogin.vue.d.ts.map +1 -0
- package/dist/src/components/GoogleLogin.vue.d.ts +5 -0
- package/dist/src/components/GoogleLogin.vue.d.ts.map +1 -0
- package/dist/src/components/LoginForm.vue.d.ts +17 -0
- package/dist/src/components/LoginForm.vue.d.ts.map +1 -0
- package/dist/src/components/PasswordResetForm.vue.d.ts +11 -0
- package/dist/src/components/PasswordResetForm.vue.d.ts.map +1 -0
- package/dist/src/components/PasswordResetRequestForm.vue.d.ts +11 -0
- package/dist/src/components/PasswordResetRequestForm.vue.d.ts.map +1 -0
- package/dist/src/components/SignInUpMenu.vue.d.ts +3 -0
- package/dist/src/components/SignInUpMenu.vue.d.ts.map +1 -0
- package/dist/src/components/SignupForm.vue.d.ts +11 -0
- package/dist/src/components/SignupForm.vue.d.ts.map +1 -0
- package/dist/src/components/TermsAndConditions.vue.d.ts +42 -0
- package/dist/src/components/TermsAndConditions.vue.d.ts.map +1 -0
- package/dist/src/components/TermsAndServices.vue.d.ts +15 -0
- package/dist/src/components/TermsAndServices.vue.d.ts.map +1 -0
- package/dist/src/components/UserMenu.vue.d.ts +10 -0
- package/dist/src/components/UserMenu.vue.d.ts.map +1 -0
- package/dist/src/components/index.d.ts +18 -0
- package/dist/src/components/index.d.ts.map +1 -0
- package/dist/src/components/invitation/InvitationForm.vue.d.ts +103 -0
- package/dist/src/components/invitation/InvitationForm.vue.d.ts.map +1 -0
- package/dist/src/components/invitation/InvitationModal.vue.d.ts +130 -0
- package/dist/src/components/invitation/InvitationModal.vue.d.ts.map +1 -0
- package/dist/src/components/invitation/InvitationTable.vue.d.ts +184 -0
- package/dist/src/components/invitation/InvitationTable.vue.d.ts.map +1 -0
- package/dist/src/components/profile/AccountInfo.vue.d.ts +3 -0
- package/dist/src/components/profile/AccountInfo.vue.d.ts.map +1 -0
- package/dist/src/components/profile/ProfileForm.vue.d.ts +3 -0
- package/dist/src/components/profile/ProfileForm.vue.d.ts.map +1 -0
- package/dist/src/components/profile/UpdateEmailForm.vue.d.ts +5 -0
- package/dist/src/components/profile/UpdateEmailForm.vue.d.ts.map +1 -0
- package/dist/src/components/profile/UpdateEmailModal.vue.d.ts +17 -0
- package/dist/src/components/profile/UpdateEmailModal.vue.d.ts.map +1 -0
- package/dist/src/components/usersTable/Index.vue.d.ts +165 -0
- package/dist/src/components/usersTable/Index.vue.d.ts.map +1 -0
- package/dist/src/constant.d.ts +38 -0
- package/dist/src/constant.d.ts.map +1 -0
- package/dist/src/index.d.ts +15 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/laravel-passport/change-password.d.ts +4 -0
- package/dist/src/laravel-passport/change-password.d.ts.map +1 -0
- package/dist/src/laravel-passport/helper.d.ts +2 -0
- package/dist/src/laravel-passport/helper.d.ts.map +1 -0
- package/dist/src/laravel-passport/index.d.ts +10 -0
- package/dist/src/laravel-passport/index.d.ts.map +1 -0
- package/dist/src/laravel-passport/login.d.ts +4 -0
- package/dist/src/laravel-passport/login.d.ts.map +1 -0
- package/dist/src/laravel-passport/logout.d.ts +3 -0
- package/dist/src/laravel-passport/logout.d.ts.map +1 -0
- package/dist/src/laravel-passport/request-password-reset.d.ts +4 -0
- package/dist/src/laravel-passport/request-password-reset.d.ts.map +1 -0
- package/dist/src/laravel-passport/reset-password.d.ts +4 -0
- package/dist/src/laravel-passport/reset-password.d.ts.map +1 -0
- package/dist/src/laravel-passport/signup.d.ts +4 -0
- package/dist/src/laravel-passport/signup.d.ts.map +1 -0
- package/dist/src/laravel-passport/verify-email.d.ts +9 -0
- package/dist/src/laravel-passport/verify-email.d.ts.map +1 -0
- package/dist/src/layouts/BasicLayout.vue.d.ts +29 -0
- package/dist/src/layouts/BasicLayout.vue.d.ts.map +1 -0
- package/dist/src/layouts/SidebarHeaderLayout.vue.d.ts +44 -0
- package/dist/src/layouts/SidebarHeaderLayout.vue.d.ts.map +1 -0
- package/dist/src/layouts/SidebarOnlyLayout.vue.d.ts +31 -0
- package/dist/src/layouts/SidebarOnlyLayout.vue.d.ts.map +1 -0
- package/dist/src/layouts/index.d.ts +4 -0
- package/dist/src/layouts/index.d.ts.map +1 -0
- package/dist/src/router.d.ts +5 -0
- package/dist/src/router.d.ts.map +1 -0
- package/dist/src/store.d.ts +232 -0
- package/dist/src/store.d.ts.map +1 -0
- package/dist/src/stores/roles.d.ts +22 -0
- package/dist/src/stores/roles.d.ts.map +1 -0
- package/dist/src/supertokens/change-email.d.ts +3 -0
- package/dist/src/supertokens/change-email.d.ts.map +1 -0
- package/dist/src/supertokens/change-password.d.ts +4 -0
- package/dist/src/supertokens/change-password.d.ts.map +1 -0
- package/dist/src/supertokens/helper.d.ts +14 -0
- package/dist/src/supertokens/helper.d.ts.map +1 -0
- package/dist/src/supertokens/index.d.ts +19 -0
- package/dist/src/supertokens/index.d.ts.map +1 -0
- package/dist/src/supertokens/login.d.ts +4 -0
- package/dist/src/supertokens/login.d.ts.map +1 -0
- package/dist/src/supertokens/logout.d.ts +3 -0
- package/dist/src/supertokens/logout.d.ts.map +1 -0
- package/dist/src/supertokens/profile-validation-claim.d.ts +15 -0
- package/dist/src/supertokens/profile-validation-claim.d.ts.map +1 -0
- package/dist/src/supertokens/request-password-reset.d.ts +4 -0
- package/dist/src/supertokens/request-password-reset.d.ts.map +1 -0
- package/dist/src/supertokens/resend-email-verification.d.ts +4 -0
- package/dist/src/supertokens/resend-email-verification.d.ts.map +1 -0
- package/dist/src/supertokens/reset-password.d.ts +4 -0
- package/dist/src/supertokens/reset-password.d.ts.map +1 -0
- package/dist/src/supertokens/signup.d.ts +4 -0
- package/dist/src/supertokens/signup.d.ts.map +1 -0
- package/dist/src/supertokens/social-signin.d.ts +3 -0
- package/dist/src/supertokens/social-signin.d.ts.map +1 -0
- package/dist/src/supertokens/verify-email.d.ts +7 -0
- package/dist/src/supertokens/verify-email.d.ts.map +1 -0
- package/dist/src/types/auth.d.ts +56 -0
- package/dist/src/types/auth.d.ts.map +1 -0
- package/dist/src/types/config.d.ts +46 -0
- package/dist/src/types/config.d.ts.map +1 -0
- package/dist/src/types/index.d.ts +7 -0
- package/dist/src/types/index.d.ts.map +1 -0
- package/dist/src/types/invitation.d.ts +35 -0
- package/dist/src/types/invitation.d.ts.map +1 -0
- package/dist/src/types/plugin.d.ts +15 -0
- package/dist/src/types/plugin.d.ts.map +1 -0
- package/dist/src/types/roles.d.ts +9 -0
- package/dist/src/types/roles.d.ts.map +1 -0
- package/dist/src/types/router.d.ts +31 -0
- package/dist/src/types/router.d.ts.map +1 -0
- package/dist/src/views/AcceptInvitation.vue.d.ts +10 -0
- package/dist/src/views/AcceptInvitation.vue.d.ts.map +1 -0
- package/dist/src/views/ChangePassword.vue.d.ts +10 -0
- package/dist/src/views/ChangePassword.vue.d.ts.map +1 -0
- package/dist/src/views/EmailVerificationReminder.vue.d.ts +3 -0
- package/dist/src/views/EmailVerificationReminder.vue.d.ts.map +1 -0
- package/dist/src/views/Login.vue.d.ts +10 -0
- package/dist/src/views/Login.vue.d.ts.map +1 -0
- package/dist/src/views/PasswordReset.vue.d.ts +10 -0
- package/dist/src/views/PasswordReset.vue.d.ts.map +1 -0
- package/dist/src/views/PasswordResetRequest.vue.d.ts +10 -0
- package/dist/src/views/PasswordResetRequest.vue.d.ts.map +1 -0
- package/dist/src/views/Profile.vue.d.ts +3 -0
- package/dist/src/views/Profile.vue.d.ts.map +1 -0
- package/dist/src/views/Roles/Index.vue.d.ts +9 -0
- package/dist/src/views/Roles/Index.vue.d.ts.map +1 -0
- package/dist/src/views/Roles/RoleForm.vue.d.ts +23 -0
- package/dist/src/views/Roles/RoleForm.vue.d.ts.map +1 -0
- package/dist/src/views/Signup.vue.d.ts +10 -0
- package/dist/src/views/Signup.vue.d.ts.map +1 -0
- package/dist/src/views/SignupFirstUser.vue.d.ts +3 -0
- package/dist/src/views/SignupFirstUser.vue.d.ts.map +1 -0
- package/dist/src/views/VerifyEmail.vue.d.ts +3 -0
- package/dist/src/views/VerifyEmail.vue.d.ts.map +1 -0
- package/dist/vue3-user.css +1 -0
- package/package.json +96 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { RouteOverrides } from "./router";
|
|
2
|
+
import type { IsEmailOptions, StrongPasswordOptions } from "@prefabs.tech/vue3-form";
|
|
3
|
+
interface DzangolabVueUserConfig {
|
|
4
|
+
apiRoutes?: {
|
|
5
|
+
changePassword?: string;
|
|
6
|
+
getVerificationStatus?: string;
|
|
7
|
+
login?: string;
|
|
8
|
+
logout?: string;
|
|
9
|
+
passwordReset?: string;
|
|
10
|
+
passwordResetRequest?: string;
|
|
11
|
+
refresh?: string;
|
|
12
|
+
sendVerificationEmail?: string;
|
|
13
|
+
signup?: string;
|
|
14
|
+
verifyEmail?: string;
|
|
15
|
+
};
|
|
16
|
+
features?: {
|
|
17
|
+
authProvider?: string;
|
|
18
|
+
loginType?: "email" | "username";
|
|
19
|
+
signUp?: {
|
|
20
|
+
emailVerification?: boolean;
|
|
21
|
+
termsAndConditions?: {
|
|
22
|
+
display?: boolean;
|
|
23
|
+
route?: string;
|
|
24
|
+
showCheckbox?: boolean;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
updateEmail?: boolean;
|
|
28
|
+
};
|
|
29
|
+
password?: {
|
|
30
|
+
minLength: number;
|
|
31
|
+
};
|
|
32
|
+
options?: {
|
|
33
|
+
email?: IsEmailOptions;
|
|
34
|
+
password?: StrongPasswordOptions;
|
|
35
|
+
};
|
|
36
|
+
routes?: RouteOverrides;
|
|
37
|
+
socialLogins?: string[];
|
|
38
|
+
supportedRoles?: string[];
|
|
39
|
+
}
|
|
40
|
+
declare module "@prefabs.tech/vue3-config" {
|
|
41
|
+
interface AppConfig {
|
|
42
|
+
user?: DzangolabVueUserConfig;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export type { DzangolabVueUserConfig };
|
|
46
|
+
//# sourceMappingURL=config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/types/config.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,KAAK,EACV,cAAc,EACd,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,UAAU,sBAAsB;IAC9B,SAAS,CAAC,EAAE;QACV,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,aAAa,CAAC,EAAE,MAAM,CAAC;QACvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,SAAS,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;QACjC,MAAM,CAAC,EAAE;YACP,iBAAiB,CAAC,EAAE,OAAO,CAAC;YAC5B,kBAAkB,CAAC,EAAE;gBACnB,OAAO,CAAC,EAAE,OAAO,CAAC;gBAClB,KAAK,CAAC,EAAE,MAAM,CAAC;gBACf,YAAY,CAAC,EAAE,OAAO,CAAC;aACxB,CAAC;SACH,CAAC;QACF,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;IACF,QAAQ,CAAC,EAAE;QACT,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,OAAO,CAAC,EAAE;QACR,KAAK,CAAC,EAAE,cAAc,CAAC;QACvB,QAAQ,CAAC,EAAE,qBAAqB,CAAC;KAClC,CAAC;IACF,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;CAC3B;AAED,OAAO,QAAQ,2BAA2B,CAAC;IACzC,UAAiB,SAAS;QACxB,IAAI,CAAC,EAAE,sBAAsB,CAAC;KAC/B;CACF;AAED,YAAY,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type { AuthTokens, ChangePasswordPayload, LoginCredentials, PasswordResetPayload, PasswordResetRequestPayload, UpdateProfileInputType, User, UserType, } from "./auth";
|
|
2
|
+
export type { DzangolabVueUserConfig } from "./config";
|
|
3
|
+
export type { Invitation, InvitationAppOption, InvitationPayload, InvitationRoleOption, } from "./invitation";
|
|
4
|
+
export type { DzangolabVueUserPluginOptions } from "./plugin";
|
|
5
|
+
export type { Role, RolePermissionsInput } from "./roles";
|
|
6
|
+
export type { RouteOverride, RouteOverrides } from "./router";
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,UAAU,EACV,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,EAC3B,sBAAsB,EACtB,IAAI,EACJ,QAAQ,GACT,MAAM,QAAQ,CAAC;AAEhB,YAAY,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAEvD,YAAY,EACV,UAAU,EACV,mBAAmB,EACnB,iBAAiB,EACjB,oBAAoB,GACrB,MAAM,cAAc,CAAC;AAEtB,YAAY,EAAE,6BAA6B,EAAE,MAAM,UAAU,CAAC;AAE9D,YAAY,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE1D,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UserType } from "./auth";
|
|
2
|
+
interface Invitation {
|
|
3
|
+
acceptedAt: number | null;
|
|
4
|
+
appId: number;
|
|
5
|
+
createdAt: number;
|
|
6
|
+
email: string;
|
|
7
|
+
expiresAt: number;
|
|
8
|
+
id: number;
|
|
9
|
+
invitedBy?: UserType;
|
|
10
|
+
invitedById: string;
|
|
11
|
+
payload: any;
|
|
12
|
+
revokedAt: number | null;
|
|
13
|
+
role: string;
|
|
14
|
+
token?: string;
|
|
15
|
+
updatedAt: number;
|
|
16
|
+
}
|
|
17
|
+
interface InvitationAppOption {
|
|
18
|
+
id: number;
|
|
19
|
+
name: string;
|
|
20
|
+
origin: string;
|
|
21
|
+
supportedRoles: InvitationRoleOption[];
|
|
22
|
+
label?: string;
|
|
23
|
+
}
|
|
24
|
+
interface InvitationPayload {
|
|
25
|
+
email: string;
|
|
26
|
+
role?: string;
|
|
27
|
+
appId?: number;
|
|
28
|
+
expiresAt?: Date | string;
|
|
29
|
+
}
|
|
30
|
+
interface InvitationRoleOption {
|
|
31
|
+
name: string;
|
|
32
|
+
id: number;
|
|
33
|
+
}
|
|
34
|
+
export type { Invitation, InvitationAppOption, InvitationPayload, InvitationRoleOption };
|
|
35
|
+
//# sourceMappingURL=invitation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invitation.d.ts","sourceRoot":"","sources":["../../../src/types/invitation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAElC,UAAU,UAAU;IAClB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,CAAC,EAAE,QAAQ,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IAEpB,OAAO,EAAE,GAAG,CAAC;IACb,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,UAAU,mBAAmB;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,oBAAoB,EAAE,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,IAAI,GAAG,MAAM,CAAC;CAC3B;AAED,UAAU,oBAAoB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,YAAY,EAAE,UAAU,EAAE,mBAAmB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { AppConfig } from "@prefabs.tech/vue3-config";
|
|
2
|
+
import type { LocaleMessages, VueMessageType } from "@prefabs.tech/vue3-i18n";
|
|
3
|
+
import type { Pinia } from "pinia";
|
|
4
|
+
import { DefineComponent, VNode } from "vue";
|
|
5
|
+
import type { Router } from "vue-router";
|
|
6
|
+
interface DzangolabVueUserPluginOptions {
|
|
7
|
+
config: AppConfig;
|
|
8
|
+
notification?: (message: object | string | unknown) => void;
|
|
9
|
+
pinia: Pinia;
|
|
10
|
+
router: Router;
|
|
11
|
+
termsComponent?: string | DefineComponent | VNode;
|
|
12
|
+
translations?: LocaleMessages<VueMessageType>;
|
|
13
|
+
}
|
|
14
|
+
export type { DzangolabVueUserPluginOptions };
|
|
15
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/types/plugin.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEzC,UAAU,6BAA6B;IACrC,MAAM,EAAE,SAAS,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,KAAK,IAAI,CAAC;IAC5D,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,GAAG,eAAe,GAAG,KAAK,CAAC;IAClD,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC/C;AAED,YAAY,EAAE,6BAA6B,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../src/types/roles.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,EAAE,CAAC;CACvB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { RouteComponent } from "vue-router";
|
|
2
|
+
interface RouteOverride {
|
|
3
|
+
component?: RouteComponent;
|
|
4
|
+
meta?: {
|
|
5
|
+
layout?: RouteComponent;
|
|
6
|
+
};
|
|
7
|
+
path?: string;
|
|
8
|
+
}
|
|
9
|
+
interface RouteOverrides {
|
|
10
|
+
acceptInvitation: RouteOverride;
|
|
11
|
+
changePassword: RouteOverride;
|
|
12
|
+
facebook?: RouteOverride;
|
|
13
|
+
google?: RouteOverride;
|
|
14
|
+
home?: string;
|
|
15
|
+
login: RouteOverride;
|
|
16
|
+
signup: RouteOverride & {
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
};
|
|
19
|
+
signupFirstUser: RouteOverride & {
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
};
|
|
22
|
+
passwordReset: RouteOverride;
|
|
23
|
+
passwordResetRequest: RouteOverride;
|
|
24
|
+
passwordResetRequestAcknowledge: RouteOverride;
|
|
25
|
+
profile?: RouteOverride;
|
|
26
|
+
roles?: RouteOverride;
|
|
27
|
+
verifyEmail?: RouteOverride;
|
|
28
|
+
verifyEmailReminder?: RouteOverride;
|
|
29
|
+
}
|
|
30
|
+
export type { RouteOverride, RouteOverrides };
|
|
31
|
+
//# sourceMappingURL=router.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../../src/types/router.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAEjD,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,IAAI,CAAC,EAAE;QACL,MAAM,CAAC,EAAE,cAAc,CAAC;KACzB,CAAC;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,cAAc;IACtB,gBAAgB,EAAE,aAAa,CAAC;IAChC,cAAc,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,aAAa,CAAC;IACrB,MAAM,EAAE,aAAa,GAAG;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IAC/C,eAAe,EAAE,aAAa,GAAG;QAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IACxD,aAAa,EAAE,aAAa,CAAC;IAC7B,oBAAoB,EAAE,aAAa,CAAC;IACpC,+BAA+B,EAAE,aAAa,CAAC;IAC/C,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,mBAAmB,CAAC,EAAE,aAAa,CAAC;CACrC;AAED,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
instructions: (_: {}) => any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=AcceptInvitation.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AcceptInvitation.vue.d.ts","sourceRoot":"","sources":["../../../src/views/AcceptInvitation.vue.ts"],"names":[],"mappings":";kBA8Mc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AA5LxC,wBAkNc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
instructions: (_: {}) => any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=ChangePassword.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChangePassword.vue.d.ts","sourceRoot":"","sources":["../../../src/views/ChangePassword.vue.ts"],"names":[],"mappings":";kBAmIc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AApHxC,wBAwIc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=EmailVerificationReminder.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EmailVerificationReminder.vue.d.ts","sourceRoot":"","sources":["../../../src/views/EmailVerificationReminder.vue.ts"],"names":[],"mappings":";AASA,wBAuIc"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
instructions: (_: {}) => any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=Login.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Login.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Login.vue.ts"],"names":[],"mappings":";kBA2Qc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AApPxC,wBA+Qc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
instructions: (_: {}) => any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=PasswordReset.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordReset.vue.d.ts","sourceRoot":"","sources":["../../../src/views/PasswordReset.vue.ts"],"names":[],"mappings":";kBA6Hc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AAhHxC,wBAoIc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
instructions: (_: {}) => any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=PasswordResetRequest.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordResetRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/views/PasswordResetRequest.vue.ts"],"names":[],"mappings":";kBAsGc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AA1FxC,wBA4Gc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=Profile.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Profile.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Profile.vue.ts"],"names":[],"mappings":";AASA,wBA4Ec"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
isLoading: BooleanConstructor;
|
|
3
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
isLoading: BooleanConstructor;
|
|
5
|
+
}>> & Readonly<{}>, {
|
|
6
|
+
isLoading: boolean;
|
|
7
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export default _default;
|
|
9
|
+
//# sourceMappingURL=Index.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Roles/Index.vue.ts"],"names":[],"mappings":";;;;;;;AAiBA,wBAyUc"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { Role } from "../../types";
|
|
2
|
+
import type { PropType } from "vue";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
loading: BooleanConstructor;
|
|
5
|
+
role: {
|
|
6
|
+
default: undefined;
|
|
7
|
+
type: PropType<Role>;
|
|
8
|
+
};
|
|
9
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "submit")[], "cancel" | "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
+
loading: BooleanConstructor;
|
|
11
|
+
role: {
|
|
12
|
+
default: undefined;
|
|
13
|
+
type: PropType<Role>;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{
|
|
16
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
18
|
+
}>, {
|
|
19
|
+
role: Role;
|
|
20
|
+
loading: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
23
|
+
//# sourceMappingURL=RoleForm.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RoleForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Roles/RoleForm.vue.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAC;AAGxC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;cAyEhB,QAAQ,CAAC,IAAI,CAAC;;;;;;cAAd,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;AAtElC,wBA+Mc"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
instructions: (_: {}) => any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=Signup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Signup.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Signup.vue.ts"],"names":[],"mappings":";kBAwJc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AA1IxC,wBA8Jc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=SignupFirstUser.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SignupFirstUser.vue.d.ts","sourceRoot":"","sources":["../../../src/views/SignupFirstUser.vue.ts"],"names":[],"mappings":";AAgBA,wBAgKc"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=VerifyEmail.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VerifyEmail.vue.d.ts","sourceRoot":"","sources":["../../../src/views/VerifyEmail.vue.ts"],"names":[],"mappings":";AAeA,wBA+Ic"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.auth{align-items:center;display:flex;flex-direction:column;gap:var(--auth-page-gap, .5em);margin:0 auto;width:var(--auth-page-width, 100%)}.auth .links{align-items:center;display:flex;justify-content:space-between}.auth .links a{color:var(--auth-page-link-color, #1c4786);text-decoration:none}.auth .links a:only-child{margin-left:auto;margin-right:auto}.auth.password-reset-acknowledge .redirect{font-size:80%;font-style:italic}.auth.password-reset-acknowledge .email{font-weight:700}.auth.password-reset-acknowledge .seconds{font-size:150%;font-style:normal;font-weight:700}.auth .social-login-wrapper>button{margin:.5rem 0;width:100%}.auth>.page-content{display:flex;flex-direction:column;gap:1rem;max-width:430px;width:100%}.auth.verify-email,.auth.verify-email-reminder{max-width:var(--user-auth-max-width, 30rem)}.auth>main{--layout-default-padding-v: 1rem;--layout-default-padding-v: .5rem;display:flex;flex-direction:column;gap:1rem}.terms-and-conditions{align-items:baseline;color:#525252;display:flex;font-size:14px;gap:.5rem;line-height:1.35}.terms-and-conditions a{color:var(--dz-primary-color, #1c4786);text-decoration:underline}.login .social-login-wrapper{display:flex;flex-direction:column;gap:.5rem}.account-info>.data>.data-value{align-items:center;display:flex;gap:1rem}.account-info>.data>.data-value>svg{cursor:pointer}.account-info>.data.update-email .value{align-items:center;display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:.5rem}.profile-form .form-actions button{flex:none}.page.profile>main{display:flex;flex-direction:column;gap:1rem;margin-top:1rem;padding:0}.profile .account-info{margin-bottom:1rem}.role-form button{width:100%}.role-form .form-actions.direction-vertical{flex-direction:column-reverse}.role-modal .dialog>.header{font-size:1.25rem;font-weight:700}.table-roles .column-role{width:10rem;min-width:10rem;max-width:10rem}.table-roles .column-permissions{min-width:10rem}.table-roles .column-actions{width:4rem;min-width:4rem;max-width:4rem}.email-verification-reminder span.email{font-weight:500}.email-verification button.resend-email{text-align:center}.email-verification-reminder .resend-email{font-style:italic;margin-top:1rem}.email-verification-reminder .resend-email a{color:#007aff;cursor:pointer;text-decoration:none}.email-verification-reminder .resend-email a:hover{text-decoration:underline}.email-verification[data-centered=true]{align-items:flex-start;max-width:var(--page-max-width);margin:auto}nav.user-menu-dropdown{cursor:pointer;min-width:var(--dropdown-width, 6rem);padding:0;position:relative}nav.user-menu-dropdown .email{cursor:pointer;max-width:13rem;overflow:hidden;text-overflow:ellipsis}nav.user-menu-dropdown>.trigger{--_padding-h: var(--layout-nav-item-paddind-h, 1rem);--_padding-v: var(--layout-nav-item-paddind-v, .625rem);align-items:flex-start;display:flex;flex-direction:row;gap:0;justify-content:space-between;padding:var(--_padding-v) var(--_padding-h);z-index:99}nav.user-menu-dropdown span.toggle{align-self:center;display:block;font-size:1.5rem;line-height:1.25rem;text-align:center;width:1.25rem}nav.user-menu-dropdown.expanded,nav.user-menu-dropdown:hover{background-color:var(--dropdown-container-bg-color, #e5e5e5);border-radius:5px}nav.user-menu-dropdown.expanded span.toggle>svg{transform:rotate(0)}nav.user-menu-dropdown span.toggle>svg{transform:rotate(-180deg);transition:transform .5s ease}nav.user-menu-dropdown>ul.dropdown{border-radius:var(--dropdown-border-radius, 5px);inset:0 auto auto 0;list-style:none;max-height:0;min-width:160px;position:absolute;transform:translate3d(0,48.5px,0);transition:border .4s ease,max-height .4s ease-out;width:max-content;z-index:var(--dropdown-z-index, 2)}nav.user-menu-dropdown.expanded>ul.dropdown{background-color:var(--dropdown-bg-color, #fff);display:flex;flex-direction:column;gap:.25rem;height:auto;max-height:10rem;padding:.15rem 0;padding-inline-start:0}nav.user-menu-dropdown>ul.dropdown>li{cursor:pointer;transition:all var(--transition-duration) ease 0s}nav.user-menu-dropdown>.dropdown>li:hover,nav.user-menu>ul>li:has(.router-link-exact-active){background-color:var(--dropdown-bg-color-hover, #e5e5e5)}nav.user-menu-dropdown>ul.dropdown>li>a,nav.user-menu-dropdown>ul.dropdown>li:not(:has(a)){color:inherit;display:flex;padding:.7rem 1.25rem;text-decoration:none;width:100%}nav.user-menu-dropdown>ul.dropdown>li svg{margin-right:.5rem}.invitation-form .form-actions{--form-margin-bottom: 0}.invitation-modal .dialog{--modal-min-width: 23rem}@media screen and (min-width: 768px){.invitation-modal .dialog{--modal-min-width: 30rem}}.table-invitations .column-appId{max-width:10rem;min-width:10rem;width:10rem}.table-invitations .column-email{min-width:15rem}.table-invitations .column-expiresAt{max-width:12rem;min-width:12rem;width:12rem}.table-invitations .column-invitedBy{max-width:15rem;min-width:15rem;width:15rem}.table-invitations .column-role,.table-invitations .column-status{max-width:10rem;min-width:10rem;width:10rem}.table-users .cell-roles>.badge{margin:.1rem!important}.table-users .column-email{min-width:20rem}.table-users .column-name{max-width:15rem;min-width:15rem;width:15rem}.table-users .column-roles,.table-users .column-signedUpAt,.table-users .column-disabled{max-width:10rem;min-width:10rem;width:10rem}.layout.basic nav.user-menu-dropdown>ul.dropdown{border:var(--dropdown-border, 1px solid transparent);overflow-y:hidden}.layout.basic nav.user-menu-dropdown.expanded>ul.dropdown{border-color:gray}.sidebar-header-layout>.sidebar .user-menu>ul{flex-direction:column}.sidebar-header-layout>.sidebar .user-menu>ul>li,.sidebar-header-layout>.sidebar .user-menu-dropdown{--_font-size: var(--font-size-min, .8rem);--_font-weight: var(--font-weight, 450);--_layout-sidebar-separator-color: var( --layout-sidebar-separator-color, #dbdbdb );--dropdown-container-bg-color: #0870e5;--menu-highlight-color: #0870e5;font-size:var(--_font-size);font-weight:var(--_font-weight);width:100%}.sidebar-header-layout>.sidebar .user-menu>ul>li:has(.router-link-exact-active){background-color:#0870e5}.sidebar-header-layout .footer{background-color:var(--sidebar-bg-color, #007aff);z-index:99}.sidebar-header->.sidebar .user-menu:not(.user-menu-dropdown)>ul>li>a,.sidebar-header-layout>.sidebar .user-menu-dropdown,.sidebar-header-layout>.sidebar .user-menu-dropdown>ul.dropdown>li{--_height: var(--nav-menu-height, 3rem);align-items:center;display:flex;height:var(--_height);width:100%}.sidebar-header-layout>.sidebar .user-menu-dropdown{border-top:1px solid var(--_layout-sidebar-separator-color)}.sidebar-header-layout>.sidebar .user-menu-dropdown>.trigger{background-color:var(--sidebar-bg-color, #007aff);width:100%}.sidebar-header-layout>.sidebar .user-menu-dropdown:hover{background-color:#0870e5}.sidebar-header-layout>.sidebar .user-menu-dropdown.expanded>ul>li:hover{--dropdown-bg-color-hover: #0870e5}.sidebar-header-layout>.sidebar .user-menu-dropdown.expanded .toggle>svg{transform:rotate(-180deg)}.sidebar-header-layout>.sidebar .user-menu-dropdown .toggle>svg{transform:rotate(0)}.sidebar-header-layout>.sidebar .user-menu-dropdown>.dropdown{opacity:0;transform:translateZ(0);transition:transform .3s ease,opacity .5s ease;width:100%}.sidebar-header-layout>.sidebar .user-menu-dropdown.expanded>.dropdown{--dropdown-bg-color: #007aff;--dropdown-border: 1px solid #007aff;box-shadow:0 -2px 10px 2px #0870e5;opacity:1;transform:translate3d(0,-161.5px,0);width:100%}.sidebar-only .footer{background-color:var(--sidebar-bg-color, #007aff);z-index:99}.sidebar-only>.sidebar .user-menu-dropdown.expanded .toggle>svg{transform:rotate(-180deg)}.sidebar-only>.sidebar .user-menu-dropdown .toggle>svg{transform:rotate(0)}.sidebar-only .user-menu>ul{flex-direction:column}.sidebar-only .user-menu>ul>li,.sidebar-only .user-menu-dropdown{--_font-size: var(--font-size-min, .8rem);--_font-weight: var(--font-weight, 450);--_layout-sidebar-separator-color: var( --layout-sidebar-separator-color, #dbdbdb );--dropdown-container-bg-color: #0870e5;--menu-highlight-color: #0870e5;font-size:var(--_font-size);font-weight:var(--_font-weight);width:100%}.sidebar-only>.sidebar .user-menu-dropdown{border-top:1px solid var(--_layout-sidebar-separator-color)}.sidebar-only>.sidebar .user-menu-dropdown>.trigger{background-color:var(--sidebar-bg-color, #007aff);width:100%}.sidebar-only .user-menu>ul>li:has(.router-link-exact-active){background-color:#0870e5}.sidebar-only .user-menu:not(.user-menu-dropdown)>ul>li>a,.sidebar-only .user-menu-dropdown,.sidebar-only .user-menu-dropdown>ul.dropdown>li{--_height: var(--nav-menu-height, 3rem);align-items:center;display:flex;height:var(--_height);width:100%}.sidebar-only .user-menu-dropdown:hover{background-color:#0870e5}.sidebar-only .user-menu-dropdown.expanded>ul>li:hover{--dropdown-bg-color-hover: #0870e5}.sidebar-only .user-menu-dropdown>.dropdown{opacity:0;transform:translateZ(0);transition:transform .3s ease,opacity .5s ease;width:100%}.sidebar-only .user-menu-dropdown.expanded>.dropdown{--dropdown-bg-color: #007aff;--dropdown-border: 1px solid #007aff;box-shadow:0 -2px 10px 2px #0870e5;opacity:1;transform:translate3d(0,-161.5px,0);width:100%}
|
package/package.json
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@prefabs.tech/vue3-user",
|
|
3
|
+
"version": "0.12.0",
|
|
4
|
+
"description": "Vue3 User Plugin",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"import": "./dist/PrefabsTechVue3User.es.js",
|
|
9
|
+
"require": "./dist/PrefabsTechVue3User.umd.js"
|
|
10
|
+
},
|
|
11
|
+
"./dist/PrefabsTechVue3User.css": "./dist/vue3-user.css"
|
|
12
|
+
},
|
|
13
|
+
"main": "./dist/PrefabsTechVue3User.umd.js",
|
|
14
|
+
"module": "./dist/PrefabsTechVue3User.es.js",
|
|
15
|
+
"types": "./dist/src/index.d.ts",
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"supertokens-web-js": "0.5.0",
|
|
21
|
+
"supertokens-website": "16.0.1"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"@prefabs.tech/eslint-config": "0.2.0",
|
|
25
|
+
"@prefabs.tech/tsconfig": "0.2.0",
|
|
26
|
+
"@prefabs.tech/vue3-config": "0.12.0",
|
|
27
|
+
"@prefabs.tech/vue3-form": "0.12.0",
|
|
28
|
+
"@prefabs.tech/vue3-i18n": "0.12.0",
|
|
29
|
+
"@prefabs.tech/vue3-layout": "0.12.0",
|
|
30
|
+
"@prefabs.tech/vue3-tanstack-table": "0.12.0",
|
|
31
|
+
"@prefabs.tech/vue3-ui": "0.12.0",
|
|
32
|
+
"@iconify/vue": "4.3.0",
|
|
33
|
+
"@types/node": "22.13.5",
|
|
34
|
+
"@typescript-eslint/eslint-plugin": "8.24.1",
|
|
35
|
+
"@typescript-eslint/parser": "8.24.1",
|
|
36
|
+
"@vee-validate/i18n": "4.15.0",
|
|
37
|
+
"@vee-validate/rules": "4.15.0",
|
|
38
|
+
"@vee-validate/zod": "4.15.0",
|
|
39
|
+
"@vitejs/plugin-vue": "5.2.1",
|
|
40
|
+
"@vitejs/plugin-vue-jsx": "4.1.1",
|
|
41
|
+
"@vitest/coverage-istanbul": "3.0.6",
|
|
42
|
+
"@vue/test-utils": "2.4.6",
|
|
43
|
+
"@vueuse/core": "12.7.0",
|
|
44
|
+
"axios": "1.7.9",
|
|
45
|
+
"eslint": "8.57.1",
|
|
46
|
+
"eslint-config-prettier": "9.1.0",
|
|
47
|
+
"eslint-import-resolver-alias": "1.1.2",
|
|
48
|
+
"eslint-import-resolver-typescript": "3.8.3",
|
|
49
|
+
"eslint-plugin-import": "2.31.0",
|
|
50
|
+
"eslint-plugin-prettier": "5.2.3",
|
|
51
|
+
"eslint-plugin-unicorn": "56.0.1",
|
|
52
|
+
"eslint-plugin-vue": "9.32.0",
|
|
53
|
+
"mitt": "3.0.1",
|
|
54
|
+
"pinia": "3.0.1",
|
|
55
|
+
"prettier": "3.5.2",
|
|
56
|
+
"typescript": "5.5.4",
|
|
57
|
+
"vee-validate": "4.15.0",
|
|
58
|
+
"vite": "6.1.1",
|
|
59
|
+
"vitest": "3.0.6",
|
|
60
|
+
"vue": "3.5.13",
|
|
61
|
+
"vue-eslint-parser": "9.4.3",
|
|
62
|
+
"vue-router": "4.5.0",
|
|
63
|
+
"vue-tsc": "1.2.0",
|
|
64
|
+
"zod": "3.24.2"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@prefabs.tech/vue3-config": "0.12.0",
|
|
68
|
+
"@prefabs.tech/vue3-i18n": "0.12.0",
|
|
69
|
+
"@prefabs.tech/vue3-layout": "0.12.0",
|
|
70
|
+
"@prefabs.tech/vue3-ui": "0.12.0",
|
|
71
|
+
"@vee-validate/i18n": ">=4.7.1",
|
|
72
|
+
"@vee-validate/rules": ">=4.7.1",
|
|
73
|
+
"@vueuse/core": ">=9.4.0",
|
|
74
|
+
"axios": ">=0.26.1",
|
|
75
|
+
"pinia": ">=2.0",
|
|
76
|
+
"vee-validate": ">=4.7.1",
|
|
77
|
+
"vue": ">=3.2",
|
|
78
|
+
"vue-router": ">=4.0",
|
|
79
|
+
"zod": ">=3.20.6"
|
|
80
|
+
},
|
|
81
|
+
"engines": {
|
|
82
|
+
"node": ">=18",
|
|
83
|
+
"pnpm": ">=9"
|
|
84
|
+
},
|
|
85
|
+
"scripts": {
|
|
86
|
+
"build": "vite build && vue-tsc --emitDeclarationOnly",
|
|
87
|
+
"lint": "eslint . --ext .vue",
|
|
88
|
+
"lint:fix": "eslint . --ext .vue --fix",
|
|
89
|
+
"sort-package": "npx sort-package-json",
|
|
90
|
+
"test": "pnpm build && vitest --environment jsdom run --coverage",
|
|
91
|
+
"test:component": "vitest --environment jsdom run component/",
|
|
92
|
+
"test:snapshot": "vitest --environment jsdom run snapshot/",
|
|
93
|
+
"test:unit": "vitest --environment jsdom run unit/",
|
|
94
|
+
"typecheck": "vue-tsc --noEmit -p tsconfig.json --composite false"
|
|
95
|
+
}
|
|
96
|
+
}
|