@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.
Files changed (157) hide show
  1. package/LICENSE +21 -0
  2. package/dist/PrefabsTechVue3User.es.js +23976 -0
  3. package/dist/PrefabsTechVue3User.umd.js +32 -0
  4. package/dist/src/api/axios.d.ts +4 -0
  5. package/dist/src/api/axios.d.ts.map +1 -0
  6. package/dist/src/api/roles.d.ts +7 -0
  7. package/dist/src/api/roles.d.ts.map +1 -0
  8. package/dist/src/api/user/index.d.ts +17 -0
  9. package/dist/src/api/user/index.d.ts.map +1 -0
  10. package/dist/src/auth-provider.d.ts +38 -0
  11. package/dist/src/auth-provider.d.ts.map +1 -0
  12. package/dist/src/components/AuthSocialLoginCallback.vue.d.ts +3 -0
  13. package/dist/src/components/AuthSocialLoginCallback.vue.d.ts.map +1 -0
  14. package/dist/src/components/ChangePasswordForm.vue.d.ts +55 -0
  15. package/dist/src/components/ChangePasswordForm.vue.d.ts.map +1 -0
  16. package/dist/src/components/DropdownUserMenu.vue.d.ts +24 -0
  17. package/dist/src/components/DropdownUserMenu.vue.d.ts.map +1 -0
  18. package/dist/src/components/FacebookLogin.vue.d.ts +5 -0
  19. package/dist/src/components/FacebookLogin.vue.d.ts.map +1 -0
  20. package/dist/src/components/GoogleLogin.vue.d.ts +5 -0
  21. package/dist/src/components/GoogleLogin.vue.d.ts.map +1 -0
  22. package/dist/src/components/LoginForm.vue.d.ts +17 -0
  23. package/dist/src/components/LoginForm.vue.d.ts.map +1 -0
  24. package/dist/src/components/PasswordResetForm.vue.d.ts +11 -0
  25. package/dist/src/components/PasswordResetForm.vue.d.ts.map +1 -0
  26. package/dist/src/components/PasswordResetRequestForm.vue.d.ts +11 -0
  27. package/dist/src/components/PasswordResetRequestForm.vue.d.ts.map +1 -0
  28. package/dist/src/components/SignInUpMenu.vue.d.ts +3 -0
  29. package/dist/src/components/SignInUpMenu.vue.d.ts.map +1 -0
  30. package/dist/src/components/SignupForm.vue.d.ts +11 -0
  31. package/dist/src/components/SignupForm.vue.d.ts.map +1 -0
  32. package/dist/src/components/TermsAndConditions.vue.d.ts +42 -0
  33. package/dist/src/components/TermsAndConditions.vue.d.ts.map +1 -0
  34. package/dist/src/components/TermsAndServices.vue.d.ts +15 -0
  35. package/dist/src/components/TermsAndServices.vue.d.ts.map +1 -0
  36. package/dist/src/components/UserMenu.vue.d.ts +10 -0
  37. package/dist/src/components/UserMenu.vue.d.ts.map +1 -0
  38. package/dist/src/components/index.d.ts +18 -0
  39. package/dist/src/components/index.d.ts.map +1 -0
  40. package/dist/src/components/invitation/InvitationForm.vue.d.ts +103 -0
  41. package/dist/src/components/invitation/InvitationForm.vue.d.ts.map +1 -0
  42. package/dist/src/components/invitation/InvitationModal.vue.d.ts +130 -0
  43. package/dist/src/components/invitation/InvitationModal.vue.d.ts.map +1 -0
  44. package/dist/src/components/invitation/InvitationTable.vue.d.ts +184 -0
  45. package/dist/src/components/invitation/InvitationTable.vue.d.ts.map +1 -0
  46. package/dist/src/components/profile/AccountInfo.vue.d.ts +3 -0
  47. package/dist/src/components/profile/AccountInfo.vue.d.ts.map +1 -0
  48. package/dist/src/components/profile/ProfileForm.vue.d.ts +3 -0
  49. package/dist/src/components/profile/ProfileForm.vue.d.ts.map +1 -0
  50. package/dist/src/components/profile/UpdateEmailForm.vue.d.ts +5 -0
  51. package/dist/src/components/profile/UpdateEmailForm.vue.d.ts.map +1 -0
  52. package/dist/src/components/profile/UpdateEmailModal.vue.d.ts +17 -0
  53. package/dist/src/components/profile/UpdateEmailModal.vue.d.ts.map +1 -0
  54. package/dist/src/components/usersTable/Index.vue.d.ts +165 -0
  55. package/dist/src/components/usersTable/Index.vue.d.ts.map +1 -0
  56. package/dist/src/constant.d.ts +38 -0
  57. package/dist/src/constant.d.ts.map +1 -0
  58. package/dist/src/index.d.ts +15 -0
  59. package/dist/src/index.d.ts.map +1 -0
  60. package/dist/src/laravel-passport/change-password.d.ts +4 -0
  61. package/dist/src/laravel-passport/change-password.d.ts.map +1 -0
  62. package/dist/src/laravel-passport/helper.d.ts +2 -0
  63. package/dist/src/laravel-passport/helper.d.ts.map +1 -0
  64. package/dist/src/laravel-passport/index.d.ts +10 -0
  65. package/dist/src/laravel-passport/index.d.ts.map +1 -0
  66. package/dist/src/laravel-passport/login.d.ts +4 -0
  67. package/dist/src/laravel-passport/login.d.ts.map +1 -0
  68. package/dist/src/laravel-passport/logout.d.ts +3 -0
  69. package/dist/src/laravel-passport/logout.d.ts.map +1 -0
  70. package/dist/src/laravel-passport/request-password-reset.d.ts +4 -0
  71. package/dist/src/laravel-passport/request-password-reset.d.ts.map +1 -0
  72. package/dist/src/laravel-passport/reset-password.d.ts +4 -0
  73. package/dist/src/laravel-passport/reset-password.d.ts.map +1 -0
  74. package/dist/src/laravel-passport/signup.d.ts +4 -0
  75. package/dist/src/laravel-passport/signup.d.ts.map +1 -0
  76. package/dist/src/laravel-passport/verify-email.d.ts +9 -0
  77. package/dist/src/laravel-passport/verify-email.d.ts.map +1 -0
  78. package/dist/src/layouts/BasicLayout.vue.d.ts +29 -0
  79. package/dist/src/layouts/BasicLayout.vue.d.ts.map +1 -0
  80. package/dist/src/layouts/SidebarHeaderLayout.vue.d.ts +44 -0
  81. package/dist/src/layouts/SidebarHeaderLayout.vue.d.ts.map +1 -0
  82. package/dist/src/layouts/SidebarOnlyLayout.vue.d.ts +31 -0
  83. package/dist/src/layouts/SidebarOnlyLayout.vue.d.ts.map +1 -0
  84. package/dist/src/layouts/index.d.ts +4 -0
  85. package/dist/src/layouts/index.d.ts.map +1 -0
  86. package/dist/src/router.d.ts +5 -0
  87. package/dist/src/router.d.ts.map +1 -0
  88. package/dist/src/store.d.ts +232 -0
  89. package/dist/src/store.d.ts.map +1 -0
  90. package/dist/src/stores/roles.d.ts +22 -0
  91. package/dist/src/stores/roles.d.ts.map +1 -0
  92. package/dist/src/supertokens/change-email.d.ts +3 -0
  93. package/dist/src/supertokens/change-email.d.ts.map +1 -0
  94. package/dist/src/supertokens/change-password.d.ts +4 -0
  95. package/dist/src/supertokens/change-password.d.ts.map +1 -0
  96. package/dist/src/supertokens/helper.d.ts +14 -0
  97. package/dist/src/supertokens/helper.d.ts.map +1 -0
  98. package/dist/src/supertokens/index.d.ts +19 -0
  99. package/dist/src/supertokens/index.d.ts.map +1 -0
  100. package/dist/src/supertokens/login.d.ts +4 -0
  101. package/dist/src/supertokens/login.d.ts.map +1 -0
  102. package/dist/src/supertokens/logout.d.ts +3 -0
  103. package/dist/src/supertokens/logout.d.ts.map +1 -0
  104. package/dist/src/supertokens/profile-validation-claim.d.ts +15 -0
  105. package/dist/src/supertokens/profile-validation-claim.d.ts.map +1 -0
  106. package/dist/src/supertokens/request-password-reset.d.ts +4 -0
  107. package/dist/src/supertokens/request-password-reset.d.ts.map +1 -0
  108. package/dist/src/supertokens/resend-email-verification.d.ts +4 -0
  109. package/dist/src/supertokens/resend-email-verification.d.ts.map +1 -0
  110. package/dist/src/supertokens/reset-password.d.ts +4 -0
  111. package/dist/src/supertokens/reset-password.d.ts.map +1 -0
  112. package/dist/src/supertokens/signup.d.ts +4 -0
  113. package/dist/src/supertokens/signup.d.ts.map +1 -0
  114. package/dist/src/supertokens/social-signin.d.ts +3 -0
  115. package/dist/src/supertokens/social-signin.d.ts.map +1 -0
  116. package/dist/src/supertokens/verify-email.d.ts +7 -0
  117. package/dist/src/supertokens/verify-email.d.ts.map +1 -0
  118. package/dist/src/types/auth.d.ts +56 -0
  119. package/dist/src/types/auth.d.ts.map +1 -0
  120. package/dist/src/types/config.d.ts +46 -0
  121. package/dist/src/types/config.d.ts.map +1 -0
  122. package/dist/src/types/index.d.ts +7 -0
  123. package/dist/src/types/index.d.ts.map +1 -0
  124. package/dist/src/types/invitation.d.ts +35 -0
  125. package/dist/src/types/invitation.d.ts.map +1 -0
  126. package/dist/src/types/plugin.d.ts +15 -0
  127. package/dist/src/types/plugin.d.ts.map +1 -0
  128. package/dist/src/types/roles.d.ts +9 -0
  129. package/dist/src/types/roles.d.ts.map +1 -0
  130. package/dist/src/types/router.d.ts +31 -0
  131. package/dist/src/types/router.d.ts.map +1 -0
  132. package/dist/src/views/AcceptInvitation.vue.d.ts +10 -0
  133. package/dist/src/views/AcceptInvitation.vue.d.ts.map +1 -0
  134. package/dist/src/views/ChangePassword.vue.d.ts +10 -0
  135. package/dist/src/views/ChangePassword.vue.d.ts.map +1 -0
  136. package/dist/src/views/EmailVerificationReminder.vue.d.ts +3 -0
  137. package/dist/src/views/EmailVerificationReminder.vue.d.ts.map +1 -0
  138. package/dist/src/views/Login.vue.d.ts +10 -0
  139. package/dist/src/views/Login.vue.d.ts.map +1 -0
  140. package/dist/src/views/PasswordReset.vue.d.ts +10 -0
  141. package/dist/src/views/PasswordReset.vue.d.ts.map +1 -0
  142. package/dist/src/views/PasswordResetRequest.vue.d.ts +10 -0
  143. package/dist/src/views/PasswordResetRequest.vue.d.ts.map +1 -0
  144. package/dist/src/views/Profile.vue.d.ts +3 -0
  145. package/dist/src/views/Profile.vue.d.ts.map +1 -0
  146. package/dist/src/views/Roles/Index.vue.d.ts +9 -0
  147. package/dist/src/views/Roles/Index.vue.d.ts.map +1 -0
  148. package/dist/src/views/Roles/RoleForm.vue.d.ts +23 -0
  149. package/dist/src/views/Roles/RoleForm.vue.d.ts.map +1 -0
  150. package/dist/src/views/Signup.vue.d.ts +10 -0
  151. package/dist/src/views/Signup.vue.d.ts.map +1 -0
  152. package/dist/src/views/SignupFirstUser.vue.d.ts +3 -0
  153. package/dist/src/views/SignupFirstUser.vue.d.ts.map +1 -0
  154. package/dist/src/views/VerifyEmail.vue.d.ts +3 -0
  155. package/dist/src/views/VerifyEmail.vue.d.ts.map +1 -0
  156. package/dist/vue3-user.css +1 -0
  157. package/package.json +96 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InvitationModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/invitation/InvitationModal.vue.ts"],"names":[],"mappings":"AAE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cAKpC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA5G9E,wBA8Mc"}
@@ -0,0 +1,184 @@
1
+ import type { Invitation, InvitationAppOption, InvitationRoleOption } from "../../types";
2
+ import type { FilterOption, SortingState, TableColumnDefinition } from "@prefabs.tech/vue3-tanstack-table";
3
+ import type { PropType } from "vue";
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ appFilterOptions: {
6
+ default: () => never[];
7
+ type: PropType<Array<FilterOption>>;
8
+ };
9
+ apps: {
10
+ default: () => never[];
11
+ type: PropType<Array<InvitationAppOption>>;
12
+ };
13
+ columnsData: {
14
+ default: () => never[];
15
+ type: PropType<TableColumnDefinition<any>[]>;
16
+ };
17
+ expiryMode: {
18
+ default: undefined;
19
+ type: StringConstructor;
20
+ validator: (value: string) => boolean;
21
+ };
22
+ id: {
23
+ default: string;
24
+ type: StringConstructor;
25
+ };
26
+ initialSorting: {
27
+ default: () => never[];
28
+ type: PropType<SortingState>;
29
+ };
30
+ invitationModalTitle: {
31
+ default: string;
32
+ type: StringConstructor;
33
+ };
34
+ invitations: {
35
+ default: () => never[];
36
+ type: PropType<Invitation[]>;
37
+ };
38
+ isLoading: BooleanConstructor;
39
+ isServerTable: BooleanConstructor;
40
+ persistState: BooleanConstructor;
41
+ persistStateStorage: {
42
+ default: string;
43
+ type: StringConstructor;
44
+ validator: (value: string) => boolean;
45
+ };
46
+ roleFilterOptions: {
47
+ default: () => never[];
48
+ type: PropType<Array<FilterOption>>;
49
+ };
50
+ roles: {
51
+ default: () => never[];
52
+ type: PropType<Array<InvitationRoleOption>>;
53
+ };
54
+ showInviteAction: {
55
+ default: boolean;
56
+ type: BooleanConstructor;
57
+ };
58
+ statutsFilterOptions: {
59
+ default: () => never[];
60
+ type: PropType<Array<FilterOption>>;
61
+ };
62
+ submitLabel: {
63
+ default: undefined;
64
+ type: StringConstructor;
65
+ };
66
+ tableOptions: {
67
+ default: () => {};
68
+ type: ObjectConstructor;
69
+ };
70
+ totalRecords: {
71
+ default: number;
72
+ type: NumberConstructor;
73
+ };
74
+ visibleColumns: {
75
+ default: () => never[];
76
+ type: PropType<string[]>;
77
+ };
78
+ }>, {
79
+ showModal: import("vue").Ref<boolean, boolean>;
80
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:request" | "action:delete" | "action:resend" | "action:revoke" | "on:closeInvitation" | "on:submitInvitation")[], "update:request" | "action:delete" | "action:resend" | "action:revoke" | "on:closeInvitation" | "on:submitInvitation", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
81
+ appFilterOptions: {
82
+ default: () => never[];
83
+ type: PropType<Array<FilterOption>>;
84
+ };
85
+ apps: {
86
+ default: () => never[];
87
+ type: PropType<Array<InvitationAppOption>>;
88
+ };
89
+ columnsData: {
90
+ default: () => never[];
91
+ type: PropType<TableColumnDefinition<any>[]>;
92
+ };
93
+ expiryMode: {
94
+ default: undefined;
95
+ type: StringConstructor;
96
+ validator: (value: string) => boolean;
97
+ };
98
+ id: {
99
+ default: string;
100
+ type: StringConstructor;
101
+ };
102
+ initialSorting: {
103
+ default: () => never[];
104
+ type: PropType<SortingState>;
105
+ };
106
+ invitationModalTitle: {
107
+ default: string;
108
+ type: StringConstructor;
109
+ };
110
+ invitations: {
111
+ default: () => never[];
112
+ type: PropType<Invitation[]>;
113
+ };
114
+ isLoading: BooleanConstructor;
115
+ isServerTable: BooleanConstructor;
116
+ persistState: BooleanConstructor;
117
+ persistStateStorage: {
118
+ default: string;
119
+ type: StringConstructor;
120
+ validator: (value: string) => boolean;
121
+ };
122
+ roleFilterOptions: {
123
+ default: () => never[];
124
+ type: PropType<Array<FilterOption>>;
125
+ };
126
+ roles: {
127
+ default: () => never[];
128
+ type: PropType<Array<InvitationRoleOption>>;
129
+ };
130
+ showInviteAction: {
131
+ default: boolean;
132
+ type: BooleanConstructor;
133
+ };
134
+ statutsFilterOptions: {
135
+ default: () => never[];
136
+ type: PropType<Array<FilterOption>>;
137
+ };
138
+ submitLabel: {
139
+ default: undefined;
140
+ type: StringConstructor;
141
+ };
142
+ tableOptions: {
143
+ default: () => {};
144
+ type: ObjectConstructor;
145
+ };
146
+ totalRecords: {
147
+ default: number;
148
+ type: NumberConstructor;
149
+ };
150
+ visibleColumns: {
151
+ default: () => never[];
152
+ type: PropType<string[]>;
153
+ };
154
+ }>> & Readonly<{
155
+ "onUpdate:request"?: ((...args: any[]) => any) | undefined;
156
+ "onAction:delete"?: ((...args: any[]) => any) | undefined;
157
+ "onAction:resend"?: ((...args: any[]) => any) | undefined;
158
+ "onAction:revoke"?: ((...args: any[]) => any) | undefined;
159
+ "onOn:closeInvitation"?: ((...args: any[]) => any) | undefined;
160
+ "onOn:submitInvitation"?: ((...args: any[]) => any) | undefined;
161
+ }>, {
162
+ id: string;
163
+ roles: InvitationRoleOption[];
164
+ submitLabel: string;
165
+ isLoading: boolean;
166
+ columnsData: TableColumnDefinition<any>[];
167
+ initialSorting: SortingState;
168
+ isServerTable: boolean;
169
+ persistState: boolean;
170
+ persistStateStorage: string;
171
+ tableOptions: Record<string, any>;
172
+ totalRecords: number;
173
+ visibleColumns: string[];
174
+ apps: InvitationAppOption[];
175
+ expiryMode: string;
176
+ appFilterOptions: FilterOption[];
177
+ invitationModalTitle: string;
178
+ invitations: Invitation[];
179
+ roleFilterOptions: FilterOption[];
180
+ showInviteAction: boolean;
181
+ statutsFilterOptions: FilterOption[];
182
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
183
+ export default _default;
184
+ //# sourceMappingURL=InvitationTable.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InvitationTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/invitation/InvitationTable.vue.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAC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AQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAzcrC,wBA+qBc"}
@@ -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=AccountInfo.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountInfo.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/AccountInfo.vue.ts"],"names":[],"mappings":";AAYA,wBA2Jc"}
@@ -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=ProfileForm.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProfileForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/ProfileForm.vue.ts"],"names":[],"mappings":";AAcA,wBA8Jc"}
@@ -0,0 +1,5 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "email:updateProcessed"[], "email:updateProcessed", import("vue").PublicProps, Readonly<{}> & Readonly<{
2
+ "onEmail:updateProcessed"?: ((...args: any[]) => any) | undefined;
3
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
4
+ export default _default;
5
+ //# sourceMappingURL=UpdateEmailForm.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateEmailForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/UpdateEmailForm.vue.ts"],"names":[],"mappings":";;;AAaA,wBA4Mc"}
@@ -0,0 +1,17 @@
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ show: {
3
+ default: boolean;
4
+ type: BooleanConstructor;
5
+ };
6
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "on:close"[], "on:close", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ show: {
8
+ default: boolean;
9
+ type: BooleanConstructor;
10
+ };
11
+ }>> & Readonly<{
12
+ "onOn:close"?: ((...args: any[]) => any) | undefined;
13
+ }>, {
14
+ show: boolean;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ export default _default;
17
+ //# sourceMappingURL=UpdateEmailModal.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UpdateEmailModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/profile/UpdateEmailModal.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAQA,wBAqGc"}
@@ -0,0 +1,165 @@
1
+ import type { InvitationAppOption, InvitationRoleOption, UserType } from "../../types";
2
+ import type { DataActionsMenuItem, SortingState, TableColumnDefinition } from "@prefabs.tech/vue3-tanstack-table";
3
+ import type { PropType } from "vue";
4
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
+ apps: {
6
+ default: () => never[];
7
+ type: PropType<Array<InvitationAppOption>>;
8
+ };
9
+ columnsData: {
10
+ default: () => never[];
11
+ type: PropType<TableColumnDefinition<any>[]>;
12
+ };
13
+ dataActionMenu: {
14
+ default: undefined;
15
+ type: PropType<DataActionsMenuItem[] | ((defaultActionsMenu: DataActionsMenuItem[]) => DataActionsMenuItem[])>;
16
+ };
17
+ expiryMode: {
18
+ default: undefined;
19
+ type: StringConstructor;
20
+ validator: (value: string) => boolean;
21
+ };
22
+ id: {
23
+ default: string;
24
+ type: StringConstructor;
25
+ };
26
+ initialSorting: {
27
+ default: () => never[];
28
+ type: PropType<SortingState>;
29
+ };
30
+ invitationModalTitle: {
31
+ default: string;
32
+ type: StringConstructor;
33
+ };
34
+ isLoading: BooleanConstructor;
35
+ isServerTable: BooleanConstructor;
36
+ persistState: BooleanConstructor;
37
+ persistStateStorage: {
38
+ default: string;
39
+ type: StringConstructor;
40
+ validator: (value: string) => boolean;
41
+ };
42
+ roles: {
43
+ default: () => never[];
44
+ type: PropType<Array<InvitationRoleOption>>;
45
+ };
46
+ showInviteAction: {
47
+ default: boolean;
48
+ type: BooleanConstructor;
49
+ };
50
+ submitLabel: {
51
+ default: undefined;
52
+ type: StringConstructor;
53
+ };
54
+ tableOptions: {
55
+ default: () => {};
56
+ type: ObjectConstructor;
57
+ };
58
+ totalRecords: {
59
+ default: number;
60
+ type: NumberConstructor;
61
+ };
62
+ users: {
63
+ default: () => never[];
64
+ type: PropType<UserType[]>;
65
+ };
66
+ visibleColumns: {
67
+ default: () => never[];
68
+ type: PropType<string[]>;
69
+ };
70
+ }>, {
71
+ showModal: import("vue").Ref<boolean, boolean>;
72
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:request" | "on:closeInvitation" | "on:submitInvitation" | "action:custom" | "fetch:users")[], "update:request" | "on:closeInvitation" | "on:submitInvitation" | "action:custom" | "fetch:users", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
73
+ apps: {
74
+ default: () => never[];
75
+ type: PropType<Array<InvitationAppOption>>;
76
+ };
77
+ columnsData: {
78
+ default: () => never[];
79
+ type: PropType<TableColumnDefinition<any>[]>;
80
+ };
81
+ dataActionMenu: {
82
+ default: undefined;
83
+ type: PropType<DataActionsMenuItem[] | ((defaultActionsMenu: DataActionsMenuItem[]) => DataActionsMenuItem[])>;
84
+ };
85
+ expiryMode: {
86
+ default: undefined;
87
+ type: StringConstructor;
88
+ validator: (value: string) => boolean;
89
+ };
90
+ id: {
91
+ default: string;
92
+ type: StringConstructor;
93
+ };
94
+ initialSorting: {
95
+ default: () => never[];
96
+ type: PropType<SortingState>;
97
+ };
98
+ invitationModalTitle: {
99
+ default: string;
100
+ type: StringConstructor;
101
+ };
102
+ isLoading: BooleanConstructor;
103
+ isServerTable: BooleanConstructor;
104
+ persistState: BooleanConstructor;
105
+ persistStateStorage: {
106
+ default: string;
107
+ type: StringConstructor;
108
+ validator: (value: string) => boolean;
109
+ };
110
+ roles: {
111
+ default: () => never[];
112
+ type: PropType<Array<InvitationRoleOption>>;
113
+ };
114
+ showInviteAction: {
115
+ default: boolean;
116
+ type: BooleanConstructor;
117
+ };
118
+ submitLabel: {
119
+ default: undefined;
120
+ type: StringConstructor;
121
+ };
122
+ tableOptions: {
123
+ default: () => {};
124
+ type: ObjectConstructor;
125
+ };
126
+ totalRecords: {
127
+ default: number;
128
+ type: NumberConstructor;
129
+ };
130
+ users: {
131
+ default: () => never[];
132
+ type: PropType<UserType[]>;
133
+ };
134
+ visibleColumns: {
135
+ default: () => never[];
136
+ type: PropType<string[]>;
137
+ };
138
+ }>> & Readonly<{
139
+ "onUpdate:request"?: ((...args: any[]) => any) | undefined;
140
+ "onOn:closeInvitation"?: ((...args: any[]) => any) | undefined;
141
+ "onOn:submitInvitation"?: ((...args: any[]) => any) | undefined;
142
+ "onAction:custom"?: ((...args: any[]) => any) | undefined;
143
+ "onFetch:users"?: ((...args: any[]) => any) | undefined;
144
+ }>, {
145
+ id: string;
146
+ roles: InvitationRoleOption[];
147
+ submitLabel: string;
148
+ isLoading: boolean;
149
+ dataActionMenu: DataActionsMenuItem[] | ((defaultActionsMenu: DataActionsMenuItem[]) => DataActionsMenuItem[]);
150
+ columnsData: TableColumnDefinition<any>[];
151
+ initialSorting: SortingState;
152
+ isServerTable: boolean;
153
+ persistState: boolean;
154
+ persistStateStorage: string;
155
+ tableOptions: Record<string, any>;
156
+ totalRecords: number;
157
+ visibleColumns: string[];
158
+ apps: InvitationAppOption[];
159
+ expiryMode: string;
160
+ invitationModalTitle: string;
161
+ showInviteAction: boolean;
162
+ users: UserType[];
163
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
164
+ export default _default;
165
+ //# sourceMappingURL=Index.vue.d.ts.map
@@ -0,0 +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;;;;cAkWjB,QAAQ,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;;;;cAKpC,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE,CAAC;;;;cAI1B,QAAQ,CAC/B,mBAAmB,EAAE,GACrB,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,KAAK,mBAAmB,EAAE,CAAC,CACzE;;;;;2BAKkB,MAAM;;;;;;;;cAQV,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;;;;2BAYlB,MAAM;;;;cAKV,QAAQ,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;cAoBrC,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;;cAIpB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;cAlElB,QAAQ,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;;;;cAKpC,QAAQ,CAAC,qBAAqB,CAAC,GAAG,CAAC,EAAE,CAAC;;;;cAI1B,QAAQ,CAC/B,mBAAmB,EAAE,GACrB,CAAC,CAAC,kBAAkB,EAAE,mBAAmB,EAAE,KAAK,mBAAmB,EAAE,CAAC,CACzE;;;;;2BAKkB,MAAM;;;;;;;;cAQV,QAAQ,CAAC,YAAY,CAAC;;;;;;;;;;;;2BAYlB,MAAM;;;;cAKV,QAAQ,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;cAoBrC,QAAQ,CAAC,QAAQ,EAAE,CAAC;;;;cAIpB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;kEAvDP,mBAAmB,EAAE,KAAK,mBAAmB,EAAE;;;;;;;;;;;;;;;AA1W7E,wBA8kBc"}
@@ -0,0 +1,38 @@
1
+ declare const API_PATH_CHANGE_PASSWORD = "/api/user/change-password";
2
+ declare const API_PATH_GET_VERIFICATION_STATUS = "/api/email/verification-status";
3
+ declare const API_PATH_LOGIN = "/api/login";
4
+ declare const API_PATH_LOGOUT = "/api/logout";
5
+ declare const API_PATH_PASSWORD_RESET = "/api/reset-password";
6
+ declare const API_PATH_PASSWORD_RESET_REQUEST = "/api/reset-password-request";
7
+ declare const API_PATH_REFRESH = "/api/login/refresh";
8
+ declare const API_PATH_SEND_VERIFICATION_EMAIL = "/api/email/send-verification";
9
+ declare const API_PATH_SIGNUP = "/api/signup";
10
+ declare const API_PATH_UPDATE_PROFILE = "/api/profile";
11
+ declare const API_PATH_VERIFY_EMAIL = "/api/email/verify";
12
+ declare const AUTH_CALLBACK_PATH_FACEBOOK = "/auth/callback/facebook";
13
+ declare const AUTH_CALLBACK_PATH_GOOGLE = "/auth/callback/google";
14
+ declare enum EMAIL_VERIFICATION {
15
+ EMAIL_ALREADY_VERIFIED = "EMAIL_ALREADY_VERIFIED",
16
+ EMAIL_ALREADY_VERIFIED_ERROR = "EMAIL_ALREADY_VERIFIED_ERROR",
17
+ EMAIL_VERIFICATION_INVALID_TOKEN_ERROR = "EMAIL_VERIFICATION_INVALID_TOKEN_ERROR",
18
+ ERROR = "ERROR",
19
+ OK = "OK"
20
+ }
21
+ declare const ERROR_NOT_FOUND = 404;
22
+ declare const ERROR_ROLE_ALREADY_EXISTS = "ROLE_ALREADY_EXISTS";
23
+ declare const INVITATION_STATUS_ACCEPTED = "accepted";
24
+ declare const INVITATION_STATUS_EXPIRED = "expired";
25
+ declare const INVITATION_STATUS_PENDING = "pending";
26
+ declare const INVITATION_STATUS_REVOKED = "revoked";
27
+ declare const LOGIN_TYPE_EMAIL = "email";
28
+ declare const LOGIN_TYPE_USERNAME = "username";
29
+ declare const ROLE_ADMIN = "ADMIN";
30
+ declare const ROLE_SUPERADMIN = "SUPERADMIN";
31
+ declare const ROLE_USER = "USER";
32
+ declare const SOCIAL_LOGIN_PROVIDER_FACEBOOK = "facebook";
33
+ declare const SOCIAL_LOGIN_PROVIDER_GOOGLE = "google";
34
+ declare const STATUS_ERROR = "ERROR";
35
+ declare const STATUS_OK = "OK";
36
+ 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 };
38
+ //# sourceMappingURL=constant.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constant.d.ts","sourceRoot":"","s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7B,QAAA,MAAM,SAAS,OAAO,CAAC;AAEvB,QAAA,MAAM,iCAAiC,UAAU,CAAC;AAElD,OAAO,EACL,wBAAwB,EACxB,gCAAgC,EAChC,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,+BAA+B,EAC/B,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,15 @@
1
+ import "./assets/css/index.css";
2
+ import client from "./api/axios";
3
+ import userStore from "./store";
4
+ import type { LocaleMessages, VueMessageType } from "@prefabs.tech/vue3-i18n";
5
+ import type { Plugin } from "vue";
6
+ declare const emitter: import("mitt").Emitter<Record<import("mitt").EventType, unknown>>;
7
+ declare const plugin: Plugin;
8
+ declare const useTranslations: () => LocaleMessages<VueMessageType>;
9
+ export default plugin;
10
+ export { client, userStore, useTranslations, emitter };
11
+ export * from "./api/roles";
12
+ export * from "./components";
13
+ export * from "./layouts";
14
+ export type { AuthTokens, DzangolabVueUserConfig, DzangolabVueUserPluginOptions, InvitationPayload, LoginCredentials, PasswordResetPayload, PasswordResetRequestPayload, Role, RolePermissionsInput, RouteOverride, RouteOverrides, User, } from "./types";
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,wBAAwB,CAAC;AAMhC,OAAO,MAAM,MAAM,aAAa,CAAC;AAIjC,OAAO,SAAS,MAAM,SAAS,CAAC;AAIhC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9E,OAAO,KAAK,EAAO,MAAM,EAAE,MAAM,KAAK,CAAC;AAMvC,QAAA,MAAM,OAAO,mEAAS,CAAC;AAEvB,QAAA,MAAM,MAAM,EAAE,MAuBb,CAAC;AAEF,QAAA,MAAM,eAAe,sCAKpB,CAAC;AAEF,eAAe,MAAM,CAAC;AAEtB,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,eAAe,EAAE,OAAO,EAAE,CAAC;AAEvD,cAAc,aAAa,CAAC;AAE5B,cAAc,cAAc,CAAC;AAE7B,cAAc,WAAW,CAAC;AAE1B,YAAY,EACV,UAAU,EACV,sBAAsB,EACtB,6BAA6B,EAC7B,iBAAiB,EACjB,gBAAgB,EAChB,oBAAoB,EACpB,2BAA2B,EAC3B,IAAI,EACJ,oBAAoB,EACpB,aAAa,EACb,cAAc,EACd,IAAI,GACL,MAAM,SAAS,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { ChangePasswordPayload, UserType } from "../types";
2
+ declare const changePassword: (payload: ChangePasswordPayload, apiBaseUrl: string, path: string) => Promise<UserType | undefined>;
3
+ export default changePassword;
4
+ //# sourceMappingURL=change-password.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"change-password.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/change-password.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEhE,QAAA,MAAM,cAAc,YACT,qBAAqB,cAClB,MAAM,QACZ,MAAM,KACX,OAAO,CAAC,QAAQ,GAAG,SAAS,CAwB9B,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function verifySessionRoles(supportedRoles: string[]): Promise<boolean>;
2
+ //# sourceMappingURL=helper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/helper.ts"],"names":[],"mappings":"AAIA,wBAAsB,kBAAkB,CACtC,cAAc,EAAE,MAAM,EAAE,GACvB,OAAO,CAAC,OAAO,CAAC,CAwBlB"}
@@ -0,0 +1,10 @@
1
+ import changePassword from "./change-password";
2
+ import { verifySessionRoles } from "./helper";
3
+ import login from "./login";
4
+ import logout from "./logout";
5
+ import requestPasswordReset from "./request-password-reset";
6
+ import resetPassword from "./reset-password";
7
+ import signup from "./signup";
8
+ import { getVerificationStatus, sendVerificationEmail, verifyEmail } from "./verify-email";
9
+ export { changePassword, getVerificationStatus, login, logout, requestPasswordReset, resetPassword, sendVerificationEmail, signup, verifyEmail, verifySessionRoles };
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,4 @@
1
+ import type { LoginCredentials, UserType } from "../types";
2
+ declare const login: (credentials: LoginCredentials, apiBaseUrl: string, path: string) => Promise<UserType | undefined>;
3
+ export default login;
4
+ //# sourceMappingURL=login.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/login.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3D,QAAA,MAAM,KAAK,gBACI,gBAAgB,cACjB,MAAM,QACZ,MAAM,KACX,OAAO,CAAC,QAAQ,GAAG,SAAS,CAwB9B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const logout: (apiBaseUrl: string, path: string) => Promise<void>;
2
+ export default logout;
3
+ //# sourceMappingURL=logout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logout.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/logout.ts"],"names":[],"mappings":"AAKA,QAAA,MAAM,MAAM,eAAsB,MAAM,QAAQ,MAAM,kBAkBrD,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { PasswordResetRequestPayload } from "../types";
2
+ declare const requestPasswordReset: (credentials: PasswordResetRequestPayload, apiBaseUrl: string, path: string) => Promise<boolean>;
3
+ export default requestPasswordReset;
4
+ //# sourceMappingURL=request-password-reset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"request-password-reset.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/request-password-reset.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAE5D,QAAA,MAAM,oBAAoB,gBACX,2BAA2B,cAC5B,MAAM,QACZ,MAAM,KACX,OAAO,CAAC,OAAO,CAQjB,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { PasswordResetPayload } from "../types";
2
+ declare const resetPassword: (credentials: PasswordResetPayload, apiBaseUrl: string, path: string) => Promise<boolean>;
3
+ export default resetPassword;
4
+ //# sourceMappingURL=reset-password.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reset-password.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/reset-password.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAErD,QAAA,MAAM,aAAa,gBACJ,oBAAoB,cACrB,MAAM,QACZ,MAAM,KACX,OAAO,CAAC,OAAO,CAcjB,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { LoginCredentials, UserType } from "../types";
2
+ declare const signup: (credentials: LoginCredentials, apiBaseUrl: string, path: string) => Promise<UserType | undefined>;
3
+ export default signup;
4
+ //# sourceMappingURL=signup.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signup.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/signup.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAE3D,QAAA,MAAM,MAAM,gBACG,gBAAgB,cACjB,MAAM,QACZ,MAAM,KACX,OAAO,CAAC,QAAQ,GAAG,SAAS,CAwB9B,CAAC;AAEF,eAAe,MAAM,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { EMAIL_VERIFICATION } from "../constant";
2
+ type emailVerificationStatus = "OK" | "EMAIL_ALREADY_VERIFIED_ERROR";
3
+ declare const getVerificationStatus: (apiBaseUrl: string, path: string) => Promise<boolean>;
4
+ declare const sendVerificationEmail: (apiBaseUrl: string, path: string) => Promise<emailVerificationStatus>;
5
+ declare const verifyEmail: (token: string, apiBaseUrl: string, path: string) => Promise<{
6
+ status: EMAIL_VERIFICATION;
7
+ }>;
8
+ export { getVerificationStatus, sendVerificationEmail, verifyEmail };
9
+ //# sourceMappingURL=verify-email.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verify-email.d.ts","sourceRoot":"","sources":["../../../src/laravel-passport/verify-email.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjD,KAAK,uBAAuB,GAAG,IAAI,GAAG,8BAA8B,CAAC;AAErE,QAAA,MAAM,qBAAqB,eACb,MAAM,QACZ,MAAM,KACX,OAAO,CAAC,OAAO,CAQjB,CAAC;AAEF,QAAA,MAAM,qBAAqB,eACb,MAAM,QACZ,MAAM,KACX,OAAO,CAAC,uBAAuB,CAYjC,CAAC;AAEF,QAAA,MAAM,WAAW,UACR,MAAM,cACD,MAAM,QACZ,MAAM;;EAab,CAAC;AAEF,OAAO,EAAE,qBAAqB,EAAE,qBAAqB,EAAE,WAAW,EAAE,CAAC"}
@@ -0,0 +1,29 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ noLocaleSwitcher: BooleanConstructor;
3
+ showUserMenu: {
4
+ default: boolean;
5
+ required: false;
6
+ type: BooleanConstructor;
7
+ };
8
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ noLocaleSwitcher: BooleanConstructor;
10
+ showUserMenu: {
11
+ default: boolean;
12
+ required: false;
13
+ type: BooleanConstructor;
14
+ };
15
+ }>> & Readonly<{}>, {
16
+ noLocaleSwitcher: boolean;
17
+ showUserMenu: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
19
+ addon: (_: {}) => any;
20
+ userMenuTrigger: (_: {}) => any;
21
+ default: (_: {}) => any;
22
+ }>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
29
+ //# sourceMappingURL=BasicLayout.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BasicLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/BasicLayout.vue.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;WAqOO,CAAC,CAAC,IAAiB,KAAK,GAAG;qBACjB,CAAC,CAAC,IAAiB,KAAK,GAAG;aACnC,CAAC,CAAC,IAAiB,KAAK,GAAG;;AArNpC,wBAyOc;AACd,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAAE,MAAM,EAAE,CAAC,CAAA;KAAE,CAAA;CAAE,CAAC"}