@snabcentr/vue-ui-lib 4.3.5 → 4.3.6
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/manifest.json +1 -1
- package/dist/release_notes.tmp +1 -1
- package/dist/sc-vue-ui-lib.js +697 -685
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +12 -12
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/sc-vue-ui-lib.js
CHANGED
|
@@ -6,7 +6,7 @@ var og = (t, e, i) => e in t ? rg(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var C = (t, e, i) => og(t, typeof e != "symbol" ? e + "" : e, i), hc = (t, e, i) => e.has(t) || dc("Cannot " + i);
|
|
7
7
|
var Qt = (t, e, i) => (hc(t, e, "read from private field"), i ? i.call(t) : e.get(t)), ma = (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 on, groupBy as ag, get as mo, isEmpty as Cl, noop as Gt, some as Fi, isFunction as Ct, isNil as ot, find as gc, forOwn as $d, forEach as gs, sortBy as Sl, cloneDeep as _i, reduce as Td, every as mc, isArray as _t, keys as lg, debounce as Xi, isUndefined as Zs, unset as cg, isNull as Pd, isObject as ug, merge as Nr, upperFirst as dg, map as hg, constant as Oo, union as fg } from "lodash-es";
|
|
9
|
-
import { Comment as zo, Text as Rd, Fragment as _e, markRaw as Oe, createElementBlock as M, openBlock as _, createElementVNode as $, defineComponent as se, inject as Ke, computed as z, ref as q, readonly as po, normalizeClass as je, createVNode as N, createCommentVNode as j, renderSlot as Te, unref as A, createTextVNode as
|
|
9
|
+
import { Comment as zo, Text as Rd, Fragment as _e, markRaw as Oe, createElementBlock as M, openBlock as _, createElementVNode as $, defineComponent as se, inject as Ke, computed as z, ref as q, readonly as po, normalizeClass as je, createVNode as N, createCommentVNode as j, renderSlot as Te, unref as A, createTextVNode as K, toDisplayString as Y, Transition as ws, withCtx as O, createBlock as Q, useTemplateRef as Ze, onMounted as rt, onBeforeUnmount as ki, onUnmounted as Br, normalizeStyle as tr, renderList as Mt, h as W, watch as xe, withKeys as ir, withModifiers as Kn, nextTick as Rt, onBeforeMount as Ar, toRaw as Bi, provide as bi, createSlots as qn, getCurrentInstance as Fd, withDirectives as nr, Teleport as gg, toRef as tt, mergeProps as $l, onActivated as Bd, onDeactivated as Ad, isVNode as mg, shallowRef as pg, watchEffect as Pn, vShow as Tl, cloneVNode as vg, mergeDefaults as Pl } from "vue";
|
|
10
10
|
import { NTooltip as Mr, NButton as ze, NDropdown as Lo, NTag as Md, NPopover as Bn, NText as $n, NScrollbar as Ed, NCheckbox as Zn, NSpin as Ps, NForm as sr, NFormItem as it, NSelect as an, NInputNumber as xt, NInput as An, NModal as Rl, NDrawer as Id, NDrawerContent as Od, NDataTable as Fl, NAlert as zd, NInputGroup as Ld, NInputGroupLabel as yg, NDatePicker as bg, NUpload as _g, NUploadDragger as wg, NList as xg, NListItem as kg, NImage as Cg, NH1 as Sg, NAutoComplete as Bl } from "naive-ui";
|
|
11
11
|
import { useBaseConfigStateStore as si, OrderItemBase as Ut, ClientProduct as Rn, Identity as $g, ClientCategory as Tg, Reference as Pg, useReferencesStore as Et, PriceCoefficientEnum as Rg, CalculationTypeEnum as Hr, PriceCoefficient as Fg, UnitsHelper as Li, DateTimeProvider as Bg, HttpRequester as qi, ProductCategoryDataProvider as Ag, ProductDataProvider as Mg, ConfiguratorsEnum as Wr, UserTypeEnum as Vr, OrdersDataProvider as vo, Order as Eg, DataTablePagination as Ig, Curator as pc, CuratedDirection as Og, ManagerDataFactory as vc, Manager as pa, DataSuggestionProvider as Al, FieldValidationResultData as zg, ReferenceDataProvider as Lg, ClientDataProvider as Dg } from "@snabcentr/common-lib";
|
|
12
12
|
import { format as xs, endOfDay as Ng, startOfDay as Hg, isTomorrow as Wg } from "date-fns";
|
|
@@ -145,7 +145,7 @@ class wi {
|
|
|
145
145
|
);
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
-
const
|
|
148
|
+
const M3 = {
|
|
149
149
|
required: {
|
|
150
150
|
required: !0,
|
|
151
151
|
type: "any",
|
|
@@ -191,7 +191,7 @@ const S3 = {
|
|
|
191
191
|
validator: (e, i) => i === null || Math.abs(i / t - Math.round(i / t)) < 1e-10 ? !0 : new Error(`Значение должно быть кратно ${t}`)
|
|
192
192
|
};
|
|
193
193
|
}
|
|
194
|
-
},
|
|
194
|
+
}, E3 = {
|
|
195
195
|
required: {
|
|
196
196
|
required: !0,
|
|
197
197
|
type: "date",
|
|
@@ -469,7 +469,7 @@ const vm = Oe({ name: "ion-chevron-forward-outline", render: pm }), ym = ["data-
|
|
|
469
469
|
onClick: d
|
|
470
470
|
}, [
|
|
471
471
|
Te(m.$slots, "header", {}, () => [
|
|
472
|
-
|
|
472
|
+
K(Y(t.title), 1)
|
|
473
473
|
], !0)
|
|
474
474
|
]),
|
|
475
475
|
A(Xs).hasSlotContent(m.$slots["sub-header"]) ? (_(), M("div", Cm, [
|
|
@@ -541,7 +541,7 @@ function Bm(t, e) {
|
|
|
541
541
|
}, null, -1)
|
|
542
542
|
])]);
|
|
543
543
|
}
|
|
544
|
-
const Wd = Oe({ name: "ion-cart-outline", render: Bm }), Do = Symbol(),
|
|
544
|
+
const Wd = Oe({ name: "ion-cart-outline", render: Bm }), Do = Symbol(), I3 = {
|
|
545
545
|
Button: {
|
|
546
546
|
border: "1px solid grey"
|
|
547
547
|
},
|
|
@@ -648,7 +648,7 @@ const Wd = Oe({ name: "ion-cart-outline", render: Bm }), Do = Symbol(), T3 = {
|
|
|
648
648
|
var B;
|
|
649
649
|
const g = Hd, f = Nd, m = ze, p = Mr, v = Dd, y = Wd, T = El, k = Lo;
|
|
650
650
|
return _(), M("div", Am, [
|
|
651
|
-
r.value ? (_(),
|
|
651
|
+
r.value ? (_(), Q(p, {
|
|
652
652
|
key: 0,
|
|
653
653
|
placement: "bottom",
|
|
654
654
|
trigger: "hover"
|
|
@@ -662,17 +662,17 @@ const Wd = Oe({ name: "ion-cart-outline", render: Bm }), Do = Symbol(), T3 = {
|
|
|
662
662
|
onClick: c
|
|
663
663
|
}, {
|
|
664
664
|
default: O(() => [
|
|
665
|
-
t.product.isRequired ? (_(),
|
|
665
|
+
t.product.isRequired ? (_(), Q(f, { key: 1 })) : (_(), Q(g, { key: 0 }))
|
|
666
666
|
]),
|
|
667
667
|
_: 1
|
|
668
668
|
}, 8, ["size", "disabled", "type"])
|
|
669
669
|
]),
|
|
670
670
|
default: O(() => [
|
|
671
|
-
h[0] || (h[0] =
|
|
671
|
+
h[0] || (h[0] = K(" Товар, который нужно предлагать клиенту ", -1))
|
|
672
672
|
]),
|
|
673
673
|
_: 1
|
|
674
674
|
})) : j("", !0),
|
|
675
|
-
s.value ? (_(),
|
|
675
|
+
s.value ? (_(), Q(p, {
|
|
676
676
|
key: 1,
|
|
677
677
|
placement: "bottom",
|
|
678
678
|
trigger: "hover"
|
|
@@ -692,11 +692,11 @@ const Wd = Oe({ name: "ion-cart-outline", render: Bm }), Do = Symbol(), T3 = {
|
|
|
692
692
|
}, 8, ["size", "disabled"])
|
|
693
693
|
]),
|
|
694
694
|
default: O(() => [
|
|
695
|
-
h[1] || (h[1] =
|
|
695
|
+
h[1] || (h[1] = K(" Редактировать ", -1))
|
|
696
696
|
]),
|
|
697
697
|
_: 1
|
|
698
698
|
})) : j("", !0),
|
|
699
|
-
n.value ? (_(),
|
|
699
|
+
n.value ? (_(), Q(p, {
|
|
700
700
|
key: 2,
|
|
701
701
|
placement: "bottom",
|
|
702
702
|
trigger: "hover"
|
|
@@ -716,11 +716,11 @@ const Wd = Oe({ name: "ion-cart-outline", render: Bm }), Do = Symbol(), T3 = {
|
|
|
716
716
|
}, 8, ["size", "disabled"])
|
|
717
717
|
]),
|
|
718
718
|
default: O(() => [
|
|
719
|
-
h[2] || (h[2] =
|
|
719
|
+
h[2] || (h[2] = K(" Добавить в корзину ", -1))
|
|
720
720
|
]),
|
|
721
721
|
_: 1
|
|
722
722
|
})) : j("", !0),
|
|
723
|
-
((B = o.value) == null ? void 0 : B.length) > 0 ? (_(),
|
|
723
|
+
((B = o.value) == null ? void 0 : B.length) > 0 ? (_(), Q(k, {
|
|
724
724
|
key: 3,
|
|
725
725
|
options: o.value,
|
|
726
726
|
size: A(i),
|
|
@@ -827,7 +827,7 @@ const Dm = Oe({ name: "mdi-percent-outline", render: Lm }), Nm = { class: "flex
|
|
|
827
827
|
var w;
|
|
828
828
|
const T = Md, k = Mr, B = Dm, F = Om;
|
|
829
829
|
return _(), M("div", Nm, [
|
|
830
|
-
t.showTag ? (_(),
|
|
830
|
+
t.showTag ? (_(), Q(k, { key: 0 }, {
|
|
831
831
|
trigger: O(() => [
|
|
832
832
|
N(T, {
|
|
833
833
|
round: "",
|
|
@@ -838,7 +838,7 @@ const Dm = Oe({ name: "mdi-percent-outline", render: Lm }), Nm = { class: "flex
|
|
|
838
838
|
default: O(() => {
|
|
839
839
|
var S;
|
|
840
840
|
return [
|
|
841
|
-
|
|
841
|
+
K(Y(((S = s.value) == null ? void 0 : S.coefficient.slug) ?? "Ц"), 1)
|
|
842
842
|
];
|
|
843
843
|
}),
|
|
844
844
|
_: 1
|
|
@@ -847,7 +847,7 @@ const Dm = Oe({ name: "mdi-percent-outline", render: Lm }), Nm = { class: "flex
|
|
|
847
847
|
default: O(() => {
|
|
848
848
|
var S;
|
|
849
849
|
return [
|
|
850
|
-
|
|
850
|
+
K(" " + Y(((S = s.value) == null ? void 0 : S.coefficient.name) ?? "Розничная цена"), 1)
|
|
851
851
|
];
|
|
852
852
|
}),
|
|
853
853
|
_: 1
|
|
@@ -872,8 +872,8 @@ const Dm = Oe({ name: "mdi-percent-outline", render: Lm }), Nm = { class: "flex
|
|
|
872
872
|
d.value && ((S = t.eventEmitter) == null || S.emit("cost:click", { product: n.value, cost: a.value }));
|
|
873
873
|
})
|
|
874
874
|
}, Y(h.value), 3),
|
|
875
|
-
|
|
876
|
-
a.value && !s.value && "discount" in t.product && t.product.discount ? (_(),
|
|
875
|
+
K(" " + Y(t.showQuantityUnit ? ` ${n.value.currency.symbol}/${n.value.unit.name}` : "") + " ", 1),
|
|
876
|
+
a.value && !s.value && "discount" in t.product && t.product.discount ? (_(), Q(k, { key: 0 }, {
|
|
877
877
|
trigger: O(() => [
|
|
878
878
|
N(B, { class: "text-sm text-black bg-amber-400 rounded p-px" })
|
|
879
879
|
]),
|
|
@@ -885,8 +885,8 @@ const Dm = Oe({ name: "mdi-percent-outline", render: Lm }), Nm = { class: "flex
|
|
|
885
885
|
], 2),
|
|
886
886
|
g.value ? (_(), M("span", Vm, " ~ " + Y(g.value) + " " + Y(t.showQuantityUnit ? `₽/${n.value.unit.name}` : ""), 1)) : j("", !0),
|
|
887
887
|
t.showCostDate && !A(ot)(c.value) ? (_(), M("span", jm, [
|
|
888
|
-
|
|
889
|
-
t.showPriceHistory && t.eventEmitter ? (_(),
|
|
888
|
+
K(Y(c.value) + " ", 1),
|
|
889
|
+
t.showPriceHistory && t.eventEmitter ? (_(), Q(k, {
|
|
890
890
|
key: 0,
|
|
891
891
|
placement: "top-end"
|
|
892
892
|
}, {
|
|
@@ -900,7 +900,7 @@ const Dm = Oe({ name: "mdi-percent-outline", render: Lm }), Nm = { class: "flex
|
|
|
900
900
|
})
|
|
901
901
|
]),
|
|
902
902
|
default: O(() => [
|
|
903
|
-
y[2] || (y[2] =
|
|
903
|
+
y[2] || (y[2] = K(" История цен ", -1))
|
|
904
904
|
]),
|
|
905
905
|
_: 1
|
|
906
906
|
})) : j("", !0)
|
|
@@ -1763,7 +1763,7 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
1763
1763
|
show: l
|
|
1764
1764
|
}), window.addEventListener("resize", a), (c, u) => {
|
|
1765
1765
|
const d = jd, h = Bn;
|
|
1766
|
-
return _(),
|
|
1766
|
+
return _(), Q(h, {
|
|
1767
1767
|
trigger: "manual",
|
|
1768
1768
|
show: i.value,
|
|
1769
1769
|
class: "sc-image",
|
|
@@ -1821,7 +1821,7 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
1821
1821
|
setup(t) {
|
|
1822
1822
|
return (e, i) => {
|
|
1823
1823
|
const n = Il, s = Bn;
|
|
1824
|
-
return _(),
|
|
1824
|
+
return _(), Q(s, {
|
|
1825
1825
|
trigger: "click",
|
|
1826
1826
|
placement: "top-start",
|
|
1827
1827
|
class: "sc-stock-count"
|
|
@@ -1836,9 +1836,9 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
1836
1836
|
(_(!0), M(_e, null, Mt(t.product.stockCount, (r, o) => (_(), M(_e, { key: o }, [
|
|
1837
1837
|
$("span", gp, Y(r.warehouse.name), 1),
|
|
1838
1838
|
$("span", mp, [
|
|
1839
|
-
|
|
1839
|
+
K(Y(r.count ?? "В наличии") + " ", 1),
|
|
1840
1840
|
r.count ? (_(), M(_e, { key: 0 }, [
|
|
1841
|
-
|
|
1841
|
+
K(Y(t.product.unit.name), 1)
|
|
1842
1842
|
], 64)) : j("", !0)
|
|
1843
1843
|
])
|
|
1844
1844
|
], 64))), 128))
|
|
@@ -1933,7 +1933,7 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
1933
1933
|
var P, R, H, D;
|
|
1934
1934
|
return [
|
|
1935
1935
|
(P = t.product) != null && P.isFavorite || (R = t.product) != null && R.isPreviouslyOrdered || t.showAdditionalSaleIcon ? (_(), M("div", bp, [
|
|
1936
|
-
((H = t.product) == null ? void 0 : H.isFavorite) ?? !1 ? (_(),
|
|
1936
|
+
((H = t.product) == null ? void 0 : H.isFavorite) ?? !1 ? (_(), Q(f, {
|
|
1937
1937
|
key: 0,
|
|
1938
1938
|
placement: "bottom",
|
|
1939
1939
|
trigger: "hover"
|
|
@@ -1942,11 +1942,11 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
1942
1942
|
N(g, { class: "!text-yellow-300" })
|
|
1943
1943
|
]),
|
|
1944
1944
|
default: O(() => [
|
|
1945
|
-
h[0] || (h[0] =
|
|
1945
|
+
h[0] || (h[0] = K(" Избранный товар ", -1))
|
|
1946
1946
|
]),
|
|
1947
1947
|
_: 1
|
|
1948
1948
|
})) : j("", !0),
|
|
1949
|
-
((D = t.product) == null ? void 0 : D.isPreviouslyOrdered) ?? !1 ? (_(),
|
|
1949
|
+
((D = t.product) == null ? void 0 : D.isPreviouslyOrdered) ?? !1 ? (_(), Q(f, {
|
|
1950
1950
|
key: 1,
|
|
1951
1951
|
placement: "bottom",
|
|
1952
1952
|
trigger: "hover"
|
|
@@ -1955,11 +1955,11 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
1955
1955
|
N(m, { class: "!text-green-700" })
|
|
1956
1956
|
]),
|
|
1957
1957
|
default: O(() => [
|
|
1958
|
-
h[1] || (h[1] =
|
|
1958
|
+
h[1] || (h[1] = K(" Ранее заказанный товар ", -1))
|
|
1959
1959
|
]),
|
|
1960
1960
|
_: 1
|
|
1961
1961
|
})) : j("", !0),
|
|
1962
|
-
t.showAdditionalSaleIcon ? (_(),
|
|
1962
|
+
t.showAdditionalSaleIcon ? (_(), Q(f, {
|
|
1963
1963
|
key: 2,
|
|
1964
1964
|
placement: "bottom",
|
|
1965
1965
|
trigger: "hover"
|
|
@@ -1968,7 +1968,7 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
1968
1968
|
N(p, { class: "!text-green-500" })
|
|
1969
1969
|
]),
|
|
1970
1970
|
default: O(() => [
|
|
1971
|
-
h[2] || (h[2] =
|
|
1971
|
+
h[2] || (h[2] = K(" Дополнительная продажа ", -1))
|
|
1972
1972
|
]),
|
|
1973
1973
|
_: 1
|
|
1974
1974
|
})) : j("", !0)
|
|
@@ -1979,7 +1979,7 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
1979
1979
|
}, Y(t.product.name), 3),
|
|
1980
1980
|
t.product.onOrder ? (_(), M("span", _p, " [Под заказ] ")) : j("", !0),
|
|
1981
1981
|
$("span", wp, [
|
|
1982
|
-
t.product.images && t.product.images.length > 0 ? (_(),
|
|
1982
|
+
t.product.images && t.product.images.length > 0 ? (_(), Q(hp, {
|
|
1983
1983
|
key: 0,
|
|
1984
1984
|
ref: "image-gallery",
|
|
1985
1985
|
images: t.product.images
|
|
@@ -1996,7 +1996,7 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
1996
1996
|
}),
|
|
1997
1997
|
_: 1
|
|
1998
1998
|
}),
|
|
1999
|
-
c.value ? (_(),
|
|
1999
|
+
c.value ? (_(), Q(T, {
|
|
2000
2000
|
key: 0,
|
|
2001
2001
|
product: t.product,
|
|
2002
2002
|
"event-emitter": t.eventEmitter,
|
|
@@ -2009,14 +2009,14 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
2009
2009
|
$("div", kp, [
|
|
2010
2010
|
$("div", Cp, [
|
|
2011
2011
|
t.product.supplierSku ? (_(), M("div", Sp, [
|
|
2012
|
-
h[3] || (h[3] =
|
|
2012
|
+
h[3] || (h[3] = K(" Артикул производителя/поставщика: ", -1)),
|
|
2013
2013
|
$("span", $p, Y(t.product.supplierSku), 1)
|
|
2014
2014
|
])) : j("", !0),
|
|
2015
2015
|
t.showCode ? (_(), M("span", Tp, [
|
|
2016
|
-
h[4] || (h[4] =
|
|
2016
|
+
h[4] || (h[4] = K(" Артикул: ", -1)),
|
|
2017
2017
|
$("span", Pp, Y(t.product.code), 1)
|
|
2018
2018
|
])) : j("", !0),
|
|
2019
|
-
t.product.stockCount && t.product.stockCount.length > 0 ? (_(),
|
|
2019
|
+
t.product.stockCount && t.product.stockCount.length > 0 ? (_(), Q(vp, {
|
|
2020
2020
|
key: 2,
|
|
2021
2021
|
product: t.product
|
|
2022
2022
|
}, {
|
|
@@ -2029,11 +2029,11 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
2029
2029
|
_: 1
|
|
2030
2030
|
}, 8, ["product"])) : (_(), M("span", Fp, " Нет в наличии ")),
|
|
2031
2031
|
t.product.pack ?? ((w = (F = t.product) == null ? void 0 : F.properties) == null ? void 0 : w.pack) ? (_(), M("span", Bp, [
|
|
2032
|
-
h[6] || (h[6] =
|
|
2032
|
+
h[6] || (h[6] = K(" Норма упаковки: ", -1)),
|
|
2033
2033
|
$("span", Ap, Y(t.product.pack ?? ((b = (S = t.product) == null ? void 0 : S.properties) == null ? void 0 : b.pack)), 1)
|
|
2034
2034
|
])) : j("", !0),
|
|
2035
2035
|
t.showPlanningDates && r.value ? (_(), M("span", Mp, [
|
|
2036
|
-
h[7] || (h[7] =
|
|
2036
|
+
h[7] || (h[7] = K(" Планируемая дата поступления на основной склад: ", -1)),
|
|
2037
2037
|
$("span", Ep, Y(r.value), 1)
|
|
2038
2038
|
])) : j("", !0)
|
|
2039
2039
|
])
|
|
@@ -2041,7 +2041,7 @@ const cp = ["href"], up = ["src", "alt"], dp = {}, hp = /* @__PURE__ */ se({
|
|
|
2041
2041
|
N(B, { "x-scrollable": "" }, {
|
|
2042
2042
|
default: O(() => [
|
|
2043
2043
|
n.value ? (_(), M("div", Ip, [
|
|
2044
|
-
(_(!0), M(_e, null, Mt(s.value, (P) => (_(),
|
|
2044
|
+
(_(!0), M(_e, null, Mt(s.value, (P) => (_(), Q(Un, {
|
|
2045
2045
|
key: P.coefficient.slug,
|
|
2046
2046
|
product: t.product,
|
|
2047
2047
|
"cost-field-name": P.coefficient.slug ?? "",
|
|
@@ -2256,7 +2256,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2256
2256
|
type: t.validation.validationStatus
|
|
2257
2257
|
}, {
|
|
2258
2258
|
default: O(() => [
|
|
2259
|
-
|
|
2259
|
+
K(Y(t.validation.feedback), 1)
|
|
2260
2260
|
]),
|
|
2261
2261
|
_: 1
|
|
2262
2262
|
}, 8, ["type"])
|
|
@@ -2365,7 +2365,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2365
2365
|
formReference: r
|
|
2366
2366
|
}), (v, y) => {
|
|
2367
2367
|
const T = qd, k = Ol, B = Zn;
|
|
2368
|
-
return _(),
|
|
2368
|
+
return _(), Q(A(sr), {
|
|
2369
2369
|
ref: "form-reference",
|
|
2370
2370
|
model: a.value,
|
|
2371
2371
|
rules: l.value,
|
|
@@ -2377,7 +2377,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2377
2377
|
return [
|
|
2378
2378
|
$("div", Kp, [
|
|
2379
2379
|
y[22] || (y[22] = $("span", { class: "w-full font-bold" }, "Ширина участка, мм / Угол сгиба, ° (А)", -1)),
|
|
2380
|
-
t.settings.startTailConfigs && t.settings.startTailConfigs.length > 0 ? (_(),
|
|
2380
|
+
t.settings.startTailConfigs && t.settings.startTailConfigs.length > 0 ? (_(), Q(A(it), {
|
|
2381
2381
|
key: 0,
|
|
2382
2382
|
required: !0,
|
|
2383
2383
|
"show-feedback": !1,
|
|
@@ -2453,7 +2453,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2453
2453
|
class: "shrink-0"
|
|
2454
2454
|
}, {
|
|
2455
2455
|
default: O(() => [
|
|
2456
|
-
t.settings.showOnlyTemplates ? j("", !0) : (_(),
|
|
2456
|
+
t.settings.showOnlyTemplates ? j("", !0) : (_(), Q(A(ze), {
|
|
2457
2457
|
key: 0,
|
|
2458
2458
|
size: "medium",
|
|
2459
2459
|
onClick: (b) => s("click:add-line", S)
|
|
@@ -2463,7 +2463,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2463
2463
|
]),
|
|
2464
2464
|
_: 1
|
|
2465
2465
|
}, 8, ["onClick"])),
|
|
2466
|
-
t.settings.showOnlyTemplates ? j("", !0) : (_(),
|
|
2466
|
+
t.settings.showOnlyTemplates ? j("", !0) : (_(), Q(A(ze), {
|
|
2467
2467
|
key: 1,
|
|
2468
2468
|
disabled: a.value.configuratorParams.linesWidths.length === 1,
|
|
2469
2469
|
size: "medium",
|
|
@@ -2480,7 +2480,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2480
2480
|
}, 1024)
|
|
2481
2481
|
]))), 128))
|
|
2482
2482
|
]),
|
|
2483
|
-
t.settings.endTailConfigs && t.settings.endTailConfigs.length > 0 ? (_(),
|
|
2483
|
+
t.settings.endTailConfigs && t.settings.endTailConfigs.length > 0 ? (_(), Q(A(it), {
|
|
2484
2484
|
key: 1,
|
|
2485
2485
|
label: "Тип конечного капельника",
|
|
2486
2486
|
"show-feedback": !1,
|
|
@@ -2506,7 +2506,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2506
2506
|
}, null, 8, ["is-product-searching", "product", "validation"]),
|
|
2507
2507
|
h.value ? j("", !0) : (_(), M("div", ev, " Суммарная ширина участков гиба должна быть от " + Y(t.settings.stripMinWidth) + " до " + Y(t.settings.stripMaxWidth) + " мм., текущая ширина: " + Y(d.value) + " мм. ", 1)),
|
|
2508
2508
|
g.value ? j("", !0) : (_(), M("div", tv, " Пожалуйста, заполните все обязательные поля корректно. ")),
|
|
2509
|
-
t.settings.allowSaveTemplates && t.selectTemplateIndex === ((F = t.settings.allTemplates) == null ? void 0 : F.length) - 1 ? (_(),
|
|
2509
|
+
t.settings.allowSaveTemplates && t.selectTemplateIndex === ((F = t.settings.allTemplates) == null ? void 0 : F.length) - 1 ? (_(), Q(A(ze), {
|
|
2510
2510
|
key: 4,
|
|
2511
2511
|
type: "tertiary",
|
|
2512
2512
|
class: "self-start",
|
|
@@ -2514,7 +2514,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2514
2514
|
onClick: y[6] || (y[6] = (w) => s("click:save-template"))
|
|
2515
2515
|
}, {
|
|
2516
2516
|
default: O(() => [...y[21] || (y[21] = [
|
|
2517
|
-
|
|
2517
|
+
K(" Сохранить шаблон ", -1)
|
|
2518
2518
|
])]),
|
|
2519
2519
|
_: 1
|
|
2520
2520
|
}, 8, ["loading"])) : j("", !0)
|
|
@@ -2600,7 +2600,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2600
2600
|
]),
|
|
2601
2601
|
_: 1
|
|
2602
2602
|
}),
|
|
2603
|
-
c.value ? (_(),
|
|
2603
|
+
c.value ? (_(), Q(B, {
|
|
2604
2604
|
key: 0,
|
|
2605
2605
|
checked: a.value.isAdditionalSale ?? !1,
|
|
2606
2606
|
"true-value": !0,
|
|
@@ -2610,12 +2610,12 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2610
2610
|
})
|
|
2611
2611
|
}, {
|
|
2612
2612
|
default: O(() => [...y[23] || (y[23] = [
|
|
2613
|
-
|
|
2613
|
+
K(" ДопПродажа ", -1)
|
|
2614
2614
|
])]),
|
|
2615
2615
|
_: 1
|
|
2616
2616
|
}, 8, ["checked"])) : j("", !0),
|
|
2617
2617
|
u.value ? (_(), M("div", nv, [
|
|
2618
|
-
y[24] || (y[24] =
|
|
2618
|
+
y[24] || (y[24] = K(" ИТОГО: ", -1)),
|
|
2619
2619
|
$("span", sv, Y(u.value) + " ₽", 1)
|
|
2620
2620
|
])) : j("", !0),
|
|
2621
2621
|
$("div", rv, [
|
|
@@ -2627,7 +2627,7 @@ const qd = Oe({ name: "ion-plus", render: jp }), qp = {
|
|
|
2627
2627
|
onClick: y[19] || (y[19] = (w) => s("submit", a.value))
|
|
2628
2628
|
}, {
|
|
2629
2629
|
default: O(() => [
|
|
2630
|
-
|
|
2630
|
+
K(Y(a.value.isNewRec() ? "В корзину" : "Изменить"), 1)
|
|
2631
2631
|
]),
|
|
2632
2632
|
_: 1
|
|
2633
2633
|
}, 8, ["loading", "disabled"])
|
|
@@ -8919,9 +8919,9 @@ var ct = {
|
|
|
8919
8919
|
de.close
|
|
8920
8920
|
);
|
|
8921
8921
|
for (let ee = n.length - 1; ee >= 0; ee--) {
|
|
8922
|
-
const
|
|
8923
|
-
if (/m/i.test(
|
|
8924
|
-
a =
|
|
8922
|
+
const Z = n[ee];
|
|
8923
|
+
if (/m/i.test(Z.command)) {
|
|
8924
|
+
a = Z;
|
|
8925
8925
|
break;
|
|
8926
8926
|
}
|
|
8927
8927
|
}
|
|
@@ -9302,18 +9302,18 @@ var Fh = tc, Zc = {
|
|
|
9302
9302
|
r && (t.lineWidth = ln(this)), d && (t.miterLimit = d), u && (t.lineJoin = u), !h && c && (t.lineCap = c);
|
|
9303
9303
|
}
|
|
9304
9304
|
typeof a == "number" && (t.globalAlpha = a), X && X.length > 0 && (t.lineDashOffset = X.offset || 0, t.setLineDash(X)), t.beginPath();
|
|
9305
|
-
let
|
|
9305
|
+
let Z, U, G, J, oe, we, me;
|
|
9306
9306
|
for (let fe = 0; fe < f; fe++)
|
|
9307
9307
|
switch (y = g[fe], D = y.x, I = y.y, y.command) {
|
|
9308
9308
|
case de.close:
|
|
9309
9309
|
t.closePath();
|
|
9310
9310
|
break;
|
|
9311
9311
|
case de.arc:
|
|
9312
|
-
|
|
9312
|
+
Z = y.rx, U = y.ry, G = y.xAxisRotation, J = y.largeArcFlag, oe = y.sweepFlag, p = h ? xi(fe - 1, f) : el(fe - 1, 0), v = g[p], we = v.x, me = v.y, He.renderSvgArcCommand(
|
|
9313
9313
|
t,
|
|
9314
9314
|
we,
|
|
9315
9315
|
me,
|
|
9316
|
-
|
|
9316
|
+
Z,
|
|
9317
9317
|
U,
|
|
9318
9318
|
J,
|
|
9319
9319
|
oe,
|
|
@@ -10089,7 +10089,7 @@ var Ti = {
|
|
|
10089
10089
|
F && (y.lineWidth = ln(e)), R && (y.miterLimit = R), P && (y.lineJoin = P), !H && b && (y.lineCap = b);
|
|
10090
10090
|
}
|
|
10091
10091
|
typeof S == "number" && (y.globalAlpha = S), D && D.length > 0 && (y.lineDashOffset = D.offset || 0, y.setLineDash(D));
|
|
10092
|
-
let X, ee,
|
|
10092
|
+
let X, ee, Z, U, G, J, oe, we;
|
|
10093
10093
|
y.save(), y.scale(k.x, k.y), y.translate(le, V), y.beginPath();
|
|
10094
10094
|
for (let me = 0; me < p.length; me++) {
|
|
10095
10095
|
const fe = p[me];
|
|
@@ -10098,12 +10098,12 @@ var Ti = {
|
|
|
10098
10098
|
y.closePath();
|
|
10099
10099
|
break;
|
|
10100
10100
|
case de.arc:
|
|
10101
|
-
ee = fe.rx,
|
|
10101
|
+
ee = fe.rx, Z = fe.ry, U = fe.xAxisRotation, G = fe.largeArcFlag, J = fe.sweepFlag, i = H ? xi(me - 1, I) : Math.max(me - 1, 0), n = p[i], oe = n.x, we = n.y, r0.renderSvgArcCommand(
|
|
10102
10102
|
y,
|
|
10103
10103
|
oe,
|
|
10104
10104
|
we,
|
|
10105
10105
|
ee,
|
|
10106
|
-
|
|
10106
|
+
Z,
|
|
10107
10107
|
G,
|
|
10108
10108
|
J,
|
|
10109
10109
|
U,
|
|
@@ -18679,7 +18679,7 @@ const Xo = Oe({ name: "ion-close", render: Y0 }), G0 = { class: "mr-3 flex flex-
|
|
|
18679
18679
|
{ deep: !0 }
|
|
18680
18680
|
), (l, c) => {
|
|
18681
18681
|
const u = Xo;
|
|
18682
|
-
return _(),
|
|
18682
|
+
return _(), Q(A(Ed), {
|
|
18683
18683
|
style: { width: "auto" },
|
|
18684
18684
|
trigger: "none",
|
|
18685
18685
|
class: "max-h-[19rem] md:max-h-[40rem] w-auto"
|
|
@@ -18709,11 +18709,11 @@ const Xo = Oe({ name: "ion-close", render: Y0 }), G0 = { class: "mr-3 flex flex-
|
|
|
18709
18709
|
], 10, K0)
|
|
18710
18710
|
]),
|
|
18711
18711
|
default: O(() => [
|
|
18712
|
-
|
|
18712
|
+
K(Y(d.label), 1)
|
|
18713
18713
|
]),
|
|
18714
18714
|
_: 2
|
|
18715
18715
|
}, 1024),
|
|
18716
|
-
d.isCustom && !d.isNewRec() ? (_(),
|
|
18716
|
+
d.isCustom && !d.isNewRec() ? (_(), Q(A(ze), {
|
|
18717
18717
|
key: 0,
|
|
18718
18718
|
size: "tiny",
|
|
18719
18719
|
quaternary: "",
|
|
@@ -18761,23 +18761,23 @@ const Xo = Oe({ name: "ion-close", render: Y0 }), G0 = { class: "mr-3 flex flex-
|
|
|
18761
18761
|
var X;
|
|
18762
18762
|
const V = i.value.configuratorParams.endTailType !== void 0 && ((X = i.settings.endTailConfigs) == null ? void 0 : X[i.value.configuratorParams.endTailType]);
|
|
18763
18763
|
return !V || !V.points ? [] : V.points.map(
|
|
18764
|
-
(ee,
|
|
18764
|
+
(ee, Z) => Array.isArray(ee) ? new Cn(ee[0], ee[1], `A-${Z + 1}`) : new Cn(ee.width, ee.angle, `A-${Z + 1}`)
|
|
18765
18765
|
);
|
|
18766
18766
|
}), f = (V, X = !1) => {
|
|
18767
18767
|
V[0].start.x = 0, V[0].start.y = 0;
|
|
18768
18768
|
let ee = 0;
|
|
18769
|
-
for (let
|
|
18770
|
-
const U = V[
|
|
18771
|
-
ee += !X ||
|
|
18772
|
-
const J = (!X ||
|
|
18773
|
-
if (V[
|
|
18774
|
-
const oe =
|
|
18775
|
-
V[oe].start.x = V[
|
|
18769
|
+
for (let Z = 0; Z < V.length; Z++) {
|
|
18770
|
+
const U = V[Z], G = V[Z - 1] ?? new Cn(0, ee);
|
|
18771
|
+
ee += !X || Z > 1 ? G.angle : 0;
|
|
18772
|
+
const J = (!X || Z > 0 ? U.angle : 0) + ee;
|
|
18773
|
+
if (V[Z].end.x = U.width * Math.cos(J * Math.PI / 180) + V[Z].start.x, V[Z].end.y = U.width * Math.sin(J * Math.PI / 180) + V[Z].start.y, Z < V.length - 1) {
|
|
18774
|
+
const oe = Z + 1;
|
|
18775
|
+
V[oe].start.x = V[Z].end.x, V[oe].start.y = V[Z].end.y;
|
|
18776
18776
|
}
|
|
18777
18777
|
}
|
|
18778
18778
|
return V;
|
|
18779
|
-
}, m = (V, X, ee,
|
|
18780
|
-
let G = f([...ee, ...
|
|
18779
|
+
}, m = (V, X, ee, Z, U = !1) => {
|
|
18780
|
+
let G = f([...ee, ...Z]);
|
|
18781
18781
|
X.length > 0 && (G = [...f(X), ...G]);
|
|
18782
18782
|
let J = 0, oe = 0, we = 0, me = 0;
|
|
18783
18783
|
G.forEach((Ue) => {
|
|
@@ -18792,15 +18792,15 @@ const Xo = Oe({ name: "ion-close", render: Y0 }), G0 = { class: "mr-3 flex flex-
|
|
|
18792
18792
|
return X._size = lt.anchorPoint.size, X.fill = lt.anchorPoint.color, X.stroke = "transparent", X._linewidth = lt.anchorPoint.strokeSize, a.push(X), X;
|
|
18793
18793
|
}, v = (V, X) => {
|
|
18794
18794
|
if (a = [], i.settings.allowChangeFirstPoint) {
|
|
18795
|
-
const ee = V[0],
|
|
18796
|
-
|
|
18797
|
-
ee.vertices[0].copy(
|
|
18795
|
+
const ee = V[0], Z = new Re(ee.vertices[0].x, ee.vertices[0].y);
|
|
18796
|
+
Z.bind(ae.Types.change, () => {
|
|
18797
|
+
ee.vertices[0].copy(Z);
|
|
18798
18798
|
});
|
|
18799
|
-
const U = p(
|
|
18799
|
+
const U = p(Z);
|
|
18800
18800
|
X.add(U);
|
|
18801
18801
|
}
|
|
18802
|
-
V.forEach((ee,
|
|
18803
|
-
const U = V[
|
|
18802
|
+
V.forEach((ee, Z) => {
|
|
18803
|
+
const U = V[Z + 1], G = new Re(ee.vertices[1].x, ee.vertices[1].y);
|
|
18804
18804
|
G.bind(ae.Types.change, () => {
|
|
18805
18805
|
ee.vertices[1].copy(G), U !== void 0 && U.vertices[0].copy(G);
|
|
18806
18806
|
});
|
|
@@ -18808,51 +18808,51 @@ const Xo = Oe({ name: "ion-close", render: Y0 }), G0 = { class: "mr-3 flex flex-
|
|
|
18808
18808
|
X.add(J);
|
|
18809
18809
|
});
|
|
18810
18810
|
}, y = (V) => V * (Math.PI / 180), T = (V, X, ee) => {
|
|
18811
|
-
const
|
|
18812
|
-
V.position.x = X.vertices[
|
|
18813
|
-
const U = Math.atan2(X.vertices[
|
|
18811
|
+
const Z = X.vertices.length - 1;
|
|
18812
|
+
V.position.x = X.vertices[Z].x, V.position.y = X.vertices[Z].y;
|
|
18813
|
+
const U = Math.atan2(X.vertices[Z].y - X.vertices[0].y, X.vertices[Z].x - X.vertices[0].x);
|
|
18814
18814
|
V.rotation = y(ee) + U;
|
|
18815
18815
|
}, k = (V, X, ee) => {
|
|
18816
18816
|
if (X.vertices[0] === void 0)
|
|
18817
18817
|
return;
|
|
18818
18818
|
V.position.x = X.vertices[0].x, V.position.y = X.vertices[0].y;
|
|
18819
|
-
const
|
|
18819
|
+
const Z = X.vertices.length - 1, U = Math.atan2(X.vertices[Z].y - X.vertices[0].y, X.vertices[Z].x - X.vertices[0].x);
|
|
18820
18820
|
V.rotation = y(ee) + U;
|
|
18821
18821
|
}, B = (V, X, ee) => {
|
|
18822
|
-
const
|
|
18822
|
+
const Z = new Sn();
|
|
18823
18823
|
if (V.length === 0)
|
|
18824
|
-
return
|
|
18824
|
+
return Z;
|
|
18825
18825
|
const U = [];
|
|
18826
18826
|
return [...V].reverse().forEach((G, J) => {
|
|
18827
18827
|
J !== 0 && G.angle > 0 && (G.angle *= -1), U.push(G);
|
|
18828
|
-
}), V = f(U, !0), k(
|
|
18828
|
+
}), V = f(U, !0), k(Z, X, V[0].angle), [X.vertices[0], X.vertices[1]].forEach((G) => {
|
|
18829
18829
|
G.bind(ae.Types.change, () => {
|
|
18830
|
-
k(
|
|
18830
|
+
k(Z, X, V[0].angle);
|
|
18831
18831
|
});
|
|
18832
18832
|
}), V.forEach((G) => {
|
|
18833
18833
|
const J = G.start.x * ee, oe = G.end.x * ee, we = G.start.y * ee, me = G.end.y * ee, fe = new ho(J, we, oe, me);
|
|
18834
|
-
fe.linewidth = lt.line.size, fe.stroke = lt.line.color,
|
|
18835
|
-
}),
|
|
18834
|
+
fe.linewidth = lt.line.size, fe.stroke = lt.line.color, Z.add(fe);
|
|
18835
|
+
}), Z;
|
|
18836
18836
|
}, F = (V, X, ee) => {
|
|
18837
|
-
const
|
|
18838
|
-
return V.length === 0 || (V = f(V, !0), T(
|
|
18837
|
+
const Z = new Sn();
|
|
18838
|
+
return V.length === 0 || (V = f(V, !0), T(Z, X, V[0].angle), [X.vertices[0], X.vertices[1]].forEach((U) => {
|
|
18839
18839
|
U.bind(ae.Types.change, () => {
|
|
18840
|
-
T(
|
|
18840
|
+
T(Z, X, V[0].angle);
|
|
18841
18841
|
});
|
|
18842
18842
|
}), V.forEach((U) => {
|
|
18843
18843
|
const G = U.start.x * ee, J = U.end.x * ee, oe = U.start.y * ee, we = U.end.y * ee, me = new ho(G, oe, J, we);
|
|
18844
|
-
me.linewidth = lt.line.size, me.stroke = lt.line.color,
|
|
18845
|
-
})),
|
|
18846
|
-
}, w = (V, X, ee,
|
|
18844
|
+
me.linewidth = lt.line.size, me.stroke = lt.line.color, Z.add(me);
|
|
18845
|
+
})), Z;
|
|
18846
|
+
}, w = (V, X, ee, Z) => {
|
|
18847
18847
|
const U = X.vertices[0].x + (X.vertices[1].x - X.vertices[0].x) / 2 - 8 * Math.sin(V.angle * Math.PI / 180), G = X.vertices[0].y + (X.vertices[1].y - X.vertices[0].y) / 2 - 8 * Math.cos(V.angle * Math.PI / 180), J = new Ys(V.label, U + 10, G - 10);
|
|
18848
18848
|
let oe;
|
|
18849
|
-
J.size = lt.lineLabel.size, J.weight = 600, J.fill = lt.lineLabel.color, J.id += 1, J.rotation = lt.lineLabel.rotation,
|
|
18849
|
+
J.size = lt.lineLabel.size, J.weight = 600, J.fill = lt.lineLabel.color, J.id += 1, J.rotation = lt.lineLabel.rotation, Z > 0 && (oe = new Ys(`${V.angle}°`, X.vertices[0].x + 25, X.vertices[0].y - 25), oe.size = lt.angleLabel.size, oe.weight = 600, oe.fill = lt.angleLabel.color, oe.rotation = lt.angleLabel.rotation, oe.id += Z, r.push(oe), ee.add(oe)), ee.add(J), b(J, X, 0, oe), b(J, X, 1);
|
|
18850
18850
|
}, S = () => {
|
|
18851
|
-
const { size: V } = lt.colorSideLabel, X = 0, ee = 0,
|
|
18851
|
+
const { size: V } = lt.colorSideLabel, X = 0, ee = 0, Z = d.value ? V / 2 : V / 2 - V, U = d.value ? V / 2 - V : V / 2, G = new Sn();
|
|
18852
18852
|
if (!l)
|
|
18853
18853
|
return G;
|
|
18854
|
-
const J = 5, oe = Math.atan2(U -
|
|
18855
|
-
new Ve(X,
|
|
18854
|
+
const J = 5, oe = Math.atan2(U - Z, ee - X), we = [
|
|
18855
|
+
new Ve(X, Z, 0, 0, 0, 0, en.Commands.move),
|
|
18856
18856
|
new Ve(ee, U, 0, 0, 0, 0, en.Commands.line),
|
|
18857
18857
|
new Ve(ee - J * Math.cos(oe - Math.PI / 4), U - J * Math.sin(oe - Math.PI / 4), 0, 0, 0, 0, en.Commands.line),
|
|
18858
18858
|
new Ve(ee, U, 0, 0, 0, 0, en.Commands.move),
|
|
@@ -18863,18 +18863,18 @@ const Xo = Oe({ name: "ion-close", render: Y0 }), G0 = { class: "mr-3 flex flex-
|
|
|
18863
18863
|
fe.size = V, fe.weight = 600, fe.fill = lt.colorSideLabel.color, fe.alignment = "left", G.add(fe);
|
|
18864
18864
|
const qe = G.getBoundingClientRect();
|
|
18865
18865
|
return G.position.x = (l.width - qe.width) * c + 10, G.position.y = d.value ? l.height + qe.height * 2 : qe.height / 2, G;
|
|
18866
|
-
}, b = (V, X, ee,
|
|
18866
|
+
}, b = (V, X, ee, Z) => {
|
|
18867
18867
|
X.vertices[ee].bind(ae.Types.change, () => {
|
|
18868
18868
|
const U = X.vertices.length - 1, G = Math.atan2(X.vertices[0].y - X.vertices[U].y, X.vertices[0].x - X.vertices[U].x) * 180 / Math.PI, J = X.vertices[0].x + (X.vertices[U].x - X.vertices[0].x) / 2 - 8 * Math.sin(G * Math.PI / 180), oe = X.vertices[0].y + (X.vertices[U].y - X.vertices[0].y) / 2 - 8 * Math.cos(G * Math.PI / 180);
|
|
18869
|
-
V.position.x = J + 10, V.position.y = oe - 10, V.rotation = -0.5,
|
|
18869
|
+
V.position.x = J + 10, V.position.y = oe - 10, V.rotation = -0.5, Z && (Z.position.x = X.vertices[0].x + 25, Z.position.y = X.vertices[0].y - 25);
|
|
18870
18870
|
});
|
|
18871
|
-
}, P = (V, X, ee,
|
|
18871
|
+
}, P = (V, X, ee, Z, U = !1) => {
|
|
18872
18872
|
var Ci;
|
|
18873
18873
|
if (V.clear(), ee.length === 0) {
|
|
18874
18874
|
V.update();
|
|
18875
18875
|
return;
|
|
18876
18876
|
}
|
|
18877
|
-
const G = f(ee), [J, oe, we] = m(V, X, G,
|
|
18877
|
+
const G = f(ee), [J, oe, we] = m(V, X, G, Z, U), me = new Sn(), fe = new Array(), qe = new Array();
|
|
18878
18878
|
U || (r = [], o = []), G.forEach((Ne, Mi) => {
|
|
18879
18879
|
const Ei = Ne.start.x * J + oe, Zt = Ne.end.x * J + oe, di = Ne.start.y * J + we, Ii = Ne.end.y * J + we, Lt = new ho(Ei, di, Zt, Ii);
|
|
18880
18880
|
Lt.linewidth = U ? lt.previewLine.size : lt.line.size, Lt.stroke = U ? lt.previewLine.color : lt.line.color, o.push(Lt), fe.push(Lt), me.add(Lt), !U && Ne.label !== "" && w(Ne, Lt, me, Mi);
|
|
@@ -18889,8 +18889,8 @@ const Xo = Oe({ name: "ion-close", render: Y0 }), G0 = { class: "mr-3 flex flex-
|
|
|
18889
18889
|
const Ne = B(X, fe[0], J);
|
|
18890
18890
|
me.add(Ne);
|
|
18891
18891
|
}
|
|
18892
|
-
if (
|
|
18893
|
-
const Ne = F(
|
|
18892
|
+
if (Z.length > 0 && at) {
|
|
18893
|
+
const Ne = F(Z, at, J);
|
|
18894
18894
|
me.add(Ne);
|
|
18895
18895
|
}
|
|
18896
18896
|
if (qe.push(me), V.makeGroup(qe), Ue = me.getBoundingClientRect(), me.position.x = 0 - Ue.left + (V.width - Ue.width) / (2 * (U ? 1 : c)), me.position.y = 0 - Ue.top + (V.height - Ue.height) / (2 * (U ? 1 : c)), V.update(), !U) {
|
|
@@ -18908,27 +18908,27 @@ const Xo = Oe({ name: "ion-close", render: Y0 }), G0 = { class: "mr-3 flex flex-
|
|
|
18908
18908
|
}, H = () => {
|
|
18909
18909
|
l && P(l, h.value, u.value, g.value, !1);
|
|
18910
18910
|
}, D = (V) => V * (180 / Math.PI), I = (V, X) => {
|
|
18911
|
-
const ee = V[1].x - V[0].x,
|
|
18912
|
-
let J = Math.atan2(ee * G -
|
|
18911
|
+
const ee = V[1].x - V[0].x, Z = V[1].y - V[0].y, U = X[1].x - X[0].x, G = X[1].y - X[0].y;
|
|
18912
|
+
let J = Math.atan2(ee * G - Z * U, ee * U + Z * G);
|
|
18913
18913
|
return J = D(J), Math.round(J) * -1;
|
|
18914
18914
|
}, E = (V) => {
|
|
18915
|
-
const X = o.map((ee,
|
|
18916
|
-
const G = U[
|
|
18915
|
+
const X = o.map((ee, Z, U) => {
|
|
18916
|
+
const G = U[Z - 1] ?? {
|
|
18917
18917
|
vertices: [
|
|
18918
18918
|
{ x: -10, y: 0 },
|
|
18919
18919
|
{ x: 0, y: 0 }
|
|
18920
18920
|
]
|
|
18921
18921
|
};
|
|
18922
18922
|
let J = Math.ceil(ee._length / V / i.settings.lineWidthStep) * i.settings.lineWidthStep;
|
|
18923
|
-
const oe = r[
|
|
18923
|
+
const oe = r[Z - 1];
|
|
18924
18924
|
J < (U.length > 1 ? i.settings.minLineWidth : i.settings.stripMinWidth) && (J = U.length > 1 ? i.settings.minLineWidth : i.settings.stripMinWidth), J > i.settings.maxLineWidth && (J = i.settings.maxLineWidth);
|
|
18925
18925
|
const we = I(ee.vertices, G.vertices);
|
|
18926
|
-
return oe && (oe.value = `${we}°`), new Cn(J, we, `A-${
|
|
18926
|
+
return oe && (oe.value = `${we}°`), new Cn(J, we, `A-${Z + 1}`);
|
|
18927
18927
|
});
|
|
18928
18928
|
n("pointer:move", X);
|
|
18929
18929
|
}, ie = (V) => {
|
|
18930
18930
|
let X = null, ee;
|
|
18931
|
-
const
|
|
18931
|
+
const Z = (oe) => {
|
|
18932
18932
|
X = a.find((we) => {
|
|
18933
18933
|
const me = we.renderer;
|
|
18934
18934
|
return (me == null ? void 0 : me.elem) === oe.target;
|
|
@@ -18948,7 +18948,7 @@ const Xo = Oe({ name: "ion-close", render: Y0 }), G0 = { class: "mr-3 flex flex-
|
|
|
18948
18948
|
}, G = () => {
|
|
18949
18949
|
X && n("pointer:up", u.value), X = null;
|
|
18950
18950
|
}, J = s.value;
|
|
18951
|
-
J && (J.addEventListener("touchstart",
|
|
18951
|
+
J && (J.addEventListener("touchstart", Z, { passive: !0 }), J.addEventListener("touchend", G, { passive: !0 }), J.addEventListener("mousedown", Z), J.addEventListener("mouseup", G), J.addEventListener("mousemove", U), J.addEventListener("touchmove", U, { passive: !0 }));
|
|
18952
18952
|
}, le = (V, X) => {
|
|
18953
18953
|
n("remove-custom-template", V, X);
|
|
18954
18954
|
};
|
|
@@ -19290,14 +19290,14 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19290
19290
|
), (b, P) => {
|
|
19291
19291
|
const R = ze;
|
|
19292
19292
|
return _(), M("div", ay, [
|
|
19293
|
-
t.settings.allowShowTable ? (_(),
|
|
19293
|
+
t.settings.allowShowTable ? (_(), Q(R, {
|
|
19294
19294
|
key: 0,
|
|
19295
19295
|
type: "tertiary",
|
|
19296
19296
|
class: "self-end",
|
|
19297
19297
|
onClick: P[0] || (P[0] = (H) => n("click:view-switch"))
|
|
19298
19298
|
}, {
|
|
19299
19299
|
default: O(() => [...P[3] || (P[3] = [
|
|
19300
|
-
|
|
19300
|
+
K(" Показать в виде списка ", -1)
|
|
19301
19301
|
])]),
|
|
19302
19302
|
_: 1
|
|
19303
19303
|
})) : j("", !0),
|
|
@@ -19379,7 +19379,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19379
19379
|
onClick: o[0] || (o[0] = (l) => s("open-instructions"))
|
|
19380
19380
|
}, {
|
|
19381
19381
|
default: O(() => [...o[2] || (o[2] = [
|
|
19382
|
-
|
|
19382
|
+
K(" Руководство по замеру ", -1)
|
|
19383
19383
|
])]),
|
|
19384
19384
|
_: 1
|
|
19385
19385
|
})
|
|
@@ -19473,7 +19473,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19473
19473
|
formReference: o
|
|
19474
19474
|
}), (S, b) => {
|
|
19475
19475
|
const P = Zn;
|
|
19476
|
-
return _(),
|
|
19476
|
+
return _(), Q(A(sr), {
|
|
19477
19477
|
ref: "form-reference",
|
|
19478
19478
|
model: u.value,
|
|
19479
19479
|
rules: y.value,
|
|
@@ -19541,7 +19541,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19541
19541
|
!t.validation.width.showFeedback && m.value >= t.settings.minWidth && m.value <= t.settings.maxWidths[u.value.configuratorParams.netType] ? (_(), M("div", my, [
|
|
19542
19542
|
N(A($n), { type: "success" }, {
|
|
19543
19543
|
default: O(() => [
|
|
19544
|
-
|
|
19544
|
+
K("Ширина готового изделия " + Y(m.value), 1)
|
|
19545
19545
|
]),
|
|
19546
19546
|
_: 1
|
|
19547
19547
|
}),
|
|
@@ -19586,7 +19586,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19586
19586
|
!t.validation.height.showFeedback && p.value >= t.settings.minHeight && p.value <= t.settings.maxHeights[u.value.configuratorParams.netType] ? (_(), M("div", py, [
|
|
19587
19587
|
N(A($n), { type: "success" }, {
|
|
19588
19588
|
default: O(() => [
|
|
19589
|
-
|
|
19589
|
+
K("Высота готового изделия " + Y(p.value), 1)
|
|
19590
19590
|
]),
|
|
19591
19591
|
_: 1
|
|
19592
19592
|
}),
|
|
@@ -19659,7 +19659,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19659
19659
|
]),
|
|
19660
19660
|
_: 1
|
|
19661
19661
|
}),
|
|
19662
|
-
v.value ? (_(),
|
|
19662
|
+
v.value ? (_(), Q(P, {
|
|
19663
19663
|
key: 0,
|
|
19664
19664
|
checked: u.value.isAdditionalSale ?? !1,
|
|
19665
19665
|
"true-value": !0,
|
|
@@ -19669,7 +19669,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19669
19669
|
})
|
|
19670
19670
|
}, {
|
|
19671
19671
|
default: O(() => [...b[28] || (b[28] = [
|
|
19672
|
-
|
|
19672
|
+
K(" ДопПродажа ", -1)
|
|
19673
19673
|
])]),
|
|
19674
19674
|
_: 1
|
|
19675
19675
|
}, 8, ["checked"])) : j("", !0),
|
|
@@ -19679,7 +19679,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19679
19679
|
validation: t.validation.product
|
|
19680
19680
|
}, null, 8, ["is-product-searching", "product", "validation"]),
|
|
19681
19681
|
T.value ? (_(), M("div", vy, [
|
|
19682
|
-
b[29] || (b[29] =
|
|
19682
|
+
b[29] || (b[29] = K(" ИТОГО: ", -1)),
|
|
19683
19683
|
$("span", yy, Y(T.value) + " ₽", 1)
|
|
19684
19684
|
])) : j("", !0),
|
|
19685
19685
|
k.value ? j("", !0) : (_(), M("div", by, " Пожалуйста, заполните все обязательные поля корректно. ")),
|
|
@@ -19692,17 +19692,17 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19692
19692
|
onClick: b[23] || (b[23] = (R) => s("submit", t.value))
|
|
19693
19693
|
}, {
|
|
19694
19694
|
default: O(() => [
|
|
19695
|
-
|
|
19695
|
+
K(Y(t.value.isNewRec() ? "В корзину" : "Изменить"), 1)
|
|
19696
19696
|
]),
|
|
19697
19697
|
_: 1
|
|
19698
19698
|
}, 8, ["loading", "disabled"]),
|
|
19699
|
-
r.value ? (_(),
|
|
19699
|
+
r.value ? (_(), Q(A(ze), {
|
|
19700
19700
|
key: 0,
|
|
19701
19701
|
type: "default",
|
|
19702
19702
|
onClick: b[24] || (b[24] = (R) => s("click:show-preview-drawer"))
|
|
19703
19703
|
}, {
|
|
19704
19704
|
default: O(() => [...b[30] || (b[30] = [
|
|
19705
|
-
|
|
19705
|
+
K(" Предварительный просмотр ", -1)
|
|
19706
19706
|
])]),
|
|
19707
19707
|
_: 1
|
|
19708
19708
|
})) : j("", !0)
|
|
@@ -19725,7 +19725,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19725
19725
|
const i = ui.initRefDependingOnDeviceResolution("small", "small", "medium"), n = ui.initRefDependingOnDeviceResolution(0.98, 0.95, 0.8), s = z(() => window.innerWidth * n.value), r = e;
|
|
19726
19726
|
return (o, a) => {
|
|
19727
19727
|
const l = $n;
|
|
19728
|
-
return _(),
|
|
19728
|
+
return _(), Q(A(Rl), {
|
|
19729
19729
|
show: t.show,
|
|
19730
19730
|
"show-icon": !1,
|
|
19731
19731
|
size: A(i),
|
|
@@ -19744,7 +19744,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19744
19744
|
class: "text-base font-medium"
|
|
19745
19745
|
}, {
|
|
19746
19746
|
default: O(() => [...a[3] || (a[3] = [
|
|
19747
|
-
|
|
19747
|
+
K(" Важно! Для того,что бы произвести замер, необходимо открыть оконную створку. ", -1)
|
|
19748
19748
|
])]),
|
|
19749
19749
|
_: 1
|
|
19750
19750
|
}),
|
|
@@ -19781,11 +19781,11 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19781
19781
|
$("div", Fy, [
|
|
19782
19782
|
a[8] || (a[8] = $("span", { class: "text-lg font-bold" }, "Крепление на раме сетки", -1)),
|
|
19783
19783
|
$("span", null, [
|
|
19784
|
-
a[4] || (a[4] =
|
|
19784
|
+
a[4] || (a[4] = K(" Расчетные размеры москитной сетки: ", -1)),
|
|
19785
19785
|
a[5] || (a[5] = $("br", null, null, -1)),
|
|
19786
|
-
|
|
19786
|
+
K(" Ширина светового проема +" + Y(t.widthOverlaps.frame) + " мм. Высота светового проема +" + Y(t.heightOverlaps.frame) + " мм. ", 1),
|
|
19787
19787
|
a[6] || (a[6] = $("br", null, null, -1)),
|
|
19788
|
-
a[7] || (a[7] =
|
|
19788
|
+
a[7] || (a[7] = K(" Крепления находятся на раме сетки. ", -1))
|
|
19789
19789
|
])
|
|
19790
19790
|
])
|
|
19791
19791
|
]),
|
|
@@ -19798,11 +19798,11 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19798
19798
|
$("div", Ay, [
|
|
19799
19799
|
a[14] || (a[14] = $("span", { class: "text-lg font-bold" }, "Z-Образное крепление пластик (верх+низ)", -1)),
|
|
19800
19800
|
$("span", null, [
|
|
19801
|
-
a[10] || (a[10] =
|
|
19801
|
+
a[10] || (a[10] = K(" Расчетные размеры москитной сетки:", -1)),
|
|
19802
19802
|
a[11] || (a[11] = $("br", null, null, -1)),
|
|
19803
|
-
|
|
19803
|
+
K(" Ширина светового проема +" + Y(t.widthOverlaps.external_plastic) + " мм. Высота светового проема +" + Y(t.heightOverlaps.external_plastic) + " мм. ", 1),
|
|
19804
19804
|
a[12] || (a[12] = $("br", null, null, -1)),
|
|
19805
|
-
a[13] || (a[13] =
|
|
19805
|
+
a[13] || (a[13] = K(" Крепления прикручиваются к раме окна c помощью шурупов. ", -1))
|
|
19806
19806
|
])
|
|
19807
19807
|
])
|
|
19808
19808
|
]),
|
|
@@ -19815,11 +19815,11 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19815
19815
|
$("div", Ey, [
|
|
19816
19816
|
a[20] || (a[20] = $("span", { class: "text-lg font-bold" }, "Z-Образное крепление металл (верх+низ)", -1)),
|
|
19817
19817
|
$("span", null, [
|
|
19818
|
-
a[16] || (a[16] =
|
|
19818
|
+
a[16] || (a[16] = K(" Расчетные размеры москитной сетки: ", -1)),
|
|
19819
19819
|
a[17] || (a[17] = $("br", null, null, -1)),
|
|
19820
|
-
|
|
19820
|
+
K(" Ширина светового проема +" + Y(t.widthOverlaps.external_metal) + " мм. Высота светового проема +" + Y(t.heightOverlaps.external_metal) + " мм. ", 1),
|
|
19821
19821
|
a[18] || (a[18] = $("br", null, null, -1)),
|
|
19822
|
-
a[19] || (a[19] =
|
|
19822
|
+
a[19] || (a[19] = K(" Крепления прикручиваются к раме окна c помощью шурупов. ", -1))
|
|
19823
19823
|
])
|
|
19824
19824
|
])
|
|
19825
19825
|
])
|
|
@@ -19894,7 +19894,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19894
19894
|
"width-overlaps": t.settings.widthOverlaps
|
|
19895
19895
|
}, null, 8, ["show", "height-overlaps", "width-overlaps"]),
|
|
19896
19896
|
$("div", zy, [
|
|
19897
|
-
s.value ? (_(),
|
|
19897
|
+
s.value ? (_(), Q(A(Id), {
|
|
19898
19898
|
key: 1,
|
|
19899
19899
|
show: r.value,
|
|
19900
19900
|
"onUpdate:show": p[4] || (p[4] = (y) => r.value = y),
|
|
@@ -19927,7 +19927,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19927
19927
|
})
|
|
19928
19928
|
]),
|
|
19929
19929
|
_: 1
|
|
19930
|
-
}, 8, ["show"])) : (_(),
|
|
19930
|
+
}, 8, ["show"])) : (_(), Q(Ou, {
|
|
19931
19931
|
key: 0,
|
|
19932
19932
|
"configurator-params": a.value.configuratorParams,
|
|
19933
19933
|
settings: t.settings,
|
|
@@ -19996,14 +19996,14 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
19996
19996
|
formItemReference: l
|
|
19997
19997
|
}), (h, g) => {
|
|
19998
19998
|
const f = qd, m = Ol;
|
|
19999
|
-
return _(),
|
|
19999
|
+
return _(), Q(A(it), {
|
|
20000
20000
|
ref: "form-item-reference",
|
|
20001
20001
|
path: t.path,
|
|
20002
20002
|
label: `Полоса №${t.index + 1}, мм`,
|
|
20003
20003
|
class: "sc-hide-empty-feedback-message"
|
|
20004
20004
|
}, {
|
|
20005
20005
|
feedback: O(() => [
|
|
20006
|
-
c.value ? (_(),
|
|
20006
|
+
c.value ? (_(), Q(No, {
|
|
20007
20007
|
key: 0,
|
|
20008
20008
|
"is-product-searching": o.value,
|
|
20009
20009
|
product: t.product,
|
|
@@ -20140,7 +20140,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20140
20140
|
formReference: r
|
|
20141
20141
|
}), (T, k) => {
|
|
20142
20142
|
const B = Zn;
|
|
20143
|
-
return _(),
|
|
20143
|
+
return _(), Q(A(sr), {
|
|
20144
20144
|
ref: "form-reference",
|
|
20145
20145
|
model: a.value[0],
|
|
20146
20146
|
rules: l.value,
|
|
@@ -20152,7 +20152,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20152
20152
|
return [
|
|
20153
20153
|
(_(!0), M(_e, null, Mt(a.value, (w, S) => {
|
|
20154
20154
|
var b, P, R;
|
|
20155
|
-
return _(),
|
|
20155
|
+
return _(), Q(Hy, {
|
|
20156
20156
|
key: S,
|
|
20157
20157
|
ref_for: !0,
|
|
20158
20158
|
ref: "line-items-reference",
|
|
@@ -20172,35 +20172,35 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20172
20172
|
}, null, 8, ["value", "auto-focus", "index", "path", "product", "settings", "validation", "suggestion-option", "add-line-button-disabled", "remove-line-button-disabled"]);
|
|
20173
20173
|
}), 128)),
|
|
20174
20174
|
$("div", Wy, [
|
|
20175
|
-
d.value < 0 ? (_(),
|
|
20175
|
+
d.value < 0 ? (_(), Q(A($n), {
|
|
20176
20176
|
key: 0,
|
|
20177
20177
|
type: "error"
|
|
20178
20178
|
}, {
|
|
20179
20179
|
default: O(() => [
|
|
20180
|
-
|
|
20180
|
+
K(" Сумма ширин всех полос должна быть равна " + Y(t.settings.width), 1)
|
|
20181
20181
|
]),
|
|
20182
20182
|
_: 1
|
|
20183
20183
|
})) : j("", !0),
|
|
20184
|
-
h.value && a.value.length === t.settings.maxLinesCount && d.value > 0 ? (_(),
|
|
20184
|
+
h.value && a.value.length === t.settings.maxLinesCount && d.value > 0 ? (_(), Q(A($n), {
|
|
20185
20185
|
key: 1,
|
|
20186
20186
|
type: "error"
|
|
20187
20187
|
}, {
|
|
20188
20188
|
default: O(() => [...k[16] || (k[16] = [
|
|
20189
|
-
|
|
20189
|
+
K(" Остаток резки должен быть равен 0 ", -1)
|
|
20190
20190
|
])]),
|
|
20191
20191
|
_: 1
|
|
20192
20192
|
})) : j("", !0),
|
|
20193
20193
|
$("div", null, [
|
|
20194
|
-
k[17] || (k[17] =
|
|
20194
|
+
k[17] || (k[17] = K(" Остаток для резки: ", -1)),
|
|
20195
20195
|
N(A($n), {
|
|
20196
20196
|
type: d.value >= 0 ? "Success" : "error"
|
|
20197
20197
|
}, {
|
|
20198
20198
|
default: O(() => [
|
|
20199
|
-
|
|
20199
|
+
K(Y(d.value), 1)
|
|
20200
20200
|
]),
|
|
20201
20201
|
_: 1
|
|
20202
20202
|
}, 8, ["type"]),
|
|
20203
|
-
|
|
20203
|
+
K(" из " + Y(t.settings.width) + " мм ", 1)
|
|
20204
20204
|
])
|
|
20205
20205
|
]),
|
|
20206
20206
|
N(A(ze), {
|
|
@@ -20210,7 +20210,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20210
20210
|
onClick: k[2] || (k[2] = (w) => s("click:add-line", a.value.length))
|
|
20211
20211
|
}, {
|
|
20212
20212
|
default: O(() => [...k[18] || (k[18] = [
|
|
20213
|
-
|
|
20213
|
+
K(" Добавить полосу ", -1)
|
|
20214
20214
|
])]),
|
|
20215
20215
|
_: 1
|
|
20216
20216
|
}, 8, ["disabled"]),
|
|
@@ -20274,7 +20274,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20274
20274
|
]),
|
|
20275
20275
|
_: 1
|
|
20276
20276
|
}),
|
|
20277
|
-
c.value ? (_(),
|
|
20277
|
+
c.value ? (_(), Q(B, {
|
|
20278
20278
|
key: 0,
|
|
20279
20279
|
checked: a.value[0].isAdditionalSale ?? !1,
|
|
20280
20280
|
"true-value": !0,
|
|
@@ -20284,12 +20284,12 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20284
20284
|
})
|
|
20285
20285
|
}, {
|
|
20286
20286
|
default: O(() => [...k[19] || (k[19] = [
|
|
20287
|
-
|
|
20287
|
+
K(" ДопПродажа ", -1)
|
|
20288
20288
|
])]),
|
|
20289
20289
|
_: 1
|
|
20290
20290
|
}, 8, ["checked"])) : j("", !0),
|
|
20291
20291
|
m.value ? (_(), M("div", Vy, [
|
|
20292
|
-
k[20] || (k[20] =
|
|
20292
|
+
k[20] || (k[20] = K(" ИТОГО: ", -1)),
|
|
20293
20293
|
$("span", jy, Y(m.value) + " ₽", 1)
|
|
20294
20294
|
])) : j("", !0),
|
|
20295
20295
|
$("div", qy, [
|
|
@@ -20301,7 +20301,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20301
20301
|
onClick: k[14] || (k[14] = (w) => s("submit", a.value))
|
|
20302
20302
|
}, {
|
|
20303
20303
|
default: O(() => [
|
|
20304
|
-
|
|
20304
|
+
K(Y(a.value[0].isNewRec() ? "В корзину" : "Изменить"), 1)
|
|
20305
20305
|
]),
|
|
20306
20306
|
_: 1
|
|
20307
20307
|
}, 8, ["loading", "disabled"])
|
|
@@ -20327,13 +20327,13 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20327
20327
|
alt: "Штрипс"
|
|
20328
20328
|
}, null, 8, Gy),
|
|
20329
20329
|
$("div", Ky, [
|
|
20330
|
-
|
|
20330
|
+
K(" Число полос можно указать от " + Y(t.settings.minLinesCount) + " до " + Y(t.settings.maxLinesCount) + ". ", 1),
|
|
20331
20331
|
i[0] || (i[0] = $("br", null, null, -1)),
|
|
20332
|
-
|
|
20332
|
+
K(" Минимальная ширина полосы " + Y(t.settings.minLineWidth) + " мм. ", 1),
|
|
20333
20333
|
i[1] || (i[1] = $("br", null, null, -1)),
|
|
20334
|
-
|
|
20334
|
+
K(" Ширина всех полос " + Y(t.settings.width) + " мм. ", 1),
|
|
20335
20335
|
i[2] || (i[2] = $("br", null, null, -1)),
|
|
20336
|
-
|
|
20336
|
+
K(" Шаг ширины полосы - " + Y(t.settings.lineWidthStep) + " мм. ", 1)
|
|
20337
20337
|
])
|
|
20338
20338
|
]));
|
|
20339
20339
|
}
|
|
@@ -20428,14 +20428,14 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20428
20428
|
), (f, m) => {
|
|
20429
20429
|
const p = ze;
|
|
20430
20430
|
return _(), M("div", Jy, [
|
|
20431
|
-
t.settings.allowShowTable ? (_(),
|
|
20431
|
+
t.settings.allowShowTable ? (_(), Q(p, {
|
|
20432
20432
|
key: 0,
|
|
20433
20433
|
type: "tertiary",
|
|
20434
20434
|
class: "self-center",
|
|
20435
20435
|
onClick: m[0] || (m[0] = (v) => n("click:view-switch"))
|
|
20436
20436
|
}, {
|
|
20437
20437
|
default: O(() => [...m[3] || (m[3] = [
|
|
20438
|
-
|
|
20438
|
+
K(" Показать в виде списка ", -1)
|
|
20439
20439
|
])]),
|
|
20440
20440
|
_: 1
|
|
20441
20441
|
})) : j("", !0),
|
|
@@ -20521,7 +20521,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20521
20521
|
formReference: r
|
|
20522
20522
|
}), (f, m) => {
|
|
20523
20523
|
const p = Zn;
|
|
20524
|
-
return _(),
|
|
20524
|
+
return _(), Q(A(sr), {
|
|
20525
20525
|
ref: "form-reference",
|
|
20526
20526
|
model: a.value,
|
|
20527
20527
|
rules: l.value,
|
|
@@ -20609,7 +20609,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20609
20609
|
]),
|
|
20610
20610
|
_: 1
|
|
20611
20611
|
}),
|
|
20612
|
-
c.value ? (_(),
|
|
20612
|
+
c.value ? (_(), Q(p, {
|
|
20613
20613
|
key: 0,
|
|
20614
20614
|
checked: a.value.isAdditionalSale ?? !1,
|
|
20615
20615
|
"true-value": !0,
|
|
@@ -20619,7 +20619,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20619
20619
|
})
|
|
20620
20620
|
}, {
|
|
20621
20621
|
default: O(() => [...m[14] || (m[14] = [
|
|
20622
|
-
|
|
20622
|
+
K(" ДопПродажа ", -1)
|
|
20623
20623
|
])]),
|
|
20624
20624
|
_: 1
|
|
20625
20625
|
}, 8, ["checked"])) : j("", !0),
|
|
@@ -20639,7 +20639,7 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20639
20639
|
onClick: m[12] || (m[12] = (v) => s("submit", t.value))
|
|
20640
20640
|
}, {
|
|
20641
20641
|
default: O(() => [
|
|
20642
|
-
|
|
20642
|
+
K(Y(t.value.isNewRec() ? "В корзину" : "Изменить"), 1)
|
|
20643
20643
|
]),
|
|
20644
20644
|
_: 1
|
|
20645
20645
|
}, 8, ["disabled"])
|
|
@@ -20713,14 +20713,14 @@ const ay = { class: "flex flex-col gap-3" }, ly = { class: "grid gap-5 md:grid-c
|
|
|
20713
20713
|
), (h, g) => {
|
|
20714
20714
|
const f = ze;
|
|
20715
20715
|
return _(), M("div", ob, [
|
|
20716
|
-
t.settings.allowShowTable ? (_(),
|
|
20716
|
+
t.settings.allowShowTable ? (_(), Q(f, {
|
|
20717
20717
|
key: 0,
|
|
20718
20718
|
type: "tertiary",
|
|
20719
20719
|
class: "self-center",
|
|
20720
20720
|
onClick: g[0] || (g[0] = (m) => n("click:view-switch"))
|
|
20721
20721
|
}, {
|
|
20722
20722
|
default: O(() => [...g[4] || (g[4] = [
|
|
20723
|
-
|
|
20723
|
+
K(" Показать в виде списка ", -1)
|
|
20724
20724
|
])]),
|
|
20725
20725
|
_: 1
|
|
20726
20726
|
})) : j("", !0),
|
|
@@ -20813,7 +20813,7 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
20813
20813
|
marker: [dt.serverValidation(n.validation.marker.feedback)]
|
|
20814
20814
|
};
|
|
20815
20815
|
return o.value.configuratorParams.items.forEach((E, ie) => {
|
|
20816
|
-
var le, V, X, ee,
|
|
20816
|
+
var le, V, X, ee, Z, U, G;
|
|
20817
20817
|
I[`configuratorParams.items.${ie}.width`] = [
|
|
20818
20818
|
pe.required,
|
|
20819
20819
|
pe.min(n.settings.minWidth),
|
|
@@ -20823,7 +20823,7 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
20823
20823
|
], I[`configuratorParams.items.${ie}.length`] = [
|
|
20824
20824
|
pe.required,
|
|
20825
20825
|
pe.min(n.settings.minLength),
|
|
20826
|
-
...(
|
|
20826
|
+
...(Z = (ee = l.value) == null ? void 0 : ee.properties) != null && Z.length ? [pe.max(l.value.properties.length)] : [],
|
|
20827
20827
|
pe.step(1),
|
|
20828
20828
|
dt.serverValidation((U = n.validation[`items.${ie}.length`]) == null ? void 0 : U.feedback)
|
|
20829
20829
|
], I[`configuratorParams.items.${ie}.count`] = [
|
|
@@ -20930,7 +20930,7 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
20930
20930
|
formReference: r
|
|
20931
20931
|
}), (I, E) => {
|
|
20932
20932
|
const ie = Ol, le = db;
|
|
20933
|
-
return _(),
|
|
20933
|
+
return _(), Q(A(sr), {
|
|
20934
20934
|
ref: "form-reference",
|
|
20935
20935
|
model: o.value,
|
|
20936
20936
|
rules: p.value,
|
|
@@ -20949,7 +20949,7 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
20949
20949
|
N(A(an), {
|
|
20950
20950
|
value: c.value,
|
|
20951
20951
|
"onUpdate:value": [
|
|
20952
|
-
E[0] || (E[0] = (
|
|
20952
|
+
E[0] || (E[0] = (Z) => c.value = Z),
|
|
20953
20953
|
B
|
|
20954
20954
|
],
|
|
20955
20955
|
options: d.value,
|
|
@@ -20960,22 +20960,22 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
20960
20960
|
_: 1
|
|
20961
20961
|
}),
|
|
20962
20962
|
l.value ? (_(), M("div", hb, [
|
|
20963
|
-
E[9] || (E[9] =
|
|
20963
|
+
E[9] || (E[9] = K(" Стоимость: ", -1)),
|
|
20964
20964
|
$("span", fb, Y((V = l.value.costRub) == null ? void 0 : V.toLocaleString()) + " " + Y(l.value.currency.symbol) + "/шт.", 1)
|
|
20965
20965
|
])) : j("", !0),
|
|
20966
20966
|
l.value && f.value && m.value ? (_(), M("div", gb, [
|
|
20967
20967
|
E[15] || (E[15] = $("div", { class: "w-full font-bold" }, "Размеры изделий", -1)),
|
|
20968
20968
|
$("div", mb, [
|
|
20969
|
-
|
|
20969
|
+
K(" Минимальная ширина: " + Y(t.settings.minWidth) + " мм. ", 1),
|
|
20970
20970
|
E[10] || (E[10] = $("br", null, null, -1)),
|
|
20971
|
-
|
|
20971
|
+
K(" Максимальная ширина: " + Y((X = l.value.properties) == null ? void 0 : X.width) + " мм. ", 1),
|
|
20972
20972
|
E[11] || (E[11] = $("br", null, null, -1)),
|
|
20973
|
-
|
|
20973
|
+
K(" Минимальная длина: " + Y(t.settings.minLength) + " мм. ", 1),
|
|
20974
20974
|
E[12] || (E[12] = $("br", null, null, -1)),
|
|
20975
|
-
|
|
20975
|
+
K(" Максимальная длина: " + Y((ee = l.value.properties) == null ? void 0 : ee.length) + " мм. ", 1)
|
|
20976
20976
|
]),
|
|
20977
20977
|
$("div", pb, [
|
|
20978
|
-
(_(!0), M(_e, null, Mt(o.value.configuratorParams.items, (
|
|
20978
|
+
(_(!0), M(_e, null, Mt(o.value.configuratorParams.items, (Z, U) => (_(), M("div", {
|
|
20979
20979
|
key: U,
|
|
20980
20980
|
class: "flex grow gap-2"
|
|
20981
20981
|
}, [
|
|
@@ -21060,7 +21060,7 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
21060
21060
|
}, {
|
|
21061
21061
|
default: O(() => [
|
|
21062
21062
|
N(le),
|
|
21063
|
-
E[13] || (E[13] =
|
|
21063
|
+
E[13] || (E[13] = K(" Добавить изделие ", -1))
|
|
21064
21064
|
]),
|
|
21065
21065
|
_: 1
|
|
21066
21066
|
}, 8, ["disabled"]),
|
|
@@ -21072,16 +21072,16 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
21072
21072
|
onClick: w
|
|
21073
21073
|
}, {
|
|
21074
21074
|
default: O(() => [...E[14] || (E[14] = [
|
|
21075
|
-
|
|
21075
|
+
K(" Рассчитать ", -1)
|
|
21076
21076
|
])]),
|
|
21077
21077
|
_: 1
|
|
21078
21078
|
}, 8, ["disabled", "loading"])
|
|
21079
|
-
])) : l.value ? (_(),
|
|
21079
|
+
])) : l.value ? (_(), Q(A($n), {
|
|
21080
21080
|
key: 2,
|
|
21081
21081
|
type: "error"
|
|
21082
21082
|
}, {
|
|
21083
21083
|
default: O(() => [...E[16] || (E[16] = [
|
|
21084
|
-
|
|
21084
|
+
K(" Расчет по продукту невозможен. Обратитесь к менеджеру. ", -1)
|
|
21085
21085
|
])]),
|
|
21086
21086
|
_: 1
|
|
21087
21087
|
})) : j("", !0),
|
|
@@ -21093,24 +21093,24 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
21093
21093
|
N(A(An), {
|
|
21094
21094
|
value: o.value.marker ?? null,
|
|
21095
21095
|
placeholder: "Введите маркировку распила",
|
|
21096
|
-
onInput: E[4] || (E[4] = (
|
|
21097
|
-
"onUpdate:value": E[5] || (E[5] = (
|
|
21096
|
+
onInput: E[4] || (E[4] = (Z) => A(ut)(t.validation, "marker")),
|
|
21097
|
+
"onUpdate:value": E[5] || (E[5] = (Z) => H("marker", Z ?? null)),
|
|
21098
21098
|
onFocus: A(st)
|
|
21099
21099
|
}, null, 8, ["value", "onFocus"])
|
|
21100
21100
|
]),
|
|
21101
21101
|
_: 1
|
|
21102
21102
|
}),
|
|
21103
|
-
v.value ? (_(),
|
|
21103
|
+
v.value ? (_(), Q(A(Zn), {
|
|
21104
21104
|
key: 3,
|
|
21105
21105
|
checked: o.value.isAdditionalSale ?? !1,
|
|
21106
21106
|
"true-value": !0,
|
|
21107
21107
|
"false-value": !1,
|
|
21108
|
-
"onUpdate:checked": E[6] || (E[6] = (
|
|
21109
|
-
o.value.isAdditionalSale =
|
|
21108
|
+
"onUpdate:checked": E[6] || (E[6] = (Z) => {
|
|
21109
|
+
o.value.isAdditionalSale = Z ?? !1, H("isAdditionalSale", Z ?? !1);
|
|
21110
21110
|
})
|
|
21111
21111
|
}, {
|
|
21112
21112
|
default: O(() => [...E[17] || (E[17] = [
|
|
21113
|
-
|
|
21113
|
+
K(" ДопПродажа ", -1)
|
|
21114
21114
|
])]),
|
|
21115
21115
|
_: 1
|
|
21116
21116
|
}, 8, ["checked"])) : j("", !0),
|
|
@@ -21120,17 +21120,17 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
21120
21120
|
class: "grow"
|
|
21121
21121
|
}, {
|
|
21122
21122
|
default: O(() => {
|
|
21123
|
-
var
|
|
21123
|
+
var Z;
|
|
21124
21124
|
return [
|
|
21125
21125
|
h.value && l.value && k.value ? (_(), M("div", yb, [
|
|
21126
21126
|
$("div", null, [
|
|
21127
|
-
E[18] || (E[18] =
|
|
21127
|
+
E[18] || (E[18] = K(" Итого: ", -1)),
|
|
21128
21128
|
$("span", bb, Y(k.value.toLocaleString()) + " " + Y(l.value.currency.symbol), 1)
|
|
21129
21129
|
]),
|
|
21130
21130
|
h.value.quantity && l.value ? (_(), M("div", _b, [
|
|
21131
21131
|
$("span", wb, "(" + Y(h.value.quantity) + " шт.", 1),
|
|
21132
|
-
E[19] || (E[19] =
|
|
21133
|
-
$("span", xb, Y((
|
|
21132
|
+
E[19] || (E[19] = K(" x ", -1)),
|
|
21133
|
+
$("span", xb, Y((Z = l.value.costRub) == null ? void 0 : Z.toLocaleString()) + " " + Y(l.value.currency.symbol) + "/шт.)", 1)
|
|
21134
21134
|
])) : j("", !0)
|
|
21135
21135
|
])) : j("", !0)
|
|
21136
21136
|
];
|
|
@@ -21143,10 +21143,10 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
21143
21143
|
disabled: T.value || !h.value || g.value,
|
|
21144
21144
|
type: "primary",
|
|
21145
21145
|
class: "self-start",
|
|
21146
|
-
onClick: E[7] || (E[7] = (
|
|
21146
|
+
onClick: E[7] || (E[7] = (Z) => s("submit", o.value))
|
|
21147
21147
|
}, {
|
|
21148
21148
|
default: O(() => [
|
|
21149
|
-
|
|
21149
|
+
K(Y(o.value.isNewRec() ? "В корзину" : "Изменить"), 1)
|
|
21150
21150
|
]),
|
|
21151
21151
|
_: 1
|
|
21152
21152
|
}, 8, ["loading", "disabled"])
|
|
@@ -21218,14 +21218,14 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
21218
21218
|
), (d, h) => {
|
|
21219
21219
|
const g = ze;
|
|
21220
21220
|
return _(), M("div", $b, [
|
|
21221
|
-
t.settings.allowShowTable && r.value.isNewRec() ? (_(),
|
|
21221
|
+
t.settings.allowShowTable && r.value.isNewRec() ? (_(), Q(g, {
|
|
21222
21222
|
key: 0,
|
|
21223
21223
|
type: "tertiary",
|
|
21224
21224
|
class: "self-center",
|
|
21225
21225
|
onClick: h[0] || (h[0] = (f) => n("click:view-switch"))
|
|
21226
21226
|
}, {
|
|
21227
21227
|
default: O(() => [...h[2] || (h[2] = [
|
|
21228
|
-
|
|
21228
|
+
K(" Показать в виде списка ", -1)
|
|
21229
21229
|
])]),
|
|
21230
21230
|
_: 1
|
|
21231
21231
|
})) : j("", !0),
|
|
@@ -21379,34 +21379,34 @@ const db = Oe({ name: "ion-add", render: ub }), hb = {
|
|
|
21379
21379
|
])) : n.value ? (_(), M("div", Bb, Y(n.value), 1)) : j("", !0),
|
|
21380
21380
|
t.settings !== null && (s.value !== null || r.value !== null) ? (_(), M("div", Ab, [
|
|
21381
21381
|
$("div", Mb, [
|
|
21382
|
-
t.editor === "kozyrek" ? (_(),
|
|
21382
|
+
t.editor === "kozyrek" ? (_(), Q(uy, {
|
|
21383
21383
|
key: 0,
|
|
21384
21384
|
"event-emitter": t.eventEmitter,
|
|
21385
21385
|
settings: t.settings,
|
|
21386
21386
|
"cart-item": s.value,
|
|
21387
21387
|
"onClick:viewSwitch": l,
|
|
21388
21388
|
onSubmit: a
|
|
21389
|
-
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "mosquitto" ? (_(),
|
|
21389
|
+
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "mosquitto" ? (_(), Q(Dy, {
|
|
21390
21390
|
key: 1,
|
|
21391
21391
|
"event-emitter": t.eventEmitter,
|
|
21392
21392
|
settings: t.settings,
|
|
21393
21393
|
"cart-item": s.value,
|
|
21394
21394
|
onSubmit: a
|
|
21395
|
-
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "strip" ? (_(),
|
|
21395
|
+
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "strip" ? (_(), Q(ib, {
|
|
21396
21396
|
key: 2,
|
|
21397
21397
|
"event-emitter": t.eventEmitter,
|
|
21398
21398
|
settings: t.settings,
|
|
21399
21399
|
"cart-items": r.value,
|
|
21400
21400
|
"onClick:viewSwitch": l,
|
|
21401
21401
|
onSubmit: a
|
|
21402
|
-
}, null, 8, ["event-emitter", "settings", "cart-items"])) : t.editor === "metal_for_doors" ? (_(),
|
|
21402
|
+
}, null, 8, ["event-emitter", "settings", "cart-items"])) : t.editor === "metal_for_doors" ? (_(), Q(lb, {
|
|
21403
21403
|
key: 3,
|
|
21404
21404
|
"event-emitter": t.eventEmitter,
|
|
21405
21405
|
settings: t.settings,
|
|
21406
21406
|
"cart-item": s.value,
|
|
21407
21407
|
"onClick:viewSwitch": l,
|
|
21408
21408
|
onSubmit: a
|
|
21409
|
-
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "sandwich" ? (_(),
|
|
21409
|
+
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "sandwich" ? (_(), Q(Rb, {
|
|
21410
21410
|
key: 4,
|
|
21411
21411
|
"event-emitter": t.eventEmitter,
|
|
21412
21412
|
settings: t.settings,
|
|
@@ -21502,7 +21502,7 @@ const Db = {
|
|
|
21502
21502
|
() => Ct(e.isCategoryItemSelected) ? e.isCategoryItemSelected(e.categoryItem) === "disabled" : e.isCategoryItemSelected === "disabled"
|
|
21503
21503
|
), F = z(
|
|
21504
21504
|
() => Ct(e.isCategoryItemSelected) ? e.isCategoryItemSelected(e.categoryItem) === "indeterminate" : e.isCategoryItemSelected === "indeterminate"
|
|
21505
|
-
), w = z(() =>
|
|
21505
|
+
), w = z(() => Z.value && ui.getDeviceTypeByResolution() === bt.laptop ? "auto" : "fixed"), S = Ze("collapse-item-reference"), b = z(() => {
|
|
21506
21506
|
var J, oe;
|
|
21507
21507
|
return (oe = (J = e.categoryItem.properties) == null ? void 0 : J.templateCost) == null ? void 0 : oe.priceCoefficient;
|
|
21508
21508
|
}), P = z(() => {
|
|
@@ -21536,7 +21536,7 @@ const Db = {
|
|
|
21536
21536
|
e.eventEmitter.emit("category:context-select", { category: e.categoryItem, key: J, target: S.value });
|
|
21537
21537
|
}, ee = () => {
|
|
21538
21538
|
e.eventEmitter.emit("configurator:click-view-switch", { category: e.categoryItem });
|
|
21539
|
-
},
|
|
21539
|
+
}, Z = q(0), U = z(() => Z.value && r.value.length > 0 ? Np(r.value, {
|
|
21540
21540
|
eventEmitter: e.eventEmitter,
|
|
21541
21541
|
showSlugs: e.showSlugs,
|
|
21542
21542
|
showProperties: e.showProperties,
|
|
@@ -21552,13 +21552,13 @@ const Db = {
|
|
|
21552
21552
|
currencyRates: e.categoryItem.currencyRates,
|
|
21553
21553
|
productContextButtonsConfig: e.productContextButtonsConfig
|
|
21554
21554
|
}) : []), G = Xi(() => {
|
|
21555
|
-
|
|
21555
|
+
Z.value = window.innerWidth;
|
|
21556
21556
|
}, 20);
|
|
21557
21557
|
return Br(() => {
|
|
21558
21558
|
window.removeEventListener("resize", G);
|
|
21559
21559
|
}), window.addEventListener("resize", G), G(), (J, oe) => {
|
|
21560
21560
|
const we = Zn, me = gm, fe = Mr, qe = dm, at = Md, Ue = lm, Ci = rm, Ne = ze, Mi = im, Ei = Hd, Zt = Nd, di = Dd, Ii = El, Lt = Lo, hn = Fl, Oi = zd, Si = Ps;
|
|
21561
|
-
return _(),
|
|
21561
|
+
return _(), Q(Rm, {
|
|
21562
21562
|
ref: "collapse-item-reference",
|
|
21563
21563
|
name: t.categoryItem.id,
|
|
21564
21564
|
"data-id": t.categoryItem.id,
|
|
@@ -21575,7 +21575,7 @@ const Db = {
|
|
|
21575
21575
|
"onUpdate:checked": H
|
|
21576
21576
|
}, null, 8, ["checked", "indeterminate", "disabled"])
|
|
21577
21577
|
])) : j("", !0),
|
|
21578
|
-
!c.value && ((We = p.value) != null && We.isDisabled) ? (_(),
|
|
21578
|
+
!c.value && ((We = p.value) != null && We.isDisabled) ? (_(), Q(fe, {
|
|
21579
21579
|
key: 1,
|
|
21580
21580
|
placement: "bottom",
|
|
21581
21581
|
trigger: "hover"
|
|
@@ -21584,11 +21584,11 @@ const Db = {
|
|
|
21584
21584
|
N(me, { class: "pt-1.5" })
|
|
21585
21585
|
]),
|
|
21586
21586
|
default: O(() => [
|
|
21587
|
-
oe[1] || (oe[1] =
|
|
21587
|
+
oe[1] || (oe[1] = K(" Категория скрыта для клиента ", -1))
|
|
21588
21588
|
]),
|
|
21589
21589
|
_: 1
|
|
21590
21590
|
})) : j("", !0),
|
|
21591
|
-
((re = p.value) == null ? void 0 : re.isFavorite) ?? !1 ? (_(),
|
|
21591
|
+
((re = p.value) == null ? void 0 : re.isFavorite) ?? !1 ? (_(), Q(fe, {
|
|
21592
21592
|
key: 2,
|
|
21593
21593
|
placement: "bottom",
|
|
21594
21594
|
trigger: "hover"
|
|
@@ -21597,7 +21597,7 @@ const Db = {
|
|
|
21597
21597
|
N(qe, { class: "pt-1.5" })
|
|
21598
21598
|
]),
|
|
21599
21599
|
default: O(() => [
|
|
21600
|
-
oe[2] || (oe[2] =
|
|
21600
|
+
oe[2] || (oe[2] = K(" Избранная категория ", -1))
|
|
21601
21601
|
]),
|
|
21602
21602
|
_: 1
|
|
21603
21603
|
})) : j("", !0)
|
|
@@ -21622,7 +21622,7 @@ const Db = {
|
|
|
21622
21622
|
$("span", null, Y(t.categoryItem.name), 1)
|
|
21623
21623
|
]),
|
|
21624
21624
|
default: O(() => [
|
|
21625
|
-
oe[3] || (oe[3] =
|
|
21625
|
+
oe[3] || (oe[3] = K(" Категория скрыта ", -1))
|
|
21626
21626
|
]),
|
|
21627
21627
|
_: 1
|
|
21628
21628
|
}, 8, ["disabled"])
|
|
@@ -21635,7 +21635,7 @@ const Db = {
|
|
|
21635
21635
|
["prevent", "stop"]
|
|
21636
21636
|
))
|
|
21637
21637
|
}, [
|
|
21638
|
-
(re = t.categoryItem.properties) != null && re.m2Price ? (_(),
|
|
21638
|
+
(re = t.categoryItem.properties) != null && re.m2Price ? (_(), Q(at, {
|
|
21639
21639
|
key: 0,
|
|
21640
21640
|
size: A(i),
|
|
21641
21641
|
class: je({ "!pr-0": ((ge = t.categoryItem.properties) == null ? void 0 : ge.templateCost) && t.categoryItem.properties.m2PriceRetail && P.value }),
|
|
@@ -21644,9 +21644,9 @@ const Db = {
|
|
|
21644
21644
|
default: O(() => {
|
|
21645
21645
|
var wt;
|
|
21646
21646
|
return [
|
|
21647
|
-
|
|
21647
|
+
K(" Установленная стоимость: " + Y(t.categoryItem.properties.m2Price) + " руб./м2 ", 1),
|
|
21648
21648
|
(wt = t.categoryItem.properties) != null && wt.templateCost && t.categoryItem.properties.m2PriceRetail && P.value ? (_(), M(_e, { key: 0 }, [
|
|
21649
|
-
P.value ? (_(),
|
|
21649
|
+
P.value ? (_(), Q(at, {
|
|
21650
21650
|
key: 0,
|
|
21651
21651
|
type: "success",
|
|
21652
21652
|
bordered: !1,
|
|
@@ -21673,7 +21673,7 @@ const Db = {
|
|
|
21673
21673
|
}),
|
|
21674
21674
|
_: 1
|
|
21675
21675
|
}, 8, ["size", "class"])) : (Qe = t.categoryItem.properties) != null && Qe.templateCost ? (_(), M(_e, { key: 1 }, [
|
|
21676
|
-
b.value || P.value ? (_(),
|
|
21676
|
+
b.value || P.value ? (_(), Q(at, {
|
|
21677
21677
|
key: 0,
|
|
21678
21678
|
size: A(i),
|
|
21679
21679
|
round: ""
|
|
@@ -21688,17 +21688,17 @@ const Db = {
|
|
|
21688
21688
|
_: 1
|
|
21689
21689
|
}, 8, ["size"])) : j("", !0)
|
|
21690
21690
|
], 64)) : j("", !0),
|
|
21691
|
-
o.value ? (_(),
|
|
21691
|
+
o.value ? (_(), Q(at, {
|
|
21692
21692
|
key: 2,
|
|
21693
21693
|
size: A(i),
|
|
21694
21694
|
round: ""
|
|
21695
21695
|
}, {
|
|
21696
21696
|
default: O(() => [
|
|
21697
|
-
|
|
21697
|
+
K(" Фиксированный курс: " + Y(o.value), 1)
|
|
21698
21698
|
]),
|
|
21699
21699
|
_: 1
|
|
21700
21700
|
}, 8, ["size"])) : j("", !0),
|
|
21701
|
-
u.value && ((Mn = p.value) != null && Mn.manager) ? (_(),
|
|
21701
|
+
u.value && ((Mn = p.value) != null && Mn.manager) ? (_(), Q(at, {
|
|
21702
21702
|
key: 3,
|
|
21703
21703
|
size: A(i),
|
|
21704
21704
|
closable: !0,
|
|
@@ -21716,14 +21716,14 @@ const Db = {
|
|
|
21716
21716
|
return [
|
|
21717
21717
|
$("span", jb, [
|
|
21718
21718
|
N(Ue),
|
|
21719
|
-
|
|
21719
|
+
K(" " + Y((hi = (wt = p.value) == null ? void 0 : wt.manager) == null ? void 0 : hi.name), 1)
|
|
21720
21720
|
])
|
|
21721
21721
|
];
|
|
21722
21722
|
}),
|
|
21723
21723
|
default: O(() => {
|
|
21724
21724
|
var wt, hi;
|
|
21725
21725
|
return [
|
|
21726
|
-
|
|
21726
|
+
K(' Категория закреплена за "' + Y((hi = (wt = p.value) == null ? void 0 : wt.manager) == null ? void 0 : hi.name) + '" ', 1)
|
|
21727
21727
|
];
|
|
21728
21728
|
}),
|
|
21729
21729
|
_: 1
|
|
@@ -21746,7 +21746,7 @@ const Db = {
|
|
|
21746
21746
|
var We;
|
|
21747
21747
|
return [
|
|
21748
21748
|
$("div", Xb, [
|
|
21749
|
-
c.value ? (_(),
|
|
21749
|
+
c.value ? (_(), Q(fe, {
|
|
21750
21750
|
key: 0,
|
|
21751
21751
|
placement: "bottom",
|
|
21752
21752
|
trigger: "hover"
|
|
@@ -21760,7 +21760,7 @@ const Db = {
|
|
|
21760
21760
|
default: O(() => {
|
|
21761
21761
|
var re;
|
|
21762
21762
|
return [
|
|
21763
|
-
(re = p.value) != null && re.isDisabled ? (_(),
|
|
21763
|
+
(re = p.value) != null && re.isDisabled ? (_(), Q(me, { key: 1 })) : (_(), Q(Ci, { key: 0 }))
|
|
21764
21764
|
];
|
|
21765
21765
|
}),
|
|
21766
21766
|
_: 1
|
|
@@ -21770,15 +21770,15 @@ const Db = {
|
|
|
21770
21770
|
var re;
|
|
21771
21771
|
return [
|
|
21772
21772
|
(re = p.value) != null && re.isDisabled ? (_(), M(_e, { key: 0 }, [
|
|
21773
|
-
|
|
21773
|
+
K(" Скрыто для клиента" + Y(p.value.hidingComment ? `. Причина: '${p.value.hidingComment}'` : ""), 1)
|
|
21774
21774
|
], 64)) : (_(), M(_e, { key: 1 }, [
|
|
21775
|
-
|
|
21775
|
+
K("Видимо клиенту")
|
|
21776
21776
|
], 64))
|
|
21777
21777
|
];
|
|
21778
21778
|
}),
|
|
21779
21779
|
_: 1
|
|
21780
21780
|
})) : j("", !0),
|
|
21781
|
-
u.value && !((We = p.value) != null && We.manager) ? (_(),
|
|
21781
|
+
u.value && !((We = p.value) != null && We.manager) ? (_(), Q(fe, {
|
|
21782
21782
|
key: 1,
|
|
21783
21783
|
placement: "bottom",
|
|
21784
21784
|
trigger: "hover"
|
|
@@ -21799,15 +21799,15 @@ const Db = {
|
|
|
21799
21799
|
var re, ge, Qe;
|
|
21800
21800
|
return [
|
|
21801
21801
|
(re = p.value) != null && re.manager ? (_(), M(_e, { key: 1 }, [
|
|
21802
|
-
|
|
21802
|
+
K('Категория закреплена за "' + Y(((Qe = (ge = p.value) == null ? void 0 : ge.manager) == null ? void 0 : Qe.name) ?? "-") + '"', 1)
|
|
21803
21803
|
], 64)) : (_(), M(_e, { key: 0 }, [
|
|
21804
|
-
|
|
21804
|
+
K("Закрепить")
|
|
21805
21805
|
], 64))
|
|
21806
21806
|
];
|
|
21807
21807
|
}),
|
|
21808
21808
|
_: 1
|
|
21809
21809
|
})) : j("", !0),
|
|
21810
|
-
d.value ? (_(),
|
|
21810
|
+
d.value ? (_(), Q(fe, {
|
|
21811
21811
|
key: 2,
|
|
21812
21812
|
placement: "bottom",
|
|
21813
21813
|
trigger: "hover"
|
|
@@ -21822,18 +21822,18 @@ const Db = {
|
|
|
21822
21822
|
default: O(() => {
|
|
21823
21823
|
var re;
|
|
21824
21824
|
return [
|
|
21825
|
-
(re = p.value) != null && re.isRequired ? (_(),
|
|
21825
|
+
(re = p.value) != null && re.isRequired ? (_(), Q(Zt, { key: 1 })) : (_(), Q(Ei, { key: 0 }))
|
|
21826
21826
|
];
|
|
21827
21827
|
}),
|
|
21828
21828
|
_: 1
|
|
21829
21829
|
}, 8, ["disabled", "size"])
|
|
21830
21830
|
]),
|
|
21831
21831
|
default: O(() => [
|
|
21832
|
-
oe[4] || (oe[4] =
|
|
21832
|
+
oe[4] || (oe[4] = K(" Категория, которую нужно предлагать клиенту ", -1))
|
|
21833
21833
|
]),
|
|
21834
21834
|
_: 1
|
|
21835
21835
|
})) : j("", !0),
|
|
21836
|
-
h.value ? (_(),
|
|
21836
|
+
h.value ? (_(), Q(fe, {
|
|
21837
21837
|
key: 3,
|
|
21838
21838
|
placement: "bottom",
|
|
21839
21839
|
trigger: "hover"
|
|
@@ -21852,11 +21852,11 @@ const Db = {
|
|
|
21852
21852
|
}, 8, ["size"])
|
|
21853
21853
|
]),
|
|
21854
21854
|
default: O(() => [
|
|
21855
|
-
oe[5] || (oe[5] =
|
|
21855
|
+
oe[5] || (oe[5] = K(" Редактировать ", -1))
|
|
21856
21856
|
]),
|
|
21857
21857
|
_: 1
|
|
21858
21858
|
})) : j("", !0),
|
|
21859
|
-
m.value.length > 0 ? (_(),
|
|
21859
|
+
m.value.length > 0 ? (_(), Q(Lt, {
|
|
21860
21860
|
key: 4,
|
|
21861
21861
|
options: m.value,
|
|
21862
21862
|
size: A(i),
|
|
@@ -21885,7 +21885,7 @@ const Db = {
|
|
|
21885
21885
|
var We, re, ge;
|
|
21886
21886
|
return [
|
|
21887
21887
|
$("div", Yb, [
|
|
21888
|
-
s.value ? (_(),
|
|
21888
|
+
s.value ? (_(), Q(n_, {
|
|
21889
21889
|
key: 0,
|
|
21890
21890
|
"categories-items": t.categoryItem.categories ?? [],
|
|
21891
21891
|
"has-products": l.value || v.value,
|
|
@@ -21913,14 +21913,14 @@ const Db = {
|
|
|
21913
21913
|
"can-show-configurator": t.canShowConfigurator
|
|
21914
21914
|
}, 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"])) : j("", !0)
|
|
21915
21915
|
]),
|
|
21916
|
-
g.value && f.value ? (_(),
|
|
21916
|
+
g.value && f.value ? (_(), Q(Ob, {
|
|
21917
21917
|
key: 0,
|
|
21918
21918
|
"event-emitter": t.eventEmitter,
|
|
21919
21919
|
settings: (re = t.categoryItem.properties) == null ? void 0 : re.configuratorSettings,
|
|
21920
21920
|
editor: (ge = t.categoryItem.properties) == null ? void 0 : ge.configurator,
|
|
21921
21921
|
category: t.categoryItem
|
|
21922
21922
|
}, null, 8, ["event-emitter", "settings", "editor", "category"])) : l.value ? (_(), M("div", Gb, [
|
|
21923
|
-
g.value ? (_(),
|
|
21923
|
+
g.value ? (_(), Q(Ne, {
|
|
21924
21924
|
key: 0,
|
|
21925
21925
|
color: "#bdbdbd",
|
|
21926
21926
|
strong: "",
|
|
@@ -21928,7 +21928,7 @@ const Db = {
|
|
|
21928
21928
|
onClick: ee
|
|
21929
21929
|
}, {
|
|
21930
21930
|
default: O(() => [...oe[6] || (oe[6] = [
|
|
21931
|
-
|
|
21931
|
+
K(" Назад в Конфигуратор ", -1)
|
|
21932
21932
|
])]),
|
|
21933
21933
|
_: 1
|
|
21934
21934
|
})) : j("", !0),
|
|
@@ -21943,21 +21943,21 @@ const Db = {
|
|
|
21943
21943
|
class: "mt-2"
|
|
21944
21944
|
}, null, 8, ["columns", "data", "loading", "row-key", "table-layout"])
|
|
21945
21945
|
])) : j("", !0),
|
|
21946
|
-
!v.value && !y.value && !s.value && !l.value ? (_(),
|
|
21946
|
+
!v.value && !y.value && !s.value && !l.value ? (_(), Q(Oi, {
|
|
21947
21947
|
key: 2,
|
|
21948
21948
|
"show-icon": !0,
|
|
21949
21949
|
type: "warning",
|
|
21950
21950
|
title: "Категория пуста",
|
|
21951
21951
|
class: "mx-10"
|
|
21952
21952
|
})) : j("", !0),
|
|
21953
|
-
y.value ? (_(),
|
|
21953
|
+
y.value ? (_(), Q(Oi, {
|
|
21954
21954
|
key: 3,
|
|
21955
21955
|
"show-icon": !0,
|
|
21956
21956
|
type: "error",
|
|
21957
21957
|
title: "При получении данных произошла ошибка",
|
|
21958
21958
|
class: "mx-10"
|
|
21959
21959
|
})) : j("", !0),
|
|
21960
|
-
v.value ? (_(),
|
|
21960
|
+
v.value ? (_(), Q(Si, {
|
|
21961
21961
|
key: 4,
|
|
21962
21962
|
size: A(i),
|
|
21963
21963
|
class: "w-full"
|
|
@@ -22043,9 +22043,9 @@ const Db = {
|
|
|
22043
22043
|
return (r, o) => {
|
|
22044
22044
|
const a = Ps, l = zd;
|
|
22045
22045
|
return _(), M(_e, null, [
|
|
22046
|
-
n.value.length > 0 ? (_(),
|
|
22046
|
+
n.value.length > 0 ? (_(), Q(t_, { key: 0 }, {
|
|
22047
22047
|
default: O(() => [
|
|
22048
|
-
(_(!0), M(_e, null, Mt(n.value, (c) => (_(),
|
|
22048
|
+
(_(!0), M(_e, null, Mt(n.value, (c) => (_(), Q(Qb, {
|
|
22049
22049
|
key: c.id,
|
|
22050
22050
|
"category-item": c,
|
|
22051
22051
|
"event-emitter": t.eventEmitter,
|
|
@@ -22073,7 +22073,7 @@ const Db = {
|
|
|
22073
22073
|
}, null, 8, ["category-item", "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"]))), 128))
|
|
22074
22074
|
]),
|
|
22075
22075
|
_: 1
|
|
22076
|
-
})) : t.loading ? (_(),
|
|
22076
|
+
})) : t.loading ? (_(), Q(a, {
|
|
22077
22077
|
key: 1,
|
|
22078
22078
|
size: A(i),
|
|
22079
22079
|
class: "w-full"
|
|
@@ -22083,7 +22083,7 @@ const Db = {
|
|
|
22083
22083
|
])]),
|
|
22084
22084
|
_: 1
|
|
22085
22085
|
}, 8, ["size"])) : j("", !0),
|
|
22086
|
-
!t.hasProducts && !t.loading && t.categoriesItems.length > 0 && n.value.length === 0 ? (_(),
|
|
22086
|
+
!t.hasProducts && !t.loading && t.categoriesItems.length > 0 && n.value.length === 0 ? (_(), Q(l, {
|
|
22087
22087
|
key: 2,
|
|
22088
22088
|
"show-icon": !0,
|
|
22089
22089
|
type: "warning",
|
|
@@ -22134,7 +22134,7 @@ const Db = {
|
|
|
22134
22134
|
var g;
|
|
22135
22135
|
return (g = u.value) == null ? void 0 : g.blur();
|
|
22136
22136
|
}
|
|
22137
|
-
}), (g, f) => (_(),
|
|
22137
|
+
}), (g, f) => (_(), Q(A(an), {
|
|
22138
22138
|
ref: "select-component",
|
|
22139
22139
|
value: a.value,
|
|
22140
22140
|
clearable: n.clearable,
|
|
@@ -22149,7 +22149,7 @@ const Db = {
|
|
|
22149
22149
|
"onUpdate:value": c
|
|
22150
22150
|
}, null, 8, ["value", "clearable", "consistent-menu-width", "disabled", "filterable", "max-tag-count", "multiple", "options"]));
|
|
22151
22151
|
}
|
|
22152
|
-
}), o_ = {},
|
|
22152
|
+
}), o_ = {}, W3 = /* @__PURE__ */ se({
|
|
22153
22153
|
...o_,
|
|
22154
22154
|
__name: "set-client-price-form-item",
|
|
22155
22155
|
props: {
|
|
@@ -22259,7 +22259,7 @@ const Db = {
|
|
|
22259
22259
|
}), (F, w) => {
|
|
22260
22260
|
var P, R, H;
|
|
22261
22261
|
const S = An, b = Ld;
|
|
22262
|
-
return _(),
|
|
22262
|
+
return _(), Q(A(it), {
|
|
22263
22263
|
"show-label": !A(ot)(t.label),
|
|
22264
22264
|
label: t.label,
|
|
22265
22265
|
"show-feedback": !A(ot)(((P = f.value) == null ? void 0 : P.feedback) ?? t.feedback),
|
|
@@ -22272,7 +22272,7 @@ const Db = {
|
|
|
22272
22272
|
"sm:grid-cols-3": o.value && t.calculationType !== A(Hr).m2Cost
|
|
22273
22273
|
}, "grid w-full grid-cols-1 gap-2"])
|
|
22274
22274
|
}, [
|
|
22275
|
-
t.calculationType !== A(Hr).m2Cost ? (_(),
|
|
22275
|
+
t.calculationType !== A(Hr).m2Cost ? (_(), Q(b, {
|
|
22276
22276
|
key: 0,
|
|
22277
22277
|
class: je(["w-full flex-row", { "sm:col-span-2": o.value }])
|
|
22278
22278
|
}, {
|
|
@@ -22299,14 +22299,14 @@ const Db = {
|
|
|
22299
22299
|
class: "w-full min-w-0 flex-1"
|
|
22300
22300
|
}, qn({
|
|
22301
22301
|
suffix: O(() => [
|
|
22302
|
-
w[3] || (w[3] =
|
|
22302
|
+
w[3] || (w[3] = K("%", -1))
|
|
22303
22303
|
]),
|
|
22304
22304
|
_: 2
|
|
22305
22305
|
}, [
|
|
22306
22306
|
d.value && !d.value.startsWith("-") ? {
|
|
22307
22307
|
name: "prefix",
|
|
22308
22308
|
fn: O(() => [
|
|
22309
|
-
w[2] || (w[2] =
|
|
22309
|
+
w[2] || (w[2] = K(" + ", -1))
|
|
22310
22310
|
]),
|
|
22311
22311
|
key: "0"
|
|
22312
22312
|
} : void 0
|
|
@@ -22314,7 +22314,7 @@ const Db = {
|
|
|
22314
22314
|
]),
|
|
22315
22315
|
_: 1
|
|
22316
22316
|
}, 8, ["class"])) : j("", !0),
|
|
22317
|
-
o.value || t.calculationType === A(Hr).m2Cost ? (_(),
|
|
22317
|
+
o.value || t.calculationType === A(Hr).m2Cost ? (_(), Q(S, {
|
|
22318
22318
|
key: 1,
|
|
22319
22319
|
value: h.value,
|
|
22320
22320
|
"onUpdate:value": [
|
|
@@ -22331,7 +22331,7 @@ const Db = {
|
|
|
22331
22331
|
fn: O(() => {
|
|
22332
22332
|
var D;
|
|
22333
22333
|
return [
|
|
22334
|
-
|
|
22334
|
+
K(Y((D = a.value) == null ? void 0 : D.currency.symbol), 1)
|
|
22335
22335
|
];
|
|
22336
22336
|
}),
|
|
22337
22337
|
key: "0"
|
|
@@ -22416,7 +22416,7 @@ const Db = {
|
|
|
22416
22416
|
acceptHandler: h
|
|
22417
22417
|
}), (g, f) => {
|
|
22418
22418
|
const m = ze, p = Rl;
|
|
22419
|
-
return _(),
|
|
22419
|
+
return _(), Q(p, {
|
|
22420
22420
|
loading: o.value,
|
|
22421
22421
|
show: r.value,
|
|
22422
22422
|
"show-icon": !1,
|
|
@@ -22450,7 +22450,7 @@ const Db = {
|
|
|
22450
22450
|
])) : j("", !0),
|
|
22451
22451
|
g.$slots.action || t.acceptButton.show || t.cancelButton.show ? (_(), M("div", l_, [
|
|
22452
22452
|
Te(g.$slots, "action", { disabled: o.value }),
|
|
22453
|
-
t.acceptButton.show ?? !0 ? (_(),
|
|
22453
|
+
t.acceptButton.show ?? !0 ? (_(), Q(m, {
|
|
22454
22454
|
key: 0,
|
|
22455
22455
|
disabled: o.value || !t.valid,
|
|
22456
22456
|
size: A(a),
|
|
@@ -22458,18 +22458,18 @@ const Db = {
|
|
|
22458
22458
|
onClick: h
|
|
22459
22459
|
}, {
|
|
22460
22460
|
default: O(() => [
|
|
22461
|
-
|
|
22461
|
+
K(Y(t.acceptButton.text ?? "ОК"), 1)
|
|
22462
22462
|
]),
|
|
22463
22463
|
_: 1
|
|
22464
22464
|
}, 8, ["disabled", "size"])) : j("", !0),
|
|
22465
|
-
t.cancelButton.show ?? !0 ? (_(),
|
|
22465
|
+
t.cancelButton.show ?? !0 ? (_(), Q(m, {
|
|
22466
22466
|
key: 1,
|
|
22467
22467
|
size: A(a),
|
|
22468
22468
|
type: "default",
|
|
22469
22469
|
onClick: f[0] || (f[0] = (v) => d("footer"))
|
|
22470
22470
|
}, {
|
|
22471
22471
|
default: O(() => [
|
|
22472
|
-
|
|
22472
|
+
K(Y(t.cancelButton.text ?? "Отмена"), 1)
|
|
22473
22473
|
]),
|
|
22474
22474
|
_: 1
|
|
22475
22475
|
}, 8, ["size"])) : j("", !0)
|
|
@@ -22480,7 +22480,7 @@ const Db = {
|
|
|
22480
22480
|
]), 1032, ["loading", "show", "size", "style", "title", "trap-focus", "action-class"]);
|
|
22481
22481
|
};
|
|
22482
22482
|
}
|
|
22483
|
-
}), d_ = { class: "text-sm" }, h_ = {},
|
|
22483
|
+
}), d_ = { class: "text-sm" }, h_ = {}, V3 = /* @__PURE__ */ se({
|
|
22484
22484
|
...h_,
|
|
22485
22485
|
__name: "add-product-to-cart-dialog",
|
|
22486
22486
|
emits: ["submit"],
|
|
@@ -22583,7 +22583,7 @@ const Db = {
|
|
|
22583
22583
|
}), (w, S) => {
|
|
22584
22584
|
var D;
|
|
22585
22585
|
const b = it, P = yg, R = Ld, H = Zn;
|
|
22586
|
-
return _(),
|
|
22586
|
+
return _(), Q(u_, {
|
|
22587
22587
|
ref: "base-dialog-reference",
|
|
22588
22588
|
show: !A(ot)(r.value) && !A(ot)(u.value),
|
|
22589
22589
|
title: `${a.value ? "Изменение" : "Добавление"} товара ${(D = r.value) == null ? void 0 : D.name} в ${l.value ? ` заказ №${l.value}` : "корзину"}`,
|
|
@@ -22596,7 +22596,7 @@ const Db = {
|
|
|
22596
22596
|
default: O(() => {
|
|
22597
22597
|
var I;
|
|
22598
22598
|
return [
|
|
22599
|
-
r.value && u.value ? (_(),
|
|
22599
|
+
r.value && u.value ? (_(), Q(A(sr), {
|
|
22600
22600
|
key: 0,
|
|
22601
22601
|
ref: "form-reference",
|
|
22602
22602
|
model: u.value,
|
|
@@ -22605,7 +22605,7 @@ const Db = {
|
|
|
22605
22605
|
onKeydown: ir(Kn((I = s.value) == null ? void 0 : I.acceptHandler, ["prevent"]), ["enter"])
|
|
22606
22606
|
}, {
|
|
22607
22607
|
default: O(() => [
|
|
22608
|
-
A(Li).productIsMeasurable(r.value) ? (_(),
|
|
22608
|
+
A(Li).productIsMeasurable(r.value) ? (_(), Q(b, {
|
|
22609
22609
|
key: 0,
|
|
22610
22610
|
path: "length",
|
|
22611
22611
|
label: `Метраж, ${v.value + r.value.unit.name}`
|
|
@@ -22650,12 +22650,12 @@ const Db = {
|
|
|
22650
22650
|
onInput: S[5] || (S[5] = (E) => A(ut)(g.value, "quantity")),
|
|
22651
22651
|
onFocus: A(st)
|
|
22652
22652
|
}, null, 8, ["value", "parse", "step", "onFocus"]),
|
|
22653
|
-
o.value ? (_(),
|
|
22653
|
+
o.value ? (_(), Q(P, {
|
|
22654
22654
|
key: 0,
|
|
22655
22655
|
class: "bg-orange-100 font-bold"
|
|
22656
22656
|
}, {
|
|
22657
22657
|
default: O(() => [
|
|
22658
|
-
|
|
22658
|
+
K(" x " + Y(p.value) + " " + Y(r.value.unit.name), 1)
|
|
22659
22659
|
]),
|
|
22660
22660
|
_: 1
|
|
22661
22661
|
})) : j("", !0)
|
|
@@ -22673,7 +22673,7 @@ const Db = {
|
|
|
22673
22673
|
]),
|
|
22674
22674
|
_: 1
|
|
22675
22675
|
}),
|
|
22676
|
-
A(Li).productIsMeasurable(r.value) ? (_(),
|
|
22676
|
+
A(Li).productIsMeasurable(r.value) ? (_(), Q(b, {
|
|
22677
22677
|
key: 1,
|
|
22678
22678
|
path: "marker",
|
|
22679
22679
|
label: "Маркировка"
|
|
@@ -22689,7 +22689,7 @@ const Db = {
|
|
|
22689
22689
|
]),
|
|
22690
22690
|
_: 1
|
|
22691
22691
|
})) : j("", !0),
|
|
22692
|
-
c.value ? (_(),
|
|
22692
|
+
c.value ? (_(), Q(H, {
|
|
22693
22693
|
key: 2,
|
|
22694
22694
|
checked: u.value.isAdditionalSale,
|
|
22695
22695
|
"onUpdate:checked": S[8] || (S[8] = (E) => u.value.isAdditionalSale = E),
|
|
@@ -22697,7 +22697,7 @@ const Db = {
|
|
|
22697
22697
|
"false-value": !1
|
|
22698
22698
|
}, {
|
|
22699
22699
|
default: O(() => [...S[9] || (S[9] = [
|
|
22700
|
-
|
|
22700
|
+
K(" ДопПродажа ", -1)
|
|
22701
22701
|
])]),
|
|
22702
22702
|
_: 1
|
|
22703
22703
|
}, 8, ["checked"])) : j("", !0)
|
|
@@ -22738,7 +22738,7 @@ const Db = {
|
|
|
22738
22738
|
return (o, a) => {
|
|
22739
22739
|
const l = Il, c = ze, u = Bn;
|
|
22740
22740
|
return _(), M("div", f_, [
|
|
22741
|
-
t.showClientInfoIcon ? (_(),
|
|
22741
|
+
t.showClientInfoIcon ? (_(), Q(c, {
|
|
22742
22742
|
key: 0,
|
|
22743
22743
|
quaternary: "",
|
|
22744
22744
|
size: "small",
|
|
@@ -22810,7 +22810,7 @@ function S_(t, e) {
|
|
|
22810
22810
|
], -1)
|
|
22811
22811
|
])]);
|
|
22812
22812
|
}
|
|
22813
|
-
const $_ = Oe({ name: "tabler-mail", render: S_ }), T_ = ["href"], P_ = {},
|
|
22813
|
+
const $_ = Oe({ name: "tabler-mail", render: S_ }), T_ = ["href"], P_ = {}, j3 = /* @__PURE__ */ se({
|
|
22814
22814
|
...P_,
|
|
22815
22815
|
__name: "email",
|
|
22816
22816
|
props: {
|
|
@@ -22823,7 +22823,7 @@ const $_ = Oe({ name: "tabler-mail", render: S_ }), T_ = ["href"], P_ = {}, O3 =
|
|
|
22823
22823
|
return _(), M("span", {
|
|
22824
22824
|
class: je({ "flex flex-row items-center gap-1": t.showEmailIcon })
|
|
22825
22825
|
}, [
|
|
22826
|
-
t.showEmailIcon ? (_(),
|
|
22826
|
+
t.showEmailIcon ? (_(), Q(n, { key: 0 })) : j("", !0),
|
|
22827
22827
|
$("a", {
|
|
22828
22828
|
href: `mailto:${t.email}`,
|
|
22829
22829
|
class: "no-underline"
|
|
@@ -22972,7 +22972,7 @@ function j_(t, e) {
|
|
|
22972
22972
|
const q_ = Oe({ name: "tabler-phone-call", render: j_ }), U_ = {
|
|
22973
22973
|
key: 0,
|
|
22974
22974
|
class: "absolute left-0 top-0 flex w-full flex-row items-center justify-around text-center backdrop-blur-sm"
|
|
22975
|
-
}, X_ = ["href"], Y_ = ["href"], G_ = ["href"], K_ = ["href"], Z_ = {},
|
|
22975
|
+
}, X_ = ["href"], Y_ = ["href"], G_ = ["href"], K_ = ["href"], Z_ = {}, q3 = /* @__PURE__ */ se({
|
|
22976
22976
|
...Z_,
|
|
22977
22977
|
__name: "phone",
|
|
22978
22978
|
props: {
|
|
@@ -23009,8 +23009,8 @@ const q_ = Oe({ name: "tabler-phone-call", render: j_ }), U_ = {
|
|
|
23009
23009
|
$("div", {
|
|
23010
23010
|
class: je({ "flex flex-row items-center gap-1": t.showPhoneIcon })
|
|
23011
23011
|
}, [
|
|
23012
|
-
t.showPhoneIcon ? (_(),
|
|
23013
|
-
|
|
23012
|
+
t.showPhoneIcon ? (_(), Q(c, { key: 0 })) : j("", !0),
|
|
23013
|
+
K(" " + Y(s.value), 1)
|
|
23014
23014
|
], 2),
|
|
23015
23015
|
n.value && o.value ? (_(), M("div", U_, [
|
|
23016
23016
|
n.value ? (_(), M("a", {
|
|
@@ -23090,7 +23090,7 @@ const e1 = Oe({ name: "mdi-envelope", render: J_ }), t1 = { class: "flex flex-co
|
|
|
23090
23090
|
}, m1 = {
|
|
23091
23091
|
key: 0,
|
|
23092
23092
|
class: "-mt-1"
|
|
23093
|
-
}, p1 = {},
|
|
23093
|
+
}, p1 = {}, U3 = /* @__PURE__ */ se({
|
|
23094
23094
|
...p1,
|
|
23095
23095
|
__name: "person-contacts-block",
|
|
23096
23096
|
props: {
|
|
@@ -23140,7 +23140,7 @@ const e1 = Oe({ name: "mdi-envelope", render: J_ }), t1 = { class: "flex flex-co
|
|
|
23140
23140
|
}, [
|
|
23141
23141
|
$("div", null, [
|
|
23142
23142
|
t.fullView && (t.contact.name || (T = t.contact) != null && T.position) ? (_(), M("div", i1, [
|
|
23143
|
-
|
|
23143
|
+
K(Y(t.contact.name) + " ", 1),
|
|
23144
23144
|
(k = t.contact) != null && k.position ? (_(), M("span", n1, Y((B = t.contact) == null ? void 0 : B.position), 1)) : j("", !0)
|
|
23145
23145
|
])) : j("", !0),
|
|
23146
23146
|
t.contact.phone ? (_(), M("div", s1, Y(s.value), 1)) : j("", !0),
|
|
@@ -23194,12 +23194,12 @@ const e1 = Oe({ name: "mdi-envelope", render: J_ }), t1 = { class: "flex flex-co
|
|
|
23194
23194
|
var y, T, k, B;
|
|
23195
23195
|
return [
|
|
23196
23196
|
t.contact.name ? (_(), M("div", h1, [
|
|
23197
|
-
|
|
23197
|
+
K(Y(t.contact.name) + " ", 1),
|
|
23198
23198
|
(y = t.contact) != null && y.position ? (_(), M("span", f1, Y((T = t.contact) == null ? void 0 : T.position), 1)) : j("", !0)
|
|
23199
23199
|
])) : j("", !0),
|
|
23200
23200
|
(k = t.contact) != null && k.comment ? (_(), M("div", g1, [
|
|
23201
23201
|
c[4] || (c[4] = $("sup", null, "**", -1)),
|
|
23202
|
-
|
|
23202
|
+
K(" " + Y((B = t.contact) == null ? void 0 : B.comment), 1)
|
|
23203
23203
|
])) : j("", !0)
|
|
23204
23204
|
];
|
|
23205
23205
|
}),
|
|
@@ -23207,13 +23207,13 @@ const e1 = Oe({ name: "mdi-envelope", render: J_ }), t1 = { class: "flex flex-co
|
|
|
23207
23207
|
}, 8, ["disabled"]),
|
|
23208
23208
|
t.fullView && ((p = t.contact) != null && p.comment) ? (_(), M("div", m1, [
|
|
23209
23209
|
c[5] || (c[5] = $("sup", null, "**", -1)),
|
|
23210
|
-
|
|
23210
|
+
K(" " + Y((v = t.contact) == null ? void 0 : v.comment), 1)
|
|
23211
23211
|
])) : j("", !0)
|
|
23212
23212
|
]);
|
|
23213
23213
|
};
|
|
23214
23214
|
}
|
|
23215
23215
|
});
|
|
23216
|
-
class
|
|
23216
|
+
class X3 {
|
|
23217
23217
|
/**
|
|
23218
23218
|
* Инициализирует экземпляр класса {@link ConfiguratorSettingsMosquito}.
|
|
23219
23219
|
*
|
|
@@ -23271,7 +23271,7 @@ class D3 {
|
|
|
23271
23271
|
this.color = e.color, this.crossbarCount = e.crossbarCount, this.descriptions = va(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 = va(e.heightOverlaps), this.widthOverlaps = va(e.widthOverlaps), this.canSetDopProdaga = e.canSetDopProdaga;
|
|
23272
23272
|
}
|
|
23273
23273
|
}
|
|
23274
|
-
const v1 = { class: "flex flex-wrap gap-2" }, y1 = { class: "flex flex-col" }, b1 = { class: "flex flex-col" }, _1 = {},
|
|
23274
|
+
const v1 = { class: "flex flex-wrap gap-2" }, y1 = { class: "flex flex-col" }, b1 = { class: "flex flex-col" }, _1 = {}, Y3 = /* @__PURE__ */ se({
|
|
23275
23275
|
..._1,
|
|
23276
23276
|
__name: "date-range",
|
|
23277
23277
|
props: {
|
|
@@ -23327,7 +23327,7 @@ const v1 = { class: "flex flex-wrap gap-2" }, y1 = { class: "flex flex-col" }, b
|
|
|
23327
23327
|
name: "footer",
|
|
23328
23328
|
fn: O(() => [
|
|
23329
23329
|
$("div", y1, [
|
|
23330
|
-
(_(!0), M(_e, null, Mt(s.value, (p, v) => (_(),
|
|
23330
|
+
(_(!0), M(_e, null, Mt(s.value, (p, v) => (_(), Q(l, {
|
|
23331
23331
|
key: v,
|
|
23332
23332
|
class: "my-1 mr-2",
|
|
23333
23333
|
size: "small",
|
|
@@ -23339,7 +23339,7 @@ const v1 = { class: "flex flex-wrap gap-2" }, y1 = { class: "flex flex-col" }, b
|
|
|
23339
23339
|
}
|
|
23340
23340
|
}, {
|
|
23341
23341
|
default: O(() => [
|
|
23342
|
-
|
|
23342
|
+
K(Y(p.label), 1)
|
|
23343
23343
|
]),
|
|
23344
23344
|
_: 2
|
|
23345
23345
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -23368,7 +23368,7 @@ const v1 = { class: "flex flex-wrap gap-2" }, y1 = { class: "flex flex-col" }, b
|
|
|
23368
23368
|
name: "footer",
|
|
23369
23369
|
fn: O(() => [
|
|
23370
23370
|
$("div", b1, [
|
|
23371
|
-
(_(!0), M(_e, null, Mt(s.value, (p, v) => (_(),
|
|
23371
|
+
(_(!0), M(_e, null, Mt(s.value, (p, v) => (_(), Q(l, {
|
|
23372
23372
|
key: v,
|
|
23373
23373
|
class: "my-1 mr-2",
|
|
23374
23374
|
size: "small",
|
|
@@ -23380,7 +23380,7 @@ const v1 = { class: "flex flex-wrap gap-2" }, y1 = { class: "flex flex-col" }, b
|
|
|
23380
23380
|
}
|
|
23381
23381
|
}, {
|
|
23382
23382
|
default: O(() => [
|
|
23383
|
-
|
|
23383
|
+
K(Y(p.label), 1)
|
|
23384
23384
|
]),
|
|
23385
23385
|
_: 2
|
|
23386
23386
|
}, 1032, ["onClick"]))), 128))
|
|
@@ -23413,7 +23413,7 @@ const v1 = { class: "flex flex-wrap gap-2" }, y1 = { class: "flex flex-col" }, b
|
|
|
23413
23413
|
}, Y(n.value), 3)) : j("", !0)
|
|
23414
23414
|
], 2));
|
|
23415
23415
|
}
|
|
23416
|
-
}), k1 = { class: "flex flex-row gap-2.5" }, C1 = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, S1 = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, $1 = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, T1 = {},
|
|
23416
|
+
}), k1 = { class: "flex flex-row gap-2.5" }, C1 = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, S1 = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, $1 = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, T1 = {}, G3 = /* @__PURE__ */ se({
|
|
23417
23417
|
...T1,
|
|
23418
23418
|
__name: "dialog-header",
|
|
23419
23419
|
props: {
|
|
@@ -23431,7 +23431,7 @@ const v1 = { class: "flex flex-wrap gap-2" }, y1 = { class: "flex flex-col" }, b
|
|
|
23431
23431
|
$("div", S1, [
|
|
23432
23432
|
Te(e.$slots, "extra-buttons"),
|
|
23433
23433
|
$("div", $1, [
|
|
23434
|
-
t.showCloseButton ? (_(),
|
|
23434
|
+
t.showCloseButton ? (_(), Q(r, {
|
|
23435
23435
|
key: 0,
|
|
23436
23436
|
placement: "bottom"
|
|
23437
23437
|
}, {
|
|
@@ -23448,7 +23448,7 @@ const v1 = { class: "flex flex-wrap gap-2" }, y1 = { class: "flex flex-col" }, b
|
|
|
23448
23448
|
})
|
|
23449
23449
|
]),
|
|
23450
23450
|
default: O(() => [
|
|
23451
|
-
i[1] || (i[1] =
|
|
23451
|
+
i[1] || (i[1] = K(" Закрыть ", -1))
|
|
23452
23452
|
]),
|
|
23453
23453
|
_: 1
|
|
23454
23454
|
})) : j("", !0)
|
|
@@ -23483,7 +23483,7 @@ function R1(t, e) {
|
|
|
23483
23483
|
}, null, -1)
|
|
23484
23484
|
])]);
|
|
23485
23485
|
}
|
|
23486
|
-
const F1 = Oe({ name: "ion-download-outline", render: R1 }), B1 = {},
|
|
23486
|
+
const F1 = Oe({ name: "ion-download-outline", render: R1 }), B1 = {}, K3 = /* @__PURE__ */ se({
|
|
23487
23487
|
...B1,
|
|
23488
23488
|
__name: "single-file-upload-selector",
|
|
23489
23489
|
props: {
|
|
@@ -23511,7 +23511,7 @@ const F1 = Oe({ name: "ion-download-outline", render: R1 }), B1 = {}, W3 = /* @_
|
|
|
23511
23511
|
};
|
|
23512
23512
|
return (a, l) => {
|
|
23513
23513
|
const c = F1;
|
|
23514
|
-
return _(),
|
|
23514
|
+
return _(), Q(A(_g), {
|
|
23515
23515
|
"file-list": r.value,
|
|
23516
23516
|
"default-upload": !1,
|
|
23517
23517
|
max: 1,
|
|
@@ -23632,7 +23632,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23632
23632
|
$("div", null, [
|
|
23633
23633
|
$("div", N1, [
|
|
23634
23634
|
$("div", H1, [
|
|
23635
|
-
t.showEditButton ? (_(),
|
|
23635
|
+
t.showEditButton ? (_(), Q(h, {
|
|
23636
23636
|
key: 0,
|
|
23637
23637
|
placement: "bottom"
|
|
23638
23638
|
}, {
|
|
@@ -23651,11 +23651,11 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23651
23651
|
}, 8, ["disabled"])
|
|
23652
23652
|
]),
|
|
23653
23653
|
default: O(() => [
|
|
23654
|
-
c[0] || (c[0] =
|
|
23654
|
+
c[0] || (c[0] = K(" Редактировать данные ", -1))
|
|
23655
23655
|
]),
|
|
23656
23656
|
_: 1
|
|
23657
23657
|
})) : j("", !0),
|
|
23658
|
-
t.showApplyButton ? (_(),
|
|
23658
|
+
t.showApplyButton ? (_(), Q(h, {
|
|
23659
23659
|
key: 1,
|
|
23660
23660
|
disabled: n.value,
|
|
23661
23661
|
placement: "bottom"
|
|
@@ -23674,11 +23674,11 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23674
23674
|
}, 8, ["disabled"])
|
|
23675
23675
|
]),
|
|
23676
23676
|
default: O(() => [
|
|
23677
|
-
c[1] || (c[1] =
|
|
23677
|
+
c[1] || (c[1] = K(" Сохранить изменения ", -1))
|
|
23678
23678
|
]),
|
|
23679
23679
|
_: 1
|
|
23680
23680
|
}, 8, ["disabled"])) : j("", !0),
|
|
23681
|
-
t.showCancelButton ? (_(),
|
|
23681
|
+
t.showCancelButton ? (_(), Q(h, {
|
|
23682
23682
|
key: 2,
|
|
23683
23683
|
placement: "bottom"
|
|
23684
23684
|
}, {
|
|
@@ -23696,7 +23696,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23696
23696
|
}, 8, ["disabled"])
|
|
23697
23697
|
]),
|
|
23698
23698
|
default: O(() => [
|
|
23699
|
-
c[2] || (c[2] =
|
|
23699
|
+
c[2] || (c[2] = K(" Отменить изменения ", -1))
|
|
23700
23700
|
]),
|
|
23701
23701
|
_: 1
|
|
23702
23702
|
})) : j("", !0)
|
|
@@ -23732,7 +23732,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23732
23732
|
}
|
|
23733
23733
|
);
|
|
23734
23734
|
}), (a, l) => (_(), M("div", null, [
|
|
23735
|
-
s.value ? (_(),
|
|
23735
|
+
s.value ? (_(), Q(zu, {
|
|
23736
23736
|
key: 1,
|
|
23737
23737
|
disabled: t.disabled,
|
|
23738
23738
|
"show-apply-button": !0,
|
|
@@ -23747,7 +23747,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23747
23747
|
Te(a.$slots, "editor")
|
|
23748
23748
|
]),
|
|
23749
23749
|
_: 3
|
|
23750
|
-
}, 8, ["disabled"])) : (_(),
|
|
23750
|
+
}, 8, ["disabled"])) : (_(), Q(zu, {
|
|
23751
23751
|
key: 0,
|
|
23752
23752
|
disabled: t.disabled,
|
|
23753
23753
|
"show-edit-button": t.showEditButton,
|
|
@@ -23763,7 +23763,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23763
23763
|
}, 8, ["disabled", "show-edit-button"]))
|
|
23764
23764
|
]));
|
|
23765
23765
|
}
|
|
23766
|
-
}), q1 = {},
|
|
23766
|
+
}), q1 = {}, Z3 = /* @__PURE__ */ se({
|
|
23767
23767
|
...q1,
|
|
23768
23768
|
__name: "debounced-input",
|
|
23769
23769
|
props: {
|
|
@@ -23786,7 +23786,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23786
23786
|
(l) => {
|
|
23787
23787
|
s.value = l;
|
|
23788
23788
|
}
|
|
23789
|
-
), (l, c) => (_(),
|
|
23789
|
+
), (l, c) => (_(), Q(A(An), {
|
|
23790
23790
|
value: s.value,
|
|
23791
23791
|
"onUpdate:value": [
|
|
23792
23792
|
c[0] || (c[0] = (u) => s.value = u),
|
|
@@ -23801,7 +23801,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23801
23801
|
_: 3
|
|
23802
23802
|
}, 8, ["value", "clearable", "placeholder"]));
|
|
23803
23803
|
}
|
|
23804
|
-
}), U1 = {},
|
|
23804
|
+
}), U1 = {}, Q3 = /* @__PURE__ */ se({
|
|
23805
23805
|
...U1,
|
|
23806
23806
|
__name: "debounced-input-number",
|
|
23807
23807
|
props: {
|
|
@@ -23845,7 +23845,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23845
23845
|
var g;
|
|
23846
23846
|
return (g = c.value) == null ? void 0 : g.select();
|
|
23847
23847
|
}
|
|
23848
|
-
}), (g, f) => (_(),
|
|
23848
|
+
}), (g, f) => (_(), Q(A(xt), {
|
|
23849
23849
|
ref_key: "inputReference",
|
|
23850
23850
|
ref: c,
|
|
23851
23851
|
value: r.value ?? null,
|
|
@@ -23917,7 +23917,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23917
23917
|
{
|
|
23918
23918
|
immediate: !0
|
|
23919
23919
|
}
|
|
23920
|
-
), Ar(() => a(s.value ?? "")), (l, c) => (_(),
|
|
23920
|
+
), Ar(() => a(s.value ?? "")), (l, c) => (_(), Q(A(qg), {
|
|
23921
23921
|
modelValue: s.value,
|
|
23922
23922
|
"onUpdate:modelValue": [
|
|
23923
23923
|
c[0] || (c[0] = (u) => s.value = u),
|
|
@@ -23936,7 +23936,7 @@ const z1 = Oe({ name: "ion-options-outline", render: O1 }), L1 = { class: "flex
|
|
|
23936
23936
|
class: "tel-input"
|
|
23937
23937
|
}, null, 8, ["modelValue", "default-country", "disabled", "input-options", "preferred-countries", "only-countries"]));
|
|
23938
23938
|
}
|
|
23939
|
-
}),
|
|
23939
|
+
}), J3 = /* @__PURE__ */ Qn(Y1, [["__scopeId", "data-v-751dbb0e"]]), G1 = {
|
|
23940
23940
|
viewBox: "0 0 24 24",
|
|
23941
23941
|
width: "1.2em",
|
|
23942
23942
|
height: "1.2em"
|
|
@@ -23953,7 +23953,7 @@ function K1(t, e) {
|
|
|
23953
23953
|
}, null, -1)
|
|
23954
23954
|
])]);
|
|
23955
23955
|
}
|
|
23956
|
-
const Z1 = Oe({ name: "tabler-external-link", render: K1 }), Q1 = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, J1 = ["href"], ew = {},
|
|
23956
|
+
const Z1 = Oe({ name: "tabler-external-link", render: K1 }), Q1 = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, J1 = ["href"], ew = {}, e4 = /* @__PURE__ */ se({
|
|
23957
23957
|
...ew,
|
|
23958
23958
|
__name: "external-link",
|
|
23959
23959
|
props: {
|
|
@@ -23964,7 +23964,7 @@ const Z1 = Oe({ name: "tabler-external-link", render: K1 }), Q1 = { class: "flex
|
|
|
23964
23964
|
setup(t) {
|
|
23965
23965
|
return (e, i) => {
|
|
23966
23966
|
const n = Z1, s = Mr;
|
|
23967
|
-
return _(),
|
|
23967
|
+
return _(), Q(s, {
|
|
23968
23968
|
disabled: A(Zs)(t.description),
|
|
23969
23969
|
placement: "top-start"
|
|
23970
23970
|
}, {
|
|
@@ -23979,7 +23979,7 @@ const Z1 = Oe({ name: "tabler-external-link", render: K1 }), Q1 = { class: "flex
|
|
|
23979
23979
|
])
|
|
23980
23980
|
]),
|
|
23981
23981
|
default: O(() => [
|
|
23982
|
-
|
|
23982
|
+
K(" " + Y(t.description), 1)
|
|
23983
23983
|
]),
|
|
23984
23984
|
_: 1
|
|
23985
23985
|
}, 8, ["disabled"]);
|
|
@@ -24894,16 +24894,16 @@ function Kw() {
|
|
|
24894
24894
|
const X = E[V], ee = ie.get(X);
|
|
24895
24895
|
if (ee !== void 0) {
|
|
24896
24896
|
o.set(S, X);
|
|
24897
|
-
for (const
|
|
24897
|
+
for (const Z of ee) {
|
|
24898
24898
|
if (e.has(S))
|
|
24899
24899
|
break;
|
|
24900
|
-
|
|
24900
|
+
Z(S);
|
|
24901
24901
|
}
|
|
24902
24902
|
}
|
|
24903
24903
|
if (V === 0 && !R && le !== void 0) {
|
|
24904
|
-
const
|
|
24905
|
-
if (
|
|
24906
|
-
for (const U of
|
|
24904
|
+
const Z = le.get(X);
|
|
24905
|
+
if (Z !== void 0)
|
|
24906
|
+
for (const U of Z) {
|
|
24907
24907
|
if (e.has(S))
|
|
24908
24908
|
break;
|
|
24909
24909
|
U(S);
|
|
@@ -24917,10 +24917,10 @@ function Kw() {
|
|
|
24917
24917
|
const X = E[V], ee = le.get(X);
|
|
24918
24918
|
if (ee !== void 0) {
|
|
24919
24919
|
o.set(S, X);
|
|
24920
|
-
for (const
|
|
24920
|
+
for (const Z of ee) {
|
|
24921
24921
|
if (e.has(S))
|
|
24922
24922
|
break;
|
|
24923
|
-
|
|
24923
|
+
Z(S);
|
|
24924
24924
|
}
|
|
24925
24925
|
}
|
|
24926
24926
|
}
|
|
@@ -25164,7 +25164,7 @@ function vl(t, e = !0, i = []) {
|
|
|
25164
25164
|
return t.forEach((n) => {
|
|
25165
25165
|
if (n !== null) {
|
|
25166
25166
|
if (typeof n != "object") {
|
|
25167
|
-
(typeof n == "string" || typeof n == "number") && i.push(
|
|
25167
|
+
(typeof n == "string" || typeof n == "number") && i.push(K(String(n)));
|
|
25168
25168
|
return;
|
|
25169
25169
|
}
|
|
25170
25170
|
if (Array.isArray(n)) {
|
|
@@ -26666,14 +26666,14 @@ const ad = se({
|
|
|
26666
26666
|
k(D, I, "auto");
|
|
26667
26667
|
return;
|
|
26668
26668
|
}
|
|
26669
|
-
const { left: E, top: ie, index: le, key: V, position: X, behavior: ee, debounce:
|
|
26669
|
+
const { left: E, top: ie, index: le, key: V, position: X, behavior: ee, debounce: Z = !0 } = D;
|
|
26670
26670
|
if (E !== void 0 || ie !== void 0)
|
|
26671
26671
|
k(E, ie, ee);
|
|
26672
26672
|
else if (le !== void 0)
|
|
26673
|
-
T(le, ee,
|
|
26673
|
+
T(le, ee, Z);
|
|
26674
26674
|
else if (V !== void 0) {
|
|
26675
26675
|
const U = r.value.get(V);
|
|
26676
|
-
U !== void 0 && T(U, ee,
|
|
26676
|
+
U !== void 0 && T(U, ee, Z);
|
|
26677
26677
|
} else X === "bottom" ? k(0, Number.MAX_SAFE_INTEGER, ee) : X === "top" && k(0, 0, ee);
|
|
26678
26678
|
};
|
|
26679
26679
|
let v, y = null;
|
|
@@ -26716,11 +26716,11 @@ const ad = se({
|
|
|
26716
26716
|
var E, ie, le;
|
|
26717
26717
|
if (i || t.ignoreItemResize || H(I.target))
|
|
26718
26718
|
return;
|
|
26719
|
-
const { value: V } = d, X = r.value.get(D), ee = V.get(X),
|
|
26720
|
-
if (
|
|
26719
|
+
const { value: V } = d, X = r.value.get(D), ee = V.get(X), Z = (le = (ie = (E = I.borderBoxSize) === null || E === void 0 ? void 0 : E[0]) === null || ie === void 0 ? void 0 : ie.blockSize) !== null && le !== void 0 ? le : I.contentRect.height;
|
|
26720
|
+
if (Z === ee)
|
|
26721
26721
|
return;
|
|
26722
|
-
|
|
26723
|
-
const G =
|
|
26722
|
+
Z - t.itemSize === 0 ? u.delete(D) : u.set(D, Z - t.itemSize);
|
|
26723
|
+
const G = Z - ee;
|
|
26724
26724
|
if (G === 0)
|
|
26725
26725
|
return;
|
|
26726
26726
|
V.add(X, G);
|
|
@@ -26733,7 +26733,7 @@ const ad = se({
|
|
|
26733
26733
|
J.scrollBy(0, G);
|
|
26734
26734
|
else if (X === v) {
|
|
26735
26735
|
const oe = V.sum(X);
|
|
26736
|
-
|
|
26736
|
+
Z + oe > // Note, listEl shouldn't have border, nor offsetHeight won't be
|
|
26737
26737
|
// correct
|
|
26738
26738
|
J.scrollTop + J.offsetHeight && J.scrollBy(0, G);
|
|
26739
26739
|
}
|
|
@@ -27308,7 +27308,7 @@ const m2 = "n", p2 = `.${m2}-`, v2 = "__", y2 = "--", Af = hf(), Mf = g2({
|
|
|
27308
27308
|
Af.use(Mf);
|
|
27309
27309
|
const {
|
|
27310
27310
|
c: ye,
|
|
27311
|
-
find:
|
|
27311
|
+
find: t4
|
|
27312
27312
|
} = Af, {
|
|
27313
27313
|
cB: $e,
|
|
27314
27314
|
cE: Fe,
|
|
@@ -27357,7 +27357,7 @@ function wl(t, e = !0, i = []) {
|
|
|
27357
27357
|
return t.forEach((n) => {
|
|
27358
27358
|
if (n !== null) {
|
|
27359
27359
|
if (typeof n != "object") {
|
|
27360
|
-
(typeof n == "string" || typeof n == "number") && i.push(
|
|
27360
|
+
(typeof n == "string" || typeof n == "number") && i.push(K(String(n)));
|
|
27361
27361
|
return;
|
|
27362
27362
|
}
|
|
27363
27363
|
if (Array.isArray(n)) {
|
|
@@ -27397,7 +27397,7 @@ function Va(t) {
|
|
|
27397
27397
|
};
|
|
27398
27398
|
}
|
|
27399
27399
|
function Us(t, ...e) {
|
|
27400
|
-
return typeof t == "function" ? t(...e) : typeof t == "string" ?
|
|
27400
|
+
return typeof t == "function" ? t(...e) : typeof t == "string" ? K(t) : typeof t == "number" ? K(String(t)) : null;
|
|
27401
27401
|
}
|
|
27402
27402
|
function Ko(t) {
|
|
27403
27403
|
return t.some((e) => mg(e) ? !(e.type === zo || e.type === _e && !Ko(e.children)) : !0) ? t : null;
|
|
@@ -29126,7 +29126,7 @@ const lc = {
|
|
|
29126
29126
|
const ke = he - L;
|
|
29127
29127
|
return ke ? te / ke * (be - ie.value) : 0;
|
|
29128
29128
|
}
|
|
29129
|
-
}),
|
|
29129
|
+
}), Z = z(() => `${ee.value}px`), U = z(() => {
|
|
29130
29130
|
const {
|
|
29131
29131
|
value: L
|
|
29132
29132
|
} = h, {
|
|
@@ -29454,7 +29454,7 @@ const lc = {
|
|
|
29454
29454
|
yBarSizePx: E,
|
|
29455
29455
|
xBarSizePx: le,
|
|
29456
29456
|
yBarTopPx: X,
|
|
29457
|
-
xBarLeftPx:
|
|
29457
|
+
xBarLeftPx: Z,
|
|
29458
29458
|
isShowXBar: J,
|
|
29459
29459
|
isShowYBar: oe,
|
|
29460
29460
|
isIos: H,
|
|
@@ -30361,7 +30361,7 @@ const Wk = $e("base-select-menu", `
|
|
|
30361
30361
|
};
|
|
30362
30362
|
}), {
|
|
30363
30363
|
inlineThemeDisabled: X
|
|
30364
|
-
} = t, ee = X ? As("internal-select-menu", z(() => t.size[0]), V, t) : void 0,
|
|
30364
|
+
} = t, ee = X ? As("internal-select-menu", z(() => t.size[0]), V, t) : void 0, Z = {
|
|
30365
30365
|
selfRef: r,
|
|
30366
30366
|
next: H,
|
|
30367
30367
|
prev: D,
|
|
@@ -30400,7 +30400,7 @@ const Wk = $e("base-select-menu", `
|
|
|
30400
30400
|
cssVars: X ? void 0 : V,
|
|
30401
30401
|
themeClass: ee == null ? void 0 : ee.themeClass,
|
|
30402
30402
|
onRender: ee == null ? void 0 : ee.onRender
|
|
30403
|
-
},
|
|
30403
|
+
}, Z);
|
|
30404
30404
|
},
|
|
30405
30405
|
render() {
|
|
30406
30406
|
const {
|
|
@@ -30780,7 +30780,7 @@ const Yk = se({
|
|
|
30780
30780
|
color: V,
|
|
30781
30781
|
boxShadow: X,
|
|
30782
30782
|
borderRadius: ee,
|
|
30783
|
-
arrowHeight:
|
|
30783
|
+
arrowHeight: Z,
|
|
30784
30784
|
arrowOffset: U,
|
|
30785
30785
|
arrowOffsetVertical: G
|
|
30786
30786
|
}
|
|
@@ -30795,7 +30795,7 @@ const Yk = se({
|
|
|
30795
30795
|
"--n-color": V,
|
|
30796
30796
|
"--n-divider-color": le,
|
|
30797
30797
|
"--n-border-radius": ee,
|
|
30798
|
-
"--n-arrow-height":
|
|
30798
|
+
"--n-arrow-height": Z,
|
|
30799
30799
|
"--n-arrow-offset": U,
|
|
30800
30800
|
"--n-arrow-offset-vertical": G,
|
|
30801
30801
|
"--n-padding": I,
|
|
@@ -30888,14 +30888,14 @@ const Yk = se({
|
|
|
30888
30888
|
contentStyle: E ? void 0 : t.contentStyle
|
|
30889
30889
|
}, {
|
|
30890
30890
|
default: () => X
|
|
30891
|
-
}) : X,
|
|
30891
|
+
}) : X, Z = t.showArrow ? Xk({
|
|
30892
30892
|
arrowClass: t.arrowClass,
|
|
30893
30893
|
arrowStyle: t.arrowStyle,
|
|
30894
30894
|
arrowWrapperClass: t.arrowWrapperClass,
|
|
30895
30895
|
arrowWrapperStyle: t.arrowWrapperStyle,
|
|
30896
30896
|
clsPrefix: H
|
|
30897
30897
|
}) : null;
|
|
30898
|
-
return [ee,
|
|
30898
|
+
return [ee, Z];
|
|
30899
30899
|
};
|
|
30900
30900
|
P = W("div", $l({
|
|
30901
30901
|
class: [`${H}-popover`, `${H}-popover-shared`, (l == null ? void 0 : l.value) && `${H}-popover--rtl`, v == null ? void 0 : v.themeClass.value, D.map((le) => `${H}-${le}`), {
|
|
@@ -31677,7 +31677,7 @@ const lC = Object.assign(Object.assign(Object.assign({}, Kt.props), rC), {
|
|
|
31677
31677
|
[yt("colorBordered", g)]: V,
|
|
31678
31678
|
[yt("closeSize", f)]: X,
|
|
31679
31679
|
[yt("closeIconSize", f)]: ee,
|
|
31680
|
-
[yt("fontSize", f)]:
|
|
31680
|
+
[yt("fontSize", f)]: Z,
|
|
31681
31681
|
[yt("height", f)]: U,
|
|
31682
31682
|
[yt("color", g)]: G,
|
|
31683
31683
|
[yt("textColor", g)]: J,
|
|
@@ -31715,7 +31715,7 @@ const lC = Object.assign(Object.assign(Object.assign({}, Kt.props), rC), {
|
|
|
31715
31715
|
"--n-color-checked-pressed": E,
|
|
31716
31716
|
"--n-color-hover-checkable": R,
|
|
31717
31717
|
"--n-color-pressed-checkable": H,
|
|
31718
|
-
"--n-font-size":
|
|
31718
|
+
"--n-font-size": Z,
|
|
31719
31719
|
"--n-height": U,
|
|
31720
31720
|
"--n-opacity-disabled": B,
|
|
31721
31721
|
"--n-padding": y,
|
|
@@ -32331,9 +32331,9 @@ const Xf = {
|
|
|
32331
32331
|
function ee(re) {
|
|
32332
32332
|
R(re);
|
|
32333
32333
|
}
|
|
32334
|
-
const
|
|
32334
|
+
const Z = q(!1);
|
|
32335
32335
|
function U(re) {
|
|
32336
|
-
if (re.key === "Backspace" && !
|
|
32336
|
+
if (re.key === "Backspace" && !Z.value && !t.pattern.length) {
|
|
32337
32337
|
const {
|
|
32338
32338
|
selectedOptions: ge
|
|
32339
32339
|
} = t;
|
|
@@ -32349,13 +32349,13 @@ const Xf = {
|
|
|
32349
32349
|
const Qe = re.target.value;
|
|
32350
32350
|
ge.textContent = Qe, F();
|
|
32351
32351
|
}
|
|
32352
|
-
t.ignoreComposition &&
|
|
32352
|
+
t.ignoreComposition && Z.value ? G = re : D(re);
|
|
32353
32353
|
}
|
|
32354
32354
|
function oe() {
|
|
32355
|
-
|
|
32355
|
+
Z.value = !0;
|
|
32356
32356
|
}
|
|
32357
32357
|
function we() {
|
|
32358
|
-
|
|
32358
|
+
Z.value = !1, t.ignoreComposition && D(G), G = null;
|
|
32359
32359
|
}
|
|
32360
32360
|
function me(re) {
|
|
32361
32361
|
var ge;
|
|
@@ -32566,7 +32566,7 @@ const Xf = {
|
|
|
32566
32566
|
label: k,
|
|
32567
32567
|
selected: B,
|
|
32568
32568
|
showTagsPanel: f,
|
|
32569
|
-
isComposing:
|
|
32569
|
+
isComposing: Z,
|
|
32570
32570
|
// dom ref
|
|
32571
32571
|
counterRef: u,
|
|
32572
32572
|
counterWrapperRef: d,
|
|
@@ -33163,7 +33163,7 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33163
33163
|
} = ie;
|
|
33164
33164
|
he && jt(he, L, te), ke && jt(ke, L, te), be && jt(be, L, te), o.value = L, Pe(), Ae();
|
|
33165
33165
|
}
|
|
33166
|
-
function
|
|
33166
|
+
function Z(L) {
|
|
33167
33167
|
const {
|
|
33168
33168
|
onBlur: te
|
|
33169
33169
|
} = t, {
|
|
@@ -33249,7 +33249,7 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33249
33249
|
}
|
|
33250
33250
|
function Ei(L) {
|
|
33251
33251
|
var te, he;
|
|
33252
|
-
!((he = (te = w.value) === null || te === void 0 ? void 0 : te.selfRef) === null || he === void 0) && he.contains(L.relatedTarget) || (c.value = !1,
|
|
33252
|
+
!((he = (te = w.value) === null || te === void 0 ? void 0 : te.selfRef) === null || he === void 0) && he.contains(L.relatedTarget) || (c.value = !1, Z(L), qe());
|
|
33253
33253
|
}
|
|
33254
33254
|
function Zt(L) {
|
|
33255
33255
|
G(L), c.value = !0;
|
|
@@ -33259,7 +33259,7 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33259
33259
|
}
|
|
33260
33260
|
function Ii(L) {
|
|
33261
33261
|
var te;
|
|
33262
|
-
!((te = B.value) === null || te === void 0) && te.$el.contains(L.relatedTarget) || (c.value = !1,
|
|
33262
|
+
!((te = B.value) === null || te === void 0) && te.$el.contains(L.relatedTarget) || (c.value = !1, Z(L), qe());
|
|
33263
33263
|
}
|
|
33264
33264
|
function Lt() {
|
|
33265
33265
|
var L;
|
|
@@ -33689,7 +33689,7 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33689
33689
|
var y;
|
|
33690
33690
|
return (y = u.value) == null ? void 0 : y.blurInput();
|
|
33691
33691
|
}
|
|
33692
|
-
}), (y, T) => (_(),
|
|
33692
|
+
}), (y, T) => (_(), Q(A(kC), {
|
|
33693
33693
|
ref: "select-component",
|
|
33694
33694
|
"clear-filter-after-select": !0,
|
|
33695
33695
|
clearable: t.clearable,
|
|
@@ -33751,7 +33751,7 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33751
33751
|
var d;
|
|
33752
33752
|
return (d = r.value) == null ? void 0 : d.blur();
|
|
33753
33753
|
}
|
|
33754
|
-
}), (d, h) => (_(),
|
|
33754
|
+
}), (d, h) => (_(), Q(SC, {
|
|
33755
33755
|
ref: "select-component",
|
|
33756
33756
|
value: t.value,
|
|
33757
33757
|
clearable: t.clearable,
|
|
@@ -33770,7 +33770,7 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33770
33770
|
}), PC = { class: "col-span-2 flex flex-row gap-2.5" }, RC = { class: "flex-1" }, FC = { class: "text-sc-grey" }, BC = { class: "ml-2.5" }, AC = {
|
|
33771
33771
|
key: 0,
|
|
33772
33772
|
class: "flex-none"
|
|
33773
|
-
}, MC = {},
|
|
33773
|
+
}, MC = {}, i4 = /* @__PURE__ */ se({
|
|
33774
33774
|
...MC,
|
|
33775
33775
|
__name: "products-list",
|
|
33776
33776
|
props: {
|
|
@@ -33809,7 +33809,7 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33809
33809
|
}
|
|
33810
33810
|
), (d, h) => {
|
|
33811
33811
|
const g = kg, f = nw, m = ze, p = xg;
|
|
33812
|
-
return _(),
|
|
33812
|
+
return _(), Q(p, {
|
|
33813
33813
|
"show-divider": !1,
|
|
33814
33814
|
hoverable: !0
|
|
33815
33815
|
}, {
|
|
@@ -33831,16 +33831,16 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33831
33831
|
}, null, 8, ["value", "disabled", "min-term-length", "search-type"])
|
|
33832
33832
|
]),
|
|
33833
33833
|
default: O(() => [
|
|
33834
|
-
o.value.length === 0 ? (_(),
|
|
33834
|
+
o.value.length === 0 ? (_(), Q(g, {
|
|
33835
33835
|
key: 0,
|
|
33836
33836
|
class: "text-center text-sm text-gray-600"
|
|
33837
33837
|
}, {
|
|
33838
33838
|
default: O(() => [...h[1] || (h[1] = [
|
|
33839
|
-
|
|
33839
|
+
K(" --- Список пуст --- ", -1)
|
|
33840
33840
|
])]),
|
|
33841
33841
|
_: 1
|
|
33842
33842
|
})) : j("", !0),
|
|
33843
|
-
(_(!0), M(_e, null, Mt(o.value, (v) => (_(),
|
|
33843
|
+
(_(!0), M(_e, null, Mt(o.value, (v) => (_(), Q(g, {
|
|
33844
33844
|
key: v.id
|
|
33845
33845
|
}, {
|
|
33846
33846
|
suffix: O(() => [
|
|
@@ -33879,18 +33879,21 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33879
33879
|
}
|
|
33880
33880
|
}), EC = { class: "flex flex-col gap-0.5" }, IC = { class: "flex gap-0.5" }, OC = {
|
|
33881
33881
|
key: 0,
|
|
33882
|
-
class: "text-
|
|
33883
|
-
}, zC = { key: 0 },
|
|
33882
|
+
class: "text-base basis-1/2 shrink-0 flex flex-col gap-0.5 text-nowrap"
|
|
33883
|
+
}, zC = { class: "font-medium" }, LC = { key: 0 }, DC = { class: "font-medium" }, NC = { class: "font-medium" }, HC = { class: "font-medium" }, WC = { class: "font-medium" }, VC = { class: "font-medium" }, jC = { class: "font-medium" }, qC = {
|
|
33884
33884
|
key: 1,
|
|
33885
33885
|
class: "flex flex-col gap-1.5 grow"
|
|
33886
|
-
},
|
|
33886
|
+
}, UC = {
|
|
33887
33887
|
key: 0,
|
|
33888
33888
|
class: "flex flex-wrap items-center gap-1"
|
|
33889
|
-
},
|
|
33890
|
-
key:
|
|
33889
|
+
}, XC = {
|
|
33890
|
+
key: 1,
|
|
33891
33891
|
class: "flex flex-col gap-0.5"
|
|
33892
|
-
},
|
|
33893
|
-
|
|
33892
|
+
}, YC = { class: "text-nowrap text-base" }, GC = {
|
|
33893
|
+
key: 0,
|
|
33894
|
+
class: "text-nowrap text-base"
|
|
33895
|
+
}, KC = {}, ZC = /* @__PURE__ */ se({
|
|
33896
|
+
...KC,
|
|
33894
33897
|
__name: "order-item-params",
|
|
33895
33898
|
props: {
|
|
33896
33899
|
item: {},
|
|
@@ -33931,93 +33934,102 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
33931
33934
|
return _(), M("div", EC, [
|
|
33932
33935
|
$("div", IC, [
|
|
33933
33936
|
t.item.configurator && t.item.configuratorParams && e.includes(t.item.configurator) ? (_(), M("div", OC, [
|
|
33934
|
-
|
|
33935
|
-
c[3] || (c[3] =
|
|
33936
|
-
$("
|
|
33937
|
+
$("span", null, [
|
|
33938
|
+
c[3] || (c[3] = K(" Количество ", -1)),
|
|
33939
|
+
$("span", zC, Y(t.item.quantity) + " шт.", 1)
|
|
33940
|
+
]),
|
|
33941
|
+
t.item.configurator === "kozyrek" ? (_(), M("span", LC, [
|
|
33942
|
+
c[4] || (c[4] = K(" Длина: ", -1)),
|
|
33943
|
+
$("span", DC, Y(Math.round(t.item.length * 1e3)) + " мм.", 1)
|
|
33937
33944
|
])) : j("", !0),
|
|
33938
33945
|
t.item.configurator === "mosquitto" ? (_(), M(_e, { key: 1 }, [
|
|
33939
33946
|
$("span", null, [
|
|
33940
|
-
c[
|
|
33941
|
-
$("
|
|
33947
|
+
c[5] || (c[5] = K(" Ширина: ", -1)),
|
|
33948
|
+
$("span", NC, Y(Math.round(t.item.width * 1e3)) + " мм.", 1)
|
|
33942
33949
|
]),
|
|
33943
33950
|
$("span", null, [
|
|
33944
|
-
c[
|
|
33945
|
-
$("
|
|
33951
|
+
c[6] || (c[6] = K(" Высота: ", -1)),
|
|
33952
|
+
$("span", HC, Y(Math.round(t.item.height * 1e3)) + " мм.", 1)
|
|
33946
33953
|
])
|
|
33947
33954
|
], 64)) : j("", !0),
|
|
33948
33955
|
t.item.configurator === "strip" ? (_(!0), M(_e, { key: 2 }, Mt(t.item.configuratorParams.linesWidths, (d, h) => (_(), M("span", { key: h }, [
|
|
33949
|
-
|
|
33950
|
-
$("
|
|
33956
|
+
K(" Полоса №" + Y(Number(h) + 1) + ": ", 1),
|
|
33957
|
+
$("span", WC, Y(d) + " мм.", 1)
|
|
33951
33958
|
]))), 128)) : j("", !0),
|
|
33952
33959
|
t.item.configurator === "metal_for_doors" ? (_(), M(_e, { key: 3 }, [
|
|
33953
33960
|
$("span", null, [
|
|
33954
|
-
c[
|
|
33955
|
-
$("
|
|
33961
|
+
c[7] || (c[7] = K(" Ширина: ", -1)),
|
|
33962
|
+
$("span", VC, Y(t.item.width) + " мм.", 1)
|
|
33956
33963
|
]),
|
|
33957
33964
|
$("span", null, [
|
|
33958
|
-
c[
|
|
33959
|
-
$("
|
|
33965
|
+
c[8] || (c[8] = K(" Длина: ", -1)),
|
|
33966
|
+
$("span", jC, Y(Math.round(t.item.length * 1e3)) + " мм.", 1)
|
|
33960
33967
|
])
|
|
33961
33968
|
], 64)) : j("", !0)
|
|
33962
|
-
])) : t.
|
|
33963
|
-
t.
|
|
33964
|
-
|
|
33965
|
-
|
|
33966
|
-
|
|
33967
|
-
|
|
33968
|
-
|
|
33969
|
-
|
|
33970
|
-
|
|
33971
|
-
|
|
33972
|
-
|
|
33973
|
-
|
|
33974
|
-
|
|
33975
|
-
|
|
33976
|
-
|
|
33977
|
-
|
|
33978
|
-
|
|
33979
|
-
|
|
33980
|
-
|
|
33981
|
-
|
|
33982
|
-
|
|
33969
|
+
])) : t.item.configurator ? j("", !0) : (_(), M("div", qC, [
|
|
33970
|
+
t.allowEdit ? (_(), M(_e, { key: 0 }, [
|
|
33971
|
+
t.item.product.getIsMeasurable() && !t.item.configurator ? (_(), M("div", UC, [
|
|
33972
|
+
N(u, {
|
|
33973
|
+
value: s.value.length,
|
|
33974
|
+
parse: A(zt),
|
|
33975
|
+
"show-button": !1,
|
|
33976
|
+
disabled: !!t.item.configurator || n.value,
|
|
33977
|
+
loading: n.value,
|
|
33978
|
+
placeholder: "Длина",
|
|
33979
|
+
size: "small",
|
|
33980
|
+
class: "min-w-28 flex-1",
|
|
33981
|
+
onKeydown: c[0] || (c[0] = (d) => A(pr)(d, ".", !1)),
|
|
33982
|
+
onFocus: A(st),
|
|
33983
|
+
"onUpdate:value": r
|
|
33984
|
+
}, {
|
|
33985
|
+
suffix: O(() => [
|
|
33986
|
+
K(Y(t.item.product.unit.name), 1)
|
|
33987
|
+
]),
|
|
33988
|
+
_: 1
|
|
33989
|
+
}, 8, ["value", "parse", "disabled", "loading", "onFocus"]),
|
|
33990
|
+
N(u, {
|
|
33991
|
+
value: s.value.quantity,
|
|
33992
|
+
parse: A(zt),
|
|
33993
|
+
"show-button": !1,
|
|
33994
|
+
disabled: !!t.item.configurator || n.value,
|
|
33995
|
+
loading: n.value,
|
|
33996
|
+
placeholder: "Кол-во",
|
|
33997
|
+
size: "small",
|
|
33998
|
+
class: "min-w-28 flex-1",
|
|
33999
|
+
onKeydown: c[1] || (c[1] = (d) => A(pr)(d, ".", !1)),
|
|
34000
|
+
onFocus: A(st),
|
|
34001
|
+
"onUpdate:value": o
|
|
34002
|
+
}, {
|
|
34003
|
+
suffix: O(() => [...c[9] || (c[9] = [
|
|
34004
|
+
K(" шт. ", -1)
|
|
34005
|
+
])]),
|
|
34006
|
+
_: 1
|
|
34007
|
+
}, 8, ["value", "parse", "disabled", "loading", "onFocus"])
|
|
34008
|
+
])) : (_(), Q(u, {
|
|
34009
|
+
key: 1,
|
|
33983
34010
|
value: s.value.quantity,
|
|
33984
34011
|
parse: A(zt),
|
|
33985
34012
|
"show-button": !1,
|
|
33986
|
-
disabled: !!
|
|
33987
|
-
loading: n.value,
|
|
34013
|
+
disabled: !!n.value,
|
|
34014
|
+
loading: !!n.value,
|
|
33988
34015
|
placeholder: "Кол-во",
|
|
33989
34016
|
size: "small",
|
|
33990
|
-
class: "min-w-
|
|
33991
|
-
onKeydown: c[
|
|
34017
|
+
class: "min-w-16 grow",
|
|
34018
|
+
onKeydown: c[2] || (c[2] = (d) => A(pr)(d, ".", !1)),
|
|
33992
34019
|
onFocus: A(st),
|
|
33993
34020
|
"onUpdate:value": o
|
|
33994
34021
|
}, {
|
|
33995
|
-
suffix: O(() => [...c[
|
|
33996
|
-
|
|
34022
|
+
suffix: O(() => [...c[10] || (c[10] = [
|
|
34023
|
+
K(" шт. ", -1)
|
|
33997
34024
|
])]),
|
|
33998
34025
|
_: 1
|
|
33999
|
-
}, 8, ["value", "parse", "disabled", "loading", "onFocus"])
|
|
34000
|
-
])) : (_(),
|
|
34001
|
-
|
|
34002
|
-
|
|
34003
|
-
|
|
34004
|
-
|
|
34005
|
-
|
|
34006
|
-
loading: !!n.value,
|
|
34007
|
-
placeholder: "Кол-во",
|
|
34008
|
-
size: "small",
|
|
34009
|
-
class: "min-w-16 grow",
|
|
34010
|
-
onKeydown: c[2] || (c[2] = (d) => A(pr)(d, ".", !1)),
|
|
34011
|
-
onFocus: A(st),
|
|
34012
|
-
"onUpdate:value": o
|
|
34013
|
-
}, {
|
|
34014
|
-
suffix: O(() => [...c[9] || (c[9] = [
|
|
34015
|
-
Q(" шт. ", -1)
|
|
34016
|
-
])]),
|
|
34017
|
-
_: 1
|
|
34018
|
-
}, 8, ["value", "parse", "disabled", "loading", "onFocus"]))
|
|
34019
|
-
])) : (_(), M("div", NC, [
|
|
34020
|
-
$("span", HC, Y(t.item.product.getIsMeasurable() && !t.item.configurator ? `${t.item.length ?? t.item.width} ${t.item.product.unit.name} × ${t.item.quantity} шт.` : `${t.item.quantity} ${t.item.product.unit.name}`), 1)
|
|
34026
|
+
}, 8, ["value", "parse", "disabled", "loading", "onFocus"]))
|
|
34027
|
+
], 64)) : (_(), M("div", XC, [
|
|
34028
|
+
$("span", YC, [
|
|
34029
|
+
t.item.product.getIsMeasurable() ? (_(), M("span", GC, Y(t.item.length ?? t.item.width) + " " + Y(t.item.product.unit.name) + " × ", 1)) : j("", !0),
|
|
34030
|
+
K(" " + Y(t.item.quantity) + " шт. ", 1)
|
|
34031
|
+
])
|
|
34032
|
+
]))
|
|
34021
34033
|
]))
|
|
34022
34034
|
]),
|
|
34023
34035
|
t.item.configurator && t.allowEdit ? (_(), M("a", {
|
|
@@ -34029,26 +34041,26 @@ const xC = Object.assign(Object.assign({}, Kt.props), {
|
|
|
34029
34041
|
]);
|
|
34030
34042
|
};
|
|
34031
34043
|
}
|
|
34032
|
-
}),
|
|
34044
|
+
}), QC = {
|
|
34033
34045
|
viewBox: "0 0 24 24",
|
|
34034
34046
|
width: "1.2em",
|
|
34035
34047
|
height: "1.2em"
|
|
34036
34048
|
};
|
|
34037
|
-
function
|
|
34038
|
-
return _(), M("svg",
|
|
34049
|
+
function JC(t, e) {
|
|
34050
|
+
return _(), M("svg", QC, [...e[0] || (e[0] = [
|
|
34039
34051
|
$("path", {
|
|
34040
34052
|
fill: "currentColor",
|
|
34041
34053
|
d: "M13 4a1 1 0 0 1 1 1h4a1 1 0 0 1 .783.378l.074.108l3 5l.055.103l.04.107l.029.109l.016.11L22 11v6a1 1 0 0 1-1 1h-1.171a3.001 3.001 0 0 1-5.658 0H9.829a3.001 3.001 0 0 1-5.658 0H3a1 1 0 0 1-1-1V6a2 2 0 0 1 2-2zM7 16a1 1 0 1 0 0 2a1 1 0 0 0 0-2m10 0a1 1 0 1 0 0 2a1 1 0 0 0 0-2m.434-9H14v3h5.234z"
|
|
34042
34054
|
}, null, -1)
|
|
34043
34055
|
])]);
|
|
34044
34056
|
}
|
|
34045
|
-
const
|
|
34057
|
+
const eS = Oe({ name: "tabler-truck-filled", render: JC }), tS = {
|
|
34046
34058
|
viewBox: "0 0 24 24",
|
|
34047
34059
|
width: "1.2em",
|
|
34048
34060
|
height: "1.2em"
|
|
34049
34061
|
};
|
|
34050
|
-
function
|
|
34051
|
-
return _(), M("svg",
|
|
34062
|
+
function iS(t, e) {
|
|
34063
|
+
return _(), M("svg", tS, [...e[0] || (e[0] = [
|
|
34052
34064
|
$("g", {
|
|
34053
34065
|
fill: "none",
|
|
34054
34066
|
stroke: "currentColor",
|
|
@@ -34061,13 +34073,13 @@ function YC(t, e) {
|
|
|
34061
34073
|
], -1)
|
|
34062
34074
|
])]);
|
|
34063
34075
|
}
|
|
34064
|
-
const
|
|
34076
|
+
const nS = Oe({ name: "tabler-truck-delivery", render: iS }), sS = {
|
|
34065
34077
|
viewBox: "0 0 24 24",
|
|
34066
34078
|
width: "1.2em",
|
|
34067
34079
|
height: "1.2em"
|
|
34068
34080
|
};
|
|
34069
|
-
function
|
|
34070
|
-
return _(), M("svg",
|
|
34081
|
+
function rS(t, e) {
|
|
34082
|
+
return _(), M("svg", sS, [...e[0] || (e[0] = [
|
|
34071
34083
|
$("g", {
|
|
34072
34084
|
fill: "none",
|
|
34073
34085
|
stroke: "currentColor",
|
|
@@ -34080,14 +34092,14 @@ function ZC(t, e) {
|
|
|
34080
34092
|
], -1)
|
|
34081
34093
|
])]);
|
|
34082
34094
|
}
|
|
34083
|
-
const
|
|
34095
|
+
const oS = Oe({ name: "tabler-truck-loading", render: rS }), aS = { class: "flex flex-col gap-1" }, lS = {
|
|
34084
34096
|
key: 0,
|
|
34085
34097
|
class: "flex flex-row gap-1 text-sm text-sc-grey"
|
|
34086
|
-
},
|
|
34098
|
+
}, cS = {
|
|
34087
34099
|
key: 1,
|
|
34088
34100
|
class: "text-base"
|
|
34089
|
-
},
|
|
34090
|
-
...
|
|
34101
|
+
}, uS = { class: "text-sc-dark-grey mr-1.5" }, dS = { key: 0 }, hS = { key: 1 }, fS = {}, cc = /* @__PURE__ */ se({
|
|
34102
|
+
...fS,
|
|
34091
34103
|
__name: "order-delivery-label",
|
|
34092
34104
|
props: {
|
|
34093
34105
|
delivery: {},
|
|
@@ -34101,24 +34113,24 @@ const QC = Oe({ name: "tabler-truck-loading", render: ZC }), JC = { class: "flex
|
|
|
34101
34113
|
}), i = z(() => xs(n.delivery.date, "dd.MM.yyyy")), n = t;
|
|
34102
34114
|
return (s, r) => {
|
|
34103
34115
|
var c, u, d, h, g, f, m, p;
|
|
34104
|
-
const o =
|
|
34105
|
-
return _(), M("div",
|
|
34106
|
-
t.showType ? (_(), M("span",
|
|
34107
|
-
((c = e.value) == null ? void 0 : c.slug) === "self_delivery" ? (_(),
|
|
34108
|
-
((u = e.value) == null ? void 0 : u.slug) === "delivery" ? (_(),
|
|
34109
|
-
((d = e.value) == null ? void 0 : d.slug) === "transport_company_delivery" ? (_(),
|
|
34116
|
+
const o = oS, a = nS, l = eS;
|
|
34117
|
+
return _(), M("div", aS, [
|
|
34118
|
+
t.showType ? (_(), M("span", lS, [
|
|
34119
|
+
((c = e.value) == null ? void 0 : c.slug) === "self_delivery" ? (_(), Q(o, { key: 0 })) : j("", !0),
|
|
34120
|
+
((u = e.value) == null ? void 0 : u.slug) === "delivery" ? (_(), Q(a, { key: 1 })) : j("", !0),
|
|
34121
|
+
((d = e.value) == null ? void 0 : d.slug) === "transport_company_delivery" ? (_(), Q(l, { key: 2 })) : j("", !0),
|
|
34110
34122
|
$("span", null, Y((h = e.value) == null ? void 0 : h.name), 1)
|
|
34111
34123
|
])) : j("", !0),
|
|
34112
|
-
t.showDetails ? (_(), M("span",
|
|
34113
|
-
$("span",
|
|
34114
|
-
(f = (g = t.delivery) == null ? void 0 : g.address) != null && f.address ? (_(), M("span",
|
|
34115
|
-
(p = (m = t.delivery) == null ? void 0 : m.warehouse) != null && p.address ? (_(), M("span",
|
|
34124
|
+
t.showDetails ? (_(), M("span", cS, [
|
|
34125
|
+
$("span", uS, Y(i.value), 1),
|
|
34126
|
+
(f = (g = t.delivery) == null ? void 0 : g.address) != null && f.address ? (_(), M("span", dS, Y(t.delivery.address.address), 1)) : j("", !0),
|
|
34127
|
+
(p = (m = t.delivery) == null ? void 0 : m.warehouse) != null && p.address ? (_(), M("span", hS, " со склада " + Y(t.delivery.warehouse.address), 1)) : j("", !0)
|
|
34116
34128
|
])) : j("", !0)
|
|
34117
34129
|
]);
|
|
34118
34130
|
};
|
|
34119
34131
|
}
|
|
34120
|
-
}),
|
|
34121
|
-
...
|
|
34132
|
+
}), gS = { class: "flex flex-col gap-2.5" }, mS = { class: "text-base" }, pS = ["href"], vS = { class: "text-sc-grey" }, yS = {}, bS = /* @__PURE__ */ se({
|
|
34133
|
+
...yS,
|
|
34122
34134
|
__name: "order-common-info",
|
|
34123
34135
|
props: {
|
|
34124
34136
|
order: {},
|
|
@@ -34142,40 +34154,40 @@ const QC = Oe({ name: "tabler-truck-loading", render: ZC }), JC = { class: "flex
|
|
|
34142
34154
|
), s = z(() => e.fields.includes(Xe.CreatedAt)), r = z(
|
|
34143
34155
|
() => e.fields.includes(Xe.ClientInfo) || e.fields.includes(Xe.ClientInfoShort) ? e.order.client : void 0
|
|
34144
34156
|
), o = z(() => e.fields.includes(Xe.DeliveryInfo) ? e.order.delivery : void 0);
|
|
34145
|
-
return (a, l) => (_(), M("div",
|
|
34146
|
-
$("span",
|
|
34157
|
+
return (a, l) => (_(), M("div", gS, [
|
|
34158
|
+
$("span", mS, [
|
|
34147
34159
|
i.value ? (_(), M("a", {
|
|
34148
34160
|
key: 0,
|
|
34149
34161
|
href: t.orderUrl.replace(":id", t.order.id.toString()),
|
|
34150
34162
|
target: "_blank",
|
|
34151
34163
|
class: "text-sc-dark-grey"
|
|
34152
|
-
}, " #" + Y(i.value), 9,
|
|
34164
|
+
}, " #" + Y(i.value), 9, pS)) : j("", !0),
|
|
34153
34165
|
s.value ? (_(), M(_e, { key: 1 }, [
|
|
34154
|
-
l[0] || (l[0] =
|
|
34166
|
+
l[0] || (l[0] = K(" от ", -1)),
|
|
34155
34167
|
N(hl, {
|
|
34156
34168
|
date: t.order.createdAt,
|
|
34157
34169
|
"is-time-secondary": !0
|
|
34158
34170
|
}, null, 8, ["date"])
|
|
34159
34171
|
], 64)) : j("", !0),
|
|
34160
34172
|
n.value ? (_(), M(_e, { key: 2 }, [
|
|
34161
|
-
l[1] || (l[1] =
|
|
34162
|
-
$("span",
|
|
34173
|
+
l[1] || (l[1] = K(" - ", -1)),
|
|
34174
|
+
$("span", vS, Y(n.value), 1)
|
|
34163
34175
|
], 64)) : j("", !0)
|
|
34164
34176
|
]),
|
|
34165
|
-
r.value ? (_(),
|
|
34177
|
+
r.value ? (_(), Q(Po, {
|
|
34166
34178
|
key: 0,
|
|
34167
34179
|
client: r.value,
|
|
34168
34180
|
class: "ml-3"
|
|
34169
34181
|
}, null, 8, ["client"])) : j("", !0),
|
|
34170
|
-
o.value ? (_(),
|
|
34182
|
+
o.value ? (_(), Q(cc, {
|
|
34171
34183
|
key: 1,
|
|
34172
34184
|
delivery: o.value,
|
|
34173
34185
|
class: "ml-3"
|
|
34174
34186
|
}, null, 8, ["delivery"])) : j("", !0)
|
|
34175
34187
|
]));
|
|
34176
34188
|
}
|
|
34177
|
-
}),
|
|
34178
|
-
...
|
|
34189
|
+
}), _S = {}, Gf = /* @__PURE__ */ se({
|
|
34190
|
+
..._S,
|
|
34179
34191
|
__name: "order-payment",
|
|
34180
34192
|
props: {
|
|
34181
34193
|
payment: {}
|
|
@@ -34190,8 +34202,8 @@ const QC = Oe({ name: "tabler-truck-loading", render: ZC }), JC = { class: "flex
|
|
|
34190
34202
|
return _(), M("span", null, Y(((r = i.value) == null ? void 0 : r.name) ?? "-"), 1);
|
|
34191
34203
|
};
|
|
34192
34204
|
}
|
|
34193
|
-
}),
|
|
34194
|
-
...
|
|
34205
|
+
}), wS = { class: "inline-block py-[0.0625rem] px-1.5 text-xs font-bold text-center whitespace-nowrap rounded text-white bg-[#17a2b8]" }, xS = {}, Kf = /* @__PURE__ */ se({
|
|
34206
|
+
...xS,
|
|
34195
34207
|
__name: "creator-user-type-tag",
|
|
34196
34208
|
props: {
|
|
34197
34209
|
userType: {},
|
|
@@ -34207,10 +34219,10 @@ const QC = Oe({ name: "tabler-truck-loading", render: ZC }), JC = { class: "flex
|
|
|
34207
34219
|
};
|
|
34208
34220
|
return `${n} ${s[i]}`;
|
|
34209
34221
|
};
|
|
34210
|
-
return (i, n) => (_(), M("small",
|
|
34222
|
+
return (i, n) => (_(), M("small", wS, Y(e(t.userType, t.prefixText)), 1));
|
|
34211
34223
|
}
|
|
34212
|
-
}),
|
|
34213
|
-
...
|
|
34224
|
+
}), kS = { class: "flex flex-row gap-1.5" }, CS = { class: "flex-none text-nowrap" }, SS = { class: "flex flex-1 flex-col" }, $S = { class: "mt-2.5 grid grid-flow-col grid-rows-2 gap-1 text-base" }, TS = { key: 0 }, PS = { key: 1 }, RS = {}, FS = /* @__PURE__ */ se({
|
|
34225
|
+
...RS,
|
|
34214
34226
|
__name: "order-product-info",
|
|
34215
34227
|
props: {
|
|
34216
34228
|
product: {},
|
|
@@ -34219,21 +34231,21 @@ const QC = Oe({ name: "tabler-truck-loading", render: ZC }), JC = { class: "flex
|
|
|
34219
34231
|
setup(t) {
|
|
34220
34232
|
return (e, i) => {
|
|
34221
34233
|
const n = Kf;
|
|
34222
|
-
return _(), M("div",
|
|
34223
|
-
$("span",
|
|
34224
|
-
$("div",
|
|
34234
|
+
return _(), M("div", kS, [
|
|
34235
|
+
$("span", CS, Y(t.index + 1) + ".", 1),
|
|
34236
|
+
$("div", SS, [
|
|
34225
34237
|
N(_o, {
|
|
34226
34238
|
product: t.product.product,
|
|
34227
34239
|
"show-planning-dates": !1
|
|
34228
34240
|
}, null, 8, ["product"]),
|
|
34229
|
-
t.product.creator && t.product.creator.type ? (_(),
|
|
34241
|
+
t.product.creator && t.product.creator.type ? (_(), Q(n, {
|
|
34230
34242
|
key: 0,
|
|
34231
34243
|
"user-type": t.product.creator.type,
|
|
34232
34244
|
class: "mt-1 self-start"
|
|
34233
34245
|
}, null, 8, ["user-type"])) : j("", !0),
|
|
34234
|
-
$("div",
|
|
34246
|
+
$("div", $S, [
|
|
34235
34247
|
i[0] || (i[0] = $("span", null, "Кол-во", -1)),
|
|
34236
|
-
t.product.product.getIsMeasurable() ? (_(), M("span",
|
|
34248
|
+
t.product.product.getIsMeasurable() ? (_(), M("span", TS, Y(`${t.product.length} ${t.product.product.unit.name} x ${t.product.quantity} шт.`), 1)) : (_(), M("span", PS, Y(`${t.product.quantity} ${t.product.product.unit.name}`), 1)),
|
|
34237
34249
|
i[1] || (i[1] = $("span", null, "Цена за ед.", -1)),
|
|
34238
34250
|
N(Un, {
|
|
34239
34251
|
product: t.product,
|
|
@@ -34249,13 +34261,13 @@ const QC = Oe({ name: "tabler-truck-loading", render: ZC }), JC = { class: "flex
|
|
|
34249
34261
|
]);
|
|
34250
34262
|
};
|
|
34251
34263
|
}
|
|
34252
|
-
}),
|
|
34264
|
+
}), BS = {
|
|
34253
34265
|
viewBox: "0 0 512 512",
|
|
34254
34266
|
width: "1.2em",
|
|
34255
34267
|
height: "1.2em"
|
|
34256
34268
|
};
|
|
34257
|
-
function
|
|
34258
|
-
return _(), M("svg",
|
|
34269
|
+
function AS(t, e) {
|
|
34270
|
+
return _(), M("svg", BS, [...e[0] || (e[0] = [
|
|
34259
34271
|
$("path", {
|
|
34260
34272
|
fill: "none",
|
|
34261
34273
|
stroke: "currentColor",
|
|
@@ -34282,8 +34294,8 @@ function CS(t, e) {
|
|
|
34282
34294
|
}, null, -1)
|
|
34283
34295
|
])]);
|
|
34284
34296
|
}
|
|
34285
|
-
const
|
|
34286
|
-
|
|
34297
|
+
const MS = Oe({ name: "ion-trash-outline", render: AS }), ES = {}, IS = /* @__PURE__ */ se({
|
|
34298
|
+
...ES,
|
|
34287
34299
|
__name: "order-item-specification",
|
|
34288
34300
|
props: {
|
|
34289
34301
|
src: {}
|
|
@@ -34307,8 +34319,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34307
34319
|
])
|
|
34308
34320
|
], 64));
|
|
34309
34321
|
}
|
|
34310
|
-
}),
|
|
34311
|
-
...
|
|
34322
|
+
}), OS = {}, zS = /* @__PURE__ */ se({
|
|
34323
|
+
...OS,
|
|
34312
34324
|
__name: "order-items-list",
|
|
34313
34325
|
props: {
|
|
34314
34326
|
products: {},
|
|
@@ -34353,7 +34365,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34353
34365
|
W(_o, { product: a.product, showCode: !1, showPlanningDates: !1, showAdditionalSaleIcon: a.isAdditionalSale ?? !1 }),
|
|
34354
34366
|
...a.marker ? [W("span", {}, ["Маркировка: ", W("span", { class: "text-gray-600" }, a.marker)])] : [],
|
|
34355
34367
|
..."creator" in a && a.creator && a.creator.type ? [W(Kf, { class: "mt-1", userType: a.creator.type, prefixText: "Добавлено" })] : [],
|
|
34356
|
-
...a.specificationImgUrl ? [W(
|
|
34368
|
+
...a.specificationImgUrl ? [W(IS, { src: a.specificationImgUrl })] : []
|
|
34357
34369
|
])
|
|
34358
34370
|
},
|
|
34359
34371
|
{
|
|
@@ -34362,7 +34374,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34362
34374
|
resizable: !0,
|
|
34363
34375
|
minWidth: 100,
|
|
34364
34376
|
rowSpan: i,
|
|
34365
|
-
render: (a) => W(
|
|
34377
|
+
render: (a) => W(ZC, {
|
|
34366
34378
|
item: a,
|
|
34367
34379
|
eventEmitter: e.eventEmitter,
|
|
34368
34380
|
allowEdit: e.allowEdit
|
|
@@ -34397,7 +34409,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34397
34409
|
(l = e.eventEmitter) == null || l.emit("order-item:delete", { item: a });
|
|
34398
34410
|
}
|
|
34399
34411
|
},
|
|
34400
|
-
() => W(
|
|
34412
|
+
() => W(MS)
|
|
34401
34413
|
)
|
|
34402
34414
|
}
|
|
34403
34415
|
] : []
|
|
@@ -34410,7 +34422,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34410
34422
|
title: "",
|
|
34411
34423
|
key: "items",
|
|
34412
34424
|
resizable: !0,
|
|
34413
|
-
render: (a, l) => W(
|
|
34425
|
+
render: (a, l) => W(FS, { product: a, index: l })
|
|
34414
34426
|
}
|
|
34415
34427
|
];
|
|
34416
34428
|
case bt.laptop:
|
|
@@ -34440,20 +34452,20 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34440
34452
|
], 64);
|
|
34441
34453
|
};
|
|
34442
34454
|
}
|
|
34443
|
-
}),
|
|
34455
|
+
}), LS = /* @__PURE__ */ Qn(zS, [["__scopeId", "data-v-5a933cba"]]), DS = { class: "ml-4 text-base" }, NS = {
|
|
34444
34456
|
key: 0,
|
|
34445
34457
|
class: "text-sc-dark-grey my-2 text-center"
|
|
34446
|
-
},
|
|
34458
|
+
}, HS = {
|
|
34447
34459
|
key: 1,
|
|
34448
34460
|
class: "text-sc-dark-grey my-2"
|
|
34449
|
-
},
|
|
34461
|
+
}, WS = {
|
|
34450
34462
|
key: 2,
|
|
34451
34463
|
class: "grid grid-cols-3 gap-1.5"
|
|
34452
|
-
},
|
|
34464
|
+
}, VS = { class: "text-sc-dark-grey" }, jS = { class: "col-span-2" }, qS = { class: "font-medium" }, US = {
|
|
34453
34465
|
key: 0,
|
|
34454
34466
|
class: "text-sc-dark-grey"
|
|
34455
|
-
},
|
|
34456
|
-
...
|
|
34467
|
+
}, XS = { class: "text-sc-dark-grey text-sm" }, YS = {}, GS = /* @__PURE__ */ se({
|
|
34468
|
+
...YS,
|
|
34457
34469
|
__name: "order-status-history",
|
|
34458
34470
|
props: {
|
|
34459
34471
|
order: {}
|
|
@@ -34477,20 +34489,20 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34477
34489
|
const l = Ps;
|
|
34478
34490
|
return _(), M("div", null, [
|
|
34479
34491
|
a[1] || (a[1] = $("h3", null, "История статусов", -1)),
|
|
34480
|
-
$("div",
|
|
34481
|
-
i.value ? (_(), M("div",
|
|
34492
|
+
$("div", DS, [
|
|
34493
|
+
i.value ? (_(), M("div", NS, [
|
|
34482
34494
|
N(l, {
|
|
34483
34495
|
size: "small",
|
|
34484
34496
|
class: "mb-1 align-middle"
|
|
34485
34497
|
}),
|
|
34486
34498
|
a[0] || (a[0] = $("span", { class: "ml-2" }, "Загрузка истории ...", -1))
|
|
34487
|
-
])) : n.value.length === 0 ? (_(), M("div",
|
|
34499
|
+
])) : n.value.length === 0 ? (_(), M("div", HS, " История статусов отсутствует. ")) : (_(), M("div", WS, [
|
|
34488
34500
|
(_(!0), M(_e, null, Mt(n.value, (c, u) => (_(), M(_e, { key: u }, [
|
|
34489
|
-
$("span",
|
|
34490
|
-
$("div",
|
|
34491
|
-
$("span",
|
|
34492
|
-
c.statusDetail ? (_(), M("span",
|
|
34493
|
-
$("div",
|
|
34501
|
+
$("span", VS, Y(s(c.createdAt)), 1),
|
|
34502
|
+
$("div", jS, [
|
|
34503
|
+
$("span", qS, Y(c.status.name), 1),
|
|
34504
|
+
c.statusDetail ? (_(), M("span", US, " (" + Y(c.statusDetail.name) + ") ", 1)) : j("", !0),
|
|
34505
|
+
$("div", XS, Y(c.user.name), 1)
|
|
34494
34506
|
])
|
|
34495
34507
|
], 64))), 128))
|
|
34496
34508
|
]))
|
|
@@ -34498,8 +34510,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34498
34510
|
]);
|
|
34499
34511
|
};
|
|
34500
34512
|
}
|
|
34501
|
-
}),
|
|
34502
|
-
...
|
|
34513
|
+
}), KS = { class: "text-base" }, ZS = {}, Cd = /* @__PURE__ */ se({
|
|
34514
|
+
...ZS,
|
|
34503
34515
|
__name: "user-short-info",
|
|
34504
34516
|
props: {
|
|
34505
34517
|
user: {},
|
|
@@ -34510,18 +34522,18 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34510
34522
|
return (e, i) => (_(), M("div", {
|
|
34511
34523
|
class: je({ "flex flex-col": t.showUserType && t.extraInfoOnSecondLine })
|
|
34512
34524
|
}, [
|
|
34513
|
-
$("span",
|
|
34525
|
+
$("span", KS, Y(t.user.name), 1),
|
|
34514
34526
|
t.showUserType ? (_(), M("span", {
|
|
34515
34527
|
key: 0,
|
|
34516
34528
|
class: je([{ "ml-1": !t.extraInfoOnSecondLine }, "text-sc-grey"])
|
|
34517
34529
|
}, " [" + Y(t.user.type) + "] ", 3)) : j("", !0)
|
|
34518
34530
|
], 2));
|
|
34519
34531
|
}
|
|
34520
|
-
}),
|
|
34532
|
+
}), QS = { class: "ml-4 grid grid-cols-3 gap-1.5 text-base" }, JS = { class: "col-span-2" }, e5 = ["href"], t5 = { class: "col-span-2" }, i5 = ["href"], n5 = {
|
|
34521
34533
|
class: "btn btn-primary",
|
|
34522
34534
|
href: "{{ invoice }}"
|
|
34523
|
-
},
|
|
34524
|
-
...
|
|
34535
|
+
}, s5 = {}, r5 = /* @__PURE__ */ se({
|
|
34536
|
+
...s5,
|
|
34525
34537
|
__name: "order-details",
|
|
34526
34538
|
props: {
|
|
34527
34539
|
order: {}
|
|
@@ -34533,7 +34545,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34533
34545
|
var r;
|
|
34534
34546
|
return _(), M("div", null, [
|
|
34535
34547
|
s[14] || (s[14] = $("h3", null, "Детали заказа", -1)),
|
|
34536
|
-
$("div",
|
|
34548
|
+
$("div", QS, [
|
|
34537
34549
|
t.order.creator.id !== t.order.client.id ? (_(), M(_e, { key: 0 }, [
|
|
34538
34550
|
s[1] || (s[1] = $("span", null, "Создал", -1)),
|
|
34539
34551
|
N(Cd, {
|
|
@@ -34563,7 +34575,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34563
34575
|
], 64)) : j("", !0),
|
|
34564
34576
|
t.order.barcode ? (_(), M(_e, { key: 3 }, [
|
|
34565
34577
|
s[5] || (s[5] = $("span", null, "Штрих-код", -1)),
|
|
34566
|
-
$("span",
|
|
34578
|
+
$("span", JS, Y(t.order.barcode), 1)
|
|
34567
34579
|
], 64)) : j("", !0),
|
|
34568
34580
|
t.order.payment ? (_(), M(_e, { key: 4 }, [
|
|
34569
34581
|
s[6] || (s[6] = $("span", null, "Оплата", -1)),
|
|
@@ -34578,7 +34590,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34578
34590
|
href: t.order.payment.onlinePaymentLink,
|
|
34579
34591
|
target: "_blank",
|
|
34580
34592
|
class: "col-span-2"
|
|
34581
|
-
}, " Оплатить заказ ", 8,
|
|
34593
|
+
}, " Оплатить заказ ", 8, e5)
|
|
34582
34594
|
], 64)) : j("", !0),
|
|
34583
34595
|
t.order.delivery ? (_(), M(_e, { key: 6 }, [
|
|
34584
34596
|
s[8] || (s[8] = $("span", null, "Доставка", -1)),
|
|
@@ -34589,7 +34601,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34589
34601
|
], 64)) : j("", !0),
|
|
34590
34602
|
t.order.comment ? (_(), M(_e, { key: 7 }, [
|
|
34591
34603
|
s[9] || (s[9] = $("span", null, "Комментарий", -1)),
|
|
34592
|
-
$("span",
|
|
34604
|
+
$("span", t5, Y(t.order.comment), 1)
|
|
34593
34605
|
], 64)) : j("", !0),
|
|
34594
34606
|
t.order.attachedUser ? (_(), M(_e, { key: 8 }, [
|
|
34595
34607
|
s[10] || (s[10] = $("span", null, "Закреплен за", -1)),
|
|
@@ -34604,7 +34616,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34604
34616
|
href: t.order.erpOrderUrl,
|
|
34605
34617
|
target: "_blank",
|
|
34606
34618
|
class: "col-span-2"
|
|
34607
|
-
}, " Открыть заявку в ERP ", 8,
|
|
34619
|
+
}, " Открыть заявку в ERP ", 8, i5)
|
|
34608
34620
|
], 64)) : j("", !0),
|
|
34609
34621
|
t.order.invoices && t.order.invoices.length > 0 ? (_(), M(_e, { key: 10 }, [
|
|
34610
34622
|
s[12] || (s[12] = $("span", null, "Прикрепленные счета", -1)),
|
|
@@ -34612,18 +34624,18 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34612
34624
|
key: a,
|
|
34613
34625
|
class: "col-span-2"
|
|
34614
34626
|
}, [
|
|
34615
|
-
$("a",
|
|
34627
|
+
$("a", n5, " Скачать счет №" + Y(a + 1), 1)
|
|
34616
34628
|
]))), 128))
|
|
34617
34629
|
], 64)) : j("", !0)
|
|
34618
34630
|
])
|
|
34619
34631
|
]);
|
|
34620
34632
|
};
|
|
34621
34633
|
}
|
|
34622
|
-
}),
|
|
34634
|
+
}), o5 = { key: 0 }, a5 = { class: "text-sc-dark-grey my-2 text-center" }, l5 = {
|
|
34623
34635
|
key: 1,
|
|
34624
34636
|
class: "text-sc-dark-grey my-2 text-center"
|
|
34625
|
-
},
|
|
34626
|
-
...
|
|
34637
|
+
}, c5 = { key: 2 }, u5 = { class: "text-sc-dark-grey mt-4 text-right font-bold" }, d5 = { class: "text-sc-primary" }, h5 = {}, f5 = /* @__PURE__ */ se({
|
|
34638
|
+
...h5,
|
|
34627
34639
|
__name: "order-info",
|
|
34628
34640
|
props: {
|
|
34629
34641
|
order: {},
|
|
@@ -34655,8 +34667,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34655
34667
|
o();
|
|
34656
34668
|
}), (l, c) => {
|
|
34657
34669
|
const u = Ps;
|
|
34658
|
-
return s.value ? (_(), M("div",
|
|
34659
|
-
$("div",
|
|
34670
|
+
return s.value ? (_(), M("div", o5, [
|
|
34671
|
+
$("div", a5, [
|
|
34660
34672
|
N(u, {
|
|
34661
34673
|
size: "small",
|
|
34662
34674
|
class: "mb-2.5 align-middle"
|
|
@@ -34665,26 +34677,26 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34665
34677
|
$("span", null, "Загрузка данных ...")
|
|
34666
34678
|
], -1))
|
|
34667
34679
|
])
|
|
34668
|
-
])) : !r.value || r.value.products.length === 0 ? (_(), M("div",
|
|
34669
|
-
N(
|
|
34680
|
+
])) : !r.value || r.value.products.length === 0 ? (_(), M("div", l5, " --- Не удалось загрузить данные о заказе --- ")) : (_(), M("div", c5, [
|
|
34681
|
+
N(LS, {
|
|
34670
34682
|
products: r.value.products,
|
|
34671
34683
|
"event-emitter": t.eventEmitter,
|
|
34672
34684
|
"allow-edit": t.allowEdit
|
|
34673
34685
|
}, null, 8, ["products", "event-emitter", "allow-edit"]),
|
|
34674
|
-
$("div",
|
|
34675
|
-
c[2] || (c[2] =
|
|
34676
|
-
$("span",
|
|
34686
|
+
$("div", u5, [
|
|
34687
|
+
c[2] || (c[2] = K(" ИТОГО: ", -1)),
|
|
34688
|
+
$("span", d5, Y(a.value) + " ₽", 1)
|
|
34677
34689
|
]),
|
|
34678
|
-
N(
|
|
34690
|
+
N(r5, {
|
|
34679
34691
|
order: r.value,
|
|
34680
34692
|
"onClick:clientName": c[0] || (c[0] = (d) => n("click:client-name", r.value.client, d))
|
|
34681
34693
|
}, null, 8, ["order"]),
|
|
34682
|
-
N(
|
|
34694
|
+
N(GS, { order: r.value }, null, 8, ["order"])
|
|
34683
34695
|
]));
|
|
34684
34696
|
};
|
|
34685
34697
|
}
|
|
34686
|
-
}),
|
|
34687
|
-
...
|
|
34698
|
+
}), g5 = {}, m5 = /* @__PURE__ */ se({
|
|
34699
|
+
...g5,
|
|
34688
34700
|
__name: "order-actions",
|
|
34689
34701
|
props: {
|
|
34690
34702
|
orderContextButtonsConfig: { type: Function, default: void 0 },
|
|
@@ -34701,7 +34713,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34701
34713
|
return (r, o) => {
|
|
34702
34714
|
var u;
|
|
34703
34715
|
const a = El, l = ze, c = Lo;
|
|
34704
|
-
return ((u = n.value) == null ? void 0 : u.length) > 0 ? (_(),
|
|
34716
|
+
return ((u = n.value) == null ? void 0 : u.length) > 0 ? (_(), Q(c, {
|
|
34705
34717
|
key: 0,
|
|
34706
34718
|
options: n.value,
|
|
34707
34719
|
size: A(i),
|
|
@@ -34724,8 +34736,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34724
34736
|
}, 8, ["options", "size"])) : j("", !0);
|
|
34725
34737
|
};
|
|
34726
34738
|
}
|
|
34727
|
-
}),
|
|
34728
|
-
...
|
|
34739
|
+
}), p5 = {}, v5 = /* @__PURE__ */ se({
|
|
34740
|
+
...p5,
|
|
34729
34741
|
__name: "orders-list",
|
|
34730
34742
|
props: {
|
|
34731
34743
|
fields: {},
|
|
@@ -34777,7 +34789,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34777
34789
|
}, H = {
|
|
34778
34790
|
type: "expand",
|
|
34779
34791
|
expandable: Oo(!0),
|
|
34780
|
-
renderExpand: (I) => W(
|
|
34792
|
+
renderExpand: (I) => W(f5, {
|
|
34781
34793
|
order: I,
|
|
34782
34794
|
class: "pl-10 pt-3 pb-10",
|
|
34783
34795
|
"onClick:client-name": () => {
|
|
@@ -34907,7 +34919,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34907
34919
|
title: "",
|
|
34908
34920
|
className: "align-top",
|
|
34909
34921
|
width: 50,
|
|
34910
|
-
render: (I) => W(
|
|
34922
|
+
render: (I) => W(m5, {
|
|
34911
34923
|
order: I,
|
|
34912
34924
|
orderContextButtonsConfig: i.orderContextButtonsConfig,
|
|
34913
34925
|
onOrderContextSelect: i.onOrderContextSelect
|
|
@@ -34927,7 +34939,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
34927
34939
|
title: "Заказ",
|
|
34928
34940
|
resizable: !0,
|
|
34929
34941
|
// eslint-disable-next-line vue/max-len
|
|
34930
|
-
render: (I) => W(
|
|
34942
|
+
render: (I) => W(bS, { order: I, fields: P, orderUrl: i.orderUrl })
|
|
34931
34943
|
}
|
|
34932
34944
|
];
|
|
34933
34945
|
case bt.laptop: {
|
|
@@ -35027,7 +35039,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35027
35039
|
window.removeEventListener("resize", S), (b = f.value) == null || b.abort(), (P = m.value) == null || P.abort(), v();
|
|
35028
35040
|
}), (b, P) => {
|
|
35029
35041
|
const R = Fl;
|
|
35030
|
-
return _(),
|
|
35042
|
+
return _(), Q(R, {
|
|
35031
35043
|
columns: d.value,
|
|
35032
35044
|
data: o.value,
|
|
35033
35045
|
"row-key": (H) => H.id,
|
|
@@ -35047,8 +35059,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35047
35059
|
}, null, 8, ["columns", "data", "row-key", "scroll-x", "pagination", "loading", "max-height"]);
|
|
35048
35060
|
};
|
|
35049
35061
|
}
|
|
35050
|
-
}),
|
|
35051
|
-
...
|
|
35062
|
+
}), n4 = /* @__PURE__ */ Qn(v5, [["__scopeId", "data-v-2a162c0c"]]), y5 = ["href"], b5 = { class: "text-sc-dark-grey" }, _5 = {}, s4 = /* @__PURE__ */ se({
|
|
35063
|
+
..._5,
|
|
35052
35064
|
__name: "short-text-order-info",
|
|
35053
35065
|
props: {
|
|
35054
35066
|
order: {},
|
|
@@ -35061,25 +35073,25 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35061
35073
|
};
|
|
35062
35074
|
return (o, a) => (_(), M(_e, null, [
|
|
35063
35075
|
$("span", null, [
|
|
35064
|
-
a[1] || (a[1] =
|
|
35076
|
+
a[1] || (a[1] = K(" #", -1)),
|
|
35065
35077
|
$("a", {
|
|
35066
35078
|
href: t.orderLink ?? "#",
|
|
35067
35079
|
onClick: a[0] || (a[0] = (l) => r(l))
|
|
35068
|
-
}, Y(t.order.id), 9,
|
|
35069
|
-
|
|
35080
|
+
}, Y(t.order.id), 9, y5),
|
|
35081
|
+
K(" от " + Y(s.value), 1)
|
|
35070
35082
|
]),
|
|
35071
|
-
a[2] || (a[2] =
|
|
35072
|
-
$("span",
|
|
35083
|
+
a[2] || (a[2] = K(", ", -1)),
|
|
35084
|
+
$("span", b5, "автор: " + Y(t.order.creator.name) + " [" + Y(t.order.creator.type) + "]", 1)
|
|
35073
35085
|
], 64));
|
|
35074
35086
|
}
|
|
35075
|
-
}),
|
|
35087
|
+
}), w5 = { class: "sc-page flex flex-col bg-inherit" }, x5 = { class: "my-2 flex flex-row items-end" }, k5 = { class: "sc-title grow" }, C5 = {
|
|
35076
35088
|
key: 0,
|
|
35077
35089
|
class: "sc-title-buttons flex-1 grow-0"
|
|
35078
|
-
},
|
|
35090
|
+
}, S5 = { class: "flex flex-col justify-end gap-1 sm:mt-0 sm:flex-row" }, $5 = {
|
|
35079
35091
|
key: 0,
|
|
35080
35092
|
class: "sc-title-extra mt-2 sm:mt-4"
|
|
35081
|
-
},
|
|
35082
|
-
...
|
|
35093
|
+
}, T5 = {}, P5 = /* @__PURE__ */ se({
|
|
35094
|
+
...T5,
|
|
35083
35095
|
__name: "page",
|
|
35084
35096
|
props: {
|
|
35085
35097
|
title: {},
|
|
@@ -35089,29 +35101,29 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35089
35101
|
setup(t) {
|
|
35090
35102
|
return (e, i) => {
|
|
35091
35103
|
const n = Sg;
|
|
35092
|
-
return _(), M("div",
|
|
35104
|
+
return _(), M("div", w5, [
|
|
35093
35105
|
$("div", {
|
|
35094
35106
|
class: je(t.stickyHeader ? "sticky z-10 bg-inherit" : void 0),
|
|
35095
35107
|
style: tr(t.stickyHeader ? { top: `${t.stickyTopOffset ?? 0}px` } : void 0)
|
|
35096
35108
|
}, [
|
|
35097
|
-
$("div",
|
|
35098
|
-
$("div",
|
|
35109
|
+
$("div", x5, [
|
|
35110
|
+
$("div", k5, [
|
|
35099
35111
|
Te(e.$slots, "title", {}, () => [
|
|
35100
35112
|
N(n, { class: "m-0 leading-none lg:mb-3 lg:leading-normal" }, {
|
|
35101
35113
|
default: O(() => [
|
|
35102
|
-
|
|
35114
|
+
K(Y(t.title ?? ""), 1)
|
|
35103
35115
|
]),
|
|
35104
35116
|
_: 1
|
|
35105
35117
|
})
|
|
35106
35118
|
])
|
|
35107
35119
|
]),
|
|
35108
|
-
e.$slots["title-buttons"] ? (_(), M("div",
|
|
35109
|
-
$("div",
|
|
35120
|
+
e.$slots["title-buttons"] ? (_(), M("div", C5, [
|
|
35121
|
+
$("div", S5, [
|
|
35110
35122
|
Te(e.$slots, "title-buttons")
|
|
35111
35123
|
])
|
|
35112
35124
|
])) : j("", !0)
|
|
35113
35125
|
]),
|
|
35114
|
-
e.$slots["title-extra"] ? (_(), M("div",
|
|
35126
|
+
e.$slots["title-extra"] ? (_(), M("div", $5, [
|
|
35115
35127
|
Te(e.$slots, "title-extra")
|
|
35116
35128
|
])) : j("", !0),
|
|
35117
35129
|
Te(e.$slots, "sticky-extra")
|
|
@@ -35120,8 +35132,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35120
35132
|
]);
|
|
35121
35133
|
};
|
|
35122
35134
|
}
|
|
35123
|
-
}),
|
|
35124
|
-
...
|
|
35135
|
+
}), R5 = { class: "overflow-hidden transition-all duration-300" }, F5 = { class: "text-lg font-medium leading-none" }, B5 = {}, A5 = /* @__PURE__ */ se({
|
|
35136
|
+
...B5,
|
|
35125
35137
|
__name: "sliding-content-with-drawer",
|
|
35126
35138
|
props: {
|
|
35127
35139
|
drawerWidth: { type: [Number, Function], default: void 0 },
|
|
@@ -35162,7 +35174,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35162
35174
|
}), a(), window.addEventListener("resize", a), (l, c) => {
|
|
35163
35175
|
const u = Od, d = Id;
|
|
35164
35176
|
return _(), M(_e, null, [
|
|
35165
|
-
$("div",
|
|
35177
|
+
$("div", R5, [
|
|
35166
35178
|
$("div", {
|
|
35167
35179
|
style: tr(`margin-left: ${s.value}px;`),
|
|
35168
35180
|
class: "w-full"
|
|
@@ -35181,7 +35193,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35181
35193
|
N(u, { closable: "" }, {
|
|
35182
35194
|
header: O(() => [
|
|
35183
35195
|
Te(l.$slots, "drawer-header", {}, () => [
|
|
35184
|
-
$("div",
|
|
35196
|
+
$("div", F5, Y(t.title), 1)
|
|
35185
35197
|
])
|
|
35186
35198
|
]),
|
|
35187
35199
|
default: O(() => [
|
|
@@ -35198,14 +35210,14 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35198
35210
|
], 64);
|
|
35199
35211
|
};
|
|
35200
35212
|
}
|
|
35201
|
-
}),
|
|
35213
|
+
}), M5 = {
|
|
35202
35214
|
ref: "panel-component-ref",
|
|
35203
35215
|
class: "sc-page-panel flex flex-row gap-2.5 bg-inherit sm:gap-8"
|
|
35204
|
-
},
|
|
35216
|
+
}, E5 = { key: 0 }, I5 = { class: "sc-page-preview-panel grow" }, O5 = {
|
|
35205
35217
|
key: 1,
|
|
35206
35218
|
class: "sc-page-preview-panel-extra flex-none"
|
|
35207
|
-
},
|
|
35208
|
-
...
|
|
35219
|
+
}, z5 = {}, r4 = /* @__PURE__ */ se({
|
|
35220
|
+
...z5,
|
|
35209
35221
|
__name: "page-with-sliding-panel",
|
|
35210
35222
|
props: {
|
|
35211
35223
|
title: {},
|
|
@@ -35248,13 +35260,13 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35248
35260
|
closePanel: s
|
|
35249
35261
|
}), (a, l) => {
|
|
35250
35262
|
const c = ze;
|
|
35251
|
-
return _(),
|
|
35263
|
+
return _(), Q(P5, {
|
|
35252
35264
|
title: t.title,
|
|
35253
35265
|
"sticky-header": t.stickyHeader,
|
|
35254
35266
|
"sticky-top-offset": t.stickyTopOffset
|
|
35255
35267
|
}, qn({
|
|
35256
35268
|
default: O(() => [
|
|
35257
|
-
N(
|
|
35269
|
+
N(A5, {
|
|
35258
35270
|
"show-drawer": i.value,
|
|
35259
35271
|
"onUpdate:showDrawer": l[1] || (l[1] = (u) => i.value = u),
|
|
35260
35272
|
title: t.panelTitle
|
|
@@ -35309,8 +35321,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35309
35321
|
a.$slots["preview-panel"] || a.$slots["preview-panel-extra"] || t.isShowPanelButtonVisible ? {
|
|
35310
35322
|
name: "sticky-extra",
|
|
35311
35323
|
fn: O(() => [
|
|
35312
|
-
$("div",
|
|
35313
|
-
t.isShowPanelButtonVisible ? (_(), M("div",
|
|
35324
|
+
$("div", M5, [
|
|
35325
|
+
t.isShowPanelButtonVisible ? (_(), M("div", E5, [
|
|
35314
35326
|
Te(a.$slots, "show-panel-button", {
|
|
35315
35327
|
onClickHandler: () => {
|
|
35316
35328
|
i.value = !0;
|
|
@@ -35321,16 +35333,16 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35321
35333
|
onClick: l[0] || (l[0] = (u) => i.value = !0)
|
|
35322
35334
|
}, {
|
|
35323
35335
|
default: O(() => [
|
|
35324
|
-
|
|
35336
|
+
K(Y(t.showPanelButtonText), 1)
|
|
35325
35337
|
]),
|
|
35326
35338
|
_: 1
|
|
35327
35339
|
})
|
|
35328
35340
|
])
|
|
35329
35341
|
])) : j("", !0),
|
|
35330
|
-
$("div",
|
|
35342
|
+
$("div", I5, [
|
|
35331
35343
|
Te(a.$slots, "preview-panel")
|
|
35332
35344
|
]),
|
|
35333
|
-
a.$slots["preview-panel-extra"] ? (_(), M("div",
|
|
35345
|
+
a.$slots["preview-panel-extra"] ? (_(), M("div", O5, [
|
|
35334
35346
|
Te(a.$slots, "preview-panel-extra")
|
|
35335
35347
|
])) : j("", !0)
|
|
35336
35348
|
], 512)
|
|
@@ -35340,8 +35352,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35340
35352
|
]), 1032, ["title", "sticky-header", "sticky-top-offset"]);
|
|
35341
35353
|
};
|
|
35342
35354
|
}
|
|
35343
|
-
}),
|
|
35344
|
-
...
|
|
35355
|
+
}), L5 = {}, o4 = /* @__PURE__ */ se({
|
|
35356
|
+
...L5,
|
|
35345
35357
|
__name: "curator-select",
|
|
35346
35358
|
props: {
|
|
35347
35359
|
value: { default: null },
|
|
@@ -35422,7 +35434,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35422
35434
|
var f;
|
|
35423
35435
|
return (f = u.value) == null ? void 0 : f.blurInput();
|
|
35424
35436
|
}
|
|
35425
|
-
}), (f, m) => (_(),
|
|
35437
|
+
}), (f, m) => (_(), Q(A(an), {
|
|
35426
35438
|
ref: "select-component",
|
|
35427
35439
|
value: o.value,
|
|
35428
35440
|
clearable: t.clearable,
|
|
@@ -35434,8 +35446,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35434
35446
|
"onUpdate:value": d
|
|
35435
35447
|
}, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
|
|
35436
35448
|
}
|
|
35437
|
-
}),
|
|
35438
|
-
...
|
|
35449
|
+
}), D5 = {}, a4 = /* @__PURE__ */ se({
|
|
35450
|
+
...D5,
|
|
35439
35451
|
__name: "manager-select",
|
|
35440
35452
|
props: {
|
|
35441
35453
|
value: { default: null },
|
|
@@ -35527,7 +35539,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35527
35539
|
var f;
|
|
35528
35540
|
return (f = u.value) == null ? void 0 : f.blurInput();
|
|
35529
35541
|
}
|
|
35530
|
-
}), (f, m) => (_(),
|
|
35542
|
+
}), (f, m) => (_(), Q(A(an), {
|
|
35531
35543
|
ref: "select-component",
|
|
35532
35544
|
value: o.value,
|
|
35533
35545
|
clearable: t.clearable,
|
|
@@ -35539,26 +35551,26 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35539
35551
|
"onUpdate:value": d
|
|
35540
35552
|
}, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
|
|
35541
35553
|
}
|
|
35542
|
-
}),
|
|
35543
|
-
...
|
|
35554
|
+
}), N5 = { class: "m-0.5 flex flex-col p-0.5" }, H5 = { class: "flex flex-row gap-1" }, W5 = { key: 0 }, V5 = { key: 1 }, j5 = { key: 2 }, q5 = { key: 3 }, U5 = { class: "flex flex-row gap-1" }, X5 = { key: 0 }, Y5 = { key: 1 }, G5 = { key: 2 }, K5 = { key: 3 }, Z5 = {}, Q5 = /* @__PURE__ */ se({
|
|
35555
|
+
...Z5,
|
|
35544
35556
|
__name: "address-suggestion-label",
|
|
35545
35557
|
props: {
|
|
35546
35558
|
addr: {},
|
|
35547
35559
|
selected: { type: Boolean }
|
|
35548
35560
|
},
|
|
35549
35561
|
setup(t) {
|
|
35550
|
-
return (e, i) => (_(), M("div",
|
|
35551
|
-
$("span",
|
|
35552
|
-
t.addr.postIndex ? (_(), M("span",
|
|
35553
|
-
t.addr.city ? (_(), M("span",
|
|
35554
|
-
t.addr.locality ? (_(), M("span",
|
|
35555
|
-
t.addr.region ? (_(), M("span",
|
|
35562
|
+
return (e, i) => (_(), M("div", N5, [
|
|
35563
|
+
$("span", H5, [
|
|
35564
|
+
t.addr.postIndex ? (_(), M("span", W5, Y(t.addr.postIndex) + ", ", 1)) : j("", !0),
|
|
35565
|
+
t.addr.city ? (_(), M("span", V5, Y(t.addr.city) + ", ", 1)) : j("", !0),
|
|
35566
|
+
t.addr.locality ? (_(), M("span", j5, Y(t.addr.locality) + ", ", 1)) : j("", !0),
|
|
35567
|
+
t.addr.region ? (_(), M("span", q5, Y(t.addr.region) + ", ", 1)) : j("", !0)
|
|
35556
35568
|
]),
|
|
35557
|
-
$("span",
|
|
35558
|
-
t.addr.street ? (_(), M("span",
|
|
35559
|
-
t.addr.building ? (_(), M("span",
|
|
35560
|
-
t.addr.buildingPart ? (_(), M("span",
|
|
35561
|
-
t.addr.apartments ? (_(), M("span",
|
|
35569
|
+
$("span", U5, [
|
|
35570
|
+
t.addr.street ? (_(), M("span", X5, Y(t.addr.street) + ", ", 1)) : j("", !0),
|
|
35571
|
+
t.addr.building ? (_(), M("span", Y5, Y(t.addr.building) + ", ", 1)) : j("", !0),
|
|
35572
|
+
t.addr.buildingPart ? (_(), M("span", G5, Y(t.addr.buildingPart) + ", ", 1)) : j("", !0),
|
|
35573
|
+
t.addr.apartments ? (_(), M("span", K5, Y(t.addr.apartments) + ", ", 1)) : j("", !0)
|
|
35562
35574
|
])
|
|
35563
35575
|
]));
|
|
35564
35576
|
}
|
|
@@ -35567,8 +35579,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35567
35579
|
value: "",
|
|
35568
35580
|
field: void 0,
|
|
35569
35581
|
disabled: !1
|
|
35570
|
-
},
|
|
35571
|
-
...
|
|
35582
|
+
}, J5 = {}, l4 = /* @__PURE__ */ se({
|
|
35583
|
+
...J5,
|
|
35572
35584
|
__name: "address-suggestion",
|
|
35573
35585
|
props: /* @__PURE__ */ Pl({
|
|
35574
35586
|
disabled: { type: Boolean },
|
|
@@ -35615,7 +35627,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35615
35627
|
}, d = (m, p) => {
|
|
35616
35628
|
const v = a.value.find((y) => y.id === m.value) || {};
|
|
35617
35629
|
return W(
|
|
35618
|
-
|
|
35630
|
+
Q5,
|
|
35619
35631
|
{
|
|
35620
35632
|
addr: v,
|
|
35621
35633
|
selected: p
|
|
@@ -35639,7 +35651,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35639
35651
|
focus: f
|
|
35640
35652
|
}), (m, p) => {
|
|
35641
35653
|
const v = Bl;
|
|
35642
|
-
return _(),
|
|
35654
|
+
return _(), Q(v, {
|
|
35643
35655
|
ref_key: "autoCompleteElement",
|
|
35644
35656
|
ref: g,
|
|
35645
35657
|
value: r.value,
|
|
@@ -35657,24 +35669,24 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35657
35669
|
}, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
|
|
35658
35670
|
};
|
|
35659
35671
|
}
|
|
35660
|
-
}),
|
|
35661
|
-
...
|
|
35672
|
+
}), e3 = { class: "m-0.5 flex flex-col p-0.5" }, t3 = { class: "font-medium" }, i3 = { class: "flex flex-row gap-1 text-xs font-light text-blue-800" }, n3 = { key: 0 }, s3 = { key: 1 }, r3 = {}, o3 = /* @__PURE__ */ se({
|
|
35673
|
+
...r3,
|
|
35662
35674
|
__name: "bank-suggestion-label",
|
|
35663
35675
|
props: {
|
|
35664
35676
|
bank: {},
|
|
35665
35677
|
selected: { type: Boolean }
|
|
35666
35678
|
},
|
|
35667
35679
|
setup(t) {
|
|
35668
|
-
return (e, i) => (_(), M("div",
|
|
35669
|
-
$("span",
|
|
35670
|
-
$("span",
|
|
35671
|
-
t.bank.bic ? (_(), M("span",
|
|
35672
|
-
t.bank.inn ? (_(), M("span",
|
|
35680
|
+
return (e, i) => (_(), M("div", e3, [
|
|
35681
|
+
$("span", t3, Y(t.bank.name), 1),
|
|
35682
|
+
$("span", i3, [
|
|
35683
|
+
t.bank.bic ? (_(), M("span", n3, " БИК: " + Y(t.bank.bic), 1)) : j("", !0),
|
|
35684
|
+
t.bank.inn ? (_(), M("span", s3, " ИНН: " + Y(t.bank.inn), 1)) : j("", !0)
|
|
35673
35685
|
])
|
|
35674
35686
|
]));
|
|
35675
35687
|
}
|
|
35676
|
-
}),
|
|
35677
|
-
...
|
|
35688
|
+
}), a3 = {}, c4 = /* @__PURE__ */ se({
|
|
35689
|
+
...a3,
|
|
35678
35690
|
__name: "bank-suggestion",
|
|
35679
35691
|
props: /* @__PURE__ */ Pl({
|
|
35680
35692
|
disabled: { type: Boolean },
|
|
@@ -35723,7 +35735,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35723
35735
|
}, d = (m, p) => {
|
|
35724
35736
|
const v = a.value.find((y) => y.id === m.value) || {};
|
|
35725
35737
|
return W(
|
|
35726
|
-
|
|
35738
|
+
o3,
|
|
35727
35739
|
{
|
|
35728
35740
|
bank: v,
|
|
35729
35741
|
selected: p
|
|
@@ -35747,7 +35759,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35747
35759
|
focus: f
|
|
35748
35760
|
}), (m, p) => {
|
|
35749
35761
|
const v = Bl;
|
|
35750
|
-
return _(),
|
|
35762
|
+
return _(), Q(v, {
|
|
35751
35763
|
ref_key: "autoCompleteElement",
|
|
35752
35764
|
ref: g,
|
|
35753
35765
|
value: r.value,
|
|
@@ -35765,17 +35777,17 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35765
35777
|
}, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
|
|
35766
35778
|
};
|
|
35767
35779
|
}
|
|
35768
|
-
}),
|
|
35780
|
+
}), l3 = { class: "font-medium" }, c3 = {
|
|
35769
35781
|
key: 0,
|
|
35770
35782
|
class: "flex flex-row gap-2"
|
|
35771
|
-
},
|
|
35783
|
+
}, u3 = {
|
|
35772
35784
|
key: 0,
|
|
35773
35785
|
class: "text-xs font-light text-blue-800"
|
|
35774
|
-
},
|
|
35786
|
+
}, d3 = {
|
|
35775
35787
|
key: 1,
|
|
35776
35788
|
class: "text-sc-dark-grey text-xs font-light"
|
|
35777
|
-
},
|
|
35778
|
-
...
|
|
35789
|
+
}, h3 = {}, f3 = /* @__PURE__ */ se({
|
|
35790
|
+
...h3,
|
|
35779
35791
|
__name: "org-suggestion-label",
|
|
35780
35792
|
props: {
|
|
35781
35793
|
org: {},
|
|
@@ -35792,15 +35804,15 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35792
35804
|
return (s, r) => (_(), M("div", {
|
|
35793
35805
|
class: je(`m-0.5 flex flex-col p-0.5 ${i.value ? "line-through" : ""}`)
|
|
35794
35806
|
}, [
|
|
35795
|
-
$("span",
|
|
35796
|
-
t.org.inn || n.value ? (_(), M("div",
|
|
35797
|
-
t.org.inn ? (_(), M("span",
|
|
35798
|
-
n.value ? (_(), M("span",
|
|
35807
|
+
$("span", l3, Y(t.org.name), 1),
|
|
35808
|
+
t.org.inn || n.value ? (_(), M("div", c3, [
|
|
35809
|
+
t.org.inn ? (_(), M("span", u3, Y(t.org.inn), 1)) : j("", !0),
|
|
35810
|
+
n.value ? (_(), M("span", d3, Y(n.value), 1)) : j("", !0)
|
|
35799
35811
|
])) : j("", !0)
|
|
35800
35812
|
], 2));
|
|
35801
35813
|
}
|
|
35802
|
-
}),
|
|
35803
|
-
...
|
|
35814
|
+
}), g3 = {}, u4 = /* @__PURE__ */ se({
|
|
35815
|
+
...g3,
|
|
35804
35816
|
__name: "org-suggestion",
|
|
35805
35817
|
props: /* @__PURE__ */ Pl({
|
|
35806
35818
|
disabled: { type: Boolean },
|
|
@@ -35855,7 +35867,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35855
35867
|
}, h = (p, v) => {
|
|
35856
35868
|
const y = a.value.find((T) => T.id === p.value) || {};
|
|
35857
35869
|
return W(
|
|
35858
|
-
|
|
35870
|
+
f3,
|
|
35859
35871
|
{
|
|
35860
35872
|
org: y,
|
|
35861
35873
|
selected: v
|
|
@@ -35879,7 +35891,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35879
35891
|
focus: m
|
|
35880
35892
|
}), (p, v) => {
|
|
35881
35893
|
const y = Bl;
|
|
35882
|
-
return _(),
|
|
35894
|
+
return _(), Q(y, {
|
|
35883
35895
|
ref_key: "autoCompleteElement",
|
|
35884
35896
|
ref: f,
|
|
35885
35897
|
value: r.value,
|
|
@@ -35897,8 +35909,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35897
35909
|
}, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
|
|
35898
35910
|
};
|
|
35899
35911
|
}
|
|
35900
|
-
}),
|
|
35901
|
-
...
|
|
35912
|
+
}), m3 = {}, d4 = /* @__PURE__ */ se({
|
|
35913
|
+
...m3,
|
|
35902
35914
|
__name: "button-with-confirm-action",
|
|
35903
35915
|
props: {
|
|
35904
35916
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -35947,7 +35959,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35947
35959
|
}, 8, ["disabled", "ghost", "loading", "size", "type", "quaternary", "circle"])
|
|
35948
35960
|
]),
|
|
35949
35961
|
default: O(() => [
|
|
35950
|
-
|
|
35962
|
+
K(" " + Y(t.popoverText), 1)
|
|
35951
35963
|
]),
|
|
35952
35964
|
_: 3
|
|
35953
35965
|
}, 8, ["disabled"]),
|
|
@@ -35969,7 +35981,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35969
35981
|
onClick: r
|
|
35970
35982
|
}, {
|
|
35971
35983
|
default: O(() => [...l[2] || (l[2] = [
|
|
35972
|
-
|
|
35984
|
+
K(" Да ", -1)
|
|
35973
35985
|
])]),
|
|
35974
35986
|
_: 1
|
|
35975
35987
|
}),
|
|
@@ -35978,7 +35990,7 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35978
35990
|
onClick: l[0] || (l[0] = (h) => s.value = !1)
|
|
35979
35991
|
}, {
|
|
35980
35992
|
default: O(() => [...l[3] || (l[3] = [
|
|
35981
|
-
|
|
35993
|
+
K(" Отмена ", -1)
|
|
35982
35994
|
])]),
|
|
35983
35995
|
_: 1
|
|
35984
35996
|
})
|
|
@@ -35988,14 +36000,14 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
35988
36000
|
]);
|
|
35989
36001
|
};
|
|
35990
36002
|
}
|
|
35991
|
-
}),
|
|
36003
|
+
}), p3 = {
|
|
35992
36004
|
key: 0,
|
|
35993
36005
|
class: "whitespace-pre-line"
|
|
35994
|
-
},
|
|
36006
|
+
}, v3 = {
|
|
35995
36007
|
key: 1,
|
|
35996
36008
|
class: "text-sc-dark-grey"
|
|
35997
|
-
},
|
|
35998
|
-
...
|
|
36009
|
+
}, y3 = {}, h4 = /* @__PURE__ */ se({
|
|
36010
|
+
...y3,
|
|
35999
36011
|
__name: "comment-editor",
|
|
36000
36012
|
props: {
|
|
36001
36013
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -36017,14 +36029,14 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
36017
36029
|
};
|
|
36018
36030
|
return (a, l) => {
|
|
36019
36031
|
const c = An;
|
|
36020
|
-
return _(),
|
|
36032
|
+
return _(), Q(j1, {
|
|
36021
36033
|
disabled: t.disabled,
|
|
36022
36034
|
"onEditor:apply": r,
|
|
36023
36035
|
"onEditor:cancel": o
|
|
36024
36036
|
}, {
|
|
36025
36037
|
viewer: O(() => [
|
|
36026
36038
|
$("div", null, [
|
|
36027
|
-
t.comment ? (_(), M("span",
|
|
36039
|
+
t.comment ? (_(), M("span", p3, Y(t.comment), 1)) : (_(), M("span", v3, " - Комментарий отсутствует - "))
|
|
36028
36040
|
])
|
|
36029
36041
|
]),
|
|
36030
36042
|
editor: O(() => [
|
|
@@ -36039,8 +36051,8 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
36039
36051
|
}, 8, ["disabled"]);
|
|
36040
36052
|
};
|
|
36041
36053
|
}
|
|
36042
|
-
}),
|
|
36043
|
-
...
|
|
36054
|
+
}), b3 = {}, f4 = /* @__PURE__ */ se({
|
|
36055
|
+
...b3,
|
|
36044
36056
|
__name: "debt",
|
|
36045
36057
|
props: {
|
|
36046
36058
|
debt: { default: 0 },
|
|
@@ -36056,27 +36068,27 @@ const SS = Oe({ name: "ion-trash-outline", render: CS }), $S = {}, TS = /* @__PU
|
|
|
36056
36068
|
key: 0,
|
|
36057
36069
|
class: je({ "text-sm": t.wrapAsSmall })
|
|
36058
36070
|
}, [
|
|
36059
|
-
|
|
36071
|
+
K(Y(i.value) + " ", 1),
|
|
36060
36072
|
$("span", {
|
|
36061
36073
|
class: je({ "text-green-700": t.debt > 0, "text-red-700": t.debt < 0 })
|
|
36062
36074
|
}, Y(t.debt) + " ₽ ", 3)
|
|
36063
36075
|
], 2)) : j("", !0);
|
|
36064
36076
|
}
|
|
36065
|
-
}),
|
|
36077
|
+
}), _3 = {
|
|
36066
36078
|
viewBox: "0 0 512 512",
|
|
36067
36079
|
width: "1.2em",
|
|
36068
36080
|
height: "1.2em"
|
|
36069
36081
|
};
|
|
36070
|
-
function
|
|
36071
|
-
return _(), M("svg",
|
|
36082
|
+
function w3(t, e) {
|
|
36083
|
+
return _(), M("svg", _3, [...e[0] || (e[0] = [
|
|
36072
36084
|
$("path", {
|
|
36073
36085
|
fill: "currentColor",
|
|
36074
36086
|
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"
|
|
36075
36087
|
}, null, -1)
|
|
36076
36088
|
])]);
|
|
36077
36089
|
}
|
|
36078
|
-
const
|
|
36079
|
-
...
|
|
36090
|
+
const x3 = Oe({ name: "ion-warning", render: w3 }), k3 = {}, g4 = /* @__PURE__ */ se({
|
|
36091
|
+
...k3,
|
|
36080
36092
|
__name: "warning-icon",
|
|
36081
36093
|
props: {
|
|
36082
36094
|
popoverText: { default: "" },
|
|
@@ -36084,8 +36096,8 @@ const g3 = Oe({ name: "ion-warning", render: f3 }), m3 = {}, o4 = /* @__PURE__ *
|
|
|
36084
36096
|
},
|
|
36085
36097
|
setup(t) {
|
|
36086
36098
|
return (e, i) => {
|
|
36087
|
-
const n =
|
|
36088
|
-
return _(),
|
|
36099
|
+
const n = x3, s = Bn;
|
|
36100
|
+
return _(), Q(s, {
|
|
36089
36101
|
disabled: t.popoverText.length === 0,
|
|
36090
36102
|
placement: "bottom"
|
|
36091
36103
|
}, {
|
|
@@ -36095,7 +36107,7 @@ const g3 = Oe({ name: "ion-warning", render: f3 }), m3 = {}, o4 = /* @__PURE__ *
|
|
|
36095
36107
|
}, null, 8, ["class"])
|
|
36096
36108
|
]),
|
|
36097
36109
|
default: O(() => [
|
|
36098
|
-
|
|
36110
|
+
K(" " + Y(t.popoverText), 1)
|
|
36099
36111
|
]),
|
|
36100
36112
|
_: 1
|
|
36101
36113
|
}, 8, ["disabled"]);
|
|
@@ -36161,11 +36173,11 @@ C(Wt, "messagesService"), /**
|
|
|
36161
36173
|
*/
|
|
36162
36174
|
C(Wt, "notificationsService");
|
|
36163
36175
|
let Sd = Wt;
|
|
36164
|
-
const
|
|
36176
|
+
const m4 = z(() => Et().deliveryTypeReference ?? []), p4 = z(() => Et().managersList ?? []), v4 = z(() => Et().opfReference ?? []), y4 = z(() => Et().partnerGroupsReference ?? []), b4 = z(() => Et().priceCoefficientsReference ?? []), _4 = z(() => Et().productFilesTypesReference ?? []), w4 = z(() => Et().resourceTypesReference), x4 = z(() => Et().salesDirectionsReference ?? []), k4 = z(() => Et().warehousesReference ?? []), C4 = z(() => Et().paymentTypeReference ?? []), S4 = z(() => Et().orderStatusReference ?? []), $4 = z(() => Et().operatorReference ?? []), T4 = z(
|
|
36165
36177
|
() => wi.convertReferencesToSelectOptionsList(Et().channelPrimaryInterestsReference ?? [], !0, !1, !0)
|
|
36166
|
-
),
|
|
36178
|
+
), P4 = z(
|
|
36167
36179
|
() => wi.convertReferencesToSelectOptionsList(Et().sourcePrimaryInterestsReference ?? [], !0, !1, !0)
|
|
36168
|
-
),
|
|
36180
|
+
), R4 = (t) => qi.getInstance(Lg).searchCity(t), F4 = (t) => wi.convertReferencesToSelectOptionsList(
|
|
36169
36181
|
t,
|
|
36170
36182
|
!0,
|
|
36171
36183
|
!1,
|
|
@@ -36177,7 +36189,7 @@ const a4 = z(() => Et().deliveryTypeReference ?? []), l4 = z(() => Et().managers
|
|
|
36177
36189
|
},
|
|
36178
36190
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
36179
36191
|
(e) => e == null ? void 0 : e.isNewRec()
|
|
36180
|
-
),
|
|
36192
|
+
), B4 = (t) => qi.getInstance(Dg).searchClient(t), A4 = (t) => wi.convertReferencesToSelectOptionsList(
|
|
36181
36193
|
t,
|
|
36182
36194
|
!0,
|
|
36183
36195
|
!1,
|
|
@@ -36194,43 +36206,43 @@ const a4 = z(() => Et().deliveryTypeReference ?? []), l4 = z(() => Et().managers
|
|
|
36194
36206
|
(e) => e == null ? void 0 : e.isNewRec()
|
|
36195
36207
|
);
|
|
36196
36208
|
export {
|
|
36197
|
-
|
|
36198
|
-
|
|
36209
|
+
V3 as AddProductToCartDialog,
|
|
36210
|
+
M3 as CommonValidators,
|
|
36199
36211
|
oy as ConfiguratorSettingsKozyrek,
|
|
36200
|
-
|
|
36212
|
+
X3 as ConfiguratorSettingsMosquito,
|
|
36201
36213
|
ic as ConfiguratorsEnum,
|
|
36202
36214
|
Xs as ContentHelper,
|
|
36203
|
-
|
|
36215
|
+
E3 as DateValidators,
|
|
36204
36216
|
Cn as KozyrekLine,
|
|
36205
36217
|
Iu as KozyrekTailTemplate,
|
|
36206
36218
|
mr as KozyrekTemplate,
|
|
36207
36219
|
pe as NumericValidators,
|
|
36208
36220
|
Xe as OrdersTableFields,
|
|
36209
36221
|
Eu as Point,
|
|
36210
|
-
|
|
36211
|
-
|
|
36212
|
-
|
|
36213
|
-
|
|
36222
|
+
l4 as ScAddressSuggestion,
|
|
36223
|
+
Q5 as ScAddressSuggestionLabel,
|
|
36224
|
+
c4 as ScBankSuggestion,
|
|
36225
|
+
o3 as ScBankSuggestionLabel,
|
|
36214
36226
|
u_ as ScBaseDialog,
|
|
36215
|
-
|
|
36227
|
+
d4 as ScButtonWithConfirmAction,
|
|
36216
36228
|
n_ as ScCategoryCollapse,
|
|
36217
36229
|
Po as ScClientNameWithShortInfo,
|
|
36218
36230
|
t_ as ScCollapse,
|
|
36219
36231
|
Rm as ScCollapseItem,
|
|
36220
|
-
|
|
36232
|
+
h4 as ScCommentEditor,
|
|
36221
36233
|
No as ScConfiguratorsProductInfo,
|
|
36222
36234
|
k_ as ScContragentWithShortInfo,
|
|
36223
36235
|
Kf as ScCreatorUserTypeTag,
|
|
36224
|
-
|
|
36225
|
-
|
|
36236
|
+
o4 as ScCuratorSelect,
|
|
36237
|
+
Y3 as ScDateRange,
|
|
36226
36238
|
hl as ScDateTimeLabel,
|
|
36227
|
-
|
|
36228
|
-
|
|
36229
|
-
|
|
36230
|
-
|
|
36239
|
+
Z3 as ScDebouncedInput,
|
|
36240
|
+
Q3 as ScDebouncedInputNumber,
|
|
36241
|
+
f4 as ScDebt,
|
|
36242
|
+
G3 as ScDialogHeader,
|
|
36231
36243
|
Ob as ScDynamicConfigurator,
|
|
36232
|
-
|
|
36233
|
-
|
|
36244
|
+
j3 as ScEmail,
|
|
36245
|
+
e4 as ScExternalLink,
|
|
36234
36246
|
hp as ScImageGallery,
|
|
36235
36247
|
j1 as ScInlineEditableItem,
|
|
36236
36248
|
zu as ScInlineView,
|
|
@@ -36239,78 +36251,78 @@ export {
|
|
|
36239
36251
|
ry as ScKozyrekConfiguratorPreview,
|
|
36240
36252
|
ey as ScKozyrekConfiguratorTemplates,
|
|
36241
36253
|
lp as ScLightGallery,
|
|
36242
|
-
|
|
36254
|
+
a4 as ScManagerSelect,
|
|
36243
36255
|
lb as ScMetalForDoorsConfigurator,
|
|
36244
36256
|
rb as ScMetalForDoorsConfiguratorForm,
|
|
36245
36257
|
Dy as ScMosquitoConfigurator,
|
|
36246
36258
|
xy as ScMosquitoConfiguratorForm,
|
|
36247
36259
|
Oy as ScMosquitoConfiguratorMeasurementInstructions,
|
|
36248
36260
|
Ou as ScMosquitoConfiguratorPreview,
|
|
36249
|
-
|
|
36261
|
+
bS as ScOrderCommonInfo,
|
|
36250
36262
|
cc as ScOrderDeliveryLabel,
|
|
36251
|
-
|
|
36252
|
-
|
|
36253
|
-
|
|
36254
|
-
|
|
36263
|
+
r5 as ScOrderDetails,
|
|
36264
|
+
f5 as ScOrderInfo,
|
|
36265
|
+
ZC as ScOrderItemParams,
|
|
36266
|
+
LS as ScOrderItemsList,
|
|
36255
36267
|
Gf as ScOrderPayment,
|
|
36256
|
-
|
|
36257
|
-
|
|
36258
|
-
|
|
36259
|
-
|
|
36260
|
-
|
|
36261
|
-
|
|
36262
|
-
|
|
36263
|
-
|
|
36264
|
-
|
|
36265
|
-
|
|
36268
|
+
FS as ScOrderProductInfo,
|
|
36269
|
+
GS as ScOrderStatusHistory,
|
|
36270
|
+
n4 as ScOrdersList,
|
|
36271
|
+
u4 as ScOrgSuggestion,
|
|
36272
|
+
f3 as ScOrgSuggestionLabel,
|
|
36273
|
+
P5 as ScPage,
|
|
36274
|
+
r4 as ScPageWithSlidingPanel,
|
|
36275
|
+
U3 as ScPersonContactsBlock,
|
|
36276
|
+
q3 as ScPhone,
|
|
36277
|
+
J3 as ScPhoneInput,
|
|
36266
36278
|
_o as ScProductName,
|
|
36267
|
-
|
|
36279
|
+
i4 as ScProductsList,
|
|
36268
36280
|
r_ as ScReferenceSelect,
|
|
36269
36281
|
Rb as ScSandwichConfigurator,
|
|
36270
36282
|
Sb as ScSandwichConfiguratorForm,
|
|
36271
36283
|
TC as ScSearchableProductSelect,
|
|
36272
36284
|
SC as ScSearchableReferenceSelect,
|
|
36273
|
-
|
|
36274
|
-
|
|
36275
|
-
|
|
36276
|
-
|
|
36285
|
+
W3 as ScSetClientPriceFormItem,
|
|
36286
|
+
s4 as ScShortTextOrderInfo,
|
|
36287
|
+
K3 as ScSingleFileUploadSelector,
|
|
36288
|
+
A5 as ScSlidingContentWithDrawer,
|
|
36277
36289
|
ib as ScStripConfigurator,
|
|
36278
36290
|
Xy as ScStripConfiguratorForm,
|
|
36279
36291
|
Hy as ScStripConfiguratorLineItem,
|
|
36280
36292
|
Qy as ScStripConfiguratorPreview,
|
|
36281
36293
|
Cd as ScUserShortInfo,
|
|
36282
|
-
|
|
36294
|
+
g4 as ScWarningIcon,
|
|
36283
36295
|
wi as SelectOptionHelper,
|
|
36284
36296
|
Sd as UiNotificationProvider,
|
|
36285
36297
|
dt as Validators,
|
|
36286
36298
|
bt as WindowResolutionEnum,
|
|
36287
36299
|
ui as WindowResolutionProvider,
|
|
36288
|
-
|
|
36300
|
+
T4 as channelPrimaryInterestOptionsList,
|
|
36289
36301
|
Do as componentSizeInjectionKey,
|
|
36290
|
-
|
|
36302
|
+
m4 as deliveryTypeReferenceList,
|
|
36291
36303
|
pr as handleFloatInput,
|
|
36292
36304
|
Yt as handleIntegerInput,
|
|
36293
36305
|
Lb as isCanSandwichShow,
|
|
36294
36306
|
zb as isConfiguratorType,
|
|
36295
|
-
|
|
36296
|
-
|
|
36297
|
-
|
|
36298
|
-
|
|
36299
|
-
|
|
36307
|
+
p4 as managersReferenceList,
|
|
36308
|
+
I3 as naiveUiTheme,
|
|
36309
|
+
$4 as operatorReferenceList,
|
|
36310
|
+
v4 as opfReferenceList,
|
|
36311
|
+
S4 as orderStatusReferenceList,
|
|
36300
36312
|
zt as parse,
|
|
36301
|
-
|
|
36302
|
-
|
|
36303
|
-
|
|
36304
|
-
|
|
36313
|
+
y4 as partnerGroupReferenceList,
|
|
36314
|
+
C4 as paymentTypeReferenceList,
|
|
36315
|
+
b4 as priceCoefficientsReferenceList,
|
|
36316
|
+
_4 as productFilesTypesReferenceList,
|
|
36305
36317
|
lt as renderConfig,
|
|
36306
36318
|
ut as resetInputValidation,
|
|
36307
|
-
|
|
36308
|
-
|
|
36309
|
-
|
|
36310
|
-
|
|
36311
|
-
|
|
36312
|
-
|
|
36319
|
+
w4 as resourceReferencesList,
|
|
36320
|
+
x4 as salesDirectionsReferenceList,
|
|
36321
|
+
R4 as searchCityReferenceDataHandler,
|
|
36322
|
+
F4 as searchCityReferenceLabelRenderer,
|
|
36323
|
+
B4 as searchClientReferenceDataHandler,
|
|
36324
|
+
A4 as searchClientReferenceLabelRenderer,
|
|
36313
36325
|
st as selectAllTextOnFocus,
|
|
36314
|
-
|
|
36315
|
-
|
|
36326
|
+
P4 as sourcePrimaryInterestOptionsList,
|
|
36327
|
+
k4 as warehousesReferenceList
|
|
36316
36328
|
};
|