@feedmepos/mf-inventory-portal 1.8.0-dev.12 → 1.8.0-dev.13
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-CicGEJLu.js → App-DxLbR43S.js} +10 -10
- package/dist/{ApprovalView-VLWlKeUm.js → ApprovalView-DRRCxu3w.js} +9 -9
- package/dist/{BindingsDialog-B9QMGcL_.js → BindingsDialog-CAO03foa.js} +2 -2
- package/dist/{BindingsPicker-BcN6UnZY.js → BindingsPicker-DHUAT_s1.js} +2 -2
- package/dist/{BindingsTable-CUbjKa4r.js → BindingsTable-UeRz_dKf.js} +4 -4
- package/dist/{BulkReceiveRequestView-4CPZAXAy.js → BulkReceiveRequestView-CTYm70_c.js} +19 -19
- package/dist/{ChangeLocationComponent.vue_vue_type_script_setup_true_lang-BlA2qgZ5.js → ChangeLocationComponent.vue_vue_type_script_setup_true_lang-CsyjRROA.js} +1 -1
- package/dist/{ClosingDraftView-D5YnQetl.js → ClosingDraftView-DZhwZ5LM.js} +19 -19
- package/dist/{ClosingHistoryView-DRDbJSLx.js → ClosingHistoryView-DS4z9g67.js} +7 -7
- package/dist/{ClosingTemplateView-B0sSllOB.js → ClosingTemplateView-CfPSvMQB.js} +18 -18
- package/dist/{CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-Cn-Dnqdk.js → CustomPrintTemplatePreview.vue_vue_type_script_setup_true_lang-DkfkJOmr.js} +1 -1
- package/dist/{DefaultView-e09aT02j.js → DefaultView-C21qIblg.js} +2 -2
- package/dist/{DeliveryOrderPrintPreview-CEiTyKSF.js → DeliveryOrderPrintPreview-COSt6IYv.js} +2 -2
- package/dist/{EmailDialog.vue_vue_type_script_setup_true_lang-BsPrm4ag.js → EmailDialog.vue_vue_type_script_setup_true_lang-i1tPIPjQ.js} +23 -23
- package/dist/{FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-B7HT3V1a.js → FeatureCapabilityBadge.vue_vue_type_script_setup_true_lang-BsD8j62-.js} +1 -1
- package/dist/{FeatureCapabilityGate-D0MTxdc9.js → FeatureCapabilityGate-CQzod29x.js} +3 -3
- package/dist/{FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-xKWr0XDw.js → FmDateRangePickerChip.vue_vue_type_script_setup_true_lang-tXwfWN05.js} +1 -1
- package/dist/{FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-COEKHDg3.js → FmFilterableMenuOptions.vue_vue_type_script_setup_true_lang-C4MJsd-2.js} +2 -2
- package/dist/{FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-B1rWZes8.js → FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-C-IfBFq-.js} +2 -2
- package/dist/{FmMultiselectDialog-BBA5_LF9.js → FmMultiselectDialog-B1y6psKz.js} +2 -2
- package/dist/{FmMultiselectDialog-UDtVA5Vq.js → FmMultiselectDialog-BAVhjAyt.js} +2 -2
- package/dist/{FmUnitInput.vue_vue_type_script_setup_true_lang-KZmvbvl-.js → FmUnitInput.vue_vue_type_script_setup_true_lang-DRb1eEC3.js} +5 -5
- package/dist/{ImportView-BvjN1WZE.js → ImportView-D9r3Avk0.js} +6 -6
- package/dist/{IngredientsView-DMZH-ZlH.js → IngredientsView-D_L0ocbz.js} +15 -15
- package/dist/{IntegrationExplorerView-CVnGDtQB.js → IntegrationExplorerView-mYeriYP4.js} +4 -4
- package/dist/{IntegrationPlatformView-zYecjR4k.js → IntegrationPlatformView-M1a_LTw2.js} +104 -102
- package/dist/{IntegrationView-Gw7o5QBi.js → IntegrationView-NCaJh5lQ.js} +14 -14
- package/dist/{InventoryBindingForm-Crfc0Q2m.js → InventoryBindingForm-WPeGcrZt.js} +1 -1
- package/dist/{InventoryBindingForm.vue_vue_type_script_setup_true_lang-iq_Z0Slq.js → InventoryBindingForm.vue_vue_type_script_setup_true_lang-DNXBXJCz.js} +4 -4
- package/dist/{InventoryBindingSummary-aZ23OBkt.js → InventoryBindingSummary-h-6bMVyI.js} +1 -1
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-DVy59AaV.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-5O4dZGs9.js} +2 -2
- package/dist/{PlanTierBadge.vue_vue_type_script_setup_true_lang-CEk7QpRG.js → PlanTierBadge.vue_vue_type_script_setup_true_lang-DpYZro4o.js} +2 -2
- package/dist/{PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-D-_queLv.js → PlanUpgradeDialog.vue_vue_type_script_setup_true_lang-CzpV7AiB.js} +1 -1
- package/dist/{ProductionRunDetailView-B2s-At_4.js → ProductionRunDetailView-DjapViza.js} +4 -4
- package/dist/{ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-dGcw7kM5.js → ProductionRunLifecycleDialogs.vue_vue_type_script_setup_true_lang-DBBudL2a.js} +7 -7
- package/dist/{ProductionRunView-DoJYE65L.js → ProductionRunView-DxyidWEP.js} +3 -3
- package/dist/{PublishView-Bxu5LPhp.js → PublishView-CpX4beGm.js} +3 -3
- package/dist/{PurchaseOrderPrintPreview-CN_OkiIZ.js → PurchaseOrderPrintPreview-C9gMhGH1.js} +2 -2
- package/dist/{ReceiveRequestView-tEAiC4se.js → ReceiveRequestView-DaASXP89.js} +13 -13
- package/dist/{RecipeView--zEtB9Tq.js → RecipeView-S1jvxJKt.js} +15 -15
- package/dist/{SettingsView-BdV_h4o0.js → SettingsView-CgP4qpRk.js} +7 -7
- package/dist/{StockView-BiiPklpF.js → StockView-eY1hJxGu.js} +21 -21
- package/dist/{SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-ft-cHXBc.js → SubsidiaryTreeDialog.vue_vue_type_script_setup_true_lang-DR2UnMRu.js} +1 -1
- package/dist/{SupplierView-DuK7uQ7_.js → SupplierView-C4PS1xWf.js} +13 -13
- package/dist/{SurchargeView-DIl7Dchz.js → SurchargeView-BP3bl7hJ.js} +7 -7
- package/dist/{SystemTrailDialog.vue_vue_type_script_setup_true_lang-CuTMCvrH.js → SystemTrailDialog.vue_vue_type_script_setup_true_lang-DyO4n7t5.js} +2 -2
- package/dist/{TemplatePublishDialog.vue_vue_type_script_setup_true_lang-fo0MDJ11.js → TemplatePublishDialog.vue_vue_type_script_setup_true_lang-CFlaoeAP.js} +1 -1
- package/dist/{TransferDetails.vue_vue_type_script_setup_true_lang-BkhuMO-C.js → TransferDetails.vue_vue_type_script_setup_true_lang-Dy2Qd4sH.js} +21 -21
- package/dist/{TransferTemplateView-W5XRqnbL.js → TransferTemplateView-p9EIDGpV.js} +19 -19
- package/dist/{UnitCostHistoryView-Ch8xuM01.js → UnitCostHistoryView-CeMDbu2p.js} +4 -4
- package/dist/{UnitDisplayControl.vue_vue_type_script_setup_true_lang-DL94fQIF.js → UnitDisplayControl.vue_vue_type_script_setup_true_lang-D0DltEQk.js} +4 -4
- package/dist/{UnitView-C6ZTO4Lv.js → UnitView-FDIAE14R.js} +7 -7
- package/dist/{WarehouseView-CfrfNRgD.js → WarehouseView-Cp2K0fM3.js} +8 -8
- package/dist/{WastageTemplateView-BhmJRLu7.js → WastageTemplateView-Dtqihhop.js} +15 -15
- package/dist/{app-dKTzLd5p.js → app-Cj8exkQV.js} +16 -16
- package/dist/app.js +1 -1
- package/dist/{closing-template-ajQDRbYl.js → closing-template-DnVTQ-sN.js} +1 -1
- package/dist/{date2-DUblXUDL.js → date2-BIKSFw61.js} +1 -1
- package/dist/{dayjs.min-DkxiGFfT.js → dayjs.min-DvwkoiFJ.js} +1 -1
- package/dist/{decimal-BX179kHy.js → decimal-CtrQnKbx.js} +2 -2
- package/dist/{defineDeepModel-CM58Rll5.js → defineDeepModel-CEUj2VHm.js} +1 -1
- package/dist/{duplicate-template-Dza3sV4R.js → duplicate-template-BlARJG0j.js} +1 -1
- package/dist/{feature-C-hL2EKL.js → feature-C24VMYFZ.js} +2 -2
- package/dist/{format-time-from-id-Da7QOfGl.js → format-time-from-id-D-GQdVRG.js} +1 -1
- package/dist/{format-unit-display-CJkyQlWy.js → format-unit-display-DX7iHogL.js} +12 -12
- package/dist/{id-to-date-jSA6MUZR.js → id-to-date-DtO1448p.js} +1 -1
- package/dist/{import-export.helper-iD3T4Dc-.js → import-export.helper-BTPD_OXj.js} +5 -5
- package/dist/{index-DH_YYa61.js → index-DTUtLcwy.js} +1 -1
- package/dist/{index-B2CotabP.js → index-sQxQmKfw.js} +3 -3
- package/dist/{index-YkVYUlB9.js → index-tBMXge9L.js} +1 -1
- package/dist/{lz-string-DmMW0aux.js → lz-string-Ypum5wqM.js} +1 -1
- package/dist/{netsuite-DwmLC3oU.js → netsuite-b38UbT2d.js} +2 -2
- package/dist/{predefined-templates-D7wYOLsG.js → predefined-templates-CYAMi27E.js} +1 -1
- package/dist/{purchase-order-template-BuTYHKgS.js → purchase-order-template-2CN0u-8S.js} +1 -1
- package/dist/{recalculationUtils-B5gy_YqF.js → recalculationUtils-Dc77nEtW.js} +1 -1
- package/dist/{row-action.enum-D-YatDz6.js → row-action.enum-Dn6uqFUC.js} +1 -1
- package/dist/{rules-BffOzeXh.js → rules-B1PuxvZs.js} +3 -3
- package/dist/{stock-B0aeTfLR.js → stock-A9EyL33f.js} +1 -1
- package/dist/{stock-kqgLG0jG.js → stock-YvoYBj2S.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{supplier-CHSHSIUG.js → supplier-D4lq9rrD.js} +2 -2
- package/dist/{surcharge-CrMml5I4.js → surcharge-Bgx3VxVq.js} +1 -1
- package/dist/{uom-rules-Dp3zvFYF.js → uom-rules-m_OA1Xcw.js} +1 -1
- package/dist/{use-ingredient-select-dialog-BOOSd_9a.js → use-ingredient-select-dialog-Ykre-nuZ.js} +2 -2
- package/dist/{use-inventory-binding-dialog-DZt8_jNr.js → use-inventory-binding-dialog-C0gK37FX.js} +2 -2
- package/dist/{use-template-enabled-locations-BWxbLhSL.js → use-template-enabled-locations-0LB3F0Rx.js} +2 -2
- package/dist/{use-transfer-locations-DE9eTTVR.js → use-transfer-locations-CZOEvAlM.js} +2 -2
- package/dist/{useHrmPermission-2d9RL_u8.js → useHrmPermission-CWmJz0TS.js} +1 -1
- package/dist/{useNavigationMenu-BdTm0J8E.js → useNavigationMenu-sk-qqTsa.js} +4 -4
- package/dist/{useSseClient-BQ9oplfW.js → useSseClient-UbEAr1lX.js} +1 -1
- package/dist/{vue-i18n-DngSjCMB.js → vue-i18n-DikHng8r.js} +158 -158
- package/dist/{xlsx.util-CnXn04xk.js → xlsx.util-DMreYn9A.js} +2 -2
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as Ce, useSlots as yo, ref as ue, computed as T, createElementBlock as _, openBlock as g, normalizeStyle as Te, normalizeClass as J, Fragment as se, createCommentVNode as ne, createElementVNode as v, unref as D, renderSlot as Fe, toDisplayString as E, createTextVNode as Ne, mergeProps as wn, createVNode as
|
|
2
|
-
import { I as Yt, d as Qs, u as el } from "./app-
|
|
1
|
+
import { defineComponent as Ce, useSlots as yo, ref as ue, computed as T, createElementBlock as _, openBlock as g, normalizeStyle as Te, normalizeClass as J, Fragment as se, createCommentVNode as ne, createElementVNode as v, unref as D, renderSlot as Fe, toDisplayString as E, createTextVNode as Ne, mergeProps as wn, createVNode as we, renderList as De, createBlock as Oe, withCtx as ot, watch as Me, onBeforeUnmount as Lt, withDirectives as dn, vModelText as Xa, withModifiers as to, withKeys as Xo, vModelCheckbox as Hs, vModelSelect as Rr, onMounted as rt, getCurrentScope as ja, inject as an, effectScope as Za, provide as Kt, onUnmounted as Gs, createPropsRestProxy as Us, toRef as Le, getCurrentInstance as sn, reactive as Ys, onScopeDispose as Wn, nextTick as gt, onBeforeMount as qs, shallowRef as St, isMemoSame as Ws, isRef as dr, toRefs as Xs, customRef as js, toValue as Pe, resolveComponent as Ka, h as Re, useAttrs as Zs, resolveDynamicComponent as Ks, markRaw as Xn, readonly as Js } from "vue";
|
|
2
|
+
import { I as Yt, d as Qs, u as el } from "./app-Cj8exkQV.js";
|
|
3
3
|
import { useRouter as Ja, useRoute as tl } from "vue-router";
|
|
4
4
|
import { useSnackbar as nl } from "@feedmepos/ui-library";
|
|
5
5
|
import { u as Qa, g as ei, a as ti, b as ni } from "./index-eGvSlWMU.js";
|
|
@@ -205,12 +205,12 @@ var yl = {
|
|
|
205
205
|
key: 0,
|
|
206
206
|
class: J(["fm-badge__count", f.value])
|
|
207
207
|
}, E(u.value), 3)) : ne("", !0)], 64)) : (g(), _(se, { key: 1 }, [
|
|
208
|
-
D(n).leading || h.leadingIcon ? (g(), _("span", _l, [Fe(h.$slots, "leading", {}, () => [
|
|
208
|
+
D(n).leading || h.leadingIcon ? (g(), _("span", _l, [Fe(h.$slots, "leading", {}, () => [we(Ye, {
|
|
209
209
|
icon: h.leadingIcon,
|
|
210
210
|
size: d.value
|
|
211
211
|
}, null, 8, ["icon", "size"])])])) : ne("", !0),
|
|
212
212
|
v("span", { class: J(["fm-badge__label", f.value]) }, [Fe(h.$slots, "default", {}, () => [Ne(E(h.label), 1)])], 2),
|
|
213
|
-
D(n).trailing || h.trailingIcon ? (g(), _("span", wl, [Fe(h.$slots, "trailing", {}, () => [
|
|
213
|
+
D(n).trailing || h.trailingIcon ? (g(), _("span", wl, [Fe(h.$slots, "trailing", {}, () => [we(Ye, {
|
|
214
214
|
icon: h.trailingIcon,
|
|
215
215
|
size: d.value
|
|
216
216
|
}, null, 8, ["icon", "size"])])])) : ne("", !0)
|
|
@@ -588,7 +588,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
588
588
|
]),
|
|
589
589
|
"aria-hidden": "true"
|
|
590
590
|
}, [
|
|
591
|
-
|
|
591
|
+
we(D(Ye), {
|
|
592
592
|
icon: o.value ? D(fl) : D(dl),
|
|
593
593
|
size: 20
|
|
594
594
|
}, null, 8, ["icon"])
|
|
@@ -827,7 +827,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
827
827
|
"data-testid": "tag-select-toggle",
|
|
828
828
|
onClick: b
|
|
829
829
|
}, [
|
|
830
|
-
|
|
830
|
+
we(D(Ye), {
|
|
831
831
|
icon: D(pl),
|
|
832
832
|
size: 16,
|
|
833
833
|
"aria-hidden": "true"
|
|
@@ -1279,7 +1279,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
1279
1279
|
() => ye((B) => B.feedMeStatus)
|
|
1280
1280
|
), _e = T(
|
|
1281
1281
|
() => ye((B) => B.status)
|
|
1282
|
-
),
|
|
1282
|
+
), ke = T(() => [
|
|
1283
1283
|
{
|
|
1284
1284
|
id: "locations",
|
|
1285
1285
|
label: "Location",
|
|
@@ -1410,7 +1410,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
1410
1410
|
"data-testid": "entity-search-submit",
|
|
1411
1411
|
onClick: U[4] || (U[4] = (H) => s("search", i.query ?? ""))
|
|
1412
1412
|
}, [
|
|
1413
|
-
|
|
1413
|
+
we(D(Ye), {
|
|
1414
1414
|
icon: D(vl),
|
|
1415
1415
|
size: 14,
|
|
1416
1416
|
"aria-hidden": "true"
|
|
@@ -1441,7 +1441,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
1441
1441
|
"data-testid": "entity-filter-button",
|
|
1442
1442
|
onClick: oe
|
|
1443
1443
|
}, [
|
|
1444
|
-
|
|
1444
|
+
we(D(Ye), {
|
|
1445
1445
|
icon: D(ml),
|
|
1446
1446
|
size: 14,
|
|
1447
1447
|
"aria-hidden": "true"
|
|
@@ -1458,7 +1458,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
1458
1458
|
"data-testid": "entity-filter-panel"
|
|
1459
1459
|
}, [
|
|
1460
1460
|
v("div", Eu, [
|
|
1461
|
-
(g(!0), _(se, null, De(
|
|
1461
|
+
(g(!0), _(se, null, De(ke.value, (H) => (g(), _("div", {
|
|
1462
1462
|
key: H.id,
|
|
1463
1463
|
class: "mb-3 last:mb-0",
|
|
1464
1464
|
"data-testid": "filter-field",
|
|
@@ -1470,7 +1470,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
1470
1470
|
Ne(E(H.label) + " ", 1),
|
|
1471
1471
|
v("span", Mu, E(H.options.length), 1)
|
|
1472
1472
|
], 2),
|
|
1473
|
-
|
|
1473
|
+
we(au, {
|
|
1474
1474
|
modelValue: L.value[H.id],
|
|
1475
1475
|
"onUpdate:modelValue": ($e) => L.value[H.id] = $e,
|
|
1476
1476
|
options: H.options,
|
|
@@ -1558,7 +1558,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
1558
1558
|
"data-testid": "entity-refresh",
|
|
1559
1559
|
onClick: U[6] || (U[6] = (H) => s("refresh"))
|
|
1560
1560
|
}, [
|
|
1561
|
-
|
|
1561
|
+
we(D(Ye), {
|
|
1562
1562
|
icon: D(li),
|
|
1563
1563
|
size: 14,
|
|
1564
1564
|
class: J(i.loading ? "animate-spin" : ""),
|
|
@@ -1833,7 +1833,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
1833
1833
|
"data-testid": "run-list-expand",
|
|
1834
1834
|
onClick: u[0] || (u[0] = (c) => o("update:collapsed", !1))
|
|
1835
1835
|
}, [
|
|
1836
|
-
|
|
1836
|
+
we(D(Ye), {
|
|
1837
1837
|
icon: D(kn),
|
|
1838
1838
|
size: 14
|
|
1839
1839
|
}, null, 8, ["icon"])
|
|
@@ -1852,7 +1852,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
1852
1852
|
"data-testid": "run-list-collapse",
|
|
1853
1853
|
onClick: u[1] || (u[1] = (c) => o("update:collapsed", !0))
|
|
1854
1854
|
}, [
|
|
1855
|
-
|
|
1855
|
+
we(D(Ye), {
|
|
1856
1856
|
icon: D(kn),
|
|
1857
1857
|
size: 14
|
|
1858
1858
|
}, null, 8, ["icon"])
|
|
@@ -1870,7 +1870,7 @@ const Bl = { class: "flex flex-wrap items-start justify-between gap-6 px-[32px]
|
|
|
1870
1870
|
"data-testid": "run-list-refresh",
|
|
1871
1871
|
onClick: u[2] || (u[2] = (c) => o("refresh"))
|
|
1872
1872
|
}, [
|
|
1873
|
-
|
|
1873
|
+
we(D(Ye), {
|
|
1874
1874
|
icon: D(li),
|
|
1875
1875
|
size: 14,
|
|
1876
1876
|
class: J(n.loading ? "animate-spin" : "")
|
|
@@ -3021,7 +3021,7 @@ const cd = ["data-testid"], Mi = /* @__PURE__ */ Ce({
|
|
|
3021
3021
|
key: 6,
|
|
3022
3022
|
class: J(["flex min-h-0 flex-col", t.fill ? "basis-0 grow" : ""])
|
|
3023
3023
|
}, [
|
|
3024
|
-
|
|
3024
|
+
we(pt, {
|
|
3025
3025
|
value: t.call.response,
|
|
3026
3026
|
fill: t.fill,
|
|
3027
3027
|
"min-height": t.jsonMinHeight,
|
|
@@ -3121,7 +3121,7 @@ const cd = ["data-testid"], Mi = /* @__PURE__ */ Ce({
|
|
|
3121
3121
|
"data-testid": "call-status"
|
|
3122
3122
|
}, E(n.call.status || "no answer"), 3)),
|
|
3123
3123
|
u.value ? ne("", !0) : (g(), _("span", Cd, E(n.call.duration_ms ?? 0) + "ms ", 1)),
|
|
3124
|
-
|
|
3124
|
+
we(D(Ye), {
|
|
3125
3125
|
icon: D(qt),
|
|
3126
3126
|
size: 14,
|
|
3127
3127
|
class: J(["transition-transform", i.value ? "rotate-90" : ""]),
|
|
@@ -3133,7 +3133,7 @@ const cd = ["data-testid"], Mi = /* @__PURE__ */ Ce({
|
|
|
3133
3133
|
key: 0,
|
|
3134
3134
|
class: J(["border-t border-[color:rgba(28,28,30,0.12)] px-2 pb-2 pt-2", n.scrollable ? "max-h-[32rem] overflow-y-auto" : ""])
|
|
3135
3135
|
}, [
|
|
3136
|
-
|
|
3136
|
+
we(Ii, {
|
|
3137
3137
|
call: n.call,
|
|
3138
3138
|
before: n.before,
|
|
3139
3139
|
"json-min-height": n.jsonMinHeight
|
|
@@ -3164,7 +3164,7 @@ const cd = ["data-testid"], Mi = /* @__PURE__ */ Ce({
|
|
|
3164
3164
|
"data-testid": `${n.testid}-expand`,
|
|
3165
3165
|
onClick: a[0] || (a[0] = (i) => o("update:collapsed", !1))
|
|
3166
3166
|
}, [
|
|
3167
|
-
|
|
3167
|
+
we(D(Ye), {
|
|
3168
3168
|
icon: D(kn),
|
|
3169
3169
|
size: 14
|
|
3170
3170
|
}, null, 8, ["icon"])
|
|
@@ -3186,7 +3186,7 @@ const cd = ["data-testid"], Mi = /* @__PURE__ */ Ce({
|
|
|
3186
3186
|
"data-testid": `${n.testid}-collapse`,
|
|
3187
3187
|
onClick: a[1] || (a[1] = (i) => o("update:collapsed", !0))
|
|
3188
3188
|
}, [
|
|
3189
|
-
|
|
3189
|
+
we(D(Ye), {
|
|
3190
3190
|
icon: D(kn),
|
|
3191
3191
|
size: 14
|
|
3192
3192
|
}, null, 8, ["icon"])
|
|
@@ -3421,7 +3421,7 @@ const Rd = {
|
|
|
3421
3421
|
v("div", {
|
|
3422
3422
|
class: J(["absolute inset-y-0 right-0 z-10 flex overflow-hidden bg-[var(--fm-bg-canvas)] transition-[width,opacity] duration-200 ease-out", n.collapsed ? "pointer-events-none w-0 opacity-0" : "w-[28.25rem] border-l border-[color:var(--fm-border-default)] shadow-[-12px_0_24px_rgba(0,0,0,0.08)]"])
|
|
3423
3423
|
}, [
|
|
3424
|
-
|
|
3424
|
+
we(wr, {
|
|
3425
3425
|
label: "Log details",
|
|
3426
3426
|
testid: "log-pane",
|
|
3427
3427
|
collapsed: !1,
|
|
@@ -3465,7 +3465,7 @@ const Rd = {
|
|
|
3465
3465
|
]),
|
|
3466
3466
|
p.value.type === "api.call" && p.value.call ? (g(), _("section", lf, [
|
|
3467
3467
|
h[9] || (h[9] = v("p", { class: "mb-1 text-[10px] font-medium uppercase leading-3 tracking-[0.06em] text-[var(--fm-text-muted)]" }, " API call ", -1)),
|
|
3468
|
-
|
|
3468
|
+
we(_r, {
|
|
3469
3469
|
call: p.value.call,
|
|
3470
3470
|
open: "",
|
|
3471
3471
|
scrollable: "",
|
|
@@ -3473,7 +3473,7 @@ const Rd = {
|
|
|
3473
3473
|
testid: "log-api-call-card"
|
|
3474
3474
|
}, null, 8, ["call"])
|
|
3475
3475
|
])) : ne("", !0),
|
|
3476
|
-
|
|
3476
|
+
we(pt, {
|
|
3477
3477
|
class: "shrink-0",
|
|
3478
3478
|
"min-height": "16rem",
|
|
3479
3479
|
value: p.value,
|
|
@@ -3940,7 +3940,7 @@ const yf = { class: "relative min-h-0 grow" }, xf = {
|
|
|
3940
3940
|
var A, L;
|
|
3941
3941
|
return g(), _("div", yf, [
|
|
3942
3942
|
v("div", xf, [
|
|
3943
|
-
|
|
3943
|
+
we(Ti, {
|
|
3944
3944
|
run: n.run
|
|
3945
3945
|
}, null, 8, ["run"]),
|
|
3946
3946
|
v("div", bf, [
|
|
@@ -4029,7 +4029,7 @@ const yf = { class: "relative min-h-0 grow" }, xf = {
|
|
|
4029
4029
|
n.collapsed ? "pointer-events-none w-0 opacity-0" : "w-[28.25rem] border-l border-[color:var(--fm-border-default)] shadow-[-12px_0_24px_rgba(0,0,0,0.08)]"
|
|
4030
4030
|
])
|
|
4031
4031
|
}, [
|
|
4032
|
-
|
|
4032
|
+
we(wr, {
|
|
4033
4033
|
label: "Side effect",
|
|
4034
4034
|
testid: "effect-pane",
|
|
4035
4035
|
collapsed: !1,
|
|
@@ -4103,26 +4103,26 @@ const yf = { class: "relative min-h-0 grow" }, xf = {
|
|
|
4103
4103
|
u.value.body.payload !== void 0 ? (g(), _("details", Xf, [
|
|
4104
4104
|
b[5] || (b[5] = v("summary", { class: "cursor-pointer text-[11px] font-medium uppercase leading-[14px] tracking-[0.06em] text-[var(--fm-text-muted)]" }, " Payload sent ", -1)),
|
|
4105
4105
|
v("div", jf, [
|
|
4106
|
-
|
|
4106
|
+
we(pt, {
|
|
4107
4107
|
value: u.value.body.payload,
|
|
4108
4108
|
testid: "effect-payload-body"
|
|
4109
4109
|
}, null, 8, ["value"])
|
|
4110
4110
|
])
|
|
4111
4111
|
])) : ne("", !0)
|
|
4112
4112
|
])) : ((K = h.value) == null ? void 0 : K.kind) === "payload" && ((Z = u.value.body) == null ? void 0 : Z.payload) !== void 0 ? (g(), _("div", Zf, [
|
|
4113
|
-
|
|
4113
|
+
we(pt, {
|
|
4114
4114
|
value: u.value.body.payload,
|
|
4115
4115
|
fill: "",
|
|
4116
4116
|
testid: "effect-payload"
|
|
4117
4117
|
}, null, 8, ["value"])
|
|
4118
4118
|
])) : ((k = h.value) == null ? void 0 : k.kind) === "result" && ((oe = u.value.body) == null ? void 0 : oe.result) !== void 0 ? (g(), _("div", Kf, [
|
|
4119
|
-
|
|
4119
|
+
we(pt, {
|
|
4120
4120
|
value: u.value.body.result,
|
|
4121
4121
|
fill: "",
|
|
4122
4122
|
testid: "effect-result"
|
|
4123
4123
|
}, null, 8, ["value"])
|
|
4124
4124
|
])) : ((C = h.value) == null ? void 0 : C.kind) === "call" && D(Oo)(u.value) ? (g(), _("div", Jf, [
|
|
4125
|
-
|
|
4125
|
+
we(_r, {
|
|
4126
4126
|
call: D(Oo)(u.value),
|
|
4127
4127
|
before: (F = u.value.body) == null ? void 0 : F.before,
|
|
4128
4128
|
open: !0,
|
|
@@ -8067,7 +8067,7 @@ function Is({
|
|
|
8067
8067
|
K.value
|
|
8068
8068
|
);
|
|
8069
8069
|
oe = _e.handleDomNode, Z = _e.connection, k = Oh(!!te, _e.isValid);
|
|
8070
|
-
const
|
|
8070
|
+
const ke = {
|
|
8071
8071
|
// from stays the same
|
|
8072
8072
|
...ye,
|
|
8073
8073
|
isValid: k,
|
|
@@ -8076,7 +8076,7 @@ function Is({
|
|
|
8076
8076
|
toPosition: k && _e.toHandle ? _e.toHandle.position : lr[O.position],
|
|
8077
8077
|
toNode: _e.toHandle ? K.value.get(_e.toHandle.nodeId) : null
|
|
8078
8078
|
};
|
|
8079
|
-
if (k && te && (ye != null && ye.toHandle) &&
|
|
8079
|
+
if (k && te && (ye != null && ye.toHandle) && ke.toHandle && ye.toHandle.type === ke.toHandle.type && ye.toHandle.nodeId === ke.toHandle.nodeId && ye.toHandle.id === ke.toHandle.id && ye.to.x === ke.to.x && ye.to.y === ke.to.y)
|
|
8080
8080
|
return;
|
|
8081
8081
|
const Ie = te ?? _e.toHandle;
|
|
8082
8082
|
if (m(
|
|
@@ -8089,7 +8089,7 @@ function Is({
|
|
|
8089
8089
|
) : S,
|
|
8090
8090
|
Ie,
|
|
8091
8091
|
Rh(!!Ie, k)
|
|
8092
|
-
), ye =
|
|
8092
|
+
), ye = ke, !te && !k && !oe)
|
|
8093
8093
|
return Uo(ge);
|
|
8094
8094
|
Z && Z.source !== Z.target && oe && (Uo(ge), ge = oe, oe.classList.add("connecting", "vue-flow__handle-connecting"), oe.classList.toggle("valid", !!k), oe.classList.toggle("vue-flow__handle-valid", !!k));
|
|
8095
8095
|
}, xe = function(ve) {
|
|
@@ -8828,8 +8828,8 @@ function ny(e, t, n) {
|
|
|
8828
8828
|
if (ye) {
|
|
8829
8829
|
const ve = So(ce.nodeElement);
|
|
8830
8830
|
if (!!(ve.width && ve.height && (ye.dimensions.width !== ve.width || ye.dimensions.height !== ve.height || ce.forceUpdate))) {
|
|
8831
|
-
const
|
|
8832
|
-
ye.dimensions = ve, ye.handleBounds.source = La("source", ce.nodeElement,
|
|
8831
|
+
const ke = ce.nodeElement.getBoundingClientRect();
|
|
8832
|
+
ye.dimensions = ve, ye.handleBounds.source = La("source", ce.nodeElement, ke, O, ye.id), ye.handleBounds.target = La("target", ce.nodeElement, ke, O, ye.id), P.push({
|
|
8833
8833
|
id: ye.id,
|
|
8834
8834
|
type: "dimensions",
|
|
8835
8835
|
dimensions: ve
|
|
@@ -8948,25 +8948,25 @@ function ny(e, t, n) {
|
|
|
8948
8948
|
}, F = (S, x = !0, M = !1) => {
|
|
8949
8949
|
const O = S instanceof Function ? S(e.nodes) : S, P = Array.isArray(O) ? O : [O], le = [], ce = [];
|
|
8950
8950
|
function ye(_e) {
|
|
8951
|
-
const
|
|
8952
|
-
for (const Ie of
|
|
8951
|
+
const ke = s(_e);
|
|
8952
|
+
for (const Ie of ke)
|
|
8953
8953
|
(!ze(Ie.deletable) || Ie.deletable) && ce.push(Ta(Ie.id, Ie.source, Ie.target, Ie.sourceHandle, Ie.targetHandle));
|
|
8954
8954
|
}
|
|
8955
8955
|
function ve(_e) {
|
|
8956
|
-
const
|
|
8956
|
+
const ke = [];
|
|
8957
8957
|
for (const Ie of e.nodes)
|
|
8958
|
-
Ie.parentNode === _e &&
|
|
8959
|
-
if (
|
|
8960
|
-
for (const Ie of
|
|
8958
|
+
Ie.parentNode === _e && ke.push(Ie);
|
|
8959
|
+
if (ke.length) {
|
|
8960
|
+
for (const Ie of ke)
|
|
8961
8961
|
le.push(Ia(Ie.id));
|
|
8962
|
-
x && ye(
|
|
8963
|
-
for (const Ie of
|
|
8962
|
+
x && ye(ke);
|
|
8963
|
+
for (const Ie of ke)
|
|
8964
8964
|
ve(Ie.id);
|
|
8965
8965
|
}
|
|
8966
8966
|
}
|
|
8967
8967
|
for (const _e of P) {
|
|
8968
|
-
const
|
|
8969
|
-
|
|
8968
|
+
const ke = typeof _e == "string" ? u(_e) : _e;
|
|
8969
|
+
ke && (ze(ke.deletable) && !ke.deletable || (le.push(Ia(ke.id)), x && ye([ke]), M && ve(ke.id)));
|
|
8970
8970
|
}
|
|
8971
8971
|
ce.length && e.hooks.edgesChange.trigger(ce), le.length && e.hooks.nodesChange.trigger(le);
|
|
8972
8972
|
}, R = (S) => {
|
|
@@ -9147,7 +9147,7 @@ function ny(e, t, n) {
|
|
|
9147
9147
|
isParent: ye,
|
|
9148
9148
|
resizing: ve,
|
|
9149
9149
|
dragging: _e,
|
|
9150
|
-
events:
|
|
9150
|
+
events: ke,
|
|
9151
9151
|
...Ie
|
|
9152
9152
|
} = M;
|
|
9153
9153
|
S.push(Ie);
|
|
@@ -10416,8 +10416,8 @@ const zy = {
|
|
|
10416
10416
|
return P.preventDefault(), !1;
|
|
10417
10417
|
if (!fe.value && (P.type === "mousedown" || P.type === "touchstart") || xe.value && Array.isArray(d.value) && d.value.includes(0) && ve === 0 || Array.isArray(d.value) && !d.value.includes(ve) && (P.type === "mousedown" || P.type === "touchstart"))
|
|
10418
10418
|
return !1;
|
|
10419
|
-
const
|
|
10420
|
-
return (!P.ctrlKey || Q.value || _e) &&
|
|
10419
|
+
const ke = Array.isArray(d.value) && d.value.includes(ve) || i.value === !0 && Array.isArray(d.value) && !d.value.includes(0) || !ve || ve <= 1;
|
|
10420
|
+
return (!P.ctrlKey || Q.value || _e) && ke;
|
|
10421
10421
|
}), Me(
|
|
10422
10422
|
[b, fe],
|
|
10423
10423
|
() => {
|
|
@@ -10446,8 +10446,8 @@ const zy = {
|
|
|
10446
10446
|
G.scaleTo(ge, Nt, Qe, P);
|
|
10447
10447
|
return;
|
|
10448
10448
|
}
|
|
10449
|
-
const
|
|
10450
|
-
let Ie = u.value === bn.Vertical ? 0 : P.deltaX *
|
|
10449
|
+
const ke = P.deltaMode === 1 ? 20 : 1;
|
|
10450
|
+
let Ie = u.value === bn.Vertical ? 0 : P.deltaX * ke, Ke = u.value === bn.Horizontal ? 0 : P.deltaY * ke;
|
|
10451
10451
|
!_e && P.shiftKey && u.value !== bn.Vertical && !Ie && Ke && (Ie = Ke, Ke = 0), G.translateBy(
|
|
10452
10452
|
ge,
|
|
10453
10453
|
-(Ie / ve) * c.value,
|
|
@@ -10494,7 +10494,7 @@ const zy = {
|
|
|
10494
10494
|
ref: K,
|
|
10495
10495
|
class: "vue-flow__viewport vue-flow__container"
|
|
10496
10496
|
}, [
|
|
10497
|
-
|
|
10497
|
+
we(Vy, {
|
|
10498
10498
|
"is-selecting": Ee.value,
|
|
10499
10499
|
"selection-key-pressed": D(ie),
|
|
10500
10500
|
class: J({
|
|
@@ -10504,7 +10504,7 @@ const zy = {
|
|
|
10504
10504
|
})
|
|
10505
10505
|
}, {
|
|
10506
10506
|
default: ot(() => [
|
|
10507
|
-
|
|
10507
|
+
we(Hy, null, {
|
|
10508
10508
|
default: ot(() => [
|
|
10509
10509
|
Fe(ee.$slots, "default")
|
|
10510
10510
|
]),
|
|
@@ -10638,8 +10638,8 @@ const qa = Pr, Qy = Ce({
|
|
|
10638
10638
|
const le = Da(P, m.value.sourceHandle);
|
|
10639
10639
|
let ce;
|
|
10640
10640
|
o.value === Ct.Strict ? ce = M.handleBounds.target : ce = [...M.handleBounds.target || [], ...M.handleBounds.source || []];
|
|
10641
|
-
const ye = Da(ce, m.value.targetHandle), ve = (le == null ? void 0 : le.position) || be.Bottom, _e = (ye == null ? void 0 : ye.position) || be.Top, { x:
|
|
10642
|
-
return m.value.sourceX =
|
|
10641
|
+
const ye = Da(ce, m.value.targetHandle), ve = (le == null ? void 0 : le.position) || be.Bottom, _e = (ye == null ? void 0 : ye.position) || be.Top, { x: ke, y: Ie } = on(x, le, ve), { x: Ke, y: qe } = on(M, ye, _e);
|
|
10642
|
+
return m.value.sourceX = ke, m.value.sourceY = Ie, m.value.targetX = Ke, m.value.targetY = qe, Re(
|
|
10643
10643
|
"g",
|
|
10644
10644
|
{
|
|
10645
10645
|
ref: oe,
|
|
@@ -10695,7 +10695,7 @@ const qa = Pr, Qy = Ce({
|
|
|
10695
10695
|
markerEnd: `url('#${An(m.value.markerEnd, t)}')`,
|
|
10696
10696
|
sourcePosition: ve,
|
|
10697
10697
|
targetPosition: _e,
|
|
10698
|
-
sourceX:
|
|
10698
|
+
sourceX: ke,
|
|
10699
10699
|
sourceY: Ie,
|
|
10700
10700
|
targetX: Ke,
|
|
10701
10701
|
targetY: qe,
|
|
@@ -10715,7 +10715,7 @@ const qa = Pr, Qy = Ce({
|
|
|
10715
10715
|
},
|
|
10716
10716
|
Re(qa, {
|
|
10717
10717
|
position: ve,
|
|
10718
|
-
centerX:
|
|
10718
|
+
centerX: ke,
|
|
10719
10719
|
centerY: Ie,
|
|
10720
10720
|
radius: r.value,
|
|
10721
10721
|
type: "source",
|
|
@@ -10995,17 +10995,17 @@ const qa = Pr, Qy = Ce({
|
|
|
10995
10995
|
setup(e) {
|
|
10996
10996
|
const { findNode: t, getEdges: n, elevateEdgesOnSelect: o } = Be();
|
|
10997
10997
|
return (r, a) => (g(), _(se, null, [
|
|
10998
|
-
|
|
10998
|
+
we(lx),
|
|
10999
10999
|
(g(!0), _(se, null, De(D(n), (i) => (g(), _("svg", {
|
|
11000
11000
|
key: i.id,
|
|
11001
11001
|
class: "vue-flow__edges vue-flow__container",
|
|
11002
11002
|
style: Te({ zIndex: D(Nh)(i, D(t), D(o)) })
|
|
11003
11003
|
}, [
|
|
11004
|
-
|
|
11004
|
+
we(D(ex), {
|
|
11005
11005
|
id: i.id
|
|
11006
11006
|
}, null, 8, ["id"])
|
|
11007
11007
|
], 4))), 128)),
|
|
11008
|
-
|
|
11008
|
+
we(D(nx))
|
|
11009
11009
|
], 64));
|
|
11010
11010
|
}
|
|
11011
11011
|
}), dx = Ce({
|
|
@@ -11390,17 +11390,17 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
11390
11390
|
ref: D(l).vueFlowRef,
|
|
11391
11391
|
class: "vue-flow"
|
|
11392
11392
|
}, [
|
|
11393
|
-
|
|
11393
|
+
we(Uy, null, {
|
|
11394
11394
|
default: ot(() => [
|
|
11395
|
-
|
|
11395
|
+
we(cx),
|
|
11396
11396
|
yx,
|
|
11397
|
-
|
|
11397
|
+
we(gx),
|
|
11398
11398
|
Fe(c.$slots, "zoom-pane")
|
|
11399
11399
|
]),
|
|
11400
11400
|
_: 3
|
|
11401
11401
|
}),
|
|
11402
11402
|
Fe(c.$slots, "default"),
|
|
11403
|
-
|
|
11403
|
+
we(jy)
|
|
11404
11404
|
], 512));
|
|
11405
11405
|
}
|
|
11406
11406
|
}), _x = {
|
|
@@ -11527,7 +11527,7 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
11527
11527
|
o("select", { task: I.task });
|
|
11528
11528
|
}
|
|
11529
11529
|
return (I, m) => (g(), _("div", _x, [
|
|
11530
|
-
|
|
11530
|
+
we(D(bx), {
|
|
11531
11531
|
nodes: d.value,
|
|
11532
11532
|
edges: f.value,
|
|
11533
11533
|
"nodes-draggable": !1,
|
|
@@ -11541,13 +11541,13 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
11541
11541
|
"aria-label": "The run as a graph: a node per job, and an edge from each job to the ones that waited for it"
|
|
11542
11542
|
}, {
|
|
11543
11543
|
"node-job": ot(({ data: b }) => [
|
|
11544
|
-
|
|
11544
|
+
we(D(rn), {
|
|
11545
11545
|
type: "target",
|
|
11546
11546
|
position: D(be).Left,
|
|
11547
11547
|
connectable: !1,
|
|
11548
11548
|
class: "!h-1.5 !w-1.5 !border-0 !bg-[var(--fm-border-default)]"
|
|
11549
11549
|
}, null, 8, ["position"]),
|
|
11550
|
-
|
|
11550
|
+
we(D(rn), {
|
|
11551
11551
|
type: "source",
|
|
11552
11552
|
position: D(be).Right,
|
|
11553
11553
|
connectable: !1,
|
|
@@ -11859,7 +11859,7 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
11859
11859
|
kind: ee,
|
|
11860
11860
|
label: me,
|
|
11861
11861
|
artifact: ye,
|
|
11862
|
-
count: jn(ye).filter((
|
|
11862
|
+
count: jn(ye).filter((ke) => !ke.skipped).length
|
|
11863
11863
|
};
|
|
11864
11864
|
const ve = s(((le = N.value) == null ? void 0 : le.task) ?? "");
|
|
11865
11865
|
if (!ve.length) return { kind: ee, label: me, count: 0 };
|
|
@@ -11868,7 +11868,7 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
11868
11868
|
task: ((ce = N.value) == null ? void 0 : ce.task) ?? "",
|
|
11869
11869
|
kind: "calls",
|
|
11870
11870
|
slices: Object.fromEntries(
|
|
11871
|
-
ve.map((
|
|
11871
|
+
ve.map((ke, Ie) => [String(Ie), ke])
|
|
11872
11872
|
),
|
|
11873
11873
|
capturedAtMs: 0
|
|
11874
11874
|
};
|
|
@@ -11876,7 +11876,7 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
11876
11876
|
kind: ee,
|
|
11877
11877
|
label: me,
|
|
11878
11878
|
artifact: _e,
|
|
11879
|
-
count: ve.filter((
|
|
11879
|
+
count: ve.filter((ke) => !ke.skipped).length
|
|
11880
11880
|
};
|
|
11881
11881
|
}
|
|
11882
11882
|
const S = G ? fe(ee, G) : V.get(ee);
|
|
@@ -11919,12 +11919,12 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
11919
11919
|
});
|
|
11920
11920
|
return (V, Y) => (g(), _("div", Px, [
|
|
11921
11921
|
v("div", Dx, [
|
|
11922
|
-
|
|
11922
|
+
we(Ti, {
|
|
11923
11923
|
run: n.run
|
|
11924
11924
|
}, {
|
|
11925
11925
|
default: ot(() => [
|
|
11926
11926
|
v("div", Rx, [
|
|
11927
|
-
|
|
11927
|
+
we(Ax, {
|
|
11928
11928
|
run: n.run,
|
|
11929
11929
|
selected: N.value,
|
|
11930
11930
|
onSelect: Z
|
|
@@ -11998,7 +11998,7 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
11998
11998
|
n.collapsed ? "pointer-events-none w-0 opacity-0" : "w-[28.25rem] border-l border-[color:var(--fm-border-default)] shadow-[-12px_0_24px_rgba(0,0,0,0.08)]"
|
|
11999
11999
|
])
|
|
12000
12000
|
}, [
|
|
12001
|
-
|
|
12001
|
+
we(wr, {
|
|
12002
12002
|
label: "Job details",
|
|
12003
12003
|
testid: "document-pane",
|
|
12004
12004
|
collapsed: !1,
|
|
@@ -12134,7 +12134,7 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
12134
12134
|
}, null, 8, ["call", "selected", "onSelect"]))), 128))
|
|
12135
12135
|
]),
|
|
12136
12136
|
K.value ? (g(), _("div", x0, [
|
|
12137
|
-
|
|
12137
|
+
we(Ii, {
|
|
12138
12138
|
call: K.value,
|
|
12139
12139
|
fill: ""
|
|
12140
12140
|
}, null, 8, ["call"])
|
|
@@ -12173,7 +12173,7 @@ const yx = /* @__PURE__ */ v("div", { class: "vue-flow__edge-labels" }, null, -1
|
|
|
12173
12173
|
], 64)) : (g(), _("p", $0, E(de(te.value)), 1))
|
|
12174
12174
|
])) : ne("", !0)
|
|
12175
12175
|
], 64)) : (g(), _("div", qx, [
|
|
12176
|
-
|
|
12176
|
+
we(D(Ye), {
|
|
12177
12177
|
icon: D(kn),
|
|
12178
12178
|
size: 28,
|
|
12179
12179
|
class: "text-[var(--fm-text-disabled)]"
|
|
@@ -12495,9 +12495,9 @@ const D0 = {
|
|
|
12495
12495
|
const q = P.value;
|
|
12496
12496
|
return q ? q.status === "failed" ? { label: "Needs a person", tone: "error" } : q.status === "succeeded" ? { label: "In sync", tone: "success" } : { label: q.status, tone: gr(q.status) } : { label: "Never reconciled", tone: "neutral" };
|
|
12497
12497
|
}), ye = T(() => {
|
|
12498
|
-
const q =
|
|
12498
|
+
const q = ke.value.length, re = `${q} run${q === 1 ? "" : "s"} ${C.value}`, Ae = P.value;
|
|
12499
12499
|
if (!Ae) return `Nothing has reconciled this record yet · ${re}`;
|
|
12500
|
-
const We =
|
|
12500
|
+
const We = ke.value.reduce(
|
|
12501
12501
|
(bt, On) => bt + At(On).writes.netSuite + At(On).writes.feedMe,
|
|
12502
12502
|
0
|
|
12503
12503
|
), Se = [`Reconciled ${$t(Ae.startedAtMs)}`];
|
|
@@ -12542,10 +12542,10 @@ const D0 = {
|
|
|
12542
12542
|
return q ? R.value.filter(
|
|
12543
12543
|
(re) => q.canonicalId ? re.scope.canonicalId === q.canonicalId : !!q.externalId && re.scope.externalId === q.externalId
|
|
12544
12544
|
) : [];
|
|
12545
|
-
}),
|
|
12545
|
+
}), ke = T(
|
|
12546
12546
|
() => Ol(_e.value, K.value, Z.value, k.value)
|
|
12547
12547
|
);
|
|
12548
|
-
Me(
|
|
12548
|
+
Me(ke, async (q) => {
|
|
12549
12549
|
if (W.value && !q.some((re) => {
|
|
12550
12550
|
var Ae;
|
|
12551
12551
|
return re.runId === ((Ae = W.value) == null ? void 0 : Ae.runId);
|
|
@@ -12569,7 +12569,7 @@ const D0 = {
|
|
|
12569
12569
|
params: { ...Ie.value.params, locationRef: re, canonicalId: Ae },
|
|
12570
12570
|
query: n.query
|
|
12571
12571
|
}), await Y();
|
|
12572
|
-
const We =
|
|
12572
|
+
const We = ke.value[0];
|
|
12573
12573
|
We ? await Qe(We.runId) : (W.value = null, Q.value = []);
|
|
12574
12574
|
}
|
|
12575
12575
|
async function qe() {
|
|
@@ -12621,7 +12621,7 @@ const D0 = {
|
|
|
12621
12621
|
ie.value ? (g(), _("p", D0, " Loading runs… ")) : ae.value ? (g(), _("p", R0, " Could not load integration runs: " + E(ae.value), 1)) : et.value ? (g(), _("div", O0, [
|
|
12622
12622
|
re[12] || (re[12] = v("p", { class: "text-[20px] font-semibold leading-7 text-[var(--fm-text-primary)]" }, "404 — no such order", -1)),
|
|
12623
12623
|
v("p", L0, E(q.canonicalId) + " is not in " + E(L.value[q.locationRef ?? ""] ?? q.locationRef ?? "this business") + ". ", 1),
|
|
12624
|
-
|
|
12624
|
+
we(D(Or), {
|
|
12625
12625
|
class: "mt-4",
|
|
12626
12626
|
size: "sm",
|
|
12627
12627
|
variant: "secondary",
|
|
@@ -12645,7 +12645,7 @@ const D0 = {
|
|
|
12645
12645
|
"data-testid": "crumb-platform",
|
|
12646
12646
|
onClick: re[1] || (re[1] = (Se) => D(t).push({ name: D(Yt).INTEGRATION_PLATFORM_CATALOG }))
|
|
12647
12647
|
}, " Providers "),
|
|
12648
|
-
|
|
12648
|
+
we(D(Ye), {
|
|
12649
12649
|
icon: D(qt),
|
|
12650
12650
|
size: 14,
|
|
12651
12651
|
class: "shrink-0 text-[var(--fm-text-muted)]",
|
|
@@ -12657,7 +12657,7 @@ const D0 = {
|
|
|
12657
12657
|
"data-testid": "crumb-provider",
|
|
12658
12658
|
onClick: re[2] || (re[2] = (Se) => D(t).push({ name: D(Yt).INTEGRATION_PLATFORM_PROVIDER, params: { provider: a.value } }))
|
|
12659
12659
|
}, E(s.value), 1),
|
|
12660
|
-
|
|
12660
|
+
we(D(Ye), {
|
|
12661
12661
|
icon: D(qt),
|
|
12662
12662
|
size: 14,
|
|
12663
12663
|
class: "shrink-0 text-[var(--fm-text-muted)]",
|
|
@@ -12671,7 +12671,7 @@ const D0 = {
|
|
|
12671
12671
|
onClick: qe
|
|
12672
12672
|
}, E(l.value), 1)) : (g(), _("span", B0, E(l.value), 1)),
|
|
12673
12673
|
x.value ? (g(), _(se, { key: 2 }, [
|
|
12674
|
-
|
|
12674
|
+
we(D(Ye), {
|
|
12675
12675
|
icon: D(qt),
|
|
12676
12676
|
size: 14,
|
|
12677
12677
|
class: "shrink-0 text-[var(--fm-text-muted)]",
|
|
@@ -12688,7 +12688,7 @@ const D0 = {
|
|
|
12688
12688
|
v("div", F0, [
|
|
12689
12689
|
v("div", H0, [
|
|
12690
12690
|
v("h1", G0, E(le.value), 1),
|
|
12691
|
-
|
|
12691
|
+
we(fn, {
|
|
12692
12692
|
label: ce.value.label,
|
|
12693
12693
|
tone: ce.value.tone,
|
|
12694
12694
|
testid: "record-verdict"
|
|
@@ -12711,7 +12711,7 @@ const D0 = {
|
|
|
12711
12711
|
])
|
|
12712
12712
|
]),
|
|
12713
12713
|
v("div", J0, [
|
|
12714
|
-
|
|
12714
|
+
we(D(Or), {
|
|
12715
12715
|
size: "sm",
|
|
12716
12716
|
variant: "primary",
|
|
12717
12717
|
label: me.value ? "Syncing…" : G.value ? "Not on platform yet" : "Sync now",
|
|
@@ -12731,8 +12731,8 @@ const D0 = {
|
|
|
12731
12731
|
})
|
|
12732
12732
|
}, [
|
|
12733
12733
|
v("div", eb, [
|
|
12734
|
-
|
|
12735
|
-
runs:
|
|
12734
|
+
we(Ac, {
|
|
12735
|
+
runs: ke.value,
|
|
12736
12736
|
"selected-run-id": (Ae = W.value) == null ? void 0 : Ae.runId,
|
|
12737
12737
|
loading: j.value,
|
|
12738
12738
|
preset: K.value,
|
|
@@ -12752,8 +12752,8 @@ const D0 = {
|
|
|
12752
12752
|
logs: Q.value,
|
|
12753
12753
|
run: W.value
|
|
12754
12754
|
}, null, 8, ["logs", "run"])) : (g(), _("p", tb, [
|
|
12755
|
-
|
|
12756
|
-
Ne(E(
|
|
12755
|
+
ke.value.length > 0 ? (g(), _(se, { key: 0 }, [
|
|
12756
|
+
Ne(E(ke.value.length) + " " + E(ke.value.length === 1 ? "run" : "runs") + " for " + E(M.value) + " in this window. Pick one on the left to see what it read, decided and wrote. ", 1)
|
|
12757
12757
|
], 64)) : (We = x.value) != null && We.canonicalId ? (g(), _(se, { key: 1 }, [
|
|
12758
12758
|
Ne(E(M.value) + " is linked to " + E(a.value) + ", but the platform has not reconciled it yet. It will appear here the first time a sync, a webhook or a manual trigger reaches it. ", 1)
|
|
12759
12759
|
], 64)) : (g(), _(se, { key: 2 }, [
|
|
@@ -12761,11 +12761,11 @@ const D0 = {
|
|
|
12761
12761
|
], 64))
|
|
12762
12762
|
]))
|
|
12763
12763
|
], 4)) : (g(), _("div", Q0, [
|
|
12764
|
-
|
|
12764
|
+
we(Xl, {
|
|
12765
12765
|
class: "shrink-0",
|
|
12766
12766
|
entities: u.value
|
|
12767
12767
|
}, null, 8, ["entities"]),
|
|
12768
|
-
|
|
12768
|
+
we(fc, {
|
|
12769
12769
|
class: "min-h-0 grow",
|
|
12770
12770
|
entities: u.value,
|
|
12771
12771
|
provider: a.value,
|
|
@@ -12912,7 +12912,7 @@ const D0 = {
|
|
|
12912
12912
|
}))
|
|
12913
12913
|
}, " Providers ")) : (g(), _("span", ib, "Providers")),
|
|
12914
12914
|
t.provider ? (g(), _(se, { key: 2 }, [
|
|
12915
|
-
|
|
12915
|
+
we(D(Ye), {
|
|
12916
12916
|
icon: D(qt),
|
|
12917
12917
|
size: 14,
|
|
12918
12918
|
class: "shrink-0 text-[var(--fm-text-muted)]",
|
|
@@ -12958,7 +12958,7 @@ const D0 = {
|
|
|
12958
12958
|
]),
|
|
12959
12959
|
w.note ? (g(), _("span", _b, E(w.note), 1)) : ne("", !0),
|
|
12960
12960
|
v("span", wb, E(w.aside), 1),
|
|
12961
|
-
|
|
12961
|
+
we(D(Ye), {
|
|
12962
12962
|
icon: D(qt),
|
|
12963
12963
|
size: 16,
|
|
12964
12964
|
class: J(["shrink-0 text-[var(--fm-text-muted)]", w.to ? "" : "opacity-0"]),
|
|
@@ -13042,7 +13042,7 @@ const $b = /* @__PURE__ */ Ce({
|
|
|
13042
13042
|
"location-names": o.locationNames
|
|
13043
13043
|
}, null, 8, ["api", "provider", "location-names"]));
|
|
13044
13044
|
}
|
|
13045
|
-
}),
|
|
13045
|
+
}), Cb = { class: "fm-ui-v2" }, Db = /* @__PURE__ */ Ce({
|
|
13046
13046
|
__name: "IntegrationPlatformView",
|
|
13047
13047
|
props: {
|
|
13048
13048
|
provider: {},
|
|
@@ -13065,16 +13065,18 @@ const $b = /* @__PURE__ */ Ce({
|
|
|
13065
13065
|
{}
|
|
13066
13066
|
)
|
|
13067
13067
|
);
|
|
13068
|
-
return (a, i) => (g(),
|
|
13069
|
-
|
|
13070
|
-
|
|
13071
|
-
|
|
13072
|
-
|
|
13073
|
-
|
|
13074
|
-
|
|
13075
|
-
|
|
13068
|
+
return (a, i) => (g(), _("div", Cb, [
|
|
13069
|
+
we(D($b), {
|
|
13070
|
+
request: D(n),
|
|
13071
|
+
"location-names": r.value,
|
|
13072
|
+
provider: a.provider,
|
|
13073
|
+
"entity-type": a.entityType,
|
|
13074
|
+
"location-ref": a.locationRef,
|
|
13075
|
+
"canonical-id": a.canonicalId
|
|
13076
|
+
}, null, 8, ["request", "location-names", "provider", "entity-type", "location-ref", "canonical-id"])
|
|
13077
|
+
]));
|
|
13076
13078
|
}
|
|
13077
13079
|
});
|
|
13078
13080
|
export {
|
|
13079
|
-
|
|
13081
|
+
Db as default
|
|
13080
13082
|
};
|