@prefabs.tech/vue3-user 0.12.0 → 0.14.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/PrefabsTechVue3User.es.js +6954 -6768
- package/dist/PrefabsTechVue3User.umd.js +11 -11
- package/dist/src/api/user/index.d.ts.map +1 -1
- package/dist/src/auth-provider.d.ts +5 -0
- package/dist/src/auth-provider.d.ts.map +1 -1
- package/dist/src/components/AuthSocialLoginCallback.vue.d.ts.map +1 -1
- package/dist/src/components/LoginForm.vue.d.ts +4 -1
- package/dist/src/components/LoginForm.vue.d.ts.map +1 -1
- package/dist/src/components/PasswordResetRequestForm.vue.d.ts +9 -0
- package/dist/src/components/PasswordResetRequestForm.vue.d.ts.map +1 -1
- package/dist/src/components/ResetPasswordModal.vue.d.ts +37 -0
- package/dist/src/components/ResetPasswordModal.vue.d.ts.map +1 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/profile/ProfileForm.vue.d.ts.map +1 -1
- package/dist/src/components/profile/UpdateEmailForm.vue.d.ts +3 -1
- package/dist/src/components/profile/UpdateEmailForm.vue.d.ts.map +1 -1
- package/dist/src/components/profile/UpdateEmailModal.vue.d.ts.map +1 -1
- package/dist/src/components/usersTable/Index.vue.d.ts.map +1 -1
- package/dist/src/constant.d.ts +3 -1
- package/dist/src/constant.d.ts.map +1 -1
- package/dist/src/laravel-passport/change-email.d.ts +6 -0
- package/dist/src/laravel-passport/change-email.d.ts.map +1 -0
- package/dist/src/laravel-passport/index.d.ts +2 -1
- package/dist/src/laravel-passport/index.d.ts.map +1 -1
- package/dist/src/layouts/BasicLayout.vue.d.ts.map +1 -1
- package/dist/src/layouts/SidebarHeaderLayout.vue.d.ts +9 -0
- package/dist/src/layouts/SidebarHeaderLayout.vue.d.ts.map +1 -1
- package/dist/src/store.d.ts +4 -1
- package/dist/src/store.d.ts.map +1 -1
- package/dist/src/types/config.d.ts +1 -0
- package/dist/src/types/config.d.ts.map +1 -1
- package/dist/src/views/AcceptInvitation.vue.d.ts.map +1 -1
- package/dist/src/views/ChangePassword.vue.d.ts.map +1 -1
- package/dist/src/views/Login.vue.d.ts.map +1 -1
- package/dist/src/views/PasswordReset.vue.d.ts.map +1 -1
- package/dist/src/views/PasswordResetRequest.vue.d.ts.map +1 -1
- package/dist/src/views/Roles/Index.vue.d.ts.map +1 -1
- package/dist/src/views/Roles/RoleForm.vue.d.ts.map +1 -1
- package/dist/src/views/Signup.vue.d.ts.map +1 -1
- package/dist/src/views/SignupFirstUser.vue.d.ts.map +1 -1
- package/dist/vue3-user.css +1 -1
- package/package.json +12 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/user/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/user/index.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,QAAQ,EACT,MAAM,aAAa,CAAC;AAErB,eAAO,MAAM,gBAAgB,UACpB,MAAM,cACD,gBAAgB,cAChB,MAAM,iBAenB,CAAC;AAEF,eAAO,MAAM,aAAa,mBAER,GAAG,cACP,MAAM,KACjB,OAAO,CAAC,UAAU,CAcpB,CAAC;AAEF,eAAO,MAAM,WAAW,OAAc,MAAM,cAAc,MAAM,qDAY/D,CAAC;AAEF,eAAO,MAAM,UAAU,OAAc,MAAM,cAAc,MAAM,qDAc9D,CAAC;AAEF,eAAO,MAAM,cAAc,eACb,MAAM,KACjB,OAAO,CAAC;IACT,MAAM,EAAE,OAAO,CAAC;CACjB,CAQA,CAAC;AAEF,eAAO,MAAM,oBAAoB,UACxB,MAAM,cACD,MAAM,KACjB,OAAO,CAAC,UAAU,CAQpB,CAAC;AAEF,eAAO,MAAM,KAAK,eACJ,MAAM,KACjB,OAAO,CAAC;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAgB5B,CAAC;AAEF,eAAO,MAAM,eAAe,eACd,gBAAgB,cAChB,MAAM,KACjB,OAAO,CAAC,QAAQ,CAclB,CAAC;AAEF,eAAO,MAAM,iBAAiB,SACtB,sBAAsB,cAChB,MAAM,KACjB,OAAO,CAAC;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAoB5B,CAAC"}
|
|
@@ -5,6 +5,10 @@ import type { AppConfig } from "@prefabs.tech/vue3-config";
|
|
|
5
5
|
declare let authConfig: AppConfig | undefined;
|
|
6
6
|
declare const initAuthProvider: (config?: AppConfig) => void;
|
|
7
7
|
declare const auth: () => {
|
|
8
|
+
doChangeEmail: (email: string) => Promise<string | {
|
|
9
|
+
status: any;
|
|
10
|
+
message: any;
|
|
11
|
+
}>;
|
|
8
12
|
doChangePassword: (payload: ChangePasswordPayload) => Promise<import("./types").UserType | undefined>;
|
|
9
13
|
doGetVerificationStatus: () => Promise<boolean>;
|
|
10
14
|
doLogin: (credentials: LoginCredentials) => Promise<import("./types").UserType | undefined>;
|
|
@@ -18,6 +22,7 @@ declare const auth: () => {
|
|
|
18
22
|
}>;
|
|
19
23
|
verifySessionRoles: typeof laravelPassport.verifySessionRoles;
|
|
20
24
|
} | {
|
|
25
|
+
doChangeEmail: (email: string, apiBaseUrl: string) => Promise<any>;
|
|
21
26
|
doChangePassword: (payload: ChangePasswordPayload, apiBaseUrl: string) => Promise<boolean | undefined>;
|
|
22
27
|
doGetVerificationStatus: () => Promise<boolean>;
|
|
23
28
|
doLogin: (credentials: LoginCredentials) => Promise<import("./types").UserType | undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-provider.d.ts","sourceRoot":"","sources":["../../src/auth-provider.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth-provider.d.ts","sourceRoot":"","sources":["../../src/auth-provider.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,eAAe,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,eAAe,CAAC;AAC7C,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,EAC5B,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAE3D,QAAA,IAAI,UAAU,EAAE,SAAS,GAAG,SAAS,CAAC;AAEtC,QAAA,MAAM,gBAAgB,YAAa,SAAS,SAE3C,CAAC;AA+HF,QAAA,MAAM,IAAI;2BA5GiB,MAAM;;;;gCAUD,qBAAqB;;2BAmB1B,gBAAgB;;0CAcD,2BAA2B;mCASlC,oBAAoB;;4BAkB3B,gBAAgB;2BASjB,MAAM;;;;;;;;;;;;;;;;;;;;CA6Bc,CAAC;AAEhD,eAAe,gBAAgB,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AuthSocialLoginCallback.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AuthSocialLoginCallback.vue.ts"],"names":[],"mappings":";AAgBA,
|
|
1
|
+
{"version":3,"file":"AuthSocialLoginCallback.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AuthSocialLoginCallback.vue.ts"],"names":[],"mappings":";AAgBA,wBAwGc"}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import type { LoginCredentials } from "../types";
|
|
1
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
3
|
loading: {
|
|
3
4
|
type: BooleanConstructor;
|
|
4
5
|
default: boolean;
|
|
5
6
|
};
|
|
6
|
-
}>, {
|
|
7
|
+
}>, {
|
|
8
|
+
credentials: Partial<LoginCredentials>;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
10
|
loading: {
|
|
8
11
|
type: BooleanConstructor;
|
|
9
12
|
default: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoginForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/LoginForm.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LoginForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/LoginForm.vue.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;AAGjD,wBA6Kc"}
|
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
email: {
|
|
3
|
+
default: undefined;
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
};
|
|
2
6
|
loading: BooleanConstructor;
|
|
3
7
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "submit"[], "submit", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
email: {
|
|
9
|
+
default: undefined;
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
};
|
|
4
12
|
loading: BooleanConstructor;
|
|
5
13
|
}>> & Readonly<{
|
|
6
14
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
7
15
|
}>, {
|
|
16
|
+
email: string;
|
|
8
17
|
loading: boolean;
|
|
9
18
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
10
19
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordResetRequestForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordResetRequestForm.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PasswordResetRequestForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PasswordResetRequestForm.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAUA,wBAkIc"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { SelectOption } from "@prefabs.tech/vue3-form";
|
|
2
|
+
import type { PropType } from "vue";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
errorMessage: {
|
|
5
|
+
default: undefined;
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
};
|
|
8
|
+
loading: BooleanConstructor;
|
|
9
|
+
show: BooleanConstructor;
|
|
10
|
+
userAuthorizedApps: {
|
|
11
|
+
default: () => never[];
|
|
12
|
+
type: PropType<SelectOption[]>;
|
|
13
|
+
};
|
|
14
|
+
}>, {
|
|
15
|
+
resetForm: () => undefined;
|
|
16
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "hide:modal")[], "submit" | "hide:modal", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
errorMessage: {
|
|
18
|
+
default: undefined;
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
loading: BooleanConstructor;
|
|
22
|
+
show: BooleanConstructor;
|
|
23
|
+
userAuthorizedApps: {
|
|
24
|
+
default: () => never[];
|
|
25
|
+
type: PropType<SelectOption[]>;
|
|
26
|
+
};
|
|
27
|
+
}>> & Readonly<{
|
|
28
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
"onHide:modal"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
loading: boolean;
|
|
32
|
+
errorMessage: string;
|
|
33
|
+
show: boolean;
|
|
34
|
+
userAuthorizedApps: SelectOption[];
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
export default _default;
|
|
37
|
+
//# sourceMappingURL=ResetPasswordModal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResetPasswordModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ResetPasswordModal.vue.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;;;;;;;cAgDjB,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;;;cAAxB,QAAQ,CAAC,YAAY,EAAE,CAAC;;;;;;;;;;;AA7C3C,wBAgLc"}
|
|
@@ -8,6 +8,7 @@ export { default as LoginForm } from "./LoginForm.vue";
|
|
|
8
8
|
export { default as PasswordResetForm } from "./PasswordResetForm.vue";
|
|
9
9
|
export { default as PasswordResetRequestForm } from "./PasswordResetRequestForm.vue";
|
|
10
10
|
export { default as ProfileForm } from "./profile/ProfileForm.vue";
|
|
11
|
+
export { default as ResetPasswordModal } from "./ResetPasswordModal.vue";
|
|
11
12
|
export { default as SignInUpMenu } from "./SignInUpMenu.vue";
|
|
12
13
|
export { default as SignupForm } from "./SignupForm.vue";
|
|
13
14
|
export { default as TermsAndConditions } from "./TermsAndConditions.vue";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,C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AC;AACvE,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,gCAAgC,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProfileForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/ProfileForm.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ProfileForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/ProfileForm.vue.ts"],"names":[],"mappings":";AAeA,wBAwLc"}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {
|
|
2
|
+
onCancel: () => void;
|
|
3
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "email:updateProcessed"[], "email:updateProcessed", import("vue").PublicProps, Readonly<{}> & Readonly<{
|
|
2
4
|
"onEmail:updateProcessed"?: ((...args: any[]) => any) | undefined;
|
|
3
5
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4
6
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateEmailForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/UpdateEmailForm.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UpdateEmailForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/UpdateEmailForm.vue.ts"],"names":[],"mappings":";;;;;AAaA,wBAmOc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateEmailModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/UpdateEmailModal.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"UpdateEmailModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/UpdateEmailModal.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AASA,wBAiHc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/usersTable/Index.vue.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,mBAAmB,EAEnB,oBAAoB,EACpB,QAAQ,EACT,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACV,mBAAmB,EAEnB,YAAY,EACZ,qBAAqB,EAEtB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;;;;
|
|
1
|
+
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/usersTable/Index.vue.ts"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EACV,mBAAmB,EAEnB,oBAAoB,EACpB,QAAQ,EACT,MAAM,aAAa,CAAC;AAErB,OAAO,KAAK,EACV,mBAAmB,EAEnB,YAAY,EACZ,qBAAqB,EAEtB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,KAAK,EAAE,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ANGE_PASSWORD = "/api/user/change-password";
|
|
2
3
|
declare const API_PATH_GET_VERIFICATION_STATUS = "/api/email/verification-status";
|
|
3
4
|
declare const API_PATH_LOGIN = "/api/login";
|
|
4
5
|
declare const API_PATH_LOGOUT = "/api/logout";
|
|
6
|
+
declare const API_PATH_ME = "/api/me";
|
|
5
7
|
declare const API_PATH_PASSWORD_RESET = "/api/reset-password";
|
|
6
8
|
declare const API_PATH_PASSWORD_RESET_REQUEST = "/api/reset-password-request";
|
|
7
9
|
declare const API_PATH_REFRESH = "/api/login/refresh";
|
|
@@ -34,5 +36,5 @@ declare const SOCIAL_LOGIN_PROVIDER_GOOGLE = "google";
|
|
|
34
36
|
declare const STATUS_ERROR = "ERROR";
|
|
35
37
|
declare const STATUS_OK = "OK";
|
|
36
38
|
declare const SUPERTOKENS_API_BASE_PATH_DEFAULT = "/auth";
|
|
37
|
-
export { API_PATH_CHANGE_PASSWORD, API_PATH_GET_VERIFICATION_STATUS, API_PATH_LOGIN, API_PATH_LOGOUT, API_PATH_PASSWORD_RESET, API_PATH_PASSWORD_RESET_REQUEST, API_PATH_REFRESH, API_PATH_SEND_VERIFICATION_EMAIL, API_PATH_SIGNUP, API_PATH_UPDATE_PROFILE, API_PATH_VERIFY_EMAIL, AUTH_CALLBACK_PATH_FACEBOOK, AUTH_CALLBACK_PATH_GOOGLE, EMAIL_VERIFICATION, ERROR_NOT_FOUND, ERROR_ROLE_ALREADY_EXISTS, INVITATION_STATUS_ACCEPTED, INVITATION_STATUS_EXPIRED, INVITATION_STATUS_PENDING, INVITATION_STATUS_REVOKED, LOGIN_TYPE_EMAIL, LOGIN_TYPE_USERNAME, ROLE_ADMIN, ROLE_SUPERADMIN, ROLE_USER, SOCIAL_LOGIN_PROVIDER_FACEBOOK, SOCIAL_LOGIN_PROVIDER_GOOGLE, STATUS_ERROR, STATUS_OK, SUPERTOKENS_API_BASE_PATH_DEFAULT };
|
|
39
|
+
export { API_PATH_CHANGE_EMAIL, API_PATH_CHANGE_PASSWORD, API_PATH_GET_VERIFICATION_STATUS, API_PATH_LOGIN, API_PATH_LOGOUT, API_PATH_PASSWORD_RESET, API_PATH_PASSWORD_RESET_REQUEST, API_PATH_ME, API_PATH_REFRESH, API_PATH_SEND_VERIFICATION_EMAIL, API_PATH_SIGNUP, API_PATH_UPDATE_PROFILE, API_PATH_VERIFY_EMAIL, AUTH_CALLBACK_PATH_FACEBOOK, AUTH_CALLBACK_PATH_GOOGLE, EMAIL_VERIFICATION, ERROR_NOT_FOUND, ERROR_ROLE_ALREADY_EXISTS, INVITATION_STATUS_ACCEPTED, INVITATION_STATUS_EXPIRED, INVITATION_STATUS_PENDING, INVITATION_STATUS_REVOKED, LOGIN_TYPE_EMAIL, LOGIN_TYPE_USERNAME, ROLE_ADMIN, ROLE_SUPERADMIN, ROLE_USER, SOCIAL_LOGIN_PROVIDER_FACEBOOK, SOCIAL_LOGIN_PROVIDER_GOOGLE, STATUS_ERROR, STATUS_OK, SUPERTOKENS_API_BASE_PATH_DEFAULT };
|
|
38
40
|
//# sourceMappingURL=constant.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constant.d.ts","sourceRoot":"","sources":["../../src/constant.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,wBAAwB,8BAA8B,CAAC;AAC7D,QAAA,MAAM,gCAAgC,mCAAmC,CAAC;AAC1E,QAAA,MAAM,cAAc,eAAe,CAAC;AACpC,QAAA,MAAM,eAAe,gBAAgB,CAAC;AACtC,QAAA,MAAM,uBAAuB,wBAAwB,CAAC;AACtD,QAAA,MAAM,+BAA+B,gCAAgC,CAAC;AACtE,QAAA,MAAM,gBAAgB,uBAAuB,CAAC;AAC9C,QAAA,MAAM,gCAAgC,iCAAiC,CAAC;AACxE,QAAA,MAAM,eAAe,gBAAgB,CAAC;AACtC,QAAA,MAAM,uBAAuB,iBAAiB,CAAC;AAC/C,QAAA,MAAM,qBAAqB,sBAAsB,CAAC;AAElD,QAAA,MAAM,2B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AS,SAAS,CAAC;AAEzB,QAAA,MAAM,8BAA8B,aAAa,CAAC;AAClD,QAAA,MAAM,4BAA4B,WAAW,CAAC;AAE9C,QAAA,MAAM,YAAY,UAAU,CAAC;AAE7B,QAAA,MAAM,SAAS,OAAO,CAAC;AAEvB,QAAA,MAAM,iCAAiC,UAAU,CAAC;AAElD,OAAO,EACL,qBAAqB,EACrB,wBAAwB,EACxB,gCAAgC,EAChC,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,+BAA+B,EAC/B,WAAW,EACX,gBAAgB,EAChB,gCAAgC,EAChC,eAAe,EACf,uBAAuB,EACvB,qBAAqB,EACrB,2BAA2B,EAC3B,yBAAyB,EACzB,kBAAkB,EAClB,eAAe,EACf,yBAAyB,EACzB,0BAA0B,EAC1B,yBAAyB,EACzB,yBAAyB,EACzB,yBAAyB,EACzB,gBAAgB,EAChB,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,SAAS,EACT,8BAA8B,EAC9B,4BAA4B,EAC5B,YAAY,EACZ,SAAS,EACT,iCAAiC,EAClC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"change-email.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/change-email.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,WAAW,UAAiB,MAAM,cAAc,MAAM,QAAQ,MAAM;;;EAqBzE,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import changeEmail from "./change-email";
|
|
1
2
|
import changePassword from "./change-password";
|
|
2
3
|
import { verifySessionRoles } from "./helper";
|
|
3
4
|
import login from "./login";
|
|
@@ -6,5 +7,5 @@ import requestPasswordReset from "./request-password-reset";
|
|
|
6
7
|
import resetPassword from "./reset-password";
|
|
7
8
|
import signup from "./signup";
|
|
8
9
|
import { getVerificationStatus, sendVerificationEmail, verifyEmail } from "./verify-email";
|
|
9
|
-
export { changePassword, getVerificationStatus, login, logout, requestPasswordReset, resetPassword, sendVerificationEmail, signup, verifyEmail, verifySessionRoles };
|
|
10
|
+
export { changeEmail, changePassword, getVerificationStatus, login, logout, requestPasswordReset, resetPassword, sendVerificationEmail, signup, verifyEmail, verifySessionRoles };
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAC5D,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,KAAK,EACL,MAAM,EACN,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,MAAM,EACN,WAAW,EACX,kBAAkB,EACnB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/index.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,gBAAgB,CAAC;AACzC,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAC9C,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,oBAAoB,MAAM,0BAA0B,CAAC;AAC5D,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EACL,qBAAqB,EACrB,qBAAqB,EACrB,WAAW,EACZ,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,WAAW,EACX,cAAc,EACd,qBAAqB,EACrB,KAAK,EACL,MAAM,EACN,oBAAoB,EACpB,aAAa,EACb,qBAAqB,EACrB,MAAM,EACN,WAAW,EACX,kBAAkB,EACnB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BasicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/BasicLayout.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"BasicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/BasicLayout.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;WA2OO,CAAC,CAAC,IAAiB,KAAK,GAAG;qBACjB,CAAC,CAAC,IAAiB,KAAK,GAAG;aACnC,CAAC,CAAC,IAAiB,KAAK,GAAG;;AA3NpC,wBAgPc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
collapsible: {
|
|
3
|
+
default: boolean;
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
};
|
|
2
6
|
noLocaleSwitcher: BooleanConstructor;
|
|
3
7
|
showUserMenu: {
|
|
4
8
|
default: boolean;
|
|
@@ -11,6 +15,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
11
15
|
validator: (value: string) => boolean;
|
|
12
16
|
};
|
|
13
17
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
collapsible: {
|
|
19
|
+
default: boolean;
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
};
|
|
14
22
|
noLocaleSwitcher: BooleanConstructor;
|
|
15
23
|
showUserMenu: {
|
|
16
24
|
default: boolean;
|
|
@@ -25,6 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
25
33
|
}>> & Readonly<{}>, {
|
|
26
34
|
noLocaleSwitcher: boolean;
|
|
27
35
|
showUserMenu: boolean;
|
|
36
|
+
collapsible: boolean;
|
|
28
37
|
userMenuLocation: string;
|
|
29
38
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
30
39
|
header: (_: {}) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarHeaderLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/SidebarHeaderLayout.vue.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarHeaderLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/SidebarHeaderLayout.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;2BAsGuB,MAAM;;;;;;;;;;;;;;;;2BAAN,MAAM;;;;;;;;YA6LrB,CAAC,CAAC,IAAgB,KAAK,GAAG;aACzB,CAAC,CAAC,IAAiB,KAAK,GAAG;qBACnB,CAAC,CAAC,IAAiB,KAAK,GAAG;mBAC7B,CAAC,CAAC,IAAiB,KAAK,GAAG;sBACxB,CAAC,CAAC,IAAiB,KAAK,GAAG;YACrC,CAAC,CAAC,IAAiB,KAAK,GAAG;aAC1B,CAAC,CAAC,IAAiB,KAAK,GAAG;;AA5RpC,wBA6Sc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
package/dist/src/store.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ declare const useUserStore: import("pinia").StoreDefinition<"user", Pick<{
|
|
|
3
3
|
accessToken: import("vue").Ref<string | null, string | null>;
|
|
4
4
|
acceptInvitation: (token: string, credential: LoginCredentials, apiBaseUrl: string) => Promise<any>;
|
|
5
5
|
addInvitation: (invitationData: any, apiBaseUrl: string) => Promise<Invitation>;
|
|
6
|
+
changeEmail: (email: string, apiBaseUrl: string) => Promise<any>;
|
|
6
7
|
changePassword: (payload: ChangePasswordPayload, apiBaseUrl: string) => Promise<boolean | UserType | undefined>;
|
|
7
8
|
disableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
8
9
|
enableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -79,6 +80,7 @@ declare const useUserStore: import("pinia").StoreDefinition<"user", Pick<{
|
|
|
79
80
|
accessToken: import("vue").Ref<string | null, string | null>;
|
|
80
81
|
acceptInvitation: (token: string, credential: LoginCredentials, apiBaseUrl: string) => Promise<any>;
|
|
81
82
|
addInvitation: (invitationData: any, apiBaseUrl: string) => Promise<Invitation>;
|
|
83
|
+
changeEmail: (email: string, apiBaseUrl: string) => Promise<any>;
|
|
82
84
|
changePassword: (payload: ChangePasswordPayload, apiBaseUrl: string) => Promise<boolean | UserType | undefined>;
|
|
83
85
|
disableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
84
86
|
enableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -155,6 +157,7 @@ declare const useUserStore: import("pinia").StoreDefinition<"user", Pick<{
|
|
|
155
157
|
accessToken: import("vue").Ref<string | null, string | null>;
|
|
156
158
|
acceptInvitation: (token: string, credential: LoginCredentials, apiBaseUrl: string) => Promise<any>;
|
|
157
159
|
addInvitation: (invitationData: any, apiBaseUrl: string) => Promise<Invitation>;
|
|
160
|
+
changeEmail: (email: string, apiBaseUrl: string) => Promise<any>;
|
|
158
161
|
changePassword: (payload: ChangePasswordPayload, apiBaseUrl: string) => Promise<boolean | UserType | undefined>;
|
|
159
162
|
disableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
160
163
|
enableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any>>;
|
|
@@ -227,6 +230,6 @@ declare const useUserStore: import("pinia").StoreDefinition<"user", Pick<{
|
|
|
227
230
|
} | {
|
|
228
231
|
status: "EMAIL_VERIFICATION_INVALID_TOKEN_ERROR" | "OK";
|
|
229
232
|
}>;
|
|
230
|
-
}, "acceptInvitation" | "addInvitation" | "changePassword" | "disableUser" | "enableUser" | "getIsFirstUser" | "getInvitationByToken" | "getUser" | "getVerificationStatus" | "login" | "logout" | "removeAuthTokens" | "removeUser" | "resetPassword" | "requestPasswordReset" | "sendVerificationEmail" | "setAuthTokens" | "signUpFirstUser" | "setInvitation" | "setUser" | "signup" | "socialSignIn" | "verifyEmail">>;
|
|
233
|
+
}, "acceptInvitation" | "addInvitation" | "changeEmail" | "changePassword" | "disableUser" | "enableUser" | "getIsFirstUser" | "getInvitationByToken" | "getUser" | "getVerificationStatus" | "login" | "logout" | "removeAuthTokens" | "removeUser" | "resetPassword" | "requestPasswordReset" | "sendVerificationEmail" | "setAuthTokens" | "signUpFirstUser" | "setInvitation" | "setUser" | "signup" | "socialSignIn" | "verifyEmail">>;
|
|
231
234
|
export default useUserStore;
|
|
232
235
|
//# sourceMappingURL=store.d.ts.map
|
package/dist/src/store.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"store.d.ts","sourceRoot":"","sources":["../../src/store.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,EAC3B,qBAAqB,EACrB,QAAQ,EACT,MAAM,SA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAgKhC,MAAM;;;;;;;8BA5NhC,MAAM,cACD,gBAAgB,cAChB,MAAM;oCAOF,GAAG,cACP,MAAM;yBAKc,MAAM,cAAc,MAAM;8BAkBjD,qBAAqB,cAClB,MAAM;sBAkBW,MAAM,cAAc,MAAM;qBAI3B,MAAM,cAAc,MAAM;iCAoB1C,MAAM;;;kCAKuB,MAAM,cAAc,MAAM;mBAIjD,QAAQ;;;yBAkBM,gBAAgB;;;;;6BA8CvC,oBAAoB,KAC5B,OAAO,CAAC,OAAO,CAAC;oCAfR,2BAA2B,KACnC,OAAO,CAAC,OAAO,CAAC;;gCAuDgB,UAAU;mCAqB9B,gBAAgB,cACjB,MAAM,KACjB,OAAO,CAAC,IAAI,CAAC;oCAxCuB,UAAU,GAAG,SAAS;wBAI5B,QAAQ,GAAG,SAAS;0BAqBlB,gBAAgB,KAAG,OAAO,CAAC,IAAI,CAAC;+BA3I3B,MAAM,eAAe,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAgKhC,MAAM;;;;;2aA0CzC,CAAC;AAEH,eAAe,YAAY,CAAC"}
|
|
@@ -2,6 +2,7 @@ import type { RouteOverrides } from "./router";
|
|
|
2
2
|
import type { IsEmailOptions, StrongPasswordOptions } from "@prefabs.tech/vue3-form";
|
|
3
3
|
interface DzangolabVueUserConfig {
|
|
4
4
|
apiRoutes?: {
|
|
5
|
+
changeEmail?: string;
|
|
5
6
|
changePassword?: string;
|
|
6
7
|
getVerificationStatus?: string;
|
|
7
8
|
login?: string;
|
|
@@ -1 +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;AAEj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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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AcceptInvitation.vue.d.ts","sourceRoot":"","sources":["../../../src/views/AcceptInvitation.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"AcceptInvitation.vue.d.ts","sourceRoot":"","sources":["../../../src/views/AcceptInvitation.vue.ts"],"names":[],"mappings":";kBAyMc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AAvLxC,wBA6Mc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangePassword.vue.d.ts","sourceRoot":"","sources":["../../../src/views/ChangePassword.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ChangePassword.vue.d.ts","sourceRoot":"","sources":["../../../src/views/ChangePassword.vue.ts"],"names":[],"mappings":";kBAwIc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AAzHxC,wBA6Ic;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Login.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Login.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Login.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Login.vue.ts"],"names":[],"mappings":";kBA4Rc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AArQxC,wBAiSc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordReset.vue.d.ts","sourceRoot":"","sources":["../../../src/views/PasswordReset.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"PasswordReset.vue.d.ts","sourceRoot":"","sources":["../../../src/views/PasswordReset.vue.ts"],"names":[],"mappings":";kBAkIc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AArHxC,wBAyIc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PasswordResetRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/views/PasswordResetRequest.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"PasswordResetRequest.vue.d.ts","sourceRoot":"","sources":["../../../src/views/PasswordResetRequest.vue.ts"],"names":[],"mappings":";kBA+Hc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AAlHxC,wBAqIc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Roles/Index.vue.ts"],"names":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"Index.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Roles/Index.vue.ts"],"names":[],"mappings":";;;;;;;AAsBA,wBA6Vc"}
|
|
@@ -1 +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;;;;;
|
|
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;;;;;cAmEhB,QAAQ,CAAC,IAAI,CAAC;;;;;;cAAd,QAAQ,CAAC,IAAI,CAAC;;;;;;;;;AAhElC,wBAyMc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Signup.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Signup.vue.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Signup.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Signup.vue.ts"],"names":[],"mappings":";kBA6Jc,CAAC,CAAC,IAAgB,KAAK,GAAG;;AA/IxC,wBAmKc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignupFirstUser.vue.d.ts","sourceRoot":"","sources":["../../../src/views/SignupFirstUser.vue.ts"],"names":[],"mappings":";AAgBA,
|
|
1
|
+
{"version":3,"file":"SignupFirstUser.vue.d.ts","sourceRoot":"","sources":["../../../src/views/SignupFirstUser.vue.ts"],"names":[],"mappings":";AAgBA,wBA8Jc"}
|
package/dist/vue3-user.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.auth{align-items:center;display:flex;flex-direction:column;gap:var(--
|
|
1
|
+
.auth{--_auth-page-gap: var(--auth-page-gap, 2rem);align-items:center;display:flex;flex-direction:column;gap:var(--_auth-page-gap);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:2rem;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}.page.profile>.page-content{display:flex;flex-direction:column;gap:2rem;padding:0}.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}.role-modal>.dialog{overflow-wrap:anywhere;overflow-y:unset}.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{--_hover-bg: var(--nav-item-hover-bg, #f0f2f7ad);--_hover-color: var(--nav-item-hover-color, #2c2c2c);border-radius:.325rem;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-padding-h, 1rem);--_padding-v: var(--layout-nav-item-padding-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;margin-left:.5rem;text-align:center;width:1.25rem}nav.user-menu-dropdown.expanded,nav.user-menu-dropdown:hover{background:var(--_hover-bg);color:var(--_hover-color)}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:max-height .3s 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{--_active-bg: var(--nav-item-active-bg, #eff6ff);--_active-color: var(--nav-item-active-color, #2c2c2c);--_hover-bg: var(--nav-item-hover-bg, #f0f2f7ad);--_hover-color: var(--nav-item-hover-color, #2c2c2c);cursor:pointer;transition:all var(--transition-duration) ease 0s}nav.user-menu-dropdown>.dropdown>li:hover{background:var(--_hover-bg);color:var(--_hover-color)}nav.user-menu>ul>li:has(.router-link-exact-active){background:var(--_active-bg);color:var(--_active-color)}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}@media screen and (min-width: 576px){nav.user-menu-dropdown>.trigger{--_padding-h: 1rem;--_padding-v: .625rem}}.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}.password-reset-email-modal .dialog .content{display:flex;flex-direction:column;gap:2rem}.password-reset-email-modal .dialog{min-width:32rem;overflow-wrap:anywhere;overflow-y:visible}.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 );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:var(--nav-item-active-bg, #eff6ff);color:var(--nav-item-active-color, #2c2c2c)}.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{align-items:center;display:flex;width:100%}.sidebar-header-layout>.sidebar .user-menu-dropdown{border-top:1px solid var(--_layout-sidebar-separator-color);padding-block:.5rem}.sidebar-header-layout>.sidebar .user-menu-dropdown,.sidebar-header-layout>.sidebar .user-menu-dropdown:hover{background-color:#fff}.sidebar-header-layout>.sidebar .user-menu-dropdown>.trigger{background-color:var(--sidebar-bg-color, #fff);width:100%}.sidebar-header-layout>.sidebar .user-menu-dropdown>.trigger:hover{background-color:#f0f2f7ad}.sidebar-header-layout>.sidebar .user-menu-dropdown.expanded>ul>li:hover{--dropdown-bg-color-hover: #f0f2f7ad}.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{transform:translate3d(0,-80px,0);transition:transform .2s ease,visibility .1s ease;visibility:hidden;width:100%}.sidebar-header-layout>.sidebar .user-menu-dropdown.expanded>.dropdown{--dropdown-bg-color: #fff;box-shadow:0 -2px 12px #0000001a;transform:translate3d(0,-161.5px,0);visibility:visible;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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefabs.tech/vue3-user",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Vue3 User Plugin",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@prefabs.tech/eslint-config": "0.2.0",
|
|
25
25
|
"@prefabs.tech/tsconfig": "0.2.0",
|
|
26
|
-
"@prefabs.tech/vue3-config": "0.
|
|
27
|
-
"@prefabs.tech/vue3-form": "0.
|
|
28
|
-
"@prefabs.tech/vue3-i18n": "0.
|
|
29
|
-
"@prefabs.tech/vue3-layout": "0.
|
|
30
|
-
"@prefabs.tech/vue3-tanstack-table": "0.
|
|
31
|
-
"@prefabs.tech/vue3-ui": "0.
|
|
26
|
+
"@prefabs.tech/vue3-config": "0.14.0",
|
|
27
|
+
"@prefabs.tech/vue3-form": "0.14.0",
|
|
28
|
+
"@prefabs.tech/vue3-i18n": "0.14.0",
|
|
29
|
+
"@prefabs.tech/vue3-layout": "0.14.0",
|
|
30
|
+
"@prefabs.tech/vue3-tanstack-table": "0.14.0",
|
|
31
|
+
"@prefabs.tech/vue3-ui": "0.14.0",
|
|
32
32
|
"@iconify/vue": "4.3.0",
|
|
33
33
|
"@types/node": "22.13.5",
|
|
34
34
|
"@typescript-eslint/eslint-plugin": "8.24.1",
|
|
@@ -64,10 +64,10 @@
|
|
|
64
64
|
"zod": "3.24.2"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@prefabs.tech/vue3-config": "0.
|
|
68
|
-
"@prefabs.tech/vue3-i18n": "0.
|
|
69
|
-
"@prefabs.tech/vue3-layout": "0.
|
|
70
|
-
"@prefabs.tech/vue3-ui": "0.
|
|
67
|
+
"@prefabs.tech/vue3-config": "0.14.0",
|
|
68
|
+
"@prefabs.tech/vue3-i18n": "0.14.0",
|
|
69
|
+
"@prefabs.tech/vue3-layout": "0.14.0",
|
|
70
|
+
"@prefabs.tech/vue3-ui": "0.14.0",
|
|
71
71
|
"@vee-validate/i18n": ">=4.7.1",
|
|
72
72
|
"@vee-validate/rules": ">=4.7.1",
|
|
73
73
|
"@vueuse/core": ">=9.4.0",
|
|
@@ -86,6 +86,7 @@
|
|
|
86
86
|
"build": "vite build && vue-tsc --emitDeclarationOnly",
|
|
87
87
|
"lint": "eslint . --ext .vue",
|
|
88
88
|
"lint:fix": "eslint . --ext .vue --fix",
|
|
89
|
+
"snapshot:update": "vitest --environment jsdom run --update",
|
|
89
90
|
"sort-package": "npx sort-package-json",
|
|
90
91
|
"test": "pnpm build && vitest --environment jsdom run --coverage",
|
|
91
92
|
"test:component": "vitest --environment jsdom run component/",
|