@prefabs.tech/vue3-user 0.34.1 → 0.35.2
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 +3135 -3136
- package/dist/PrefabsTechVue3User.umd.js +3 -3
- package/dist/src/api/roles.d.ts +1 -1
- package/dist/src/api/roles.d.ts.map +1 -1
- package/dist/src/api/user/index.d.ts +2 -2
- package/dist/src/api/user/index.d.ts.map +1 -1
- package/dist/src/auth-provider.d.ts.map +1 -1
- package/dist/src/components/invitation/InvitationTable.vue.d.ts +6 -6
- package/dist/src/components/usersTable/Index.vue.d.ts +6 -6
- package/dist/src/layouts/SidebarHeaderLayout.vue.d.ts.map +1 -1
- package/dist/src/layouts/SidebarOnlyLayout.vue.d.ts.map +1 -1
- package/dist/src/router.d.ts.map +1 -1
- package/dist/src/store.d.ts +2 -2
- package/dist/src/stores/roles.d.ts +1 -1
- package/dist/src/types/plugin.d.ts +1 -1
- package/dist/src/types/plugin.d.ts.map +1 -1
- package/dist/src/types/router.d.ts +10 -0
- package/dist/src/types/router.d.ts.map +1 -1
- package/dist/src/views/Login.vue.d.ts.map +1 -1
- package/dist/src/views/Profile/ProfileTabsPage.vue.d.ts +1 -1
- package/dist/src/views/Roles/RoleForm.vue.d.ts +2 -2
- package/package.json +21 -17
package/dist/src/api/roles.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Role, RolePermissionsInput } from "../types";
|
|
2
2
|
export declare const createRole: (data: Role, apiBaseUrl: string) => Promise<Role>;
|
|
3
3
|
export declare const deleteRole: (role: string, apiBaseUrl: string) => Promise<Role>;
|
|
4
|
-
export declare const getPermissions: (apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
4
|
+
export declare const getPermissions: (apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
|
5
5
|
export declare const getRoles: (apiBaseUrl: string) => Promise<any>;
|
|
6
6
|
export declare const updateRolePermissions: (data: RolePermissionsInput, apiBaseUrl: string) => Promise<Role>;
|
|
7
7
|
//# sourceMappingURL=roles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../src/api/roles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAK3D,eAAO,MAAM,UAAU,GACrB,MAAM,IAAI,EACV,YAAY,MAAM,KACjB,OAAO,CAAC,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,EACZ,YAAY,MAAM,KACjB,OAAO,CAAC,IAAI,CAYd,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../../../src/api/roles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAK3D,eAAO,MAAM,UAAU,GACrB,MAAM,IAAI,EACV,YAAY,MAAM,KACjB,OAAO,CAAC,IAAI,CAUd,CAAC;AAEF,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,EACZ,YAAY,MAAM,KACjB,OAAO,CAAC,IAAI,CAYd,CAAC;AAEF,eAAO,MAAM,cAAc,GAAU,YAAY,MAAM,8DAEtD,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAU,YAAY,MAAM,iBAUhD,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAChC,MAAM,oBAAoB,EAC1B,YAAY,MAAM,KACjB,OAAO,CAAC,IAAI,CAUd,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Invitation, LoginCredentials, UpdateProfileInputType, UserType } from "../../types";
|
|
2
2
|
export declare const acceptInvitation: (token: string, credential: LoginCredentials, apiBaseUrl: string) => Promise<any>;
|
|
3
3
|
export declare const addInvitation: (invitationData: any, apiBaseUrl: string) => Promise<Invitation>;
|
|
4
|
-
export declare const disableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any,
|
|
5
|
-
export declare const enableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any,
|
|
4
|
+
export declare const disableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, {}, {}, any>>;
|
|
5
|
+
export declare const enableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, {}, {}, any>>;
|
|
6
6
|
export declare const getIsFirstUser: (apiBaseUrl: string) => Promise<{
|
|
7
7
|
signUp: boolean;
|
|
8
8
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/user/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,QAAQ,EACT,MAAM,aAAa,CAAC;AAWrB,eAAO,MAAM,gBAAgB,GAC3B,OAAO,MAAM,EACb,YAAY,gBAAgB,EAC5B,YAAY,MAAM,iBAenB,CAAC;AAEF,eAAO,MAAM,aAAa,GAExB,gBAAgB,GAAG,EACnB,YAAY,MAAM,KACjB,OAAO,CAAC,UAAU,CAcpB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAU,IAAI,MAAM,EAAE,YAAY,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/api/user/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,sBAAsB,EACtB,QAAQ,EACT,MAAM,aAAa,CAAC;AAWrB,eAAO,MAAM,gBAAgB,GAC3B,OAAO,MAAM,EACb,YAAY,gBAAgB,EAC5B,YAAY,MAAM,iBAenB,CAAC;AAEF,eAAO,MAAM,aAAa,GAExB,gBAAgB,GAAG,EACnB,YAAY,MAAM,KACjB,OAAO,CAAC,UAAU,CAcpB,CAAC;AAEF,eAAO,MAAM,WAAW,GAAU,IAAI,MAAM,EAAE,YAAY,MAAM,6DAY/D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAU,IAAI,MAAM,EAAE,YAAY,MAAM,6DAc9D,CAAC;AAEF,eAAO,MAAM,cAAc,GACzB,YAAY,MAAM,KACjB,OAAO,CAAC;IACT,MAAM,EAAE,OAAO,CAAC;CACjB,CAQA,CAAC;AAEF,eAAO,MAAM,oBAAoB,GAC/B,OAAO,MAAM,EACb,YAAY,MAAM,KACjB,OAAO,CAAC,UAAU,CAQpB,CAAC;AAEF,eAAO,MAAM,KAAK,GAChB,YAAY,MAAM,KACjB,OAAO,CAAC;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAgB5B,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,YAAY,gBAAgB,EAC5B,YAAY,MAAM,KACjB,OAAO,CAAC,QAAQ,CAclB,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,MAAM,sBAAsB,EAC5B,YAAY,MAAM,KACjB,OAAO,CAAC;IAAE,IAAI,EAAE,QAAQ,CAAA;CAAE,CAoB5B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth-provider.d.ts","sourceRoot":"","sources":["../../src/auth-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAc3D,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,QAAA,IAAI,UAAU,EAAE,SAAS,GAAG,SAAS,CAAC;AAEtC,QAAA,MAAM,gBAAgB,GAAI,SAAS,SAAS,SAE3C,CAAC;
|
|
1
|
+
{"version":3,"file":"auth-provider.d.ts","sourceRoot":"","sources":["../../src/auth-provider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAc3D,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,QAAA,IAAI,UAAU,EAAE,SAAS,GAAG,SAAS,CAAC;AAEtC,QAAA,MAAM,gBAAgB,GAAI,SAAS,SAAS,SAE3C,CAAC;AAqIF,QAAA,MAAM,IAAI;2BAnHiB,MAAM;;;;gCAUD,qBAAqB;;2BAoB1B,gBAAgB;;0CAcD,2BAA2B;mCAWlC,oBAAoB;;4BAoB3B,gBAAgB;2BASjB,MAAM;;;;;;;;;;;;;;;;;;;;;CA+Bc,CAAC;AAEhD,eAAe,gBAAgB,CAAC;AAEhC,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -132,8 +132,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
132
132
|
readonly tableOptions: Record<string, any>;
|
|
133
133
|
readonly totalRecords: number;
|
|
134
134
|
readonly visibleColumns: string[];
|
|
135
|
-
readonly id?: string | undefined;
|
|
136
135
|
readonly locale?: string | undefined;
|
|
136
|
+
readonly id?: string | undefined;
|
|
137
137
|
readonly columnActionButtonLabel?: string | undefined;
|
|
138
138
|
readonly emptyTableMessage?: string | undefined;
|
|
139
139
|
readonly inputDebounceTime?: number | undefined;
|
|
@@ -145,7 +145,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
145
145
|
readonly "onAction:select"?: ((...args: any[]) => any) | undefined | undefined;
|
|
146
146
|
readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined | undefined;
|
|
147
147
|
readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined | undefined;
|
|
148
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "
|
|
148
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "locale" | "id" | "persistState" | "persistStateStorage" | "isLoading" | "actionsMode" | "autoModeCount" | "columnActionButtonLabel" | "columnsData" | "customFormatters" | "dataActionMenu" | "displayActions" | "emptyTableMessage" | "enableRowSelection" | "enableSortingRemoval" | "highlightActiveHeaderColumn" | "initialFilters" | "initialSorting" | "inputDebounceTime" | "isServerTable" | "paginated" | "paginationOptions" | "resetButtonLabel" | "rowPerPage" | "rowPerPageOptions" | "showColumnAction" | "showResetButton" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">>;
|
|
149
149
|
};
|
|
150
150
|
totalRecords: {
|
|
151
151
|
default: number;
|
|
@@ -293,8 +293,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
293
293
|
readonly tableOptions: Record<string, any>;
|
|
294
294
|
readonly totalRecords: number;
|
|
295
295
|
readonly visibleColumns: string[];
|
|
296
|
-
readonly id?: string | undefined;
|
|
297
296
|
readonly locale?: string | undefined;
|
|
297
|
+
readonly id?: string | undefined;
|
|
298
298
|
readonly columnActionButtonLabel?: string | undefined;
|
|
299
299
|
readonly emptyTableMessage?: string | undefined;
|
|
300
300
|
readonly inputDebounceTime?: number | undefined;
|
|
@@ -306,7 +306,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
306
306
|
readonly "onAction:select"?: ((...args: any[]) => any) | undefined | undefined;
|
|
307
307
|
readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined | undefined;
|
|
308
308
|
readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined | undefined;
|
|
309
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "
|
|
309
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "locale" | "id" | "persistState" | "persistStateStorage" | "isLoading" | "actionsMode" | "autoModeCount" | "columnActionButtonLabel" | "columnsData" | "customFormatters" | "dataActionMenu" | "displayActions" | "emptyTableMessage" | "enableRowSelection" | "enableSortingRemoval" | "highlightActiveHeaderColumn" | "initialFilters" | "initialSorting" | "inputDebounceTime" | "isServerTable" | "paginated" | "paginationOptions" | "resetButtonLabel" | "rowPerPage" | "rowPerPageOptions" | "showColumnAction" | "showResetButton" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">>;
|
|
310
310
|
};
|
|
311
311
|
totalRecords: {
|
|
312
312
|
default: number;
|
|
@@ -395,8 +395,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
395
395
|
readonly tableOptions: Record<string, any>;
|
|
396
396
|
readonly totalRecords: number;
|
|
397
397
|
readonly visibleColumns: string[];
|
|
398
|
-
readonly id?: string | undefined;
|
|
399
398
|
readonly locale?: string | undefined;
|
|
399
|
+
readonly id?: string | undefined;
|
|
400
400
|
readonly columnActionButtonLabel?: string | undefined;
|
|
401
401
|
readonly emptyTableMessage?: string | undefined;
|
|
402
402
|
readonly inputDebounceTime?: number | undefined;
|
|
@@ -408,7 +408,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
408
408
|
readonly "onAction:select"?: ((...args: any[]) => any) | undefined | undefined;
|
|
409
409
|
readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined | undefined;
|
|
410
410
|
readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined | undefined;
|
|
411
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "
|
|
411
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "locale" | "id" | "persistState" | "persistStateStorage" | "isLoading" | "actionsMode" | "autoModeCount" | "columnActionButtonLabel" | "columnsData" | "customFormatters" | "dataActionMenu" | "displayActions" | "emptyTableMessage" | "enableRowSelection" | "enableSortingRemoval" | "highlightActiveHeaderColumn" | "initialFilters" | "initialSorting" | "inputDebounceTime" | "isServerTable" | "paginated" | "paginationOptions" | "resetButtonLabel" | "rowPerPage" | "rowPerPageOptions" | "showColumnAction" | "showResetButton" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">;
|
|
412
412
|
totalRecords: number;
|
|
413
413
|
visibleColumns: string[];
|
|
414
414
|
apps: InvitationAppOption[];
|
|
@@ -120,8 +120,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
120
120
|
readonly tableOptions: Record<string, any>;
|
|
121
121
|
readonly totalRecords: number;
|
|
122
122
|
readonly visibleColumns: string[];
|
|
123
|
-
readonly id?: string | undefined;
|
|
124
123
|
readonly locale?: string | undefined;
|
|
124
|
+
readonly id?: string | undefined;
|
|
125
125
|
readonly columnActionButtonLabel?: string | undefined;
|
|
126
126
|
readonly emptyTableMessage?: string | undefined;
|
|
127
127
|
readonly inputDebounceTime?: number | undefined;
|
|
@@ -133,7 +133,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
133
133
|
readonly "onAction:select"?: ((...args: any[]) => any) | undefined | undefined;
|
|
134
134
|
readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined | undefined;
|
|
135
135
|
readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined | undefined;
|
|
136
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "
|
|
136
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "locale" | "id" | "persistState" | "persistStateStorage" | "isLoading" | "actionsMode" | "autoModeCount" | "columnActionButtonLabel" | "columnsData" | "customFormatters" | "dataActionMenu" | "displayActions" | "emptyTableMessage" | "enableRowSelection" | "enableSortingRemoval" | "highlightActiveHeaderColumn" | "initialFilters" | "initialSorting" | "inputDebounceTime" | "isServerTable" | "paginated" | "paginationOptions" | "resetButtonLabel" | "rowPerPage" | "rowPerPageOptions" | "showColumnAction" | "showResetButton" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">>;
|
|
137
137
|
};
|
|
138
138
|
totalRecords: {
|
|
139
139
|
default: number;
|
|
@@ -272,8 +272,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
272
272
|
readonly tableOptions: Record<string, any>;
|
|
273
273
|
readonly totalRecords: number;
|
|
274
274
|
readonly visibleColumns: string[];
|
|
275
|
-
readonly id?: string | undefined;
|
|
276
275
|
readonly locale?: string | undefined;
|
|
276
|
+
readonly id?: string | undefined;
|
|
277
277
|
readonly columnActionButtonLabel?: string | undefined;
|
|
278
278
|
readonly emptyTableMessage?: string | undefined;
|
|
279
279
|
readonly inputDebounceTime?: number | undefined;
|
|
@@ -285,7 +285,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
285
285
|
readonly "onAction:select"?: ((...args: any[]) => any) | undefined | undefined;
|
|
286
286
|
readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined | undefined;
|
|
287
287
|
readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined | undefined;
|
|
288
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "
|
|
288
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "locale" | "id" | "persistState" | "persistStateStorage" | "isLoading" | "actionsMode" | "autoModeCount" | "columnActionButtonLabel" | "columnsData" | "customFormatters" | "dataActionMenu" | "displayActions" | "emptyTableMessage" | "enableRowSelection" | "enableSortingRemoval" | "highlightActiveHeaderColumn" | "initialFilters" | "initialSorting" | "inputDebounceTime" | "isServerTable" | "paginated" | "paginationOptions" | "resetButtonLabel" | "rowPerPage" | "rowPerPageOptions" | "showColumnAction" | "showResetButton" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">>;
|
|
289
289
|
};
|
|
290
290
|
totalRecords: {
|
|
291
291
|
default: number;
|
|
@@ -378,8 +378,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
378
378
|
readonly tableOptions: Record<string, any>;
|
|
379
379
|
readonly totalRecords: number;
|
|
380
380
|
readonly visibleColumns: string[];
|
|
381
|
-
readonly id?: string | undefined;
|
|
382
381
|
readonly locale?: string | undefined;
|
|
382
|
+
readonly id?: string | undefined;
|
|
383
383
|
readonly columnActionButtonLabel?: string | undefined;
|
|
384
384
|
readonly emptyTableMessage?: string | undefined;
|
|
385
385
|
readonly inputDebounceTime?: number | undefined;
|
|
@@ -391,7 +391,7 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
391
391
|
readonly "onAction:select"?: ((...args: any[]) => any) | undefined | undefined;
|
|
392
392
|
readonly "onChange:rowSelection"?: ((...args: any[]) => any) | undefined | undefined;
|
|
393
393
|
readonly "onUpdate:request"?: ((...args: any[]) => any) | undefined | undefined;
|
|
394
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "
|
|
394
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "data" | "locale" | "id" | "persistState" | "persistStateStorage" | "isLoading" | "actionsMode" | "autoModeCount" | "columnActionButtonLabel" | "columnsData" | "customFormatters" | "dataActionMenu" | "displayActions" | "emptyTableMessage" | "enableRowSelection" | "enableSortingRemoval" | "highlightActiveHeaderColumn" | "initialFilters" | "initialSorting" | "inputDebounceTime" | "isServerTable" | "paginated" | "paginationOptions" | "resetButtonLabel" | "rowPerPage" | "rowPerPageOptions" | "showColumnAction" | "showResetButton" | "tableOptions" | "titleInfo" | "totalRecords" | "visibleColumns">;
|
|
395
395
|
totalRecords: number;
|
|
396
396
|
visibleColumns: string[];
|
|
397
397
|
apps: InvitationAppOption[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarHeaderLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/SidebarHeaderLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarHeaderLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/SidebarHeaderLayout.vue"],"names":[],"mappings":"wBAqQqB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;2BAuPK,MAAM;;;;;;;;;;;;;;;;;2BAAN,MAAM;;;;;;;;;aA7BhB,CAAC,KAAK,IAAiB,KAAK,GAAG;;cAC9B,CAAC,KAAK,IAAiB,KAAK,GAAG;;sBACvB,CAAC,KAAK,IAAiB,KAAK,GAAG;;oBACjC,CAAC,KAAK,IAAiB,KAAK,GAAG;;uBAC5B,CAAC,KAAK,IAAiB,KAAK,GAAG;;aACzC,CAAC,KAAK,IAAiB,KAAK,GAAG;;cAC9B,CAAC,KAAK,IAAiB,KAAK,GAAG;EA4BzC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarOnlyLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/SidebarOnlyLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SidebarOnlyLayout.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/SidebarOnlyLayout.vue"],"names":[],"mappings":"wBA0OqB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;sBAyLI,CAAC,KAAK,IAAiB,KAAK,GAAG;;oBACjC,CAAC,KAAK,IAAiB,KAAK,GAAG;;uBAC5B,CAAC,KAAK,IAAiB,KAAK,GAAG;;cACxC,CAAC,KAAK,IAAiB,KAAK,GAAG;;aAChC,CAAC,KAAK,IAAiB,KAAK,GAAG;;cAC9B,CAAC,KAAK,IAAiB,KAAK,GAAG;EAiBzC,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
package/dist/src/router.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/router.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEpC,OAAO,KAAK,EACV,sBAAsB,EAGvB,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"router.d.ts","sourceRoot":"","sources":["../../src/router.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEpC,OAAO,KAAK,EACV,sBAAsB,EAGvB,MAAM,SAAS,CAAC;AAoJjB,eAAO,MAAM,YAAY,GAAI,QAAQ,MAAM,SAgC1C,CAAC;AAiHF,QAAA,MAAM,YAAY,GAAI,QAAQ,MAAM,EAAE,aAAa,sBAAsB,SAUxE,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/dist/src/store.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ declare const useUserStore: import("pinia").SetupStoreDefinition<"user", {
|
|
|
5
5
|
addInvitation: (invitationData: any, apiBaseUrl: string) => Promise<Invitation>;
|
|
6
6
|
changeEmail: (email: string, apiBaseUrl: string) => Promise<any>;
|
|
7
7
|
changePassword: (payload: ChangePasswordPayload, apiBaseUrl: string) => Promise<boolean | UserType | undefined>;
|
|
8
|
-
disableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any,
|
|
9
|
-
enableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any,
|
|
8
|
+
disableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, {}, {}, any>>;
|
|
9
|
+
enableUser: (id: string, apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, {}, {}, any>>;
|
|
10
10
|
getInvitationByToken: (token: string, apiBaseUrl: string) => Promise<Invitation>;
|
|
11
11
|
getIsFirstUser: (apiBaseUrl: string) => Promise<{
|
|
12
12
|
signUp: boolean;
|
|
@@ -2,7 +2,7 @@ import type { Role, RolePermissionsInput } from "../types";
|
|
|
2
2
|
declare const useRolesStore: import("pinia").SetupStoreDefinition<"roles", {
|
|
3
3
|
createRole: (data: Role, apiBaseUrl: string) => Promise<Role>;
|
|
4
4
|
deleteRole: (role: string, apiBaseUrl: string) => Promise<Role>;
|
|
5
|
-
getPermissions: (apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
getPermissions: (apiBaseUrl: string) => Promise<import("axios").AxiosResponse<any, any, {}, any>>;
|
|
6
6
|
getRoles: (apiBaseUrl: string) => Promise<any>;
|
|
7
7
|
updateRolePermissions: (data: RolePermissionsInput, apiBaseUrl: string) => Promise<Role>;
|
|
8
8
|
}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { AppConfig } from "@prefabs.tech/vue3-config";
|
|
2
2
|
import type { LocaleMessages, VueMessageType } from "@prefabs.tech/vue3-i18n";
|
|
3
3
|
import type { Pinia } from "pinia";
|
|
4
|
+
import type { DefineComponent, VNode } from "vue";
|
|
4
5
|
import type { Router } from "vue-router";
|
|
5
|
-
import { DefineComponent, VNode } from "vue";
|
|
6
6
|
interface DzangolabVueUserPluginOptions {
|
|
7
7
|
config: AppConfig;
|
|
8
8
|
notification?: (message: object | string | unknown) => void;
|
|
@@ -1 +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,KAAK,EAAE,
|
|
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,KAAK,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AAClD,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,eAAe,GAAG,MAAM,GAAG,KAAK,CAAC;IAClD,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;CAC/C;AAED,YAAY,EAAE,6BAA6B,EAAE,CAAC"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import type { RouteComponent } from "vue-router";
|
|
2
|
+
import type { UserType } from "./auth";
|
|
3
|
+
declare module "vue-router" {
|
|
4
|
+
interface RouteMeta {
|
|
5
|
+
authenticated?: boolean | null;
|
|
6
|
+
display?: ((user: UserType) => boolean) | boolean;
|
|
7
|
+
verified?: boolean;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
2
10
|
interface RouteOverride {
|
|
3
11
|
component?: RouteComponent;
|
|
4
12
|
meta?: {
|
|
13
|
+
authenticated?: boolean;
|
|
5
14
|
layout?: RouteComponent;
|
|
15
|
+
verified?: boolean;
|
|
6
16
|
};
|
|
7
17
|
path?: string;
|
|
8
18
|
}
|
|
@@ -1 +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;
|
|
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,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAEvC,OAAO,QAAQ,YAAY,CAAC;IAC1B,UAAU,SAAS;QACjB,aAAa,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;QAC/B,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAC,GAAG,OAAO,CAAC;QAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB;CACF;AAED,UAAU,aAAa;IACrB,SAAS,CAAC,EAAE,cAAc,CAAC;IAC3B,IAAI,CAAC,EAAE;QACL,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB,MAAM,CAAC,EAAE,cAAc,CAAC;QACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,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,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,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,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,mBAAmB,CAAC,EAAE,aAAa,CAAC;CACrC;AAED,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Login.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Login.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Login.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Login.vue"],"names":[],"mappings":"wBA+MqB,OAAO,YAAY;AAAxC,wBAAyC;AAKzC,QAAA,MAAM,YAAY;mBAuSC,CAAC,KAAK,IAAiB,KAAK,GAAG;EAU9C,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -29,8 +29,8 @@ declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import
|
|
|
29
29
|
type: PropType<string[]>;
|
|
30
30
|
};
|
|
31
31
|
}>> & Readonly<{}>, {
|
|
32
|
-
tabs: Tab[];
|
|
33
32
|
activeKey: string;
|
|
33
|
+
tabs: Tab[];
|
|
34
34
|
visibleTabs: string[];
|
|
35
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
36
36
|
profile?: (props: {}) => any;
|
|
@@ -9,8 +9,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
9
9
|
type: PropType<Role>;
|
|
10
10
|
};
|
|
11
11
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
cancel: (...args: any[]) => void;
|
|
13
12
|
submit: (...args: any[]) => void;
|
|
13
|
+
cancel: (...args: any[]) => void;
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
15
|
loading: BooleanConstructor;
|
|
16
16
|
role: {
|
|
@@ -18,8 +18,8 @@ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
18
18
|
type: PropType<Role>;
|
|
19
19
|
};
|
|
20
20
|
}>> & Readonly<{
|
|
21
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
22
21
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
22
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
24
|
role: Role;
|
|
25
25
|
loading: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prefabs.tech/vue3-user",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.35.2",
|
|
4
4
|
"description": "Vue3 User Plugin",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/prefabs-tech/vue.git",
|
|
8
|
+
"directory": "packages/vue-user"
|
|
9
|
+
},
|
|
5
10
|
"type": "module",
|
|
6
11
|
"exports": {
|
|
7
12
|
".": {
|
|
@@ -18,19 +23,18 @@
|
|
|
18
23
|
"dist"
|
|
19
24
|
],
|
|
20
25
|
"dependencies": {
|
|
21
|
-
"supertokens-web-js": "0.6.0"
|
|
22
|
-
"supertokens-website": "16.0.10"
|
|
26
|
+
"supertokens-web-js": "0.6.0"
|
|
23
27
|
},
|
|
24
28
|
"devDependencies": {
|
|
25
29
|
"@prefabs.tech/eslint-config": "0.8.7",
|
|
26
30
|
"@prefabs.tech/stylelint-config": "0.8.7",
|
|
27
31
|
"@prefabs.tech/tsconfig": "0.8.7",
|
|
28
|
-
"@prefabs.tech/vue3-config": "0.
|
|
29
|
-
"@prefabs.tech/vue3-form": "0.
|
|
30
|
-
"@prefabs.tech/vue3-i18n": "0.
|
|
31
|
-
"@prefabs.tech/vue3-layout": "0.
|
|
32
|
-
"@prefabs.tech/vue3-tanstack-table": "0.
|
|
33
|
-
"@prefabs.tech/vue3-ui": "0.
|
|
32
|
+
"@prefabs.tech/vue3-config": "0.35.2",
|
|
33
|
+
"@prefabs.tech/vue3-form": "0.35.2",
|
|
34
|
+
"@prefabs.tech/vue3-i18n": "0.35.2",
|
|
35
|
+
"@prefabs.tech/vue3-layout": "0.35.2",
|
|
36
|
+
"@prefabs.tech/vue3-tanstack-table": "0.35.2",
|
|
37
|
+
"@prefabs.tech/vue3-ui": "0.35.2",
|
|
34
38
|
"@iconify/vue": "5.0.1",
|
|
35
39
|
"@types/node": "26.1.1",
|
|
36
40
|
"@vee-validate/i18n": "4.15.1",
|
|
@@ -38,10 +42,10 @@
|
|
|
38
42
|
"@vee-validate/zod": "4.15.1",
|
|
39
43
|
"@vitejs/plugin-vue": "6.0.8",
|
|
40
44
|
"@vitejs/plugin-vue-jsx": "5.1.6",
|
|
41
|
-
"@vitest/coverage-istanbul": "4.1.
|
|
45
|
+
"@vitest/coverage-istanbul": "4.1.11",
|
|
42
46
|
"@vue/test-utils": "2.4.11",
|
|
43
47
|
"@vueuse/core": "14.3.0",
|
|
44
|
-
"axios": "1.
|
|
48
|
+
"axios": "1.20.0",
|
|
45
49
|
"eslint": "10.7.0",
|
|
46
50
|
"prettier": "3.9.5",
|
|
47
51
|
"mitt": "3.0.1",
|
|
@@ -52,17 +56,17 @@
|
|
|
52
56
|
"typescript": "6.0.3",
|
|
53
57
|
"vee-validate": "4.15.1",
|
|
54
58
|
"vite": "8.1.5",
|
|
55
|
-
"vitest": "4.1.
|
|
56
|
-
"vue": "3.5.
|
|
59
|
+
"vitest": "4.1.11",
|
|
60
|
+
"vue": "3.5.43",
|
|
57
61
|
"vue-router": "5.2.0",
|
|
58
62
|
"vue-tsc": "3.3.7",
|
|
59
63
|
"zod": "3.25.76"
|
|
60
64
|
},
|
|
61
65
|
"peerDependencies": {
|
|
62
|
-
"@prefabs.tech/vue3-config": "0.
|
|
63
|
-
"@prefabs.tech/vue3-i18n": "0.
|
|
64
|
-
"@prefabs.tech/vue3-layout": "0.
|
|
65
|
-
"@prefabs.tech/vue3-ui": "0.
|
|
66
|
+
"@prefabs.tech/vue3-config": "0.35.2",
|
|
67
|
+
"@prefabs.tech/vue3-i18n": "0.35.2",
|
|
68
|
+
"@prefabs.tech/vue3-layout": "0.35.2",
|
|
69
|
+
"@prefabs.tech/vue3-ui": "0.35.2",
|
|
66
70
|
"@vee-validate/i18n": ">=4.15.1",
|
|
67
71
|
"@vee-validate/rules": ">=4.15.1",
|
|
68
72
|
"@vueuse/core": ">=14.3.0",
|