@snabcentr/vue-ui-lib 5.9.0 → 5.9.1
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 +2 -2
- package/dist/release_notes.tmp +3 -3
- package/dist/sc-vue-ui-lib.css +1 -1
- package/dist/sc-vue-ui-lib.js +501 -496
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +24 -24
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/sc-vue-ui-lib.js
CHANGED
|
@@ -5,8 +5,8 @@ var du = (t) => {
|
|
|
5
5
|
var Zp = (t, e, n) => e in t ? Gp(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
6
6
|
var P = (t, e, n) => Zp(t, typeof e != "symbol" ? e + "" : e, n), hu = (t, e, n) => e.has(t) || du("Cannot " + n);
|
|
7
7
|
var yn = (t, e, n) => (hu(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ol = (t, e, n) => e.has(t) ? du("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), fu = (t, e, n, i) => (hu(t, e, "write to private field"), i ? i.call(t, n) : e.set(t, n), n);
|
|
8
|
-
import { FieldValidationResultData as Qp, OrderStatusEnum as Di, useBaseConfigStateStore as fn, AddressQualityEnum as gu, useReferencesStore as Dt, OrderItemBase as _t, ClientProduct as
|
|
9
|
-
import { isEmpty as $r, isNil as Ue, noop as Ot, forEach as Os, isFunction as It, some as Mn, startsWith as fm, trim as gm, isString as
|
|
8
|
+
import { FieldValidationResultData as Qp, OrderStatusEnum as Di, useBaseConfigStateStore as fn, AddressQualityEnum as gu, useReferencesStore as Dt, OrderItemBase as _t, ClientProduct as hi, Identity as Jp, ConfiguratorsEnum as un, ClientCategory as em, Reference as tm, PriceCoefficientEnum as nm, CalculationTypeEnum as al, PriceCoefficient as im, UnitsHelper as Xt, STANDARD_PERIOD_SECTIONS as sm, DateTimeProvider as xa, STANDARD_PERIOD_GROUPS as Wl, pluralize as rm, PreferencesStorageProvider as jr, HttpRequester as Yn, ProductCategoryDataProvider as om, ProductDataProvider as am, UserTypeEnum as vo, currentOrderInjectionKey as Vh, OrdersDataProvider as qr, Order as lm, TableDataPagination as cm, ReferenceDataProvider as jh, Region as um, ClientDataProvider as dm, Curator as pu, CuratedDirection as hm, ManagerDataFactory as mu, Manager as ll, DataSuggestionProvider as Tc } from "@snabcentr/common-lib";
|
|
9
|
+
import { isEmpty as $r, isNil as Ue, noop as Ot, forEach as Os, isFunction as It, some as Mn, startsWith as fm, trim as gm, isString as di, split as vu, round as zr, floor as pm, groupBy as mm, get as Xo, compact as Vl, find as yu, forOwn as vm, sortBy as ka, cloneDeep as gn, reduce as qh, every as bu, isArray as ut, keys as ym, debounce as mi, sum as _u, isUndefined as kr, unset as bm, isNull as Uh, times as wu, isObject as _m, merge as yo, upperFirst as wm, map as Yo, sumBy as xm, assign as km, constant as Ca, isEqual as Cm, join as Sm, union as $m } from "lodash-es";
|
|
10
10
|
import { h as G, ref as V, computed as F, onMounted as lt, onUnmounted as Pr, onScopeDispose as Pm, readonly as Qr, Comment as Sa, Text as Xh, Fragment as ye, defineComponent as re, createElementBlock as R, openBlock as b, createVNode as D, withCtx as I, createTextVNode as ne, toDisplayString as W, renderSlot as Pe, renderList as Xe, createBlock as J, unref as T, markRaw as Le, createElementVNode as k, inject as et, normalizeClass as Ie, createCommentVNode as H, Transition as Ws, useTemplateRef as Ke, onBeforeUnmount as zn, normalizeStyle as en, watch as xe, createSlots as ts, withDirectives as Dn, nextTick as wt, toRaw as Bn, withModifiers as Ri, provide as On, createStaticVNode as Tm, withKeys as Ko, resolveDynamicComponent as Rm, onBeforeMount as $a, getCurrentInstance as Yh, Teleport as Fm, toRef as ot, mergeProps as Rc, onActivated as Kh, onDeactivated as Gh, isVNode as Mm, shallowRef as Bm, watchEffect as ns, vShow as Fc, cloneVNode as Am, toValue as Im, mergeModels as jl, useModel as Zh, mergeDefaults as Mc } from "vue";
|
|
11
11
|
import { isTomorrow as Em, format as gs, isFuture as Om, differenceInCalendarDays as Lm, endOfDay as Qh, startOfDay as Jh, addDays as ef, subMonths as xu, isValid as ni, addMonths as ql, startOfMonth as zm, subDays as Dm, getDay as Nm, isToday as Hm, isSameMonth as Wm, endOfMonth as Vm, addYears as Bc, getDate as jm, getDaysInMonth as qm, startOfToday as tf } from "date-fns";
|
|
12
12
|
import { getActivePinia as Um } from "pinia";
|
|
@@ -320,7 +320,7 @@ function Pu() {
|
|
|
320
320
|
return console.error(t), pt.laptop;
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function fR() {
|
|
324
324
|
const t = V(Pu()), e = F(() => t.value === pt.phone || t.value === pt.tablet), n = () => {
|
|
325
325
|
t.value = Pu();
|
|
326
326
|
};
|
|
@@ -358,7 +358,7 @@ class hf {
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
const Cv = ".sc-versions-list";
|
|
361
|
-
function
|
|
361
|
+
function gR(t, e, n) {
|
|
362
362
|
const i = document.querySelectorAll(Cv);
|
|
363
363
|
if (i.length === 0)
|
|
364
364
|
return;
|
|
@@ -375,7 +375,7 @@ class yr {
|
|
|
375
375
|
* @param vnodes Список виртуальных узлов.
|
|
376
376
|
*/
|
|
377
377
|
static isVnodeEmpty(e) {
|
|
378
|
-
return e.every((n) => n.type === Sa || n.type === Xh &&
|
|
378
|
+
return e.every((n) => n.type === Sa || n.type === Xh && di(n.children) && !n.children.trim() ? !0 : n.type === ye && yr.isVnodeEmpty(n.children));
|
|
379
379
|
}
|
|
380
380
|
/**
|
|
381
381
|
* Возвращает признак, что указанный слот имеет контент.
|
|
@@ -408,7 +408,7 @@ class Ur {
|
|
|
408
408
|
return (e == null ? void 0 : e.precision) ?? ((n = Ur.getDefaultCurrency()) == null ? void 0 : n.precision);
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
const
|
|
411
|
+
const pR = {
|
|
412
412
|
/**
|
|
413
413
|
* Читает содержимое файла и возвращает данные файла в формате, принимаемом порталом.
|
|
414
414
|
*
|
|
@@ -659,7 +659,7 @@ class tn {
|
|
|
659
659
|
] : [],
|
|
660
660
|
// eslint-disable-next-line lodash/prefer-lodash-method
|
|
661
661
|
...Object.values(mm(a, i.key)).filter((l) => l.length > 0).map((l) => {
|
|
662
|
-
const c = l[0], u =
|
|
662
|
+
const c = l[0], u = di(i.key) ? Xo(c, i.key) : i.key(l), d = di(i.label) ? Xo(c, i.label) : i.label(l);
|
|
663
663
|
return {
|
|
664
664
|
type: "group",
|
|
665
665
|
label: $r(d) ? "- Не определено -" : d,
|
|
@@ -709,7 +709,7 @@ class tn {
|
|
|
709
709
|
);
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
|
-
const
|
|
712
|
+
const mR = {
|
|
713
713
|
required: {
|
|
714
714
|
required: !0,
|
|
715
715
|
type: "any",
|
|
@@ -755,7 +755,7 @@ const gR = {
|
|
|
755
755
|
validator: (e, n) => n === null || Je.isMultipleOf(n, t) ? !0 : new Error(`Значение должно быть кратно ${t}`)
|
|
756
756
|
};
|
|
757
757
|
}
|
|
758
|
-
},
|
|
758
|
+
}, vR = {
|
|
759
759
|
required: {
|
|
760
760
|
required: !0,
|
|
761
761
|
type: "date",
|
|
@@ -840,7 +840,7 @@ const gR = {
|
|
|
840
840
|
*/
|
|
841
841
|
P(Rs, "defaultLinearSizeMm", 1e3);
|
|
842
842
|
let br = Rs;
|
|
843
|
-
const Pv = {},
|
|
843
|
+
const Pv = {}, yR = /* @__PURE__ */ re({
|
|
844
844
|
...Pv,
|
|
845
845
|
__name: "button-with-confirm-action",
|
|
846
846
|
props: {
|
|
@@ -931,7 +931,7 @@ const Pv = {}, mR = /* @__PURE__ */ re({
|
|
|
931
931
|
]);
|
|
932
932
|
};
|
|
933
933
|
}
|
|
934
|
-
}), Tv = { class: "flex gap-2 overflow-x-auto max-sm:flex-nowrap sm:flex-wrap sm:overflow-visible" }, Rv = {},
|
|
934
|
+
}), Tv = { class: "flex gap-2 overflow-x-auto max-sm:flex-nowrap sm:flex-wrap sm:overflow-visible" }, Rv = {}, bR = /* @__PURE__ */ re({
|
|
935
935
|
...Rv,
|
|
936
936
|
__name: "chip-group",
|
|
937
937
|
props: {
|
|
@@ -1238,12 +1238,12 @@ const ty = Le({ name: "ion-chevron-forward-outline", render: ey }), ny = ["data-
|
|
|
1238
1238
|
], 10, ny);
|
|
1239
1239
|
};
|
|
1240
1240
|
}
|
|
1241
|
-
}),
|
|
1241
|
+
}), si = (t, e) => {
|
|
1242
1242
|
const n = t.__vccOpts || t;
|
|
1243
1243
|
for (const [i, s] of e)
|
|
1244
1244
|
n[i] = s;
|
|
1245
1245
|
return n;
|
|
1246
|
-
}, fy = /* @__PURE__ */
|
|
1246
|
+
}, fy = /* @__PURE__ */ si(hy, [["__scopeId", "data-v-22a74c45"]]), gy = {
|
|
1247
1247
|
viewBox: "0 0 512 512",
|
|
1248
1248
|
width: "1.2em",
|
|
1249
1249
|
height: "1.2em"
|
|
@@ -1288,7 +1288,7 @@ function py(t, e) {
|
|
|
1288
1288
|
}, null, -1)
|
|
1289
1289
|
])]);
|
|
1290
1290
|
}
|
|
1291
|
-
const vf = Le({ name: "ion-cart-outline", render: py }), Ta = Symbol(),
|
|
1291
|
+
const vf = Le({ name: "ion-cart-outline", render: py }), Ta = Symbol(), _R = {
|
|
1292
1292
|
Button: {
|
|
1293
1293
|
border: "1px solid grey"
|
|
1294
1294
|
},
|
|
@@ -2862,7 +2862,7 @@ const qy = {
|
|
|
2862
2862
|
class: "ml-2 align-sub"
|
|
2863
2863
|
}, $0 = { class: "@container" }, P0 = { class: "text-sc-dark-grey @sm:grid-cols-2 @2xl:grid-cols-3 grid grid-cols-1 gap-1 text-sm" }, T0 = {
|
|
2864
2864
|
key: 0,
|
|
2865
|
-
class: "sc-supplier-sku col-span-
|
|
2865
|
+
class: "sc-supplier-sku col-span-full whitespace-nowrap text-wrap"
|
|
2866
2866
|
}, R0 = { class: "text-sc-dark-grey" }, F0 = {
|
|
2867
2867
|
key: 1,
|
|
2868
2868
|
class: "sc-product-code col-start-1 whitespace-nowrap"
|
|
@@ -2874,7 +2874,7 @@ const qy = {
|
|
|
2874
2874
|
class: "sc-product-pack whitespace-nowrap"
|
|
2875
2875
|
}, E0 = { class: "text-gray-600" }, O0 = {
|
|
2876
2876
|
key: 5,
|
|
2877
|
-
class: "sc-product-planning-incoming-date col-span-
|
|
2877
|
+
class: "sc-product-planning-incoming-date col-span-full mt-1.5 text-wrap"
|
|
2878
2878
|
}, L0 = { class: "text-gray-600" }, z0 = {
|
|
2879
2879
|
key: 0,
|
|
2880
2880
|
class: "mt-3 flex flex-row gap-3 pb-2 text-base xl:text-lg"
|
|
@@ -3355,7 +3355,7 @@ const xf = Le({ name: "ion-plus", render: X0 }), Y0 = {
|
|
|
3355
3355
|
});
|
|
3356
3356
|
}, p = (m, y) => {
|
|
3357
3357
|
const w = new _t(a.value);
|
|
3358
|
-
w[m] = y, m === "configuratorParams" && (w.product = new
|
|
3358
|
+
w[m] = y, m === "configuratorParams" && (w.product = new hi()), s("update:value", w);
|
|
3359
3359
|
};
|
|
3360
3360
|
return xe(
|
|
3361
3361
|
() => i.previewParams,
|
|
@@ -3655,7 +3655,7 @@ const xf = Le({ name: "ion-plus", render: X0 }), Y0 = {
|
|
|
3655
3655
|
]);
|
|
3656
3656
|
};
|
|
3657
3657
|
}
|
|
3658
|
-
}), db = /* @__PURE__ */
|
|
3658
|
+
}), db = /* @__PURE__ */ si(ub, [["__scopeId", "data-v-e9c8af59"]]);
|
|
3659
3659
|
var kf = Object.defineProperty, hb = Object.defineProperties, fb = Object.getOwnPropertyDescriptors, Tu = Object.getOwnPropertySymbols, gb = Object.prototype.hasOwnProperty, pb = Object.prototype.propertyIsEnumerable, Cf = (t) => {
|
|
3660
3660
|
throw TypeError(t);
|
|
3661
3661
|
}, Kl = (t, e, n) => e in t ? kf(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, Jr = (t, e) => {
|
|
@@ -3955,7 +3955,7 @@ var Ru = {
|
|
|
3955
3955
|
this._y !== t && (this._y = t, this._bound && this.dispatchEvent(ce.Types.change));
|
|
3956
3956
|
}
|
|
3957
3957
|
}
|
|
3958
|
-
},
|
|
3958
|
+
}, fi = class hr extends ce {
|
|
3959
3959
|
constructor(e = 0, n = 0) {
|
|
3960
3960
|
super(), $(this, "_x", 0), $(this, "_y", 0);
|
|
3961
3961
|
for (let i in Ru)
|
|
@@ -4373,12 +4373,12 @@ var Ru = {
|
|
|
4373
4373
|
return this.x = n * s - i * r, this.y = n * r + i * s, this;
|
|
4374
4374
|
}
|
|
4375
4375
|
};
|
|
4376
|
-
$(
|
|
4377
|
-
$(
|
|
4378
|
-
$(
|
|
4379
|
-
$(
|
|
4380
|
-
$(
|
|
4381
|
-
var he =
|
|
4376
|
+
$(fi, "zero", new fi());
|
|
4377
|
+
$(fi, "left", new fi(-1, 0));
|
|
4378
|
+
$(fi, "right", new fi(1, 0));
|
|
4379
|
+
$(fi, "up", new fi(0, -1));
|
|
4380
|
+
$(fi, "down", new fi(0, 1));
|
|
4381
|
+
var he = fi, qe = class Ho extends he {
|
|
4382
4382
|
constructor(e = 0, n = 0, i = 0, s = 0, r = 0, o = 0, a = de.move) {
|
|
4383
4383
|
super(e, n), $(this, "controls", {
|
|
4384
4384
|
left: new he(),
|
|
@@ -5153,7 +5153,7 @@ var Mr = zf, Bu = {
|
|
|
5153
5153
|
effect: /texture|gradient/i
|
|
5154
5154
|
};
|
|
5155
5155
|
Tt.document && (Wo = document.createElement("a"));
|
|
5156
|
-
var
|
|
5156
|
+
var li = class Wn extends Mr {
|
|
5157
5157
|
constructor(e, n) {
|
|
5158
5158
|
super(), $(this, "_flagSrc", !1), $(this, "_flagImage", !1), $(this, "_flagVideo", !1), $(this, "_flagLoaded", !1), $(this, "_flagRepeat", !1), $(this, "_flagOffset", !1), $(this, "_flagScale", !1), $(this, "_src", ""), $(this, "_image", null), $(this, "_loaded", !1), $(this, "_repeat", "no-repeat"), $(this, "_scale", 1), $(this, "_offset", null);
|
|
5159
5159
|
for (let i in Au)
|
|
@@ -5303,12 +5303,12 @@ var ai = class Wn extends Mr {
|
|
|
5303
5303
|
return "effect" in this._renderer && (this._renderer.effect = null), this;
|
|
5304
5304
|
}
|
|
5305
5305
|
};
|
|
5306
|
-
$(
|
|
5307
|
-
$(
|
|
5308
|
-
$(
|
|
5309
|
-
$(
|
|
5306
|
+
$(li, "Properties", ["src", "loaded", "repeat", "scale", "offset", "image"]);
|
|
5307
|
+
$(li, "RegularExpressions", Nf);
|
|
5308
|
+
$(li, "ImageRegistry", new Ba());
|
|
5309
|
+
$(li, "Register", {
|
|
5310
5310
|
canvas: function(t, e) {
|
|
5311
|
-
t._src = "#" + t.id,
|
|
5311
|
+
t._src = "#" + t.id, li.ImageRegistry.add(t.src, t.image), typeof e == "function" && e();
|
|
5312
5312
|
},
|
|
5313
5313
|
img: function(t, e) {
|
|
5314
5314
|
const n = t.image, i = function(r) {
|
|
@@ -5316,7 +5316,7 @@ $(ai, "Register", {
|
|
|
5316
5316
|
}, s = function(r) {
|
|
5317
5317
|
throw !xn.isHeadless && typeof n.removeEventListener == "function" && (n.removeEventListener("load", i, !1), n.removeEventListener("error", s, !1)), new Ln("unable to load " + t.src);
|
|
5318
5318
|
};
|
|
5319
|
-
typeof n.width == "number" && n.width > 0 && typeof n.height == "number" && n.height > 0 ? i() : !xn.isHeadless && typeof n.addEventListener == "function" && (n.addEventListener("load", i, !1), n.addEventListener("error", s, !1)), t._src =
|
|
5319
|
+
typeof n.width == "number" && n.width > 0 && typeof n.height == "number" && n.height > 0 ? i() : !xn.isHeadless && typeof n.addEventListener == "function" && (n.addEventListener("load", i, !1), n.addEventListener("error", s, !1)), t._src = li.getAbsoluteURL(t._src), !(!xn.isHeadless && n && n.getAttribute("two-src")) && (xn.isHeadless || n.setAttribute("two-src", t.src), li.ImageRegistry.add(t.src, n), xn.isHeadless ? li.loadHeadlessBuffer(t, i) : t.image.src = t.src);
|
|
5320
5320
|
},
|
|
5321
5321
|
video: function(t, e) {
|
|
5322
5322
|
if (xn.isHeadless)
|
|
@@ -5328,10 +5328,10 @@ $(ai, "Register", {
|
|
|
5328
5328
|
}, i = function(s) {
|
|
5329
5329
|
throw t.image.removeEventListener("canplaythrough", n, !1), t.image.removeEventListener("error", i, !1), new Ln("unable to load " + t.src);
|
|
5330
5330
|
};
|
|
5331
|
-
t._src =
|
|
5331
|
+
t._src = li.getAbsoluteURL(t._src), t.image.getAttribute("two-src") || (t.image.setAttribute("two-src", t.src), li.ImageRegistry.add(t.src, t.image)), t.image.readyState >= 4 ? n() : (t.image.addEventListener("canplaythrough", n, !1), t.image.addEventListener("error", i, !1), t.image.src = t.src, t.image.load());
|
|
5332
5332
|
}
|
|
5333
5333
|
});
|
|
5334
|
-
var at =
|
|
5334
|
+
var at = li, Au = {
|
|
5335
5335
|
src: {
|
|
5336
5336
|
enumerable: !0,
|
|
5337
5337
|
get: function() {
|
|
@@ -5402,12 +5402,12 @@ function kb() {
|
|
|
5402
5402
|
function Cb() {
|
|
5403
5403
|
this._flagScale = !0;
|
|
5404
5404
|
}
|
|
5405
|
-
var Vc = class
|
|
5405
|
+
var Vc = class oi extends Mr {
|
|
5406
5406
|
constructor(e, n, i) {
|
|
5407
5407
|
super(), $(this, "_flagOffset", !0), $(this, "_flagOpacity", !0), $(this, "_flagColor", !0), $(this, "_offset", 0), $(this, "_opacity", 1), $(this, "_color", "#fff");
|
|
5408
5408
|
for (let s in Iu)
|
|
5409
5409
|
Object.defineProperty(this, s, Iu[s]);
|
|
5410
|
-
this._renderer.type = "stop", this.offset = typeof e == "number" ? e :
|
|
5410
|
+
this._renderer.type = "stop", this.offset = typeof e == "number" ? e : oi.Index <= 0 ? 0 : 1, this.opacity = typeof i == "number" ? i : 1, this.color = typeof n == "string" ? n : oi.Index <= 0 ? "#fff" : "#000", oi.Index = (oi.Index + 1) % 2;
|
|
5411
5411
|
}
|
|
5412
5412
|
/**
|
|
5413
5413
|
* @name Two.Stop.fromObject
|
|
@@ -5418,7 +5418,7 @@ var Vc = class ri extends Mr {
|
|
|
5418
5418
|
* @nota-bene Works in conjunction with {@link Two.Stop#toObject}
|
|
5419
5419
|
*/
|
|
5420
5420
|
static fromObject(e) {
|
|
5421
|
-
const n = new
|
|
5421
|
+
const n = new oi().copy(e);
|
|
5422
5422
|
return "id" in e && (n.id = e.id), n;
|
|
5423
5423
|
}
|
|
5424
5424
|
/**
|
|
@@ -5429,8 +5429,8 @@ var Vc = class ri extends Mr {
|
|
|
5429
5429
|
*/
|
|
5430
5430
|
copy(e) {
|
|
5431
5431
|
super.copy.call(this, e);
|
|
5432
|
-
for (let n = 0; n <
|
|
5433
|
-
const i =
|
|
5432
|
+
for (let n = 0; n < oi.Properties.length; n++) {
|
|
5433
|
+
const i = oi.Properties[n];
|
|
5434
5434
|
i in e && (this[i] = e[i]);
|
|
5435
5435
|
}
|
|
5436
5436
|
return this;
|
|
@@ -5443,9 +5443,9 @@ var Vc = class ri extends Mr {
|
|
|
5443
5443
|
* @description Create a new instance of {@link Two.Stop} with the same properties of the current path.
|
|
5444
5444
|
*/
|
|
5445
5445
|
clone(e) {
|
|
5446
|
-
const n = new
|
|
5446
|
+
const n = new oi();
|
|
5447
5447
|
return fe.each(
|
|
5448
|
-
|
|
5448
|
+
oi.Properties,
|
|
5449
5449
|
function(i) {
|
|
5450
5450
|
n[i] = this[i];
|
|
5451
5451
|
},
|
|
@@ -5461,7 +5461,7 @@ var Vc = class ri extends Mr {
|
|
|
5461
5461
|
toObject() {
|
|
5462
5462
|
const e = super.toObject.call(this);
|
|
5463
5463
|
return e.renderer.type = "stop", fe.each(
|
|
5464
|
-
|
|
5464
|
+
oi.Properties,
|
|
5465
5465
|
(n) => {
|
|
5466
5466
|
e[n] = this[n];
|
|
5467
5467
|
},
|
|
@@ -6607,7 +6607,7 @@ var ta = Number.EPSILON;
|
|
|
6607
6607
|
function na(t) {
|
|
6608
6608
|
return typeof t.relative != "boolean" || !!t.relative;
|
|
6609
6609
|
}
|
|
6610
|
-
function
|
|
6610
|
+
function gi(t, e, n, i) {
|
|
6611
6611
|
const s = t.controls;
|
|
6612
6612
|
if (!(!s || !s[e])) {
|
|
6613
6613
|
if (Math.abs(n) < ta && Math.abs(i) < ta) {
|
|
@@ -6618,7 +6618,7 @@ function fi(t, e, n, i) {
|
|
|
6618
6618
|
}
|
|
6619
6619
|
}
|
|
6620
6620
|
function An(t, e) {
|
|
6621
|
-
|
|
6621
|
+
gi(t, e, 0, 0);
|
|
6622
6622
|
}
|
|
6623
6623
|
function Wb(t, e) {
|
|
6624
6624
|
const n = t.controls;
|
|
@@ -6652,7 +6652,7 @@ function Hu(t, e) {
|
|
|
6652
6652
|
}
|
|
6653
6653
|
function jb(t, e, n) {
|
|
6654
6654
|
const i = t.controls && t.controls.right, s = e.controls && e.controls.left, r = { x: t.x, y: t.y }, o = i ? Hu(t, "right") : Jr({}, r), a = { x: e.x, y: e.y }, l = s ? Hu(e, "left") : Jr({}, a), c = ir(r, o, n), u = ir(o, l, n), d = ir(l, a, n), h = ir(c, u, n), g = ir(u, d, n), f = ir(h, g, n), p = new qe(f.x, f.y);
|
|
6655
|
-
return Uf(p, t),
|
|
6655
|
+
return Uf(p, t), gi(p, "left", h.x - f.x, h.y - f.y), gi(p, "right", g.x - f.x, g.y - f.y), p.command = de.curve, {
|
|
6656
6656
|
anchor: p,
|
|
6657
6657
|
startOut: c,
|
|
6658
6658
|
endIn: d
|
|
@@ -6681,7 +6681,7 @@ function qb(t, e, n, i, s, r) {
|
|
|
6681
6681
|
const M = l - d;
|
|
6682
6682
|
for (let x = u, A = e; x <= M; x += 1, A += 1) {
|
|
6683
6683
|
const S = Et(A, o), E = t[S], L = _[x] - E.x, z = C[x] - E.y;
|
|
6684
|
-
s || x < M ?
|
|
6684
|
+
s || x < M ? gi(E, "right", L, z) : An(E, "right"), s || x > u ? gi(E, "left", -L, -z) : An(E, "left"), ia(E);
|
|
6685
6685
|
}
|
|
6686
6686
|
}
|
|
6687
6687
|
function Ub(t, e, n, i, s, r) {
|
|
@@ -6690,7 +6690,7 @@ function Ub(t, e, n, i, s, r) {
|
|
|
6690
6690
|
const v = 2 * p + 3 * g * h + f, m = 3 * g * (g + h);
|
|
6691
6691
|
if (m !== 0) {
|
|
6692
6692
|
const y = (p * o.x + v * a.x - f * l.x) / m - a.x, w = (p * o.y + v * a.y - f * l.y) / m - a.y;
|
|
6693
|
-
|
|
6693
|
+
gi(t, "left", y, w);
|
|
6694
6694
|
} else
|
|
6695
6695
|
An(t, "left");
|
|
6696
6696
|
} else
|
|
@@ -6699,7 +6699,7 @@ function Ub(t, e, n, i, s, r) {
|
|
|
6699
6699
|
const v = 2 * f + 3 * h * g + p, m = 3 * h * (h + g);
|
|
6700
6700
|
if (m !== 0) {
|
|
6701
6701
|
const y = (f * l.x + v * a.x - p * o.x) / m - a.x, w = (f * l.y + v * a.y - p * o.y) / m - a.y;
|
|
6702
|
-
|
|
6702
|
+
gi(t, "right", y, w);
|
|
6703
6703
|
} else
|
|
6704
6704
|
An(t, "right");
|
|
6705
6705
|
} else
|
|
@@ -6714,12 +6714,12 @@ function Xb(t, e, n, i, s, r) {
|
|
|
6714
6714
|
const o = e, a = t, l = n, c = he.distanceBetween(o, a), u = he.distanceBetween(a, l), d = c + u, h = i === void 0 ? 0.4 : i, g = { x: o.x - l.x, y: o.y - l.y };
|
|
6715
6715
|
if (!s && d !== 0) {
|
|
6716
6716
|
const f = h * c / d;
|
|
6717
|
-
|
|
6717
|
+
gi(t, "left", g.x * f, g.y * f);
|
|
6718
6718
|
} else
|
|
6719
6719
|
An(t, "left");
|
|
6720
6720
|
if (!r && d !== 0) {
|
|
6721
6721
|
const f = h * c / d - h;
|
|
6722
|
-
|
|
6722
|
+
gi(t, "right", g.x * f, g.y * f);
|
|
6723
6723
|
} else
|
|
6724
6724
|
An(t, "right");
|
|
6725
6725
|
ia(t);
|
|
@@ -7104,14 +7104,14 @@ var sr = Math.min, rr = Math.max, Kb = Math.ceil, Gb = Math.floor, Zb = new he()
|
|
|
7104
7104
|
f,
|
|
7105
7105
|
C
|
|
7106
7106
|
);
|
|
7107
|
-
|
|
7107
|
+
gi(
|
|
7108
7108
|
p,
|
|
7109
7109
|
"right",
|
|
7110
7110
|
M.startOut.x - p.x,
|
|
7111
7111
|
M.startOut.y - p.y
|
|
7112
7112
|
);
|
|
7113
7113
|
const x = M.anchor;
|
|
7114
|
-
s.push(x), p = x, g = x.clone(), v = w,
|
|
7114
|
+
s.push(x), p = x, g = x.clone(), v = w, gi(
|
|
7115
7115
|
f,
|
|
7116
7116
|
"left",
|
|
7117
7117
|
M.endIn.x - f.x,
|
|
@@ -16005,7 +16005,7 @@ const ua = Number.EPSILON;
|
|
|
16005
16005
|
function da(t) {
|
|
16006
16006
|
return typeof t.relative != "boolean" || !!t.relative;
|
|
16007
16007
|
}
|
|
16008
|
-
function
|
|
16008
|
+
function pi(t, e, n, i) {
|
|
16009
16009
|
const s = t.controls;
|
|
16010
16010
|
if (!(!s || !s[e])) {
|
|
16011
16011
|
if (Math.abs(n) < ua && Math.abs(i) < ua) {
|
|
@@ -16016,7 +16016,7 @@ function gi(t, e, n, i) {
|
|
|
16016
16016
|
}
|
|
16017
16017
|
}
|
|
16018
16018
|
function En(t, e) {
|
|
16019
|
-
|
|
16019
|
+
pi(t, e, 0, 0);
|
|
16020
16020
|
}
|
|
16021
16021
|
function l_(t, e) {
|
|
16022
16022
|
const n = t.controls;
|
|
@@ -16050,7 +16050,7 @@ function Pd(t, e) {
|
|
|
16050
16050
|
}
|
|
16051
16051
|
function u_(t, e, n) {
|
|
16052
16052
|
const i = t.controls && t.controls.right, s = e.controls && e.controls.left, r = { x: t.x, y: t.y }, o = i ? Pd(t, "right") : { ...r }, a = { x: e.x, y: e.y }, l = s ? Pd(e, "left") : { ...a }, c = or(r, o, n), u = or(o, l, n), d = or(l, a, n), h = or(c, u, n), g = or(u, d, n), f = or(h, g, n), p = new it(f.x, f.y);
|
|
16053
|
-
return vg(p, t),
|
|
16053
|
+
return vg(p, t), pi(p, "left", h.x - f.x, h.y - f.y), pi(p, "right", g.x - f.x, g.y - f.y), p.command = Se.curve, {
|
|
16054
16054
|
anchor: p,
|
|
16055
16055
|
startOut: c,
|
|
16056
16056
|
endIn: d
|
|
@@ -16079,7 +16079,7 @@ function d_(t, e, n, i, s, r) {
|
|
|
16079
16079
|
const M = l - d;
|
|
16080
16080
|
for (let x = u, A = e; x <= M; x += 1, A += 1) {
|
|
16081
16081
|
const S = In(A, o), E = t[S], L = _[x] - E.x, z = C[x] - E.y;
|
|
16082
|
-
s || x < M ?
|
|
16082
|
+
s || x < M ? pi(E, "right", L, z) : En(E, "right"), s || x > u ? pi(E, "left", -L, -z) : En(E, "left"), ha(E);
|
|
16083
16083
|
}
|
|
16084
16084
|
}
|
|
16085
16085
|
function h_(t, e, n, i, s, r) {
|
|
@@ -16088,7 +16088,7 @@ function h_(t, e, n, i, s, r) {
|
|
|
16088
16088
|
const v = 2 * p + 3 * g * h + f, m = 3 * g * (g + h);
|
|
16089
16089
|
if (m !== 0) {
|
|
16090
16090
|
const y = (p * o.x + v * a.x - f * l.x) / m - a.x, w = (p * o.y + v * a.y - f * l.y) / m - a.y;
|
|
16091
|
-
|
|
16091
|
+
pi(t, "left", y, w);
|
|
16092
16092
|
} else
|
|
16093
16093
|
En(t, "left");
|
|
16094
16094
|
} else
|
|
@@ -16097,7 +16097,7 @@ function h_(t, e, n, i, s, r) {
|
|
|
16097
16097
|
const v = 2 * f + 3 * h * g + p, m = 3 * h * (h + g);
|
|
16098
16098
|
if (m !== 0) {
|
|
16099
16099
|
const y = (f * l.x + v * a.x - p * o.x) / m - a.x, w = (f * l.y + v * a.y - p * o.y) / m - a.y;
|
|
16100
|
-
|
|
16100
|
+
pi(t, "right", y, w);
|
|
16101
16101
|
} else
|
|
16102
16102
|
En(t, "right");
|
|
16103
16103
|
} else
|
|
@@ -16112,12 +16112,12 @@ function f_(t, e, n, i, s, r) {
|
|
|
16112
16112
|
const o = e, a = t, l = n, c = Be.distanceBetween(o, a), u = Be.distanceBetween(a, l), d = c + u, h = i === void 0 ? 0.4 : i, g = { x: o.x - l.x, y: o.y - l.y };
|
|
16113
16113
|
if (!s && d !== 0) {
|
|
16114
16114
|
const f = h * c / d;
|
|
16115
|
-
|
|
16115
|
+
pi(t, "left", g.x * f, g.y * f);
|
|
16116
16116
|
} else
|
|
16117
16117
|
En(t, "left");
|
|
16118
16118
|
if (!r && d !== 0) {
|
|
16119
16119
|
const f = h * c / d - h;
|
|
16120
|
-
|
|
16120
|
+
pi(t, "right", g.x * f, g.y * f);
|
|
16121
16121
|
} else
|
|
16122
16122
|
En(t, "right");
|
|
16123
16123
|
ha(t);
|
|
@@ -16134,7 +16134,7 @@ function g_(t, e, n, i, s, r) {
|
|
|
16134
16134
|
o === "geometric" ? f_(d, f, p, a, v, m) : h_(d, f, p, a, v, m);
|
|
16135
16135
|
}
|
|
16136
16136
|
}
|
|
16137
|
-
const ar = Math.min, lr = Math.max, p_ = Math.ceil, m_ = Math.floor, v_ = new Be(), y_ = new Sr(),
|
|
16137
|
+
const ar = Math.min, lr = Math.max, p_ = Math.ceil, m_ = Math.floor, v_ = new Be(), y_ = new Sr(), ai = class ai extends Bi {
|
|
16138
16138
|
constructor(n, i, s, r) {
|
|
16139
16139
|
super();
|
|
16140
16140
|
/**
|
|
@@ -16337,7 +16337,7 @@ const ar = Math.min, lr = Math.max, p_ = Math.ceil, m_ = Math.floor, v_ = new Be
|
|
|
16337
16337
|
* @nota-bene Works in conjunction with {@link Two.Path#toObject}
|
|
16338
16338
|
*/
|
|
16339
16339
|
static fromObject(n) {
|
|
16340
|
-
const i = typeof n.fill == "string" ? n.fill : Xs(n.fill), s = typeof n.stroke == "string" ? n.stroke : Xs(n.stroke), r = new
|
|
16340
|
+
const i = typeof n.fill == "string" ? n.fill : Xs(n.fill), s = typeof n.stroke == "string" ? n.stroke : Xs(n.stroke), r = new ai().copy({ ...n, fill: i, stroke: s });
|
|
16341
16341
|
return "id" in n && (r.id = n.id), r;
|
|
16342
16342
|
}
|
|
16343
16343
|
/**
|
|
@@ -16354,8 +16354,8 @@ const ar = Math.min, lr = Math.max, p_ = Math.ceil, m_ = Math.floor, v_ = new Be
|
|
|
16354
16354
|
s instanceof it ? this.vertices.push(n.vertices[i].clone()) : this.vertices.push(new it().copy(s));
|
|
16355
16355
|
}
|
|
16356
16356
|
}
|
|
16357
|
-
for (let i = 0; i <
|
|
16358
|
-
const s =
|
|
16357
|
+
for (let i = 0; i < ai.Properties.length; i++) {
|
|
16358
|
+
const s = ai.Properties[i];
|
|
16359
16359
|
s in n && (this[s] = n[s]);
|
|
16360
16360
|
}
|
|
16361
16361
|
return this;
|
|
@@ -16368,11 +16368,11 @@ const ar = Math.min, lr = Math.max, p_ = Math.ceil, m_ = Math.floor, v_ = new Be
|
|
|
16368
16368
|
* @description Create a new instance of {@link Two.Path} with the same properties of the current path.
|
|
16369
16369
|
*/
|
|
16370
16370
|
clone(n) {
|
|
16371
|
-
const i = new
|
|
16371
|
+
const i = new ai();
|
|
16372
16372
|
for (let s = 0; s < this.vertices.length; s++)
|
|
16373
16373
|
i.vertices.push(this.vertices[s].clone());
|
|
16374
|
-
for (let s = 0; s <
|
|
16375
|
-
const r =
|
|
16374
|
+
for (let s = 0; s < ai.Properties.length; s++) {
|
|
16375
|
+
const r = ai.Properties[s];
|
|
16376
16376
|
i[r] = this[r];
|
|
16377
16377
|
}
|
|
16378
16378
|
return i.className = this.className, i.translation.copy(this.translation), i.rotation = this.rotation, i.scale = this.scale, i.skewX = this.skewX, i.skewY = this.skewY, this.matrix.manual && i.matrix.copy(this.matrix), n && n.add(i), i._update();
|
|
@@ -16387,7 +16387,7 @@ const ar = Math.min, lr = Math.max, p_ = Math.ceil, m_ = Math.floor, v_ = new Be
|
|
|
16387
16387
|
toObject() {
|
|
16388
16388
|
const n = super.toObject.call(this);
|
|
16389
16389
|
return n.renderer.type = "path", n.vertices = this.vertices.map((i) => i.toObject()), ht.each(
|
|
16390
|
-
|
|
16390
|
+
ai.Properties,
|
|
16391
16391
|
(i) => {
|
|
16392
16392
|
typeof this[i] < "u" && (this[i].toObject ? n[i] = this[i].toObject() : n[i] = this[i]);
|
|
16393
16393
|
},
|
|
@@ -16689,14 +16689,14 @@ const ar = Math.min, lr = Math.max, p_ = Math.ceil, m_ = Math.floor, v_ = new Be
|
|
|
16689
16689
|
p,
|
|
16690
16690
|
M
|
|
16691
16691
|
);
|
|
16692
|
-
|
|
16692
|
+
pi(
|
|
16693
16693
|
v,
|
|
16694
16694
|
"right",
|
|
16695
16695
|
x.startOut.x - v.x,
|
|
16696
16696
|
x.startOut.y - v.y
|
|
16697
16697
|
);
|
|
16698
16698
|
const A = x.anchor;
|
|
16699
|
-
r.push(A), v = A, f = A.clone(), m = _,
|
|
16699
|
+
r.push(A), v = A, f = A.clone(), m = _, pi(
|
|
16700
16700
|
p,
|
|
16701
16701
|
"left",
|
|
16702
16702
|
x.endIn.x - p.x,
|
|
@@ -16780,7 +16780,7 @@ const ar = Math.min, lr = Math.max, p_ = Math.ceil, m_ = Math.floor, v_ = new Be
|
|
|
16780
16780
|
* @name Two.Path.Properties
|
|
16781
16781
|
* @property {String[]} - A list of properties that are on every {@link Two.Path}.
|
|
16782
16782
|
*/
|
|
16783
|
-
P(
|
|
16783
|
+
P(ai, "Properties", [
|
|
16784
16784
|
"fill",
|
|
16785
16785
|
"stroke",
|
|
16786
16786
|
"linewidth",
|
|
@@ -16796,10 +16796,10 @@ P(oi, "Properties", [
|
|
|
16796
16796
|
"ending",
|
|
16797
16797
|
"dashes",
|
|
16798
16798
|
"strokeAttenuation"
|
|
16799
|
-
]), P(
|
|
16799
|
+
]), P(ai, "Utils", {
|
|
16800
16800
|
getCurveLength: Cd
|
|
16801
16801
|
});
|
|
16802
|
-
let nt =
|
|
16802
|
+
let nt = ai;
|
|
16803
16803
|
const Td = {
|
|
16804
16804
|
linewidth: {
|
|
16805
16805
|
enumerable: !0,
|
|
@@ -20924,7 +20924,7 @@ const za = Le({ name: "ion-close", render: A_ }), I_ = { class: "mr-3 flex flex-
|
|
|
20924
20924
|
});
|
|
20925
20925
|
};
|
|
20926
20926
|
}
|
|
20927
|
-
}), D_ = /* @__PURE__ */
|
|
20927
|
+
}), D_ = /* @__PURE__ */ si(z_, [["__scopeId", "data-v-afccb364"]]), N_ = { class: "flex gap-3 min-w-[20rem] relative" }, H_ = { class: "kozyrek-preview w-fill h-[18rem] grow touch-none overflow-hidden rounded-lg bg-gray-200 p-2" }, W_ = {
|
|
20928
20928
|
ref: "drawing-container",
|
|
20929
20929
|
class: "size-full"
|
|
20930
20930
|
}, V_ = {}, j_ = /* @__PURE__ */ re({
|
|
@@ -21065,7 +21065,7 @@ const za = Le({ name: "ion-close", render: A_ }), I_ = { class: "mr-3 flex flex-
|
|
|
21065
21065
|
}
|
|
21066
21066
|
const X = f(ee), [ie, le, te] = p(q, j, X, K, B), Z = new Ji(), Y = new Array(), ve = new Array();
|
|
21067
21067
|
B || (r = [], o = []), X.forEach((Te, Fe) => {
|
|
21068
|
-
const vt = Te.start.x * ie + le, je = Te.end.x * ie + le, nn = Te.start.y * ie + te,
|
|
21068
|
+
const vt = Te.start.x * ie + le, je = Te.end.x * ie + le, nn = Te.start.y * ie + te, ri = Te.end.y * ie + te, sn = new jo(vt, nn, je, ri);
|
|
21069
21069
|
sn.linewidth = B ? yt.previewLine.size : yt.line.size, sn.stroke = B ? yt.previewLine.color : yt.line.color, o.push(sn), Y.push(sn), Z.add(sn), !B && Te.label !== "" && x(Te, sn, Z, Fe);
|
|
21070
21070
|
});
|
|
21071
21071
|
const we = Y.at(-1);
|
|
@@ -21429,7 +21429,7 @@ const U_ = { class: "flex flex-col gap-3" }, X_ = { class: "grid gap-5 md:grid-c
|
|
|
21429
21429
|
l.value.showOnlyTemplates || l.value.allowSaveTemplates && (d.value = l.value.allTemplates.length - 1);
|
|
21430
21430
|
}, m = async (S) => {
|
|
21431
21431
|
var E, L;
|
|
21432
|
-
a.value.product = new
|
|
21432
|
+
a.value.product = new hi(), (L = (E = h.value) == null ? void 0 : E.formReference) == null || L.validate((z) => {
|
|
21433
21433
|
z || (w(), s.value = !0, n.eventEmitter.emit("configurator:search-product", {
|
|
21434
21434
|
category: n.cartItem.category,
|
|
21435
21435
|
params: S,
|
|
@@ -21580,7 +21580,7 @@ const U_ = { class: "flex flex-col gap-3" }, X_ = { class: "grid gap-5 md:grid-c
|
|
|
21580
21580
|
]);
|
|
21581
21581
|
};
|
|
21582
21582
|
}
|
|
21583
|
-
}), Yd = /* @__PURE__ */
|
|
21583
|
+
}), Yd = /* @__PURE__ */ si(J_, [["__scopeId", "data-v-2a790a20"]]), ew = {
|
|
21584
21584
|
key: 0,
|
|
21585
21585
|
class: "flex items-baseline gap-1"
|
|
21586
21586
|
}, tw = {
|
|
@@ -21644,7 +21644,7 @@ const U_ = { class: "flex flex-col gap-3" }, X_ = { class: "grid gap-5 md:grid-c
|
|
|
21644
21644
|
});
|
|
21645
21645
|
}, M = (A, S) => {
|
|
21646
21646
|
const E = new _t(i.value);
|
|
21647
|
-
E[A] = S, A === "configuratorParams" && (E.product = new
|
|
21647
|
+
E[A] = S, A === "configuratorParams" && (E.product = new hi()), s("update:value", E);
|
|
21648
21648
|
};
|
|
21649
21649
|
return xe(
|
|
21650
21650
|
() => i.value,
|
|
@@ -22053,9 +22053,9 @@ const U_ = { class: "flex flex-col gap-3" }, X_ = { class: "grid gap-5 md:grid-c
|
|
|
22053
22053
|
height: {},
|
|
22054
22054
|
quantity: {},
|
|
22055
22055
|
marker: {}
|
|
22056
|
-
}), u = V(!1), d = V(!1), h = F(() => et("debounce-input-time", 300)), g =
|
|
22056
|
+
}), u = V(!1), d = V(!1), h = F(() => et("debounce-input-time", 300)), g = mi(async (p) => {
|
|
22057
22057
|
var v, m;
|
|
22058
|
-
a.value.product = new
|
|
22058
|
+
a.value.product = new hi(), (m = (v = l.value) == null ? void 0 : v.formReference) == null || m.validate((y) => {
|
|
22059
22059
|
y || (u.value = !0, n.eventEmitter.emit("configurator:search-product", {
|
|
22060
22060
|
category: n.cartItem.category,
|
|
22061
22061
|
params: p,
|
|
@@ -22596,16 +22596,16 @@ const U_ = { class: "flex flex-col gap-3" }, X_ = { class: "grid gap-5 md:grid-c
|
|
|
22596
22596
|
p && (p.configuratorParams.linesWidths = p.configuratorParams.linesWidths.toSpliced(f, 1), r.value.forEach((v) => {
|
|
22597
22597
|
v.configuratorParams.linesWidths = p.configuratorParams.linesWidths;
|
|
22598
22598
|
}), r.value = r.value.toSpliced(f, 1), delete o[`linesWidths.${f}`], delete o[`linesWidths.${f}`]);
|
|
22599
|
-
}, h =
|
|
22599
|
+
}, h = mi(async (f, p, v) => {
|
|
22600
22600
|
const m = {
|
|
22601
22601
|
linesWidths: f.linesWidths.at(p)
|
|
22602
22602
|
};
|
|
22603
|
-
v.value = !0, o.value[`linesWidths.${p}`] = {}, r.value[p].product = new
|
|
22603
|
+
v.value = !0, o.value[`linesWidths.${p}`] = {}, r.value[p].product = new hi(), n.eventEmitter.emit("configurator:search-product", {
|
|
22604
22604
|
category: r.value[p].category,
|
|
22605
22605
|
params: m,
|
|
22606
22606
|
validationFieldResultData: o.value,
|
|
22607
22607
|
callback: (y) => {
|
|
22608
|
-
y ? (r.value[p].product = y, p === r.value.length - 1 && r.value.length < n.settings.maxLinesCount && c.value && c.value < n.settings.width && u()) : (r.value[p].product = new
|
|
22608
|
+
y ? (r.value[p].product = y, p === r.value.length - 1 && r.value.length < n.settings.maxLinesCount && c.value && c.value < n.settings.width && u()) : (r.value[p].product = new hi(), o.value[`linesWidths.${p}`] = { showFeedback: !0, feedback: "Не удалось найти товар", validationStatus: "error" }, v.value = !1), v.value = !1;
|
|
22609
22609
|
}
|
|
22610
22610
|
});
|
|
22611
22611
|
}, l.value), g = async () => {
|
|
@@ -22700,7 +22700,7 @@ const U_ = { class: "flex flex-col gap-3" }, X_ = { class: "grid gap-5 md:grid-c
|
|
|
22700
22700
|
s("update:params", a.value.configuratorParams), d("configuratorParams", a.value.configuratorParams);
|
|
22701
22701
|
}, d = (f, p) => {
|
|
22702
22702
|
const v = new _t(i.value);
|
|
22703
|
-
v[f] = p, f === "configuratorParams" && (v.product = new
|
|
22703
|
+
v[f] = p, f === "configuratorParams" && (v.product = new hi()), s("update:value", v);
|
|
22704
22704
|
}, h = () => {
|
|
22705
22705
|
var f;
|
|
22706
22706
|
(f = o.value) == null || f.select();
|
|
@@ -22884,9 +22884,9 @@ const U_ = { class: "flex flex-col gap-3" }, X_ = { class: "grid gap-5 md:grid-c
|
|
|
22884
22884
|
length: {},
|
|
22885
22885
|
quantity: {},
|
|
22886
22886
|
marker: {}
|
|
22887
|
-
}), a = V(!1), l = V(!1), c = F(() => et("debounce-input-time", 300)), u =
|
|
22887
|
+
}), a = V(!1), l = V(!1), c = F(() => et("debounce-input-time", 300)), u = mi(async (h) => {
|
|
22888
22888
|
var g, f;
|
|
22889
|
-
r.value.product = new
|
|
22889
|
+
r.value.product = new hi(), (f = (g = s.value) == null ? void 0 : g.formReference) == null || f.validate((p) => {
|
|
22890
22890
|
p || (a.value = !0, n.eventEmitter.emit("configurator:search-product", {
|
|
22891
22891
|
category: n.cartItem.category,
|
|
22892
22892
|
params: h,
|
|
@@ -23066,7 +23066,7 @@ const Cg = Le({ name: "ion-add", render: Kw }), Gw = {
|
|
|
23066
23066
|
}
|
|
23067
23067
|
)), M = F(() => !u.value || C.value || o.value.configuratorParams.items.length === 0), x = V(null), A = F(() => x.value === null ? "" : Je.formatMoney(x.value)), S = (K) => {
|
|
23068
23068
|
if (!K) {
|
|
23069
|
-
u.value = null, d.value = null, o.value.product = new
|
|
23069
|
+
u.value = null, d.value = null, o.value.product = new hi(), m.value = null;
|
|
23070
23070
|
return;
|
|
23071
23071
|
}
|
|
23072
23072
|
const B = h.value.find((X) => X.id === K);
|
|
@@ -23637,7 +23637,7 @@ const bx = Le({ name: "ion-checkmark", render: yx }), _x = {
|
|
|
23637
23637
|
return new _t({
|
|
23638
23638
|
category: (te = l.value[0]) == null ? void 0 : te.category,
|
|
23639
23639
|
configurator: (Z = l.value[0]) == null ? void 0 : Z.configurator,
|
|
23640
|
-
product: h.value ?? new
|
|
23640
|
+
product: h.value ?? new hi(),
|
|
23641
23641
|
quantity: 1,
|
|
23642
23642
|
isAdditionalSale: (Y = l.value[0]) == null ? void 0 : Y.isAdditionalSale,
|
|
23643
23643
|
configuratorParams: {
|
|
@@ -23648,7 +23648,7 @@ const bx = Le({ name: "ion-checkmark", render: yx }), _x = {
|
|
|
23648
23648
|
}, q = (te) => {
|
|
23649
23649
|
if (!te) {
|
|
23650
23650
|
h.value = null, g.value = null, l.value.forEach((Y) => {
|
|
23651
|
-
Y.product = new
|
|
23651
|
+
Y.product = new hi();
|
|
23652
23652
|
}), s("update:value", l.value);
|
|
23653
23653
|
return;
|
|
23654
23654
|
}
|
|
@@ -24452,13 +24452,13 @@ const r2 = {
|
|
|
24452
24452
|
showProductRequiredButton: e.showProductRequiredButton,
|
|
24453
24453
|
currencyRates: e.categoryItem.currencyRates,
|
|
24454
24454
|
productContextButtonsConfig: e.productContextButtonsConfig
|
|
24455
|
-
}) : []), we =
|
|
24455
|
+
}) : []), we = mi(() => {
|
|
24456
24456
|
Y.value = window.innerWidth;
|
|
24457
24457
|
}, 20);
|
|
24458
24458
|
return Pr(() => {
|
|
24459
24459
|
window.removeEventListener("resize", we), we.cancel();
|
|
24460
24460
|
}), window.addEventListener("resize", we), we(), (ge, ke) => {
|
|
24461
|
-
const Te = Gn, Fe = Qv, vt = Tr, je = Kv, nn = Ac,
|
|
24461
|
+
const Te = Gn, Fe = Qv, vt = Tr, je = Kv, nn = Ac, ri = Uv, sn = Vv, $n = Ee, vi = Nv, Zn = mf, Nt = pf, me = gf, _e = zc, mt = Pa, _s = Ic, Li = rf, zi = ss;
|
|
24462
24462
|
return b(), J(fy, {
|
|
24463
24463
|
ref: "collapse-item-reference",
|
|
24464
24464
|
name: t.categoryItem.id,
|
|
@@ -24592,7 +24592,7 @@ const r2 = {
|
|
|
24592
24592
|
var Mt, vn;
|
|
24593
24593
|
return [
|
|
24594
24594
|
k("span", l2, [
|
|
24595
|
-
D(
|
|
24595
|
+
D(ri),
|
|
24596
24596
|
ne(" " + W((vn = (Mt = _.value) == null ? void 0 : Mt.manager) == null ? void 0 : vn.name), 1)
|
|
24597
24597
|
])
|
|
24598
24598
|
];
|
|
@@ -24861,7 +24861,7 @@ const r2 = {
|
|
|
24861
24861
|
}, 8, ["name", "data-id"]);
|
|
24862
24862
|
};
|
|
24863
24863
|
}
|
|
24864
|
-
}), _2 = /* @__PURE__ */
|
|
24864
|
+
}), _2 = /* @__PURE__ */ si(b2, [["__scopeId", "data-v-9ed22ab1"]]), w2 = { class: "sc-collapse flex w-full flex-col" }, x2 = {}, k2 = /* @__PURE__ */ re({
|
|
24865
24865
|
...x2,
|
|
24866
24866
|
__name: "collapse",
|
|
24867
24867
|
props: {
|
|
@@ -25059,7 +25059,7 @@ const r2 = {
|
|
|
25059
25059
|
"onUpdate:value": u
|
|
25060
25060
|
}, null, 8, ["value", "clearable", "consistent-menu-width", "disabled", "filterable", "max-tag-count", "multiple", "options"]));
|
|
25061
25061
|
}
|
|
25062
|
-
}), T2 = {},
|
|
25062
|
+
}), T2 = {}, PR = /* @__PURE__ */ re({
|
|
25063
25063
|
...T2,
|
|
25064
25064
|
__name: "set-client-price-form-item",
|
|
25065
25065
|
props: {
|
|
@@ -25261,7 +25261,7 @@ const r2 = {
|
|
|
25261
25261
|
}, 8, ["show-label", "label", "show-feedback", "feedback", "validation-status"]);
|
|
25262
25262
|
};
|
|
25263
25263
|
}
|
|
25264
|
-
}), R2 = { class: "text-sm" }, F2 = { class: "text-sm" }, M2 = {},
|
|
25264
|
+
}), R2 = { class: "text-sm" }, F2 = { class: "text-sm" }, M2 = {}, TR = /* @__PURE__ */ re({
|
|
25265
25265
|
...M2,
|
|
25266
25266
|
__name: "add-product-to-cart-dialog",
|
|
25267
25267
|
emits: ["submit"],
|
|
@@ -25624,7 +25624,7 @@ function j2(t, e) {
|
|
|
25624
25624
|
], -1)
|
|
25625
25625
|
])]);
|
|
25626
25626
|
}
|
|
25627
|
-
const q2 = Le({ name: "tabler-mail", render: j2 }), U2 = ["href"], X2 = {},
|
|
25627
|
+
const q2 = Le({ name: "tabler-mail", render: j2 }), U2 = ["href"], X2 = {}, RR = /* @__PURE__ */ re({
|
|
25628
25628
|
...X2,
|
|
25629
25629
|
__name: "email",
|
|
25630
25630
|
props: {
|
|
@@ -25786,7 +25786,7 @@ function ck(t, e) {
|
|
|
25786
25786
|
const uk = Le({ name: "tabler-phone-call", render: ck }), dk = {
|
|
25787
25787
|
key: 0,
|
|
25788
25788
|
class: "absolute left-0 top-0 flex w-full flex-row items-center justify-around text-center backdrop-blur-sm"
|
|
25789
|
-
}, hk = ["href"], fk = ["href"], gk = ["href"], pk = ["href"], mk = {},
|
|
25789
|
+
}, hk = ["href"], fk = ["href"], gk = ["href"], pk = ["href"], mk = {}, FR = /* @__PURE__ */ re({
|
|
25790
25790
|
...mk,
|
|
25791
25791
|
__name: "phone",
|
|
25792
25792
|
props: {
|
|
@@ -25803,13 +25803,13 @@ const uk = Le({ name: "tabler-phone-call", render: ck }), dk = {
|
|
|
25803
25803
|
return e.phone;
|
|
25804
25804
|
}), i = F(() => {
|
|
25805
25805
|
var a;
|
|
25806
|
-
return
|
|
25806
|
+
return di(n.value) ? !1 : ((a = n.value) == null ? void 0 : a.isValid()) ?? !1;
|
|
25807
25807
|
}), s = F(() => {
|
|
25808
25808
|
var a;
|
|
25809
|
-
return
|
|
25809
|
+
return di(n.value) ? n.value : ((a = n.value) == null ? void 0 : a.format("INTERNATIONAL")) ?? "";
|
|
25810
25810
|
}), r = F(() => {
|
|
25811
25811
|
var a;
|
|
25812
|
-
return
|
|
25812
|
+
return di(n.value) ? n.value : ((a = n.value) == null ? void 0 : a.format("E.164")) ?? "";
|
|
25813
25813
|
}), o = V(!1);
|
|
25814
25814
|
return (a, l) => {
|
|
25815
25815
|
const c = uk, u = Tg, d = Pg, h = $g, g = Sg;
|
|
@@ -25904,7 +25904,7 @@ const bk = Le({ name: "mdi-envelope", render: yk }), _k = { class: "flex flex-co
|
|
|
25904
25904
|
}, Ik = {
|
|
25905
25905
|
key: 0,
|
|
25906
25906
|
class: "-mt-1"
|
|
25907
|
-
}, Ek = {},
|
|
25907
|
+
}, Ek = {}, MR = /* @__PURE__ */ re({
|
|
25908
25908
|
...Ek,
|
|
25909
25909
|
__name: "person-contacts-block",
|
|
25910
25910
|
props: {
|
|
@@ -25923,15 +25923,15 @@ const bk = Le({ name: "mdi-envelope", render: yk }), _k = { class: "flex flex-co
|
|
|
25923
25923
|
return e.contact.phone;
|
|
25924
25924
|
}), s = F(() => {
|
|
25925
25925
|
var c;
|
|
25926
|
-
return
|
|
25926
|
+
return di(i.value) ? !1 : ((c = i.value) == null ? void 0 : c.isValid()) ?? !1;
|
|
25927
25927
|
}), r = F(
|
|
25928
25928
|
() => {
|
|
25929
25929
|
var c;
|
|
25930
|
-
return
|
|
25930
|
+
return di(i.value) ? i.value : ((c = i.value) == null ? void 0 : c.format("INTERNATIONAL")) ?? "";
|
|
25931
25931
|
}
|
|
25932
25932
|
), o = F(() => {
|
|
25933
25933
|
var c;
|
|
25934
|
-
return
|
|
25934
|
+
return di(i.value) ? i.value : ((c = i.value) == null ? void 0 : c.format("E.164")) ?? "";
|
|
25935
25935
|
}), a = F(() => s.value || e.contact.email), l = V(!1);
|
|
25936
25936
|
return (c, u) => {
|
|
25937
25937
|
var m, y;
|
|
@@ -26027,7 +26027,7 @@ const bk = Le({ name: "mdi-envelope", render: yk }), _k = { class: "flex flex-co
|
|
|
26027
26027
|
};
|
|
26028
26028
|
}
|
|
26029
26029
|
});
|
|
26030
|
-
class
|
|
26030
|
+
class BR {
|
|
26031
26031
|
/**
|
|
26032
26032
|
* Инициализирует экземпляр класса {@link ConfiguratorSettingsMosquito}.
|
|
26033
26033
|
*
|
|
@@ -26085,7 +26085,7 @@ class FR {
|
|
|
26085
26085
|
this.color = e.color, this.crossbarCount = e.crossbarCount, this.descriptions = cl(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 = cl(e.heightOverlaps), this.widthOverlaps = cl(e.widthOverlaps), this.canSetDopProdaga = e.canSetDopProdaga;
|
|
26086
26086
|
}
|
|
26087
26087
|
}
|
|
26088
|
-
function
|
|
26088
|
+
function AR(t) {
|
|
26089
26089
|
var e;
|
|
26090
26090
|
return ((e = t.properties) == null ? void 0 : e.configurator) !== un.SandwichM2 ? !0 : t.properties.configuratorSettings !== void 0 && ut(t.products) && t.products.length > 0;
|
|
26091
26091
|
}
|
|
@@ -26337,7 +26337,7 @@ const Fg = Le({ name: "mdi-chevron-left", render: Yk }), Kk = {
|
|
|
26337
26337
|
], 36);
|
|
26338
26338
|
};
|
|
26339
26339
|
}
|
|
26340
|
-
}), oC = /* @__PURE__ */
|
|
26340
|
+
}), oC = /* @__PURE__ */ si(rC, [["__scopeId", "data-v-a41e813d"]]), aC = { class: "flex items-center justify-between gap-2" }, lC = { class: "flex items-center gap-2" }, cC = { class: "text-center font-semibold" }, uC = { class: "grid grid-cols-3 gap-2" }, dC = ["onPointerdown", "onPointerenter", "onKeydown"], hC = {}, fC = /* @__PURE__ */ re({
|
|
26341
26341
|
...hC,
|
|
26342
26342
|
__name: "month-range-grid",
|
|
26343
26343
|
props: {
|
|
@@ -26437,7 +26437,7 @@ const Fg = Le({ name: "mdi-chevron-left", render: Yk }), Kk = {
|
|
|
26437
26437
|
], 36);
|
|
26438
26438
|
};
|
|
26439
26439
|
}
|
|
26440
|
-
}), gC = /* @__PURE__ */
|
|
26440
|
+
}), gC = /* @__PURE__ */ si(fC, [["__scopeId", "data-v-dd09a19d"]]), pC = { class: "sc-date-range-sidebar flex flex-col gap-1" }, mC = { class: "flex items-center justify-center gap-1" }, vC = { class: "min-w-12 text-center font-semibold" }, yC = { class: "grid grid-flow-col grid-cols-2 grid-rows-6 gap-1" }, bC = {}, _C = /* @__PURE__ */ re({
|
|
26441
26441
|
...bC,
|
|
26442
26442
|
__name: "month-year-sidebar",
|
|
26443
26443
|
props: {
|
|
@@ -26853,7 +26853,7 @@ const HC = Le({ name: "mdi-cog-outline", render: NC }), WC = { class: "grid gap-
|
|
|
26853
26853
|
setup(t, { emit: e }) {
|
|
26854
26854
|
const n = t, i = e, s = xa.standardPeriods(), o = V((() => {
|
|
26855
26855
|
const d = Zd, h = jr.getActualDataFromStorage(d);
|
|
26856
|
-
return (ut(h) ? h : Mg).filter((f) =>
|
|
26856
|
+
return (ut(h) ? h : Mg).filter((f) => di(f) && f in s);
|
|
26857
26857
|
})()), a = V(!1), l = F(
|
|
26858
26858
|
() => Object.entries(s).filter(([d]) => o.value.includes(d)).map(([d, h]) => ({
|
|
26859
26859
|
value: d,
|
|
@@ -27170,7 +27170,7 @@ const HC = Le({ name: "mdi-cog-outline", render: NC }), WC = { class: "grid gap-
|
|
|
27170
27170
|
}, 8, ["show", "style"]);
|
|
27171
27171
|
};
|
|
27172
27172
|
}
|
|
27173
|
-
}), vS = { class: "flex w-full min-w-0 items-center gap-1" }, yS = {},
|
|
27173
|
+
}), vS = { class: "flex w-full min-w-0 items-center gap-1" }, yS = {}, IR = /* @__PURE__ */ re({
|
|
27174
27174
|
...yS,
|
|
27175
27175
|
__name: "date-range",
|
|
27176
27176
|
props: {
|
|
@@ -27263,7 +27263,7 @@ const HC = Le({ name: "mdi-cog-outline", render: NC }), WC = { class: "grid gap-
|
|
|
27263
27263
|
}, W(i.value), 3)) : H("", !0)
|
|
27264
27264
|
], 2));
|
|
27265
27265
|
}
|
|
27266
|
-
}), wS = {},
|
|
27266
|
+
}), wS = {}, ER = /* @__PURE__ */ re({
|
|
27267
27267
|
...wS,
|
|
27268
27268
|
__name: "debt",
|
|
27269
27269
|
props: {
|
|
@@ -27286,7 +27286,7 @@ const HC = Le({ name: "mdi-cog-outline", render: NC }), WC = { class: "grid gap-
|
|
|
27286
27286
|
}, W(t.debt) + " ₽ ", 3)
|
|
27287
27287
|
], 2)) : H("", !0);
|
|
27288
27288
|
}
|
|
27289
|
-
}), xS = { class: "flex flex-row gap-2.5" }, kS = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, CS = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, SS = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, $S = {},
|
|
27289
|
+
}), xS = { class: "flex flex-row gap-2.5" }, kS = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, CS = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, SS = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, $S = {}, OR = /* @__PURE__ */ re({
|
|
27290
27290
|
...$S,
|
|
27291
27291
|
__name: "dialog-header",
|
|
27292
27292
|
props: {
|
|
@@ -27561,7 +27561,7 @@ const BS = Le({ name: "ion-options-outline", render: MS }), AS = { class: "flex
|
|
|
27561
27561
|
}, HS = {
|
|
27562
27562
|
key: 1,
|
|
27563
27563
|
class: "text-sc-dark-grey"
|
|
27564
|
-
}, WS = {},
|
|
27564
|
+
}, WS = {}, LR = /* @__PURE__ */ re({
|
|
27565
27565
|
...WS,
|
|
27566
27566
|
__name: "comment-editor",
|
|
27567
27567
|
props: {
|
|
@@ -27631,7 +27631,7 @@ function jS(t, e) {
|
|
|
27631
27631
|
}, null, -1)
|
|
27632
27632
|
])]);
|
|
27633
27633
|
}
|
|
27634
|
-
const qS = Le({ name: "ion-download-outline", render: jS }), US = {},
|
|
27634
|
+
const qS = Le({ name: "ion-download-outline", render: jS }), US = {}, zR = /* @__PURE__ */ re({
|
|
27635
27635
|
...US,
|
|
27636
27636
|
__name: "single-file-upload-selector",
|
|
27637
27637
|
props: {
|
|
@@ -27700,7 +27700,7 @@ function YS(t, e) {
|
|
|
27700
27700
|
}, null, -1)
|
|
27701
27701
|
])]);
|
|
27702
27702
|
}
|
|
27703
|
-
const KS = Le({ name: "ion-warning", render: YS }), GS = {},
|
|
27703
|
+
const KS = Le({ name: "ion-warning", render: YS }), GS = {}, DR = /* @__PURE__ */ re({
|
|
27704
27704
|
...GS,
|
|
27705
27705
|
__name: "warning-icon",
|
|
27706
27706
|
props: {
|
|
@@ -27726,7 +27726,7 @@ const KS = Le({ name: "ion-warning", render: YS }), GS = {}, LR = /* @__PURE__ *
|
|
|
27726
27726
|
}, 8, ["disabled"]);
|
|
27727
27727
|
};
|
|
27728
27728
|
}
|
|
27729
|
-
}), ZS = {},
|
|
27729
|
+
}), ZS = {}, NR = /* @__PURE__ */ re({
|
|
27730
27730
|
...ZS,
|
|
27731
27731
|
__name: "debounced-input",
|
|
27732
27732
|
props: {
|
|
@@ -27737,7 +27737,7 @@ const KS = Le({ name: "ion-warning", render: YS }), GS = {}, LR = /* @__PURE__ *
|
|
|
27737
27737
|
},
|
|
27738
27738
|
emits: ["update:value"],
|
|
27739
27739
|
setup(t, { emit: e }) {
|
|
27740
|
-
const n = t, i = e, s = V(n.value), r = F(() => et("debounce-input-time", n.debounceTime)), o =
|
|
27740
|
+
const n = t, i = e, s = V(n.value), r = F(() => et("debounce-input-time", n.debounceTime)), o = mi(
|
|
27741
27741
|
// eslint-disable-next-line func-names
|
|
27742
27742
|
() => i("update:value", s.value),
|
|
27743
27743
|
r.value
|
|
@@ -27764,7 +27764,7 @@ const KS = Le({ name: "ion-warning", render: YS }), GS = {}, LR = /* @__PURE__ *
|
|
|
27764
27764
|
_: 3
|
|
27765
27765
|
}, 8, ["value", "clearable", "placeholder"]));
|
|
27766
27766
|
}
|
|
27767
|
-
}), QS = {},
|
|
27767
|
+
}), QS = {}, HR = /* @__PURE__ */ re({
|
|
27768
27768
|
...QS,
|
|
27769
27769
|
__name: "debounced-input-number",
|
|
27770
27770
|
props: {
|
|
@@ -27781,7 +27781,7 @@ const KS = Le({ name: "ion-warning", render: YS }), GS = {}, LR = /* @__PURE__ *
|
|
|
27781
27781
|
},
|
|
27782
27782
|
emits: ["update:value", "keydown", "input", "focus"],
|
|
27783
27783
|
setup(t, { expose: e, emit: n }) {
|
|
27784
|
-
const i = t, s = n, r = V(i.value), o = F(() => et("debounce-input-time", i.debounceTime)), a =
|
|
27784
|
+
const i = t, s = n, r = V(i.value), o = F(() => et("debounce-input-time", i.debounceTime)), a = mi(
|
|
27785
27785
|
// eslint-disable-next-line func-names
|
|
27786
27786
|
() => s("update:value", r.value),
|
|
27787
27787
|
o.value
|
|
@@ -27845,13 +27845,13 @@ const KS = Le({ name: "ion-warning", render: YS }), GS = {}, LR = /* @__PURE__ *
|
|
|
27845
27845
|
},
|
|
27846
27846
|
emits: ["update:value"],
|
|
27847
27847
|
setup(t, { emit: e }) {
|
|
27848
|
-
const n = t, i = e, s = V((n.value ?? "").replaceAll(/\D*/g, "")), r =
|
|
27848
|
+
const n = t, i = e, s = V((n.value ?? "").replaceAll(/\D*/g, "")), r = mi(
|
|
27849
27849
|
// eslint-disable-next-line func-names
|
|
27850
27850
|
(l) => i("update:value", l),
|
|
27851
27851
|
n.debounceTime ?? 0
|
|
27852
27852
|
), o = (l) => {
|
|
27853
27853
|
let c = "";
|
|
27854
|
-
if (
|
|
27854
|
+
if (di(l))
|
|
27855
27855
|
s.value = l, c = l.replaceAll(/(\s|\(|\)|-|_)*/g, "");
|
|
27856
27856
|
else if (_m(l)) {
|
|
27857
27857
|
if (s.value = l.formatted, !l.valid)
|
|
@@ -27899,7 +27899,7 @@ const KS = Le({ name: "ion-warning", render: YS }), GS = {}, LR = /* @__PURE__ *
|
|
|
27899
27899
|
class: "tel-input"
|
|
27900
27900
|
}, null, 8, ["modelValue", "default-country", "disabled", "input-options", "preferred-countries", "only-countries"]));
|
|
27901
27901
|
}
|
|
27902
|
-
}),
|
|
27902
|
+
}), WR = /* @__PURE__ */ si(e5, [["__scopeId", "data-v-751dbb0e"]]), t5 = { class: "mb-7 grid grid-cols-2 gap-3.5 lg:grid-cols-4" }, n5 = { class: "mb-2 text-[11.5px] font-semibold uppercase text-gray-500" }, i5 = {}, VR = /* @__PURE__ */ re({
|
|
27903
27903
|
...i5,
|
|
27904
27904
|
__name: "kpi-grid",
|
|
27905
27905
|
props: {
|
|
@@ -27939,7 +27939,7 @@ function r5(t, e) {
|
|
|
27939
27939
|
}, null, -1)
|
|
27940
27940
|
])]);
|
|
27941
27941
|
}
|
|
27942
|
-
const o5 = Le({ name: "tabler-external-link", render: r5 }), a5 = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, l5 = ["href"], c5 = {},
|
|
27942
|
+
const o5 = Le({ name: "tabler-external-link", render: r5 }), a5 = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, l5 = ["href"], c5 = {}, jR = /* @__PURE__ */ re({
|
|
27943
27943
|
...c5,
|
|
27944
27944
|
__name: "external-link",
|
|
27945
27945
|
props: {
|
|
@@ -27977,7 +27977,7 @@ const o5 = Le({ name: "tabler-external-link", render: r5 }), a5 = { class: "flex
|
|
|
27977
27977
|
}, d5 = {
|
|
27978
27978
|
key: 2,
|
|
27979
27979
|
class: "flex flex-col gap-3"
|
|
27980
|
-
}, h5 = {},
|
|
27980
|
+
}, h5 = {}, qR = /* @__PURE__ */ re({
|
|
27981
27981
|
...h5,
|
|
27982
27982
|
__name: "compact-card-list",
|
|
27983
27983
|
props: {
|
|
@@ -28067,7 +28067,7 @@ function Ir(t) {
|
|
|
28067
28067
|
if (t != null)
|
|
28068
28068
|
return typeof t == "number" ? `${t}px` : t.endsWith("px") ? t : `${t}px`;
|
|
28069
28069
|
}
|
|
28070
|
-
function
|
|
28070
|
+
function ci(t, e) {
|
|
28071
28071
|
const n = t.trim().split(/\s+/g), i = {
|
|
28072
28072
|
top: n[0]
|
|
28073
28073
|
};
|
|
@@ -31249,7 +31249,7 @@ function Th(t) {
|
|
|
31249
31249
|
right: n,
|
|
31250
31250
|
top: i,
|
|
31251
31251
|
bottom: s
|
|
31252
|
-
} =
|
|
31252
|
+
} = ci(t);
|
|
31253
31253
|
return `${i} ${e} ${s} ${n}`;
|
|
31254
31254
|
}
|
|
31255
31255
|
var Rh = {};
|
|
@@ -31338,12 +31338,12 @@ const P4 = "n", T4 = `.${P4}-`, R4 = "__", F4 = "--", xp = np(), kp = $4({
|
|
|
31338
31338
|
xp.use(kp);
|
|
31339
31339
|
const {
|
|
31340
31340
|
c: $e,
|
|
31341
|
-
find:
|
|
31341
|
+
find: UR
|
|
31342
31342
|
} = xp, {
|
|
31343
31343
|
cB: Oe,
|
|
31344
31344
|
cE: De,
|
|
31345
31345
|
cM: Ge,
|
|
31346
|
-
cNotM:
|
|
31346
|
+
cNotM: ui
|
|
31347
31347
|
} = kp, M4 = (...t) => $e(">", [Oe(...t)]);
|
|
31348
31348
|
function Bt(t, e) {
|
|
31349
31349
|
return t + (e === "default" ? "" : e.replace(/^[a-z]/, (n) => n.toUpperCase()));
|
|
@@ -32576,7 +32576,7 @@ const M$ = Oe("base-clear", `
|
|
|
32576
32576
|
transform: translateY(-50%) translateX(-50%);
|
|
32577
32577
|
transition: inherit;
|
|
32578
32578
|
border-radius: inherit;
|
|
32579
|
-
`),
|
|
32579
|
+
`), ui("disabled", [$e("&:hover", `
|
|
32580
32580
|
color: var(--n-close-icon-color-hover);
|
|
32581
32581
|
`), $e("&:hover::before", `
|
|
32582
32582
|
background-color: var(--n-close-color-hover);
|
|
@@ -33260,14 +33260,14 @@ const lu = {
|
|
|
33260
33260
|
je();
|
|
33261
33261
|
}
|
|
33262
33262
|
function je() {
|
|
33263
|
-
nn(),
|
|
33263
|
+
nn(), ri();
|
|
33264
33264
|
}
|
|
33265
33265
|
function nn() {
|
|
33266
33266
|
x !== void 0 && window.clearTimeout(x), x = window.setTimeout(() => {
|
|
33267
33267
|
w.value = !1;
|
|
33268
33268
|
}, t.duration);
|
|
33269
33269
|
}
|
|
33270
|
-
function
|
|
33270
|
+
function ri() {
|
|
33271
33271
|
M !== void 0 && window.clearTimeout(M), M = window.setTimeout(() => {
|
|
33272
33272
|
y.value = !1;
|
|
33273
33273
|
}, t.duration);
|
|
@@ -33421,22 +33421,22 @@ const lu = {
|
|
|
33421
33421
|
right: qa,
|
|
33422
33422
|
bottom: Ua,
|
|
33423
33423
|
left: Xa
|
|
33424
|
-
} =
|
|
33424
|
+
} = ci(He), {
|
|
33425
33425
|
top: Ya,
|
|
33426
33426
|
right: Ka,
|
|
33427
33427
|
bottom: Ga,
|
|
33428
33428
|
left: Za
|
|
33429
|
-
} =
|
|
33429
|
+
} = ci(We), {
|
|
33430
33430
|
top: Qa,
|
|
33431
33431
|
right: Ja,
|
|
33432
33432
|
bottom: el,
|
|
33433
33433
|
left: tl
|
|
33434
|
-
} =
|
|
33434
|
+
} = ci(s != null && s.value ? Th(kt) : kt), {
|
|
33435
33435
|
top: nl,
|
|
33436
33436
|
right: il,
|
|
33437
33437
|
bottom: sl,
|
|
33438
33438
|
left: rl
|
|
33439
|
-
} =
|
|
33439
|
+
} = ci(s != null && s.value ? Th(yi) : yi);
|
|
33440
33440
|
return {
|
|
33441
33441
|
"--n-scrollbar-bezier": U,
|
|
33442
33442
|
"--n-scrollbar-color": ae,
|
|
@@ -34113,7 +34113,7 @@ const e6 = Oe("base-select-menu", `
|
|
|
34113
34113
|
background-color: var(--n-option-color-active-pending);
|
|
34114
34114
|
`)])]), Ge("disabled", `
|
|
34115
34115
|
cursor: not-allowed;
|
|
34116
|
-
`, [
|
|
34116
|
+
`, [ui("selected", `
|
|
34117
34117
|
color: var(--n-option-text-color-disabled);
|
|
34118
34118
|
`), Ge("selected", `
|
|
34119
34119
|
opacity: var(--n-option-opacity-disabled);
|
|
@@ -34228,7 +34228,7 @@ const e6 = Oe("base-select-menu", `
|
|
|
34228
34228
|
}), zn(() => {
|
|
34229
34229
|
g == null || g();
|
|
34230
34230
|
});
|
|
34231
|
-
const f = F(() => oo(s.value.self[Bt("optionHeight", t.size)])), p = F(() =>
|
|
34231
|
+
const f = F(() => oo(s.value.self[Bt("optionHeight", t.size)])), p = F(() => ci(s.value.self[Bt("padding", t.size)])), v = F(() => t.multiple && Array.isArray(t.value) ? new Set(t.value) : /* @__PURE__ */ new Set()), m = F(() => {
|
|
34232
34232
|
const B = l.value;
|
|
34233
34233
|
return B && B.length === 0;
|
|
34234
34234
|
});
|
|
@@ -34356,7 +34356,7 @@ const e6 = Oe("base-select-menu", `
|
|
|
34356
34356
|
actionTextColor: vt,
|
|
34357
34357
|
optionColorPending: je,
|
|
34358
34358
|
optionColorActive: nn,
|
|
34359
|
-
loadingColor:
|
|
34359
|
+
loadingColor: ri,
|
|
34360
34360
|
loadingSize: sn,
|
|
34361
34361
|
optionColorActivePending: $n,
|
|
34362
34362
|
[Bt("optionFontSize", B)]: vi,
|
|
@@ -34384,9 +34384,9 @@ const e6 = Oe("base-select-menu", `
|
|
|
34384
34384
|
"--n-option-text-color-disabled": ge,
|
|
34385
34385
|
"--n-option-text-color-pressed": ve,
|
|
34386
34386
|
"--n-option-padding": Nt,
|
|
34387
|
-
"--n-option-padding-left":
|
|
34388
|
-
"--n-option-padding-right":
|
|
34389
|
-
"--n-loading-color":
|
|
34387
|
+
"--n-option-padding-left": ci(Nt, "left"),
|
|
34388
|
+
"--n-option-padding-right": ci(Nt, "right"),
|
|
34389
|
+
"--n-loading-color": ri,
|
|
34390
34390
|
"--n-loading-size": sn
|
|
34391
34391
|
};
|
|
34392
34392
|
}), {
|
|
@@ -34576,10 +34576,10 @@ const Ep = {
|
|
|
34576
34576
|
`, [$e(">", [Oe("scrollbar", `
|
|
34577
34577
|
height: inherit;
|
|
34578
34578
|
max-height: inherit;
|
|
34579
|
-
`)]),
|
|
34579
|
+
`)]), ui("raw", `
|
|
34580
34580
|
background-color: var(--n-color);
|
|
34581
34581
|
border-radius: var(--n-border-radius);
|
|
34582
|
-
`, [
|
|
34582
|
+
`, [ui("scrollable", [ui("show-header-or-footer", "padding: var(--n-padding);")])]), De("header", `
|
|
34583
34583
|
padding: var(--n-padding);
|
|
34584
34584
|
border-bottom: 1px solid var(--n-divider-color);
|
|
34585
34585
|
transition: border-color .3s var(--n-bezier);
|
|
@@ -35602,10 +35602,10 @@ const m6 = {
|
|
|
35602
35602
|
box-shadow: none;
|
|
35603
35603
|
color: var(--n-text-color-checkable);
|
|
35604
35604
|
background-color: var(--n-color-checkable);
|
|
35605
|
-
`, [
|
|
35605
|
+
`, [ui("disabled", [$e("&:hover", "background-color: var(--n-color-hover-checkable);", [ui("checked", "color: var(--n-text-color-hover-checkable);")]), $e("&:active", "background-color: var(--n-color-pressed-checkable);", [ui("checked", "color: var(--n-text-color-pressed-checkable);")])]), Ge("checked", `
|
|
35606
35606
|
color: var(--n-text-color-checked);
|
|
35607
35607
|
background-color: var(--n-color-checked);
|
|
35608
|
-
`, [
|
|
35608
|
+
`, [ui("disabled", [$e("&:hover", "background-color: var(--n-color-checked-hover);"), $e("&:active", "background-color: var(--n-color-checked-pressed);")])])])]);
|
|
35609
35609
|
var b6 = {};
|
|
35610
35610
|
const _6 = Object.assign(Object.assign(Object.assign({}, mn.props), v6), {
|
|
35611
35611
|
bordered: {
|
|
@@ -35718,7 +35718,7 @@ const _6 = Object.assign(Object.assign(Object.assign({}, mn.props), v6), {
|
|
|
35718
35718
|
[Bt("closeColorHover", g)]: ve,
|
|
35719
35719
|
[Bt("closeColorPressed", g)]: we
|
|
35720
35720
|
}
|
|
35721
|
-
} = o.value, ge =
|
|
35721
|
+
} = o.value, ge = ci(w);
|
|
35722
35722
|
return {
|
|
35723
35723
|
"--n-font-weight-strong": oe,
|
|
35724
35724
|
"--n-avatar-size-override": `calc(${B} - 8px)`,
|
|
@@ -36111,7 +36111,7 @@ const Lp = {
|
|
|
36111
36111
|
white-space: nowrap;
|
|
36112
36112
|
`)]), De("render-label", `
|
|
36113
36113
|
color: var(--n-text-color);
|
|
36114
|
-
`)]),
|
|
36114
|
+
`)]), ui("disabled", [$e("&:hover", [De("state-border", `
|
|
36115
36115
|
box-shadow: var(--n-box-shadow-hover);
|
|
36116
36116
|
border: var(--n-border-hover);
|
|
36117
36117
|
`)]), Ge("focus", [De("state-border", `
|
|
@@ -36169,7 +36169,7 @@ const Lp = {
|
|
|
36169
36169
|
user-select: none;
|
|
36170
36170
|
-webkit-user-select: none;
|
|
36171
36171
|
opacity: 0;
|
|
36172
|
-
`)]), ["warning", "error"].map((t) => Ge(`${t}-status`, [De("state-border", `border: var(--n-border-${t});`),
|
|
36172
|
+
`)]), ["warning", "error"].map((t) => Ge(`${t}-status`, [De("state-border", `border: var(--n-border-${t});`), ui("disabled", [$e("&:hover", [De("state-border", `
|
|
36173
36173
|
box-shadow: var(--n-box-shadow-hover-${t});
|
|
36174
36174
|
border: var(--n-border-hover-${t});
|
|
36175
36175
|
`)]), Ge("active", [De("state-border", `
|
|
@@ -36446,7 +36446,7 @@ const Lp = {
|
|
|
36446
36446
|
function nn() {
|
|
36447
36447
|
je !== null && window.clearTimeout(je);
|
|
36448
36448
|
}
|
|
36449
|
-
function
|
|
36449
|
+
function ri() {
|
|
36450
36450
|
t.active || (nn(), je = window.setTimeout(() => {
|
|
36451
36451
|
C.value && (f.value = !0);
|
|
36452
36452
|
}, 100));
|
|
@@ -36525,7 +36525,7 @@ const Lp = {
|
|
|
36525
36525
|
[Bt("height", me)]: Yp,
|
|
36526
36526
|
[Bt("fontSize", me)]: Kp
|
|
36527
36527
|
}
|
|
36528
|
-
} = m.value, po =
|
|
36528
|
+
} = m.value, po = ci(ct), mo = ci(Nn);
|
|
36529
36529
|
return {
|
|
36530
36530
|
"--n-bezier": _e,
|
|
36531
36531
|
"--n-border": ze,
|
|
@@ -36618,7 +36618,7 @@ const Lp = {
|
|
|
36618
36618
|
handlePatternInputInput: ie,
|
|
36619
36619
|
handlePatternInputBlur: Y,
|
|
36620
36620
|
handlePatternInputFocus: Z,
|
|
36621
|
-
handleMouseEnterCounter:
|
|
36621
|
+
handleMouseEnterCounter: ri,
|
|
36622
36622
|
handleMouseLeaveCounter: sn,
|
|
36623
36623
|
handleFocusout: Q,
|
|
36624
36624
|
handleCompositionEnd: te,
|
|
@@ -37287,7 +37287,7 @@ const I6 = Object.assign(Object.assign({}, mn.props), {
|
|
|
37287
37287
|
function nn() {
|
|
37288
37288
|
c.value = !0;
|
|
37289
37289
|
}
|
|
37290
|
-
function
|
|
37290
|
+
function ri(U) {
|
|
37291
37291
|
var ae;
|
|
37292
37292
|
!((ae = C.value) === null || ae === void 0) && ae.$el.contains(U.relatedTarget) || (c.value = !1, K(U), ve());
|
|
37293
37293
|
}
|
|
@@ -37509,7 +37509,7 @@ const I6 = Object.assign(Object.assign({}, mn.props), {
|
|
|
37509
37509
|
onTriggerInputBlur: Te,
|
|
37510
37510
|
handleTriggerOrMenuResize: Nn,
|
|
37511
37511
|
handleMenuFocus: nn,
|
|
37512
|
-
handleMenuBlur:
|
|
37512
|
+
handleMenuBlur: ri,
|
|
37513
37513
|
handleMenuTabOut: sn,
|
|
37514
37514
|
handleTriggerClick: Fe,
|
|
37515
37515
|
handleToggle: Zn,
|
|
@@ -37699,7 +37699,7 @@ const I6 = Object.assign(Object.assign({}, mn.props), {
|
|
|
37699
37699
|
}));
|
|
37700
37700
|
};
|
|
37701
37701
|
let h = "";
|
|
37702
|
-
const g =
|
|
37702
|
+
const g = mi(
|
|
37703
37703
|
// eslint-disable-next-line func-names
|
|
37704
37704
|
() => d(h),
|
|
37705
37705
|
800
|
|
@@ -37809,7 +37809,7 @@ const I6 = Object.assign(Object.assign({}, mn.props), {
|
|
|
37809
37809
|
}), N6 = { class: "col-span-2 flex flex-row gap-2.5" }, H6 = { class: "flex-1" }, W6 = { class: "text-sc-grey" }, V6 = { class: "ml-2.5" }, j6 = {
|
|
37810
37810
|
key: 0,
|
|
37811
37811
|
class: "flex-none"
|
|
37812
|
-
}, q6 = {},
|
|
37812
|
+
}, q6 = {}, XR = /* @__PURE__ */ re({
|
|
37813
37813
|
...q6,
|
|
37814
37814
|
__name: "products-list",
|
|
37815
37815
|
props: {
|
|
@@ -37916,11 +37916,11 @@ const I6 = Object.assign(Object.assign({}, mn.props), {
|
|
|
37916
37916
|
});
|
|
37917
37917
|
};
|
|
37918
37918
|
}
|
|
37919
|
-
}), U6 = { class: "flex flex-col" }, X6 = { class: "flex flex-col gap-1.5 text-base text-nowrap" }, Y6 = { class: "font-medium" }, K6 = { class: "flex flex-col text-sc-dark-grey" }, G6 = { key: 0 }, Z6 = { class: "font-medium" }, Q6 = { class: "font-medium" }, J6 = { class: "font-medium" }, e8 = { class: "font-medium" }, t8 = { class: "font-medium" }, n8 = { class: "font-medium" }, i8 = { class: "font-medium" }, s8 = { class: "font-medium" }, r8 = { class: "font-medium" }, o8 = { class: "font-medium" }, a8 = { class: "flex flex-col gap-1.5 text-base text-nowrap" }, l8 = { class: "font-medium" }, c8 = { class: "flex flex-col text-sc-dark-grey" }, u8 = { class: "font-medium" }, d8 = { class: "font-medium" }, h8 = { class: "flex flex-col gap-1.5 text-base text-nowrap" }, f8 = { class: "font-medium" }, g8 = { class: "text-sc-dark-grey" }, p8 = { class: "font-medium" }, m8 = {
|
|
37919
|
+
}), U6 = { class: "flex flex-col" }, X6 = { class: "flex flex-col gap-1.5 text-base text-nowrap" }, Y6 = { class: "font-medium" }, K6 = { class: "flex flex-col text-sc-dark-grey" }, G6 = { key: 0 }, Z6 = { class: "font-medium" }, Q6 = { class: "font-medium" }, J6 = { class: "font-medium" }, e8 = { class: "font-medium" }, t8 = { class: "font-medium" }, n8 = { class: "font-medium" }, i8 = { class: "font-medium" }, s8 = { class: "font-medium" }, r8 = { class: "font-medium" }, o8 = { class: "font-medium" }, a8 = { class: "flex flex-col gap-1.5 text-base text-nowrap" }, l8 = { class: "font-medium" }, c8 = { class: "flex flex-col text-sc-dark-grey" }, u8 = { class: "font-medium" }, d8 = { class: "font-medium" }, h8 = { class: "flex flex-col gap-1.5 text-base text-nowrap" }, f8 = { class: "font-medium" }, g8 = { class: "text-sc-dark-grey" }, p8 = { class: "font-medium" }, m8 = { class: "text-xs" }, v8 = {
|
|
37920
37920
|
key: 1,
|
|
37921
37921
|
class: "text-base font-medium text-nowrap"
|
|
37922
|
-
},
|
|
37923
|
-
...
|
|
37922
|
+
}, y8 = {}, b8 = /* @__PURE__ */ re({
|
|
37923
|
+
...y8,
|
|
37924
37924
|
__name: "order-item-params",
|
|
37925
37925
|
props: {
|
|
37926
37926
|
item: {},
|
|
@@ -38077,7 +38077,7 @@ const I6 = Object.assign(Object.assign({}, mn.props), {
|
|
|
38077
38077
|
"button-placement": "both",
|
|
38078
38078
|
"update-value-on-input": t.updateQuantityOnInput,
|
|
38079
38079
|
disabled: !!i.value,
|
|
38080
|
-
loading:
|
|
38080
|
+
loading: i.value || void 0,
|
|
38081
38081
|
placeholder: "Кол-во",
|
|
38082
38082
|
size: "small",
|
|
38083
38083
|
class: "min-w-16 grow",
|
|
@@ -38086,34 +38086,34 @@ const I6 = Object.assign(Object.assign({}, mn.props), {
|
|
|
38086
38086
|
"onUpdate:value": d
|
|
38087
38087
|
}, {
|
|
38088
38088
|
suffix: I(() => [
|
|
38089
|
-
|
|
38089
|
+
k("span", m8, W(t.item.product.unit.name), 1)
|
|
38090
38090
|
]),
|
|
38091
38091
|
_: 1
|
|
38092
|
-
}, 8, ["value", "parse", "min", "step", "show-button", "update-value-on-input", "disabled", "loading", "onFocus"])) : (b(), R("span",
|
|
38092
|
+
}, 8, ["value", "parse", "min", "step", "show-button", "update-value-on-input", "disabled", "loading", "onFocus"])) : (b(), R("span", v8, W(t.item.quantity) + " " + W(t.item.product.unit.name), 1))
|
|
38093
38093
|
], 64))
|
|
38094
38094
|
]);
|
|
38095
38095
|
};
|
|
38096
38096
|
}
|
|
38097
|
-
}),
|
|
38097
|
+
}), Dp = /* @__PURE__ */ si(b8, [["__scopeId", "data-v-d3cb409d"]]), _8 = {
|
|
38098
38098
|
viewBox: "0 0 24 24",
|
|
38099
38099
|
width: "1.2em",
|
|
38100
38100
|
height: "1.2em"
|
|
38101
38101
|
};
|
|
38102
|
-
function
|
|
38103
|
-
return b(), R("svg",
|
|
38102
|
+
function w8(t, e) {
|
|
38103
|
+
return b(), R("svg", _8, [...e[0] || (e[0] = [
|
|
38104
38104
|
k("path", {
|
|
38105
38105
|
fill: "currentColor",
|
|
38106
38106
|
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"
|
|
38107
38107
|
}, null, -1)
|
|
38108
38108
|
])]);
|
|
38109
38109
|
}
|
|
38110
|
-
const
|
|
38110
|
+
const x8 = Le({ name: "tabler-truck-filled", render: w8 }), k8 = {
|
|
38111
38111
|
viewBox: "0 0 24 24",
|
|
38112
38112
|
width: "1.2em",
|
|
38113
38113
|
height: "1.2em"
|
|
38114
38114
|
};
|
|
38115
|
-
function
|
|
38116
|
-
return b(), R("svg",
|
|
38115
|
+
function C8(t, e) {
|
|
38116
|
+
return b(), R("svg", k8, [...e[0] || (e[0] = [
|
|
38117
38117
|
k("g", {
|
|
38118
38118
|
fill: "none",
|
|
38119
38119
|
stroke: "currentColor",
|
|
@@ -38126,13 +38126,13 @@ function x8(t, e) {
|
|
|
38126
38126
|
], -1)
|
|
38127
38127
|
])]);
|
|
38128
38128
|
}
|
|
38129
|
-
const
|
|
38129
|
+
const S8 = Le({ name: "tabler-truck-delivery", render: C8 }), $8 = {
|
|
38130
38130
|
viewBox: "0 0 24 24",
|
|
38131
38131
|
width: "1.2em",
|
|
38132
38132
|
height: "1.2em"
|
|
38133
38133
|
};
|
|
38134
|
-
function
|
|
38135
|
-
return b(), R("svg",
|
|
38134
|
+
function P8(t, e) {
|
|
38135
|
+
return b(), R("svg", $8, [...e[0] || (e[0] = [
|
|
38136
38136
|
k("g", {
|
|
38137
38137
|
fill: "none",
|
|
38138
38138
|
stroke: "currentColor",
|
|
@@ -38145,14 +38145,14 @@ function S8(t, e) {
|
|
|
38145
38145
|
], -1)
|
|
38146
38146
|
])]);
|
|
38147
38147
|
}
|
|
38148
|
-
const
|
|
38148
|
+
const T8 = Le({ name: "tabler-truck-loading", render: P8 }), R8 = { class: "flex flex-col gap-1" }, F8 = {
|
|
38149
38149
|
key: 0,
|
|
38150
38150
|
class: "flex flex-row gap-1 text-sm text-sc-grey"
|
|
38151
|
-
},
|
|
38151
|
+
}, M8 = {
|
|
38152
38152
|
key: 1,
|
|
38153
38153
|
class: "text-base"
|
|
38154
|
-
},
|
|
38155
|
-
...
|
|
38154
|
+
}, B8 = { class: "text-sc-dark-grey mr-1.5" }, A8 = { key: 0 }, I8 = { key: 1 }, E8 = {}, cu = /* @__PURE__ */ re({
|
|
38155
|
+
...E8,
|
|
38156
38156
|
__name: "order-delivery-label",
|
|
38157
38157
|
props: {
|
|
38158
38158
|
delivery: {},
|
|
@@ -38174,27 +38174,27 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38174
38174
|
), s = t;
|
|
38175
38175
|
return (r, o) => {
|
|
38176
38176
|
var u, d, h, g, f, p, v, m;
|
|
38177
|
-
const a =
|
|
38178
|
-
return b(), R("div",
|
|
38179
|
-
t.showType ? (b(), R("span",
|
|
38177
|
+
const a = T8, l = S8, c = x8;
|
|
38178
|
+
return b(), R("div", R8, [
|
|
38179
|
+
t.showType ? (b(), R("span", F8, [
|
|
38180
38180
|
((u = e.value) == null ? void 0 : u.slug) === "self_delivery" ? (b(), J(a, { key: 0 })) : H("", !0),
|
|
38181
38181
|
((d = e.value) == null ? void 0 : d.slug) === "delivery" ? (b(), J(l, { key: 1 })) : H("", !0),
|
|
38182
38182
|
((h = e.value) == null ? void 0 : h.slug) === "transport_company_delivery" ? (b(), J(c, { key: 2 })) : H("", !0),
|
|
38183
38183
|
k("span", null, W((g = e.value) == null ? void 0 : g.name), 1)
|
|
38184
38184
|
])) : H("", !0),
|
|
38185
|
-
t.showDetails ? (b(), R("span",
|
|
38186
|
-
k("span",
|
|
38187
|
-
(p = (f = t.delivery) == null ? void 0 : f.address) != null && p.address ? (b(), R("span",
|
|
38188
|
-
(m = (v = t.delivery) == null ? void 0 : v.warehouse) != null && m.address ? (b(), R("span",
|
|
38185
|
+
t.showDetails ? (b(), R("span", M8, [
|
|
38186
|
+
k("span", B8, W(n.value), 1),
|
|
38187
|
+
(p = (f = t.delivery) == null ? void 0 : f.address) != null && p.address ? (b(), R("span", A8, W(i.value), 1)) : H("", !0),
|
|
38188
|
+
(m = (v = t.delivery) == null ? void 0 : v.warehouse) != null && m.address ? (b(), R("span", I8, " со склада " + W(t.delivery.warehouse.address), 1)) : H("", !0)
|
|
38189
38189
|
])) : H("", !0)
|
|
38190
38190
|
]);
|
|
38191
38191
|
};
|
|
38192
38192
|
}
|
|
38193
|
-
}),
|
|
38193
|
+
}), O8 = { class: "flex flex-col gap-2.5" }, L8 = { class: "text-base" }, z8 = ["href"], D8 = {
|
|
38194
38194
|
key: 1,
|
|
38195
38195
|
class: "text-sc-grey"
|
|
38196
|
-
},
|
|
38197
|
-
...
|
|
38196
|
+
}, N8 = {}, H8 = /* @__PURE__ */ re({
|
|
38197
|
+
...N8,
|
|
38198
38198
|
__name: "order-common-info",
|
|
38199
38199
|
props: {
|
|
38200
38200
|
order: {},
|
|
@@ -38229,14 +38229,14 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38229
38229
|
}, l = F(() => e.fields.includes(tt.CreatedAt)), c = F(
|
|
38230
38230
|
() => e.fields.includes(tt.ClientInfo) || e.fields.includes(tt.ClientInfoShort) ? e.order.client : void 0
|
|
38231
38231
|
), u = F(() => e.fields.includes(tt.DeliveryInfo) ? e.order.delivery : void 0);
|
|
38232
|
-
return (d, h) => (b(), R("div",
|
|
38233
|
-
k("span",
|
|
38232
|
+
return (d, h) => (b(), R("div", O8, [
|
|
38233
|
+
k("span", L8, [
|
|
38234
38234
|
n.value ? (b(), R("a", {
|
|
38235
38235
|
key: 0,
|
|
38236
38236
|
href: t.orderUrl.replace(":id", t.order.id.toString()),
|
|
38237
38237
|
target: "_blank",
|
|
38238
38238
|
class: "text-sc-dark-grey"
|
|
38239
|
-
}, " #" + W(n.value), 9,
|
|
38239
|
+
}, " #" + W(n.value), 9, z8)) : H("", !0),
|
|
38240
38240
|
l.value ? (b(), R(ye, { key: 1 }, [
|
|
38241
38241
|
h[0] || (h[0] = ne(" от ", -1)),
|
|
38242
38242
|
D(mc, {
|
|
@@ -38250,7 +38250,7 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38250
38250
|
key: 0,
|
|
38251
38251
|
class: "font-medium",
|
|
38252
38252
|
style: en({ color: s.value.color })
|
|
38253
|
-
}, W(i.value), 5)) : (b(), R("span",
|
|
38253
|
+
}, W(i.value), 5)) : (b(), R("span", D8, W(i.value), 1))
|
|
38254
38254
|
], 64)) : H("", !0),
|
|
38255
38255
|
(b(!0), R(ye, null, Xe(o.value, (g) => (b(), R(ye, { key: g }, [
|
|
38256
38256
|
h[2] || (h[2] = ne(" - ", -1)),
|
|
@@ -38272,8 +38272,8 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38272
38272
|
}, null, 8, ["delivery"])) : H("", !0)
|
|
38273
38273
|
]));
|
|
38274
38274
|
}
|
|
38275
|
-
}),
|
|
38276
|
-
...
|
|
38275
|
+
}), W8 = {}, Np = /* @__PURE__ */ re({
|
|
38276
|
+
...W8,
|
|
38277
38277
|
__name: "order-payment",
|
|
38278
38278
|
props: {
|
|
38279
38279
|
payment: {}
|
|
@@ -38288,8 +38288,8 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38288
38288
|
return b(), R("span", null, W(((r = n.value) == null ? void 0 : r.name) ?? "-"), 1);
|
|
38289
38289
|
};
|
|
38290
38290
|
}
|
|
38291
|
-
}),
|
|
38292
|
-
...
|
|
38291
|
+
}), V8 = {}, j8 = /* @__PURE__ */ re({
|
|
38292
|
+
...V8,
|
|
38293
38293
|
__name: "order-item-specification",
|
|
38294
38294
|
props: {
|
|
38295
38295
|
src: {}
|
|
@@ -38313,8 +38313,8 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38313
38313
|
])
|
|
38314
38314
|
], 64));
|
|
38315
38315
|
}
|
|
38316
|
-
}),
|
|
38317
|
-
...
|
|
38316
|
+
}), q8 = {}, Hl = /* @__PURE__ */ re({
|
|
38317
|
+
...q8,
|
|
38318
38318
|
__name: "creator-user-type-tag",
|
|
38319
38319
|
props: {
|
|
38320
38320
|
userType: { default: void 0 },
|
|
@@ -38344,8 +38344,8 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38344
38344
|
class: Ie(`inline-block py-[0.0625rem] px-1.5 text-xs font-bold text-center whitespace-nowrap rounded text-white no-underline opacity-100 ${i.value}`)
|
|
38345
38345
|
}, W(s.value), 3));
|
|
38346
38346
|
}
|
|
38347
|
-
}),
|
|
38348
|
-
...
|
|
38347
|
+
}), U8 = { class: "flex flex-col gap-0.5" }, X8 = { class: "text-gray-600" }, Y8 = {}, Hp = /* @__PURE__ */ re({
|
|
38348
|
+
...Y8,
|
|
38349
38349
|
__name: "order-item-name",
|
|
38350
38350
|
props: {
|
|
38351
38351
|
item: {},
|
|
@@ -38368,7 +38368,7 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38368
38368
|
return "replacement" in e.item ? (u = (c = e.item.replacement) == null ? void 0 : c.creator) == null ? void 0 : u.type : void 0;
|
|
38369
38369
|
}
|
|
38370
38370
|
);
|
|
38371
|
-
return (c, u) => (b(), R("div",
|
|
38371
|
+
return (c, u) => (b(), R("div", U8, [
|
|
38372
38372
|
k("div", {
|
|
38373
38373
|
class: Ie(s.value ? "line-through opacity-50" : "")
|
|
38374
38374
|
}, [
|
|
@@ -38383,13 +38383,13 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38383
38383
|
class: Ie(s.value ? "line-through opacity-50" : "")
|
|
38384
38384
|
}, [
|
|
38385
38385
|
u[0] || (u[0] = ne(" Маркировка: ", -1)),
|
|
38386
|
-
k("span",
|
|
38386
|
+
k("span", X8, W(t.item.marker), 1)
|
|
38387
38387
|
], 2)) : H("", !0),
|
|
38388
38388
|
o.value ? (b(), R("div", {
|
|
38389
38389
|
key: 1,
|
|
38390
38390
|
class: Ie(s.value ? "line-through opacity-50" : "")
|
|
38391
38391
|
}, [
|
|
38392
|
-
D(
|
|
38392
|
+
D(j8, { src: o.value }, null, 8, ["src"])
|
|
38393
38393
|
], 2)) : H("", !0),
|
|
38394
38394
|
r.value && !s.value ? (b(), J(Hl, {
|
|
38395
38395
|
key: 2,
|
|
@@ -38411,8 +38411,8 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38411
38411
|
}, null, 8, ["user-type", "changed-fields"])) : H("", !0)
|
|
38412
38412
|
]));
|
|
38413
38413
|
}
|
|
38414
|
-
}),
|
|
38415
|
-
...
|
|
38414
|
+
}), K8 = { class: "flex flex-row gap-1.5" }, G8 = { class: "flex flex-1 flex-col gap-2.5" }, Z8 = { class: "flex items-start gap-1" }, Q8 = {}, J8 = /* @__PURE__ */ re({
|
|
38415
|
+
...Q8,
|
|
38416
38416
|
__name: "order-product-info",
|
|
38417
38417
|
props: {
|
|
38418
38418
|
product: {},
|
|
@@ -38424,17 +38424,17 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38424
38424
|
},
|
|
38425
38425
|
setup(t) {
|
|
38426
38426
|
const e = t, n = F(() => e.inactive ? "line-through opacity-50" : "");
|
|
38427
|
-
return (i, s) => (b(), R("div",
|
|
38427
|
+
return (i, s) => (b(), R("div", K8, [
|
|
38428
38428
|
k("span", {
|
|
38429
38429
|
class: Ie(["flex-none text-nowrap", n.value])
|
|
38430
38430
|
}, W(t.index + 1) + ". ", 3),
|
|
38431
|
-
k("div",
|
|
38431
|
+
k("div", G8, [
|
|
38432
38432
|
D(Hp, {
|
|
38433
38433
|
item: t.product,
|
|
38434
38434
|
inactive: t.inactive,
|
|
38435
38435
|
"show-code": ""
|
|
38436
38436
|
}, null, 8, ["item", "inactive"]),
|
|
38437
|
-
k("div",
|
|
38437
|
+
k("div", Z8, [
|
|
38438
38438
|
D(Dp, {
|
|
38439
38439
|
item: t.product,
|
|
38440
38440
|
"event-emitter": t.eventEmitter,
|
|
@@ -38461,14 +38461,14 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38461
38461
|
])
|
|
38462
38462
|
]));
|
|
38463
38463
|
}
|
|
38464
|
-
}),
|
|
38464
|
+
}), eP = { class: "flex items-center gap-1.5" }, tP = {
|
|
38465
38465
|
key: 0,
|
|
38466
38466
|
class: "h-1.5 w-1.5 shrink-0 rounded-full bg-current"
|
|
38467
|
-
},
|
|
38467
|
+
}, nP = {
|
|
38468
38468
|
key: 0,
|
|
38469
38469
|
class: "h-1.5 w-1.5 shrink-0 rounded-full bg-current"
|
|
38470
|
-
},
|
|
38471
|
-
...
|
|
38470
|
+
}, iP = {}, sP = /* @__PURE__ */ re({
|
|
38471
|
+
...iP,
|
|
38472
38472
|
__name: "order-status-tag",
|
|
38473
38473
|
props: {
|
|
38474
38474
|
status: {},
|
|
@@ -38489,8 +38489,8 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38489
38489
|
round: ""
|
|
38490
38490
|
}, {
|
|
38491
38491
|
default: I(() => [
|
|
38492
|
-
k("span",
|
|
38493
|
-
t.showDot ? (b(), R("span",
|
|
38492
|
+
k("span", eP, [
|
|
38493
|
+
t.showDot ? (b(), R("span", tP)) : H("", !0),
|
|
38494
38494
|
ne(" " + W(s.value), 1)
|
|
38495
38495
|
])
|
|
38496
38496
|
]),
|
|
@@ -38500,13 +38500,13 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38500
38500
|
class: "inline-flex items-center gap-1.5 font-medium",
|
|
38501
38501
|
style: en({ color: n.value.color })
|
|
38502
38502
|
}, [
|
|
38503
|
-
t.showDot ? (b(), R("span",
|
|
38503
|
+
t.showDot ? (b(), R("span", nP)) : H("", !0),
|
|
38504
38504
|
ne(" " + W(s.value), 1)
|
|
38505
38505
|
], 4));
|
|
38506
38506
|
};
|
|
38507
38507
|
}
|
|
38508
|
-
}),
|
|
38509
|
-
...
|
|
38508
|
+
}), rP = {}, Hh = /* @__PURE__ */ re({
|
|
38509
|
+
...rP,
|
|
38510
38510
|
__name: "order-color-swatch",
|
|
38511
38511
|
props: {
|
|
38512
38512
|
colors: {}
|
|
@@ -38517,13 +38517,13 @@ const $8 = Le({ name: "tabler-truck-loading", render: S8 }), P8 = { class: "flex
|
|
|
38517
38517
|
style: en({ backgroundColor: t.colors.backgroundColor, color: t.colors.textOnBackgroundColor, border: `1px solid ${t.colors.color}` })
|
|
38518
38518
|
}, " Аа ", 4));
|
|
38519
38519
|
}
|
|
38520
|
-
}),
|
|
38520
|
+
}), oP = {
|
|
38521
38521
|
viewBox: "0 0 512 512",
|
|
38522
38522
|
width: "1.2em",
|
|
38523
38523
|
height: "1.2em"
|
|
38524
38524
|
};
|
|
38525
|
-
function
|
|
38526
|
-
return b(), R("svg",
|
|
38525
|
+
function aP(t, e) {
|
|
38526
|
+
return b(), R("svg", oP, [...e[0] || (e[0] = [
|
|
38527
38527
|
k("path", {
|
|
38528
38528
|
fill: "none",
|
|
38529
38529
|
stroke: "currentColor",
|
|
@@ -38550,17 +38550,17 @@ function rP(t, e) {
|
|
|
38550
38550
|
}, null, -1)
|
|
38551
38551
|
])]);
|
|
38552
38552
|
}
|
|
38553
|
-
const
|
|
38553
|
+
const lP = Le({ name: "ion-trash-outline", render: aP }), cP = {
|
|
38554
38554
|
key: 0,
|
|
38555
38555
|
class: "!mb-3 !mt-0 text-base font-semibold"
|
|
38556
|
-
},
|
|
38556
|
+
}, uP = { class: "mb-1 flex flex-wrap items-baseline justify-between gap-2" }, dP = { class: "flex items-baseline gap-2" }, hP = { class: "text-base font-bold text-sc-dark-grey" }, fP = {
|
|
38557
38557
|
key: 0,
|
|
38558
38558
|
class: "text-sm text-sc-grey"
|
|
38559
|
-
},
|
|
38559
|
+
}, gP = {
|
|
38560
38560
|
key: 0,
|
|
38561
38561
|
class: "text-sm text-sc-dark-grey"
|
|
38562
|
-
},
|
|
38563
|
-
...
|
|
38562
|
+
}, pP = {}, mP = /* @__PURE__ */ re({
|
|
38563
|
+
...pP,
|
|
38564
38564
|
__name: "order-items-list",
|
|
38565
38565
|
props: /* @__PURE__ */ jl({
|
|
38566
38566
|
products: {},
|
|
@@ -38580,33 +38580,33 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38580
38580
|
}),
|
|
38581
38581
|
emits: ["update:selectedRowKeys"],
|
|
38582
38582
|
setup(t) {
|
|
38583
|
-
const e = t, n = Zh(t, "selectedRowKeys"), i = (
|
|
38584
|
-
|
|
38585
|
-
}, l = (
|
|
38586
|
-
class: n.value.includes(
|
|
38587
|
-
} : {}, c = (
|
|
38588
|
-
const
|
|
38589
|
-
if (!
|
|
38583
|
+
const e = t, n = Zh(t, "selectedRowKeys"), i = (m) => ka(m, "ord"), s = F(() => i(e.products)), r = (m) => e.isItemInactive ? e.isItemInactive(m) : !!m.isRemoved || !!m.replacementId, o = (m) => e.isItemSelectable ? e.isItemSelectable(m) : !r(m), a = (m, y) => {
|
|
38584
|
+
y ? n.value.includes(m) || (n.value = [...n.value, m]) : n.value = n.value.filter((w) => w !== m);
|
|
38585
|
+
}, l = (m) => e.selectable ? {
|
|
38586
|
+
class: n.value.includes(m.id) ? void 0 : "opacity-60"
|
|
38587
|
+
} : {}, c = (m, y) => {
|
|
38588
|
+
const w = s.value, _ = m.logicGroupId;
|
|
38589
|
+
if (!_)
|
|
38590
38590
|
return 1;
|
|
38591
|
-
const
|
|
38592
|
-
if (
|
|
38591
|
+
const C = w.at(y - 1);
|
|
38592
|
+
if (y && C && C.logicGroupId === _)
|
|
38593
38593
|
return 0;
|
|
38594
|
-
const
|
|
38595
|
-
return
|
|
38596
|
-
}, u = (
|
|
38594
|
+
const M = w.slice(y), x = M.findIndex((A) => A.logicGroupId !== _);
|
|
38595
|
+
return x === -1 ? M.length : x;
|
|
38596
|
+
}, u = (m) => r(m) ? null : G(
|
|
38597
38597
|
Ee,
|
|
38598
38598
|
{
|
|
38599
38599
|
quaternary: !0,
|
|
38600
38600
|
size: "small",
|
|
38601
38601
|
type: "error",
|
|
38602
38602
|
onClick: () => {
|
|
38603
|
-
var
|
|
38604
|
-
(
|
|
38603
|
+
var y;
|
|
38604
|
+
(y = e.eventEmitter) == null || y.emit("order-item:delete", { item: m });
|
|
38605
38605
|
}
|
|
38606
38606
|
},
|
|
38607
|
-
() => G(
|
|
38608
|
-
), d = V(xt.getDeviceTypeByResolution()), h = V(window.innerWidth), g = () => {
|
|
38609
|
-
const
|
|
38607
|
+
() => G(lP)
|
|
38608
|
+
), d = V(xt.getDeviceTypeByResolution()), h = V(window.innerWidth), g = F(() => !Ue(e.maxHeight)), f = () => {
|
|
38609
|
+
const m = [
|
|
38610
38610
|
// TODO: Избранный товар
|
|
38611
38611
|
// TODO: Ранее заказанный товар
|
|
38612
38612
|
// TODO: Привлечённая продажа
|
|
@@ -38616,21 +38616,22 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38616
38616
|
title: "№ п.п.",
|
|
38617
38617
|
key: "id",
|
|
38618
38618
|
resizable: !0,
|
|
38619
|
-
|
|
38620
|
-
|
|
38619
|
+
// Ширина подобрана так, чтобы «п.п.» в заголовке и трёхзначный номер позиции умещались в одну строку.
|
|
38620
|
+
width: 64,
|
|
38621
|
+
render: (w, _) => G("span", { class: `text-base text-nowrap${r(w) ? " line-through opacity-50" : ""}` }, [_ + 1, "."])
|
|
38621
38622
|
},
|
|
38622
38623
|
{
|
|
38623
38624
|
title: "Артикул",
|
|
38624
38625
|
key: "codeNumber",
|
|
38625
38626
|
resizable: !0,
|
|
38626
38627
|
width: h.value >= 1536 ? 156 : 120,
|
|
38627
|
-
render: (
|
|
38628
|
+
render: (w) => G("span", { class: `text-base${r(w) ? " line-through opacity-50" : ""}` }, [w.product.code])
|
|
38628
38629
|
},
|
|
38629
38630
|
{
|
|
38630
38631
|
title: "Наименование",
|
|
38631
38632
|
key: "name",
|
|
38632
38633
|
resizable: !0,
|
|
38633
|
-
render: (
|
|
38634
|
+
render: (w) => G(Hp, { item: w, inactive: r(w) })
|
|
38634
38635
|
},
|
|
38635
38636
|
{
|
|
38636
38637
|
title: "Кол-во",
|
|
@@ -38638,11 +38639,11 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38638
38639
|
resizable: !0,
|
|
38639
38640
|
width: 180,
|
|
38640
38641
|
rowSpan: c,
|
|
38641
|
-
render: (
|
|
38642
|
-
class: r(
|
|
38643
|
-
item:
|
|
38642
|
+
render: (w) => G(Dp, {
|
|
38643
|
+
class: r(w) ? "line-through opacity-50" : "",
|
|
38644
|
+
item: w,
|
|
38644
38645
|
eventEmitter: e.eventEmitter,
|
|
38645
|
-
allowEdit: e.allowEdit && !r(
|
|
38646
|
+
allowEdit: e.allowEdit && !r(w),
|
|
38646
38647
|
updateQuantityOnInput: e.updateQuantityOnInput
|
|
38647
38648
|
})
|
|
38648
38649
|
},
|
|
@@ -38650,15 +38651,19 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38650
38651
|
title: "Цена за ед.",
|
|
38651
38652
|
key: "costOneRub",
|
|
38652
38653
|
resizable: !0,
|
|
38653
|
-
|
|
38654
|
-
|
|
38654
|
+
// С ограничением высоты у таблицы фиксированная раскладка: ширина подобрана так, чтобы цена в валюте с единицей измерения
|
|
38655
|
+
// («40,7900 ¥/тыс. шт.») не наезжала на сумму. Без ограничения столбец сам расширяется под содержимое.
|
|
38656
|
+
width: g.value ? 170 : 120,
|
|
38657
|
+
render: (w) => G("div", { class: r(w) ? "line-through opacity-50" : "" }, [G(ps, { product: w, costFieldName: "costOne", showQuantityUnit: !0 })])
|
|
38655
38658
|
},
|
|
38656
38659
|
{
|
|
38657
38660
|
title: "Сумма",
|
|
38658
38661
|
key: "cost",
|
|
38659
38662
|
resizable: !0,
|
|
38660
|
-
|
|
38661
|
-
|
|
38663
|
+
// С ограничением высоты у таблицы фиксированная раскладка: ширина подобрана так, чтобы сумма в валюте с четырьмя знаками
|
|
38664
|
+
// после запятой умещалась в одну строку.
|
|
38665
|
+
width: g.value ? 140 : 120,
|
|
38666
|
+
render: (w) => G("div", { class: r(w) ? "line-through opacity-50" : "" }, [G(ps, { product: w, costFieldName: "cost", showCurrency: !0 })])
|
|
38662
38667
|
},
|
|
38663
38668
|
...e.extraColumns ?? [],
|
|
38664
38669
|
...e.allowEdit ? [
|
|
@@ -38667,25 +38672,25 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38667
38672
|
key: "delete",
|
|
38668
38673
|
width: 44,
|
|
38669
38674
|
rowSpan: c,
|
|
38670
|
-
render: (
|
|
38675
|
+
render: (w) => u(w)
|
|
38671
38676
|
}
|
|
38672
38677
|
] : []
|
|
38673
|
-
],
|
|
38678
|
+
], y = e.selectable ? [
|
|
38674
38679
|
{
|
|
38675
38680
|
key: "checkbox",
|
|
38676
38681
|
title: "",
|
|
38677
38682
|
className: "align-top",
|
|
38678
38683
|
width: "32",
|
|
38679
38684
|
// Кликабельна вся ячейка, а не только сам чекбокс; неактивные позиции не выбираются.
|
|
38680
|
-
cellProps: (
|
|
38681
|
-
class: o(
|
|
38685
|
+
cellProps: (w) => ({
|
|
38686
|
+
class: o(w) ? "cursor-pointer" : void 0,
|
|
38682
38687
|
onClick: () => {
|
|
38683
|
-
o(
|
|
38688
|
+
o(w) && a(w.id, !n.value.includes(w.id));
|
|
38684
38689
|
}
|
|
38685
38690
|
}),
|
|
38686
|
-
render: (
|
|
38687
|
-
checked: n.value.includes(
|
|
38688
|
-
disabled: !o(
|
|
38691
|
+
render: (w) => G(Gn, {
|
|
38692
|
+
checked: n.value.includes(w.id),
|
|
38693
|
+
disabled: !o(w)
|
|
38689
38694
|
})
|
|
38690
38695
|
}
|
|
38691
38696
|
] : [];
|
|
@@ -38693,69 +38698,69 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38693
38698
|
case pt.phone:
|
|
38694
38699
|
case pt.tablet:
|
|
38695
38700
|
return [
|
|
38696
|
-
...
|
|
38701
|
+
...y,
|
|
38697
38702
|
{
|
|
38698
38703
|
title: "",
|
|
38699
38704
|
key: "items",
|
|
38700
38705
|
resizable: !0,
|
|
38701
|
-
render: (
|
|
38702
|
-
const
|
|
38706
|
+
render: (w, _) => {
|
|
38707
|
+
const C = c(w, _) > 0, M = e.allowEdit && !r(w) && C;
|
|
38703
38708
|
return G(
|
|
38704
|
-
|
|
38709
|
+
J8,
|
|
38705
38710
|
{
|
|
38706
|
-
product:
|
|
38707
|
-
index:
|
|
38711
|
+
product: w,
|
|
38712
|
+
index: _,
|
|
38708
38713
|
eventEmitter: e.eventEmitter,
|
|
38709
|
-
allowEdit:
|
|
38714
|
+
allowEdit: M,
|
|
38710
38715
|
updateQuantityOnInput: e.updateQuantityOnInput,
|
|
38711
|
-
inactive: r(
|
|
38716
|
+
inactive: r(w)
|
|
38712
38717
|
},
|
|
38713
|
-
{ actions: () => u(
|
|
38718
|
+
{ actions: () => u(w) }
|
|
38714
38719
|
);
|
|
38715
38720
|
}
|
|
38716
38721
|
}
|
|
38717
38722
|
];
|
|
38718
38723
|
case pt.laptop:
|
|
38719
|
-
return [...
|
|
38724
|
+
return [...y, ...m];
|
|
38720
38725
|
default:
|
|
38721
|
-
return [...
|
|
38726
|
+
return [...y, ...m];
|
|
38722
38727
|
}
|
|
38723
|
-
},
|
|
38728
|
+
}, p = F(() => f()), v = () => {
|
|
38724
38729
|
d.value = xt.getDeviceTypeByResolution(), h.value = window.innerWidth;
|
|
38725
38730
|
};
|
|
38726
38731
|
return lt(() => {
|
|
38727
|
-
|
|
38732
|
+
v(), window.addEventListener("resize", v);
|
|
38728
38733
|
}), Pr(() => {
|
|
38729
|
-
window.removeEventListener("resize",
|
|
38730
|
-
}), (
|
|
38731
|
-
const
|
|
38734
|
+
window.removeEventListener("resize", v);
|
|
38735
|
+
}), (m, y) => {
|
|
38736
|
+
const w = Ic;
|
|
38732
38737
|
return b(), R(ye, null, [
|
|
38733
|
-
t.title ? (b(), R("h3",
|
|
38734
|
-
t.groups ? (b(!0), R(ye, { key: 1 }, Xe(t.groups, (
|
|
38735
|
-
key:
|
|
38738
|
+
t.title ? (b(), R("h3", cP, W(t.title), 1)) : H("", !0),
|
|
38739
|
+
t.groups ? (b(!0), R(ye, { key: 1 }, Xe(t.groups, (_) => (b(), R("div", {
|
|
38740
|
+
key: _.name,
|
|
38736
38741
|
class: "mb-6 last:mb-0"
|
|
38737
38742
|
}, [
|
|
38738
|
-
k("div",
|
|
38739
|
-
k("div",
|
|
38740
|
-
k("span",
|
|
38741
|
-
|
|
38743
|
+
k("div", uP, [
|
|
38744
|
+
k("div", dP, [
|
|
38745
|
+
k("span", hP, W(_.name), 1),
|
|
38746
|
+
_.description ? (b(), R("span", fP, W(_.description), 1)) : H("", !0)
|
|
38742
38747
|
]),
|
|
38743
|
-
|
|
38748
|
+
_.summary ? (b(), R("span", gP, W(_.summary), 1)) : H("", !0)
|
|
38744
38749
|
]),
|
|
38745
|
-
D(
|
|
38746
|
-
columns:
|
|
38747
|
-
data: i(
|
|
38748
|
-
"row-key": (
|
|
38750
|
+
D(w, {
|
|
38751
|
+
columns: p.value,
|
|
38752
|
+
data: i(_.items),
|
|
38753
|
+
"row-key": (C) => C.id,
|
|
38749
38754
|
"row-props": l,
|
|
38750
38755
|
"bottom-bordered": !1,
|
|
38751
38756
|
bordered: !1,
|
|
38752
38757
|
"max-height": t.maxHeight
|
|
38753
38758
|
}, null, 8, ["columns", "data", "row-key", "max-height"])
|
|
38754
|
-
]))), 128)) : (b(), J(
|
|
38759
|
+
]))), 128)) : (b(), J(w, {
|
|
38755
38760
|
key: 2,
|
|
38756
|
-
columns:
|
|
38761
|
+
columns: p.value,
|
|
38757
38762
|
data: s.value,
|
|
38758
|
-
"row-key": (
|
|
38763
|
+
"row-key": (_) => _.id,
|
|
38759
38764
|
"row-props": l,
|
|
38760
38765
|
"bottom-bordered": !1,
|
|
38761
38766
|
bordered: !1,
|
|
@@ -38764,14 +38769,14 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38764
38769
|
], 64);
|
|
38765
38770
|
};
|
|
38766
38771
|
}
|
|
38767
|
-
}),
|
|
38772
|
+
}), vP = /* @__PURE__ */ si(mP, [["__scopeId", "data-v-a24b5175"]]), yP = {
|
|
38768
38773
|
key: 0,
|
|
38769
38774
|
class: "text-sc-dark-grey my-2 text-center"
|
|
38770
|
-
},
|
|
38775
|
+
}, bP = {
|
|
38771
38776
|
key: 1,
|
|
38772
38777
|
class: "text-sc-dark-grey my-2"
|
|
38773
|
-
},
|
|
38774
|
-
...
|
|
38778
|
+
}, _P = {}, wP = /* @__PURE__ */ re({
|
|
38779
|
+
..._P,
|
|
38775
38780
|
__name: "order-status-history",
|
|
38776
38781
|
props: {
|
|
38777
38782
|
order: {}
|
|
@@ -38798,13 +38803,13 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38798
38803
|
const l = ss, c = av, u = ov;
|
|
38799
38804
|
return b(), R("div", null, [
|
|
38800
38805
|
a[1] || (a[1] = k("h3", { class: "!mb-3 !mt-0 text-base font-semibold" }, "История статусов", -1)),
|
|
38801
|
-
n.value ? (b(), R("div",
|
|
38806
|
+
n.value ? (b(), R("div", yP, [
|
|
38802
38807
|
D(l, {
|
|
38803
38808
|
size: "small",
|
|
38804
38809
|
class: "mb-1 align-middle"
|
|
38805
38810
|
}),
|
|
38806
38811
|
a[0] || (a[0] = k("span", { class: "ml-2" }, "Загрузка истории ...", -1))
|
|
38807
|
-
])) : i.value.length === 0 ? (b(), R("div",
|
|
38812
|
+
])) : i.value.length === 0 ? (b(), R("div", bP, " История статусов отсутствует. ")) : (b(), J(u, { key: 2 }, {
|
|
38808
38813
|
default: I(() => [
|
|
38809
38814
|
(b(!0), R(ye, null, Xe(i.value, (d, h) => (b(), J(c, {
|
|
38810
38815
|
key: h,
|
|
@@ -38813,7 +38818,7 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38813
38818
|
content: d.user.name
|
|
38814
38819
|
}, {
|
|
38815
38820
|
header: I(() => [
|
|
38816
|
-
D(
|
|
38821
|
+
D(sP, {
|
|
38817
38822
|
status: d.status,
|
|
38818
38823
|
"status-detail": d.statusDetail,
|
|
38819
38824
|
variant: h === 0 ? "filled" : "text",
|
|
@@ -38829,8 +38834,8 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38829
38834
|
]);
|
|
38830
38835
|
};
|
|
38831
38836
|
}
|
|
38832
|
-
}),
|
|
38833
|
-
...
|
|
38837
|
+
}), xP = { class: "text-base" }, kP = {}, Wh = /* @__PURE__ */ re({
|
|
38838
|
+
...kP,
|
|
38834
38839
|
__name: "user-short-info",
|
|
38835
38840
|
props: {
|
|
38836
38841
|
user: {},
|
|
@@ -38841,15 +38846,15 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38841
38846
|
return (e, n) => (b(), R("div", {
|
|
38842
38847
|
class: Ie({ "flex flex-col": t.showUserType && t.extraInfoOnSecondLine })
|
|
38843
38848
|
}, [
|
|
38844
|
-
k("span",
|
|
38849
|
+
k("span", xP, W(t.user.name), 1),
|
|
38845
38850
|
t.showUserType ? (b(), R("span", {
|
|
38846
38851
|
key: 0,
|
|
38847
38852
|
class: Ie([{ "ml-1": !t.extraInfoOnSecondLine }, "text-sc-grey"])
|
|
38848
38853
|
}, " [" + W(t.user.type) + "] ", 3)) : H("", !0)
|
|
38849
38854
|
], 2));
|
|
38850
38855
|
}
|
|
38851
|
-
}),
|
|
38852
|
-
...
|
|
38856
|
+
}), CP = { class: "ml-4 grid grid-cols-3 gap-1.5 text-base" }, SP = { class: "col-span-2" }, $P = { class: "col-span-2" }, PP = {}, TP = /* @__PURE__ */ re({
|
|
38857
|
+
...PP,
|
|
38853
38858
|
__name: "order-details",
|
|
38854
38859
|
props: {
|
|
38855
38860
|
order: {}
|
|
@@ -38859,7 +38864,7 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38859
38864
|
const n = e;
|
|
38860
38865
|
return (i, s) => (b(), R("div", null, [
|
|
38861
38866
|
s[11] || (s[11] = k("h3", null, "Детали заказа", -1)),
|
|
38862
|
-
k("div",
|
|
38867
|
+
k("div", CP, [
|
|
38863
38868
|
t.order.creator.id !== t.order.client.id ? (b(), R(ye, { key: 0 }, [
|
|
38864
38869
|
s[1] || (s[1] = k("span", null, "Создал", -1)),
|
|
38865
38870
|
D(Wh, {
|
|
@@ -38889,7 +38894,7 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38889
38894
|
], 64)) : H("", !0),
|
|
38890
38895
|
t.order.barcode ? (b(), R(ye, { key: 3 }, [
|
|
38891
38896
|
s[5] || (s[5] = k("span", null, "Штрих-код", -1)),
|
|
38892
|
-
k("span",
|
|
38897
|
+
k("span", SP, W(t.order.barcode), 1)
|
|
38893
38898
|
], 64)) : H("", !0),
|
|
38894
38899
|
t.order.payment ? (b(), R(ye, { key: 4 }, [
|
|
38895
38900
|
s[6] || (s[6] = k("span", null, "Оплата", -1)),
|
|
@@ -38907,7 +38912,7 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38907
38912
|
], 64)) : H("", !0),
|
|
38908
38913
|
t.order.comment ? (b(), R(ye, { key: 6 }, [
|
|
38909
38914
|
s[8] || (s[8] = k("span", null, "Комментарий", -1)),
|
|
38910
|
-
k("span",
|
|
38915
|
+
k("span", $P, W(t.order.comment), 1)
|
|
38911
38916
|
], 64)) : H("", !0),
|
|
38912
38917
|
t.order.attachedUser ? (b(), R(ye, { key: 7 }, [
|
|
38913
38918
|
s[9] || (s[9] = k("span", null, "Закреплен за", -1)),
|
|
@@ -38919,13 +38924,13 @@ const oP = Le({ name: "ion-trash-outline", render: rP }), aP = {
|
|
|
38919
38924
|
])
|
|
38920
38925
|
]));
|
|
38921
38926
|
}
|
|
38922
|
-
}),
|
|
38927
|
+
}), RP = {
|
|
38923
38928
|
viewBox: "0 0 512 512",
|
|
38924
38929
|
width: "1.2em",
|
|
38925
38930
|
height: "1.2em"
|
|
38926
38931
|
};
|
|
38927
|
-
function
|
|
38928
|
-
return b(), R("svg",
|
|
38932
|
+
function FP(t, e) {
|
|
38933
|
+
return b(), R("svg", RP, [...e[0] || (e[0] = [
|
|
38929
38934
|
k("rect", {
|
|
38930
38935
|
width: "336",
|
|
38931
38936
|
height: "336",
|
|
@@ -38948,8 +38953,8 @@ function TP(t, e) {
|
|
|
38948
38953
|
}, null, -1)
|
|
38949
38954
|
])]);
|
|
38950
38955
|
}
|
|
38951
|
-
const
|
|
38952
|
-
...
|
|
38956
|
+
const MP = Le({ name: "ion-copy-outline", render: FP }), BP = { class: "flex flex-col items-stretch gap-1.5 text-base" }, AP = {}, IP = /* @__PURE__ */ re({
|
|
38957
|
+
...AP,
|
|
38953
38958
|
__name: "order-external-links",
|
|
38954
38959
|
props: {
|
|
38955
38960
|
showErpLink: { type: Boolean, default: !1 },
|
|
@@ -38963,10 +38968,10 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
38963
38968
|
});
|
|
38964
38969
|
return (n, i) => {
|
|
38965
38970
|
var o;
|
|
38966
|
-
const s = Ee, r =
|
|
38971
|
+
const s = Ee, r = MP;
|
|
38967
38972
|
return e.value ? (b(), R(ye, { key: 0 }, [
|
|
38968
38973
|
i[2] || (i[2] = k("h3", { class: "!mb-3 !mt-0 text-base font-semibold" }, "Внешние ссылки", -1)),
|
|
38969
|
-
k("div",
|
|
38974
|
+
k("div", BP, [
|
|
38970
38975
|
t.showErpLink && t.order.erpOrderUrl ? (b(), J(s, {
|
|
38971
38976
|
key: 0,
|
|
38972
38977
|
tag: "a",
|
|
@@ -39010,11 +39015,11 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39010
39015
|
], 64)) : H("", !0);
|
|
39011
39016
|
};
|
|
39012
39017
|
}
|
|
39013
|
-
}),
|
|
39018
|
+
}), EP = /* @__PURE__ */ si(IP, [["__scopeId", "data-v-6a3ae627"]]), OP = { key: 0 }, LP = { class: "text-sc-dark-grey my-2 text-center" }, zP = {
|
|
39014
39019
|
key: 1,
|
|
39015
39020
|
class: "text-sc-dark-grey my-2 text-center"
|
|
39016
|
-
},
|
|
39017
|
-
...
|
|
39021
|
+
}, DP = { key: 2 }, NP = { class: "text-sc-dark-grey mt-4 text-right font-bold" }, HP = { class: "text-sc-primary" }, WP = { class: "mb-4 max-w-xs empty:hidden" }, VP = {}, jP = /* @__PURE__ */ re({
|
|
39022
|
+
...VP,
|
|
39018
39023
|
__name: "order-info",
|
|
39019
39024
|
props: {
|
|
39020
39025
|
order: {},
|
|
@@ -39051,8 +39056,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39051
39056
|
o();
|
|
39052
39057
|
}), (c, u) => {
|
|
39053
39058
|
const d = ss;
|
|
39054
|
-
return s.value ? (b(), R("div",
|
|
39055
|
-
k("div",
|
|
39059
|
+
return s.value ? (b(), R("div", OP, [
|
|
39060
|
+
k("div", LP, [
|
|
39056
39061
|
D(d, {
|
|
39057
39062
|
size: "small",
|
|
39058
39063
|
class: "mb-2.5 align-middle"
|
|
@@ -39061,32 +39066,32 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39061
39066
|
k("span", null, "Загрузка данных ...")
|
|
39062
39067
|
], -1))
|
|
39063
39068
|
])
|
|
39064
|
-
])) : !r.value || r.value.products.length === 0 ? (b(), R("div",
|
|
39065
|
-
D(
|
|
39069
|
+
])) : !r.value || r.value.products.length === 0 ? (b(), R("div", zP, " --- Не удалось загрузить данные о заказе --- ")) : (b(), R("div", DP, [
|
|
39070
|
+
D(vP, {
|
|
39066
39071
|
products: a.value,
|
|
39067
39072
|
"event-emitter": t.eventEmitter,
|
|
39068
39073
|
"allow-edit": t.allowEdit
|
|
39069
39074
|
}, null, 8, ["products", "event-emitter", "allow-edit"]),
|
|
39070
|
-
k("div",
|
|
39075
|
+
k("div", NP, [
|
|
39071
39076
|
u[2] || (u[2] = ne(" ИТОГО: ", -1)),
|
|
39072
|
-
k("span",
|
|
39077
|
+
k("span", HP, W(l.value) + " ₽", 1)
|
|
39073
39078
|
]),
|
|
39074
|
-
D(
|
|
39079
|
+
D(TP, {
|
|
39075
39080
|
order: r.value,
|
|
39076
39081
|
"onClick:clientName": u[0] || (u[0] = (h) => i("click:client-name", r.value.client, h))
|
|
39077
39082
|
}, null, 8, ["order"]),
|
|
39078
|
-
k("div",
|
|
39079
|
-
D(
|
|
39083
|
+
k("div", WP, [
|
|
39084
|
+
D(EP, {
|
|
39080
39085
|
order: r.value,
|
|
39081
39086
|
"show-erp-link": ""
|
|
39082
39087
|
}, null, 8, ["order"])
|
|
39083
39088
|
]),
|
|
39084
|
-
D(
|
|
39089
|
+
D(wP, { order: r.value }, null, 8, ["order"])
|
|
39085
39090
|
]));
|
|
39086
39091
|
};
|
|
39087
39092
|
}
|
|
39088
|
-
}),
|
|
39089
|
-
...
|
|
39093
|
+
}), qP = {}, UP = /* @__PURE__ */ re({
|
|
39094
|
+
...qP,
|
|
39090
39095
|
__name: "order-actions",
|
|
39091
39096
|
props: {
|
|
39092
39097
|
orderContextButtonsConfig: { type: Function, default: void 0 },
|
|
@@ -39126,8 +39131,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39126
39131
|
}, 8, ["options", "size"])) : H("", !0);
|
|
39127
39132
|
};
|
|
39128
39133
|
}
|
|
39129
|
-
}),
|
|
39130
|
-
...
|
|
39134
|
+
}), XP = {}, YP = /* @__PURE__ */ re({
|
|
39135
|
+
...XP,
|
|
39131
39136
|
__name: "orders-list",
|
|
39132
39137
|
props: /* @__PURE__ */ jl({
|
|
39133
39138
|
fields: {},
|
|
@@ -39199,7 +39204,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39199
39204
|
}, le = {
|
|
39200
39205
|
type: "expand",
|
|
39201
39206
|
expandable: Ca(!0),
|
|
39202
|
-
renderExpand: (Y) => G(
|
|
39207
|
+
renderExpand: (Y) => G(jP, {
|
|
39203
39208
|
order: Y,
|
|
39204
39209
|
class: "pl-10 pt-3 pb-10",
|
|
39205
39210
|
"onClick:client-name": () => {
|
|
@@ -39331,7 +39336,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39331
39336
|
title: "",
|
|
39332
39337
|
className: "align-top",
|
|
39333
39338
|
width: 50,
|
|
39334
|
-
render: (Y) => G(
|
|
39339
|
+
render: (Y) => G(UP, {
|
|
39335
39340
|
order: Y,
|
|
39336
39341
|
orderContextButtonsConfig: i.orderContextButtonsConfig,
|
|
39337
39342
|
onOrderContextSelect: i.onOrderContextSelect
|
|
@@ -39376,7 +39381,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39376
39381
|
title: "Заказ",
|
|
39377
39382
|
resizable: !0,
|
|
39378
39383
|
// eslint-disable-next-line vue/max-len
|
|
39379
|
-
render: (Y) => G(
|
|
39384
|
+
render: (Y) => G(H8, { order: Y, fields: X, orderUrl: i.orderUrl, highlightSettings: f.value })
|
|
39380
39385
|
}
|
|
39381
39386
|
];
|
|
39382
39387
|
case pt.laptop: {
|
|
@@ -39543,11 +39548,11 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39543
39548
|
}, null, 8, ["columns", "data", "row-key", "scroll-x", "pagination", "loading", "max-height"]);
|
|
39544
39549
|
};
|
|
39545
39550
|
}
|
|
39546
|
-
}),
|
|
39551
|
+
}), YR = /* @__PURE__ */ si(YP, [["__scopeId", "data-v-aff76adb"]]), KR = F(() => Dt().deliveryTypeReference ?? []), GR = F(() => Dt().managersList ?? []), ZR = F(() => Dt().opfReference ?? []), QR = F(() => Dt().partnerGroupsReference ?? []), JR = F(() => Dt().priceCoefficientsReference ?? []), eF = F(() => Dt().productFilesTypesReference ?? []), tF = F(() => Dt().resourceTypesReference), nF = F(() => Dt().salesDirectionsReference ?? []), iF = F(() => Dt().warehousesReference ?? []), sF = F(() => Dt().paymentTypeReference ?? []), KP = F(() => Dt().orderStatusReference ?? []), rF = F(() => Dt().orderStatusDetailReference ?? []), oF = F(() => Dt().operatorReference ?? []), aF = F(
|
|
39547
39552
|
() => tn.convertReferencesToSelectOptionsList(Dt().channelPrimaryInterestsReference ?? [], !0, !1, !0)
|
|
39548
|
-
),
|
|
39553
|
+
), lF = F(
|
|
39549
39554
|
() => tn.convertReferencesToSelectOptionsList(Dt().sourcePrimaryInterestsReference ?? [], !0, !1, !0)
|
|
39550
|
-
),
|
|
39555
|
+
), cF = (t) => Yn.getInstance(jh).searchCity(t), uF = (t) => tn.convertReferencesToSelectOptionsList(
|
|
39551
39556
|
t,
|
|
39552
39557
|
!0,
|
|
39553
39558
|
!1,
|
|
@@ -39559,14 +39564,14 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39559
39564
|
},
|
|
39560
39565
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
39561
39566
|
(e) => e == null ? void 0 : e.isNewRec()
|
|
39562
|
-
),
|
|
39567
|
+
), dF = async (t) => Yo(await Yn.getInstance(jh).searchRegion(t), (e) => new um(e)), hF = (t) => tn.convertReferencesToSelectOptionsList(
|
|
39563
39568
|
t,
|
|
39564
39569
|
!0,
|
|
39565
39570
|
!1,
|
|
39566
39571
|
!1,
|
|
39567
39572
|
(e) => e.isNewRec() ? "-" : Sm(Vl([e.name, e.country.name]), ", "),
|
|
39568
39573
|
(e) => e.isNewRec()
|
|
39569
|
-
),
|
|
39574
|
+
), fF = (t) => Yn.getInstance(dm).searchClient(t), gF = (t) => tn.convertReferencesToSelectOptionsList(
|
|
39570
39575
|
t,
|
|
39571
39576
|
!0,
|
|
39572
39577
|
!1,
|
|
@@ -39581,8 +39586,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39581
39586
|
].filter(Boolean).join(" "),
|
|
39582
39587
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
39583
39588
|
(e) => e == null ? void 0 : e.isNewRec()
|
|
39584
|
-
),
|
|
39585
|
-
...
|
|
39589
|
+
), GP = { class: "flex flex-col gap-4" }, ZP = { class: "flex flex-wrap gap-2" }, QP = { class: "flex flex-col gap-1.5" }, JP = { class: "inline-flex items-center gap-2" }, eT = { class: "flex flex-col gap-1.5" }, tT = { class: "inline-flex items-center gap-2" }, nT = {}, pF = /* @__PURE__ */ re({
|
|
39590
|
+
...nT,
|
|
39586
39591
|
__name: "order-highlight-settings",
|
|
39587
39592
|
props: {
|
|
39588
39593
|
settings: {},
|
|
@@ -39590,7 +39595,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39590
39595
|
},
|
|
39591
39596
|
emits: ["update:settings"],
|
|
39592
39597
|
setup(t, { emit: e }) {
|
|
39593
|
-
const n = t, i = e, s = F(() => n.statuses ??
|
|
39598
|
+
const n = t, i = e, s = F(() => n.statuses ?? KP.value), r = (c) => !!c && n.settings.statuses.includes(c), o = (c, u) => {
|
|
39594
39599
|
if (!c)
|
|
39595
39600
|
return;
|
|
39596
39601
|
const d = n.settings.statuses.filter((h) => h !== c);
|
|
@@ -39606,8 +39611,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39606
39611
|
};
|
|
39607
39612
|
return (c, u) => {
|
|
39608
39613
|
const d = Ee, h = Gn;
|
|
39609
|
-
return b(), R("div",
|
|
39610
|
-
k("div",
|
|
39614
|
+
return b(), R("div", GP, [
|
|
39615
|
+
k("div", ZP, [
|
|
39611
39616
|
D(d, {
|
|
39612
39617
|
size: "small",
|
|
39613
39618
|
onClick: u[0] || (u[0] = (g) => l(!0))
|
|
@@ -39627,7 +39632,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39627
39632
|
_: 1
|
|
39628
39633
|
})
|
|
39629
39634
|
]),
|
|
39630
|
-
k("div",
|
|
39635
|
+
k("div", QP, [
|
|
39631
39636
|
u[4] || (u[4] = k("div", { class: "text-sm font-semibold" }, "Статусы", -1)),
|
|
39632
39637
|
(b(!0), R(ye, null, Xe(s.value, (g) => (b(), J(h, {
|
|
39633
39638
|
key: g.id,
|
|
@@ -39635,7 +39640,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39635
39640
|
"onUpdate:checked": (f) => o(g.slug, f)
|
|
39636
39641
|
}, {
|
|
39637
39642
|
default: I(() => [
|
|
39638
|
-
k("span",
|
|
39643
|
+
k("span", JP, [
|
|
39639
39644
|
D(Hh, {
|
|
39640
39645
|
colors: T(Fr)(g.slug)
|
|
39641
39646
|
}, null, 8, ["colors"]),
|
|
@@ -39645,7 +39650,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39645
39650
|
_: 2
|
|
39646
39651
|
}, 1032, ["checked", "onUpdate:checked"]))), 128))
|
|
39647
39652
|
]),
|
|
39648
|
-
k("div",
|
|
39653
|
+
k("div", eT, [
|
|
39649
39654
|
u[5] || (u[5] = k("div", { class: "text-sm font-semibold" }, "Маркеры", -1)),
|
|
39650
39655
|
(b(!0), R(ye, null, Xe(T(Ul), (g) => (b(), J(h, {
|
|
39651
39656
|
key: g,
|
|
@@ -39653,7 +39658,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39653
39658
|
"onUpdate:checked": (f) => a(g, f)
|
|
39654
39659
|
}, {
|
|
39655
39660
|
default: I(() => [
|
|
39656
|
-
k("span",
|
|
39661
|
+
k("span", tT, [
|
|
39657
39662
|
D(Hh, {
|
|
39658
39663
|
colors: T(Zo)(g)
|
|
39659
39664
|
}, null, 8, ["colors"]),
|
|
@@ -39666,8 +39671,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39666
39671
|
]);
|
|
39667
39672
|
};
|
|
39668
39673
|
}
|
|
39669
|
-
}),
|
|
39670
|
-
...
|
|
39674
|
+
}), iT = ["href"], sT = { class: "text-sc-dark-grey" }, rT = {}, mF = /* @__PURE__ */ re({
|
|
39675
|
+
...rT,
|
|
39671
39676
|
__name: "short-text-order-info",
|
|
39672
39677
|
props: {
|
|
39673
39678
|
order: {},
|
|
@@ -39684,21 +39689,21 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39684
39689
|
k("a", {
|
|
39685
39690
|
href: t.orderLink ?? "#",
|
|
39686
39691
|
onClick: a[0] || (a[0] = (l) => r(l))
|
|
39687
|
-
}, W(t.order.id), 9,
|
|
39692
|
+
}, W(t.order.id), 9, iT),
|
|
39688
39693
|
ne(" от " + W(s.value), 1)
|
|
39689
39694
|
]),
|
|
39690
39695
|
a[2] || (a[2] = ne(", ", -1)),
|
|
39691
|
-
k("span",
|
|
39696
|
+
k("span", sT, "автор: " + W(t.order.creator.name) + " [" + W(t.order.creator.type) + "]", 1)
|
|
39692
39697
|
], 64));
|
|
39693
39698
|
}
|
|
39694
|
-
}),
|
|
39699
|
+
}), oT = { class: "sc-page flex flex-col bg-inherit" }, aT = { class: "my-2 flex flex-row items-end" }, lT = { class: "sc-title grow" }, cT = {
|
|
39695
39700
|
key: 0,
|
|
39696
39701
|
class: "sc-title-buttons flex-1 grow-0"
|
|
39697
|
-
},
|
|
39702
|
+
}, uT = { class: "flex flex-col justify-end gap-1 sm:mt-0 sm:flex-row" }, dT = {
|
|
39698
39703
|
key: 0,
|
|
39699
39704
|
class: "sc-title-extra mt-2 sm:mt-4"
|
|
39700
|
-
},
|
|
39701
|
-
...
|
|
39705
|
+
}, hT = {}, fT = /* @__PURE__ */ re({
|
|
39706
|
+
...hT,
|
|
39702
39707
|
__name: "page",
|
|
39703
39708
|
props: {
|
|
39704
39709
|
title: { default: void 0 },
|
|
@@ -39710,13 +39715,13 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39710
39715
|
const e = t, n = F(() => e.stickyHeaderOnMobile ? "sticky z-10 bg-inherit" : "lg:sticky z-10 bg-inherit");
|
|
39711
39716
|
return (i, s) => {
|
|
39712
39717
|
const r = lv;
|
|
39713
|
-
return b(), R("div",
|
|
39718
|
+
return b(), R("div", oT, [
|
|
39714
39719
|
k("div", {
|
|
39715
39720
|
class: Ie(t.stickyHeader ? n.value : void 0),
|
|
39716
39721
|
style: en(t.stickyHeader ? { top: `${t.stickyTopOffset ?? 0}px` } : void 0)
|
|
39717
39722
|
}, [
|
|
39718
|
-
k("div",
|
|
39719
|
-
k("div",
|
|
39723
|
+
k("div", aT, [
|
|
39724
|
+
k("div", lT, [
|
|
39720
39725
|
Pe(i.$slots, "title", {}, () => [
|
|
39721
39726
|
D(r, { class: "m-0 leading-none lg:mb-3 lg:leading-normal" }, {
|
|
39722
39727
|
default: I(() => [
|
|
@@ -39726,13 +39731,13 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39726
39731
|
})
|
|
39727
39732
|
])
|
|
39728
39733
|
]),
|
|
39729
|
-
i.$slots["title-buttons"] ? (b(), R("div",
|
|
39730
|
-
k("div",
|
|
39734
|
+
i.$slots["title-buttons"] ? (b(), R("div", cT, [
|
|
39735
|
+
k("div", uT, [
|
|
39731
39736
|
Pe(i.$slots, "title-buttons")
|
|
39732
39737
|
])
|
|
39733
39738
|
])) : H("", !0)
|
|
39734
39739
|
]),
|
|
39735
|
-
i.$slots["title-extra"] ? (b(), R("div",
|
|
39740
|
+
i.$slots["title-extra"] ? (b(), R("div", dT, [
|
|
39736
39741
|
Pe(i.$slots, "title-extra")
|
|
39737
39742
|
])) : H("", !0),
|
|
39738
39743
|
Pe(i.$slots, "sticky-extra")
|
|
@@ -39741,8 +39746,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39741
39746
|
]);
|
|
39742
39747
|
};
|
|
39743
39748
|
}
|
|
39744
|
-
}),
|
|
39745
|
-
...
|
|
39749
|
+
}), gT = { class: "overflow-hidden transition-all duration-300" }, pT = { class: "text-lg font-medium leading-none" }, mT = {}, vT = /* @__PURE__ */ re({
|
|
39750
|
+
...mT,
|
|
39746
39751
|
__name: "sliding-content-with-drawer",
|
|
39747
39752
|
props: {
|
|
39748
39753
|
drawerWidth: { type: [Number, Function], default: void 0 },
|
|
@@ -39783,7 +39788,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39783
39788
|
}), a(), window.addEventListener("resize", a), (l, c) => {
|
|
39784
39789
|
const u = sf, d = nf;
|
|
39785
39790
|
return b(), R(ye, null, [
|
|
39786
|
-
k("div",
|
|
39791
|
+
k("div", gT, [
|
|
39787
39792
|
k("div", {
|
|
39788
39793
|
style: en(`margin-left: ${s.value}px;`),
|
|
39789
39794
|
class: "w-full"
|
|
@@ -39802,7 +39807,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39802
39807
|
D(u, { closable: "" }, {
|
|
39803
39808
|
header: I(() => [
|
|
39804
39809
|
Pe(l.$slots, "drawer-header", {}, () => [
|
|
39805
|
-
k("div",
|
|
39810
|
+
k("div", pT, W(t.title), 1)
|
|
39806
39811
|
])
|
|
39807
39812
|
]),
|
|
39808
39813
|
default: I(() => [
|
|
@@ -39819,14 +39824,14 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39819
39824
|
], 64);
|
|
39820
39825
|
};
|
|
39821
39826
|
}
|
|
39822
|
-
}),
|
|
39827
|
+
}), yT = {
|
|
39823
39828
|
ref: "panel-component-ref",
|
|
39824
39829
|
class: "sc-page-panel flex flex-row gap-2.5 bg-inherit sm:gap-8"
|
|
39825
|
-
},
|
|
39830
|
+
}, bT = { key: 0 }, _T = { class: "sc-page-preview-panel grow" }, wT = {
|
|
39826
39831
|
key: 1,
|
|
39827
39832
|
class: "sc-page-preview-panel-extra flex-none"
|
|
39828
|
-
},
|
|
39829
|
-
...
|
|
39833
|
+
}, xT = {}, vF = /* @__PURE__ */ re({
|
|
39834
|
+
...xT,
|
|
39830
39835
|
__name: "page-with-sliding-panel",
|
|
39831
39836
|
props: {
|
|
39832
39837
|
title: {},
|
|
@@ -39870,14 +39875,14 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39870
39875
|
closePanel: s
|
|
39871
39876
|
}), (a, l) => {
|
|
39872
39877
|
const c = Ee;
|
|
39873
|
-
return b(), J(
|
|
39878
|
+
return b(), J(fT, {
|
|
39874
39879
|
title: t.title,
|
|
39875
39880
|
"sticky-header": t.stickyHeader,
|
|
39876
39881
|
"sticky-top-offset": t.stickyTopOffset,
|
|
39877
39882
|
"sticky-header-on-mobile": t.stickyHeaderOnMobile
|
|
39878
39883
|
}, ts({
|
|
39879
39884
|
default: I(() => [
|
|
39880
|
-
D(
|
|
39885
|
+
D(vT, {
|
|
39881
39886
|
"show-drawer": n.value,
|
|
39882
39887
|
"onUpdate:showDrawer": l[1] || (l[1] = (u) => n.value = u),
|
|
39883
39888
|
title: t.panelTitle
|
|
@@ -39932,8 +39937,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39932
39937
|
a.$slots["preview-panel"] || a.$slots["preview-panel-extra"] || t.isShowPanelButtonVisible ? {
|
|
39933
39938
|
name: "sticky-extra",
|
|
39934
39939
|
fn: I(() => [
|
|
39935
|
-
k("div",
|
|
39936
|
-
t.isShowPanelButtonVisible ? (b(), R("div",
|
|
39940
|
+
k("div", yT, [
|
|
39941
|
+
t.isShowPanelButtonVisible ? (b(), R("div", bT, [
|
|
39937
39942
|
Pe(a.$slots, "show-panel-button", {
|
|
39938
39943
|
onClickHandler: () => {
|
|
39939
39944
|
n.value = !0;
|
|
@@ -39950,10 +39955,10 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39950
39955
|
})
|
|
39951
39956
|
])
|
|
39952
39957
|
])) : H("", !0),
|
|
39953
|
-
k("div",
|
|
39958
|
+
k("div", _T, [
|
|
39954
39959
|
Pe(a.$slots, "preview-panel")
|
|
39955
39960
|
]),
|
|
39956
|
-
a.$slots["preview-panel-extra"] ? (b(), R("div",
|
|
39961
|
+
a.$slots["preview-panel-extra"] ? (b(), R("div", wT, [
|
|
39957
39962
|
Pe(a.$slots, "preview-panel-extra")
|
|
39958
39963
|
])) : H("", !0)
|
|
39959
39964
|
], 512)
|
|
@@ -39963,8 +39968,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
39963
39968
|
]), 1032, ["title", "sticky-header", "sticky-top-offset", "sticky-header-on-mobile"]);
|
|
39964
39969
|
};
|
|
39965
39970
|
}
|
|
39966
|
-
}),
|
|
39967
|
-
...
|
|
39971
|
+
}), kT = {}, yF = /* @__PURE__ */ re({
|
|
39972
|
+
...kT,
|
|
39968
39973
|
__name: "curator-select",
|
|
39969
39974
|
props: {
|
|
39970
39975
|
value: { default: null },
|
|
@@ -40057,8 +40062,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40057
40062
|
"onUpdate:value": d
|
|
40058
40063
|
}, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
|
|
40059
40064
|
}
|
|
40060
|
-
}),
|
|
40061
|
-
...
|
|
40065
|
+
}), CT = {}, bF = /* @__PURE__ */ re({
|
|
40066
|
+
...CT,
|
|
40062
40067
|
__name: "manager-operator-select",
|
|
40063
40068
|
props: {
|
|
40064
40069
|
value: { default: null },
|
|
@@ -40174,8 +40179,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40174
40179
|
"onUpdate:value": f
|
|
40175
40180
|
}, null, 8, ["value", "clearable", "consistent-menu-width", "disabled", "filterable", "max-tag-count", "multiple", "options"]));
|
|
40176
40181
|
}
|
|
40177
|
-
}),
|
|
40178
|
-
...
|
|
40182
|
+
}), ST = {}, _F = /* @__PURE__ */ re({
|
|
40183
|
+
...ST,
|
|
40179
40184
|
__name: "manager-select",
|
|
40180
40185
|
props: {
|
|
40181
40186
|
value: { default: null },
|
|
@@ -40279,12 +40284,12 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40279
40284
|
"onUpdate:value": d
|
|
40280
40285
|
}, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
|
|
40281
40286
|
}
|
|
40282
|
-
}),
|
|
40287
|
+
}), $T = { class: "m-0.5 flex flex-col p-0.5" }, PT = { class: "flex flex-row gap-1" }, TT = { key: 0 }, RT = { key: 1 }, FT = { key: 2 }, MT = { key: 3 }, BT = { class: "flex flex-row gap-1" }, AT = { key: 0 }, IT = { key: 1 }, ET = { key: 2 }, OT = { key: 3 }, LT = {
|
|
40283
40288
|
key: 0,
|
|
40284
40289
|
"data-testid": "address-quality-label",
|
|
40285
40290
|
class: "text-sc-warning text-xs"
|
|
40286
|
-
},
|
|
40287
|
-
...
|
|
40291
|
+
}, zT = {}, DT = /* @__PURE__ */ re({
|
|
40292
|
+
...zT,
|
|
40288
40293
|
__name: "address-suggestion-label",
|
|
40289
40294
|
props: {
|
|
40290
40295
|
addr: {},
|
|
@@ -40292,20 +40297,20 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40292
40297
|
},
|
|
40293
40298
|
setup(t) {
|
|
40294
40299
|
const e = t, n = F(() => hf.getLabel(e.addr.quality));
|
|
40295
|
-
return (i, s) => (b(), R("div",
|
|
40296
|
-
k("span",
|
|
40297
|
-
t.addr.postIndex ? (b(), R("span",
|
|
40298
|
-
t.addr.city ? (b(), R("span",
|
|
40299
|
-
t.addr.locality ? (b(), R("span",
|
|
40300
|
-
t.addr.region ? (b(), R("span",
|
|
40300
|
+
return (i, s) => (b(), R("div", $T, [
|
|
40301
|
+
k("span", PT, [
|
|
40302
|
+
t.addr.postIndex ? (b(), R("span", TT, W(t.addr.postIndex) + ", ", 1)) : H("", !0),
|
|
40303
|
+
t.addr.city ? (b(), R("span", RT, W(t.addr.city) + ", ", 1)) : H("", !0),
|
|
40304
|
+
t.addr.locality ? (b(), R("span", FT, W(t.addr.locality) + ", ", 1)) : H("", !0),
|
|
40305
|
+
t.addr.region ? (b(), R("span", MT, W(t.addr.region) + ", ", 1)) : H("", !0)
|
|
40301
40306
|
]),
|
|
40302
|
-
k("span",
|
|
40303
|
-
t.addr.street ? (b(), R("span",
|
|
40304
|
-
t.addr.building ? (b(), R("span",
|
|
40305
|
-
t.addr.buildingPart ? (b(), R("span",
|
|
40306
|
-
t.addr.apartments ? (b(), R("span",
|
|
40307
|
+
k("span", BT, [
|
|
40308
|
+
t.addr.street ? (b(), R("span", AT, W(t.addr.street) + ", ", 1)) : H("", !0),
|
|
40309
|
+
t.addr.building ? (b(), R("span", IT, W(t.addr.building) + ", ", 1)) : H("", !0),
|
|
40310
|
+
t.addr.buildingPart ? (b(), R("span", ET, W(t.addr.buildingPart) + ", ", 1)) : H("", !0),
|
|
40311
|
+
t.addr.apartments ? (b(), R("span", OT, W(t.addr.apartments) + ", ", 1)) : H("", !0)
|
|
40307
40312
|
]),
|
|
40308
|
-
n.value ? (b(), R("span",
|
|
40313
|
+
n.value ? (b(), R("span", LT, W(n.value), 1)) : H("", !0)
|
|
40309
40314
|
]));
|
|
40310
40315
|
}
|
|
40311
40316
|
}), uu = {
|
|
@@ -40313,8 +40318,8 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40313
40318
|
value: "",
|
|
40314
40319
|
field: void 0,
|
|
40315
40320
|
disabled: !1
|
|
40316
|
-
},
|
|
40317
|
-
...
|
|
40321
|
+
}, NT = {}, wF = /* @__PURE__ */ re({
|
|
40322
|
+
...NT,
|
|
40318
40323
|
__name: "address-suggestion",
|
|
40319
40324
|
props: /* @__PURE__ */ Mc({
|
|
40320
40325
|
disabled: { type: Boolean },
|
|
@@ -40353,7 +40358,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40353
40358
|
), xe(r, () => {
|
|
40354
40359
|
s("update:value", r.value);
|
|
40355
40360
|
});
|
|
40356
|
-
const c =
|
|
40361
|
+
const c = mi(
|
|
40357
40362
|
// eslint-disable-next-line func-names
|
|
40358
40363
|
() => u(),
|
|
40359
40364
|
800
|
|
@@ -40364,7 +40369,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40364
40369
|
}, d = (p, v) => {
|
|
40365
40370
|
const m = a.value.find((y) => y.id === p.value) || {};
|
|
40366
40371
|
return G(
|
|
40367
|
-
|
|
40372
|
+
DT,
|
|
40368
40373
|
{
|
|
40369
40374
|
addr: m,
|
|
40370
40375
|
selected: v
|
|
@@ -40408,24 +40413,24 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40408
40413
|
}, null, 8, ["value", "class", "clearable", "disabled", "loading", "options", "to", "onUpdate:value"]);
|
|
40409
40414
|
};
|
|
40410
40415
|
}
|
|
40411
|
-
}),
|
|
40412
|
-
...
|
|
40416
|
+
}), HT = { class: "m-0.5 flex flex-col p-0.5" }, WT = { class: "font-medium" }, VT = { class: "flex flex-row gap-1 text-xs font-light text-blue-800" }, jT = { key: 0 }, qT = { key: 1 }, UT = {}, XT = /* @__PURE__ */ re({
|
|
40417
|
+
...UT,
|
|
40413
40418
|
__name: "bank-suggestion-label",
|
|
40414
40419
|
props: {
|
|
40415
40420
|
bank: {},
|
|
40416
40421
|
selected: { type: Boolean }
|
|
40417
40422
|
},
|
|
40418
40423
|
setup(t) {
|
|
40419
|
-
return (e, n) => (b(), R("div",
|
|
40420
|
-
k("span",
|
|
40421
|
-
k("span",
|
|
40422
|
-
t.bank.bic ? (b(), R("span",
|
|
40423
|
-
t.bank.inn ? (b(), R("span",
|
|
40424
|
+
return (e, n) => (b(), R("div", HT, [
|
|
40425
|
+
k("span", WT, W(t.bank.name), 1),
|
|
40426
|
+
k("span", VT, [
|
|
40427
|
+
t.bank.bic ? (b(), R("span", jT, " БИК: " + W(t.bank.bic), 1)) : H("", !0),
|
|
40428
|
+
t.bank.inn ? (b(), R("span", qT, " ИНН: " + W(t.bank.inn), 1)) : H("", !0)
|
|
40424
40429
|
])
|
|
40425
40430
|
]));
|
|
40426
40431
|
}
|
|
40427
|
-
}),
|
|
40428
|
-
...
|
|
40432
|
+
}), YT = {}, xF = /* @__PURE__ */ re({
|
|
40433
|
+
...YT,
|
|
40429
40434
|
__name: "bank-suggestion",
|
|
40430
40435
|
props: /* @__PURE__ */ Mc({
|
|
40431
40436
|
disabled: { type: Boolean },
|
|
@@ -40461,7 +40466,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40461
40466
|
), xe(r, () => {
|
|
40462
40467
|
s("update:value", r.value);
|
|
40463
40468
|
});
|
|
40464
|
-
const c =
|
|
40469
|
+
const c = mi(
|
|
40465
40470
|
// eslint-disable-next-line func-names
|
|
40466
40471
|
() => u(),
|
|
40467
40472
|
800
|
|
@@ -40477,7 +40482,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40477
40482
|
}, d = (p, v) => {
|
|
40478
40483
|
const m = a.value.find((y) => y.id === p.value) || {};
|
|
40479
40484
|
return G(
|
|
40480
|
-
|
|
40485
|
+
XT,
|
|
40481
40486
|
{
|
|
40482
40487
|
bank: m,
|
|
40483
40488
|
selected: v
|
|
@@ -40521,21 +40526,21 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40521
40526
|
}, null, 8, ["value", "class", "clearable", "disabled", "loading", "options", "to", "onUpdate:value"]);
|
|
40522
40527
|
};
|
|
40523
40528
|
}
|
|
40524
|
-
}),
|
|
40529
|
+
}), KT = { class: "font-medium" }, GT = {
|
|
40525
40530
|
key: 0,
|
|
40526
40531
|
class: "flex flex-row gap-2"
|
|
40527
|
-
},
|
|
40532
|
+
}, ZT = {
|
|
40528
40533
|
key: 0,
|
|
40529
40534
|
class: "text-xs font-light text-blue-800"
|
|
40530
|
-
},
|
|
40535
|
+
}, QT = {
|
|
40531
40536
|
key: 1,
|
|
40532
40537
|
class: "text-sc-dark-grey text-xs font-light"
|
|
40533
|
-
},
|
|
40538
|
+
}, JT = {
|
|
40534
40539
|
key: 1,
|
|
40535
40540
|
"data-testid": "address-quality-label",
|
|
40536
40541
|
class: "text-sc-warning text-xs"
|
|
40537
|
-
},
|
|
40538
|
-
...
|
|
40542
|
+
}, eR = {}, tR = /* @__PURE__ */ re({
|
|
40543
|
+
...eR,
|
|
40539
40544
|
__name: "org-suggestion-label",
|
|
40540
40545
|
props: {
|
|
40541
40546
|
org: {},
|
|
@@ -40552,16 +40557,16 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40552
40557
|
return (r, o) => (b(), R("div", {
|
|
40553
40558
|
class: Ie(`m-0.5 flex flex-col p-0.5 ${n.value ? "line-through" : ""}`)
|
|
40554
40559
|
}, [
|
|
40555
|
-
k("span",
|
|
40556
|
-
t.org.inn || i.value ? (b(), R("div",
|
|
40557
|
-
t.org.inn ? (b(), R("span",
|
|
40558
|
-
i.value ? (b(), R("span",
|
|
40560
|
+
k("span", KT, W(t.org.name), 1),
|
|
40561
|
+
t.org.inn || i.value ? (b(), R("div", GT, [
|
|
40562
|
+
t.org.inn ? (b(), R("span", ZT, W(t.org.inn), 1)) : H("", !0),
|
|
40563
|
+
i.value ? (b(), R("span", QT, W(i.value), 1)) : H("", !0)
|
|
40559
40564
|
])) : H("", !0),
|
|
40560
|
-
i.value && s.value ? (b(), R("span",
|
|
40565
|
+
i.value && s.value ? (b(), R("span", JT, W(s.value), 1)) : H("", !0)
|
|
40561
40566
|
], 2));
|
|
40562
40567
|
}
|
|
40563
|
-
}),
|
|
40564
|
-
...
|
|
40568
|
+
}), nR = {}, kF = /* @__PURE__ */ re({
|
|
40569
|
+
...nR,
|
|
40565
40570
|
__name: "org-suggestion",
|
|
40566
40571
|
props: /* @__PURE__ */ Mc({
|
|
40567
40572
|
disabled: { type: Boolean },
|
|
@@ -40603,7 +40608,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40603
40608
|
), xe(r, () => {
|
|
40604
40609
|
s("update:value", r.value);
|
|
40605
40610
|
});
|
|
40606
|
-
const u =
|
|
40611
|
+
const u = mi(
|
|
40607
40612
|
// eslint-disable-next-line func-names
|
|
40608
40613
|
() => d(),
|
|
40609
40614
|
800
|
|
@@ -40619,7 +40624,7 @@ const RP = Le({ name: "ion-copy-outline", render: TP }), FP = { class: "flex fle
|
|
|
40619
40624
|
}, h = (v, m) => {
|
|
40620
40625
|
const y = a.value.find((w) => w.id === v.value) || {};
|
|
40621
40626
|
return G(
|
|
40622
|
-
|
|
40627
|
+
tR,
|
|
40623
40628
|
{
|
|
40624
40629
|
org: y,
|
|
40625
40630
|
selected: m
|
|
@@ -40668,15 +40673,15 @@ export {
|
|
|
40668
40673
|
Ul as ALL_ORDER_MARKERS,
|
|
40669
40674
|
hf as AddressQualityLabelHelper,
|
|
40670
40675
|
Cu as CATEGORY_REQUIRED_HINT,
|
|
40671
|
-
|
|
40676
|
+
mR as CommonValidators,
|
|
40672
40677
|
q_ as ConfiguratorSettingsKozyrek,
|
|
40673
|
-
|
|
40678
|
+
BR as ConfiguratorSettingsMosquito,
|
|
40674
40679
|
yr as ContentHelper,
|
|
40675
40680
|
Ur as CurrencyHelper,
|
|
40676
40681
|
lf as DEFAULT_ORDER_STATUS_COLORS,
|
|
40677
|
-
|
|
40682
|
+
vR as DateValidators,
|
|
40678
40683
|
Zs as EntityNameHelper,
|
|
40679
|
-
|
|
40684
|
+
pR as FileHelper,
|
|
40680
40685
|
Qi as KozyrekLine,
|
|
40681
40686
|
Xd as KozyrekTailTemplate,
|
|
40682
40687
|
Vr as KozyrekTemplate,
|
|
@@ -40691,33 +40696,33 @@ export {
|
|
|
40691
40696
|
tt as OrdersTableFields,
|
|
40692
40697
|
ku as PRODUCT_REQUIRED_HINT,
|
|
40693
40698
|
Ud as Point,
|
|
40694
|
-
|
|
40695
|
-
|
|
40696
|
-
|
|
40697
|
-
|
|
40698
|
-
|
|
40699
|
+
TR as ScAddProductToCartDialog,
|
|
40700
|
+
wF as ScAddressSuggestion,
|
|
40701
|
+
DT as ScAddressSuggestionLabel,
|
|
40702
|
+
xF as ScBankSuggestion,
|
|
40703
|
+
XT as ScBankSuggestionLabel,
|
|
40699
40704
|
wf as ScBaseDialog,
|
|
40700
|
-
|
|
40705
|
+
yR as ScButtonWithConfirmAction,
|
|
40701
40706
|
S2 as ScCategoryCollapse,
|
|
40702
|
-
|
|
40707
|
+
bR as ScChipGroup,
|
|
40703
40708
|
ga as ScClientNameWithShortInfo,
|
|
40704
40709
|
k2 as ScCollapse,
|
|
40705
40710
|
fy as ScCollapseItem,
|
|
40706
|
-
|
|
40707
|
-
|
|
40711
|
+
LR as ScCommentEditor,
|
|
40712
|
+
qR as ScCompactCardList,
|
|
40708
40713
|
Ma as ScConfiguratorsProductInfo,
|
|
40709
40714
|
W2 as ScContragentWithShortInfo,
|
|
40710
40715
|
Hl as ScCreatorUserTypeTag,
|
|
40711
|
-
|
|
40712
|
-
|
|
40716
|
+
yF as ScCuratorSelect,
|
|
40717
|
+
IR as ScDateRange,
|
|
40713
40718
|
mc as ScDateTimeLabel,
|
|
40714
|
-
|
|
40715
|
-
|
|
40716
|
-
|
|
40717
|
-
|
|
40719
|
+
NR as ScDebouncedInput,
|
|
40720
|
+
HR as ScDebouncedInputNumber,
|
|
40721
|
+
ER as ScDebt,
|
|
40722
|
+
OR as ScDialogHeader,
|
|
40718
40723
|
n2 as ScDynamicConfigurator,
|
|
40719
|
-
|
|
40720
|
-
|
|
40724
|
+
RR as ScEmail,
|
|
40725
|
+
jR as ScExternalLink,
|
|
40721
40726
|
Zy as ScImageGallery,
|
|
40722
40727
|
DS as ScInlineEditableItem,
|
|
40723
40728
|
eh as ScInlineView,
|
|
@@ -40725,10 +40730,10 @@ export {
|
|
|
40725
40730
|
db as ScKozyrekConfiguratorParamsForm,
|
|
40726
40731
|
j_ as ScKozyrekConfiguratorPreview,
|
|
40727
40732
|
D_ as ScKozyrekConfiguratorTemplates,
|
|
40728
|
-
|
|
40733
|
+
VR as ScKpiGrid,
|
|
40729
40734
|
Xy as ScLightGallery,
|
|
40730
|
-
|
|
40731
|
-
|
|
40735
|
+
bF as ScManagerOperatorSelect,
|
|
40736
|
+
_F as ScManagerSelect,
|
|
40732
40737
|
Xw as ScMetalForDoorsConfigurator,
|
|
40733
40738
|
jw as ScMetalForDoorsConfiguratorForm,
|
|
40734
40739
|
Cw as ScMosquitoConfigurator,
|
|
@@ -40736,31 +40741,31 @@ export {
|
|
|
40736
40741
|
ww as ScMosquitoConfiguratorMeasurementInstructions,
|
|
40737
40742
|
Yd as ScMosquitoConfiguratorPreview,
|
|
40738
40743
|
Hh as ScOrderColorSwatch,
|
|
40739
|
-
|
|
40744
|
+
H8 as ScOrderCommonInfo,
|
|
40740
40745
|
cu as ScOrderDeliveryLabel,
|
|
40741
|
-
|
|
40742
|
-
|
|
40743
|
-
|
|
40744
|
-
|
|
40746
|
+
TP as ScOrderDetails,
|
|
40747
|
+
EP as ScOrderExternalLinks,
|
|
40748
|
+
pF as ScOrderHighlightSettings,
|
|
40749
|
+
jP as ScOrderInfo,
|
|
40745
40750
|
Dp as ScOrderItemParams,
|
|
40746
|
-
|
|
40751
|
+
vP as ScOrderItemsList,
|
|
40747
40752
|
Np as ScOrderPayment,
|
|
40748
|
-
|
|
40749
|
-
|
|
40750
|
-
|
|
40751
|
-
|
|
40752
|
-
|
|
40753
|
-
|
|
40754
|
-
|
|
40755
|
-
|
|
40756
|
-
|
|
40757
|
-
|
|
40758
|
-
|
|
40753
|
+
J8 as ScOrderProductInfo,
|
|
40754
|
+
wP as ScOrderStatusHistory,
|
|
40755
|
+
sP as ScOrderStatusTag,
|
|
40756
|
+
YR as ScOrdersList,
|
|
40757
|
+
kF as ScOrgSuggestion,
|
|
40758
|
+
tR as ScOrgSuggestionLabel,
|
|
40759
|
+
fT as ScPage,
|
|
40760
|
+
vF as ScPageWithSlidingPanel,
|
|
40761
|
+
MR as ScPersonContactsBlock,
|
|
40762
|
+
FR as ScPhone,
|
|
40763
|
+
WR as ScPhoneInput,
|
|
40759
40764
|
_f as ScProductInfoContent,
|
|
40760
40765
|
p0 as ScProductInfoDialog,
|
|
40761
40766
|
b0 as ScProductInfoPopover,
|
|
40762
40767
|
Yl as ScProductName,
|
|
40763
|
-
|
|
40768
|
+
XR as ScProductsList,
|
|
40764
40769
|
P2 as ScReferenceSelect,
|
|
40765
40770
|
mx as ScSandwichConfigurator,
|
|
40766
40771
|
hx as ScSandwichConfiguratorForm,
|
|
@@ -40768,25 +40773,25 @@ export {
|
|
|
40768
40773
|
qx as ScSandwichM2ConfiguratorForm,
|
|
40769
40774
|
D6 as ScSearchableProductSelect,
|
|
40770
40775
|
L6 as ScSearchableReferenceSelect,
|
|
40771
|
-
|
|
40772
|
-
|
|
40773
|
-
|
|
40774
|
-
|
|
40776
|
+
PR as ScSetClientPriceFormItem,
|
|
40777
|
+
mF as ScShortTextOrderInfo,
|
|
40778
|
+
zR as ScSingleFileUploadSelector,
|
|
40779
|
+
vT as ScSlidingContentWithDrawer,
|
|
40775
40780
|
Hw as ScStripConfigurator,
|
|
40776
40781
|
Bw as ScStripConfiguratorForm,
|
|
40777
40782
|
$w as ScStripConfiguratorLineItem,
|
|
40778
40783
|
Lw as ScStripConfiguratorPreview,
|
|
40779
40784
|
Wh as ScUserShortInfo,
|
|
40780
|
-
|
|
40785
|
+
DR as ScWarningIcon,
|
|
40781
40786
|
tn as SelectOptionHelper,
|
|
40782
40787
|
Go as UiNotificationProvider,
|
|
40783
40788
|
ft as Validators,
|
|
40784
40789
|
pt as WindowResolutionEnum,
|
|
40785
40790
|
xt as WindowResolutionProvider,
|
|
40786
|
-
|
|
40791
|
+
aF as channelPrimaryInterestOptionsList,
|
|
40787
40792
|
Ta as componentSizeInjectionKey,
|
|
40788
40793
|
fv as copyToClipboard,
|
|
40789
|
-
|
|
40794
|
+
KR as deliveryTypeReferenceList,
|
|
40790
40795
|
Zo as getOrderMarkerColors,
|
|
40791
40796
|
uf as getOrderMarkerName,
|
|
40792
40797
|
df as getOrderMarkers,
|
|
@@ -40797,37 +40802,37 @@ export {
|
|
|
40797
40802
|
Xl as handleFloatInput,
|
|
40798
40803
|
jt as handleIntegerInput,
|
|
40799
40804
|
$v as hasProductInfo,
|
|
40800
|
-
|
|
40805
|
+
AR as isCanSandwichM2Show,
|
|
40801
40806
|
s2 as isCanSandwichShow,
|
|
40802
40807
|
i2 as isConfiguratorType,
|
|
40803
|
-
|
|
40804
|
-
|
|
40805
|
-
|
|
40806
|
-
|
|
40807
|
-
|
|
40808
|
-
|
|
40808
|
+
GR as managersReferenceList,
|
|
40809
|
+
_R as naiveUiTheme,
|
|
40810
|
+
oF as operatorReferenceList,
|
|
40811
|
+
ZR as opfReferenceList,
|
|
40812
|
+
rF as orderStatusDetailReferenceList,
|
|
40813
|
+
KP as orderStatusReferenceList,
|
|
40809
40814
|
Sv as paginationItemsPrefix,
|
|
40810
40815
|
Zt as parse,
|
|
40811
|
-
|
|
40812
|
-
|
|
40813
|
-
|
|
40814
|
-
|
|
40816
|
+
QR as partnerGroupReferenceList,
|
|
40817
|
+
sF as paymentTypeReferenceList,
|
|
40818
|
+
JR as priceCoefficientsReferenceList,
|
|
40819
|
+
eF as productFilesTypesReferenceList,
|
|
40815
40820
|
yt as renderConfig,
|
|
40816
40821
|
zt as resetInputValidation,
|
|
40817
|
-
|
|
40818
|
-
|
|
40819
|
-
|
|
40820
|
-
|
|
40821
|
-
|
|
40822
|
-
|
|
40823
|
-
|
|
40824
|
-
|
|
40822
|
+
tF as resourceReferencesList,
|
|
40823
|
+
nF as salesDirectionsReferenceList,
|
|
40824
|
+
cF as searchCityReferenceDataHandler,
|
|
40825
|
+
uF as searchCityReferenceLabelRenderer,
|
|
40826
|
+
fF as searchClientReferenceDataHandler,
|
|
40827
|
+
gF as searchClientReferenceLabelRenderer,
|
|
40828
|
+
dF as searchRegionReferenceDataHandler,
|
|
40829
|
+
hF as searchRegionReferenceLabelRenderer,
|
|
40825
40830
|
dt as selectAllTextOnFocus,
|
|
40826
|
-
|
|
40827
|
-
|
|
40828
|
-
|
|
40831
|
+
gR as showAppVersion,
|
|
40832
|
+
lF as sourcePrimaryInterestOptionsList,
|
|
40833
|
+
fR as useCompactLayout,
|
|
40829
40834
|
Lc as useHoverSupport,
|
|
40830
40835
|
mv as vCopy,
|
|
40831
40836
|
Gs as vFocusNext,
|
|
40832
|
-
|
|
40837
|
+
iF as warehousesReferenceList
|
|
40833
40838
|
};
|