@snabcentr/vue-ui-lib 4.16.2 → 4.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/sc-vue-ui-lib.js
CHANGED
|
@@ -297,7 +297,7 @@ class yi {
|
|
|
297
297
|
);
|
|
298
298
|
}
|
|
299
299
|
}
|
|
300
|
-
const
|
|
300
|
+
const Y4 = {
|
|
301
301
|
required: {
|
|
302
302
|
required: !0,
|
|
303
303
|
type: "any",
|
|
@@ -343,7 +343,7 @@ const K4 = {
|
|
|
343
343
|
validator: (e, i) => i === null || Math.abs(i / t - Math.round(i / t)) < 1e-10 ? !0 : new Error(`Значение должно быть кратно ${t}`)
|
|
344
344
|
};
|
|
345
345
|
}
|
|
346
|
-
},
|
|
346
|
+
}, K4 = {
|
|
347
347
|
required: {
|
|
348
348
|
required: !0,
|
|
349
349
|
type: "date",
|
|
@@ -693,7 +693,7 @@ function Km(t, e) {
|
|
|
693
693
|
}, null, -1)
|
|
694
694
|
])]);
|
|
695
695
|
}
|
|
696
|
-
const Gd = He({ name: "ion-cart-outline", render: Km }), jo = Symbol(),
|
|
696
|
+
const Gd = He({ name: "ion-cart-outline", render: Km }), jo = Symbol(), G4 = {
|
|
697
697
|
Button: {
|
|
698
698
|
border: "1px solid grey"
|
|
699
699
|
},
|
|
@@ -22996,7 +22996,7 @@ const L_ = {
|
|
|
22996
22996
|
"onUpdate:value": c
|
|
22997
22997
|
}, null, 8, ["value", "clearable", "consistent-menu-width", "disabled", "filterable", "max-tag-count", "multiple", "options"]));
|
|
22998
22998
|
}
|
|
22999
|
-
}), r1 = {},
|
|
22999
|
+
}), r1 = {}, n6 = /* @__PURE__ */ ae({
|
|
23000
23000
|
...r1,
|
|
23001
23001
|
__name: "set-client-price-form-item",
|
|
23002
23002
|
props: {
|
|
@@ -23338,7 +23338,7 @@ const L_ = {
|
|
|
23338
23338
|
]), 1032, ["loading", "show", "size", "style", "title", "trap-focus", "action-class"]);
|
|
23339
23339
|
};
|
|
23340
23340
|
}
|
|
23341
|
-
}), u1 = { class: "text-sm" }, d1 = { class: "text-sm" }, h1 = {},
|
|
23341
|
+
}), u1 = { class: "text-sm" }, d1 = { class: "text-sm" }, h1 = {}, s6 = /* @__PURE__ */ ae({
|
|
23342
23342
|
...h1,
|
|
23343
23343
|
__name: "add-product-to-cart-dialog",
|
|
23344
23344
|
emits: ["submit"],
|
|
@@ -23682,7 +23682,7 @@ function S1(t, e) {
|
|
|
23682
23682
|
], -1)
|
|
23683
23683
|
])]);
|
|
23684
23684
|
}
|
|
23685
|
-
const $1 = He({ name: "tabler-mail", render: S1 }), T1 = ["href"], P1 = {},
|
|
23685
|
+
const $1 = He({ name: "tabler-mail", render: S1 }), T1 = ["href"], P1 = {}, r6 = /* @__PURE__ */ ae({
|
|
23686
23686
|
...P1,
|
|
23687
23687
|
__name: "email",
|
|
23688
23688
|
props: {
|
|
@@ -23844,7 +23844,7 @@ function j1(t, e) {
|
|
|
23844
23844
|
const q1 = He({ name: "tabler-phone-call", render: j1 }), U1 = {
|
|
23845
23845
|
key: 0,
|
|
23846
23846
|
class: "absolute left-0 top-0 flex w-full flex-row items-center justify-around text-center backdrop-blur-sm"
|
|
23847
|
-
}, X1 = ["href"], Y1 = ["href"], K1 = ["href"], G1 = ["href"], Z1 = {},
|
|
23847
|
+
}, X1 = ["href"], Y1 = ["href"], K1 = ["href"], G1 = ["href"], Z1 = {}, o6 = /* @__PURE__ */ ae({
|
|
23848
23848
|
...Z1,
|
|
23849
23849
|
__name: "phone",
|
|
23850
23850
|
props: {
|
|
@@ -23962,7 +23962,7 @@ const ew = He({ name: "mdi-envelope", render: J1 }), tw = { class: "flex flex-co
|
|
|
23962
23962
|
}, mw = {
|
|
23963
23963
|
key: 0,
|
|
23964
23964
|
class: "-mt-1"
|
|
23965
|
-
}, pw = {},
|
|
23965
|
+
}, pw = {}, a6 = /* @__PURE__ */ ae({
|
|
23966
23966
|
...pw,
|
|
23967
23967
|
__name: "person-contacts-block",
|
|
23968
23968
|
props: {
|
|
@@ -24085,7 +24085,7 @@ const ew = He({ name: "mdi-envelope", render: J1 }), tw = { class: "flex flex-co
|
|
|
24085
24085
|
};
|
|
24086
24086
|
}
|
|
24087
24087
|
});
|
|
24088
|
-
class
|
|
24088
|
+
class l6 {
|
|
24089
24089
|
/**
|
|
24090
24090
|
* Инициализирует экземпляр класса {@link ConfiguratorSettingsMosquito}.
|
|
24091
24091
|
*
|
|
@@ -24143,11 +24143,11 @@ class c6 {
|
|
|
24143
24143
|
this.color = e.color, this.crossbarCount = e.crossbarCount, this.descriptions = ka(e.descriptions), this.maxHeights = e.maxHeights, this.maxWidths = e.maxWidths, this.minHeight = e.minHeight, this.minWidth = e.minWidth, this.mountType = e.mountType, this.netType = e.netType, this.heightOverlaps = ka(e.heightOverlaps), this.widthOverlaps = ka(e.widthOverlaps), this.canSetDopProdaga = e.canSetDopProdaga;
|
|
24144
24144
|
}
|
|
24145
24145
|
}
|
|
24146
|
-
function
|
|
24146
|
+
function c6(t) {
|
|
24147
24147
|
var e;
|
|
24148
24148
|
return ((e = t.properties) == null ? void 0 : e.configurator) !== Zt.SandwichM2 ? !0 : t.properties.configuratorSettings !== void 0 && dt(t.products) && t.products.length > 0;
|
|
24149
24149
|
}
|
|
24150
|
-
const vw = { class: "flex flex-wrap gap-2" }, yw = { class: "flex flex-col" }, bw = { class: "flex flex-col" }, _w = {},
|
|
24150
|
+
const vw = { class: "flex flex-wrap gap-2" }, yw = { class: "flex flex-col" }, bw = { class: "flex flex-col" }, _w = {}, u6 = /* @__PURE__ */ ae({
|
|
24151
24151
|
..._w,
|
|
24152
24152
|
__name: "date-range",
|
|
24153
24153
|
props: {
|
|
@@ -24289,7 +24289,7 @@ const vw = { class: "flex flex-wrap gap-2" }, yw = { class: "flex flex-col" }, b
|
|
|
24289
24289
|
}, U(n.value), 3)) : N("", !0)
|
|
24290
24290
|
], 2));
|
|
24291
24291
|
}
|
|
24292
|
-
}), kw = { class: "flex flex-row gap-2.5" }, Cw = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, Sw = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, $w = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, Tw = {},
|
|
24292
|
+
}), kw = { class: "flex flex-row gap-2.5" }, Cw = { class: "flex grow basis-0 flex-row flex-wrap justify-start justify-items-start gap-y-1 md:flex-nowrap" }, Sw = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, $w = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, Tw = {}, d6 = /* @__PURE__ */ ae({
|
|
24293
24293
|
...Tw,
|
|
24294
24294
|
__name: "dialog-header",
|
|
24295
24295
|
props: {
|
|
@@ -24359,7 +24359,7 @@ function Rw(t, e) {
|
|
|
24359
24359
|
}, null, -1)
|
|
24360
24360
|
])]);
|
|
24361
24361
|
}
|
|
24362
|
-
const Fw = He({ name: "ion-download-outline", render: Rw }), Bw = {},
|
|
24362
|
+
const Fw = He({ name: "ion-download-outline", render: Rw }), Bw = {}, h6 = /* @__PURE__ */ ae({
|
|
24363
24363
|
...Bw,
|
|
24364
24364
|
__name: "single-file-upload-selector",
|
|
24365
24365
|
props: {
|
|
@@ -24639,7 +24639,7 @@ const zw = He({ name: "ion-options-outline", render: Ow }), Lw = { class: "flex
|
|
|
24639
24639
|
}, 8, ["disabled", "show-edit-button"]))
|
|
24640
24640
|
]));
|
|
24641
24641
|
}
|
|
24642
|
-
}), qw = {},
|
|
24642
|
+
}), qw = {}, f6 = /* @__PURE__ */ ae({
|
|
24643
24643
|
...qw,
|
|
24644
24644
|
__name: "debounced-input",
|
|
24645
24645
|
props: {
|
|
@@ -24677,7 +24677,7 @@ const zw = He({ name: "ion-options-outline", render: Ow }), Lw = { class: "flex
|
|
|
24677
24677
|
_: 3
|
|
24678
24678
|
}, 8, ["value", "clearable", "placeholder"]));
|
|
24679
24679
|
}
|
|
24680
|
-
}), Uw = {},
|
|
24680
|
+
}), Uw = {}, g6 = /* @__PURE__ */ ae({
|
|
24681
24681
|
...Uw,
|
|
24682
24682
|
__name: "debounced-input-number",
|
|
24683
24683
|
props: {
|
|
@@ -24812,7 +24812,7 @@ const zw = He({ name: "ion-options-outline", render: Ow }), Lw = { class: "flex
|
|
|
24812
24812
|
class: "tel-input"
|
|
24813
24813
|
}, null, 8, ["modelValue", "default-country", "disabled", "input-options", "preferred-countries", "only-countries"]));
|
|
24814
24814
|
}
|
|
24815
|
-
}),
|
|
24815
|
+
}), m6 = /* @__PURE__ */ es(Yw, [["__scopeId", "data-v-751dbb0e"]]), Kw = {
|
|
24816
24816
|
viewBox: "0 0 24 24",
|
|
24817
24817
|
width: "1.2em",
|
|
24818
24818
|
height: "1.2em"
|
|
@@ -24829,7 +24829,7 @@ function Gw(t, e) {
|
|
|
24829
24829
|
}, null, -1)
|
|
24830
24830
|
])]);
|
|
24831
24831
|
}
|
|
24832
|
-
const Zw = He({ name: "tabler-external-link", render: Gw }), Qw = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, Jw = ["href"], ex = {},
|
|
24832
|
+
const Zw = He({ name: "tabler-external-link", render: Gw }), Qw = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, Jw = ["href"], ex = {}, p6 = /* @__PURE__ */ ae({
|
|
24833
24833
|
...ex,
|
|
24834
24834
|
__name: "external-link",
|
|
24835
24835
|
props: {
|
|
@@ -28184,7 +28184,7 @@ const mk = "n", pk = `.${mk}-`, vk = "__", yk = "--", Hf = wf(), Wf = gk({
|
|
|
28184
28184
|
Hf.use(Wf);
|
|
28185
28185
|
const {
|
|
28186
28186
|
c: ke,
|
|
28187
|
-
find:
|
|
28187
|
+
find: v6
|
|
28188
28188
|
} = Hf, {
|
|
28189
28189
|
cB: Pe,
|
|
28190
28190
|
cE: Me,
|
|
@@ -34646,7 +34646,7 @@ const xS = Object.assign(Object.assign({}, ni.props), {
|
|
|
34646
34646
|
}), PS = { class: "col-span-2 flex flex-row gap-2.5" }, RS = { class: "flex-1" }, FS = { class: "text-sc-grey" }, BS = { class: "ml-2.5" }, MS = {
|
|
34647
34647
|
key: 0,
|
|
34648
34648
|
class: "flex-none"
|
|
34649
|
-
}, AS = {},
|
|
34649
|
+
}, AS = {}, y6 = /* @__PURE__ */ ae({
|
|
34650
34650
|
...AS,
|
|
34651
34651
|
__name: "products-list",
|
|
34652
34652
|
props: {
|
|
@@ -34755,9 +34755,9 @@ const xS = Object.assign(Object.assign({}, ni.props), {
|
|
|
34755
34755
|
}
|
|
34756
34756
|
}), ES = { class: "flex flex-col" }, IS = { class: "flex flex-col gap-1.5 text-base text-nowrap" }, OS = { class: "font-medium" }, zS = { class: "flex flex-col text-sc-dark-grey" }, LS = { key: 0 }, DS = { class: "font-medium" }, NS = { class: "font-medium" }, HS = { class: "font-medium" }, WS = { class: "font-medium" }, VS = { class: "font-medium" }, jS = { class: "font-medium" }, qS = { class: "font-medium" }, US = { class: "font-medium" }, XS = { class: "font-medium" }, YS = { class: "font-medium" }, KS = { class: "flex flex-col gap-1.5 text-base text-nowrap" }, GS = { class: "font-medium" }, ZS = { class: "flex flex-col text-sc-dark-grey" }, QS = { class: "font-medium" }, JS = { class: "font-medium" }, e5 = { class: "flex flex-col gap-1.5 text-base text-nowrap" }, t5 = { class: "font-medium" }, i5 = { class: "text-sc-dark-grey" }, n5 = { class: "font-medium" }, s5 = {
|
|
34757
34757
|
key: 1,
|
|
34758
|
-
class: "text-base text-nowrap"
|
|
34759
|
-
}, r5 = {
|
|
34760
|
-
...
|
|
34758
|
+
class: "text-base font-medium text-nowrap"
|
|
34759
|
+
}, r5 = {}, o5 = /* @__PURE__ */ ae({
|
|
34760
|
+
...r5,
|
|
34761
34761
|
__name: "order-item-params",
|
|
34762
34762
|
props: {
|
|
34763
34763
|
item: {},
|
|
@@ -34924,34 +34924,31 @@ const xS = Object.assign(Object.assign({}, ni.props), {
|
|
|
34924
34924
|
ie(U(t.item.product.unit.name), 1)
|
|
34925
34925
|
]),
|
|
34926
34926
|
_: 1
|
|
34927
|
-
}, 8, ["value", "parse", "min", "step", "show-button", "disabled", "loading", "onFocus"])) : (b(), E("span", s5,
|
|
34928
|
-
g[15] || (g[15] = ie(" Количество: ", -1)),
|
|
34929
|
-
C("span", r5, U(t.item.quantity) + " " + U(t.item.product.unit.name), 1)
|
|
34930
|
-
]))
|
|
34927
|
+
}, 8, ["value", "parse", "min", "step", "show-button", "disabled", "loading", "onFocus"])) : (b(), E("span", s5, U(t.item.quantity) + " " + U(t.item.product.unit.name), 1))
|
|
34931
34928
|
], 64))
|
|
34932
34929
|
]);
|
|
34933
34930
|
};
|
|
34934
34931
|
}
|
|
34935
|
-
}),
|
|
34932
|
+
}), a5 = {
|
|
34936
34933
|
viewBox: "0 0 24 24",
|
|
34937
34934
|
width: "1.2em",
|
|
34938
34935
|
height: "1.2em"
|
|
34939
34936
|
};
|
|
34940
|
-
function
|
|
34941
|
-
return b(), E("svg",
|
|
34937
|
+
function l5(t, e) {
|
|
34938
|
+
return b(), E("svg", a5, [...e[0] || (e[0] = [
|
|
34942
34939
|
C("path", {
|
|
34943
34940
|
fill: "currentColor",
|
|
34944
34941
|
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"
|
|
34945
34942
|
}, null, -1)
|
|
34946
34943
|
])]);
|
|
34947
34944
|
}
|
|
34948
|
-
const
|
|
34945
|
+
const c5 = He({ name: "tabler-truck-filled", render: l5 }), u5 = {
|
|
34949
34946
|
viewBox: "0 0 24 24",
|
|
34950
34947
|
width: "1.2em",
|
|
34951
34948
|
height: "1.2em"
|
|
34952
34949
|
};
|
|
34953
|
-
function
|
|
34954
|
-
return b(), E("svg",
|
|
34950
|
+
function d5(t, e) {
|
|
34951
|
+
return b(), E("svg", u5, [...e[0] || (e[0] = [
|
|
34955
34952
|
C("g", {
|
|
34956
34953
|
fill: "none",
|
|
34957
34954
|
stroke: "currentColor",
|
|
@@ -34964,13 +34961,13 @@ function h5(t, e) {
|
|
|
34964
34961
|
], -1)
|
|
34965
34962
|
])]);
|
|
34966
34963
|
}
|
|
34967
|
-
const
|
|
34964
|
+
const h5 = He({ name: "tabler-truck-delivery", render: d5 }), f5 = {
|
|
34968
34965
|
viewBox: "0 0 24 24",
|
|
34969
34966
|
width: "1.2em",
|
|
34970
34967
|
height: "1.2em"
|
|
34971
34968
|
};
|
|
34972
|
-
function
|
|
34973
|
-
return b(), E("svg",
|
|
34969
|
+
function g5(t, e) {
|
|
34970
|
+
return b(), E("svg", f5, [...e[0] || (e[0] = [
|
|
34974
34971
|
C("g", {
|
|
34975
34972
|
fill: "none",
|
|
34976
34973
|
stroke: "currentColor",
|
|
@@ -34983,14 +34980,14 @@ function m5(t, e) {
|
|
|
34983
34980
|
], -1)
|
|
34984
34981
|
])]);
|
|
34985
34982
|
}
|
|
34986
|
-
const
|
|
34983
|
+
const m5 = He({ name: "tabler-truck-loading", render: g5 }), p5 = { class: "flex flex-col gap-1" }, v5 = {
|
|
34987
34984
|
key: 0,
|
|
34988
34985
|
class: "flex flex-row gap-1 text-sm text-sc-grey"
|
|
34989
|
-
},
|
|
34986
|
+
}, y5 = {
|
|
34990
34987
|
key: 1,
|
|
34991
34988
|
class: "text-base"
|
|
34992
|
-
},
|
|
34993
|
-
...
|
|
34989
|
+
}, b5 = { class: "text-sc-dark-grey mr-1.5" }, _5 = { key: 0 }, w5 = { key: 1 }, x5 = {}, gc = /* @__PURE__ */ ae({
|
|
34990
|
+
...x5,
|
|
34994
34991
|
__name: "order-delivery-label",
|
|
34995
34992
|
props: {
|
|
34996
34993
|
delivery: {},
|
|
@@ -35012,24 +35009,24 @@ const p5 = He({ name: "tabler-truck-loading", render: m5 }), v5 = { class: "flex
|
|
|
35012
35009
|
), s = t;
|
|
35013
35010
|
return (r, o) => {
|
|
35014
35011
|
var u, d, f, g, h, m, p, v;
|
|
35015
|
-
const a =
|
|
35016
|
-
return b(), E("div",
|
|
35017
|
-
t.showType ? (b(), E("span",
|
|
35012
|
+
const a = m5, l = h5, c = c5;
|
|
35013
|
+
return b(), E("div", p5, [
|
|
35014
|
+
t.showType ? (b(), E("span", v5, [
|
|
35018
35015
|
((u = e.value) == null ? void 0 : u.slug) === "self_delivery" ? (b(), te(a, { key: 0 })) : N("", !0),
|
|
35019
35016
|
((d = e.value) == null ? void 0 : d.slug) === "delivery" ? (b(), te(l, { key: 1 })) : N("", !0),
|
|
35020
35017
|
((f = e.value) == null ? void 0 : f.slug) === "transport_company_delivery" ? (b(), te(c, { key: 2 })) : N("", !0),
|
|
35021
35018
|
C("span", null, U((g = e.value) == null ? void 0 : g.name), 1)
|
|
35022
35019
|
])) : N("", !0),
|
|
35023
|
-
t.showDetails ? (b(), E("span",
|
|
35024
|
-
C("span",
|
|
35025
|
-
(m = (h = t.delivery) == null ? void 0 : h.address) != null && m.address ? (b(), E("span",
|
|
35026
|
-
(v = (p = t.delivery) == null ? void 0 : p.warehouse) != null && v.address ? (b(), E("span",
|
|
35020
|
+
t.showDetails ? (b(), E("span", y5, [
|
|
35021
|
+
C("span", b5, U(i.value), 1),
|
|
35022
|
+
(m = (h = t.delivery) == null ? void 0 : h.address) != null && m.address ? (b(), E("span", _5, U(n.value), 1)) : N("", !0),
|
|
35023
|
+
(v = (p = t.delivery) == null ? void 0 : p.warehouse) != null && v.address ? (b(), E("span", w5, " со склада " + U(t.delivery.warehouse.address), 1)) : N("", !0)
|
|
35027
35024
|
])) : N("", !0)
|
|
35028
35025
|
]);
|
|
35029
35026
|
};
|
|
35030
35027
|
}
|
|
35031
|
-
}),
|
|
35032
|
-
...
|
|
35028
|
+
}), k5 = { class: "flex flex-col gap-2.5" }, C5 = { class: "text-base" }, S5 = ["href"], $5 = { class: "text-sc-grey" }, T5 = {}, P5 = /* @__PURE__ */ ae({
|
|
35029
|
+
...T5,
|
|
35033
35030
|
__name: "order-common-info",
|
|
35034
35031
|
props: {
|
|
35035
35032
|
order: {},
|
|
@@ -35053,14 +35050,14 @@ const p5 = He({ name: "tabler-truck-loading", render: m5 }), v5 = { class: "flex
|
|
|
35053
35050
|
), s = A(() => e.fields.includes(Ze.CreatedAt)), r = A(
|
|
35054
35051
|
() => e.fields.includes(Ze.ClientInfo) || e.fields.includes(Ze.ClientInfoShort) ? e.order.client : void 0
|
|
35055
35052
|
), o = A(() => e.fields.includes(Ze.DeliveryInfo) ? e.order.delivery : void 0);
|
|
35056
|
-
return (a, l) => (b(), E("div",
|
|
35057
|
-
C("span",
|
|
35053
|
+
return (a, l) => (b(), E("div", k5, [
|
|
35054
|
+
C("span", C5, [
|
|
35058
35055
|
i.value ? (b(), E("a", {
|
|
35059
35056
|
key: 0,
|
|
35060
35057
|
href: t.orderUrl.replace(":id", t.order.id.toString()),
|
|
35061
35058
|
target: "_blank",
|
|
35062
35059
|
class: "text-sc-dark-grey"
|
|
35063
|
-
}, " #" + U(i.value), 9,
|
|
35060
|
+
}, " #" + U(i.value), 9, S5)) : N("", !0),
|
|
35064
35061
|
s.value ? (b(), E(be, { key: 1 }, [
|
|
35065
35062
|
l[0] || (l[0] = ie(" от ", -1)),
|
|
35066
35063
|
D(_l, {
|
|
@@ -35070,7 +35067,7 @@ const p5 = He({ name: "tabler-truck-loading", render: m5 }), v5 = { class: "flex
|
|
|
35070
35067
|
], 64)) : N("", !0),
|
|
35071
35068
|
n.value ? (b(), E(be, { key: 2 }, [
|
|
35072
35069
|
l[1] || (l[1] = ie(" - ", -1)),
|
|
35073
|
-
C("span",
|
|
35070
|
+
C("span", $5, U(n.value), 1)
|
|
35074
35071
|
], 64)) : N("", !0),
|
|
35075
35072
|
t.order.isOnOrder ? (b(), E(be, { key: 3 }, [
|
|
35076
35073
|
l[2] || (l[2] = ie(" - ", -1)),
|
|
@@ -35093,8 +35090,8 @@ const p5 = He({ name: "tabler-truck-loading", render: m5 }), v5 = { class: "flex
|
|
|
35093
35090
|
}, null, 8, ["delivery"])) : N("", !0)
|
|
35094
35091
|
]));
|
|
35095
35092
|
}
|
|
35096
|
-
}),
|
|
35097
|
-
...
|
|
35093
|
+
}), R5 = {}, sg = /* @__PURE__ */ ae({
|
|
35094
|
+
...R5,
|
|
35098
35095
|
__name: "order-payment",
|
|
35099
35096
|
props: {
|
|
35100
35097
|
payment: {}
|
|
@@ -35109,8 +35106,8 @@ const p5 = He({ name: "tabler-truck-loading", render: m5 }), v5 = { class: "flex
|
|
|
35109
35106
|
return b(), E("span", null, U(((r = i.value) == null ? void 0 : r.name) ?? "-"), 1);
|
|
35110
35107
|
};
|
|
35111
35108
|
}
|
|
35112
|
-
}),
|
|
35113
|
-
...
|
|
35109
|
+
}), F5 = {}, vo = /* @__PURE__ */ ae({
|
|
35110
|
+
...F5,
|
|
35114
35111
|
__name: "creator-user-type-tag",
|
|
35115
35112
|
props: {
|
|
35116
35113
|
userType: { default: void 0 },
|
|
@@ -35140,36 +35137,36 @@ const p5 = He({ name: "tabler-truck-loading", render: m5 }), v5 = { class: "flex
|
|
|
35140
35137
|
class: We(`inline-block py-[0.0625rem] px-1.5 text-xs font-bold text-center whitespace-nowrap rounded text-white no-underline opacity-100 ${n.value}`)
|
|
35141
35138
|
}, U(s.value), 3));
|
|
35142
35139
|
}
|
|
35143
|
-
}),
|
|
35140
|
+
}), B5 = { class: "flex flex-row gap-1.5" }, M5 = { class: "flex-none text-nowrap" }, A5 = { class: "flex flex-1 flex-col gap-2.5" }, E5 = {
|
|
35144
35141
|
key: 0,
|
|
35145
35142
|
class: "text-sm"
|
|
35146
|
-
},
|
|
35147
|
-
...
|
|
35143
|
+
}, I5 = { class: "text-gray-600" }, O5 = { class: "grid grid-flow-col grid-rows-2 gap-1 text-base" }, z5 = { key: 0 }, L5 = { key: 1 }, D5 = {}, N5 = /* @__PURE__ */ ae({
|
|
35144
|
+
...D5,
|
|
35148
35145
|
__name: "order-product-info",
|
|
35149
35146
|
props: {
|
|
35150
35147
|
product: {},
|
|
35151
35148
|
index: {}
|
|
35152
35149
|
},
|
|
35153
35150
|
setup(t) {
|
|
35154
|
-
return (e, i) => (b(), E("div",
|
|
35155
|
-
C("span",
|
|
35156
|
-
C("div",
|
|
35151
|
+
return (e, i) => (b(), E("div", B5, [
|
|
35152
|
+
C("span", M5, U(t.index + 1) + ".", 1),
|
|
35153
|
+
C("div", A5, [
|
|
35157
35154
|
D(Co, {
|
|
35158
35155
|
product: t.product.product,
|
|
35159
35156
|
"show-planning-dates": !1
|
|
35160
35157
|
}, null, 8, ["product"]),
|
|
35161
|
-
t.product.marker ? (b(), E("span",
|
|
35158
|
+
t.product.marker ? (b(), E("span", E5, [
|
|
35162
35159
|
i[0] || (i[0] = ie(" Маркировка: ", -1)),
|
|
35163
|
-
C("span",
|
|
35160
|
+
C("span", I5, U(t.product.marker), 1)
|
|
35164
35161
|
])) : N("", !0),
|
|
35165
35162
|
t.product.creator && t.product.creator.type ? (b(), te(vo, {
|
|
35166
35163
|
key: 1,
|
|
35167
35164
|
"user-type": t.product.creator.type,
|
|
35168
35165
|
class: "self-start"
|
|
35169
35166
|
}, null, 8, ["user-type"])) : N("", !0),
|
|
35170
|
-
C("div",
|
|
35167
|
+
C("div", O5, [
|
|
35171
35168
|
i[1] || (i[1] = C("span", null, "Кол-во", -1)),
|
|
35172
|
-
t.product.product.getIsMeasurable() ? (b(), E("span",
|
|
35169
|
+
t.product.product.getIsMeasurable() ? (b(), E("span", z5, U(`${t.product.length} ${t.product.product.unit.name} x ${t.product.quantity} шт.`), 1)) : (b(), E("span", L5, U(`${t.product.quantity} ${t.product.product.unit.name}`), 1)),
|
|
35173
35170
|
i[2] || (i[2] = C("span", null, "Цена за ед.", -1)),
|
|
35174
35171
|
D(Kn, {
|
|
35175
35172
|
product: t.product,
|
|
@@ -35184,13 +35181,13 @@ const p5 = He({ name: "tabler-truck-loading", render: m5 }), v5 = { class: "flex
|
|
|
35184
35181
|
])
|
|
35185
35182
|
]));
|
|
35186
35183
|
}
|
|
35187
|
-
}),
|
|
35184
|
+
}), H5 = {
|
|
35188
35185
|
viewBox: "0 0 512 512",
|
|
35189
35186
|
width: "1.2em",
|
|
35190
35187
|
height: "1.2em"
|
|
35191
35188
|
};
|
|
35192
|
-
function
|
|
35193
|
-
return b(), E("svg",
|
|
35189
|
+
function W5(t, e) {
|
|
35190
|
+
return b(), E("svg", H5, [...e[0] || (e[0] = [
|
|
35194
35191
|
C("path", {
|
|
35195
35192
|
fill: "none",
|
|
35196
35193
|
stroke: "currentColor",
|
|
@@ -35217,8 +35214,8 @@ function V5(t, e) {
|
|
|
35217
35214
|
}, null, -1)
|
|
35218
35215
|
])]);
|
|
35219
35216
|
}
|
|
35220
|
-
const
|
|
35221
|
-
...
|
|
35217
|
+
const V5 = He({ name: "ion-trash-outline", render: W5 }), j5 = {}, q5 = /* @__PURE__ */ ae({
|
|
35218
|
+
...j5,
|
|
35222
35219
|
__name: "order-item-specification",
|
|
35223
35220
|
props: {
|
|
35224
35221
|
src: {}
|
|
@@ -35242,8 +35239,8 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35242
35239
|
])
|
|
35243
35240
|
], 64));
|
|
35244
35241
|
}
|
|
35245
|
-
}),
|
|
35246
|
-
...
|
|
35242
|
+
}), U5 = { class: "flex flex-col gap-0.5" }, X5 = { class: "text-gray-600" }, Y5 = {}, K5 = /* @__PURE__ */ ae({
|
|
35243
|
+
...Y5,
|
|
35247
35244
|
__name: "order-item-name",
|
|
35248
35245
|
props: {
|
|
35249
35246
|
item: {}
|
|
@@ -35256,7 +35253,7 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35256
35253
|
var a, l;
|
|
35257
35254
|
return "replacement" in e.item ? (l = (a = e.item.replacement) == null ? void 0 : a.creator) == null ? void 0 : l.type : void 0;
|
|
35258
35255
|
});
|
|
35259
|
-
return (a, l) => (b(), E("div",
|
|
35256
|
+
return (a, l) => (b(), E("div", U5, [
|
|
35260
35257
|
C("div", {
|
|
35261
35258
|
class: We(i.value ? "line-through opacity-50" : "")
|
|
35262
35259
|
}, [
|
|
@@ -35272,13 +35269,13 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35272
35269
|
class: We(i.value ? "line-through opacity-50" : "")
|
|
35273
35270
|
}, [
|
|
35274
35271
|
l[0] || (l[0] = ie(" Маркировка: ", -1)),
|
|
35275
|
-
C("span",
|
|
35272
|
+
C("span", X5, U(t.item.marker), 1)
|
|
35276
35273
|
], 2)) : N("", !0),
|
|
35277
35274
|
s.value ? (b(), E("div", {
|
|
35278
35275
|
key: 1,
|
|
35279
35276
|
class: We(i.value ? "line-through opacity-50" : "")
|
|
35280
35277
|
}, [
|
|
35281
|
-
D(
|
|
35278
|
+
D(q5, { src: s.value }, null, 8, ["src"])
|
|
35282
35279
|
], 2)) : N("", !0),
|
|
35283
35280
|
n.value && !i.value ? (b(), te(vo, {
|
|
35284
35281
|
key: 2,
|
|
@@ -35300,8 +35297,8 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35300
35297
|
}, null, 8, ["user-type", "changed-fields"])) : N("", !0)
|
|
35301
35298
|
]));
|
|
35302
35299
|
}
|
|
35303
|
-
}),
|
|
35304
|
-
...
|
|
35300
|
+
}), G5 = {}, Z5 = /* @__PURE__ */ ae({
|
|
35301
|
+
...G5,
|
|
35305
35302
|
__name: "order-items-list",
|
|
35306
35303
|
props: /* @__PURE__ */ tl({
|
|
35307
35304
|
products: {},
|
|
@@ -35353,7 +35350,7 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35353
35350
|
title: "Наименование",
|
|
35354
35351
|
key: "name",
|
|
35355
35352
|
resizable: !0,
|
|
35356
|
-
render: (m) => j(
|
|
35353
|
+
render: (m) => j(K5, { item: m })
|
|
35357
35354
|
},
|
|
35358
35355
|
{
|
|
35359
35356
|
title: "Кол-во",
|
|
@@ -35361,7 +35358,7 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35361
35358
|
resizable: !0,
|
|
35362
35359
|
width: 180,
|
|
35363
35360
|
rowSpan: a,
|
|
35364
|
-
render: (m) => j(
|
|
35361
|
+
render: (m) => j(o5, {
|
|
35365
35362
|
class: s(m) ? "line-through opacity-50" : "",
|
|
35366
35363
|
item: m,
|
|
35367
35364
|
eventEmitter: e.eventEmitter,
|
|
@@ -35398,7 +35395,7 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35398
35395
|
(p = e.eventEmitter) == null || p.emit("order-item:delete", { item: m });
|
|
35399
35396
|
}
|
|
35400
35397
|
},
|
|
35401
|
-
() => j(
|
|
35398
|
+
() => j(V5)
|
|
35402
35399
|
)
|
|
35403
35400
|
}
|
|
35404
35401
|
] : []
|
|
@@ -35430,7 +35427,7 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35430
35427
|
title: "",
|
|
35431
35428
|
key: "items",
|
|
35432
35429
|
resizable: !0,
|
|
35433
|
-
render: (m, p) => j(
|
|
35430
|
+
render: (m, p) => j(N5, { product: m, index: p })
|
|
35434
35431
|
}
|
|
35435
35432
|
];
|
|
35436
35433
|
case vt.laptop:
|
|
@@ -35461,14 +35458,14 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35461
35458
|
], 64);
|
|
35462
35459
|
};
|
|
35463
35460
|
}
|
|
35464
|
-
}),
|
|
35461
|
+
}), Q5 = /* @__PURE__ */ es(Z5, [["__scopeId", "data-v-e1fad754"]]), J5 = {
|
|
35465
35462
|
key: 0,
|
|
35466
35463
|
class: "text-sc-dark-grey my-2 text-center"
|
|
35467
|
-
},
|
|
35464
|
+
}, e3 = {
|
|
35468
35465
|
key: 1,
|
|
35469
35466
|
class: "text-sc-dark-grey my-2"
|
|
35470
|
-
},
|
|
35471
|
-
...
|
|
35467
|
+
}, t3 = {}, i3 = /* @__PURE__ */ ae({
|
|
35468
|
+
...t3,
|
|
35472
35469
|
__name: "order-status-history",
|
|
35473
35470
|
props: {
|
|
35474
35471
|
order: {}
|
|
@@ -35492,13 +35489,13 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35492
35489
|
const c = Jn, u = Qg, d = Zg;
|
|
35493
35490
|
return b(), E("div", null, [
|
|
35494
35491
|
l[1] || (l[1] = C("h3", { class: "!mb-3 !mt-0 text-base font-semibold" }, "История статусов", -1)),
|
|
35495
|
-
i.value ? (b(), E("div",
|
|
35492
|
+
i.value ? (b(), E("div", J5, [
|
|
35496
35493
|
D(c, {
|
|
35497
35494
|
size: "small",
|
|
35498
35495
|
class: "mb-1 align-middle"
|
|
35499
35496
|
}),
|
|
35500
35497
|
l[0] || (l[0] = C("span", { class: "ml-2" }, "Загрузка истории ...", -1))
|
|
35501
|
-
])) : n.value.length === 0 ? (b(), E("div",
|
|
35498
|
+
])) : n.value.length === 0 ? (b(), E("div", e3, " История статусов отсутствует. ")) : (b(), te(d, { key: 2 }, {
|
|
35502
35499
|
default: O(() => [
|
|
35503
35500
|
(b(!0), E(be, null, Pt(n.value, (f, g) => (b(), te(u, {
|
|
35504
35501
|
key: g,
|
|
@@ -35513,8 +35510,8 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35513
35510
|
]);
|
|
35514
35511
|
};
|
|
35515
35512
|
}
|
|
35516
|
-
}),
|
|
35517
|
-
...
|
|
35513
|
+
}), n3 = { class: "text-base" }, s3 = {}, Md = /* @__PURE__ */ ae({
|
|
35514
|
+
...s3,
|
|
35518
35515
|
__name: "user-short-info",
|
|
35519
35516
|
props: {
|
|
35520
35517
|
user: {},
|
|
@@ -35525,15 +35522,15 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35525
35522
|
return (e, i) => (b(), E("div", {
|
|
35526
35523
|
class: We({ "flex flex-col": t.showUserType && t.extraInfoOnSecondLine })
|
|
35527
35524
|
}, [
|
|
35528
|
-
C("span",
|
|
35525
|
+
C("span", n3, U(t.user.name), 1),
|
|
35529
35526
|
t.showUserType ? (b(), E("span", {
|
|
35530
35527
|
key: 0,
|
|
35531
35528
|
class: We([{ "ml-1": !t.extraInfoOnSecondLine }, "text-sc-grey"])
|
|
35532
35529
|
}, " [" + U(t.user.type) + "] ", 3)) : N("", !0)
|
|
35533
35530
|
], 2));
|
|
35534
35531
|
}
|
|
35535
|
-
}),
|
|
35536
|
-
...
|
|
35532
|
+
}), r3 = { class: "ml-4 grid grid-cols-3 gap-1.5 text-base" }, o3 = { class: "col-span-2" }, a3 = { class: "col-span-2" }, l3 = {}, c3 = /* @__PURE__ */ ae({
|
|
35533
|
+
...l3,
|
|
35537
35534
|
__name: "order-details",
|
|
35538
35535
|
props: {
|
|
35539
35536
|
order: {}
|
|
@@ -35543,7 +35540,7 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35543
35540
|
const i = e;
|
|
35544
35541
|
return (n, s) => (b(), E("div", null, [
|
|
35545
35542
|
s[11] || (s[11] = C("h3", null, "Детали заказа", -1)),
|
|
35546
|
-
C("div",
|
|
35543
|
+
C("div", r3, [
|
|
35547
35544
|
t.order.creator.id !== t.order.client.id ? (b(), E(be, { key: 0 }, [
|
|
35548
35545
|
s[1] || (s[1] = C("span", null, "Создал", -1)),
|
|
35549
35546
|
D(Md, {
|
|
@@ -35573,7 +35570,7 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35573
35570
|
], 64)) : N("", !0),
|
|
35574
35571
|
t.order.barcode ? (b(), E(be, { key: 3 }, [
|
|
35575
35572
|
s[5] || (s[5] = C("span", null, "Штрих-код", -1)),
|
|
35576
|
-
C("span",
|
|
35573
|
+
C("span", o3, U(t.order.barcode), 1)
|
|
35577
35574
|
], 64)) : N("", !0),
|
|
35578
35575
|
t.order.payment ? (b(), E(be, { key: 4 }, [
|
|
35579
35576
|
s[6] || (s[6] = C("span", null, "Оплата", -1)),
|
|
@@ -35591,7 +35588,7 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35591
35588
|
], 64)) : N("", !0),
|
|
35592
35589
|
t.order.comment ? (b(), E(be, { key: 6 }, [
|
|
35593
35590
|
s[8] || (s[8] = C("span", null, "Комментарий", -1)),
|
|
35594
|
-
C("span",
|
|
35591
|
+
C("span", a3, U(t.order.comment), 1)
|
|
35595
35592
|
], 64)) : N("", !0),
|
|
35596
35593
|
t.order.attachedUser ? (b(), E(be, { key: 7 }, [
|
|
35597
35594
|
s[9] || (s[9] = C("span", null, "Закреплен за", -1)),
|
|
@@ -35603,13 +35600,13 @@ const j5 = He({ name: "ion-trash-outline", render: V5 }), q5 = {}, U5 = /* @__PU
|
|
|
35603
35600
|
])
|
|
35604
35601
|
]));
|
|
35605
35602
|
}
|
|
35606
|
-
}),
|
|
35603
|
+
}), u3 = {
|
|
35607
35604
|
viewBox: "0 0 512 512",
|
|
35608
35605
|
width: "1.2em",
|
|
35609
35606
|
height: "1.2em"
|
|
35610
35607
|
};
|
|
35611
|
-
function
|
|
35612
|
-
return b(), E("svg",
|
|
35608
|
+
function d3(t, e) {
|
|
35609
|
+
return b(), E("svg", u3, [...e[0] || (e[0] = [
|
|
35613
35610
|
C("rect", {
|
|
35614
35611
|
width: "336",
|
|
35615
35612
|
height: "336",
|
|
@@ -35632,11 +35629,11 @@ function h3(t, e) {
|
|
|
35632
35629
|
}, null, -1)
|
|
35633
35630
|
])]);
|
|
35634
35631
|
}
|
|
35635
|
-
const
|
|
35632
|
+
const h3 = He({ name: "ion-copy-outline", render: d3 }), f3 = { class: "flex flex-col items-start gap-1.5 text-base" }, g3 = ["href"], m3 = ["href"], p3 = {
|
|
35636
35633
|
key: 1,
|
|
35637
35634
|
class: "flex items-center gap-2"
|
|
35638
|
-
},
|
|
35639
|
-
...
|
|
35635
|
+
}, v3 = ["href"], y3 = {}, b3 = /* @__PURE__ */ ae({
|
|
35636
|
+
...y3,
|
|
35640
35637
|
__name: "order-external-links",
|
|
35641
35638
|
props: {
|
|
35642
35639
|
order: {}
|
|
@@ -35648,25 +35645,25 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
35648
35645
|
});
|
|
35649
35646
|
return (i, n) => {
|
|
35650
35647
|
var o;
|
|
35651
|
-
const s =
|
|
35648
|
+
const s = h3, r = Ne;
|
|
35652
35649
|
return e.value ? (b(), E(be, { key: 0 }, [
|
|
35653
35650
|
n[0] || (n[0] = C("h3", { class: "!mb-3 !mt-0 text-base font-semibold" }, "Внешние ссылки", -1)),
|
|
35654
|
-
C("div",
|
|
35651
|
+
C("div", f3, [
|
|
35655
35652
|
t.order.erpOrderUrl ? (b(), E("a", {
|
|
35656
35653
|
key: 0,
|
|
35657
35654
|
href: t.order.erpOrderUrl,
|
|
35658
35655
|
target: "_blank"
|
|
35659
|
-
}, " Открыть заявку в ERP ", 8,
|
|
35656
|
+
}, " Открыть заявку в ERP ", 8, g3)) : N("", !0),
|
|
35660
35657
|
(b(!0), E(be, null, Pt(t.order.invoices ?? [], (a, l) => (b(), E("a", {
|
|
35661
35658
|
key: l,
|
|
35662
35659
|
class: "btn btn-primary",
|
|
35663
35660
|
href: a
|
|
35664
|
-
}, " Скачать счет №" + U(l + 1), 9,
|
|
35665
|
-
(o = t.order.payment) != null && o.onlinePaymentLink ? (b(), E("div",
|
|
35661
|
+
}, " Скачать счет №" + U(l + 1), 9, m3))), 128)),
|
|
35662
|
+
(o = t.order.payment) != null && o.onlinePaymentLink ? (b(), E("div", p3, [
|
|
35666
35663
|
C("a", {
|
|
35667
35664
|
href: t.order.payment.onlinePaymentLink,
|
|
35668
35665
|
target: "_blank"
|
|
35669
|
-
}, " Оплатить заказ ", 8,
|
|
35666
|
+
}, " Оплатить заказ ", 8, v3),
|
|
35670
35667
|
bi((b(), te(r, {
|
|
35671
35668
|
text: "",
|
|
35672
35669
|
title: "Скопировать ссылку на оплату"
|
|
@@ -35683,11 +35680,11 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
35683
35680
|
], 64)) : N("", !0);
|
|
35684
35681
|
};
|
|
35685
35682
|
}
|
|
35686
|
-
}),
|
|
35683
|
+
}), _3 = { key: 0 }, w3 = { class: "text-sc-dark-grey my-2 text-center" }, x3 = {
|
|
35687
35684
|
key: 1,
|
|
35688
35685
|
class: "text-sc-dark-grey my-2 text-center"
|
|
35689
|
-
},
|
|
35690
|
-
|
|
35686
|
+
}, k3 = { key: 2 }, C3 = { class: "text-sc-dark-grey mt-4 text-right font-bold" }, S3 = { class: "text-sc-primary" }, $3 = {}, T3 = /* @__PURE__ */ ae({
|
|
35687
|
+
...$3,
|
|
35691
35688
|
__name: "order-info",
|
|
35692
35689
|
props: {
|
|
35693
35690
|
order: {},
|
|
@@ -35719,8 +35716,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
35719
35716
|
o();
|
|
35720
35717
|
}), (c, u) => {
|
|
35721
35718
|
const d = Jn;
|
|
35722
|
-
return s.value ? (b(), E("div",
|
|
35723
|
-
C("div",
|
|
35719
|
+
return s.value ? (b(), E("div", _3, [
|
|
35720
|
+
C("div", w3, [
|
|
35724
35721
|
D(d, {
|
|
35725
35722
|
size: "small",
|
|
35726
35723
|
class: "mb-2.5 align-middle"
|
|
@@ -35729,27 +35726,27 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
35729
35726
|
C("span", null, "Загрузка данных ...")
|
|
35730
35727
|
], -1))
|
|
35731
35728
|
])
|
|
35732
|
-
])) : !r.value || r.value.products.length === 0 ? (b(), E("div",
|
|
35733
|
-
D(
|
|
35729
|
+
])) : !r.value || r.value.products.length === 0 ? (b(), E("div", x3, " --- Не удалось загрузить данные о заказе --- ")) : (b(), E("div", k3, [
|
|
35730
|
+
D(Q5, {
|
|
35734
35731
|
products: a.value,
|
|
35735
35732
|
"event-emitter": t.eventEmitter,
|
|
35736
35733
|
"allow-edit": t.allowEdit
|
|
35737
35734
|
}, null, 8, ["products", "event-emitter", "allow-edit"]),
|
|
35738
|
-
C("div",
|
|
35735
|
+
C("div", C3, [
|
|
35739
35736
|
u[2] || (u[2] = ie(" ИТОГО: ", -1)),
|
|
35740
|
-
C("span",
|
|
35737
|
+
C("span", S3, U(l.value) + " ₽", 1)
|
|
35741
35738
|
]),
|
|
35742
|
-
D(
|
|
35739
|
+
D(c3, {
|
|
35743
35740
|
order: r.value,
|
|
35744
35741
|
"onClick:clientName": u[0] || (u[0] = (f) => n("click:client-name", r.value.client, f))
|
|
35745
35742
|
}, null, 8, ["order"]),
|
|
35746
|
-
D(
|
|
35747
|
-
D(
|
|
35743
|
+
D(b3, { order: r.value }, null, 8, ["order"]),
|
|
35744
|
+
D(i3, { order: r.value }, null, 8, ["order"])
|
|
35748
35745
|
]));
|
|
35749
35746
|
};
|
|
35750
35747
|
}
|
|
35751
|
-
}),
|
|
35752
|
-
...
|
|
35748
|
+
}), P3 = {}, R3 = /* @__PURE__ */ ae({
|
|
35749
|
+
...P3,
|
|
35753
35750
|
__name: "order-actions",
|
|
35754
35751
|
props: {
|
|
35755
35752
|
orderContextButtonsConfig: { type: Function, default: void 0 },
|
|
@@ -35789,8 +35786,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
35789
35786
|
}, 8, ["options", "size"])) : N("", !0);
|
|
35790
35787
|
};
|
|
35791
35788
|
}
|
|
35792
|
-
}),
|
|
35793
|
-
...
|
|
35789
|
+
}), F3 = {}, B3 = /* @__PURE__ */ ae({
|
|
35790
|
+
...F3,
|
|
35794
35791
|
__name: "orders-list",
|
|
35795
35792
|
props: /* @__PURE__ */ tl({
|
|
35796
35793
|
fields: {},
|
|
@@ -35851,7 +35848,7 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
35851
35848
|
}, oe = {
|
|
35852
35849
|
type: "expand",
|
|
35853
35850
|
expandable: Ho(!0),
|
|
35854
|
-
renderExpand: (z) => j(
|
|
35851
|
+
renderExpand: (z) => j(T3, {
|
|
35855
35852
|
order: z,
|
|
35856
35853
|
class: "pl-10 pt-3 pb-10",
|
|
35857
35854
|
"onClick:client-name": () => {
|
|
@@ -35981,7 +35978,7 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
35981
35978
|
title: "",
|
|
35982
35979
|
className: "align-top",
|
|
35983
35980
|
width: 50,
|
|
35984
|
-
render: (z) => j(
|
|
35981
|
+
render: (z) => j(R3, {
|
|
35985
35982
|
order: z,
|
|
35986
35983
|
orderContextButtonsConfig: i.orderContextButtonsConfig,
|
|
35987
35984
|
onOrderContextSelect: i.onOrderContextSelect
|
|
@@ -36026,7 +36023,7 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36026
36023
|
title: "Заказ",
|
|
36027
36024
|
resizable: !0,
|
|
36028
36025
|
// eslint-disable-next-line vue/max-len
|
|
36029
|
-
render: (z) => j(
|
|
36026
|
+
render: (z) => j(P5, { order: z, fields: V, orderUrl: i.orderUrl })
|
|
36030
36027
|
}
|
|
36031
36028
|
];
|
|
36032
36029
|
case vt.laptop: {
|
|
@@ -36151,8 +36148,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36151
36148
|
}, null, 8, ["columns", "data", "row-key", "scroll-x", "pagination", "loading", "max-height"]);
|
|
36152
36149
|
};
|
|
36153
36150
|
}
|
|
36154
|
-
}),
|
|
36155
|
-
...
|
|
36151
|
+
}), b6 = /* @__PURE__ */ es(B3, [["__scopeId", "data-v-14035b7c"]]), M3 = ["href"], A3 = { class: "text-sc-dark-grey" }, E3 = {}, _6 = /* @__PURE__ */ ae({
|
|
36152
|
+
...E3,
|
|
36156
36153
|
__name: "short-text-order-info",
|
|
36157
36154
|
props: {
|
|
36158
36155
|
order: {},
|
|
@@ -36169,21 +36166,21 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36169
36166
|
C("a", {
|
|
36170
36167
|
href: t.orderLink ?? "#",
|
|
36171
36168
|
onClick: a[0] || (a[0] = (l) => r(l))
|
|
36172
|
-
}, U(t.order.id), 9,
|
|
36169
|
+
}, U(t.order.id), 9, M3),
|
|
36173
36170
|
ie(" от " + U(s.value), 1)
|
|
36174
36171
|
]),
|
|
36175
36172
|
a[2] || (a[2] = ie(", ", -1)),
|
|
36176
|
-
C("span",
|
|
36173
|
+
C("span", A3, "автор: " + U(t.order.creator.name) + " [" + U(t.order.creator.type) + "]", 1)
|
|
36177
36174
|
], 64));
|
|
36178
36175
|
}
|
|
36179
|
-
}),
|
|
36176
|
+
}), I3 = { class: "sc-page flex flex-col bg-inherit" }, O3 = { class: "my-2 flex flex-row items-end" }, z3 = { class: "sc-title grow" }, L3 = {
|
|
36180
36177
|
key: 0,
|
|
36181
36178
|
class: "sc-title-buttons flex-1 grow-0"
|
|
36182
|
-
},
|
|
36179
|
+
}, D3 = { class: "flex flex-col justify-end gap-1 sm:mt-0 sm:flex-row" }, N3 = {
|
|
36183
36180
|
key: 0,
|
|
36184
36181
|
class: "sc-title-extra mt-2 sm:mt-4"
|
|
36185
|
-
},
|
|
36186
|
-
...
|
|
36182
|
+
}, H3 = {}, W3 = /* @__PURE__ */ ae({
|
|
36183
|
+
...H3,
|
|
36187
36184
|
__name: "page",
|
|
36188
36185
|
props: {
|
|
36189
36186
|
title: { default: void 0 },
|
|
@@ -36195,13 +36192,13 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36195
36192
|
const e = t, i = A(() => e.stickyHeaderOnMobile ? "sticky z-10 bg-inherit" : "lg:sticky z-10 bg-inherit");
|
|
36196
36193
|
return (n, s) => {
|
|
36197
36194
|
const r = Jg;
|
|
36198
|
-
return b(), E("div",
|
|
36195
|
+
return b(), E("div", I3, [
|
|
36199
36196
|
C("div", {
|
|
36200
36197
|
class: We(t.stickyHeader ? i.value : void 0),
|
|
36201
36198
|
style: rr(t.stickyHeader ? { top: `${t.stickyTopOffset ?? 0}px` } : void 0)
|
|
36202
36199
|
}, [
|
|
36203
|
-
C("div",
|
|
36204
|
-
C("div",
|
|
36200
|
+
C("div", O3, [
|
|
36201
|
+
C("div", z3, [
|
|
36205
36202
|
Re(n.$slots, "title", {}, () => [
|
|
36206
36203
|
D(r, { class: "m-0 leading-none lg:mb-3 lg:leading-normal" }, {
|
|
36207
36204
|
default: O(() => [
|
|
@@ -36211,13 +36208,13 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36211
36208
|
})
|
|
36212
36209
|
])
|
|
36213
36210
|
]),
|
|
36214
|
-
n.$slots["title-buttons"] ? (b(), E("div",
|
|
36215
|
-
C("div",
|
|
36211
|
+
n.$slots["title-buttons"] ? (b(), E("div", L3, [
|
|
36212
|
+
C("div", D3, [
|
|
36216
36213
|
Re(n.$slots, "title-buttons")
|
|
36217
36214
|
])
|
|
36218
36215
|
])) : N("", !0)
|
|
36219
36216
|
]),
|
|
36220
|
-
n.$slots["title-extra"] ? (b(), E("div",
|
|
36217
|
+
n.$slots["title-extra"] ? (b(), E("div", N3, [
|
|
36221
36218
|
Re(n.$slots, "title-extra")
|
|
36222
36219
|
])) : N("", !0),
|
|
36223
36220
|
Re(n.$slots, "sticky-extra")
|
|
@@ -36226,8 +36223,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36226
36223
|
]);
|
|
36227
36224
|
};
|
|
36228
36225
|
}
|
|
36229
|
-
}),
|
|
36230
|
-
...
|
|
36226
|
+
}), V3 = { class: "overflow-hidden transition-all duration-300" }, j3 = { class: "text-lg font-medium leading-none" }, q3 = {}, U3 = /* @__PURE__ */ ae({
|
|
36227
|
+
...q3,
|
|
36231
36228
|
__name: "sliding-content-with-drawer",
|
|
36232
36229
|
props: {
|
|
36233
36230
|
drawerWidth: { type: [Number, Function], default: void 0 },
|
|
@@ -36268,7 +36265,7 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36268
36265
|
}), a(), window.addEventListener("resize", a), (l, c) => {
|
|
36269
36266
|
const u = jd, d = Vd;
|
|
36270
36267
|
return b(), E(be, null, [
|
|
36271
|
-
C("div",
|
|
36268
|
+
C("div", V3, [
|
|
36272
36269
|
C("div", {
|
|
36273
36270
|
style: rr(`margin-left: ${s.value}px;`),
|
|
36274
36271
|
class: "w-full"
|
|
@@ -36287,7 +36284,7 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36287
36284
|
D(u, { closable: "" }, {
|
|
36288
36285
|
header: O(() => [
|
|
36289
36286
|
Re(l.$slots, "drawer-header", {}, () => [
|
|
36290
|
-
C("div",
|
|
36287
|
+
C("div", j3, U(t.title), 1)
|
|
36291
36288
|
])
|
|
36292
36289
|
]),
|
|
36293
36290
|
default: O(() => [
|
|
@@ -36304,14 +36301,14 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36304
36301
|
], 64);
|
|
36305
36302
|
};
|
|
36306
36303
|
}
|
|
36307
|
-
}),
|
|
36304
|
+
}), X3 = {
|
|
36308
36305
|
ref: "panel-component-ref",
|
|
36309
36306
|
class: "sc-page-panel flex flex-row gap-2.5 bg-inherit sm:gap-8"
|
|
36310
|
-
},
|
|
36307
|
+
}, Y3 = { key: 0 }, K3 = { class: "sc-page-preview-panel grow" }, G3 = {
|
|
36311
36308
|
key: 1,
|
|
36312
36309
|
class: "sc-page-preview-panel-extra flex-none"
|
|
36313
|
-
},
|
|
36314
|
-
...
|
|
36310
|
+
}, Z3 = {}, w6 = /* @__PURE__ */ ae({
|
|
36311
|
+
...Z3,
|
|
36315
36312
|
__name: "page-with-sliding-panel",
|
|
36316
36313
|
props: {
|
|
36317
36314
|
title: {},
|
|
@@ -36355,14 +36352,14 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36355
36352
|
closePanel: s
|
|
36356
36353
|
}), (a, l) => {
|
|
36357
36354
|
const c = Ne;
|
|
36358
|
-
return b(), te(
|
|
36355
|
+
return b(), te(W3, {
|
|
36359
36356
|
title: t.title,
|
|
36360
36357
|
"sticky-header": t.stickyHeader,
|
|
36361
36358
|
"sticky-top-offset": t.stickyTopOffset,
|
|
36362
36359
|
"sticky-header-on-mobile": t.stickyHeaderOnMobile
|
|
36363
36360
|
}, Mn({
|
|
36364
36361
|
default: O(() => [
|
|
36365
|
-
D(
|
|
36362
|
+
D(U3, {
|
|
36366
36363
|
"show-drawer": i.value,
|
|
36367
36364
|
"onUpdate:showDrawer": l[1] || (l[1] = (u) => i.value = u),
|
|
36368
36365
|
title: t.panelTitle
|
|
@@ -36417,8 +36414,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36417
36414
|
a.$slots["preview-panel"] || a.$slots["preview-panel-extra"] || t.isShowPanelButtonVisible ? {
|
|
36418
36415
|
name: "sticky-extra",
|
|
36419
36416
|
fn: O(() => [
|
|
36420
|
-
C("div",
|
|
36421
|
-
t.isShowPanelButtonVisible ? (b(), E("div",
|
|
36417
|
+
C("div", X3, [
|
|
36418
|
+
t.isShowPanelButtonVisible ? (b(), E("div", Y3, [
|
|
36422
36419
|
Re(a.$slots, "show-panel-button", {
|
|
36423
36420
|
onClickHandler: () => {
|
|
36424
36421
|
i.value = !0;
|
|
@@ -36435,10 +36432,10 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36435
36432
|
})
|
|
36436
36433
|
])
|
|
36437
36434
|
])) : N("", !0),
|
|
36438
|
-
C("div",
|
|
36435
|
+
C("div", K3, [
|
|
36439
36436
|
Re(a.$slots, "preview-panel")
|
|
36440
36437
|
]),
|
|
36441
|
-
a.$slots["preview-panel-extra"] ? (b(), E("div",
|
|
36438
|
+
a.$slots["preview-panel-extra"] ? (b(), E("div", G3, [
|
|
36442
36439
|
Re(a.$slots, "preview-panel-extra")
|
|
36443
36440
|
])) : N("", !0)
|
|
36444
36441
|
], 512)
|
|
@@ -36448,8 +36445,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36448
36445
|
]), 1032, ["title", "sticky-header", "sticky-top-offset", "sticky-header-on-mobile"]);
|
|
36449
36446
|
};
|
|
36450
36447
|
}
|
|
36451
|
-
}),
|
|
36452
|
-
...
|
|
36448
|
+
}), Q3 = {}, x6 = /* @__PURE__ */ ae({
|
|
36449
|
+
...Q3,
|
|
36453
36450
|
__name: "curator-select",
|
|
36454
36451
|
props: {
|
|
36455
36452
|
value: { default: null },
|
|
@@ -36542,8 +36539,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36542
36539
|
"onUpdate:value": d
|
|
36543
36540
|
}, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
|
|
36544
36541
|
}
|
|
36545
|
-
}),
|
|
36546
|
-
...
|
|
36542
|
+
}), J3 = {}, k6 = /* @__PURE__ */ ae({
|
|
36543
|
+
...J3,
|
|
36547
36544
|
__name: "manager-operator-select",
|
|
36548
36545
|
props: {
|
|
36549
36546
|
value: { default: null },
|
|
@@ -36640,8 +36637,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36640
36637
|
"onUpdate:value": d
|
|
36641
36638
|
}, null, 8, ["value", "clearable", "consistent-menu-width", "disabled", "filterable", "max-tag-count", "multiple", "options"]));
|
|
36642
36639
|
}
|
|
36643
|
-
}),
|
|
36644
|
-
...
|
|
36640
|
+
}), e4 = {}, C6 = /* @__PURE__ */ ae({
|
|
36641
|
+
...e4,
|
|
36645
36642
|
__name: "manager-select",
|
|
36646
36643
|
props: {
|
|
36647
36644
|
value: { default: null },
|
|
@@ -36745,26 +36742,26 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36745
36742
|
"onUpdate:value": d
|
|
36746
36743
|
}, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
|
|
36747
36744
|
}
|
|
36748
|
-
}),
|
|
36749
|
-
...
|
|
36745
|
+
}), t4 = { class: "m-0.5 flex flex-col p-0.5" }, i4 = { class: "flex flex-row gap-1" }, n4 = { key: 0 }, s4 = { key: 1 }, r4 = { key: 2 }, o4 = { key: 3 }, a4 = { class: "flex flex-row gap-1" }, l4 = { key: 0 }, c4 = { key: 1 }, u4 = { key: 2 }, d4 = { key: 3 }, h4 = {}, f4 = /* @__PURE__ */ ae({
|
|
36746
|
+
...h4,
|
|
36750
36747
|
__name: "address-suggestion-label",
|
|
36751
36748
|
props: {
|
|
36752
36749
|
addr: {},
|
|
36753
36750
|
selected: { type: Boolean }
|
|
36754
36751
|
},
|
|
36755
36752
|
setup(t) {
|
|
36756
|
-
return (e, i) => (b(), E("div",
|
|
36757
|
-
C("span",
|
|
36758
|
-
t.addr.postIndex ? (b(), E("span",
|
|
36759
|
-
t.addr.city ? (b(), E("span",
|
|
36760
|
-
t.addr.locality ? (b(), E("span",
|
|
36761
|
-
t.addr.region ? (b(), E("span",
|
|
36753
|
+
return (e, i) => (b(), E("div", t4, [
|
|
36754
|
+
C("span", i4, [
|
|
36755
|
+
t.addr.postIndex ? (b(), E("span", n4, U(t.addr.postIndex) + ", ", 1)) : N("", !0),
|
|
36756
|
+
t.addr.city ? (b(), E("span", s4, U(t.addr.city) + ", ", 1)) : N("", !0),
|
|
36757
|
+
t.addr.locality ? (b(), E("span", r4, U(t.addr.locality) + ", ", 1)) : N("", !0),
|
|
36758
|
+
t.addr.region ? (b(), E("span", o4, U(t.addr.region) + ", ", 1)) : N("", !0)
|
|
36762
36759
|
]),
|
|
36763
|
-
C("span",
|
|
36764
|
-
t.addr.street ? (b(), E("span",
|
|
36765
|
-
t.addr.building ? (b(), E("span",
|
|
36766
|
-
t.addr.buildingPart ? (b(), E("span",
|
|
36767
|
-
t.addr.apartments ? (b(), E("span",
|
|
36760
|
+
C("span", a4, [
|
|
36761
|
+
t.addr.street ? (b(), E("span", l4, U(t.addr.street) + ", ", 1)) : N("", !0),
|
|
36762
|
+
t.addr.building ? (b(), E("span", c4, U(t.addr.building) + ", ", 1)) : N("", !0),
|
|
36763
|
+
t.addr.buildingPart ? (b(), E("span", u4, U(t.addr.buildingPart) + ", ", 1)) : N("", !0),
|
|
36764
|
+
t.addr.apartments ? (b(), E("span", d4, U(t.addr.apartments) + ", ", 1)) : N("", !0)
|
|
36768
36765
|
])
|
|
36769
36766
|
]));
|
|
36770
36767
|
}
|
|
@@ -36773,8 +36770,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36773
36770
|
value: "",
|
|
36774
36771
|
field: void 0,
|
|
36775
36772
|
disabled: !1
|
|
36776
|
-
},
|
|
36777
|
-
...
|
|
36773
|
+
}, g4 = {}, S6 = /* @__PURE__ */ ae({
|
|
36774
|
+
...g4,
|
|
36778
36775
|
__name: "address-suggestion",
|
|
36779
36776
|
props: /* @__PURE__ */ Ol({
|
|
36780
36777
|
disabled: { type: Boolean },
|
|
@@ -36821,7 +36818,7 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36821
36818
|
}, d = (m, p) => {
|
|
36822
36819
|
const v = a.value.find((y) => y.id === m.value) || {};
|
|
36823
36820
|
return j(
|
|
36824
|
-
|
|
36821
|
+
f4,
|
|
36825
36822
|
{
|
|
36826
36823
|
addr: v,
|
|
36827
36824
|
selected: p
|
|
@@ -36863,24 +36860,24 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36863
36860
|
}, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
|
|
36864
36861
|
};
|
|
36865
36862
|
}
|
|
36866
|
-
}),
|
|
36867
|
-
...
|
|
36863
|
+
}), m4 = { class: "m-0.5 flex flex-col p-0.5" }, p4 = { class: "font-medium" }, v4 = { class: "flex flex-row gap-1 text-xs font-light text-blue-800" }, y4 = { key: 0 }, b4 = { key: 1 }, _4 = {}, w4 = /* @__PURE__ */ ae({
|
|
36864
|
+
..._4,
|
|
36868
36865
|
__name: "bank-suggestion-label",
|
|
36869
36866
|
props: {
|
|
36870
36867
|
bank: {},
|
|
36871
36868
|
selected: { type: Boolean }
|
|
36872
36869
|
},
|
|
36873
36870
|
setup(t) {
|
|
36874
|
-
return (e, i) => (b(), E("div",
|
|
36875
|
-
C("span",
|
|
36876
|
-
C("span",
|
|
36877
|
-
t.bank.bic ? (b(), E("span",
|
|
36878
|
-
t.bank.inn ? (b(), E("span",
|
|
36871
|
+
return (e, i) => (b(), E("div", m4, [
|
|
36872
|
+
C("span", p4, U(t.bank.name), 1),
|
|
36873
|
+
C("span", v4, [
|
|
36874
|
+
t.bank.bic ? (b(), E("span", y4, " БИК: " + U(t.bank.bic), 1)) : N("", !0),
|
|
36875
|
+
t.bank.inn ? (b(), E("span", b4, " ИНН: " + U(t.bank.inn), 1)) : N("", !0)
|
|
36879
36876
|
])
|
|
36880
36877
|
]));
|
|
36881
36878
|
}
|
|
36882
|
-
}),
|
|
36883
|
-
...
|
|
36879
|
+
}), x4 = {}, $6 = /* @__PURE__ */ ae({
|
|
36880
|
+
...x4,
|
|
36884
36881
|
__name: "bank-suggestion",
|
|
36885
36882
|
props: /* @__PURE__ */ Ol({
|
|
36886
36883
|
disabled: { type: Boolean },
|
|
@@ -36929,7 +36926,7 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36929
36926
|
}, d = (m, p) => {
|
|
36930
36927
|
const v = a.value.find((y) => y.id === m.value) || {};
|
|
36931
36928
|
return j(
|
|
36932
|
-
|
|
36929
|
+
w4,
|
|
36933
36930
|
{
|
|
36934
36931
|
bank: v,
|
|
36935
36932
|
selected: p
|
|
@@ -36971,17 +36968,17 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36971
36968
|
}, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
|
|
36972
36969
|
};
|
|
36973
36970
|
}
|
|
36974
|
-
}),
|
|
36971
|
+
}), k4 = { class: "font-medium" }, C4 = {
|
|
36975
36972
|
key: 0,
|
|
36976
36973
|
class: "flex flex-row gap-2"
|
|
36977
|
-
},
|
|
36974
|
+
}, S4 = {
|
|
36978
36975
|
key: 0,
|
|
36979
36976
|
class: "text-xs font-light text-blue-800"
|
|
36980
|
-
},
|
|
36977
|
+
}, $4 = {
|
|
36981
36978
|
key: 1,
|
|
36982
36979
|
class: "text-sc-dark-grey text-xs font-light"
|
|
36983
|
-
},
|
|
36984
|
-
...
|
|
36980
|
+
}, T4 = {}, P4 = /* @__PURE__ */ ae({
|
|
36981
|
+
...T4,
|
|
36985
36982
|
__name: "org-suggestion-label",
|
|
36986
36983
|
props: {
|
|
36987
36984
|
org: {},
|
|
@@ -36998,15 +36995,15 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
36998
36995
|
return (s, r) => (b(), E("div", {
|
|
36999
36996
|
class: We(`m-0.5 flex flex-col p-0.5 ${i.value ? "line-through" : ""}`)
|
|
37000
36997
|
}, [
|
|
37001
|
-
C("span",
|
|
37002
|
-
t.org.inn || n.value ? (b(), E("div",
|
|
37003
|
-
t.org.inn ? (b(), E("span",
|
|
37004
|
-
n.value ? (b(), E("span",
|
|
36998
|
+
C("span", k4, U(t.org.name), 1),
|
|
36999
|
+
t.org.inn || n.value ? (b(), E("div", C4, [
|
|
37000
|
+
t.org.inn ? (b(), E("span", S4, U(t.org.inn), 1)) : N("", !0),
|
|
37001
|
+
n.value ? (b(), E("span", $4, U(n.value), 1)) : N("", !0)
|
|
37005
37002
|
])) : N("", !0)
|
|
37006
37003
|
], 2));
|
|
37007
37004
|
}
|
|
37008
|
-
}),
|
|
37009
|
-
...
|
|
37005
|
+
}), R4 = {}, T6 = /* @__PURE__ */ ae({
|
|
37006
|
+
...R4,
|
|
37010
37007
|
__name: "org-suggestion",
|
|
37011
37008
|
props: /* @__PURE__ */ Ol({
|
|
37012
37009
|
disabled: { type: Boolean },
|
|
@@ -37061,7 +37058,7 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
37061
37058
|
}, f = (p, v) => {
|
|
37062
37059
|
const y = a.value.find((x) => x.id === p.value) || {};
|
|
37063
37060
|
return j(
|
|
37064
|
-
|
|
37061
|
+
P4,
|
|
37065
37062
|
{
|
|
37066
37063
|
org: y,
|
|
37067
37064
|
selected: v
|
|
@@ -37103,8 +37100,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
37103
37100
|
}, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
|
|
37104
37101
|
};
|
|
37105
37102
|
}
|
|
37106
|
-
}),
|
|
37107
|
-
...
|
|
37103
|
+
}), F4 = {}, P6 = /* @__PURE__ */ ae({
|
|
37104
|
+
...F4,
|
|
37108
37105
|
__name: "button-with-confirm-action",
|
|
37109
37106
|
props: {
|
|
37110
37107
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -37194,14 +37191,14 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
37194
37191
|
]);
|
|
37195
37192
|
};
|
|
37196
37193
|
}
|
|
37197
|
-
}),
|
|
37194
|
+
}), B4 = {
|
|
37198
37195
|
key: 0,
|
|
37199
37196
|
class: "whitespace-pre-line"
|
|
37200
|
-
},
|
|
37197
|
+
}, M4 = {
|
|
37201
37198
|
key: 1,
|
|
37202
37199
|
class: "text-sc-dark-grey"
|
|
37203
|
-
},
|
|
37204
|
-
...
|
|
37200
|
+
}, A4 = {}, R6 = /* @__PURE__ */ ae({
|
|
37201
|
+
...A4,
|
|
37205
37202
|
__name: "comment-editor",
|
|
37206
37203
|
props: {
|
|
37207
37204
|
disabled: { type: Boolean, default: !1 },
|
|
@@ -37230,7 +37227,7 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
37230
37227
|
}, {
|
|
37231
37228
|
viewer: O(() => [
|
|
37232
37229
|
C("div", null, [
|
|
37233
|
-
t.comment ? (b(), E("span",
|
|
37230
|
+
t.comment ? (b(), E("span", B4, U(t.comment), 1)) : (b(), E("span", M4, " - Комментарий отсутствует - "))
|
|
37234
37231
|
])
|
|
37235
37232
|
]),
|
|
37236
37233
|
editor: O(() => [
|
|
@@ -37245,8 +37242,8 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
37245
37242
|
}, 8, ["disabled"]);
|
|
37246
37243
|
};
|
|
37247
37244
|
}
|
|
37248
|
-
}),
|
|
37249
|
-
...
|
|
37245
|
+
}), E4 = {}, F6 = /* @__PURE__ */ ae({
|
|
37246
|
+
...E4,
|
|
37250
37247
|
__name: "debt",
|
|
37251
37248
|
props: {
|
|
37252
37249
|
debt: { default: 0 },
|
|
@@ -37268,21 +37265,21 @@ const f3 = He({ name: "ion-copy-outline", render: h3 }), g3 = { class: "flex fle
|
|
|
37268
37265
|
}, U(t.debt) + " ₽ ", 3)
|
|
37269
37266
|
], 2)) : N("", !0);
|
|
37270
37267
|
}
|
|
37271
|
-
}),
|
|
37268
|
+
}), I4 = {
|
|
37272
37269
|
viewBox: "0 0 512 512",
|
|
37273
37270
|
width: "1.2em",
|
|
37274
37271
|
height: "1.2em"
|
|
37275
37272
|
};
|
|
37276
|
-
function
|
|
37277
|
-
return b(), E("svg",
|
|
37273
|
+
function O4(t, e) {
|
|
37274
|
+
return b(), E("svg", I4, [...e[0] || (e[0] = [
|
|
37278
37275
|
C("path", {
|
|
37279
37276
|
fill: "currentColor",
|
|
37280
37277
|
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"
|
|
37281
37278
|
}, null, -1)
|
|
37282
37279
|
])]);
|
|
37283
37280
|
}
|
|
37284
|
-
const
|
|
37285
|
-
...
|
|
37281
|
+
const z4 = He({ name: "ion-warning", render: O4 }), L4 = {}, B6 = /* @__PURE__ */ ae({
|
|
37282
|
+
...L4,
|
|
37286
37283
|
__name: "warning-icon",
|
|
37287
37284
|
props: {
|
|
37288
37285
|
popoverText: { default: "" },
|
|
@@ -37290,7 +37287,7 @@ const L4 = He({ name: "ion-warning", render: z4 }), D4 = {}, M6 = /* @__PURE__ *
|
|
|
37290
37287
|
},
|
|
37291
37288
|
setup(t) {
|
|
37292
37289
|
return (e, i) => {
|
|
37293
|
-
const n =
|
|
37290
|
+
const n = z4, s = In;
|
|
37294
37291
|
return b(), te(s, {
|
|
37295
37292
|
disabled: t.popoverText.length === 0,
|
|
37296
37293
|
placement: "bottom"
|
|
@@ -37307,11 +37304,11 @@ const L4 = He({ name: "ion-warning", render: z4 }), D4 = {}, M6 = /* @__PURE__ *
|
|
|
37307
37304
|
}, 8, ["disabled"]);
|
|
37308
37305
|
};
|
|
37309
37306
|
}
|
|
37310
|
-
}),
|
|
37307
|
+
}), M6 = A(() => Ot().deliveryTypeReference ?? []), A6 = A(() => Ot().managersList ?? []), E6 = A(() => Ot().opfReference ?? []), I6 = A(() => Ot().partnerGroupsReference ?? []), O6 = A(() => Ot().priceCoefficientsReference ?? []), z6 = A(() => Ot().productFilesTypesReference ?? []), L6 = A(() => Ot().resourceTypesReference), D6 = A(() => Ot().salesDirectionsReference ?? []), N6 = A(() => Ot().warehousesReference ?? []), H6 = A(() => Ot().paymentTypeReference ?? []), W6 = A(() => Ot().orderStatusReference ?? []), V6 = A(() => Ot().orderStatusDetailReference ?? []), j6 = A(() => Ot().operatorReference ?? []), q6 = A(
|
|
37311
37308
|
() => yi.convertReferencesToSelectOptionsList(Ot().channelPrimaryInterestsReference ?? [], !0, !1, !0)
|
|
37312
|
-
),
|
|
37309
|
+
), U6 = A(
|
|
37313
37310
|
() => yi.convertReferencesToSelectOptionsList(Ot().sourcePrimaryInterestsReference ?? [], !0, !1, !0)
|
|
37314
|
-
),
|
|
37311
|
+
), X6 = (t) => Ki.getInstance(Tg).searchCity(t), Y6 = (t) => yi.convertReferencesToSelectOptionsList(
|
|
37315
37312
|
t,
|
|
37316
37313
|
!0,
|
|
37317
37314
|
!1,
|
|
@@ -37323,7 +37320,7 @@ const L4 = He({ name: "ion-warning", render: z4 }), D4 = {}, M6 = /* @__PURE__ *
|
|
|
37323
37320
|
},
|
|
37324
37321
|
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
37325
37322
|
(e) => e == null ? void 0 : e.isNewRec()
|
|
37326
|
-
),
|
|
37323
|
+
), K6 = (t) => Ki.getInstance(Pg).searchClient(t), G6 = (t) => yi.convertReferencesToSelectOptionsList(
|
|
37327
37324
|
t,
|
|
37328
37325
|
!0,
|
|
37329
37326
|
!1,
|
|
@@ -37340,11 +37337,11 @@ const L4 = He({ name: "ion-warning", render: z4 }), D4 = {}, M6 = /* @__PURE__ *
|
|
|
37340
37337
|
(e) => e == null ? void 0 : e.isNewRec()
|
|
37341
37338
|
);
|
|
37342
37339
|
export {
|
|
37343
|
-
|
|
37340
|
+
Y4 as CommonValidators,
|
|
37344
37341
|
Cy as ConfiguratorSettingsKozyrek,
|
|
37345
|
-
|
|
37342
|
+
l6 as ConfiguratorSettingsMosquito,
|
|
37346
37343
|
Zs as ContentHelper,
|
|
37347
|
-
|
|
37344
|
+
K4 as DateValidators,
|
|
37348
37345
|
Ms as EntityNameHelper,
|
|
37349
37346
|
Rn as KozyrekLine,
|
|
37350
37347
|
Vu as KozyrekTailTemplate,
|
|
@@ -37352,31 +37349,31 @@ export {
|
|
|
37352
37349
|
pe as NumericValidators,
|
|
37353
37350
|
Ze as OrdersTableFields,
|
|
37354
37351
|
Wu as Point,
|
|
37355
|
-
|
|
37356
|
-
|
|
37357
|
-
|
|
37358
|
-
|
|
37359
|
-
|
|
37352
|
+
s6 as ScAddProductToCartDialog,
|
|
37353
|
+
S6 as ScAddressSuggestion,
|
|
37354
|
+
f4 as ScAddressSuggestionLabel,
|
|
37355
|
+
$6 as ScBankSuggestion,
|
|
37356
|
+
w4 as ScBankSuggestionLabel,
|
|
37360
37357
|
c1 as ScBaseDialog,
|
|
37361
|
-
|
|
37358
|
+
P6 as ScButtonWithConfirmAction,
|
|
37362
37359
|
i1 as ScCategoryCollapse,
|
|
37363
37360
|
Mo as ScClientNameWithShortInfo,
|
|
37364
37361
|
e1 as ScCollapse,
|
|
37365
37362
|
Xm as ScCollapseItem,
|
|
37366
|
-
|
|
37363
|
+
R6 as ScCommentEditor,
|
|
37367
37364
|
Uo as ScConfiguratorsProductInfo,
|
|
37368
37365
|
k1 as ScContragentWithShortInfo,
|
|
37369
37366
|
vo as ScCreatorUserTypeTag,
|
|
37370
|
-
|
|
37371
|
-
|
|
37367
|
+
x6 as ScCuratorSelect,
|
|
37368
|
+
u6 as ScDateRange,
|
|
37372
37369
|
_l as ScDateTimeLabel,
|
|
37373
|
-
|
|
37374
|
-
|
|
37375
|
-
|
|
37376
|
-
|
|
37370
|
+
f6 as ScDebouncedInput,
|
|
37371
|
+
g6 as ScDebouncedInputNumber,
|
|
37372
|
+
F6 as ScDebt,
|
|
37373
|
+
d6 as ScDialogHeader,
|
|
37377
37374
|
I_ as ScDynamicConfigurator,
|
|
37378
|
-
|
|
37379
|
-
|
|
37375
|
+
r6 as ScEmail,
|
|
37376
|
+
p6 as ScExternalLink,
|
|
37380
37377
|
Fp as ScImageGallery,
|
|
37381
37378
|
jw as ScInlineEditableItem,
|
|
37382
37379
|
qu as ScInlineView,
|
|
@@ -37385,34 +37382,34 @@ export {
|
|
|
37385
37382
|
ky as ScKozyrekConfiguratorPreview,
|
|
37386
37383
|
yy as ScKozyrekConfiguratorTemplates,
|
|
37387
37384
|
$p as ScLightGallery,
|
|
37388
|
-
|
|
37389
|
-
|
|
37385
|
+
k6 as ScManagerOperatorSelect,
|
|
37386
|
+
C6 as ScManagerSelect,
|
|
37390
37387
|
$b as ScMetalForDoorsConfigurator,
|
|
37391
37388
|
kb as ScMetalForDoorsConfiguratorForm,
|
|
37392
37389
|
nb as ScMosquitoConfigurator,
|
|
37393
37390
|
Ny as ScMosquitoConfiguratorForm,
|
|
37394
37391
|
eb as ScMosquitoConfiguratorMeasurementInstructions,
|
|
37395
37392
|
ju as ScMosquitoConfiguratorPreview,
|
|
37396
|
-
|
|
37393
|
+
P5 as ScOrderCommonInfo,
|
|
37397
37394
|
gc as ScOrderDeliveryLabel,
|
|
37398
|
-
|
|
37399
|
-
|
|
37400
|
-
|
|
37401
|
-
|
|
37402
|
-
|
|
37395
|
+
c3 as ScOrderDetails,
|
|
37396
|
+
b3 as ScOrderExternalLinks,
|
|
37397
|
+
T3 as ScOrderInfo,
|
|
37398
|
+
o5 as ScOrderItemParams,
|
|
37399
|
+
Q5 as ScOrderItemsList,
|
|
37403
37400
|
sg as ScOrderPayment,
|
|
37404
|
-
|
|
37405
|
-
|
|
37406
|
-
|
|
37407
|
-
|
|
37408
|
-
|
|
37409
|
-
|
|
37410
|
-
|
|
37411
|
-
|
|
37412
|
-
|
|
37413
|
-
|
|
37401
|
+
N5 as ScOrderProductInfo,
|
|
37402
|
+
i3 as ScOrderStatusHistory,
|
|
37403
|
+
b6 as ScOrdersList,
|
|
37404
|
+
T6 as ScOrgSuggestion,
|
|
37405
|
+
P4 as ScOrgSuggestionLabel,
|
|
37406
|
+
W3 as ScPage,
|
|
37407
|
+
w6 as ScPageWithSlidingPanel,
|
|
37408
|
+
a6 as ScPersonContactsBlock,
|
|
37409
|
+
o6 as ScPhone,
|
|
37410
|
+
m6 as ScPhoneInput,
|
|
37414
37411
|
Co as ScProductName,
|
|
37415
|
-
|
|
37412
|
+
y6 as ScProductsList,
|
|
37416
37413
|
s1 as ScReferenceSelect,
|
|
37417
37414
|
Kb as ScSandwichConfigurator,
|
|
37418
37415
|
qb as ScSandwichConfiguratorForm,
|
|
@@ -37420,52 +37417,52 @@ export {
|
|
|
37420
37417
|
C_ as ScSandwichM2ConfiguratorForm,
|
|
37421
37418
|
TS as ScSearchableProductSelect,
|
|
37422
37419
|
SS as ScSearchableReferenceSelect,
|
|
37423
|
-
|
|
37424
|
-
|
|
37425
|
-
|
|
37426
|
-
|
|
37420
|
+
n6 as ScSetClientPriceFormItem,
|
|
37421
|
+
_6 as ScShortTextOrderInfo,
|
|
37422
|
+
h6 as ScSingleFileUploadSelector,
|
|
37423
|
+
U3 as ScSlidingContentWithDrawer,
|
|
37427
37424
|
_b as ScStripConfigurator,
|
|
37428
37425
|
db as ScStripConfiguratorForm,
|
|
37429
37426
|
rb as ScStripConfiguratorLineItem,
|
|
37430
37427
|
pb as ScStripConfiguratorPreview,
|
|
37431
37428
|
Md as ScUserShortInfo,
|
|
37432
|
-
|
|
37429
|
+
B6 as ScWarningIcon,
|
|
37433
37430
|
yi as SelectOptionHelper,
|
|
37434
37431
|
wo as UiNotificationProvider,
|
|
37435
37432
|
ct as Validators,
|
|
37436
37433
|
vt as WindowResolutionEnum,
|
|
37437
37434
|
ii as WindowResolutionProvider,
|
|
37438
|
-
|
|
37435
|
+
q6 as channelPrimaryInterestOptionsList,
|
|
37439
37436
|
jo as componentSizeInjectionKey,
|
|
37440
37437
|
sm as copyToClipboard,
|
|
37441
|
-
|
|
37438
|
+
M6 as deliveryTypeReferenceList,
|
|
37442
37439
|
il as handleFloatInput,
|
|
37443
37440
|
At as handleIntegerInput,
|
|
37444
|
-
|
|
37441
|
+
c6 as isCanSandwichM2Show,
|
|
37445
37442
|
z_ as isCanSandwichShow,
|
|
37446
37443
|
O_ as isConfiguratorType,
|
|
37447
|
-
|
|
37448
|
-
|
|
37449
|
-
|
|
37450
|
-
|
|
37451
|
-
|
|
37452
|
-
|
|
37444
|
+
A6 as managersReferenceList,
|
|
37445
|
+
G4 as naiveUiTheme,
|
|
37446
|
+
j6 as operatorReferenceList,
|
|
37447
|
+
E6 as opfReferenceList,
|
|
37448
|
+
V6 as orderStatusDetailReferenceList,
|
|
37449
|
+
W6 as orderStatusReferenceList,
|
|
37453
37450
|
Ht as parse,
|
|
37454
|
-
|
|
37455
|
-
|
|
37456
|
-
|
|
37457
|
-
|
|
37451
|
+
I6 as partnerGroupReferenceList,
|
|
37452
|
+
H6 as paymentTypeReferenceList,
|
|
37453
|
+
O6 as priceCoefficientsReferenceList,
|
|
37454
|
+
z6 as productFilesTypesReferenceList,
|
|
37458
37455
|
ht as renderConfig,
|
|
37459
37456
|
Tt as resetInputValidation,
|
|
37460
|
-
|
|
37461
|
-
|
|
37462
|
-
|
|
37463
|
-
|
|
37464
|
-
|
|
37465
|
-
|
|
37457
|
+
L6 as resourceReferencesList,
|
|
37458
|
+
D6 as salesDirectionsReferenceList,
|
|
37459
|
+
X6 as searchCityReferenceDataHandler,
|
|
37460
|
+
Y6 as searchCityReferenceLabelRenderer,
|
|
37461
|
+
K6 as searchClientReferenceDataHandler,
|
|
37462
|
+
G6 as searchClientReferenceLabelRenderer,
|
|
37466
37463
|
at as selectAllTextOnFocus,
|
|
37467
|
-
|
|
37464
|
+
U6 as sourcePrimaryInterestOptionsList,
|
|
37468
37465
|
am as vCopy,
|
|
37469
37466
|
Bs as vFocusNext,
|
|
37470
|
-
|
|
37467
|
+
N6 as warehousesReferenceList
|
|
37471
37468
|
};
|