@dragonmastery/dragoncore-vue 0.0.16 → 0.0.18
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/{ChangePasswordPage-BXPuAPAw.js → ChangePasswordPage-D2Ci00Sh.js} +1 -1
- package/dist/{ChangePasswordPage-BXPuAPAw.js.map → ChangePasswordPage-D2Ci00Sh.js.map} +1 -1
- package/dist/{ChangePasswordPage-D4rzAT2e.js → ChangePasswordPage-DqnWhaUa.js} +1 -1
- package/dist/CreateTeamForm-LadKAxsM.js +32 -0
- package/dist/CreateTeamMemberForm-eWL__TEt.js +32 -0
- package/dist/{CreateUserPage-25iC5JNs.js → CreateUserPage-DbT_l32W.js} +1 -1
- package/dist/{CreateUserPage-25iC5JNs.js.map → CreateUserPage-DbT_l32W.js.map} +1 -1
- package/dist/CreateUserPage-cduuWl9g.js +6 -0
- package/dist/CreditBalanceDashboard-CgRRO6MD.js +32 -0
- package/dist/CreditManagement-BBb_Xumq.js +32 -0
- package/dist/CustomerCreateSupportTicketForm-yfyeXr0V.js +32 -0
- package/dist/{CustomerSupportTicketDetailPage-DDMwp3lY.js → CustomerSupportTicketDetailPage-CthS9akm.js} +4 -4
- package/dist/{CustomerSupportTicketDetailPage-DDMwp3lY.js.map → CustomerSupportTicketDetailPage-CthS9akm.js.map} +1 -1
- package/dist/CustomerSupportTicketList-Zzsg1FtO.js +32 -0
- package/dist/{CustomerSupportTicketParent-BItQs6qz.js → CustomerSupportTicketParent-CqR8lF7r.js} +2 -2
- package/dist/{CustomerSupportTicketParent-0TLLQujw.js → CustomerSupportTicketParent-iBV1KRKL.js} +3 -3
- package/dist/{CustomerSupportTicketParent-0TLLQujw.js.map → CustomerSupportTicketParent-iBV1KRKL.js.map} +1 -1
- package/dist/CustomerSupportTicketSuccess-BPyydSLQ.js +32 -0
- package/dist/EditTeamForm-D0wZKYm2.js +32 -0
- package/dist/{EditTeamMemberForm-y4Klbm2x.js → EditTeamMemberForm-Cy8nzoUb.js} +1 -1
- package/dist/{EditTeamMemberForm-y4Klbm2x.js.map → EditTeamMemberForm-Cy8nzoUb.js.map} +1 -1
- package/dist/{EditTeamMemberForm-poMUw7tK.js → EditTeamMemberForm-JuRGiWOn.js} +1 -1
- package/dist/{EditUserPage-DFMiGciD.js → EditUserPage-CIRqNko-.js} +2 -2
- package/dist/{EditUserPage-DFMiGciD.js.map → EditUserPage-CIRqNko-.js.map} +1 -1
- package/dist/{TeamNotesTab-CpGM8HXg.js → EditUserPage-Dl6d3Cuh.js} +2 -2
- package/dist/{ForgotPassword-DYN5QAho.js → ForgotPassword-CJg_buPl.js} +10 -6
- package/dist/ForgotPassword-CJg_buPl.js.map +1 -0
- package/dist/{ForgotPassword-Cq1lKwSI.js → ForgotPassword-rSN-8EC4.js} +1 -1
- package/dist/{LoginForm-Bv4pzTYW.js → LoginForm-DyHmiC1I.js} +14 -14
- package/dist/LoginForm-DyHmiC1I.js.map +1 -0
- package/dist/{LoginForm-DLdl5qLw.js → LoginForm-YCzdrekw.js} +1 -1
- package/dist/{Logout-7daBTqXu.js → Logout-C6pWyTIm.js} +9 -6
- package/dist/Logout-C6pWyTIm.js.map +1 -0
- package/dist/{Logout-DukqZAYW.js → Logout-Ctc8b-B0.js} +1 -1
- package/dist/{MfaSetup-Drj1hQJ6.js → MfaSetup-D80HhwEz.js} +12 -7
- package/dist/MfaSetup-D80HhwEz.js.map +1 -0
- package/dist/{MfaSetup-C6Pku6P_.js → MfaSetup-xNmNjSh1.js} +2 -2
- package/dist/{MfaVerify-DMvK-ius.js → MfaVerify-BEd-f6oV.js} +9 -7
- package/dist/MfaVerify-BEd-f6oV.js.map +1 -0
- package/dist/{MfaVerify-CeTPsWRU.js → MfaVerify-C0COXH_W.js} +2 -2
- package/dist/ResetPassword-4HLdgM7s.js +92 -0
- package/dist/ResetPassword-4HLdgM7s.js.map +1 -0
- package/dist/ResetPassword-BCzMTXpT.js +7 -0
- package/dist/{SavedFiltersPage-BnRm3u1G.js → SavedFiltersPage-p0qGRIuN.js} +23 -22
- package/dist/{SavedFiltersPage-BnRm3u1G.js.map → SavedFiltersPage-p0qGRIuN.js.map} +1 -1
- package/dist/{Signup-DkImN_pp.js → Signup-Ct0m0x78.js} +17 -10
- package/dist/Signup-Ct0m0x78.js.map +1 -0
- package/dist/{Signup-pBflBiRz.js → Signup-DNEklGpK.js} +1 -1
- package/dist/StaffCreateSupportTicketForm-CxpKnqCq.js +32 -0
- package/dist/{StaffSupportTicketDetailPage-pCzgt0bn.js → StaffSupportTicketDetailPage-TaAPQARa.js} +6 -6
- package/dist/{StaffSupportTicketDetailPage-pCzgt0bn.js.map → StaffSupportTicketDetailPage-TaAPQARa.js.map} +1 -1
- package/dist/StaffSupportTicketList-BuKBTk2v.js +32 -0
- package/dist/{StaffSupportTicketParent-Hj4m2xeF.js → StaffSupportTicketParent-KYzy4eb4.js} +3 -3
- package/dist/{StaffSupportTicketParent-Hj4m2xeF.js.map → StaffSupportTicketParent-KYzy4eb4.js.map} +1 -1
- package/dist/{StaffSupportTicketParent-BqMBB52c.js → StaffSupportTicketParent-Lkn-5u7C.js} +2 -2
- package/dist/StaffSupportTicketSuccess-BD1Xsnx1.js +32 -0
- package/dist/{SupportStaffPage-BmcE-1-G.js → SupportStaffPage-D_YsHZZa.js} +3 -3
- package/dist/{SupportStaffPage-BmcE-1-G.js.map → SupportStaffPage-D_YsHZZa.js.map} +1 -1
- package/dist/{SupportTicketDevLifecycleBadge-Ba-Rm6QW.js → SupportTicketDevLifecycleBadge-B2NysMAj.js} +1 -1
- package/dist/{SupportTicketDevLifecycleBadge-Ba-Rm6QW.js.map → SupportTicketDevLifecycleBadge-B2NysMAj.js.map} +1 -1
- package/dist/{SupportTicketMaintenancePage-DbH9gLlG.js → SupportTicketMaintenancePage-CpK1esq2.js} +1 -1
- package/dist/{SupportTicketMaintenancePage-DbH9gLlG.js.map → SupportTicketMaintenancePage-CpK1esq2.js.map} +1 -1
- package/dist/TeamAttachmentsTab-DA_MBYj8.js +32 -0
- package/dist/{TeamHistoryTab-B3DvaIzC.js → TeamHistoryTab-BQ-eXtiw.js} +2 -2
- package/dist/{TeamHistoryTab-B3DvaIzC.js.map → TeamHistoryTab-BQ-eXtiw.js.map} +1 -1
- package/dist/TeamHistoryTab-lz2ouNyP.js +4 -0
- package/dist/TeamList-T3mZJTzq.js +32 -0
- package/dist/TeamMemberList-BW4qqzC1.js +32 -0
- package/dist/TeamMemberParent-Wcht0pIz.js +32 -0
- package/dist/{TeamNotesTab-CXKv0UF9.js → TeamNotesTab-Dj12Q2gD.js} +2 -2
- package/dist/{TeamNotesTab-CXKv0UF9.js.map → TeamNotesTab-Dj12Q2gD.js.map} +1 -1
- package/dist/{EditUserPage-CG9qOvLb.js → TeamNotesTab-aGD8O49y.js} +2 -2
- package/dist/TeamParent-BkhaJwud.js +32 -0
- package/dist/{TimelineNoteInput-hpCxzQjP.js → TimelineNoteInput-DGDgyGe-.js} +1 -1
- package/dist/{TimelineNoteInput-hpCxzQjP.js.map → TimelineNoteInput-DGDgyGe-.js.map} +1 -1
- package/dist/UserListPage-C9zUjaOK.js +4 -0
- package/dist/{UserListPage-DtftDtVo.js → UserListPage-D-IdlsHK.js} +2 -2
- package/dist/{UserListPage-DtftDtVo.js.map → UserListPage-D-IdlsHK.js.map} +1 -1
- package/dist/{UserProfilePage-Ex-rpoTJ.js → UserProfilePage-D52_Q5yf.js} +1 -1
- package/dist/{UserProfilePage-1UWJUhqk.js → UserProfilePage-DMwDVgXa.js} +1 -1
- package/dist/{UserProfilePage-1UWJUhqk.js.map → UserProfilePage-DMwDVgXa.js.map} +1 -1
- package/dist/{VerifyEmail-tkPdmmBN.js → VerifyEmail-5thal4d_.js} +1 -1
- package/dist/{VerifyEmail-De72yrDX.js → VerifyEmail-CHfTzrHg.js} +9 -6
- package/dist/VerifyEmail-CHfTzrHg.js.map +1 -0
- package/dist/{VerifyEmailRequired-BMnPXJzY.js → VerifyEmailRequired-BCKREd_C.js} +8 -3
- package/dist/VerifyEmailRequired-BCKREd_C.js.map +1 -0
- package/dist/ViewTeam-g7WhYvsR.js +32 -0
- package/dist/ViewTeamMember-ByCSsl5k.js +32 -0
- package/dist/{convertToLocalDateTime-DOSGtMn8.js → convertToLocalDateTime-mKs5eC9T.js} +1 -1
- package/dist/{convertToLocalDateTime-DOSGtMn8.js.map → convertToLocalDateTime-mKs5eC9T.js.map} +1 -1
- package/dist/{displayIdFormatter-B1ZKgofu.js → displayIdFormatter-rSbbsHIX.js} +1 -1
- package/dist/{displayIdFormatter-B1ZKgofu.js.map → displayIdFormatter-rSbbsHIX.js.map} +1 -1
- package/dist/{extractRpcErrorMessage-C_UbKgHL.js → extractRpcErrorMessage-pP3v8kKE.js} +1 -1
- package/dist/{extractRpcErrorMessage-C_UbKgHL.js.map → extractRpcErrorMessage-pP3v8kKE.js.map} +1 -1
- package/dist/index.d.ts +49 -12
- package/dist/index.js +27 -25
- package/dist/{mfaSchema-DN655dny.js → mfaSchema-_vbG9jiT.js} +1 -1
- package/dist/{mfaSchema-DN655dny.js.map → mfaSchema-_vbG9jiT.js.map} +1 -1
- package/dist/{src-eLdX-D-O.js → src-B5eswi_J.js} +393 -441
- package/dist/src-B5eswi_J.js.map +1 -0
- package/dist/{useBreadcrumbs-DmgSucoe.js → useBreadcrumbs-B-W-miq6.js} +1 -1
- package/dist/{useBreadcrumbs-DmgSucoe.js.map → useBreadcrumbs-B-W-miq6.js.map} +1 -1
- package/dist/useReturnUrl-BBoPnDR3.js +51 -0
- package/dist/useReturnUrl-BBoPnDR3.js.map +1 -0
- package/package.json +1 -1
- package/dist/CreateTeamForm-CkjGTLz_.js +0 -31
- package/dist/CreateTeamMemberForm-CVpIyvAR.js +0 -31
- package/dist/CreateUserPage-BvsE7tFH.js +0 -6
- package/dist/CreditBalanceDashboard-B4ql-qT9.js +0 -31
- package/dist/CreditManagement-D99fYSac.js +0 -31
- package/dist/CustomerCreateSupportTicketForm-eMNpLn4_.js +0 -31
- package/dist/CustomerSupportTicketList-DnE-0wkZ.js +0 -31
- package/dist/CustomerSupportTicketSuccess-CBqqfJVd.js +0 -31
- package/dist/EditTeamForm-DhuxhKvO.js +0 -31
- package/dist/ForgotPassword-DYN5QAho.js.map +0 -1
- package/dist/LoginForm-Bv4pzTYW.js.map +0 -1
- package/dist/Logout-7daBTqXu.js.map +0 -1
- package/dist/MfaSetup-Drj1hQJ6.js.map +0 -1
- package/dist/MfaVerify-DMvK-ius.js.map +0 -1
- package/dist/ResetPassword-Bl34xbJ7.js +0 -31
- package/dist/Signup-DkImN_pp.js.map +0 -1
- package/dist/StaffCreateSupportTicketForm-Cy3zALqx.js +0 -31
- package/dist/StaffSupportTicketList-CdsRKYEj.js +0 -31
- package/dist/StaffSupportTicketSuccess-DS52WQ4o.js +0 -31
- package/dist/TeamAttachmentsTab-mB4y2I62.js +0 -31
- package/dist/TeamHistoryTab-B5DOTCUd.js +0 -4
- package/dist/TeamList-CRc3XZ2k.js +0 -31
- package/dist/TeamMemberList-DcJ0EKv0.js +0 -31
- package/dist/TeamMemberParent-BrDpy4QM.js +0 -31
- package/dist/TeamParent-dplHxTlz.js +0 -31
- package/dist/UserListPage-mOMo6rE7.js +0 -4
- package/dist/VerifyEmail-De72yrDX.js.map +0 -1
- package/dist/VerifyEmailRequired-BMnPXJzY.js.map +0 -1
- package/dist/ViewTeam-B9L8tANd.js +0 -31
- package/dist/ViewTeamMember-DKwVCMp7.js +0 -31
- package/dist/src-eLdX-D-O.js.map +0 -1
- /package/dist/{Appearance-C3WguxT-.js → Appearance-CohgRf-_.js} +0 -0
- /package/dist/{TeamMembersTab-DTJxmb-M.js → TeamMembersTab-CpE9BaCi.js} +0 -0
|
@@ -4,17 +4,18 @@ import { t as useQuery } from "./useQuery-bvJabe9Q.js";
|
|
|
4
4
|
import { t as AppLink_default } from "./AppLink-CHMMrSFI.js";
|
|
5
5
|
import { a as SupportTicketTypeBadge_default, c as formatCustomerCreditValue, d as ConfirmDialog_default, i as SupportTicketApprovalBadge_default, l as formatStaffCreditValue, o as SupportTicketPriorityBadge_default, s as InlineAttachments_default } from "./TimelineSystemEvent-CBwUl5G8.js";
|
|
6
6
|
import { n as export_helper_default } from "./TeamMembersTab-4gmnP9sD.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
7
|
+
import { t as getBackLinkFromRoute } from "./useReturnUrl-BBoPnDR3.js";
|
|
8
|
+
import { n as useBreadcrumbs, t as BREADCRUMB_KEY } from "./useBreadcrumbs-B-W-miq6.js";
|
|
9
|
+
import { i as FieldsetSection_default, n as teamMemberCreateSchemaWithMetadata } from "./EditTeamMemberForm-Cy8nzoUb.js";
|
|
10
|
+
import { r as ZiniaContainer_default } from "./TeamHistoryTab-BQ-eXtiw.js";
|
|
11
|
+
import { n as formatToISODate, r as formatUserDate, t as formatSystemTimestamp } from "./convertToLocalDateTime-mKs5eC9T.js";
|
|
12
|
+
import { t as extractRpcErrorMessage } from "./extractRpcErrorMessage-pP3v8kKE.js";
|
|
13
|
+
import { t as formatTicketDisplayId } from "./displayIdFormatter-rSbbsHIX.js";
|
|
14
|
+
import { t as SupportTicketDevLifecycleBadge_default } from "./SupportTicketDevLifecycleBadge-B2NysMAj.js";
|
|
14
15
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineComponent, inject, isRef, nextTick, normalizeClass, onMounted, openBlock, provide, readonly, ref, renderList, renderSlot, resolveComponent, toDisplayString, unref, vModelCheckbox, vModelText, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
15
16
|
import { RouterView, useRoute, useRouter } from "vue-router";
|
|
16
17
|
import { toast } from "vue3-toastify";
|
|
17
|
-
import { AddCreditsSchema, CompleteSupportTicketSchema, CreditTransactionReadSchema, CustomerSupportTicketCreateSchema, CustomerSupportTicketReadSchema, CustomerSupportTicketUpdateSchema, MAX_PRESETS_PER_CONTEXT, OPERATORS, SUPPORT_TICKET_APPROVAL_FILTER_OPTIONS, SUPPORT_TICKET_DEV_LIFECYCLE_FILTER_OPTIONS, SUPPORT_TICKET_PRIORITY_FILTER_OPTIONS, SUPPORT_TICKET_PRIORITY_NUMBER_TO_LABEL, SUPPORT_TICKET_PRIORITY_TO_NUMBER, SUPPORT_TICKET_STATUS_FILTER_OPTIONS, SUPPORT_TICKET_TYPE_FILTER_OPTIONS, SetMonthlyAllocationSchema, StaffSupportTicketCreateSchema, StaffSupportTicketFiltersSchema, StaffSupportTicketReadSchema, StaffSupportTicketUpdateSchema, SupportTicketDevLifecycleUpdateEnum, TeamCreateSchema, TeamFiltersSchema, TeamMemberFiltersSchema, TeamMemberReadSchema, TeamReadSchema, TeamUpdateSchema, formatDollar,
|
|
18
|
+
import { AddCreditsSchema, CompleteSupportTicketSchema, CreditTransactionReadSchema, CustomerSupportTicketCreateSchema, CustomerSupportTicketReadSchema, CustomerSupportTicketUpdateSchema, MAX_PRESETS_PER_CONTEXT, OPERATORS, SUPPORT_TICKET_APPROVAL_FILTER_OPTIONS, SUPPORT_TICKET_DEV_LIFECYCLE_FILTER_OPTIONS, SUPPORT_TICKET_PRIORITY_FILTER_OPTIONS, SUPPORT_TICKET_PRIORITY_NUMBER_TO_LABEL, SUPPORT_TICKET_PRIORITY_TO_NUMBER, SUPPORT_TICKET_STATUS_FILTER_OPTIONS, SUPPORT_TICKET_TYPE_FILTER_OPTIONS, SetMonthlyAllocationSchema, StaffSupportTicketCreateSchema, StaffSupportTicketFiltersSchema, StaffSupportTicketReadSchema, StaffSupportTicketUpdateSchema, SupportTicketDevLifecycleUpdateEnum, TeamCreateSchema, TeamFiltersSchema, TeamMemberFiltersSchema, TeamMemberReadSchema, TeamReadSchema, TeamUpdateSchema, formatDollar, supportTicketPriorityToNumber } from "@dragonmastery/dragoncore-shared";
|
|
18
19
|
import { ActionIcons, useCursorDataTable, useDataTableUrlSync, useForm, withMetadata } from "@dragonmastery/zinia-forms-core";
|
|
19
20
|
|
|
20
21
|
//#region src/plugin.ts
|
|
@@ -49,19 +50,19 @@ const DragoncoreVue = { install(_app, options) {
|
|
|
49
50
|
|
|
50
51
|
//#endregion
|
|
51
52
|
//#region src/components/AppTabNavigation.vue
|
|
52
|
-
const _hoisted_1$
|
|
53
|
-
const _hoisted_2$
|
|
53
|
+
const _hoisted_1$58 = { class: "w-full" };
|
|
54
|
+
const _hoisted_2$53 = { class: "md:hidden relative" };
|
|
54
55
|
const _hoisted_3$50 = { class: "font-medium" };
|
|
55
56
|
const _hoisted_4$43 = {
|
|
56
57
|
key: 0,
|
|
57
58
|
class: "absolute z-20 w-full bg-base-100 shadow-lg"
|
|
58
59
|
};
|
|
59
|
-
const _hoisted_5$
|
|
60
|
-
const _hoisted_6$
|
|
60
|
+
const _hoisted_5$33 = ["onClick"];
|
|
61
|
+
const _hoisted_6$27 = { class: "hidden md:flex items-center overflow-x-auto" };
|
|
61
62
|
const _hoisted_7$22 = { class: "flex-1 flex" };
|
|
62
63
|
const _hoisted_8$22 = ["onClick"];
|
|
63
64
|
const _hoisted_9$21 = { class: "ml-auto shrink-0" };
|
|
64
|
-
const _sfc_main$
|
|
65
|
+
const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
65
66
|
__name: "AppTabNavigation",
|
|
66
67
|
props: {
|
|
67
68
|
tabs: {},
|
|
@@ -102,9 +103,9 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
102
103
|
};
|
|
103
104
|
return (_ctx, _cache) => {
|
|
104
105
|
const _component_router_link = resolveComponent("router-link");
|
|
105
|
-
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Mobile-first tab navigation with responsive grid layout "), createElementVNode("div", _hoisted_1$
|
|
106
|
+
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Mobile-first tab navigation with responsive grid layout "), createElementVNode("div", _hoisted_1$58, [
|
|
106
107
|
createCommentVNode(" Mobile view: Show dropdown on small screens "),
|
|
107
|
-
createElementVNode("div", _hoisted_2$
|
|
108
|
+
createElementVNode("div", _hoisted_2$53, [
|
|
108
109
|
createElementVNode("button", {
|
|
109
110
|
onClick: _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = !isMenuOpen.value),
|
|
110
111
|
class: "w-full flex items-center justify-between px-4 py-3 bg-base-100"
|
|
@@ -134,11 +135,11 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
134
135
|
key: 1,
|
|
135
136
|
onClick: ($event) => handleTabClick(tab.id),
|
|
136
137
|
class: normalizeClass(["block w-full text-left px-4 py-3 hover:bg-base-200", [__props.activeTab === tab.id ? "text-primary font-medium" : "text-base-content/70"]])
|
|
137
|
-
}, toDisplayString(tab.label), 11, _hoisted_5$
|
|
138
|
+
}, toDisplayString(tab.label), 11, _hoisted_5$33))], 64);
|
|
138
139
|
}), 128))])) : createCommentVNode("v-if", true)
|
|
139
140
|
]),
|
|
140
141
|
createCommentVNode(" Desktop view: Show horizontal tabs on medium screens and up "),
|
|
141
|
-
createElementVNode("div", _hoisted_6$
|
|
142
|
+
createElementVNode("div", _hoisted_6$27, [
|
|
142
143
|
createElementVNode("div", _hoisted_7$22, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabs, (tab, index) => {
|
|
143
144
|
return openBlock(), createElementBlock(Fragment, { key: index }, [tab.to ? (openBlock(), createBlock(_component_router_link, {
|
|
144
145
|
key: 0,
|
|
@@ -160,17 +161,17 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
160
161
|
};
|
|
161
162
|
}
|
|
162
163
|
});
|
|
163
|
-
var AppTabNavigation_default = _sfc_main$
|
|
164
|
+
var AppTabNavigation_default = _sfc_main$64;
|
|
164
165
|
|
|
165
166
|
//#endregion
|
|
166
167
|
//#region src/components/AppHeader.vue
|
|
167
|
-
const _hoisted_1$
|
|
168
|
-
const _hoisted_2$
|
|
168
|
+
const _hoisted_1$57 = { class: "bg-base-100 border-b border-base-300 z-10 w-full" };
|
|
169
|
+
const _hoisted_2$52 = {
|
|
169
170
|
key: 0,
|
|
170
171
|
class: "w-full"
|
|
171
172
|
};
|
|
172
173
|
const _hoisted_3$49 = { class: "max-w-7xl mx-auto px-3 sm:px-4 md:px-6" };
|
|
173
|
-
const _sfc_main$
|
|
174
|
+
const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
174
175
|
__name: "AppHeader",
|
|
175
176
|
props: {
|
|
176
177
|
tabs: {},
|
|
@@ -179,9 +180,9 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
179
180
|
emits: ["tab-click"],
|
|
180
181
|
setup(__props) {
|
|
181
182
|
return (_ctx, _cache) => {
|
|
182
|
-
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Full-width background with constrained content "), createElementVNode("div", _hoisted_1$
|
|
183
|
+
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Full-width background with constrained content "), createElementVNode("div", _hoisted_1$57, [
|
|
183
184
|
createCommentVNode(" Tab navigation - only shown when tabs are provided "),
|
|
184
|
-
__props.tabs.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
185
|
+
__props.tabs.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$52, [createElementVNode("div", _hoisted_3$49, [createVNode(AppTabNavigation_default, {
|
|
185
186
|
tabs: __props.tabs,
|
|
186
187
|
"active-tab": __props.activeTab,
|
|
187
188
|
onTabClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("tab-click", $event))
|
|
@@ -200,19 +201,19 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
200
201
|
};
|
|
201
202
|
}
|
|
202
203
|
});
|
|
203
|
-
var AppHeader_default = _sfc_main$
|
|
204
|
+
var AppHeader_default = _sfc_main$63;
|
|
204
205
|
|
|
205
206
|
//#endregion
|
|
206
207
|
//#region src/components/BaseModal.vue
|
|
207
|
-
const _hoisted_1$
|
|
208
|
-
const _hoisted_2$
|
|
208
|
+
const _hoisted_1$56 = { class: "modal-box max-w-md w-full max-h-[90vh] flex flex-col p-0" };
|
|
209
|
+
const _hoisted_2$51 = { class: "flex justify-between items-center p-6 pb-4 border-b border-base-300 flex-shrink-0" };
|
|
209
210
|
const _hoisted_3$48 = { class: "font-bold text-lg" };
|
|
210
211
|
const _hoisted_4$42 = { class: "modal-content flex-1 overflow-y-auto p-6" };
|
|
211
|
-
const _hoisted_5$
|
|
212
|
+
const _hoisted_5$32 = {
|
|
212
213
|
method: "dialog",
|
|
213
214
|
class: "modal-backdrop"
|
|
214
215
|
};
|
|
215
|
-
const _sfc_main$
|
|
216
|
+
const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
216
217
|
__name: "BaseModal",
|
|
217
218
|
props: {
|
|
218
219
|
isOpen: { type: Boolean },
|
|
@@ -235,9 +236,9 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
235
236
|
ref_key: "modal",
|
|
236
237
|
ref: modal,
|
|
237
238
|
class: "modal"
|
|
238
|
-
}, [createElementVNode("div", _hoisted_1$
|
|
239
|
+
}, [createElementVNode("div", _hoisted_1$56, [
|
|
239
240
|
createCommentVNode(" Header with title and close button - fixed, not scrollable "),
|
|
240
|
-
createElementVNode("div", _hoisted_2$
|
|
241
|
+
createElementVNode("div", _hoisted_2$51, [createElementVNode("h3", _hoisted_3$48, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])]), createElementVNode("button", {
|
|
241
242
|
type: "button",
|
|
242
243
|
class: "btn btn-sm btn-circle btn-ghost",
|
|
243
244
|
onClick: withModifiers(handleClose, ["prevent"]),
|
|
@@ -256,23 +257,23 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
256
257
|
})], -1)])])]),
|
|
257
258
|
createCommentVNode(" Content slot - scrollable area "),
|
|
258
259
|
createElementVNode("div", _hoisted_4$42, [renderSlot(_ctx.$slots, "default")])
|
|
259
|
-
]), createElementVNode("form", _hoisted_5$
|
|
260
|
+
]), createElementVNode("form", _hoisted_5$32, [createElementVNode("button", {
|
|
260
261
|
type: "button",
|
|
261
262
|
onClick: withModifiers(handleClose, ["prevent"])
|
|
262
263
|
}, "close")])], 512);
|
|
263
264
|
};
|
|
264
265
|
}
|
|
265
266
|
});
|
|
266
|
-
var BaseModal_default = _sfc_main$
|
|
267
|
+
var BaseModal_default = _sfc_main$62;
|
|
267
268
|
|
|
268
269
|
//#endregion
|
|
269
270
|
//#region src/components/InputModal.vue
|
|
270
|
-
const _hoisted_1$
|
|
271
|
-
const _hoisted_2$
|
|
271
|
+
const _hoisted_1$55 = { class: "modal-box" };
|
|
272
|
+
const _hoisted_2$50 = { class: "font-bold text-lg" };
|
|
272
273
|
const _hoisted_3$47 = { class: "py-4" };
|
|
273
274
|
const _hoisted_4$41 = { class: "form-control w-full" };
|
|
274
|
-
const _hoisted_5$
|
|
275
|
-
const _hoisted_6$
|
|
275
|
+
const _hoisted_5$31 = { class: "label" };
|
|
276
|
+
const _hoisted_6$26 = { class: "label-text" };
|
|
276
277
|
const _hoisted_7$21 = ["placeholder"];
|
|
277
278
|
const _hoisted_8$21 = {
|
|
278
279
|
key: 0,
|
|
@@ -282,7 +283,7 @@ const _hoisted_9$20 = { class: "label-text-alt text-error" };
|
|
|
282
283
|
const _hoisted_10$17 = { class: "modal-action" };
|
|
283
284
|
const _hoisted_11$16 = ["disabled"];
|
|
284
285
|
const _hoisted_12$14 = ["disabled"];
|
|
285
|
-
const _sfc_main$
|
|
286
|
+
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
286
287
|
__name: "InputModal",
|
|
287
288
|
props: {
|
|
288
289
|
modelValue: { type: Boolean },
|
|
@@ -332,10 +333,10 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
332
333
|
inputValue.value = "";
|
|
333
334
|
};
|
|
334
335
|
return (_ctx, _cache) => {
|
|
335
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["modal", { "modal-open": __props.modelValue }]) }, [createElementVNode("div", _hoisted_1$
|
|
336
|
-
createElementVNode("h3", _hoisted_2$
|
|
336
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["modal", { "modal-open": __props.modelValue }]) }, [createElementVNode("div", _hoisted_1$55, [
|
|
337
|
+
createElementVNode("h3", _hoisted_2$50, toDisplayString(__props.title), 1),
|
|
337
338
|
createElementVNode("div", _hoisted_3$47, [createElementVNode("label", _hoisted_4$41, [
|
|
338
|
-
createElementVNode("div", _hoisted_5$
|
|
339
|
+
createElementVNode("div", _hoisted_5$31, [createElementVNode("span", _hoisted_6$26, toDisplayString(__props.label), 1)]),
|
|
339
340
|
withDirectives(createElementVNode("input", {
|
|
340
341
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
341
342
|
type: "text",
|
|
@@ -363,11 +364,11 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
363
364
|
};
|
|
364
365
|
}
|
|
365
366
|
});
|
|
366
|
-
var InputModal_default = _sfc_main$
|
|
367
|
+
var InputModal_default = _sfc_main$61;
|
|
367
368
|
|
|
368
369
|
//#endregion
|
|
369
370
|
//#region src/components/LoginButton.vue
|
|
370
|
-
const _sfc_main$
|
|
371
|
+
const _sfc_main$60 = {};
|
|
371
372
|
function _sfc_render(_ctx, _cache) {
|
|
372
373
|
const _component_router_link = resolveComponent("router-link");
|
|
373
374
|
return openBlock(), createBlock(_component_router_link, { to: "/auth/login" }, {
|
|
@@ -375,11 +376,11 @@ function _sfc_render(_ctx, _cache) {
|
|
|
375
376
|
_: 1
|
|
376
377
|
});
|
|
377
378
|
}
|
|
378
|
-
var LoginButton_default = /* @__PURE__ */ export_helper_default(_sfc_main$
|
|
379
|
+
var LoginButton_default = /* @__PURE__ */ export_helper_default(_sfc_main$60, [["render", _sfc_render]]);
|
|
379
380
|
|
|
380
381
|
//#endregion
|
|
381
382
|
//#region src/components/ui/LogoPlaceholder.vue
|
|
382
|
-
const _sfc_main$
|
|
383
|
+
const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
383
384
|
__name: "LogoPlaceholder",
|
|
384
385
|
props: { size: { default: "md" } },
|
|
385
386
|
setup(__props) {
|
|
@@ -388,16 +389,16 @@ const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
|
388
389
|
};
|
|
389
390
|
}
|
|
390
391
|
});
|
|
391
|
-
var LogoPlaceholder_default = _sfc_main$
|
|
392
|
+
var LogoPlaceholder_default = _sfc_main$59;
|
|
392
393
|
|
|
393
394
|
//#endregion
|
|
394
395
|
//#region src/components/Navbar.vue
|
|
395
|
-
const _hoisted_1$
|
|
396
|
-
const _hoisted_2$
|
|
396
|
+
const _hoisted_1$54 = { class: "sticky top-0 flex h-16 w-full justify-center border-b-2 border-solid border-b-base-300 bg-base-200 bg-opacity-90 text-base-content shadow-xs z-10" };
|
|
397
|
+
const _hoisted_2$49 = { class: "navbar w-full" };
|
|
397
398
|
const _hoisted_3$46 = { class: "flex flex-1 md:gap-1 lg:gap-2" };
|
|
398
399
|
const _hoisted_4$40 = { class: "items-center gap-2 flex" };
|
|
399
|
-
const _hoisted_5$
|
|
400
|
-
const _hoisted_6$
|
|
400
|
+
const _hoisted_5$30 = { class: "font-title inline-flex text-lg text-primary transition-all duration-200 md:text-3xl" };
|
|
401
|
+
const _hoisted_6$25 = ["src"];
|
|
401
402
|
const _hoisted_7$20 = {
|
|
402
403
|
key: 0,
|
|
403
404
|
class: "hidden md:flex items-center ml-4"
|
|
@@ -433,7 +434,7 @@ const _hoisted_17$8 = {
|
|
|
433
434
|
class: "btn-ghost btn-circle avatar btn placeholder",
|
|
434
435
|
id: "right-nav-label"
|
|
435
436
|
};
|
|
436
|
-
const _sfc_main$
|
|
437
|
+
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
437
438
|
__name: "Navbar",
|
|
438
439
|
props: {
|
|
439
440
|
breadcrumbs: {},
|
|
@@ -447,7 +448,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
447
448
|
loading.value = false;
|
|
448
449
|
return (_ctx, _cache) => {
|
|
449
450
|
const _component_router_link = resolveComponent("router-link");
|
|
450
|
-
return openBlock(), createElementBlock("header", _hoisted_1$
|
|
451
|
+
return openBlock(), createElementBlock("header", _hoisted_1$54, [createElementVNode("nav", _hoisted_2$49, [createElementVNode("div", _hoisted_3$46, [_cache[3] || (_cache[3] = createElementVNode("label", {
|
|
451
452
|
for: "drawer",
|
|
452
453
|
class: "btn-ghost drawer-button btn-square btn"
|
|
453
454
|
}, [createElementVNode("svg", {
|
|
@@ -467,7 +468,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
467
468
|
"aria-current": "page",
|
|
468
469
|
"aria-label": "Homepage"
|
|
469
470
|
}, {
|
|
470
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_5$
|
|
471
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_5$30, [!__props.logoSrc || imageLoadFailed.value ? (openBlock(), createBlock(LogoPlaceholder_default, {
|
|
471
472
|
key: 0,
|
|
472
473
|
size: "xs"
|
|
473
474
|
})) : (openBlock(), createElementBlock("img", {
|
|
@@ -476,7 +477,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
476
477
|
alt: "logo",
|
|
477
478
|
class: "h-10 w-10 md:h-12 md:w-12",
|
|
478
479
|
onError: _cache[0] || (_cache[0] = ($event) => imageLoadFailed.value = true)
|
|
479
|
-
}, null, 40, _hoisted_6$
|
|
480
|
+
}, null, 40, _hoisted_6$25))])]),
|
|
480
481
|
_: 1
|
|
481
482
|
}),
|
|
482
483
|
createCommentVNode(" Breadcrumbs in navbar - Desktop view "),
|
|
@@ -523,14 +524,14 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
523
524
|
};
|
|
524
525
|
}
|
|
525
526
|
});
|
|
526
|
-
var Navbar_default = _sfc_main$
|
|
527
|
+
var Navbar_default = _sfc_main$58;
|
|
527
528
|
|
|
528
529
|
//#endregion
|
|
529
530
|
//#region src/components/NotFound.vue
|
|
530
|
-
const _hoisted_1$
|
|
531
|
-
const _hoisted_2$
|
|
531
|
+
const _hoisted_1$53 = { class: "flex items-center justify-center bg-base-100 mt-4" };
|
|
532
|
+
const _hoisted_2$48 = { class: "max-w-md mx-auto text-center px-4" };
|
|
532
533
|
const _hoisted_3$45 = { class: "flex flex-col sm:flex-row gap-4 justify-center" };
|
|
533
|
-
const _sfc_main$
|
|
534
|
+
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
534
535
|
__name: "NotFound",
|
|
535
536
|
setup(__props) {
|
|
536
537
|
const router = useRouter();
|
|
@@ -540,7 +541,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
540
541
|
};
|
|
541
542
|
return (_ctx, _cache) => {
|
|
542
543
|
const _component_router_link = resolveComponent("router-link");
|
|
543
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
544
|
+
return openBlock(), createElementBlock("div", _hoisted_1$53, [createElementVNode("div", _hoisted_2$48, [_cache[1] || (_cache[1] = createElementVNode("div", { class: "mb-8" }, [
|
|
544
545
|
createElementVNode("h1", { class: "text-9xl font-bold text-primary mb-4" }, "404"),
|
|
545
546
|
createElementVNode("h2", { class: "text-3xl font-bold mb-4" }, "Page Not Found"),
|
|
546
547
|
createElementVNode("p", { class: "text-base-content/70 mb-8" }, " Sorry, we couldn't find the page you're looking for. The page may have been moved, deleted, or the URL might be incorrect. ")
|
|
@@ -557,15 +558,15 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
557
558
|
};
|
|
558
559
|
}
|
|
559
560
|
});
|
|
560
|
-
var NotFound_default = _sfc_main$
|
|
561
|
+
var NotFound_default = _sfc_main$57;
|
|
561
562
|
|
|
562
563
|
//#endregion
|
|
563
564
|
//#region src/components/RightSidebar.vue
|
|
564
|
-
const _hoisted_1$
|
|
565
|
-
const _hoisted_2$
|
|
565
|
+
const _hoisted_1$52 = { class: "drawer-side z-50" };
|
|
566
|
+
const _hoisted_2$47 = { class: "menu p-3 w-80 h-full bg-base-200 text-base-content" };
|
|
566
567
|
const _hoisted_3$44 = { class: "flex pb-2" };
|
|
567
568
|
const _hoisted_4$39 = { class: "pl-3" };
|
|
568
|
-
const _sfc_main$
|
|
569
|
+
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
569
570
|
__name: "RightSidebar",
|
|
570
571
|
setup(__props) {
|
|
571
572
|
const userSession = useUserSessionStore();
|
|
@@ -579,10 +580,10 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
579
580
|
type: "checkbox",
|
|
580
581
|
class: "drawer-toggle",
|
|
581
582
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(checked) ? checked.value = $event : checked = $event)
|
|
582
|
-
}, null, 512), [[vModelCheckbox, unref(checked)]]), createElementVNode("div", _hoisted_1$
|
|
583
|
+
}, null, 512), [[vModelCheckbox, unref(checked)]]), createElementVNode("div", _hoisted_1$52, [_cache[7] || (_cache[7] = createElementVNode("label", {
|
|
583
584
|
for: "my-drawer-4",
|
|
584
585
|
class: "drawer-overlay"
|
|
585
|
-
}, null, -1)), createElementVNode("ul", _hoisted_2$
|
|
586
|
+
}, null, -1)), createElementVNode("ul", _hoisted_2$47, [
|
|
586
587
|
createElementVNode("div", _hoisted_3$44, [
|
|
587
588
|
_cache[1] || (_cache[1] = createElementVNode("div", { class: "avatar placeholder" }, [createElementVNode("div", { class: "bg-neutral-focus text-neutral-content w-10 h-10 rounded-full" }, [createElementVNode("span", null, "U")])], -1)),
|
|
588
589
|
createElementVNode("label", _hoisted_4$39, toDisplayString(unref(userSession).currentSession?.user?.username), 1),
|
|
@@ -605,7 +606,7 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
605
606
|
};
|
|
606
607
|
}
|
|
607
608
|
});
|
|
608
|
-
var RightSidebar_default = _sfc_main$
|
|
609
|
+
var RightSidebar_default = _sfc_main$56;
|
|
609
610
|
|
|
610
611
|
//#endregion
|
|
611
612
|
//#region src/composables/useBuildTag.ts
|
|
@@ -702,7 +703,7 @@ function useInjectedPinnedPresets() {
|
|
|
702
703
|
|
|
703
704
|
//#endregion
|
|
704
705
|
//#region src/components/Sidebar.vue
|
|
705
|
-
const _hoisted_1$
|
|
706
|
+
const _hoisted_1$51 = {
|
|
706
707
|
class: "drawer-side z-50",
|
|
707
708
|
style: {
|
|
708
709
|
"scroll-behavior": "smooth",
|
|
@@ -710,11 +711,11 @@ const _hoisted_1$52 = {
|
|
|
710
711
|
},
|
|
711
712
|
ref: "drawersidebar"
|
|
712
713
|
};
|
|
713
|
-
const _hoisted_2$
|
|
714
|
+
const _hoisted_2$46 = { class: "w-80 bg-base-200 h-full flex flex-col" };
|
|
714
715
|
const _hoisted_3$43 = { class: "flex-1 overflow-y-auto overflow-x-hidden min-h-0" };
|
|
715
716
|
const _hoisted_4$38 = { class: "menu p-3 w-full text-base-content" };
|
|
716
|
-
const _hoisted_5$
|
|
717
|
-
const _hoisted_6$
|
|
717
|
+
const _hoisted_5$29 = { class: "flex" };
|
|
718
|
+
const _hoisted_6$24 = { class: "font-title inline-flex text-2xl text-primary transition-all duration-200" };
|
|
718
719
|
const _hoisted_7$19 = ["src"];
|
|
719
720
|
const _hoisted_8$19 = {
|
|
720
721
|
key: 0,
|
|
@@ -723,7 +724,7 @@ const _hoisted_8$19 = {
|
|
|
723
724
|
const _hoisted_9$18 = { class: "menu-title" };
|
|
724
725
|
const _hoisted_10$15 = { class: "flex flex-col items-center justify-center w-full h-16" };
|
|
725
726
|
const _hoisted_11$14 = { class: "text-xs text-neutral-500" };
|
|
726
|
-
const _sfc_main$
|
|
727
|
+
const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
727
728
|
__name: "Sidebar",
|
|
728
729
|
props: { logoSrc: {} },
|
|
729
730
|
setup(__props) {
|
|
@@ -764,12 +765,12 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
764
765
|
}
|
|
765
766
|
return (_ctx, _cache) => {
|
|
766
767
|
const _component_router_link = resolveComponent("router-link");
|
|
767
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
768
|
+
return openBlock(), createElementBlock("div", _hoisted_1$51, [_cache[3] || (_cache[3] = createElementVNode("label", {
|
|
768
769
|
for: "drawer",
|
|
769
770
|
class: "drawer-overlay"
|
|
770
|
-
}, null, -1)), createElementVNode("aside", _hoisted_2$
|
|
771
|
-
createElementVNode("div", _hoisted_5$
|
|
772
|
-
createElementVNode("div", _hoisted_6$
|
|
771
|
+
}, null, -1)), createElementVNode("aside", _hoisted_2$46, [createElementVNode("div", _hoisted_3$43, [createElementVNode("ul", _hoisted_4$38, [
|
|
772
|
+
createElementVNode("div", _hoisted_5$29, [
|
|
773
|
+
createElementVNode("div", _hoisted_6$24, [renderSlot(_ctx.$slots, "logo", {}, () => [!__props.logoSrc || imageLoadFailed.value ? (openBlock(), createBlock(LogoPlaceholder_default, {
|
|
773
774
|
key: 0,
|
|
774
775
|
size: "sm"
|
|
775
776
|
})) : (openBlock(), createElementBlock("img", {
|
|
@@ -819,7 +820,7 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
819
820
|
};
|
|
820
821
|
}
|
|
821
822
|
});
|
|
822
|
-
var Sidebar_default = _sfc_main$
|
|
823
|
+
var Sidebar_default = _sfc_main$55;
|
|
823
824
|
|
|
824
825
|
//#endregion
|
|
825
826
|
//#region src/composables/useEmailVerificationGuard.ts
|
|
@@ -842,13 +843,13 @@ function useEmailVerificationGuard() {
|
|
|
842
843
|
|
|
843
844
|
//#endregion
|
|
844
845
|
//#region src/components/UnverifiedEmailBanner.vue
|
|
845
|
-
const _hoisted_1$
|
|
846
|
+
const _hoisted_1$50 = {
|
|
846
847
|
key: 0,
|
|
847
848
|
class: "bg-warning/20 border border-warning/50 text-warning-content px-4 py-2 flex items-center justify-between gap-4"
|
|
848
849
|
};
|
|
849
|
-
const _hoisted_2$
|
|
850
|
+
const _hoisted_2$45 = { class: "text-sm" };
|
|
850
851
|
const _hoisted_3$42 = ["disabled"];
|
|
851
|
-
const _sfc_main$
|
|
852
|
+
const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
852
853
|
__name: "UnverifiedEmailBanner",
|
|
853
854
|
setup(__props) {
|
|
854
855
|
const { showVerificationPrompt } = useEmailVerificationGuard();
|
|
@@ -873,7 +874,7 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
873
874
|
}
|
|
874
875
|
};
|
|
875
876
|
return (_ctx, _cache) => {
|
|
876
|
-
return unref(showVerificationPrompt) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
877
|
+
return unref(showVerificationPrompt) ? (openBlock(), createElementBlock("div", _hoisted_1$50, [createElementVNode("p", _hoisted_2$45, [
|
|
877
878
|
_cache[0] || (_cache[0] = createTextVNode(" Please verify your email. Check your inbox or ", -1)),
|
|
878
879
|
createElementVNode("button", {
|
|
879
880
|
type: "button",
|
|
@@ -886,15 +887,15 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
886
887
|
};
|
|
887
888
|
}
|
|
888
889
|
});
|
|
889
|
-
var UnverifiedEmailBanner_default = _sfc_main$
|
|
890
|
+
var UnverifiedEmailBanner_default = _sfc_main$54;
|
|
890
891
|
|
|
891
892
|
//#endregion
|
|
892
893
|
//#region src/layouts/Admin.vue
|
|
893
|
-
const _hoisted_1$
|
|
894
|
-
const _hoisted_2$
|
|
894
|
+
const _hoisted_1$49 = { class: "drawer drawer-end" };
|
|
895
|
+
const _hoisted_2$44 = { class: "drawer h-[calc(100vh_-_64px_-_64px)] bg-base-100" };
|
|
895
896
|
const _hoisted_3$41 = { class: "drawer-content" };
|
|
896
897
|
const _hoisted_4$37 = { class: "pr-1 pl-1 md:pr-4 md:pl-4" };
|
|
897
|
-
const _sfc_main$
|
|
898
|
+
const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
898
899
|
__name: "Admin",
|
|
899
900
|
props: {
|
|
900
901
|
logoSrc: {},
|
|
@@ -902,7 +903,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
902
903
|
},
|
|
903
904
|
setup(__props) {
|
|
904
905
|
return (_ctx, _cache) => {
|
|
905
|
-
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$
|
|
906
|
+
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$49, [createVNode(RightSidebar_default)]), createElementVNode("div", _hoisted_2$44, [
|
|
906
907
|
_cache[0] || (_cache[0] = createElementVNode("input", {
|
|
907
908
|
id: "my-drawer-4",
|
|
908
909
|
type: "checkbox",
|
|
@@ -918,43 +919,73 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
918
919
|
};
|
|
919
920
|
}
|
|
920
921
|
});
|
|
921
|
-
var Admin_default = _sfc_main$
|
|
922
|
+
var Admin_default = _sfc_main$53;
|
|
922
923
|
|
|
923
924
|
//#endregion
|
|
924
925
|
//#region src/layouts/Auth.vue
|
|
925
|
-
const _hoisted_1$
|
|
926
|
-
const _hoisted_2$
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
926
|
+
const _hoisted_1$48 = { class: "m-4" };
|
|
927
|
+
const _hoisted_2$43 = {
|
|
928
|
+
key: 0,
|
|
929
|
+
class: "flex justify-center mb-2"
|
|
930
|
+
};
|
|
931
|
+
const _hoisted_3$40 = { class: "flex flex-wrap gap-4 text-sm" };
|
|
932
|
+
const _hoisted_4$36 = { class: "flex justify-center mb-6" };
|
|
933
|
+
const _hoisted_5$28 = ["src"];
|
|
934
|
+
const _hoisted_6$23 = { class: "min-h-screen bg-base-100 flex flex-col" };
|
|
935
|
+
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
930
936
|
__name: "Auth",
|
|
931
|
-
props: {
|
|
937
|
+
props: {
|
|
938
|
+
logoSrc: {},
|
|
939
|
+
backLinks: {}
|
|
940
|
+
},
|
|
932
941
|
setup(__props) {
|
|
942
|
+
const props = __props;
|
|
943
|
+
const route = useRoute();
|
|
933
944
|
const imageLoadFailed = ref(false);
|
|
945
|
+
const backLinks = computed(() => {
|
|
946
|
+
const fromQuery = getBackLinkFromRoute(route);
|
|
947
|
+
if (fromQuery) return [fromQuery];
|
|
948
|
+
const fromProps = props.backLinks;
|
|
949
|
+
return !fromProps ? [] : Array.isArray(fromProps) ? fromProps : [fromProps];
|
|
950
|
+
});
|
|
951
|
+
const hasBackLinks = computed(() => backLinks.value.length > 0);
|
|
934
952
|
return (_ctx, _cache) => {
|
|
935
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
953
|
+
return openBlock(), createElementBlock("div", _hoisted_1$48, [
|
|
954
|
+
hasBackLinks.value ? (openBlock(), createElementBlock("div", _hoisted_2$43, [createElementVNode("nav", _hoisted_3$40, [(openBlock(true), createElementBlock(Fragment, null, renderList(backLinks.value, (link, i) => {
|
|
955
|
+
return openBlock(), createBlock(AppLink_default, {
|
|
956
|
+
key: i,
|
|
957
|
+
to: link.to,
|
|
958
|
+
class: "link link-hover"
|
|
959
|
+
}, {
|
|
960
|
+
default: withCtx(() => [createTextVNode(toDisplayString(link.label ?? "Back to site"), 1)]),
|
|
961
|
+
_: 2
|
|
962
|
+
}, 1032, ["to"]);
|
|
963
|
+
}), 128))])])) : createCommentVNode("v-if", true),
|
|
964
|
+
createElementVNode("div", _hoisted_4$36, [renderSlot(_ctx.$slots, "logo", {}, () => [!__props.logoSrc || imageLoadFailed.value ? (openBlock(), createBlock(LogoPlaceholder_default, {
|
|
965
|
+
key: 0,
|
|
966
|
+
size: "md"
|
|
967
|
+
})) : (openBlock(), createElementBlock("img", {
|
|
968
|
+
key: 1,
|
|
969
|
+
src: __props.logoSrc,
|
|
970
|
+
alt: "logo",
|
|
971
|
+
class: "h-24",
|
|
972
|
+
onError: _cache[0] || (_cache[0] = ($event) => imageLoadFailed.value = true)
|
|
973
|
+
}, null, 40, _hoisted_5$28))])]),
|
|
974
|
+
createElementVNode("div", _hoisted_6$23, [createVNode(unref(RouterView))])
|
|
975
|
+
]);
|
|
945
976
|
};
|
|
946
977
|
}
|
|
947
978
|
});
|
|
948
|
-
var Auth_default = _sfc_main$
|
|
979
|
+
var Auth_default = _sfc_main$52;
|
|
949
980
|
|
|
950
981
|
//#endregion
|
|
951
982
|
//#region src/layouts/Default.vue
|
|
952
|
-
const _hoisted_1$
|
|
953
|
-
const _sfc_main$
|
|
983
|
+
const _hoisted_1$47 = { class: "m-4" };
|
|
984
|
+
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
954
985
|
__name: "Default",
|
|
955
986
|
setup(__props) {
|
|
956
987
|
return (_ctx, _cache) => {
|
|
957
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
988
|
+
return openBlock(), createElementBlock("div", _hoisted_1$47, [createVNode(AppLink_default, {
|
|
958
989
|
to: "/auth/login",
|
|
959
990
|
"aria-current": "page",
|
|
960
991
|
"aria-label": "Homepage",
|
|
@@ -966,19 +997,19 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
966
997
|
};
|
|
967
998
|
}
|
|
968
999
|
});
|
|
969
|
-
var Default_default = _sfc_main$
|
|
1000
|
+
var Default_default = _sfc_main$51;
|
|
970
1001
|
|
|
971
1002
|
//#endregion
|
|
972
1003
|
//#region src/layouts/InApp.vue
|
|
973
|
-
const _hoisted_1$
|
|
974
|
-
const _hoisted_2$
|
|
1004
|
+
const _hoisted_1$46 = { class: "drawer drawer-end" };
|
|
1005
|
+
const _hoisted_2$42 = { class: "drawer h-[calc(100vh_)]" };
|
|
975
1006
|
const _hoisted_3$39 = { class: "drawer-content flex flex-col" };
|
|
976
1007
|
const _hoisted_4$35 = {
|
|
977
1008
|
key: 0,
|
|
978
1009
|
class: "z-20"
|
|
979
1010
|
};
|
|
980
1011
|
const _hoisted_5$27 = { class: "flex-1 px-3 sm:px-4 md:px-6 pb-4" };
|
|
981
|
-
const _sfc_main$
|
|
1012
|
+
const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
982
1013
|
__name: "InApp",
|
|
983
1014
|
props: {
|
|
984
1015
|
logoSrc: {},
|
|
@@ -1041,10 +1072,10 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
1041
1072
|
return route.meta.currentTab || "";
|
|
1042
1073
|
});
|
|
1043
1074
|
return (_ctx, _cache) => {
|
|
1044
|
-
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Right sidebar drawer "), createElementVNode("div", _hoisted_1$
|
|
1075
|
+
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Right sidebar drawer "), createElementVNode("div", _hoisted_1$46, [
|
|
1045
1076
|
createVNode(RightSidebar_default),
|
|
1046
1077
|
createCommentVNode(" Left sidebar drawer "),
|
|
1047
|
-
createElementVNode("div", _hoisted_2$
|
|
1078
|
+
createElementVNode("div", _hoisted_2$42, [
|
|
1048
1079
|
_cache[0] || (_cache[0] = createElementVNode("input", {
|
|
1049
1080
|
id: "drawer",
|
|
1050
1081
|
type: "checkbox",
|
|
@@ -1077,14 +1108,14 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
1077
1108
|
};
|
|
1078
1109
|
}
|
|
1079
1110
|
});
|
|
1080
|
-
var InApp_default = _sfc_main$
|
|
1111
|
+
var InApp_default = _sfc_main$50;
|
|
1081
1112
|
|
|
1082
1113
|
//#endregion
|
|
1083
1114
|
//#region src/components/ui/FieldDisplay.vue
|
|
1084
|
-
const _hoisted_1$
|
|
1085
|
-
const _hoisted_2$
|
|
1115
|
+
const _hoisted_1$45 = { class: "label" };
|
|
1116
|
+
const _hoisted_2$41 = { class: "label-text font-medium" };
|
|
1086
1117
|
const _hoisted_3$38 = { class: "text-base-content" };
|
|
1087
|
-
const _sfc_main$
|
|
1118
|
+
const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
1088
1119
|
__name: "FieldDisplay",
|
|
1089
1120
|
props: {
|
|
1090
1121
|
label: {},
|
|
@@ -1093,33 +1124,33 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
1093
1124
|
},
|
|
1094
1125
|
setup(__props) {
|
|
1095
1126
|
return (_ctx, _cache) => {
|
|
1096
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["form-control", { "md:col-span-2": __props.fullWidth }]) }, [createElementVNode("label", _hoisted_1$
|
|
1127
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["form-control", { "md:col-span-2": __props.fullWidth }]) }, [createElementVNode("label", _hoisted_1$45, [createElementVNode("span", _hoisted_2$41, toDisplayString(__props.label), 1)]), createElementVNode("div", _hoisted_3$38, toDisplayString(__props.value ?? "-"), 1)], 2);
|
|
1097
1128
|
};
|
|
1098
1129
|
}
|
|
1099
1130
|
});
|
|
1100
|
-
var FieldDisplay_default = _sfc_main$
|
|
1131
|
+
var FieldDisplay_default = _sfc_main$49;
|
|
1101
1132
|
|
|
1102
1133
|
//#endregion
|
|
1103
1134
|
//#region src/components/ui/FieldGroup.vue
|
|
1104
|
-
const _hoisted_1$
|
|
1105
|
-
const _hoisted_2$
|
|
1135
|
+
const _hoisted_1$44 = { class: "card bg-base-100 shadow-sm" };
|
|
1136
|
+
const _hoisted_2$40 = { class: "card-body" };
|
|
1106
1137
|
const _hoisted_3$37 = { class: "card-title text-lg mb-4" };
|
|
1107
1138
|
const _hoisted_4$34 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" };
|
|
1108
|
-
const _sfc_main$
|
|
1139
|
+
const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
1109
1140
|
__name: "FieldGroup",
|
|
1110
1141
|
props: { title: {} },
|
|
1111
1142
|
setup(__props) {
|
|
1112
1143
|
return (_ctx, _cache) => {
|
|
1113
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1144
|
+
return openBlock(), createElementBlock("div", _hoisted_1$44, [createElementVNode("div", _hoisted_2$40, [createElementVNode("h2", _hoisted_3$37, toDisplayString(__props.title), 1), createElementVNode("div", _hoisted_4$34, [renderSlot(_ctx.$slots, "default")])])]);
|
|
1114
1145
|
};
|
|
1115
1146
|
}
|
|
1116
1147
|
});
|
|
1117
|
-
var FieldGroup_default = _sfc_main$
|
|
1148
|
+
var FieldGroup_default = _sfc_main$48;
|
|
1118
1149
|
|
|
1119
1150
|
//#endregion
|
|
1120
1151
|
//#region src/components/ui/FileManager.vue
|
|
1121
|
-
const _hoisted_1$
|
|
1122
|
-
const _hoisted_2$
|
|
1152
|
+
const _hoisted_1$43 = { class: "w-full px-2 sm:px-0" };
|
|
1153
|
+
const _hoisted_2$39 = { class: "mb-4" };
|
|
1123
1154
|
const _hoisted_3$36 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-3 mb-3" };
|
|
1124
1155
|
const _hoisted_4$33 = { class: "text-lg font-medium" };
|
|
1125
1156
|
const _hoisted_5$26 = { class: "flex gap-2 sm:hidden" };
|
|
@@ -1239,7 +1270,7 @@ const _hoisted_68 = { class: "flex items-center gap-2" };
|
|
|
1239
1270
|
const _hoisted_69 = { class: "font-medium" };
|
|
1240
1271
|
const _hoisted_70 = { class: "text-base-content/70" };
|
|
1241
1272
|
const DEFAULT_MAX_FILE_SIZE = 50 * 1024 * 1024;
|
|
1242
|
-
const _sfc_main$
|
|
1273
|
+
const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
1243
1274
|
__name: "FileManager",
|
|
1244
1275
|
props: {
|
|
1245
1276
|
recordId: {},
|
|
@@ -1611,9 +1642,9 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
1611
1642
|
return "badge-neutral";
|
|
1612
1643
|
};
|
|
1613
1644
|
return (_ctx, _cache) => {
|
|
1614
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1645
|
+
return openBlock(), createElementBlock("div", _hoisted_1$43, [
|
|
1615
1646
|
createCommentVNode(" File Manager Header "),
|
|
1616
|
-
createElementVNode("div", _hoisted_2$
|
|
1647
|
+
createElementVNode("div", _hoisted_2$39, [
|
|
1617
1648
|
createCommentVNode(" Mobile: Stacked layout "),
|
|
1618
1649
|
createElementVNode("div", _hoisted_3$36, [
|
|
1619
1650
|
createElementVNode("h3", _hoisted_4$33, toDisplayString(config.value.title || "Attachments"), 1),
|
|
@@ -1954,12 +1985,12 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
1954
1985
|
};
|
|
1955
1986
|
}
|
|
1956
1987
|
});
|
|
1957
|
-
var FileManager_default = _sfc_main$
|
|
1988
|
+
var FileManager_default = _sfc_main$47;
|
|
1958
1989
|
|
|
1959
1990
|
//#endregion
|
|
1960
1991
|
//#region src/components/ui/KeyValueEditor.vue
|
|
1961
|
-
const _hoisted_1$
|
|
1962
|
-
const _hoisted_2$
|
|
1992
|
+
const _hoisted_1$42 = { class: "key-value-editor col-span-full" };
|
|
1993
|
+
const _hoisted_2$38 = {
|
|
1963
1994
|
key: 0,
|
|
1964
1995
|
class: "mb-2"
|
|
1965
1996
|
};
|
|
@@ -1994,7 +2025,7 @@ const _hoisted_13$9 = {
|
|
|
1994
2025
|
key: 2,
|
|
1995
2026
|
class: "text-center py-4 text-base-content/60"
|
|
1996
2027
|
};
|
|
1997
|
-
const _sfc_main$
|
|
2028
|
+
const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
1998
2029
|
__name: "KeyValueEditor",
|
|
1999
2030
|
props: {
|
|
2000
2031
|
modelValue: { default: null },
|
|
@@ -2073,8 +2104,8 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
2073
2104
|
pair[field] = value;
|
|
2074
2105
|
};
|
|
2075
2106
|
return (_ctx, _cache) => {
|
|
2076
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2077
|
-
__props.label || __props.helpText ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2107
|
+
return openBlock(), createElementBlock("div", _hoisted_1$42, [
|
|
2108
|
+
__props.label || __props.helpText ? (openBlock(), createElementBlock("div", _hoisted_2$38, [__props.label ? (openBlock(), createElementBlock("label", _hoisted_3$35, [createElementVNode("span", _hoisted_4$32, toDisplayString(__props.label), 1)])) : createCommentVNode("v-if", true), __props.helpText ? (openBlock(), createElementBlock("p", _hoisted_5$25, toDisplayString(__props.helpText), 1)) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true),
|
|
2078
2109
|
__props.error ? (openBlock(), createElementBlock("div", _hoisted_6$21, toDisplayString(__props.error), 1)) : createCommentVNode("v-if", true),
|
|
2079
2110
|
createElementVNode("div", _hoisted_7$17, [
|
|
2080
2111
|
createCommentVNode(" Key-Value Pairs List "),
|
|
@@ -2140,20 +2171,20 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
2140
2171
|
};
|
|
2141
2172
|
}
|
|
2142
2173
|
});
|
|
2143
|
-
var KeyValueEditor_default = /* @__PURE__ */ export_helper_default(_sfc_main$
|
|
2174
|
+
var KeyValueEditor_default = /* @__PURE__ */ export_helper_default(_sfc_main$46, [["__scopeId", "data-v-010818ef"]]);
|
|
2144
2175
|
|
|
2145
2176
|
//#endregion
|
|
2146
2177
|
//#region src/components/ui/LoadingErrorStates.vue
|
|
2147
|
-
const _hoisted_1$
|
|
2178
|
+
const _hoisted_1$41 = {
|
|
2148
2179
|
key: 0,
|
|
2149
2180
|
class: "text-center py-8"
|
|
2150
2181
|
};
|
|
2151
|
-
const _hoisted_2$
|
|
2182
|
+
const _hoisted_2$37 = { class: "text-base-content/70 mt-2" };
|
|
2152
2183
|
const _hoisted_3$34 = { class: "text-center py-8" };
|
|
2153
2184
|
const _hoisted_4$31 = { class: "alert alert-error max-w-md mx-auto" };
|
|
2154
2185
|
const _hoisted_5$24 = { class: "font-bold" };
|
|
2155
2186
|
const _hoisted_6$20 = { class: "text-sm" };
|
|
2156
|
-
const _sfc_main$
|
|
2187
|
+
const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
2157
2188
|
__name: "LoadingErrorStates",
|
|
2158
2189
|
props: {
|
|
2159
2190
|
isLoading: { type: Boolean },
|
|
@@ -2173,7 +2204,7 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
2173
2204
|
emit("retry");
|
|
2174
2205
|
}
|
|
2175
2206
|
return (_ctx, _cache) => {
|
|
2176
|
-
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Loading State "), __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2207
|
+
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Loading State "), __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$41, [renderSlot(_ctx.$slots, "loading", {}, () => [_cache[0] || (_cache[0] = createElementVNode("div", { class: "flex justify-center" }, [createElementVNode("span", { class: "loading loading-spinner loading-lg" })], -1)), createElementVNode("p", _hoisted_2$37, toDisplayString(config.value.loadingText || "Loading..."), 1)])])) : __props.error ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createCommentVNode(" Error State "), createElementVNode("div", _hoisted_3$34, [renderSlot(_ctx.$slots, "error", {
|
|
2177
2208
|
error: __props.error,
|
|
2178
2209
|
retry: handleRetry
|
|
2179
2210
|
}, () => [createElementVNode("div", _hoisted_4$31, [_cache[1] || (_cache[1] = createElementVNode("svg", {
|
|
@@ -2198,15 +2229,15 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
2198
2229
|
};
|
|
2199
2230
|
}
|
|
2200
2231
|
});
|
|
2201
|
-
var LoadingErrorStates_default = _sfc_main$
|
|
2232
|
+
var LoadingErrorStates_default = _sfc_main$45;
|
|
2202
2233
|
|
|
2203
2234
|
//#endregion
|
|
2204
2235
|
//#region src/components/ui/RecordChangesSummary.vue
|
|
2205
|
-
const _hoisted_1$
|
|
2236
|
+
const _hoisted_1$40 = {
|
|
2206
2237
|
key: 0,
|
|
2207
2238
|
class: "card bg-base-100 shadow-sm mb-4"
|
|
2208
2239
|
};
|
|
2209
|
-
const _hoisted_2$
|
|
2240
|
+
const _hoisted_2$36 = { class: "card-body p-3 sm:p-5" };
|
|
2210
2241
|
const _hoisted_3$33 = { class: "flex justify-between items-center" };
|
|
2211
2242
|
const _hoisted_4$30 = { class: "card-title text-base sm:text-lg" };
|
|
2212
2243
|
const _hoisted_5$23 = { key: 0 };
|
|
@@ -2225,7 +2256,7 @@ const _hoisted_17$6 = {
|
|
|
2225
2256
|
key: 1,
|
|
2226
2257
|
class: "mt-2 text-sm text-base-content/70"
|
|
2227
2258
|
};
|
|
2228
|
-
const _sfc_main$
|
|
2259
|
+
const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
2229
2260
|
__name: "RecordChangesSummary",
|
|
2230
2261
|
props: {
|
|
2231
2262
|
changedFields: {},
|
|
@@ -2264,7 +2295,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
2264
2295
|
return defaultValueFormatter(value);
|
|
2265
2296
|
}
|
|
2266
2297
|
return (_ctx, _cache) => {
|
|
2267
|
-
return __props.changedFields.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2298
|
+
return __props.changedFields.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$40, [createElementVNode("div", _hoisted_2$36, [createElementVNode("div", _hoisted_3$33, [createElementVNode("h2", _hoisted_4$30, toDisplayString(config.value.title || "Changes in This Version"), 1), createElementVNode("button", {
|
|
2268
2299
|
onClick: _cache[0] || (_cache[0] = ($event) => showChanges.value = !showChanges.value),
|
|
2269
2300
|
class: "btn btn-sm btn-info"
|
|
2270
2301
|
}, toDisplayString(showChanges.value ? config.value.hideText || "Hide Changes" : config.value.showText || "Show Changes"), 1)]), showChanges.value ? (openBlock(), createElementBlock("div", _hoisted_5$23, [
|
|
@@ -2291,12 +2322,12 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
2291
2322
|
};
|
|
2292
2323
|
}
|
|
2293
2324
|
});
|
|
2294
|
-
var RecordChangesSummary_default = _sfc_main$
|
|
2325
|
+
var RecordChangesSummary_default = _sfc_main$44;
|
|
2295
2326
|
|
|
2296
2327
|
//#endregion
|
|
2297
2328
|
//#region src/components/ui/RecordVersionList.vue
|
|
2298
|
-
const _hoisted_1$
|
|
2299
|
-
const _hoisted_2$
|
|
2329
|
+
const _hoisted_1$39 = { class: "space-y-4" };
|
|
2330
|
+
const _hoisted_2$35 = {
|
|
2300
2331
|
key: 0,
|
|
2301
2332
|
class: "space-y-4"
|
|
2302
2333
|
};
|
|
@@ -2324,7 +2355,7 @@ const _hoisted_16$6 = {
|
|
|
2324
2355
|
class: "text-center py-4"
|
|
2325
2356
|
};
|
|
2326
2357
|
const _hoisted_17$5 = ["disabled"];
|
|
2327
|
-
const _sfc_main$
|
|
2358
|
+
const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
2328
2359
|
__name: "RecordVersionList",
|
|
2329
2360
|
props: {
|
|
2330
2361
|
versions: {},
|
|
@@ -2393,7 +2424,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
2393
2424
|
}[operation] || "badge-neutral";
|
|
2394
2425
|
}
|
|
2395
2426
|
return (_ctx, _cache) => {
|
|
2396
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2427
|
+
return openBlock(), createElementBlock("div", _hoisted_1$39, [createCommentVNode(" Loading State "), __props.loading ? (openBlock(), createElementBlock("div", _hoisted_2$35, [(openBlock(), createElementBlock(Fragment, null, renderList(3, (i) => {
|
|
2397
2428
|
return createElementVNode("div", {
|
|
2398
2429
|
key: i,
|
|
2399
2430
|
class: "card bg-base-100 shadow-xs animate-pulse"
|
|
@@ -2452,12 +2483,12 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
2452
2483
|
};
|
|
2453
2484
|
}
|
|
2454
2485
|
});
|
|
2455
|
-
var RecordVersionList_default = _sfc_main$
|
|
2486
|
+
var RecordVersionList_default = _sfc_main$43;
|
|
2456
2487
|
|
|
2457
2488
|
//#endregion
|
|
2458
2489
|
//#region src/components/ui/RecordVersionViewer.vue
|
|
2459
|
-
const _hoisted_1$
|
|
2460
|
-
const _hoisted_2$
|
|
2490
|
+
const _hoisted_1$38 = { class: "sticky top-0 z-10 bg-base-100 shadow-sm" };
|
|
2491
|
+
const _hoisted_2$34 = { class: "flex justify-between items-center p-4 border-b" };
|
|
2461
2492
|
const _hoisted_3$31 = { class: "text-lg font-semibold" };
|
|
2462
2493
|
const _hoisted_4$28 = {
|
|
2463
2494
|
key: 0,
|
|
@@ -2493,7 +2524,7 @@ const _hoisted_19$4 = { class: "space-y-4" };
|
|
|
2493
2524
|
const _hoisted_20$4 = { class: "p-4 bg-base-100 rounded-lg shadow-sm" };
|
|
2494
2525
|
const _hoisted_21$3 = { class: "font-semibold mb-2" };
|
|
2495
2526
|
const _hoisted_22$3 = { class: "text-xs bg-base-200 p-3 rounded overflow-auto max-h-96" };
|
|
2496
|
-
const _sfc_main$
|
|
2527
|
+
const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
2497
2528
|
__name: "RecordVersionViewer",
|
|
2498
2529
|
props: {
|
|
2499
2530
|
version: {},
|
|
@@ -2547,11 +2578,11 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
2547
2578
|
return (_ctx, _cache) => {
|
|
2548
2579
|
return openBlock(), createElementBlock("div", null, [
|
|
2549
2580
|
createCommentVNode(" Version Header - sticky on mobile "),
|
|
2550
|
-
createElementVNode("div", _hoisted_1$
|
|
2581
|
+
createElementVNode("div", _hoisted_1$38, [renderSlot(_ctx.$slots, "header", {
|
|
2551
2582
|
version: __props.version,
|
|
2552
2583
|
isLoading: __props.isLoading,
|
|
2553
2584
|
isRestoring: __props.isRestoring
|
|
2554
|
-
}, () => [createCommentVNode(" Default header "), createElementVNode("div", _hoisted_2$
|
|
2585
|
+
}, () => [createCommentVNode(" Default header "), createElementVNode("div", _hoisted_2$34, [createElementVNode("div", null, [createElementVNode("h1", _hoisted_3$31, toDisplayString(config.value.title || `View ${config.value.recordDisplayName || "Record"} Version`), 1), __props.version ? (openBlock(), createElementBlock("div", _hoisted_4$28, toDisplayString(formatVersionInfo(__props.version)), 1)) : createCommentVNode("v-if", true)]), createElementVNode("div", _hoisted_5$21, [
|
|
2555
2586
|
createCommentVNode(" Back button "),
|
|
2556
2587
|
config.value.onBack ? (openBlock(), createElementBlock("button", {
|
|
2557
2588
|
key: 0,
|
|
@@ -2626,23 +2657,23 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
2626
2657
|
};
|
|
2627
2658
|
}
|
|
2628
2659
|
});
|
|
2629
|
-
var RecordVersionViewer_default = _sfc_main$
|
|
2660
|
+
var RecordVersionViewer_default = _sfc_main$42;
|
|
2630
2661
|
|
|
2631
2662
|
//#endregion
|
|
2632
2663
|
//#region src/components/ui/SummarySection.vue
|
|
2633
|
-
const _hoisted_1$
|
|
2634
|
-
const _hoisted_2$
|
|
2664
|
+
const _hoisted_1$37 = { class: "bg-base-100 p-2 md:p-4 rounded-box overflow-hidden" };
|
|
2665
|
+
const _hoisted_2$33 = { class: "text-lg font-bold mb-2" };
|
|
2635
2666
|
const _hoisted_3$30 = { class: "grid grid-auto-rows auto-rows-auto gap-x-4 gap-y-1" };
|
|
2636
|
-
const _sfc_main$
|
|
2667
|
+
const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
2637
2668
|
__name: "SummarySection",
|
|
2638
2669
|
props: { title: {} },
|
|
2639
2670
|
setup(__props) {
|
|
2640
2671
|
return (_ctx, _cache) => {
|
|
2641
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2672
|
+
return openBlock(), createElementBlock("div", _hoisted_1$37, [createElementVNode("h2", _hoisted_2$33, toDisplayString(__props.title), 1), createElementVNode("div", _hoisted_3$30, [renderSlot(_ctx.$slots, "default")])]);
|
|
2642
2673
|
};
|
|
2643
2674
|
}
|
|
2644
2675
|
});
|
|
2645
|
-
var SummarySection_default = _sfc_main$
|
|
2676
|
+
var SummarySection_default = _sfc_main$41;
|
|
2646
2677
|
|
|
2647
2678
|
//#endregion
|
|
2648
2679
|
//#region src/composables/useUserLookup.ts
|
|
@@ -3123,7 +3154,7 @@ const userRoutes = [{
|
|
|
3123
3154
|
{
|
|
3124
3155
|
path: "appearance",
|
|
3125
3156
|
name: "Appearance",
|
|
3126
|
-
component: () => import("./Appearance-
|
|
3157
|
+
component: () => import("./Appearance-CohgRf-_.js"),
|
|
3127
3158
|
meta: {
|
|
3128
3159
|
title: "Appearance",
|
|
3129
3160
|
description: "Appearance page for Category 5 App"
|
|
@@ -3132,7 +3163,7 @@ const userRoutes = [{
|
|
|
3132
3163
|
{
|
|
3133
3164
|
path: "profile",
|
|
3134
3165
|
name: "Profile",
|
|
3135
|
-
component: () => import("./UserProfilePage-
|
|
3166
|
+
component: () => import("./UserProfilePage-D52_Q5yf.js"),
|
|
3136
3167
|
meta: {
|
|
3137
3168
|
title: "Profile",
|
|
3138
3169
|
description: "Profile page for Category 5 App"
|
|
@@ -3141,7 +3172,7 @@ const userRoutes = [{
|
|
|
3141
3172
|
{
|
|
3142
3173
|
path: "password",
|
|
3143
3174
|
name: "Password",
|
|
3144
|
-
component: () => import("./ChangePasswordPage-
|
|
3175
|
+
component: () => import("./ChangePasswordPage-DqnWhaUa.js"),
|
|
3145
3176
|
meta: {
|
|
3146
3177
|
title: "Password",
|
|
3147
3178
|
description: "Password page for Category 5 App"
|
|
@@ -3225,7 +3256,7 @@ const teamMemberRoutes = [
|
|
|
3225
3256
|
{
|
|
3226
3257
|
path: teamMemberPaths.list.path,
|
|
3227
3258
|
name: teamMemberPaths.list.name,
|
|
3228
|
-
component: () => import("./TeamMemberList-
|
|
3259
|
+
component: () => import("./TeamMemberList-BW4qqzC1.js"),
|
|
3229
3260
|
beforeEnter: [userAuthenticated],
|
|
3230
3261
|
meta: {
|
|
3231
3262
|
title: "Team Members",
|
|
@@ -3235,7 +3266,7 @@ const teamMemberRoutes = [
|
|
|
3235
3266
|
{
|
|
3236
3267
|
path: teamMemberPaths.create.path,
|
|
3237
3268
|
name: teamMemberPaths.create.name,
|
|
3238
|
-
component: () => import("./CreateTeamMemberForm-
|
|
3269
|
+
component: () => import("./CreateTeamMemberForm-eWL__TEt.js"),
|
|
3239
3270
|
beforeEnter: [userAuthenticated],
|
|
3240
3271
|
meta: {
|
|
3241
3272
|
title: "Create Team Member",
|
|
@@ -3244,7 +3275,7 @@ const teamMemberRoutes = [
|
|
|
3244
3275
|
},
|
|
3245
3276
|
{
|
|
3246
3277
|
path: teamMemberPaths.view.path,
|
|
3247
|
-
component: () => import("./TeamMemberParent-
|
|
3278
|
+
component: () => import("./TeamMemberParent-Wcht0pIz.js"),
|
|
3248
3279
|
beforeEnter: [userAuthenticated],
|
|
3249
3280
|
meta: { sectionTabs: [{
|
|
3250
3281
|
id: "view",
|
|
@@ -3258,7 +3289,7 @@ const teamMemberRoutes = [
|
|
|
3258
3289
|
children: [{
|
|
3259
3290
|
path: "",
|
|
3260
3291
|
name: teamMemberPaths.view.name,
|
|
3261
|
-
component: () => import("./ViewTeamMember-
|
|
3292
|
+
component: () => import("./ViewTeamMember-ByCSsl5k.js"),
|
|
3262
3293
|
meta: {
|
|
3263
3294
|
title: "View Team Member",
|
|
3264
3295
|
description: "View team member details",
|
|
@@ -3267,7 +3298,7 @@ const teamMemberRoutes = [
|
|
|
3267
3298
|
}, {
|
|
3268
3299
|
path: teamMemberPaths.edit.path,
|
|
3269
3300
|
name: teamMemberPaths.edit.name,
|
|
3270
|
-
component: () => import("./EditTeamMemberForm-
|
|
3301
|
+
component: () => import("./EditTeamMemberForm-JuRGiWOn.js"),
|
|
3271
3302
|
meta: {
|
|
3272
3303
|
title: "Edit Team Member",
|
|
3273
3304
|
description: "Edit team member details",
|
|
@@ -3331,7 +3362,7 @@ const teamRoutes = [{
|
|
|
3331
3362
|
{
|
|
3332
3363
|
path: teamPaths.list.path,
|
|
3333
3364
|
name: teamPaths.list.name,
|
|
3334
|
-
component: () => import("./TeamList-
|
|
3365
|
+
component: () => import("./TeamList-T3mZJTzq.js"),
|
|
3335
3366
|
meta: {
|
|
3336
3367
|
title: "Teams",
|
|
3337
3368
|
description: "Manage teams",
|
|
@@ -3349,7 +3380,7 @@ const teamRoutes = [{
|
|
|
3349
3380
|
{
|
|
3350
3381
|
path: teamPaths.create.path,
|
|
3351
3382
|
name: teamPaths.create.name,
|
|
3352
|
-
component: () => import("./CreateTeamForm-
|
|
3383
|
+
component: () => import("./CreateTeamForm-LadKAxsM.js"),
|
|
3353
3384
|
meta: {
|
|
3354
3385
|
title: "Create Team",
|
|
3355
3386
|
description: "Create new team",
|
|
@@ -3364,7 +3395,7 @@ const teamRoutes = [{
|
|
|
3364
3395
|
},
|
|
3365
3396
|
{
|
|
3366
3397
|
path: teamPaths.view.path,
|
|
3367
|
-
component: () => import("./TeamParent-
|
|
3398
|
+
component: () => import("./TeamParent-BkhaJwud.js"),
|
|
3368
3399
|
meta: { sectionTabs: [
|
|
3369
3400
|
{
|
|
3370
3401
|
id: "view",
|
|
@@ -3401,7 +3432,7 @@ const teamRoutes = [{
|
|
|
3401
3432
|
{
|
|
3402
3433
|
path: "",
|
|
3403
3434
|
name: teamPaths.view.name,
|
|
3404
|
-
component: () => import("./ViewTeam-
|
|
3435
|
+
component: () => import("./ViewTeam-g7WhYvsR.js"),
|
|
3405
3436
|
meta: {
|
|
3406
3437
|
title: "View Team",
|
|
3407
3438
|
description: "View team details",
|
|
@@ -3411,7 +3442,7 @@ const teamRoutes = [{
|
|
|
3411
3442
|
{
|
|
3412
3443
|
path: teamPaths.edit.path,
|
|
3413
3444
|
name: teamPaths.edit.name,
|
|
3414
|
-
component: () => import("./EditTeamForm-
|
|
3445
|
+
component: () => import("./EditTeamForm-D0wZKYm2.js"),
|
|
3415
3446
|
meta: {
|
|
3416
3447
|
title: "Edit Team",
|
|
3417
3448
|
description: "Edit team details",
|
|
@@ -3421,7 +3452,7 @@ const teamRoutes = [{
|
|
|
3421
3452
|
{
|
|
3422
3453
|
path: teamPaths.notes.path,
|
|
3423
3454
|
name: teamPaths.notes.name,
|
|
3424
|
-
component: () => import("./TeamNotesTab-
|
|
3455
|
+
component: () => import("./TeamNotesTab-aGD8O49y.js"),
|
|
3425
3456
|
meta: {
|
|
3426
3457
|
title: "Team Notes",
|
|
3427
3458
|
description: "View and manage notes",
|
|
@@ -3431,7 +3462,7 @@ const teamRoutes = [{
|
|
|
3431
3462
|
{
|
|
3432
3463
|
path: teamPaths.attachments.path,
|
|
3433
3464
|
name: teamPaths.attachments.name,
|
|
3434
|
-
component: () => import("./TeamAttachmentsTab-
|
|
3465
|
+
component: () => import("./TeamAttachmentsTab-DA_MBYj8.js"),
|
|
3435
3466
|
meta: {
|
|
3436
3467
|
title: "Team Attachments",
|
|
3437
3468
|
description: "View and manage attachments",
|
|
@@ -3441,7 +3472,7 @@ const teamRoutes = [{
|
|
|
3441
3472
|
{
|
|
3442
3473
|
path: teamPaths.history.path,
|
|
3443
3474
|
name: teamPaths.history.name,
|
|
3444
|
-
component: () => import("./TeamHistoryTab-
|
|
3475
|
+
component: () => import("./TeamHistoryTab-lz2ouNyP.js"),
|
|
3445
3476
|
meta: {
|
|
3446
3477
|
title: "Team History",
|
|
3447
3478
|
description: "View audit trail and changes",
|
|
@@ -3451,7 +3482,7 @@ const teamRoutes = [{
|
|
|
3451
3482
|
{
|
|
3452
3483
|
path: teamPaths.members.path,
|
|
3453
3484
|
name: teamPaths.members.name,
|
|
3454
|
-
component: () => import("./TeamMembersTab-
|
|
3485
|
+
component: () => import("./TeamMembersTab-CpE9BaCi.js"),
|
|
3455
3486
|
meta: {
|
|
3456
3487
|
title: "Team Members",
|
|
3457
3488
|
description: "View and manage team members",
|
|
@@ -3466,11 +3497,11 @@ const teamRoutes = [{
|
|
|
3466
3497
|
|
|
3467
3498
|
//#endregion
|
|
3468
3499
|
//#region src/slices/team/CreateTeamForm.vue
|
|
3469
|
-
const _hoisted_1$
|
|
3500
|
+
const _hoisted_1$36 = {
|
|
3470
3501
|
key: 0,
|
|
3471
3502
|
class: "flex flex-col items-center justify-center p-8"
|
|
3472
3503
|
};
|
|
3473
|
-
const _hoisted_2$
|
|
3504
|
+
const _hoisted_2$32 = {
|
|
3474
3505
|
key: 1,
|
|
3475
3506
|
class: "flex flex-col items-center justify-center p-8"
|
|
3476
3507
|
};
|
|
@@ -3480,7 +3511,7 @@ const _hoisted_4$27 = {
|
|
|
3480
3511
|
class: "alert alert-error mb-4"
|
|
3481
3512
|
};
|
|
3482
3513
|
const _hoisted_5$20 = { class: "flex justify-center mt-6" };
|
|
3483
|
-
const _sfc_main$
|
|
3514
|
+
const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
3484
3515
|
__name: "CreateTeamForm",
|
|
3485
3516
|
setup(__props) {
|
|
3486
3517
|
const router = useRouter();
|
|
@@ -3511,7 +3542,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
3511
3542
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
3512
3543
|
};
|
|
3513
3544
|
return (_ctx, _cache) => {
|
|
3514
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3545
|
+
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$36, [..._cache[0] || (_cache[0] = [createElementVNode("div", { class: "loading loading-spinner loading-lg" }, null, -1), createElementVNode("p", { class: "mt-4 text-lg" }, "Loading...", -1)])])) : unref(form).loadError ? (openBlock(), createElementBlock("div", _hoisted_2$32, [createElementVNode("p", _hoisted_3$29, toDisplayString(unref(form).loadError), 1)])) : (openBlock(), createBlock(unref(ZiniaForm), {
|
|
3515
3546
|
key: 2,
|
|
3516
3547
|
onHandleSubmit: handleSubmit,
|
|
3517
3548
|
onSuccess: handleSuccess,
|
|
@@ -3593,15 +3624,15 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
3593
3624
|
};
|
|
3594
3625
|
}
|
|
3595
3626
|
});
|
|
3596
|
-
var CreateTeamForm_default = _sfc_main$
|
|
3627
|
+
var CreateTeamForm_default = _sfc_main$40;
|
|
3597
3628
|
|
|
3598
3629
|
//#endregion
|
|
3599
3630
|
//#region src/slices/team/EditTeamForm.vue
|
|
3600
|
-
const _hoisted_1$
|
|
3631
|
+
const _hoisted_1$35 = {
|
|
3601
3632
|
key: 0,
|
|
3602
3633
|
class: "flex justify-center items-center p-8"
|
|
3603
3634
|
};
|
|
3604
|
-
const _hoisted_2$
|
|
3635
|
+
const _hoisted_2$31 = {
|
|
3605
3636
|
key: 1,
|
|
3606
3637
|
class: "alert alert-error mb-4"
|
|
3607
3638
|
};
|
|
@@ -3610,7 +3641,7 @@ const _hoisted_3$28 = {
|
|
|
3610
3641
|
class: "alert alert-error mb-4"
|
|
3611
3642
|
};
|
|
3612
3643
|
const _hoisted_4$26 = { class: "flex justify-center mt-6" };
|
|
3613
|
-
const _sfc_main$
|
|
3644
|
+
const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
3614
3645
|
__name: "EditTeamForm",
|
|
3615
3646
|
props: {
|
|
3616
3647
|
team: {},
|
|
@@ -3653,7 +3684,7 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
3653
3684
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
3654
3685
|
};
|
|
3655
3686
|
return (_ctx, _cache) => {
|
|
3656
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3687
|
+
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$35, [..._cache[0] || (_cache[0] = [createElementVNode("span", { class: "loading loading-spinner loading-lg" }, null, -1)])])) : unref(form).loadError ? (openBlock(), createElementBlock("div", _hoisted_2$31, [_cache[1] || (_cache[1] = createElementVNode("svg", {
|
|
3657
3688
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3658
3689
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
3659
3690
|
fill: "none",
|
|
@@ -3745,11 +3776,11 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
3745
3776
|
};
|
|
3746
3777
|
}
|
|
3747
3778
|
});
|
|
3748
|
-
var EditTeamForm_default = _sfc_main$
|
|
3779
|
+
var EditTeamForm_default = _sfc_main$39;
|
|
3749
3780
|
|
|
3750
3781
|
//#endregion
|
|
3751
3782
|
//#region src/slices/team/components/TeamAttachments.vue
|
|
3752
|
-
const _sfc_main$
|
|
3783
|
+
const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
3753
3784
|
__name: "TeamAttachments",
|
|
3754
3785
|
setup(__props) {
|
|
3755
3786
|
const teamId = useRoute().params.id;
|
|
@@ -3763,11 +3794,11 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
3763
3794
|
};
|
|
3764
3795
|
}
|
|
3765
3796
|
});
|
|
3766
|
-
var TeamAttachments_default = _sfc_main$
|
|
3797
|
+
var TeamAttachments_default = _sfc_main$38;
|
|
3767
3798
|
|
|
3768
3799
|
//#endregion
|
|
3769
3800
|
//#region src/slices/team/TeamAttachmentsTab.vue
|
|
3770
|
-
const _sfc_main$
|
|
3801
|
+
const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
3771
3802
|
__name: "TeamAttachmentsTab",
|
|
3772
3803
|
setup(__props) {
|
|
3773
3804
|
return (_ctx, _cache) => {
|
|
@@ -3775,7 +3806,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
3775
3806
|
};
|
|
3776
3807
|
}
|
|
3777
3808
|
});
|
|
3778
|
-
var TeamAttachmentsTab_default = _sfc_main$
|
|
3809
|
+
var TeamAttachmentsTab_default = _sfc_main$37;
|
|
3779
3810
|
|
|
3780
3811
|
//#endregion
|
|
3781
3812
|
//#region src/slices/team/teamFiltersMetadata.ts
|
|
@@ -3816,8 +3847,8 @@ const teamRowSchemaWithMetadata = withMetadata(TeamReadSchema, "teamRow", {});
|
|
|
3816
3847
|
|
|
3817
3848
|
//#endregion
|
|
3818
3849
|
//#region src/slices/team/TeamList.vue
|
|
3819
|
-
const _hoisted_1$
|
|
3820
|
-
const _sfc_main$
|
|
3850
|
+
const _hoisted_1$34 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-4" };
|
|
3851
|
+
const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
3821
3852
|
__name: "TeamList",
|
|
3822
3853
|
setup(__props) {
|
|
3823
3854
|
const currentPaginationToken = ref();
|
|
@@ -3900,7 +3931,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
3900
3931
|
});
|
|
3901
3932
|
return (_ctx, _cache) => {
|
|
3902
3933
|
const _component_router_link = resolveComponent("router-link");
|
|
3903
|
-
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$
|
|
3934
|
+
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$34, [_cache[1] || (_cache[1] = createElementVNode("h1", { class: "text-xl sm:text-2xl font-bold" }, "Teams", -1)), createVNode(_component_router_link, {
|
|
3904
3935
|
to: { name: unref(teamPaths).create.name },
|
|
3905
3936
|
class: "btn btn-primary btn-sm sm:btn-md"
|
|
3906
3937
|
}, {
|
|
@@ -3935,19 +3966,19 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
3935
3966
|
};
|
|
3936
3967
|
}
|
|
3937
3968
|
});
|
|
3938
|
-
var TeamList_default = _sfc_main$
|
|
3969
|
+
var TeamList_default = _sfc_main$36;
|
|
3939
3970
|
|
|
3940
3971
|
//#endregion
|
|
3941
3972
|
//#region src/slices/team/TeamParent.vue
|
|
3942
|
-
const _hoisted_1$
|
|
3973
|
+
const _hoisted_1$33 = {
|
|
3943
3974
|
key: 0,
|
|
3944
3975
|
class: "flex justify-center items-center p-8"
|
|
3945
3976
|
};
|
|
3946
|
-
const _hoisted_2$
|
|
3977
|
+
const _hoisted_2$30 = {
|
|
3947
3978
|
key: 1,
|
|
3948
3979
|
class: "alert alert-error mb-4"
|
|
3949
3980
|
};
|
|
3950
|
-
const _sfc_main$
|
|
3981
|
+
const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
3951
3982
|
__name: "TeamParent",
|
|
3952
3983
|
setup(__props) {
|
|
3953
3984
|
const route = useRoute();
|
|
@@ -3987,7 +4018,7 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
3987
4018
|
}, true);
|
|
3988
4019
|
return (_ctx, _cache) => {
|
|
3989
4020
|
const _component_RouterView = resolveComponent("RouterView");
|
|
3990
|
-
return unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4021
|
+
return unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_1$33, [..._cache[0] || (_cache[0] = [createElementVNode("span", { class: "loading loading-spinner loading-lg" }, null, -1)])])) : unref(error) ? (openBlock(), createElementBlock("div", _hoisted_2$30, [_cache[1] || (_cache[1] = createElementVNode("svg", {
|
|
3991
4022
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3992
4023
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
3993
4024
|
fill: "none",
|
|
@@ -4010,15 +4041,15 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
4010
4041
|
};
|
|
4011
4042
|
}
|
|
4012
4043
|
});
|
|
4013
|
-
var TeamParent_default = _sfc_main$
|
|
4044
|
+
var TeamParent_default = _sfc_main$35;
|
|
4014
4045
|
|
|
4015
4046
|
//#endregion
|
|
4016
4047
|
//#region src/slices/team/ViewTeam.vue
|
|
4017
|
-
const _hoisted_1$
|
|
4048
|
+
const _hoisted_1$32 = {
|
|
4018
4049
|
key: 0,
|
|
4019
4050
|
class: "flex justify-center items-center p-8"
|
|
4020
4051
|
};
|
|
4021
|
-
const _hoisted_2$
|
|
4052
|
+
const _hoisted_2$29 = {
|
|
4022
4053
|
key: 1,
|
|
4023
4054
|
class: "alert alert-error mb-4"
|
|
4024
4055
|
};
|
|
@@ -4124,7 +4155,7 @@ const _hoisted_46 = {
|
|
|
4124
4155
|
class: "text-xs"
|
|
4125
4156
|
};
|
|
4126
4157
|
const _hoisted_47 = { class: "flex flex-col sm:flex-row gap-3 justify-center mt-6" };
|
|
4127
|
-
const _sfc_main$
|
|
4158
|
+
const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
4128
4159
|
__name: "ViewTeam",
|
|
4129
4160
|
props: {
|
|
4130
4161
|
team: {},
|
|
@@ -4137,7 +4168,7 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
4137
4168
|
const teamData = computed(() => props.team);
|
|
4138
4169
|
return (_ctx, _cache) => {
|
|
4139
4170
|
const _component_router_link = resolveComponent("router-link");
|
|
4140
|
-
return __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4171
|
+
return __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$32, [..._cache[0] || (_cache[0] = [createElementVNode("span", { class: "loading loading-spinner loading-lg" }, null, -1)])])) : __props.error ? (openBlock(), createElementBlock("div", _hoisted_2$29, [_cache[1] || (_cache[1] = createElementVNode("svg", {
|
|
4141
4172
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4142
4173
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
4143
4174
|
fill: "none",
|
|
@@ -4222,15 +4253,15 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
4222
4253
|
};
|
|
4223
4254
|
}
|
|
4224
4255
|
});
|
|
4225
|
-
var ViewTeam_default = _sfc_main$
|
|
4256
|
+
var ViewTeam_default = _sfc_main$34;
|
|
4226
4257
|
|
|
4227
4258
|
//#endregion
|
|
4228
4259
|
//#region src/slices/team/team_member/CreateTeamMemberForm.vue
|
|
4229
|
-
const _hoisted_1$
|
|
4260
|
+
const _hoisted_1$31 = {
|
|
4230
4261
|
key: 0,
|
|
4231
4262
|
class: "flex flex-col items-center justify-center p-8"
|
|
4232
4263
|
};
|
|
4233
|
-
const _hoisted_2$
|
|
4264
|
+
const _hoisted_2$28 = {
|
|
4234
4265
|
key: 1,
|
|
4235
4266
|
class: "flex flex-col items-center justify-center p-8"
|
|
4236
4267
|
};
|
|
@@ -4240,7 +4271,7 @@ const _hoisted_4$24 = {
|
|
|
4240
4271
|
class: "alert alert-error mb-4"
|
|
4241
4272
|
};
|
|
4242
4273
|
const _hoisted_5$18 = { class: "flex justify-center mt-6" };
|
|
4243
|
-
const _sfc_main$
|
|
4274
|
+
const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
4244
4275
|
__name: "CreateTeamMemberForm",
|
|
4245
4276
|
setup(__props) {
|
|
4246
4277
|
const router = useRouter();
|
|
@@ -4289,7 +4320,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
4289
4320
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
4290
4321
|
};
|
|
4291
4322
|
return (_ctx, _cache) => {
|
|
4292
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4323
|
+
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$31, [..._cache[0] || (_cache[0] = [createElementVNode("div", { class: "loading loading-spinner loading-lg" }, null, -1), createElementVNode("p", { class: "mt-4 text-lg" }, "Loading...", -1)])])) : unref(form).loadError ? (openBlock(), createElementBlock("div", _hoisted_2$28, [createElementVNode("p", _hoisted_3$26, toDisplayString(unref(form).loadError), 1)])) : (openBlock(), createBlock(unref(ZiniaForm), {
|
|
4293
4324
|
key: 2,
|
|
4294
4325
|
onHandleSubmit: handleSubmit,
|
|
4295
4326
|
onSuccess: handleSuccess,
|
|
@@ -4350,7 +4381,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
4350
4381
|
};
|
|
4351
4382
|
}
|
|
4352
4383
|
});
|
|
4353
|
-
var CreateTeamMemberForm_default = _sfc_main$
|
|
4384
|
+
var CreateTeamMemberForm_default = _sfc_main$33;
|
|
4354
4385
|
|
|
4355
4386
|
//#endregion
|
|
4356
4387
|
//#region src/slices/team/team_member/teamMemberFiltersMetadata.ts
|
|
@@ -4391,8 +4422,8 @@ const teamMemberRowSchemaWithMetadata = withMetadata(TeamMemberReadSchema, "team
|
|
|
4391
4422
|
|
|
4392
4423
|
//#endregion
|
|
4393
4424
|
//#region src/slices/team/team_member/TeamMemberList.vue
|
|
4394
|
-
const _hoisted_1$
|
|
4395
|
-
const _sfc_main$
|
|
4425
|
+
const _hoisted_1$30 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-4" };
|
|
4426
|
+
const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
4396
4427
|
__name: "TeamMemberList",
|
|
4397
4428
|
setup(__props) {
|
|
4398
4429
|
const team_id = useRoute().params.id;
|
|
@@ -4489,7 +4520,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
4489
4520
|
});
|
|
4490
4521
|
return (_ctx, _cache) => {
|
|
4491
4522
|
const _component_router_link = resolveComponent("router-link");
|
|
4492
|
-
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$
|
|
4523
|
+
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$30, [_cache[1] || (_cache[1] = createElementVNode("h1", { class: "text-xl sm:text-2xl font-bold" }, "Team Members", -1)), createVNode(_component_router_link, {
|
|
4493
4524
|
to: {
|
|
4494
4525
|
name: unref(teamMemberPaths).create.name,
|
|
4495
4526
|
params: { id: unref(team_id) }
|
|
@@ -4534,19 +4565,19 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
4534
4565
|
};
|
|
4535
4566
|
}
|
|
4536
4567
|
});
|
|
4537
|
-
var TeamMemberList_default = _sfc_main$
|
|
4568
|
+
var TeamMemberList_default = _sfc_main$32;
|
|
4538
4569
|
|
|
4539
4570
|
//#endregion
|
|
4540
4571
|
//#region src/slices/team/team_member/TeamMemberParent.vue
|
|
4541
|
-
const _hoisted_1$
|
|
4572
|
+
const _hoisted_1$29 = {
|
|
4542
4573
|
key: 0,
|
|
4543
4574
|
class: "flex justify-center items-center p-8"
|
|
4544
4575
|
};
|
|
4545
|
-
const _hoisted_2$
|
|
4576
|
+
const _hoisted_2$27 = {
|
|
4546
4577
|
key: 1,
|
|
4547
4578
|
class: "alert alert-error mb-4"
|
|
4548
4579
|
};
|
|
4549
|
-
const _sfc_main$
|
|
4580
|
+
const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
4550
4581
|
__name: "TeamMemberParent",
|
|
4551
4582
|
setup(__props) {
|
|
4552
4583
|
const route = useRoute();
|
|
@@ -4585,7 +4616,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
4585
4616
|
provide("refreshTeamMember", refreshTeamMember);
|
|
4586
4617
|
return (_ctx, _cache) => {
|
|
4587
4618
|
const _component_RouterView = resolveComponent("RouterView");
|
|
4588
|
-
return unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4619
|
+
return unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_1$29, [..._cache[0] || (_cache[0] = [createElementVNode("span", { class: "loading loading-spinner loading-lg" }, null, -1)])])) : unref(error) ? (openBlock(), createElementBlock("div", _hoisted_2$27, [_cache[1] || (_cache[1] = createElementVNode("svg", {
|
|
4589
4620
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4590
4621
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
4591
4622
|
fill: "none",
|
|
@@ -4608,15 +4639,15 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
4608
4639
|
};
|
|
4609
4640
|
}
|
|
4610
4641
|
});
|
|
4611
|
-
var TeamMemberParent_default = _sfc_main$
|
|
4642
|
+
var TeamMemberParent_default = _sfc_main$31;
|
|
4612
4643
|
|
|
4613
4644
|
//#endregion
|
|
4614
4645
|
//#region src/slices/team/team_member/ViewTeamMember.vue
|
|
4615
|
-
const _hoisted_1$
|
|
4646
|
+
const _hoisted_1$28 = {
|
|
4616
4647
|
key: 0,
|
|
4617
4648
|
class: "flex justify-center items-center p-8"
|
|
4618
4649
|
};
|
|
4619
|
-
const _hoisted_2$
|
|
4650
|
+
const _hoisted_2$26 = {
|
|
4620
4651
|
key: 1,
|
|
4621
4652
|
class: "alert alert-error mb-4"
|
|
4622
4653
|
};
|
|
@@ -4680,7 +4711,7 @@ const _hoisted_28$1 = {
|
|
|
4680
4711
|
class: "text-xs"
|
|
4681
4712
|
};
|
|
4682
4713
|
const _hoisted_29$1 = { class: "flex flex-col sm:flex-row gap-3 justify-center mt-6" };
|
|
4683
|
-
const _sfc_main$
|
|
4714
|
+
const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
4684
4715
|
__name: "ViewTeamMember",
|
|
4685
4716
|
props: {
|
|
4686
4717
|
teamMember: {},
|
|
@@ -4695,7 +4726,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
4695
4726
|
const teamMemberData = computed(() => props.teamMember);
|
|
4696
4727
|
return (_ctx, _cache) => {
|
|
4697
4728
|
const _component_router_link = resolveComponent("router-link");
|
|
4698
|
-
return __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4729
|
+
return __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$28, [..._cache[0] || (_cache[0] = [createElementVNode("span", { class: "loading loading-spinner loading-lg" }, null, -1)])])) : __props.error ? (openBlock(), createElementBlock("div", _hoisted_2$26, [_cache[1] || (_cache[1] = createElementVNode("svg", {
|
|
4699
4730
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4700
4731
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
4701
4732
|
fill: "none",
|
|
@@ -4767,7 +4798,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
4767
4798
|
};
|
|
4768
4799
|
}
|
|
4769
4800
|
});
|
|
4770
|
-
var ViewTeamMember_default = _sfc_main$
|
|
4801
|
+
var ViewTeamMember_default = _sfc_main$30;
|
|
4771
4802
|
|
|
4772
4803
|
//#endregion
|
|
4773
4804
|
//#region src/slices/saved_filter/lastUsedPresetGuard.ts
|
|
@@ -4977,7 +5008,7 @@ function useSavedFilters(config) {
|
|
|
4977
5008
|
const savedFilterRoutes = [{
|
|
4978
5009
|
path: "/saved-filters",
|
|
4979
5010
|
name: "SavedFilters",
|
|
4980
|
-
component: () => import("./SavedFiltersPage-
|
|
5011
|
+
component: () => import("./SavedFiltersPage-p0qGRIuN.js"),
|
|
4981
5012
|
beforeEnter: [userAuthenticated],
|
|
4982
5013
|
meta: {
|
|
4983
5014
|
title: "Saved Filters",
|
|
@@ -4996,15 +5027,15 @@ const savedFilterRoutes = [{
|
|
|
4996
5027
|
|
|
4997
5028
|
//#endregion
|
|
4998
5029
|
//#region src/slices/saved_filter/SaveFilterModal.vue
|
|
4999
|
-
const _hoisted_1$
|
|
5000
|
-
const _hoisted_2$
|
|
5030
|
+
const _hoisted_1$27 = { class: "form-control" };
|
|
5031
|
+
const _hoisted_2$25 = {
|
|
5001
5032
|
key: 0,
|
|
5002
5033
|
class: "label"
|
|
5003
5034
|
};
|
|
5004
5035
|
const _hoisted_3$24 = { class: "label-text-alt text-error" };
|
|
5005
5036
|
const _hoisted_4$22 = { class: "flex justify-end gap-2" };
|
|
5006
5037
|
const _hoisted_5$16 = ["disabled"];
|
|
5007
|
-
const _sfc_main$
|
|
5038
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
5008
5039
|
__name: "SaveFilterModal",
|
|
5009
5040
|
props: {
|
|
5010
5041
|
isOpen: { type: Boolean },
|
|
@@ -5047,7 +5078,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
5047
5078
|
default: withCtx(() => [createElementVNode("form", {
|
|
5048
5079
|
onSubmit: withModifiers(handleSubmit, ["prevent"]),
|
|
5049
5080
|
class: "space-y-4"
|
|
5050
|
-
}, [createElementVNode("div", _hoisted_1$
|
|
5081
|
+
}, [createElementVNode("div", _hoisted_1$27, [
|
|
5051
5082
|
_cache[1] || (_cache[1] = createElementVNode("label", { class: "label" }, [createElementVNode("span", { class: "label-text" }, "Preset name")], -1)),
|
|
5052
5083
|
withDirectives(createElementVNode("input", {
|
|
5053
5084
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => name.value = $event),
|
|
@@ -5056,7 +5087,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
5056
5087
|
class: "input input-bordered w-full",
|
|
5057
5088
|
maxlength: "100"
|
|
5058
5089
|
}, null, 512), [[vModelText, name.value]]),
|
|
5059
|
-
error.value ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
5090
|
+
error.value ? (openBlock(), createElementBlock("label", _hoisted_2$25, [createElementVNode("span", _hoisted_3$24, toDisplayString(error.value), 1)])) : createCommentVNode("v-if", true)
|
|
5060
5091
|
]), createElementVNode("div", _hoisted_4$22, [createElementVNode("button", {
|
|
5061
5092
|
type: "button",
|
|
5062
5093
|
class: "btn btn-ghost",
|
|
@@ -5071,12 +5102,12 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
5071
5102
|
};
|
|
5072
5103
|
}
|
|
5073
5104
|
});
|
|
5074
|
-
var SaveFilterModal_default = _sfc_main$
|
|
5105
|
+
var SaveFilterModal_default = _sfc_main$29;
|
|
5075
5106
|
|
|
5076
5107
|
//#endregion
|
|
5077
5108
|
//#region src/slices/saved_filter/ManagePresetsModal.vue
|
|
5078
|
-
const _hoisted_1$
|
|
5079
|
-
const _hoisted_2$
|
|
5109
|
+
const _hoisted_1$26 = { class: "space-y-4" };
|
|
5110
|
+
const _hoisted_2$24 = {
|
|
5080
5111
|
key: 0,
|
|
5081
5112
|
class: "text-base-content/70 text-sm"
|
|
5082
5113
|
};
|
|
@@ -5096,7 +5127,7 @@ const _hoisted_9$10 = { class: "text-base-content/60 text-xs font-normal ml-1" }
|
|
|
5096
5127
|
const _hoisted_10$7 = { class: "flex gap-1 shrink-0" };
|
|
5097
5128
|
const _hoisted_11$6 = ["onClick"];
|
|
5098
5129
|
const _hoisted_12$5 = ["disabled", "onClick"];
|
|
5099
|
-
const _sfc_main$
|
|
5130
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
5100
5131
|
__name: "ManagePresetsModal",
|
|
5101
5132
|
props: {
|
|
5102
5133
|
isOpen: { type: Boolean },
|
|
@@ -5142,7 +5173,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
5142
5173
|
title: "Manage Filter Presets",
|
|
5143
5174
|
onClose: close
|
|
5144
5175
|
}, {
|
|
5145
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
5176
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$26, [__props.presets.length === 0 && !__props.loading ? (openBlock(), createElementBlock("p", _hoisted_2$24, " No saved presets yet. Set filters, then use \"Save current filters\" in the Presets menu. ")) : __props.loading ? (openBlock(), createElementBlock("div", _hoisted_3$23, [..._cache[1] || (_cache[1] = [createElementVNode("span", { class: "loading loading-spinner loading-md" }, null, -1)])])) : (openBlock(), createElementBlock("ul", _hoisted_4$21, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.presets, (preset) => {
|
|
5146
5177
|
return openBlock(), createElementBlock("li", {
|
|
5147
5178
|
key: preset.id,
|
|
5148
5179
|
class: "flex items-center gap-2 p-2 rounded-lg bg-base-200"
|
|
@@ -5212,12 +5243,12 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
5212
5243
|
};
|
|
5213
5244
|
}
|
|
5214
5245
|
});
|
|
5215
|
-
var ManagePresetsModal_default = _sfc_main$
|
|
5246
|
+
var ManagePresetsModal_default = _sfc_main$28;
|
|
5216
5247
|
|
|
5217
5248
|
//#endregion
|
|
5218
5249
|
//#region src/slices/saved_filter/PresetsModal.vue
|
|
5219
|
-
const _hoisted_1$
|
|
5220
|
-
const _hoisted_2$
|
|
5250
|
+
const _hoisted_1$25 = { class: "space-y-4" };
|
|
5251
|
+
const _hoisted_2$23 = { key: 0 };
|
|
5221
5252
|
const _hoisted_3$22 = { class: "space-y-2" };
|
|
5222
5253
|
const _hoisted_4$20 = ["onKeydown"];
|
|
5223
5254
|
const _hoisted_5$14 = ["disabled", "onClick"];
|
|
@@ -5249,7 +5280,7 @@ const _hoisted_20$1 = {
|
|
|
5249
5280
|
key: 0,
|
|
5250
5281
|
class: "text-base-content/60 text-xs"
|
|
5251
5282
|
};
|
|
5252
|
-
const _sfc_main$
|
|
5283
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
5253
5284
|
__name: "PresetsModal",
|
|
5254
5285
|
props: {
|
|
5255
5286
|
isOpen: { type: Boolean },
|
|
@@ -5346,9 +5377,9 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
5346
5377
|
title: "Filter Presets",
|
|
5347
5378
|
onClose: close
|
|
5348
5379
|
}, {
|
|
5349
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
5380
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$25, [
|
|
5350
5381
|
createCommentVNode(" Preset list: apply (click name), rename, delete "),
|
|
5351
|
-
__props.presets.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5382
|
+
__props.presets.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$23, [_cache[5] || (_cache[5] = createElementVNode("p", { class: "text-xs font-medium text-base-content/60 uppercase tracking-wide mb-2" }, " Apply preset ", -1)), createElementVNode("ul", _hoisted_3$22, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.presets, (preset) => {
|
|
5352
5383
|
return openBlock(), createElementBlock("li", {
|
|
5353
5384
|
key: preset.id,
|
|
5354
5385
|
class: "flex items-center gap-2 p-2 rounded-lg bg-base-200"
|
|
@@ -5492,18 +5523,18 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
5492
5523
|
};
|
|
5493
5524
|
}
|
|
5494
5525
|
});
|
|
5495
|
-
var PresetsModal_default = _sfc_main$
|
|
5526
|
+
var PresetsModal_default = _sfc_main$27;
|
|
5496
5527
|
|
|
5497
5528
|
//#endregion
|
|
5498
5529
|
//#region src/slices/saved_filter/SavedFilterPresets.vue
|
|
5499
|
-
const _hoisted_1$
|
|
5500
|
-
const _hoisted_2$
|
|
5530
|
+
const _hoisted_1$24 = { class: "flex items-center gap-2 flex-wrap" };
|
|
5531
|
+
const _hoisted_2$22 = {
|
|
5501
5532
|
key: 0,
|
|
5502
5533
|
class: "badge badge-primary badge-lg gap-1 pr-1"
|
|
5503
5534
|
};
|
|
5504
5535
|
const _hoisted_3$21 = { class: "truncate max-w-[8rem] sm:max-w-[12rem]" };
|
|
5505
5536
|
const _hoisted_4$19 = ["disabled", "title"];
|
|
5506
|
-
const _sfc_main$
|
|
5537
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
5507
5538
|
__name: "SavedFilterPresets",
|
|
5508
5539
|
props: {
|
|
5509
5540
|
presets: {},
|
|
@@ -5544,9 +5575,9 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
5544
5575
|
await pinnedPresets.refetchPinned?.();
|
|
5545
5576
|
}
|
|
5546
5577
|
return (_ctx, _cache) => {
|
|
5547
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5578
|
+
return openBlock(), createElementBlock("div", _hoisted_1$24, [
|
|
5548
5579
|
createCommentVNode(" Active preset chip: shows when a preset is applied, with clear (×) "),
|
|
5549
|
-
props.activePreset ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5580
|
+
props.activePreset ? (openBlock(), createElementBlock("div", _hoisted_2$22, [createElementVNode("span", _hoisted_3$21, toDisplayString(props.activePreset.name), 1), createElementVNode("button", {
|
|
5550
5581
|
type: "button",
|
|
5551
5582
|
class: "btn btn-ghost btn-xs btn-circle",
|
|
5552
5583
|
"aria-label": "Clear preset",
|
|
@@ -5637,7 +5668,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
5637
5668
|
};
|
|
5638
5669
|
}
|
|
5639
5670
|
});
|
|
5640
|
-
var SavedFilterPresets_default = _sfc_main$
|
|
5671
|
+
var SavedFilterPresets_default = _sfc_main$26;
|
|
5641
5672
|
|
|
5642
5673
|
//#endregion
|
|
5643
5674
|
//#region src/slices/support_ticket/customer/customerSupportTicketRoutes.ts
|
|
@@ -5694,7 +5725,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5694
5725
|
{
|
|
5695
5726
|
path: customerSupportPaths.customer_list.path,
|
|
5696
5727
|
name: customerSupportPaths.customer_list.name,
|
|
5697
|
-
component: () => import("./CustomerSupportTicketList-
|
|
5728
|
+
component: () => import("./CustomerSupportTicketList-Zzsg1FtO.js"),
|
|
5698
5729
|
beforeEnter: (to) => customerListPresetGuard(to),
|
|
5699
5730
|
meta: {
|
|
5700
5731
|
title: "Tickets",
|
|
@@ -5713,7 +5744,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5713
5744
|
{
|
|
5714
5745
|
path: customerSupportPaths.customer_create.path,
|
|
5715
5746
|
name: customerSupportPaths.customer_create.name,
|
|
5716
|
-
component: () => import("./CustomerCreateSupportTicketForm-
|
|
5747
|
+
component: () => import("./CustomerCreateSupportTicketForm-yfyeXr0V.js"),
|
|
5717
5748
|
meta: {
|
|
5718
5749
|
title: "Create Support Ticket",
|
|
5719
5750
|
description: "Create new support ticket",
|
|
@@ -5729,7 +5760,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5729
5760
|
{
|
|
5730
5761
|
path: customerSupportPaths.customer_create_success.path,
|
|
5731
5762
|
name: customerSupportPaths.customer_create_success.name,
|
|
5732
|
-
component: () => import("./CustomerSupportTicketSuccess-
|
|
5763
|
+
component: () => import("./CustomerSupportTicketSuccess-BPyydSLQ.js"),
|
|
5733
5764
|
meta: {
|
|
5734
5765
|
title: "Support Ticket Submitted",
|
|
5735
5766
|
description: "Support ticket submitted successfully",
|
|
@@ -5751,7 +5782,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5751
5782
|
},
|
|
5752
5783
|
{
|
|
5753
5784
|
path: customerSupportPaths.customer_view.path,
|
|
5754
|
-
component: () => import("./CustomerSupportTicketParent-
|
|
5785
|
+
component: () => import("./CustomerSupportTicketParent-CqR8lF7r.js"),
|
|
5755
5786
|
meta: {
|
|
5756
5787
|
title: "View Support Ticket",
|
|
5757
5788
|
description: "View support ticket details"
|
|
@@ -5759,7 +5790,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5759
5790
|
children: [{
|
|
5760
5791
|
path: "",
|
|
5761
5792
|
name: customerSupportPaths.customer_view.name,
|
|
5762
|
-
component: () => import("./CustomerSupportTicketDetailPage-
|
|
5793
|
+
component: () => import("./CustomerSupportTicketDetailPage-CthS9akm.js"),
|
|
5763
5794
|
meta: {
|
|
5764
5795
|
title: "View Support Ticket",
|
|
5765
5796
|
description: "View support ticket details"
|
|
@@ -5836,7 +5867,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5836
5867
|
{
|
|
5837
5868
|
path: staffSupportPaths.staff_list.path,
|
|
5838
5869
|
name: staffSupportPaths.staff_list.name,
|
|
5839
|
-
component: () => import("./StaffSupportTicketList-
|
|
5870
|
+
component: () => import("./StaffSupportTicketList-BuKBTk2v.js"),
|
|
5840
5871
|
beforeEnter: (to) => staffListPresetGuard(to),
|
|
5841
5872
|
meta: {
|
|
5842
5873
|
title: "Manage Support",
|
|
@@ -5850,7 +5881,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5850
5881
|
{
|
|
5851
5882
|
path: staffSupportPaths.staff_create.path,
|
|
5852
5883
|
name: staffSupportPaths.staff_create.name,
|
|
5853
|
-
component: () => import("./StaffCreateSupportTicketForm-
|
|
5884
|
+
component: () => import("./StaffCreateSupportTicketForm-CxpKnqCq.js"),
|
|
5854
5885
|
meta: {
|
|
5855
5886
|
title: "Create Support Ticket",
|
|
5856
5887
|
description: "Create new support ticket item",
|
|
@@ -5866,7 +5897,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5866
5897
|
{
|
|
5867
5898
|
path: staffSupportPaths.staff_create_success.path,
|
|
5868
5899
|
name: staffSupportPaths.staff_create_success.name,
|
|
5869
|
-
component: () => import("./StaffSupportTicketSuccess-
|
|
5900
|
+
component: () => import("./StaffSupportTicketSuccess-BD1Xsnx1.js"),
|
|
5870
5901
|
meta: {
|
|
5871
5902
|
title: "Support Ticket Created",
|
|
5872
5903
|
description: "Support ticket created successfully",
|
|
@@ -5888,7 +5919,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5888
5919
|
},
|
|
5889
5920
|
{
|
|
5890
5921
|
path: staffSupportPaths.staff_edit.path,
|
|
5891
|
-
component: () => import("./StaffSupportTicketParent-
|
|
5922
|
+
component: () => import("./StaffSupportTicketParent-Lkn-5u7C.js"),
|
|
5892
5923
|
meta: {
|
|
5893
5924
|
title: "View Support Ticket",
|
|
5894
5925
|
description: "View support ticket details"
|
|
@@ -5896,7 +5927,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5896
5927
|
children: [{
|
|
5897
5928
|
path: "",
|
|
5898
5929
|
name: staffSupportPaths.staff_edit.name,
|
|
5899
|
-
component: () => import("./StaffSupportTicketDetailPage-
|
|
5930
|
+
component: () => import("./StaffSupportTicketDetailPage-TaAPQARa.js"),
|
|
5900
5931
|
meta: {
|
|
5901
5932
|
title: "View Support Ticket",
|
|
5902
5933
|
description: "View support ticket details"
|
|
@@ -5908,8 +5939,8 @@ const staffSupportTicketRoutes = [{
|
|
|
5908
5939
|
|
|
5909
5940
|
//#endregion
|
|
5910
5941
|
//#region src/slices/support_ticket/customer/components/SupportTicketTimeline.vue
|
|
5911
|
-
const _hoisted_1$
|
|
5912
|
-
const _hoisted_2$
|
|
5942
|
+
const _hoisted_1$23 = { class: "mt-8" };
|
|
5943
|
+
const _hoisted_2$21 = { class: "relative" };
|
|
5913
5944
|
const _hoisted_3$20 = { class: "space-y-6 relative" };
|
|
5914
5945
|
const _hoisted_4$18 = { class: "flex items-start group" };
|
|
5915
5946
|
const _hoisted_5$13 = { class: "ml-4" };
|
|
@@ -5951,12 +5982,12 @@ const _hoisted_15$1 = {
|
|
|
5951
5982
|
class: "flex items-start group"
|
|
5952
5983
|
};
|
|
5953
5984
|
const _hoisted_16$1 = { class: "ml-4" };
|
|
5954
|
-
const _sfc_main$
|
|
5985
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
5955
5986
|
__name: "SupportTicketTimeline",
|
|
5956
5987
|
props: { support_ticket: {} },
|
|
5957
5988
|
setup(__props) {
|
|
5958
5989
|
return (_ctx, _cache) => {
|
|
5959
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5990
|
+
return openBlock(), createElementBlock("div", _hoisted_1$23, [_cache[8] || (_cache[8] = createElementVNode("h3", { class: "text-lg font-semibold text-base-content mb-4" }, "SupportTicket Progress", -1)), createElementVNode("div", _hoisted_2$21, [
|
|
5960
5991
|
createCommentVNode(" Timeline line "),
|
|
5961
5992
|
_cache[7] || (_cache[7] = createElementVNode("div", { class: "absolute left-4 top-0 bottom-0 w-0.5 bg-base-300" }, null, -1)),
|
|
5962
5993
|
createCommentVNode(" Timeline items "),
|
|
@@ -6094,7 +6125,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
6094
6125
|
};
|
|
6095
6126
|
}
|
|
6096
6127
|
});
|
|
6097
|
-
var SupportTicketTimeline_default = _sfc_main$
|
|
6128
|
+
var SupportTicketTimeline_default = _sfc_main$25;
|
|
6098
6129
|
|
|
6099
6130
|
//#endregion
|
|
6100
6131
|
//#region src/slices/support_ticket/customer/customerSupportTicketMetadata.ts
|
|
@@ -6123,11 +6154,11 @@ const customerSupportTicketUpdateSchemaWithMetadata = withMetadata(CustomerSuppo
|
|
|
6123
6154
|
|
|
6124
6155
|
//#endregion
|
|
6125
6156
|
//#region src/slices/support_ticket/customer/CustomerCreateSupportTicketForm.vue
|
|
6126
|
-
const _hoisted_1$
|
|
6157
|
+
const _hoisted_1$22 = {
|
|
6127
6158
|
key: 0,
|
|
6128
6159
|
class: "flex flex-col items-center justify-center p-8"
|
|
6129
6160
|
};
|
|
6130
|
-
const _hoisted_2$
|
|
6161
|
+
const _hoisted_2$20 = {
|
|
6131
6162
|
key: 1,
|
|
6132
6163
|
class: "flex flex-col items-center justify-center p-8"
|
|
6133
6164
|
};
|
|
@@ -6138,7 +6169,7 @@ const _hoisted_5$12 = {
|
|
|
6138
6169
|
class: "alert alert-error mb-4"
|
|
6139
6170
|
};
|
|
6140
6171
|
const _hoisted_6$11 = { class: "flex justify-center mt-6" };
|
|
6141
|
-
const _sfc_main$
|
|
6172
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
6142
6173
|
__name: "CustomerCreateSupportTicketForm",
|
|
6143
6174
|
setup(__props) {
|
|
6144
6175
|
const router = useRouter();
|
|
@@ -6181,7 +6212,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
6181
6212
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
6182
6213
|
};
|
|
6183
6214
|
return (_ctx, _cache) => {
|
|
6184
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6215
|
+
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$22, [..._cache[0] || (_cache[0] = [createElementVNode("div", { class: "loading loading-spinner loading-lg" }, null, -1), createElementVNode("p", { class: "mt-4 text-lg" }, "Loading...", -1)])])) : unref(form).loadError ? (openBlock(), createElementBlock("div", _hoisted_2$20, [createElementVNode("p", _hoisted_3$19, toDisplayString(unref(form).loadError), 1)])) : (openBlock(), createBlock(unref(ZiniaForm), {
|
|
6185
6216
|
key: 2,
|
|
6186
6217
|
onBeforeValidate: beforeValidate,
|
|
6187
6218
|
onHandleSubmit: handleSubmit,
|
|
@@ -6240,12 +6271,12 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
6240
6271
|
};
|
|
6241
6272
|
}
|
|
6242
6273
|
});
|
|
6243
|
-
var CustomerCreateSupportTicketForm_default = _sfc_main$
|
|
6274
|
+
var CustomerCreateSupportTicketForm_default = _sfc_main$24;
|
|
6244
6275
|
|
|
6245
6276
|
//#endregion
|
|
6246
6277
|
//#region src/slices/support_ticket/shared/SupportTicketStatusBadge.vue
|
|
6247
|
-
const _hoisted_1$
|
|
6248
|
-
const _sfc_main$
|
|
6278
|
+
const _hoisted_1$21 = ["aria-label"];
|
|
6279
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
6249
6280
|
__name: "SupportTicketStatusBadge",
|
|
6250
6281
|
props: {
|
|
6251
6282
|
status: {},
|
|
@@ -6323,11 +6354,11 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
6323
6354
|
class: normalizeClass(badgeClasses.value),
|
|
6324
6355
|
"aria-label": ariaLabel.value,
|
|
6325
6356
|
role: "status"
|
|
6326
|
-
}, toDisplayString(displayText.value), 11, _hoisted_1$
|
|
6357
|
+
}, toDisplayString(displayText.value), 11, _hoisted_1$21);
|
|
6327
6358
|
};
|
|
6328
6359
|
}
|
|
6329
6360
|
});
|
|
6330
|
-
var SupportTicketStatusBadge_default = _sfc_main$
|
|
6361
|
+
var SupportTicketStatusBadge_default = _sfc_main$23;
|
|
6331
6362
|
|
|
6332
6363
|
//#endregion
|
|
6333
6364
|
//#region src/slices/support_ticket/customer/customerSupportTicketRowSchema.ts
|
|
@@ -6339,11 +6370,11 @@ const customerSupportTicketRowSchemaWithMetadata = withMetadata(CustomerSupportT
|
|
|
6339
6370
|
|
|
6340
6371
|
//#endregion
|
|
6341
6372
|
//#region src/slices/support_ticket/customer/CustomerSupportTicketList.vue
|
|
6342
|
-
const _hoisted_1$
|
|
6343
|
-
const _hoisted_2$
|
|
6373
|
+
const _hoisted_1$20 = { class: "mt-2" };
|
|
6374
|
+
const _hoisted_2$19 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-4" };
|
|
6344
6375
|
const _hoisted_3$18 = { class: "flex items-center gap-2" };
|
|
6345
6376
|
const _hoisted_4$16 = { class: "flex gap-2" };
|
|
6346
|
-
const _sfc_main$
|
|
6377
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
6347
6378
|
__name: "CustomerSupportTicketList",
|
|
6348
6379
|
setup(__props) {
|
|
6349
6380
|
const route = useRoute();
|
|
@@ -6484,7 +6515,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
6484
6515
|
});
|
|
6485
6516
|
return (_ctx, _cache) => {
|
|
6486
6517
|
const _component_router_link = resolveComponent("router-link");
|
|
6487
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6518
|
+
return openBlock(), createElementBlock("div", _hoisted_1$20, [createElementVNode("div", _hoisted_2$19, [createElementVNode("div", _hoisted_3$18, [createVNode(unref(SavedFilterPresets_default), {
|
|
6488
6519
|
presets: unref(savedFilters).presets.value,
|
|
6489
6520
|
"presets-loading": unref(savedFilters).presetsLoading.value,
|
|
6490
6521
|
creating: unref(savedFilters).creating.value,
|
|
@@ -6550,19 +6581,19 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
6550
6581
|
};
|
|
6551
6582
|
}
|
|
6552
6583
|
});
|
|
6553
|
-
var CustomerSupportTicketList_default = _sfc_main$
|
|
6584
|
+
var CustomerSupportTicketList_default = _sfc_main$22;
|
|
6554
6585
|
|
|
6555
6586
|
//#endregion
|
|
6556
6587
|
//#region src/slices/support_ticket/customer/CustomerSupportTicketSuccess.vue
|
|
6557
|
-
const _hoisted_1$
|
|
6558
|
-
const _hoisted_2$
|
|
6588
|
+
const _hoisted_1$19 = { class: "flex flex-col items-center justify-center min-h-[60vh] p-8" };
|
|
6589
|
+
const _hoisted_2$18 = { class: "text-center max-w-2xl" };
|
|
6559
6590
|
const _hoisted_3$17 = { class: "flex flex-col sm:flex-row gap-4 justify-center" };
|
|
6560
|
-
const _sfc_main$
|
|
6591
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
6561
6592
|
__name: "CustomerSupportTicketSuccess",
|
|
6562
6593
|
setup(__props) {
|
|
6563
6594
|
return (_ctx, _cache) => {
|
|
6564
6595
|
const _component_router_link = resolveComponent("router-link");
|
|
6565
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6596
|
+
return openBlock(), createElementBlock("div", _hoisted_1$19, [createElementVNode("div", _hoisted_2$18, [
|
|
6566
6597
|
createCommentVNode(" Success Icon "),
|
|
6567
6598
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "mb-6" }, [createElementVNode("div", { class: "inline-flex items-center justify-center w-20 h-20 bg-success rounded-full" }, [createElementVNode("svg", {
|
|
6568
6599
|
class: "w-10 h-10 text-success-content",
|
|
@@ -6599,15 +6630,15 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
6599
6630
|
};
|
|
6600
6631
|
}
|
|
6601
6632
|
});
|
|
6602
|
-
var CustomerSupportTicketSuccess_default = _sfc_main$
|
|
6633
|
+
var CustomerSupportTicketSuccess_default = _sfc_main$21;
|
|
6603
6634
|
|
|
6604
6635
|
//#endregion
|
|
6605
6636
|
//#region src/slices/support_ticket/staff/components/CustomerCreditBalance.vue
|
|
6606
|
-
const _hoisted_1$
|
|
6637
|
+
const _hoisted_1$18 = {
|
|
6607
6638
|
key: 0,
|
|
6608
6639
|
class: "flex items-center gap-2"
|
|
6609
6640
|
};
|
|
6610
|
-
const _hoisted_2$
|
|
6641
|
+
const _hoisted_2$17 = { class: "space-y-2" };
|
|
6611
6642
|
const _hoisted_3$16 = { class: "grid grid-cols-2 gap-2 text-sm" };
|
|
6612
6643
|
const _hoisted_4$15 = { class: "font-bold ml-2" };
|
|
6613
6644
|
const _hoisted_5$11 = { class: "font-bold ml-2" };
|
|
@@ -6615,7 +6646,7 @@ const _hoisted_6$10 = {
|
|
|
6615
6646
|
key: 0,
|
|
6616
6647
|
class: "alert alert-warning alert-sm"
|
|
6617
6648
|
};
|
|
6618
|
-
const _sfc_main$
|
|
6649
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
6619
6650
|
__name: "CustomerCreditBalance",
|
|
6620
6651
|
setup(__props) {
|
|
6621
6652
|
const { data, loading, error } = useQuery((api) => api.customer.getCreditBalance(), { staleTime: 120 * 1e3 });
|
|
@@ -6625,7 +6656,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
6625
6656
|
return (parseFloat(creditBalance.value.monthly) || 0) + (parseFloat(creditBalance.value.rollover) || 0);
|
|
6626
6657
|
});
|
|
6627
6658
|
return (_ctx, _cache) => {
|
|
6628
|
-
return openBlock(), createElementBlock("div", null, [createCommentVNode(" Loading State "), unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6659
|
+
return openBlock(), createElementBlock("div", null, [createCommentVNode(" Loading State "), unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_1$18, [..._cache[0] || (_cache[0] = [createElementVNode("span", { class: "loading loading-spinner loading-sm" }, null, -1), createElementVNode("span", { class: "text-sm" }, "Loading customer balance...", -1)])])) : unref(error) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createCommentVNode(" Error State "), _cache[1] || (_cache[1] = createElementVNode("div", { class: "alert alert-error alert-sm" }, [createElementVNode("span", { class: "text-xs" }, "Failed to load customer balance")], -1))], 2112)) : creditBalance.value ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [createCommentVNode(" Balance Display "), createElementVNode("div", _hoisted_2$17, [
|
|
6629
6660
|
createElementVNode("div", _hoisted_3$16, [createElementVNode("div", null, [_cache[2] || (_cache[2] = createElementVNode("span", { class: "text-base-content/60" }, "Monthly:", -1)), createElementVNode("span", _hoisted_4$15, toDisplayString(unref(formatStaffCreditValue)(creditBalance.value.monthly)), 1)]), createElementVNode("div", null, [_cache[3] || (_cache[3] = createElementVNode("span", { class: "text-base-content/60" }, "Rollover:", -1)), createElementVNode("span", _hoisted_5$11, toDisplayString(unref(formatStaffCreditValue)(creditBalance.value.rollover)), 1)])]),
|
|
6630
6661
|
createElementVNode("div", { class: normalizeClass(["flex items-center justify-between p-2 rounded", {
|
|
6631
6662
|
"bg-success/20": totalAvailable.value > 0,
|
|
@@ -6650,15 +6681,15 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
6650
6681
|
};
|
|
6651
6682
|
}
|
|
6652
6683
|
});
|
|
6653
|
-
var CustomerCreditBalance_default = _sfc_main$
|
|
6684
|
+
var CustomerCreditBalance_default = _sfc_main$20;
|
|
6654
6685
|
|
|
6655
6686
|
//#endregion
|
|
6656
6687
|
//#region src/slices/support_ticket/staff/components/ApproveRejectActions.vue
|
|
6657
|
-
const _hoisted_1$
|
|
6688
|
+
const _hoisted_1$17 = {
|
|
6658
6689
|
key: 0,
|
|
6659
6690
|
class: "alert alert-warning py-2"
|
|
6660
6691
|
};
|
|
6661
|
-
const _hoisted_2$
|
|
6692
|
+
const _hoisted_2$16 = {
|
|
6662
6693
|
key: 1,
|
|
6663
6694
|
class: "space-y-3"
|
|
6664
6695
|
};
|
|
@@ -6719,7 +6750,7 @@ const _hoisted_35 = {
|
|
|
6719
6750
|
key: 0,
|
|
6720
6751
|
class: "loading loading-spinner loading-xs mr-2"
|
|
6721
6752
|
};
|
|
6722
|
-
const _sfc_main$
|
|
6753
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
6723
6754
|
__name: "ApproveRejectActions",
|
|
6724
6755
|
props: { support_ticket: {} },
|
|
6725
6756
|
emits: ["update"],
|
|
@@ -6842,7 +6873,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
6842
6873
|
props.support_ticket.approval_status === "PENDING" ? (openBlock(), createBlock(ZiniaContainer_default, { key: 0 }, {
|
|
6843
6874
|
default: withCtx(() => [
|
|
6844
6875
|
_cache[4] || (_cache[4] = createElementVNode("h3", { class: "card-title text-base sm:text-lg" }, "Approve or Reject", -1)),
|
|
6845
|
-
unref(formatStaffCreditValue)(props.support_ticket.credit_value, props.support_ticket.approval_status) === "TBD" ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6876
|
+
unref(formatStaffCreditValue)(props.support_ticket.credit_value, props.support_ticket.approval_status) === "TBD" ? (openBlock(), createElementBlock("div", _hoisted_1$17, [..._cache[2] || (_cache[2] = [createElementVNode("div", null, [createElementVNode("svg", {
|
|
6846
6877
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6847
6878
|
class: "stroke-current shrink-0 h-5 w-5",
|
|
6848
6879
|
fill: "none",
|
|
@@ -6852,7 +6883,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
6852
6883
|
"stroke-linejoin": "round",
|
|
6853
6884
|
"stroke-width": "2",
|
|
6854
6885
|
d: "M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"
|
|
6855
|
-
})]), createElementVNode("span", { class: "text-xs sm:text-sm" }, "You must set an estimate before approving")], -1)])])) : (openBlock(), createElementBlock("div", _hoisted_2$
|
|
6886
|
+
})]), createElementVNode("span", { class: "text-xs sm:text-sm" }, "You must set an estimate before approving")], -1)])])) : (openBlock(), createElementBlock("div", _hoisted_2$16, [
|
|
6856
6887
|
createElementVNode("div", _hoisted_3$15, [createElementVNode("div", null, [createElementVNode("span", _hoisted_4$14, "Estimate: " + toDisplayString(unref(formatStaffCreditValue)(props.support_ticket.credit_value, props.support_ticket.approval_status)) + " credits", 1)])]),
|
|
6857
6888
|
createCommentVNode(" Show Customer's Credit Balance "),
|
|
6858
6889
|
createElementVNode("div", _hoisted_5$10, [_cache[3] || (_cache[3] = createElementVNode("h4", { class: "text-xs sm:text-sm font-medium mb-2" }, "Customer Balance Check", -1)), createVNode(CustomerCreditBalance_default)])
|
|
@@ -6949,12 +6980,12 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
6949
6980
|
};
|
|
6950
6981
|
}
|
|
6951
6982
|
});
|
|
6952
|
-
var ApproveRejectActions_default = _sfc_main$
|
|
6983
|
+
var ApproveRejectActions_default = _sfc_main$19;
|
|
6953
6984
|
|
|
6954
6985
|
//#endregion
|
|
6955
6986
|
//#region src/slices/support_ticket/staff/components/CancelInternalTaskWorkflow.vue
|
|
6956
|
-
const _hoisted_1$
|
|
6957
|
-
const _hoisted_2$
|
|
6987
|
+
const _hoisted_1$16 = { class: "flex justify-end mt-4" };
|
|
6988
|
+
const _hoisted_2$15 = ["disabled"];
|
|
6958
6989
|
const _hoisted_3$14 = {
|
|
6959
6990
|
key: 0,
|
|
6960
6991
|
class: "loading loading-spinner loading-sm mr-2"
|
|
@@ -6968,7 +6999,7 @@ const _hoisted_6$8 = { class: "modal-box" };
|
|
|
6968
6999
|
const _hoisted_7$7 = { class: "font-bold text-lg" };
|
|
6969
7000
|
const _hoisted_8$7 = { class: "py-4 whitespace-pre-line" };
|
|
6970
7001
|
const _hoisted_9$6 = { class: "modal-action" };
|
|
6971
|
-
const _sfc_main$
|
|
7002
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
6972
7003
|
__name: "CancelInternalTaskWorkflow",
|
|
6973
7004
|
props: { support_ticket: {} },
|
|
6974
7005
|
emits: ["update"],
|
|
@@ -7016,11 +7047,11 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
7016
7047
|
createElementVNode("li", null, "Task is marked as terminal state"),
|
|
7017
7048
|
createElementVNode("li", null, "No credit impact (internal tasks have no credits)")
|
|
7018
7049
|
])])], -1)),
|
|
7019
|
-
createElementVNode("div", _hoisted_1$
|
|
7050
|
+
createElementVNode("div", _hoisted_1$16, [createElementVNode("button", {
|
|
7020
7051
|
class: "btn btn-error w-full sm:w-auto",
|
|
7021
7052
|
onClick: withModifiers(showCancelModal, ["prevent"]),
|
|
7022
7053
|
disabled: unref(isCancelling)
|
|
7023
|
-
}, [unref(isCancelling) ? (openBlock(), createElementBlock("span", _hoisted_3$14)) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(unref(isCancelling) ? "Cancelling..." : "Cancel Internal Task"), 1)], 8, _hoisted_2$
|
|
7054
|
+
}, [unref(isCancelling) ? (openBlock(), createElementBlock("span", _hoisted_3$14)) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(unref(isCancelling) ? "Cancelling..." : "Cancel Internal Task"), 1)], 8, _hoisted_2$15)]),
|
|
7024
7055
|
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$13, [createElementVNode("span", _hoisted_5$9, toDisplayString(error.value), 1)])) : createCommentVNode("v-if", true)
|
|
7025
7056
|
]),
|
|
7026
7057
|
_: 1
|
|
@@ -7048,19 +7079,19 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
7048
7079
|
};
|
|
7049
7080
|
}
|
|
7050
7081
|
});
|
|
7051
|
-
var CancelInternalTaskWorkflow_default = _sfc_main$
|
|
7082
|
+
var CancelInternalTaskWorkflow_default = _sfc_main$18;
|
|
7052
7083
|
|
|
7053
7084
|
//#endregion
|
|
7054
7085
|
//#region src/slices/support_ticket/staff/components/CompleteSupportTicketForm.vue
|
|
7055
|
-
const _hoisted_1$
|
|
7056
|
-
const _hoisted_2$
|
|
7086
|
+
const _hoisted_1$15 = { class: "text-xs sm:text-sm text-base-content/70 mb-4" };
|
|
7087
|
+
const _hoisted_2$14 = { class: "font-semibold" };
|
|
7057
7088
|
const _hoisted_3$13 = { class: "text-xs sm:text-sm" };
|
|
7058
7089
|
const _hoisted_4$12 = { class: "grid grid-cols-2 gap-2 sm:gap-4 mt-2" };
|
|
7059
7090
|
const _hoisted_5$8 = { class: "bg-base-100 p-3 rounded-lg" };
|
|
7060
7091
|
const _hoisted_6$7 = { class: "text-lg sm:text-xl font-bold text-primary" };
|
|
7061
7092
|
const _hoisted_7$6 = { class: "bg-base-100 p-3 rounded-lg" };
|
|
7062
7093
|
const _hoisted_8$6 = { class: "text-xs text-base-content/60" };
|
|
7063
|
-
const _sfc_main$
|
|
7094
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
7064
7095
|
__name: "CompleteSupportTicketForm",
|
|
7065
7096
|
props: { support_ticket: {} },
|
|
7066
7097
|
emits: ["update"],
|
|
@@ -7146,9 +7177,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
7146
7177
|
}, {
|
|
7147
7178
|
default: withCtx(() => [
|
|
7148
7179
|
_cache[2] || (_cache[2] = createElementVNode("h3", { class: "card-title text-base sm:text-lg" }, "Complete Support Ticket", -1)),
|
|
7149
|
-
createElementVNode("p", _hoisted_1$
|
|
7180
|
+
createElementVNode("p", _hoisted_1$15, [
|
|
7150
7181
|
_cache[0] || (_cache[0] = createTextVNode(" Customer was charged ", -1)),
|
|
7151
|
-
createElementVNode("span", _hoisted_2$
|
|
7182
|
+
createElementVNode("span", _hoisted_2$14, toDisplayString(unref(formatStaffCreditValue)(props.support_ticket.credit_value, props.support_ticket.approval_status)), 1),
|
|
7152
7183
|
_cache[1] || (_cache[1] = createTextVNode(" credits ", -1))
|
|
7153
7184
|
]),
|
|
7154
7185
|
createCommentVNode(" Delivered Value Field "),
|
|
@@ -7183,12 +7214,12 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
7183
7214
|
};
|
|
7184
7215
|
}
|
|
7185
7216
|
});
|
|
7186
|
-
var CompleteSupportTicketForm_default = _sfc_main$
|
|
7217
|
+
var CompleteSupportTicketForm_default = _sfc_main$17;
|
|
7187
7218
|
|
|
7188
7219
|
//#endregion
|
|
7189
7220
|
//#region src/slices/support_ticket/staff/components/ConvertToCustomerWorkflow.vue
|
|
7190
|
-
const _hoisted_1$
|
|
7191
|
-
const _hoisted_2$
|
|
7221
|
+
const _hoisted_1$14 = { class: "flex justify-end mt-4" };
|
|
7222
|
+
const _hoisted_2$13 = ["disabled"];
|
|
7192
7223
|
const _hoisted_3$12 = {
|
|
7193
7224
|
key: 0,
|
|
7194
7225
|
class: "loading loading-spinner loading-sm mr-2"
|
|
@@ -7202,7 +7233,7 @@ const _hoisted_6$6 = { class: "modal-box" };
|
|
|
7202
7233
|
const _hoisted_7$5 = { class: "font-bold text-lg" };
|
|
7203
7234
|
const _hoisted_8$5 = { class: "py-4 whitespace-pre-line" };
|
|
7204
7235
|
const _hoisted_9$5 = { class: "modal-action" };
|
|
7205
|
-
const _sfc_main$
|
|
7236
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
7206
7237
|
__name: "ConvertToCustomerWorkflow",
|
|
7207
7238
|
props: { support_ticket: {} },
|
|
7208
7239
|
emits: ["update"],
|
|
@@ -7250,11 +7281,11 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
7250
7281
|
createElementVNode("li", null, "Clears dev lifecycle (back to planning)"),
|
|
7251
7282
|
createElementVNode("li", null, "Staff must set credit estimate before approval")
|
|
7252
7283
|
])])], -1)),
|
|
7253
|
-
createElementVNode("div", _hoisted_1$
|
|
7284
|
+
createElementVNode("div", _hoisted_1$14, [createElementVNode("button", {
|
|
7254
7285
|
class: "btn btn-primary w-full sm:w-auto",
|
|
7255
7286
|
onClick: withModifiers(showConvertModal, ["prevent"]),
|
|
7256
7287
|
disabled: unref(isConverting)
|
|
7257
|
-
}, [unref(isConverting) ? (openBlock(), createElementBlock("span", _hoisted_3$12)) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(unref(isConverting) ? "Converting..." : "Convert to Customer SupportTicket"), 1)], 8, _hoisted_2$
|
|
7288
|
+
}, [unref(isConverting) ? (openBlock(), createElementBlock("span", _hoisted_3$12)) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(unref(isConverting) ? "Converting..." : "Convert to Customer SupportTicket"), 1)], 8, _hoisted_2$13)]),
|
|
7258
7289
|
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$11, [createElementVNode("span", _hoisted_5$7, toDisplayString(error.value), 1)])) : createCommentVNode("v-if", true)
|
|
7259
7290
|
]),
|
|
7260
7291
|
_: 1
|
|
@@ -7282,12 +7313,12 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
7282
7313
|
};
|
|
7283
7314
|
}
|
|
7284
7315
|
});
|
|
7285
|
-
var ConvertToCustomerWorkflow_default = _sfc_main$
|
|
7316
|
+
var ConvertToCustomerWorkflow_default = _sfc_main$16;
|
|
7286
7317
|
|
|
7287
7318
|
//#endregion
|
|
7288
7319
|
//#region src/slices/support_ticket/staff/components/ConvertToInternalWorkflow.vue
|
|
7289
|
-
const _hoisted_1$
|
|
7290
|
-
const _hoisted_2$
|
|
7320
|
+
const _hoisted_1$13 = { class: "flex justify-end mt-4" };
|
|
7321
|
+
const _hoisted_2$12 = ["disabled"];
|
|
7291
7322
|
const _hoisted_3$11 = {
|
|
7292
7323
|
key: 0,
|
|
7293
7324
|
class: "loading loading-spinner loading-sm mr-2"
|
|
@@ -7301,7 +7332,7 @@ const _hoisted_6$5 = { class: "modal-box" };
|
|
|
7301
7332
|
const _hoisted_7$4 = { class: "font-bold text-lg" };
|
|
7302
7333
|
const _hoisted_8$4 = { class: "py-4 whitespace-pre-line" };
|
|
7303
7334
|
const _hoisted_9$4 = { class: "modal-action" };
|
|
7304
|
-
const _sfc_main$
|
|
7335
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
7305
7336
|
__name: "ConvertToInternalWorkflow",
|
|
7306
7337
|
props: { support_ticket: {} },
|
|
7307
7338
|
emits: ["update"],
|
|
@@ -7350,11 +7381,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
7350
7381
|
createElementVNode("li", null, "Automatically clears any credit estimates (internal tasks = no credits)"),
|
|
7351
7382
|
createElementVNode("li", null, "Can start development immediately")
|
|
7352
7383
|
])])], -1)),
|
|
7353
|
-
createElementVNode("div", _hoisted_1$
|
|
7384
|
+
createElementVNode("div", _hoisted_1$13, [createElementVNode("button", {
|
|
7354
7385
|
class: "btn btn-primary w-full sm:w-auto",
|
|
7355
7386
|
onClick: withModifiers(showConvertModal, ["prevent"]),
|
|
7356
7387
|
disabled: unref(isConverting)
|
|
7357
|
-
}, [unref(isConverting) ? (openBlock(), createElementBlock("span", _hoisted_3$11)) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(unref(isConverting) ? "Converting..." : "Convert to Internal Task"), 1)], 8, _hoisted_2$
|
|
7388
|
+
}, [unref(isConverting) ? (openBlock(), createElementBlock("span", _hoisted_3$11)) : createCommentVNode("v-if", true), createTextVNode(" " + toDisplayString(unref(isConverting) ? "Converting..." : "Convert to Internal Task"), 1)], 8, _hoisted_2$12)]),
|
|
7358
7389
|
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$10, [createElementVNode("span", _hoisted_5$6, toDisplayString(error.value), 1)])) : createCommentVNode("v-if", true)
|
|
7359
7390
|
]),
|
|
7360
7391
|
_: 1
|
|
@@ -7382,12 +7413,12 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
7382
7413
|
};
|
|
7383
7414
|
}
|
|
7384
7415
|
});
|
|
7385
|
-
var ConvertToInternalWorkflow_default = _sfc_main$
|
|
7416
|
+
var ConvertToInternalWorkflow_default = _sfc_main$15;
|
|
7386
7417
|
|
|
7387
7418
|
//#endregion
|
|
7388
7419
|
//#region src/slices/support_ticket/staff/components/ReactivateInternalTaskWorkflow.vue
|
|
7389
|
-
const _hoisted_1$
|
|
7390
|
-
const _hoisted_2$
|
|
7420
|
+
const _hoisted_1$12 = { class: "alert alert-info py-2" };
|
|
7421
|
+
const _hoisted_2$11 = { class: "flex flex-col gap-2" };
|
|
7391
7422
|
const _hoisted_3$10 = { class: "text-xs sm:text-sm space-y-1 ml-4 list-disc" };
|
|
7392
7423
|
const _hoisted_4$9 = { key: 0 };
|
|
7393
7424
|
const _hoisted_5$5 = { key: 1 };
|
|
@@ -7406,7 +7437,7 @@ const _hoisted_11$2 = { class: "modal-box" };
|
|
|
7406
7437
|
const _hoisted_12$1 = { class: "font-bold text-lg" };
|
|
7407
7438
|
const _hoisted_13 = { class: "py-4 whitespace-pre-line" };
|
|
7408
7439
|
const _hoisted_14 = { class: "modal-action" };
|
|
7409
|
-
const _sfc_main$
|
|
7440
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
7410
7441
|
__name: "ReactivateInternalTaskWorkflow",
|
|
7411
7442
|
props: { support_ticket: {} },
|
|
7412
7443
|
emits: ["update"],
|
|
@@ -7450,7 +7481,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
7450
7481
|
props.support_ticket.approval_status === "INTERNAL" && (props.support_ticket.dev_lifecycle === "CANCELLED" || props.support_ticket.dev_lifecycle === "DEPLOYED") ? (openBlock(), createBlock(ZiniaContainer_default, { key: 0 }, {
|
|
7451
7482
|
default: withCtx(() => [
|
|
7452
7483
|
_cache[5] || (_cache[5] = createElementVNode("h3", { class: "card-title text-base sm:text-lg" }, "Reopen Internal Task", -1)),
|
|
7453
|
-
createElementVNode("div", _hoisted_1$
|
|
7484
|
+
createElementVNode("div", _hoisted_1$12, [createElementVNode("div", _hoisted_2$11, [_cache[4] || (_cache[4] = createElementVNode("span", { class: "font-semibold text-sm" }, "What happens when you reopen:", -1)), createElementVNode("ul", _hoisted_3$10, [
|
|
7454
7485
|
props.support_ticket.dev_lifecycle === "CANCELLED" ? (openBlock(), createElementBlock("li", _hoisted_4$9, " Sets dev lifecycle to BACKLOG (fresh start) ")) : (openBlock(), createElementBlock("li", _hoisted_5$5, "Sets dev lifecycle to PO_APPROVAL (ready for review/fixes)")),
|
|
7455
7486
|
_cache[1] || (_cache[1] = createElementVNode("li", null, "Clears completion timestamp", -1)),
|
|
7456
7487
|
_cache[2] || (_cache[2] = createElementVNode("li", null, "Task becomes active again", -1)),
|
|
@@ -7488,7 +7519,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
7488
7519
|
};
|
|
7489
7520
|
}
|
|
7490
7521
|
});
|
|
7491
|
-
var ReactivateInternalTaskWorkflow_default = _sfc_main$
|
|
7522
|
+
var ReactivateInternalTaskWorkflow_default = _sfc_main$14;
|
|
7492
7523
|
|
|
7493
7524
|
//#endregion
|
|
7494
7525
|
//#region src/slices/support_ticket/staff/StaffSupportTicketMetadata.ts
|
|
@@ -7556,11 +7587,11 @@ const adminSupportTicketUpdateSchemaWithMetadata = withMetadata(StaffSupportTick
|
|
|
7556
7587
|
|
|
7557
7588
|
//#endregion
|
|
7558
7589
|
//#region src/slices/support_ticket/staff/StaffCreateSupportTicketForm.vue
|
|
7559
|
-
const _hoisted_1$
|
|
7590
|
+
const _hoisted_1$11 = {
|
|
7560
7591
|
key: 0,
|
|
7561
7592
|
class: "flex flex-col items-center justify-center p-8"
|
|
7562
7593
|
};
|
|
7563
|
-
const _hoisted_2$
|
|
7594
|
+
const _hoisted_2$10 = {
|
|
7564
7595
|
key: 1,
|
|
7565
7596
|
class: "flex flex-col items-center justify-center p-8"
|
|
7566
7597
|
};
|
|
@@ -7571,7 +7602,7 @@ const _hoisted_5$4 = {
|
|
|
7571
7602
|
class: "alert alert-error mb-4"
|
|
7572
7603
|
};
|
|
7573
7604
|
const _hoisted_6$3 = { class: "flex justify-center mt-6" };
|
|
7574
|
-
const _sfc_main$
|
|
7605
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
7575
7606
|
__name: "StaffCreateSupportTicketForm",
|
|
7576
7607
|
setup(__props) {
|
|
7577
7608
|
const router = useRouter();
|
|
@@ -7646,7 +7677,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
7646
7677
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
7647
7678
|
};
|
|
7648
7679
|
return (_ctx, _cache) => {
|
|
7649
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7680
|
+
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$11, [..._cache[0] || (_cache[0] = [createElementVNode("div", { class: "loading loading-spinner loading-lg" }, null, -1), createElementVNode("p", { class: "mt-4 text-lg" }, "Loading...", -1)])])) : unref(form).loadError ? (openBlock(), createElementBlock("div", _hoisted_2$10, [createElementVNode("p", _hoisted_3$9, toDisplayString(unref(form).loadError), 1)])) : (openBlock(), createBlock(unref(ZiniaForm), {
|
|
7650
7681
|
key: 2,
|
|
7651
7682
|
onBeforeValidate: beforeValidate,
|
|
7652
7683
|
onHandleSubmit: handleSubmit,
|
|
@@ -7728,7 +7759,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
7728
7759
|
};
|
|
7729
7760
|
}
|
|
7730
7761
|
});
|
|
7731
|
-
var StaffCreateSupportTicketForm_default = _sfc_main$
|
|
7762
|
+
var StaffCreateSupportTicketForm_default = _sfc_main$13;
|
|
7732
7763
|
|
|
7733
7764
|
//#endregion
|
|
7734
7765
|
//#region src/slices/support_ticket/staff/StaffSupportTicketRowSchema.ts
|
|
@@ -7740,8 +7771,8 @@ const adminSupportTicketRowSchemaWithMetadata = withMetadata(StaffSupportTicketR
|
|
|
7740
7771
|
|
|
7741
7772
|
//#endregion
|
|
7742
7773
|
//#region src/slices/support_ticket/staff/StaffSupportTicketList.vue
|
|
7743
|
-
const _hoisted_1$
|
|
7744
|
-
const _hoisted_2$
|
|
7774
|
+
const _hoisted_1$10 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-4" };
|
|
7775
|
+
const _hoisted_2$9 = { class: "flex items-center gap-2" };
|
|
7745
7776
|
const _hoisted_3$8 = { class: "flex flex-col sm:flex-row gap-2" };
|
|
7746
7777
|
const _hoisted_4$7 = [
|
|
7747
7778
|
"value",
|
|
@@ -7749,7 +7780,7 @@ const _hoisted_4$7 = [
|
|
|
7749
7780
|
"onChange"
|
|
7750
7781
|
];
|
|
7751
7782
|
const _hoisted_5$3 = ["value"];
|
|
7752
|
-
const _sfc_main$
|
|
7783
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
7753
7784
|
__name: "StaffSupportTicketList",
|
|
7754
7785
|
setup(__props) {
|
|
7755
7786
|
const route = useRoute();
|
|
@@ -7928,7 +7959,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
7928
7959
|
});
|
|
7929
7960
|
return (_ctx, _cache) => {
|
|
7930
7961
|
const _component_router_link = resolveComponent("router-link");
|
|
7931
|
-
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$
|
|
7962
|
+
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$10, [createElementVNode("div", _hoisted_2$9, [createVNode(unref(SavedFilterPresets_default), {
|
|
7932
7963
|
presets: unref(savedFilters).presets.value,
|
|
7933
7964
|
"presets-loading": unref(savedFilters).presetsLoading.value,
|
|
7934
7965
|
creating: unref(savedFilters).creating.value,
|
|
@@ -8015,19 +8046,19 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
8015
8046
|
};
|
|
8016
8047
|
}
|
|
8017
8048
|
});
|
|
8018
|
-
var StaffSupportTicketList_default = _sfc_main$
|
|
8049
|
+
var StaffSupportTicketList_default = _sfc_main$12;
|
|
8019
8050
|
|
|
8020
8051
|
//#endregion
|
|
8021
8052
|
//#region src/slices/support_ticket/staff/StaffSupportTicketSuccess.vue
|
|
8022
|
-
const _hoisted_1$
|
|
8023
|
-
const _hoisted_2$
|
|
8053
|
+
const _hoisted_1$9 = { class: "flex flex-col items-center justify-center min-h-[60vh] p-8" };
|
|
8054
|
+
const _hoisted_2$8 = { class: "text-center max-w-2xl" };
|
|
8024
8055
|
const _hoisted_3$7 = { class: "flex flex-col sm:flex-row gap-4 justify-center" };
|
|
8025
|
-
const _sfc_main$
|
|
8056
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
8026
8057
|
__name: "StaffSupportTicketSuccess",
|
|
8027
8058
|
setup(__props) {
|
|
8028
8059
|
return (_ctx, _cache) => {
|
|
8029
8060
|
const _component_router_link = resolveComponent("router-link");
|
|
8030
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8061
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [createElementVNode("div", _hoisted_2$8, [
|
|
8031
8062
|
createCommentVNode(" Success Icon "),
|
|
8032
8063
|
_cache[2] || (_cache[2] = createElementVNode("div", { class: "mb-6" }, [createElementVNode("div", { class: "inline-flex items-center justify-center w-20 h-20 bg-success rounded-full" }, [createElementVNode("svg", {
|
|
8033
8064
|
class: "w-10 h-10 text-success-content",
|
|
@@ -8064,15 +8095,15 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
8064
8095
|
};
|
|
8065
8096
|
}
|
|
8066
8097
|
});
|
|
8067
|
-
var StaffSupportTicketSuccess_default = _sfc_main$
|
|
8098
|
+
var StaffSupportTicketSuccess_default = _sfc_main$11;
|
|
8068
8099
|
|
|
8069
8100
|
//#endregion
|
|
8070
8101
|
//#region src/slices/support_ticket/shared/CreditBalanceWidget.vue
|
|
8071
|
-
const _hoisted_1$
|
|
8102
|
+
const _hoisted_1$8 = {
|
|
8072
8103
|
key: 0,
|
|
8073
8104
|
class: "flex items-center gap-2"
|
|
8074
8105
|
};
|
|
8075
|
-
const _hoisted_2$
|
|
8106
|
+
const _hoisted_2$7 = { class: "flex items-center gap-2" };
|
|
8076
8107
|
const _hoisted_3$6 = { class: "font-bold" };
|
|
8077
8108
|
const _hoisted_4$6 = { class: "space-y-3" };
|
|
8078
8109
|
const _hoisted_5$2 = {
|
|
@@ -8092,7 +8123,7 @@ const _hoisted_12 = {
|
|
|
8092
8123
|
key: 2,
|
|
8093
8124
|
class: "pt-2"
|
|
8094
8125
|
};
|
|
8095
|
-
const _sfc_main$
|
|
8126
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
8096
8127
|
__name: "CreditBalanceWidget",
|
|
8097
8128
|
props: {
|
|
8098
8129
|
variant: { default: "full" },
|
|
@@ -8119,7 +8150,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
8119
8150
|
});
|
|
8120
8151
|
return (_ctx, _cache) => {
|
|
8121
8152
|
const _component_router_link = resolveComponent("router-link");
|
|
8122
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["credit-balance-widget", __props.variant === "compact" ? "compact" : ""]) }, [createCommentVNode(" Loading State "), unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
8153
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["credit-balance-widget", __props.variant === "compact" ? "compact" : ""]) }, [createCommentVNode(" Loading State "), unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_1$8, [..._cache[1] || (_cache[1] = [createElementVNode("span", { class: "loading loading-spinner loading-sm" }, null, -1), createElementVNode("span", { class: "text-sm" }, "Loading credits...", -1)])])) : unref(error) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [createCommentVNode(" Error State "), _cache[2] || (_cache[2] = createElementVNode("div", { class: "alert alert-error" }, [createElementVNode("span", { class: "text-sm" }, "Failed to load credit balance")], -1))], 2112)) : __props.variant === "compact" && creditBalance.value ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [createCommentVNode(" Compact Variant (Badge) "), createElementVNode("div", _hoisted_2$7, [createElementVNode("div", { class: normalizeClass(["badge badge-lg gap-2", {
|
|
8123
8154
|
"badge-success": totalAvailable.value > 0,
|
|
8124
8155
|
"badge-warning": totalAvailable.value === 0
|
|
8125
8156
|
}]) }, [_cache[3] || (_cache[3] = createElementVNode("svg", {
|
|
@@ -8174,11 +8205,11 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
8174
8205
|
};
|
|
8175
8206
|
}
|
|
8176
8207
|
});
|
|
8177
|
-
var CreditBalanceWidget_default = /* @__PURE__ */ export_helper_default(_sfc_main$
|
|
8208
|
+
var CreditBalanceWidget_default = /* @__PURE__ */ export_helper_default(_sfc_main$10, [["__scopeId", "data-v-703dc3c5"]]);
|
|
8178
8209
|
|
|
8179
8210
|
//#endregion
|
|
8180
8211
|
//#region src/slices/support_ticket/shared/SupportTicketAttachments.vue
|
|
8181
|
-
const _sfc_main$
|
|
8212
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
8182
8213
|
__name: "SupportTicketAttachments",
|
|
8183
8214
|
setup(__props) {
|
|
8184
8215
|
const supportTicketId = useRoute().params.id;
|
|
@@ -8192,7 +8223,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
8192
8223
|
};
|
|
8193
8224
|
}
|
|
8194
8225
|
});
|
|
8195
|
-
var SupportTicketAttachments_default = _sfc_main$
|
|
8226
|
+
var SupportTicketAttachments_default = _sfc_main$9;
|
|
8196
8227
|
|
|
8197
8228
|
//#endregion
|
|
8198
8229
|
//#region src/slices/support_ticket/staff/staffSupportTicketFiltersMetadata.ts
|
|
@@ -8440,7 +8471,7 @@ const baseRoutes = [
|
|
|
8440
8471
|
{
|
|
8441
8472
|
path: authPaths.login.path,
|
|
8442
8473
|
name: authPaths.login.name,
|
|
8443
|
-
component: () => import("./LoginForm-
|
|
8474
|
+
component: () => import("./LoginForm-YCzdrekw.js"),
|
|
8444
8475
|
meta: {
|
|
8445
8476
|
title: "Login",
|
|
8446
8477
|
description: "Login page for Category 5 App"
|
|
@@ -8450,7 +8481,7 @@ const baseRoutes = [
|
|
|
8450
8481
|
{
|
|
8451
8482
|
path: authPaths.forgot_password.path,
|
|
8452
8483
|
name: authPaths.forgot_password.name,
|
|
8453
|
-
component: () => import("./ForgotPassword-
|
|
8484
|
+
component: () => import("./ForgotPassword-rSN-8EC4.js"),
|
|
8454
8485
|
meta: {
|
|
8455
8486
|
title: "Forgot Password",
|
|
8456
8487
|
description: "Forgot Password page for Category 5 App"
|
|
@@ -8460,7 +8491,7 @@ const baseRoutes = [
|
|
|
8460
8491
|
{
|
|
8461
8492
|
path: authPaths.reset_password.path,
|
|
8462
8493
|
name: authPaths.reset_password.name,
|
|
8463
|
-
component: () => import("./ResetPassword-
|
|
8494
|
+
component: () => import("./ResetPassword-BCzMTXpT.js"),
|
|
8464
8495
|
meta: {
|
|
8465
8496
|
title: "Reset Password",
|
|
8466
8497
|
description: "Reset Password page for Category 5 App"
|
|
@@ -8470,7 +8501,7 @@ const baseRoutes = [
|
|
|
8470
8501
|
{
|
|
8471
8502
|
path: authPaths.logout.path,
|
|
8472
8503
|
name: authPaths.logout.name,
|
|
8473
|
-
component: () => import("./Logout-
|
|
8504
|
+
component: () => import("./Logout-Ctc8b-B0.js"),
|
|
8474
8505
|
meta: {
|
|
8475
8506
|
title: "Logout",
|
|
8476
8507
|
description: "Logout page for Category 5 App"
|
|
@@ -8479,7 +8510,7 @@ const baseRoutes = [
|
|
|
8479
8510
|
{
|
|
8480
8511
|
path: authPaths.mfa_setup.path,
|
|
8481
8512
|
name: authPaths.mfa_setup.name,
|
|
8482
|
-
component: () => import("./MfaSetup-
|
|
8513
|
+
component: () => import("./MfaSetup-xNmNjSh1.js"),
|
|
8483
8514
|
meta: {
|
|
8484
8515
|
title: "Set Up Two-Factor Authentication",
|
|
8485
8516
|
description: "Enable MFA for your account"
|
|
@@ -8488,7 +8519,7 @@ const baseRoutes = [
|
|
|
8488
8519
|
{
|
|
8489
8520
|
path: authPaths.mfa_verify.path,
|
|
8490
8521
|
name: authPaths.mfa_verify.name,
|
|
8491
|
-
component: () => import("./MfaVerify-
|
|
8522
|
+
component: () => import("./MfaVerify-C0COXH_W.js"),
|
|
8492
8523
|
meta: {
|
|
8493
8524
|
title: "Verify Two-Factor Authentication",
|
|
8494
8525
|
description: "Enter your MFA code to complete sign in"
|
|
@@ -8497,7 +8528,7 @@ const baseRoutes = [
|
|
|
8497
8528
|
{
|
|
8498
8529
|
path: authPaths.verify_email.path,
|
|
8499
8530
|
name: authPaths.verify_email.name,
|
|
8500
|
-
component: () => import("./VerifyEmail-
|
|
8531
|
+
component: () => import("./VerifyEmail-5thal4d_.js"),
|
|
8501
8532
|
meta: {
|
|
8502
8533
|
title: "Verify Email",
|
|
8503
8534
|
description: "Verify your email address"
|
|
@@ -8506,7 +8537,7 @@ const baseRoutes = [
|
|
|
8506
8537
|
{
|
|
8507
8538
|
path: authPaths.verify_email_required.path,
|
|
8508
8539
|
name: authPaths.verify_email_required.name,
|
|
8509
|
-
component: () => import("./VerifyEmailRequired-
|
|
8540
|
+
component: () => import("./VerifyEmailRequired-BCKREd_C.js"),
|
|
8510
8541
|
meta: {
|
|
8511
8542
|
title: "Verify Email",
|
|
8512
8543
|
description: "Check your email to verify your account"
|
|
@@ -8516,7 +8547,7 @@ const baseRoutes = [
|
|
|
8516
8547
|
if (allowUserSignup) baseRoutes.splice(1, 0, {
|
|
8517
8548
|
path: authPaths.register.path,
|
|
8518
8549
|
name: authPaths.register.name,
|
|
8519
|
-
component: () => import("./Signup-
|
|
8550
|
+
component: () => import("./Signup-DNEklGpK.js"),
|
|
8520
8551
|
meta: {
|
|
8521
8552
|
title: "Register",
|
|
8522
8553
|
description: "Register page for Category 5 App"
|
|
@@ -8525,85 +8556,6 @@ if (allowUserSignup) baseRoutes.splice(1, 0, {
|
|
|
8525
8556
|
});
|
|
8526
8557
|
const authRoutes = baseRoutes;
|
|
8527
8558
|
|
|
8528
|
-
//#endregion
|
|
8529
|
-
//#region src/slices/auth/features/reset_password/reset_password_schema.ts
|
|
8530
|
-
const resetPasswordSchemaWithMetadata = withMetadata(resetPasswordInputSchema, "resetPasswordSchema", {
|
|
8531
|
-
"passwords.password": {
|
|
8532
|
-
inputType: "password",
|
|
8533
|
-
placeholder: "••••••••",
|
|
8534
|
-
helpText: "Must be at least 8 characters",
|
|
8535
|
-
autocomplete: "new-password",
|
|
8536
|
-
className: "login-field"
|
|
8537
|
-
},
|
|
8538
|
-
"passwords.password_confirm": {
|
|
8539
|
-
inputType: "password",
|
|
8540
|
-
placeholder: "••••••••",
|
|
8541
|
-
helpText: "Must be at least 8 characters",
|
|
8542
|
-
autocomplete: "new-password",
|
|
8543
|
-
className: "login-field"
|
|
8544
|
-
}
|
|
8545
|
-
});
|
|
8546
|
-
|
|
8547
|
-
//#endregion
|
|
8548
|
-
//#region src/slices/auth/features/reset_password/ResetPassword.vue
|
|
8549
|
-
const _hoisted_1$8 = { class: "max-w-md mx-auto bg-base-200 p-6 rounded-xl shadow-md container" };
|
|
8550
|
-
const _hoisted_2$7 = { class: "text-center mt-2" };
|
|
8551
|
-
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
8552
|
-
__name: "ResetPassword",
|
|
8553
|
-
setup(__props) {
|
|
8554
|
-
const router = useRouter();
|
|
8555
|
-
const token = useRoute().params.token;
|
|
8556
|
-
const { form, zinia, ZiniaForm, ZiniaSubmitButton } = useForm(resetPasswordSchemaWithMetadata, {
|
|
8557
|
-
storeName: "reset-password-form",
|
|
8558
|
-
persistToLocalStorage: false,
|
|
8559
|
-
renderStyle: "daisy_ui"
|
|
8560
|
-
});
|
|
8561
|
-
const { mutate: resetPasswordMutate } = useMutation((api, input) => api.passwordReset.resetPassword(input), { skipAuthCheck: true });
|
|
8562
|
-
const handleSubmit = async (data) => {
|
|
8563
|
-
const result = await resetPasswordMutate({
|
|
8564
|
-
...data,
|
|
8565
|
-
token
|
|
8566
|
-
});
|
|
8567
|
-
if (!result?.ok) throw new Error("Reset password failed");
|
|
8568
|
-
return result;
|
|
8569
|
-
};
|
|
8570
|
-
const handleSuccess = async (_data) => {
|
|
8571
|
-
form.reset();
|
|
8572
|
-
await router.push(authPaths.login.full_path);
|
|
8573
|
-
toast.success("Password reset successful!");
|
|
8574
|
-
};
|
|
8575
|
-
const handleError = (error) => {
|
|
8576
|
-
console.log("Reset password failed", error);
|
|
8577
|
-
toast.error(error.message || "Reset password failed");
|
|
8578
|
-
};
|
|
8579
|
-
return (_ctx, _cache) => {
|
|
8580
|
-
return openBlock(), createElementBlock("div", _hoisted_1$8, [_cache[2] || (_cache[2] = createElementVNode("h1", { class: "text-2xl font-bold mb-6 text-center" }, "Reset Password", -1)), createVNode(unref(ZiniaForm), {
|
|
8581
|
-
onHandleSubmit: handleSubmit,
|
|
8582
|
-
onSuccess: handleSuccess,
|
|
8583
|
-
onError: handleError
|
|
8584
|
-
}, {
|
|
8585
|
-
default: withCtx(() => [
|
|
8586
|
-
createVNode(unref(zinia).PasswordsPasswordField),
|
|
8587
|
-
createVNode(unref(zinia).PasswordsPasswordConfirmField),
|
|
8588
|
-
createVNode(unref(ZiniaSubmitButton), {
|
|
8589
|
-
submitText: "Reset Password",
|
|
8590
|
-
submittingText: "Resetting Password..."
|
|
8591
|
-
}),
|
|
8592
|
-
createElementVNode("div", _hoisted_2$7, [createElementVNode("p", null, [_cache[1] || (_cache[1] = createTextVNode(" Already have an account? ", -1)), createVNode(AppLink_default, {
|
|
8593
|
-
class: "link-accent link",
|
|
8594
|
-
to: "/auth/login"
|
|
8595
|
-
}, {
|
|
8596
|
-
default: withCtx(() => [..._cache[0] || (_cache[0] = [createTextVNode("Login", -1)])]),
|
|
8597
|
-
_: 1
|
|
8598
|
-
})])])
|
|
8599
|
-
]),
|
|
8600
|
-
_: 1
|
|
8601
|
-
})]);
|
|
8602
|
-
};
|
|
8603
|
-
}
|
|
8604
|
-
});
|
|
8605
|
-
var ResetPassword_default = _sfc_main$9;
|
|
8606
|
-
|
|
8607
8559
|
//#endregion
|
|
8608
8560
|
//#region src/slices/auth/features/login/SocialLoginButtons.vue
|
|
8609
8561
|
const _hoisted_1$7 = { class: "social-login-buttons space-y-3" };
|
|
@@ -8671,7 +8623,7 @@ const adminRoutes = [{
|
|
|
8671
8623
|
{
|
|
8672
8624
|
path: "create-user",
|
|
8673
8625
|
name: "CreateUser",
|
|
8674
|
-
component: () => import("./CreateUserPage-
|
|
8626
|
+
component: () => import("./CreateUserPage-cduuWl9g.js"),
|
|
8675
8627
|
meta: {
|
|
8676
8628
|
title: "Create User",
|
|
8677
8629
|
description: "Create User page for Category 5 App",
|
|
@@ -8684,7 +8636,7 @@ const adminRoutes = [{
|
|
|
8684
8636
|
{
|
|
8685
8637
|
path: "support-staff",
|
|
8686
8638
|
name: "SupportStaff",
|
|
8687
|
-
component: () => import("./SupportStaffPage-
|
|
8639
|
+
component: () => import("./SupportStaffPage-D_YsHZZa.js"),
|
|
8688
8640
|
meta: {
|
|
8689
8641
|
title: "Support Staff",
|
|
8690
8642
|
description: "Manage users who can triage support tickets",
|
|
@@ -8697,7 +8649,7 @@ const adminRoutes = [{
|
|
|
8697
8649
|
{
|
|
8698
8650
|
path: "users",
|
|
8699
8651
|
name: "UserManagement",
|
|
8700
|
-
component: () => import("./UserListPage-
|
|
8652
|
+
component: () => import("./UserListPage-C9zUjaOK.js"),
|
|
8701
8653
|
meta: {
|
|
8702
8654
|
title: "User Management",
|
|
8703
8655
|
description: "View and manage all users",
|
|
@@ -8710,7 +8662,7 @@ const adminRoutes = [{
|
|
|
8710
8662
|
{
|
|
8711
8663
|
path: "users/:id/edit",
|
|
8712
8664
|
name: "EditUser",
|
|
8713
|
-
component: () => import("./EditUserPage-
|
|
8665
|
+
component: () => import("./EditUserPage-Dl6d3Cuh.js"),
|
|
8714
8666
|
meta: {
|
|
8715
8667
|
title: "Edit User",
|
|
8716
8668
|
description: "Edit user role",
|
|
@@ -8733,7 +8685,7 @@ const adminRoutes = [{
|
|
|
8733
8685
|
{
|
|
8734
8686
|
path: "credit-management",
|
|
8735
8687
|
name: "CreditManagement",
|
|
8736
|
-
component: () => import("./CreditManagement-
|
|
8688
|
+
component: () => import("./CreditManagement-BBb_Xumq.js"),
|
|
8737
8689
|
meta: {
|
|
8738
8690
|
title: "Credit Management",
|
|
8739
8691
|
description: "Manage customer credits and allocations",
|
|
@@ -8746,7 +8698,7 @@ const adminRoutes = [{
|
|
|
8746
8698
|
{
|
|
8747
8699
|
path: "support-ticket-maintenance",
|
|
8748
8700
|
name: "SupportTicketMaintenance",
|
|
8749
|
-
component: () => import("./SupportTicketMaintenancePage-
|
|
8701
|
+
component: () => import("./SupportTicketMaintenancePage-CpK1esq2.js"),
|
|
8750
8702
|
meta: {
|
|
8751
8703
|
title: "Support Ticket Maintenance",
|
|
8752
8704
|
description: "Admin utilities for fixing support ticket data",
|
|
@@ -8774,7 +8726,7 @@ const creditRoutes = [{
|
|
|
8774
8726
|
children: [{
|
|
8775
8727
|
path: creditPaths.credit_balance.path,
|
|
8776
8728
|
name: creditPaths.credit_balance.name,
|
|
8777
|
-
component: () => import("./CreditBalanceDashboard-
|
|
8729
|
+
component: () => import("./CreditBalanceDashboard-CgRRO6MD.js"),
|
|
8778
8730
|
meta: {
|
|
8779
8731
|
title: "Credit Balance",
|
|
8780
8732
|
description: "View your current credit balance and history.",
|
|
@@ -9379,5 +9331,5 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9379
9331
|
var CreditManagement_default = _sfc_main;
|
|
9380
9332
|
|
|
9381
9333
|
//#endregion
|
|
9382
|
-
export {
|
|
9383
|
-
//# sourceMappingURL=src-
|
|
9334
|
+
export { createLastUsedPresetGuard as $, Sidebar_default as $t, ConvertToInternalWorkflow_default as A, userIsSuperAdmin as At, CustomerCreateSupportTicketForm_default as B, RecordVersionList_default as Bt, StaffSupportTicketSuccess_default as C, createLeadOrStaffOnlyGuard as Ct, adminSupportTicketCreateSchemaWithMetadata as D, leadOrStaffOnly as Dt, StaffCreateSupportTicketForm_default as E, createUserAuthorizedGuard as Et, CustomerCreditBalance_default as F, extractFiltersFromQuery as Ft, staffSupportTicketRoutes as G, FieldGroup_default as Gt, customerSupportTicketUpdateSchemaWithMetadata as H, LoadingErrorStates_default as Ht, CustomerSupportTicketSuccess_default as I, serializeFiltersToQueryParams as It, SavedFilterPresets_default as J, Default_default as Jt, customerSupportPaths as K, FieldDisplay_default as Kt, CustomerSupportTicketList_default as L, useUserLookup as Lt, CompleteSupportTicketForm_default as M, timezones as Mt, CancelInternalTaskWorkflow_default as N, buildQueryWithFilters as Nt, adminSupportTicketUpdateSchemaWithMetadata as O, staffOnly as Ot, ApproveRejectActions_default as P, deserializeFiltersFromQueryParams as Pt, useSavedFilters as Q, useEmailVerificationGuard as Qt, customerSupportTicketRowSchemaWithMetadata as R, SummarySection_default as Rt, CreditBalanceWidget_default as S, createAuthenticatedGuard as St, adminSupportTicketRowSchemaWithMetadata as T, createSuperAdminOnlyGuard as Tt, SupportTicketTimeline_default as U, KeyValueEditor_default as Ut, customerSupportTicketCreateSchemaWithMetadata as V, RecordChangesSummary_default as Vt, staffSupportPaths as W, FileManager_default as Wt, SaveFilterModal_default as X, Admin_default as Xt, ManagePresetsModal_default as Y, Auth_default as Yt, savedFilterRoutes as Z, UnverifiedEmailBanner_default as Zt, authRoutes as _, teamMemberPaths as _t, addCreditsSchemaWithMetadata as a, RightSidebar_default as an, teamMemberFiltersSchemaWithMetadata as at, adminSupportTicketFiltersSchemaWithMetadata as b, teamUpdateSchemaWithMetadata as bt, CreditTransactionHistory_default as c, LoginButton_default as cn, TeamParent_default as ct, CreditBalanceOverview_default as d, AppHeader_default as dn, teamFiltersSchemaWithMetadata as dt, PINNED_PRESETS_KEY as en, getLastUsedPresetRedirect as et, creditPaths as f, AppTabNavigation_default as fn, TeamAttachmentsTab_default as ft, authPaths as g, teamRoutes as gt, SocialLoginButtons_default as h, teamPaths as ht, AddCredits_default as i, useBuildTag as in, teamMemberRowSchemaWithMetadata as it, ConvertToCustomerWorkflow_default as j, userAlreadyLoggedIn as jt, ReactivateInternalTaskWorkflow_default as k, userAuthenticated as kt, CreditTransactionTypeBadge_default as l, InputModal_default as ln, TeamList_default as lt, adminRoutes as m, CreateTeamForm_default as mt, SetMonthlyAllocation_default as n, usePinnedPresets as nn, TeamMemberParent_default as nt, setMonthlyAllocationSchemaWithMetadata as o, NotFound_default as on, CreateTeamMemberForm_default as ot, creditRoutes as p, DragoncoreVue as pn, EditTeamForm_default as pt, customerSupportTicketRoutes as q, InApp_default as qt, ResetMonthlyBalance_default as r, MS as rn, TeamMemberList_default as rt, CreditBalanceDashboard_default as s, Navbar_default as sn, ViewTeam_default as st, CreditManagement_default as t, useInjectedPinnedPresets as tn, ViewTeamMember_default as tt, creditTransactionRowSchemaWithMetadata as u, BaseModal_default as un, teamRowSchemaWithMetadata as ut, useSupportTicketStatus as v, teamMemberRoutes as vt, StaffSupportTicketList_default as w, createStaffOnlyGuard as wt, SupportTicketAttachments_default as x, userRoutes as xt, useSupportTicketPermissions as y, teamCreateSchemaWithMetadata as yt, SupportTicketStatusBadge_default as z, RecordVersionViewer_default as zt };
|
|
9335
|
+
//# sourceMappingURL=src-B5eswi_J.js.map
|