@feedmepos/mf-inventory-portal 1.3.14-dev.1 → 1.3.14-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App-D1_jkD6L.js +309 -0
- package/dist/{ApprovalView-BxioAXpO.js → ApprovalView-CfF2FqsE.js} +12 -12
- package/dist/{BindingsDialog-Dn_hP7Ji.js → BindingsDialog-H-juP-az.js} +2 -2
- package/dist/{BindingsPicker-BEXOUaoI.js → BindingsPicker-ClruHF7p.js} +2 -2
- package/dist/{BindingsTable-CsRLA5J_.js → BindingsTable-Bx9pbFOO.js} +3 -3
- package/dist/{ClosingDraftView-DoH9ZcGA.js → ClosingDraftView-DN97Tao5.js} +137 -137
- package/dist/{ClosingHistoryView-BWf_gIrc.js → ClosingHistoryView-DsRYUqa2.js} +32 -32
- package/dist/{ClosingTemplateView-BKRxzvQX.js → ClosingTemplateView-f9zfsxCu.js} +14 -14
- package/dist/DefaultView-COVVxOrF.js +31 -0
- package/dist/{DeliveryOrderPrintPreview-HzspgQXj.js → DeliveryOrderPrintPreview-BMK4kBCQ.js} +11 -11
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-DstxeP1q.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-Bqj_Ygmo.js} +23 -23
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-E9FFFhwx.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-CK1ha_AY.js} +2 -2
- package/dist/{FmMultiselectDialog-3uKA-o0f.js → FmMultiselectDialog-BazT9oUX.js} +1 -1
- package/dist/{FmMultiselectDialog-uFZKKIiO.js → FmMultiselectDialog-_gUuhudi.js} +16 -16
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-C1KGaqi7.js → FmUnitInput.vue_vue_type_script_setup_true_lang-BBtAgdsA.js} +18 -18
- package/dist/{ImportView-zrNDzp3k.js → ImportView-jpkwuCXO.js} +6 -6
- package/dist/{IngredientBindedItem.vue_vue_type_script_setup_true_lang-B2vMgXVZ.js → IngredientBindedItem.vue_vue_type_script_setup_true_lang-DLJnF4do.js} +1 -1
- package/dist/{IngredientGroupView-HcAKvPur.js → IngredientGroupView-x3t1hyNn.js} +5 -5
- package/dist/{IngredientsView-CRB5UN-e.js → IngredientsView-BzWTnlb4.js} +15 -15
- package/dist/{IntegrationExplorerView-k3IHeiOU.js → IntegrationExplorerView-Bca3owbx.js} +5 -5
- package/dist/{IntegrationView-B3WeQTDB.js → IntegrationView-Dh1c4Qyo.js} +81 -81
- package/dist/{InventoryBindingForm-B-7SQKl2.js → InventoryBindingForm-B1sI1TGZ.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-DhPu_GyE.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-7NeE7Xos.js} +15 -15
- package/dist/{InventoryBindingSummary-Swi6A3W2.js → InventoryBindingSummary-R8zHPc52.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-Duv0At06.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DMJVh7Nt.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang--gt60IlU.js → PremiumBadge.vue_vue_type_script_setup_true_lang-ChC9sEIk.js} +5 -5
- package/dist/{PublishView-B9HJT61I.js → PublishView-Bqp8Ww4J.js} +13 -13
- package/dist/{PurchaseOrderPrintPreview-sClUXkgt.js → PurchaseOrderPrintPreview-D7TCn8U-.js} +11 -11
- package/dist/{ReceiveRequestView-BbS55juS.js → ReceiveRequestView-oNBVAMYu.js} +23 -23
- package/dist/{RecipeView-BH3asOD4.js → RecipeView-D8Mvgji9.js} +50 -50
- package/dist/{SettingsView-BJAMNNhr.js → SettingsView-BJScLK9z.js} +30 -30
- package/dist/{StockView-DMLFY7d1.js → StockView-CRRdVCcD.js} +143 -143
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DeiLMVin.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DUKv_LV6.js} +1 -1
- package/dist/{SupplierView-C3uBrEcc.js → SupplierView-DdBBIV8W.js} +12 -12
- package/dist/{SurchargeView-S9ByD9Nd.js → SurchargeView-DisBUPIs.js} +16 -16
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-ha60Wy7z.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-CZ3Q3BAf.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CfyCEElN.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CC7F5HVc.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-CKfs-ns0.js → TransferDetails.vue_vue_type_script_setup_true_lang-BLlg1Vka.js} +212 -212
- package/dist/{TransferTemplateView-zbn5CGiZ.js → TransferTemplateView-7ICJMF9z.js} +17 -17
- package/dist/{UnitCostHistoryView-LhvAybS8.js → UnitCostHistoryView-BMRDBQ58.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-E2QCl521.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-mNXHzLN3.js} +4 -4
- package/dist/{UnitView-6oUdlUVo.js → UnitView-uUUYOjYn.js} +24 -24
- package/dist/{WarehouseView-DQFe99KT.js → WarehouseView-BfMf_iuj.js} +25 -25
- package/dist/{WastageTemplateView-BiYZqiT2.js → WastageTemplateView-BQYjJGZ-.js} +14 -14
- package/dist/{app-SnX9gL_k.js → app-B_zMegJc.js} +4571 -4564
- package/dist/app.d.ts +16 -0
- package/dist/app.js +1 -1
- package/dist/{closing-template-Ch--jBk-.js → closing-template-9vhx5Ji1.js} +1 -1
- package/dist/composable/useInventoryAccess.d.ts +11 -0
- package/dist/composable/useNavigationMenu.d.ts +14 -0
- package/dist/{date2-CGqqJOqr.js → date2-BMCS_Dsc.js} +1 -1
- package/dist/{dayjs.min-JnfBpNSN.js → dayjs.min-Dl26OaXo.js} +16 -16
- package/dist/{decimal-C-2MQYNP.js → decimal-e6OK2jkR.js} +2 -2
- package/dist/{defineDeepModel-CUJCBuvw.js → defineDeepModel-BvLlwxnd.js} +1 -1
- package/dist/{duplicate-template-BXg5EQRC.js → duplicate-template-Cnhu8Rxw.js} +1 -1
- package/dist/{empty-placeholder-wf6-BWE8.js → empty-placeholder-B0QU467o.js} +1 -1
- package/dist/{export-DUsFBcmf.js → export-CGvyGmeo.js} +1 -1
- package/dist/{feature-gkhmly57.js → feature-Do41WWzx.js} +23 -23
- package/dist/{format-time-from-id-D1RhcKfL.js → format-time-from-id-CqX_KaUG.js} +1 -1
- package/dist/{format-unit-display-DXs_-yEW.js → format-unit-display-D8qWmRXP.js} +11 -11
- package/dist/{import-export.helper-B84wW0eo.js → import-export.helper-85V8Ib5e.js} +6 -6
- package/dist/{index-Dp1GAjHf.js → index-C-CwnjUn.js} +3 -3
- package/dist/{index-artVJVqL.js → index-Cg3aLEhT.js} +1 -1
- package/dist/{index-D3XgyMwL.js → index-CtUF9Nsv.js} +1 -1
- package/dist/{inventory-core-dart.default-Bu1oVkLC.js → inventory-core-dart.default-B64FzAla.js} +1 -1
- package/dist/{lodash-DZbYS5Vn.js → lodash-U9ycVPlv.js} +1 -1
- package/dist/{lz-string-nX96TtT6.js → lz-string-0CgVsQoC.js} +13 -13
- package/dist/{netsuite-DQkJKCH9.js → netsuite-Du7-sXJt.js} +77 -77
- package/dist/{number-gRrApZRj.js → number-iJAzDfmj.js} +7 -7
- package/dist/{predefined-templates-D9bzSOz_.js → predefined-templates-LlSrXOXm.js} +1 -1
- package/dist/{purchase-order-template-BiE_We2X.js → purchase-order-template-DFuXb0rr.js} +1 -1
- package/dist/{recalculationUtils-zNt-EW5S.js → recalculationUtils-DWPnMW1G.js} +1 -1
- package/dist/router/name.d.ts +1 -0
- package/dist/{rules-CWFFr_mA.js → rules-DefSKiUN.js} +2 -2
- package/dist/{stock-C-34Vuxz.js → stock-BfF6peMd.js} +3 -3
- package/dist/{stock-V4Oy4QHQ.js → stock-Cx1BwdWs.js} +1 -1
- package/dist/{supplier-DbYagMhS.js → supplier-CU3iqdGr.js} +16 -16
- package/dist/{surcharge-CcvvfLHB.js → surcharge-D77J5opH.js} +12 -12
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{use-ingredient-select-dialog-B4jFgJ5b.js → use-ingredient-select-dialog-B-jxV-79.js} +2 -2
- package/dist/{use-inventory-binding-dialog-20flYyGE.js → use-inventory-binding-dialog-BdTd5qPl.js} +2 -2
- package/dist/{use-template-enabled-locations-CpDMbAGF.js → use-template-enabled-locations-vFvaCjlH.js} +2 -2
- package/dist/{useHrmPermission-CZW6u2TS.js → useHrmPermission-CekUhyck.js} +4 -4
- package/dist/useNavigationMenu-BiLWMIip.js +162 -0
- package/dist/views/DefaultView.vue.d.ts +2 -0
- package/dist/{vue-i18n-CUrz9OVK.js → vue-i18n-C3_OsgSl.js} +372 -372
- package/dist/{xlsx-DBsOBE1z.js → xlsx-o7n1whCa.js} +398 -398
- package/dist/{xlsx.util-xziohm10.js → xlsx.util-D6nPboPW.js} +1 -1
- package/package.json +4 -4
- package/dist/App-Cb6qfRCz.js +0 -445
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as Y, ref as b, computed as
|
|
1
|
+
import { defineComponent as Y, ref as b, computed as K, watch as M, resolveComponent as V, openBlock as s, createElementBlock as r, createElementVNode as t, toDisplayString as F, Fragment as U, renderList as G, createVNode as p, createBlock as P, createCommentVNode as q, nextTick as fe, createSlots as ye, withCtx as T, normalizeClass as ee, unref as O, withModifiers as be, Teleport as xe } from "vue";
|
|
2
2
|
import { _ as _e } from "./SingleColumnLayout.vue_vue_type_script_setup_true_lang-sUxHOj47.js";
|
|
3
|
-
import { B as A, g as he, r as ke, s as we, u as Te, a as R, b as Fe, c as De, d as te, e as Ce, f as Se } from "./predefined-templates-
|
|
3
|
+
import { B as A, g as he, r as ke, s as we, u as Te, a as R, b as Fe, c as De, d as te, e as Ce, f as Se } from "./predefined-templates-LlSrXOXm.js";
|
|
4
4
|
import { useSnackbar as Be } from "@feedmepos/ui-library";
|
|
5
5
|
import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
-
import {
|
|
6
|
+
import { G as j, H as $e } from "./app-B_zMegJc.js";
|
|
7
7
|
import { useCoreStore as ze, useI18n as Ie } from "@feedmepos/mf-common";
|
|
8
|
-
import "./dayjs.min-
|
|
9
|
-
import "./inventory-core-dart.default-
|
|
8
|
+
import "./dayjs.min-Dl26OaXo.js";
|
|
9
|
+
import "./inventory-core-dart.default-B64FzAla.js";
|
|
10
10
|
import { F as Oe } from "./FmAdminBadge-DjnBAgyv.js";
|
|
11
11
|
const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700 mb-4 pb-2 border-b border-gray-200" }, Ne = { class: "flex flex-col gap-3" }, Ue = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "flex items-center justify-between py-1"
|
|
14
|
-
}, Ae = { class: "text-[13px] text-gray-600" },
|
|
14
|
+
}, Ae = { class: "text-[13px] text-gray-600" }, He = { class: "text-[13px] text-gray-600" }, Le = ["value", "rows", "placeholder", "onInput"], Re = {
|
|
15
15
|
key: 5,
|
|
16
16
|
class: "flex items-center justify-between py-1"
|
|
17
17
|
}, je = { class: "text-[13px] text-gray-600" }, Me = ["value", "onInput"], Ge = /* @__PURE__ */ Y({
|
|
@@ -29,7 +29,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
29
29
|
const c = A[n.tag];
|
|
30
30
|
return c ? c.initialConfigFields() : [];
|
|
31
31
|
}
|
|
32
|
-
const d = b(h(g.block)), $ =
|
|
32
|
+
const d = b(h(g.block)), $ = K(() => {
|
|
33
33
|
const n = A[g.block.tag];
|
|
34
34
|
return (n == null ? void 0 : n.label) ?? g.block.tag;
|
|
35
35
|
});
|
|
@@ -71,14 +71,14 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
71
71
|
placeholder: a.placeholder,
|
|
72
72
|
"onUpdate:modelValue": (y) => i(w, y)
|
|
73
73
|
}, null, 8, ["label", "model-value", "placeholder", "onUpdate:modelValue"])) : a.type === "textarea" ? (s(), r(U, { key: 2 }, [
|
|
74
|
-
t("div",
|
|
74
|
+
t("div", He, F(a.label), 1),
|
|
75
75
|
t("textarea", {
|
|
76
76
|
class: "w-full font-mono text-[13px] p-2 border border-gray-300 rounded resize-y box-border focus:outline-none focus:border-blue-600",
|
|
77
77
|
value: a.value,
|
|
78
78
|
rows: a.rows ?? 8,
|
|
79
79
|
placeholder: a.placeholder,
|
|
80
80
|
onInput: (y) => i(w, y.target.value)
|
|
81
|
-
}, null, 40,
|
|
81
|
+
}, null, 40, Le)
|
|
82
82
|
], 64)) : a.type === "select" ? (s(), P(D, {
|
|
83
83
|
key: 3,
|
|
84
84
|
label: a.label,
|
|
@@ -101,13 +101,13 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
101
101
|
class: "color-input w-9 h-7 p-0 border border-gray-300 rounded cursor-pointer bg-transparent",
|
|
102
102
|
onInput: (y) => i(w, y.target.value)
|
|
103
103
|
}, null, 40, Me)
|
|
104
|
-
])) :
|
|
104
|
+
])) : q("", !0)
|
|
105
105
|
]))), 128))
|
|
106
106
|
])
|
|
107
107
|
]);
|
|
108
108
|
};
|
|
109
109
|
}
|
|
110
|
-
}),
|
|
110
|
+
}), qe = /* @__PURE__ */ Ve(Ge, [["__scopeId", "data-v-1f00cb56"]]), Ke = { class: "h-full flex flex-col" }, Ye = { class: "flex-1 overflow-auto p-4 bg-gray-100" }, Je = /* @__PURE__ */ Y({
|
|
111
111
|
__name: "TemplatePreview",
|
|
112
112
|
props: {
|
|
113
113
|
blocks: {},
|
|
@@ -121,7 +121,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
121
121
|
function h() {
|
|
122
122
|
return !f && g.value && (f = g.value.attachShadow({ mode: "open" })), f;
|
|
123
123
|
}
|
|
124
|
-
const d =
|
|
124
|
+
const d = K(() => x.previewData ?? he(x.templateType));
|
|
125
125
|
M(
|
|
126
126
|
() => [x.blocks, d.value, g.value],
|
|
127
127
|
() => {
|
|
@@ -172,7 +172,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
172
172
|
const m = f.querySelector(`[data-block-id="${i}"]`);
|
|
173
173
|
m && (m.classList.add("highlight"), m.scrollIntoView({ behavior: "smooth", block: "nearest" }));
|
|
174
174
|
}
|
|
175
|
-
return (i, m) => (s(), r("div",
|
|
175
|
+
return (i, m) => (s(), r("div", Ke, [
|
|
176
176
|
m[0] || (m[0] = t("div", { class: "text-xs font-semibold text-gray-400 uppercase tracking-wider px-3 py-2 border-b border-gray-200" }, " Live Preview ", -1)),
|
|
177
177
|
t("div", Ye, [
|
|
178
178
|
t("div", {
|
|
@@ -219,7 +219,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
219
219
|
},
|
|
220
220
|
emits: ["update:modelValue", "saved"],
|
|
221
221
|
setup(E, { emit: x }) {
|
|
222
|
-
const g = E, f = x, h = Te(), d = Be(), $ = ze(), i =
|
|
222
|
+
const g = E, f = x, h = Te(), d = Be(), $ = ze(), i = K({
|
|
223
223
|
get: () => g.modelValue,
|
|
224
224
|
set: (l) => f("update:modelValue", l)
|
|
225
225
|
}), m = b(!1), n = b(!1), c = b(R()), v = b(null), _ = b(j.Enum.purchaseOrder), D = b("Purchase Order Template"), a = b(null), w = b(!1), y = b(!1), C = b("select-type"), W = [
|
|
@@ -247,7 +247,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
247
247
|
icon: "local_shipping",
|
|
248
248
|
description: "Customize the layout for delivery order printouts"
|
|
249
249
|
}
|
|
250
|
-
],
|
|
250
|
+
], H = b(/* @__PURE__ */ new Set()), J = K(
|
|
251
251
|
() => c.value.find((l) => l.id === v.value) ?? null
|
|
252
252
|
), z = b(null), N = b(null);
|
|
253
253
|
M(i, async (l) => {
|
|
@@ -255,7 +255,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
255
255
|
C.value = "select-type", m.value = !0;
|
|
256
256
|
try {
|
|
257
257
|
const e = await h.browse();
|
|
258
|
-
|
|
258
|
+
H.value = new Set(e.map((u) => u.type));
|
|
259
259
|
} catch {
|
|
260
260
|
} finally {
|
|
261
261
|
m.value = !1;
|
|
@@ -279,7 +279,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
279
279
|
m.value = !0;
|
|
280
280
|
try {
|
|
281
281
|
const l = await h.browse();
|
|
282
|
-
|
|
282
|
+
H.value = new Set(l.map((u) => u.type));
|
|
283
283
|
const e = l.find((u) => u.type === _.value);
|
|
284
284
|
e ? (a.value = e._id, D.value = e.name, c.value = e.blocks.map((u) => ({ ...u }))) : (a.value = null, c.value = R(), D.value = Q());
|
|
285
285
|
} catch {
|
|
@@ -303,8 +303,8 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
303
303
|
function se(l) {
|
|
304
304
|
const e = c.value.find((u) => u.id === v.value);
|
|
305
305
|
if (e) {
|
|
306
|
-
const u = l.configFields || [],
|
|
307
|
-
e.config = { configFields: u, templateHtml:
|
|
306
|
+
const u = l.configFields || [], L = te(e.tag);
|
|
307
|
+
e.config = { configFields: u, templateHtml: L };
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
function ne(l) {
|
|
@@ -341,10 +341,10 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
341
341
|
...o,
|
|
342
342
|
config: { configFields: k, templateHtml: I }
|
|
343
343
|
};
|
|
344
|
-
}),
|
|
344
|
+
}), L = Ce(u), S = {
|
|
345
345
|
name: D.value,
|
|
346
346
|
type: _.value,
|
|
347
|
-
blocks:
|
|
347
|
+
blocks: L,
|
|
348
348
|
businessId: e,
|
|
349
349
|
createdAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
350
350
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString()
|
|
@@ -353,7 +353,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
353
353
|
a.value ? B = await h.update(a.value, {
|
|
354
354
|
_id: a.value,
|
|
355
355
|
...S
|
|
356
|
-
}) : (B = await h.create(S), a.value = B._id),
|
|
356
|
+
}) : (B = await h.create(S), a.value = B._id), H.value.add(_.value), y.value = !1, d == null || d.open({
|
|
357
357
|
title: "Success",
|
|
358
358
|
message: "Print template saved",
|
|
359
359
|
type: "success"
|
|
@@ -372,7 +372,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
372
372
|
if (a.value) {
|
|
373
373
|
n.value = !0;
|
|
374
374
|
try {
|
|
375
|
-
await h.delete(a.value), a.value = null, c.value = R(), D.value = Q(),
|
|
375
|
+
await h.delete(a.value), a.value = null, c.value = R(), D.value = Q(), H.value.delete(_.value), w.value = !1, d == null || d.open({
|
|
376
376
|
title: "Deleted",
|
|
377
377
|
message: "Print template deleted. Default layout will be used.",
|
|
378
378
|
type: "success"
|
|
@@ -400,7 +400,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
400
400
|
return ((e = A[l]) == null ? void 0 : e.icon) ?? "widgets";
|
|
401
401
|
}
|
|
402
402
|
return (l, e) => {
|
|
403
|
-
const u = V("FmIcon"),
|
|
403
|
+
const u = V("FmIcon"), L = V("FmTextField"), S = V("FmButton"), B = V("FmDialog");
|
|
404
404
|
return s(), r(U, null, [
|
|
405
405
|
p(B, {
|
|
406
406
|
modelValue: i.value,
|
|
@@ -423,7 +423,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
423
423
|
name: "arrow_back",
|
|
424
424
|
size: "sm"
|
|
425
425
|
})
|
|
426
|
-
])) :
|
|
426
|
+
])) : q("", !0),
|
|
427
427
|
C.value === "select-type" ? (s(), r("span", We, "Print Template Editor")) : (s(), r("span", Xe, F((o = W.find((k) => k.value === _.value)) == null ? void 0 : o.label) + " Template", 1))
|
|
428
428
|
])
|
|
429
429
|
];
|
|
@@ -449,7 +449,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
449
449
|
t("div", st, F(o.label), 1),
|
|
450
450
|
t("div", nt, F(o.description), 1)
|
|
451
451
|
]),
|
|
452
|
-
|
|
452
|
+
H.value.has(o.value) ? (s(), r("span", rt, "Customized")) : (s(), r("span", it, "Default"))
|
|
453
453
|
], 10, lt)), 64))
|
|
454
454
|
]))
|
|
455
455
|
])) : m.value ? (s(), r("div", ut, e[8] || (e[8] = [
|
|
@@ -457,7 +457,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
457
457
|
]))) : (s(), r("div", dt, [
|
|
458
458
|
t("div", ct, [
|
|
459
459
|
t("div", pt, [
|
|
460
|
-
p(
|
|
460
|
+
p(L, {
|
|
461
461
|
modelValue: D.value,
|
|
462
462
|
"onUpdate:modelValue": e[1] || (e[1] = (o) => D.value = o),
|
|
463
463
|
placeholder: "Template name",
|
|
@@ -518,10 +518,10 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
518
518
|
}, null, 8, ["onClick"])
|
|
519
519
|
])
|
|
520
520
|
], 42, ft))), 128)),
|
|
521
|
-
c.value.length === 0 ? (s(), r("div", xt, " Click a block above to add it ")) :
|
|
521
|
+
c.value.length === 0 ? (s(), r("div", xt, " Click a block above to add it ")) : q("", !0)
|
|
522
522
|
]),
|
|
523
523
|
J.value ? (s(), r("div", _t, [
|
|
524
|
-
(s(), P(
|
|
524
|
+
(s(), P(qe, {
|
|
525
525
|
key: J.value.id,
|
|
526
526
|
block: J.value,
|
|
527
527
|
onUpdate: se
|
|
@@ -557,7 +557,7 @@ const Pe = { class: "p-3" }, Ee = { class: "text-sm font-semibold text-gray-700
|
|
|
557
557
|
variant: "destructive",
|
|
558
558
|
size: "md",
|
|
559
559
|
onClick: e[2] || (e[2] = (o) => w.value = !0)
|
|
560
|
-
})) :
|
|
560
|
+
})) : q("", !0),
|
|
561
561
|
p(S, {
|
|
562
562
|
label: "Save Template",
|
|
563
563
|
variant: "primary",
|