@dragonmastery/dragoncore-vue 0.0.25 → 0.0.26
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/{CreateTeamForm-DoMkefS8.js → CreateTeamForm-C-ktK6hn.js} +2 -2
- package/dist/{CreateTeamForm-DmBiBqC0.js → CreateTeamForm-CZRTmCOx.js} +2 -2
- package/dist/{CreateTeamForm-DmBiBqC0.js.map → CreateTeamForm-CZRTmCOx.js.map} +1 -1
- package/dist/{CreditBalanceDashboard-B-CQpNNH.js → CreditBalanceDashboard-BHLCoCbK.js} +2 -2
- package/dist/{CreditBalanceDashboard-B-CQpNNH.js.map → CreditBalanceDashboard-BHLCoCbK.js.map} +1 -1
- package/dist/{CreditBalanceDashboard-C9aofnmG.js → CreditBalanceDashboard-Bzxo_Rhr.js} +4 -4
- package/dist/{CreditManagement-DC-v2lmd.js → CreditManagement-C_Va9qmV.js} +2 -2
- package/dist/{CreditManagement-DC-v2lmd.js.map → CreditManagement-C_Va9qmV.js.map} +1 -1
- package/dist/{CreditManagement-BqwuCfPL.js → CreditManagement-Ds6bCB1y.js} +4 -4
- package/dist/{CreditTransactionHistory-Cnf23BQr.js → CreditTransactionHistory-JVPQPiLB.js} +2 -2
- package/dist/{CreditTransactionHistory-Cnf23BQr.js.map → CreditTransactionHistory-JVPQPiLB.js.map} +1 -1
- package/dist/{CustomerCreateSupportTicketForm-BglXTkKj.js → CustomerCreateSupportTicketForm-BI5LQ9sF.js} +3 -3
- package/dist/{CustomerCreateSupportTicketForm-DpMy7RN3.js → CustomerCreateSupportTicketForm-BfEiv6I8.js} +2 -2
- package/dist/{CustomerCreateSupportTicketForm-DpMy7RN3.js.map → CustomerCreateSupportTicketForm-BfEiv6I8.js.map} +1 -1
- package/dist/{CustomerSupportTicketList-DgXBedwz.js → CustomerSupportTicketList-Bf9ImaIe.js} +18 -18
- package/dist/{CustomerSupportTicketSuccess-BQ_a8BPV.js → CustomerSupportTicketSuccess-CmXVwmtE.js} +2 -2
- package/dist/{CustomerSupportTicketSuccess-BQ_a8BPV.js.map → CustomerSupportTicketSuccess-CmXVwmtE.js.map} +1 -1
- package/dist/{CustomerSupportTicketSuccess-DToQdwdr.js → CustomerSupportTicketSuccess-QgmDYuA_.js} +3 -3
- package/dist/{EditTeamForm-BKnTz2F4.js → EditTeamForm-BLqalA9l.js} +2 -2
- package/dist/{EditTeamForm-Cgi1EghV.js → EditTeamForm-DYvHGBRF.js} +2 -2
- package/dist/{EditTeamForm-Cgi1EghV.js.map → EditTeamForm-DYvHGBRF.js.map} +1 -1
- package/dist/{Logout-DnkdqN78.js → Logout-Bdktl4NZ.js} +2 -2
- package/dist/Logout-Bdktl4NZ.js.map +1 -0
- package/dist/{Logout-DZD4gSWp.js → Logout-CmKJK14I.js} +1 -1
- package/dist/{SavedFiltersPage-CQl3CThS.js → SavedFiltersPage-bB4jbQgI.js} +19 -19
- package/dist/{SavedFiltersPage-CQl3CThS.js.map → SavedFiltersPage-bB4jbQgI.js.map} +1 -1
- package/dist/{StaffCreateSupportTicketForm-DZLB4g3g.js → StaffCreateSupportTicketForm-ByvHC20-.js} +3 -3
- package/dist/{StaffCreateSupportTicketForm-BlXd0-fF.js → StaffCreateSupportTicketForm-LuHzqt2w.js} +2 -2
- package/dist/{StaffCreateSupportTicketForm-BlXd0-fF.js.map → StaffCreateSupportTicketForm-LuHzqt2w.js.map} +1 -1
- package/dist/{StaffSupportTicketList-qPI92eBV.js → StaffSupportTicketList-irgGqZUp.js} +18 -18
- package/dist/{StaffSupportTicketSuccess-D9ZUkc88.js → StaffSupportTicketSuccess-BoQZY9Qt.js} +2 -2
- package/dist/{StaffSupportTicketSuccess-D9ZUkc88.js.map → StaffSupportTicketSuccess-BoQZY9Qt.js.map} +1 -1
- package/dist/{StaffSupportTicketSuccess-DSKqZFmV.js → StaffSupportTicketSuccess-C6PI7mxk.js} +3 -3
- package/dist/{TeamAttachmentsTab-BmypKYXr.js → TeamAttachmentsTab-B9fDWDrw.js} +18 -18
- package/dist/{TeamList-BlwTWVnP.js → TeamList-CBJOtPQR.js} +2 -2
- package/dist/{TeamList-BlwTWVnP.js.map → TeamList-CBJOtPQR.js.map} +1 -1
- package/dist/{TeamList-DlHGLlmO.js → TeamList-lMtyRe75.js} +2 -2
- package/dist/{TeamParent-EPbNiMmg.js → TeamParent-CYKznys5.js} +2 -2
- package/dist/{TeamParent-EPbNiMmg.js.map → TeamParent-CYKznys5.js.map} +1 -1
- package/dist/{TeamParent-pt8XxZpt.js → TeamParent-Ckbc8M17.js} +2 -2
- package/dist/{ViewTeam-BeSKgVYp.js → ViewTeam-BgZzH7lK.js} +2 -2
- package/dist/{ViewTeam-BeSKgVYp.js.map → ViewTeam-BgZzH7lK.js.map} +1 -1
- package/dist/{ViewTeam-tBi95Q7D.js → ViewTeam-zP_Jah0c.js} +2 -2
- package/dist/{customerSupportTicketRoutes-aXOZjl41.js → customerSupportTicketRoutes-DZ6mSNIQ.js} +5 -5
- package/dist/{customerSupportTicketRoutes-aXOZjl41.js.map → customerSupportTicketRoutes-DZ6mSNIQ.js.map} +1 -1
- package/dist/index.d.ts +998 -995
- package/dist/index.js +18 -18
- package/dist/{saved_filter-DMUiaPSP.js → saved_filter-B0MGrzy2.js} +2 -2
- package/dist/{saved_filter-DMUiaPSP.js.map → saved_filter-B0MGrzy2.js.map} +1 -1
- package/dist/{src-DJeB_pSK.js → src-Bx44Vnfl.js} +6 -6
- package/dist/{src-DJeB_pSK.js.map → src-Bx44Vnfl.js.map} +1 -1
- package/dist/{staffSupportTicketRoutes-bHqYUfii.js → staffSupportTicketRoutes-CKdCYj3S.js} +5 -5
- package/dist/{staffSupportTicketRoutes-bHqYUfii.js.map → staffSupportTicketRoutes-CKdCYj3S.js.map} +1 -1
- package/dist/{teamRoutes-CbCuofgD.js → teamRoutes-BYpld9yI.js} +7 -7
- package/dist/{teamRoutes-CbCuofgD.js.map → teamRoutes-BYpld9yI.js.map} +1 -1
- package/package.json +2 -2
- package/dist/Logout-DnkdqN78.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as createLastUsedPresetGuard } from "./saved_filter-
|
|
1
|
+
import { o as createLastUsedPresetGuard } from "./saved_filter-B0MGrzy2.js";
|
|
2
2
|
import { c as userAuthenticated, s as staffOnly } from "./userAuthorized-klLUHGxT.js";
|
|
3
3
|
|
|
4
4
|
//#region src/slices/support_ticket/staff/staffSupportTicketRoutes.ts
|
|
@@ -60,7 +60,7 @@ const staffSupportTicketRoutes = [{
|
|
|
60
60
|
{
|
|
61
61
|
path: staffSupportPaths.staff_list.path,
|
|
62
62
|
name: staffSupportPaths.staff_list.name,
|
|
63
|
-
component: () => import("./StaffSupportTicketList-
|
|
63
|
+
component: () => import("./StaffSupportTicketList-irgGqZUp.js"),
|
|
64
64
|
beforeEnter: (to) => staffListPresetGuard(to),
|
|
65
65
|
meta: {
|
|
66
66
|
title: "Manage Support",
|
|
@@ -74,7 +74,7 @@ const staffSupportTicketRoutes = [{
|
|
|
74
74
|
{
|
|
75
75
|
path: staffSupportPaths.staff_create.path,
|
|
76
76
|
name: staffSupportPaths.staff_create.name,
|
|
77
|
-
component: () => import("./StaffCreateSupportTicketForm-
|
|
77
|
+
component: () => import("./StaffCreateSupportTicketForm-ByvHC20-.js"),
|
|
78
78
|
meta: {
|
|
79
79
|
title: "Create Support Ticket",
|
|
80
80
|
description: "Create new support ticket item",
|
|
@@ -90,7 +90,7 @@ const staffSupportTicketRoutes = [{
|
|
|
90
90
|
{
|
|
91
91
|
path: staffSupportPaths.staff_create_success.path,
|
|
92
92
|
name: staffSupportPaths.staff_create_success.name,
|
|
93
|
-
component: () => import("./StaffSupportTicketSuccess-
|
|
93
|
+
component: () => import("./StaffSupportTicketSuccess-C6PI7mxk.js"),
|
|
94
94
|
meta: {
|
|
95
95
|
title: "Support Ticket Created",
|
|
96
96
|
description: "Support ticket created successfully",
|
|
@@ -132,4 +132,4 @@ const staffSupportTicketRoutes = [{
|
|
|
132
132
|
|
|
133
133
|
//#endregion
|
|
134
134
|
export { staffSupportTicketRoutes as n, staffSupportPaths as t };
|
|
135
|
-
//# sourceMappingURL=staffSupportTicketRoutes-
|
|
135
|
+
//# sourceMappingURL=staffSupportTicketRoutes-CKdCYj3S.js.map
|
package/dist/{staffSupportTicketRoutes-bHqYUfii.js.map → staffSupportTicketRoutes-CKdCYj3S.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"staffSupportTicketRoutes-
|
|
1
|
+
{"version":3,"file":"staffSupportTicketRoutes-CKdCYj3S.js","names":["staffSupportTicketRoutes: Array<ExtendedRouteRecordRaw>"],"sources":["../src/slices/support_ticket/staff/staffSupportTicketRoutes.ts"],"sourcesContent":["import { createLastUsedPresetGuard } from '../../../slices/saved_filter';\nimport { staffOnly, userAuthenticated } from '../../../middleware/userAuthorized';\nimport type { ExtendedRouteRecordRaw } from '../../../types/ExtendedRoute';\n\nconst staffListPresetGuard = createLastUsedPresetGuard('support_ticket_staff', 'StaffSupportTicketList');\n\nexport const staffSupportPaths = {\n staff_list: {\n path: '',\n full_path: '/staff/support',\n name: 'StaffSupportTicketList',\n },\n staff_create: {\n path: 'create',\n full_path: '/staff/support/create',\n name: 'StaffCreateSupportTicket',\n },\n staff_create_success: {\n path: 'create/success',\n full_path: '/staff/support/create/success',\n name: 'StaffSupportTicketSuccess',\n },\n staff_edit: {\n path: ':id',\n full_path: '/staff/support/:id',\n name: 'StaffEditSupportTicket',\n },\n staff_workflow: {\n path: 'workflow',\n full_path: '/staff/support/:id/workflow',\n name: 'StaffSupportTicketWorkflow',\n },\n staff_customer_notes: {\n path: 'customer-notes',\n full_path: '/staff/support/:id/customer-notes',\n name: 'StaffSupportTicketCustomerNotes',\n },\n staff_internal_notes: {\n path: 'internal-notes',\n full_path: '/staff/support/:id/internal-notes',\n name: 'StaffSupportTicketInternalNotes',\n },\n staff_history: {\n path: 'history',\n full_path: '/staff/support/:id/history',\n name: 'StaffSupportTicketHistory',\n },\n staff_attachments: {\n path: 'attachments',\n full_path: '/staff/support/:id/attachments',\n name: 'StaffSupportTicketAttachments',\n },\n} as const;\n\nexport const staffSupportTicketRoutes: Array<ExtendedRouteRecordRaw> = [\n {\n path: '/staff/support',\n name: 'StaffSupportTicket',\n redirect: { name: staffSupportPaths.staff_list.name },\n beforeEnter: [userAuthenticated, staffOnly],\n meta: {},\n children: [\n {\n path: staffSupportPaths.staff_list.path,\n name: staffSupportPaths.staff_list.name,\n component: () => import('./StaffSupportTicketList.vue'),\n beforeEnter: (to) => staffListPresetGuard(to),\n meta: {\n title: 'Manage Support',\n description: 'Admin support ticket management',\n side_bar: {\n section: ' Staff',\n visible_to: ['staff', 'super_admin'],\n },\n },\n },\n {\n path: staffSupportPaths.staff_create.path,\n name: staffSupportPaths.staff_create.name,\n component: () => import('./StaffCreateSupportTicketForm.vue'),\n meta: {\n title: 'Create Support Ticket',\n description: 'Create new support ticket item',\n breadcrumbs: [\n {\n label: 'Staff Support Ticket',\n to: { name: staffSupportPaths.staff_list.name },\n },\n {\n label: 'Create',\n to: { name: staffSupportPaths.staff_create.name },\n },\n ],\n },\n },\n {\n path: staffSupportPaths.staff_create_success.path,\n name: staffSupportPaths.staff_create_success.name,\n component: () => import('./StaffSupportTicketSuccess.vue'),\n meta: {\n title: 'Support Ticket Created',\n description: 'Support ticket created successfully',\n breadcrumbs: [\n {\n label: 'Staff Support Ticket',\n to: { name: staffSupportPaths.staff_list.name },\n },\n {\n label: 'Create',\n to: { name: staffSupportPaths.staff_create.name },\n },\n {\n label: 'Success',\n to: { name: staffSupportPaths.staff_create_success.name },\n },\n ],\n },\n },\n {\n path: staffSupportPaths.staff_edit.path,\n component: () => import('./StaffSupportTicketParent.vue'),\n meta: {\n title: 'View Support Ticket',\n description: 'View support ticket details',\n },\n children: [\n {\n path: '',\n name: staffSupportPaths.staff_edit.name,\n component: () => import('./StaffSupportTicketDetailPage.vue'),\n meta: {\n title: 'View Support Ticket',\n description: 'View support ticket details',\n },\n },\n ],\n },\n ],\n },\n];\n"],"mappings":";;;;AAIA,MAAM,uBAAuB,0BAA0B,wBAAwB,yBAAyB;AAExG,MAAa,oBAAoB;CAC/B,YAAY;EACV,MAAM;EACN,WAAW;EACX,MAAM;EACP;CACD,cAAc;EACZ,MAAM;EACN,WAAW;EACX,MAAM;EACP;CACD,sBAAsB;EACpB,MAAM;EACN,WAAW;EACX,MAAM;EACP;CACD,YAAY;EACV,MAAM;EACN,WAAW;EACX,MAAM;EACP;CACD,gBAAgB;EACd,MAAM;EACN,WAAW;EACX,MAAM;EACP;CACD,sBAAsB;EACpB,MAAM;EACN,WAAW;EACX,MAAM;EACP;CACD,sBAAsB;EACpB,MAAM;EACN,WAAW;EACX,MAAM;EACP;CACD,eAAe;EACb,MAAM;EACN,WAAW;EACX,MAAM;EACP;CACD,mBAAmB;EACjB,MAAM;EACN,WAAW;EACX,MAAM;EACP;CACF;AAED,MAAaA,2BAA0D,CACrE;CACE,MAAM;CACN,MAAM;CACN,UAAU,EAAE,MAAM,kBAAkB,WAAW,MAAM;CACrD,aAAa,CAAC,mBAAmB,UAAU;CAC3C,MAAM,EAAE;CACR,UAAU;EACR;GACE,MAAM,kBAAkB,WAAW;GACnC,MAAM,kBAAkB,WAAW;GACnC,iBAAiB,OAAO;GACxB,cAAc,OAAO,qBAAqB,GAAG;GAC7C,MAAM;IACJ,OAAO;IACP,aAAa;IACb,UAAU;KACR,SAAS;KACT,YAAY,CAAC,SAAS,cAAc;KACrC;IACF;GACF;EACD;GACE,MAAM,kBAAkB,aAAa;GACrC,MAAM,kBAAkB,aAAa;GACrC,iBAAiB,OAAO;GACxB,MAAM;IACJ,OAAO;IACP,aAAa;IACb,aAAa,CACX;KACE,OAAO;KACP,IAAI,EAAE,MAAM,kBAAkB,WAAW,MAAM;KAChD,EACD;KACE,OAAO;KACP,IAAI,EAAE,MAAM,kBAAkB,aAAa,MAAM;KAClD,CACF;IACF;GACF;EACD;GACE,MAAM,kBAAkB,qBAAqB;GAC7C,MAAM,kBAAkB,qBAAqB;GAC7C,iBAAiB,OAAO;GACxB,MAAM;IACJ,OAAO;IACP,aAAa;IACb,aAAa;KACX;MACE,OAAO;MACP,IAAI,EAAE,MAAM,kBAAkB,WAAW,MAAM;MAChD;KACD;MACE,OAAO;MACP,IAAI,EAAE,MAAM,kBAAkB,aAAa,MAAM;MAClD;KACD;MACE,OAAO;MACP,IAAI,EAAE,MAAM,kBAAkB,qBAAqB,MAAM;MAC1D;KACF;IACF;GACF;EACD;GACE,MAAM,kBAAkB,WAAW;GACnC,iBAAiB,OAAO;GACxB,MAAM;IACJ,OAAO;IACP,aAAa;IACd;GACD,UAAU,CACR;IACE,MAAM;IACN,MAAM,kBAAkB,WAAW;IACnC,iBAAiB,OAAO;IACxB,MAAM;KACJ,OAAO;KACP,aAAa;KACd;IACF,CACF;GACF;EACF;CACF,CACF"}
|
|
@@ -54,7 +54,7 @@ const teamRoutes = [{
|
|
|
54
54
|
{
|
|
55
55
|
path: teamPaths.list.path,
|
|
56
56
|
name: teamPaths.list.name,
|
|
57
|
-
component: () => import("./TeamList-
|
|
57
|
+
component: () => import("./TeamList-lMtyRe75.js"),
|
|
58
58
|
meta: {
|
|
59
59
|
title: "Teams",
|
|
60
60
|
description: "Manage teams",
|
|
@@ -72,7 +72,7 @@ const teamRoutes = [{
|
|
|
72
72
|
{
|
|
73
73
|
path: teamPaths.create.path,
|
|
74
74
|
name: teamPaths.create.name,
|
|
75
|
-
component: () => import("./CreateTeamForm-
|
|
75
|
+
component: () => import("./CreateTeamForm-C-ktK6hn.js"),
|
|
76
76
|
meta: {
|
|
77
77
|
title: "Create Team",
|
|
78
78
|
description: "Create new team",
|
|
@@ -87,7 +87,7 @@ const teamRoutes = [{
|
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
path: teamPaths.view.path,
|
|
90
|
-
component: () => import("./TeamParent-
|
|
90
|
+
component: () => import("./TeamParent-Ckbc8M17.js"),
|
|
91
91
|
meta: { sectionTabs: [
|
|
92
92
|
{
|
|
93
93
|
id: "view",
|
|
@@ -124,7 +124,7 @@ const teamRoutes = [{
|
|
|
124
124
|
{
|
|
125
125
|
path: "",
|
|
126
126
|
name: teamPaths.view.name,
|
|
127
|
-
component: () => import("./ViewTeam-
|
|
127
|
+
component: () => import("./ViewTeam-zP_Jah0c.js"),
|
|
128
128
|
meta: {
|
|
129
129
|
title: "View Team",
|
|
130
130
|
description: "View team details",
|
|
@@ -134,7 +134,7 @@ const teamRoutes = [{
|
|
|
134
134
|
{
|
|
135
135
|
path: teamPaths.edit.path,
|
|
136
136
|
name: teamPaths.edit.name,
|
|
137
|
-
component: () => import("./EditTeamForm-
|
|
137
|
+
component: () => import("./EditTeamForm-BLqalA9l.js"),
|
|
138
138
|
meta: {
|
|
139
139
|
title: "Edit Team",
|
|
140
140
|
description: "Edit team details",
|
|
@@ -154,7 +154,7 @@ const teamRoutes = [{
|
|
|
154
154
|
{
|
|
155
155
|
path: teamPaths.attachments.path,
|
|
156
156
|
name: teamPaths.attachments.name,
|
|
157
|
-
component: () => import("./TeamAttachmentsTab-
|
|
157
|
+
component: () => import("./TeamAttachmentsTab-B9fDWDrw.js"),
|
|
158
158
|
meta: {
|
|
159
159
|
title: "Team Attachments",
|
|
160
160
|
description: "View and manage attachments",
|
|
@@ -189,4 +189,4 @@ const teamRoutes = [{
|
|
|
189
189
|
|
|
190
190
|
//#endregion
|
|
191
191
|
export { teamRoutes as n, teamPaths as t };
|
|
192
|
-
//# sourceMappingURL=teamRoutes-
|
|
192
|
+
//# sourceMappingURL=teamRoutes-BYpld9yI.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"teamRoutes-
|
|
1
|
+
{"version":3,"file":"teamRoutes-BYpld9yI.js","names":["teamRoutes: Array<ExtendedRouteRecordRaw>"],"sources":["../src/slices/team/teamRoutes.ts"],"sourcesContent":["import { userAuthenticated } from '../../middleware/userAuthorized';\nimport type { ExtendedRouteRecordRaw } from '../../types/ExtendedRoute';\nimport { teamMemberPaths, teamMemberRoutes } from './team_member/team_memberRoutes';\n\nexport const teamPaths = {\n list: {\n path: '',\n full_path: '/teams',\n name: 'TeamList',\n },\n create: {\n path: 'create',\n full_path: '/teams/create',\n name: 'CreateTeam',\n },\n view: {\n path: ':id',\n full_path: '/teams/:id',\n name: 'ViewTeam',\n },\n edit: {\n path: 'edit',\n full_path: '/teams/:id/edit',\n name: 'EditTeam',\n },\n notes: {\n path: 'notes',\n full_path: '/teams/:id/notes',\n name: 'TeamNotes',\n },\n attachments: {\n path: 'attachments',\n full_path: '/teams/:id/attachments',\n name: 'TeamAttachments',\n },\n history: {\n path: 'history',\n full_path: '/teams/:id/history',\n name: 'TeamHistory',\n },\n members: {\n path: 'members',\n full_path: '/teams/:id/members',\n name: 'TeamMembers',\n },\n} as const;\n\nexport const teamRoutes: Array<ExtendedRouteRecordRaw> = [\n {\n path: '/teams',\n name: 'Team',\n redirect: { name: teamPaths.list.name },\n beforeEnter: [userAuthenticated],\n meta: {},\n children: [\n {\n path: teamPaths.list.path,\n name: teamPaths.list.name,\n component: () => import('./TeamList.vue'),\n meta: {\n title: 'Teams',\n description: 'Manage teams',\n side_bar: {\n section: 'Teams',\n visible_to: ['consumer', 'lead', 'staff', 'super_admin'],\n },\n },\n },\n {\n path: teamPaths.create.path,\n name: teamPaths.create.name,\n component: () => import('./CreateTeamForm.vue'),\n meta: {\n title: 'Create Team',\n description: 'Create new team',\n breadcrumbs: [\n {\n label: 'Teams',\n to: { name: teamPaths.list.name },\n },\n {\n label: 'Create',\n to: { name: teamPaths.create.name },\n },\n ],\n },\n },\n {\n path: teamPaths.view.path,\n component: () => import('./TeamParent.vue'),\n meta: {\n // Define team detail tabs\n sectionTabs: [\n {\n id: 'view',\n label: 'View',\n to: { name: teamPaths.view.name },\n },\n {\n id: 'edit',\n label: 'Edit',\n to: { name: teamPaths.edit.name },\n },\n {\n id: 'notes',\n label: 'Notes',\n to: { name: teamPaths.notes.name },\n },\n {\n id: 'attachments',\n label: 'Attachments',\n to: { name: teamPaths.attachments.name },\n },\n {\n id: 'history',\n label: 'History',\n to: { name: teamPaths.history.name },\n },\n {\n id: 'members',\n label: 'Members',\n to: { name: teamMemberPaths.list.name },\n },\n ],\n },\n children: [\n {\n path: '',\n name: teamPaths.view.name,\n component: () => import('./ViewTeam.vue'),\n meta: {\n title: 'View Team',\n description: 'View team details',\n currentTab: 'view',\n },\n },\n {\n path: teamPaths.edit.path,\n name: teamPaths.edit.name,\n component: () => import('./EditTeamForm.vue'),\n meta: {\n title: 'Edit Team',\n description: 'Edit team details',\n currentTab: 'edit',\n },\n },\n {\n path: teamPaths.notes.path,\n name: teamPaths.notes.name,\n component: () => import('./TeamNotesTab.vue'),\n meta: {\n title: 'Team Notes',\n description: 'View and manage notes',\n currentTab: 'notes',\n },\n },\n {\n path: teamPaths.attachments.path,\n name: teamPaths.attachments.name,\n component: () => import('./TeamAttachmentsTab.vue'),\n meta: {\n title: 'Team Attachments',\n description: 'View and manage attachments',\n currentTab: 'attachments',\n },\n },\n {\n path: teamPaths.history.path,\n name: teamPaths.history.name,\n component: () => import('./TeamHistoryTab.vue'),\n meta: {\n title: 'Team History',\n description: 'View audit trail and changes',\n currentTab: 'history',\n },\n },\n {\n path: teamPaths.members.path,\n name: teamPaths.members.name,\n component: () => import('./TeamMembersTab.vue'),\n meta: {\n title: 'Team Members',\n description: 'View and manage team members',\n currentTab: 'members',\n },\n children: teamMemberRoutes,\n },\n ],\n },\n ],\n },\n];\n"],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dragonmastery/dragoncore-vue",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.26",
|
|
4
4
|
"description": "Vue 3 components and composables for dragoncore",
|
|
5
5
|
"author": "DragonMastery",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"vue3-toastify": "0.2.8"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
|
-
"@dragonmastery/dragoncore-shared": "^0.0.
|
|
44
|
+
"@dragonmastery/dragoncore-shared": "^0.0.26",
|
|
45
45
|
"@dragonmastery/zinia-forms-core": ">=0.5.11",
|
|
46
46
|
"@vueuse/core": ">=14.0.0",
|
|
47
47
|
"pinia": ">=3.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Logout-DnkdqN78.js","names":["error: unknown"],"sources":["../src/slices/auth/features/Logout.vue"],"sourcesContent":["<template>\n <div class=\"min-h-screen flex items-center justify-center bg-base-100\">\n <div class=\"max-w-md mx-auto bg-base-200 p-8 rounded-xl shadow-md text-center\">\n <div v-if=\"status === 'loading'\" class=\"space-y-4\">\n <div class=\"flex justify-center\">\n <span class=\"loading loading-spinner loading-lg text-primary\"></span>\n </div>\n <h2 class=\"text-2xl font-bold mb-2\">Logging out...</h2>\n <p class=\"text-base-content/70\">Please wait while we securely log you out</p>\n </div>\n <div v-else class=\"space-y-4\">\n <h2 class=\"text-2xl font-bold mb-2\">\n {{ status === 'success' ? 'Logged out' : 'Logout failed' }}\n </h2>\n <p class=\"text-base-content/70\">\n {{ status === 'success'\n ? 'Redirecting you...'\n : 'Redirecting you to login...' }}\n </p>\n <p class=\"text-sm text-base-content/60\">\n If you aren't redirected automatically,\n <AppLink :to=\"redirectTo\" class=\"link link-primary\">click here</AppLink>.\n </p>\n </div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\nimport AppLink from '../../../components/AppLink.vue';\nimport { useMutation } from '../../../composables/useMutation';\nimport { useUserSessionStore } from '../../../composables/useUserSessionStore';\nimport { getValidReturnUrl } from '../../../utils/useReturnUrl';\nimport { onMounted, computed, ref } from 'vue';\nimport { useRoute, useRouter } from 'vue-router';\nimport { toast } from 'vue3-toastify';\n\nconst sessionStore = useUserSessionStore();\nconst route = useRoute();\nconst router = useRouter();\nconst status = ref<'loading' | 'success' | 'error'>('loading');\n\nconst redirectTo = computed(() =>\n getValidReturnUrl(route, '/auth/login'),\n);\n\nconst { mutate: logoutMutate } = useMutation(\n (api) => api.userSessions.logout(),\n { credentials: 'include' }, // Include credentials to allow cookies\n);\n\nonMounted(async () => {\n try {\n await logoutMutate(undefined);\n sessionStore.clearSession();\n status.value = 'success';\n setTimeout(() => router.push(redirectTo.value), 1000);\n } catch (error: unknown) {\n status.value = 'error';\n toast.error(error instanceof Error ? error.message : 'Failed to logout', {\n autoClose: 2000,\n });\n setTimeout(() => router.push(redirectTo.value), 2000);\n }\n});\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;EAqCA,MAAM,eAAe,qBAAqB;EAC1C,MAAM,QAAQ,UAAU;EACxB,MAAM,SAAS,WAAW;EAC1B,MAAM,SAAS,IAAqC,UAAU;EAE9D,MAAM,aAAa,eACjB,kBAAkB,OAAO,cAAc,CACxC;EAED,MAAM,EAAE,QAAQ,iBAAiB,aAC9B,QAAQ,IAAI,aAAa,QAAQ,EAClC,EAAE,aAAa,WAAW,CAC3B;AAED,YAAU,YAAY;AACpB,OAAI;AACF,UAAM,aAAa,OAAU;AAC7B,iBAAa,cAAc;AAC3B,WAAO,QAAQ;AACf,qBAAiB,OAAO,KAAK,WAAW,MAAM,EAAE,IAAK;YAC9CA,OAAgB;AACvB,WAAO,QAAQ;AACf,UAAM,MAAM,iBAAiB,QAAQ,MAAM,UAAU,oBAAoB,EACvE,WAAW,KACZ,CAAC;AACF,qBAAiB,OAAO,KAAK,WAAW,MAAM,EAAE,IAAK;;IAEvD;;uBA/DA,mBAwBM,OAxBN,YAwBM,CAvBJ,mBAsBM,OAtBN,YAsBM,CArBO,OAAA,UAAM,aAAA,WAAA,EAAjB,mBAMM,OANN,YAMM,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA;IALJ,mBAEM,OAAA,EAFD,OAAM,uBAAqB,EAAA,CAC9B,mBAAqE,QAAA,EAA/D,OAAM,mDAAiD,CAAA,CAAA;IAE/D,mBAAuD,MAAA,EAAnD,OAAM,2BAAyB,EAAC,kBAAc,GAAA;IAClD,mBAA6E,KAAA,EAA1E,OAAM,wBAAsB,EAAC,6CAAyC,GAAA;yBAE3E,mBAaM,OAbN,YAaM;IAZJ,mBAEK,MAFL,YAEK,gBADA,OAAA,UAAM,YAAA,eAAA,gBAAA,EAAA,EAAA;IAEX,mBAII,KAJJ,YAII,gBAHC,OAAA,UAAM,YAAA,uBAAA,8BAAA;IAIX,mBAGI,KAHJ,YAGI;+CAHoC,6CAEtC,GAAA;KAAA,YAAwE,iBAAA;MAA9D,IAAI,WAAA;MAAY,OAAM;;6BAA8B,CAAA,GAAA,OAAA,OAAA,OAAA,KAAA,CAAA,gBAAV,cAAU,GAAA,CAAA,EAAA,CAAA;;;+CAAU,MAC1E,GAAA"}
|