@snabcentr/vue-ui-lib 3.56.0 → 3.56.2
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/sc-vue-ui-lib.css +1 -1
- package/dist/sc-vue-ui-lib.js +600 -597
- package/dist/sc-vue-ui-lib.js.map +1 -1
- package/dist/sc-vue-ui-lib.umd.cjs +11 -11
- package/dist/sc-vue-ui-lib.umd.cjs.map +1 -1
- package/dist/src/components/orders/orders-list.vue.d.ts +3 -1
- package/dist/src/emits/interfaces/clicks/i-order-row-dblclick-event.d.ts +13 -0
- package/dist/src/emits/interfaces/clicks/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/sc-vue-ui-lib.js
CHANGED
|
@@ -6,7 +6,7 @@ var ng = (t, e, i) => e in t ? ig(t, e, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var S = (t, e, i) => ng(t, typeof e != "symbol" ? e + "" : e, i), ac = (t, e, i) => e.has(t) || oc("Cannot " + i);
|
|
7
7
|
var Zt = (t, e, i) => (ac(t, e, "read from private field"), i ? i.call(t) : e.get(t)), ha = (t, e, i) => e.has(t) ? oc("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), lc = (t, e, i, n) => (ac(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
|
|
8
8
|
import { isString as rn, groupBy as sg, get as fo, isEmpty as wl, noop as Yt, some as Fi, isFunction as kt, isNil as ft, find as cc, forOwn as wd, forEach as fs, sortBy as xd, cloneDeep as Ai, reduce as kd, every as uc, isArray as _t, keys as rg, debounce as Mi, isUndefined as _s, unset as og, isObject as ag, merge as Dr, upperFirst as lg, map as cg, constant as Mo, isNull as ug, union as dg } from "lodash-es";
|
|
9
|
-
import { Comment as Eo, Text as Cd, Fragment as Be, markRaw as Oe, createElementBlock as O, openBlock as
|
|
9
|
+
import { Comment as Eo, Text as Cd, Fragment as Be, markRaw as Oe, createElementBlock as O, openBlock as k, createElementVNode as P, defineComponent as oe, inject as je, computed as I, ref as q, readonly as go, normalizeClass as Ge, createVNode as D, createCommentVNode as U, renderSlot as Te, unref as M, createTextVNode as ie, toDisplayString as Y, Transition as ws, withCtx as E, createBlock as Q, useTemplateRef as it, onMounted as st, onBeforeUnmount as ki, onUnmounted as Pr, normalizeStyle as Rr, renderList as Xt, h as L, watch as Ce, withKeys as er, withModifiers as Ts, nextTick as Rt, onBeforeMount as Fr, toRaw as mi, provide as yi, createSlots as Un, getCurrentInstance as Sd, withDirectives as Br, Teleport as hg, toRef as Je, mergeProps as xl, onActivated as $d, onDeactivated as Td, isVNode as fg, shallowRef as gg, watchEffect as Tn, vShow as Pd, cloneVNode as pg, mergeDefaults as kl } from "vue";
|
|
10
10
|
import { NTooltip as Ar, NButton as He, NDropdown as Io, NTag as Rd, NPopover as Bn, NText as Sn, NScrollbar as Fd, NCheckbox as Kn, NSpin as tr, NForm as ir, NFormItem as et, NSelect as on, NInputNumber as $t, NInput as An, NModal as Cl, NDrawer as Bd, NDrawerContent as Ad, NDataTable as Sl, NAlert as Md, NInputGroup as Ed, NInputGroupLabel as mg, NDatePicker as vg, NUpload as yg, NUploadDragger as bg, NList as _g, NListItem as wg, NH1 as xg, NAutoComplete as $l } from "naive-ui";
|
|
11
11
|
import { useBaseConfigStateStore as _i, OrderItemBase as Ut, ClientProduct as Pn, Identity as kg, ClientCategory as Cg, Reference as Sg, useReferencesStore as Ft, PriceCoefficientEnum as $g, CalculationTypeEnum as Nr, PriceCoefficient as Tg, UnitsHelper as Xi, DateTimeProvider as Pg, HttpRequester as Rn, ProductCategoryDataProvider as Rg, ProductDataProvider as Fg, UserTypeEnum as Hr, Order as Bg, OrdersDataProvider as Id, DataTablePagination as Ag, Curator as dc, CuratedDirection as Mg, ManagerDataFactory as hc, Manager as fa, DataSuggestionProvider as Tl, FieldValidationResultData as Eg, ReferenceDataProvider as Ig, ClientDataProvider as Og } from "@snabcentr/common-lib";
|
|
12
12
|
import { format as Ks, endOfDay as zg, startOfDay as Lg } from "date-fns";
|
|
@@ -151,7 +151,7 @@ const Vg = {
|
|
|
151
151
|
height: "1.2em"
|
|
152
152
|
};
|
|
153
153
|
function jg(t, e) {
|
|
154
|
-
return
|
|
154
|
+
return k(), O("svg", Vg, [...e[0] || (e[0] = [
|
|
155
155
|
P("circle", {
|
|
156
156
|
cx: "256",
|
|
157
157
|
cy: "256",
|
|
@@ -178,7 +178,7 @@ const Rl = Oe({ name: "ion-ellipsis-vertical-sharp", render: jg }), Ug = {
|
|
|
178
178
|
height: "1.2em"
|
|
179
179
|
};
|
|
180
180
|
function qg(t, e) {
|
|
181
|
-
return
|
|
181
|
+
return k(), O("svg", Ug, [...e[0] || (e[0] = [
|
|
182
182
|
P("g", {
|
|
183
183
|
fill: "none",
|
|
184
184
|
stroke: "currentColor",
|
|
@@ -197,7 +197,7 @@ const Od = Oe({ name: "tabler-edit", render: qg }), Xg = {
|
|
|
197
197
|
height: "1.2em"
|
|
198
198
|
};
|
|
199
199
|
function Yg(t, e) {
|
|
200
|
-
return
|
|
200
|
+
return k(), O("svg", Xg, [...e[0] || (e[0] = [
|
|
201
201
|
P("path", {
|
|
202
202
|
fill: "currentColor",
|
|
203
203
|
d: "M258.9 48C141.92 46.42 46.42 141.92 48 258.9c1.56 112.19 92.91 203.54 205.1 205.1c117 1.6 212.48-93.9 210.88-210.88C462.44 140.91 371.09 49.56 258.9 48m-16.79 192.47l51.55-59a16 16 0 0 1 24.1 21.06l-51.55 59a16 16 0 1 1-24.1-21.06m-38.86 90.85a16 16 0 0 1-22.62 0l-47.95-48a16 16 0 1 1 22.64-22.62l48 48a16 16 0 0 1-.07 22.62m176.8-128.79l-111.88 128a16 16 0 0 1-11.51 5.47h-.54a16 16 0 0 1-11.32-4.69l-47.94-48a16 16 0 1 1 22.64-22.62l29.8 29.83a8 8 0 0 0 11.68-.39l95-108.66a16 16 0 0 1 24.1 21.06Z"
|
|
@@ -210,7 +210,7 @@ const zd = Oe({ name: "ion-checkmark-done-circle", render: Yg }), Gg = {
|
|
|
210
210
|
height: "1.2em"
|
|
211
211
|
};
|
|
212
212
|
function Kg(t, e) {
|
|
213
|
-
return
|
|
213
|
+
return k(), O("svg", Gg, [...e[0] || (e[0] = [
|
|
214
214
|
P("path", {
|
|
215
215
|
fill: "none",
|
|
216
216
|
stroke: "currentColor",
|
|
@@ -234,7 +234,7 @@ const Ld = Oe({ name: "ion-checkmark-done-circle-outline", render: Kg }), Zg = {
|
|
|
234
234
|
height: "1.2em"
|
|
235
235
|
};
|
|
236
236
|
function Qg(t, e) {
|
|
237
|
-
return
|
|
237
|
+
return k(), O("svg", Zg, [...e[0] || (e[0] = [
|
|
238
238
|
P("path", {
|
|
239
239
|
fill: "currentColor",
|
|
240
240
|
d: "M22.15 3.237c-1.93-1.93-5.185-1.403-6.406 1.04l-3.175 6.35a1.5 1.5 0 0 1-.868.752L6.72 13.04a2 2 0 0 0-.782 3.312l4.149 4.149L4 26.586v1.415h1.414l6.086-6.086l4.149 4.149a2 2 0 0 0 3.311-.782l1.661-4.983a1.5 1.5 0 0 1 .752-.867l6.351-3.175c2.442-1.222 2.97-4.476 1.04-6.407zM17.533 5.17a2 2 0 0 1 3.203-.52l6.614 6.614a2 2 0 0 1-.52 3.203l-6.351 3.175a3.5 3.5 0 0 0-1.755 2.024l-1.661 4.982l-9.712-9.711l4.983-1.661a3.5 3.5 0 0 0 2.024-1.755z"
|
|
@@ -247,7 +247,7 @@ const Jg = Oe({ name: "fluent-pin32-regular", render: Qg }), ep = {
|
|
|
247
247
|
height: "1.2em"
|
|
248
248
|
};
|
|
249
249
|
function tp(t, e) {
|
|
250
|
-
return
|
|
250
|
+
return k(), O("svg", ep, [...e[0] || (e[0] = [
|
|
251
251
|
P("path", {
|
|
252
252
|
fill: "none",
|
|
253
253
|
stroke: "currentColor",
|
|
@@ -273,7 +273,7 @@ const ip = Oe({ name: "ion-eye-outline", render: tp }), np = {
|
|
|
273
273
|
height: "1.2em"
|
|
274
274
|
};
|
|
275
275
|
function sp(t, e) {
|
|
276
|
-
return
|
|
276
|
+
return k(), O("svg", np, [...e[0] || (e[0] = [
|
|
277
277
|
P("path", {
|
|
278
278
|
fill: "currentColor",
|
|
279
279
|
d: "M15.744 4.276c1.221-2.442 4.476-2.97 6.406-1.04l6.614 6.614c1.93 1.93 1.402 5.186-1.04 6.406l-6.35 3.176a1.5 1.5 0 0 0-.753.867l-1.66 4.983a2 2 0 0 1-3.312.782l-4.149-4.15l-6.086 6.087H4v-1.415l6.086-6.085l-4.149-4.15a2 2 0 0 1 .782-3.31l4.982-1.662a1.5 1.5 0 0 0 .868-.752z"
|
|
@@ -286,7 +286,7 @@ const rp = Oe({ name: "fluent-pin32-filled", render: sp }), op = {
|
|
|
286
286
|
height: "1.2em"
|
|
287
287
|
};
|
|
288
288
|
function ap(t, e) {
|
|
289
|
-
return
|
|
289
|
+
return k(), O("svg", op, [...e[0] || (e[0] = [
|
|
290
290
|
P("path", {
|
|
291
291
|
fill: "none",
|
|
292
292
|
stroke: "currentColor",
|
|
@@ -303,7 +303,7 @@ const lp = Oe({ name: "ion-bookmark-outline", render: ap }), cp = {
|
|
|
303
303
|
height: "1.2em"
|
|
304
304
|
};
|
|
305
305
|
function up(t, e) {
|
|
306
|
-
return
|
|
306
|
+
return k(), O("svg", cp, [...e[0] || (e[0] = [
|
|
307
307
|
P("path", {
|
|
308
308
|
fill: "currentColor",
|
|
309
309
|
d: "m63.998 86.005l21.998-21.998L447.999 426.01l-21.998 21.998zM259.34 192.09l60.57 60.57a64.07 64.07 0 0 0-60.57-60.57m-6.68 127.82l-60.57-60.57a64.07 64.07 0 0 0 60.57 60.57"
|
|
@@ -320,7 +320,7 @@ const dp = Oe({ name: "ion-eye-off-sharp", render: up }), hp = {
|
|
|
320
320
|
height: "1.2em"
|
|
321
321
|
};
|
|
322
322
|
function fp(t, e) {
|
|
323
|
-
return
|
|
323
|
+
return k(), O("svg", hp, [...e[0] || (e[0] = [
|
|
324
324
|
P("path", {
|
|
325
325
|
fill: "none",
|
|
326
326
|
stroke: "currentColor",
|
|
@@ -378,7 +378,7 @@ const gp = Oe({ name: "ion-chevron-forward-outline", render: fp }), pp = ["data-
|
|
|
378
378
|
expanded: go(u)
|
|
379
379
|
}), (p, v) => {
|
|
380
380
|
const m = gp;
|
|
381
|
-
return
|
|
381
|
+
return k(), O("div", {
|
|
382
382
|
"data-name": t.name,
|
|
383
383
|
class: Ge([{ "cursor-not-allowed text-gray-400": t.disabled }, "sc-collapse-item flex flex-col p-2"])
|
|
384
384
|
}, [
|
|
@@ -393,7 +393,7 @@ const gp = Oe({ name: "ion-chevron-forward-outline", render: fp }), pp = ["data-
|
|
|
393
393
|
], !0)
|
|
394
394
|
], 2)
|
|
395
395
|
]),
|
|
396
|
-
M(qs).hasSlotContent(p.$slots["pre-arrow"]) ? (
|
|
396
|
+
M(qs).hasSlotContent(p.$slots["pre-arrow"]) ? (k(), O("div", yp, [
|
|
397
397
|
P("div", bp, [
|
|
398
398
|
Te(p.$slots, "pre-arrow", {}, void 0, !0)
|
|
399
399
|
])
|
|
@@ -407,17 +407,17 @@ const gp = Oe({ name: "ion-chevron-forward-outline", render: fp }), pp = ["data-
|
|
|
407
407
|
ie(Y(t.title), 1)
|
|
408
408
|
], !0)
|
|
409
409
|
]),
|
|
410
|
-
M(qs).hasSlotContent(p.$slots["sub-header"]) ? (
|
|
410
|
+
M(qs).hasSlotContent(p.$slots["sub-header"]) ? (k(), O("div", wp, [
|
|
411
411
|
Te(p.$slots, "sub-header", {}, void 0, !0)
|
|
412
412
|
])) : U("", !0)
|
|
413
413
|
]),
|
|
414
|
-
M(qs).hasSlotContent(p.$slots["header-extra"]) ? (
|
|
414
|
+
M(qs).hasSlotContent(p.$slots["header-extra"]) ? (k(), O("div", xp, [
|
|
415
415
|
Te(p.$slots, "header-extra", {}, void 0, !0)
|
|
416
416
|
])) : U("", !0)
|
|
417
417
|
]),
|
|
418
418
|
D(ws, { name: "fade" }, {
|
|
419
419
|
default: E(() => [
|
|
420
|
-
c.value || u.value ? (
|
|
420
|
+
c.value || u.value ? (k(), O("div", kp, [
|
|
421
421
|
Te(p.$slots, "default", {}, void 0, !0)
|
|
422
422
|
])) : U("", !0)
|
|
423
423
|
]),
|
|
@@ -437,7 +437,7 @@ const gp = Oe({ name: "ion-chevron-forward-outline", render: fp }), pp = ["data-
|
|
|
437
437
|
height: "1.2em"
|
|
438
438
|
};
|
|
439
439
|
function Pp(t, e) {
|
|
440
|
-
return
|
|
440
|
+
return k(), O("svg", Tp, [...e[0] || (e[0] = [
|
|
441
441
|
P("circle", {
|
|
442
442
|
cx: "176",
|
|
443
443
|
cy: "416",
|
|
@@ -582,8 +582,8 @@ const Dd = Oe({ name: "ion-cart-outline", render: Pp }), Oo = Symbol(), j5 = {
|
|
|
582
582
|
return (d, f) => {
|
|
583
583
|
var T;
|
|
584
584
|
const g = Ld, h = zd, p = He, v = Ar, m = Od, y = Dd, $ = Rl, w = Io;
|
|
585
|
-
return
|
|
586
|
-
r.value ? (
|
|
585
|
+
return k(), O("div", Rp, [
|
|
586
|
+
r.value ? (k(), Q(v, {
|
|
587
587
|
key: 0,
|
|
588
588
|
placement: "bottom",
|
|
589
589
|
trigger: "hover"
|
|
@@ -597,7 +597,7 @@ const Dd = Oe({ name: "ion-cart-outline", render: Pp }), Oo = Symbol(), j5 = {
|
|
|
597
597
|
onClick: c
|
|
598
598
|
}, {
|
|
599
599
|
default: E(() => [
|
|
600
|
-
t.product.isRequired ? (
|
|
600
|
+
t.product.isRequired ? (k(), Q(h, { key: 1 })) : (k(), Q(g, { key: 0 }))
|
|
601
601
|
]),
|
|
602
602
|
_: 1
|
|
603
603
|
}, 8, ["size", "disabled", "type"])
|
|
@@ -607,7 +607,7 @@ const Dd = Oe({ name: "ion-cart-outline", render: Pp }), Oo = Symbol(), j5 = {
|
|
|
607
607
|
]),
|
|
608
608
|
_: 1
|
|
609
609
|
})) : U("", !0),
|
|
610
|
-
s.value ? (
|
|
610
|
+
s.value ? (k(), Q(v, {
|
|
611
611
|
key: 1,
|
|
612
612
|
placement: "bottom",
|
|
613
613
|
trigger: "hover"
|
|
@@ -631,7 +631,7 @@ const Dd = Oe({ name: "ion-cart-outline", render: Pp }), Oo = Symbol(), j5 = {
|
|
|
631
631
|
]),
|
|
632
632
|
_: 1
|
|
633
633
|
})) : U("", !0),
|
|
634
|
-
n.value ? (
|
|
634
|
+
n.value ? (k(), Q(v, {
|
|
635
635
|
key: 2,
|
|
636
636
|
placement: "bottom",
|
|
637
637
|
trigger: "hover"
|
|
@@ -655,7 +655,7 @@ const Dd = Oe({ name: "ion-cart-outline", render: Pp }), Oo = Symbol(), j5 = {
|
|
|
655
655
|
]),
|
|
656
656
|
_: 1
|
|
657
657
|
})) : U("", !0),
|
|
658
|
-
((T = o.value) == null ? void 0 : T.length) > 0 ? (
|
|
658
|
+
((T = o.value) == null ? void 0 : T.length) > 0 ? (k(), Q(w, {
|
|
659
659
|
key: 3,
|
|
660
660
|
options: o.value,
|
|
661
661
|
size: M(i),
|
|
@@ -685,7 +685,7 @@ const Dd = Oe({ name: "ion-cart-outline", render: Pp }), Oo = Symbol(), j5 = {
|
|
|
685
685
|
height: "1.2em"
|
|
686
686
|
};
|
|
687
687
|
function Ap(t, e) {
|
|
688
|
-
return
|
|
688
|
+
return k(), O("svg", Bp, [...e[0] || (e[0] = [
|
|
689
689
|
P("g", {
|
|
690
690
|
fill: "none",
|
|
691
691
|
stroke: "currentColor",
|
|
@@ -704,7 +704,7 @@ const Mp = Oe({ name: "tabler-history", render: Ap }), Ep = {
|
|
|
704
704
|
height: "1.2em"
|
|
705
705
|
};
|
|
706
706
|
function Ip(t, e) {
|
|
707
|
-
return
|
|
707
|
+
return k(), O("svg", Ep, [...e[0] || (e[0] = [
|
|
708
708
|
P("path", {
|
|
709
709
|
fill: "currentColor",
|
|
710
710
|
d: "m18.5 3.5l2 2l-15 15l-2-2zM7 4c1.66 0 3 1.34 3 3s-1.34 3-3 3s-3-1.34-3-3s1.34-3 3-3m10 10c1.66 0 3 1.34 3 3s-1.34 3-3 3s-3-1.34-3-3s1.34-3 3-3M7 6c-.55 0-1 .45-1 1s.45 1 1 1s1-.45 1-1s-.45-1-1-1m10 10c-.55 0-1 .45-1 1s.45 1 1 1s1-.45 1-1s-.45-1-1-1"
|
|
@@ -761,8 +761,8 @@ const Op = Oe({ name: "mdi-percent-outline", render: Ip }), zp = { class: "flex
|
|
|
761
761
|
return (m, y) => {
|
|
762
762
|
var _;
|
|
763
763
|
const $ = Rd, w = Ar, T = Op, R = Mp;
|
|
764
|
-
return
|
|
765
|
-
t.showTag ? (
|
|
764
|
+
return k(), O("div", zp, [
|
|
765
|
+
t.showTag ? (k(), Q(w, { key: 0 }, {
|
|
766
766
|
trigger: E(() => [
|
|
767
767
|
D($, {
|
|
768
768
|
round: "",
|
|
@@ -771,18 +771,18 @@ const Op = Oe({ name: "mdi-percent-outline", render: Ip }), zp = { class: "flex
|
|
|
771
771
|
class: Ge(["text-slate-600", { "font-bold": !s.value }])
|
|
772
772
|
}, {
|
|
773
773
|
default: E(() => {
|
|
774
|
-
var
|
|
774
|
+
var x;
|
|
775
775
|
return [
|
|
776
|
-
ie(Y(((
|
|
776
|
+
ie(Y(((x = s.value) == null ? void 0 : x.coefficient.slug) ?? "Ц"), 1)
|
|
777
777
|
];
|
|
778
778
|
}),
|
|
779
779
|
_: 1
|
|
780
780
|
}, 8, ["class"])
|
|
781
781
|
]),
|
|
782
782
|
default: E(() => {
|
|
783
|
-
var
|
|
783
|
+
var x;
|
|
784
784
|
return [
|
|
785
|
-
ie(" " + Y(((
|
|
785
|
+
ie(" " + Y(((x = s.value) == null ? void 0 : x.coefficient.name) ?? "Розничная цена"), 1)
|
|
786
786
|
];
|
|
787
787
|
}),
|
|
788
788
|
_: 1
|
|
@@ -790,9 +790,9 @@ const Op = Oe({ name: "mdi-percent-outline", render: Ip }), zp = { class: "flex
|
|
|
790
790
|
P("div", {
|
|
791
791
|
class: Ge({ "!text-red-600": r.value })
|
|
792
792
|
}, [
|
|
793
|
-
l.value && l.value !== a.value || p.value ? (
|
|
794
|
-
l.value && l.value !== a.value ? (
|
|
795
|
-
p.value ? (
|
|
793
|
+
l.value && l.value !== a.value || p.value ? (k(), O("div", Lp, [
|
|
794
|
+
l.value && l.value !== a.value ? (k(), O("span", Dp, Y(h.value) + " " + Y(t.showQuantityUnit ? ` ${n.value.currency.symbol}/${n.value.unit.name}` : ""), 1)) : U("", !0),
|
|
795
|
+
p.value ? (k(), O("span", {
|
|
796
796
|
key: 1,
|
|
797
797
|
class: Ge(["flex text-nowrap text-sm text-gray-600", { "!text-red-600": r.value }])
|
|
798
798
|
}, " (" + Y(p.value) + "%) ", 3)) : U("", !0)
|
|
@@ -803,12 +803,12 @@ const Op = Oe({ name: "mdi-percent-outline", render: Ip }), zp = { class: "flex
|
|
|
803
803
|
P("span", {
|
|
804
804
|
class: Ge({ "text-nowrap": !0, "cursor-pointer underline decoration-dashed": d.value && t.eventEmitter }),
|
|
805
805
|
onClick: y[0] || (y[0] = () => {
|
|
806
|
-
var
|
|
807
|
-
d.value && ((
|
|
806
|
+
var x;
|
|
807
|
+
d.value && ((x = t.eventEmitter) == null || x.emit("cost:click", { product: n.value, cost: a.value }));
|
|
808
808
|
})
|
|
809
809
|
}, Y(f.value), 3),
|
|
810
810
|
ie(" " + Y(t.showQuantityUnit ? ` ${n.value.currency.symbol}/${n.value.unit.name}` : "") + " ", 1),
|
|
811
|
-
a.value && !s.value && "discount" in t.product && t.product.discount ? (
|
|
811
|
+
a.value && !s.value && "discount" in t.product && t.product.discount ? (k(), Q(w, { key: 0 }, {
|
|
812
812
|
trigger: E(() => [
|
|
813
813
|
D(T, { class: "text-sm text-black bg-amber-400 rounded p-px" })
|
|
814
814
|
]),
|
|
@@ -818,17 +818,17 @@ const Op = Oe({ name: "mdi-percent-outline", render: Ip }), zp = { class: "flex
|
|
|
818
818
|
_: 1
|
|
819
819
|
})) : U("", !0)
|
|
820
820
|
], 2),
|
|
821
|
-
g.value ? (
|
|
822
|
-
t.showCostDate && !M(ft)(c.value) ? (
|
|
821
|
+
g.value ? (k(), O("span", Np, " ~ " + Y(g.value) + " " + Y(t.showQuantityUnit ? `₽/${n.value.unit.name}` : ""), 1)) : U("", !0),
|
|
822
|
+
t.showCostDate && !M(ft)(c.value) ? (k(), O("span", Hp, [
|
|
823
823
|
ie(Y(c.value) + " ", 1),
|
|
824
|
-
t.showPriceHistory && t.eventEmitter ? (
|
|
824
|
+
t.showPriceHistory && t.eventEmitter ? (k(), Q(w, {
|
|
825
825
|
key: 0,
|
|
826
826
|
placement: "top-end"
|
|
827
827
|
}, {
|
|
828
828
|
trigger: E(() => [
|
|
829
829
|
D(R, {
|
|
830
830
|
class: "cursor-pointer",
|
|
831
|
-
onClick: y[1] || (y[1] = (
|
|
831
|
+
onClick: y[1] || (y[1] = (x) => {
|
|
832
832
|
var b;
|
|
833
833
|
return (b = t.eventEmitter) == null ? void 0 : b.emit("cost:show-price-history", { product: n.value });
|
|
834
834
|
})
|
|
@@ -850,7 +850,7 @@ const Op = Oe({ name: "mdi-percent-outline", render: Ip }), zp = { class: "flex
|
|
|
850
850
|
height: "1.2em"
|
|
851
851
|
};
|
|
852
852
|
function jp(t, e) {
|
|
853
|
-
return
|
|
853
|
+
return k(), O("svg", Vp, [...e[0] || (e[0] = [
|
|
854
854
|
P("path", {
|
|
855
855
|
fill: "none",
|
|
856
856
|
stroke: "currentColor",
|
|
@@ -886,7 +886,7 @@ const Fl = Oe({ name: "ion-information-circle-outline", render: jp }), Up = {
|
|
|
886
886
|
height: "1.2em"
|
|
887
887
|
};
|
|
888
888
|
function qp(t, e) {
|
|
889
|
-
return
|
|
889
|
+
return k(), O("svg", Up, [...e[0] || (e[0] = [
|
|
890
890
|
P("path", {
|
|
891
891
|
fill: "currentColor",
|
|
892
892
|
d: "M450.29 112H142c-34 0-62 27.51-62 61.33v245.34c0 33.82 28 61.33 62 61.33h308c34 0 62-26.18 62-60V173.33c0-33.82-27.68-61.33-61.71-61.33m-77.15 61.34a46 46 0 1 1-46.28 46a46.19 46.19 0 0 1 46.28-46.01Zm-231.55 276c-17 0-29.86-13.75-29.86-30.66v-64.83l90.46-80.79a46.54 46.54 0 0 1 63.44 1.83L328.27 337l-113 112.33ZM480 418.67a30.67 30.67 0 0 1-30.71 30.66H259L376.08 333a46.24 46.24 0 0 1 59.44-.16L480 370.59Z"
|
|
@@ -903,7 +903,7 @@ const Hd = Oe({ name: "ion-images", render: qp }), Xp = {
|
|
|
903
903
|
height: "1.2em"
|
|
904
904
|
};
|
|
905
905
|
function Yp(t, e) {
|
|
906
|
-
return
|
|
906
|
+
return k(), O("svg", Xp, [...e[0] || (e[0] = [
|
|
907
907
|
P("path", {
|
|
908
908
|
fill: "currentColor",
|
|
909
909
|
d: "M400 480a16 16 0 0 1-10.63-4L256 357.41L122.63 476A16 16 0 0 1 96 464V96a64.07 64.07 0 0 1 64-64h192a64.07 64.07 0 0 1 64 64v368a16 16 0 0 1-16 16"
|
|
@@ -1554,7 +1554,7 @@ const em = {
|
|
|
1554
1554
|
}), ki(() => {
|
|
1555
1555
|
var r;
|
|
1556
1556
|
s.value && ((r = s.value) == null || r.destroy(), s.value = null);
|
|
1557
|
-
}), (r, o) => (
|
|
1557
|
+
}), (r, o) => (k(), O("div", em, [
|
|
1558
1558
|
Te(r.$slots, "default")
|
|
1559
1559
|
], 512));
|
|
1560
1560
|
}
|
|
@@ -1685,7 +1685,7 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1685
1685
|
show: l
|
|
1686
1686
|
}), window.addEventListener("resize", a), (c, u) => {
|
|
1687
1687
|
const d = Hd, f = Bn;
|
|
1688
|
-
return
|
|
1688
|
+
return k(), Q(f, {
|
|
1689
1689
|
trigger: "manual",
|
|
1690
1690
|
show: i.value,
|
|
1691
1691
|
class: "sc-image",
|
|
@@ -1717,7 +1717,7 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1717
1717
|
})
|
|
1718
1718
|
}, {
|
|
1719
1719
|
default: E(() => [
|
|
1720
|
-
(
|
|
1720
|
+
(k(!0), O(Be, null, Xt(t.images, (g, h) => (k(), O("a", {
|
|
1721
1721
|
key: h,
|
|
1722
1722
|
href: g.image
|
|
1723
1723
|
}, [
|
|
@@ -1743,7 +1743,7 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1743
1743
|
setup(t) {
|
|
1744
1744
|
return (e, i) => {
|
|
1745
1745
|
const n = Fl, s = Bn;
|
|
1746
|
-
return
|
|
1746
|
+
return k(), Q(s, {
|
|
1747
1747
|
trigger: "click",
|
|
1748
1748
|
placement: "top-start",
|
|
1749
1749
|
class: "sc-stock-count"
|
|
@@ -1755,7 +1755,7 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1755
1755
|
]),
|
|
1756
1756
|
default: E(() => [
|
|
1757
1757
|
P("div", am, [
|
|
1758
|
-
(
|
|
1758
|
+
(k(!0), O(Be, null, Xt(t.product.stockCount, (r, o) => (k(), O("span", { key: o }, Y(r.warehouse.name) + ": " + Y(r.count) + " " + Y(t.product.unit.name), 1))), 128))
|
|
1759
1759
|
])
|
|
1760
1760
|
]),
|
|
1761
1761
|
_: 3
|
|
@@ -1831,9 +1831,9 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1831
1831
|
*/
|
|
1832
1832
|
showProductImagesPreview: a
|
|
1833
1833
|
}), (d, f) => {
|
|
1834
|
-
var T, R, _,
|
|
1834
|
+
var T, R, _, x;
|
|
1835
1835
|
const g = Gp, h = Ar, p = Dd, v = Hd, m = Sn, y = Nd, $ = Fl, w = Fd;
|
|
1836
|
-
return
|
|
1836
|
+
return k(), O("div", null, [
|
|
1837
1837
|
P("div", um, [
|
|
1838
1838
|
D(m, {
|
|
1839
1839
|
type: "info",
|
|
@@ -1843,7 +1843,7 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1843
1843
|
var b, F;
|
|
1844
1844
|
return [
|
|
1845
1845
|
P("div", dm, [
|
|
1846
|
-
((b = t.product) == null ? void 0 : b.isFavorite) ?? !1 ? (
|
|
1846
|
+
((b = t.product) == null ? void 0 : b.isFavorite) ?? !1 ? (k(), Q(h, {
|
|
1847
1847
|
key: 0,
|
|
1848
1848
|
placement: "bottom",
|
|
1849
1849
|
trigger: "hover"
|
|
@@ -1856,7 +1856,7 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1856
1856
|
]),
|
|
1857
1857
|
_: 1
|
|
1858
1858
|
})) : U("", !0),
|
|
1859
|
-
((F = t.product) == null ? void 0 : F.isPreviouslyOrdered) ?? !1 ? (
|
|
1859
|
+
((F = t.product) == null ? void 0 : F.isPreviouslyOrdered) ?? !1 ? (k(), Q(h, {
|
|
1860
1860
|
key: 1,
|
|
1861
1861
|
placement: "bottom",
|
|
1862
1862
|
trigger: "hover"
|
|
@@ -1874,9 +1874,9 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1874
1874
|
class: Ge({ "cursor-pointer": l.value && t.eventEmitter }),
|
|
1875
1875
|
onClick: u
|
|
1876
1876
|
}, Y(t.product.name), 3),
|
|
1877
|
-
t.product.onOrder ? (
|
|
1877
|
+
t.product.onOrder ? (k(), O("span", hm, " [Под заказ] ")) : U("", !0),
|
|
1878
1878
|
P("span", fm, [
|
|
1879
|
-
t.product.images && t.product.images.length > 0 ? (
|
|
1879
|
+
t.product.images && t.product.images.length > 0 ? (k(), Q(om, {
|
|
1880
1880
|
key: 0,
|
|
1881
1881
|
ref: "image-gallery",
|
|
1882
1882
|
images: t.product.images
|
|
@@ -1893,7 +1893,7 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1893
1893
|
}),
|
|
1894
1894
|
_: 1
|
|
1895
1895
|
}),
|
|
1896
|
-
c.value ? (
|
|
1896
|
+
c.value ? (k(), Q(y, {
|
|
1897
1897
|
key: 0,
|
|
1898
1898
|
product: t.product,
|
|
1899
1899
|
"event-emitter": t.eventEmitter,
|
|
@@ -1905,15 +1905,15 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1905
1905
|
]),
|
|
1906
1906
|
P("div", pm, [
|
|
1907
1907
|
P("div", mm, [
|
|
1908
|
-
t.product.supplierSku ? (
|
|
1908
|
+
t.product.supplierSku ? (k(), O("div", vm, [
|
|
1909
1909
|
f[2] || (f[2] = ie(" Артикул производителя/поставщика: ", -1)),
|
|
1910
1910
|
P("span", ym, Y(t.product.supplierSku), 1)
|
|
1911
1911
|
])) : U("", !0),
|
|
1912
|
-
t.showCode ? (
|
|
1912
|
+
t.showCode ? (k(), O("span", bm, [
|
|
1913
1913
|
f[3] || (f[3] = ie(" Артикул: ", -1)),
|
|
1914
1914
|
P("span", _m, Y(t.product.code), 1)
|
|
1915
1915
|
])) : U("", !0),
|
|
1916
|
-
t.product.stockCount && t.product.stockCount.length > 0 ? (
|
|
1916
|
+
t.product.stockCount && t.product.stockCount.length > 0 ? (k(), Q(cm, {
|
|
1917
1917
|
key: 2,
|
|
1918
1918
|
product: t.product
|
|
1919
1919
|
}, {
|
|
@@ -1924,12 +1924,12 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1924
1924
|
])
|
|
1925
1925
|
]),
|
|
1926
1926
|
_: 1
|
|
1927
|
-
}, 8, ["product"])) : (
|
|
1928
|
-
t.product.pack ?? ((R = (T = t.product) == null ? void 0 : T.properties) == null ? void 0 : R.pack) ? (
|
|
1927
|
+
}, 8, ["product"])) : (k(), O("span", xm, " Нет в наличии ")),
|
|
1928
|
+
t.product.pack ?? ((R = (T = t.product) == null ? void 0 : T.properties) == null ? void 0 : R.pack) ? (k(), O("span", km, [
|
|
1929
1929
|
f[5] || (f[5] = ie(" Норма упаковки: ", -1)),
|
|
1930
|
-
P("span", Cm, Y(t.product.pack ?? ((
|
|
1930
|
+
P("span", Cm, Y(t.product.pack ?? ((x = (_ = t.product) == null ? void 0 : _.properties) == null ? void 0 : x.pack)), 1)
|
|
1931
1931
|
])) : U("", !0),
|
|
1932
|
-
t.showPlanningDates && r.value ? (
|
|
1932
|
+
t.showPlanningDates && r.value ? (k(), O("span", Sm, [
|
|
1933
1933
|
f[6] || (f[6] = ie(" Планируемая дата поступления на основной склад: ", -1)),
|
|
1934
1934
|
P("span", $m, Y(r.value), 1)
|
|
1935
1935
|
])) : U("", !0)
|
|
@@ -1937,8 +1937,8 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1937
1937
|
]),
|
|
1938
1938
|
D(w, { "x-scrollable": "" }, {
|
|
1939
1939
|
default: E(() => [
|
|
1940
|
-
n.value ? (
|
|
1941
|
-
(
|
|
1940
|
+
n.value ? (k(), O("div", Tm, [
|
|
1941
|
+
(k(!0), O(Be, null, Xt(s.value, (b) => (k(), Q(qn, {
|
|
1942
1942
|
key: b.coefficient.slug,
|
|
1943
1943
|
product: t.product,
|
|
1944
1944
|
"cost-field-name": b.coefficient.slug ?? "",
|
|
@@ -1966,10 +1966,10 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
1966
1966
|
]),
|
|
1967
1967
|
_: 1
|
|
1968
1968
|
}),
|
|
1969
|
-
t.showSlugs || t.showProperties ? (
|
|
1969
|
+
t.showSlugs || t.showProperties ? (k(), O("div", Pm, [
|
|
1970
1970
|
P("ul", Rm, [
|
|
1971
|
-
t.showSlugs ? (
|
|
1972
|
-
t.showProperties ? (
|
|
1971
|
+
t.showSlugs ? (k(!0), O(Be, { key: 0 }, Xt({ id: t.product.id, slug: t.product.slug }, (b, F) => (k(), O("li", { key: F }, " (" + Y(F) + "): " + Y(b), 1))), 128)) : U("", !0),
|
|
1972
|
+
t.showProperties ? (k(!0), O(Be, { key: 1 }, Xt(t.product.properties, (b, F) => (k(), O("li", { key: F }, " (" + Y(F) + "): " + Y(b), 1))), 128)) : U("", !0)
|
|
1973
1973
|
])
|
|
1974
1974
|
])) : U("", !0)
|
|
1975
1975
|
]);
|
|
@@ -2094,7 +2094,7 @@ const nm = ["href"], sm = ["src", "alt"], rm = {}, om = /* @__PURE__ */ oe({
|
|
|
2094
2094
|
height: "1.2em"
|
|
2095
2095
|
};
|
|
2096
2096
|
function Em(t, e) {
|
|
2097
|
-
return
|
|
2097
|
+
return k(), O("svg", Mm, [...e[0] || (e[0] = [
|
|
2098
2098
|
P("path", {
|
|
2099
2099
|
fill: "none",
|
|
2100
2100
|
d: "M296 64h-80a7.91 7.91 0 0 0-8 8v24h96V72a7.91 7.91 0 0 0-8-8"
|
|
@@ -2111,7 +2111,7 @@ const Bl = Oe({ name: "ion-trash", render: Em }), Im = {
|
|
|
2111
2111
|
height: "1.2em"
|
|
2112
2112
|
};
|
|
2113
2113
|
function Om(t, e) {
|
|
2114
|
-
return
|
|
2114
|
+
return k(), O("svg", Im, [...e[0] || (e[0] = [
|
|
2115
2115
|
P("path", {
|
|
2116
2116
|
d: "M448 224H288V64h-64v160H64v64h160v160h64V288h160z",
|
|
2117
2117
|
fill: "currentColor"
|
|
@@ -2139,16 +2139,16 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2139
2139
|
});
|
|
2140
2140
|
return (n, s) => {
|
|
2141
2141
|
const r = tr, o = Sn;
|
|
2142
|
-
return t.isProductSearching ? (
|
|
2142
|
+
return t.isProductSearching ? (k(), O("div", zm, [
|
|
2143
2143
|
D(r, {
|
|
2144
2144
|
size: 17,
|
|
2145
2145
|
class: "w-fit"
|
|
2146
2146
|
}),
|
|
2147
2147
|
s[0] || (s[0] = P("div", null, "Выполняется поиск товара ...", -1))
|
|
2148
|
-
])) : t.product && !t.product.isNewRec() ? (
|
|
2148
|
+
])) : t.product && !t.product.isNewRec() ? (k(), O("div", Lm, [
|
|
2149
2149
|
P("div", null, Y(t.product.code) + " - " + Y(t.product.name) + " - " + Y(t.product.costRub.toLocaleString()) + " ₽ / " + Y(t.product.unit.name), 1),
|
|
2150
|
-
i.value ? (
|
|
2151
|
-
])) : t.validation ? (
|
|
2150
|
+
i.value ? (k(), O("div", Dm, "(Планируемая дата производства: " + Y(i.value) + ")", 1)) : U("", !0)
|
|
2151
|
+
])) : t.validation ? (k(), O("div", Nm, [
|
|
2152
2152
|
D(o, {
|
|
2153
2153
|
type: t.validation.validationStatus
|
|
2154
2154
|
}, {
|
|
@@ -2248,10 +2248,10 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2248
2248
|
};
|
|
2249
2249
|
return fs(a.value.configuratorParams.linesWidths, (T, R) => {
|
|
2250
2250
|
var b;
|
|
2251
|
-
const
|
|
2251
|
+
const x = a.value.configuratorParams.linesWidths.length > 1 ? n.settings.minLineWidth : n.settings.stripMinWidth;
|
|
2252
2252
|
m[`configuratorParams.linesWidths.${R}`] = [
|
|
2253
2253
|
me.required,
|
|
2254
|
-
me.min(
|
|
2254
|
+
me.min(x),
|
|
2255
2255
|
me.max(n.settings.maxLineWidth),
|
|
2256
2256
|
me.step(n.settings.lineWidthStep),
|
|
2257
2257
|
ut.serverValidation((b = n.validation[`lines_widths[${R + 1}]`]) == null ? void 0 : b.feedback)
|
|
@@ -2313,7 +2313,7 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2313
2313
|
formReference: r
|
|
2314
2314
|
}), (m, y) => {
|
|
2315
2315
|
const $ = Wd, w = Bl, T = Kn;
|
|
2316
|
-
return
|
|
2316
|
+
return k(), Q(M(ir), {
|
|
2317
2317
|
ref: "form-reference",
|
|
2318
2318
|
model: a.value,
|
|
2319
2319
|
rules: l.value,
|
|
@@ -2325,7 +2325,7 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2325
2325
|
return [
|
|
2326
2326
|
P("div", Wm, [
|
|
2327
2327
|
y[22] || (y[22] = P("span", { class: "w-full font-bold" }, "Ширина участка, мм / Угол сгиба, ° (А)", -1)),
|
|
2328
|
-
t.settings.startTailConfigs && t.settings.startTailConfigs.length > 0 ? (
|
|
2328
|
+
t.settings.startTailConfigs && t.settings.startTailConfigs.length > 0 ? (k(), Q(M(et), {
|
|
2329
2329
|
key: 0,
|
|
2330
2330
|
required: !0,
|
|
2331
2331
|
"show-feedback": !1,
|
|
@@ -2338,56 +2338,56 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2338
2338
|
y[0] || (y[0] = (_) => a.value.configuratorParams.startTailType = _),
|
|
2339
2339
|
h
|
|
2340
2340
|
],
|
|
2341
|
-
options: t.settings.startTailConfigs.map(({ label: _ },
|
|
2341
|
+
options: t.settings.startTailConfigs.map(({ label: _ }, x) => ({ label: _, value: x })),
|
|
2342
2342
|
placeholder: "Тип стартового капельника"
|
|
2343
2343
|
}, null, 8, ["value", "options"])
|
|
2344
2344
|
]),
|
|
2345
2345
|
_: 1
|
|
2346
2346
|
})) : U("", !0),
|
|
2347
2347
|
P("div", Vm, [
|
|
2348
|
-
(
|
|
2349
|
-
key:
|
|
2348
|
+
(k(!0), O(Be, null, Xt(a.value.configuratorParams.linesAngles, (_, x) => (k(), O("div", {
|
|
2349
|
+
key: x,
|
|
2350
2350
|
class: "flex items-start gap-2"
|
|
2351
2351
|
}, [
|
|
2352
|
-
P("div", jm, Y(
|
|
2352
|
+
P("div", jm, Y(x + 1), 1),
|
|
2353
2353
|
P("div", Um, [
|
|
2354
2354
|
D(M(et), {
|
|
2355
|
-
path: `configuratorParams.linesWidths.${
|
|
2355
|
+
path: `configuratorParams.linesWidths.${x}`,
|
|
2356
2356
|
label: "Ширина, мм"
|
|
2357
2357
|
}, {
|
|
2358
2358
|
default: E(() => [
|
|
2359
2359
|
D(M($t), {
|
|
2360
|
-
value: a.value.configuratorParams.linesWidths[
|
|
2360
|
+
value: a.value.configuratorParams.linesWidths[x],
|
|
2361
2361
|
"onUpdate:value": [
|
|
2362
|
-
(b) => a.value.configuratorParams.linesWidths[
|
|
2362
|
+
(b) => a.value.configuratorParams.linesWidths[x] = b,
|
|
2363
2363
|
y[2] || (y[2] = (b) => h())
|
|
2364
2364
|
],
|
|
2365
2365
|
parse: M(bi),
|
|
2366
2366
|
"show-button": !1,
|
|
2367
2367
|
class: "w-full",
|
|
2368
2368
|
onKeydown: y[1] || (y[1] = (b) => M(Ot)(b)),
|
|
2369
|
-
onInput: (b) => M(lt)(t.validation, `lines_widths[${
|
|
2369
|
+
onInput: (b) => M(lt)(t.validation, `lines_widths[${x + 1}]`),
|
|
2370
2370
|
onFocus: M(ct)
|
|
2371
2371
|
}, null, 8, ["value", "onUpdate:value", "parse", "onInput", "onFocus"])
|
|
2372
2372
|
]),
|
|
2373
2373
|
_: 2
|
|
2374
2374
|
}, 1032, ["path"]),
|
|
2375
2375
|
D(M(et), {
|
|
2376
|
-
path: `configuratorParams.linesAngles.${
|
|
2376
|
+
path: `configuratorParams.linesAngles.${x}`,
|
|
2377
2377
|
label: "Угол сгиба, °"
|
|
2378
2378
|
}, {
|
|
2379
2379
|
default: E(() => [
|
|
2380
2380
|
D(M($t), {
|
|
2381
|
-
value: a.value.configuratorParams.linesAngles[
|
|
2381
|
+
value: a.value.configuratorParams.linesAngles[x],
|
|
2382
2382
|
"onUpdate:value": [
|
|
2383
|
-
(b) => a.value.configuratorParams.linesAngles[
|
|
2383
|
+
(b) => a.value.configuratorParams.linesAngles[x] = b,
|
|
2384
2384
|
y[4] || (y[4] = (b) => h())
|
|
2385
2385
|
],
|
|
2386
2386
|
parse: M(bi),
|
|
2387
2387
|
"show-button": !1,
|
|
2388
2388
|
class: "w-full",
|
|
2389
2389
|
onKeydown: y[3] || (y[3] = (b) => M(Ot)(b, !0)),
|
|
2390
|
-
onInput: (b) => M(lt)(t.validation, `lines_angles[${
|
|
2390
|
+
onInput: (b) => M(lt)(t.validation, `lines_angles[${x + 1}]`),
|
|
2391
2391
|
onFocus: M(ct)
|
|
2392
2392
|
}, null, 8, ["value", "onUpdate:value", "parse", "onInput", "onFocus"])
|
|
2393
2393
|
]),
|
|
@@ -2401,22 +2401,22 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2401
2401
|
class: "shrink-0"
|
|
2402
2402
|
}, {
|
|
2403
2403
|
default: E(() => [
|
|
2404
|
-
t.settings.showOnlyTemplates ? U("", !0) : (
|
|
2404
|
+
t.settings.showOnlyTemplates ? U("", !0) : (k(), Q(M(He), {
|
|
2405
2405
|
key: 0,
|
|
2406
2406
|
size: "medium",
|
|
2407
|
-
onClick: (b) => s("click:add-line",
|
|
2407
|
+
onClick: (b) => s("click:add-line", x)
|
|
2408
2408
|
}, {
|
|
2409
2409
|
default: E(() => [
|
|
2410
2410
|
D($)
|
|
2411
2411
|
]),
|
|
2412
2412
|
_: 1
|
|
2413
2413
|
}, 8, ["onClick"])),
|
|
2414
|
-
t.settings.showOnlyTemplates ? U("", !0) : (
|
|
2414
|
+
t.settings.showOnlyTemplates ? U("", !0) : (k(), Q(M(He), {
|
|
2415
2415
|
key: 1,
|
|
2416
2416
|
disabled: a.value.configuratorParams.linesWidths.length === 1,
|
|
2417
2417
|
size: "medium",
|
|
2418
2418
|
class: "ml-2",
|
|
2419
|
-
onClick: (b) => s("click:remove-line",
|
|
2419
|
+
onClick: (b) => s("click:remove-line", x)
|
|
2420
2420
|
}, {
|
|
2421
2421
|
default: E(() => [
|
|
2422
2422
|
D(w)
|
|
@@ -2428,7 +2428,7 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2428
2428
|
}, 1024)
|
|
2429
2429
|
]))), 128))
|
|
2430
2430
|
]),
|
|
2431
|
-
t.settings.endTailConfigs && t.settings.endTailConfigs.length > 0 ? (
|
|
2431
|
+
t.settings.endTailConfigs && t.settings.endTailConfigs.length > 0 ? (k(), Q(M(et), {
|
|
2432
2432
|
key: 1,
|
|
2433
2433
|
label: "Тип конечного капельника",
|
|
2434
2434
|
"show-feedback": !1,
|
|
@@ -2441,7 +2441,7 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2441
2441
|
y[5] || (y[5] = (_) => a.value.configuratorParams.endTailType = _),
|
|
2442
2442
|
h
|
|
2443
2443
|
],
|
|
2444
|
-
options: t.settings.endTailConfigs.map(({ label: _ },
|
|
2444
|
+
options: t.settings.endTailConfigs.map(({ label: _ }, x) => ({ label: _, value: x })),
|
|
2445
2445
|
placeholder: "Тип конечного капельника"
|
|
2446
2446
|
}, null, 8, ["value", "options"])
|
|
2447
2447
|
]),
|
|
@@ -2452,9 +2452,9 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2452
2452
|
product: a.value.product,
|
|
2453
2453
|
validation: t.validation.product
|
|
2454
2454
|
}, null, 8, ["is-product-searching", "product", "validation"]),
|
|
2455
|
-
f.value ? U("", !0) : (
|
|
2456
|
-
g.value ? U("", !0) : (
|
|
2457
|
-
t.settings.allowSaveTemplates && t.selectTemplateIndex === ((R = t.settings.allTemplates) == null ? void 0 : R.length) - 1 ? (
|
|
2455
|
+
f.value ? U("", !0) : (k(), O("div", qm, " Суммарная ширина участков гиба должна быть от " + Y(t.settings.stripMinWidth) + " до " + Y(t.settings.stripMaxWidth) + " мм., текущая ширина: " + Y(d.value) + " мм. ", 1)),
|
|
2456
|
+
g.value ? U("", !0) : (k(), O("div", Xm, " Пожалуйста, заполните все обязательные поля корректно. ")),
|
|
2457
|
+
t.settings.allowSaveTemplates && t.selectTemplateIndex === ((R = t.settings.allTemplates) == null ? void 0 : R.length) - 1 ? (k(), Q(M(He), {
|
|
2458
2458
|
key: 4,
|
|
2459
2459
|
type: "tertiary",
|
|
2460
2460
|
class: "self-start",
|
|
@@ -2548,7 +2548,7 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2548
2548
|
]),
|
|
2549
2549
|
_: 1
|
|
2550
2550
|
}),
|
|
2551
|
-
c.value ? (
|
|
2551
|
+
c.value ? (k(), Q(T, {
|
|
2552
2552
|
key: 0,
|
|
2553
2553
|
checked: a.value.isAdditionalSale ?? !1,
|
|
2554
2554
|
"true-value": !0,
|
|
@@ -2562,7 +2562,7 @@ const Wd = Oe({ name: "ion-plus", render: Om }), zm = {
|
|
|
2562
2562
|
])]),
|
|
2563
2563
|
_: 1
|
|
2564
2564
|
}, 8, ["checked"])) : U("", !0),
|
|
2565
|
-
u.value ? (
|
|
2565
|
+
u.value ? (k(), O("div", Gm, [
|
|
2566
2566
|
y[24] || (y[24] = ie(" ИТОГО: ", -1)),
|
|
2567
2567
|
P("span", Km, Y(u.value) + " ₽", 1)
|
|
2568
2568
|
])) : U("", !0),
|
|
@@ -4887,9 +4887,9 @@ var _v = Math.cos, wv = Math.sin, Sc = Math.tan, va = [], lh = class hi extends
|
|
|
4887
4887
|
static Multiply(e, i, n) {
|
|
4888
4888
|
if (i.length <= 3) {
|
|
4889
4889
|
const R = e;
|
|
4890
|
-
let _,
|
|
4890
|
+
let _, x, b;
|
|
4891
4891
|
const F = i[0] || 0, B = i[1] || 0, H = i[2] || 0;
|
|
4892
|
-
return _ = R[0] * F + R[1] * B + R[2] * H,
|
|
4892
|
+
return _ = R[0] * F + R[1] * B + R[2] * H, x = R[3] * F + R[4] * B + R[5] * H, b = R[6] * F + R[7] * B + R[8] * H, [_, x, b];
|
|
4893
4893
|
}
|
|
4894
4894
|
const s = e[0], r = e[1], o = e[2], a = e[3], l = e[4], c = e[5], u = e[6], d = e[7], f = e[8], g = i[0], h = i[1], p = i[2], v = i[3], m = i[4], y = i[5], $ = i[6], w = i[7], T = i[8];
|
|
4895
4895
|
return n = n || new sn(9), n[0] = s * g + r * v + o * $, n[1] = s * h + r * m + o * w, n[2] = s * p + r * y + o * T, n[3] = a * g + l * v + c * $, n[4] = a * h + l * m + c * w, n[5] = a * p + l * y + c * T, n[6] = u * g + d * v + f * $, n[7] = u * h + d * m + f * w, n[8] = u * p + d * y + f * T, n;
|
|
@@ -4988,8 +4988,8 @@ var _v = Math.cos, wv = Math.sin, Sc = Math.tan, va = [], lh = class hi extends
|
|
|
4988
4988
|
const N = r[0] * e + r[1] * i + r[2] * n, A = r[3] * e + r[4] * i + r[5] * n, te = r[6] * e + r[7] * i + r[8] * n;
|
|
4989
4989
|
return [N, A, te];
|
|
4990
4990
|
}
|
|
4991
|
-
const u = this.elements, d = [e, i, n, s, r, o, a, l, c], f = u[0], g = u[1], h = u[2], p = u[3], v = u[4], m = u[5], y = u[6], $ = u[7], w = u[8], T = d[0], R = d[1], _ = d[2],
|
|
4992
|
-
return this.elements[0] = f * T + g *
|
|
4991
|
+
const u = this.elements, d = [e, i, n, s, r, o, a, l, c], f = u[0], g = u[1], h = u[2], p = u[3], v = u[4], m = u[5], y = u[6], $ = u[7], w = u[8], T = d[0], R = d[1], _ = d[2], x = d[3], b = d[4], F = d[5], B = d[6], H = d[7], W = d[8];
|
|
4992
|
+
return this.elements[0] = f * T + g * x + h * B, this.elements[1] = f * R + g * b + h * H, this.elements[2] = f * _ + g * F + h * W, this.elements[3] = p * T + v * x + m * B, this.elements[4] = p * R + v * b + m * H, this.elements[5] = p * _ + v * F + m * W, this.elements[6] = y * T + $ * x + w * B, this.elements[7] = y * R + $ * b + w * H, this.elements[8] = y * _ + $ * F + w * W, this.trigger(ne.Types.change);
|
|
4993
4993
|
}
|
|
4994
4994
|
/**
|
|
4995
4995
|
* @name Two.Matrix#inverse
|
|
@@ -5503,8 +5503,8 @@ var Is = Math.min, Os = Math.max, xv = Math.ceil, kv = Math.floor, Cv = new ue()
|
|
|
5503
5503
|
let [y, $] = i.multiply(v, m), w = a.controls.left.x, T = a.controls.left.y;
|
|
5504
5504
|
a.relative && (w += a.x, T += a.y);
|
|
5505
5505
|
let [R, _] = i.multiply(w, T);
|
|
5506
|
-
const
|
|
5507
|
-
u = Is(
|
|
5506
|
+
const x = eh(f, g, y, $, R, _, h, p);
|
|
5507
|
+
u = Is(x.min.y - n, u), l = Is(x.min.x - n, l), c = Os(x.max.x + n, c), d = Os(x.max.y + n, d);
|
|
5508
5508
|
} else
|
|
5509
5509
|
r <= 1 && (u = Is(g - n, u), l = Is(f - n, l), c = Os(f + n, c), d = Os(g + n, d)), u = Is(p - n, u), l = Is(h - n, l), c = Os(h + n, c), d = Os(p + n, d);
|
|
5510
5510
|
}
|
|
@@ -5543,7 +5543,7 @@ var Is = Math.min, Os = Math.max, xv = Math.ceil, kv = Math.floor, Cv = new ue()
|
|
|
5543
5543
|
return T;
|
|
5544
5544
|
} else return R;
|
|
5545
5545
|
m = R.controls && R.controls.right, v = T.controls && T.controls.left, a = R.x, f = R.y, l = (m || R).x, g = (m || R).y, c = (v || T).x, h = (v || T).y, u = T.x, p = T.y, m && R.relative && (l += R.x, g += R.y), v && T.relative && (c += T.x, h += T.y), o = br(e, a, l, c, u), d = br(e, f, g, h, p);
|
|
5546
|
-
const _ = gi(a, l, e),
|
|
5546
|
+
const _ = gi(a, l, e), x = gi(f, g, e), b = gi(l, c, e), F = gi(g, h, e), B = gi(c, u, e), H = gi(h, p, e), W = gi(_, b, e), N = gi(x, F, e), A = gi(b, B, e), te = gi(F, H, e);
|
|
5547
5547
|
return le.isObject(i) ? (i.x = o, i.y = d, i instanceof Ie && (i.controls.left.x = W, i.controls.left.y = N, i.controls.right.x = A, i.controls.right.y = te, (typeof i.relative != "boolean" || i.relative) && (i.controls.left.x -= o, i.controls.left.y -= d, i.controls.right.x -= o, i.controls.right.y -= d)), i.t = e, i) : (r = new Ie(
|
|
5548
5548
|
o,
|
|
5549
5549
|
d,
|
|
@@ -8851,7 +8851,7 @@ var at = {
|
|
|
8851
8851
|
let h, p, v;
|
|
8852
8852
|
const m = f[0], y = m.toLowerCase();
|
|
8853
8853
|
c = f.slice(1).trim().match(nn.path), r = m === y;
|
|
8854
|
-
let $, w, T, R, _,
|
|
8854
|
+
let $, w, T, R, _, x, b, F, B, H, W, N, A, te, ce, V, X;
|
|
8855
8855
|
switch (y) {
|
|
8856
8856
|
case "z":
|
|
8857
8857
|
if (g >= d)
|
|
@@ -8901,11 +8901,11 @@ var at = {
|
|
|
8901
8901
|
break;
|
|
8902
8902
|
case "c":
|
|
8903
8903
|
case "s":
|
|
8904
|
-
$ = a.x, w = a.y, l || (l = new ue()), /c/i.test(y) ? (T = parseFloat(c[0]), R = parseFloat(c[1]), _ = parseFloat(c[2]),
|
|
8904
|
+
$ = a.x, w = a.y, l || (l = new ue()), /c/i.test(y) ? (T = parseFloat(c[0]), R = parseFloat(c[1]), _ = parseFloat(c[2]), x = parseFloat(c[3]), b = parseFloat(c[4]), F = parseFloat(c[5])) : (B = Xa(a, l, r), T = B.x, R = B.y, _ = parseFloat(c[0]), x = parseFloat(c[1]), b = parseFloat(c[2]), F = parseFloat(c[3])), r && (T += $, R += w, _ += $, x += w, b += $, F += w), a.controls.right.set(T - a.x, R - a.y), h = new Ie(
|
|
8905
8905
|
b,
|
|
8906
8906
|
F,
|
|
8907
8907
|
_ - b,
|
|
8908
|
-
|
|
8908
|
+
x - F,
|
|
8909
8909
|
void 0,
|
|
8910
8910
|
void 0,
|
|
8911
8911
|
de.curve
|
|
@@ -8913,14 +8913,14 @@ var at = {
|
|
|
8913
8913
|
break;
|
|
8914
8914
|
case "t":
|
|
8915
8915
|
case "q":
|
|
8916
|
-
$ = a.x, w = a.y, l || (l = new ue()), /q/i.test(y) ? (T = parseFloat(c[0]), R = parseFloat(c[1]), _ = parseFloat(c[0]),
|
|
8916
|
+
$ = a.x, w = a.y, l || (l = new ue()), /q/i.test(y) ? (T = parseFloat(c[0]), R = parseFloat(c[1]), _ = parseFloat(c[0]), x = parseFloat(c[1]), b = parseFloat(c[2]), F = parseFloat(c[3])) : (B = Xa(a, l, r), T = B.x, R = B.y, _ = B.x, x = B.y, b = parseFloat(c[0]), F = parseFloat(c[1])), r && (T += $, R += w, _ += $, x += w, b += $, F += w), a.controls.right.set(
|
|
8917
8917
|
(T - a.x) * 0.33,
|
|
8918
8918
|
(R - a.y) * 0.33
|
|
8919
8919
|
), h = new Ie(
|
|
8920
8920
|
b,
|
|
8921
8921
|
F,
|
|
8922
8922
|
_ - b,
|
|
8923
|
-
|
|
8923
|
+
x - F,
|
|
8924
8924
|
void 0,
|
|
8925
8925
|
void 0,
|
|
8926
8926
|
de.curve
|
|
@@ -9219,7 +9219,7 @@ var Th = Kl, qc = {
|
|
|
9219
9219
|
},
|
|
9220
9220
|
path: {
|
|
9221
9221
|
render: function(t, e, i) {
|
|
9222
|
-
let n, s, r, o, a, l, c, u, d, f, g, h, p, v, m, y, $, w, T, R, _,
|
|
9222
|
+
let n, s, r, o, a, l, c, u, d, f, g, h, p, v, m, y, $, w, T, R, _, x, b, F, B, H, W, N, A, te, ce, V, X, J;
|
|
9223
9223
|
if (J = this.parent && this.parent._renderer ? this.parent._renderer.opacity : 1, A = this._mask, te = this._clip, a = this._opacity * (J || 1), l = this._visible, !e && (!l || te || a === 0))
|
|
9224
9224
|
return this;
|
|
9225
9225
|
if (le.isFunction(this._renderer.onBeforeRender) && this._renderer.onBeforeRender(), this._update(), n = this._matrix.elements, s = this._stroke, r = this._linewidth, o = this._fill, c = this._cap, u = this._join, d = this._miter, f = this._closed, g = this._renderer.vertices, h = g.length, p = h - 1, ce = Xr(n), X = this.dashes, ce || (t.save(), t.transform(
|
|
@@ -9271,7 +9271,7 @@ var Th = Kl, qc = {
|
|
|
9271
9271
|
);
|
|
9272
9272
|
break;
|
|
9273
9273
|
case de.curve:
|
|
9274
|
-
v = f ? xi(fe - 1, h) : Math.max(fe - 1, 0), m = g[v], b = m.controls && m.controls.right || ue.zero, F = y.controls && y.controls.left || ue.zero, m._relative ? (_ = b.x + m.x,
|
|
9274
|
+
v = f ? xi(fe - 1, h) : Math.max(fe - 1, 0), m = g[v], b = m.controls && m.controls.right || ue.zero, F = y.controls && y.controls.left || ue.zero, m._relative ? (_ = b.x + m.x, x = b.y + m.y) : (_ = b.x, x = b.y), y._relative ? (T = F.x + y.x, R = F.y + y.y) : (T = F.x, R = F.y), t.bezierCurveTo(_, x, T, R, W, N), fe >= p && f && ($ = w, B = y.controls && y.controls.right || ue.zero, H = $.controls && $.controls.left || ue.zero, y._relative ? (_ = B.x + y.x, x = B.y + y.y) : (_ = B.x, x = B.y), $._relative ? (T = H.x + $.x, R = H.y + $.y) : (T = H.x, R = H.y), W = $.x, N = $.y, t.bezierCurveTo(_, x, T, R, W, N));
|
|
9275
9275
|
break;
|
|
9276
9276
|
case de.line:
|
|
9277
9277
|
t.lineTo(W, N);
|
|
@@ -9325,7 +9325,7 @@ var Th = Kl, qc = {
|
|
|
9325
9325
|
return this;
|
|
9326
9326
|
le.isFunction(this._renderer.onBeforeRender) && this._renderer.onBeforeRender(), this._update();
|
|
9327
9327
|
const l = this._matrix.elements, c = this._stroke, u = this._linewidth, d = this._fill, f = this._decoration, g = this._direction, h = Xr(l), p = d._renderer && d._renderer.offset && c._renderer && c._renderer.offset, v = this.dashes, m = Ne.alignments[this._alignment] || this._alignment, y = Ne.baselines[this._baseline] || this._baseline;
|
|
9328
|
-
let $, w, T, R, _,
|
|
9328
|
+
let $, w, T, R, _, x, b, F, B, H, W;
|
|
9329
9329
|
if (h || (t.save(), t.transform(
|
|
9330
9330
|
l[0],
|
|
9331
9331
|
l[3],
|
|
@@ -9358,16 +9358,16 @@ var Th = Kl, qc = {
|
|
|
9358
9358
|
}
|
|
9359
9359
|
u && (t.lineWidth = an(this));
|
|
9360
9360
|
}
|
|
9361
|
-
if (typeof s == "number" && (t.globalAlpha = s), v && v.length > 0 && (t.lineDashOffset = v.offset || 0, t.setLineDash(v)), !a && !i && (Ne.isHidden.test(d) || (d._renderer && d._renderer.offset ? (
|
|
9361
|
+
if (typeof s == "number" && (t.globalAlpha = s), v && v.length > 0 && (t.lineDashOffset = v.offset || 0, t.setLineDash(v)), !a && !i && (Ne.isHidden.test(d) || (d._renderer && d._renderer.offset ? (x = d._renderer.scale.x, b = d._renderer.scale.y, t.save(), t.translate(-d._renderer.offset.x, -d._renderer.offset.y), t.scale(x, b), $ = this._size / d._renderer.scale.y, w = this._leading / d._renderer.scale.y, t.font = [
|
|
9362
9362
|
this._style,
|
|
9363
9363
|
this._weight,
|
|
9364
9364
|
$ + "px/",
|
|
9365
9365
|
w + "px",
|
|
9366
9366
|
this._family
|
|
9367
|
-
].join(" "), T = d._renderer.offset.x / d._renderer.scale.x, R = d._renderer.offset.y / d._renderer.scale.y, t.fillText(this.value, T, R), t.restore()) : t.fillText(this.value, 0, 0)), Ne.isHidden.test(c) || (c._renderer && c._renderer.offset ? (
|
|
9367
|
+
].join(" "), T = d._renderer.offset.x / d._renderer.scale.x, R = d._renderer.offset.y / d._renderer.scale.y, t.fillText(this.value, T, R), t.restore()) : t.fillText(this.value, 0, 0)), Ne.isHidden.test(c) || (c._renderer && c._renderer.offset ? (x = c._renderer.scale.x, b = c._renderer.scale.y, t.save(), t.translate(
|
|
9368
9368
|
-c._renderer.offset.x,
|
|
9369
9369
|
-c._renderer.offset.y
|
|
9370
|
-
), t.scale(
|
|
9370
|
+
), t.scale(x, b), $ = this._size / c._renderer.scale.y, w = this._leading / c._renderer.scale.y, t.font = [
|
|
9371
9371
|
this._style,
|
|
9372
9372
|
this._weight,
|
|
9373
9373
|
$ + "px/",
|
|
@@ -9466,7 +9466,7 @@ var Th = Kl, qc = {
|
|
|
9466
9466
|
const $ = v * p + m * h, w = (v * m - $) / $;
|
|
9467
9467
|
let T = bo(Za(0, w));
|
|
9468
9468
|
r === o && (T = -T);
|
|
9469
|
-
const R = T * n * g / s, _ = -T * s * f / n,
|
|
9469
|
+
const R = T * n * g / s, _ = -T * s * f / n, x = qr(a) * R - Ur(a) * _ + (e + l) / 2, b = Ur(a) * R + qr(a) * _ + (i + c) / 2, F = Yc(1, 0, (f - R) / n, (g - _) / s), B = Yc(
|
|
9470
9470
|
(f - R) / n,
|
|
9471
9471
|
(g - _) / s,
|
|
9472
9472
|
(-f - R) / n,
|
|
@@ -9474,7 +9474,7 @@ var Th = Kl, qc = {
|
|
|
9474
9474
|
) % qt, H = F + B;
|
|
9475
9475
|
Gv(
|
|
9476
9476
|
t,
|
|
9477
|
-
|
|
9477
|
+
x,
|
|
9478
9478
|
b,
|
|
9479
9479
|
n,
|
|
9480
9480
|
s,
|
|
@@ -9581,13 +9581,13 @@ var ve = {
|
|
|
9581
9581
|
let i = t.length, n = i - 1, s, r = "";
|
|
9582
9582
|
for (let o = 0; o < i; o++) {
|
|
9583
9583
|
const a = t[o], l = e ? xi(o - 1, i) : Math.max(o - 1, 0), c = t[l];
|
|
9584
|
-
let u, d, f, g, h, p, v, m, y, $, w, T, R, _,
|
|
9584
|
+
let u, d, f, g, h, p, v, m, y, $, w, T, R, _, x, b = Qe(a.x), F = Qe(a.y);
|
|
9585
9585
|
switch (a.command) {
|
|
9586
9586
|
case de.close:
|
|
9587
9587
|
u = de.close;
|
|
9588
9588
|
break;
|
|
9589
9589
|
case de.arc:
|
|
9590
|
-
w = a.rx, T = a.ry, R = a.xAxisRotation, _ = a.largeArcFlag,
|
|
9590
|
+
w = a.rx, T = a.ry, R = a.xAxisRotation, _ = a.largeArcFlag, x = a.sweepFlag, u = de.arc + " " + w + " " + T + " " + R + " " + _ + " " + x + " " + b + " " + F;
|
|
9591
9591
|
break;
|
|
9592
9592
|
case de.curve:
|
|
9593
9593
|
v = c.controls && c.controls.right || ue.zero, m = a.controls && a.controls.left || ue.zero, c.relative ? (f = Qe(v.x + c.x), g = Qe(v.y + c.y)) : (f = Qe(v.x), g = Qe(v.y)), a.relative ? (h = Qe(m.x + a.x), p = Qe(m.y + a.y)) : (h = Qe(m.x), p = Qe(m.y)), u = (o === 0 ? de.move : de.curve) + " " + f + " " + g + " " + h + " " + p + " " + b + " " + F;
|
|
@@ -10007,7 +10007,7 @@ var Ti = {
|
|
|
10007
10007
|
path: {
|
|
10008
10008
|
updateCanvas: function(t, e) {
|
|
10009
10009
|
let i, n, s, r, o, a, l, c, u, d, f, g, h, p;
|
|
10010
|
-
const v = e._renderer.vertices, m = this.canvas, y = this.ctx, $ = t.renderer.ratio, w = Gc.copy(e._renderer.scale).multiply($), T = e._stroke, R = e._linewidth, _ = e._fill,
|
|
10010
|
+
const v = e._renderer.vertices, m = this.canvas, y = this.ctx, $ = t.renderer.ratio, w = Gc.copy(e._renderer.scale).multiply($), T = e._stroke, R = e._linewidth, _ = e._fill, x = e._renderer.opacity || e._opacity, b = e._cap, F = e._join, B = e._miter, H = e._closed, W = e.dashes, N = v.length, A = N - 1;
|
|
10011
10011
|
m.width = Math.max(
|
|
10012
10012
|
Math.ceil(e._renderer.rect.width * w.x),
|
|
10013
10013
|
1
|
|
@@ -10036,7 +10036,7 @@ var Ti = {
|
|
|
10036
10036
|
}
|
|
10037
10037
|
R && (y.lineWidth = an(e)), B && (y.miterLimit = B), F && (y.lineJoin = F), !H && b && (y.lineCap = b);
|
|
10038
10038
|
}
|
|
10039
|
-
typeof
|
|
10039
|
+
typeof x == "number" && (y.globalAlpha = x), W && W.length > 0 && (y.lineDashOffset = W.offset || 0, y.setLineDash(W));
|
|
10040
10040
|
let X, J, K, j, G, Z, re, _e;
|
|
10041
10041
|
y.save(), y.scale(w.x, w.y), y.translate(ce, V), y.beginPath();
|
|
10042
10042
|
for (let pe = 0; pe < v.length; pe++) {
|
|
@@ -10193,7 +10193,7 @@ var Ti = {
|
|
|
10193
10193
|
1
|
|
10194
10194
|
);
|
|
10195
10195
|
const g = e._renderer.rect.centroid, h = g.x, p = g.y;
|
|
10196
|
-
let v, m, y, $, w, T, R, _,
|
|
10196
|
+
let v, m, y, $, w, T, R, _, x, b, F;
|
|
10197
10197
|
const B = l._renderer && l._renderer.offset && o._renderer && o._renderer.offset;
|
|
10198
10198
|
if (n.clearRect(0, 0, i.width, i.height), B || (n.font = [
|
|
10199
10199
|
e._style,
|
|
@@ -10236,13 +10236,13 @@ var Ti = {
|
|
|
10236
10236
|
const H = n.measureText(e.value);
|
|
10237
10237
|
switch (d) {
|
|
10238
10238
|
case "underline":
|
|
10239
|
-
|
|
10239
|
+
x = H.actualBoundingBoxDescent, F = H.actualBoundingBoxDescent;
|
|
10240
10240
|
break;
|
|
10241
10241
|
case "strikethrough":
|
|
10242
|
-
|
|
10242
|
+
x = 0, F = 0;
|
|
10243
10243
|
break;
|
|
10244
10244
|
}
|
|
10245
|
-
_ = -H.width / 2, b = H.width / 2, n.lineWidth = Math.max(Math.floor(e._size / 15), 1), n.strokeStyle = n.fillStyle, n.beginPath(), n.moveTo(_,
|
|
10245
|
+
_ = -H.width / 2, b = H.width / 2, n.lineWidth = Math.max(Math.floor(e._size / 15), 1), n.strokeStyle = n.fillStyle, n.beginPath(), n.moveTo(_, x), n.lineTo(b, F), n.stroke();
|
|
10246
10246
|
}
|
|
10247
10247
|
n.restore();
|
|
10248
10248
|
},
|
|
@@ -13621,9 +13621,9 @@ const x0 = Math.cos, k0 = Math.sin, uu = Math.tan, ka = [], Qt = class Qt extend
|
|
|
13621
13621
|
static Multiply(i, n, s) {
|
|
13622
13622
|
if (n.length <= 3) {
|
|
13623
13623
|
const _ = i;
|
|
13624
|
-
let
|
|
13624
|
+
let x, b, F;
|
|
13625
13625
|
const B = n[0] || 0, H = n[1] || 0, W = n[2] || 0;
|
|
13626
|
-
return
|
|
13626
|
+
return x = _[0] * B + _[1] * H + _[2] * W, b = _[3] * B + _[4] * H + _[5] * W, F = _[6] * B + _[7] * H + _[8] * W, [x, b, F];
|
|
13627
13627
|
}
|
|
13628
13628
|
const r = i[0], o = i[1], a = i[2], l = i[3], c = i[4], u = i[5], d = i[6], f = i[7], g = i[8], h = n[0], p = n[1], v = n[2], m = n[3], y = n[4], $ = n[5], w = n[6], T = n[7], R = n[8];
|
|
13629
13629
|
return s = s || new Kc(9), s[0] = r * h + o * m + a * w, s[1] = r * p + o * y + a * T, s[2] = r * v + o * $ + a * R, s[3] = l * h + c * m + u * w, s[4] = l * p + c * y + u * T, s[5] = l * v + c * $ + u * R, s[6] = d * h + f * m + g * w, s[7] = d * p + f * y + g * T, s[8] = d * v + f * $ + g * R, s;
|
|
@@ -13722,8 +13722,8 @@ const x0 = Math.cos, k0 = Math.sin, uu = Math.tan, ka = [], Qt = class Qt extend
|
|
|
13722
13722
|
const A = o[0] * i + o[1] * n + o[2] * s, te = o[3] * i + o[4] * n + o[5] * s, ce = o[6] * i + o[7] * n + o[8] * s;
|
|
13723
13723
|
return [A, te, ce];
|
|
13724
13724
|
}
|
|
13725
|
-
const d = this.elements, f = [i, n, s, r, o, a, l, c, u], g = d[0], h = d[1], p = d[2], v = d[3], m = d[4], y = d[5], $ = d[6], w = d[7], T = d[8], R = f[0], _ = f[1],
|
|
13726
|
-
return this.elements[0] = g * R + h * b + p * H, this.elements[1] = g * _ + h * F + p * W, this.elements[2] = g *
|
|
13725
|
+
const d = this.elements, f = [i, n, s, r, o, a, l, c, u], g = d[0], h = d[1], p = d[2], v = d[3], m = d[4], y = d[5], $ = d[6], w = d[7], T = d[8], R = f[0], _ = f[1], x = f[2], b = f[3], F = f[4], B = f[5], H = f[6], W = f[7], N = f[8];
|
|
13726
|
+
return this.elements[0] = g * R + h * b + p * H, this.elements[1] = g * _ + h * F + p * W, this.elements[2] = g * x + h * B + p * N, this.elements[3] = v * R + m * b + y * H, this.elements[4] = v * _ + m * F + y * W, this.elements[5] = v * x + m * B + y * N, this.elements[6] = $ * R + w * b + T * H, this.elements[7] = $ * _ + w * F + T * W, this.elements[8] = $ * x + w * B + T * N, this.trigger(ae.Types.change);
|
|
13727
13727
|
}
|
|
13728
13728
|
/**
|
|
13729
13729
|
* @name Two.Matrix#inverse
|
|
@@ -14484,8 +14484,8 @@ const zs = Math.min, Ls = Math.max, C0 = Math.ceil, S0 = Math.floor, $0 = new Pe
|
|
|
14484
14484
|
a.relative && (m += a.x, y += a.y);
|
|
14485
14485
|
let [$, w] = n.multiply(m, y), T = l.controls.left.x, R = l.controls.left.y;
|
|
14486
14486
|
l.relative && (T += l.x, R += l.y);
|
|
14487
|
-
let [_,
|
|
14488
|
-
const b = l0(g, h, $, w, _,
|
|
14487
|
+
let [_, x] = n.multiply(T, R);
|
|
14488
|
+
const b = l0(g, h, $, w, _, x, p, v);
|
|
14489
14489
|
d = zs(b.min.y - s, d), c = zs(b.min.x - s, c), u = Ls(b.max.x + s, u), f = Ls(b.max.y + s, f);
|
|
14490
14490
|
} else
|
|
14491
14491
|
o <= 1 && (d = zs(h - s, d), c = zs(g - s, c), u = Ls(g + s, u), f = Ls(h + s, f)), d = zs(v - s, d), c = zs(p - s, c), u = Ls(p + s, u), f = Ls(v + s, f);
|
|
@@ -14525,7 +14525,7 @@ const zs = Math.min, Ls = Math.max, C0 = Math.ceil, S0 = Math.floor, $0 = new Pe
|
|
|
14525
14525
|
return R;
|
|
14526
14526
|
} else return _;
|
|
14527
14527
|
y = _.controls && _.controls.right, m = R.controls && R.controls.left, l = _.x, g = _.y, c = (y || _).x, h = (y || _).y, u = (m || R).x, p = (m || R).y, d = R.x, v = R.y, y && _.relative && (c += _.x, h += _.y), m && R.relative && (u += R.x, p += R.y), a = wo(i, l, c, u, d), f = wo(i, g, h, p, v);
|
|
14528
|
-
const
|
|
14528
|
+
const x = Ri(l, c, i), b = Ri(g, h, i), F = Ri(c, u, i), B = Ri(h, p, i), H = Ri(u, d, i), W = Ri(p, v, i), N = Ri(x, F, i), A = Ri(b, B, i), te = Ri(F, H, i), ce = Ri(B, W, i);
|
|
14529
14529
|
return Xe.isObject(n) ? (n.x = a, n.y = f, n instanceof Ve && (n.controls.left.x = N, 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(
|
|
14530
14530
|
a,
|
|
14531
14531
|
f,
|
|
@@ -18575,7 +18575,7 @@ const ot = {
|
|
|
18575
18575
|
height: "1.2em"
|
|
18576
18576
|
};
|
|
18577
18577
|
function N0(t, e) {
|
|
18578
|
-
return
|
|
18578
|
+
return k(), O("svg", D0, [...e[0] || (e[0] = [
|
|
18579
18579
|
P("path", {
|
|
18580
18580
|
fill: "currentColor",
|
|
18581
18581
|
d: "m289.94 256l95-95A24 24 0 0 0 351 127l-95 95l-95-95a24 24 0 0 0-34 34l95 95l-95 95a24 24 0 1 0 34 34l95-95l95 95a24 24 0 0 0 34-34Z"
|
|
@@ -18627,14 +18627,14 @@ const jo = Oe({ name: "ion-close", render: N0 }), H0 = { class: "mr-3 flex flex-
|
|
|
18627
18627
|
{ deep: !0 }
|
|
18628
18628
|
), (l, c) => {
|
|
18629
18629
|
const u = jo;
|
|
18630
|
-
return
|
|
18630
|
+
return k(), Q(M(Fd), {
|
|
18631
18631
|
style: { width: "auto" },
|
|
18632
18632
|
trigger: "none",
|
|
18633
18633
|
class: "max-h-[19rem] md:max-h-[40rem] w-auto"
|
|
18634
18634
|
}, {
|
|
18635
18635
|
default: E(() => [
|
|
18636
18636
|
P("div", H0, [
|
|
18637
|
-
(
|
|
18637
|
+
(k(!0), O(Be, null, Xt(t.settings.allTemplates, (d, f) => (k(), O("div", {
|
|
18638
18638
|
key: `${d.id}-${f}`,
|
|
18639
18639
|
class: "group relative"
|
|
18640
18640
|
}, [
|
|
@@ -18661,7 +18661,7 @@ const jo = Oe({ name: "ion-close", render: N0 }), H0 = { class: "mr-3 flex flex-
|
|
|
18661
18661
|
]),
|
|
18662
18662
|
_: 2
|
|
18663
18663
|
}, 1024),
|
|
18664
|
-
d.isCustom && !d.isNewRec() ? (
|
|
18664
|
+
d.isCustom && !d.isNewRec() ? (k(), Q(M(He), {
|
|
18665
18665
|
key: 0,
|
|
18666
18666
|
size: "tiny",
|
|
18667
18667
|
quaternary: "",
|
|
@@ -18795,7 +18795,7 @@ const jo = Oe({ name: "ion-close", render: N0 }), H0 = { class: "mr-3 flex flex-
|
|
|
18795
18795
|
const j = X.vertices[0].x + (X.vertices[1].x - X.vertices[0].x) / 2 - 8 * Math.sin(V.angle * Math.PI / 180), G = X.vertices[0].y + (X.vertices[1].y - X.vertices[0].y) / 2 - 8 * Math.cos(V.angle * Math.PI / 180), Z = new Xs(V.label, j + 10, G - 10);
|
|
18796
18796
|
let re;
|
|
18797
18797
|
Z.size = ot.lineLabel.size, Z.weight = 600, Z.fill = ot.lineLabel.color, Z.id += 1, Z.rotation = ot.lineLabel.rotation, K > 0 && (re = new Xs(`${V.angle}°`, X.vertices[0].x + 25, X.vertices[0].y - 25), re.size = ot.angleLabel.size, re.weight = 600, re.fill = ot.angleLabel.color, re.rotation = ot.angleLabel.rotation, re.id += K, r.push(re), J.add(re)), J.add(Z), b(Z, X, 0, re), b(Z, X, 1);
|
|
18798
|
-
},
|
|
18798
|
+
}, x = () => {
|
|
18799
18799
|
const { size: V } = ot.colorSideLabel, X = 0, J = 0, K = d.value ? V / 2 : V / 2 - V, j = d.value ? V / 2 - V : V / 2, G = new Cn();
|
|
18800
18800
|
if (!l)
|
|
18801
18801
|
return G;
|
|
@@ -18830,7 +18830,7 @@ const jo = Oe({ name: "ion-close", render: N0 }), H0 = { class: "mr-3 flex flex-
|
|
|
18830
18830
|
const rt = fe.at(-1);
|
|
18831
18831
|
let qe = pe.getBoundingClientRect();
|
|
18832
18832
|
if (!j) {
|
|
18833
|
-
const De =
|
|
18833
|
+
const De = x();
|
|
18834
18834
|
Ue.push(De);
|
|
18835
18835
|
}
|
|
18836
18836
|
if (X.length > 0) {
|
|
@@ -18914,7 +18914,7 @@ const jo = Oe({ name: "ion-close", render: N0 }), H0 = { class: "mr-3 flex flex-
|
|
|
18914
18914
|
), te(l));
|
|
18915
18915
|
}), ki(() => {
|
|
18916
18916
|
l && (l.clear(), l = null);
|
|
18917
|
-
}), (V, X) => (
|
|
18917
|
+
}), (V, X) => (k(), O("div", X0, [
|
|
18918
18918
|
D(q0, {
|
|
18919
18919
|
"select-template-index": t.selectTemplateIndex,
|
|
18920
18920
|
settings: t.settings,
|
|
@@ -19225,7 +19225,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19225
19225
|
}, _ = (b) => {
|
|
19226
19226
|
const F = a.value.configuratorParams.linesWidths.length > 1 ? l.value.minLineWidth : l.value.stripMinWidth, B = 0;
|
|
19227
19227
|
a.value.configuratorParams.linesWidths.splice(b + 1, 0, F), a.value.configuratorParams.linesAngles.splice(b + 1, 0, B), c.value.linesWidths = [...a.value.configuratorParams.linesWidths], c.value.linesAngles = [...a.value.configuratorParams.linesAngles], $(), v(), m(a.value.configuratorParams);
|
|
19228
|
-
},
|
|
19228
|
+
}, x = (b) => {
|
|
19229
19229
|
a.value.configuratorParams.linesWidths.length <= 1 || (a.value.configuratorParams.linesWidths.splice(b, 1), a.value.configuratorParams.linesAngles.splice(b, 1), c.value.linesWidths = [...a.value.configuratorParams.linesWidths], c.value.linesAngles = [...a.value.configuratorParams.linesAngles], $(), v(), m(a.value.configuratorParams));
|
|
19230
19230
|
};
|
|
19231
19231
|
return Fr(() => {
|
|
@@ -19237,8 +19237,8 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19237
19237
|
}
|
|
19238
19238
|
), (b, F) => {
|
|
19239
19239
|
const B = He;
|
|
19240
|
-
return
|
|
19241
|
-
t.settings.allowShowTable ? (
|
|
19240
|
+
return k(), O("div", J0, [
|
|
19241
|
+
t.settings.allowShowTable ? (k(), Q(B, {
|
|
19242
19242
|
key: 0,
|
|
19243
19243
|
type: "tertiary",
|
|
19244
19244
|
class: "self-end",
|
|
@@ -19276,7 +19276,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19276
19276
|
onSubmit: y,
|
|
19277
19277
|
"onClick:saveTemplate": h,
|
|
19278
19278
|
"onClick:addLine": _,
|
|
19279
|
-
"onClick:removeLine":
|
|
19279
|
+
"onClick:removeLine": x
|
|
19280
19280
|
}, null, 8, ["value", "preview-params", "validation", "settings", "is-submit-processing", "is-product-searching", "select-template-index"])
|
|
19281
19281
|
])
|
|
19282
19282
|
]);
|
|
@@ -19301,7 +19301,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19301
19301
|
}), s = e;
|
|
19302
19302
|
return (r, o) => {
|
|
19303
19303
|
const a = He;
|
|
19304
|
-
return
|
|
19304
|
+
return k(), O("div", ny, [
|
|
19305
19305
|
P("div", sy, [
|
|
19306
19306
|
o[1] || (o[1] = P("div", { class: "window" }, null, -1)),
|
|
19307
19307
|
P("div", {
|
|
@@ -19310,7 +19310,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19310
19310
|
P("div", {
|
|
19311
19311
|
class: Ge(["frame", `frame-${t.configuratorParams.color}`])
|
|
19312
19312
|
}, null, 2),
|
|
19313
|
-
n.value ? (
|
|
19313
|
+
n.value ? (k(), O("div", {
|
|
19314
19314
|
key: 0,
|
|
19315
19315
|
class: Ge(["frame-crossbar", `frame-crossbar-${n.value}-${t.configuratorParams.color}`])
|
|
19316
19316
|
}, null, 2)) : U("", !0),
|
|
@@ -19375,41 +19375,41 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19375
19375
|
marker: [ut.serverValidation(n.validation.marker.feedback)]
|
|
19376
19376
|
})), $ = I(() => {
|
|
19377
19377
|
var W;
|
|
19378
|
-
const
|
|
19379
|
-
if (!
|
|
19378
|
+
const x = p.value, b = v.value, { quantity: F } = n.value, B = ((W = n.value.product) == null ? void 0 : W.costRub) || 0;
|
|
19379
|
+
if (!x || !b || !F || B === 0)
|
|
19380
19380
|
return null;
|
|
19381
|
-
const H =
|
|
19381
|
+
const H = x * b / 1e6;
|
|
19382
19382
|
return (B * F * H).toLocaleString("ru-ru", { minimumFractionDigits: 2 });
|
|
19383
19383
|
}), w = I(() => {
|
|
19384
|
-
const
|
|
19384
|
+
const x = p.value, b = v.value, F = !!(x && x >= n.settings.minWidth && x <= n.settings.maxWidths[u.value.configuratorParams.netType]), B = !!(b && b >= n.settings.minHeight && b <= n.settings.maxHeights[u.value.configuratorParams.netType]), H = !!(n.value.quantity && n.value.quantity > 0);
|
|
19385
19385
|
return F && B && H;
|
|
19386
|
-
}), T = (
|
|
19386
|
+
}), T = (x, b) => {
|
|
19387
19387
|
var H, W;
|
|
19388
19388
|
const F = u.value.configuratorParams;
|
|
19389
|
-
|
|
19389
|
+
x && x in F && (F[x] = b);
|
|
19390
19390
|
const B = {
|
|
19391
19391
|
...F,
|
|
19392
19392
|
width: p.value ?? 0,
|
|
19393
19393
|
height: v.value ?? 0
|
|
19394
19394
|
};
|
|
19395
|
-
|
|
19395
|
+
x === "width" && ((H = a.value) == null || H.validate().catch(Yt)), x === "height" && ((W = l.value) == null || W.validate().catch(Yt)), Rt(() => {
|
|
19396
19396
|
var A, te;
|
|
19397
19397
|
!((A = a.value) != null && A.validationErrored) && !((te = l.value) != null && te.validationErrored) && B.height && B.width && s("update:params", B), R("configuratorParams", B);
|
|
19398
19398
|
});
|
|
19399
|
-
}, R = (
|
|
19399
|
+
}, R = (x, b) => {
|
|
19400
19400
|
const F = new Ut(n.value);
|
|
19401
|
-
F[
|
|
19401
|
+
F[x] = b, x === "configuratorParams" && (F.product = new Pn()), s("update:value", F);
|
|
19402
19402
|
};
|
|
19403
19403
|
return Ce(
|
|
19404
19404
|
() => n.value,
|
|
19405
|
-
(
|
|
19406
|
-
const b = Ai(mi(
|
|
19405
|
+
(x) => {
|
|
19406
|
+
const b = Ai(mi(x)), F = b.configuratorParams.mountType, B = n.settings.widthOverlaps[F] ?? 0, H = n.settings.heightOverlaps[F] ?? 0;
|
|
19407
19407
|
b.configuratorParams.width && b.configuratorParams.width > 0 && (b.configuratorParams.width -= B), b.configuratorParams.height && b.configuratorParams.height > 0 && (b.configuratorParams.height -= H), u.value = b;
|
|
19408
19408
|
},
|
|
19409
19409
|
{ deep: !0 }
|
|
19410
19410
|
), st(() => {
|
|
19411
|
-
var
|
|
19412
|
-
(
|
|
19411
|
+
var x;
|
|
19412
|
+
(x = c.value) == null || x.select();
|
|
19413
19413
|
}), e({
|
|
19414
19414
|
/**
|
|
19415
19415
|
* Валидирует форму.
|
|
@@ -19419,9 +19419,9 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19419
19419
|
* Ссылка на форму.
|
|
19420
19420
|
*/
|
|
19421
19421
|
formReference: o
|
|
19422
|
-
}), (
|
|
19422
|
+
}), (x, b) => {
|
|
19423
19423
|
const F = Kn;
|
|
19424
|
-
return
|
|
19424
|
+
return k(), Q(M(ir), {
|
|
19425
19425
|
ref: "form-reference",
|
|
19426
19426
|
model: u.value,
|
|
19427
19427
|
rules: y.value,
|
|
@@ -19486,7 +19486,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19486
19486
|
label: `Ширина светового проёма от ${t.settings.minWidth - d.value} ${g.value ? " до " + (g.value - d.value) : ""} мм.`
|
|
19487
19487
|
}, {
|
|
19488
19488
|
feedback: E(() => [
|
|
19489
|
-
!t.validation.width.showFeedback && p.value >= t.settings.minWidth && p.value <= t.settings.maxWidths[u.value.configuratorParams.netType] ? (
|
|
19489
|
+
!t.validation.width.showFeedback && p.value >= t.settings.minWidth && p.value <= t.settings.maxWidths[u.value.configuratorParams.netType] ? (k(), O("div", ay, [
|
|
19490
19490
|
D(M(Sn), { type: "success" }, {
|
|
19491
19491
|
default: E(() => [
|
|
19492
19492
|
ie("Ширина готового изделия " + Y(p.value), 1)
|
|
@@ -19531,7 +19531,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19531
19531
|
label: `Высота светового проёма от ${t.settings.minHeight - f.value} ${h.value ? " до " + (h.value - f.value) : ""} мм.`
|
|
19532
19532
|
}, {
|
|
19533
19533
|
feedback: E(() => [
|
|
19534
|
-
!t.validation.height.showFeedback && v.value >= t.settings.minHeight && v.value <= t.settings.maxHeights[u.value.configuratorParams.netType] ? (
|
|
19534
|
+
!t.validation.height.showFeedback && v.value >= t.settings.minHeight && v.value <= t.settings.maxHeights[u.value.configuratorParams.netType] ? (k(), O("div", ly, [
|
|
19535
19535
|
D(M(Sn), { type: "success" }, {
|
|
19536
19536
|
default: E(() => [
|
|
19537
19537
|
ie("Высота готового изделия " + Y(v.value), 1)
|
|
@@ -19607,7 +19607,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19607
19607
|
]),
|
|
19608
19608
|
_: 1
|
|
19609
19609
|
}),
|
|
19610
|
-
m.value ? (
|
|
19610
|
+
m.value ? (k(), Q(F, {
|
|
19611
19611
|
key: 0,
|
|
19612
19612
|
checked: u.value.isAdditionalSale ?? !1,
|
|
19613
19613
|
"true-value": !0,
|
|
@@ -19626,11 +19626,11 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19626
19626
|
product: u.value.product,
|
|
19627
19627
|
validation: t.validation.product
|
|
19628
19628
|
}, null, 8, ["is-product-searching", "product", "validation"]),
|
|
19629
|
-
$.value ? (
|
|
19629
|
+
$.value ? (k(), O("div", cy, [
|
|
19630
19630
|
b[29] || (b[29] = ie(" ИТОГО: ", -1)),
|
|
19631
19631
|
P("span", uy, Y($.value) + " ₽", 1)
|
|
19632
19632
|
])) : U("", !0),
|
|
19633
|
-
w.value ? U("", !0) : (
|
|
19633
|
+
w.value ? U("", !0) : (k(), O("div", dy, " Пожалуйста, заполните все обязательные поля корректно. ")),
|
|
19634
19634
|
P("div", hy, [
|
|
19635
19635
|
D(M(He), {
|
|
19636
19636
|
loading: t.isSubmitProcessing,
|
|
@@ -19644,7 +19644,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19644
19644
|
]),
|
|
19645
19645
|
_: 1
|
|
19646
19646
|
}, 8, ["loading", "disabled"]),
|
|
19647
|
-
r.value ? (
|
|
19647
|
+
r.value ? (k(), Q(M(He), {
|
|
19648
19648
|
key: 0,
|
|
19649
19649
|
type: "default",
|
|
19650
19650
|
onClick: b[24] || (b[24] = (B) => s("click:show-preview-drawer"))
|
|
@@ -19673,7 +19673,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19673
19673
|
const i = li.initRefDependingOnDeviceResolution("small", "small", "medium"), n = li.initRefDependingOnDeviceResolution(0.98, 0.95, 0.8), s = I(() => window.innerWidth * n.value), r = e;
|
|
19674
19674
|
return (o, a) => {
|
|
19675
19675
|
const l = Sn;
|
|
19676
|
-
return
|
|
19676
|
+
return k(), Q(M(Cl), {
|
|
19677
19677
|
show: t.show,
|
|
19678
19678
|
"show-icon": !1,
|
|
19679
19679
|
size: M(i),
|
|
@@ -19834,7 +19834,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19834
19834
|
{ deep: !0 }
|
|
19835
19835
|
), (p, v) => {
|
|
19836
19836
|
const m = jo;
|
|
19837
|
-
return
|
|
19837
|
+
return k(), O(Be, null, [
|
|
19838
19838
|
D(Py, {
|
|
19839
19839
|
show: o.value,
|
|
19840
19840
|
"onUpdate:show": v[0] || (v[0] = (y) => o.value = y),
|
|
@@ -19842,7 +19842,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19842
19842
|
"width-overlaps": t.settings.widthOverlaps
|
|
19843
19843
|
}, null, 8, ["show", "height-overlaps", "width-overlaps"]),
|
|
19844
19844
|
P("div", Ry, [
|
|
19845
|
-
s.value ? (
|
|
19845
|
+
s.value ? (k(), Q(M(Bd), {
|
|
19846
19846
|
key: 1,
|
|
19847
19847
|
show: r.value,
|
|
19848
19848
|
"onUpdate:show": v[4] || (v[4] = (y) => r.value = y),
|
|
@@ -19875,7 +19875,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19875
19875
|
})
|
|
19876
19876
|
]),
|
|
19877
19877
|
_: 1
|
|
19878
|
-
}, 8, ["show"])) : (
|
|
19878
|
+
}, 8, ["show"])) : (k(), Q(Bu, {
|
|
19879
19879
|
key: 0,
|
|
19880
19880
|
"configurator-params": a.value.configuratorParams,
|
|
19881
19881
|
settings: t.settings,
|
|
@@ -19944,14 +19944,14 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
19944
19944
|
formItemReference: l
|
|
19945
19945
|
}), (f, g) => {
|
|
19946
19946
|
const h = Wd, p = Bl;
|
|
19947
|
-
return
|
|
19947
|
+
return k(), Q(M(et), {
|
|
19948
19948
|
ref: "form-item-reference",
|
|
19949
19949
|
path: t.path,
|
|
19950
19950
|
label: `Полоса №${t.index + 1}, мм`,
|
|
19951
19951
|
class: "sc-hide-empty-feedback-message"
|
|
19952
19952
|
}, {
|
|
19953
19953
|
feedback: E(() => [
|
|
19954
|
-
c.value ? (
|
|
19954
|
+
c.value ? (k(), Q(zo, {
|
|
19955
19955
|
key: 0,
|
|
19956
19956
|
"is-product-searching": o.value,
|
|
19957
19957
|
product: t.product,
|
|
@@ -20052,17 +20052,17 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20052
20052
|
return !$ || u.value !== n.settings.width ? null : (kd(
|
|
20053
20053
|
n.value,
|
|
20054
20054
|
(T, R) => {
|
|
20055
|
-
var
|
|
20056
|
-
const _ = ((
|
|
20055
|
+
var x;
|
|
20056
|
+
const _ = ((x = R.product) == null ? void 0 : x.costRub) || 0;
|
|
20057
20057
|
return T + _;
|
|
20058
20058
|
},
|
|
20059
20059
|
0
|
|
20060
20060
|
) * n.value[0].quantity * $).toLocaleString("ru-ru", { minimumFractionDigits: 2 });
|
|
20061
20061
|
}), v = ($, w, T) => {
|
|
20062
|
-
var _,
|
|
20062
|
+
var _, x, b;
|
|
20063
20063
|
a.value[w].product.id = -1;
|
|
20064
20064
|
const { configuratorParams: R } = a.value[w];
|
|
20065
|
-
R.linesWidths[w] = $, m("configuratorParams", R), (b = (
|
|
20065
|
+
R.linesWidths[w] = $, m("configuratorParams", R), (b = (x = (_ = o.value) == null ? void 0 : _.at(w)) == null ? void 0 : x.formItemReference) == null || b.validate().catch(Yt), Rt(() => {
|
|
20066
20066
|
var F, B;
|
|
20067
20067
|
(B = (F = o.value) == null ? void 0 : F.at(w)) != null && B.isValid && s("update:params", R, w, T);
|
|
20068
20068
|
});
|
|
@@ -20088,7 +20088,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20088
20088
|
formReference: r
|
|
20089
20089
|
}), ($, w) => {
|
|
20090
20090
|
const T = Kn;
|
|
20091
|
-
return
|
|
20091
|
+
return k(), Q(M(ir), {
|
|
20092
20092
|
ref: "form-reference",
|
|
20093
20093
|
model: a.value[0],
|
|
20094
20094
|
rules: l.value,
|
|
@@ -20098,20 +20098,20 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20098
20098
|
default: E(() => {
|
|
20099
20099
|
var R;
|
|
20100
20100
|
return [
|
|
20101
|
-
(
|
|
20101
|
+
(k(!0), O(Be, null, Xt(a.value, (_, x) => {
|
|
20102
20102
|
var b, F;
|
|
20103
|
-
return
|
|
20104
|
-
key:
|
|
20103
|
+
return k(), Q(My, {
|
|
20104
|
+
key: x,
|
|
20105
20105
|
ref_for: !0,
|
|
20106
20106
|
ref: "line-items-reference",
|
|
20107
|
-
value: ((b = _.configuratorParams) == null ? void 0 : b.linesWidths.at(
|
|
20107
|
+
value: ((b = _.configuratorParams) == null ? void 0 : b.linesWidths.at(x)) ?? null,
|
|
20108
20108
|
"auto-focus": !0,
|
|
20109
|
-
index:
|
|
20110
|
-
path: `configuratorParams.linesWidths.${
|
|
20109
|
+
index: x,
|
|
20110
|
+
path: `configuratorParams.linesWidths.${x}`,
|
|
20111
20111
|
product: _.product,
|
|
20112
20112
|
settings: t.settings,
|
|
20113
20113
|
validation: t.validation,
|
|
20114
|
-
"suggestion-option": h.value(((F = _.configuratorParams) == null ? void 0 : F.linesWidths.at(
|
|
20114
|
+
"suggestion-option": h.value(((F = _.configuratorParams) == null ? void 0 : F.linesWidths.at(x)) ?? 0),
|
|
20115
20115
|
"add-line-button-disabled": d.value <= 0 || t.value.length >= t.settings.maxLinesCount || t.value.some((B) => B.product.isNewRec()),
|
|
20116
20116
|
"remove-line-button-disabled": a.value.length === 1,
|
|
20117
20117
|
"onUpdate:value": v,
|
|
@@ -20120,7 +20120,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20120
20120
|
}, null, 8, ["value", "index", "path", "product", "settings", "validation", "suggestion-option", "add-line-button-disabled", "remove-line-button-disabled"]);
|
|
20121
20121
|
}), 128)),
|
|
20122
20122
|
P("div", Ey, [
|
|
20123
|
-
d.value < 0 ? (
|
|
20123
|
+
d.value < 0 ? (k(), Q(M(Sn), {
|
|
20124
20124
|
key: 0,
|
|
20125
20125
|
type: "error"
|
|
20126
20126
|
}, {
|
|
@@ -20129,7 +20129,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20129
20129
|
]),
|
|
20130
20130
|
_: 1
|
|
20131
20131
|
})) : U("", !0),
|
|
20132
|
-
f.value && a.value.length === t.settings.maxLinesCount && d.value > 0 ? (
|
|
20132
|
+
f.value && a.value.length === t.settings.maxLinesCount && d.value > 0 ? (k(), Q(M(Sn), {
|
|
20133
20133
|
key: 1,
|
|
20134
20134
|
type: "error"
|
|
20135
20135
|
}, {
|
|
@@ -20222,7 +20222,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20222
20222
|
]),
|
|
20223
20223
|
_: 1
|
|
20224
20224
|
}),
|
|
20225
|
-
c.value ? (
|
|
20225
|
+
c.value ? (k(), Q(T, {
|
|
20226
20226
|
key: 0,
|
|
20227
20227
|
checked: a.value[0].isAdditionalSale ?? !1,
|
|
20228
20228
|
"true-value": !0,
|
|
@@ -20236,7 +20236,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20236
20236
|
])]),
|
|
20237
20237
|
_: 1
|
|
20238
20238
|
}, 8, ["checked"])) : U("", !0),
|
|
20239
|
-
p.value ? (
|
|
20239
|
+
p.value ? (k(), O("div", Iy, [
|
|
20240
20240
|
w[20] || (w[20] = ie(" ИТОГО: ", -1)),
|
|
20241
20241
|
P("span", Oy, Y(p.value) + " ₽", 1)
|
|
20242
20242
|
])) : U("", !0),
|
|
@@ -20268,7 +20268,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20268
20268
|
settings: {}
|
|
20269
20269
|
},
|
|
20270
20270
|
setup(t) {
|
|
20271
|
-
return (e, i) => (
|
|
20271
|
+
return (e, i) => (k(), O("div", Ny, [
|
|
20272
20272
|
P("img", {
|
|
20273
20273
|
src: "/img/configurators/strip/strip-" + t.value.length + ".png",
|
|
20274
20274
|
class: "w-full max-w-96 self-center py-5",
|
|
@@ -20375,8 +20375,8 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20375
20375
|
}
|
|
20376
20376
|
), (h, p) => {
|
|
20377
20377
|
const v = He;
|
|
20378
|
-
return
|
|
20379
|
-
t.settings.allowShowTable ? (
|
|
20378
|
+
return k(), O("div", Uy, [
|
|
20379
|
+
t.settings.allowShowTable ? (k(), Q(v, {
|
|
20380
20380
|
key: 0,
|
|
20381
20381
|
type: "tertiary",
|
|
20382
20382
|
class: "self-center",
|
|
@@ -20469,7 +20469,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20469
20469
|
formReference: r
|
|
20470
20470
|
}), (h, p) => {
|
|
20471
20471
|
const v = Kn;
|
|
20472
|
-
return
|
|
20472
|
+
return k(), Q(M(ir), {
|
|
20473
20473
|
ref: "form-reference",
|
|
20474
20474
|
model: a.value,
|
|
20475
20475
|
rules: l.value,
|
|
@@ -20557,7 +20557,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20557
20557
|
]),
|
|
20558
20558
|
_: 1
|
|
20559
20559
|
}),
|
|
20560
|
-
c.value ? (
|
|
20560
|
+
c.value ? (k(), Q(v, {
|
|
20561
20561
|
key: 0,
|
|
20562
20562
|
checked: a.value.isAdditionalSale ?? !1,
|
|
20563
20563
|
"true-value": !0,
|
|
@@ -20660,8 +20660,8 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20660
20660
|
{ deep: !0 }
|
|
20661
20661
|
), (f, g) => {
|
|
20662
20662
|
const h = He;
|
|
20663
|
-
return
|
|
20664
|
-
t.settings.allowShowTable ? (
|
|
20663
|
+
return k(), O("div", Qy, [
|
|
20664
|
+
t.settings.allowShowTable ? (k(), Q(h, {
|
|
20665
20665
|
key: 0,
|
|
20666
20666
|
type: "tertiary",
|
|
20667
20667
|
class: "self-center",
|
|
@@ -20692,7 +20692,7 @@ const J0 = { class: "flex flex-col gap-3" }, ey = { class: "grid gap-5 md:grid-c
|
|
|
20692
20692
|
height: "1.2em"
|
|
20693
20693
|
};
|
|
20694
20694
|
function ib(t, e) {
|
|
20695
|
-
return
|
|
20695
|
+
return k(), O("svg", tb, [...e[0] || (e[0] = [
|
|
20696
20696
|
P("path", {
|
|
20697
20697
|
fill: "none",
|
|
20698
20698
|
stroke: "currentColor",
|
|
@@ -20820,13 +20820,13 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
20820
20820
|
callback: (te) => {
|
|
20821
20821
|
te ? (f.value = te, o.value.configuratorParams.calculationId = te.id, o.value.quantity = te.quantity, Rt(() => {
|
|
20822
20822
|
H("quantity", te.quantity);
|
|
20823
|
-
})) : (o.value.configuratorParams.calculationId = "", o.value.quantity = 0, f.value = null), H("configuratorParams", o.value.configuratorParams),
|
|
20823
|
+
})) : (o.value.configuratorParams.calculationId = "", o.value.quantity = 0, f.value = null), H("configuratorParams", o.value.configuratorParams), x(), g.value = !1;
|
|
20824
20824
|
}
|
|
20825
20825
|
});
|
|
20826
20826
|
}).catch(() => {
|
|
20827
20827
|
f.value = null, g.value = !1;
|
|
20828
20828
|
});
|
|
20829
|
-
}, h.value),
|
|
20829
|
+
}, h.value), x = () => {
|
|
20830
20830
|
var A;
|
|
20831
20831
|
if (!((A = l.value) != null && A.costRub) || !f.value) {
|
|
20832
20832
|
T.value = null;
|
|
@@ -20876,7 +20876,7 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
20876
20876
|
formReference: r
|
|
20877
20877
|
}), (N, A) => {
|
|
20878
20878
|
const te = Bl, ce = nb;
|
|
20879
|
-
return
|
|
20879
|
+
return k(), Q(M(ir), {
|
|
20880
20880
|
ref: "form-reference",
|
|
20881
20881
|
model: o.value,
|
|
20882
20882
|
rules: m.value,
|
|
@@ -20905,11 +20905,11 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
20905
20905
|
]),
|
|
20906
20906
|
_: 1
|
|
20907
20907
|
}),
|
|
20908
|
-
l.value ? (
|
|
20908
|
+
l.value ? (k(), O("div", sb, [
|
|
20909
20909
|
A[9] || (A[9] = ie(" Стоимость: ", -1)),
|
|
20910
20910
|
P("span", rb, Y((V = l.value.costRub) == null ? void 0 : V.toLocaleString()) + " " + Y(l.value.currency.symbol) + "/шт.", 1)
|
|
20911
20911
|
])) : U("", !0),
|
|
20912
|
-
l.value && p.value && v.value ? (
|
|
20912
|
+
l.value && p.value && v.value ? (k(), O("div", ob, [
|
|
20913
20913
|
A[14] || (A[14] = P("div", { class: "w-full font-bold" }, "Размеры изделий", -1)),
|
|
20914
20914
|
P("div", ab, [
|
|
20915
20915
|
ie(" Минимальная ширина: " + Y(t.settings.minWidth) + " мм. ", 1),
|
|
@@ -20921,7 +20921,7 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
20921
20921
|
ie(" Максимальная длина: " + Y((J = l.value.properties) == null ? void 0 : J.length) + " мм. ", 1)
|
|
20922
20922
|
]),
|
|
20923
20923
|
P("div", lb, [
|
|
20924
|
-
(
|
|
20924
|
+
(k(!0), O(Be, null, Xt(o.value.configuratorParams.items, (K, j) => (k(), O("div", {
|
|
20925
20925
|
key: j,
|
|
20926
20926
|
class: "flex grow gap-2"
|
|
20927
20927
|
}, [
|
|
@@ -21010,7 +21010,7 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
21010
21010
|
]),
|
|
21011
21011
|
_: 1
|
|
21012
21012
|
}, 8, ["disabled"])
|
|
21013
|
-
])) : l.value ? (
|
|
21013
|
+
])) : l.value ? (k(), Q(M(Sn), {
|
|
21014
21014
|
key: 2,
|
|
21015
21015
|
type: "error"
|
|
21016
21016
|
}, {
|
|
@@ -21034,7 +21034,7 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
21034
21034
|
]),
|
|
21035
21035
|
_: 1
|
|
21036
21036
|
}),
|
|
21037
|
-
y.value ? (
|
|
21037
|
+
y.value ? (k(), Q(M(Kn), {
|
|
21038
21038
|
key: 3,
|
|
21039
21039
|
checked: o.value.isAdditionalSale ?? !1,
|
|
21040
21040
|
"true-value": !0,
|
|
@@ -21056,12 +21056,12 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
21056
21056
|
default: E(() => {
|
|
21057
21057
|
var K;
|
|
21058
21058
|
return [
|
|
21059
|
-
f.value && l.value && T.value ? (
|
|
21059
|
+
f.value && l.value && T.value ? (k(), O("div", ub, [
|
|
21060
21060
|
P("div", null, [
|
|
21061
21061
|
A[17] || (A[17] = ie(" Итого: ", -1)),
|
|
21062
21062
|
P("span", db, Y(T.value.toLocaleString()) + " " + Y(l.value.currency.symbol), 1)
|
|
21063
21063
|
]),
|
|
21064
|
-
f.value.quantity && l.value ? (
|
|
21064
|
+
f.value.quantity && l.value ? (k(), O("div", hb, [
|
|
21065
21065
|
P("span", fb, "(" + Y(f.value.quantity) + " шт.", 1),
|
|
21066
21066
|
A[18] || (A[18] = ie(" x ", -1)),
|
|
21067
21067
|
P("span", gb, Y((K = l.value.costRub) == null ? void 0 : K.toLocaleString()) + " " + Y(l.value.currency.symbol) + "/шт.)", 1)
|
|
@@ -21151,8 +21151,8 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
21151
21151
|
{ deep: !0 }
|
|
21152
21152
|
), (d, f) => {
|
|
21153
21153
|
const g = He;
|
|
21154
|
-
return
|
|
21155
|
-
t.settings.allowShowTable && r.value.isNewRec() ? (
|
|
21154
|
+
return k(), O("div", yb, [
|
|
21155
|
+
t.settings.allowShowTable && r.value.isNewRec() ? (k(), Q(g, {
|
|
21156
21156
|
key: 0,
|
|
21157
21157
|
type: "tertiary",
|
|
21158
21158
|
class: "self-center",
|
|
@@ -21306,40 +21306,40 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
21306
21306
|
e.cartItem || o();
|
|
21307
21307
|
}), (c, u) => {
|
|
21308
21308
|
const d = tr;
|
|
21309
|
-
return
|
|
21310
|
-
i.value ? (
|
|
21309
|
+
return k(), O(Be, null, [
|
|
21310
|
+
i.value ? (k(), O("div", xb, [
|
|
21311
21311
|
D(d, { size: "large" })
|
|
21312
|
-
])) : n.value ? (
|
|
21313
|
-
t.settings !== null && (s.value !== null || r.value !== null) ? (
|
|
21312
|
+
])) : n.value ? (k(), O("div", kb, Y(n.value), 1)) : U("", !0),
|
|
21313
|
+
t.settings !== null && (s.value !== null || r.value !== null) ? (k(), O("div", Cb, [
|
|
21314
21314
|
P("div", Sb, [
|
|
21315
|
-
t.editor === "kozyrek" ? (
|
|
21315
|
+
t.editor === "kozyrek" ? (k(), Q(iy, {
|
|
21316
21316
|
key: 0,
|
|
21317
21317
|
"event-emitter": t.eventEmitter,
|
|
21318
21318
|
settings: t.settings,
|
|
21319
21319
|
"cart-item": s.value,
|
|
21320
21320
|
"onClick:viewSwitch": l,
|
|
21321
21321
|
onSubmit: a
|
|
21322
|
-
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "mosquitto" ? (
|
|
21322
|
+
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "mosquitto" ? (k(), Q(By, {
|
|
21323
21323
|
key: 1,
|
|
21324
21324
|
"event-emitter": t.eventEmitter,
|
|
21325
21325
|
settings: t.settings,
|
|
21326
21326
|
"cart-item": s.value,
|
|
21327
21327
|
onSubmit: a
|
|
21328
|
-
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "strip" ? (
|
|
21328
|
+
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "strip" ? (k(), Q(Yy, {
|
|
21329
21329
|
key: 2,
|
|
21330
21330
|
"event-emitter": t.eventEmitter,
|
|
21331
21331
|
settings: t.settings,
|
|
21332
21332
|
"cart-items": r.value,
|
|
21333
21333
|
"onClick:viewSwitch": l,
|
|
21334
21334
|
onSubmit: a
|
|
21335
|
-
}, null, 8, ["event-emitter", "settings", "cart-items"])) : t.editor === "metal_for_doors" ? (
|
|
21335
|
+
}, null, 8, ["event-emitter", "settings", "cart-items"])) : t.editor === "metal_for_doors" ? (k(), Q(eb, {
|
|
21336
21336
|
key: 3,
|
|
21337
21337
|
"event-emitter": t.eventEmitter,
|
|
21338
21338
|
settings: t.settings,
|
|
21339
21339
|
"cart-item": s.value,
|
|
21340
21340
|
"onClick:viewSwitch": l,
|
|
21341
21341
|
onSubmit: a
|
|
21342
|
-
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "sandwich" ? (
|
|
21342
|
+
}, null, 8, ["event-emitter", "settings", "cart-item"])) : t.editor === "sandwich" ? (k(), Q(wb, {
|
|
21343
21343
|
key: 4,
|
|
21344
21344
|
"event-emitter": t.eventEmitter,
|
|
21345
21345
|
settings: t.settings,
|
|
@@ -21348,7 +21348,7 @@ const nb = Oe({ name: "ion-add", render: ib }), sb = {
|
|
|
21348
21348
|
onSubmit: a
|
|
21349
21349
|
}, null, 8, ["event-emitter", "settings", "cart-item"])) : U("", !0)
|
|
21350
21350
|
])
|
|
21351
|
-
])) : (
|
|
21351
|
+
])) : (k(), O("div", $b, ' Конфигуратор "' + Y(t.editor) + '" не поддерживается. ', 1))
|
|
21352
21352
|
], 64);
|
|
21353
21353
|
};
|
|
21354
21354
|
}
|
|
@@ -21435,7 +21435,7 @@ const Bb = {
|
|
|
21435
21435
|
() => kt(e.isCategoryItemSelected) ? e.isCategoryItemSelected(e.categoryItem) === "disabled" : e.isCategoryItemSelected === "disabled"
|
|
21436
21436
|
), R = I(
|
|
21437
21437
|
() => kt(e.isCategoryItemSelected) ? e.isCategoryItemSelected(e.categoryItem) === "indeterminate" : e.isCategoryItemSelected === "indeterminate"
|
|
21438
|
-
), _ = I(() => K.value && li.getDeviceTypeByResolution() === bt.laptop ? "auto" : "fixed"),
|
|
21438
|
+
), _ = I(() => K.value && li.getDeviceTypeByResolution() === bt.laptop ? "auto" : "fixed"), x = it("collapse-item-reference"), b = I(() => {
|
|
21439
21439
|
var Z, re;
|
|
21440
21440
|
return (re = (Z = e.categoryItem.properties) == null ? void 0 : Z.templateCost) == null ? void 0 : re.priceCoefficient;
|
|
21441
21441
|
}), F = I(() => {
|
|
@@ -21447,26 +21447,26 @@ const Bb = {
|
|
|
21447
21447
|
minimumFractionDigits: 0,
|
|
21448
21448
|
maximumFractionDigits: 0
|
|
21449
21449
|
}).replaceAll(/\d/g, "").trim(), H = (Z) => {
|
|
21450
|
-
e.eventEmitter.emit("category:checked", { category: e.categoryItem, checked: Z, target:
|
|
21450
|
+
e.eventEmitter.emit("category:checked", { category: e.categoryItem, checked: Z, target: x.value });
|
|
21451
21451
|
}, W = (Z, re) => {
|
|
21452
21452
|
e.eventEmitter.emit("category:header-click", {
|
|
21453
21453
|
categoryItem: e.categoryItem,
|
|
21454
21454
|
expanded: re,
|
|
21455
21455
|
isLoadingState: m,
|
|
21456
|
-
target:
|
|
21456
|
+
target: x.value
|
|
21457
21457
|
});
|
|
21458
21458
|
}, N = () => {
|
|
21459
|
-
e.eventEmitter.emit("category:hide", { category: e.categoryItem, target:
|
|
21459
|
+
e.eventEmitter.emit("category:hide", { category: e.categoryItem, target: x.value });
|
|
21460
21460
|
}, A = () => {
|
|
21461
|
-
e.eventEmitter.emit("category:required", { category: e.categoryItem, target:
|
|
21461
|
+
e.eventEmitter.emit("category:required", { category: e.categoryItem, target: x.value });
|
|
21462
21462
|
}, te = () => {
|
|
21463
|
-
e.eventEmitter.emit("category:attach", { category: e.categoryItem, target:
|
|
21463
|
+
e.eventEmitter.emit("category:attach", { category: e.categoryItem, target: x.value });
|
|
21464
21464
|
}, ce = () => {
|
|
21465
|
-
e.eventEmitter.emit("category:detach", { category: e.categoryItem, target:
|
|
21465
|
+
e.eventEmitter.emit("category:detach", { category: e.categoryItem, target: x.value });
|
|
21466
21466
|
}, V = () => {
|
|
21467
|
-
e.eventEmitter.emit("category:edit", { category: e.categoryItem, target:
|
|
21467
|
+
e.eventEmitter.emit("category:edit", { category: e.categoryItem, target: x.value });
|
|
21468
21468
|
}, X = (Z) => {
|
|
21469
|
-
e.eventEmitter.emit("category:context-select", { category: e.categoryItem, key: Z, target:
|
|
21469
|
+
e.eventEmitter.emit("category:context-select", { category: e.categoryItem, key: Z, target: x.value });
|
|
21470
21470
|
}, J = () => {
|
|
21471
21471
|
e.eventEmitter.emit("configurator:click-view-switch", { category: e.categoryItem });
|
|
21472
21472
|
}, K = q(0), j = I(() => K.value && r.value.length > 0 ? Am(r.value, {
|
|
@@ -21491,7 +21491,7 @@ const Bb = {
|
|
|
21491
21491
|
window.removeEventListener("resize", G);
|
|
21492
21492
|
}), window.addEventListener("resize", G), G(), (Z, re) => {
|
|
21493
21493
|
const _e = Kn, pe = dp, fe = Ar, Ue = lp, rt = Rd, qe = rp, Ci = ip, De = He, Ei = Jg, Ii = Ld, Kt = zd, ci = Od, Oi = Rl, zt = Io, dn = Sl, zi = Md, Si = tr;
|
|
21494
|
-
return
|
|
21494
|
+
return k(), Q($p, {
|
|
21495
21495
|
ref: "collapse-item-reference",
|
|
21496
21496
|
name: t.categoryItem.id,
|
|
21497
21497
|
"data-id": t.categoryItem.id,
|
|
@@ -21500,7 +21500,7 @@ const Bb = {
|
|
|
21500
21500
|
"pre-arrow": E(() => {
|
|
21501
21501
|
var We, se;
|
|
21502
21502
|
return [
|
|
21503
|
-
$.value ? (
|
|
21503
|
+
$.value ? (k(), O("div", Bb, [
|
|
21504
21504
|
D(_e, {
|
|
21505
21505
|
checked: w.value,
|
|
21506
21506
|
indeterminate: R.value,
|
|
@@ -21508,7 +21508,7 @@ const Bb = {
|
|
|
21508
21508
|
"onUpdate:checked": H
|
|
21509
21509
|
}, null, 8, ["checked", "indeterminate", "disabled"])
|
|
21510
21510
|
])) : U("", !0),
|
|
21511
|
-
!c.value && ((We = v.value) != null && We.isDisabled) ? (
|
|
21511
|
+
!c.value && ((We = v.value) != null && We.isDisabled) ? (k(), Q(fe, {
|
|
21512
21512
|
key: 1,
|
|
21513
21513
|
placement: "bottom",
|
|
21514
21514
|
trigger: "hover"
|
|
@@ -21521,7 +21521,7 @@ const Bb = {
|
|
|
21521
21521
|
]),
|
|
21522
21522
|
_: 1
|
|
21523
21523
|
})) : U("", !0),
|
|
21524
|
-
((se = v.value) == null ? void 0 : se.isFavorite) ?? !1 ? (
|
|
21524
|
+
((se = v.value) == null ? void 0 : se.isFavorite) ?? !1 ? (k(), Q(fe, {
|
|
21525
21525
|
key: 2,
|
|
21526
21526
|
placement: "bottom",
|
|
21527
21527
|
trigger: "hover"
|
|
@@ -21568,7 +21568,7 @@ const Bb = {
|
|
|
21568
21568
|
["prevent", "stop"]
|
|
21569
21569
|
))
|
|
21570
21570
|
}, [
|
|
21571
|
-
(se = t.categoryItem.properties) != null && se.m2Price ? (
|
|
21571
|
+
(se = t.categoryItem.properties) != null && se.m2Price ? (k(), Q(rt, {
|
|
21572
21572
|
key: 0,
|
|
21573
21573
|
size: M(i),
|
|
21574
21574
|
class: Ge({ "!pr-0": ((ge = t.categoryItem.properties) == null ? void 0 : ge.templateCost) && t.categoryItem.properties.m2PriceRetail && F.value }),
|
|
@@ -21578,8 +21578,8 @@ const Bb = {
|
|
|
21578
21578
|
var wt;
|
|
21579
21579
|
return [
|
|
21580
21580
|
ie(" Установленная стоимость: " + Y(t.categoryItem.properties.m2Price) + " руб./м2 ", 1),
|
|
21581
|
-
(wt = t.categoryItem.properties) != null && wt.templateCost && t.categoryItem.properties.m2PriceRetail && F.value ? (
|
|
21582
|
-
F.value ? (
|
|
21581
|
+
(wt = t.categoryItem.properties) != null && wt.templateCost && t.categoryItem.properties.m2PriceRetail && F.value ? (k(), O(Be, { key: 0 }, [
|
|
21582
|
+
F.value ? (k(), Q(rt, {
|
|
21583
21583
|
key: 0,
|
|
21584
21584
|
type: "success",
|
|
21585
21585
|
bordered: !1,
|
|
@@ -21588,7 +21588,7 @@ const Bb = {
|
|
|
21588
21588
|
round: ""
|
|
21589
21589
|
}, {
|
|
21590
21590
|
default: E(() => [
|
|
21591
|
-
F.value ? (
|
|
21591
|
+
F.value ? (k(), O("span", Ab, Y(F.value.toFixed(2)) + "%", 1)) : U("", !0),
|
|
21592
21592
|
D(rt, {
|
|
21593
21593
|
size: M(i),
|
|
21594
21594
|
round: ""
|
|
@@ -21605,8 +21605,8 @@ const Bb = {
|
|
|
21605
21605
|
];
|
|
21606
21606
|
}),
|
|
21607
21607
|
_: 1
|
|
21608
|
-
}, 8, ["size", "class"])) : (Ke = t.categoryItem.properties) != null && Ke.templateCost ? (
|
|
21609
|
-
b.value || F.value ? (
|
|
21608
|
+
}, 8, ["size", "class"])) : (Ke = t.categoryItem.properties) != null && Ke.templateCost ? (k(), O(Be, { key: 1 }, [
|
|
21609
|
+
b.value || F.value ? (k(), Q(rt, {
|
|
21610
21610
|
key: 0,
|
|
21611
21611
|
size: M(i),
|
|
21612
21612
|
round: ""
|
|
@@ -21614,14 +21614,14 @@ const Bb = {
|
|
|
21614
21614
|
default: E(() => {
|
|
21615
21615
|
var wt;
|
|
21616
21616
|
return [
|
|
21617
|
-
b.value ? (
|
|
21618
|
-
F.value ? (
|
|
21617
|
+
b.value ? (k(), O("span", Eb, Y((wt = b.value) == null ? void 0 : wt.name), 1)) : U("", !0),
|
|
21618
|
+
F.value ? (k(), O("span", Ib, Y(F.value > 0 ? "+" : "") + Y(F.value.toFixed(2)) + "%", 1)) : U("", !0)
|
|
21619
21619
|
];
|
|
21620
21620
|
}),
|
|
21621
21621
|
_: 1
|
|
21622
21622
|
}, 8, ["size"])) : U("", !0)
|
|
21623
21623
|
], 64)) : U("", !0),
|
|
21624
|
-
o.value ? (
|
|
21624
|
+
o.value ? (k(), Q(rt, {
|
|
21625
21625
|
key: 2,
|
|
21626
21626
|
size: M(i),
|
|
21627
21627
|
round: ""
|
|
@@ -21631,7 +21631,7 @@ const Bb = {
|
|
|
21631
21631
|
]),
|
|
21632
21632
|
_: 1
|
|
21633
21633
|
}, 8, ["size"])) : U("", !0),
|
|
21634
|
-
u.value && ((Mn = v.value) != null && Mn.manager) ? (
|
|
21634
|
+
u.value && ((Mn = v.value) != null && Mn.manager) ? (k(), Q(rt, {
|
|
21635
21635
|
key: 3,
|
|
21636
21636
|
size: M(i),
|
|
21637
21637
|
closable: !0,
|
|
@@ -21668,10 +21668,10 @@ const Bb = {
|
|
|
21668
21668
|
];
|
|
21669
21669
|
}),
|
|
21670
21670
|
"sub-header": E(() => [
|
|
21671
|
-
t.showSlugs || t.showProperties ? (
|
|
21671
|
+
t.showSlugs || t.showProperties ? (k(), O("div", zb, [
|
|
21672
21672
|
P("ul", Lb, [
|
|
21673
|
-
t.showSlugs ? (
|
|
21674
|
-
t.showProperties ? (
|
|
21673
|
+
t.showSlugs ? (k(!0), O(Be, { key: 0 }, Xt({ id: t.categoryItem.id, slug: t.categoryItem.slug }, (We, se) => (k(), O("li", { key: se }, " (" + Y(se) + "): " + Y(We), 1))), 128)) : U("", !0),
|
|
21674
|
+
t.showProperties ? (k(!0), O(Be, { key: 1 }, Xt(t.categoryItem.properties, (We, se) => (k(), O("li", { key: se }, " (" + Y(se) + "): " + Y(We), 1))), 128)) : U("", !0)
|
|
21675
21675
|
])
|
|
21676
21676
|
])) : U("", !0)
|
|
21677
21677
|
]),
|
|
@@ -21679,7 +21679,7 @@ const Bb = {
|
|
|
21679
21679
|
var We;
|
|
21680
21680
|
return [
|
|
21681
21681
|
P("div", Db, [
|
|
21682
|
-
c.value ? (
|
|
21682
|
+
c.value ? (k(), Q(fe, {
|
|
21683
21683
|
key: 0,
|
|
21684
21684
|
placement: "bottom",
|
|
21685
21685
|
trigger: "hover"
|
|
@@ -21693,7 +21693,7 @@ const Bb = {
|
|
|
21693
21693
|
default: E(() => {
|
|
21694
21694
|
var se;
|
|
21695
21695
|
return [
|
|
21696
|
-
(se = v.value) != null && se.isDisabled ? (
|
|
21696
|
+
(se = v.value) != null && se.isDisabled ? (k(), Q(pe, { key: 1 })) : (k(), Q(Ci, { key: 0 }))
|
|
21697
21697
|
];
|
|
21698
21698
|
}),
|
|
21699
21699
|
_: 1
|
|
@@ -21702,16 +21702,16 @@ const Bb = {
|
|
|
21702
21702
|
default: E(() => {
|
|
21703
21703
|
var se;
|
|
21704
21704
|
return [
|
|
21705
|
-
(se = v.value) != null && se.isDisabled ? (
|
|
21705
|
+
(se = v.value) != null && se.isDisabled ? (k(), O(Be, { key: 0 }, [
|
|
21706
21706
|
ie(" Скрыто для клиента" + Y(v.value.hidingComment ? `. Причина: '${v.value.hidingComment}'` : ""), 1)
|
|
21707
|
-
], 64)) : (
|
|
21707
|
+
], 64)) : (k(), O(Be, { key: 1 }, [
|
|
21708
21708
|
ie("Видимо клиенту")
|
|
21709
21709
|
], 64))
|
|
21710
21710
|
];
|
|
21711
21711
|
}),
|
|
21712
21712
|
_: 1
|
|
21713
21713
|
})) : U("", !0),
|
|
21714
|
-
u.value && !((We = v.value) != null && We.manager) ? (
|
|
21714
|
+
u.value && !((We = v.value) != null && We.manager) ? (k(), Q(fe, {
|
|
21715
21715
|
key: 1,
|
|
21716
21716
|
placement: "bottom",
|
|
21717
21717
|
trigger: "hover"
|
|
@@ -21731,16 +21731,16 @@ const Bb = {
|
|
|
21731
21731
|
default: E(() => {
|
|
21732
21732
|
var se, ge, Ke;
|
|
21733
21733
|
return [
|
|
21734
|
-
(se = v.value) != null && se.manager ? (
|
|
21734
|
+
(se = v.value) != null && se.manager ? (k(), O(Be, { key: 1 }, [
|
|
21735
21735
|
ie('Категория закреплена за "' + Y(((Ke = (ge = v.value) == null ? void 0 : ge.manager) == null ? void 0 : Ke.name) ?? "-") + '"', 1)
|
|
21736
|
-
], 64)) : (
|
|
21736
|
+
], 64)) : (k(), O(Be, { key: 0 }, [
|
|
21737
21737
|
ie("Закрепить")
|
|
21738
21738
|
], 64))
|
|
21739
21739
|
];
|
|
21740
21740
|
}),
|
|
21741
21741
|
_: 1
|
|
21742
21742
|
})) : U("", !0),
|
|
21743
|
-
d.value ? (
|
|
21743
|
+
d.value ? (k(), Q(fe, {
|
|
21744
21744
|
key: 2,
|
|
21745
21745
|
placement: "bottom",
|
|
21746
21746
|
trigger: "hover"
|
|
@@ -21755,7 +21755,7 @@ const Bb = {
|
|
|
21755
21755
|
default: E(() => {
|
|
21756
21756
|
var se;
|
|
21757
21757
|
return [
|
|
21758
|
-
(se = v.value) != null && se.isRequired ? (
|
|
21758
|
+
(se = v.value) != null && se.isRequired ? (k(), Q(Kt, { key: 1 })) : (k(), Q(Ii, { key: 0 }))
|
|
21759
21759
|
];
|
|
21760
21760
|
}),
|
|
21761
21761
|
_: 1
|
|
@@ -21766,7 +21766,7 @@ const Bb = {
|
|
|
21766
21766
|
]),
|
|
21767
21767
|
_: 1
|
|
21768
21768
|
})) : U("", !0),
|
|
21769
|
-
f.value ? (
|
|
21769
|
+
f.value ? (k(), Q(fe, {
|
|
21770
21770
|
key: 3,
|
|
21771
21771
|
placement: "bottom",
|
|
21772
21772
|
trigger: "hover"
|
|
@@ -21789,7 +21789,7 @@ const Bb = {
|
|
|
21789
21789
|
]),
|
|
21790
21790
|
_: 1
|
|
21791
21791
|
})) : U("", !0),
|
|
21792
|
-
p.value.length > 0 ? (
|
|
21792
|
+
p.value.length > 0 ? (k(), Q(zt, {
|
|
21793
21793
|
key: 4,
|
|
21794
21794
|
options: p.value,
|
|
21795
21795
|
size: M(i),
|
|
@@ -21818,7 +21818,7 @@ const Bb = {
|
|
|
21818
21818
|
var We, se, ge;
|
|
21819
21819
|
return [
|
|
21820
21820
|
P("div", Nb, [
|
|
21821
|
-
s.value ? (
|
|
21821
|
+
s.value ? (k(), Q(Gb, {
|
|
21822
21822
|
key: 0,
|
|
21823
21823
|
"categories-items": t.categoryItem.categories ?? [],
|
|
21824
21824
|
"has-products": l.value || m.value,
|
|
@@ -21846,14 +21846,14 @@ const Bb = {
|
|
|
21846
21846
|
"can-show-configurator": t.canShowConfigurator
|
|
21847
21847
|
}, null, 8, ["categories-items", "has-products", "event-emitter", "filtered-items", "is-category-item-selected", "show-slugs", "show-properties", "allow-name-click", "allow-price-click", "show-price-history", "show-cost-date", "show-category-required-button", "show-category-hide-for-client-button", "show-category-pin-button", "show-category-edit-button", "category-context-buttons-config", "is-product-item-selected", "show-product-add-to-cart-button", "show-product-costs", "show-product-required-button", "show-product-edit-button", "product-context-buttons-config", "show-configurator", "can-show-configurator"])) : U("", !0)
|
|
21848
21848
|
]),
|
|
21849
|
-
g.value && h.value ? (
|
|
21849
|
+
g.value && h.value ? (k(), Q(Pb, {
|
|
21850
21850
|
key: 0,
|
|
21851
21851
|
"event-emitter": t.eventEmitter,
|
|
21852
21852
|
settings: (se = t.categoryItem.properties) == null ? void 0 : se.configuratorSettings,
|
|
21853
21853
|
editor: (ge = t.categoryItem.properties) == null ? void 0 : ge.configurator,
|
|
21854
21854
|
category: t.categoryItem
|
|
21855
|
-
}, null, 8, ["event-emitter", "settings", "editor", "category"])) : l.value ? (
|
|
21856
|
-
g.value ? (
|
|
21855
|
+
}, null, 8, ["event-emitter", "settings", "editor", "category"])) : l.value ? (k(), O("div", Hb, [
|
|
21856
|
+
g.value ? (k(), Q(De, {
|
|
21857
21857
|
key: 0,
|
|
21858
21858
|
color: "#bdbdbd",
|
|
21859
21859
|
strong: "",
|
|
@@ -21876,21 +21876,21 @@ const Bb = {
|
|
|
21876
21876
|
class: "mt-2"
|
|
21877
21877
|
}, null, 8, ["columns", "data", "loading", "row-key", "table-layout"])
|
|
21878
21878
|
])) : U("", !0),
|
|
21879
|
-
!m.value && !y.value && !s.value && !l.value ? (
|
|
21879
|
+
!m.value && !y.value && !s.value && !l.value ? (k(), Q(zi, {
|
|
21880
21880
|
key: 2,
|
|
21881
21881
|
"show-icon": !0,
|
|
21882
21882
|
type: "warning",
|
|
21883
21883
|
title: "Категория пуста",
|
|
21884
21884
|
class: "mx-10"
|
|
21885
21885
|
})) : U("", !0),
|
|
21886
|
-
y.value ? (
|
|
21886
|
+
y.value ? (k(), Q(zi, {
|
|
21887
21887
|
key: 3,
|
|
21888
21888
|
"show-icon": !0,
|
|
21889
21889
|
type: "error",
|
|
21890
21890
|
title: "При получении данных произошла ошибка",
|
|
21891
21891
|
class: "mx-10"
|
|
21892
21892
|
})) : U("", !0),
|
|
21893
|
-
m.value ? (
|
|
21893
|
+
m.value ? (k(), Q(Si, {
|
|
21894
21894
|
key: 4,
|
|
21895
21895
|
size: M(i),
|
|
21896
21896
|
class: "w-full"
|
|
@@ -21919,7 +21919,7 @@ const Bb = {
|
|
|
21919
21919
|
const i = t, n = e;
|
|
21920
21920
|
return yi("itemHeaderClickHandler", (r, o) => {
|
|
21921
21921
|
n("on-item-header-click", r, o);
|
|
21922
|
-
}), yi("defaultExpandedNames", i.defaultExpandedNames), yi("expandedNames", i.expandedNames), (r, o) => (
|
|
21922
|
+
}), yi("defaultExpandedNames", i.defaultExpandedNames), yi("expandedNames", i.expandedNames), (r, o) => (k(), O("div", Ub, [
|
|
21923
21923
|
Te(r.$slots, "default")
|
|
21924
21924
|
]));
|
|
21925
21925
|
}
|
|
@@ -21975,10 +21975,10 @@ const Bb = {
|
|
|
21975
21975
|
};
|
|
21976
21976
|
return (r, o) => {
|
|
21977
21977
|
const a = tr, l = Md;
|
|
21978
|
-
return
|
|
21979
|
-
n.value.length > 0 ? (
|
|
21978
|
+
return k(), O(Be, null, [
|
|
21979
|
+
n.value.length > 0 ? (k(), Q(Xb, { key: 0 }, {
|
|
21980
21980
|
default: E(() => [
|
|
21981
|
-
(
|
|
21981
|
+
(k(!0), O(Be, null, Xt(n.value, (c) => (k(), Q(jb, {
|
|
21982
21982
|
key: c.id,
|
|
21983
21983
|
"category-item": c,
|
|
21984
21984
|
"event-emitter": t.eventEmitter,
|
|
@@ -22006,7 +22006,7 @@ const Bb = {
|
|
|
22006
22006
|
}, null, 8, ["category-item", "event-emitter", "filtered-items", "is-category-item-selected", "show-slugs", "show-properties", "allow-name-click", "allow-price-click", "show-price-history", "show-cost-date", "show-category-required-button", "show-category-hide-for-client-button", "show-category-pin-button", "show-category-edit-button", "category-context-buttons-config", "is-product-item-selected", "show-product-add-to-cart-button", "show-product-costs", "show-product-required-button", "show-product-edit-button", "product-context-buttons-config", "show-configurator", "can-show-configurator"]))), 128))
|
|
22007
22007
|
]),
|
|
22008
22008
|
_: 1
|
|
22009
|
-
})) : t.loading ? (
|
|
22009
|
+
})) : t.loading ? (k(), Q(a, {
|
|
22010
22010
|
key: 1,
|
|
22011
22011
|
size: M(i),
|
|
22012
22012
|
class: "w-full"
|
|
@@ -22016,7 +22016,7 @@ const Bb = {
|
|
|
22016
22016
|
])]),
|
|
22017
22017
|
_: 1
|
|
22018
22018
|
}, 8, ["size"])) : U("", !0),
|
|
22019
|
-
!t.hasProducts && !t.loading && t.categoriesItems.length > 0 && n.value.length === 0 ? (
|
|
22019
|
+
!t.hasProducts && !t.loading && t.categoriesItems.length > 0 && n.value.length === 0 ? (k(), Q(l, {
|
|
22020
22020
|
key: 2,
|
|
22021
22021
|
"show-icon": !0,
|
|
22022
22022
|
type: "warning",
|
|
@@ -22070,7 +22070,7 @@ const Bb = {
|
|
|
22070
22070
|
var g;
|
|
22071
22071
|
return (g = u.value) == null ? void 0 : g.blur();
|
|
22072
22072
|
}
|
|
22073
|
-
}), (g, h) => (
|
|
22073
|
+
}), (g, h) => (k(), Q(M(on), {
|
|
22074
22074
|
ref: "select-component",
|
|
22075
22075
|
value: a.value,
|
|
22076
22076
|
clearable: n.clearable,
|
|
@@ -22108,10 +22108,10 @@ const Bb = {
|
|
|
22108
22108
|
var T;
|
|
22109
22109
|
return ((T = i.catalogItem) == null ? void 0 : T.type) === "product";
|
|
22110
22110
|
}), a = I(() => o.value ? i.catalogItem : void 0), l = (T) => {
|
|
22111
|
-
var R, _,
|
|
22111
|
+
var R, _, x, b;
|
|
22112
22112
|
return T.id === s().id ? (R = a.value) == null ? void 0 : R.getRetailCost() : (
|
|
22113
22113
|
// eslint-disable-next-line vue/max-len
|
|
22114
|
-
(b = (
|
|
22114
|
+
(b = (x = (_ = a.value) == null ? void 0 : _.priceCoefficients) == null ? void 0 : x.find((F) => F.coefficient.id === T.id)) == null ? void 0 : b.cost
|
|
22115
22115
|
);
|
|
22116
22116
|
}, c = I(() => {
|
|
22117
22117
|
var R;
|
|
@@ -22121,14 +22121,14 @@ const Bb = {
|
|
|
22121
22121
|
];
|
|
22122
22122
|
return o.value && T.forEach((_) => {
|
|
22123
22123
|
var b;
|
|
22124
|
-
const
|
|
22125
|
-
|
|
22124
|
+
const x = l(_);
|
|
22125
|
+
x ? _.name += ` (${x} ${(b = a.value) == null ? void 0 : b.currency.symbol})` : _.name = "";
|
|
22126
22126
|
}), T.filter((_) => _.name !== "");
|
|
22127
22127
|
}), u = q(i.value.coefficient), d = q(((w = ($ = i.value) == null ? void 0 : $.value) == null ? void 0 : w.toString()) ?? null), f = q(null), g = I(() => {
|
|
22128
22128
|
var T, R;
|
|
22129
22129
|
return (R = (T = a.value) == null ? void 0 : T.priceCoefficients) == null ? void 0 : R.find((_) => _.coefficient.slug === $g.K0);
|
|
22130
22130
|
}), h = q(void 0), p = () => {
|
|
22131
|
-
var R, _,
|
|
22131
|
+
var R, _, x;
|
|
22132
22132
|
h.value = void 0;
|
|
22133
22133
|
let T = Number.parseFloat(((R = d.value) == null ? void 0 : R.replace(",", ".")) ?? "");
|
|
22134
22134
|
if (T = Number.isNaN(T) ? void 0 : T, o.value)
|
|
@@ -22137,7 +22137,7 @@ const Bb = {
|
|
|
22137
22137
|
f.value = new Intl.NumberFormat("ru-RU", { style: "decimal", minimumFractionDigits: 2 }).format(B), B > (((_ = a.value) == null ? void 0 : _.getRetailCost()) ?? B) && (h.value = {
|
|
22138
22138
|
validationStatus: "warning",
|
|
22139
22139
|
feedback: "Устанавливается цена выше розничной цены"
|
|
22140
|
-
}), g.value && B < (((
|
|
22140
|
+
}), g.value && B < (((x = g.value) == null ? void 0 : x.cost) ?? 0) && (h.value = {
|
|
22141
22141
|
validationStatus: "warning",
|
|
22142
22142
|
feedback: "Устанавливается цена ниже минимальной цены"
|
|
22143
22143
|
});
|
|
@@ -22153,14 +22153,14 @@ const Bb = {
|
|
|
22153
22153
|
}, m = () => {
|
|
22154
22154
|
u.value || (u.value = s()), p();
|
|
22155
22155
|
}, y = (T) => {
|
|
22156
|
-
var _,
|
|
22156
|
+
var _, x, b, F, B, H;
|
|
22157
22157
|
const R = Number.parseFloat((T == null ? void 0 : T.replace(",", ".")) ?? "");
|
|
22158
22158
|
if (o.value) {
|
|
22159
22159
|
let W = 0;
|
|
22160
22160
|
if (R <= 0)
|
|
22161
22161
|
u.value = void 0, d.value = null;
|
|
22162
22162
|
else if (g.value && R < (((_ = g.value) == null ? void 0 : _.cost) ?? 0))
|
|
22163
|
-
u.value = (
|
|
22163
|
+
u.value = (x = g.value) == null ? void 0 : x.coefficient, W = (R - g.value.cost) * 100 / g.value.cost, h.value = {
|
|
22164
22164
|
validationStatus: "warning",
|
|
22165
22165
|
feedback: "Устанавливается цена ниже минимальной цены"
|
|
22166
22166
|
};
|
|
@@ -22194,12 +22194,12 @@ const Bb = {
|
|
|
22194
22194
|
});
|
|
22195
22195
|
};
|
|
22196
22196
|
return st(() => {
|
|
22197
|
-
var T, R, _,
|
|
22198
|
-
i.calculationType === Nr.m2Cost ? f.value = ((R = (T = i.value) == null ? void 0 : T.value) == null ? void 0 : R.toString()) ?? null : !((_ = i.value) != null && _.coefficient) && ((
|
|
22197
|
+
var T, R, _, x;
|
|
22198
|
+
i.calculationType === Nr.m2Cost ? f.value = ((R = (T = i.value) == null ? void 0 : T.value) == null ? void 0 : R.toString()) ?? null : !((_ = i.value) != null && _.coefficient) && ((x = i.value) != null && x.value) && (u.value = s()), p();
|
|
22199
22199
|
}), (T, R) => {
|
|
22200
22200
|
var b, F, B;
|
|
22201
|
-
const _ = An,
|
|
22202
|
-
return
|
|
22201
|
+
const _ = An, x = Ed;
|
|
22202
|
+
return k(), Q(M(et), {
|
|
22203
22203
|
"show-label": !M(ft)(t.label),
|
|
22204
22204
|
label: t.label,
|
|
22205
22205
|
"show-feedback": !M(ft)(((b = h.value) == null ? void 0 : b.feedback) ?? t.feedback),
|
|
@@ -22212,7 +22212,7 @@ const Bb = {
|
|
|
22212
22212
|
"sm:grid-cols-3": o.value && t.calculationType !== M(Nr).m2Cost
|
|
22213
22213
|
}, "grid w-full grid-cols-1 gap-2"])
|
|
22214
22214
|
}, [
|
|
22215
|
-
t.calculationType !== M(Nr).m2Cost ? (
|
|
22215
|
+
t.calculationType !== M(Nr).m2Cost ? (k(), Q(x, {
|
|
22216
22216
|
key: 0,
|
|
22217
22217
|
class: Ge(["w-full flex-row", { "sm:col-span-2": o.value }])
|
|
22218
22218
|
}, {
|
|
@@ -22254,7 +22254,7 @@ const Bb = {
|
|
|
22254
22254
|
]),
|
|
22255
22255
|
_: 1
|
|
22256
22256
|
}, 8, ["class"])) : U("", !0),
|
|
22257
|
-
o.value || t.calculationType === M(Nr).m2Cost ? (
|
|
22257
|
+
o.value || t.calculationType === M(Nr).m2Cost ? (k(), Q(_, {
|
|
22258
22258
|
key: 1,
|
|
22259
22259
|
value: f.value,
|
|
22260
22260
|
"onUpdate:value": [
|
|
@@ -22356,7 +22356,7 @@ const Bb = {
|
|
|
22356
22356
|
acceptHandler: f
|
|
22357
22357
|
}), (g, h) => {
|
|
22358
22358
|
const p = He, v = Cl;
|
|
22359
|
-
return
|
|
22359
|
+
return k(), Q(v, {
|
|
22360
22360
|
loading: o.value,
|
|
22361
22361
|
show: r.value,
|
|
22362
22362
|
"show-icon": !1,
|
|
@@ -22385,12 +22385,12 @@ const Bb = {
|
|
|
22385
22385
|
g.$slots.action || g.$slots["extra-action"] || t.acceptButton.show || t.cancelButton.show ? {
|
|
22386
22386
|
name: "action",
|
|
22387
22387
|
fn: E(() => [
|
|
22388
|
-
g.$slots["extra-action"] ? (
|
|
22388
|
+
g.$slots["extra-action"] ? (k(), O("div", Jb, [
|
|
22389
22389
|
Te(g.$slots, "extra-action")
|
|
22390
22390
|
])) : U("", !0),
|
|
22391
|
-
g.$slots.action || t.acceptButton.show || t.cancelButton.show ? (
|
|
22391
|
+
g.$slots.action || t.acceptButton.show || t.cancelButton.show ? (k(), O("div", e_, [
|
|
22392
22392
|
Te(g.$slots, "action", { disabled: o.value }),
|
|
22393
|
-
t.acceptButton.show ?? !0 ? (
|
|
22393
|
+
t.acceptButton.show ?? !0 ? (k(), Q(p, {
|
|
22394
22394
|
key: 0,
|
|
22395
22395
|
disabled: o.value || !t.valid,
|
|
22396
22396
|
size: M(a),
|
|
@@ -22402,7 +22402,7 @@ const Bb = {
|
|
|
22402
22402
|
]),
|
|
22403
22403
|
_: 1
|
|
22404
22404
|
}, 8, ["disabled", "size"])) : U("", !0),
|
|
22405
|
-
t.cancelButton.show ?? !0 ? (
|
|
22405
|
+
t.cancelButton.show ?? !0 ? (k(), Q(p, {
|
|
22406
22406
|
key: 1,
|
|
22407
22407
|
size: M(a),
|
|
22408
22408
|
type: "default",
|
|
@@ -22426,8 +22426,8 @@ const Bb = {
|
|
|
22426
22426
|
emits: ["submit"],
|
|
22427
22427
|
setup(t, { expose: e, emit: i }) {
|
|
22428
22428
|
const n = it("form-reference"), s = it("base-dialog-reference"), r = q(null), o = I(() => {
|
|
22429
|
-
var _,
|
|
22430
|
-
return ((_ = r.value) == null ? void 0 : _.unit.isLinear) && ((b = (
|
|
22429
|
+
var _, x, b;
|
|
22430
|
+
return ((_ = r.value) == null ? void 0 : _.unit.isLinear) && ((b = (x = r.value) == null ? void 0 : x.properties) == null ? void 0 : b.isLengthConfigurator);
|
|
22431
22431
|
}), a = q(void 0), l = q(void 0), c = q(!0), u = q(null), d = i, f = () => ({
|
|
22432
22432
|
length: {},
|
|
22433
22433
|
quantity: {},
|
|
@@ -22436,7 +22436,7 @@ const Bb = {
|
|
|
22436
22436
|
var B, H, W, N;
|
|
22437
22437
|
if (!r.value)
|
|
22438
22438
|
return {};
|
|
22439
|
-
const _ = Xi.getProductLengthMultiplicity(r.value),
|
|
22439
|
+
const _ = Xi.getProductLengthMultiplicity(r.value), x = Xi.getProductMultiplicity(r.value), b = ((H = (B = r.value) == null ? void 0 : B.properties) == null ? void 0 : H.minLength) || _, F = (N = (W = r.value) == null ? void 0 : W.properties) == null ? void 0 : N.maxLength;
|
|
22440
22440
|
return {
|
|
22441
22441
|
length: [
|
|
22442
22442
|
me.required,
|
|
@@ -22447,41 +22447,41 @@ const Bb = {
|
|
|
22447
22447
|
],
|
|
22448
22448
|
quantity: [
|
|
22449
22449
|
me.required,
|
|
22450
|
-
me.min(
|
|
22451
|
-
me.step(
|
|
22450
|
+
me.min(x),
|
|
22451
|
+
me.step(x),
|
|
22452
22452
|
ut.serverValidation(g.value.quantity.feedback)
|
|
22453
22453
|
],
|
|
22454
22454
|
marker: [ut.serverValidation(g.value.marker.feedback)]
|
|
22455
22455
|
};
|
|
22456
22456
|
}), v = I(() => {
|
|
22457
|
-
var _,
|
|
22458
|
-
return r.value ? ((_ = r.value.properties) == null ? void 0 : _.lengthStep) ?? ((
|
|
22457
|
+
var _, x, b;
|
|
22458
|
+
return r.value ? ((_ = r.value.properties) == null ? void 0 : _.lengthStep) ?? ((x = r.value.properties) != null && x.ignoreMinCountCheck ? 0 : ((b = r.value.properties) == null ? void 0 : b.minCount) ?? 0) : 0;
|
|
22459
22459
|
}), m = I(() => {
|
|
22460
22460
|
var b, F, B, H, W, N, A, te, ce;
|
|
22461
22461
|
if (!r.value) return "";
|
|
22462
|
-
const _ = ((F = (b = r.value) == null ? void 0 : b.properties) == null ? void 0 : F.minLength) ?? ((H = (B = r.value) == null ? void 0 : B.properties) != null && H.ignoreMinCountCheck ? 0 : (N = (W = r.value) == null ? void 0 : W.properties) == null ? void 0 : N.minCount),
|
|
22463
|
-
return _ ||
|
|
22462
|
+
const _ = ((F = (b = r.value) == null ? void 0 : b.properties) == null ? void 0 : F.minLength) ?? ((H = (B = r.value) == null ? void 0 : B.properties) != null && H.ignoreMinCountCheck ? 0 : (N = (W = r.value) == null ? void 0 : W.properties) == null ? void 0 : N.minCount), x = (te = (A = r.value) == null ? void 0 : A.properties) == null ? void 0 : te.maxLength;
|
|
22463
|
+
return _ || x ? `(${_ ? `от ${_}` : ""}${_ && x ? " " : ""}${x ? `до ${x}` : ""} ${(ce = r.value) == null ? void 0 : ce.unit.name})` : "";
|
|
22464
22464
|
}), y = (_) => {
|
|
22465
22465
|
var H, W;
|
|
22466
22466
|
if (!((W = (H = r.value) == null ? void 0 : H.properties) != null && W.isLengthConfigurator) || !u.value || ft(_) || v.value === 0)
|
|
22467
22467
|
return;
|
|
22468
|
-
const
|
|
22468
|
+
const x = _ / v.value, b = Math.round(x), F = Xi.getProductMultiplicity(r.value), B = Math.max(b, F);
|
|
22469
22469
|
u.value.quantity = B;
|
|
22470
22470
|
}, $ = (_) => {
|
|
22471
22471
|
var B, H, W, N;
|
|
22472
22472
|
if (!((H = (B = r.value) == null ? void 0 : B.properties) != null && H.isLengthConfigurator) || !u.value || ft(_) || v.value === 0)
|
|
22473
22473
|
return;
|
|
22474
|
-
const
|
|
22475
|
-
b !== void 0 &&
|
|
22474
|
+
const x = _ * v.value, b = ((W = r.value.properties) == null ? void 0 : W.minLength) || Xi.getProductLengthMultiplicity(r.value), F = (N = r.value.properties) == null ? void 0 : N.maxLength;
|
|
22475
|
+
b !== void 0 && x < b ? u.value.length = b : F !== void 0 && x > F ? u.value.length = F : u.value.length = x;
|
|
22476
22476
|
}, w = async (_) => {
|
|
22477
22477
|
var b;
|
|
22478
|
-
const
|
|
22478
|
+
const x = Ai(u.value);
|
|
22479
22479
|
try {
|
|
22480
22480
|
await ((b = n.value) == null ? void 0 : b.validate((F) => {
|
|
22481
22481
|
if (!F) {
|
|
22482
|
-
if (!r.value || !
|
|
22482
|
+
if (!r.value || !x)
|
|
22483
22483
|
return;
|
|
22484
|
-
Xi.productIsMeasurable(r.value) || delete
|
|
22484
|
+
Xi.productIsMeasurable(r.value) || delete x.length, o.value && v.value && (x.length = v.value), h.value = !0, d("submit", x, g.value, () => {
|
|
22485
22485
|
h.value = !1, _(!1), Rt(() => {
|
|
22486
22486
|
var B;
|
|
22487
22487
|
(B = n.value) == null || B.validate(Yt).catch(Yt);
|
|
@@ -22501,10 +22501,10 @@ const Bb = {
|
|
|
22501
22501
|
* @param productData Данные о товаре который требуется добавить в корзину.
|
|
22502
22502
|
* @param cartItemData Данные о товаре в корзине (опционально).
|
|
22503
22503
|
*/
|
|
22504
|
-
show: (_,
|
|
22504
|
+
show: (_, x) => {
|
|
22505
22505
|
var b, F, B, H, W;
|
|
22506
|
-
if (r.value = _, a.value =
|
|
22507
|
-
(
|
|
22506
|
+
if (r.value = _, a.value = x == null ? void 0 : x.cartItemData, l.value = x == null ? void 0 : x.orderId, c.value = (x == null ? void 0 : x.canSetDopProdaga) ?? !1, u.value = new Ut(
|
|
22507
|
+
(x == null ? void 0 : x.cartItemData) ?? new Ut({
|
|
22508
22508
|
product: _,
|
|
22509
22509
|
// eslint-disable-next-line vue/max-len
|
|
22510
22510
|
quantity: Xi.productIsMeasurable(r.value) ? 1 : ((b = _ == null ? void 0 : _.properties) == null ? void 0 : b.minCount) ?? 1,
|
|
@@ -22520,10 +22520,10 @@ const Bb = {
|
|
|
22520
22520
|
* Закрывает диалоговое окно.
|
|
22521
22521
|
*/
|
|
22522
22522
|
closeDialog: T
|
|
22523
|
-
}), (_,
|
|
22523
|
+
}), (_, x) => {
|
|
22524
22524
|
var W;
|
|
22525
22525
|
const b = et, F = mg, B = Ed, H = Kn;
|
|
22526
|
-
return
|
|
22526
|
+
return k(), Q(i_, {
|
|
22527
22527
|
ref: "base-dialog-reference",
|
|
22528
22528
|
show: !M(ft)(r.value) && !M(ft)(u.value),
|
|
22529
22529
|
title: `${a.value ? "Изменение" : "Добавление"} товара ${(W = r.value) == null ? void 0 : W.name} в ${l.value ? ` заказ №${l.value}` : "корзину"}`,
|
|
@@ -22536,7 +22536,7 @@ const Bb = {
|
|
|
22536
22536
|
default: E(() => {
|
|
22537
22537
|
var N;
|
|
22538
22538
|
return [
|
|
22539
|
-
r.value && u.value ? (
|
|
22539
|
+
r.value && u.value ? (k(), Q(M(ir), {
|
|
22540
22540
|
key: 0,
|
|
22541
22541
|
ref: "form-reference",
|
|
22542
22542
|
model: u.value,
|
|
@@ -22545,7 +22545,7 @@ const Bb = {
|
|
|
22545
22545
|
onKeydown: er(Ts((N = s.value) == null ? void 0 : N.acceptHandler, ["prevent"]), ["enter"])
|
|
22546
22546
|
}, {
|
|
22547
22547
|
default: E(() => [
|
|
22548
|
-
M(Xi).productIsMeasurable(r.value) ? (
|
|
22548
|
+
M(Xi).productIsMeasurable(r.value) ? (k(), Q(b, {
|
|
22549
22549
|
key: 0,
|
|
22550
22550
|
path: "length",
|
|
22551
22551
|
label: `Метраж, ${m.value + r.value.unit.name}`
|
|
@@ -22554,15 +22554,15 @@ const Bb = {
|
|
|
22554
22554
|
D(M($t), {
|
|
22555
22555
|
value: u.value.length,
|
|
22556
22556
|
"onUpdate:value": [
|
|
22557
|
-
|
|
22557
|
+
x[0] || (x[0] = (A) => u.value.length = A),
|
|
22558
22558
|
y
|
|
22559
22559
|
],
|
|
22560
22560
|
parse: M(bi),
|
|
22561
22561
|
"show-button": !1,
|
|
22562
22562
|
placeholder: "Введите метраж",
|
|
22563
22563
|
class: "w-full",
|
|
22564
|
-
onKeydown:
|
|
22565
|
-
onInput:
|
|
22564
|
+
onKeydown: x[1] || (x[1] = (A) => M(Wg)(A, ".", !1)),
|
|
22565
|
+
onInput: x[2] || (x[2] = (A) => M(lt)(g.value, "length")),
|
|
22566
22566
|
onFocus: M(ct)
|
|
22567
22567
|
}, null, 8, ["value", "parse", "onFocus"])
|
|
22568
22568
|
]),
|
|
@@ -22578,17 +22578,17 @@ const Bb = {
|
|
|
22578
22578
|
D(M($t), {
|
|
22579
22579
|
value: u.value.quantity,
|
|
22580
22580
|
"onUpdate:value": [
|
|
22581
|
-
|
|
22581
|
+
x[3] || (x[3] = (A) => u.value.quantity = A),
|
|
22582
22582
|
$
|
|
22583
22583
|
],
|
|
22584
22584
|
"show-button": !1,
|
|
22585
22585
|
placeholder: "Введите количество",
|
|
22586
22586
|
class: "w-full",
|
|
22587
|
-
onKeydown:
|
|
22588
|
-
onInput:
|
|
22587
|
+
onKeydown: x[4] || (x[4] = (A) => M(Ot)(A, !1)),
|
|
22588
|
+
onInput: x[5] || (x[5] = (A) => M(lt)(g.value, "quantity")),
|
|
22589
22589
|
onFocus: M(ct)
|
|
22590
22590
|
}, null, 8, ["value", "onFocus"]),
|
|
22591
|
-
o.value ? (
|
|
22591
|
+
o.value ? (k(), Q(F, {
|
|
22592
22592
|
key: 0,
|
|
22593
22593
|
class: "bg-orange-100 font-bold"
|
|
22594
22594
|
}, {
|
|
@@ -22611,7 +22611,7 @@ const Bb = {
|
|
|
22611
22611
|
]),
|
|
22612
22612
|
_: 1
|
|
22613
22613
|
}),
|
|
22614
|
-
M(Xi).productIsMeasurable(r.value) ? (
|
|
22614
|
+
M(Xi).productIsMeasurable(r.value) ? (k(), Q(b, {
|
|
22615
22615
|
key: 1,
|
|
22616
22616
|
path: "marker",
|
|
22617
22617
|
label: "Маркировка"
|
|
@@ -22620,21 +22620,21 @@ const Bb = {
|
|
|
22620
22620
|
D(M(An), {
|
|
22621
22621
|
value: u.value.marker ?? null,
|
|
22622
22622
|
placeholder: "Введите маркировку",
|
|
22623
|
-
onInput:
|
|
22624
|
-
"onUpdate:value":
|
|
22623
|
+
onInput: x[6] || (x[6] = (A) => M(lt)(g.value, "marker")),
|
|
22624
|
+
"onUpdate:value": x[7] || (x[7] = (A) => u.value.marker = A ?? null),
|
|
22625
22625
|
onFocus: M(ct)
|
|
22626
22626
|
}, null, 8, ["value", "onFocus"])
|
|
22627
22627
|
]),
|
|
22628
22628
|
_: 1
|
|
22629
22629
|
})) : U("", !0),
|
|
22630
|
-
c.value ? (
|
|
22630
|
+
c.value ? (k(), Q(H, {
|
|
22631
22631
|
key: 2,
|
|
22632
22632
|
checked: u.value.isAdditionalSale,
|
|
22633
|
-
"onUpdate:checked":
|
|
22633
|
+
"onUpdate:checked": x[8] || (x[8] = (A) => u.value.isAdditionalSale = A),
|
|
22634
22634
|
"true-value": !0,
|
|
22635
22635
|
"false-value": !1
|
|
22636
22636
|
}, {
|
|
22637
|
-
default: E(() => [...
|
|
22637
|
+
default: E(() => [...x[9] || (x[9] = [
|
|
22638
22638
|
ie(" ДопПродажа ", -1)
|
|
22639
22639
|
])]),
|
|
22640
22640
|
_: 1
|
|
@@ -22675,8 +22675,8 @@ const Bb = {
|
|
|
22675
22675
|
};
|
|
22676
22676
|
return (o, a) => {
|
|
22677
22677
|
const l = Fl, c = He, u = Bn;
|
|
22678
|
-
return
|
|
22679
|
-
t.showClientInfoIcon ? (
|
|
22678
|
+
return k(), O("div", r_, [
|
|
22679
|
+
t.showClientInfoIcon ? (k(), Q(c, {
|
|
22680
22680
|
key: 0,
|
|
22681
22681
|
quaternary: "",
|
|
22682
22682
|
size: "small",
|
|
@@ -22701,18 +22701,18 @@ const Bb = {
|
|
|
22701
22701
|
P("span", {
|
|
22702
22702
|
class: Ge({ "line-through": !t.client.isActive })
|
|
22703
22703
|
}, Y(t.client.name), 3),
|
|
22704
|
-
t.showSalesDirection && t.client.salesDirection ? (
|
|
22704
|
+
t.showSalesDirection && t.client.salesDirection ? (k(), O("span", {
|
|
22705
22705
|
key: 0,
|
|
22706
22706
|
class: Ge({ "line-through": !t.client.isActive })
|
|
22707
22707
|
}, " (" + Y(t.client.salesDirection.name) + ") ", 3)) : U("", !0),
|
|
22708
|
-
t.client.isActive ? U("", !0) : (
|
|
22708
|
+
t.client.isActive ? U("", !0) : (k(), O("span", l_, " [ Деактивирован ] "))
|
|
22709
22709
|
], 8, a_),
|
|
22710
|
-
t.showCityAndRegion && t.client.city ? (
|
|
22710
|
+
t.showCityAndRegion && t.client.city ? (k(), O("span", c_, " г. " + Y(t.client.city.name) + ", " + Y(t.client.city.region.name), 1)) : U("", !0)
|
|
22711
22711
|
])
|
|
22712
22712
|
]),
|
|
22713
22713
|
default: E(() => [
|
|
22714
|
-
t.client.alternativeName ? (
|
|
22715
|
-
s.value ? (
|
|
22714
|
+
t.client.alternativeName ? (k(), O("div", u_, Y(t.client.alternativeName), 1)) : U("", !0),
|
|
22715
|
+
s.value ? (k(), O("span", d_, " Последний вход: " + Y(s.value), 1)) : U("", !0),
|
|
22716
22716
|
Te(o.$slots, "popover-content")
|
|
22717
22717
|
]),
|
|
22718
22718
|
_: 3
|
|
@@ -22727,7 +22727,7 @@ const Bb = {
|
|
|
22727
22727
|
contragent: {}
|
|
22728
22728
|
},
|
|
22729
22729
|
setup(t) {
|
|
22730
|
-
return (e, i) => (
|
|
22730
|
+
return (e, i) => (k(), O("span", f_, Y(t.contragent.name), 1));
|
|
22731
22731
|
}
|
|
22732
22732
|
}), m_ = {
|
|
22733
22733
|
viewBox: "0 0 24 24",
|
|
@@ -22735,7 +22735,7 @@ const Bb = {
|
|
|
22735
22735
|
height: "1.2em"
|
|
22736
22736
|
};
|
|
22737
22737
|
function v_(t, e) {
|
|
22738
|
-
return
|
|
22738
|
+
return k(), O("svg", m_, [...e[0] || (e[0] = [
|
|
22739
22739
|
P("g", {
|
|
22740
22740
|
fill: "none",
|
|
22741
22741
|
stroke: "currentColor",
|
|
@@ -22758,10 +22758,10 @@ const y_ = Oe({ name: "tabler-mail", render: v_ }), b_ = ["href"], __ = {}, J5 =
|
|
|
22758
22758
|
setup(t) {
|
|
22759
22759
|
return (e, i) => {
|
|
22760
22760
|
const n = y_;
|
|
22761
|
-
return
|
|
22761
|
+
return k(), O("span", {
|
|
22762
22762
|
class: Ge({ "flex flex-row items-center gap-1": t.showEmailIcon })
|
|
22763
22763
|
}, [
|
|
22764
|
-
t.showEmailIcon ? (
|
|
22764
|
+
t.showEmailIcon ? (k(), Q(n, { key: 0 })) : U("", !0),
|
|
22765
22765
|
P("a", {
|
|
22766
22766
|
href: `mailto:${t.email}`,
|
|
22767
22767
|
class: "no-underline"
|
|
@@ -22775,7 +22775,7 @@ const y_ = Oe({ name: "tabler-mail", render: v_ }), b_ = ["href"], __ = {}, J5 =
|
|
|
22775
22775
|
height: "1.2em"
|
|
22776
22776
|
};
|
|
22777
22777
|
function x_(t, e) {
|
|
22778
|
-
return
|
|
22778
|
+
return k(), O("svg", w_, [...e[0] || (e[0] = [
|
|
22779
22779
|
P("path", {
|
|
22780
22780
|
fill: "currentColor",
|
|
22781
22781
|
d: "M444 49.9C431.3 38.2 379.9.9 265.3.4c0 0-135.1-8.1-200.9 52.3C27.8 89.3 14.9 143 13.5 209.5s-3.1 191.1 117 224.9h.1l-.1 51.6s-.8 20.9 13 25.1c16.6 5.2 26.4-10.7 42.3-27.8c8.7-9.4 20.7-23.2 29.8-33.7c82.2 6.9 145.3-8.9 152.5-11.2c16.6-5.4 110.5-17.4 125.7-142c15.8-128.6-7.6-209.8-49.8-246.5M457.9 287c-12.9 104-89 110.6-103 115.1c-6 1.9-61.5 15.7-131.2 11.2c0 0-52 62.7-68.2 79c-5.3 5.3-11.1 4.8-11-5.7c0-6.9.4-85.7.4-85.7q-.15 0 0 0C43.1 372.7 49.1 266.6 50.2 211.1s11.6-101 42.6-131.6c55.7-50.5 170.4-43 170.4-43c96.9.4 143.3 29.6 154.1 39.4c35.7 30.6 53.9 103.8 40.6 211.1m-139-80.8c.4 8.6-12.5 9.2-12.9.6c-1.1-22-11.4-32.7-32.6-33.9c-8.6-.5-7.8-13.4.7-12.9c27.9 1.5 43.4 17.5 44.8 46.2m20.3 11.3c1-42.4-25.5-75.6-75.8-79.3c-8.5-.6-7.6-13.5.9-12.9c58 4.2 88.9 44.1 87.8 92.5c-.1 8.6-13.1 8.2-12.9-.3m47 13.4c.1 8.6-12.9 8.7-12.9.1c-.6-81.5-54.9-125.9-120.8-126.4c-8.5-.1-8.5-12.9 0-12.9c73.7.5 133 51.4 133.7 139.2M374.9 329v.2c-10.8 19-31 40-51.8 33.3l-.2-.3c-21.1-5.9-70.8-31.5-102.2-56.5c-16.2-12.8-31-27.9-42.4-42.4c-10.3-12.9-20.7-28.2-30.8-46.6c-21.3-38.5-26-55.7-26-55.7c-6.7-20.8 14.2-41 33.3-51.8h.2c9.2-4.8 18-3.2 23.9 3.9c0 0 12.4 14.8 17.7 22.1c5 6.8 11.7 17.7 15.2 23.8c6.1 10.9 2.3 22-3.7 26.6l-12 9.6c-6.1 4.9-5.3 14-5.3 14s17.8 67.3 84.3 84.3c0 0 9.1.8 14-5.3l9.6-12c4.6-6 15.7-9.8 26.6-3.7c14.7 8.3 33.4 21.2 45.8 32.9c7 5.7 8.6 14.4 3.8 23.6"
|
|
@@ -22788,7 +22788,7 @@ const Nh = Oe({ name: "fa6-brands-viber", render: x_ }), k_ = {
|
|
|
22788
22788
|
height: "1.2em"
|
|
22789
22789
|
}, C_ = ["id"], S_ = ["id"], $_ = ["fill"], T_ = ["fill"];
|
|
22790
22790
|
function P_(t, e) {
|
|
22791
|
-
return
|
|
22791
|
+
return k(), O("svg", k_, [
|
|
22792
22792
|
P("defs", null, [
|
|
22793
22793
|
P("linearGradient", {
|
|
22794
22794
|
id: t.idMap.SVGBRLHCcSy,
|
|
@@ -22846,7 +22846,7 @@ const Hh = Oe({ name: "logos-whatsapp-icon", render: P_, setup() {
|
|
|
22846
22846
|
height: "1.2em"
|
|
22847
22847
|
}, F_ = ["id"], B_ = ["fill"];
|
|
22848
22848
|
function A_(t, e) {
|
|
22849
|
-
return
|
|
22849
|
+
return k(), O("svg", R_, [
|
|
22850
22850
|
P("defs", null, [
|
|
22851
22851
|
P("linearGradient", {
|
|
22852
22852
|
id: t.idMap.SVGuySfwdaH,
|
|
@@ -22883,7 +22883,7 @@ const Wh = Oe({ name: "logos-telegram", render: A_, setup() {
|
|
|
22883
22883
|
height: "1.2em"
|
|
22884
22884
|
};
|
|
22885
22885
|
function E_(t, e) {
|
|
22886
|
-
return
|
|
22886
|
+
return k(), O("svg", M_, [...e[0] || (e[0] = [
|
|
22887
22887
|
P("path", {
|
|
22888
22888
|
fill: "currentColor",
|
|
22889
22889
|
d: "M391 480c-19.52 0-46.94-7.06-88-30c-49.93-28-88.55-53.85-138.21-103.38C116.91 298.77 93.61 267.79 61 208.45c-36.84-67-30.56-102.12-23.54-117.13C45.82 73.38 58.16 62.65 74.11 52a176.3 176.3 0 0 1 28.64-15.2c1-.43 1.93-.84 2.76-1.21c4.95-2.23 12.45-5.6 21.95-2c6.34 2.38 12 7.25 20.86 16c18.17 17.92 43 57.83 52.16 77.43c6.15 13.21 10.22 21.93 10.23 31.71c0 11.45-5.76 20.28-12.75 29.81c-1.31 1.79-2.61 3.5-3.87 5.16c-7.61 10-9.28 12.89-8.18 18.05c2.23 10.37 18.86 41.24 46.19 68.51s57.31 42.85 67.72 45.07c5.38 1.15 8.33-.59 18.65-8.47c1.48-1.13 3-2.3 4.59-3.47c10.66-7.93 19.08-13.54 30.26-13.54h.06c9.73 0 18.06 4.22 31.86 11.18c18 9.08 59.11 33.59 77.14 51.78c8.77 8.84 13.66 14.48 16.05 20.81c3.6 9.53.21 17-2 22c-.37.83-.78 1.74-1.21 2.75a176.5 176.5 0 0 1-15.29 28.58c-10.63 15.9-21.4 28.21-39.38 36.58A67.4 67.4 0 0 1 391 480"
|
|
@@ -22896,7 +22896,7 @@ const Vh = Oe({ name: "ion-call", render: E_ }), I_ = {
|
|
|
22896
22896
|
height: "1.2em"
|
|
22897
22897
|
};
|
|
22898
22898
|
function O_(t, e) {
|
|
22899
|
-
return
|
|
22899
|
+
return k(), O("svg", I_, [...e[0] || (e[0] = [
|
|
22900
22900
|
P("path", {
|
|
22901
22901
|
fill: "none",
|
|
22902
22902
|
stroke: "currentColor",
|
|
@@ -22937,7 +22937,7 @@ const z_ = Oe({ name: "tabler-phone-call", render: O_ }), L_ = {
|
|
|
22937
22937
|
}), o = q(!1);
|
|
22938
22938
|
return (a, l) => {
|
|
22939
22939
|
const c = z_, u = Vh, d = Wh, f = Hh, g = Nh;
|
|
22940
|
-
return
|
|
22940
|
+
return k(), O("div", null, [
|
|
22941
22941
|
P("div", {
|
|
22942
22942
|
class: Ge({ "border-xl relative inline-flex items-center rounded px-2": n.value && o.value, "min-w-10": !0 }),
|
|
22943
22943
|
onClick: l[0] || (l[0] = (h) => o.value = !o.value),
|
|
@@ -22947,18 +22947,18 @@ const z_ = Oe({ name: "tabler-phone-call", render: O_ }), L_ = {
|
|
|
22947
22947
|
P("div", {
|
|
22948
22948
|
class: Ge({ "flex flex-row items-center gap-1": t.showPhoneIcon })
|
|
22949
22949
|
}, [
|
|
22950
|
-
t.showPhoneIcon ? (
|
|
22950
|
+
t.showPhoneIcon ? (k(), Q(c, { key: 0 })) : U("", !0),
|
|
22951
22951
|
ie(" " + Y(s.value), 1)
|
|
22952
22952
|
], 2),
|
|
22953
|
-
n.value && o.value ? (
|
|
22954
|
-
n.value ? (
|
|
22953
|
+
n.value && o.value ? (k(), O("div", L_, [
|
|
22954
|
+
n.value ? (k(), O("a", {
|
|
22955
22955
|
key: 0,
|
|
22956
22956
|
href: `tel:${r.value}`,
|
|
22957
22957
|
class: "text-blue-600 hover:animate-pulse hover:text-blue-600"
|
|
22958
22958
|
}, [
|
|
22959
22959
|
D(u)
|
|
22960
22960
|
], 8, D_)) : U("", !0),
|
|
22961
|
-
n.value ? (
|
|
22961
|
+
n.value ? (k(), O("a", {
|
|
22962
22962
|
key: 1,
|
|
22963
22963
|
href: `https://t.me/${r.value}`,
|
|
22964
22964
|
target: "_blank",
|
|
@@ -22967,7 +22967,7 @@ const z_ = Oe({ name: "tabler-phone-call", render: O_ }), L_ = {
|
|
|
22967
22967
|
}, [
|
|
22968
22968
|
D(d)
|
|
22969
22969
|
], 8, N_)) : U("", !0),
|
|
22970
|
-
n.value ? (
|
|
22970
|
+
n.value ? (k(), O("a", {
|
|
22971
22971
|
key: 2,
|
|
22972
22972
|
href: `https://wa.me/${r.value.substring(1)}`,
|
|
22973
22973
|
target: "_blank",
|
|
@@ -22976,7 +22976,7 @@ const z_ = Oe({ name: "tabler-phone-call", render: O_ }), L_ = {
|
|
|
22976
22976
|
}, [
|
|
22977
22977
|
D(f)
|
|
22978
22978
|
], 8, H_)) : U("", !0),
|
|
22979
|
-
n.value ? (
|
|
22979
|
+
n.value ? (k(), O("a", {
|
|
22980
22980
|
key: 3,
|
|
22981
22981
|
href: `viber://chat?number=${r.value}`,
|
|
22982
22982
|
class: "text-purple-600 hover:animate-pulse hover:text-purple-600"
|
|
@@ -22994,7 +22994,7 @@ const z_ = Oe({ name: "tabler-phone-call", render: O_ }), L_ = {
|
|
|
22994
22994
|
height: "1.2em"
|
|
22995
22995
|
};
|
|
22996
22996
|
function U_(t, e) {
|
|
22997
|
-
return
|
|
22997
|
+
return k(), O("svg", j_, [...e[0] || (e[0] = [
|
|
22998
22998
|
P("path", {
|
|
22999
22999
|
fill: "currentColor",
|
|
23000
23000
|
d: "m20 8l-8 5l-8-5V6l8 5l8-5m0-2H4c-1.11 0-2 .89-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"
|
|
@@ -23060,7 +23060,7 @@ const q_ = Oe({ name: "mdi-envelope", render: U_ }), X_ = { class: "flex flex-co
|
|
|
23060
23060
|
return (l, c) => {
|
|
23061
23061
|
var v, m;
|
|
23062
23062
|
const u = Vh, d = Wh, f = Hh, g = Nh, h = q_, p = Bn;
|
|
23063
|
-
return
|
|
23063
|
+
return k(), O("div", X_, [
|
|
23064
23064
|
D(p, {
|
|
23065
23065
|
disabled: t.fullView,
|
|
23066
23066
|
placement: "bottom"
|
|
@@ -23077,21 +23077,21 @@ const q_ = Oe({ name: "mdi-envelope", render: U_ }), X_ = { class: "flex flex-co
|
|
|
23077
23077
|
onFocusout: c[3] || (c[3] = (R) => a.value = !1)
|
|
23078
23078
|
}, [
|
|
23079
23079
|
P("div", null, [
|
|
23080
|
-
t.fullView && (t.contact.name || ($ = t.contact) != null && $.position) ? (
|
|
23080
|
+
t.fullView && (t.contact.name || ($ = t.contact) != null && $.position) ? (k(), O("div", Y_, [
|
|
23081
23081
|
ie(Y(t.contact.name) + " ", 1),
|
|
23082
|
-
(w = t.contact) != null && w.position ? (
|
|
23082
|
+
(w = t.contact) != null && w.position ? (k(), O("span", G_, Y((T = t.contact) == null ? void 0 : T.position), 1)) : U("", !0)
|
|
23083
23083
|
])) : U("", !0),
|
|
23084
|
-
t.contact.phone ? (
|
|
23085
|
-
t.contact.email ? (
|
|
23086
|
-
o.value && a.value ? (
|
|
23087
|
-
n.value ? (
|
|
23084
|
+
t.contact.phone ? (k(), O("div", K_, Y(s.value), 1)) : U("", !0),
|
|
23085
|
+
t.contact.email ? (k(), O("div", Z_, Y(t.contact.email), 1)) : U("", !0),
|
|
23086
|
+
o.value && a.value ? (k(), O("div", Q_, [
|
|
23087
|
+
n.value ? (k(), O("a", {
|
|
23088
23088
|
key: 0,
|
|
23089
23089
|
href: `tel:${r.value}`,
|
|
23090
23090
|
class: "text-blue-600 hover:text-3xl hover:text-blue-600"
|
|
23091
23091
|
}, [
|
|
23092
23092
|
D(u)
|
|
23093
23093
|
], 8, J_)) : U("", !0),
|
|
23094
|
-
n.value ? (
|
|
23094
|
+
n.value ? (k(), O("a", {
|
|
23095
23095
|
key: 1,
|
|
23096
23096
|
href: `https://t.me/${r.value}`,
|
|
23097
23097
|
target: "_blank",
|
|
@@ -23100,7 +23100,7 @@ const q_ = Oe({ name: "mdi-envelope", render: U_ }), X_ = { class: "flex flex-co
|
|
|
23100
23100
|
}, [
|
|
23101
23101
|
D(d)
|
|
23102
23102
|
], 8, e1)) : U("", !0),
|
|
23103
|
-
n.value ? (
|
|
23103
|
+
n.value ? (k(), O("a", {
|
|
23104
23104
|
key: 2,
|
|
23105
23105
|
href: `https://wa.me/${r.value.substring(1)}`,
|
|
23106
23106
|
target: "_blank",
|
|
@@ -23109,14 +23109,14 @@ const q_ = Oe({ name: "mdi-envelope", render: U_ }), X_ = { class: "flex flex-co
|
|
|
23109
23109
|
}, [
|
|
23110
23110
|
D(f)
|
|
23111
23111
|
], 8, t1)) : U("", !0),
|
|
23112
|
-
n.value ? (
|
|
23112
|
+
n.value ? (k(), O("a", {
|
|
23113
23113
|
key: 3,
|
|
23114
23114
|
href: `viber://chat?number=${r.value}`,
|
|
23115
23115
|
class: "text-purple-600 hover:text-3xl hover:text-purple-600"
|
|
23116
23116
|
}, [
|
|
23117
23117
|
D(g)
|
|
23118
23118
|
], 8, i1)) : U("", !0),
|
|
23119
|
-
t.contact.email ? (
|
|
23119
|
+
t.contact.email ? (k(), O("a", {
|
|
23120
23120
|
key: 4,
|
|
23121
23121
|
href: `mailto:${t.contact.email}`,
|
|
23122
23122
|
class: "hover:text-3xl"
|
|
@@ -23131,11 +23131,11 @@ const q_ = Oe({ name: "mdi-envelope", render: U_ }), X_ = { class: "flex flex-co
|
|
|
23131
23131
|
default: E(() => {
|
|
23132
23132
|
var y, $, w, T;
|
|
23133
23133
|
return [
|
|
23134
|
-
t.contact.name ? (
|
|
23134
|
+
t.contact.name ? (k(), O("div", s1, [
|
|
23135
23135
|
ie(Y(t.contact.name) + " ", 1),
|
|
23136
|
-
(y = t.contact) != null && y.position ? (
|
|
23136
|
+
(y = t.contact) != null && y.position ? (k(), O("span", r1, Y(($ = t.contact) == null ? void 0 : $.position), 1)) : U("", !0)
|
|
23137
23137
|
])) : U("", !0),
|
|
23138
|
-
(w = t.contact) != null && w.comment ? (
|
|
23138
|
+
(w = t.contact) != null && w.comment ? (k(), O("div", o1, [
|
|
23139
23139
|
c[4] || (c[4] = P("sup", null, "**", -1)),
|
|
23140
23140
|
ie(" " + Y((T = t.contact) == null ? void 0 : T.comment), 1)
|
|
23141
23141
|
])) : U("", !0)
|
|
@@ -23143,7 +23143,7 @@ const q_ = Oe({ name: "mdi-envelope", render: U_ }), X_ = { class: "flex flex-co
|
|
|
23143
23143
|
}),
|
|
23144
23144
|
_: 1
|
|
23145
23145
|
}, 8, ["disabled"]),
|
|
23146
|
-
t.fullView && ((v = t.contact) != null && v.comment) ? (
|
|
23146
|
+
t.fullView && ((v = t.contact) != null && v.comment) ? (k(), O("div", a1, [
|
|
23147
23147
|
c[5] || (c[5] = P("sup", null, "**", -1)),
|
|
23148
23148
|
ie(" " + Y((m = t.contact) == null ? void 0 : m.comment), 1)
|
|
23149
23149
|
])) : U("", !0)
|
|
@@ -23244,7 +23244,7 @@ const c1 = { class: "flex flex-wrap gap-2" }, u1 = { class: "flex flex-col" }, d
|
|
|
23244
23244
|
return (o, a) => {
|
|
23245
23245
|
var u, d, f, g, h, p;
|
|
23246
23246
|
const l = He, c = vg;
|
|
23247
|
-
return
|
|
23247
|
+
return k(), O("div", c1, [
|
|
23248
23248
|
D(c, {
|
|
23249
23249
|
value: ((d = (u = t.dateRange) == null ? void 0 : u.from) == null ? void 0 : d.getTime()) ?? null,
|
|
23250
23250
|
clearable: t.clearable,
|
|
@@ -23265,7 +23265,7 @@ const c1 = { class: "flex flex-wrap gap-2" }, u1 = { class: "flex flex-col" }, d
|
|
|
23265
23265
|
name: "footer",
|
|
23266
23266
|
fn: E(() => [
|
|
23267
23267
|
P("div", u1, [
|
|
23268
|
-
(
|
|
23268
|
+
(k(!0), O(Be, null, Xt(s.value, (v, m) => (k(), Q(l, {
|
|
23269
23269
|
key: m,
|
|
23270
23270
|
class: "my-1 mr-2",
|
|
23271
23271
|
size: "small",
|
|
@@ -23306,7 +23306,7 @@ const c1 = { class: "flex flex-wrap gap-2" }, u1 = { class: "flex flex-col" }, d
|
|
|
23306
23306
|
name: "footer",
|
|
23307
23307
|
fn: E(() => [
|
|
23308
23308
|
P("div", d1, [
|
|
23309
|
-
(
|
|
23309
|
+
(k(!0), O(Be, null, Xt(s.value, (v, m) => (k(), Q(l, {
|
|
23310
23310
|
key: m,
|
|
23311
23311
|
class: "my-1 mr-2",
|
|
23312
23312
|
size: "small",
|
|
@@ -23341,11 +23341,11 @@ const c1 = { class: "flex flex-wrap gap-2" }, u1 = { class: "flex flex-col" }, d
|
|
|
23341
23341
|
},
|
|
23342
23342
|
setup(t) {
|
|
23343
23343
|
const e = t, i = I(() => Ks(e.date, _i().config.dateFormats.uiDate)), n = I(() => Ks(e.date, "HH:mm"));
|
|
23344
|
-
return (s, r) => (
|
|
23344
|
+
return (s, r) => (k(), O("span", {
|
|
23345
23345
|
class: Ge({ "flex flex-col": t.isTimeOnSecondLine })
|
|
23346
23346
|
}, [
|
|
23347
23347
|
P("span", f1, Y(i.value), 1),
|
|
23348
|
-
t.isShowTime ? (
|
|
23348
|
+
t.isShowTime ? (k(), O("span", {
|
|
23349
23349
|
key: 0,
|
|
23350
23350
|
class: Ge([{ "text-sc-grey": t.isTimeSecondary, "ml-1": !t.isTimeOnSecondLine }, "sc-lbl-time"])
|
|
23351
23351
|
}, Y(n.value), 3)) : U("", !0)
|
|
@@ -23361,7 +23361,7 @@ const c1 = { class: "flex flex-wrap gap-2" }, u1 = { class: "flex flex-col" }, d
|
|
|
23361
23361
|
setup(t) {
|
|
23362
23362
|
return (e, i) => {
|
|
23363
23363
|
const n = jo, s = He, r = Bn;
|
|
23364
|
-
return
|
|
23364
|
+
return k(), O("div", p1, [
|
|
23365
23365
|
P("div", m1, [
|
|
23366
23366
|
Te(e.$slots, "main")
|
|
23367
23367
|
]),
|
|
@@ -23369,7 +23369,7 @@ const c1 = { class: "flex flex-wrap gap-2" }, u1 = { class: "flex flex-col" }, d
|
|
|
23369
23369
|
P("div", v1, [
|
|
23370
23370
|
Te(e.$slots, "extra-buttons"),
|
|
23371
23371
|
P("div", y1, [
|
|
23372
|
-
t.showCloseButton ? (
|
|
23372
|
+
t.showCloseButton ? (k(), Q(r, {
|
|
23373
23373
|
key: 0,
|
|
23374
23374
|
placement: "bottom"
|
|
23375
23375
|
}, {
|
|
@@ -23402,7 +23402,7 @@ const c1 = { class: "flex flex-wrap gap-2" }, u1 = { class: "flex flex-col" }, d
|
|
|
23402
23402
|
height: "1.2em"
|
|
23403
23403
|
};
|
|
23404
23404
|
function w1(t, e) {
|
|
23405
|
-
return
|
|
23405
|
+
return k(), O("svg", _1, [...e[0] || (e[0] = [
|
|
23406
23406
|
P("path", {
|
|
23407
23407
|
fill: "none",
|
|
23408
23408
|
stroke: "currentColor",
|
|
@@ -23449,7 +23449,7 @@ const x1 = Oe({ name: "ion-download-outline", render: w1 }), k1 = {}, r3 = /* @_
|
|
|
23449
23449
|
};
|
|
23450
23450
|
return (a, l) => {
|
|
23451
23451
|
const c = x1;
|
|
23452
|
-
return
|
|
23452
|
+
return k(), Q(M(yg), {
|
|
23453
23453
|
"file-list": r.value,
|
|
23454
23454
|
"default-upload": !1,
|
|
23455
23455
|
max: 1,
|
|
@@ -23483,7 +23483,7 @@ const x1 = Oe({ name: "ion-download-outline", render: w1 }), k1 = {}, r3 = /* @_
|
|
|
23483
23483
|
height: "1.2em"
|
|
23484
23484
|
};
|
|
23485
23485
|
function S1(t, e) {
|
|
23486
|
-
return
|
|
23486
|
+
return k(), O("svg", C1, [...e[0] || (e[0] = [
|
|
23487
23487
|
P("path", {
|
|
23488
23488
|
fill: "none",
|
|
23489
23489
|
stroke: "currentColor",
|
|
@@ -23500,7 +23500,7 @@ const $1 = Oe({ name: "ion-checkmark-done-sharp", render: S1 }), T1 = {
|
|
|
23500
23500
|
height: "1.2em"
|
|
23501
23501
|
};
|
|
23502
23502
|
function P1(t, e) {
|
|
23503
|
-
return
|
|
23503
|
+
return k(), O("svg", T1, [...e[0] || (e[0] = [
|
|
23504
23504
|
P("path", {
|
|
23505
23505
|
fill: "none",
|
|
23506
23506
|
stroke: "currentColor",
|
|
@@ -23563,14 +23563,14 @@ const R1 = Oe({ name: "ion-options-outline", render: P1 }), F1 = { class: "flex
|
|
|
23563
23563
|
};
|
|
23564
23564
|
return (l, c) => {
|
|
23565
23565
|
const u = R1, d = He, f = Bn, g = $1, h = jo;
|
|
23566
|
-
return
|
|
23566
|
+
return k(), O("div", F1, [
|
|
23567
23567
|
P("div", B1, [
|
|
23568
23568
|
Te(l.$slots, "default")
|
|
23569
23569
|
]),
|
|
23570
23570
|
P("div", null, [
|
|
23571
23571
|
P("div", A1, [
|
|
23572
23572
|
P("div", M1, [
|
|
23573
|
-
t.showEditButton ? (
|
|
23573
|
+
t.showEditButton ? (k(), Q(f, {
|
|
23574
23574
|
key: 0,
|
|
23575
23575
|
placement: "bottom"
|
|
23576
23576
|
}, {
|
|
@@ -23593,7 +23593,7 @@ const R1 = Oe({ name: "ion-options-outline", render: P1 }), F1 = { class: "flex
|
|
|
23593
23593
|
]),
|
|
23594
23594
|
_: 1
|
|
23595
23595
|
})) : U("", !0),
|
|
23596
|
-
t.showApplyButton ? (
|
|
23596
|
+
t.showApplyButton ? (k(), Q(f, {
|
|
23597
23597
|
key: 1,
|
|
23598
23598
|
disabled: n.value,
|
|
23599
23599
|
placement: "bottom"
|
|
@@ -23616,7 +23616,7 @@ const R1 = Oe({ name: "ion-options-outline", render: P1 }), F1 = { class: "flex
|
|
|
23616
23616
|
]),
|
|
23617
23617
|
_: 1
|
|
23618
23618
|
}, 8, ["disabled"])) : U("", !0),
|
|
23619
|
-
t.showCancelButton ? (
|
|
23619
|
+
t.showCancelButton ? (k(), Q(f, {
|
|
23620
23620
|
key: 2,
|
|
23621
23621
|
placement: "bottom"
|
|
23622
23622
|
}, {
|
|
@@ -23669,8 +23669,8 @@ const R1 = Oe({ name: "ion-options-outline", render: P1 }), F1 = { class: "flex
|
|
|
23669
23669
|
s.value = a;
|
|
23670
23670
|
}
|
|
23671
23671
|
);
|
|
23672
|
-
}), (a, l) => (
|
|
23673
|
-
s.value ? (
|
|
23672
|
+
}), (a, l) => (k(), O("div", null, [
|
|
23673
|
+
s.value ? (k(), Q(Au, {
|
|
23674
23674
|
key: 1,
|
|
23675
23675
|
disabled: t.disabled,
|
|
23676
23676
|
"show-apply-button": !0,
|
|
@@ -23685,7 +23685,7 @@ const R1 = Oe({ name: "ion-options-outline", render: P1 }), F1 = { class: "flex
|
|
|
23685
23685
|
Te(a.$slots, "editor")
|
|
23686
23686
|
]),
|
|
23687
23687
|
_: 3
|
|
23688
|
-
}, 8, ["disabled"])) : (
|
|
23688
|
+
}, 8, ["disabled"])) : (k(), Q(Au, {
|
|
23689
23689
|
key: 0,
|
|
23690
23690
|
disabled: t.disabled,
|
|
23691
23691
|
"show-edit-button": t.showEditButton,
|
|
@@ -23724,7 +23724,7 @@ const R1 = Oe({ name: "ion-options-outline", render: P1 }), F1 = { class: "flex
|
|
|
23724
23724
|
(l) => {
|
|
23725
23725
|
s.value = l;
|
|
23726
23726
|
}
|
|
23727
|
-
), (l, c) => (
|
|
23727
|
+
), (l, c) => (k(), Q(M(An), {
|
|
23728
23728
|
value: s.value,
|
|
23729
23729
|
"onUpdate:value": [
|
|
23730
23730
|
c[0] || (c[0] = (u) => s.value = u),
|
|
@@ -23783,7 +23783,7 @@ const R1 = Oe({ name: "ion-options-outline", render: P1 }), F1 = { class: "flex
|
|
|
23783
23783
|
var g;
|
|
23784
23784
|
return (g = c.value) == null ? void 0 : g.select();
|
|
23785
23785
|
}
|
|
23786
|
-
}), (g, h) => (
|
|
23786
|
+
}), (g, h) => (k(), Q(M($t), {
|
|
23787
23787
|
ref_key: "inputReference",
|
|
23788
23788
|
ref: c,
|
|
23789
23789
|
value: r.value ?? null,
|
|
@@ -23855,7 +23855,7 @@ const R1 = Oe({ name: "ion-options-outline", render: P1 }), F1 = { class: "flex
|
|
|
23855
23855
|
{
|
|
23856
23856
|
immediate: !0
|
|
23857
23857
|
}
|
|
23858
|
-
), Fr(() => a(s.value ?? "")), (l, c) => (
|
|
23858
|
+
), Fr(() => a(s.value ?? "")), (l, c) => (k(), Q(M(Hg), {
|
|
23859
23859
|
modelValue: s.value,
|
|
23860
23860
|
"onUpdate:modelValue": [
|
|
23861
23861
|
c[0] || (c[0] = (u) => s.value = u),
|
|
@@ -23880,7 +23880,7 @@ const R1 = Oe({ name: "ion-options-outline", render: P1 }), F1 = { class: "flex
|
|
|
23880
23880
|
height: "1.2em"
|
|
23881
23881
|
};
|
|
23882
23882
|
function W1(t, e) {
|
|
23883
|
-
return
|
|
23883
|
+
return k(), O("svg", H1, [...e[0] || (e[0] = [
|
|
23884
23884
|
P("path", {
|
|
23885
23885
|
fill: "none",
|
|
23886
23886
|
stroke: "currentColor",
|
|
@@ -23902,7 +23902,7 @@ const V1 = Oe({ name: "tabler-external-link", render: W1 }), j1 = { class: "flex
|
|
|
23902
23902
|
setup(t) {
|
|
23903
23903
|
return (e, i) => {
|
|
23904
23904
|
const n = V1, s = Ar;
|
|
23905
|
-
return
|
|
23905
|
+
return k(), Q(s, {
|
|
23906
23906
|
disabled: M(_s)(t.description),
|
|
23907
23907
|
placement: "top-start"
|
|
23908
23908
|
}, {
|
|
@@ -23929,7 +23929,7 @@ const V1 = Oe({ name: "tabler-external-link", render: W1 }), j1 = { class: "flex
|
|
|
23929
23929
|
height: "1.2em"
|
|
23930
23930
|
};
|
|
23931
23931
|
function Y1(t, e) {
|
|
23932
|
-
return
|
|
23932
|
+
return k(), O("svg", X1, [...e[0] || (e[0] = [
|
|
23933
23933
|
P("path", {
|
|
23934
23934
|
fill: "none",
|
|
23935
23935
|
stroke: "currentColor",
|
|
@@ -24426,22 +24426,22 @@ function Ba(t, e) {
|
|
|
24426
24426
|
!F.disabled && !F.isLeaf && F.shallowLoaded && h.has(F.key) && h.delete(F.key);
|
|
24427
24427
|
}), w.disabled || !R)
|
|
24428
24428
|
continue;
|
|
24429
|
-
let _ = !0,
|
|
24429
|
+
let _ = !0, x = !1, b = !0;
|
|
24430
24430
|
for (const F of w.children) {
|
|
24431
24431
|
const B = F.key;
|
|
24432
24432
|
if (!F.disabled) {
|
|
24433
24433
|
if (b && (b = !1), h.has(B))
|
|
24434
|
-
|
|
24434
|
+
x = !0;
|
|
24435
24435
|
else if (p.has(B)) {
|
|
24436
|
-
|
|
24436
|
+
x = !0, _ = !1;
|
|
24437
24437
|
break;
|
|
24438
|
-
} else if (_ = !1,
|
|
24438
|
+
} else if (_ = !1, x)
|
|
24439
24439
|
break;
|
|
24440
24440
|
}
|
|
24441
24441
|
}
|
|
24442
24442
|
_ && !b ? (f && w.children.forEach((F) => {
|
|
24443
24443
|
!F.disabled && h.has(F.key) && h.delete(F.key);
|
|
24444
|
-
}), h.add(T)) :
|
|
24444
|
+
}), h.add(T)) : x && p.add(T), y && g && h.has(T) && h.delete(T);
|
|
24445
24445
|
}
|
|
24446
24446
|
}
|
|
24447
24447
|
return {
|
|
@@ -24674,36 +24674,36 @@ function zw(t, e = {}) {
|
|
|
24674
24674
|
return Pw(w, T, $);
|
|
24675
24675
|
},
|
|
24676
24676
|
getCheckedKeys(w, T = {}) {
|
|
24677
|
-
const { cascade: R = !0, leafOnly: _ = !1, checkStrategy:
|
|
24677
|
+
const { cascade: R = !0, leafOnly: _ = !1, checkStrategy: x = "all", allowNotLoaded: b = !1 } = T;
|
|
24678
24678
|
return Ba({
|
|
24679
24679
|
checkedKeys: Ra(w),
|
|
24680
24680
|
indeterminateKeys: Fa(w),
|
|
24681
24681
|
cascade: R,
|
|
24682
24682
|
leafOnly: _,
|
|
24683
|
-
checkStrategy:
|
|
24683
|
+
checkStrategy: x,
|
|
24684
24684
|
allowNotLoaded: b
|
|
24685
24685
|
}, $);
|
|
24686
24686
|
},
|
|
24687
24687
|
check(w, T, R = {}) {
|
|
24688
|
-
const { cascade: _ = !0, leafOnly:
|
|
24688
|
+
const { cascade: _ = !0, leafOnly: x = !1, checkStrategy: b = "all", allowNotLoaded: F = !1 } = R;
|
|
24689
24689
|
return Ba({
|
|
24690
24690
|
checkedKeys: Ra(T),
|
|
24691
24691
|
indeterminateKeys: Fa(T),
|
|
24692
24692
|
keysToCheck: w == null ? [] : Eu(w),
|
|
24693
24693
|
cascade: _,
|
|
24694
|
-
leafOnly:
|
|
24694
|
+
leafOnly: x,
|
|
24695
24695
|
checkStrategy: b,
|
|
24696
24696
|
allowNotLoaded: F
|
|
24697
24697
|
}, $);
|
|
24698
24698
|
},
|
|
24699
24699
|
uncheck(w, T, R = {}) {
|
|
24700
|
-
const { cascade: _ = !0, leafOnly:
|
|
24700
|
+
const { cascade: _ = !0, leafOnly: x = !1, checkStrategy: b = "all", allowNotLoaded: F = !1 } = R;
|
|
24701
24701
|
return Ba({
|
|
24702
24702
|
checkedKeys: Ra(T),
|
|
24703
24703
|
indeterminateKeys: Fa(T),
|
|
24704
24704
|
keysToUncheck: w == null ? [] : Eu(w),
|
|
24705
24705
|
cascade: _,
|
|
24706
|
-
leafOnly:
|
|
24706
|
+
leafOnly: x,
|
|
24707
24707
|
checkStrategy: b,
|
|
24708
24708
|
allowNotLoaded: F
|
|
24709
24709
|
}, $);
|
|
@@ -24789,25 +24789,25 @@ function Ww() {
|
|
|
24789
24789
|
function n() {
|
|
24790
24790
|
t.set(this, !0), e.set(this, !0);
|
|
24791
24791
|
}
|
|
24792
|
-
function s(_,
|
|
24793
|
-
const F = _[
|
|
24794
|
-
return _[
|
|
24792
|
+
function s(_, x, b) {
|
|
24793
|
+
const F = _[x];
|
|
24794
|
+
return _[x] = function() {
|
|
24795
24795
|
return b.apply(_, arguments), F.apply(_, arguments);
|
|
24796
24796
|
}, _;
|
|
24797
24797
|
}
|
|
24798
|
-
function r(_,
|
|
24799
|
-
_[
|
|
24798
|
+
function r(_, x) {
|
|
24799
|
+
_[x] = Event.prototype[x];
|
|
24800
24800
|
}
|
|
24801
24801
|
const o = /* @__PURE__ */ new WeakMap(), a = Object.getOwnPropertyDescriptor(Event.prototype, "currentTarget");
|
|
24802
24802
|
function l() {
|
|
24803
24803
|
var _;
|
|
24804
24804
|
return (_ = o.get(this)) !== null && _ !== void 0 ? _ : null;
|
|
24805
24805
|
}
|
|
24806
|
-
function c(_,
|
|
24806
|
+
function c(_, x) {
|
|
24807
24807
|
a !== void 0 && Object.defineProperty(_, "currentTarget", {
|
|
24808
24808
|
configurable: !0,
|
|
24809
24809
|
enumerable: !0,
|
|
24810
|
-
get:
|
|
24810
|
+
get: x ?? a.get
|
|
24811
24811
|
});
|
|
24812
24812
|
}
|
|
24813
24813
|
const u = {
|
|
@@ -24815,8 +24815,8 @@ function Ww() {
|
|
|
24815
24815
|
capture: {}
|
|
24816
24816
|
}, d = {};
|
|
24817
24817
|
function f() {
|
|
24818
|
-
const _ = function(
|
|
24819
|
-
const { type: b, eventPhase: F, bubbles: B } =
|
|
24818
|
+
const _ = function(x) {
|
|
24819
|
+
const { type: b, eventPhase: F, bubbles: B } = x, H = uo(x);
|
|
24820
24820
|
if (F === 2)
|
|
24821
24821
|
return;
|
|
24822
24822
|
const W = F === 1 ? "capture" : "bubble";
|
|
@@ -24825,72 +24825,72 @@ function Ww() {
|
|
|
24825
24825
|
for (; N === null && (N = window), A.push(N), N !== window; )
|
|
24826
24826
|
N = N.parentNode || null;
|
|
24827
24827
|
const te = u.capture[b], ce = u.bubble[b];
|
|
24828
|
-
if (s(
|
|
24828
|
+
if (s(x, "stopPropagation", i), s(x, "stopImmediatePropagation", n), c(x, l), W === "capture") {
|
|
24829
24829
|
if (te === void 0)
|
|
24830
24830
|
return;
|
|
24831
|
-
for (let V = A.length - 1; V >= 0 && !t.has(
|
|
24831
|
+
for (let V = A.length - 1; V >= 0 && !t.has(x); --V) {
|
|
24832
24832
|
const X = A[V], J = te.get(X);
|
|
24833
24833
|
if (J !== void 0) {
|
|
24834
|
-
o.set(
|
|
24834
|
+
o.set(x, X);
|
|
24835
24835
|
for (const K of J) {
|
|
24836
|
-
if (e.has(
|
|
24836
|
+
if (e.has(x))
|
|
24837
24837
|
break;
|
|
24838
|
-
K(
|
|
24838
|
+
K(x);
|
|
24839
24839
|
}
|
|
24840
24840
|
}
|
|
24841
24841
|
if (V === 0 && !B && ce !== void 0) {
|
|
24842
24842
|
const K = ce.get(X);
|
|
24843
24843
|
if (K !== void 0)
|
|
24844
24844
|
for (const j of K) {
|
|
24845
|
-
if (e.has(
|
|
24845
|
+
if (e.has(x))
|
|
24846
24846
|
break;
|
|
24847
|
-
j(
|
|
24847
|
+
j(x);
|
|
24848
24848
|
}
|
|
24849
24849
|
}
|
|
24850
24850
|
}
|
|
24851
24851
|
} else if (W === "bubble") {
|
|
24852
24852
|
if (ce === void 0)
|
|
24853
24853
|
return;
|
|
24854
|
-
for (let V = 0; V < A.length && !t.has(
|
|
24854
|
+
for (let V = 0; V < A.length && !t.has(x); ++V) {
|
|
24855
24855
|
const X = A[V], J = ce.get(X);
|
|
24856
24856
|
if (J !== void 0) {
|
|
24857
|
-
o.set(
|
|
24857
|
+
o.set(x, X);
|
|
24858
24858
|
for (const K of J) {
|
|
24859
|
-
if (e.has(
|
|
24859
|
+
if (e.has(x))
|
|
24860
24860
|
break;
|
|
24861
|
-
K(
|
|
24861
|
+
K(x);
|
|
24862
24862
|
}
|
|
24863
24863
|
}
|
|
24864
24864
|
}
|
|
24865
24865
|
}
|
|
24866
|
-
r(
|
|
24866
|
+
r(x, "stopPropagation"), r(x, "stopImmediatePropagation"), c(x);
|
|
24867
24867
|
};
|
|
24868
24868
|
return _.displayName = "evtdUnifiedHandler", _;
|
|
24869
24869
|
}
|
|
24870
24870
|
function g() {
|
|
24871
|
-
const _ = function(
|
|
24872
|
-
const { type: b, eventPhase: F } =
|
|
24871
|
+
const _ = function(x) {
|
|
24872
|
+
const { type: b, eventPhase: F } = x;
|
|
24873
24873
|
if (F !== 2)
|
|
24874
24874
|
return;
|
|
24875
24875
|
const B = d[b];
|
|
24876
|
-
B !== void 0 && B.forEach((H) => H(
|
|
24876
|
+
B !== void 0 && B.forEach((H) => H(x));
|
|
24877
24877
|
};
|
|
24878
24878
|
return _.displayName = "evtdUnifiedWindowEventHandler", _;
|
|
24879
24879
|
}
|
|
24880
24880
|
const h = f(), p = g();
|
|
24881
|
-
function v(_,
|
|
24881
|
+
function v(_, x) {
|
|
24882
24882
|
const b = u[_];
|
|
24883
|
-
return b[
|
|
24883
|
+
return b[x] === void 0 && (b[x] = /* @__PURE__ */ new Map(), window.addEventListener(x, h, _ === "capture")), b[x];
|
|
24884
24884
|
}
|
|
24885
24885
|
function m(_) {
|
|
24886
24886
|
return d[_] === void 0 && (d[_] = /* @__PURE__ */ new Set(), window.addEventListener(_, p)), d[_];
|
|
24887
24887
|
}
|
|
24888
|
-
function y(_,
|
|
24889
|
-
let b = _.get(
|
|
24890
|
-
return b === void 0 && _.set(
|
|
24888
|
+
function y(_, x) {
|
|
24889
|
+
let b = _.get(x);
|
|
24890
|
+
return b === void 0 && _.set(x, b = /* @__PURE__ */ new Set()), b;
|
|
24891
24891
|
}
|
|
24892
|
-
function $(_,
|
|
24893
|
-
const B = u[
|
|
24892
|
+
function $(_, x, b, F) {
|
|
24893
|
+
const B = u[x][b];
|
|
24894
24894
|
if (B !== void 0) {
|
|
24895
24895
|
const H = B.get(_);
|
|
24896
24896
|
if (H !== void 0 && H.has(F))
|
|
@@ -24898,31 +24898,31 @@ function Ww() {
|
|
|
24898
24898
|
}
|
|
24899
24899
|
return !1;
|
|
24900
24900
|
}
|
|
24901
|
-
function w(_,
|
|
24901
|
+
function w(_, x) {
|
|
24902
24902
|
const b = d[_];
|
|
24903
|
-
return !!(b !== void 0 && b.has(
|
|
24903
|
+
return !!(b !== void 0 && b.has(x));
|
|
24904
24904
|
}
|
|
24905
|
-
function T(_,
|
|
24905
|
+
function T(_, x, b, F) {
|
|
24906
24906
|
let B;
|
|
24907
24907
|
if (typeof F == "object" && F.once === !0 ? B = (te) => {
|
|
24908
|
-
R(_,
|
|
24909
|
-
} : B = b, Nw(_,
|
|
24908
|
+
R(_, x, B, F), b(te);
|
|
24909
|
+
} : B = b, Nw(_, x, B, F))
|
|
24910
24910
|
return;
|
|
24911
|
-
const W = F === !0 || typeof F == "object" && F.capture === !0 ? "capture" : "bubble", N = v(W, _), A = y(N,
|
|
24912
|
-
if (A.has(B) || A.add(B),
|
|
24911
|
+
const W = F === !0 || typeof F == "object" && F.capture === !0 ? "capture" : "bubble", N = v(W, _), A = y(N, x);
|
|
24912
|
+
if (A.has(B) || A.add(B), x === window) {
|
|
24913
24913
|
const te = m(_);
|
|
24914
24914
|
te.has(B) || te.add(B);
|
|
24915
24915
|
}
|
|
24916
24916
|
}
|
|
24917
|
-
function R(_,
|
|
24918
|
-
if (Hw(_,
|
|
24917
|
+
function R(_, x, b, F) {
|
|
24918
|
+
if (Hw(_, x, b, F))
|
|
24919
24919
|
return;
|
|
24920
|
-
const H = F === !0 || typeof F == "object" && F.capture === !0, W = H ? "capture" : "bubble", N = v(W, _), A = y(N,
|
|
24921
|
-
if (
|
|
24920
|
+
const H = F === !0 || typeof F == "object" && F.capture === !0, W = H ? "capture" : "bubble", N = v(W, _), A = y(N, x);
|
|
24921
|
+
if (x === window && !$(x, H ? "bubble" : "capture", _, b) && w(_, b)) {
|
|
24922
24922
|
const ce = d[_];
|
|
24923
24923
|
ce.delete(b), ce.size === 0 && (window.removeEventListener(_, p), d[_] = void 0);
|
|
24924
24924
|
}
|
|
24925
|
-
A.has(b) && A.delete(b), A.size === 0 && N.delete(
|
|
24925
|
+
A.has(b) && A.delete(b), A.size === 0 && N.delete(x), N.size === 0 && (window.removeEventListener(_, h, W === "capture"), u[W][_] = void 0);
|
|
24926
24926
|
}
|
|
24927
24927
|
return {
|
|
24928
24928
|
on: T,
|
|
@@ -25995,7 +25995,7 @@ const Px = Vn([
|
|
|
25995
25995
|
f.setAttribute("v-placement", w), v ? f.setAttribute("v-overlap", "") : f.removeAttribute("v-overlap");
|
|
25996
25996
|
const { style: _ } = f;
|
|
25997
25997
|
y === "target" ? _.width = `${m.width}px` : y !== void 0 ? _.width = y : _.width = "", $ === "target" ? _.minWidth = `${m.width}px` : $ !== void 0 ? _.minWidth = $ : _.minWidth = "";
|
|
25998
|
-
const
|
|
25998
|
+
const x = Ma(f), b = Ma(s.value), { left: F, top: B, placement: H } = Sx(w, m, x, T, R, v), W = $x(H, v), { left: N, top: A, transform: te } = Tx(H, b, m, B, F, v);
|
|
25999
25999
|
f.setAttribute("v-placement", H), f.style.setProperty("--v-offset-left", `${Math.round(F)}px`), f.style.setProperty("--v-offset-top", `${Math.round(B)}px`), f.style.transform = `translateX(${N}) translateY(${A}) ${te}`, f.style.setProperty("--v-transform-origin", W), f.style.transformOrigin = W;
|
|
26000
26000
|
};
|
|
26001
26001
|
Ce(i, (f) => {
|
|
@@ -26143,11 +26143,11 @@ var ys = function(t) {
|
|
|
26143
26143
|
return io.get(t);
|
|
26144
26144
|
if (ff(t))
|
|
26145
26145
|
return io.set(t, Gu), Gu;
|
|
26146
|
-
var i = getComputedStyle(t), n = ec(t) && t.ownerSVGElement && t.getBBox(), s = !Ix && i.boxSizing === "border-box", r = Ex.test(i.writingMode || ""), o = !n && Yu.test(i.overflowY || ""), a = !n && Yu.test(i.overflowX || ""), l = n ? 0 : Yi(i.paddingTop), c = n ? 0 : Yi(i.paddingRight), u = n ? 0 : Yi(i.paddingBottom), d = n ? 0 : Yi(i.paddingLeft), f = n ? 0 : Yi(i.borderTopWidth), g = n ? 0 : Yi(i.borderRightWidth), h = n ? 0 : Yi(i.borderBottomWidth), p = n ? 0 : Yi(i.borderLeftWidth), v = d + c, m = l + u, y = p + g, $ = f + h, w = a ? t.offsetHeight - $ - t.clientHeight : 0, T = o ? t.offsetWidth - y - t.clientWidth : 0, R = s ? v + y : 0, _ = s ? m + $ : 0,
|
|
26147
|
-
devicePixelContentBoxSize: Gs(Math.round(
|
|
26146
|
+
var i = getComputedStyle(t), n = ec(t) && t.ownerSVGElement && t.getBBox(), s = !Ix && i.boxSizing === "border-box", r = Ex.test(i.writingMode || ""), o = !n && Yu.test(i.overflowY || ""), a = !n && Yu.test(i.overflowX || ""), l = n ? 0 : Yi(i.paddingTop), c = n ? 0 : Yi(i.paddingRight), u = n ? 0 : Yi(i.paddingBottom), d = n ? 0 : Yi(i.paddingLeft), f = n ? 0 : Yi(i.borderTopWidth), g = n ? 0 : Yi(i.borderRightWidth), h = n ? 0 : Yi(i.borderBottomWidth), p = n ? 0 : Yi(i.borderLeftWidth), v = d + c, m = l + u, y = p + g, $ = f + h, w = a ? t.offsetHeight - $ - t.clientHeight : 0, T = o ? t.offsetWidth - y - t.clientWidth : 0, R = s ? v + y : 0, _ = s ? m + $ : 0, x = n ? n.width : Yi(i.width) - R - T, b = n ? n.height : Yi(i.height) - _ - w, F = x + v + T + y, B = b + m + w + $, H = ys({
|
|
26147
|
+
devicePixelContentBoxSize: Gs(Math.round(x * devicePixelRatio), Math.round(b * devicePixelRatio), r),
|
|
26148
26148
|
borderBoxSize: Gs(F, B, r),
|
|
26149
|
-
contentBoxSize: Gs(
|
|
26150
|
-
contentRect: new hf(d, l,
|
|
26149
|
+
contentBoxSize: Gs(x, b, r),
|
|
26150
|
+
contentRect: new hf(d, l, x, b)
|
|
26151
26151
|
});
|
|
26152
26152
|
return io.set(t, H), H;
|
|
26153
26153
|
}, pf = function(t, e, i) {
|
|
@@ -26681,7 +26681,7 @@ const id = oe({
|
|
|
26681
26681
|
}
|
|
26682
26682
|
const R = !Zx();
|
|
26683
26683
|
let _ = !1;
|
|
26684
|
-
function
|
|
26684
|
+
function x(W) {
|
|
26685
26685
|
var N;
|
|
26686
26686
|
(N = t.onScroll) === null || N === void 0 || N.call(t, W), (!R || !_) && B();
|
|
26687
26687
|
}
|
|
@@ -26751,7 +26751,7 @@ const id = oe({
|
|
|
26751
26751
|
itemsElRef: q(null),
|
|
26752
26752
|
scrollTo: v,
|
|
26753
26753
|
handleListResize: F,
|
|
26754
|
-
handleListScroll:
|
|
26754
|
+
handleListScroll: x,
|
|
26755
26755
|
handleListWheel: b,
|
|
26756
26756
|
handleItemResize: T
|
|
26757
26757
|
};
|
|
@@ -26845,13 +26845,13 @@ const id = oe({
|
|
|
26845
26845
|
if (p += T, g[$] = T, p > f) {
|
|
26846
26846
|
const { updateCounter: R } = t;
|
|
26847
26847
|
for (let _ = $; _ >= 0; --_) {
|
|
26848
|
-
const
|
|
26849
|
-
R !== void 0 ? R(
|
|
26848
|
+
const x = m - 1 - _;
|
|
26849
|
+
R !== void 0 ? R(x) : u.textContent = `${x}`;
|
|
26850
26850
|
const b = u.offsetWidth;
|
|
26851
26851
|
if (p -= g[_], p + b <= f || _ === 0) {
|
|
26852
26852
|
v = !0, $ = _ - 1, h && ($ === -1 ? (h.style.maxWidth = `${f - b}px`, h.style.boxSizing = "border-box") : h.style.maxWidth = "");
|
|
26853
26853
|
const { onUpdateCount: F } = t;
|
|
26854
|
-
F && F(
|
|
26854
|
+
F && F(x);
|
|
26855
26855
|
break;
|
|
26856
26856
|
}
|
|
26857
26857
|
}
|
|
@@ -28190,7 +28190,7 @@ function Gt(t, e, i, n, s, r) {
|
|
|
28190
28190
|
[t]: R = {}
|
|
28191
28191
|
} = (a == null ? void 0 : a.mergedThemeOverridesRef.value) || {}, {
|
|
28192
28192
|
common: _,
|
|
28193
|
-
peers:
|
|
28193
|
+
peers: x = {}
|
|
28194
28194
|
} = R, b = Dr({}, u || y || m || n.common, T, _, p), F = Dr(
|
|
28195
28195
|
// {}, executed every time, no need for empty obj
|
|
28196
28196
|
(c = d || $ || n.self) === null || c === void 0 ? void 0 : c(b),
|
|
@@ -28202,7 +28202,7 @@ function Gt(t, e, i, n, s, r) {
|
|
|
28202
28202
|
common: b,
|
|
28203
28203
|
self: F,
|
|
28204
28204
|
peers: Dr({}, n.peers, w, f),
|
|
28205
|
-
peerOverrides: Dr({}, h.peers,
|
|
28205
|
+
peerOverrides: Dr({}, h.peers, x, v)
|
|
28206
28206
|
};
|
|
28207
28207
|
});
|
|
28208
28208
|
}
|
|
@@ -29013,7 +29013,7 @@ const nc = {
|
|
|
29013
29013
|
inlineThemeDisabled: i,
|
|
29014
29014
|
mergedRtlRef: n
|
|
29015
29015
|
} = Fs(t), s = Er("Scrollbar", n, e), r = q(null), o = q(null), a = q(null), l = q(null), c = q(null), u = q(null), d = q(null), f = q(null), g = q(null), h = q(null), p = q(null), v = q(0), m = q(0), y = q(!1), $ = q(!1);
|
|
29016
|
-
let w = !1, T = !1, R, _,
|
|
29016
|
+
let w = !1, T = !1, R, _, x = 0, b = 0, F = 0, B = 0;
|
|
29017
29017
|
const H = Zw(), W = Gt("Scrollbar", "-scrollbar", kk, nc, t, e), N = I(() => {
|
|
29018
29018
|
const {
|
|
29019
29019
|
value: z
|
|
@@ -29265,7 +29265,7 @@ const nc = {
|
|
|
29265
29265
|
z.preventDefault(), z.stopPropagation(), St("mousemove", window, wt, !0), St("mouseup", window, ui, !0), T = !1, ge(), Ke(z) && Kt();
|
|
29266
29266
|
}
|
|
29267
29267
|
function Ms(z) {
|
|
29268
|
-
z.preventDefault(), z.stopPropagation(), w = !0, ii("mousemove", window, En, !0), ii("mouseup", window, Jn, !0),
|
|
29268
|
+
z.preventDefault(), z.stopPropagation(), w = !0, ii("mousemove", window, En, !0), ii("mouseup", window, Jn, !0), x = v.value, B = z.clientY;
|
|
29269
29269
|
}
|
|
29270
29270
|
function En(z) {
|
|
29271
29271
|
if (!w) return;
|
|
@@ -29279,7 +29279,7 @@ const nc = {
|
|
|
29279
29279
|
} = N;
|
|
29280
29280
|
if (ee === null || he === null) return;
|
|
29281
29281
|
const $e = (z.clientY - B) * (he - ee) / (ee - be), Ae = he - ee;
|
|
29282
|
-
let Me =
|
|
29282
|
+
let Me = x + $e;
|
|
29283
29283
|
Me = Math.min(Ae, Me), Me = Math.max(Me, 0);
|
|
29284
29284
|
const {
|
|
29285
29285
|
value: dt
|
|
@@ -30169,7 +30169,7 @@ const Ek = Se("base-select-menu", `
|
|
|
30169
30169
|
function _(j, G) {
|
|
30170
30170
|
G.disabled || N(G, !1);
|
|
30171
30171
|
}
|
|
30172
|
-
function
|
|
30172
|
+
function x(j, G) {
|
|
30173
30173
|
G.disabled || y(G);
|
|
30174
30174
|
}
|
|
30175
30175
|
function b(j) {
|
|
@@ -30225,7 +30225,7 @@ const Ek = Se("base-select-menu", `
|
|
|
30225
30225
|
}
|
|
30226
30226
|
yi(tc, {
|
|
30227
30227
|
handleOptionMouseEnter: _,
|
|
30228
|
-
handleOptionClick:
|
|
30228
|
+
handleOptionClick: x,
|
|
30229
30229
|
valueSetRef: v,
|
|
30230
30230
|
pendingTmNodeRef: u,
|
|
30231
30231
|
nodePropsRef: Je(t, "nodeProps"),
|
|
@@ -30782,7 +30782,7 @@ const Nk = oe({
|
|
|
30782
30782
|
return u.getTriggerElement();
|
|
30783
30783
|
}
|
|
30784
30784
|
yi($f, d), yi(Cf, null), yi(Sf, null);
|
|
30785
|
-
function
|
|
30785
|
+
function x() {
|
|
30786
30786
|
if (m == null || m.onRender(), !(t.displayDirective === "show" || t.show || t.animated && g.value))
|
|
30787
30787
|
return null;
|
|
30788
30788
|
let F;
|
|
@@ -30866,7 +30866,7 @@ const Nk = oe({
|
|
|
30866
30866
|
followerRef: c,
|
|
30867
30867
|
adjustedTo: Fn(t),
|
|
30868
30868
|
followerEnabled: f,
|
|
30869
|
-
renderContentNode:
|
|
30869
|
+
renderContentNode: x
|
|
30870
30870
|
};
|
|
30871
30871
|
},
|
|
30872
30872
|
render() {
|
|
@@ -31098,7 +31098,7 @@ const Uk = {
|
|
|
31098
31098
|
function _() {
|
|
31099
31099
|
R();
|
|
31100
31100
|
}
|
|
31101
|
-
function
|
|
31101
|
+
function x(A) {
|
|
31102
31102
|
var te;
|
|
31103
31103
|
l() && (t.trigger === "click" && (m(), y(), p(!1)), (te = t.onClickoutside) === null || te === void 0 || te.call(t, A));
|
|
31104
31104
|
}
|
|
@@ -31127,7 +31127,7 @@ const Uk = {
|
|
|
31127
31127
|
handleKeydown: F,
|
|
31128
31128
|
handleMouseEnter: T,
|
|
31129
31129
|
handleMouseLeave: R,
|
|
31130
|
-
handleClickOutside:
|
|
31130
|
+
handleClickOutside: x,
|
|
31131
31131
|
handleMouseMoveOutside: _,
|
|
31132
31132
|
setBodyInstance: W,
|
|
31133
31133
|
positionManuallyRef: h,
|
|
@@ -31286,7 +31286,7 @@ function Gk(t) {
|
|
|
31286
31286
|
heightMini: T,
|
|
31287
31287
|
heightTiny: R,
|
|
31288
31288
|
heightSmall: _,
|
|
31289
|
-
heightMedium:
|
|
31289
|
+
heightMedium: x,
|
|
31290
31290
|
closeColorHover: b,
|
|
31291
31291
|
closeColorPressed: F,
|
|
31292
31292
|
buttonColor2Hover: B,
|
|
@@ -31298,7 +31298,7 @@ function Gk(t) {
|
|
|
31298
31298
|
heightTiny: T,
|
|
31299
31299
|
heightSmall: R,
|
|
31300
31300
|
heightMedium: _,
|
|
31301
|
-
heightLarge:
|
|
31301
|
+
heightLarge: x,
|
|
31302
31302
|
borderRadius: v,
|
|
31303
31303
|
opacityDisabled: d,
|
|
31304
31304
|
fontSizeTiny: m,
|
|
@@ -31602,7 +31602,7 @@ const eC = Object.assign(Object.assign(Object.assign({}, Gt.props), Zk), {
|
|
|
31602
31602
|
opacityDisabled: T,
|
|
31603
31603
|
textColorCheckable: R,
|
|
31604
31604
|
textColorHoverCheckable: _,
|
|
31605
|
-
textColorPressedCheckable:
|
|
31605
|
+
textColorPressedCheckable: x,
|
|
31606
31606
|
textColorChecked: b,
|
|
31607
31607
|
colorCheckable: F,
|
|
31608
31608
|
colorHoverCheckable: B,
|
|
@@ -31661,7 +31661,7 @@ const eC = Object.assign(Object.assign(Object.assign({}, Gt.props), Zk), {
|
|
|
31661
31661
|
"--n-text-color-checkable": R,
|
|
31662
31662
|
"--n-text-color-checked": b,
|
|
31663
31663
|
"--n-text-color-hover-checkable": _,
|
|
31664
|
-
"--n-text-color-pressed-checkable":
|
|
31664
|
+
"--n-text-color-pressed-checkable": x
|
|
31665
31665
|
};
|
|
31666
31666
|
}), f = s ? Bs("tag", I(() => {
|
|
31667
31667
|
let g = "";
|
|
@@ -31822,7 +31822,7 @@ function sC(t) {
|
|
|
31822
31822
|
fontSizeSmall: T,
|
|
31823
31823
|
fontSizeMedium: R,
|
|
31824
31824
|
fontSizeLarge: _,
|
|
31825
|
-
heightTiny:
|
|
31825
|
+
heightTiny: x,
|
|
31826
31826
|
heightSmall: b,
|
|
31827
31827
|
heightMedium: F,
|
|
31828
31828
|
heightLarge: B,
|
|
@@ -31833,7 +31833,7 @@ function sC(t) {
|
|
|
31833
31833
|
fontSizeSmall: T,
|
|
31834
31834
|
fontSizeMedium: R,
|
|
31835
31835
|
fontSizeLarge: _,
|
|
31836
|
-
heightTiny:
|
|
31836
|
+
heightTiny: x,
|
|
31837
31837
|
heightSmall: b,
|
|
31838
31838
|
heightMedium: F,
|
|
31839
31839
|
heightLarge: B,
|
|
@@ -32205,7 +32205,7 @@ const jf = {
|
|
|
32205
32205
|
} = g;
|
|
32206
32206
|
se && (se.style.display = "none");
|
|
32207
32207
|
}
|
|
32208
|
-
function
|
|
32208
|
+
function x() {
|
|
32209
32209
|
const {
|
|
32210
32210
|
value: se
|
|
32211
32211
|
} = g;
|
|
@@ -32327,7 +32327,7 @@ const jf = {
|
|
|
32327
32327
|
const {
|
|
32328
32328
|
value: se
|
|
32329
32329
|
} = r;
|
|
32330
|
-
se && (
|
|
32330
|
+
se && (x(), se.focus());
|
|
32331
32331
|
}
|
|
32332
32332
|
function Ci() {
|
|
32333
32333
|
const {
|
|
@@ -32669,7 +32669,7 @@ const jf = {
|
|
|
32669
32669
|
}, {
|
|
32670
32670
|
default: $,
|
|
32671
32671
|
counter: T
|
|
32672
|
-
}) : g && R ? $().concat(R) : $(),
|
|
32672
|
+
}) : g && R ? $().concat(R) : $(), x = h ? () => L("div", {
|
|
32673
32673
|
class: `${a}-base-selection-popover`
|
|
32674
32674
|
}, f ? $() : this.selectedOptions.map(y)) : void 0, b = h ? Object.assign({
|
|
32675
32675
|
show: this.showTagsPanel,
|
|
@@ -32697,7 +32697,7 @@ const jf = {
|
|
|
32697
32697
|
style: "max-height: calc(var(--v-target-height) * 6.6);"
|
|
32698
32698
|
}), {
|
|
32699
32699
|
trigger: () => H,
|
|
32700
|
-
default:
|
|
32700
|
+
default: x
|
|
32701
32701
|
}) : H, B);
|
|
32702
32702
|
} else if (s) {
|
|
32703
32703
|
const m = this.pattern || this.isComposing, y = this.active ? !m : !this.selected, $ = this.active ? !1 : this.selected;
|
|
@@ -33031,10 +33031,10 @@ const gC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33031
33031
|
} = t, he = uC(z, ee);
|
|
33032
33032
|
return zw(v.value, he);
|
|
33033
33033
|
}), y = I(() => hC(h.value, t.valueField, t.childrenField)), $ = q(!1), w = hl(Je(t, "show"), $), T = q(null), R = q(null), _ = q(null), {
|
|
33034
|
-
localeRef:
|
|
33034
|
+
localeRef: x
|
|
33035
33035
|
} = Af("Select"), b = I(() => {
|
|
33036
33036
|
var z;
|
|
33037
|
-
return (z = t.placeholder) !== null && z !== void 0 ? z :
|
|
33037
|
+
return (z = t.placeholder) !== null && z !== void 0 ? z : x.value.placeholder;
|
|
33038
33038
|
}), F = [], B = q(/* @__PURE__ */ new Map()), H = I(() => {
|
|
33039
33039
|
const {
|
|
33040
33040
|
fallbackOption: z
|
|
@@ -33627,7 +33627,7 @@ const gC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33627
33627
|
var y;
|
|
33628
33628
|
return (y = u.value) == null ? void 0 : y.blurInput();
|
|
33629
33629
|
}
|
|
33630
|
-
}), (y, $) => (
|
|
33630
|
+
}), (y, $) => (k(), Q(M(pC), {
|
|
33631
33631
|
ref: "select-component",
|
|
33632
33632
|
"clear-filter-after-select": !0,
|
|
33633
33633
|
clearable: t.clearable,
|
|
@@ -33689,7 +33689,7 @@ const gC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33689
33689
|
var d;
|
|
33690
33690
|
return (d = r.value) == null ? void 0 : d.blur();
|
|
33691
33691
|
}
|
|
33692
|
-
}), (d, f) => (
|
|
33692
|
+
}), (d, f) => (k(), Q(vC, {
|
|
33693
33693
|
ref: "select-component",
|
|
33694
33694
|
value: t.value,
|
|
33695
33695
|
clearable: t.clearable,
|
|
@@ -33747,7 +33747,7 @@ const gC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33747
33747
|
}
|
|
33748
33748
|
), (d, f) => {
|
|
33749
33749
|
const g = wg, h = G1, p = He, v = _g;
|
|
33750
|
-
return
|
|
33750
|
+
return k(), Q(v, {
|
|
33751
33751
|
"show-divider": !1,
|
|
33752
33752
|
hoverable: !0
|
|
33753
33753
|
}, {
|
|
@@ -33769,7 +33769,7 @@ const gC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33769
33769
|
}, null, 8, ["value", "disabled", "min-term-length", "search-type"])
|
|
33770
33770
|
]),
|
|
33771
33771
|
default: E(() => [
|
|
33772
|
-
o.value.length === 0 ? (
|
|
33772
|
+
o.value.length === 0 ? (k(), Q(g, {
|
|
33773
33773
|
key: 0,
|
|
33774
33774
|
class: "text-center text-sm text-gray-600"
|
|
33775
33775
|
}, {
|
|
@@ -33778,7 +33778,7 @@ const gC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33778
33778
|
])]),
|
|
33779
33779
|
_: 1
|
|
33780
33780
|
})) : U("", !0),
|
|
33781
|
-
(
|
|
33781
|
+
(k(!0), O(Be, null, Xt(o.value, (m) => (k(), Q(g, {
|
|
33782
33782
|
key: m.id
|
|
33783
33783
|
}, {
|
|
33784
33784
|
suffix: E(() => [
|
|
@@ -33800,7 +33800,7 @@ const gC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33800
33800
|
P("span", xC, Y(m.code), 1),
|
|
33801
33801
|
P("span", kC, Y(m.name), 1)
|
|
33802
33802
|
]),
|
|
33803
|
-
d.$slots["item-extra"] ? (
|
|
33803
|
+
d.$slots["item-extra"] ? (k(), O("div", CC, [
|
|
33804
33804
|
Te(d.$slots, "item-extra", {
|
|
33805
33805
|
item: m,
|
|
33806
33806
|
updateItemCallback: c
|
|
@@ -33821,7 +33821,7 @@ const gC = Object.assign(Object.assign({}, Gt.props), {
|
|
|
33821
33821
|
height: "1.2em"
|
|
33822
33822
|
};
|
|
33823
33823
|
function TC(t, e) {
|
|
33824
|
-
return
|
|
33824
|
+
return k(), O("svg", $C, [...e[0] || (e[0] = [
|
|
33825
33825
|
P("path", {
|
|
33826
33826
|
fill: "currentColor",
|
|
33827
33827
|
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"
|
|
@@ -33834,7 +33834,7 @@ const PC = Oe({ name: "tabler-truck-filled", render: TC }), RC = {
|
|
|
33834
33834
|
height: "1.2em"
|
|
33835
33835
|
};
|
|
33836
33836
|
function FC(t, e) {
|
|
33837
|
-
return
|
|
33837
|
+
return k(), O("svg", RC, [...e[0] || (e[0] = [
|
|
33838
33838
|
P("g", {
|
|
33839
33839
|
fill: "none",
|
|
33840
33840
|
stroke: "currentColor",
|
|
@@ -33853,7 +33853,7 @@ const BC = Oe({ name: "tabler-truck-delivery", render: FC }), AC = {
|
|
|
33853
33853
|
height: "1.2em"
|
|
33854
33854
|
};
|
|
33855
33855
|
function MC(t, e) {
|
|
33856
|
-
return
|
|
33856
|
+
return k(), O("svg", AC, [...e[0] || (e[0] = [
|
|
33857
33857
|
P("g", {
|
|
33858
33858
|
fill: "none",
|
|
33859
33859
|
stroke: "currentColor",
|
|
@@ -33888,17 +33888,17 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
33888
33888
|
return (s, r) => {
|
|
33889
33889
|
var c, u, d, f, g, h, p, v;
|
|
33890
33890
|
const o = EC, a = BC, l = PC;
|
|
33891
|
-
return
|
|
33892
|
-
t.showType ? (
|
|
33893
|
-
((c = e.value) == null ? void 0 : c.slug) === "self_delivery" ? (
|
|
33894
|
-
((u = e.value) == null ? void 0 : u.slug) === "delivery" ? (
|
|
33895
|
-
((d = e.value) == null ? void 0 : d.slug) === "transport_company_delivery" ? (
|
|
33891
|
+
return k(), O("div", IC, [
|
|
33892
|
+
t.showType ? (k(), O("span", OC, [
|
|
33893
|
+
((c = e.value) == null ? void 0 : c.slug) === "self_delivery" ? (k(), Q(o, { key: 0 })) : U("", !0),
|
|
33894
|
+
((u = e.value) == null ? void 0 : u.slug) === "delivery" ? (k(), Q(a, { key: 1 })) : U("", !0),
|
|
33895
|
+
((d = e.value) == null ? void 0 : d.slug) === "transport_company_delivery" ? (k(), Q(l, { key: 2 })) : U("", !0),
|
|
33896
33896
|
P("span", null, Y((f = e.value) == null ? void 0 : f.name), 1)
|
|
33897
33897
|
])) : U("", !0),
|
|
33898
|
-
t.showDetails ? (
|
|
33898
|
+
t.showDetails ? (k(), O("span", zC, [
|
|
33899
33899
|
P("span", LC, Y(i.value), 1),
|
|
33900
|
-
(h = (g = t.delivery) == null ? void 0 : g.address) != null && h.address ? (
|
|
33901
|
-
(v = (p = t.delivery) == null ? void 0 : p.warehouse) != null && v.address ? (
|
|
33900
|
+
(h = (g = t.delivery) == null ? void 0 : g.address) != null && h.address ? (k(), O("span", DC, Y(t.delivery.address.address), 1)) : U("", !0),
|
|
33901
|
+
(v = (p = t.delivery) == null ? void 0 : p.warehouse) != null && v.address ? (k(), O("span", NC, "со склада " + Y(t.delivery.warehouse.address), 1)) : (k(), O("span", HC, "(не указано)"))
|
|
33902
33902
|
])) : U("", !0)
|
|
33903
33903
|
]);
|
|
33904
33904
|
};
|
|
@@ -33921,32 +33921,32 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
33921
33921
|
return e.fields.includes(nt.Status) ? (l = (a = Ft().orderStatusReference) == null ? void 0 : a.find((c) => c.id === (e.order.status ?? -1))) == null ? void 0 : l.name : void 0;
|
|
33922
33922
|
}
|
|
33923
33923
|
), s = I(() => e.fields.includes(nt.CreatedAt)), r = I(() => e.fields.includes(nt.ClientInfo) ? e.order.client : void 0), o = I(() => e.fields.includes(nt.DeliveryInfo) ? e.order.delivery : void 0);
|
|
33924
|
-
return (a, l) => (
|
|
33924
|
+
return (a, l) => (k(), O("div", VC, [
|
|
33925
33925
|
P("span", jC, [
|
|
33926
|
-
i.value ? (
|
|
33926
|
+
i.value ? (k(), O("a", {
|
|
33927
33927
|
key: 0,
|
|
33928
33928
|
href: t.orderUrl.replace(":id", t.order.id.toString()),
|
|
33929
33929
|
target: "_blank",
|
|
33930
33930
|
class: "text-sc-dark-grey"
|
|
33931
33931
|
}, " #" + Y(i.value), 9, UC)) : U("", !0),
|
|
33932
|
-
s.value ? (
|
|
33932
|
+
s.value ? (k(), O(Be, { key: 1 }, [
|
|
33933
33933
|
l[0] || (l[0] = ie(" от ", -1)),
|
|
33934
33934
|
D(cl, {
|
|
33935
33935
|
date: t.order.createdAt,
|
|
33936
33936
|
"is-time-secondary": !0
|
|
33937
33937
|
}, null, 8, ["date"])
|
|
33938
33938
|
], 64)) : U("", !0),
|
|
33939
|
-
n.value ? (
|
|
33939
|
+
n.value ? (k(), O(Be, { key: 2 }, [
|
|
33940
33940
|
l[1] || (l[1] = ie(" - ", -1)),
|
|
33941
33941
|
P("span", qC, Y(n.value), 1)
|
|
33942
33942
|
], 64)) : U("", !0)
|
|
33943
33943
|
]),
|
|
33944
|
-
r.value ? (
|
|
33944
|
+
r.value ? (k(), Q(So, {
|
|
33945
33945
|
key: 0,
|
|
33946
33946
|
client: r.value,
|
|
33947
33947
|
class: "ml-3"
|
|
33948
33948
|
}, null, 8, ["client"])) : U("", !0),
|
|
33949
|
-
o.value ? (
|
|
33949
|
+
o.value ? (k(), Q(sc, {
|
|
33950
33950
|
key: 1,
|
|
33951
33951
|
delivery: o.value,
|
|
33952
33952
|
class: "ml-3"
|
|
@@ -33966,7 +33966,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
33966
33966
|
});
|
|
33967
33967
|
return (n, s) => {
|
|
33968
33968
|
var r;
|
|
33969
|
-
return
|
|
33969
|
+
return k(), O("span", null, Y(((r = i.value) == null ? void 0 : r.name) ?? "-"), 1);
|
|
33970
33970
|
};
|
|
33971
33971
|
}
|
|
33972
33972
|
}), KC = { class: "inline-block py-[0.0625rem] px-1.5 text-xs font-bold text-center whitespace-nowrap rounded text-white bg-[#17a2b8]" }, ZC = {}, Xf = /* @__PURE__ */ oe({
|
|
@@ -33986,7 +33986,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
33986
33986
|
};
|
|
33987
33987
|
return `${n} ${s[i]}`;
|
|
33988
33988
|
};
|
|
33989
|
-
return (i, n) => (
|
|
33989
|
+
return (i, n) => (k(), O("small", KC, Y(e(t.userType, t.prefixText)), 1));
|
|
33990
33990
|
}
|
|
33991
33991
|
}), QC = { class: "flex flex-row gap-1.5" }, JC = { class: "flex-none text-nowrap" }, eS = { class: "flex flex-1 flex-col" }, tS = { class: "mt-2.5 grid grid-flow-col grid-rows-2 gap-1 text-base" }, iS = { key: 0 }, nS = { key: 1 }, sS = {}, rS = /* @__PURE__ */ oe({
|
|
33992
33992
|
...sS,
|
|
@@ -33998,21 +33998,21 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
33998
33998
|
setup(t) {
|
|
33999
33999
|
return (e, i) => {
|
|
34000
34000
|
const n = Xf;
|
|
34001
|
-
return
|
|
34001
|
+
return k(), O("div", QC, [
|
|
34002
34002
|
P("span", JC, Y(t.index + 1) + ".", 1),
|
|
34003
34003
|
P("div", eS, [
|
|
34004
34004
|
D(vo, {
|
|
34005
34005
|
product: t.product.product,
|
|
34006
34006
|
"show-planning-dates": !1
|
|
34007
34007
|
}, null, 8, ["product"]),
|
|
34008
|
-
t.product.creatorUser && t.product.creatorUser.type ? (
|
|
34008
|
+
t.product.creatorUser && t.product.creatorUser.type ? (k(), Q(n, {
|
|
34009
34009
|
key: 0,
|
|
34010
34010
|
"user-type": t.product.creatorUser.type,
|
|
34011
34011
|
class: "mt-1 self-start"
|
|
34012
34012
|
}, null, 8, ["user-type"])) : U("", !0),
|
|
34013
34013
|
P("div", tS, [
|
|
34014
34014
|
i[0] || (i[0] = P("span", null, "Кол-во", -1)),
|
|
34015
|
-
t.product.product.getIsMeasurable() ? (
|
|
34015
|
+
t.product.product.getIsMeasurable() ? (k(), O("span", iS, Y(`${t.product.length} ${t.product.product.unit.name} x ${t.product.quantity} шт.`), 1)) : (k(), O("span", nS, Y(`${t.product.quantity} ${t.product.product.unit.name}`), 1)),
|
|
34016
34016
|
i[1] || (i[1] = P("span", null, "Цена за ед.", -1)),
|
|
34017
34017
|
D(qn, {
|
|
34018
34018
|
product: t.product,
|
|
@@ -34118,7 +34118,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34118
34118
|
window.removeEventListener("resize", n);
|
|
34119
34119
|
}), (s, r) => {
|
|
34120
34120
|
const o = Sl;
|
|
34121
|
-
return
|
|
34121
|
+
return k(), O(Be, null, [
|
|
34122
34122
|
r[0] || (r[0] = P("h3", null, "Список позиций", -1)),
|
|
34123
34123
|
D(o, {
|
|
34124
34124
|
columns: i.value,
|
|
@@ -34140,11 +34140,11 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34140
34140
|
extraInfoOnSecondLine: { type: Boolean, default: !0 }
|
|
34141
34141
|
},
|
|
34142
34142
|
setup(t) {
|
|
34143
|
-
return (e, i) => (
|
|
34143
|
+
return (e, i) => (k(), O("div", {
|
|
34144
34144
|
class: Ge({ "flex flex-col": t.showUserType && t.extraInfoOnSecondLine })
|
|
34145
34145
|
}, [
|
|
34146
34146
|
P("span", cS, Y(t.user.name), 1),
|
|
34147
|
-
t.showUserType ? (
|
|
34147
|
+
t.showUserType ? (k(), O("span", {
|
|
34148
34148
|
key: 0,
|
|
34149
34149
|
class: Ge([{ "ml-1": !t.extraInfoOnSecondLine }, "text-sc-grey"])
|
|
34150
34150
|
}, " [" + Y(t.user.type) + "] ", 3)) : U("", !0)
|
|
@@ -34160,10 +34160,10 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34160
34160
|
order: {}
|
|
34161
34161
|
},
|
|
34162
34162
|
setup(t) {
|
|
34163
|
-
return (e, i) => (
|
|
34163
|
+
return (e, i) => (k(), O("div", null, [
|
|
34164
34164
|
i[11] || (i[11] = P("h3", null, "Детали заказа", -1)),
|
|
34165
34165
|
P("div", dS, [
|
|
34166
|
-
t.order.creator.id !== t.order.client.id ? (
|
|
34166
|
+
t.order.creator.id !== t.order.client.id ? (k(), O(Be, { key: 0 }, [
|
|
34167
34167
|
i[0] || (i[0] = P("span", null, "Создал", -1)),
|
|
34168
34168
|
D(bd, {
|
|
34169
34169
|
user: t.order.creator,
|
|
@@ -34175,52 +34175,52 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34175
34175
|
client: t.order.client,
|
|
34176
34176
|
class: "col-span-2"
|
|
34177
34177
|
}, null, 8, ["client"]),
|
|
34178
|
-
t.order.contragent ? (
|
|
34178
|
+
t.order.contragent ? (k(), O(Be, { key: 1 }, [
|
|
34179
34179
|
i[1] || (i[1] = P("span", null, "Контрагент", -1)),
|
|
34180
34180
|
D(p_, {
|
|
34181
34181
|
contragent: t.order.contragent,
|
|
34182
34182
|
class: "col-span-2"
|
|
34183
34183
|
}, null, 8, ["contragent"])
|
|
34184
34184
|
], 64)) : U("", !0),
|
|
34185
|
-
t.order.image ? (
|
|
34185
|
+
t.order.image ? (k(), O(Be, { key: 2 }, [
|
|
34186
34186
|
i[2] || (i[2] = P("span", null, "Графический файл клиента", -1)),
|
|
34187
34187
|
i[3] || (i[3] = P("a", {
|
|
34188
34188
|
class: "fancybox col-span-2",
|
|
34189
34189
|
href: "{{ order.image }}"
|
|
34190
34190
|
}, " Посмотреть ", -1))
|
|
34191
34191
|
], 64)) : U("", !0),
|
|
34192
|
-
t.order.barcode ? (
|
|
34192
|
+
t.order.barcode ? (k(), O(Be, { key: 3 }, [
|
|
34193
34193
|
i[4] || (i[4] = P("span", null, "Штрих-код", -1)),
|
|
34194
34194
|
P("span", hS, Y(t.order.barcode), 1)
|
|
34195
34195
|
], 64)) : U("", !0),
|
|
34196
|
-
t.order.payment ? (
|
|
34196
|
+
t.order.payment ? (k(), O(Be, { key: 4 }, [
|
|
34197
34197
|
i[5] || (i[5] = P("span", null, "Оплата", -1)),
|
|
34198
34198
|
D(qf, {
|
|
34199
34199
|
payment: t.order.payment,
|
|
34200
34200
|
class: "col-span-2"
|
|
34201
34201
|
}, null, 8, ["payment"])
|
|
34202
34202
|
], 64)) : U("", !0),
|
|
34203
|
-
t.order.delivery ? (
|
|
34203
|
+
t.order.delivery ? (k(), O(Be, { key: 5 }, [
|
|
34204
34204
|
i[6] || (i[6] = P("span", null, "Доставка", -1)),
|
|
34205
34205
|
D(sc, {
|
|
34206
34206
|
delivery: t.order.delivery,
|
|
34207
34207
|
class: "col-span-2"
|
|
34208
34208
|
}, null, 8, ["delivery"])
|
|
34209
34209
|
], 64)) : U("", !0),
|
|
34210
|
-
t.order.comment ? (
|
|
34210
|
+
t.order.comment ? (k(), O(Be, { key: 6 }, [
|
|
34211
34211
|
i[7] || (i[7] = P("span", null, "Комментарий", -1)),
|
|
34212
34212
|
P("span", fS, Y(t.order.comment), 1)
|
|
34213
34213
|
], 64)) : U("", !0),
|
|
34214
|
-
t.order.attachedUser ? (
|
|
34214
|
+
t.order.attachedUser ? (k(), O(Be, { key: 7 }, [
|
|
34215
34215
|
i[8] || (i[8] = P("span", null, "Закреплен за", -1)),
|
|
34216
34216
|
D(bd, {
|
|
34217
34217
|
user: t.order.attachedUser,
|
|
34218
34218
|
class: "col-span-2"
|
|
34219
34219
|
}, null, 8, ["user"])
|
|
34220
34220
|
], 64)) : U("", !0),
|
|
34221
|
-
t.order.invoices && t.order.invoices.length > 0 ? (
|
|
34221
|
+
t.order.invoices && t.order.invoices.length > 0 ? (k(), O(Be, { key: 8 }, [
|
|
34222
34222
|
i[9] || (i[9] = P("span", null, "Прикрепленные счета", -1)),
|
|
34223
|
-
(
|
|
34223
|
+
(k(!0), O(Be, null, Xt(t.order.invoices, (n, s) => (k(), O("div", {
|
|
34224
34224
|
key: s,
|
|
34225
34225
|
class: "col-span-2"
|
|
34226
34226
|
}, [
|
|
@@ -34251,7 +34251,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34251
34251
|
s();
|
|
34252
34252
|
}), (o, a) => {
|
|
34253
34253
|
const l = tr;
|
|
34254
|
-
return i.value ? (
|
|
34254
|
+
return i.value ? (k(), O("div", vS, [
|
|
34255
34255
|
P("div", yS, [
|
|
34256
34256
|
D(l, {
|
|
34257
34257
|
size: "small",
|
|
@@ -34261,7 +34261,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34261
34261
|
P("span", null, "Загрузка данных ...")
|
|
34262
34262
|
], -1))
|
|
34263
34263
|
])
|
|
34264
|
-
])) : n.value.products.length === 0 ? (
|
|
34264
|
+
])) : n.value.products.length === 0 ? (k(), O("div", bS, " --- Не удалось загрузить данные о заказе --- ")) : (k(), O("div", _S, [
|
|
34265
34265
|
D(lS, {
|
|
34266
34266
|
products: n.value.products
|
|
34267
34267
|
}, null, 8, ["products"]),
|
|
@@ -34291,7 +34291,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34291
34291
|
return (r, o) => {
|
|
34292
34292
|
var u;
|
|
34293
34293
|
const a = Rl, l = He, c = Io;
|
|
34294
|
-
return ((u = n.value) == null ? void 0 : u.length) > 0 ? (
|
|
34294
|
+
return ((u = n.value) == null ? void 0 : u.length) > 0 ? (k(), Q(c, {
|
|
34295
34295
|
key: 0,
|
|
34296
34296
|
options: n.value,
|
|
34297
34297
|
size: M(i),
|
|
@@ -34329,7 +34329,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34329
34329
|
pagination: { default: void 0 },
|
|
34330
34330
|
useCellIndication: { type: Boolean, default: !1 }
|
|
34331
34331
|
},
|
|
34332
|
-
emits: ["click:client-name"],
|
|
34332
|
+
emits: ["click:client-name", "dblclick:row"],
|
|
34333
34333
|
setup(t, { emit: e }) {
|
|
34334
34334
|
const i = t, n = e, s = () => structuredClone(
|
|
34335
34335
|
mi(
|
|
@@ -34339,13 +34339,16 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34339
34339
|
}
|
|
34340
34340
|
)
|
|
34341
34341
|
), r = q(s()), o = q([]), a = q(!1), l = I(() => Ft().orderStatusReference), c = ($) => {
|
|
34342
|
-
var
|
|
34342
|
+
var _, x;
|
|
34343
|
+
const w = {
|
|
34344
|
+
onDblclick: () => n("dblclick:row", $)
|
|
34345
|
+
};
|
|
34343
34346
|
if (!i.useCellIndication)
|
|
34344
|
-
return
|
|
34345
|
-
const
|
|
34346
|
-
$.isOnOrder &&
|
|
34347
|
-
const
|
|
34348
|
-
return
|
|
34347
|
+
return w;
|
|
34348
|
+
const T = [];
|
|
34349
|
+
$.isOnOrder && T.push("on-order"), $.isLargeOrder && T.push("large-order"), $.isNotInStock && T.push("not-in-stock");
|
|
34350
|
+
const R = (x = (_ = l.value) == null ? void 0 : _.find((b) => b.id === ($.status ?? -1))) == null ? void 0 : x.slug;
|
|
34351
|
+
return R && T.push("order-status", R), T.length > 0 && (w.class = T.join(" ")), w;
|
|
34349
34352
|
}, u = () => {
|
|
34350
34353
|
const $ = [
|
|
34351
34354
|
nt.CreatedAt,
|
|
@@ -34365,7 +34368,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34365
34368
|
}, R = {
|
|
34366
34369
|
type: "expand",
|
|
34367
34370
|
expandable: Mo(!0),
|
|
34368
|
-
renderExpand: (
|
|
34371
|
+
renderExpand: (x) => L(CS, { order: x, class: "pl-10 pt-3 pb-10" }),
|
|
34369
34372
|
width: "30"
|
|
34370
34373
|
}, _ = [
|
|
34371
34374
|
{
|
|
@@ -34374,7 +34377,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34374
34377
|
resizable: !0,
|
|
34375
34378
|
width: 100,
|
|
34376
34379
|
// eslint-disable-next-line vue/max-len
|
|
34377
|
-
render: (
|
|
34380
|
+
render: (x) => L(cl, { date: x.createdAt, isTimeSecondary: !0, isTimeOnSecondLine: !0, class: "text-base" })
|
|
34378
34381
|
},
|
|
34379
34382
|
{
|
|
34380
34383
|
title: "ID",
|
|
@@ -34382,15 +34385,15 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34382
34385
|
resizable: !0,
|
|
34383
34386
|
width: 75,
|
|
34384
34387
|
className: "order-id",
|
|
34385
|
-
render: (
|
|
34388
|
+
render: (x) => L(
|
|
34386
34389
|
"a",
|
|
34387
34390
|
{
|
|
34388
34391
|
// eslint-disable-next-line lodash/prefer-lodash-method
|
|
34389
|
-
href: i.orderUrl.replace(":id",
|
|
34392
|
+
href: i.orderUrl.replace(":id", x.id.toString()),
|
|
34390
34393
|
target: "_blank",
|
|
34391
34394
|
class: "text-base"
|
|
34392
34395
|
},
|
|
34393
|
-
|
|
34396
|
+
x.id
|
|
34394
34397
|
)
|
|
34395
34398
|
},
|
|
34396
34399
|
{
|
|
@@ -34398,17 +34401,17 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34398
34401
|
key: nt.DeliveryDate,
|
|
34399
34402
|
resizable: !0,
|
|
34400
34403
|
width: 100,
|
|
34401
|
-
render: (
|
|
34404
|
+
render: (x) => L(cl, { date: x.delivery.date, isShowTime: !1, class: "text-base" })
|
|
34402
34405
|
},
|
|
34403
34406
|
{
|
|
34404
34407
|
title: "Клиент",
|
|
34405
34408
|
key: nt.ClientInfo,
|
|
34406
34409
|
resizable: !0,
|
|
34407
34410
|
minWidth: 320,
|
|
34408
|
-
render: (
|
|
34409
|
-
client:
|
|
34410
|
-
"onClick:client-
|
|
34411
|
-
n("click:client-name",
|
|
34411
|
+
render: (x) => L(So, {
|
|
34412
|
+
client: x.client,
|
|
34413
|
+
"onClick:client-name": () => {
|
|
34414
|
+
n("click:client-name", x.client, null);
|
|
34412
34415
|
}
|
|
34413
34416
|
})
|
|
34414
34417
|
},
|
|
@@ -34417,18 +34420,18 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34417
34420
|
key: nt.DeliveryInfo,
|
|
34418
34421
|
resizable: !0,
|
|
34419
34422
|
minWidth: 320,
|
|
34420
|
-
render: (
|
|
34423
|
+
render: (x) => L(sc, { delivery: x.delivery })
|
|
34421
34424
|
},
|
|
34422
34425
|
{
|
|
34423
34426
|
title: "Клиент",
|
|
34424
34427
|
key: nt.ClientInfoShort,
|
|
34425
34428
|
resizable: !0,
|
|
34426
34429
|
minWidth: 320,
|
|
34427
|
-
render: (
|
|
34428
|
-
client:
|
|
34430
|
+
render: (x) => L(So, {
|
|
34431
|
+
client: x.client,
|
|
34429
34432
|
showCityAndRegion: !1,
|
|
34430
|
-
"onClick:client-
|
|
34431
|
-
n("click:client-name",
|
|
34433
|
+
"onClick:client-name": () => {
|
|
34434
|
+
n("click:client-name", x.client, null);
|
|
34432
34435
|
}
|
|
34433
34436
|
})
|
|
34434
34437
|
},
|
|
@@ -34438,9 +34441,9 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34438
34441
|
resizable: !0,
|
|
34439
34442
|
minWidth: 90,
|
|
34440
34443
|
width: 120,
|
|
34441
|
-
render: (
|
|
34444
|
+
render: (x) => {
|
|
34442
34445
|
var b;
|
|
34443
|
-
return L("span", { class: "text-base" }, ((b =
|
|
34446
|
+
return L("span", { class: "text-base" }, ((b = x.client) == null ? void 0 : b.city.name) ?? "—");
|
|
34444
34447
|
}
|
|
34445
34448
|
},
|
|
34446
34449
|
{
|
|
@@ -34450,9 +34453,9 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34450
34453
|
width: 150,
|
|
34451
34454
|
minWidth: 115,
|
|
34452
34455
|
className: "order-status",
|
|
34453
|
-
render: (
|
|
34456
|
+
render: (x) => {
|
|
34454
34457
|
var b, F;
|
|
34455
|
-
return L("span", { class: "text-base" }, [((F = (b = l.value) == null ? void 0 : b.find((B) => B.id === (
|
|
34458
|
+
return L("span", { class: "text-base" }, [((F = (b = l.value) == null ? void 0 : b.find((B) => B.id === (x.status ?? -1))) == null ? void 0 : F.name) ?? ""]);
|
|
34456
34459
|
}
|
|
34457
34460
|
},
|
|
34458
34461
|
{
|
|
@@ -34461,16 +34464,16 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34461
34464
|
resizable: !0,
|
|
34462
34465
|
width: 115,
|
|
34463
34466
|
minWidth: 95,
|
|
34464
|
-
render: (
|
|
34467
|
+
render: (x) => x.payment ? L(qf, { payment: x.payment }) : L("span", { class: "text-base" }, "—")
|
|
34465
34468
|
},
|
|
34466
34469
|
{
|
|
34467
34470
|
title: "Напр. продаж",
|
|
34468
34471
|
key: nt.SalesDirections,
|
|
34469
34472
|
resizable: !0,
|
|
34470
34473
|
width: 70,
|
|
34471
|
-
render: (
|
|
34474
|
+
render: (x) => {
|
|
34472
34475
|
var b;
|
|
34473
|
-
return L("span", { class: "text-base" }, [((b =
|
|
34476
|
+
return L("span", { class: "text-base" }, [((b = x.salesDirection) == null ? void 0 : b.name) ?? ""]);
|
|
34474
34477
|
}
|
|
34475
34478
|
},
|
|
34476
34479
|
...i.showAttachedUserColumn ? [
|
|
@@ -34479,9 +34482,9 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34479
34482
|
key: nt.AttachedUser,
|
|
34480
34483
|
resizable: !0,
|
|
34481
34484
|
minWidth: 120,
|
|
34482
|
-
render: (
|
|
34485
|
+
render: (x) => {
|
|
34483
34486
|
var b;
|
|
34484
|
-
return L("span", { class: "text-base" }, [((b =
|
|
34487
|
+
return L("span", { class: "text-base" }, [((b = x == null ? void 0 : x.attachedUser) == null ? void 0 : b.name) ?? ""]);
|
|
34485
34488
|
}
|
|
34486
34489
|
}
|
|
34487
34490
|
] : []
|
|
@@ -34491,8 +34494,8 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34491
34494
|
title: "",
|
|
34492
34495
|
className: "align-top",
|
|
34493
34496
|
width: 50,
|
|
34494
|
-
render: (
|
|
34495
|
-
order:
|
|
34497
|
+
render: (x) => L($S, {
|
|
34498
|
+
order: x,
|
|
34496
34499
|
orderContextButtonsConfig: i.orderContextButtonsConfig,
|
|
34497
34500
|
onOrderContextSelect: i.onOrderContextSelect
|
|
34498
34501
|
})
|
|
@@ -34506,12 +34509,12 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34506
34509
|
title: "Заказ",
|
|
34507
34510
|
resizable: !0,
|
|
34508
34511
|
// eslint-disable-next-line vue/max-len
|
|
34509
|
-
render: (
|
|
34512
|
+
render: (x) => L(YC, { order: x, fields: w, orderUrl: i.orderUrl })
|
|
34510
34513
|
}
|
|
34511
34514
|
];
|
|
34512
34515
|
case bt.laptop: {
|
|
34513
|
-
const
|
|
34514
|
-
return [R, ...
|
|
34516
|
+
const x = i.showAttachedUserColumn ? w : w.filter((b) => b !== nt.AttachedUser);
|
|
34517
|
+
return [R, ...x.map((b) => _.find((F) => F.key === b) ?? T)];
|
|
34515
34518
|
}
|
|
34516
34519
|
default:
|
|
34517
34520
|
return [T];
|
|
@@ -34575,7 +34578,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34575
34578
|
window.removeEventListener("resize", y), ($ = g.value) == null || $.abort();
|
|
34576
34579
|
}), ($, w) => {
|
|
34577
34580
|
const T = Sl;
|
|
34578
|
-
return
|
|
34581
|
+
return k(), Q(T, {
|
|
34579
34582
|
columns: d.value,
|
|
34580
34583
|
data: o.value,
|
|
34581
34584
|
"row-key": (R) => R.id,
|
|
@@ -34594,7 +34597,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34594
34597
|
}, null, 8, ["columns", "data", "row-key", "scroll-x", "pagination", "loading"]);
|
|
34595
34598
|
};
|
|
34596
34599
|
}
|
|
34597
|
-
}), h3 = /* @__PURE__ */ Zn(PS, [["__scopeId", "data-v-
|
|
34600
|
+
}), h3 = /* @__PURE__ */ Zn(PS, [["__scopeId", "data-v-edd82285"]]), RS = ["href"], FS = { class: "text-sc-dark-grey" }, BS = {}, f3 = /* @__PURE__ */ oe({
|
|
34598
34601
|
...BS,
|
|
34599
34602
|
__name: "short-text-order-info",
|
|
34600
34603
|
props: {
|
|
@@ -34606,7 +34609,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34606
34609
|
const i = t, n = e, s = I(() => Ks(i.order.createdAt, _i().config.dateFormats.uiDateWithTime)), r = (o) => {
|
|
34607
34610
|
ft(i.orderLink) && (o.preventDefault(), o.stopPropagation()), n("click:order-id", i.order, o);
|
|
34608
34611
|
};
|
|
34609
|
-
return (o, a) => (
|
|
34612
|
+
return (o, a) => (k(), O(Be, null, [
|
|
34610
34613
|
P("span", null, [
|
|
34611
34614
|
a[1] || (a[1] = ie(" #", -1)),
|
|
34612
34615
|
P("a", {
|
|
@@ -34614,7 +34617,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34614
34617
|
onClick: a[0] || (a[0] = (l) => r(l))
|
|
34615
34618
|
}, Y(t.order.id), 9, RS),
|
|
34616
34619
|
ie(" от " + Y(s.value), 1),
|
|
34617
|
-
t.order.isApproved1c ? (
|
|
34620
|
+
t.order.isApproved1c ? (k(), O(Be, { key: 0 }, [
|
|
34618
34621
|
ie(" (подтверждён)")
|
|
34619
34622
|
], 64)) : U("", !0)
|
|
34620
34623
|
]),
|
|
@@ -34637,7 +34640,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34637
34640
|
setup(t) {
|
|
34638
34641
|
return (e, i) => {
|
|
34639
34642
|
const n = xg;
|
|
34640
|
-
return
|
|
34643
|
+
return k(), O("div", AS, [
|
|
34641
34644
|
P("div", MS, [
|
|
34642
34645
|
P("div", ES, [
|
|
34643
34646
|
Te(e.$slots, "title", {}, () => [
|
|
@@ -34649,13 +34652,13 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34649
34652
|
})
|
|
34650
34653
|
])
|
|
34651
34654
|
]),
|
|
34652
|
-
e.$slots["title-buttons"] ? (
|
|
34655
|
+
e.$slots["title-buttons"] ? (k(), O("div", IS, [
|
|
34653
34656
|
P("div", OS, [
|
|
34654
34657
|
Te(e.$slots, "title-buttons")
|
|
34655
34658
|
])
|
|
34656
34659
|
])) : U("", !0)
|
|
34657
34660
|
]),
|
|
34658
|
-
e.$slots["title-extra"] ? (
|
|
34661
|
+
e.$slots["title-extra"] ? (k(), O("div", zS, [
|
|
34659
34662
|
Te(e.$slots, "title-extra")
|
|
34660
34663
|
])) : U("", !0),
|
|
34661
34664
|
Te(e.$slots, "default")
|
|
@@ -34703,7 +34706,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34703
34706
|
window.removeEventListener("resize", a);
|
|
34704
34707
|
}), a(), window.addEventListener("resize", a), (l, c) => {
|
|
34705
34708
|
const u = Ad, d = Bd;
|
|
34706
|
-
return
|
|
34709
|
+
return k(), O(Be, null, [
|
|
34707
34710
|
P("div", NS, [
|
|
34708
34711
|
P("div", {
|
|
34709
34712
|
style: Rr(`margin-left: ${s.value}px;`),
|
|
@@ -34789,10 +34792,10 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34789
34792
|
closePanel: s
|
|
34790
34793
|
}), (a, l) => {
|
|
34791
34794
|
const c = He;
|
|
34792
|
-
return
|
|
34795
|
+
return k(), Q(DS, { title: t.title }, Un({
|
|
34793
34796
|
default: E(() => [
|
|
34794
|
-
a.$slots["preview-panel"] || a.$slots["preview-panel-extra"] || t.isShowPanelButtonVisible ? (
|
|
34795
|
-
t.isShowPanelButtonVisible ? (
|
|
34797
|
+
a.$slots["preview-panel"] || a.$slots["preview-panel-extra"] || t.isShowPanelButtonVisible ? (k(), O("div", jS, [
|
|
34798
|
+
t.isShowPanelButtonVisible ? (k(), O("div", US, [
|
|
34796
34799
|
Te(a.$slots, "show-panel-button", {
|
|
34797
34800
|
onClickHandler: () => {
|
|
34798
34801
|
i.value = !0;
|
|
@@ -34812,7 +34815,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34812
34815
|
P("div", qS, [
|
|
34813
34816
|
Te(a.$slots, "preview-panel")
|
|
34814
34817
|
]),
|
|
34815
|
-
a.$slots["preview-panel-extra"] ? (
|
|
34818
|
+
a.$slots["preview-panel-extra"] ? (k(), O("div", XS, [
|
|
34816
34819
|
Te(a.$slots, "preview-panel-extra")
|
|
34817
34820
|
])) : U("", !0)
|
|
34818
34821
|
], 512)) : U("", !0),
|
|
@@ -34953,7 +34956,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
34953
34956
|
var h;
|
|
34954
34957
|
return (h = u.value) == null ? void 0 : h.blurInput();
|
|
34955
34958
|
}
|
|
34956
|
-
}), (h, p) => (
|
|
34959
|
+
}), (h, p) => (k(), Q(M(on), {
|
|
34957
34960
|
ref: "select-component",
|
|
34958
34961
|
value: o.value,
|
|
34959
34962
|
clearable: t.clearable,
|
|
@@ -35058,7 +35061,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35058
35061
|
var h;
|
|
35059
35062
|
return (h = u.value) == null ? void 0 : h.blurInput();
|
|
35060
35063
|
}
|
|
35061
|
-
}), (h, p) => (
|
|
35064
|
+
}), (h, p) => (k(), Q(M(on), {
|
|
35062
35065
|
ref: "select-component",
|
|
35063
35066
|
value: o.value,
|
|
35064
35067
|
clearable: t.clearable,
|
|
@@ -35078,18 +35081,18 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35078
35081
|
selected: { type: Boolean }
|
|
35079
35082
|
},
|
|
35080
35083
|
setup(t) {
|
|
35081
|
-
return (e, i) => (
|
|
35084
|
+
return (e, i) => (k(), O("div", ZS, [
|
|
35082
35085
|
P("span", QS, [
|
|
35083
|
-
t.addr.postIndex ? (
|
|
35084
|
-
t.addr.city ? (
|
|
35085
|
-
t.addr.locality ? (
|
|
35086
|
-
t.addr.region ? (
|
|
35086
|
+
t.addr.postIndex ? (k(), O("span", JS, Y(t.addr.postIndex) + ", ", 1)) : U("", !0),
|
|
35087
|
+
t.addr.city ? (k(), O("span", e5, Y(t.addr.city) + ", ", 1)) : U("", !0),
|
|
35088
|
+
t.addr.locality ? (k(), O("span", t5, Y(t.addr.locality) + ", ", 1)) : U("", !0),
|
|
35089
|
+
t.addr.region ? (k(), O("span", i5, Y(t.addr.region) + ", ", 1)) : U("", !0)
|
|
35087
35090
|
]),
|
|
35088
35091
|
P("span", n5, [
|
|
35089
|
-
t.addr.street ? (
|
|
35090
|
-
t.addr.building ? (
|
|
35091
|
-
t.addr.buildingPart ? (
|
|
35092
|
-
t.addr.apartments ? (
|
|
35092
|
+
t.addr.street ? (k(), O("span", s5, Y(t.addr.street) + ", ", 1)) : U("", !0),
|
|
35093
|
+
t.addr.building ? (k(), O("span", r5, Y(t.addr.building) + ", ", 1)) : U("", !0),
|
|
35094
|
+
t.addr.buildingPart ? (k(), O("span", o5, Y(t.addr.buildingPart) + ", ", 1)) : U("", !0),
|
|
35095
|
+
t.addr.apartments ? (k(), O("span", a5, Y(t.addr.apartments) + ", ", 1)) : U("", !0)
|
|
35093
35096
|
])
|
|
35094
35097
|
]));
|
|
35095
35098
|
}
|
|
@@ -35170,7 +35173,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35170
35173
|
focus: h
|
|
35171
35174
|
}), (p, v) => {
|
|
35172
35175
|
const m = $l;
|
|
35173
|
-
return
|
|
35176
|
+
return k(), Q(m, {
|
|
35174
35177
|
ref_key: "autoCompleteElement",
|
|
35175
35178
|
ref: g,
|
|
35176
35179
|
value: r.value,
|
|
@@ -35196,11 +35199,11 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35196
35199
|
selected: { type: Boolean }
|
|
35197
35200
|
},
|
|
35198
35201
|
setup(t) {
|
|
35199
|
-
return (e, i) => (
|
|
35202
|
+
return (e, i) => (k(), O("div", d5, [
|
|
35200
35203
|
P("span", h5, Y(t.bank.name), 1),
|
|
35201
35204
|
P("span", f5, [
|
|
35202
|
-
t.bank.bic ? (
|
|
35203
|
-
t.bank.inn ? (
|
|
35205
|
+
t.bank.bic ? (k(), O("span", g5, " БИК: " + Y(t.bank.bic), 1)) : U("", !0),
|
|
35206
|
+
t.bank.inn ? (k(), O("span", p5, " ИНН: " + Y(t.bank.inn), 1)) : U("", !0)
|
|
35204
35207
|
])
|
|
35205
35208
|
]));
|
|
35206
35209
|
}
|
|
@@ -35278,7 +35281,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35278
35281
|
focus: h
|
|
35279
35282
|
}), (p, v) => {
|
|
35280
35283
|
const m = $l;
|
|
35281
|
-
return
|
|
35284
|
+
return k(), Q(m, {
|
|
35282
35285
|
ref_key: "autoCompleteElement",
|
|
35283
35286
|
ref: g,
|
|
35284
35287
|
value: r.value,
|
|
@@ -35320,13 +35323,13 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35320
35323
|
var s, r;
|
|
35321
35324
|
return ((r = (s = e.org.rawData) == null ? void 0 : s.address) == null ? void 0 : r.value) ?? "";
|
|
35322
35325
|
});
|
|
35323
|
-
return (s, r) => (
|
|
35326
|
+
return (s, r) => (k(), O("div", {
|
|
35324
35327
|
class: Ge(`m-0.5 flex flex-col p-0.5 ${i.value ? "line-through" : ""}`)
|
|
35325
35328
|
}, [
|
|
35326
35329
|
P("span", b5, Y(t.org.name), 1),
|
|
35327
|
-
t.org.inn || n.value ? (
|
|
35328
|
-
t.org.inn ? (
|
|
35329
|
-
n.value ? (
|
|
35330
|
+
t.org.inn || n.value ? (k(), O("div", _5, [
|
|
35331
|
+
t.org.inn ? (k(), O("span", w5, Y(t.org.inn), 1)) : U("", !0),
|
|
35332
|
+
n.value ? (k(), O("span", x5, Y(n.value), 1)) : U("", !0)
|
|
35330
35333
|
])) : U("", !0)
|
|
35331
35334
|
], 2));
|
|
35332
35335
|
}
|
|
@@ -35410,7 +35413,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35410
35413
|
focus: p
|
|
35411
35414
|
}), (v, m) => {
|
|
35412
35415
|
const y = $l;
|
|
35413
|
-
return
|
|
35416
|
+
return k(), Q(y, {
|
|
35414
35417
|
ref_key: "autoCompleteElement",
|
|
35415
35418
|
ref: h,
|
|
35416
35419
|
value: r.value,
|
|
@@ -35455,7 +35458,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35455
35458
|
};
|
|
35456
35459
|
return (a, l) => {
|
|
35457
35460
|
const c = He, u = Bn, d = Cl;
|
|
35458
|
-
return
|
|
35461
|
+
return k(), O("div", null, [
|
|
35459
35462
|
D(u, {
|
|
35460
35463
|
disabled: t.popoverText.length === 0,
|
|
35461
35464
|
placement: "bottom"
|
|
@@ -35548,14 +35551,14 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35548
35551
|
};
|
|
35549
35552
|
return (a, l) => {
|
|
35550
35553
|
const c = An;
|
|
35551
|
-
return
|
|
35554
|
+
return k(), Q(O1, {
|
|
35552
35555
|
disabled: t.disabled,
|
|
35553
35556
|
"onEditor:apply": r,
|
|
35554
35557
|
"onEditor:cancel": o
|
|
35555
35558
|
}, {
|
|
35556
35559
|
viewer: E(() => [
|
|
35557
35560
|
P("div", null, [
|
|
35558
|
-
t.comment ? (
|
|
35561
|
+
t.comment ? (k(), O("span", T5, Y(t.comment), 1)) : (k(), O("span", P5, " - Комментарий отсутствует - "))
|
|
35559
35562
|
])
|
|
35560
35563
|
]),
|
|
35561
35564
|
editor: E(() => [
|
|
@@ -35583,7 +35586,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35583
35586
|
let n = "";
|
|
35584
35587
|
return (e.showLabel ?? !1) && (e.debt > 0 ? n = "Переплата: " : e.debt < 0 && (n = "Задолженность: ")), n;
|
|
35585
35588
|
});
|
|
35586
|
-
return (n, s) => t.debt !== 0 ? (
|
|
35589
|
+
return (n, s) => t.debt !== 0 ? (k(), O("span", {
|
|
35587
35590
|
key: 0,
|
|
35588
35591
|
class: Ge({ "text-sm": t.wrapAsSmall })
|
|
35589
35592
|
}, [
|
|
@@ -35599,7 +35602,7 @@ const EC = Oe({ name: "tabler-truck-loading", render: MC }), IC = { class: "flex
|
|
|
35599
35602
|
height: "1.2em"
|
|
35600
35603
|
};
|
|
35601
35604
|
function A5(t, e) {
|
|
35602
|
-
return
|
|
35605
|
+
return k(), O("svg", B5, [...e[0] || (e[0] = [
|
|
35603
35606
|
P("path", {
|
|
35604
35607
|
fill: "currentColor",
|
|
35605
35608
|
d: "M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17m-198.6-1.83a20 20 0 1 1 20-20a20 20 0 0 1-20 20m21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7Z"
|
|
@@ -35616,7 +35619,7 @@ const M5 = Oe({ name: "ion-warning", render: A5 }), E5 = {}, k3 = /* @__PURE__ *
|
|
|
35616
35619
|
setup(t) {
|
|
35617
35620
|
return (e, i) => {
|
|
35618
35621
|
const n = M5, s = Bn;
|
|
35619
|
-
return
|
|
35622
|
+
return k(), Q(s, {
|
|
35620
35623
|
disabled: t.popoverText.length === 0,
|
|
35621
35624
|
placement: "bottom"
|
|
35622
35625
|
}, {
|