@dragonmastery/dragoncore-vue 0.0.16 → 0.0.17
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-DH0k3ra-.js +32 -0
- package/dist/CreateTeamMemberForm-DR0krDAy.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-Bh6G7DdM.js +32 -0
- package/dist/CreditManagement-BGqIkJf8.js +32 -0
- package/dist/CustomerCreateSupportTicketForm-DROOc8QU.js +32 -0
- package/dist/{CustomerSupportTicketDetailPage-DDMwp3lY.js → CustomerSupportTicketDetailPage-CPnNMJRz.js} +3 -3
- package/dist/{CustomerSupportTicketDetailPage-DDMwp3lY.js.map → CustomerSupportTicketDetailPage-CPnNMJRz.js.map} +1 -1
- package/dist/CustomerSupportTicketList-BdCyjYTK.js +32 -0
- package/dist/{CustomerSupportTicketParent-0TLLQujw.js → CustomerSupportTicketParent-C_vgUq3B.js} +2 -2
- package/dist/{CustomerSupportTicketParent-0TLLQujw.js.map → CustomerSupportTicketParent-C_vgUq3B.js.map} +1 -1
- package/dist/{CustomerSupportTicketParent-BItQs6qz.js → CustomerSupportTicketParent-Ex-sumQ_.js} +1 -1
- package/dist/CustomerSupportTicketSuccess-BiccWyEb.js +32 -0
- package/dist/EditTeamForm-COtlNY2k.js +32 -0
- package/dist/{EditUserPage-DFMiGciD.js → EditUserPage-0lqrgP5T.js} +1 -1
- package/dist/{EditUserPage-DFMiGciD.js.map → EditUserPage-0lqrgP5T.js.map} +1 -1
- package/dist/{TeamNotesTab-CpGM8HXg.js → EditUserPage-BgMNOa8G.js} +2 -2
- package/dist/{ForgotPassword-DYN5QAho.js → ForgotPassword-CiEfdVT-.js} +10 -6
- package/dist/ForgotPassword-CiEfdVT-.js.map +1 -0
- package/dist/{ForgotPassword-Cq1lKwSI.js → ForgotPassword-DTqvZE3S.js} +1 -1
- package/dist/{LoginForm-DLdl5qLw.js → LoginForm-INwjqMmZ.js} +1 -1
- package/dist/{LoginForm-Bv4pzTYW.js → LoginForm-o4gJ0QwA.js} +14 -14
- package/dist/LoginForm-o4gJ0QwA.js.map +1 -0
- package/dist/{Logout-7daBTqXu.js → Logout-D8Ql8-OY.js} +9 -6
- package/dist/Logout-D8Ql8-OY.js.map +1 -0
- package/dist/{Logout-DukqZAYW.js → Logout-KA5WB93_.js} +1 -1
- package/dist/{MfaSetup-C6Pku6P_.js → MfaSetup-B3-QSuKe.js} +2 -2
- package/dist/{MfaSetup-Drj1hQJ6.js → MfaSetup-DzaJLZtx.js} +12 -7
- package/dist/MfaSetup-DzaJLZtx.js.map +1 -0
- package/dist/{MfaVerify-CeTPsWRU.js → MfaVerify-5DOMPhdq.js} +2 -2
- package/dist/{MfaVerify-DMvK-ius.js → MfaVerify-C04XD4r3.js} +9 -7
- package/dist/MfaVerify-C04XD4r3.js.map +1 -0
- package/dist/ResetPassword-DcVvfMU3.js +92 -0
- package/dist/ResetPassword-DcVvfMU3.js.map +1 -0
- package/dist/ResetPassword-rtEJreLv.js +7 -0
- package/dist/{SavedFiltersPage-BnRm3u1G.js → SavedFiltersPage-PfwukNXV.js} +20 -19
- package/dist/{SavedFiltersPage-BnRm3u1G.js.map → SavedFiltersPage-PfwukNXV.js.map} +1 -1
- package/dist/{Signup-pBflBiRz.js → Signup-DWFxpoGA.js} +1 -1
- package/dist/{Signup-DkImN_pp.js → Signup-Wz2h_ayt.js} +17 -10
- package/dist/Signup-Wz2h_ayt.js.map +1 -0
- package/dist/StaffCreateSupportTicketForm-Cs3puA0j.js +32 -0
- package/dist/{StaffSupportTicketDetailPage-pCzgt0bn.js → StaffSupportTicketDetailPage-DDkJcKVC.js} +4 -4
- package/dist/{StaffSupportTicketDetailPage-pCzgt0bn.js.map → StaffSupportTicketDetailPage-DDkJcKVC.js.map} +1 -1
- package/dist/StaffSupportTicketList-B3HBQJ9r.js +32 -0
- package/dist/{StaffSupportTicketParent-BqMBB52c.js → StaffSupportTicketParent-BiyZAW5w.js} +1 -1
- package/dist/{StaffSupportTicketParent-Hj4m2xeF.js → StaffSupportTicketParent-Bp5pNF45.js} +2 -2
- package/dist/{StaffSupportTicketParent-Hj4m2xeF.js.map → StaffSupportTicketParent-Bp5pNF45.js.map} +1 -1
- package/dist/StaffSupportTicketSuccess-CegCdk-v.js +32 -0
- package/dist/{SupportStaffPage-BmcE-1-G.js → SupportStaffPage-DwILSSas.js} +1 -1
- package/dist/{SupportStaffPage-BmcE-1-G.js.map → SupportStaffPage-DwILSSas.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-B6_qHPKJ.js +32 -0
- package/dist/TeamList-DrMqaMvI.js +32 -0
- package/dist/TeamMemberList-CEV6-g3t.js +32 -0
- package/dist/TeamMemberParent-D-MnEdRq.js +32 -0
- package/dist/{EditUserPage-CG9qOvLb.js → TeamNotesTab-BlmZQfCR.js} +2 -2
- package/dist/{TeamNotesTab-CXKv0UF9.js → TeamNotesTab-DBrJGCIe.js} +1 -1
- package/dist/{TeamNotesTab-CXKv0UF9.js.map → TeamNotesTab-DBrJGCIe.js.map} +1 -1
- package/dist/TeamParent-Dw6Njuup.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-DtftDtVo.js → UserListPage-BGDgsd_S.js} +1 -1
- package/dist/{UserListPage-DtftDtVo.js.map → UserListPage-BGDgsd_S.js.map} +1 -1
- package/dist/UserListPage-BZp9fGeT.js +4 -0
- 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-CG1BHGSh.js} +1 -1
- package/dist/{VerifyEmail-De72yrDX.js → VerifyEmail-CUexC8mg.js} +9 -6
- package/dist/VerifyEmail-CUexC8mg.js.map +1 -0
- package/dist/{VerifyEmailRequired-BMnPXJzY.js → VerifyEmailRequired-C35bkaXZ.js} +8 -3
- package/dist/VerifyEmailRequired-C35bkaXZ.js.map +1 -0
- package/dist/ViewTeam-D9PDDpY6.js +32 -0
- package/dist/ViewTeamMember-sJb79wUy.js +32 -0
- package/dist/{displayIdFormatter-B1ZKgofu.js → displayIdFormatter-rSbbsHIX.js} +1 -1
- package/dist/{displayIdFormatter-B1ZKgofu.js.map → displayIdFormatter-rSbbsHIX.js.map} +1 -1
- package/dist/index.d.ts +810 -787
- package/dist/index.js +22 -20
- 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-DYBi81fS.js} +385 -436
- package/dist/src-DYBi81fS.js.map +1 -0
- package/dist/useReturnUrl-DobHOKp3.js +23 -0
- package/dist/useReturnUrl-DobHOKp3.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/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/{EditTeamMemberForm-poMUw7tK.js → EditTeamMemberForm-8CNRrEIT.js} +0 -0
- /package/dist/{TeamHistoryTab-B5DOTCUd.js → TeamHistoryTab-HXc3zqhQ.js} +0 -0
- /package/dist/{TeamMembersTab-DTJxmb-M.js → TeamMembersTab-CpE9BaCi.js} +0 -0
|
@@ -9,12 +9,12 @@ import { i as FieldsetSection_default, n as teamMemberCreateSchemaWithMetadata }
|
|
|
9
9
|
import { r as ZiniaContainer_default } from "./TeamHistoryTab-B3DvaIzC.js";
|
|
10
10
|
import { n as formatToISODate, r as formatUserDate, t as formatSystemTimestamp } from "./convertToLocalDateTime-DOSGtMn8.js";
|
|
11
11
|
import { t as extractRpcErrorMessage } from "./extractRpcErrorMessage-C_UbKgHL.js";
|
|
12
|
-
import { t as formatTicketDisplayId } from "./displayIdFormatter-
|
|
13
|
-
import { t as SupportTicketDevLifecycleBadge_default } from "./SupportTicketDevLifecycleBadge-
|
|
12
|
+
import { t as formatTicketDisplayId } from "./displayIdFormatter-rSbbsHIX.js";
|
|
13
|
+
import { t as SupportTicketDevLifecycleBadge_default } from "./SupportTicketDevLifecycleBadge-B2NysMAj.js";
|
|
14
14
|
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
15
|
import { RouterView, useRoute, useRouter } from "vue-router";
|
|
16
16
|
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,
|
|
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, supportTicketPriorityToNumber } from "@dragonmastery/dragoncore-shared";
|
|
18
18
|
import { ActionIcons, useCursorDataTable, useDataTableUrlSync, useForm, withMetadata } from "@dragonmastery/zinia-forms-core";
|
|
19
19
|
|
|
20
20
|
//#region src/plugin.ts
|
|
@@ -49,19 +49,19 @@ const DragoncoreVue = { install(_app, options) {
|
|
|
49
49
|
|
|
50
50
|
//#endregion
|
|
51
51
|
//#region src/components/AppTabNavigation.vue
|
|
52
|
-
const _hoisted_1$
|
|
53
|
-
const _hoisted_2$
|
|
52
|
+
const _hoisted_1$58 = { class: "w-full" };
|
|
53
|
+
const _hoisted_2$53 = { class: "md:hidden relative" };
|
|
54
54
|
const _hoisted_3$50 = { class: "font-medium" };
|
|
55
55
|
const _hoisted_4$43 = {
|
|
56
56
|
key: 0,
|
|
57
57
|
class: "absolute z-20 w-full bg-base-100 shadow-lg"
|
|
58
58
|
};
|
|
59
|
-
const _hoisted_5$
|
|
60
|
-
const _hoisted_6$
|
|
59
|
+
const _hoisted_5$33 = ["onClick"];
|
|
60
|
+
const _hoisted_6$27 = { class: "hidden md:flex items-center overflow-x-auto" };
|
|
61
61
|
const _hoisted_7$22 = { class: "flex-1 flex" };
|
|
62
62
|
const _hoisted_8$22 = ["onClick"];
|
|
63
63
|
const _hoisted_9$21 = { class: "ml-auto shrink-0" };
|
|
64
|
-
const _sfc_main$
|
|
64
|
+
const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
65
65
|
__name: "AppTabNavigation",
|
|
66
66
|
props: {
|
|
67
67
|
tabs: {},
|
|
@@ -102,9 +102,9 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
102
102
|
};
|
|
103
103
|
return (_ctx, _cache) => {
|
|
104
104
|
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$
|
|
105
|
+
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Mobile-first tab navigation with responsive grid layout "), createElementVNode("div", _hoisted_1$58, [
|
|
106
106
|
createCommentVNode(" Mobile view: Show dropdown on small screens "),
|
|
107
|
-
createElementVNode("div", _hoisted_2$
|
|
107
|
+
createElementVNode("div", _hoisted_2$53, [
|
|
108
108
|
createElementVNode("button", {
|
|
109
109
|
onClick: _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = !isMenuOpen.value),
|
|
110
110
|
class: "w-full flex items-center justify-between px-4 py-3 bg-base-100"
|
|
@@ -134,11 +134,11 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
key: 1,
|
|
135
135
|
onClick: ($event) => handleTabClick(tab.id),
|
|
136
136
|
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$
|
|
137
|
+
}, toDisplayString(tab.label), 11, _hoisted_5$33))], 64);
|
|
138
138
|
}), 128))])) : createCommentVNode("v-if", true)
|
|
139
139
|
]),
|
|
140
140
|
createCommentVNode(" Desktop view: Show horizontal tabs on medium screens and up "),
|
|
141
|
-
createElementVNode("div", _hoisted_6$
|
|
141
|
+
createElementVNode("div", _hoisted_6$27, [
|
|
142
142
|
createElementVNode("div", _hoisted_7$22, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.tabs, (tab, index) => {
|
|
143
143
|
return openBlock(), createElementBlock(Fragment, { key: index }, [tab.to ? (openBlock(), createBlock(_component_router_link, {
|
|
144
144
|
key: 0,
|
|
@@ -160,17 +160,17 @@ const _sfc_main$65 = /* @__PURE__ */ defineComponent({
|
|
|
160
160
|
};
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
|
-
var AppTabNavigation_default = _sfc_main$
|
|
163
|
+
var AppTabNavigation_default = _sfc_main$64;
|
|
164
164
|
|
|
165
165
|
//#endregion
|
|
166
166
|
//#region src/components/AppHeader.vue
|
|
167
|
-
const _hoisted_1$
|
|
168
|
-
const _hoisted_2$
|
|
167
|
+
const _hoisted_1$57 = { class: "bg-base-100 border-b border-base-300 z-10 w-full" };
|
|
168
|
+
const _hoisted_2$52 = {
|
|
169
169
|
key: 0,
|
|
170
170
|
class: "w-full"
|
|
171
171
|
};
|
|
172
172
|
const _hoisted_3$49 = { class: "max-w-7xl mx-auto px-3 sm:px-4 md:px-6" };
|
|
173
|
-
const _sfc_main$
|
|
173
|
+
const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
174
174
|
__name: "AppHeader",
|
|
175
175
|
props: {
|
|
176
176
|
tabs: {},
|
|
@@ -179,9 +179,9 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
179
179
|
emits: ["tab-click"],
|
|
180
180
|
setup(__props) {
|
|
181
181
|
return (_ctx, _cache) => {
|
|
182
|
-
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Full-width background with constrained content "), createElementVNode("div", _hoisted_1$
|
|
182
|
+
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Full-width background with constrained content "), createElementVNode("div", _hoisted_1$57, [
|
|
183
183
|
createCommentVNode(" Tab navigation - only shown when tabs are provided "),
|
|
184
|
-
__props.tabs.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
184
|
+
__props.tabs.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$52, [createElementVNode("div", _hoisted_3$49, [createVNode(AppTabNavigation_default, {
|
|
185
185
|
tabs: __props.tabs,
|
|
186
186
|
"active-tab": __props.activeTab,
|
|
187
187
|
onTabClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("tab-click", $event))
|
|
@@ -200,19 +200,19 @@ const _sfc_main$64 = /* @__PURE__ */ defineComponent({
|
|
|
200
200
|
};
|
|
201
201
|
}
|
|
202
202
|
});
|
|
203
|
-
var AppHeader_default = _sfc_main$
|
|
203
|
+
var AppHeader_default = _sfc_main$63;
|
|
204
204
|
|
|
205
205
|
//#endregion
|
|
206
206
|
//#region src/components/BaseModal.vue
|
|
207
|
-
const _hoisted_1$
|
|
208
|
-
const _hoisted_2$
|
|
207
|
+
const _hoisted_1$56 = { class: "modal-box max-w-md w-full max-h-[90vh] flex flex-col p-0" };
|
|
208
|
+
const _hoisted_2$51 = { class: "flex justify-between items-center p-6 pb-4 border-b border-base-300 flex-shrink-0" };
|
|
209
209
|
const _hoisted_3$48 = { class: "font-bold text-lg" };
|
|
210
210
|
const _hoisted_4$42 = { class: "modal-content flex-1 overflow-y-auto p-6" };
|
|
211
|
-
const _hoisted_5$
|
|
211
|
+
const _hoisted_5$32 = {
|
|
212
212
|
method: "dialog",
|
|
213
213
|
class: "modal-backdrop"
|
|
214
214
|
};
|
|
215
|
-
const _sfc_main$
|
|
215
|
+
const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
216
216
|
__name: "BaseModal",
|
|
217
217
|
props: {
|
|
218
218
|
isOpen: { type: Boolean },
|
|
@@ -235,9 +235,9 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
235
235
|
ref_key: "modal",
|
|
236
236
|
ref: modal,
|
|
237
237
|
class: "modal"
|
|
238
|
-
}, [createElementVNode("div", _hoisted_1$
|
|
238
|
+
}, [createElementVNode("div", _hoisted_1$56, [
|
|
239
239
|
createCommentVNode(" Header with title and close button - fixed, not scrollable "),
|
|
240
|
-
createElementVNode("div", _hoisted_2$
|
|
240
|
+
createElementVNode("div", _hoisted_2$51, [createElementVNode("h3", _hoisted_3$48, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])]), createElementVNode("button", {
|
|
241
241
|
type: "button",
|
|
242
242
|
class: "btn btn-sm btn-circle btn-ghost",
|
|
243
243
|
onClick: withModifiers(handleClose, ["prevent"]),
|
|
@@ -256,23 +256,23 @@ const _sfc_main$63 = /* @__PURE__ */ defineComponent({
|
|
|
256
256
|
})], -1)])])]),
|
|
257
257
|
createCommentVNode(" Content slot - scrollable area "),
|
|
258
258
|
createElementVNode("div", _hoisted_4$42, [renderSlot(_ctx.$slots, "default")])
|
|
259
|
-
]), createElementVNode("form", _hoisted_5$
|
|
259
|
+
]), createElementVNode("form", _hoisted_5$32, [createElementVNode("button", {
|
|
260
260
|
type: "button",
|
|
261
261
|
onClick: withModifiers(handleClose, ["prevent"])
|
|
262
262
|
}, "close")])], 512);
|
|
263
263
|
};
|
|
264
264
|
}
|
|
265
265
|
});
|
|
266
|
-
var BaseModal_default = _sfc_main$
|
|
266
|
+
var BaseModal_default = _sfc_main$62;
|
|
267
267
|
|
|
268
268
|
//#endregion
|
|
269
269
|
//#region src/components/InputModal.vue
|
|
270
|
-
const _hoisted_1$
|
|
271
|
-
const _hoisted_2$
|
|
270
|
+
const _hoisted_1$55 = { class: "modal-box" };
|
|
271
|
+
const _hoisted_2$50 = { class: "font-bold text-lg" };
|
|
272
272
|
const _hoisted_3$47 = { class: "py-4" };
|
|
273
273
|
const _hoisted_4$41 = { class: "form-control w-full" };
|
|
274
|
-
const _hoisted_5$
|
|
275
|
-
const _hoisted_6$
|
|
274
|
+
const _hoisted_5$31 = { class: "label" };
|
|
275
|
+
const _hoisted_6$26 = { class: "label-text" };
|
|
276
276
|
const _hoisted_7$21 = ["placeholder"];
|
|
277
277
|
const _hoisted_8$21 = {
|
|
278
278
|
key: 0,
|
|
@@ -282,7 +282,7 @@ const _hoisted_9$20 = { class: "label-text-alt text-error" };
|
|
|
282
282
|
const _hoisted_10$17 = { class: "modal-action" };
|
|
283
283
|
const _hoisted_11$16 = ["disabled"];
|
|
284
284
|
const _hoisted_12$14 = ["disabled"];
|
|
285
|
-
const _sfc_main$
|
|
285
|
+
const _sfc_main$61 = /* @__PURE__ */ defineComponent({
|
|
286
286
|
__name: "InputModal",
|
|
287
287
|
props: {
|
|
288
288
|
modelValue: { type: Boolean },
|
|
@@ -332,10 +332,10 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
332
332
|
inputValue.value = "";
|
|
333
333
|
};
|
|
334
334
|
return (_ctx, _cache) => {
|
|
335
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["modal", { "modal-open": __props.modelValue }]) }, [createElementVNode("div", _hoisted_1$
|
|
336
|
-
createElementVNode("h3", _hoisted_2$
|
|
335
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(["modal", { "modal-open": __props.modelValue }]) }, [createElementVNode("div", _hoisted_1$55, [
|
|
336
|
+
createElementVNode("h3", _hoisted_2$50, toDisplayString(__props.title), 1),
|
|
337
337
|
createElementVNode("div", _hoisted_3$47, [createElementVNode("label", _hoisted_4$41, [
|
|
338
|
-
createElementVNode("div", _hoisted_5$
|
|
338
|
+
createElementVNode("div", _hoisted_5$31, [createElementVNode("span", _hoisted_6$26, toDisplayString(__props.label), 1)]),
|
|
339
339
|
withDirectives(createElementVNode("input", {
|
|
340
340
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event),
|
|
341
341
|
type: "text",
|
|
@@ -363,11 +363,11 @@ const _sfc_main$62 = /* @__PURE__ */ defineComponent({
|
|
|
363
363
|
};
|
|
364
364
|
}
|
|
365
365
|
});
|
|
366
|
-
var InputModal_default = _sfc_main$
|
|
366
|
+
var InputModal_default = _sfc_main$61;
|
|
367
367
|
|
|
368
368
|
//#endregion
|
|
369
369
|
//#region src/components/LoginButton.vue
|
|
370
|
-
const _sfc_main$
|
|
370
|
+
const _sfc_main$60 = {};
|
|
371
371
|
function _sfc_render(_ctx, _cache) {
|
|
372
372
|
const _component_router_link = resolveComponent("router-link");
|
|
373
373
|
return openBlock(), createBlock(_component_router_link, { to: "/auth/login" }, {
|
|
@@ -375,11 +375,11 @@ function _sfc_render(_ctx, _cache) {
|
|
|
375
375
|
_: 1
|
|
376
376
|
});
|
|
377
377
|
}
|
|
378
|
-
var LoginButton_default = /* @__PURE__ */ export_helper_default(_sfc_main$
|
|
378
|
+
var LoginButton_default = /* @__PURE__ */ export_helper_default(_sfc_main$60, [["render", _sfc_render]]);
|
|
379
379
|
|
|
380
380
|
//#endregion
|
|
381
381
|
//#region src/components/ui/LogoPlaceholder.vue
|
|
382
|
-
const _sfc_main$
|
|
382
|
+
const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
383
383
|
__name: "LogoPlaceholder",
|
|
384
384
|
props: { size: { default: "md" } },
|
|
385
385
|
setup(__props) {
|
|
@@ -388,16 +388,16 @@ const _sfc_main$60 = /* @__PURE__ */ defineComponent({
|
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
390
|
});
|
|
391
|
-
var LogoPlaceholder_default = _sfc_main$
|
|
391
|
+
var LogoPlaceholder_default = _sfc_main$59;
|
|
392
392
|
|
|
393
393
|
//#endregion
|
|
394
394
|
//#region src/components/Navbar.vue
|
|
395
|
-
const _hoisted_1$
|
|
396
|
-
const _hoisted_2$
|
|
395
|
+
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" };
|
|
396
|
+
const _hoisted_2$49 = { class: "navbar w-full" };
|
|
397
397
|
const _hoisted_3$46 = { class: "flex flex-1 md:gap-1 lg:gap-2" };
|
|
398
398
|
const _hoisted_4$40 = { class: "items-center gap-2 flex" };
|
|
399
|
-
const _hoisted_5$
|
|
400
|
-
const _hoisted_6$
|
|
399
|
+
const _hoisted_5$30 = { class: "font-title inline-flex text-lg text-primary transition-all duration-200 md:text-3xl" };
|
|
400
|
+
const _hoisted_6$25 = ["src"];
|
|
401
401
|
const _hoisted_7$20 = {
|
|
402
402
|
key: 0,
|
|
403
403
|
class: "hidden md:flex items-center ml-4"
|
|
@@ -433,7 +433,7 @@ const _hoisted_17$8 = {
|
|
|
433
433
|
class: "btn-ghost btn-circle avatar btn placeholder",
|
|
434
434
|
id: "right-nav-label"
|
|
435
435
|
};
|
|
436
|
-
const _sfc_main$
|
|
436
|
+
const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
437
437
|
__name: "Navbar",
|
|
438
438
|
props: {
|
|
439
439
|
breadcrumbs: {},
|
|
@@ -447,7 +447,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
447
447
|
loading.value = false;
|
|
448
448
|
return (_ctx, _cache) => {
|
|
449
449
|
const _component_router_link = resolveComponent("router-link");
|
|
450
|
-
return openBlock(), createElementBlock("header", _hoisted_1$
|
|
450
|
+
return openBlock(), createElementBlock("header", _hoisted_1$54, [createElementVNode("nav", _hoisted_2$49, [createElementVNode("div", _hoisted_3$46, [_cache[3] || (_cache[3] = createElementVNode("label", {
|
|
451
451
|
for: "drawer",
|
|
452
452
|
class: "btn-ghost drawer-button btn-square btn"
|
|
453
453
|
}, [createElementVNode("svg", {
|
|
@@ -467,7 +467,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
467
467
|
"aria-current": "page",
|
|
468
468
|
"aria-label": "Homepage"
|
|
469
469
|
}, {
|
|
470
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_5$
|
|
470
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_5$30, [!__props.logoSrc || imageLoadFailed.value ? (openBlock(), createBlock(LogoPlaceholder_default, {
|
|
471
471
|
key: 0,
|
|
472
472
|
size: "xs"
|
|
473
473
|
})) : (openBlock(), createElementBlock("img", {
|
|
@@ -476,7 +476,7 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
476
476
|
alt: "logo",
|
|
477
477
|
class: "h-10 w-10 md:h-12 md:w-12",
|
|
478
478
|
onError: _cache[0] || (_cache[0] = ($event) => imageLoadFailed.value = true)
|
|
479
|
-
}, null, 40, _hoisted_6$
|
|
479
|
+
}, null, 40, _hoisted_6$25))])]),
|
|
480
480
|
_: 1
|
|
481
481
|
}),
|
|
482
482
|
createCommentVNode(" Breadcrumbs in navbar - Desktop view "),
|
|
@@ -523,14 +523,14 @@ const _sfc_main$59 = /* @__PURE__ */ defineComponent({
|
|
|
523
523
|
};
|
|
524
524
|
}
|
|
525
525
|
});
|
|
526
|
-
var Navbar_default = _sfc_main$
|
|
526
|
+
var Navbar_default = _sfc_main$58;
|
|
527
527
|
|
|
528
528
|
//#endregion
|
|
529
529
|
//#region src/components/NotFound.vue
|
|
530
|
-
const _hoisted_1$
|
|
531
|
-
const _hoisted_2$
|
|
530
|
+
const _hoisted_1$53 = { class: "flex items-center justify-center bg-base-100 mt-4" };
|
|
531
|
+
const _hoisted_2$48 = { class: "max-w-md mx-auto text-center px-4" };
|
|
532
532
|
const _hoisted_3$45 = { class: "flex flex-col sm:flex-row gap-4 justify-center" };
|
|
533
|
-
const _sfc_main$
|
|
533
|
+
const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
534
534
|
__name: "NotFound",
|
|
535
535
|
setup(__props) {
|
|
536
536
|
const router = useRouter();
|
|
@@ -540,7 +540,7 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
540
540
|
};
|
|
541
541
|
return (_ctx, _cache) => {
|
|
542
542
|
const _component_router_link = resolveComponent("router-link");
|
|
543
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
543
|
+
return openBlock(), createElementBlock("div", _hoisted_1$53, [createElementVNode("div", _hoisted_2$48, [_cache[1] || (_cache[1] = createElementVNode("div", { class: "mb-8" }, [
|
|
544
544
|
createElementVNode("h1", { class: "text-9xl font-bold text-primary mb-4" }, "404"),
|
|
545
545
|
createElementVNode("h2", { class: "text-3xl font-bold mb-4" }, "Page Not Found"),
|
|
546
546
|
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 +557,15 @@ const _sfc_main$58 = /* @__PURE__ */ defineComponent({
|
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
559
|
});
|
|
560
|
-
var NotFound_default = _sfc_main$
|
|
560
|
+
var NotFound_default = _sfc_main$57;
|
|
561
561
|
|
|
562
562
|
//#endregion
|
|
563
563
|
//#region src/components/RightSidebar.vue
|
|
564
|
-
const _hoisted_1$
|
|
565
|
-
const _hoisted_2$
|
|
564
|
+
const _hoisted_1$52 = { class: "drawer-side z-50" };
|
|
565
|
+
const _hoisted_2$47 = { class: "menu p-3 w-80 h-full bg-base-200 text-base-content" };
|
|
566
566
|
const _hoisted_3$44 = { class: "flex pb-2" };
|
|
567
567
|
const _hoisted_4$39 = { class: "pl-3" };
|
|
568
|
-
const _sfc_main$
|
|
568
|
+
const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
569
569
|
__name: "RightSidebar",
|
|
570
570
|
setup(__props) {
|
|
571
571
|
const userSession = useUserSessionStore();
|
|
@@ -579,10 +579,10 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
579
579
|
type: "checkbox",
|
|
580
580
|
class: "drawer-toggle",
|
|
581
581
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(checked) ? checked.value = $event : checked = $event)
|
|
582
|
-
}, null, 512), [[vModelCheckbox, unref(checked)]]), createElementVNode("div", _hoisted_1$
|
|
582
|
+
}, null, 512), [[vModelCheckbox, unref(checked)]]), createElementVNode("div", _hoisted_1$52, [_cache[7] || (_cache[7] = createElementVNode("label", {
|
|
583
583
|
for: "my-drawer-4",
|
|
584
584
|
class: "drawer-overlay"
|
|
585
|
-
}, null, -1)), createElementVNode("ul", _hoisted_2$
|
|
585
|
+
}, null, -1)), createElementVNode("ul", _hoisted_2$47, [
|
|
586
586
|
createElementVNode("div", _hoisted_3$44, [
|
|
587
587
|
_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
588
|
createElementVNode("label", _hoisted_4$39, toDisplayString(unref(userSession).currentSession?.user?.username), 1),
|
|
@@ -605,7 +605,7 @@ const _sfc_main$57 = /* @__PURE__ */ defineComponent({
|
|
|
605
605
|
};
|
|
606
606
|
}
|
|
607
607
|
});
|
|
608
|
-
var RightSidebar_default = _sfc_main$
|
|
608
|
+
var RightSidebar_default = _sfc_main$56;
|
|
609
609
|
|
|
610
610
|
//#endregion
|
|
611
611
|
//#region src/composables/useBuildTag.ts
|
|
@@ -702,7 +702,7 @@ function useInjectedPinnedPresets() {
|
|
|
702
702
|
|
|
703
703
|
//#endregion
|
|
704
704
|
//#region src/components/Sidebar.vue
|
|
705
|
-
const _hoisted_1$
|
|
705
|
+
const _hoisted_1$51 = {
|
|
706
706
|
class: "drawer-side z-50",
|
|
707
707
|
style: {
|
|
708
708
|
"scroll-behavior": "smooth",
|
|
@@ -710,11 +710,11 @@ const _hoisted_1$52 = {
|
|
|
710
710
|
},
|
|
711
711
|
ref: "drawersidebar"
|
|
712
712
|
};
|
|
713
|
-
const _hoisted_2$
|
|
713
|
+
const _hoisted_2$46 = { class: "w-80 bg-base-200 h-full flex flex-col" };
|
|
714
714
|
const _hoisted_3$43 = { class: "flex-1 overflow-y-auto overflow-x-hidden min-h-0" };
|
|
715
715
|
const _hoisted_4$38 = { class: "menu p-3 w-full text-base-content" };
|
|
716
|
-
const _hoisted_5$
|
|
717
|
-
const _hoisted_6$
|
|
716
|
+
const _hoisted_5$29 = { class: "flex" };
|
|
717
|
+
const _hoisted_6$24 = { class: "font-title inline-flex text-2xl text-primary transition-all duration-200" };
|
|
718
718
|
const _hoisted_7$19 = ["src"];
|
|
719
719
|
const _hoisted_8$19 = {
|
|
720
720
|
key: 0,
|
|
@@ -723,7 +723,7 @@ const _hoisted_8$19 = {
|
|
|
723
723
|
const _hoisted_9$18 = { class: "menu-title" };
|
|
724
724
|
const _hoisted_10$15 = { class: "flex flex-col items-center justify-center w-full h-16" };
|
|
725
725
|
const _hoisted_11$14 = { class: "text-xs text-neutral-500" };
|
|
726
|
-
const _sfc_main$
|
|
726
|
+
const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
727
727
|
__name: "Sidebar",
|
|
728
728
|
props: { logoSrc: {} },
|
|
729
729
|
setup(__props) {
|
|
@@ -764,12 +764,12 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
764
764
|
}
|
|
765
765
|
return (_ctx, _cache) => {
|
|
766
766
|
const _component_router_link = resolveComponent("router-link");
|
|
767
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
767
|
+
return openBlock(), createElementBlock("div", _hoisted_1$51, [_cache[3] || (_cache[3] = createElementVNode("label", {
|
|
768
768
|
for: "drawer",
|
|
769
769
|
class: "drawer-overlay"
|
|
770
|
-
}, null, -1)), createElementVNode("aside", _hoisted_2$
|
|
771
|
-
createElementVNode("div", _hoisted_5$
|
|
772
|
-
createElementVNode("div", _hoisted_6$
|
|
770
|
+
}, null, -1)), createElementVNode("aside", _hoisted_2$46, [createElementVNode("div", _hoisted_3$43, [createElementVNode("ul", _hoisted_4$38, [
|
|
771
|
+
createElementVNode("div", _hoisted_5$29, [
|
|
772
|
+
createElementVNode("div", _hoisted_6$24, [renderSlot(_ctx.$slots, "logo", {}, () => [!__props.logoSrc || imageLoadFailed.value ? (openBlock(), createBlock(LogoPlaceholder_default, {
|
|
773
773
|
key: 0,
|
|
774
774
|
size: "sm"
|
|
775
775
|
})) : (openBlock(), createElementBlock("img", {
|
|
@@ -819,7 +819,7 @@ const _sfc_main$56 = /* @__PURE__ */ defineComponent({
|
|
|
819
819
|
};
|
|
820
820
|
}
|
|
821
821
|
});
|
|
822
|
-
var Sidebar_default = _sfc_main$
|
|
822
|
+
var Sidebar_default = _sfc_main$55;
|
|
823
823
|
|
|
824
824
|
//#endregion
|
|
825
825
|
//#region src/composables/useEmailVerificationGuard.ts
|
|
@@ -842,13 +842,13 @@ function useEmailVerificationGuard() {
|
|
|
842
842
|
|
|
843
843
|
//#endregion
|
|
844
844
|
//#region src/components/UnverifiedEmailBanner.vue
|
|
845
|
-
const _hoisted_1$
|
|
845
|
+
const _hoisted_1$50 = {
|
|
846
846
|
key: 0,
|
|
847
847
|
class: "bg-warning/20 border border-warning/50 text-warning-content px-4 py-2 flex items-center justify-between gap-4"
|
|
848
848
|
};
|
|
849
|
-
const _hoisted_2$
|
|
849
|
+
const _hoisted_2$45 = { class: "text-sm" };
|
|
850
850
|
const _hoisted_3$42 = ["disabled"];
|
|
851
|
-
const _sfc_main$
|
|
851
|
+
const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
852
852
|
__name: "UnverifiedEmailBanner",
|
|
853
853
|
setup(__props) {
|
|
854
854
|
const { showVerificationPrompt } = useEmailVerificationGuard();
|
|
@@ -873,7 +873,7 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
873
873
|
}
|
|
874
874
|
};
|
|
875
875
|
return (_ctx, _cache) => {
|
|
876
|
-
return unref(showVerificationPrompt) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
876
|
+
return unref(showVerificationPrompt) ? (openBlock(), createElementBlock("div", _hoisted_1$50, [createElementVNode("p", _hoisted_2$45, [
|
|
877
877
|
_cache[0] || (_cache[0] = createTextVNode(" Please verify your email. Check your inbox or ", -1)),
|
|
878
878
|
createElementVNode("button", {
|
|
879
879
|
type: "button",
|
|
@@ -886,15 +886,15 @@ const _sfc_main$55 = /* @__PURE__ */ defineComponent({
|
|
|
886
886
|
};
|
|
887
887
|
}
|
|
888
888
|
});
|
|
889
|
-
var UnverifiedEmailBanner_default = _sfc_main$
|
|
889
|
+
var UnverifiedEmailBanner_default = _sfc_main$54;
|
|
890
890
|
|
|
891
891
|
//#endregion
|
|
892
892
|
//#region src/layouts/Admin.vue
|
|
893
|
-
const _hoisted_1$
|
|
894
|
-
const _hoisted_2$
|
|
893
|
+
const _hoisted_1$49 = { class: "drawer drawer-end" };
|
|
894
|
+
const _hoisted_2$44 = { class: "drawer h-[calc(100vh_-_64px_-_64px)] bg-base-100" };
|
|
895
895
|
const _hoisted_3$41 = { class: "drawer-content" };
|
|
896
896
|
const _hoisted_4$37 = { class: "pr-1 pl-1 md:pr-4 md:pl-4" };
|
|
897
|
-
const _sfc_main$
|
|
897
|
+
const _sfc_main$53 = /* @__PURE__ */ defineComponent({
|
|
898
898
|
__name: "Admin",
|
|
899
899
|
props: {
|
|
900
900
|
logoSrc: {},
|
|
@@ -902,7 +902,7 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
902
902
|
},
|
|
903
903
|
setup(__props) {
|
|
904
904
|
return (_ctx, _cache) => {
|
|
905
|
-
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$
|
|
905
|
+
return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$49, [createVNode(RightSidebar_default)]), createElementVNode("div", _hoisted_2$44, [
|
|
906
906
|
_cache[0] || (_cache[0] = createElementVNode("input", {
|
|
907
907
|
id: "my-drawer-4",
|
|
908
908
|
type: "checkbox",
|
|
@@ -918,43 +918,71 @@ const _sfc_main$54 = /* @__PURE__ */ defineComponent({
|
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
920
|
});
|
|
921
|
-
var Admin_default = _sfc_main$
|
|
921
|
+
var Admin_default = _sfc_main$53;
|
|
922
922
|
|
|
923
923
|
//#endregion
|
|
924
924
|
//#region src/layouts/Auth.vue
|
|
925
|
-
const _hoisted_1$
|
|
926
|
-
const _hoisted_2$
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
925
|
+
const _hoisted_1$48 = { class: "m-4" };
|
|
926
|
+
const _hoisted_2$43 = {
|
|
927
|
+
key: 0,
|
|
928
|
+
class: "flex justify-center mb-2"
|
|
929
|
+
};
|
|
930
|
+
const _hoisted_3$40 = { class: "flex flex-wrap gap-4 text-sm" };
|
|
931
|
+
const _hoisted_4$36 = { class: "flex justify-center mb-6" };
|
|
932
|
+
const _hoisted_5$28 = ["src"];
|
|
933
|
+
const _hoisted_6$23 = { class: "min-h-screen bg-base-100 flex flex-col" };
|
|
934
|
+
const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
930
935
|
__name: "Auth",
|
|
931
|
-
props: {
|
|
936
|
+
props: {
|
|
937
|
+
logoSrc: {},
|
|
938
|
+
backLinks: {}
|
|
939
|
+
},
|
|
932
940
|
setup(__props) {
|
|
941
|
+
const props = __props;
|
|
933
942
|
const imageLoadFailed = ref(false);
|
|
943
|
+
const backLinks = computed(() => {
|
|
944
|
+
const v = props.backLinks;
|
|
945
|
+
if (!v) return [];
|
|
946
|
+
return Array.isArray(v) ? v : [v];
|
|
947
|
+
});
|
|
948
|
+
const hasBackLinks = computed(() => backLinks.value.length > 0);
|
|
934
949
|
return (_ctx, _cache) => {
|
|
935
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
950
|
+
return openBlock(), createElementBlock("div", _hoisted_1$48, [
|
|
951
|
+
hasBackLinks.value ? (openBlock(), createElementBlock("div", _hoisted_2$43, [createElementVNode("nav", _hoisted_3$40, [(openBlock(true), createElementBlock(Fragment, null, renderList(backLinks.value, (link, i) => {
|
|
952
|
+
return openBlock(), createBlock(AppLink_default, {
|
|
953
|
+
key: i,
|
|
954
|
+
to: link.to,
|
|
955
|
+
class: "link link-hover"
|
|
956
|
+
}, {
|
|
957
|
+
default: withCtx(() => [createTextVNode(toDisplayString(link.label ?? "Back to site"), 1)]),
|
|
958
|
+
_: 2
|
|
959
|
+
}, 1032, ["to"]);
|
|
960
|
+
}), 128))])])) : createCommentVNode("v-if", true),
|
|
961
|
+
createElementVNode("div", _hoisted_4$36, [renderSlot(_ctx.$slots, "logo", {}, () => [!__props.logoSrc || imageLoadFailed.value ? (openBlock(), createBlock(LogoPlaceholder_default, {
|
|
962
|
+
key: 0,
|
|
963
|
+
size: "md"
|
|
964
|
+
})) : (openBlock(), createElementBlock("img", {
|
|
965
|
+
key: 1,
|
|
966
|
+
src: __props.logoSrc,
|
|
967
|
+
alt: "logo",
|
|
968
|
+
class: "h-24",
|
|
969
|
+
onError: _cache[0] || (_cache[0] = ($event) => imageLoadFailed.value = true)
|
|
970
|
+
}, null, 40, _hoisted_5$28))])]),
|
|
971
|
+
createElementVNode("div", _hoisted_6$23, [createVNode(unref(RouterView))])
|
|
972
|
+
]);
|
|
945
973
|
};
|
|
946
974
|
}
|
|
947
975
|
});
|
|
948
|
-
var Auth_default = _sfc_main$
|
|
976
|
+
var Auth_default = _sfc_main$52;
|
|
949
977
|
|
|
950
978
|
//#endregion
|
|
951
979
|
//#region src/layouts/Default.vue
|
|
952
|
-
const _hoisted_1$
|
|
953
|
-
const _sfc_main$
|
|
980
|
+
const _hoisted_1$47 = { class: "m-4" };
|
|
981
|
+
const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
954
982
|
__name: "Default",
|
|
955
983
|
setup(__props) {
|
|
956
984
|
return (_ctx, _cache) => {
|
|
957
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
985
|
+
return openBlock(), createElementBlock("div", _hoisted_1$47, [createVNode(AppLink_default, {
|
|
958
986
|
to: "/auth/login",
|
|
959
987
|
"aria-current": "page",
|
|
960
988
|
"aria-label": "Homepage",
|
|
@@ -966,19 +994,19 @@ const _sfc_main$52 = /* @__PURE__ */ defineComponent({
|
|
|
966
994
|
};
|
|
967
995
|
}
|
|
968
996
|
});
|
|
969
|
-
var Default_default = _sfc_main$
|
|
997
|
+
var Default_default = _sfc_main$51;
|
|
970
998
|
|
|
971
999
|
//#endregion
|
|
972
1000
|
//#region src/layouts/InApp.vue
|
|
973
|
-
const _hoisted_1$
|
|
974
|
-
const _hoisted_2$
|
|
1001
|
+
const _hoisted_1$46 = { class: "drawer drawer-end" };
|
|
1002
|
+
const _hoisted_2$42 = { class: "drawer h-[calc(100vh_)]" };
|
|
975
1003
|
const _hoisted_3$39 = { class: "drawer-content flex flex-col" };
|
|
976
1004
|
const _hoisted_4$35 = {
|
|
977
1005
|
key: 0,
|
|
978
1006
|
class: "z-20"
|
|
979
1007
|
};
|
|
980
1008
|
const _hoisted_5$27 = { class: "flex-1 px-3 sm:px-4 md:px-6 pb-4" };
|
|
981
|
-
const _sfc_main$
|
|
1009
|
+
const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
982
1010
|
__name: "InApp",
|
|
983
1011
|
props: {
|
|
984
1012
|
logoSrc: {},
|
|
@@ -1041,10 +1069,10 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
1041
1069
|
return route.meta.currentTab || "";
|
|
1042
1070
|
});
|
|
1043
1071
|
return (_ctx, _cache) => {
|
|
1044
|
-
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Right sidebar drawer "), createElementVNode("div", _hoisted_1$
|
|
1072
|
+
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Right sidebar drawer "), createElementVNode("div", _hoisted_1$46, [
|
|
1045
1073
|
createVNode(RightSidebar_default),
|
|
1046
1074
|
createCommentVNode(" Left sidebar drawer "),
|
|
1047
|
-
createElementVNode("div", _hoisted_2$
|
|
1075
|
+
createElementVNode("div", _hoisted_2$42, [
|
|
1048
1076
|
_cache[0] || (_cache[0] = createElementVNode("input", {
|
|
1049
1077
|
id: "drawer",
|
|
1050
1078
|
type: "checkbox",
|
|
@@ -1077,14 +1105,14 @@ const _sfc_main$51 = /* @__PURE__ */ defineComponent({
|
|
|
1077
1105
|
};
|
|
1078
1106
|
}
|
|
1079
1107
|
});
|
|
1080
|
-
var InApp_default = _sfc_main$
|
|
1108
|
+
var InApp_default = _sfc_main$50;
|
|
1081
1109
|
|
|
1082
1110
|
//#endregion
|
|
1083
1111
|
//#region src/components/ui/FieldDisplay.vue
|
|
1084
|
-
const _hoisted_1$
|
|
1085
|
-
const _hoisted_2$
|
|
1112
|
+
const _hoisted_1$45 = { class: "label" };
|
|
1113
|
+
const _hoisted_2$41 = { class: "label-text font-medium" };
|
|
1086
1114
|
const _hoisted_3$38 = { class: "text-base-content" };
|
|
1087
|
-
const _sfc_main$
|
|
1115
|
+
const _sfc_main$49 = /* @__PURE__ */ defineComponent({
|
|
1088
1116
|
__name: "FieldDisplay",
|
|
1089
1117
|
props: {
|
|
1090
1118
|
label: {},
|
|
@@ -1093,33 +1121,33 @@ const _sfc_main$50 = /* @__PURE__ */ defineComponent({
|
|
|
1093
1121
|
},
|
|
1094
1122
|
setup(__props) {
|
|
1095
1123
|
return (_ctx, _cache) => {
|
|
1096
|
-
return openBlock(), createElementBlock("div", { class: normalizeClass(["form-control", { "md:col-span-2": __props.fullWidth }]) }, [createElementVNode("label", _hoisted_1$
|
|
1124
|
+
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
1125
|
};
|
|
1098
1126
|
}
|
|
1099
1127
|
});
|
|
1100
|
-
var FieldDisplay_default = _sfc_main$
|
|
1128
|
+
var FieldDisplay_default = _sfc_main$49;
|
|
1101
1129
|
|
|
1102
1130
|
//#endregion
|
|
1103
1131
|
//#region src/components/ui/FieldGroup.vue
|
|
1104
|
-
const _hoisted_1$
|
|
1105
|
-
const _hoisted_2$
|
|
1132
|
+
const _hoisted_1$44 = { class: "card bg-base-100 shadow-sm" };
|
|
1133
|
+
const _hoisted_2$40 = { class: "card-body" };
|
|
1106
1134
|
const _hoisted_3$37 = { class: "card-title text-lg mb-4" };
|
|
1107
1135
|
const _hoisted_4$34 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" };
|
|
1108
|
-
const _sfc_main$
|
|
1136
|
+
const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
1109
1137
|
__name: "FieldGroup",
|
|
1110
1138
|
props: { title: {} },
|
|
1111
1139
|
setup(__props) {
|
|
1112
1140
|
return (_ctx, _cache) => {
|
|
1113
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1141
|
+
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
1142
|
};
|
|
1115
1143
|
}
|
|
1116
1144
|
});
|
|
1117
|
-
var FieldGroup_default = _sfc_main$
|
|
1145
|
+
var FieldGroup_default = _sfc_main$48;
|
|
1118
1146
|
|
|
1119
1147
|
//#endregion
|
|
1120
1148
|
//#region src/components/ui/FileManager.vue
|
|
1121
|
-
const _hoisted_1$
|
|
1122
|
-
const _hoisted_2$
|
|
1149
|
+
const _hoisted_1$43 = { class: "w-full px-2 sm:px-0" };
|
|
1150
|
+
const _hoisted_2$39 = { class: "mb-4" };
|
|
1123
1151
|
const _hoisted_3$36 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-3 mb-3" };
|
|
1124
1152
|
const _hoisted_4$33 = { class: "text-lg font-medium" };
|
|
1125
1153
|
const _hoisted_5$26 = { class: "flex gap-2 sm:hidden" };
|
|
@@ -1239,7 +1267,7 @@ const _hoisted_68 = { class: "flex items-center gap-2" };
|
|
|
1239
1267
|
const _hoisted_69 = { class: "font-medium" };
|
|
1240
1268
|
const _hoisted_70 = { class: "text-base-content/70" };
|
|
1241
1269
|
const DEFAULT_MAX_FILE_SIZE = 50 * 1024 * 1024;
|
|
1242
|
-
const _sfc_main$
|
|
1270
|
+
const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
1243
1271
|
__name: "FileManager",
|
|
1244
1272
|
props: {
|
|
1245
1273
|
recordId: {},
|
|
@@ -1611,9 +1639,9 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
1611
1639
|
return "badge-neutral";
|
|
1612
1640
|
};
|
|
1613
1641
|
return (_ctx, _cache) => {
|
|
1614
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
1642
|
+
return openBlock(), createElementBlock("div", _hoisted_1$43, [
|
|
1615
1643
|
createCommentVNode(" File Manager Header "),
|
|
1616
|
-
createElementVNode("div", _hoisted_2$
|
|
1644
|
+
createElementVNode("div", _hoisted_2$39, [
|
|
1617
1645
|
createCommentVNode(" Mobile: Stacked layout "),
|
|
1618
1646
|
createElementVNode("div", _hoisted_3$36, [
|
|
1619
1647
|
createElementVNode("h3", _hoisted_4$33, toDisplayString(config.value.title || "Attachments"), 1),
|
|
@@ -1954,12 +1982,12 @@ const _sfc_main$48 = /* @__PURE__ */ defineComponent({
|
|
|
1954
1982
|
};
|
|
1955
1983
|
}
|
|
1956
1984
|
});
|
|
1957
|
-
var FileManager_default = _sfc_main$
|
|
1985
|
+
var FileManager_default = _sfc_main$47;
|
|
1958
1986
|
|
|
1959
1987
|
//#endregion
|
|
1960
1988
|
//#region src/components/ui/KeyValueEditor.vue
|
|
1961
|
-
const _hoisted_1$
|
|
1962
|
-
const _hoisted_2$
|
|
1989
|
+
const _hoisted_1$42 = { class: "key-value-editor col-span-full" };
|
|
1990
|
+
const _hoisted_2$38 = {
|
|
1963
1991
|
key: 0,
|
|
1964
1992
|
class: "mb-2"
|
|
1965
1993
|
};
|
|
@@ -1994,7 +2022,7 @@ const _hoisted_13$9 = {
|
|
|
1994
2022
|
key: 2,
|
|
1995
2023
|
class: "text-center py-4 text-base-content/60"
|
|
1996
2024
|
};
|
|
1997
|
-
const _sfc_main$
|
|
2025
|
+
const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
1998
2026
|
__name: "KeyValueEditor",
|
|
1999
2027
|
props: {
|
|
2000
2028
|
modelValue: { default: null },
|
|
@@ -2073,8 +2101,8 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
2073
2101
|
pair[field] = value;
|
|
2074
2102
|
};
|
|
2075
2103
|
return (_ctx, _cache) => {
|
|
2076
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2077
|
-
__props.label || __props.helpText ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
2104
|
+
return openBlock(), createElementBlock("div", _hoisted_1$42, [
|
|
2105
|
+
__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
2106
|
__props.error ? (openBlock(), createElementBlock("div", _hoisted_6$21, toDisplayString(__props.error), 1)) : createCommentVNode("v-if", true),
|
|
2079
2107
|
createElementVNode("div", _hoisted_7$17, [
|
|
2080
2108
|
createCommentVNode(" Key-Value Pairs List "),
|
|
@@ -2140,20 +2168,20 @@ const _sfc_main$47 = /* @__PURE__ */ defineComponent({
|
|
|
2140
2168
|
};
|
|
2141
2169
|
}
|
|
2142
2170
|
});
|
|
2143
|
-
var KeyValueEditor_default = /* @__PURE__ */ export_helper_default(_sfc_main$
|
|
2171
|
+
var KeyValueEditor_default = /* @__PURE__ */ export_helper_default(_sfc_main$46, [["__scopeId", "data-v-010818ef"]]);
|
|
2144
2172
|
|
|
2145
2173
|
//#endregion
|
|
2146
2174
|
//#region src/components/ui/LoadingErrorStates.vue
|
|
2147
|
-
const _hoisted_1$
|
|
2175
|
+
const _hoisted_1$41 = {
|
|
2148
2176
|
key: 0,
|
|
2149
2177
|
class: "text-center py-8"
|
|
2150
2178
|
};
|
|
2151
|
-
const _hoisted_2$
|
|
2179
|
+
const _hoisted_2$37 = { class: "text-base-content/70 mt-2" };
|
|
2152
2180
|
const _hoisted_3$34 = { class: "text-center py-8" };
|
|
2153
2181
|
const _hoisted_4$31 = { class: "alert alert-error max-w-md mx-auto" };
|
|
2154
2182
|
const _hoisted_5$24 = { class: "font-bold" };
|
|
2155
2183
|
const _hoisted_6$20 = { class: "text-sm" };
|
|
2156
|
-
const _sfc_main$
|
|
2184
|
+
const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
2157
2185
|
__name: "LoadingErrorStates",
|
|
2158
2186
|
props: {
|
|
2159
2187
|
isLoading: { type: Boolean },
|
|
@@ -2173,7 +2201,7 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
2173
2201
|
emit("retry");
|
|
2174
2202
|
}
|
|
2175
2203
|
return (_ctx, _cache) => {
|
|
2176
|
-
return openBlock(), createElementBlock(Fragment, null, [createCommentVNode(" Loading State "), __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2204
|
+
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
2205
|
error: __props.error,
|
|
2178
2206
|
retry: handleRetry
|
|
2179
2207
|
}, () => [createElementVNode("div", _hoisted_4$31, [_cache[1] || (_cache[1] = createElementVNode("svg", {
|
|
@@ -2198,15 +2226,15 @@ const _sfc_main$46 = /* @__PURE__ */ defineComponent({
|
|
|
2198
2226
|
};
|
|
2199
2227
|
}
|
|
2200
2228
|
});
|
|
2201
|
-
var LoadingErrorStates_default = _sfc_main$
|
|
2229
|
+
var LoadingErrorStates_default = _sfc_main$45;
|
|
2202
2230
|
|
|
2203
2231
|
//#endregion
|
|
2204
2232
|
//#region src/components/ui/RecordChangesSummary.vue
|
|
2205
|
-
const _hoisted_1$
|
|
2233
|
+
const _hoisted_1$40 = {
|
|
2206
2234
|
key: 0,
|
|
2207
2235
|
class: "card bg-base-100 shadow-sm mb-4"
|
|
2208
2236
|
};
|
|
2209
|
-
const _hoisted_2$
|
|
2237
|
+
const _hoisted_2$36 = { class: "card-body p-3 sm:p-5" };
|
|
2210
2238
|
const _hoisted_3$33 = { class: "flex justify-between items-center" };
|
|
2211
2239
|
const _hoisted_4$30 = { class: "card-title text-base sm:text-lg" };
|
|
2212
2240
|
const _hoisted_5$23 = { key: 0 };
|
|
@@ -2225,7 +2253,7 @@ const _hoisted_17$6 = {
|
|
|
2225
2253
|
key: 1,
|
|
2226
2254
|
class: "mt-2 text-sm text-base-content/70"
|
|
2227
2255
|
};
|
|
2228
|
-
const _sfc_main$
|
|
2256
|
+
const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
2229
2257
|
__name: "RecordChangesSummary",
|
|
2230
2258
|
props: {
|
|
2231
2259
|
changedFields: {},
|
|
@@ -2264,7 +2292,7 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
2264
2292
|
return defaultValueFormatter(value);
|
|
2265
2293
|
}
|
|
2266
2294
|
return (_ctx, _cache) => {
|
|
2267
|
-
return __props.changedFields.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
2295
|
+
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
2296
|
onClick: _cache[0] || (_cache[0] = ($event) => showChanges.value = !showChanges.value),
|
|
2269
2297
|
class: "btn btn-sm btn-info"
|
|
2270
2298
|
}, toDisplayString(showChanges.value ? config.value.hideText || "Hide Changes" : config.value.showText || "Show Changes"), 1)]), showChanges.value ? (openBlock(), createElementBlock("div", _hoisted_5$23, [
|
|
@@ -2291,12 +2319,12 @@ const _sfc_main$45 = /* @__PURE__ */ defineComponent({
|
|
|
2291
2319
|
};
|
|
2292
2320
|
}
|
|
2293
2321
|
});
|
|
2294
|
-
var RecordChangesSummary_default = _sfc_main$
|
|
2322
|
+
var RecordChangesSummary_default = _sfc_main$44;
|
|
2295
2323
|
|
|
2296
2324
|
//#endregion
|
|
2297
2325
|
//#region src/components/ui/RecordVersionList.vue
|
|
2298
|
-
const _hoisted_1$
|
|
2299
|
-
const _hoisted_2$
|
|
2326
|
+
const _hoisted_1$39 = { class: "space-y-4" };
|
|
2327
|
+
const _hoisted_2$35 = {
|
|
2300
2328
|
key: 0,
|
|
2301
2329
|
class: "space-y-4"
|
|
2302
2330
|
};
|
|
@@ -2324,7 +2352,7 @@ const _hoisted_16$6 = {
|
|
|
2324
2352
|
class: "text-center py-4"
|
|
2325
2353
|
};
|
|
2326
2354
|
const _hoisted_17$5 = ["disabled"];
|
|
2327
|
-
const _sfc_main$
|
|
2355
|
+
const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
2328
2356
|
__name: "RecordVersionList",
|
|
2329
2357
|
props: {
|
|
2330
2358
|
versions: {},
|
|
@@ -2393,7 +2421,7 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
2393
2421
|
}[operation] || "badge-neutral";
|
|
2394
2422
|
}
|
|
2395
2423
|
return (_ctx, _cache) => {
|
|
2396
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2424
|
+
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
2425
|
return createElementVNode("div", {
|
|
2398
2426
|
key: i,
|
|
2399
2427
|
class: "card bg-base-100 shadow-xs animate-pulse"
|
|
@@ -2452,12 +2480,12 @@ const _sfc_main$44 = /* @__PURE__ */ defineComponent({
|
|
|
2452
2480
|
};
|
|
2453
2481
|
}
|
|
2454
2482
|
});
|
|
2455
|
-
var RecordVersionList_default = _sfc_main$
|
|
2483
|
+
var RecordVersionList_default = _sfc_main$43;
|
|
2456
2484
|
|
|
2457
2485
|
//#endregion
|
|
2458
2486
|
//#region src/components/ui/RecordVersionViewer.vue
|
|
2459
|
-
const _hoisted_1$
|
|
2460
|
-
const _hoisted_2$
|
|
2487
|
+
const _hoisted_1$38 = { class: "sticky top-0 z-10 bg-base-100 shadow-sm" };
|
|
2488
|
+
const _hoisted_2$34 = { class: "flex justify-between items-center p-4 border-b" };
|
|
2461
2489
|
const _hoisted_3$31 = { class: "text-lg font-semibold" };
|
|
2462
2490
|
const _hoisted_4$28 = {
|
|
2463
2491
|
key: 0,
|
|
@@ -2493,7 +2521,7 @@ const _hoisted_19$4 = { class: "space-y-4" };
|
|
|
2493
2521
|
const _hoisted_20$4 = { class: "p-4 bg-base-100 rounded-lg shadow-sm" };
|
|
2494
2522
|
const _hoisted_21$3 = { class: "font-semibold mb-2" };
|
|
2495
2523
|
const _hoisted_22$3 = { class: "text-xs bg-base-200 p-3 rounded overflow-auto max-h-96" };
|
|
2496
|
-
const _sfc_main$
|
|
2524
|
+
const _sfc_main$42 = /* @__PURE__ */ defineComponent({
|
|
2497
2525
|
__name: "RecordVersionViewer",
|
|
2498
2526
|
props: {
|
|
2499
2527
|
version: {},
|
|
@@ -2547,11 +2575,11 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
2547
2575
|
return (_ctx, _cache) => {
|
|
2548
2576
|
return openBlock(), createElementBlock("div", null, [
|
|
2549
2577
|
createCommentVNode(" Version Header - sticky on mobile "),
|
|
2550
|
-
createElementVNode("div", _hoisted_1$
|
|
2578
|
+
createElementVNode("div", _hoisted_1$38, [renderSlot(_ctx.$slots, "header", {
|
|
2551
2579
|
version: __props.version,
|
|
2552
2580
|
isLoading: __props.isLoading,
|
|
2553
2581
|
isRestoring: __props.isRestoring
|
|
2554
|
-
}, () => [createCommentVNode(" Default header "), createElementVNode("div", _hoisted_2$
|
|
2582
|
+
}, () => [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
2583
|
createCommentVNode(" Back button "),
|
|
2556
2584
|
config.value.onBack ? (openBlock(), createElementBlock("button", {
|
|
2557
2585
|
key: 0,
|
|
@@ -2626,23 +2654,23 @@ const _sfc_main$43 = /* @__PURE__ */ defineComponent({
|
|
|
2626
2654
|
};
|
|
2627
2655
|
}
|
|
2628
2656
|
});
|
|
2629
|
-
var RecordVersionViewer_default = _sfc_main$
|
|
2657
|
+
var RecordVersionViewer_default = _sfc_main$42;
|
|
2630
2658
|
|
|
2631
2659
|
//#endregion
|
|
2632
2660
|
//#region src/components/ui/SummarySection.vue
|
|
2633
|
-
const _hoisted_1$
|
|
2634
|
-
const _hoisted_2$
|
|
2661
|
+
const _hoisted_1$37 = { class: "bg-base-100 p-2 md:p-4 rounded-box overflow-hidden" };
|
|
2662
|
+
const _hoisted_2$33 = { class: "text-lg font-bold mb-2" };
|
|
2635
2663
|
const _hoisted_3$30 = { class: "grid grid-auto-rows auto-rows-auto gap-x-4 gap-y-1" };
|
|
2636
|
-
const _sfc_main$
|
|
2664
|
+
const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
2637
2665
|
__name: "SummarySection",
|
|
2638
2666
|
props: { title: {} },
|
|
2639
2667
|
setup(__props) {
|
|
2640
2668
|
return (_ctx, _cache) => {
|
|
2641
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
2669
|
+
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
2670
|
};
|
|
2643
2671
|
}
|
|
2644
2672
|
});
|
|
2645
|
-
var SummarySection_default = _sfc_main$
|
|
2673
|
+
var SummarySection_default = _sfc_main$41;
|
|
2646
2674
|
|
|
2647
2675
|
//#endregion
|
|
2648
2676
|
//#region src/composables/useUserLookup.ts
|
|
@@ -3123,7 +3151,7 @@ const userRoutes = [{
|
|
|
3123
3151
|
{
|
|
3124
3152
|
path: "appearance",
|
|
3125
3153
|
name: "Appearance",
|
|
3126
|
-
component: () => import("./Appearance-
|
|
3154
|
+
component: () => import("./Appearance-CohgRf-_.js"),
|
|
3127
3155
|
meta: {
|
|
3128
3156
|
title: "Appearance",
|
|
3129
3157
|
description: "Appearance page for Category 5 App"
|
|
@@ -3132,7 +3160,7 @@ const userRoutes = [{
|
|
|
3132
3160
|
{
|
|
3133
3161
|
path: "profile",
|
|
3134
3162
|
name: "Profile",
|
|
3135
|
-
component: () => import("./UserProfilePage-
|
|
3163
|
+
component: () => import("./UserProfilePage-D52_Q5yf.js"),
|
|
3136
3164
|
meta: {
|
|
3137
3165
|
title: "Profile",
|
|
3138
3166
|
description: "Profile page for Category 5 App"
|
|
@@ -3141,7 +3169,7 @@ const userRoutes = [{
|
|
|
3141
3169
|
{
|
|
3142
3170
|
path: "password",
|
|
3143
3171
|
name: "Password",
|
|
3144
|
-
component: () => import("./ChangePasswordPage-
|
|
3172
|
+
component: () => import("./ChangePasswordPage-DqnWhaUa.js"),
|
|
3145
3173
|
meta: {
|
|
3146
3174
|
title: "Password",
|
|
3147
3175
|
description: "Password page for Category 5 App"
|
|
@@ -3225,7 +3253,7 @@ const teamMemberRoutes = [
|
|
|
3225
3253
|
{
|
|
3226
3254
|
path: teamMemberPaths.list.path,
|
|
3227
3255
|
name: teamMemberPaths.list.name,
|
|
3228
|
-
component: () => import("./TeamMemberList-
|
|
3256
|
+
component: () => import("./TeamMemberList-CEV6-g3t.js"),
|
|
3229
3257
|
beforeEnter: [userAuthenticated],
|
|
3230
3258
|
meta: {
|
|
3231
3259
|
title: "Team Members",
|
|
@@ -3235,7 +3263,7 @@ const teamMemberRoutes = [
|
|
|
3235
3263
|
{
|
|
3236
3264
|
path: teamMemberPaths.create.path,
|
|
3237
3265
|
name: teamMemberPaths.create.name,
|
|
3238
|
-
component: () => import("./CreateTeamMemberForm-
|
|
3266
|
+
component: () => import("./CreateTeamMemberForm-DR0krDAy.js"),
|
|
3239
3267
|
beforeEnter: [userAuthenticated],
|
|
3240
3268
|
meta: {
|
|
3241
3269
|
title: "Create Team Member",
|
|
@@ -3244,7 +3272,7 @@ const teamMemberRoutes = [
|
|
|
3244
3272
|
},
|
|
3245
3273
|
{
|
|
3246
3274
|
path: teamMemberPaths.view.path,
|
|
3247
|
-
component: () => import("./TeamMemberParent-
|
|
3275
|
+
component: () => import("./TeamMemberParent-D-MnEdRq.js"),
|
|
3248
3276
|
beforeEnter: [userAuthenticated],
|
|
3249
3277
|
meta: { sectionTabs: [{
|
|
3250
3278
|
id: "view",
|
|
@@ -3258,7 +3286,7 @@ const teamMemberRoutes = [
|
|
|
3258
3286
|
children: [{
|
|
3259
3287
|
path: "",
|
|
3260
3288
|
name: teamMemberPaths.view.name,
|
|
3261
|
-
component: () => import("./ViewTeamMember-
|
|
3289
|
+
component: () => import("./ViewTeamMember-sJb79wUy.js"),
|
|
3262
3290
|
meta: {
|
|
3263
3291
|
title: "View Team Member",
|
|
3264
3292
|
description: "View team member details",
|
|
@@ -3267,7 +3295,7 @@ const teamMemberRoutes = [
|
|
|
3267
3295
|
}, {
|
|
3268
3296
|
path: teamMemberPaths.edit.path,
|
|
3269
3297
|
name: teamMemberPaths.edit.name,
|
|
3270
|
-
component: () => import("./EditTeamMemberForm-
|
|
3298
|
+
component: () => import("./EditTeamMemberForm-8CNRrEIT.js"),
|
|
3271
3299
|
meta: {
|
|
3272
3300
|
title: "Edit Team Member",
|
|
3273
3301
|
description: "Edit team member details",
|
|
@@ -3331,7 +3359,7 @@ const teamRoutes = [{
|
|
|
3331
3359
|
{
|
|
3332
3360
|
path: teamPaths.list.path,
|
|
3333
3361
|
name: teamPaths.list.name,
|
|
3334
|
-
component: () => import("./TeamList-
|
|
3362
|
+
component: () => import("./TeamList-DrMqaMvI.js"),
|
|
3335
3363
|
meta: {
|
|
3336
3364
|
title: "Teams",
|
|
3337
3365
|
description: "Manage teams",
|
|
@@ -3349,7 +3377,7 @@ const teamRoutes = [{
|
|
|
3349
3377
|
{
|
|
3350
3378
|
path: teamPaths.create.path,
|
|
3351
3379
|
name: teamPaths.create.name,
|
|
3352
|
-
component: () => import("./CreateTeamForm-
|
|
3380
|
+
component: () => import("./CreateTeamForm-DH0k3ra-.js"),
|
|
3353
3381
|
meta: {
|
|
3354
3382
|
title: "Create Team",
|
|
3355
3383
|
description: "Create new team",
|
|
@@ -3364,7 +3392,7 @@ const teamRoutes = [{
|
|
|
3364
3392
|
},
|
|
3365
3393
|
{
|
|
3366
3394
|
path: teamPaths.view.path,
|
|
3367
|
-
component: () => import("./TeamParent-
|
|
3395
|
+
component: () => import("./TeamParent-Dw6Njuup.js"),
|
|
3368
3396
|
meta: { sectionTabs: [
|
|
3369
3397
|
{
|
|
3370
3398
|
id: "view",
|
|
@@ -3401,7 +3429,7 @@ const teamRoutes = [{
|
|
|
3401
3429
|
{
|
|
3402
3430
|
path: "",
|
|
3403
3431
|
name: teamPaths.view.name,
|
|
3404
|
-
component: () => import("./ViewTeam-
|
|
3432
|
+
component: () => import("./ViewTeam-D9PDDpY6.js"),
|
|
3405
3433
|
meta: {
|
|
3406
3434
|
title: "View Team",
|
|
3407
3435
|
description: "View team details",
|
|
@@ -3411,7 +3439,7 @@ const teamRoutes = [{
|
|
|
3411
3439
|
{
|
|
3412
3440
|
path: teamPaths.edit.path,
|
|
3413
3441
|
name: teamPaths.edit.name,
|
|
3414
|
-
component: () => import("./EditTeamForm-
|
|
3442
|
+
component: () => import("./EditTeamForm-COtlNY2k.js"),
|
|
3415
3443
|
meta: {
|
|
3416
3444
|
title: "Edit Team",
|
|
3417
3445
|
description: "Edit team details",
|
|
@@ -3421,7 +3449,7 @@ const teamRoutes = [{
|
|
|
3421
3449
|
{
|
|
3422
3450
|
path: teamPaths.notes.path,
|
|
3423
3451
|
name: teamPaths.notes.name,
|
|
3424
|
-
component: () => import("./TeamNotesTab-
|
|
3452
|
+
component: () => import("./TeamNotesTab-BlmZQfCR.js"),
|
|
3425
3453
|
meta: {
|
|
3426
3454
|
title: "Team Notes",
|
|
3427
3455
|
description: "View and manage notes",
|
|
@@ -3431,7 +3459,7 @@ const teamRoutes = [{
|
|
|
3431
3459
|
{
|
|
3432
3460
|
path: teamPaths.attachments.path,
|
|
3433
3461
|
name: teamPaths.attachments.name,
|
|
3434
|
-
component: () => import("./TeamAttachmentsTab-
|
|
3462
|
+
component: () => import("./TeamAttachmentsTab-B6_qHPKJ.js"),
|
|
3435
3463
|
meta: {
|
|
3436
3464
|
title: "Team Attachments",
|
|
3437
3465
|
description: "View and manage attachments",
|
|
@@ -3441,7 +3469,7 @@ const teamRoutes = [{
|
|
|
3441
3469
|
{
|
|
3442
3470
|
path: teamPaths.history.path,
|
|
3443
3471
|
name: teamPaths.history.name,
|
|
3444
|
-
component: () => import("./TeamHistoryTab-
|
|
3472
|
+
component: () => import("./TeamHistoryTab-HXc3zqhQ.js"),
|
|
3445
3473
|
meta: {
|
|
3446
3474
|
title: "Team History",
|
|
3447
3475
|
description: "View audit trail and changes",
|
|
@@ -3451,7 +3479,7 @@ const teamRoutes = [{
|
|
|
3451
3479
|
{
|
|
3452
3480
|
path: teamPaths.members.path,
|
|
3453
3481
|
name: teamPaths.members.name,
|
|
3454
|
-
component: () => import("./TeamMembersTab-
|
|
3482
|
+
component: () => import("./TeamMembersTab-CpE9BaCi.js"),
|
|
3455
3483
|
meta: {
|
|
3456
3484
|
title: "Team Members",
|
|
3457
3485
|
description: "View and manage team members",
|
|
@@ -3466,11 +3494,11 @@ const teamRoutes = [{
|
|
|
3466
3494
|
|
|
3467
3495
|
//#endregion
|
|
3468
3496
|
//#region src/slices/team/CreateTeamForm.vue
|
|
3469
|
-
const _hoisted_1$
|
|
3497
|
+
const _hoisted_1$36 = {
|
|
3470
3498
|
key: 0,
|
|
3471
3499
|
class: "flex flex-col items-center justify-center p-8"
|
|
3472
3500
|
};
|
|
3473
|
-
const _hoisted_2$
|
|
3501
|
+
const _hoisted_2$32 = {
|
|
3474
3502
|
key: 1,
|
|
3475
3503
|
class: "flex flex-col items-center justify-center p-8"
|
|
3476
3504
|
};
|
|
@@ -3480,7 +3508,7 @@ const _hoisted_4$27 = {
|
|
|
3480
3508
|
class: "alert alert-error mb-4"
|
|
3481
3509
|
};
|
|
3482
3510
|
const _hoisted_5$20 = { class: "flex justify-center mt-6" };
|
|
3483
|
-
const _sfc_main$
|
|
3511
|
+
const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
3484
3512
|
__name: "CreateTeamForm",
|
|
3485
3513
|
setup(__props) {
|
|
3486
3514
|
const router = useRouter();
|
|
@@ -3511,7 +3539,7 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
3511
3539
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
3512
3540
|
};
|
|
3513
3541
|
return (_ctx, _cache) => {
|
|
3514
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3542
|
+
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
3543
|
key: 2,
|
|
3516
3544
|
onHandleSubmit: handleSubmit,
|
|
3517
3545
|
onSuccess: handleSuccess,
|
|
@@ -3593,15 +3621,15 @@ const _sfc_main$41 = /* @__PURE__ */ defineComponent({
|
|
|
3593
3621
|
};
|
|
3594
3622
|
}
|
|
3595
3623
|
});
|
|
3596
|
-
var CreateTeamForm_default = _sfc_main$
|
|
3624
|
+
var CreateTeamForm_default = _sfc_main$40;
|
|
3597
3625
|
|
|
3598
3626
|
//#endregion
|
|
3599
3627
|
//#region src/slices/team/EditTeamForm.vue
|
|
3600
|
-
const _hoisted_1$
|
|
3628
|
+
const _hoisted_1$35 = {
|
|
3601
3629
|
key: 0,
|
|
3602
3630
|
class: "flex justify-center items-center p-8"
|
|
3603
3631
|
};
|
|
3604
|
-
const _hoisted_2$
|
|
3632
|
+
const _hoisted_2$31 = {
|
|
3605
3633
|
key: 1,
|
|
3606
3634
|
class: "alert alert-error mb-4"
|
|
3607
3635
|
};
|
|
@@ -3610,7 +3638,7 @@ const _hoisted_3$28 = {
|
|
|
3610
3638
|
class: "alert alert-error mb-4"
|
|
3611
3639
|
};
|
|
3612
3640
|
const _hoisted_4$26 = { class: "flex justify-center mt-6" };
|
|
3613
|
-
const _sfc_main$
|
|
3641
|
+
const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
3614
3642
|
__name: "EditTeamForm",
|
|
3615
3643
|
props: {
|
|
3616
3644
|
team: {},
|
|
@@ -3653,7 +3681,7 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
3653
3681
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
3654
3682
|
};
|
|
3655
3683
|
return (_ctx, _cache) => {
|
|
3656
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
3684
|
+
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
3685
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3658
3686
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
3659
3687
|
fill: "none",
|
|
@@ -3745,11 +3773,11 @@ const _sfc_main$40 = /* @__PURE__ */ defineComponent({
|
|
|
3745
3773
|
};
|
|
3746
3774
|
}
|
|
3747
3775
|
});
|
|
3748
|
-
var EditTeamForm_default = _sfc_main$
|
|
3776
|
+
var EditTeamForm_default = _sfc_main$39;
|
|
3749
3777
|
|
|
3750
3778
|
//#endregion
|
|
3751
3779
|
//#region src/slices/team/components/TeamAttachments.vue
|
|
3752
|
-
const _sfc_main$
|
|
3780
|
+
const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
3753
3781
|
__name: "TeamAttachments",
|
|
3754
3782
|
setup(__props) {
|
|
3755
3783
|
const teamId = useRoute().params.id;
|
|
@@ -3763,11 +3791,11 @@ const _sfc_main$39 = /* @__PURE__ */ defineComponent({
|
|
|
3763
3791
|
};
|
|
3764
3792
|
}
|
|
3765
3793
|
});
|
|
3766
|
-
var TeamAttachments_default = _sfc_main$
|
|
3794
|
+
var TeamAttachments_default = _sfc_main$38;
|
|
3767
3795
|
|
|
3768
3796
|
//#endregion
|
|
3769
3797
|
//#region src/slices/team/TeamAttachmentsTab.vue
|
|
3770
|
-
const _sfc_main$
|
|
3798
|
+
const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
3771
3799
|
__name: "TeamAttachmentsTab",
|
|
3772
3800
|
setup(__props) {
|
|
3773
3801
|
return (_ctx, _cache) => {
|
|
@@ -3775,7 +3803,7 @@ const _sfc_main$38 = /* @__PURE__ */ defineComponent({
|
|
|
3775
3803
|
};
|
|
3776
3804
|
}
|
|
3777
3805
|
});
|
|
3778
|
-
var TeamAttachmentsTab_default = _sfc_main$
|
|
3806
|
+
var TeamAttachmentsTab_default = _sfc_main$37;
|
|
3779
3807
|
|
|
3780
3808
|
//#endregion
|
|
3781
3809
|
//#region src/slices/team/teamFiltersMetadata.ts
|
|
@@ -3816,8 +3844,8 @@ const teamRowSchemaWithMetadata = withMetadata(TeamReadSchema, "teamRow", {});
|
|
|
3816
3844
|
|
|
3817
3845
|
//#endregion
|
|
3818
3846
|
//#region src/slices/team/TeamList.vue
|
|
3819
|
-
const _hoisted_1$
|
|
3820
|
-
const _sfc_main$
|
|
3847
|
+
const _hoisted_1$34 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-4" };
|
|
3848
|
+
const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
3821
3849
|
__name: "TeamList",
|
|
3822
3850
|
setup(__props) {
|
|
3823
3851
|
const currentPaginationToken = ref();
|
|
@@ -3900,7 +3928,7 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
3900
3928
|
});
|
|
3901
3929
|
return (_ctx, _cache) => {
|
|
3902
3930
|
const _component_router_link = resolveComponent("router-link");
|
|
3903
|
-
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$
|
|
3931
|
+
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
3932
|
to: { name: unref(teamPaths).create.name },
|
|
3905
3933
|
class: "btn btn-primary btn-sm sm:btn-md"
|
|
3906
3934
|
}, {
|
|
@@ -3935,19 +3963,19 @@ const _sfc_main$37 = /* @__PURE__ */ defineComponent({
|
|
|
3935
3963
|
};
|
|
3936
3964
|
}
|
|
3937
3965
|
});
|
|
3938
|
-
var TeamList_default = _sfc_main$
|
|
3966
|
+
var TeamList_default = _sfc_main$36;
|
|
3939
3967
|
|
|
3940
3968
|
//#endregion
|
|
3941
3969
|
//#region src/slices/team/TeamParent.vue
|
|
3942
|
-
const _hoisted_1$
|
|
3970
|
+
const _hoisted_1$33 = {
|
|
3943
3971
|
key: 0,
|
|
3944
3972
|
class: "flex justify-center items-center p-8"
|
|
3945
3973
|
};
|
|
3946
|
-
const _hoisted_2$
|
|
3974
|
+
const _hoisted_2$30 = {
|
|
3947
3975
|
key: 1,
|
|
3948
3976
|
class: "alert alert-error mb-4"
|
|
3949
3977
|
};
|
|
3950
|
-
const _sfc_main$
|
|
3978
|
+
const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
3951
3979
|
__name: "TeamParent",
|
|
3952
3980
|
setup(__props) {
|
|
3953
3981
|
const route = useRoute();
|
|
@@ -3987,7 +4015,7 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
3987
4015
|
}, true);
|
|
3988
4016
|
return (_ctx, _cache) => {
|
|
3989
4017
|
const _component_RouterView = resolveComponent("RouterView");
|
|
3990
|
-
return unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4018
|
+
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
4019
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3992
4020
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
3993
4021
|
fill: "none",
|
|
@@ -4010,15 +4038,15 @@ const _sfc_main$36 = /* @__PURE__ */ defineComponent({
|
|
|
4010
4038
|
};
|
|
4011
4039
|
}
|
|
4012
4040
|
});
|
|
4013
|
-
var TeamParent_default = _sfc_main$
|
|
4041
|
+
var TeamParent_default = _sfc_main$35;
|
|
4014
4042
|
|
|
4015
4043
|
//#endregion
|
|
4016
4044
|
//#region src/slices/team/ViewTeam.vue
|
|
4017
|
-
const _hoisted_1$
|
|
4045
|
+
const _hoisted_1$32 = {
|
|
4018
4046
|
key: 0,
|
|
4019
4047
|
class: "flex justify-center items-center p-8"
|
|
4020
4048
|
};
|
|
4021
|
-
const _hoisted_2$
|
|
4049
|
+
const _hoisted_2$29 = {
|
|
4022
4050
|
key: 1,
|
|
4023
4051
|
class: "alert alert-error mb-4"
|
|
4024
4052
|
};
|
|
@@ -4124,7 +4152,7 @@ const _hoisted_46 = {
|
|
|
4124
4152
|
class: "text-xs"
|
|
4125
4153
|
};
|
|
4126
4154
|
const _hoisted_47 = { class: "flex flex-col sm:flex-row gap-3 justify-center mt-6" };
|
|
4127
|
-
const _sfc_main$
|
|
4155
|
+
const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
4128
4156
|
__name: "ViewTeam",
|
|
4129
4157
|
props: {
|
|
4130
4158
|
team: {},
|
|
@@ -4137,7 +4165,7 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
4137
4165
|
const teamData = computed(() => props.team);
|
|
4138
4166
|
return (_ctx, _cache) => {
|
|
4139
4167
|
const _component_router_link = resolveComponent("router-link");
|
|
4140
|
-
return __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4168
|
+
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
4169
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4142
4170
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
4143
4171
|
fill: "none",
|
|
@@ -4222,15 +4250,15 @@ const _sfc_main$35 = /* @__PURE__ */ defineComponent({
|
|
|
4222
4250
|
};
|
|
4223
4251
|
}
|
|
4224
4252
|
});
|
|
4225
|
-
var ViewTeam_default = _sfc_main$
|
|
4253
|
+
var ViewTeam_default = _sfc_main$34;
|
|
4226
4254
|
|
|
4227
4255
|
//#endregion
|
|
4228
4256
|
//#region src/slices/team/team_member/CreateTeamMemberForm.vue
|
|
4229
|
-
const _hoisted_1$
|
|
4257
|
+
const _hoisted_1$31 = {
|
|
4230
4258
|
key: 0,
|
|
4231
4259
|
class: "flex flex-col items-center justify-center p-8"
|
|
4232
4260
|
};
|
|
4233
|
-
const _hoisted_2$
|
|
4261
|
+
const _hoisted_2$28 = {
|
|
4234
4262
|
key: 1,
|
|
4235
4263
|
class: "flex flex-col items-center justify-center p-8"
|
|
4236
4264
|
};
|
|
@@ -4240,7 +4268,7 @@ const _hoisted_4$24 = {
|
|
|
4240
4268
|
class: "alert alert-error mb-4"
|
|
4241
4269
|
};
|
|
4242
4270
|
const _hoisted_5$18 = { class: "flex justify-center mt-6" };
|
|
4243
|
-
const _sfc_main$
|
|
4271
|
+
const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
4244
4272
|
__name: "CreateTeamMemberForm",
|
|
4245
4273
|
setup(__props) {
|
|
4246
4274
|
const router = useRouter();
|
|
@@ -4289,7 +4317,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
4289
4317
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
4290
4318
|
};
|
|
4291
4319
|
return (_ctx, _cache) => {
|
|
4292
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4320
|
+
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
4321
|
key: 2,
|
|
4294
4322
|
onHandleSubmit: handleSubmit,
|
|
4295
4323
|
onSuccess: handleSuccess,
|
|
@@ -4350,7 +4378,7 @@ const _sfc_main$34 = /* @__PURE__ */ defineComponent({
|
|
|
4350
4378
|
};
|
|
4351
4379
|
}
|
|
4352
4380
|
});
|
|
4353
|
-
var CreateTeamMemberForm_default = _sfc_main$
|
|
4381
|
+
var CreateTeamMemberForm_default = _sfc_main$33;
|
|
4354
4382
|
|
|
4355
4383
|
//#endregion
|
|
4356
4384
|
//#region src/slices/team/team_member/teamMemberFiltersMetadata.ts
|
|
@@ -4391,8 +4419,8 @@ const teamMemberRowSchemaWithMetadata = withMetadata(TeamMemberReadSchema, "team
|
|
|
4391
4419
|
|
|
4392
4420
|
//#endregion
|
|
4393
4421
|
//#region src/slices/team/team_member/TeamMemberList.vue
|
|
4394
|
-
const _hoisted_1$
|
|
4395
|
-
const _sfc_main$
|
|
4422
|
+
const _hoisted_1$30 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-4" };
|
|
4423
|
+
const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
4396
4424
|
__name: "TeamMemberList",
|
|
4397
4425
|
setup(__props) {
|
|
4398
4426
|
const team_id = useRoute().params.id;
|
|
@@ -4489,7 +4517,7 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
4489
4517
|
});
|
|
4490
4518
|
return (_ctx, _cache) => {
|
|
4491
4519
|
const _component_router_link = resolveComponent("router-link");
|
|
4492
|
-
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$
|
|
4520
|
+
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
4521
|
to: {
|
|
4494
4522
|
name: unref(teamMemberPaths).create.name,
|
|
4495
4523
|
params: { id: unref(team_id) }
|
|
@@ -4534,19 +4562,19 @@ const _sfc_main$33 = /* @__PURE__ */ defineComponent({
|
|
|
4534
4562
|
};
|
|
4535
4563
|
}
|
|
4536
4564
|
});
|
|
4537
|
-
var TeamMemberList_default = _sfc_main$
|
|
4565
|
+
var TeamMemberList_default = _sfc_main$32;
|
|
4538
4566
|
|
|
4539
4567
|
//#endregion
|
|
4540
4568
|
//#region src/slices/team/team_member/TeamMemberParent.vue
|
|
4541
|
-
const _hoisted_1$
|
|
4569
|
+
const _hoisted_1$29 = {
|
|
4542
4570
|
key: 0,
|
|
4543
4571
|
class: "flex justify-center items-center p-8"
|
|
4544
4572
|
};
|
|
4545
|
-
const _hoisted_2$
|
|
4573
|
+
const _hoisted_2$27 = {
|
|
4546
4574
|
key: 1,
|
|
4547
4575
|
class: "alert alert-error mb-4"
|
|
4548
4576
|
};
|
|
4549
|
-
const _sfc_main$
|
|
4577
|
+
const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
4550
4578
|
__name: "TeamMemberParent",
|
|
4551
4579
|
setup(__props) {
|
|
4552
4580
|
const route = useRoute();
|
|
@@ -4585,7 +4613,7 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
4585
4613
|
provide("refreshTeamMember", refreshTeamMember);
|
|
4586
4614
|
return (_ctx, _cache) => {
|
|
4587
4615
|
const _component_RouterView = resolveComponent("RouterView");
|
|
4588
|
-
return unref(isLoading) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4616
|
+
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
4617
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4590
4618
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
4591
4619
|
fill: "none",
|
|
@@ -4608,15 +4636,15 @@ const _sfc_main$32 = /* @__PURE__ */ defineComponent({
|
|
|
4608
4636
|
};
|
|
4609
4637
|
}
|
|
4610
4638
|
});
|
|
4611
|
-
var TeamMemberParent_default = _sfc_main$
|
|
4639
|
+
var TeamMemberParent_default = _sfc_main$31;
|
|
4612
4640
|
|
|
4613
4641
|
//#endregion
|
|
4614
4642
|
//#region src/slices/team/team_member/ViewTeamMember.vue
|
|
4615
|
-
const _hoisted_1$
|
|
4643
|
+
const _hoisted_1$28 = {
|
|
4616
4644
|
key: 0,
|
|
4617
4645
|
class: "flex justify-center items-center p-8"
|
|
4618
4646
|
};
|
|
4619
|
-
const _hoisted_2$
|
|
4647
|
+
const _hoisted_2$26 = {
|
|
4620
4648
|
key: 1,
|
|
4621
4649
|
class: "alert alert-error mb-4"
|
|
4622
4650
|
};
|
|
@@ -4680,7 +4708,7 @@ const _hoisted_28$1 = {
|
|
|
4680
4708
|
class: "text-xs"
|
|
4681
4709
|
};
|
|
4682
4710
|
const _hoisted_29$1 = { class: "flex flex-col sm:flex-row gap-3 justify-center mt-6" };
|
|
4683
|
-
const _sfc_main$
|
|
4711
|
+
const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
4684
4712
|
__name: "ViewTeamMember",
|
|
4685
4713
|
props: {
|
|
4686
4714
|
teamMember: {},
|
|
@@ -4695,7 +4723,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
4695
4723
|
const teamMemberData = computed(() => props.teamMember);
|
|
4696
4724
|
return (_ctx, _cache) => {
|
|
4697
4725
|
const _component_router_link = resolveComponent("router-link");
|
|
4698
|
-
return __props.isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
4726
|
+
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
4727
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4700
4728
|
class: "stroke-current shrink-0 h-6 w-6",
|
|
4701
4729
|
fill: "none",
|
|
@@ -4767,7 +4795,7 @@ const _sfc_main$31 = /* @__PURE__ */ defineComponent({
|
|
|
4767
4795
|
};
|
|
4768
4796
|
}
|
|
4769
4797
|
});
|
|
4770
|
-
var ViewTeamMember_default = _sfc_main$
|
|
4798
|
+
var ViewTeamMember_default = _sfc_main$30;
|
|
4771
4799
|
|
|
4772
4800
|
//#endregion
|
|
4773
4801
|
//#region src/slices/saved_filter/lastUsedPresetGuard.ts
|
|
@@ -4977,7 +5005,7 @@ function useSavedFilters(config) {
|
|
|
4977
5005
|
const savedFilterRoutes = [{
|
|
4978
5006
|
path: "/saved-filters",
|
|
4979
5007
|
name: "SavedFilters",
|
|
4980
|
-
component: () => import("./SavedFiltersPage-
|
|
5008
|
+
component: () => import("./SavedFiltersPage-PfwukNXV.js"),
|
|
4981
5009
|
beforeEnter: [userAuthenticated],
|
|
4982
5010
|
meta: {
|
|
4983
5011
|
title: "Saved Filters",
|
|
@@ -4996,15 +5024,15 @@ const savedFilterRoutes = [{
|
|
|
4996
5024
|
|
|
4997
5025
|
//#endregion
|
|
4998
5026
|
//#region src/slices/saved_filter/SaveFilterModal.vue
|
|
4999
|
-
const _hoisted_1$
|
|
5000
|
-
const _hoisted_2$
|
|
5027
|
+
const _hoisted_1$27 = { class: "form-control" };
|
|
5028
|
+
const _hoisted_2$25 = {
|
|
5001
5029
|
key: 0,
|
|
5002
5030
|
class: "label"
|
|
5003
5031
|
};
|
|
5004
5032
|
const _hoisted_3$24 = { class: "label-text-alt text-error" };
|
|
5005
5033
|
const _hoisted_4$22 = { class: "flex justify-end gap-2" };
|
|
5006
5034
|
const _hoisted_5$16 = ["disabled"];
|
|
5007
|
-
const _sfc_main$
|
|
5035
|
+
const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
5008
5036
|
__name: "SaveFilterModal",
|
|
5009
5037
|
props: {
|
|
5010
5038
|
isOpen: { type: Boolean },
|
|
@@ -5047,7 +5075,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
5047
5075
|
default: withCtx(() => [createElementVNode("form", {
|
|
5048
5076
|
onSubmit: withModifiers(handleSubmit, ["prevent"]),
|
|
5049
5077
|
class: "space-y-4"
|
|
5050
|
-
}, [createElementVNode("div", _hoisted_1$
|
|
5078
|
+
}, [createElementVNode("div", _hoisted_1$27, [
|
|
5051
5079
|
_cache[1] || (_cache[1] = createElementVNode("label", { class: "label" }, [createElementVNode("span", { class: "label-text" }, "Preset name")], -1)),
|
|
5052
5080
|
withDirectives(createElementVNode("input", {
|
|
5053
5081
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => name.value = $event),
|
|
@@ -5056,7 +5084,7 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
5056
5084
|
class: "input input-bordered w-full",
|
|
5057
5085
|
maxlength: "100"
|
|
5058
5086
|
}, null, 512), [[vModelText, name.value]]),
|
|
5059
|
-
error.value ? (openBlock(), createElementBlock("label", _hoisted_2$
|
|
5087
|
+
error.value ? (openBlock(), createElementBlock("label", _hoisted_2$25, [createElementVNode("span", _hoisted_3$24, toDisplayString(error.value), 1)])) : createCommentVNode("v-if", true)
|
|
5060
5088
|
]), createElementVNode("div", _hoisted_4$22, [createElementVNode("button", {
|
|
5061
5089
|
type: "button",
|
|
5062
5090
|
class: "btn btn-ghost",
|
|
@@ -5071,12 +5099,12 @@ const _sfc_main$30 = /* @__PURE__ */ defineComponent({
|
|
|
5071
5099
|
};
|
|
5072
5100
|
}
|
|
5073
5101
|
});
|
|
5074
|
-
var SaveFilterModal_default = _sfc_main$
|
|
5102
|
+
var SaveFilterModal_default = _sfc_main$29;
|
|
5075
5103
|
|
|
5076
5104
|
//#endregion
|
|
5077
5105
|
//#region src/slices/saved_filter/ManagePresetsModal.vue
|
|
5078
|
-
const _hoisted_1$
|
|
5079
|
-
const _hoisted_2$
|
|
5106
|
+
const _hoisted_1$26 = { class: "space-y-4" };
|
|
5107
|
+
const _hoisted_2$24 = {
|
|
5080
5108
|
key: 0,
|
|
5081
5109
|
class: "text-base-content/70 text-sm"
|
|
5082
5110
|
};
|
|
@@ -5096,7 +5124,7 @@ const _hoisted_9$10 = { class: "text-base-content/60 text-xs font-normal ml-1" }
|
|
|
5096
5124
|
const _hoisted_10$7 = { class: "flex gap-1 shrink-0" };
|
|
5097
5125
|
const _hoisted_11$6 = ["onClick"];
|
|
5098
5126
|
const _hoisted_12$5 = ["disabled", "onClick"];
|
|
5099
|
-
const _sfc_main$
|
|
5127
|
+
const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
5100
5128
|
__name: "ManagePresetsModal",
|
|
5101
5129
|
props: {
|
|
5102
5130
|
isOpen: { type: Boolean },
|
|
@@ -5142,7 +5170,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
5142
5170
|
title: "Manage Filter Presets",
|
|
5143
5171
|
onClose: close
|
|
5144
5172
|
}, {
|
|
5145
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
5173
|
+
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
5174
|
return openBlock(), createElementBlock("li", {
|
|
5147
5175
|
key: preset.id,
|
|
5148
5176
|
class: "flex items-center gap-2 p-2 rounded-lg bg-base-200"
|
|
@@ -5212,12 +5240,12 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
|
|
|
5212
5240
|
};
|
|
5213
5241
|
}
|
|
5214
5242
|
});
|
|
5215
|
-
var ManagePresetsModal_default = _sfc_main$
|
|
5243
|
+
var ManagePresetsModal_default = _sfc_main$28;
|
|
5216
5244
|
|
|
5217
5245
|
//#endregion
|
|
5218
5246
|
//#region src/slices/saved_filter/PresetsModal.vue
|
|
5219
|
-
const _hoisted_1$
|
|
5220
|
-
const _hoisted_2$
|
|
5247
|
+
const _hoisted_1$25 = { class: "space-y-4" };
|
|
5248
|
+
const _hoisted_2$23 = { key: 0 };
|
|
5221
5249
|
const _hoisted_3$22 = { class: "space-y-2" };
|
|
5222
5250
|
const _hoisted_4$20 = ["onKeydown"];
|
|
5223
5251
|
const _hoisted_5$14 = ["disabled", "onClick"];
|
|
@@ -5249,7 +5277,7 @@ const _hoisted_20$1 = {
|
|
|
5249
5277
|
key: 0,
|
|
5250
5278
|
class: "text-base-content/60 text-xs"
|
|
5251
5279
|
};
|
|
5252
|
-
const _sfc_main$
|
|
5280
|
+
const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
5253
5281
|
__name: "PresetsModal",
|
|
5254
5282
|
props: {
|
|
5255
5283
|
isOpen: { type: Boolean },
|
|
@@ -5346,9 +5374,9 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
5346
5374
|
title: "Filter Presets",
|
|
5347
5375
|
onClose: close
|
|
5348
5376
|
}, {
|
|
5349
|
-
default: withCtx(() => [createElementVNode("div", _hoisted_1$
|
|
5377
|
+
default: withCtx(() => [createElementVNode("div", _hoisted_1$25, [
|
|
5350
5378
|
createCommentVNode(" Preset list: apply (click name), rename, delete "),
|
|
5351
|
-
__props.presets.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5379
|
+
__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
5380
|
return openBlock(), createElementBlock("li", {
|
|
5353
5381
|
key: preset.id,
|
|
5354
5382
|
class: "flex items-center gap-2 p-2 rounded-lg bg-base-200"
|
|
@@ -5492,18 +5520,18 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
|
|
|
5492
5520
|
};
|
|
5493
5521
|
}
|
|
5494
5522
|
});
|
|
5495
|
-
var PresetsModal_default = _sfc_main$
|
|
5523
|
+
var PresetsModal_default = _sfc_main$27;
|
|
5496
5524
|
|
|
5497
5525
|
//#endregion
|
|
5498
5526
|
//#region src/slices/saved_filter/SavedFilterPresets.vue
|
|
5499
|
-
const _hoisted_1$
|
|
5500
|
-
const _hoisted_2$
|
|
5527
|
+
const _hoisted_1$24 = { class: "flex items-center gap-2 flex-wrap" };
|
|
5528
|
+
const _hoisted_2$22 = {
|
|
5501
5529
|
key: 0,
|
|
5502
5530
|
class: "badge badge-primary badge-lg gap-1 pr-1"
|
|
5503
5531
|
};
|
|
5504
5532
|
const _hoisted_3$21 = { class: "truncate max-w-[8rem] sm:max-w-[12rem]" };
|
|
5505
5533
|
const _hoisted_4$19 = ["disabled", "title"];
|
|
5506
|
-
const _sfc_main$
|
|
5534
|
+
const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
5507
5535
|
__name: "SavedFilterPresets",
|
|
5508
5536
|
props: {
|
|
5509
5537
|
presets: {},
|
|
@@ -5544,9 +5572,9 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
5544
5572
|
await pinnedPresets.refetchPinned?.();
|
|
5545
5573
|
}
|
|
5546
5574
|
return (_ctx, _cache) => {
|
|
5547
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5575
|
+
return openBlock(), createElementBlock("div", _hoisted_1$24, [
|
|
5548
5576
|
createCommentVNode(" Active preset chip: shows when a preset is applied, with clear (×) "),
|
|
5549
|
-
props.activePreset ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
5577
|
+
props.activePreset ? (openBlock(), createElementBlock("div", _hoisted_2$22, [createElementVNode("span", _hoisted_3$21, toDisplayString(props.activePreset.name), 1), createElementVNode("button", {
|
|
5550
5578
|
type: "button",
|
|
5551
5579
|
class: "btn btn-ghost btn-xs btn-circle",
|
|
5552
5580
|
"aria-label": "Clear preset",
|
|
@@ -5637,7 +5665,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
|
|
|
5637
5665
|
};
|
|
5638
5666
|
}
|
|
5639
5667
|
});
|
|
5640
|
-
var SavedFilterPresets_default = _sfc_main$
|
|
5668
|
+
var SavedFilterPresets_default = _sfc_main$26;
|
|
5641
5669
|
|
|
5642
5670
|
//#endregion
|
|
5643
5671
|
//#region src/slices/support_ticket/customer/customerSupportTicketRoutes.ts
|
|
@@ -5694,7 +5722,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5694
5722
|
{
|
|
5695
5723
|
path: customerSupportPaths.customer_list.path,
|
|
5696
5724
|
name: customerSupportPaths.customer_list.name,
|
|
5697
|
-
component: () => import("./CustomerSupportTicketList-
|
|
5725
|
+
component: () => import("./CustomerSupportTicketList-BdCyjYTK.js"),
|
|
5698
5726
|
beforeEnter: (to) => customerListPresetGuard(to),
|
|
5699
5727
|
meta: {
|
|
5700
5728
|
title: "Tickets",
|
|
@@ -5713,7 +5741,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5713
5741
|
{
|
|
5714
5742
|
path: customerSupportPaths.customer_create.path,
|
|
5715
5743
|
name: customerSupportPaths.customer_create.name,
|
|
5716
|
-
component: () => import("./CustomerCreateSupportTicketForm-
|
|
5744
|
+
component: () => import("./CustomerCreateSupportTicketForm-DROOc8QU.js"),
|
|
5717
5745
|
meta: {
|
|
5718
5746
|
title: "Create Support Ticket",
|
|
5719
5747
|
description: "Create new support ticket",
|
|
@@ -5729,7 +5757,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5729
5757
|
{
|
|
5730
5758
|
path: customerSupportPaths.customer_create_success.path,
|
|
5731
5759
|
name: customerSupportPaths.customer_create_success.name,
|
|
5732
|
-
component: () => import("./CustomerSupportTicketSuccess-
|
|
5760
|
+
component: () => import("./CustomerSupportTicketSuccess-BiccWyEb.js"),
|
|
5733
5761
|
meta: {
|
|
5734
5762
|
title: "Support Ticket Submitted",
|
|
5735
5763
|
description: "Support ticket submitted successfully",
|
|
@@ -5751,7 +5779,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5751
5779
|
},
|
|
5752
5780
|
{
|
|
5753
5781
|
path: customerSupportPaths.customer_view.path,
|
|
5754
|
-
component: () => import("./CustomerSupportTicketParent-
|
|
5782
|
+
component: () => import("./CustomerSupportTicketParent-Ex-sumQ_.js"),
|
|
5755
5783
|
meta: {
|
|
5756
5784
|
title: "View Support Ticket",
|
|
5757
5785
|
description: "View support ticket details"
|
|
@@ -5759,7 +5787,7 @@ const customerSupportTicketRoutes = [{
|
|
|
5759
5787
|
children: [{
|
|
5760
5788
|
path: "",
|
|
5761
5789
|
name: customerSupportPaths.customer_view.name,
|
|
5762
|
-
component: () => import("./CustomerSupportTicketDetailPage-
|
|
5790
|
+
component: () => import("./CustomerSupportTicketDetailPage-CPnNMJRz.js"),
|
|
5763
5791
|
meta: {
|
|
5764
5792
|
title: "View Support Ticket",
|
|
5765
5793
|
description: "View support ticket details"
|
|
@@ -5836,7 +5864,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5836
5864
|
{
|
|
5837
5865
|
path: staffSupportPaths.staff_list.path,
|
|
5838
5866
|
name: staffSupportPaths.staff_list.name,
|
|
5839
|
-
component: () => import("./StaffSupportTicketList-
|
|
5867
|
+
component: () => import("./StaffSupportTicketList-B3HBQJ9r.js"),
|
|
5840
5868
|
beforeEnter: (to) => staffListPresetGuard(to),
|
|
5841
5869
|
meta: {
|
|
5842
5870
|
title: "Manage Support",
|
|
@@ -5850,7 +5878,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5850
5878
|
{
|
|
5851
5879
|
path: staffSupportPaths.staff_create.path,
|
|
5852
5880
|
name: staffSupportPaths.staff_create.name,
|
|
5853
|
-
component: () => import("./StaffCreateSupportTicketForm-
|
|
5881
|
+
component: () => import("./StaffCreateSupportTicketForm-Cs3puA0j.js"),
|
|
5854
5882
|
meta: {
|
|
5855
5883
|
title: "Create Support Ticket",
|
|
5856
5884
|
description: "Create new support ticket item",
|
|
@@ -5866,7 +5894,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5866
5894
|
{
|
|
5867
5895
|
path: staffSupportPaths.staff_create_success.path,
|
|
5868
5896
|
name: staffSupportPaths.staff_create_success.name,
|
|
5869
|
-
component: () => import("./StaffSupportTicketSuccess-
|
|
5897
|
+
component: () => import("./StaffSupportTicketSuccess-CegCdk-v.js"),
|
|
5870
5898
|
meta: {
|
|
5871
5899
|
title: "Support Ticket Created",
|
|
5872
5900
|
description: "Support ticket created successfully",
|
|
@@ -5888,7 +5916,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5888
5916
|
},
|
|
5889
5917
|
{
|
|
5890
5918
|
path: staffSupportPaths.staff_edit.path,
|
|
5891
|
-
component: () => import("./StaffSupportTicketParent-
|
|
5919
|
+
component: () => import("./StaffSupportTicketParent-BiyZAW5w.js"),
|
|
5892
5920
|
meta: {
|
|
5893
5921
|
title: "View Support Ticket",
|
|
5894
5922
|
description: "View support ticket details"
|
|
@@ -5896,7 +5924,7 @@ const staffSupportTicketRoutes = [{
|
|
|
5896
5924
|
children: [{
|
|
5897
5925
|
path: "",
|
|
5898
5926
|
name: staffSupportPaths.staff_edit.name,
|
|
5899
|
-
component: () => import("./StaffSupportTicketDetailPage-
|
|
5927
|
+
component: () => import("./StaffSupportTicketDetailPage-DDkJcKVC.js"),
|
|
5900
5928
|
meta: {
|
|
5901
5929
|
title: "View Support Ticket",
|
|
5902
5930
|
description: "View support ticket details"
|
|
@@ -5908,8 +5936,8 @@ const staffSupportTicketRoutes = [{
|
|
|
5908
5936
|
|
|
5909
5937
|
//#endregion
|
|
5910
5938
|
//#region src/slices/support_ticket/customer/components/SupportTicketTimeline.vue
|
|
5911
|
-
const _hoisted_1$
|
|
5912
|
-
const _hoisted_2$
|
|
5939
|
+
const _hoisted_1$23 = { class: "mt-8" };
|
|
5940
|
+
const _hoisted_2$21 = { class: "relative" };
|
|
5913
5941
|
const _hoisted_3$20 = { class: "space-y-6 relative" };
|
|
5914
5942
|
const _hoisted_4$18 = { class: "flex items-start group" };
|
|
5915
5943
|
const _hoisted_5$13 = { class: "ml-4" };
|
|
@@ -5951,12 +5979,12 @@ const _hoisted_15$1 = {
|
|
|
5951
5979
|
class: "flex items-start group"
|
|
5952
5980
|
};
|
|
5953
5981
|
const _hoisted_16$1 = { class: "ml-4" };
|
|
5954
|
-
const _sfc_main$
|
|
5982
|
+
const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
5955
5983
|
__name: "SupportTicketTimeline",
|
|
5956
5984
|
props: { support_ticket: {} },
|
|
5957
5985
|
setup(__props) {
|
|
5958
5986
|
return (_ctx, _cache) => {
|
|
5959
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
5987
|
+
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
5988
|
createCommentVNode(" Timeline line "),
|
|
5961
5989
|
_cache[7] || (_cache[7] = createElementVNode("div", { class: "absolute left-4 top-0 bottom-0 w-0.5 bg-base-300" }, null, -1)),
|
|
5962
5990
|
createCommentVNode(" Timeline items "),
|
|
@@ -6094,7 +6122,7 @@ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
|
|
|
6094
6122
|
};
|
|
6095
6123
|
}
|
|
6096
6124
|
});
|
|
6097
|
-
var SupportTicketTimeline_default = _sfc_main$
|
|
6125
|
+
var SupportTicketTimeline_default = _sfc_main$25;
|
|
6098
6126
|
|
|
6099
6127
|
//#endregion
|
|
6100
6128
|
//#region src/slices/support_ticket/customer/customerSupportTicketMetadata.ts
|
|
@@ -6123,11 +6151,11 @@ const customerSupportTicketUpdateSchemaWithMetadata = withMetadata(CustomerSuppo
|
|
|
6123
6151
|
|
|
6124
6152
|
//#endregion
|
|
6125
6153
|
//#region src/slices/support_ticket/customer/CustomerCreateSupportTicketForm.vue
|
|
6126
|
-
const _hoisted_1$
|
|
6154
|
+
const _hoisted_1$22 = {
|
|
6127
6155
|
key: 0,
|
|
6128
6156
|
class: "flex flex-col items-center justify-center p-8"
|
|
6129
6157
|
};
|
|
6130
|
-
const _hoisted_2$
|
|
6158
|
+
const _hoisted_2$20 = {
|
|
6131
6159
|
key: 1,
|
|
6132
6160
|
class: "flex flex-col items-center justify-center p-8"
|
|
6133
6161
|
};
|
|
@@ -6138,7 +6166,7 @@ const _hoisted_5$12 = {
|
|
|
6138
6166
|
class: "alert alert-error mb-4"
|
|
6139
6167
|
};
|
|
6140
6168
|
const _hoisted_6$11 = { class: "flex justify-center mt-6" };
|
|
6141
|
-
const _sfc_main$
|
|
6169
|
+
const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
6142
6170
|
__name: "CustomerCreateSupportTicketForm",
|
|
6143
6171
|
setup(__props) {
|
|
6144
6172
|
const router = useRouter();
|
|
@@ -6181,7 +6209,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
6181
6209
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
6182
6210
|
};
|
|
6183
6211
|
return (_ctx, _cache) => {
|
|
6184
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6212
|
+
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
6213
|
key: 2,
|
|
6186
6214
|
onBeforeValidate: beforeValidate,
|
|
6187
6215
|
onHandleSubmit: handleSubmit,
|
|
@@ -6240,12 +6268,12 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
|
|
|
6240
6268
|
};
|
|
6241
6269
|
}
|
|
6242
6270
|
});
|
|
6243
|
-
var CustomerCreateSupportTicketForm_default = _sfc_main$
|
|
6271
|
+
var CustomerCreateSupportTicketForm_default = _sfc_main$24;
|
|
6244
6272
|
|
|
6245
6273
|
//#endregion
|
|
6246
6274
|
//#region src/slices/support_ticket/shared/SupportTicketStatusBadge.vue
|
|
6247
|
-
const _hoisted_1$
|
|
6248
|
-
const _sfc_main$
|
|
6275
|
+
const _hoisted_1$21 = ["aria-label"];
|
|
6276
|
+
const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
6249
6277
|
__name: "SupportTicketStatusBadge",
|
|
6250
6278
|
props: {
|
|
6251
6279
|
status: {},
|
|
@@ -6323,11 +6351,11 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
|
|
|
6323
6351
|
class: normalizeClass(badgeClasses.value),
|
|
6324
6352
|
"aria-label": ariaLabel.value,
|
|
6325
6353
|
role: "status"
|
|
6326
|
-
}, toDisplayString(displayText.value), 11, _hoisted_1$
|
|
6354
|
+
}, toDisplayString(displayText.value), 11, _hoisted_1$21);
|
|
6327
6355
|
};
|
|
6328
6356
|
}
|
|
6329
6357
|
});
|
|
6330
|
-
var SupportTicketStatusBadge_default = _sfc_main$
|
|
6358
|
+
var SupportTicketStatusBadge_default = _sfc_main$23;
|
|
6331
6359
|
|
|
6332
6360
|
//#endregion
|
|
6333
6361
|
//#region src/slices/support_ticket/customer/customerSupportTicketRowSchema.ts
|
|
@@ -6339,11 +6367,11 @@ const customerSupportTicketRowSchemaWithMetadata = withMetadata(CustomerSupportT
|
|
|
6339
6367
|
|
|
6340
6368
|
//#endregion
|
|
6341
6369
|
//#region src/slices/support_ticket/customer/CustomerSupportTicketList.vue
|
|
6342
|
-
const _hoisted_1$
|
|
6343
|
-
const _hoisted_2$
|
|
6370
|
+
const _hoisted_1$20 = { class: "mt-2" };
|
|
6371
|
+
const _hoisted_2$19 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-4" };
|
|
6344
6372
|
const _hoisted_3$18 = { class: "flex items-center gap-2" };
|
|
6345
6373
|
const _hoisted_4$16 = { class: "flex gap-2" };
|
|
6346
|
-
const _sfc_main$
|
|
6374
|
+
const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
6347
6375
|
__name: "CustomerSupportTicketList",
|
|
6348
6376
|
setup(__props) {
|
|
6349
6377
|
const route = useRoute();
|
|
@@ -6484,7 +6512,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
6484
6512
|
});
|
|
6485
6513
|
return (_ctx, _cache) => {
|
|
6486
6514
|
const _component_router_link = resolveComponent("router-link");
|
|
6487
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6515
|
+
return openBlock(), createElementBlock("div", _hoisted_1$20, [createElementVNode("div", _hoisted_2$19, [createElementVNode("div", _hoisted_3$18, [createVNode(unref(SavedFilterPresets_default), {
|
|
6488
6516
|
presets: unref(savedFilters).presets.value,
|
|
6489
6517
|
"presets-loading": unref(savedFilters).presetsLoading.value,
|
|
6490
6518
|
creating: unref(savedFilters).creating.value,
|
|
@@ -6550,19 +6578,19 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
6550
6578
|
};
|
|
6551
6579
|
}
|
|
6552
6580
|
});
|
|
6553
|
-
var CustomerSupportTicketList_default = _sfc_main$
|
|
6581
|
+
var CustomerSupportTicketList_default = _sfc_main$22;
|
|
6554
6582
|
|
|
6555
6583
|
//#endregion
|
|
6556
6584
|
//#region src/slices/support_ticket/customer/CustomerSupportTicketSuccess.vue
|
|
6557
|
-
const _hoisted_1$
|
|
6558
|
-
const _hoisted_2$
|
|
6585
|
+
const _hoisted_1$19 = { class: "flex flex-col items-center justify-center min-h-[60vh] p-8" };
|
|
6586
|
+
const _hoisted_2$18 = { class: "text-center max-w-2xl" };
|
|
6559
6587
|
const _hoisted_3$17 = { class: "flex flex-col sm:flex-row gap-4 justify-center" };
|
|
6560
|
-
const _sfc_main$
|
|
6588
|
+
const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
6561
6589
|
__name: "CustomerSupportTicketSuccess",
|
|
6562
6590
|
setup(__props) {
|
|
6563
6591
|
return (_ctx, _cache) => {
|
|
6564
6592
|
const _component_router_link = resolveComponent("router-link");
|
|
6565
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
6593
|
+
return openBlock(), createElementBlock("div", _hoisted_1$19, [createElementVNode("div", _hoisted_2$18, [
|
|
6566
6594
|
createCommentVNode(" Success Icon "),
|
|
6567
6595
|
_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
6596
|
class: "w-10 h-10 text-success-content",
|
|
@@ -6599,15 +6627,15 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
|
|
|
6599
6627
|
};
|
|
6600
6628
|
}
|
|
6601
6629
|
});
|
|
6602
|
-
var CustomerSupportTicketSuccess_default = _sfc_main$
|
|
6630
|
+
var CustomerSupportTicketSuccess_default = _sfc_main$21;
|
|
6603
6631
|
|
|
6604
6632
|
//#endregion
|
|
6605
6633
|
//#region src/slices/support_ticket/staff/components/CustomerCreditBalance.vue
|
|
6606
|
-
const _hoisted_1$
|
|
6634
|
+
const _hoisted_1$18 = {
|
|
6607
6635
|
key: 0,
|
|
6608
6636
|
class: "flex items-center gap-2"
|
|
6609
6637
|
};
|
|
6610
|
-
const _hoisted_2$
|
|
6638
|
+
const _hoisted_2$17 = { class: "space-y-2" };
|
|
6611
6639
|
const _hoisted_3$16 = { class: "grid grid-cols-2 gap-2 text-sm" };
|
|
6612
6640
|
const _hoisted_4$15 = { class: "font-bold ml-2" };
|
|
6613
6641
|
const _hoisted_5$11 = { class: "font-bold ml-2" };
|
|
@@ -6615,7 +6643,7 @@ const _hoisted_6$10 = {
|
|
|
6615
6643
|
key: 0,
|
|
6616
6644
|
class: "alert alert-warning alert-sm"
|
|
6617
6645
|
};
|
|
6618
|
-
const _sfc_main$
|
|
6646
|
+
const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
6619
6647
|
__name: "CustomerCreditBalance",
|
|
6620
6648
|
setup(__props) {
|
|
6621
6649
|
const { data, loading, error } = useQuery((api) => api.customer.getCreditBalance(), { staleTime: 120 * 1e3 });
|
|
@@ -6625,7 +6653,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
6625
6653
|
return (parseFloat(creditBalance.value.monthly) || 0) + (parseFloat(creditBalance.value.rollover) || 0);
|
|
6626
6654
|
});
|
|
6627
6655
|
return (_ctx, _cache) => {
|
|
6628
|
-
return openBlock(), createElementBlock("div", null, [createCommentVNode(" Loading State "), unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6656
|
+
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
6657
|
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
6658
|
createElementVNode("div", { class: normalizeClass(["flex items-center justify-between p-2 rounded", {
|
|
6631
6659
|
"bg-success/20": totalAvailable.value > 0,
|
|
@@ -6650,15 +6678,15 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
|
|
|
6650
6678
|
};
|
|
6651
6679
|
}
|
|
6652
6680
|
});
|
|
6653
|
-
var CustomerCreditBalance_default = _sfc_main$
|
|
6681
|
+
var CustomerCreditBalance_default = _sfc_main$20;
|
|
6654
6682
|
|
|
6655
6683
|
//#endregion
|
|
6656
6684
|
//#region src/slices/support_ticket/staff/components/ApproveRejectActions.vue
|
|
6657
|
-
const _hoisted_1$
|
|
6685
|
+
const _hoisted_1$17 = {
|
|
6658
6686
|
key: 0,
|
|
6659
6687
|
class: "alert alert-warning py-2"
|
|
6660
6688
|
};
|
|
6661
|
-
const _hoisted_2$
|
|
6689
|
+
const _hoisted_2$16 = {
|
|
6662
6690
|
key: 1,
|
|
6663
6691
|
class: "space-y-3"
|
|
6664
6692
|
};
|
|
@@ -6719,7 +6747,7 @@ const _hoisted_35 = {
|
|
|
6719
6747
|
key: 0,
|
|
6720
6748
|
class: "loading loading-spinner loading-xs mr-2"
|
|
6721
6749
|
};
|
|
6722
|
-
const _sfc_main$
|
|
6750
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
6723
6751
|
__name: "ApproveRejectActions",
|
|
6724
6752
|
props: { support_ticket: {} },
|
|
6725
6753
|
emits: ["update"],
|
|
@@ -6842,7 +6870,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
6842
6870
|
props.support_ticket.approval_status === "PENDING" ? (openBlock(), createBlock(ZiniaContainer_default, { key: 0 }, {
|
|
6843
6871
|
default: withCtx(() => [
|
|
6844
6872
|
_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$
|
|
6873
|
+
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
6874
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6847
6875
|
class: "stroke-current shrink-0 h-5 w-5",
|
|
6848
6876
|
fill: "none",
|
|
@@ -6852,7 +6880,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
6852
6880
|
"stroke-linejoin": "round",
|
|
6853
6881
|
"stroke-width": "2",
|
|
6854
6882
|
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$
|
|
6883
|
+
})]), createElementVNode("span", { class: "text-xs sm:text-sm" }, "You must set an estimate before approving")], -1)])])) : (openBlock(), createElementBlock("div", _hoisted_2$16, [
|
|
6856
6884
|
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
6885
|
createCommentVNode(" Show Customer's Credit Balance "),
|
|
6858
6886
|
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 +6977,12 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
|
|
|
6949
6977
|
};
|
|
6950
6978
|
}
|
|
6951
6979
|
});
|
|
6952
|
-
var ApproveRejectActions_default = _sfc_main$
|
|
6980
|
+
var ApproveRejectActions_default = _sfc_main$19;
|
|
6953
6981
|
|
|
6954
6982
|
//#endregion
|
|
6955
6983
|
//#region src/slices/support_ticket/staff/components/CancelInternalTaskWorkflow.vue
|
|
6956
|
-
const _hoisted_1$
|
|
6957
|
-
const _hoisted_2$
|
|
6984
|
+
const _hoisted_1$16 = { class: "flex justify-end mt-4" };
|
|
6985
|
+
const _hoisted_2$15 = ["disabled"];
|
|
6958
6986
|
const _hoisted_3$14 = {
|
|
6959
6987
|
key: 0,
|
|
6960
6988
|
class: "loading loading-spinner loading-sm mr-2"
|
|
@@ -6968,7 +6996,7 @@ const _hoisted_6$8 = { class: "modal-box" };
|
|
|
6968
6996
|
const _hoisted_7$7 = { class: "font-bold text-lg" };
|
|
6969
6997
|
const _hoisted_8$7 = { class: "py-4 whitespace-pre-line" };
|
|
6970
6998
|
const _hoisted_9$6 = { class: "modal-action" };
|
|
6971
|
-
const _sfc_main$
|
|
6999
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
6972
7000
|
__name: "CancelInternalTaskWorkflow",
|
|
6973
7001
|
props: { support_ticket: {} },
|
|
6974
7002
|
emits: ["update"],
|
|
@@ -7016,11 +7044,11 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
7016
7044
|
createElementVNode("li", null, "Task is marked as terminal state"),
|
|
7017
7045
|
createElementVNode("li", null, "No credit impact (internal tasks have no credits)")
|
|
7018
7046
|
])])], -1)),
|
|
7019
|
-
createElementVNode("div", _hoisted_1$
|
|
7047
|
+
createElementVNode("div", _hoisted_1$16, [createElementVNode("button", {
|
|
7020
7048
|
class: "btn btn-error w-full sm:w-auto",
|
|
7021
7049
|
onClick: withModifiers(showCancelModal, ["prevent"]),
|
|
7022
7050
|
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$
|
|
7051
|
+
}, [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
7052
|
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$13, [createElementVNode("span", _hoisted_5$9, toDisplayString(error.value), 1)])) : createCommentVNode("v-if", true)
|
|
7025
7053
|
]),
|
|
7026
7054
|
_: 1
|
|
@@ -7048,19 +7076,19 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
|
7048
7076
|
};
|
|
7049
7077
|
}
|
|
7050
7078
|
});
|
|
7051
|
-
var CancelInternalTaskWorkflow_default = _sfc_main$
|
|
7079
|
+
var CancelInternalTaskWorkflow_default = _sfc_main$18;
|
|
7052
7080
|
|
|
7053
7081
|
//#endregion
|
|
7054
7082
|
//#region src/slices/support_ticket/staff/components/CompleteSupportTicketForm.vue
|
|
7055
|
-
const _hoisted_1$
|
|
7056
|
-
const _hoisted_2$
|
|
7083
|
+
const _hoisted_1$15 = { class: "text-xs sm:text-sm text-base-content/70 mb-4" };
|
|
7084
|
+
const _hoisted_2$14 = { class: "font-semibold" };
|
|
7057
7085
|
const _hoisted_3$13 = { class: "text-xs sm:text-sm" };
|
|
7058
7086
|
const _hoisted_4$12 = { class: "grid grid-cols-2 gap-2 sm:gap-4 mt-2" };
|
|
7059
7087
|
const _hoisted_5$8 = { class: "bg-base-100 p-3 rounded-lg" };
|
|
7060
7088
|
const _hoisted_6$7 = { class: "text-lg sm:text-xl font-bold text-primary" };
|
|
7061
7089
|
const _hoisted_7$6 = { class: "bg-base-100 p-3 rounded-lg" };
|
|
7062
7090
|
const _hoisted_8$6 = { class: "text-xs text-base-content/60" };
|
|
7063
|
-
const _sfc_main$
|
|
7091
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
7064
7092
|
__name: "CompleteSupportTicketForm",
|
|
7065
7093
|
props: { support_ticket: {} },
|
|
7066
7094
|
emits: ["update"],
|
|
@@ -7146,9 +7174,9 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
7146
7174
|
}, {
|
|
7147
7175
|
default: withCtx(() => [
|
|
7148
7176
|
_cache[2] || (_cache[2] = createElementVNode("h3", { class: "card-title text-base sm:text-lg" }, "Complete Support Ticket", -1)),
|
|
7149
|
-
createElementVNode("p", _hoisted_1$
|
|
7177
|
+
createElementVNode("p", _hoisted_1$15, [
|
|
7150
7178
|
_cache[0] || (_cache[0] = createTextVNode(" Customer was charged ", -1)),
|
|
7151
|
-
createElementVNode("span", _hoisted_2$
|
|
7179
|
+
createElementVNode("span", _hoisted_2$14, toDisplayString(unref(formatStaffCreditValue)(props.support_ticket.credit_value, props.support_ticket.approval_status)), 1),
|
|
7152
7180
|
_cache[1] || (_cache[1] = createTextVNode(" credits ", -1))
|
|
7153
7181
|
]),
|
|
7154
7182
|
createCommentVNode(" Delivered Value Field "),
|
|
@@ -7183,12 +7211,12 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
7183
7211
|
};
|
|
7184
7212
|
}
|
|
7185
7213
|
});
|
|
7186
|
-
var CompleteSupportTicketForm_default = _sfc_main$
|
|
7214
|
+
var CompleteSupportTicketForm_default = _sfc_main$17;
|
|
7187
7215
|
|
|
7188
7216
|
//#endregion
|
|
7189
7217
|
//#region src/slices/support_ticket/staff/components/ConvertToCustomerWorkflow.vue
|
|
7190
|
-
const _hoisted_1$
|
|
7191
|
-
const _hoisted_2$
|
|
7218
|
+
const _hoisted_1$14 = { class: "flex justify-end mt-4" };
|
|
7219
|
+
const _hoisted_2$13 = ["disabled"];
|
|
7192
7220
|
const _hoisted_3$12 = {
|
|
7193
7221
|
key: 0,
|
|
7194
7222
|
class: "loading loading-spinner loading-sm mr-2"
|
|
@@ -7202,7 +7230,7 @@ const _hoisted_6$6 = { class: "modal-box" };
|
|
|
7202
7230
|
const _hoisted_7$5 = { class: "font-bold text-lg" };
|
|
7203
7231
|
const _hoisted_8$5 = { class: "py-4 whitespace-pre-line" };
|
|
7204
7232
|
const _hoisted_9$5 = { class: "modal-action" };
|
|
7205
|
-
const _sfc_main$
|
|
7233
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
7206
7234
|
__name: "ConvertToCustomerWorkflow",
|
|
7207
7235
|
props: { support_ticket: {} },
|
|
7208
7236
|
emits: ["update"],
|
|
@@ -7250,11 +7278,11 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
7250
7278
|
createElementVNode("li", null, "Clears dev lifecycle (back to planning)"),
|
|
7251
7279
|
createElementVNode("li", null, "Staff must set credit estimate before approval")
|
|
7252
7280
|
])])], -1)),
|
|
7253
|
-
createElementVNode("div", _hoisted_1$
|
|
7281
|
+
createElementVNode("div", _hoisted_1$14, [createElementVNode("button", {
|
|
7254
7282
|
class: "btn btn-primary w-full sm:w-auto",
|
|
7255
7283
|
onClick: withModifiers(showConvertModal, ["prevent"]),
|
|
7256
7284
|
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$
|
|
7285
|
+
}, [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
7286
|
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$11, [createElementVNode("span", _hoisted_5$7, toDisplayString(error.value), 1)])) : createCommentVNode("v-if", true)
|
|
7259
7287
|
]),
|
|
7260
7288
|
_: 1
|
|
@@ -7282,12 +7310,12 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
|
7282
7310
|
};
|
|
7283
7311
|
}
|
|
7284
7312
|
});
|
|
7285
|
-
var ConvertToCustomerWorkflow_default = _sfc_main$
|
|
7313
|
+
var ConvertToCustomerWorkflow_default = _sfc_main$16;
|
|
7286
7314
|
|
|
7287
7315
|
//#endregion
|
|
7288
7316
|
//#region src/slices/support_ticket/staff/components/ConvertToInternalWorkflow.vue
|
|
7289
|
-
const _hoisted_1$
|
|
7290
|
-
const _hoisted_2$
|
|
7317
|
+
const _hoisted_1$13 = { class: "flex justify-end mt-4" };
|
|
7318
|
+
const _hoisted_2$12 = ["disabled"];
|
|
7291
7319
|
const _hoisted_3$11 = {
|
|
7292
7320
|
key: 0,
|
|
7293
7321
|
class: "loading loading-spinner loading-sm mr-2"
|
|
@@ -7301,7 +7329,7 @@ const _hoisted_6$5 = { class: "modal-box" };
|
|
|
7301
7329
|
const _hoisted_7$4 = { class: "font-bold text-lg" };
|
|
7302
7330
|
const _hoisted_8$4 = { class: "py-4 whitespace-pre-line" };
|
|
7303
7331
|
const _hoisted_9$4 = { class: "modal-action" };
|
|
7304
|
-
const _sfc_main$
|
|
7332
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
7305
7333
|
__name: "ConvertToInternalWorkflow",
|
|
7306
7334
|
props: { support_ticket: {} },
|
|
7307
7335
|
emits: ["update"],
|
|
@@ -7350,11 +7378,11 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
7350
7378
|
createElementVNode("li", null, "Automatically clears any credit estimates (internal tasks = no credits)"),
|
|
7351
7379
|
createElementVNode("li", null, "Can start development immediately")
|
|
7352
7380
|
])])], -1)),
|
|
7353
|
-
createElementVNode("div", _hoisted_1$
|
|
7381
|
+
createElementVNode("div", _hoisted_1$13, [createElementVNode("button", {
|
|
7354
7382
|
class: "btn btn-primary w-full sm:w-auto",
|
|
7355
7383
|
onClick: withModifiers(showConvertModal, ["prevent"]),
|
|
7356
7384
|
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$
|
|
7385
|
+
}, [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
7386
|
error.value ? (openBlock(), createElementBlock("div", _hoisted_4$10, [createElementVNode("span", _hoisted_5$6, toDisplayString(error.value), 1)])) : createCommentVNode("v-if", true)
|
|
7359
7387
|
]),
|
|
7360
7388
|
_: 1
|
|
@@ -7382,12 +7410,12 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
|
7382
7410
|
};
|
|
7383
7411
|
}
|
|
7384
7412
|
});
|
|
7385
|
-
var ConvertToInternalWorkflow_default = _sfc_main$
|
|
7413
|
+
var ConvertToInternalWorkflow_default = _sfc_main$15;
|
|
7386
7414
|
|
|
7387
7415
|
//#endregion
|
|
7388
7416
|
//#region src/slices/support_ticket/staff/components/ReactivateInternalTaskWorkflow.vue
|
|
7389
|
-
const _hoisted_1$
|
|
7390
|
-
const _hoisted_2$
|
|
7417
|
+
const _hoisted_1$12 = { class: "alert alert-info py-2" };
|
|
7418
|
+
const _hoisted_2$11 = { class: "flex flex-col gap-2" };
|
|
7391
7419
|
const _hoisted_3$10 = { class: "text-xs sm:text-sm space-y-1 ml-4 list-disc" };
|
|
7392
7420
|
const _hoisted_4$9 = { key: 0 };
|
|
7393
7421
|
const _hoisted_5$5 = { key: 1 };
|
|
@@ -7406,7 +7434,7 @@ const _hoisted_11$2 = { class: "modal-box" };
|
|
|
7406
7434
|
const _hoisted_12$1 = { class: "font-bold text-lg" };
|
|
7407
7435
|
const _hoisted_13 = { class: "py-4 whitespace-pre-line" };
|
|
7408
7436
|
const _hoisted_14 = { class: "modal-action" };
|
|
7409
|
-
const _sfc_main$
|
|
7437
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
7410
7438
|
__name: "ReactivateInternalTaskWorkflow",
|
|
7411
7439
|
props: { support_ticket: {} },
|
|
7412
7440
|
emits: ["update"],
|
|
@@ -7450,7 +7478,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
7450
7478
|
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
7479
|
default: withCtx(() => [
|
|
7452
7480
|
_cache[5] || (_cache[5] = createElementVNode("h3", { class: "card-title text-base sm:text-lg" }, "Reopen Internal Task", -1)),
|
|
7453
|
-
createElementVNode("div", _hoisted_1$
|
|
7481
|
+
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
7482
|
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
7483
|
_cache[1] || (_cache[1] = createElementVNode("li", null, "Clears completion timestamp", -1)),
|
|
7456
7484
|
_cache[2] || (_cache[2] = createElementVNode("li", null, "Task becomes active again", -1)),
|
|
@@ -7488,7 +7516,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
|
7488
7516
|
};
|
|
7489
7517
|
}
|
|
7490
7518
|
});
|
|
7491
|
-
var ReactivateInternalTaskWorkflow_default = _sfc_main$
|
|
7519
|
+
var ReactivateInternalTaskWorkflow_default = _sfc_main$14;
|
|
7492
7520
|
|
|
7493
7521
|
//#endregion
|
|
7494
7522
|
//#region src/slices/support_ticket/staff/StaffSupportTicketMetadata.ts
|
|
@@ -7556,11 +7584,11 @@ const adminSupportTicketUpdateSchemaWithMetadata = withMetadata(StaffSupportTick
|
|
|
7556
7584
|
|
|
7557
7585
|
//#endregion
|
|
7558
7586
|
//#region src/slices/support_ticket/staff/StaffCreateSupportTicketForm.vue
|
|
7559
|
-
const _hoisted_1$
|
|
7587
|
+
const _hoisted_1$11 = {
|
|
7560
7588
|
key: 0,
|
|
7561
7589
|
class: "flex flex-col items-center justify-center p-8"
|
|
7562
7590
|
};
|
|
7563
|
-
const _hoisted_2$
|
|
7591
|
+
const _hoisted_2$10 = {
|
|
7564
7592
|
key: 1,
|
|
7565
7593
|
class: "flex flex-col items-center justify-center p-8"
|
|
7566
7594
|
};
|
|
@@ -7571,7 +7599,7 @@ const _hoisted_5$4 = {
|
|
|
7571
7599
|
class: "alert alert-error mb-4"
|
|
7572
7600
|
};
|
|
7573
7601
|
const _hoisted_6$3 = { class: "flex justify-center mt-6" };
|
|
7574
|
-
const _sfc_main$
|
|
7602
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
7575
7603
|
__name: "StaffCreateSupportTicketForm",
|
|
7576
7604
|
setup(__props) {
|
|
7577
7605
|
const router = useRouter();
|
|
@@ -7646,7 +7674,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
7646
7674
|
form.setSubmitError(error instanceof Error ? error.message : "An unknown error occurred");
|
|
7647
7675
|
};
|
|
7648
7676
|
return (_ctx, _cache) => {
|
|
7649
|
-
return unref(form).isLoading ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
7677
|
+
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
7678
|
key: 2,
|
|
7651
7679
|
onBeforeValidate: beforeValidate,
|
|
7652
7680
|
onHandleSubmit: handleSubmit,
|
|
@@ -7728,7 +7756,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
|
7728
7756
|
};
|
|
7729
7757
|
}
|
|
7730
7758
|
});
|
|
7731
|
-
var StaffCreateSupportTicketForm_default = _sfc_main$
|
|
7759
|
+
var StaffCreateSupportTicketForm_default = _sfc_main$13;
|
|
7732
7760
|
|
|
7733
7761
|
//#endregion
|
|
7734
7762
|
//#region src/slices/support_ticket/staff/StaffSupportTicketRowSchema.ts
|
|
@@ -7740,8 +7768,8 @@ const adminSupportTicketRowSchemaWithMetadata = withMetadata(StaffSupportTicketR
|
|
|
7740
7768
|
|
|
7741
7769
|
//#endregion
|
|
7742
7770
|
//#region src/slices/support_ticket/staff/StaffSupportTicketList.vue
|
|
7743
|
-
const _hoisted_1$
|
|
7744
|
-
const _hoisted_2$
|
|
7771
|
+
const _hoisted_1$10 = { class: "flex flex-col sm:flex-row sm:justify-between sm:items-center gap-4 mb-4" };
|
|
7772
|
+
const _hoisted_2$9 = { class: "flex items-center gap-2" };
|
|
7745
7773
|
const _hoisted_3$8 = { class: "flex flex-col sm:flex-row gap-2" };
|
|
7746
7774
|
const _hoisted_4$7 = [
|
|
7747
7775
|
"value",
|
|
@@ -7749,7 +7777,7 @@ const _hoisted_4$7 = [
|
|
|
7749
7777
|
"onChange"
|
|
7750
7778
|
];
|
|
7751
7779
|
const _hoisted_5$3 = ["value"];
|
|
7752
|
-
const _sfc_main$
|
|
7780
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
7753
7781
|
__name: "StaffSupportTicketList",
|
|
7754
7782
|
setup(__props) {
|
|
7755
7783
|
const route = useRoute();
|
|
@@ -7928,7 +7956,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
7928
7956
|
});
|
|
7929
7957
|
return (_ctx, _cache) => {
|
|
7930
7958
|
const _component_router_link = resolveComponent("router-link");
|
|
7931
|
-
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$
|
|
7959
|
+
return openBlock(), createElementBlock("div", null, [createElementVNode("div", _hoisted_1$10, [createElementVNode("div", _hoisted_2$9, [createVNode(unref(SavedFilterPresets_default), {
|
|
7932
7960
|
presets: unref(savedFilters).presets.value,
|
|
7933
7961
|
"presets-loading": unref(savedFilters).presetsLoading.value,
|
|
7934
7962
|
creating: unref(savedFilters).creating.value,
|
|
@@ -8015,19 +8043,19 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
|
8015
8043
|
};
|
|
8016
8044
|
}
|
|
8017
8045
|
});
|
|
8018
|
-
var StaffSupportTicketList_default = _sfc_main$
|
|
8046
|
+
var StaffSupportTicketList_default = _sfc_main$12;
|
|
8019
8047
|
|
|
8020
8048
|
//#endregion
|
|
8021
8049
|
//#region src/slices/support_ticket/staff/StaffSupportTicketSuccess.vue
|
|
8022
|
-
const _hoisted_1$
|
|
8023
|
-
const _hoisted_2$
|
|
8050
|
+
const _hoisted_1$9 = { class: "flex flex-col items-center justify-center min-h-[60vh] p-8" };
|
|
8051
|
+
const _hoisted_2$8 = { class: "text-center max-w-2xl" };
|
|
8024
8052
|
const _hoisted_3$7 = { class: "flex flex-col sm:flex-row gap-4 justify-center" };
|
|
8025
|
-
const _sfc_main$
|
|
8053
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
8026
8054
|
__name: "StaffSupportTicketSuccess",
|
|
8027
8055
|
setup(__props) {
|
|
8028
8056
|
return (_ctx, _cache) => {
|
|
8029
8057
|
const _component_router_link = resolveComponent("router-link");
|
|
8030
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
8058
|
+
return openBlock(), createElementBlock("div", _hoisted_1$9, [createElementVNode("div", _hoisted_2$8, [
|
|
8031
8059
|
createCommentVNode(" Success Icon "),
|
|
8032
8060
|
_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
8061
|
class: "w-10 h-10 text-success-content",
|
|
@@ -8064,15 +8092,15 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
|
8064
8092
|
};
|
|
8065
8093
|
}
|
|
8066
8094
|
});
|
|
8067
|
-
var StaffSupportTicketSuccess_default = _sfc_main$
|
|
8095
|
+
var StaffSupportTicketSuccess_default = _sfc_main$11;
|
|
8068
8096
|
|
|
8069
8097
|
//#endregion
|
|
8070
8098
|
//#region src/slices/support_ticket/shared/CreditBalanceWidget.vue
|
|
8071
|
-
const _hoisted_1$
|
|
8099
|
+
const _hoisted_1$8 = {
|
|
8072
8100
|
key: 0,
|
|
8073
8101
|
class: "flex items-center gap-2"
|
|
8074
8102
|
};
|
|
8075
|
-
const _hoisted_2$
|
|
8103
|
+
const _hoisted_2$7 = { class: "flex items-center gap-2" };
|
|
8076
8104
|
const _hoisted_3$6 = { class: "font-bold" };
|
|
8077
8105
|
const _hoisted_4$6 = { class: "space-y-3" };
|
|
8078
8106
|
const _hoisted_5$2 = {
|
|
@@ -8092,7 +8120,7 @@ const _hoisted_12 = {
|
|
|
8092
8120
|
key: 2,
|
|
8093
8121
|
class: "pt-2"
|
|
8094
8122
|
};
|
|
8095
|
-
const _sfc_main$
|
|
8123
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
8096
8124
|
__name: "CreditBalanceWidget",
|
|
8097
8125
|
props: {
|
|
8098
8126
|
variant: { default: "full" },
|
|
@@ -8119,7 +8147,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
8119
8147
|
});
|
|
8120
8148
|
return (_ctx, _cache) => {
|
|
8121
8149
|
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$
|
|
8150
|
+
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
8151
|
"badge-success": totalAvailable.value > 0,
|
|
8124
8152
|
"badge-warning": totalAvailable.value === 0
|
|
8125
8153
|
}]) }, [_cache[3] || (_cache[3] = createElementVNode("svg", {
|
|
@@ -8174,11 +8202,11 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
|
8174
8202
|
};
|
|
8175
8203
|
}
|
|
8176
8204
|
});
|
|
8177
|
-
var CreditBalanceWidget_default = /* @__PURE__ */ export_helper_default(_sfc_main$
|
|
8205
|
+
var CreditBalanceWidget_default = /* @__PURE__ */ export_helper_default(_sfc_main$10, [["__scopeId", "data-v-703dc3c5"]]);
|
|
8178
8206
|
|
|
8179
8207
|
//#endregion
|
|
8180
8208
|
//#region src/slices/support_ticket/shared/SupportTicketAttachments.vue
|
|
8181
|
-
const _sfc_main$
|
|
8209
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
8182
8210
|
__name: "SupportTicketAttachments",
|
|
8183
8211
|
setup(__props) {
|
|
8184
8212
|
const supportTicketId = useRoute().params.id;
|
|
@@ -8192,7 +8220,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
|
8192
8220
|
};
|
|
8193
8221
|
}
|
|
8194
8222
|
});
|
|
8195
|
-
var SupportTicketAttachments_default = _sfc_main$
|
|
8223
|
+
var SupportTicketAttachments_default = _sfc_main$9;
|
|
8196
8224
|
|
|
8197
8225
|
//#endregion
|
|
8198
8226
|
//#region src/slices/support_ticket/staff/staffSupportTicketFiltersMetadata.ts
|
|
@@ -8440,7 +8468,7 @@ const baseRoutes = [
|
|
|
8440
8468
|
{
|
|
8441
8469
|
path: authPaths.login.path,
|
|
8442
8470
|
name: authPaths.login.name,
|
|
8443
|
-
component: () => import("./LoginForm-
|
|
8471
|
+
component: () => import("./LoginForm-INwjqMmZ.js"),
|
|
8444
8472
|
meta: {
|
|
8445
8473
|
title: "Login",
|
|
8446
8474
|
description: "Login page for Category 5 App"
|
|
@@ -8450,7 +8478,7 @@ const baseRoutes = [
|
|
|
8450
8478
|
{
|
|
8451
8479
|
path: authPaths.forgot_password.path,
|
|
8452
8480
|
name: authPaths.forgot_password.name,
|
|
8453
|
-
component: () => import("./ForgotPassword-
|
|
8481
|
+
component: () => import("./ForgotPassword-DTqvZE3S.js"),
|
|
8454
8482
|
meta: {
|
|
8455
8483
|
title: "Forgot Password",
|
|
8456
8484
|
description: "Forgot Password page for Category 5 App"
|
|
@@ -8460,7 +8488,7 @@ const baseRoutes = [
|
|
|
8460
8488
|
{
|
|
8461
8489
|
path: authPaths.reset_password.path,
|
|
8462
8490
|
name: authPaths.reset_password.name,
|
|
8463
|
-
component: () => import("./ResetPassword-
|
|
8491
|
+
component: () => import("./ResetPassword-rtEJreLv.js"),
|
|
8464
8492
|
meta: {
|
|
8465
8493
|
title: "Reset Password",
|
|
8466
8494
|
description: "Reset Password page for Category 5 App"
|
|
@@ -8470,7 +8498,7 @@ const baseRoutes = [
|
|
|
8470
8498
|
{
|
|
8471
8499
|
path: authPaths.logout.path,
|
|
8472
8500
|
name: authPaths.logout.name,
|
|
8473
|
-
component: () => import("./Logout-
|
|
8501
|
+
component: () => import("./Logout-KA5WB93_.js"),
|
|
8474
8502
|
meta: {
|
|
8475
8503
|
title: "Logout",
|
|
8476
8504
|
description: "Logout page for Category 5 App"
|
|
@@ -8479,7 +8507,7 @@ const baseRoutes = [
|
|
|
8479
8507
|
{
|
|
8480
8508
|
path: authPaths.mfa_setup.path,
|
|
8481
8509
|
name: authPaths.mfa_setup.name,
|
|
8482
|
-
component: () => import("./MfaSetup-
|
|
8510
|
+
component: () => import("./MfaSetup-B3-QSuKe.js"),
|
|
8483
8511
|
meta: {
|
|
8484
8512
|
title: "Set Up Two-Factor Authentication",
|
|
8485
8513
|
description: "Enable MFA for your account"
|
|
@@ -8488,7 +8516,7 @@ const baseRoutes = [
|
|
|
8488
8516
|
{
|
|
8489
8517
|
path: authPaths.mfa_verify.path,
|
|
8490
8518
|
name: authPaths.mfa_verify.name,
|
|
8491
|
-
component: () => import("./MfaVerify-
|
|
8519
|
+
component: () => import("./MfaVerify-5DOMPhdq.js"),
|
|
8492
8520
|
meta: {
|
|
8493
8521
|
title: "Verify Two-Factor Authentication",
|
|
8494
8522
|
description: "Enter your MFA code to complete sign in"
|
|
@@ -8497,7 +8525,7 @@ const baseRoutes = [
|
|
|
8497
8525
|
{
|
|
8498
8526
|
path: authPaths.verify_email.path,
|
|
8499
8527
|
name: authPaths.verify_email.name,
|
|
8500
|
-
component: () => import("./VerifyEmail-
|
|
8528
|
+
component: () => import("./VerifyEmail-CG1BHGSh.js"),
|
|
8501
8529
|
meta: {
|
|
8502
8530
|
title: "Verify Email",
|
|
8503
8531
|
description: "Verify your email address"
|
|
@@ -8506,7 +8534,7 @@ const baseRoutes = [
|
|
|
8506
8534
|
{
|
|
8507
8535
|
path: authPaths.verify_email_required.path,
|
|
8508
8536
|
name: authPaths.verify_email_required.name,
|
|
8509
|
-
component: () => import("./VerifyEmailRequired-
|
|
8537
|
+
component: () => import("./VerifyEmailRequired-C35bkaXZ.js"),
|
|
8510
8538
|
meta: {
|
|
8511
8539
|
title: "Verify Email",
|
|
8512
8540
|
description: "Check your email to verify your account"
|
|
@@ -8516,7 +8544,7 @@ const baseRoutes = [
|
|
|
8516
8544
|
if (allowUserSignup) baseRoutes.splice(1, 0, {
|
|
8517
8545
|
path: authPaths.register.path,
|
|
8518
8546
|
name: authPaths.register.name,
|
|
8519
|
-
component: () => import("./Signup-
|
|
8547
|
+
component: () => import("./Signup-DWFxpoGA.js"),
|
|
8520
8548
|
meta: {
|
|
8521
8549
|
title: "Register",
|
|
8522
8550
|
description: "Register page for Category 5 App"
|
|
@@ -8525,85 +8553,6 @@ if (allowUserSignup) baseRoutes.splice(1, 0, {
|
|
|
8525
8553
|
});
|
|
8526
8554
|
const authRoutes = baseRoutes;
|
|
8527
8555
|
|
|
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
8556
|
//#endregion
|
|
8608
8557
|
//#region src/slices/auth/features/login/SocialLoginButtons.vue
|
|
8609
8558
|
const _hoisted_1$7 = { class: "social-login-buttons space-y-3" };
|
|
@@ -8671,7 +8620,7 @@ const adminRoutes = [{
|
|
|
8671
8620
|
{
|
|
8672
8621
|
path: "create-user",
|
|
8673
8622
|
name: "CreateUser",
|
|
8674
|
-
component: () => import("./CreateUserPage-
|
|
8623
|
+
component: () => import("./CreateUserPage-cduuWl9g.js"),
|
|
8675
8624
|
meta: {
|
|
8676
8625
|
title: "Create User",
|
|
8677
8626
|
description: "Create User page for Category 5 App",
|
|
@@ -8684,7 +8633,7 @@ const adminRoutes = [{
|
|
|
8684
8633
|
{
|
|
8685
8634
|
path: "support-staff",
|
|
8686
8635
|
name: "SupportStaff",
|
|
8687
|
-
component: () => import("./SupportStaffPage-
|
|
8636
|
+
component: () => import("./SupportStaffPage-DwILSSas.js"),
|
|
8688
8637
|
meta: {
|
|
8689
8638
|
title: "Support Staff",
|
|
8690
8639
|
description: "Manage users who can triage support tickets",
|
|
@@ -8697,7 +8646,7 @@ const adminRoutes = [{
|
|
|
8697
8646
|
{
|
|
8698
8647
|
path: "users",
|
|
8699
8648
|
name: "UserManagement",
|
|
8700
|
-
component: () => import("./UserListPage-
|
|
8649
|
+
component: () => import("./UserListPage-BZp9fGeT.js"),
|
|
8701
8650
|
meta: {
|
|
8702
8651
|
title: "User Management",
|
|
8703
8652
|
description: "View and manage all users",
|
|
@@ -8710,7 +8659,7 @@ const adminRoutes = [{
|
|
|
8710
8659
|
{
|
|
8711
8660
|
path: "users/:id/edit",
|
|
8712
8661
|
name: "EditUser",
|
|
8713
|
-
component: () => import("./EditUserPage-
|
|
8662
|
+
component: () => import("./EditUserPage-BgMNOa8G.js"),
|
|
8714
8663
|
meta: {
|
|
8715
8664
|
title: "Edit User",
|
|
8716
8665
|
description: "Edit user role",
|
|
@@ -8733,7 +8682,7 @@ const adminRoutes = [{
|
|
|
8733
8682
|
{
|
|
8734
8683
|
path: "credit-management",
|
|
8735
8684
|
name: "CreditManagement",
|
|
8736
|
-
component: () => import("./CreditManagement-
|
|
8685
|
+
component: () => import("./CreditManagement-BGqIkJf8.js"),
|
|
8737
8686
|
meta: {
|
|
8738
8687
|
title: "Credit Management",
|
|
8739
8688
|
description: "Manage customer credits and allocations",
|
|
@@ -8746,7 +8695,7 @@ const adminRoutes = [{
|
|
|
8746
8695
|
{
|
|
8747
8696
|
path: "support-ticket-maintenance",
|
|
8748
8697
|
name: "SupportTicketMaintenance",
|
|
8749
|
-
component: () => import("./SupportTicketMaintenancePage-
|
|
8698
|
+
component: () => import("./SupportTicketMaintenancePage-CpK1esq2.js"),
|
|
8750
8699
|
meta: {
|
|
8751
8700
|
title: "Support Ticket Maintenance",
|
|
8752
8701
|
description: "Admin utilities for fixing support ticket data",
|
|
@@ -8774,7 +8723,7 @@ const creditRoutes = [{
|
|
|
8774
8723
|
children: [{
|
|
8775
8724
|
path: creditPaths.credit_balance.path,
|
|
8776
8725
|
name: creditPaths.credit_balance.name,
|
|
8777
|
-
component: () => import("./CreditBalanceDashboard-
|
|
8726
|
+
component: () => import("./CreditBalanceDashboard-Bh6G7DdM.js"),
|
|
8778
8727
|
meta: {
|
|
8779
8728
|
title: "Credit Balance",
|
|
8780
8729
|
description: "View your current credit balance and history.",
|
|
@@ -9379,5 +9328,5 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9379
9328
|
var CreditManagement_default = _sfc_main;
|
|
9380
9329
|
|
|
9381
9330
|
//#endregion
|
|
9382
|
-
export {
|
|
9383
|
-
//# sourceMappingURL=src-
|
|
9331
|
+
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 };
|
|
9332
|
+
//# sourceMappingURL=src-DYBi81fS.js.map
|