@snabcentr/vue-ui-lib 4.5.2 → 4.5.3
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/sc-vue-ui-lib.js
CHANGED
|
@@ -6,7 +6,7 @@ var lg = (t, e, i) => e in t ? ag(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var P = (t, e, i) => lg(t, typeof e != "symbol" ? e + "" : e, i), hc = (t, e, i) => e.has(t) || dc("Cannot " + i);
|
|
7
7
|
var ni = (t, e, i) => (hc(t, e, "read from private field"), i ? i.call(t) : e.get(t)), va = (t, e, i) => e.has(t) ? dc("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), fc = (t, e, i, n) => (hc(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
|
|
8
8
|
import { isString as cn, groupBy as cg, get as mo, isEmpty as Pl, noop as Tt, some as Ei, isFunction as Ft, isNil as ut, find as gc, forOwn as Td, forEach as ps, sortBy as Oo, cloneDeep as ei, reduce as Rd, every as mc, isArray as kt, keys as ug, debounce as Gi, sum as pc, isUndefined as er, unset as dg, isNull as Fd, isObject as hg, merge as Nr, upperFirst as fg, map as gg, constant as zo, union as mg } from "lodash-es";
|
|
9
|
-
import { Comment as Lo, Text as Bd, Fragment as be, markRaw as He, createElementBlock as M, openBlock as _, createElementVNode as k, defineComponent as re, inject as et, computed as E, ref as X, readonly as po, normalizeClass as We, createVNode as
|
|
9
|
+
import { Comment as Lo, Text as Bd, Fragment as be, markRaw as He, createElementBlock as M, openBlock as _, createElementVNode as k, defineComponent as re, inject as et, computed as E, ref as X, readonly as po, normalizeClass as We, createVNode as H, createCommentVNode as N, renderSlot as Re, unref as A, createTextVNode as ee, toDisplayString as q, Transition as ks, withCtx as z, createBlock as te, useTemplateRef as Xe, onMounted as lt, onBeforeUnmount as Ri, onUnmounted as Br, normalizeStyle as sr, renderList as Pt, h as U, watch as xe, withKeys as rr, withModifiers as un, nextTick as wt, onBeforeMount as Ar, toRaw as mi, withDirectives as Fs, provide as $i, createSlots as Bn, getCurrentInstance as Ad, Teleport as pg, toRef as st, mergeProps as Tl, onActivated as Md, onDeactivated as Id, isVNode as vg, shallowRef as yg, watchEffect as An, vShow as Rl, cloneVNode as bg, mergeDefaults as Fl } from "vue";
|
|
10
10
|
import { NTooltip as Mr, NButton as Ne, NDropdown as Do, NTag as Ed, NPopover as In, NText as Xn, NScrollbar as Od, NCheckbox as En, NSpin as Jn, NForm as Bs, NFormItem as je, NSelect as Ui, NInputNumber as yt, NInput as fn, NModal as Bl, NDrawer as zd, NDrawerContent as Ld, NDataTable as Al, NAlert as Dd, NInputGroup as Nd, NInputGroupLabel as _g, NDatePicker as wg, NUpload as xg, NUploadDragger as kg, NList as Cg, NListItem as Sg, NImage as $g, NH1 as Pg, NAutoComplete as Ml } from "naive-ui";
|
|
11
11
|
import { useBaseConfigStateStore as ui, OrderItemBase as ft, ClientProduct as Xi, Identity as Tg, ConfiguratorsEnum as Gt, ClientCategory as Rg, Reference as Fg, useReferencesStore as Nt, PriceCoefficientEnum as Bg, CalculationTypeEnum as Hr, PriceCoefficient as Ag, UnitsHelper as si, DateTimeProvider as Mg, HttpRequester as Yi, ProductCategoryDataProvider as Ig, ProductDataProvider as Eg, UserTypeEnum as Wr, OrdersDataProvider as vo, Order as Og, DataTablePagination as zg, Curator as vc, CuratedDirection as Lg, ManagerDataFactory as yc, Manager as ya, DataSuggestionProvider as Il, FieldValidationResultData as Dg, ReferenceDataProvider as Ng, ClientDataProvider as Hg } from "@snabcentr/common-lib";
|
|
12
12
|
import { format as Cs, endOfDay as Wg, startOfDay as Vg, isTomorrow as jg } from "date-fns";
|
|
@@ -165,7 +165,7 @@ class Pi {
|
|
|
165
165
|
);
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
const
|
|
168
|
+
const O4 = {
|
|
169
169
|
required: {
|
|
170
170
|
required: !0,
|
|
171
171
|
type: "any",
|
|
@@ -211,7 +211,7 @@ const E4 = {
|
|
|
211
211
|
validator: (e, i) => i === null || Math.abs(i / t - Math.round(i / t)) < 1e-10 ? !0 : new Error(`Значение должно быть кратно ${t}`)
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
-
},
|
|
214
|
+
}, z4 = {
|
|
215
215
|
required: {
|
|
216
216
|
required: !0,
|
|
217
217
|
type: "date",
|
|
@@ -474,7 +474,7 @@ const _m = He({ name: "ion-chevron-forward-outline", render: bm }), wm = ["data-
|
|
|
474
474
|
onClick: d
|
|
475
475
|
}, [
|
|
476
476
|
Re(m.$slots, "arrow", {}, () => [
|
|
477
|
-
|
|
477
|
+
H(v)
|
|
478
478
|
], !0)
|
|
479
479
|
], 2)
|
|
480
480
|
]),
|
|
@@ -482,7 +482,7 @@ const _m = He({ name: "ion-chevron-forward-outline", render: bm }), wm = ["data-
|
|
|
482
482
|
k("div", Sm, [
|
|
483
483
|
Re(m.$slots, "pre-arrow", {}, void 0, !0)
|
|
484
484
|
])
|
|
485
|
-
])) :
|
|
485
|
+
])) : N("", !0),
|
|
486
486
|
k("div", $m, [
|
|
487
487
|
k("div", {
|
|
488
488
|
class: "sc-collapse-item-title flex flex-1 cursor-pointer flex-col text-lg font-semibold",
|
|
@@ -494,17 +494,17 @@ const _m = He({ name: "ion-chevron-forward-outline", render: bm }), wm = ["data-
|
|
|
494
494
|
]),
|
|
495
495
|
A(Gs).hasSlotContent(m.$slots["sub-header"]) ? (_(), M("div", Pm, [
|
|
496
496
|
Re(m.$slots, "sub-header", {}, void 0, !0)
|
|
497
|
-
])) :
|
|
497
|
+
])) : N("", !0)
|
|
498
498
|
]),
|
|
499
499
|
A(Gs).hasSlotContent(m.$slots["header-extra"]) ? (_(), M("div", Tm, [
|
|
500
500
|
Re(m.$slots, "header-extra", {}, void 0, !0)
|
|
501
|
-
])) :
|
|
501
|
+
])) : N("", !0)
|
|
502
502
|
]),
|
|
503
|
-
|
|
503
|
+
H(ks, { name: "fade" }, {
|
|
504
504
|
default: z(() => [
|
|
505
505
|
c.value || u.value ? (_(), M("div", Rm, [
|
|
506
506
|
Re(m.$slots, "default", {}, void 0, !0)
|
|
507
|
-
])) :
|
|
507
|
+
])) : N("", !0)
|
|
508
508
|
]),
|
|
509
509
|
_: 3
|
|
510
510
|
})
|
|
@@ -561,7 +561,7 @@ function Im(t, e) {
|
|
|
561
561
|
}, null, -1)
|
|
562
562
|
])]);
|
|
563
563
|
}
|
|
564
|
-
const jd = He({ name: "ion-cart-outline", render: Im }), No = Symbol(),
|
|
564
|
+
const jd = He({ name: "ion-cart-outline", render: Im }), No = Symbol(), L4 = {
|
|
565
565
|
Button: {
|
|
566
566
|
border: "1px solid grey"
|
|
567
567
|
},
|
|
@@ -674,7 +674,7 @@ const jd = He({ name: "ion-cart-outline", render: Im }), No = Symbol(), z4 = {
|
|
|
674
674
|
trigger: "hover"
|
|
675
675
|
}, {
|
|
676
676
|
trigger: z(() => [
|
|
677
|
-
|
|
677
|
+
H(m, {
|
|
678
678
|
ghost: !0,
|
|
679
679
|
size: A(i),
|
|
680
680
|
disabled: r.value === "disabled",
|
|
@@ -691,14 +691,14 @@ const jd = He({ name: "ion-cart-outline", render: Im }), No = Symbol(), z4 = {
|
|
|
691
691
|
h[0] || (h[0] = ee(" Товар, который нужно предлагать клиенту ", -1))
|
|
692
692
|
]),
|
|
693
693
|
_: 1
|
|
694
|
-
})) :
|
|
694
|
+
})) : N("", !0),
|
|
695
695
|
s.value ? (_(), te(p, {
|
|
696
696
|
key: 1,
|
|
697
697
|
placement: "bottom",
|
|
698
698
|
trigger: "hover"
|
|
699
699
|
}, {
|
|
700
700
|
trigger: z(() => [
|
|
701
|
-
|
|
701
|
+
H(m, {
|
|
702
702
|
ghost: !0,
|
|
703
703
|
size: A(i),
|
|
704
704
|
type: "primary",
|
|
@@ -706,7 +706,7 @@ const jd = He({ name: "ion-cart-outline", render: Im }), No = Symbol(), z4 = {
|
|
|
706
706
|
onClick: l
|
|
707
707
|
}, {
|
|
708
708
|
default: z(() => [
|
|
709
|
-
|
|
709
|
+
H(v)
|
|
710
710
|
]),
|
|
711
711
|
_: 1
|
|
712
712
|
}, 8, ["size", "disabled"])
|
|
@@ -715,14 +715,14 @@ const jd = He({ name: "ion-cart-outline", render: Im }), No = Symbol(), z4 = {
|
|
|
715
715
|
h[1] || (h[1] = ee(" Редактировать ", -1))
|
|
716
716
|
]),
|
|
717
717
|
_: 1
|
|
718
|
-
})) :
|
|
718
|
+
})) : N("", !0),
|
|
719
719
|
n.value ? (_(), te(p, {
|
|
720
720
|
key: 2,
|
|
721
721
|
placement: "bottom",
|
|
722
722
|
trigger: "hover"
|
|
723
723
|
}, {
|
|
724
724
|
trigger: z(() => [
|
|
725
|
-
|
|
725
|
+
H(m, {
|
|
726
726
|
ghost: !0,
|
|
727
727
|
size: A(i),
|
|
728
728
|
disabled: n.value === "disabled",
|
|
@@ -730,7 +730,7 @@ const jd = He({ name: "ion-cart-outline", render: Im }), No = Symbol(), z4 = {
|
|
|
730
730
|
onClick: a
|
|
731
731
|
}, {
|
|
732
732
|
default: z(() => [
|
|
733
|
-
|
|
733
|
+
H(y)
|
|
734
734
|
]),
|
|
735
735
|
_: 1
|
|
736
736
|
}, 8, ["size", "disabled"])
|
|
@@ -739,7 +739,7 @@ const jd = He({ name: "ion-cart-outline", render: Im }), No = Symbol(), z4 = {
|
|
|
739
739
|
h[2] || (h[2] = ee(" Добавить в корзину ", -1))
|
|
740
740
|
]),
|
|
741
741
|
_: 1
|
|
742
|
-
})) :
|
|
742
|
+
})) : N("", !0),
|
|
743
743
|
((F = o.value) == null ? void 0 : F.length) > 0 ? (_(), te(x, {
|
|
744
744
|
key: 3,
|
|
745
745
|
options: o.value,
|
|
@@ -748,19 +748,19 @@ const jd = He({ name: "ion-cart-outline", render: Im }), No = Symbol(), z4 = {
|
|
|
748
748
|
onSelect: u
|
|
749
749
|
}, {
|
|
750
750
|
default: z(() => [
|
|
751
|
-
|
|
751
|
+
H(m, {
|
|
752
752
|
ghost: !0,
|
|
753
753
|
size: A(i),
|
|
754
754
|
type: "primary"
|
|
755
755
|
}, {
|
|
756
756
|
default: z(() => [
|
|
757
|
-
|
|
757
|
+
H($)
|
|
758
758
|
]),
|
|
759
759
|
_: 1
|
|
760
760
|
}, 8, ["size"])
|
|
761
761
|
]),
|
|
762
762
|
_: 1
|
|
763
|
-
}, 8, ["options", "size"])) :
|
|
763
|
+
}, 8, ["options", "size"])) : N("", !0)
|
|
764
764
|
]);
|
|
765
765
|
};
|
|
766
766
|
}
|
|
@@ -849,7 +849,7 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
|
|
|
849
849
|
return _(), M("div", Vm, [
|
|
850
850
|
t.showTag ? (_(), te(x, { key: 0 }, {
|
|
851
851
|
trigger: z(() => [
|
|
852
|
-
|
|
852
|
+
H($, {
|
|
853
853
|
round: "",
|
|
854
854
|
bordered: !1,
|
|
855
855
|
size: "small",
|
|
@@ -871,17 +871,17 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
|
|
|
871
871
|
];
|
|
872
872
|
}),
|
|
873
873
|
_: 1
|
|
874
|
-
})) :
|
|
874
|
+
})) : N("", !0),
|
|
875
875
|
k("div", {
|
|
876
876
|
class: We({ "!text-red-600": r.value })
|
|
877
877
|
}, [
|
|
878
878
|
l.value && l.value !== a.value || m.value ? (_(), M("div", jm, [
|
|
879
|
-
l.value && l.value !== a.value ? (_(), M("span", qm, q(f.value) + " " + q(t.showQuantityUnit ? ` ${n.value.currency.symbol}/${n.value.unit.name}` : ""), 1)) :
|
|
879
|
+
l.value && l.value !== a.value ? (_(), M("span", qm, q(f.value) + " " + q(t.showQuantityUnit ? ` ${n.value.currency.symbol}/${n.value.unit.name}` : ""), 1)) : N("", !0),
|
|
880
880
|
m.value ? (_(), M("span", {
|
|
881
881
|
key: 1,
|
|
882
882
|
class: We(["flex text-nowrap text-sm text-gray-600", { "!text-red-600": r.value }])
|
|
883
|
-
}, " (" + q(m.value) + "%) ", 3)) :
|
|
884
|
-
])) :
|
|
883
|
+
}, " (" + q(m.value) + "%) ", 3)) : N("", !0)
|
|
884
|
+
])) : N("", !0),
|
|
885
885
|
k("span", {
|
|
886
886
|
class: We(["whitespace-nowrap text-base flex items-center gap-1", { "text-gray-600": (w = s.value) == null ? void 0 : w.readOnly, "font-bold": !s.value && !i.value }])
|
|
887
887
|
}, [
|
|
@@ -895,15 +895,15 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
|
|
|
895
895
|
ee(" " + q(t.showQuantityUnit ? ` ${n.value.currency.symbol}/${n.value.unit.name}` : "") + " ", 1),
|
|
896
896
|
a.value && !s.value && "discount" in t.product && t.product.discount ? (_(), te(x, { key: 0 }, {
|
|
897
897
|
trigger: z(() => [
|
|
898
|
-
|
|
898
|
+
H(F, { class: "text-sm text-black bg-amber-400 rounded p-px" })
|
|
899
899
|
]),
|
|
900
900
|
default: z(() => [
|
|
901
901
|
k("span", null, ' На продукт действует скидка "' + q(t.product.discount.name) + '"; ', 1)
|
|
902
902
|
]),
|
|
903
903
|
_: 1
|
|
904
|
-
})) :
|
|
904
|
+
})) : N("", !0)
|
|
905
905
|
], 2),
|
|
906
|
-
g.value ? (_(), M("span", Um, " ~ " + q(g.value) + " " + q(t.showQuantityUnit ? `₽/${n.value.unit.name}` : ""), 1)) :
|
|
906
|
+
g.value ? (_(), M("span", Um, " ~ " + q(g.value) + " " + q(t.showQuantityUnit ? `₽/${n.value.unit.name}` : ""), 1)) : N("", !0),
|
|
907
907
|
t.showCostDate && !A(ut)(c.value) ? (_(), M("span", Xm, [
|
|
908
908
|
ee(q(c.value) + " ", 1),
|
|
909
909
|
t.showPriceHistory && t.eventEmitter ? (_(), te(x, {
|
|
@@ -911,7 +911,7 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
|
|
|
911
911
|
placement: "top-end"
|
|
912
912
|
}, {
|
|
913
913
|
trigger: z(() => [
|
|
914
|
-
|
|
914
|
+
H(B, {
|
|
915
915
|
class: "cursor-pointer",
|
|
916
916
|
onClick: y[1] || (y[1] = (S) => {
|
|
917
917
|
var b;
|
|
@@ -923,8 +923,8 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
|
|
|
923
923
|
y[2] || (y[2] = ee(" История цен ", -1))
|
|
924
924
|
]),
|
|
925
925
|
_: 1
|
|
926
|
-
})) :
|
|
927
|
-
])) :
|
|
926
|
+
})) : N("", !0)
|
|
927
|
+
])) : N("", !0)
|
|
928
928
|
], 2)
|
|
929
929
|
]);
|
|
930
930
|
};
|
|
@@ -1798,12 +1798,12 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
1798
1798
|
onClick: u[0] || (u[0] = (g) => i.value = !i.value)
|
|
1799
1799
|
}, [
|
|
1800
1800
|
Re(c.$slots, "default", {}, () => [
|
|
1801
|
-
|
|
1801
|
+
H(d)
|
|
1802
1802
|
])
|
|
1803
1803
|
])
|
|
1804
1804
|
]),
|
|
1805
1805
|
default: z(() => [
|
|
1806
|
-
|
|
1806
|
+
H(dp, {
|
|
1807
1807
|
settings: s.value,
|
|
1808
1808
|
style: sr(`max-width: ${o.value}px`),
|
|
1809
1809
|
class: "flex flex-row overflow-x-scroll",
|
|
@@ -1848,7 +1848,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
1848
1848
|
}, {
|
|
1849
1849
|
trigger: z(() => [
|
|
1850
1850
|
Re(e.$slots, "default", {}, () => [
|
|
1851
|
-
|
|
1851
|
+
H(n)
|
|
1852
1852
|
])
|
|
1853
1853
|
]),
|
|
1854
1854
|
default: z(() => [
|
|
@@ -1859,7 +1859,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
1859
1859
|
ee(q(r.count ?? "В наличии") + " ", 1),
|
|
1860
1860
|
r.count ? (_(), M(be, { key: 0 }, [
|
|
1861
1861
|
ee(q(t.product.unit.name), 1)
|
|
1862
|
-
], 64)) :
|
|
1862
|
+
], 64)) : N("", !0)
|
|
1863
1863
|
])
|
|
1864
1864
|
], 64))), 128))
|
|
1865
1865
|
])
|
|
@@ -1945,7 +1945,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
1945
1945
|
const g = sp, f = Mr, m = jd, p = tp, v = Ud, y = Xn, $ = qd, x = zl, F = Od;
|
|
1946
1946
|
return _(), M("div", null, [
|
|
1947
1947
|
k("div", wp, [
|
|
1948
|
-
|
|
1948
|
+
H(y, {
|
|
1949
1949
|
type: "info",
|
|
1950
1950
|
class: "sc-product-name text-balance text-base font-medium"
|
|
1951
1951
|
}, {
|
|
@@ -1959,45 +1959,45 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
1959
1959
|
trigger: "hover"
|
|
1960
1960
|
}, {
|
|
1961
1961
|
trigger: z(() => [
|
|
1962
|
-
|
|
1962
|
+
H(g, { class: "!text-yellow-300" })
|
|
1963
1963
|
]),
|
|
1964
1964
|
default: z(() => [
|
|
1965
1965
|
h[0] || (h[0] = ee(" Избранный товар ", -1))
|
|
1966
1966
|
]),
|
|
1967
1967
|
_: 1
|
|
1968
|
-
})) :
|
|
1968
|
+
})) : N("", !0),
|
|
1969
1969
|
((D = t.product) == null ? void 0 : D.isPreviouslyOrdered) ?? !1 ? (_(), te(f, {
|
|
1970
1970
|
key: 1,
|
|
1971
1971
|
placement: "bottom",
|
|
1972
1972
|
trigger: "hover"
|
|
1973
1973
|
}, {
|
|
1974
1974
|
trigger: z(() => [
|
|
1975
|
-
|
|
1975
|
+
H(m, { class: "!text-green-700" })
|
|
1976
1976
|
]),
|
|
1977
1977
|
default: z(() => [
|
|
1978
1978
|
h[1] || (h[1] = ee(" Ранее заказанный товар ", -1))
|
|
1979
1979
|
]),
|
|
1980
1980
|
_: 1
|
|
1981
|
-
})) :
|
|
1981
|
+
})) : N("", !0),
|
|
1982
1982
|
t.showAdditionalSaleIcon ? (_(), te(f, {
|
|
1983
1983
|
key: 2,
|
|
1984
1984
|
placement: "bottom",
|
|
1985
1985
|
trigger: "hover"
|
|
1986
1986
|
}, {
|
|
1987
1987
|
trigger: z(() => [
|
|
1988
|
-
|
|
1988
|
+
H(p, { class: "!text-green-500" })
|
|
1989
1989
|
]),
|
|
1990
1990
|
default: z(() => [
|
|
1991
1991
|
h[2] || (h[2] = ee(" Дополнительная продажа ", -1))
|
|
1992
1992
|
]),
|
|
1993
1993
|
_: 1
|
|
1994
|
-
})) :
|
|
1995
|
-
])) :
|
|
1994
|
+
})) : N("", !0)
|
|
1995
|
+
])) : N("", !0),
|
|
1996
1996
|
k("span", {
|
|
1997
1997
|
class: We({ "cursor-pointer": l.value && t.eventEmitter }),
|
|
1998
1998
|
onClick: u
|
|
1999
1999
|
}, q(t.product.name), 3),
|
|
2000
|
-
t.product.onOrder ? (_(), M("span", kp, " [Под заказ] ")) :
|
|
2000
|
+
t.product.onOrder ? (_(), M("span", kp, " [Под заказ] ")) : N("", !0),
|
|
2001
2001
|
k("span", Cp, [
|
|
2002
2002
|
t.product.images && t.product.images.length > 0 ? (_(), te(mp, {
|
|
2003
2003
|
key: 0,
|
|
@@ -2006,11 +2006,11 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
2006
2006
|
}, {
|
|
2007
2007
|
default: z(() => [
|
|
2008
2008
|
k("div", Sp, [
|
|
2009
|
-
|
|
2009
|
+
H(v)
|
|
2010
2010
|
])
|
|
2011
2011
|
]),
|
|
2012
2012
|
_: 1
|
|
2013
|
-
}, 8, ["images"])) :
|
|
2013
|
+
}, 8, ["images"])) : N("", !0)
|
|
2014
2014
|
])
|
|
2015
2015
|
];
|
|
2016
2016
|
}),
|
|
@@ -2024,18 +2024,18 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
2024
2024
|
"show-product-edit-button": t.showProductEditButton,
|
|
2025
2025
|
"show-product-required-button": t.showProductRequiredButton,
|
|
2026
2026
|
"product-context-buttons-config": t.productContextButtonsConfig
|
|
2027
|
-
}, null, 8, ["product", "event-emitter", "show-product-add-to-cart-button", "show-product-edit-button", "show-product-required-button", "product-context-buttons-config"])) :
|
|
2027
|
+
}, null, 8, ["product", "event-emitter", "show-product-add-to-cart-button", "show-product-edit-button", "show-product-required-button", "product-context-buttons-config"])) : N("", !0)
|
|
2028
2028
|
]),
|
|
2029
2029
|
k("div", $p, [
|
|
2030
2030
|
k("div", Pp, [
|
|
2031
2031
|
t.product.supplierSku ? (_(), M("div", Tp, [
|
|
2032
2032
|
h[3] || (h[3] = ee(" Артикул производителя/поставщика: ", -1)),
|
|
2033
2033
|
k("span", Rp, q(t.product.supplierSku), 1)
|
|
2034
|
-
])) :
|
|
2034
|
+
])) : N("", !0),
|
|
2035
2035
|
t.showCode ? (_(), M("span", Fp, [
|
|
2036
2036
|
h[4] || (h[4] = ee(" Артикул: ", -1)),
|
|
2037
2037
|
k("span", Bp, q(t.product.code), 1)
|
|
2038
|
-
])) :
|
|
2038
|
+
])) : N("", !0),
|
|
2039
2039
|
t.product.stockCount && t.product.stockCount.length > 0 ? (_(), te(_p, {
|
|
2040
2040
|
key: 2,
|
|
2041
2041
|
product: t.product
|
|
@@ -2043,7 +2043,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
2043
2043
|
default: z(() => [
|
|
2044
2044
|
k("span", Ap, [
|
|
2045
2045
|
h[5] || (h[5] = k("span", { class: "underline decoration-dashed" }, "В наличии", -1)),
|
|
2046
|
-
|
|
2046
|
+
H(x, { class: "mt-0.5" })
|
|
2047
2047
|
])
|
|
2048
2048
|
]),
|
|
2049
2049
|
_: 1
|
|
@@ -2051,14 +2051,14 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
2051
2051
|
t.product.pack ?? ((w = (B = t.product) == null ? void 0 : B.properties) == null ? void 0 : w.pack) ? (_(), M("span", Ip, [
|
|
2052
2052
|
h[6] || (h[6] = ee(" Норма упаковки: ", -1)),
|
|
2053
2053
|
k("span", Ep, q(t.product.pack ?? ((b = (S = t.product) == null ? void 0 : S.properties) == null ? void 0 : b.pack)), 1)
|
|
2054
|
-
])) :
|
|
2054
|
+
])) : N("", !0),
|
|
2055
2055
|
t.showPlanningDates && r.value ? (_(), M("span", Op, [
|
|
2056
2056
|
h[7] || (h[7] = ee(" Планируемая дата поступления на основной склад: ", -1)),
|
|
2057
2057
|
k("span", zp, q(r.value), 1)
|
|
2058
|
-
])) :
|
|
2058
|
+
])) : N("", !0)
|
|
2059
2059
|
])
|
|
2060
2060
|
]),
|
|
2061
|
-
|
|
2061
|
+
H(F, { "x-scrollable": "" }, {
|
|
2062
2062
|
default: z(() => [
|
|
2063
2063
|
n.value ? (_(), M("div", Lp, [
|
|
2064
2064
|
(_(!0), M(be, null, Pt(s.value, (T) => (_(), te(Kn, {
|
|
@@ -2071,7 +2071,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
2071
2071
|
"show-price-history": t.showPriceHistory,
|
|
2072
2072
|
"currency-rates": t.currencyRates
|
|
2073
2073
|
}, null, 8, ["product", "cost-field-name", "event-emitter", "allow-price-click", "show-price-history", "currency-rates"]))), 128)),
|
|
2074
|
-
|
|
2074
|
+
H(Kn, {
|
|
2075
2075
|
product: t.product,
|
|
2076
2076
|
"event-emitter": t.eventEmitter,
|
|
2077
2077
|
"allow-price-click": t.allowPriceClick,
|
|
@@ -2085,16 +2085,16 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
|
|
|
2085
2085
|
style: { "background-color": "var(--n-merged-td-color)" },
|
|
2086
2086
|
class: "sticky right-0 border-0 border-l-2 border-solid border-gray-300 pl-2"
|
|
2087
2087
|
}, null, 8, ["product", "event-emitter", "allow-price-click", "show-cost-date", "show-price-history", "currency-rates"])
|
|
2088
|
-
])) :
|
|
2088
|
+
])) : N("", !0)
|
|
2089
2089
|
]),
|
|
2090
2090
|
_: 1
|
|
2091
2091
|
}),
|
|
2092
2092
|
t.showSlugs || t.showProperties ? (_(), M("div", Dp, [
|
|
2093
2093
|
k("ul", Np, [
|
|
2094
|
-
t.showSlugs ? (_(!0), M(be, { key: 0 }, Pt({ id: t.product.id, slug: t.product.slug }, (T, R) => (_(), M("li", { key: R }, " (" + q(R) + "): " + q(T), 1))), 128)) :
|
|
2095
|
-
t.showProperties ? (_(!0), M(be, { key: 1 }, Pt(t.product.properties, (T, R) => (_(), M("li", { key: R }, " (" + q(R) + "): " + q(T), 1))), 128)) :
|
|
2094
|
+
t.showSlugs ? (_(!0), M(be, { key: 0 }, Pt({ id: t.product.id, slug: t.product.slug }, (T, R) => (_(), M("li", { key: R }, " (" + q(R) + "): " + q(T), 1))), 128)) : N("", !0),
|
|
2095
|
+
t.showProperties ? (_(!0), M(be, { key: 1 }, Pt(t.product.properties, (T, R) => (_(), M("li", { key: R }, " (" + q(R) + "): " + q(T), 1))), 128)) : N("", !0)
|
|
2096
2096
|
])
|
|
2097
|
-
])) :
|
|
2097
|
+
])) : N("", !0)
|
|
2098
2098
|
]);
|
|
2099
2099
|
};
|
|
2100
2100
|
}
|
|
@@ -2263,16 +2263,16 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2263
2263
|
return (n, s) => {
|
|
2264
2264
|
const r = Jn, o = Xn;
|
|
2265
2265
|
return t.isProductSearching ? (_(), M("div", Yp, [
|
|
2266
|
-
|
|
2266
|
+
H(r, {
|
|
2267
2267
|
size: 17,
|
|
2268
2268
|
class: "w-fit"
|
|
2269
2269
|
}),
|
|
2270
2270
|
s[0] || (s[0] = k("div", null, "Выполняется поиск товара ...", -1))
|
|
2271
2271
|
])) : t.product && !t.product.isNewRec() ? (_(), M("div", Kp, [
|
|
2272
2272
|
k("div", null, q(t.product.code) + " - " + q(t.product.name) + " - " + q(t.product.costRub.toLocaleString()) + " ₽ / " + q(t.product.unit.name), 1),
|
|
2273
|
-
i.value ? (_(), M("div", Gp, "(Планируемая дата производства: " + q(i.value) + ")", 1)) :
|
|
2273
|
+
i.value ? (_(), M("div", Gp, "(Планируемая дата производства: " + q(i.value) + ")", 1)) : N("", !0)
|
|
2274
2274
|
])) : t.validation ? (_(), M("div", Zp, [
|
|
2275
|
-
|
|
2275
|
+
H(o, {
|
|
2276
2276
|
type: t.validation.validationStatus
|
|
2277
2277
|
}, {
|
|
2278
2278
|
default: z(() => [
|
|
@@ -2280,7 +2280,7 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2280
2280
|
]),
|
|
2281
2281
|
_: 1
|
|
2282
2282
|
}, 8, ["type"])
|
|
2283
|
-
])) :
|
|
2283
|
+
])) : N("", !0);
|
|
2284
2284
|
};
|
|
2285
2285
|
}
|
|
2286
2286
|
}), Jp = { class: "flex flex-col gap-4" }, ev = { class: "flex flex-col gap-2" }, tv = { class: "mt-8 font-bold" }, iv = { class: "grid grow grid-cols-2 items-start gap-2" }, nv = {
|
|
@@ -2404,7 +2404,7 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2404
2404
|
label: "Тип стартового капельника"
|
|
2405
2405
|
}, {
|
|
2406
2406
|
default: z(() => [
|
|
2407
|
-
|
|
2407
|
+
H(A(Ui), {
|
|
2408
2408
|
value: a.value.configuratorParams.startTailType,
|
|
2409
2409
|
"onUpdate:value": [
|
|
2410
2410
|
y[0] || (y[0] = (w) => a.value.configuratorParams.startTailType = w),
|
|
@@ -2415,7 +2415,7 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2415
2415
|
}, null, 8, ["value", "options"])
|
|
2416
2416
|
]),
|
|
2417
2417
|
_: 1
|
|
2418
|
-
})) :
|
|
2418
|
+
})) : N("", !0),
|
|
2419
2419
|
k("div", ev, [
|
|
2420
2420
|
(_(!0), M(be, null, Pt(a.value.configuratorParams.linesAngles, (w, S) => (_(), M("div", {
|
|
2421
2421
|
key: S,
|
|
@@ -2423,12 +2423,12 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2423
2423
|
}, [
|
|
2424
2424
|
k("div", tv, q(S + 1), 1),
|
|
2425
2425
|
k("div", iv, [
|
|
2426
|
-
|
|
2426
|
+
H(A(je), {
|
|
2427
2427
|
path: `configuratorParams.linesWidths.${S}`,
|
|
2428
2428
|
label: "Ширина, мм"
|
|
2429
2429
|
}, {
|
|
2430
2430
|
default: z(() => [
|
|
2431
|
-
|
|
2431
|
+
H(A(yt), {
|
|
2432
2432
|
value: a.value.configuratorParams.linesWidths[S],
|
|
2433
2433
|
"onUpdate:value": [
|
|
2434
2434
|
(b) => a.value.configuratorParams.linesWidths[S] = b,
|
|
@@ -2444,12 +2444,12 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2444
2444
|
]),
|
|
2445
2445
|
_: 2
|
|
2446
2446
|
}, 1032, ["path"]),
|
|
2447
|
-
|
|
2447
|
+
H(A(je), {
|
|
2448
2448
|
path: `configuratorParams.linesAngles.${S}`,
|
|
2449
2449
|
label: "Угол сгиба, °"
|
|
2450
2450
|
}, {
|
|
2451
2451
|
default: z(() => [
|
|
2452
|
-
|
|
2452
|
+
H(A(yt), {
|
|
2453
2453
|
value: a.value.configuratorParams.linesAngles[S],
|
|
2454
2454
|
"onUpdate:value": [
|
|
2455
2455
|
(b) => a.value.configuratorParams.linesAngles[S] = b,
|
|
@@ -2466,24 +2466,24 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2466
2466
|
_: 2
|
|
2467
2467
|
}, 1032, ["path"])
|
|
2468
2468
|
]),
|
|
2469
|
-
|
|
2469
|
+
H(A(je), {
|
|
2470
2470
|
label: void 0,
|
|
2471
2471
|
"show-feedback": !1,
|
|
2472
2472
|
required: !0,
|
|
2473
2473
|
class: "shrink-0"
|
|
2474
2474
|
}, {
|
|
2475
2475
|
default: z(() => [
|
|
2476
|
-
t.settings.showOnlyTemplates ?
|
|
2476
|
+
t.settings.showOnlyTemplates ? N("", !0) : (_(), te(A(Ne), {
|
|
2477
2477
|
key: 0,
|
|
2478
2478
|
size: "medium",
|
|
2479
2479
|
onClick: (b) => s("click:add-line", S)
|
|
2480
2480
|
}, {
|
|
2481
2481
|
default: z(() => [
|
|
2482
|
-
|
|
2482
|
+
H($)
|
|
2483
2483
|
]),
|
|
2484
2484
|
_: 1
|
|
2485
2485
|
}, 8, ["onClick"])),
|
|
2486
|
-
t.settings.showOnlyTemplates ?
|
|
2486
|
+
t.settings.showOnlyTemplates ? N("", !0) : (_(), te(A(Ne), {
|
|
2487
2487
|
key: 1,
|
|
2488
2488
|
disabled: a.value.configuratorParams.linesWidths.length === 1,
|
|
2489
2489
|
size: "medium",
|
|
@@ -2491,7 +2491,7 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2491
2491
|
onClick: (b) => s("click:remove-line", S)
|
|
2492
2492
|
}, {
|
|
2493
2493
|
default: z(() => [
|
|
2494
|
-
|
|
2494
|
+
H(x)
|
|
2495
2495
|
]),
|
|
2496
2496
|
_: 1
|
|
2497
2497
|
}, 8, ["disabled", "onClick"]))
|
|
@@ -2507,7 +2507,7 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2507
2507
|
required: !0
|
|
2508
2508
|
}, {
|
|
2509
2509
|
default: z(() => [
|
|
2510
|
-
|
|
2510
|
+
H(A(Ui), {
|
|
2511
2511
|
value: a.value.configuratorParams.endTailType,
|
|
2512
2512
|
"onUpdate:value": [
|
|
2513
2513
|
y[5] || (y[5] = (w) => a.value.configuratorParams.endTailType = w),
|
|
@@ -2518,14 +2518,14 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2518
2518
|
}, null, 8, ["value", "options"])
|
|
2519
2519
|
]),
|
|
2520
2520
|
_: 1
|
|
2521
|
-
})) :
|
|
2522
|
-
|
|
2521
|
+
})) : N("", !0),
|
|
2522
|
+
H(Wo, {
|
|
2523
2523
|
"is-product-searching": t.isProductSearching,
|
|
2524
2524
|
product: a.value.product,
|
|
2525
2525
|
validation: t.validation.product
|
|
2526
2526
|
}, null, 8, ["is-product-searching", "product", "validation"]),
|
|
2527
|
-
h.value ?
|
|
2528
|
-
g.value ?
|
|
2527
|
+
h.value ? N("", !0) : (_(), M("div", nv, " Суммарная ширина участков гиба должна быть от " + q(t.settings.stripMinWidth) + " до " + q(t.settings.stripMaxWidth) + " мм., текущая ширина: " + q(d.value) + " мм. ", 1)),
|
|
2528
|
+
g.value ? N("", !0) : (_(), M("div", sv, " Пожалуйста, заполните все обязательные поля корректно. ")),
|
|
2529
2529
|
t.settings.allowSaveTemplates && t.selectTemplateIndex === ((B = t.settings.allTemplates) == null ? void 0 : B.length) - 1 ? (_(), te(A(Ne), {
|
|
2530
2530
|
key: 4,
|
|
2531
2531
|
type: "tertiary",
|
|
@@ -2537,15 +2537,15 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2537
2537
|
ee(" Сохранить шаблон ", -1)
|
|
2538
2538
|
])]),
|
|
2539
2539
|
_: 1
|
|
2540
|
-
}, 8, ["loading"])) :
|
|
2540
|
+
}, 8, ["loading"])) : N("", !0)
|
|
2541
2541
|
]),
|
|
2542
2542
|
k("div", rv, [
|
|
2543
|
-
|
|
2543
|
+
H(A(je), {
|
|
2544
2544
|
label: "С какой стороны изделие будет иметь цвет",
|
|
2545
2545
|
"show-feedback": !1
|
|
2546
2546
|
}, {
|
|
2547
2547
|
default: z(() => [
|
|
2548
|
-
|
|
2548
|
+
H(A(Ui), {
|
|
2549
2549
|
value: a.value.configuratorParams.colorSide,
|
|
2550
2550
|
"onUpdate:value": [
|
|
2551
2551
|
y[7] || (y[7] = (w) => a.value.configuratorParams.colorSide = w),
|
|
@@ -2560,12 +2560,12 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2560
2560
|
]),
|
|
2561
2561
|
_: 1
|
|
2562
2562
|
}),
|
|
2563
|
-
|
|
2563
|
+
H(A(je), {
|
|
2564
2564
|
path: "configuratorParams.length",
|
|
2565
2565
|
label: `Метраж${t.settings.stripMinLength ? " от " + t.settings.stripMinLength : ""}${t.settings.stripMaxLength ? " до " + t.settings.stripMaxLength : ""} мм`
|
|
2566
2566
|
}, {
|
|
2567
2567
|
default: z(() => [
|
|
2568
|
-
|
|
2568
|
+
H(A(yt), {
|
|
2569
2569
|
value: a.value.configuratorParams.length,
|
|
2570
2570
|
"onUpdate:value": [
|
|
2571
2571
|
y[8] || (y[8] = (w) => a.value.configuratorParams.length = w),
|
|
@@ -2582,12 +2582,12 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2582
2582
|
]),
|
|
2583
2583
|
_: 1
|
|
2584
2584
|
}, 8, ["label"]),
|
|
2585
|
-
|
|
2585
|
+
H(A(je), {
|
|
2586
2586
|
path: "quantity",
|
|
2587
2587
|
label: "Количество"
|
|
2588
2588
|
}, {
|
|
2589
2589
|
default: z(() => [
|
|
2590
|
-
|
|
2590
|
+
H(A(yt), {
|
|
2591
2591
|
value: a.value.quantity,
|
|
2592
2592
|
"onUpdate:value": [
|
|
2593
2593
|
y[12] || (y[12] = (w) => a.value.quantity = w),
|
|
@@ -2603,12 +2603,12 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2603
2603
|
]),
|
|
2604
2604
|
_: 1
|
|
2605
2605
|
}),
|
|
2606
|
-
|
|
2606
|
+
H(A(je), {
|
|
2607
2607
|
path: "marker",
|
|
2608
2608
|
label: "Маркировка"
|
|
2609
2609
|
}, {
|
|
2610
2610
|
default: z(() => [
|
|
2611
|
-
|
|
2611
|
+
H(A(fn), {
|
|
2612
2612
|
value: a.value.marker ?? null,
|
|
2613
2613
|
placeholder: "Введите маркировку",
|
|
2614
2614
|
onInput: y[16] || (y[16] = (w) => A($t)(t.validation, "marker")),
|
|
@@ -2633,13 +2633,13 @@ const Xd = He({ name: "ion-plus", render: Xp }), Yp = {
|
|
|
2633
2633
|
ee(" ДопПродажа ", -1)
|
|
2634
2634
|
])]),
|
|
2635
2635
|
_: 1
|
|
2636
|
-
}, 8, ["checked"])) :
|
|
2636
|
+
}, 8, ["checked"])) : N("", !0),
|
|
2637
2637
|
u.value ? (_(), M("div", ov, [
|
|
2638
2638
|
y[24] || (y[24] = ee(" ИТОГО: ", -1)),
|
|
2639
2639
|
k("span", av, q(u.value) + " ₽", 1)
|
|
2640
|
-
])) :
|
|
2640
|
+
])) : N("", !0),
|
|
2641
2641
|
k("div", lv, [
|
|
2642
|
-
|
|
2642
|
+
H(A(Ne), {
|
|
2643
2643
|
loading: t.isSubmitProcessing,
|
|
2644
2644
|
disabled: !g.value || a.value.product.isNewRec(),
|
|
2645
2645
|
type: "primary",
|
|
@@ -18710,7 +18710,7 @@ const Ko = He({ name: "ion-close", render: Z0 }), Q0 = { class: "mr-3 flex flex-
|
|
|
18710
18710
|
key: `${d.id}-${h}`,
|
|
18711
18711
|
class: "group relative"
|
|
18712
18712
|
}, [
|
|
18713
|
-
|
|
18713
|
+
H(A(In), {
|
|
18714
18714
|
trigger: "hover",
|
|
18715
18715
|
placement: "right"
|
|
18716
18716
|
}, {
|
|
@@ -18744,10 +18744,10 @@ const Ko = He({ name: "ion-close", render: Z0 }), Q0 = { class: "mr-3 flex flex-
|
|
|
18744
18744
|
onClick: (g) => a(h)
|
|
18745
18745
|
}, {
|
|
18746
18746
|
default: z(() => [
|
|
18747
|
-
|
|
18747
|
+
H(u)
|
|
18748
18748
|
]),
|
|
18749
18749
|
_: 1
|
|
18750
|
-
}, 8, ["loading", "disabled", "onClick"])) :
|
|
18750
|
+
}, 8, ["loading", "disabled", "onClick"])) : N("", !0)
|
|
18751
18751
|
]))), 128))
|
|
18752
18752
|
])
|
|
18753
18753
|
]),
|
|
@@ -18987,7 +18987,7 @@ const Ko = He({ name: "ion-close", render: Z0 }), Q0 = { class: "mr-3 flex flex-
|
|
|
18987
18987
|
}), Ri(() => {
|
|
18988
18988
|
l && (l.clear(), l = null);
|
|
18989
18989
|
}), (O, I) => (_(), M("div", sy, [
|
|
18990
|
-
|
|
18990
|
+
H(ny, {
|
|
18991
18991
|
"select-template-index": t.selectTemplateIndex,
|
|
18992
18992
|
settings: t.settings,
|
|
18993
18993
|
"onTemplate:select": I[0] || (I[0] = (G) => n("template:select", G)),
|
|
@@ -19325,9 +19325,9 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19325
19325
|
ee(" Показать в виде списка ", -1)
|
|
19326
19326
|
])]),
|
|
19327
19327
|
_: 1
|
|
19328
|
-
})) :
|
|
19328
|
+
})) : N("", !0),
|
|
19329
19329
|
k("div", dy, [
|
|
19330
|
-
|
|
19330
|
+
H(ly, {
|
|
19331
19331
|
value: a.value,
|
|
19332
19332
|
"select-template-index": d.value,
|
|
19333
19333
|
settings: l.value,
|
|
@@ -19337,7 +19337,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19337
19337
|
"onTemplate:select": g,
|
|
19338
19338
|
onRemoveCustomTemplate: m
|
|
19339
19339
|
}, null, 8, ["value", "select-template-index", "settings"]),
|
|
19340
|
-
|
|
19340
|
+
H(dv, {
|
|
19341
19341
|
ref: "kozyrek-configurator-params-form",
|
|
19342
19342
|
value: a.value,
|
|
19343
19343
|
"onUpdate:value": T[1] || (T[1] = (V) => a.value = V),
|
|
@@ -19390,7 +19390,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19390
19390
|
n.value ? (_(), M("div", {
|
|
19391
19391
|
key: 0,
|
|
19392
19392
|
class: We(["frame-crossbar", `frame-crossbar-${n.value}-${t.configuratorParams.color}`])
|
|
19393
|
-
}, null, 2)) :
|
|
19393
|
+
}, null, 2)) : N("", !0),
|
|
19394
19394
|
k("div", {
|
|
19395
19395
|
class: We(["mount", `mount-${t.configuratorParams.mountType}-${t.configuratorParams.color}`])
|
|
19396
19396
|
}, null, 2),
|
|
@@ -19398,7 +19398,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19398
19398
|
class: We(["cut-preview", `cut-preview-${t.configuratorParams.mountType}-${t.configuratorParams.color}`])
|
|
19399
19399
|
}, null, 2)
|
|
19400
19400
|
]),
|
|
19401
|
-
|
|
19401
|
+
H(a, {
|
|
19402
19402
|
type: "primary",
|
|
19403
19403
|
class: "block justify-self-center",
|
|
19404
19404
|
onClick: o[0] || (o[0] = (l) => s("open-instructions"))
|
|
@@ -19506,13 +19506,13 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19506
19506
|
onKeydown: b[25] || (b[25] = rr(un((R) => s("submit", u.value), ["prevent"]), ["enter"]))
|
|
19507
19507
|
}, {
|
|
19508
19508
|
default: z(() => [
|
|
19509
|
-
|
|
19509
|
+
H(A(je), {
|
|
19510
19510
|
required: !0,
|
|
19511
19511
|
"show-feedback": !1,
|
|
19512
19512
|
label: "Тип сетки"
|
|
19513
19513
|
}, {
|
|
19514
19514
|
default: z(() => [
|
|
19515
|
-
|
|
19515
|
+
H(A(Ui), {
|
|
19516
19516
|
value: u.value.configuratorParams.netType,
|
|
19517
19517
|
"onUpdate:value": [
|
|
19518
19518
|
b[0] || (b[0] = (R) => u.value.configuratorParams.netType = R),
|
|
@@ -19523,13 +19523,13 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19523
19523
|
]),
|
|
19524
19524
|
_: 1
|
|
19525
19525
|
}),
|
|
19526
|
-
|
|
19526
|
+
H(A(je), {
|
|
19527
19527
|
required: !0,
|
|
19528
19528
|
"show-feedback": !1,
|
|
19529
19529
|
label: "Цвет профиля"
|
|
19530
19530
|
}, {
|
|
19531
19531
|
default: z(() => [
|
|
19532
|
-
|
|
19532
|
+
H(A(Ui), {
|
|
19533
19533
|
value: u.value.configuratorParams.color,
|
|
19534
19534
|
"onUpdate:value": [
|
|
19535
19535
|
b[2] || (b[2] = (R) => u.value.configuratorParams.color = R),
|
|
@@ -19540,13 +19540,13 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19540
19540
|
]),
|
|
19541
19541
|
_: 1
|
|
19542
19542
|
}),
|
|
19543
|
-
|
|
19543
|
+
H(A(je), {
|
|
19544
19544
|
required: !0,
|
|
19545
19545
|
"show-feedback": !1,
|
|
19546
19546
|
label: "Вид крепления"
|
|
19547
19547
|
}, {
|
|
19548
19548
|
default: z(() => [
|
|
19549
|
-
|
|
19549
|
+
H(A(Ui), {
|
|
19550
19550
|
value: u.value.configuratorParams.mountType,
|
|
19551
19551
|
"onUpdate:value": [
|
|
19552
19552
|
b[4] || (b[4] = (R) => u.value.configuratorParams.mountType = R),
|
|
@@ -19557,20 +19557,20 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19557
19557
|
]),
|
|
19558
19558
|
_: 1
|
|
19559
19559
|
}),
|
|
19560
|
-
|
|
19560
|
+
H(A(je), {
|
|
19561
19561
|
ref: "width-form-item-reference",
|
|
19562
19562
|
path: "configuratorParams.width",
|
|
19563
19563
|
label: `Ширина светового проёма от ${t.settings.minWidth - d.value} ${g.value ? " до " + (g.value - d.value) : ""} мм.`
|
|
19564
19564
|
}, {
|
|
19565
19565
|
feedback: z(() => [
|
|
19566
19566
|
!t.validation.width.showFeedback && m.value >= t.settings.minWidth && m.value <= t.settings.maxWidths[u.value.configuratorParams.netType] ? (_(), M("div", yy, [
|
|
19567
|
-
|
|
19567
|
+
H(A(Xn), { type: "success" }, {
|
|
19568
19568
|
default: z(() => [
|
|
19569
19569
|
ee("Ширина готового изделия " + q(m.value), 1)
|
|
19570
19570
|
]),
|
|
19571
19571
|
_: 1
|
|
19572
19572
|
}),
|
|
19573
|
-
|
|
19573
|
+
H(A(Ne), {
|
|
19574
19574
|
quaternary: "",
|
|
19575
19575
|
type: "info",
|
|
19576
19576
|
size: "tiny",
|
|
@@ -19581,10 +19581,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19581
19581
|
])]),
|
|
19582
19582
|
_: 1
|
|
19583
19583
|
})
|
|
19584
|
-
])) :
|
|
19584
|
+
])) : N("", !0)
|
|
19585
19585
|
]),
|
|
19586
19586
|
default: z(() => [
|
|
19587
|
-
|
|
19587
|
+
H(A(yt), {
|
|
19588
19588
|
ref: "width-input-reference",
|
|
19589
19589
|
value: u.value.configuratorParams.width,
|
|
19590
19590
|
"onUpdate:value": [
|
|
@@ -19602,20 +19602,20 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19602
19602
|
]),
|
|
19603
19603
|
_: 1
|
|
19604
19604
|
}, 8, ["label"]),
|
|
19605
|
-
|
|
19605
|
+
H(A(je), {
|
|
19606
19606
|
ref: "height-form-item-reference",
|
|
19607
19607
|
path: "configuratorParams.height",
|
|
19608
19608
|
label: `Высота светового проёма от ${t.settings.minHeight - h.value} ${f.value ? " до " + (f.value - h.value) : ""} мм.`
|
|
19609
19609
|
}, {
|
|
19610
19610
|
feedback: z(() => [
|
|
19611
19611
|
!t.validation.height.showFeedback && p.value >= t.settings.minHeight && p.value <= t.settings.maxHeights[u.value.configuratorParams.netType] ? (_(), M("div", by, [
|
|
19612
|
-
|
|
19612
|
+
H(A(Xn), { type: "success" }, {
|
|
19613
19613
|
default: z(() => [
|
|
19614
19614
|
ee("Высота готового изделия " + q(p.value), 1)
|
|
19615
19615
|
]),
|
|
19616
19616
|
_: 1
|
|
19617
19617
|
}),
|
|
19618
|
-
|
|
19618
|
+
H(A(Ne), {
|
|
19619
19619
|
quaternary: "",
|
|
19620
19620
|
type: "info",
|
|
19621
19621
|
size: "tiny",
|
|
@@ -19626,10 +19626,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19626
19626
|
])]),
|
|
19627
19627
|
_: 1
|
|
19628
19628
|
})
|
|
19629
|
-
])) :
|
|
19629
|
+
])) : N("", !0)
|
|
19630
19630
|
]),
|
|
19631
19631
|
default: z(() => [
|
|
19632
|
-
|
|
19632
|
+
H(A(yt), {
|
|
19633
19633
|
value: u.value.configuratorParams.height,
|
|
19634
19634
|
"onUpdate:value": [
|
|
19635
19635
|
b[11] || (b[11] = (R) => u.value.configuratorParams.height = R),
|
|
@@ -19646,12 +19646,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19646
19646
|
]),
|
|
19647
19647
|
_: 1
|
|
19648
19648
|
}, 8, ["label"]),
|
|
19649
|
-
|
|
19649
|
+
H(A(je), {
|
|
19650
19650
|
path: "quantity",
|
|
19651
19651
|
label: "Количество"
|
|
19652
19652
|
}, {
|
|
19653
19653
|
default: z(() => [
|
|
19654
|
-
|
|
19654
|
+
H(A(yt), {
|
|
19655
19655
|
value: u.value.quantity,
|
|
19656
19656
|
"onUpdate:value": [
|
|
19657
19657
|
b[16] || (b[16] = (R) => u.value.quantity = R),
|
|
@@ -19667,12 +19667,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19667
19667
|
]),
|
|
19668
19668
|
_: 1
|
|
19669
19669
|
}),
|
|
19670
|
-
|
|
19670
|
+
H(A(je), {
|
|
19671
19671
|
path: "marker",
|
|
19672
19672
|
label: "Маркировка"
|
|
19673
19673
|
}, {
|
|
19674
19674
|
default: z(() => [
|
|
19675
|
-
|
|
19675
|
+
H(A(fn), {
|
|
19676
19676
|
value: u.value.marker ?? null,
|
|
19677
19677
|
placeholder: "Введите маркировку",
|
|
19678
19678
|
onInput: b[20] || (b[20] = (R) => A($t)(t.validation, "marker")),
|
|
@@ -19697,8 +19697,8 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19697
19697
|
ee(" ДопПродажа ", -1)
|
|
19698
19698
|
])]),
|
|
19699
19699
|
_: 1
|
|
19700
|
-
}, 8, ["checked"])) :
|
|
19701
|
-
|
|
19700
|
+
}, 8, ["checked"])) : N("", !0),
|
|
19701
|
+
H(Wo, {
|
|
19702
19702
|
"is-product-searching": t.isProductSearching,
|
|
19703
19703
|
product: u.value.product,
|
|
19704
19704
|
validation: t.validation.product
|
|
@@ -19706,10 +19706,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19706
19706
|
$.value ? (_(), M("div", _y, [
|
|
19707
19707
|
b[29] || (b[29] = ee(" ИТОГО: ", -1)),
|
|
19708
19708
|
k("span", wy, q($.value) + " ₽", 1)
|
|
19709
|
-
])) :
|
|
19710
|
-
x.value ?
|
|
19709
|
+
])) : N("", !0),
|
|
19710
|
+
x.value ? N("", !0) : (_(), M("div", xy, " Пожалуйста, заполните все обязательные поля корректно. ")),
|
|
19711
19711
|
k("div", ky, [
|
|
19712
|
-
|
|
19712
|
+
H(A(Ne), {
|
|
19713
19713
|
loading: t.isSubmitProcessing,
|
|
19714
19714
|
disabled: !x.value || u.value.product.isNewRec(),
|
|
19715
19715
|
type: "primary",
|
|
@@ -19730,7 +19730,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19730
19730
|
ee(" Предварительный просмотр ", -1)
|
|
19731
19731
|
])]),
|
|
19732
19732
|
_: 1
|
|
19733
|
-
})) :
|
|
19733
|
+
})) : N("", !0)
|
|
19734
19734
|
])
|
|
19735
19735
|
]),
|
|
19736
19736
|
_: 1
|
|
@@ -19764,7 +19764,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19764
19764
|
}, {
|
|
19765
19765
|
default: z(() => [
|
|
19766
19766
|
k("div", By, [
|
|
19767
|
-
|
|
19767
|
+
H(l, {
|
|
19768
19768
|
type: "error",
|
|
19769
19769
|
class: "text-base font-medium"
|
|
19770
19770
|
}, {
|
|
@@ -19912,7 +19912,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19912
19912
|
), (m, p) => {
|
|
19913
19913
|
const v = Ko;
|
|
19914
19914
|
return _(), M(be, null, [
|
|
19915
|
-
|
|
19915
|
+
H(Dy, {
|
|
19916
19916
|
show: o.value,
|
|
19917
19917
|
"onUpdate:show": p[0] || (p[0] = (y) => o.value = y),
|
|
19918
19918
|
"height-overlaps": t.settings.heightOverlaps,
|
|
@@ -19927,22 +19927,22 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19927
19927
|
resizable: ""
|
|
19928
19928
|
}, {
|
|
19929
19929
|
default: z(() => [
|
|
19930
|
-
|
|
19930
|
+
H(A(Ld), null, {
|
|
19931
19931
|
header: z(() => [
|
|
19932
|
-
|
|
19932
|
+
H(A(Ne), {
|
|
19933
19933
|
size: "small",
|
|
19934
19934
|
type: "primary",
|
|
19935
19935
|
class: "block justify-self-end",
|
|
19936
19936
|
onClick: p[2] || (p[2] = (y) => r.value = !1)
|
|
19937
19937
|
}, {
|
|
19938
19938
|
default: z(() => [
|
|
19939
|
-
|
|
19939
|
+
H(v)
|
|
19940
19940
|
]),
|
|
19941
19941
|
_: 1
|
|
19942
19942
|
})
|
|
19943
19943
|
]),
|
|
19944
19944
|
default: z(() => [
|
|
19945
|
-
|
|
19945
|
+
H(Lu, {
|
|
19946
19946
|
"configurator-params": a.value.configuratorParams,
|
|
19947
19947
|
settings: t.settings,
|
|
19948
19948
|
onOpenInstructions: p[3] || (p[3] = (y) => o.value = !0)
|
|
@@ -19958,7 +19958,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
19958
19958
|
settings: t.settings,
|
|
19959
19959
|
onOpenInstructions: p[1] || (p[1] = (y) => o.value = !0)
|
|
19960
19960
|
}, null, 8, ["configurator-params", "settings"])),
|
|
19961
|
-
|
|
19961
|
+
H(Sy, {
|
|
19962
19962
|
ref: "mosquito-configurator-form",
|
|
19963
19963
|
value: a.value,
|
|
19964
19964
|
"onUpdate:value": p[5] || (p[5] = (y) => a.value = y),
|
|
@@ -20033,10 +20033,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20033
20033
|
"is-product-searching": o.value,
|
|
20034
20034
|
product: t.product,
|
|
20035
20035
|
validation: t.validation.product
|
|
20036
|
-
}, null, 8, ["is-product-searching", "product", "validation"])) :
|
|
20036
|
+
}, null, 8, ["is-product-searching", "product", "validation"])) : N("", !0)
|
|
20037
20037
|
]),
|
|
20038
20038
|
default: z(() => [
|
|
20039
|
-
|
|
20039
|
+
H(A(Do), {
|
|
20040
20040
|
trigger: "click",
|
|
20041
20041
|
options: t.suggestionOption,
|
|
20042
20042
|
placement: "bottom-start",
|
|
@@ -20044,7 +20044,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20044
20044
|
onSelect: u
|
|
20045
20045
|
}, {
|
|
20046
20046
|
default: z(() => [
|
|
20047
|
-
|
|
20047
|
+
H(A(yt), {
|
|
20048
20048
|
ref: "width-input-element",
|
|
20049
20049
|
value: a.value ?? null,
|
|
20050
20050
|
class: "w-full",
|
|
@@ -20059,25 +20059,25 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20059
20059
|
]),
|
|
20060
20060
|
_: 1
|
|
20061
20061
|
}, 8, ["options"]),
|
|
20062
|
-
|
|
20062
|
+
H(A(Ne), {
|
|
20063
20063
|
disabled: t.addLineButtonDisabled,
|
|
20064
20064
|
size: "medium",
|
|
20065
20065
|
class: "ml-2",
|
|
20066
20066
|
onClick: g[2] || (g[2] = (p) => s("click:add-line", t.index))
|
|
20067
20067
|
}, {
|
|
20068
20068
|
default: z(() => [
|
|
20069
|
-
|
|
20069
|
+
H(f)
|
|
20070
20070
|
]),
|
|
20071
20071
|
_: 1
|
|
20072
20072
|
}, 8, ["disabled"]),
|
|
20073
|
-
|
|
20073
|
+
H(A(Ne), {
|
|
20074
20074
|
disabled: t.removeLineButtonDisabled,
|
|
20075
20075
|
size: "medium",
|
|
20076
20076
|
class: "ml-2",
|
|
20077
20077
|
onClick: g[3] || (g[3] = (p) => s("click:remove-line", t.index))
|
|
20078
20078
|
}, {
|
|
20079
20079
|
default: z(() => [
|
|
20080
|
-
|
|
20080
|
+
H(m)
|
|
20081
20081
|
]),
|
|
20082
20082
|
_: 1
|
|
20083
20083
|
}, 8, ["disabled"])
|
|
@@ -20205,7 +20205,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20205
20205
|
ee(" Сумма ширин всех полос должна быть равна " + q(t.settings.width), 1)
|
|
20206
20206
|
]),
|
|
20207
20207
|
_: 1
|
|
20208
|
-
})) :
|
|
20208
|
+
})) : N("", !0),
|
|
20209
20209
|
h.value && a.value.length === t.settings.maxLinesCount && d.value > 0 ? (_(), te(A(Xn), {
|
|
20210
20210
|
key: 1,
|
|
20211
20211
|
type: "error"
|
|
@@ -20214,10 +20214,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20214
20214
|
ee(" Остаток резки должен быть равен 0 ", -1)
|
|
20215
20215
|
])]),
|
|
20216
20216
|
_: 1
|
|
20217
|
-
})) :
|
|
20217
|
+
})) : N("", !0),
|
|
20218
20218
|
k("div", null, [
|
|
20219
20219
|
x[17] || (x[17] = ee(" Остаток для резки: ", -1)),
|
|
20220
|
-
|
|
20220
|
+
H(A(Xn), {
|
|
20221
20221
|
type: d.value >= 0 ? "Success" : "error"
|
|
20222
20222
|
}, {
|
|
20223
20223
|
default: z(() => [
|
|
@@ -20228,7 +20228,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20228
20228
|
ee(" из " + q(t.settings.width) + " мм ", 1)
|
|
20229
20229
|
])
|
|
20230
20230
|
]),
|
|
20231
|
-
|
|
20231
|
+
H(A(Ne), {
|
|
20232
20232
|
disabled: g.value,
|
|
20233
20233
|
type: "primary",
|
|
20234
20234
|
class: "self-center",
|
|
@@ -20239,12 +20239,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20239
20239
|
])]),
|
|
20240
20240
|
_: 1
|
|
20241
20241
|
}, 8, ["disabled"]),
|
|
20242
|
-
|
|
20242
|
+
H(A(je), {
|
|
20243
20243
|
path: "length",
|
|
20244
20244
|
label: `Метраж ${t.settings.minLength ? " от " + t.settings.minLength : ""} ${t.settings.maxLength ? " до " + t.settings.maxLength : ""} м.`
|
|
20245
20245
|
}, {
|
|
20246
20246
|
default: z(() => [
|
|
20247
|
-
|
|
20247
|
+
H(A(yt), {
|
|
20248
20248
|
value: a.value[0].length,
|
|
20249
20249
|
"onUpdate:value": [
|
|
20250
20250
|
x[3] || (x[3] = (w) => a.value[0].length = w),
|
|
@@ -20261,12 +20261,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20261
20261
|
]),
|
|
20262
20262
|
_: 1
|
|
20263
20263
|
}, 8, ["label"]),
|
|
20264
|
-
|
|
20264
|
+
H(A(je), {
|
|
20265
20265
|
path: "quantity",
|
|
20266
20266
|
label: "Количество"
|
|
20267
20267
|
}, {
|
|
20268
20268
|
default: z(() => [
|
|
20269
|
-
|
|
20269
|
+
H(A(yt), {
|
|
20270
20270
|
value: a.value[0].quantity,
|
|
20271
20271
|
"onUpdate:value": [
|
|
20272
20272
|
x[7] || (x[7] = (w) => a.value[0].quantity = w),
|
|
@@ -20282,12 +20282,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20282
20282
|
]),
|
|
20283
20283
|
_: 1
|
|
20284
20284
|
}),
|
|
20285
|
-
|
|
20285
|
+
H(A(je), {
|
|
20286
20286
|
path: "marker",
|
|
20287
20287
|
label: "Маркировка"
|
|
20288
20288
|
}, {
|
|
20289
20289
|
default: z(() => [
|
|
20290
|
-
|
|
20290
|
+
H(A(fn), {
|
|
20291
20291
|
value: a.value[0].marker ?? null,
|
|
20292
20292
|
placeholder: "Введите маркировку",
|
|
20293
20293
|
onInput: x[11] || (x[11] = (w) => A($t)(t.validation, "marker")),
|
|
@@ -20312,13 +20312,13 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20312
20312
|
ee(" ДопПродажа ", -1)
|
|
20313
20313
|
])]),
|
|
20314
20314
|
_: 1
|
|
20315
|
-
}, 8, ["checked"])) :
|
|
20315
|
+
}, 8, ["checked"])) : N("", !0),
|
|
20316
20316
|
m.value ? (_(), M("div", Uy, [
|
|
20317
20317
|
x[20] || (x[20] = ee(" ИТОГО: ", -1)),
|
|
20318
20318
|
k("span", Xy, q(m.value) + " ₽", 1)
|
|
20319
|
-
])) :
|
|
20319
|
+
])) : N("", !0),
|
|
20320
20320
|
k("div", Yy, [
|
|
20321
|
-
|
|
20321
|
+
H(A(Ne), {
|
|
20322
20322
|
loading: t.isSubmitProcessing,
|
|
20323
20323
|
disabled: !h.value || d.value != 0 || !((B = a.value[0]) != null && B.length) || a.value[0].length > t.settings.maxLength || a.value[0].length < t.settings.minLength || a.value[0].quantity === 0,
|
|
20324
20324
|
type: "primary",
|
|
@@ -20463,14 +20463,14 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20463
20463
|
ee(" Показать в виде списка ", -1)
|
|
20464
20464
|
])]),
|
|
20465
20465
|
_: 1
|
|
20466
|
-
})) :
|
|
20466
|
+
})) : N("", !0),
|
|
20467
20467
|
k("div", nb, [
|
|
20468
|
-
|
|
20468
|
+
H(tb, {
|
|
20469
20469
|
value: r.value,
|
|
20470
20470
|
"onUpdate:value": m[1] || (m[1] = (v) => r.value = v),
|
|
20471
20471
|
settings: t.settings
|
|
20472
20472
|
}, null, 8, ["value", "settings"]),
|
|
20473
|
-
|
|
20473
|
+
H(Gy, {
|
|
20474
20474
|
ref: "strip-configurator-form",
|
|
20475
20475
|
value: r.value,
|
|
20476
20476
|
"onUpdate:value": m[2] || (m[2] = (v) => r.value = v),
|
|
@@ -20555,12 +20555,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20555
20555
|
onKeydown: m[13] || (m[13] = rr(un((v) => s("submit", a.value), ["prevent"]), ["enter"]))
|
|
20556
20556
|
}, {
|
|
20557
20557
|
default: z(() => [
|
|
20558
|
-
|
|
20558
|
+
H(A(je), {
|
|
20559
20559
|
path: "configuratorParams.width",
|
|
20560
20560
|
label: `Ширина, ${t.settings.minWidth ? " от " + t.settings.minWidth : ""}${t.settings.maxWidth ? " до " + t.settings.maxWidth : ""} мм`
|
|
20561
20561
|
}, {
|
|
20562
20562
|
default: z(() => [
|
|
20563
|
-
|
|
20563
|
+
H(A(yt), {
|
|
20564
20564
|
ref: "first-input-element",
|
|
20565
20565
|
value: a.value.configuratorParams.width,
|
|
20566
20566
|
"onUpdate:value": [
|
|
@@ -20578,12 +20578,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20578
20578
|
]),
|
|
20579
20579
|
_: 1
|
|
20580
20580
|
}, 8, ["label"]),
|
|
20581
|
-
|
|
20581
|
+
H(A(je), {
|
|
20582
20582
|
path: "configuratorParams.length",
|
|
20583
20583
|
label: `Длина, ${t.settings.minLength ? " от " + t.settings.minLength : ""}${t.settings.maxLength ? " до " + t.settings.maxLength : ""} мм`
|
|
20584
20584
|
}, {
|
|
20585
20585
|
default: z(() => [
|
|
20586
|
-
|
|
20586
|
+
H(A(yt), {
|
|
20587
20587
|
value: a.value.configuratorParams.length,
|
|
20588
20588
|
"onUpdate:value": [
|
|
20589
20589
|
m[3] || (m[3] = (v) => a.value.configuratorParams.length = v),
|
|
@@ -20600,12 +20600,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20600
20600
|
]),
|
|
20601
20601
|
_: 1
|
|
20602
20602
|
}, 8, ["label"]),
|
|
20603
|
-
|
|
20603
|
+
H(A(je), {
|
|
20604
20604
|
path: "quantity",
|
|
20605
20605
|
label: "Количество"
|
|
20606
20606
|
}, {
|
|
20607
20607
|
default: z(() => [
|
|
20608
|
-
|
|
20608
|
+
H(A(yt), {
|
|
20609
20609
|
value: t.value.quantity,
|
|
20610
20610
|
placeholder: "Введите количество",
|
|
20611
20611
|
min: 1,
|
|
@@ -20619,12 +20619,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20619
20619
|
]),
|
|
20620
20620
|
_: 1
|
|
20621
20621
|
}),
|
|
20622
|
-
|
|
20622
|
+
H(A(je), {
|
|
20623
20623
|
path: "marker",
|
|
20624
20624
|
label: "Маркировка"
|
|
20625
20625
|
}, {
|
|
20626
20626
|
default: z(() => [
|
|
20627
|
-
|
|
20627
|
+
H(A(fn), {
|
|
20628
20628
|
value: t.value.marker ?? null,
|
|
20629
20629
|
placeholder: "Введите маркировку",
|
|
20630
20630
|
onInput: m[9] || (m[9] = (v) => A($t)(t.validation, "marker")),
|
|
@@ -20647,14 +20647,14 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20647
20647
|
ee(" ДопПродажа ", -1)
|
|
20648
20648
|
])]),
|
|
20649
20649
|
_: 1
|
|
20650
|
-
}, 8, ["checked"])) :
|
|
20651
|
-
|
|
20650
|
+
}, 8, ["checked"])) : N("", !0),
|
|
20651
|
+
H(Wo, {
|
|
20652
20652
|
"is-product-searching": t.isProductSearching,
|
|
20653
20653
|
product: t.value.product,
|
|
20654
20654
|
validation: t.validation.product
|
|
20655
20655
|
}, null, 8, ["is-product-searching", "product", "validation"]),
|
|
20656
20656
|
k("div", ob, [
|
|
20657
|
-
|
|
20657
|
+
H(A(Ne), {
|
|
20658
20658
|
disabled: (
|
|
20659
20659
|
// eslint-disable-next-line vue/max-len
|
|
20660
20660
|
t.value.product.isNewRec() || t.isProductSearching || t.isSubmitProcessing || t.value.length === 0 || t.value.width === 0 || t.value.quantity === 0
|
|
@@ -20748,8 +20748,8 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
|
|
|
20748
20748
|
ee(" Показать в виде списка ", -1)
|
|
20749
20749
|
])]),
|
|
20750
20750
|
_: 1
|
|
20751
|
-
})) :
|
|
20752
|
-
|
|
20751
|
+
})) : N("", !0),
|
|
20752
|
+
H(lb, {
|
|
20753
20753
|
ref: "metal-for-doors-configurator-form",
|
|
20754
20754
|
value: r.value,
|
|
20755
20755
|
"onUpdate:value": g[1] || (g[1] = (m) => r.value = m),
|
|
@@ -21000,13 +21000,13 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21000
21000
|
default: z(() => {
|
|
21001
21001
|
var K;
|
|
21002
21002
|
return [
|
|
21003
|
-
|
|
21003
|
+
H(A(je), {
|
|
21004
21004
|
required: !0,
|
|
21005
21005
|
"show-feedback": !1,
|
|
21006
21006
|
label: "Товар"
|
|
21007
21007
|
}, {
|
|
21008
21008
|
default: z(() => [
|
|
21009
|
-
|
|
21009
|
+
H(A(Ui), {
|
|
21010
21010
|
value: d.value,
|
|
21011
21011
|
"onUpdate:value": [
|
|
21012
21012
|
I[0] || (I[0] = (J) => d.value = J),
|
|
@@ -21022,27 +21022,27 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21022
21022
|
((K = u.value) == null ? void 0 : K.costRub) != null ? (_(), M("div", gb, [
|
|
21023
21023
|
k("span", mb, q(u.value.code), 1),
|
|
21024
21024
|
ee(" — " + q(u.value.costRub.toLocaleString()) + " " + q(u.value.currency.symbol) + "/шт. ", 1)
|
|
21025
|
-
])) :
|
|
21025
|
+
])) : N("", !0),
|
|
21026
21026
|
k("div", pb, [
|
|
21027
21027
|
u.value ? (_(), M("div", vb, [
|
|
21028
21028
|
I[9] || (I[9] = k("div", { class: "w-full font-bold" }, "Размеры изделий", -1)),
|
|
21029
21029
|
k("div", yb, [
|
|
21030
|
-
m.value ? (_(), M("div", bb, "Ширина " + q(m.value) + ".", 1)) :
|
|
21031
|
-
p.value ? (_(), M("div", _b, "Длина " + q(p.value) + ".", 1)) :
|
|
21030
|
+
m.value ? (_(), M("div", bb, "Ширина " + q(m.value) + ".", 1)) : N("", !0),
|
|
21031
|
+
p.value ? (_(), M("div", _b, "Длина " + q(p.value) + ".", 1)) : N("", !0)
|
|
21032
21032
|
])
|
|
21033
|
-
])) :
|
|
21033
|
+
])) : N("", !0),
|
|
21034
21034
|
k("div", wb, [
|
|
21035
21035
|
(_(!0), M(be, null, Pt(o.value.configuratorParams.items, (J, Z) => (_(), M("div", {
|
|
21036
21036
|
key: Z,
|
|
21037
21037
|
class: "flex grow gap-2"
|
|
21038
21038
|
}, [
|
|
21039
21039
|
k("div", xb, [
|
|
21040
|
-
|
|
21040
|
+
H(A(je), {
|
|
21041
21041
|
path: `configuratorParams.items.${Z}.width`,
|
|
21042
21042
|
label: "Ширина, мм"
|
|
21043
21043
|
}, {
|
|
21044
21044
|
default: z(() => [
|
|
21045
|
-
|
|
21045
|
+
H(A(yt), {
|
|
21046
21046
|
value: o.value.configuratorParams.items[Z].width,
|
|
21047
21047
|
"onUpdate:value": [(L) => o.value.configuratorParams.items[Z].width = L, (L) => V(Z)],
|
|
21048
21048
|
parse: A(Dt),
|
|
@@ -21057,12 +21057,12 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21057
21057
|
]),
|
|
21058
21058
|
_: 2
|
|
21059
21059
|
}, 1032, ["path"]),
|
|
21060
|
-
|
|
21060
|
+
H(A(je), {
|
|
21061
21061
|
path: `configuratorParams.items.${Z}.length`,
|
|
21062
21062
|
label: "Длина, мм"
|
|
21063
21063
|
}, {
|
|
21064
21064
|
default: z(() => [
|
|
21065
|
-
|
|
21065
|
+
H(A(yt), {
|
|
21066
21066
|
value: o.value.configuratorParams.items[Z].length,
|
|
21067
21067
|
"onUpdate:value": [(L) => o.value.configuratorParams.items[Z].length = L, (L) => V(Z)],
|
|
21068
21068
|
parse: A(Dt),
|
|
@@ -21077,12 +21077,12 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21077
21077
|
]),
|
|
21078
21078
|
_: 2
|
|
21079
21079
|
}, 1032, ["path"]),
|
|
21080
|
-
|
|
21080
|
+
H(A(je), {
|
|
21081
21081
|
path: `configuratorParams.items.${Z}.count`,
|
|
21082
21082
|
label: "Количество, шт"
|
|
21083
21083
|
}, {
|
|
21084
21084
|
default: z(() => [
|
|
21085
|
-
|
|
21085
|
+
H(A(yt), {
|
|
21086
21086
|
value: o.value.configuratorParams.items[Z].count,
|
|
21087
21087
|
"onUpdate:value": [(L) => o.value.configuratorParams.items[Z].count = L, (L) => V(Z)],
|
|
21088
21088
|
parse: A(Dt),
|
|
@@ -21098,7 +21098,7 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21098
21098
|
_: 2
|
|
21099
21099
|
}, 1032, ["path"])
|
|
21100
21100
|
]),
|
|
21101
|
-
|
|
21101
|
+
H(A(Ne), {
|
|
21102
21102
|
disabled: !u.value || o.value.configuratorParams.items.length <= 1,
|
|
21103
21103
|
type: "error",
|
|
21104
21104
|
size: "medium",
|
|
@@ -21106,7 +21106,7 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21106
21106
|
onClick: (L) => j(Z)
|
|
21107
21107
|
}, {
|
|
21108
21108
|
default: z(() => [
|
|
21109
|
-
|
|
21109
|
+
H(G)
|
|
21110
21110
|
]),
|
|
21111
21111
|
_: 1
|
|
21112
21112
|
}, 8, ["disabled", "onClick"])
|
|
@@ -21120,18 +21120,18 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21120
21120
|
onClick: D
|
|
21121
21121
|
}, {
|
|
21122
21122
|
default: z(() => [
|
|
21123
|
-
|
|
21123
|
+
H(ie),
|
|
21124
21124
|
I[10] || (I[10] = ee(" Добавить изделие ", -1))
|
|
21125
21125
|
]),
|
|
21126
21126
|
_: 1
|
|
21127
|
-
}, 8, ["disabled"])) :
|
|
21127
|
+
}, 8, ["disabled"])) : N("", !0)
|
|
21128
21128
|
]),
|
|
21129
|
-
|
|
21129
|
+
H(A(je), {
|
|
21130
21130
|
path: "marker",
|
|
21131
21131
|
label: "Маркировка распила"
|
|
21132
21132
|
}, {
|
|
21133
21133
|
default: z(() => [
|
|
21134
|
-
|
|
21134
|
+
H(A(fn), {
|
|
21135
21135
|
value: o.value.marker ?? null,
|
|
21136
21136
|
disabled: !u.value,
|
|
21137
21137
|
placeholder: "Введите маркировку распила",
|
|
@@ -21155,8 +21155,8 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21155
21155
|
ee(" ДопПродажа ", -1)
|
|
21156
21156
|
])]),
|
|
21157
21157
|
_: 1
|
|
21158
|
-
}, 8, ["checked"])) :
|
|
21159
|
-
|
|
21158
|
+
}, 8, ["checked"])) : N("", !0),
|
|
21159
|
+
H(A(Jn), {
|
|
21160
21160
|
show: y.value,
|
|
21161
21161
|
size: "small",
|
|
21162
21162
|
class: "grow"
|
|
@@ -21173,8 +21173,8 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21173
21173
|
k("span", $b, "(" + q(v.value.quantity) + " шт.", 1),
|
|
21174
21174
|
I[13] || (I[13] = ee(" x ", -1)),
|
|
21175
21175
|
k("span", Pb, q((J = u.value.costRub) == null ? void 0 : J.toLocaleString()) + " " + q(u.value.currency.symbol) + "/шт.)", 1)
|
|
21176
|
-
])) :
|
|
21177
|
-
])) :
|
|
21176
|
+
])) : N("", !0)
|
|
21177
|
+
])) : N("", !0)
|
|
21178
21178
|
];
|
|
21179
21179
|
}),
|
|
21180
21180
|
_: 1
|
|
@@ -21283,9 +21283,9 @@ const qh = He({ name: "ion-add", render: fb }), gb = {
|
|
|
21283
21283
|
ee(" Показать в виде списка ", -1)
|
|
21284
21284
|
])]),
|
|
21285
21285
|
_: 1
|
|
21286
|
-
})) :
|
|
21286
|
+
})) : N("", !0),
|
|
21287
21287
|
k("div", Ab, [
|
|
21288
|
-
|
|
21288
|
+
H(Fb, {
|
|
21289
21289
|
ref: "sandwich-configurator-form",
|
|
21290
21290
|
value: r.value,
|
|
21291
21291
|
"onUpdate:value": h[1] || (h[1] = (f) => r.value = f),
|
|
@@ -21530,13 +21530,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21530
21530
|
default: z(() => {
|
|
21531
21531
|
var ze, Le;
|
|
21532
21532
|
return [
|
|
21533
|
-
|
|
21533
|
+
H(A(je), {
|
|
21534
21534
|
required: !0,
|
|
21535
21535
|
"show-feedback": !1,
|
|
21536
21536
|
label: "Товар"
|
|
21537
21537
|
}, {
|
|
21538
21538
|
default: z(() => [
|
|
21539
|
-
|
|
21539
|
+
H(A(Ui), {
|
|
21540
21540
|
value: g.value,
|
|
21541
21541
|
"onUpdate:value": [
|
|
21542
21542
|
Q[0] || (Q[0] = (ot) => g.value = ot),
|
|
@@ -21552,15 +21552,15 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21552
21552
|
((ze = h.value) == null ? void 0 : ze.costRub) != null ? (_(), M("div", Lb, [
|
|
21553
21553
|
k("span", Db, q(h.value.code), 1),
|
|
21554
21554
|
ee(" — " + q(h.value.costRub.toLocaleString()) + " " + q(h.value.currency.symbol) + "/м² ", 1)
|
|
21555
|
-
])) :
|
|
21555
|
+
])) : N("", !0),
|
|
21556
21556
|
k("div", Nb, [
|
|
21557
21557
|
h.value ? (_(), M("div", Hb, [
|
|
21558
21558
|
Q[6] || (Q[6] = k("div", { class: "w-full font-bold" }, "Размеры изделий", -1)),
|
|
21559
21559
|
k("div", Wb, [
|
|
21560
|
-
v.value ? (_(), M("div", Vb, "Ширина " + q(v.value) + ".", 1)) :
|
|
21561
|
-
y.value ? (_(), M("div", jb, "Длина " + q(y.value) + ".", 1)) :
|
|
21560
|
+
v.value ? (_(), M("div", Vb, "Ширина " + q(v.value) + ".", 1)) : N("", !0),
|
|
21561
|
+
y.value ? (_(), M("div", jb, "Длина " + q(y.value) + ".", 1)) : N("", !0)
|
|
21562
21562
|
])
|
|
21563
|
-
])) :
|
|
21563
|
+
])) : N("", !0),
|
|
21564
21564
|
k("div", qb, [
|
|
21565
21565
|
(_(!0), M(be, null, Pt(c.value.items, (ot, ye) => {
|
|
21566
21566
|
var Ht;
|
|
@@ -21571,13 +21571,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21571
21571
|
k("div", Ub, [
|
|
21572
21572
|
k("div", Xb, [
|
|
21573
21573
|
k("div", Yb, [
|
|
21574
|
-
|
|
21574
|
+
H(A(je), {
|
|
21575
21575
|
path: `items.${ye}.configuratorParams.width`,
|
|
21576
21576
|
label: "Ширина, мм",
|
|
21577
21577
|
class: "min-w-0"
|
|
21578
21578
|
}, {
|
|
21579
21579
|
default: z(() => [
|
|
21580
|
-
|
|
21580
|
+
H(A(yt), {
|
|
21581
21581
|
ref_for: !0,
|
|
21582
21582
|
ref: "widthInputs",
|
|
21583
21583
|
value: c.value.items[ye].configuratorParams.width,
|
|
@@ -21594,13 +21594,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21594
21594
|
]),
|
|
21595
21595
|
_: 2
|
|
21596
21596
|
}, 1032, ["path"]),
|
|
21597
|
-
|
|
21597
|
+
H(A(je), {
|
|
21598
21598
|
path: `items.${ye}.configuratorParams.length`,
|
|
21599
21599
|
label: "Длина, мм",
|
|
21600
21600
|
class: "min-w-0"
|
|
21601
21601
|
}, {
|
|
21602
21602
|
default: z(() => [
|
|
21603
|
-
|
|
21603
|
+
H(A(yt), {
|
|
21604
21604
|
value: c.value.items[ye].configuratorParams.length,
|
|
21605
21605
|
"onUpdate:value": [(Ve) => c.value.items[ye].configuratorParams.length = Ve, (Ve) => O(ye)],
|
|
21606
21606
|
parse: A(Dt),
|
|
@@ -21617,13 +21617,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21617
21617
|
}, 1032, ["path"])
|
|
21618
21618
|
]),
|
|
21619
21619
|
k("div", Kb, [
|
|
21620
|
-
|
|
21620
|
+
H(A(je), {
|
|
21621
21621
|
path: `items.${ye}.quantity`,
|
|
21622
21622
|
label: "Количество, шт",
|
|
21623
21623
|
class: "min-w-0"
|
|
21624
21624
|
}, {
|
|
21625
21625
|
default: z(() => [
|
|
21626
|
-
|
|
21626
|
+
H(A(yt), {
|
|
21627
21627
|
value: c.value.items[ye].quantity,
|
|
21628
21628
|
"onUpdate:value": [(Ve) => c.value.items[ye].quantity = Ve, (Ve) => O(ye)],
|
|
21629
21629
|
parse: A(Dt),
|
|
@@ -21638,13 +21638,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21638
21638
|
]),
|
|
21639
21639
|
_: 2
|
|
21640
21640
|
}, 1032, ["path"]),
|
|
21641
|
-
|
|
21641
|
+
H(A(je), {
|
|
21642
21642
|
path: `items.${ye}.marker`,
|
|
21643
21643
|
label: "Маркировка",
|
|
21644
21644
|
class: "min-w-0"
|
|
21645
21645
|
}, {
|
|
21646
21646
|
default: z(() => [
|
|
21647
|
-
|
|
21647
|
+
H(A(fn), {
|
|
21648
21648
|
value: c.value.items[ye].marker ?? null,
|
|
21649
21649
|
disabled: !h.value || b(ye) || T(ye),
|
|
21650
21650
|
placeholder: "Маркировка",
|
|
@@ -21664,21 +21664,21 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21664
21664
|
})) : b(ye) ? (_(), te(ne, {
|
|
21665
21665
|
key: 1,
|
|
21666
21666
|
class: "text-green-600 text-xl"
|
|
21667
|
-
})) :
|
|
21668
|
-
])) :
|
|
21667
|
+
})) : N("", !0)
|
|
21668
|
+
])) : N("", !0)
|
|
21669
21669
|
]),
|
|
21670
21670
|
k("div", Zb, [
|
|
21671
21671
|
ot.configuratorParams.width > 0 && ot.configuratorParams.length > 0 ? (_(), M("div", Qb, [
|
|
21672
21672
|
Q[7] || (Q[7] = ee(" Площадь (S) = ", -1)),
|
|
21673
21673
|
k("span", Jb, q(V(ot.configuratorParams).toLocaleString(void 0, { maximumFractionDigits: 4 })) + " м²", 1)
|
|
21674
|
-
])) :
|
|
21674
|
+
])) : N("", !0),
|
|
21675
21675
|
D(ot) > 0 ? (_(), M("div", e_, [
|
|
21676
21676
|
Q[8] || (Q[8] = ee(" Итого: ", -1)),
|
|
21677
21677
|
k("span", t_, q(D(ot).toLocaleString()) + " " + q((Ht = h.value) == null ? void 0 : Ht.currency.symbol), 1)
|
|
21678
|
-
])) :
|
|
21678
|
+
])) : N("", !0)
|
|
21679
21679
|
])
|
|
21680
21680
|
]),
|
|
21681
|
-
w.value ?
|
|
21681
|
+
w.value ? N("", !0) : (_(), te(A(Ne), {
|
|
21682
21682
|
key: 0,
|
|
21683
21683
|
disabled: T(ye) || c.value.items.length <= 1,
|
|
21684
21684
|
type: "error",
|
|
@@ -21687,7 +21687,7 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21687
21687
|
onClick: (Ve) => K(ye)
|
|
21688
21688
|
}, {
|
|
21689
21689
|
default: z(() => [
|
|
21690
|
-
|
|
21690
|
+
H(le)
|
|
21691
21691
|
]),
|
|
21692
21692
|
_: 1
|
|
21693
21693
|
}, 8, ["disabled", "onClick"]))
|
|
@@ -21698,12 +21698,12 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21698
21698
|
j.value > 0 ? (_(), M("div", n_, [
|
|
21699
21699
|
Q[9] || (Q[9] = ee(" Общая площадь: ", -1)),
|
|
21700
21700
|
k("span", s_, q(j.value.toLocaleString(void 0, { maximumFractionDigits: 4 })) + " м²", 1)
|
|
21701
|
-
])) :
|
|
21701
|
+
])) : N("", !0),
|
|
21702
21702
|
Y.value > 0 ? (_(), M("div", r_, [
|
|
21703
21703
|
Q[10] || (Q[10] = ee(" Итого: ", -1)),
|
|
21704
21704
|
k("span", o_, q(Y.value.toLocaleString()) + " " + q(h.value.currency.symbol), 1)
|
|
21705
|
-
])) :
|
|
21706
|
-
])) :
|
|
21705
|
+
])) : N("", !0)
|
|
21706
|
+
])) : N("", !0)
|
|
21707
21707
|
]),
|
|
21708
21708
|
x.value ? (_(), te(A(En), {
|
|
21709
21709
|
key: 1,
|
|
@@ -21716,7 +21716,7 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21716
21716
|
ee(" ДопПродажа ", -1)
|
|
21717
21717
|
])]),
|
|
21718
21718
|
_: 1
|
|
21719
|
-
}, 8, ["checked"])) :
|
|
21719
|
+
}, 8, ["checked"])) : N("", !0),
|
|
21720
21720
|
k("div", a_, [
|
|
21721
21721
|
h.value && !w.value ? (_(), te(A(Ne), {
|
|
21722
21722
|
key: 0,
|
|
@@ -21725,12 +21725,12 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21725
21725
|
onClick: ie
|
|
21726
21726
|
}, {
|
|
21727
21727
|
default: z(() => [
|
|
21728
|
-
|
|
21728
|
+
H(ke),
|
|
21729
21729
|
Q[12] || (Q[12] = ee(" Добавить изделие ", -1))
|
|
21730
21730
|
]),
|
|
21731
21731
|
_: 1
|
|
21732
|
-
}, 8, ["disabled"])) :
|
|
21733
|
-
|
|
21732
|
+
}, 8, ["disabled"])) : N("", !0),
|
|
21733
|
+
H(A(Ne), {
|
|
21734
21734
|
loading: t.isSubmitProcessing,
|
|
21735
21735
|
disabled: B.value || R.value,
|
|
21736
21736
|
type: "primary",
|
|
@@ -21873,9 +21873,9 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
21873
21873
|
ee(" Показать в виде списка ", -1)
|
|
21874
21874
|
])]),
|
|
21875
21875
|
_: 1
|
|
21876
|
-
})) :
|
|
21876
|
+
})) : N("", !0),
|
|
21877
21877
|
k("div", d_, [
|
|
21878
|
-
|
|
21878
|
+
H(c_, {
|
|
21879
21879
|
ref: "sandwich-m2-configurator-form",
|
|
21880
21880
|
value: r.value,
|
|
21881
21881
|
"onUpdate:value": x[1] || (x[1] = (w) => r.value = w),
|
|
@@ -22064,8 +22064,8 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
22064
22064
|
const f = Jn;
|
|
22065
22065
|
return _(), M(be, null, [
|
|
22066
22066
|
i.value ? (_(), M("div", g_, [
|
|
22067
|
-
|
|
22068
|
-
])) : n.value ? (_(), M("div", m_, q(n.value), 1)) :
|
|
22067
|
+
H(f, { size: "large" })
|
|
22068
|
+
])) : n.value ? (_(), M("div", m_, q(n.value), 1)) : N("", !0),
|
|
22069
22069
|
t.settings !== null && (s.value !== null || r.value !== null || a.value !== null) ? (_(), M("div", p_, [
|
|
22070
22070
|
k("div", v_, [
|
|
22071
22071
|
t.editor === "kozyrek" ? (_(), te(fy, {
|
|
@@ -22109,7 +22109,7 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
|
|
|
22109
22109
|
"cart-items": a.value,
|
|
22110
22110
|
"onClick:viewSwitch": d,
|
|
22111
22111
|
onSubmit: u
|
|
22112
|
-
}, null, 8, ["event-emitter", "settings", "cart-items"])) :
|
|
22112
|
+
}, null, 8, ["event-emitter", "settings", "cart-items"])) : N("", !0)
|
|
22113
22113
|
])
|
|
22114
22114
|
])) : (_(), M("div", y_, ' Конфигуратор "' + q(t.editor) + '" не поддерживается. ', 1))
|
|
22115
22115
|
], 64);
|
|
@@ -22263,39 +22263,39 @@ const k_ = {
|
|
|
22263
22263
|
var Ke, ae;
|
|
22264
22264
|
return [
|
|
22265
22265
|
$.value ? (_(), M("div", k_, [
|
|
22266
|
-
|
|
22266
|
+
H(Q, {
|
|
22267
22267
|
checked: x.value,
|
|
22268
22268
|
indeterminate: B.value,
|
|
22269
22269
|
disabled: F.value,
|
|
22270
22270
|
"onUpdate:checked": V
|
|
22271
22271
|
}, null, 8, ["checked", "indeterminate", "disabled"])
|
|
22272
|
-
])) :
|
|
22272
|
+
])) : N("", !0),
|
|
22273
22273
|
!c.value && ((Ke = p.value) != null && Ke.isDisabled) ? (_(), te(le, {
|
|
22274
22274
|
key: 1,
|
|
22275
22275
|
placement: "bottom",
|
|
22276
22276
|
trigger: "hover"
|
|
22277
22277
|
}, {
|
|
22278
22278
|
trigger: z(() => [
|
|
22279
|
-
|
|
22279
|
+
H(ne, { class: "pt-1.5" })
|
|
22280
22280
|
]),
|
|
22281
22281
|
default: z(() => [
|
|
22282
22282
|
L[1] || (L[1] = ee(" Категория скрыта для клиента ", -1))
|
|
22283
22283
|
]),
|
|
22284
22284
|
_: 1
|
|
22285
|
-
})) :
|
|
22285
|
+
})) : N("", !0),
|
|
22286
22286
|
((ae = p.value) == null ? void 0 : ae.isFavorite) ?? !1 ? (_(), te(le, {
|
|
22287
22287
|
key: 2,
|
|
22288
22288
|
placement: "bottom",
|
|
22289
22289
|
trigger: "hover"
|
|
22290
22290
|
}, {
|
|
22291
22291
|
trigger: z(() => [
|
|
22292
|
-
|
|
22292
|
+
H(ke, { class: "pt-1.5" })
|
|
22293
22293
|
]),
|
|
22294
22294
|
default: z(() => [
|
|
22295
22295
|
L[2] || (L[2] = ee(" Избранная категория ", -1))
|
|
22296
22296
|
]),
|
|
22297
22297
|
_: 1
|
|
22298
|
-
})) :
|
|
22298
|
+
})) : N("", !0)
|
|
22299
22299
|
];
|
|
22300
22300
|
}),
|
|
22301
22301
|
header: z(() => {
|
|
@@ -22308,7 +22308,7 @@ const k_ = {
|
|
|
22308
22308
|
"text-gray-400": (Ke = p.value) == null ? void 0 : Ke.isDisabled
|
|
22309
22309
|
})
|
|
22310
22310
|
}, [
|
|
22311
|
-
|
|
22311
|
+
H(le, {
|
|
22312
22312
|
disabled: !t.categoryItem.isHidden,
|
|
22313
22313
|
placement: "bottom",
|
|
22314
22314
|
trigger: "hover"
|
|
@@ -22350,8 +22350,8 @@ const k_ = {
|
|
|
22350
22350
|
round: ""
|
|
22351
22351
|
}, {
|
|
22352
22352
|
default: z(() => [
|
|
22353
|
-
T.value ? (_(), M("span", C_, q(T.value.toFixed(2)) + "%", 1)) :
|
|
22354
|
-
|
|
22353
|
+
T.value ? (_(), M("span", C_, q(T.value.toFixed(2)) + "%", 1)) : N("", !0),
|
|
22354
|
+
H(ze, {
|
|
22355
22355
|
size: A(i),
|
|
22356
22356
|
round: ""
|
|
22357
22357
|
}, {
|
|
@@ -22362,8 +22362,8 @@ const k_ = {
|
|
|
22362
22362
|
}, 8, ["size"])
|
|
22363
22363
|
]),
|
|
22364
22364
|
_: 1
|
|
22365
|
-
}, 8, ["size"])) :
|
|
22366
|
-
], 64)) :
|
|
22365
|
+
}, 8, ["size"])) : N("", !0)
|
|
22366
|
+
], 64)) : N("", !0)
|
|
22367
22367
|
];
|
|
22368
22368
|
}),
|
|
22369
22369
|
_: 1
|
|
@@ -22376,13 +22376,13 @@ const k_ = {
|
|
|
22376
22376
|
default: z(() => {
|
|
22377
22377
|
var St;
|
|
22378
22378
|
return [
|
|
22379
|
-
b.value ? (_(), M("span", $_, q((St = b.value) == null ? void 0 : St.name), 1)) :
|
|
22380
|
-
T.value ? (_(), M("span", P_, q(T.value > 0 ? "+" : "") + q(T.value.toFixed(2)) + "%", 1)) :
|
|
22379
|
+
b.value ? (_(), M("span", $_, q((St = b.value) == null ? void 0 : St.name), 1)) : N("", !0),
|
|
22380
|
+
T.value ? (_(), M("span", P_, q(T.value > 0 ? "+" : "") + q(T.value.toFixed(2)) + "%", 1)) : N("", !0)
|
|
22381
22381
|
];
|
|
22382
22382
|
}),
|
|
22383
22383
|
_: 1
|
|
22384
|
-
}, 8, ["size"])) :
|
|
22385
|
-
], 64)) :
|
|
22384
|
+
}, 8, ["size"])) : N("", !0)
|
|
22385
|
+
], 64)) : N("", !0),
|
|
22386
22386
|
o.value ? (_(), te(ze, {
|
|
22387
22387
|
key: 2,
|
|
22388
22388
|
size: A(i),
|
|
@@ -22392,7 +22392,7 @@ const k_ = {
|
|
|
22392
22392
|
ee(" Фиксированный курс: " + q(o.value), 1)
|
|
22393
22393
|
]),
|
|
22394
22394
|
_: 1
|
|
22395
|
-
}, 8, ["size"])) :
|
|
22395
|
+
}, 8, ["size"])) : N("", !0),
|
|
22396
22396
|
u.value && ((On = p.value) != null && On.manager) ? (_(), te(ze, {
|
|
22397
22397
|
key: 3,
|
|
22398
22398
|
size: A(i),
|
|
@@ -22402,7 +22402,7 @@ const k_ = {
|
|
|
22402
22402
|
onClose: he
|
|
22403
22403
|
}, {
|
|
22404
22404
|
default: z(() => [
|
|
22405
|
-
|
|
22405
|
+
H(le, {
|
|
22406
22406
|
placement: "bottom",
|
|
22407
22407
|
trigger: "hover"
|
|
22408
22408
|
}, {
|
|
@@ -22410,7 +22410,7 @@ const k_ = {
|
|
|
22410
22410
|
var St, bi;
|
|
22411
22411
|
return [
|
|
22412
22412
|
k("span", T_, [
|
|
22413
|
-
|
|
22413
|
+
H(Le),
|
|
22414
22414
|
ee(" " + q((bi = (St = p.value) == null ? void 0 : St.manager) == null ? void 0 : bi.name), 1)
|
|
22415
22415
|
])
|
|
22416
22416
|
];
|
|
@@ -22425,17 +22425,17 @@ const k_ = {
|
|
|
22425
22425
|
})
|
|
22426
22426
|
]),
|
|
22427
22427
|
_: 1
|
|
22428
|
-
}, 8, ["size"])) :
|
|
22428
|
+
}, 8, ["size"])) : N("", !0)
|
|
22429
22429
|
])
|
|
22430
22430
|
];
|
|
22431
22431
|
}),
|
|
22432
22432
|
"sub-header": z(() => [
|
|
22433
22433
|
t.showSlugs || t.showProperties ? (_(), M("div", R_, [
|
|
22434
22434
|
k("ul", F_, [
|
|
22435
|
-
t.showSlugs ? (_(!0), M(be, { key: 0 }, Pt({ id: t.categoryItem.id, slug: t.categoryItem.slug }, (Ke, ae) => (_(), M("li", { key: ae }, " (" + q(ae) + "): " + q(Ke), 1))), 128)) :
|
|
22436
|
-
t.showProperties ? (_(!0), M(be, { key: 1 }, Pt(t.categoryItem.properties, (Ke, ae) => (_(), M("li", { key: ae }, " (" + q(ae) + "): " + q(Ke), 1))), 128)) :
|
|
22435
|
+
t.showSlugs ? (_(!0), M(be, { key: 0 }, Pt({ id: t.categoryItem.id, slug: t.categoryItem.slug }, (Ke, ae) => (_(), M("li", { key: ae }, " (" + q(ae) + "): " + q(Ke), 1))), 128)) : N("", !0),
|
|
22436
|
+
t.showProperties ? (_(!0), M(be, { key: 1 }, Pt(t.categoryItem.properties, (Ke, ae) => (_(), M("li", { key: ae }, " (" + q(ae) + "): " + q(Ke), 1))), 128)) : N("", !0)
|
|
22437
22437
|
])
|
|
22438
|
-
])) :
|
|
22438
|
+
])) : N("", !0)
|
|
22439
22439
|
]),
|
|
22440
22440
|
"header-extra": z(() => {
|
|
22441
22441
|
var Ke;
|
|
@@ -22447,7 +22447,7 @@ const k_ = {
|
|
|
22447
22447
|
trigger: "hover"
|
|
22448
22448
|
}, {
|
|
22449
22449
|
trigger: z(() => [
|
|
22450
|
-
|
|
22450
|
+
H(ye, {
|
|
22451
22451
|
ghost: !0,
|
|
22452
22452
|
size: A(i),
|
|
22453
22453
|
onClick: j
|
|
@@ -22472,20 +22472,20 @@ const k_ = {
|
|
|
22472
22472
|
];
|
|
22473
22473
|
}),
|
|
22474
22474
|
_: 1
|
|
22475
|
-
})) :
|
|
22475
|
+
})) : N("", !0),
|
|
22476
22476
|
u.value && !((Ke = p.value) != null && Ke.manager) ? (_(), te(le, {
|
|
22477
22477
|
key: 1,
|
|
22478
22478
|
placement: "bottom",
|
|
22479
22479
|
trigger: "hover"
|
|
22480
22480
|
}, {
|
|
22481
22481
|
trigger: z(() => [
|
|
22482
|
-
|
|
22482
|
+
H(ye, {
|
|
22483
22483
|
ghost: !0,
|
|
22484
22484
|
size: A(i),
|
|
22485
22485
|
onClick: ce
|
|
22486
22486
|
}, {
|
|
22487
22487
|
default: z(() => [
|
|
22488
|
-
|
|
22488
|
+
H(Ht)
|
|
22489
22489
|
]),
|
|
22490
22490
|
_: 1
|
|
22491
22491
|
}, 8, ["size"])
|
|
@@ -22501,14 +22501,14 @@ const k_ = {
|
|
|
22501
22501
|
];
|
|
22502
22502
|
}),
|
|
22503
22503
|
_: 1
|
|
22504
|
-
})) :
|
|
22504
|
+
})) : N("", !0),
|
|
22505
22505
|
d.value ? (_(), te(le, {
|
|
22506
22506
|
key: 2,
|
|
22507
22507
|
placement: "bottom",
|
|
22508
22508
|
trigger: "hover"
|
|
22509
22509
|
}, {
|
|
22510
22510
|
trigger: z(() => [
|
|
22511
|
-
|
|
22511
|
+
H(ye, {
|
|
22512
22512
|
ghost: !0,
|
|
22513
22513
|
disabled: d.value === "disabled",
|
|
22514
22514
|
size: A(i),
|
|
@@ -22527,21 +22527,21 @@ const k_ = {
|
|
|
22527
22527
|
L[4] || (L[4] = ee(" Категория, которую нужно предлагать клиенту ", -1))
|
|
22528
22528
|
]),
|
|
22529
22529
|
_: 1
|
|
22530
|
-
})) :
|
|
22530
|
+
})) : N("", !0),
|
|
22531
22531
|
h.value ? (_(), te(le, {
|
|
22532
22532
|
key: 3,
|
|
22533
22533
|
placement: "bottom",
|
|
22534
22534
|
trigger: "hover"
|
|
22535
22535
|
}, {
|
|
22536
22536
|
trigger: z(() => [
|
|
22537
|
-
|
|
22537
|
+
H(ye, {
|
|
22538
22538
|
ghost: !0,
|
|
22539
22539
|
size: A(i),
|
|
22540
22540
|
type: "primary",
|
|
22541
22541
|
onClick: O
|
|
22542
22542
|
}, {
|
|
22543
22543
|
default: z(() => [
|
|
22544
|
-
|
|
22544
|
+
H(yi)
|
|
22545
22545
|
]),
|
|
22546
22546
|
_: 1
|
|
22547
22547
|
}, 8, ["size"])
|
|
@@ -22550,7 +22550,7 @@ const k_ = {
|
|
|
22550
22550
|
L[5] || (L[5] = ee(" Редактировать ", -1))
|
|
22551
22551
|
]),
|
|
22552
22552
|
_: 1
|
|
22553
|
-
})) :
|
|
22553
|
+
})) : N("", !0),
|
|
22554
22554
|
m.value.length > 0 ? (_(), te(jt, {
|
|
22555
22555
|
key: 4,
|
|
22556
22556
|
options: m.value,
|
|
@@ -22559,19 +22559,19 @@ const k_ = {
|
|
|
22559
22559
|
onSelect: I
|
|
22560
22560
|
}, {
|
|
22561
22561
|
default: z(() => [
|
|
22562
|
-
|
|
22562
|
+
H(ye, {
|
|
22563
22563
|
ghost: !0,
|
|
22564
22564
|
size: A(i),
|
|
22565
22565
|
type: "primary"
|
|
22566
22566
|
}, {
|
|
22567
22567
|
default: z(() => [
|
|
22568
|
-
|
|
22568
|
+
H(zi)
|
|
22569
22569
|
]),
|
|
22570
22570
|
_: 1
|
|
22571
22571
|
}, 8, ["size"])
|
|
22572
22572
|
]),
|
|
22573
22573
|
_: 1
|
|
22574
|
-
}, 8, ["options", "size"])) :
|
|
22574
|
+
}, 8, ["options", "size"])) : N("", !0)
|
|
22575
22575
|
])
|
|
22576
22576
|
];
|
|
22577
22577
|
}),
|
|
@@ -22606,7 +22606,7 @@ const k_ = {
|
|
|
22606
22606
|
"product-context-buttons-config": t.productContextButtonsConfig,
|
|
22607
22607
|
"show-configurator": t.showConfigurator,
|
|
22608
22608
|
"can-show-configurator": t.canShowConfigurator
|
|
22609
|
-
}, null, 8, ["categories-items", "has-products", "event-emitter", "filtered-items", "is-category-item-selected", "show-slugs", "show-properties", "allow-name-click", "allow-price-click", "show-price-history", "show-cost-date", "show-category-required-button", "show-category-hide-for-client-button", "show-category-pin-button", "show-category-edit-button", "category-context-buttons-config", "is-product-item-selected", "show-product-add-to-cart-button", "show-product-costs", "show-product-required-button", "show-product-edit-button", "product-context-buttons-config", "show-configurator", "can-show-configurator"])) :
|
|
22609
|
+
}, null, 8, ["categories-items", "has-products", "event-emitter", "filtered-items", "is-category-item-selected", "show-slugs", "show-properties", "allow-name-click", "allow-price-click", "show-price-history", "show-cost-date", "show-category-required-button", "show-category-hide-for-client-button", "show-category-pin-button", "show-category-edit-button", "category-context-buttons-config", "is-product-item-selected", "show-product-add-to-cart-button", "show-product-costs", "show-product-required-button", "show-product-edit-button", "product-context-buttons-config", "show-configurator", "can-show-configurator"])) : N("", !0)
|
|
22610
22610
|
]),
|
|
22611
22611
|
g.value && f.value ? (_(), te(__, {
|
|
22612
22612
|
key: 0,
|
|
@@ -22626,8 +22626,8 @@ const k_ = {
|
|
|
22626
22626
|
ee(" Назад в Конфигуратор ", -1)
|
|
22627
22627
|
])]),
|
|
22628
22628
|
_: 1
|
|
22629
|
-
})) :
|
|
22630
|
-
|
|
22629
|
+
})) : N("", !0),
|
|
22630
|
+
H(pn, {
|
|
22631
22631
|
columns: K.value,
|
|
22632
22632
|
data: a.value,
|
|
22633
22633
|
bordered: !0,
|
|
@@ -22637,21 +22637,21 @@ const k_ = {
|
|
|
22637
22637
|
"table-layout": w.value,
|
|
22638
22638
|
class: "mt-2"
|
|
22639
22639
|
}, null, 8, ["columns", "data", "loading", "row-key", "table-layout"])
|
|
22640
|
-
])) :
|
|
22640
|
+
])) : N("", !0),
|
|
22641
22641
|
!v.value && !y.value && !s.value && !l.value ? (_(), te(Li, {
|
|
22642
22642
|
key: 2,
|
|
22643
22643
|
"show-icon": !0,
|
|
22644
22644
|
type: "warning",
|
|
22645
22645
|
title: "Категория пуста",
|
|
22646
22646
|
class: "mx-10"
|
|
22647
|
-
})) :
|
|
22647
|
+
})) : N("", !0),
|
|
22648
22648
|
y.value ? (_(), te(Li, {
|
|
22649
22649
|
key: 3,
|
|
22650
22650
|
"show-icon": !0,
|
|
22651
22651
|
type: "error",
|
|
22652
22652
|
title: "При получении данных произошла ошибка",
|
|
22653
22653
|
class: "mx-10"
|
|
22654
|
-
})) :
|
|
22654
|
+
})) : N("", !0),
|
|
22655
22655
|
v.value ? (_(), te(Fi, {
|
|
22656
22656
|
key: 4,
|
|
22657
22657
|
size: A(i),
|
|
@@ -22661,7 +22661,7 @@ const k_ = {
|
|
|
22661
22661
|
k("div", null, "Выполняется загрузка данных ...", -1)
|
|
22662
22662
|
])]),
|
|
22663
22663
|
_: 1
|
|
22664
|
-
}, 8, ["size"])) :
|
|
22664
|
+
}, 8, ["size"])) : N("", !0)
|
|
22665
22665
|
];
|
|
22666
22666
|
}, !0)
|
|
22667
22667
|
]),
|
|
@@ -22777,14 +22777,14 @@ const k_ = {
|
|
|
22777
22777
|
k("div", null, "Выполняется загрузка данных ...", -1)
|
|
22778
22778
|
])]),
|
|
22779
22779
|
_: 1
|
|
22780
|
-
}, 8, ["size"])) :
|
|
22780
|
+
}, 8, ["size"])) : N("", !0),
|
|
22781
22781
|
!t.hasProducts && !t.loading && t.categoriesItems.length > 0 && n.value.length === 0 ? (_(), te(l, {
|
|
22782
22782
|
key: 2,
|
|
22783
22783
|
"show-icon": !0,
|
|
22784
22784
|
type: "warning",
|
|
22785
22785
|
title: "Товары не найдены",
|
|
22786
22786
|
class: "mx-10"
|
|
22787
|
-
})) :
|
|
22787
|
+
})) : N("", !0)
|
|
22788
22788
|
], 64);
|
|
22789
22789
|
};
|
|
22790
22790
|
}
|
|
@@ -22844,7 +22844,7 @@ const k_ = {
|
|
|
22844
22844
|
"onUpdate:value": c
|
|
22845
22845
|
}, null, 8, ["value", "clearable", "consistent-menu-width", "disabled", "filterable", "max-tag-count", "multiple", "options"]));
|
|
22846
22846
|
}
|
|
22847
|
-
}), j_ = {},
|
|
22847
|
+
}), j_ = {}, q4 = /* @__PURE__ */ re({
|
|
22848
22848
|
...j_,
|
|
22849
22849
|
__name: "set-client-price-form-item",
|
|
22850
22850
|
props: {
|
|
@@ -22972,7 +22972,7 @@ const k_ = {
|
|
|
22972
22972
|
class: We(["w-full flex-row", { "sm:col-span-2": o.value }])
|
|
22973
22973
|
}, {
|
|
22974
22974
|
default: z(() => [
|
|
22975
|
-
|
|
22975
|
+
H(V_, {
|
|
22976
22976
|
class: "w-full min-w-0 flex-1",
|
|
22977
22977
|
value: u.value,
|
|
22978
22978
|
"reference-list": c.value,
|
|
@@ -22982,7 +22982,7 @@ const k_ = {
|
|
|
22982
22982
|
"show-empty-value": !0,
|
|
22983
22983
|
"onUpdate:value": v
|
|
22984
22984
|
}, null, 8, ["value", "reference-list", "clearable", "disabled"]),
|
|
22985
|
-
|
|
22985
|
+
H(S, {
|
|
22986
22986
|
value: d.value,
|
|
22987
22987
|
"onUpdate:value": [
|
|
22988
22988
|
w[0] || (w[0] = (D) => d.value = D),
|
|
@@ -23008,7 +23008,7 @@ const k_ = {
|
|
|
23008
23008
|
]), 1032, ["value", "clearable", "disabled"])
|
|
23009
23009
|
]),
|
|
23010
23010
|
_: 1
|
|
23011
|
-
}, 8, ["class"])) :
|
|
23011
|
+
}, 8, ["class"])) : N("", !0),
|
|
23012
23012
|
o.value || t.calculationType === A(Hr).m2Cost ? (_(), te(S, {
|
|
23013
23013
|
key: 1,
|
|
23014
23014
|
value: h.value,
|
|
@@ -23031,7 +23031,7 @@ const k_ = {
|
|
|
23031
23031
|
}),
|
|
23032
23032
|
key: "0"
|
|
23033
23033
|
} : void 0
|
|
23034
|
-
]), 1032, ["value", "clearable", "disabled"])) :
|
|
23034
|
+
]), 1032, ["value", "clearable", "disabled"])) : N("", !0)
|
|
23035
23035
|
], 2)
|
|
23036
23036
|
]),
|
|
23037
23037
|
_: 1
|
|
@@ -23142,7 +23142,7 @@ const k_ = {
|
|
|
23142
23142
|
fn: z(() => [
|
|
23143
23143
|
g.$slots["extra-action"] ? (_(), M("div", q_, [
|
|
23144
23144
|
Re(g.$slots, "extra-action")
|
|
23145
|
-
])) :
|
|
23145
|
+
])) : N("", !0),
|
|
23146
23146
|
g.$slots.action || t.acceptButton.show || t.cancelButton.show ? (_(), M("div", U_, [
|
|
23147
23147
|
Re(g.$slots, "action", { disabled: o.value }),
|
|
23148
23148
|
t.acceptButton.show ?? !0 ? (_(), te(m, {
|
|
@@ -23156,7 +23156,7 @@ const k_ = {
|
|
|
23156
23156
|
ee(q(t.acceptButton.text ?? "ОК"), 1)
|
|
23157
23157
|
]),
|
|
23158
23158
|
_: 1
|
|
23159
|
-
}, 8, ["disabled", "size"])) :
|
|
23159
|
+
}, 8, ["disabled", "size"])) : N("", !0),
|
|
23160
23160
|
t.cancelButton.show ?? !0 ? (_(), te(m, {
|
|
23161
23161
|
key: 1,
|
|
23162
23162
|
size: A(a),
|
|
@@ -23167,15 +23167,15 @@ const k_ = {
|
|
|
23167
23167
|
ee(q(t.cancelButton.text ?? "Отмена"), 1)
|
|
23168
23168
|
]),
|
|
23169
23169
|
_: 1
|
|
23170
|
-
}, 8, ["size"])) :
|
|
23171
|
-
])) :
|
|
23170
|
+
}, 8, ["size"])) : N("", !0)
|
|
23171
|
+
])) : N("", !0)
|
|
23172
23172
|
]),
|
|
23173
23173
|
key: "1"
|
|
23174
23174
|
} : void 0
|
|
23175
23175
|
]), 1032, ["loading", "show", "size", "style", "title", "trap-focus", "action-class"]);
|
|
23176
23176
|
};
|
|
23177
23177
|
}
|
|
23178
|
-
}), K_ = { class: "text-sm" }, G_ = { class: "text-sm" }, Z_ = {},
|
|
23178
|
+
}), K_ = { class: "text-sm" }, G_ = { class: "text-sm" }, Z_ = {}, U4 = /* @__PURE__ */ re({
|
|
23179
23179
|
...Z_,
|
|
23180
23180
|
__name: "add-product-to-cart-dialog",
|
|
23181
23181
|
emits: ["submit"],
|
|
@@ -23306,7 +23306,7 @@ const k_ = {
|
|
|
23306
23306
|
label: `Метраж, ${v.value + r.value.unit.name}`
|
|
23307
23307
|
}, Bn({
|
|
23308
23308
|
default: z(() => [
|
|
23309
|
-
|
|
23309
|
+
H(A(yt), {
|
|
23310
23310
|
value: u.value.length,
|
|
23311
23311
|
"onUpdate:value": [
|
|
23312
23312
|
S[0] || (S[0] = (Y) => u.value.length = Y),
|
|
@@ -23331,15 +23331,15 @@ const k_ = {
|
|
|
23331
23331
|
]),
|
|
23332
23332
|
key: "0"
|
|
23333
23333
|
} : void 0
|
|
23334
|
-
]), 1032, ["label"])) :
|
|
23335
|
-
|
|
23334
|
+
]), 1032, ["label"])) : N("", !0),
|
|
23335
|
+
H(b, {
|
|
23336
23336
|
path: "quantity",
|
|
23337
23337
|
label: "Количество, шт."
|
|
23338
23338
|
}, {
|
|
23339
23339
|
default: z(() => [
|
|
23340
|
-
|
|
23340
|
+
H(R, null, Bn({
|
|
23341
23341
|
default: z(() => [
|
|
23342
|
-
|
|
23342
|
+
H(A(yt), {
|
|
23343
23343
|
value: u.value.quantity,
|
|
23344
23344
|
"onUpdate:value": [
|
|
23345
23345
|
S[3] || (S[3] = (Y) => u.value.quantity = Y),
|
|
@@ -23362,7 +23362,7 @@ const k_ = {
|
|
|
23362
23362
|
ee(" x " + q(p.value) + " " + q(r.value.unit.name), 1)
|
|
23363
23363
|
]),
|
|
23364
23364
|
_: 1
|
|
23365
|
-
})) :
|
|
23365
|
+
})) : N("", !0)
|
|
23366
23366
|
]),
|
|
23367
23367
|
_: 2
|
|
23368
23368
|
}, [
|
|
@@ -23383,7 +23383,7 @@ const k_ = {
|
|
|
23383
23383
|
label: "Маркировка"
|
|
23384
23384
|
}, {
|
|
23385
23385
|
default: z(() => [
|
|
23386
|
-
|
|
23386
|
+
H(A(fn), {
|
|
23387
23387
|
value: u.value.marker ?? null,
|
|
23388
23388
|
placeholder: "Введите маркировку",
|
|
23389
23389
|
onInput: S[6] || (S[6] = (Y) => A($t)(g.value, "marker")),
|
|
@@ -23392,7 +23392,7 @@ const k_ = {
|
|
|
23392
23392
|
}, null, 8, ["value", "onFocus"])
|
|
23393
23393
|
]),
|
|
23394
23394
|
_: 1
|
|
23395
|
-
})) :
|
|
23395
|
+
})) : N("", !0),
|
|
23396
23396
|
c.value ? (_(), te(V, {
|
|
23397
23397
|
key: 2,
|
|
23398
23398
|
checked: u.value.isAdditionalSale,
|
|
@@ -23404,10 +23404,10 @@ const k_ = {
|
|
|
23404
23404
|
ee(" ДопПродажа ", -1)
|
|
23405
23405
|
])]),
|
|
23406
23406
|
_: 1
|
|
23407
|
-
}, 8, ["checked"])) :
|
|
23407
|
+
}, 8, ["checked"])) : N("", !0)
|
|
23408
23408
|
]),
|
|
23409
23409
|
_: 1
|
|
23410
|
-
}, 8, ["model", "rules", "onKeydown"])) :
|
|
23410
|
+
}, 8, ["model", "rules", "onKeydown"])) : N("", !0)
|
|
23411
23411
|
];
|
|
23412
23412
|
}),
|
|
23413
23413
|
_: 1
|
|
@@ -23449,11 +23449,11 @@ const k_ = {
|
|
|
23449
23449
|
onClick: a[0] || (a[0] = (d) => o.$emit("click:client-info", t.client))
|
|
23450
23450
|
}, {
|
|
23451
23451
|
default: z(() => [
|
|
23452
|
-
|
|
23452
|
+
H(l)
|
|
23453
23453
|
]),
|
|
23454
23454
|
_: 1
|
|
23455
|
-
})) :
|
|
23456
|
-
|
|
23455
|
+
})) : N("", !0),
|
|
23456
|
+
H(u, {
|
|
23457
23457
|
disabled: A(ut)(t.popoverPosition),
|
|
23458
23458
|
placement: t.popoverPosition
|
|
23459
23459
|
}, {
|
|
@@ -23470,15 +23470,15 @@ const k_ = {
|
|
|
23470
23470
|
t.showSalesDirection && t.client.salesDirection ? (_(), M("span", {
|
|
23471
23471
|
key: 0,
|
|
23472
23472
|
class: We({ "line-through": !t.client.isActive })
|
|
23473
|
-
}, " (" + q(t.client.salesDirection.name) + ") ", 3)) :
|
|
23474
|
-
t.client.isActive ?
|
|
23473
|
+
}, " (" + q(t.client.salesDirection.name) + ") ", 3)) : N("", !0),
|
|
23474
|
+
t.client.isActive ? N("", !0) : (_(), M("span", t1, " [ Деактивирован ] "))
|
|
23475
23475
|
], 8, e1),
|
|
23476
|
-
t.showCityAndRegion && t.client.city ? (_(), M("span", i1, " г. " + q(t.client.city.name) + ", " + q(t.client.city.region.name), 1)) :
|
|
23476
|
+
t.showCityAndRegion && t.client.city ? (_(), M("span", i1, " г. " + q(t.client.city.name) + ", " + q(t.client.city.region.name), 1)) : N("", !0)
|
|
23477
23477
|
])
|
|
23478
23478
|
]),
|
|
23479
23479
|
default: z(() => [
|
|
23480
|
-
t.client.alternativeName ? (_(), M("div", n1, q(t.client.alternativeName), 1)) :
|
|
23481
|
-
s.value ? (_(), M("span", s1, " Последний вход: " + q(s.value), 1)) :
|
|
23480
|
+
t.client.alternativeName ? (_(), M("div", n1, q(t.client.alternativeName), 1)) : N("", !0),
|
|
23481
|
+
s.value ? (_(), M("span", s1, " Последний вход: " + q(s.value), 1)) : N("", !0),
|
|
23482
23482
|
Re(o.$slots, "popover-content")
|
|
23483
23483
|
]),
|
|
23484
23484
|
_: 3
|
|
@@ -23514,7 +23514,7 @@ function u1(t, e) {
|
|
|
23514
23514
|
], -1)
|
|
23515
23515
|
])]);
|
|
23516
23516
|
}
|
|
23517
|
-
const d1 = He({ name: "tabler-mail", render: u1 }), h1 = ["href"], f1 = {},
|
|
23517
|
+
const d1 = He({ name: "tabler-mail", render: u1 }), h1 = ["href"], f1 = {}, X4 = /* @__PURE__ */ re({
|
|
23518
23518
|
...f1,
|
|
23519
23519
|
__name: "email",
|
|
23520
23520
|
props: {
|
|
@@ -23527,7 +23527,7 @@ const d1 = He({ name: "tabler-mail", render: u1 }), h1 = ["href"], f1 = {}, U4 =
|
|
|
23527
23527
|
return _(), M("span", {
|
|
23528
23528
|
class: We({ "flex flex-row items-center gap-1": t.showEmailIcon })
|
|
23529
23529
|
}, [
|
|
23530
|
-
t.showEmailIcon ? (_(), te(n, { key: 0 })) :
|
|
23530
|
+
t.showEmailIcon ? (_(), te(n, { key: 0 })) : N("", !0),
|
|
23531
23531
|
k("a", {
|
|
23532
23532
|
href: `mailto:${t.email}`,
|
|
23533
23533
|
class: "no-underline"
|
|
@@ -23676,7 +23676,7 @@ function R1(t, e) {
|
|
|
23676
23676
|
const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
|
|
23677
23677
|
key: 0,
|
|
23678
23678
|
class: "absolute left-0 top-0 flex w-full flex-row items-center justify-around text-center backdrop-blur-sm"
|
|
23679
|
-
}, A1 = ["href"], M1 = ["href"], I1 = ["href"], E1 = ["href"], O1 = {},
|
|
23679
|
+
}, A1 = ["href"], M1 = ["href"], I1 = ["href"], E1 = ["href"], O1 = {}, Y4 = /* @__PURE__ */ re({
|
|
23680
23680
|
...O1,
|
|
23681
23681
|
__name: "phone",
|
|
23682
23682
|
props: {
|
|
@@ -23713,7 +23713,7 @@ const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
|
|
|
23713
23713
|
k("div", {
|
|
23714
23714
|
class: We({ "flex flex-row items-center gap-1": t.showPhoneIcon })
|
|
23715
23715
|
}, [
|
|
23716
|
-
t.showPhoneIcon ? (_(), te(c, { key: 0 })) :
|
|
23716
|
+
t.showPhoneIcon ? (_(), te(c, { key: 0 })) : N("", !0),
|
|
23717
23717
|
ee(" " + q(s.value), 1)
|
|
23718
23718
|
], 2),
|
|
23719
23719
|
n.value && o.value ? (_(), M("div", B1, [
|
|
@@ -23722,8 +23722,8 @@ const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
|
|
|
23722
23722
|
href: `tel:${r.value}`,
|
|
23723
23723
|
class: "text-blue-600 hover:animate-pulse hover:text-blue-600"
|
|
23724
23724
|
}, [
|
|
23725
|
-
|
|
23726
|
-
], 8, A1)) :
|
|
23725
|
+
H(u)
|
|
23726
|
+
], 8, A1)) : N("", !0),
|
|
23727
23727
|
n.value ? (_(), M("a", {
|
|
23728
23728
|
key: 1,
|
|
23729
23729
|
href: `https://t.me/${r.value}`,
|
|
@@ -23731,8 +23731,8 @@ const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
|
|
|
23731
23731
|
rel: "noopener noreferrer",
|
|
23732
23732
|
class: "hover:animate-pulse"
|
|
23733
23733
|
}, [
|
|
23734
|
-
|
|
23735
|
-
], 8, M1)) :
|
|
23734
|
+
H(d)
|
|
23735
|
+
], 8, M1)) : N("", !0),
|
|
23736
23736
|
n.value ? (_(), M("a", {
|
|
23737
23737
|
key: 2,
|
|
23738
23738
|
href: `https://wa.me/${r.value.substring(1)}`,
|
|
@@ -23740,16 +23740,16 @@ const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
|
|
|
23740
23740
|
rel: "noopener noreferrer",
|
|
23741
23741
|
class: "hover:animate-pulse"
|
|
23742
23742
|
}, [
|
|
23743
|
-
|
|
23744
|
-
], 8, I1)) :
|
|
23743
|
+
H(h)
|
|
23744
|
+
], 8, I1)) : N("", !0),
|
|
23745
23745
|
n.value ? (_(), M("a", {
|
|
23746
23746
|
key: 3,
|
|
23747
23747
|
href: `viber://chat?number=${r.value}`,
|
|
23748
23748
|
class: "text-purple-600 hover:animate-pulse hover:text-purple-600"
|
|
23749
23749
|
}, [
|
|
23750
|
-
|
|
23751
|
-
], 8, E1)) :
|
|
23752
|
-
])) :
|
|
23750
|
+
H(g)
|
|
23751
|
+
], 8, E1)) : N("", !0)
|
|
23752
|
+
])) : N("", !0)
|
|
23753
23753
|
], 34)
|
|
23754
23754
|
]);
|
|
23755
23755
|
};
|
|
@@ -23794,7 +23794,7 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
|
|
|
23794
23794
|
}, ew = {
|
|
23795
23795
|
key: 0,
|
|
23796
23796
|
class: "-mt-1"
|
|
23797
|
-
}, tw = {},
|
|
23797
|
+
}, tw = {}, K4 = /* @__PURE__ */ re({
|
|
23798
23798
|
...tw,
|
|
23799
23799
|
__name: "person-contacts-block",
|
|
23800
23800
|
props: {
|
|
@@ -23827,7 +23827,7 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
|
|
|
23827
23827
|
var p, v;
|
|
23828
23828
|
const u = Kh, d = Yh, h = Xh, g = Uh, f = D1, m = In;
|
|
23829
23829
|
return _(), M("div", N1, [
|
|
23830
|
-
|
|
23830
|
+
H(m, {
|
|
23831
23831
|
disabled: t.fullView,
|
|
23832
23832
|
placement: "bottom"
|
|
23833
23833
|
}, {
|
|
@@ -23845,18 +23845,18 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
|
|
|
23845
23845
|
k("div", null, [
|
|
23846
23846
|
t.fullView && (t.contact.name || ($ = t.contact) != null && $.position) ? (_(), M("div", H1, [
|
|
23847
23847
|
ee(q(t.contact.name) + " ", 1),
|
|
23848
|
-
(x = t.contact) != null && x.position ? (_(), M("span", W1, q((F = t.contact) == null ? void 0 : F.position), 1)) :
|
|
23849
|
-
])) :
|
|
23850
|
-
t.contact.phone ? (_(), M("div", V1, q(s.value), 1)) :
|
|
23851
|
-
t.contact.email ? (_(), M("div", j1, q(t.contact.email), 1)) :
|
|
23848
|
+
(x = t.contact) != null && x.position ? (_(), M("span", W1, q((F = t.contact) == null ? void 0 : F.position), 1)) : N("", !0)
|
|
23849
|
+
])) : N("", !0),
|
|
23850
|
+
t.contact.phone ? (_(), M("div", V1, q(s.value), 1)) : N("", !0),
|
|
23851
|
+
t.contact.email ? (_(), M("div", j1, q(t.contact.email), 1)) : N("", !0),
|
|
23852
23852
|
o.value && a.value ? (_(), M("div", q1, [
|
|
23853
23853
|
n.value ? (_(), M("a", {
|
|
23854
23854
|
key: 0,
|
|
23855
23855
|
href: `tel:${r.value}`,
|
|
23856
23856
|
class: "text-blue-600 hover:text-3xl hover:text-blue-600"
|
|
23857
23857
|
}, [
|
|
23858
|
-
|
|
23859
|
-
], 8, U1)) :
|
|
23858
|
+
H(u)
|
|
23859
|
+
], 8, U1)) : N("", !0),
|
|
23860
23860
|
n.value ? (_(), M("a", {
|
|
23861
23861
|
key: 1,
|
|
23862
23862
|
href: `https://t.me/${r.value}`,
|
|
@@ -23864,8 +23864,8 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
|
|
|
23864
23864
|
rel: "noopener noreferrer",
|
|
23865
23865
|
class: "hover:text-3xl"
|
|
23866
23866
|
}, [
|
|
23867
|
-
|
|
23868
|
-
], 8, X1)) :
|
|
23867
|
+
H(d)
|
|
23868
|
+
], 8, X1)) : N("", !0),
|
|
23869
23869
|
n.value ? (_(), M("a", {
|
|
23870
23870
|
key: 2,
|
|
23871
23871
|
href: `https://wa.me/${r.value.substring(1)}`,
|
|
@@ -23873,23 +23873,23 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
|
|
|
23873
23873
|
rel: "noopener noreferrer",
|
|
23874
23874
|
class: "hover:text-3xl"
|
|
23875
23875
|
}, [
|
|
23876
|
-
|
|
23877
|
-
], 8, Y1)) :
|
|
23876
|
+
H(h)
|
|
23877
|
+
], 8, Y1)) : N("", !0),
|
|
23878
23878
|
n.value ? (_(), M("a", {
|
|
23879
23879
|
key: 3,
|
|
23880
23880
|
href: `viber://chat?number=${r.value}`,
|
|
23881
23881
|
class: "text-purple-600 hover:text-3xl hover:text-purple-600"
|
|
23882
23882
|
}, [
|
|
23883
|
-
|
|
23884
|
-
], 8, K1)) :
|
|
23883
|
+
H(g)
|
|
23884
|
+
], 8, K1)) : N("", !0),
|
|
23885
23885
|
t.contact.email ? (_(), M("a", {
|
|
23886
23886
|
key: 4,
|
|
23887
23887
|
href: `mailto:${t.contact.email}`,
|
|
23888
23888
|
class: "hover:text-3xl"
|
|
23889
23889
|
}, [
|
|
23890
|
-
|
|
23891
|
-
], 8, G1)) :
|
|
23892
|
-
])) :
|
|
23890
|
+
H(f)
|
|
23891
|
+
], 8, G1)) : N("", !0)
|
|
23892
|
+
])) : N("", !0)
|
|
23893
23893
|
])
|
|
23894
23894
|
], 38)
|
|
23895
23895
|
];
|
|
@@ -23899,12 +23899,12 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
|
|
|
23899
23899
|
return [
|
|
23900
23900
|
t.contact.name ? (_(), M("div", Z1, [
|
|
23901
23901
|
ee(q(t.contact.name) + " ", 1),
|
|
23902
|
-
(y = t.contact) != null && y.position ? (_(), M("span", Q1, q(($ = t.contact) == null ? void 0 : $.position), 1)) :
|
|
23903
|
-
])) :
|
|
23902
|
+
(y = t.contact) != null && y.position ? (_(), M("span", Q1, q(($ = t.contact) == null ? void 0 : $.position), 1)) : N("", !0)
|
|
23903
|
+
])) : N("", !0),
|
|
23904
23904
|
(x = t.contact) != null && x.comment ? (_(), M("div", J1, [
|
|
23905
23905
|
c[4] || (c[4] = k("sup", null, "**", -1)),
|
|
23906
23906
|
ee(" " + q((F = t.contact) == null ? void 0 : F.comment), 1)
|
|
23907
|
-
])) :
|
|
23907
|
+
])) : N("", !0)
|
|
23908
23908
|
];
|
|
23909
23909
|
}),
|
|
23910
23910
|
_: 1
|
|
@@ -23912,12 +23912,12 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
|
|
|
23912
23912
|
t.fullView && ((p = t.contact) != null && p.comment) ? (_(), M("div", ew, [
|
|
23913
23913
|
c[5] || (c[5] = k("sup", null, "**", -1)),
|
|
23914
23914
|
ee(" " + q((v = t.contact) == null ? void 0 : v.comment), 1)
|
|
23915
|
-
])) :
|
|
23915
|
+
])) : N("", !0)
|
|
23916
23916
|
]);
|
|
23917
23917
|
};
|
|
23918
23918
|
}
|
|
23919
23919
|
});
|
|
23920
|
-
class
|
|
23920
|
+
class G4 {
|
|
23921
23921
|
/**
|
|
23922
23922
|
* Инициализирует экземпляр класса {@link ConfiguratorSettingsMosquito}.
|
|
23923
23923
|
*
|
|
@@ -23975,11 +23975,11 @@ class K4 {
|
|
|
23975
23975
|
this.color = e.color, this.crossbarCount = e.crossbarCount, this.descriptions = ba(e.descriptions), this.maxHeights = e.maxHeights, this.maxWidths = e.maxWidths, this.minHeight = e.minHeight, this.minWidth = e.minWidth, this.mountType = e.mountType, this.netType = e.netType, this.heightOverlaps = ba(e.heightOverlaps), this.widthOverlaps = ba(e.widthOverlaps), this.canSetDopProdaga = e.canSetDopProdaga;
|
|
23976
23976
|
}
|
|
23977
23977
|
}
|
|
23978
|
-
function
|
|
23978
|
+
function Z4(t) {
|
|
23979
23979
|
var e;
|
|
23980
23980
|
return ((e = t.properties) == null ? void 0 : e.configurator) !== Gt.SandwichM2 ? !0 : t.properties.configuratorSettings !== void 0 && kt(t.products) && t.products.length > 0;
|
|
23981
23981
|
}
|
|
23982
|
-
const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, sw = { class: "flex flex-col" }, rw = {},
|
|
23982
|
+
const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, sw = { class: "flex flex-col" }, rw = {}, Q4 = /* @__PURE__ */ re({
|
|
23983
23983
|
...rw,
|
|
23984
23984
|
__name: "date-range",
|
|
23985
23985
|
props: {
|
|
@@ -24015,7 +24015,7 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
|
|
|
24015
24015
|
var u, d, h, g, f, m;
|
|
24016
24016
|
const l = Ne, c = wg;
|
|
24017
24017
|
return _(), M("div", iw, [
|
|
24018
|
-
|
|
24018
|
+
H(c, {
|
|
24019
24019
|
value: ((d = (u = t.dateRange) == null ? void 0 : u.from) == null ? void 0 : d.getTime()) ?? null,
|
|
24020
24020
|
clearable: t.clearable,
|
|
24021
24021
|
"is-date-disabled": (p) => {
|
|
@@ -24056,7 +24056,7 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
|
|
|
24056
24056
|
key: "0"
|
|
24057
24057
|
} : void 0
|
|
24058
24058
|
]), 1032, ["value", "clearable", "is-date-disabled", "disabled", "format"]),
|
|
24059
|
-
|
|
24059
|
+
H(c, {
|
|
24060
24060
|
value: ((f = (g = t.dateRange) == null ? void 0 : g.to) == null ? void 0 : f.getTime()) ?? null,
|
|
24061
24061
|
clearable: t.clearable,
|
|
24062
24062
|
"is-date-disabled": (p) => {
|
|
@@ -24118,10 +24118,10 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
|
|
|
24118
24118
|
t.isShowTime ? (_(), M("span", {
|
|
24119
24119
|
key: 0,
|
|
24120
24120
|
class: We([{ "text-sc-grey": t.isTimeSecondary, "ml-1": !t.isTimeOnSecondLine }, "sc-lbl-time"])
|
|
24121
|
-
}, q(n.value), 3)) :
|
|
24121
|
+
}, q(n.value), 3)) : N("", !0)
|
|
24122
24122
|
], 2));
|
|
24123
24123
|
}
|
|
24124
|
-
}), lw = { class: "flex flex-row gap-2.5" }, cw = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, uw = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, dw = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, hw = {},
|
|
24124
|
+
}), lw = { class: "flex flex-row gap-2.5" }, cw = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, uw = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, dw = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, hw = {}, J4 = /* @__PURE__ */ re({
|
|
24125
24125
|
...hw,
|
|
24126
24126
|
__name: "dialog-header",
|
|
24127
24127
|
props: {
|
|
@@ -24144,13 +24144,13 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
|
|
|
24144
24144
|
placement: "bottom"
|
|
24145
24145
|
}, {
|
|
24146
24146
|
trigger: z(() => [
|
|
24147
|
-
|
|
24147
|
+
H(s, {
|
|
24148
24148
|
size: "small",
|
|
24149
24149
|
type: "error",
|
|
24150
24150
|
onClick: i[0] || (i[0] = (o) => e.$emit("close"))
|
|
24151
24151
|
}, {
|
|
24152
24152
|
default: z(() => [
|
|
24153
|
-
|
|
24153
|
+
H(n)
|
|
24154
24154
|
]),
|
|
24155
24155
|
_: 1
|
|
24156
24156
|
})
|
|
@@ -24159,7 +24159,7 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
|
|
|
24159
24159
|
i[1] || (i[1] = ee(" Закрыть ", -1))
|
|
24160
24160
|
]),
|
|
24161
24161
|
_: 1
|
|
24162
|
-
})) :
|
|
24162
|
+
})) : N("", !0)
|
|
24163
24163
|
])
|
|
24164
24164
|
])
|
|
24165
24165
|
])
|
|
@@ -24191,7 +24191,7 @@ function gw(t, e) {
|
|
|
24191
24191
|
}, null, -1)
|
|
24192
24192
|
])]);
|
|
24193
24193
|
}
|
|
24194
|
-
const mw = He({ name: "ion-download-outline", render: gw }), pw = {},
|
|
24194
|
+
const mw = He({ name: "ion-download-outline", render: gw }), pw = {}, e6 = /* @__PURE__ */ re({
|
|
24195
24195
|
...pw,
|
|
24196
24196
|
__name: "single-file-upload-selector",
|
|
24197
24197
|
props: {
|
|
@@ -24231,11 +24231,11 @@ const mw = He({ name: "ion-download-outline", render: gw }), pw = {}, J4 = /* @_
|
|
|
24231
24231
|
"onUpdate:fileList": o
|
|
24232
24232
|
}, {
|
|
24233
24233
|
default: z(() => [
|
|
24234
|
-
|
|
24234
|
+
H(A(kg), null, {
|
|
24235
24235
|
default: z(() => [
|
|
24236
24236
|
Re(a.$slots, "dragged-area", {}, () => [
|
|
24237
24237
|
k("div", null, [
|
|
24238
|
-
|
|
24238
|
+
H(c, { class: "text-2xl" }),
|
|
24239
24239
|
k("div", null, q(t.draggedAreaText ?? "Перетащите в эту область файл, который необходимо загрузить."), 1)
|
|
24240
24240
|
])
|
|
24241
24241
|
])
|
|
@@ -24345,7 +24345,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
|
|
|
24345
24345
|
placement: "bottom"
|
|
24346
24346
|
}, {
|
|
24347
24347
|
trigger: z(() => [
|
|
24348
|
-
|
|
24348
|
+
H(d, {
|
|
24349
24349
|
disabled: t.disabled || n.value,
|
|
24350
24350
|
type: "info",
|
|
24351
24351
|
ghost: "",
|
|
@@ -24353,7 +24353,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
|
|
|
24353
24353
|
onClick: s
|
|
24354
24354
|
}, {
|
|
24355
24355
|
default: z(() => [
|
|
24356
|
-
|
|
24356
|
+
H(u)
|
|
24357
24357
|
]),
|
|
24358
24358
|
_: 1
|
|
24359
24359
|
}, 8, ["disabled"])
|
|
@@ -24362,21 +24362,21 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
|
|
|
24362
24362
|
c[0] || (c[0] = ee(" Редактировать данные ", -1))
|
|
24363
24363
|
]),
|
|
24364
24364
|
_: 1
|
|
24365
|
-
})) :
|
|
24365
|
+
})) : N("", !0),
|
|
24366
24366
|
t.showApplyButton ? (_(), te(h, {
|
|
24367
24367
|
key: 1,
|
|
24368
24368
|
disabled: n.value,
|
|
24369
24369
|
placement: "bottom"
|
|
24370
24370
|
}, {
|
|
24371
24371
|
trigger: z(() => [
|
|
24372
|
-
|
|
24372
|
+
H(d, {
|
|
24373
24373
|
disabled: t.disabled || n.value,
|
|
24374
24374
|
type: "primary",
|
|
24375
24375
|
size: "small",
|
|
24376
24376
|
onClick: o
|
|
24377
24377
|
}, {
|
|
24378
24378
|
default: z(() => [
|
|
24379
|
-
|
|
24379
|
+
H(g)
|
|
24380
24380
|
]),
|
|
24381
24381
|
_: 1
|
|
24382
24382
|
}, 8, ["disabled"])
|
|
@@ -24385,20 +24385,20 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
|
|
|
24385
24385
|
c[1] || (c[1] = ee(" Сохранить изменения ", -1))
|
|
24386
24386
|
]),
|
|
24387
24387
|
_: 1
|
|
24388
|
-
}, 8, ["disabled"])) :
|
|
24388
|
+
}, 8, ["disabled"])) : N("", !0),
|
|
24389
24389
|
t.showCancelButton ? (_(), te(h, {
|
|
24390
24390
|
key: 2,
|
|
24391
24391
|
placement: "bottom"
|
|
24392
24392
|
}, {
|
|
24393
24393
|
trigger: z(() => [
|
|
24394
|
-
|
|
24394
|
+
H(d, {
|
|
24395
24395
|
disabled: t.disabled || n.value,
|
|
24396
24396
|
type: "error",
|
|
24397
24397
|
size: "small",
|
|
24398
24398
|
onClick: a
|
|
24399
24399
|
}, {
|
|
24400
24400
|
default: z(() => [
|
|
24401
|
-
|
|
24401
|
+
H(f)
|
|
24402
24402
|
]),
|
|
24403
24403
|
_: 1
|
|
24404
24404
|
}, 8, ["disabled"])
|
|
@@ -24407,7 +24407,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
|
|
|
24407
24407
|
c[2] || (c[2] = ee(" Отменить изменения ", -1))
|
|
24408
24408
|
]),
|
|
24409
24409
|
_: 1
|
|
24410
|
-
})) :
|
|
24410
|
+
})) : N("", !0)
|
|
24411
24411
|
]),
|
|
24412
24412
|
Re(l.$slots, "extra-buttons")
|
|
24413
24413
|
])
|
|
@@ -24471,7 +24471,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
|
|
|
24471
24471
|
}, 8, ["disabled", "show-edit-button"]))
|
|
24472
24472
|
]));
|
|
24473
24473
|
}
|
|
24474
|
-
}), Fw = {},
|
|
24474
|
+
}), Fw = {}, t6 = /* @__PURE__ */ re({
|
|
24475
24475
|
...Fw,
|
|
24476
24476
|
__name: "debounced-input",
|
|
24477
24477
|
props: {
|
|
@@ -24509,7 +24509,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
|
|
|
24509
24509
|
_: 3
|
|
24510
24510
|
}, 8, ["value", "clearable", "placeholder"]));
|
|
24511
24511
|
}
|
|
24512
|
-
}), Bw = {},
|
|
24512
|
+
}), Bw = {}, i6 = /* @__PURE__ */ re({
|
|
24513
24513
|
...Bw,
|
|
24514
24514
|
__name: "debounced-input-number",
|
|
24515
24515
|
props: {
|
|
@@ -24644,7 +24644,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
|
|
|
24644
24644
|
class: "tel-input"
|
|
24645
24645
|
}, null, 8, ["modelValue", "default-country", "disabled", "input-options", "preferred-countries", "only-countries"]));
|
|
24646
24646
|
}
|
|
24647
|
-
}),
|
|
24647
|
+
}), n6 = /* @__PURE__ */ es(Mw, [["__scopeId", "data-v-751dbb0e"]]), Iw = {
|
|
24648
24648
|
viewBox: "0 0 24 24",
|
|
24649
24649
|
width: "1.2em",
|
|
24650
24650
|
height: "1.2em"
|
|
@@ -24661,7 +24661,7 @@ function Ew(t, e) {
|
|
|
24661
24661
|
}, null, -1)
|
|
24662
24662
|
])]);
|
|
24663
24663
|
}
|
|
24664
|
-
const Ow = He({ name: "tabler-external-link", render: Ew }), zw = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, Lw = ["href"], Dw = {},
|
|
24664
|
+
const Ow = He({ name: "tabler-external-link", render: Ew }), zw = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, Lw = ["href"], Dw = {}, s6 = /* @__PURE__ */ re({
|
|
24665
24665
|
...Dw,
|
|
24666
24666
|
__name: "external-link",
|
|
24667
24667
|
props: {
|
|
@@ -24683,7 +24683,7 @@ const Ow = He({ name: "tabler-external-link", render: Ew }), zw = { class: "flex
|
|
|
24683
24683
|
target: "_blank",
|
|
24684
24684
|
class: "no-underline"
|
|
24685
24685
|
}, q(t.text), 9, Lw),
|
|
24686
|
-
|
|
24686
|
+
H(n, { class: "mt-0.5 flex-none" })
|
|
24687
24687
|
])
|
|
24688
24688
|
]),
|
|
24689
24689
|
default: z(() => [
|
|
@@ -28016,7 +28016,7 @@ const ek = "n", tk = `.${ek}-`, ik = "__", nk = "--", Ef = mf(), Of = J2({
|
|
|
28016
28016
|
Ef.use(Of);
|
|
28017
28017
|
const {
|
|
28018
28018
|
c: we,
|
|
28019
|
-
find:
|
|
28019
|
+
find: r6
|
|
28020
28020
|
} = Ef, {
|
|
28021
28021
|
cB: Te,
|
|
28022
28022
|
cE: Ae,
|
|
@@ -29786,25 +29786,25 @@ const lc = {
|
|
|
29786
29786
|
let x = !1, F = !1, B, w, S = 0, b = 0, T = 0, R = 0;
|
|
29787
29787
|
const V = jx(), D = ti("Scrollbar", "-scrollbar", pC, lc, t, e), j = E(() => {
|
|
29788
29788
|
const {
|
|
29789
|
-
value:
|
|
29789
|
+
value: W
|
|
29790
29790
|
} = h, {
|
|
29791
29791
|
value: se
|
|
29792
29792
|
} = u, {
|
|
29793
29793
|
value: me
|
|
29794
29794
|
} = f;
|
|
29795
|
-
return
|
|
29795
|
+
return W === null || se === null || me === null ? 0 : Math.min(W, me * W / se + Tr(D.value.self.width) * 1.5);
|
|
29796
29796
|
}), Y = E(() => `${j.value}px`), ce = E(() => {
|
|
29797
29797
|
const {
|
|
29798
|
-
value:
|
|
29798
|
+
value: W
|
|
29799
29799
|
} = g, {
|
|
29800
29800
|
value: se
|
|
29801
29801
|
} = d, {
|
|
29802
29802
|
value: me
|
|
29803
29803
|
} = m;
|
|
29804
|
-
return
|
|
29804
|
+
return W === null || se === null || me === null ? 0 : me * W / se + Tr(D.value.self.height) * 1.5;
|
|
29805
29805
|
}), he = E(() => `${ce.value}px`), O = E(() => {
|
|
29806
29806
|
const {
|
|
29807
|
-
value:
|
|
29807
|
+
value: W
|
|
29808
29808
|
} = h, {
|
|
29809
29809
|
value: se
|
|
29810
29810
|
} = p, {
|
|
@@ -29812,15 +29812,15 @@ const lc = {
|
|
|
29812
29812
|
} = u, {
|
|
29813
29813
|
value: Ce
|
|
29814
29814
|
} = f;
|
|
29815
|
-
if (
|
|
29815
|
+
if (W === null || me === null || Ce === null)
|
|
29816
29816
|
return 0;
|
|
29817
29817
|
{
|
|
29818
|
-
const Se = me -
|
|
29818
|
+
const Se = me - W;
|
|
29819
29819
|
return Se ? se / Se * (Ce - j.value) : 0;
|
|
29820
29820
|
}
|
|
29821
29821
|
}), I = E(() => `${O.value}px`), G = E(() => {
|
|
29822
29822
|
const {
|
|
29823
|
-
value:
|
|
29823
|
+
value: W
|
|
29824
29824
|
} = g, {
|
|
29825
29825
|
value: se
|
|
29826
29826
|
} = v, {
|
|
@@ -29828,50 +29828,50 @@ const lc = {
|
|
|
29828
29828
|
} = d, {
|
|
29829
29829
|
value: Ce
|
|
29830
29830
|
} = m;
|
|
29831
|
-
if (
|
|
29831
|
+
if (W === null || me === null || Ce === null)
|
|
29832
29832
|
return 0;
|
|
29833
29833
|
{
|
|
29834
|
-
const Se = me -
|
|
29834
|
+
const Se = me - W;
|
|
29835
29835
|
return Se ? se / Se * (Ce - ce.value) : 0;
|
|
29836
29836
|
}
|
|
29837
29837
|
}), ie = E(() => `${G.value}px`), K = E(() => {
|
|
29838
29838
|
const {
|
|
29839
|
-
value:
|
|
29839
|
+
value: W
|
|
29840
29840
|
} = h, {
|
|
29841
29841
|
value: se
|
|
29842
29842
|
} = u;
|
|
29843
|
-
return
|
|
29843
|
+
return W !== null && se !== null && se > W;
|
|
29844
29844
|
}), J = E(() => {
|
|
29845
29845
|
const {
|
|
29846
|
-
value:
|
|
29846
|
+
value: W
|
|
29847
29847
|
} = g, {
|
|
29848
29848
|
value: se
|
|
29849
29849
|
} = d;
|
|
29850
|
-
return
|
|
29850
|
+
return W !== null && se !== null && se > W;
|
|
29851
29851
|
}), Z = E(() => {
|
|
29852
29852
|
const {
|
|
29853
|
-
trigger:
|
|
29853
|
+
trigger: W
|
|
29854
29854
|
} = t;
|
|
29855
|
-
return
|
|
29855
|
+
return W === "none" || y.value;
|
|
29856
29856
|
}), L = E(() => {
|
|
29857
29857
|
const {
|
|
29858
|
-
trigger:
|
|
29858
|
+
trigger: W
|
|
29859
29859
|
} = t;
|
|
29860
|
-
return
|
|
29860
|
+
return W === "none" || $.value;
|
|
29861
29861
|
}), Q = E(() => {
|
|
29862
29862
|
const {
|
|
29863
|
-
container:
|
|
29863
|
+
container: W
|
|
29864
29864
|
} = t;
|
|
29865
|
-
return
|
|
29865
|
+
return W ? W() : o.value;
|
|
29866
29866
|
}), ne = E(() => {
|
|
29867
29867
|
const {
|
|
29868
|
-
content:
|
|
29868
|
+
content: W
|
|
29869
29869
|
} = t;
|
|
29870
|
-
return
|
|
29871
|
-
}), le = (
|
|
29870
|
+
return W ? W() : a.value;
|
|
29871
|
+
}), le = (W, se) => {
|
|
29872
29872
|
if (!t.scrollable) return;
|
|
29873
|
-
if (typeof
|
|
29874
|
-
ye(
|
|
29873
|
+
if (typeof W == "number") {
|
|
29874
|
+
ye(W, se ?? 0, 0, !1, "auto");
|
|
29875
29875
|
return;
|
|
29876
29876
|
}
|
|
29877
29877
|
const {
|
|
@@ -29883,7 +29883,7 @@ const lc = {
|
|
|
29883
29883
|
behavior: Ee,
|
|
29884
29884
|
el: gt,
|
|
29885
29885
|
debounce: Zi = !0
|
|
29886
|
-
} =
|
|
29886
|
+
} = W;
|
|
29887
29887
|
(me !== void 0 || Ce !== void 0) && ye(me ?? 0, Ce ?? 0, 0, !1, Ee), gt !== void 0 ? ye(0, gt.offsetTop, gt.offsetHeight, Zi, Ee) : Se !== void 0 && Fe !== void 0 ? ye(0, Se * Fe, Fe, Zi, Ee) : Ie === "bottom" ? ye(0, Number.MAX_SAFE_INTEGER, 0, !1, Ee) : Ie === "top" && ye(0, 0, 0, !1, Ee);
|
|
29888
29888
|
}, ke = Z2(() => {
|
|
29889
29889
|
t.container || le({
|
|
@@ -29892,20 +29892,20 @@ const lc = {
|
|
|
29892
29892
|
});
|
|
29893
29893
|
}), ze = () => {
|
|
29894
29894
|
ke.isDeactivated || ve();
|
|
29895
|
-
}, Le = (
|
|
29895
|
+
}, Le = (W) => {
|
|
29896
29896
|
if (ke.isDeactivated) return;
|
|
29897
29897
|
const {
|
|
29898
29898
|
onResize: se
|
|
29899
29899
|
} = t;
|
|
29900
|
-
se && se(
|
|
29901
|
-
}, ot = (
|
|
29900
|
+
se && se(W), ve();
|
|
29901
|
+
}, ot = (W, se) => {
|
|
29902
29902
|
if (!t.scrollable) return;
|
|
29903
29903
|
const {
|
|
29904
29904
|
value: me
|
|
29905
29905
|
} = Q;
|
|
29906
|
-
me && (typeof
|
|
29906
|
+
me && (typeof W == "object" ? me.scrollBy(W) : me.scrollBy(W, se || 0));
|
|
29907
29907
|
};
|
|
29908
|
-
function ye(
|
|
29908
|
+
function ye(W, se, me, Ce, Se) {
|
|
29909
29909
|
const {
|
|
29910
29910
|
value: Fe
|
|
29911
29911
|
} = Q;
|
|
@@ -29917,7 +29917,7 @@ const lc = {
|
|
|
29917
29917
|
} = Fe;
|
|
29918
29918
|
if (se > Ie) {
|
|
29919
29919
|
se + me <= Ie + Ee || Fe.scrollTo({
|
|
29920
|
-
left:
|
|
29920
|
+
left: W,
|
|
29921
29921
|
top: se + me - Ee,
|
|
29922
29922
|
behavior: Se
|
|
29923
29923
|
});
|
|
@@ -29925,7 +29925,7 @@ const lc = {
|
|
|
29925
29925
|
}
|
|
29926
29926
|
}
|
|
29927
29927
|
Fe.scrollTo({
|
|
29928
|
-
left:
|
|
29928
|
+
left: W,
|
|
29929
29929
|
top: se,
|
|
29930
29930
|
behavior: Se
|
|
29931
29931
|
});
|
|
@@ -29956,23 +29956,23 @@ const lc = {
|
|
|
29956
29956
|
function pn() {
|
|
29957
29957
|
w !== void 0 && window.clearTimeout(w), $.value = !0;
|
|
29958
29958
|
}
|
|
29959
|
-
function Li(
|
|
29959
|
+
function Li(W) {
|
|
29960
29960
|
const {
|
|
29961
29961
|
onScroll: se
|
|
29962
29962
|
} = t;
|
|
29963
|
-
se && se(
|
|
29963
|
+
se && se(W), Fi();
|
|
29964
29964
|
}
|
|
29965
29965
|
function Fi() {
|
|
29966
29966
|
const {
|
|
29967
|
-
value:
|
|
29967
|
+
value: W
|
|
29968
29968
|
} = Q;
|
|
29969
|
-
|
|
29969
|
+
W && (p.value = W.scrollTop, v.value = W.scrollLeft * (s != null && s.value ? -1 : 1));
|
|
29970
29970
|
}
|
|
29971
29971
|
function Ke() {
|
|
29972
29972
|
const {
|
|
29973
|
-
value:
|
|
29973
|
+
value: W
|
|
29974
29974
|
} = ne;
|
|
29975
|
-
|
|
29975
|
+
W && (u.value = W.offsetHeight, d.value = W.offsetWidth);
|
|
29976
29976
|
const {
|
|
29977
29977
|
value: se
|
|
29978
29978
|
} = Q;
|
|
@@ -29986,9 +29986,9 @@ const lc = {
|
|
|
29986
29986
|
}
|
|
29987
29987
|
function ae() {
|
|
29988
29988
|
const {
|
|
29989
|
-
value:
|
|
29989
|
+
value: W
|
|
29990
29990
|
} = Q;
|
|
29991
|
-
|
|
29991
|
+
W && (p.value = W.scrollTop, v.value = W.scrollLeft * (s != null && s.value ? -1 : 1), h.value = W.offsetHeight, g.value = W.offsetWidth, u.value = W.scrollHeight, d.value = W.scrollWidth);
|
|
29992
29992
|
const {
|
|
29993
29993
|
value: se
|
|
29994
29994
|
} = c, {
|
|
@@ -29999,14 +29999,14 @@ const lc = {
|
|
|
29999
29999
|
function ve() {
|
|
30000
30000
|
t.scrollable && (t.useUnifiedContainer ? ae() : (Ke(), Fi()));
|
|
30001
30001
|
}
|
|
30002
|
-
function tt(
|
|
30002
|
+
function tt(W) {
|
|
30003
30003
|
var se;
|
|
30004
|
-
return !(!((se = r.value) === null || se === void 0) && se.contains(Pr(
|
|
30004
|
+
return !(!((se = r.value) === null || se === void 0) && se.contains(Pr(W)));
|
|
30005
30005
|
}
|
|
30006
|
-
function On(
|
|
30007
|
-
|
|
30006
|
+
function On(W) {
|
|
30007
|
+
W.preventDefault(), W.stopPropagation(), F = !0, ci("mousemove", window, St, !0), ci("mouseup", window, bi, !0), b = v.value, T = s != null && s.value ? window.innerWidth - W.clientX : W.clientX;
|
|
30008
30008
|
}
|
|
30009
|
-
function St(
|
|
30009
|
+
function St(W) {
|
|
30010
30010
|
if (!F) return;
|
|
30011
30011
|
B !== void 0 && window.clearTimeout(B), w !== void 0 && window.clearTimeout(w);
|
|
30012
30012
|
const {
|
|
@@ -30017,7 +30017,7 @@ const lc = {
|
|
|
30017
30017
|
value: Ce
|
|
30018
30018
|
} = ce;
|
|
30019
30019
|
if (se === null || me === null) return;
|
|
30020
|
-
const Fe = (s != null && s.value ? window.innerWidth -
|
|
30020
|
+
const Fe = (s != null && s.value ? window.innerWidth - W.clientX - T : W.clientX - T) * (me - se) / (se - Ce), Ie = me - se;
|
|
30021
30021
|
let Ee = b + Fe;
|
|
30022
30022
|
Ee = Math.min(Ie, Ee), Ee = Math.max(Ee, 0);
|
|
30023
30023
|
const {
|
|
@@ -30031,13 +30031,13 @@ const lc = {
|
|
|
30031
30031
|
Zi && Zi(Ee);
|
|
30032
30032
|
}
|
|
30033
30033
|
}
|
|
30034
|
-
function bi(
|
|
30035
|
-
|
|
30034
|
+
function bi(W) {
|
|
30035
|
+
W.preventDefault(), W.stopPropagation(), At("mousemove", window, St, !0), At("mouseup", window, bi, !0), F = !1, ve(), tt(W) && ii();
|
|
30036
30036
|
}
|
|
30037
|
-
function zs(
|
|
30038
|
-
|
|
30037
|
+
function zs(W) {
|
|
30038
|
+
W.preventDefault(), W.stopPropagation(), x = !0, ci("mousemove", window, zn, !0), ci("mouseup", window, is, !0), S = p.value, R = W.clientY;
|
|
30039
30039
|
}
|
|
30040
|
-
function zn(
|
|
30040
|
+
function zn(W) {
|
|
30041
30041
|
if (!x) return;
|
|
30042
30042
|
B !== void 0 && window.clearTimeout(B), w !== void 0 && window.clearTimeout(w);
|
|
30043
30043
|
const {
|
|
@@ -30048,7 +30048,7 @@ const lc = {
|
|
|
30048
30048
|
value: Ce
|
|
30049
30049
|
} = j;
|
|
30050
30050
|
if (se === null || me === null) return;
|
|
30051
|
-
const Fe = (
|
|
30051
|
+
const Fe = (W.clientY - R) * (me - se) / (se - Ce), Ie = me - se;
|
|
30052
30052
|
let Ee = S + Fe;
|
|
30053
30053
|
Ee = Math.min(Ie, Ee), Ee = Math.max(Ee, 0);
|
|
30054
30054
|
const {
|
|
@@ -30056,12 +30056,12 @@ const lc = {
|
|
|
30056
30056
|
} = Q;
|
|
30057
30057
|
gt && (gt.scrollTop = Ee);
|
|
30058
30058
|
}
|
|
30059
|
-
function is(
|
|
30060
|
-
|
|
30059
|
+
function is(W) {
|
|
30060
|
+
W.preventDefault(), W.stopPropagation(), At("mousemove", window, zn, !0), At("mouseup", window, is, !0), x = !1, ve(), tt(W) && ii();
|
|
30061
30061
|
}
|
|
30062
30062
|
An(() => {
|
|
30063
30063
|
const {
|
|
30064
|
-
value:
|
|
30064
|
+
value: W
|
|
30065
30065
|
} = J, {
|
|
30066
30066
|
value: se
|
|
30067
30067
|
} = K, {
|
|
@@ -30071,7 +30071,7 @@ const lc = {
|
|
|
30071
30071
|
} = c, {
|
|
30072
30072
|
value: Se
|
|
30073
30073
|
} = l;
|
|
30074
|
-
Ce && (
|
|
30074
|
+
Ce && (W ? Ce.classList.remove(`${me}-scrollbar-rail--disabled`) : Ce.classList.add(`${me}-scrollbar-rail--disabled`)), Se && (se ? Se.classList.remove(`${me}-scrollbar-rail--disabled`) : Se.classList.add(`${me}-scrollbar-rail--disabled`));
|
|
30075
30075
|
}), lt(() => {
|
|
30076
30076
|
t.container || ve();
|
|
30077
30077
|
}), Ri(() => {
|
|
@@ -30080,7 +30080,7 @@ const lc = {
|
|
|
30080
30080
|
const Ls = E(() => {
|
|
30081
30081
|
const {
|
|
30082
30082
|
common: {
|
|
30083
|
-
cubicBezierEaseInOut:
|
|
30083
|
+
cubicBezierEaseInOut: W
|
|
30084
30084
|
},
|
|
30085
30085
|
self: {
|
|
30086
30086
|
color: se,
|
|
@@ -30116,7 +30116,7 @@ const lc = {
|
|
|
30116
30116
|
left: pa
|
|
30117
30117
|
} = ji(s != null && s.value ? fd(Zi) : Zi);
|
|
30118
30118
|
return {
|
|
30119
|
-
"--n-scrollbar-bezier":
|
|
30119
|
+
"--n-scrollbar-bezier": W,
|
|
30120
30120
|
"--n-scrollbar-color": se,
|
|
30121
30121
|
"--n-scrollbar-color-hover": me,
|
|
30122
30122
|
"--n-scrollbar-border-radius": Fe,
|
|
@@ -33163,7 +33163,7 @@ const Gf = {
|
|
|
33163
33163
|
caretColor: Ls,
|
|
33164
33164
|
colorDisabled: Di,
|
|
33165
33165
|
textColorDisabled: vn,
|
|
33166
|
-
placeholderColorDisabled:
|
|
33166
|
+
placeholderColorDisabled: W,
|
|
33167
33167
|
colorActive: se,
|
|
33168
33168
|
boxShadowFocus: me,
|
|
33169
33169
|
boxShadowActive: Ce,
|
|
@@ -33229,7 +33229,7 @@ const Gf = {
|
|
|
33229
33229
|
"--n-padding-single-bottom": Lr.bottom,
|
|
33230
33230
|
"--n-padding-multiple-bottom": Dr.bottom,
|
|
33231
33231
|
"--n-placeholder-color": bi,
|
|
33232
|
-
"--n-placeholder-color-disabled":
|
|
33232
|
+
"--n-placeholder-color-disabled": W,
|
|
33233
33233
|
"--n-text-color": zs,
|
|
33234
33234
|
"--n-text-color-disabled": vn,
|
|
33235
33235
|
"--n-arrow-color": Zi,
|
|
@@ -33768,9 +33768,9 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33768
33768
|
inlineThemeDisabled: s
|
|
33769
33769
|
} = Is(t), r = ti("Select", "-select", iS, tS, t, e), o = X(t.defaultValue), a = st(t, "value"), l = yl(a, o), c = X(!1), u = X(""), d = af(t, ["items", "options"]), h = X([]), g = X([]), f = E(() => g.value.concat(h.value).concat(d.value)), m = E(() => {
|
|
33770
33770
|
const {
|
|
33771
|
-
filter:
|
|
33771
|
+
filter: W
|
|
33772
33772
|
} = t;
|
|
33773
|
-
if (
|
|
33773
|
+
if (W) return W;
|
|
33774
33774
|
const {
|
|
33775
33775
|
labelField: se,
|
|
33776
33776
|
valueField: me
|
|
@@ -33788,28 +33788,28 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33788
33788
|
return d.value;
|
|
33789
33789
|
{
|
|
33790
33790
|
const {
|
|
33791
|
-
value:
|
|
33791
|
+
value: W
|
|
33792
33792
|
} = f, {
|
|
33793
33793
|
value: se
|
|
33794
33794
|
} = u;
|
|
33795
|
-
return !se.length || !t.filterable ?
|
|
33795
|
+
return !se.length || !t.filterable ? W : sS(W, m.value, se, t.childrenField);
|
|
33796
33796
|
}
|
|
33797
33797
|
}), v = E(() => {
|
|
33798
33798
|
const {
|
|
33799
|
-
valueField:
|
|
33799
|
+
valueField: W,
|
|
33800
33800
|
childrenField: se
|
|
33801
|
-
} = t, me = nS(
|
|
33801
|
+
} = t, me = nS(W, se);
|
|
33802
33802
|
return Fx(p.value, me);
|
|
33803
33803
|
}), y = E(() => rS(f.value, t.valueField, t.childrenField)), $ = X(!1), x = yl(st(t, "show"), $), F = X(null), B = X(null), w = X(null), {
|
|
33804
33804
|
localeRef: S
|
|
33805
33805
|
} = Lf("Select"), b = E(() => {
|
|
33806
|
-
var
|
|
33807
|
-
return (
|
|
33806
|
+
var W;
|
|
33807
|
+
return (W = t.placeholder) !== null && W !== void 0 ? W : S.value.placeholder;
|
|
33808
33808
|
}), T = [], R = X(/* @__PURE__ */ new Map()), V = E(() => {
|
|
33809
33809
|
const {
|
|
33810
|
-
fallbackOption:
|
|
33810
|
+
fallbackOption: W
|
|
33811
33811
|
} = t;
|
|
33812
|
-
if (
|
|
33812
|
+
if (W === void 0) {
|
|
33813
33813
|
const {
|
|
33814
33814
|
labelField: se,
|
|
33815
33815
|
valueField: me
|
|
@@ -33819,11 +33819,11 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33819
33819
|
[me]: Ce
|
|
33820
33820
|
});
|
|
33821
33821
|
}
|
|
33822
|
-
return
|
|
33822
|
+
return W === !1 ? !1 : (se) => Object.assign(W(se), {
|
|
33823
33823
|
value: se
|
|
33824
33824
|
});
|
|
33825
33825
|
});
|
|
33826
|
-
function D(
|
|
33826
|
+
function D(W) {
|
|
33827
33827
|
const se = t.remote, {
|
|
33828
33828
|
value: me
|
|
33829
33829
|
} = R, {
|
|
@@ -33831,7 +33831,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33831
33831
|
} = y, {
|
|
33832
33832
|
value: Se
|
|
33833
33833
|
} = V, Fe = [];
|
|
33834
|
-
return
|
|
33834
|
+
return W.forEach((Ie) => {
|
|
33835
33835
|
if (Ce.has(Ie))
|
|
33836
33836
|
Fe.push(Ce.get(Ie));
|
|
33837
33837
|
else if (se && me.has(Ie))
|
|
@@ -33845,22 +33845,22 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33845
33845
|
const j = E(() => {
|
|
33846
33846
|
if (t.multiple) {
|
|
33847
33847
|
const {
|
|
33848
|
-
value:
|
|
33848
|
+
value: W
|
|
33849
33849
|
} = l;
|
|
33850
|
-
return Array.isArray(
|
|
33850
|
+
return Array.isArray(W) ? D(W) : [];
|
|
33851
33851
|
}
|
|
33852
33852
|
return null;
|
|
33853
33853
|
}), Y = E(() => {
|
|
33854
33854
|
const {
|
|
33855
|
-
value:
|
|
33855
|
+
value: W
|
|
33856
33856
|
} = l;
|
|
33857
|
-
return !t.multiple && !Array.isArray(
|
|
33857
|
+
return !t.multiple && !Array.isArray(W) ? W === null ? null : D([W])[0] || null : null;
|
|
33858
33858
|
}), ce = dk(t), {
|
|
33859
33859
|
mergedSizeRef: he,
|
|
33860
33860
|
mergedDisabledRef: O,
|
|
33861
33861
|
mergedStatusRef: I
|
|
33862
33862
|
} = ce;
|
|
33863
|
-
function G(
|
|
33863
|
+
function G(W, se) {
|
|
33864
33864
|
const {
|
|
33865
33865
|
onChange: me,
|
|
33866
33866
|
"onUpdate:value": Ce,
|
|
@@ -33869,45 +33869,45 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33869
33869
|
nTriggerFormChange: Fe,
|
|
33870
33870
|
nTriggerFormInput: Ie
|
|
33871
33871
|
} = ce;
|
|
33872
|
-
me && Zt(me,
|
|
33872
|
+
me && Zt(me, W, se), Se && Zt(Se, W, se), Ce && Zt(Ce, W, se), o.value = W, Fe(), Ie();
|
|
33873
33873
|
}
|
|
33874
|
-
function ie(
|
|
33874
|
+
function ie(W) {
|
|
33875
33875
|
const {
|
|
33876
33876
|
onBlur: se
|
|
33877
33877
|
} = t, {
|
|
33878
33878
|
nTriggerFormBlur: me
|
|
33879
33879
|
} = ce;
|
|
33880
|
-
se && Zt(se,
|
|
33880
|
+
se && Zt(se, W), me();
|
|
33881
33881
|
}
|
|
33882
33882
|
function K() {
|
|
33883
33883
|
const {
|
|
33884
|
-
onClear:
|
|
33884
|
+
onClear: W
|
|
33885
33885
|
} = t;
|
|
33886
|
-
|
|
33886
|
+
W && Zt(W);
|
|
33887
33887
|
}
|
|
33888
|
-
function J(
|
|
33888
|
+
function J(W) {
|
|
33889
33889
|
const {
|
|
33890
33890
|
onFocus: se,
|
|
33891
33891
|
showOnFocus: me
|
|
33892
33892
|
} = t, {
|
|
33893
33893
|
nTriggerFormFocus: Ce
|
|
33894
33894
|
} = ce;
|
|
33895
|
-
se && Zt(se,
|
|
33895
|
+
se && Zt(se, W), Ce(), me && le();
|
|
33896
33896
|
}
|
|
33897
|
-
function Z(
|
|
33897
|
+
function Z(W) {
|
|
33898
33898
|
const {
|
|
33899
33899
|
onSearch: se
|
|
33900
33900
|
} = t;
|
|
33901
|
-
se && Zt(se,
|
|
33901
|
+
se && Zt(se, W);
|
|
33902
33902
|
}
|
|
33903
|
-
function L(
|
|
33903
|
+
function L(W) {
|
|
33904
33904
|
const {
|
|
33905
33905
|
onScroll: se
|
|
33906
33906
|
} = t;
|
|
33907
|
-
se && Zt(se,
|
|
33907
|
+
se && Zt(se, W);
|
|
33908
33908
|
}
|
|
33909
33909
|
function Q() {
|
|
33910
|
-
var
|
|
33910
|
+
var W;
|
|
33911
33911
|
const {
|
|
33912
33912
|
remote: se,
|
|
33913
33913
|
multiple: me
|
|
@@ -33920,7 +33920,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33920
33920
|
const {
|
|
33921
33921
|
valueField: Se
|
|
33922
33922
|
} = t;
|
|
33923
|
-
(
|
|
33923
|
+
(W = j.value) === null || W === void 0 || W.forEach((Fe) => {
|
|
33924
33924
|
Ce.set(Fe[Se], Fe);
|
|
33925
33925
|
});
|
|
33926
33926
|
} else {
|
|
@@ -33929,12 +33929,12 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33929
33929
|
}
|
|
33930
33930
|
}
|
|
33931
33931
|
}
|
|
33932
|
-
function ne(
|
|
33932
|
+
function ne(W) {
|
|
33933
33933
|
const {
|
|
33934
33934
|
onUpdateShow: se,
|
|
33935
33935
|
"onUpdate:show": me
|
|
33936
33936
|
} = t;
|
|
33937
|
-
se && Zt(se,
|
|
33937
|
+
se && Zt(se, W), me && Zt(me, W), $.value = W;
|
|
33938
33938
|
}
|
|
33939
33939
|
function le() {
|
|
33940
33940
|
O.value || (ne(!0), $.value = !0, t.filterable && zn());
|
|
@@ -33955,32 +33955,32 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33955
33955
|
function Ht() {
|
|
33956
33956
|
O.value || (x.value ? t.filterable ? zn() : ke() : le());
|
|
33957
33957
|
}
|
|
33958
|
-
function Ve(
|
|
33958
|
+
function Ve(W) {
|
|
33959
33959
|
var se, me;
|
|
33960
|
-
!((me = (se = w.value) === null || se === void 0 ? void 0 : se.selfRef) === null || me === void 0) && me.contains(
|
|
33960
|
+
!((me = (se = w.value) === null || se === void 0 ? void 0 : se.selfRef) === null || me === void 0) && me.contains(W.relatedTarget) || (c.value = !1, ie(W), ke());
|
|
33961
33961
|
}
|
|
33962
|
-
function ii(
|
|
33963
|
-
J(
|
|
33962
|
+
function ii(W) {
|
|
33963
|
+
J(W), c.value = !0;
|
|
33964
33964
|
}
|
|
33965
33965
|
function yi() {
|
|
33966
33966
|
c.value = !0;
|
|
33967
33967
|
}
|
|
33968
|
-
function zi(
|
|
33968
|
+
function zi(W) {
|
|
33969
33969
|
var se;
|
|
33970
|
-
!((se = F.value) === null || se === void 0) && se.$el.contains(
|
|
33970
|
+
!((se = F.value) === null || se === void 0) && se.$el.contains(W.relatedTarget) || (c.value = !1, ie(W), ke());
|
|
33971
33971
|
}
|
|
33972
33972
|
function jt() {
|
|
33973
|
-
var
|
|
33974
|
-
(
|
|
33973
|
+
var W;
|
|
33974
|
+
(W = F.value) === null || W === void 0 || W.focus(), ke();
|
|
33975
33975
|
}
|
|
33976
|
-
function pn(
|
|
33976
|
+
function pn(W) {
|
|
33977
33977
|
var se;
|
|
33978
|
-
x.value && (!((se = F.value) === null || se === void 0) && se.$el.contains(Pr(
|
|
33978
|
+
x.value && (!((se = F.value) === null || se === void 0) && se.$el.contains(Pr(W)) || ke());
|
|
33979
33979
|
}
|
|
33980
|
-
function Li(
|
|
33981
|
-
if (!Array.isArray(
|
|
33980
|
+
function Li(W) {
|
|
33981
|
+
if (!Array.isArray(W)) return [];
|
|
33982
33982
|
if (V.value)
|
|
33983
|
-
return Array.from(
|
|
33983
|
+
return Array.from(W);
|
|
33984
33984
|
{
|
|
33985
33985
|
const {
|
|
33986
33986
|
remote: se
|
|
@@ -33991,15 +33991,15 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
33991
33991
|
const {
|
|
33992
33992
|
value: Ce
|
|
33993
33993
|
} = R;
|
|
33994
|
-
return
|
|
33994
|
+
return W.filter((Se) => me.has(Se) || Ce.has(Se));
|
|
33995
33995
|
} else
|
|
33996
|
-
return
|
|
33996
|
+
return W.filter((Ce) => me.has(Ce));
|
|
33997
33997
|
}
|
|
33998
33998
|
}
|
|
33999
|
-
function Fi(
|
|
34000
|
-
Ke(
|
|
33999
|
+
function Fi(W) {
|
|
34000
|
+
Ke(W.rawNode);
|
|
34001
34001
|
}
|
|
34002
|
-
function Ke(
|
|
34002
|
+
function Ke(W) {
|
|
34003
34003
|
if (O.value) return;
|
|
34004
34004
|
const {
|
|
34005
34005
|
tag: se,
|
|
@@ -34016,32 +34016,32 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34016
34016
|
Ee.length ? Ee.push(Ie) : h.value = [Ie], g.value = T;
|
|
34017
34017
|
}
|
|
34018
34018
|
}
|
|
34019
|
-
if (me && R.value.set(
|
|
34020
|
-
const Fe = Li(l.value), Ie = Fe.findIndex((Ee) => Ee ===
|
|
34019
|
+
if (me && R.value.set(W[Se], W), t.multiple) {
|
|
34020
|
+
const Fe = Li(l.value), Ie = Fe.findIndex((Ee) => Ee === W[Se]);
|
|
34021
34021
|
if (~Ie) {
|
|
34022
34022
|
if (Fe.splice(Ie, 1), se && !me) {
|
|
34023
|
-
const Ee = ae(
|
|
34023
|
+
const Ee = ae(W[Se]);
|
|
34024
34024
|
~Ee && (h.value.splice(Ee, 1), Ce && (u.value = ""));
|
|
34025
34025
|
}
|
|
34026
34026
|
} else
|
|
34027
|
-
Fe.push(
|
|
34027
|
+
Fe.push(W[Se]), Ce && (u.value = "");
|
|
34028
34028
|
G(Fe, D(Fe));
|
|
34029
34029
|
} else {
|
|
34030
34030
|
if (se && !me) {
|
|
34031
|
-
const Fe = ae(
|
|
34031
|
+
const Fe = ae(W[Se]);
|
|
34032
34032
|
~Fe ? h.value = [h.value[Fe]] : h.value = T;
|
|
34033
34033
|
}
|
|
34034
|
-
zs(), ke(), G(
|
|
34034
|
+
zs(), ke(), G(W[Se], W);
|
|
34035
34035
|
}
|
|
34036
34036
|
}
|
|
34037
|
-
function ae(
|
|
34038
|
-
return h.value.findIndex((me) => me[t.valueField] ===
|
|
34037
|
+
function ae(W) {
|
|
34038
|
+
return h.value.findIndex((me) => me[t.valueField] === W);
|
|
34039
34039
|
}
|
|
34040
|
-
function ve(
|
|
34040
|
+
function ve(W) {
|
|
34041
34041
|
x.value || le();
|
|
34042
34042
|
const {
|
|
34043
34043
|
value: se
|
|
34044
|
-
} =
|
|
34044
|
+
} = W.target;
|
|
34045
34045
|
u.value = se;
|
|
34046
34046
|
const {
|
|
34047
34047
|
tag: me,
|
|
@@ -34064,30 +34064,30 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34064
34064
|
d.value.some((gt) => gt[Ie] === Fe[Ie] || gt[Ee] === Fe[Ee]) || h.value.some((gt) => gt[Ie] === Fe[Ie] || gt[Ee] === Fe[Ee]) ? g.value = T : g.value = [Fe];
|
|
34065
34065
|
}
|
|
34066
34066
|
}
|
|
34067
|
-
function tt(
|
|
34068
|
-
|
|
34067
|
+
function tt(W) {
|
|
34068
|
+
W.stopPropagation();
|
|
34069
34069
|
const {
|
|
34070
34070
|
multiple: se
|
|
34071
34071
|
} = t;
|
|
34072
34072
|
!se && t.filterable && ke(), K(), se ? G([], []) : G(null, null);
|
|
34073
34073
|
}
|
|
34074
|
-
function On(
|
|
34075
|
-
!vr(
|
|
34074
|
+
function On(W) {
|
|
34075
|
+
!vr(W, "action") && !vr(W, "empty") && !vr(W, "header") && W.preventDefault();
|
|
34076
34076
|
}
|
|
34077
|
-
function St(
|
|
34078
|
-
L(
|
|
34077
|
+
function St(W) {
|
|
34078
|
+
L(W);
|
|
34079
34079
|
}
|
|
34080
|
-
function bi(
|
|
34080
|
+
function bi(W) {
|
|
34081
34081
|
var se, me, Ce, Se, Fe;
|
|
34082
34082
|
if (!t.keyboard) {
|
|
34083
|
-
|
|
34083
|
+
W.preventDefault();
|
|
34084
34084
|
return;
|
|
34085
34085
|
}
|
|
34086
|
-
switch (
|
|
34086
|
+
switch (W.key) {
|
|
34087
34087
|
case " ":
|
|
34088
34088
|
if (t.filterable)
|
|
34089
34089
|
break;
|
|
34090
|
-
|
|
34090
|
+
W.preventDefault();
|
|
34091
34091
|
// eslint-disable-next-line no-fallthrough
|
|
34092
34092
|
case "Enter":
|
|
34093
34093
|
if (!(!((se = F.value) === null || se === void 0) && se.isComposing)) {
|
|
@@ -34104,59 +34104,59 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34104
34104
|
}
|
|
34105
34105
|
}
|
|
34106
34106
|
}
|
|
34107
|
-
|
|
34107
|
+
W.preventDefault();
|
|
34108
34108
|
break;
|
|
34109
34109
|
case "ArrowUp":
|
|
34110
|
-
if (
|
|
34110
|
+
if (W.preventDefault(), t.loading) return;
|
|
34111
34111
|
x.value && ((Ce = w.value) === null || Ce === void 0 || Ce.prev());
|
|
34112
34112
|
break;
|
|
34113
34113
|
case "ArrowDown":
|
|
34114
|
-
if (
|
|
34114
|
+
if (W.preventDefault(), t.loading) return;
|
|
34115
34115
|
x.value ? (Se = w.value) === null || Se === void 0 || Se.next() : le();
|
|
34116
34116
|
break;
|
|
34117
34117
|
case "Escape":
|
|
34118
|
-
x.value && (ak(
|
|
34118
|
+
x.value && (ak(W), ke()), (Fe = F.value) === null || Fe === void 0 || Fe.focus();
|
|
34119
34119
|
break;
|
|
34120
34120
|
}
|
|
34121
34121
|
}
|
|
34122
34122
|
function zs() {
|
|
34123
|
-
var
|
|
34124
|
-
(
|
|
34123
|
+
var W;
|
|
34124
|
+
(W = F.value) === null || W === void 0 || W.focus();
|
|
34125
34125
|
}
|
|
34126
34126
|
function zn() {
|
|
34127
|
-
var
|
|
34128
|
-
(
|
|
34127
|
+
var W;
|
|
34128
|
+
(W = F.value) === null || W === void 0 || W.focusInput();
|
|
34129
34129
|
}
|
|
34130
34130
|
function is() {
|
|
34131
|
-
var
|
|
34132
|
-
x.value && ((
|
|
34131
|
+
var W;
|
|
34132
|
+
x.value && ((W = B.value) === null || W === void 0 || W.syncPosition());
|
|
34133
34133
|
}
|
|
34134
34134
|
Q(), xe(st(t, "options"), Q);
|
|
34135
34135
|
const Ls = {
|
|
34136
34136
|
focus: () => {
|
|
34137
|
-
var
|
|
34138
|
-
(
|
|
34137
|
+
var W;
|
|
34138
|
+
(W = F.value) === null || W === void 0 || W.focus();
|
|
34139
34139
|
},
|
|
34140
34140
|
focusInput: () => {
|
|
34141
|
-
var
|
|
34142
|
-
(
|
|
34141
|
+
var W;
|
|
34142
|
+
(W = F.value) === null || W === void 0 || W.focusInput();
|
|
34143
34143
|
},
|
|
34144
34144
|
blur: () => {
|
|
34145
|
-
var
|
|
34146
|
-
(
|
|
34145
|
+
var W;
|
|
34146
|
+
(W = F.value) === null || W === void 0 || W.blur();
|
|
34147
34147
|
},
|
|
34148
34148
|
blurInput: () => {
|
|
34149
|
-
var
|
|
34150
|
-
(
|
|
34149
|
+
var W;
|
|
34150
|
+
(W = F.value) === null || W === void 0 || W.blurInput();
|
|
34151
34151
|
}
|
|
34152
34152
|
}, Di = E(() => {
|
|
34153
34153
|
const {
|
|
34154
34154
|
self: {
|
|
34155
|
-
menuBoxShadow:
|
|
34155
|
+
menuBoxShadow: W
|
|
34156
34156
|
}
|
|
34157
34157
|
} = r.value;
|
|
34158
34158
|
return {
|
|
34159
|
-
"--n-menu-box-shadow":
|
|
34159
|
+
"--n-menu-box-shadow": W
|
|
34160
34160
|
};
|
|
34161
34161
|
}), vn = s ? Es("select", void 0, Di, t) : void 0;
|
|
34162
34162
|
return Object.assign(Object.assign({}, Ls), {
|
|
@@ -34478,7 +34478,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34478
34478
|
}), fS = { class: "col-span-2 flex flex-row gap-2.5" }, gS = { class: "flex-1" }, mS = { class: "text-sc-grey" }, pS = { class: "ml-2.5" }, vS = {
|
|
34479
34479
|
key: 0,
|
|
34480
34480
|
class: "flex-none"
|
|
34481
|
-
}, yS = {},
|
|
34481
|
+
}, yS = {}, o6 = /* @__PURE__ */ re({
|
|
34482
34482
|
...yS,
|
|
34483
34483
|
__name: "products-list",
|
|
34484
34484
|
props: {
|
|
@@ -34525,7 +34525,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34525
34525
|
Re(d.$slots, "header")
|
|
34526
34526
|
]),
|
|
34527
34527
|
footer: z(() => [
|
|
34528
|
-
|
|
34528
|
+
H(hS, {
|
|
34529
34529
|
value: s.value,
|
|
34530
34530
|
"onUpdate:value": [
|
|
34531
34531
|
h[0] || (h[0] = (v) => s.value = v),
|
|
@@ -34547,19 +34547,19 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34547
34547
|
ee(" --- Список пуст --- ", -1)
|
|
34548
34548
|
])]),
|
|
34549
34549
|
_: 1
|
|
34550
|
-
})) :
|
|
34550
|
+
})) : N("", !0),
|
|
34551
34551
|
(_(!0), M(be, null, Pt(o.value, (v) => (_(), te(g, {
|
|
34552
34552
|
key: v.id
|
|
34553
34553
|
}, {
|
|
34554
34554
|
suffix: z(() => [
|
|
34555
|
-
|
|
34555
|
+
H(m, {
|
|
34556
34556
|
disabled: t.disabled,
|
|
34557
34557
|
quaternary: "",
|
|
34558
34558
|
type: "error",
|
|
34559
34559
|
onClick: (y) => u(v)
|
|
34560
34560
|
}, {
|
|
34561
34561
|
default: z(() => [
|
|
34562
|
-
|
|
34562
|
+
H(f)
|
|
34563
34563
|
]),
|
|
34564
34564
|
_: 1
|
|
34565
34565
|
}, 8, ["disabled", "onClick"])
|
|
@@ -34575,7 +34575,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34575
34575
|
item: v,
|
|
34576
34576
|
updateItemCallback: c
|
|
34577
34577
|
})
|
|
34578
|
-
])) :
|
|
34578
|
+
])) : N("", !0)
|
|
34579
34579
|
])
|
|
34580
34580
|
]),
|
|
34581
34581
|
_: 2
|
|
@@ -34641,7 +34641,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34641
34641
|
t.item.configurator === A(Gt).Kozyrek ? (_(), M("span", kS, [
|
|
34642
34642
|
d[2] || (d[2] = ee(" Длина: ", -1)),
|
|
34643
34643
|
k("span", CS, q(Math.round(t.item.length * 1e3)) + " мм.", 1)
|
|
34644
|
-
])) :
|
|
34644
|
+
])) : N("", !0),
|
|
34645
34645
|
t.item.configurator === A(Gt).Mosquitto ? (_(), M(be, { key: 1 }, [
|
|
34646
34646
|
k("span", null, [
|
|
34647
34647
|
d[3] || (d[3] = ee(" Ширина: ", -1)),
|
|
@@ -34651,7 +34651,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34651
34651
|
d[4] || (d[4] = ee(" Высота: ", -1)),
|
|
34652
34652
|
k("span", $S, q(Math.round(t.item.height * 1e3)) + " мм.", 1)
|
|
34653
34653
|
])
|
|
34654
|
-
], 64)) :
|
|
34654
|
+
], 64)) : N("", !0),
|
|
34655
34655
|
t.item.configurator === A(Gt).Strip ? (_(), M(be, { key: 2 }, [
|
|
34656
34656
|
(_(!0), M(be, null, Pt(t.item.configuratorParams.linesWidths, (g, f) => (_(), M("span", { key: f }, [
|
|
34657
34657
|
ee(" Полоса №" + q(Number(f) + 1) + ": ", 1),
|
|
@@ -34661,7 +34661,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34661
34661
|
d[5] || (d[5] = ee(" Метраж: ", -1)),
|
|
34662
34662
|
k("span", TS, q(t.item.length) + " м.", 1)
|
|
34663
34663
|
])
|
|
34664
|
-
], 64)) :
|
|
34664
|
+
], 64)) : N("", !0),
|
|
34665
34665
|
t.item.configurator === A(Gt).MetalForDoors ? (_(), M(be, { key: 3 }, [
|
|
34666
34666
|
k("span", null, [
|
|
34667
34667
|
d[6] || (d[6] = ee(" Ширина: ", -1)),
|
|
@@ -34671,11 +34671,11 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34671
34671
|
d[7] || (d[7] = ee(" Длина: ", -1)),
|
|
34672
34672
|
k("span", FS, q(Math.round(t.item.length * 1e3)) + " мм.", 1)
|
|
34673
34673
|
])
|
|
34674
|
-
], 64)) :
|
|
34674
|
+
], 64)) : N("", !0),
|
|
34675
34675
|
t.item.configurator === A(Gt).Sandwich ? (_(!0), M(be, { key: 4 }, Pt(t.item.configuratorParams.items ?? [], (g, f) => (_(), M("span", { key: f }, [
|
|
34676
34676
|
ee(" Изделие №" + q(Number(f) + 1) + ": ", 1),
|
|
34677
34677
|
k("span", BS, q(g.width) + "×" + q(g.length) + " мм, " + q(g.count) + " шт.", 1)
|
|
34678
|
-
]))), 128)) :
|
|
34678
|
+
]))), 128)) : N("", !0),
|
|
34679
34679
|
t.item.configurator === A(Gt).SandwichM2 ? (_(), M(be, { key: 5 }, [
|
|
34680
34680
|
k("span", null, [
|
|
34681
34681
|
d[8] || (d[8] = ee(" Ширина: ", -1)),
|
|
@@ -34685,7 +34685,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34685
34685
|
d[9] || (d[9] = ee(" Длина: ", -1)),
|
|
34686
34686
|
k("span", MS, q(Math.round(t.item.length * 1e3)) + " мм.", 1)
|
|
34687
34687
|
])
|
|
34688
|
-
], 64)) :
|
|
34688
|
+
], 64)) : N("", !0)
|
|
34689
34689
|
])
|
|
34690
34690
|
]),
|
|
34691
34691
|
t.allowEdit ? (_(), M("a", {
|
|
@@ -34693,7 +34693,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34693
34693
|
href: "#",
|
|
34694
34694
|
class: "text-xs text-blue-500 hover:text-blue-700 self-start mt-2.5",
|
|
34695
34695
|
onClick: un(l, ["prevent"])
|
|
34696
|
-
}, " Изменить ")) :
|
|
34696
|
+
}, " Изменить ")) : N("", !0)
|
|
34697
34697
|
], 64)) : s.value && r.value > 0 ? (_(), M(be, { key: 1 }, [
|
|
34698
34698
|
k("div", IS, [
|
|
34699
34699
|
k("span", null, [
|
|
@@ -34716,7 +34716,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34716
34716
|
href: "#",
|
|
34717
34717
|
class: "text-xs text-blue-500 hover:text-blue-700 self-start mt-2.5",
|
|
34718
34718
|
onClick: un(c, ["prevent"])
|
|
34719
|
-
}, " Изменить ")) :
|
|
34719
|
+
}, " Изменить ")) : N("", !0)
|
|
34720
34720
|
], 64)) : t.item.product.getIsMeasurable() ? (_(), M(be, { key: 2 }, [
|
|
34721
34721
|
k("div", DS, [
|
|
34722
34722
|
k("span", null, [
|
|
@@ -34733,7 +34733,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
|
|
|
34733
34733
|
href: "#",
|
|
34734
34734
|
class: "text-xs text-blue-500 hover:text-blue-700 self-start mt-2.5",
|
|
34735
34735
|
onClick: un(c, ["prevent"])
|
|
34736
|
-
}, " Изменить ")) :
|
|
34736
|
+
}, " Изменить ")) : N("", !0)
|
|
34737
34737
|
], 64)) : (_(), M(be, { key: 3 }, [
|
|
34738
34738
|
t.allowEdit ? (_(), te(h, {
|
|
34739
34739
|
key: 0,
|
|
@@ -34836,16 +34836,16 @@ const t5 = He({ name: "tabler-truck-loading", render: e5 }), i5 = { class: "flex
|
|
|
34836
34836
|
const o = t5, a = QS, l = KS;
|
|
34837
34837
|
return _(), M("div", i5, [
|
|
34838
34838
|
t.showType ? (_(), M("span", n5, [
|
|
34839
|
-
((c = e.value) == null ? void 0 : c.slug) === "self_delivery" ? (_(), te(o, { key: 0 })) :
|
|
34840
|
-
((u = e.value) == null ? void 0 : u.slug) === "delivery" ? (_(), te(a, { key: 1 })) :
|
|
34841
|
-
((d = e.value) == null ? void 0 : d.slug) === "transport_company_delivery" ? (_(), te(l, { key: 2 })) :
|
|
34839
|
+
((c = e.value) == null ? void 0 : c.slug) === "self_delivery" ? (_(), te(o, { key: 0 })) : N("", !0),
|
|
34840
|
+
((u = e.value) == null ? void 0 : u.slug) === "delivery" ? (_(), te(a, { key: 1 })) : N("", !0),
|
|
34841
|
+
((d = e.value) == null ? void 0 : d.slug) === "transport_company_delivery" ? (_(), te(l, { key: 2 })) : N("", !0),
|
|
34842
34842
|
k("span", null, q((h = e.value) == null ? void 0 : h.name), 1)
|
|
34843
|
-
])) :
|
|
34843
|
+
])) : N("", !0),
|
|
34844
34844
|
t.showDetails ? (_(), M("span", s5, [
|
|
34845
34845
|
k("span", r5, q(i.value), 1),
|
|
34846
|
-
(f = (g = t.delivery) == null ? void 0 : g.address) != null && f.address ? (_(), M("span", o5, q(t.delivery.address.address), 1)) :
|
|
34847
|
-
(p = (m = t.delivery) == null ? void 0 : m.warehouse) != null && p.address ? (_(), M("span", a5, " со склада " + q(t.delivery.warehouse.address), 1)) :
|
|
34848
|
-
])) :
|
|
34846
|
+
(f = (g = t.delivery) == null ? void 0 : g.address) != null && f.address ? (_(), M("span", o5, q(t.delivery.address.address), 1)) : N("", !0),
|
|
34847
|
+
(p = (m = t.delivery) == null ? void 0 : m.warehouse) != null && p.address ? (_(), M("span", a5, " со склада " + q(t.delivery.warehouse.address), 1)) : N("", !0)
|
|
34848
|
+
])) : N("", !0)
|
|
34849
34849
|
]);
|
|
34850
34850
|
};
|
|
34851
34851
|
}
|
|
@@ -34881,29 +34881,29 @@ const t5 = He({ name: "tabler-truck-loading", render: e5 }), i5 = { class: "flex
|
|
|
34881
34881
|
href: t.orderUrl.replace(":id", t.order.id.toString()),
|
|
34882
34882
|
target: "_blank",
|
|
34883
34883
|
class: "text-sc-dark-grey"
|
|
34884
|
-
}, " #" + q(i.value), 9, d5)) :
|
|
34884
|
+
}, " #" + q(i.value), 9, d5)) : N("", !0),
|
|
34885
34885
|
s.value ? (_(), M(be, { key: 1 }, [
|
|
34886
34886
|
l[0] || (l[0] = ee(" от ", -1)),
|
|
34887
|
-
|
|
34887
|
+
H(ml, {
|
|
34888
34888
|
date: t.order.createdAt,
|
|
34889
34889
|
"is-time-secondary": !0
|
|
34890
34890
|
}, null, 8, ["date"])
|
|
34891
|
-
], 64)) :
|
|
34891
|
+
], 64)) : N("", !0),
|
|
34892
34892
|
n.value ? (_(), M(be, { key: 2 }, [
|
|
34893
34893
|
l[1] || (l[1] = ee(" - ", -1)),
|
|
34894
34894
|
k("span", h5, q(n.value), 1)
|
|
34895
|
-
], 64)) :
|
|
34895
|
+
], 64)) : N("", !0)
|
|
34896
34896
|
]),
|
|
34897
34897
|
r.value ? (_(), te(To, {
|
|
34898
34898
|
key: 0,
|
|
34899
34899
|
client: r.value,
|
|
34900
34900
|
class: "ml-3"
|
|
34901
|
-
}, null, 8, ["client"])) :
|
|
34901
|
+
}, null, 8, ["client"])) : N("", !0),
|
|
34902
34902
|
o.value ? (_(), te(cc, {
|
|
34903
34903
|
key: 1,
|
|
34904
34904
|
delivery: o.value,
|
|
34905
34905
|
class: "ml-3"
|
|
34906
|
-
}, null, 8, ["delivery"])) :
|
|
34906
|
+
}, null, 8, ["delivery"])) : N("", !0)
|
|
34907
34907
|
]));
|
|
34908
34908
|
}
|
|
34909
34909
|
}), m5 = {}, Qf = /* @__PURE__ */ re({
|
|
@@ -34967,29 +34967,29 @@ const t5 = He({ name: "tabler-truck-loading", render: e5 }), i5 = { class: "flex
|
|
|
34967
34967
|
return (e, i) => (_(), M("div", v5, [
|
|
34968
34968
|
k("span", y5, q(t.index + 1) + ".", 1),
|
|
34969
34969
|
k("div", b5, [
|
|
34970
|
-
|
|
34970
|
+
H(_o, {
|
|
34971
34971
|
product: t.product.product,
|
|
34972
34972
|
"show-planning-dates": !1
|
|
34973
34973
|
}, null, 8, ["product"]),
|
|
34974
34974
|
t.product.marker ? (_(), M("span", _5, [
|
|
34975
34975
|
i[0] || (i[0] = ee(" Маркировка: ", -1)),
|
|
34976
34976
|
k("span", w5, q(t.product.marker), 1)
|
|
34977
|
-
])) :
|
|
34977
|
+
])) : N("", !0),
|
|
34978
34978
|
t.product.creator && t.product.creator.type ? (_(), te(go, {
|
|
34979
34979
|
key: 1,
|
|
34980
34980
|
"user-type": t.product.creator.type,
|
|
34981
34981
|
class: "self-start"
|
|
34982
|
-
}, null, 8, ["user-type"])) :
|
|
34982
|
+
}, null, 8, ["user-type"])) : N("", !0),
|
|
34983
34983
|
k("div", x5, [
|
|
34984
34984
|
i[1] || (i[1] = k("span", null, "Кол-во", -1)),
|
|
34985
34985
|
t.product.product.getIsMeasurable() ? (_(), M("span", k5, q(`${t.product.length} ${t.product.product.unit.name} x ${t.product.quantity} шт.`), 1)) : (_(), M("span", C5, q(`${t.product.quantity} ${t.product.product.unit.name}`), 1)),
|
|
34986
34986
|
i[2] || (i[2] = k("span", null, "Цена за ед.", -1)),
|
|
34987
|
-
|
|
34987
|
+
H(Kn, {
|
|
34988
34988
|
product: t.product,
|
|
34989
34989
|
"cost-field-name": "costOneRub"
|
|
34990
34990
|
}, null, 8, ["product"]),
|
|
34991
34991
|
i[3] || (i[3] = k("span", null, "Сумма", -1)),
|
|
34992
|
-
|
|
34992
|
+
H(Kn, {
|
|
34993
34993
|
product: t.product,
|
|
34994
34994
|
"cost-field-name": "cost"
|
|
34995
34995
|
}, null, 8, ["product"])
|
|
@@ -35046,7 +35046,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35046
35046
|
return (r = e.value) == null ? void 0 : r.showPreview();
|
|
35047
35047
|
})
|
|
35048
35048
|
}, " Спецификация "),
|
|
35049
|
-
Fs(
|
|
35049
|
+
Fs(H(A($g), {
|
|
35050
35050
|
ref: "image-reference",
|
|
35051
35051
|
src: t.src,
|
|
35052
35052
|
"previewed-img-props": { style: "max-width: 80vw; max-height: 80vh; object-fit: contain; border: 12px solid white;" }
|
|
@@ -35070,7 +35070,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35070
35070
|
k("div", {
|
|
35071
35071
|
class: We(i.value ? "line-through opacity-50" : "")
|
|
35072
35072
|
}, [
|
|
35073
|
-
|
|
35073
|
+
H(_o, {
|
|
35074
35074
|
product: t.item.product,
|
|
35075
35075
|
"show-additional-sale-icon": t.item.isAdditionalSale ?? !1,
|
|
35076
35076
|
"show-code": !1,
|
|
@@ -35083,32 +35083,32 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35083
35083
|
}, [
|
|
35084
35084
|
a[0] || (a[0] = ee(" Маркировка: ", -1)),
|
|
35085
35085
|
k("span", M5, q(t.item.marker), 1)
|
|
35086
|
-
], 2)) :
|
|
35086
|
+
], 2)) : N("", !0),
|
|
35087
35087
|
s.value ? (_(), M("div", {
|
|
35088
35088
|
key: 1,
|
|
35089
35089
|
class: We(i.value ? "line-through opacity-50" : "")
|
|
35090
35090
|
}, [
|
|
35091
|
-
|
|
35092
|
-
], 2)) :
|
|
35091
|
+
H(B5, { src: s.value }, null, 8, ["src"])
|
|
35092
|
+
], 2)) : N("", !0),
|
|
35093
35093
|
n.value && !i.value ? (_(), te(go, {
|
|
35094
35094
|
key: 2,
|
|
35095
35095
|
"user-type": t.item.creator.type,
|
|
35096
35096
|
class: "mt-1 self-start",
|
|
35097
35097
|
"prefix-text": "Добавлено"
|
|
35098
|
-
}, null, 8, ["user-type"])) :
|
|
35098
|
+
}, null, 8, ["user-type"])) : N("", !0),
|
|
35099
35099
|
t.item.isRemoved && !t.item.replacementId && r.value.length === 0 ? (_(), te(go, {
|
|
35100
35100
|
key: 3,
|
|
35101
35101
|
"user-type": n.value ? t.item.creator.type : void 0,
|
|
35102
35102
|
class: "mt-1 self-start",
|
|
35103
35103
|
"prefix-text": "Удалено",
|
|
35104
35104
|
variant: "danger"
|
|
35105
|
-
}, null, 8, ["user-type"])) :
|
|
35105
|
+
}, null, 8, ["user-type"])) : N("", !0),
|
|
35106
35106
|
t.item.replacementId && r.value.length > 0 ? (_(), te(go, {
|
|
35107
35107
|
key: 4,
|
|
35108
35108
|
"user-type": n.value ? t.item.creator.type : void 0,
|
|
35109
35109
|
"changed-fields": r.value,
|
|
35110
35110
|
class: "mt-1 self-start"
|
|
35111
|
-
}, null, 8, ["user-type", "changed-fields"])) :
|
|
35111
|
+
}, null, 8, ["user-type", "changed-fields"])) : N("", !0)
|
|
35112
35112
|
]));
|
|
35113
35113
|
}
|
|
35114
35114
|
}), O5 = {}, z5 = /* @__PURE__ */ re({
|
|
@@ -35126,7 +35126,10 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35126
35126
|
if (!d)
|
|
35127
35127
|
return 1;
|
|
35128
35128
|
const h = u.at(c - 1);
|
|
35129
|
-
|
|
35129
|
+
if (c && h && h.logicGroupId === d)
|
|
35130
|
+
return 0;
|
|
35131
|
+
const g = u.slice(c), f = g.findIndex((m) => m.logicGroupId !== d);
|
|
35132
|
+
return f === -1 ? g.length : f;
|
|
35130
35133
|
}, r = () => {
|
|
35131
35134
|
const l = [
|
|
35132
35135
|
// TODO: Избранный товар
|
|
@@ -35230,7 +35233,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35230
35233
|
const u = Al;
|
|
35231
35234
|
return _(), M(be, null, [
|
|
35232
35235
|
c[0] || (c[0] = k("h3", null, "Список позиций", -1)),
|
|
35233
|
-
|
|
35236
|
+
H(u, {
|
|
35234
35237
|
columns: o.value,
|
|
35235
35238
|
data: i.value,
|
|
35236
35239
|
"row-key": (d) => d.id,
|
|
@@ -35241,7 +35244,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35241
35244
|
], 64);
|
|
35242
35245
|
};
|
|
35243
35246
|
}
|
|
35244
|
-
}), L5 = /* @__PURE__ */ es(z5, [["__scopeId", "data-v-
|
|
35247
|
+
}), L5 = /* @__PURE__ */ es(z5, [["__scopeId", "data-v-9340e631"]]), D5 = { class: "ml-4 text-base" }, N5 = {
|
|
35245
35248
|
key: 0,
|
|
35246
35249
|
class: "text-sc-dark-grey my-2 text-center"
|
|
35247
35250
|
}, H5 = {
|
|
@@ -35280,7 +35283,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35280
35283
|
a[1] || (a[1] = k("h3", null, "История статусов", -1)),
|
|
35281
35284
|
k("div", D5, [
|
|
35282
35285
|
i.value ? (_(), M("div", N5, [
|
|
35283
|
-
|
|
35286
|
+
H(l, {
|
|
35284
35287
|
size: "small",
|
|
35285
35288
|
class: "mb-1 align-middle"
|
|
35286
35289
|
}),
|
|
@@ -35290,7 +35293,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35290
35293
|
k("span", V5, q(s(c.createdAt)), 1),
|
|
35291
35294
|
k("div", j5, [
|
|
35292
35295
|
k("span", q5, q(c.status.name), 1),
|
|
35293
|
-
c.statusDetail ? (_(), M("span", U5, " (" + q(c.statusDetail.name) + ") ", 1)) :
|
|
35296
|
+
c.statusDetail ? (_(), M("span", U5, " (" + q(c.statusDetail.name) + ") ", 1)) : N("", !0),
|
|
35294
35297
|
k("div", X5, q(c.user.name), 1)
|
|
35295
35298
|
])
|
|
35296
35299
|
], 64))), 128))
|
|
@@ -35315,41 +35318,11 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35315
35318
|
t.showUserType ? (_(), M("span", {
|
|
35316
35319
|
key: 0,
|
|
35317
35320
|
class: We([{ "ml-1": !t.extraInfoOnSecondLine }, "text-sc-grey"])
|
|
35318
|
-
}, " [" + q(t.user.type) + "] ", 3)) :
|
|
35321
|
+
}, " [" + q(t.user.type) + "] ", 3)) : N("", !0)
|
|
35319
35322
|
], 2));
|
|
35320
35323
|
}
|
|
35321
|
-
}), Q5 =
|
|
35322
|
-
...
|
|
35323
|
-
__name: "order-external-links",
|
|
35324
|
-
props: {
|
|
35325
|
-
order: {}
|
|
35326
|
-
},
|
|
35327
|
-
setup(t) {
|
|
35328
|
-
return (e, i) => (_(), M(be, null, [
|
|
35329
|
-
t.order.erpOrderUrl ? (_(), M(be, { key: 0 }, [
|
|
35330
|
-
i[0] || (i[0] = k("span", null, "Открыть в ERP", -1)),
|
|
35331
|
-
k("a", {
|
|
35332
|
-
href: t.order.erpOrderUrl,
|
|
35333
|
-
target: "_blank",
|
|
35334
|
-
class: "col-span-2"
|
|
35335
|
-
}, " Открыть заявку в ERP ", 8, Q5)
|
|
35336
|
-
], 64)) : W("", !0),
|
|
35337
|
-
t.order.invoices && t.order.invoices.length > 0 ? (_(), M(be, { key: 1 }, [
|
|
35338
|
-
i[1] || (i[1] = k("span", null, "Прикрепленные счета", -1)),
|
|
35339
|
-
(_(!0), M(be, null, Pt(t.order.invoices, (n, s) => (_(), M("div", {
|
|
35340
|
-
key: s,
|
|
35341
|
-
class: "col-span-2"
|
|
35342
|
-
}, [
|
|
35343
|
-
k("a", {
|
|
35344
|
-
class: "btn btn-primary",
|
|
35345
|
-
href: n
|
|
35346
|
-
}, " Скачать счет №" + q(s + 1), 9, J5)
|
|
35347
|
-
]))), 128))
|
|
35348
|
-
], 64)) : W("", !0)
|
|
35349
|
-
], 64));
|
|
35350
|
-
}
|
|
35351
|
-
}), i3 = { class: "ml-4 grid grid-cols-3 gap-1.5 text-base" }, n3 = { class: "col-span-2" }, s3 = ["href"], r3 = { class: "col-span-2" }, o3 = {}, a3 = /* @__PURE__ */ re({
|
|
35352
|
-
...o3,
|
|
35324
|
+
}), Q5 = { class: "ml-4 grid grid-cols-3 gap-1.5 text-base" }, J5 = { class: "col-span-2" }, e3 = ["href"], t3 = { class: "col-span-2" }, i3 = {}, n3 = /* @__PURE__ */ re({
|
|
35325
|
+
...i3,
|
|
35353
35326
|
__name: "order-details",
|
|
35354
35327
|
props: {
|
|
35355
35328
|
order: {}
|
|
@@ -35361,81 +35334,117 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35361
35334
|
var r;
|
|
35362
35335
|
return _(), M("div", null, [
|
|
35363
35336
|
s[12] || (s[12] = k("h3", null, "Детали заказа", -1)),
|
|
35364
|
-
k("div",
|
|
35337
|
+
k("div", Q5, [
|
|
35365
35338
|
t.order.creator.id !== t.order.client.id ? (_(), M(be, { key: 0 }, [
|
|
35366
35339
|
s[1] || (s[1] = k("span", null, "Создал", -1)),
|
|
35367
|
-
|
|
35340
|
+
H($d, {
|
|
35368
35341
|
user: t.order.creator,
|
|
35369
35342
|
class: "col-span-2"
|
|
35370
35343
|
}, null, 8, ["user"])
|
|
35371
|
-
], 64)) :
|
|
35344
|
+
], 64)) : N("", !0),
|
|
35372
35345
|
s[11] || (s[11] = k("span", null, "Клиент", -1)),
|
|
35373
|
-
|
|
35346
|
+
H(To, {
|
|
35374
35347
|
client: t.order.client,
|
|
35375
35348
|
class: "col-span-2",
|
|
35376
35349
|
"onClick:clientName": s[0] || (s[0] = (o) => i("click:client-name", t.order.client, o))
|
|
35377
35350
|
}, null, 8, ["client"]),
|
|
35378
35351
|
t.order.contragent ? (_(), M(be, { key: 1 }, [
|
|
35379
35352
|
s[2] || (s[2] = k("span", null, "Контрагент", -1)),
|
|
35380
|
-
|
|
35353
|
+
H(l1, {
|
|
35381
35354
|
contragent: t.order.contragent,
|
|
35382
35355
|
class: "col-span-2"
|
|
35383
35356
|
}, null, 8, ["contragent"])
|
|
35384
|
-
], 64)) :
|
|
35357
|
+
], 64)) : N("", !0),
|
|
35385
35358
|
t.order.image ? (_(), M(be, { key: 2 }, [
|
|
35386
35359
|
s[3] || (s[3] = k("span", null, "Графический файл клиента", -1)),
|
|
35387
35360
|
s[4] || (s[4] = k("a", {
|
|
35388
35361
|
class: "fancybox col-span-2",
|
|
35389
35362
|
href: "{{ order.image }}"
|
|
35390
35363
|
}, " Посмотреть ", -1))
|
|
35391
|
-
], 64)) :
|
|
35364
|
+
], 64)) : N("", !0),
|
|
35392
35365
|
t.order.barcode ? (_(), M(be, { key: 3 }, [
|
|
35393
35366
|
s[5] || (s[5] = k("span", null, "Штрих-код", -1)),
|
|
35394
|
-
k("span",
|
|
35395
|
-
], 64)) :
|
|
35367
|
+
k("span", J5, q(t.order.barcode), 1)
|
|
35368
|
+
], 64)) : N("", !0),
|
|
35396
35369
|
t.order.payment ? (_(), M(be, { key: 4 }, [
|
|
35397
35370
|
s[6] || (s[6] = k("span", null, "Оплата", -1)),
|
|
35398
|
-
|
|
35371
|
+
H(Qf, {
|
|
35399
35372
|
payment: t.order.payment,
|
|
35400
35373
|
class: "col-span-2"
|
|
35401
35374
|
}, null, 8, ["payment"])
|
|
35402
|
-
], 64)) :
|
|
35375
|
+
], 64)) : N("", !0),
|
|
35403
35376
|
(r = t.order.payment) != null && r.onlinePaymentLink ? (_(), M(be, { key: 5 }, [
|
|
35404
35377
|
s[7] || (s[7] = k("span", null, "Онлайн-оплата", -1)),
|
|
35405
35378
|
k("a", {
|
|
35406
35379
|
href: t.order.payment.onlinePaymentLink,
|
|
35407
35380
|
target: "_blank",
|
|
35408
35381
|
class: "col-span-2"
|
|
35409
|
-
}, " Оплатить заказ ", 8,
|
|
35410
|
-
], 64)) :
|
|
35382
|
+
}, " Оплатить заказ ", 8, e3)
|
|
35383
|
+
], 64)) : N("", !0),
|
|
35411
35384
|
t.order.delivery ? (_(), M(be, { key: 6 }, [
|
|
35412
35385
|
s[8] || (s[8] = k("span", null, "Доставка", -1)),
|
|
35413
|
-
|
|
35386
|
+
H(cc, {
|
|
35414
35387
|
delivery: t.order.delivery,
|
|
35415
35388
|
class: "col-span-2"
|
|
35416
35389
|
}, null, 8, ["delivery"])
|
|
35417
|
-
], 64)) :
|
|
35390
|
+
], 64)) : N("", !0),
|
|
35418
35391
|
t.order.comment ? (_(), M(be, { key: 7 }, [
|
|
35419
35392
|
s[9] || (s[9] = k("span", null, "Комментарий", -1)),
|
|
35420
|
-
k("span",
|
|
35421
|
-
], 64)) :
|
|
35393
|
+
k("span", t3, q(t.order.comment), 1)
|
|
35394
|
+
], 64)) : N("", !0),
|
|
35422
35395
|
t.order.attachedUser ? (_(), M(be, { key: 8 }, [
|
|
35423
35396
|
s[10] || (s[10] = k("span", null, "Закреплен за", -1)),
|
|
35424
|
-
|
|
35397
|
+
H($d, {
|
|
35425
35398
|
user: t.order.attachedUser,
|
|
35426
35399
|
class: "col-span-2"
|
|
35427
35400
|
}, null, 8, ["user"])
|
|
35428
|
-
], 64)) :
|
|
35429
|
-
N(t3, { order: t.order }, null, 8, ["order"])
|
|
35401
|
+
], 64)) : N("", !0)
|
|
35430
35402
|
])
|
|
35431
35403
|
]);
|
|
35432
35404
|
};
|
|
35433
35405
|
}
|
|
35434
|
-
}),
|
|
35406
|
+
}), s3 = { class: "ml-4 grid grid-cols-3 gap-1.5 text-base" }, r3 = ["href"], o3 = ["href"], a3 = {}, l3 = /* @__PURE__ */ re({
|
|
35407
|
+
...a3,
|
|
35408
|
+
__name: "order-external-links",
|
|
35409
|
+
props: {
|
|
35410
|
+
order: {}
|
|
35411
|
+
},
|
|
35412
|
+
setup(t) {
|
|
35413
|
+
const e = E(() => {
|
|
35414
|
+
var i;
|
|
35415
|
+
return !!t.order.erpOrderUrl || (((i = t.order.invoices) == null ? void 0 : i.length) ?? 0) > 0;
|
|
35416
|
+
});
|
|
35417
|
+
return (i, n) => e.value ? (_(), M(be, { key: 0 }, [
|
|
35418
|
+
n[2] || (n[2] = k("h3", null, "Внешние ссылки", -1)),
|
|
35419
|
+
k("div", s3, [
|
|
35420
|
+
t.order.erpOrderUrl ? (_(), M(be, { key: 0 }, [
|
|
35421
|
+
n[0] || (n[0] = k("span", null, "Открыть в ERP", -1)),
|
|
35422
|
+
k("a", {
|
|
35423
|
+
href: t.order.erpOrderUrl,
|
|
35424
|
+
target: "_blank",
|
|
35425
|
+
class: "col-span-2"
|
|
35426
|
+
}, " Открыть заявку в ERP ", 8, r3)
|
|
35427
|
+
], 64)) : N("", !0),
|
|
35428
|
+
t.order.invoices && t.order.invoices.length > 0 ? (_(), M(be, { key: 1 }, [
|
|
35429
|
+
n[1] || (n[1] = k("span", null, "Прикрепленные счета", -1)),
|
|
35430
|
+
(_(!0), M(be, null, Pt(t.order.invoices, (s, r) => (_(), M("div", {
|
|
35431
|
+
key: r,
|
|
35432
|
+
class: "col-span-2"
|
|
35433
|
+
}, [
|
|
35434
|
+
k("a", {
|
|
35435
|
+
class: "btn btn-primary",
|
|
35436
|
+
href: s
|
|
35437
|
+
}, " Скачать счет №" + q(r + 1), 9, o3)
|
|
35438
|
+
]))), 128))
|
|
35439
|
+
], 64)) : N("", !0)
|
|
35440
|
+
])
|
|
35441
|
+
], 64)) : N("", !0);
|
|
35442
|
+
}
|
|
35443
|
+
}), c3 = { key: 0 }, u3 = { class: "text-sc-dark-grey my-2 text-center" }, d3 = {
|
|
35435
35444
|
key: 1,
|
|
35436
35445
|
class: "text-sc-dark-grey my-2 text-center"
|
|
35437
|
-
},
|
|
35438
|
-
...
|
|
35446
|
+
}, h3 = { key: 2 }, f3 = { class: "text-sc-dark-grey mt-4 text-right font-bold" }, g3 = { class: "text-sc-primary" }, m3 = {}, p3 = /* @__PURE__ */ re({
|
|
35447
|
+
...m3,
|
|
35439
35448
|
__name: "order-info",
|
|
35440
35449
|
props: {
|
|
35441
35450
|
order: {},
|
|
@@ -35444,25 +35453,20 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35444
35453
|
},
|
|
35445
35454
|
emits: ["click:client-name"],
|
|
35446
35455
|
setup(t, { emit: e }) {
|
|
35447
|
-
const i = t, n = e, s = X(!1), r = X(), o = (
|
|
35456
|
+
const i = t, n = e, s = X(!1), r = X(), o = (c = !0) => {
|
|
35448
35457
|
if ("products" in i.order) {
|
|
35449
35458
|
r.value = new Og(i.order);
|
|
35450
35459
|
return;
|
|
35451
35460
|
}
|
|
35452
|
-
|
|
35453
|
-
r.value =
|
|
35461
|
+
c && (s.value = !0), Yi.getInstance(vo).getOrder(i.order.id).then((u) => {
|
|
35462
|
+
r.value = u;
|
|
35454
35463
|
}).finally(() => {
|
|
35455
|
-
|
|
35464
|
+
c && (s.value = !1);
|
|
35456
35465
|
});
|
|
35457
|
-
}, a = E(
|
|
35458
|
-
|
|
35459
|
-
|
|
35460
|
-
|
|
35461
|
-
// eslint-disable-next-line lodash/prefer-lodash-method
|
|
35462
|
-
(((l = r.value) == null ? void 0 : l.products) ?? []).filter((c) => !c.isRemoved && !c.replacementId).reduce((c, u) => c + u.costRub, 0).toLocaleString("ru-ru", { minimumFractionDigits: 2 })
|
|
35463
|
-
);
|
|
35464
|
-
}
|
|
35465
|
-
);
|
|
35466
|
+
}, a = E(() => {
|
|
35467
|
+
var c;
|
|
35468
|
+
return (((c = r.value) == null ? void 0 : c.products) ?? []).filter((u) => !u.isRemoved && !u.replacementId);
|
|
35469
|
+
}), l = E(() => a.value.reduce((c, u) => c + u.costRub, 0).toLocaleString("ru-ru", { minimumFractionDigits: 2 }));
|
|
35466
35470
|
return xe(
|
|
35467
35471
|
() => i.order,
|
|
35468
35472
|
() => {
|
|
@@ -35470,38 +35474,39 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35470
35474
|
}
|
|
35471
35475
|
), lt(() => {
|
|
35472
35476
|
o();
|
|
35473
|
-
}), (
|
|
35474
|
-
const
|
|
35475
|
-
return s.value ? (_(), M("div",
|
|
35476
|
-
k("div",
|
|
35477
|
-
|
|
35477
|
+
}), (c, u) => {
|
|
35478
|
+
const d = Jn;
|
|
35479
|
+
return s.value ? (_(), M("div", c3, [
|
|
35480
|
+
k("div", u3, [
|
|
35481
|
+
H(d, {
|
|
35478
35482
|
size: "small",
|
|
35479
35483
|
class: "mb-2.5 align-middle"
|
|
35480
35484
|
}),
|
|
35481
|
-
|
|
35485
|
+
u[1] || (u[1] = k("div", null, [
|
|
35482
35486
|
k("span", null, "Загрузка данных ...")
|
|
35483
35487
|
], -1))
|
|
35484
35488
|
])
|
|
35485
|
-
])) : !r.value || r.value.products.length === 0 ? (_(), M("div",
|
|
35486
|
-
|
|
35487
|
-
products:
|
|
35489
|
+
])) : !r.value || r.value.products.length === 0 ? (_(), M("div", d3, " --- Не удалось загрузить данные о заказе --- ")) : (_(), M("div", h3, [
|
|
35490
|
+
H(L5, {
|
|
35491
|
+
products: a.value,
|
|
35488
35492
|
"event-emitter": t.eventEmitter,
|
|
35489
35493
|
"allow-edit": t.allowEdit
|
|
35490
35494
|
}, null, 8, ["products", "event-emitter", "allow-edit"]),
|
|
35491
|
-
k("div",
|
|
35492
|
-
|
|
35493
|
-
k("span",
|
|
35495
|
+
k("div", f3, [
|
|
35496
|
+
u[2] || (u[2] = ee(" ИТОГО: ", -1)),
|
|
35497
|
+
k("span", g3, q(l.value) + " ₽", 1)
|
|
35494
35498
|
]),
|
|
35495
|
-
|
|
35499
|
+
H(n3, {
|
|
35496
35500
|
order: r.value,
|
|
35497
|
-
"onClick:clientName":
|
|
35501
|
+
"onClick:clientName": u[0] || (u[0] = (h) => n("click:client-name", r.value.client, h))
|
|
35498
35502
|
}, null, 8, ["order"]),
|
|
35499
|
-
|
|
35503
|
+
H(l3, { order: r.value }, null, 8, ["order"]),
|
|
35504
|
+
H(K5, { order: r.value }, null, 8, ["order"])
|
|
35500
35505
|
]));
|
|
35501
35506
|
};
|
|
35502
35507
|
}
|
|
35503
|
-
}),
|
|
35504
|
-
...
|
|
35508
|
+
}), v3 = {}, y3 = /* @__PURE__ */ re({
|
|
35509
|
+
...v3,
|
|
35505
35510
|
__name: "order-actions",
|
|
35506
35511
|
props: {
|
|
35507
35512
|
orderContextButtonsConfig: { type: Function, default: void 0 },
|
|
@@ -35526,23 +35531,23 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35526
35531
|
onSelect: s
|
|
35527
35532
|
}, {
|
|
35528
35533
|
default: z(() => [
|
|
35529
|
-
|
|
35534
|
+
H(l, {
|
|
35530
35535
|
ghost: !0,
|
|
35531
35536
|
size: A(i),
|
|
35532
35537
|
type: "primary"
|
|
35533
35538
|
}, {
|
|
35534
35539
|
default: z(() => [
|
|
35535
|
-
|
|
35540
|
+
H(a)
|
|
35536
35541
|
]),
|
|
35537
35542
|
_: 1
|
|
35538
35543
|
}, 8, ["size"])
|
|
35539
35544
|
]),
|
|
35540
35545
|
_: 1
|
|
35541
|
-
}, 8, ["options", "size"])) :
|
|
35546
|
+
}, 8, ["options", "size"])) : N("", !0);
|
|
35542
35547
|
};
|
|
35543
35548
|
}
|
|
35544
|
-
}),
|
|
35545
|
-
...
|
|
35549
|
+
}), b3 = {}, _3 = /* @__PURE__ */ re({
|
|
35550
|
+
...b3,
|
|
35546
35551
|
__name: "orders-list",
|
|
35547
35552
|
props: {
|
|
35548
35553
|
fields: {},
|
|
@@ -35594,7 +35599,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35594
35599
|
}, V = {
|
|
35595
35600
|
type: "expand",
|
|
35596
35601
|
expandable: zo(!0),
|
|
35597
|
-
renderExpand: (j) => U(
|
|
35602
|
+
renderExpand: (j) => U(p3, {
|
|
35598
35603
|
order: j,
|
|
35599
35604
|
class: "pl-10 pt-3 pb-10",
|
|
35600
35605
|
"onClick:client-name": () => {
|
|
@@ -35724,7 +35729,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35724
35729
|
title: "",
|
|
35725
35730
|
className: "align-top",
|
|
35726
35731
|
width: 50,
|
|
35727
|
-
render: (j) => U(
|
|
35732
|
+
render: (j) => U(y3, {
|
|
35728
35733
|
order: j,
|
|
35729
35734
|
orderContextButtonsConfig: i.orderContextButtonsConfig,
|
|
35730
35735
|
onOrderContextSelect: i.onOrderContextSelect
|
|
@@ -35864,8 +35869,8 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35864
35869
|
}, null, 8, ["columns", "data", "row-key", "scroll-x", "pagination", "loading", "max-height"]);
|
|
35865
35870
|
};
|
|
35866
35871
|
}
|
|
35867
|
-
}),
|
|
35868
|
-
...
|
|
35872
|
+
}), a6 = /* @__PURE__ */ es(_3, [["__scopeId", "data-v-2a162c0c"]]), w3 = ["href"], x3 = { class: "text-sc-dark-grey" }, k3 = {}, l6 = /* @__PURE__ */ re({
|
|
35873
|
+
...k3,
|
|
35869
35874
|
__name: "short-text-order-info",
|
|
35870
35875
|
props: {
|
|
35871
35876
|
order: {},
|
|
@@ -35882,21 +35887,21 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35882
35887
|
k("a", {
|
|
35883
35888
|
href: t.orderLink ?? "#",
|
|
35884
35889
|
onClick: a[0] || (a[0] = (l) => r(l))
|
|
35885
|
-
}, q(t.order.id), 9,
|
|
35890
|
+
}, q(t.order.id), 9, w3),
|
|
35886
35891
|
ee(" от " + q(s.value), 1)
|
|
35887
35892
|
]),
|
|
35888
35893
|
a[2] || (a[2] = ee(", ", -1)),
|
|
35889
|
-
k("span",
|
|
35894
|
+
k("span", x3, "автор: " + q(t.order.creator.name) + " [" + q(t.order.creator.type) + "]", 1)
|
|
35890
35895
|
], 64));
|
|
35891
35896
|
}
|
|
35892
|
-
}),
|
|
35897
|
+
}), C3 = { class: "sc-page flex flex-col bg-inherit" }, S3 = { class: "my-2 flex flex-row items-end" }, $3 = { class: "sc-title grow" }, P3 = {
|
|
35893
35898
|
key: 0,
|
|
35894
35899
|
class: "sc-title-buttons flex-1 grow-0"
|
|
35895
|
-
},
|
|
35900
|
+
}, T3 = { class: "flex flex-col justify-end gap-1 sm:mt-0 sm:flex-row" }, R3 = {
|
|
35896
35901
|
key: 0,
|
|
35897
35902
|
class: "sc-title-extra mt-2 sm:mt-4"
|
|
35898
|
-
},
|
|
35899
|
-
...
|
|
35903
|
+
}, F3 = {}, B3 = /* @__PURE__ */ re({
|
|
35904
|
+
...F3,
|
|
35900
35905
|
__name: "page",
|
|
35901
35906
|
props: {
|
|
35902
35907
|
title: {},
|
|
@@ -35906,15 +35911,15 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35906
35911
|
setup(t) {
|
|
35907
35912
|
return (e, i) => {
|
|
35908
35913
|
const n = Pg;
|
|
35909
|
-
return _(), M("div",
|
|
35914
|
+
return _(), M("div", C3, [
|
|
35910
35915
|
k("div", {
|
|
35911
35916
|
class: We(t.stickyHeader ? "sticky z-10 bg-inherit" : void 0),
|
|
35912
35917
|
style: sr(t.stickyHeader ? { top: `${t.stickyTopOffset ?? 0}px` } : void 0)
|
|
35913
35918
|
}, [
|
|
35914
|
-
k("div",
|
|
35915
|
-
k("div",
|
|
35919
|
+
k("div", S3, [
|
|
35920
|
+
k("div", $3, [
|
|
35916
35921
|
Re(e.$slots, "title", {}, () => [
|
|
35917
|
-
|
|
35922
|
+
H(n, { class: "m-0 leading-none lg:mb-3 lg:leading-normal" }, {
|
|
35918
35923
|
default: z(() => [
|
|
35919
35924
|
ee(q(t.title ?? ""), 1)
|
|
35920
35925
|
]),
|
|
@@ -35922,23 +35927,23 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35922
35927
|
})
|
|
35923
35928
|
])
|
|
35924
35929
|
]),
|
|
35925
|
-
e.$slots["title-buttons"] ? (_(), M("div",
|
|
35926
|
-
k("div",
|
|
35930
|
+
e.$slots["title-buttons"] ? (_(), M("div", P3, [
|
|
35931
|
+
k("div", T3, [
|
|
35927
35932
|
Re(e.$slots, "title-buttons")
|
|
35928
35933
|
])
|
|
35929
|
-
])) :
|
|
35934
|
+
])) : N("", !0)
|
|
35930
35935
|
]),
|
|
35931
|
-
e.$slots["title-extra"] ? (_(), M("div",
|
|
35936
|
+
e.$slots["title-extra"] ? (_(), M("div", R3, [
|
|
35932
35937
|
Re(e.$slots, "title-extra")
|
|
35933
|
-
])) :
|
|
35938
|
+
])) : N("", !0),
|
|
35934
35939
|
Re(e.$slots, "sticky-extra")
|
|
35935
35940
|
], 6),
|
|
35936
35941
|
Re(e.$slots, "default")
|
|
35937
35942
|
]);
|
|
35938
35943
|
};
|
|
35939
35944
|
}
|
|
35940
|
-
}),
|
|
35941
|
-
...
|
|
35945
|
+
}), A3 = { class: "overflow-hidden transition-all duration-300" }, M3 = { class: "text-lg font-medium leading-none" }, I3 = {}, E3 = /* @__PURE__ */ re({
|
|
35946
|
+
...I3,
|
|
35942
35947
|
__name: "sliding-content-with-drawer",
|
|
35943
35948
|
props: {
|
|
35944
35949
|
drawerWidth: { type: [Number, Function], default: void 0 },
|
|
@@ -35979,7 +35984,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35979
35984
|
}), a(), window.addEventListener("resize", a), (l, c) => {
|
|
35980
35985
|
const u = Ld, d = zd;
|
|
35981
35986
|
return _(), M(be, null, [
|
|
35982
|
-
k("div",
|
|
35987
|
+
k("div", A3, [
|
|
35983
35988
|
k("div", {
|
|
35984
35989
|
style: sr(`margin-left: ${s.value}px;`),
|
|
35985
35990
|
class: "w-full"
|
|
@@ -35987,7 +35992,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35987
35992
|
Re(l.$slots, "default")
|
|
35988
35993
|
], 4)
|
|
35989
35994
|
]),
|
|
35990
|
-
|
|
35995
|
+
H(d, {
|
|
35991
35996
|
show: r.value,
|
|
35992
35997
|
"onUpdate:show": c[0] || (c[0] = (h) => r.value = h),
|
|
35993
35998
|
resizable: !0,
|
|
@@ -35995,10 +36000,10 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
35995
36000
|
placement: "left"
|
|
35996
36001
|
}, {
|
|
35997
36002
|
default: z(() => [
|
|
35998
|
-
|
|
36003
|
+
H(u, { closable: "" }, {
|
|
35999
36004
|
header: z(() => [
|
|
36000
36005
|
Re(l.$slots, "drawer-header", {}, () => [
|
|
36001
|
-
k("div",
|
|
36006
|
+
k("div", M3, q(t.title), 1)
|
|
36002
36007
|
])
|
|
36003
36008
|
]),
|
|
36004
36009
|
default: z(() => [
|
|
@@ -36015,14 +36020,14 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36015
36020
|
], 64);
|
|
36016
36021
|
};
|
|
36017
36022
|
}
|
|
36018
|
-
}),
|
|
36023
|
+
}), O3 = {
|
|
36019
36024
|
ref: "panel-component-ref",
|
|
36020
36025
|
class: "sc-page-panel flex flex-row gap-2.5 bg-inherit sm:gap-8"
|
|
36021
|
-
},
|
|
36026
|
+
}, z3 = { key: 0 }, L3 = { class: "sc-page-preview-panel grow" }, D3 = {
|
|
36022
36027
|
key: 1,
|
|
36023
36028
|
class: "sc-page-preview-panel-extra flex-none"
|
|
36024
|
-
},
|
|
36025
|
-
...
|
|
36029
|
+
}, N3 = {}, c6 = /* @__PURE__ */ re({
|
|
36030
|
+
...N3,
|
|
36026
36031
|
__name: "page-with-sliding-panel",
|
|
36027
36032
|
props: {
|
|
36028
36033
|
title: {},
|
|
@@ -36065,13 +36070,13 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36065
36070
|
closePanel: s
|
|
36066
36071
|
}), (a, l) => {
|
|
36067
36072
|
const c = Ne;
|
|
36068
|
-
return _(), te(
|
|
36073
|
+
return _(), te(B3, {
|
|
36069
36074
|
title: t.title,
|
|
36070
36075
|
"sticky-header": t.stickyHeader,
|
|
36071
36076
|
"sticky-top-offset": t.stickyTopOffset
|
|
36072
36077
|
}, Bn({
|
|
36073
36078
|
default: z(() => [
|
|
36074
|
-
|
|
36079
|
+
H(E3, {
|
|
36075
36080
|
"show-drawer": i.value,
|
|
36076
36081
|
"onUpdate:showDrawer": l[1] || (l[1] = (u) => i.value = u),
|
|
36077
36082
|
title: t.panelTitle
|
|
@@ -36126,14 +36131,14 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36126
36131
|
a.$slots["preview-panel"] || a.$slots["preview-panel-extra"] || t.isShowPanelButtonVisible ? {
|
|
36127
36132
|
name: "sticky-extra",
|
|
36128
36133
|
fn: z(() => [
|
|
36129
|
-
k("div",
|
|
36130
|
-
t.isShowPanelButtonVisible ? (_(), M("div",
|
|
36134
|
+
k("div", O3, [
|
|
36135
|
+
t.isShowPanelButtonVisible ? (_(), M("div", z3, [
|
|
36131
36136
|
Re(a.$slots, "show-panel-button", {
|
|
36132
36137
|
onClickHandler: () => {
|
|
36133
36138
|
i.value = !0;
|
|
36134
36139
|
}
|
|
36135
36140
|
}, () => [
|
|
36136
|
-
|
|
36141
|
+
H(c, {
|
|
36137
36142
|
class: "flex-none sm:px-10 sm:py-4",
|
|
36138
36143
|
onClick: l[0] || (l[0] = (u) => i.value = !0)
|
|
36139
36144
|
}, {
|
|
@@ -36143,13 +36148,13 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36143
36148
|
_: 1
|
|
36144
36149
|
})
|
|
36145
36150
|
])
|
|
36146
|
-
])) :
|
|
36147
|
-
k("div",
|
|
36151
|
+
])) : N("", !0),
|
|
36152
|
+
k("div", L3, [
|
|
36148
36153
|
Re(a.$slots, "preview-panel")
|
|
36149
36154
|
]),
|
|
36150
|
-
a.$slots["preview-panel-extra"] ? (_(), M("div",
|
|
36155
|
+
a.$slots["preview-panel-extra"] ? (_(), M("div", D3, [
|
|
36151
36156
|
Re(a.$slots, "preview-panel-extra")
|
|
36152
|
-
])) :
|
|
36157
|
+
])) : N("", !0)
|
|
36153
36158
|
], 512)
|
|
36154
36159
|
]),
|
|
36155
36160
|
key: "3"
|
|
@@ -36157,8 +36162,8 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36157
36162
|
]), 1032, ["title", "sticky-header", "sticky-top-offset"]);
|
|
36158
36163
|
};
|
|
36159
36164
|
}
|
|
36160
|
-
}),
|
|
36161
|
-
...
|
|
36165
|
+
}), H3 = {}, u6 = /* @__PURE__ */ re({
|
|
36166
|
+
...H3,
|
|
36162
36167
|
__name: "curator-select",
|
|
36163
36168
|
props: {
|
|
36164
36169
|
value: { default: null },
|
|
@@ -36251,8 +36256,8 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36251
36256
|
"onUpdate:value": d
|
|
36252
36257
|
}, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
|
|
36253
36258
|
}
|
|
36254
|
-
}),
|
|
36255
|
-
...
|
|
36259
|
+
}), W3 = {}, d6 = /* @__PURE__ */ re({
|
|
36260
|
+
...W3,
|
|
36256
36261
|
__name: "manager-select",
|
|
36257
36262
|
props: {
|
|
36258
36263
|
value: { default: null },
|
|
@@ -36356,26 +36361,26 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36356
36361
|
"onUpdate:value": d
|
|
36357
36362
|
}, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
|
|
36358
36363
|
}
|
|
36359
|
-
}),
|
|
36360
|
-
...
|
|
36364
|
+
}), V3 = { class: "m-0.5 flex flex-col p-0.5" }, j3 = { class: "flex flex-row gap-1" }, q3 = { key: 0 }, U3 = { key: 1 }, X3 = { key: 2 }, Y3 = { key: 3 }, K3 = { class: "flex flex-row gap-1" }, G3 = { key: 0 }, Z3 = { key: 1 }, Q3 = { key: 2 }, J3 = { key: 3 }, e4 = {}, t4 = /* @__PURE__ */ re({
|
|
36365
|
+
...e4,
|
|
36361
36366
|
__name: "address-suggestion-label",
|
|
36362
36367
|
props: {
|
|
36363
36368
|
addr: {},
|
|
36364
36369
|
selected: { type: Boolean }
|
|
36365
36370
|
},
|
|
36366
36371
|
setup(t) {
|
|
36367
|
-
return (e, i) => (_(), M("div",
|
|
36368
|
-
k("span",
|
|
36369
|
-
t.addr.postIndex ? (_(), M("span",
|
|
36370
|
-
t.addr.city ? (_(), M("span",
|
|
36371
|
-
t.addr.locality ? (_(), M("span",
|
|
36372
|
-
t.addr.region ? (_(), M("span",
|
|
36372
|
+
return (e, i) => (_(), M("div", V3, [
|
|
36373
|
+
k("span", j3, [
|
|
36374
|
+
t.addr.postIndex ? (_(), M("span", q3, q(t.addr.postIndex) + ", ", 1)) : N("", !0),
|
|
36375
|
+
t.addr.city ? (_(), M("span", U3, q(t.addr.city) + ", ", 1)) : N("", !0),
|
|
36376
|
+
t.addr.locality ? (_(), M("span", X3, q(t.addr.locality) + ", ", 1)) : N("", !0),
|
|
36377
|
+
t.addr.region ? (_(), M("span", Y3, q(t.addr.region) + ", ", 1)) : N("", !0)
|
|
36373
36378
|
]),
|
|
36374
|
-
k("span",
|
|
36375
|
-
t.addr.street ? (_(), M("span",
|
|
36376
|
-
t.addr.building ? (_(), M("span",
|
|
36377
|
-
t.addr.buildingPart ? (_(), M("span",
|
|
36378
|
-
t.addr.apartments ? (_(), M("span",
|
|
36379
|
+
k("span", K3, [
|
|
36380
|
+
t.addr.street ? (_(), M("span", G3, q(t.addr.street) + ", ", 1)) : N("", !0),
|
|
36381
|
+
t.addr.building ? (_(), M("span", Z3, q(t.addr.building) + ", ", 1)) : N("", !0),
|
|
36382
|
+
t.addr.buildingPart ? (_(), M("span", Q3, q(t.addr.buildingPart) + ", ", 1)) : N("", !0),
|
|
36383
|
+
t.addr.apartments ? (_(), M("span", J3, q(t.addr.apartments) + ", ", 1)) : N("", !0)
|
|
36379
36384
|
])
|
|
36380
36385
|
]));
|
|
36381
36386
|
}
|
|
@@ -36384,8 +36389,8 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36384
36389
|
value: "",
|
|
36385
36390
|
field: void 0,
|
|
36386
36391
|
disabled: !1
|
|
36387
|
-
},
|
|
36388
|
-
...
|
|
36392
|
+
}, i4 = {}, h6 = /* @__PURE__ */ re({
|
|
36393
|
+
...i4,
|
|
36389
36394
|
__name: "address-suggestion",
|
|
36390
36395
|
props: /* @__PURE__ */ Fl({
|
|
36391
36396
|
disabled: { type: Boolean },
|
|
@@ -36432,7 +36437,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36432
36437
|
}, d = (m, p) => {
|
|
36433
36438
|
const v = a.value.find((y) => y.id === m.value) || {};
|
|
36434
36439
|
return U(
|
|
36435
|
-
|
|
36440
|
+
t4,
|
|
36436
36441
|
{
|
|
36437
36442
|
addr: v,
|
|
36438
36443
|
selected: p
|
|
@@ -36474,24 +36479,24 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36474
36479
|
}, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
|
|
36475
36480
|
};
|
|
36476
36481
|
}
|
|
36477
|
-
}),
|
|
36478
|
-
...
|
|
36482
|
+
}), n4 = { class: "m-0.5 flex flex-col p-0.5" }, s4 = { class: "font-medium" }, r4 = { class: "flex flex-row gap-1 text-xs font-light text-blue-800" }, o4 = { key: 0 }, a4 = { key: 1 }, l4 = {}, c4 = /* @__PURE__ */ re({
|
|
36483
|
+
...l4,
|
|
36479
36484
|
__name: "bank-suggestion-label",
|
|
36480
36485
|
props: {
|
|
36481
36486
|
bank: {},
|
|
36482
36487
|
selected: { type: Boolean }
|
|
36483
36488
|
},
|
|
36484
36489
|
setup(t) {
|
|
36485
|
-
return (e, i) => (_(), M("div",
|
|
36486
|
-
k("span",
|
|
36487
|
-
k("span",
|
|
36488
|
-
t.bank.bic ? (_(), M("span",
|
|
36489
|
-
t.bank.inn ? (_(), M("span",
|
|
36490
|
+
return (e, i) => (_(), M("div", n4, [
|
|
36491
|
+
k("span", s4, q(t.bank.name), 1),
|
|
36492
|
+
k("span", r4, [
|
|
36493
|
+
t.bank.bic ? (_(), M("span", o4, " БИК: " + q(t.bank.bic), 1)) : N("", !0),
|
|
36494
|
+
t.bank.inn ? (_(), M("span", a4, " ИНН: " + q(t.bank.inn), 1)) : N("", !0)
|
|
36490
36495
|
])
|
|
36491
36496
|
]));
|
|
36492
36497
|
}
|
|
36493
|
-
}),
|
|
36494
|
-
...
|
|
36498
|
+
}), u4 = {}, f6 = /* @__PURE__ */ re({
|
|
36499
|
+
...u4,
|
|
36495
36500
|
__name: "bank-suggestion",
|
|
36496
36501
|
props: /* @__PURE__ */ Fl({
|
|
36497
36502
|
disabled: { type: Boolean },
|
|
@@ -36540,7 +36545,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36540
36545
|
}, d = (m, p) => {
|
|
36541
36546
|
const v = a.value.find((y) => y.id === m.value) || {};
|
|
36542
36547
|
return U(
|
|
36543
|
-
|
|
36548
|
+
c4,
|
|
36544
36549
|
{
|
|
36545
36550
|
bank: v,
|
|
36546
36551
|
selected: p
|
|
@@ -36582,17 +36587,17 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36582
36587
|
}, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
|
|
36583
36588
|
};
|
|
36584
36589
|
}
|
|
36585
|
-
}),
|
|
36590
|
+
}), d4 = { class: "font-medium" }, h4 = {
|
|
36586
36591
|
key: 0,
|
|
36587
36592
|
class: "flex flex-row gap-2"
|
|
36588
|
-
},
|
|
36593
|
+
}, f4 = {
|
|
36589
36594
|
key: 0,
|
|
36590
36595
|
class: "text-xs font-light text-blue-800"
|
|
36591
|
-
},
|
|
36596
|
+
}, g4 = {
|
|
36592
36597
|
key: 1,
|
|
36593
36598
|
class: "text-sc-dark-grey text-xs font-light"
|
|
36594
|
-
},
|
|
36595
|
-
...
|
|
36599
|
+
}, m4 = {}, p4 = /* @__PURE__ */ re({
|
|
36600
|
+
...m4,
|
|
36596
36601
|
__name: "org-suggestion-label",
|
|
36597
36602
|
props: {
|
|
36598
36603
|
org: {},
|
|
@@ -36609,15 +36614,15 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36609
36614
|
return (s, r) => (_(), M("div", {
|
|
36610
36615
|
class: We(`m-0.5 flex flex-col p-0.5 ${i.value ? "line-through" : ""}`)
|
|
36611
36616
|
}, [
|
|
36612
|
-
k("span",
|
|
36613
|
-
t.org.inn || n.value ? (_(), M("div",
|
|
36614
|
-
t.org.inn ? (_(), M("span",
|
|
36615
|
-
n.value ? (_(), M("span",
|
|
36616
|
-
])) :
|
|
36617
|
+
k("span", d4, q(t.org.name), 1),
|
|
36618
|
+
t.org.inn || n.value ? (_(), M("div", h4, [
|
|
36619
|
+
t.org.inn ? (_(), M("span", f4, q(t.org.inn), 1)) : N("", !0),
|
|
36620
|
+
n.value ? (_(), M("span", g4, q(n.value), 1)) : N("", !0)
|
|
36621
|
+
])) : N("", !0)
|
|
36617
36622
|
], 2));
|
|
36618
36623
|
}
|
|
36619
|
-
}),
|
|
36620
|
-
...
|
|
36624
|
+
}), v4 = {}, g6 = /* @__PURE__ */ re({
|
|
36625
|
+
...v4,
|
|
36621
36626
|
__name: "org-suggestion",
|
|
36622
36627
|
props: /* @__PURE__ */ Fl({
|
|
36623
36628
|
disabled: { type: Boolean },
|
|
@@ -36672,7 +36677,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36672
36677
|
}, h = (p, v) => {
|
|
36673
36678
|
const y = a.value.find(($) => $.id === p.value) || {};
|
|
36674
36679
|
return U(
|
|
36675
|
-
|
|
36680
|
+
p4,
|
|
36676
36681
|
{
|
|
36677
36682
|
org: y,
|
|
36678
36683
|
selected: v
|
|
@@ -36714,8 +36719,8 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36714
36719
|
}, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
|
|
36715
36720
|
};
|
|
36716
36721
|
}
|
|
36717
|
-
}),
|
|
36718
|
-
...
|
|
36722
|
+
}), y4 = {}, m6 = /* @__PURE__ */ re({
|
|
36723
|
+
...y4,
|
|
36719
36724
|
__name: "button-with-confirm-action",
|
|
36720
36725
|
props: {
|
|
36721
36726
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -36742,12 +36747,12 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36742
36747
|
return (a, l) => {
|
|
36743
36748
|
const c = Ne, u = In, d = Bl;
|
|
36744
36749
|
return _(), M("div", null, [
|
|
36745
|
-
|
|
36750
|
+
H(u, {
|
|
36746
36751
|
disabled: t.popoverText.length === 0,
|
|
36747
36752
|
placement: "bottom"
|
|
36748
36753
|
}, {
|
|
36749
36754
|
trigger: z(() => [
|
|
36750
|
-
|
|
36755
|
+
H(c, {
|
|
36751
36756
|
disabled: t.disabled,
|
|
36752
36757
|
ghost: t.ghost,
|
|
36753
36758
|
loading: t.loading,
|
|
@@ -36768,7 +36773,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36768
36773
|
]),
|
|
36769
36774
|
_: 3
|
|
36770
36775
|
}, 8, ["disabled"]),
|
|
36771
|
-
|
|
36776
|
+
H(d, {
|
|
36772
36777
|
show: s.value,
|
|
36773
36778
|
"onUpdate:show": l[1] || (l[1] = (h) => s.value = h),
|
|
36774
36779
|
content: t.dialogContent,
|
|
@@ -36780,7 +36785,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36780
36785
|
preset: "dialog"
|
|
36781
36786
|
}, {
|
|
36782
36787
|
action: z(() => [
|
|
36783
|
-
|
|
36788
|
+
H(c, {
|
|
36784
36789
|
type: "primary",
|
|
36785
36790
|
class: "px-8",
|
|
36786
36791
|
onClick: r
|
|
@@ -36790,7 +36795,7 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36790
36795
|
])]),
|
|
36791
36796
|
_: 1
|
|
36792
36797
|
}),
|
|
36793
|
-
|
|
36798
|
+
H(c, {
|
|
36794
36799
|
type: "default",
|
|
36795
36800
|
onClick: l[0] || (l[0] = (h) => s.value = !1)
|
|
36796
36801
|
}, {
|
|
@@ -36805,14 +36810,14 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36805
36810
|
]);
|
|
36806
36811
|
};
|
|
36807
36812
|
}
|
|
36808
|
-
}),
|
|
36813
|
+
}), b4 = {
|
|
36809
36814
|
key: 0,
|
|
36810
36815
|
class: "whitespace-pre-line"
|
|
36811
|
-
},
|
|
36816
|
+
}, _4 = {
|
|
36812
36817
|
key: 1,
|
|
36813
36818
|
class: "text-sc-dark-grey"
|
|
36814
|
-
},
|
|
36815
|
-
...
|
|
36819
|
+
}, w4 = {}, p6 = /* @__PURE__ */ re({
|
|
36820
|
+
...w4,
|
|
36816
36821
|
__name: "comment-editor",
|
|
36817
36822
|
props: {
|
|
36818
36823
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -36841,11 +36846,11 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36841
36846
|
}, {
|
|
36842
36847
|
viewer: z(() => [
|
|
36843
36848
|
k("div", null, [
|
|
36844
|
-
t.comment ? (_(), M("span",
|
|
36849
|
+
t.comment ? (_(), M("span", b4, q(t.comment), 1)) : (_(), M("span", _4, " - Комментарий отсутствует - "))
|
|
36845
36850
|
])
|
|
36846
36851
|
]),
|
|
36847
36852
|
editor: z(() => [
|
|
36848
|
-
|
|
36853
|
+
H(c, {
|
|
36849
36854
|
value: s.value,
|
|
36850
36855
|
"onUpdate:value": l[0] || (l[0] = (u) => s.value = u),
|
|
36851
36856
|
clearable: !0,
|
|
@@ -36856,8 +36861,8 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36856
36861
|
}, 8, ["disabled"]);
|
|
36857
36862
|
};
|
|
36858
36863
|
}
|
|
36859
|
-
}),
|
|
36860
|
-
...
|
|
36864
|
+
}), x4 = {}, v6 = /* @__PURE__ */ re({
|
|
36865
|
+
...x4,
|
|
36861
36866
|
__name: "debt",
|
|
36862
36867
|
props: {
|
|
36863
36868
|
debt: { default: 0 },
|
|
@@ -36877,23 +36882,23 @@ const R5 = He({ name: "ion-trash-outline", render: T5 }), F5 = {}, B5 = /* @__PU
|
|
|
36877
36882
|
k("span", {
|
|
36878
36883
|
class: We({ "text-green-700": t.debt > 0, "text-red-700": t.debt < 0 })
|
|
36879
36884
|
}, q(t.debt) + " ₽ ", 3)
|
|
36880
|
-
], 2)) :
|
|
36885
|
+
], 2)) : N("", !0);
|
|
36881
36886
|
}
|
|
36882
|
-
}),
|
|
36887
|
+
}), k4 = {
|
|
36883
36888
|
viewBox: "0 0 512 512",
|
|
36884
36889
|
width: "1.2em",
|
|
36885
36890
|
height: "1.2em"
|
|
36886
36891
|
};
|
|
36887
|
-
function
|
|
36888
|
-
return _(), M("svg",
|
|
36892
|
+
function C4(t, e) {
|
|
36893
|
+
return _(), M("svg", k4, [...e[0] || (e[0] = [
|
|
36889
36894
|
k("path", {
|
|
36890
36895
|
fill: "currentColor",
|
|
36891
36896
|
d: "M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17m-198.6-1.83a20 20 0 1 1 20-20a20 20 0 0 1-20 20m21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7Z"
|
|
36892
36897
|
}, null, -1)
|
|
36893
36898
|
])]);
|
|
36894
36899
|
}
|
|
36895
|
-
const
|
|
36896
|
-
|
|
36900
|
+
const S4 = He({ name: "ion-warning", render: C4 }), $4 = {}, y6 = /* @__PURE__ */ re({
|
|
36901
|
+
...$4,
|
|
36897
36902
|
__name: "warning-icon",
|
|
36898
36903
|
props: {
|
|
36899
36904
|
popoverText: { default: "" },
|
|
@@ -36901,13 +36906,13 @@ const C4 = He({ name: "ion-warning", render: k4 }), S4 = {}, v6 = /* @__PURE__ *
|
|
|
36901
36906
|
},
|
|
36902
36907
|
setup(t) {
|
|
36903
36908
|
return (e, i) => {
|
|
36904
|
-
const n =
|
|
36909
|
+
const n = S4, s = In;
|
|
36905
36910
|
return _(), te(s, {
|
|
36906
36911
|
disabled: t.popoverText.length === 0,
|
|
36907
36912
|
placement: "bottom"
|
|
36908
36913
|
}, {
|
|
36909
36914
|
trigger: z(() => [
|
|
36910
|
-
|
|
36915
|
+
H(n, {
|
|
36911
36916
|
class: We(`ml-0.5 ${t.iconClass}`)
|
|
36912
36917
|
}, null, 8, ["class"])
|
|
36913
36918
|
]),
|
|
@@ -36978,11 +36983,11 @@ P(Yt, "messagesService"), /**
|
|
|
36978
36983
|
*/
|
|
36979
36984
|
P(Yt, "notificationsService");
|
|
36980
36985
|
let Pd = Yt;
|
|
36981
|
-
const
|
|
36986
|
+
const b6 = E(() => Nt().deliveryTypeReference ?? []), _6 = E(() => Nt().managersList ?? []), w6 = E(() => Nt().opfReference ?? []), x6 = E(() => Nt().partnerGroupsReference ?? []), k6 = E(() => Nt().priceCoefficientsReference ?? []), C6 = E(() => Nt().productFilesTypesReference ?? []), S6 = E(() => Nt().resourceTypesReference), $6 = E(() => Nt().salesDirectionsReference ?? []), P6 = E(() => Nt().warehousesReference ?? []), T6 = E(() => Nt().paymentTypeReference ?? []), R6 = E(() => Nt().orderStatusReference ?? []), F6 = E(() => Nt().operatorReference ?? []), B6 = E(
|
|
36982
36987
|
() => Pi.convertReferencesToSelectOptionsList(Nt().channelPrimaryInterestsReference ?? [], !0, !1, !0)
|
|
36983
|
-
),
|
|
36988
|
+
), A6 = E(
|
|
36984
36989
|
() => Pi.convertReferencesToSelectOptionsList(Nt().sourcePrimaryInterestsReference ?? [], !0, !1, !0)
|
|
36985
|
-
),
|
|
36990
|
+
), M6 = (t) => Yi.getInstance(Ng).searchCity(t), I6 = (t) => Pi.convertReferencesToSelectOptionsList(
|
|
36986
36991
|
t,
|
|
36987
36992
|
!0,
|
|
36988
36993
|
!1,
|
|
@@ -36994,7 +36999,7 @@ const y6 = E(() => Nt().deliveryTypeReference ?? []), b6 = E(() => Nt().managers
|
|
|
36994
36999
|
},
|
|
36995
37000
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
36996
37001
|
(e) => e == null ? void 0 : e.isNewRec()
|
|
36997
|
-
),
|
|
37002
|
+
), E6 = (t) => Yi.getInstance(Hg).searchClient(t), O6 = (t) => Pi.convertReferencesToSelectOptionsList(
|
|
36998
37003
|
t,
|
|
36999
37004
|
!0,
|
|
37000
37005
|
!1,
|
|
@@ -37011,42 +37016,42 @@ const y6 = E(() => Nt().deliveryTypeReference ?? []), b6 = E(() => Nt().managers
|
|
|
37011
37016
|
(e) => e == null ? void 0 : e.isNewRec()
|
|
37012
37017
|
);
|
|
37013
37018
|
export {
|
|
37014
|
-
|
|
37019
|
+
O4 as CommonValidators,
|
|
37015
37020
|
cy as ConfiguratorSettingsKozyrek,
|
|
37016
|
-
|
|
37021
|
+
G4 as ConfiguratorSettingsMosquito,
|
|
37017
37022
|
Gs as ContentHelper,
|
|
37018
|
-
|
|
37023
|
+
z4 as DateValidators,
|
|
37019
37024
|
Tn as KozyrekLine,
|
|
37020
37025
|
zu as KozyrekTailTemplate,
|
|
37021
37026
|
pr as KozyrekTemplate,
|
|
37022
37027
|
pe as NumericValidators,
|
|
37023
37028
|
Ze as OrdersTableFields,
|
|
37024
37029
|
Ou as Point,
|
|
37025
|
-
|
|
37026
|
-
|
|
37027
|
-
|
|
37028
|
-
|
|
37029
|
-
|
|
37030
|
+
U4 as ScAddProductToCartDialog,
|
|
37031
|
+
h6 as ScAddressSuggestion,
|
|
37032
|
+
t4 as ScAddressSuggestionLabel,
|
|
37033
|
+
f6 as ScBankSuggestion,
|
|
37034
|
+
c4 as ScBankSuggestionLabel,
|
|
37030
37035
|
Y_ as ScBaseDialog,
|
|
37031
|
-
|
|
37036
|
+
m6 as ScButtonWithConfirmAction,
|
|
37032
37037
|
H_ as ScCategoryCollapse,
|
|
37033
37038
|
To as ScClientNameWithShortInfo,
|
|
37034
37039
|
D_ as ScCollapse,
|
|
37035
37040
|
Am as ScCollapseItem,
|
|
37036
|
-
|
|
37041
|
+
p6 as ScCommentEditor,
|
|
37037
37042
|
Wo as ScConfiguratorsProductInfo,
|
|
37038
37043
|
l1 as ScContragentWithShortInfo,
|
|
37039
37044
|
go as ScCreatorUserTypeTag,
|
|
37040
|
-
|
|
37041
|
-
|
|
37045
|
+
u6 as ScCuratorSelect,
|
|
37046
|
+
Q4 as ScDateRange,
|
|
37042
37047
|
ml as ScDateTimeLabel,
|
|
37043
|
-
|
|
37044
|
-
|
|
37045
|
-
|
|
37046
|
-
|
|
37048
|
+
t6 as ScDebouncedInput,
|
|
37049
|
+
i6 as ScDebouncedInputNumber,
|
|
37050
|
+
v6 as ScDebt,
|
|
37051
|
+
J4 as ScDialogHeader,
|
|
37047
37052
|
__ as ScDynamicConfigurator,
|
|
37048
|
-
|
|
37049
|
-
|
|
37053
|
+
X4 as ScEmail,
|
|
37054
|
+
s6 as ScExternalLink,
|
|
37050
37055
|
mp as ScImageGallery,
|
|
37051
37056
|
Rw as ScInlineEditableItem,
|
|
37052
37057
|
Du as ScInlineView,
|
|
@@ -37055,7 +37060,7 @@ export {
|
|
|
37055
37060
|
ly as ScKozyrekConfiguratorPreview,
|
|
37056
37061
|
ny as ScKozyrekConfiguratorTemplates,
|
|
37057
37062
|
dp as ScLightGallery,
|
|
37058
|
-
|
|
37063
|
+
d6 as ScManagerSelect,
|
|
37059
37064
|
db as ScMetalForDoorsConfigurator,
|
|
37060
37065
|
lb as ScMetalForDoorsConfiguratorForm,
|
|
37061
37066
|
Wy as ScMosquitoConfigurator,
|
|
@@ -37064,24 +37069,24 @@ export {
|
|
|
37064
37069
|
Lu as ScMosquitoConfiguratorPreview,
|
|
37065
37070
|
g5 as ScOrderCommonInfo,
|
|
37066
37071
|
cc as ScOrderDeliveryLabel,
|
|
37067
|
-
|
|
37068
|
-
|
|
37069
|
-
|
|
37072
|
+
n3 as ScOrderDetails,
|
|
37073
|
+
l3 as ScOrderExternalLinks,
|
|
37074
|
+
p3 as ScOrderInfo,
|
|
37070
37075
|
US as ScOrderItemParams,
|
|
37071
37076
|
L5 as ScOrderItemsList,
|
|
37072
37077
|
Qf as ScOrderPayment,
|
|
37073
37078
|
$5 as ScOrderProductInfo,
|
|
37074
37079
|
K5 as ScOrderStatusHistory,
|
|
37075
|
-
|
|
37076
|
-
|
|
37077
|
-
|
|
37078
|
-
|
|
37079
|
-
|
|
37080
|
-
|
|
37081
|
-
|
|
37082
|
-
|
|
37080
|
+
a6 as ScOrdersList,
|
|
37081
|
+
g6 as ScOrgSuggestion,
|
|
37082
|
+
p4 as ScOrgSuggestionLabel,
|
|
37083
|
+
B3 as ScPage,
|
|
37084
|
+
c6 as ScPageWithSlidingPanel,
|
|
37085
|
+
K4 as ScPersonContactsBlock,
|
|
37086
|
+
Y4 as ScPhone,
|
|
37087
|
+
n6 as ScPhoneInput,
|
|
37083
37088
|
_o as ScProductName,
|
|
37084
|
-
|
|
37089
|
+
o6 as ScProductsList,
|
|
37085
37090
|
V_ as ScReferenceSelect,
|
|
37086
37091
|
Ib as ScSandwichConfigurator,
|
|
37087
37092
|
Fb as ScSandwichConfiguratorForm,
|
|
@@ -37089,49 +37094,49 @@ export {
|
|
|
37089
37094
|
c_ as ScSandwichM2ConfiguratorForm,
|
|
37090
37095
|
hS as ScSearchableProductSelect,
|
|
37091
37096
|
uS as ScSearchableReferenceSelect,
|
|
37092
|
-
|
|
37093
|
-
|
|
37094
|
-
|
|
37095
|
-
|
|
37097
|
+
q4 as ScSetClientPriceFormItem,
|
|
37098
|
+
l6 as ScShortTextOrderInfo,
|
|
37099
|
+
e6 as ScSingleFileUploadSelector,
|
|
37100
|
+
E3 as ScSlidingContentWithDrawer,
|
|
37096
37101
|
rb as ScStripConfigurator,
|
|
37097
37102
|
Gy as ScStripConfiguratorForm,
|
|
37098
37103
|
jy as ScStripConfiguratorLineItem,
|
|
37099
37104
|
tb as ScStripConfiguratorPreview,
|
|
37100
37105
|
$d as ScUserShortInfo,
|
|
37101
|
-
|
|
37106
|
+
y6 as ScWarningIcon,
|
|
37102
37107
|
Pi as SelectOptionHelper,
|
|
37103
37108
|
Pd as UiNotificationProvider,
|
|
37104
37109
|
ct as Validators,
|
|
37105
37110
|
Ct as WindowResolutionEnum,
|
|
37106
37111
|
vi as WindowResolutionProvider,
|
|
37107
|
-
|
|
37112
|
+
B6 as channelPrimaryInterestOptionsList,
|
|
37108
37113
|
No as componentSizeInjectionKey,
|
|
37109
|
-
|
|
37114
|
+
b6 as deliveryTypeReferenceList,
|
|
37110
37115
|
Za as handleFloatInput,
|
|
37111
37116
|
Mt as handleIntegerInput,
|
|
37112
|
-
|
|
37117
|
+
Z4 as isCanSandwichM2Show,
|
|
37113
37118
|
x_ as isCanSandwichShow,
|
|
37114
37119
|
w_ as isConfiguratorType,
|
|
37115
|
-
|
|
37116
|
-
|
|
37117
|
-
|
|
37118
|
-
|
|
37119
|
-
|
|
37120
|
+
_6 as managersReferenceList,
|
|
37121
|
+
L4 as naiveUiTheme,
|
|
37122
|
+
F6 as operatorReferenceList,
|
|
37123
|
+
w6 as opfReferenceList,
|
|
37124
|
+
R6 as orderStatusReferenceList,
|
|
37120
37125
|
Dt as parse,
|
|
37121
|
-
|
|
37122
|
-
|
|
37123
|
-
|
|
37124
|
-
|
|
37126
|
+
x6 as partnerGroupReferenceList,
|
|
37127
|
+
T6 as paymentTypeReferenceList,
|
|
37128
|
+
k6 as priceCoefficientsReferenceList,
|
|
37129
|
+
C6 as productFilesTypesReferenceList,
|
|
37125
37130
|
dt as renderConfig,
|
|
37126
37131
|
$t as resetInputValidation,
|
|
37127
|
-
|
|
37128
|
-
|
|
37129
|
-
|
|
37130
|
-
|
|
37131
|
-
|
|
37132
|
-
|
|
37132
|
+
S6 as resourceReferencesList,
|
|
37133
|
+
$6 as salesDirectionsReferenceList,
|
|
37134
|
+
M6 as searchCityReferenceDataHandler,
|
|
37135
|
+
I6 as searchCityReferenceLabelRenderer,
|
|
37136
|
+
E6 as searchClientReferenceDataHandler,
|
|
37137
|
+
O6 as searchClientReferenceLabelRenderer,
|
|
37133
37138
|
at as selectAllTextOnFocus,
|
|
37134
|
-
|
|
37139
|
+
A6 as sourcePrimaryInterestOptionsList,
|
|
37135
37140
|
Yg as vFocusNext,
|
|
37136
|
-
|
|
37141
|
+
P6 as warehousesReferenceList
|
|
37137
37142
|
};
|