@snabcentr/vue-ui-lib 3.59.6 → 3.59.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest.json +1 -1
- package/dist/sc-vue-ui-lib.js +139 -137
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +6 -6
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/sc-vue-ui-lib.js
CHANGED
|
@@ -6,14 +6,14 @@ var rg = (t, e, i) => e in t ? sg(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var S = (t, e, i) => rg(t, typeof e != "symbol" ? e + "" : e, i), lc = (t, e, i) => e.has(t) || ac("Cannot " + i);
|
|
7
7
|
var Zt = (t, e, i) => (lc(t, e, "read from private field"), i ? i.call(t) : e.get(t)), ha = (t, e, i) => e.has(t) ? ac("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), cc = (t, e, i, n) => (lc(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
|
|
8
8
|
import { isString as rn, groupBy as og, get as fo, isEmpty as xl, noop as Yt, some as Fi, isFunction as kt, isNil as rt, find as uc, forOwn as kd, forEach as fs, sortBy as Cd, cloneDeep as bi, reduce as Sd, every as dc, isArray as _t, keys as ag, debounce as qi, isUndefined as Gs, unset as lg, isNull as $d, isObject as cg, merge as Dr, upperFirst as ug, map as dg, constant as Mo, union as hg } from "lodash-es";
|
|
9
|
-
import { Comment as Eo, Text as Td, Fragment as Pe, markRaw as Oe, createElementBlock as z, openBlock as w, createElementVNode as R, defineComponent as oe, inject as
|
|
9
|
+
import { Comment as Eo, Text as Td, Fragment as Pe, markRaw as Oe, createElementBlock as z, openBlock as w, createElementVNode as R, defineComponent as oe, inject as Ke, computed as O, ref as j, readonly as go, normalizeClass as je, createVNode as H, createCommentVNode as q, renderSlot as $e, unref as E, createTextVNode as ie, toDisplayString as Y, Transition as _s, withCtx as I, createBlock as Q, useTemplateRef as nt, onMounted as st, onBeforeUnmount as ki, onUnmounted as Rr, normalizeStyle as er, renderList as Xt, h as W, watch as ke, withKeys as tr, withModifiers as $s, nextTick as Rt, onBeforeMount as Fr, toRaw as Bi, provide as yi, createSlots as Un, getCurrentInstance as Pd, withDirectives as Br, Teleport as fg, toRef as et, mergeProps as kl, onActivated as Rd, onDeactivated as Fd, isVNode as gg, shallowRef as pg, watchEffect as Pn, vShow as Bd, cloneVNode as mg, mergeDefaults as Cl } from "vue";
|
|
10
10
|
import { NTooltip as Ar, NButton as De, NDropdown as Io, NTag as Ad, NPopover as Bn, NText as $n, NScrollbar as Md, NCheckbox as Kn, NSpin as ir, NForm as nr, NFormItem as tt, NSelect as on, NInputNumber as $t, NInput as An, NModal as Sl, NDrawer as Ed, NDrawerContent as Id, NDataTable as $l, NAlert as Od, NInputGroup as zd, NInputGroupLabel as vg, NDatePicker as yg, NUpload as bg, NUploadDragger as _g, NList as wg, NListItem as xg, NH1 as kg, NAutoComplete as Tl } from "naive-ui";
|
|
11
11
|
import { useBaseConfigStateStore as _i, OrderItemBase as jt, ClientProduct as Rn, Identity as Cg, ClientCategory as Sg, Reference as $g, useReferencesStore as Ft, PriceCoefficientEnum as Tg, CalculationTypeEnum as Nr, PriceCoefficient as Pg, UnitsHelper as Li, DateTimeProvider as Rg, HttpRequester as cn, ProductCategoryDataProvider as Fg, ProductDataProvider as Bg, UserTypeEnum as Hr, Order as Ag, OrdersDataProvider as qa, DataTablePagination as Mg, Curator as hc, CuratedDirection as Eg, ManagerDataFactory as fc, Manager as fa, DataSuggestionProvider as Pl, FieldValidationResultData as Ig, ReferenceDataProvider as Og, ClientDataProvider as zg } from "@snabcentr/common-lib";
|
|
12
12
|
import { format as Ks, endOfDay as Lg, startOfDay as Dg, isTomorrow as Ng } from "date-fns";
|
|
13
13
|
import { parsePhoneNumberWithError as Rl, PhoneNumber as Hg, ParseError as Wg } from "libphonenumber-js";
|
|
14
14
|
import { objectToSnake as ga } from "ts-case-convert";
|
|
15
15
|
import { VueTelInput as Vg } from "vue-tel-input";
|
|
16
|
-
var
|
|
16
|
+
var Xe = /* @__PURE__ */ ((t) => (t.AttachedUser = "attached_user", t.ClientInfo = "client_info", t.ClientInfoShort = "client_info_short", t.CreatedAt = "created_at", t.ClientCity = "client_city", t.DeliveryInfo = "delivery_info", t.DeliveryDate = "delivery_date", t.Id = "id", t.PaymentType = "payment_type", t.SalesDirections = "sales_directions", t.Status = "status", t.actions = "actions", t))(Xe || {}), bt = /* @__PURE__ */ ((t) => (t.phone = "phone", t.tablet = "tablet", t.laptop = "laptop", t))(bt || {});
|
|
17
17
|
class Us {
|
|
18
18
|
/**
|
|
19
19
|
* Возвращает признак, что в виртуальном узле отсутствует контент.
|
|
@@ -350,7 +350,7 @@ const pp = Oe({ name: "ion-chevron-forward-outline", render: gp }), mp = ["data-
|
|
|
350
350
|
},
|
|
351
351
|
emits: ["header:click"],
|
|
352
352
|
setup(t, { expose: e, emit: i }) {
|
|
353
|
-
const n = t, s = i, r =
|
|
353
|
+
const n = t, s = i, r = Ke("itemHeaderClickHandler", Yt), o = Ke("defaultExpandedNames", []), a = Ke("expandedNames", []), l = Fi(o, (p) => p === n.name), c = O(() => Fi(a, (p) => p === n.name)), u = j(l), d = () => {
|
|
354
354
|
n.disabled || (u.value = c.value || !u.value, s("header:click", n.name, u.value), r(n.name, u.value));
|
|
355
355
|
};
|
|
356
356
|
return e({
|
|
@@ -562,7 +562,7 @@ const Hd = Oe({ name: "ion-cart-outline", render: Rp }), Oo = Symbol(), X5 = {
|
|
|
562
562
|
product: {}
|
|
563
563
|
},
|
|
564
564
|
setup(t) {
|
|
565
|
-
const e = t, i =
|
|
565
|
+
const e = t, i = Ke(Oo, "medium"), n = O(
|
|
566
566
|
() => kt(e.showProductAddToCartButton) ? e.showProductAddToCartButton(e.product) : e.showProductAddToCartButton
|
|
567
567
|
), s = O(
|
|
568
568
|
() => kt(e.showProductEditButton) ? e.showProductEditButton(e.product) : e.showProductEditButton
|
|
@@ -12904,7 +12904,7 @@ function y0(t) {
|
|
|
12904
12904
|
const e = t.length;
|
|
12905
12905
|
return typeof e == "number" && e >= 0 && e < 4294967296;
|
|
12906
12906
|
}
|
|
12907
|
-
const
|
|
12907
|
+
const Ye = {
|
|
12908
12908
|
isNaN: function(t) {
|
|
12909
12909
|
return typeof t == "number" && t !== +t;
|
|
12910
12910
|
},
|
|
@@ -13028,7 +13028,7 @@ const Xe = {
|
|
|
13028
13028
|
*/
|
|
13029
13029
|
clone(i) {
|
|
13030
13030
|
const n = new oi();
|
|
13031
|
-
return
|
|
13031
|
+
return Ye.each(
|
|
13032
13032
|
oi.Properties,
|
|
13033
13033
|
function(s) {
|
|
13034
13034
|
n[s] = this[s];
|
|
@@ -13044,7 +13044,7 @@ const Xe = {
|
|
|
13044
13044
|
*/
|
|
13045
13045
|
toObject() {
|
|
13046
13046
|
const i = super.toObject.call(this);
|
|
13047
|
-
return i.renderer.type = "stop",
|
|
13047
|
+
return i.renderer.type = "stop", Ye.each(
|
|
13048
13048
|
oi.Properties,
|
|
13049
13049
|
(n) => {
|
|
13050
13050
|
i[n] = this[n];
|
|
@@ -13135,7 +13135,7 @@ const ru = {
|
|
|
13135
13135
|
*/
|
|
13136
13136
|
clone(i) {
|
|
13137
13137
|
const n = this.stops.map((r) => r.clone()), s = new Ki(n);
|
|
13138
|
-
return
|
|
13138
|
+
return Ye.each(
|
|
13139
13139
|
Ki.Properties,
|
|
13140
13140
|
(r) => {
|
|
13141
13141
|
s[r] = this[r];
|
|
@@ -13167,7 +13167,7 @@ const ru = {
|
|
|
13167
13167
|
const i = {
|
|
13168
13168
|
stops: this.stops.map((n) => n.toObject())
|
|
13169
13169
|
};
|
|
13170
|
-
return
|
|
13170
|
+
return Ye.each(
|
|
13171
13171
|
Ki.Properties,
|
|
13172
13172
|
(n) => {
|
|
13173
13173
|
i[n] = this[n];
|
|
@@ -13321,7 +13321,7 @@ const Nn = class Nn extends Pt {
|
|
|
13321
13321
|
this.right._y,
|
|
13322
13322
|
n
|
|
13323
13323
|
);
|
|
13324
|
-
return
|
|
13324
|
+
return Ye.each(
|
|
13325
13325
|
Pt.Properties,
|
|
13326
13326
|
function(r) {
|
|
13327
13327
|
s[r] = this[r];
|
|
@@ -13461,7 +13461,7 @@ const Zi = class Zi extends Pt {
|
|
|
13461
13461
|
this.focal._x,
|
|
13462
13462
|
this.focal._y
|
|
13463
13463
|
);
|
|
13464
|
-
return
|
|
13464
|
+
return Ye.each(
|
|
13465
13465
|
Pt.Properties.concat(Zi.Properties),
|
|
13466
13466
|
function(r) {
|
|
13467
13467
|
s[r] = this[r];
|
|
@@ -13477,7 +13477,7 @@ const Zi = class Zi extends Pt {
|
|
|
13477
13477
|
*/
|
|
13478
13478
|
toObject() {
|
|
13479
13479
|
const i = super.toObject.call(this);
|
|
13480
|
-
return
|
|
13480
|
+
return Ye.each(
|
|
13481
13481
|
Zi.Properties,
|
|
13482
13482
|
function(n) {
|
|
13483
13483
|
i[n] = this[n];
|
|
@@ -14384,7 +14384,7 @@ const Os = Math.min, zs = Math.max, T0 = Math.ceil, P0 = Math.floor, R0 = new Re
|
|
|
14384
14384
|
*/
|
|
14385
14385
|
toObject() {
|
|
14386
14386
|
const i = super.toObject.call(this);
|
|
14387
|
-
return i.renderer.type = "path", i.vertices = this.vertices.map((n) => n.toObject()),
|
|
14387
|
+
return i.renderer.type = "path", i.vertices = this.vertices.map((n) => n.toObject()), Ye.each(
|
|
14388
14388
|
Ni.Properties,
|
|
14389
14389
|
(n) => {
|
|
14390
14390
|
typeof this[n] < "u" && (this[n].toObject ? i[n] = this[n].toObject() : i[n] = this[n]);
|
|
@@ -14534,7 +14534,7 @@ const Os = Math.min, zs = Math.max, T0 = Math.ceil, P0 = Math.floor, R0 = new Re
|
|
|
14534
14534
|
} else return _;
|
|
14535
14535
|
y = _.controls && _.controls.right, m = F.controls && F.controls.left, l = _.x, g = _.y, c = (y || _).x, h = (y || _).y, u = (m || F).x, p = (m || F).y, d = F.x, v = F.y, y && _.relative && (c += _.x, h += _.y), m && F.relative && (u += F.x, p += F.y), a = wo(i, l, c, u, d), f = wo(i, g, h, p, v);
|
|
14536
14536
|
const k = Ri(l, c, i), b = Ri(g, h, i), P = Ri(c, u, i), B = Ri(h, p, i), N = Ri(u, d, i), M = Ri(p, v, i), D = Ri(k, P, i), A = Ri(b, B, i), te = Ri(P, N, i), ce = Ri(B, M, i);
|
|
14537
|
-
return
|
|
14537
|
+
return Ye.isObject(n) ? (n.x = a, n.y = f, n instanceof Ve && (n.controls.left.x = D, n.controls.left.y = A, n.controls.right.x = te, n.controls.right.y = ce, (typeof n.relative != "boolean" || n.relative) && (n.controls.left.x -= a, n.controls.left.y -= f, n.controls.right.x -= a, n.controls.right.y -= f)), n.t = i, n) : (o = new Ve(
|
|
14538
14538
|
a,
|
|
14539
14539
|
f,
|
|
14540
14540
|
D - a,
|
|
@@ -14567,7 +14567,7 @@ const Os = Math.min, zs = Math.max, T0 = Math.ceil, P0 = Math.floor, R0 = new Re
|
|
|
14567
14567
|
this._update();
|
|
14568
14568
|
const n = this.vertices.length - 1, s = this._closed || this.vertices[n]._command === Ce.close;
|
|
14569
14569
|
let r = this.vertices[n], o = [], a;
|
|
14570
|
-
return
|
|
14570
|
+
return Ye.each(
|
|
14571
14571
|
this.vertices,
|
|
14572
14572
|
function(l, c) {
|
|
14573
14573
|
if (c <= 0 && !s) {
|
|
@@ -14578,9 +14578,9 @@ const Os = Math.min, zs = Math.max, T0 = Math.ceil, P0 = Math.floor, R0 = new Re
|
|
|
14578
14578
|
o.push(new Ve(r.x, r.y)), c > 0 && (o[o.length - 1].command = Ce.line), r = l;
|
|
14579
14579
|
return;
|
|
14580
14580
|
}
|
|
14581
|
-
a = du(l, r, i), o = o.concat(a),
|
|
14581
|
+
a = du(l, r, i), o = o.concat(a), Ye.each(a, function(u, d) {
|
|
14582
14582
|
d <= 0 && r.command === Ce.move ? u.command = Ce.move : u.command = Ce.line;
|
|
14583
|
-
}), c >= n && (this._closed && this._automatic && (r = l, a = du(l, r, i), o = o.concat(a),
|
|
14583
|
+
}), c >= n && (this._closed && this._automatic && (r = l, a = du(l, r, i), o = o.concat(a), Ye.each(a, function(u, d) {
|
|
14584
14584
|
d <= 0 && r.command === Ce.move ? u.command = Ce.move : u.command = Ce.line;
|
|
14585
14585
|
})), o.push(new Ve(l.x, l.y)), o[o.length - 1].command = s ? Ce.close : Ce.line), r = l;
|
|
14586
14586
|
},
|
|
@@ -14599,7 +14599,7 @@ const Os = Math.min, zs = Math.max, T0 = Math.ceil, P0 = Math.floor, R0 = new Re
|
|
|
14599
14599
|
n || this._update();
|
|
14600
14600
|
const r = this.vertices.length - 1;
|
|
14601
14601
|
let o = this.vertices[r], a = 0;
|
|
14602
|
-
return typeof this._lengths > "u" && (this._lengths = []),
|
|
14602
|
+
return typeof this._lengths > "u" && (this._lengths = []), Ye.each(
|
|
14603
14603
|
this.vertices,
|
|
14604
14604
|
function(l, c) {
|
|
14605
14605
|
if (c <= 0 || l.command === Ce.move) {
|
|
@@ -14663,7 +14663,7 @@ S(Ni, "Properties", [
|
|
|
14663
14663
|
]), S(Ni, "Utils", {
|
|
14664
14664
|
getCurveLength: uu
|
|
14665
14665
|
});
|
|
14666
|
-
let
|
|
14666
|
+
let Ge = Ni;
|
|
14667
14667
|
const fu = {
|
|
14668
14668
|
linewidth: {
|
|
14669
14669
|
enumerable: !0,
|
|
@@ -14774,7 +14774,7 @@ const fu = {
|
|
|
14774
14774
|
return;
|
|
14775
14775
|
this._automatic = !!t;
|
|
14776
14776
|
const e = this._automatic ? "ignore" : "listen";
|
|
14777
|
-
|
|
14777
|
+
Ye.each(this.vertices, function(i) {
|
|
14778
14778
|
i[e]();
|
|
14779
14779
|
});
|
|
14780
14780
|
}
|
|
@@ -14818,7 +14818,7 @@ const fu = {
|
|
|
14818
14818
|
return this._mask;
|
|
14819
14819
|
},
|
|
14820
14820
|
set: function(t) {
|
|
14821
|
-
this._mask = t, this._flagMask = !0,
|
|
14821
|
+
this._mask = t, this._flagMask = !0, Ye.isObject(t) && !t.clip && (t.clip = !0);
|
|
14822
14822
|
}
|
|
14823
14823
|
},
|
|
14824
14824
|
/**
|
|
@@ -14909,25 +14909,25 @@ const F0 = Math.ceil, B0 = Math.floor, Qi = class Qi extends Tn {
|
|
|
14909
14909
|
* @function
|
|
14910
14910
|
* @description Short hand method to set fill to `none`.
|
|
14911
14911
|
*/
|
|
14912
|
-
S(this, "noFill",
|
|
14912
|
+
S(this, "noFill", Ge.prototype.noFill);
|
|
14913
14913
|
/**
|
|
14914
14914
|
* @name Two.Points#noStroke
|
|
14915
14915
|
* @function
|
|
14916
14916
|
* @description Short hand method to set stroke to `none`.
|
|
14917
14917
|
*/
|
|
14918
|
-
S(this, "noStroke",
|
|
14918
|
+
S(this, "noStroke", Ge.prototype.noStroke);
|
|
14919
14919
|
/**
|
|
14920
14920
|
* @name Two.Points#corner
|
|
14921
14921
|
* @function
|
|
14922
14922
|
* @description Orient the vertices of the shape to the upper left-hand corner of the points object.
|
|
14923
14923
|
*/
|
|
14924
|
-
S(this, "corner",
|
|
14924
|
+
S(this, "corner", Ge.prototype.corner);
|
|
14925
14925
|
/**
|
|
14926
14926
|
* @name Two.Points#center
|
|
14927
14927
|
* @function
|
|
14928
14928
|
* @description Orient the vertices of the shape to the center of the points object.
|
|
14929
14929
|
*/
|
|
14930
|
-
S(this, "center",
|
|
14930
|
+
S(this, "center", Ge.prototype.center);
|
|
14931
14931
|
/**
|
|
14932
14932
|
* @name Two.Points#getBoundingClientRect
|
|
14933
14933
|
* @function
|
|
@@ -14935,7 +14935,7 @@ const F0 = Math.ceil, B0 = Math.floor, Qi = class Qi extends Tn {
|
|
|
14935
14935
|
* @returns {Object} - Returns object with top, left, right, bottom, width, height attributes.
|
|
14936
14936
|
* @description Return an object with top, left, right, bottom, width, and height parameters of the path.
|
|
14937
14937
|
*/
|
|
14938
|
-
S(this, "getBoundingClientRect",
|
|
14938
|
+
S(this, "getBoundingClientRect", Ge.prototype.getBoundingClientRect);
|
|
14939
14939
|
/**
|
|
14940
14940
|
* @name Two.Points#_updateLength
|
|
14941
14941
|
* @function
|
|
@@ -14944,7 +14944,7 @@ const F0 = Math.ceil, B0 = Math.floor, Qi = class Qi extends Tn {
|
|
|
14944
14944
|
* @param {Boolean} [silent=false] - If set to `true` then the points object isn't updated before calculation. Useful for internal use.
|
|
14945
14945
|
* @description Recalculate the {@link Two.Points#length} value.
|
|
14946
14946
|
*/
|
|
14947
|
-
S(this, "_updateLength",
|
|
14947
|
+
S(this, "_updateLength", Ge.prototype._updateLength);
|
|
14948
14948
|
for (let n in gu)
|
|
14949
14949
|
Object.defineProperty(this, n, gu[n]);
|
|
14950
14950
|
this._renderer.type = "points", this._renderer.flagVertices = Oh.bind(this), this._renderer.bindVertices = zh.bind(this), this._renderer.unbindVertices = Lh.bind(this), this._renderer.flagFill = Dh.bind(this), this._renderer.flagStroke = Nh.bind(this), this._renderer.vertices = null, this._renderer.collection = null, this.size = 1, this.sizeAttenuation = !1, this.beginning = 0, this.ending = 1, this.fill = "#fff", this.stroke = "#000", this.linewidth = 1, this.opacity = 1, this.className = "", this.visible = !0, this.vertices = i, this.dashes = [], this.dashes.offset = 0;
|
|
@@ -15004,7 +15004,7 @@ const F0 = Math.ceil, B0 = Math.floor, Qi = class Qi extends Tn {
|
|
|
15004
15004
|
*/
|
|
15005
15005
|
toObject() {
|
|
15006
15006
|
const i = super.toObject.call(this);
|
|
15007
|
-
return i.renderer.type = "points", i.vertices = this.vertices.map((n) => n.toObject()),
|
|
15007
|
+
return i.renderer.type = "points", i.vertices = this.vertices.map((n) => n.toObject()), Ye.each(
|
|
15008
15008
|
Qi.Properties,
|
|
15009
15009
|
function(n) {
|
|
15010
15010
|
typeof this[n] < "u" && (this[n].toObject ? i[n] = this[n].toObject() : i[n] = this[n]);
|
|
@@ -15267,7 +15267,7 @@ class Hh extends ks {
|
|
|
15267
15267
|
}
|
|
15268
15268
|
}
|
|
15269
15269
|
Ao = new WeakMap();
|
|
15270
|
-
const vn = class vn extends
|
|
15270
|
+
const vn = class vn extends Ge {
|
|
15271
15271
|
constructor(i, n, s, r, o, a, l) {
|
|
15272
15272
|
const c = l || el.Resolution * 3, u = [];
|
|
15273
15273
|
for (let d = 0; d < c; d++)
|
|
@@ -15401,8 +15401,8 @@ const vn = class vn extends Ye {
|
|
|
15401
15401
|
clone(i) {
|
|
15402
15402
|
const n = this.innerRadius, s = this.outerRadius, r = this.startAngle, o = this.endAngle, a = this.vertices.length, l = new vn(0, 0, n, s, r, o, a);
|
|
15403
15403
|
l.translation.copy(this.translation), l.rotation = this.rotation, l.scale = this.scale, l.skewX = this.skewX, l.skewY = this.skewY, this.matrix.manual && l.matrix.copy(this.matrix);
|
|
15404
|
-
for (let c = 0; c <
|
|
15405
|
-
const u =
|
|
15404
|
+
for (let c = 0; c < Ge.Properties.length; c++) {
|
|
15405
|
+
const u = Ge.Properties[c];
|
|
15406
15406
|
l[u] = this[u];
|
|
15407
15407
|
}
|
|
15408
15408
|
return i && i.add(l), l;
|
|
@@ -15466,7 +15466,7 @@ const pu = {
|
|
|
15466
15466
|
this._outerRadius = t, this._flagOuterRadius = !0;
|
|
15467
15467
|
}
|
|
15468
15468
|
}
|
|
15469
|
-
}, Ca = Math.cos, Sa = Math.sin, yn = class yn extends
|
|
15469
|
+
}, Ca = Math.cos, Sa = Math.sin, yn = class yn extends Ge {
|
|
15470
15470
|
constructor(i, n, s, r) {
|
|
15471
15471
|
const o = r ? Math.max(r, 2) : 4, a = [];
|
|
15472
15472
|
for (let l = 0; l < o; l++)
|
|
@@ -15554,8 +15554,8 @@ const pu = {
|
|
|
15554
15554
|
clone(i) {
|
|
15555
15555
|
const n = new yn(0, 0, this.radius, this.vertices.length);
|
|
15556
15556
|
n.translation.copy(this.translation), n.rotation = this.rotation, n.scale = this.scale, n.skewX = this.skewX, n.skewY = this.skewY, this.matrix.manual && n.matrix.copy(this.matrix);
|
|
15557
|
-
for (let s = 0; s <
|
|
15558
|
-
const r =
|
|
15557
|
+
for (let s = 0; s < Ge.Properties.length; s++) {
|
|
15558
|
+
const r = Ge.Properties[s];
|
|
15559
15559
|
n[r] = this[r];
|
|
15560
15560
|
}
|
|
15561
15561
|
return i && i.add(n), n;
|
|
@@ -15592,7 +15592,7 @@ const mu = {
|
|
|
15592
15592
|
this._radius = t, this._flagRadius = !0;
|
|
15593
15593
|
}
|
|
15594
15594
|
}
|
|
15595
|
-
}, $a = Math.cos, Ta = Math.sin, bn = class bn extends
|
|
15595
|
+
}, $a = Math.cos, Ta = Math.sin, bn = class bn extends Ge {
|
|
15596
15596
|
constructor(i, n, s, r, o) {
|
|
15597
15597
|
typeof r != "number" && typeof s == "number" && (r = s);
|
|
15598
15598
|
const a = o ? Math.max(o, 2) : 4, l = [];
|
|
@@ -15693,8 +15693,8 @@ const mu = {
|
|
|
15693
15693
|
clone(i) {
|
|
15694
15694
|
const n = this.width / 2, s = this.height / 2, r = this.vertices.length, o = new bn(0, 0, n, s, r);
|
|
15695
15695
|
o.translation.copy(this.translation), o.rotation = this.rotation, o.scale = this.scale, o.skewX = this.skewX, o.skewY = this.skewY, this.matrix.manual && o.matrix.copy(this.matrix);
|
|
15696
|
-
for (let a = 0; a <
|
|
15697
|
-
const l =
|
|
15696
|
+
for (let a = 0; a < Ge.Properties.length; a++) {
|
|
15697
|
+
const l = Ge.Properties[a];
|
|
15698
15698
|
o[l] = this[l];
|
|
15699
15699
|
}
|
|
15700
15700
|
return i && i.add(o), o;
|
|
@@ -15740,7 +15740,7 @@ const vu = {
|
|
|
15740
15740
|
this._height = t, this._flagHeight = !0;
|
|
15741
15741
|
}
|
|
15742
15742
|
}
|
|
15743
|
-
}, A0 = Math.cos, M0 = Math.sin, _n = class _n extends
|
|
15743
|
+
}, A0 = Math.cos, M0 = Math.sin, _n = class _n extends Ge {
|
|
15744
15744
|
constructor(i, n, s, r) {
|
|
15745
15745
|
r = Math.max(r || 0, 3);
|
|
15746
15746
|
super();
|
|
@@ -15856,8 +15856,8 @@ const vu = {
|
|
|
15856
15856
|
clone(i) {
|
|
15857
15857
|
const n = new _n(0, 0, 0, this.sides);
|
|
15858
15858
|
n.translation.copy(this.translation), n.rotation = this.rotation, n.scale = this.scale, n.skewX = this.skewX, n.skewY = this.skewY, n.width = this.width, n.height = this.height, this.matrix.manual && n.matrix.copy(this.matrix);
|
|
15859
|
-
for (let s = 0; s <
|
|
15860
|
-
const r =
|
|
15859
|
+
for (let s = 0; s < Ge.Properties.length; s++) {
|
|
15860
|
+
const r = Ge.Properties[s];
|
|
15861
15861
|
n[r] = this[r];
|
|
15862
15862
|
}
|
|
15863
15863
|
return i && i.add(n), n;
|
|
@@ -15921,7 +15921,7 @@ const yu = {
|
|
|
15921
15921
|
this._sides = t, this._flagSides = !0;
|
|
15922
15922
|
}
|
|
15923
15923
|
}
|
|
15924
|
-
}, ls = class ls extends
|
|
15924
|
+
}, ls = class ls extends Ge {
|
|
15925
15925
|
constructor(i, n, s, r) {
|
|
15926
15926
|
const o = [
|
|
15927
15927
|
new Ve(),
|
|
@@ -16021,8 +16021,8 @@ const yu = {
|
|
|
16021
16021
|
clone(i) {
|
|
16022
16022
|
const n = new ls(0, 0, this.width, this.height);
|
|
16023
16023
|
n.translation.copy(this.translation), n.rotation = this.rotation, n.scale = this.scale, n.skewX = this.skewX, n.skewY = this.skewY, this.matrix.manual && n.matrix.copy(this.matrix);
|
|
16024
|
-
for (let s = 0; s <
|
|
16025
|
-
const r =
|
|
16024
|
+
for (let s = 0; s < Ge.Properties.length; s++) {
|
|
16025
|
+
const r = Ge.Properties[s];
|
|
16026
16026
|
n[r] instanceof Re ? n[r].copy(this[r]) : n[r] = this[r];
|
|
16027
16027
|
}
|
|
16028
16028
|
return i && i.add(n), n;
|
|
@@ -16072,7 +16072,7 @@ const bu = {
|
|
|
16072
16072
|
this._origin && this._origin.unbind(ae.Types.change, this._renderer.flagVertices), this._origin = t, this._origin.bind(ae.Types.change, this._renderer.flagVertices), this._renderer.flagVertices();
|
|
16073
16073
|
}
|
|
16074
16074
|
}
|
|
16075
|
-
}, wn = class wn extends
|
|
16075
|
+
}, wn = class wn extends Ge {
|
|
16076
16076
|
constructor(i, n, s, r, o) {
|
|
16077
16077
|
typeof o > "u" && typeof s == "number" && typeof r == "number" && (o = Math.floor(Math.min(s, r) / 12));
|
|
16078
16078
|
const a = [];
|
|
@@ -16188,8 +16188,8 @@ const bu = {
|
|
|
16188
16188
|
clone(i) {
|
|
16189
16189
|
const n = this.width, s = this.height, r = this.radius, o = new wn(0, 0, n, s, r);
|
|
16190
16190
|
o.translation.copy(this.translation), o.rotation = this.rotation, o.scale = this.scale, o.skewX = this.skewX, o.skewY = this.skewY, this.matrix.manual && o.matrix.copy(this.matrix);
|
|
16191
|
-
for (let a = 0; a <
|
|
16192
|
-
const l =
|
|
16191
|
+
for (let a = 0; a < Ge.Properties.length; a++) {
|
|
16192
|
+
const l = Ge.Properties[a];
|
|
16193
16193
|
o[l] = this[l];
|
|
16194
16194
|
}
|
|
16195
16195
|
return i && i.add(o), o;
|
|
@@ -16248,7 +16248,7 @@ const _u = {
|
|
|
16248
16248
|
function E0() {
|
|
16249
16249
|
this._flagRadius = !0;
|
|
16250
16250
|
}
|
|
16251
|
-
const I0 = Math.cos, O0 = Math.sin, xn = class xn extends
|
|
16251
|
+
const I0 = Math.cos, O0 = Math.sin, xn = class xn extends Ge {
|
|
16252
16252
|
constructor(i, n, s, r, o) {
|
|
16253
16253
|
arguments.length <= 3 && (r = s, s = r / 2), (typeof o != "number" || o <= 0) && (o = 5);
|
|
16254
16254
|
super();
|
|
@@ -16358,8 +16358,8 @@ const I0 = Math.cos, O0 = Math.sin, xn = class xn extends Ye {
|
|
|
16358
16358
|
clone(i) {
|
|
16359
16359
|
const n = this.innerRadius, s = this.outerRadius, r = this.sides, o = new xn(0, 0, n, s, r);
|
|
16360
16360
|
o.translation.copy(this.translation), o.rotation = this.rotation, o.scale = this.scale, o.skewX = this.skewX, o.skewY = this.skewY, this.matrix.manual && o.matrix.copy(this.matrix);
|
|
16361
|
-
for (let a = 0; a <
|
|
16362
|
-
const l =
|
|
16361
|
+
for (let a = 0; a < Ge.Properties.length; a++) {
|
|
16362
|
+
const l = Ge.Properties[a];
|
|
16363
16363
|
o[l] = this[l];
|
|
16364
16364
|
}
|
|
16365
16365
|
return i && i.add(o), o;
|
|
@@ -16636,7 +16636,7 @@ const Dt = class Dt extends Tn {
|
|
|
16636
16636
|
S(this, "_strokeAttenuation", !0);
|
|
16637
16637
|
for (let o in Cu)
|
|
16638
16638
|
Object.defineProperty(this, o, Cu[o]);
|
|
16639
|
-
if (this._renderer.type = "text", this._renderer.flagFill = z0.bind(this), this._renderer.flagStroke = L0.bind(this), this.value = i, typeof n == "number" && (this.translation.x = n), typeof s == "number" && (this.translation.y = s), this.dashes = [], this.dashes.offset = 0, !
|
|
16639
|
+
if (this._renderer.type = "text", this._renderer.flagFill = z0.bind(this), this._renderer.flagStroke = L0.bind(this), this.value = i, typeof n == "number" && (this.translation.x = n), typeof s == "number" && (this.translation.y = s), this.dashes = [], this.dashes.offset = 0, !Ye.isObject(r))
|
|
16640
16640
|
return this;
|
|
16641
16641
|
for (let o = 0; o < Dt.Properties.length; o++) {
|
|
16642
16642
|
const a = Dt.Properties[o];
|
|
@@ -16981,7 +16981,7 @@ const Cu = {
|
|
|
16981
16981
|
return this._mask;
|
|
16982
16982
|
},
|
|
16983
16983
|
set: function(t) {
|
|
16984
|
-
this._mask = t, this._flagMask = !0,
|
|
16984
|
+
this._mask = t, this._flagMask = !0, Ye.isObject(t) && !t.clip && (t.clip = !0);
|
|
16985
16985
|
}
|
|
16986
16986
|
},
|
|
16987
16987
|
clip: {
|
|
@@ -17152,7 +17152,7 @@ const kn = class kn extends Cr {
|
|
|
17152
17152
|
* @description Initiate animation playback of a {@link Two.ImageSequence}.
|
|
17153
17153
|
*/
|
|
17154
17154
|
play(i, n, s) {
|
|
17155
|
-
return this._playing = !0, this._firstFrame = 0, this._lastFrame = this.amount - 1, this._startTime =
|
|
17155
|
+
return this._playing = !0, this._firstFrame = 0, this._lastFrame = this.amount - 1, this._startTime = Ye.performance.now(), typeof i == "number" && (this._firstFrame = i), typeof n == "number" && (this._lastFrame = n), typeof s == "function" ? this._onLastFrame = s : delete this._onLastFrame, this._index !== this._firstFrame && (this._startTime -= 1e3 * Math.abs(this._index - this._firstFrame) / this._frameRate), this;
|
|
17156
17156
|
}
|
|
17157
17157
|
/**
|
|
17158
17158
|
* @name Two.ImageSequence#pause
|
|
@@ -17232,7 +17232,7 @@ const kn = class kn extends Cr {
|
|
|
17232
17232
|
_update() {
|
|
17233
17233
|
const i = this._textures;
|
|
17234
17234
|
let n, s, r, o, a, l, c, u;
|
|
17235
|
-
return i && (this._flagTextures && (this._amount = i.length), this._flagFrameRate && (this._duration = 1e3 * this._amount / this._frameRate), this._playing && this._frameRate > 0 ? (o = this._amount,
|
|
17235
|
+
return i && (this._flagTextures && (this._amount = i.length), this._flagFrameRate && (this._duration = 1e3 * this._amount / this._frameRate), this._playing && this._frameRate > 0 ? (o = this._amount, Ye.isNaN(this._lastFrame) && (this._lastFrame = o - 1), r = Ye.performance.now() - this._startTime, u = this._lastFrame + 1, a = 1e3 * (u - this._firstFrame) / this._frameRate, this._loop ? r = r % a : r = Math.min(r, a), c = Ri(this._firstFrame, u, r / a), c = Math.floor(c), c !== this._index && (this._index = c, l = i[this._index], l.loaded && (n = l.image.width, s = l.image.height, this.width !== n && (this.width = n), this.height !== s && (this.height = s), this.fill = l, c >= this._lastFrame - 1 && this._onLastFrame && this._onLastFrame()))) : (this._flagIndex || !(this.fill instanceof vt)) && (l = i[this._index], l.loaded && (n = l.image.width, s = l.image.height, this.width !== n && (this.width = n), this.height !== s && (this.height = s)), this.fill = l)), super._update.call(this), this;
|
|
17236
17236
|
}
|
|
17237
17237
|
/**
|
|
17238
17238
|
* @name Two.ImageSequence#flagReset
|
|
@@ -17492,7 +17492,7 @@ const cs = class cs extends Cr {
|
|
|
17492
17492
|
* @description Initiate animation playback of a {@link Two.Sprite}.
|
|
17493
17493
|
*/
|
|
17494
17494
|
play(i, n, s) {
|
|
17495
|
-
return this._playing = !0, this._firstFrame = 0, this._lastFrame = this.amount - 1, this._startTime =
|
|
17495
|
+
return this._playing = !0, this._firstFrame = 0, this._lastFrame = this.amount - 1, this._startTime = Ye.performance.now(), typeof i == "number" && (this._firstFrame = i), typeof n == "number" && (this._lastFrame = n), typeof s == "function" ? this._onLastFrame = s : delete this._onLastFrame, this._index !== this._firstFrame && (this._startTime -= 1e3 * Math.abs(this._index - this._firstFrame) / this._frameRate), this;
|
|
17496
17496
|
}
|
|
17497
17497
|
/**
|
|
17498
17498
|
* @name Two.Sprite#pause
|
|
@@ -17563,7 +17563,7 @@ const cs = class cs extends Cr {
|
|
|
17563
17563
|
const i = this._texture, n = this._columns, s = this._rows;
|
|
17564
17564
|
let r, o, a, l, c, u, d, f, g;
|
|
17565
17565
|
if (i && ((this._flagColumns || this._flagRows) && (this._amount = this._columns * this._rows), this._flagFrameRate && (this._duration = 1e3 * this._amount / this._frameRate), this._flagTexture && (this.fill = i), i.loaded)) {
|
|
17566
|
-
d = i.image.width, f = i.image.height, r = d / n, o = f / s, l = this._amount, this.width !== r && (this.width = r), this.height !== o && (this.height = o), this._playing && this._frameRate > 0 && (
|
|
17566
|
+
d = i.image.width, f = i.image.height, r = d / n, o = f / s, l = this._amount, this.width !== r && (this.width = r), this.height !== o && (this.height = o), this._playing && this._frameRate > 0 && (Ye.isNaN(this._lastFrame) && (this._lastFrame = l - 1), a = Ye.performance.now() - this._startTime, g = this._lastFrame + 1, c = 1e3 * (g - this._firstFrame) / this._frameRate, this._loop ? a = a % c : a = Math.min(a, c), u = Ri(this._firstFrame, g, a / c), u = Math.floor(u), u !== this._index && (this._index = u, u >= this._lastFrame - 1 && this._onLastFrame && this._onLastFrame()));
|
|
17567
17567
|
const h = this._index % n, p = Math.floor(this._index / n), v = -r * h + (d - r) / 2, m = -o * p + (f - o) / 2;
|
|
17568
17568
|
v !== i.offset.x && (i.offset.x = v), m !== i.offset.y && (i.offset.y = m);
|
|
17569
17569
|
}
|
|
@@ -17873,7 +17873,7 @@ const Tu = {
|
|
|
17873
17873
|
case "image-sequence":
|
|
17874
17874
|
return ll.fromObject(r);
|
|
17875
17875
|
case "path":
|
|
17876
|
-
return
|
|
17876
|
+
return Ge.fromObject(r);
|
|
17877
17877
|
case "points":
|
|
17878
17878
|
return Co.fromObject(r);
|
|
17879
17879
|
case "polygon":
|
|
@@ -17932,7 +17932,7 @@ const Tu = {
|
|
|
17932
17932
|
*/
|
|
17933
17933
|
toObject() {
|
|
17934
17934
|
const i = super.toObject.call(this);
|
|
17935
|
-
return i.renderer.type = "group", i.children = [], i.opacity = this.opacity, i.className = this.className, i.mask = this.mask ? this.mask.toObject() : null,
|
|
17935
|
+
return i.renderer.type = "group", i.children = [], i.opacity = this.opacity, i.className = this.className, i.mask = this.mask ? this.mask.toObject() : null, Ye.each(
|
|
17936
17936
|
this.children,
|
|
17937
17937
|
(n, s) => {
|
|
17938
17938
|
i.children[s] = n.toObject();
|
|
@@ -18098,7 +18098,7 @@ const Tu = {
|
|
|
18098
18098
|
s = i ? this.matrix : this.worldMatrix;
|
|
18099
18099
|
for (let h = 0; h < this.children.length; h++) {
|
|
18100
18100
|
const p = this.children[h];
|
|
18101
|
-
if (!(!p.visible || g.test(p._renderer.type)) && (n = p.getBoundingClientRect(i), r = typeof n.top != "number" ||
|
|
18101
|
+
if (!(!p.visible || g.test(p._renderer.type)) && (n = p.getBoundingClientRect(i), r = typeof n.top != "number" || Ye.isNaN(n.top) || !isFinite(n.top), o = typeof n.left != "number" || Ye.isNaN(n.left) || !isFinite(n.left), a = typeof n.right != "number" || Ye.isNaN(n.right) || !isFinite(n.right), l = typeof n.bottom != "number" || Ye.isNaN(n.bottom) || !isFinite(n.bottom), !(r || o || a || l)))
|
|
18102
18102
|
if (i) {
|
|
18103
18103
|
const [v, m] = s.multiply(n.left, n.top), [y, $] = s.multiply(n.right, n.top), [C, T] = s.multiply(n.left, n.bottom), [F, _] = s.multiply(n.right, n.bottom);
|
|
18104
18104
|
d = Kr(m, $, T, _, d), c = Kr(v, y, C, F, c), u = Zr(v, y, C, F, u), f = Zr(m, $, T, _, f);
|
|
@@ -18374,7 +18374,7 @@ const Pu = {
|
|
|
18374
18374
|
return this._mask;
|
|
18375
18375
|
},
|
|
18376
18376
|
set: function(t) {
|
|
18377
|
-
this._mask = t, this._flagMask = !0,
|
|
18377
|
+
this._mask = t, this._flagMask = !0, Ye.isObject(t) && !t.clip && (t.clip = !0);
|
|
18378
18378
|
}
|
|
18379
18379
|
},
|
|
18380
18380
|
/**
|
|
@@ -18415,7 +18415,7 @@ function Ru(t, e) {
|
|
|
18415
18415
|
n = Array.prototype.indexOf.call(i.additions, t), n >= 0 && i.additions.splice(n, 1), n = Array.prototype.indexOf.call(i.subtractions, t), n < 0 && (i.subtractions.push(t), i._flagSubtractions = !0);
|
|
18416
18416
|
}
|
|
18417
18417
|
}
|
|
18418
|
-
class co extends
|
|
18418
|
+
class co extends Ge {
|
|
18419
18419
|
constructor(e, i, n, s) {
|
|
18420
18420
|
const r = [new Ve(e, i), new Ve(n, s)];
|
|
18421
18421
|
super(r);
|
|
@@ -18432,7 +18432,7 @@ const Fu = {
|
|
|
18432
18432
|
return this.vertices[0];
|
|
18433
18433
|
},
|
|
18434
18434
|
set: function(t) {
|
|
18435
|
-
if (
|
|
18435
|
+
if (Ye.isObject(t))
|
|
18436
18436
|
this.vertices.splice(0, 1, t), this.vertices[0].command = Ce.move;
|
|
18437
18437
|
else {
|
|
18438
18438
|
const e = new xo("Two.Line.left argument is not an object.");
|
|
@@ -18446,7 +18446,7 @@ const Fu = {
|
|
|
18446
18446
|
return this.vertices[1];
|
|
18447
18447
|
},
|
|
18448
18448
|
set: function(t) {
|
|
18449
|
-
if (
|
|
18449
|
+
if (Ye.isObject(t))
|
|
18450
18450
|
this.vertices.splice(1, 1, t), this.vertices[1].command = Ce.line;
|
|
18451
18451
|
else {
|
|
18452
18452
|
const e = new xo("Two.Line.right argument is not an object.");
|
|
@@ -18813,7 +18813,7 @@ const jo = Oe({ name: "ion-close", render: V0 }), j0 = { class: "mr-3 flex flex-
|
|
|
18813
18813
|
new Ve(J - Z * Math.cos(re - Math.PI / 4), U - Z * Math.sin(re - Math.PI / 4), 0, 0, 0, 0, Ji.Commands.line),
|
|
18814
18814
|
new Ve(J, U, 0, 0, 0, 0, Ji.Commands.move),
|
|
18815
18815
|
new Ve(J - Z * Math.cos(re + Math.PI / 4), U - Z * Math.sin(re + Math.PI / 4), 0, 0, 0, 0, Ji.Commands.line)
|
|
18816
|
-
], pe = new
|
|
18816
|
+
], pe = new Ge(_e, !1, !1, !0);
|
|
18817
18817
|
pe.noFill(), pe.cap = "round", pe.join = "round", pe.linewidth = V / 7, pe.stroke = at.colorSideLabel.color, G.add(pe);
|
|
18818
18818
|
const fe = new qs(d.value ? "Цвет снизу" : "Цвет сверху", 10, 0);
|
|
18819
18819
|
fe.size = V, fe.weight = 600, fe.fill = at.colorSideLabel.color, fe.alignment = "left", G.add(fe);
|
|
@@ -19813,7 +19813,7 @@ const iy = { class: "flex flex-col gap-3" }, ny = { class: "grid gap-5 md:grid-c
|
|
|
19813
19813
|
height: {},
|
|
19814
19814
|
quantity: {},
|
|
19815
19815
|
marker: {}
|
|
19816
|
-
}), u = j(!1), d = j(!1), f = O(() =>
|
|
19816
|
+
}), u = j(!1), d = j(!1), f = O(() => Ke("debounce-input-time", 300)), g = qi(async (p) => {
|
|
19817
19817
|
var v, m;
|
|
19818
19818
|
a.value.product = new Rn(), (m = (v = l.value) == null ? void 0 : v.formReference) == null || m.validate((y) => {
|
|
19819
19819
|
y || (u.value = !0, i.eventEmitter.emit("configurator:search-product", {
|
|
@@ -20321,7 +20321,7 @@ const iy = { class: "flex flex-col gap-3" }, ny = { class: "grid gap-5 md:grid-c
|
|
|
20321
20321
|
length: {},
|
|
20322
20322
|
quantity: {},
|
|
20323
20323
|
marker: {}
|
|
20324
|
-
}), a = j(!1), l = O(() =>
|
|
20324
|
+
}), a = j(!1), l = O(() => Ke("debounce-input-time", 300)), c = O(() => {
|
|
20325
20325
|
var h;
|
|
20326
20326
|
return (h = r.value[0].configuratorParams) == null ? void 0 : h.linesWidths.reduce((p, v) => (p ?? 0) + (v ?? 0), 0);
|
|
20327
20327
|
}), u = (h) => {
|
|
@@ -20633,7 +20633,7 @@ const iy = { class: "flex flex-col gap-3" }, ny = { class: "grid gap-5 md:grid-c
|
|
|
20633
20633
|
length: {},
|
|
20634
20634
|
quantity: {},
|
|
20635
20635
|
marker: {}
|
|
20636
|
-
}), a = j(!1), l = j(!1), c = O(() =>
|
|
20636
|
+
}), a = j(!1), l = j(!1), c = O(() => Ke("debounce-input-time", 300)), u = qi(async (f) => {
|
|
20637
20637
|
var g, h;
|
|
20638
20638
|
r.value.product = new Rn(), (h = (g = s.value) == null ? void 0 : g.formReference) == null || h.validate((p) => {
|
|
20639
20639
|
p || (a.value = !0, i.eventEmitter.emit("configurator:search-product", {
|
|
@@ -21419,7 +21419,7 @@ const Eb = {
|
|
|
21419
21419
|
productContextButtonsConfig: { type: Function, default: void 0 }
|
|
21420
21420
|
},
|
|
21421
21421
|
setup(t) {
|
|
21422
|
-
const e = t, i =
|
|
21422
|
+
const e = t, i = Ke(Oo, "medium"), n = O(() => {
|
|
21423
21423
|
var Z;
|
|
21424
21424
|
return (Z = e == null ? void 0 : e.filteredItems) == null ? void 0 : Z[e.categoryItem.id];
|
|
21425
21425
|
}), s = O(() => {
|
|
@@ -21559,7 +21559,7 @@ const Eb = {
|
|
|
21559
21559
|
];
|
|
21560
21560
|
}),
|
|
21561
21561
|
header: I(() => {
|
|
21562
|
-
var We, se, ge,
|
|
21562
|
+
var We, se, ge, Ze, Mn;
|
|
21563
21563
|
return [
|
|
21564
21564
|
R("div", {
|
|
21565
21565
|
class: je({
|
|
@@ -21627,7 +21627,7 @@ const Eb = {
|
|
|
21627
21627
|
];
|
|
21628
21628
|
}),
|
|
21629
21629
|
_: 1
|
|
21630
|
-
}, 8, ["size", "class"])) : (
|
|
21630
|
+
}, 8, ["size", "class"])) : (Ze = t.categoryItem.properties) != null && Ze.templateCost ? (w(), z(Pe, { key: 1 }, [
|
|
21631
21631
|
b.value || P.value ? (w(), Q(ot, {
|
|
21632
21632
|
key: 0,
|
|
21633
21633
|
size: E(i),
|
|
@@ -21751,10 +21751,10 @@ const Eb = {
|
|
|
21751
21751
|
}, 8, ["size"])
|
|
21752
21752
|
]),
|
|
21753
21753
|
default: I(() => {
|
|
21754
|
-
var se, ge,
|
|
21754
|
+
var se, ge, Ze;
|
|
21755
21755
|
return [
|
|
21756
21756
|
(se = v.value) != null && se.manager ? (w(), z(Pe, { key: 1 }, [
|
|
21757
|
-
ie('Категория закреплена за "' + Y(((
|
|
21757
|
+
ie('Категория закреплена за "' + Y(((Ze = (ge = v.value) == null ? void 0 : ge.manager) == null ? void 0 : Ze.name) ?? "-") + '"', 1)
|
|
21758
21758
|
], 64)) : (w(), z(Pe, { key: 0 }, [
|
|
21759
21759
|
ie("Закрепить")
|
|
21760
21760
|
], 64))
|
|
@@ -21893,7 +21893,7 @@ const Eb = {
|
|
|
21893
21893
|
bordered: !0,
|
|
21894
21894
|
loading: m.value,
|
|
21895
21895
|
remote: !0,
|
|
21896
|
-
"row-key": (
|
|
21896
|
+
"row-key": (Ze) => Ze.id,
|
|
21897
21897
|
"table-layout": _.value,
|
|
21898
21898
|
class: "mt-2"
|
|
21899
21899
|
}, null, 8, ["columns", "data", "loading", "row-key", "table-layout"])
|
|
@@ -21978,7 +21978,7 @@ const Eb = {
|
|
|
21978
21978
|
productContextButtonsConfig: { type: Function, default: void 0 }
|
|
21979
21979
|
},
|
|
21980
21980
|
setup(t) {
|
|
21981
|
-
const e = t, i =
|
|
21981
|
+
const e = t, i = Ke(Oo, "medium"), n = O(
|
|
21982
21982
|
() => (
|
|
21983
21983
|
// eslint-disable-next-line prettier/prettier
|
|
21984
21984
|
Gs(e.filteredItems) ? e.categoriesItems : e.categoriesItems.filter((r) => {
|
|
@@ -23733,7 +23733,7 @@ const A1 = Oe({ name: "ion-options-outline", render: B1 }), M1 = { class: "flex
|
|
|
23733
23733
|
},
|
|
23734
23734
|
emits: ["update:value"],
|
|
23735
23735
|
setup(t, { emit: e }) {
|
|
23736
|
-
const i = t, n = e, s = j(i.value), r = O(() =>
|
|
23736
|
+
const i = t, n = e, s = j(i.value), r = O(() => Ke("debounce-input-time", i.debounceTime)), o = qi(
|
|
23737
23737
|
// eslint-disable-next-line func-names
|
|
23738
23738
|
() => n("update:value", s.value),
|
|
23739
23739
|
r.value
|
|
@@ -23777,7 +23777,7 @@ const A1 = Oe({ name: "ion-options-outline", render: B1 }), M1 = { class: "flex
|
|
|
23777
23777
|
},
|
|
23778
23778
|
emits: ["update:value", "keydown", "input", "focus"],
|
|
23779
23779
|
setup(t, { expose: e, emit: i }) {
|
|
23780
|
-
const n = t, s = i, r = j(n.value), o = O(() =>
|
|
23780
|
+
const n = t, s = i, r = j(n.value), o = O(() => Ke("debounce-input-time", n.debounceTime)), a = qi(
|
|
23781
23781
|
// eslint-disable-next-line func-names
|
|
23782
23782
|
() => s("update:value", r.value),
|
|
23783
23783
|
o.value
|
|
@@ -25208,7 +25208,7 @@ const of = oe({
|
|
|
25208
25208
|
setup(t) {
|
|
25209
25209
|
var e;
|
|
25210
25210
|
yi("VBinder", (e = Pd()) === null || e === void 0 ? void 0 : e.proxy);
|
|
25211
|
-
const i =
|
|
25211
|
+
const i = Ke("VBinder", null), n = j(null), s = (m) => {
|
|
25212
25212
|
n.value = m, i && t.syncTargetWithParent && i.setTargetRef(m);
|
|
25213
25213
|
};
|
|
25214
25214
|
let r = [];
|
|
@@ -25254,7 +25254,7 @@ const of = oe({
|
|
|
25254
25254
|
}), af = oe({
|
|
25255
25255
|
name: "Target",
|
|
25256
25256
|
setup() {
|
|
25257
|
-
const { setTargetRef: t, syncTarget: e } =
|
|
25257
|
+
const { setTargetRef: t, syncTarget: e } = Ke("VBinder");
|
|
25258
25258
|
return {
|
|
25259
25259
|
syncTarget: e,
|
|
25260
25260
|
setTargetDirective: {
|
|
@@ -25283,7 +25283,7 @@ const ox = typeof document < "u";
|
|
|
25283
25283
|
function Ts() {
|
|
25284
25284
|
if (ox)
|
|
25285
25285
|
return;
|
|
25286
|
-
const t =
|
|
25286
|
+
const t = Ke(nx, null);
|
|
25287
25287
|
if (t !== null)
|
|
25288
25288
|
return {
|
|
25289
25289
|
adapter: (e, i) => rx(e, i, t),
|
|
@@ -25984,7 +25984,7 @@ const Bx = Vn([
|
|
|
25984
25984
|
overlap: Boolean
|
|
25985
25985
|
},
|
|
25986
25986
|
setup(t) {
|
|
25987
|
-
const e =
|
|
25987
|
+
const e = Ke("VBinder"), i = Ai(() => t.enabled !== void 0 ? t.enabled : t.show), n = j(null), s = j(null), r = () => {
|
|
25988
25988
|
const { syncTrigger: f } = t;
|
|
25989
25989
|
f.includes("scroll") && e.addScrollListener(l), f.includes("resize") && e.addResizeListener(l);
|
|
25990
25990
|
}, o = () => {
|
|
@@ -26469,7 +26469,7 @@ const sd = oe({
|
|
|
26469
26469
|
setup() {
|
|
26470
26470
|
const { startIndexRef: t, endIndexRef: e, columnsRef: i, getLeft: n, renderColRef: s, renderItemWithColsRef: r } = (
|
|
26471
26471
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
26472
|
-
|
|
26472
|
+
Ke(_f)
|
|
26473
26473
|
);
|
|
26474
26474
|
return {
|
|
26475
26475
|
startIndex: t,
|
|
@@ -27093,7 +27093,7 @@ const o2 = oe({
|
|
|
27093
27093
|
});
|
|
27094
27094
|
const ic = "n-internal-select-menu", Sf = "n-internal-select-menu-body", $f = "n-drawer-body", Tf = "n-modal-body", Pf = "n-popover-body", Rf = "__disabled__";
|
|
27095
27095
|
function Fn(t) {
|
|
27096
|
-
const e =
|
|
27096
|
+
const e = Ke(Tf, null), i = Ke($f, null), n = Ke(Pf, null), s = Ke(Sf, null), r = j();
|
|
27097
27097
|
if (typeof document < "u") {
|
|
27098
27098
|
r.value = document.fullscreenElement;
|
|
27099
27099
|
const o = () => {
|
|
@@ -27380,7 +27380,7 @@ const _l = oe({
|
|
|
27380
27380
|
function Rs(t = {}, e = {
|
|
27381
27381
|
defaultBordered: !0
|
|
27382
27382
|
}) {
|
|
27383
|
-
const i =
|
|
27383
|
+
const i = Ke(Ps, null);
|
|
27384
27384
|
return {
|
|
27385
27385
|
// NConfigProvider,
|
|
27386
27386
|
inlineThemeDisabled: i == null ? void 0 : i.inlineThemeDisabled,
|
|
@@ -27400,7 +27400,7 @@ function Rs(t = {}, e = {
|
|
|
27400
27400
|
}
|
|
27401
27401
|
function Fs(t, e, i, n) {
|
|
27402
27402
|
i || Mf("useThemeClass", "cssVarsRef is not passed");
|
|
27403
|
-
const s =
|
|
27403
|
+
const s = Ke(Ps, null), r = s == null ? void 0 : s.mergedThemeHashRef, o = s == null ? void 0 : s.styleMountTarget, a = j(""), l = Ts();
|
|
27404
27404
|
let c;
|
|
27405
27405
|
const u = `__${t}`, d = () => {
|
|
27406
27406
|
let f = u;
|
|
@@ -27437,7 +27437,7 @@ function w2(t, {
|
|
|
27437
27437
|
mergedSize: i,
|
|
27438
27438
|
mergedDisabled: n
|
|
27439
27439
|
} = {}) {
|
|
27440
|
-
const s =
|
|
27440
|
+
const s = Ke(gd, null);
|
|
27441
27441
|
yi(gd, null);
|
|
27442
27442
|
const r = O(i ? () => i(s) : () => {
|
|
27443
27443
|
const {
|
|
@@ -28048,7 +28048,7 @@ function Ef(t) {
|
|
|
28048
28048
|
const {
|
|
28049
28049
|
mergedLocaleRef: e,
|
|
28050
28050
|
mergedDateLocaleRef: i
|
|
28051
|
-
} =
|
|
28051
|
+
} = Ke(Ps, null) || {}, n = O(() => {
|
|
28052
28052
|
var r, o;
|
|
28053
28053
|
return (o = (r = e == null ? void 0 : e.value) === null || r === void 0 ? void 0 : r[t]) !== null && o !== void 0 ? o : x2[t];
|
|
28054
28054
|
});
|
|
@@ -28072,7 +28072,7 @@ function Er(t, e, i) {
|
|
|
28072
28072
|
const l = a[t];
|
|
28073
28073
|
if (l)
|
|
28074
28074
|
return l;
|
|
28075
|
-
}), r =
|
|
28075
|
+
}), r = Ke(Ps, null), o = () => {
|
|
28076
28076
|
Pn(() => {
|
|
28077
28077
|
const {
|
|
28078
28078
|
value: a
|
|
@@ -28141,7 +28141,7 @@ function Yo(t, e, i) {
|
|
|
28141
28141
|
ok.NODE_ENV !== "production" && Mf("use-style", "No style is specified.");
|
|
28142
28142
|
return;
|
|
28143
28143
|
}
|
|
28144
|
-
const n = Ts(), s =
|
|
28144
|
+
const n = Ts(), s = Ke(Ps, null), r = () => {
|
|
28145
28145
|
const o = i.value;
|
|
28146
28146
|
e.mount({
|
|
28147
28147
|
id: o === void 0 ? t : o + t,
|
|
@@ -28163,7 +28163,7 @@ function Yo(t, e, i) {
|
|
|
28163
28163
|
n ? r() : Fr(r);
|
|
28164
28164
|
}
|
|
28165
28165
|
function Gt(t, e, i, n, s, r) {
|
|
28166
|
-
const o = Ts(), a =
|
|
28166
|
+
const o = Ts(), a = Ke(Ps, null);
|
|
28167
28167
|
if (i) {
|
|
28168
28168
|
const c = () => {
|
|
28169
28169
|
const u = r == null ? void 0 : r.value;
|
|
@@ -28301,7 +28301,7 @@ function zf(t, e) {
|
|
|
28301
28301
|
name: ug(t),
|
|
28302
28302
|
setup() {
|
|
28303
28303
|
var n;
|
|
28304
|
-
const s = (n =
|
|
28304
|
+
const s = (n = Ke(Ps, null)) === null || n === void 0 ? void 0 : n.mergedIconsRef;
|
|
28305
28305
|
return () => {
|
|
28306
28306
|
var r;
|
|
28307
28307
|
const o = (r = s == null ? void 0 : s.value) === null || r === void 0 ? void 0 : r[t];
|
|
@@ -29250,7 +29250,7 @@ const sc = {
|
|
|
29250
29250
|
function ge() {
|
|
29251
29251
|
t.scrollable && (t.useUnifiedContainer ? se() : (We(), Si()));
|
|
29252
29252
|
}
|
|
29253
|
-
function
|
|
29253
|
+
function Ze(L) {
|
|
29254
29254
|
var ee;
|
|
29255
29255
|
return !(!((ee = r.value) === null || ee === void 0) && ee.contains(Sr(L)));
|
|
29256
29256
|
}
|
|
@@ -29283,7 +29283,7 @@ const sc = {
|
|
|
29283
29283
|
}
|
|
29284
29284
|
}
|
|
29285
29285
|
function di(L) {
|
|
29286
|
-
L.preventDefault(), L.stopPropagation(), St("mousemove", window, wt, !0), St("mouseup", window, di, !0), T = !1, ge(),
|
|
29286
|
+
L.preventDefault(), L.stopPropagation(), St("mousemove", window, wt, !0), St("mouseup", window, di, !0), T = !1, ge(), Ze(L) && Kt();
|
|
29287
29287
|
}
|
|
29288
29288
|
function As(L) {
|
|
29289
29289
|
L.preventDefault(), L.stopPropagation(), C = !0, ii("mousemove", window, En, !0), ii("mouseup", window, Jn, !0), k = v.value, B = L.clientY;
|
|
@@ -29308,7 +29308,7 @@ const sc = {
|
|
|
29308
29308
|
ht && (ht.scrollTop = Me);
|
|
29309
29309
|
}
|
|
29310
29310
|
function Jn(L) {
|
|
29311
|
-
L.preventDefault(), L.stopPropagation(), St("mousemove", window, En, !0), St("mouseup", window, Jn, !0), C = !1, ge(),
|
|
29311
|
+
L.preventDefault(), L.stopPropagation(), St("mousemove", window, En, !0), St("mouseup", window, Jn, !0), C = !1, ge(), Ze(L) && Kt();
|
|
29312
29312
|
}
|
|
29313
29313
|
Pn(() => {
|
|
29314
29314
|
const {
|
|
@@ -29749,7 +29749,7 @@ const Wf = {
|
|
|
29749
29749
|
renderOptionRef: e,
|
|
29750
29750
|
labelFieldRef: i,
|
|
29751
29751
|
nodePropsRef: n
|
|
29752
|
-
} =
|
|
29752
|
+
} = Ke(ic);
|
|
29753
29753
|
return {
|
|
29754
29754
|
labelField: i,
|
|
29755
29755
|
nodeProps: n,
|
|
@@ -29817,7 +29817,7 @@ const yd = oe({
|
|
|
29817
29817
|
nodePropsRef: u,
|
|
29818
29818
|
handleOptionClick: d,
|
|
29819
29819
|
handleOptionMouseEnter: f
|
|
29820
|
-
} =
|
|
29820
|
+
} = Ke(ic), g = Ai(() => {
|
|
29821
29821
|
const {
|
|
29822
29822
|
value: m
|
|
29823
29823
|
} = i;
|
|
@@ -30701,7 +30701,7 @@ const Vk = oe({
|
|
|
30701
30701
|
mergedClsPrefixRef: s,
|
|
30702
30702
|
inlineThemeDisabled: r,
|
|
30703
30703
|
mergedRtlRef: o
|
|
30704
|
-
} = Rs(t), a = Gt("Popover", "-popover", Hk, jf, t, s), l = Er("Popover", o, s), c = j(null), u =
|
|
30704
|
+
} = Rs(t), a = Gt("Popover", "-popover", Hk, jf, t, s), l = Er("Popover", o, s), c = j(null), u = Ke("NPopover"), d = j(null), f = j(t.show), g = j(!1);
|
|
30705
30705
|
Pn(() => {
|
|
30706
30706
|
const {
|
|
30707
30707
|
show: b
|
|
@@ -32213,9 +32213,9 @@ const qf = {
|
|
|
32213
32213
|
} = s;
|
|
32214
32214
|
if (ge) {
|
|
32215
32215
|
const {
|
|
32216
|
-
value:
|
|
32216
|
+
value: Ze
|
|
32217
32217
|
} = r;
|
|
32218
|
-
|
|
32218
|
+
Ze && (Ze.style.width = `${ge.offsetWidth}px`, t.maxTagCount !== "responsive" && ((se = f.value) === null || se === void 0 || se.sync({
|
|
32219
32219
|
showAllItemsBeforeCalculate: !1
|
|
32220
32220
|
})));
|
|
32221
32221
|
}
|
|
@@ -32305,8 +32305,8 @@ const qf = {
|
|
|
32305
32305
|
value: ge
|
|
32306
32306
|
} = s;
|
|
32307
32307
|
if (ge) {
|
|
32308
|
-
const
|
|
32309
|
-
ge.textContent =
|
|
32308
|
+
const Ze = se.target.value;
|
|
32309
|
+
ge.textContent = Ze, F();
|
|
32310
32310
|
}
|
|
32311
32311
|
t.ignoreComposition && K.value ? G = se : M(se);
|
|
32312
32312
|
}
|
|
@@ -32330,19 +32330,19 @@ const qf = {
|
|
|
32330
32330
|
p.value = !1, (se = c.value) === null || se === void 0 || se.blur(), (ge = r.value) === null || ge === void 0 || ge.blur();
|
|
32331
32331
|
else if (t.multiple) {
|
|
32332
32332
|
const {
|
|
32333
|
-
value:
|
|
32333
|
+
value: Ze
|
|
32334
32334
|
} = a;
|
|
32335
|
-
|
|
32335
|
+
Ze == null || Ze.blur();
|
|
32336
32336
|
} else {
|
|
32337
32337
|
const {
|
|
32338
|
-
value:
|
|
32338
|
+
value: Ze
|
|
32339
32339
|
} = l;
|
|
32340
|
-
|
|
32340
|
+
Ze == null || Ze.blur();
|
|
32341
32341
|
}
|
|
32342
32342
|
}
|
|
32343
32343
|
function ot() {
|
|
32344
|
-
var se, ge,
|
|
32345
|
-
t.filterable ? (p.value = !1, (se = c.value) === null || se === void 0 || se.focus()) : t.multiple ? (ge = a.value) === null || ge === void 0 || ge.focus() : (
|
|
32344
|
+
var se, ge, Ze;
|
|
32345
|
+
t.filterable ? (p.value = !1, (se = c.value) === null || se === void 0 || se.focus()) : t.multiple ? (ge = a.value) === null || ge === void 0 || ge.focus() : (Ze = l.value) === null || Ze === void 0 || Ze.focus();
|
|
32346
32346
|
}
|
|
32347
32347
|
function qe() {
|
|
32348
32348
|
const {
|
|
@@ -32404,7 +32404,7 @@ const qf = {
|
|
|
32404
32404
|
cubicBezierEaseInOut: ge
|
|
32405
32405
|
},
|
|
32406
32406
|
self: {
|
|
32407
|
-
fontWeight:
|
|
32407
|
+
fontWeight: Ze,
|
|
32408
32408
|
borderRadius: Mn,
|
|
32409
32409
|
color: wt,
|
|
32410
32410
|
placeholderColor: di,
|
|
@@ -32512,7 +32512,7 @@ const qf = {
|
|
|
32512
32512
|
// arrow-size
|
|
32513
32513
|
"--n-arrow-size": tg,
|
|
32514
32514
|
// font-weight
|
|
32515
|
-
"--n-font-weight":
|
|
32515
|
+
"--n-font-weight": Ze
|
|
32516
32516
|
};
|
|
32517
32517
|
}), We = Oi ? Fs("internal-selection", O(() => t.size[0]), Si, t) : void 0;
|
|
32518
32518
|
return {
|
|
@@ -33315,7 +33315,7 @@ const vC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33315
33315
|
d.value.some((ht) => ht[Ae] === Te[Ae] || ht[Me] === Te[Me]) || f.value.some((ht) => ht[Ae] === Te[Ae] || ht[Me] === Te[Me]) ? g.value = P : g.value = [Te];
|
|
33316
33316
|
}
|
|
33317
33317
|
}
|
|
33318
|
-
function
|
|
33318
|
+
function Ze(L) {
|
|
33319
33319
|
L.stopPropagation();
|
|
33320
33320
|
const {
|
|
33321
33321
|
multiple: ee
|
|
@@ -33444,7 +33444,7 @@ const vC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33444
33444
|
handleToggle: Si,
|
|
33445
33445
|
handleDeleteOption: We,
|
|
33446
33446
|
handlePatternInput: ge,
|
|
33447
|
-
handleClear:
|
|
33447
|
+
handleClear: Ze,
|
|
33448
33448
|
handleTriggerBlur: Ei,
|
|
33449
33449
|
handleTriggerFocus: Kt,
|
|
33450
33450
|
handleKeydown: di,
|
|
@@ -33936,12 +33936,14 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
33936
33936
|
orderUrl: {}
|
|
33937
33937
|
},
|
|
33938
33938
|
setup(t) {
|
|
33939
|
-
const e = t, i = O(() => e.fields.includes(
|
|
33939
|
+
const e = t, i = O(() => e.fields.includes(Xe.Id) ? e.order.id : void 0), n = O(
|
|
33940
33940
|
() => {
|
|
33941
33941
|
var a, l;
|
|
33942
|
-
return e.fields.includes(
|
|
33942
|
+
return e.fields.includes(Xe.Status) ? (l = (a = Ft().orderStatusReference) == null ? void 0 : a.find((c) => c.id === (e.order.status ?? -1))) == null ? void 0 : l.name : void 0;
|
|
33943
33943
|
}
|
|
33944
|
-
), s = O(() => e.fields.includes(
|
|
33944
|
+
), s = O(() => e.fields.includes(Xe.CreatedAt)), r = O(
|
|
33945
|
+
() => e.fields.includes(Xe.ClientInfo) || e.fields.includes(Xe.ClientInfoShort) ? e.order.client : void 0
|
|
33946
|
+
), o = O(() => e.fields.includes(Xe.DeliveryInfo) ? e.order.delivery : void 0);
|
|
33945
33947
|
return (a, l) => (w(), z("div", qC, [
|
|
33946
33948
|
R("span", XC, [
|
|
33947
33949
|
i.value ? (w(), z("a", {
|
|
@@ -34315,7 +34317,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34315
34317
|
order: {}
|
|
34316
34318
|
},
|
|
34317
34319
|
setup(t) {
|
|
34318
|
-
const e = t, i =
|
|
34320
|
+
const e = t, i = Ke(Oo, "small"), n = O(
|
|
34319
34321
|
() => rt(e.orderContextButtonsConfig) ? [] : kt(e.orderContextButtonsConfig) ? e.orderContextButtonsConfig(e.order) : e.orderContextButtonsConfig
|
|
34320
34322
|
), s = (r) => {
|
|
34321
34323
|
var o;
|
|
@@ -34386,16 +34388,16 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34386
34388
|
return B && P.push("order-status", B), k.delivery.date && Ng(new Date(k.delivery.date)) && P.push("next-day-order"), P.length > 0 && (b.class = P.join(" ")), b;
|
|
34387
34389
|
}, u = () => {
|
|
34388
34390
|
const k = [
|
|
34389
|
-
|
|
34390
|
-
|
|
34391
|
-
|
|
34392
|
-
|
|
34393
|
-
|
|
34394
|
-
|
|
34395
|
-
|
|
34396
|
-
|
|
34397
|
-
...i.showAttachedUserColumn ? [
|
|
34398
|
-
|
|
34391
|
+
Xe.CreatedAt,
|
|
34392
|
+
Xe.Id,
|
|
34393
|
+
Xe.ClientInfo,
|
|
34394
|
+
Xe.ClientCity,
|
|
34395
|
+
Xe.DeliveryDate,
|
|
34396
|
+
Xe.PaymentType,
|
|
34397
|
+
Xe.SalesDirections,
|
|
34398
|
+
Xe.Status,
|
|
34399
|
+
...i.showAttachedUserColumn ? [Xe.AttachedUser] : [],
|
|
34400
|
+
Xe.actions
|
|
34399
34401
|
], b = i.fields.length > 0 ? i.fields : k, P = {
|
|
34400
34402
|
title: "???",
|
|
34401
34403
|
key: "undefined",
|
|
@@ -34415,7 +34417,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34415
34417
|
let N = [
|
|
34416
34418
|
{
|
|
34417
34419
|
title: "Дата заказа",
|
|
34418
|
-
key:
|
|
34420
|
+
key: Xe.CreatedAt,
|
|
34419
34421
|
resizable: !0,
|
|
34420
34422
|
width: 100,
|
|
34421
34423
|
// eslint-disable-next-line vue/max-len
|
|
@@ -34423,7 +34425,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34423
34425
|
},
|
|
34424
34426
|
{
|
|
34425
34427
|
title: "№ заказа",
|
|
34426
|
-
key:
|
|
34428
|
+
key: Xe.Id,
|
|
34427
34429
|
resizable: !0,
|
|
34428
34430
|
width: 75,
|
|
34429
34431
|
className: "order-id",
|
|
@@ -34439,7 +34441,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34439
34441
|
},
|
|
34440
34442
|
{
|
|
34441
34443
|
title: "Дата доставки / самовывоза",
|
|
34442
|
-
key:
|
|
34444
|
+
key: Xe.DeliveryDate,
|
|
34443
34445
|
resizable: !0,
|
|
34444
34446
|
width: 100,
|
|
34445
34447
|
className: "delivery-date",
|
|
@@ -34447,7 +34449,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34447
34449
|
},
|
|
34448
34450
|
{
|
|
34449
34451
|
title: "Клиент",
|
|
34450
|
-
key:
|
|
34452
|
+
key: Xe.ClientInfo,
|
|
34451
34453
|
resizable: !0,
|
|
34452
34454
|
minWidth: 320,
|
|
34453
34455
|
render: (M) => W(So, {
|
|
@@ -34459,14 +34461,14 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34459
34461
|
},
|
|
34460
34462
|
{
|
|
34461
34463
|
title: "Тип доставки",
|
|
34462
|
-
key:
|
|
34464
|
+
key: Xe.DeliveryInfo,
|
|
34463
34465
|
resizable: !0,
|
|
34464
34466
|
minWidth: 320,
|
|
34465
34467
|
render: (M) => W(rc, { delivery: M.delivery })
|
|
34466
34468
|
},
|
|
34467
34469
|
{
|
|
34468
34470
|
title: "Клиент",
|
|
34469
|
-
key:
|
|
34471
|
+
key: Xe.ClientInfoShort,
|
|
34470
34472
|
resizable: !0,
|
|
34471
34473
|
minWidth: 320,
|
|
34472
34474
|
render: (M) => W(So, {
|
|
@@ -34479,7 +34481,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34479
34481
|
},
|
|
34480
34482
|
{
|
|
34481
34483
|
title: "Город клиента",
|
|
34482
|
-
key:
|
|
34484
|
+
key: Xe.ClientCity,
|
|
34483
34485
|
resizable: !0,
|
|
34484
34486
|
minWidth: 90,
|
|
34485
34487
|
width: 120,
|
|
@@ -34490,7 +34492,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34490
34492
|
},
|
|
34491
34493
|
{
|
|
34492
34494
|
title: "Статус",
|
|
34493
|
-
key:
|
|
34495
|
+
key: Xe.Status,
|
|
34494
34496
|
resizable: !0,
|
|
34495
34497
|
width: 150,
|
|
34496
34498
|
minWidth: 115,
|
|
@@ -34502,7 +34504,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34502
34504
|
},
|
|
34503
34505
|
{
|
|
34504
34506
|
title: "Тип оплаты",
|
|
34505
|
-
key:
|
|
34507
|
+
key: Xe.PaymentType,
|
|
34506
34508
|
resizable: !0,
|
|
34507
34509
|
width: 115,
|
|
34508
34510
|
minWidth: 95,
|
|
@@ -34510,7 +34512,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34510
34512
|
},
|
|
34511
34513
|
{
|
|
34512
34514
|
title: "Напр. продаж",
|
|
34513
|
-
key:
|
|
34515
|
+
key: Xe.SalesDirections,
|
|
34514
34516
|
resizable: !0,
|
|
34515
34517
|
width: 70,
|
|
34516
34518
|
render: (M) => {
|
|
@@ -34521,7 +34523,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34521
34523
|
...i.showAttachedUserColumn ? [
|
|
34522
34524
|
{
|
|
34523
34525
|
title: "Закреплено за",
|
|
34524
|
-
key:
|
|
34526
|
+
key: Xe.AttachedUser,
|
|
34525
34527
|
resizable: !0,
|
|
34526
34528
|
minWidth: 120,
|
|
34527
34529
|
render: (M) => {
|
|
@@ -34541,7 +34543,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34541
34543
|
orderContextButtonsConfig: i.orderContextButtonsConfig,
|
|
34542
34544
|
onOrderContextSelect: i.onOrderContextSelect
|
|
34543
34545
|
})
|
|
34544
|
-
}), i.enableSorting && (N = N.map((M) => [
|
|
34546
|
+
}), i.enableSorting && (N = N.map((M) => [Xe.Id, Xe.CreatedAt, Xe.DeliveryDate].includes(M.key) ? {
|
|
34545
34547
|
...M,
|
|
34546
34548
|
sorter: !0,
|
|
34547
34549
|
sortOrder: !1,
|
|
@@ -34560,7 +34562,7 @@ const zC = Oe({ name: "tabler-truck-loading", render: OC }), LC = { class: "flex
|
|
|
34560
34562
|
}
|
|
34561
34563
|
];
|
|
34562
34564
|
case bt.laptop: {
|
|
34563
|
-
const M = i.showAttachedUserColumn ? b : b.filter((D) => D !==
|
|
34565
|
+
const M = i.showAttachedUserColumn ? b : b.filter((D) => D !== Xe.AttachedUser);
|
|
34564
34566
|
return [B, ...M.map((D) => N.find((A) => A.key === D) ?? P)];
|
|
34565
34567
|
}
|
|
34566
34568
|
default:
|
|
@@ -35828,7 +35830,7 @@ export {
|
|
|
35828
35830
|
Cn as KozyrekLine,
|
|
35829
35831
|
Au as KozyrekTailTemplate,
|
|
35830
35832
|
gr as KozyrekTemplate,
|
|
35831
|
-
|
|
35833
|
+
Xe as OrdersTableFields,
|
|
35832
35834
|
Bu as Point,
|
|
35833
35835
|
_3 as ScAddressSuggestion,
|
|
35834
35836
|
h5 as ScAddressSuggestionLabel,
|