@snabcentr/vue-ui-lib 4.4.6 → 4.5.0

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.
@@ -6,7 +6,7 @@ var lg = (t, e, i) => e in t ? ag(t, e, { enumerable: !0, configurable: !0, writ
6
6
  var P = (t, e, i) => lg(t, typeof e != "symbol" ? e + "" : e, i), dc = (t, e, i) => e.has(t) || uc("Cannot " + i);
7
7
  var ni = (t, e, i) => (dc(t, e, "read from private field"), i ? i.call(t) : e.get(t)), ma = (t, e, i) => e.has(t) ? uc("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, i), hc = (t, e, i, n) => (dc(t, e, "write to private field"), n ? n.call(t, i) : e.set(t, i), i);
8
8
  import { isString as cn, groupBy as cg, get as go, isEmpty as Sl, noop as Tt, some as Ii, isFunction as Ft, isNil as ut, find as fc, forOwn as Pd, forEach as ps, sortBy as $l, cloneDeep as ei, reduce as Td, every as gc, isArray as kt, keys as ug, debounce as Gi, sum as mc, isUndefined as er, unset as dg, isNull as Rd, isObject as hg, merge as Nr, upperFirst as fg, map as gg, constant as Io, union as mg } from "lodash-es";
9
- import { Comment as Oo, Text as Fd, Fragment as be, markRaw as He, createElementBlock as M, openBlock as _, createElementVNode as C, defineComponent as re, inject as et, computed as z, ref as X, readonly as mo, normalizeClass as Ye, createVNode as W, createCommentVNode as H, renderSlot as Re, unref as A, createTextVNode as ee, toDisplayString as U, Transition as ks, withCtx as O, createBlock as te, useTemplateRef as Ue, onMounted as lt, onBeforeUnmount as Ri, onUnmounted as Br, normalizeStyle as sr, renderList as Pt, h as q, watch as xe, withKeys as rr, withModifiers as un, nextTick as wt, onBeforeMount as Ar, toRaw as mi, withDirectives as Fs, provide as $i, createSlots as Bn, getCurrentInstance as Bd, Teleport as pg, toRef as st, mergeProps as Pl, onActivated as Ad, onDeactivated as Md, isVNode as vg, shallowRef as yg, watchEffect as An, vShow as Tl, cloneVNode as bg, mergeDefaults as Rl } from "vue";
9
+ import { Comment as Oo, Text as Fd, Fragment as be, markRaw as He, createElementBlock as M, openBlock as _, createElementVNode as C, defineComponent as re, inject as et, computed as z, ref as X, readonly as mo, normalizeClass as Ye, createVNode as H, createCommentVNode as W, renderSlot as Re, unref as A, createTextVNode as ee, toDisplayString as U, Transition as ks, withCtx as O, createBlock as te, useTemplateRef as Ue, onMounted as lt, onBeforeUnmount as Ri, onUnmounted as Br, normalizeStyle as sr, renderList as Pt, h as q, watch as xe, withKeys as rr, withModifiers as un, nextTick as wt, onBeforeMount as Ar, toRaw as mi, withDirectives as Fs, provide as $i, createSlots as Bn, getCurrentInstance as Bd, Teleport as pg, toRef as st, mergeProps as Pl, onActivated as Ad, onDeactivated as Md, isVNode as vg, shallowRef as yg, watchEffect as An, vShow as Tl, cloneVNode as bg, mergeDefaults as Rl } from "vue";
10
10
  import { NTooltip as Mr, NButton as Ne, NDropdown as zo, NTag as Ed, NPopover as En, NText as Xn, NScrollbar as Id, NCheckbox as In, NSpin as Jn, NForm as Bs, NFormItem as Ve, NSelect as Ui, NInputNumber as yt, NInput as fn, NModal as Fl, NDrawer as Od, NDrawerContent as zd, NDataTable as Bl, NAlert as Ld, NInputGroup as Dd, NInputGroupLabel as _g, NDatePicker as wg, NUpload as xg, NUploadDragger as kg, NList as Cg, NListItem as Sg, NImage as $g, NH1 as Pg, NAutoComplete as Al } from "naive-ui";
11
11
  import { useBaseConfigStateStore as ui, OrderItemBase as mt, ClientProduct as Xi, Identity as Tg, ConfiguratorsEnum as Gt, ClientCategory as Rg, Reference as Fg, useReferencesStore as Nt, PriceCoefficientEnum as Bg, CalculationTypeEnum as Hr, PriceCoefficient as Ag, UnitsHelper as si, DateTimeProvider as Mg, HttpRequester as Yi, ProductCategoryDataProvider as Eg, ProductDataProvider as Ig, UserTypeEnum as Wr, OrdersDataProvider as po, Order as Og, DataTablePagination as zg, Curator as pc, CuratedDirection as Lg, ManagerDataFactory as vc, Manager as pa, DataSuggestionProvider as Ml, FieldValidationResultData as Dg, ReferenceDataProvider as Ng, ClientDataProvider as Hg } from "@snabcentr/common-lib";
12
12
  import { format as Cs, endOfDay as Wg, startOfDay as Vg, isTomorrow as jg } from "date-fns";
@@ -165,7 +165,7 @@ class Pi {
165
165
  );
166
166
  }
167
167
  }
168
- const I4 = {
168
+ const z4 = {
169
169
  required: {
170
170
  required: !0,
171
171
  type: "any",
@@ -211,7 +211,7 @@ const I4 = {
211
211
  validator: (e, i) => i === null || Math.abs(i / t - Math.round(i / t)) < 1e-10 ? !0 : new Error(`Значение должно быть кратно ${t}`)
212
212
  };
213
213
  }
214
- }, O4 = {
214
+ }, L4 = {
215
215
  required: {
216
216
  required: !0,
217
217
  type: "date",
@@ -474,7 +474,7 @@ const _m = He({ name: "ion-chevron-forward-outline", render: bm }), wm = ["data-
474
474
  onClick: d
475
475
  }, [
476
476
  Re(m.$slots, "arrow", {}, () => [
477
- W(v)
477
+ H(v)
478
478
  ], !0)
479
479
  ], 2)
480
480
  ]),
@@ -482,7 +482,7 @@ const _m = He({ name: "ion-chevron-forward-outline", render: bm }), wm = ["data-
482
482
  C("div", Sm, [
483
483
  Re(m.$slots, "pre-arrow", {}, void 0, !0)
484
484
  ])
485
- ])) : H("", !0),
485
+ ])) : W("", !0),
486
486
  C("div", $m, [
487
487
  C("div", {
488
488
  class: "sc-collapse-item-title flex flex-1 cursor-pointer flex-col text-lg font-semibold",
@@ -494,17 +494,17 @@ const _m = He({ name: "ion-chevron-forward-outline", render: bm }), wm = ["data-
494
494
  ]),
495
495
  A(Gs).hasSlotContent(m.$slots["sub-header"]) ? (_(), M("div", Pm, [
496
496
  Re(m.$slots, "sub-header", {}, void 0, !0)
497
- ])) : H("", !0)
497
+ ])) : W("", !0)
498
498
  ]),
499
499
  A(Gs).hasSlotContent(m.$slots["header-extra"]) ? (_(), M("div", Tm, [
500
500
  Re(m.$slots, "header-extra", {}, void 0, !0)
501
- ])) : H("", !0)
501
+ ])) : W("", !0)
502
502
  ]),
503
- W(ks, { name: "fade" }, {
503
+ H(ks, { name: "fade" }, {
504
504
  default: O(() => [
505
505
  c.value || u.value ? (_(), M("div", Rm, [
506
506
  Re(m.$slots, "default", {}, void 0, !0)
507
- ])) : H("", !0)
507
+ ])) : W("", !0)
508
508
  ]),
509
509
  _: 3
510
510
  })
@@ -561,7 +561,7 @@ function Em(t, e) {
561
561
  }, null, -1)
562
562
  ])]);
563
563
  }
564
- const Vd = He({ name: "ion-cart-outline", render: Em }), Lo = Symbol(), z4 = {
564
+ const Vd = He({ name: "ion-cart-outline", render: Em }), Lo = Symbol(), D4 = {
565
565
  Button: {
566
566
  border: "1px solid grey"
567
567
  },
@@ -674,7 +674,7 @@ const Vd = He({ name: "ion-cart-outline", render: Em }), Lo = Symbol(), z4 = {
674
674
  trigger: "hover"
675
675
  }, {
676
676
  trigger: O(() => [
677
- W(m, {
677
+ H(m, {
678
678
  ghost: !0,
679
679
  size: A(i),
680
680
  disabled: r.value === "disabled",
@@ -691,14 +691,14 @@ const Vd = He({ name: "ion-cart-outline", render: Em }), Lo = Symbol(), z4 = {
691
691
  h[0] || (h[0] = ee(" Товар, который нужно предлагать клиенту ", -1))
692
692
  ]),
693
693
  _: 1
694
- })) : H("", !0),
694
+ })) : W("", !0),
695
695
  s.value ? (_(), te(p, {
696
696
  key: 1,
697
697
  placement: "bottom",
698
698
  trigger: "hover"
699
699
  }, {
700
700
  trigger: O(() => [
701
- W(m, {
701
+ H(m, {
702
702
  ghost: !0,
703
703
  size: A(i),
704
704
  type: "primary",
@@ -706,7 +706,7 @@ const Vd = He({ name: "ion-cart-outline", render: Em }), Lo = Symbol(), z4 = {
706
706
  onClick: l
707
707
  }, {
708
708
  default: O(() => [
709
- W(v)
709
+ H(v)
710
710
  ]),
711
711
  _: 1
712
712
  }, 8, ["size", "disabled"])
@@ -715,14 +715,14 @@ const Vd = He({ name: "ion-cart-outline", render: Em }), Lo = Symbol(), z4 = {
715
715
  h[1] || (h[1] = ee(" Редактировать ", -1))
716
716
  ]),
717
717
  _: 1
718
- })) : H("", !0),
718
+ })) : W("", !0),
719
719
  n.value ? (_(), te(p, {
720
720
  key: 2,
721
721
  placement: "bottom",
722
722
  trigger: "hover"
723
723
  }, {
724
724
  trigger: O(() => [
725
- W(m, {
725
+ H(m, {
726
726
  ghost: !0,
727
727
  size: A(i),
728
728
  disabled: n.value === "disabled",
@@ -730,7 +730,7 @@ const Vd = He({ name: "ion-cart-outline", render: Em }), Lo = Symbol(), z4 = {
730
730
  onClick: a
731
731
  }, {
732
732
  default: O(() => [
733
- W(y)
733
+ H(y)
734
734
  ]),
735
735
  _: 1
736
736
  }, 8, ["size", "disabled"])
@@ -739,7 +739,7 @@ const Vd = He({ name: "ion-cart-outline", render: Em }), Lo = Symbol(), z4 = {
739
739
  h[2] || (h[2] = ee(" Добавить в корзину ", -1))
740
740
  ]),
741
741
  _: 1
742
- })) : H("", !0),
742
+ })) : W("", !0),
743
743
  ((F = o.value) == null ? void 0 : F.length) > 0 ? (_(), te(x, {
744
744
  key: 3,
745
745
  options: o.value,
@@ -748,19 +748,19 @@ const Vd = He({ name: "ion-cart-outline", render: Em }), Lo = Symbol(), z4 = {
748
748
  onSelect: u
749
749
  }, {
750
750
  default: O(() => [
751
- W(m, {
751
+ H(m, {
752
752
  ghost: !0,
753
753
  size: A(i),
754
754
  type: "primary"
755
755
  }, {
756
756
  default: O(() => [
757
- W($)
757
+ H($)
758
758
  ]),
759
759
  _: 1
760
760
  }, 8, ["size"])
761
761
  ]),
762
762
  _: 1
763
- }, 8, ["options", "size"])) : H("", !0)
763
+ }, 8, ["options", "size"])) : W("", !0)
764
764
  ]);
765
765
  };
766
766
  }
@@ -849,7 +849,7 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
849
849
  return _(), M("div", Vm, [
850
850
  t.showTag ? (_(), te(x, { key: 0 }, {
851
851
  trigger: O(() => [
852
- W($, {
852
+ H($, {
853
853
  round: "",
854
854
  bordered: !1,
855
855
  size: "small",
@@ -871,17 +871,17 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
871
871
  ];
872
872
  }),
873
873
  _: 1
874
- })) : H("", !0),
874
+ })) : W("", !0),
875
875
  C("div", {
876
876
  class: Ye({ "!text-red-600": r.value })
877
877
  }, [
878
878
  l.value && l.value !== a.value || m.value ? (_(), M("div", jm, [
879
- l.value && l.value !== a.value ? (_(), M("span", qm, U(f.value) + " " + U(t.showQuantityUnit ? ` ${n.value.currency.symbol}/${n.value.unit.name}` : ""), 1)) : H("", !0),
879
+ l.value && l.value !== a.value ? (_(), M("span", qm, U(f.value) + " " + U(t.showQuantityUnit ? ` ${n.value.currency.symbol}/${n.value.unit.name}` : ""), 1)) : W("", !0),
880
880
  m.value ? (_(), M("span", {
881
881
  key: 1,
882
882
  class: Ye(["flex text-nowrap text-sm text-gray-600", { "!text-red-600": r.value }])
883
- }, " (" + U(m.value) + "%) ", 3)) : H("", !0)
884
- ])) : H("", !0),
883
+ }, " (" + U(m.value) + "%) ", 3)) : W("", !0)
884
+ ])) : W("", !0),
885
885
  C("span", {
886
886
  class: Ye(["whitespace-nowrap text-base flex items-center gap-1", { "text-gray-600": (w = s.value) == null ? void 0 : w.readOnly, "font-bold": !s.value && !i.value }])
887
887
  }, [
@@ -895,15 +895,15 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
895
895
  ee(" " + U(t.showQuantityUnit ? ` ${n.value.currency.symbol}/${n.value.unit.name}` : "") + " ", 1),
896
896
  a.value && !s.value && "discount" in t.product && t.product.discount ? (_(), te(x, { key: 0 }, {
897
897
  trigger: O(() => [
898
- W(F, { class: "text-sm text-black bg-amber-400 rounded p-px" })
898
+ H(F, { class: "text-sm text-black bg-amber-400 rounded p-px" })
899
899
  ]),
900
900
  default: O(() => [
901
901
  C("span", null, ' На продукт действует скидка "' + U(t.product.discount.name) + '"; ', 1)
902
902
  ]),
903
903
  _: 1
904
- })) : H("", !0)
904
+ })) : W("", !0)
905
905
  ], 2),
906
- g.value ? (_(), M("span", Um, " ~ " + U(g.value) + " " + U(t.showQuantityUnit ? `₽/${n.value.unit.name}` : ""), 1)) : H("", !0),
906
+ g.value ? (_(), M("span", Um, " ~ " + U(g.value) + " " + U(t.showQuantityUnit ? `₽/${n.value.unit.name}` : ""), 1)) : W("", !0),
907
907
  t.showCostDate && !A(ut)(c.value) ? (_(), M("span", Xm, [
908
908
  ee(U(c.value) + " ", 1),
909
909
  t.showPriceHistory && t.eventEmitter ? (_(), te(x, {
@@ -911,7 +911,7 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
911
911
  placement: "top-end"
912
912
  }, {
913
913
  trigger: O(() => [
914
- W(B, {
914
+ H(B, {
915
915
  class: "cursor-pointer",
916
916
  onClick: y[1] || (y[1] = (S) => {
917
917
  var b;
@@ -923,8 +923,8 @@ const Wm = He({ name: "mdi-percent-outline", render: Hm }), Vm = { class: "flex
923
923
  y[2] || (y[2] = ee(" История цен ", -1))
924
924
  ]),
925
925
  _: 1
926
- })) : H("", !0)
927
- ])) : H("", !0)
926
+ })) : W("", !0)
927
+ ])) : W("", !0)
928
928
  ], 2)
929
929
  ]);
930
930
  };
@@ -1798,12 +1798,12 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
1798
1798
  onClick: u[0] || (u[0] = (g) => i.value = !i.value)
1799
1799
  }, [
1800
1800
  Re(c.$slots, "default", {}, () => [
1801
- W(d)
1801
+ H(d)
1802
1802
  ])
1803
1803
  ])
1804
1804
  ]),
1805
1805
  default: O(() => [
1806
- W(dp, {
1806
+ H(dp, {
1807
1807
  settings: s.value,
1808
1808
  style: sr(`max-width: ${o.value}px`),
1809
1809
  class: "flex flex-row overflow-x-scroll",
@@ -1848,7 +1848,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
1848
1848
  }, {
1849
1849
  trigger: O(() => [
1850
1850
  Re(e.$slots, "default", {}, () => [
1851
- W(n)
1851
+ H(n)
1852
1852
  ])
1853
1853
  ]),
1854
1854
  default: O(() => [
@@ -1859,7 +1859,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
1859
1859
  ee(U(r.count ?? "В наличии") + " ", 1),
1860
1860
  r.count ? (_(), M(be, { key: 0 }, [
1861
1861
  ee(U(t.product.unit.name), 1)
1862
- ], 64)) : H("", !0)
1862
+ ], 64)) : W("", !0)
1863
1863
  ])
1864
1864
  ], 64))), 128))
1865
1865
  ])
@@ -1945,7 +1945,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
1945
1945
  const g = sp, f = Mr, m = Vd, p = tp, v = qd, y = Xn, $ = jd, x = Ol, F = Id;
1946
1946
  return _(), M("div", null, [
1947
1947
  C("div", wp, [
1948
- W(y, {
1948
+ H(y, {
1949
1949
  type: "info",
1950
1950
  class: "sc-product-name text-balance text-base font-medium"
1951
1951
  }, {
@@ -1959,45 +1959,45 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
1959
1959
  trigger: "hover"
1960
1960
  }, {
1961
1961
  trigger: O(() => [
1962
- W(g, { class: "!text-yellow-300" })
1962
+ H(g, { class: "!text-yellow-300" })
1963
1963
  ]),
1964
1964
  default: O(() => [
1965
1965
  h[0] || (h[0] = ee(" Избранный товар ", -1))
1966
1966
  ]),
1967
1967
  _: 1
1968
- })) : H("", !0),
1968
+ })) : W("", !0),
1969
1969
  ((D = t.product) == null ? void 0 : D.isPreviouslyOrdered) ?? !1 ? (_(), te(f, {
1970
1970
  key: 1,
1971
1971
  placement: "bottom",
1972
1972
  trigger: "hover"
1973
1973
  }, {
1974
1974
  trigger: O(() => [
1975
- W(m, { class: "!text-green-700" })
1975
+ H(m, { class: "!text-green-700" })
1976
1976
  ]),
1977
1977
  default: O(() => [
1978
1978
  h[1] || (h[1] = ee(" Ранее заказанный товар ", -1))
1979
1979
  ]),
1980
1980
  _: 1
1981
- })) : H("", !0),
1981
+ })) : W("", !0),
1982
1982
  t.showAdditionalSaleIcon ? (_(), te(f, {
1983
1983
  key: 2,
1984
1984
  placement: "bottom",
1985
1985
  trigger: "hover"
1986
1986
  }, {
1987
1987
  trigger: O(() => [
1988
- W(p, { class: "!text-green-500" })
1988
+ H(p, { class: "!text-green-500" })
1989
1989
  ]),
1990
1990
  default: O(() => [
1991
1991
  h[2] || (h[2] = ee(" Дополнительная продажа ", -1))
1992
1992
  ]),
1993
1993
  _: 1
1994
- })) : H("", !0)
1995
- ])) : H("", !0),
1994
+ })) : W("", !0)
1995
+ ])) : W("", !0),
1996
1996
  C("span", {
1997
1997
  class: Ye({ "cursor-pointer": l.value && t.eventEmitter }),
1998
1998
  onClick: u
1999
1999
  }, U(t.product.name), 3),
2000
- t.product.onOrder ? (_(), M("span", kp, " [Под заказ] ")) : H("", !0),
2000
+ t.product.onOrder ? (_(), M("span", kp, " [Под заказ] ")) : W("", !0),
2001
2001
  C("span", Cp, [
2002
2002
  t.product.images && t.product.images.length > 0 ? (_(), te(mp, {
2003
2003
  key: 0,
@@ -2006,11 +2006,11 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
2006
2006
  }, {
2007
2007
  default: O(() => [
2008
2008
  C("div", Sp, [
2009
- W(v)
2009
+ H(v)
2010
2010
  ])
2011
2011
  ]),
2012
2012
  _: 1
2013
- }, 8, ["images"])) : H("", !0)
2013
+ }, 8, ["images"])) : W("", !0)
2014
2014
  ])
2015
2015
  ];
2016
2016
  }),
@@ -2024,18 +2024,18 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
2024
2024
  "show-product-edit-button": t.showProductEditButton,
2025
2025
  "show-product-required-button": t.showProductRequiredButton,
2026
2026
  "product-context-buttons-config": t.productContextButtonsConfig
2027
- }, null, 8, ["product", "event-emitter", "show-product-add-to-cart-button", "show-product-edit-button", "show-product-required-button", "product-context-buttons-config"])) : H("", !0)
2027
+ }, null, 8, ["product", "event-emitter", "show-product-add-to-cart-button", "show-product-edit-button", "show-product-required-button", "product-context-buttons-config"])) : W("", !0)
2028
2028
  ]),
2029
2029
  C("div", $p, [
2030
2030
  C("div", Pp, [
2031
2031
  t.product.supplierSku ? (_(), M("div", Tp, [
2032
2032
  h[3] || (h[3] = ee(" Артикул производителя/поставщика: ", -1)),
2033
2033
  C("span", Rp, U(t.product.supplierSku), 1)
2034
- ])) : H("", !0),
2034
+ ])) : W("", !0),
2035
2035
  t.showCode ? (_(), M("span", Fp, [
2036
2036
  h[4] || (h[4] = ee(" Артикул: ", -1)),
2037
2037
  C("span", Bp, U(t.product.code), 1)
2038
- ])) : H("", !0),
2038
+ ])) : W("", !0),
2039
2039
  t.product.stockCount && t.product.stockCount.length > 0 ? (_(), te(_p, {
2040
2040
  key: 2,
2041
2041
  product: t.product
@@ -2043,7 +2043,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
2043
2043
  default: O(() => [
2044
2044
  C("span", Ap, [
2045
2045
  h[5] || (h[5] = C("span", { class: "underline decoration-dashed" }, "В наличии", -1)),
2046
- W(x, { class: "mt-0.5" })
2046
+ H(x, { class: "mt-0.5" })
2047
2047
  ])
2048
2048
  ]),
2049
2049
  _: 1
@@ -2051,14 +2051,14 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
2051
2051
  t.product.pack ?? ((w = (B = t.product) == null ? void 0 : B.properties) == null ? void 0 : w.pack) ? (_(), M("span", Ep, [
2052
2052
  h[6] || (h[6] = ee(" Норма упаковки: ", -1)),
2053
2053
  C("span", Ip, U(t.product.pack ?? ((b = (S = t.product) == null ? void 0 : S.properties) == null ? void 0 : b.pack)), 1)
2054
- ])) : H("", !0),
2054
+ ])) : W("", !0),
2055
2055
  t.showPlanningDates && r.value ? (_(), M("span", Op, [
2056
2056
  h[7] || (h[7] = ee(" Планируемая дата поступления на основной склад: ", -1)),
2057
2057
  C("span", zp, U(r.value), 1)
2058
- ])) : H("", !0)
2058
+ ])) : W("", !0)
2059
2059
  ])
2060
2060
  ]),
2061
- W(F, { "x-scrollable": "" }, {
2061
+ H(F, { "x-scrollable": "" }, {
2062
2062
  default: O(() => [
2063
2063
  n.value ? (_(), M("div", Lp, [
2064
2064
  (_(!0), M(be, null, Pt(s.value, (T) => (_(), te(Kn, {
@@ -2071,7 +2071,7 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
2071
2071
  "show-price-history": t.showPriceHistory,
2072
2072
  "currency-rates": t.currencyRates
2073
2073
  }, null, 8, ["product", "cost-field-name", "event-emitter", "allow-price-click", "show-price-history", "currency-rates"]))), 128)),
2074
- W(Kn, {
2074
+ H(Kn, {
2075
2075
  product: t.product,
2076
2076
  "event-emitter": t.eventEmitter,
2077
2077
  "allow-price-click": t.allowPriceClick,
@@ -2085,16 +2085,16 @@ const hp = ["href"], fp = ["src", "alt"], gp = {}, mp = /* @__PURE__ */ re({
2085
2085
  style: { "background-color": "var(--n-merged-td-color)" },
2086
2086
  class: "sticky right-0 border-0 border-l-2 border-solid border-gray-300 pl-2"
2087
2087
  }, null, 8, ["product", "event-emitter", "allow-price-click", "show-cost-date", "show-price-history", "currency-rates"])
2088
- ])) : H("", !0)
2088
+ ])) : W("", !0)
2089
2089
  ]),
2090
2090
  _: 1
2091
2091
  }),
2092
2092
  t.showSlugs || t.showProperties ? (_(), M("div", Dp, [
2093
2093
  C("ul", Np, [
2094
- t.showSlugs ? (_(!0), M(be, { key: 0 }, Pt({ id: t.product.id, slug: t.product.slug }, (T, R) => (_(), M("li", { key: R }, " (" + U(R) + "): " + U(T), 1))), 128)) : H("", !0),
2095
- t.showProperties ? (_(!0), M(be, { key: 1 }, Pt(t.product.properties, (T, R) => (_(), M("li", { key: R }, " (" + U(R) + "): " + U(T), 1))), 128)) : H("", !0)
2094
+ t.showSlugs ? (_(!0), M(be, { key: 0 }, Pt({ id: t.product.id, slug: t.product.slug }, (T, R) => (_(), M("li", { key: R }, " (" + U(R) + "): " + U(T), 1))), 128)) : W("", !0),
2095
+ t.showProperties ? (_(!0), M(be, { key: 1 }, Pt(t.product.properties, (T, R) => (_(), M("li", { key: R }, " (" + U(R) + "): " + U(T), 1))), 128)) : W("", !0)
2096
2096
  ])
2097
- ])) : H("", !0)
2097
+ ])) : W("", !0)
2098
2098
  ]);
2099
2099
  };
2100
2100
  }
@@ -2263,16 +2263,16 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2263
2263
  return (n, s) => {
2264
2264
  const r = Jn, o = Xn;
2265
2265
  return t.isProductSearching ? (_(), M("div", Yp, [
2266
- W(r, {
2266
+ H(r, {
2267
2267
  size: 17,
2268
2268
  class: "w-fit"
2269
2269
  }),
2270
2270
  s[0] || (s[0] = C("div", null, "Выполняется поиск товара ...", -1))
2271
2271
  ])) : t.product && !t.product.isNewRec() ? (_(), M("div", Kp, [
2272
2272
  C("div", null, U(t.product.code) + " - " + U(t.product.name) + " - " + U(t.product.costRub.toLocaleString()) + " ₽ / " + U(t.product.unit.name), 1),
2273
- i.value ? (_(), M("div", Gp, "(Планируемая дата производства: " + U(i.value) + ")", 1)) : H("", !0)
2273
+ i.value ? (_(), M("div", Gp, "(Планируемая дата производства: " + U(i.value) + ")", 1)) : W("", !0)
2274
2274
  ])) : t.validation ? (_(), M("div", Zp, [
2275
- W(o, {
2275
+ H(o, {
2276
2276
  type: t.validation.validationStatus
2277
2277
  }, {
2278
2278
  default: O(() => [
@@ -2280,7 +2280,7 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2280
2280
  ]),
2281
2281
  _: 1
2282
2282
  }, 8, ["type"])
2283
- ])) : H("", !0);
2283
+ ])) : W("", !0);
2284
2284
  };
2285
2285
  }
2286
2286
  }), Jp = { class: "flex flex-col gap-4" }, ev = { class: "flex flex-col gap-2" }, tv = { class: "mt-8 font-bold" }, iv = { class: "grid grow grid-cols-2 items-start gap-2" }, nv = {
@@ -2404,7 +2404,7 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2404
2404
  label: "Тип стартового капельника"
2405
2405
  }, {
2406
2406
  default: O(() => [
2407
- W(A(Ui), {
2407
+ H(A(Ui), {
2408
2408
  value: a.value.configuratorParams.startTailType,
2409
2409
  "onUpdate:value": [
2410
2410
  y[0] || (y[0] = (w) => a.value.configuratorParams.startTailType = w),
@@ -2415,7 +2415,7 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2415
2415
  }, null, 8, ["value", "options"])
2416
2416
  ]),
2417
2417
  _: 1
2418
- })) : H("", !0),
2418
+ })) : W("", !0),
2419
2419
  C("div", ev, [
2420
2420
  (_(!0), M(be, null, Pt(a.value.configuratorParams.linesAngles, (w, S) => (_(), M("div", {
2421
2421
  key: S,
@@ -2423,12 +2423,12 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2423
2423
  }, [
2424
2424
  C("div", tv, U(S + 1), 1),
2425
2425
  C("div", iv, [
2426
- W(A(Ve), {
2426
+ H(A(Ve), {
2427
2427
  path: `configuratorParams.linesWidths.${S}`,
2428
2428
  label: "Ширина, мм"
2429
2429
  }, {
2430
2430
  default: O(() => [
2431
- W(A(yt), {
2431
+ H(A(yt), {
2432
2432
  value: a.value.configuratorParams.linesWidths[S],
2433
2433
  "onUpdate:value": [
2434
2434
  (b) => a.value.configuratorParams.linesWidths[S] = b,
@@ -2444,12 +2444,12 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2444
2444
  ]),
2445
2445
  _: 2
2446
2446
  }, 1032, ["path"]),
2447
- W(A(Ve), {
2447
+ H(A(Ve), {
2448
2448
  path: `configuratorParams.linesAngles.${S}`,
2449
2449
  label: "Угол сгиба, °"
2450
2450
  }, {
2451
2451
  default: O(() => [
2452
- W(A(yt), {
2452
+ H(A(yt), {
2453
2453
  value: a.value.configuratorParams.linesAngles[S],
2454
2454
  "onUpdate:value": [
2455
2455
  (b) => a.value.configuratorParams.linesAngles[S] = b,
@@ -2466,24 +2466,24 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2466
2466
  _: 2
2467
2467
  }, 1032, ["path"])
2468
2468
  ]),
2469
- W(A(Ve), {
2469
+ H(A(Ve), {
2470
2470
  label: void 0,
2471
2471
  "show-feedback": !1,
2472
2472
  required: !0,
2473
2473
  class: "shrink-0"
2474
2474
  }, {
2475
2475
  default: O(() => [
2476
- t.settings.showOnlyTemplates ? H("", !0) : (_(), te(A(Ne), {
2476
+ t.settings.showOnlyTemplates ? W("", !0) : (_(), te(A(Ne), {
2477
2477
  key: 0,
2478
2478
  size: "medium",
2479
2479
  onClick: (b) => s("click:add-line", S)
2480
2480
  }, {
2481
2481
  default: O(() => [
2482
- W($)
2482
+ H($)
2483
2483
  ]),
2484
2484
  _: 1
2485
2485
  }, 8, ["onClick"])),
2486
- t.settings.showOnlyTemplates ? H("", !0) : (_(), te(A(Ne), {
2486
+ t.settings.showOnlyTemplates ? W("", !0) : (_(), te(A(Ne), {
2487
2487
  key: 1,
2488
2488
  disabled: a.value.configuratorParams.linesWidths.length === 1,
2489
2489
  size: "medium",
@@ -2491,7 +2491,7 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2491
2491
  onClick: (b) => s("click:remove-line", S)
2492
2492
  }, {
2493
2493
  default: O(() => [
2494
- W(x)
2494
+ H(x)
2495
2495
  ]),
2496
2496
  _: 1
2497
2497
  }, 8, ["disabled", "onClick"]))
@@ -2507,7 +2507,7 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2507
2507
  required: !0
2508
2508
  }, {
2509
2509
  default: O(() => [
2510
- W(A(Ui), {
2510
+ H(A(Ui), {
2511
2511
  value: a.value.configuratorParams.endTailType,
2512
2512
  "onUpdate:value": [
2513
2513
  y[5] || (y[5] = (w) => a.value.configuratorParams.endTailType = w),
@@ -2518,14 +2518,14 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2518
2518
  }, null, 8, ["value", "options"])
2519
2519
  ]),
2520
2520
  _: 1
2521
- })) : H("", !0),
2522
- W(No, {
2521
+ })) : W("", !0),
2522
+ H(No, {
2523
2523
  "is-product-searching": t.isProductSearching,
2524
2524
  product: a.value.product,
2525
2525
  validation: t.validation.product
2526
2526
  }, null, 8, ["is-product-searching", "product", "validation"]),
2527
- h.value ? H("", !0) : (_(), M("div", nv, " Суммарная ширина участков гиба должна быть от " + U(t.settings.stripMinWidth) + " до " + U(t.settings.stripMaxWidth) + " мм., текущая ширина: " + U(d.value) + " мм. ", 1)),
2528
- g.value ? H("", !0) : (_(), M("div", sv, " Пожалуйста, заполните все обязательные поля корректно. ")),
2527
+ h.value ? W("", !0) : (_(), M("div", nv, " Суммарная ширина участков гиба должна быть от " + U(t.settings.stripMinWidth) + " до " + U(t.settings.stripMaxWidth) + " мм., текущая ширина: " + U(d.value) + " мм. ", 1)),
2528
+ g.value ? W("", !0) : (_(), M("div", sv, " Пожалуйста, заполните все обязательные поля корректно. ")),
2529
2529
  t.settings.allowSaveTemplates && t.selectTemplateIndex === ((B = t.settings.allTemplates) == null ? void 0 : B.length) - 1 ? (_(), te(A(Ne), {
2530
2530
  key: 4,
2531
2531
  type: "tertiary",
@@ -2537,15 +2537,15 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2537
2537
  ee(" Сохранить шаблон ", -1)
2538
2538
  ])]),
2539
2539
  _: 1
2540
- }, 8, ["loading"])) : H("", !0)
2540
+ }, 8, ["loading"])) : W("", !0)
2541
2541
  ]),
2542
2542
  C("div", rv, [
2543
- W(A(Ve), {
2543
+ H(A(Ve), {
2544
2544
  label: "С какой стороны изделие будет иметь цвет",
2545
2545
  "show-feedback": !1
2546
2546
  }, {
2547
2547
  default: O(() => [
2548
- W(A(Ui), {
2548
+ H(A(Ui), {
2549
2549
  value: a.value.configuratorParams.colorSide,
2550
2550
  "onUpdate:value": [
2551
2551
  y[7] || (y[7] = (w) => a.value.configuratorParams.colorSide = w),
@@ -2560,12 +2560,12 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2560
2560
  ]),
2561
2561
  _: 1
2562
2562
  }),
2563
- W(A(Ve), {
2563
+ H(A(Ve), {
2564
2564
  path: "configuratorParams.length",
2565
2565
  label: `Метраж${t.settings.stripMinLength ? " от " + t.settings.stripMinLength : ""}${t.settings.stripMaxLength ? " до " + t.settings.stripMaxLength : ""} мм`
2566
2566
  }, {
2567
2567
  default: O(() => [
2568
- W(A(yt), {
2568
+ H(A(yt), {
2569
2569
  value: a.value.configuratorParams.length,
2570
2570
  "onUpdate:value": [
2571
2571
  y[8] || (y[8] = (w) => a.value.configuratorParams.length = w),
@@ -2582,12 +2582,12 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2582
2582
  ]),
2583
2583
  _: 1
2584
2584
  }, 8, ["label"]),
2585
- W(A(Ve), {
2585
+ H(A(Ve), {
2586
2586
  path: "quantity",
2587
2587
  label: "Количество"
2588
2588
  }, {
2589
2589
  default: O(() => [
2590
- W(A(yt), {
2590
+ H(A(yt), {
2591
2591
  value: a.value.quantity,
2592
2592
  "onUpdate:value": [
2593
2593
  y[12] || (y[12] = (w) => a.value.quantity = w),
@@ -2603,12 +2603,12 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2603
2603
  ]),
2604
2604
  _: 1
2605
2605
  }),
2606
- W(A(Ve), {
2606
+ H(A(Ve), {
2607
2607
  path: "marker",
2608
2608
  label: "Маркировка"
2609
2609
  }, {
2610
2610
  default: O(() => [
2611
- W(A(fn), {
2611
+ H(A(fn), {
2612
2612
  value: a.value.marker ?? null,
2613
2613
  placeholder: "Введите маркировку",
2614
2614
  onInput: y[16] || (y[16] = (w) => A($t)(t.validation, "marker")),
@@ -2633,13 +2633,13 @@ const Ud = He({ name: "ion-plus", render: Xp }), Yp = {
2633
2633
  ee(" ДопПродажа ", -1)
2634
2634
  ])]),
2635
2635
  _: 1
2636
- }, 8, ["checked"])) : H("", !0),
2636
+ }, 8, ["checked"])) : W("", !0),
2637
2637
  u.value ? (_(), M("div", ov, [
2638
2638
  y[24] || (y[24] = ee(" ИТОГО: ", -1)),
2639
2639
  C("span", av, U(u.value) + " ₽", 1)
2640
- ])) : H("", !0),
2640
+ ])) : W("", !0),
2641
2641
  C("div", lv, [
2642
- W(A(Ne), {
2642
+ H(A(Ne), {
2643
2643
  loading: t.isSubmitProcessing,
2644
2644
  disabled: !g.value || a.value.product.isNewRec(),
2645
2645
  type: "primary",
@@ -18710,7 +18710,7 @@ const Xo = He({ name: "ion-close", render: Z0 }), Q0 = { class: "mr-3 flex flex-
18710
18710
  key: `${d.id}-${h}`,
18711
18711
  class: "group relative"
18712
18712
  }, [
18713
- W(A(En), {
18713
+ H(A(En), {
18714
18714
  trigger: "hover",
18715
18715
  placement: "right"
18716
18716
  }, {
@@ -18744,10 +18744,10 @@ const Xo = He({ name: "ion-close", render: Z0 }), Q0 = { class: "mr-3 flex flex-
18744
18744
  onClick: (g) => a(h)
18745
18745
  }, {
18746
18746
  default: O(() => [
18747
- W(u)
18747
+ H(u)
18748
18748
  ]),
18749
18749
  _: 1
18750
- }, 8, ["loading", "disabled", "onClick"])) : H("", !0)
18750
+ }, 8, ["loading", "disabled", "onClick"])) : W("", !0)
18751
18751
  ]))), 128))
18752
18752
  ])
18753
18753
  ]),
@@ -18987,7 +18987,7 @@ const Xo = He({ name: "ion-close", render: Z0 }), Q0 = { class: "mr-3 flex flex-
18987
18987
  }), Ri(() => {
18988
18988
  l && (l.clear(), l = null);
18989
18989
  }), (I, E) => (_(), M("div", sy, [
18990
- W(ny, {
18990
+ H(ny, {
18991
18991
  "select-template-index": t.selectTemplateIndex,
18992
18992
  settings: t.settings,
18993
18993
  "onTemplate:select": E[0] || (E[0] = (G) => n("template:select", G)),
@@ -19320,9 +19320,9 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19320
19320
  ee(" Показать в виде списка ", -1)
19321
19321
  ])]),
19322
19322
  _: 1
19323
- })) : H("", !0),
19323
+ })) : W("", !0),
19324
19324
  C("div", dy, [
19325
- W(ly, {
19325
+ H(ly, {
19326
19326
  value: a.value,
19327
19327
  "select-template-index": d.value,
19328
19328
  settings: l.value,
@@ -19332,7 +19332,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19332
19332
  "onTemplate:select": g,
19333
19333
  onRemoveCustomTemplate: m
19334
19334
  }, null, 8, ["value", "select-template-index", "settings"]),
19335
- W(dv, {
19335
+ H(dv, {
19336
19336
  ref: "kozyrek-configurator-params-form",
19337
19337
  value: a.value,
19338
19338
  "onUpdate:value": T[1] || (T[1] = (V) => a.value = V),
@@ -19385,7 +19385,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19385
19385
  n.value ? (_(), M("div", {
19386
19386
  key: 0,
19387
19387
  class: Ye(["frame-crossbar", `frame-crossbar-${n.value}-${t.configuratorParams.color}`])
19388
- }, null, 2)) : H("", !0),
19388
+ }, null, 2)) : W("", !0),
19389
19389
  C("div", {
19390
19390
  class: Ye(["mount", `mount-${t.configuratorParams.mountType}-${t.configuratorParams.color}`])
19391
19391
  }, null, 2),
@@ -19393,7 +19393,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19393
19393
  class: Ye(["cut-preview", `cut-preview-${t.configuratorParams.mountType}-${t.configuratorParams.color}`])
19394
19394
  }, null, 2)
19395
19395
  ]),
19396
- W(a, {
19396
+ H(a, {
19397
19397
  type: "primary",
19398
19398
  class: "block justify-self-center",
19399
19399
  onClick: o[0] || (o[0] = (l) => s("open-instructions"))
@@ -19501,13 +19501,13 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19501
19501
  onKeydown: b[25] || (b[25] = rr(un((R) => s("submit", u.value), ["prevent"]), ["enter"]))
19502
19502
  }, {
19503
19503
  default: O(() => [
19504
- W(A(Ve), {
19504
+ H(A(Ve), {
19505
19505
  required: !0,
19506
19506
  "show-feedback": !1,
19507
19507
  label: "Тип сетки"
19508
19508
  }, {
19509
19509
  default: O(() => [
19510
- W(A(Ui), {
19510
+ H(A(Ui), {
19511
19511
  value: u.value.configuratorParams.netType,
19512
19512
  "onUpdate:value": [
19513
19513
  b[0] || (b[0] = (R) => u.value.configuratorParams.netType = R),
@@ -19518,13 +19518,13 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19518
19518
  ]),
19519
19519
  _: 1
19520
19520
  }),
19521
- W(A(Ve), {
19521
+ H(A(Ve), {
19522
19522
  required: !0,
19523
19523
  "show-feedback": !1,
19524
19524
  label: "Цвет профиля"
19525
19525
  }, {
19526
19526
  default: O(() => [
19527
- W(A(Ui), {
19527
+ H(A(Ui), {
19528
19528
  value: u.value.configuratorParams.color,
19529
19529
  "onUpdate:value": [
19530
19530
  b[2] || (b[2] = (R) => u.value.configuratorParams.color = R),
@@ -19535,13 +19535,13 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19535
19535
  ]),
19536
19536
  _: 1
19537
19537
  }),
19538
- W(A(Ve), {
19538
+ H(A(Ve), {
19539
19539
  required: !0,
19540
19540
  "show-feedback": !1,
19541
19541
  label: "Вид крепления"
19542
19542
  }, {
19543
19543
  default: O(() => [
19544
- W(A(Ui), {
19544
+ H(A(Ui), {
19545
19545
  value: u.value.configuratorParams.mountType,
19546
19546
  "onUpdate:value": [
19547
19547
  b[4] || (b[4] = (R) => u.value.configuratorParams.mountType = R),
@@ -19552,20 +19552,20 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19552
19552
  ]),
19553
19553
  _: 1
19554
19554
  }),
19555
- W(A(Ve), {
19555
+ H(A(Ve), {
19556
19556
  ref: "width-form-item-reference",
19557
19557
  path: "configuratorParams.width",
19558
19558
  label: `Ширина светового проёма от ${t.settings.minWidth - d.value} ${g.value ? " до " + (g.value - d.value) : ""} мм.`
19559
19559
  }, {
19560
19560
  feedback: O(() => [
19561
19561
  !t.validation.width.showFeedback && m.value >= t.settings.minWidth && m.value <= t.settings.maxWidths[u.value.configuratorParams.netType] ? (_(), M("div", yy, [
19562
- W(A(Xn), { type: "success" }, {
19562
+ H(A(Xn), { type: "success" }, {
19563
19563
  default: O(() => [
19564
19564
  ee("Ширина готового изделия " + U(m.value), 1)
19565
19565
  ]),
19566
19566
  _: 1
19567
19567
  }),
19568
- W(A(Ne), {
19568
+ H(A(Ne), {
19569
19569
  quaternary: "",
19570
19570
  type: "info",
19571
19571
  size: "tiny",
@@ -19576,10 +19576,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19576
19576
  ])]),
19577
19577
  _: 1
19578
19578
  })
19579
- ])) : H("", !0)
19579
+ ])) : W("", !0)
19580
19580
  ]),
19581
19581
  default: O(() => [
19582
- W(A(yt), {
19582
+ H(A(yt), {
19583
19583
  ref: "width-input-reference",
19584
19584
  value: u.value.configuratorParams.width,
19585
19585
  "onUpdate:value": [
@@ -19597,20 +19597,20 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19597
19597
  ]),
19598
19598
  _: 1
19599
19599
  }, 8, ["label"]),
19600
- W(A(Ve), {
19600
+ H(A(Ve), {
19601
19601
  ref: "height-form-item-reference",
19602
19602
  path: "configuratorParams.height",
19603
19603
  label: `Высота светового проёма от ${t.settings.minHeight - h.value} ${f.value ? " до " + (f.value - h.value) : ""} мм.`
19604
19604
  }, {
19605
19605
  feedback: O(() => [
19606
19606
  !t.validation.height.showFeedback && p.value >= t.settings.minHeight && p.value <= t.settings.maxHeights[u.value.configuratorParams.netType] ? (_(), M("div", by, [
19607
- W(A(Xn), { type: "success" }, {
19607
+ H(A(Xn), { type: "success" }, {
19608
19608
  default: O(() => [
19609
19609
  ee("Высота готового изделия " + U(p.value), 1)
19610
19610
  ]),
19611
19611
  _: 1
19612
19612
  }),
19613
- W(A(Ne), {
19613
+ H(A(Ne), {
19614
19614
  quaternary: "",
19615
19615
  type: "info",
19616
19616
  size: "tiny",
@@ -19621,10 +19621,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19621
19621
  ])]),
19622
19622
  _: 1
19623
19623
  })
19624
- ])) : H("", !0)
19624
+ ])) : W("", !0)
19625
19625
  ]),
19626
19626
  default: O(() => [
19627
- W(A(yt), {
19627
+ H(A(yt), {
19628
19628
  value: u.value.configuratorParams.height,
19629
19629
  "onUpdate:value": [
19630
19630
  b[11] || (b[11] = (R) => u.value.configuratorParams.height = R),
@@ -19641,12 +19641,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19641
19641
  ]),
19642
19642
  _: 1
19643
19643
  }, 8, ["label"]),
19644
- W(A(Ve), {
19644
+ H(A(Ve), {
19645
19645
  path: "quantity",
19646
19646
  label: "Количество"
19647
19647
  }, {
19648
19648
  default: O(() => [
19649
- W(A(yt), {
19649
+ H(A(yt), {
19650
19650
  value: u.value.quantity,
19651
19651
  "onUpdate:value": [
19652
19652
  b[16] || (b[16] = (R) => u.value.quantity = R),
@@ -19662,12 +19662,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19662
19662
  ]),
19663
19663
  _: 1
19664
19664
  }),
19665
- W(A(Ve), {
19665
+ H(A(Ve), {
19666
19666
  path: "marker",
19667
19667
  label: "Маркировка"
19668
19668
  }, {
19669
19669
  default: O(() => [
19670
- W(A(fn), {
19670
+ H(A(fn), {
19671
19671
  value: u.value.marker ?? null,
19672
19672
  placeholder: "Введите маркировку",
19673
19673
  onInput: b[20] || (b[20] = (R) => A($t)(t.validation, "marker")),
@@ -19692,8 +19692,8 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19692
19692
  ee(" ДопПродажа ", -1)
19693
19693
  ])]),
19694
19694
  _: 1
19695
- }, 8, ["checked"])) : H("", !0),
19696
- W(No, {
19695
+ }, 8, ["checked"])) : W("", !0),
19696
+ H(No, {
19697
19697
  "is-product-searching": t.isProductSearching,
19698
19698
  product: u.value.product,
19699
19699
  validation: t.validation.product
@@ -19701,10 +19701,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19701
19701
  $.value ? (_(), M("div", _y, [
19702
19702
  b[29] || (b[29] = ee(" ИТОГО: ", -1)),
19703
19703
  C("span", wy, U($.value) + " ₽", 1)
19704
- ])) : H("", !0),
19705
- x.value ? H("", !0) : (_(), M("div", xy, " Пожалуйста, заполните все обязательные поля корректно. ")),
19704
+ ])) : W("", !0),
19705
+ x.value ? W("", !0) : (_(), M("div", xy, " Пожалуйста, заполните все обязательные поля корректно. ")),
19706
19706
  C("div", ky, [
19707
- W(A(Ne), {
19707
+ H(A(Ne), {
19708
19708
  loading: t.isSubmitProcessing,
19709
19709
  disabled: !x.value || u.value.product.isNewRec(),
19710
19710
  type: "primary",
@@ -19725,7 +19725,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19725
19725
  ee(" Предварительный просмотр ", -1)
19726
19726
  ])]),
19727
19727
  _: 1
19728
- })) : H("", !0)
19728
+ })) : W("", !0)
19729
19729
  ])
19730
19730
  ]),
19731
19731
  _: 1
@@ -19759,7 +19759,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19759
19759
  }, {
19760
19760
  default: O(() => [
19761
19761
  C("div", By, [
19762
- W(l, {
19762
+ H(l, {
19763
19763
  type: "error",
19764
19764
  class: "text-base font-medium"
19765
19765
  }, {
@@ -19907,7 +19907,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19907
19907
  ), (m, p) => {
19908
19908
  const v = Xo;
19909
19909
  return _(), M(be, null, [
19910
- W(Dy, {
19910
+ H(Dy, {
19911
19911
  show: o.value,
19912
19912
  "onUpdate:show": p[0] || (p[0] = (y) => o.value = y),
19913
19913
  "height-overlaps": t.settings.heightOverlaps,
@@ -19922,22 +19922,22 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19922
19922
  resizable: ""
19923
19923
  }, {
19924
19924
  default: O(() => [
19925
- W(A(zd), null, {
19925
+ H(A(zd), null, {
19926
19926
  header: O(() => [
19927
- W(A(Ne), {
19927
+ H(A(Ne), {
19928
19928
  size: "small",
19929
19929
  type: "primary",
19930
19930
  class: "block justify-self-end",
19931
19931
  onClick: p[2] || (p[2] = (y) => r.value = !1)
19932
19932
  }, {
19933
19933
  default: O(() => [
19934
- W(v)
19934
+ H(v)
19935
19935
  ]),
19936
19936
  _: 1
19937
19937
  })
19938
19938
  ]),
19939
19939
  default: O(() => [
19940
- W(zu, {
19940
+ H(zu, {
19941
19941
  "configurator-params": a.value.configuratorParams,
19942
19942
  settings: t.settings,
19943
19943
  onOpenInstructions: p[3] || (p[3] = (y) => o.value = !0)
@@ -19953,7 +19953,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
19953
19953
  settings: t.settings,
19954
19954
  onOpenInstructions: p[1] || (p[1] = (y) => o.value = !0)
19955
19955
  }, null, 8, ["configurator-params", "settings"])),
19956
- W(Sy, {
19956
+ H(Sy, {
19957
19957
  ref: "mosquito-configurator-form",
19958
19958
  value: a.value,
19959
19959
  "onUpdate:value": p[5] || (p[5] = (y) => a.value = y),
@@ -20028,10 +20028,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20028
20028
  "is-product-searching": o.value,
20029
20029
  product: t.product,
20030
20030
  validation: t.validation.product
20031
- }, null, 8, ["is-product-searching", "product", "validation"])) : H("", !0)
20031
+ }, null, 8, ["is-product-searching", "product", "validation"])) : W("", !0)
20032
20032
  ]),
20033
20033
  default: O(() => [
20034
- W(A(zo), {
20034
+ H(A(zo), {
20035
20035
  trigger: "click",
20036
20036
  options: t.suggestionOption,
20037
20037
  placement: "bottom-start",
@@ -20039,7 +20039,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20039
20039
  onSelect: u
20040
20040
  }, {
20041
20041
  default: O(() => [
20042
- W(A(yt), {
20042
+ H(A(yt), {
20043
20043
  ref: "width-input-element",
20044
20044
  value: a.value ?? null,
20045
20045
  class: "w-full",
@@ -20054,25 +20054,25 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20054
20054
  ]),
20055
20055
  _: 1
20056
20056
  }, 8, ["options"]),
20057
- W(A(Ne), {
20057
+ H(A(Ne), {
20058
20058
  disabled: t.addLineButtonDisabled,
20059
20059
  size: "medium",
20060
20060
  class: "ml-2",
20061
20061
  onClick: g[2] || (g[2] = (p) => s("click:add-line", t.index))
20062
20062
  }, {
20063
20063
  default: O(() => [
20064
- W(f)
20064
+ H(f)
20065
20065
  ]),
20066
20066
  _: 1
20067
20067
  }, 8, ["disabled"]),
20068
- W(A(Ne), {
20068
+ H(A(Ne), {
20069
20069
  disabled: t.removeLineButtonDisabled,
20070
20070
  size: "medium",
20071
20071
  class: "ml-2",
20072
20072
  onClick: g[3] || (g[3] = (p) => s("click:remove-line", t.index))
20073
20073
  }, {
20074
20074
  default: O(() => [
20075
- W(m)
20075
+ H(m)
20076
20076
  ]),
20077
20077
  _: 1
20078
20078
  }, 8, ["disabled"])
@@ -20200,7 +20200,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20200
20200
  ee(" Сумма ширин всех полос должна быть равна " + U(t.settings.width), 1)
20201
20201
  ]),
20202
20202
  _: 1
20203
- })) : H("", !0),
20203
+ })) : W("", !0),
20204
20204
  h.value && a.value.length === t.settings.maxLinesCount && d.value > 0 ? (_(), te(A(Xn), {
20205
20205
  key: 1,
20206
20206
  type: "error"
@@ -20209,10 +20209,10 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20209
20209
  ee(" Остаток резки должен быть равен 0 ", -1)
20210
20210
  ])]),
20211
20211
  _: 1
20212
- })) : H("", !0),
20212
+ })) : W("", !0),
20213
20213
  C("div", null, [
20214
20214
  x[17] || (x[17] = ee(" Остаток для резки: ", -1)),
20215
- W(A(Xn), {
20215
+ H(A(Xn), {
20216
20216
  type: d.value >= 0 ? "Success" : "error"
20217
20217
  }, {
20218
20218
  default: O(() => [
@@ -20223,7 +20223,7 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20223
20223
  ee(" из " + U(t.settings.width) + " мм ", 1)
20224
20224
  ])
20225
20225
  ]),
20226
- W(A(Ne), {
20226
+ H(A(Ne), {
20227
20227
  disabled: g.value,
20228
20228
  type: "primary",
20229
20229
  class: "self-center",
@@ -20234,12 +20234,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20234
20234
  ])]),
20235
20235
  _: 1
20236
20236
  }, 8, ["disabled"]),
20237
- W(A(Ve), {
20237
+ H(A(Ve), {
20238
20238
  path: "length",
20239
20239
  label: `Метраж ${t.settings.minLength ? " от " + t.settings.minLength : ""} ${t.settings.maxLength ? " до " + t.settings.maxLength : ""} м.`
20240
20240
  }, {
20241
20241
  default: O(() => [
20242
- W(A(yt), {
20242
+ H(A(yt), {
20243
20243
  value: a.value[0].length,
20244
20244
  "onUpdate:value": [
20245
20245
  x[3] || (x[3] = (w) => a.value[0].length = w),
@@ -20256,12 +20256,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20256
20256
  ]),
20257
20257
  _: 1
20258
20258
  }, 8, ["label"]),
20259
- W(A(Ve), {
20259
+ H(A(Ve), {
20260
20260
  path: "quantity",
20261
20261
  label: "Количество"
20262
20262
  }, {
20263
20263
  default: O(() => [
20264
- W(A(yt), {
20264
+ H(A(yt), {
20265
20265
  value: a.value[0].quantity,
20266
20266
  "onUpdate:value": [
20267
20267
  x[7] || (x[7] = (w) => a.value[0].quantity = w),
@@ -20277,12 +20277,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20277
20277
  ]),
20278
20278
  _: 1
20279
20279
  }),
20280
- W(A(Ve), {
20280
+ H(A(Ve), {
20281
20281
  path: "marker",
20282
20282
  label: "Маркировка"
20283
20283
  }, {
20284
20284
  default: O(() => [
20285
- W(A(fn), {
20285
+ H(A(fn), {
20286
20286
  value: a.value[0].marker ?? null,
20287
20287
  placeholder: "Введите маркировку",
20288
20288
  onInput: x[11] || (x[11] = (w) => A($t)(t.validation, "marker")),
@@ -20307,13 +20307,13 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20307
20307
  ee(" ДопПродажа ", -1)
20308
20308
  ])]),
20309
20309
  _: 1
20310
- }, 8, ["checked"])) : H("", !0),
20310
+ }, 8, ["checked"])) : W("", !0),
20311
20311
  m.value ? (_(), M("div", Uy, [
20312
20312
  x[20] || (x[20] = ee(" ИТОГО: ", -1)),
20313
20313
  C("span", Xy, U(m.value) + " ₽", 1)
20314
- ])) : H("", !0),
20314
+ ])) : W("", !0),
20315
20315
  C("div", Yy, [
20316
- W(A(Ne), {
20316
+ H(A(Ne), {
20317
20317
  loading: t.isSubmitProcessing,
20318
20318
  disabled: !h.value || d.value != 0 || !((B = a.value[0]) != null && B.length) || a.value[0].length > t.settings.maxLength || a.value[0].length < t.settings.minLength || a.value[0].quantity === 0,
20319
20319
  type: "primary",
@@ -20458,14 +20458,14 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20458
20458
  ee(" Показать в виде списка ", -1)
20459
20459
  ])]),
20460
20460
  _: 1
20461
- })) : H("", !0),
20461
+ })) : W("", !0),
20462
20462
  C("div", nb, [
20463
- W(tb, {
20463
+ H(tb, {
20464
20464
  value: r.value,
20465
20465
  "onUpdate:value": m[1] || (m[1] = (v) => r.value = v),
20466
20466
  settings: t.settings
20467
20467
  }, null, 8, ["value", "settings"]),
20468
- W(Gy, {
20468
+ H(Gy, {
20469
20469
  ref: "strip-configurator-form",
20470
20470
  value: r.value,
20471
20471
  "onUpdate:value": m[2] || (m[2] = (v) => r.value = v),
@@ -20550,12 +20550,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20550
20550
  onKeydown: m[13] || (m[13] = rr(un((v) => s("submit", a.value), ["prevent"]), ["enter"]))
20551
20551
  }, {
20552
20552
  default: O(() => [
20553
- W(A(Ve), {
20553
+ H(A(Ve), {
20554
20554
  path: "configuratorParams.width",
20555
20555
  label: `Ширина, ${t.settings.minWidth ? " от " + t.settings.minWidth : ""}${t.settings.maxWidth ? " до " + t.settings.maxWidth : ""} мм`
20556
20556
  }, {
20557
20557
  default: O(() => [
20558
- W(A(yt), {
20558
+ H(A(yt), {
20559
20559
  ref: "first-input-element",
20560
20560
  value: a.value.configuratorParams.width,
20561
20561
  "onUpdate:value": [
@@ -20573,12 +20573,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20573
20573
  ]),
20574
20574
  _: 1
20575
20575
  }, 8, ["label"]),
20576
- W(A(Ve), {
20576
+ H(A(Ve), {
20577
20577
  path: "configuratorParams.length",
20578
20578
  label: `Длина, ${t.settings.minLength ? " от " + t.settings.minLength : ""}${t.settings.maxLength ? " до " + t.settings.maxLength : ""} мм`
20579
20579
  }, {
20580
20580
  default: O(() => [
20581
- W(A(yt), {
20581
+ H(A(yt), {
20582
20582
  value: a.value.configuratorParams.length,
20583
20583
  "onUpdate:value": [
20584
20584
  m[3] || (m[3] = (v) => a.value.configuratorParams.length = v),
@@ -20595,12 +20595,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20595
20595
  ]),
20596
20596
  _: 1
20597
20597
  }, 8, ["label"]),
20598
- W(A(Ve), {
20598
+ H(A(Ve), {
20599
20599
  path: "quantity",
20600
20600
  label: "Количество"
20601
20601
  }, {
20602
20602
  default: O(() => [
20603
- W(A(yt), {
20603
+ H(A(yt), {
20604
20604
  value: t.value.quantity,
20605
20605
  placeholder: "Введите количество",
20606
20606
  min: 1,
@@ -20614,12 +20614,12 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20614
20614
  ]),
20615
20615
  _: 1
20616
20616
  }),
20617
- W(A(Ve), {
20617
+ H(A(Ve), {
20618
20618
  path: "marker",
20619
20619
  label: "Маркировка"
20620
20620
  }, {
20621
20621
  default: O(() => [
20622
- W(A(fn), {
20622
+ H(A(fn), {
20623
20623
  value: t.value.marker ?? null,
20624
20624
  placeholder: "Введите маркировку",
20625
20625
  onInput: m[9] || (m[9] = (v) => A($t)(t.validation, "marker")),
@@ -20642,14 +20642,14 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20642
20642
  ee(" ДопПродажа ", -1)
20643
20643
  ])]),
20644
20644
  _: 1
20645
- }, 8, ["checked"])) : H("", !0),
20646
- W(No, {
20645
+ }, 8, ["checked"])) : W("", !0),
20646
+ H(No, {
20647
20647
  "is-product-searching": t.isProductSearching,
20648
20648
  product: t.value.product,
20649
20649
  validation: t.validation.product
20650
20650
  }, null, 8, ["is-product-searching", "product", "validation"]),
20651
20651
  C("div", ob, [
20652
- W(A(Ne), {
20652
+ H(A(Ne), {
20653
20653
  disabled: (
20654
20654
  // eslint-disable-next-line vue/max-len
20655
20655
  t.value.product.isNewRec() || t.isProductSearching || t.isSubmitProcessing || t.value.length === 0 || t.value.width === 0 || t.value.quantity === 0
@@ -20743,8 +20743,8 @@ const uy = { class: "flex flex-col gap-3" }, dy = { class: "grid gap-5 md:grid-c
20743
20743
  ee(" Показать в виде списка ", -1)
20744
20744
  ])]),
20745
20745
  _: 1
20746
- })) : H("", !0),
20747
- W(lb, {
20746
+ })) : W("", !0),
20747
+ H(lb, {
20748
20748
  ref: "metal-for-doors-configurator-form",
20749
20749
  value: r.value,
20750
20750
  "onUpdate:value": g[1] || (g[1] = (m) => r.value = m),
@@ -20995,13 +20995,13 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
20995
20995
  default: O(() => {
20996
20996
  var K;
20997
20997
  return [
20998
- W(A(Ve), {
20998
+ H(A(Ve), {
20999
20999
  required: !0,
21000
21000
  "show-feedback": !1,
21001
21001
  label: "Товар"
21002
21002
  }, {
21003
21003
  default: O(() => [
21004
- W(A(Ui), {
21004
+ H(A(Ui), {
21005
21005
  value: d.value,
21006
21006
  "onUpdate:value": [
21007
21007
  E[0] || (E[0] = (J) => d.value = J),
@@ -21017,27 +21017,27 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
21017
21017
  ((K = u.value) == null ? void 0 : K.costRub) != null ? (_(), M("div", gb, [
21018
21018
  C("span", mb, U(u.value.code), 1),
21019
21019
  ee(" — " + U(u.value.costRub.toLocaleString()) + " " + U(u.value.currency.symbol) + "/шт. ", 1)
21020
- ])) : H("", !0),
21020
+ ])) : W("", !0),
21021
21021
  C("div", pb, [
21022
21022
  u.value ? (_(), M("div", vb, [
21023
21023
  E[9] || (E[9] = C("div", { class: "w-full font-bold" }, "Размеры изделий", -1)),
21024
21024
  C("div", yb, [
21025
- m.value ? (_(), M("div", bb, "Ширина " + U(m.value) + ".", 1)) : H("", !0),
21026
- p.value ? (_(), M("div", _b, "Длина " + U(p.value) + ".", 1)) : H("", !0)
21025
+ m.value ? (_(), M("div", bb, "Ширина " + U(m.value) + ".", 1)) : W("", !0),
21026
+ p.value ? (_(), M("div", _b, "Длина " + U(p.value) + ".", 1)) : W("", !0)
21027
21027
  ])
21028
- ])) : H("", !0),
21028
+ ])) : W("", !0),
21029
21029
  C("div", wb, [
21030
21030
  (_(!0), M(be, null, Pt(o.value.configuratorParams.items, (J, Z) => (_(), M("div", {
21031
21031
  key: Z,
21032
21032
  class: "flex grow gap-2"
21033
21033
  }, [
21034
21034
  C("div", xb, [
21035
- W(A(Ve), {
21035
+ H(A(Ve), {
21036
21036
  path: `configuratorParams.items.${Z}.width`,
21037
21037
  label: "Ширина, мм"
21038
21038
  }, {
21039
21039
  default: O(() => [
21040
- W(A(yt), {
21040
+ H(A(yt), {
21041
21041
  value: o.value.configuratorParams.items[Z].width,
21042
21042
  "onUpdate:value": [(L) => o.value.configuratorParams.items[Z].width = L, (L) => V(Z)],
21043
21043
  parse: A(Dt),
@@ -21052,12 +21052,12 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
21052
21052
  ]),
21053
21053
  _: 2
21054
21054
  }, 1032, ["path"]),
21055
- W(A(Ve), {
21055
+ H(A(Ve), {
21056
21056
  path: `configuratorParams.items.${Z}.length`,
21057
21057
  label: "Длина, мм"
21058
21058
  }, {
21059
21059
  default: O(() => [
21060
- W(A(yt), {
21060
+ H(A(yt), {
21061
21061
  value: o.value.configuratorParams.items[Z].length,
21062
21062
  "onUpdate:value": [(L) => o.value.configuratorParams.items[Z].length = L, (L) => V(Z)],
21063
21063
  parse: A(Dt),
@@ -21072,12 +21072,12 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
21072
21072
  ]),
21073
21073
  _: 2
21074
21074
  }, 1032, ["path"]),
21075
- W(A(Ve), {
21075
+ H(A(Ve), {
21076
21076
  path: `configuratorParams.items.${Z}.count`,
21077
21077
  label: "Количество, шт"
21078
21078
  }, {
21079
21079
  default: O(() => [
21080
- W(A(yt), {
21080
+ H(A(yt), {
21081
21081
  value: o.value.configuratorParams.items[Z].count,
21082
21082
  "onUpdate:value": [(L) => o.value.configuratorParams.items[Z].count = L, (L) => V(Z)],
21083
21083
  parse: A(Dt),
@@ -21093,7 +21093,7 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
21093
21093
  _: 2
21094
21094
  }, 1032, ["path"])
21095
21095
  ]),
21096
- W(A(Ne), {
21096
+ H(A(Ne), {
21097
21097
  disabled: !u.value || o.value.configuratorParams.items.length <= 1,
21098
21098
  type: "error",
21099
21099
  size: "medium",
@@ -21101,7 +21101,7 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
21101
21101
  onClick: (L) => j(Z)
21102
21102
  }, {
21103
21103
  default: O(() => [
21104
- W(G)
21104
+ H(G)
21105
21105
  ]),
21106
21106
  _: 1
21107
21107
  }, 8, ["disabled", "onClick"])
@@ -21115,18 +21115,18 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
21115
21115
  onClick: D
21116
21116
  }, {
21117
21117
  default: O(() => [
21118
- W(ie),
21118
+ H(ie),
21119
21119
  E[10] || (E[10] = ee(" Добавить изделие ", -1))
21120
21120
  ]),
21121
21121
  _: 1
21122
- }, 8, ["disabled"])) : H("", !0)
21122
+ }, 8, ["disabled"])) : W("", !0)
21123
21123
  ]),
21124
- W(A(Ve), {
21124
+ H(A(Ve), {
21125
21125
  path: "marker",
21126
21126
  label: "Маркировка распила"
21127
21127
  }, {
21128
21128
  default: O(() => [
21129
- W(A(fn), {
21129
+ H(A(fn), {
21130
21130
  value: o.value.marker ?? null,
21131
21131
  disabled: !u.value,
21132
21132
  placeholder: "Введите маркировку распила",
@@ -21150,8 +21150,8 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
21150
21150
  ee(" ДопПродажа ", -1)
21151
21151
  ])]),
21152
21152
  _: 1
21153
- }, 8, ["checked"])) : H("", !0),
21154
- W(A(Jn), {
21153
+ }, 8, ["checked"])) : W("", !0),
21154
+ H(A(Jn), {
21155
21155
  show: y.value,
21156
21156
  size: "small",
21157
21157
  class: "grow"
@@ -21168,8 +21168,8 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
21168
21168
  C("span", $b, "(" + U(v.value.quantity) + " шт.", 1),
21169
21169
  E[13] || (E[13] = ee(" x ", -1)),
21170
21170
  C("span", Pb, U((J = u.value.costRub) == null ? void 0 : J.toLocaleString()) + " " + U(u.value.currency.symbol) + "/шт.)", 1)
21171
- ])) : H("", !0)
21172
- ])) : H("", !0)
21171
+ ])) : W("", !0)
21172
+ ])) : W("", !0)
21173
21173
  ];
21174
21174
  }),
21175
21175
  _: 1
@@ -21278,9 +21278,9 @@ const jh = He({ name: "ion-add", render: fb }), gb = {
21278
21278
  ee(" Показать в виде списка ", -1)
21279
21279
  ])]),
21280
21280
  _: 1
21281
- })) : H("", !0),
21281
+ })) : W("", !0),
21282
21282
  C("div", Ab, [
21283
- W(Fb, {
21283
+ H(Fb, {
21284
21284
  ref: "sandwich-configurator-form",
21285
21285
  value: r.value,
21286
21286
  "onUpdate:value": h[1] || (h[1] = (f) => r.value = f),
@@ -21525,13 +21525,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21525
21525
  default: O(() => {
21526
21526
  var ze, Le;
21527
21527
  return [
21528
- W(A(Ve), {
21528
+ H(A(Ve), {
21529
21529
  required: !0,
21530
21530
  "show-feedback": !1,
21531
21531
  label: "Товар"
21532
21532
  }, {
21533
21533
  default: O(() => [
21534
- W(A(Ui), {
21534
+ H(A(Ui), {
21535
21535
  value: g.value,
21536
21536
  "onUpdate:value": [
21537
21537
  Q[0] || (Q[0] = (ot) => g.value = ot),
@@ -21547,15 +21547,15 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21547
21547
  ((ze = h.value) == null ? void 0 : ze.costRub) != null ? (_(), M("div", Lb, [
21548
21548
  C("span", Db, U(h.value.code), 1),
21549
21549
  ee(" — " + U(h.value.costRub.toLocaleString()) + " " + U(h.value.currency.symbol) + "/м² ", 1)
21550
- ])) : H("", !0),
21550
+ ])) : W("", !0),
21551
21551
  C("div", Nb, [
21552
21552
  h.value ? (_(), M("div", Hb, [
21553
21553
  Q[6] || (Q[6] = C("div", { class: "w-full font-bold" }, "Размеры изделий", -1)),
21554
21554
  C("div", Wb, [
21555
- v.value ? (_(), M("div", Vb, "Ширина " + U(v.value) + ".", 1)) : H("", !0),
21556
- y.value ? (_(), M("div", jb, "Длина " + U(y.value) + ".", 1)) : H("", !0)
21555
+ v.value ? (_(), M("div", Vb, "Ширина " + U(v.value) + ".", 1)) : W("", !0),
21556
+ y.value ? (_(), M("div", jb, "Длина " + U(y.value) + ".", 1)) : W("", !0)
21557
21557
  ])
21558
- ])) : H("", !0),
21558
+ ])) : W("", !0),
21559
21559
  C("div", qb, [
21560
21560
  (_(!0), M(be, null, Pt(c.value.items, (ot, ye) => {
21561
21561
  var Ht;
@@ -21566,13 +21566,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21566
21566
  C("div", Ub, [
21567
21567
  C("div", Xb, [
21568
21568
  C("div", Yb, [
21569
- W(A(Ve), {
21569
+ H(A(Ve), {
21570
21570
  path: `items.${ye}.configuratorParams.width`,
21571
21571
  label: "Ширина, мм",
21572
21572
  class: "min-w-0"
21573
21573
  }, {
21574
21574
  default: O(() => [
21575
- W(A(yt), {
21575
+ H(A(yt), {
21576
21576
  ref_for: !0,
21577
21577
  ref: "widthInputs",
21578
21578
  value: c.value.items[ye].configuratorParams.width,
@@ -21589,13 +21589,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21589
21589
  ]),
21590
21590
  _: 2
21591
21591
  }, 1032, ["path"]),
21592
- W(A(Ve), {
21592
+ H(A(Ve), {
21593
21593
  path: `items.${ye}.configuratorParams.length`,
21594
21594
  label: "Длина, мм",
21595
21595
  class: "min-w-0"
21596
21596
  }, {
21597
21597
  default: O(() => [
21598
- W(A(yt), {
21598
+ H(A(yt), {
21599
21599
  value: c.value.items[ye].configuratorParams.length,
21600
21600
  "onUpdate:value": [(We) => c.value.items[ye].configuratorParams.length = We, (We) => I(ye)],
21601
21601
  parse: A(Dt),
@@ -21612,13 +21612,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21612
21612
  }, 1032, ["path"])
21613
21613
  ]),
21614
21614
  C("div", Kb, [
21615
- W(A(Ve), {
21615
+ H(A(Ve), {
21616
21616
  path: `items.${ye}.quantity`,
21617
21617
  label: "Количество, шт",
21618
21618
  class: "min-w-0"
21619
21619
  }, {
21620
21620
  default: O(() => [
21621
- W(A(yt), {
21621
+ H(A(yt), {
21622
21622
  value: c.value.items[ye].quantity,
21623
21623
  "onUpdate:value": [(We) => c.value.items[ye].quantity = We, (We) => I(ye)],
21624
21624
  parse: A(Dt),
@@ -21633,13 +21633,13 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21633
21633
  ]),
21634
21634
  _: 2
21635
21635
  }, 1032, ["path"]),
21636
- W(A(Ve), {
21636
+ H(A(Ve), {
21637
21637
  path: `items.${ye}.marker`,
21638
21638
  label: "Маркировка",
21639
21639
  class: "min-w-0"
21640
21640
  }, {
21641
21641
  default: O(() => [
21642
- W(A(fn), {
21642
+ H(A(fn), {
21643
21643
  value: c.value.items[ye].marker ?? null,
21644
21644
  disabled: !h.value || b(ye) || T(ye),
21645
21645
  placeholder: "Маркировка",
@@ -21659,21 +21659,21 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21659
21659
  })) : b(ye) ? (_(), te(ne, {
21660
21660
  key: 1,
21661
21661
  class: "text-green-600 text-xl"
21662
- })) : H("", !0)
21663
- ])) : H("", !0)
21662
+ })) : W("", !0)
21663
+ ])) : W("", !0)
21664
21664
  ]),
21665
21665
  C("div", Zb, [
21666
21666
  ot.configuratorParams.width > 0 && ot.configuratorParams.length > 0 ? (_(), M("div", Qb, [
21667
21667
  Q[7] || (Q[7] = ee(" Площадь (S) = ", -1)),
21668
21668
  C("span", Jb, U(V(ot.configuratorParams).toLocaleString(void 0, { maximumFractionDigits: 4 })) + " м²", 1)
21669
- ])) : H("", !0),
21669
+ ])) : W("", !0),
21670
21670
  D(ot) > 0 ? (_(), M("div", e_, [
21671
21671
  Q[8] || (Q[8] = ee(" Итого: ", -1)),
21672
21672
  C("span", t_, U(D(ot).toLocaleString()) + " " + U((Ht = h.value) == null ? void 0 : Ht.currency.symbol), 1)
21673
- ])) : H("", !0)
21673
+ ])) : W("", !0)
21674
21674
  ])
21675
21675
  ]),
21676
- w.value ? H("", !0) : (_(), te(A(Ne), {
21676
+ w.value ? W("", !0) : (_(), te(A(Ne), {
21677
21677
  key: 0,
21678
21678
  disabled: T(ye) || c.value.items.length <= 1,
21679
21679
  type: "error",
@@ -21682,7 +21682,7 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21682
21682
  onClick: (We) => K(ye)
21683
21683
  }, {
21684
21684
  default: O(() => [
21685
- W(le)
21685
+ H(le)
21686
21686
  ]),
21687
21687
  _: 1
21688
21688
  }, 8, ["disabled", "onClick"]))
@@ -21693,12 +21693,12 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21693
21693
  j.value > 0 ? (_(), M("div", n_, [
21694
21694
  Q[9] || (Q[9] = ee(" Общая площадь: ", -1)),
21695
21695
  C("span", s_, U(j.value.toLocaleString(void 0, { maximumFractionDigits: 4 })) + " м²", 1)
21696
- ])) : H("", !0),
21696
+ ])) : W("", !0),
21697
21697
  Y.value > 0 ? (_(), M("div", r_, [
21698
21698
  Q[10] || (Q[10] = ee(" Итого: ", -1)),
21699
21699
  C("span", o_, U(Y.value.toLocaleString()) + " " + U(h.value.currency.symbol), 1)
21700
- ])) : H("", !0)
21701
- ])) : H("", !0)
21700
+ ])) : W("", !0)
21701
+ ])) : W("", !0)
21702
21702
  ]),
21703
21703
  x.value ? (_(), te(A(In), {
21704
21704
  key: 1,
@@ -21711,7 +21711,7 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21711
21711
  ee(" ДопПродажа ", -1)
21712
21712
  ])]),
21713
21713
  _: 1
21714
- }, 8, ["checked"])) : H("", !0),
21714
+ }, 8, ["checked"])) : W("", !0),
21715
21715
  C("div", a_, [
21716
21716
  h.value && !w.value ? (_(), te(A(Ne), {
21717
21717
  key: 0,
@@ -21720,12 +21720,12 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21720
21720
  onClick: ie
21721
21721
  }, {
21722
21722
  default: O(() => [
21723
- W(ke),
21723
+ H(ke),
21724
21724
  Q[12] || (Q[12] = ee(" Добавить изделие ", -1))
21725
21725
  ]),
21726
21726
  _: 1
21727
- }, 8, ["disabled"])) : H("", !0),
21728
- W(A(Ne), {
21727
+ }, 8, ["disabled"])) : W("", !0),
21728
+ H(A(Ne), {
21729
21729
  loading: t.isSubmitProcessing,
21730
21730
  disabled: B.value || R.value,
21731
21731
  type: "primary",
@@ -21868,9 +21868,9 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
21868
21868
  ee(" Показать в виде списка ", -1)
21869
21869
  ])]),
21870
21870
  _: 1
21871
- })) : H("", !0),
21871
+ })) : W("", !0),
21872
21872
  C("div", d_, [
21873
- W(c_, {
21873
+ H(c_, {
21874
21874
  ref: "sandwich-m2-configurator-form",
21875
21875
  value: r.value,
21876
21876
  "onUpdate:value": x[1] || (x[1] = (w) => r.value = w),
@@ -22059,8 +22059,8 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
22059
22059
  const f = Jn;
22060
22060
  return _(), M(be, null, [
22061
22061
  i.value ? (_(), M("div", g_, [
22062
- W(f, { size: "large" })
22063
- ])) : n.value ? (_(), M("div", m_, U(n.value), 1)) : H("", !0),
22062
+ H(f, { size: "large" })
22063
+ ])) : n.value ? (_(), M("div", m_, U(n.value), 1)) : W("", !0),
22064
22064
  t.settings !== null && (s.value !== null || r.value !== null || a.value !== null) ? (_(), M("div", p_, [
22065
22065
  C("div", v_, [
22066
22066
  t.editor === "kozyrek" ? (_(), te(fy, {
@@ -22104,7 +22104,7 @@ const zb = He({ name: "ion-checkmark", render: Ob }), Lb = {
22104
22104
  "cart-items": a.value,
22105
22105
  "onClick:viewSwitch": d,
22106
22106
  onSubmit: u
22107
- }, null, 8, ["event-emitter", "settings", "cart-items"])) : H("", !0)
22107
+ }, null, 8, ["event-emitter", "settings", "cart-items"])) : W("", !0)
22108
22108
  ])
22109
22109
  ])) : (_(), M("div", y_, ' Конфигуратор "' + U(t.editor) + '" не поддерживается. ', 1))
22110
22110
  ], 64);
@@ -22258,39 +22258,39 @@ const k_ = {
22258
22258
  var Ke, ae;
22259
22259
  return [
22260
22260
  $.value ? (_(), M("div", k_, [
22261
- W(Q, {
22261
+ H(Q, {
22262
22262
  checked: x.value,
22263
22263
  indeterminate: B.value,
22264
22264
  disabled: F.value,
22265
22265
  "onUpdate:checked": V
22266
22266
  }, null, 8, ["checked", "indeterminate", "disabled"])
22267
- ])) : H("", !0),
22267
+ ])) : W("", !0),
22268
22268
  !c.value && ((Ke = p.value) != null && Ke.isDisabled) ? (_(), te(le, {
22269
22269
  key: 1,
22270
22270
  placement: "bottom",
22271
22271
  trigger: "hover"
22272
22272
  }, {
22273
22273
  trigger: O(() => [
22274
- W(ne, { class: "pt-1.5" })
22274
+ H(ne, { class: "pt-1.5" })
22275
22275
  ]),
22276
22276
  default: O(() => [
22277
22277
  L[1] || (L[1] = ee(" Категория скрыта для клиента ", -1))
22278
22278
  ]),
22279
22279
  _: 1
22280
- })) : H("", !0),
22280
+ })) : W("", !0),
22281
22281
  ((ae = p.value) == null ? void 0 : ae.isFavorite) ?? !1 ? (_(), te(le, {
22282
22282
  key: 2,
22283
22283
  placement: "bottom",
22284
22284
  trigger: "hover"
22285
22285
  }, {
22286
22286
  trigger: O(() => [
22287
- W(ke, { class: "pt-1.5" })
22287
+ H(ke, { class: "pt-1.5" })
22288
22288
  ]),
22289
22289
  default: O(() => [
22290
22290
  L[2] || (L[2] = ee(" Избранная категория ", -1))
22291
22291
  ]),
22292
22292
  _: 1
22293
- })) : H("", !0)
22293
+ })) : W("", !0)
22294
22294
  ];
22295
22295
  }),
22296
22296
  header: O(() => {
@@ -22303,7 +22303,7 @@ const k_ = {
22303
22303
  "text-gray-400": (Ke = p.value) == null ? void 0 : Ke.isDisabled
22304
22304
  })
22305
22305
  }, [
22306
- W(le, {
22306
+ H(le, {
22307
22307
  disabled: !t.categoryItem.isHidden,
22308
22308
  placement: "bottom",
22309
22309
  trigger: "hover"
@@ -22345,8 +22345,8 @@ const k_ = {
22345
22345
  round: ""
22346
22346
  }, {
22347
22347
  default: O(() => [
22348
- T.value ? (_(), M("span", C_, U(T.value.toFixed(2)) + "%", 1)) : H("", !0),
22349
- W(ze, {
22348
+ T.value ? (_(), M("span", C_, U(T.value.toFixed(2)) + "%", 1)) : W("", !0),
22349
+ H(ze, {
22350
22350
  size: A(i),
22351
22351
  round: ""
22352
22352
  }, {
@@ -22357,8 +22357,8 @@ const k_ = {
22357
22357
  }, 8, ["size"])
22358
22358
  ]),
22359
22359
  _: 1
22360
- }, 8, ["size"])) : H("", !0)
22361
- ], 64)) : H("", !0)
22360
+ }, 8, ["size"])) : W("", !0)
22361
+ ], 64)) : W("", !0)
22362
22362
  ];
22363
22363
  }),
22364
22364
  _: 1
@@ -22371,13 +22371,13 @@ const k_ = {
22371
22371
  default: O(() => {
22372
22372
  var St;
22373
22373
  return [
22374
- b.value ? (_(), M("span", $_, U((St = b.value) == null ? void 0 : St.name), 1)) : H("", !0),
22375
- T.value ? (_(), M("span", P_, U(T.value > 0 ? "+" : "") + U(T.value.toFixed(2)) + "%", 1)) : H("", !0)
22374
+ b.value ? (_(), M("span", $_, U((St = b.value) == null ? void 0 : St.name), 1)) : W("", !0),
22375
+ T.value ? (_(), M("span", P_, U(T.value > 0 ? "+" : "") + U(T.value.toFixed(2)) + "%", 1)) : W("", !0)
22376
22376
  ];
22377
22377
  }),
22378
22378
  _: 1
22379
- }, 8, ["size"])) : H("", !0)
22380
- ], 64)) : H("", !0),
22379
+ }, 8, ["size"])) : W("", !0)
22380
+ ], 64)) : W("", !0),
22381
22381
  o.value ? (_(), te(ze, {
22382
22382
  key: 2,
22383
22383
  size: A(i),
@@ -22387,7 +22387,7 @@ const k_ = {
22387
22387
  ee(" Фиксированный курс: " + U(o.value), 1)
22388
22388
  ]),
22389
22389
  _: 1
22390
- }, 8, ["size"])) : H("", !0),
22390
+ }, 8, ["size"])) : W("", !0),
22391
22391
  u.value && ((On = p.value) != null && On.manager) ? (_(), te(ze, {
22392
22392
  key: 3,
22393
22393
  size: A(i),
@@ -22397,7 +22397,7 @@ const k_ = {
22397
22397
  onClose: he
22398
22398
  }, {
22399
22399
  default: O(() => [
22400
- W(le, {
22400
+ H(le, {
22401
22401
  placement: "bottom",
22402
22402
  trigger: "hover"
22403
22403
  }, {
@@ -22405,7 +22405,7 @@ const k_ = {
22405
22405
  var St, bi;
22406
22406
  return [
22407
22407
  C("span", T_, [
22408
- W(Le),
22408
+ H(Le),
22409
22409
  ee(" " + U((bi = (St = p.value) == null ? void 0 : St.manager) == null ? void 0 : bi.name), 1)
22410
22410
  ])
22411
22411
  ];
@@ -22420,17 +22420,17 @@ const k_ = {
22420
22420
  })
22421
22421
  ]),
22422
22422
  _: 1
22423
- }, 8, ["size"])) : H("", !0)
22423
+ }, 8, ["size"])) : W("", !0)
22424
22424
  ])
22425
22425
  ];
22426
22426
  }),
22427
22427
  "sub-header": O(() => [
22428
22428
  t.showSlugs || t.showProperties ? (_(), M("div", R_, [
22429
22429
  C("ul", F_, [
22430
- t.showSlugs ? (_(!0), M(be, { key: 0 }, Pt({ id: t.categoryItem.id, slug: t.categoryItem.slug }, (Ke, ae) => (_(), M("li", { key: ae }, " (" + U(ae) + "): " + U(Ke), 1))), 128)) : H("", !0),
22431
- t.showProperties ? (_(!0), M(be, { key: 1 }, Pt(t.categoryItem.properties, (Ke, ae) => (_(), M("li", { key: ae }, " (" + U(ae) + "): " + U(Ke), 1))), 128)) : H("", !0)
22430
+ t.showSlugs ? (_(!0), M(be, { key: 0 }, Pt({ id: t.categoryItem.id, slug: t.categoryItem.slug }, (Ke, ae) => (_(), M("li", { key: ae }, " (" + U(ae) + "): " + U(Ke), 1))), 128)) : W("", !0),
22431
+ t.showProperties ? (_(!0), M(be, { key: 1 }, Pt(t.categoryItem.properties, (Ke, ae) => (_(), M("li", { key: ae }, " (" + U(ae) + "): " + U(Ke), 1))), 128)) : W("", !0)
22432
22432
  ])
22433
- ])) : H("", !0)
22433
+ ])) : W("", !0)
22434
22434
  ]),
22435
22435
  "header-extra": O(() => {
22436
22436
  var Ke;
@@ -22442,7 +22442,7 @@ const k_ = {
22442
22442
  trigger: "hover"
22443
22443
  }, {
22444
22444
  trigger: O(() => [
22445
- W(ye, {
22445
+ H(ye, {
22446
22446
  ghost: !0,
22447
22447
  size: A(i),
22448
22448
  onClick: j
@@ -22467,20 +22467,20 @@ const k_ = {
22467
22467
  ];
22468
22468
  }),
22469
22469
  _: 1
22470
- })) : H("", !0),
22470
+ })) : W("", !0),
22471
22471
  u.value && !((Ke = p.value) != null && Ke.manager) ? (_(), te(le, {
22472
22472
  key: 1,
22473
22473
  placement: "bottom",
22474
22474
  trigger: "hover"
22475
22475
  }, {
22476
22476
  trigger: O(() => [
22477
- W(ye, {
22477
+ H(ye, {
22478
22478
  ghost: !0,
22479
22479
  size: A(i),
22480
22480
  onClick: ue
22481
22481
  }, {
22482
22482
  default: O(() => [
22483
- W(Ht)
22483
+ H(Ht)
22484
22484
  ]),
22485
22485
  _: 1
22486
22486
  }, 8, ["size"])
@@ -22496,14 +22496,14 @@ const k_ = {
22496
22496
  ];
22497
22497
  }),
22498
22498
  _: 1
22499
- })) : H("", !0),
22499
+ })) : W("", !0),
22500
22500
  d.value ? (_(), te(le, {
22501
22501
  key: 2,
22502
22502
  placement: "bottom",
22503
22503
  trigger: "hover"
22504
22504
  }, {
22505
22505
  trigger: O(() => [
22506
- W(ye, {
22506
+ H(ye, {
22507
22507
  ghost: !0,
22508
22508
  disabled: d.value === "disabled",
22509
22509
  size: A(i),
@@ -22522,21 +22522,21 @@ const k_ = {
22522
22522
  L[4] || (L[4] = ee(" Категория, которую нужно предлагать клиенту ", -1))
22523
22523
  ]),
22524
22524
  _: 1
22525
- })) : H("", !0),
22525
+ })) : W("", !0),
22526
22526
  h.value ? (_(), te(le, {
22527
22527
  key: 3,
22528
22528
  placement: "bottom",
22529
22529
  trigger: "hover"
22530
22530
  }, {
22531
22531
  trigger: O(() => [
22532
- W(ye, {
22532
+ H(ye, {
22533
22533
  ghost: !0,
22534
22534
  size: A(i),
22535
22535
  type: "primary",
22536
22536
  onClick: I
22537
22537
  }, {
22538
22538
  default: O(() => [
22539
- W(yi)
22539
+ H(yi)
22540
22540
  ]),
22541
22541
  _: 1
22542
22542
  }, 8, ["size"])
@@ -22545,7 +22545,7 @@ const k_ = {
22545
22545
  L[5] || (L[5] = ee(" Редактировать ", -1))
22546
22546
  ]),
22547
22547
  _: 1
22548
- })) : H("", !0),
22548
+ })) : W("", !0),
22549
22549
  m.value.length > 0 ? (_(), te(jt, {
22550
22550
  key: 4,
22551
22551
  options: m.value,
@@ -22554,19 +22554,19 @@ const k_ = {
22554
22554
  onSelect: E
22555
22555
  }, {
22556
22556
  default: O(() => [
22557
- W(ye, {
22557
+ H(ye, {
22558
22558
  ghost: !0,
22559
22559
  size: A(i),
22560
22560
  type: "primary"
22561
22561
  }, {
22562
22562
  default: O(() => [
22563
- W(zi)
22563
+ H(zi)
22564
22564
  ]),
22565
22565
  _: 1
22566
22566
  }, 8, ["size"])
22567
22567
  ]),
22568
22568
  _: 1
22569
- }, 8, ["options", "size"])) : H("", !0)
22569
+ }, 8, ["options", "size"])) : W("", !0)
22570
22570
  ])
22571
22571
  ];
22572
22572
  }),
@@ -22601,7 +22601,7 @@ const k_ = {
22601
22601
  "product-context-buttons-config": t.productContextButtonsConfig,
22602
22602
  "show-configurator": t.showConfigurator,
22603
22603
  "can-show-configurator": t.canShowConfigurator
22604
- }, 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"])) : H("", !0)
22604
+ }, 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"])) : W("", !0)
22605
22605
  ]),
22606
22606
  g.value && f.value ? (_(), te(__, {
22607
22607
  key: 0,
@@ -22621,8 +22621,8 @@ const k_ = {
22621
22621
  ee(" Назад в Конфигуратор ", -1)
22622
22622
  ])]),
22623
22623
  _: 1
22624
- })) : H("", !0),
22625
- W(pn, {
22624
+ })) : W("", !0),
22625
+ H(pn, {
22626
22626
  columns: K.value,
22627
22627
  data: a.value,
22628
22628
  bordered: !0,
@@ -22632,21 +22632,21 @@ const k_ = {
22632
22632
  "table-layout": w.value,
22633
22633
  class: "mt-2"
22634
22634
  }, null, 8, ["columns", "data", "loading", "row-key", "table-layout"])
22635
- ])) : H("", !0),
22635
+ ])) : W("", !0),
22636
22636
  !v.value && !y.value && !s.value && !l.value ? (_(), te(Li, {
22637
22637
  key: 2,
22638
22638
  "show-icon": !0,
22639
22639
  type: "warning",
22640
22640
  title: "Категория пуста",
22641
22641
  class: "mx-10"
22642
- })) : H("", !0),
22642
+ })) : W("", !0),
22643
22643
  y.value ? (_(), te(Li, {
22644
22644
  key: 3,
22645
22645
  "show-icon": !0,
22646
22646
  type: "error",
22647
22647
  title: "При получении данных произошла ошибка",
22648
22648
  class: "mx-10"
22649
- })) : H("", !0),
22649
+ })) : W("", !0),
22650
22650
  v.value ? (_(), te(Fi, {
22651
22651
  key: 4,
22652
22652
  size: A(i),
@@ -22656,7 +22656,7 @@ const k_ = {
22656
22656
  C("div", null, "Выполняется загрузка данных ...", -1)
22657
22657
  ])]),
22658
22658
  _: 1
22659
- }, 8, ["size"])) : H("", !0)
22659
+ }, 8, ["size"])) : W("", !0)
22660
22660
  ];
22661
22661
  }, !0)
22662
22662
  ]),
@@ -22772,14 +22772,14 @@ const k_ = {
22772
22772
  C("div", null, "Выполняется загрузка данных ...", -1)
22773
22773
  ])]),
22774
22774
  _: 1
22775
- }, 8, ["size"])) : H("", !0),
22775
+ }, 8, ["size"])) : W("", !0),
22776
22776
  !t.hasProducts && !t.loading && t.categoriesItems.length > 0 && n.value.length === 0 ? (_(), te(l, {
22777
22777
  key: 2,
22778
22778
  "show-icon": !0,
22779
22779
  type: "warning",
22780
22780
  title: "Товары не найдены",
22781
22781
  class: "mx-10"
22782
- })) : H("", !0)
22782
+ })) : W("", !0)
22783
22783
  ], 64);
22784
22784
  };
22785
22785
  }
@@ -22839,7 +22839,7 @@ const k_ = {
22839
22839
  "onUpdate:value": c
22840
22840
  }, null, 8, ["value", "clearable", "consistent-menu-width", "disabled", "filterable", "max-tag-count", "multiple", "options"]));
22841
22841
  }
22842
- }), j_ = {}, j4 = /* @__PURE__ */ re({
22842
+ }), j_ = {}, U4 = /* @__PURE__ */ re({
22843
22843
  ...j_,
22844
22844
  __name: "set-client-price-form-item",
22845
22845
  props: {
@@ -22967,7 +22967,7 @@ const k_ = {
22967
22967
  class: Ye(["w-full flex-row", { "sm:col-span-2": o.value }])
22968
22968
  }, {
22969
22969
  default: O(() => [
22970
- W(V_, {
22970
+ H(V_, {
22971
22971
  class: "w-full min-w-0 flex-1",
22972
22972
  value: u.value,
22973
22973
  "reference-list": c.value,
@@ -22977,7 +22977,7 @@ const k_ = {
22977
22977
  "show-empty-value": !0,
22978
22978
  "onUpdate:value": v
22979
22979
  }, null, 8, ["value", "reference-list", "clearable", "disabled"]),
22980
- W(S, {
22980
+ H(S, {
22981
22981
  value: d.value,
22982
22982
  "onUpdate:value": [
22983
22983
  w[0] || (w[0] = (D) => d.value = D),
@@ -23003,7 +23003,7 @@ const k_ = {
23003
23003
  ]), 1032, ["value", "clearable", "disabled"])
23004
23004
  ]),
23005
23005
  _: 1
23006
- }, 8, ["class"])) : H("", !0),
23006
+ }, 8, ["class"])) : W("", !0),
23007
23007
  o.value || t.calculationType === A(Hr).m2Cost ? (_(), te(S, {
23008
23008
  key: 1,
23009
23009
  value: h.value,
@@ -23026,7 +23026,7 @@ const k_ = {
23026
23026
  }),
23027
23027
  key: "0"
23028
23028
  } : void 0
23029
- ]), 1032, ["value", "clearable", "disabled"])) : H("", !0)
23029
+ ]), 1032, ["value", "clearable", "disabled"])) : W("", !0)
23030
23030
  ], 2)
23031
23031
  ]),
23032
23032
  _: 1
@@ -23137,7 +23137,7 @@ const k_ = {
23137
23137
  fn: O(() => [
23138
23138
  g.$slots["extra-action"] ? (_(), M("div", q_, [
23139
23139
  Re(g.$slots, "extra-action")
23140
- ])) : H("", !0),
23140
+ ])) : W("", !0),
23141
23141
  g.$slots.action || t.acceptButton.show || t.cancelButton.show ? (_(), M("div", U_, [
23142
23142
  Re(g.$slots, "action", { disabled: o.value }),
23143
23143
  t.acceptButton.show ?? !0 ? (_(), te(m, {
@@ -23151,7 +23151,7 @@ const k_ = {
23151
23151
  ee(U(t.acceptButton.text ?? "ОК"), 1)
23152
23152
  ]),
23153
23153
  _: 1
23154
- }, 8, ["disabled", "size"])) : H("", !0),
23154
+ }, 8, ["disabled", "size"])) : W("", !0),
23155
23155
  t.cancelButton.show ?? !0 ? (_(), te(m, {
23156
23156
  key: 1,
23157
23157
  size: A(a),
@@ -23162,15 +23162,15 @@ const k_ = {
23162
23162
  ee(U(t.cancelButton.text ?? "Отмена"), 1)
23163
23163
  ]),
23164
23164
  _: 1
23165
- }, 8, ["size"])) : H("", !0)
23166
- ])) : H("", !0)
23165
+ }, 8, ["size"])) : W("", !0)
23166
+ ])) : W("", !0)
23167
23167
  ]),
23168
23168
  key: "1"
23169
23169
  } : void 0
23170
23170
  ]), 1032, ["loading", "show", "size", "style", "title", "trap-focus", "action-class"]);
23171
23171
  };
23172
23172
  }
23173
- }), K_ = { class: "text-sm" }, G_ = { class: "text-sm" }, Z_ = {}, q4 = /* @__PURE__ */ re({
23173
+ }), K_ = { class: "text-sm" }, G_ = { class: "text-sm" }, Z_ = {}, X4 = /* @__PURE__ */ re({
23174
23174
  ...Z_,
23175
23175
  __name: "add-product-to-cart-dialog",
23176
23176
  emits: ["submit"],
@@ -23301,7 +23301,7 @@ const k_ = {
23301
23301
  label: `Метраж, ${v.value + r.value.unit.name}`
23302
23302
  }, Bn({
23303
23303
  default: O(() => [
23304
- W(A(yt), {
23304
+ H(A(yt), {
23305
23305
  value: u.value.length,
23306
23306
  "onUpdate:value": [
23307
23307
  S[0] || (S[0] = (Y) => u.value.length = Y),
@@ -23326,15 +23326,15 @@ const k_ = {
23326
23326
  ]),
23327
23327
  key: "0"
23328
23328
  } : void 0
23329
- ]), 1032, ["label"])) : H("", !0),
23330
- W(b, {
23329
+ ]), 1032, ["label"])) : W("", !0),
23330
+ H(b, {
23331
23331
  path: "quantity",
23332
23332
  label: "Количество, шт."
23333
23333
  }, {
23334
23334
  default: O(() => [
23335
- W(R, null, Bn({
23335
+ H(R, null, Bn({
23336
23336
  default: O(() => [
23337
- W(A(yt), {
23337
+ H(A(yt), {
23338
23338
  value: u.value.quantity,
23339
23339
  "onUpdate:value": [
23340
23340
  S[3] || (S[3] = (Y) => u.value.quantity = Y),
@@ -23357,7 +23357,7 @@ const k_ = {
23357
23357
  ee(" x " + U(p.value) + " " + U(r.value.unit.name), 1)
23358
23358
  ]),
23359
23359
  _: 1
23360
- })) : H("", !0)
23360
+ })) : W("", !0)
23361
23361
  ]),
23362
23362
  _: 2
23363
23363
  }, [
@@ -23378,7 +23378,7 @@ const k_ = {
23378
23378
  label: "Маркировка"
23379
23379
  }, {
23380
23380
  default: O(() => [
23381
- W(A(fn), {
23381
+ H(A(fn), {
23382
23382
  value: u.value.marker ?? null,
23383
23383
  placeholder: "Введите маркировку",
23384
23384
  onInput: S[6] || (S[6] = (Y) => A($t)(g.value, "marker")),
@@ -23387,7 +23387,7 @@ const k_ = {
23387
23387
  }, null, 8, ["value", "onFocus"])
23388
23388
  ]),
23389
23389
  _: 1
23390
- })) : H("", !0),
23390
+ })) : W("", !0),
23391
23391
  c.value ? (_(), te(V, {
23392
23392
  key: 2,
23393
23393
  checked: u.value.isAdditionalSale,
@@ -23399,10 +23399,10 @@ const k_ = {
23399
23399
  ee(" ДопПродажа ", -1)
23400
23400
  ])]),
23401
23401
  _: 1
23402
- }, 8, ["checked"])) : H("", !0)
23402
+ }, 8, ["checked"])) : W("", !0)
23403
23403
  ]),
23404
23404
  _: 1
23405
- }, 8, ["model", "rules", "onKeydown"])) : H("", !0)
23405
+ }, 8, ["model", "rules", "onKeydown"])) : W("", !0)
23406
23406
  ];
23407
23407
  }),
23408
23408
  _: 1
@@ -23444,11 +23444,11 @@ const k_ = {
23444
23444
  onClick: a[0] || (a[0] = (d) => o.$emit("click:client-info", t.client))
23445
23445
  }, {
23446
23446
  default: O(() => [
23447
- W(l)
23447
+ H(l)
23448
23448
  ]),
23449
23449
  _: 1
23450
- })) : H("", !0),
23451
- W(u, {
23450
+ })) : W("", !0),
23451
+ H(u, {
23452
23452
  disabled: A(ut)(t.popoverPosition),
23453
23453
  placement: t.popoverPosition
23454
23454
  }, {
@@ -23465,15 +23465,15 @@ const k_ = {
23465
23465
  t.showSalesDirection && t.client.salesDirection ? (_(), M("span", {
23466
23466
  key: 0,
23467
23467
  class: Ye({ "line-through": !t.client.isActive })
23468
- }, " (" + U(t.client.salesDirection.name) + ") ", 3)) : H("", !0),
23469
- t.client.isActive ? H("", !0) : (_(), M("span", t1, " [ Деактивирован ] "))
23468
+ }, " (" + U(t.client.salesDirection.name) + ") ", 3)) : W("", !0),
23469
+ t.client.isActive ? W("", !0) : (_(), M("span", t1, " [ Деактивирован ] "))
23470
23470
  ], 8, e1),
23471
- t.showCityAndRegion && t.client.city ? (_(), M("span", i1, " г. " + U(t.client.city.name) + ", " + U(t.client.city.region.name), 1)) : H("", !0)
23471
+ t.showCityAndRegion && t.client.city ? (_(), M("span", i1, " г. " + U(t.client.city.name) + ", " + U(t.client.city.region.name), 1)) : W("", !0)
23472
23472
  ])
23473
23473
  ]),
23474
23474
  default: O(() => [
23475
- t.client.alternativeName ? (_(), M("div", n1, U(t.client.alternativeName), 1)) : H("", !0),
23476
- s.value ? (_(), M("span", s1, " Последний вход: " + U(s.value), 1)) : H("", !0),
23475
+ t.client.alternativeName ? (_(), M("div", n1, U(t.client.alternativeName), 1)) : W("", !0),
23476
+ s.value ? (_(), M("span", s1, " Последний вход: " + U(s.value), 1)) : W("", !0),
23477
23477
  Re(o.$slots, "popover-content")
23478
23478
  ]),
23479
23479
  _: 3
@@ -23509,7 +23509,7 @@ function u1(t, e) {
23509
23509
  ], -1)
23510
23510
  ])]);
23511
23511
  }
23512
- const d1 = He({ name: "tabler-mail", render: u1 }), h1 = ["href"], f1 = {}, U4 = /* @__PURE__ */ re({
23512
+ const d1 = He({ name: "tabler-mail", render: u1 }), h1 = ["href"], f1 = {}, Y4 = /* @__PURE__ */ re({
23513
23513
  ...f1,
23514
23514
  __name: "email",
23515
23515
  props: {
@@ -23522,7 +23522,7 @@ const d1 = He({ name: "tabler-mail", render: u1 }), h1 = ["href"], f1 = {}, U4 =
23522
23522
  return _(), M("span", {
23523
23523
  class: Ye({ "flex flex-row items-center gap-1": t.showEmailIcon })
23524
23524
  }, [
23525
- t.showEmailIcon ? (_(), te(n, { key: 0 })) : H("", !0),
23525
+ t.showEmailIcon ? (_(), te(n, { key: 0 })) : W("", !0),
23526
23526
  C("a", {
23527
23527
  href: `mailto:${t.email}`,
23528
23528
  class: "no-underline"
@@ -23671,7 +23671,7 @@ function R1(t, e) {
23671
23671
  const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
23672
23672
  key: 0,
23673
23673
  class: "absolute left-0 top-0 flex w-full flex-row items-center justify-around text-center backdrop-blur-sm"
23674
- }, A1 = ["href"], M1 = ["href"], E1 = ["href"], I1 = ["href"], O1 = {}, X4 = /* @__PURE__ */ re({
23674
+ }, A1 = ["href"], M1 = ["href"], E1 = ["href"], I1 = ["href"], O1 = {}, K4 = /* @__PURE__ */ re({
23675
23675
  ...O1,
23676
23676
  __name: "phone",
23677
23677
  props: {
@@ -23708,7 +23708,7 @@ const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
23708
23708
  C("div", {
23709
23709
  class: Ye({ "flex flex-row items-center gap-1": t.showPhoneIcon })
23710
23710
  }, [
23711
- t.showPhoneIcon ? (_(), te(c, { key: 0 })) : H("", !0),
23711
+ t.showPhoneIcon ? (_(), te(c, { key: 0 })) : W("", !0),
23712
23712
  ee(" " + U(s.value), 1)
23713
23713
  ], 2),
23714
23714
  n.value && o.value ? (_(), M("div", B1, [
@@ -23717,8 +23717,8 @@ const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
23717
23717
  href: `tel:${r.value}`,
23718
23718
  class: "text-blue-600 hover:animate-pulse hover:text-blue-600"
23719
23719
  }, [
23720
- W(u)
23721
- ], 8, A1)) : H("", !0),
23720
+ H(u)
23721
+ ], 8, A1)) : W("", !0),
23722
23722
  n.value ? (_(), M("a", {
23723
23723
  key: 1,
23724
23724
  href: `https://t.me/${r.value}`,
@@ -23726,8 +23726,8 @@ const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
23726
23726
  rel: "noopener noreferrer",
23727
23727
  class: "hover:animate-pulse"
23728
23728
  }, [
23729
- W(d)
23730
- ], 8, M1)) : H("", !0),
23729
+ H(d)
23730
+ ], 8, M1)) : W("", !0),
23731
23731
  n.value ? (_(), M("a", {
23732
23732
  key: 2,
23733
23733
  href: `https://wa.me/${r.value.substring(1)}`,
@@ -23735,16 +23735,16 @@ const F1 = He({ name: "tabler-phone-call", render: R1 }), B1 = {
23735
23735
  rel: "noopener noreferrer",
23736
23736
  class: "hover:animate-pulse"
23737
23737
  }, [
23738
- W(h)
23739
- ], 8, E1)) : H("", !0),
23738
+ H(h)
23739
+ ], 8, E1)) : W("", !0),
23740
23740
  n.value ? (_(), M("a", {
23741
23741
  key: 3,
23742
23742
  href: `viber://chat?number=${r.value}`,
23743
23743
  class: "text-purple-600 hover:animate-pulse hover:text-purple-600"
23744
23744
  }, [
23745
- W(g)
23746
- ], 8, I1)) : H("", !0)
23747
- ])) : H("", !0)
23745
+ H(g)
23746
+ ], 8, I1)) : W("", !0)
23747
+ ])) : W("", !0)
23748
23748
  ], 34)
23749
23749
  ]);
23750
23750
  };
@@ -23789,7 +23789,7 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
23789
23789
  }, ew = {
23790
23790
  key: 0,
23791
23791
  class: "-mt-1"
23792
- }, tw = {}, Y4 = /* @__PURE__ */ re({
23792
+ }, tw = {}, G4 = /* @__PURE__ */ re({
23793
23793
  ...tw,
23794
23794
  __name: "person-contacts-block",
23795
23795
  props: {
@@ -23822,7 +23822,7 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
23822
23822
  var p, v;
23823
23823
  const u = Yh, d = Xh, h = Uh, g = qh, f = D1, m = En;
23824
23824
  return _(), M("div", N1, [
23825
- W(m, {
23825
+ H(m, {
23826
23826
  disabled: t.fullView,
23827
23827
  placement: "bottom"
23828
23828
  }, {
@@ -23840,18 +23840,18 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
23840
23840
  C("div", null, [
23841
23841
  t.fullView && (t.contact.name || ($ = t.contact) != null && $.position) ? (_(), M("div", H1, [
23842
23842
  ee(U(t.contact.name) + " ", 1),
23843
- (x = t.contact) != null && x.position ? (_(), M("span", W1, U((F = t.contact) == null ? void 0 : F.position), 1)) : H("", !0)
23844
- ])) : H("", !0),
23845
- t.contact.phone ? (_(), M("div", V1, U(s.value), 1)) : H("", !0),
23846
- t.contact.email ? (_(), M("div", j1, U(t.contact.email), 1)) : H("", !0),
23843
+ (x = t.contact) != null && x.position ? (_(), M("span", W1, U((F = t.contact) == null ? void 0 : F.position), 1)) : W("", !0)
23844
+ ])) : W("", !0),
23845
+ t.contact.phone ? (_(), M("div", V1, U(s.value), 1)) : W("", !0),
23846
+ t.contact.email ? (_(), M("div", j1, U(t.contact.email), 1)) : W("", !0),
23847
23847
  o.value && a.value ? (_(), M("div", q1, [
23848
23848
  n.value ? (_(), M("a", {
23849
23849
  key: 0,
23850
23850
  href: `tel:${r.value}`,
23851
23851
  class: "text-blue-600 hover:text-3xl hover:text-blue-600"
23852
23852
  }, [
23853
- W(u)
23854
- ], 8, U1)) : H("", !0),
23853
+ H(u)
23854
+ ], 8, U1)) : W("", !0),
23855
23855
  n.value ? (_(), M("a", {
23856
23856
  key: 1,
23857
23857
  href: `https://t.me/${r.value}`,
@@ -23859,8 +23859,8 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
23859
23859
  rel: "noopener noreferrer",
23860
23860
  class: "hover:text-3xl"
23861
23861
  }, [
23862
- W(d)
23863
- ], 8, X1)) : H("", !0),
23862
+ H(d)
23863
+ ], 8, X1)) : W("", !0),
23864
23864
  n.value ? (_(), M("a", {
23865
23865
  key: 2,
23866
23866
  href: `https://wa.me/${r.value.substring(1)}`,
@@ -23868,23 +23868,23 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
23868
23868
  rel: "noopener noreferrer",
23869
23869
  class: "hover:text-3xl"
23870
23870
  }, [
23871
- W(h)
23872
- ], 8, Y1)) : H("", !0),
23871
+ H(h)
23872
+ ], 8, Y1)) : W("", !0),
23873
23873
  n.value ? (_(), M("a", {
23874
23874
  key: 3,
23875
23875
  href: `viber://chat?number=${r.value}`,
23876
23876
  class: "text-purple-600 hover:text-3xl hover:text-purple-600"
23877
23877
  }, [
23878
- W(g)
23879
- ], 8, K1)) : H("", !0),
23878
+ H(g)
23879
+ ], 8, K1)) : W("", !0),
23880
23880
  t.contact.email ? (_(), M("a", {
23881
23881
  key: 4,
23882
23882
  href: `mailto:${t.contact.email}`,
23883
23883
  class: "hover:text-3xl"
23884
23884
  }, [
23885
- W(f)
23886
- ], 8, G1)) : H("", !0)
23887
- ])) : H("", !0)
23885
+ H(f)
23886
+ ], 8, G1)) : W("", !0)
23887
+ ])) : W("", !0)
23888
23888
  ])
23889
23889
  ], 38)
23890
23890
  ];
@@ -23894,12 +23894,12 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
23894
23894
  return [
23895
23895
  t.contact.name ? (_(), M("div", Z1, [
23896
23896
  ee(U(t.contact.name) + " ", 1),
23897
- (y = t.contact) != null && y.position ? (_(), M("span", Q1, U(($ = t.contact) == null ? void 0 : $.position), 1)) : H("", !0)
23898
- ])) : H("", !0),
23897
+ (y = t.contact) != null && y.position ? (_(), M("span", Q1, U(($ = t.contact) == null ? void 0 : $.position), 1)) : W("", !0)
23898
+ ])) : W("", !0),
23899
23899
  (x = t.contact) != null && x.comment ? (_(), M("div", J1, [
23900
23900
  c[4] || (c[4] = C("sup", null, "**", -1)),
23901
23901
  ee(" " + U((F = t.contact) == null ? void 0 : F.comment), 1)
23902
- ])) : H("", !0)
23902
+ ])) : W("", !0)
23903
23903
  ];
23904
23904
  }),
23905
23905
  _: 1
@@ -23907,12 +23907,12 @@ const D1 = He({ name: "mdi-envelope", render: L1 }), N1 = { class: "flex flex-co
23907
23907
  t.fullView && ((p = t.contact) != null && p.comment) ? (_(), M("div", ew, [
23908
23908
  c[5] || (c[5] = C("sup", null, "**", -1)),
23909
23909
  ee(" " + U((v = t.contact) == null ? void 0 : v.comment), 1)
23910
- ])) : H("", !0)
23910
+ ])) : W("", !0)
23911
23911
  ]);
23912
23912
  };
23913
23913
  }
23914
23914
  });
23915
- class K4 {
23915
+ class Z4 {
23916
23916
  /**
23917
23917
  * Инициализирует экземпляр класса {@link ConfiguratorSettingsMosquito}.
23918
23918
  *
@@ -23970,11 +23970,11 @@ class K4 {
23970
23970
  this.color = e.color, this.crossbarCount = e.crossbarCount, this.descriptions = va(e.descriptions), this.maxHeights = e.maxHeights, this.maxWidths = e.maxWidths, this.minHeight = e.minHeight, this.minWidth = e.minWidth, this.mountType = e.mountType, this.netType = e.netType, this.heightOverlaps = va(e.heightOverlaps), this.widthOverlaps = va(e.widthOverlaps), this.canSetDopProdaga = e.canSetDopProdaga;
23971
23971
  }
23972
23972
  }
23973
- function G4(t) {
23973
+ function Q4(t) {
23974
23974
  var e;
23975
23975
  return ((e = t.properties) == null ? void 0 : e.configurator) !== Gt.SandwichM2 ? !0 : t.properties.configuratorSettings !== void 0 && kt(t.products) && t.products.length > 0;
23976
23976
  }
23977
- const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, sw = { class: "flex flex-col" }, rw = {}, Z4 = /* @__PURE__ */ re({
23977
+ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, sw = { class: "flex flex-col" }, rw = {}, J4 = /* @__PURE__ */ re({
23978
23978
  ...rw,
23979
23979
  __name: "date-range",
23980
23980
  props: {
@@ -24010,7 +24010,7 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
24010
24010
  var u, d, h, g, f, m;
24011
24011
  const l = Ne, c = wg;
24012
24012
  return _(), M("div", iw, [
24013
- W(c, {
24013
+ H(c, {
24014
24014
  value: ((d = (u = t.dateRange) == null ? void 0 : u.from) == null ? void 0 : d.getTime()) ?? null,
24015
24015
  clearable: t.clearable,
24016
24016
  "is-date-disabled": (p) => {
@@ -24051,7 +24051,7 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
24051
24051
  key: "0"
24052
24052
  } : void 0
24053
24053
  ]), 1032, ["value", "clearable", "is-date-disabled", "disabled", "format"]),
24054
- W(c, {
24054
+ H(c, {
24055
24055
  value: ((f = (g = t.dateRange) == null ? void 0 : g.to) == null ? void 0 : f.getTime()) ?? null,
24056
24056
  clearable: t.clearable,
24057
24057
  "is-date-disabled": (p) => {
@@ -24113,10 +24113,10 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
24113
24113
  t.isShowTime ? (_(), M("span", {
24114
24114
  key: 0,
24115
24115
  class: Ye([{ "text-sc-grey": t.isTimeSecondary, "ml-1": !t.isTimeOnSecondLine }, "sc-lbl-time"])
24116
- }, U(n.value), 3)) : H("", !0)
24116
+ }, U(n.value), 3)) : W("", !0)
24117
24117
  ], 2));
24118
24118
  }
24119
- }), lw = { 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" }, uw = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, dw = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, hw = {}, Q4 = /* @__PURE__ */ re({
24119
+ }), lw = { 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" }, uw = { class: "flex min-w-0 flex-col-reverse flex-wrap-reverse justify-end gap-1 sm:flex-row" }, dw = { class: "mb-0.5 sm:mb-0 sm:ml-3" }, hw = {}, e6 = /* @__PURE__ */ re({
24120
24120
  ...hw,
24121
24121
  __name: "dialog-header",
24122
24122
  props: {
@@ -24139,13 +24139,13 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
24139
24139
  placement: "bottom"
24140
24140
  }, {
24141
24141
  trigger: O(() => [
24142
- W(s, {
24142
+ H(s, {
24143
24143
  size: "small",
24144
24144
  type: "error",
24145
24145
  onClick: i[0] || (i[0] = (o) => e.$emit("close"))
24146
24146
  }, {
24147
24147
  default: O(() => [
24148
- W(n)
24148
+ H(n)
24149
24149
  ]),
24150
24150
  _: 1
24151
24151
  })
@@ -24154,7 +24154,7 @@ const iw = { class: "flex flex-wrap gap-2" }, nw = { class: "flex flex-col" }, s
24154
24154
  i[1] || (i[1] = ee(" Закрыть ", -1))
24155
24155
  ]),
24156
24156
  _: 1
24157
- })) : H("", !0)
24157
+ })) : W("", !0)
24158
24158
  ])
24159
24159
  ])
24160
24160
  ])
@@ -24186,7 +24186,7 @@ function gw(t, e) {
24186
24186
  }, null, -1)
24187
24187
  ])]);
24188
24188
  }
24189
- const mw = He({ name: "ion-download-outline", render: gw }), pw = {}, J4 = /* @__PURE__ */ re({
24189
+ const mw = He({ name: "ion-download-outline", render: gw }), pw = {}, t6 = /* @__PURE__ */ re({
24190
24190
  ...pw,
24191
24191
  __name: "single-file-upload-selector",
24192
24192
  props: {
@@ -24226,11 +24226,11 @@ const mw = He({ name: "ion-download-outline", render: gw }), pw = {}, J4 = /* @_
24226
24226
  "onUpdate:fileList": o
24227
24227
  }, {
24228
24228
  default: O(() => [
24229
- W(A(kg), null, {
24229
+ H(A(kg), null, {
24230
24230
  default: O(() => [
24231
24231
  Re(a.$slots, "dragged-area", {}, () => [
24232
24232
  C("div", null, [
24233
- W(c, { class: "text-2xl" }),
24233
+ H(c, { class: "text-2xl" }),
24234
24234
  C("div", null, U(t.draggedAreaText ?? "Перетащите в эту область файл, который необходимо загрузить."), 1)
24235
24235
  ])
24236
24236
  ])
@@ -24340,7 +24340,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
24340
24340
  placement: "bottom"
24341
24341
  }, {
24342
24342
  trigger: O(() => [
24343
- W(d, {
24343
+ H(d, {
24344
24344
  disabled: t.disabled || n.value,
24345
24345
  type: "info",
24346
24346
  ghost: "",
@@ -24348,7 +24348,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
24348
24348
  onClick: s
24349
24349
  }, {
24350
24350
  default: O(() => [
24351
- W(u)
24351
+ H(u)
24352
24352
  ]),
24353
24353
  _: 1
24354
24354
  }, 8, ["disabled"])
@@ -24357,21 +24357,21 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
24357
24357
  c[0] || (c[0] = ee(" Редактировать данные ", -1))
24358
24358
  ]),
24359
24359
  _: 1
24360
- })) : H("", !0),
24360
+ })) : W("", !0),
24361
24361
  t.showApplyButton ? (_(), te(h, {
24362
24362
  key: 1,
24363
24363
  disabled: n.value,
24364
24364
  placement: "bottom"
24365
24365
  }, {
24366
24366
  trigger: O(() => [
24367
- W(d, {
24367
+ H(d, {
24368
24368
  disabled: t.disabled || n.value,
24369
24369
  type: "primary",
24370
24370
  size: "small",
24371
24371
  onClick: o
24372
24372
  }, {
24373
24373
  default: O(() => [
24374
- W(g)
24374
+ H(g)
24375
24375
  ]),
24376
24376
  _: 1
24377
24377
  }, 8, ["disabled"])
@@ -24380,20 +24380,20 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
24380
24380
  c[1] || (c[1] = ee(" Сохранить изменения ", -1))
24381
24381
  ]),
24382
24382
  _: 1
24383
- }, 8, ["disabled"])) : H("", !0),
24383
+ }, 8, ["disabled"])) : W("", !0),
24384
24384
  t.showCancelButton ? (_(), te(h, {
24385
24385
  key: 2,
24386
24386
  placement: "bottom"
24387
24387
  }, {
24388
24388
  trigger: O(() => [
24389
- W(d, {
24389
+ H(d, {
24390
24390
  disabled: t.disabled || n.value,
24391
24391
  type: "error",
24392
24392
  size: "small",
24393
24393
  onClick: a
24394
24394
  }, {
24395
24395
  default: O(() => [
24396
- W(f)
24396
+ H(f)
24397
24397
  ]),
24398
24398
  _: 1
24399
24399
  }, 8, ["disabled"])
@@ -24402,7 +24402,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
24402
24402
  c[2] || (c[2] = ee(" Отменить изменения ", -1))
24403
24403
  ]),
24404
24404
  _: 1
24405
- })) : H("", !0)
24405
+ })) : W("", !0)
24406
24406
  ]),
24407
24407
  Re(l.$slots, "extra-buttons")
24408
24408
  ])
@@ -24466,7 +24466,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
24466
24466
  }, 8, ["disabled", "show-edit-button"]))
24467
24467
  ]));
24468
24468
  }
24469
- }), Fw = {}, e6 = /* @__PURE__ */ re({
24469
+ }), Fw = {}, i6 = /* @__PURE__ */ re({
24470
24470
  ...Fw,
24471
24471
  __name: "debounced-input",
24472
24472
  props: {
@@ -24504,7 +24504,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
24504
24504
  _: 3
24505
24505
  }, 8, ["value", "clearable", "placeholder"]));
24506
24506
  }
24507
- }), Bw = {}, t6 = /* @__PURE__ */ re({
24507
+ }), Bw = {}, n6 = /* @__PURE__ */ re({
24508
24508
  ...Bw,
24509
24509
  __name: "debounced-input-number",
24510
24510
  props: {
@@ -24639,7 +24639,7 @@ const xw = He({ name: "ion-options-outline", render: ww }), kw = { class: "flex
24639
24639
  class: "tel-input"
24640
24640
  }, null, 8, ["modelValue", "default-country", "disabled", "input-options", "preferred-countries", "only-countries"]));
24641
24641
  }
24642
- }), i6 = /* @__PURE__ */ es(Mw, [["__scopeId", "data-v-751dbb0e"]]), Ew = {
24642
+ }), s6 = /* @__PURE__ */ es(Mw, [["__scopeId", "data-v-751dbb0e"]]), Ew = {
24643
24643
  viewBox: "0 0 24 24",
24644
24644
  width: "1.2em",
24645
24645
  height: "1.2em"
@@ -24656,7 +24656,7 @@ function Iw(t, e) {
24656
24656
  }, null, -1)
24657
24657
  ])]);
24658
24658
  }
24659
- const Ow = He({ name: "tabler-external-link", render: Iw }), zw = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, Lw = ["href"], Dw = {}, n6 = /* @__PURE__ */ re({
24659
+ const Ow = He({ name: "tabler-external-link", render: Iw }), zw = { class: "flex flex-row gap-1 hover:underline hover:decoration-dashed" }, Lw = ["href"], Dw = {}, r6 = /* @__PURE__ */ re({
24660
24660
  ...Dw,
24661
24661
  __name: "external-link",
24662
24662
  props: {
@@ -24678,7 +24678,7 @@ const Ow = He({ name: "tabler-external-link", render: Iw }), zw = { class: "flex
24678
24678
  target: "_blank",
24679
24679
  class: "no-underline"
24680
24680
  }, U(t.text), 9, Lw),
24681
- W(n, { class: "mt-0.5 flex-none" })
24681
+ H(n, { class: "mt-0.5 flex-none" })
24682
24682
  ])
24683
24683
  ]),
24684
24684
  default: O(() => [
@@ -28011,7 +28011,7 @@ const ek = "n", tk = `.${ek}-`, ik = "__", nk = "--", Ef = gf(), If = J2({
28011
28011
  Ef.use(If);
28012
28012
  const {
28013
28013
  c: we,
28014
- find: s6
28014
+ find: o6
28015
28015
  } = Ef, {
28016
28016
  cB: Te,
28017
28017
  cE: Ae,
@@ -34473,7 +34473,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34473
34473
  }), fS = { class: "col-span-2 flex flex-row gap-2.5" }, gS = { class: "flex-1" }, mS = { class: "text-sc-grey" }, pS = { class: "ml-2.5" }, vS = {
34474
34474
  key: 0,
34475
34475
  class: "flex-none"
34476
- }, yS = {}, r6 = /* @__PURE__ */ re({
34476
+ }, yS = {}, a6 = /* @__PURE__ */ re({
34477
34477
  ...yS,
34478
34478
  __name: "products-list",
34479
34479
  props: {
@@ -34520,7 +34520,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34520
34520
  Re(d.$slots, "header")
34521
34521
  ]),
34522
34522
  footer: O(() => [
34523
- W(hS, {
34523
+ H(hS, {
34524
34524
  value: s.value,
34525
34525
  "onUpdate:value": [
34526
34526
  h[0] || (h[0] = (v) => s.value = v),
@@ -34542,19 +34542,19 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34542
34542
  ee(" --- Список пуст --- ", -1)
34543
34543
  ])]),
34544
34544
  _: 1
34545
- })) : H("", !0),
34545
+ })) : W("", !0),
34546
34546
  (_(!0), M(be, null, Pt(o.value, (v) => (_(), te(g, {
34547
34547
  key: v.id
34548
34548
  }, {
34549
34549
  suffix: O(() => [
34550
- W(m, {
34550
+ H(m, {
34551
34551
  disabled: t.disabled,
34552
34552
  quaternary: "",
34553
34553
  type: "error",
34554
34554
  onClick: (y) => u(v)
34555
34555
  }, {
34556
34556
  default: O(() => [
34557
- W(f)
34557
+ H(f)
34558
34558
  ]),
34559
34559
  _: 1
34560
34560
  }, 8, ["disabled", "onClick"])
@@ -34570,7 +34570,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34570
34570
  item: v,
34571
34571
  updateItemCallback: c
34572
34572
  })
34573
- ])) : H("", !0)
34573
+ ])) : W("", !0)
34574
34574
  ])
34575
34575
  ]),
34576
34576
  _: 2
@@ -34645,7 +34645,7 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34645
34645
  t.item.configurator === A(Gt).Kozyrek ? (_(), M("span", kS, [
34646
34646
  d[2] || (d[2] = ee(" Длина: ", -1)),
34647
34647
  C("span", CS, U(Math.round(t.item.length * 1e3)) + " мм.", 1)
34648
- ])) : H("", !0),
34648
+ ])) : W("", !0),
34649
34649
  t.item.configurator === A(Gt).Mosquitto ? (_(), M(be, { key: 1 }, [
34650
34650
  C("span", null, [
34651
34651
  d[3] || (d[3] = ee(" Ширина: ", -1)),
@@ -34655,11 +34655,11 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34655
34655
  d[4] || (d[4] = ee(" Высота: ", -1)),
34656
34656
  C("span", $S, U(Math.round(t.item.height * 1e3)) + " мм.", 1)
34657
34657
  ])
34658
- ], 64)) : H("", !0),
34658
+ ], 64)) : W("", !0),
34659
34659
  t.item.configurator === A(Gt).Strip ? (_(!0), M(be, { key: 2 }, Pt(t.item.configuratorParams.linesWidths, (g, f) => (_(), M("span", { key: f }, [
34660
34660
  ee(" Полоса №" + U(Number(f) + 1) + ": ", 1),
34661
34661
  C("span", PS, U(g) + " мм.", 1)
34662
- ]))), 128)) : H("", !0),
34662
+ ]))), 128)) : W("", !0),
34663
34663
  t.item.configurator === A(Gt).MetalForDoors ? (_(), M(be, { key: 3 }, [
34664
34664
  C("span", null, [
34665
34665
  d[5] || (d[5] = ee(" Ширина: ", -1)),
@@ -34669,11 +34669,11 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34669
34669
  d[6] || (d[6] = ee(" Длина: ", -1)),
34670
34670
  C("span", RS, U(Math.round(t.item.length * 1e3)) + " мм.", 1)
34671
34671
  ])
34672
- ], 64)) : H("", !0),
34672
+ ], 64)) : W("", !0),
34673
34673
  t.item.configurator === A(Gt).Sandwich ? (_(!0), M(be, { key: 4 }, Pt(t.item.configuratorParams.items ?? [], (g, f) => (_(), M("span", { key: f }, [
34674
34674
  ee(" Изделие №" + U(Number(f) + 1) + ": ", 1),
34675
34675
  C("span", FS, U(g.width) + "×" + U(g.length) + " мм, " + U(g.count) + " шт.", 1)
34676
- ]))), 128)) : H("", !0),
34676
+ ]))), 128)) : W("", !0),
34677
34677
  t.item.configurator === A(Gt).SandwichM2 ? (_(), M(be, { key: 5 }, [
34678
34678
  C("span", null, [
34679
34679
  d[7] || (d[7] = ee(" Ширина: ", -1)),
@@ -34683,19 +34683,19 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34683
34683
  d[8] || (d[8] = ee(" Длина: ", -1)),
34684
34684
  C("span", AS, U(Math.round(t.item.length * 1e3)) + " мм.", 1)
34685
34685
  ])
34686
- ], 64)) : H("", !0)
34686
+ ], 64)) : W("", !0)
34687
34687
  ])
34688
34688
  ]),
34689
34689
  t.item.marker ? (_(), M("span", MS, [
34690
34690
  d[9] || (d[9] = ee(" Маркировка: ", -1)),
34691
34691
  C("span", ES, U(t.item.marker), 1)
34692
- ])) : H("", !0),
34692
+ ])) : W("", !0),
34693
34693
  t.allowEdit ? (_(), M("a", {
34694
34694
  key: 1,
34695
34695
  href: "#",
34696
34696
  class: "text-xs text-blue-500 hover:text-blue-700 self-start mt-2.5",
34697
34697
  onClick: un(l, ["prevent"])
34698
- }, " Изменить ")) : H("", !0)
34698
+ }, " Изменить ")) : W("", !0)
34699
34699
  ], 64)) : s.value && r.value > 0 ? (_(), M(be, { key: 1 }, [
34700
34700
  C("div", IS, [
34701
34701
  C("span", null, [
@@ -34716,13 +34716,13 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34716
34716
  t.item.marker ? (_(), M("span", NS, [
34717
34717
  d[13] || (d[13] = ee(" Маркировка: ", -1)),
34718
34718
  C("span", HS, U(t.item.marker), 1)
34719
- ])) : H("", !0),
34719
+ ])) : W("", !0),
34720
34720
  t.allowEdit ? (_(), M("a", {
34721
34721
  key: 1,
34722
34722
  href: "#",
34723
34723
  class: "text-xs text-blue-500 hover:text-blue-700 self-start mt-2.5",
34724
34724
  onClick: un(c, ["prevent"])
34725
- }, " Изменить ")) : H("", !0)
34725
+ }, " Изменить ")) : W("", !0)
34726
34726
  ], 64)) : t.item.product.getIsMeasurable() ? (_(), M(be, { key: 2 }, [
34727
34727
  C("div", WS, [
34728
34728
  C("span", null, [
@@ -34737,13 +34737,13 @@ const aS = Object.assign(Object.assign({}, ti.props), {
34737
34737
  t.item.marker ? (_(), M("span", US, [
34738
34738
  d[16] || (d[16] = ee(" Маркировка: ", -1)),
34739
34739
  C("span", XS, U(t.item.marker), 1)
34740
- ])) : H("", !0),
34740
+ ])) : W("", !0),
34741
34741
  t.allowEdit ? (_(), M("a", {
34742
34742
  key: 1,
34743
34743
  href: "#",
34744
34744
  class: "text-xs text-blue-500 hover:text-blue-700 self-start mt-2.5",
34745
34745
  onClick: un(c, ["prevent"])
34746
- }, " Изменить ")) : H("", !0)
34746
+ }, " Изменить ")) : W("", !0)
34747
34747
  ], 64)) : (_(), M(be, { key: 3 }, [
34748
34748
  t.allowEdit ? (_(), te(h, {
34749
34749
  key: 0,
@@ -34846,16 +34846,16 @@ const o5 = He({ name: "tabler-truck-loading", render: r5 }), a5 = { class: "flex
34846
34846
  const o = o5, a = n5, l = e5;
34847
34847
  return _(), M("div", a5, [
34848
34848
  t.showType ? (_(), M("span", l5, [
34849
- ((c = e.value) == null ? void 0 : c.slug) === "self_delivery" ? (_(), te(o, { key: 0 })) : H("", !0),
34850
- ((u = e.value) == null ? void 0 : u.slug) === "delivery" ? (_(), te(a, { key: 1 })) : H("", !0),
34851
- ((d = e.value) == null ? void 0 : d.slug) === "transport_company_delivery" ? (_(), te(l, { key: 2 })) : H("", !0),
34849
+ ((c = e.value) == null ? void 0 : c.slug) === "self_delivery" ? (_(), te(o, { key: 0 })) : W("", !0),
34850
+ ((u = e.value) == null ? void 0 : u.slug) === "delivery" ? (_(), te(a, { key: 1 })) : W("", !0),
34851
+ ((d = e.value) == null ? void 0 : d.slug) === "transport_company_delivery" ? (_(), te(l, { key: 2 })) : W("", !0),
34852
34852
  C("span", null, U((h = e.value) == null ? void 0 : h.name), 1)
34853
- ])) : H("", !0),
34853
+ ])) : W("", !0),
34854
34854
  t.showDetails ? (_(), M("span", c5, [
34855
34855
  C("span", u5, U(i.value), 1),
34856
- (f = (g = t.delivery) == null ? void 0 : g.address) != null && f.address ? (_(), M("span", d5, U(t.delivery.address.address), 1)) : H("", !0),
34857
- (p = (m = t.delivery) == null ? void 0 : m.warehouse) != null && p.address ? (_(), M("span", h5, " со склада " + U(t.delivery.warehouse.address), 1)) : H("", !0)
34858
- ])) : H("", !0)
34856
+ (f = (g = t.delivery) == null ? void 0 : g.address) != null && f.address ? (_(), M("span", d5, U(t.delivery.address.address), 1)) : W("", !0),
34857
+ (p = (m = t.delivery) == null ? void 0 : m.warehouse) != null && p.address ? (_(), M("span", h5, " со склада " + U(t.delivery.warehouse.address), 1)) : W("", !0)
34858
+ ])) : W("", !0)
34859
34859
  ]);
34860
34860
  };
34861
34861
  }
@@ -34891,29 +34891,29 @@ const o5 = He({ name: "tabler-truck-loading", render: r5 }), a5 = { class: "flex
34891
34891
  href: t.orderUrl.replace(":id", t.order.id.toString()),
34892
34892
  target: "_blank",
34893
34893
  class: "text-sc-dark-grey"
34894
- }, " #" + U(i.value), 9, p5)) : H("", !0),
34894
+ }, " #" + U(i.value), 9, p5)) : W("", !0),
34895
34895
  s.value ? (_(), M(be, { key: 1 }, [
34896
34896
  l[0] || (l[0] = ee(" от ", -1)),
34897
- W(fl, {
34897
+ H(fl, {
34898
34898
  date: t.order.createdAt,
34899
34899
  "is-time-secondary": !0
34900
34900
  }, null, 8, ["date"])
34901
- ], 64)) : H("", !0),
34901
+ ], 64)) : W("", !0),
34902
34902
  n.value ? (_(), M(be, { key: 2 }, [
34903
34903
  l[1] || (l[1] = ee(" - ", -1)),
34904
34904
  C("span", v5, U(n.value), 1)
34905
- ], 64)) : H("", !0)
34905
+ ], 64)) : W("", !0)
34906
34906
  ]),
34907
34907
  r.value ? (_(), te(Po, {
34908
34908
  key: 0,
34909
34909
  client: r.value,
34910
34910
  class: "ml-3"
34911
- }, null, 8, ["client"])) : H("", !0),
34911
+ }, null, 8, ["client"])) : W("", !0),
34912
34912
  o.value ? (_(), te(lc, {
34913
34913
  key: 1,
34914
34914
  delivery: o.value,
34915
34915
  class: "ml-3"
34916
- }, null, 8, ["delivery"])) : H("", !0)
34916
+ }, null, 8, ["delivery"])) : W("", !0)
34917
34917
  ]));
34918
34918
  }
34919
34919
  }), _5 = {}, Zf = /* @__PURE__ */ re({
@@ -34965,29 +34965,29 @@ const o5 = He({ name: "tabler-truck-loading", render: r5 }), a5 = { class: "flex
34965
34965
  return (e, i) => (_(), M("div", k5, [
34966
34966
  C("span", C5, U(t.index + 1) + ".", 1),
34967
34967
  C("div", S5, [
34968
- W(bo, {
34968
+ H(bo, {
34969
34969
  product: t.product.product,
34970
34970
  "show-planning-dates": !1
34971
34971
  }, null, 8, ["product"]),
34972
34972
  t.product.marker ? (_(), M("span", $5, [
34973
34973
  i[0] || (i[0] = ee(" Маркировка: ", -1)),
34974
34974
  C("span", P5, U(t.product.marker), 1)
34975
- ])) : H("", !0),
34975
+ ])) : W("", !0),
34976
34976
  t.product.creator && t.product.creator.type ? (_(), te(Qf, {
34977
34977
  key: 1,
34978
34978
  "user-type": t.product.creator.type,
34979
34979
  class: "self-start"
34980
- }, null, 8, ["user-type"])) : H("", !0),
34980
+ }, null, 8, ["user-type"])) : W("", !0),
34981
34981
  C("div", T5, [
34982
34982
  i[1] || (i[1] = C("span", null, "Кол-во", -1)),
34983
34983
  t.product.product.getIsMeasurable() ? (_(), M("span", R5, U(`${t.product.length} ${t.product.product.unit.name} x ${t.product.quantity} шт.`), 1)) : (_(), M("span", F5, U(`${t.product.quantity} ${t.product.product.unit.name}`), 1)),
34984
34984
  i[2] || (i[2] = C("span", null, "Цена за ед.", -1)),
34985
- W(Kn, {
34985
+ H(Kn, {
34986
34986
  product: t.product,
34987
34987
  "cost-field-name": "costOneRub"
34988
34988
  }, null, 8, ["product"]),
34989
34989
  i[3] || (i[3] = C("span", null, "Сумма", -1)),
34990
- W(Kn, {
34990
+ H(Kn, {
34991
34991
  product: t.product,
34992
34992
  "cost-field-name": "cost"
34993
34993
  }, null, 8, ["product"])
@@ -35044,7 +35044,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35044
35044
  return (r = e.value) == null ? void 0 : r.showPreview();
35045
35045
  })
35046
35046
  }, " Спецификация "),
35047
- Fs(W(A($g), {
35047
+ Fs(H(A($g), {
35048
35048
  ref: "image-reference",
35049
35049
  src: t.src,
35050
35050
  "previewed-img-props": { style: "max-width: 80vw; max-height: 80vh; object-fit: contain; border: 12px solid white;" }
@@ -35176,7 +35176,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35176
35176
  const l = Bl;
35177
35177
  return _(), M(be, null, [
35178
35178
  a[0] || (a[0] = C("h3", null, "Список позиций", -1)),
35179
- W(l, {
35179
+ H(l, {
35180
35180
  columns: s.value,
35181
35181
  data: t.products,
35182
35182
  "row-key": (c) => c.id,
@@ -35226,7 +35226,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35226
35226
  a[1] || (a[1] = C("h3", null, "История статусов", -1)),
35227
35227
  C("div", H5, [
35228
35228
  i.value ? (_(), M("div", W5, [
35229
- W(l, {
35229
+ H(l, {
35230
35230
  size: "small",
35231
35231
  class: "mb-1 align-middle"
35232
35232
  }),
@@ -35236,7 +35236,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35236
35236
  C("span", q5, U(s(c.createdAt)), 1),
35237
35237
  C("div", U5, [
35238
35238
  C("span", X5, U(c.status.name), 1),
35239
- c.statusDetail ? (_(), M("span", Y5, "  (" + U(c.statusDetail.name) + ") ", 1)) : H("", !0),
35239
+ c.statusDetail ? (_(), M("span", Y5, "  (" + U(c.statusDetail.name) + ") ", 1)) : W("", !0),
35240
35240
  C("div", K5, U(c.user.name), 1)
35241
35241
  ])
35242
35242
  ], 64))), 128))
@@ -35261,14 +35261,41 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35261
35261
  t.showUserType ? (_(), M("span", {
35262
35262
  key: 0,
35263
35263
  class: Ye([{ "ml-1": !t.extraInfoOnSecondLine }, "text-sc-grey"])
35264
- }, " [" + U(t.user.type) + "] ", 3)) : H("", !0)
35264
+ }, " [" + U(t.user.type) + "] ", 3)) : W("", !0)
35265
35265
  ], 2));
35266
35266
  }
35267
- }), e3 = { class: "ml-4 grid grid-cols-3 gap-1.5 text-base" }, t3 = { class: "col-span-2" }, i3 = ["href"], n3 = { class: "col-span-2" }, s3 = ["href"], r3 = {
35268
- class: "btn btn-primary",
35269
- href: "{{ invoice }}"
35270
- }, o3 = {}, a3 = /* @__PURE__ */ re({
35271
- ...o3,
35267
+ }), e3 = ["href"], t3 = ["href"], i3 = {}, n3 = /* @__PURE__ */ re({
35268
+ ...i3,
35269
+ __name: "order-external-links",
35270
+ props: {
35271
+ order: {}
35272
+ },
35273
+ setup(t) {
35274
+ return (e, i) => (_(), M(be, null, [
35275
+ t.order.erpOrderUrl ? (_(), M(be, { key: 0 }, [
35276
+ i[0] || (i[0] = C("span", null, "Открыть в ERP", -1)),
35277
+ C("a", {
35278
+ href: t.order.erpOrderUrl,
35279
+ target: "_blank",
35280
+ class: "col-span-2"
35281
+ }, " Открыть заявку в ERP ", 8, e3)
35282
+ ], 64)) : W("", !0),
35283
+ t.order.invoices && t.order.invoices.length > 0 ? (_(), M(be, { key: 1 }, [
35284
+ i[1] || (i[1] = C("span", null, "Прикрепленные счета", -1)),
35285
+ (_(!0), M(be, null, Pt(t.order.invoices, (n, s) => (_(), M("div", {
35286
+ key: s,
35287
+ class: "col-span-2"
35288
+ }, [
35289
+ C("a", {
35290
+ class: "btn btn-primary",
35291
+ href: n
35292
+ }, " Скачать счет №" + U(s + 1), 9, t3)
35293
+ ]))), 128))
35294
+ ], 64)) : W("", !0)
35295
+ ], 64));
35296
+ }
35297
+ }), s3 = { class: "ml-4 grid grid-cols-3 gap-1.5 text-base" }, r3 = { class: "col-span-2" }, o3 = ["href"], a3 = { class: "col-span-2" }, l3 = {}, c3 = /* @__PURE__ */ re({
35298
+ ...l3,
35272
35299
  __name: "order-details",
35273
35300
  props: {
35274
35301
  order: {}
@@ -35279,98 +35306,82 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35279
35306
  return (n, s) => {
35280
35307
  var r;
35281
35308
  return _(), M("div", null, [
35282
- s[14] || (s[14] = C("h3", null, "Детали заказа", -1)),
35283
- C("div", e3, [
35309
+ s[12] || (s[12] = C("h3", null, "Детали заказа", -1)),
35310
+ C("div", s3, [
35284
35311
  t.order.creator.id !== t.order.client.id ? (_(), M(be, { key: 0 }, [
35285
35312
  s[1] || (s[1] = C("span", null, "Создал", -1)),
35286
- W(Sd, {
35313
+ H(Sd, {
35287
35314
  user: t.order.creator,
35288
35315
  class: "col-span-2"
35289
35316
  }, null, 8, ["user"])
35290
- ], 64)) : H("", !0),
35291
- s[13] || (s[13] = C("span", null, "Клиент", -1)),
35292
- W(Po, {
35317
+ ], 64)) : W("", !0),
35318
+ s[11] || (s[11] = C("span", null, "Клиент", -1)),
35319
+ H(Po, {
35293
35320
  client: t.order.client,
35294
35321
  class: "col-span-2",
35295
35322
  "onClick:clientName": s[0] || (s[0] = (o) => i("click:client-name", t.order.client, o))
35296
35323
  }, null, 8, ["client"]),
35297
35324
  t.order.contragent ? (_(), M(be, { key: 1 }, [
35298
35325
  s[2] || (s[2] = C("span", null, "Контрагент", -1)),
35299
- W(l1, {
35326
+ H(l1, {
35300
35327
  contragent: t.order.contragent,
35301
35328
  class: "col-span-2"
35302
35329
  }, null, 8, ["contragent"])
35303
- ], 64)) : H("", !0),
35330
+ ], 64)) : W("", !0),
35304
35331
  t.order.image ? (_(), M(be, { key: 2 }, [
35305
35332
  s[3] || (s[3] = C("span", null, "Графический файл клиента", -1)),
35306
35333
  s[4] || (s[4] = C("a", {
35307
35334
  class: "fancybox col-span-2",
35308
35335
  href: "{{ order.image }}"
35309
35336
  }, " Посмотреть ", -1))
35310
- ], 64)) : H("", !0),
35337
+ ], 64)) : W("", !0),
35311
35338
  t.order.barcode ? (_(), M(be, { key: 3 }, [
35312
35339
  s[5] || (s[5] = C("span", null, "Штрих-код", -1)),
35313
- C("span", t3, U(t.order.barcode), 1)
35314
- ], 64)) : H("", !0),
35340
+ C("span", r3, U(t.order.barcode), 1)
35341
+ ], 64)) : W("", !0),
35315
35342
  t.order.payment ? (_(), M(be, { key: 4 }, [
35316
35343
  s[6] || (s[6] = C("span", null, "Оплата", -1)),
35317
- W(Zf, {
35344
+ H(Zf, {
35318
35345
  payment: t.order.payment,
35319
35346
  class: "col-span-2"
35320
35347
  }, null, 8, ["payment"])
35321
- ], 64)) : H("", !0),
35348
+ ], 64)) : W("", !0),
35322
35349
  (r = t.order.payment) != null && r.onlinePaymentLink ? (_(), M(be, { key: 5 }, [
35323
35350
  s[7] || (s[7] = C("span", null, "Онлайн-оплата", -1)),
35324
35351
  C("a", {
35325
35352
  href: t.order.payment.onlinePaymentLink,
35326
35353
  target: "_blank",
35327
35354
  class: "col-span-2"
35328
- }, " Оплатить заказ ", 8, i3)
35329
- ], 64)) : H("", !0),
35355
+ }, " Оплатить заказ ", 8, o3)
35356
+ ], 64)) : W("", !0),
35330
35357
  t.order.delivery ? (_(), M(be, { key: 6 }, [
35331
35358
  s[8] || (s[8] = C("span", null, "Доставка", -1)),
35332
- W(lc, {
35359
+ H(lc, {
35333
35360
  delivery: t.order.delivery,
35334
35361
  class: "col-span-2"
35335
35362
  }, null, 8, ["delivery"])
35336
- ], 64)) : H("", !0),
35363
+ ], 64)) : W("", !0),
35337
35364
  t.order.comment ? (_(), M(be, { key: 7 }, [
35338
35365
  s[9] || (s[9] = C("span", null, "Комментарий", -1)),
35339
- C("span", n3, U(t.order.comment), 1)
35340
- ], 64)) : H("", !0),
35366
+ C("span", a3, U(t.order.comment), 1)
35367
+ ], 64)) : W("", !0),
35341
35368
  t.order.attachedUser ? (_(), M(be, { key: 8 }, [
35342
35369
  s[10] || (s[10] = C("span", null, "Закреплен за", -1)),
35343
- W(Sd, {
35370
+ H(Sd, {
35344
35371
  user: t.order.attachedUser,
35345
35372
  class: "col-span-2"
35346
35373
  }, null, 8, ["user"])
35347
- ], 64)) : H("", !0),
35348
- t.order.erpOrderUrl ? (_(), M(be, { key: 9 }, [
35349
- s[11] || (s[11] = C("span", null, "Открыть в ERP", -1)),
35350
- C("a", {
35351
- href: t.order.erpOrderUrl,
35352
- target: "_blank",
35353
- class: "col-span-2"
35354
- }, " Открыть заявку в ERP ", 8, s3)
35355
- ], 64)) : H("", !0),
35356
- t.order.invoices && t.order.invoices.length > 0 ? (_(), M(be, { key: 10 }, [
35357
- s[12] || (s[12] = C("span", null, "Прикрепленные счета", -1)),
35358
- (_(!0), M(be, null, Pt(t.order.invoices, (o, a) => (_(), M("div", {
35359
- key: a,
35360
- class: "col-span-2"
35361
- }, [
35362
- C("a", r3, " Скачать счет №" + U(a + 1), 1)
35363
- ]))), 128))
35364
- ], 64)) : H("", !0)
35374
+ ], 64)) : W("", !0),
35375
+ H(n3, { order: t.order }, null, 8, ["order"])
35365
35376
  ])
35366
35377
  ]);
35367
35378
  };
35368
35379
  }
35369
- }), l3 = { key: 0 }, c3 = { class: "text-sc-dark-grey my-2 text-center" }, u3 = {
35380
+ }), u3 = { key: 0 }, d3 = { class: "text-sc-dark-grey my-2 text-center" }, h3 = {
35370
35381
  key: 1,
35371
35382
  class: "text-sc-dark-grey my-2 text-center"
35372
- }, d3 = { key: 2 }, h3 = { class: "text-sc-dark-grey mt-4 text-right font-bold" }, f3 = { class: "text-sc-primary" }, g3 = {}, m3 = /* @__PURE__ */ re({
35373
- ...g3,
35383
+ }, f3 = { key: 2 }, g3 = { class: "text-sc-dark-grey mt-4 text-right font-bold" }, m3 = { class: "text-sc-primary" }, p3 = {}, v3 = /* @__PURE__ */ re({
35384
+ ...p3,
35374
35385
  __name: "order-info",
35375
35386
  props: {
35376
35387
  order: {},
@@ -35402,9 +35413,9 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35402
35413
  o();
35403
35414
  }), (l, c) => {
35404
35415
  const u = Jn;
35405
- return s.value ? (_(), M("div", l3, [
35406
- C("div", c3, [
35407
- W(u, {
35416
+ return s.value ? (_(), M("div", u3, [
35417
+ C("div", d3, [
35418
+ H(u, {
35408
35419
  size: "small",
35409
35420
  class: "mb-2.5 align-middle"
35410
35421
  }),
@@ -35412,26 +35423,26 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35412
35423
  C("span", null, "Загрузка данных ...")
35413
35424
  ], -1))
35414
35425
  ])
35415
- ])) : !r.value || r.value.products.length === 0 ? (_(), M("div", u3, " --- Не удалось загрузить данные о заказе --- ")) : (_(), M("div", d3, [
35416
- W(N5, {
35426
+ ])) : !r.value || r.value.products.length === 0 ? (_(), M("div", h3, " --- Не удалось загрузить данные о заказе --- ")) : (_(), M("div", f3, [
35427
+ H(N5, {
35417
35428
  products: r.value.products,
35418
35429
  "event-emitter": t.eventEmitter,
35419
35430
  "allow-edit": t.allowEdit
35420
35431
  }, null, 8, ["products", "event-emitter", "allow-edit"]),
35421
- C("div", h3, [
35432
+ C("div", g3, [
35422
35433
  c[2] || (c[2] = ee(" ИТОГО: ", -1)),
35423
- C("span", f3, U(a.value) + " ₽", 1)
35434
+ C("span", m3, U(a.value) + " ₽", 1)
35424
35435
  ]),
35425
- W(a3, {
35436
+ H(c3, {
35426
35437
  order: r.value,
35427
35438
  "onClick:clientName": c[0] || (c[0] = (d) => n("click:client-name", r.value.client, d))
35428
35439
  }, null, 8, ["order"]),
35429
- W(Z5, { order: r.value }, null, 8, ["order"])
35440
+ H(Z5, { order: r.value }, null, 8, ["order"])
35430
35441
  ]));
35431
35442
  };
35432
35443
  }
35433
- }), p3 = {}, v3 = /* @__PURE__ */ re({
35434
- ...p3,
35444
+ }), y3 = {}, b3 = /* @__PURE__ */ re({
35445
+ ...y3,
35435
35446
  __name: "order-actions",
35436
35447
  props: {
35437
35448
  orderContextButtonsConfig: { type: Function, default: void 0 },
@@ -35456,23 +35467,23 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35456
35467
  onSelect: s
35457
35468
  }, {
35458
35469
  default: O(() => [
35459
- W(l, {
35470
+ H(l, {
35460
35471
  ghost: !0,
35461
35472
  size: A(i),
35462
35473
  type: "primary"
35463
35474
  }, {
35464
35475
  default: O(() => [
35465
- W(a)
35476
+ H(a)
35466
35477
  ]),
35467
35478
  _: 1
35468
35479
  }, 8, ["size"])
35469
35480
  ]),
35470
35481
  _: 1
35471
- }, 8, ["options", "size"])) : H("", !0);
35482
+ }, 8, ["options", "size"])) : W("", !0);
35472
35483
  };
35473
35484
  }
35474
- }), y3 = {}, b3 = /* @__PURE__ */ re({
35475
- ...y3,
35485
+ }), _3 = {}, w3 = /* @__PURE__ */ re({
35486
+ ..._3,
35476
35487
  __name: "orders-list",
35477
35488
  props: {
35478
35489
  fields: {},
@@ -35524,7 +35535,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35524
35535
  }, V = {
35525
35536
  type: "expand",
35526
35537
  expandable: Io(!0),
35527
- renderExpand: (j) => q(m3, {
35538
+ renderExpand: (j) => q(v3, {
35528
35539
  order: j,
35529
35540
  class: "pl-10 pt-3 pb-10",
35530
35541
  "onClick:client-name": () => {
@@ -35654,7 +35665,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35654
35665
  title: "",
35655
35666
  className: "align-top",
35656
35667
  width: 50,
35657
- render: (j) => q(v3, {
35668
+ render: (j) => q(b3, {
35658
35669
  order: j,
35659
35670
  orderContextButtonsConfig: i.orderContextButtonsConfig,
35660
35671
  onOrderContextSelect: i.onOrderContextSelect
@@ -35794,8 +35805,8 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35794
35805
  }, null, 8, ["columns", "data", "row-key", "scroll-x", "pagination", "loading", "max-height"]);
35795
35806
  };
35796
35807
  }
35797
- }), o6 = /* @__PURE__ */ es(b3, [["__scopeId", "data-v-2a162c0c"]]), _3 = ["href"], w3 = { class: "text-sc-dark-grey" }, x3 = {}, a6 = /* @__PURE__ */ re({
35798
- ...x3,
35808
+ }), l6 = /* @__PURE__ */ es(w3, [["__scopeId", "data-v-2a162c0c"]]), x3 = ["href"], k3 = { class: "text-sc-dark-grey" }, C3 = {}, c6 = /* @__PURE__ */ re({
35809
+ ...C3,
35799
35810
  __name: "short-text-order-info",
35800
35811
  props: {
35801
35812
  order: {},
@@ -35812,21 +35823,21 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35812
35823
  C("a", {
35813
35824
  href: t.orderLink ?? "#",
35814
35825
  onClick: a[0] || (a[0] = (l) => r(l))
35815
- }, U(t.order.id), 9, _3),
35826
+ }, U(t.order.id), 9, x3),
35816
35827
  ee(" от " + U(s.value), 1)
35817
35828
  ]),
35818
35829
  a[2] || (a[2] = ee(", ", -1)),
35819
- C("span", w3, "автор: " + U(t.order.creator.name) + " [" + U(t.order.creator.type) + "]", 1)
35830
+ C("span", k3, "автор: " + U(t.order.creator.name) + " [" + U(t.order.creator.type) + "]", 1)
35820
35831
  ], 64));
35821
35832
  }
35822
- }), k3 = { class: "sc-page flex flex-col bg-inherit" }, C3 = { class: "my-2 flex flex-row items-end" }, S3 = { class: "sc-title grow" }, $3 = {
35833
+ }), S3 = { class: "sc-page flex flex-col bg-inherit" }, $3 = { class: "my-2 flex flex-row items-end" }, P3 = { class: "sc-title grow" }, T3 = {
35823
35834
  key: 0,
35824
35835
  class: "sc-title-buttons flex-1 grow-0"
35825
- }, P3 = { class: "flex flex-col justify-end gap-1 sm:mt-0 sm:flex-row" }, T3 = {
35836
+ }, R3 = { class: "flex flex-col justify-end gap-1 sm:mt-0 sm:flex-row" }, F3 = {
35826
35837
  key: 0,
35827
35838
  class: "sc-title-extra mt-2 sm:mt-4"
35828
- }, R3 = {}, F3 = /* @__PURE__ */ re({
35829
- ...R3,
35839
+ }, B3 = {}, A3 = /* @__PURE__ */ re({
35840
+ ...B3,
35830
35841
  __name: "page",
35831
35842
  props: {
35832
35843
  title: {},
@@ -35836,15 +35847,15 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35836
35847
  setup(t) {
35837
35848
  return (e, i) => {
35838
35849
  const n = Pg;
35839
- return _(), M("div", k3, [
35850
+ return _(), M("div", S3, [
35840
35851
  C("div", {
35841
35852
  class: Ye(t.stickyHeader ? "sticky z-10 bg-inherit" : void 0),
35842
35853
  style: sr(t.stickyHeader ? { top: `${t.stickyTopOffset ?? 0}px` } : void 0)
35843
35854
  }, [
35844
- C("div", C3, [
35845
- C("div", S3, [
35855
+ C("div", $3, [
35856
+ C("div", P3, [
35846
35857
  Re(e.$slots, "title", {}, () => [
35847
- W(n, { class: "m-0 leading-none lg:mb-3 lg:leading-normal" }, {
35858
+ H(n, { class: "m-0 leading-none lg:mb-3 lg:leading-normal" }, {
35848
35859
  default: O(() => [
35849
35860
  ee(U(t.title ?? ""), 1)
35850
35861
  ]),
@@ -35852,23 +35863,23 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35852
35863
  })
35853
35864
  ])
35854
35865
  ]),
35855
- e.$slots["title-buttons"] ? (_(), M("div", $3, [
35856
- C("div", P3, [
35866
+ e.$slots["title-buttons"] ? (_(), M("div", T3, [
35867
+ C("div", R3, [
35857
35868
  Re(e.$slots, "title-buttons")
35858
35869
  ])
35859
- ])) : H("", !0)
35870
+ ])) : W("", !0)
35860
35871
  ]),
35861
- e.$slots["title-extra"] ? (_(), M("div", T3, [
35872
+ e.$slots["title-extra"] ? (_(), M("div", F3, [
35862
35873
  Re(e.$slots, "title-extra")
35863
- ])) : H("", !0),
35874
+ ])) : W("", !0),
35864
35875
  Re(e.$slots, "sticky-extra")
35865
35876
  ], 6),
35866
35877
  Re(e.$slots, "default")
35867
35878
  ]);
35868
35879
  };
35869
35880
  }
35870
- }), B3 = { class: "overflow-hidden transition-all duration-300" }, A3 = { class: "text-lg font-medium leading-none" }, M3 = {}, E3 = /* @__PURE__ */ re({
35871
- ...M3,
35881
+ }), M3 = { class: "overflow-hidden transition-all duration-300" }, E3 = { class: "text-lg font-medium leading-none" }, I3 = {}, O3 = /* @__PURE__ */ re({
35882
+ ...I3,
35872
35883
  __name: "sliding-content-with-drawer",
35873
35884
  props: {
35874
35885
  drawerWidth: { type: [Number, Function], default: void 0 },
@@ -35909,7 +35920,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35909
35920
  }), a(), window.addEventListener("resize", a), (l, c) => {
35910
35921
  const u = zd, d = Od;
35911
35922
  return _(), M(be, null, [
35912
- C("div", B3, [
35923
+ C("div", M3, [
35913
35924
  C("div", {
35914
35925
  style: sr(`margin-left: ${s.value}px;`),
35915
35926
  class: "w-full"
@@ -35917,7 +35928,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35917
35928
  Re(l.$slots, "default")
35918
35929
  ], 4)
35919
35930
  ]),
35920
- W(d, {
35931
+ H(d, {
35921
35932
  show: r.value,
35922
35933
  "onUpdate:show": c[0] || (c[0] = (h) => r.value = h),
35923
35934
  resizable: !0,
@@ -35925,10 +35936,10 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35925
35936
  placement: "left"
35926
35937
  }, {
35927
35938
  default: O(() => [
35928
- W(u, { closable: "" }, {
35939
+ H(u, { closable: "" }, {
35929
35940
  header: O(() => [
35930
35941
  Re(l.$slots, "drawer-header", {}, () => [
35931
- C("div", A3, U(t.title), 1)
35942
+ C("div", E3, U(t.title), 1)
35932
35943
  ])
35933
35944
  ]),
35934
35945
  default: O(() => [
@@ -35945,14 +35956,14 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35945
35956
  ], 64);
35946
35957
  };
35947
35958
  }
35948
- }), I3 = {
35959
+ }), z3 = {
35949
35960
  ref: "panel-component-ref",
35950
35961
  class: "sc-page-panel flex flex-row gap-2.5 bg-inherit sm:gap-8"
35951
- }, O3 = { key: 0 }, z3 = { class: "sc-page-preview-panel grow" }, L3 = {
35962
+ }, L3 = { key: 0 }, D3 = { class: "sc-page-preview-panel grow" }, N3 = {
35952
35963
  key: 1,
35953
35964
  class: "sc-page-preview-panel-extra flex-none"
35954
- }, D3 = {}, l6 = /* @__PURE__ */ re({
35955
- ...D3,
35965
+ }, H3 = {}, u6 = /* @__PURE__ */ re({
35966
+ ...H3,
35956
35967
  __name: "page-with-sliding-panel",
35957
35968
  props: {
35958
35969
  title: {},
@@ -35995,13 +36006,13 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
35995
36006
  closePanel: s
35996
36007
  }), (a, l) => {
35997
36008
  const c = Ne;
35998
- return _(), te(F3, {
36009
+ return _(), te(A3, {
35999
36010
  title: t.title,
36000
36011
  "sticky-header": t.stickyHeader,
36001
36012
  "sticky-top-offset": t.stickyTopOffset
36002
36013
  }, Bn({
36003
36014
  default: O(() => [
36004
- W(E3, {
36015
+ H(O3, {
36005
36016
  "show-drawer": i.value,
36006
36017
  "onUpdate:showDrawer": l[1] || (l[1] = (u) => i.value = u),
36007
36018
  title: t.panelTitle
@@ -36056,14 +36067,14 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36056
36067
  a.$slots["preview-panel"] || a.$slots["preview-panel-extra"] || t.isShowPanelButtonVisible ? {
36057
36068
  name: "sticky-extra",
36058
36069
  fn: O(() => [
36059
- C("div", I3, [
36060
- t.isShowPanelButtonVisible ? (_(), M("div", O3, [
36070
+ C("div", z3, [
36071
+ t.isShowPanelButtonVisible ? (_(), M("div", L3, [
36061
36072
  Re(a.$slots, "show-panel-button", {
36062
36073
  onClickHandler: () => {
36063
36074
  i.value = !0;
36064
36075
  }
36065
36076
  }, () => [
36066
- W(c, {
36077
+ H(c, {
36067
36078
  class: "flex-none sm:px-10 sm:py-4",
36068
36079
  onClick: l[0] || (l[0] = (u) => i.value = !0)
36069
36080
  }, {
@@ -36073,13 +36084,13 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36073
36084
  _: 1
36074
36085
  })
36075
36086
  ])
36076
- ])) : H("", !0),
36077
- C("div", z3, [
36087
+ ])) : W("", !0),
36088
+ C("div", D3, [
36078
36089
  Re(a.$slots, "preview-panel")
36079
36090
  ]),
36080
- a.$slots["preview-panel-extra"] ? (_(), M("div", L3, [
36091
+ a.$slots["preview-panel-extra"] ? (_(), M("div", N3, [
36081
36092
  Re(a.$slots, "preview-panel-extra")
36082
- ])) : H("", !0)
36093
+ ])) : W("", !0)
36083
36094
  ], 512)
36084
36095
  ]),
36085
36096
  key: "3"
@@ -36087,8 +36098,8 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36087
36098
  ]), 1032, ["title", "sticky-header", "sticky-top-offset"]);
36088
36099
  };
36089
36100
  }
36090
- }), N3 = {}, c6 = /* @__PURE__ */ re({
36091
- ...N3,
36101
+ }), W3 = {}, d6 = /* @__PURE__ */ re({
36102
+ ...W3,
36092
36103
  __name: "curator-select",
36093
36104
  props: {
36094
36105
  value: { default: null },
@@ -36181,8 +36192,8 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36181
36192
  "onUpdate:value": d
36182
36193
  }, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
36183
36194
  }
36184
- }), H3 = {}, u6 = /* @__PURE__ */ re({
36185
- ...H3,
36195
+ }), V3 = {}, h6 = /* @__PURE__ */ re({
36196
+ ...V3,
36186
36197
  __name: "manager-select",
36187
36198
  props: {
36188
36199
  value: { default: null },
@@ -36286,26 +36297,26 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36286
36297
  "onUpdate:value": d
36287
36298
  }, null, 8, ["value", "clearable", "disabled", "consistent-menu-width", "multiple", "options"]));
36288
36299
  }
36289
- }), W3 = { class: "m-0.5 flex flex-col p-0.5" }, V3 = { class: "flex flex-row gap-1" }, j3 = { key: 0 }, q3 = { key: 1 }, U3 = { key: 2 }, X3 = { key: 3 }, Y3 = { class: "flex flex-row gap-1" }, K3 = { key: 0 }, G3 = { key: 1 }, Z3 = { key: 2 }, Q3 = { key: 3 }, J3 = {}, e4 = /* @__PURE__ */ re({
36290
- ...J3,
36300
+ }), j3 = { class: "m-0.5 flex flex-col p-0.5" }, q3 = { class: "flex flex-row gap-1" }, U3 = { key: 0 }, X3 = { key: 1 }, Y3 = { key: 2 }, K3 = { key: 3 }, G3 = { class: "flex flex-row gap-1" }, Z3 = { key: 0 }, Q3 = { key: 1 }, J3 = { key: 2 }, e4 = { key: 3 }, t4 = {}, i4 = /* @__PURE__ */ re({
36301
+ ...t4,
36291
36302
  __name: "address-suggestion-label",
36292
36303
  props: {
36293
36304
  addr: {},
36294
36305
  selected: { type: Boolean }
36295
36306
  },
36296
36307
  setup(t) {
36297
- return (e, i) => (_(), M("div", W3, [
36298
- C("span", V3, [
36299
- t.addr.postIndex ? (_(), M("span", j3, U(t.addr.postIndex) + ", ", 1)) : H("", !0),
36300
- t.addr.city ? (_(), M("span", q3, U(t.addr.city) + ", ", 1)) : H("", !0),
36301
- t.addr.locality ? (_(), M("span", U3, U(t.addr.locality) + ", ", 1)) : H("", !0),
36302
- t.addr.region ? (_(), M("span", X3, U(t.addr.region) + ", ", 1)) : H("", !0)
36308
+ return (e, i) => (_(), M("div", j3, [
36309
+ C("span", q3, [
36310
+ t.addr.postIndex ? (_(), M("span", U3, U(t.addr.postIndex) + ", ", 1)) : W("", !0),
36311
+ t.addr.city ? (_(), M("span", X3, U(t.addr.city) + ", ", 1)) : W("", !0),
36312
+ t.addr.locality ? (_(), M("span", Y3, U(t.addr.locality) + ", ", 1)) : W("", !0),
36313
+ t.addr.region ? (_(), M("span", K3, U(t.addr.region) + ", ", 1)) : W("", !0)
36303
36314
  ]),
36304
- C("span", Y3, [
36305
- t.addr.street ? (_(), M("span", K3, U(t.addr.street) + ", ", 1)) : H("", !0),
36306
- t.addr.building ? (_(), M("span", G3, U(t.addr.building) + ", ", 1)) : H("", !0),
36307
- t.addr.buildingPart ? (_(), M("span", Z3, U(t.addr.buildingPart) + ", ", 1)) : H("", !0),
36308
- t.addr.apartments ? (_(), M("span", Q3, U(t.addr.apartments) + ", ", 1)) : H("", !0)
36315
+ C("span", G3, [
36316
+ t.addr.street ? (_(), M("span", Z3, U(t.addr.street) + ", ", 1)) : W("", !0),
36317
+ t.addr.building ? (_(), M("span", Q3, U(t.addr.building) + ", ", 1)) : W("", !0),
36318
+ t.addr.buildingPart ? (_(), M("span", J3, U(t.addr.buildingPart) + ", ", 1)) : W("", !0),
36319
+ t.addr.apartments ? (_(), M("span", e4, U(t.addr.apartments) + ", ", 1)) : W("", !0)
36309
36320
  ])
36310
36321
  ]));
36311
36322
  }
@@ -36314,8 +36325,8 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36314
36325
  value: "",
36315
36326
  field: void 0,
36316
36327
  disabled: !1
36317
- }, t4 = {}, d6 = /* @__PURE__ */ re({
36318
- ...t4,
36328
+ }, n4 = {}, f6 = /* @__PURE__ */ re({
36329
+ ...n4,
36319
36330
  __name: "address-suggestion",
36320
36331
  props: /* @__PURE__ */ Rl({
36321
36332
  disabled: { type: Boolean },
@@ -36362,7 +36373,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36362
36373
  }, d = (m, p) => {
36363
36374
  const v = a.value.find((y) => y.id === m.value) || {};
36364
36375
  return q(
36365
- e4,
36376
+ i4,
36366
36377
  {
36367
36378
  addr: v,
36368
36379
  selected: p
@@ -36404,24 +36415,24 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36404
36415
  }, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
36405
36416
  };
36406
36417
  }
36407
- }), i4 = { class: "m-0.5 flex flex-col p-0.5" }, n4 = { class: "font-medium" }, s4 = { class: "flex flex-row gap-1 text-xs font-light text-blue-800" }, r4 = { key: 0 }, o4 = { key: 1 }, a4 = {}, l4 = /* @__PURE__ */ re({
36408
- ...a4,
36418
+ }), s4 = { class: "m-0.5 flex flex-col p-0.5" }, r4 = { class: "font-medium" }, o4 = { class: "flex flex-row gap-1 text-xs font-light text-blue-800" }, a4 = { key: 0 }, l4 = { key: 1 }, c4 = {}, u4 = /* @__PURE__ */ re({
36419
+ ...c4,
36409
36420
  __name: "bank-suggestion-label",
36410
36421
  props: {
36411
36422
  bank: {},
36412
36423
  selected: { type: Boolean }
36413
36424
  },
36414
36425
  setup(t) {
36415
- return (e, i) => (_(), M("div", i4, [
36416
- C("span", n4, U(t.bank.name), 1),
36417
- C("span", s4, [
36418
- t.bank.bic ? (_(), M("span", r4, " БИК: " + U(t.bank.bic), 1)) : H("", !0),
36419
- t.bank.inn ? (_(), M("span", o4, " ИНН: " + U(t.bank.inn), 1)) : H("", !0)
36426
+ return (e, i) => (_(), M("div", s4, [
36427
+ C("span", r4, U(t.bank.name), 1),
36428
+ C("span", o4, [
36429
+ t.bank.bic ? (_(), M("span", a4, " БИК: " + U(t.bank.bic), 1)) : W("", !0),
36430
+ t.bank.inn ? (_(), M("span", l4, " ИНН: " + U(t.bank.inn), 1)) : W("", !0)
36420
36431
  ])
36421
36432
  ]));
36422
36433
  }
36423
- }), c4 = {}, h6 = /* @__PURE__ */ re({
36424
- ...c4,
36434
+ }), d4 = {}, g6 = /* @__PURE__ */ re({
36435
+ ...d4,
36425
36436
  __name: "bank-suggestion",
36426
36437
  props: /* @__PURE__ */ Rl({
36427
36438
  disabled: { type: Boolean },
@@ -36470,7 +36481,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36470
36481
  }, d = (m, p) => {
36471
36482
  const v = a.value.find((y) => y.id === m.value) || {};
36472
36483
  return q(
36473
- l4,
36484
+ u4,
36474
36485
  {
36475
36486
  bank: v,
36476
36487
  selected: p
@@ -36512,17 +36523,17 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36512
36523
  }, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
36513
36524
  };
36514
36525
  }
36515
- }), u4 = { class: "font-medium" }, d4 = {
36526
+ }), h4 = { class: "font-medium" }, f4 = {
36516
36527
  key: 0,
36517
36528
  class: "flex flex-row gap-2"
36518
- }, h4 = {
36529
+ }, g4 = {
36519
36530
  key: 0,
36520
36531
  class: "text-xs font-light text-blue-800"
36521
- }, f4 = {
36532
+ }, m4 = {
36522
36533
  key: 1,
36523
36534
  class: "text-sc-dark-grey text-xs font-light"
36524
- }, g4 = {}, m4 = /* @__PURE__ */ re({
36525
- ...g4,
36535
+ }, p4 = {}, v4 = /* @__PURE__ */ re({
36536
+ ...p4,
36526
36537
  __name: "org-suggestion-label",
36527
36538
  props: {
36528
36539
  org: {},
@@ -36539,15 +36550,15 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36539
36550
  return (s, r) => (_(), M("div", {
36540
36551
  class: Ye(`m-0.5 flex flex-col p-0.5 ${i.value ? "line-through" : ""}`)
36541
36552
  }, [
36542
- C("span", u4, U(t.org.name), 1),
36543
- t.org.inn || n.value ? (_(), M("div", d4, [
36544
- t.org.inn ? (_(), M("span", h4, U(t.org.inn), 1)) : H("", !0),
36545
- n.value ? (_(), M("span", f4, U(n.value), 1)) : H("", !0)
36546
- ])) : H("", !0)
36553
+ C("span", h4, U(t.org.name), 1),
36554
+ t.org.inn || n.value ? (_(), M("div", f4, [
36555
+ t.org.inn ? (_(), M("span", g4, U(t.org.inn), 1)) : W("", !0),
36556
+ n.value ? (_(), M("span", m4, U(n.value), 1)) : W("", !0)
36557
+ ])) : W("", !0)
36547
36558
  ], 2));
36548
36559
  }
36549
- }), p4 = {}, f6 = /* @__PURE__ */ re({
36550
- ...p4,
36560
+ }), y4 = {}, m6 = /* @__PURE__ */ re({
36561
+ ...y4,
36551
36562
  __name: "org-suggestion",
36552
36563
  props: /* @__PURE__ */ Rl({
36553
36564
  disabled: { type: Boolean },
@@ -36602,7 +36613,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36602
36613
  }, h = (p, v) => {
36603
36614
  const y = a.value.find(($) => $.id === p.value) || {};
36604
36615
  return q(
36605
- m4,
36616
+ v4,
36606
36617
  {
36607
36618
  org: y,
36608
36619
  selected: v
@@ -36644,8 +36655,8 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36644
36655
  }, null, 8, ["value", "clearable", "disabled", "loading", "options", "onUpdate:value"]);
36645
36656
  };
36646
36657
  }
36647
- }), v4 = {}, g6 = /* @__PURE__ */ re({
36648
- ...v4,
36658
+ }), b4 = {}, p6 = /* @__PURE__ */ re({
36659
+ ...b4,
36649
36660
  __name: "button-with-confirm-action",
36650
36661
  props: {
36651
36662
  disabled: { type: Boolean, default: !1 },
@@ -36672,12 +36683,12 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36672
36683
  return (a, l) => {
36673
36684
  const c = Ne, u = En, d = Fl;
36674
36685
  return _(), M("div", null, [
36675
- W(u, {
36686
+ H(u, {
36676
36687
  disabled: t.popoverText.length === 0,
36677
36688
  placement: "bottom"
36678
36689
  }, {
36679
36690
  trigger: O(() => [
36680
- W(c, {
36691
+ H(c, {
36681
36692
  disabled: t.disabled,
36682
36693
  ghost: t.ghost,
36683
36694
  loading: t.loading,
@@ -36698,7 +36709,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36698
36709
  ]),
36699
36710
  _: 3
36700
36711
  }, 8, ["disabled"]),
36701
- W(d, {
36712
+ H(d, {
36702
36713
  show: s.value,
36703
36714
  "onUpdate:show": l[1] || (l[1] = (h) => s.value = h),
36704
36715
  content: t.dialogContent,
@@ -36710,7 +36721,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36710
36721
  preset: "dialog"
36711
36722
  }, {
36712
36723
  action: O(() => [
36713
- W(c, {
36724
+ H(c, {
36714
36725
  type: "primary",
36715
36726
  class: "px-8",
36716
36727
  onClick: r
@@ -36720,7 +36731,7 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36720
36731
  ])]),
36721
36732
  _: 1
36722
36733
  }),
36723
- W(c, {
36734
+ H(c, {
36724
36735
  type: "default",
36725
36736
  onClick: l[0] || (l[0] = (h) => s.value = !1)
36726
36737
  }, {
@@ -36735,14 +36746,14 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36735
36746
  ]);
36736
36747
  };
36737
36748
  }
36738
- }), y4 = {
36749
+ }), _4 = {
36739
36750
  key: 0,
36740
36751
  class: "whitespace-pre-line"
36741
- }, b4 = {
36752
+ }, w4 = {
36742
36753
  key: 1,
36743
36754
  class: "text-sc-dark-grey"
36744
- }, _4 = {}, m6 = /* @__PURE__ */ re({
36745
- ..._4,
36755
+ }, x4 = {}, v6 = /* @__PURE__ */ re({
36756
+ ...x4,
36746
36757
  __name: "comment-editor",
36747
36758
  props: {
36748
36759
  disabled: { type: Boolean, default: !1 },
@@ -36771,11 +36782,11 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36771
36782
  }, {
36772
36783
  viewer: O(() => [
36773
36784
  C("div", null, [
36774
- t.comment ? (_(), M("span", y4, U(t.comment), 1)) : (_(), M("span", b4, " - Комментарий отсутствует - "))
36785
+ t.comment ? (_(), M("span", _4, U(t.comment), 1)) : (_(), M("span", w4, " - Комментарий отсутствует - "))
36775
36786
  ])
36776
36787
  ]),
36777
36788
  editor: O(() => [
36778
- W(c, {
36789
+ H(c, {
36779
36790
  value: s.value,
36780
36791
  "onUpdate:value": l[0] || (l[0] = (u) => s.value = u),
36781
36792
  clearable: !0,
@@ -36786,8 +36797,8 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36786
36797
  }, 8, ["disabled"]);
36787
36798
  };
36788
36799
  }
36789
- }), w4 = {}, p6 = /* @__PURE__ */ re({
36790
- ...w4,
36800
+ }), k4 = {}, y6 = /* @__PURE__ */ re({
36801
+ ...k4,
36791
36802
  __name: "debt",
36792
36803
  props: {
36793
36804
  debt: { default: 0 },
@@ -36807,23 +36818,23 @@ const I5 = He({ name: "ion-trash-outline", render: E5 }), O5 = {}, z5 = /* @__PU
36807
36818
  C("span", {
36808
36819
  class: Ye({ "text-green-700": t.debt > 0, "text-red-700": t.debt < 0 })
36809
36820
  }, U(t.debt) + " ₽ ", 3)
36810
- ], 2)) : H("", !0);
36821
+ ], 2)) : W("", !0);
36811
36822
  }
36812
- }), x4 = {
36823
+ }), C4 = {
36813
36824
  viewBox: "0 0 512 512",
36814
36825
  width: "1.2em",
36815
36826
  height: "1.2em"
36816
36827
  };
36817
- function k4(t, e) {
36818
- return _(), M("svg", x4, [...e[0] || (e[0] = [
36828
+ function S4(t, e) {
36829
+ return _(), M("svg", C4, [...e[0] || (e[0] = [
36819
36830
  C("path", {
36820
36831
  fill: "currentColor",
36821
36832
  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"
36822
36833
  }, null, -1)
36823
36834
  ])]);
36824
36835
  }
36825
- const C4 = He({ name: "ion-warning", render: k4 }), S4 = {}, v6 = /* @__PURE__ */ re({
36826
- ...S4,
36836
+ const $4 = He({ name: "ion-warning", render: S4 }), P4 = {}, b6 = /* @__PURE__ */ re({
36837
+ ...P4,
36827
36838
  __name: "warning-icon",
36828
36839
  props: {
36829
36840
  popoverText: { default: "" },
@@ -36831,13 +36842,13 @@ const C4 = He({ name: "ion-warning", render: k4 }), S4 = {}, v6 = /* @__PURE__ *
36831
36842
  },
36832
36843
  setup(t) {
36833
36844
  return (e, i) => {
36834
- const n = C4, s = En;
36845
+ const n = $4, s = En;
36835
36846
  return _(), te(s, {
36836
36847
  disabled: t.popoverText.length === 0,
36837
36848
  placement: "bottom"
36838
36849
  }, {
36839
36850
  trigger: O(() => [
36840
- W(n, {
36851
+ H(n, {
36841
36852
  class: Ye(`ml-0.5 ${t.iconClass}`)
36842
36853
  }, null, 8, ["class"])
36843
36854
  ]),
@@ -36908,11 +36919,11 @@ P(Yt, "messagesService"), /**
36908
36919
  */
36909
36920
  P(Yt, "notificationsService");
36910
36921
  let $d = Yt;
36911
- const y6 = z(() => Nt().deliveryTypeReference ?? []), b6 = z(() => Nt().managersList ?? []), _6 = z(() => Nt().opfReference ?? []), w6 = z(() => Nt().partnerGroupsReference ?? []), x6 = z(() => Nt().priceCoefficientsReference ?? []), k6 = z(() => Nt().productFilesTypesReference ?? []), C6 = z(() => Nt().resourceTypesReference), S6 = z(() => Nt().salesDirectionsReference ?? []), $6 = z(() => Nt().warehousesReference ?? []), P6 = z(() => Nt().paymentTypeReference ?? []), T6 = z(() => Nt().orderStatusReference ?? []), R6 = z(() => Nt().operatorReference ?? []), F6 = z(
36922
+ const _6 = z(() => Nt().deliveryTypeReference ?? []), w6 = z(() => Nt().managersList ?? []), x6 = z(() => Nt().opfReference ?? []), k6 = z(() => Nt().partnerGroupsReference ?? []), C6 = z(() => Nt().priceCoefficientsReference ?? []), S6 = z(() => Nt().productFilesTypesReference ?? []), $6 = z(() => Nt().resourceTypesReference), P6 = z(() => Nt().salesDirectionsReference ?? []), T6 = z(() => Nt().warehousesReference ?? []), R6 = z(() => Nt().paymentTypeReference ?? []), F6 = z(() => Nt().orderStatusReference ?? []), B6 = z(() => Nt().operatorReference ?? []), A6 = z(
36912
36923
  () => Pi.convertReferencesToSelectOptionsList(Nt().channelPrimaryInterestsReference ?? [], !0, !1, !0)
36913
- ), B6 = z(
36924
+ ), M6 = z(
36914
36925
  () => Pi.convertReferencesToSelectOptionsList(Nt().sourcePrimaryInterestsReference ?? [], !0, !1, !0)
36915
- ), A6 = (t) => Yi.getInstance(Ng).searchCity(t), M6 = (t) => Pi.convertReferencesToSelectOptionsList(
36926
+ ), E6 = (t) => Yi.getInstance(Ng).searchCity(t), I6 = (t) => Pi.convertReferencesToSelectOptionsList(
36916
36927
  t,
36917
36928
  !0,
36918
36929
  !1,
@@ -36924,7 +36935,7 @@ const y6 = z(() => Nt().deliveryTypeReference ?? []), b6 = z(() => Nt().managers
36924
36935
  },
36925
36936
  // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
36926
36937
  (e) => e == null ? void 0 : e.isNewRec()
36927
- ), E6 = (t) => Yi.getInstance(Hg).searchClient(t), I6 = (t) => Pi.convertReferencesToSelectOptionsList(
36938
+ ), O6 = (t) => Yi.getInstance(Hg).searchClient(t), z6 = (t) => Pi.convertReferencesToSelectOptionsList(
36928
36939
  t,
36929
36940
  !0,
36930
36941
  !1,
@@ -36941,42 +36952,42 @@ const y6 = z(() => Nt().deliveryTypeReference ?? []), b6 = z(() => Nt().managers
36941
36952
  (e) => e == null ? void 0 : e.isNewRec()
36942
36953
  );
36943
36954
  export {
36944
- I4 as CommonValidators,
36955
+ z4 as CommonValidators,
36945
36956
  cy as ConfiguratorSettingsKozyrek,
36946
- K4 as ConfiguratorSettingsMosquito,
36957
+ Z4 as ConfiguratorSettingsMosquito,
36947
36958
  Gs as ContentHelper,
36948
- O4 as DateValidators,
36959
+ L4 as DateValidators,
36949
36960
  Tn as KozyrekLine,
36950
36961
  Ou as KozyrekTailTemplate,
36951
36962
  pr as KozyrekTemplate,
36952
36963
  pe as NumericValidators,
36953
36964
  Ze as OrdersTableFields,
36954
36965
  Iu as Point,
36955
- q4 as ScAddProductToCartDialog,
36956
- d6 as ScAddressSuggestion,
36957
- e4 as ScAddressSuggestionLabel,
36958
- h6 as ScBankSuggestion,
36959
- l4 as ScBankSuggestionLabel,
36966
+ X4 as ScAddProductToCartDialog,
36967
+ f6 as ScAddressSuggestion,
36968
+ i4 as ScAddressSuggestionLabel,
36969
+ g6 as ScBankSuggestion,
36970
+ u4 as ScBankSuggestionLabel,
36960
36971
  Y_ as ScBaseDialog,
36961
- g6 as ScButtonWithConfirmAction,
36972
+ p6 as ScButtonWithConfirmAction,
36962
36973
  H_ as ScCategoryCollapse,
36963
36974
  Po as ScClientNameWithShortInfo,
36964
36975
  D_ as ScCollapse,
36965
36976
  Am as ScCollapseItem,
36966
- m6 as ScCommentEditor,
36977
+ v6 as ScCommentEditor,
36967
36978
  No as ScConfiguratorsProductInfo,
36968
36979
  l1 as ScContragentWithShortInfo,
36969
36980
  Qf as ScCreatorUserTypeTag,
36970
- c6 as ScCuratorSelect,
36971
- Z4 as ScDateRange,
36981
+ d6 as ScCuratorSelect,
36982
+ J4 as ScDateRange,
36972
36983
  fl as ScDateTimeLabel,
36973
- e6 as ScDebouncedInput,
36974
- t6 as ScDebouncedInputNumber,
36975
- p6 as ScDebt,
36976
- Q4 as ScDialogHeader,
36984
+ i6 as ScDebouncedInput,
36985
+ n6 as ScDebouncedInputNumber,
36986
+ y6 as ScDebt,
36987
+ e6 as ScDialogHeader,
36977
36988
  __ as ScDynamicConfigurator,
36978
- U4 as ScEmail,
36979
- n6 as ScExternalLink,
36989
+ Y4 as ScEmail,
36990
+ r6 as ScExternalLink,
36980
36991
  mp as ScImageGallery,
36981
36992
  Rw as ScInlineEditableItem,
36982
36993
  Lu as ScInlineView,
@@ -36985,7 +36996,7 @@ export {
36985
36996
  ly as ScKozyrekConfiguratorPreview,
36986
36997
  ny as ScKozyrekConfiguratorTemplates,
36987
36998
  dp as ScLightGallery,
36988
- u6 as ScManagerSelect,
36999
+ h6 as ScManagerSelect,
36989
37000
  db as ScMetalForDoorsConfigurator,
36990
37001
  lb as ScMetalForDoorsConfiguratorForm,
36991
37002
  Wy as ScMosquitoConfigurator,
@@ -36994,23 +37005,23 @@ export {
36994
37005
  zu as ScMosquitoConfiguratorPreview,
36995
37006
  b5 as ScOrderCommonInfo,
36996
37007
  lc as ScOrderDeliveryLabel,
36997
- a3 as ScOrderDetails,
36998
- m3 as ScOrderInfo,
37008
+ c3 as ScOrderDetails,
37009
+ v3 as ScOrderInfo,
36999
37010
  ZS as ScOrderItemParams,
37000
37011
  N5 as ScOrderItemsList,
37001
37012
  Zf as ScOrderPayment,
37002
37013
  A5 as ScOrderProductInfo,
37003
37014
  Z5 as ScOrderStatusHistory,
37004
- o6 as ScOrdersList,
37005
- f6 as ScOrgSuggestion,
37006
- m4 as ScOrgSuggestionLabel,
37007
- F3 as ScPage,
37008
- l6 as ScPageWithSlidingPanel,
37009
- Y4 as ScPersonContactsBlock,
37010
- X4 as ScPhone,
37011
- i6 as ScPhoneInput,
37015
+ l6 as ScOrdersList,
37016
+ m6 as ScOrgSuggestion,
37017
+ v4 as ScOrgSuggestionLabel,
37018
+ A3 as ScPage,
37019
+ u6 as ScPageWithSlidingPanel,
37020
+ G4 as ScPersonContactsBlock,
37021
+ K4 as ScPhone,
37022
+ s6 as ScPhoneInput,
37012
37023
  bo as ScProductName,
37013
- r6 as ScProductsList,
37024
+ a6 as ScProductsList,
37014
37025
  V_ as ScReferenceSelect,
37015
37026
  Eb as ScSandwichConfigurator,
37016
37027
  Fb as ScSandwichConfiguratorForm,
@@ -37018,49 +37029,49 @@ export {
37018
37029
  c_ as ScSandwichM2ConfiguratorForm,
37019
37030
  hS as ScSearchableProductSelect,
37020
37031
  uS as ScSearchableReferenceSelect,
37021
- j4 as ScSetClientPriceFormItem,
37022
- a6 as ScShortTextOrderInfo,
37023
- J4 as ScSingleFileUploadSelector,
37024
- E3 as ScSlidingContentWithDrawer,
37032
+ U4 as ScSetClientPriceFormItem,
37033
+ c6 as ScShortTextOrderInfo,
37034
+ t6 as ScSingleFileUploadSelector,
37035
+ O3 as ScSlidingContentWithDrawer,
37025
37036
  rb as ScStripConfigurator,
37026
37037
  Gy as ScStripConfiguratorForm,
37027
37038
  jy as ScStripConfiguratorLineItem,
37028
37039
  tb as ScStripConfiguratorPreview,
37029
37040
  Sd as ScUserShortInfo,
37030
- v6 as ScWarningIcon,
37041
+ b6 as ScWarningIcon,
37031
37042
  Pi as SelectOptionHelper,
37032
37043
  $d as UiNotificationProvider,
37033
37044
  ct as Validators,
37034
37045
  Ct as WindowResolutionEnum,
37035
37046
  vi as WindowResolutionProvider,
37036
- F6 as channelPrimaryInterestOptionsList,
37047
+ A6 as channelPrimaryInterestOptionsList,
37037
37048
  Lo as componentSizeInjectionKey,
37038
- y6 as deliveryTypeReferenceList,
37049
+ _6 as deliveryTypeReferenceList,
37039
37050
  Ka as handleFloatInput,
37040
37051
  Mt as handleIntegerInput,
37041
- G4 as isCanSandwichM2Show,
37052
+ Q4 as isCanSandwichM2Show,
37042
37053
  x_ as isCanSandwichShow,
37043
37054
  w_ as isConfiguratorType,
37044
- b6 as managersReferenceList,
37045
- z4 as naiveUiTheme,
37046
- R6 as operatorReferenceList,
37047
- _6 as opfReferenceList,
37048
- T6 as orderStatusReferenceList,
37055
+ w6 as managersReferenceList,
37056
+ D4 as naiveUiTheme,
37057
+ B6 as operatorReferenceList,
37058
+ x6 as opfReferenceList,
37059
+ F6 as orderStatusReferenceList,
37049
37060
  Dt as parse,
37050
- w6 as partnerGroupReferenceList,
37051
- P6 as paymentTypeReferenceList,
37052
- x6 as priceCoefficientsReferenceList,
37053
- k6 as productFilesTypesReferenceList,
37061
+ k6 as partnerGroupReferenceList,
37062
+ R6 as paymentTypeReferenceList,
37063
+ C6 as priceCoefficientsReferenceList,
37064
+ S6 as productFilesTypesReferenceList,
37054
37065
  dt as renderConfig,
37055
37066
  $t as resetInputValidation,
37056
- C6 as resourceReferencesList,
37057
- S6 as salesDirectionsReferenceList,
37058
- A6 as searchCityReferenceDataHandler,
37059
- M6 as searchCityReferenceLabelRenderer,
37060
- E6 as searchClientReferenceDataHandler,
37061
- I6 as searchClientReferenceLabelRenderer,
37067
+ $6 as resourceReferencesList,
37068
+ P6 as salesDirectionsReferenceList,
37069
+ E6 as searchCityReferenceDataHandler,
37070
+ I6 as searchCityReferenceLabelRenderer,
37071
+ O6 as searchClientReferenceDataHandler,
37072
+ z6 as searchClientReferenceLabelRenderer,
37062
37073
  at as selectAllTextOnFocus,
37063
- B6 as sourcePrimaryInterestOptionsList,
37074
+ M6 as sourcePrimaryInterestOptionsList,
37064
37075
  Yg as vFocusNext,
37065
- $6 as warehousesReferenceList
37076
+ T6 as warehousesReferenceList
37066
37077
  };